@swc-react/dialog 0.34.1-rc.0 → 0.35.1-rc.15
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 +34 -6
- 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 Dialog: import("react").ComponentType<Partial<{
|
|
3
4
|
dir?: string | undefined;
|
|
4
5
|
role?: import("react").AriaRole | undefined;
|
|
@@ -19,23 +20,28 @@ export declare const Dialog: import("react").ComponentType<Partial<{
|
|
|
19
20
|
nonce?: string | undefined;
|
|
20
21
|
tabIndex?: number | undefined;
|
|
21
22
|
'aria-orientation'?: "vertical" | "horizontal" | undefined;
|
|
23
|
+
rel?: string | undefined;
|
|
22
24
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
23
25
|
'aria-label'?: string | undefined;
|
|
26
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
24
27
|
'aria-labelledby'?: string | undefined;
|
|
25
28
|
'aria-describedby'?: string | undefined;
|
|
26
29
|
defaultChecked?: boolean | undefined;
|
|
27
30
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
28
31
|
suppressContentEditableWarning?: boolean | undefined;
|
|
29
32
|
suppressHydrationWarning?: boolean | undefined;
|
|
33
|
+
autoFocus?: boolean | undefined;
|
|
30
34
|
contextMenu?: string | undefined;
|
|
31
35
|
placeholder?: string | undefined;
|
|
32
36
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
33
37
|
radioGroup?: string | undefined;
|
|
34
38
|
about?: string | undefined;
|
|
39
|
+
content?: string | undefined;
|
|
35
40
|
datatype?: string | undefined;
|
|
36
41
|
inlist?: any;
|
|
37
42
|
property?: 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,13 +60,17 @@ export declare const Dialog: import("react").ComponentType<Partial<{
|
|
|
54
60
|
'aria-activedescendant'?: string | undefined;
|
|
55
61
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
56
62
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
63
|
+
'aria-braillelabel'?: string | undefined;
|
|
64
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
57
65
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
58
66
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
59
67
|
'aria-colcount'?: number | undefined;
|
|
60
68
|
'aria-colindex'?: number | undefined;
|
|
69
|
+
'aria-colindextext'?: string | undefined;
|
|
61
70
|
'aria-colspan'?: number | undefined;
|
|
62
71
|
'aria-controls'?: string | undefined;
|
|
63
72
|
'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
73
|
+
'aria-description'?: string | undefined;
|
|
64
74
|
'aria-details'?: string | undefined;
|
|
65
75
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
66
76
|
'aria-errormessage'?: string | undefined;
|
|
@@ -68,7 +78,6 @@ export declare const Dialog: import("react").ComponentType<Partial<{
|
|
|
68
78
|
'aria-flowto'?: string | undefined;
|
|
69
79
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
70
80
|
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
71
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
72
81
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
73
82
|
'aria-keyshortcuts'?: string | undefined;
|
|
74
83
|
'aria-level'?: number | undefined;
|
|
@@ -86,6 +95,7 @@ export declare const Dialog: 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 Dialog: 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("dialog/src").Dialog> | undefined;
|
|
101
111
|
onCopyCapture?: import("react").ClipboardEventHandler<import("dialog/src").Dialog> | undefined;
|
|
@@ -611,23 +621,28 @@ export declare const DialogBase: import("react").ComponentType<Partial<{
|
|
|
611
621
|
nonce?: string | undefined;
|
|
612
622
|
tabIndex?: number | undefined;
|
|
613
623
|
'aria-orientation'?: "vertical" | "horizontal" | undefined;
|
|
624
|
+
rel?: string | undefined;
|
|
614
625
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
615
626
|
'aria-label'?: string | undefined;
|
|
627
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
616
628
|
'aria-labelledby'?: string | undefined;
|
|
617
629
|
'aria-describedby'?: string | undefined;
|
|
618
630
|
defaultChecked?: boolean | undefined;
|
|
619
631
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
620
632
|
suppressContentEditableWarning?: boolean | undefined;
|
|
621
633
|
suppressHydrationWarning?: boolean | undefined;
|
|
634
|
+
autoFocus?: boolean | undefined;
|
|
622
635
|
contextMenu?: string | undefined;
|
|
623
636
|
placeholder?: string | undefined;
|
|
624
637
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
625
638
|
radioGroup?: string | undefined;
|
|
626
639
|
about?: string | undefined;
|
|
640
|
+
content?: string | undefined;
|
|
627
641
|
datatype?: string | undefined;
|
|
628
642
|
inlist?: any;
|
|
629
643
|
property?: string | undefined;
|
|
630
644
|
resource?: string | undefined;
|
|
645
|
+
rev?: string | undefined;
|
|
631
646
|
typeof?: string | undefined;
|
|
632
647
|
vocab?: string | undefined;
|
|
633
648
|
autoCapitalize?: string | undefined;
|
|
@@ -646,13 +661,17 @@ export declare const DialogBase: import("react").ComponentType<Partial<{
|
|
|
646
661
|
'aria-activedescendant'?: string | undefined;
|
|
647
662
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
648
663
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
664
|
+
'aria-braillelabel'?: string | undefined;
|
|
665
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
649
666
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
650
667
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
651
668
|
'aria-colcount'?: number | undefined;
|
|
652
669
|
'aria-colindex'?: number | undefined;
|
|
670
|
+
'aria-colindextext'?: string | undefined;
|
|
653
671
|
'aria-colspan'?: number | undefined;
|
|
654
672
|
'aria-controls'?: string | undefined;
|
|
655
673
|
'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
674
|
+
'aria-description'?: string | undefined;
|
|
656
675
|
'aria-details'?: string | undefined;
|
|
657
676
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
658
677
|
'aria-errormessage'?: string | undefined;
|
|
@@ -660,7 +679,6 @@ export declare const DialogBase: import("react").ComponentType<Partial<{
|
|
|
660
679
|
'aria-flowto'?: string | undefined;
|
|
661
680
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
662
681
|
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
663
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
664
682
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
665
683
|
'aria-keyshortcuts'?: string | undefined;
|
|
666
684
|
'aria-level'?: number | undefined;
|
|
@@ -678,6 +696,7 @@ export declare const DialogBase: import("react").ComponentType<Partial<{
|
|
|
678
696
|
'aria-roledescription'?: string | undefined;
|
|
679
697
|
'aria-rowcount'?: number | undefined;
|
|
680
698
|
'aria-rowindex'?: number | undefined;
|
|
699
|
+
'aria-rowindextext'?: string | undefined;
|
|
681
700
|
'aria-rowspan'?: number | undefined;
|
|
682
701
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
683
702
|
'aria-setsize'?: number | undefined;
|
|
@@ -687,7 +706,7 @@ export declare const DialogBase: import("react").ComponentType<Partial<{
|
|
|
687
706
|
'aria-valuenow'?: number | undefined;
|
|
688
707
|
'aria-valuetext'?: string | undefined;
|
|
689
708
|
dangerouslySetInnerHTML?: {
|
|
690
|
-
__html: string;
|
|
709
|
+
__html: string | TrustedHTML;
|
|
691
710
|
} | undefined;
|
|
692
711
|
onCopy?: import("react").ClipboardEventHandler<import("dialog/src").DialogBase> | undefined;
|
|
693
712
|
onCopyCapture?: import("react").ClipboardEventHandler<import("dialog/src").DialogBase> | undefined;
|
|
@@ -1199,23 +1218,28 @@ export declare const DialogWrapper: import("react").ComponentType<Partial<{
|
|
|
1199
1218
|
nonce?: string | undefined;
|
|
1200
1219
|
tabIndex?: number | undefined;
|
|
1201
1220
|
'aria-orientation'?: "vertical" | "horizontal" | undefined;
|
|
1221
|
+
rel?: string | undefined;
|
|
1202
1222
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
1203
1223
|
'aria-label'?: string | undefined;
|
|
1224
|
+
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
1204
1225
|
'aria-labelledby'?: string | undefined;
|
|
1205
1226
|
'aria-describedby'?: string | undefined;
|
|
1206
1227
|
defaultChecked?: boolean | undefined;
|
|
1207
1228
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
1208
1229
|
suppressContentEditableWarning?: boolean | undefined;
|
|
1209
1230
|
suppressHydrationWarning?: boolean | undefined;
|
|
1231
|
+
autoFocus?: boolean | undefined;
|
|
1210
1232
|
contextMenu?: string | undefined;
|
|
1211
1233
|
placeholder?: string | undefined;
|
|
1212
1234
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
1213
1235
|
radioGroup?: string | undefined;
|
|
1214
1236
|
about?: string | undefined;
|
|
1237
|
+
content?: string | undefined;
|
|
1215
1238
|
datatype?: string | undefined;
|
|
1216
1239
|
inlist?: any;
|
|
1217
1240
|
property?: string | undefined;
|
|
1218
1241
|
resource?: string | undefined;
|
|
1242
|
+
rev?: string | undefined;
|
|
1219
1243
|
typeof?: string | undefined;
|
|
1220
1244
|
vocab?: string | undefined;
|
|
1221
1245
|
autoCapitalize?: string | undefined;
|
|
@@ -1234,13 +1258,17 @@ export declare const DialogWrapper: import("react").ComponentType<Partial<{
|
|
|
1234
1258
|
'aria-activedescendant'?: string | undefined;
|
|
1235
1259
|
'aria-atomic'?: (boolean | "true" | "false") | undefined;
|
|
1236
1260
|
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
|
1261
|
+
'aria-braillelabel'?: string | undefined;
|
|
1262
|
+
'aria-brailleroledescription'?: string | undefined;
|
|
1237
1263
|
'aria-busy'?: (boolean | "true" | "false") | undefined;
|
|
1238
1264
|
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1239
1265
|
'aria-colcount'?: number | undefined;
|
|
1240
1266
|
'aria-colindex'?: number | undefined;
|
|
1267
|
+
'aria-colindextext'?: string | undefined;
|
|
1241
1268
|
'aria-colspan'?: number | undefined;
|
|
1242
1269
|
'aria-controls'?: string | undefined;
|
|
1243
1270
|
'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
|
|
1271
|
+
'aria-description'?: string | undefined;
|
|
1244
1272
|
'aria-details'?: string | undefined;
|
|
1245
1273
|
'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
|
|
1246
1274
|
'aria-errormessage'?: string | undefined;
|
|
@@ -1248,7 +1276,6 @@ export declare const DialogWrapper: import("react").ComponentType<Partial<{
|
|
|
1248
1276
|
'aria-flowto'?: string | undefined;
|
|
1249
1277
|
'aria-grabbed'?: (boolean | "true" | "false") | undefined;
|
|
1250
1278
|
'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
1251
|
-
'aria-hidden'?: (boolean | "true" | "false") | undefined;
|
|
1252
1279
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
1253
1280
|
'aria-keyshortcuts'?: string | undefined;
|
|
1254
1281
|
'aria-level'?: number | undefined;
|
|
@@ -1266,6 +1293,7 @@ export declare const DialogWrapper: import("react").ComponentType<Partial<{
|
|
|
1266
1293
|
'aria-roledescription'?: string | undefined;
|
|
1267
1294
|
'aria-rowcount'?: number | undefined;
|
|
1268
1295
|
'aria-rowindex'?: number | undefined;
|
|
1296
|
+
'aria-rowindextext'?: string | undefined;
|
|
1269
1297
|
'aria-rowspan'?: number | undefined;
|
|
1270
1298
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
1271
1299
|
'aria-setsize'?: number | undefined;
|
|
@@ -1275,7 +1303,7 @@ export declare const DialogWrapper: import("react").ComponentType<Partial<{
|
|
|
1275
1303
|
'aria-valuenow'?: number | undefined;
|
|
1276
1304
|
'aria-valuetext'?: string | undefined;
|
|
1277
1305
|
dangerouslySetInnerHTML?: {
|
|
1278
|
-
__html: string;
|
|
1306
|
+
__html: string | TrustedHTML;
|
|
1279
1307
|
} | undefined;
|
|
1280
1308
|
onCopy?: import("react").ClipboardEventHandler<import("dialog/src").DialogWrapper> | undefined;
|
|
1281
1309
|
onCopyCapture?: import("react").ClipboardEventHandler<import("dialog/src").DialogWrapper> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/dialog",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.1-rc.15+9b76319e4",
|
|
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/dialog": "^0.
|
|
33
|
+
"@spectrum-web-components/dialog": "^0.35.1-rc.15+9b76319e4"
|
|
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": "9b76319e4f1cc7cb0dd03e9d9debf544e5bed4e9"
|
|
44
44
|
}
|