-
-
Notifications
You must be signed in to change notification settings - Fork 41
chore(deps): update dependency tailwind-merge to v3 #639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #639 +/- ##
=======================================
Coverage 91.28% 91.28%
=======================================
Files 144 144
Lines 2261 2261
Branches 738 739 +1
=======================================
Hits 2064 2064
Misses 162 162
Partials 35 35
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
55f9930
to
5d64af9
Compare
5d64af9
to
0188bfb
Compare
This PR contains the following updates:
^1.10.0
->^3.0.0
Release Notes
dcastil/tailwind-merge (tailwind-merge)
v3.3.1
Compare Source
Bug Fixes
color-mix()
not being detected as color by @dcastil in #591Full Changelog: dcastil/tailwind-merge@v3.3.0...v3.3.1
Thanks to @brandonmcconnell, @manavm1990, @langy, @roboflow, @syntaxfm, @getsentry, @codecov, @sourcegraph, a private sponsor, @block and @shawt3000 for sponsoring tailwind-merge! ❤️
v3.3.0
Compare Source
New Features
Full Changelog: dcastil/tailwind-merge@v3.2.0...v3.3.0
Thanks to @brandonmcconnell, @manavm1990, @langy, @roboflow, @syntaxfm, @getsentry, @codecov, @sourcegraph, a private sponsor and @block for sponsoring tailwind-merge! ❤️
v3.2.0
Compare Source
New Features
Full Changelog: dcastil/tailwind-merge@v3.1.0...v3.2.0
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco, @roboflow, @syntaxfm, @getsentry, @codecov, @sourcegraph and a private sponsor for sponsoring tailwind-merge! ❤️
v3.1.0
Compare Source
New Features
Bug Fixes
via-(length:*)
class being merged withvia-<color>
classes accidentally by @dcastil in #559Documentation
Other
Full Changelog: dcastil/tailwind-merge@v3.0.2...v3.1.0
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco, @roboflow, @syntaxfm, @getsentry, @codecov, @sourcegraph and a private sponsor for sponsoring tailwind-merge! ❤️
v3.0.2
Compare Source
Bug Fixes
px
value not being recognized for some class groups by @dcastil in #538Full Changelog: dcastil/tailwind-merge@v3.0.1...v3.0.2
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco, @roboflow, @syntaxfm, @getsentry, @codecov, @sourcegraph and a private sponsor for sponsoring tailwind-merge! ❤️
v3.0.1
Compare Source
Bug Fixes
b9c136d
e22885e
Full Changelog: dcastil/tailwind-merge@v3.0.0...v3.0.1
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco, @roboflow, @syntaxfm, @getsentry, @codecov, @sourcegraph and a private sponsor for sponsoring tailwind-merge! ❤️
v3.0.0
Compare Source
Tailwind CSS v4 is here and it's time to upgrade tailwind-merge to support it. tailwind-merge v3.0.0 is more accurate than ever and follows the Tailwind CSS spec more closely than in v2. That is thanks to Tailwind CSS v4 being more consistent than ever.
This release drops support for Tailwind CSS v3 and in turn adds support for Tailwind CSS v4. That means you should upgrade to Tailwind CSS v4 and tailwind-merge v3 together. All breaking changes are related to the Tailwind CSS v4 support.
Check out the migration guide and if you have any questions, feel free to create an issue.
Breaking Changes
isLength
validator was removed and split into separate validatorsisNumber
andisFraction
by @dcastil in #518-
character anymore by @dcastil in #518orderSensitiveModifiers
property in config when usingcreateTailwindMerge
by @dcastil in #518DefaultThemeGroupIds
type union consists of different string literals than before by @dcastil in #518New Features
Bug Fixes
before:
were treated as not order-sensitive. This is now fixed by @dcastil in #518Documentation
Full Changelog: dcastil/tailwind-merge@v2.6.0...v3.0.0
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco, @roboflow, @syntaxfm, @getsentry, @codecov, @sourcegraph and a private sponsor for sponsoring tailwind-merge! ❤️
v2.6.0
Compare Source
New Features
Full Changelog: dcastil/tailwind-merge@v2.5.5...v2.6.0
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco, @roboflow, @syntaxfm, @getsentry, @codecov, @sourcegraph, a private sponsor and more via @thnxdev for sponsoring 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
Sorry for all the bugs today!
Bug Fixes
Full Changelog: dcastil/tailwind-merge@v2.5.1...v2.5.2
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco and @jamaluddinrumi for sponsoring tailwind-merge! ❤️
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 #385 for upcoming more powerful low-level functionality.@babel/runtime
dependency by @dcastil in #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
Bug Fixes
Documentation
configuration.md
by @stephan281094 in #372Full Changelog: dcastil/tailwind-merge@v2.2.1...v2.2.2
Thanks to @brandonmcconnell, @manavm1990, @langy, a private sponsor and @jamesreaco for sponsoring tailwind-merge! ❤️
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 #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 #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 #294conflictingClassGroupModifiers
in config non-optional by @dcastil in #291module
field from package.json by @dcastil in #289New Features
extendTailwindMerge
by @dcastil in #294conflictingClassGroupModifiers
in config non-optional by @dcastil in #291module
field from package.json by @dcastil in #289Bug Fixes
background-image
andbackground-position
being merged incorrectly by @dcastil in #300true
for empty strings by @dcastil in #295Documentation
bg-size
andbg-position
class groups in docs by @dcastil in #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 #267Documentation
Full Changelog: dcastil/tailwind-merge@v1.13.2...v1.14.0
v1.13.2
Compare Source
Bug Fixes
moduleResolution: node16
by @LiamMartens in #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 #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 #237Documentation
Other
Full Changelog: dcastil/tailwind-merge@v1.12.0...v1.13.0
v1.12.0
Compare Source
With this release tailwind-merge supports all features introduced in Tailwind CSS v3.3.
New Features
line-height
modifiers infont-size
utilities liketext-lg/7
and more potential postfix modifiers in the future (learn more).w-1/2
which doesn't contain a modifier. So tailwind-merge always checks whether class without potential modifier exists and if it doesn't it checks for full class. This behavior might get reversed in the next major version as a breaking change (learn more).conflictingClassGroupModifiers
object to tailwind-merge config (learn more).Full Changelog: dcastil/tailwind-merge@v1.11.0...v1.12.0
v1.11.0
Compare Source
New Features
text-lg/7
) introduced in Tailwind CSS v3.3 is not yet supported in tailwind-merge because that feature is a bit more involved. I'll add support for it in a future release. More info in #211.isPercent
which is needed internally for the default scale of color stop positions.gradientColorStopPositions
supported in tailwind-merge.ps-0
(padding-inline-start: 0px;
) are de-duplicated away when using the matching property for all sides afterwards like in this casep-0
, but not when using single axis sides likepx-0
becausepadding-inline-start
can also be the top or bottom padding depending on writing mode.twMerge('ps-0 p-0') === 'p-0' && twMerge('ps-0 px-0') === 'ps-0 px-0'
.Full Changelog: dcastil/tailwind-merge@v1.10.0...v1.11.0
Thanks to @brandonmcconnell for sponsoring tailwind-merge! ❤️
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 is behind base branch, 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.