@primereact/mcp 11.1.0 → 11.2.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 (178) hide show
  1. package/data/llms/headless/components/accordion/api.json +9 -9
  2. package/data/llms/headless/components/animateonscroll/api.json +2 -2
  3. package/data/llms/headless/components/autocomplete/api.json +33 -33
  4. package/data/llms/headless/components/avatar/api.json +1 -1
  5. package/data/llms/headless/components/carousel/api.json +15 -15
  6. package/data/llms/headless/components/checkbox/api.json +18 -18
  7. package/data/llms/headless/components/collapsible/api.json +14 -14
  8. package/data/llms/headless/components/compare/api.json +3 -3
  9. package/data/llms/headless/components/contextmenu/api.json +2 -2
  10. package/data/llms/headless/components/datatable/api.json +19 -19
  11. package/data/llms/headless/components/dataview/api.json +3 -3
  12. package/data/llms/headless/components/datepicker/api.json +43 -43
  13. package/data/llms/headless/components/dialog/api.json +19 -19
  14. package/data/llms/headless/components/divider/api.json +3 -3
  15. package/data/llms/headless/components/drawer/api.json +13 -13
  16. package/data/llms/headless/components/fieldset/api.json +9 -9
  17. package/data/llms/headless/components/fileupload/api.json +5 -5
  18. package/data/llms/headless/components/focustrap/api.json +4 -4
  19. package/data/llms/headless/components/gallery/api.json +23 -23
  20. package/data/llms/headless/components/inplace/api.json +3 -3
  21. package/data/llms/headless/components/inputcolor/api.json +6 -6
  22. package/data/llms/headless/components/inputcolor.md +0 -1
  23. package/data/llms/headless/components/inputnumber/api.json +8 -8
  24. package/data/llms/headless/components/inputotp/api.json +7 -7
  25. package/data/llms/headless/components/inputpassword/api.json +4 -4
  26. package/data/llms/headless/components/inputpassword.md +3 -3
  27. package/data/llms/headless/components/inputtags/api.json +8 -8
  28. package/data/llms/headless/components/inputtext/api.json +1 -1
  29. package/data/llms/headless/components/knob/api.json +18 -18
  30. package/data/llms/headless/components/listbox/api.json +27 -27
  31. package/data/llms/headless/components/menu/api.json +10 -10
  32. package/data/llms/headless/components/message/api.json +1 -1
  33. package/data/llms/headless/components/metergroup/api.json +3 -3
  34. package/data/llms/headless/components/motion/api.json +1 -1
  35. package/data/llms/headless/components/navigationmenu/api.json +5 -5
  36. package/data/llms/headless/components/orderlist/api.json +5 -5
  37. package/data/llms/headless/components/organizationchart/api.json +6 -6
  38. package/data/llms/headless/components/paginator/api.json +5 -5
  39. package/data/llms/headless/components/panel/api.json +9 -9
  40. package/data/llms/headless/components/picklist/api.json +5 -5
  41. package/data/llms/headless/components/popover/api.json +16 -16
  42. package/data/llms/headless/components/positioner/api.json +7 -7
  43. package/data/llms/headless/components/progressbar/api.json +3 -3
  44. package/data/llms/headless/components/progressspinner/api.json +3 -3
  45. package/data/llms/headless/components/radiobutton/api.json +16 -16
  46. package/data/llms/headless/components/rating/api.json +5 -5
  47. package/data/llms/headless/components/scrollarea/api.json +6 -6
  48. package/data/llms/headless/components/select/api.json +34 -34
  49. package/data/llms/headless/components/sidebar/api.json +60 -60
  50. package/data/llms/headless/components/sidebar.md +4 -2
  51. package/data/llms/headless/components/slider/api.json +3 -3
  52. package/data/llms/headless/components/speeddial/api.json +4 -4
  53. package/data/llms/headless/components/splitter/api.json +5 -5
  54. package/data/llms/headless/components/stepper/api.json +13 -13
  55. package/data/llms/headless/components/styleclass/api.json +1 -1
  56. package/data/llms/headless/components/tabs/api.json +17 -17
  57. package/data/llms/headless/components/terminal/api.json +1 -1
  58. package/data/llms/headless/components/toast/api.json +4 -4
  59. package/data/llms/headless/components/togglebutton/api.json +27 -3
  60. package/data/llms/headless/components/toggleswitch/api.json +3 -3
  61. package/data/llms/headless/components/tooltip/api.json +17 -17
  62. package/data/llms/headless/components/tree/api.json +20 -20
  63. package/data/llms/headless/components/tree.md +1 -0
  64. package/data/llms/headless/components/treetable/api.json +19 -19
  65. package/data/llms/hooks/use-filter.md +2 -2
  66. package/data/llms/hooks/use-tree-filter.md +3 -1
  67. package/data/llms/llms-full.txt +485 -229
  68. package/data/llms/primitive/components/accordion/api.json +39 -39
  69. package/data/llms/primitive/components/animateonscroll/api.json +5 -5
  70. package/data/llms/primitive/components/autocomplete/api.json +105 -105
  71. package/data/llms/primitive/components/avatar/api.json +14 -14
  72. package/data/llms/primitive/components/badge/api.json +6 -6
  73. package/data/llms/primitive/components/breadcrumb/api.json +27 -27
  74. package/data/llms/primitive/components/button/api.json +8 -8
  75. package/data/llms/primitive/components/buttongroup/api.json +3 -3
  76. package/data/llms/primitive/components/card/api.json +24 -24
  77. package/data/llms/primitive/components/carousel/api.json +28 -28
  78. package/data/llms/primitive/components/checkbox/api.json +14 -14
  79. package/data/llms/primitive/components/checkboxgroup/api.json +5 -5
  80. package/data/llms/primitive/components/chip/api.json +19 -19
  81. package/data/llms/primitive/components/collapsible/api.json +18 -18
  82. package/data/llms/primitive/components/compare/api.json +18 -18
  83. package/data/llms/primitive/components/contextmenu/api.json +150 -1141
  84. package/data/llms/primitive/components/datatable/api.json +215 -164
  85. package/data/llms/primitive/components/dataview/api.json +17 -17
  86. package/data/llms/primitive/components/datepicker/api.json +230 -230
  87. package/data/llms/primitive/components/dialog/api.json +63 -63
  88. package/data/llms/primitive/components/divider/api.json +3 -3
  89. package/data/llms/primitive/components/drawer/api.json +47 -47
  90. package/data/llms/primitive/components/fieldset/api.json +31 -31
  91. package/data/llms/primitive/components/fileupload/api.json +53 -53
  92. package/data/llms/primitive/components/floatlabel/api.json +3 -3
  93. package/data/llms/primitive/components/focustrap/api.json +7 -7
  94. package/data/llms/primitive/components/gallery/api.json +91 -91
  95. package/data/llms/primitive/components/iconfield/api.json +7 -7
  96. package/data/llms/primitive/components/iftalabel/api.json +3 -3
  97. package/data/llms/primitive/components/inplace/api.json +18 -18
  98. package/data/llms/primitive/components/inputcolor/api.json +51 -51
  99. package/data/llms/primitive/components/inputnumber/api.json +10 -10
  100. package/data/llms/primitive/components/inputotp/api.json +12 -12
  101. package/data/llms/primitive/components/inputpassword/api.json +7 -7
  102. package/data/llms/primitive/components/inputtags/api.json +6 -6
  103. package/data/llms/primitive/components/inputtext/api.json +4 -4
  104. package/data/llms/primitive/components/knob/api.json +19 -19
  105. package/data/llms/primitive/components/label/api.json +3 -3
  106. package/data/llms/primitive/components/listbox/api.json +57 -57
  107. package/data/llms/primitive/components/menu/api.json +87 -279
  108. package/data/llms/primitive/components/message/api.json +22 -22
  109. package/data/llms/primitive/components/metergroup/api.json +27 -27
  110. package/data/llms/primitive/components/navigationmenu/api.json +8 -8
  111. package/data/llms/primitive/components/paginator/api.json +43 -43
  112. package/data/llms/primitive/components/panel/api.json +34 -34
  113. package/data/llms/primitive/components/popover/api.json +67 -67
  114. package/data/llms/primitive/components/portal/api.json +4 -4
  115. package/data/llms/primitive/components/progressbar/api.json +22 -22
  116. package/data/llms/primitive/components/progressspinner/api.json +18 -18
  117. package/data/llms/primitive/components/radiobutton/api.json +16 -16
  118. package/data/llms/primitive/components/rating/api.json +20 -20
  119. package/data/llms/primitive/components/scrollarea/api.json +23 -23
  120. package/data/llms/primitive/components/select/api.json +95 -95
  121. package/data/llms/primitive/components/sidebar/api.json +88 -88
  122. package/data/llms/primitive/components/sidebar.md +2 -1
  123. package/data/llms/primitive/components/skeleton/api.json +3 -3
  124. package/data/llms/primitive/components/slider/api.json +22 -22
  125. package/data/llms/primitive/components/speeddial/api.json +22 -22
  126. package/data/llms/primitive/components/splitter/api.json +18 -18
  127. package/data/llms/primitive/components/stepper/api.json +64 -64
  128. package/data/llms/primitive/components/tabs/api.json +51 -51
  129. package/data/llms/primitive/components/tag/api.json +3 -3
  130. package/data/llms/primitive/components/terminal/api.json +44 -44
  131. package/data/llms/primitive/components/textarea/api.json +4 -4
  132. package/data/llms/primitive/components/timeline/api.json +27 -27
  133. package/data/llms/primitive/components/toast/api.json +48 -48
  134. package/data/llms/primitive/components/togglebutton/api.json +10 -10
  135. package/data/llms/primitive/components/togglebuttongroup/api.json +5 -5
  136. package/data/llms/primitive/components/toggleswitch/api.json +12 -12
  137. package/data/llms/primitive/components/toolbar/api.json +15 -15
  138. package/data/llms/primitive/components/tooltip/api.json +52 -52
  139. package/data/llms/primitive/components/tree/api.json +73 -73
  140. package/data/llms/primitive/components/visuallyhidden/api.json +3 -3
  141. package/data/llms/primitive/guides/migration/updating-to-v11.md +2 -2
  142. package/data/llms/styled/add-ons/designer/ci.md +7 -7
  143. package/data/llms/styled/add-ons/uikit/guide/v3.md +1 -0
  144. package/data/llms/styled/components/button/api.json +8 -8
  145. package/data/llms/styled/components/carousel.md +65 -0
  146. package/data/llms/styled/components/datatable.md +94 -84
  147. package/data/llms/styled/components/floatlabel/api.json +3 -3
  148. package/data/llms/styled/components/fluid/api.json +3 -3
  149. package/data/llms/styled/components/iconfield/api.json +7 -7
  150. package/data/llms/styled/components/iftalabel/api.json +3 -3
  151. package/data/llms/styled/components/inputcolor.md +3 -0
  152. package/data/llms/styled/components/inputgroup/api.json +7 -7
  153. package/data/llms/styled/components/label/api.json +3 -3
  154. package/data/llms/styled/components/organizationchart/api.json +33 -33
  155. package/data/llms/styled/components/rating/api.json +11 -11
  156. package/data/llms/styled/components/select.md +6 -0
  157. package/data/llms/styled/components/sidebar.md +12 -8
  158. package/data/llms/styled/components/tree.md +5 -0
  159. package/data/llms/styled/components/treetable.md +171 -62
  160. package/data/llms/styled/guides/configuration.md +25 -0
  161. package/data/llms/styled/guides/migration/updating-to-v11.md +2 -2
  162. package/data/llms/styled/guides/theming/tailwind.md +25 -0
  163. package/data/llms/tailwind/components/button/api.json +8 -8
  164. package/data/llms/tailwind/components/datatable.md +33 -42
  165. package/data/llms/tailwind/components/inputgroup.md +0 -1
  166. package/data/llms/tailwind/components/select.md +3 -0
  167. package/data/llms/tailwind/components/sidebar.md +16 -11
  168. package/data/manifest.json +773 -778
  169. package/data/mcp-data.json +5 -29
  170. package/dist/index.d.ts +7 -2
  171. package/dist/index.js +1 -1
  172. package/package.json +9 -8
  173. package/data/llms/headless/guides/misc/locale.md +0 -280
  174. package/data/llms/primitive/guides/misc/locale.md +0 -280
  175. package/data/llms/styled/guides/installation/configuration.md +0 -135
  176. package/data/llms/styled/guides/misc/locale.md +0 -280
  177. package/data/llms/tailwind/guides/misc/locale.md +0 -280
  178. package/data/llms/tailwind/guides/theming/guide.md +0 -179
