Skip to content

Releases: segmentio/ui-box

v2.1.1

17 Aug 20:50
Compare
Choose a tag to compare

v2.1.0...v2.1.1

v2.1.0

29 May 15:31
Compare
Choose a tag to compare
  • introduce better generic type for Box is props (#34) 37a80a3

v2.0.0...v2.1.0

v2.0.0

08 May 18:19
Compare
Choose a tag to compare

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 from ui-box. It was a proxy for using glamor and added unnecessary complexity to ui-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 targets es6 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

v1.4.0...v2.0.0

1.4.0

13 Aug 21:59
v1.4.0
Compare
Choose a tag to compare

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

13 Aug 20:16
v1.3.0
Compare
Choose a tag to compare

New features

  • Remove the classnames dependency.
  • Add support for the justifyItems, placeContent, placeItems and placeSelf CSS properties.

Bug fixes

  • Switched Box from a React.PureComponent to regular React.Component. PureComponent was causing problems for things like react-router, where the children need to re-render but the Box props or children didn't change.

1.2.0

01 May 18:11
v1.2.0
Compare
Choose a tag to compare

New features

  • Add support for the flexFlow CSS property. (#19)
  • Add support for all of the transition CSS properties. (#19)

1.1.0

08 Mar 07:59
v1.1.0
Compare
Choose a tag to compare

New features

ui-box now outputs minified CSS in production mode (NODE_ENV=production).

1.0.6

02 Mar 20:02
v1.0.6
Compare
Choose a tag to compare

Bug fixes

  • Handle invalid CSS property values gracefully.

1.0.5

19 Feb 23:04
v1.0.5
Compare
Choose a tag to compare

Bug fixes

  • Always hash values that contain a calc(). This is to prevent class name collisions due the operators being stripped.
  • Change letterSpacing propType to allow numeric values.

1.0.4

18 Feb 10:01
v1.0.4
Compare
Choose a tag to compare

Bug fixes

  • Fix numeric 0 values on CSS props.