-
Notifications
You must be signed in to change notification settings - Fork 6
chore(deps): update dependency lightningcss to v1.30.2 #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
05ee5df to
779eee6
Compare
779eee6 to
7e44c36
Compare
7e44c36 to
4b30858
Compare
4b30858 to
e736cde
Compare
e736cde to
434919a
Compare
cfc2569 to
d85ae1b
Compare
d85ae1b to
b1baddf
Compare
b1baddf to
a3050be
Compare
a3050be to
d207c3f
Compare
d207c3f to
eef4275
Compare
eef4275 to
7213169
Compare
This PR contains the following updates:
1.23.0->1.30.2Release Notes
parcel-bundler/lightningcss (lightningcss)
v1.30.2Compare Source
Fixes
::grammar-errorand::spelling-errorselectorsRust crate changes
pastev1.30.1Compare Source
Fixed crash on process exit when lightningcss was loaded inside a Node.js worker thread on Linux
v1.30.0Compare Source
Features
6c465c1@supportsrules when already nested in a@supportsrule – #878,d398c1bFixes
33ea2c1e5c413917bdc80v1.29.3Compare Source
::details-contentand::target-textselectors – @philipp-spiess in #930:placeholder-shownselector name across browsers – @Marukome0743 in #929/* cssmodules-pure-no-check */comments – @jantimon in #898c03a7e7v1.29.2Compare Source
Browsers::load_browserslistby @CPunisher in #8952284653v1.29.1Compare Source
v1.29.0Compare Source
Added
@view-transitionrule,view-transition-classandview-transition-groupproperties, 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-valuesrule – #840light-dark()function –3043896Fixed
7f29035list-styleshorthand property –97891d8:nth-child(an + b of X)selectors in CSS modules –ed9e659\0characters in filenames –43707c3composeVisitors– #875cdbf0d4v1.28.2Compare Source
Fixes
transition-property– #850 (thanks @RobinMalfait and @LeoniePhiline!)78f2fc44159bc5allproperty is set –d4eec35v1.28.1Compare Source
v1.28.0Compare Source
Added
@containernames in CSS Modules by @kdy1 in #835input:placeholderby @kdy1 in #813@valueat-rule of CSS Modules by @kdy1 in #842Fixed
22a8b6fcalcexpression –e3c8e12calcexpression –378955eclampfunction reduction when the comparison between preferred and max value is unknown –ddc9ce8f6b033fv1.27.0Compare Source
Added
[content-hash]css module pattern by @rubberpants in #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-shadowcombination ofoklchandcurrentColorby @hi-ogawa in #80154390b4v1.26.0Compare Source
Added
@keyframesby @grimsteel in #78739964f10bcd896Fixed
:is(input:checked)by @kdy1 in #783dcbb997v1.25.1Compare Source
Fixes a property ordering bug when using the
allshorthand.v1.25.0Compare 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!83839a9allshorthand property to reset other properties exceptdirectionandunicode-bidi.d7aeff3animation-timelineproperty and add support for it in theanimationshorthandf4408c7Fixed
translate: noneandscale: nonewhich are distinct fromtranslate: 0andscale: 1. Thanks @RobinMalfait!a4cc024currentColorkeyword. Thanks @magic-akari!06ba62fcolor()function to follow spec change445def9animationshorthandfb4b334ec9da43v1.24.1Compare Source
transformoptimizations usingmatrix(), which could break transitions and animations. – #694@supportsdeclarations with the same property (minus vendor prefix) and value –6bd2761v1.24.0Compare Source
This release adds support the the
light-dark()color function, parses CSS system colors, deduplicates custom properties during minification, merges duplicates@keyframesrules, 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-schemeproperty to control which theme to use, which allows you to set it programmatically. Thecolor-schemeproperty 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-schemeproperty 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:
@keyframesdeduplication@keyframesrules are also now deduplicated during minification. The last rule of the same name wins.compiles to:
Other bug fixes
@propertyrulesConfiguration
📅 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.