@@ -37,19 +37,19 @@
37
37
  },
38
38
  {
39
39
  "name": "style",
40
- "type": "CSSProperties | ((instance?: MenuArrowInstance) => CSSProperties)",
40
+ "type": "CSSProperties | ((instance?: MenuArrowInstance) => undefined | CSSProperties)",
41
41
  "default": "",
42
42
  "description": "The style to apply to the component."
43
43
  },
44
44
  {
45
45
  "name": "className",
46
- "type": "string | ((instance?: MenuArrowInstance) => string)",
46
+ "type": "string | ((instance?: MenuArrowInstance) => undefined | string)",
47
47
  "default": "",
48
48
  "description": "The class name to apply to the component."
49
49
  },
50
50
  {
51
51
  "name": "as",
52
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
52
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
53
53
  "default": "",
54
54
  "description": "The component type to render."
55
55
  },
@@ -134,7 +134,7 @@
134
134
  "props": [
135
135
  {
136
136
  "name": "menu",
137
- "type": "MenuRootInstance",
137
+ "type": "undefined | null | MenuRootInstance",
138
138
  "default": "",
139
139
  "description": "The Menu component instance."
140
140
  }
@@ -213,19 +213,19 @@
213
213
  },
214
214
  {
215
215
  "name": "style",
216
- "type": "CSSProperties | ((instance?: MenuCheckboxItemInstance) => CSSProperties)",
216
+ "type": "CSSProperties | ((instance?: MenuCheckboxItemInstance) => undefined | CSSProperties)",
217
217
  "default": "",
218
218
  "description": "The style to apply to the component."
219
219
  },
220
220
  {
221
221
  "name": "className",
222
- "type": "string | ((instance?: MenuCheckboxItemInstance) => string)",
222
+ "type": "string | ((instance?: MenuCheckboxItemInstance) => undefined | string)",
223
223
  "default": "",
224
224
  "description": "The class name to apply to the component."
225
225
  },
226
226
  {
227
227
  "name": "as",
228
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
228
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
229
229
  "default": "",
230
230
  "description": "The component type to render."
231
231
  },
@@ -467,25 +467,25 @@
467
467
  },
468
468
  {
469
469
  "name": "menu",
470
- "type": "MenuRootInstance",
470
+ "type": "undefined | null | MenuRootInstance",
471
471
  "default": "",
472
472
  "description": "Instance of the Menu component."
473
473
  },
474
474
  {
475
475
  "name": "submenu",
476
- "type": "MenuSubmenuInstance",
476
+ "type": "undefined | null | MenuSubmenuInstance",
477
477
  "default": "",
478
478
  "description": "Instance of the MenuSubmenu component."
479
479
  },
480
480
  {
481
481
  "name": "portal",
482
- "type": "MenuPortalInstance",
482
+ "type": "undefined | null | MenuPortalInstance",
483
483
  "default": "",
484
484
  "description": "Instance of the MenuPortal component."
485
485
  },
486
486
  {
487
487
  "name": "itemId",
488
- "type": "string",
488
+ "type": "undefined | string",
489
489
  "default": "",
490
490
  "description": "ID of the item element."
491
491
  },
@@ -524,198 +524,6 @@
524
524
  "variables": {}
525
525
  }
526
526
  },
527
- {
528
- "name": "MenuIndicator",
529
- "source": "apps/showcase/assets/apidoc/menuindicator.json",
530
- "data": {
531
- "description": "MenuIndicator is a component that conditionally renders content based on the state of the parent menu element (submenu, checkbox, or radio item).",
532
- "interfaces": {
533
- "MenuIndicatorPassThrough": {
534
- "description": "Defines passthrough(pt) options of MenuIndicator component.",
535
- "relatedProp": "",
536
- "props": [
537
- {
538
- "name": "root",
539
- "type": "MenuIndicatorPassThroughType<HTMLAttributes<HTMLSpanElement>>",
540
- "default": "",
541
- "description": "Used to pass attributes to the root's DOM element."
542
- }
543
- ],
544
- "methods": []
545
- },
546
- "MenuIndicatorProps": {
547
- "description": "Defines valid properties in MenuIndicator component.",
548
- "relatedProp": "",
549
- "extendedTypes": "BaseComponentProps<MenuIndicatorInstance, unknown, MenuIndicatorPassThrough>",
550
- "props": [
551
- {
552
- "name": "ref",
553
- "type": "Ref<unknown>",
554
- "default": "",
555
- "description": "The reference to the component instance."
556
- },
557
- {
558
- "name": "pIf",
559
- "type": "boolean",
560
- "default": "true",
561
- "description": "Whether the component should be rendered."
562
- },
563
- {
564
- "name": "style",
565
- "type": "CSSProperties | ((instance?: MenuIndicatorInstance) => CSSProperties)",
566
- "default": "",
567
- "description": "The style to apply to the component."
568
- },
569
- {
570
- "name": "className",
571
- "type": "string | ((instance?: MenuIndicatorInstance) => string)",
572
- "default": "",
573
- "description": "The class name to apply to the component."
574
- },
575
- {
576
- "name": "as",
577
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
578
- "default": "",
579
- "description": "The component type to render."
580
- },
581
- {
582
- "name": "asChild",
583
- "type": "boolean",
584
- "default": "false",
585
- "description": "Whether the component should be rendered as a child component."
586
- },
587
- {
588
- "name": "instance",
589
- "type": "MenuIndicatorInstance",
590
- "default": "",
591
- "description": "The instance to pass to the component."
592
- },
593
- {
594
- "name": "pt",
595
- "type": "SafeRecord<MenuIndicatorPassThrough>",
596
- "default": "",
597
- "description": "The pass-through props to pass to the component."
598
- },
599
- {
600
- "name": "ptOptions",
601
- "type": "PassThroughOptions",
602
- "default": "",
603
- "description": "The pass-through options to pass to the component."
604
- },
605
- {
606
- "name": "unstyled",
607
- "type": "boolean",
608
- "default": "",
609
- "description": "Whether the component should be rendered without classes."
610
- },
611
- {
612
- "name": "dt",
613
- "type": "unknown",
614
- "default": "",
615
- "description": "The design token to use for the component."
616
- },
617
- {
618
- "name": "styles",
619
- "type": "StylesOptions<ComponentInstance>",
620
- "default": "",
621
- "description": "The styles to use for the component."
622
- },
623
- {
624
- "name": "render",
625
- "type": "(instance: MenuIndicatorInstance) => ReactNode",
626
- "default": "",
627
- "description": "The render function to render the component with instance access."
628
- },
629
- {
630
- "name": "children",
631
- "type": "any",
632
- "default": "",
633
- "description": "The children to render.\n\nAccepts `React.ReactNode` for static content or a render function `(instance: I) => React.ReactNode` for instance access.\nTyped as `any` to avoid JSX type errors when used directly in templates."
634
- },
635
- {
636
- "name": "match",
637
- "type": "\"checked\" | \"unchecked\" | \"open\" | \"closed\"",
638
- "default": "",
639
- "description": "Determines the visibility of the indicator based on the state of the parent menu element. Valid values are:\n- \"open\": Indicator is visible when the submenu is expanded.\n- \"closed\": Indicator is visible when the submenu is collapsed.\n- \"checked\": Indicator is visible when the checkbox/radio item is checked.\n- \"unchecked\": Indicator is visible when the checkbox/radio item is unchecked."
640
- },
641
- {
642
- "name": "[key: string]",
643
- "type": "any",
644
- "description": ""
645
- },
646
- {
647
- "name": "pt-{optionName}-*",
648
- "type": "-",
649
- "default": "",
650
- "description": "Pass through attributes for customizing component parts.",
651
- "deprecated": false
652
- }
653
- ],
654
- "methods": []
655
- },
656
- "MenuIndicatorState": {
657
- "description": "Defines valid state in MenuIndicator component.",
658
- "relatedProp": "",
659
- "props": [],
660
- "methods": []
661
- },
662
- "MenuIndicatorExposes": {
663
- "description": "Defines the methods and properties exposed by MenuIndicator component.",
664
- "relatedProp": "",
665
- "props": [
666
- {
667
- "name": "menu",
668
- "type": "MenuRootInstance",
669
- "default": "",
670
- "description": "The Menu component instance."
671
- },
672
- {
673
- "name": "submenu",
674
- "type": "MenuSubInstance",
675
- "default": "",
676
- "description": "The MenuSub component instance, if inside a submenu."
677
- },
678
- {
679
- "name": "checkboxItem",
680
- "type": "MenuCheckboxItemInstance",
681
- "default": "",
682
- "description": "The MenuCheckboxItem component instance, if inside a checkbox menu item."
683
- },
684
- {
685
- "name": "radioItem",
686
- "type": "MenuRadioItemInstance",
687
- "default": "",
688
- "description": "The MenuRadioItem component instance, if inside a radio menu item."
689
- },
690
- {
691
- "name": "active",
692
- "type": "boolean",
693
- "default": "",
694
- "description": "Whether the indicator is in active state (open for submenu, checked for checkbox/radio)."
695
- },
696
- {
697
- "name": "indicatorType",
698
- "type": "\"checkbox\" | \"radio\" | \"submenu\"",
699
- "default": "",
700
- "description": "The type of the parent context."
701
- }
702
- ],
703
- "methods": []
704
- }
705
- },
706
- "types": {
707
- "MenuIndicatorPassThroughType": {
708
- "description": "Defines passthrough(pt) options type in MenuIndicator component.",
709
- "values": "PassThroughType<MenuIndicatorInstance, E>"
710
- },
711
- "MenuIndicatorInstance": {
712
- "description": "Instance of MenuIndicator component.",
713
- "values": "ComponentInstance<MenuIndicatorProps, MenuIndicatorState, MenuIndicatorExposes>"
714
- }
715
- },
716
- "variables": {}
717
- }
718
- },
719
527
  {
720
528
  "name": "MenuItem",
721
529
  "source": "apps/showcase/assets/apidoc/menuitem.json",
@@ -754,19 +562,19 @@
754
562
  },
755
563
  {
756
564
  "name": "style",
757
- "type": "CSSProperties | ((instance?: MenuItemInstance) => CSSProperties)",
565
+ "type": "CSSProperties | ((instance?: MenuItemInstance) => undefined | CSSProperties)",
758
566
  "default": "",
759
567
  "description": "The style to apply to the component."
760
568
  },
761
569
  {
762
570
  "name": "className",
763
- "type": "string | ((instance?: MenuItemInstance) => string)",
571
+ "type": "string | ((instance?: MenuItemInstance) => undefined | string)",
764
572
  "default": "",
765
573
  "description": "The class name to apply to the component."
766
574
  },
767
575
  {
768
576
  "name": "as",
769
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
577
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
770
578
  "default": "",
771
579
  "description": "The component type to render."
772
580
  },
