v2 alpha
Refactored code base, using the latest styled-system and grid-styled
- styled-system v2
- grid-styled v3
- Removes custom HOC
- Removes createLibrary function
- Moves components to separate modules
- Uses system-components
- Removes Palx dependency
- Updates docs site
Breaking Changes
- Some components have been renamed:
- TabItem -> Tab
- DotButton -> Dot
- PanelHeader -> Panel.Header
- PanelFooter -> Panel.Footer
- Some components have been removed:
- ScrollCarousel
- CarouselSlide
- Star
- Some utilities have been removed:
util
hoc
createComponent
createLibrary
- The default theme has changed to match styled-system
- The
colors
object no longer uses Palx - Array color values have been removed
radius
has been replaced withradii
font
has been replaced withfonts
monospace
has been removed- Theme fields are no longer exposed as exports
- The
- Some props have changed
width
is only available on Flex and BoxfontSize
is only available on typographic componentsdirection
is nowflexDirection
- Flex
align
is nowalignItems
- Flex
justify
is nowjustifyContent
- Flex
wrap
is nowflexWrap
- Arrow
up
is nowdirection='up'
active
props have been removed in favor of custom styles- Border now uses styled-system border props
- Banner
image
is nowbackgroundImage
- Absolute, Fixed, Relative, and Sticky now require values for
top
,right
,bottom
, andleft
props