Skip to content

test(combobox, combobox-item-group, combobox-item): add component token E2E tests#9599

Merged
jcfranco merged 2 commits intoepic/7180-component-tokensfrom
jcfranco/7180-add-combobox-component-token-e2e-tests
Jun 18, 2024
Merged

test(combobox, combobox-item-group, combobox-item): add component token E2E tests#9599
jcfranco merged 2 commits intoepic/7180-component-tokensfrom
jcfranco/7180-add-combobox-component-token-e2e-tests

Conversation

@jcfranco
Copy link
Member

Related Issue: #7180

Summary

✨🧪✨

@jcfranco jcfranco requested a review from a team as a code owner June 15, 2024 03:11
ease-in-out;
opacity: 0;
color: var(--calcite-combobox-item-indicator-icon-color, theme("borderColor.color.1"));
color: var(--calcite-combobox-item-indicator-icon-color, var(--calcite-color-border-1));
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm observing a pattern across a few components with "indicator" where the value should be consistent across states but the actual element it's applied to may change. I suggest we change this and other related tokens to just --calcite-combobox-item-indicator-color(-hover/focus/active)

Copy link
Contributor

Choose a reason for hiding this comment

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

I have checked with Aaron and he approves.

Copy link
Member Author

Choose a reason for hiding this comment

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

CSS prop name updated!

@jcfranco jcfranco requested a review from alisonailea June 18, 2024 22:34
@jcfranco jcfranco dismissed alisonailea’s stale review June 18, 2024 23:01

Renamed CSS prop as suggested.

@jcfranco
Copy link
Member Author

@alisonailea Renamed the prop as suggested. I'll proceed to merge, but LMK if additional changes are required.

@jcfranco jcfranco merged commit afd2371 into epic/7180-component-tokens Jun 18, 2024
@jcfranco jcfranco deleted the jcfranco/7180-add-combobox-component-token-e2e-tests branch June 18, 2024 23:02
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.

2 participants