@swc-react/action-button 0.35.1-rc.34 → 0.36.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 +28 -28
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -10,16 +10,6 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
10
10
|
title?: string | undefined;
|
|
11
11
|
tabIndex?: number | undefined;
|
|
12
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;
|
|
23
13
|
role?: import("react").AriaRole | undefined;
|
|
24
14
|
'aria-label'?: string | undefined;
|
|
25
15
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
@@ -30,15 +20,23 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
30
20
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
31
21
|
suppressContentEditableWarning?: boolean | undefined;
|
|
32
22
|
suppressHydrationWarning?: boolean | undefined;
|
|
23
|
+
accessKey?: string | undefined;
|
|
33
24
|
autoFocus?: boolean | undefined;
|
|
25
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
34
26
|
contextMenu?: string | undefined;
|
|
27
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
28
|
+
hidden?: boolean | undefined;
|
|
29
|
+
lang?: string | undefined;
|
|
30
|
+
nonce?: string | undefined;
|
|
35
31
|
placeholder?: string | undefined;
|
|
36
32
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
33
|
+
translate?: "yes" | "no" | undefined;
|
|
37
34
|
radioGroup?: string | undefined;
|
|
38
35
|
about?: string | undefined;
|
|
39
36
|
content?: string | undefined;
|
|
40
37
|
datatype?: string | undefined;
|
|
41
38
|
inlist?: any;
|
|
39
|
+
prefix?: string | undefined;
|
|
42
40
|
property?: string | undefined;
|
|
43
41
|
resource?: string | undefined;
|
|
44
42
|
rev?: string | undefined;
|
|
@@ -56,6 +54,7 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
56
54
|
results?: number | undefined;
|
|
57
55
|
security?: string | undefined;
|
|
58
56
|
unselectable?: "on" | "off" | undefined;
|
|
57
|
+
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
59
58
|
is?: string | undefined;
|
|
60
59
|
'aria-activedescendant'?: string | undefined;
|
|
61
60
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -104,6 +103,7 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
104
103
|
'aria-valuemin'?: number | undefined;
|
|
105
104
|
'aria-valuenow'?: number | undefined;
|
|
106
105
|
'aria-valuetext'?: string | undefined;
|
|
106
|
+
children?: import("react").ReactNode;
|
|
107
107
|
dangerouslySetInnerHTML?: {
|
|
108
108
|
__html: string | TrustedHTML;
|
|
109
109
|
} | undefined;
|
|
@@ -293,16 +293,14 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
293
293
|
slotHasContent: boolean;
|
|
294
294
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
295
295
|
active: boolean;
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
305
|
-
readonly updateComplete: Promise<boolean>;
|
|
296
|
+
variant?: "white" | "black" | undefined;
|
|
297
|
+
static?: "white" | "black" | undefined;
|
|
298
|
+
quiet: boolean;
|
|
299
|
+
emphasized: boolean;
|
|
300
|
+
holdAffordance: boolean;
|
|
301
|
+
selected: boolean;
|
|
302
|
+
toggles: boolean;
|
|
303
|
+
value: string;
|
|
306
304
|
readonly accessKeyLabel: string;
|
|
307
305
|
autocapitalize: string;
|
|
308
306
|
inert: boolean;
|
|
@@ -594,18 +592,20 @@ export declare const ActionButton: import("react").ComponentType<Partial<{
|
|
|
594
592
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
595
593
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
596
594
|
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;
|
|
605
595
|
readonly itemText: string;
|
|
606
596
|
readonly focusElement: HTMLElement;
|
|
607
597
|
renderAnchor: () => import("lit-html").TemplateResult<2 | 1>;
|
|
598
|
+
connectedCallback: () => void;
|
|
608
599
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
600
|
+
disconnectedCallback: () => void;
|
|
601
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
602
|
+
isUpdatePending: boolean;
|
|
603
|
+
hasUpdated: boolean;
|
|
604
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
605
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
606
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
607
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
608
|
+
readonly updateComplete: Promise<boolean>;
|
|
609
609
|
isLTR: boolean;
|
|
610
610
|
hasVisibleFocusInTree: () => boolean;
|
|
611
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.36.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/action-button": "^0.
|
|
33
|
+
"@spectrum-web-components/action-button": "^0.36.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": "a532ff8a410abeefb54d9638a2316ae82570566e"
|
|
44
44
|
}
|