Update dependency tailwind-merge to v2 #474
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^1.12.0
->^2.0.0
Release Notes
dcastil/tailwind-merge (tailwind-merge)
v2.5.5
Compare Source
Bug Fixes
Documentation
Full Changelog: dcastil/tailwind-merge@v2.5.4...v2.5.5
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco, @roboflow, @syntaxfm, @getsentry, @codecov and more via @thnxdev for sponsoring tailwind-merge! ❤️
v2.5.4
Compare Source
Bug Fixes
Full Changelog: dcastil/tailwind-merge@v2.5.3...v2.5.4
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco, @roboflow and @codecov for sponsoring tailwind-merge! ❤️
v2.5.3
Compare Source
Bug Fixes
Documentation
Other
Full Changelog: dcastil/tailwind-merge@v2.5.2...v2.5.3
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco, @roboflow, @xeger and @MrDeatHHH for sponsoring tailwind-merge! ❤️
v2.5.2
Compare Source
v2.5.1
Compare Source
Bug Fixes
Full Changelog: dcastil/tailwind-merge@v2.5.0...v2.5.1
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco and @jamaluddinrumi for sponsoring tailwind-merge! ❤️
v2.5.0
Compare Source
New Features
Bug Fixes
Full Changelog: dcastil/tailwind-merge@v2.4.0...v2.5.0
Thanks to @brandonmcconnell, @manavm1990, @langy and @jamesreaco for sponsoring tailwind-merge! ❤️
v2.4.0
Compare Source
New Features
experimentalParseClassName
property in the config that allows you to customize how tailwind-merge recognizes classes. If you're interested, you can read how to use it in the inline JSDocs and subscribe to https://github.com/dcastil/tailwind-merge/issues/385 for upcoming more powerful low-level functionality.@babel/runtime
dependency by @dcastil in https://github.com/dcastil/tailwind-merge/pull/431tailwind-merge/es5
bundle anyway which I don't optimize for.Documentation
Other
Full Changelog: dcastil/tailwind-merge@v2.3.0...v2.4.0
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco and @microsoft for sponsoring tailwind-merge! ❤️
v2.3.0
Compare Source
New Features
Documentation
Full Changelog: dcastil/tailwind-merge@v2.2.2...v2.3.0
Thanks to @brandonmcconnell, @manavm1990, @langy and @jamesreaco for sponsoring tailwind-merge! ❤️
v2.2.2
Compare Source
v2.2.1
Compare Source
Bug Fixes
Full Changelog: dcastil/tailwind-merge@v2.2.0...v2.2.1
Thanks to @brandonmcconnell, @manavm1990 and @langy for sponsoring tailwind-merge! ❤️
v2.2.0
Compare Source
New Features
Full Changelog: dcastil/tailwind-merge@v2.1.0...v2.2.0
Thanks to @brandonmcconnell, @manavm1990, @ErwinAI and @langy for sponsoring tailwind-merge! ❤️
v2.1.0
Compare Source
New Features
ClassValidator
type to package exports by @dcastil in https://github.com/dcastil/tailwind-merge/pull/348Bug Fixes
Documentation
Full Changelog: dcastil/tailwind-merge@v2.0.0...v2.1.0
Thanks to @brandonmcconnell, @manavm1990, @ErwinAI and @langy for sponsoring tailwind-merge! ❤️
v2.0.0
Compare Source
The tailwind-merge v2 release has been sitting here almost finished for 2 months already. But the timing was never quite right, especially thinking about the increased support needed after the release. In the meantime, the product of the company I work at launched in public beta and I married. Thank you for your patience.
This release focuses on making it easier to configure the library for new users. Check out the migration guide and if you have any questions, feel free to create an issue.
Breaking Changes
background-image
andbackground-position
being merged incorrectly by @dcastil in https://github.com/dcastil/tailwind-merge/pull/300background-position
andbackground-size
can look very similar and Tailwind CSS uses the samebg-
prefix for both groups. This results in some limitations for tailwind-merge. If you use background position or background size with arbitrary values, please read this section about how to use them.extendTailwindMerge
by @dcastil in https://github.com/dcastil/tailwind-merge/pull/294conflictingClassGroupModifiers
in config non-optional by @dcastil in https://github.com/dcastil/tailwind-merge/pull/291module
field from package.json by @dcastil in https://github.com/dcastil/tailwind-merge/pull/289New Features
extendTailwindMerge
by @dcastil in https://github.com/dcastil/tailwind-merge/pull/294conflictingClassGroupModifiers
in config non-optional by @dcastil in https://github.com/dcastil/tailwind-merge/pull/291module
field from package.json by @dcastil in https://github.com/dcastil/tailwind-merge/pull/289Bug Fixes
background-image
andbackground-position
being merged incorrectly by @dcastil in https://github.com/dcastil/tailwind-merge/pull/300true
for empty strings by @dcastil in https://github.com/dcastil/tailwind-merge/pull/295Documentation
bg-size
andbg-position
class groups in docs by @dcastil in https://github.com/dcastil/tailwind-merge/pull/328Full Changelog: dcastil/tailwind-merge@v1.14.0...v2.0.0
Thanks to @quezlatch, @brandonmcconnell, @manavm1990 and @ErwinAI for sponsoring tailwind-merge! ❤️
v1.14.0
Compare Source
New Features
mt-[calc(theme(fontSize.4xl)/1.125)]
would not be recognized correctly because no length unit is present in the arbitrary value.calc()
,min()
,max()
andclamp()
function is used in the arbitrary value.mt-[…]
the arbitrary value can only be a length, so I don't check for it. A consequence of this is that if you use non-Tailwind classes likemt-[this-is-totally-not-tailwind]
, tailwind-merge will recognize it as a Tailwind class from now on. Please don't use classes that look like Tailwind classes with arbitrary value but aren't Tailwind classes with tailwind-merge (in default config) to prevent incorrect merging behavior.Bug Fixes
col-span-full
class missing in default config by @dcastil in https://github.com/dcastil/tailwind-merge/pull/267Documentation
Full Changelog: dcastil/tailwind-merge@v1.13.2...v1.14.0
v1.13.2
Compare Source
Bug Fixes
moduleResolution: node16
by @LiamMartens in https://github.com/dcastil/tailwind-merge/pull/245Documentation
Full Changelog: dcastil/tailwind-merge@v1.13.1...v1.13.2
Thanks to @bluetch for sponsoring tailwind-merge! ❤️
v1.13.1
Compare Source
Bug Fixes
basis-auto
andbasis-full
not being merged correctly by @lukasz-kapica in https://github.com/dcastil/tailwind-merge/pull/242Full Changelog: dcastil/tailwind-merge@v1.13.0...v1.13.1
v1.13.0
Compare Source
This release focuses on improvements to the docs.
Bug Fixes
0
without unit not being recognized by @dcastil in https://github.com/dcastil/tailwind-merge/pull/237Documentation
Other
Full Changelog: dcastil/tailwind-merge@v1.12.0...v1.13.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.