-
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.
Feat(web-twig): Update Tag - dictionaries and deprecate theme and `de…
…fault` #DS-442 #DS-377 Deprecate color `default`, use `neutral` as default instead. Deprecate `theme` in favor of `isSubtle`.
- Loading branch information
Showing
4 changed files
with
54 additions
and
16 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
18 changes: 17 additions & 1 deletion
18
...ig/tests/__snapshots__/ComponentsSnapshotTest__test with data set tagDefault.twig__1.html
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,3 +1,19 @@ | ||
<html><body> | ||
<span class="Tag Tag--default Tag--medium Tag--dark">Tag</span> | ||
<span class="Tag Tag--neutral Tag--medium">Tag</span> | ||
|
||
<span class="Tag Tag--default Tag--medium">Tag</span> | ||
|
||
<span class="Tag Tag--success Tag--medium">Tag</span> | ||
|
||
<div class="Tag Tag--neutral Tag--medium">Tag</div> | ||
|
||
<span class="Tag Tag--neutral Tag--xlarge">Tag</span> | ||
|
||
<span class="Tag Tag--neutral Tag--medium Tag--subtle">Tag</span> | ||
|
||
<div class="Tag Tag--danger Tag--xsmall Tag--subtle">Tag</div> | ||
|
||
<div class="Tag Tag--danger Tag--xsmall Tag--light">Tag</div> | ||
|
||
<div class="Tag Tag--danger Tag--xsmall Tag--dark">Tag</div> | ||
</body></html> |
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 +1,9 @@ | ||
<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> |