Skip to content

System components

Compare
Choose a tag to compare
@jxnblk jxnblk released this 24 Jun 18:35
· 928 commits to master since this release

Added

Changed

Breaking

  • Renamed components
    • TabItem -> Tab
    • DotButton -> Dot
    • PanelHeader -> Panel.Header
    • PanelFooter -> Panel.Footer
  • Default theme (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
  • Props
    • 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
    • Drawer position prop has been renamed to side
    • Drawer size prop has been replaced with width and height props

Removed

  • Custom HOC hoc
  • createLibrary function
  • util
  • createComponent
  • Palx dependency
  • ScrollCarousel component
  • CarouselSlide component
  • Star comonent