fix(deps): ⬆️ update dependency tailwind-merge to v1 #224
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:
^0.9.0
->^1.0.0
Release Notes
dcastil/tailwind-merge
v1.1.0
Compare Source
New Features
grayscale
,invert
,sepia
,grow
,shrink
,object-position
,shadow
,drop-shadow
,rotate
,skew
andtransform-origin
break-inside
classes being merged incorrectlyoverline
,underline-offset
,content-none
bg-repeeat
→bg-repeat
isArbitraryShadow
validator"type": "module"
from the package.json. I did test the new npm package output in Node and in the browser, but it's hard to account for every possible build system tailwind-merge is used in. If some issues come up with bundling tailwind-merge, please open an issue!Bug Fixes
Full Changelog: dcastil/tailwind-merge@v1.0.0...v1.1.0
v1.0.0
Compare Source
v1! 🎉
Summary
After being 5 months on v0 I think it's time to release a stable version of tailwind-merge. Tailwind v3 was released yesterday and it's no coincidence that I'm releasing tailwind-merge v1 today. I added full support for Tailwind v3 so you can update both at once.
There are no breaking changes in the tailwind-merge types and some breaking changes for a small number of users in the return values, so you should get through smoothly.
By the way, you can now sponsor this project. 😊
Breaking Changes
twMerge
,extendTailwindMerge
overflow-ellipsis
andoverflow-clip
will not get merged with classtruncate
anymore, but the new Tailwind v3 classestext-ellipsis
andtext-clip
will. (https://github.com/dcastil/tailwind-merge/pull/63/commits/65b03e48914ac5d7d52eea9ec178b204d30609c9, https://github.com/dcastil/tailwind-merge/pull/63)decoration-slice
anddecoration-clone
won't get merged anymore andbox-decoration-slide
nadbox-decoration-clone
will (https://github.com/dcastil/tailwind-merge/pull/63/commits/bfe2cc9bb221107fa0bf363cc325ddbb04677f43, https://github.com/dcastil/tailwind-merge/pull/63)getDefaultConfig
outline
since it was removed in Tailwind v3 (https://github.com/dcastil/tailwind-merge/pull/63/commits/55ab167b7167519873c5dd4d258dc62212d1659a, https://github.com/dcastil/tailwind-merge/pull/63)vertival-alignment
(yes, the typo was in the code) tovertical-align
(https://github.com/dcastil/tailwind-merge/pull/63/commits/1269ce68ae39807ceadbecc98c0929fdfdb446d0, https://github.com/dcastil/tailwind-merge/pull/63)flex-basis
,flex-grow
andflex-shrink
tobasis
,grow
andshrink
to stay consistent with Tailwind v3 (https://github.com/dcastil/tailwind-merge/pull/63/commits/e6d8912e47bf9a89346b9b0cc822fb2bff2af172, https://github.com/dcastil/tailwind-merge/pull/63)validators
isCustomLength
andisCustomValue
were renamed toisArbitraryLength
andisArbitraryValue
to be consistent with naming in Tailwind v3 documentation (https://github.com/dcastil/tailwind-merge/pull/63/commits/adc3c02c7f035069beec1c62777ec008172587ab, https://github.com/dcastil/tailwind-merge/pull/63)New Features
[--my-var:20px]
![--my-very-important-var: 21px]
size
,position
,url
,weight
andfamily
isTshirtSize
,isArbitrarySize
,isArbitraryPosition
,isArbitraryUrl
andisArbitraryWeight
, check them out in the documentation! (https://github.com/dcastil/tailwind-merge/pull/63/commits/fec2b18870f6806e602009632b52b9fe89ebfb83, https://github.com/dcastil/tailwind-merge/pull/63/commits/f8acd7ca5be6cc40ad4c1cbdee7522bbc44c7870, https://github.com/dcastil/tailwind-merge/pull/63)Full Changelog: dcastil/tailwind-merge@v0.9.0...v1.0.0
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.