-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE(web-twig): Remove
theme
prop and default
color fr…
…om `Tag` #DS-648 ## Migration Guide Instead of the `default` color, use `neutral` in the `Tag` component. Instead of the `theme` prop, use `isSubtle` in the `Tag` component. - `<Tag color="default" …>` → `<Tag color="neutral" …>` - `<Tag theme="light" …>` → `<Tag isSubtle …>` - `<Tag theme="dark" …>` → `<Tag …>` (default) Please refer back to this guide or reach out to our team if you encounter any issues during migration.
- Loading branch information
Showing
4 changed files
with
8 additions
and
32 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
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,9 +1,6 @@ | ||
<Tag>Tag</Tag> | ||
<Tag color="default">Tag</Tag> | ||
<Tag color="success">Tag</Tag> | ||
<Tag elementType="div">Tag</Tag> | ||
<Tag size="xlarge">Tag</Tag> | ||
<Tag isSubtle>Tag</Tag> | ||
<Tag color="danger" elementType="div" size="xsmall" isSubtle>Tag</Tag> | ||
<Tag color="danger" elementType="div" size="xsmall" theme="light">Tag</Tag> | ||
<Tag color="danger" elementType="div" size="xsmall" theme="dark">Tag</Tag> |