Commit f11f809
feat(badge-indicators): new component (#18342)
* feat(badge-indicators): new component
* fix(badge): clean up stories and add imports
* test(avt): badge indicator
* fix(button): revert
* fix(Styles): badge
* chore(test): update
* fix(badge-indicator): make internal and add prop
* fix(badgeIndicator): add badgeCountLabel
* refactor: combines label and badgeLabel props
* fix: updates SR announcement & stories
* fix(iconButton): default is really lg and label
* fix(badgeIndicator): remove badgeCountLabel use aria-describedby
* fix(button): cleanup
* fix(icon-button): badgeId and label description
* feat: badge compononent for WC
* chore: revert tabs changes
* fix(badge-indicator): remove when disabled
* fix: adds warnings for invalid prop usage
* fix: cleanup in iconbutton
* chore: clean up on IconButton
* chore(test): add avt/e2e
* fix(button): align wc stories
* Update packages/react/src/index.ts
---------
Co-authored-by: Nikhil Tomar <nikhiltomar753@gmail.com>
Co-authored-by: Nikhil Tomar <63502271+2nikhiltom@users.noreply.github.com>
Co-authored-by: Anna Wen <54281166+annawen1@users.noreply.github.com>1 parent 2dd87e0 commit f11f809
File tree
32 files changed
+568
-27
lines changed- e2e/components/Button
- packages
- carbon-components-react/scss/components/badge-indicator
- carbon-components/scss/components/badge-indicator
- react
- __tests__/__snapshots__
- scss/components/badge-indicator
- src
- components
- BadgeIndicator
- __tests__
- Button
- __tests__
- DataTable/__tests__/__snapshots__
- IconButton
- __tests__
- styles
- __tests__/__snapshots__
- scss/components
- badge-indicator
- button
- web-components/src/components
- badge-indicator
- button
- icon-button
32 files changed
+568
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
58 | 69 | | |
59 | 70 | | |
60 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
65 | 73 | | |
66 | 74 | | |
67 | 75 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4240 | 4240 | | |
4241 | 4241 | | |
4242 | 4242 | | |
| 4243 | + | |
| 4244 | + | |
| 4245 | + | |
4243 | 4246 | | |
4244 | 4247 | | |
4245 | 4248 | | |
| |||
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments