Skip to content

Commit

Permalink
Feature/update tokens (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraincs authored May 14, 2024
2 parents f8f4dc1 + 00b59af commit d9b74f0
Show file tree
Hide file tree
Showing 32 changed files with 3,844 additions and 2,814 deletions.
104 changes: 104 additions & 0 deletions .changeset/two-ducks-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
---
"@hopper-ui/styled-system": major
"@hopper-ui/tokens": major
"@hopper-ui/components": minor
---

## @hopper-ui/tokens

**Added**

| Token |
| ------------------------------------ |
| danger-text-selected |
| danger-border-selected |
| danger-icon-selected |
| danger-icon-weak-hover |
| danger-icon-weak-press |
| danger-surface-selected |
| danger-surface-weak-hover |
| danger-surface-weak-press |
| danger-text-weak-hover |
| danger-text-weak-press |
| decorative-option5-surface-weak-hover |
| neutral-surface-weak-selected |
| neutral-surface-weakest-selected |
| neutral-border-selected |
| neutral-icon-selected |
| neutral-icon-strong-hover |
| neutral-icon-weak-press |
| neutral-surface-selected |
| neutral-text-weak-hover |
| neutral-text-weak-press |
| primary-border-selected |
| primary-icon-selected |
| primary-surface-selected |
| primary-surface-strong-selected |
| primary-surface-weak-hover |
| primary-surface-weak-press |
| primary-text-selected |
| upsell-border-selected |
| upsell-icon-selected |
| upsell-icon-hover |
| upsell-icon-weak-hover |
| upsell-icon-weak-press |
| upsell-surface-selected |
| upsell-surface-weak-hover |
| upsell-surface-weak-press |
| upsell-text-selected |
| upsell-text-weak |
| upsell-text-weak-hover |
| upsell-text-weak-press |

**Renamed**

Use this as a reference to fix all breaking changes.

| Old Token name | New Token name |
|-----------------|-----------------|
| danger-border-active | danger-border-press |
| danger-icon-active | danger-icon-press |
| danger-text-active | danger-text-press |
| danger-surface-active | danger-surface-press |
| neutral-border-active | neutral-border-press |
| neutral-icon-active | neutral-icon-press |
| neutral-surface-active | neutral-surface-press |
| neutral-surface-weak-active | neutral-surface-weak-press |
| neutral-text-active | neutral-text-press |
| primary-border-active | primary-border-press |
| primary-icon-active | primary-icon-press |
| primary-surface-active | primary-surface-press |
| primary-text-active | primary-text-press |
| primary-surface-strong-active | primary-surface-strong-press |
| upsell-border-active | upsell-border-press |
| upsell-icon-active | upsell-icon-press |
| upsell-surface-active | upsell-surface-press |
| upsell-text-active | upsell-text-press |

**Updated**

| Token |
| ------------------------------------ |
| danger-surface-hover |
| danger-surface-strong |
| danger-surface-strong-hover |
| danger-text-weak |
| status-progress-text |
| status-progress-icon |
| primary-surface-strong-hover |
| primary-text |
| primary-surface-hover |
| upsell-surface-hover |
| upsell-surface-weak |
| upsell-text |
| upsell-icon |
| upsell-text-hover |

## @hopper-ui/components

- Added a press state to Links
- Added a press state to Buttons
- Added a press state to Checkbbox
- Added a press state to Switch
- Added a press state to Radio
- Added numerous tests to test Pressed States of components
2 changes: 1 addition & 1 deletion .storybook/test-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const config = {
const a11yParameters = getA11yAddonParameters(storyContext.parameters);

// Do not run a11y tests on disabled stories.
if (a11yParameters?.disabled) {
if (a11yParameters?.disable) {
return;
}

Expand Down
Loading

0 comments on commit d9b74f0

Please sign in to comment.