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

chore: Refactor StatusIndicator to use system colors #2700

Conversation

RayRedGoose
Copy link
Contributor

@RayRedGoose RayRedGoose commented Apr 16, 2024

Summary

Fixes: #2596

StatusIndicator has been updated to use system colors and its model has been removed.

Release Category

Components

Release Note

As part of the refactor, we've removed the following exports that were primarily used to style the component:

  • useStatusIndicatorModel
  • useStatusIndicator
  • statusIndicatorColors
  • useStatusIndicatorIcon.

Since there was no usage of these by our consumers, there should be no breaking changes.

BREAKING CHANGES

There's a visual breaking change. The transparent variant now uses system.color.bg.translucent.

@RayRedGoose RayRedGoose marked this pull request as ready for review April 18, 2024 23:11
@RayRedGoose RayRedGoose self-assigned this Apr 18, 2024
@RayRedGoose RayRedGoose added the ready for review Code is ready for review label Apr 18, 2024
Copy link

cypress bot commented Apr 19, 2024

1 flaky test on run #7232 ↗︎

0 970 3 0 Flakiness 1

Details:

Merge f39c9f3 into f88d052...
Project: canvas-kit Commit: 53e03b308b ℹ️
Status: Passed Duration: 05:07 💡
Started: Apr 19, 2024 9:13 PM Ended: Apr 19, 2024 9:18 PM
Flakiness  cypress/integration/Popup.spec.ts • 1 flaky test

View Output Video

Test Artifacts
... > when the "Delete" button has focus and the tab key is pressed > should hide the popup Screenshots Video

Review all test suite changes for PR #2700 ↗︎

RayRedGoose and others added 2 commits April 19, 2024 15:09
Co-authored-by: Manuel Carrera <mannycarrera4@users.noreply.github.com>
Co-authored-by: Manuel Carrera <mannycarrera4@users.noreply.github.com>
@mannycarrera4 mannycarrera4 added approved Code has been reviewed and approved (ship it) and removed ready for review Code is ready for review labels Apr 19, 2024
Co-authored-by: Josh <44883293+josh-bagwell@users.noreply.github.com>
@RayRedGoose RayRedGoose added automerge and removed approved Code has been reviewed and approved (ship it) labels Apr 19, 2024
@alanbsmith alanbsmith enabled auto-merge (squash) April 19, 2024 22:54
@alanbsmith alanbsmith merged commit dbc9dbc into Workday:prerelease/major Apr 19, 2024
19 checks passed
@RayRedGoose RayRedGoose deleted the ISSUE2596-status-indicator-colors branch April 19, 2024 23:01
@alanbsmith alanbsmith mentioned this pull request May 14, 2024
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants