-
Notifications
You must be signed in to change notification settings - Fork 577
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ActionList: Add more checks for
ActionList.Item
when using button s…
…emantics (#4876) * Add more checks for `ActionList.Item` and button semantics * Turn on FF * Move events to `li` * Add `role="list"` to role types * Enable flag * disable the flag * Move `ButtonItemWrapper` outside of `Item` * Disable flag again * Remove `itemEventProps` * Enable back FF * Add changeset * Update .changeset/dull-moons-repair.md Co-authored-by: Siddharth Kshetrapal <[email protected]> --------- Co-authored-by: Siddharth Kshetrapal <[email protected]>
- Loading branch information
1 parent
65f6437
commit 9dd95a8
Showing
4 changed files
with
69 additions
and
15 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,5 @@ | ||
--- | ||
'@primer/react': patch | ||
--- | ||
|
||
ActionList: Add more guards for `ActionList.Item` before utilizing button semantics (behind feature flag `primer_react_action_list_item_as_button`) |
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