-
-
Notifications
You must be signed in to change notification settings - Fork 43
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:
|
5d64af9 to
0188bfb
Compare
0188bfb to
2541e3e
Compare
2541e3e to
2b3b141
Compare
This PR contains the following updates:
^1.10.0->^3.0.0Release Notes
dcastil/tailwind-merge (tailwind-merge)
v3.4.0Compare Source
v3.3.1Compare 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.0Compare 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.0Compare 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.0Compare 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.2Compare Source
Bug Fixes
pxvalue 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.1Compare Source
Bug Fixes
b9c136de22885eFull 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.0Compare 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
isLengthvalidator was removed and split into separate validatorsisNumberandisFractionby @dcastil in #518-character anymore by @dcastil in #518orderSensitiveModifiersproperty in config when usingcreateTailwindMergeby @dcastil in #518DefaultThemeGroupIdstype 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.0Compare 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.5Compare 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.4Compare 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.3Compare 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.2Compare 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.1Compare 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.0Compare 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.0Compare Source
New Features
experimentalParseClassNameproperty 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/runtimedependency by @dcastil in #431tailwind-merge/es5bundle 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.0Compare 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.2Compare Source
Bug Fixes
Documentation
configuration.mdby @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.1Compare 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.0Compare 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.0Compare Source
New Features
ClassValidatortype 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.0Compare 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-imageandbackground-positionbeing merged incorrectly by @dcastil in #300background-positionandbackground-sizecan 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.extendTailwindMergeby @dcastil in #294conflictingClassGroupModifiersin config non-optional by @dcastil in #291modulefield from package.json by @dcastil in #289New Features
extendTailwindMergeby @dcastil in #294conflictingClassGroupModifiersin config non-optional by @dcastil in #291modulefield from package.json by @dcastil in #289Bug Fixes
background-imageandbackground-positionbeing merged incorrectly by @dcastil in #300truefor empty strings by @dcastil in #295Documentation
bg-sizeandbg-positionclass 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.0Compare 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-fullclass missing in default config by @dcastil in #267Documentation
Full Changelog: dcastil/tailwind-merge@v1.13.2...v1.14.0
v1.13.2Compare Source
Bug Fixes
moduleResolution: node16by @LiamMartens in #245Documentation
Full Changelog: dcastil/tailwind-merge@v1.13.1...v1.13.2
Thanks to @bluetch for sponsoring tailwind-merge! ❤️
v1.13.1Compare Source
Bug Fixes
basis-autoandbasis-fullnot being merged correctly by @lukasz-kapica in #242Full Changelog: dcastil/tailwind-merge@v1.13.0...v1.13.1
v1.13.0Compare Source
This release focuses on improvements to the docs.
Bug Fixes
0without unit not being recognized by @dcastil in #237Documentation
Other
Full Changelog: dcastil/tailwind-merge@v1.12.0...v1.13.0
v1.12.0Compare Source
With this release tailwind-merge supports all features introduced in Tailwind CSS v3.3.
New Features
line-heightmodifiers infont-sizeutilities liketext-lg/7and more potential postfix modifiers in the future (learn more).w-1/2which 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).conflictingClassGroupModifiersobject to tailwind-merge config (learn more).Full Changelog: dcastil/tailwind-merge@v1.11.0...v1.12.0
v1.11.0Compare 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.isPercentwhich is needed internally for the default scale of color stop positions.gradientColorStopPositionssupported 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-0becausepadding-inline-startcan 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.