Releases: segmentio/ui-box
Releases · segmentio/ui-box
v5.4.1
v5.4.0
- Bump terser from 4.8.0 to 4.8.1 (#118) 46324c9
- Append hashed selector to class name instead of hashing value only (#127) 9b9837d
- Expand comma separated selectors to maintain specificity (#129) ef1cbea
- Add support for nested selector composition (#128) 8415ad0
- Add svg prop enhancers (#131) dcac6a8
- Add selectors propType and ensure prop is properly matched when split (#123) cb41318
v5.3.0
What's Changed
- Implement keyframes function and add animation prop support by @brandongregoryscott in #122
Full Changelog: v5.2.1...v5.3.0
v5.2.1
What's Changed
- Fix prop pass-thru for objects, including
style
prop by @brandongregoryscott in #121
Full Changelog: v5.2.0...v5.2.1
v5.2.0
What's Changed
- Add support for selectors/pseudo classes by @brandongregoryscott in #119
Full Changelog: v5.1.0...v5.2.0
v5.1.0
v5.0.1
- Disable sourcemap generation (#111) 736a7db
- Relates to segmentio/evergreen#1454
- Bump trim-off-newlines from 1.0.1 to 1.0.3 (#114) de52ed5
- Bump handlebars from 4.7.3 to 4.7.7 (#85) 39dcab3
- Bulk update deps (#113) ebaa4a4
- Bump y18n from 3.2.1 to 3.2.2
- Bump postcss from 7.0.32 to 7.0.39
- Bump ssri from 6.0.1 to 6.0.2
- Bump elliptic from 6.5.3 to 6.5.4
- Bump merge-deep from 3.0.2 to 3.0.3
- Bump ws from 6.2.1 to 6.2.2
- Bump hosted-git-info from 2.7.1 to 2.8.9
- Bump tar from 4.4.8 to 4.4.19
- Bump path-parse from 1.0.6 to 1.0.7
- Bump dot-prop from 4.2.0 to 4.2.1
- Bump lodash-es from 4.17.15 to 4.17.21
- Bump nanoid from 3.1.10 to 3.3.3
- Bump ua-parser-js from 0.7.19 to 0.7.31
- Bump url-parse from 1.4.7 to 1.5.10
- Bump pathval from 1.1.0 to 1.1.1
- Bump color-string from 1.5.3 to 1.9.1
- Bump shelljs from 0.8.3 to 0.8.5 (#99) ce2a6b9
- Bump async from 2.6.2 to 2.6.4 (#105) 5be931c
v5.0.0
v4.1.0
v4.0.0
v4.0.0
🎉 🎉 🎉 We've released v4 of ui-box!
Breaking Changes:
innerRef
is gone. Useref
(ui-box forwards refs to the underlying component)- Types have been updated and may break depending on how you previously were using them
Highlights
The types have been much improved for better polymorphic support. Inspired by types from Emotion and https://github.com/kripod/react-polymorphic-box we now have better support for polymorphic props when using the is
prop. This worked before, but there were some limitations – namely using React.ComponentProps<typeof Box>
would break and we didn't have a sane way to give you more type-safety.
Now you can also type your own components that extend ui-box
by casting them as BoxComponent<ElementType, Props>