@swc-react/action-menu 0.33.2 → 0.33.3-overlay.61
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 +33 -33
- package/package.json +6 -6
package/next.d.ts
CHANGED
|
@@ -7,16 +7,15 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
7
7
|
tabIndex?: number | undefined;
|
|
8
8
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
9
9
|
hidden?: boolean | undefined;
|
|
10
|
-
|
|
11
|
-
className?: string | undefined;
|
|
10
|
+
accessKey?: string | undefined;
|
|
12
11
|
color?: string | undefined;
|
|
13
12
|
lang?: string | undefined;
|
|
14
|
-
'aria-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
'aria-describedby'?: string | undefined;
|
|
14
|
+
id?: string | undefined;
|
|
15
|
+
className?: string | undefined;
|
|
17
16
|
role?: import("react").AriaRole | undefined;
|
|
18
|
-
'aria-
|
|
19
|
-
'aria-
|
|
17
|
+
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
18
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
20
19
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
21
20
|
translate?: "yes" | "no" | undefined;
|
|
22
21
|
prefix?: string | undefined;
|
|
@@ -24,12 +23,11 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
24
23
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
25
24
|
inputMode?: "text" | "search" | "none" | "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
|
placeholder?: string | undefined;
|
|
30
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
33
31
|
defaultChecked?: boolean | undefined;
|
|
34
32
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
35
33
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -71,10 +69,12 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
71
69
|
'aria-flowto'?: string | undefined;
|
|
72
70
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
73
71
|
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "grid" | "tree" | undefined;
|
|
72
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
74
73
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
75
74
|
'aria-keyshortcuts'?: string | undefined;
|
|
76
75
|
'aria-level'?: number | undefined;
|
|
77
76
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
77
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
78
78
|
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
79
79
|
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
80
80
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
@@ -279,20 +279,30 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
279
279
|
disabled: boolean;
|
|
280
280
|
autofocus: boolean;
|
|
281
281
|
normalize: () => void;
|
|
282
|
+
addEventListener: {
|
|
283
|
+
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
284
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
285
|
+
};
|
|
286
|
+
dispatchEvent: (event: Event) => boolean;
|
|
287
|
+
removeEventListener: {
|
|
288
|
+
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
289
|
+
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
290
|
+
};
|
|
282
291
|
readonly target: HTMLButtonElement | import("action-menu/src").ActionMenu;
|
|
283
|
-
ariaHidden: string | null;
|
|
284
|
-
shadowRoot: ShadowRoot;
|
|
285
292
|
open: boolean;
|
|
293
|
+
readonly assignedSlot: HTMLSlotElement | null;
|
|
294
|
+
placement: import("@floating-ui/core").Placement;
|
|
295
|
+
shadowRoot: ShadowRoot;
|
|
296
|
+
readonly parentElement: HTMLElement | null;
|
|
286
297
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
287
|
-
|
|
288
|
-
overlayOpenCallback: () => Promise<void>;
|
|
289
|
-
remove: () => void;
|
|
298
|
+
ariaHidden: string | null;
|
|
290
299
|
slotHasContent: boolean;
|
|
291
300
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
292
|
-
|
|
301
|
+
focused: boolean;
|
|
293
302
|
value: string;
|
|
294
|
-
|
|
303
|
+
readonly focusElement: HTMLElement;
|
|
295
304
|
connectedCallback: () => void;
|
|
305
|
+
disconnectedCallback: () => void;
|
|
296
306
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
297
307
|
isUpdatePending: boolean;
|
|
298
308
|
hasUpdated: boolean;
|
|
@@ -313,14 +323,6 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
313
323
|
outerText: string;
|
|
314
324
|
spellcheck: boolean;
|
|
315
325
|
attachInternals: () => ElementInternals;
|
|
316
|
-
addEventListener: {
|
|
317
|
-
<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
318
|
-
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
|
|
319
|
-
};
|
|
320
|
-
removeEventListener: {
|
|
321
|
-
<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
|
|
322
|
-
(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
|
|
323
|
-
};
|
|
324
326
|
readonly classList: DOMTokenList;
|
|
325
327
|
readonly clientHeight: number;
|
|
326
328
|
readonly clientLeft: number;
|
|
@@ -399,7 +401,6 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
399
401
|
readonly nodeName: string;
|
|
400
402
|
readonly nodeType: number;
|
|
401
403
|
nodeValue: string | null;
|
|
402
|
-
readonly parentElement: HTMLElement | null;
|
|
403
404
|
readonly parentNode: ParentNode | null;
|
|
404
405
|
readonly previousSibling: ChildNode | null;
|
|
405
406
|
textContent: string | null;
|
|
@@ -435,7 +436,6 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
435
436
|
readonly NOTATION_NODE: number;
|
|
436
437
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
437
438
|
readonly TEXT_NODE: number;
|
|
438
|
-
dispatchEvent: (event: Event) => boolean;
|
|
439
439
|
ariaAtomic: string | null;
|
|
440
440
|
ariaAutoComplete: string | null;
|
|
441
441
|
ariaBusy: string | null;
|
|
@@ -474,6 +474,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
474
474
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
475
475
|
after: (...nodes: (string | Node)[]) => void;
|
|
476
476
|
before: (...nodes: (string | Node)[]) => void;
|
|
477
|
+
remove: () => void;
|
|
477
478
|
replaceWith: (...nodes: (string | Node)[]) => void;
|
|
478
479
|
innerHTML: string;
|
|
479
480
|
readonly nextElementSibling: Element | null;
|
|
@@ -494,7 +495,6 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
494
495
|
<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
495
496
|
};
|
|
496
497
|
replaceChildren: (...nodes: (string | Node)[]) => void;
|
|
497
|
-
readonly assignedSlot: HTMLSlotElement | null;
|
|
498
498
|
oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
499
499
|
oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
500
500
|
onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
|
|
@@ -592,21 +592,21 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
592
592
|
readonly dataset: DOMStringMap;
|
|
593
593
|
isLTR: boolean;
|
|
594
594
|
hasVisibleFocusInTree: () => boolean;
|
|
595
|
-
focused: boolean;
|
|
596
|
-
readonly focusElement: HTMLElement;
|
|
597
595
|
selects: "single" | undefined;
|
|
598
596
|
icons?: "none" | "only" | undefined;
|
|
599
597
|
readonly: boolean;
|
|
600
|
-
selectedItem?: import("menu/src").MenuItem | undefined;
|
|
601
|
-
menuItems: import("menu/src").MenuItem[];
|
|
602
598
|
optionsMenu: import("menu/src").Menu;
|
|
599
|
+
quiet: boolean;
|
|
600
|
+
selectedItem: import("menu/src").MenuItem | undefined;
|
|
601
|
+
readonly menuItems: import("menu/src").MenuItem[];
|
|
602
|
+
_selectedItem?: import("menu/src").MenuItem | undefined;
|
|
603
603
|
forceFocusVisible: () => void;
|
|
604
604
|
onButtonBlur: () => void;
|
|
605
605
|
onHelperFocus: () => void;
|
|
606
606
|
onButtonFocus: () => void;
|
|
607
607
|
handleChange: (event: Event) => void;
|
|
608
608
|
setValueFromItem: (item: import("menu/src").MenuItem, menuChangeEvent?: Event | undefined) => Promise<void>;
|
|
609
|
-
|
|
609
|
+
_selectedItemContent?: import("menu/src").MenuItemChildren | undefined;
|
|
610
610
|
manageTextObservedSlot: () => void;
|
|
611
611
|
} & {
|
|
612
612
|
change: (e: Event) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/action-menu",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.3-overlay.61+af969dcc2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
"Spectrum Web Components",
|
|
29
29
|
"@spectrum-web-components/action-menu"
|
|
30
30
|
],
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@lit-labs/react": "^1.1.1",
|
|
33
|
+
"@spectrum-web-components/action-menu": "^0.33.3-overlay.61+af969dcc2"
|
|
34
|
+
},
|
|
31
35
|
"peerDependencies": {
|
|
32
36
|
"next": "~13.4"
|
|
33
37
|
},
|
|
@@ -36,9 +40,5 @@
|
|
|
36
40
|
"optional": true
|
|
37
41
|
}
|
|
38
42
|
},
|
|
39
|
-
"
|
|
40
|
-
"@lit-labs/react": "^1.1.1",
|
|
41
|
-
"@spectrum-web-components/action-menu": "^0.33.2"
|
|
42
|
-
},
|
|
43
|
-
"gitHead": "6d5d6b3c31d92a058202a242a283125d25131f81"
|
|
43
|
+
"gitHead": "af969dcc2f8c905648b3e5a5fad982d1f81ee080"
|
|
44
44
|
}
|