@swc-react/search 0.34.1-rc.0 → 0.35.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 +16 -5
- 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 Search: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
5
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
4
6
|
hidden?: boolean | undefined;
|
|
5
7
|
title?: string | undefined;
|
|
6
8
|
'aria-describedby'?: string | undefined;
|
|
@@ -10,6 +12,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
10
12
|
tabIndex?: number | undefined;
|
|
11
13
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
12
14
|
placeholder?: string | undefined;
|
|
15
|
+
rel?: string | undefined;
|
|
13
16
|
className?: string | undefined;
|
|
14
17
|
role?: import("react").AriaRole | undefined;
|
|
15
18
|
'aria-label'?: string | undefined;
|
|
@@ -18,6 +21,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
18
21
|
suppressContentEditableWarning?: boolean | undefined;
|
|
19
22
|
suppressHydrationWarning?: boolean | undefined;
|
|
20
23
|
accessKey?: string | undefined;
|
|
24
|
+
autoFocus?: boolean | undefined;
|
|
21
25
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
22
26
|
contextMenu?: string | undefined;
|
|
23
27
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -27,11 +31,13 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
27
31
|
translate?: "yes" | "no" | undefined;
|
|
28
32
|
radioGroup?: string | undefined;
|
|
29
33
|
about?: string | undefined;
|
|
34
|
+
content?: string | undefined;
|
|
30
35
|
datatype?: string | undefined;
|
|
31
36
|
inlist?: any;
|
|
32
37
|
prefix?: string | undefined;
|
|
33
38
|
property?: string | undefined;
|
|
34
39
|
resource?: string | undefined;
|
|
40
|
+
rev?: string | undefined;
|
|
35
41
|
typeof?: string | undefined;
|
|
36
42
|
vocab?: string | undefined;
|
|
37
43
|
autoCapitalize?: string | undefined;
|
|
@@ -46,26 +52,29 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
46
52
|
results?: number | undefined;
|
|
47
53
|
security?: string | undefined;
|
|
48
54
|
unselectable?: "on" | "off" | undefined;
|
|
49
|
-
inputMode?: "
|
|
55
|
+
inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
50
56
|
is?: string | undefined;
|
|
51
57
|
'aria-activedescendant'?: string | undefined;
|
|
52
58
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
53
59
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
60
|
+
'aria-braillelabel'?: string | undefined;
|
|
61
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
54
62
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
55
63
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
56
64
|
'aria-colcount'?: number | undefined;
|
|
57
65
|
'aria-colindex'?: number | undefined;
|
|
66
|
+
'aria-colindextext'?: string | undefined;
|
|
58
67
|
'aria-colspan'?: number | undefined;
|
|
59
68
|
'aria-controls'?: string | undefined;
|
|
60
69
|
'aria-current'?: boolean | "true" | "false" | "time" | "page" | "step" | "location" | "date" | undefined;
|
|
70
|
+
'aria-description'?: string | undefined;
|
|
61
71
|
'aria-details'?: string | undefined;
|
|
62
|
-
'aria-dropeffect'?: "
|
|
72
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
63
73
|
'aria-errormessage'?: string | undefined;
|
|
64
74
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
65
75
|
'aria-flowto'?: string | undefined;
|
|
66
76
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
67
77
|
'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
|
|
68
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
69
78
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
70
79
|
'aria-keyshortcuts'?: string | undefined;
|
|
71
80
|
'aria-labelledby'?: string | undefined;
|
|
@@ -85,6 +94,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
85
94
|
'aria-roledescription'?: string | undefined;
|
|
86
95
|
'aria-rowcount'?: number | undefined;
|
|
87
96
|
'aria-rowindex'?: number | undefined;
|
|
97
|
+
'aria-rowindextext'?: string | undefined;
|
|
88
98
|
'aria-rowspan'?: number | undefined;
|
|
89
99
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
90
100
|
'aria-setsize'?: number | undefined;
|
|
@@ -95,7 +105,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
95
105
|
'aria-valuetext'?: string | undefined;
|
|
96
106
|
children?: import("react").ReactNode;
|
|
97
107
|
dangerouslySetInnerHTML?: {
|
|
98
|
-
__html: string;
|
|
108
|
+
__html: string | TrustedHTML;
|
|
99
109
|
} | undefined;
|
|
100
110
|
onCopy?: import("react").ClipboardEventHandler<import("search/src").Search> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("search/src").Search> | undefined;
|
|
@@ -265,6 +275,7 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
265
275
|
type: "text" | "url" | "tel" | "email" | "password";
|
|
266
276
|
size: import("@spectrum-web-components/base").ElementSize;
|
|
267
277
|
label: string;
|
|
278
|
+
normalize: () => void;
|
|
268
279
|
blur: () => void;
|
|
269
280
|
click: () => void;
|
|
270
281
|
focus: (options?: FocusOptions | undefined) => void;
|
|
@@ -280,8 +291,8 @@ export declare const Search: import("react").ComponentType<Partial<{
|
|
|
280
291
|
pattern?: string | undefined;
|
|
281
292
|
disabled: boolean;
|
|
282
293
|
autofocus: boolean;
|
|
283
|
-
normalize: () => void;
|
|
284
294
|
autocomplete?: string | undefined;
|
|
295
|
+
appliedLabel?: string | undefined;
|
|
285
296
|
allowedKeys: string;
|
|
286
297
|
focused: boolean;
|
|
287
298
|
grows: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/search",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.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/search": "^0.
|
|
33
|
+
"@spectrum-web-components/search": "^0.35.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": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
|
|
44
44
|
}
|