@msviderok/base-ui-solid 1.0.0-beta.1 → 1.0.0-beta.3

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 (372) hide show
  1. package/cjs/accordion/header/AccordionHeader.js +2 -4
  2. package/cjs/accordion/item/AccordionItem.js +10 -6
  3. package/cjs/accordion/panel/AccordionPanel.js +8 -4
  4. package/cjs/accordion/root/AccordionRoot.js +12 -8
  5. package/cjs/accordion/trigger/AccordionTrigger.js +2 -4
  6. package/cjs/alert-dialog/backdrop/AlertDialogBackdrop.js +2 -4
  7. package/cjs/alert-dialog/close/AlertDialogClose.js +2 -4
  8. package/cjs/alert-dialog/description/AlertDialogDescription.js +2 -4
  9. package/cjs/alert-dialog/popup/AlertDialogPopup.js +24 -16
  10. package/cjs/alert-dialog/portal/AlertDialogPortal.js +20 -10
  11. package/cjs/alert-dialog/root/AlertDialogRoot.js +5 -3
  12. package/cjs/alert-dialog/title/AlertDialogTitle.js +1 -4
  13. package/cjs/alert-dialog/trigger/AlertDialogTrigger.js +2 -4
  14. package/cjs/avatar/fallback/AvatarFallback.js +2 -4
  15. package/cjs/avatar/image/AvatarImage.js +2 -4
  16. package/cjs/avatar/root/AvatarRoot.js +5 -3
  17. package/cjs/checkbox/indicator/CheckboxIndicator.js +8 -4
  18. package/cjs/checkbox/root/CheckboxRoot.js +15 -9
  19. package/cjs/checkbox-group/CheckboxGroup.js +5 -3
  20. package/cjs/collapsible/panel/CollapsiblePanel.js +8 -4
  21. package/cjs/collapsible/root/CollapsibleRoot.js +15 -7
  22. package/cjs/collapsible/trigger/CollapsibleTrigger.js +2 -4
  23. package/cjs/composite/item/CompositeItem.js +2 -4
  24. package/cjs/composite/list/CompositeList.js +16 -12
  25. package/cjs/composite/root/CompositeRoot.js +13 -7
  26. package/cjs/context-menu/root/ContextMenuRoot.js +10 -8
  27. package/cjs/context-menu/trigger/ContextMenuTrigger.js +2 -4
  28. package/cjs/dialog/backdrop/DialogBackdrop.js +2 -4
  29. package/cjs/dialog/close/DialogClose.js +2 -4
  30. package/cjs/dialog/description/DialogDescription.js +2 -4
  31. package/cjs/dialog/popup/DialogPopup.js +30 -18
  32. package/cjs/dialog/portal/DialogPortal.js +20 -10
  33. package/cjs/dialog/root/DialogRoot.js +10 -6
  34. package/cjs/dialog/title/DialogTitle.js +2 -4
  35. package/cjs/dialog/trigger/DialogTrigger.js +2 -4
  36. package/cjs/direction-provider/DirectionProvider.js +5 -3
  37. package/cjs/field/control/FieldControl.js +2 -4
  38. package/cjs/field/description/FieldDescription.js +2 -4
  39. package/cjs/field/error/FieldError.js +21 -16
  40. package/cjs/field/label/FieldLabel.js +2 -4
  41. package/cjs/field/root/FieldRoot.js +5 -3
  42. package/cjs/field/validity/FieldValidity.js +6 -6
  43. package/cjs/fieldset/legend/FieldsetLegend.js +2 -4
  44. package/cjs/fieldset/root/FieldsetRoot.js +5 -3
  45. package/cjs/floating-ui-solid/components/FloatingDelayGroup.js +5 -3
  46. package/cjs/floating-ui-solid/components/FloatingFocusManager.js +39 -24
  47. package/cjs/floating-ui-solid/components/FloatingPortal.js +73 -47
  48. package/cjs/floating-ui-solid/components/FloatingTree.js +9 -5
  49. package/cjs/form/Form.js +5 -3
  50. package/cjs/input/Input.js +2 -4
  51. package/cjs/menu/arrow/MenuArrow.js +2 -4
  52. package/cjs/menu/backdrop/MenuBackdrop.js +2 -4
  53. package/cjs/menu/checkbox-item/MenuCheckboxItem.js +5 -3
  54. package/cjs/menu/checkbox-item-indicator/MenuCheckboxItemIndicator.js +2 -4
  55. package/cjs/menu/group/MenuGroup.js +5 -3
  56. package/cjs/menu/group-label/MenuGroupLabel.js +2 -4
  57. package/cjs/menu/item/MenuItem.js +2 -4
  58. package/cjs/menu/popup/MenuPopup.js +14 -6
  59. package/cjs/menu/portal/MenuPortal.js +20 -10
  60. package/cjs/menu/positioner/MenuPositioner.js +32 -20
  61. package/cjs/menu/radio-group/MenuRadioGroup.js +5 -3
  62. package/cjs/menu/radio-item/MenuRadioItem.js +5 -3
  63. package/cjs/menu/radio-item-indicator/MenuRadioItemIndicator.js +2 -4
  64. package/cjs/menu/root/MenuRoot.js +24 -12
  65. package/cjs/menu/submenu-root/MenuSubmenuRoot.js +5 -5
  66. package/cjs/menu/submenu-trigger/MenuSubmenuTrigger.js +2 -4
  67. package/cjs/menu/trigger/MenuTrigger.js +13 -7
  68. package/cjs/menubar/Menubar.js +31 -15
  69. package/cjs/meter/indicator/MeterIndicator.js +2 -4
  70. package/cjs/meter/label/MeterLabel.js +2 -4
  71. package/cjs/meter/root/MeterRoot.js +5 -3
  72. package/cjs/meter/track/MeterTrack.js +2 -4
  73. package/cjs/meter/value/MeterValue.js +3 -7
  74. package/cjs/navigation-menu/arrow/NavigationMenuArrow.js +2 -4
  75. package/cjs/navigation-menu/backdrop/NavigationMenuBackdrop.js +2 -4
  76. package/cjs/navigation-menu/content/NavigationMenuContent.js +25 -14
  77. package/cjs/navigation-menu/icon/NavigationMenuIcon.js +2 -4
  78. package/cjs/navigation-menu/item/NavigationMenuItem.js +5 -5
  79. package/cjs/navigation-menu/link/NavigationMenuLink.js +2 -2
  80. package/cjs/navigation-menu/list/NavigationMenuList.js +5 -3
  81. package/cjs/navigation-menu/popup/NavigationMenuPopup.js +32 -34
  82. package/cjs/navigation-menu/portal/NavigationMenuPortal.js +20 -10
  83. package/cjs/navigation-menu/positioner/NavigationMenuPositioner.js +5 -3
  84. package/cjs/navigation-menu/root/NavigationMenuRoot.js +23 -13
  85. package/cjs/navigation-menu/trigger/NavigationMenuTrigger.js +56 -49
  86. package/cjs/navigation-menu/viewport/NavigationMenuViewport.js +2 -4
  87. package/cjs/number-field/decrement/NumberFieldDecrement.js +2 -4
  88. package/cjs/number-field/group/NumberFieldGroup.js +2 -4
  89. package/cjs/number-field/increment/NumberFieldIncrement.js +2 -4
  90. package/cjs/number-field/input/NumberFieldInput.js +2 -4
  91. package/cjs/number-field/root/NumberFieldRoot.js +32 -16
  92. package/cjs/number-field/scrub-area/NumberFieldScrubArea.js +5 -3
  93. package/cjs/number-field/scrub-area-cursor/NumberFieldScrubAreaCursor.js +8 -5
  94. package/cjs/popover/arrow/PopoverArrow.js +2 -4
  95. package/cjs/popover/backdrop/PopoverBackdrop.js +2 -4
  96. package/cjs/popover/close/PopoverClose.js +2 -4
  97. package/cjs/popover/description/PopoverDescription.js +2 -4
  98. package/cjs/popover/popup/PopoverPopup.js +20 -8
  99. package/cjs/popover/portal/PopoverPortal.js +20 -10
  100. package/cjs/popover/positioner/PopoverPositioner.js +27 -13
  101. package/cjs/popover/root/PopoverRoot.js +19 -13
  102. package/cjs/popover/title/PopoverTitle.js +2 -4
  103. package/cjs/popover/trigger/PopoverTrigger.js +2 -4
  104. package/cjs/preview-card/arrow/PreviewCardArrow.js +2 -4
  105. package/cjs/preview-card/backdrop/PreviewCardBackdrop.js +2 -4
  106. package/cjs/preview-card/popup/PreviewCardPopup.js +2 -4
  107. package/cjs/preview-card/portal/PreviewCardPortal.js +20 -10
  108. package/cjs/preview-card/positioner/PreviewCardPositioner.js +5 -3
  109. package/cjs/preview-card/root/PreviewCardRoot.js +5 -3
  110. package/cjs/preview-card/trigger/PreviewCardTrigger.js +2 -4
  111. package/cjs/progress/indicator/ProgressIndicator.js +2 -4
  112. package/cjs/progress/label/ProgressLabel.js +2 -4
  113. package/cjs/progress/root/ProgressRoot.js +5 -3
  114. package/cjs/progress/track/ProgressTrack.js +2 -4
  115. package/cjs/progress/value/ProgressValue.js +2 -4
  116. package/cjs/radio/indicator/RadioIndicator.js +8 -4
  117. package/cjs/radio/root/RadioRoot.js +20 -11
  118. package/cjs/radio-group/RadioGroup.js +15 -10
  119. package/cjs/scroll-area/content/ScrollAreaContent.js +2 -4
  120. package/cjs/scroll-area/corner/ScrollAreaCorner.js +8 -4
  121. package/cjs/scroll-area/root/ScrollAreaRoot.js +5 -3
  122. package/cjs/scroll-area/scrollbar/ScrollAreaScrollbar.js +13 -7
  123. package/cjs/scroll-area/thumb/ScrollAreaThumb.js +2 -4
  124. package/cjs/scroll-area/viewport/ScrollAreaViewport.js +5 -3
  125. package/cjs/select/arrow/SelectArrow.js +8 -4
  126. package/cjs/select/backdrop/SelectBackdrop.js +2 -4
  127. package/cjs/select/group/SelectGroup.js +5 -3
  128. package/cjs/select/group-label/SelectGroupLabel.js +2 -4
  129. package/cjs/select/icon/SelectIcon.js +3 -7
  130. package/cjs/select/item/SelectItem.js +5 -3
  131. package/cjs/select/item-indicator/SelectItemIndicator.js +8 -4
  132. package/cjs/select/item-text/SelectItemText.js +2 -4
  133. package/cjs/select/popup/SelectPopup.js +12 -10
  134. package/cjs/select/portal/SelectPortal.js +20 -10
  135. package/cjs/select/positioner/SelectPositioner.js +23 -13
  136. package/cjs/select/root/SelectRoot.js +54 -47
  137. package/cjs/select/scroll-arrow/SelectScrollArrow.js +9 -7
  138. package/cjs/select/scroll-down-arrow/SelectScrollDownArrow.js +7 -5
  139. package/cjs/select/scroll-up-arrow/SelectScrollUpArrow.js +7 -5
  140. package/cjs/select/trigger/SelectTrigger.js +2 -4
  141. package/cjs/select/value/SelectValue.js +3 -7
  142. package/cjs/separator/Separator.js +2 -4
  143. package/cjs/slider/control/SliderControl.js +2 -4
  144. package/cjs/slider/indicator/SliderIndicator.js +2 -4
  145. package/cjs/slider/root/SliderRoot.js +66 -47
  146. package/cjs/slider/thumb/SliderThumb.js +8 -11
  147. package/cjs/slider/track/SliderTrack.js +2 -4
  148. package/cjs/slider/value/SliderValue.js +3 -7
  149. package/cjs/switch/root/SwitchRoot.js +15 -9
  150. package/cjs/switch/thumb/SwitchThumb.js +2 -4
  151. package/cjs/tabs/indicator/TabsIndicator.js +13 -11
  152. package/cjs/tabs/list/TabsList.js +20 -12
  153. package/cjs/tabs/panel/TabsPanel.js +3 -7
  154. package/cjs/tabs/root/TabsRoot.js +13 -9
  155. package/cjs/tabs/tab/TabsTab.js +2 -4
  156. package/cjs/toast/action/ToastAction.js +3 -7
  157. package/cjs/toast/close/ToastClose.js +2 -4
  158. package/cjs/toast/description/ToastDescription.js +3 -7
  159. package/cjs/toast/portal/ToastPortal.js +8 -4
  160. package/cjs/toast/provider/ToastProvider.js +5 -3
  161. package/cjs/toast/root/ToastRoot.js +30 -22
  162. package/cjs/toast/title/ToastTitle.js +3 -7
  163. package/cjs/toast/utils/test-utils.js +26 -21
  164. package/cjs/toast/viewport/ToastViewport.js +13 -14
  165. package/cjs/toggle/Toggle.js +10 -6
  166. package/cjs/toggle-group/ToggleGroup.js +19 -11
  167. package/cjs/toolbar/button/ToolbarButton.js +2 -2
  168. package/cjs/toolbar/group/ToolbarGroup.js +5 -3
  169. package/cjs/toolbar/input/ToolbarInput.js +2 -2
  170. package/cjs/toolbar/link/ToolbarLink.js +2 -2
  171. package/cjs/toolbar/root/ToolbarRoot.js +20 -10
  172. package/cjs/toolbar/separator/ToolbarSeparator.js +11 -6
  173. package/cjs/tooltip/arrow/TooltipArrow.js +2 -4
  174. package/cjs/tooltip/popup/TooltipPopup.js +2 -4
  175. package/cjs/tooltip/portal/TooltipPortal.js +20 -10
  176. package/cjs/tooltip/positioner/TooltipPositioner.js +5 -3
  177. package/cjs/tooltip/provider/TooltipProvider.js +15 -7
  178. package/cjs/tooltip/root/TooltipRoot.js +5 -3
  179. package/cjs/tooltip/trigger/TooltipTrigger.js +2 -4
  180. package/cjs/unstable-no-ssr/NoSsr.js +11 -5
  181. package/cjs/utils/FloatingPortalLite.js +7 -4
  182. package/cjs/utils/FocusGuard.js +19 -10
  183. package/cjs/utils/InternalBackdrop.js +19 -18
  184. package/cjs/utils/styles.js +3 -5
  185. package/cjs/utils/useRenderElement.js +34 -31
  186. package/esm/accordion/header/AccordionHeader.js +2 -4
  187. package/esm/accordion/item/AccordionItem.js +10 -6
  188. package/esm/accordion/panel/AccordionPanel.js +8 -4
  189. package/esm/accordion/root/AccordionRoot.js +12 -8
  190. package/esm/accordion/trigger/AccordionTrigger.js +3 -4
  191. package/esm/alert-dialog/backdrop/AlertDialogBackdrop.js +2 -4
  192. package/esm/alert-dialog/close/AlertDialogClose.js +2 -4
  193. package/esm/alert-dialog/description/AlertDialogDescription.js +2 -4
  194. package/esm/alert-dialog/popup/AlertDialogPopup.js +25 -16
  195. package/esm/alert-dialog/portal/AlertDialogPortal.js +20 -10
  196. package/esm/alert-dialog/root/AlertDialogRoot.js +5 -3
  197. package/esm/alert-dialog/title/AlertDialogTitle.js +1 -4
  198. package/esm/alert-dialog/trigger/AlertDialogTrigger.js +2 -4
  199. package/esm/avatar/fallback/AvatarFallback.js +2 -4
  200. package/esm/avatar/image/AvatarImage.js +2 -4
  201. package/esm/avatar/root/AvatarRoot.js +5 -3
  202. package/esm/checkbox/indicator/CheckboxIndicator.js +8 -4
  203. package/esm/checkbox/root/CheckboxRoot.js +21 -9
  204. package/esm/checkbox-group/CheckboxGroup.js +5 -3
  205. package/esm/collapsible/panel/CollapsiblePanel.js +8 -4
  206. package/esm/collapsible/root/CollapsibleRoot.js +15 -7
  207. package/esm/collapsible/trigger/CollapsibleTrigger.js +2 -4
  208. package/esm/composite/item/CompositeItem.js +2 -4
  209. package/esm/composite/list/CompositeList.js +16 -12
  210. package/esm/composite/root/CompositeRoot.js +13 -7
  211. package/esm/context-menu/root/ContextMenuRoot.js +10 -8
  212. package/esm/context-menu/trigger/ContextMenuTrigger.js +2 -4
  213. package/esm/dialog/backdrop/DialogBackdrop.js +2 -4
  214. package/esm/dialog/close/DialogClose.js +2 -4
  215. package/esm/dialog/description/DialogDescription.js +2 -4
  216. package/esm/dialog/popup/DialogPopup.js +31 -18
  217. package/esm/dialog/portal/DialogPortal.js +20 -10
  218. package/esm/dialog/root/DialogRoot.js +10 -6
  219. package/esm/dialog/title/DialogTitle.js +2 -4
  220. package/esm/dialog/trigger/DialogTrigger.js +2 -4
  221. package/esm/direction-provider/DirectionProvider.js +5 -3
  222. package/esm/field/control/FieldControl.js +2 -4
  223. package/esm/field/description/FieldDescription.js +2 -4
  224. package/esm/field/error/FieldError.js +24 -16
  225. package/esm/field/label/FieldLabel.js +2 -4
  226. package/esm/field/root/FieldRoot.js +5 -3
  227. package/esm/field/validity/FieldValidity.js +7 -5
  228. package/esm/fieldset/legend/FieldsetLegend.js +2 -4
  229. package/esm/fieldset/root/FieldsetRoot.js +5 -3
  230. package/esm/floating-ui-solid/components/FloatingDelayGroup.js +5 -3
  231. package/esm/floating-ui-solid/components/FloatingFocusManager.js +43 -24
  232. package/esm/floating-ui-solid/components/FloatingPortal.js +78 -46
  233. package/esm/floating-ui-solid/components/FloatingTree.js +9 -5
  234. package/esm/form/Form.js +5 -3
  235. package/esm/index.js +1 -1
  236. package/esm/input/Input.js +2 -4
  237. package/esm/menu/arrow/MenuArrow.js +2 -4
  238. package/esm/menu/backdrop/MenuBackdrop.js +2 -4
  239. package/esm/menu/checkbox-item/MenuCheckboxItem.js +5 -3
  240. package/esm/menu/checkbox-item-indicator/MenuCheckboxItemIndicator.js +2 -4
  241. package/esm/menu/group/MenuGroup.js +5 -3
  242. package/esm/menu/group-label/MenuGroupLabel.js +2 -4
  243. package/esm/menu/item/MenuItem.js +2 -4
  244. package/esm/menu/popup/MenuPopup.js +15 -6
  245. package/esm/menu/portal/MenuPortal.js +20 -10
  246. package/esm/menu/positioner/MenuPositioner.js +33 -20
  247. package/esm/menu/radio-group/MenuRadioGroup.js +5 -3
  248. package/esm/menu/radio-item/MenuRadioItem.js +5 -3
  249. package/esm/menu/radio-item-indicator/MenuRadioItemIndicator.js +2 -4
  250. package/esm/menu/root/MenuRoot.js +25 -12
  251. package/esm/menu/submenu-root/MenuSubmenuRoot.js +5 -5
  252. package/esm/menu/submenu-trigger/MenuSubmenuTrigger.js +2 -4
  253. package/esm/menu/trigger/MenuTrigger.js +13 -7
  254. package/esm/menubar/Menubar.js +31 -15
  255. package/esm/meter/indicator/MeterIndicator.js +2 -4
  256. package/esm/meter/label/MeterLabel.js +2 -4
  257. package/esm/meter/root/MeterRoot.js +5 -3
  258. package/esm/meter/track/MeterTrack.js +2 -4
  259. package/esm/meter/value/MeterValue.js +3 -7
  260. package/esm/navigation-menu/arrow/NavigationMenuArrow.js +2 -4
  261. package/esm/navigation-menu/backdrop/NavigationMenuBackdrop.js +2 -4
  262. package/esm/navigation-menu/content/NavigationMenuContent.js +25 -13
  263. package/esm/navigation-menu/icon/NavigationMenuIcon.js +2 -4
  264. package/esm/navigation-menu/item/NavigationMenuItem.js +6 -5
  265. package/esm/navigation-menu/link/NavigationMenuLink.js +2 -2
  266. package/esm/navigation-menu/list/NavigationMenuList.js +5 -3
  267. package/esm/navigation-menu/popup/NavigationMenuPopup.js +33 -34
  268. package/esm/navigation-menu/portal/NavigationMenuPortal.js +20 -10
  269. package/esm/navigation-menu/positioner/NavigationMenuPositioner.js +5 -3
  270. package/esm/navigation-menu/root/NavigationMenuRoot.js +23 -13
  271. package/esm/navigation-menu/trigger/NavigationMenuTrigger.js +61 -49
  272. package/esm/navigation-menu/viewport/NavigationMenuViewport.js +2 -4
  273. package/esm/number-field/decrement/NumberFieldDecrement.js +2 -4
  274. package/esm/number-field/group/NumberFieldGroup.js +2 -4
  275. package/esm/number-field/increment/NumberFieldIncrement.js +2 -4
  276. package/esm/number-field/input/NumberFieldInput.js +2 -4
  277. package/esm/number-field/root/NumberFieldRoot.js +37 -16
  278. package/esm/number-field/scrub-area/NumberFieldScrubArea.js +5 -3
  279. package/esm/number-field/scrub-area-cursor/NumberFieldScrubAreaCursor.js +8 -4
  280. package/esm/popover/arrow/PopoverArrow.js +2 -4
  281. package/esm/popover/backdrop/PopoverBackdrop.js +2 -4
  282. package/esm/popover/close/PopoverClose.js +2 -4
  283. package/esm/popover/description/PopoverDescription.js +2 -4
  284. package/esm/popover/popup/PopoverPopup.js +21 -8
  285. package/esm/popover/portal/PopoverPortal.js +20 -10
  286. package/esm/popover/positioner/PopoverPositioner.js +28 -13
  287. package/esm/popover/root/PopoverRoot.js +19 -13
  288. package/esm/popover/title/PopoverTitle.js +2 -4
  289. package/esm/popover/trigger/PopoverTrigger.js +2 -4
  290. package/esm/preview-card/arrow/PreviewCardArrow.js +2 -4
  291. package/esm/preview-card/backdrop/PreviewCardBackdrop.js +2 -4
  292. package/esm/preview-card/popup/PreviewCardPopup.js +2 -4
  293. package/esm/preview-card/portal/PreviewCardPortal.js +20 -10
  294. package/esm/preview-card/positioner/PreviewCardPositioner.js +5 -3
  295. package/esm/preview-card/root/PreviewCardRoot.js +5 -3
  296. package/esm/preview-card/trigger/PreviewCardTrigger.js +2 -4
  297. package/esm/progress/indicator/ProgressIndicator.js +2 -4
  298. package/esm/progress/label/ProgressLabel.js +2 -4
  299. package/esm/progress/root/ProgressRoot.js +5 -3
  300. package/esm/progress/track/ProgressTrack.js +2 -4
  301. package/esm/progress/value/ProgressValue.js +2 -4
  302. package/esm/radio/indicator/RadioIndicator.js +8 -4
  303. package/esm/radio/root/RadioRoot.js +22 -11
  304. package/esm/radio-group/RadioGroup.js +18 -10
  305. package/esm/scroll-area/content/ScrollAreaContent.js +2 -4
  306. package/esm/scroll-area/corner/ScrollAreaCorner.js +8 -4
  307. package/esm/scroll-area/root/ScrollAreaRoot.js +5 -3
  308. package/esm/scroll-area/scrollbar/ScrollAreaScrollbar.js +13 -7
  309. package/esm/scroll-area/thumb/ScrollAreaThumb.js +2 -4
  310. package/esm/scroll-area/viewport/ScrollAreaViewport.js +5 -3
  311. package/esm/select/arrow/SelectArrow.js +8 -4
  312. package/esm/select/backdrop/SelectBackdrop.js +2 -4
  313. package/esm/select/group/SelectGroup.js +5 -3
  314. package/esm/select/group-label/SelectGroupLabel.js +2 -4
  315. package/esm/select/icon/SelectIcon.js +3 -7
  316. package/esm/select/item/SelectItem.js +5 -3
  317. package/esm/select/item-indicator/SelectItemIndicator.js +8 -4
  318. package/esm/select/item-text/SelectItemText.js +2 -4
  319. package/esm/select/popup/SelectPopup.js +13 -10
  320. package/esm/select/portal/SelectPortal.js +20 -10
  321. package/esm/select/positioner/SelectPositioner.js +24 -13
  322. package/esm/select/root/SelectRoot.js +58 -47
  323. package/esm/select/scroll-arrow/SelectScrollArrow.js +10 -7
  324. package/esm/select/scroll-down-arrow/SelectScrollDownArrow.js +8 -5
  325. package/esm/select/scroll-up-arrow/SelectScrollUpArrow.js +8 -5
  326. package/esm/select/trigger/SelectTrigger.js +2 -4
  327. package/esm/select/value/SelectValue.js +3 -7
  328. package/esm/separator/Separator.js +2 -4
  329. package/esm/slider/control/SliderControl.js +2 -4
  330. package/esm/slider/indicator/SliderIndicator.js +2 -4
  331. package/esm/slider/root/SliderRoot.js +71 -47
  332. package/esm/slider/thumb/SliderThumb.js +10 -11
  333. package/esm/slider/track/SliderTrack.js +2 -4
  334. package/esm/slider/value/SliderValue.js +3 -7
  335. package/esm/switch/root/SwitchRoot.js +20 -9
  336. package/esm/switch/thumb/SwitchThumb.js +2 -4
  337. package/esm/tabs/indicator/TabsIndicator.js +15 -11
  338. package/esm/tabs/list/TabsList.js +20 -12
  339. package/esm/tabs/panel/TabsPanel.js +3 -7
  340. package/esm/tabs/root/TabsRoot.js +13 -9
  341. package/esm/tabs/tab/TabsTab.js +2 -4
  342. package/esm/toast/action/ToastAction.js +3 -7
  343. package/esm/toast/close/ToastClose.js +2 -4
  344. package/esm/toast/description/ToastDescription.js +3 -7
  345. package/esm/toast/portal/ToastPortal.js +8 -4
  346. package/esm/toast/provider/ToastProvider.js +5 -3
  347. package/esm/toast/root/ToastRoot.js +37 -22
  348. package/esm/toast/title/ToastTitle.js +3 -7
  349. package/esm/toast/utils/test-utils.js +28 -21
  350. package/esm/toast/viewport/ToastViewport.js +13 -13
  351. package/esm/toggle/Toggle.js +10 -6
  352. package/esm/toggle-group/ToggleGroup.js +19 -11
  353. package/esm/toolbar/button/ToolbarButton.js +2 -2
  354. package/esm/toolbar/group/ToolbarGroup.js +5 -3
  355. package/esm/toolbar/input/ToolbarInput.js +2 -2
  356. package/esm/toolbar/link/ToolbarLink.js +2 -2
  357. package/esm/toolbar/root/ToolbarRoot.js +20 -10
  358. package/esm/toolbar/separator/ToolbarSeparator.js +12 -6
  359. package/esm/tooltip/arrow/TooltipArrow.js +2 -4
  360. package/esm/tooltip/popup/TooltipPopup.js +2 -4
  361. package/esm/tooltip/portal/TooltipPortal.js +20 -10
  362. package/esm/tooltip/positioner/TooltipPositioner.js +5 -3
  363. package/esm/tooltip/provider/TooltipProvider.js +15 -7
  364. package/esm/tooltip/root/TooltipRoot.js +5 -3
  365. package/esm/tooltip/trigger/TooltipTrigger.js +2 -4
  366. package/esm/unstable-no-ssr/NoSsr.js +12 -5
  367. package/esm/utils/FloatingPortalLite.js +8 -4
  368. package/esm/utils/FocusGuard.js +23 -10
  369. package/esm/utils/InternalBackdrop.js +22 -18
  370. package/esm/utils/styles.js +3 -5
  371. package/esm/utils/useRenderElement.js +36 -30
  372. package/package.json +5 -3
@@ -1,3 +1,5 @@
1
+ import { createComponent as _$createComponent } from "solid-js/web";
2
+ import { memo as _$memo } from "solid-js/web";
1
3
  import { FloatingFocusManager } from "../../floating-ui-solid/index.js";
2
4
  import { access, splitComponentProps } from "../../solid-helpers.js";
3
5
  import { inertValue } from "../../utils/inertValue.js";
@@ -10,7 +12,6 @@ import { useDialogRootContext } from "../root/DialogRootContext.js";
10
12
  import { DialogPopupCssVars } from "./DialogPopupCssVars.js";
11
13
  import { DialogPopupDataAttributes } from "./DialogPopupDataAttributes.js";
12
14
  import { useDialogPopup } from "./useDialogPopup.js";
13
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
14
15
  const customStyleHookMapping = {
15
16
  ...baseMapping,
16
17
  ...transitionStatusMapping,
@@ -100,21 +101,33 @@ export function DialogPopup(componentProps) {
100
101
  }, elementProps],
101
102
  customStyleHookMapping
102
103
  });
103
- return /*#__PURE__*/_jsxs(_Fragment, {
104
- children: [mounted() && modal() === true && /*#__PURE__*/_jsx(InternalBackdrop, {
105
- managed: true,
106
- inert: inertValue(!open()),
107
- ref: el => {
108
- refs.internalBackdropRef = el;
109
- }
110
- }), /*#__PURE__*/_jsx(FloatingFocusManager, {
111
- context: floatingRootContext,
112
- disabled: !mounted(),
113
- closeOnFocusOut: dismissible?.(),
114
- initialFocus: resolvedInitialFocus(),
115
- returnFocus: local.finalFocus,
116
- modal: modal() !== false,
117
- children: element()
118
- })]
119
- });
104
+ return [_$memo(() => _$memo(() => !!(mounted() && modal() === true))() && _$createComponent(InternalBackdrop, {
105
+ managed: true,
106
+ get inert() {
107
+ return inertValue(!open());
108
+ },
109
+ ref: el => {
110
+ refs.internalBackdropRef = el;
111
+ }
112
+ })), _$createComponent(FloatingFocusManager, {
113
+ context: floatingRootContext,
114
+ get disabled() {
115
+ return !mounted();
116
+ },
117
+ get closeOnFocusOut() {
118
+ return dismissible?.();
119
+ },
120
+ get initialFocus() {
121
+ return resolvedInitialFocus();
122
+ },
123
+ get returnFocus() {
124
+ return local.finalFocus;
125
+ },
126
+ get modal() {
127
+ return modal() !== false;
128
+ },
129
+ get children() {
130
+ return element();
131
+ }
132
+ })];
120
133
  }
