-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(badge): dpo tokens * test(badge): update test cases for DPO tokens * chore: update deps * test(badge): update specs for DPO tokens * fix(badge) status states for docs and changeset update * docs(badge): align variant names on the Guidelines page and update `state` attributes on Overview page * docs(badge): update changeset + improve formatting * fix(badge): update deprecated aliases per guidance * docs(badge): make `deprecated` visible for legacy `critical` state * docs(badge): update images that had old badge colors * feat(badge): add back the minimum width * fix(badge): corrected states in caution badge demo * fix(badge): corrected states in color-context demo --------- Co-authored-by: Mark Caron <[email protected]> Co-authored-by: marionnegp <[email protected]> Co-authored-by: Adam Johnson <[email protected]> Co-authored-by: Adam Johnson <[email protected]>
- Loading branch information
1 parent
4d7016c
commit c0d4c8f
Showing
35 changed files
with
253 additions
and
96 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
"@rhds/elements": minor | ||
--- | ||
`<rh-badge>`: added new states: | ||
|
||
* `danger` | ||
* `warning` | ||
* `caution` | ||
* `neutral` | ||
* `info` | ||
|
||
We deprecated: | ||
|
||
* `critical` (now an alias to `danger`) | ||
* `important` (now an alias to `caution`) | ||
* `moderate` (now an alias to `warning`) | ||
* `note` (now an alias to `info`) |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<rh-badge number="7" state="caution">7</rh-badge> | ||
<rh-badge number="24" state="caution">24</rh-badge> | ||
<rh-badge number="240" state="caution">240</rh-badge> | ||
<rh-badge threshold="900" number="999" state="caution">999</rh-badge> | ||
|
||
<script type="module"> | ||
import '@rhds/elements/rh-badge/rh-badge.js'; | ||
</script> |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<rh-badge number="7" state="danger">7</rh-badge> | ||
<rh-badge number="24" state="danger">24</rh-badge> | ||
<rh-badge number="240" state="danger">240</rh-badge> | ||
<rh-badge threshold="900" number="999" state="danger">999</rh-badge> | ||
|
||
<script type="module"> | ||
import '@rhds/elements/rh-badge/rh-badge.js'; | ||
</script> |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<rh-badge state="moderate" number="900">900</rh-badge> | ||
<rh-badge state="important" number="900">900</rh-badge> | ||
<rh-badge state="critical" number="900">900</rh-badge> | ||
<rh-badge state="note" number="900">900</rh-badge> | ||
|
||
<script type="module"> | ||
import '@rhds/elements/rh-badge/rh-badge.js'; | ||
</script> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<rh-badge number="7" state="neutral">7</rh-badge> | ||
<rh-badge number="24" state="neutral">24</rh-badge> | ||
<rh-badge number="240" state="neutral">240</rh-badge> | ||
<rh-badge threshold="900" number="999" state="neutral">999</rh-badge> | ||
|
||
<script type="module"> | ||
import '@rhds/elements/rh-badge/rh-badge.js'; | ||
</script> |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<rh-badge number="7" state="warning">7</rh-badge> | ||
<rh-badge number="24" state="warning">24</rh-badge> | ||
<rh-badge number="240" state="warning">240</rh-badge> | ||
<rh-badge threshold="900" number="999" state="warning">999</rh-badge> | ||
|
||
<script type="module"> | ||
import '@rhds/elements/rh-badge/rh-badge.js'; | ||
</script> |
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.