UNPKG

3.67 kBMarkdownView Raw
1
2# Changelog
3
4## Unreleased
5
6## [3.0.0] 2018-12-01
7
8- Reduced package size
9- Reduced number of components to 8
10- Updated for Styled Components v4 and Emotion v10
11- Reduced dependencies
12- Removed default theme and colors
13- Removed Provider component
14- Added variant theme support for Button and Card components
15- Removed `is` prop in favor of Styled Components' and Emotion's `as` prop
16- Uses Box component as base for all other components
17- Removed `css` prop in favor of Styled Components' and Emotion's implementations
18
19## [3.0.0-12] 2018-11-29
20
21- Removes `css` prop in favor of babel-plugin-styled-components
22- Adds build setup for Emotion 10
23
24## [3.0.0-11] 2018-11-13
25
26- Update dependencies
27
28## [3.0.0-10] 2018-11-12
29
30- Sets `box-sizing: border-box` on base Box component
31
32## [3.0.0-9] 2018-09-22
33
34- Adds flexbox props back to Box component
35
36## [3.0.0-6] 2018-09-13
37
38- Adds emotion package
39
40## [3.0.0-2] 2018-09-11
41
42- Update styled-system
43- Update docs
44
45## [3.0.0-1] 2018-09-10
46
47- Update docs for v3
48
49## [3.0.0-0] 2018-09-08
50
51- Smaller package
52- Reduced number of components to 8
53- Upgraded for styled-components v4
54- Reduced dependencies to one
55- Removed default theme and colors
56- Removed Rebass Provider component
57- Added variant theme support to Button and Card
58- Removed `is` prop in favor of styled-components `as` prop
59- Uses Box component as the base for all other components
60
61## [2.3.2] 2018-09-08
62
63- Update repo in package.json
64- Update readme
65
66## [2.3.1] 2018-09-08
67
68- Fix bad prepublish build
69
70## [2.3.0] 2018-09-08
71
72- Upgrade to @rebass/components, @rebass/grid, and styled-system v3
73
74## [2.2.0] 2018-09-08
75
76- Use `polished` for color manipulation instead of `chroma-js`
77
78## [2.1.1] 2018-09-08
79
80- Support `width` prop on Card
81- Update docs
82
83## [2.1.0] 2018-08-14
84
85- Add Hide component
86
87## [2.0.1] 2018-06-30
88
89- Add `fontFamily` to Heading and Text components
90- Update docs
91
92## [2.0.0] 2018-06-24
93
94### Added
95
96- Support for [emotion][emotion]
97
98### Changed
99
100- [styled-system](https://github.com/jxnblk/styled-system) v2
101- [grid-styled](https://github.com/jxnblk/grid-styled) v4
102- Moves components to separate modules
103- Uses [system-components](https://github.com/jxnblk/styled-system/tree/master/system-components)
104- Updates docs site
105
106#### Breaking
107
108- Renamed components
109 - TabItem -> Tab
110 - DotButton -> Dot
111 - PanelHeader -> Panel.Header
112 - PanelFooter -> Panel.Footer
113- Default theme (changed to match styled-system)
114 - The `colors` object no longer uses Palx
115 - Array color values have been removed
116 - `radius` has been replaced with `radii`
117 - `font` has been replaced with `fonts`
118 - `monospace` has been removed
119 - Theme fields are no longer exposed as exports
120- Props
121 - `width` is only available on Flex and Box
122 - `fontSize` is only available on typographic components
123 - `direction` is now `flexDirection`
124 - Flex `align` is now `alignItems`
125 - Flex `justify` is now `justifyContent`
126 - Flex `wrap` is now `flexWrap`
127 - Arrow `up` is now `direction='up'`
128 - `active` props have been removed in favor of custom styles
129 - Border now uses [styled-system border props](https://github.com/jxnblk/styled-system#borders)
130 - Banner `image` is now `backgroundImage`
131 - Absolute, Fixed, Relative, and Sticky now require values for `top`, `right`, `bottom`, and `left` props
132 - Drawer `position` prop has been renamed to `side`
133 - Drawer `size` prop has been replaced with `width` and `height` props
134
135### Removed
136
137- Custom HOC `hoc`
138- `createLibrary` function
139- `util`
140- `createComponent`
141- Palx dependency
142- ScrollCarousel component
143- CarouselSlide component
144- Star comonent
145
146
147[emotion]: https://github.com/emotion-js/emotion