@@ -1,3 +1,4 @@
1
+ import { createComponent as _$createComponent } from "solid-js/web";
1
2
  import { Show } from 'solid-js';
2
3
  import { FloatingPortal } from "../../floating-ui-solid/index.js";
3
4
  import { useDialogRootContext } from "../root/DialogRootContext.js";
@@ -9,21 +10,30 @@ import { DialogPortalContext } from "./DialogPortalContext.js";
9
10
  *
10
11
  * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)
11
12
  */
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
13
  export function DialogPortal(props) {
14
14
  const keepMounted = () => props.keepMounted ?? false;
15
15
  const {
16
16
  mounted
17
17
  } = useDialogRootContext();
18
18
  const shouldRender = () => mounted() || keepMounted();
19
- return /*#__PURE__*/_jsx(Show, {
20
- when: shouldRender(),
21
- children: /*#__PURE__*/_jsx(DialogPortalContext.Provider, {
22
- value: keepMounted,
23
- children: /*#__PURE__*/_jsx(FloatingPortal, {
24
- root: props.container,
25
- children: props.children
26
- })
27
- })
19
+ return _$createComponent(Show, {
20
+ get when() {
21
+ return shouldRender();
22
+ },
23
+ get children() {
24
+ return _$createComponent(DialogPortalContext.Provider, {
25
+ value: keepMounted,
26
+ get children() {
27
+ return _$createComponent(FloatingPortal, {
28
+ get root() {
29
+ return props.container;
30
+ },
31
+ get children() {
32
+ return props.children;
33
+ }
34
+ });
35
+ }
36
+ });
37
+ }
28
38
  });
29
39
  }
@@ -1,3 +1,4 @@
1
+ import { createComponent as _$createComponent } from "solid-js/web";
1
2
  import { mergeProps as solidMergeProps } from 'solid-js';
2
3
  import { DialogContext } from "../utils/DialogContext.js";
3
4
  import { DialogRootContext, useOptionalDialogRootContext } from "./DialogRootContext.js";
@@ -9,7 +10,6 @@ import { useDialogRoot } from "./useDialogRoot.js";
9
10
  *
10
11
  * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)
11
12
  */
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
13
  export function DialogRoot(props) {
14
14
  const defaultOpen = () => props.defaultOpen ?? false;
15
15
  const dismissible = () => props.dismissible ?? true;
@@ -37,11 +37,15 @@ export function DialogRoot(props) {
37
37
  const dialogRootContextValue = {
38
38
  dismissible
39
39
  };
40
- return /*#__PURE__*/_jsx(DialogContext.Provider, {
40
+ return _$createComponent(DialogContext.Provider, {
41
41
  value: dialogContextValue,
42
- children: /*#__PURE__*/_jsx(DialogRootContext.Provider, {
43
- value: dialogRootContextValue,
44
- children: props.children
45
- })
42
+ get children() {
43
+ return _$createComponent(DialogRootContext.Provider, {
44
+ value: dialogRootContextValue,
45
+ get children() {
46
+ return props.children;
47
+ }
48
+ });
49
+ }
46
50
  });
47
51
  }
@@ -1,3 +1,4 @@
1
+ import { memo as _$memo } from "solid-js/web";
1
2
  import { onMount } from 'solid-js';
2
3
  import { splitComponentProps } from "../../solid-helpers.js";
3
4
  import { useBaseUiId } from "../../utils/useBaseUiId.js";
@@ -10,7 +11,6 @@ import { useDialogRootContext } from "../root/DialogRootContext.js";
10
11
  *
11
12
  * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)
12
13
  */
13
- import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
14
14
  export function DialogTitle(componentProps) {
15
15
  const [, local, elementProps] = splitComponentProps(componentProps, ['id']);
16
16
  const {
@@ -35,7 +35,5 @@ export function DialogTitle(componentProps) {
35
35
  }
36
36
  }, elementProps]
37
37
  });
38
- return /*#__PURE__*/_jsx(_Fragment, {
39
- children: element()
40
- });
38
+ return _$memo(element);
41
39
  }
