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

test(radio-button): add component token E2E tests #9591

Conversation

jcfranco
Copy link
Member

Related Issue: #7180

Summary

✨🧪✨

@jcfranco jcfranco requested a review from a team as a code owner June 14, 2024 22:45
@@ -29,7 +28,7 @@
all var(--calcite-animation-timing) ease-in-out 0s,
outline 0s,
outline-offset 0s;
box-shadow: var(--calcite-radio-button-shadow, inset 0 0 0 1px var(--calcite-color-border-input));
box-shadow: inset 0 0 0 1px var(--calcite-radio-button-border-color, var(--calcite-color-border-input));
Copy link
Contributor

Choose a reason for hiding this comment

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

nice catch with border color. I think we could clean up this file a bit by using internal variables

box-shadow: inset 0 0 0 var(--calcite-internal-radio-button-shadow-spread, 1px)
    var(
      --calcite-radio-button-border-color,
      var(--calcite-internal-radio-button-border-color, var(--calcite-color-border-input))
    );

Copy link
Member Author

Choose a reason for hiding this comment

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

@alisonailea Cleaned this up a bit. Would you mind taking another look?

@jcfranco jcfranco requested a review from alisonailea June 18, 2024 17:43
@jcfranco jcfranco merged commit 9ea9f43 into epic/7180-component-tokens Jun 18, 2024
4 checks passed
@jcfranco jcfranco deleted the jcfranco/7180-add-radio-button-component-token-e2e-tests branch June 18, 2024 22:41
benelan added a commit that referenced this pull request Jul 9, 2024
… benelan/reset-chromatic-tokens-epic

* origin/epic/7180-component-tokens: (222 commits)
  test(text-area): add component token E2E tests (#9729)
  test(themed): improve pseudoElement pattern
  test(rating): add theme token tests (#9700)
  test(block, block-section): add component token E2E tests (#9685)
  test(button, fab): add component token E2E tests (#9602)
  test(inline-editable): add token theme tests (#9648)
  fix(list, list-item, list-item-group): add e2e themed tests (#9616)
  test(shell-center-row): add token theming tests (#9462)
  test(shell): add token theming tests (#9458)
  fix build issues
  test(combobox, combobox-item-group, combobox-item): add component token E2E tests (#9599)
  test(radio-button): add component token E2E tests (#9591)
  test(card, card-group): add component token E2E tests (#9600)
  test(select): add component token E2E tests (#9593)
  test(icon): add component token E2E tests (#9595)
  test(label): add component token E2E tests (#9594)
  test(switch): add component token E2E tests (#9596)
  test(graph): add component token E2E tests (#9597)
  test(dropdown, dropdown-group): add component token E2E tests (#9598)
  test(tip, tip-group, tip-manager): add component token E2E tests (#9589)
  ...
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.

3 participants