v1.1.0
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
andtransform-origin
- Fixes
break-inside
classes being merged incorrectly - Adds missing classes
overline
,underline-offset
,content-none
- Fixes typo in class group name
bg-repeeat
→bg-repeat
- Adds
isArbitraryShadow
validator
- Adds arbitrary value support for class groups
- 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!
- I changed the build output significantly here and removed
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