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

feat(tokens): update visited tokens #2034

Merged
merged 1 commit into from
Aug 14, 2024
Merged

feat(tokens): update visited tokens #2034

merged 1 commit into from
Aug 14, 2024

Conversation

booc0mtaco
Copy link
Contributor

  • add text-utility-interactive-primary-visited
  • add text-utility-interactive-secondary-visited
  • add icon-utility-interactive-primary-visited
  • add icon-utility-interactive-secondary-visited
  • mark text-utility-interactive-visited as deprecated
  • mark icon-utility-interactive-visited as deprecated
  • change text-utility-inverse-interactive-visited from purple-350 to white
  • update usages of old tokens to use the new tokens

Test Plan:

  • Wrote/updated automated tests
  • CI tests / new tests are not applicable
  • Manually tested my changes, and here are the details:

- add text-utility-interactive-primary-visited
- add text-utility-interactive-secondary-visited
- add icon-utility-interactive-primary-visited
- add icon-utility-interactive-secondary-visited
- mark text-utility-interactive-visited as deprecated
- mark icon-utility-interactive-visited as deprecated
- change text-utility-inverse-interactive-visited from purple-350 to white
- update usages of old tokens to use the new tokens
Copy link

size-limit report 📦

Path Size
components 89.2 KB (0%)
styles 27.21 KB (-0.11% 🔽)

Copy link

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.43%. Comparing base (9021e84) to head (2cf06ce).
Report is 1 commits behind head on next.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #2034   +/-   ##
=======================================
  Coverage   97.42%   97.43%           
=======================================
  Files         109      109           
  Lines        2605     2609    +4     
  Branches      664      664           
=======================================
+ Hits         2538     2542    +4     
  Misses         65       65           
  Partials        2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@booc0mtaco booc0mtaco requested a review from a team August 14, 2024 18:01
@@ -114,7 +114,7 @@
}

.link:visited {
color: var(--eds-theme-color-text-utility-interactive-visited);
color: var(--eds-theme-color-text-utility-interactive-primary-visited);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

update usages of old tokens to use the new tokens

Comment on lines +1703 to +1705
"visited": {
"value": "{eds.theme.color.text.utility.interactive.primary.visited}",
"group": "color"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

add icon-utility-interactive-primary-visited

Comment on lines +1721 to +1723
"visited": {
"value": "{eds.theme.color.text.utility.interactive.secondary.visited}",
"group": "color"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

add icon-utility-interactive-secondary-visited

Comment on lines 1726 to +1729
"visited": {
"value": "{eds.theme.color.text.utility.interactive.visited}",
"group": "color"
"group": "color",
"comment": "@deprecated This should not be used in code or design. It will be removed in a future version of EDS."
Copy link
Contributor Author

Choose a reason for hiding this comment

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

mark icon-utility-interactive-visited as deprecated

Comment on lines +2046 to +2047
"visited": {
"value": "{eds.color.blue.850}"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

add text-utility-interactive-primary-visited

Comment on lines +2060 to +2061
"visited": {
"value": "{eds.color.blue.550}"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

add text-utility-interactive-secondary-visited

Comment on lines +2065 to +2066
"value": "{eds.color.purple.550}",
"comment": "@deprecated This token is deprecated. Please use eds-theme-color-border-brand-primary-default instead"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

mark text-utility-interactive-visited as deprecated

@@ -2111,7 +2127,7 @@
},
"interactive": {
"visited": {
"value": "{eds.color.purple.350}"
"value": "rgb(var(--eds-color-white) / 1)"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

change text-utility-inverse-interactive-visited from purple-350 to white

@booc0mtaco booc0mtaco merged commit df84c87 into next Aug 14, 2024
9 checks passed
@booc0mtaco booc0mtaco deleted the aholloway/EDS-1394 branch August 14, 2024 22:10
@booc0mtaco booc0mtaco mentioned this pull request Aug 23, 2024
booc0mtaco added a commit that referenced this pull request Aug 23, 2024
## [15.3.0](v15.2.1...v15.3.0) (2024-08-23)

[Storybook](https://61313967cde49b003ae2a860-vuzmfnjuoj.chromatic.com/)

Figma Components Library:
🟢  No breaking changes
- EDS-toastNotification:
  - deleted the dissmissType property
  - Added Toast Pattern documentation to handle multiple toasts
- EDS-popover: added EDS-popover 2.0 component

### Features

* **config:** add transition durations for tailwind ([#2036](#2036)) ([aed0f09](aed0f09))
* **Popover:** update theming to 2.0 ([#2031](#2031)) ([c5ab351](c5ab351))
* **tokens:** add in additional table tokens ([#2035](#2035)) ([a698a5b](a698a5b))
* **tokens:** update visited tokens ([#2034](#2034)) ([df84c87](df84c87))


### Bug Fixes

* **Card:** add spacing between eyebrow and title ([#2040](#2040)) ([d6ee15d](d6ee15d))
* **Link:** handle inverse variant for standalone links ([#2042](#2042)) ([351d7fd](351d7fd))
* **Popover:** update component version number ([#2038](#2038)) ([9940d76](9940d76))
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.

2 participants