fix(deps): update dependency tailwindcss to v3
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
tailwindcss (source) | 1.9.6 -> 3.0.15 |
Release Notes
tailwindlabs/tailwindcss
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
linuxstatic
build target (#6914) - Ensure
@apply
works 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.optimizeUniversalDefaults
to 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
@apply
in files without@tailwind
directives (#6580, #6875) - CLI: avoid unnecessary writes to output files (#6550)
Added
- Allow piping data into the CLI (#6876)
v3.0.9
Fixed
- Improve
DEBUG
flag (#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
abbr
rule in preflight (#6671) - Support HSL with hue units in arbitrary values (#6726)
- Add
node16-linux-arm64
target 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-
user
layers (#6589) - Properly extract classes with arbitrary values in arrays and classes followed by escaped quotes (#6590)
- Improve jsx interpolation candidate matching (#6593)
- Ensure
@apply
of 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
li
to 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
li
to 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
- Temporarily remove optional chaining in nesting plugin (#7077)
v3.0.0
Fixed
- Enforce the order of some variants (like
before
andafter
) (#6018)
Added
- Add
placeholder
variant (#6106) - Add composable
touch-action
utilities (#6115) - Add support for "arbitrary properties" (#6161)
- Add
portrait
andlandscape
variants (#6046) - Add
text-decoration-style
,text-decoration-thickness
, andtext-underline-offset
utilities (#6004) - Add
menu
reset to preflight (#6213) - Allow
0
as a validlength
value (#6233, #6259) - Add CSS functions to data types (#6258)
- Support negative values for
scale-*
utilities (c48e629) - Improve
length
data type, by validating each value individually (#6283)
Changed
- Deprecate
decoration-slice
anddecoration-break
in favorbox-decoration-slice
andbox-decoration-break
(non-breaking) (#6004)
v2.2.19
Fixed
- Ensure
corePlugins
order is consisent in AOT mode (#5928)
v2.2.18
Fixed
- Bump versions for security vulnerabilities (#5924)
v2.2.17
Fixed
- Configure chokidar's
awaitWriteFinish
setting to avoid occasional stale builds on Windows (#5758)
v2.2.16
Fixed
- JIT: Properly handle animations that use CSS custom properties (#5602)
v2.2.15
Fixed
- Ensure using CLI without
-i
for input file continues to work even though deprecated (#5464)
v2.2.14
Fixed
- Only use
@defaults
in JIT, switch back toclean-css
in case there's any meaningful differences in the output (bf248cb)
v2.2.13
Fixed
- Replace
clean-css
withcssnano
for CDN builds to fix minified builds (75cc3ca)
v2.2.12
Fixed
- Ensure that divide utilities inject a default border color (#5438)
v2.2.11
Fixed
- Rebundle to fix missing CLI peer dependencies
v2.2.10
Fixed
- Fix build error when using
presets: []
in config file (#4903)
Added
- Reintroduce universal selector optimizations under experimental
optimizeUniversalDefaults
flag (a9e160c)
v2.2.9
Fixed
- JIT: Fix
@apply
ing utilities that contain variants + the important modifier (#4854) - JIT: Don't strip "null" when parsing tracked file paths (#5008)
- Pin
clean-css
to v5.1.4 to fix empty CSS variables in CDN builds (#5338)
v2.2.8
Fixed
- Improve accessibility of default link focus styles in Firefox (#5082)
- JIT: Fix animation variants corrupting keyframes rules (#5223)
- JIT: Ignore escaped commas when splitting selectors to apply prefixes (#5239)
- Nesting: Maintain PostCSS node sources when handling
@apply
(#5249) - JIT: Fix support for animation lists (#5252)
- JIT: Fix arbitrary value support for
object-position
utilities (#5245) - CLI: Abort watcher if stdin is closed to avoid zombie processes (#4997)
- JIT: Ignore arbitrary values with unbalanced brackets (#5293)
v2.2.7
Fixed
- Temporarily revert runtime performance optimizations introduced in v2.2.5, use universal selector again (#5060)
v2.2.6
Fixed
- Fix issue where base styles not generated for translate transforms in JIT (#5038)
v2.2.5
Added
- Added
self-baseline
utility (I know this is a patch release, no one's going to die relax) (#5000)
Changed
-
JIT: Optimize universal selector usage by inlining only the relevant selectors (#4850))
This provides a very significant performance boost on pages with a huge number of DOM nodes, but there's a chance it could be a breaking change in very rare edge cases we haven't thought of. Please open an issue if anything related to shadows, rings, transforms, filters, or backdrop-filters seems to be behaving differently after upgrading.
Fixed
- Fix support for
step-start
andstep-end
in animation utilities (#4795)) - JIT: Prevent presence of
!*
in templates from ruining everything (#4816)) - JIT: Improve support for quotes in arbitrary values (#4817))
- Fix filter/backdrop-filter/transform utilities being inserted into the wrong position if not all core plugins are enabled (#4852))
- JIT: Fix
@layer
rules being mistakenly inserted during incremental rebuilds (#4853)) - Improve build performance for projects with many small non-Tailwind stylesheets (#4644)
- Ensure
[hidden]
works as expected on elements where we override the defaultdisplay
value in Preflight (#4873) - Fix variant configuration not being applied to
backdropOpacity
utilities (#4892)
v2.2.4
Fixed
- Remove
postinstall
script that was preventing people from installing the library (1eacfb9)
v2.2.3
Added
- Pass extended color palette to theme closures so it can be used without installing Tailwind when using
npx tailwindcss
(359252c)
Fixed
- JIT: Explicitly error when
-
is used as a custom separator (#4704) - JIT: Don't add multiple
~
when stackingpeer-*
variants (#4757) - Remove outdated focus style fix in Preflight (#4780)
- Enable
purge
if provided on the CLI (#4772) - JIT: Fix error when not using a config file with postcss-cli (#4773)
- Fix issue with
resolveConfig
not being importable in Next.js pags (#4725)
v2.2.2
Fixed
- JIT: Reintroduce
transform
,filter
, andbackdrop-filter
classes purely to create stacking contexts to minimize the impact of the breaking change (#4700)
v2.2.1
Fixed
- Ensure
corePlugins
order is consisent in AOT mode (#5928)
v2.2.0
Changed
-
JIT: Use "tracking" context by default instead of "watching" context for improved reliability with most bundlers (#4514)
Depending on which tooling you use, you may need to explicitly set
TAILWIND_MODE=watch
until your build runner has been updated to support PostCSS'sdir-dependency
message type.
Added
- Add
background-origin
utilities (#4117) - Improve
@apply
performance in projects that process many CSS sources (#3178) - JIT: Don't use CSS variables for color utilities if color opacity utilities are disabled (#3984)
- JIT: Redesign
matchUtilities
API to make it more suitable for third-party use (#4232) - JIT: Support applying important utility variants (#4260)
- JIT: Support coercing arbitrary values when the type isn't detectable (#4263)
- JIT: Support for
raw
syntax inpurge
config (#4272) - Add
empty
variant (#3298) - Update
modern-normalize
to v1.1 (#4287) - Implement
theme
function internally, removepostcss-functions
dependency (#4317) - Add
screen
function to improve nesting plugin compatibility (#4318) - JIT: Add universal shorthand color opacity syntax (#4348)
- JIT: Add
@tailwind variants
directive to replace@tailwind screens
(#4356) - JIT: Add support for PostCSS
dir-dependency
messages inTAILWIND_DISABLE_TOUCH
mode (#4388) - JIT: Add per-side border color utilities (#4404)
- JIT: Add support for
before
andafter
pseudo-element variants andcontent
utilities (#4461) - Add new
transform
andextract
APIs to simplify PurgeCSS/JIT customization (#4469) - JIT: Add exhaustive pseudo-class and pseudo-element variant support (#4482)
- JIT: Add
caret-color
utilities (#4499) - Rename
lightBlue
tosky
, emit console warning when using deprecated name (#4513) - New CLI with improved JIT support,
--watch
mode, and more (#4526, 4558) - JIT: Add new
peer-*
variants for styling based on sibling state (#4556) - Expose
safelist
as a top-level option underpurge
for both JIT and classic engines (#4580) - JIT: Remove need for
transform
class when using classes likescale-*
,rotate-*
, etc. (#4604) - JIT: Remove need for
filter
andbackdrop-filter
classes when using classes likecontrast-*
,backdrop-blur-*
, etc. (#4614) - Support passing a custom path for your PostCSS configuration in the Tailwind CLI (#4607)
- Add
blur-none
by default with intent to deprecateblur-0
(#4614)
Fixed
- JIT: Improve support for Svelte class bindings (#4187)
- JIT: Improve support for
calc
andvar
in arbitrary values (#4147) - Convert
hsl
colors tohsla
when transforming for opacity support instead ofrgba
(#3850) - Fix
backdropBlur
variants not being generated (#4188) - Improve animation value parsing (#4250)
- Ignore unknown object types when hashing config (82f4eaa)
- Ensure variants are grouped properly for plugins with order-dependent utilities (#4273)
- JIT: Fix temp file storage when node temp directories are kept on a different drive than the project itself (#4044)
- Support border-opacity utilities alongside default
border
utility (#4277) - JIT: Fix source maps for expanded
@tailwind
directives (2f15411) - JIT: Ignore whitespace when collapsing adjacent rules (15642fb)
- JIT: Generate group parent classes correctly when using custom separator (#4508)
- JIT: Fix incorrect stacking of multiple
group
variants (#4551) - JIT: Fix memory leak due to holding on to unused contexts (#4571)
Internals
- Add integration tests for popular build runners (#4354)
v2.1.4
Fixed
- Skip
raw
PurgeCSS sources when registering template dependencies (#4542)
v2.1.3
Fixed
- Register PurgeCSS paths as PostCSS dependencies to guarantee proper cache-busting in webpack 5 (#4530)
v2.1.2
Fixed
- Fix issue where JIT engine would generate the wrong CSS when using PostCSS 7 (#4078)
v2.1.1
Fixed
- Fix issue where JIT engine would fail to compile when a source path isn't provided by the build runner for the current input file (#3978)
v2.1.0
Added
- Add alternate JIT engine (in preview) (#3905)
- Add new
mix-blend-mode
andbackground-blend-mode
utilities (#3920) - Add new
box-decoration-break
utilities (#3911) - Add new
isolation
utilities (#3914) - Add
inline-table
display utility (#3563) - Add
list-item
display utility (#3929) - Add new
filter
andbackdrop-filter
utilities (#3923)
v2.0.4
Fixed
- Pass full
var(--bg-opacity)
value asopacityValue
when defining colors as functions
v2.0.3
Fixed
- Ensure sourcemap input is deterministic when using
@apply
in Vue components (#3356) - Ensure placeholder opacity is consistent across browsers (#3308)
- Fix issue where
theme()
didn't work with colors defined as functions (#2919) - Enable
dark
variants by default for color opacity utilities (#2975)
Added
- Add support for a
tailwind.config.cjs
file in Node ESM projects (#3181) - Add version comment to Preflight (#3255)
- Add
cursor-help
by default (#3199)
v2.0.2
Fixed
- Fix issue with
@apply
not working as expected with!important
inside an atrule (#2824) - Fix issue with
@apply
not working as expected with defined classes (#2832) - Fix memory leak, and broken
@apply
when splitting up files (#3032)
Added
- Add default values for the
ring
utility (#2951)
v2.0.1
- Nothing, just the only thing I could do when I found out npm won't let me publish the same version under two tags.
v2.0.0
Added
- Add redesigned color palette (#2623, 700866c, #2633)
- Add dark mode support (#2279, #2631)
- Add
overflow-ellipsis
andoverflow-clip
utilities (#1289) - Add
transform-gpu
to force hardware acceleration on transforms when desired (#1380) - Extend default spacing scale (#2630, 7f05204)
- Add spacing scale to
inset
plugin (#2630) - Add percentage sizes to
translate
,inset
, andheight
plugins (#2630, 5259560) - Extend default font size scale (#2609, #2619)
- Support using
@apply
with complex classes, including variants likelg:hover:bg-blue-500
(#2159) - Add new
2xl
breakpoint at 1536px by default (#2609) - Add default line-height values for font-size utilities (#2609)
- Support defining theme values using arrays for CSS properties that support comma separated values (e13f083c4)
- Enable
group-hover
for color plugins,boxShadow
, andtextDecoration
by default (28985b6, f6923b1) - Enable
focus
for z-index utilities by default (ae5b3d3) - Support
extend
invariants
configuration (#2651) - Add
max-w-prose
class by default (#2574) - Support flattening deeply nested color objects (#2148)
- Support defining presets as functions (#2680)
- Support deep merging of objects under
extend
(#2679, #2700) - Enable
focus-within
for all plugins that havefocus
enabled by default (1a21f072, f6923b1) - Added new
ring
utilities for creating outline/focus rings using box shadows (#2747, 879f088, e0788ef) - Added
5
and95
to opacity scale (#2747) - Add support for default duration and timing function values whenever enabling transitions (#2755)
Changed
- Completely redesign color palette (#2623, 700866c, #2633)
- Drop support for Node 8 and 10 (#2582)
- Removed
target
feature and dropped any compatibility with IE 11 (#2571) - Upgrade to PostCSS 8 (but include PostCSS 7 compatibility build) (729b400, 1d8679d, c238ed1)
- Removed
shadow-outline
,shadow-solid
, andshadow-xs
by default in favor of newring
API (#2747) - Switch
normalize.css
tomodern-normalize
(#2572) - Rename
whitespace-no-wrap
towhitespace-nowrap
(#2664) - Rename
flex-no-wrap
toflex-nowrap
(#2676) - Remove
clearfix
utility, recommendflow-root
instead (#2766) - Disable
hover
andfocus
forfontWeight
utilities by default (f6923b1) - Remove
grid-gap
fallbacks needed for old versions of Safari (5ec45fa) - Change special use of 'default' in config to 'DEFAULT' (#2580)
- New
@apply
implementation, slight backwards incompatibilities with previous behavior (#2159) - Make
theme
retrieve the expected resolved value when theme value is complex (e13f083c4) - Move
truncate
class totextOverflow
core plugin (#2562) - Remove
scrolling-touch
andscrolling-auto
utilities (#2573) - Modernize default system font stacks (#1711)
- Upgrade to PurgeCSS 3.0 (8e4e0a0)
- Change default
text-6xl
font-size to 3.75rem instead of 4rem (#2619) - Ignore
[hidden]
elements withinspace
anddivide
utilities instead oftemplate
elements (#2642) - Automatically prefix keyframes and animation names when a prefix is configured (#2621, #2641)
- Merge
extend
objects deeply by default (#2679) - Respect
preserveHtmlElements
option even when using custom PurgeCSS extractor (#2704) - Namespace all internal custom properties under
tw-
to avoid collisions with end-user custom properties (#2771)
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.