Releases: dcastil/tailwind-merge
Releases · dcastil/tailwind-merge
v0.5.0
v0.4.0
Breaking Changes
createTailwindMerge
- Config type changed and returned object from
getDefaultConfig
changed. (#3)dynamicClasses
andstandaloneClasses
were merged intoclassGroups
conflictingGroups
were renamed toconflictingClassGroups
- Class group IDs are keys of
classGroups
object instead of full path to class group. E.g.dynamicClasses.foo.0
→foo
.
- Config type changed and returned object from
New Features
- (Breaking change) Simplify config by @dcastil in #3
- Add support for Tailwind v2.2.5 by @dcastil in #2
Bug Fixes
Full Changelog: v0.3.0...v0.4.0
v0.3.0
New Features
- Enable named class group collections by @dcastil in 16a3175
- Class group collections in config can be an object, so you can use group references like
dynamicClasses.flex.direction
instead of just index-based ones likedynamicClasses.flex.0
. More info on this in thecreateTailwindMerge()
API reference.
- Class group collections in config can be an object, so you can use group references like
Bug Fixes
Other
Full Changelog: v0.2.0...v0.3.0
v0.2.0
New Features
- Add support for important modifier by @dcastil in 17a9e9d
- Add support for per-side border colors by @dcastil in 6cd9ee2
- Add support for content utiltites by @dcastil in fd097c6
- Add support for caret color by @dcastil in fd097c6
- Add support for JIT-only prefixes by @dcastil in fd097c6
- Mark package as side effect-free by @dcastil in 6d00af3
Bug Fixes
Full Changelog: v0.1.2...v0.2.0
v0.1.2
v0.1.1
No changes here. Just testing automated npm publish.
Full Changelog: v0.1.0...v0.1.1
v0.1.0
First published version of tailwind-merge. 🎉
Full Changelog: https://github.com/dcastil/tailwind-merge/commits/v0.1.0