Update dependency tailwindcss to v4 #12
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/tailwindcss-monorepo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^3.0.7
->^4.0.0
Release Notes
tailwindlabs/tailwindcss (tailwindcss)
v4.0.17
Compare Source
Fixed
v4.0.16
Compare Source
Added
--value('…')
and--modifier('…')
(#17304)Fixed
(
in Pug (#17320)@keyframes
for theme animations are emitted if they are referenced following a comma (#17352)Slim
templates embedded in Ruby files (#17336)--spacing(--value(integer, number))
is used (#17308)::-webkit-details-marker
pseudo tomarker
variant (#17362)v4.0.15
Compare Source
Fixed
-bg-conic-*
utilities (#17174)border-[12px_4px]
being interpreted as aborder-color
instead of aborder-width
(#17248)<template lang="…">
in Vue files (#17252)--value(…)
or--modifier(…)
calls don't delete subsequent declarations (#17273)(
in Slim (#17278)PluginUtils
fromtailwindcss/plugin
for compatibility with v3 (#17299)line-height: initial
from Preflight (#15212)Changed
--theme(…)
function now returns CSS variables from your theme variables unless used inside positions where CSS variables are invalid (e.g. inside@media
queries) (#17036)v4.0.14
Compare Source
Fixed
${
(#17142).
character (#17153)v4.0.13
Compare Source
Fixed
.node
and.wasm
files are not scanned for utilities (#17123)v4.0.12
Compare Source
Fixed
url(…)
rebasing in transitively imported CSS files (#16965)url(…)
s in imported CSS files (#16965)}
and{
are properly extracted (#17001)razor
/cshtml
pre-processing (#17027)v4.0.11
Compare Source
Fixed
--
are extracted correctly (#16972)[
are extracted in Slim templating language (#16985)v4.0.10
Compare Source
Added
col-<number>
androw-<number>
utilities forgrid-column
andgrid-row
(#15183)Fixed
not-*
does not remove:is(…)
from variants (#16825)@keyframes
are correctly emitted when using a prefix (#16850)@utility
declarations when@apply
is used in nested rules (#16940)outline-hidden
behaves likeoutline-none
outside of forced colors mode (#16943)!important
on CSS variables again (#16873).svg
file with#
or?
in the filename (#16957)Changed
max-w-auto
andmax-h-auto
utilities as they generate invalid CSS (#16917)v4.0.9
Compare Source
Fixed
.css
(#16780)@reference "…"
would sometimes omit keyframe animations (#16774)z-*!
utilities are properly marked as!important
(#16795)Changed
@reference "…"
instead of duplicate CSS variable declarations (#16774)v4.0.8
Compare Source
Added
@import
withtheme(…)
options for stylesheets that contain more than just@theme
rules (#16514)Fixed
!important
to CSS variable declarations when using the important modifier (#16668).gitignore
file when using automatic source detection(#16631)translate-z-px
utilities once in compiled CSS (#16718)Changed
v4.0.7
Compare Source
Fixed
tailwindcss/lib/util/flattenColorPalette.js
for backward compatibility (#16411)_
in suggested theme keys (#16433)--default-outline-width
can be used to change theoutline-width
value of theoutline
utility (#16469)tailwindcss/plugin
for backward compatibility (#16505)@tailwindcss/oxide
Windows builds (#16602)tailwindcss
in@tailwindcss/*
packages (#16623)darkMode
JS config setting with block syntax converts to use@slot
(#16507)tailwindcss
and@tailwindcss/postcss
are installed when upgrading (#16620)v4.0.6
Compare Source
Fixed
blur
toblur-sm
when used with Next.js<Image placeholder="blur" />
(#16405)v4.0.5
Compare Source
Added
@theme static
option for always including theme variables in compiled CSS (#16211)Fixed
console.log
from@tailwindcss/vite
(#16307)Changed
v4.0.4
Compare Source
Fixed
null
(#16210)containers
JS theme key is added to the--container-*
namespace (#16169)@keyframes
are generated even if an--animation-*
variable spans multiple lines (#16237)?commonjs-proxy
flag (#16238)order-first
andorder-last
for Firefox (#16266)NODE_PATH
is respected when resolving JavaScript and CSS files (#16274)@variant
inside a referenced stylesheet could cause a stack overflow (#16300)v4.0.3
Compare Source
Fixed
@import url();
(#16144)v4.0.2
Compare Source
Fixed
grid-cols-*
andgrid-rows-*
utilities (#16020)@reference
or@variant
(#16057)<style>
blocks in HTML files (#16069)@keyframes
in@theme reference
(#16120)@variant
when at the top-level of a stylesheet (#16129)v4.0.1
Compare Source
Fixed
v4.0.0
Compare Source
Added
@property
, andcolor-mix()
.color-scheme
,field-sizing
, complex shadows,inert
, and more.Start using Tailwind CSS v4.0 today by installing it in a new project, or playing with it directly in the browser on Tailwind Play.
For existing projects, we've published a comprehensive upgrade guide and built an automated upgrade tool to get you on the latest version as quickly and painlessly as possible.
For a deep-dive into everything that's new, check out the announcement post.
v3.4.17
Compare Source
Fixed
v3.4.16
Compare Source
Fixed
PluginsConfig
allowundefined
values (#14668)v3.4.15
Compare Source
boxShadow
theme configuration allows arrays (#14856)selection:*
variant works in Chrome 131 (#15003)v3.4.14
Compare Source
Fixed
display: none
on elements that usehidden="until-found"
(#14625)v3.4.13
Compare Source
Fixed
v3.4.12
Compare Source
Fixed
@apply
with utilities that use@defaults
works with rules defined in the base layer when usingoptimizeUniversalDefaults
(#14427)v3.4.11
Compare Source
Fixed
anchor-size(…)
in arbitrary values (#14393)v3.4.10
Compare Source
Fixed
v3.4.9
Compare Source
Fixed
vendor
foldersv3.4.8
Compare Source
Fixed
v3.4.7
Compare Source
Fixed
data-*
andaria-*
modifiers are always quoted in the generated CSS (#14037)v3.4.6
Compare Source
Fixed
Changed
:is()
wrapping rules when using an important selector (#13900)v3.4.5
Compare Source
Fixed
var()
injection for anchor properties (#13826)blur(0px)
forbackdrop-blur-none
andblur-none
utilities (#13830).mts
and.cts
config file detection (#13940)px-1
unnecessarily when using utilities likepx-1.5
(#13959)-webkit-backdrop-filter
forbackdrop-*
utilities (#13997)v3.4.4
Compare Source
Fixed
<alpha-value>
placeholders in a single color definition (#13740)has-*
,group-has-*
, andpeer-has-*
variants (#13770){col,row}-{start,end}
utilities (#13781)v3.4.3
Compare Source
Fixed
v3.4.2
Compare Source
Fixed
0,0,1
for button and input Preflight rules (#12735)(
,)
,[
or]
in the file path (#12715):has
rules when usingexperimental.optimizeUniversalDefaults
(#12736)mix-blend-plus-darker
utility (#12923)import.meta.url
in config files (#13322)xx-large
and remove doublex-large
absolute size (#13324)@apply
a class that uses nesting (#13325)important
configuration (#13353)@apply
works correctly with pseudo elements (#13379)v3.4.1
Compare Source
Fixed
v3.4.0
Compare Source
Added
svh
,lvh
, anddvh
values to defaultheight
/min-height
/max-height
theme (#11317)has-*
variants for:has(...)
pseudo-class (#11318)text-wrap
utilities includingtext-balance
andtext-pretty
(#11320, #12031)opacity
scale to include all steps of 5 (#11832)html
styles to include shadow DOM:host
pseudo-class (#11200)grid-rows-*
utilities from 1–6 to 1–12 (#12180)size-*
utilities (#12287)min-w-*
,min-h-*
, andmax-w-*
utilities (#12300)forced-color-adjust
utilities (#11931)forced-colors
variant (#11694, #12582)appearance-auto
utility (#12404)float
andclear
utilities (#12480)*
variant for targeting direct children (#12551)Changed
sans
font-family stack (#11748)rtl
,ltr
,forced-colors
, anddark
variants (#12584)v3.3.7
Compare Source
Fixed
v3.3.6
Compare Source
Fixed
@config
in CSS when watching via the CLI (#12327)resolveConfig
(#12272)font-feature-settings
formono
are included in Preflight (#12342)@layer
rule (#12508)v3.3.5
Compare Source
Fixed
-
incalc()
expression (#12283)v3.3.4
Compare Source
Fixed
calc()
-like functions (#11686)calc()
normalisation in nestedtheme()
calls (#11705)content
optional for presets in TypeScript types (#11730)too many open files
error (#12079):not(…)
when nested in an at-rule (#12105)Node16
module resolution (#12097)@apply
(#12112)tailwindcss/nesting
(#12269)jiti
,fast-glob
, andbrowserlist
dependencies (#11550)var
injection for properties that accept a<dashed-ident>
(#12236)v3.3.3
Compare Source
Fixed
theme()
insidecalc()
when there are no spaces around operators (#11157)repeating-conic-gradient
is detected as an image (#11180):is
by default (#11345)group
andpeer
variants (#11454)Added
aria-busy
utility (#10966)Changed
<dialog>
elements in preflight (#11069)v3.3.2
Compare Source
Fixed
to
position of gradient when using implicit transparent colors (#11002)@tailwindcss/oxide
doesn't leak in the stable engine (#10988)theme(spacing[5])
calls with bracket notation in arbitrary properties work (#11039)Changed
v3.3.1
Compare Source
Fixed
@apply
, andimportant
selectors when using:is()
or:has()
with pseudo-elements (#10903)safelist
config types (#10901)@tailwindcss/line-clamp
warning (#10915, #10919)v3.3.0
Compare Source
Added
line-height
modifier support tofont-size
utilities (#9875)var(...)
(#9880, #9962)hyphens
utilities (#10071)from-{position}
,via-{position}
andto-{position}
utilities (#10886)list-style-image
utilities (#10817)caption-side
utilities (#10470)line-clamp
utilities from@tailwindcss/line-clamp
to core (#10768, #10876, #10862)delay-0
andduration-0
utilities (#10294)justify-normal
andjustify-stretch
utilities (#10560)content-normal
andcontent-stretch
utilities (#10645)whitespace-break-spaces
utility (#10729)font-variation-settings
for afont-family
(#10034, #10515)Fixed
null
, is an emptySet
(#10877)Changed
rtl
andltr
variants as stable and remove warnings (#10764)inset
instead oftop
,right
,bottom
, andleft
properties (#10765)dark
andrtl
/ltr
variants insensitive to DOM order (#10766):is
to make important selector option insensitive to DOM order (#10835)v3.2.7
Compare Source
Fixed
:where(.btn)
when matching!btn
(#10601)outline-color
intransition
andtransition-colors
by default (#10604)v3.2.6
Compare Source
Fixed
oxide-api-shim
(add1636)v3.2.5
Compare Source
Added
node16-win-arm64
) (#10001)Fixed
variantOrder
(#9829)foo-[abc]/[def]
not being handled correctly (#9866)resolveConfig
, unwrapResolvableTo
(#9972)data
key to theme types (#10023)string[]
in thetheme.dropShadow
types (#10072)root
or@layer
nodes (#10229)blocklist
member in theConfig
type (#10239)layer
insidevariants
layer (#10505)--watch=always
option to prevent exit when stdin closes (#9966)Changed
theme
keys in default config (#9953)outline-color
intransition
andtransition-colors
utilities (#10385)v3.2.4
Compare Source
Added
blocklist
option to prevent generating unwanted CSS (#9812)Fixed
v3.2.3
Compare Source
Fixed
raw
content in the CLI (#9773)@apply
(#9765)!
) (#9791)v3.2.2
Compare Source
Fixed
font-feature-settings
are included in Preflight (#9707)@apply
in selectors with combinators and pseudos (#9722)v3.2.1
Compare Source
Fixed
supports
in types (#9616)micromatch
is a proper CLI dependency (#9620)modifiers
object formatchVariant
(ba6551d)v3.2.0
Compare Source
Added
@config
directive (#9405)relative: true
option to resolve content paths relative to the config file (#9396)supports-*
variant (#9453)min-*
andmax-*
variants (#9558)aria-*
variants (#9557, #9588)data-*
variants (#9559, #9588)break-keep
utility forword-break: keep-all
(#9393)collapse
utility forvisibility: collapse
(#9181)fill-none
utility forfill: none
(#9403)stroke-none
utility forstroke: none
(#9403)place-content-baseline
utility forplace-content: baseline
(#9498)place-items-baseline
utility forplace-items: baseline
(#9507)content-baseline
utility foralign-content: baseline
(#9507)font-feature-settings
for a font family (#9039)node16-linux-armv7
) (#9084)outline-offset
(#9136)matchUtilities
(#9541)min
/max
/clamp
(#9237)sort
function inmatchVariant
(#9423)postcss-nested
v6.0 (#9546)Fixed
respectDefaultRingColorOpacity
(#9070)@apply
-ing a selector with joined classes (#9107)outline-hidden
utility (#9147)hidden
attribute on elements in preflight (#9174)fontFamily
config TypeScript types (#9214):where()
and:has()
(#9309)null
orundefined
) when resolving the classList for intellisense (#9385)content
key in custom plugin configs (#9502, #9545)--content
is used in the CLI when passed (#9587)v3.1.8
Compare Source
Fixed
@apply
of user utilities when negative and non-negative versions both exist (#9027)v3.1.7
Compare Source
Fixed
@layer
rules (#8971)Added
resolveConfig
(#8924)v3.1.6
Compare Source
Fixed
theme()
in CSS (#8831)v3.1.5
Compare Source
Added
font-weight
for each font size utility (#8763)Fixed
tailwindcss
andautoprefixer
inpostcss.config.js
in standalone CLI (#8769)v3.1.4
Compare Source
Fixed
<alpha-value>
when usingtheme()
(#8652)/
that are preceded by numbers (#8688)v3.1.3
Compare Source
Fixed
corePluginList
type definition (#8587)addVariant
(#8608)theme()
function when using quotes (#8625)::marker
(#8622)v3.1.2
Compare Source
Fixed
\
is a valid arbitrary variant token (#8576)postcss-import
in the CLI by default in watch mode (#8574, #8580)v3.1.1
Compare Source
Fixed
::backdrop
into separate defaults group (#8567)v3.1.0
Compare Source
Fixed
@apply
(#8125)@apply
rules (#8213)[hidden]
style in preflight (#8248)important
selector to the front when@apply
-ing selector-modifying variants in custom utilities (#8313)matchVariant
that use at-rules and placeholders (#8392)tailwindcss/plugin
(#8400)addVariant
ormatchVariant
callback functions (#8455)postcss
installation first in the CLI (#8270)to
value from parent gradients (#8489)@import 'tailwindcss/...'
without node_modules (#8537)Changed
Added
Document
nodes (#7291)text-start
andtext-end
utilities (#6656)darkMode: 'class'
(#5800)--poll
option to the CLI (#7725)border-spacing
utilities (#7102)enabled
variant (#7905)tailwind.config.js
file (#7891)backdrop
variant (#7924, #8526)grid-flow-dense
utility (#8193)mix-blend-plus-lighter
utility (#8288)matchVariant
API (#8310, 34fd0fb8)prefers-contrast
media query variants (#8410)theme
function (#8416)postcss-import
support to the CLI (#8437)optional
variant (#8486)<alpha-value>
placeholder support for custom colors (#8501)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: pnpm-lock.yaml
Checkout
From your project repository, check out a new branch and test the changes.