@vokril/ui-solid 0.31.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (382) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/README.md +132 -4
  3. package/dist/AttributeGrid-CNkALmJq.cjs +1 -0
  4. package/dist/AttributeGrid-DnuTPJ_P.js +320 -0
  5. package/dist/{Button-4meERfnv.js → Button-CX7mylBT.js} +125 -117
  6. package/dist/Button-lMUW5P3O.cjs +1 -0
  7. package/dist/CommandPalette-DAR9VMqY.cjs +2 -0
  8. package/dist/CommandPalette-DlLcdd4o.js +4029 -0
  9. package/dist/CopyButton-BVvv5M8g.js +63 -0
  10. package/dist/CopyButton-Dnd8_2Lj.cjs +1 -0
  11. package/dist/DateRangePicker-BlJWtJBA.cjs +9 -0
  12. package/dist/DateRangePicker-CHmUU4PA.js +552 -0
  13. package/dist/GuidedTour-9rqvNB_m.js +483 -0
  14. package/dist/GuidedTour-DbXeuTc7.cjs +1 -0
  15. package/dist/{HostPortal-Ba3MD9CG.js → HostPortal-De65s6CU.js} +1 -1
  16. package/dist/{HostPortal-CpWsArs6.cjs → HostPortal-Dm4BmY8M.cjs} +1 -1
  17. package/dist/{IconPicker-D1G8HK92.js → IconPicker-CsYW8CXe.js} +4 -4
  18. package/dist/IconPicker-D-GU1mD3.cjs +1 -0
  19. package/dist/Input-C3rEQffK.js +382 -0
  20. package/dist/Input-CHtvL4_4.cjs +1 -0
  21. package/dist/Modal-3L6p7Dwt.js +599 -0
  22. package/dist/Modal-CtrWEnJ7.cjs +1 -0
  23. package/dist/OverlayScrollArea-Cr0VAApT.cjs +1 -0
  24. package/dist/OverlayScrollArea-CrrPFLq9.js +180 -0
  25. package/dist/{PageSkeleton-zNyjLPlk.js → PageSkeleton-BRuqaDzr.js} +372 -371
  26. package/dist/PageSkeleton-Cz2bckO4.cjs +30 -0
  27. package/dist/Popover-CLTXG8W0.cjs +1 -0
  28. package/dist/Popover-DkqGvMNy.js +207 -0
  29. package/dist/SearchableSelect-C-lV1vSv.cjs +1 -0
  30. package/dist/SearchableSelect-Du12kcI9.js +328 -0
  31. package/dist/{StatusBarNotificationBell-ZTEhZFmJ.js → StatusBarNotificationBell-DKDoWK71.js} +4879 -4789
  32. package/dist/StatusBarNotificationBell-wO16mjon.cjs +50 -0
  33. package/dist/Stepper-DzI-gtKd.js +586 -0
  34. package/dist/Stepper-rpu7lpzB.cjs +1 -0
  35. package/dist/{Textarea-DASNQNoi.cjs → Textarea-D4nYoQ0J.cjs} +1 -1
  36. package/dist/{Textarea-szHXQahi.js → Textarea-DOzZCc-O.js} +1 -1
  37. package/dist/TimeSeriesChart-BJqQpeEJ.cjs +1 -0
  38. package/dist/TimeSeriesChart-DvAhuyVl.js +442 -0
  39. package/dist/ToggleButton-B-hBpdzk.js +2144 -0
  40. package/dist/ToggleButton-BMH1A-IX.cjs +1 -0
  41. package/dist/_internal/app/onboarding/pageTourState.d.cts +0 -2
  42. package/dist/_internal/app/onboarding/pageTourState.d.ts +0 -2
  43. package/dist/_internal/app/onboarding/pageTourTypes.d.cts +2 -1
  44. package/dist/_internal/app/onboarding/pageTourTypes.d.ts +2 -1
  45. package/dist/_internal/contract/browser/workspace.d.cts +15 -0
  46. package/dist/_internal/contract/browser/workspace.d.ts +15 -0
  47. package/dist/_internal/contract/menuDensity.d.cts +8 -0
  48. package/dist/_internal/contract/menuDensity.d.ts +8 -0
  49. package/dist/_internal/contract/notification.d.cts +19 -3
  50. package/dist/_internal/contract/notification.d.ts +19 -3
  51. package/dist/_internal/platform/settings/settingsTypes.d.cts +2 -2
  52. package/dist/_internal/platform/settings/settingsTypes.d.ts +2 -2
  53. package/dist/a11y/index.cjs +1 -1
  54. package/dist/a11y/index.js +1 -1
  55. package/dist/appThemeDerivation-Be_oKljl.cjs +1 -0
  56. package/dist/{server/appThemeDerivation-DBAOkGl7.js → appThemeDerivation-CKoSe4KP.js} +231 -260
  57. package/dist/base.css +1 -1
  58. package/dist/charts/index.cjs +1 -1
  59. package/dist/charts/index.js +1 -1
  60. package/dist/createDialogShellFocus-DI1rUvYf.js +282 -0
  61. package/dist/createDialogShellFocus-kzkNSLWS.cjs +1 -0
  62. package/dist/createResizableSidebar--Ve6DbDu.js +504 -0
  63. package/dist/createResizableSidebar-DlVAuq5t.cjs +1 -0
  64. package/dist/desktop/index.cjs +1 -1
  65. package/dist/desktop/index.js +228 -227
  66. package/dist/feedback/index.cjs +1 -1
  67. package/dist/feedback/index.js +4 -4
  68. package/dist/{focusModality-BISb6-yg.cjs → focusModality-D704CJVN.cjs} +1 -1
  69. package/dist/{focusModality-FoLPWF-_.js → focusModality-ROUF6YGR.js} +1 -1
  70. package/dist/forms/index.cjs +1 -1
  71. package/dist/forms/index.js +9 -9
  72. package/dist/grid/index.cjs +1 -1
  73. package/dist/grid/index.js +1 -1
  74. package/dist/host/index.cjs +1 -1
  75. package/dist/host/index.d.cts +1 -0
  76. package/dist/host/index.d.ts +1 -0
  77. package/dist/host/index.js +38 -39
  78. package/dist/host/kitHost.d.cts +8 -0
  79. package/dist/host/kitHost.d.ts +8 -0
  80. package/dist/index.cjs +1 -1
  81. package/dist/index.js +940 -938
  82. package/dist/kitHost-BMMWpU4w.js +47 -0
  83. package/dist/kitHost-u0-mKvEK.cjs +1 -0
  84. package/dist/layout/index.cjs +1 -1
  85. package/dist/layout/index.js +2 -2
  86. package/dist/mainRealmDom-BcPuVvcy.cjs +1 -0
  87. package/dist/mainRealmDom-DydRT2Us.js +54 -0
  88. package/dist/{server/useSettingsSubscription-DLEk4k4j.js → menuDensity-6x_EqCGb.js} +7 -5
  89. package/dist/{server/useSettingsSubscription-DKjCwmRd.cjs → menuDensity-Cf74__OQ.cjs} +1 -1
  90. package/dist/navigation/index.cjs +1 -1
  91. package/dist/navigation/index.js +1 -1
  92. package/dist/notificationCatalog-CRERhjp6.js +168 -0
  93. package/dist/notificationCatalog-DqTkd7M6.cjs +1 -0
  94. package/dist/notifications/holdWhileShown.d.cts +18 -0
  95. package/dist/notifications/holdWhileShown.d.ts +18 -0
  96. package/dist/notifications/index.cjs +1 -1
  97. package/dist/notifications/index.js +3 -3
  98. package/dist/notifications/nativeEngine.d.cts +34 -2
  99. package/dist/notifications/nativeEngine.d.ts +34 -2
  100. package/dist/notifications/notificationEntryList.d.cts +18 -5
  101. package/dist/notifications/notificationEntryList.d.ts +18 -5
  102. package/dist/notifications/notificationOverlaySnapshot.d.cts +35 -6
  103. package/dist/notifications/notificationOverlaySnapshot.d.ts +35 -6
  104. package/dist/overlay/Modal.d.cts +17 -3
  105. package/dist/overlay/Modal.d.ts +17 -3
  106. package/dist/overlay/index.cjs +1 -1
  107. package/dist/overlay/index.d.cts +2 -1
  108. package/dist/overlay/index.d.ts +2 -1
  109. package/dist/overlay/index.js +46 -43
  110. package/dist/overlay/modalDefaults.d.cts +23 -0
  111. package/dist/overlay/modalDefaults.d.ts +23 -0
  112. package/dist/overlay/modalViewport.d.cts +17 -2
  113. package/dist/overlay/modalViewport.d.ts +17 -2
  114. package/dist/pageTourState-BuA-GBYO.cjs +5 -0
  115. package/dist/{server/pageTourState-BcBF8w89.js → pageTourState-DsSKdPOu.js} +160 -169
  116. package/dist/rowSource-D8gyHbEE.cjs +1 -0
  117. package/dist/rowSource-_4IuosKj.js +1236 -0
  118. package/dist/server/AttributeGrid-B9j_c2wM.js +281 -0
  119. package/dist/server/AttributeGrid-BALCTvOI.cjs +1 -0
  120. package/dist/server/Button-DHefmmYz.cjs +1 -0
  121. package/dist/server/Button-ft_8RNJj.js +226 -0
  122. package/dist/server/CommandPalette-CHdfYtxs.js +3305 -0
  123. package/dist/server/CommandPalette-D0Prl7by.cjs +1 -0
  124. package/dist/server/CopyButton-CiYcsQcI.js +64 -0
  125. package/dist/server/CopyButton-D2q7tQ0m.cjs +1 -0
  126. package/dist/server/DateRangePicker-C6wZI7No.js +487 -0
  127. package/dist/server/DateRangePicker-CF70G2yr.cjs +9 -0
  128. package/dist/server/GuidedTour-BmDAWNfN.cjs +1 -0
  129. package/dist/server/GuidedTour-DYBhprVK.js +400 -0
  130. package/dist/server/{HostPortal-C4IrAeWN.js → HostPortal-C4xdfRyM.js} +1 -1
  131. package/dist/server/{HostPortal-D5ECrJvn.cjs → HostPortal-CwyePpDX.cjs} +1 -1
  132. package/dist/server/{IconPicker-DDWgB7sm.js → IconPicker--Xso9fUf.js} +5 -5
  133. package/dist/server/IconPicker-BTI4cNgf.cjs +1 -0
  134. package/dist/server/Input-UX0Hk53M.cjs +1 -0
  135. package/dist/server/Input-V9Szcw6w.js +249 -0
  136. package/dist/server/Modal-CBnNlaTx.cjs +1 -0
  137. package/dist/server/Modal-D9CjieKK.js +426 -0
  138. package/dist/server/OverlayScrollArea-DuwGRSMm.cjs +1 -0
  139. package/dist/server/OverlayScrollArea-h6G3yk6U.js +66 -0
  140. package/dist/server/{PageSkeleton-DoxlE_bD.js → PageSkeleton-CFs7AdTA.js} +267 -266
  141. package/dist/server/PageSkeleton-D0KOKLsb.cjs +30 -0
  142. package/dist/server/Popover-BBDBIpT6.cjs +1 -0
  143. package/dist/server/Popover-e9JpRh11.js +439 -0
  144. package/dist/server/SearchableSelect-B2ZFnp6i.js +205 -0
  145. package/dist/server/SearchableSelect-BBu5cP6P.cjs +1 -0
  146. package/dist/server/StatusBarNotificationBell-DEp4eEUv.cjs +49 -0
  147. package/dist/server/{StatusBarNotificationBell-DW2l5O9B.js → StatusBarNotificationBell-kOm2ZNkl.js} +4567 -4477
  148. package/dist/server/Stepper-C04rOZcI.cjs +1 -0
  149. package/dist/server/Stepper-CVAOsf3o.js +381 -0
  150. package/dist/server/{Textarea-Bh5LVrBn.cjs → Textarea-BG6F8taO.cjs} +1 -1
  151. package/dist/server/{Textarea-DVkfGkP0.js → Textarea-DM4zpgWo.js} +1 -1
  152. package/dist/server/TimeSeriesChart-kuuqH7we.js +242 -0
  153. package/dist/server/TimeSeriesChart-tWbSF6fJ.cjs +1 -0
  154. package/dist/server/ToggleButton-BdqufQ7G.js +1344 -0
  155. package/dist/server/ToggleButton-Bo24NK3o.cjs +1 -0
  156. package/dist/server/a11y/index.cjs +1 -1
  157. package/dist/server/a11y/index.js +1 -1
  158. package/dist/server/appThemeDerivation-Be_oKljl.cjs +1 -0
  159. package/dist/{appThemeDerivation-DBAOkGl7.js → server/appThemeDerivation-CKoSe4KP.js} +231 -260
  160. package/dist/server/charts/index.cjs +1 -1
  161. package/dist/server/charts/index.js +1 -1
  162. package/dist/server/createDialogShellFocus-DvoNWpIu.cjs +1 -0
  163. package/dist/server/createDialogShellFocus-J8wqPlsa.js +370 -0
  164. package/dist/server/{createResizableSidebar-Dvu7iEk1.js → createResizableSidebar-CIrhLNKW.js} +104 -102
  165. package/dist/server/createResizableSidebar-DcZ2Cnpf.cjs +1 -0
  166. package/dist/server/desktop/index.cjs +1 -1
  167. package/dist/server/desktop/index.js +153 -152
  168. package/dist/server/feedback/index.cjs +1 -1
  169. package/dist/server/feedback/index.js +4 -4
  170. package/dist/server/{focusModality-nWNVX3JG.js → focusModality-Bu4Kuwm4.js} +1 -1
  171. package/dist/server/{focusModality-D-nxv8Er.cjs → focusModality-G2i60_7y.cjs} +1 -1
  172. package/dist/server/forms/index.cjs +1 -1
  173. package/dist/server/forms/index.js +9 -9
  174. package/dist/server/grid/index.cjs +1 -1
  175. package/dist/server/grid/index.js +1 -1
  176. package/dist/server/host/index.cjs +1 -1
  177. package/dist/server/host/index.js +38 -39
  178. package/dist/server/{index-BEARfm54.js → index-CPUZyKo7.js} +2 -2
  179. package/dist/server/{index-C6rYfWCJ.cjs → index-CVbkasNJ.cjs} +1 -1
  180. package/dist/server/index.cjs +1 -1
  181. package/dist/server/index.js +673 -671
  182. package/dist/server/kitHost-BMMWpU4w.js +47 -0
  183. package/dist/server/kitHost-u0-mKvEK.cjs +1 -0
  184. package/dist/server/layout/index.cjs +1 -1
  185. package/dist/server/layout/index.js +2 -2
  186. package/dist/server/mainRealmDom-BuGEeM_r.cjs +1 -0
  187. package/dist/server/{EmptyState-Csydyy_7.js → mainRealmDom-CzckS_ss.js} +12 -8
  188. package/dist/{useSettingsSubscription-DLEk4k4j.js → server/menuDensity-6x_EqCGb.js} +7 -5
  189. package/dist/{useSettingsSubscription-DKjCwmRd.cjs → server/menuDensity-Cf74__OQ.cjs} +1 -1
  190. package/dist/server/navigation/index.cjs +1 -1
  191. package/dist/server/navigation/index.js +1 -1
  192. package/dist/server/notificationCatalog-CEDltsJS.cjs +1 -0
  193. package/dist/server/notificationCatalog-Cl1dH4aJ.js +122 -0
  194. package/dist/server/notifications/index.cjs +1 -1
  195. package/dist/server/notifications/index.js +3 -3
  196. package/dist/server/overlay/index.cjs +1 -1
  197. package/dist/server/overlay/index.js +32 -29
  198. package/dist/server/pageTourState-BuA-GBYO.cjs +5 -0
  199. package/dist/{pageTourState-BcBF8w89.js → server/pageTourState-DsSKdPOu.js} +160 -169
  200. package/dist/server/rowSource-BSa7rgYJ.js +1128 -0
  201. package/dist/server/rowSource-Yw-xtlih.cjs +1 -0
  202. package/dist/server/settings/index.cjs +1 -1
  203. package/dist/server/settings/index.js +26 -25
  204. package/dist/server/tokens/index.cjs +1 -1
  205. package/dist/server/tokens/index.js +29 -28
  206. package/dist/server/tokens/palette/index.cjs +1 -0
  207. package/dist/server/tokens/palette/index.js +31 -0
  208. package/dist/server/tree/index.cjs +1 -1
  209. package/dist/server/tree/index.js +1 -1
  210. package/dist/settings/index.cjs +1 -1
  211. package/dist/settings/index.js +26 -25
  212. package/dist/solid/_internal/app/onboarding/PageTourHost.jsx +11 -10
  213. package/dist/solid/_internal/app/onboarding/pageTourState.js +12 -23
  214. package/dist/solid/_internal/contract/menuDensity.js +1 -0
  215. package/dist/solid/_internal/platform/settings/settingsTypes.js +1 -0
  216. package/dist/solid/charts/TimeSeriesChart.jsx +23 -22
  217. package/dist/solid/desktop/WindowControls.jsx +6 -3
  218. package/dist/solid/feedback/Badge.jsx +9 -5
  219. package/dist/solid/feedback/ErrorBoundary.jsx +18 -14
  220. package/dist/solid/forms/Button.jsx +15 -9
  221. package/dist/solid/forms/Checkbox.jsx +5 -4
  222. package/dist/solid/forms/Combobox.jsx +12 -10
  223. package/dist/solid/forms/CopyButton.jsx +7 -4
  224. package/dist/solid/forms/DatePicker.jsx +12 -7
  225. package/dist/solid/forms/Dropzone.jsx +17 -13
  226. package/dist/solid/forms/FilePickerButton.jsx +5 -4
  227. package/dist/solid/forms/HiddenFileInput.jsx +3 -1
  228. package/dist/solid/forms/InputMessage.jsx +11 -10
  229. package/dist/solid/forms/MultiSearchableSelect.jsx +8 -7
  230. package/dist/solid/forms/NumberInput.jsx +25 -19
  231. package/dist/solid/forms/Picker.jsx +8 -6
  232. package/dist/solid/forms/PressableSurface.jsx +14 -9
  233. package/dist/solid/forms/RadioGroup.jsx +4 -3
  234. package/dist/solid/forms/SearchInput.jsx +4 -3
  235. package/dist/solid/forms/SearchableSelect.jsx +4 -3
  236. package/dist/solid/forms/SegmentedControl.jsx +4 -3
  237. package/dist/solid/forms/TagInput.jsx +22 -16
  238. package/dist/solid/forms/ToggleButton.jsx +4 -3
  239. package/dist/solid/forms/date-range-picker/DateRangePicker.jsx +12 -10
  240. package/dist/solid/grid/Pagination.jsx +7 -3
  241. package/dist/solid/host/kitHost.jsx +5 -1
  242. package/dist/solid/layout/PageHeaderIcon.jsx +11 -9
  243. package/dist/solid/layout/ResizableSplitPane.jsx +4 -4
  244. package/dist/solid/layout/ResizeHandle.jsx +6 -5
  245. package/dist/solid/navigation/Accordion.jsx +8 -5
  246. package/dist/solid/navigation/Tabs.jsx +11 -8
  247. package/dist/solid/notifications/NotificationHost.jsx +3 -16
  248. package/dist/solid/notifications/NotificationItem.jsx +59 -55
  249. package/dist/solid/notifications/NotificationPanel.jsx +16 -8
  250. package/dist/solid/notifications/NotificationsCenter.jsx +2 -0
  251. package/dist/solid/notifications/StatusBarNotificationBell.jsx +4 -3
  252. package/dist/solid/notifications/createNotificationPreviewRuntime.js +2 -0
  253. package/dist/solid/notifications/holdWhileShown.js +30 -0
  254. package/dist/solid/notifications/nativeEngine.js +52 -1
  255. package/dist/solid/notifications/notificationEntryList.js +25 -9
  256. package/dist/solid/notifications/notificationOverlaySnapshot.js +26 -0
  257. package/dist/solid/notifications/toast.js +4 -0
  258. package/dist/solid/overlay/ConfirmDialog.jsx +21 -16
  259. package/dist/solid/overlay/DangerousActionDialogParts.jsx +5 -3
  260. package/dist/solid/overlay/Disclosure.jsx +4 -3
  261. package/dist/solid/overlay/DropdownMenu.jsx +6 -4
  262. package/dist/solid/overlay/FloatingWindow.jsx +3 -3
  263. package/dist/solid/overlay/HoverTooltip.jsx +9 -7
  264. package/dist/solid/overlay/Modal.jsx +44 -35
  265. package/dist/solid/overlay/OverlayScrollArea.jsx +5 -3
  266. package/dist/solid/overlay/Tooltip.jsx +5 -4
  267. package/dist/solid/overlay/command-palette/CommandPalette.jsx +7 -7
  268. package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +65 -50
  269. package/dist/solid/overlay/index.js +2 -1
  270. package/dist/solid/overlay/menu/MenuParts.jsx +11 -8
  271. package/dist/solid/overlay/modalDefaults.jsx +10 -0
  272. package/dist/solid/overlay/modalViewport.js +17 -4
  273. package/dist/solid/overlay/popover/Popover.jsx +17 -11
  274. package/dist/solid/overlay/tour/GuidedTour.jsx +18 -14
  275. package/dist/solid/tokens/palette/index.js +1 -0
  276. package/dist/solid/tree/TreeRow.jsx +21 -16
  277. package/dist/solid/tree/TreeSurface.jsx +15 -14
  278. package/dist/solid/widgets/SettingsField.jsx +11 -10
  279. package/dist/style.css +3 -2
  280. package/dist/theme.css +2 -1
  281. package/dist/tokens/index.cjs +1 -1
  282. package/dist/tokens/index.js +29 -28
  283. package/dist/tokens/palette/index.cjs +1 -0
  284. package/dist/tokens/palette/index.d.cts +12 -0
  285. package/dist/tokens/palette/index.d.ts +12 -0
  286. package/dist/tokens/palette/index.js +31 -0
  287. package/dist/tokens/tokens.css +2 -1
  288. package/dist/tree/TreeRow.d.cts +5 -4
  289. package/dist/tree/TreeRow.d.ts +5 -4
  290. package/dist/tree/descriptor.d.cts +13 -3
  291. package/dist/tree/descriptor.d.ts +13 -3
  292. package/dist/tree/index.cjs +1 -1
  293. package/dist/tree/index.js +1 -1
  294. package/dist/ui.css +1 -1
  295. package/package.json +25 -1
  296. package/dist/AttributeGrid-Ch1k9v5j.cjs +0 -1
  297. package/dist/AttributeGrid-DqFd4gBm.js +0 -320
  298. package/dist/Button-OyZHrl-t.cjs +0 -1
  299. package/dist/CommandPalette-CxYZUJtN.cjs +0 -2
  300. package/dist/CommandPalette-DwOp8y1-.js +0 -4018
  301. package/dist/CopyButton-16QNPgz6.cjs +0 -1
  302. package/dist/CopyButton-BVS49lMS.js +0 -63
  303. package/dist/DateRangePicker-8QvydugY.js +0 -550
  304. package/dist/DateRangePicker-DI-06xWY.cjs +0 -9
  305. package/dist/EmptyState-B9TxGJ5v.cjs +0 -1
  306. package/dist/EmptyState-Dph6HU74.js +0 -50
  307. package/dist/GuidedTour-DUQwdW8n.cjs +0 -1
  308. package/dist/GuidedTour-DXMmHn0o.js +0 -483
  309. package/dist/IconPicker-Q-ZDtNkd.cjs +0 -1
  310. package/dist/Input-Brp5EDhg.cjs +0 -1
  311. package/dist/Input-CZi8KEfm.js +0 -374
  312. package/dist/Modal-CBi7Wd2V.cjs +0 -1
  313. package/dist/Modal-iyY1HUtr.js +0 -588
  314. package/dist/OverlayScrollArea-BSlaXG1h.cjs +0 -1
  315. package/dist/OverlayScrollArea-c8Za77qs.js +0 -180
  316. package/dist/PageSkeleton-B_-4fz1q.cjs +0 -30
  317. package/dist/Popover-DVi179wu.js +0 -207
  318. package/dist/Popover-DXrczbt9.cjs +0 -1
  319. package/dist/SearchableSelect-DtHbWJhR.js +0 -328
  320. package/dist/SearchableSelect-yLVqCGFo.cjs +0 -1
  321. package/dist/StatusBarNotificationBell-DQs5g1K6.cjs +0 -50
  322. package/dist/Stepper-CyRgzWlR.js +0 -583
  323. package/dist/Stepper-u2ZsE5oP.cjs +0 -1
  324. package/dist/TimeSeriesChart-D7lIqolp.js +0 -441
  325. package/dist/TimeSeriesChart-DGzM9B--.cjs +0 -1
  326. package/dist/ToggleButton-B22PsCqo.js +0 -2138
  327. package/dist/ToggleButton-DWslrIBN.cjs +0 -1
  328. package/dist/appThemeDerivation-BylmT80v.cjs +0 -1
  329. package/dist/createDialogShellFocus-CQ0VNC2g.cjs +0 -1
  330. package/dist/createDialogShellFocus-DbiQmLgb.js +0 -282
  331. package/dist/createResizableSidebar-COlpGQ7H.cjs +0 -1
  332. package/dist/createResizableSidebar-cmCKTIg_.js +0 -504
  333. package/dist/kitHost-BfJExE1G.cjs +0 -1
  334. package/dist/kitHost-CVAEi9sF.js +0 -23
  335. package/dist/mainRealmDom-B215swW-.js +0 -166
  336. package/dist/mainRealmDom-BYGSE-fo.cjs +0 -1
  337. package/dist/pageTourState-CrbEU7QW.cjs +0 -5
  338. package/dist/rowSource-D__7o4h0.js +0 -1230
  339. package/dist/rowSource-DiwTu_r8.cjs +0 -1
  340. package/dist/server/AttributeGrid-Bpjlauuz.js +0 -281
  341. package/dist/server/AttributeGrid-DNYdKb8J.cjs +0 -1
  342. package/dist/server/Button-0AXWRw9Q.cjs +0 -1
  343. package/dist/server/Button-3yNrnn4P.js +0 -220
  344. package/dist/server/CommandPalette-BuVxnqBG.cjs +0 -1
  345. package/dist/server/CommandPalette-Dn3NKXPM.js +0 -3291
  346. package/dist/server/CopyButton-B6xd9Z6j.js +0 -64
  347. package/dist/server/CopyButton-D8IN6Vnd.cjs +0 -1
  348. package/dist/server/DateRangePicker-BFzNjaME.cjs +0 -9
  349. package/dist/server/DateRangePicker-CnYkTgXX.js +0 -484
  350. package/dist/server/EmptyState-BnAHklc5.cjs +0 -1
  351. package/dist/server/GuidedTour-BZardPYW.js +0 -400
  352. package/dist/server/GuidedTour-yhdZk2SU.cjs +0 -1
  353. package/dist/server/IconPicker-C5lAN9pX.cjs +0 -1
  354. package/dist/server/Input-AdF-i0O8.js +0 -245
  355. package/dist/server/Input-XF9Jr0G9.cjs +0 -1
  356. package/dist/server/Modal-C5dzgcRW.js +0 -420
  357. package/dist/server/Modal-nAhBS1L9.cjs +0 -1
  358. package/dist/server/OverlayScrollArea-221dfKyz.js +0 -65
  359. package/dist/server/OverlayScrollArea-D4e9D9Nd.cjs +0 -1
  360. package/dist/server/PageSkeleton-DBo7hQq-.cjs +0 -30
  361. package/dist/server/Popover-C5avmGWz.cjs +0 -1
  362. package/dist/server/Popover-H3AAYZI0.js +0 -439
  363. package/dist/server/SearchableSelect-CZrXDKfC.cjs +0 -1
  364. package/dist/server/SearchableSelect-DMqed5Er.js +0 -205
  365. package/dist/server/StatusBarNotificationBell-CGcMdT4h.cjs +0 -49
  366. package/dist/server/Stepper-CpapA_WH.cjs +0 -1
  367. package/dist/server/Stepper-gGA7JwjV.js +0 -375
  368. package/dist/server/TimeSeriesChart-BQVXUFoj.cjs +0 -1
  369. package/dist/server/TimeSeriesChart-PAb95s6x.js +0 -242
  370. package/dist/server/ToggleButton-CA9T-OsI.cjs +0 -1
  371. package/dist/server/ToggleButton-CBNKajZa.js +0 -1335
  372. package/dist/server/appThemeDerivation-BylmT80v.cjs +0 -1
  373. package/dist/server/createDialogShellFocus-CDaLuPg8.cjs +0 -1
  374. package/dist/server/createDialogShellFocus-LGDBOVnr.js +0 -369
  375. package/dist/server/createResizableSidebar-v40ZOb-Q.cjs +0 -1
  376. package/dist/server/kitHost-BfJExE1G.cjs +0 -1
  377. package/dist/server/kitHost-CVAEi9sF.js +0 -23
  378. package/dist/server/mainRealmDom-DPNaDWtw.js +0 -121
  379. package/dist/server/mainRealmDom-DwZVMPnO.cjs +0 -1
  380. package/dist/server/pageTourState-CrbEU7QW.cjs +0 -5
  381. package/dist/server/rowSource-D-wcDmFU.js +0 -1122
  382. package/dist/server/rowSource-DltiY0o3.cjs +0 -1
