Skip to content

Commit cf22577

Browse files
Adds inactive state to ActionList items (#3913)
* adds inactive state to ActionList items makes unavailable message consistent fixes LinkItem styling * adds changeset * test(vrt): update snapshots * render inactive indicator in trailing viz slot if no leading viz * adds a name to inactive item indicator buttons * test(vrt): update snapshots * Update src/drafts/Tooltip/Tooltip.tsx Co-authored-by: Armağan <[email protected]> * updates draft Tooltip import so tests pass * updates snapshots * fix inactive multiselect story * fix inactive multiselect story's aXe violation for real this time * adds inactive single select story * rms unnecessary data-inactive prop --------- Co-authored-by: mperrotti <[email protected]> Co-authored-by: Armağan <[email protected]>
1 parent 21e75dd commit cf22577

File tree

45 files changed

+672
-150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+672
-150
lines changed

.changeset/smooth-tips-breathe.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@primer/react': minor
3+
---
4+
5+
Supports inactive ActionList items by letting users pass the required message to the `inactiveText` prop.
6+
7+
<!-- Changed components: ActionList, ActionMenu, NavList -->
17 KB
Loading
16.8 KB
Loading
17.1 KB
Loading
17 KB
Loading
17 KB
Loading
17.1 KB
Loading
17.1 KB
Loading
17 KB
Loading
17.1 KB
Loading

0 commit comments

Comments
 (0)