@@ -1,3 +1,4 @@
1
+ import { memo as _$memo } from "solid-js/web";
1
2
  import { splitComponentProps } from "../../solid-helpers.js";
2
3
  import { useButton } from "../../use-button/useButton.js";
3
4
  import { triggerOpenStateMapping } from "../../utils/popupStateMapping.js";
@@ -10,7 +11,6 @@ import { useDialogRootContext } from "../root/DialogRootContext.js";
10
11
  *
11
12
  * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog)
12
13
  */
13
- import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
14
14
  export function DialogTrigger(componentProps) {
15
15
  const [, local, elementProps] = splitComponentProps(componentProps, ['render', 'class', 'disabled', 'nativeButton']);
16
16
  const disabled = () => local.disabled ?? false;
@@ -44,7 +44,5 @@ export function DialogTrigger(componentProps) {
44
44
  props: [triggerProps, elementProps, getButtonProps],
45
45
  customStyleHookMapping: triggerOpenStateMapping
46
46
  });
47
- return /*#__PURE__*/_jsx(_Fragment, {
48
- children: element()
49
- });
47
+ return _$memo(element);
50
48
  }
@@ -1,3 +1,4 @@
1
+ import { createComponent as _$createComponent } from "solid-js/web";
1
2
  import { DirectionContext } from "./DirectionContext.js";