@@ -875,25 +683,25 @@
875
683
  "props": [
876
684
  {
877
685
  "name": "menu",
878
- "type": "MenuRootInstance",
686
+ "type": "undefined | null | MenuRootInstance",
879
687
  "default": "",
880
688
  "description": "Instance of the Menu component."
881
689
  },
882
690
  {
883
691
  "name": "submenu",
884
- "type": "MenuSubmenuInstance",
692
+ "type": "undefined | null | MenuSubmenuInstance",
885
693
  "default": "",
886
694
  "description": "Instance of the MenuSubmenu component."
887
695
  },
888
696
  {
889
697
  "name": "portal",
890
- "type": "MenuPortalInstance",
698
+ "type": "undefined | null | MenuPortalInstance",
891
699
  "default": "",
892
700
  "description": "Instance of the MenuPortal component."
893
701
  },
894
702
  {
895
703
  "name": "itemId",
896
- "type": "string",
704
+ "type": "undefined | string",
897
705
  "default": "",
898
706
  "description": "ID of the item element."
899
707
  },
@@ -964,19 +772,19 @@
964
772
  },
965
773
  {
966
774
  "name": "style",
967
- "type": "CSSProperties | ((instance?: MenuLabelInstance) => CSSProperties)",
775
+ "type": "CSSProperties | ((instance?: MenuLabelInstance) => undefined | CSSProperties)",
968
776
  "default": "",
969
777
  "description": "The style to apply to the component."
970
778
  },
971
779
  {
972
780
  "name": "className",
973
- "type": "string | ((instance?: MenuLabelInstance) => string)",
781
+ "type": "string | ((instance?: MenuLabelInstance) => undefined | string)",
974
782
  "default": "",
975
783
  "description": "The class name to apply to the component."
976
784
  },
977
785
  {
978
786
  "name": "as",
979
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
787
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
980
788
  "default": "",
981
789
  "description": "The component type to render."
982
790
  },
@@ -1061,13 +869,13 @@
1061
869
  "props": [
1062
870
  {
1063
871
  "name": "menu",
1064
- "type": "MenuRootInstance",
872
+ "type": "undefined | null | MenuRootInstance",
1065
873
  "default": "",
1066
874
  "description": "Instance of the Menu component."
1067
875
  },
1068
876
  {
1069
877
  "name": "group",
1070
- "type": "MenuGroupContextInterface",
878
+ "type": "undefined | null | MenuGroupContextInterface",
1071
879
  "default": "",
1072
880
  "description": "Parent MenuGroup context, when this label is rendered inside a Menu.Group."
1073
881
  }
@@ -1132,19 +940,19 @@
1132
940
  },
1133
941
  {
1134
942
  "name": "style",
1135
- "type": "CSSProperties | ((instance?: MenuListInstance) => CSSProperties)",
943
+ "type": "CSSProperties | ((instance?: MenuListInstance) => undefined | CSSProperties)",
1136
944
  "default": "",
1137
945
  "description": "The style to apply to the component."
1138
946
  },
1139
947
  {
1140
948
  "name": "className",
1141
- "type": "string | ((instance?: MenuListInstance) => string)",
949
+ "type": "string | ((instance?: MenuListInstance) => undefined | string)",
1142
950
  "default": "",
1143
951
  "description": "The class name to apply to the component."
1144
952
  },
1145
953
  {
1146
954
  "name": "as",
1147
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
955
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
1148
956
  "default": "",
1149
957
  "description": "The component type to render."
1150
958
  },
@@ -1229,19 +1037,19 @@
1229
1037
  "props": [
1230
1038
  {
1231
1039
  "name": "menu",
1232
- "type": "MenuRootInstance",
1040
+ "type": "undefined | null | MenuRootInstance",
1233
1041
  "default": "",
1234
1042
  "description": "Instance of the Menu component."
1235
1043
  },
1236
1044
  {
1237
1045
  "name": "submenu",
1238
- "type": "MenuSubmenuInstance",
1046
+ "type": "undefined | null | MenuSubmenuInstance",
1239
1047
  "default": "",
1240
1048
  "description": "Instance of the MenuSubmenu component."
1241
1049
  },
1242
1050
  {
1243
1051
  "name": "listId",
1244
- "type": "string",
1052
+ "type": "undefined | string",
1245
1053
  "default": "",
1246
1054
  "description": "ID of the list element."
1247
1055
  }
@@ -1300,19 +1108,19 @@
1300
1108
  },
1301
1109
  {
1302
1110
  "name": "style",
1303
- "type": "CSSProperties | ((instance?: MenuPopupInstance) => CSSProperties)",
1111
+ "type": "CSSProperties | ((instance?: MenuPopupInstance) => undefined | CSSProperties)",
1304
1112
  "default": "",
1305
1113
  "description": "The style to apply to the component."
1306
1114
  },
1307
1115
  {
1308
1116
  "name": "className",
1309
- "type": "string | ((instance?: MenuPopupInstance) => string)",
1117
+ "type": "string | ((instance?: MenuPopupInstance) => undefined | string)",
1310
1118
  "default": "",
1311
1119
  "description": "The class name to apply to the component."
1312
1120
  },
1313
1121
  {
1314
1122
  "name": "as",
1315
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
1123
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
1316
1124
  "default": "",
1317
1125
  "description": "The component type to render."
1318
1126
  },
@@ -1403,7 +1211,7 @@
1403
1211
  "props": [
1404
1212
  {
1405
1213
  "name": "menu",
1406
- "type": "MenuRootInstance",
1214
+ "type": "undefined | null | MenuRootInstance",
1407
1215
  "default": "",
1408
1216
  "description": "The Menu component instance."
1409
1217
  }
@@ -1462,19 +1270,19 @@
1462
1270
  },
