chore(deps): update dependency lightningcss to v1.25.1 #999
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.22.1
->1.25.1
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
parcel-bundler/lightningcss (lightningcss)
v1.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
rulesConfiguration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday" (UTC), 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 has been generated by Mend Renovate. View repository job log here.