├── .babelrc ├── .eslintrc ├── .gitignore ├── README.md ├── package.json └── src ├── __tests__ └── .gitkeep ├── components ├── ResponsiveProvider.js └── StylesProvider.js ├── constants └── index.js ├── enhancers ├── StylesEnhancer.js ├── WindowDimensions.js └── responsive.js ├── index.js ├── transformations ├── flattenArrays.js ├── prefixStyles.js ├── replaceReferences.js └── resolveFunctions.js └── utils ├── applyTransformations.js ├── index.js ├── mapRecursive.js ├── omit.js └── type.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | *.log 4 | lib 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/package.json -------------------------------------------------------------------------------- /src/__tests__/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/components/ResponsiveProvider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/components/ResponsiveProvider.js -------------------------------------------------------------------------------- /src/components/StylesProvider.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/components/StylesProvider.js -------------------------------------------------------------------------------- /src/constants/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/constants/index.js -------------------------------------------------------------------------------- /src/enhancers/StylesEnhancer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/enhancers/StylesEnhancer.js -------------------------------------------------------------------------------- /src/enhancers/WindowDimensions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/enhancers/WindowDimensions.js -------------------------------------------------------------------------------- /src/enhancers/responsive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/enhancers/responsive.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/index.js -------------------------------------------------------------------------------- /src/transformations/flattenArrays.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/transformations/flattenArrays.js -------------------------------------------------------------------------------- /src/transformations/prefixStyles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/transformations/prefixStyles.js -------------------------------------------------------------------------------- /src/transformations/replaceReferences.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/transformations/replaceReferences.js -------------------------------------------------------------------------------- /src/transformations/resolveFunctions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/transformations/resolveFunctions.js -------------------------------------------------------------------------------- /src/utils/applyTransformations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/utils/applyTransformations.js -------------------------------------------------------------------------------- /src/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/utils/index.js -------------------------------------------------------------------------------- /src/utils/mapRecursive.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/utils/mapRecursive.js -------------------------------------------------------------------------------- /src/utils/omit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dabbott/react-styles-provider/HEAD/src/utils/omit.js -------------------------------------------------------------------------------- /src/utils/type.js: -------------------------------------------------------------------------------- 1 | export default x => ({}).toString.call(x).slice(8, -1) 2 | --------------------------------------------------------------------------------