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(stepper-item): update component's active state background color #10487

Merged

Conversation

aPreciado88
Copy link
Contributor

@aPreciado88 aPreciado88 commented Oct 4, 2024

Related Issue: #10000

Summary

Add bg-foreground-3 to the component's active state.

@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label Oct 4, 2024
@aPreciado88 aPreciado88 added this to the 2024-10-29 - Oct Milestone milestone Oct 4, 2024
@aPreciado88 aPreciado88 added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Oct 4, 2024
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

Code changes, LGTM! @SkyeSeitz can you help review the visual diff? 👀

@SkyeSeitz
Copy link

Code changes, LGTM! @SkyeSeitz can you help review the visual diff? 👀

Changes look great. Chromatic approved ✅

Copy link
Contributor

@alisonailea alisonailea left a comment

Choose a reason for hiding this comment

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

Can you add this as a token?

@@ -73,6 +73,10 @@
// .stepper-item-header / content
:host .stepper-item-header {
@apply flex cursor-pointer items-start;

&:active {
@apply bg-foreground-3;
Copy link
Contributor

Choose a reason for hiding this comment

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

We haven't done stepper item yet but since you're here, I think this should be background-color: var(--calcite-stepper-item-header-background-color-active, var(--calcite-color-foreground-3);

Then add the jsdocs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@alisonailea Kitty and me discussed this, the tokens work is out of scope for this PR. We'll merge this as is and take care of the token in its own issue.

cc @geospatialem

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for summarizing @aPreciado88. @alisonailea Can you make a note in the #7180 epic so we can consider the token when working with the stepper-item component tokens? cc @brittneytewks

@aPreciado88 aPreciado88 dismissed alisonailea’s stale review October 9, 2024 19:26

This change is out of scope for this PR.

@aPreciado88 aPreciado88 merged commit 26aec11 into dev Oct 9, 2024
19 checks passed
@aPreciado88 aPreciado88 deleted the aPreciado88/10000-enhance-component-interactive-states branch October 9, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request. pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants