Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Bump @adobe/leonardo-contrast-colors from 1.0.0-alpha.8 to 1.0.0-alpha.13 #257

Open
wants to merge 3 commits into
base: cernbox
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 5, 2022

Bumps @adobe/leonardo-contrast-colors from 1.0.0-alpha.8 to 1.0.0-alpha.13.

Release notes

Sourced from @​adobe/leonardo-contrast-colors's releases.

@​adobe/leonardo-contrast-colors@​1.0.0-alpha.9

✨ Refactored core functions into Classes ✨ Class functions allow us to generate color scales only when necessary, such as when key colors or interpolation space change. Previously, these scales would regenerate when any parameter is changed. When using "smooth" interpolation, this dramatically slows down color output.

This architecture makes modification to a theme more performant in that you can set parameters that only affect their dependent functionality, rather than re-running the entire generateAdaptiveTheme function any time a change is made. This particularly is useful when setting lightness or the contrast of your theme.

This release includes:

  • Replaced generateContrastColors, generateBaseScale, and generateAdaptiveTheme functions with new classes
  • Added classes Color, BackgroundColor, and Theme
  • Renamed fixColorVaue to convertColorValue since the function name did not match what it does.
  • Renamed binarySearch to getMatchingRatioIndex since the function is more than just a binary search and specific to finding a matching ratio's index
  • Enhanced getMatchingRatioIndex to find next highest contrast value for positive contrasts and next smallest value for negative contrasts.

For more detail see PR #110

Commits
  • 0b6f38b chore(release): release
  • 54fe5e5 fix: BackgroundColor length threshold updated to >=
  • 7a7ab99 chore: upgraded caniuse-lite
  • 6bbfff6 UI redesign & enhancements (#155)
  • d972e82 Fixed demo.html and upgraded a few css dependencies (#145)
  • bab79e1 chore(release): release
  • beb6d88 fix: typo in theme constructor for saturation (#140)
  • 79d241f chore(release): release
  • 39caca7 Theme saturation (#139)
  • d31d6df modified buildSite script to bypass parcel minify
  • 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 dependabot bot added the dependencies Pull requests that update a dependency file label May 5, 2022
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/adobe/leonardo-contrast-colors-1.0.0-alpha.13 branch from 6ea3f0f to 6640a06 Compare May 24, 2022 08:39
Bumps [@adobe/leonardo-contrast-colors](https://github.com/adobe/leonardo) from 1.0.0-alpha.8 to 1.0.0-alpha.13.
- [Release notes](https://github.com/adobe/leonardo/releases)
- [Commits](https://github.com/adobe/leonardo/compare/@adobe/[email protected]...@adobe/[email protected])

---
updated-dependencies:
- dependency-name: "@adobe/leonardo-contrast-colors"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/adobe/leonardo-contrast-colors-1.0.0-alpha.13 branch from 6640a06 to c9bce94 Compare May 24, 2022 08:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant