github dcastil/tailwind-merge v1.1.0

latest releases: v3.3.1, v3.3.0, v3.2.0...
3 years ago

New Features

  • Fix missing arbitrary value support in some class groups by @dcastil in #73
    • Adds arbitrary value support for class groups grayscale, invert, sepia, grow, shrink, object-position, shadow, drop-shadow, rotate, skew and transform-origin
    • Fixes break-inside classes being merged incorrectly
    • Adds missing classes overline, underline-offset, content-none
    • Fixes typo in class group name bg-repeeatbg-repeat
    • Adds isArbitraryShadow validator
  • Improve tree-shaking by @dcastil in #65
    • I changed the build output significantly here and removed "type": "module" from the package.json. I did test the new npm package output in Node and in the browser, but it's hard to account for every possible build system tailwind-merge is used in. If some issues come up with bundling tailwind-merge, please open an issue!

Bug Fixes

  • Fix stroke-color utilities being merged with stroke-width utilities by @dcastil in #72
  • Fix mix-blend utilities getting merged incorrectly by @dcastil in #71

Full Changelog: v1.0.0...v1.1.0

Don't miss a new tailwind-merge release

NewReleases is sending notifications on new releases.