1463
1271
  {
1464
1272
  "name": "style",
1465
- "type": "(CSSProperties | ((instance?: PortalInstance) => CSSProperties)) & (CSSProperties | ((instance?: MenuPortalInstance) => CSSProperties))",
1273
+ "type": "(CSSProperties | ((instance?: PortalInstance | undefined) => CSSProperties | undefined)) & (CSSProperties | ((instance?: MenuPortalInstance | undefined) => CSSProperties | undefined))",
1466
1274
  "default": "",
1467
1275
  "description": "The style to apply to the component."
1468
1276
  },
1469
1277
  {
1470
1278
  "name": "className",
1471
- "type": "(string | ((instance?: PortalInstance) => string)) & (string | ((instance?: MenuPortalInstance) => string))",
1279
+ "type": "(string | ((instance?: PortalInstance | undefined) => string | undefined)) & (string | ((instance?: MenuPortalInstance | undefined) => string | undefined))",
1472
1280
  "default": "",
1473
1281
  "description": "The class name to apply to the component."
1474
1282
  },
1475
1283
  {
1476
1284
  "name": "as",
1477
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
1285
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
1478
1286
  "default": "",
1479
1287
  "description": "The component type to render."
1480
1288
  },
@@ -1552,7 +1360,7 @@
1552
1360
  },
1553
1361
  {
1554
1362
  "name": "elementRef",
1555
- "type": "RefObject<HTMLElement>",
1363
+ "type": "RefObject<null | HTMLElement>",
1556
1364
  "default": "",
1557
1365
  "description": "The element reference to be rendered as the portal."
1558
1366
  },
@@ -1589,7 +1397,7 @@
1589
1397
  "props": [
1590
1398
  {
1591
1399
  "name": "menu",
1592
- "type": "MenuRootInstance",
1400
+ "type": "undefined | null | MenuRootInstance",
1593
1401
  "default": "",
1594
1402
  "description": "Instance of the Menu component."
1595
1403
  }
@@ -1648,19 +1456,19 @@
1648
1456
  },
1649
1457
  {
1650
1458
  "name": "style",
1651
- "type": "CSSProperties | ((instance?: MenuPositionerInstance) => CSSProperties)",
1459
+ "type": "CSSProperties | ((instance?: MenuPositionerInstance) => undefined | CSSProperties)",
1652
1460
  "default": "",
1653
1461
  "description": "The style to apply to the component."
1654
1462
  },
1655
1463
  {
1656
1464
  "name": "className",
1657
- "type": "string | ((instance?: MenuPositionerInstance) => string)",
1465
+ "type": "string | ((instance?: MenuPositionerInstance) => undefined | string)",
1658
1466
  "default": "",
1659
1467
  "description": "The class name to apply to the component."
1660
1468
  },
1661
1469
  {
1662
1470
  "name": "as",
1663
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
1471
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
1664
1472
  "default": "",
1665
1473
  "description": "The component type to render."
1666
1474
  },
@@ -1721,13 +1529,13 @@
1721
1529
  {
1722
1530
  "name": "side",
1723
1531
  "type": "SideType",
1724
- "default": "",
1532
+ "default": "'bottom'",
1725
1533
  "description": "The side of the positioner."
1726
1534
  },
1727
1535
  {
1728
1536
  "name": "align",
1729
1537
  "type": "AlignType",
1730
- "default": "",
1538
+ "default": "'center'",
1731
1539
  "description": "The align of the positioner."
1732
1540
  },
1733
1541
  {
@@ -1739,25 +1547,25 @@
1739
1547
  {
1740
1548
  "name": "alignOffset",
1741
1549
  "type": "number",
1742
- "default": "",
1550
+ "default": "0",
1743
1551
  "description": "The align offset of the positioner."
1744
1552
  },
1745
1553
  {
1746
1554
  "name": "flip",
1747
1555
  "type": "boolean",
1748
- "default": "",
1556
+ "default": "true",
1749
1557
  "description": "Whether to flip the positioner."
1750
1558
  },
1751
1559
  {
1752
1560
  "name": "shift",
1753
1561
  "type": "boolean",
1754
- "default": "",
1562
+ "default": "true",
1755
1563
  "description": "Whether to shift the positioner."
1756
1564
  },
1757
1565
  {
1758
1566
  "name": "hideWhenDetached",
1759
1567
  "type": "boolean",
1760
- "default": "",
1568
+ "default": "false",
1761
1569
  "description": "Whether to hide the positioner when detached."
1762
1570
  },
1763
1571
  {
@@ -1786,7 +1594,7 @@
1786
1594
  },
1787
1595
  {
1788
1596
  "name": "arrow",
1789
- "type": "HTMLDivElement",
1597
+ "type": "null | HTMLDivElement",
1790
1598
  "default": "",
1791
1599
  "description": "The arrow element."
1792
1600
  },
@@ -1835,7 +1643,7 @@
1835
1643
  "props": [
1836
1644
  {
1837
1645
  "name": "menu",
1838
- "type": "MenuRootInstance",
1646
+ "type": "undefined | null | MenuRootInstance",
1839
1647
  "default": "",
1840
1648
  "description": "The Menu component instance."
1841
1649
  }
@@ -1920,19 +1728,19 @@
1920
1728
  },
1921
1729
  {
1922
1730
  "name": "style",
1923
- "type": "CSSProperties | ((instance?: MenuRadioItemInstance) => CSSProperties)",
1731
+ "type": "CSSProperties | ((instance?: MenuRadioItemInstance) => undefined | CSSProperties)",
1924
1732
  "default": "",
1925
1733
  "description": "The style to apply to the component."
1926
1734
  },
1927
1735
  {
1928
1736
  "name": "className",
1929
- "type": "string | ((instance?: MenuRadioItemInstance) => string)",
1737
+ "type": "string | ((instance?: MenuRadioItemInstance) => undefined | string)",
1930
1738
  "default": "",
1931
1739
  "description": "The class name to apply to the component."
1932
1740
  },
1933
1741
  {
1934
1742
  "name": "as",
1935
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
1743
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
1936
1744
  "default": "",
1937
1745
  "description": "The component type to render."
1938
1746
  },
@@ -2012,7 +1820,7 @@
2012
1820
  "name": "name",
2013
1821
  "type": "string",
2014
1822
  "default": "",
2015
- "description": "The name attribute of the input, resolved from group context if available."
1823
+ "description": "The name attribute of the input."
2016
1824
  },
