chore(deps): update dependency lightningcss to v1.27.0 #55
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.23.0
->1.27.0
Release Notes
parcel-bundler/lightningcss (lightningcss)
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
rulesConfiguration
📅 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.