Skip to content

v2 alpha

Compare
Choose a tag to compare
@jxnblk jxnblk released this 19 Feb 22:55
· 1128 commits to master since this release
a75725b

Refactored code base, using the latest styled-system and grid-styled

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 with radii
    • font has been replaced with fonts
    • monospace has been removed
    • Theme fields are no longer exposed as exports
  • Some props have changed
    • width is only available on Flex and Box
    • fontSize is only available on typographic components
    • direction is now flexDirection
    • Flex align is now alignItems
    • Flex justify is now justifyContent
    • Flex wrap is now flexWrap
    • Arrow up is now direction='up'
    • active props have been removed in favor of custom styles
    • Border now uses styled-system border props
    • Banner image is now backgroundImage
    • Absolute, Fixed, Relative, and Sticky now require values for top, right, bottom, and left props