fix(deps): update dependency tailwindcss to v3
This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| tailwindcss (source) | 2.2.19 -> 3.4.3 |
Release Notes
tailwindlabs/tailwindcss
v3.4.3
Fixed
- Revert changes to glob handling (#13384)
v3.4.2
Fixed
- Ensure max specificity of
0,0,1for button and input Preflight rules (#12735) - Improve glob handling for folders with
(,),[or]in the file path (#12715) - Split
:hasrules when usingexperimental.optimizeUniversalDefaults(#12736) - Sort arbitrary properties alphabetically across multiple class lists (#12911)
- Add
mix-blend-plus-darkerutility (#12923) - Ensure dashes are allowed in variant modifiers (#13303)
- Fix crash showing completions in Intellisense when using a custom separator (#13306)
- Transpile
import.meta.urlin config files (#13322) - Reset letter spacing for form elements (#13150)
- Fix missing
xx-largeand remove doublex-largeabsolute size (#13324) - Don't error when encountering nested CSS unless trying to
@applya class that uses nesting (#13325) - Ensure that arbitrary properties respect
importantconfiguration (#13353) - Change dark mode selector so
@applyworks correctly with pseudo elements (#13379)
v3.4.1
Fixed
- Don't remove keyframe stops when using important utilities (#12639)
- Don't add spaces to gradients and grid track names when followed by
calc()(#12704) - Restore old behavior for
classdark mode strategy (#12717)
Added
- Add new
selectorandvariantstrategies for dark mode (#12717)
Changed
- Support
rtlandltrvariants on same element asdirattribute (#12717)
v3.4.0
Tailwind CSS v3.4 has arrived! Check out the announcement post for a guided tour through all of the highlights.
Added
- Add
svh,lvh, anddvhvalues to defaultheight/min-height/max-heighttheme (#11317) - Add
has-*variants for:has(...)pseudo-class (#11318) - Add
text-wraputilities includingtext-balanceandtext-pretty(#11320, #12031) - Extend default
opacityscale to include all steps of 5 (#11832) - Update Preflight
htmlstyles to include shadow DOM:hostpseudo-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-*, andmax-w-*utilities (#12300) - Add
forced-color-adjustutilities (#11931) - Add
forced-colorsvariant (#11694, #12582) - Add
appearance-autoutility (#12404) - Add logical property values for
floatandclearutilities (#12480) - Add
*variant for targeting direct children (#12551)
Changed
- Simplify the
sansfont-family stack (#11748) - Disable the tap highlight overlay on iOS (#12299)
- Improve relative precedence of
rtl,ltr,forced-colors, anddarkvariants (#12584)
v3.3.7
Fixed
- Fix support for container query utilities with arbitrary values (#12534)
- Fix custom config loading in Standalone CLI (#12616)
v3.3.6
Fixed
- Don’t add spaces to negative numbers following a comma (#12324)
- Don't emit
@configin CSS when watching via the CLI (#12327) - Improve types for
resolveConfig(#12272) - Ensure configured
font-feature-settingsformonoare included in Preflight (#12342) - Improve candidate detection in minified JS arrays (without spaces) (#12396)
- Don't crash when given applying a variant to a negated version of a simple utility (#12514)
- Fix support for slashes in arbitrary modifiers (#12515)
- Fix source maps of variant utilities that come from an
@layerrule (#12508) - Fix loading of built-in plugins when using an ESM or TypeScript config with the Standalone CLI (#12506)
v3.3.5
Fixed
- Fix incorrect spaces around
-incalc()expression (#12283)
v3.3.4
Fixed
- Improve normalisation of
calc()-like functions (#11686) - Skip
calc()normalisation in nestedtheme()calls (#11705) - Fix incorrectly generated CSS when using square brackets inside arbitrary properties (#11709)
- Make
contentoptional for presets in TypeScript types (#11730) - Handle variable colors that have variable fallback values (#12049)
- Batch reading content files to prevent
too many open fileserror (#12079) - Skip over classes inside
:not(…)when nested in an at-rule (#12105) - Update types to work with
Node16module resolution (#12097) - Don’t crash when important and parent selectors are equal in
@apply(#12112) - Eliminate irrelevant rules when applying variants (#12113)
- Improve RegEx parser, reduce possibilities as the key for arbitrary properties (#12121)
- Fix sorting of utilities that share multiple candidates (#12173)
- Ensure variants with arbitrary values and a modifier are correctly matched in the RegEx based parser (#12179)
- Fix crash when watching renamed files on FreeBSD (#12193)
- Allow plugins from a parent document to be used in an iframe (#12208)
- Add types for
tailwindcss/nesting(#12269) - Bump
jiti,fast-glob, andbrowserlistdependencies (#11550) - Improve automatic
varinjection for properties that accept a<dashed-ident>(#12236)
v3.3.3
Fixed
- Fix issue where some pseudo-element variants generated the wrong selector (#10943, #10962, #11111)
- Make font settings propagate into buttons, inputs, etc. (#10940)
- Fix parsing of
theme()insidecalc()when there are no spaces around operators (#11157) - Ensure
repeating-conic-gradientis detected as an image (#11180) - Move unknown pseudo-elements outside of
:isby default (#11345) - Escape animation names when prefixes contain special characters (#11470)
- Don't prefix arbitrary classes in
groupandpeervariants (#11454) - Sort classes using position of first matching rule (#11504)
- Allow variant to be an at-rule without a prelude (#11589)
- Make PostCSS plugin async to improve performance (#11548)
- Don’t error when a config file is missing (f97759f)
Added
- Add
aria-busyutility (#10966)
Changed
- Reset padding for
<dialog>elements in preflight (#11069)
v3.3.2
Fixed
- Don’t move unknown pseudo-elements to the end of selectors (#10943, #10962)
- Inherit gradient stop positions when using variants (#11002)
- Honor default
toposition of gradient when using implicit transparent colors (#11002) - Ensure
@tailwindcss/oxidedoesn't leak in the stable engine (#10988) - Ensure multiple
theme(spacing[5])calls with bracket notation in arbitrary properties work (#11039) - Normalize arbitrary modifiers (#11057)
Changed
- Drop support for Node.js v12 (#11089)
v3.3.1
Fixed
- Fix edge case bug when loading a TypeScript config file with webpack (#10898)
- Fix variant,
@apply, andimportantselectors when using:is()or:has()with pseudo-elements (#10903) - Fix
safelistconfig types (#10901) - Fix build errors caused by
@tailwindcss/line-clampwarning (#10915, #10919) - Fix "process is not defined" error (#10919)
v3.3.0
Tailwind CSS v3.3 is here! Check out the announcement post for a deep dive into all of the cool new stuff.
Added
- Support ESM and TypeScript config files (#10785)
- Extend default color palette with new 950 shades (#10879)
- Add
line-heightmodifier support tofont-sizeutilities (#9875) - Add support for using variables as arbitrary values without
var(...)(#9880, #9962) - Add logical properties support for inline direction (#10166)
- Add
hyphensutilities (#10071) - Add
from-{position},via-{position}andto-{position}utilities (#10886) - Add
list-style-imageutilities (#10817) - Add
caption-sideutilities (#10470) - Add
line-clamputilities from@tailwindcss/line-clampto core (#10768, #10876, #10862) - Add
delay-0andduration-0utilities (#10294) - Add
justify-normalandjustify-stretchutilities (#10560) - Add
content-normalandcontent-stretchutilities (#10645) - Add
whitespace-break-spacesutility (#10729) - Add support for configuring default
font-variation-settingsfor afont-family(#10034, #10515)
Fixed
- Disallow using multiple selectors in arbitrary variants (#10655)
- Sort class lists deterministically for Prettier plugin (#10672)
- Ensure CLI builds have a non-zero exit code on failure (#10703)
- Ensure module dependencies for value
null, is an emptySet(#10877) - Fix format assumption when resolving module dependencies (#10878)
Changed
- Mark
rtlandltrvariants as stable and remove warnings (#10764) - Use
insetinstead oftop,right,bottom, andleftproperties (#10765) - Make
darkandrtl/ltrvariants insensitive to DOM order (#10766) - Use
:isto make important selector option insensitive to DOM order (#10835)
v3.2.7
Fixed
- Fix use of
:where(.btn)when matching!btn(#10601) - Revert including
outline-colorintransitionandtransition-colorsby default (#10604)
v3.2.6
Fixed
- Fix installation failing with yarn and pnpm by dropping
oxide-api-shim(add1636)
v3.2.5
Added
- Add standalone CLI build for 64-bit Windows on ARM (
node16-win-arm64) (#10001)
Fixed
- Cleanup unused
variantOrder(#9829) - Fix
foo-[abc]/[def]not being handled correctly (#9866) - Add container queries plugin to standalone CLI (#9865)
- Support renaming of output files by PostCSS plugins in CLI (#9944)
- Improve return value of
resolveConfig, unwrapResolvableTo(#9972) - Clip unbalanced brackets in arbitrary values (#9973)
- Don’t reorder webkit scrollbar pseudo elements (#9991)
- Deterministic sorting of arbitrary variants (#10016)
- Add
datakey to theme types (#10023) - Prevent invalid arbitrary variant selectors from failing the build (#10059)
- Properly handle subtraction followed by a variable (#10074)
- Fix missing
string[]in thetheme.dropShadowtypes (#10072) - Update list of length units (#10100)
- Fix not matching arbitrary properties when closely followed by square brackets (#10212)
- Allow direct nesting in
rootor@layernodes (#10229) - Don't prefix classes in arbitrary variants (#10214)
- Fix perf regression when checking for changed content (#10234)
- Fix missing
blocklistmember in theConfigtype (#10239) - Escape group names in selectors (#10276)
- Consider earlier variants before sorting functions (#10288)
- Allow variants with slashes (#10336)
- Ensure generated CSS is always sorted in the same order for a given set of templates (#10382)
- Handle variants when the same class appears multiple times in a selector (#10397)
- Handle group/peer variants with quoted strings (#10400)
- Parse alpha value from rgba/hsla colors when using variables (#10429)
- Sort by
layerinsidevariantslayer (#10505) - Add
--watch=alwaysoption to prevent exit when stdin closes (#9966)
Changed
- Alphabetize
themekeys in default config (#9953) - Update esbuild to v17 (#10368)
- Include
outline-colorintransitionandtransition-colorsutilities (#10385)
v3.2.4
Added
- Add
blocklistoption to prevent generating unwanted CSS (#9812)
Fixed
- Fix watching of files on Linux when renames are involved (#9796)
- Make sure errors are always displayed when watching for changes (#9810)
v3.2.3
Fixed
- Fixed use of
rawcontent in the CLI (#9773) - Pick up changes from files that are both context and content deps (#9787)
- Sort pseudo-elements ONLY after classes when using variants and
@apply(#9765) - Support important utilities in the safelist (pattern must include a
!) (#9791)
v3.2.2
Fixed
- Escape special characters in resolved content base paths (#9650)
- Don't reuse container for array returning variant functions (#9644)
- Exclude non-relevant selectors when generating rules with the important modifier (#9677)
- Fix merging of arrays during config resolution (#9706)
- Ensure configured
font-feature-settingsare included in Preflight (#9707) - Fix fractional values not being parsed properly inside arbitrary properties (#9705)
- Fix incorrect selectors when using
@applyin selectors with combinators and pseudos (#9722) - Fix cannot read properties of undefined (reading 'modifier') (#9656, aa979d6)
v3.2.1
Fixed
- Fix missing
supportsin types (#9616) - Fix missing PostCSS dependencies in the CLI (#9617)
- Ensure
micromatchis a proper CLI dependency (#9620) - Ensure modifier values exist when using a
modifiersobject formatchVariant(ba6551d)
v3.2.0
We just released Tailwind CSS v3.2! Read the announcement post for more details about the most exciting new features.
Added
- Add new
@configdirective (#9405) - Add new
relative: trueoption to resolve content paths relative to the config file (#9396) - Add new
supports-*variant (#9453) - Add new
min-*andmax-*variants (#9558) - Add new
aria-*variants (#9557, #9588) - Add new
data-*variants (#9559, #9588) - Add new
break-keeputility forword-break: keep-all(#9393) - Add new
collapseutility forvisibility: collapse(#9181) - Add new
fill-noneutility forfill: none(#9403) - Add new
stroke-noneutility forstroke: none(#9403) - Add new
place-content-baselineutility forplace-content: baseline(#9498) - Add new
place-items-baselineutility forplace-items: baseline(#9507) - Add new
content-baselineutility foralign-content: baseline(#9507) - Add support for configuring default
font-feature-settingsfor a font family (#9039) - Add standalone CLI build for 32-bit Linux on ARM (
node16-linux-armv7) (#9084) - Add future flag to disable color opacity utility plugins (#9088)
- Add negative value support for
outline-offset(#9136) - Add support for modifiers to
matchUtilities(#9541) - Allow negating utilities using
min/max/clamp(#9237) - Implement fallback plugins when there is ambiguity between plugins when using arbitrary values (#9376)
- Support
sortfunction inmatchVariant(#9423) - Upgrade to
postcss-nestedv6.0 (#9546)
Fixed
- Use absolute paths when resolving changed files for resilience against working directory changes (#9032)
- Fix ring color utility generation when using
respectDefaultRingColorOpacity(#9070) - Sort tags before classes when
@apply-ing a selector with joined classes (#9107) - Remove invalid
outline-hiddenutility (#9147) - Honor the
hiddenattribute on elements in preflight (#9174) - Don't stop watching atomically renamed files (#9173, #9215)
- Fix duplicate utilities issue causing memory leaks (#9208)
- Fix
fontFamilyconfig TypeScript types (#9214) - Handle variants on complex selector utilities (#9262)
- Fix shared config mutation issue (#9294)
- Fix ordering of parallel variants (#9282)
- Handle variants in utility selectors using
:where()and:has()(#9309) - Improve data type analysis for arbitrary values (#9320)
- Don't emit generated utilities with invalid uses of theme functions (#9319)
- Revert change that only listened for stdin close on TTYs (#9331)
- Ignore unset values (like
nullorundefined) when resolving the classList for intellisense (#9385) - Improve type checking for formal syntax (#9349, #9448)
- Fix incorrect required
contentkey in custom plugin configs (#9502, #9545) - Fix content path detection on Windows (#9569)
- Ensure
--contentis used in the CLI when passed (#9587)
v3.1.8
Fixed
- Don’t prefix classes within reused arbitrary variants (#8992)
- Fix usage of alpha values inside single-named colors that are functions (#9008)
- Fix
@applyof user utilities when negative and non-negative versions both exist (#9027)
v3.1.7
Fixed
- Don't rewrite source maps for
@layerrules (#8971)
Added
- Added types for
resolveConfig(#8924)
v3.1.6
Fixed
v3.1.5
Added
- Support configuring a default
font-weightfor each font size utility (#8763) - Add support for alpha values in safe list (#8774)
Fixed
- Improve types to support fallback values in the CSS-in-JS syntax used in plugin APIs (#8762)
- Support including
tailwindcssandautoprefixerinpostcss.config.jsin standalone CLI (#8769) - Fix using special-characters as prefixes (#8772)
- Don’t prefix classes used within arbitrary variants (#8773)
- Add more explicit types for the default theme (#8780)
v3.1.4
Fixed
- Provide default to
<alpha-value>when usingtheme()(#8652) - Detect arbitrary variants with quotes (#8687)
- Don’t add spaces around raw
/that are preceded by numbers (#8688)
v3.1.3
Fixed
- Fix extraction of multi-word utilities with arbitrary values and quotes (#8604)
- Fix casing of import of
corePluginListtype definition (#8587) - Ignore PostCSS nodes returned by
addVariant(#8608) - Fix missing spaces around arithmetic operators (#8615)
- Detect alpha value in CSS
theme()function when using quotes (#8625) - Fix "Maximum call stack size exceeded" bug (#8636)
- Allow functions returning parallel variants to mutate the container (#8622)
- Remove text opacity CSS variables from
::marker(#8622)
v3.1.2
Fixed
- Ensure
\is a valid arbitrary variant token (#8576) - Enable
postcss-importin the CLI by default in watch mode (#8574, #8580)
v3.1.1
Fixed
- Fix candidate extractor regression (#8558)
- Split
::backdropinto separate defaults group (#8567) - Fix postcss plugin type (#8564)
- Fix class detection in markdown code fences and slim templates (#8569)
v3.1.0
We just released Tailwind CSS v3.1 — the first new feature release since v3.0 came out last year!
Read the announcement post for all the details, and watch the YouTube video for a tour of some of the highlights.
Added
- Support PostCSS
Documentnodes (#7291) - Add
text-startandtext-endutilities (#6656) - Support customizing class name when using
darkMode: 'class'(#5800) - Add
--polloption to the CLI (#7725) - Add new
border-spacingutilities (#7102) - Add
enabledvariant (#7905) - Add TypeScript types for the
tailwind.config.jsfile (#7891) - Add
backdropvariant (#7924, #8526) - Add
grid-flow-denseutility (#8193) - Add
mix-blend-plus-lighterutility (#8288) - Add arbitrary variants (#8299)
- Add experimental
matchVariantAPI (#8310, 34fd0fb8) - Add
prefers-contrastmedia query variants (#8410) - Add opacity support when referencing colors with
themefunction (#8416) - Add
postcss-importsupport to the CLI (#8437) - Add
optionalvariant (#8486) - Add
<alpha-value>placeholder support for custom colors (#8501)
Fixed
- Types: allow for arbitrary theme values (for 3rd party plugins) (#7926)
- Don’t split vars with numbers in them inside arbitrary values (#8091)
- Require matching prefix when detecting negatives (#8121)
- Handle duplicate At Rules without children (#8122)
- Allow arbitrary values with commas in
@apply(#8125) - Fix intellisense for plugins with multiple
@applyrules (#8213) - Improve type detection for arbitrary color values (#8201)
- Support PostCSS config options in config file in CLI (#8226)
- Remove default
[hidden]style in preflight (#8248) - Only check selectors containing base apply candidates for circular dependencies (#8222)
- Rewrite default class extractor (#8204)
- Move
importantselector to the front when@apply-ing selector-modifying variants in custom utilities (#8313) - Error when registering an invalid custom variant (#8345)
- Create tailwind.config.cjs file in ESM package when running init (#8363)
- Fix
matchVariantsthat use at-rules and placeholders (#8392) - Improve types of the
tailwindcss/plugin(#8400) - Allow returning parallel variants from
addVariantormatchVariantcallback functions (#8455) - Try using local
postcssinstallation first in the CLI (#8270) - Allow default ring color to be a function (#7587)
- Don't inherit
tovalue from parent gradients (#8489) - Remove process dependency from log functions (#8530)
- Ensure we can use
@import 'tailwindcss/...'without node_modules (#8537)
Changed
- Only apply hover styles when supported (future) (#8394)
- Respect default ring color opacity (future) (#8448, 3f4005e)
v3.0.24
Fixed
- Prevent nesting plugin from breaking other plugins (#7563)
- Recursively collapse adjacent rules (#7565)
- Preserve source maps for generated CSS (#7588)
- Split box shadows on top-level commas only (#7479)
- Use local user CSS cache for
@apply(#7524) - Invalidate context when main CSS changes (#7626)
- Only add
!to selector class matching template candidate when using important modifier with multi-class selectors (#7664) - Correctly parse and prefix animation names with dots (#7163)
- Fix extraction from template literal/function with array (#7481)
- Don't output unparsable arbitrary values (#7789)
- Fix generation of
div:not(.foo)if.foois never defined (#7815) - Allow for custom properties in
rgb,rgba,hslandhslacolors (#7933) - Remove autoprefixer as explicit peer-dependency to avoid invalid warnings in situations where it isn't actually needed (#7949)
- Ensure the
percentagedata type is validated correctly (#8015)
Changed
- Replace
chalkwithpicocolors(#6039) - Replace
cosmiconfigwithlilconfig(#6039) - Update
cssnanoto avoid removing empty variables when minifying (#7818)
v3.0.23
Fixed
- Remove opacity variables from
:visitedpseudo class (#7458) - Support arbitrary values + calc + theme with quotes (#7462)
- Don't duplicate layer output when scanning content with variants + wildcards (#7478)
- Implement
getClassOrderinstead ofsortClassList(#7459)
v3.0.22
Fixed
- Temporarily move postcss to dependencies (#7424)
v3.0.21
Fixed
- Move prettier plugin to dev dependencies (#7418)
v3.0.20
Added
- Expose
context.sortClassList(classes)(#7412)
v3.0.19
Fixed
- Fix preflight border color fallback (#7288)
- Correctly parse shadow lengths without a leading zero (#7289)
- Don't crash when scanning extremely long class candidates (#7331)
- Use less hacky fix for URLs detected as custom properties (#7275)
- Correctly generate negative utilities when dash is before the prefix (#7295)
- Detect prefixed negative utilities in the safelist (#7295)
v3.0.18
Fixed
- Fix
@applyorder regression (inaddComponents,addUtilities, ...) (#7232) - Quick fix for incorrect arbitrary properties when using URLs (#7252)
v3.0.17
Fixed
- Remove false positive warning in CLI when using the
--contentoption (#7220)
v3.0.16
Fixed
- Ensure to transpile the PostCSS Nesting plugin (tailwindcss/nesting) (#7080)
- Improve various warnings (#7118)
- Fix grammatical mistake (cca5a38)
v3.0.15
Fixed
- Temporarily remove optional chaining in nesting plugin (#7077)
v3.0.14
Added
- Show warnings for invalid content config (#7065)
Fixed
- Only emit utility/component variants when those layers exist (#7066)
- Ensure nesting plugins can receive options (#7016)
v3.0.13
Fixed
- Fix consecutive builds with at apply producing different CSS (#6999)
v3.0.12
Fixed
- Allow use of falsy values in theme config (#6917)
- Ensure we can apply classes that are grouped with non-class selectors (#6922)
- Improve standalone CLI compatibility on Linux by switching to the
linuxstaticbuild target (#6914) - Ensure
@applyworks consistently with or without@layer(#6938) - Only emit defaults when using base layer (#6926)
- Emit plugin defaults regardless of usage (#6926)
- Move default border color back to preflight (#6926)
- Change
experimental.optimizeUniversalDefaultsto only work with@tailwind base(#6926)
v3.0.11
Fixed
- Preserve casing of CSS variables added by plugins (#6888)
- Ignore content paths that are passed in but don't actually exist (#6901)
- Revert change that applies Tailwind's defaults in isolated environments like CSS modules (9fdc391)
v3.0.10
Fixed
- Fix
@applyin files without@tailwinddirectives (#6580, #6875) - CLI: avoid unnecessary writes to output files (#6550)
Added
- Allow piping data into the CLI (#6876)
v3.0.9
Fixed
- Improve
DEBUGflag (#6797, #6804) - Ensure we can use
<and>characters in modifiers (#6851) - Validate
theme()works in arbitrary values (#6852) - Properly detect
theme()value usage in arbitrary properties (#6854) - Improve collapsing of duplicate declarations (#6856)
- Remove support for
TAILWIND_MODE=watch(#6858)
v3.0.8
Fixed
- Reduce specificity of
abbrrule in preflight (#6671) - Support HSL with hue units in arbitrary values (#6726)
- Add
node16-linux-arm64target for standalone CLI (#6693)
v3.0.7
Fixed
- Don't mutate custom color palette when overriding per-plugin colors (#6546)
- Improve circular dependency detection when using
@apply(#6588) - Only generate variants for non-
userlayers (#6589) - Properly extract classes with arbitrary values in arrays and classes followed by escaped quotes (#6590)
- Improve jsx interpolation candidate matching (#6593)
- Ensure
@applyof a rule inside an AtRule works (#6594)
v3.0.6
Fixed
- Support square bracket notation in paths (#6519)
- Ensure all plugins are executed for a given candidate (#6540)
v3.0.5
Fixed
- Revert: add
lito list-style reset (9777562d)
v3.0.4
Fixed
- Insert always-on defaults layer in correct spot (#6526)
v3.0.3
Added
- Warn about invalid globs in
content(#6449) - Add standalone tailwindcss CLI (#6506)
- Add
lito list-style reset (00f60e6)
Fixed
- Don't output unparsable values (#6469)
- Fix text decoration utilities from overriding the new text decoration color/style/thickness utilities when used with a modifier (#6378)
- Move defaults to their own always-on layer (#6500)
- Support negative values in safelist patterns (6480)
v3.0.2
Fixed
- Temporarily disable optimize universal defaults, fixes issue with transforms/filters/rings not being
@apply-able in CSS modules/Svelte components/Vue components (#6461)
v3.0.1
Fixed
- Ensure complex variants with multiple classes work (#6311)
- Re-add
defaultinterop to public available functions (#6348) - Detect circular dependencies when using
@apply(#6365) - Fix defaults optimization when vendor prefixes are involved (#6369)
v3.0.0
Tailwind CSS v3.0 is here — bringing incredible performance gains, huge workflow improvements, and a seriously ridiculous number of new features.
Read the announcement post for all the details.
Added
- Add colored box shadow utilities (#5979)
- Add native
aspect-ratioutilities (#5359) - Add
columnutilities (#5457) - Add
break-before,break-insideandbreak-afterutilities (#5530) - Add
text-indentutilities (#5449) - Add
text-decoration-{color/style/thickness/offset}utilities (#5760, #6004) - Add
outline-style,outline-color,outline-widthandoutline-offsetutilities (#5887) - Add
align-subandalign-supervertical-align utilities (#5486) - Add
accent-colorutilities (#5387) - Add
scroll-snaputilities (#5637) - Add
scroll-behaviorutilities (#5388) - Add
touch-actionutilities (#5603, #6115) - Add
flex-basisutilities (#5671) - Add
grow-*andshrink-*utilities, deprecateflex-grow-*andflex-shrink-*(#5733) - Add
border-xandborder-ywidth and color utilities (#5639) - Add
border-hiddenutility (#5485) - Add
overflow-clip,overflow-x-clipandoverflow-y-cliputilities (#5630) - Add
inheritto default color palette (#5597) - Add full color palette for
fill-*andstroke-*utilities (#5933) - Add
fit-contentvalues formin/max-width/heightutilities (#5638) - Add
min/max-contentvalues formin/max-heightutilities (#5729) - Add
will-changeutilities (#5448) - Add all standard
cursor-*values by default (#5734) - Add
printvariant for targeting printed media (#5885) - Add
placeholdervariant (#6106) - Add
filevariant for::file-selector-buttonpseudo element (#4936) - Add
[open]variant (#5627) - Add
portraitandlandscapevariants (#6046) - Add
menureset to preflight (#6213) - Add comprehensive "arbitrary value" support (#5568, #6233, #6259, #6258, #6283)
- Add "arbitrary properties" support (#6161)
- Add first-class negative value support (#5709, c48e629)
- Add new declarative
addVariantAPI (#5809)
Changed
- Remove AOT engine, make JIT the default (#5340)
- Enable extended color palette by default with updated color names (#5384)
- Rename
overflow-cliptotext-clipandoverflow-ellipsistotext-ellipsis(#5630) - Deprecate
decoration-sliceanddecoration-breakin favorbox-decoration-sliceandbox-decoration-break(#6004) - Move
vertical-alignvalues to config file instead of hard-coding (#5487) - Throw when trying to
@applythegroupclass (#4666) - Remove dependency on
modern-normalize, inline and consolidate with Preflight (#5358) - Remove
prefixas a function (#5829) - Don't use pointer cursor on disabled buttons by default (#5772)
- Set default content value in preflight instead of within each before/after utility (#5820)
- Preserve original color format when adding opacity whenever possible (#5154)
- Unify config callback helpers into single object (#5382)
Thanks to everyone who contributed to this release: @95jonpet, @AviAvinav, @DavydeVries, @DoctorDerek, @MatteoGauthier, @MichaelAllenWarner, @RobinMalfait, @TCatinaud, @adamwathan, @bradlc, @bytedance, @codytooker, @dance2die, @dcastil, @ericbf, @geshii, @hardfist, @htunnicliff, @iksaku, @innocenzi, @kwaa, @lukewarlow, @nifte, @reinink, @sachinraja, @seanpdoyle, @xiBread, @xzfd1010
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.