2017
1825
  {
2018
1826
  "name": "readOnly",
@@ -2156,31 +1964,31 @@
2156
1964
  },
2157
1965
  {
2158
1966
  "name": "menu",
2159
- "type": "MenuRootInstance",
1967
+ "type": "undefined | null | MenuRootInstance",
2160
1968
  "default": "",
2161
1969
  "description": "Instance of the Menu component."
2162
1970
  },
2163
1971
  {
2164
1972
  "name": "submenu",
2165
- "type": "MenuSubmenuInstance",
1973
+ "type": "undefined | null | MenuSubmenuInstance",
2166
1974
  "default": "",
2167
1975
  "description": "Instance of the MenuSubmenu component."
2168
1976
  },
2169
1977
  {
2170
1978
  "name": "portal",
2171
- "type": "MenuPortalInstance",
1979
+ "type": "undefined | null | MenuPortalInstance",
2172
1980
  "default": "",
2173
1981
  "description": "Instance of the MenuPortal component."
2174
1982
  },
2175
1983
  {
2176
1984
  "name": "group",
2177
- "type": "MenuRadioItemGroupContextInterface",
1985
+ "type": "null | MenuRadioItemGroupContextInterface",
2178
1986
  "default": "",
2179
1987
  "description": "Parent MenuRadioItemGroup context, if any."
2180
1988
  },
2181
1989
  {
2182
1990
  "name": "itemId",
2183
- "type": "string",
1991
+ "type": "undefined | string",
2184
1992
  "default": "",
2185
1993
  "description": "ID of the item element."
2186
1994
  },
@@ -2301,19 +2109,19 @@
2301
2109
  },
2302
2110
  {
2303
2111
  "name": "style",
2304
- "type": "CSSProperties | ((instance?: MenuRadioItemGroupInstance) => CSSProperties)",
2112
+ "type": "CSSProperties | ((instance?: MenuRadioItemGroupInstance) => undefined | CSSProperties)",
2305
2113
  "default": "",
2306
2114
  "description": "The style to apply to the component."
2307
2115
  },
2308
2116
  {
2309
2117
  "name": "className",
2310
- "type": "string | ((instance?: MenuRadioItemGroupInstance) => string)",
2118
+ "type": "string | ((instance?: MenuRadioItemGroupInstance) => undefined | string)",
2311
2119
  "default": "",
2312
2120
  "description": "The class name to apply to the component."
2313
2121
  },
2314
2122
  {
2315
2123
  "name": "as",
2316
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
2124
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
2317
2125
  "default": "",
2318
2126
  "description": "The component type to render."
2319
2127
  },
@@ -2609,19 +2417,19 @@
2609
2417
  },
2610
2418
  {
2611
2419
  "name": "style",
2612
- "type": "CSSProperties | ((instance?: MenuRootInstance) => CSSProperties)",
2420
+ "type": "CSSProperties | ((instance?: MenuRootInstance) => undefined | CSSProperties)",
2613
2421
  "default": "",
2614
2422
  "description": "The style to apply to the component."
2615
2423
  },
2616
2424
  {
2617
2425
  "name": "className",
2618
- "type": "string | ((instance?: MenuRootInstance) => string)",
2426
+ "type": "string | ((instance?: MenuRootInstance) => undefined | string)",
2619
2427
  "default": "",
2620
2428
  "description": "The class name to apply to the component."
2621
2429
  },
2622
2430
  {
2623
2431
  "name": "as",
2624
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
2432
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
2625
2433
  "default": "",
2626
2434
  "description": "The component type to render."
2627
2435
  },
@@ -2694,7 +2502,7 @@
2694
2502
  {
2695
2503
  "name": "composite",
2696
2504
  "type": "boolean",
2697
- "default": "false",
2505
+ "default": "true",
2698
2506
  "description": "Whether the menu is in composite mode (navigationmenu).\nIn composite mode, submenus open on hover and focusedOptionId is an array tracking the focus path."
2699
2507
  },
2700
2508
  {
@@ -2949,7 +2757,7 @@
2949
2757
  },
2950
2758
  {
2951
2759
  "name": "onTriggerClick",
2952
- "type": "(event?: MouseEvent) => void",
2760
+ "type": "(event?: MouseEvent<Element, MouseEvent>) => void",
2953
2761
  "default": "",
2954
2762
  "description": "Handle trigger click event."
2955
2763
  },
@@ -3068,19 +2876,19 @@
3068
2876
  },
3069
2877
  {
3070
2878
  "name": "style",
3071
- "type": "CSSProperties | ((instance?: MenuSeparatorInstance) => CSSProperties)",
2879
+ "type": "CSSProperties | ((instance?: MenuSeparatorInstance) => undefined | CSSProperties)",
3072
2880
  "default": "",
3073
2881
  "description": "The style to apply to the component."
3074
2882
  },
3075
2883
  {
3076
2884
  "name": "className",
3077
- "type": "string | ((instance?: MenuSeparatorInstance) => string)",
2885
+ "type": "string | ((instance?: MenuSeparatorInstance) => undefined | string)",
3078
2886
  "default": "",
3079
2887
  "description": "The class name to apply to the component."
3080
2888
  },
3081
2889
  {
3082
2890
  "name": "as",
3083
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
2891
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
3084
2892
  "default": "",
3085
2893
  "description": "The component type to render."
3086
2894
  },
