@swc-react/menu 0.39.3 → 0.40.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 +12 -12
- package/package.json +3 -3
package/next.d.ts
CHANGED
|
@@ -21,9 +21,10 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
21
21
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
22
22
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
23
23
|
nonce?: string | undefined;
|
|
24
|
+
color?: string | undefined;
|
|
24
25
|
content?: string | undefined;
|
|
25
26
|
'aria-describedby'?: string | undefined;
|
|
26
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "
|
|
27
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "grid" | "false" | "listbox" | "tree" | undefined;
|
|
27
28
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
28
29
|
role?: import("react").AriaRole | undefined;
|
|
29
30
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
@@ -51,7 +52,6 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
51
52
|
autoCapitalize?: string | undefined;
|
|
52
53
|
autoCorrect?: string | undefined;
|
|
53
54
|
autoSave?: string | undefined;
|
|
54
|
-
color?: string | undefined;
|
|
55
55
|
itemProp?: string | undefined;
|
|
56
56
|
itemScope?: boolean | undefined;
|
|
57
57
|
itemType?: string | undefined;
|
|
@@ -91,7 +91,7 @@ export declare const Menu: import("react").ComponentType<Partial<{
|
|
|
91
91
|
'aria-posinset'?: number | undefined;
|
|
92
92
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
93
93
|
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
94
|
-
'aria-relevant'?: "text" | "
|
|
94
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
95
95
|
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
96
96
|
'aria-roledescription'?: string | undefined;
|
|
97
97
|
'aria-rowcount'?: number | undefined;
|
|
@@ -638,9 +638,10 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
638
638
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
639
639
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
640
640
|
nonce?: string | undefined;
|
|
641
|
+
color?: string | undefined;
|
|
641
642
|
content?: string | undefined;
|
|
642
643
|
'aria-describedby'?: string | undefined;
|
|
643
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "
|
|
644
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "grid" | "false" | "listbox" | "tree" | undefined;
|
|
644
645
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
645
646
|
role?: import("react").AriaRole | undefined;
|
|
646
647
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
@@ -668,7 +669,6 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
668
669
|
autoCapitalize?: string | undefined;
|
|
669
670
|
autoCorrect?: string | undefined;
|
|
670
671
|
autoSave?: string | undefined;
|
|
671
|
-
color?: string | undefined;
|
|
672
672
|
itemProp?: string | undefined;
|
|
673
673
|
itemScope?: boolean | undefined;
|
|
674
674
|
itemType?: string | undefined;
|
|
@@ -708,7 +708,7 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
|
|
|
708
708
|
'aria-posinset'?: number | undefined;
|
|
709
709
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
710
710
|
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
711
|
-
'aria-relevant'?: "text" | "
|
|
711
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
712
712
|
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
713
713
|
'aria-roledescription'?: string | undefined;
|
|
714
714
|
'aria-rowcount'?: number | undefined;
|
|
@@ -1228,9 +1228,10 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1228
1228
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
1229
1229
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
1230
1230
|
nonce?: string | undefined;
|
|
1231
|
+
color?: string | undefined;
|
|
1231
1232
|
content?: string | undefined;
|
|
1232
1233
|
'aria-describedby'?: string | undefined;
|
|
1233
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "
|
|
1234
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "grid" | "false" | "listbox" | "tree" | undefined;
|
|
1234
1235
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
1235
1236
|
role?: import("react").AriaRole | undefined;
|
|
1236
1237
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
@@ -1258,7 +1259,6 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1258
1259
|
autoCapitalize?: string | undefined;
|
|
1259
1260
|
autoCorrect?: string | undefined;
|
|
1260
1261
|
autoSave?: string | undefined;
|
|
1261
|
-
color?: string | undefined;
|
|
1262
1262
|
itemProp?: string | undefined;
|
|
1263
1263
|
itemScope?: boolean | undefined;
|
|
1264
1264
|
itemType?: string | undefined;
|
|
@@ -1298,7 +1298,7 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
|
|
|
1298
1298
|
'aria-posinset'?: number | undefined;
|
|
1299
1299
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1300
1300
|
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
1301
|
-
'aria-relevant'?: "text" | "
|
|
1301
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
1302
1302
|
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
1303
1303
|
'aria-roledescription'?: string | undefined;
|
|
1304
1304
|
'aria-rowcount'?: number | undefined;
|
|
@@ -1845,9 +1845,10 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
1845
1845
|
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
|
1846
1846
|
inputMode?: "text" | "search" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
1847
1847
|
nonce?: string | undefined;
|
|
1848
|
+
color?: string | undefined;
|
|
1848
1849
|
content?: string | undefined;
|
|
1849
1850
|
'aria-describedby'?: string | undefined;
|
|
1850
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "
|
|
1851
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "grid" | "false" | "listbox" | "tree" | undefined;
|
|
1851
1852
|
'aria-expanded'?: (boolean | "true" | "false") | undefined;
|
|
1852
1853
|
role?: import("react").AriaRole | undefined;
|
|
1853
1854
|
'aria-selected'?: (boolean | "true" | "false") | undefined;
|
|
@@ -1875,7 +1876,6 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
1875
1876
|
autoCapitalize?: string | undefined;
|
|
1876
1877
|
autoCorrect?: string | undefined;
|
|
1877
1878
|
autoSave?: string | undefined;
|
|
1878
|
-
color?: string | undefined;
|
|
1879
1879
|
itemProp?: string | undefined;
|
|
1880
1880
|
itemScope?: boolean | undefined;
|
|
1881
1881
|
itemType?: string | undefined;
|
|
@@ -1915,7 +1915,7 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
|
|
|
1915
1915
|
'aria-posinset'?: number | undefined;
|
|
1916
1916
|
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
|
1917
1917
|
'aria-readonly'?: (boolean | "true" | "false") | undefined;
|
|
1918
|
-
'aria-relevant'?: "text" | "
|
|
1918
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
1919
1919
|
'aria-required'?: (boolean | "true" | "false") | undefined;
|
|
1920
1920
|
'aria-roledescription'?: string | undefined;
|
|
1921
1921
|
'aria-rowcount'?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc-react/menu",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.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/menu": "^0.
|
|
33
|
+
"@spectrum-web-components/menu": "^0.40.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": "24d5569a839da94892ecfd125428779587ffb1f5"
|
|
44
44
|
}
|