Bumps @tailwindcss/vite from 4.2.2 to 4.3.0.
Release notes
Sourced from @tailwindcss/vite's releases.
v4.3.0
Added
- Add
@container-size utility (#18901)
- Add
scrollbar-{auto,thin,none} utilities for scrollbar-width, and scrollbar-thumb-* / scrollbar-track-* color utilities for scrollbar-color (#19981, #20019)
- Add
scrollbar-gutter-* utilities (#20018)
- Add
zoom-* utilities (#20020)
- Add
tab-* utilities (#20022)
- Allow using
@variant with stacked variants (e.g. @variant hover:focus { ... }) (#19996)
- Allow using
@variant with compound variants (e.g. @variant hover, focus { ... }) (#19996)
- Support
--default(...) in --value(...) and --modifier(...) for functional @utility definitions (#19989)
Fixed
- Ensure
@plugin resolves package JavaScript entries instead of browser CSS entries when using @tailwindcss/vite (#19949)
- Fix relative
@import and @plugin paths resolving from the wrong directory when using @tailwindcss/vite (#19965)
- Ensure CSS files containing
@variant are processed by @tailwindcss/vite (#19966)
- Resolve imports relative to
base when result.opts.from is not provided when using @tailwindcss/postcss (#19980)
- Canonicalization: preserve significant
_ whitespace in arbitrary values (#19986)
- Canonicalization: add parentheses when removing whitespace from arbitrary values would hurt readability (e.g.
w-[calc(100%---spacing(60))] → w-[calc(100%-(--spacing(60)))]) (#19986)
- Canonicalization: preserve the original unit in arbitrary values instead of normalizing to base units (e.g.
-mt-[20in] → mt-[-20in], not mt-[-1920px]) (#19988)
- Canonicalization: migrate arbitrary
:has() variants from [&:has(...)] to has-[...] (#19991)
- Upgrade: don’t migrate inline
style attributes (e.g. style="flex-grow: 1" → style="flex-grow: 1", not style="grow: 1") (#19918)
- Allow multiple
@utility definitions with the same name but different value types (#19777)
- Export missing
PluginWithConfig type from tailwindcss/plugin to fix errors when inferring plugin config types (#19707)
- Ensure
start and end legacy utilities without values do not generate CSS (#20003)
- Ensure
--value(...) is required in functional @utility definitions (#20005)
- Canonicalization: preserve required whitespace around operators in negated arbitrary values (e.g.
-left-[(var(--a)+var(--b))]) (#20011)
v4.2.4
Fixed
- Ensure imports in
@import and @plugin still resolve correctly when using Vite aliases in @tailwindcss/vite (#19947)
v4.2.3
Fixed
- Canonicalization: improve canonicalizations for
tracking-* utilities by preferring non-negative utilities (e.g. -tracking-tighter → tracking-wider) (#19827)
- Fix crash due to invalid characters in candidate (exceeding valid unicode code point range) (#19829)
- Ensure query params in imports are considered unique resources when using
@tailwindcss/webpack (#19723)
- Canonicalization: collapse arbitrary values into shorthand utilities (e.g.
px-[1.2rem] py-[1.2rem] → p-[1.2rem]) (#19837)
- Canonicalization: collapse
border-{t,b}-* into border-y-*, border-{l,r}-* into border-x-*, and border-{t,r,b,l}-* into border-* (#19842)
- Canonicalization: collapse
scroll-m{t,b}-* into scroll-my-*, scroll-m{l,r}-* into scroll-mx-*, and scroll-m{t,r,b,l}-* into scroll-m-* (#19842)
- Canonicalization: collapse
scroll-p{t,b}-* into scroll-py-*, scroll-p{l,r}-* into scroll-px-*, and scroll-p{t,r,b,l}-* into scroll-p-* (#19842)
- Canonicalization: collapse
overflow-{x,y}-* into overflow-* (#19842)
- Canonicalization: collapse
overscroll-{x,y}-* into overscroll-* (#19842)
- Read from
--placeholder-color instead of --background-color for placeholder-* utilities (#19843)
- Upgrade: ensure files are not emptied out when killing the upgrade process while it's running (#19846)
- Upgrade: use
config.content when migrating from Tailwind CSS v3 to Tailwind CSS v4 (#19846)
- Upgrade: never migrate files that are ignored by git (#19846)
... (truncated)
Changelog
Sourced from @tailwindcss/vite's changelog.
[4.3.0] - 2026年05月08日
Added
- Add
@container-size utility (#18901)
- Add
scrollbar-{auto,thin,none} utilities for scrollbar-width, and scrollbar-thumb-* / scrollbar-track-* color utilities for scrollbar-color (#19981, #20019)
- Add
scrollbar-gutter-* utilities (#20018)
- Add
zoom-* utilities (#20020)
- Add
tab-* utilities (#20022)
- Allow using
@variant with stacked variants (e.g. @variant hover:focus { ... }) (#19996)
- Allow using
@variant with compound variants (e.g. @variant hover, focus { ... }) (#19996)
- Support
--default(...) in --value(...) and --modifier(...) for functional @utility definitions (#19989)
Fixed
- Ensure
@plugin resolves package JavaScript entries instead of browser CSS entries when using @tailwindcss/vite (#19949)
- Fix relative
@import and @plugin paths resolving from the wrong directory when using @tailwindcss/vite (#19965)
- Ensure CSS files containing
@variant are processed by @tailwindcss/vite (#19966)
- Resolve imports relative to
base when result.opts.from is not provided when using @tailwindcss/postcss (#19980)
- Canonicalization: preserve significant
_ whitespace in arbitrary values (#19986)
- Canonicalization: add parentheses when removing whitespace from arbitrary values would hurt readability (e.g.
w-[calc(100%---spacing(60))] → w-[calc(100%-(--spacing(60)))]) (#19986)
- Canonicalization: preserve the original unit in arbitrary values instead of normalizing to base units (e.g.
-mt-[20in] → mt-[-20in], not mt-[-1920px]) (#19988)
- Canonicalization: migrate arbitrary
:has() variants from [&:has(...)] to has-[...] (#19991)
- Upgrade: don’t migrate inline
style attributes (e.g. style="flex-grow: 1" → style="flex-grow: 1", not style="grow: 1") (#19918)
- Allow multiple
@utility definitions with the same name but different value types (#19777)
- Export missing
PluginWithConfig type from tailwindcss/plugin to fix errors when inferring plugin config types (#19707)
- Ensure
start and end legacy utilities without values do not generate CSS (#20003)
- Ensure
--value(...) is required in functional @utility definitions (#20005)
- Canonicalization: preserve required whitespace around operators in negated arbitrary values (e.g.
-left-[(var(--a)+var(--b))]) (#20011)
[4.2.4] - 2026年04月21日
Fixed
- Ensure imports in
@import and @plugin still resolve correctly when using Vite aliases in @tailwindcss/vite (#19947)
[4.2.3] - 2026年04月20日
Fixed
- Canonicalization: improve canonicalization for
tracking-* utilities by preferring non-negative utilities (e.g. -tracking-tighter → tracking-wider) (#19827)
- Fix crash due to invalid characters in candidate (exceeding valid unicode code point range) (#19829)
- Ensure query params in imports are considered unique resources when using
@tailwindcss/webpack (#19723)
- Canonicalization: collapse arbitrary values into shorthand utilities (e.g.
px-[1.2rem] py-[1.2rem] → p-[1.2rem]) (#19837)
- Canonicalization: collapse
border-{t,b}-* into border-y-*, border-{l,r}-* into border-x-*, and border-{t,r,b,l}-* into border-* (#19842)
- Canonicalization: collapse
scroll-m{t,b}-* into scroll-my-*, scroll-m{l,r}-* into scroll-mx-*, and scroll-m{t,r,b,l}-* into scroll-m-* (#19842)
- Canonicalization: collapse
scroll-p{t,b}-* into scroll-py-*, scroll-p{l,r}-* into scroll-px-*, and scroll-p{t,r,b,l}-* into scroll-p-* (#19842)
- Canonicalization: collapse
overflow-{x,y}-* into overflow-* (#19842)
- Canonicalization: collapse
overscroll-{x,y}-* into overscroll-* (#19842)
- Read from
--placeholder-color instead of --background-color for placeholder-* utilities (#19843)
... (truncated)
Commits
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for @tailwindcss/vite since your current version.
Dependabot compatibility score
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps @tailwindcss/vite from 4.2.2 to 4.3.0.
Release notes
Sourced from @tailwindcss/vite's releases.
... (truncated)
Changelog
Sourced from @tailwindcss/vite's changelog.
... (truncated)
Commits
588bd734.3.0 (#20023)d194d4cdocs: fix various typos in comments and documentation (#19878)db27049fix(@tailwindcss/vite): include@variantin feature detection (#19966)5a79990Always resolve relative files, relative to the current .css file (#19965)f3fdda2fix(vite): avoid resolving JS plugins to browser CSS entries (#19949)69ad7cc4.2.4 (#19948)685c19eFix issue around resolving paths in@tailwindcss/vite(#19947)2e3fa494.2.3 (#19944)5cb1efdfix(vite): resolve tsconfig paths in CSS and JS resolvers (#19803)Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for
@tailwindcss/vitesince your current version.Dependabot compatibility score
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)