@swc-react/menu 0.32.0 → 0.32.1-overlay.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/next.d.ts +112 -108
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -8,14 +8,13 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
8
8
|
style?: import("react").CSSProperties | undefined;
|
|
9
9
|
tabIndex?: number | undefined;
|
|
10
10
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
11
|
+
accessKey?: string | undefined;
|
|
11
12
|
color?: string | undefined;
|
|
12
13
|
lang?: string | undefined;
|
|
13
|
-
'aria-
|
|
14
|
-
accessKey?: string | undefined;
|
|
15
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
14
|
+
'aria-describedby'?: string | undefined;
|
|
16
15
|
role?: import("react").AriaRole | undefined;
|
|
17
|
-
'aria-
|
|
18
|
-
'aria-
|
|
16
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
17
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
19
18
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
20
19
|
hidden?: boolean | undefined;
|
|
21
20
|
translate?: "yes" | "no" | undefined;
|
|
@@ -24,9 +23,7 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
24
23
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
25
24
|
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
26
25
|
nonce?: string | undefined;
|
|
27
|
-
'aria-
|
|
28
|
-
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
29
|
-
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
26
|
+
'aria-label'?: string | undefined;
|
|
30
27
|
'aria-activedescendant'?: string | undefined;
|
|
31
28
|
'aria-labelledby'?: string | undefined;
|
|
32
29
|
defaultChecked?: boolean | undefined;
|
|
@@ -63,7 +60,7 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
63
60
|
'aria-colindex'?: number | undefined;
|
|
64
61
|
'aria-colspan'?: number | undefined;
|
|
65
62
|
'aria-controls'?: string | undefined;
|
|
66
|
-
'aria-current'?: boolean | "true" | "time" | "
|
|
63
|
+
'aria-current'?: boolean | "true" | "time" | "page" | "false" | "step" | "location" | "date" | undefined;
|
|
67
64
|
'aria-details'?: string | undefined;
|
|
68
65
|
'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
69
66
|
'aria-errormessage'?: string | undefined;
|
|
@@ -71,16 +68,19 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
71
68
|
'aria-flowto'?: string | undefined;
|
|
72
69
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
73
70
|
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "grid" | "tree" | undefined;
|
|
71
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
74
72
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
75
73
|
'aria-keyshortcuts'?: string | undefined;
|
|
76
74
|
'aria-level'?: number | undefined;
|
|
77
75
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
76
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
78
77
|
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
79
78
|
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
80
79
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
81
80
|
'aria-owns'?: string | undefined;
|
|
82
81
|
'aria-placeholder'?: string | undefined;
|
|
83
82
|
'aria-posinset'?: number | undefined;
|
|
83
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
84
84
|
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
85
85
|
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
86
86
|
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
@@ -274,14 +274,24 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
274
274
|
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
275
275
|
autofocus: boolean;
|
|
276
276
|
normalize: () => void;
|
|
277
|
+
addEventListener: {
|
|
278
|
+
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
279
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
280
|
+
};
|
|
281
|
+
dispatchEvent: (event: Event) => boolean;
|
|
282
|
+
removeEventListener: {
|
|
283
|
+
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
284
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
285
|
+
};
|
|
286
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
277
287
|
shadowRoot: ShadowRoot;
|
|
288
|
+
readonly parentElement: HTMLElement | null;
|
|
278
289
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
279
|
-
remove: () => void;
|
|
280
290
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
281
291
|
selected: string[];
|
|
282
292
|
value: string;
|
|
283
|
-
disconnectedCallback: () => void;
|
|
284
293
|
connectedCallback: () => void;
|
|
294
|
+
disconnectedCallback: () => void;
|
|
285
295
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
286
296
|
isUpdatePending: boolean;
|
|
287
297
|
hasUpdated: boolean;
|
|
@@ -302,14 +312,6 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
302
312
|
outerText: string;
|
|
303
313
|
spellcheck: boolean;
|
|
304
314
|
attachInternals: () => ElementInternals;
|
|
305
|
-
addEventListener: {
|
|
306
|
-
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
307
|
-
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
308
|
-
};
|
|
309
|
-
removeEventListener: {
|
|
310
|
-
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
311
|
-
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
312
|
-
};
|
|
313
315
|
readonly classList: DOMTokenList;
|
|
314
316
|
readonly clientHeight: number;
|
|
315
317
|
readonly clientLeft: number;
|
|
@@ -388,7 +390,6 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
388
390
|
readonly nodeName: string;
|
|
389
391
|
readonly nodeType: number;
|
|
390
392
|
nodeValue: string | null;
|
|
391
|
-
readonly parentElement: HTMLElement | null;
|
|
392
393
|
readonly parentNode: ParentNode | null;
|
|
393
394
|
readonly previousSibling: ChildNode | null;
|
|
394
395
|
textContent: string | null;
|
|
@@ -424,7 +425,6 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
424
425
|
readonly NOTATION_NODE: number;
|
|
425
426
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
426
427
|
readonly TEXT_NODE: number;
|
|
427
|
-
dispatchEvent: (event: Event) => boolean;
|
|
428
428
|
ariaAtomic: string | null;
|
|
429
429
|
ariaAutoComplete: string | null;
|
|
430
430
|
ariaBusy: string | null;
|
|
@@ -463,6 +463,7 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
463
463
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
464
464
|
after: (...nodes: (string | Node)[]) => void;
|
|
465
465
|
before: (...nodes: (string | Node)[]) => void;
|
|
466
|
+
remove: () => void;
|
|
466
467
|
replaceWith: (...nodes: (string | Node)[]) => void;
|
|
467
468
|
innerHTML: string;
|
|
468
469
|
readonly nextElementSibling: Element | null;
|
|
@@ -483,7 +484,6 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
483
484
|
<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
484
485
|
};
|
|
485
486
|
replaceChildren: (...nodes: (string | Node)[]) => void;
|
|
486
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
|
487
487
|
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
488
488
|
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
489
489
|
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -581,11 +581,11 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
581
581
|
readonly dataset: DOMStringMap;
|
|
582
582
|
isLTR: boolean;
|
|
583
583
|
hasVisibleFocusInTree: () => boolean;
|
|
584
|
+
closeDescendentOverlays: () => void;
|
|
584
585
|
selects: "inherit" | "single" | "multiple" | undefined;
|
|
585
586
|
valueSeparator: string;
|
|
586
587
|
selectedItems: import("menu/src").MenuItem[];
|
|
587
588
|
menuSlot: HTMLSlotElement;
|
|
588
|
-
isSubmenu: boolean;
|
|
589
589
|
focusedItemIndex: number;
|
|
590
590
|
focusInItemIndex: number;
|
|
591
591
|
readonly childItems: import("menu/src").MenuItem[];
|
|
@@ -594,6 +594,7 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
594
594
|
startListeningToKeyboard: () => void;
|
|
595
595
|
handleFocusout: (event: FocusEvent) => void;
|
|
596
596
|
stopListeningToKeyboard: () => void;
|
|
597
|
+
handleSubmenuOpened: (event: Event) => void;
|
|
597
598
|
selectOrToggleItem: (targetItem: import("menu/src").MenuItem) => Promise<void>;
|
|
598
599
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
599
600
|
focusMenuItemByOffset: (offset: number) => import("menu/src").MenuItem;
|
|
@@ -612,14 +613,13 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
612
613
|
style?: import("react").CSSProperties | undefined;
|
|
613
614
|
tabIndex?: number | undefined;
|
|
614
615
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
616
|
+
accessKey?: string | undefined;
|
|
615
617
|
color?: string | undefined;
|
|
616
618
|
lang?: string | undefined;
|
|
617
|
-
'aria-
|
|
618
|
-
accessKey?: string | undefined;
|
|
619
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
619
|
+
'aria-describedby'?: string | undefined;
|
|
620
620
|
role?: import("react").AriaRole | undefined;
|
|
621
|
-
'aria-
|
|
622
|
-
'aria-
|
|
621
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
622
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
623
623
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
624
624
|
hidden?: boolean | undefined;
|
|
625
625
|
translate?: "yes" | "no" | undefined;
|
|
@@ -628,9 +628,7 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
628
628
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
629
629
|
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
630
630
|
nonce?: string | undefined;
|
|
631
|
-
'aria-
|
|
632
|
-
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
633
|
-
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
631
|
+
'aria-label'?: string | undefined;
|
|
634
632
|
'aria-activedescendant'?: string | undefined;
|
|
635
633
|
'aria-labelledby'?: string | undefined;
|
|
636
634
|
defaultChecked?: boolean | undefined;
|
|
@@ -667,7 +665,7 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
667
665
|
'aria-colindex'?: number | undefined;
|
|
668
666
|
'aria-colspan'?: number | undefined;
|
|
669
667
|
'aria-controls'?: string | undefined;
|
|
670
|
-
'aria-current'?: boolean | "true" | "time" | "
|
|
668
|
+
'aria-current'?: boolean | "true" | "time" | "page" | "false" | "step" | "location" | "date" | undefined;
|
|
671
669
|
'aria-details'?: string | undefined;
|
|
672
670
|
'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
673
671
|
'aria-errormessage'?: string | undefined;
|
|
@@ -675,16 +673,19 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
675
673
|
'aria-flowto'?: string | undefined;
|
|
676
674
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
677
675
|
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "grid" | "tree" | undefined;
|
|
676
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
678
677
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
679
678
|
'aria-keyshortcuts'?: string | undefined;
|
|
680
679
|
'aria-level'?: number | undefined;
|
|
681
680
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
681
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
682
682
|
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
683
683
|
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
684
684
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
685
685
|
'aria-owns'?: string | undefined;
|
|
686
686
|
'aria-placeholder'?: string | undefined;
|
|
687
687
|
'aria-posinset'?: number | undefined;
|
|
688
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
688
689
|
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
689
690
|
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
690
691
|
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
@@ -878,12 +879,22 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
878
879
|
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
879
880
|
autofocus: boolean;
|
|
880
881
|
normalize: () => void;
|
|
882
|
+
addEventListener: {
|
|
883
|
+
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
884
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
885
|
+
};
|
|
886
|
+
dispatchEvent: (event: Event) => boolean;
|
|
887
|
+
removeEventListener: {
|
|
888
|
+
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
889
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
890
|
+
};
|
|
891
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
881
892
|
shadowRoot: ShadowRoot;
|
|
893
|
+
readonly parentElement: HTMLElement | null;
|
|
882
894
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
883
|
-
remove: () => void;
|
|
884
895
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
885
|
-
disconnectedCallback: () => void;
|
|
886
896
|
connectedCallback: () => void;
|
|
897
|
+
disconnectedCallback: () => void;
|
|
887
898
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
888
899
|
isUpdatePending: boolean;
|
|
889
900
|
hasUpdated: boolean;
|
|
@@ -904,14 +915,6 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
904
915
|
outerText: string;
|
|
905
916
|
spellcheck: boolean;
|
|
906
917
|
attachInternals: () => ElementInternals;
|
|
907
|
-
addEventListener: {
|
|
908
|
-
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
909
|
-
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
910
|
-
};
|
|
911
|
-
removeEventListener: {
|
|
912
|
-
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
913
|
-
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
914
|
-
};
|
|
915
918
|
readonly classList: DOMTokenList;
|
|
916
919
|
readonly clientHeight: number;
|
|
917
920
|
readonly clientLeft: number;
|
|
@@ -990,7 +993,6 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
990
993
|
readonly nodeName: string;
|
|
991
994
|
readonly nodeType: number;
|
|
992
995
|
nodeValue: string | null;
|
|
993
|
-
readonly parentElement: HTMLElement | null;
|
|
994
996
|
readonly parentNode: ParentNode | null;
|
|
995
997
|
readonly previousSibling: ChildNode | null;
|
|
996
998
|
textContent: string | null;
|
|
@@ -1026,7 +1028,6 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
1026
1028
|
readonly NOTATION_NODE: number;
|
|
1027
1029
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
1028
1030
|
readonly TEXT_NODE: number;
|
|
1029
|
-
dispatchEvent: (event: Event) => boolean;
|
|
1030
1031
|
ariaAtomic: string | null;
|
|
1031
1032
|
ariaAutoComplete: string | null;
|
|
1032
1033
|
ariaBusy: string | null;
|
|
@@ -1065,6 +1066,7 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
1065
1066
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
1066
1067
|
after: (...nodes: (string | Node)[]) => void;
|
|
1067
1068
|
before: (...nodes: (string | Node)[]) => void;
|
|
1069
|
+
remove: () => void;
|
|
1068
1070
|
replaceWith: (...nodes: (string | Node)[]) => void;
|
|
1069
1071
|
innerHTML: string;
|
|
1070
1072
|
readonly nextElementSibling: Element | null;
|
|
@@ -1085,7 +1087,6 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
1085
1087
|
<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
1086
1088
|
};
|
|
1087
1089
|
replaceChildren: (...nodes: (string | Node)[]) => void;
|
|
1088
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
|
1089
1090
|
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
1090
1091
|
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
1091
1092
|
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -1193,14 +1194,13 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1193
1194
|
style?: import("react").CSSProperties | undefined;
|
|
1194
1195
|
tabIndex?: number | undefined;
|
|
1195
1196
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
1197
|
+
accessKey?: string | undefined;
|
|
1196
1198
|
color?: string | undefined;
|
|
1197
1199
|
lang?: string | undefined;
|
|
1198
|
-
'aria-
|
|
1199
|
-
accessKey?: string | undefined;
|
|
1200
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
1200
|
+
'aria-describedby'?: string | undefined;
|
|
1201
1201
|
role?: import("react").AriaRole | undefined;
|
|
1202
|
-
'aria-
|
|
1203
|
-
'aria-
|
|
1202
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
1203
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1204
1204
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
1205
1205
|
hidden?: boolean | undefined;
|
|
1206
1206
|
translate?: "yes" | "no" | undefined;
|
|
@@ -1209,9 +1209,7 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1209
1209
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
1210
1210
|
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
1211
1211
|
nonce?: string | undefined;
|
|
1212
|
-
'aria-
|
|
1213
|
-
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
1214
|
-
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1212
|
+
'aria-label'?: string | undefined;
|
|
1215
1213
|
'aria-activedescendant'?: string | undefined;
|
|
1216
1214
|
'aria-labelledby'?: string | undefined;
|
|
1217
1215
|
defaultChecked?: boolean | undefined;
|
|
@@ -1248,7 +1246,7 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1248
1246
|
'aria-colindex'?: number | undefined;
|
|
1249
1247
|
'aria-colspan'?: number | undefined;
|
|
1250
1248
|
'aria-controls'?: string | undefined;
|
|
1251
|
-
'aria-current'?: boolean | "true" | "time" | "
|
|
1249
|
+
'aria-current'?: boolean | "true" | "time" | "page" | "false" | "step" | "location" | "date" | undefined;
|
|
1252
1250
|
'aria-details'?: string | undefined;
|
|
1253
1251
|
'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
1254
1252
|
'aria-errormessage'?: string | undefined;
|
|
@@ -1256,16 +1254,19 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1256
1254
|
'aria-flowto'?: string | undefined;
|
|
1257
1255
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
1258
1256
|
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "grid" | "tree" | undefined;
|
|
1257
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
1259
1258
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
1260
1259
|
'aria-keyshortcuts'?: string | undefined;
|
|
1261
1260
|
'aria-level'?: number | undefined;
|
|
1262
1261
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
1262
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
1263
1263
|
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
1264
1264
|
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
1265
1265
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
1266
1266
|
'aria-owns'?: string | undefined;
|
|
1267
1267
|
'aria-placeholder'?: string | undefined;
|
|
1268
1268
|
'aria-posinset'?: number | undefined;
|
|
1269
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1269
1270
|
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
1270
1271
|
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
1271
1272
|
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
@@ -1459,14 +1460,24 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1459
1460
|
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
1460
1461
|
autofocus: boolean;
|
|
1461
1462
|
normalize: () => void;
|
|
1463
|
+
addEventListener: {
|
|
1464
|
+
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
1465
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
1466
|
+
};
|
|
1467
|
+
dispatchEvent: (event: Event) => boolean;
|
|
1468
|
+
removeEventListener: {
|
|
1469
|
+
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
1470
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
1471
|
+
};
|
|
1472
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
1462
1473
|
shadowRoot: ShadowRoot;
|
|
1474
|
+
readonly parentElement: HTMLElement | null;
|
|
1463
1475
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
1464
|
-
remove: () => void;
|
|
1465
1476
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
1466
1477
|
selected: string[];
|
|
1467
1478
|
value: string;
|
|
1468
|
-
disconnectedCallback: () => void;
|
|
1469
1479
|
connectedCallback: () => void;
|
|
1480
|
+
disconnectedCallback: () => void;
|
|
1470
1481
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
1471
1482
|
isUpdatePending: boolean;
|
|
1472
1483
|
hasUpdated: boolean;
|
|
@@ -1487,14 +1498,6 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1487
1498
|
outerText: string;
|
|
1488
1499
|
spellcheck: boolean;
|
|
1489
1500
|
attachInternals: () => ElementInternals;
|
|
1490
|
-
addEventListener: {
|
|
1491
|
-
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
1492
|
-
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
1493
|
-
};
|
|
1494
|
-
removeEventListener: {
|
|
1495
|
-
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
1496
|
-
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
1497
|
-
};
|
|
1498
1501
|
readonly classList: DOMTokenList;
|
|
1499
1502
|
readonly clientHeight: number;
|
|
1500
1503
|
readonly clientLeft: number;
|
|
@@ -1573,7 +1576,6 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1573
1576
|
readonly nodeName: string;
|
|
1574
1577
|
readonly nodeType: number;
|
|
1575
1578
|
nodeValue: string | null;
|
|
1576
|
-
readonly parentElement: HTMLElement | null;
|
|
1577
1579
|
readonly parentNode: ParentNode | null;
|
|
1578
1580
|
readonly previousSibling: ChildNode | null;
|
|
1579
1581
|
textContent: string | null;
|
|
@@ -1609,7 +1611,6 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1609
1611
|
readonly NOTATION_NODE: number;
|
|
1610
1612
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
1611
1613
|
readonly TEXT_NODE: number;
|
|
1612
|
-
dispatchEvent: (event: Event) => boolean;
|
|
1613
1614
|
ariaAtomic: string | null;
|
|
1614
1615
|
ariaAutoComplete: string | null;
|
|
1615
1616
|
ariaBusy: string | null;
|
|
@@ -1648,6 +1649,7 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1648
1649
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
1649
1650
|
after: (...nodes: (string | Node)[]) => void;
|
|
1650
1651
|
before: (...nodes: (string | Node)[]) => void;
|
|
1652
|
+
remove: () => void;
|
|
1651
1653
|
replaceWith: (...nodes: (string | Node)[]) => void;
|
|
1652
1654
|
innerHTML: string;
|
|
1653
1655
|
readonly nextElementSibling: Element | null;
|
|
@@ -1668,7 +1670,6 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1668
1670
|
<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
1669
1671
|
};
|
|
1670
1672
|
replaceChildren: (...nodes: (string | Node)[]) => void;
|
|
1671
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
|
1672
1673
|
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
1673
1674
|
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
1674
1675
|
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -1766,11 +1767,11 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1766
1767
|
readonly dataset: DOMStringMap;
|
|
1767
1768
|
isLTR: boolean;
|
|
1768
1769
|
hasVisibleFocusInTree: () => boolean;
|
|
1770
|
+
closeDescendentOverlays: () => void;
|
|
1769
1771
|
selects: "inherit" | "single" | "multiple" | undefined;
|
|
1770
1772
|
valueSeparator: string;
|
|
1771
1773
|
selectedItems: import("menu/src").MenuItem[];
|
|
1772
1774
|
menuSlot: HTMLSlotElement;
|
|
1773
|
-
isSubmenu: boolean;
|
|
1774
1775
|
focusedItemIndex: number;
|
|
1775
1776
|
focusInItemIndex: number;
|
|
1776
1777
|
readonly childItems: import("menu/src").MenuItem[];
|
|
@@ -1779,6 +1780,7 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1779
1780
|
startListeningToKeyboard: () => void;
|
|
1780
1781
|
handleFocusout: (event: FocusEvent) => void;
|
|
1781
1782
|
stopListeningToKeyboard: () => void;
|
|
1783
|
+
handleSubmenuOpened: (event: Event) => void;
|
|
1782
1784
|
selectOrToggleItem: (targetItem: import("menu/src").MenuItem) => Promise<void>;
|
|
1783
1785
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
1784
1786
|
focusMenuItemByOffset: (offset: number) => import("menu/src").MenuItem;
|
|
@@ -1797,14 +1799,13 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
1797
1799
|
style?: import("react").CSSProperties | undefined;
|
|
1798
1800
|
tabIndex?: number | undefined;
|
|
1799
1801
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
1802
|
+
accessKey?: string | undefined;
|
|
1800
1803
|
color?: string | undefined;
|
|
1801
1804
|
lang?: string | undefined;
|
|
1802
|
-
'aria-
|
|
1803
|
-
accessKey?: string | undefined;
|
|
1804
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
1805
|
+
'aria-describedby'?: string | undefined;
|
|
1805
1806
|
role?: import("react").AriaRole | undefined;
|
|
1806
|
-
'aria-
|
|
1807
|
-
'aria-
|
|
1807
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
1808
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1808
1809
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
1809
1810
|
hidden?: boolean | undefined;
|
|
1810
1811
|
translate?: "yes" | "no" | undefined;
|
|
@@ -1813,9 +1814,7 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
1813
1814
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
1814
1815
|
inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
1815
1816
|
nonce?: string | undefined;
|
|
1816
|
-
'aria-
|
|
1817
|
-
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
1818
|
-
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1817
|
+
'aria-label'?: string | undefined;
|
|
1819
1818
|
'aria-activedescendant'?: string | undefined;
|
|
1820
1819
|
'aria-labelledby'?: string | undefined;
|
|
1821
1820
|
defaultChecked?: boolean | undefined;
|
|
@@ -1852,7 +1851,7 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
1852
1851
|
'aria-colindex'?: number | undefined;
|
|
1853
1852
|
'aria-colspan'?: number | undefined;
|
|
1854
1853
|
'aria-controls'?: string | undefined;
|
|
1855
|
-
'aria-current'?: boolean | "true" | "time" | "
|
|
1854
|
+
'aria-current'?: boolean | "true" | "time" | "page" | "false" | "step" | "location" | "date" | undefined;
|
|
1856
1855
|
'aria-details'?: string | undefined;
|
|
1857
1856
|
'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
1858
1857
|
'aria-errormessage'?: string | undefined;
|
|
@@ -1860,16 +1859,19 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
1860
1859
|
'aria-flowto'?: string | undefined;
|
|
1861
1860
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
1862
1861
|
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "grid" | "tree" | undefined;
|
|
1862
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
1863
1863
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
1864
1864
|
'aria-keyshortcuts'?: string | undefined;
|
|
1865
1865
|
'aria-level'?: number | undefined;
|
|
1866
1866
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
1867
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
1867
1868
|
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
1868
1869
|
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
1869
1870
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
1870
1871
|
'aria-owns'?: string | undefined;
|
|
1871
1872
|
'aria-placeholder'?: string | undefined;
|
|
1872
1873
|
'aria-posinset'?: number | undefined;
|
|
1874
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1873
1875
|
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
1874
1876
|
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
1875
1877
|
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
@@ -2068,16 +2070,44 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
2068
2070
|
disabled: boolean;
|
|
2069
2071
|
autofocus: boolean;
|
|
2070
2072
|
normalize: () => void;
|
|
2071
|
-
|
|
2073
|
+
addEventListener: {
|
|
2074
|
+
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
2075
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
2076
|
+
};
|
|
2077
|
+
dispatchEvent: (event: Event) => boolean;
|
|
2078
|
+
removeEventListener: {
|
|
2079
|
+
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
2080
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
2081
|
+
};
|
|
2072
2082
|
open: boolean;
|
|
2083
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
2084
|
+
shadowRoot: ShadowRoot;
|
|
2085
|
+
readonly parentElement: HTMLElement | null;
|
|
2073
2086
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
2074
|
-
active: boolean;
|
|
2075
|
-
remove: () => void;
|
|
2076
2087
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
2088
|
+
active: boolean;
|
|
2089
|
+
focused: boolean;
|
|
2077
2090
|
selected: boolean;
|
|
2078
2091
|
value: string;
|
|
2079
|
-
|
|
2092
|
+
hasSubmenu: boolean;
|
|
2093
|
+
noWrap: boolean;
|
|
2094
|
+
overlayElement: import("overlay/src/OverlayBase").OverlayBase;
|
|
2095
|
+
readonly itemText: string;
|
|
2096
|
+
readonly focusElement: HTMLElement;
|
|
2097
|
+
readonly itemChildren: import("menu/src").MenuItemChildren;
|
|
2098
|
+
closeOverlay?: (() => Promise<void>) | undefined;
|
|
2099
|
+
openOverlay: () => Promise<void>;
|
|
2100
|
+
updateAriaSelected: () => void;
|
|
2101
|
+
setRole: (role: string) => void;
|
|
2080
2102
|
connectedCallback: () => void;
|
|
2103
|
+
_parentElement: HTMLElement;
|
|
2104
|
+
disconnectedCallback: () => void;
|
|
2105
|
+
triggerUpdate: () => Promise<void>;
|
|
2106
|
+
menuData: {
|
|
2107
|
+
focusRoot?: import("menu/src").Menu | undefined;
|
|
2108
|
+
parentMenu?: import("menu/src").Menu | undefined;
|
|
2109
|
+
selectionRoot?: import("menu/src").Menu | undefined;
|
|
2110
|
+
};
|
|
2081
2111
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
2082
2112
|
isUpdatePending: boolean;
|
|
2083
2113
|
hasUpdated: boolean;
|
|
@@ -2098,14 +2128,6 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
2098
2128
|
outerText: string;
|
|
2099
2129
|
spellcheck: boolean;
|
|
2100
2130
|
attachInternals: () => ElementInternals;
|
|
2101
|
-
addEventListener: {
|
|
2102
|
-
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
2103
|
-
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
2104
|
-
};
|
|
2105
|
-
removeEventListener: {
|
|
2106
|
-
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
2107
|
-
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
2108
|
-
};
|
|
2109
2131
|
readonly classList: DOMTokenList;
|
|
2110
2132
|
readonly clientHeight: number;
|
|
2111
2133
|
readonly clientLeft: number;
|
|
@@ -2184,7 +2206,6 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
2184
2206
|
readonly nodeName: string;
|
|
2185
2207
|
readonly nodeType: number;
|
|
2186
2208
|
nodeValue: string | null;
|
|
2187
|
-
readonly parentElement: HTMLElement | null;
|
|
2188
2209
|
readonly parentNode: ParentNode | null;
|
|
2189
2210
|
readonly previousSibling: ChildNode | null;
|
|
2190
2211
|
textContent: string | null;
|
|
@@ -2220,7 +2241,6 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
2220
2241
|
readonly NOTATION_NODE: number;
|
|
2221
2242
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
2222
2243
|
readonly TEXT_NODE: number;
|
|
2223
|
-
dispatchEvent: (event: Event) => boolean;
|
|
2224
2244
|
ariaAtomic: string | null;
|
|
2225
2245
|
ariaAutoComplete: string | null;
|
|
2226
2246
|
ariaBusy: string | null;
|
|
@@ -2259,6 +2279,7 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
2259
2279
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
2260
2280
|
after: (...nodes: (string | Node)[]) => void;
|
|
2261
2281
|
before: (...nodes: (string | Node)[]) => void;
|
|
2282
|
+
remove: () => void;
|
|
2262
2283
|
replaceWith: (...nodes: (string | Node)[]) => void;
|
|
2263
2284
|
innerHTML: string;
|
|
2264
2285
|
readonly nextElementSibling: Element | null;
|
|
@@ -2279,7 +2300,6 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
2279
2300
|
<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
2280
2301
|
};
|
|
2281
2302
|
replaceChildren: (...nodes: (string | Node)[]) => void;
|
|
2282
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
|
2283
2303
|
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2284
2304
|
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
2285
2305
|
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -2377,22 +2397,6 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
2377
2397
|
readonly dataset: DOMStringMap;
|
|
2378
2398
|
isLTR: boolean;
|
|
2379
2399
|
hasVisibleFocusInTree: () => boolean;
|
|
2380
|
-
focused: boolean;
|
|
2381
|
-
hasSubmenu: boolean;
|
|
2382
|
-
noWrap: boolean;
|
|
2383
|
-
readonly itemText: string;
|
|
2384
|
-
readonly focusElement: HTMLElement;
|
|
2385
|
-
readonly itemChildren: import("menu/src").MenuItemChildren;
|
|
2386
|
-
closeOverlay?: (() => Promise<void>) | undefined;
|
|
2387
|
-
openOverlay: () => Promise<void>;
|
|
2388
|
-
updateAriaSelected: () => void;
|
|
2389
|
-
setRole: (role: string) => void;
|
|
2390
|
-
_parentElement: HTMLElement;
|
|
2391
|
-
triggerUpdate: () => Promise<void>;
|
|
2392
|
-
menuData: {
|
|
2393
|
-
focusRoot?: import("menu/src").Menu | undefined;
|
|
2394
|
-
selectionRoot?: import("menu/src").Menu | undefined;
|
|
2395
|
-
};
|
|
2396
2400
|
renderAnchor: (options: {
|
|
2397
2401
|
id: string;
|
|
2398
2402
|
className?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/menu",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.1-overlay.33+8b9227d00",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@lit-labs/react": "^1.1.1",
|
|
33
|
-
"@spectrum-web-components/menu": "^0.32.
|
|
33
|
+
"@spectrum-web-components/menu": "^0.32.1-overlay.33+8b9227d00"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"next": "~13.4"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"optional": true
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "8b9227d00900eacee1c6d194064f10062f27ab3e"
|
|
44
44
|
}
|