-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!: Refactor StatusIndicator to use system colors (#2700)
Fixes: #2596 `StatusIndicator` has been updated to use system colors and its model has been removed. [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`. Co-authored-by: @mannycarrera4 <mannycarrera4@users.noreply.github.com> Co-authored-by: @josh-bagwell <44883293+josh-bagwell@users.noreply.github.com>
- Loading branch information
1 parent
f984e87
commit dbc9dbc
Showing
8 changed files
with
129 additions
and
209 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
export * from './lib/StatusIndicator'; | ||
export * from './lib/hooks/useStatusIndicatorModel'; | ||
export {StatusIndicator, StatusIndicatorProps, StatusIndicatorVariant} from './lib/StatusIndicator'; |
This file contains 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
Oops, something went wrong.