Upgrade core dependency: Styled-System
See Migration Guide for general overview
Replaced theme keys widths, heights, minWidths, maxWidths, minHeights, maxHeights with sizes. Changed in base theme and component themes. (Breaking Change)
Fixed previously unknown bug where propType declarations weren't working
Installed styled-system/propTypes library
defined PROPTYPES in constants.js for use in propType declarations. Utilizes styled-system/propTypes createPropTypes
Installed styled-system/themeGet library
Fixed previously unknown bug where themeGets wouldn't properly fallback. In some cases this meant utilizing a new feature in styled system
In general, I imported ThemeGet as tg to make things a little cleaner.
Overview
widths, heights, minWidths, maxWidths, minHeights, maxHeights
withsizes
. Changed in base theme and component themes. (Breaking Change)PROPTYPES
in constants.js for use in propType declarations. Utilizes styled-system/propTypescreatePropTypes
ThemeGet as tg
to make things a little cleaner.Box
Checklist
Upgrade instructions
If there are any of the following in this PR, provide proper instructions on how to upgrade:
Testing Instructions
Closes #245 Closes #224