@swc-react/action-button 0.34.1-rc.0 → 0.35.1-rc.15
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 +40 -30
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
5
|
+
rel?: string | undefined;
|
|
4
6
|
id?: string | undefined;
|
|
5
7
|
className?: string | undefined;
|
|
6
8
|
slot?: string | undefined;
|
|
@@ -8,8 +10,19 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
8
10
|
title?: string | undefined;
|
|
9
11
|
tabIndex?: number | undefined;
|
|
10
12
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
13
|
+
accessKey?: string | undefined;
|
|
14
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
15
|
+
hidden?: boolean | undefined;
|
|
16
|
+
lang?: string | undefined;
|
|
17
|
+
translate?: "yes" | "no" | undefined;
|
|
18
|
+
prefix?: string | undefined;
|
|
19
|
+
children?: import("react").ReactNode;
|
|
20
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
21
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
22
|
+
nonce?: string | undefined;
|
|
11
23
|
role?: import("react").AriaRole | undefined;
|
|
12
24
|
'aria-label'?: string | undefined;
|
|
25
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
13
26
|
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
14
27
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
15
28
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
@@ -17,23 +30,18 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
17
30
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
18
31
|
suppressContentEditableWarning?: boolean | undefined;
|
|
19
32
|
suppressHydrationWarning?: boolean | undefined;
|
|
20
|
-
|
|
21
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
33
|
+
autoFocus?: boolean | undefined;
|
|
22
34
|
contextMenu?: string | undefined;
|
|
23
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
24
|
-
hidden?: boolean | undefined;
|
|
25
|
-
lang?: string | undefined;
|
|
26
|
-
nonce?: string | undefined;
|
|
27
35
|
placeholder?: string | undefined;
|
|
28
36
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
29
|
-
translate?: "yes" | "no" | undefined;
|
|
30
37
|
radioGroup?: string | undefined;
|
|
31
38
|
about?: string | undefined;
|
|
39
|
+
content?: string | undefined;
|
|
32
40
|
datatype?: string | undefined;
|
|
33
41
|
inlist?: any;
|
|
34
|
-
prefix?: string | undefined;
|
|
35
42
|
property?: string | undefined;
|
|
36
43
|
resource?: string | undefined;
|
|
44
|
+
rev?: string | undefined;
|
|
37
45
|
typeof?: string | undefined;
|
|
38
46
|
vocab?: string | undefined;
|
|
39
47
|
autoCapitalize?: string | undefined;
|
|
@@ -48,25 +56,27 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
48
56
|
results?: number | undefined;
|
|
49
57
|
security?: string | undefined;
|
|
50
58
|
unselectable?: "on" | "off" | undefined;
|
|
51
|
-
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
52
59
|
is?: string | undefined;
|
|
53
60
|
'aria-activedescendant'?: string | undefined;
|
|
54
61
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
55
62
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
63
|
+
'aria-braillelabel'?: string | undefined;
|
|
64
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
56
65
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
57
66
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
58
67
|
'aria-colcount'?: number | undefined;
|
|
59
68
|
'aria-colindex'?: number | undefined;
|
|
69
|
+
'aria-colindextext'?: string | undefined;
|
|
60
70
|
'aria-colspan'?: number | undefined;
|
|
61
71
|
'aria-controls'?: string | undefined;
|
|
62
72
|
'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
63
73
|
'aria-describedby'?: string | undefined;
|
|
74
|
+
'aria-description'?: string | undefined;
|
|
64
75
|
'aria-details'?: string | undefined;
|
|
65
76
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
66
77
|
'aria-errormessage'?: string | undefined;
|
|
67
78
|
'aria-flowto'?: string | undefined;
|
|
68
79
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
69
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
70
80
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
71
81
|
'aria-keyshortcuts'?: string | undefined;
|
|
72
82
|
'aria-labelledby'?: string | undefined;
|
|
@@ -85,6 +95,7 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
85
95
|
'aria-roledescription'?: string | undefined;
|
|
86
96
|
'aria-rowcount'?: number | undefined;
|
|
87
97
|
'aria-rowindex'?: number | undefined;
|
|
98
|
+
'aria-rowindextext'?: string | undefined;
|
|
88
99
|
'aria-rowspan'?: number | undefined;
|
|
89
100
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
90
101
|
'aria-setsize'?: number | undefined;
|
|
@@ -93,9 +104,8 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
93
104
|
'aria-valuemin'?: number | undefined;
|
|
94
105
|
'aria-valuenow'?: number | undefined;
|
|
95
106
|
'aria-valuetext'?: string | undefined;
|
|
96
|
-
children?: import("react").ReactNode;
|
|
97
107
|
dangerouslySetInnerHTML?: {
|
|
98
|
-
__html: string;
|
|
108
|
+
__html: string | TrustedHTML;
|
|
99
109
|
} | undefined;
|
|
100
110
|
onCopy?: import("react").ClipboardEventHandler<import("action-button/src").ActionButton> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("action-button/src").ActionButton> | undefined;
|
|
@@ -268,7 +278,6 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
268
278
|
label?: string | undefined;
|
|
269
279
|
href?: string | undefined;
|
|
270
280
|
target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
|
|
271
|
-
rel?: string | undefined;
|
|
272
281
|
ariaHidden: string | null;
|
|
273
282
|
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
274
283
|
blur: () => void;
|
|
@@ -284,13 +293,16 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
284
293
|
slotHasContent: boolean;
|
|
285
294
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
286
295
|
active: boolean;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
296
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
297
|
+
isUpdatePending: boolean;
|
|
298
|
+
hasUpdated: boolean;
|
|
299
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
300
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
301
|
+
connectedCallback: () => void;
|
|
302
|
+
disconnectedCallback: () => void;
|
|
303
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
304
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
305
|
+
readonly updateComplete: Promise<boolean>;
|
|
294
306
|
readonly accessKeyLabel: string;
|
|
295
307
|
autocapitalize: string;
|
|
296
308
|
inert: boolean;
|
|
@@ -582,20 +594,18 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
582
594
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
583
595
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
584
596
|
readonly dataset: DOMStringMap;
|
|
597
|
+
variant?: "white" | "black" | undefined;
|
|
598
|
+
static?: "white" | "black" | undefined;
|
|
599
|
+
quiet: boolean;
|
|
600
|
+
emphasized: boolean;
|
|
601
|
+
holdAffordance: boolean;
|
|
602
|
+
selected: boolean;
|
|
603
|
+
toggles: boolean;
|
|
604
|
+
value: string;
|
|
585
605
|
readonly itemText: string;
|
|
586
606
|
readonly focusElement: HTMLElement;
|
|
587
607
|
renderAnchor: () => import("lit-html").TemplateResult<2 | 1>;
|
|
588
|
-
connectedCallback: () => void;
|
|
589
608
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
590
|
-
disconnectedCallback: () => void;
|
|
591
|
-
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
592
|
-
isUpdatePending: boolean;
|
|
593
|
-
hasUpdated: boolean;
|
|
594
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
595
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
596
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
597
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
598
|
-
readonly updateComplete: Promise<boolean>;
|
|
599
609
|
isLTR: boolean;
|
|
600
610
|
hasVisibleFocusInTree: () => boolean;
|
|
601
611
|
manageTextObservedSlot: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/action-button",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.1-rc.15+9b76319e4",
|
|
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-button": "^0.
|
|
33
|
+
"@spectrum-web-components/action-button": "^0.35.1-rc.15+9b76319e4"
|
|
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": "9b76319e4f1cc7cb0dd03e9d9debf544e5bed4e9"
|
|
44
44
|
}
|