@@ -1,5 +1,5 @@
1
1
  import { createComponent as fn, isDev as ln } from "solid-js/web";
2
- import { createSignal as M, onCleanup as gn, createMemo as W, createEffect as yn, useContext as mn, createContext as bn } from "solid-js";
2
+ import { createSignal as _, onCleanup as gn, createMemo as W, createEffect as yn, useContext as mn, createContext as bn } from "solid-js";
3
3
  import { B as Z } from "./bugIndicatingError-h3J5qkL6.js";
4
4
  const w = [
5
5
  {
@@ -174,208 +174,208 @@ const w = [
174
174
  }, Fn = "viper-dark", hn = {
175
175
  darcula: "viper-dark",
176
176
  light: "viper-light"
177
- }, en = (n) => hn[n] ?? n;
177
+ }, rn = (n) => hn[n] ?? n;
178
178
  let I = "viper";
179
- function re(n) {
179
+ function nr(n) {
180
180
  if (!Object.prototype.hasOwnProperty.call(nn, n))
181
181
  throw new Error(`Unknown theme design: ${String(n)}`);
182
182
  I = n;
183
183
  }
184
- function te() {
184
+ function rr() {
185
185
  return I;
186
186
  }
187
187
  function p(n = "dark") {
188
188
  return nn[I][n];
189
189
  }
190
- const E = [];
191
- function oe(n) {
192
- return E.push(n), {
190
+ const v = [];
191
+ function er(n) {
192
+ return v.push(n), {
193
193
  dispose: () => {
194
- const e = E.indexOf(n);
195
- e !== -1 && E.splice(e, 1);
194
+ const r = v.indexOf(n);
195
+ r !== -1 && v.splice(r, 1);
196
196
  }
197
197
  };
198
198
  }
199
- function rn(n) {
200
- for (const e of E) {
201
- const r = e.byId(n);
202
- if (r !== null) return r;
199
+ function en(n) {
200
+ for (const r of v) {
201
+ const e = r.byId(n);
202
+ if (e !== null) return e;
203
203
  }
204
204
  return null;
205
205
  }
206
- const tn = (n) => n.design === void 0 || n.design === I, S = (n) => w.find((e) => e.id === n);
207
- function v(n) {
208
- const e = en(n), r = S(e);
209
- return r && !tn(r) ? S(p(r.type)) : r ?? rn(e) ?? S(p());
206
+ const tn = (n) => n.design === void 0 || n.design === I, S = (n) => w.find((r) => r.id === n);
207
+ function E(n) {
208
+ const r = rn(n), e = S(r);
209
+ return e && !tn(e) ? S(p(e.type)) : e ?? en(r) ?? S(p());
210
210
  }
211
211
  function pn() {
212
- return [...w.filter(tn), ...E.flatMap((n) => n.options())];
213
- }
214
- function se(n) {
215
- const e = en(n);
216
- return S(e) !== void 0 || rn(e) !== null;
217
- }
218
- const D = 4.5, xn = 3;
219
- function kn(n) {
220
- const e = n.trim().replace(/^#/, ""), r = e.length === 3 ? e.split("").map((t) => t + t).join("") : e;
221
- return r.length !== 6 || /[^0-9a-fA-F]/.test(r) ? null : {
222
- r: Number.parseInt(r.slice(0, 2), 16),
223
- g: Number.parseInt(r.slice(2, 4), 16),
224
- b: Number.parseInt(r.slice(4, 6), 16)
212
+ return [...w.filter(tn), ...v.flatMap((n) => n.options())];
213
+ }
214
+ function tr(n) {
215
+ const r = rn(n);
216
+ return S(r) !== void 0 || en(r) !== null;
217
+ }
218
+ const D = 4.5, kn = 3;
219
+ function xn(n) {
220
+ const r = n.trim().replace(/^#/, ""), e = r.length === 3 ? r.split("").map((t) => t + t).join("") : r;
221
+ return e.length !== 6 || /[^0-9a-fA-F]/.test(e) ? null : {
222
+ r: Number.parseInt(e.slice(0, 2), 16),
223
+ g: Number.parseInt(e.slice(2, 4), 16),
224
+ b: Number.parseInt(e.slice(4, 6), 16)
225
225
  };
226
226
  }
227
- function En({ r: n, g: e, b: r }) {
227
+ function vn({ r: n, g: r, b: e }) {
228
228
  const t = (o) => Math.max(0, Math.min(255, Math.round(o))).toString(16).padStart(2, "0");
229
- return `#${t(n)}${t(e)}${t(r)}`;
229
+ return `#${t(n)}${t(r)}${t(e)}`;
230
230
  }
231
231
  function H(n) {
232
- const e = kn(n);
233
- if (!e)
232
+ const r = xn(n);
233
+ if (!r)
234
234
  throw new Z(
235
235
  `contrast: expected #rgb/#rrggbb, got ${JSON.stringify(n)}. Resolve var()/transparent/color-mix to a literal hex before measuring.`
236
236
  );
237
- return e;
237
+ return r;
238
238
  }
239
239
  function L(n) {
240
- const e = n / 255;
241
- return e <= 0.04045 ? e / 12.92 : Math.pow((e + 0.055) / 1.055, 2.4);
240
+ const r = n / 255;
241
+ return r <= 0.04045 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);
242
242
  }
243
243
  function A(n) {
244
- const { r: e, g: r, b: t } = H(n);
245
- return 0.2126 * L(e) + 0.7152 * L(r) + 0.0722 * L(t);
244
+ const { r, g: e, b: t } = H(n);
245
+ return 0.2126 * L(r) + 0.7152 * L(e) + 0.0722 * L(t);
246
246
  }
247
- function m(n, e) {
248
- const r = A(n), t = A(e), [o, s] = r > t ? [r, t] : [t, r];
247
+ function m(n, r) {
248
+ const e = A(n), t = A(r), [o, s] = e > t ? [e, t] : [t, e];
249
249
  return (o + 0.05) / (s + 0.05);
250
250
  }
251
- function An(n, e, r) {
252
- const t = H(n), o = H(e), s = Math.max(0, Math.min(1, r));
253
- return En({
251
+ function An(n, r, e) {
252
+ const t = H(n), o = H(r), s = Math.max(0, Math.min(1, e));
253
+ return vn({
254
254
  r: t.r + (o.r - t.r) * (1 - s),
255
255
  g: t.g + (o.g - t.g) * (1 - s),
256
256
  b: t.b + (o.b - t.b) * (1 - s)
257
257
  });
258
258
  }
259
- function x(n, e) {
260
- return n + 1e-9 >= e;
259
+ function k(n, r) {
260
+ return n + 1e-9 >= r;
261
261
  }
262
- function vn(n) {
263
- const e = A(n);
264
- return 116 * (e > (6 / 29) ** 3 ? Math.cbrt(e) : e / (3 * (6 / 29) ** 2) + 4 / 29) - 16;
262
+ function En(n) {
263
+ const r = A(n);
264
+ return 116 * (r > (6 / 29) ** 3 ? Math.cbrt(r) : r / (3 * (6 / 29) ** 2) + 4 / 29) - 16;
265
265
  }
266
266
  const N = (n) => {
267
- const e = n / 255;
268
- return e <= 0.04045 ? e / 12.92 : Math.pow((e + 0.055) / 1.055, 2.4);
267
+ const r = n / 255;
268
+ return r <= 0.04045 ? r / 12.92 : Math.pow((r + 0.055) / 1.055, 2.4);
269
269
  }, Tn = (n) => (n <= 31308e-7 ? 12.92 * n : 1.055 * Math.pow(n, 0.4166666666666667) - 0.055) * 255;
270
270
  function Cn(n) {
271
- const e = n.trim().replace(/^#/, ""), r = e.length === 3 ? e.split("").map((t) => t + t).join("") : e;
272
- if (r.length !== 6 || /[^0-9a-fA-F]/.test(r))
271
+ const r = n.trim().replace(/^#/, ""), e = r.length === 3 ? r.split("").map((t) => t + t).join("") : r;
272
+ if (e.length !== 6 || /[^0-9a-fA-F]/.test(e))
273
273
  throw new Z(
274
274
  `oklch: expected #rgb/#rrggbb, got ${JSON.stringify(n)}`
275
275
  );
276
276
  return {
277
- r: Number.parseInt(r.slice(0, 2), 16),
278
- g: Number.parseInt(r.slice(2, 4), 16),
279
- b: Number.parseInt(r.slice(4, 6), 16)
277
+ r: Number.parseInt(e.slice(0, 2), 16),
278
+ g: Number.parseInt(e.slice(2, 4), 16),
279
+ b: Number.parseInt(e.slice(4, 6), 16)
280
280
  };
281
281
  }
282
282
  function Sn(n) {
283
- const { r: e, g: r, b: t } = Cn(n), o = N(e), s = N(r), c = N(t), u = Math.cbrt(0.4122214708 * o + 0.5363325363 * s + 0.0514459929 * c), i = Math.cbrt(0.2119034982 * o + 0.6806995451 * s + 0.1073969566 * c), d = Math.cbrt(0.0883024619 * o + 0.2817188376 * s + 0.6299787005 * c), l = 0.2104542553 * u + 0.793617785 * i - 0.0040720468 * d, y = 1.9779984951 * u - 2.428592205 * i + 0.4505937099 * d, f = 0.0259040371 * u + 0.7827717662 * i - 0.808675766 * d, g = Math.atan2(f, y) * 180 / Math.PI;
283
+ const { r, g: e, b: t } = Cn(n), o = N(r), s = N(e), c = N(t), u = Math.cbrt(0.4122214708 * o + 0.5363325363 * s + 0.0514459929 * c), i = Math.cbrt(0.2119034982 * o + 0.6806995451 * s + 0.1073969566 * c), d = Math.cbrt(0.0883024619 * o + 0.2817188376 * s + 0.6299787005 * c), l = 0.2104542553 * u + 0.793617785 * i - 0.0040720468 * d, y = 1.9779984951 * u - 2.428592205 * i + 0.4505937099 * d, f = 0.0259040371 * u + 0.7827717662 * i - 0.808675766 * d, g = Math.atan2(f, y) * 180 / Math.PI;
284
284
  return { l, c: Math.hypot(y, f), h: g < 0 ? g + 360 : g };
285
285
  }
286
- function P({ l: n, c: e, h: r }) {
287
- const t = r * Math.PI / 180, o = e * Math.cos(t), s = e * Math.sin(t), c = (n + 0.3963377774 * o + 0.2158037573 * s) ** 3, u = (n - 0.1055613458 * o - 0.0638541728 * s) ** 3, i = (n - 0.0894841775 * o - 1.291485548 * s) ** 3;
286
+ function K({ l: n, c: r, h: e }) {
287
+ const t = e * Math.PI / 180, o = r * Math.cos(t), s = r * Math.sin(t), c = (n + 0.3963377774 * o + 0.2158037573 * s) ** 3, u = (n - 0.1055613458 * o - 0.0638541728 * s) ** 3, i = (n - 0.0894841775 * o - 1.291485548 * s) ** 3;
288
288
  return {
289
289
  r: 4.0767416621 * c - 3.3077115913 * u + 0.2309699292 * i,
290
290
  g: -1.2684380046 * c + 2.6097574011 * u - 0.3413193965 * i,
291
291
  b: -0.0041960863 * c - 0.7034186147 * u + 1.707614701 * i
292
292
  };
293
293
  }
294
- const h = 1e-4, j = ({ r: n, g: e, b: r }) => n >= -h && n <= 1 + h && e >= -h && e <= 1 + h && r >= -h && r <= 1 + h;
295
- function Bn({ l: n, c: e, h: r }) {
296
- if (j(P({ l: n, c: e, h: r }))) return e;
297
- let t = 0, o = e;
294
+ const h = 1e-4, q = ({ r: n, g: r, b: e }) => n >= -h && n <= 1 + h && r >= -h && r <= 1 + h && e >= -h && e <= 1 + h;
295
+ function Bn({ l: n, c: r, h: e }) {
296
+ if (q(K({ l: n, c: r, h: e }))) return r;
297
+ let t = 0, o = r;
298
298
  for (let s = 0; s < 24; s++) {
299
299
  const c = (t + o) / 2;
300
- j(P({ l: n, c, h: r })) ? t = c : o = c;
300
+ q(K({ l: n, c, h: e })) ? t = c : o = c;
301
301
  }
302
302
  return t;
303
303
  }
304
304
  function O(n) {
305
- const e = Bn(n), r = P({ ...n, c: e }), t = (o) => Math.max(0, Math.min(255, Math.round(Tn(o)))).toString(16).padStart(2, "0");
306
- return `#${t(r.r)}${t(r.g)}${t(r.b)}`;
305
+ const r = Bn(n), e = K({ ...n, c: r }), t = (o) => Math.max(0, Math.min(255, Math.round(Tn(o)))).toString(16).padStart(2, "0");
306
+ return `#${t(e.r)}${t(e.g)}${t(e.b)}`;
307
307
  }
308
- function q(n, e, r, t) {
308
+ function U(n, r, e, t) {
309
309
  const o = Sn(n), s = t === "lighter" ? 1 : 0, c = O({ ...o, l: s });
310
- if (!x(m(c, e), r)) return c;
310
+ if (!k(m(c, r), e)) return c;
311
311
  let u = o.l, i = s;
312
312
  for (let d = 0; d < 24; d++) {
313
313
  const l = (u + i) / 2;
314
- x(m(O({ ...o, l }), e), r) ? i = l : u = l;
314
+ k(m(O({ ...o, l }), r), e) ? i = l : u = l;
315
315
  }
316
316
  return O({ ...o, l: i });
317
317
  }
318
- function $(n, e, r) {
319
- if (x(m(n, e), r)) return n;
320
- const t = A(n) < A(e), o = q(
318
+ function $(n, r, e) {
319
+ if (k(m(n, r), e)) return n;
320
+ const t = A(n) < A(r), o = U(
321
321
  n,
322
- e,
323
322
  r,
323
+ e,
324
324
  t ? "darker" : "lighter"
325
325
  );
326
- if (x(m(o, e), r)) return o;
327
- const s = q(
326
+ if (k(m(o, r), e)) return o;
327
+ const s = U(
328
328
  n,
329
- e,
330
329
  r,
330
+ e,
331
331
  t ? "lighter" : "darker"
332
332
  );
333
- return m(s, e) > m(o, e) ? s : o;
333
+ return m(s, r) > m(o, r) ? s : o;
334
334
  }
335
- function wn(n, e, r) {
335
+ function wn(n, r, e) {
336
336
  let t = n;
337
337
  for (let o = 0; o < 8; o++) {
338
338
  let s = !1;
339
- for (const c of e) {
340
- const u = $(t, c, r);
339
+ for (const c of r) {
340
+ const u = $(t, c, e);
341
341
  u !== t && (t = u, s = !0);
342
342
  }
343
343
  if (!s) break;
344
344
  }
345
345
  return t;
346
346
  }
347
- function Dn(n, e, r) {
348
- let t = e[0] ?? "#ffffff", o = -1;
349
- for (const s of e) {
347
+ function Dn(n, r, e) {
348
+ let t = r[0] ?? "#ffffff", o = -1;
349
+ for (const s of r) {
350
350
  const c = m(s, n);
351
- if (x(c, r)) return s;
351
+ if (k(c, e)) return s;
352
352
  c > o && (o = c, t = s);
353
353
  }
354
354
  return t;
355
355
  }
356
- const In = "#2A2C31", _n = "#1C1E23", on = 0.25, ce = on;
357
- function Mn(n) {
358
- return $(n.inputBorder, n.input, xn);
356
+ const In = "#2A2C31", Mn = "#1C1E23", on = 0.25, or = on;
357
+ function _n(n) {
358
+ return $(n.inputBorder, n.input, kn);
359
359
  }
360
- function Ln(n, e, r) {
360
+ function Ln(n, r, e) {
361
361
  const t = [
362
- e.surface,
363
- e.surfaceAlt,
364
- e.surfaceElevated
362
+ r.surface,
363
+ r.surfaceAlt,
364
+ r.surfaceElevated
365
365
  ];
366
- return r === "dark" && t.push(In, _n), t.flatMap((o) => [
366
+ return e === "dark" && t.push(In, Mn), t.flatMap((o) => [
367
367
  o,
368
368
  An(n, o, on)
369
369
  ]);
370
370
  }
371
- function Nn(n, e, r) {
371
+ function Nn(n, r, e) {
372
372
  return wn(
373
373
  n,
374
- Ln(n, e, r),
374
+ Ln(n, r, e),
375
375
  D
376
376
  );
377
377
  }
378
- const ie = [
378
+ const sr = [
379
379
  "error",
380
380
  "brand",
381
381
  "success",
@@ -383,16 +383,16 @@ const ie = [
383
383
  "info"
384
384
  ], On = 60;
385
385
  function T(n) {
386
- return x(m("#ffffff", n), D) || vn(n) >= On ? n : $(n, "#ffffff", D);
386
+ return k(m("#ffffff", n), D) || En(n) >= On ? n : $(n, "#ffffff", D);
387
387
  }
388
- function Hn(n, e) {
388
+ function Hn(n, r) {
389
389
  return Dn(
390
390
  n,
391
- ["#ffffff", e.surfaceAlt, "#000000"],
391
+ ["#ffffff", r.surfaceAlt, "#000000"],
392
392
  D
393
393
  );
394
394
  }
395
- const ae = ["brand", "error", "success", "warning"], Pn = "#D76CB7", Kn = "data-colorblind-safe", K = {
395
+ const cr = ["brand", "error", "success", "warning"], Kn = "#D76CB7", Pn = "data-colorblind-safe", P = {
396
396
  /** Bluish green. */
397
397
  success: "#009e73",
398
398
  /** Vermillion. */
@@ -401,18 +401,18 @@ const ae = ["brand", "error", "success", "warning"], Pn = "#D76CB7", Kn = "data-
401
401
  warning: "#e69f00",
402
402
  /** Sky blue. */
403
403
  info: "#56b4e9"
404
- }, U = {
405
- added: K.success,
406
- deleted: K.error
404
+ }, j = {
405
+ added: P.success,
406
+ deleted: P.error
407
407
  };
408
408
  function Rn(n) {
409
- return { ...n, ...K };
409
+ return { ...n, ...P };
410
410
  }
411
- function ue() {
412
- return typeof document > "u" ? !1 : document.documentElement.hasAttribute(Kn);
411
+ function ir() {
412
+ return typeof document > "u" ? !1 : document.documentElement.hasAttribute(Pn);
413
413
  }
414
- function $n(n, e, r) {
415
- const t = (d) => Nn(d, n, e), o = T(n.brand), s = T(n.error), c = T(n.success), u = T(n.warning), i = (d) => Hn(d, n);
414
+ function $n(n, r, e) {
415
+ const t = (d) => Nn(d, n, r), o = T(n.brand), s = T(n.error), c = T(n.success), u = T(n.warning), i = (d) => Hn(d, n);
416
416
  return {
417
417
  "--color-surface": n.surface,
418
418
  "--color-surface-alt": n.surfaceAlt,
@@ -428,7 +428,7 @@ function $n(n, e, r) {
428
428
  // best is 2.52:1), so this cannot be fixed by editing palettes — a theme added tomorrow
429
429
  // would bring the same defect back. For a palette that already passes, the derivation is a
430
430
  // no-op, and because it moves luminance in OKLCH the border keeps the theme's hue.
431
- "--color-input-border": Mn(n),
431
+ "--color-input-border": _n(n),
432
432
  "--color-success": n.success,
433
433
  "--color-error": n.error,
434
434
  "--color-warning": n.warning,
@@ -440,7 +440,7 @@ function $n(n, e, r) {
440
440
  "--color-brand-text": t(n.brand),
441
441
  // `unique` is a constant, not a palette field — but the backgrounds it sits on are, so its
442
442
  // text variant is derived per theme as well.
443
- "--color-unique-text": t(Pn),
443
+ "--color-unique-text": t(Kn),
444
444
  "--color-brand-surface": o,
445
445
  "--color-error-surface": s,
446
446
  "--color-success-surface": c,
@@ -450,8 +450,8 @@ function $n(n, e, r) {
450
450
  "--color-on-success": i(c),
451
451
  "--color-on-warning": i(u),
452
452
  // The diff gutter rides on the same signal (added/deleted ≡ success/error).
453
- "--color-diff-added": r ? U.added : "",
454
- "--color-diff-deleted": r ? U.deleted : "",
453
+ "--color-diff-added": e ? j.added : "",
454
+ "--color-diff-deleted": e ? j.deleted : "",
455
455
  "--color-syntax-keyword": n.syntaxKeyword,
456
456
  "--color-syntax-string": n.syntaxString,
457
457
  "--color-syntax-function": n.syntaxFunction,
@@ -461,52 +461,52 @@ function $n(n, e, r) {
461
461
  };
462
462
  }
463
463
  const X = "data-colorblind-safe", Y = "data-design";
464
- function sn(n, e = !1) {
465
- return v(n === "system" ? p(e ? "light" : "dark") : n === "dark" ? p("dark") : n === "light" ? p("light") : n);
464
+ function sn(n, r = !1) {
465
+ return E(n === "system" ? p(r ? "light" : "dark") : n === "dark" ? p("dark") : n === "light" ? p("light") : n);
466
466
  }
467
- function Vn(n, e = {}) {
467
+ function Vn(n, r = {}) {
468
468
  var u, i;
469
- const r = typeof n == "string" ? sn(n) : n, t = e.document ?? (typeof document < "u" ? document : void 0);
470
- if (!t) return r;
471
- const o = t.documentElement, s = e.colorVisionSafe ?? !1;
469
+ const e = typeof n == "string" ? sn(n) : n, t = r.document ?? (typeof document < "u" ? document : void 0);
470
+ if (!t) return e;
471
+ const o = t.documentElement, s = r.colorVisionSafe ?? !1;
472
472
  s ? o.setAttribute(X, "") : o.removeAttribute(X);
473
- const c = s ? Rn(r.palette) : r.palette;
474
- for (const [d, l] of Object.entries($n(c, r.type, s)))
473
+ const c = s ? Rn(e.palette) : e.palette;
474
+ for (const [d, l] of Object.entries($n(c, e.type, s)))
475
475
  o.style.setProperty(d, l);
476
- return (u = t.body) == null || u.classList.remove("light", "dark"), (i = t.body) == null || i.classList.add(r.type), o.classList.remove("light", "dark"), o.classList.add(r.type), o.style.colorScheme = r.type, o.setAttribute("data-app-theme", r.id), r.design ? o.setAttribute(Y, r.design) : o.removeAttribute(Y), r;
476
+ return (u = t.body) == null || u.classList.remove("light", "dark"), (i = t.body) == null || i.classList.add(e.type), o.classList.remove("light", "dark"), o.classList.add(e.type), o.style.colorScheme = e.type, o.setAttribute("data-app-theme", e.id), e.design ? o.setAttribute(Y, e.design) : o.removeAttribute(Y), e;
477
477
  }
478
- function de() {
478
+ function ar() {
479
479
  return pn();
480
480
  }
481
481
  const Gn = "vokril-ui-theme", Wn = "(prefers-color-scheme: light)";
482
- function jn() {
482
+ function qn() {
483
483
  try {
484
484
  return typeof localStorage > "u" ? null : localStorage;
485
485
  } catch {
486
486
  return null;
487
487
  }
488
488
  }
489
- const cn = bn(), fe = (n) => {
489
+ const cn = bn(), ur = (n) => {
490
490
  var V, G;
491
- const e = n.storageKey === void 0 ? Gn : n.storageKey, r = n.storage === void 0 ? jn() : n.storage, t = () => {
492
- if (!r || !e) return null;
491
+ const r = n.storageKey === void 0 ? Gn : n.storageKey, e = n.storage === void 0 ? qn() : n.storage, t = () => {
492
+ if (!e || !r) return null;
493
493
  try {
494
- return r.getItem(e);
494
+ return e.getItem(r);
495
495
  } catch {
496
496
  return null;
497
497
  }
498
- }, o = ((V = n.document) == null ? void 0 : V.defaultView) ?? (typeof window > "u" ? void 0 : window), s = (G = o == null ? void 0 : o.matchMedia) == null ? void 0 : G.call(o, Wn), [c, u] = M(t() ?? n.defaultTheme ?? "dark"), [i, d] = M((s == null ? void 0 : s.matches) ?? !1), [l, y] = M(n.colorVisionSafe ?? !1);
498
+ }, o = ((V = n.document) == null ? void 0 : V.defaultView) ?? (typeof window > "u" ? void 0 : window), s = (G = o == null ? void 0 : o.matchMedia) == null ? void 0 : G.call(o, Wn), [c, u] = _(t() ?? n.defaultTheme ?? "dark"), [i, d] = _((s == null ? void 0 : s.matches) ?? !1), [l, y] = _(n.colorVisionSafe ?? !1);
499
499
  if (s) {
500
- const k = (dn) => d(dn.matches);
501
- s.addEventListener("change", k), gn(() => s.removeEventListener("change", k));
500
+ const x = (dn) => d(dn.matches);
501
+ s.addEventListener("change", x), gn(() => s.removeEventListener("change", x));
502
502
  }
503
- const f = W(() => sn(c(), i())), g = W(() => f().type), b = (k) => {
504
- if (u(k), !(!r || !e))
503
+ const f = W(() => sn(c(), i())), g = W(() => f().type), b = (x) => {
504
+ if (u(x), !(!e || !r))
505
505
  try {
506
- r.setItem(e, k);
506
+ e.setItem(r, x);
507
507
  } catch {
508
508
  }
509
- }, _ = () => b(g() === "dark" ? "light" : "dark");
509
+ }, M = () => b(g() === "dark" ? "light" : "dark");
510
510
  yn(() => {
511
511
  Vn(f(), {
512
512
  colorVisionSafe: l(),
@@ -518,7 +518,7 @@ const cn = bn(), fe = (n) => {
518
518
  resolvedTheme: g,
519
519
  themeId: () => f().id,
520
520
  setTheme: b,
521
- toggleTheme: _,
521
+ toggleTheme: M,
522
522
  colorVisionSafe: l,
523
523
  setColorVisionSafe: y
524
524
  };
@@ -530,7 +530,7 @@ const cn = bn(), fe = (n) => {
530
530
  });
531
531
  };
532
532
  let z = !1;
533
- function le() {
533
+ function dr() {
534
534
  const n = mn(cn);
535
535
  return n || (ln && !z && (z = !0, console.warn("@vokril/ui-solid: useTheme() was called outside <ThemeProvider>; it reports the design's dark theme and ignores setTheme.")), {
536
536
  theme: () => "dark",
@@ -545,113 +545,86 @@ function le() {
545
545
  }
546
546
  });
547
547
  }
548
- const qn = {
549
- surface: !0,
550
- surfaceAlt: !0,
551
- surfaceElevated: !0,
552
- brand: !0,
553
- brandHover: !0,
554
- content: !0,
555
- contentSecondary: !0,
556
- border: !0,
557
- input: !0,
558
- inputBorder: !0,
559
- success: !0,
560
- error: !0,
561
- warning: !0,
562
- info: !0,
563
- syntaxKeyword: !0,
564
- syntaxString: !0,
565
- syntaxFunction: !0,
566
- syntaxComment: !0,
567
- syntaxNumber: !0,
568
- syntaxType: !0
569
- }, ge = Object.freeze(
570
- Object.keys(qn)
571
- ), Un = /^#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;
572
- function ye(n) {
573
- return typeof n == "string" && Un.test(n);
574
- }
575
548
  var Q;
576
549
  const J = ((Q = w.find((n) => n.id === Fn)) == null ? void 0 : Q.palette) ?? w[0].palette;
577
- function Xn(n) {
550
+ function Un(n) {
578
551
  return Math.max(0, Math.min(255, Math.round(n)));
579
552
  }
580
553
  function R(n) {
581
- const e = n.trim().replace(/^#/, ""), r = e.length === 3 ? e.split("").map((t) => t + t).join("") : e;
582
- return r.length !== 6 || /[^0-9a-fA-F]/.test(r) ? null : {
583
- r: Number.parseInt(r.slice(0, 2), 16),
584
- g: Number.parseInt(r.slice(2, 4), 16),
585
- b: Number.parseInt(r.slice(4, 6), 16)
554
+ const r = n.trim().replace(/^#/, ""), e = r.length === 3 ? r.split("").map((t) => t + t).join("") : r;
555
+ return e.length !== 6 || /[^0-9a-fA-F]/.test(e) ? null : {
556
+ r: Number.parseInt(e.slice(0, 2), 16),
557
+ g: Number.parseInt(e.slice(2, 4), 16),
558
+ b: Number.parseInt(e.slice(4, 6), 16)
586
559
  };
587
560
  }
588
- function B({ r: n, g: e, b: r }) {
589
- const t = (o) => Xn(o).toString(16).padStart(2, "0");
590
- return `#${t(n)}${t(e)}${t(r)}`;
561
+ function B({ r: n, g: r, b: e }) {
562
+ const t = (o) => Un(o).toString(16).padStart(2, "0");
563
+ return `#${t(n)}${t(r)}${t(e)}`;
591
564
  }
592
- function a(n, e = "#000000") {
593
- const r = R(n);
594
- return r ? B(r) : e;
565
+ function a(n, r = "#000000") {
566
+ const e = R(n);
567
+ return e ? B(e) : r;
595
568
  }
596
- function F(n, e, r) {
597
- const t = R(n), o = R(e);
569
+ function F(n, r, e) {
570
+ const t = R(n), o = R(r);
598
571
  if (!t && !o) return "#000000";
599
572
  if (!t) return B(o);
600
573
  if (!o) return B(t);
601
- const s = Math.max(0, Math.min(1, r));
574
+ const s = Math.max(0, Math.min(1, e));
602
575
  return B({
603
576
  r: t.r + (o.r - t.r) * s,
604
577
  g: t.g + (o.g - t.g) * s,
605
578
  b: t.b + (o.b - t.b) * s
606
579
  });
607
580
  }
608
- const Yn = "#ffffff", zn = "#000000";
609
- function an(n, e) {
610
- return F(n, Yn, e);
581
+ const jn = "#ffffff", Xn = "#000000";
582
+ function an(n, r) {
583
+ return F(n, jn, r);
611
584
  }
612
- function Jn(n, e) {
613
- return F(n, zn, e);
585
+ function Yn(n, r) {
586
+ return F(n, Xn, r);
614
587
  }
615
- function Qn(n, e, r) {
616
- return e === "dark" ? an(n, r) : Jn(n, r);
588
+ function zn(n, r, e) {
589
+ return r === "dark" ? an(n, e) : Yn(n, e);
617
590
  }
618
- function C(n, e) {
619
- return `${a(n)}${e}`;
591
+ function C(n, r) {
592
+ return `${a(n)}${r}`;
620
593
  }
621
- function me() {
594
+ function fr() {
622
595
  if (typeof document > "u") return J;
623
- const n = getComputedStyle(document.documentElement), e = (t, o) => n.getPropertyValue(t).trim() || o, r = J;
596
+ const n = getComputedStyle(document.documentElement), r = (t, o) => n.getPropertyValue(t).trim() || o, e = J;
624
597
  return {
625
- surface: e("--color-surface", r.surface),
626
- surfaceAlt: e("--color-surface-alt", r.surfaceAlt),
627
- surfaceElevated: e("--color-surface-elevated", r.surfaceElevated),
628
- brand: e("--color-brand", r.brand),
629
- brandHover: e("--color-brand-hover", r.brandHover),
630
- content: e("--color-content", r.content),
631
- contentSecondary: e("--color-content-secondary", r.contentSecondary),
632
- border: e("--color-border", r.border),
633
- input: e("--color-input", r.input),
634
- inputBorder: e("--color-input-border", r.inputBorder),
635
- success: e("--color-success", r.success),
636
- error: e("--color-error", r.error),
637
- warning: e("--color-warning", r.warning),
638
- info: e("--color-info", r.info),
639
- syntaxKeyword: e("--color-syntax-keyword", r.syntaxKeyword),
640
- syntaxString: e("--color-syntax-string", r.syntaxString),
641
- syntaxFunction: e("--color-syntax-function", r.syntaxFunction),
642
- syntaxComment: e("--color-syntax-comment", r.syntaxComment),
643
- syntaxNumber: e("--color-syntax-number", r.syntaxNumber),
644
- syntaxType: e("--color-syntax-type", r.syntaxType)
598
+ surface: r("--color-surface", e.surface),
599
+ surfaceAlt: r("--color-surface-alt", e.surfaceAlt),
600
+ surfaceElevated: r("--color-surface-elevated", e.surfaceElevated),
601
+ brand: r("--color-brand", e.brand),
602
+ brandHover: r("--color-brand-hover", e.brandHover),
603
+ content: r("--color-content", e.content),
604
+ contentSecondary: r("--color-content-secondary", e.contentSecondary),
605
+ border: r("--color-border", e.border),
606
+ input: r("--color-input", e.input),
607
+ inputBorder: r("--color-input-border", e.inputBorder),
608
+ success: r("--color-success", e.success),
609
+ error: r("--color-error", e.error),
610
+ warning: r("--color-warning", e.warning),
611
+ info: r("--color-info", e.info),
612
+ syntaxKeyword: r("--color-syntax-keyword", e.syntaxKeyword),
613
+ syntaxString: r("--color-syntax-string", e.syntaxString),
614
+ syntaxFunction: r("--color-syntax-function", e.syntaxFunction),
615
+ syntaxComment: r("--color-syntax-comment", e.syntaxComment),
616
+ syntaxNumber: r("--color-syntax-number", e.syntaxNumber),
617
+ syntaxType: r("--color-syntax-type", e.syntaxType)
645
618
  };
646
619
  }
647
- function be() {
620
+ function lr() {
648
621
  return typeof document > "u" ? "dark" : document.body.classList.contains("light") ? "light" : "dark";
649
622
  }
650
- function Fe() {
623
+ function gr() {
651
624
  return typeof document > "u" ? "" : document.documentElement.getAttribute("data-app-theme") ?? "";
652
625
  }
653
- function he(n, e) {
654
- const r = a(n.syntaxKeyword), t = a(n.syntaxString), o = a(n.syntaxFunction), s = a(n.syntaxComment), c = a(n.syntaxNumber), u = a(n.syntaxType), i = a(n.content), d = a(n.brand), l = a(n.error), y = [
626
+ function yr(n, r) {
627
+ const e = a(n.syntaxKeyword), t = a(n.syntaxString), o = a(n.syntaxFunction), s = a(n.syntaxComment), c = a(n.syntaxNumber), u = a(n.syntaxType), i = a(n.content), d = a(n.brand), l = a(n.error), y = [
655
628
  { token: "", foreground: i.slice(1) },
656
629
  { token: "comment", foreground: s.slice(1), fontStyle: "italic" },
657
630
  {
@@ -659,13 +632,13 @@ function he(n, e) {
659
632
  foreground: s.slice(1),
660
633
  fontStyle: "italic"
661
634
  },
662
- { token: "keyword", foreground: r.slice(1) },
663
- { token: "keyword.sql", foreground: r.slice(1) },
664
- { token: "operator", foreground: r.slice(1) },
665
- { token: "operator.sql", foreground: r.slice(1) },
635
+ { token: "keyword", foreground: e.slice(1) },
636
+ { token: "keyword.sql", foreground: e.slice(1) },
637
+ { token: "operator", foreground: e.slice(1) },
638
+ { token: "operator.sql", foreground: e.slice(1) },
666
639
  { token: "string", foreground: t.slice(1) },
667
640
  { token: "string.sql", foreground: t.slice(1) },
668
- { token: "string.escape", foreground: r.slice(1) },
641
+ { token: "string.escape", foreground: e.slice(1) },
669
642
  { token: "number", foreground: c.slice(1) },
670
643
  { token: "number.float", foreground: c.slice(1) },
671
644
  { token: "number.hex", foreground: c.slice(1) },
@@ -679,12 +652,12 @@ function he(n, e) {
679
652
  { token: "identifier.quote", foreground: t.slice(1) },
680
653
  { token: "variable", foreground: i.slice(1) },
681
654
  { token: "delimiter", foreground: i.slice(1) },
682
- { token: "tag", foreground: r.slice(1) },
655
+ { token: "tag", foreground: e.slice(1) },
683
656
  { token: "attribute.name", foreground: o.slice(1) },
684
657
  { token: "attribute.value", foreground: t.slice(1) },
685
658
  { token: "annotation", foreground: n.warning.replace(/^#/, "") },
686
659
  { token: "regexp", foreground: l.slice(1) }
687
- ], f = a(n.surfaceAlt), g = a(n.surface), b = a(n.surfaceElevated), _ = {
660
+ ], f = a(n.surfaceAlt), g = a(n.surface), b = a(n.surfaceElevated), M = {
688
661
  "editor.background": f,
689
662
  "editor.foreground": i,
690
663
  "editorLineNumber.foreground": a(n.contentSecondary),
@@ -710,14 +683,14 @@ function he(n, e) {
710
683
  "editor.findRangeHighlightBackground": C(b, "60")
711
684
  };
712
685
  return {
713
- base: e === "dark" ? "vs-dark" : "vs",
686
+ base: r === "dark" ? "vs-dark" : "vs",
714
687
  inherit: !0,
715
688
  rules: y,
716
- colors: _
689
+ colors: M
717
690
  };
718
691
  }
719
- function pe(n, e) {
720
- const r = a(n.surface), t = a(n.surfaceElevated), o = a(n.content), s = a(n.contentSecondary), c = a(n.brand), u = a(n.error), i = a(n.success), d = a(n.warning), l = a(n.info), y = a(n.syntaxKeyword), f = (b) => Qn(b, e, 0.22), g = {
692
+ function mr(n, r) {
693
+ const e = a(n.surface), t = a(n.surfaceElevated), o = a(n.content), s = a(n.contentSecondary), c = a(n.brand), u = a(n.error), i = a(n.success), d = a(n.warning), l = a(n.info), y = a(n.syntaxKeyword), f = (b) => zn(b, r, 0.22), g = {
721
694
  black: t,
722
695
  red: u,
723
696
  green: i,
@@ -733,10 +706,10 @@ function pe(n, e) {
733
706
  brightBlue: f(c),
734
707
  brightMagenta: f(y),
735
708
  brightCyan: f(l),
736
- brightWhite: e === "dark" ? an(o, 0.25) : o
709
+ brightWhite: r === "dark" ? an(o, 0.25) : o
737
710
  };
738
711
  return {
739
- background: r,
712
+ background: e,
740
713
  foreground: o,
741
714
  cursor: c,
742
715
  selectionBackground: F(t, c, 0.2),
@@ -744,42 +717,40 @@ function pe(n, e) {
744
717
  };
745
718
  }
746
719
  export {
747
- Ln as A,
748
- w as B,
749
- Rn as C,
720
+ Rn as A,
721
+ dr as B,
750
722
  Fn as D,
751
- le as E,
752
- ae as I,
723
+ cr as I,
753
724
  hn as L,
754
- ce as M,
755
- U as O,
756
- ie as T,
757
- Pn as U,
758
- _n as W,
725
+ or as M,
726
+ j as O,
727
+ sr as T,
728
+ Kn as U,
729
+ Mn as W,
759
730
  nn as a,
760
- ge as b,
761
- fe as c,
762
- In as d,
763
- T as e,
764
- Mn as f,
765
- Hn as g,
766
- Nn as h,
767
- Vn as i,
768
- $n as j,
769
- he as k,
770
- pe as l,
771
- p as m,
772
- v as n,
773
- te as o,
774
- pn as p,
775
- de as q,
776
- ue as r,
777
- se as s,
778
- ye as t,
779
- me as u,
780
- Fe as v,
781
- be as w,
782
- oe as x,
783
- sn as y,
784
- re as z
731
+ ur as b,
732
+ In as c,
733
+ T as d,
734
+ _n as e,
735
+ Hn as f,
736
+ Nn as g,
737
+ Vn as h,
738
+ $n as i,
739
+ yr as j,
740
+ mr as k,
741
+ p as l,
742
+ E as m,
743
+ rr as n,
744
+ pn as o,
745
+ ar as p,
746
+ ir as q,
747
+ tr as r,
748
+ fr as s,
749
+ gr as t,
750
+ lr as u,
751
+ er as v,
752
+ sn as w,
753
+ nr as x,
754
+ Ln as y,
755
+ w as z
785
756
  };