rebass v2.0.0 Release Notes
Release Date: 2018-06-24 // almost 6 years ago-
โ Added
- ๐ Support for emotion
๐ Changed
- ๐ styled-system v2
- ๐ grid-styled v4
- ๐ Moves components to separate modules
- ๐ Uses system-components
- โก๏ธ Updates docs site
๐ฅ 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 withradii
font
has been replaced withfonts
monospace
has been removed- Theme fields are no longer exposed as exports
- The
- Props
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 - Drawer
position
prop has been renamed toside
- Drawer
size
prop has been replaced withwidth
andheight
props
โ Removed
- Custom HOC
hoc
createLibrary
functionutil
createComponent
- Palx dependency
- ScrollCarousel component
- CarouselSlide component
- Star comonent