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

[DSYS-317] Mark the legacy color tokens as deprecated #1951

Merged
merged 3 commits into from
Mar 1, 2023

Conversation

connor-baer
Copy link
Member

@connor-baer connor-baer commented Feb 16, 2023

Addresses DSYS-317.

Purpose

Mark legacy color tokens as deprecated. They are being replaced by semantic color tokens (#1880).

Approach and changes

This marks legacy tokens (from @sumup/design-tokens) as deprecated in their TS definition.

Definition of done

  • Development completed
  • Reviewers assigned
  • Unit and integration tests
  • Meets minimum browser support
  • Meets accessibility requirements

@changeset-bot
Copy link

changeset-bot bot commented Feb 16, 2023

🦋 Changeset detected

Latest commit: 006a4a9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@sumup/design-tokens Minor
@sumup/circuit-ui Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Feb 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
oss-circuit-ui ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 1, 2023 at 2:46PM (UTC)

@codecov
Copy link

codecov bot commented Feb 16, 2023

Codecov Report

Merging #1951 (006a4a9) into main (92f09ed) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1951   +/-   ##
=======================================
  Coverage   91.70%   91.70%           
=======================================
  Files         172      172           
  Lines        3567     3567           
  Branches     1198     1198           
=======================================
  Hits         3271     3271           
- Misses        275      276    +1     
+ Partials       21       20    -1     
Impacted Files Coverage Δ
...es/circuit-ui/components/Pagination/Pagination.tsx 81.57% <0.00%> (ø)

@connor-baer connor-baer changed the title Mark the legacy color tokens as deprecated [DSYS-317] Mark the legacy color tokens as deprecated Mar 1, 2023
@robinmetral robinmetral marked this pull request as ready for review March 1, 2023 14:43
@robinmetral robinmetral requested a review from a team as a code owner March 1, 2023 14:43
@robinmetral robinmetral requested review from pdrmdrs and removed request for a team March 1, 2023 14:43
@robinmetral
Copy link
Contributor

Note about versioning: we will only release a new minor of @sumup/design-tokens for this, no major of @sumup/circuit-ui. The tokens deprecation doesn't include any breaking change for the component library.

Copy link
Member Author

@connor-baer connor-baer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@robinmetral
Copy link
Contributor

🎉

Screenshot from VSCode showing the deprecation warning for legacy color tokens

@robinmetral robinmetral merged commit 197f685 into main Mar 1, 2023
@robinmetral robinmetral deleted the feature/deprecate-color-tokens branch March 1, 2023 14:58
@connor-baer connor-baer mentioned this pull request Mar 1, 2023
@robinmetral robinmetral mentioned this pull request Mar 17, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants