@swc-react/tabs 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 +41 -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 Tab: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
4
5
|
slot?: string | undefined;
|
|
@@ -6,6 +7,7 @@ export declare const Tab: import("react").ComponentType<Partial<{
|
|
|
6
7
|
title?: string | undefined;
|
|
7
8
|
tabIndex?: number | undefined;
|
|
8
9
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
10
|
+
rel?: string | undefined;
|
|
9
11
|
id?: string | undefined;
|
|
10
12
|
className?: string | undefined;
|
|
11
13
|
role?: import("react").AriaRole | undefined;
|
|
@@ -32,15 +34,18 @@ export declare const Tab: import("react").ComponentType<Partial<{
|
|
|
32
34
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
33
35
|
suppressContentEditableWarning?: boolean | undefined;
|
|
34
36
|
suppressHydrationWarning?: boolean | undefined;
|
|
37
|
+
autoFocus?: boolean | undefined;
|
|
35
38
|
contextMenu?: string | undefined;
|
|
36
39
|
placeholder?: string | undefined;
|
|
37
40
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
38
41
|
radioGroup?: string | undefined;
|
|
39
42
|
about?: string | undefined;
|
|
43
|
+
content?: string | undefined;
|
|
40
44
|
datatype?: string | undefined;
|
|
41
45
|
inlist?: any;
|
|
42
46
|
property?: string | undefined;
|
|
43
47
|
resource?: string | undefined;
|
|
48
|
+
rev?: string | undefined;
|
|
44
49
|
typeof?: string | undefined;
|
|
45
50
|
vocab?: string | undefined;
|
|
46
51
|
autoCapitalize?: string | undefined;
|
|
@@ -59,13 +64,17 @@ export declare const Tab: import("react").ComponentType<Partial<{
|
|
|
59
64
|
'aria-activedescendant'?: string | undefined;
|
|
60
65
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
61
66
|
'aria-autocomplete'?: "both" | "none" | "list" | "inline" | undefined;
|
|
67
|
+
'aria-braillelabel'?: string | undefined;
|
|
68
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
62
69
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
63
70
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
64
71
|
'aria-colcount'?: number | undefined;
|
|
65
72
|
'aria-colindex'?: number | undefined;
|
|
73
|
+
'aria-colindextext'?: string | undefined;
|
|
66
74
|
'aria-colspan'?: number | undefined;
|
|
67
75
|
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
68
76
|
'aria-describedby'?: string | undefined;
|
|
77
|
+
'aria-description'?: string | undefined;
|
|
69
78
|
'aria-details'?: string | undefined;
|
|
70
79
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
71
80
|
'aria-errormessage'?: string | undefined;
|
|
@@ -87,6 +96,7 @@ export declare const Tab: import("react").ComponentType<Partial<{
|
|
|
87
96
|
'aria-roledescription'?: string | undefined;
|
|
88
97
|
'aria-rowcount'?: number | undefined;
|
|
89
98
|
'aria-rowindex'?: number | undefined;
|
|
99
|
+
'aria-rowindextext'?: string | undefined;
|
|
90
100
|
'aria-rowspan'?: number | undefined;
|
|
91
101
|
'aria-setsize'?: number | undefined;
|
|
92
102
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
@@ -95,7 +105,7 @@ export declare const Tab: 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("tabs/src").Tab> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("tabs/src").Tab> | undefined;
|
|
@@ -596,6 +606,7 @@ export declare const TabPanel: import("react").ComponentType<Partial<{
|
|
|
596
606
|
title?: string | undefined;
|
|
597
607
|
tabIndex?: number | undefined;
|
|
598
608
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
609
|
+
rel?: string | undefined;
|
|
599
610
|
id?: string | undefined;
|
|
600
611
|
className?: string | undefined;
|
|
601
612
|
role?: import("react").AriaRole | undefined;
|
|
@@ -622,15 +633,18 @@ export declare const TabPanel: import("react").ComponentType<Partial<{
|
|
|
622
633
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
623
634
|
suppressContentEditableWarning?: boolean | undefined;
|
|
624
635
|
suppressHydrationWarning?: boolean | undefined;
|
|
636
|
+
autoFocus?: boolean | undefined;
|
|
625
637
|
contextMenu?: string | undefined;
|
|
626
638
|
placeholder?: string | undefined;
|
|
627
639
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
628
640
|
radioGroup?: string | undefined;
|
|
629
641
|
about?: string | undefined;
|
|
642
|
+
content?: string | undefined;
|
|
630
643
|
datatype?: string | undefined;
|
|
631
644
|
inlist?: any;
|
|
632
645
|
property?: string | undefined;
|
|
633
646
|
resource?: string | undefined;
|
|
647
|
+
rev?: string | undefined;
|
|
634
648
|
typeof?: string | undefined;
|
|
635
649
|
vocab?: string | undefined;
|
|
636
650
|
autoCapitalize?: string | undefined;
|
|
@@ -649,13 +663,17 @@ export declare const TabPanel: import("react").ComponentType<Partial<{
|
|
|
649
663
|
'aria-activedescendant'?: string | undefined;
|
|
650
664
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
651
665
|
'aria-autocomplete'?: "both" | "none" | "list" | "inline" | undefined;
|
|
666
|
+
'aria-braillelabel'?: string | undefined;
|
|
667
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
652
668
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
653
669
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
654
670
|
'aria-colcount'?: number | undefined;
|
|
655
671
|
'aria-colindex'?: number | undefined;
|
|
672
|
+
'aria-colindextext'?: string | undefined;
|
|
656
673
|
'aria-colspan'?: number | undefined;
|
|
657
674
|
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
658
675
|
'aria-describedby'?: string | undefined;
|
|
676
|
+
'aria-description'?: string | undefined;
|
|
659
677
|
'aria-details'?: string | undefined;
|
|
660
678
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
661
679
|
'aria-errormessage'?: string | undefined;
|
|
@@ -677,6 +695,7 @@ export declare const TabPanel: import("react").ComponentType<Partial<{
|
|
|
677
695
|
'aria-roledescription'?: string | undefined;
|
|
678
696
|
'aria-rowcount'?: number | undefined;
|
|
679
697
|
'aria-rowindex'?: number | undefined;
|
|
698
|
+
'aria-rowindextext'?: string | undefined;
|
|
680
699
|
'aria-rowspan'?: number | undefined;
|
|
681
700
|
'aria-setsize'?: number | undefined;
|
|
682
701
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
@@ -685,7 +704,7 @@ export declare const TabPanel: 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("tabs/src").TabPanel> | undefined;
|
|
691
710
|
onCopyCapture?: import("react").ClipboardEventHandler<import("tabs/src").TabPanel> | undefined;
|
|
@@ -1178,6 +1197,7 @@ export declare const Tabs: import("react").ComponentType<Partial<{
|
|
|
1178
1197
|
title?: string | undefined;
|
|
1179
1198
|
tabIndex?: number | undefined;
|
|
1180
1199
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
1200
|
+
rel?: string | undefined;
|
|
1181
1201
|
id?: string | undefined;
|
|
1182
1202
|
className?: string | undefined;
|
|
1183
1203
|
role?: import("react").AriaRole | undefined;
|
|
@@ -1204,15 +1224,18 @@ export declare const Tabs: import("react").ComponentType<Partial<{
|
|
|
1204
1224
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
1205
1225
|
suppressContentEditableWarning?: boolean | undefined;
|
|
1206
1226
|
suppressHydrationWarning?: boolean | undefined;
|
|
1227
|
+
autoFocus?: boolean | undefined;
|
|
1207
1228
|
contextMenu?: string | undefined;
|
|
1208
1229
|
placeholder?: string | undefined;
|
|
1209
1230
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
1210
1231
|
radioGroup?: string | undefined;
|
|
1211
1232
|
about?: string | undefined;
|
|
1233
|
+
content?: string | undefined;
|
|
1212
1234
|
datatype?: string | undefined;
|
|
1213
1235
|
inlist?: any;
|
|
1214
1236
|
property?: string | undefined;
|
|
1215
1237
|
resource?: string | undefined;
|
|
1238
|
+
rev?: string | undefined;
|
|
1216
1239
|
typeof?: string | undefined;
|
|
1217
1240
|
vocab?: string | undefined;
|
|
1218
1241
|
autoCapitalize?: string | undefined;
|
|
@@ -1231,13 +1254,17 @@ export declare const Tabs: import("react").ComponentType<Partial<{
|
|
|
1231
1254
|
'aria-activedescendant'?: string | undefined;
|
|
1232
1255
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
1233
1256
|
'aria-autocomplete'?: "both" | "none" | "list" | "inline" | undefined;
|
|
1257
|
+
'aria-braillelabel'?: string | undefined;
|
|
1258
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
1234
1259
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
1235
1260
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1236
1261
|
'aria-colcount'?: number | undefined;
|
|
1237
1262
|
'aria-colindex'?: number | undefined;
|
|
1263
|
+
'aria-colindextext'?: string | undefined;
|
|
1238
1264
|
'aria-colspan'?: number | undefined;
|
|
1239
1265
|
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
1240
1266
|
'aria-describedby'?: string | undefined;
|
|
1267
|
+
'aria-description'?: string | undefined;
|
|
1241
1268
|
'aria-details'?: string | undefined;
|
|
1242
1269
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
1243
1270
|
'aria-errormessage'?: string | undefined;
|
|
@@ -1259,6 +1286,7 @@ export declare const Tabs: import("react").ComponentType<Partial<{
|
|
|
1259
1286
|
'aria-roledescription'?: string | undefined;
|
|
1260
1287
|
'aria-rowcount'?: number | undefined;
|
|
1261
1288
|
'aria-rowindex'?: number | undefined;
|
|
1289
|
+
'aria-rowindextext'?: string | undefined;
|
|
1262
1290
|
'aria-rowspan'?: number | undefined;
|
|
1263
1291
|
'aria-setsize'?: number | undefined;
|
|
1264
1292
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
@@ -1267,7 +1295,7 @@ export declare const Tabs: import("react").ComponentType<Partial<{
|
|
|
1267
1295
|
'aria-valuenow'?: number | undefined;
|
|
1268
1296
|
'aria-valuetext'?: string | undefined;
|
|
1269
1297
|
dangerouslySetInnerHTML?: {
|
|
1270
|
-
__html: string;
|
|
1298
|
+
__html: string | TrustedHTML;
|
|
1271
1299
|
} | undefined;
|
|
1272
1300
|
onCopy?: import("react").ClipboardEventHandler<import("tabs/src").Tabs> | undefined;
|
|
1273
1301
|
onCopyCapture?: import("react").ClipboardEventHandler<import("tabs/src").Tabs> | undefined;
|
|
@@ -1776,6 +1804,7 @@ export declare const TabsOverflow: import("react").ComponentType<Partial<{
|
|
|
1776
1804
|
title?: string | undefined;
|
|
1777
1805
|
tabIndex?: number | undefined;
|
|
1778
1806
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
1807
|
+
rel?: string | undefined;
|
|
1779
1808
|
id?: string | undefined;
|
|
1780
1809
|
className?: string | undefined;
|
|
1781
1810
|
role?: import("react").AriaRole | undefined;
|
|
@@ -1802,15 +1831,18 @@ export declare const TabsOverflow: import("react").ComponentType<Partial<{
|
|
|
1802
1831
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
1803
1832
|
suppressContentEditableWarning?: boolean | undefined;
|
|
1804
1833
|
suppressHydrationWarning?: boolean | undefined;
|
|
1834
|
+
autoFocus?: boolean | undefined;
|
|
1805
1835
|
contextMenu?: string | undefined;
|
|
1806
1836
|
placeholder?: string | undefined;
|
|
1807
1837
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
1808
1838
|
radioGroup?: string | undefined;
|
|
1809
1839
|
about?: string | undefined;
|
|
1840
|
+
content?: string | undefined;
|
|
1810
1841
|
datatype?: string | undefined;
|
|
1811
1842
|
inlist?: any;
|
|
1812
1843
|
property?: string | undefined;
|
|
1813
1844
|
resource?: string | undefined;
|
|
1845
|
+
rev?: string | undefined;
|
|
1814
1846
|
typeof?: string | undefined;
|
|
1815
1847
|
vocab?: string | undefined;
|
|
1816
1848
|
autoCapitalize?: string | undefined;
|
|
@@ -1829,13 +1861,17 @@ export declare const TabsOverflow: import("react").ComponentType<Partial<{
|
|
|
1829
1861
|
'aria-activedescendant'?: string | undefined;
|
|
1830
1862
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
1831
1863
|
'aria-autocomplete'?: "both" | "none" | "list" | "inline" | undefined;
|
|
1864
|
+
'aria-braillelabel'?: string | undefined;
|
|
1865
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
1832
1866
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
1833
1867
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1834
1868
|
'aria-colcount'?: number | undefined;
|
|
1835
1869
|
'aria-colindex'?: number | undefined;
|
|
1870
|
+
'aria-colindextext'?: string | undefined;
|
|
1836
1871
|
'aria-colspan'?: number | undefined;
|
|
1837
1872
|
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
1838
1873
|
'aria-describedby'?: string | undefined;
|
|
1874
|
+
'aria-description'?: string | undefined;
|
|
1839
1875
|
'aria-details'?: string | undefined;
|
|
1840
1876
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
1841
1877
|
'aria-errormessage'?: string | undefined;
|
|
@@ -1857,6 +1893,7 @@ export declare const TabsOverflow: import("react").ComponentType<Partial<{
|
|
|
1857
1893
|
'aria-roledescription'?: string | undefined;
|
|
1858
1894
|
'aria-rowcount'?: number | undefined;
|
|
1859
1895
|
'aria-rowindex'?: number | undefined;
|
|
1896
|
+
'aria-rowindextext'?: string | undefined;
|
|
1860
1897
|
'aria-rowspan'?: number | undefined;
|
|
1861
1898
|
'aria-setsize'?: number | undefined;
|
|
1862
1899
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
@@ -1865,7 +1902,7 @@ export declare const TabsOverflow: import("react").ComponentType<Partial<{
|
|
|
1865
1902
|
'aria-valuenow'?: number | undefined;
|
|
1866
1903
|
'aria-valuetext'?: string | undefined;
|
|
1867
1904
|
dangerouslySetInnerHTML?: {
|
|
1868
|
-
__html: string;
|
|
1905
|
+
__html: string | TrustedHTML;
|
|
1869
1906
|
} | undefined;
|
|
1870
1907
|
onCopy?: import("react").ClipboardEventHandler<import("tabs/src").TabsOverflow> | undefined;
|
|
1871
1908
|
onCopyCapture?: import("react").ClipboardEventHandler<import("tabs/src").TabsOverflow> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/tabs",
|
|
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/tabs": "^0.
|
|
33
|
+
"@spectrum-web-components/tabs": "^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
|
}
|