-
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(accordion-item): update component tokens and tests #9033
fix(accordion-item): update component tokens and tests #9033
Conversation
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
…components into astump/7180-fix-accordion-item # Conflicts: # packages/calcite-components/src/tests/commonTests.ts # packages/calcite-components/src/tests/utils.ts
…ite-components into astump/7180-fix-accordion-item
@@ -10,7 +10,7 @@ | |||
* @prop --calcite-accordion-item-icon-color: defines the icon color for the component. | |||
* @prop --calcite-accordion-item-expand-icon-color: defines the icon color for the component. | |||
* @prop --calcite-accordion-item-text-color: defines the text color for the component. | |||
*/ | |||
**/ |
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: closing with **/
is not standard in our JSDoc & JSDoc-style comment blocks (see https://stenciljs.com/docs/docs-json#css-variables).
@@ -17,6 +18,8 @@ export const CSS = { | |||
iconStart: "icon--start", | |||
iconEnd: "icon--end", | |||
headerContainer: "header-container", | |||
iconPosition: (position: string): string => `icon-position--${position}`, |
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.
I think I mentioned this before, but I'm digging this approach.
Sidebar: I thought we had an entry for this pattern under conventions, but it doesn't seem like it. I'll create a doc-update issue.
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.
☝️#9117
…components into astump/7180-fix-accordion-item # Conflicts: # packages/calcite-components/src/components/accordion-item/accordion-item.e2e.ts
Related Issue: #7180
Summary
Should be merged after #9027
Accordion Item
Add tests and update component tokens
--calcite-accordion-item-background-color: defines the background color for the component.
--calcite-accordion-item-border-color: defines the border color for the component.
--calcite-accordion-item-description-text-color: defines the text color of the description in the component.
--calcite-accordion-item-heading-text-color: defines the text color of the heading in the component.
--calcite-accordion-item-icon-color: defines the icon color for the component.
--calcite-accordion-item-expand-icon-color: defines the icon color for the component.
--calcite-accordion-item-text-color: defines the text color for the component.