Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 16, 2018

This Pull Request updates dependency styled-system from ^1.0.8 to ^2.0.0

Release Notes

v2.0.0

What's new

  • More utilities for CSS properties
  • Uses verbose naming convention for textAlign, alignItems, justifyContent, flexWrap, and other CSS properties
  • style, responsiveStyle, and pseudoStyle utilities now accept getter and getters arguments for converting values
  • New borders utility that normalizes the API with other styled-system utilities
  • Rewritten with ES module syntax
  • DRYer code base for utilities like fontSize, width, and color
  • The repo has been reorganized as a monorepo
Breaking
  • The cleanElement utility is now a separate package, removing the react dependency from the core library
  • The flexWrap utility now expects a string value for its prop (previously a boolean)
  • The borderWidth utility has been replaced with the borders utility
  • The borderTop, borderRight, borderBottom, and borderLeft props no longer accept boolean props, but follow the same convention as other utilities
  • The default spacing scale has changed to [ 0, 4, 8, 16, 32, 64, 128, 256, 512 ] (this only affects usage without a custom theme.space provided
  • Number values for breakpoints are now converted to px instead of ems to better match the rest of the library
  • The theme utility has been renamed to themeGet (alternative names under consideration)
  • Removes removeProps utility
  • Removes idx utility
  • Removes legacy responsiveStyle arguments API
  • The pseudoStyle arguments API has changed to more closely align with style and responsiveStyle

Shims for breaking changes

To make migration easier, some breaking changes will continue to work as intended or similarly:

  • justifyContent is aliased to the justify prop
  • textAlign is aliased to the align prop, though this may cause unexpected behavior when used with the alignItems prop
  • alignItems is aliased to the align prop, though this may cause unexpected behavior when used with the textAlign prop
  • flexWrap is aliased to the wrap prop, but a string value of wrap or nowrap should be provided. (a shim to convert boolean true values to wrap has been added as well)
  • borderWidth now works similarly to the new borders utility, which will continue to work for most use-cases
  • The themeGet utility is aliased to a theme export
New utilities
  • fontFamily
  • display
  • minWidth
  • height
  • maxHeight
  • minHeight
  • size (width & height)
  • alignContent
  • order
  • borders
  • backgroundImage
  • backgroundSize
  • backgroundPosition
  • zIndex
  • top
  • right
  • bottom
  • left

Commits

v2.0.0

v2.0.1

v2.0.2

  • 571a7b3 Fix system-components
  • c3b9717 Quick Fix on pseudoStyle new api
  • 8158ae0 Merge pull request #​106 from JoshRosenstein/patch-1
  • 29a9b38 2.0.2

v2.1.0

  • 4a09bcf clean-tag: fixed bug preventing props from getting passed
  • ee670a7 Merge pull request #​107 from shanecav/clean-tag-props
  • c4bde49 clean-tag 1.0.1
  • 5e6362c Remove Uneeded Export
  • 49fa647 Omit theme prop from clean-tag
  • f453ceb clean-tag 1.0.2
  • 4a25ec5 Merge pull request #​110 from jxnblk/tag-theme-prop
  • 871b9cf Update readme
  • 76d949f Add system-loader
  • 82748cf Stringify loader styles
  • 820caf2 Add complexStyle utilities
  • 6214890 Export colorStyle
  • 2d08ea8 Adjust deps
  • 9cfe86c Add loader to scripts packages
  • 3538316 Merge pull request #​111 from jxnblk/loader
  • 4921d8a Merge pull request #​112 from jxnblk/complex-style
  • 19e1644 Reorganize monorepo
  • 6f3aefa Adjust travis config
  • dbc3e68 Adjust clean-element test
  • 23456d6 Adjust travis config
  • 4336874 Merge pull request #​108 from JoshRosenstein/adjust
  • a02e42e Merge branch 'master' into core-organization
  • 0456808 Merge pull request #​113 from jxnblk/core-organization
  • 004c11e Adjust npmignore
  • d2d5ccc 2.1.0

This PR has been generated by Renovate Bot.

@coderplex-bot
Copy link
Collaborator

coderplex-bot commented Feb 16, 2018

Deploy preview for coderplex ready!

Built with commit 8c3aa5b

https://deploy-preview-178--coderplex.netlify.com

@renovate renovate bot force-pushed the renovate/styled-system-2.x branch 2 times, most recently from ae6c923 to 269e842 Compare February 22, 2018 22:51
@renovate renovate bot force-pushed the renovate/styled-system-2.x branch from 269e842 to 8c3aa5b Compare February 22, 2018 22:53
@vinaypuppal vinaypuppal deleted the renovate/styled-system-2.x branch February 22, 2018 22:54
@renovate
Copy link
Contributor Author

renovate bot commented Feb 22, 2018

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 2.x releases. However, if you upgrade to 2.x manually then Renovate will then reenable updates for minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants