-
Notifications
You must be signed in to change notification settings - Fork 77
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
fix(action): add tests and update tokens #9034
fix(action): add tests and update tokens #9034
Conversation
commit 6b78dfb Author: Ali Stump <astump@esri.com> Date: Mon Apr 1 15:10:11 2024 -0700 refactor: test utils to simplify assertThemedProps commit e777ea3 Author: Ali Stump <astump@esri.com> Date: Mon Apr 1 12:17:32 2024 -0700 docs: add jsdocs to common test utils commit c2244da Author: Ali Stump <astump@esri.com> Date: Mon Apr 1 12:03:21 2024 -0700 tests: test theme-ing for stateful tokens commit ec2ec64 Author: Ali Stump <astump@esri.com> Date: Wed Mar 27 12:26:56 2024 -0700 test: allow theme tests to penetrate subcomponent shadow dom commit 2e0e1d8 Author: Ali Stump <astump@esri.com> Date: Tue Mar 26 16:52:00 2024 -0700 chore: update common theme-ing tests commit e1d204f Author: Ali Stump <astump@esri.com> Date: Mon Mar 25 15:32:01 2024 -0700 chore(common): add non-color values for tokenList in themed commit 2a9472c Author: Ali Stump <astump@esri.com> Date: Mon Mar 25 15:27:59 2024 -0700 chore(common): add themed common test
we can’t test ::after so we need a new div :shrug-emoji:
…components into astump/7180-fix-action # Conflicts: # packages/calcite-components/src/tests/commonTests.ts # packages/calcite-components/src/tests/utils.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes LGTM!
@driskull can you take a look? I know action recently got updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎉
/> | ||
<div class={{ [CSS.actionIndicator]: indicator }}> | ||
<calcite-icon | ||
class={{ [CSS.icon]: true }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: class={CSS.icon}
Related Issue: #7180
Summary
Should be merged after #9027
Action
--calcite-action-background-color: Specifies the background color of the component.
--calcite-action-text-color: Specifies the text color of the component.
--calcite-action-shadow: Specifies the shadow of the component.
--calcite-action-icon-color: Specifies the color of the component's icon.
--calcite-action-indicator-color: Specifies the color of the component's indicator.
--calcite-action-loader-color: Specifies the color of the component's loader.