fix(deps): update dependency lightningcss to v1.29.2 #1201
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.21.8
->1.29.2
Release Notes
parcel-bundler/lightningcss (lightningcss)
v1.29.2
Compare Source
v1.29.1
Compare Source
v1.29.0
Compare Source
Added
@view-transition
rule,view-transition-class
andview-transition-group
properties, and class selector features of the view transition pseudo elements. This enables CSS module scoping and better minification when using these features. – #885@font-feature-values
rule – #840light-dark()
function – parcel-bundler/lightningcss@3043896Fixed
list-style
shorthand property – parcel-bundler/lightningcss@97891d8:nth-child(an + b of X)
selectors in CSS modules – parcel-bundler/lightningcss@ed9e659\0
characters in filenames – parcel-bundler/lightningcss@43707c3composeVisitors
– #875v1.28.2
Compare Source
Fixes
transition-property
– #850 (thanks @RobinMalfait and @LeoniePhiline!)78f2fc4
4159bc5
all
property is set –d4eec35
v1.28.1
Compare Source
v1.28.0
Compare Source
Added
@container
names in CSS Modules by @kdy1 in https://github.com/parcel-bundler/lightningcss/pull/835input:placeholder
by @kdy1 in https://github.com/parcel-bundler/lightningcss/pull/813@value
at-rule of CSS Modules by @kdy1 in https://github.com/parcel-bundler/lightningcss/pull/842Fixed
22a8b6f
calc
expression –e3c8e12
calc
expression –378955e
clamp
function reduction when the comparison between preferred and max value is unknown –ddc9ce8
f6b033f
v1.27.0
Compare Source
Added
[content-hash]
css module pattern by @rubberpants in https://github.com/parcel-bundler/lightningcss/pull/802. This includes a hash of the file contents rather than the file path (as[hash]
works), which can be used to support multiple versions of the same library simultaneously without conflicts.Fixed
box-shadow
combination ofoklch
andcurrentColor
by @hi-ogawa in https://github.com/parcel-bundler/lightningcss/pull/801v1.26.0
Compare Source
Added
@keyframes
by @grimsteel in https://github.com/parcel-bundler/lightningcss/pull/787Fixed
:is(input:checked)
by @kdy1 in https://github.com/parcel-bundler/lightningcss/pull/783v1.25.1
Compare Source
Fixes a property ordering bug when using the
all
shorthand.v1.25.0
Compare Source
This release adds more granular options for CSS modules, implements some new CSS properties, and fixes bugs.
Added
grid
,animation
, andcustom_idents
. This may be useful when migrating from other tools. See docs. Thanks @timneutkens!83839a9
all
shorthand property to reset other properties exceptdirection
andunicode-bidi
.d7aeff3
animation-timeline
property and add support for it in theanimation
shorthandf4408c7
Fixed
translate: none
andscale: none
which are distinct fromtranslate: 0
andscale: 1
. Thanks @RobinMalfait!a4cc024
currentColor
keyword. Thanks @magic-akari!06ba62f
color()
function to follow spec change445def9
animation
shorthandfb4b334
ec9da43
v1.24.1
Compare Source
transform
optimizations usingmatrix()
, which could break transitions and animations. – https://github.com/parcel-bundler/lightningcss/pull/694@supports
declarations with the same property (minus vendor prefix) and value –6bd2761
v1.24.0
Compare Source
This release adds support the the
light-dark()
color function, parses CSS system colors, deduplicates custom properties during minification, merges duplicates@keyframes
rules, and fixes some bugs.light-dark()
The
light-dark()
function allows you to specify a light mode and dark mode color in a single declaration, without needing to write a separate media query rule. In addition, it uses thecolor-scheme
property to control which theme to use, which allows you to set it programmatically. Thecolor-scheme
property also inherits so themes can be nested and the nearest ancestor color scheme applies.Lightning CSS converts the
light-dark()
function to use CSS variable fallback when your browser targets don't support it natively. For this to work, you must set thecolor-scheme
property on an ancestor element. The following example shows how you can support both operating system and programmatic overrides for the color scheme.compiles to:
Check it out in the playground.
CSS system colors
CSS system colors are now supported during parsing, meaning they can be safely deduplicated when merging rules.
compiles to:
Custom property deduplication
CSS custom properties are now deduplicated when merging rules. The last property value always wins.
minifies to:
@keyframes
deduplication@keyframes
rules are also now deduplicated during minification. The last rule of the same name wins.compiles to:
Other bug fixes
@property
rulesv1.23.0
Compare Source
This release improves minification for
@layer
and@property
rules, enables relative colors to be compiled in more situations, adds new functionality for custom visitor plugins, and fixes some bugs.Downlevel relative colors with unknown alpha
Lightning CSS can now down level relative colors where the alpha value is unknown (e.g. a variable). For example:
becomes:
Optimized
@layer
rules@layer
rules with the same name are now merged together and ordered following their original declared order. For example:becomes:
Deduped
@property
rules@property
rules are now deduplicated when they define the same property name. The last rule wins.compiles to:
StyleSheet visitor function
The JS visitor API now supports
StyleSheet
andStyleSheetExit
visitors, allowing you to visit the entire stylesheet at once. This enables things like rule sorting or appending/prepending rules.Keep in mind that visiting the entire stylesheet can be expensive, due to needing to serialize and deserialize the entire AST to send between Rust and JavaScript. Keep visitors as granular as you can to avoid this.
Other bug fixes
grid-auto-flow
in custom visitors-webkit-fill-available
and-moz-available
size valuesinitial-value
of@property
rulesv1.22.1
Compare Source
e255210
b4bbe47
v1.22.0
Compare Source
Added
&
selector. Since it is shipping in all major browsers, nesting support is now enabled by default (no need to add to thedrafts
config). 🥳Fixed
:is
and:-webkit-any
:not
selector list down leveling. Instead of:not(.a, .b)
compiling to:not(.a):not(.b)
, it now compiles to:not(:is(.a, .b))
(down leveled to:-webkit-any
if needed). This preserves the specificity rather than raising it for each:not
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.
This PR was generated by Mend Renovate. View the repository job log.