@vokril/ui-solid 0.31.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 (358) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +67 -4
  3. package/dist/AttributeGrid-CNkALmJq.cjs +1 -0
  4. package/dist/AttributeGrid-DnuTPJ_P.js +320 -0
  5. package/dist/{Button-4meERfnv.js → Button-CX7mylBT.js} +125 -117
  6. package/dist/Button-lMUW5P3O.cjs +1 -0
  7. package/dist/CommandPalette-DAR9VMqY.cjs +2 -0
  8. package/dist/CommandPalette-DlLcdd4o.js +4029 -0
  9. package/dist/CopyButton-BVvv5M8g.js +63 -0
  10. package/dist/CopyButton-Dnd8_2Lj.cjs +1 -0
  11. package/dist/DateRangePicker-BlJWtJBA.cjs +9 -0
  12. package/dist/DateRangePicker-CHmUU4PA.js +552 -0
  13. package/dist/GuidedTour-9rqvNB_m.js +483 -0
  14. package/dist/GuidedTour-DbXeuTc7.cjs +1 -0
  15. package/dist/{HostPortal-Ba3MD9CG.js → HostPortal-De65s6CU.js} +1 -1
  16. package/dist/{HostPortal-CpWsArs6.cjs → HostPortal-Dm4BmY8M.cjs} +1 -1
  17. package/dist/{IconPicker-D1G8HK92.js → IconPicker-CsYW8CXe.js} +4 -4
  18. package/dist/IconPicker-D-GU1mD3.cjs +1 -0
  19. package/dist/Input-C3rEQffK.js +382 -0
  20. package/dist/Input-CHtvL4_4.cjs +1 -0
  21. package/dist/Modal-3L6p7Dwt.js +599 -0
  22. package/dist/Modal-CtrWEnJ7.cjs +1 -0
  23. package/dist/OverlayScrollArea-Cr0VAApT.cjs +1 -0
  24. package/dist/OverlayScrollArea-CrrPFLq9.js +180 -0
  25. package/dist/{PageSkeleton-zNyjLPlk.js → PageSkeleton-BRuqaDzr.js} +372 -371
  26. package/dist/PageSkeleton-Cz2bckO4.cjs +30 -0
  27. package/dist/Popover-CLTXG8W0.cjs +1 -0
  28. package/dist/Popover-DkqGvMNy.js +207 -0
  29. package/dist/SearchableSelect-C-lV1vSv.cjs +1 -0
  30. package/dist/SearchableSelect-Du12kcI9.js +328 -0
  31. package/dist/StatusBarNotificationBell-CNs_obmZ.cjs +50 -0
  32. package/dist/{StatusBarNotificationBell-ZTEhZFmJ.js → StatusBarNotificationBell-CgsYrrpj.js} +4868 -4790
  33. package/dist/Stepper-DzI-gtKd.js +586 -0
  34. package/dist/Stepper-rpu7lpzB.cjs +1 -0
  35. package/dist/{Textarea-DASNQNoi.cjs → Textarea-D4nYoQ0J.cjs} +1 -1
  36. package/dist/{Textarea-szHXQahi.js → Textarea-DOzZCc-O.js} +1 -1
  37. package/dist/TimeSeriesChart-BJqQpeEJ.cjs +1 -0
  38. package/dist/TimeSeriesChart-DvAhuyVl.js +442 -0
  39. package/dist/ToggleButton-B-hBpdzk.js +2144 -0
  40. package/dist/ToggleButton-BMH1A-IX.cjs +1 -0
  41. package/dist/_internal/app/onboarding/pageTourState.d.cts +0 -2
  42. package/dist/_internal/app/onboarding/pageTourState.d.ts +0 -2
  43. package/dist/_internal/app/onboarding/pageTourTypes.d.cts +2 -1
  44. package/dist/_internal/app/onboarding/pageTourTypes.d.ts +2 -1
  45. package/dist/_internal/contract/notification.d.cts +19 -3
  46. package/dist/_internal/contract/notification.d.ts +19 -3
  47. package/dist/a11y/index.cjs +1 -1
  48. package/dist/a11y/index.js +1 -1
  49. package/dist/appThemeDerivation-Be_oKljl.cjs +1 -0
  50. package/dist/{server/appThemeDerivation-DBAOkGl7.js → appThemeDerivation-CKoSe4KP.js} +231 -260
  51. package/dist/base.css +1 -1
  52. package/dist/charts/index.cjs +1 -1
  53. package/dist/charts/index.js +1 -1
  54. package/dist/createDialogShellFocus-DI1rUvYf.js +282 -0
  55. package/dist/createDialogShellFocus-kzkNSLWS.cjs +1 -0
  56. package/dist/createResizableSidebar--Ve6DbDu.js +504 -0
  57. package/dist/createResizableSidebar-DlVAuq5t.cjs +1 -0
  58. package/dist/desktop/index.cjs +1 -1
  59. package/dist/desktop/index.js +228 -227
  60. package/dist/feedback/index.cjs +1 -1
  61. package/dist/feedback/index.js +4 -4
  62. package/dist/{focusModality-BISb6-yg.cjs → focusModality-D704CJVN.cjs} +1 -1
  63. package/dist/{focusModality-FoLPWF-_.js → focusModality-ROUF6YGR.js} +1 -1
  64. package/dist/forms/index.cjs +1 -1
  65. package/dist/forms/index.js +9 -9
  66. package/dist/grid/index.cjs +1 -1
  67. package/dist/grid/index.js +1 -1
  68. package/dist/host/index.cjs +1 -1
  69. package/dist/host/index.d.cts +1 -0
  70. package/dist/host/index.d.ts +1 -0
  71. package/dist/host/index.js +38 -39
  72. package/dist/host/kitHost.d.cts +8 -0
  73. package/dist/host/kitHost.d.ts +8 -0
  74. package/dist/index.cjs +1 -1
  75. package/dist/index.js +940 -938
  76. package/dist/kitHost-BMMWpU4w.js +47 -0
  77. package/dist/kitHost-u0-mKvEK.cjs +1 -0
  78. package/dist/layout/index.cjs +1 -1
  79. package/dist/layout/index.js +2 -2
  80. package/dist/mainRealmDom-BcPuVvcy.cjs +1 -0
  81. package/dist/mainRealmDom-DydRT2Us.js +54 -0
  82. package/dist/navigation/index.cjs +1 -1
  83. package/dist/navigation/index.js +1 -1
  84. package/dist/notificationCatalog-CRERhjp6.js +168 -0
  85. package/dist/notificationCatalog-DqTkd7M6.cjs +1 -0
  86. package/dist/notifications/holdWhileShown.d.cts +18 -0
  87. package/dist/notifications/holdWhileShown.d.ts +18 -0
  88. package/dist/notifications/index.cjs +1 -1
  89. package/dist/notifications/index.js +2 -2
  90. package/dist/notifications/nativeEngine.d.cts +34 -2
  91. package/dist/notifications/nativeEngine.d.ts +34 -2
  92. package/dist/notifications/notificationEntryList.d.cts +18 -5
  93. package/dist/notifications/notificationEntryList.d.ts +18 -5
  94. package/dist/overlay/Modal.d.cts +16 -3
  95. package/dist/overlay/Modal.d.ts +16 -3
  96. package/dist/overlay/index.cjs +1 -1
  97. package/dist/overlay/index.d.cts +2 -1
  98. package/dist/overlay/index.d.ts +2 -1
  99. package/dist/overlay/index.js +46 -43
  100. package/dist/overlay/modalDefaults.d.cts +23 -0
  101. package/dist/overlay/modalDefaults.d.ts +23 -0
  102. package/dist/overlay/modalViewport.d.cts +16 -2
  103. package/dist/overlay/modalViewport.d.ts +16 -2
  104. package/dist/pageTourState-BuA-GBYO.cjs +5 -0
  105. package/dist/{server/pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
  106. package/dist/rowSource-BRGZHclZ.js +1231 -0
  107. package/dist/rowSource-C3zlzAtR.cjs +1 -0
  108. package/dist/server/AttributeGrid-B9j_c2wM.js +281 -0
  109. package/dist/server/AttributeGrid-BALCTvOI.cjs +1 -0
  110. package/dist/server/Button-DHefmmYz.cjs +1 -0
  111. package/dist/server/Button-ft_8RNJj.js +226 -0
  112. package/dist/server/CommandPalette-CHdfYtxs.js +3305 -0
  113. package/dist/server/CommandPalette-D0Prl7by.cjs +1 -0
  114. package/dist/server/CopyButton-CiYcsQcI.js +64 -0
  115. package/dist/server/CopyButton-D2q7tQ0m.cjs +1 -0
  116. package/dist/server/DateRangePicker-C6wZI7No.js +487 -0
  117. package/dist/server/DateRangePicker-CF70G2yr.cjs +9 -0
  118. package/dist/server/GuidedTour-BmDAWNfN.cjs +1 -0
  119. package/dist/server/GuidedTour-DYBhprVK.js +400 -0
  120. package/dist/server/{HostPortal-C4IrAeWN.js → HostPortal-C4xdfRyM.js} +1 -1
  121. package/dist/server/{HostPortal-D5ECrJvn.cjs → HostPortal-CwyePpDX.cjs} +1 -1
  122. package/dist/server/{IconPicker-DDWgB7sm.js → IconPicker--Xso9fUf.js} +5 -5
  123. package/dist/server/IconPicker-BTI4cNgf.cjs +1 -0
  124. package/dist/server/Input-UX0Hk53M.cjs +1 -0
  125. package/dist/server/Input-V9Szcw6w.js +249 -0
  126. package/dist/server/Modal-CBnNlaTx.cjs +1 -0
  127. package/dist/server/Modal-D9CjieKK.js +426 -0
  128. package/dist/server/OverlayScrollArea-DuwGRSMm.cjs +1 -0
  129. package/dist/server/OverlayScrollArea-h6G3yk6U.js +66 -0
  130. package/dist/server/{PageSkeleton-DoxlE_bD.js → PageSkeleton-CFs7AdTA.js} +267 -266
  131. package/dist/server/PageSkeleton-D0KOKLsb.cjs +30 -0
  132. package/dist/server/Popover-BBDBIpT6.cjs +1 -0
  133. package/dist/server/Popover-e9JpRh11.js +439 -0
  134. package/dist/server/SearchableSelect-B2ZFnp6i.js +205 -0
  135. package/dist/server/SearchableSelect-BBu5cP6P.cjs +1 -0
  136. package/dist/server/{StatusBarNotificationBell-DW2l5O9B.js → StatusBarNotificationBell-CJJFE4rf.js} +4468 -4390
  137. package/dist/server/StatusBarNotificationBell-Cxs_bVKX.cjs +49 -0
  138. package/dist/server/Stepper-C04rOZcI.cjs +1 -0
  139. package/dist/server/Stepper-CVAOsf3o.js +381 -0
  140. package/dist/server/{Textarea-Bh5LVrBn.cjs → Textarea-BG6F8taO.cjs} +1 -1
  141. package/dist/server/{Textarea-DVkfGkP0.js → Textarea-DM4zpgWo.js} +1 -1
  142. package/dist/server/TimeSeriesChart-kuuqH7we.js +242 -0
  143. package/dist/server/TimeSeriesChart-tWbSF6fJ.cjs +1 -0
  144. package/dist/server/ToggleButton-BdqufQ7G.js +1344 -0
  145. package/dist/server/ToggleButton-Bo24NK3o.cjs +1 -0
  146. package/dist/server/a11y/index.cjs +1 -1
  147. package/dist/server/a11y/index.js +1 -1
  148. package/dist/server/appThemeDerivation-Be_oKljl.cjs +1 -0
  149. package/dist/{appThemeDerivation-DBAOkGl7.js → server/appThemeDerivation-CKoSe4KP.js} +231 -260
  150. package/dist/server/charts/index.cjs +1 -1
  151. package/dist/server/charts/index.js +1 -1
  152. package/dist/server/createDialogShellFocus-DvoNWpIu.cjs +1 -0
  153. package/dist/server/createDialogShellFocus-J8wqPlsa.js +370 -0
  154. package/dist/server/{createResizableSidebar-Dvu7iEk1.js → createResizableSidebar-CIrhLNKW.js} +104 -102
  155. package/dist/server/createResizableSidebar-DcZ2Cnpf.cjs +1 -0
  156. package/dist/server/desktop/index.cjs +1 -1
  157. package/dist/server/desktop/index.js +153 -152
  158. package/dist/server/feedback/index.cjs +1 -1
  159. package/dist/server/feedback/index.js +4 -4
  160. package/dist/server/{focusModality-nWNVX3JG.js → focusModality-Bu4Kuwm4.js} +1 -1
  161. package/dist/server/{focusModality-D-nxv8Er.cjs → focusModality-G2i60_7y.cjs} +1 -1
  162. package/dist/server/forms/index.cjs +1 -1
  163. package/dist/server/forms/index.js +9 -9
  164. package/dist/server/grid/index.cjs +1 -1
  165. package/dist/server/grid/index.js +1 -1
  166. package/dist/server/host/index.cjs +1 -1
  167. package/dist/server/host/index.js +38 -39
  168. package/dist/server/{index-BEARfm54.js → index-CPUZyKo7.js} +2 -2
  169. package/dist/server/{index-C6rYfWCJ.cjs → index-CVbkasNJ.cjs} +1 -1
  170. package/dist/server/index.cjs +1 -1
  171. package/dist/server/index.js +673 -671
  172. package/dist/server/kitHost-BMMWpU4w.js +47 -0
  173. package/dist/server/kitHost-u0-mKvEK.cjs +1 -0
  174. package/dist/server/layout/index.cjs +1 -1
  175. package/dist/server/layout/index.js +2 -2
  176. package/dist/server/mainRealmDom-BuGEeM_r.cjs +1 -0
  177. package/dist/server/{EmptyState-Csydyy_7.js → mainRealmDom-CzckS_ss.js} +12 -8
  178. package/dist/server/navigation/index.cjs +1 -1
  179. package/dist/server/navigation/index.js +1 -1
  180. package/dist/server/notificationCatalog-CEDltsJS.cjs +1 -0
  181. package/dist/server/notificationCatalog-Cl1dH4aJ.js +122 -0
  182. package/dist/server/notifications/index.cjs +1 -1
  183. package/dist/server/notifications/index.js +2 -2
  184. package/dist/server/overlay/index.cjs +1 -1
  185. package/dist/server/overlay/index.js +32 -29
  186. package/dist/server/pageTourState-BuA-GBYO.cjs +5 -0
  187. package/dist/{pageTourState-BcBF8w89.js → server/pageTourState-DsSKdPOu.js} +160 -169
  188. package/dist/server/rowSource-C1F4l0xZ.cjs +1 -0
  189. package/dist/server/rowSource-CoeHYNsV.js +1123 -0
  190. package/dist/server/tokens/index.cjs +1 -1
  191. package/dist/server/tokens/index.js +29 -28
  192. package/dist/server/tokens/palette/index.cjs +1 -0
  193. package/dist/server/tokens/palette/index.js +31 -0
  194. package/dist/server/tree/index.cjs +1 -1
  195. package/dist/server/tree/index.js +1 -1
  196. package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +11 -10
  197. package/dist/solid/_internal/app/onboarding/pageTourState.js +12 -23
  198. package/dist/solid/charts/TimeSeriesChart.jsx +23 -22
  199. package/dist/solid/desktop/WindowControls.jsx +6 -3
  200. package/dist/solid/feedback/Badge.jsx +9 -5
  201. package/dist/solid/feedback/ErrorBoundary.jsx +18 -14
  202. package/dist/solid/forms/Button.jsx +15 -9
  203. package/dist/solid/forms/Checkbox.jsx +5 -4
  204. package/dist/solid/forms/Combobox.jsx +12 -10
  205. package/dist/solid/forms/CopyButton.jsx +7 -4
  206. package/dist/solid/forms/DatePicker.jsx +12 -7
  207. package/dist/solid/forms/Dropzone.jsx +17 -13
  208. package/dist/solid/forms/FilePickerButton.jsx +5 -4
  209. package/dist/solid/forms/HiddenFileInput.jsx +3 -1
  210. package/dist/solid/forms/InputMessage.jsx +11 -10
  211. package/dist/solid/forms/MultiSearchableSelect.jsx +8 -7
  212. package/dist/solid/forms/NumberInput.jsx +25 -19
  213. package/dist/solid/forms/Picker.jsx +8 -6
  214. package/dist/solid/forms/PressableSurface.jsx +14 -9
  215. package/dist/solid/forms/RadioGroup.jsx +4 -3
  216. package/dist/solid/forms/SearchInput.jsx +4 -3
  217. package/dist/solid/forms/SearchableSelect.jsx +4 -3
  218. package/dist/solid/forms/SegmentedControl.jsx +4 -3
  219. package/dist/solid/forms/TagInput.jsx +22 -16
  220. package/dist/solid/forms/ToggleButton.jsx +4 -3
  221. package/dist/solid/forms/date-range-picker/DateRangePicker.jsx +12 -10
  222. package/dist/solid/grid/Pagination.jsx +7 -3
  223. package/dist/solid/host/kitHost.jsx +5 -1
  224. package/dist/solid/layout/PageHeaderIcon.jsx +11 -9
  225. package/dist/solid/layout/ResizableSplitPane.jsx +4 -4
  226. package/dist/solid/layout/ResizeHandle.jsx +6 -5
  227. package/dist/solid/navigation/Accordion.jsx +8 -5
  228. package/dist/solid/navigation/Tabs.jsx +11 -8
  229. package/dist/solid/notifications/NotificationItem.jsx +59 -55
  230. package/dist/solid/notifications/NotificationPanel.jsx +16 -8
  231. package/dist/solid/notifications/NotificationsCenter.jsx +2 -0
  232. package/dist/solid/notifications/StatusBarNotificationBell.jsx +4 -3
  233. package/dist/solid/notifications/createNotificationPreviewRuntime.js +2 -0
  234. package/dist/solid/notifications/holdWhileShown.js +30 -0
  235. package/dist/solid/notifications/nativeEngine.js +52 -1
  236. package/dist/solid/notifications/notificationEntryList.js +25 -9
  237. package/dist/solid/notifications/toast.js +4 -0
  238. package/dist/solid/overlay/ConfirmDialog.jsx +21 -16
  239. package/dist/solid/overlay/DangerousActionDialogParts.jsx +5 -3
  240. package/dist/solid/overlay/Disclosure.jsx +4 -3
  241. package/dist/solid/overlay/DropdownMenu.jsx +6 -4
  242. package/dist/solid/overlay/FloatingWindow.jsx +3 -3
  243. package/dist/solid/overlay/HoverTooltip.jsx +9 -7
  244. package/dist/solid/overlay/Modal.jsx +44 -35
  245. package/dist/solid/overlay/OverlayScrollArea.jsx +5 -3
  246. package/dist/solid/overlay/Tooltip.jsx +5 -4
  247. package/dist/solid/overlay/command-palette/CommandPalette.jsx +7 -7
  248. package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +65 -50
  249. package/dist/solid/overlay/index.js +2 -1
  250. package/dist/solid/overlay/menu/MenuParts.jsx +11 -8
  251. package/dist/solid/overlay/modalDefaults.jsx +10 -0
  252. package/dist/solid/overlay/modalViewport.js +17 -4
  253. package/dist/solid/overlay/popover/Popover.jsx +17 -11
  254. package/dist/solid/overlay/tour/GuidedTour.jsx +18 -14
  255. package/dist/solid/tokens/palette/index.js +1 -0
  256. package/dist/solid/tree/TreeRow.jsx +19 -16
  257. package/dist/solid/tree/TreeSurface.jsx +15 -14
  258. package/dist/solid/widgets/SettingsField.jsx +11 -10
  259. package/dist/style.css +3 -2
  260. package/dist/theme.css +2 -1
  261. package/dist/tokens/index.cjs +1 -1
  262. package/dist/tokens/index.js +29 -28
  263. package/dist/tokens/palette/index.cjs +1 -0
  264. package/dist/tokens/palette/index.d.cts +12 -0
  265. package/dist/tokens/palette/index.d.ts +12 -0
  266. package/dist/tokens/palette/index.js +31 -0
  267. package/dist/tokens/tokens.css +2 -1
  268. package/dist/tree/index.cjs +1 -1
  269. package/dist/tree/index.js +1 -1
  270. package/dist/ui.css +1 -1
  271. package/package.json +25 -1
  272. package/dist/AttributeGrid-Ch1k9v5j.cjs +0 -1
  273. package/dist/AttributeGrid-DqFd4gBm.js +0 -320
  274. package/dist/Button-OyZHrl-t.cjs +0 -1
  275. package/dist/CommandPalette-CxYZUJtN.cjs +0 -2
  276. package/dist/CommandPalette-DwOp8y1-.js +0 -4018
  277. package/dist/CopyButton-16QNPgz6.cjs +0 -1
  278. package/dist/CopyButton-BVS49lMS.js +0 -63
  279. package/dist/DateRangePicker-8QvydugY.js +0 -550
  280. package/dist/DateRangePicker-DI-06xWY.cjs +0 -9
  281. package/dist/EmptyState-B9TxGJ5v.cjs +0 -1
  282. package/dist/EmptyState-Dph6HU74.js +0 -50
  283. package/dist/GuidedTour-DUQwdW8n.cjs +0 -1
  284. package/dist/GuidedTour-DXMmHn0o.js +0 -483
  285. package/dist/IconPicker-Q-ZDtNkd.cjs +0 -1
  286. package/dist/Input-Brp5EDhg.cjs +0 -1
  287. package/dist/Input-CZi8KEfm.js +0 -374
  288. package/dist/Modal-CBi7Wd2V.cjs +0 -1
  289. package/dist/Modal-iyY1HUtr.js +0 -588
  290. package/dist/OverlayScrollArea-BSlaXG1h.cjs +0 -1
  291. package/dist/OverlayScrollArea-c8Za77qs.js +0 -180
  292. package/dist/PageSkeleton-B_-4fz1q.cjs +0 -30
  293. package/dist/Popover-DVi179wu.js +0 -207
  294. package/dist/Popover-DXrczbt9.cjs +0 -1
  295. package/dist/SearchableSelect-DtHbWJhR.js +0 -328
  296. package/dist/SearchableSelect-yLVqCGFo.cjs +0 -1
  297. package/dist/StatusBarNotificationBell-DQs5g1K6.cjs +0 -50
  298. package/dist/Stepper-CyRgzWlR.js +0 -583
  299. package/dist/Stepper-u2ZsE5oP.cjs +0 -1
  300. package/dist/TimeSeriesChart-D7lIqolp.js +0 -441
  301. package/dist/TimeSeriesChart-DGzM9B--.cjs +0 -1
  302. package/dist/ToggleButton-B22PsCqo.js +0 -2138
  303. package/dist/ToggleButton-DWslrIBN.cjs +0 -1
  304. package/dist/appThemeDerivation-BylmT80v.cjs +0 -1
  305. package/dist/createDialogShellFocus-CQ0VNC2g.cjs +0 -1
  306. package/dist/createDialogShellFocus-DbiQmLgb.js +0 -282
  307. package/dist/createResizableSidebar-COlpGQ7H.cjs +0 -1
  308. package/dist/createResizableSidebar-cmCKTIg_.js +0 -504
  309. package/dist/kitHost-BfJExE1G.cjs +0 -1
  310. package/dist/kitHost-CVAEi9sF.js +0 -23
  311. package/dist/mainRealmDom-B215swW-.js +0 -166
  312. package/dist/mainRealmDom-BYGSE-fo.cjs +0 -1
  313. package/dist/pageTourState-CrbEU7QW.cjs +0 -5
  314. package/dist/rowSource-D__7o4h0.js +0 -1230
  315. package/dist/rowSource-DiwTu_r8.cjs +0 -1
  316. package/dist/server/AttributeGrid-Bpjlauuz.js +0 -281
  317. package/dist/server/AttributeGrid-DNYdKb8J.cjs +0 -1
  318. package/dist/server/Button-0AXWRw9Q.cjs +0 -1
  319. package/dist/server/Button-3yNrnn4P.js +0 -220
  320. package/dist/server/CommandPalette-BuVxnqBG.cjs +0 -1
  321. package/dist/server/CommandPalette-Dn3NKXPM.js +0 -3291
  322. package/dist/server/CopyButton-B6xd9Z6j.js +0 -64
  323. package/dist/server/CopyButton-D8IN6Vnd.cjs +0 -1
  324. package/dist/server/DateRangePicker-BFzNjaME.cjs +0 -9
  325. package/dist/server/DateRangePicker-CnYkTgXX.js +0 -484
  326. package/dist/server/EmptyState-BnAHklc5.cjs +0 -1
  327. package/dist/server/GuidedTour-BZardPYW.js +0 -400
  328. package/dist/server/GuidedTour-yhdZk2SU.cjs +0 -1
  329. package/dist/server/IconPicker-C5lAN9pX.cjs +0 -1
  330. package/dist/server/Input-AdF-i0O8.js +0 -245
  331. package/dist/server/Input-XF9Jr0G9.cjs +0 -1
  332. package/dist/server/Modal-C5dzgcRW.js +0 -420
  333. package/dist/server/Modal-nAhBS1L9.cjs +0 -1
  334. package/dist/server/OverlayScrollArea-221dfKyz.js +0 -65
  335. package/dist/server/OverlayScrollArea-D4e9D9Nd.cjs +0 -1
  336. package/dist/server/PageSkeleton-DBo7hQq-.cjs +0 -30
  337. package/dist/server/Popover-C5avmGWz.cjs +0 -1
  338. package/dist/server/Popover-H3AAYZI0.js +0 -439
  339. package/dist/server/SearchableSelect-CZrXDKfC.cjs +0 -1
  340. package/dist/server/SearchableSelect-DMqed5Er.js +0 -205
  341. package/dist/server/StatusBarNotificationBell-CGcMdT4h.cjs +0 -49
  342. package/dist/server/Stepper-CpapA_WH.cjs +0 -1
  343. package/dist/server/Stepper-gGA7JwjV.js +0 -375
  344. package/dist/server/TimeSeriesChart-BQVXUFoj.cjs +0 -1
  345. package/dist/server/TimeSeriesChart-PAb95s6x.js +0 -242
  346. package/dist/server/ToggleButton-CA9T-OsI.cjs +0 -1
  347. package/dist/server/ToggleButton-CBNKajZa.js +0 -1335
  348. package/dist/server/appThemeDerivation-BylmT80v.cjs +0 -1
  349. package/dist/server/createDialogShellFocus-CDaLuPg8.cjs +0 -1
  350. package/dist/server/createDialogShellFocus-LGDBOVnr.js +0 -369
  351. package/dist/server/createResizableSidebar-v40ZOb-Q.cjs +0 -1
  352. package/dist/server/kitHost-BfJExE1G.cjs +0 -1
  353. package/dist/server/kitHost-CVAEi9sF.js +0 -23
  354. package/dist/server/mainRealmDom-DPNaDWtw.js +0 -121
  355. package/dist/server/mainRealmDom-DwZVMPnO.cjs +0 -1
  356. package/dist/server/pageTourState-CrbEU7QW.cjs +0 -5
  357. package/dist/server/rowSource-D-wcDmFU.js +0 -1122
  358. package/dist/server/rowSource-DltiY0o3.cjs +0 -1
@@ -0,0 +1,47 @@
1
+ import { createComponent as e } from "solid-js/web";
2
+ import { createContext as r, useContext as o } from "solid-js";
3
+ import { B as s } from "./bugIndicatingError-h3J5qkL6.js";
4
+ const n = r({});
5
+ function a(t) {
6
+ return e(n.Provider, {
7
+ get value() {
8
+ return t.value;
9
+ },
10
+ get children() {
11
+ return t.children;
12
+ }
13
+ });
14
+ }
15
+ function d() {
16
+ return o(n);
17
+ }
18
+ const i = r();
19
+ function v(t) {
20
+ const u = d();
21
+ return e(i.Provider, {
22
+ get value() {
23
+ return t.host;
24
+ },
25
+ get children() {
26
+ return e(a, {
27
+ get value() {
28
+ return t.modals ?? u;
29
+ },
30
+ get children() {
31
+ return t.children;
32
+ }
33
+ });
34
+ }
35
+ });
36
+ }
37
+ function f() {
38
+ const t = o(i);
39
+ if (t === void 0) throw new s("useKitHost: this component has no KitHostProvider above it — wrap its root in <KitHostProvider host={…}>.");
40
+ return t;
41
+ }
42
+ export {
43
+ v as K,
44
+ a as M,
45
+ d as a,
46
+ f as u
47
+ };
@@ -0,0 +1 @@
1
+ "use strict";const r=require("solid-js/web"),e=require("solid-js"),a=require("./bugIndicatingError-D2X5Hfgg.cjs"),o=e.createContext({});function n(t){return r.createComponent(o.Provider,{get value(){return t.value},get children(){return t.children}})}function i(){return e.useContext(o)}const u=e.createContext();function c(t){const s=i();return r.createComponent(u.Provider,{get value(){return t.host},get children(){return r.createComponent(n,{get value(){return t.modals??s},get children(){return t.children}})}})}function d(){const t=e.useContext(u);if(t===void 0)throw new a.BugIndicatingError("useKitHost: this component has no KitHostProvider above it — wrap its root in <KitHostProvider host={…}>.");return t}exports.KitHostProvider=c;exports.ModalDefaultsProvider=n;exports.useKitHost=d;exports.useModalDefaults=i;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-COlpGQ7H.cjs"),r=require("../Stepper-u2ZsE5oP.cjs"),a=require("../createVirtualWindow-C8_UuF7B.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.createResizableSidebar=e.createResizableSidebar;exports.createVirtualScroller=e.createVirtualScroller;exports.Accordion=r.Accordion;exports.Breadcrumb=r.Breadcrumb;exports.Stepper=r.Stepper;exports.Tabs=r.Tabs;exports.createVirtualWindow=a.createVirtualWindow;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../createResizableSidebar-DlVAuq5t.cjs"),r=require("../Stepper-rpu7lpzB.cjs"),a=require("../createVirtualWindow-C8_UuF7B.cjs");exports.PageHeader=e.PageHeader;exports.PageHeaderIcon=e.PageHeaderIcon;exports.ResizableSplitPane=e.ResizableSplitPane;exports.ResizeHandle=e.ResizeHandle;exports.createResizableSidebar=e.createResizableSidebar;exports.createVirtualScroller=e.createVirtualScroller;exports.Accordion=r.Accordion;exports.Breadcrumb=r.Breadcrumb;exports.Stepper=r.Stepper;exports.Tabs=r.Tabs;exports.createVirtualWindow=a.createVirtualWindow;
@@ -1,5 +1,5 @@
1
- import { P as r, a as s, R as o, b as c, c as t, d as i } from "../createResizableSidebar-cmCKTIg_.js";
2
- import { A as l, B as b, S as p, T as n } from "../Stepper-CyRgzWlR.js";
1
+ import { P as r, a as s, R as o, b as c, c as t, d as i } from "../createResizableSidebar--Ve6DbDu.js";
2
+ import { A as l, B as b, S as p, T as n } from "../Stepper-DzI-gtKd.js";
3
3
  import { c as m } from "../createVirtualWindow-CGPw2jm_.js";
4
4
  export {
5
5
  l as Accordion,
@@ -0,0 +1 @@
1
+ "use strict";const t=require("solid-js/web"),l=require("solid-js"),s="vk_root_hnB4O",m="vk_sm_rCrHH",_="vk_icon_CC9U3",u="vk_title_aimU- vk_titleSmMargin_PPvAx",v="vk_hint_r7IWi vk_hintSm_DYtn8",h="vk_action_05ZVL",r={root:s,sm:m,icon:_,title:u,hint:v,action:h};var d=t.template("<div aria-hidden=true>"),f=t.template("<p>"),$=t.template("<div>"),k=t.template("<div data-empty-state><p>");function g(n){return(()=>{var i=k(),c=i.firstChild;return t.insert(i,t.createComponent(l.Show,{get when(){return n.icon!=null},get children(){var e=d();return t.insert(e,()=>n.icon),t.effect(()=>t.className(e,r.icon)),e}}),c),t.insert(c,()=>n.title),t.insert(i,t.createComponent(l.Show,{get when(){return n.hint!=null},get children(){var e=f();return t.insert(e,()=>n.hint),t.effect(()=>t.className(e,r.hint)),e}}),null),t.insert(i,t.createComponent(l.Show,{get when(){return n.action!=null},get children(){var e=$();return t.insert(e,()=>n.action),t.effect(()=>t.className(e,r.action)),e}}),null),t.effect(e=>{var a=`${r.root} ${n.size==="sm"?r.sm:""} ${n.class??""}`,o=r.title;return a!==e.e&&t.className(i,e.e=a),o!==e.t&&t.className(c,e.t=o),e},{e:void 0,t:void 0}),i})()}function w(n){return document.createElement(n)}exports.EmptyState=g;exports.createElement=w;
@@ -0,0 +1,54 @@
1
+ import { insert as n, createComponent as m, effect as c, className as l, template as o } from "solid-js/web";
2
+ import { Show as _ } from "solid-js";
3
+ const h = "vk_root_hnB4O", s = "vk_sm_rCrHH", d = "vk_icon_CC9U3", $ = "vk_title_aimU- vk_titleSmMargin_PPvAx", k = "vk_hint_r7IWi vk_hintSm_DYtn8", f = "vk_action_05ZVL", r = {
4
+ root: h,
5
+ sm: s,
6
+ icon: d,
7
+ title: $,
8
+ hint: k,
9
+ action: f
10
+ };
11
+ var g = /* @__PURE__ */ o("<div aria-hidden=true>"), C = /* @__PURE__ */ o("<p>"), w = /* @__PURE__ */ o("<div>"), E = /* @__PURE__ */ o("<div data-empty-state><p>");
12
+ function x(e) {
13
+ return (() => {
14
+ var i = E(), a = i.firstChild;
15
+ return n(i, m(_, {
16
+ get when() {
17
+ return e.icon != null;
18
+ },
19
+ get children() {
20
+ var t = g();
21
+ return n(t, () => e.icon), c(() => l(t, r.icon)), t;
22
+ }
23
+ }), a), n(a, () => e.title), n(i, m(_, {
24
+ get when() {
25
+ return e.hint != null;
26
+ },
27
+ get children() {
28
+ var t = C();
29
+ return n(t, () => e.hint), c(() => l(t, r.hint)), t;
30
+ }
31
+ }), null), n(i, m(_, {
32
+ get when() {
33
+ return e.action != null;
34
+ },
35
+ get children() {
36
+ var t = w();
37
+ return n(t, () => e.action), c(() => l(t, r.action)), t;
38
+ }
39
+ }), null), c((t) => {
40
+ var v = `${r.root} ${e.size === "sm" ? r.sm : ""} ${e.class ?? ""}`, u = r.title;
41
+ return v !== t.e && l(i, t.e = v), u !== t.t && l(a, t.t = u), t;
42
+ }, {
43
+ e: void 0,
44
+ t: void 0
45
+ }), i;
46
+ })();
47
+ }
48
+ function H(e) {
49
+ return document.createElement(e);
50
+ }
51
+ export {
52
+ x as E,
53
+ H as c
54
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-u2ZsE5oP.cjs"),a=require("../tablistKeyboard-DtVKTEWz.cjs"),t=require("../createSelectionIndicator-DaZspPf1.cjs");exports.Accordion=e.Accordion;exports.Breadcrumb=e.Breadcrumb;exports.Stepper=e.Stepper;exports.Tabs=e.Tabs;exports.tabId=e.tabId;exports.tabPanelAria=e.tabPanelAria;exports.tabPanelId=e.tabPanelId;exports.createTablistKeyboardHandler=a.createTablistKeyboardHandler;exports.isTablistNavigationKey=a.isTablistNavigationKey;exports.resolveTablistNavigationTarget=a.resolveTablistNavigationTarget;exports.rovingTabIndex=a.rovingTabIndex;exports.createSelectionIndicator=t.createSelectionIndicator;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-rpu7lpzB.cjs"),a=require("../tablistKeyboard-DtVKTEWz.cjs"),t=require("../createSelectionIndicator-DaZspPf1.cjs");exports.Accordion=e.Accordion;exports.Breadcrumb=e.Breadcrumb;exports.Stepper=e.Stepper;exports.Tabs=e.Tabs;exports.tabId=e.tabId;exports.tabPanelAria=e.tabPanelAria;exports.tabPanelId=e.tabPanelId;exports.createTablistKeyboardHandler=a.createTablistKeyboardHandler;exports.isTablistNavigationKey=a.isTablistNavigationKey;exports.resolveTablistNavigationTarget=a.resolveTablistNavigationTarget;exports.rovingTabIndex=a.rovingTabIndex;exports.createSelectionIndicator=t.createSelectionIndicator;
@@ -1,4 +1,4 @@
1
- import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-CyRgzWlR.js";
1
+ import { A as r, B as s, S as t, T as o, t as i, a as b, b as n } from "../Stepper-DzI-gtKd.js";
2
2
  import { c as d, i as l, r as T, a as p } from "../tablistKeyboard-AxJcXuc5.js";
3
3
  import { c as m } from "../createSelectionIndicator-BnxXUMlT.js";
4
4
  export {
@@ -0,0 +1,168 @@
1
+ import { use as B, insert as f, createComponent as b, effect as m, className as d, memo as D, style as x, setAttribute as c, template as W, delegateEvents as w } from "solid-js/web";
2
+ import { createUniqueId as y, createMemo as C, onCleanup as I, Show as S } from "solid-js";
3
+ import { r as L, t as z, h as M } from "./nativeTitleHold-A9jUISgQ.js";
4
+ const A = "vk_badge_H207K", X = "vk_icon_pYYcO", E = "vk_dot_rH6r0", H = "vk_sm_wGIZ-", P = "vk_minWidth_COglg", O = "vk_uppercase_VXoV8", V = "vk_toneNeutral_X8HW3", j = "vk_toneBrand_yGkjl", q = "vk_toneInfo_wp-9H", F = "vk_toneSuccess_VG8jt", R = "vk_toneWarning_zPFLO", G = "vk_toneDanger_cRUoq", K = "vk_soft_8b-4T", U = "vk_outline_gFFWD", Q = "vk_collapsible_DMKBX", Y = "vk_label_veC9k", a = {
5
+ badge: A,
6
+ icon: X,
7
+ dot: E,
8
+ sm: H,
9
+ minWidth: P,
10
+ uppercase: O,
11
+ toneNeutral: V,
12
+ toneBrand: j,
13
+ toneInfo: q,
14
+ toneSuccess: F,
15
+ toneWarning: R,
16
+ toneDanger: G,
17
+ soft: K,
18
+ outline: U,
19
+ collapsible: Q,
20
+ label: Y
21
+ };
22
+ var N = /* @__PURE__ */ W("<span aria-hidden=true>"), $ = /* @__PURE__ */ W("<span>");
23
+ const Z = {
24
+ neutral: a.toneNeutral,
25
+ brand: a.toneBrand,
26
+ info: a.toneInfo,
27
+ success: a.toneSuccess,
28
+ warning: a.toneWarning,
29
+ danger: a.toneDanger
30
+ }, J = {
31
+ soft: a.soft,
32
+ outline: a.outline
33
+ };
34
+ function ke(e) {
35
+ let i;
36
+ const l = y(), s = () => e.tooltip !== void 0 ? typeof e.tooltip == "function" ? e.tooltip() : e.tooltip : e.title, g = C(() => ({
37
+ content: s(),
38
+ placement: e.tooltipPlacement
39
+ })), n = () => {
40
+ const {
41
+ content: o,
42
+ placement: t
43
+ } = g();
44
+ !o || !i || (M(i), z.showTooltip({
45
+ id: l,
46
+ target: i,
47
+ content: o,
48
+ placement: t
49
+ }));
50
+ }, v = () => {
51
+ i && (L(i), z.hideTooltip(i));
52
+ };
53
+ I(() => {
54
+ i && z.hideTooltip(i);
55
+ });
56
+ const k = () => [a.badge, Z[e.tone ?? "neutral"], J[e.variant ?? "soft"], e.size === "sm" ? a.sm : void 0, e.uppercase ? a.uppercase : void 0, e.minWidth ? a.minWidth : void 0, e.collapsible === !0 ? a.collapsible : void 0, e.class].filter((o) => !!o).join(" ");
57
+ return (() => {
58
+ var o = $();
59
+ return o.$$focusout = v, o.$$focusin = n, o.addEventListener("pointerleave", v), o.addEventListener("pointerenter", n), B((t) => i = t, o), f(o, b(S, {
60
+ get when() {
61
+ return e.icon !== void 0;
62
+ },
63
+ get children() {
64
+ var t = N();
65
+ return f(t, () => e.icon), m(() => d(t, a.icon)), t;
66
+ }
67
+ }), null), f(o, b(S, {
68
+ get when() {
69
+ return D(() => e.collapsible === !0)() && e.icon === void 0;
70
+ },
71
+ get children() {
72
+ var t = N();
73
+ return m(() => d(t, a.dot)), t;
74
+ }
75
+ }), null), f(o, b(S, {
76
+ get when() {
77
+ return e.collapsible === !0;
78
+ },
79
+ get fallback() {
80
+ return e.children;
81
+ },
82
+ get children() {
83
+ var t = $();
84
+ return f(t, () => e.children), m(() => d(t, a.label)), t;
85
+ }
86
+ }), null), m((t) => {
87
+ var u = k(), h = e.style, _ = e.title;
88
+ return u !== t.e && d(o, t.e = u), t.t = x(o, h, t.t), _ !== t.a && c(o, "title", t.a = _), t;
89
+ }, {
90
+ e: void 0,
91
+ t: void 0,
92
+ a: void 0
93
+ }), o;
94
+ })();
95
+ }
96
+ w(["focusin", "focusout"]);
97
+ const p = "vk_track_8sxq6", ee = "vk_size2xs_PFVQU", te = "vk_sizeXs_uv795", ne = "vk_sizeSm_PXflS", oe = "vk_sizeMd_D7fn9", ie = "vk_fill_WzdHy", ae = "vk_toneBrand_Tv6r-", se = "vk_toneSuccess_zqjLa", re = "vk_toneWarning_xuA11", le = "vk_toneDanger_eWHhk", ce = "vk_toneNeutral_-Ko2R", de = "vk_indeterminate_94QkD", r = {
98
+ track: p,
99
+ size2xs: ee,
100
+ sizeXs: te,
101
+ sizeSm: ne,
102
+ sizeMd: oe,
103
+ fill: ie,
104
+ toneBrand: ae,
105
+ toneSuccess: se,
106
+ toneWarning: re,
107
+ toneDanger: le,
108
+ toneNeutral: ce,
109
+ indeterminate: de
110
+ };
111
+ var ve = /* @__PURE__ */ W("<div role=progressbar><span>");
112
+ const ue = {
113
+ brand: r.toneBrand,
114
+ success: r.toneSuccess,
115
+ warning: r.toneWarning,
116
+ danger: r.toneDanger,
117
+ neutral: r.toneNeutral
118
+ }, _e = {
119
+ "2xs": r.size2xs,
120
+ xs: r.sizeXs,
121
+ sm: r.sizeSm,
122
+ md: r.sizeMd
123
+ };
124
+ function he(e) {
125
+ const i = () => {
126
+ if (e.indeterminate) return 0;
127
+ const s = e.max ?? 100;
128
+ return s <= 0 ? 0 : Math.max(0, Math.min(100, e.value / s * 100));
129
+ }, l = () => e.indeterminate === !0;
130
+ return (() => {
131
+ var s = ve(), g = s.firstChild;
132
+ return m((n) => {
133
+ var v = `${r.track} ${_e[e.size ?? "md"]} ${ue[e.tone ?? "brand"]} ${l() ? r.indeterminate : ""} ${e.class ?? ""}`, k = l() ? void 0 : Math.round(i()), o = l() ? void 0 : 0, t = l() ? void 0 : 100, u = l() ? "true" : void 0, h = e.ariaLabel, _ = r.fill, T = l() ? void 0 : {
134
+ "--progress-pct": `${i()}%`
135
+ };
136
+ return v !== n.e && d(s, n.e = v), k !== n.t && c(s, "aria-valuenow", n.t = k), o !== n.a && c(s, "aria-valuemin", n.a = o), t !== n.o && c(s, "aria-valuemax", n.o = t), u !== n.i && c(s, "aria-busy", n.i = u), h !== n.n && c(s, "aria-label", n.n = h), _ !== n.s && d(g, n.s = _), n.h = x(g, T, n.h), n;
137
+ }, {
138
+ e: void 0,
139
+ t: void 0,
140
+ a: void 0,
141
+ o: void 0,
142
+ i: void 0,
143
+ n: void 0,
144
+ s: void 0,
145
+ h: void 0
146
+ }), s;
147
+ })();
148
+ }
149
+ function be(e, i) {
150
+ return {
151
+ ...e,
152
+ category: e.category ?? e.id.split(".")[0] ?? "general",
153
+ build: i
154
+ };
155
+ }
156
+ function Se(e, i, l) {
157
+ return {
158
+ id: e,
159
+ notification: i,
160
+ resolve: (s) => i.build(l, s)
161
+ };
162
+ }
163
+ export {
164
+ ke as B,
165
+ he as P,
166
+ Se as a,
167
+ be as d
168
+ };
@@ -0,0 +1 @@
1
+ "use strict";const t=require("solid-js/web"),d=require("solid-js"),f=require("./nativeTitleHold-B7Ou-W9b.cjs"),N="vk_badge_H207K",z="vk_icon_pYYcO",W="vk_dot_rH6r0",$="vk_sm_wGIZ-",w="vk_minWidth_COglg",C="vk_uppercase_VXoV8",T="vk_toneNeutral_X8HW3",A="vk_toneBrand_yGkjl",x="vk_toneInfo_wp-9H",B="vk_toneSuccess_VG8jt",D="vk_toneWarning_zPFLO",y="vk_toneDanger_cRUoq",I="vk_soft_8b-4T",L="vk_outline_gFFWD",M="vk_collapsible_DMKBX",X="vk_label_veC9k",s={badge:N,icon:z,dot:W,sm:$,minWidth:w,uppercase:C,toneNeutral:T,toneBrand:A,toneInfo:x,toneSuccess:B,toneWarning:D,toneDanger:y,soft:I,outline:L,collapsible:M,label:X};var b=t.template("<span aria-hidden=true>"),h=t.template("<span>");const q={neutral:s.toneNeutral,brand:s.toneBrand,info:s.toneInfo,success:s.toneSuccess,warning:s.toneWarning,danger:s.toneDanger},H={soft:s.soft,outline:s.outline};function E(e){let a;const c=d.createUniqueId(),r=()=>e.tooltip!==void 0?typeof e.tooltip=="function"?e.tooltip():e.tooltip:e.title,m=d.createMemo(()=>({content:r(),placement:e.tooltipPlacement})),o=()=>{const{content:i,placement:n}=m();!i||!a||(f.holdNativeTitle(a),f.tooltipCoordinator.showTooltip({id:c,target:a,content:i,placement:n}))},u=()=>{a&&(f.releaseNativeTitle(a),f.tooltipCoordinator.hideTooltip(a))};d.onCleanup(()=>{a&&f.tooltipCoordinator.hideTooltip(a)});const g=()=>[s.badge,q[e.tone??"neutral"],H[e.variant??"soft"],e.size==="sm"?s.sm:void 0,e.uppercase?s.uppercase:void 0,e.minWidth?s.minWidth:void 0,e.collapsible===!0?s.collapsible:void 0,e.class].filter(i=>!!i).join(" ");return(()=>{var i=h();return i.$$focusout=u,i.$$focusin=o,i.addEventListener("pointerleave",u),i.addEventListener("pointerenter",o),t.use(n=>a=n,i),t.insert(i,t.createComponent(d.Show,{get when(){return e.icon!==void 0},get children(){var n=b();return t.insert(n,()=>e.icon),t.effect(()=>t.className(n,s.icon)),n}}),null),t.insert(i,t.createComponent(d.Show,{get when(){return t.memo(()=>e.collapsible===!0)()&&e.icon===void 0},get children(){var n=b();return t.effect(()=>t.className(n,s.dot)),n}}),null),t.insert(i,t.createComponent(d.Show,{get when(){return e.collapsible===!0},get fallback(){return e.children},get children(){var n=h();return t.insert(n,()=>e.children),t.effect(()=>t.className(n,s.label)),n}}),null),t.effect(n=>{var v=g(),k=e.style,_=e.title;return v!==n.e&&t.className(i,n.e=v),n.t=t.style(i,k,n.t),_!==n.a&&t.setAttribute(i,"title",n.a=_),n},{e:void 0,t:void 0,a:void 0}),i})()}t.delegateEvents(["focusin","focusout"]);const P="vk_track_8sxq6",O="vk_size2xs_PFVQU",V="vk_sizeXs_uv795",j="vk_sizeSm_PXflS",F="vk_sizeMd_D7fn9",R="vk_fill_WzdHy",G="vk_toneBrand_Tv6r-",K="vk_toneSuccess_zqjLa",U="vk_toneWarning_xuA11",Q="vk_toneDanger_eWHhk",Y="vk_toneNeutral_-Ko2R",Z="vk_indeterminate_94QkD",l={track:P,size2xs:O,sizeXs:V,sizeSm:j,sizeMd:F,fill:R,toneBrand:G,toneSuccess:K,toneWarning:U,toneDanger:Q,toneNeutral:Y,indeterminate:Z};var J=t.template("<div role=progressbar><span>");const p={brand:l.toneBrand,success:l.toneSuccess,warning:l.toneWarning,danger:l.toneDanger,neutral:l.toneNeutral},ee={"2xs":l.size2xs,xs:l.sizeXs,sm:l.sizeSm,md:l.sizeMd};function te(e){const a=()=>{if(e.indeterminate)return 0;const r=e.max??100;return r<=0?0:Math.max(0,Math.min(100,e.value/r*100))},c=()=>e.indeterminate===!0;return(()=>{var r=J(),m=r.firstChild;return t.effect(o=>{var u=`${l.track} ${ee[e.size??"md"]} ${p[e.tone??"brand"]} ${c()?l.indeterminate:""} ${e.class??""}`,g=c()?void 0:Math.round(a()),i=c()?void 0:0,n=c()?void 0:100,v=c()?"true":void 0,k=e.ariaLabel,_=l.fill,S=c()?void 0:{"--progress-pct":`${a()}%`};return u!==o.e&&t.className(r,o.e=u),g!==o.t&&t.setAttribute(r,"aria-valuenow",o.t=g),i!==o.a&&t.setAttribute(r,"aria-valuemin",o.a=i),n!==o.o&&t.setAttribute(r,"aria-valuemax",o.o=n),v!==o.i&&t.setAttribute(r,"aria-busy",o.i=v),k!==o.n&&t.setAttribute(r,"aria-label",o.n=k),_!==o.s&&t.className(m,o.s=_),o.h=t.style(m,S,o.h),o},{e:void 0,t:void 0,a:void 0,o:void 0,i:void 0,n:void 0,s:void 0,h:void 0}),r})()}function ne(e,a){return{...e,category:e.category??e.id.split(".")[0]??"general",build:a}}function oe(e,a,c){return{id:e,notification:a,resolve:r=>a.build(c,r)}}exports.Badge=E;exports.Progress=te;exports.defineNotification=ne;exports.defineNotificationScenario=oe;
@@ -0,0 +1,18 @@
1
+ import type { IDisposable } from '../_internal/base/lifecycle.cjs';
2
+ /**
3
+ * Whether the user can see an element's frame: it is laid out with an area. An element under a `display: none`
4
+ * ancestor has no box; one in a pane collapsed to no width or height has no area.
5
+ */
6
+ export declare function hasShownBox(element: Element): boolean;
7
+ /**
8
+ * Holds what `hold` returns while `element` is shown ({@link hasShownBox}) and disposes it while it is not, following
9
+ * the element's box with a `ResizeObserver` of the element's own window: a box that goes (a `display: none` ancestor,
10
+ * a collapsed pane) or comes back changes its size, and the observer reports it before the next paint. The state is
11
+ * read once when this is called. Returns the stop: it disconnects the observer and disposes what is held.
12
+ *
13
+ * The reference marks a center's notifications visible at the moment it shows and hidden at the moment it hides
14
+ * (`workbench/browser/parts/notifications/notificationsCenter.ts:180`, `:378`); a component that a host lays out —
15
+ * and may keep mounted where the user does not see it — finds those moments in its own box, so no host has to tell
16
+ * it.
17
+ */
18
+ export declare function holdWhileShown(element: Element, hold: () => IDisposable): () => void;
@@ -0,0 +1,18 @@
1
+ import type { IDisposable } from '../_internal/base/lifecycle.js';
2
+ /**
3
+ * Whether the user can see an element's frame: it is laid out with an area. An element under a `display: none`
4
+ * ancestor has no box; one in a pane collapsed to no width or height has no area.
5
+ */
6
+ export declare function hasShownBox(element: Element): boolean;
7
+ /**
8
+ * Holds what `hold` returns while `element` is shown ({@link hasShownBox}) and disposes it while it is not, following
9
+ * the element's box with a `ResizeObserver` of the element's own window: a box that goes (a `display: none` ancestor,
10
+ * a collapsed pane) or comes back changes its size, and the observer reports it before the next paint. The state is
11
+ * read once when this is called. Returns the stop: it disconnects the observer and disposes what is held.
12
+ *
13
+ * The reference marks a center's notifications visible at the moment it shows and hidden at the moment it hides
14
+ * (`workbench/browser/parts/notifications/notificationsCenter.ts:180`, `:378`); a component that a host lays out —
15
+ * and may keep mounted where the user does not see it — finds those moments in its own box, so no host has to tell
16
+ * it.
17
+ */
18
+ export declare function holdWhileShown(element: Element, hold: () => IDisposable): () => void;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../StatusBarNotificationBell-DQs5g1K6.cjs"),e=require("../mainRealmDom-BYGSE-fo.cjs"),t=require("../useSettingsSubscription-DKjCwmRd.cjs");exports.ACCEPT_PRIMARY_ACTION_NOTIFICATION=i.ACCEPT_PRIMARY_ACTION_NOTIFICATION;exports.CLEAR_NOTIFICATION=i.CLEAR_NOTIFICATION;exports.HIDE_NOTIFICATION_TOASTS=i.HIDE_NOTIFICATION_TOASTS;exports.LogFilterBar=i.LogFilterBar;exports.NOTIFICATION_SOURCES=i.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=i.NOTIFICATION_SOURCE_IDS;exports.NO_NOTIFICATION_OVERLAY=i.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=i.NotificationHost;exports.NotificationItem=i.NotificationItem;exports.NotificationPanel=i.NotificationPanel;exports.NotificationService=i.NotificationService;exports.NotificationTimeline=i.NotificationTimeline;exports.NotificationsCenter=i.NotificationsCenter;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.StatusBarNotificationBell=i.StatusBarNotificationBell;exports.appWindowNotificationOverlay=i.appWindowNotificationOverlay;exports.applyNotificationRules=i.applyNotificationRules;exports.cardRemindKey=i.cardRemindKey;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.compileNotificationSearchMatcher=i.compileNotificationSearchMatcher;exports.createNativeNotificationEngine=i.createNativeNotificationEngine;exports.createNotificationPreviewRuntime=i.createNotificationPreviewRuntime;exports.decideFilter=i.decideFilter;exports.deleteWebhookUrl=i.deleteWebhookUrl;exports.deriveImplicitRemindKey=i.deriveImplicitRemindKey;exports.dismissKey=i.dismissKey;exports.dismissableToastIds=i.dismissableToastIds;exports.entryVendorMatch=i.entryVendorMatch;exports.exportTimelineAsCsv=i.exportTimelineAsCsv;exports.exportTimelineAsJson=i.exportTimelineAsJson;exports.filterNotificationTimeline=i.filterNotificationTimeline;exports.filteredPriority=i.filteredPriority;exports.focusFirstNotificationEntry=i.focusFirstNotificationEntry;exports.getSmtpPass=i.getSmtpPass;exports.getWebhookUrl=i.getWebhookUrl;exports.groupTimelineEntries=i.groupTimelineEntries;exports.hiddenRunningProgress=i.hiddenRunningProgress;exports.isInQuietHours=i.isInQuietHours;exports.isKeyDismissed=i.isKeyDismissed;exports.isKeyRemindSuppressed=i.isKeyRemindSuppressed;exports.isNotificationSourceId=i.isNotificationSourceId;exports.isNotificationSticky=i.isNotificationSticky;exports.isOnToastStack=i.isOnToastStack;exports.isProgressRunning=i.isProgressRunning;exports.isSourceMuted=i.isSourceMuted;exports.isSpamDropHandle=i.isSpamDropHandle;exports.listNotificationSources=i.listNotificationSources;exports.nextQuietHoursStart=i.nextQuietHoursStart;exports.pruneOrphanWebhookSecrets=i.pruneOrphanWebhookSecrets;exports.registerFenceAliases=i.registerFenceAliases;exports.registerNotificationCommands=i.registerNotificationCommands;exports.remindLater=i.remindLater;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationDuration=i.resolveNotificationDuration;exports.resolveNotificationSource=i.resolveNotificationSource;exports.resolveSeverityTone=i.resolveSeverityTone;exports.restoreAllKeys=i.restoreAllKeys;exports.restoreKey=i.restoreKey;exports.setSmtpPass=i.setSmtpPass;exports.setSourceMuted=i.setSourceMuted;exports.setWebhookUrl=i.setWebhookUrl;exports.shouldFireOsNative=i.shouldFireOsNative;exports.toTimelineActions=i.toTimelineActions;exports.unmuteAllSources=i.unmuteAllSources;exports.defineNotification=e.defineNotification;exports.defineNotificationScenario=e.defineNotificationScenario;exports.notificationSettings=t.notificationSettings;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../StatusBarNotificationBell-CNs_obmZ.cjs"),e=require("../notificationCatalog-DqTkd7M6.cjs"),t=require("../useSettingsSubscription-DKjCwmRd.cjs");exports.ACCEPT_PRIMARY_ACTION_NOTIFICATION=i.ACCEPT_PRIMARY_ACTION_NOTIFICATION;exports.CLEAR_NOTIFICATION=i.CLEAR_NOTIFICATION;exports.HIDE_NOTIFICATION_TOASTS=i.HIDE_NOTIFICATION_TOASTS;exports.LogFilterBar=i.LogFilterBar;exports.NOTIFICATION_SOURCES=i.NOTIFICATION_SOURCES;exports.NOTIFICATION_SOURCE_IDS=i.NOTIFICATION_SOURCE_IDS;exports.NO_NOTIFICATION_OVERLAY=i.NO_NOTIFICATION_OVERLAY;exports.NotificationHost=i.NotificationHost;exports.NotificationItem=i.NotificationItem;exports.NotificationPanel=i.NotificationPanel;exports.NotificationService=i.NotificationService;exports.NotificationTimeline=i.NotificationTimeline;exports.NotificationsCenter=i.NotificationsCenter;exports.SEVERITY_ORDER=i.SEVERITY_ORDER;exports.SEVERITY_TONES=i.SEVERITY_TONES;exports.StatusBarNotificationBell=i.StatusBarNotificationBell;exports.appWindowNotificationOverlay=i.appWindowNotificationOverlay;exports.applyNotificationRules=i.applyNotificationRules;exports.cardRemindKey=i.cardRemindKey;exports.clearCompiledRuleRegexCache=i.clearCompiledRuleRegexCache;exports.compileNotificationSearchMatcher=i.compileNotificationSearchMatcher;exports.createNativeNotificationEngine=i.createNativeNotificationEngine;exports.createNotificationPreviewRuntime=i.createNotificationPreviewRuntime;exports.decideFilter=i.decideFilter;exports.deleteWebhookUrl=i.deleteWebhookUrl;exports.deriveImplicitRemindKey=i.deriveImplicitRemindKey;exports.dismissKey=i.dismissKey;exports.dismissableToastIds=i.dismissableToastIds;exports.entryVendorMatch=i.entryVendorMatch;exports.exportTimelineAsCsv=i.exportTimelineAsCsv;exports.exportTimelineAsJson=i.exportTimelineAsJson;exports.filterNotificationTimeline=i.filterNotificationTimeline;exports.filteredPriority=i.filteredPriority;exports.focusFirstNotificationEntry=i.focusFirstNotificationEntry;exports.getSmtpPass=i.getSmtpPass;exports.getWebhookUrl=i.getWebhookUrl;exports.groupTimelineEntries=i.groupTimelineEntries;exports.hiddenRunningProgress=i.hiddenRunningProgress;exports.isInQuietHours=i.isInQuietHours;exports.isKeyDismissed=i.isKeyDismissed;exports.isKeyRemindSuppressed=i.isKeyRemindSuppressed;exports.isNotificationSourceId=i.isNotificationSourceId;exports.isNotificationSticky=i.isNotificationSticky;exports.isOnToastStack=i.isOnToastStack;exports.isProgressRunning=i.isProgressRunning;exports.isSourceMuted=i.isSourceMuted;exports.isSpamDropHandle=i.isSpamDropHandle;exports.listNotificationSources=i.listNotificationSources;exports.nextQuietHoursStart=i.nextQuietHoursStart;exports.pruneOrphanWebhookSecrets=i.pruneOrphanWebhookSecrets;exports.registerFenceAliases=i.registerFenceAliases;exports.registerNotificationCommands=i.registerNotificationCommands;exports.remindLater=i.remindLater;exports.resolveCatalogPreviewPriority=i.resolveCatalogPreviewPriority;exports.resolveNotificationDuration=i.resolveNotificationDuration;exports.resolveNotificationSource=i.resolveNotificationSource;exports.resolveSeverityTone=i.resolveSeverityTone;exports.restoreAllKeys=i.restoreAllKeys;exports.restoreKey=i.restoreKey;exports.setSmtpPass=i.setSmtpPass;exports.setSourceMuted=i.setSourceMuted;exports.setWebhookUrl=i.setWebhookUrl;exports.shouldFireOsNative=i.shouldFireOsNative;exports.toTimelineActions=i.toTimelineActions;exports.unmuteAllSources=i.unmuteAllSources;exports.defineNotification=e.defineNotification;exports.defineNotificationScenario=e.defineNotificationScenario;exports.notificationSettings=t.notificationSettings;
@@ -1,5 +1,5 @@
1
- import { A as e, C as s, H as t, L as o, N as r, a as n, b as c, c as l, d as N, e as f, f as d, g as I, h as S, S as T, i as m, j as u, k as O, l as p, m as R, n as A, o as C, p as y, q as E, r as g, s as v, t as _, u as h, v as F, w as P, x, y as K, z as k, B as D, D as b, E as H, F as M, G as U, I as W, J as L, K as V, M as Y, O as w, P as B, Q, R as J, T as j, U as q, V as z, W as G, X, Y as Z, Z as $, _ as ii, $ as ai, a0 as ei, a1 as si, a2 as ti, a3 as oi, a4 as ri, a5 as ni, a6 as ci, a7 as li, a8 as Ni, a9 as fi, aa as di } from "../StatusBarNotificationBell-ZTEhZFmJ.js";
2
- import { d as Si, a as Ti } from "../mainRealmDom-B215swW-.js";
1
+ import { A as e, C as s, H as t, L as o, N as r, a as n, b as c, c as l, d as N, e as f, f as d, g as I, h as S, S as T, i as m, j as u, k as O, l as p, m as R, n as A, o as C, p as y, q as E, r as g, s as v, t as _, u as h, v as F, w as P, x, y as K, z as k, B as D, D as b, E as H, F as M, G as U, I as W, J as L, K as V, M as Y, O as w, P as B, Q, R as J, T as j, U as q, V as z, W as G, X, Y as Z, Z as $, _ as ii, $ as ai, a0 as ei, a1 as si, a2 as ti, a3 as oi, a4 as ri, a5 as ni, a6 as ci, a7 as li, a8 as Ni, a9 as fi, aa as di } from "../StatusBarNotificationBell-CgsYrrpj.js";
2
+ import { d as Si, a as Ti } from "../notificationCatalog-CRERhjp6.js";
3
3
  import { n as ui } from "../useSettingsSubscription-DLEk4k4j.js";
4
4
  export {
5
5
  e as ACCEPT_PRIMARY_ACTION_NOTIFICATION,
@@ -2,6 +2,7 @@ import type { NotificationAnnouncement, NotificationCardState, NotificationPrior
2
2
  import type { VendorErrorRef } from '../_internal/contract/vendorErrorRef.cjs';
3
3
  import type { NotificationSettings } from '../_internal/platform/settings/settingsTypes.cjs';
4
4
  import { type Event } from '../_internal/base/event.cjs';
5
+ import type { IDisposable } from '../_internal/base/lifecycle.cjs';
5
6
  export type { NotificationSeverity };
6
7
  export interface NotificationAction {
7
8
  id?: string;
@@ -103,6 +104,24 @@ export interface NotificationHandle {
103
104
  * (it is still `open`, in the notification center) —, with where it went.
104
105
  */
105
106
  readonly onDidChangeState: Event<NotificationCardState>;
107
+ /**
108
+ * Whether the user can see that card now: on the toast stack in sight, or listed by a notification center that is
109
+ * shown ({@link NativeNotificationEngine.registerShownCenter}). The engine places a new card before `notify` returns,
110
+ * so a caller reads where it stands here and hears the changes after it ({@link onDidChangeVisibility}); `false` once
111
+ * the card has ended.
112
+ */
113
+ visible(): boolean;
114
+ /**
115
+ * Fires whenever that card's visibility changes — `true` when it comes into the user's sight, `false` when it leaves
116
+ * it —, as the reference's notification handle does (`platform/notification/common/notification.ts:240-245`): a
117
+ * notification is visible as a toast, or inside the notification center while the center is visible. It fires at the
118
+ * moments the reference's view item does (`workbench/common/notifications.ts:676-682`): the toast shown, hidden by the
119
+ * visible cap or taken away (`notificationsToasts.ts:297`, `:356`, `:669-682`), a center shown or hidden, and a card
120
+ * added to or removed from a shown center (`notificationsCenter.ts:180`, `:323`, `:347`, `:378`) — only when the
121
+ * visibility changes. A card that ends while visible fires `false` before {@link onDidChangeState} tells its end, as
122
+ * the reference takes a closed notification off the screen before its handle hears the close.
123
+ */
124
+ readonly onDidChangeVisibility: Event<boolean>;
106
125
  }
107
126
  /**
108
127
  * What the engine needs from its owner — the settings it times toasts by, where an auto-fade is counted,
@@ -184,6 +203,16 @@ export interface NativeNotificationEngine {
184
203
  * notification service calls it on every change of the notification settings.
185
204
  */
186
205
  readonly refresh: () => void;
206
+ /**
207
+ * A notification center is shown — the kit's `NotificationsCenter` registers while it is mounted (an overlay, gone
208
+ * when it hides), `NotificationPanel` while its frame has a box (a host may keep it mounted in a pane it hides);
209
+ * dispose the registration when it hides. While any is shown, every card counts as visible to its handles
210
+ * ({@link NotificationHandle.onDidChangeVisibility}): a center lists the realm's notifications — the running cards
211
+ * and the records of the others —, as the reference marks every notification visible while its center shows
212
+ * (`workbench/browser/parts/notifications/notificationsCenter.ts:180`, `:378`). A host that draws a center of its own
213
+ * over the stack registers it the same way.
214
+ */
215
+ readonly registerShownCenter: () => IDisposable;
187
216
  readonly dispose: () => void;
188
217
  }
189
218
  /**
@@ -246,5 +275,8 @@ export declare function hiddenRunningProgress(items: readonly NotificationItem[]
246
275
  * There is no module engine: whoever shows toasts owns one.
247
276
  */
248
277
  export declare function createNativeNotificationEngine(dependencies: NativeNotificationEngineDependencies): NativeNotificationEngine;
249
- /** The toast stack as its surfaces drive it — everything of the engine but its disposal. */
250
- export type NotificationStack = Pick<NativeNotificationEngine, 'subscribe' | 'setHover' | 'setFocus' | 'toggleExpanded' | 'close' | 'dismiss'>;
278
+ /**
279
+ * The toast stack as its surfaces drive it — the toast stack and the notification centers, which register while they
280
+ * are shown (`registerShownCenter`).
281
+ */
282
+ export type NotificationStack = Pick<NativeNotificationEngine, 'subscribe' | 'setHover' | 'setFocus' | 'toggleExpanded' | 'close' | 'dismiss' | 'registerShownCenter'>;
@@ -2,6 +2,7 @@ import type { NotificationAnnouncement, NotificationCardState, NotificationPrior
2
2
  import type { VendorErrorRef } from '../_internal/contract/vendorErrorRef.js';
3
3
  import type { NotificationSettings } from '../_internal/platform/settings/settingsTypes.js';
4
4
  import { type Event } from '../_internal/base/event.js';
5
+ import type { IDisposable } from '../_internal/base/lifecycle.js';
5
6
  export type { NotificationSeverity };
6
7
  export interface NotificationAction {
7
8
  id?: string;
@@ -103,6 +104,24 @@ export interface NotificationHandle {
103
104
  * (it is still `open`, in the notification center) —, with where it went.
104
105
  */
105
106
  readonly onDidChangeState: Event<NotificationCardState>;
107
+ /**
108
+ * Whether the user can see that card now: on the toast stack in sight, or listed by a notification center that is
109
+ * shown ({@link NativeNotificationEngine.registerShownCenter}). The engine places a new card before `notify` returns,
110
+ * so a caller reads where it stands here and hears the changes after it ({@link onDidChangeVisibility}); `false` once
111
+ * the card has ended.
112
+ */
113
+ visible(): boolean;
114
+ /**
115
+ * Fires whenever that card's visibility changes — `true` when it comes into the user's sight, `false` when it leaves
116
+ * it —, as the reference's notification handle does (`platform/notification/common/notification.ts:240-245`): a
117
+ * notification is visible as a toast, or inside the notification center while the center is visible. It fires at the
118
+ * moments the reference's view item does (`workbench/common/notifications.ts:676-682`): the toast shown, hidden by the
119
+ * visible cap or taken away (`notificationsToasts.ts:297`, `:356`, `:669-682`), a center shown or hidden, and a card
120
+ * added to or removed from a shown center (`notificationsCenter.ts:180`, `:323`, `:347`, `:378`) — only when the
121
+ * visibility changes. A card that ends while visible fires `false` before {@link onDidChangeState} tells its end, as
122
+ * the reference takes a closed notification off the screen before its handle hears the close.
123
+ */
124
+ readonly onDidChangeVisibility: Event<boolean>;
106
125
  }
107
126
  /**
108
127
  * What the engine needs from its owner — the settings it times toasts by, where an auto-fade is counted,
@@ -184,6 +203,16 @@ export interface NativeNotificationEngine {
184
203
  * notification service calls it on every change of the notification settings.
185
204
  */
186
205
  readonly refresh: () => void;
206
+ /**
207
+ * A notification center is shown — the kit's `NotificationsCenter` registers while it is mounted (an overlay, gone
208
+ * when it hides), `NotificationPanel` while its frame has a box (a host may keep it mounted in a pane it hides);
209
+ * dispose the registration when it hides. While any is shown, every card counts as visible to its handles
210
+ * ({@link NotificationHandle.onDidChangeVisibility}): a center lists the realm's notifications — the running cards
211
+ * and the records of the others —, as the reference marks every notification visible while its center shows
212
+ * (`workbench/browser/parts/notifications/notificationsCenter.ts:180`, `:378`). A host that draws a center of its own
213
+ * over the stack registers it the same way.
214
+ */
215
+ readonly registerShownCenter: () => IDisposable;
187
216
  readonly dispose: () => void;
188
217
  }
189
218
  /**
@@ -246,5 +275,8 @@ export declare function hiddenRunningProgress(items: readonly NotificationItem[]
246
275
  * There is no module engine: whoever shows toasts owns one.
247
276
  */
248
277
  export declare function createNativeNotificationEngine(dependencies: NativeNotificationEngineDependencies): NativeNotificationEngine;
249
- /** The toast stack as its surfaces drive it — everything of the engine but its disposal. */
250
- export type NotificationStack = Pick<NativeNotificationEngine, 'subscribe' | 'setHover' | 'setFocus' | 'toggleExpanded' | 'close' | 'dismiss'>;
278
+ /**
279
+ * The toast stack as its surfaces drive it — the toast stack and the notification centers, which register while they
280
+ * are shown (`registerShownCenter`).
281
+ */
282
+ export type NotificationStack = Pick<NativeNotificationEngine, 'subscribe' | 'setHover' | 'setFocus' | 'toggleExpanded' | 'close' | 'dismiss' | 'registerShownCenter'>;
@@ -3,11 +3,22 @@ import type { NotificationTimelineEntry } from './notificationTimeline.cjs';
3
3
  export declare const notificationEntryMark: {
4
4
  readonly "data-notification-entry": "";
5
5
  };
6
+ /**
7
+ * The mark of a notification list that is a focus target of its own — the panel's list, named and focusable like the
8
+ * reference's list (`base/browser/ui/list/listView.ts:410`, `listWidget.ts:1502`, `:1523`, `:1566-1571`): it holds the
9
+ * focus while it lists no notification ({@link focusFirstNotificationEntry}, {@link followNotificationListFocus}), and
10
+ * its keys start on its first or last notification ({@link moveNotificationEntryFocus}).
11
+ */
12
+ export declare const notificationListMark: {
13
+ readonly "data-notification-list": "";
14
+ };
6
15
  /**
7
16
  * Moves the focus to the first entry of the notification center or panel drawn under `root` — a running progress
8
- * card, else the newest record —, as the reference's center does when it is shown. Whether the entry now holds the
9
- * focus: `false` when `root` lists no entry, or when the one it lists could not take the focus (an inert or hidden
10
- * subtree); the caller then focuses what it shows instead (the reference focuses its empty list).
17
+ * card, else the newest record —, as the reference's center does when it is shown; when `root` lists no entry, to the
18
+ * list itself where the list is a focus target of its own (a `NotificationPanel`'s list), as the reference focuses its
19
+ * empty list (`workbench/browser/parts/notifications/notificationsList.ts:227-233`). Whether that element now holds the
20
+ * focus: `false` when `root` draws neither — a `NotificationsCenter` that lists nothing, which focuses itself —, or when
21
+ * the element could not take the focus (an inert or hidden subtree); the caller then focuses what it shows instead.
11
22
  */
12
23
  export declare function focusFirstNotificationEntry(root: ParentNode, options?: FocusOptions): boolean;
13
24
  /**
@@ -55,8 +66,10 @@ export declare function notificationListPageStep(page: NotificationListPage, cur
55
66
  * The list keys of a center's entries, for the `keydown` of the scrolled element that holds them (`viewport`): from an
56
67
  * entry, or from a control inside one, the key moves the focus along the entries {@link notificationListFocusStep},
57
68
  * a page at a time for Page Up and Page Down, and the entry that takes it is scrolled just into view, as the
58
- * reference reveals its list's focus (`listCommands.ts:58-73`; `listWidget.ts:1985-1996`). A key aimed elsewhere,
59
- * one an editable element takes, or one already handled is left alone.
69
+ * reference reveals its list's focus (`listCommands.ts:58-73`; `listWidget.ts:1985-1996`). From the list itself — a
70
+ * list that is a focus target of its own ({@link notificationListMark}) and holds the focus — the step starts from no
71
+ * entry: Down goes to the first, Up to the last. A key aimed elsewhere, one an editable element takes, or one already
72
+ * handled is left alone.
60
73
  */
61
74
  export declare function moveNotificationEntryFocus(event: KeyboardEvent, viewport: HTMLElement): void;
62
75
  /** What a notification list that follows its focus tells its owner. */
@@ -3,11 +3,22 @@ import type { NotificationTimelineEntry } from './notificationTimeline.js';
3
3
  export declare const notificationEntryMark: {
4
4
  readonly "data-notification-entry": "";
5
5
  };
6
+ /**
7
+ * The mark of a notification list that is a focus target of its own — the panel's list, named and focusable like the
8
+ * reference's list (`base/browser/ui/list/listView.ts:410`, `listWidget.ts:1502`, `:1523`, `:1566-1571`): it holds the
9
+ * focus while it lists no notification ({@link focusFirstNotificationEntry}, {@link followNotificationListFocus}), and
10
+ * its keys start on its first or last notification ({@link moveNotificationEntryFocus}).
11
+ */
12
+ export declare const notificationListMark: {
13
+ readonly "data-notification-list": "";
14
+ };
6
15
  /**
7
16
  * Moves the focus to the first entry of the notification center or panel drawn under `root` — a running progress
8
- * card, else the newest record —, as the reference's center does when it is shown. Whether the entry now holds the
9
- * focus: `false` when `root` lists no entry, or when the one it lists could not take the focus (an inert or hidden
10
- * subtree); the caller then focuses what it shows instead (the reference focuses its empty list).
17
+ * card, else the newest record —, as the reference's center does when it is shown; when `root` lists no entry, to the
18
+ * list itself where the list is a focus target of its own (a `NotificationPanel`'s list), as the reference focuses its
19
+ * empty list (`workbench/browser/parts/notifications/notificationsList.ts:227-233`). Whether that element now holds the
20
+ * focus: `false` when `root` draws neither — a `NotificationsCenter` that lists nothing, which focuses itself —, or when
21
+ * the element could not take the focus (an inert or hidden subtree); the caller then focuses what it shows instead.
11
22
  */
12
23
  export declare function focusFirstNotificationEntry(root: ParentNode, options?: FocusOptions): boolean;
13
24
  /**
@@ -55,8 +66,10 @@ export declare function notificationListPageStep(page: NotificationListPage, cur
55
66
  * The list keys of a center's entries, for the `keydown` of the scrolled element that holds them (`viewport`): from an
56
67
  * entry, or from a control inside one, the key moves the focus along the entries {@link notificationListFocusStep},
57
68
  * a page at a time for Page Up and Page Down, and the entry that takes it is scrolled just into view, as the
58
- * reference reveals its list's focus (`listCommands.ts:58-73`; `listWidget.ts:1985-1996`). A key aimed elsewhere,
59
- * one an editable element takes, or one already handled is left alone.
69
+ * reference reveals its list's focus (`listCommands.ts:58-73`; `listWidget.ts:1985-1996`). From the list itself — a
70
+ * list that is a focus target of its own ({@link notificationListMark}) and holds the focus — the step starts from no
71
+ * entry: Down goes to the first, Up to the last. A key aimed elsewhere, one an editable element takes, or one already
72
+ * handled is left alone.
60
73
  */
61
74
  export declare function moveNotificationEntryFocus(event: KeyboardEvent, viewport: HTMLElement): void;
62
75
  /** What a notification list that follows its focus tells its owner. */
@@ -23,9 +23,13 @@ export interface ModalProps {
23
23
  */
24
24
  allowMaximize?: boolean;
25
25
  /**
26
- * Gap kept above the modal when it is maximized (any CSS length). The default leaves room for a
27
- * window title bar drawn by the host; pass `'0px'` for a page that has none, so the modal covers
28
- * the whole viewport.
26
+ * This modal's own title bar height (any CSS length) — an override. The height has one home, set
27
+ * ONCE per window: the host writes `--modal-maximize-inset` on each window's root (`:root`, or
28
+ * `document.documentElement.style`; `2.875rem` when it sets none, `'0px'` for a page without a
29
+ * title bar). Every modal reads it — the maximized layout (right under the title bar), the normal
30
+ * layout's top gap and height, and the drag bound (`modalTitlebarHeight`) —, as the reference
31
+ * reads one title bar offset (`workbench/browser/parts/editor/modalEditorPart.ts:493-509`, `:671`,
32
+ * `:702`, `:707`). This prop sets it on this modal's overlay only.
29
33
  */
30
34
  maximizeInset?: string | undefined;
31
35
  /**
@@ -33,6 +37,15 @@ export interface ModalProps {
33
37
  * Defaults to true (unless embedded is true or allowDrag is false).
34
38
  */
35
39
  allowDrag?: boolean;
40
+ /**
41
+ * Allow pulling a MAXIMIZED modal off the top by its header: it returns to its size under the pointer and the drag
42
+ * carries on, like a desktop window (it needs `allowDrag` and `allowMaximize`, and no `embedded`). `false` keeps a
43
+ * maximized modal in place, as the reference's modal editor does — no drag while maximized
44
+ * (`workbench/browser/parts/editor/modalEditorPart.ts:456-459`); the Restore button and a double-click on the header
45
+ * still restore it. A host sets it once for every modal of a root — `KitHostProvider`'s `modals` option
46
+ * (`ModalDefaults`); this prop overrides it for one modal. With neither, `true`.
47
+ */
48
+ allowMaximizedDrag?: boolean | undefined;
36
49
  /**
37
50
  * Renders full-bleed (no backdrop, no centering, no `open()` gate) so this
38
51
  * content fills its container 1:1. Used when the modal is popped into its