@swc-react/action-menu 0.35.0 → 0.35.1-rc.26
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 +32 -37
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -8,33 +8,30 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
8
8
|
tabIndex?: number | undefined;
|
|
9
9
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
10
10
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
11
|
-
hidden?: boolean | undefined;
|
|
12
|
-
rel?: string | undefined;
|
|
13
|
-
id?: string | undefined;
|
|
14
|
-
className?: string | undefined;
|
|
15
|
-
color?: string | undefined;
|
|
16
|
-
lang?: string | undefined;
|
|
17
|
-
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
18
11
|
accessKey?: string | undefined;
|
|
19
|
-
role?: import("react").AriaRole | undefined;
|
|
20
|
-
'aria-label'?: string | undefined;
|
|
21
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "grid" | "tree" | undefined;
|
|
22
|
-
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
23
|
-
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
24
12
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
13
|
+
hidden?: boolean | undefined;
|
|
14
|
+
lang?: string | undefined;
|
|
25
15
|
translate?: "yes" | "no" | undefined;
|
|
16
|
+
className?: string | undefined;
|
|
17
|
+
id?: string | undefined;
|
|
26
18
|
prefix?: string | undefined;
|
|
27
19
|
children?: import("react").ReactNode;
|
|
28
20
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
29
21
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
30
22
|
nonce?: string | undefined;
|
|
31
23
|
'aria-describedby'?: string | undefined;
|
|
32
|
-
|
|
24
|
+
rel?: string | undefined;
|
|
25
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | "grid" | undefined;
|
|
26
|
+
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
27
|
+
role?: import("react").AriaRole | undefined;
|
|
33
28
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
34
29
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
30
|
+
'aria-label'?: string | undefined;
|
|
35
31
|
'aria-activedescendant'?: string | undefined;
|
|
36
32
|
'aria-labelledby'?: string | undefined;
|
|
37
33
|
placeholder?: string | undefined;
|
|
34
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
38
35
|
defaultChecked?: boolean | undefined;
|
|
39
36
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
40
37
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -55,6 +52,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
55
52
|
autoCapitalize?: string | undefined;
|
|
56
53
|
autoCorrect?: string | undefined;
|
|
57
54
|
autoSave?: string | undefined;
|
|
55
|
+
color?: string | undefined;
|
|
58
56
|
itemProp?: string | undefined;
|
|
59
57
|
itemScope?: boolean | undefined;
|
|
60
58
|
itemType?: string | undefined;
|
|
@@ -73,6 +71,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
73
71
|
'aria-colindex'?: number | undefined;
|
|
74
72
|
'aria-colindextext'?: string | undefined;
|
|
75
73
|
'aria-colspan'?: number | undefined;
|
|
74
|
+
'aria-controls'?: string | undefined;
|
|
76
75
|
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
77
76
|
'aria-description'?: string | undefined;
|
|
78
77
|
'aria-details'?: string | undefined;
|
|
@@ -84,6 +83,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
84
83
|
'aria-keyshortcuts'?: string | undefined;
|
|
85
84
|
'aria-level'?: number | undefined;
|
|
86
85
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
86
|
+
'aria-modal'?: (boolean | "true" | "false") | undefined;
|
|
87
87
|
'aria-multiline'?: (boolean | "true" | "false") | undefined;
|
|
88
88
|
'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
|
|
89
89
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
|
@@ -289,25 +289,13 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
289
289
|
disabled: boolean;
|
|
290
290
|
autofocus: boolean;
|
|
291
291
|
normalize: () => void;
|
|
292
|
-
readonly target: HTMLButtonElement | import("action-menu/src").ActionMenu;
|
|
293
|
-
ariaHidden: string | null;
|
|
294
|
-
shadowRoot: ShadowRoot;
|
|
295
|
-
open: boolean;
|
|
296
|
-
readonly renderOptions: import("lit-html").RenderOptions;
|
|
297
|
-
placement: import("overlay/src").Placement;
|
|
298
|
-
overlayOpenCallback: () => Promise<void>;
|
|
299
|
-
remove: () => void;
|
|
300
|
-
slotHasContent: boolean;
|
|
301
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
302
|
-
quiet: boolean;
|
|
303
|
-
value: string;
|
|
304
|
-
disconnectedCallback: () => void;
|
|
305
|
-
connectedCallback: () => void;
|
|
306
292
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
307
293
|
isUpdatePending: boolean;
|
|
308
294
|
hasUpdated: boolean;
|
|
309
295
|
addController: (controller: import("lit").ReactiveController) => void;
|
|
310
296
|
removeController: (controller: import("lit").ReactiveController) => void;
|
|
297
|
+
connectedCallback: () => void;
|
|
298
|
+
disconnectedCallback: () => void;
|
|
311
299
|
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
312
300
|
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
313
301
|
readonly updateComplete: Promise<boolean>;
|
|
@@ -346,6 +334,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
346
334
|
scrollLeft: number;
|
|
347
335
|
scrollTop: number;
|
|
348
336
|
readonly scrollWidth: number;
|
|
337
|
+
shadowRoot: ShadowRoot;
|
|
349
338
|
readonly tagName: string;
|
|
350
339
|
attachShadow: (init: ShadowRootInit) => ShadowRoot;
|
|
351
340
|
closest: {
|
|
@@ -402,6 +391,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
402
391
|
toggleAttribute: (qualifiedName: string, force?: boolean | undefined) => boolean;
|
|
403
392
|
webkitMatchesSelector: (selectors: string) => boolean;
|
|
404
393
|
readonly baseURI: string;
|
|
394
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
405
395
|
readonly firstChild: ChildNode | null;
|
|
406
396
|
readonly isConnected: boolean;
|
|
407
397
|
readonly lastChild: ChildNode | null;
|
|
@@ -457,6 +447,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
457
447
|
ariaDisabled: string | null;
|
|
458
448
|
ariaExpanded: string | null;
|
|
459
449
|
ariaHasPopup: string | null;
|
|
450
|
+
ariaHidden: string | null;
|
|
460
451
|
ariaKeyShortcuts: string | null;
|
|
461
452
|
ariaLabel: string | null;
|
|
462
453
|
ariaLevel: string | null;
|
|
@@ -484,6 +475,7 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
484
475
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
485
476
|
after: (...nodes: (string | Node)[]) => void;
|
|
486
477
|
before: (...nodes: (string | Node)[]) => void;
|
|
478
|
+
remove: () => void;
|
|
487
479
|
replaceWith: (...nodes: (string | Node)[]) => void;
|
|
488
480
|
innerHTML: string;
|
|
489
481
|
readonly nextElementSibling: Element | null;
|
|
@@ -600,25 +592,28 @@ export declare const ActionMenu: import("react").ComponentType<Partial<{
|
|
|
600
592
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
601
593
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
602
594
|
readonly dataset: DOMStringMap;
|
|
603
|
-
|
|
604
|
-
|
|
595
|
+
placement: import("@floating-ui/utils").Placement;
|
|
596
|
+
open: boolean;
|
|
597
|
+
readonly renderOptions: import("lit-html").RenderOptions;
|
|
605
598
|
focused: boolean;
|
|
599
|
+
value: string;
|
|
606
600
|
readonly focusElement: HTMLElement;
|
|
601
|
+
isLTR: boolean;
|
|
602
|
+
hasVisibleFocusInTree: () => boolean;
|
|
607
603
|
selects: "single" | undefined;
|
|
608
604
|
appliedLabel?: string | undefined;
|
|
609
605
|
icons?: "none" | "only" | undefined;
|
|
610
606
|
readonly: boolean;
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
607
|
+
quiet: boolean;
|
|
608
|
+
selectedItem: import("menu/src").MenuItem | undefined;
|
|
609
|
+
_selectedItem?: import("menu/src").MenuItem | undefined;
|
|
614
610
|
forceFocusVisible: () => void;
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
onButtonFocus: () => void;
|
|
611
|
+
handleButtonBlur: () => void;
|
|
612
|
+
handleHelperFocus: () => void;
|
|
618
613
|
handleChange: (event: Event) => void;
|
|
619
|
-
|
|
620
|
-
overlayCloseCallback: () => Promise<void>;
|
|
614
|
+
_selectedItemContent?: import("menu/src").MenuItemChildren | undefined;
|
|
621
615
|
applyFocusElementLabel: (value?: string | undefined) => void;
|
|
616
|
+
slotHasContent: boolean;
|
|
622
617
|
manageTextObservedSlot: () => void;
|
|
623
618
|
} & {
|
|
624
619
|
change: (e: Event) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/action-menu",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.1-rc.26+05bd08374",
|
|
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/action-menu": "^0.35.
|
|
33
|
+
"@spectrum-web-components/action-menu": "^0.35.1-rc.26+05bd08374"
|
|
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": "05bd0837417e287acdf2685d1ca05ab4d138fc95"
|
|
44
44
|
}
|