forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add checkbox implem to Menu (microsoft#16888)
* Auto-generate react-menu * use correct react-menu version * Update packages/react-menu/package.json Co-authored-by: Oleksandr Fediashov <[email protected]> * update files * remove unnecessary * modified codeowners * update codeowners * modify codeowners * Change files * add react-hooks dep * revert unnecessary files * fix deps * remove unnecessary comments * type ref * use state for selectors * add mising type * remove cast * remove readme * remove default div * remove default div * fix story type * follow package structure * add export * remove placeholder * revert package.json * type refs * Change files * fix deps * move conformance to devdep * update api * fixes to types * remove coment * fix imports * update api * update API * fix types * fix conformance tests * fix exports * add checkbox and tests * add snapshots * use resolution for pretty-format * add checkbox story * fix types * add comment * use storybook decorator * remove imports, fix types * make checkmark mandatory for checkbox * make value/item naming more consistent * move checked to selectable state * Change files * update codeowner for react-menu * hide checkmark instead of not rendering * add testing-library/hooks * revert codeowners * correct tsdoc * fix imports * add icons to checkboxes, fix hover/focus styles * downgrade testing library and resolove testing-library/dom instead * add checkbox implem * update md * use styling hooks * add comment * add events * use separate events for keyboard/click * remove e.persist * Update packages/react-menu/src/components/MenuItemRadio/MenuItemRadio.test.tsx Co-authored-by: Oleksandr Fediashov <[email protected]> * fix tests * fix tests * fix test * add required props for conformance test * ignore confirmance types for now * update snapshots * fix change file * deduplicate @babel/* entires Co-authored-by: Oleksandr Fediashov <[email protected]> Co-authored-by: Elizabeth Craig <[email protected]> Co-authored-by: Oleksandr Fediashov <[email protected]>
- Loading branch information
1 parent
fa13814
commit 977c763
Showing
36 changed files
with
1,083 additions
and
83 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-examples-ee4c87f1-4801-40b7-8c39-fbd92ec8ca6d.json
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,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "Add checkbox story for Menu", | ||
"packageName": "@fluentui/react-examples", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-menu-04281faf-a371-42db-8ee1-6ec9abe65a84.json
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,7 @@ | ||
{ | ||
"type": "minor", | ||
"comment": "Add checkbox implementation for menu item", | ||
"packageName": "@fluentui/react-menu", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './components/MenuItemCheckbox/index'; |
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 @@ | ||
export * from './components/MenuItemRadio/index'; |
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
Oops, something went wrong.