@swc-react/sidenav 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 +31 -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 SideNav: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
4
5
|
tabIndex?: number | undefined;
|
|
@@ -6,6 +7,7 @@ export declare const SideNav: import("react").ComponentType<Partial<{
|
|
|
6
7
|
style?: import("react").CSSProperties | undefined;
|
|
7
8
|
title?: string | 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
|
accessKey?: string | undefined;
|
|
@@ -14,6 +16,7 @@ export declare const SideNav: import("react").ComponentType<Partial<{
|
|
|
14
16
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
15
17
|
suppressContentEditableWarning?: boolean | undefined;
|
|
16
18
|
suppressHydrationWarning?: boolean | undefined;
|
|
19
|
+
autoFocus?: boolean | undefined;
|
|
17
20
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
18
21
|
contextMenu?: string | undefined;
|
|
19
22
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -25,11 +28,13 @@ export declare const SideNav: import("react").ComponentType<Partial<{
|
|
|
25
28
|
translate?: "yes" | "no" | undefined;
|
|
26
29
|
radioGroup?: string | undefined;
|
|
27
30
|
about?: string | undefined;
|
|
31
|
+
content?: string | undefined;
|
|
28
32
|
datatype?: string | undefined;
|
|
29
33
|
inlist?: any;
|
|
30
34
|
prefix?: string | undefined;
|
|
31
35
|
property?: string | undefined;
|
|
32
36
|
resource?: string | undefined;
|
|
37
|
+
rev?: string | undefined;
|
|
33
38
|
typeof?: string | undefined;
|
|
34
39
|
vocab?: string | undefined;
|
|
35
40
|
autoCapitalize?: string | undefined;
|
|
@@ -49,14 +54,18 @@ export declare const SideNav: import("react").ComponentType<Partial<{
|
|
|
49
54
|
'aria-activedescendant'?: string | undefined;
|
|
50
55
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
51
56
|
'aria-autocomplete'?: "both" | "list" | "none" | "inline" | undefined;
|
|
57
|
+
'aria-braillelabel'?: string | undefined;
|
|
58
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
52
59
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
53
60
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
54
61
|
'aria-colcount'?: number | undefined;
|
|
55
62
|
'aria-colindex'?: number | undefined;
|
|
63
|
+
'aria-colindextext'?: string | undefined;
|
|
56
64
|
'aria-colspan'?: number | undefined;
|
|
57
65
|
'aria-controls'?: string | undefined;
|
|
58
66
|
'aria-current'?: boolean | "time" | "true" | "page" | "false" | "step" | "location" | "date" | undefined;
|
|
59
67
|
'aria-describedby'?: string | undefined;
|
|
68
|
+
'aria-description'?: string | undefined;
|
|
60
69
|
'aria-details'?: string | undefined;
|
|
61
70
|
'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
|
|
62
71
|
'aria-errormessage'?: string | undefined;
|
|
@@ -85,6 +94,7 @@ export declare const SideNav: import("react").ComponentType<Partial<{
|
|
|
85
94
|
'aria-roledescription'?: string | undefined;
|
|
86
95
|
'aria-rowcount'?: number | undefined;
|
|
87
96
|
'aria-rowindex'?: number | undefined;
|
|
97
|
+
'aria-rowindextext'?: string | undefined;
|
|
88
98
|
'aria-rowspan'?: number | undefined;
|
|
89
99
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
90
100
|
'aria-setsize'?: number | undefined;
|
|
@@ -95,7 +105,7 @@ export declare const SideNav: import("react").ComponentType<Partial<{
|
|
|
95
105
|
'aria-valuetext'?: string | undefined;
|
|
96
106
|
children?: import("react").ReactNode;
|
|
97
107
|
dangerouslySetInnerHTML?: {
|
|
98
|
-
__html: string;
|
|
108
|
+
__html: string | TrustedHTML;
|
|
99
109
|
} | undefined;
|
|
100
110
|
onCopy?: import("react").ClipboardEventHandler<import("sidenav/src").SideNav> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("sidenav/src").SideNav> | undefined;
|
|
@@ -597,6 +607,7 @@ export declare const SideNavHeading: import("react").ComponentType<Partial<{
|
|
|
597
607
|
style?: import("react").CSSProperties | undefined;
|
|
598
608
|
title?: string | undefined;
|
|
599
609
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
610
|
+
rel?: string | undefined;
|
|
600
611
|
id?: string | undefined;
|
|
601
612
|
className?: string | undefined;
|
|
602
613
|
accessKey?: string | undefined;
|
|
@@ -605,6 +616,7 @@ export declare const SideNavHeading: import("react").ComponentType<Partial<{
|
|
|
605
616
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
606
617
|
suppressContentEditableWarning?: boolean | undefined;
|
|
607
618
|
suppressHydrationWarning?: boolean | undefined;
|
|
619
|
+
autoFocus?: boolean | undefined;
|
|
608
620
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
609
621
|
contextMenu?: string | undefined;
|
|
610
622
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -616,11 +628,13 @@ export declare const SideNavHeading: import("react").ComponentType<Partial<{
|
|
|
616
628
|
translate?: "yes" | "no" | undefined;
|
|
617
629
|
radioGroup?: string | undefined;
|
|
618
630
|
about?: string | undefined;
|
|
631
|
+
content?: string | undefined;
|
|
619
632
|
datatype?: string | undefined;
|
|
620
633
|
inlist?: any;
|
|
621
634
|
prefix?: string | undefined;
|
|
622
635
|
property?: string | undefined;
|
|
623
636
|
resource?: string | undefined;
|
|
637
|
+
rev?: string | undefined;
|
|
624
638
|
typeof?: string | undefined;
|
|
625
639
|
vocab?: string | undefined;
|
|
626
640
|
autoCapitalize?: string | undefined;
|
|
@@ -640,14 +654,18 @@ export declare const SideNavHeading: import("react").ComponentType<Partial<{
|
|
|
640
654
|
'aria-activedescendant'?: string | undefined;
|
|
641
655
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
642
656
|
'aria-autocomplete'?: "both" | "list" | "none" | "inline" | undefined;
|
|
657
|
+
'aria-braillelabel'?: string | undefined;
|
|
658
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
643
659
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
644
660
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
645
661
|
'aria-colcount'?: number | undefined;
|
|
646
662
|
'aria-colindex'?: number | undefined;
|
|
663
|
+
'aria-colindextext'?: string | undefined;
|
|
647
664
|
'aria-colspan'?: number | undefined;
|
|
648
665
|
'aria-controls'?: string | undefined;
|
|
649
666
|
'aria-current'?: boolean | "time" | "true" | "page" | "false" | "step" | "location" | "date" | undefined;
|
|
650
667
|
'aria-describedby'?: string | undefined;
|
|
668
|
+
'aria-description'?: string | undefined;
|
|
651
669
|
'aria-details'?: string | undefined;
|
|
652
670
|
'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
|
|
653
671
|
'aria-errormessage'?: string | undefined;
|
|
@@ -676,6 +694,7 @@ export declare const SideNavHeading: 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;
|
|
@@ -686,7 +705,7 @@ export declare const SideNavHeading: import("react").ComponentType<Partial<{
|
|
|
686
705
|
'aria-valuetext'?: string | undefined;
|
|
687
706
|
children?: import("react").ReactNode;
|
|
688
707
|
dangerouslySetInnerHTML?: {
|
|
689
|
-
__html: string;
|
|
708
|
+
__html: string | TrustedHTML;
|
|
690
709
|
} | undefined;
|
|
691
710
|
onCopy?: import("react").ClipboardEventHandler<import("sidenav/src").SideNavHeading> | undefined;
|
|
692
711
|
onCopyCapture?: import("react").ClipboardEventHandler<import("sidenav/src").SideNavHeading> | undefined;
|
|
@@ -1178,6 +1197,7 @@ export declare const SideNavItem: import("react").ComponentType<Partial<{
|
|
|
1178
1197
|
style?: import("react").CSSProperties | undefined;
|
|
1179
1198
|
title?: string | 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
|
accessKey?: string | undefined;
|
|
@@ -1186,6 +1206,7 @@ export declare const SideNavItem: import("react").ComponentType<Partial<{
|
|
|
1186
1206
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
1187
1207
|
suppressContentEditableWarning?: boolean | undefined;
|
|
1188
1208
|
suppressHydrationWarning?: boolean | undefined;
|
|
1209
|
+
autoFocus?: boolean | undefined;
|
|
1189
1210
|
contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
|
|
1190
1211
|
contextMenu?: string | undefined;
|
|
1191
1212
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -1197,11 +1218,13 @@ export declare const SideNavItem: import("react").ComponentType<Partial<{
|
|
|
1197
1218
|
translate?: "yes" | "no" | undefined;
|
|
1198
1219
|
radioGroup?: string | undefined;
|
|
1199
1220
|
about?: string | undefined;
|
|
1221
|
+
content?: string | undefined;
|
|
1200
1222
|
datatype?: string | undefined;
|
|
1201
1223
|
inlist?: any;
|
|
1202
1224
|
prefix?: string | undefined;
|
|
1203
1225
|
property?: string | undefined;
|
|
1204
1226
|
resource?: string | undefined;
|
|
1227
|
+
rev?: string | undefined;
|
|
1205
1228
|
typeof?: string | undefined;
|
|
1206
1229
|
vocab?: string | undefined;
|
|
1207
1230
|
autoCapitalize?: string | undefined;
|
|
@@ -1221,14 +1244,18 @@ export declare const SideNavItem: import("react").ComponentType<Partial<{
|
|
|
1221
1244
|
'aria-activedescendant'?: string | undefined;
|
|
1222
1245
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
1223
1246
|
'aria-autocomplete'?: "both" | "list" | "none" | "inline" | undefined;
|
|
1247
|
+
'aria-braillelabel'?: string | undefined;
|
|
1248
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
1224
1249
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
1225
1250
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1226
1251
|
'aria-colcount'?: number | undefined;
|
|
1227
1252
|
'aria-colindex'?: number | undefined;
|
|
1253
|
+
'aria-colindextext'?: string | undefined;
|
|
1228
1254
|
'aria-colspan'?: number | undefined;
|
|
1229
1255
|
'aria-controls'?: string | undefined;
|
|
1230
1256
|
'aria-current'?: boolean | "time" | "true" | "page" | "false" | "step" | "location" | "date" | undefined;
|
|
1231
1257
|
'aria-describedby'?: string | undefined;
|
|
1258
|
+
'aria-description'?: string | undefined;
|
|
1232
1259
|
'aria-details'?: string | undefined;
|
|
1233
1260
|
'aria-dropeffect'?: "copy" | "link" | "none" | "execute" | "move" | "popup" | undefined;
|
|
1234
1261
|
'aria-errormessage'?: string | undefined;
|
|
@@ -1257,6 +1284,7 @@ export declare const SideNavItem: import("react").ComponentType<Partial<{
|
|
|
1257
1284
|
'aria-roledescription'?: string | undefined;
|
|
1258
1285
|
'aria-rowcount'?: number | undefined;
|
|
1259
1286
|
'aria-rowindex'?: number | undefined;
|
|
1287
|
+
'aria-rowindextext'?: string | undefined;
|
|
1260
1288
|
'aria-rowspan'?: number | undefined;
|
|
1261
1289
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
1262
1290
|
'aria-setsize'?: number | undefined;
|
|
@@ -1267,7 +1295,7 @@ export declare const SideNavItem: import("react").ComponentType<Partial<{
|
|
|
1267
1295
|
'aria-valuetext'?: string | undefined;
|
|
1268
1296
|
children?: import("react").ReactNode;
|
|
1269
1297
|
dangerouslySetInnerHTML?: {
|
|
1270
|
-
__html: string;
|
|
1298
|
+
__html: string | TrustedHTML;
|
|
1271
1299
|
} | undefined;
|
|
1272
1300
|
onCopy?: import("react").ClipboardEventHandler<import("sidenav/src").SideNavItem> | undefined;
|
|
1273
1301
|
onCopyCapture?: import("react").ClipboardEventHandler<import("sidenav/src").SideNavItem> | undefined;
|
|
@@ -1450,7 +1478,6 @@ export declare const SideNavItem: import("react").ComponentType<Partial<{
|
|
|
1450
1478
|
download?: string | undefined;
|
|
1451
1479
|
href?: string | undefined;
|
|
1452
1480
|
target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
|
|
1453
|
-
rel?: string | undefined;
|
|
1454
1481
|
ariaHidden: string | null;
|
|
1455
1482
|
readonly childNodes: NodeListOf<ChildNode>;
|
|
1456
1483
|
value: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/sidenav",
|
|
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/sidenav": "^0.
|
|
33
|
+
"@spectrum-web-components/sidenav": "^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
|
}
|