Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Initial style refactor #2907

Merged
merged 1 commit into from
Jan 14, 2016
Merged

Commits on Jan 14, 2016

  1. Simplifies style utilities and removes utils/immutability-helper.js

    This commit includes a number of changes:
    
    1. Removes all apply() calls in favor of argument destructuring
    2. Simplifies `style-propable` mixin to import/wrap solely from `utils/styles`
    3. Search the code base for components that used `utils/immutability-helper` and replaced it with `utils/styles/mergeStyles` or `react-addons-update`
    4. Removed `utils/immutability-helper` from src
    5. Renamed `utils/styles` merge() to mergeStyles()
    6. Prepared deprecation of passing more than one style to `prepareStyles()` (it is imlemented but commented)
    7. Fixed all components that are dependent on `utils/styles` to follow new convention (do not import `utils/styles` default export to a `styleUtils` object, just import the method you need)
    
    Signed-off-by: Neil Gabbadon <neil.gabbadon@emikra.com>
    newoga committed Jan 14, 2016
    Configuration menu
    Copy the full SHA
    5ec947f View commit details
    Browse the repository at this point in the history