@swc-react/textfield 0.35.1-rc.26 → 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 +39 -39
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -3,38 +3,36 @@
|
|
|
3
3
|
export declare const Textfield: import("react").ComponentType<Partial<{
|
|
4
4
|
dir?: string | undefined;
|
|
5
5
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
6
|
-
accessKey?: string | undefined;
|
|
7
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
8
6
|
hidden?: boolean | undefined;
|
|
9
|
-
lang?: string | undefined;
|
|
10
7
|
title?: string | undefined;
|
|
11
|
-
|
|
12
|
-
className?: string | undefined;
|
|
8
|
+
'aria-describedby'?: string | undefined;
|
|
13
9
|
id?: string | undefined;
|
|
14
|
-
prefix?: string | undefined;
|
|
15
10
|
slot?: string | undefined;
|
|
16
|
-
children?: import("react").ReactNode;
|
|
17
11
|
style?: import("react").CSSProperties | undefined;
|
|
18
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
19
|
-
inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
20
|
-
nonce?: string | undefined;
|
|
21
12
|
tabIndex?: number | undefined;
|
|
22
|
-
'aria-describedby'?: string | undefined;
|
|
23
13
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
24
14
|
placeholder?: string | undefined;
|
|
25
15
|
defaultChecked?: boolean | undefined;
|
|
26
16
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
27
17
|
suppressContentEditableWarning?: boolean | undefined;
|
|
28
18
|
suppressHydrationWarning?: boolean | undefined;
|
|
19
|
+
accessKey?: string | undefined;
|
|
29
20
|
autoFocus?: boolean | undefined;
|
|
21
|
+
className?: string | undefined;
|
|
22
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
30
23
|
contextMenu?: string | undefined;
|
|
24
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
25
|
+
lang?: string | undefined;
|
|
26
|
+
nonce?: string | undefined;
|
|
31
27
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
28
|
+
translate?: "yes" | "no" | undefined;
|
|
32
29
|
radioGroup?: string | undefined;
|
|
33
30
|
role?: import("react").AriaRole | undefined;
|
|
34
31
|
about?: string | undefined;
|
|
35
32
|
content?: string | undefined;
|
|
36
33
|
datatype?: string | undefined;
|
|
37
34
|
inlist?: any;
|
|
35
|
+
prefix?: string | undefined;
|
|
38
36
|
property?: string | undefined;
|
|
39
37
|
rel?: string | undefined;
|
|
40
38
|
resource?: string | undefined;
|
|
@@ -53,6 +51,7 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
53
51
|
results?: number | undefined;
|
|
54
52
|
security?: string | undefined;
|
|
55
53
|
unselectable?: "on" | "off" | undefined;
|
|
54
|
+
inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
56
55
|
is?: string | undefined;
|
|
57
56
|
'aria-activedescendant'?: string | undefined;
|
|
58
57
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -104,6 +103,7 @@ export declare const Textfield: 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;
|
|
@@ -285,16 +285,24 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
285
285
|
(x: number, y: number): void;
|
|
286
286
|
};
|
|
287
287
|
select: () => void;
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
288
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
289
|
+
pattern?: string | undefined;
|
|
290
|
+
disabled: boolean;
|
|
291
|
+
autofocus: boolean;
|
|
292
|
+
autocomplete?: string | undefined;
|
|
293
|
+
appliedLabel?: string | undefined;
|
|
294
|
+
allowedKeys: string;
|
|
295
|
+
focused: boolean;
|
|
296
|
+
grows: boolean;
|
|
297
|
+
maxlength: number;
|
|
298
|
+
minlength: number;
|
|
299
|
+
multiline: boolean;
|
|
300
|
+
readonly: boolean;
|
|
301
|
+
rows: number;
|
|
302
|
+
valid: boolean;
|
|
303
|
+
value: string;
|
|
304
|
+
quiet: boolean;
|
|
305
|
+
required: boolean;
|
|
298
306
|
readonly accessKeyLabel: string;
|
|
299
307
|
autocapitalize: string;
|
|
300
308
|
inert: boolean;
|
|
@@ -468,7 +476,6 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
468
476
|
ariaValueMin: string | null;
|
|
469
477
|
ariaValueNow: string | null;
|
|
470
478
|
ariaValueText: string | null;
|
|
471
|
-
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
472
479
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
473
480
|
after: (...nodes: (string | Node)[]) => void;
|
|
474
481
|
before: (...nodes: (string | Node)[]) => void;
|
|
@@ -588,28 +595,21 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
588
595
|
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
589
596
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
590
597
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
591
|
-
autofocus: boolean;
|
|
592
598
|
readonly dataset: DOMStringMap;
|
|
593
|
-
pattern?: string | undefined;
|
|
594
|
-
disabled: boolean;
|
|
595
|
-
autocomplete?: string | undefined;
|
|
596
|
-
appliedLabel?: string | undefined;
|
|
597
|
-
allowedKeys: string;
|
|
598
|
-
focused: boolean;
|
|
599
|
-
grows: boolean;
|
|
600
|
-
maxlength: number;
|
|
601
|
-
minlength: number;
|
|
602
|
-
multiline: boolean;
|
|
603
|
-
readonly: boolean;
|
|
604
|
-
rows: number;
|
|
605
|
-
valid: boolean;
|
|
606
|
-
value: string;
|
|
607
|
-
quiet: boolean;
|
|
608
|
-
required: boolean;
|
|
609
599
|
readonly focusElement: HTMLInputElement | HTMLTextAreaElement;
|
|
610
600
|
setSelectionRange: (selectionStart: number, selectionEnd: number, selectionDirection?: "none" | "forward" | "backward") => void;
|
|
611
601
|
checkValidity: () => boolean;
|
|
602
|
+
connectedCallback: () => void;
|
|
612
603
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
604
|
+
disconnectedCallback: () => void;
|
|
605
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
606
|
+
isUpdatePending: boolean;
|
|
607
|
+
hasUpdated: boolean;
|
|
608
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
609
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
610
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
611
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
612
|
+
readonly updateComplete: Promise<boolean>;
|
|
613
613
|
isLTR: boolean;
|
|
614
614
|
hasVisibleFocusInTree: () => boolean;
|
|
615
615
|
renderHelpText: (negative?: boolean | undefined) => import("lit-html").TemplateResult<2 | 1>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/textfield",
|
|
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/textfield": "^0.
|
|
33
|
+
"@spectrum-web-components/textfield": "^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
|
}
|