Skip to content
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

Add support for Tailwind CSS v3.4 #360

Merged
merged 11 commits into from
Dec 21, 2023

Conversation

dcastil
Copy link
Owner

@dcastil dcastil commented Dec 21, 2023

Closes #359

Changes to handle:

Added

  • Add svh, lvh, and dvh values to default height/min-height/max-height theme (#11317)
  • Add has-* variants for :has(...) pseudo-class (#11318)
  • Add text-wrap utilities including text-balance and text-pretty (#11320, #12031)
  • Extend default opacity scale to include all steps of 5 (#11832)
  • Update Preflight html styles to include shadow DOM :host pseudo-class (#11200)
  • Increase default values for grid-rows-* utilities from 1–6 to 1–12 (#12180)
  • Add size-* utilities (#12287)
  • Add utilities for CSS subgrid (#12298)
  • Add spacing scale to min-w-*, min-h-*, and max-w-* utilities (#12300)
  • Add forced-color-adjust utilities (#11931)
  • Add forced-colors variant (#11694, #12582)
  • Add appearance-auto utility (#12404)
  • Add logical property values for float and clear utilities (#12480)
  • Add * variant for targeting direct children (#12551)

Changed

  • Simplify the sans font-family stack (#11748)
  • Disable the tap highlight overlay on iOS (#12299)
  • Improve relative precedence of rtl, ltr, forced-colors, and dark variants (#12584)

Other

  • Update supported Tailwind CSS versions

@github-actions github-actions bot added the feature Is new feature label Dec 21, 2023
Copy link

github-actions bot commented Dec 21, 2023

size-limit report 📦

Path Size
dist/bundle-mjs.mjs 6.01 KB (+1.54% 🔺)
dist/bundle-cjs.js 6.13 KB (+0.86% 🔺)
dist/es5/bundle-mjs.mjs 6.23 KB (+1.05% 🔺)
dist/es5/bundle-cjs.js 6.43 KB (+0.72% 🔺)

@dcastil dcastil changed the title add support for svh, lvh and dvh` scale values Add support for Tailwind CSS v3.4 Dec 21, 2023
@dcastil dcastil marked this pull request as ready for review December 21, 2023 19:49
@dcastil dcastil merged commit a7e26a8 into main Dec 21, 2023
4 checks passed
@dcastil dcastil deleted the feature/359/add-support-for-tailwind-css-v3.4 branch December 21, 2023 19:51
Copy link

This was addressed in release v2.2.0.

diegohaz referenced this pull request in ariakit/ariakit Dec 24, 2023
[![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://togithub.com/dcastil/tailwind-merge) |
[`2.1.0` ->
`2.2.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.1.0/2.2.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/tailwind-merge/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tailwind-merge/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tailwind-merge/2.1.0/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tailwind-merge/2.1.0/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v2.2.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.2.0)

[Compare
Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.1.0...v2.2.0)

##### New Features

- Add support for Tailwind CSS v3.4 by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/360](https://togithub.com/dcastil/tailwind-merge/pull/360)

**Full Changelog**:
dcastil/tailwind-merge@v2.1.0...v2.2.0

Thanks to
[@&#8203;brandonmcconnell](https://togithub.com/brandonmcconnell),
[@&#8203;manavm1990](https://togithub.com/manavm1990),
[@&#8203;ErwinAI](https://togithub.com/ErwinAI) and
[@&#8203;langy](https://togithub.com/langy) for sponsoring
tailwind-merge! ❤️

</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/ariakit/ariakit).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in remcolakens/next-boilerplate Dec 25, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[eslint-plugin-prettier](https://togithub.com/prettier/eslint-plugin-prettier)
| [`5.1.0` ->
`5.1.2`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/5.1.0/5.1.2)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-prettier/5.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-prettier/5.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-prettier/5.1.0/5.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-prettier/5.1.0/5.1.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [lucide-react](https://lucide.dev)
([source](https://togithub.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react))
| [`^0.299.0` ->
`^0.301.0`](https://renovatebot.com/diffs/npm/lucide-react/0.299.0/0.301.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/lucide-react/0.301.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/lucide-react/0.301.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/lucide-react/0.299.0/0.301.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/lucide-react/0.299.0/0.301.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [shadcn-ui](https://togithub.com/shadcn/ui)
([source](https://togithub.com/shadcn/ui/tree/HEAD/packages/cli)) |
[`^0.4.1` ->
`^0.5.0`](https://renovatebot.com/diffs/npm/shadcn-ui/0.4.1/0.5.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/shadcn-ui/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/shadcn-ui/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/shadcn-ui/0.4.1/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/shadcn-ui/0.4.1/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [tailwind-merge](https://togithub.com/dcastil/tailwind-merge) |
[`^2.1.0` ->
`^2.2.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.1.0/2.2.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/tailwind-merge/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tailwind-merge/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tailwind-merge/2.1.0/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tailwind-merge/2.1.0/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>prettier/eslint-plugin-prettier
(eslint-plugin-prettier)</summary>

###
[`v5.1.2`](https://togithub.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#512)

[Compare
Source](https://togithub.com/prettier/eslint-plugin-prettier/compare/v5.1.1...v5.1.2)

##### Patch Changes

-
[#&#8203;623](https://togithub.com/prettier/eslint-plugin-prettier/pull/623)
[`8210e44`](https://togithub.com/prettier/eslint-plugin-prettier/commit/8210e44309b168c7c06185eae8249b2d0eb65815)
Thanks [@&#8203;BPScott](https://togithub.com/BPScott)! - Add exports
mapping to package.json, to allow `import eslintPluginRecommended from
'eslint-plugin-prettier/recommended'` to work as expected.

Strictly speaking this is a breaking change as it removes the ability
for people to import from
"eslint-plugin-prettier/eslint-plugin-prettier.js" and
"eslint-plugin-prettier/recommended.js" but the former was never
recommended in the first place and the latter has only been available
for a few days.

-
[#&#8203;621](https://togithub.com/prettier/eslint-plugin-prettier/pull/621)
[`2b09e7f`](https://togithub.com/prettier/eslint-plugin-prettier/commit/2b09e7fc64f38297c8ca39d087dba1f122ef999c)
Thanks [@&#8203;JounQin](https://togithub.com/JounQin)! - feat: support
parsing `markdown` via `eslint-mdx` natively

###
[`v5.1.1`](https://togithub.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#511)

[Compare
Source](https://togithub.com/prettier/eslint-plugin-prettier/compare/v5.1.0...v5.1.1)

##### Patch Changes

-
[#&#8203;619](https://togithub.com/prettier/eslint-plugin-prettier/pull/619)
[`b5c0dc5`](https://togithub.com/prettier/eslint-plugin-prettier/commit/b5c0dc5715616a0f2a0da8b8c077434efc618a3e)
Thanks [@&#8203;JounQin](https://togithub.com/JounQin)! - chore: skip
formatting inline scripts in pug files

</details>

<details>
<summary>lucide-icons/lucide (lucide-react)</summary>

###
[`v0.301.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.301.0):
New icons 0.301.0

[Compare
Source](https://togithub.com/lucide-icons/lucide/compare/0.300.0...0.301.0)

#### New icons 🎨

- `a-arrow-down`
([#&#8203;1222](https://togithub.com/lucide-icons/lucide/issues/1222))
by [@&#8203;it-is-not](https://togithub.com/it-is-not)
- `a-arrow-up`
([#&#8203;1222](https://togithub.com/lucide-icons/lucide/issues/1222))
by [@&#8203;it-is-not](https://togithub.com/it-is-not)
- `a-large-small`
([#&#8203;1222](https://togithub.com/lucide-icons/lucide/issues/1222))
by [@&#8203;it-is-not](https://togithub.com/it-is-not)

#### Modified Icons 🔨

- `gavel`
([#&#8203;1744](https://togithub.com/lucide-icons/lucide/issues/1744))
by [@&#8203;jguddas](https://togithub.com/jguddas)

###
[`v0.300.0`](https://togithub.com/lucide-icons/lucide/releases/tag/0.300.0):
New icons 0.300.0

[Compare
Source](https://togithub.com/lucide-icons/lucide/compare/0.299.0...0.300.0)

#### New icons 🎨

- `cooking-pot`
([#&#8203;1737](https://togithub.com/lucide-icons/lucide/issues/1737))
by [@&#8203;ericfennis](https://togithub.com/ericfennis)

</details>

<details>
<summary>shadcn/ui (shadcn-ui)</summary>

###
[`v0.5.0`](https://togithub.com/shadcn/ui/blob/HEAD/packages/cli/CHANGELOG.md#050)

[Compare
Source](https://togithub.com/shadcn/ui/compare/shadcn-ui@0.4.1...shadcn-ui@0.5.0)

##### Minor Changes

- [#&#8203;770](https://togithub.com/shadcn-ui/ui/pull/770)
[`4fb98d5`](https://togithub.com/shadcn-ui/ui/commit/4fb98d520f2322f59bf2ae0bbbee706760df48a2)
Thanks [@&#8203;Bekacru](https://togithub.com/Bekacru)! - add support
for custom tailwind prefix

- [#&#8203;1247](https://togithub.com/shadcn-ui/ui/pull/1247)
[`4ec8a67`](https://togithub.com/shadcn-ui/ui/commit/4ec8a67dab94d0c2bcda2396d01174abee0991a0)
Thanks [@&#8203;lukahartwig](https://togithub.com/lukahartwig)! - add
support for tailwind.config.ts

##### Patch Changes

- [#&#8203;1707](https://togithub.com/shadcn-ui/ui/pull/1707)
[`46f247c`](https://togithub.com/shadcn-ui/ui/commit/46f247c47f87f771d98cc77bddb5697dac200de4)
Thanks [@&#8203;caiquecastro](https://togithub.com/caiquecastro)! - fix
code style

- [#&#8203;1696](https://togithub.com/shadcn-ui/ui/pull/1696)
[`5a13def`](https://togithub.com/shadcn-ui/ui/commit/5a13def46d9b91d19ad1bcab6cc2955007dfdf61)
Thanks [@&#8203;KMJ-007](https://togithub.com/KMJ-007)! - use jsconfig
for non-ts projects

</details>

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

###
[`v2.2.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.2.0)

[Compare
Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.1.0...v2.2.0)

##### New Features

- Add support for Tailwind CSS v3.4 by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/360](https://togithub.com/dcastil/tailwind-merge/pull/360)

**Full Changelog**:
dcastil/tailwind-merge@v2.1.0...v2.2.0

Thanks to
[@&#8203;brandonmcconnell](https://togithub.com/brandonmcconnell),
[@&#8203;manavm1990](https://togithub.com/manavm1990),
[@&#8203;ErwinAI](https://togithub.com/ErwinAI) and
[@&#8203;langy](https://togithub.com/langy) for sponsoring
tailwind-merge! ❤️

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
Europe/Amsterdam, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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/remcolakens/next-boilerplate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
sebald referenced this pull request in sebald/pattern-analyzer Jan 8, 2024
[![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://togithub.com/dcastil/tailwind-merge) |
[`2.0.0` ->
`2.2.0`](https://renovatebot.com/diffs/npm/tailwind-merge/2.0.0/2.2.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/tailwind-merge/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/tailwind-merge/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/tailwind-merge/2.0.0/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tailwind-merge/2.0.0/2.2.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v2.2.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.2.0)

[Compare
Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.1.0...v2.2.0)

##### New Features

- Add support for Tailwind CSS v3.4 by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/360](https://togithub.com/dcastil/tailwind-merge/pull/360)

**Full Changelog**:
dcastil/tailwind-merge@v2.1.0...v2.2.0

Thanks to
[@&#8203;brandonmcconnell](https://togithub.com/brandonmcconnell),
[@&#8203;manavm1990](https://togithub.com/manavm1990),
[@&#8203;ErwinAI](https://togithub.com/ErwinAI) and
[@&#8203;langy](https://togithub.com/langy) for sponsoring
tailwind-merge! ❤️

###
[`v2.1.0`](https://togithub.com/dcastil/tailwind-merge/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/dcastil/tailwind-merge/compare/v2.0.0...v2.1.0)

##### New Features

- Add `ClassValidator` type to package exports by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/348](https://togithub.com/dcastil/tailwind-merge/pull/348)

##### Bug Fixes

- Fix display class not removed when it precedes line-clamp class by
[@&#8203;dcastil](https://togithub.com/dcastil) in
[https://github.com/dcastil/tailwind-merge/pull/347](https://togithub.com/dcastil/tailwind-merge/pull/347)

##### Documentation

- Fix curly bracket typo in config docs by
[@&#8203;Kosai106](https://togithub.com/Kosai106) in
[https://github.com/dcastil/tailwind-merge/pull/349](https://togithub.com/dcastil/tailwind-merge/pull/349)

**Full Changelog**:
dcastil/tailwind-merge@v2.0.0...v2.1.0

Thanks to
[@&#8203;brandonmcconnell](https://togithub.com/brandonmcconnell),
[@&#8203;manavm1990](https://togithub.com/manavm1990),
[@&#8203;ErwinAI](https://togithub.com/ErwinAI) and
[@&#8203;langy](https://togithub.com/langy) for sponsoring
tailwind-merge! ❤️

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the
month" (UTC), 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.

---

- [ ] <!-- 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/sebald/pattern-analyzer).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@dcastil dcastil added the context-v2 Related to tailwind-merge v2 label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context-v2 Related to tailwind-merge v2 feature Is new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Tailwind 3.4's size-*
1 participant