├── .babelrc ├── .eslintignore ├── .eslintrc.js ├── .flowconfig ├── .gitignore ├── .npmignore ├── .prettierrc ├── .travis.yml ├── .vscode └── settings.json ├── LICENSE ├── README.md ├── flow-typed └── npm │ ├── @material-ui │ └── core_v1.x.x.js │ ├── classnames_v2.x.x.js │ ├── lodash_v4.x.x.js │ └── recompose_v0.x.x.js ├── package-lock.json ├── package.json ├── src ├── components │ ├── AppBar │ │ ├── AppBar.jsx │ │ ├── index.js │ │ └── styles.js │ ├── Footer │ │ ├── Footer.jsx │ │ ├── index.js │ │ └── styles.js │ └── Layout │ │ ├── Layout.jsx │ │ ├── LayoutActions.jsx │ │ ├── index.js │ │ └── styles.js ├── index.js ├── templates │ ├── AppBar │ │ ├── BasicAppBar │ │ │ ├── BasicAppBar.jsx │ │ │ ├── index.js │ │ │ └── styles.js │ │ └── TwoRowsAppBar │ │ │ ├── TwoRowsAppBar.jsx │ │ │ ├── index.js │ │ │ └── styles.js │ ├── Drawer │ │ ├── BasicDrawer │ │ │ ├── BasicDrawer.jsx │ │ │ ├── index.js │ │ │ └── styles.js │ │ ├── DrawerItemsList │ │ │ ├── DrawerItem.jsx │ │ │ ├── DrawerItemsList.jsx │ │ │ ├── index.js │ │ │ └── styles.js │ │ └── StandardDrawer │ │ │ ├── StandardDrawer.jsx │ │ │ ├── index.js │ │ │ └── styles.js │ └── Footer │ │ └── BasicFooter │ │ ├── BasicFooter.jsx │ │ ├── index.js │ │ └── styles.js └── types │ ├── Classes.js │ └── index.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2", "react", "flow"] 3 | } 4 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | packages/_buffer 2 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: 'airbnb', 3 | parser: 'babel-eslint', 4 | plugins: ['flowtype'], 5 | globals: { 6 | graphql: true, 7 | }, 8 | rules: { 9 | 'react/prefer-stateless-function': 1, 10 | 'react/default-props-match-prop-types': ['error', { allowRequiredDefaults: true }], 11 | }, 12 | }; 13 | -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | 3 | [include] 4 | 5 | [libs] 6 | flow-typed 7 | 8 | [lints] 9 | 10 | [options] 11 | suppress_comment= \\(.\\|\n\\)*\\$FlowIgnore 12 | 13 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # jest testing 9 | coverage 10 | 11 | # Dependency directories 12 | node_modules/ 13 | 14 | # Yarn Integrity file 15 | .yarn-integrity 16 | 17 | # Distributed code 18 | lib 19 | 20 | # IDEs 21 | .idea 22 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | src/ 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "semi": true, 3 | "singleQuote": true, 4 | "trailingComma": "es5", 5 | "prettier.eslintIntegration": true 6 | } 7 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "8" 4 | cache: 5 | directories: 6 | - node_modules 7 | before_script: 8 | - "npm i" 9 | script: 10 | - "npm run test" 11 | notifications: 12 | slack: 13 | on_pull_requests: false 14 | template: 15 | - "MATERIAL-UI-LAYOUT" 16 | - "------------------" 17 | - "Build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) of %{repository_slug}@%{branch} by %{author} %{result} in %{duration}" 18 | 19 | rooms: 20 | - origen-studio:pZY8AyN5fUuPPLw7lR6UN72v#p-open-source 21 | branches: 22 | only: 23 | - master 24 | - develop 25 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "prettier.eslintIntegration": true, 3 | // Path to flow binary. On Windows use '\\' as directory separator 4 | "flow.pathToFlow": "${workspaceRoot}/node_modules/.bin/flow", 5 | } 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Origen Studio 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
2 |
3 |