chore: Update Indicator components#3738
Merged
alanbsmith merged 32 commits intoWorkday:prerelease/majorfrom Feb 12, 2026
Merged
chore: Update Indicator components#3738alanbsmith merged 32 commits intoWorkday:prerelease/majorfrom
alanbsmith merged 32 commits intoWorkday:prerelease/majorfrom
Conversation
Workday/canvas-kit
|
||||||||||||||||||||||||||||||||||||||||
| Project |
Workday/canvas-kit
|
| Branch Review |
chore/update-indicators-26-02
|
| Run status |
|
| Run duration | 02m 30s |
| Commit |
|
| Committer | Josh |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
15
|
|
|
0
|
|
|
802
|
| View all changes introduced in this branch ↗︎ | |
UI Coverage
19.49%
|
|
|---|---|
|
|
1518
|
|
|
365
|
Accessibility
99.41%
|
|
|---|---|
|
|
5 critical
5 serious
0 moderate
2 minor
|
|
|
72
|
… chore/update-indicators-26-02
… chore/update-indicators-26-02
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Canvas Kit “Indicator” components to use @workday/canvas-tokens-web v4 tokens (with v3 fallbacks), and adds new styling utilities/transform support to enable token-based color mixing for interaction states.
Changes:
- Bump
@workday/canvas-tokens-webfrom4.0.2→4.1.2across packages. - Introduce
colorSpace.darkenin@workday/canvas-kit-stylingand add a corresponding TS transformer (handleColorSpace) for static style extraction. - Update multiple indicator components/stories to use v4 tokens (with
cssVar(...)fallbacks).
Reviewed changes
Copilot reviewed 32 out of 32 changed files in this pull request and generated 15 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Bumps @workday/canvas-tokens-web to 4.1.2 at repo root. |
| modules/styling/package.json | Bumps tokens dependency for styling package. |
| modules/styling/lib/colorSpace.tsx | Adds colorSpace.darken + helper for wrapping CSS vars (currently has correctness issues). |
| modules/styling/index.ts | Exports colorSpace from styling package entrypoint. |
| modules/styling-transform/package.json | Bumps tokens dependency for styling-transform package. |
| modules/styling-transform/lib/utils/handleColorSpace.ts | Adds transformer for colorSpace.darken(...) calls (needs robustness + tests). |
| modules/styling-transform/lib/styleTransform.ts | Registers handleColorSpace in property transform pipeline. |
| modules/react/status-indicator/stories/examples/Basic.tsx | Updates story spacing token usage (introduces unused import). |
| modules/react/status-indicator/stories/examples/Emphasis.tsx | Updates story spacing token usage (introduces unused import). |
| modules/react/status-indicator/stories/examples/MaxWidth.tsx | Updates story spacing token usage (introduces unused import). |
| modules/react/skeleton/lib/parts/SkeletonText.tsx | Updates SkeletonText to v4 tokens with fallbacks; adjusts sizing/spacing. |
| modules/react/skeleton/lib/parts/SkeletonShape.tsx | Updates SkeletonShape tokens with v4+fallbacks. |
| modules/react/skeleton/lib/parts/SkeletonHeader.tsx | Updates SkeletonHeader tokens with v4+fallbacks. |
| modules/react/pill/lib/PillIconButton.tsx | Updates PillIconButton tokens; interaction-state background behavior changes. |
| modules/react/pill/lib/PillIcon.tsx | Updates spacing token usage with v4+fallbacks. |
| modules/react/pill/lib/PillCount.tsx | Updates PillCount tokens; border behavior changed. |
| modules/react/pill/lib/Pill.tsx | Updates Pill tokens; adds colorSpace.darken for hover/active backgrounds. |
| modules/react/package.json | Bumps tokens dependency for main react package. |
| modules/react/loading-dots/lib/LoadingDots.tsx | Updates LoadingDots tokens/defaults with v4+fallbacks. |
| modules/react/layout/stories/Box.mdx | Adds Storybook Meta import usage. |
| modules/react/information-highlight/lib/parts/Link.tsx | Updates text color token usage with v4+fallbacks. |
| modules/react/information-highlight/lib/parts/Heading.tsx | Updates text color + margin reset. |
| modules/react/information-highlight/lib/parts/Body.tsx | Updates text color + spacing token usage with v4+fallbacks. |
| modules/react/information-highlight/lib/InformationHighlight.tsx | Updates layout + variant color tokens with v4+fallbacks. |
| modules/react/banner/lib/Banner.tsx | Updates Banner tokens; adds colorSpace.darken hover behavior. |
| modules/react/badge/lib/CountBadge.tsx | Updates CountBadge tokens with v4+fallbacks. |
| modules/react/avatar/stories/Avatar.mdx | Adds Storybook Meta and updates MDX imports/formatting. |
| modules/react/avatar/lib/BaseAvatar.tsx | Updates Avatar sizes/shapes to v4 tokens and explicit sizes. |
| modules/preview-react/status-indicator/lib/StatusIndicator.tsx | Updates preview StatusIndicator tokens with v4+fallbacks. |
| modules/preview-react/package.json | Bumps tokens dependency for preview-react. |
| modules/labs-react/package.json | Bumps tokens dependency for labs-react. |
| modules/docs/package.json | Bumps tokens dependency for docs package. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
RayRedGoose
reviewed
Feb 12, 2026
RayRedGoose
reviewed
Feb 12, 2026
RayRedGoose
reviewed
Feb 12, 2026
Contributor
Contributor
RayRedGoose
reviewed
Feb 12, 2026
RayRedGoose
reviewed
Feb 12, 2026
RayRedGoose
reviewed
Feb 12, 2026
RayRedGoose
reviewed
Feb 12, 2026
RayRedGoose
reviewed
Feb 12, 2026
mannycarrera4
approved these changes
Feb 12, 2026
RayRedGoose
reviewed
Feb 12, 2026
RayRedGoose
reviewed
Feb 12, 2026
RayRedGoose
approved these changes
Feb 12, 2026
10 tasks
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
This updates:
StatusIndicator (Preview)AvatarBadgeBannerInformationHighlightPillSkeletonFixes: #3589
Release Category
Components
Release Note
Updates Indicators to use v4 tokens with fallbacks of v3 tokens.
Checklist
ready for reviewhas been added to PRWhere Should the Reviewer Start?
/modules/preview-react/status-indicator/modules/react/avatar/modules/react/badge/modules/react/banner/modules/react/information-highlight/modules/react/pill/modules/react/skeleton