Skip to content

Commit

Permalink
fix(deps): update dependency tailwind-merge to v1.14.0 (#12)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [tailwind-merge](https://github.com/dcastil/tailwind-merge) |
[`1.13.2` ->
`1.14.0`](https://renovatebot.com/diffs/npm/tailwind-merge/1.13.2/1.14.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/tailwind-merge/1.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tailwind-merge/1.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tailwind-merge/1.13.2/1.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tailwind-merge/1.13.2/1.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>dcastil/tailwind-merge (tailwind-merge)</summary>

###
[`v1.14.0`](https://github.com/dcastil/tailwind-merge/releases/tag/v1.14.0)

[Compare
Source](https://github.com/dcastil/tailwind-merge/compare/v1.13.2...v1.14.0)

##### New Features

- Improve support for arbitrary values by
[@&#8203;dcastil](https://github.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/263](https://github.com/dcastil/tailwind-merge/pull/263)
- Previously, tailwind-merge checked the content of the arbitrary value
portion of a class in most cases to understand whether the type of the
arbitrary value is correct (e.g. it checked for number followed by
length unit for the length type). That lead to the issue that a class
like `mt-[calc(theme(fontSize.4xl)/1.125)]` would not be recognized
correctly because no length unit is present in the arbitrary value.
- I changed the check of the arbitrary value to also pass when a
`calc()`, `min()`, `max()` and `clamp()` function is used in the
arbitrary value.
- In ambiguous cases, you can use data type labels to mark the type of a
class. [Read
more](https://github.com/dcastil/tailwind-merge/blob/v1.14.0/docs/features.md#supports-arbitrary-values)
- Moreover, I removed the check where the type of the arbitrary value is
unambiguous. In the class `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 like `mt-[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

- Fix `col-span-full` class missing in default config by
[@&#8203;dcastil](https://github.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/267](https://github.com/dcastil/tailwind-merge/pull/267)
- Fix arbitrary value with no present length unit not being recognized
by [@&#8203;dcastil](https://github.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/263](https://github.com/dcastil/tailwind-merge/pull/263)

##### Documentation

- Add missing info about where to call config functions to docs by
[@&#8203;dcastil](https://github.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/264](https://github.com/dcastil/tailwind-merge/pull/264)

**Full Changelog**:
dcastil/tailwind-merge@v1.13.2...v1.14.0

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/xkrishguptaa/dapp-study-resources).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44LjExIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
  • Loading branch information
kkrishguptaa authored Aug 7, 2023
2 parents f582046 + c5c3107 commit 6785364
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2465,9 +2465,9 @@ synckit@^0.8.5:
tslib "^2.5.0"

tailwind-merge@^1.13.2:
version "1.13.2"
resolved "https://registry.yarnpkg.com/tailwind-merge/-/tailwind-merge-1.13.2.tgz#1d06c9e95ffda2320efc50ed33c65be0cda23091"
integrity sha512-R2/nULkdg1VR/EL4RXg4dEohdoxNUJGLMnWIQnPKL+O9Twu7Cn3Rxi4dlXkDzZrEGtR+G+psSXFouWlpTyLhCQ==
version "1.14.0"
resolved "https://registry.yarnpkg.com/tailwind-merge/-/tailwind-merge-1.14.0.tgz#e677f55d864edc6794562c63f5001f45093cdb8b"
integrity sha512-3mFKyCo/MBcgyOTlrY8T7odzZFx+w+qKSMAmdFzRvqBfLlSigU6TZnlFHK0lkMwj9Bj8OYU+9yW9lmGuS0QEnQ==

tailwindcss-animate@^1.0.6:
version "1.0.6"
Expand Down

0 comments on commit 6785364

Please sign in to comment.