tailwind-merge 0.4.0
Breaking Changes
createTailwindMerge- Config type changed and returned object from
getDefaultConfigchanged. (https://github.com/dcastil/tailwind-merge/pull/3)dynamicClassesandstandaloneClasseswere merged intoclassGroupsconflictingGroupswere renamed toconflictingClassGroups- Class group IDs are keys of
classGroupsobject 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 https://github.com/dcastil/tailwind-merge/pull/3
- Add support for Tailwind v2.2.5 by @dcastil in https://github.com/dcastil/tailwind-merge/pull/2
Bug Fixes
- Fix non-conflicting border classes being merged incorrectly by @dcastil in https://github.com/dcastil/tailwind-merge/pull/5
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.3.0...v0.4.0