@swc-react/textfield 0.34.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 Textfield: 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;
|
|
@@ -15,6 +17,7 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
15
17
|
suppressContentEditableWarning?: boolean | undefined;
|
|
16
18
|
suppressHydrationWarning?: boolean | undefined;
|
|
17
19
|
accessKey?: string | undefined;
|
|
20
|
+
autoFocus?: boolean | undefined;
|
|
18
21
|
className?: string | undefined;
|
|
19
22
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
20
23
|
contextMenu?: string | undefined;
|
|
@@ -26,11 +29,14 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
26
29
|
radioGroup?: string | undefined;
|
|
27
30
|
role?: import("react").AriaRole | undefined;
|
|
28
31
|
about?: string | undefined;
|
|
32
|
+
content?: string | undefined;
|
|
29
33
|
datatype?: string | undefined;
|
|
30
34
|
inlist?: any;
|
|
31
35
|
prefix?: string | undefined;
|
|
32
36
|
property?: string | undefined;
|
|
37
|
+
rel?: string | undefined;
|
|
33
38
|
resource?: string | undefined;
|
|
39
|
+
rev?: string | undefined;
|
|
34
40
|
typeof?: string | undefined;
|
|
35
41
|
vocab?: string | undefined;
|
|
36
42
|
autoCapitalize?: string | undefined;
|
|
@@ -45,26 +51,29 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
45
51
|
results?: number | undefined;
|
|
46
52
|
security?: string | undefined;
|
|
47
53
|
unselectable?: "on" | "off" | undefined;
|
|
48
|
-
inputMode?: "
|
|
54
|
+
inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
49
55
|
is?: string | undefined;
|
|
50
56
|
'aria-activedescendant'?: string | undefined;
|
|
51
57
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
52
58
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
59
|
+
'aria-braillelabel'?: string | undefined;
|
|
60
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
53
61
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
54
62
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
55
63
|
'aria-colcount'?: number | undefined;
|
|
56
64
|
'aria-colindex'?: number | undefined;
|
|
65
|
+
'aria-colindextext'?: string | undefined;
|
|
57
66
|
'aria-colspan'?: number | undefined;
|
|
58
67
|
'aria-controls'?: string | undefined;
|
|
59
68
|
'aria-current'?: boolean | "true" | "false" | "time" | "page" | "step" | "location" | "date" | undefined;
|
|
69
|
+
'aria-description'?: string | undefined;
|
|
60
70
|
'aria-details'?: string | undefined;
|
|
61
|
-
'aria-dropeffect'?: "
|
|
71
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
62
72
|
'aria-errormessage'?: string | undefined;
|
|
63
73
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
64
74
|
'aria-flowto'?: string | undefined;
|
|
65
75
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
66
76
|
'aria-haspopup'?: boolean | "true" | "false" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
|
|
67
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
68
77
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
69
78
|
'aria-keyshortcuts'?: string | undefined;
|
|
70
79
|
'aria-label'?: string | undefined;
|
|
@@ -85,6 +94,7 @@ export declare const Textfield: 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 Textfield: 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("textfield/src").Textfield> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("textfield/src").Textfield> | undefined;
|
|
@@ -265,6 +275,7 @@ export declare const Textfield: 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;
|
|
@@ -278,8 +289,8 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
278
289
|
pattern?: string | undefined;
|
|
279
290
|
disabled: boolean;
|
|
280
291
|
autofocus: boolean;
|
|
281
|
-
normalize: () => void;
|
|
282
292
|
autocomplete?: string | undefined;
|
|
293
|
+
appliedLabel?: string | undefined;
|
|
283
294
|
allowedKeys: string;
|
|
284
295
|
focused: boolean;
|
|
285
296
|
grows: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/textfield",
|
|
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/textfield": "^0.
|
|
33
|
+
"@spectrum-web-components/textfield": "^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
|
}
|