Skip to content

Releases: segmentio/ui-box

v5.4.1

23 Mar 14:51
Compare
Choose a tag to compare
  • Properly attach nested selectors to CSV parent selector (#136) d41c0a3
  • Upgrade TypeScript to 4.9.4 (#134) e2c7e4c

v5.4.0...v5.4.1

v5.4.0

29 Nov 15:40
Compare
Choose a tag to compare
  • 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...v5.4.0

v5.3.0

15 Nov 15:32
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.2.1...v5.3.0

v5.2.1

10 Nov 16:31
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.2.0...v5.2.1

v5.2.0

04 Nov 19:29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v5.1.0...v5.2.0

v5.1.0

21 Jun 15:15
Compare
Choose a tag to compare
  • Bump eventsource from 1.0.7 to 1.1.2 (#117) 696338f
  • Update peer and dev dependencies to react 18 (#116) 6e17a28

v5.0.1...v5.1.0

v5.0.1

29 Apr 19:05
Compare
Choose a tag to compare
  • Disable sourcemap generation (#111) 736a7db
  • 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...v5.0.1

v5.0.0

29 Jul 19:39
Compare
Choose a tag to compare
  • support react 17 and switch to min node 12 (#92) 94605fb
  • Bump markdown-to-jsx from 6.9.4 to 6.11.4 (#77) 9255d84
  • Bump bl from 4.0.2 to 4.0.3 (#76) 224ef96
  • Bump elliptic from 6.4.1 to 6.5.3 (#72) b616187
  • Bump ini from 1.3.5 to 1.3.7 (#80) 25f3f05
  • Benchmark the TypeScript files directly (#78) 605edc7

v4.1.0...v5.0.0

v4.1.0

03 Aug 22:37
Compare
Choose a tag to compare

v4.0.0...v4.1.0

v4.0.0

28 Jul 23:19
Compare
Choose a tag to compare

v4.0.0

🎉 🎉 🎉 We've released v4 of ui-box!

Breaking Changes:

  • innerRef is gone. Use ref (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>

ui-box types

Details

v3.3.1...v4.0.0