Skip to content
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

build(deps-dev): bump lightningcss from 1.15.1 to 1.16.1 #1732

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 8, 2022

Bumps lightningcss from 1.15.1 to 1.16.1.

Release notes

Sourced from lightningcss's releases.

v1.16.1

Bug fixes

CLI features

v1.16.0

This release adds support for the new relative color syntax, improves support for quoted CSS animation names, and fixes some bugs.

Relative color syntax

Lightning CSS now supports the new relative color syntax in the CSS Color Level 5 spec! This allows you to use math functions like calc() to manipulate the channel values of a source color, and to convert between color spaces. This is not yet shipping in any browsers, but Lightning CSS will do this manipulation at build time when possible, so that it works in any browser today!

Here's a simple example, which uses the lch color space to darken slateblue by 10%. This is done by using the l channel value in a calc() expression, and preserving the c and h channels as is.

.foo {
  color: lch(from slateblue calc(l - 10%) c h);
}

This will output:

.foo {
  color: lch(34.5711% 65.7776 296.794);
}

And, when lch colors are not supported by your browser targets, Lightning CSS already supports outputting fallbacks for older browsers:

.foo {
  color: #4e42b1;
  color: lch(34.5711% 65.7776 296.794);
}

Check it out in the playground!

Note that due to being a build time transform, CSS variables are not supported as source colors since the variable value may change at runtime. We'll have to wait for browser support for that.

Other fixes and improvements

... (truncated)

Commits
  • 87e808f v1.16.1
  • 1eccce5 Don't include upper range check for latest versions (#326)
  • e59558b feat(cli): Load browserslist configuration if no --targets supplied. (#324)
  • 6dc3ca0 Fix flipped border-bottom-right and border-bottom-left (#308)
  • 8652701 Use :is for non-leading nesting with multiple compound selectors
  • d35279e feat: add :nth-col() and :nth-last-col() selectors (#302)
  • d03093a Bump rust crate
  • 200120e v1.16.0
  • cbd392f Support parsing angles with unitless zero exceptions
  • 6e47cdb Revert serializing animation name as string
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 8, 2022

The following labels could not be found: dependencies.

Bumps [lightningcss](https://github.com/parcel-bundler/lightningcss) from 1.15.1 to 1.16.1.
- [Release notes](https://github.com/parcel-bundler/lightningcss/releases)
- [Commits](parcel-bundler/lightningcss@v1.15.1...v1.16.1)

---
updated-dependencies:
- dependency-name: lightningcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/lightningcss-1.16.1 branch from 48dcdd9 to 34d7c15 Compare November 26, 2022 09:53
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 30, 2022

Superseded by #1744.

@dependabot dependabot bot closed this Nov 30, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/lightningcss-1.16.1 branch November 30, 2022 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants