Update dependency tailwindcss to v2
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| tailwindcss (source) | 0.7.4 -> 2.2.17 |
Release Notes
tailwindlabs/tailwindcss
v2.2.17
Fixed
- Configure chokidar's
awaitWriteFinishsetting 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
-ifor input file continues to work even though deprecated (#5464)
v2.2.14
Fixed
- Only use
@defaultsin JIT, switch back toclean-cssin case there's any meaningful differences in the output (bf248cb)
v2.2.13
Fixed
- Replace
clean-csswithcssnanofor 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
optimizeUniversalDefaultsflag (a9e160c)
v2.2.9
Fixed
- JIT: Fix
@applying utilities that contain variants + the important modifier (#4854) - JIT: Don't strip "null" when parsing tracked file paths (#5008)
- Pin
clean-cssto 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-positionutilities (#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-baselineutility (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-startandstep-endin 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
@layerrules 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 defaultdisplayvalue in Preflight (#4873) - Fix variant configuration not being applied to
backdropOpacityutilities (#4892)
v2.2.4
Fixed
- Remove
postinstallscript 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
purgeif provided on the CLI (#4772) - JIT: Fix error when not using a config file with postcss-cli (#4773)
- Fix issue with
resolveConfignot being importable in Next.js pags (#4725)
v2.2.2
Fixed
- JIT: Reintroduce
transform,filter, andbackdrop-filterclasses purely to create stacking contexts to minimize the impact of the breaking change (#4700)
v2.2.1
Fixed
- JIT: Properly handle animations that use CSS custom properties (#5602)
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=watchuntil your build runner has been updated to support PostCSS'sdir-dependencymessage type.
Added
- Add
background-originutilities (#4117) - Improve
@applyperformance 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
matchUtilitiesAPI 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
rawsyntax inpurgeconfig (#4272) - Add
emptyvariant (#3298) - Update
modern-normalizeto v1.1 (#4287) - Implement
themefunction internally, removepostcss-functionsdependency (#4317) - Add
screenfunction to improve nesting plugin compatibility (#4318) - JIT: Add universal shorthand color opacity syntax (#4348)
- JIT: Add
@tailwind variantsdirective to replace@tailwind screens(#4356) - JIT: Add support for PostCSS
dir-dependencymessages inTAILWIND_DISABLE_TOUCHmode (#4388) - JIT: Add per-side border color utilities (#4404)
- JIT: Add support for
beforeandafterpseudo-element variants andcontentutilities (#4461) - Add new
transformandextractAPIs to simplify PurgeCSS/JIT customization (#4469) - JIT: Add exhaustive pseudo-class and pseudo-element variant support (#4482)
- JIT: Add
caret-colorutilities (#4499) - Rename
lightBluetosky, emit console warning when using deprecated name (#4513) - New CLI with improved JIT support,
--watchmode, and more (#4526, 4558) - JIT: Add new
peer-*variants for styling based on sibling state (#4556) - Expose
safelistas a top-level option underpurgefor both JIT and classic engines (#4580) - JIT: Remove need for
transformclass when using classes likescale-*,rotate-*, etc. (#4604) - JIT: Remove need for
filterandbackdrop-filterclasses when using classes likecontrast-*,backdrop-blur-*, etc. (#4614) - Support passing a custom path for your PostCSS configuration in the Tailwind CLI (#4607)
- Add
blur-noneby default with intent to deprecateblur-0(#4614)
Fixed
- JIT: Improve support for Svelte class bindings (#4187)
- JIT: Improve support for
calcandvarin arbitrary values (#4147) - Convert
hslcolors tohslawhen transforming for opacity support instead ofrgba(#3850) - Fix
backdropBlurvariants 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
borderutility (#4277) - JIT: Fix source maps for expanded
@tailwinddirectives (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
groupvariants (#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
rawPurgeCSS 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-modeandbackground-blend-modeutilities (#3920) - Add new
box-decoration-breakutilities (#3911) - Add new
isolationutilities (#3914) - Add
inline-tabledisplay utility (#3563) - Add
list-itemdisplay utility (#3929) - Add new
filterandbackdrop-filterutilities (#3923)
v2.0.4
Fixed
- Pass full
var(--bg-opacity)value asopacityValuewhen defining colors as functions
v2.0.3
Fixed
- Ensure sourcemap input is deterministic when using
@applyin 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
darkvariants by default for color opacity utilities (#2975)
Added
- Add support for a
tailwind.config.cjsfile in Node ESM projects (#3181) - Add version comment to Preflight (#3255)
- Add
cursor-helpby default (#3199)
v2.0.2
Fixed
- Fix issue with
@applynot working as expected with!importantinside an atrule (#2824) - Fix issue with
@applynot working as expected with defined classes (#2832) - Fix memory leak, and broken
@applywhen splitting up files (#3032)
Added
- Add default values for the
ringutility (#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-ellipsisandoverflow-cliputilities (#1289) - Add
transform-gputo force hardware acceleration on transforms when desired (#1380) - Extend default spacing scale (#2630, 7f05204)
- Add spacing scale to
insetplugin (#2630) - Add percentage sizes to
translate,inset, andheightplugins (#2630, 5259560) - Extend default font size scale (#2609, #2619)
- Support using
@applywith complex classes, including variants likelg:hover:bg-blue-500(#2159) - Add new
2xlbreakpoint 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-hoverfor color plugins,boxShadow, andtextDecorationby default (28985b6, f6923b1) - Enable
focusfor z-index utilities by default (ae5b3d3) - Support
extendinvariantsconfiguration (#2651) - Add
max-w-proseclass 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-withinfor all plugins that havefocusenabled by default (1a21f072, f6923b1) - Added new
ringutilities for creating outline/focus rings using box shadows (#2747, 879f088, e0788ef) - Added
5and95to 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
targetfeature 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-xsby default in favor of newringAPI (#2747) - Switch
normalize.csstomodern-normalize(#2572) - Rename
whitespace-no-wraptowhitespace-nowrap(#2664) - Rename
flex-no-wraptoflex-nowrap(#2676) - Remove
clearfixutility, recommendflow-rootinstead (#2766) - Disable
hoverandfocusforfontWeightutilities by default (f6923b1) - Remove
grid-gapfallbacks needed for old versions of Safari (5ec45fa) - Change special use of 'default' in config to 'DEFAULT' (#2580)
- New
@applyimplementation, slight backwards incompatibilities with previous behavior (#2159) - Make
themeretrieve the expected resolved value when theme value is complex (e13f083c4) - Move
truncateclass totextOverflowcore plugin (#2562) - Remove
scrolling-touchandscrolling-autoutilities (#2573) - Modernize default system font stacks (#1711)
- Upgrade to PurgeCSS 3.0 (8e4e0a0)
- Change default
text-6xlfont-size to 3.75rem instead of 4rem (#2619) - Ignore
[hidden]elements withinspaceanddivideutilities instead oftemplateelements (#2642) - Automatically prefix keyframes and animation names when a prefix is configured (#2621, #2641)
- Merge
extendobjects deeply by default (#2679) - Respect
preserveHtmlElementsoption even when using custom PurgeCSS extractor (#2704) - Namespace all internal custom properties under
tw-to avoid collisions with end-user custom properties (#2771)
v1.9.6
Changed
-
The
presetsfeature had unexpected behavior where a preset config without its ownpresetskey would not extend the default config. (#2662)If you were depending on this unexpected behavior, just add
presets: []to your own preset to exclude the default configuration.
v1.9.5
Fixed
- Fix issue where using
themewith default line-heights did not resolve correctly
v1.9.4
Fixed
- Fix issue changing plugins defined using the
withOptionsAPI would not trigger rebuilds in watch processes
v1.9.3
Fixed
- Fix issue where
tailwindcss init --fullscaffolded a corrupt config file (https://github.com/tailwindlabs/tailwindcss/issues/2556)
Changed
- Remove console warnings about upcoming breaking changes
v1.9.2
Fixed
- Merge plugins when merging config with preset (#2561
- Use
word-wrapandoverflow-wraptogether, not one or the other sinceword-wrapis IE-only
v1.9.1
Fixed
- Don't import
corePluginsinresolveConfigto avoid bundling browser-incompatible code (#2548)
v1.9.0
Added
- Add new
presetsconfig option (#2474) - Scaffold new
tailwind.config.jsfiles with availablefutureflags commented out (#2379) - Add
col-span-fullandrow-span-full(#2471) - Make
outlineconfigurable,outline-nonemore accessible by default, and addoutline-blackandoutline-white(#2460) - Add additional small
rotateandskewvalues (#2528) - Add
xl,2xl, and3xlborder radius values (#2529) - Add new utilities for
grid-auto-columnsandgrid-auto-rows(#2531) - Promote
defaultLineHeightsandstandardFontWeightsfrom experimental to future
Fixed
- Don't escape keyframe values (#2432)
- Use
word-wrapinstead ofoverflow-wrapinie11target mode (#2391)
Experimental
- Add experimental
2xlbreakpoint (#2468) - Rename
{u}-max-contentand{u}-min-contentutilities to{u}-maxand{u}-minin experimental extended spacing scale (#2532) - Support disabling dark mode variants globally (#2530)
v1.8.13
Fixed
- Support defining colors as closures even when opacity variables are not supported (#2536)
v1.8.12
Fixed
- Reset color opacity variable in utilities generated using closure colors (#2515)
v1.8.11
- Make
tailwindcss.pluginwork in ESM environments for reasons
v1.8.10
Fixed
- Prevent new
darkexperiment from causing third-partydarkvariants to inherit stacking behavior (#2382)
v1.8.9
Fixed
- Add negative spacing values to inset plugin in the
extendedSpacingScaleexperiment (#2358) - Fix issue where
!importantwas stripped from declarations within rules that used@applywithapplyComplexClasses(#2376)
Changed
v1.8.8
Fixed
- Register dark mode plugin outside of
resolveConfigcode path (#2368)
v1.8.7
Fixed
- Fix issue where classes in escaped strings (like
class=\"block\") weren't extracted properly for purging (#2364)
v1.8.6
Fixed
- Fix issue where container padding not applied when using object syntax (#2353)
v1.8.5
Fixed
- Fix issue where
resolveConfigdidn't take into account configs added by feature flags (#2347)
v1.8.4
Fixed
- Fix issue where inserting extra PurgeCSS control comments could break integrated PurgeCSS support
- Fix issue where dark variant in 'class' mode was incompatible with 'group-hover' variant (#2337)
- Support basic nesting structure with
@applywhen using theapplyComplexClassesexperiment (#2271)
Changed
- Rename
font-hairlineandfont-thintofont-thinandfont-extralightbehindstandardFontWeightsflag (experimental until v1.9.0) (#2333)
v1.8.3
Fixed
- Fix issue where
font-variant-numericutilities would break in combination with most CSS minifier configurations (f3660ce) - Only warn about
conservativepurge mode being deprecated once per process (58781b5)
v1.8.2
Fixed
- Fix bug where dark mode variants would cause an error if you had a
pluginsarray in your config (#2322)
v1.8.1
Fixed
- Support defining colors as closures even when opacity variables are not supported (#2536)
v1.8.0
Added
- Dark mode variant (experimental) (#2279)
- New
preserveHtmlElementsoption forpurge(#2283) - New
layersmode forpurge(#2288) - New
font-variant-numericutilities (#2305) - New
place-items,place-content,place-self,justify-items, andjustify-selfutilities (#2306) - Support configuring variants as functions (#2309)
Changed
- CSS within
@layerat-rules are now grouped with the corresponding@tailwindat-rule (#2312)
Deprecated
-
conservativepurge mode, deprecated in favor oflayers
v1.7.6
Fixed
- Fix bug where the new experimental
@applyimplementation broke when applying a variant class with the important option globally enabled
v1.7.5
Changed
- Update lodash to latest to silence security warnings
v1.7.4
Added
- Add new -p flag to CLI to quickly scaffold a
postcss.config.jsfile
Changed
- Make
@applyinsensitive to whitespace in the newapplyComplexClassesexperiment
Fixed
- Fix bug where the new
applyComplexClassesexperiment didn't behave as expected with rules with multiple selectors, like.foo, .bar { color: red }
v1.7.3
Changed
- Log feature flag notices to stderr instead of stdout to preserve compatibility with pipe-based build systems
- Add missing bg-none utility for disabling background images
Fixed
- Fix bug that prevented defining colors as closures when the
gradientColorStopsplugin was enabled
v1.7.2
Added
- Reuse generated CSS as much as possible in long-running processes instead of needlessly recalculating
v1.7.1
Changed
- Don't issue duplicate flag notices in long-running build processes
v1.7.0
Added
- Gradients
- New background-clip utilities
- New
contentsdisplay utility - Default letter-spacing per font-size
- Divide border styles
- Access entire config object from plugins
- Define colors as closures
- Use
@applywith variants and other complex classes (experimental) - New additional color-palette (experimental)
- Extended spacing scale (experimental)
- Default line-heights per font-size by default (experimental)
- Extended font size scale (experimental)
Deprecated
- Deprecated gap utilities
v1.6.3
Fixed
- Fixes issue where motion-safe and motion-reduce variants didn't stack correctly with group-hover variants
v1.6.2
Fixed
- Fixes issue where
@keyframesrespecting the important option would break animations in Chrome
v1.6.1
Fixed
- Fixes an issue where animation keyframes weren't included in the build without @tailwind base (#2108)
v1.6.0
Added
- Animation support
- New
prefers-reduced-motionvariants - New
overscroll-behaviourutilities - Generate CSS without an input file
v1.5.2
Fixed
- Fixes issue where you could no longer use
@applywith unprefixed class names if you had configured a prefix
v1.5.1
Fixed
- Fixes accidental breaking change where adding component variants using the old manual syntax (as recommended in the docs) stopped working
v1.5.0
Added
- Component
variantssupport - Responsive
containervariants - New
focus-visiblevariant - New
checkedvariant
v1.4.6
Changed
- Explicitly error when using a class as the important config option instead of just generating the wrong CSS
v1.4.5
Fixed
- Fix bug where the
divideColorplugin was using the wrong '' in IE11 target mode
v1.4.4
Fixed
- Fix bug where target: 'browserslist' didn't work, only
target: ['browserslist', {...}]did
v1.4.3
Changed
- Don't generate unnecessary CSS in color plugins when color opacity utilities are disabled
v1.4.2
Fixed
- Fix issue where
purge: { enabled: false }was ignored, addpurge: falseshorthand
v1.4.1
Changed
- Improve built-in PurgeCSS extractor to better support Haml and Slim templates
v1.4.0
Added
- New color opacity utilities
- Built-in PurgeCSS
- IE 11 target mode (experimental)
v1.3.5
Removed
- Drop
fs-extradependency to^8.0.0to preserve Node 8 compatibility until Tailwind 2.0
Fixed
- Fix missing unit in calc bug in space plugin (
space-x-0didn't work for example)
v1.3.4
Fixed
- Fix bug where
divide-{x/y}-0utilities didn't work due to missing unit incalccall
v1.3.3
Added
- Add forgotten responsive variants for
space,divideWidth, anddivideColorutilities
v1.3.2
- Add forgotten
responsivevariants forspace,divideWidth, anddivideColorutilities
v1.3.1
Fixed
- Fix bug where the
space-xutilities were not being applied correctly due to referencing--space-y-reverseinstead of--space-x-reverse
v1.3.0
Added
- New
spaceanddividelayout utilities - New
transition-delayutilities - New
group-focusvariant - Support for specifying a default line-height for each font-size utility
- Support for breakpoint-specific padding for
containerclass - Added
currentto the default color palette - New
inline-gridutility - New
flow-rootdisplay utility - New
clear-noneutility
v1.2.0
Added
- CSS Transition support
- CSS Transform support
- CSS Grid support
- Added
max-w-{screen}utilities - Added
max-w-noneutility - Added
rounded-mdutility - Added
shadow-smutility - Added
shadow-xsutility - Added
stroke-widthutilities - Added fixed line-height utilities
- Added additional display utilities for table elements
- Added box-sizing utilities
- Added clear utilities
- Config file dependencies are now watchable
- Added new
pluginandplugin.withOptionsAPIs
Changed
- Allow plugins to extend the user's config
v1.1.4
Changed
- Note: Although this is a bugfix it could affect your site if you were working around the bug in your own code by not prefixing the
.groupclass. I'm sorry 😞
Fixed
- Fixes a bug where the
.groupclass was not receiving the user's configured prefix when using theprefixoption
v1.1.3
Fixed
- Fixes an issue where in some cases function properties in the user's
themeconfig didn't receive the second utils argument
v1.1.2
Fixed
- Fixes a bug with horizontal rules where they were displayed with a 2px border instead of a 1px border
- Fixes a bug with horizontal rules where they were rendered with default top/bottom margin
v1.1.1
Fixed
- Fixes issue where values like
autowould fail to make it through the default negative margin config
v1.1.0
Added
- Added utilities for screenreader visibility
- Added utilities for placeholder color
- First, last, even, and odd child variants
- Disabled variant
- Visited variant
- Increase utility specificity using a scope instead of !important
- Add hover/focus variants for opacity by default
- Added
border-doubleutility - Support negative prefix for boxShadow and letterSpacing plugins
- Support passing config path via object
Fixed
- Placeholders no longer have a default opacity
- Make horizontal rules visible by default
- Generate correct negative margins when using calc
v1.0.6
Fixed
- Fixes issue where modifiers would mutate nested rules
v1.0.5
Added
- Support built-in variants for utilities that include pseudo-elements
Changed
- Update several dependencies, including postcss-js which fixes an issue with using
!importantdirectly in Tailwind utility plugins
v1.0.4
Changed
- Increase precision of percentage width values to avoid 1px rounding issues in grid layouts
v1.0.3
Changed
- Throws an error when someone tries to use
@tailwind preflightinstead of@tailwind base, this is the source of many support requests
v1.0.2
Fixed
- Fixes a bug where
@screenrules weren't bubbled properly when nested in plugins
v1.0.1
Fixed
- Fixes a bug where global variants weren't properly merged
v1.0.0
No release notes
Configuration
📅 Schedule: 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.
- [ ] If you want to rebase/retry this PR, check this box.
This PR has been generated by WhiteSource Renovate. View repository job log here.