@@ -3165,7 +2973,7 @@
3165
2973
  "props": [
3166
2974
  {
3167
2975
  "name": "menu",
3168
- "type": "MenuRootInstance",
2976
+ "type": "undefined | null | MenuRootInstance",
3169
2977
  "default": "",
3170
2978
  "description": "Instance of the Menu component."
3171
2979
  }
@@ -3244,19 +3052,19 @@
3244
3052
  },
3245
3053
  {
3246
3054
  "name": "style",
3247
- "type": "CSSProperties | ((instance?: MenuSubmenuInstance) => CSSProperties)",
3055
+ "type": "CSSProperties | ((instance?: MenuSubmenuInstance) => undefined | CSSProperties)",
3248
3056
  "default": "",
3249
3057
  "description": "The style to apply to the component."
3250
3058
  },
3251
3059
  {
3252
3060
  "name": "className",
3253
- "type": "string | ((instance?: MenuSubmenuInstance) => string)",
3061
+ "type": "string | ((instance?: MenuSubmenuInstance) => undefined | string)",
3254
3062
  "default": "",
3255
3063
  "description": "The class name to apply to the component."
3256
3064
  },
3257
3065
  {
3258
3066
  "name": "as",
3259
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
3067
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
3260
3068
  "default": "",
3261
3069
  "description": "The component type to render."
3262
3070
  },
@@ -3404,13 +3212,13 @@
3404
3212
  },
3405
3213
  {
3406
3214
  "name": "listRef",
3407
- "type": "RefObject<HTMLDivElement>",
3215
+ "type": "RefObject<null | HTMLDivElement>",
3408
3216
  "default": "",
3409
3217
  "description": "Reference to the list element."
3410
3218
  },
3411
3219
  {
3412
3220
  "name": "subtriggerProps",
3413
- "type": "{ ref: (node: HTMLElement) => void }",
3221
+ "type": "{ ref: (node: null | HTMLElement) => void }",
3414
3222
  "default": "",
3415
3223
  "description": "Props for the subtrigger element."
3416
3224
  },
@@ -3464,7 +3272,7 @@
3464
3272
  },
3465
3273
  {
3466
3274
  "name": "menu",
3467
- "type": "MenuRootInstance",
3275
+ "type": "undefined | null | MenuRootInstance",
3468
3276
  "default": "",
3469
3277
  "description": "The Menu component instance."
3470
3278
  }
@@ -3523,19 +3331,19 @@
3523
3331
  },
3524
3332
  {
3525
3333
  "name": "style",
3526
- "type": "CSSProperties | ((instance?: MenuSubmenuTriggerInstance) => CSSProperties)",
3334
+ "type": "CSSProperties | ((instance?: MenuSubmenuTriggerInstance) => undefined | CSSProperties)",
3527
3335
  "default": "",
3528
3336
  "description": "The style to apply to the component."
3529
3337
  },
3530
3338
  {
3531
3339
  "name": "className",
3532
- "type": "string | ((instance?: MenuSubmenuTriggerInstance) => string)",
3340
+ "type": "string | ((instance?: MenuSubmenuTriggerInstance) => undefined | string)",
3533
3341
  "default": "",
3534
3342
  "description": "The class name to apply to the component."
3535
3343
  },
3536
3344
  {
3537
3345
  "name": "as",
3538
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
3346
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
3539
3347
  "default": "",
3540
3348
  "description": "The component type to render."
3541
3349
  },
@@ -3626,25 +3434,25 @@
3626
3434
  "props": [
3627
3435
  {
3628
3436
  "name": "menu",
3629
- "type": "MenuRootInstance",
3437
+ "type": "undefined | null | MenuRootInstance",
3630
3438
  "default": "",
3631
3439
  "description": "Instance of the Menu component."
3632
3440
  },
3633
3441
  {
3634
3442
  "name": "submenu",
3635
- "type": "MenuSubmenuInstance",
3443
+ "type": "undefined | null | MenuSubmenuInstance",
3636
3444
  "default": "",
3637
3445
  "description": "Instance of the MenuSubmenu component."
3638
3446
  },
3639
3447
  {
3640
3448
  "name": "portal",
3641
- "type": "MenuPortalInstance",
3449
+ "type": "undefined | null | MenuPortalInstance",
3642
3450
  "default": "",
3643
3451
  "description": "Instance of the MenuPortal component."
3644
3452
  },
3645
3453
  {
3646
3454
  "name": "itemId",
3647
- "type": "string",
3455
+ "type": "undefined | string",
3648
3456
  "default": "",
3649
3457
  "description": "Identifier of the menu item."
3650
3458
  },
@@ -3715,19 +3523,19 @@
3715
3523
  },
3716
3524
  {
3717
3525
  "name": "style",
3718
- "type": "CSSProperties | ((instance?: MenuTriggerInstance) => CSSProperties)",
3526
+ "type": "CSSProperties | ((instance?: MenuTriggerInstance) => undefined | CSSProperties)",
3719
3527
  "default": "",
3720
3528
  "description": "The style to apply to the component."
3721
3529
  },
3722
3530
  {
3723
3531
  "name": "className",
3724
- "type": "string | ((instance?: MenuTriggerInstance) => string)",
3532
+ "type": "string | ((instance?: MenuTriggerInstance) => undefined | string)",
3725
3533
  "default": "",
3726
3534
  "description": "The class name to apply to the component."
3727
3535
  },
3728
3536
  {
3729
3537
  "name": "as",
3730
- "type": "string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
3538
+ "type": "null | string | number | bigint | boolean | ComponentClass<any, any> | FunctionComponent<any> | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode, any, any> | ReactPortal | Promise<AwaitedReactNode>",
3731
3539
  "default": "",
3732
3540
  "description": "The component type to render."
3733
3541
  },
@@ -3812,7 +3620,7 @@
3812
3620
  "props": [
3813
3621
  {
3814
3622
  "name": "menu",
3815
- "type": "MenuRootInstance",
3623
+ "type": "undefined | null | MenuRootInstance",
3816
3624
  "default": "",
3817
3625
  "description": "Instance of the Menu component."
3818
3626
  }