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

fix(accordion-item): update component tokens and tests #9033

Merged
merged 11 commits into from
Apr 15, 2024

Conversation

alisonailea
Copy link
Contributor

@alisonailea alisonailea commented Apr 1, 2024

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.

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
@alisonailea alisonailea requested a review from a team as a code owner April 1, 2024 22:12
@alisonailea alisonailea changed the title Astump/7180 fix accordion item fix(accordion-item): update component tokens and tests Apr 1, 2024
@alisonailea alisonailea marked this pull request as draft April 1, 2024 22:14
alisonailea and others added 3 commits April 4, 2024 13:48
…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
@alisonailea alisonailea marked this pull request as ready for review April 9, 2024 18:39
@@ -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.
*/
**/
Copy link
Member

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}`,
Copy link
Member

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.

Copy link
Member

@jcfranco jcfranco Apr 11, 2024

Choose a reason for hiding this comment

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

☝️#9117

@alisonailea alisonailea merged commit 9061a40 into epic/7180-component-tokens Apr 15, 2024
4 checks passed
@alisonailea alisonailea deleted the astump/7180-fix-accordion-item branch April 15, 2024 21:05
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