@swc-react/radio 0.36.0 → 0.37.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 +14 -14
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -10,20 +10,20 @@ export declare const Radio: import("react").ComponentType<Partial<{
|
|
|
10
10
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
11
11
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
12
12
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
13
|
-
hidden?: boolean | undefined;
|
|
14
|
-
'aria-describedby'?: string | undefined;
|
|
15
|
-
id?: string | undefined;
|
|
16
13
|
accessKey?: string | undefined;
|
|
17
14
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
15
|
+
hidden?: boolean | undefined;
|
|
18
16
|
lang?: string | undefined;
|
|
19
17
|
translate?: "yes" | "no" | undefined;
|
|
20
18
|
className?: string | undefined;
|
|
19
|
+
id?: string | undefined;
|
|
21
20
|
prefix?: string | undefined;
|
|
22
21
|
children?: import("react").ReactNode;
|
|
23
22
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
24
23
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
25
24
|
nonce?: string | undefined;
|
|
26
25
|
tabIndex?: number | undefined;
|
|
26
|
+
'aria-describedby'?: string | undefined;
|
|
27
27
|
'aria-label'?: string | undefined;
|
|
28
28
|
defaultChecked?: boolean | undefined;
|
|
29
29
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -289,14 +289,13 @@ export declare const Radio: import("react").ComponentType<Partial<{
|
|
|
289
289
|
emphasized: boolean;
|
|
290
290
|
readonly: boolean;
|
|
291
291
|
normalize: () => void;
|
|
292
|
-
readonly renderOptions: import("lit-html").RenderOptions;
|
|
293
|
-
connectedCallback: () => void;
|
|
294
|
-
disconnectedCallback: () => void;
|
|
295
292
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
296
293
|
isUpdatePending: boolean;
|
|
297
294
|
hasUpdated: boolean;
|
|
298
295
|
addController: (controller: import("lit").ReactiveController) => void;
|
|
299
296
|
removeController: (controller: import("lit").ReactiveController) => void;
|
|
297
|
+
connectedCallback: () => void;
|
|
298
|
+
disconnectedCallback: () => void;
|
|
300
299
|
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
301
300
|
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
302
301
|
readonly updateComplete: Promise<boolean>;
|
|
@@ -593,6 +592,7 @@ export declare const Radio: import("react").ComponentType<Partial<{
|
|
|
593
592
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
594
593
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
595
594
|
readonly dataset: DOMStringMap;
|
|
595
|
+
readonly renderOptions: import("lit-html").RenderOptions;
|
|
596
596
|
isLTR: boolean;
|
|
597
597
|
hasVisibleFocusInTree: () => boolean;
|
|
598
598
|
} & {
|
|
@@ -609,20 +609,20 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
|
|
|
609
609
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
610
610
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
611
611
|
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
612
|
-
hidden?: boolean | undefined;
|
|
613
|
-
'aria-describedby'?: string | undefined;
|
|
614
|
-
id?: string | undefined;
|
|
615
612
|
accessKey?: string | undefined;
|
|
616
613
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
614
|
+
hidden?: boolean | undefined;
|
|
617
615
|
lang?: string | undefined;
|
|
618
616
|
translate?: "yes" | "no" | undefined;
|
|
619
617
|
className?: string | undefined;
|
|
618
|
+
id?: string | undefined;
|
|
620
619
|
prefix?: string | undefined;
|
|
621
620
|
children?: import("react").ReactNode;
|
|
622
621
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
623
622
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
624
623
|
nonce?: string | undefined;
|
|
625
624
|
tabIndex?: number | undefined;
|
|
625
|
+
'aria-describedby'?: string | undefined;
|
|
626
626
|
'aria-label'?: string | undefined;
|
|
627
627
|
defaultChecked?: boolean | undefined;
|
|
628
628
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
@@ -884,16 +884,13 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
|
|
|
884
884
|
autofocus: boolean;
|
|
885
885
|
normalize: () => void;
|
|
886
886
|
name: string;
|
|
887
|
-
horizontal: boolean;
|
|
888
|
-
vertical: boolean;
|
|
889
|
-
readonly renderOptions: import("lit-html").RenderOptions;
|
|
890
|
-
connectedCallback: () => void;
|
|
891
|
-
disconnectedCallback: () => void;
|
|
892
887
|
readonly renderRoot: HTMLElement | ShadowRoot;
|
|
893
888
|
isUpdatePending: boolean;
|
|
894
889
|
hasUpdated: boolean;
|
|
895
890
|
addController: (controller: import("lit").ReactiveController) => void;
|
|
896
891
|
removeController: (controller: import("lit").ReactiveController) => void;
|
|
892
|
+
connectedCallback: () => void;
|
|
893
|
+
disconnectedCallback: () => void;
|
|
897
894
|
attributeChangedCallback: (name: string, _old: string | null, value: string | null) => void;
|
|
898
895
|
requestUpdate: (name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined) => void;
|
|
899
896
|
readonly updateComplete: Promise<boolean>;
|
|
@@ -1190,6 +1187,9 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
|
|
|
1190
1187
|
onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
1191
1188
|
onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
|
|
1192
1189
|
readonly dataset: DOMStringMap;
|
|
1190
|
+
horizontal: boolean;
|
|
1191
|
+
vertical: boolean;
|
|
1192
|
+
readonly renderOptions: import("lit-html").RenderOptions;
|
|
1193
1193
|
isLTR: boolean;
|
|
1194
1194
|
hasVisibleFocusInTree: () => boolean;
|
|
1195
1195
|
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/radio",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.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/radio": "^0.
|
|
33
|
+
"@spectrum-web-components/radio": "^0.37.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": "d771f62f0d8063070af43283bb0fd5e3400bad06"
|
|
44
44
|
}
|