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(action-bar): update tokens and e2e tests #9035

Merged
merged 15 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

Action Bar

--calcite-action-bar-expanded-max-width: When layout is "vertical", specifies the expanded max width of the component.
--calcite-action-bar-trigger-background-color-active: Specifies the background color of the nested trigger when active in the component.
--calcite-action-bar-trigger-background-color-focus: Specifies the background color of the nested trigger when focused in the component.
--calcite-action-bar-trigger-background-color-hover: Specifies the background color of the nested trigger when hovered in the component.
--calcite-action-bar-trigger-background-color: Specifies the background color of the nested trigger in the component.
--calcite-action-bar-trigger-icon-color-active: Specifies the icon color color of the nested trigger when active in the component
--calcite-action-bar-trigger-icon-color-focus: Specifies the icon color of the nested trigger when focused in the component.
--calcite-action-bar-trigger-icon-color-hover: Specifies the icon color of the nested trigger when hovered in the component.
--calcite-action-bar-trigger-icon-color: Specifies the icon color of the nested trigger in the component.
--calcite-action-bar-trigger-loader-color: Specifies the loader color of the nested trigger in the component component.
--calcite-action-bar-trigger-shadow-active: Specifies the shadow of the nested trigger when active in the component.
--calcite-action-bar-trigger-shadow-focus: Specifies the shadow of the nested trigger when focused in the component.
--calcite-action-bar-trigger-shadow-hover: Specifies the shadow of the nested trigger when hovered in the component.
--calcite-action-bar-trigger-shadow: Specifies the shadow of the nested trigger in the component.
--calcite-action-bar-trigger-text-color-active: Specifies the text color of the nested trigger when active in the component.
--calcite-action-bar-trigger-text-color-focus: Specifies the text color of the nested trigger when focused in the component.
--calcite-action-bar-trigger-text-color-hover: Specifies the text color of the nested trigger when hovered in the component.
--calcite-action-bar-trigger-text-color: Specifies the text color of the nested trigger in the component.

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
these tokens are unused as the action-group in the shadow dom does not use popover or have it’s own border and all other elements in the action bar are slotted and so should have their own styles.
@alisonailea alisonailea marked this pull request as draft April 1, 2024 22:35
@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Apr 1, 2024
@alisonailea alisonailea changed the base branch from main to epic/7180-component-tokens April 1, 2024 22:36
alisonailea and others added 2 commits April 4, 2024 13:50
…components into astump/7180-fix-action-bar

# Conflicts:
#	packages/calcite-components/src/tests/commonTests.ts
#	packages/calcite-components/src/tests/utils.ts
@alisonailea alisonailea marked this pull request as ready for review April 9, 2024 18:41
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.

Good to merge once ExpandToggleProps type is updated.

@@ -62,7 +62,7 @@ const setTooltipReference = ({
return referenceElement;
};

export const ExpandToggle: FunctionalComponent<ExpandToggleProps> = ({
export const ExpandToggle: FunctionalComponent<ExpandToggleProps & any> = ({
Copy link
Member

Choose a reason for hiding this comment

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

ExpandToggleProps should extend JSXBase.HTMLAttributes instead of using any here (see example).

@alisonailea alisonailea merged commit 69bae19 into epic/7180-component-tokens Apr 15, 2024
4 checks passed
@alisonailea alisonailea deleted the astump/7180-fix-action-bar branch April 15, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants