@swc-react/textfield 0.36.0 → 0.38.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,36 +3,38 @@
|
|
|
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;
|
|
6
8
|
hidden?: boolean | undefined;
|
|
9
|
+
lang?: string | undefined;
|
|
7
10
|
title?: string | undefined;
|
|
8
|
-
|
|
11
|
+
translate?: "yes" | "no" | undefined;
|
|
12
|
+
className?: string | undefined;
|
|
9
13
|
id?: string | undefined;
|
|
14
|
+
prefix?: string | undefined;
|
|
10
15
|
slot?: string | undefined;
|
|
16
|
+
children?: import("react").ReactNode;
|
|
11
17
|
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;
|
|
12
21
|
tabIndex?: number | undefined;
|
|
22
|
+
'aria-describedby'?: string | undefined;
|
|
13
23
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
14
24
|
placeholder?: string | undefined;
|
|
15
25
|
defaultChecked?: boolean | undefined;
|
|
16
26
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
17
27
|
suppressContentEditableWarning?: boolean | undefined;
|
|
18
28
|
suppressHydrationWarning?: boolean | undefined;
|
|
19
|
-
accessKey?: string | undefined;
|
|
20
29
|
autoFocus?: boolean | undefined;
|
|
21
|
-
className?: string | undefined;
|
|
22
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
23
30
|
contextMenu?: string | undefined;
|
|
24
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
25
|
-
lang?: string | undefined;
|
|
26
|
-
nonce?: string | undefined;
|
|
27
31
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
28
|
-
translate?: "yes" | "no" | undefined;
|
|
29
32
|
radioGroup?: string | undefined;
|
|
30
33
|
role?: import("react").AriaRole | undefined;
|
|
31
34
|
about?: string | undefined;
|
|
32
35
|
content?: string | undefined;
|
|
33
36
|
datatype?: string | undefined;
|
|
34
37
|
inlist?: any;
|
|
35
|
-
prefix?: string | undefined;
|
|
36
38
|
property?: string | undefined;
|
|
37
39
|
rel?: string | undefined;
|
|
38
40
|
resource?: string | undefined;
|
|
@@ -51,7 +53,6 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
51
53
|
results?: number | undefined;
|
|
52
54
|
security?: string | undefined;
|
|
53
55
|
unselectable?: "on" | "off" | undefined;
|
|
54
|
-
inputMode?: "search" | "none" | "text" | "url" | "tel" | "email" | "numeric" | "decimal" | undefined;
|
|
55
56
|
is?: string | undefined;
|
|
56
57
|
'aria-activedescendant'?: string | undefined;
|
|
57
58
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
@@ -103,7 +104,6 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
103
104
|
'aria-valuemin'?: number | undefined;
|
|
104
105
|
'aria-valuenow'?: number | undefined;
|
|
105
106
|
'aria-valuetext'?: string | undefined;
|
|
106
|
-
children?: import("react").ReactNode;
|
|
107
107
|
dangerouslySetInnerHTML?: {
|
|
108
108
|
__html: string | TrustedHTML;
|
|
109
109
|
} | undefined;
|
|
@@ -285,24 +285,16 @@ 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
|
-
|
|
298
|
-
minlength: number;
|
|
299
|
-
multiline: boolean;
|
|
300
|
-
readonly: boolean;
|
|
301
|
-
rows: number;
|
|
302
|
-
valid: boolean;
|
|
303
|
-
value: string;
|
|
304
|
-
quiet: boolean;
|
|
305
|
-
required: boolean;
|
|
288
|
+
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
289
|
+
isUpdatePending: boolean;
|
|
290
|
+
hasUpdated: boolean;
|
|
291
|
+
addController: (controller: import("lit").ReactiveController) => void;
|
|
292
|
+
removeController: (controller: import("lit").ReactiveController) => void;
|
|
293
|
+
connectedCallback: () => void;
|
|
294
|
+
disconnectedCallback: () => void;
|
|
295
|
+
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
296
|
+
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
297
|
+
readonly updateComplete: Promise<boolean>;
|
|
306
298
|
readonly accessKeyLabel: string;
|
|
307
299
|
autocapitalize: string;
|
|
308
300
|
inert: boolean;
|
|
@@ -476,6 +468,7 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
476
468
|
ariaValueMin: string | null;
|
|
477
469
|
ariaValueNow: string | null;
|
|
478
470
|
ariaValueText: string | null;
|
|
471
|
+
animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
|
|
479
472
|
getAnimations: (options?: GetAnimationsOptions | undefined) => Animation[];
|
|
480
473
|
after: (...nodes: (string | Node)[]) => void;
|
|
481
474
|
before: (...nodes: (string | Node)[]) => void;
|
|
@@ -595,21 +588,28 @@ export declare const Textfield: import("react").ComponentType<Partial<{
|
|
|
595
588
|
onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
596
589
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
597
590
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
591
|
+
autofocus: boolean;
|
|
598
592
|
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;
|
|
599
609
|
readonly focusElement: HTMLInputElement | HTMLTextAreaElement;
|
|
600
610
|
setSelectionRange: (selectionStart: number, selectionEnd: number, selectionDirection?: "none" | "forward" | "backward") => void;
|
|
601
611
|
checkValidity: () => boolean;
|
|
602
|
-
connectedCallback: () => void;
|
|
603
612
|
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.38.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.38.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": "9a099b7543672f2fd4030833ab813b16c2cad62e"
|
|
44
44
|
}
|