@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
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CommandPalette-5FQRgPG9.cjs"),r=require("../Modal-CY6ePolt.cjs"),O=require("../OverlayScrollArea-BSlaXG1h.cjs"),a=require("../GuidedTour-B6q7lYhn.cjs"),i=require("../createDialogShellFocus-CJaw9-B9.cjs"),n=require("../tooltipCoordinator-DslqMlsI.cjs"),s=require("../dialogFocusRestore-CL-ExfAA.cjs"),t=require("../anchoredLayout-Dstwa5OH.cjs"),o=require("../overlayStack-eD8AmuwY.cjs"),p=require("../useFloatingDropdown-D5UayoN6.cjs"),M=require("../ownerWindow-BCmJFMbR.cjs"),u=require("../prefersReducedMotion-BQp-Q4UR.cjs"),c=require("../DesktopContextMenuContext-DMGNVjaR.cjs"),l=require("../Popover-CWrR51eG.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=s.OverlayPortal;exports.restoreFocusTo=s.restoreFocusTo;exports.shouldRestoreFocusOnDialogClose=s.shouldRestoreFocusOnDialogClose;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.requestOwnerAnimationFrame=t.requestOwnerAnimationFrame;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=p.useFloatingDropdown;exports.ownerWindow=M.ownerWindow;exports.modalBackgroundExemption=u.modalBackgroundExemption;exports.neutralizeBackground=u.neutralizeBackground;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,32 +1,35 @@
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 as A, S as P, l as v, m as S, n as g, o as I, p as F, q as C, r as x, s as y, T as R, t as f, 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-Cj618AOz.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-NzZzHSwb.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-CFCvRJN4.js";
5
- import { H as de, T as me, a as De, c as Ee, d as _e, e as Ae, f as Pe } from "../createDialogShellFocus-B4piXDU4.js";
6
- import { C as Se, a as ge, D as Ie, b as Fe, W as Ce, c as xe, d as ye, t as Re } from "../tooltipCoordinator-BzxEyKhA.js";
7
- import { O as Le, r as Ne, s as he } from "../dialogFocusRestore--dH59ER2.js";
8
- import { A as be, a as Ge, b as We, O as we, c as He, P as ke, d as Be, e as Ve, f as Ke, g as Xe, h as Ye, l as qe, r as je, i as ze } from "../anchoredLayout-FC-qv8xm.js";
9
- import { g as Qe, h as Ze, i as $e, a as ea, b as aa, n as oa, c as sa, d as ta, o as ra, e as na, r as ia, f as la, j as ua, k as pa, u as Oa } from "../overlayStack-Bj6Lg1Rm.js";
10
- import { u as Ma } from "../useFloatingDropdown-2Tz_es0W.js";
11
- import { o as da } from "../ownerWindow-9mx_LD47.js";
12
- import { m as Da, n as Ea } from "../prefersReducedMotion-B2mMn01s.js";
13
- import { D as Aa, u as Pa } from "../DesktopContextMenuContext-DJ3PnqAv.js";
14
- import { L as Sa, M as ga, P as Ia, i as Fa, r as Ca } from "../Popover-Cttb6NYT.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
+ 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
+ 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
+ import { u as pa } from "../useFloatingDropdown-2Tz_es0W.js";
11
+ import { o as ca } from "../ownerWindow-9mx_LD47.js";
12
+ import { r as Ta } from "../ownerAnimationFrame-DzFcMSmn.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";
15
18
  export {
16
19
  $ as ActionPlaceRow,
17
- be as AnchorAlignment,
18
- Ge as AnchorAxisAlignment,
19
- We as AnchorPosition,
20
+ he as AnchorAlignment,
21
+ Ue as AnchorAxisAlignment,
22
+ be as AnchorPosition,
20
23
  Se as COLD_DELAY_MS,
21
24
  ge as COOLDOWN_MS,
22
25
  o as CommandPalette,
23
26
  s as ConfirmDialog,
24
27
  t as ConsequenceLine,
25
28
  r as ContextMenu,
26
- Ie as DEFAULT_MARGIN,
27
- Fe as DEFAULT_OFFSET,
29
+ xe as DEFAULT_MARGIN,
30
+ Ie as DEFAULT_OFFSET,
28
31
  n as DesktopContextMenu,
29
- Aa as DesktopContextMenuContext,
32
+ xa as DesktopContextMenuContext,
30
33
  ue as Disclosure,
31
34
  i as Drawer,
32
35
  l as DropdownMenu,
@@ -34,8 +37,8 @@ export {
34
37
  pe as GuidedTour,
35
38
  de as HoverTooltip,
36
39
  p as InputDialog,
37
- Sa as LISTBOX_OPTION_SELECTOR,
38
- ga as MENU_ITEM_SELECTOR,
40
+ Fa as LISTBOX_OPTION_SELECTOR,
41
+ Ca as MENU_ITEM_SELECTOR,
39
42
  O as MenuDisclosure,
40
43
  c as MenuEmpty,
41
44
  M as MenuItem,
@@ -44,94 +47,96 @@ export {
44
47
  m as MenuSection,
45
48
  D as MenuSeparator,
46
49
  ee as Modal,
50
+ Pa as ModalDefaultsProvider,
47
51
  E as NameStep,
48
- we as OVERLAY_DEFAULT_GAP,
49
- He as OVERLAY_DEFAULT_MARGIN,
50
- _ as OptionList,
52
+ Ge as OVERLAY_DEFAULT_GAP,
53
+ We as OVERLAY_DEFAULT_MARGIN,
54
+ P as OptionList,
51
55
  Le as OverlayPortal,
52
56
  ie as OverlayScrollArea,
53
- ke as POPOVER_DEFAULT_GAP,
54
- Be as POPOVER_VIEWPORT_MARGIN,
57
+ we as POPOVER_DEFAULT_GAP,
58
+ He as POPOVER_VIEWPORT_MARGIN,
55
59
  Oe as Panel,
56
60
  ce as PanelSeparator,
57
- Ia as Popover,
58
- A as PopoverPanel,
59
- P as SUBMENU_ANCHOR_OVERLAP,
61
+ ya as Popover,
62
+ _ as PopoverPanel,
63
+ A as SUBMENU_ANCHOR_OVERLAP,
60
64
  v as SUBMENU_ESTIMATED_ROW_HEIGHT,
61
65
  S as SUBMENU_ESTIMATED_WIDTH,
62
66
  g as SUBMENU_MIN_ESTIMATED_HEIGHT,
63
- I as SUBMENU_VIEWPORT_MARGIN,
64
- F as SaveDiscardDialog,
65
- C as SelectedOptions,
66
- x as StatementPreview,
67
- y as StepFooter,
67
+ x as SUBMENU_VIEWPORT_MARGIN,
68
+ I as SaveDiscardDialog,
69
+ f as SelectedOptions,
70
+ F as StatementPreview,
71
+ C as StepFooter,
68
72
  me as TOOLTIP_CURSOR_OFFSET_X,
69
73
  De as TOOLTIP_CURSOR_OFFSET_Y,
70
74
  Ee as TOOLTIP_MAX_FOOTPRINT_X,
71
- _e as TOOLTIP_VIEWPORT_MARGIN,
72
- R as Tooltip,
73
- f as TooltipHost,
74
- Ce as WARM_DELAY_MS,
75
- Ve as calcFixedWidthDropdownLeft,
75
+ Pe as TOOLTIP_VIEWPORT_MARGIN,
76
+ y as Tooltip,
77
+ R as TooltipHost,
78
+ fe as WARM_DELAY_MS,
79
+ ke as calcFixedWidthDropdownLeft,
76
80
  L as closeContextMenu,
77
81
  ae as collectFocusableElements,
78
- Ke as computeAnchoredPosition,
79
- xe as computeAnchoredTooltipPosition,
80
- Xe as computeDropdownPosition,
81
- Ye as computePopoverPosition,
82
+ Be as computeAnchoredPosition,
83
+ Fe as computeAnchoredTooltipPosition,
84
+ Ve as computeDropdownPosition,
85
+ Ke as computePopoverPosition,
82
86
  N as computeSubmenuPlacement,
83
- Ae as computeTooltipPointerPosition,
87
+ _e as computeTooltipPointerPosition,
84
88
  h as confirmationLevelOf,
85
89
  U as createDangerousActionDialog,
86
90
  b as createDesktopContextMenuApi,
87
91
  G as createDialogFocusScope,
88
- Pe as createDialogShellFocus,
92
+ Ae as createDialogShellFocus,
89
93
  W as createOverlayCloseGuard,
90
- ye as createTooltipCoordinator,
94
+ Ce as createTooltipCoordinator,
91
95
  w as describeConsequence,
92
96
  H as estimateSubmenuHeight,
93
97
  k as firstFocusableMenuIndex,
94
- Qe as getOverlayDiagnostics,
95
- Ze as hasOpenLayerIn,
96
- $e as isAnyOverlayOpen,
98
+ je as getOverlayDiagnostics,
99
+ ze as hasOpenLayerIn,
100
+ Je as isAnyOverlayOpen,
97
101
  B as isDesktopMenuNavigationKey,
98
102
  V as isIrreversible,
99
- ea as isModalOccluded,
100
- aa as isOverlayOverlapping,
101
- Fa as isPopoverNavigationKey,
103
+ Qe as isModalOccluded,
104
+ Ze as isOverlayOverlapping,
105
+ Ra as isPopoverNavigationKey,
102
106
  K as lastFocusableMenuIndex,
103
- qe as layout2d,
107
+ Xe as layout2d,
104
108
  X as menuSurfaceClasses,
105
- Da as modalBackgroundExemption,
109
+ ma as modalBackgroundExemption,
106
110
  oe as modalTitlebarHeight,
107
- Ea as neutralizeBackground,
111
+ Da as neutralizeBackground,
108
112
  Y as nextFocusableMenuIndex,
109
- oa as notifyOverlayChanged,
110
- sa as notifyOverlayMotionEnd,
111
- ta as notifyOverlayMotionStart,
112
- ra as onOverlayMotion,
113
+ $e as notifyOverlayChanged,
114
+ ea as notifyOverlayMotionEnd,
115
+ aa as notifyOverlayMotionStart,
116
+ oa as onOverlayMotion,
113
117
  q as openContextMenu,
114
- na as overlayDepth,
115
- da as ownerWindow,
118
+ sa as overlayDepth,
119
+ ca as ownerWindow,
116
120
  j as panelClasses,
117
121
  Me as positionTourCard,
118
- ia as readOverlayMutationRevision,
119
- la as registerOverlayClose,
120
- ua as registerOverlayCondition,
121
- pa as registerOverlayOpen,
122
- je as requestOwnerAnimationFrame,
122
+ ta as readOverlayMutationRevision,
123
+ ra as registerOverlayClose,
124
+ na as registerOverlayCondition,
125
+ ia as registerOverlayOpen,
126
+ Ta as requestOwnerAnimationFrame,
123
127
  z as resolveDangerousActionDialogKeyIntent,
124
128
  se as resolveDialogShellKeyIntent,
125
129
  J as resolveMenuFocusForKey,
126
130
  te as resolveModalFocusTrapTarget,
127
- Ca as resolvePopoverFocusForKey,
128
- ze as resolvePopoverSide,
129
- Ne as restoreFocusTo,
130
- he as shouldRestoreFocusOnDialogClose,
131
+ La as resolvePopoverFocusForKey,
132
+ Ye as resolvePopoverSide,
133
+ va as restoreFocusTo,
134
+ Sa as shouldRestoreFocusOnDialogClose,
131
135
  Q as tooltip,
132
- Re as tooltipCoordinator,
136
+ ye as tooltipCoordinator,
133
137
  re as trapTabFocusWithin,
134
- Pa as useDesktopContextMenu,
135
- Ma as useFloatingDropdown,
136
- Oa as useOverlayRegistration
138
+ Ia as useDesktopContextMenu,
139
+ pa as useFloatingDropdown,
140
+ _a as useModalDefaults,
141
+ la as useOverlayRegistration
137
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,16 @@
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 (`:root` in its stylesheet, or `document.documentElement.style`); it inherits into the portalled
7
+ * modal layer, so `Modal`'s maximized and normal layouts, its drag bound and every caller of this function follow the
8
+ * same value — as the reference's modal editor reads one title bar offset for its drag bound, size, maximized padding
9
+ * and position (`workbench/browser/parts/editor/modalEditorPart.ts:493-509`, `:579`, `:593-595`, `:644-645`,
10
+ * `:662-663`, `:671`, `:702`, `:707`).
11
+ *
12
+ * `within` resolves it under an element — a modal's own overlay, where `maximizeInset` overrides it for that modal.
13
+ * The browser resolves it on an element made for the read and removed after it, so any CSS length works (`rem` of
14
+ * that window's root, `calc()`, another custom property).
15
+ */
16
+ export declare function modalTitlebarHeight(doc: Document, within?: Element): number;
@@ -1,2 +1,16 @@
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 (`:root` in its stylesheet, or `document.documentElement.style`); it inherits into the portalled
7
+ * modal layer, so `Modal`'s maximized and normal layouts, its drag bound and every caller of this function follow the
8
+ * same value — as the reference's modal editor reads one title bar offset for its drag bound, size, maximized padding
9
+ * and position (`workbench/browser/parts/editor/modalEditorPart.ts:493-509`, `:579`, `:593-595`, `:644-645`,
10
+ * `:662-663`, `:671`, `:702`, `:707`).
11
+ *
12
+ * `within` resolves it under an element — a modal's own overlay, where `maximizeInset` overrides it for that modal.
13
+ * The browser resolves it on an element made for the read and removed after it, so any CSS length works (`rem` of
14
+ * that window's root, `calc()`, another custom property).
15
+ */
16
+ export declare function modalTitlebarHeight(doc: Document, within?: Element): number;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * THE NATIVE TITLE WHILE THE KIT'S TOOLTIP SHOWS — one home for the surfaces that draw their own tooltip over an
3
+ * element that also carries a `title` (`Button`, `PressableSurface`, `Badge`, the `tooltip` directive).
4
+ *
5
+ * While the kit's tooltip shows, the element's `title` is held back, so the browser does not draw a second, native
6
+ * tooltip over it; when the kit's tooltip hides, the title comes back. What the element's owner writes to the title
7
+ * while it is held is the newer state and stays: a new value — a reactive `title` whose value changed, such as a
8
+ * toggle named after what a click does (giving the held copy back put the element's old name over the new one: a
9
+ * bell whose center opened while it showed its tooltip went on calling itself "Show notifications") — and no title,
10
+ * when the owner's `title` became `undefined`.
11
+ *
12
+ * The hold is the one home of that rule because it is the one place that sees every owner: the `tooltip` directive
13
+ * sits on any element and knows nothing of the props that write its title, so writing "the current prop" on release
14
+ * could live only in some of the surfaces. Held, the title is left empty rather than removed — the browser draws no
15
+ * tooltip for an empty title, and the owner removing the title is then a change the hold sees —, and the hold watches
16
+ * the attribute for the owner's writes until it is released.
17
+ */
18
+ /**
19
+ * Holds the element's `title` back while the kit's tooltip shows. An element without a title, with an empty one, or
20
+ * not in a window is left as it is; one already held stays held as it was.
21
+ */
22
+ export declare function holdNativeTitle(element: Element): void;
23
+ /** Gives the held `title` back when the kit's tooltip hides — unless its owner wrote the title meanwhile. */
24
+ export declare function releaseNativeTitle(element: Element): void;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * THE NATIVE TITLE WHILE THE KIT'S TOOLTIP SHOWS — one home for the surfaces that draw their own tooltip over an
3
+ * element that also carries a `title` (`Button`, `PressableSurface`, `Badge`, the `tooltip` directive).
4
+ *
5
+ * While the kit's tooltip shows, the element's `title` is held back, so the browser does not draw a second, native
6
+ * tooltip over it; when the kit's tooltip hides, the title comes back. What the element's owner writes to the title
7
+ * while it is held is the newer state and stays: a new value — a reactive `title` whose value changed, such as a
8
+ * toggle named after what a click does (giving the held copy back put the element's old name over the new one: a
9
+ * bell whose center opened while it showed its tooltip went on calling itself "Show notifications") — and no title,
10
+ * when the owner's `title` became `undefined`.
11
+ *
12
+ * The hold is the one home of that rule because it is the one place that sees every owner: the `tooltip` directive
13
+ * sits on any element and knows nothing of the props that write its title, so writing "the current prop" on release
14
+ * could live only in some of the surfaces. Held, the title is left empty rather than removed — the browser draws no
15
+ * tooltip for an empty title, and the owner removing the title is then a change the hold sees —, and the hold watches
16
+ * the attribute for the owner's writes until it is released.
17
+ */
18
+ /**
19
+ * Holds the element's `title` back while the kit's tooltip shows. An element without a title, with an empty one, or
20
+ * not in a window is left as it is; one already held stays held as it was.
21
+ */
22
+ export declare function holdNativeTitle(element: Element): void;
23
+ /** Gives the held `title` back when the kit's tooltip hides — unless its owner wrote the title meanwhile. */
24
+ export declare function releaseNativeTitle(element: Element): void;
@@ -0,0 +1,19 @@
1
+ import { o as l } from "./ownerWindow-9mx_LD47.js";
2
+ function a(n, o) {
3
+ let t = !1, e = null;
4
+ const i = () => {
5
+ if (t) return;
6
+ const r = l(n);
7
+ if (r === null || !n.isConnected) return;
8
+ const s = r.requestAnimationFrame(() => {
9
+ t || o();
10
+ });
11
+ e = () => r.cancelAnimationFrame(s);
12
+ };
13
+ return n.isConnected ? i() : queueMicrotask(i), () => {
14
+ t = !0, e == null || e();
15
+ };
16
+ }
17
+ export {
18
+ a as r
19
+ };
@@ -0,0 +1 @@
1
+ "use strict";const o=require("./ownerWindow-BCmJFMbR.cjs");function c(n,s){let t=!1,e=null;const r=()=>{if(t)return;const i=o.ownerWindow(n);if(i===null||!n.isConnected)return;const u=i.requestAnimationFrame(()=>{t||s()});e=()=>i.cancelAnimationFrame(u)};return n.isConnected?r():queueMicrotask(r),()=>{t=!0,e==null||e()}}exports.requestOwnerAnimationFrame=c;
@@ -0,0 +1,5 @@
1
+ "use strict";var O=Object.defineProperty;var I=(r,e,t)=>e in r?O(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t;var a=(r,e,t)=>I(r,typeof e!="symbol"?e+"":e,t);const d=require("./errorHandler-DoDAPpv2.cjs"),D=require("./electronBridge-cT0xww92.cjs"),L=require("./actions-DtaFGwh2.cjs"),u=require("./stateDbStore-CThsVch-.cjs"),R=require("solid-js"),P=require("./windowRegistry-CxXtP-iY.cjs"),$=require("./isOneOf-9EXOSYJu.cjs");var o=(r=>(r[r.Off=0]="Off",r[r.Trace=1]="Trace",r[r.Debug=2]="Debug",r[r.Info=3]="Info",r[r.Warn=4]="Warn",r[r.Error=5]="Error",r[r.Audit=6]="Audit",r))(o||{});const b=3;function m(r,e){return e===6?!0:r===0?!1:r<=e}class N{constructor(){a(this,"_store",new Set);a(this,"_isDisposed",!1)}_register(e){return this._isDisposed?(console.warn("Registering disposable on already disposed object"),e.dispose()):this._store.add(e),e}get isDisposed(){return this._isDisposed}dispose(){if(!this._isDisposed){this._isDisposed=!0;for(const e of this._store)try{e.dispose()}catch(t){d.onUnexpectedError(t,{source:"dispose"})}this._store.clear()}}}class W extends N{constructor(t=b){super();a(this,"_level");a(this,"_onDidChangeLogLevel",this._register(new D.Emitter));a(this,"onDidChangeLogLevel",this._onDidChangeLogLevel.event);this._level=t}getLevel(){return this._level}setLevel(t){this._level!==t&&(this._level=t,this._onDidChangeLogLevel.fire(t))}canLog(t){return m(this._level,t)}withTag(t){return this}}const E="[REDACTED]";function U(r){return r?E:""}const x=["password","pass","pwd","token","accesstoken","refreshtoken","apikey","api_key","authtoken","secret","privatekey","private_key","masterkey","master_key","masterpassword","username","user_name","email","userid","user_id","vaultname","vault_name","vaultpath","vault_path","recoverycode","recovery_code","mnemonic","connectionstring","conn_string","dsn","sessionid","session_id","cookie","authorization"],M=new Set(x.map(r=>r.toLowerCase().replace(/[-_]/g,""))),F=[/eyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/,/sk-[A-Za-z0-9]{20,}/,/AKIA[0-9A-Z]{16}/,/ghp_[A-Za-z0-9]{36}/,/gho_[A-Za-z0-9]{36}/,/xoxb-[0-9]+-[0-9]+-[A-Za-z0-9]+/];function j(r){return M.has(r.toLowerCase().replace(/[-_]/g,""))}function l(r){for(const e of F)if(e.test(r))return E;return r}function f(r){const e={};for(const[t,s]of Object.entries(r))j(t)?e[t]=typeof s=="string"?U(s):E:typeof s=="string"?e[t]=l(s):Array.isArray(s)?e[t]=s.map(n=>typeof n=="string"?l(n):n&&typeof n=="object"&&!(n instanceof Error)&&!(n instanceof Date)?f(n):n):s&&typeof s=="object"&&!(s instanceof Error)&&!(s instanceof Date)?e[t]=f(s):e[t]=s;return e}function q(r){return d.scrubSecrets(l(r))}function _(r){return typeof r=="string"?l(r):Array.isArray(r)?r.map(e=>typeof e=="string"?l(e):e&&typeof e=="object"&&!(e instanceof Error)&&!(e instanceof Date)?f(e):e):r&&typeof r=="object"&&!(r instanceof Error)&&!(r instanceof Date)?f(r):r}class V extends W{constructor(e){super(e)}trace(e,...t){this.canLog(o.Trace)&&this.log(o.Trace,h(e,t),t)}debug(e,...t){this.canLog(o.Debug)&&this.log(o.Debug,h(e,t),t)}info(e,...t){this.canLog(o.Info)&&this.log(o.Info,h(e,t),t)}warn(e,...t){this.canLog(o.Warn)&&this.log(o.Warn,h(e,t),t)}error(e,...t){if(!this.canLog(o.Error))return;if(e instanceof Error){const n=e;this.log(o.Error,h(`${n.message}
2
+ ${S(n)}`,t),[n,...t]);return}const s=t[0];if(s instanceof Error){this.log(o.Error,h(`${e}: ${s.message}
3
+ ${S(s)}`,t.slice(1)),t);return}this.log(o.Error,h(e,t),t)}audit(e,t,s,...n){if(!this.canLog(o.Audit))return;const i={action:e,userId:t,resource:s,args:n},c=h(`AUDIT: User ${t} performed ${e} on ${s}`,n);this.log(o.Audit,c,n,i)}}function S(r){if(!r.stack)return r.message;const e=r.stack.indexOf(`
4
+ `);return e>=0?r.stack.slice(e+1):r.message}function h(r,e=[]){if(e.length===0)return r;const t=[r];for(const s of e)if(s!=null)if(s instanceof Error)t.push(`${s.message}
5
+ ${s.stack??""}`);else if(typeof s=="object")try{t.push(JSON.stringify(_(s)))}catch{t.push(String(s))}else t.push(String(_(s)));return t.length===1?t[0]:t.join(" ")}class z extends V{constructor(t=[],s,n){super(s);a(this,"_transports");a(this,"_tag");this._transports=t,this._tag=n??""}log(t,s,n=[],i){const c={level:t,tag:this._tag,message:q(s),timestamp:new Date,args:n.map(_),...i?{audit:i}:{}};for(const C of this._transports)C.log(c)}flush(){var t;for(const s of this._transports)(t=s.flush)==null||t.call(s)}addTransport(t){this._transports.push(t)}withTag(t){return new g(this,t)}}class g{constructor(e,t){a(this,"_fullTag");this._parent=e;const s=this._parent._fullTag??this._parent._tag??"";this._fullTag=s?`${s}:${t}`:t}get onDidChangeLogLevel(){return this._getRoot().onDidChangeLogLevel}getLevel(){return this._getRoot().getLevel()}setLevel(e){this._getRoot().debug(`TaggedLogger.setLevel(${o[e]}) ignored on tagged child '[${this._fullTag}]' — call setLevel on the root logger instead.`)}trace(e,...t){this._emit(o.Trace,e,t)}debug(e,...t){this._emit(o.Debug,e,t)}info(e,...t){this._emit(o.Info,e,t)}warn(e,...t){this._emit(o.Warn,e,t)}error(e,...t){if(e instanceof Error){const s=new Error(`[${this._fullTag}] ${e.message}`);e.stack&&(s.stack=e.stack),this._getRoot().error(s,...t)}else this._emit(o.Error,e,t)}audit(e,t,s,...n){this._getRoot().audit(e,t,s,...n)}flush(){this._getRoot().flush()}withTag(e){return new g(this,e)}_emit(e,t,s){const n=this._getRoot(),i=`[${this._fullTag}] ${t}`;switch(e){case o.Trace:n.trace(i,...s);break;case o.Debug:n.debug(i,...s);break;case o.Info:n.info(i,...s);break;case o.Warn:n.warn(i,...s);break;case o.Error:n.error(i,...s);break}}_getRoot(){let e=this._parent;for(;e instanceof g;)e=e._parent;return e}}const Z={[o.Off]:"",[o.Trace]:"TRACE",[o.Debug]:"DEBUG",[o.Info]:"INFO",[o.Warn]:"WARN",[o.Error]:"ERROR",[o.Audit]:"AUDIT"},K={[o.Off]:"debug",[o.Trace]:"debug",[o.Debug]:"debug",[o.Info]:"info",[o.Warn]:"warn",[o.Error]:"error",[o.Audit]:"info"};class H{log(e){const t=Z[e.level],s=e.tag?` ${e.tag}`:"",n=e.timestamp.toISOString(),i=K[e.level];console[i](`[${t}]${s} ${n} - ${e.message}`)}}function J(r=o.Info){return new z([new H],r)}const A=new WeakMap;function G(r,e){return A.set(r,[...A.get(r)??[],...e]),r}function k(r){return typeof r=="object"&&r!==null?A.get(r)??[]:[]}const Y={text:(r,e)=>d.toErrorMessage(r,e),actions:r=>k(r)};function B(){const r=[];let e=null;return{set:n=>(r.push(n),()=>{const i=r.lastIndexOf(n);i!==-1&&r.splice(i,1),e===n&&!r.includes(n)&&(e=null)}),current:()=>r.length>0?r[r.length-1]??null:null,find:n=>{for(let i=r.length-1;i>=0;i-=1){const c=r[i];if(c!==void 0&&n(c))return c}return null},markFocused:n=>{r.includes(n)&&(e=n)},lastFocused:()=>e}}const p=20,w="menu.favorites";class Q{constructor(e){a(this,"_onDidChange",new D.Emitter);a(this,"onDidChange",this._onDidChange.event);this.storage=e}list(){return this.stored().filter(e=>typeof e=="string"&&L.isRegisteredActionId(e)).slice(0,p)}has(e){return this.list().includes(e)}add(e){const t=this.list();t.includes(e)||t.length>=p||this.write([...t,e])}remove(e){this.write(this.list().filter(t=>t!==e))}dispose(){this._onDidChange.dispose()}stored(){const e=this.storage.get(w,u.StorageScope.APPLICATION);if(e===void 0)return[];let t;try{t=JSON.parse(e)}catch(s){return d.onUnexpectedError(new Error("[menu favourites] the stored list is not JSON",{cause:s})),[]}return Array.isArray(t)?t:[]}write(e){this.storage.store(w,JSON.stringify(e.slice(0,p)),u.StorageScope.APPLICATION,u.StorageTarget.USER),this._onDidChange.fire()}}const y=["shown","skipped","completed"],T=r=>`onboarding:page:${r}`,v="onboarding:neverShowAgain",X=15e3;class ee{constructor(e){a(this,"activePage");a(this,"setActivePage");a(this,"seen",new Map);a(this,"neverShowAgainCache",null);a(this,"skipWelcomeFlag",!1);a(this,"hosts",new Set);a(this,"owner",null);a(this,"pending",null);this.storage=e;const[t,s]=R.createSignal(null);this.activePage=t,this.setActivePage=s}isActive(e){return this.activePage()===e}setActive(e){this.setActivePage(e)}readStatus(e){if(this.isNeverShowAgain())return"skipped";const t=this.seen.get(e);if(t!==void 0)return t;const s=this.storage.get(T(e),u.StorageScope.APPLICATION);return $.isOneOf(y,s)?s:void 0}writeStatus(e,t){this.seen.set(e,t),this.storage.store(T(e),t,u.StorageScope.APPLICATION,u.StorageTarget.MACHINE)}isNeverShowAgain(){return this.neverShowAgainCache===null&&(this.neverShowAgainCache=this.storage.get(v,u.StorageScope.APPLICATION)==="true"),this.neverShowAgainCache}setNeverShowAgain(e){this.neverShowAgainCache=e,this.storage.store(v,e?"true":"false",u.StorageScope.APPLICATION,u.StorageTarget.MACHINE)}skipWelcome(){return this.skipWelcomeFlag}setSkipWelcome(e){this.skipWelcomeFlag=e}claim(e){return this.owner&&this.owner!==e?!1:(this.owner=e,!0)}release(e){this.owner===e&&(this.owner=null)}registerHost(e){return this.hosts.add(e),()=>this.hosts.delete(e)}request(e){var i;this.pending=null,this.owner=null;for(const c of this.hosts)(!e||c.page!==e)&&((i=c.dismiss)==null||i.call(c));const t=Array.from(this.hosts).filter(c=>c.visible()&&(!e||c.page===e)),s=P.getActiveWindow().document,n=t.find(c=>c.document()===s)??t[0];return n?(n.start(),!0):(e&&(this.pending={page:e,expires:Date.now()+X}),!1)}consumeRequest(e){if(!this.pending||this.pending.page!==e)return!1;const t=this.pending.expires>Date.now();return this.pending=null,t}}exports.DEFAULT_LOG_LEVEL=b;exports.LogLevel=o;exports.MenuFavoritesService=Q;exports.PageTourService=ee;exports.TOUR_STATUSES=y;exports.attachedErrorActions=k;exports.canLog=m;exports.createConsoleLogger=J;exports.createPanelCommandRegistry=B;exports.messageErrorPresenter=Y;exports.withErrorActions=G;