@vokril/ui-solid 0.29.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (433) hide show
  1. package/CHANGELOG.md +121 -0
  2. package/README.md +90 -0
  3. package/dist/AttributeGrid-CNkALmJq.cjs +1 -0
  4. package/dist/AttributeGrid-DnuTPJ_P.js +320 -0
  5. package/dist/Button-CX7mylBT.js +308 -0
  6. package/dist/Button-lMUW5P3O.cjs +1 -0
  7. package/dist/CommandPalette-DAR9VMqY.cjs +2 -0
  8. package/dist/CommandPalette-DlLcdd4o.js +4029 -0
  9. package/dist/CopyButton-BVvv5M8g.js +63 -0
  10. package/dist/CopyButton-Dnd8_2Lj.cjs +1 -0
  11. package/dist/DateRangePicker-BlJWtJBA.cjs +9 -0
  12. package/dist/DateRangePicker-CHmUU4PA.js +552 -0
  13. package/dist/GuidedTour-9rqvNB_m.js +483 -0
  14. package/dist/GuidedTour-DbXeuTc7.cjs +1 -0
  15. package/dist/{HostPortal-CXGUUhP8.js → HostPortal-De65s6CU.js} +1 -1
  16. package/dist/HostPortal-Dm4BmY8M.cjs +1 -0
  17. package/dist/{IconPicker-DYqNi5ud.js → IconPicker-CsYW8CXe.js} +4 -4
  18. package/dist/IconPicker-D-GU1mD3.cjs +1 -0
  19. package/dist/Input-C3rEQffK.js +382 -0
  20. package/dist/Input-CHtvL4_4.cjs +1 -0
  21. package/dist/Modal-3L6p7Dwt.js +599 -0
  22. package/dist/Modal-CtrWEnJ7.cjs +1 -0
  23. package/dist/OverlayScrollArea-Cr0VAApT.cjs +1 -0
  24. package/dist/OverlayScrollArea-CrrPFLq9.js +180 -0
  25. package/dist/{PageSkeleton-CLnJO6uD.js → PageSkeleton-BRuqaDzr.js} +372 -371
  26. package/dist/PageSkeleton-Cz2bckO4.cjs +30 -0
  27. package/dist/Popover-CLTXG8W0.cjs +1 -0
  28. package/dist/Popover-DkqGvMNy.js +207 -0
  29. package/dist/SearchableSelect-C-lV1vSv.cjs +1 -0
  30. package/dist/SearchableSelect-Du12kcI9.js +328 -0
  31. package/dist/StatusBarNotificationBell-CNs_obmZ.cjs +50 -0
  32. package/dist/{StatusBarNotificationBell-7Izs_msz.js → StatusBarNotificationBell-CgsYrrpj.js} +5205 -4850
  33. package/dist/Stepper-DzI-gtKd.js +586 -0
  34. package/dist/Stepper-rpu7lpzB.cjs +1 -0
  35. package/dist/{Textarea-CeAGf08O.cjs → Textarea-D4nYoQ0J.cjs} +1 -1
  36. package/dist/{Textarea-B5QqqKnI.js → Textarea-DOzZCc-O.js} +1 -1
  37. package/dist/TimeSeriesChart-BJqQpeEJ.cjs +1 -0
  38. package/dist/TimeSeriesChart-DvAhuyVl.js +442 -0
  39. package/dist/ToggleButton-B-hBpdzk.js +2144 -0
  40. package/dist/ToggleButton-BMH1A-IX.cjs +1 -0
  41. package/dist/_internal/app/onboarding/pageTourState.d.cts +0 -2
  42. package/dist/_internal/app/onboarding/pageTourState.d.ts +0 -2
  43. package/dist/_internal/app/onboarding/pageTourTypes.d.cts +2 -1
  44. package/dist/_internal/app/onboarding/pageTourTypes.d.ts +2 -1
  45. package/dist/_internal/contract/notification.d.cts +28 -3
  46. package/dist/_internal/contract/notification.d.ts +28 -3
  47. package/dist/_internal/contract/notificationCatalog.d.cts +2 -0
  48. package/dist/_internal/contract/notificationCatalog.d.ts +2 -0
  49. package/dist/_internal/platform/settings/settingsTypes.d.cts +0 -8
  50. package/dist/_internal/platform/settings/settingsTypes.d.ts +0 -8
  51. package/dist/a11y/index.cjs +1 -1
  52. package/dist/a11y/index.js +1 -1
  53. package/dist/anchoredLayout-CBjQ1etD.cjs +1 -0
  54. package/dist/anchoredLayout-E0mqCWxk.js +233 -0
  55. package/dist/base.css +3 -3
  56. package/dist/charts/index.cjs +1 -1
  57. package/dist/charts/index.js +1 -1
  58. package/dist/context/DesktopContextMenuContext.d.cts +8 -1
  59. package/dist/context/DesktopContextMenuContext.d.ts +8 -1
  60. package/dist/createDialogShellFocus-DI1rUvYf.js +282 -0
  61. package/dist/createDialogShellFocus-kzkNSLWS.cjs +1 -0
  62. package/dist/createResizableSidebar--Ve6DbDu.js +504 -0
  63. package/dist/createResizableSidebar-DlVAuq5t.cjs +1 -0
  64. package/dist/desktop/index.cjs +1 -1
  65. package/dist/desktop/index.js +229 -228
  66. package/dist/dialogFocusRestore-BhxVTSiP.js +10 -0
  67. package/dist/dialogFocusRestore-DP5b1bDo.cjs +1 -0
  68. package/dist/feedback/index.cjs +1 -1
  69. package/dist/feedback/index.js +4 -4
  70. package/dist/{focusModality-BISb6-yg.cjs → focusModality-D704CJVN.cjs} +1 -1
  71. package/dist/{focusModality-FoLPWF-_.js → focusModality-ROUF6YGR.js} +1 -1
  72. package/dist/forms/Input.d.cts +20 -0
  73. package/dist/forms/Input.d.ts +20 -0
  74. package/dist/forms/InputMessage.d.cts +19 -0
  75. package/dist/forms/InputMessage.d.ts +19 -0
  76. package/dist/forms/index.cjs +1 -1
  77. package/dist/forms/index.js +9 -9
  78. package/dist/grid/index.cjs +1 -1
  79. package/dist/grid/index.js +1 -1
  80. package/dist/host/index.cjs +1 -1
  81. package/dist/host/index.d.cts +1 -0
  82. package/dist/host/index.d.ts +1 -0
  83. package/dist/host/index.js +38 -39
  84. package/dist/host/kitHost.d.cts +8 -0
  85. package/dist/host/kitHost.d.ts +8 -0
  86. package/dist/index.cjs +1 -1
  87. package/dist/index.js +936 -928
  88. package/dist/kitHost-BMMWpU4w.js +47 -0
  89. package/dist/kitHost-u0-mKvEK.cjs +1 -0
  90. package/dist/layout/index.cjs +1 -1
  91. package/dist/layout/index.js +2 -2
  92. package/dist/layout/resizeCarry.d.cts +17 -0
  93. package/dist/layout/resizeCarry.d.ts +17 -0
  94. package/dist/mainRealmDom-BcPuVvcy.cjs +1 -0
  95. package/dist/mainRealmDom-DydRT2Us.js +54 -0
  96. package/dist/nativeTitleHold-A9jUISgQ.js +170 -0
  97. package/dist/nativeTitleHold-B7Ou-W9b.cjs +1 -0
  98. package/dist/navigation/index.cjs +1 -1
  99. package/dist/navigation/index.js +1 -1
  100. package/dist/notificationCatalog-CRERhjp6.js +168 -0
  101. package/dist/notificationCatalog-DqTkd7M6.cjs +1 -0
  102. package/dist/notifications/NotificationItem.d.cts +9 -0
  103. package/dist/notifications/NotificationItem.d.ts +9 -0
  104. package/dist/notifications/NotificationsCenter.d.cts +18 -0
  105. package/dist/notifications/NotificationsCenter.d.ts +18 -0
  106. package/dist/notifications/RunningProgressCards.d.cts +3 -0
  107. package/dist/notifications/RunningProgressCards.d.ts +3 -0
  108. package/dist/notifications/fireNotification.d.cts +35 -16
  109. package/dist/notifications/fireNotification.d.ts +35 -16
  110. package/dist/notifications/holdWhileShown.d.cts +18 -0
  111. package/dist/notifications/holdWhileShown.d.ts +18 -0
  112. package/dist/notifications/index.cjs +1 -1
  113. package/dist/notifications/index.d.cts +1 -0
  114. package/dist/notifications/index.d.ts +1 -0
  115. package/dist/notifications/index.js +55 -52
  116. package/dist/notifications/nativeEngine.d.cts +38 -5
  117. package/dist/notifications/nativeEngine.d.ts +38 -5
  118. package/dist/notifications/notificationEntryList.d.cts +104 -0
  119. package/dist/notifications/notificationEntryList.d.ts +104 -0
  120. package/dist/notifications/notificationService.d.cts +23 -2
  121. package/dist/notifications/notificationService.d.ts +23 -2
  122. package/dist/notifications/toast.d.cts +3 -0
  123. package/dist/notifications/toast.d.ts +3 -0
  124. package/dist/notifications/toastCorner.d.cts +8 -0
  125. package/dist/notifications/toastCorner.d.ts +8 -0
  126. package/dist/notifications/toastFilterPolicy.d.cts +33 -1
  127. package/dist/notifications/toastFilterPolicy.d.ts +33 -1
  128. package/dist/overlay/Modal.d.cts +19 -0
  129. package/dist/overlay/Modal.d.ts +19 -0
  130. package/dist/overlay/backgroundInert.d.cts +6 -2
  131. package/dist/overlay/backgroundInert.d.ts +6 -2
  132. package/dist/overlay/command-palette/CommandPalette.d.cts +12 -0
  133. package/dist/overlay/command-palette/CommandPalette.d.ts +12 -0
  134. package/dist/overlay/index.cjs +1 -1
  135. package/dist/overlay/index.d.cts +2 -1
  136. package/dist/overlay/index.d.ts +2 -1
  137. package/dist/overlay/index.js +80 -75
  138. package/dist/overlay/modalDefaults.d.cts +23 -0
  139. package/dist/overlay/modalDefaults.d.ts +23 -0
  140. package/dist/overlay/modalViewport.d.cts +16 -2
  141. package/dist/overlay/modalViewport.d.ts +16 -2
  142. package/dist/overlay/nativeTitleHold.d.cts +24 -0
  143. package/dist/overlay/nativeTitleHold.d.ts +24 -0
  144. package/dist/ownerAnimationFrame-DzFcMSmn.js +19 -0
  145. package/dist/ownerAnimationFrame-T6jf6qYC.cjs +1 -0
  146. package/dist/pageTourState-BuA-GBYO.cjs +5 -0
  147. package/dist/{pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
  148. package/dist/rowSource-BRGZHclZ.js +1231 -0
  149. package/dist/rowSource-C3zlzAtR.cjs +1 -0
  150. package/dist/server/AttributeGrid-B9j_c2wM.js +281 -0
  151. package/dist/server/AttributeGrid-BALCTvOI.cjs +1 -0
  152. package/dist/server/Button-DHefmmYz.cjs +1 -0
  153. package/dist/server/Button-ft_8RNJj.js +226 -0
  154. package/dist/server/CommandPalette-CHdfYtxs.js +3305 -0
  155. package/dist/server/CommandPalette-D0Prl7by.cjs +1 -0
  156. package/dist/server/CopyButton-CiYcsQcI.js +64 -0
  157. package/dist/server/CopyButton-D2q7tQ0m.cjs +1 -0
  158. package/dist/server/DateRangePicker-C6wZI7No.js +487 -0
  159. package/dist/server/DateRangePicker-CF70G2yr.cjs +9 -0
  160. package/dist/server/GuidedTour-BmDAWNfN.cjs +1 -0
  161. package/dist/server/GuidedTour-DYBhprVK.js +400 -0
  162. package/dist/server/{HostPortal-CXGUUhP8.js → HostPortal-C4xdfRyM.js} +1 -1
  163. package/dist/server/HostPortal-CwyePpDX.cjs +1 -0
  164. package/dist/server/{IconPicker-B4aXspLw.js → IconPicker--Xso9fUf.js} +5 -5
  165. package/dist/server/IconPicker-BTI4cNgf.cjs +1 -0
  166. package/dist/server/Input-UX0Hk53M.cjs +1 -0
  167. package/dist/server/Input-V9Szcw6w.js +249 -0
  168. package/dist/server/Modal-CBnNlaTx.cjs +1 -0
  169. package/dist/server/Modal-D9CjieKK.js +426 -0
  170. package/dist/server/OverlayScrollArea-DuwGRSMm.cjs +1 -0
  171. package/dist/server/OverlayScrollArea-h6G3yk6U.js +66 -0
  172. package/dist/server/{PageSkeleton-DoxlE_bD.js → PageSkeleton-CFs7AdTA.js} +267 -266
  173. package/dist/server/PageSkeleton-D0KOKLsb.cjs +30 -0
  174. package/dist/server/Popover-BBDBIpT6.cjs +1 -0
  175. package/dist/server/Popover-e9JpRh11.js +439 -0
  176. package/dist/server/SearchableSelect-B2ZFnp6i.js +205 -0
  177. package/dist/server/SearchableSelect-BBu5cP6P.cjs +1 -0
  178. package/dist/server/{StatusBarNotificationBell-D8Jt3PXI.js → StatusBarNotificationBell-CJJFE4rf.js} +5043 -4698
  179. package/dist/server/StatusBarNotificationBell-Cxs_bVKX.cjs +49 -0
  180. package/dist/server/Stepper-C04rOZcI.cjs +1 -0
  181. package/dist/server/Stepper-CVAOsf3o.js +381 -0
  182. package/dist/server/{Textarea-BQf2lL59.cjs → Textarea-BG6F8taO.cjs} +1 -1
  183. package/dist/server/{Textarea-BTH48NET.js → Textarea-DM4zpgWo.js} +1 -1
  184. package/dist/server/TimeSeriesChart-kuuqH7we.js +242 -0
  185. package/dist/server/TimeSeriesChart-tWbSF6fJ.cjs +1 -0
  186. package/dist/server/ToggleButton-BdqufQ7G.js +1344 -0
  187. package/dist/server/ToggleButton-Bo24NK3o.cjs +1 -0
  188. package/dist/server/{VpTrash-Dlq8o6Uv.js → VpTrash-CZMWCIpF.js} +84 -70
  189. package/dist/server/VpTrash-DiczWhwm.cjs +1 -0
  190. package/dist/server/a11y/index.cjs +1 -1
  191. package/dist/server/a11y/index.js +1 -1
  192. package/dist/server/charts/index.cjs +1 -1
  193. package/dist/server/charts/index.js +1 -1
  194. package/dist/server/createDialogShellFocus-DvoNWpIu.cjs +1 -0
  195. package/dist/server/createDialogShellFocus-J8wqPlsa.js +370 -0
  196. package/dist/server/{createResizableSidebar-BImbKlLe.js → createResizableSidebar-CIrhLNKW.js} +104 -102
  197. package/dist/server/createResizableSidebar-DcZ2Cnpf.cjs +1 -0
  198. package/dist/server/desktop/index.cjs +1 -1
  199. package/dist/server/desktop/index.js +154 -153
  200. package/dist/server/dialogFocusRestore-BhxVTSiP.js +10 -0
  201. package/dist/server/dialogFocusRestore-DP5b1bDo.cjs +1 -0
  202. package/dist/server/feedback/index.cjs +1 -1
  203. package/dist/server/feedback/index.js +4 -4
  204. package/dist/server/{focusModality-nWNVX3JG.js → focusModality-Bu4Kuwm4.js} +1 -1
  205. package/dist/server/{focusModality-D-nxv8Er.cjs → focusModality-G2i60_7y.cjs} +1 -1
  206. package/dist/server/forms/index.cjs +1 -1
  207. package/dist/server/forms/index.js +9 -9
  208. package/dist/server/grid/index.cjs +1 -1
  209. package/dist/server/grid/index.js +1 -1
  210. package/dist/server/host/index.cjs +1 -1
  211. package/dist/server/host/index.js +38 -39
  212. package/dist/server/{index-UIjsx3oJ.js → index-CPUZyKo7.js} +3604 -3617
  213. package/dist/server/index-CVbkasNJ.cjs +1 -0
  214. package/dist/server/index.cjs +1 -1
  215. package/dist/server/index.js +656 -649
  216. package/dist/server/kitHost-BMMWpU4w.js +47 -0
  217. package/dist/server/kitHost-u0-mKvEK.cjs +1 -0
  218. package/dist/server/layout/index.cjs +1 -1
  219. package/dist/server/layout/index.js +2 -2
  220. package/dist/server/mainRealmDom-BuGEeM_r.cjs +1 -0
  221. package/dist/server/{EmptyState-Csydyy_7.js → mainRealmDom-CzckS_ss.js} +12 -8
  222. package/dist/server/navigation/index.cjs +1 -1
  223. package/dist/server/navigation/index.js +1 -1
  224. package/dist/server/notificationCatalog-CEDltsJS.cjs +1 -0
  225. package/dist/server/notificationCatalog-Cl1dH4aJ.js +122 -0
  226. package/dist/server/notifications/index.cjs +1 -1
  227. package/dist/server/notifications/index.js +55 -52
  228. package/dist/server/overlay/index.cjs +1 -1
  229. package/dist/server/overlay/index.js +72 -68
  230. package/dist/server/pageTourState-BuA-GBYO.cjs +5 -0
  231. package/dist/server/{pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
  232. package/dist/server/rowSource-C1F4l0xZ.cjs +1 -0
  233. package/dist/server/rowSource-CoeHYNsV.js +1123 -0
  234. package/dist/server/tokens/index.cjs +1 -1
  235. package/dist/server/tokens/index.js +29 -26
  236. package/dist/server/tokens/palette/index.cjs +1 -0
  237. package/dist/server/tokens/palette/index.js +31 -0
  238. package/dist/server/tree/index.cjs +1 -1
  239. package/dist/server/tree/index.js +1 -1
  240. package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +11 -10
  241. package/dist/solid/_internal/app/onboarding/pageTourState.js +12 -23
  242. package/dist/solid/charts/TimeSeriesChart.jsx +23 -22
  243. package/dist/solid/desktop/WindowControls.jsx +6 -3
  244. package/dist/solid/feedback/Badge.jsx +12 -19
  245. package/dist/solid/feedback/ErrorBoundary.jsx +18 -14
  246. package/dist/solid/forms/Button.jsx +18 -23
  247. package/dist/solid/forms/Checkbox.jsx +5 -4
  248. package/dist/solid/forms/Combobox.jsx +12 -10
  249. package/dist/solid/forms/CopyButton.jsx +7 -4
  250. package/dist/solid/forms/DatePicker.jsx +12 -7
  251. package/dist/solid/forms/Dropzone.jsx +17 -13
  252. package/dist/solid/forms/FilePickerButton.jsx +5 -4
  253. package/dist/solid/forms/HiddenFileInput.jsx +3 -1
  254. package/dist/solid/forms/Input.jsx +31 -5
  255. package/dist/solid/forms/Input.module.css.js +1 -0
  256. package/dist/solid/forms/InputMessage.jsx +87 -0
  257. package/dist/solid/forms/MultiSearchableSelect.jsx +8 -7
  258. package/dist/solid/forms/NumberInput.jsx +25 -19
  259. package/dist/solid/forms/Picker.jsx +8 -6
  260. package/dist/solid/forms/PressableSurface.jsx +17 -23
  261. package/dist/solid/forms/RadioGroup.jsx +4 -3
  262. package/dist/solid/forms/SearchInput.jsx +4 -3
  263. package/dist/solid/forms/SearchableSelect.jsx +4 -3
  264. package/dist/solid/forms/SegmentedControl.jsx +4 -3
  265. package/dist/solid/forms/TagInput.jsx +22 -16
  266. package/dist/solid/forms/ToggleButton.jsx +4 -3
  267. package/dist/solid/forms/date-range-picker/DateRangePicker.jsx +12 -10
  268. package/dist/solid/grid/Pagination.jsx +7 -3
  269. package/dist/solid/host/kitHost.jsx +5 -1
  270. package/dist/solid/layout/PageHeaderIcon.jsx +11 -9
  271. package/dist/solid/layout/ResizableSplitPane.jsx +4 -4
  272. package/dist/solid/layout/ResizeHandle.jsx +15 -4
  273. package/dist/solid/layout/resizeCarry.js +31 -0
  274. package/dist/solid/navigation/Accordion.jsx +8 -5
  275. package/dist/solid/navigation/Tabs.jsx +11 -8
  276. package/dist/solid/notifications/NotificationHost.jsx +5 -18
  277. package/dist/solid/notifications/NotificationItem.jsx +62 -58
  278. package/dist/solid/notifications/NotificationPanel.jsx +27 -9
  279. package/dist/solid/notifications/NotificationsCenter.jsx +72 -12
  280. package/dist/solid/notifications/RunningProgressCards.jsx +1 -1
  281. package/dist/solid/notifications/StatusBarNotificationBell.jsx +12 -6
  282. package/dist/solid/notifications/catalogAdapter.js +1 -0
  283. package/dist/solid/notifications/createNotificationPreviewRuntime.js +2 -0
  284. package/dist/solid/notifications/fireNotification.js +21 -16
  285. package/dist/solid/notifications/holdWhileShown.js +30 -0
  286. package/dist/solid/notifications/index.js +1 -0
  287. package/dist/solid/notifications/nativeEngine.js +52 -1
  288. package/dist/solid/notifications/notificationEntryList.js +184 -0
  289. package/dist/solid/notifications/notificationService.js +20 -4
  290. package/dist/solid/notifications/toast.js +58 -7
  291. package/dist/solid/notifications/toastCorner.js +3 -0
  292. package/dist/solid/notifications/toastFilterPolicy.js +12 -0
  293. package/dist/solid/overlay/ConfirmDialog.jsx +21 -16
  294. package/dist/solid/overlay/DangerousActionDialogParts.jsx +5 -3
  295. package/dist/solid/overlay/Disclosure.jsx +4 -3
  296. package/dist/solid/overlay/Drawer.jsx +2 -1
  297. package/dist/solid/overlay/DropdownMenu.jsx +6 -4
  298. package/dist/solid/overlay/FloatingWindow.jsx +3 -3
  299. package/dist/solid/overlay/HoverTooltip.jsx +9 -7
  300. package/dist/solid/overlay/Modal.jsx +81 -34
  301. package/dist/solid/overlay/OverlayScrollArea.jsx +5 -3
  302. package/dist/solid/overlay/Tooltip.jsx +5 -4
  303. package/dist/solid/overlay/command-palette/CommandPalette.jsx +11 -11
  304. package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +73 -57
  305. package/dist/solid/overlay/index.js +2 -1
  306. package/dist/solid/overlay/menu/MenuParts.jsx +11 -8
  307. package/dist/solid/overlay/modalDefaults.jsx +10 -0
  308. package/dist/solid/overlay/modalViewport.js +17 -4
  309. package/dist/solid/overlay/nativeTitleHold.js +33 -0
  310. package/dist/solid/overlay/popover/Popover.jsx +17 -11
  311. package/dist/solid/overlay/tooltipDirective.js +3 -11
  312. package/dist/solid/overlay/tour/GuidedTour.jsx +18 -14
  313. package/dist/solid/tokens/index.js +1 -0
  314. package/dist/solid/tokens/palette/index.js +1 -0
  315. package/dist/solid/tokens/palette/paletteContract.js +27 -0
  316. package/dist/solid/tree/TreeRow.jsx +19 -16
  317. package/dist/solid/tree/TreeSurface.jsx +15 -14
  318. package/dist/solid/widgets/SettingsField.jsx +11 -10
  319. package/dist/style.css +4 -3
  320. package/dist/theme.css +3 -2
  321. package/dist/tokens/index.cjs +1 -1
  322. package/dist/tokens/index.d.cts +1 -0
  323. package/dist/tokens/index.d.ts +1 -0
  324. package/dist/tokens/index.js +29 -26
  325. package/dist/tokens/palette/index.cjs +1 -0
  326. package/dist/tokens/palette/index.d.cts +12 -0
  327. package/dist/tokens/palette/index.d.ts +12 -0
  328. package/dist/tokens/palette/index.js +31 -0
  329. package/dist/tokens/palette/paletteContract.d.cts +17 -0
  330. package/dist/tokens/palette/paletteContract.d.ts +17 -0
  331. package/dist/tokens/tokens.css +3 -2
  332. package/dist/tree/index.cjs +1 -1
  333. package/dist/tree/index.js +1 -1
  334. package/dist/ui.css +1 -1
  335. package/package.json +25 -1
  336. package/dist/AttributeGrid-CASILa4u.js +0 -320
  337. package/dist/AttributeGrid-eND8YDby.cjs +0 -1
  338. package/dist/Button-Bb68ymNP.cjs +0 -1
  339. package/dist/Button-D-T0tyGF.js +0 -305
  340. package/dist/CommandPalette-5FQRgPG9.cjs +0 -2
  341. package/dist/CommandPalette-Cj618AOz.js +0 -4017
  342. package/dist/CopyButton-B5gS2ft3.cjs +0 -1
  343. package/dist/CopyButton-g-WSiBDZ.js +0 -63
  344. package/dist/DateRangePicker-CJD9ADgB.js +0 -550
  345. package/dist/DateRangePicker-Frc0HVxp.cjs +0 -9
  346. package/dist/EmptyState-B9TxGJ5v.cjs +0 -1
  347. package/dist/EmptyState-Dph6HU74.js +0 -50
  348. package/dist/GuidedTour-B6q7lYhn.cjs +0 -1
  349. package/dist/GuidedTour-CFCvRJN4.js +0 -483
  350. package/dist/HostPortal-CgJwxt-f.cjs +0 -1
  351. package/dist/IconPicker-CIbJb1ei.cjs +0 -1
  352. package/dist/Input-CZruORyy.cjs +0 -1
  353. package/dist/Input-DkPhsdfk.js +0 -227
  354. package/dist/Modal-CY6ePolt.cjs +0 -1
  355. package/dist/Modal-NzZzHSwb.js +0 -559
  356. package/dist/OverlayScrollArea-BSlaXG1h.cjs +0 -1
  357. package/dist/OverlayScrollArea-c8Za77qs.js +0 -180
  358. package/dist/PageSkeleton-BPbb28-H.cjs +0 -30
  359. package/dist/Popover-CWrR51eG.cjs +0 -1
  360. package/dist/Popover-Cttb6NYT.js +0 -206
  361. package/dist/SearchableSelect-BvCm4enQ.js +0 -327
  362. package/dist/SearchableSelect-CVqdVMOC.cjs +0 -1
  363. package/dist/StatusBarNotificationBell-BJiORN4s.cjs +0 -50
  364. package/dist/Stepper-Ci5JpLbS.cjs +0 -1
  365. package/dist/Stepper-D9i1Xclm.js +0 -583
  366. package/dist/TimeSeriesChart-DOwi2lJs.js +0 -441
  367. package/dist/TimeSeriesChart-huvheefm.cjs +0 -1
  368. package/dist/ToggleButton-BFWh1_o5.cjs +0 -1
  369. package/dist/ToggleButton-CFM8P3JY.js +0 -2137
  370. package/dist/anchoredLayout-Dstwa5OH.cjs +0 -1
  371. package/dist/anchoredLayout-FC-qv8xm.js +0 -250
  372. package/dist/createDialogShellFocus-B4piXDU4.js +0 -282
  373. package/dist/createDialogShellFocus-CJaw9-B9.cjs +0 -1
  374. package/dist/createResizableSidebar-BDUlX9-G.js +0 -472
  375. package/dist/createResizableSidebar-BVJBU2kP.cjs +0 -1
  376. package/dist/dialogFocusRestore--dH59ER2.js +0 -35
  377. package/dist/dialogFocusRestore-CL-ExfAA.cjs +0 -1
  378. package/dist/kitHost-BfJExE1G.cjs +0 -1
  379. package/dist/kitHost-CVAEi9sF.js +0 -23
  380. package/dist/mainRealmDom-C12lr9lm.js +0 -171
  381. package/dist/mainRealmDom-S6teqEr4.cjs +0 -1
  382. package/dist/pageTourState-CrbEU7QW.cjs +0 -5
  383. package/dist/rowSource-D__7o4h0.js +0 -1230
  384. package/dist/rowSource-DiwTu_r8.cjs +0 -1
  385. package/dist/server/AttributeGrid-B7sb3btp.cjs +0 -1
  386. package/dist/server/AttributeGrid-CMi-UtWb.js +0 -281
  387. package/dist/server/Button-0AXWRw9Q.cjs +0 -1
  388. package/dist/server/Button-3yNrnn4P.js +0 -220
  389. package/dist/server/CommandPalette-CozogFlk.js +0 -3265
  390. package/dist/server/CommandPalette-DQK6N98N.cjs +0 -1
  391. package/dist/server/CopyButton-B6xd9Z6j.js +0 -64
  392. package/dist/server/CopyButton-D8IN6Vnd.cjs +0 -1
  393. package/dist/server/DateRangePicker-C35q8BTw.js +0 -484
  394. package/dist/server/DateRangePicker-KLZzyuPJ.cjs +0 -9
  395. package/dist/server/EmptyState-BnAHklc5.cjs +0 -1
  396. package/dist/server/GuidedTour-DfV0yzqh.cjs +0 -1
  397. package/dist/server/GuidedTour-DmLbBttx.js +0 -400
  398. package/dist/server/HostPortal-CgJwxt-f.cjs +0 -1
  399. package/dist/server/IconPicker-B1soopAp.cjs +0 -1
  400. package/dist/server/Input-CjvD8w18.cjs +0 -1
  401. package/dist/server/Input-DaEN2JJd.js +0 -127
  402. package/dist/server/Modal-BheFQLs1.js +0 -415
  403. package/dist/server/Modal-BswxV8Pn.cjs +0 -1
  404. package/dist/server/OverlayScrollArea-221dfKyz.js +0 -65
  405. package/dist/server/OverlayScrollArea-D4e9D9Nd.cjs +0 -1
  406. package/dist/server/PageSkeleton-DBo7hQq-.cjs +0 -30
  407. package/dist/server/Popover-BsxIKBbl.cjs +0 -1
  408. package/dist/server/Popover-Cg28aPUZ.js +0 -439
  409. package/dist/server/SearchableSelect-09ECcDlB.cjs +0 -1
  410. package/dist/server/SearchableSelect-vjhS4c-H.js +0 -205
  411. package/dist/server/StatusBarNotificationBell-LJHLMT9F.cjs +0 -49
  412. package/dist/server/Stepper-DxNrskdq.cjs +0 -1
  413. package/dist/server/Stepper-n5f9r-ye.js +0 -375
  414. package/dist/server/TimeSeriesChart-BQVXUFoj.cjs +0 -1
  415. package/dist/server/TimeSeriesChart-PAb95s6x.js +0 -242
  416. package/dist/server/ToggleButton-FywO2CCI.js +0 -1335
  417. package/dist/server/ToggleButton-TE3Xf2yD.cjs +0 -1
  418. package/dist/server/VpTrash-D49oUUJh.cjs +0 -1
  419. package/dist/server/createDialogShellFocus-BFo8awdj.js +0 -369
  420. package/dist/server/createDialogShellFocus-BiBAZOCI.cjs +0 -1
  421. package/dist/server/createResizableSidebar-GFgZIj-5.cjs +0 -1
  422. package/dist/server/dialogFocusRestore--dH59ER2.js +0 -35
  423. package/dist/server/dialogFocusRestore-CL-ExfAA.cjs +0 -1
  424. package/dist/server/index-2mQPVEDR.cjs +0 -1
  425. package/dist/server/kitHost-BfJExE1G.cjs +0 -1
  426. package/dist/server/kitHost-CVAEi9sF.js +0 -23
  427. package/dist/server/mainRealmDom-DPNaDWtw.js +0 -121
  428. package/dist/server/mainRealmDom-DwZVMPnO.cjs +0 -1
  429. package/dist/server/pageTourState-CrbEU7QW.cjs +0 -5
  430. package/dist/server/rowSource-D-wcDmFU.js +0 -1122
  431. package/dist/server/rowSource-DltiY0o3.cjs +0 -1
  432. package/dist/tooltipCoordinator-BzxEyKhA.js +0 -144
  433. package/dist/tooltipCoordinator-DslqMlsI.cjs +0 -1
@@ -0,0 +1,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-BVJBU2kP.cjs"),r=require("../Stepper-Ci5JpLbS.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-BDUlX9-G.js";
2
- import { A as l, B as b, S as p, T as n } from "../Stepper-D9i1Xclm.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,17 @@
1
+ /**
2
+ * Keeps a drag honest at the ends of a range: when the consumer clamps the size (a pane at its
3
+ * maximum), the pointer keeps moving but the pane does not, and the unapplied distance is carried.
4
+ * Moving back first spends that carry, so the pane follows the pointer again only once the pointer
5
+ * is back where the edge is — instead of shrinking at once while the pointer is still far away.
6
+ */
7
+ export interface ResizeCarry {
8
+ /**
9
+ * Feed one pointer movement. `apply` hands a delta to the consumer; `read` returns the size
10
+ * after it. Returns nothing; the carry is internal.
11
+ */
12
+ step(delta: number, read: () => number, apply: (delta: number) => void): void;
13
+ }
14
+ export declare function createResizeCarry(bounds: {
15
+ min: number;
16
+ max: number;
17
+ }): ResizeCarry;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Keeps a drag honest at the ends of a range: when the consumer clamps the size (a pane at its
3
+ * maximum), the pointer keeps moving but the pane does not, and the unapplied distance is carried.
4
+ * Moving back first spends that carry, so the pane follows the pointer again only once the pointer
5
+ * is back where the edge is — instead of shrinking at once while the pointer is still far away.
6
+ */
7
+ export interface ResizeCarry {
8
+ /**
9
+ * Feed one pointer movement. `apply` hands a delta to the consumer; `read` returns the size
10
+ * after it. Returns nothing; the carry is internal.
11
+ */
12
+ step(delta: number, read: () => number, apply: (delta: number) => void): void;
13
+ }
14
+ export declare function createResizeCarry(bounds: {
15
+ min: number;
16
+ max: number;
17
+ }): ResizeCarry;
@@ -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
+ };
@@ -0,0 +1,170 @@
1
+ import { createSignal as M } from "solid-js";
2
+ import { o as A } from "./ownerWindow-9mx_LD47.js";
3
+ import { c as E } from "./errorHandler-BvPGW-Nm.js";
4
+ import { i as y } from "./keys-B2nlkpqc.js";
5
+ const W = 350, N = 0, b = 300, x = 6, D = 8;
6
+ function H(r) {
7
+ const { anchorRect: o, tooltipSize: e, viewport: n } = r, s = r.offset ?? x, i = r.margin ?? D, c = r.placement ?? "bottom", u = "bottom" in o && o.bottom !== void 0 ? o.bottom : o.top + o.height, h = "right" in o && o.right !== void 0 ? o.right : o.left + o.width;
8
+ let d = c, m = 0, f = 0;
9
+ if (c === "top" || c === "bottom") {
10
+ if (c === "top") {
11
+ const a = o.top - s - e.height;
12
+ a < i && u + s + e.height <= n.height - i ? (d = "bottom", m = u + s) : m = Math.max(
13
+ i,
14
+ Math.min(a, n.height - e.height - i)
15
+ );
16
+ } else {
17
+ const a = u + s;
18
+ a + e.height > n.height - i && o.top - s - e.height >= i ? (d = "top", m = o.top - s - e.height) : m = Math.max(
19
+ i,
20
+ Math.min(a, n.height - e.height - i)
21
+ );
22
+ }
23
+ const w = o.left + (o.width - e.width) / 2, v = Math.max(
24
+ i,
25
+ n.width - e.width - i
26
+ );
27
+ f = Math.max(i, Math.min(w, v));
28
+ } else {
29
+ if (c === "left") {
30
+ const a = o.left - s - e.width;
31
+ a < i && h + s + e.width <= n.width - i ? (d = "right", f = h + s) : f = Math.max(
32
+ i,
33
+ Math.min(a, n.width - e.width - i)
34
+ );
35
+ } else {
36
+ const a = h + s;
37
+ a + e.width > n.width - i && o.left - s - e.width >= i ? (d = "left", f = o.left - s - e.width) : f = Math.max(
38
+ i,
39
+ Math.min(a, n.width - e.width - i)
40
+ );
41
+ }
42
+ const w = o.top + (o.height - e.height) / 2, v = Math.max(
43
+ i,
44
+ n.height - e.height - i
45
+ );
46
+ m = Math.max(i, Math.min(w, v));
47
+ }
48
+ return { top: m, left: f, placement: d };
49
+ }
50
+ function S() {
51
+ const [r, o] = M(null);
52
+ let e = !1, n = null, s, i, c = null;
53
+ const u = () => {
54
+ s !== void 0 && (clearTimeout(s), s = void 0);
55
+ }, h = () => {
56
+ i !== void 0 && (clearTimeout(i), i = void 0);
57
+ }, d = () => {
58
+ if (c) {
59
+ try {
60
+ c();
61
+ } catch (t) {
62
+ E(
63
+ "Window context may already be destroyed or unloaded",
64
+ t
65
+ );
66
+ }
67
+ c = null;
68
+ }
69
+ }, m = (t) => {
70
+ d();
71
+ const l = () => {
72
+ w();
73
+ }, p = (T) => {
74
+ y(T, "Escape") && r() !== null && (T.stopPropagation(), T.stopImmediatePropagation(), w());
75
+ };
76
+ t.addEventListener("scroll", l, !0), t.addEventListener("pointerdown", l, !0), t.addEventListener("keydown", p, !0), t.addEventListener("blur", l), c = () => {
77
+ t.removeEventListener("scroll", l, !0), t.removeEventListener("pointerdown", l, !0), t.removeEventListener("keydown", p, !0), t.removeEventListener("blur", l);
78
+ };
79
+ }, f = (t) => {
80
+ u(), h(), n = null, e = !0, o(t);
81
+ const l = A(t.target);
82
+ if (l === null) {
83
+ d();
84
+ return;
85
+ }
86
+ m(l);
87
+ }, w = () => {
88
+ u(), h(), n = null, e = !1, o(null), d();
89
+ };
90
+ return {
91
+ activeTooltip: r,
92
+ isWarm: () => e,
93
+ showTooltip: (t) => {
94
+ if (!t.content || typeof t.content == "function" && !t.content())
95
+ return;
96
+ h();
97
+ const l = r();
98
+ if (!(l && (l.id === t.id || l.target === t.target)))
99
+ if (e || l !== null)
100
+ f(t);
101
+ else {
102
+ u(), n = t;
103
+ const p = t.delayMs ?? W;
104
+ p <= 0 ? f(t) : s = setTimeout(() => {
105
+ n === t && f(t);
106
+ }, p);
107
+ }
108
+ },
109
+ hideTooltip: (t) => {
110
+ if (t !== void 0) {
111
+ n && (typeof t == "string" ? n.id === t : n.target === t) && (u(), n = null);
112
+ const l = r();
113
+ if (l) {
114
+ if (!(typeof t == "string" ? l.id === t : l.target === t))
115
+ return;
116
+ } else
117
+ return;
118
+ }
119
+ u(), n = null, o(null), d(), h(), i = setTimeout(() => {
120
+ e = !1, i = void 0;
121
+ }, b);
122
+ },
123
+ dismissAll: w,
124
+ recordTooltipShown: () => {
125
+ h(), e = !0;
126
+ },
127
+ recordTooltipHidden: () => {
128
+ h(), i = setTimeout(() => {
129
+ e = !1, i = void 0;
130
+ }, b);
131
+ }
132
+ };
133
+ }
134
+ const K = S(), L = "data-suppressed-title", g = /* @__PURE__ */ new WeakMap();
135
+ function U(r) {
136
+ const o = r.ownerDocument.defaultView;
137
+ if (o === null || g.has(r)) return;
138
+ const e = r.getAttribute("title");
139
+ if (e === null || e === "") return;
140
+ r.setAttribute(L, e), r.setAttribute("title", "");
141
+ let n = !1;
142
+ const s = new o.MutationObserver(() => {
143
+ n = !0;
144
+ });
145
+ s.observe(r, { attributes: !0, attributeFilter: ["title"] }), g.set(r, {
146
+ ownerWrote: () => n || s.takeRecords().length > 0,
147
+ stop: () => s.disconnect()
148
+ });
149
+ }
150
+ function Y(r) {
151
+ const o = g.get(r);
152
+ if (o === void 0) return;
153
+ g.delete(r);
154
+ const e = o.ownerWrote();
155
+ o.stop();
156
+ const n = r.getAttribute(L);
157
+ r.removeAttribute(L), !e && n !== null && r.setAttribute("title", n);
158
+ }
159
+ export {
160
+ W as C,
161
+ D,
162
+ N as W,
163
+ b as a,
164
+ x as b,
165
+ H as c,
166
+ S as d,
167
+ U as h,
168
+ Y as r,
169
+ K as t
170
+ };
@@ -0,0 +1 @@
1
+ "use strict";const W=require("solid-js"),_=require("./ownerWindow-BCmJFMbR.cjs"),y=require("./errorHandler-DoDAPpv2.cjs"),S=require("./keys-GMxY2wcl.cjs"),A=350,x=0,L=300,E=6,b=8;function F(r){const{anchorRect:o,tooltipSize:e,viewport:n}=r,s=r.offset??E,i=r.margin??b,a=r.placement??"bottom",f="bottom"in o&&o.bottom!==void 0?o.bottom:o.top+o.height,h="right"in o&&o.right!==void 0?o.right:o.left+o.width;let d=a,m=0,u=0;if(a==="top"||a==="bottom"){if(a==="top"){const c=o.top-s-e.height;c<i&&f+s+e.height<=n.height-i?(d="bottom",m=f+s):m=Math.max(i,Math.min(c,n.height-e.height-i))}else{const c=f+s;c+e.height>n.height-i&&o.top-s-e.height>=i?(d="top",m=o.top-s-e.height):m=Math.max(i,Math.min(c,n.height-e.height-i))}const w=o.left+(o.width-e.width)/2,v=Math.max(i,n.width-e.width-i);u=Math.max(i,Math.min(w,v))}else{if(a==="left"){const c=o.left-s-e.width;c<i&&h+s+e.width<=n.width-i?(d="right",u=h+s):u=Math.max(i,Math.min(c,n.width-e.width-i))}else{const c=h+s;c+e.width>n.width-i&&o.left-s-e.width>=i?(d="left",u=o.left-s-e.width):u=Math.max(i,Math.min(c,n.width-e.width-i))}const w=o.top+(o.height-e.height)/2,v=Math.max(i,n.height-e.height-i);m=Math.max(i,Math.min(w,v))}return{top:m,left:u,placement:d}}function D(){const[r,o]=W.createSignal(null);let e=!1,n=null,s,i,a=null;const f=()=>{s!==void 0&&(clearTimeout(s),s=void 0)},h=()=>{i!==void 0&&(clearTimeout(i),i=void 0)},d=()=>{if(a){try{a()}catch(t){y.bestEffortFailed("Window context may already be destroyed or unloaded",t)}a=null}},m=t=>{d();const l=()=>{w()},p=g=>{S.isKey(g,"Escape")&&r()!==null&&(g.stopPropagation(),g.stopImmediatePropagation(),w())};t.addEventListener("scroll",l,!0),t.addEventListener("pointerdown",l,!0),t.addEventListener("keydown",p,!0),t.addEventListener("blur",l),a=()=>{t.removeEventListener("scroll",l,!0),t.removeEventListener("pointerdown",l,!0),t.removeEventListener("keydown",p,!0),t.removeEventListener("blur",l)}},u=t=>{f(),h(),n=null,e=!0,o(t);const l=_.ownerWindow(t.target);if(l===null){d();return}m(l)},w=()=>{f(),h(),n=null,e=!1,o(null),d()};return{activeTooltip:r,isWarm:()=>e,showTooltip:t=>{if(!t.content||typeof t.content=="function"&&!t.content())return;h();const l=r();if(!(l&&(l.id===t.id||l.target===t.target)))if(e||l!==null)u(t);else{f(),n=t;const p=t.delayMs??A;p<=0?u(t):s=setTimeout(()=>{n===t&&u(t)},p)}},hideTooltip:t=>{if(t!==void 0){n&&(typeof t=="string"?n.id===t:n.target===t)&&(f(),n=null);const l=r();if(l){if(!(typeof t=="string"?l.id===t:l.target===t))return}else return}f(),n=null,o(null),d(),h(),i=setTimeout(()=>{e=!1,i=void 0},L)},dismissAll:w,recordTooltipShown:()=>{h(),e=!0},recordTooltipHidden:()=>{h(),i=setTimeout(()=>{e=!1,i=void 0},L)}}}const C=D(),M="data-suppressed-title",T=new WeakMap;function N(r){const o=r.ownerDocument.defaultView;if(o===null||T.has(r))return;const e=r.getAttribute("title");if(e===null||e==="")return;r.setAttribute(M,e),r.setAttribute("title","");let n=!1;const s=new o.MutationObserver(()=>{n=!0});s.observe(r,{attributes:!0,attributeFilter:["title"]}),T.set(r,{ownerWrote:()=>n||s.takeRecords().length>0,stop:()=>s.disconnect()})}function P(r){const o=T.get(r);if(o===void 0)return;T.delete(r);const e=o.ownerWrote();o.stop();const n=r.getAttribute(M);r.removeAttribute(M),!e&&n!==null&&r.setAttribute("title",n)}exports.COLD_DELAY_MS=A;exports.COOLDOWN_MS=L;exports.DEFAULT_MARGIN=b;exports.DEFAULT_OFFSET=E;exports.WARM_DELAY_MS=x;exports.computeAnchoredTooltipPosition=F;exports.createTooltipCoordinator=D;exports.holdNativeTitle=N;exports.releaseNativeTitle=P;exports.tooltipCoordinator=C;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Stepper-Ci5JpLbS.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-D9i1Xclm.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;
@@ -1,5 +1,6 @@
1
1
  import { type Component } from 'solid-js';
2
2
  import { type NotificationItem as NotificationItemModel } from './nativeEngine.cjs';
3
+ import type { ToastPosition } from '../_internal/platform/settings/settingsTypes.cjs';
3
4
  import { type VendorErrorMatch } from '../_internal/platform/vendorErrors/index.cjs';
4
5
  import type { VendorErrorRef } from '../_internal/contract/vendorErrorRef.cjs';
5
6
  import type { Announcer } from '../_internal/platform/a11y/announcerService.cjs';
@@ -62,6 +63,14 @@ interface Props {
62
63
  * (`notification-card-<id>`) nor a live region, and is not read to a screen reader.
63
64
  */
64
65
  readonly inCenter?: boolean;
66
+ /**
67
+ * The corner the card is drawn at — the toast stack's position, or the center's. The expand chevron points the way
68
+ * the card opens: up at a bottom corner, where the stack grows up, down at a top corner, and it turns over once the
69
+ * card is open, as the reference flips its cards' expand and collapse icons with the notifications' position
70
+ * (`workbench/browser/parts/notifications/notificationsActions.ts:21-24`, `:29-35`). Unset — a card in a panel or
71
+ * a modal layer, at no corner — the card opens downward.
72
+ */
73
+ readonly corner?: ToastPosition | undefined;
65
74
  }
66
75
  export declare const NotificationItem: Component<Props>;
67
76
  export {};
@@ -1,5 +1,6 @@
1
1
  import { type Component } from 'solid-js';
2
2
  import { type NotificationItem as NotificationItemModel } from './nativeEngine.js';
3
+ import type { ToastPosition } from '../_internal/platform/settings/settingsTypes.js';
3
4
  import { type VendorErrorMatch } from '../_internal/platform/vendorErrors/index.js';
4
5
  import type { VendorErrorRef } from '../_internal/contract/vendorErrorRef.js';
5
6
  import type { Announcer } from '../_internal/platform/a11y/announcerService.js';
@@ -62,6 +63,14 @@ interface Props {
62
63
  * (`notification-card-<id>`) nor a live region, and is not read to a screen reader.
63
64
  */
64
65
  readonly inCenter?: boolean;
66
+ /**
67
+ * The corner the card is drawn at — the toast stack's position, or the center's. The expand chevron points the way
68
+ * the card opens: up at a bottom corner, where the stack grows up, down at a top corner, and it turns over once the
69
+ * card is open, as the reference flips its cards' expand and collapse icons with the notifications' position
70
+ * (`workbench/browser/parts/notifications/notificationsActions.ts:21-24`, `:29-35`). Unset — a card in a panel or
71
+ * a modal layer, at no corner — the card opens downward.
72
+ */
73
+ readonly corner?: ToastPosition | undefined;
65
74
  }
66
75
  export declare const NotificationItem: Component<Props>;
67
76
  export {};
@@ -1,12 +1,30 @@
1
+ import type { ToastPosition } from '../_internal/platform/settings/settingsTypes.cjs';
1
2
  interface Props {
2
3
  /** Collapse the center (the header "hide" chevron and Escape both call it). */
3
4
  onHide: () => void;
5
+ /**
6
+ * The center's element, for a host that shows a center already on the screen again: the reference focuses the
7
+ * first notification then too (`notificationsCenter.ts:140-150`), which the host does with
8
+ * `focusFirstNotificationEntry`.
9
+ */
10
+ ref?: ((element: HTMLElement) => void) | undefined;
11
+ /**
12
+ * The corner the host shows the center in — the reference places its center at the notifications' position. In a
13
+ * top corner the hide button points up, toward the edge the center hides to, as the reference turns its hide icon
14
+ * there (`notificationsCenter.ts:104-111`), and its running cards' expand chevrons point down, as the reference
15
+ * turns its cards' (`notificationsActions.ts:21-24`, `:29-35`). Unset, the center opens from the bottom, as from the
16
+ * status bar's bell.
17
+ */
18
+ corner?: ToastPosition | undefined;
4
19
  }
5
20
  /**
6
21
  * Status-bar notification center. Renders the persisted notification
7
22
  * timeline as rounded cards inside a popover anchored to the status-bar bell.
8
23
  * Intentionally free of the rail panel's filter/group/pin machinery — this is
9
24
  * the lightweight surface; the full timeline panel lives in the rail/dock.
25
+ *
26
+ * Mounted, the center is shown: it focuses its first notification, and its
27
+ * entries are a list the arrow keys move along (`notificationEntryList`).
10
28
  */
11
29
  export declare function NotificationsCenter(props: Props): import("solid-js").JSX.Element;
12
30
  export {};
@@ -1,12 +1,30 @@
1
+ import type { ToastPosition } from '../_internal/platform/settings/settingsTypes.js';
1
2
  interface Props {
2
3
  /** Collapse the center (the header "hide" chevron and Escape both call it). */
3
4
  onHide: () => void;
5
+ /**
6
+ * The center's element, for a host that shows a center already on the screen again: the reference focuses the
7
+ * first notification then too (`notificationsCenter.ts:140-150`), which the host does with
8
+ * `focusFirstNotificationEntry`.
9
+ */
10
+ ref?: ((element: HTMLElement) => void) | undefined;
11
+ /**
12
+ * The corner the host shows the center in — the reference places its center at the notifications' position. In a
13
+ * top corner the hide button points up, toward the edge the center hides to, as the reference turns its hide icon
14
+ * there (`notificationsCenter.ts:104-111`), and its running cards' expand chevrons point down, as the reference
15
+ * turns its cards' (`notificationsActions.ts:21-24`, `:29-35`). Unset, the center opens from the bottom, as from the
16
+ * status bar's bell.
17
+ */
18
+ corner?: ToastPosition | undefined;
4
19
  }
5
20
  /**
6
21
  * Status-bar notification center. Renders the persisted notification
7
22
  * timeline as rounded cards inside a popover anchored to the status-bar bell.
8
23
  * Intentionally free of the rail panel's filter/group/pin machinery — this is
9
24
  * the lightweight surface; the full timeline panel lives in the rail/dock.
25
+ *
26
+ * Mounted, the center is shown: it focuses its first notification, and its
27
+ * entries are a list the arrow keys move along (`notificationEntryList`).
10
28
  */
11
29
  export declare function NotificationsCenter(props: Props): import("solid-js").JSX.Element;
12
30
  export {};
@@ -12,9 +12,12 @@
12
12
  */
13
13
  import { type Accessor, type JSX } from 'solid-js';
14
14
  import { type NotificationItem as NotificationItemModel } from './nativeEngine.cjs';
15
+ import type { ToastPosition } from '../_internal/platform/settings/settingsTypes.cjs';
15
16
  /** The realm's running progress cards, oldest first. Call it in a component's setup. */
16
17
  export declare function useRunningProgressCards(): Accessor<readonly NotificationItemModel[]>;
17
18
  /** Draws the running cards as a center's copies (`inCenter`), with the verbs of the realm's stack. */
18
19
  export declare function RunningProgressCards(props: {
19
20
  readonly items: readonly NotificationItemModel[];
21
+ /** The corner the center is drawn at, which turns the cards' expand chevron; a panel draws them at none. */
22
+ readonly corner?: ToastPosition | undefined;
20
23
  }): JSX.Element;