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