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:
utilhoccreateComponentcreateLibrary
- The default theme has changed to match styled-system
- The
colorsobject no longer uses Palx - Array color values have been removed
radiushas been replaced withradiifonthas been replaced withfontsmonospacehas been removed- Theme fields are no longer exposed as exports
- The
- Some props have changed
widthis only available on Flex and BoxfontSizeis only available on typographic componentsdirectionis nowflexDirection- Flex
alignis nowalignItems - Flex
justifyis nowjustifyContent - Flex
wrapis nowflexWrap - Arrow
upis nowdirection='up' activeprops have been removed in favor of custom styles- Border now uses styled-system border props
- Banner
imageis nowbackgroundImage - Absolute, Fixed, Relative, and Sticky now require values for
top,right,bottom, andleftprops