2
3
 
3
4
  /**
@@ -5,13 +6,14 @@ import { DirectionContext } from "./DirectionContext.js";
5
6
  *
6
7
  * Documentation: [Base UI Direction Provider](https://base-ui.com/react/utils/direction-provider)
7
8
  */
8
- import { jsx as _jsx } from "react/jsx-runtime";
9
9
  export function DirectionProvider(props) {
10
10
  const direction = () => props.direction ?? 'ltr';
11
- return /*#__PURE__*/_jsx(DirectionContext.Provider, {
11
+ return _$createComponent(DirectionContext.Provider, {
12
12
  value: {
13
13
  direction
14
14
  },
15
- children: props.children
15
+ get children() {
16
+ return props.children;
17
+ }
16
18
  });
17
19
  }
@@ -1,3 +1,4 @@
1
+ import { memo as _$memo } from "solid-js/web";
1
2
  import { createEffect, onMount, mergeProps as solidMergeProps } from 'solid-js';
2
3
  import { mergeProps } from "../../merge-props/index.js";
3
4
  import { splitComponentProps } from "../../solid-helpers.js";
@@ -19,7 +20,6 @@ import { useFieldControlValidation } from "./useFieldControlValidation.js";
19
20
  *
20
21
  * Documentation: [Base UI Field](https://base-ui.com/react/components/field)
21
22
  */
22
- import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
23
23
  export function FieldControl(componentProps) {
24
24
  const [, local, elementProps] = splitComponentProps(componentProps, ['id', 'name', 'value', 'disabled', 'onValueChange', 'defaultValue']);
25
25
  const disabledProp = () => local.disabled ?? false;
@@ -132,7 +132,5 @@ export function FieldControl(componentProps) {
132
132
  }
133
133
  }, props => mergeProps(props, getValidationProps()), props => mergeProps(props, getInputValidationProps()), elementProps]
134
134
  });
135
- return /*#__PURE__*/_jsx(_Fragment, {
136
- children: element()
137
- });
135
+ return _$memo(element);
138
136
  }
@@ -1,3 +1,4 @@
1
+ import { memo as _$memo } from "solid-js/web";
1
2
  import { createEffect, onCleanup } from 'solid-js';
2
3
  import { splitComponentProps } from "../../solid-helpers.js";
3
4
  import { useBaseUiId } from "../../utils/useBaseUiId.js";
@@ -11,7 +12,6 @@ import { fieldValidityMapping } from "../utils/constants.js";
11
12
  *
12
13
  * Documentation: [Base UI Field](https://base-ui.com/react/components/field)
13
14
  */
14
- import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
15
15
  export function FieldDescription(componentProps) {
16
16
  const [, local, elementProps] = splitComponentProps(componentProps, ['id']);
17
17
  const {
@@ -40,7 +40,5 @@ export function FieldDescription(componentProps) {
40
40
  }
41
41
  }, elementProps]
42
42
  });
43
- return /*#__PURE__*/_jsx(_Fragment, {
44
- children: element()
45
- });
43
+ return _$memo(element);
46
44
  }
@@ -1,3 +1,9 @@
1
+ import { template as _$template } from "solid-js/web";
2
+ import { insert as _$insert } from "solid-js/web";
3
+ import { createComponent as _$createComponent } from "solid-js/web";
4
+ import { memo as _$memo } from "solid-js/web";
5
+ var _tmpl$ = /*#__PURE__*/_$template(`<ul> <!> `),
6
+ _tmpl$2 = /*#__PURE__*/_$template(`<li>`);
1
7
  import { createEffect, createMemo, For, onCleanup, splitProps } from 'solid-js';
2
8
  import { useFormContext } from "../../form/FormContext.js";
3
9
  import { useBaseUiId } from "../../utils/useBaseUiId.js";
@@ -11,7 +17,6 @@ import { fieldValidityMapping } from "../utils/constants.js";
11
17
  *
12
18
  * Documentation: [Base UI Field](https://base-ui.com/react/components/field)
13
19
  */
14
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
15
20
  export function FieldError(componentProps) {
16
21
  const [local, elementProps] = splitProps(componentProps, ['id', 'match']);
17
22
  const id = useBaseUiId(() => local.id);
@@ -55,22 +60,25 @@ export function FieldError(componentProps) {
55
60
  return id();
56
61
  },
57
62
  get children() {
58
- return /*#__PURE__*/_jsx(_Fragment, {
59
- children: componentProps.children ?? /*#__PURE__*/_jsx(_Fragment, {
60
- children: formError() || (validityData.errors.length > 1 ? /*#__PURE__*/_jsxs("ul", {
61
- children: [' ', /*#__PURE__*/_jsx(For, {
62
- each: validityData.errors,
63
- children: message => /*#__PURE__*/_jsx("li", {
64
- children: message
65
- })
66
- }), ' ']
67
- }) : validityData.error)
68
- })
69
- });
63
+ return _$memo(() => componentProps.children ?? _$memo(() => formError() || (validityData.errors.length > 1 ? (() => {
64
+ var _el$ = _tmpl$(),
65
+ _el$2 = _el$.firstChild,
66
+ _el$4 = _el$2.nextSibling,
67
+ _el$3 = _el$4.nextSibling;
68
+ _$insert(_el$, _$createComponent(For, {
69
+ get each() {
70
+ return validityData.errors;
71
+ },
72
+ children: message => (() => {
73
+ var _el$5 = _tmpl$2();
74
+ _$insert(_el$5, message);
75
+ return _el$5;
76
+ })()
77
+ }), _el$4);
78
+ return _el$;
79
+ })() : validityData.error)));
70
80
  }
71
81
  }, elementProps]
72
82
  });
73
- return /*#__PURE__*/_jsx(_Fragment, {
74
- children: element()
75
- });
83
+ return _$memo(element);
76
84
  }
@@ -1,3 +1,4 @@
1
+ import { memo as _$memo } from "solid-js/web";
1
2
  import { onMount } from 'solid-js';
2
3
  import { getTarget } from "../../floating-ui-solid/utils.js";
3
4
  import { splitComponentProps } from "../../solid-helpers.js";
@@ -12,7 +13,6 @@ import { fieldValidityMapping } from "../utils/constants.js";
12
13
  *
13
14
  * Documentation: [Base UI Field](https://base-ui.com/react/components/field)
14
15
  */
15
- import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
16
16
  export function FieldLabel(componentProps) {
17
17
  const [, local, elementProps] = splitComponentProps(componentProps, ['id']);
18
18
  const {
@@ -57,7 +57,5 @@ export function FieldLabel(componentProps) {
57
57
  }
58
58
  }, elementProps]
59
59
  });
60
- return /*#__PURE__*/_jsx(_Fragment, {
61
- children: element()
62
- });
60
+ return _$memo(element);
63
61
  }
@@ -1,3 +1,4 @@
1
+ import { createComponent as _$createComponent } from "solid-js/web";
1
2
  import { batch, createEffect, createSignal, on, onCleanup } from 'solid-js';
2
3
  import { createStore } from 'solid-js/store';
3
4
  import { useFieldsetRootContext } from "../../fieldset/root/FieldsetRootContext.js";
@@ -13,7 +14,6 @@ import { FieldRootContext } from "./FieldRootContext.js";
13
14
  *
14
15
  * Documentation: [Base UI Field](https://base-ui.com/react/components/field)
15
16
  */
16
- import { jsx as _jsx } from "react/jsx-runtime";
17
17
  export function FieldRoot(componentProps) {
18
18
  const [, local, elementProps] = splitComponentProps(componentProps, ['disabled', 'name', 'validate', 'validationDebounceTime', 'validationMode', 'invalid']);
19
19
  const validationDebounceTime = () => local.validationDebounceTime ?? 0;
@@ -135,8 +135,10 @@ export function FieldRoot(componentProps) {
135
135
  props: elementProps,
136
136
  customStyleHookMapping: fieldValidityMapping
137
137
  });
138
- return /*#__PURE__*/_jsx(FieldRootContext.Provider, {
138
+ return _$createComponent(FieldRootContext.Provider, {
139
139
  value: contextValue,
140
- children: element()
140
+ get children() {
141
+ return element();
142
+ }
141
143
  });
142
144
  }
@@ -1,3 +1,5 @@
1
+ import { createComponent as _$createComponent } from "solid-js/web";
2
+ import { mergeProps as _$mergeProps } from "solid-js/web";
1
3
  import { createMemo } from 'solid-js';
2
4
  import { Dynamic } from 'solid-js/web';
3
5
  import { useFieldRootContext } from "../root/FieldRootContext.js";
@@ -9,7 +11,6 @@ import { getCombinedFieldValidityData } from "../utils/getCombinedFieldValidityD
9
11
  *
10
12
  * Documentation: [Base UI Field](https://base-ui.com/react/components/field)
11
13
  */
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
14
  export function FieldValidity(props) {
14
15
  const {
15
16
  validityData,
@@ -22,8 +23,9 @@ export function FieldValidity(props) {
22
23
  validity: combinedFieldValidityData.state
23
24
  };
24
25
  });
25
- return /*#__PURE__*/_jsx(Dynamic, {
26
- component: props.children,
27
- ...fieldValidityState()
28
- });
26
+ return _$createComponent(Dynamic, _$mergeProps({
27
+ get component() {
28
+ return props.children;
29
+ }
30
+ }, fieldValidityState));
29
31
  }
@@ -1,3 +1,4 @@
1
+ import { memo as _$memo } from "solid-js/web";
1
2
  import { onMount } from 'solid-js';
2
3
  import { splitComponentProps } from "../../solid-helpers.js";
3
4
  import { useBaseUiId } from "../../utils/useBaseUiId.js";
@@ -10,7 +11,6 @@ import { useFieldsetRootContext } from "../root/FieldsetRootContext.js";
10
11
  *
11
12
  * Documentation: [Base UI Fieldset](https://base-ui.com/react/components/fieldset)
12
13
  */
13
- import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
14
14
  export function FieldsetLegend(componentProps) {
15
15
  const [, local, elementProps] = splitComponentProps(componentProps, ['id']);
16
16
  const {
@@ -42,7 +42,5 @@ export function FieldsetLegend(componentProps) {
42
42
  }
43
43
  }, elementProps]
44
44
  });
45
- return /*#__PURE__*/_jsx(_Fragment, {
46
- children: element()
47
- });
45
+ return _$memo(element);
48
46
  }
@@ -1,3 +1,4 @@
1
+ import { createComponent as _$createComponent } from "solid-js/web";
1
2
  import { createEffect, createSignal, on, onCleanup } from 'solid-js';
2
3
  import { createStore } from 'solid-js/store';
3
4
  import { splitComponentProps } from "../../solid-helpers.js";
@@ -10,7 +11,6 @@ import { FieldsetRootContext } from "./FieldsetRootContext.js";
10
11
  *
11
12
  * Documentation: [Base UI Fieldset](https://base-ui.com/react/components/fieldset)
12
13
  */
13
- import { jsx as _jsx } from "react/jsx-runtime";
14
14
  export function FieldsetRoot(componentProps) {
15
15
  const [, local, elementProps] = splitComponentProps(componentProps, ['disabled']);
16
16
  const disabled = () => local.disabled ?? false;
@@ -43,8 +43,10 @@ export function FieldsetRoot(componentProps) {
43
43
  }
44
44
  }, elementProps]
