@swc-react/menu 0.34.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.
Files changed (2) hide show
  1. package/next.d.ts +61 -25
  2. package/package.json +3 -3
package/next.d.ts CHANGED
@@ -1,7 +1,10 @@
1
1
  /// <reference types="react" />
2
+ /// <reference types="react" />
2
3
  export declare const Menu: import("react").ComponentType<Partial<{
3
4
  dir?: string | undefined;
5
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
4
6
  title?: string | undefined;
7
+ rel?: string | undefined;
5
8
  id?: string | undefined;
6
9
  className?: string | undefined;
7
10
  slot?: string | undefined;
@@ -12,7 +15,6 @@ export declare const Menu: import("react").ComponentType<Partial<{
12
15
  lang?: string | undefined;
13
16
  'aria-modal'?: (boolean | "true" | "false") | undefined;
14
17
  accessKey?: string | undefined;
15
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
16
18
  role?: import("react").AriaRole | undefined;
17
19
  'aria-label'?: string | undefined;
18
20
  'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "grid" | "tree" | undefined;
@@ -24,9 +26,10 @@ export declare const Menu: import("react").ComponentType<Partial<{
24
26
  prefix?: string | undefined;
25
27
  children?: import("react").ReactNode;
26
28
  contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
27
- inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
29
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
28
30
  nonce?: string | undefined;
29
31
  'aria-describedby'?: string | undefined;
32
+ 'aria-controls'?: string | undefined;
30
33
  'aria-selected'?: (boolean | "true" | "false") | undefined;
31
34
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
32
35
  'aria-activedescendant'?: string | undefined;
@@ -35,15 +38,18 @@ export declare const Menu: import("react").ComponentType<Partial<{
35
38
  defaultValue?: string | number | readonly string[] | undefined;
36
39
  suppressContentEditableWarning?: boolean | undefined;
37
40
  suppressHydrationWarning?: boolean | undefined;
41
+ autoFocus?: boolean | undefined;
38
42
  contextMenu?: string | undefined;
39
43
  placeholder?: string | undefined;
40
44
  spellCheck?: (boolean | "true" | "false") | undefined;
41
45
  radioGroup?: string | undefined;
42
46
  about?: string | undefined;
47
+ content?: string | undefined;
43
48
  datatype?: string | undefined;
44
49
  inlist?: any;
45
50
  property?: string | undefined;
46
51
  resource?: string | undefined;
52
+ rev?: string | undefined;
47
53
  typeof?: string | undefined;
48
54
  vocab?: string | undefined;
49
55
  autoCapitalize?: string | undefined;
@@ -60,14 +66,17 @@ export declare const Menu: import("react").ComponentType<Partial<{
60
66
  is?: string | undefined;
61
67
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
62
68
  'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
69
+ 'aria-braillelabel'?: string | undefined;
70
+ 'aria-brailleroledescription'?: string | undefined;
63
71
  'aria-busy'?: (boolean | "true" | "false") | undefined;
64
72
  'aria-colcount'?: number | undefined;
65
73
  'aria-colindex'?: number | undefined;
74
+ 'aria-colindextext'?: string | undefined;
66
75
  'aria-colspan'?: number | undefined;
67
- 'aria-controls'?: string | undefined;
68
76
  'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
77
+ 'aria-description'?: string | undefined;
69
78
  'aria-details'?: string | undefined;
70
- 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
79
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
71
80
  'aria-errormessage'?: string | undefined;
72
81
  'aria-flowto'?: string | undefined;
73
82
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
@@ -87,6 +96,7 @@ export declare const Menu: 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 Menu: 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("menu/src").Menu> | undefined;
101
111
  onCopyCapture?: import("react").ClipboardEventHandler<import("menu/src").Menu> | undefined;
@@ -263,6 +273,7 @@ export declare const Menu: import("react").ComponentType<Partial<{
263
273
  readonly attributes: NamedNodeMap;
264
274
  readonly localName: string;
265
275
  label: string;
276
+ normalize: () => void;
266
277
  blur: () => void;
267
278
  click: () => void;
268
279
  focus: ({ preventScroll }?: FocusOptions) => void;
@@ -273,7 +284,6 @@ export declare const Menu: import("react").ComponentType<Partial<{
273
284
  ariaHidden: string | null;
274
285
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
275
286
  autofocus: boolean;
276
- normalize: () => void;
277
287
  shadowRoot: ShadowRoot;
278
288
  readonly renderOptions: import("lit-html").RenderOptions;
279
289
  remove: () => void;
@@ -606,7 +616,9 @@ export declare const Menu: import("react").ComponentType<Partial<{
606
616
  }> & import("react").RefAttributes<import("menu/src").Menu>>;
607
617
  export declare const MenuDivider: import("react").ComponentType<Partial<{
608
618
  dir?: string | undefined;
619
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
609
620
  title?: string | undefined;
621
+ rel?: string | undefined;
610
622
  id?: string | undefined;
611
623
  className?: string | undefined;
612
624
  slot?: string | undefined;
@@ -617,7 +629,6 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
617
629
  lang?: string | undefined;
618
630
  'aria-modal'?: (boolean | "true" | "false") | undefined;
619
631
  accessKey?: string | undefined;
620
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
621
632
  role?: import("react").AriaRole | undefined;
622
633
  'aria-label'?: string | undefined;
623
634
  'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "grid" | "tree" | undefined;
@@ -629,9 +640,10 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
629
640
  prefix?: string | undefined;
630
641
  children?: import("react").ReactNode;
631
642
  contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
632
- inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
643
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
633
644
  nonce?: string | undefined;
634
645
  'aria-describedby'?: string | undefined;
646
+ 'aria-controls'?: string | undefined;
635
647
  'aria-selected'?: (boolean | "true" | "false") | undefined;
636
648
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
637
649
  'aria-activedescendant'?: string | undefined;
@@ -640,15 +652,18 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
640
652
  defaultValue?: string | number | readonly string[] | undefined;
641
653
  suppressContentEditableWarning?: boolean | undefined;
642
654
  suppressHydrationWarning?: boolean | undefined;
655
+ autoFocus?: boolean | undefined;
643
656
  contextMenu?: string | undefined;
644
657
  placeholder?: string | undefined;
645
658
  spellCheck?: (boolean | "true" | "false") | undefined;
646
659
  radioGroup?: string | undefined;
647
660
  about?: string | undefined;
661
+ content?: string | undefined;
648
662
  datatype?: string | undefined;
649
663
  inlist?: any;
650
664
  property?: string | undefined;
651
665
  resource?: string | undefined;
666
+ rev?: string | undefined;
652
667
  typeof?: string | undefined;
653
668
  vocab?: string | undefined;
654
669
  autoCapitalize?: string | undefined;
@@ -665,14 +680,17 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
665
680
  is?: string | undefined;
666
681
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
667
682
  'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
683
+ 'aria-braillelabel'?: string | undefined;
684
+ 'aria-brailleroledescription'?: string | undefined;
668
685
  'aria-busy'?: (boolean | "true" | "false") | undefined;
669
686
  'aria-colcount'?: number | undefined;
670
687
  'aria-colindex'?: number | undefined;
688
+ 'aria-colindextext'?: string | undefined;
671
689
  'aria-colspan'?: number | undefined;
672
- 'aria-controls'?: string | undefined;
673
690
  'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
691
+ 'aria-description'?: string | undefined;
674
692
  'aria-details'?: string | undefined;
675
- 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
693
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
676
694
  'aria-errormessage'?: string | undefined;
677
695
  'aria-flowto'?: string | undefined;
678
696
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
@@ -692,6 +710,7 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
692
710
  'aria-roledescription'?: string | undefined;
693
711
  'aria-rowcount'?: number | undefined;
694
712
  'aria-rowindex'?: number | undefined;
713
+ 'aria-rowindextext'?: string | undefined;
695
714
  'aria-rowspan'?: number | undefined;
696
715
  'aria-setsize'?: number | undefined;
697
716
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
@@ -700,7 +719,7 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
700
719
  'aria-valuenow'?: number | undefined;
701
720
  'aria-valuetext'?: string | undefined;
702
721
  dangerouslySetInnerHTML?: {
703
- __html: string;
722
+ __html: string | TrustedHTML;
704
723
  } | undefined;
705
724
  onCopy?: import("react").ClipboardEventHandler<import("menu/src").MenuDivider> | undefined;
706
725
  onCopyCapture?: import("react").ClipboardEventHandler<import("menu/src").MenuDivider> | undefined;
@@ -868,6 +887,7 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
868
887
  readonly attributes: NamedNodeMap;
869
888
  readonly localName: string;
870
889
  size: import("@spectrum-web-components/base").ElementSize;
890
+ normalize: () => void;
871
891
  blur: () => void;
872
892
  click: () => void;
873
893
  focus: (options?: FocusOptions | undefined) => void;
@@ -878,7 +898,6 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
878
898
  ariaHidden: string | null;
879
899
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
880
900
  autofocus: boolean;
881
- normalize: () => void;
882
901
  shadowRoot: ShadowRoot;
883
902
  readonly renderOptions: import("lit-html").RenderOptions;
884
903
  remove: () => void;
@@ -1187,7 +1206,9 @@ export declare const MenuDivider: import("react").ComponentType<Partial<{
1187
1206
  } & {}> & import("react").RefAttributes<import("menu/src").MenuDivider>>;
1188
1207
  export declare const MenuGroup: import("react").ComponentType<Partial<{
1189
1208
  dir?: string | undefined;
1209
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
1190
1210
  title?: string | undefined;
1211
+ rel?: string | undefined;
1191
1212
  id?: string | undefined;
1192
1213
  className?: string | undefined;
1193
1214
  slot?: string | undefined;
@@ -1198,7 +1219,6 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
1198
1219
  lang?: string | undefined;
1199
1220
  'aria-modal'?: (boolean | "true" | "false") | undefined;
1200
1221
  accessKey?: string | undefined;
1201
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
1202
1222
  role?: import("react").AriaRole | undefined;
1203
1223
  'aria-label'?: string | undefined;
1204
1224
  'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "grid" | "tree" | undefined;
@@ -1210,9 +1230,10 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
1210
1230
  prefix?: string | undefined;
1211
1231
  children?: import("react").ReactNode;
1212
1232
  contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
1213
- inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1233
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1214
1234
  nonce?: string | undefined;
1215
1235
  'aria-describedby'?: string | undefined;
1236
+ 'aria-controls'?: string | undefined;
1216
1237
  'aria-selected'?: (boolean | "true" | "false") | undefined;
1217
1238
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
1218
1239
  'aria-activedescendant'?: string | undefined;
@@ -1221,15 +1242,18 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
1221
1242
  defaultValue?: string | number | readonly string[] | undefined;
1222
1243
  suppressContentEditableWarning?: boolean | undefined;
1223
1244
  suppressHydrationWarning?: boolean | undefined;
1245
+ autoFocus?: boolean | undefined;
1224
1246
  contextMenu?: string | undefined;
1225
1247
  placeholder?: string | undefined;
1226
1248
  spellCheck?: (boolean | "true" | "false") | undefined;
1227
1249
  radioGroup?: string | undefined;
1228
1250
  about?: string | undefined;
1251
+ content?: string | undefined;
1229
1252
  datatype?: string | undefined;
1230
1253
  inlist?: any;
1231
1254
  property?: string | undefined;
1232
1255
  resource?: string | undefined;
1256
+ rev?: string | undefined;
1233
1257
  typeof?: string | undefined;
1234
1258
  vocab?: string | undefined;
1235
1259
  autoCapitalize?: string | undefined;
@@ -1246,14 +1270,17 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
1246
1270
  is?: string | undefined;
1247
1271
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
1248
1272
  'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
1273
+ 'aria-braillelabel'?: string | undefined;
1274
+ 'aria-brailleroledescription'?: string | undefined;
1249
1275
  'aria-busy'?: (boolean | "true" | "false") | undefined;
1250
1276
  'aria-colcount'?: number | undefined;
1251
1277
  'aria-colindex'?: number | undefined;
1278
+ 'aria-colindextext'?: string | undefined;
1252
1279
  'aria-colspan'?: number | undefined;
1253
- 'aria-controls'?: string | undefined;
1254
1280
  'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
1281
+ 'aria-description'?: string | undefined;
1255
1282
  'aria-details'?: string | undefined;
1256
- 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
1283
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
1257
1284
  'aria-errormessage'?: string | undefined;
1258
1285
  'aria-flowto'?: string | undefined;
1259
1286
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
@@ -1273,6 +1300,7 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
1273
1300
  'aria-roledescription'?: string | undefined;
1274
1301
  'aria-rowcount'?: number | undefined;
1275
1302
  'aria-rowindex'?: number | undefined;
1303
+ 'aria-rowindextext'?: string | undefined;
1276
1304
  'aria-rowspan'?: number | undefined;
1277
1305
  'aria-setsize'?: number | undefined;
1278
1306
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
@@ -1281,7 +1309,7 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
1281
1309
  'aria-valuenow'?: number | undefined;
1282
1310
  'aria-valuetext'?: string | undefined;
1283
1311
  dangerouslySetInnerHTML?: {
1284
- __html: string;
1312
+ __html: string | TrustedHTML;
1285
1313
  } | undefined;
1286
1314
  onCopy?: import("react").ClipboardEventHandler<import("menu/src").MenuGroup> | undefined;
1287
1315
  onCopyCapture?: import("react").ClipboardEventHandler<import("menu/src").MenuGroup> | undefined;
@@ -1449,6 +1477,7 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
1449
1477
  readonly attributes: NamedNodeMap;
1450
1478
  readonly localName: string;
1451
1479
  label: string;
1480
+ normalize: () => void;
1452
1481
  blur: () => void;
1453
1482
  click: () => void;
1454
1483
  focus: ({ preventScroll }?: FocusOptions) => void;
@@ -1459,7 +1488,6 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
1459
1488
  ariaHidden: string | null;
1460
1489
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
1461
1490
  autofocus: boolean;
1462
- normalize: () => void;
1463
1491
  shadowRoot: ShadowRoot;
1464
1492
  readonly renderOptions: import("lit-html").RenderOptions;
1465
1493
  remove: () => void;
@@ -1792,7 +1820,9 @@ export declare const MenuGroup: import("react").ComponentType<Partial<{
1792
1820
  }> & import("react").RefAttributes<import("menu/src").MenuGroup>>;
1793
1821
  export declare const MenuItem: import("react").ComponentType<Partial<{
1794
1822
  dir?: string | undefined;
1823
+ 'aria-hidden'?: (boolean | "true" | "false") | undefined;
1795
1824
  title?: string | undefined;
1825
+ rel?: string | undefined;
1796
1826
  id?: string | undefined;
1797
1827
  className?: string | undefined;
1798
1828
  slot?: string | undefined;
@@ -1803,7 +1833,6 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
1803
1833
  lang?: string | undefined;
1804
1834
  'aria-modal'?: (boolean | "true" | "false") | undefined;
1805
1835
  accessKey?: string | undefined;
1806
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
1807
1836
  role?: import("react").AriaRole | undefined;
1808
1837
  'aria-label'?: string | undefined;
1809
1838
  'aria-haspopup'?: boolean | "true" | "dialog" | "menu" | "false" | "listbox" | "grid" | "tree" | undefined;
@@ -1815,9 +1844,10 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
1815
1844
  prefix?: string | undefined;
1816
1845
  children?: import("react").ReactNode;
1817
1846
  contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
1818
- inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1847
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
1819
1848
  nonce?: string | undefined;
1820
1849
  'aria-describedby'?: string | undefined;
1850
+ 'aria-controls'?: string | undefined;
1821
1851
  'aria-selected'?: (boolean | "true" | "false") | undefined;
1822
1852
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
1823
1853
  'aria-activedescendant'?: string | undefined;
@@ -1826,15 +1856,18 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
1826
1856
  defaultValue?: string | number | readonly string[] | undefined;
1827
1857
  suppressContentEditableWarning?: boolean | undefined;
1828
1858
  suppressHydrationWarning?: boolean | undefined;
1859
+ autoFocus?: boolean | undefined;
1829
1860
  contextMenu?: string | undefined;
1830
1861
  placeholder?: string | undefined;
1831
1862
  spellCheck?: (boolean | "true" | "false") | undefined;
1832
1863
  radioGroup?: string | undefined;
1833
1864
  about?: string | undefined;
1865
+ content?: string | undefined;
1834
1866
  datatype?: string | undefined;
1835
1867
  inlist?: any;
1836
1868
  property?: string | undefined;
1837
1869
  resource?: string | undefined;
1870
+ rev?: string | undefined;
1838
1871
  typeof?: string | undefined;
1839
1872
  vocab?: string | undefined;
1840
1873
  autoCapitalize?: string | undefined;
@@ -1851,14 +1884,17 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
1851
1884
  is?: string | undefined;
1852
1885
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
1853
1886
  'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
1887
+ 'aria-braillelabel'?: string | undefined;
1888
+ 'aria-brailleroledescription'?: string | undefined;
1854
1889
  'aria-busy'?: (boolean | "true" | "false") | undefined;
1855
1890
  'aria-colcount'?: number | undefined;
1856
1891
  'aria-colindex'?: number | undefined;
1892
+ 'aria-colindextext'?: string | undefined;
1857
1893
  'aria-colspan'?: number | undefined;
1858
- 'aria-controls'?: string | undefined;
1859
1894
  'aria-current'?: boolean | "true" | "time" | "false" | "page" | "step" | "location" | "date" | undefined;
1895
+ 'aria-description'?: string | undefined;
1860
1896
  'aria-details'?: string | undefined;
1861
- 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
1897
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
1862
1898
  'aria-errormessage'?: string | undefined;
1863
1899
  'aria-flowto'?: string | undefined;
1864
1900
  'aria-grabbed'?: (boolean | "true" | "false") | undefined;
@@ -1878,6 +1914,7 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
1878
1914
  'aria-roledescription'?: string | undefined;
1879
1915
  'aria-rowcount'?: number | undefined;
1880
1916
  'aria-rowindex'?: number | undefined;
1917
+ 'aria-rowindextext'?: string | undefined;
1881
1918
  'aria-rowspan'?: number | undefined;
1882
1919
  'aria-setsize'?: number | undefined;
1883
1920
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
@@ -1886,7 +1923,7 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
1886
1923
  'aria-valuenow'?: number | undefined;
1887
1924
  'aria-valuetext'?: string | undefined;
1888
1925
  dangerouslySetInnerHTML?: {
1889
- __html: string;
1926
+ __html: string | TrustedHTML;
1890
1927
  } | undefined;
1891
1928
  onCopy?: import("react").ClipboardEventHandler<import("menu/src").MenuItem> | undefined;
1892
1929
  onCopyCapture?: import("react").ClipboardEventHandler<import("menu/src").MenuItem> | undefined;
@@ -2054,6 +2091,7 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
2054
2091
  readonly attributes: NamedNodeMap;
2055
2092
  readonly localName: string;
2056
2093
  label?: string | undefined;
2094
+ normalize: () => void;
2057
2095
  blur: () => void;
2058
2096
  click: () => void;
2059
2097
  focus: (options?: FocusOptions | undefined) => void;
@@ -2064,12 +2102,10 @@ export declare const MenuItem: import("react").ComponentType<Partial<{
2064
2102
  download?: string | undefined;
2065
2103
  href?: string | undefined;
2066
2104
  target?: "_blank" | "_parent" | "_self" | "_top" | undefined;
2067
- rel?: string | undefined;
2068
2105
  ariaHidden: string | null;
2069
2106
  animate: (keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined) => Animation;
2070
2107
  disabled: boolean;
2071
2108
  autofocus: boolean;
2072
- normalize: () => void;
2073
2109
  shadowRoot: ShadowRoot;
2074
2110
  open: boolean;
2075
2111
  readonly renderOptions: import("lit-html").RenderOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-react/menu",
3
- "version": "0.34.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/menu": "^0.34.0"
33
+ "@spectrum-web-components/menu": "^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": "f9b3294d67cdd52b2c36897cdc1c20ceaeb019cf"
43
+ "gitHead": "1ee5a6c92838cdf48321276d97f61c20f8476ac1"
44
44
  }