@swc-react/radio 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 +23 -4
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/// <reference types="react" />
|
|
2
3
|
export declare const Radio: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
4
5
|
slot?: string | undefined;
|
|
@@ -8,6 +9,7 @@ export declare const Radio: import("react").ComponentType<Partial<{
|
|
|
8
9
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
9
10
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
10
11
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
12
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
11
13
|
hidden?: boolean | undefined;
|
|
12
14
|
'aria-describedby'?: string | undefined;
|
|
13
15
|
id?: string | undefined;
|
|
@@ -27,15 +29,19 @@ export declare const Radio: import("react").ComponentType<Partial<{
|
|
|
27
29
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
28
30
|
suppressContentEditableWarning?: boolean | undefined;
|
|
29
31
|
suppressHydrationWarning?: boolean | undefined;
|
|
32
|
+
autoFocus?: boolean | undefined;
|
|
30
33
|
contextMenu?: string | undefined;
|
|
31
34
|
placeholder?: string | undefined;
|
|
32
35
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
33
36
|
radioGroup?: string | undefined;
|
|
34
37
|
about?: string | undefined;
|
|
38
|
+
content?: string | undefined;
|
|
35
39
|
datatype?: string | undefined;
|
|
36
40
|
inlist?: any;
|
|
37
41
|
property?: string | undefined;
|
|
42
|
+
rel?: string | undefined;
|
|
38
43
|
resource?: string | undefined;
|
|
44
|
+
rev?: string | undefined;
|
|
39
45
|
typeof?: string | undefined;
|
|
40
46
|
vocab?: string | undefined;
|
|
41
47
|
autoCapitalize?: string | undefined;
|
|
@@ -54,12 +60,16 @@ export declare const Radio: import("react").ComponentType<Partial<{
|
|
|
54
60
|
'aria-activedescendant'?: string | undefined;
|
|
55
61
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
56
62
|
'aria-autocomplete'?: "none" | "both" | "list" | "inline" | undefined;
|
|
63
|
+
'aria-braillelabel'?: string | undefined;
|
|
64
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
57
65
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
58
66
|
'aria-colcount'?: number | undefined;
|
|
59
67
|
'aria-colindex'?: number | undefined;
|
|
68
|
+
'aria-colindextext'?: string | undefined;
|
|
60
69
|
'aria-colspan'?: number | undefined;
|
|
61
70
|
'aria-controls'?: string | undefined;
|
|
62
71
|
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
72
|
+
'aria-description'?: string | undefined;
|
|
63
73
|
'aria-details'?: string | undefined;
|
|
64
74
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
65
75
|
'aria-errormessage'?: string | undefined;
|
|
@@ -67,7 +77,6 @@ export declare const Radio: import("react").ComponentType<Partial<{
|
|
|
67
77
|
'aria-flowto'?: string | undefined;
|
|
68
78
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
69
79
|
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
70
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
71
80
|
'aria-keyshortcuts'?: string | undefined;
|
|
72
81
|
'aria-labelledby'?: string | undefined;
|
|
73
82
|
'aria-level'?: number | undefined;
|
|
@@ -86,6 +95,7 @@ export declare const Radio: import("react").ComponentType<Partial<{
|
|
|
86
95
|
'aria-roledescription'?: string | undefined;
|
|
87
96
|
'aria-rowcount'?: number | undefined;
|
|
88
97
|
'aria-rowindex'?: number | undefined;
|
|
98
|
+
'aria-rowindextext'?: string | undefined;
|
|
89
99
|
'aria-rowspan'?: number | undefined;
|
|
90
100
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
91
101
|
'aria-setsize'?: number | undefined;
|
|
@@ -95,7 +105,7 @@ export declare const Radio: import("react").ComponentType<Partial<{
|
|
|
95
105
|
'aria-valuenow'?: number | undefined;
|
|
96
106
|
'aria-valuetext'?: string | undefined;
|
|
97
107
|
dangerouslySetInnerHTML?: {
|
|
98
|
-
__html: string;
|
|
108
|
+
__html: string | TrustedHTML;
|
|
99
109
|
} | undefined;
|
|
100
110
|
onCopy?: import("react").ClipboardEventHandler<import("radio/src").Radio> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("radio/src").Radio> | undefined;
|
|
@@ -598,6 +608,7 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
|
|
|
598
608
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
599
609
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
600
610
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
611
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
601
612
|
hidden?: boolean | undefined;
|
|
602
613
|
'aria-describedby'?: string | undefined;
|
|
603
614
|
id?: string | undefined;
|
|
@@ -617,15 +628,19 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
|
|
|
617
628
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
618
629
|
suppressContentEditableWarning?: boolean | undefined;
|
|
619
630
|
suppressHydrationWarning?: boolean | undefined;
|
|
631
|
+
autoFocus?: boolean | undefined;
|
|
620
632
|
contextMenu?: string | undefined;
|
|
621
633
|
placeholder?: string | undefined;
|
|
622
634
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
623
635
|
radioGroup?: string | undefined;
|
|
624
636
|
about?: string | undefined;
|
|
637
|
+
content?: string | undefined;
|
|
625
638
|
datatype?: string | undefined;
|
|
626
639
|
inlist?: any;
|
|
627
640
|
property?: string | undefined;
|
|
641
|
+
rel?: string | undefined;
|
|
628
642
|
resource?: string | undefined;
|
|
643
|
+
rev?: string | undefined;
|
|
629
644
|
typeof?: string | undefined;
|
|
630
645
|
vocab?: string | undefined;
|
|
631
646
|
autoCapitalize?: string | undefined;
|
|
@@ -644,12 +659,16 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
|
|
|
644
659
|
'aria-activedescendant'?: string | undefined;
|
|
645
660
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
646
661
|
'aria-autocomplete'?: "none" | "both" | "list" | "inline" | undefined;
|
|
662
|
+
'aria-braillelabel'?: string | undefined;
|
|
663
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
647
664
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
648
665
|
'aria-colcount'?: number | undefined;
|
|
649
666
|
'aria-colindex'?: number | undefined;
|
|
667
|
+
'aria-colindextext'?: string | undefined;
|
|
650
668
|
'aria-colspan'?: number | undefined;
|
|
651
669
|
'aria-controls'?: string | undefined;
|
|
652
670
|
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
671
|
+
'aria-description'?: string | undefined;
|
|
653
672
|
'aria-details'?: string | undefined;
|
|
654
673
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
655
674
|
'aria-errormessage'?: string | undefined;
|
|
@@ -657,7 +676,6 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
|
|
|
657
676
|
'aria-flowto'?: string | undefined;
|
|
658
677
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
659
678
|
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
660
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
661
679
|
'aria-keyshortcuts'?: string | undefined;
|
|
662
680
|
'aria-labelledby'?: string | undefined;
|
|
663
681
|
'aria-level'?: number | undefined;
|
|
@@ -676,6 +694,7 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
|
|
|
676
694
|
'aria-roledescription'?: string | undefined;
|
|
677
695
|
'aria-rowcount'?: number | undefined;
|
|
678
696
|
'aria-rowindex'?: number | undefined;
|
|
697
|
+
'aria-rowindextext'?: string | undefined;
|
|
679
698
|
'aria-rowspan'?: number | undefined;
|
|
680
699
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
681
700
|
'aria-setsize'?: number | undefined;
|
|
@@ -685,7 +704,7 @@ export declare const RadioGroup: import("react").ComponentType<Partial<{
|
|
|
685
704
|
'aria-valuenow'?: number | undefined;
|
|
686
705
|
'aria-valuetext'?: string | undefined;
|
|
687
706
|
dangerouslySetInnerHTML?: {
|
|
688
|
-
__html: string;
|
|
707
|
+
__html: string | TrustedHTML;
|
|
689
708
|
} | undefined;
|
|
690
709
|
onCopy?: import("react").ClipboardEventHandler<import("radio/src").RadioGroup> | undefined;
|
|
691
710
|
onCopyCapture?: import("react").ClipboardEventHandler<import("radio/src").RadioGroup> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/radio",
|
|
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/radio": "^0.
|
|
33
|
+
"@spectrum-web-components/radio": "^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
|
}
|