Skip to content

Comments

V5#513

Merged
jxnblk merged 107 commits intomasterfrom
v5
Jun 2, 2019
Merged

V5#513
jxnblk merged 107 commits intomasterfrom
v5

Conversation

@jxnblk
Copy link
Member

@jxnblk jxnblk commented May 27, 2019

  • Improved performance of core module
  • Splits core module and style functions into separate packages for smaller bundling options
  • Uses microbundle for main styled-system package
  • New custom styles API
  • Mostly backwards compatible with v4
  • Uses theme.sizes scale for width, height, minWidth, minHeight, maxWidth, maxHeight, and size props

Breaking

  • Removes propTypes from core (an optional package will be provided)
  • Moves themeGet to a separate package @styled-system/theme-get
  • No longer converts numbers to strings with px unit (most CSS-in-JS libraries now handle this)
  • Removes these utilities: isObject, is, px, num, createMediaQuery, defaultBreakpoints, merge, cloneFunction, mapProps
  • No longer returns null for empty values (now returns {})
  • Replaces width and height theme scales with theme.sizes

To do

Fixes #475
Fixes #444

@jxnblk jxnblk mentioned this pull request Jun 2, 2019
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v5 Roadmap Performances

4 participants