Releases: segmentio/ui-box
Releases · segmentio/ui-box
v2.1.1
v2.1.0
v2.0.0
Welcome to v2.0.0 of ui-box
! 🎂
The major version bump is primarily because we've migrated the entire lib to TypeScript and are outputting es6 code as our target (previously we were transpiling all es 2015+ code). We now have built-in types from the lib itself (no more need for @types/ui-box
).
Breaking Changes:
css
is no longer exported fromui-box
. It was a proxy for usingglamor
and added unnecessary complexity toui-box
.css
is no longer an accepted prop for<Box />
– it won't interpret that prop and will pass it through to the underlying component.- no longer supports es5.
ui-box
targetses6
as a bare minimum, and if you need further support you will need to use something like@babel/preset-env
or webpack to polyfill based on your needs.
Updates:
- migrate ui-box to typescript with declarations (#28) 502f66d
- fix: typo in deprecation warning (#32) eef320e
- Upgrade dependencies 599126a
- Fix security vulnerability in devDependency 6de7076
- Fix storybook 520c734
- Upgrade to babel 7 5975dc7
- Upgrade dependencies b92ec56
- Remove the storybook github pages e86c1eb
1.4.0
New features
Support for all the CSS Grid properties has been added:
columnGap
gap
grid
gridArea
gridAutoColumns
gridAutoFlow
gridAutoRows
gridColumn
gridColumnEnd
gridColumnGap
gridColumnStart
gridGap
gridRow
gridRowEnd
gridRowGap
gridRowStart
gridTemplate
gridTemplateAreas
gridTemplateColumns
gridTemplateRows
rowGap
1.3.0
New features
- Remove the
classnames
dependency. - Add support for the
justifyItems
,placeContent
,placeItems
andplaceSelf
CSS properties.
Bug fixes
- Switched
Box
from aReact.PureComponent
to regularReact.Component
. PureComponent was causing problems for things likereact-router
, where the children need to re-render but theBox
props or children didn't change.