@vokril/ui-solid 0.31.0 → 0.33.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 (382) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +132 -4
  3. package/dist/AttributeGrid-CNkALmJq.cjs +1 -0
  4. package/dist/AttributeGrid-DnuTPJ_P.js +320 -0
  5. package/dist/{Button-4meERfnv.js → Button-CX7mylBT.js} +125 -117
  6. package/dist/Button-lMUW5P3O.cjs +1 -0
  7. package/dist/CommandPalette-DAR9VMqY.cjs +2 -0
  8. package/dist/CommandPalette-DlLcdd4o.js +4029 -0
  9. package/dist/CopyButton-BVvv5M8g.js +63 -0
  10. package/dist/CopyButton-Dnd8_2Lj.cjs +1 -0
  11. package/dist/DateRangePicker-BlJWtJBA.cjs +9 -0
  12. package/dist/DateRangePicker-CHmUU4PA.js +552 -0
  13. package/dist/GuidedTour-9rqvNB_m.js +483 -0
  14. package/dist/GuidedTour-DbXeuTc7.cjs +1 -0
  15. package/dist/{HostPortal-Ba3MD9CG.js → HostPortal-De65s6CU.js} +1 -1
  16. package/dist/{HostPortal-CpWsArs6.cjs → HostPortal-Dm4BmY8M.cjs} +1 -1
  17. package/dist/{IconPicker-D1G8HK92.js → IconPicker-CsYW8CXe.js} +4 -4
  18. package/dist/IconPicker-D-GU1mD3.cjs +1 -0
  19. package/dist/Input-C3rEQffK.js +382 -0
  20. package/dist/Input-CHtvL4_4.cjs +1 -0
  21. package/dist/Modal-3L6p7Dwt.js +599 -0
  22. package/dist/Modal-CtrWEnJ7.cjs +1 -0
  23. package/dist/OverlayScrollArea-Cr0VAApT.cjs +1 -0
  24. package/dist/OverlayScrollArea-CrrPFLq9.js +180 -0
  25. package/dist/{PageSkeleton-zNyjLPlk.js → PageSkeleton-BRuqaDzr.js} +372 -371
  26. package/dist/PageSkeleton-Cz2bckO4.cjs +30 -0
  27. package/dist/Popover-CLTXG8W0.cjs +1 -0
  28. package/dist/Popover-DkqGvMNy.js +207 -0
  29. package/dist/SearchableSelect-C-lV1vSv.cjs +1 -0
  30. package/dist/SearchableSelect-Du12kcI9.js +328 -0
  31. package/dist/{StatusBarNotificationBell-ZTEhZFmJ.js → StatusBarNotificationBell-DKDoWK71.js} +4879 -4789
  32. package/dist/StatusBarNotificationBell-wO16mjon.cjs +50 -0
  33. package/dist/Stepper-DzI-gtKd.js +586 -0
  34. package/dist/Stepper-rpu7lpzB.cjs +1 -0
  35. package/dist/{Textarea-DASNQNoi.cjs → Textarea-D4nYoQ0J.cjs} +1 -1
  36. package/dist/{Textarea-szHXQahi.js → Textarea-DOzZCc-O.js} +1 -1
  37. package/dist/TimeSeriesChart-BJqQpeEJ.cjs +1 -0
  38. package/dist/TimeSeriesChart-DvAhuyVl.js +442 -0
  39. package/dist/ToggleButton-B-hBpdzk.js +2144 -0
  40. package/dist/ToggleButton-BMH1A-IX.cjs +1 -0
  41. package/dist/_internal/app/onboarding/pageTourState.d.cts +0 -2
  42. package/dist/_internal/app/onboarding/pageTourState.d.ts +0 -2
  43. package/dist/_internal/app/onboarding/pageTourTypes.d.cts +2 -1
  44. package/dist/_internal/app/onboarding/pageTourTypes.d.ts +2 -1
  45. package/dist/_internal/contract/browser/workspace.d.cts +15 -0
  46. package/dist/_internal/contract/browser/workspace.d.ts +15 -0
  47. package/dist/_internal/contract/menuDensity.d.cts +8 -0
  48. package/dist/_internal/contract/menuDensity.d.ts +8 -0
  49. package/dist/_internal/contract/notification.d.cts +19 -3
  50. package/dist/_internal/contract/notification.d.ts +19 -3
  51. package/dist/_internal/platform/settings/settingsTypes.d.cts +2 -2
  52. package/dist/_internal/platform/settings/settingsTypes.d.ts +2 -2
  53. package/dist/a11y/index.cjs +1 -1
  54. package/dist/a11y/index.js +1 -1
  55. package/dist/appThemeDerivation-Be_oKljl.cjs +1 -0
  56. package/dist/{server/appThemeDerivation-DBAOkGl7.js → appThemeDerivation-CKoSe4KP.js} +231 -260
  57. package/dist/base.css +1 -1
  58. package/dist/charts/index.cjs +1 -1
  59. package/dist/charts/index.js +1 -1
  60. package/dist/createDialogShellFocus-DI1rUvYf.js +282 -0
  61. package/dist/createDialogShellFocus-kzkNSLWS.cjs +1 -0
  62. package/dist/createResizableSidebar--Ve6DbDu.js +504 -0
  63. package/dist/createResizableSidebar-DlVAuq5t.cjs +1 -0
  64. package/dist/desktop/index.cjs +1 -1
  65. package/dist/desktop/index.js +228 -227
  66. package/dist/feedback/index.cjs +1 -1
  67. package/dist/feedback/index.js +4 -4
  68. package/dist/{focusModality-BISb6-yg.cjs → focusModality-D704CJVN.cjs} +1 -1
  69. package/dist/{focusModality-FoLPWF-_.js → focusModality-ROUF6YGR.js} +1 -1
  70. package/dist/forms/index.cjs +1 -1
  71. package/dist/forms/index.js +9 -9
  72. package/dist/grid/index.cjs +1 -1
  73. package/dist/grid/index.js +1 -1
  74. package/dist/host/index.cjs +1 -1
  75. package/dist/host/index.d.cts +1 -0
  76. package/dist/host/index.d.ts +1 -0
  77. package/dist/host/index.js +38 -39
  78. package/dist/host/kitHost.d.cts +8 -0
  79. package/dist/host/kitHost.d.ts +8 -0
  80. package/dist/index.cjs +1 -1
  81. package/dist/index.js +940 -938
  82. package/dist/kitHost-BMMWpU4w.js +47 -0
  83. package/dist/kitHost-u0-mKvEK.cjs +1 -0
  84. package/dist/layout/index.cjs +1 -1
  85. package/dist/layout/index.js +2 -2
  86. package/dist/mainRealmDom-BcPuVvcy.cjs +1 -0
  87. package/dist/mainRealmDom-DydRT2Us.js +54 -0
  88. package/dist/{server/useSettingsSubscription-DLEk4k4j.js → menuDensity-6x_EqCGb.js} +7 -5
  89. package/dist/{server/useSettingsSubscription-DKjCwmRd.cjs → menuDensity-Cf74__OQ.cjs} +1 -1
  90. package/dist/navigation/index.cjs +1 -1
  91. package/dist/navigation/index.js +1 -1
  92. package/dist/notificationCatalog-CRERhjp6.js +168 -0
  93. package/dist/notificationCatalog-DqTkd7M6.cjs +1 -0
  94. package/dist/notifications/holdWhileShown.d.cts +18 -0
  95. package/dist/notifications/holdWhileShown.d.ts +18 -0
  96. package/dist/notifications/index.cjs +1 -1
  97. package/dist/notifications/index.js +3 -3
  98. package/dist/notifications/nativeEngine.d.cts +34 -2
  99. package/dist/notifications/nativeEngine.d.ts +34 -2
  100. package/dist/notifications/notificationEntryList.d.cts +18 -5
  101. package/dist/notifications/notificationEntryList.d.ts +18 -5
  102. package/dist/notifications/notificationOverlaySnapshot.d.cts +35 -6
  103. package/dist/notifications/notificationOverlaySnapshot.d.ts +35 -6
  104. package/dist/overlay/Modal.d.cts +17 -3
  105. package/dist/overlay/Modal.d.ts +17 -3
  106. package/dist/overlay/index.cjs +1 -1
  107. package/dist/overlay/index.d.cts +2 -1
  108. package/dist/overlay/index.d.ts +2 -1
  109. package/dist/overlay/index.js +46 -43
  110. package/dist/overlay/modalDefaults.d.cts +23 -0
  111. package/dist/overlay/modalDefaults.d.ts +23 -0
  112. package/dist/overlay/modalViewport.d.cts +17 -2
  113. package/dist/overlay/modalViewport.d.ts +17 -2
  114. package/dist/pageTourState-BuA-GBYO.cjs +5 -0
  115. package/dist/{server/pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
  116. package/dist/rowSource-D8gyHbEE.cjs +1 -0
  117. package/dist/rowSource-_4IuosKj.js +1236 -0
  118. package/dist/server/AttributeGrid-B9j_c2wM.js +281 -0
  119. package/dist/server/AttributeGrid-BALCTvOI.cjs +1 -0
  120. package/dist/server/Button-DHefmmYz.cjs +1 -0
  121. package/dist/server/Button-ft_8RNJj.js +226 -0
  122. package/dist/server/CommandPalette-CHdfYtxs.js +3305 -0
  123. package/dist/server/CommandPalette-D0Prl7by.cjs +1 -0
  124. package/dist/server/CopyButton-CiYcsQcI.js +64 -0
  125. package/dist/server/CopyButton-D2q7tQ0m.cjs +1 -0
  126. package/dist/server/DateRangePicker-C6wZI7No.js +487 -0
  127. package/dist/server/DateRangePicker-CF70G2yr.cjs +9 -0
  128. package/dist/server/GuidedTour-BmDAWNfN.cjs +1 -0
  129. package/dist/server/GuidedTour-DYBhprVK.js +400 -0
  130. package/dist/server/{HostPortal-C4IrAeWN.js → HostPortal-C4xdfRyM.js} +1 -1
  131. package/dist/server/{HostPortal-D5ECrJvn.cjs → HostPortal-CwyePpDX.cjs} +1 -1
  132. package/dist/server/{IconPicker-DDWgB7sm.js → IconPicker--Xso9fUf.js} +5 -5
  133. package/dist/server/IconPicker-BTI4cNgf.cjs +1 -0
  134. package/dist/server/Input-UX0Hk53M.cjs +1 -0
  135. package/dist/server/Input-V9Szcw6w.js +249 -0
  136. package/dist/server/Modal-CBnNlaTx.cjs +1 -0
  137. package/dist/server/Modal-D9CjieKK.js +426 -0
  138. package/dist/server/OverlayScrollArea-DuwGRSMm.cjs +1 -0
  139. package/dist/server/OverlayScrollArea-h6G3yk6U.js +66 -0
  140. package/dist/server/{PageSkeleton-DoxlE_bD.js → PageSkeleton-CFs7AdTA.js} +267 -266
  141. package/dist/server/PageSkeleton-D0KOKLsb.cjs +30 -0
  142. package/dist/server/Popover-BBDBIpT6.cjs +1 -0
  143. package/dist/server/Popover-e9JpRh11.js +439 -0
  144. package/dist/server/SearchableSelect-B2ZFnp6i.js +205 -0
  145. package/dist/server/SearchableSelect-BBu5cP6P.cjs +1 -0
  146. package/dist/server/StatusBarNotificationBell-DEp4eEUv.cjs +49 -0
  147. package/dist/server/{StatusBarNotificationBell-DW2l5O9B.js → StatusBarNotificationBell-kOm2ZNkl.js} +4567 -4477
  148. package/dist/server/Stepper-C04rOZcI.cjs +1 -0
  149. package/dist/server/Stepper-CVAOsf3o.js +381 -0
  150. package/dist/server/{Textarea-Bh5LVrBn.cjs → Textarea-BG6F8taO.cjs} +1 -1
  151. package/dist/server/{Textarea-DVkfGkP0.js → Textarea-DM4zpgWo.js} +1 -1
  152. package/dist/server/TimeSeriesChart-kuuqH7we.js +242 -0
  153. package/dist/server/TimeSeriesChart-tWbSF6fJ.cjs +1 -0
  154. package/dist/server/ToggleButton-BdqufQ7G.js +1344 -0
  155. package/dist/server/ToggleButton-Bo24NK3o.cjs +1 -0
  156. package/dist/server/a11y/index.cjs +1 -1
  157. package/dist/server/a11y/index.js +1 -1
  158. package/dist/server/appThemeDerivation-Be_oKljl.cjs +1 -0
  159. package/dist/{appThemeDerivation-DBAOkGl7.js → server/appThemeDerivation-CKoSe4KP.js} +231 -260
  160. package/dist/server/charts/index.cjs +1 -1
  161. package/dist/server/charts/index.js +1 -1
  162. package/dist/server/createDialogShellFocus-DvoNWpIu.cjs +1 -0
  163. package/dist/server/createDialogShellFocus-J8wqPlsa.js +370 -0
  164. package/dist/server/{createResizableSidebar-Dvu7iEk1.js → createResizableSidebar-CIrhLNKW.js} +104 -102
  165. package/dist/server/createResizableSidebar-DcZ2Cnpf.cjs +1 -0
  166. package/dist/server/desktop/index.cjs +1 -1
  167. package/dist/server/desktop/index.js +153 -152
  168. package/dist/server/feedback/index.cjs +1 -1
  169. package/dist/server/feedback/index.js +4 -4
  170. package/dist/server/{focusModality-nWNVX3JG.js → focusModality-Bu4Kuwm4.js} +1 -1
  171. package/dist/server/{focusModality-D-nxv8Er.cjs → focusModality-G2i60_7y.cjs} +1 -1
  172. package/dist/server/forms/index.cjs +1 -1
  173. package/dist/server/forms/index.js +9 -9
  174. package/dist/server/grid/index.cjs +1 -1
  175. package/dist/server/grid/index.js +1 -1
  176. package/dist/server/host/index.cjs +1 -1
  177. package/dist/server/host/index.js +38 -39
  178. package/dist/server/{index-BEARfm54.js → index-CPUZyKo7.js} +2 -2
  179. package/dist/server/{index-C6rYfWCJ.cjs → index-CVbkasNJ.cjs} +1 -1
  180. package/dist/server/index.cjs +1 -1
  181. package/dist/server/index.js +673 -671
  182. package/dist/server/kitHost-BMMWpU4w.js +47 -0
  183. package/dist/server/kitHost-u0-mKvEK.cjs +1 -0
  184. package/dist/server/layout/index.cjs +1 -1
  185. package/dist/server/layout/index.js +2 -2
  186. package/dist/server/mainRealmDom-BuGEeM_r.cjs +1 -0
  187. package/dist/server/{EmptyState-Csydyy_7.js → mainRealmDom-CzckS_ss.js} +12 -8
  188. package/dist/{useSettingsSubscription-DLEk4k4j.js → server/menuDensity-6x_EqCGb.js} +7 -5
  189. package/dist/{useSettingsSubscription-DKjCwmRd.cjs → server/menuDensity-Cf74__OQ.cjs} +1 -1
  190. package/dist/server/navigation/index.cjs +1 -1
  191. package/dist/server/navigation/index.js +1 -1
  192. package/dist/server/notificationCatalog-CEDltsJS.cjs +1 -0
  193. package/dist/server/notificationCatalog-Cl1dH4aJ.js +122 -0
  194. package/dist/server/notifications/index.cjs +1 -1
  195. package/dist/server/notifications/index.js +3 -3
  196. package/dist/server/overlay/index.cjs +1 -1
  197. package/dist/server/overlay/index.js +32 -29
  198. package/dist/server/pageTourState-BuA-GBYO.cjs +5 -0
  199. package/dist/{pageTourState-BcBF8w89.js → server/pageTourState-DsSKdPOu.js} +160 -169
  200. package/dist/server/rowSource-BSa7rgYJ.js +1128 -0
  201. package/dist/server/rowSource-Yw-xtlih.cjs +1 -0
  202. package/dist/server/settings/index.cjs +1 -1
  203. package/dist/server/settings/index.js +26 -25
  204. package/dist/server/tokens/index.cjs +1 -1
  205. package/dist/server/tokens/index.js +29 -28
  206. package/dist/server/tokens/palette/index.cjs +1 -0
  207. package/dist/server/tokens/palette/index.js +31 -0
  208. package/dist/server/tree/index.cjs +1 -1
  209. package/dist/server/tree/index.js +1 -1
  210. package/dist/settings/index.cjs +1 -1
  211. package/dist/settings/index.js +26 -25
  212. package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +11 -10
  213. package/dist/solid/_internal/app/onboarding/pageTourState.js +12 -23
  214. package/dist/solid/_internal/contract/menuDensity.js +1 -0
  215. package/dist/solid/_internal/platform/settings/settingsTypes.js +1 -0
  216. package/dist/solid/charts/TimeSeriesChart.jsx +23 -22
  217. package/dist/solid/desktop/WindowControls.jsx +6 -3
  218. package/dist/solid/feedback/Badge.jsx +9 -5
  219. package/dist/solid/feedback/ErrorBoundary.jsx +18 -14
  220. package/dist/solid/forms/Button.jsx +15 -9
  221. package/dist/solid/forms/Checkbox.jsx +5 -4
  222. package/dist/solid/forms/Combobox.jsx +12 -10
  223. package/dist/solid/forms/CopyButton.jsx +7 -4
  224. package/dist/solid/forms/DatePicker.jsx +12 -7
  225. package/dist/solid/forms/Dropzone.jsx +17 -13
  226. package/dist/solid/forms/FilePickerButton.jsx +5 -4
  227. package/dist/solid/forms/HiddenFileInput.jsx +3 -1
  228. package/dist/solid/forms/InputMessage.jsx +11 -10
  229. package/dist/solid/forms/MultiSearchableSelect.jsx +8 -7
  230. package/dist/solid/forms/NumberInput.jsx +25 -19
  231. package/dist/solid/forms/Picker.jsx +8 -6
  232. package/dist/solid/forms/PressableSurface.jsx +14 -9
  233. package/dist/solid/forms/RadioGroup.jsx +4 -3
  234. package/dist/solid/forms/SearchInput.jsx +4 -3
  235. package/dist/solid/forms/SearchableSelect.jsx +4 -3
  236. package/dist/solid/forms/SegmentedControl.jsx +4 -3
  237. package/dist/solid/forms/TagInput.jsx +22 -16
  238. package/dist/solid/forms/ToggleButton.jsx +4 -3
  239. package/dist/solid/forms/date-range-picker/DateRangePicker.jsx +12 -10
  240. package/dist/solid/grid/Pagination.jsx +7 -3
  241. package/dist/solid/host/kitHost.jsx +5 -1
  242. package/dist/solid/layout/PageHeaderIcon.jsx +11 -9
  243. package/dist/solid/layout/ResizableSplitPane.jsx +4 -4
  244. package/dist/solid/layout/ResizeHandle.jsx +6 -5
  245. package/dist/solid/navigation/Accordion.jsx +8 -5
  246. package/dist/solid/navigation/Tabs.jsx +11 -8
  247. package/dist/solid/notifications/NotificationHost.jsx +3 -16
  248. package/dist/solid/notifications/NotificationItem.jsx +59 -55
  249. package/dist/solid/notifications/NotificationPanel.jsx +16 -8
  250. package/dist/solid/notifications/NotificationsCenter.jsx +2 -0
  251. package/dist/solid/notifications/StatusBarNotificationBell.jsx +4 -3
  252. package/dist/solid/notifications/createNotificationPreviewRuntime.js +2 -0
  253. package/dist/solid/notifications/holdWhileShown.js +30 -0
  254. package/dist/solid/notifications/nativeEngine.js +52 -1
  255. package/dist/solid/notifications/notificationEntryList.js +25 -9
  256. package/dist/solid/notifications/notificationOverlaySnapshot.js +26 -0
  257. package/dist/solid/notifications/toast.js +4 -0
  258. package/dist/solid/overlay/ConfirmDialog.jsx +21 -16
  259. package/dist/solid/overlay/DangerousActionDialogParts.jsx +5 -3
  260. package/dist/solid/overlay/Disclosure.jsx +4 -3
  261. package/dist/solid/overlay/DropdownMenu.jsx +6 -4
  262. package/dist/solid/overlay/FloatingWindow.jsx +3 -3
  263. package/dist/solid/overlay/HoverTooltip.jsx +9 -7
  264. package/dist/solid/overlay/Modal.jsx +44 -35
  265. package/dist/solid/overlay/OverlayScrollArea.jsx +5 -3
  266. package/dist/solid/overlay/Tooltip.jsx +5 -4
  267. package/dist/solid/overlay/command-palette/CommandPalette.jsx +7 -7
  268. package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +65 -50
  269. package/dist/solid/overlay/index.js +2 -1
  270. package/dist/solid/overlay/menu/MenuParts.jsx +11 -8
  271. package/dist/solid/overlay/modalDefaults.jsx +10 -0
  272. package/dist/solid/overlay/modalViewport.js +17 -4
  273. package/dist/solid/overlay/popover/Popover.jsx +17 -11
  274. package/dist/solid/overlay/tour/GuidedTour.jsx +18 -14
  275. package/dist/solid/tokens/palette/index.js +1 -0
  276. package/dist/solid/tree/TreeRow.jsx +21 -16
  277. package/dist/solid/tree/TreeSurface.jsx +15 -14
  278. package/dist/solid/widgets/SettingsField.jsx +11 -10
  279. package/dist/style.css +3 -2
  280. package/dist/theme.css +2 -1
  281. package/dist/tokens/index.cjs +1 -1
  282. package/dist/tokens/index.js +29 -28
  283. package/dist/tokens/palette/index.cjs +1 -0
  284. package/dist/tokens/palette/index.d.cts +12 -0
  285. package/dist/tokens/palette/index.d.ts +12 -0
  286. package/dist/tokens/palette/index.js +31 -0
  287. package/dist/tokens/tokens.css +2 -1
  288. package/dist/tree/TreeRow.d.cts +5 -4
  289. package/dist/tree/TreeRow.d.ts +5 -4
  290. package/dist/tree/descriptor.d.cts +13 -3
  291. package/dist/tree/descriptor.d.ts +13 -3
  292. package/dist/tree/index.cjs +1 -1
  293. package/dist/tree/index.js +1 -1
  294. package/dist/ui.css +1 -1
  295. package/package.json +25 -1
  296. package/dist/AttributeGrid-Ch1k9v5j.cjs +0 -1
  297. package/dist/AttributeGrid-DqFd4gBm.js +0 -320
  298. package/dist/Button-OyZHrl-t.cjs +0 -1
  299. package/dist/CommandPalette-CxYZUJtN.cjs +0 -2
  300. package/dist/CommandPalette-DwOp8y1-.js +0 -4018
  301. package/dist/CopyButton-16QNPgz6.cjs +0 -1
  302. package/dist/CopyButton-BVS49lMS.js +0 -63
  303. package/dist/DateRangePicker-8QvydugY.js +0 -550
  304. package/dist/DateRangePicker-DI-06xWY.cjs +0 -9
  305. package/dist/EmptyState-B9TxGJ5v.cjs +0 -1
  306. package/dist/EmptyState-Dph6HU74.js +0 -50
  307. package/dist/GuidedTour-DUQwdW8n.cjs +0 -1
  308. package/dist/GuidedTour-DXMmHn0o.js +0 -483
  309. package/dist/IconPicker-Q-ZDtNkd.cjs +0 -1
  310. package/dist/Input-Brp5EDhg.cjs +0 -1
  311. package/dist/Input-CZi8KEfm.js +0 -374
  312. package/dist/Modal-CBi7Wd2V.cjs +0 -1
  313. package/dist/Modal-iyY1HUtr.js +0 -588
  314. package/dist/OverlayScrollArea-BSlaXG1h.cjs +0 -1
  315. package/dist/OverlayScrollArea-c8Za77qs.js +0 -180
  316. package/dist/PageSkeleton-B_-4fz1q.cjs +0 -30
  317. package/dist/Popover-DVi179wu.js +0 -207
  318. package/dist/Popover-DXrczbt9.cjs +0 -1
  319. package/dist/SearchableSelect-DtHbWJhR.js +0 -328
  320. package/dist/SearchableSelect-yLVqCGFo.cjs +0 -1
  321. package/dist/StatusBarNotificationBell-DQs5g1K6.cjs +0 -50
  322. package/dist/Stepper-CyRgzWlR.js +0 -583
  323. package/dist/Stepper-u2ZsE5oP.cjs +0 -1
  324. package/dist/TimeSeriesChart-D7lIqolp.js +0 -441
  325. package/dist/TimeSeriesChart-DGzM9B--.cjs +0 -1
  326. package/dist/ToggleButton-B22PsCqo.js +0 -2138
  327. package/dist/ToggleButton-DWslrIBN.cjs +0 -1
  328. package/dist/appThemeDerivation-BylmT80v.cjs +0 -1
  329. package/dist/createDialogShellFocus-CQ0VNC2g.cjs +0 -1
  330. package/dist/createDialogShellFocus-DbiQmLgb.js +0 -282
  331. package/dist/createResizableSidebar-COlpGQ7H.cjs +0 -1
  332. package/dist/createResizableSidebar-cmCKTIg_.js +0 -504
  333. package/dist/kitHost-BfJExE1G.cjs +0 -1
  334. package/dist/kitHost-CVAEi9sF.js +0 -23
  335. package/dist/mainRealmDom-B215swW-.js +0 -166
  336. package/dist/mainRealmDom-BYGSE-fo.cjs +0 -1
  337. package/dist/pageTourState-CrbEU7QW.cjs +0 -5
  338. package/dist/rowSource-D__7o4h0.js +0 -1230
  339. package/dist/rowSource-DiwTu_r8.cjs +0 -1
  340. package/dist/server/AttributeGrid-Bpjlauuz.js +0 -281
  341. package/dist/server/AttributeGrid-DNYdKb8J.cjs +0 -1
  342. package/dist/server/Button-0AXWRw9Q.cjs +0 -1
  343. package/dist/server/Button-3yNrnn4P.js +0 -220
  344. package/dist/server/CommandPalette-BuVxnqBG.cjs +0 -1
  345. package/dist/server/CommandPalette-Dn3NKXPM.js +0 -3291
  346. package/dist/server/CopyButton-B6xd9Z6j.js +0 -64
  347. package/dist/server/CopyButton-D8IN6Vnd.cjs +0 -1
  348. package/dist/server/DateRangePicker-BFzNjaME.cjs +0 -9
  349. package/dist/server/DateRangePicker-CnYkTgXX.js +0 -484
  350. package/dist/server/EmptyState-BnAHklc5.cjs +0 -1
  351. package/dist/server/GuidedTour-BZardPYW.js +0 -400
  352. package/dist/server/GuidedTour-yhdZk2SU.cjs +0 -1
  353. package/dist/server/IconPicker-C5lAN9pX.cjs +0 -1
  354. package/dist/server/Input-AdF-i0O8.js +0 -245
  355. package/dist/server/Input-XF9Jr0G9.cjs +0 -1
  356. package/dist/server/Modal-C5dzgcRW.js +0 -420
  357. package/dist/server/Modal-nAhBS1L9.cjs +0 -1
  358. package/dist/server/OverlayScrollArea-221dfKyz.js +0 -65
  359. package/dist/server/OverlayScrollArea-D4e9D9Nd.cjs +0 -1
  360. package/dist/server/PageSkeleton-DBo7hQq-.cjs +0 -30
  361. package/dist/server/Popover-C5avmGWz.cjs +0 -1
  362. package/dist/server/Popover-H3AAYZI0.js +0 -439
  363. package/dist/server/SearchableSelect-CZrXDKfC.cjs +0 -1
  364. package/dist/server/SearchableSelect-DMqed5Er.js +0 -205
  365. package/dist/server/StatusBarNotificationBell-CGcMdT4h.cjs +0 -49
  366. package/dist/server/Stepper-CpapA_WH.cjs +0 -1
  367. package/dist/server/Stepper-gGA7JwjV.js +0 -375
  368. package/dist/server/TimeSeriesChart-BQVXUFoj.cjs +0 -1
  369. package/dist/server/TimeSeriesChart-PAb95s6x.js +0 -242
  370. package/dist/server/ToggleButton-CA9T-OsI.cjs +0 -1
  371. package/dist/server/ToggleButton-CBNKajZa.js +0 -1335
  372. package/dist/server/appThemeDerivation-BylmT80v.cjs +0 -1
  373. package/dist/server/createDialogShellFocus-CDaLuPg8.cjs +0 -1
  374. package/dist/server/createDialogShellFocus-LGDBOVnr.js +0 -369
  375. package/dist/server/createResizableSidebar-v40ZOb-Q.cjs +0 -1
  376. package/dist/server/kitHost-BfJExE1G.cjs +0 -1
  377. package/dist/server/kitHost-CVAEi9sF.js +0 -23
  378. package/dist/server/mainRealmDom-DPNaDWtw.js +0 -121
  379. package/dist/server/mainRealmDom-DwZVMPnO.cjs +0 -1
  380. package/dist/server/pageTourState-CrbEU7QW.cjs +0 -5
  381. package/dist/server/rowSource-D-wcDmFU.js +0 -1122
  382. package/dist/server/rowSource-DltiY0o3.cjs +0 -1
@@ -3,11 +3,22 @@ import type { NotificationTimelineEntry } from './notificationTimeline.cjs';
3
3
  export declare const notificationEntryMark: {
4
4
  readonly "data-notification-entry": "";
5
5
  };
6
+ /**
7
+ * The mark of a notification list that is a focus target of its own — the panel's list, named and focusable like the
8
+ * reference's list (`base/browser/ui/list/listView.ts:410`, `listWidget.ts:1502`, `:1523`, `:1566-1571`): it holds the
9
+ * focus while it lists no notification ({@link focusFirstNotificationEntry}, {@link followNotificationListFocus}), and
10
+ * its keys start on its first or last notification ({@link moveNotificationEntryFocus}).
11
+ */
12
+ export declare const notificationListMark: {
13
+ readonly "data-notification-list": "";
14
+ };
6
15
  /**
7
16
  * Moves the focus to the first entry of the notification center or panel drawn under `root` — a running progress
8
- * card, else the newest record —, as the reference's center does when it is shown. Whether the entry now holds the
9
- * focus: `false` when `root` lists no entry, or when the one it lists could not take the focus (an inert or hidden
10
- * subtree); the caller then focuses what it shows instead (the reference focuses its empty list).
17
+ * card, else the newest record —, as the reference's center does when it is shown; when `root` lists no entry, to the
18
+ * list itself where the list is a focus target of its own (a `NotificationPanel`'s list), as the reference focuses its
19
+ * empty list (`workbench/browser/parts/notifications/notificationsList.ts:227-233`). Whether that element now holds the
20
+ * focus: `false` when `root` draws neither — a `NotificationsCenter` that lists nothing, which focuses itself —, or when
21
+ * the element could not take the focus (an inert or hidden subtree); the caller then focuses what it shows instead.
11
22
  */
12
23
  export declare function focusFirstNotificationEntry(root: ParentNode, options?: FocusOptions): boolean;
13
24
  /**
@@ -55,8 +66,10 @@ export declare function notificationListPageStep(page: NotificationListPage, cur
55
66
  * The list keys of a center's entries, for the `keydown` of the scrolled element that holds them (`viewport`): from an
56
67
  * entry, or from a control inside one, the key moves the focus along the entries {@link notificationListFocusStep},
57
68
  * a page at a time for Page Up and Page Down, and the entry that takes it is scrolled just into view, as the
58
- * reference reveals its list's focus (`listCommands.ts:58-73`; `listWidget.ts:1985-1996`). A key aimed elsewhere,
59
- * one an editable element takes, or one already handled is left alone.
69
+ * reference reveals its list's focus (`listCommands.ts:58-73`; `listWidget.ts:1985-1996`). From the list itself — a
70
+ * list that is a focus target of its own ({@link notificationListMark}) and holds the focus — the step starts from no
71
+ * entry: Down goes to the first, Up to the last. A key aimed elsewhere, one an editable element takes, or one already
72
+ * handled is left alone.
60
73
  */
61
74
  export declare function moveNotificationEntryFocus(event: KeyboardEvent, viewport: HTMLElement): void;
62
75
  /** What a notification list that follows its focus tells its owner. */
@@ -3,11 +3,22 @@ import type { NotificationTimelineEntry } from './notificationTimeline.js';
3
3
  export declare const notificationEntryMark: {
4
4
  readonly "data-notification-entry": "";
5
5
  };
6
+ /**
7
+ * The mark of a notification list that is a focus target of its own — the panel's list, named and focusable like the
8
+ * reference's list (`base/browser/ui/list/listView.ts:410`, `listWidget.ts:1502`, `:1523`, `:1566-1571`): it holds the
9
+ * focus while it lists no notification ({@link focusFirstNotificationEntry}, {@link followNotificationListFocus}), and
10
+ * its keys start on its first or last notification ({@link moveNotificationEntryFocus}).
11
+ */
12
+ export declare const notificationListMark: {
13
+ readonly "data-notification-list": "";
14
+ };
6
15
  /**
7
16
  * Moves the focus to the first entry of the notification center or panel drawn under `root` — a running progress
8
- * card, else the newest record —, as the reference's center does when it is shown. Whether the entry now holds the
9
- * focus: `false` when `root` lists no entry, or when the one it lists could not take the focus (an inert or hidden
10
- * subtree); the caller then focuses what it shows instead (the reference focuses its empty list).
17
+ * card, else the newest record —, as the reference's center does when it is shown; when `root` lists no entry, to the
18
+ * list itself where the list is a focus target of its own (a `NotificationPanel`'s list), as the reference focuses its
19
+ * empty list (`workbench/browser/parts/notifications/notificationsList.ts:227-233`). Whether that element now holds the
20
+ * focus: `false` when `root` draws neither — a `NotificationsCenter` that lists nothing, which focuses itself —, or when
21
+ * the element could not take the focus (an inert or hidden subtree); the caller then focuses what it shows instead.
11
22
  */
12
23
  export declare function focusFirstNotificationEntry(root: ParentNode, options?: FocusOptions): boolean;
13
24
  /**
@@ -55,8 +66,10 @@ export declare function notificationListPageStep(page: NotificationListPage, cur
55
66
  * The list keys of a center's entries, for the `keydown` of the scrolled element that holds them (`viewport`): from an
56
67
  * entry, or from a control inside one, the key moves the focus along the entries {@link notificationListFocusStep},
57
68
  * a page at a time for Page Up and Page Down, and the entry that takes it is scrolled just into view, as the
58
- * reference reveals its list's focus (`listCommands.ts:58-73`; `listWidget.ts:1985-1996`). A key aimed elsewhere,
59
- * one an editable element takes, or one already handled is left alone.
69
+ * reference reveals its list's focus (`listCommands.ts:58-73`; `listWidget.ts:1985-1996`). From the list itself — a
70
+ * list that is a focus target of its own ({@link notificationListMark}) and holds the focus — the step starts from no
71
+ * entry: Down goes to the first, Up to the last. A key aimed elsewhere, one an editable element takes, or one already
72
+ * handled is left alone.
60
73
  */
61
74
  export declare function moveNotificationEntryFocus(event: KeyboardEvent, viewport: HTMLElement): void;
62
75
  /** What a notification list that follows its focus tells its owner. */
@@ -1,11 +1,12 @@
1
1
  /**
2
- * Pure builders of the snapshot sent to the native overlay. The snapshot carries only DATA: the
3
- * callbacks for actions, progress cancellation and navigation stay in the renderer, and the
4
- * overlay asks for them back with a sequence number and the card revision (`itemRevision` — when
5
- * the callbacks change the card's revision goes up, and an action coming from an old snapshot is
6
- * dropped).
2
+ * Builders of the snapshot sent to the native overlay — pure, but for the appearance, which is read
3
+ * from the root it is given. The snapshot carries only DATA: the callbacks for actions, progress
4
+ * cancellation and navigation stay in the renderer, and the overlay asks for them back with a
5
+ * sequence number and the card revision (`itemRevision` — when the callbacks change the card's
6
+ * revision goes up, and an action coming from an old snapshot is dropped).
7
7
  */
8
8
  import type { NotificationOverlayBounds, NotificationOverlayItem, NotificationOverlayState } from '../_internal/contract/browser/workspace.cjs';
9
+ import { type MenuDensity } from '../_internal/contract/menuDensity.cjs';
9
10
  import type { NotificationSettings, ToastPosition } from '../_internal/platform/settings/settingsTypes.cjs';
10
11
  import { type NotificationItem } from './nativeEngine.cjs';
11
12
  /** A measured rectangle — a measurement with zero or negative area does not reach the overlay. */
@@ -25,13 +26,41 @@ export declare function overlayItemOf(item: NotificationItem, context: {
25
26
  readonly settings: NotificationSettings;
26
27
  readonly bounds: NotificationOverlayBounds | undefined;
27
28
  }): NotificationOverlayItem;
28
- /** The shell's appearance — the overlay draws the cards with the same theme, font and variables. */
29
+ /**
30
+ * The host root's attributes the appearance is read again on: its class (the theme), its inline style, its
31
+ * menu density, and the theme and palette attributes a stylesheet may set the root's font by.
32
+ */
33
+ export declare const OVERLAY_APPEARANCE_ATTRIBUTES: readonly string[];
34
+ /**
35
+ * The host window's run-time appearance — the overlay draws the cards with it. It carries what the host
36
+ * writes on its root while it runs: the root's inline custom properties (a palette, the user's fonts, a
37
+ * scrollbar style) and its menu density, with the root's font and its light or dark theme. Its custom
38
+ * properties are not the root's computed ones: the overlay page loads the same token sheets as the host
39
+ * (the kit's `theme.css` and the host's own) and derives every other token from them, so the values that
40
+ * belong to a window — the title bar a `Modal` keeps clear (`--modal-maximize-inset`, `0px` in a page
41
+ * without one), a zoom factor — stay the overlay page's own. The computed ones carried the host window's
42
+ * values and overrode them. The theme's root markers (`data-app-theme`, `data-design`) are not carried
43
+ * either: the kit's sheets key the root's `color-scheme` on them, a value of the overlay's own window.
44
+ */
29
45
  export interface OverlayAppearance {
46
+ /** The custom properties written inline on the host's root (`root.style`), by name. */
30
47
  readonly cssVariables: Record<string, string>;
31
48
  readonly fontFamily: string;
49
+ /** The root's computed font size: the overlay's rem base. */
32
50
  readonly fontSize: string;
33
51
  readonly theme: 'light' | 'dark';
52
+ /** The root's `data-menu-density`; absent when the root names no density of `MenuDensity`. */
53
+ readonly menuDensity?: MenuDensity;
34
54
  }
55
+ /**
56
+ * The appearance of the window whose root is `root` — `computed` is the root's computed style, read in its
57
+ * own window. As the reference's auxiliary window, the overlay takes values the host wrote on its root and
58
+ * loads the stylesheets itself, never computed values: the reference clones the main window's stylesheets
59
+ * and copies every attribute of its root
60
+ * (`workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.ts:452-547`, `:561`); the overlay
61
+ * takes a part of them — the inline custom properties and the menu density.
62
+ */
63
+ export declare function overlayAppearanceOf(root: HTMLElement, computed: CSSStyleDeclaration): OverlayAppearance;
35
64
  /** One snapshot of the overlay — stamped with its generation and sequence. */
36
65
  export declare function overlayStateOf(input: {
37
66
  readonly visible: boolean;
@@ -1,11 +1,12 @@
1
1
  /**
2
- * Pure builders of the snapshot sent to the native overlay. The snapshot carries only DATA: the
3
- * callbacks for actions, progress cancellation and navigation stay in the renderer, and the
4
- * overlay asks for them back with a sequence number and the card revision (`itemRevision` — when
5
- * the callbacks change the card's revision goes up, and an action coming from an old snapshot is
6
- * dropped).
2
+ * Builders of the snapshot sent to the native overlay — pure, but for the appearance, which is read
3
+ * from the root it is given. The snapshot carries only DATA: the callbacks for actions, progress
4
+ * cancellation and navigation stay in the renderer, and the overlay asks for them back with a
5
+ * sequence number and the card revision (`itemRevision` — when the callbacks change the card's
6
+ * revision goes up, and an action coming from an old snapshot is dropped).
7
7
  */
8
8
  import type { NotificationOverlayBounds, NotificationOverlayItem, NotificationOverlayState } from '../_internal/contract/browser/workspace.js';
9
+ import { type MenuDensity } from '../_internal/contract/menuDensity.js';
9
10
  import type { NotificationSettings, ToastPosition } from '../_internal/platform/settings/settingsTypes.js';
10
11
  import { type NotificationItem } from './nativeEngine.js';
11
12
  /** A measured rectangle — a measurement with zero or negative area does not reach the overlay. */
@@ -25,13 +26,41 @@ export declare function overlayItemOf(item: NotificationItem, context: {
25
26
  readonly settings: NotificationSettings;
26
27
  readonly bounds: NotificationOverlayBounds | undefined;
27
28
  }): NotificationOverlayItem;
28
- /** The shell's appearance — the overlay draws the cards with the same theme, font and variables. */
29
+ /**
30
+ * The host root's attributes the appearance is read again on: its class (the theme), its inline style, its
31
+ * menu density, and the theme and palette attributes a stylesheet may set the root's font by.
32
+ */
33
+ export declare const OVERLAY_APPEARANCE_ATTRIBUTES: readonly string[];
34
+ /**
35
+ * The host window's run-time appearance — the overlay draws the cards with it. It carries what the host
36
+ * writes on its root while it runs: the root's inline custom properties (a palette, the user's fonts, a
37
+ * scrollbar style) and its menu density, with the root's font and its light or dark theme. Its custom
38
+ * properties are not the root's computed ones: the overlay page loads the same token sheets as the host
39
+ * (the kit's `theme.css` and the host's own) and derives every other token from them, so the values that
40
+ * belong to a window — the title bar a `Modal` keeps clear (`--modal-maximize-inset`, `0px` in a page
41
+ * without one), a zoom factor — stay the overlay page's own. The computed ones carried the host window's
42
+ * values and overrode them. The theme's root markers (`data-app-theme`, `data-design`) are not carried
43
+ * either: the kit's sheets key the root's `color-scheme` on them, a value of the overlay's own window.
44
+ */
29
45
  export interface OverlayAppearance {
46
+ /** The custom properties written inline on the host's root (`root.style`), by name. */
30
47
  readonly cssVariables: Record<string, string>;
31
48
  readonly fontFamily: string;
49
+ /** The root's computed font size: the overlay's rem base. */
32
50
  readonly fontSize: string;
33
51
  readonly theme: 'light' | 'dark';
52
+ /** The root's `data-menu-density`; absent when the root names no density of `MenuDensity`. */
53
+ readonly menuDensity?: MenuDensity;
34
54
  }
55
+ /**
56
+ * The appearance of the window whose root is `root` — `computed` is the root's computed style, read in its
57
+ * own window. As the reference's auxiliary window, the overlay takes values the host wrote on its root and
58
+ * loads the stylesheets itself, never computed values: the reference clones the main window's stylesheets
59
+ * and copies every attribute of its root
60
+ * (`workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.ts:452-547`, `:561`); the overlay
61
+ * takes a part of them — the inline custom properties and the menu density.
62
+ */
63
+ export declare function overlayAppearanceOf(root: HTMLElement, computed: CSSStyleDeclaration): OverlayAppearance;
35
64
  /** One snapshot of the overlay — stamped with its generation and sequence. */
36
65
  export declare function overlayStateOf(input: {
37
66
  readonly visible: boolean;
@@ -23,9 +23,14 @@ export interface ModalProps {
23
23
  */
24
24
  allowMaximize?: boolean;
25
25
  /**
26
- * Gap kept above the modal when it is maximized (any CSS length). The default leaves room for a
27
- * window title bar drawn by the host; pass `'0px'` for a page that has none, so the modal covers
28
- * the whole viewport.
26
+ * This modal's own title bar height (any CSS length) — an override. The height has one home, set
27
+ * ONCE per window: the host sets `--modal-maximize-inset` on each window's root in a stylesheet rule
28
+ * (`:root { … }`; `2.875rem` when it sets none, `'0px'` for a page without a title bar) — not inline:
29
+ * a root's inline custom properties are the appearance another window takes over (the native
30
+ * notification overlay's snapshot). Every modal reads it — the maximized layout (right under the
31
+ * title bar), the normal layout's top gap and height, and the drag bound (`modalTitlebarHeight`) —,
32
+ * as the reference reads one title bar offset (`workbench/browser/parts/editor/modalEditorPart.ts:493-509`,
33
+ * `:671`, `:702`, `:707`). This prop sets it on this modal's overlay only.
29
34
  */
30
35
  maximizeInset?: string | undefined;
31
36
  /**
@@ -33,6 +38,15 @@ export interface ModalProps {
33
38
  * Defaults to true (unless embedded is true or allowDrag is false).
34
39
  */
35
40
  allowDrag?: boolean;
41
+ /**
42
+ * Allow pulling a MAXIMIZED modal off the top by its header: it returns to its size under the pointer and the drag
43
+ * carries on, like a desktop window (it needs `allowDrag` and `allowMaximize`, and no `embedded`). `false` keeps a
44
+ * maximized modal in place, as the reference's modal editor does — no drag while maximized
45
+ * (`workbench/browser/parts/editor/modalEditorPart.ts:456-459`); the Restore button and a double-click on the header
46
+ * still restore it. A host sets it once for every modal of a root — `KitHostProvider`'s `modals` option
47
+ * (`ModalDefaults`); this prop overrides it for one modal. With neither, `true`.
48
+ */
49
+ allowMaximizedDrag?: boolean | undefined;
36
50
  /**
37
51
  * Renders full-bleed (no backdrop, no centering, no `open()` gate) so this
38
52
  * content fills its container 1:1. Used when the modal is popped into its
@@ -23,9 +23,14 @@ export interface ModalProps {
23
23
  */
24
24
  allowMaximize?: boolean;
25
25
  /**
26
- * Gap kept above the modal when it is maximized (any CSS length). The default leaves room for a
27
- * window title bar drawn by the host; pass `'0px'` for a page that has none, so the modal covers
28
- * the whole viewport.
26
+ * This modal's own title bar height (any CSS length) — an override. The height has one home, set
27
+ * ONCE per window: the host sets `--modal-maximize-inset` on each window's root in a stylesheet rule
28
+ * (`:root { … }`; `2.875rem` when it sets none, `'0px'` for a page without a title bar) — not inline:
29
+ * a root's inline custom properties are the appearance another window takes over (the native
30
+ * notification overlay's snapshot). Every modal reads it — the maximized layout (right under the
31
+ * title bar), the normal layout's top gap and height, and the drag bound (`modalTitlebarHeight`) —,
32
+ * as the reference reads one title bar offset (`workbench/browser/parts/editor/modalEditorPart.ts:493-509`,
33
+ * `:671`, `:702`, `:707`). This prop sets it on this modal's overlay only.
29
34
  */
30
35
  maximizeInset?: string | undefined;
31
36
  /**
@@ -33,6 +38,15 @@ export interface ModalProps {
33
38
  * Defaults to true (unless embedded is true or allowDrag is false).
34
39
  */
35
40
  allowDrag?: boolean;
41
+ /**
42
+ * Allow pulling a MAXIMIZED modal off the top by its header: it returns to its size under the pointer and the drag
43
+ * carries on, like a desktop window (it needs `allowDrag` and `allowMaximize`, and no `embedded`). `false` keeps a
44
+ * maximized modal in place, as the reference's modal editor does — no drag while maximized
45
+ * (`workbench/browser/parts/editor/modalEditorPart.ts:456-459`); the Restore button and a double-click on the header
46
+ * still restore it. A host sets it once for every modal of a root — `KitHostProvider`'s `modals` option
47
+ * (`ModalDefaults`); this prop overrides it for one modal. With neither, `true`.
48
+ */
49
+ allowMaximizedDrag?: boolean | undefined;
36
50
  /**
37
51
  * Renders full-bleed (no backdrop, no centering, no `open()` gate) so this
38
52
  * content fills its container 1:1. Used when the modal is popped into its
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-CxYZUJtN.cjs"),r=require("../Modal-CBi7Wd2V.cjs"),O=require("../OverlayScrollArea-BSlaXG1h.cjs"),a=require("../GuidedTour-DUQwdW8n.cjs"),i=require("../createDialogShellFocus-CQ0VNC2g.cjs"),n=require("../nativeTitleHold-B7Ou-W9b.cjs"),p=require("../Input-Brp5EDhg.cjs"),t=require("../anchoredLayout-CBjQ1etD.cjs"),o=require("../overlayStack-eD8AmuwY.cjs"),M=require("../useFloatingDropdown-D5UayoN6.cjs"),T=require("../ownerWindow-BCmJFMbR.cjs"),d=require("../ownerAnimationFrame-T6jf6qYC.cjs"),s=require("../prefersReducedMotion-BQp-Q4UR.cjs"),u=require("../dialogFocusRestore-DP5b1bDo.cjs"),c=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),l=require("../Popover-DXrczbt9.cjs");exports.CommandPalette=e.CommandPalette;exports.ConfirmDialog=e.ConfirmDialog;exports.ConsequenceLine=e.ConsequenceLine;exports.ContextMenu=e.ContextMenu;exports.DesktopContextMenu=e.DesktopContextMenu;exports.Drawer=e.Drawer;exports.DropdownMenu=e.DropdownMenu;exports.FloatingWindow=e.FloatingWindow;exports.InputDialog=e.InputDialog;exports.MenuDisclosure=e.MenuDisclosure;exports.MenuEmpty=e.MenuEmpty;exports.MenuItem=e.MenuItem;exports.MenuList=e.MenuList;exports.MenuSearch=e.MenuSearch;exports.MenuSection=e.MenuSection;exports.MenuSeparator=e.MenuSeparator;exports.NameStep=e.NameStep;exports.OptionList=e.OptionList;exports.PopoverPanel=e.PopoverPanel;exports.SUBMENU_ANCHOR_OVERLAP=e.SUBMENU_ANCHOR_OVERLAP;exports.SUBMENU_ESTIMATED_ROW_HEIGHT=e.SUBMENU_ESTIMATED_ROW_HEIGHT;exports.SUBMENU_ESTIMATED_WIDTH=e.SUBMENU_ESTIMATED_WIDTH;exports.SUBMENU_MIN_ESTIMATED_HEIGHT=e.SUBMENU_MIN_ESTIMATED_HEIGHT;exports.SUBMENU_VIEWPORT_MARGIN=e.SUBMENU_VIEWPORT_MARGIN;exports.SaveDiscardDialog=e.SaveDiscardDialog;exports.SelectedOptions=e.SelectedOptions;exports.StatementPreview=e.StatementPreview;exports.StepFooter=e.StepFooter;exports.Tooltip=e.Tooltip;exports.TooltipHost=e.TooltipHost;exports.closeContextMenu=e.closeContextMenu;exports.computeSubmenuPlacement=e.computeSubmenuPlacement;exports.confirmationLevelOf=e.confirmationLevelOf;exports.createDangerousActionDialog=e.createDangerousActionDialog;exports.createDesktopContextMenuApi=e.createDesktopContextMenuApi;exports.createDialogFocusScope=e.createDialogFocusScope;exports.createOverlayCloseGuard=e.createOverlayCloseGuard;exports.describeConsequence=e.describeConsequence;exports.estimateSubmenuHeight=e.estimateSubmenuHeight;exports.firstFocusableMenuIndex=e.firstFocusableMenuIndex;exports.isDesktopMenuNavigationKey=e.isDesktopMenuNavigationKey;exports.isIrreversible=e.isIrreversible;exports.lastFocusableMenuIndex=e.lastFocusableMenuIndex;exports.menuSurfaceClasses=e.menuSurfaceClasses;exports.nextFocusableMenuIndex=e.nextFocusableMenuIndex;exports.openContextMenu=e.openContextMenu;exports.panelClasses=e.panelClasses;exports.resolveDangerousActionDialogKeyIntent=e.resolveDangerousActionDialogKeyIntent;exports.resolveMenuFocusForKey=e.resolveMenuFocusForKey;exports.tooltip=e.tooltip;exports.ActionPlaceRow=r.ActionPlaceRow;exports.Modal=r.Modal;exports.collectFocusableElements=r.collectFocusableElements;exports.modalTitlebarHeight=r.modalTitlebarHeight;exports.resolveDialogShellKeyIntent=r.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=r.resolveModalFocusTrapTarget;exports.trapTabFocusWithin=r.trapTabFocusWithin;exports.OverlayScrollArea=O.OverlayScrollArea;exports.Disclosure=a.Disclosure;exports.GuidedTour=a.GuidedTour;exports.Panel=a.Panel;exports.PanelSeparator=a.PanelSeparator;exports.positionTourCard=a.positionTourCard;exports.HoverTooltip=i.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=i.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=i.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=i.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=i.TOOLTIP_VIEWPORT_MARGIN;exports.computeTooltipPointerPosition=i.computeTooltipPointerPosition;exports.createDialogShellFocus=i.createDialogShellFocus;exports.COLD_DELAY_MS=n.COLD_DELAY_MS;exports.COOLDOWN_MS=n.COOLDOWN_MS;exports.DEFAULT_MARGIN=n.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=n.DEFAULT_OFFSET;exports.WARM_DELAY_MS=n.WARM_DELAY_MS;exports.computeAnchoredTooltipPosition=n.computeAnchoredTooltipPosition;exports.createTooltipCoordinator=n.createTooltipCoordinator;exports.tooltipCoordinator=n.tooltipCoordinator;exports.OverlayPortal=p.OverlayPortal;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;exports.OVERLAY_DEFAULT_GAP=t.OVERLAY_DEFAULT_GAP;exports.OVERLAY_DEFAULT_MARGIN=t.OVERLAY_DEFAULT_MARGIN;exports.POPOVER_DEFAULT_GAP=t.POPOVER_DEFAULT_GAP;exports.POPOVER_VIEWPORT_MARGIN=t.POPOVER_VIEWPORT_MARGIN;exports.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.layout2d=t.layout2d;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=o.getOverlayDiagnostics;exports.hasOpenLayerIn=o.hasOpenLayerIn;exports.isAnyOverlayOpen=o.isAnyOverlayOpen;exports.isModalOccluded=o.isModalOccluded;exports.isOverlayOverlapping=o.isOverlayOverlapping;exports.notifyOverlayChanged=o.notifyOverlayChanged;exports.notifyOverlayMotionEnd=o.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=o.notifyOverlayMotionStart;exports.onOverlayMotion=o.onOverlayMotion;exports.overlayDepth=o.overlayDepth;exports.readOverlayMutationRevision=o.readOverlayMutationRevision;exports.registerOverlayClose=o.registerOverlayClose;exports.registerOverlayCondition=o.registerOverlayCondition;exports.registerOverlayOpen=o.registerOverlayOpen;exports.useOverlayRegistration=o.useOverlayRegistration;exports.useFloatingDropdown=M.useFloatingDropdown;exports.ownerWindow=T.ownerWindow;exports.requestOwnerAnimationFrame=d.requestOwnerAnimationFrame;exports.modalBackgroundExemption=s.modalBackgroundExemption;exports.neutralizeBackground=s.neutralizeBackground;exports.restoreFocusTo=u.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=u.shouldRestoreFocusOnDialogClose;exports.DesktopContextMenuContext=c.DesktopContextMenuContext;exports.useDesktopContextMenu=c.useDesktopContextMenu;exports.LISTBOX_OPTION_SELECTOR=l.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=l.MENU_ITEM_SELECTOR;exports.Popover=l.Popover;exports.isPopoverNavigationKey=l.isPopoverNavigationKey;exports.resolvePopoverFocusForKey=l.resolvePopoverFocusForKey;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-DAR9VMqY.cjs"),r=require("../Modal-CtrWEnJ7.cjs"),p=require("../OverlayScrollArea-Cr0VAApT.cjs"),a=require("../GuidedTour-DbXeuTc7.cjs"),i=require("../createDialogShellFocus-kzkNSLWS.cjs"),n=require("../nativeTitleHold-B7Ou-W9b.cjs"),M=require("../Input-CHtvL4_4.cjs"),t=require("../anchoredLayout-CBjQ1etD.cjs"),o=require("../overlayStack-eD8AmuwY.cjs"),T=require("../useFloatingDropdown-D5UayoN6.cjs"),d=require("../ownerWindow-BCmJFMbR.cjs"),D=require("../ownerAnimationFrame-T6jf6qYC.cjs"),s=require("../prefersReducedMotion-BQp-Q4UR.cjs"),u=require("../kitHost-u0-mKvEK.cjs"),c=require("../dialogFocusRestore-DP5b1bDo.cjs"),O=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),l=require("../Popover-CLTXG8W0.cjs");exports.CommandPalette=e.CommandPalette;exports.ConfirmDialog=e.ConfirmDialog;exports.ConsequenceLine=e.ConsequenceLine;exports.ContextMenu=e.ContextMenu;exports.DesktopContextMenu=e.DesktopContextMenu;exports.Drawer=e.Drawer;exports.DropdownMenu=e.DropdownMenu;exports.FloatingWindow=e.FloatingWindow;exports.InputDialog=e.InputDialog;exports.MenuDisclosure=e.MenuDisclosure;exports.MenuEmpty=e.MenuEmpty;exports.MenuItem=e.MenuItem;exports.MenuList=e.MenuList;exports.MenuSearch=e.MenuSearch;exports.MenuSection=e.MenuSection;exports.MenuSeparator=e.MenuSeparator;exports.NameStep=e.NameStep;exports.OptionList=e.OptionList;exports.PopoverPanel=e.PopoverPanel;exports.SUBMENU_ANCHOR_OVERLAP=e.SUBMENU_ANCHOR_OVERLAP;exports.SUBMENU_ESTIMATED_ROW_HEIGHT=e.SUBMENU_ESTIMATED_ROW_HEIGHT;exports.SUBMENU_ESTIMATED_WIDTH=e.SUBMENU_ESTIMATED_WIDTH;exports.SUBMENU_MIN_ESTIMATED_HEIGHT=e.SUBMENU_MIN_ESTIMATED_HEIGHT;exports.SUBMENU_VIEWPORT_MARGIN=e.SUBMENU_VIEWPORT_MARGIN;exports.SaveDiscardDialog=e.SaveDiscardDialog;exports.SelectedOptions=e.SelectedOptions;exports.StatementPreview=e.StatementPreview;exports.StepFooter=e.StepFooter;exports.Tooltip=e.Tooltip;exports.TooltipHost=e.TooltipHost;exports.closeContextMenu=e.closeContextMenu;exports.computeSubmenuPlacement=e.computeSubmenuPlacement;exports.confirmationLevelOf=e.confirmationLevelOf;exports.createDangerousActionDialog=e.createDangerousActionDialog;exports.createDesktopContextMenuApi=e.createDesktopContextMenuApi;exports.createDialogFocusScope=e.createDialogFocusScope;exports.createOverlayCloseGuard=e.createOverlayCloseGuard;exports.describeConsequence=e.describeConsequence;exports.estimateSubmenuHeight=e.estimateSubmenuHeight;exports.firstFocusableMenuIndex=e.firstFocusableMenuIndex;exports.isDesktopMenuNavigationKey=e.isDesktopMenuNavigationKey;exports.isIrreversible=e.isIrreversible;exports.lastFocusableMenuIndex=e.lastFocusableMenuIndex;exports.menuSurfaceClasses=e.menuSurfaceClasses;exports.nextFocusableMenuIndex=e.nextFocusableMenuIndex;exports.openContextMenu=e.openContextMenu;exports.panelClasses=e.panelClasses;exports.resolveDangerousActionDialogKeyIntent=e.resolveDangerousActionDialogKeyIntent;exports.resolveMenuFocusForKey=e.resolveMenuFocusForKey;exports.tooltip=e.tooltip;exports.ActionPlaceRow=r.ActionPlaceRow;exports.Modal=r.Modal;exports.collectFocusableElements=r.collectFocusableElements;exports.modalTitlebarHeight=r.modalTitlebarHeight;exports.resolveDialogShellKeyIntent=r.resolveDialogShellKeyIntent;exports.resolveModalFocusTrapTarget=r.resolveModalFocusTrapTarget;exports.trapTabFocusWithin=r.trapTabFocusWithin;exports.OverlayScrollArea=p.OverlayScrollArea;exports.Disclosure=a.Disclosure;exports.GuidedTour=a.GuidedTour;exports.Panel=a.Panel;exports.PanelSeparator=a.PanelSeparator;exports.positionTourCard=a.positionTourCard;exports.HoverTooltip=i.HoverTooltip;exports.TOOLTIP_CURSOR_OFFSET_X=i.TOOLTIP_CURSOR_OFFSET_X;exports.TOOLTIP_CURSOR_OFFSET_Y=i.TOOLTIP_CURSOR_OFFSET_Y;exports.TOOLTIP_MAX_FOOTPRINT_X=i.TOOLTIP_MAX_FOOTPRINT_X;exports.TOOLTIP_VIEWPORT_MARGIN=i.TOOLTIP_VIEWPORT_MARGIN;exports.computeTooltipPointerPosition=i.computeTooltipPointerPosition;exports.createDialogShellFocus=i.createDialogShellFocus;exports.COLD_DELAY_MS=n.COLD_DELAY_MS;exports.COOLDOWN_MS=n.COOLDOWN_MS;exports.DEFAULT_MARGIN=n.DEFAULT_MARGIN;exports.DEFAULT_OFFSET=n.DEFAULT_OFFSET;exports.WARM_DELAY_MS=n.WARM_DELAY_MS;exports.computeAnchoredTooltipPosition=n.computeAnchoredTooltipPosition;exports.createTooltipCoordinator=n.createTooltipCoordinator;exports.tooltipCoordinator=n.tooltipCoordinator;exports.OverlayPortal=M.OverlayPortal;exports.AnchorAlignment=t.AnchorAlignment;exports.AnchorAxisAlignment=t.AnchorAxisAlignment;exports.AnchorPosition=t.AnchorPosition;exports.OVERLAY_DEFAULT_GAP=t.OVERLAY_DEFAULT_GAP;exports.OVERLAY_DEFAULT_MARGIN=t.OVERLAY_DEFAULT_MARGIN;exports.POPOVER_DEFAULT_GAP=t.POPOVER_DEFAULT_GAP;exports.POPOVER_VIEWPORT_MARGIN=t.POPOVER_VIEWPORT_MARGIN;exports.calcFixedWidthDropdownLeft=t.calcFixedWidthDropdownLeft;exports.computeAnchoredPosition=t.computeAnchoredPosition;exports.computeDropdownPosition=t.computeDropdownPosition;exports.computePopoverPosition=t.computePopoverPosition;exports.layout2d=t.layout2d;exports.resolvePopoverSide=t.resolvePopoverSide;exports.getOverlayDiagnostics=o.getOverlayDiagnostics;exports.hasOpenLayerIn=o.hasOpenLayerIn;exports.isAnyOverlayOpen=o.isAnyOverlayOpen;exports.isModalOccluded=o.isModalOccluded;exports.isOverlayOverlapping=o.isOverlayOverlapping;exports.notifyOverlayChanged=o.notifyOverlayChanged;exports.notifyOverlayMotionEnd=o.notifyOverlayMotionEnd;exports.notifyOverlayMotionStart=o.notifyOverlayMotionStart;exports.onOverlayMotion=o.onOverlayMotion;exports.overlayDepth=o.overlayDepth;exports.readOverlayMutationRevision=o.readOverlayMutationRevision;exports.registerOverlayClose=o.registerOverlayClose;exports.registerOverlayCondition=o.registerOverlayCondition;exports.registerOverlayOpen=o.registerOverlayOpen;exports.useOverlayRegistration=o.useOverlayRegistration;exports.useFloatingDropdown=T.useFloatingDropdown;exports.ownerWindow=d.ownerWindow;exports.requestOwnerAnimationFrame=D.requestOwnerAnimationFrame;exports.modalBackgroundExemption=s.modalBackgroundExemption;exports.neutralizeBackground=s.neutralizeBackground;exports.ModalDefaultsProvider=u.ModalDefaultsProvider;exports.useModalDefaults=u.useModalDefaults;exports.restoreFocusTo=c.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=c.shouldRestoreFocusOnDialogClose;exports.DesktopContextMenuContext=O.DesktopContextMenuContext;exports.useDesktopContextMenu=O.useDesktopContextMenu;exports.LISTBOX_OPTION_SELECTOR=l.LISTBOX_OPTION_SELECTOR;exports.MENU_ITEM_SELECTOR=l.MENU_ITEM_SELECTOR;exports.Popover=l.Popover;exports.isPopoverNavigationKey=l.isPopoverNavigationKey;exports.resolvePopoverFocusForKey=l.resolvePopoverFocusForKey;
@@ -26,7 +26,8 @@ export * from './ownerAnimationFrame.cjs';
26
26
  export * from './backgroundInert.cjs';
27
27
  export * from './modalFocusContainment.cjs';
28
28
  export * from './modalFocusTrap.cjs';
29
- export * from './modalViewport.cjs';
29
+ export { modalTitlebarHeight } from './modalViewport.cjs';
30
+ export * from './modalDefaults.cjs';
30
31
  export * from './dialogFocusRestore.cjs';
31
32
  export * from './dialogFocusScope.cjs';
32
33
  export * from './dialogShellKeyIntent.cjs';
@@ -26,7 +26,8 @@ export * from './ownerAnimationFrame.js';
26
26
  export * from './backgroundInert.js';
27
27
  export * from './modalFocusContainment.js';
28
28
  export * from './modalFocusTrap.js';
29
- export * from './modalViewport.js';
29
+ export { modalTitlebarHeight } from './modalViewport.js';
30
+ export * from './modalDefaults.js';
30
31
  export * from './dialogFocusRestore.js';
31
32
  export * from './dialogFocusScope.js';
32
33
  export * from './dialogShellKeyIntent.js';
@@ -1,19 +1,20 @@
1
- import { C as o, a as s, b as t, c as r, D as n, d as i, e as l, F as u, I as p, M as O, f as c, g as M, h as T, i as m, j as d, k as D, N as E, O as _, P as A, S as P, l as v, m as S, n as g, o as I, p as x, q as F, r as C, s as y, T as f, t as R, u as L, v as N, w as h, x as U, y as b, z as G, A as W, B as w, E as H, G as k, H as B, J as V, K, L as X, Q as Y, R as q, U as j, V as z, W as J, X as Q } from "../CommandPalette-DwOp8y1-.js";
2
- import { A as $, M as ee, c as ae, m as oe, r as se, a as te, t as re } from "../Modal-iyY1HUtr.js";
3
- import { O as ie } from "../OverlayScrollArea-c8Za77qs.js";
4
- import { D as ue, G as pe, P as Oe, a as ce, p as Me } from "../GuidedTour-DXMmHn0o.js";
5
- import { H as me, T as de, a as De, c as Ee, d as _e, e as Ae, f as Pe } from "../createDialogShellFocus-DbiQmLgb.js";
6
- import { C as Se, a as ge, D as Ie, b as xe, W as Fe, c as Ce, d as ye, t as fe } from "../nativeTitleHold-A9jUISgQ.js";
7
- import { O as Le } from "../Input-CZi8KEfm.js";
1
+ import { C as o, a as s, b as t, c as r, D as n, d as i, e as l, F as u, I as p, M as O, f as c, g as M, h as T, i as d, j as m, k as D, N as E, O as P, P as _, S as A, l as v, m as S, n as g, o as x, p as I, q as f, r as F, s as C, T as y, t as R, u as L, v as N, w as h, x as U, y as b, z as G, A as W, B as w, E as H, G as k, H as B, J as V, K, L as X, Q as Y, R as q, U as j, V as z, W as J, X as Q } from "../CommandPalette-DlLcdd4o.js";
2
+ import { A as $, M as ee, c as ae, m as oe, r as se, a as te, t as re } from "../Modal-3L6p7Dwt.js";
3
+ import { O as ie } from "../OverlayScrollArea-CrrPFLq9.js";
4
+ import { D as ue, G as pe, P as Oe, a as ce, p as Me } from "../GuidedTour-9rqvNB_m.js";
5
+ import { H as de, T as me, a as De, c as Ee, d as Pe, e as _e, f as Ae } from "../createDialogShellFocus-DI1rUvYf.js";
6
+ import { C as Se, a as ge, D as xe, b as Ie, W as fe, c as Fe, d as Ce, t as ye } from "../nativeTitleHold-A9jUISgQ.js";
7
+ import { O as Le } from "../Input-C3rEQffK.js";
8
8
  import { A as he, a as Ue, b as be, O as Ge, c as We, P as we, d as He, e as ke, f as Be, g as Ve, h as Ke, l as Xe, r as Ye } from "../anchoredLayout-E0mqCWxk.js";
9
9
  import { g as je, h as ze, i as Je, a as Qe, b as Ze, n as $e, c as ea, d as aa, o as oa, e as sa, r as ta, f as ra, j as na, k as ia, u as la } from "../overlayStack-Bj6Lg1Rm.js";
10
10
  import { u as pa } from "../useFloatingDropdown-2Tz_es0W.js";
11
11
  import { o as ca } from "../ownerWindow-9mx_LD47.js";
12
12
  import { r as Ta } from "../ownerAnimationFrame-DzFcMSmn.js";
13
- import { m as da, n as Da } from "../prefersReducedMotion-B2mMn01s.js";
14
- import { r as _a, s as Aa } from "../dialogFocusRestore-BhxVTSiP.js";
15
- import { D as va, u as Sa } from "../DesktopContextMenuContext-DJ3PnqAv.js";
16
- import { L as Ia, M as xa, P as Fa, i as Ca, r as ya } from "../Popover-DVi179wu.js";
13
+ import { m as ma, n as Da } from "../prefersReducedMotion-B2mMn01s.js";
14
+ import { M as Pa, a as _a } from "../kitHost-BMMWpU4w.js";
15
+ import { r as va, s as Sa } from "../dialogFocusRestore-BhxVTSiP.js";
16
+ import { D as xa, u as Ia } from "../DesktopContextMenuContext-DJ3PnqAv.js";
17
+ import { L as Fa, M as Ca, P as ya, i as Ra, r as La } from "../Popover-DkqGvMNy.js";
17
18
  export {
18
19
  $ as ActionPlaceRow,
19
20
  he as AnchorAlignment,
@@ -25,71 +26,72 @@ export {
25
26
  s as ConfirmDialog,
26
27
  t as ConsequenceLine,
27
28
  r as ContextMenu,
28
- Ie as DEFAULT_MARGIN,
29
- xe as DEFAULT_OFFSET,
29
+ xe as DEFAULT_MARGIN,
30
+ Ie as DEFAULT_OFFSET,
30
31
  n as DesktopContextMenu,
31
- va as DesktopContextMenuContext,
32
+ xa as DesktopContextMenuContext,
32
33
  ue as Disclosure,
33
34
  i as Drawer,
34
35
  l as DropdownMenu,
35
36
  u as FloatingWindow,
36
37
  pe as GuidedTour,
37
- me as HoverTooltip,
38
+ de as HoverTooltip,
38
39
  p as InputDialog,
39
- Ia as LISTBOX_OPTION_SELECTOR,
40
- xa as MENU_ITEM_SELECTOR,
40
+ Fa as LISTBOX_OPTION_SELECTOR,
41
+ Ca as MENU_ITEM_SELECTOR,
41
42
  O as MenuDisclosure,
42
43
  c as MenuEmpty,
43
44
  M as MenuItem,
44
45
  T as MenuList,
45
- m as MenuSearch,
46
- d as MenuSection,
46
+ d as MenuSearch,
47
+ m as MenuSection,
47
48
  D as MenuSeparator,
48
49
  ee as Modal,
50
+ Pa as ModalDefaultsProvider,
49
51
  E as NameStep,
50
52
  Ge as OVERLAY_DEFAULT_GAP,
51
53
  We as OVERLAY_DEFAULT_MARGIN,
52
- _ as OptionList,
54
+ P as OptionList,
53
55
  Le as OverlayPortal,
54
56
  ie as OverlayScrollArea,
55
57
  we as POPOVER_DEFAULT_GAP,
56
58
  He as POPOVER_VIEWPORT_MARGIN,
57
59
  Oe as Panel,
58
60
  ce as PanelSeparator,
59
- Fa as Popover,
60
- A as PopoverPanel,
61
- P as SUBMENU_ANCHOR_OVERLAP,
61
+ ya as Popover,
62
+ _ as PopoverPanel,
63
+ A as SUBMENU_ANCHOR_OVERLAP,
62
64
  v as SUBMENU_ESTIMATED_ROW_HEIGHT,
63
65
  S as SUBMENU_ESTIMATED_WIDTH,
64
66
  g as SUBMENU_MIN_ESTIMATED_HEIGHT,
65
- I as SUBMENU_VIEWPORT_MARGIN,
66
- x as SaveDiscardDialog,
67
- F as SelectedOptions,
68
- C as StatementPreview,
69
- y as StepFooter,
70
- de as TOOLTIP_CURSOR_OFFSET_X,
67
+ x as SUBMENU_VIEWPORT_MARGIN,
68
+ I as SaveDiscardDialog,
69
+ f as SelectedOptions,
70
+ F as StatementPreview,
71
+ C as StepFooter,
72
+ me as TOOLTIP_CURSOR_OFFSET_X,
71
73
  De as TOOLTIP_CURSOR_OFFSET_Y,
72
74
  Ee as TOOLTIP_MAX_FOOTPRINT_X,
73
- _e as TOOLTIP_VIEWPORT_MARGIN,
74
- f as Tooltip,
75
+ Pe as TOOLTIP_VIEWPORT_MARGIN,
76
+ y as Tooltip,
75
77
  R as TooltipHost,
76
- Fe as WARM_DELAY_MS,
78
+ fe as WARM_DELAY_MS,
77
79
  ke as calcFixedWidthDropdownLeft,
78
80
  L as closeContextMenu,
79
81
  ae as collectFocusableElements,
80
82
  Be as computeAnchoredPosition,
81
- Ce as computeAnchoredTooltipPosition,
83
+ Fe as computeAnchoredTooltipPosition,
82
84
  Ve as computeDropdownPosition,
83
85
  Ke as computePopoverPosition,
84
86
  N as computeSubmenuPlacement,
85
- Ae as computeTooltipPointerPosition,
87
+ _e as computeTooltipPointerPosition,
86
88
  h as confirmationLevelOf,
87
89
  U as createDangerousActionDialog,
88
90
  b as createDesktopContextMenuApi,
89
91
  G as createDialogFocusScope,
90
- Pe as createDialogShellFocus,
92
+ Ae as createDialogShellFocus,
91
93
  W as createOverlayCloseGuard,
92
- ye as createTooltipCoordinator,
94
+ Ce as createTooltipCoordinator,
93
95
  w as describeConsequence,
94
96
  H as estimateSubmenuHeight,
95
97
  k as firstFocusableMenuIndex,
@@ -100,11 +102,11 @@ export {
100
102
  V as isIrreversible,
101
103
  Qe as isModalOccluded,
102
104
  Ze as isOverlayOverlapping,
103
- Ca as isPopoverNavigationKey,
105
+ Ra as isPopoverNavigationKey,
104
106
  K as lastFocusableMenuIndex,
105
107
  Xe as layout2d,
106
108
  X as menuSurfaceClasses,
107
- da as modalBackgroundExemption,
109
+ ma as modalBackgroundExemption,
108
110
  oe as modalTitlebarHeight,
109
111
  Da as neutralizeBackground,
110
112
  Y as nextFocusableMenuIndex,
@@ -126,14 +128,15 @@ export {
126
128
  se as resolveDialogShellKeyIntent,
127
129
  J as resolveMenuFocusForKey,
128
130
  te as resolveModalFocusTrapTarget,
129
- ya as resolvePopoverFocusForKey,
131
+ La as resolvePopoverFocusForKey,
130
132
  Ye as resolvePopoverSide,
131
- _a as restoreFocusTo,
132
- Aa as shouldRestoreFocusOnDialogClose,
133
+ va as restoreFocusTo,
134
+ Sa as shouldRestoreFocusOnDialogClose,
133
135
  Q as tooltip,
134
- fe as tooltipCoordinator,
136
+ ye as tooltipCoordinator,
135
137
  re as trapTabFocusWithin,
136
- Sa as useDesktopContextMenu,
138
+ Ia as useDesktopContextMenu,
137
139
  pa as useFloatingDropdown,
140
+ _a as useModalDefaults,
138
141
  la as useOverlayRegistration
139
142
  };
@@ -0,0 +1,23 @@
1
+ /**
2
+ * What a host sets ONCE for every `Modal` of a root, instead of on each modal: `KitHostProvider` takes it as its
3
+ * `modals` option (`ModalDefaultsProvider` gives it to a tree without a kit host). A modal's own prop overrides it.
4
+ *
5
+ * Optional, unlike the kit host: a `Modal` is also used on its own, outside any provider, and then keeps the kit's
6
+ * defaults — as a control outside a `FormField` keeps its own ARIA (`forms/formFieldContext.ts`).
7
+ */
8
+ import { type JSX } from 'solid-js';
9
+ export interface ModalDefaults {
10
+ /**
11
+ * Default of `Modal`'s `allowMaximizedDrag`: whether a maximized modal can be pulled off the top by its header.
12
+ * `false` keeps every maximized modal in place, as the reference's modal editor does — no drag while maximized
13
+ * (`workbench/browser/parts/editor/modalEditorPart.ts:456-459`). Unset, the kit's default holds (`true`).
14
+ */
15
+ readonly allowMaximizedDrag?: boolean | undefined;
16
+ }
17
+ /** Gives every `Modal` under it these defaults. */
18
+ export declare function ModalDefaultsProvider(props: {
19
+ readonly value: ModalDefaults;
20
+ readonly children: JSX.Element;
21
+ }): JSX.Element;
22
+ /** The defaults of the calling modal's tree — none outside a provider. Read during the component's setup. */
23
+ export declare function useModalDefaults(): ModalDefaults;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * What a host sets ONCE for every `Modal` of a root, instead of on each modal: `KitHostProvider` takes it as its
3
+ * `modals` option (`ModalDefaultsProvider` gives it to a tree without a kit host). A modal's own prop overrides it.
4
+ *
5
+ * Optional, unlike the kit host: a `Modal` is also used on its own, outside any provider, and then keeps the kit's
6
+ * defaults — as a control outside a `FormField` keeps its own ARIA (`forms/formFieldContext.ts`).
7
+ */
8
+ import { type JSX } from 'solid-js';
9
+ export interface ModalDefaults {
10
+ /**
11
+ * Default of `Modal`'s `allowMaximizedDrag`: whether a maximized modal can be pulled off the top by its header.
12
+ * `false` keeps every maximized modal in place, as the reference's modal editor does — no drag while maximized
13
+ * (`workbench/browser/parts/editor/modalEditorPart.ts:456-459`). Unset, the kit's default holds (`true`).
14
+ */
15
+ readonly allowMaximizedDrag?: boolean | undefined;
16
+ }
17
+ /** Gives every `Modal` under it these defaults. */
18
+ export declare function ModalDefaultsProvider(props: {
19
+ readonly value: ModalDefaults;
20
+ readonly children: JSX.Element;
21
+ }): JSX.Element;
22
+ /** The defaults of the calling modal's tree — none outside a provider. Read during the component's setup. */
23
+ export declare function useModalDefaults(): ModalDefaults;
@@ -1,2 +1,17 @@
1
- /** Match the shell's 2.875rem titlebar in its own document. */
2
- export declare function modalTitlebarHeight(doc: Document): number;
1
+ /** Marks the element `modalTitlebarHeight` measures with — there for one synchronous read, then removed. */
2
+ export declare const MODAL_TITLEBAR_PROBE_ATTRIBUTE = "data-modal-titlebar-probe";
3
+ /**
4
+ * The height of the window's title bar, px — the one value a modal keeps clear above it: `--modal-maximize-inset` as
5
+ * it resolves in `doc`, `2.875rem` when the host sets none. A host that draws a title bar sets that property ONCE on
6
+ * each window's root, in a stylesheet rule (`:root { … }`) — not inline: a root's inline custom properties are the
7
+ * appearance another window takes over (the native notification overlay's snapshot). It inherits into the portalled
8
+ * modal layer, so `Modal`'s maximized and normal layouts, its drag bound and every caller of this function follow the
9
+ * same value — as the reference's modal editor reads one title bar offset for its drag bound, size, maximized padding
10
+ * and position (`workbench/browser/parts/editor/modalEditorPart.ts:493-509`, `:579`, `:593-595`, `:644-645`,
11
+ * `:662-663`, `:671`, `:702`, `:707`).
12
+ *
13
+ * `within` resolves it under an element — a modal's own overlay, where `maximizeInset` overrides it for that modal.
14
+ * The browser resolves it on an element made for the read and removed after it, so any CSS length works (`rem` of
15
+ * that window's root, `calc()`, another custom property).
16
+ */
17
+ export declare function modalTitlebarHeight(doc: Document, within?: Element): number;
@@ -1,2 +1,17 @@
1
- /** Match the shell's 2.875rem titlebar in its own document. */
2
- export declare function modalTitlebarHeight(doc: Document): number;
1
+ /** Marks the element `modalTitlebarHeight` measures with — there for one synchronous read, then removed. */
2
+ export declare const MODAL_TITLEBAR_PROBE_ATTRIBUTE = "data-modal-titlebar-probe";
3
+ /**
4
+ * The height of the window's title bar, px — the one value a modal keeps clear above it: `--modal-maximize-inset` as
5
+ * it resolves in `doc`, `2.875rem` when the host sets none. A host that draws a title bar sets that property ONCE on
6
+ * each window's root, in a stylesheet rule (`:root { … }`) — not inline: a root's inline custom properties are the
7
+ * appearance another window takes over (the native notification overlay's snapshot). It inherits into the portalled
8
+ * modal layer, so `Modal`'s maximized and normal layouts, its drag bound and every caller of this function follow the
9
+ * same value — as the reference's modal editor reads one title bar offset for its drag bound, size, maximized padding
10
+ * and position (`workbench/browser/parts/editor/modalEditorPart.ts:493-509`, `:579`, `:593-595`, `:644-645`,
11
+ * `:662-663`, `:671`, `:702`, `:707`).
12
+ *
13
+ * `within` resolves it under an element — a modal's own overlay, where `maximizeInset` overrides it for that modal.
14
+ * The browser resolves it on an element made for the read and removed after it, so any CSS length works (`rem` of
15
+ * that window's root, `calc()`, another custom property).
16
+ */
17
+ export declare function modalTitlebarHeight(doc: Document, within?: Element): number;