@vokril/ui-solid 0.29.0 → 0.32.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 (433) hide show
  1. package/CHANGELOG.md +121 -0
  2. package/README.md +90 -0
  3. package/dist/AttributeGrid-CNkALmJq.cjs +1 -0
  4. package/dist/AttributeGrid-DnuTPJ_P.js +320 -0
  5. package/dist/Button-CX7mylBT.js +308 -0
  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-CXGUUhP8.js → HostPortal-De65s6CU.js} +1 -1
  16. package/dist/HostPortal-Dm4BmY8M.cjs +1 -0
  17. package/dist/{IconPicker-DYqNi5ud.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-CLnJO6uD.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-CNs_obmZ.cjs +50 -0
  32. package/dist/{StatusBarNotificationBell-7Izs_msz.js → StatusBarNotificationBell-CgsYrrpj.js} +5205 -4850
  33. package/dist/Stepper-DzI-gtKd.js +586 -0
  34. package/dist/Stepper-rpu7lpzB.cjs +1 -0
  35. package/dist/{Textarea-CeAGf08O.cjs → Textarea-D4nYoQ0J.cjs} +1 -1
  36. package/dist/{Textarea-B5QqqKnI.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/notification.d.cts +28 -3
  46. package/dist/_internal/contract/notification.d.ts +28 -3
  47. package/dist/_internal/contract/notificationCatalog.d.cts +2 -0
  48. package/dist/_internal/contract/notificationCatalog.d.ts +2 -0
  49. package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -8
  50. package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -8
  51. package/dist/a11y/index.cjs +1 -1
  52. package/dist/a11y/index.js +1 -1
  53. package/dist/anchoredLayout-CBjQ1etD.cjs +1 -0
  54. package/dist/anchoredLayout-E0mqCWxk.js +233 -0
  55. package/dist/base.css +3 -3
  56. package/dist/charts/index.cjs +1 -1
  57. package/dist/charts/index.js +1 -1
  58. package/dist/context/DesktopContextMenuContext.d.cts +8 -1
  59. package/dist/context/DesktopContextMenuContext.d.ts +8 -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 +229 -228
  66. package/dist/dialogFocusRestore-BhxVTSiP.js +10 -0
  67. package/dist/dialogFocusRestore-DP5b1bDo.cjs +1 -0
  68. package/dist/feedback/index.cjs +1 -1
  69. package/dist/feedback/index.js +4 -4
  70. package/dist/{focusModality-BISb6-yg.cjs → focusModality-D704CJVN.cjs} +1 -1
  71. package/dist/{focusModality-FoLPWF-_.js → focusModality-ROUF6YGR.js} +1 -1
  72. package/dist/forms/Input.d.cts +20 -0
  73. package/dist/forms/Input.d.ts +20 -0
  74. package/dist/forms/InputMessage.d.cts +19 -0
  75. package/dist/forms/InputMessage.d.ts +19 -0
  76. package/dist/forms/index.cjs +1 -1
  77. package/dist/forms/index.js +9 -9
  78. package/dist/grid/index.cjs +1 -1
  79. package/dist/grid/index.js +1 -1
  80. package/dist/host/index.cjs +1 -1
  81. package/dist/host/index.d.cts +1 -0
  82. package/dist/host/index.d.ts +1 -0
  83. package/dist/host/index.js +38 -39
  84. package/dist/host/kitHost.d.cts +8 -0
  85. package/dist/host/kitHost.d.ts +8 -0
  86. package/dist/index.cjs +1 -1
  87. package/dist/index.js +936 -928
  88. package/dist/kitHost-BMMWpU4w.js +47 -0
  89. package/dist/kitHost-u0-mKvEK.cjs +1 -0
  90. package/dist/layout/index.cjs +1 -1
  91. package/dist/layout/index.js +2 -2
  92. package/dist/layout/resizeCarry.d.cts +17 -0
  93. package/dist/layout/resizeCarry.d.ts +17 -0
  94. package/dist/mainRealmDom-BcPuVvcy.cjs +1 -0
  95. package/dist/mainRealmDom-DydRT2Us.js +54 -0
  96. package/dist/nativeTitleHold-A9jUISgQ.js +170 -0
  97. package/dist/nativeTitleHold-B7Ou-W9b.cjs +1 -0
  98. package/dist/navigation/index.cjs +1 -1
  99. package/dist/navigation/index.js +1 -1
  100. package/dist/notificationCatalog-CRERhjp6.js +168 -0
  101. package/dist/notificationCatalog-DqTkd7M6.cjs +1 -0
  102. package/dist/notifications/NotificationItem.d.cts +9 -0
  103. package/dist/notifications/NotificationItem.d.ts +9 -0
  104. package/dist/notifications/NotificationsCenter.d.cts +18 -0
  105. package/dist/notifications/NotificationsCenter.d.ts +18 -0
  106. package/dist/notifications/RunningProgressCards.d.cts +3 -0
  107. package/dist/notifications/RunningProgressCards.d.ts +3 -0
  108. package/dist/notifications/fireNotification.d.cts +35 -16
  109. package/dist/notifications/fireNotification.d.ts +35 -16
  110. package/dist/notifications/holdWhileShown.d.cts +18 -0
  111. package/dist/notifications/holdWhileShown.d.ts +18 -0
  112. package/dist/notifications/index.cjs +1 -1
  113. package/dist/notifications/index.d.cts +1 -0
  114. package/dist/notifications/index.d.ts +1 -0
  115. package/dist/notifications/index.js +55 -52
  116. package/dist/notifications/nativeEngine.d.cts +38 -5
  117. package/dist/notifications/nativeEngine.d.ts +38 -5
  118. package/dist/notifications/notificationEntryList.d.cts +104 -0
  119. package/dist/notifications/notificationEntryList.d.ts +104 -0
  120. package/dist/notifications/notificationService.d.cts +23 -2
  121. package/dist/notifications/notificationService.d.ts +23 -2
  122. package/dist/notifications/toast.d.cts +3 -0
  123. package/dist/notifications/toast.d.ts +3 -0
  124. package/dist/notifications/toastCorner.d.cts +8 -0
  125. package/dist/notifications/toastCorner.d.ts +8 -0
  126. package/dist/notifications/toastFilterPolicy.d.cts +33 -1
  127. package/dist/notifications/toastFilterPolicy.d.ts +33 -1
  128. package/dist/overlay/Modal.d.cts +19 -0
  129. package/dist/overlay/Modal.d.ts +19 -0
  130. package/dist/overlay/backgroundInert.d.cts +6 -2
  131. package/dist/overlay/backgroundInert.d.ts +6 -2
  132. package/dist/overlay/command-palette/CommandPalette.d.cts +12 -0
  133. package/dist/overlay/command-palette/CommandPalette.d.ts +12 -0
  134. package/dist/overlay/index.cjs +1 -1
  135. package/dist/overlay/index.d.cts +2 -1
  136. package/dist/overlay/index.d.ts +2 -1
  137. package/dist/overlay/index.js +80 -75
  138. package/dist/overlay/modalDefaults.d.cts +23 -0
  139. package/dist/overlay/modalDefaults.d.ts +23 -0
  140. package/dist/overlay/modalViewport.d.cts +16 -2
  141. package/dist/overlay/modalViewport.d.ts +16 -2
  142. package/dist/overlay/nativeTitleHold.d.cts +24 -0
  143. package/dist/overlay/nativeTitleHold.d.ts +24 -0
  144. package/dist/ownerAnimationFrame-DzFcMSmn.js +19 -0
  145. package/dist/ownerAnimationFrame-T6jf6qYC.cjs +1 -0
  146. package/dist/pageTourState-BuA-GBYO.cjs +5 -0
  147. package/dist/{pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
  148. package/dist/rowSource-BRGZHclZ.js +1231 -0
  149. package/dist/rowSource-C3zlzAtR.cjs +1 -0
  150. package/dist/server/AttributeGrid-B9j_c2wM.js +281 -0
  151. package/dist/server/AttributeGrid-BALCTvOI.cjs +1 -0
  152. package/dist/server/Button-DHefmmYz.cjs +1 -0
  153. package/dist/server/Button-ft_8RNJj.js +226 -0
  154. package/dist/server/CommandPalette-CHdfYtxs.js +3305 -0
  155. package/dist/server/CommandPalette-D0Prl7by.cjs +1 -0
  156. package/dist/server/CopyButton-CiYcsQcI.js +64 -0
  157. package/dist/server/CopyButton-D2q7tQ0m.cjs +1 -0
  158. package/dist/server/DateRangePicker-C6wZI7No.js +487 -0
  159. package/dist/server/DateRangePicker-CF70G2yr.cjs +9 -0
  160. package/dist/server/GuidedTour-BmDAWNfN.cjs +1 -0
  161. package/dist/server/GuidedTour-DYBhprVK.js +400 -0
  162. package/dist/server/{HostPortal-CXGUUhP8.js → HostPortal-C4xdfRyM.js} +1 -1
  163. package/dist/server/HostPortal-CwyePpDX.cjs +1 -0
  164. package/dist/server/{IconPicker-B4aXspLw.js → IconPicker--Xso9fUf.js} +5 -5
  165. package/dist/server/IconPicker-BTI4cNgf.cjs +1 -0
  166. package/dist/server/Input-UX0Hk53M.cjs +1 -0
  167. package/dist/server/Input-V9Szcw6w.js +249 -0
  168. package/dist/server/Modal-CBnNlaTx.cjs +1 -0
  169. package/dist/server/Modal-D9CjieKK.js +426 -0
  170. package/dist/server/OverlayScrollArea-DuwGRSMm.cjs +1 -0
  171. package/dist/server/OverlayScrollArea-h6G3yk6U.js +66 -0
  172. package/dist/server/{PageSkeleton-DoxlE_bD.js → PageSkeleton-CFs7AdTA.js} +267 -266
  173. package/dist/server/PageSkeleton-D0KOKLsb.cjs +30 -0
  174. package/dist/server/Popover-BBDBIpT6.cjs +1 -0
  175. package/dist/server/Popover-e9JpRh11.js +439 -0
  176. package/dist/server/SearchableSelect-B2ZFnp6i.js +205 -0
  177. package/dist/server/SearchableSelect-BBu5cP6P.cjs +1 -0
  178. package/dist/server/{StatusBarNotificationBell-D8Jt3PXI.js → StatusBarNotificationBell-CJJFE4rf.js} +5043 -4698
  179. package/dist/server/StatusBarNotificationBell-Cxs_bVKX.cjs +49 -0
  180. package/dist/server/Stepper-C04rOZcI.cjs +1 -0
  181. package/dist/server/Stepper-CVAOsf3o.js +381 -0
  182. package/dist/server/{Textarea-BQf2lL59.cjs → Textarea-BG6F8taO.cjs} +1 -1
  183. package/dist/server/{Textarea-BTH48NET.js → Textarea-DM4zpgWo.js} +1 -1
  184. package/dist/server/TimeSeriesChart-kuuqH7we.js +242 -0
  185. package/dist/server/TimeSeriesChart-tWbSF6fJ.cjs +1 -0
  186. package/dist/server/ToggleButton-BdqufQ7G.js +1344 -0
  187. package/dist/server/ToggleButton-Bo24NK3o.cjs +1 -0
  188. package/dist/server/{VpTrash-Dlq8o6Uv.js → VpTrash-CZMWCIpF.js} +84 -70
  189. package/dist/server/VpTrash-DiczWhwm.cjs +1 -0
  190. package/dist/server/a11y/index.cjs +1 -1
  191. package/dist/server/a11y/index.js +1 -1
  192. package/dist/server/charts/index.cjs +1 -1
  193. package/dist/server/charts/index.js +1 -1
  194. package/dist/server/createDialogShellFocus-DvoNWpIu.cjs +1 -0
  195. package/dist/server/createDialogShellFocus-J8wqPlsa.js +370 -0
  196. package/dist/server/{createResizableSidebar-BImbKlLe.js → createResizableSidebar-CIrhLNKW.js} +104 -102
  197. package/dist/server/createResizableSidebar-DcZ2Cnpf.cjs +1 -0
  198. package/dist/server/desktop/index.cjs +1 -1
  199. package/dist/server/desktop/index.js +154 -153
  200. package/dist/server/dialogFocusRestore-BhxVTSiP.js +10 -0
  201. package/dist/server/dialogFocusRestore-DP5b1bDo.cjs +1 -0
  202. package/dist/server/feedback/index.cjs +1 -1
  203. package/dist/server/feedback/index.js +4 -4
  204. package/dist/server/{focusModality-nWNVX3JG.js → focusModality-Bu4Kuwm4.js} +1 -1
  205. package/dist/server/{focusModality-D-nxv8Er.cjs → focusModality-G2i60_7y.cjs} +1 -1
  206. package/dist/server/forms/index.cjs +1 -1
  207. package/dist/server/forms/index.js +9 -9
  208. package/dist/server/grid/index.cjs +1 -1
  209. package/dist/server/grid/index.js +1 -1
  210. package/dist/server/host/index.cjs +1 -1
  211. package/dist/server/host/index.js +38 -39
  212. package/dist/server/{index-UIjsx3oJ.js → index-CPUZyKo7.js} +3604 -3617
  213. package/dist/server/index-CVbkasNJ.cjs +1 -0
  214. package/dist/server/index.cjs +1 -1
  215. package/dist/server/index.js +656 -649
  216. package/dist/server/kitHost-BMMWpU4w.js +47 -0
  217. package/dist/server/kitHost-u0-mKvEK.cjs +1 -0
  218. package/dist/server/layout/index.cjs +1 -1
  219. package/dist/server/layout/index.js +2 -2
  220. package/dist/server/mainRealmDom-BuGEeM_r.cjs +1 -0
  221. package/dist/server/{EmptyState-Csydyy_7.js → mainRealmDom-CzckS_ss.js} +12 -8
  222. package/dist/server/navigation/index.cjs +1 -1
  223. package/dist/server/navigation/index.js +1 -1
  224. package/dist/server/notificationCatalog-CEDltsJS.cjs +1 -0
  225. package/dist/server/notificationCatalog-Cl1dH4aJ.js +122 -0
  226. package/dist/server/notifications/index.cjs +1 -1
  227. package/dist/server/notifications/index.js +55 -52
  228. package/dist/server/overlay/index.cjs +1 -1
  229. package/dist/server/overlay/index.js +72 -68
  230. package/dist/server/pageTourState-BuA-GBYO.cjs +5 -0
  231. package/dist/server/{pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
  232. package/dist/server/rowSource-C1F4l0xZ.cjs +1 -0
  233. package/dist/server/rowSource-CoeHYNsV.js +1123 -0
  234. package/dist/server/tokens/index.cjs +1 -1
  235. package/dist/server/tokens/index.js +29 -26
  236. package/dist/server/tokens/palette/index.cjs +1 -0
  237. package/dist/server/tokens/palette/index.js +31 -0
  238. package/dist/server/tree/index.cjs +1 -1
  239. package/dist/server/tree/index.js +1 -1
  240. package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +11 -10
  241. package/dist/solid/_internal/app/onboarding/pageTourState.js +12 -23
  242. package/dist/solid/charts/TimeSeriesChart.jsx +23 -22
  243. package/dist/solid/desktop/WindowControls.jsx +6 -3
  244. package/dist/solid/feedback/Badge.jsx +12 -19
  245. package/dist/solid/feedback/ErrorBoundary.jsx +18 -14
  246. package/dist/solid/forms/Button.jsx +18 -23
  247. package/dist/solid/forms/Checkbox.jsx +5 -4
  248. package/dist/solid/forms/Combobox.jsx +12 -10
  249. package/dist/solid/forms/CopyButton.jsx +7 -4
  250. package/dist/solid/forms/DatePicker.jsx +12 -7
  251. package/dist/solid/forms/Dropzone.jsx +17 -13
  252. package/dist/solid/forms/FilePickerButton.jsx +5 -4
  253. package/dist/solid/forms/HiddenFileInput.jsx +3 -1
  254. package/dist/solid/forms/Input.jsx +31 -5
  255. package/dist/solid/forms/Input.module.css.js +1 -0
  256. package/dist/solid/forms/InputMessage.jsx +87 -0
  257. package/dist/solid/forms/MultiSearchableSelect.jsx +8 -7
  258. package/dist/solid/forms/NumberInput.jsx +25 -19
  259. package/dist/solid/forms/Picker.jsx +8 -6
  260. package/dist/solid/forms/PressableSurface.jsx +17 -23
  261. package/dist/solid/forms/RadioGroup.jsx +4 -3
  262. package/dist/solid/forms/SearchInput.jsx +4 -3
  263. package/dist/solid/forms/SearchableSelect.jsx +4 -3
  264. package/dist/solid/forms/SegmentedControl.jsx +4 -3
  265. package/dist/solid/forms/TagInput.jsx +22 -16
  266. package/dist/solid/forms/ToggleButton.jsx +4 -3
  267. package/dist/solid/forms/date-range-picker/DateRangePicker.jsx +12 -10
  268. package/dist/solid/grid/Pagination.jsx +7 -3
  269. package/dist/solid/host/kitHost.jsx +5 -1
  270. package/dist/solid/layout/PageHeaderIcon.jsx +11 -9
  271. package/dist/solid/layout/ResizableSplitPane.jsx +4 -4
  272. package/dist/solid/layout/ResizeHandle.jsx +15 -4
  273. package/dist/solid/layout/resizeCarry.js +31 -0
  274. package/dist/solid/navigation/Accordion.jsx +8 -5
  275. package/dist/solid/navigation/Tabs.jsx +11 -8
  276. package/dist/solid/notifications/NotificationHost.jsx +5 -18
  277. package/dist/solid/notifications/NotificationItem.jsx +62 -58
  278. package/dist/solid/notifications/NotificationPanel.jsx +27 -9
  279. package/dist/solid/notifications/NotificationsCenter.jsx +72 -12
  280. package/dist/solid/notifications/RunningProgressCards.jsx +1 -1
  281. package/dist/solid/notifications/StatusBarNotificationBell.jsx +12 -6
  282. package/dist/solid/notifications/catalogAdapter.js +1 -0
  283. package/dist/solid/notifications/createNotificationPreviewRuntime.js +2 -0
  284. package/dist/solid/notifications/fireNotification.js +21 -16
  285. package/dist/solid/notifications/holdWhileShown.js +30 -0
  286. package/dist/solid/notifications/index.js +1 -0
  287. package/dist/solid/notifications/nativeEngine.js +52 -1
  288. package/dist/solid/notifications/notificationEntryList.js +184 -0
  289. package/dist/solid/notifications/notificationService.js +20 -4
  290. package/dist/solid/notifications/toast.js +58 -7
  291. package/dist/solid/notifications/toastCorner.js +3 -0
  292. package/dist/solid/notifications/toastFilterPolicy.js +12 -0
  293. package/dist/solid/overlay/ConfirmDialog.jsx +21 -16
  294. package/dist/solid/overlay/DangerousActionDialogParts.jsx +5 -3
  295. package/dist/solid/overlay/Disclosure.jsx +4 -3
  296. package/dist/solid/overlay/Drawer.jsx +2 -1
  297. package/dist/solid/overlay/DropdownMenu.jsx +6 -4
  298. package/dist/solid/overlay/FloatingWindow.jsx +3 -3
  299. package/dist/solid/overlay/HoverTooltip.jsx +9 -7
  300. package/dist/solid/overlay/Modal.jsx +81 -34
  301. package/dist/solid/overlay/OverlayScrollArea.jsx +5 -3
  302. package/dist/solid/overlay/Tooltip.jsx +5 -4
  303. package/dist/solid/overlay/command-palette/CommandPalette.jsx +11 -11
  304. package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +73 -57
  305. package/dist/solid/overlay/index.js +2 -1
  306. package/dist/solid/overlay/menu/MenuParts.jsx +11 -8
  307. package/dist/solid/overlay/modalDefaults.jsx +10 -0
  308. package/dist/solid/overlay/modalViewport.js +17 -4
  309. package/dist/solid/overlay/nativeTitleHold.js +33 -0
  310. package/dist/solid/overlay/popover/Popover.jsx +17 -11
  311. package/dist/solid/overlay/tooltipDirective.js +3 -11
  312. package/dist/solid/overlay/tour/GuidedTour.jsx +18 -14
  313. package/dist/solid/tokens/index.js +1 -0
  314. package/dist/solid/tokens/palette/index.js +1 -0
  315. package/dist/solid/tokens/palette/paletteContract.js +27 -0
  316. package/dist/solid/tree/TreeRow.jsx +19 -16
  317. package/dist/solid/tree/TreeSurface.jsx +15 -14
  318. package/dist/solid/widgets/SettingsField.jsx +11 -10
  319. package/dist/style.css +4 -3
  320. package/dist/theme.css +3 -2
  321. package/dist/tokens/index.cjs +1 -1
  322. package/dist/tokens/index.d.cts +1 -0
  323. package/dist/tokens/index.d.ts +1 -0
  324. package/dist/tokens/index.js +29 -26
  325. package/dist/tokens/palette/index.cjs +1 -0
  326. package/dist/tokens/palette/index.d.cts +12 -0
  327. package/dist/tokens/palette/index.d.ts +12 -0
  328. package/dist/tokens/palette/index.js +31 -0
  329. package/dist/tokens/palette/paletteContract.d.cts +17 -0
  330. package/dist/tokens/palette/paletteContract.d.ts +17 -0
  331. package/dist/tokens/tokens.css +3 -2
  332. package/dist/tree/index.cjs +1 -1
  333. package/dist/tree/index.js +1 -1
  334. package/dist/ui.css +1 -1
  335. package/package.json +25 -1
  336. package/dist/AttributeGrid-CASILa4u.js +0 -320
  337. package/dist/AttributeGrid-eND8YDby.cjs +0 -1
  338. package/dist/Button-Bb68ymNP.cjs +0 -1
  339. package/dist/Button-D-T0tyGF.js +0 -305
  340. package/dist/CommandPalette-5FQRgPG9.cjs +0 -2
  341. package/dist/CommandPalette-Cj618AOz.js +0 -4017
  342. package/dist/CopyButton-B5gS2ft3.cjs +0 -1
  343. package/dist/CopyButton-g-WSiBDZ.js +0 -63
  344. package/dist/DateRangePicker-CJD9ADgB.js +0 -550
  345. package/dist/DateRangePicker-Frc0HVxp.cjs +0 -9
  346. package/dist/EmptyState-B9TxGJ5v.cjs +0 -1
  347. package/dist/EmptyState-Dph6HU74.js +0 -50
  348. package/dist/GuidedTour-B6q7lYhn.cjs +0 -1
  349. package/dist/GuidedTour-CFCvRJN4.js +0 -483
  350. package/dist/HostPortal-CgJwxt-f.cjs +0 -1
  351. package/dist/IconPicker-CIbJb1ei.cjs +0 -1
  352. package/dist/Input-CZruORyy.cjs +0 -1
  353. package/dist/Input-DkPhsdfk.js +0 -227
  354. package/dist/Modal-CY6ePolt.cjs +0 -1
  355. package/dist/Modal-NzZzHSwb.js +0 -559
  356. package/dist/OverlayScrollArea-BSlaXG1h.cjs +0 -1
  357. package/dist/OverlayScrollArea-c8Za77qs.js +0 -180
  358. package/dist/PageSkeleton-BPbb28-H.cjs +0 -30
  359. package/dist/Popover-CWrR51eG.cjs +0 -1
  360. package/dist/Popover-Cttb6NYT.js +0 -206
  361. package/dist/SearchableSelect-BvCm4enQ.js +0 -327
  362. package/dist/SearchableSelect-CVqdVMOC.cjs +0 -1
  363. package/dist/StatusBarNotificationBell-BJiORN4s.cjs +0 -50
  364. package/dist/Stepper-Ci5JpLbS.cjs +0 -1
  365. package/dist/Stepper-D9i1Xclm.js +0 -583
  366. package/dist/TimeSeriesChart-DOwi2lJs.js +0 -441
  367. package/dist/TimeSeriesChart-huvheefm.cjs +0 -1
  368. package/dist/ToggleButton-BFWh1_o5.cjs +0 -1
  369. package/dist/ToggleButton-CFM8P3JY.js +0 -2137
  370. package/dist/anchoredLayout-Dstwa5OH.cjs +0 -1
  371. package/dist/anchoredLayout-FC-qv8xm.js +0 -250
  372. package/dist/createDialogShellFocus-B4piXDU4.js +0 -282
  373. package/dist/createDialogShellFocus-CJaw9-B9.cjs +0 -1
  374. package/dist/createResizableSidebar-BDUlX9-G.js +0 -472
  375. package/dist/createResizableSidebar-BVJBU2kP.cjs +0 -1
  376. package/dist/dialogFocusRestore--dH59ER2.js +0 -35
  377. package/dist/dialogFocusRestore-CL-ExfAA.cjs +0 -1
  378. package/dist/kitHost-BfJExE1G.cjs +0 -1
  379. package/dist/kitHost-CVAEi9sF.js +0 -23
  380. package/dist/mainRealmDom-C12lr9lm.js +0 -171
  381. package/dist/mainRealmDom-S6teqEr4.cjs +0 -1
  382. package/dist/pageTourState-CrbEU7QW.cjs +0 -5
  383. package/dist/rowSource-D__7o4h0.js +0 -1230
  384. package/dist/rowSource-DiwTu_r8.cjs +0 -1
  385. package/dist/server/AttributeGrid-B7sb3btp.cjs +0 -1
  386. package/dist/server/AttributeGrid-CMi-UtWb.js +0 -281
  387. package/dist/server/Button-0AXWRw9Q.cjs +0 -1
  388. package/dist/server/Button-3yNrnn4P.js +0 -220
  389. package/dist/server/CommandPalette-CozogFlk.js +0 -3265
  390. package/dist/server/CommandPalette-DQK6N98N.cjs +0 -1
  391. package/dist/server/CopyButton-B6xd9Z6j.js +0 -64
  392. package/dist/server/CopyButton-D8IN6Vnd.cjs +0 -1
  393. package/dist/server/DateRangePicker-C35q8BTw.js +0 -484
  394. package/dist/server/DateRangePicker-KLZzyuPJ.cjs +0 -9
  395. package/dist/server/EmptyState-BnAHklc5.cjs +0 -1
  396. package/dist/server/GuidedTour-DfV0yzqh.cjs +0 -1
  397. package/dist/server/GuidedTour-DmLbBttx.js +0 -400
  398. package/dist/server/HostPortal-CgJwxt-f.cjs +0 -1
  399. package/dist/server/IconPicker-B1soopAp.cjs +0 -1
  400. package/dist/server/Input-CjvD8w18.cjs +0 -1
  401. package/dist/server/Input-DaEN2JJd.js +0 -127
  402. package/dist/server/Modal-BheFQLs1.js +0 -415
  403. package/dist/server/Modal-BswxV8Pn.cjs +0 -1
  404. package/dist/server/OverlayScrollArea-221dfKyz.js +0 -65
  405. package/dist/server/OverlayScrollArea-D4e9D9Nd.cjs +0 -1
  406. package/dist/server/PageSkeleton-DBo7hQq-.cjs +0 -30
  407. package/dist/server/Popover-BsxIKBbl.cjs +0 -1
  408. package/dist/server/Popover-Cg28aPUZ.js +0 -439
  409. package/dist/server/SearchableSelect-09ECcDlB.cjs +0 -1
  410. package/dist/server/SearchableSelect-vjhS4c-H.js +0 -205
  411. package/dist/server/StatusBarNotificationBell-LJHLMT9F.cjs +0 -49
  412. package/dist/server/Stepper-DxNrskdq.cjs +0 -1
  413. package/dist/server/Stepper-n5f9r-ye.js +0 -375
  414. package/dist/server/TimeSeriesChart-BQVXUFoj.cjs +0 -1
  415. package/dist/server/TimeSeriesChart-PAb95s6x.js +0 -242
  416. package/dist/server/ToggleButton-FywO2CCI.js +0 -1335
  417. package/dist/server/ToggleButton-TE3Xf2yD.cjs +0 -1
  418. package/dist/server/VpTrash-D49oUUJh.cjs +0 -1
  419. package/dist/server/createDialogShellFocus-BFo8awdj.js +0 -369
  420. package/dist/server/createDialogShellFocus-BiBAZOCI.cjs +0 -1
  421. package/dist/server/createResizableSidebar-GFgZIj-5.cjs +0 -1
  422. package/dist/server/dialogFocusRestore--dH59ER2.js +0 -35
  423. package/dist/server/dialogFocusRestore-CL-ExfAA.cjs +0 -1
  424. package/dist/server/index-2mQPVEDR.cjs +0 -1
  425. package/dist/server/kitHost-BfJExE1G.cjs +0 -1
  426. package/dist/server/kitHost-CVAEi9sF.js +0 -23
  427. package/dist/server/mainRealmDom-DPNaDWtw.js +0 -121
  428. package/dist/server/mainRealmDom-DwZVMPnO.cjs +0 -1
  429. package/dist/server/pageTourState-CrbEU7QW.cjs +0 -5
  430. package/dist/server/rowSource-D-wcDmFU.js +0 -1122
  431. package/dist/server/rowSource-DltiY0o3.cjs +0 -1
  432. package/dist/tooltipCoordinator-BzxEyKhA.js +0 -144
  433. package/dist/tooltipCoordinator-DslqMlsI.cjs +0 -1
@@ -0,0 +1,10 @@
1
+ function s(o, u) {
2
+ return o === !0 && u === !1;
3
+ }
4
+ function e(o) {
5
+ return o !== null && typeof o.focus == "function" ? (o.focus(), !0) : !1;
6
+ }
7
+ export {
8
+ e as r,
9
+ s
10
+ };
@@ -0,0 +1 @@
1
+ "use strict";function u(o,s){return o===!0&&s===!1}function e(o){return o!==null&&typeof o.focus=="function"?(o.focus(),!0):!1}exports.restoreFocusTo=e;exports.shouldRestoreFocusOnDialogClose=u;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../mainRealmDom-S6teqEr4.cjs"),e=require("../PageSkeleton-BPbb28-H.cjs"),t=require("../Button-Bb68ymNP.cjs"),a=require("../Kbd-BDZklpw9.cjs"),o=require("../EmptyState-B9TxGJ5v.cjs");exports.Badge=r.Badge;exports.Progress=r.Progress;exports.Alert=e.Alert;exports.AppErrorBoundary=e.AppErrorBoundary;exports.Avatar=e.Avatar;exports.Chip=e.Chip;exports.CircularProgress=e.CircularProgress;exports.CodeBlock=e.CodeBlock;exports.InlineError=e.InlineError;exports.Loader=e.Loader;exports.PageSkeleton=e.PageSkeleton;exports.RowCapNotice=e.RowCapNotice;exports.Skeleton=e.Skeleton;exports.StatusBadge=e.StatusBadge;exports.StatusDot=e.StatusDot;exports.StatusGate=e.StatusGate;exports.createDeferredBusy=e.createDeferredBusy;exports.createPreference=e.createPreference;exports.guidedInstallFailure=e.guidedInstallFailure;exports.isReadUnavailableKind=e.isReadUnavailableKind;exports.preferenceNotSaved=e.preferenceNotSaved;exports.readFailureText=e.readFailureText;exports.readUnavailability=e.readUnavailability;exports.rowCapNoticeText=e.rowCapNoticeText;exports.statusBadgeTone=e.statusBadgeTone;exports.unavailableMessage=e.unavailableMessage;exports.unavailableText=e.unavailableText;exports.Spinner=t.Spinner;exports.Kbd=a.Kbd;exports.describeChordAriaLabel=a.describeChordAriaLabel;exports.normalizeKeySymbol=a.normalizeKeySymbol;exports.parseShortcut=a.parseShortcut;exports.parseSingleChord=a.parseSingleChord;exports.EmptyState=o.EmptyState;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../notificationCatalog-DqTkd7M6.cjs"),e=require("../PageSkeleton-Cz2bckO4.cjs"),t=require("../Button-lMUW5P3O.cjs"),a=require("../Kbd-BDZklpw9.cjs"),o=require("../mainRealmDom-BcPuVvcy.cjs");exports.Badge=r.Badge;exports.Progress=r.Progress;exports.Alert=e.Alert;exports.AppErrorBoundary=e.AppErrorBoundary;exports.Avatar=e.Avatar;exports.Chip=e.Chip;exports.CircularProgress=e.CircularProgress;exports.CodeBlock=e.CodeBlock;exports.InlineError=e.InlineError;exports.Loader=e.Loader;exports.PageSkeleton=e.PageSkeleton;exports.RowCapNotice=e.RowCapNotice;exports.Skeleton=e.Skeleton;exports.StatusBadge=e.StatusBadge;exports.StatusDot=e.StatusDot;exports.StatusGate=e.StatusGate;exports.createDeferredBusy=e.createDeferredBusy;exports.createPreference=e.createPreference;exports.guidedInstallFailure=e.guidedInstallFailure;exports.isReadUnavailableKind=e.isReadUnavailableKind;exports.preferenceNotSaved=e.preferenceNotSaved;exports.readFailureText=e.readFailureText;exports.readUnavailability=e.readUnavailability;exports.rowCapNoticeText=e.rowCapNoticeText;exports.statusBadgeTone=e.statusBadgeTone;exports.unavailableMessage=e.unavailableMessage;exports.unavailableText=e.unavailableText;exports.Spinner=t.Spinner;exports.Kbd=a.Kbd;exports.describeChordAriaLabel=a.describeChordAriaLabel;exports.normalizeKeySymbol=a.normalizeKeySymbol;exports.parseShortcut=a.parseShortcut;exports.parseSingleChord=a.parseSingleChord;exports.EmptyState=o.EmptyState;
@@ -1,8 +1,8 @@
1
- import { B as s, P as r } from "../mainRealmDom-C12lr9lm.js";
2
- import { A as o, a as l, b as i, C as d, c as n, d as p, I as u, L as S, P as c, R as g, S as b, e as f, f as m, g as x, h as C, i as B, j as v, k as y, p as P, r as h, l as A, m as k, s as E, u as K, n as T } from "../PageSkeleton-CLnJO6uD.js";
3
- import { S as L } from "../Button-D-T0tyGF.js";
1
+ import { B as s, P as r } from "../notificationCatalog-CRERhjp6.js";
2
+ import { A as o, a as l, b as i, C as d, c as n, d as p, I as u, L as S, P as c, R as g, S as b, e as f, f as m, g as x, h as C, i as B, j as v, k as y, p as P, r as h, l as A, m as k, s as E, u as K, n as T } from "../PageSkeleton-BRuqaDzr.js";
3
+ import { S as L } from "../Button-CX7mylBT.js";
4
4
  import { K as R, d as w, n as D, p as F, a as U } from "../Kbd-DF6Tvp8V.js";
5
- import { E as z } from "../EmptyState-Dph6HU74.js";
5
+ import { E as z } from "../mainRealmDom-DydRT2Us.js";
6
6
  export {
7
7
  o as Alert,
8
8
  l as AppErrorBoundary,
@@ -1 +1 @@
1
- "use strict";const l=require("solid-js/web"),y=require("solid-js"),A=require("./kitHost-BfJExE1G.cjs"),E=require("./prefersReducedMotion-BQp-Q4UR.cjs"),w=require("./keys-GMxY2wcl.cjs"),x="vk_announcerRoot_MEbhX",M="vk_srOnly_qR-Nx",g={announcerRoot:x,srOnly:M};var C=l.template("<div><div role=status aria-live=polite aria-atomic=true></div><div role=alert aria-live=assertive aria-atomic=true>");const D=e=>{let o;const[t,r]=y.createSignal(""),[d,f]=y.createSignal(""),{announcer:u,displayOwner:c}=A.useKitHost();return y.onMount(()=>{const a=o.ownerDocument.defaultView;if(!a)return;const s=c.register(a);let i;y.createEffect(()=>{s.ownsDisplay()||(clearTimeout(i),i=void 0,r(""),f(""))});const v=u.onDidAnnounce(n=>{if(s.ownsDisplay())if(n.politeness==="assertive")clearTimeout(i),i=void 0,f(n.message);else{const p=e.debounceMs??50;p>0?(clearTimeout(i),i=setTimeout(()=>{s.ownsDisplay()&&r(n.message)},p)):r(n.message)}}),m=u.onDidClear(n=>{(n==="polite"||n==="all")&&(clearTimeout(i),i=void 0,r("")),(n==="assertive"||n==="all")&&f("")});y.onCleanup(()=>{clearTimeout(i),v.dispose(),m.dispose(),s.dispose()})}),(()=>{var a=C(),s=a.firstChild,i=s.nextSibling,v=o;return typeof v=="function"?l.use(v,a):o=a,l.spread(a,l.mergeProps(()=>E.modalBackgroundExemption("live-region"),{get class(){return g.announcerRoot}}),!1,!0),l.insert(s,t),l.insert(i,d),l.effect(m=>{var n=g.srOnly,p=g.srOnly;return n!==m.e&&l.className(s,m.e=n),p!==m.t&&l.className(i,m.t=p),m},{e:void 0,t:void 0}),a})()};function k(e,o,t){return o!==e?"none":t==="asc"?"ascending":"descending"}function I(e){let o="",t=null;const r=()=>{o="",t&&(clearTimeout(t),t=null)};return{push(d){return o+=d,t&&clearTimeout(t),t=setTimeout(r,e.timeoutMs),o},reset:r,dispose:r}}function b(e,o,t){return`${e}-cell-${o}-${t}`}function _(e){const{gridId:o,label:t,cursor:r,startRowIndex:d}=e;return{"aria-label":t,"aria-activedescendant":r===null?void 0:b(o,d+r.row,r.col)}}const T=new Set;function h(e){if(T.has(e))return()=>{};T.add(e);const o=e.document,t=u=>{o.documentElement.getAttribute("data-focus-modality")!==u&&o.documentElement.setAttribute("data-focus-modality",u)};t("pointer");const r=()=>{t("pointer")},d=()=>{t("pointer")},f=u=>{var n;if(["Shift","Control","Alt","Meta"].includes(u.key))return;const c=u.target,a=(n=c==null?void 0:c.tagName)==null?void 0:n.toUpperCase(),s=a==="INPUT",i=s?(c.type||"").toLowerCase():"",v=s&&["checkbox","radio","range","button","submit","reset","file","color","image"].includes(i);(s&&!v||a==="TEXTAREA"||c!=null&&c.isContentEditable)&&!w.isKey(u,"Tab")||t("keyboard")};return e.addEventListener("pointerdown",r,{capture:!0,passive:!0}),e.addEventListener("mousedown",d,{capture:!0,passive:!0}),e.addEventListener("keydown",f,{capture:!0,passive:!0}),()=>{T.delete(e),e.removeEventListener("pointerdown",r,{capture:!0}),e.removeEventListener("mousedown",d,{capture:!0}),e.removeEventListener("keydown",f,{capture:!0})}}function R(){T.clear(),typeof document<"u"&&document.documentElement.removeAttribute("data-focus-modality")}exports.AriaAnnouncer=D;exports._resetFocusModalityForTests=R;exports.buildGridContainerAria=_;exports.columnAriaSort=k;exports.createTypeahead=I;exports.gridCellDomId=b;exports.initFocusModality=h;
1
+ "use strict";const l=require("solid-js/web"),y=require("solid-js"),A=require("./kitHost-u0-mKvEK.cjs"),E=require("./prefersReducedMotion-BQp-Q4UR.cjs"),w=require("./keys-GMxY2wcl.cjs"),x="vk_announcerRoot_MEbhX",M="vk_srOnly_qR-Nx",g={announcerRoot:x,srOnly:M};var C=l.template("<div><div role=status aria-live=polite aria-atomic=true></div><div role=alert aria-live=assertive aria-atomic=true>");const D=e=>{let o;const[t,r]=y.createSignal(""),[d,f]=y.createSignal(""),{announcer:u,displayOwner:c}=A.useKitHost();return y.onMount(()=>{const a=o.ownerDocument.defaultView;if(!a)return;const s=c.register(a);let i;y.createEffect(()=>{s.ownsDisplay()||(clearTimeout(i),i=void 0,r(""),f(""))});const v=u.onDidAnnounce(n=>{if(s.ownsDisplay())if(n.politeness==="assertive")clearTimeout(i),i=void 0,f(n.message);else{const p=e.debounceMs??50;p>0?(clearTimeout(i),i=setTimeout(()=>{s.ownsDisplay()&&r(n.message)},p)):r(n.message)}}),m=u.onDidClear(n=>{(n==="polite"||n==="all")&&(clearTimeout(i),i=void 0,r("")),(n==="assertive"||n==="all")&&f("")});y.onCleanup(()=>{clearTimeout(i),v.dispose(),m.dispose(),s.dispose()})}),(()=>{var a=C(),s=a.firstChild,i=s.nextSibling,v=o;return typeof v=="function"?l.use(v,a):o=a,l.spread(a,l.mergeProps(()=>E.modalBackgroundExemption("live-region"),{get class(){return g.announcerRoot}}),!1,!0),l.insert(s,t),l.insert(i,d),l.effect(m=>{var n=g.srOnly,p=g.srOnly;return n!==m.e&&l.className(s,m.e=n),p!==m.t&&l.className(i,m.t=p),m},{e:void 0,t:void 0}),a})()};function k(e,o,t){return o!==e?"none":t==="asc"?"ascending":"descending"}function I(e){let o="",t=null;const r=()=>{o="",t&&(clearTimeout(t),t=null)};return{push(d){return o+=d,t&&clearTimeout(t),t=setTimeout(r,e.timeoutMs),o},reset:r,dispose:r}}function b(e,o,t){return`${e}-cell-${o}-${t}`}function _(e){const{gridId:o,label:t,cursor:r,startRowIndex:d}=e;return{"aria-label":t,"aria-activedescendant":r===null?void 0:b(o,d+r.row,r.col)}}const T=new Set;function h(e){if(T.has(e))return()=>{};T.add(e);const o=e.document,t=u=>{o.documentElement.getAttribute("data-focus-modality")!==u&&o.documentElement.setAttribute("data-focus-modality",u)};t("pointer");const r=()=>{t("pointer")},d=()=>{t("pointer")},f=u=>{var n;if(["Shift","Control","Alt","Meta"].includes(u.key))return;const c=u.target,a=(n=c==null?void 0:c.tagName)==null?void 0:n.toUpperCase(),s=a==="INPUT",i=s?(c.type||"").toLowerCase():"",v=s&&["checkbox","radio","range","button","submit","reset","file","color","image"].includes(i);(s&&!v||a==="TEXTAREA"||c!=null&&c.isContentEditable)&&!w.isKey(u,"Tab")||t("keyboard")};return e.addEventListener("pointerdown",r,{capture:!0,passive:!0}),e.addEventListener("mousedown",d,{capture:!0,passive:!0}),e.addEventListener("keydown",f,{capture:!0,passive:!0}),()=>{T.delete(e),e.removeEventListener("pointerdown",r,{capture:!0}),e.removeEventListener("mousedown",d,{capture:!0}),e.removeEventListener("keydown",f,{capture:!0})}}function R(){T.clear(),typeof document<"u"&&document.documentElement.removeAttribute("data-focus-modality")}exports.AriaAnnouncer=D;exports._resetFocusModalityForTests=R;exports.buildGridContainerAria=_;exports.columnAriaSort=k;exports.createTypeahead=I;exports.gridCellDomId=b;exports.initFocusModality=h;
@@ -1,6 +1,6 @@
1
1
  import { use as E, spread as x, mergeProps as A, insert as T, effect as w, className as g, template as D } from "solid-js/web";
2
2
  import { createSignal as b, onMount as C, createEffect as M, onCleanup as _ } from "solid-js";
3
- import { u as k } from "./kitHost-CVAEi9sF.js";
3
+ import { u as k } from "./kitHost-BMMWpU4w.js";
4
4
  import { m as I } from "./prefersReducedMotion-B2mMn01s.js";
5
5
  import { i as h } from "./keys-B2nlkpqc.js";
6
6
  const L = "vk_announcerRoot_MEbhX", R = "vk_srOnly_qR-Nx", y = {
@@ -1,5 +1,12 @@
1
1
  import { type Component, type JSX } from 'solid-js';
2
2
  export type InputSize = 'sm' | 'md' | 'lg';
3
+ /** How a message bound to an input weighs: the reference input box's message types. */
4
+ export type InputMessageTone = 'error' | 'warning' | 'info';
5
+ /** A message bound to an input — a validation's verdict on what is typed. */
6
+ export interface InputMessage {
7
+ readonly tone: InputMessageTone;
8
+ readonly text: string;
9
+ }
3
10
  export interface InputProps extends Omit<JSX.InputHTMLAttributes<HTMLInputElement>, 'size' | 'class'> {
4
11
  /** Visual size; defaults to `md`. */
5
12
  size?: InputSize;
@@ -14,6 +21,19 @@ export interface InputProps extends Omit<JSX.InputHTMLAttributes<HTMLInputElemen
14
21
  borderless?: boolean;
15
22
  /** Extra class names appended after the base styling. */
16
23
  class?: string | undefined;
24
+ /**
25
+ * A message bound to the input, as the reference's input box shows its validation message: drawn under the input
26
+ * while the input has the focus, floating over what lies below (a tree's rows, a form's next field) and taking no
27
+ * room; the input's description (`aria-describedby`), which the focus reads; announced when it appears or changes
28
+ * while the input has the focus, its tone first ("Error: …") — an error assertively, a warning or an info
29
+ * politely —; and its tone colours the input's edge (`base/browser/ui/inputbox/inputBox.ts:417-436`, `:538-548`).
30
+ * An error also marks the input invalid (`aria-invalid`, `inputBox.ts:455-468`). A message without text shows
31
+ * nothing. Drawing a message needs the kit host (`KitHostProvider`), whose announcer reads it: an input with no
32
+ * provider above it renders, and throws a `BugIndicatingError` when its first message with text is drawn — while
33
+ * it renders when it is created with one, otherwise in the update that gives it one (an error boundary above it
34
+ * catches it).
35
+ */
36
+ message?: InputMessage | undefined;
17
37
  }
18
38
  /**
19
39
  * App-wide single-line text input. Wraps a native `<input>` with the design
@@ -1,5 +1,12 @@
1
1
  import { type Component, type JSX } from 'solid-js';
2
2
  export type InputSize = 'sm' | 'md' | 'lg';
3
+ /** How a message bound to an input weighs: the reference input box's message types. */
4
+ export type InputMessageTone = 'error' | 'warning' | 'info';
5
+ /** A message bound to an input — a validation's verdict on what is typed. */
6
+ export interface InputMessage {
7
+ readonly tone: InputMessageTone;
8
+ readonly text: string;
9
+ }
3
10
  export interface InputProps extends Omit<JSX.InputHTMLAttributes<HTMLInputElement>, 'size' | 'class'> {
4
11
  /** Visual size; defaults to `md`. */
5
12
  size?: InputSize;
@@ -14,6 +21,19 @@ export interface InputProps extends Omit<JSX.InputHTMLAttributes<HTMLInputElemen
14
21
  borderless?: boolean;
15
22
  /** Extra class names appended after the base styling. */
16
23
  class?: string | undefined;
24
+ /**
25
+ * A message bound to the input, as the reference's input box shows its validation message: drawn under the input
26
+ * while the input has the focus, floating over what lies below (a tree's rows, a form's next field) and taking no
27
+ * room; the input's description (`aria-describedby`), which the focus reads; announced when it appears or changes
28
+ * while the input has the focus, its tone first ("Error: …") — an error assertively, a warning or an info
29
+ * politely —; and its tone colours the input's edge (`base/browser/ui/inputbox/inputBox.ts:417-436`, `:538-548`).
30
+ * An error also marks the input invalid (`aria-invalid`, `inputBox.ts:455-468`). A message without text shows
31
+ * nothing. Drawing a message needs the kit host (`KitHostProvider`), whose announcer reads it: an input with no
32
+ * provider above it renders, and throws a `BugIndicatingError` when its first message with text is drawn — while
33
+ * it renders when it is created with one, otherwise in the update that gives it one (an error boundary above it
34
+ * catches it).
35
+ */
36
+ message?: InputMessage | undefined;
17
37
  }
18
38
  /**
19
39
  * App-wide single-line text input. Wraps a native `<input>` with the design
@@ -0,0 +1,19 @@
1
+ /**
2
+ * THE MESSAGE BOUND TO AN INPUT (`InputProps.message`) — the reference's input box message: a validation's verdict on
3
+ * what is typed, drawn under the input while the input has the focus, in a view that floats over what lies below and
4
+ * takes no room — a context view anchored to the input and as wide as it (`base/browser/ui/inputbox/inputBox.ts:
5
+ * 238-251`, `:491-536`), laid out like one, below the input or above it where there is no room
6
+ * (`base/browser/ui/contextview/contextview.ts:344-351`) — and announced when it appears or changes while the input
7
+ * has the focus, its tone first (`inputBox.ts:417-436`, `:538-548`).
8
+ *
9
+ * The element is in the input's document — once the input is attached to it — as long as the input has a message,
10
+ * hidden while the input does not have the focus, so the input's description (`aria-describedby`) resolves.
11
+ */
12
+ import { type JSX } from 'solid-js';
13
+ import type { InputMessage } from './Input.cjs';
14
+ export interface InputMessageViewProps {
15
+ readonly id: string;
16
+ readonly message: InputMessage;
17
+ readonly input: HTMLInputElement;
18
+ }
19
+ export declare function InputMessageView(props: InputMessageViewProps): JSX.Element;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * THE MESSAGE BOUND TO AN INPUT (`InputProps.message`) — the reference's input box message: a validation's verdict on
3
+ * what is typed, drawn under the input while the input has the focus, in a view that floats over what lies below and
4
+ * takes no room — a context view anchored to the input and as wide as it (`base/browser/ui/inputbox/inputBox.ts:
5
+ * 238-251`, `:491-536`), laid out like one, below the input or above it where there is no room
6
+ * (`base/browser/ui/contextview/contextview.ts:344-351`) — and announced when it appears or changes while the input
7
+ * has the focus, its tone first (`inputBox.ts:417-436`, `:538-548`).
8
+ *
9
+ * The element is in the input's document — once the input is attached to it — as long as the input has a message,
10
+ * hidden while the input does not have the focus, so the input's description (`aria-describedby`) resolves.
11
+ */
12
+ import { type JSX } from 'solid-js';
13
+ import type { InputMessage } from './Input.js';
14
+ export interface InputMessageViewProps {
15
+ readonly id: string;
16
+ readonly message: InputMessage;
17
+ readonly input: HTMLInputElement;
18
+ }
19
+ export declare function InputMessageView(props: InputMessageViewProps): JSX.Element;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../Button-Bb68ymNP.cjs"),e=require("../ToggleButton-BFWh1_o5.cjs"),r=require("../Input-CZruORyy.cjs"),a=require("../createDialogShellFocus-CJaw9-B9.cjs"),l=require("../Textarea-CeAGf08O.cjs"),n=require("../CopyButton-B5gS2ft3.cjs"),t=require("../SearchableSelect-CVqdVMOC.cjs"),c=require("../IconPicker-CIbJb1ei.cjs"),o=require("../DateRangePicker-Frc0HVxp.cjs");exports.Button=i.Button;exports.ButtonGroup=e.ButtonGroup;exports.Combobox=e.Combobox;exports.DatePicker=e.DatePicker;exports.DateTimePicker=e.DateTimePicker;exports.Dropzone=e.Dropzone;exports.FilePickerButton=e.FilePickerButton;exports.FormField=e.FormField;exports.HiddenFileInput=e.HiddenFileInput;exports.MultiSearchableSelect=e.MultiSearchableSelect;exports.NumberInput=e.NumberInput;exports.PasswordInput=e.PasswordInput;exports.Picker=e.Picker;exports.RadioGroup=e.RadioGroup;exports.SearchField=e.SearchInput;exports.SearchInput=e.SearchInput;exports.SegmentedControl=e.SegmentedControl;exports.Slider=e.Slider;exports.SplitButton=e.SplitButton;exports.TagInput=e.TagInput;exports.Toggle=e.Toggle;exports.ToggleButton=e.ToggleButton;exports.clampToRange=e.clampToRange;exports.evaluatePassword=e.evaluatePassword;exports.formatFileSize=e.formatFileSize;exports.isFileAccepted=e.isFileAccepted;exports.nextOptionIndex=e.nextOptionIndex;exports.parseNumericInput=e.parseNumericInput;exports.FormFieldAriaProvider=r.FormFieldAriaProvider;exports.Input=r.Input;exports.PressableSurface=r.PressableSurface;exports.nativeControlLabelledBy=r.nativeControlLabelledBy;exports.useFormFieldAria=r.useFormFieldAria;exports.Checkbox=a.Checkbox;exports.buildSelectionItemClass=a.buildSelectionItemClass;exports.Textarea=l.Textarea;exports.CopyButton=n.CopyButton;exports.LISTBOX_NAVIGATION_KEYS=t.LISTBOX_NAVIGATION_KEYS;exports.SearchableSelect=t.SearchableSelect;exports.clampHighlightToOptions=t.clampHighlightToOptions;exports.firstSelectableIndex=t.firstSelectableIndex;exports.lastSelectableIndex=t.lastSelectableIndex;exports.nextSelectableIndex=t.nextSelectableIndex;exports.resolveHighlightForKey=t.resolveHighlightForKey;exports.IconPicker=c.IconPicker;exports.DateRangePicker=o.DateRangePicker;exports.endOfDay=o.endOfDay;exports.pickDayState=o.pickDayState;exports.startOfDay=o.startOfDay;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../Button-lMUW5P3O.cjs"),e=require("../ToggleButton-BMH1A-IX.cjs"),r=require("../Input-CHtvL4_4.cjs"),a=require("../createDialogShellFocus-kzkNSLWS.cjs"),l=require("../Textarea-D4nYoQ0J.cjs"),n=require("../CopyButton-Dnd8_2Lj.cjs"),t=require("../SearchableSelect-C-lV1vSv.cjs"),c=require("../IconPicker-D-GU1mD3.cjs"),o=require("../DateRangePicker-BlJWtJBA.cjs");exports.Button=i.Button;exports.ButtonGroup=e.ButtonGroup;exports.Combobox=e.Combobox;exports.DatePicker=e.DatePicker;exports.DateTimePicker=e.DateTimePicker;exports.Dropzone=e.Dropzone;exports.FilePickerButton=e.FilePickerButton;exports.FormField=e.FormField;exports.HiddenFileInput=e.HiddenFileInput;exports.MultiSearchableSelect=e.MultiSearchableSelect;exports.NumberInput=e.NumberInput;exports.PasswordInput=e.PasswordInput;exports.Picker=e.Picker;exports.RadioGroup=e.RadioGroup;exports.SearchField=e.SearchInput;exports.SearchInput=e.SearchInput;exports.SegmentedControl=e.SegmentedControl;exports.Slider=e.Slider;exports.SplitButton=e.SplitButton;exports.TagInput=e.TagInput;exports.Toggle=e.Toggle;exports.ToggleButton=e.ToggleButton;exports.clampToRange=e.clampToRange;exports.evaluatePassword=e.evaluatePassword;exports.formatFileSize=e.formatFileSize;exports.isFileAccepted=e.isFileAccepted;exports.nextOptionIndex=e.nextOptionIndex;exports.parseNumericInput=e.parseNumericInput;exports.FormFieldAriaProvider=r.FormFieldAriaProvider;exports.Input=r.Input;exports.PressableSurface=r.PressableSurface;exports.nativeControlLabelledBy=r.nativeControlLabelledBy;exports.useFormFieldAria=r.useFormFieldAria;exports.Checkbox=a.Checkbox;exports.buildSelectionItemClass=a.buildSelectionItemClass;exports.Textarea=l.Textarea;exports.CopyButton=n.CopyButton;exports.LISTBOX_NAVIGATION_KEYS=t.LISTBOX_NAVIGATION_KEYS;exports.SearchableSelect=t.SearchableSelect;exports.clampHighlightToOptions=t.clampHighlightToOptions;exports.firstSelectableIndex=t.firstSelectableIndex;exports.lastSelectableIndex=t.lastSelectableIndex;exports.nextSelectableIndex=t.nextSelectableIndex;exports.resolveHighlightForKey=t.resolveHighlightForKey;exports.IconPicker=c.IconPicker;exports.DateRangePicker=o.DateRangePicker;exports.endOfDay=o.endOfDay;exports.pickDayState=o.pickDayState;exports.startOfDay=o.startOfDay;
@@ -1,12 +1,12 @@
1
- import { B as s } from "../Button-D-T0tyGF.js";
2
- import { B as o, C as r, D as l, a as i, b as n, F as p, c, H as u, M as m, N as d, P as S, d as x, R as I, S as f, S as b, e as F, f as g, g as P, T, h, i as B, j as k, k as C, l as D, m as y, n as O, p as A } from "../ToggleButton-CFM8P3JY.js";
3
- import { F as v, I as H, P as R, n as G, u as L } from "../Input-DkPhsdfk.js";
4
- import { C as z, b as K } from "../createDialogShellFocus-B4piXDU4.js";
5
- import { T as _ } from "../Textarea-B5QqqKnI.js";
6
- import { C as E } from "../CopyButton-g-WSiBDZ.js";
7
- import { L as X, S as Y, c as q, f as J, l as Q, n as U, r as W } from "../SearchableSelect-BvCm4enQ.js";
8
- import { I as $ } from "../IconPicker-DYqNi5ud.js";
9
- import { D as ae, e as se, p as te, s as oe } from "../DateRangePicker-CJD9ADgB.js";
1
+ import { B as s } from "../Button-CX7mylBT.js";
2
+ import { B as o, C as r, D as l, a as i, b as n, F as p, c, H as u, M as m, N as d, P as S, d as x, R as I, S as f, S as b, e as F, f as g, g as P, T, h, i as B, j as k, k as C, l as D, m as y, n as O, p as A } from "../ToggleButton-B-hBpdzk.js";
3
+ import { F as v, I as H, P as R, n as G, u as L } from "../Input-C3rEQffK.js";
4
+ import { C as z, b as K } from "../createDialogShellFocus-DI1rUvYf.js";
5
+ import { T as _ } from "../Textarea-DOzZCc-O.js";
6
+ import { C as E } from "../CopyButton-BVvv5M8g.js";
7
+ import { L as X, S as Y, c as q, f as J, l as Q, n as U, r as W } from "../SearchableSelect-Du12kcI9.js";
8
+ import { I as $ } from "../IconPicker-CsYW8CXe.js";
9
+ import { D as ae, e as se, p as te, s as oe } from "../DateRangePicker-CHmUU4PA.js";
10
10
  export {
11
11
  s as Button,
12
12
  o as ButtonGroup,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../AttributeGrid-eND8YDby.cjs");exports.AttributeGrid=e.AttributeGrid;exports.Pagination=e.Pagination;exports.ToolbarSearchRow=e.ToolbarSearchRow;exports.ToolbarSearchToggle=e.ToolbarSearchToggle;exports.pageSizeOptionLabel=e.pageSizeOptionLabel;exports.resultTabToolbarClasses=e.resultTabToolbarClasses;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../AttributeGrid-CNkALmJq.cjs");exports.AttributeGrid=e.AttributeGrid;exports.Pagination=e.Pagination;exports.ToolbarSearchRow=e.ToolbarSearchRow;exports.ToolbarSearchToggle=e.ToolbarSearchToggle;exports.pageSizeOptionLabel=e.pageSizeOptionLabel;exports.resultTabToolbarClasses=e.resultTabToolbarClasses;
@@ -1,4 +1,4 @@
1
- import { A as r, P as e, T as s, a as l, p as t, r as b } from "../AttributeGrid-CASILa4u.js";
1
+ import { A as r, P as e, T as s, a as l, p as t, r as b } from "../AttributeGrid-DnuTPJ_P.js";
2
2
  export {
3
3
  r as AttributeGrid,
4
4
  e as Pagination,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../kitHost-BfJExE1G.cjs"),o=require("../window-_BfSgFGO.cjs"),g=require("../i18n-D3s-a2a0.cjs"),e=require("../pageTourState-CrbEU7QW.cjs"),i=require("../errorHandler-DoDAPpv2.cjs"),r=require("../electronBridge-cT0xww92.cjs"),c=require("../actions-DtaFGwh2.cjs"),a=require("../stateDbStore-CThsVch-.cjs"),t=require("../builtins-DM7FDxEt.cjs"),d=require("../useListCommands-Dnm4ktP1.cjs"),s=require("../HostWindowContext-_VZCt7xE.cjs");exports.KitHostProvider=n.KitHostProvider;exports.useKitHost=n.useKitHost;exports.getActiveWindow=o.getActiveWindow;exports.getMainWindow=o.getMainWindow;exports.getWindow=o.getWindow;exports.provideHostWindow=o.provideHostWindow;exports.provideHostTranslator=g.provideHostTranslator;exports.DEFAULT_LOG_LEVEL=e.DEFAULT_LOG_LEVEL;exports.LogLevel=e.LogLevel;exports.MenuFavoritesService=e.MenuFavoritesService;exports.PageTourService=e.PageTourService;exports.TOUR_STATUSES=e.TOUR_STATUSES;exports.attachedErrorActions=e.attachedErrorActions;exports.canLog=e.canLog;exports.canonicalTourPageId=e.canonicalTourPageId;exports.createConsoleLogger=e.createConsoleLogger;exports.createPanelCommandRegistry=e.createPanelCommandRegistry;exports.messageErrorPresenter=e.messageErrorPresenter;exports.withErrorActions=e.withErrorActions;exports.provideBestEffortSink=i.provideBestEffortSink;exports.provideHostBreadcrumbs=i.provideHostBreadcrumbs;exports.provideHostErrorHandler=i.provideHostErrorHandler;exports.ToolWindowContext=r.ToolWindowContext;exports.browserDesktopBridge=r.browserDesktopBridge;exports.clearVisibleBrowsersForTesting=r.clearVisibleBrowsersForTesting;exports.createVendorErrorPreview=r.createVendorErrorPreview;exports.getGoogleSearchUrl=r.getGoogleSearchUrl;exports.getVisibleBrowsers=r.getVisibleBrowsers;exports.hasVisibleBrowser=r.hasVisibleBrowser;exports.openExternalUrl=r.openExternalUrl;exports.registerVisibleBrowser=r.registerVisibleBrowser;exports.resolveVendorError=r.resolveVendorError;exports.unregisterVisibleBrowser=r.unregisterVisibleBrowser;exports.useToolWindowLayout=r.useToolWindowLayout;exports.registerMenuActionIds=c.registerMenuActionIds;exports.StorageScope=a.StorageScope;exports.StorageTarget=a.StorageTarget;exports.KeybindingsProvider=t.KeybindingsProvider;exports.useKeybindings=t.useKeybindings;exports.useKeybindingsOptional=t.useKeybindingsOptional;exports.useFocusClaim=d.useFocusClaim;exports.useListCommands=d.useListCommands;exports.HostWindowProvider=s.HostWindowProvider;exports.useHostDocument=s.useHostDocument;exports.useHostWindow=s.useHostWindow;exports.useHostWindowClose=s.useHostWindowClose;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../kitHost-u0-mKvEK.cjs"),o=require("../window-_BfSgFGO.cjs"),g=require("../i18n-D3s-a2a0.cjs"),r=require("../pageTourState-BuA-GBYO.cjs"),i=require("../errorHandler-DoDAPpv2.cjs"),e=require("../electronBridge-cT0xww92.cjs"),u=require("../actions-DtaFGwh2.cjs"),d=require("../stateDbStore-CThsVch-.cjs"),t=require("../builtins-DM7FDxEt.cjs"),a=require("../useListCommands-Dnm4ktP1.cjs"),s=require("../HostWindowContext-_VZCt7xE.cjs");exports.KitHostProvider=n.KitHostProvider;exports.useKitHost=n.useKitHost;exports.getActiveWindow=o.getActiveWindow;exports.getMainWindow=o.getMainWindow;exports.getWindow=o.getWindow;exports.provideHostWindow=o.provideHostWindow;exports.provideHostTranslator=g.provideHostTranslator;exports.DEFAULT_LOG_LEVEL=r.DEFAULT_LOG_LEVEL;exports.LogLevel=r.LogLevel;exports.MenuFavoritesService=r.MenuFavoritesService;exports.PageTourService=r.PageTourService;exports.TOUR_STATUSES=r.TOUR_STATUSES;exports.attachedErrorActions=r.attachedErrorActions;exports.canLog=r.canLog;exports.createConsoleLogger=r.createConsoleLogger;exports.createPanelCommandRegistry=r.createPanelCommandRegistry;exports.messageErrorPresenter=r.messageErrorPresenter;exports.withErrorActions=r.withErrorActions;exports.provideBestEffortSink=i.provideBestEffortSink;exports.provideHostBreadcrumbs=i.provideHostBreadcrumbs;exports.provideHostErrorHandler=i.provideHostErrorHandler;exports.ToolWindowContext=e.ToolWindowContext;exports.browserDesktopBridge=e.browserDesktopBridge;exports.clearVisibleBrowsersForTesting=e.clearVisibleBrowsersForTesting;exports.createVendorErrorPreview=e.createVendorErrorPreview;exports.getGoogleSearchUrl=e.getGoogleSearchUrl;exports.getVisibleBrowsers=e.getVisibleBrowsers;exports.hasVisibleBrowser=e.hasVisibleBrowser;exports.openExternalUrl=e.openExternalUrl;exports.registerVisibleBrowser=e.registerVisibleBrowser;exports.resolveVendorError=e.resolveVendorError;exports.unregisterVisibleBrowser=e.unregisterVisibleBrowser;exports.useToolWindowLayout=e.useToolWindowLayout;exports.registerMenuActionIds=u.registerMenuActionIds;exports.StorageScope=d.StorageScope;exports.StorageTarget=d.StorageTarget;exports.KeybindingsProvider=t.KeybindingsProvider;exports.useKeybindings=t.useKeybindings;exports.useKeybindingsOptional=t.useKeybindingsOptional;exports.useFocusClaim=a.useFocusClaim;exports.useListCommands=a.useListCommands;exports.HostWindowProvider=s.HostWindowProvider;exports.useHostDocument=s.useHostDocument;exports.useHostWindow=s.useHostWindow;exports.useHostWindowClose=s.useHostWindowClose;
@@ -26,4 +26,5 @@ export * from '../_internal/app/windows/window/HostWindowContext.cjs';
26
26
  export * from '../_internal/app/browser/visibleBrowserRegistry.cjs';
27
27
  export { MenuFavoritesService, type MenuFavorites, } from '../_internal/app/menu/menuFavorites.cjs';
28
28
  export * from '../_internal/app/onboarding/pageTourState.cjs';
29
+ export type { TourPageId } from '../_internal/app/onboarding/pageTourTypes.cjs';
29
30
  export { browserDesktopBridge, openExternalUrl, type DesktopBridge, type DesktopFsService, type NotificationOverlayPort, type OsNotifyOptions, type ShowSaveDialogResult, } from '../_internal/app/platform/electronBridge.cjs';
@@ -26,4 +26,5 @@ export * from '../_internal/app/windows/window/HostWindowContext.js';
26
26
  export * from '../_internal/app/browser/visibleBrowserRegistry.js';
27
27
  export { MenuFavoritesService, type MenuFavorites, } from '../_internal/app/menu/menuFavorites.js';
28
28
  export * from '../_internal/app/onboarding/pageTourState.js';
29
+ export type { TourPageId } from '../_internal/app/onboarding/pageTourTypes.js';
29
30
  export { browserDesktopBridge, openExternalUrl, type DesktopBridge, type DesktopFsService, type NotificationOverlayPort, type OsNotifyOptions, type ShowSaveDialogResult, } from '../_internal/app/platform/electronBridge.js';
@@ -1,59 +1,58 @@
1
- import { K as r, u as o } from "../kitHost-CVAEi9sF.js";
1
+ import { K as r, u as o } from "../kitHost-BMMWpU4w.js";
2
2
  import { g as t, a as i, b as n, p as d } from "../window-CUK6x8Pj.js";
3
3
  import { p } from "../i18n-CBlUGOyu.js";
4
- import { D as l, L as c, M as m, P as w, T as b, a as v, c as f, b as x, d as T, e as E, m as H, w as L } from "../pageTourState-BcBF8w89.js";
5
- import { p as P, a as W, b as B } from "../errorHandler-BvPGW-Nm.js";
6
- import { T as K, b as A, c as C, a as h, g as y, d as U, h as D, o as F, r as M, e as O, u as _, f as k } from "../electronBridge-BK92fycw.js";
7
- import { r as I } from "../actions-wwAHs3ZU.js";
8
- import { S as j, a as q } from "../stateDbStore-DHZFUIEt.js";
9
- import { K as J, u as N, a as Q } from "../builtins-XOM9gfIx.js";
10
- import { u as Y, a as Z } from "../useListCommands-BO_XrRHj.js";
11
- import { H as ee, u as se, a as re, b as oe } from "../HostWindowContext-B2m0bVra.js";
4
+ import { D as l, L as m, M as c, P as w, T as b, a as v, c as f, b as x, d as E, m as H, w as T } from "../pageTourState-DsSKdPOu.js";
5
+ import { p as S, a as W, b as B } from "../errorHandler-BvPGW-Nm.js";
6
+ import { T as V, b as K, c as A, a as C, g as h, d as y, h as U, o as D, r as F, e as M, u as O, f as _ } from "../electronBridge-BK92fycw.js";
7
+ import { r as G } from "../actions-wwAHs3ZU.js";
8
+ import { S as I, a as j } from "../stateDbStore-DHZFUIEt.js";
9
+ import { K as z, u as J, a as N } from "../builtins-XOM9gfIx.js";
10
+ import { u as X, a as Y } from "../useListCommands-BO_XrRHj.js";
11
+ import { H as $, u as ee, a as se, b as re } from "../HostWindowContext-B2m0bVra.js";
12
12
  export {
13
13
  l as DEFAULT_LOG_LEVEL,
14
- ee as HostWindowProvider,
15
- J as KeybindingsProvider,
14
+ $ as HostWindowProvider,
15
+ z as KeybindingsProvider,
16
16
  r as KitHostProvider,
17
- c as LogLevel,
18
- m as MenuFavoritesService,
17
+ m as LogLevel,
18
+ c as MenuFavoritesService,
19
19
  w as PageTourService,
20
- j as StorageScope,
21
- q as StorageTarget,
20
+ I as StorageScope,
21
+ j as StorageTarget,
22
22
  b as TOUR_STATUSES,
23
- K as ToolWindowContext,
23
+ V as ToolWindowContext,
24
24
  v as attachedErrorActions,
25
- A as browserDesktopBridge,
25
+ K as browserDesktopBridge,
26
26
  f as canLog,
27
- x as canonicalTourPageId,
28
- C as clearVisibleBrowsersForTesting,
29
- T as createConsoleLogger,
27
+ A as clearVisibleBrowsersForTesting,
28
+ x as createConsoleLogger,
30
29
  E as createPanelCommandRegistry,
31
- h as createVendorErrorPreview,
30
+ C as createVendorErrorPreview,
32
31
  t as getActiveWindow,
33
- y as getGoogleSearchUrl,
32
+ h as getGoogleSearchUrl,
34
33
  i as getMainWindow,
35
- U as getVisibleBrowsers,
34
+ y as getVisibleBrowsers,
36
35
  n as getWindow,
37
- D as hasVisibleBrowser,
36
+ U as hasVisibleBrowser,
38
37
  H as messageErrorPresenter,
39
- F as openExternalUrl,
40
- P as provideBestEffortSink,
38
+ D as openExternalUrl,
39
+ S as provideBestEffortSink,
41
40
  W as provideHostBreadcrumbs,
42
41
  B as provideHostErrorHandler,
43
42
  p as provideHostTranslator,
44
43
  d as provideHostWindow,
45
- I as registerMenuActionIds,
46
- M as registerVisibleBrowser,
47
- O as resolveVendorError,
48
- _ as unregisterVisibleBrowser,
49
- Y as useFocusClaim,
50
- se as useHostDocument,
51
- re as useHostWindow,
52
- oe as useHostWindowClose,
53
- N as useKeybindings,
54
- Q as useKeybindingsOptional,
44
+ G as registerMenuActionIds,
45
+ F as registerVisibleBrowser,
46
+ M as resolveVendorError,
47
+ O as unregisterVisibleBrowser,
48
+ X as useFocusClaim,
49
+ ee as useHostDocument,
50
+ se as useHostWindow,
51
+ re as useHostWindowClose,
52
+ J as useKeybindings,
53
+ N as useKeybindingsOptional,
55
54
  o as useKitHost,
56
- Z as useListCommands,
57
- k as useToolWindowLayout,
58
- L as withErrorActions
55
+ Y as useListCommands,
56
+ _ as useToolWindowLayout,
57
+ T as withErrorActions
59
58
  };
@@ -23,6 +23,7 @@ import type { PageTours } from '../_internal/app/onboarding/pageTourState.cjs';
23
23
  import type { LayoutPreferences } from '../layout/createResizableSidebar.cjs';
24
24
  import type { Notifications } from '../notifications/notificationService.cjs';
25
25
  import type { SettingsSearchSource } from '../overlay/command-palette/unifiedSearch/settingsSearchContributor.cjs';
26
+ import { type ModalDefaults } from '../overlay/modalDefaults.cjs';
26
27
  import type { DatabaseObjectSearchProvider } from '../overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.cjs';
27
28
  export interface KitHost {
28
29
  /**
@@ -59,6 +60,13 @@ export interface KitHost {
59
60
  }
60
61
  export declare function KitHostProvider(props: {
61
62
  readonly host: KitHost;
63
+ /**
64
+ * What the host sets once for every `Modal` of this root instead of on each modal — `{ allowMaximizedDrag: false }`
65
+ * keeps every maximized modal in place (`ModalDefaults`); a modal's own prop overrides it. Unset, the modals keep
66
+ * the kit's defaults (or those of a `ModalDefaultsProvider` above). The window's title bar height is not here: it
67
+ * belongs to each window's root, `--modal-maximize-inset` (`modalTitlebarHeight`).
68
+ */
69
+ readonly modals?: ModalDefaults | undefined;
62
70
  readonly children: JSX.Element;
63
71
  }): JSX.Element;
64
72
  /** The host of the calling component's root — read during the component's setup. */
@@ -23,6 +23,7 @@ import type { PageTours } from '../_internal/app/onboarding/pageTourState.js';
23
23
  import type { LayoutPreferences } from '../layout/createResizableSidebar.js';
24
24
  import type { Notifications } from '../notifications/notificationService.js';
25
25
  import type { SettingsSearchSource } from '../overlay/command-palette/unifiedSearch/settingsSearchContributor.js';
26
+ import { type ModalDefaults } from '../overlay/modalDefaults.js';
26
27
  import type { DatabaseObjectSearchProvider } from '../overlay/command-palette/unifiedSearch/databaseObjectSearchContributor.js';
27
28
  export interface KitHost {
28
29
  /**
@@ -59,6 +60,13 @@ export interface KitHost {
59
60
  }
60
61
  export declare function KitHostProvider(props: {
61
62
  readonly host: KitHost;
63
+ /**
64
+ * What the host sets once for every `Modal` of this root instead of on each modal — `{ allowMaximizedDrag: false }`
65
+ * keeps every maximized modal in place (`ModalDefaults`); a modal's own prop overrides it. Unset, the modals keep
66
+ * the kit's defaults (or those of a `ModalDefaultsProvider` above). The window's title bar height is not here: it
67
+ * belongs to each window's root, `--modal-maximize-inset` (`modalTitlebarHeight`).
68
+ */
69
+ readonly modals?: ModalDefaults | undefined;
62
70
  readonly children: JSX.Element;
63
71
  }): JSX.Element;
64
72
  /** The host of the calling component's root — read during the component's setup. */