45
45
  });
46
- return /*#__PURE__*/_jsx(FieldsetRootContext.Provider, {
46
+ return _$createComponent(FieldsetRootContext.Provider, {
47
47
  value: contextValue,
48
- children: element()
48
+ get children() {
49
+ return element();
50
+ }
49
51
  });
50
52
  }
@@ -1,8 +1,8 @@
1
+ import { createComponent as _$createComponent } from "solid-js/web";
1
2
  import { createContext, createEffect, createSignal, onCleanup, useContext } from 'solid-js';
2
3
  import { useTimeout } from "../../utils/useTimeout.js";
3
4
  import { access } from "../../solid-helpers.js";
4
5
  import { getDelay } from "../hooks/useHover.js";
5
- import { jsx as _jsx } from "react/jsx-runtime";
6
6
  const FloatingDelayGroupContext = createContext({
7
7
  hasProvider: () => false,
8
8
  setHasProvider: () => {},
@@ -36,7 +36,7 @@ export function FloatingDelayGroup(props) {
36
36
  const [currentIdRef, setCurrentIdRef] = createSignal(null);
37
37
  const currentContextRef = null;
38
38
  const timeout = useTimeout();
39
- return /*#__PURE__*/_jsx(FloatingDelayGroupContext.Provider, {
39
+ return _$createComponent(FloatingDelayGroupContext.Provider, {
40
40
  value: {
41
41
  hasProvider,
42
42
  setHasProvider,
@@ -50,7 +50,9 @@ export function FloatingDelayGroup(props) {
50
50
  timeout,
51
51
  currentContextRef
52
52
  },
53
- children: props.children
53
+ get children() {
54
+ return props.children;
55
+ }
54
56
  });
55
57
  }
56
58
  /**
@@ -1,3 +1,9 @@
1
+ import { template as _$template } from "solid-js/web";
2
+ import { createComponent as _$createComponent } from "solid-js/web";
3
+ import { memo as _$memo } from "solid-js/web";
4
+ import { spread as _$spread } from "solid-js/web";
5
+ import { mergeProps as _$mergeProps } from "solid-js/web";
6
+ var _tmpl$ = /*#__PURE__*/_$template(`<button>`);
1
7
  import { getNodeName, isHTMLElement } from '@floating-ui/utils/dom';
2
8
  import { createEffect, createMemo, createSignal, on, onCleanup, Show } from 'solid-js';
3
9
  import { focusable, isTabbable, tabbable } from 'tabbable';
@@ -9,7 +15,6 @@ import { enqueueFocus } from "../utils/enqueueFocus.js";
9
15
  import { markOthers, supportsInert } from "../utils/markOthers.js";
10
16
  import { usePortalContext } from "./FloatingPortal.js";
11
17
  import { useFloatingTree } from "./FloatingTree.js";
12
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
18
  const LIST_LIMIT = 20;
14
19
  let previouslyFocusedElements = [];
15
20
  function addPreviouslyFocusedElement(element) {
@@ -52,12 +57,15 @@ function handleTabIndex(floatingFocusElement, orderRef) {
52
57
  }
53
58
  }
54
59
  function VisuallyHiddenDismiss(props) {
55
- return /*#__PURE__*/_jsx("button", {
56
- ...props,
57
- type: "button",
58
- tabIndex: -1,
59
- style: visuallyHidden
60
- });
60
+ return (() => {
61
+ var _el$ = _tmpl$();
62
+ _$spread(_el$, _$mergeProps(props, {
63
+ "type": "button",
64
+ "tabIndex": -1,
65
+ "style": visuallyHidden
66
+ }), false, false);
67
+ return _el$;
68
+ })();
61
69
  }
62
70
  /**
63
71
  * Provides focus management for the floating element.
@@ -409,17 +417,20 @@ export function FloatingFocusManager(props) {
409
417
  if (disabled() || !visuallyHiddenDismiss() || !modal()) {
410
418
  return null;
411
419
  }
412
- return /*#__PURE__*/_jsx(VisuallyHiddenDismiss, {
413
- ref: location === 'start' ? setStartDismissButtonRef : setEndDismissButtonRef,
420
+ return _$createComponent(VisuallyHiddenDismiss, {
414
421
  onClick: event => props.context.onOpenChange(false, event),
415
- children: typeof visuallyHiddenDismiss() === 'string' ? visuallyHiddenDismiss() : 'Dismiss'
422
+ get children() {
423
+ return _$memo(() => typeof visuallyHiddenDismiss() === 'string')() ? visuallyHiddenDismiss() : 'Dismiss';
424
+ }
416
425
  });
417
426
  }
418
427
  const shouldRenderGuards = () => !disabled() && guards() && (modal() ? !isUntrappedTypeableCombobox() : true) && (isInsidePortal() || modal());
419
- return /*#__PURE__*/_jsxs(_Fragment, {
420
- children: [/*#__PURE__*/_jsx(Show, {
421
- when: shouldRenderGuards(),
422
- children: /*#__PURE__*/_jsx(FocusGuard, {
428
+ return [_$createComponent(Show, {
429
+ get when() {
430
+ return shouldRenderGuards();
431
+ },
432
+ get children() {
433
+ return _$createComponent(FocusGuard, {
423
434
  "data-type": "inside",
424
435
  ref: el => {
425
436
  setBeforeGuardRef(el);
@@ -440,13 +451,21 @@ export function FloatingFocusManager(props) {
440
451
  }
441
452
  }
442
453
  }
443
- })
444
- }), /*#__PURE__*/_jsx(Show, {
445
- when: !isUntrappedTypeableCombobox(),
446
- children: renderDismissButton('start')
447
- }), props.children, renderDismissButton('end'), /*#__PURE__*/_jsx(Show, {
448
- when: shouldRenderGuards(),
449
- children: /*#__PURE__*/_jsx(FocusGuard, {
454
+ });
455
+ }
456
+ }), _$createComponent(Show, {
457
+ get when() {
458
+ return !isUntrappedTypeableCombobox();
459
+ },
460
+ get children() {
461
+ return renderDismissButton('start');
462
+ }
463
+ }), _$memo(() => props.children), _$memo(() => renderDismissButton('end')), _$createComponent(Show, {
464
+ get when() {
465
+ return shouldRenderGuards();
466
+ },
467
+ get children() {
468
+ return _$createComponent(FocusGuard, {
450
469
  "data-type": "inside",
451
470
  ref: el => {
452
471
  setAfterGuardRef(el);
@@ -468,7 +487,7 @@ export function FloatingFocusManager(props) {
468
487
  }
469
488
  }
470
489
  }
471
- })
472
- })]
473
- });
490
+ });
491
+ }
492
+ })];
474
493
  }