fix(deps): ⬆️ update dependency tailwind-merge to v2
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| tailwind-merge | ^1.14.0 -> ^2.0.0 |
Release Notes
dcastil/tailwind-merge (tailwind-merge)
v2.5.2
v2.5.1
Bug Fixes
- Fx space at beginning of input causing infinite loop by @dcastil in https://github.com/dcastil/tailwind-merge/pull/457
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v2.5.0...v2.5.1
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco and @jamaluddinrumi for sponsoring tailwind-merge! ❤️
v2.5.0
New Features
- Performance improvements in mergeClassList by @XantreDev in https://github.com/dcastil/tailwind-merge/pull/450 and @rortan134 in https://github.com/dcastil/tailwind-merge/pull/445
- Use arrow functions where possible to help with minification by @VIKTORVAV99 in https://github.com/dcastil/tailwind-merge/pull/449
Bug Fixes
- Fix bg-opacity arbitrary percentages not being recognized properly by @dcastil in https://github.com/dcastil/tailwind-merge/pull/451
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0
Thanks to @brandonmcconnell, @manavm1990, @langy and @jamesreaco for sponsoring tailwind-merge! ❤️
v2.4.0
New Features
- Allow hooking into class parsing logic (experimental) by @dcastil in https://github.com/dcastil/tailwind-merge/pull/444
- There is no info to this in the docs because this is experimental, but there is a new
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 https://github.com/dcastil/tailwind-merge/issues/385 for upcoming more powerful low-level functionality.
- There is no info to this in the docs because this is experimental, but there is a new
- Create security policy by @dcastil in https://github.com/dcastil/tailwind-merge/pull/439
- Added documentation on how to report potential vulnerabilities
- Avoid
@babel/runtimedependency by @dcastil in https://github.com/dcastil/tailwind-merge/pull/431- Now no dependencies in tailwind-merge anymore. This dependency was only used in the
tailwind-merge/es5bundle anyway which I don't optimize for.
- Now no dependencies in tailwind-merge anymore. This dependency was only used in the
Documentation
- Comment/typo fixes by @barvian in https://github.com/dcastil/tailwind-merge/pull/443
- Fix typo in doc/recipes.md by @dsernst in https://github.com/dcastil/tailwind-merge/pull/428
- docs: add tailwind-merge-dotnet to similar packages by @desmondinho in https://github.com/dcastil/tailwind-merge/pull/415
Other
- Added GitHub Action that adds context-v2 label to every issue, discussion and PR by @Pritam1211 in https://github.com/dcastil/tailwind-merge/pull/434
- Replace size-limit action with own metrics-report action by @dcastil in https://github.com/dcastil/tailwind-merge/pull/433
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco and @microsoft for sponsoring tailwind-merge! ❤️
v2.3.0
New Features
- Add support for mix-blend-plus-darker utility by @dcastil in https://github.com/dcastil/tailwind-merge/pull/403
- Added support for bigint in ClassNameValue type by @LarsArtmann in https://github.com/dcastil/tailwind-merge/pull/402
Documentation
- Add tailwind-merge-go to similar packages in docs by @Oudwins in https://github.com/dcastil/tailwind-merge/pull/396
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v2.2.2...v2.3.0
Thanks to @brandonmcconnell, @manavm1990, @langy and @jamesreaco for sponsoring tailwind-merge! ❤️
v2.2.2
v2.2.1
Bug Fixes
- Fix stroke-color being incorrectly detected as stroke-width by @dcastil in https://github.com/dcastil/tailwind-merge/pull/371
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v2.2.0...v2.2.1
Thanks to @brandonmcconnell, @manavm1990 and @langy for sponsoring tailwind-merge! ❤️
v2.2.0
New Features
- Add support for Tailwind CSS v3.4 by @dcastil in https://github.com/dcastil/tailwind-merge/pull/360
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v2.1.0...v2.2.0
Thanks to @brandonmcconnell, @manavm1990, @ErwinAI and @langy for sponsoring tailwind-merge! ❤️
v2.1.0
New Features
- Add
ClassValidatortype to package exports by @dcastil in https://github.com/dcastil/tailwind-merge/pull/348
Bug Fixes
- Fix display class not removed when it precedes line-clamp class by @dcastil in https://github.com/dcastil/tailwind-merge/pull/347
Documentation
- Fix curly bracket typo in config docs by @Kosai106 in https://github.com/dcastil/tailwind-merge/pull/349
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v2.0.0...v2.1.0
Thanks to @brandonmcconnell, @manavm1990, @ErwinAI and @langy for sponsoring tailwind-merge! ❤️
v2.0.0
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
- Fix
background-imageandbackground-positionbeing merged incorrectly by @dcastil in https://github.com/dcastil/tailwind-merge/pull/300- Values for
background-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.
- Values for
- Make types of available keys more strict and configurable through generics by @kachkaev in https://github.com/dcastil/tailwind-merge/pull/279
- Make it possible to override elements with
extendTailwindMergeby @dcastil in https://github.com/dcastil/tailwind-merge/pull/294 - Separate validators better by @dcastil in https://github.com/dcastil/tailwind-merge/pull/292
- Make
conflictingClassGroupModifiersin config non-optional by @dcastil in https://github.com/dcastil/tailwind-merge/pull/291 - Move separator to config by @dcastil in https://github.com/dcastil/tailwind-merge/pull/290
- Remove
modulefield from package.json by @dcastil in https://github.com/dcastil/tailwind-merge/pull/289 - Remove deprecated exports by @dcastil in https://github.com/dcastil/tailwind-merge/pull/288
- Transpile lib to more modern JS by @dcastil in https://github.com/dcastil/tailwind-merge/pull/287
New Features
- Make types of available keys more strict and configurable through generics by @kachkaev in https://github.com/dcastil/tailwind-merge/pull/279
- Make it possible to override elements with
extendTailwindMergeby @dcastil in https://github.com/dcastil/tailwind-merge/pull/294 - Separate validators better by @dcastil in https://github.com/dcastil/tailwind-merge/pull/292
- Make
conflictingClassGroupModifiersin config non-optional by @dcastil in https://github.com/dcastil/tailwind-merge/pull/291 - Move separator to config by @dcastil in https://github.com/dcastil/tailwind-merge/pull/290
- Remove
modulefield from package.json by @dcastil in https://github.com/dcastil/tailwind-merge/pull/289 - Remove deprecated exports by @dcastil in https://github.com/dcastil/tailwind-merge/pull/288
- Transpile lib to more modern JS by @dcastil in https://github.com/dcastil/tailwind-merge/pull/287
- Add ES5 bundle by @dcastil in https://github.com/dcastil/tailwind-merge/pull/286
Bug Fixes
- Fix touch action classes overriding each other incorrectly by @dcastil in https://github.com/dcastil/tailwind-merge/pull/313
- Fix
background-imageandbackground-positionbeing merged incorrectly by @dcastil in https://github.com/dcastil/tailwind-merge/pull/300 - Fix number validators accidentally returning
truefor empty strings by @dcastil in https://github.com/dcastil/tailwind-merge/pull/295 - Rename lazy-initializaton.test.ts to lazy-initialization.test.ts by @CrutchTheClutch in https://github.com/dcastil/tailwind-merge/pull/284
Documentation
- Explain limitations of arbitrary values in
bg-sizeandbg-positionclass groups in docs by @dcastil in https://github.com/dcastil/tailwind-merge/pull/328
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v1.14.0...v2.0.0
Thanks to @quezlatch, @brandonmcconnell, @manavm1990 and @ErwinAI 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.