Submenu support #4976

LFDanLu merged 168 commits into main from submenu_alt_api
LFDanLu
LFDanLu adding stories and chevron
73121aa0
LFDanLu planning
c19f4630
LFDanLu fix sections in items
e70ac623
LFDanLu scuffed experimentation with getting sub menu to render
0e96be3b
LFDanLu notes from api review
adecad67
LFDanLu reset state of some files and add tentative SubMenuTrigger implementa…
23c61f05
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
f19a292b
LFDanLu update static story and dynamic story for testing
5484732d
LFDanLu fix dynamic story
3df94278
LFDanLu update sub menu interactions
96002186
LFDanLu fix onOpen undef and test onBlurWithin
5740696a
LFDanLu use useMenuTrigger to get proper submenutrigger id and aria-labelledb…
f5d847bb
LFDanLu add onAction inheritence between submenus and test aria-controls
2e15eb4f
LFDanLu fix crash
1ff49307
LFDanLu explored alt dynamic render function, update rest of the existing sto…
3dacd00b
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
9b3ef1f2
LFDanLu making all menus close on menu action trigger
74cee9e6
LFDanLu making sub menu item ArrowLeft not close all menus
20afdf17
LFDanLu fix user provided onClose not firing and ContextualHelpTrigger isUnav…
af387f6a
LFDanLu add complex and align/placement stories
d09e2f53
LFDanLu fix lint and circular dependency
51b07dec
LFDanLu add onSubMenuClose instead of having a isSubMenu bool and passing the…
79d1defb
LFDanLu add first batch of tests
03afdfd1
LFDanLu prevent SubMenuTrigger items from being selected
ec39ea1c
LFDanLu make Escape close all menus without triggering user provided onClose
6d5256e8
LFDanLu Add stories + tests for user provided handlers and make onCloseAllMen…
9ed35811
LFDanLu Adding selection and onOpenChange tests
25f88a6b
LFDanLu fixng tests and lint
7a23255b
LFDanLu LFDanLu changed the title (WIP Submenu support (WIP) Submenu support 2 years ago
LFDanLu fix last failing tests
a516600d
rspbot
LFDanLu fix mutated submenu trigger keys
e02fc8c8
LFDanLu fix tests
b6328e5b
LFDanLu use menuProps from useMenuTrigger for submenu props and restore new u…
1cb918ae
rspbot
LFDanLu tentative workaround to close all menus when clicking outside
64b92f2e
LFDanLu fix tests
b2fdf562
rspbot
LFDanLu add onAction to stories and test for aria-controls
73dc2fd6
LFDanLu Removing several MenuTrigger props from SubMenu as per discussion
396b8b8c
rspbot
LFDanLu make submenu trigger use menuitem role and adding additional tests
e0438770
LFDanLu finally fix sub menu width
e8a0d155
LFDanLu fix infinite repositioning loop
ccfe054b
rspbot
LFDanLu rough refactor progress
e81234eb
LFDanLu fix ArrowRight closing too many menus and preventing close when focus…
ba8c0c36
LFDanLu fix aria attribute propagation to submenu trigger
508d38cc
LFDanLu save state
0352e42b
LFDanLu move stuff into hooks
2cee0029
LFDanLu stopgap lint and test fixes
99dbe453
LFDanLu attempting to close submenu whenever focus moves out of its active scope
e08fc0ae
LFDanLu fixing submenu close behavior when moving focus from trigger or into …
f1b482d1
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
983590ad
LFDanLu adding/fixing tests for new submenu hover behavior
73ca8eb9
LFDanLu Update ContextualHelpTrigger to work with useSubMenuTrigger
285d7915
adobe adobe deleted a comment from rspbot on 2023-09-09
LFDanLu fix tabbing in ContextualHelpTrigger refactor
a40d334d
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
895a8d4d
rspbot
LFDanLu fixing tabbing behavior between submenu/trigger and retaining menu it…
d34d2d27
LFDanLu updating tests for userEvent library upgrade
92fbb324
rspbot
LFDanLu clearing expandedKeyStack when user clicks underlay and comment cleanup
59049fee
LFDanLu adding test for tab/shift tabbing
e3951164
rspbot
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
afe74290
LFDanLu
LFDanLu commented on 2023-09-12
LFDanLu updating menu tree state expanded keys on submenu open/close
8b4cd1e7
rspbot
LFDanLu fix test
614ed5fa
LFDanLu inital progress with Tray submenu
97f95d7a
LFDanLu adding rough styling and removing popover specific logic from tray
f8687ab8
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
0bedc616
LFDanLu fix lint
7b82c90c
LFDanLu update context name and fix ContextualHelpTrigger behavior when focus…
0b77e0ea
rspbot
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
7f54902f
LFDanLu adding tray tests and fixing submenu overflow
5013ddd0
rspbot
LFDanLu Fix tray autofocus behavior with touch and add remaining tests
5d58d7bd
LFDanLu replacing submenu aria-labelledby with aria-label due to parent menu …
2c05ae74
rspbot
LFDanLu move submenu styles to css files
d7045fcc
LFDanLu fixing submenu cross offset
147aa9dd
LFDanLu fix tests
f9bf3af5
rspbot
LFDanLu fix ContextualHelpTrigger dialog offset and hover behavior when enter…
59f0c5d5
rspbot
LFDanLu update labeling so it uses hook
66ce9694
LFDanLu fix tests
2c6921a8
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
122c0d78
LFDanLu partial cleanup and fix build
ed943643
rspbot
LFDanLu Revert "update labeling so it uses hook"
a580ebd4
LFDanLu Revert "fix tests"
800681d7
rspbot
LFDanLu converting hooks to UNSTABLE and other cleanup
a30ba3e6
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
rspbot
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu
LFDanLu commented on 2023-09-21
LFDanLu LFDanLu changed the title (WIP) Submenu support Submenu support 2 years ago
LFDanLu adding sample chromatic test with interactions
b99d9fcc
rspbot
LFDanLu add tray tests
5f479d2a
rspbot
LFDanLu fix chromatic tray interactions
82c23dbc
LFDanLu LFDanLu added ready for review
rspbot
LFDanLu
LFDanLu commented on 2023-09-25
LFDanLu
LFDanLu commented on 2023-09-25
LFDanLu
LFDanLu commented on 2023-09-25
reidbarber
reidbarber commented on 2023-09-25
LFDanLu
LFDanLu commented on 2023-09-25
LFDanLu
LFDanLu commented on 2023-09-25
LFDanLu Making ContextualHelpTrigger tray modal a tray instead
6fb865e8
LFDanLu Make SubMenu Tray a dialog with heading
49440eba
LFDanLu partial fix for stacking drop shadow issue
7796ed3e
LFDanLu Adding useKeyboard to useMenu and updating tests
3e515d68
LFDanLu Expanding useMenuItem types and fixing Esc and keyup behavior
c4f134c1
rspbot
LFDanLu LFDanLu removed ready for review
LFDanLu merge useMenuState into useMenuTriggerState
17688192
LFDanLu Stop updating tree state expanded keys in favor of returning level fr…
cad5ee21
rspbot
LFDanLu Making it so a menu trigger that is set as the selectedKey doesnt act…
4e85079d
rspbot
LFDanLu forgot to remove the state combination
9f300432
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
c10e88ec
rspbot
LFDanLu fix styles for ContextualHelpTrigger tray experience
805f4794
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
bedebfca
LFDanLu LFDanLu force pushed from 08bb6d65 to bedebfca 2 years ago
rspbot
reidbarber reaname SubMenu -> Submenu
828f1286
reidbarber Merge remote-tracking branch 'origin/main' into submenu_alt_api
a53f5568
reidbarber fix git casing
b764b7d0
rspbot
snowystinger
snowystinger commented on 2023-08-28
reidbarber Merge branch 'main' into submenu_alt_api
bfef23e3
rspbot
reidbarber Submenus: prevent pointer events on menu if moving towards submenu (#…
677930c4
reidbarber Merge remote-tracking branch 'origin/main' into submenu_alt_api
f395ae82
rspbot
rspbot
adobe adobe deleted a comment from rspbot on 2023-10-19
reidbarber Merge remote-tracking branch 'origin/main' into submenu_alt_api
0df6b0c9
reidbarber rename subMenu -> submenu
d042f115
reidbarber fix types
4f27ebc0
devongovett
devongovett commented on 2023-10-19
reidbarber update useSafelyMouseToSubmenu to set menu style
b6560921
reidbarber Merge remote-tracking branch 'origin/main' into submenu_alt_api
51c6359e
reidbarber Merge remote-tracking branch 'origin/main' into submenu_alt_api
43386687
reidbarber Merge remote-tracking branch 'origin/main' into submenu_alt_api
2b39e7bb
reidbarber remove dup style
b5c31554
reidbarber fix tests
b78f1c20
reidbarber lint
becdd654
reidbarber fix ts
5da908c1
rspbot
LFDanLu code review
5d075da8
rspbot
LFDanLu fixing submenu tray header positioning and getting rid of non-issue t…
2d9b5811
rspbot
reidbarber improve submenu safe area experience
197a4760
reidbarber add story with many items
0704752d
reidbarber fix dup key
d67974ef
rspbot
adobe adobe deleted a comment from rspbot on 2023-10-30
LFDanLu partial progress on getting rid of onExit
0f3b4675
LFDanLu sharing TrayHeaderWrapper with SubMenu and ContextualHelpTrigger
4555f90b
reidbarber don't measure for safe area when outside of menu
0743c1f5
reidbarber typo
5df0aae0
LFDanLu removing contains on ContextualHelpDialog
04879ae5
LFDanLu clean up more todos
d23af09a
rspbot
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
84f5178f
LFDanLu fix menu overflow behavior and rendering for an available ContextualH…
2ffe274b
LFDanLu
LFDanLu commented on 2023-10-31
rspbot
reidbarber initial docs
f2b543d1
reidbarber Merge branch 'submenu_alt_api' of https://github.com/adobe/react-spec…
13b1c1f9
rspbot
reidbarber add dynamic example to docs
da265f55
rspbot
LFDanLu adding prop table for SubmenuTrigger and additional copy
96e01bb8
LFDanLu Merge branch 'submenu_alt_api' of github.com:adobe/react-spectrum int…
5f4dbc50
LFDanLu fix mobile w/ keyboard focus behavior when closing submenu
da373613
rspbot
LFDanLu fixing tray experience on desktop with small screens
3debcf46
rspbot
snowystinger
snowystinger commented on 2023-11-02
LFDanLu review comments
98869934
rspbot
snowystinger
snowystinger commented on 2023-11-03
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
27a26138
LFDanLu addressing review comments
1ed78855
LFDanLu
rspbot
LFDanLu getting rid of weird double border
57b4d48d
rspbot
LFDanLu Fix SubMenu tray scrolling if there are many items
b1d27d49
rspbot
LFDanLu Merge branch 'main' into submenu_alt_api
60d7e4cc
rspbot
LFDanLu get rid of erroneous border and background color and fix tray height
4aaaf7d2
rspbot
LFDanLu Merge branch 'main' into submenu_alt_api
a73b5685
rspbot
LFDanLu Merge branch 'main' into submenu_alt_api
0a8f8209
LFDanLu Merge branch 'main' into submenu_alt_api
e9a68ac2
rspbot
LFDanLu restore drop shadow
1d8df9ac
LFDanLu make contextual help dialog full width
ad58498c
LFDanLu fixing tests
15931e75
rspbot
LFDanLu fix scrollbars appearing when closing all submenus
d1221412
LFDanLu forgot to save
b5b08346
LFDanLu fix tests
8330b5ff
LFDanLu fix focus being lost to body when using hidden dismiss button in Safari
edc2575f
LFDanLu Merge branch 'main' into submenu_alt_api
d808ed89
rspbot
LFDanLu
LFDanLu commented on 2023-11-16
LFDanLu remove transition from submenu and rename onDismiss for clarity
7f988e32
rspbot
devongovett
devongovett commented on 2023-11-10
majornista
LFDanLu
LFDanLu fix keyboard scrolling for long menus and tabindex
3b8d3ca9
LFDanLu merge overlay and popover props
5bd7cb74
rspbot
reidbarber unwrap ref in ContextualHelpTrigger
36b82d3e
rspbot
LFDanLu fix event propagation when in contextual help or on submenutrigger
3f8e6e0e
LFDanLu forgot to remove comment
3c629ad2
LFDanLu Merge branch 'submenu_alt_api' of github.com:adobe/react-spectrum int…
18b95a82
rspbot
LFDanLu fixes from test session
7bcefb39
rspbot
LFDanLu Merge branch 'main' of github.com:adobe/react-spectrum into submenu_a…
7a505018
LFDanLu remove extraneous flush sync now that we completely leave the menu on…
01400265
rspbot
LFDanLu omit selectableitem props from submenutrigger items
90d3007f
rspbot
LFDanLu update submenu unmount animation
818ce9a1
LFDanLu fix case where submenus dont properly open/close when rapidly opening…
6f8bb412
LFDanLu Merge branch 'main' into submenu_alt_api
a16362d9
LFDanLu fix tests
e12c61e2
rspbot
snowystinger
snowystinger commented on 2023-11-27
LFDanLu fix alignment
3f4e313a
rspbot
LFDanLu clearing timeout and adding comment for offset
af97396b
rspbot
snowystinger
snowystinger commented on 2023-11-28
LFDanLu clear autoclose timeout if user moves mouse before it fires
54f568fe
snowystinger
snowystinger approved these changes on 2023-11-28
rspbot
devongovett
devongovett approved these changes on 2023-11-30
LFDanLu Merge branch 'main' into submenu_alt_api
0513f533
rspbot
rspbot
LFDanLu LFDanLu merged a2146aa2 into main 1 year ago
LFDanLu LFDanLu deleted the submenu_alt_api branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone