@swc-react/picker-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 +34 -25
- 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 PickerButton: 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,29 +10,35 @@ export declare const PickerButton: 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
|
defaultChecked?: boolean | undefined;
|
|
14
27
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
15
28
|
suppressContentEditableWarning?: boolean | undefined;
|
|
16
29
|
suppressHydrationWarning?: boolean | undefined;
|
|
17
|
-
|
|
18
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
30
|
+
autoFocus?: boolean | undefined;
|
|
19
31
|
contextMenu?: string | undefined;
|
|
20
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
21
|
-
hidden?: boolean | undefined;
|
|
22
|
-
lang?: string | undefined;
|
|
23
|
-
nonce?: string | undefined;
|
|
24
32
|
placeholder?: string | undefined;
|
|
25
33
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
26
|
-
translate?: "yes" | "no" | undefined;
|
|
27
34
|
radioGroup?: string | undefined;
|
|
28
35
|
about?: string | undefined;
|
|
36
|
+
content?: string | undefined;
|
|
29
37
|
datatype?: string | undefined;
|
|
30
38
|
inlist?: any;
|
|
31
|
-
prefix?: string | undefined;
|
|
32
39
|
property?: string | undefined;
|
|
33
40
|
resource?: string | undefined;
|
|
41
|
+
rev?: string | undefined;
|
|
34
42
|
typeof?: string | undefined;
|
|
35
43
|
vocab?: string | undefined;
|
|
36
44
|
autoCapitalize?: string | undefined;
|
|
@@ -45,19 +53,22 @@ export declare const PickerButton: import("react").ComponentType<Partial<{
|
|
|
45
53
|
results?: number | undefined;
|
|
46
54
|
security?: string | undefined;
|
|
47
55
|
unselectable?: "on" | "off" | undefined;
|
|
48
|
-
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
49
56
|
is?: string | undefined;
|
|
50
57
|
'aria-activedescendant'?: string | undefined;
|
|
51
58
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
52
59
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
60
|
+
'aria-braillelabel'?: string | undefined;
|
|
61
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
53
62
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
54
63
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
55
64
|
'aria-colcount'?: number | undefined;
|
|
56
65
|
'aria-colindex'?: number | undefined;
|
|
66
|
+
'aria-colindextext'?: string | undefined;
|
|
57
67
|
'aria-colspan'?: number | undefined;
|
|
58
68
|
'aria-controls'?: string | undefined;
|
|
59
69
|
'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
60
70
|
'aria-describedby'?: string | undefined;
|
|
71
|
+
'aria-description'?: string | undefined;
|
|
61
72
|
'aria-details'?: string | undefined;
|
|
62
73
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
63
74
|
'aria-errormessage'?: string | undefined;
|
|
@@ -65,7 +76,6 @@ export declare const PickerButton: import("react").ComponentType<Partial<{
|
|
|
65
76
|
'aria-flowto'?: string | undefined;
|
|
66
77
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
67
78
|
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
68
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
69
79
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
70
80
|
'aria-keyshortcuts'?: string | undefined;
|
|
71
81
|
'aria-labelledby'?: string | undefined;
|
|
@@ -85,6 +95,7 @@ export declare const PickerButton: 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 PickerButton: 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("picker-button/src").PickerButton> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("picker-button/src").PickerButton> | undefined;
|
|
@@ -268,7 +278,6 @@ export declare const PickerButton: 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;
|
|
@@ -285,8 +294,16 @@ export declare const PickerButton: import("react").ComponentType<Partial<{
|
|
|
285
294
|
slotHasContent: boolean;
|
|
286
295
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
287
296
|
active: boolean;
|
|
288
|
-
|
|
289
|
-
|
|
297
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
298
|
+
isUpdatePending: boolean;
|
|
299
|
+
hasUpdated: boolean;
|
|
300
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
301
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
302
|
+
connectedCallback: () => void;
|
|
303
|
+
disconnectedCallback: () => void;
|
|
304
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
305
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
306
|
+
readonly updateComplete: Promise<boolean>;
|
|
290
307
|
readonly accessKeyLabel: string;
|
|
291
308
|
autocapitalize: string;
|
|
292
309
|
inert: boolean;
|
|
@@ -578,19 +595,11 @@ export declare const PickerButton: import("react").ComponentType<Partial<{
|
|
|
578
595
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
579
596
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
580
597
|
readonly dataset: DOMStringMap;
|
|
598
|
+
slotContentIsPresent: boolean;
|
|
599
|
+
position: "left" | "right";
|
|
581
600
|
readonly focusElement: HTMLElement;
|
|
582
601
|
renderAnchor: () => import("lit-html").TemplateResult<2 | 1>;
|
|
583
|
-
connectedCallback: () => void;
|
|
584
602
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
585
|
-
disconnectedCallback: () => void;
|
|
586
|
-
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
587
|
-
isUpdatePending: boolean;
|
|
588
|
-
hasUpdated: boolean;
|
|
589
|
-
addController: (controller: import("lit").ReactiveController) => void;
|
|
590
|
-
removeController: (controller: import("lit").ReactiveController) => void;
|
|
591
|
-
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
592
|
-
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
593
|
-
readonly updateComplete: Promise<boolean>;
|
|
594
603
|
isLTR: boolean;
|
|
595
604
|
hasVisibleFocusInTree: () => boolean;
|
|
596
605
|
manageTextObservedSlot: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/picker-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/picker-button": "^0.
|
|
33
|
+
"@spectrum-web-components/picker-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
|
}
|