@k2b/ui 0.59.0 → 0.61.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 (369) hide show
  1. package/dist/browser/actions/CommandList.js +67 -74
  2. package/dist/browser/actions/CommandList.js.map +1 -1
  3. package/dist/browser/actions/ContextMenu.js +11 -2
  4. package/dist/browser/actions/ContextMenu.js.map +1 -1
  5. package/dist/browser/actions/Dropdown.js +187 -169
  6. package/dist/browser/actions/Dropdown.js.map +1 -1
  7. package/dist/browser/actions/GestureMenu.js +18 -7
  8. package/dist/browser/actions/GestureMenu.js.map +1 -1
  9. package/dist/browser/actions/SelectionAction.js +232 -0
  10. package/dist/browser/actions/SelectionAction.js.map +1 -0
  11. package/dist/browser/actions/command-items.js.map +1 -1
  12. package/dist/browser/actions/index.js +1 -0
  13. package/dist/browser/actions/index.js.map +1 -1
  14. package/dist/browser/actions/menu-sheet-open.js +19 -0
  15. package/dist/browser/actions/menu-sheet-open.js.map +1 -0
  16. package/dist/browser/charts/core/line-details.js +2 -2
  17. package/dist/browser/charts/core/line-details.js.map +1 -1
  18. package/dist/browser/charts/core/render.js +2 -1
  19. package/dist/browser/charts/core/render.js.map +1 -1
  20. package/dist/browser/chat/ChatActivityWords.js +142 -0
  21. package/dist/browser/chat/ChatActivityWords.js.map +1 -0
  22. package/dist/browser/chat/ChatComposer.js +540 -515
  23. package/dist/browser/chat/ChatComposer.js.map +1 -1
  24. package/dist/browser/chat/ChatComposerQuotes.js +56 -0
  25. package/dist/browser/chat/ChatComposerQuotes.js.map +1 -0
  26. package/dist/browser/chat/ChatPrimitives.js +440 -389
  27. package/dist/browser/chat/ChatPrimitives.js.map +1 -1
  28. package/dist/browser/chat/ChatTasks.js +78 -73
  29. package/dist/browser/chat/ChatTasks.js.map +1 -1
  30. package/dist/browser/chat/ChatTimeline.js +3 -0
  31. package/dist/browser/chat/ChatTimeline.js.map +1 -1
  32. package/dist/browser/chat/index.js +4 -1
  33. package/dist/browser/chat/index.js.map +1 -1
  34. package/dist/browser/content/ActivityList.js +789 -0
  35. package/dist/browser/content/ActivityList.js.map +1 -0
  36. package/dist/browser/content/DataTableTools.js +3 -0
  37. package/dist/browser/content/DataTableTools.js.map +1 -1
  38. package/dist/browser/content/Lightbox.js +33 -11
  39. package/dist/browser/content/Lightbox.js.map +1 -1
  40. package/dist/browser/content/MessageQuote.js +57 -0
  41. package/dist/browser/content/MessageQuote.js.map +1 -0
  42. package/dist/browser/content/MessageRow.js +413 -391
  43. package/dist/browser/content/MessageRow.js.map +1 -1
  44. package/dist/browser/content/PdfPages.js +26 -1
  45. package/dist/browser/content/PdfPages.js.map +1 -1
  46. package/dist/browser/content/RunLog.js +719 -0
  47. package/dist/browser/content/RunLog.js.map +1 -0
  48. package/dist/browser/content/VirtualFeed.js +29 -2
  49. package/dist/browser/content/VirtualFeed.js.map +1 -1
  50. package/dist/browser/content/activity-messages.js +47 -0
  51. package/dist/browser/content/activity-messages.js.map +1 -0
  52. package/dist/browser/content/activity-timeline.js +144 -0
  53. package/dist/browser/content/activity-timeline.js.map +1 -0
  54. package/dist/browser/content/chart-time-calendar.js +12 -18
  55. package/dist/browser/content/chart-time-calendar.js.map +1 -1
  56. package/dist/browser/content/find-text.js +47 -0
  57. package/dist/browser/content/find-text.js.map +1 -0
  58. package/dist/browser/content/index.js +2 -0
  59. package/dist/browser/content/index.js.map +1 -1
  60. package/dist/browser/content/quote-messages.js +25 -0
  61. package/dist/browser/content/quote-messages.js.map +1 -0
  62. package/dist/browser/content/run-log-messages.js +134 -0
  63. package/dist/browser/content/run-log-messages.js.map +1 -0
  64. package/dist/browser/feedback/dialog-core.js +118 -14
  65. package/dist/browser/feedback/dialog-core.js.map +1 -1
  66. package/dist/browser/feedback/dialog-frame-motion.js +274 -0
  67. package/dist/browser/feedback/dialog-frame-motion.js.map +1 -0
  68. package/dist/browser/feedback/prompt-sheet-view.js +2 -1
  69. package/dist/browser/feedback/prompt-sheet-view.js.map +1 -1
  70. package/dist/browser/feedback/prompts.js +49 -53
  71. package/dist/browser/feedback/prompts.js.map +1 -1
  72. package/dist/browser/feedback/toast.js +11 -1
  73. package/dist/browser/feedback/toast.js.map +1 -1
  74. package/dist/browser/hover-card.js +6 -0
  75. package/dist/browser/hover-card.js.map +1 -0
  76. package/dist/browser/inputs/AutocompleteEditor.js +2 -1
  77. package/dist/browser/inputs/AutocompleteEditor.js.map +1 -1
  78. package/dist/browser/inputs/AutocompleteSelect.js +3 -12
  79. package/dist/browser/inputs/AutocompleteSelect.js.map +1 -1
  80. package/dist/browser/inputs/ChoiceList.js +131 -127
  81. package/dist/browser/inputs/ChoiceList.js.map +1 -1
  82. package/dist/browser/inputs/Combobox.js +6 -15
  83. package/dist/browser/inputs/Combobox.js.map +1 -1
  84. package/dist/browser/inputs/MultiSelectInput.js +7 -16
  85. package/dist/browser/inputs/MultiSelectInput.js.map +1 -1
  86. package/dist/browser/inputs/PeriodPicker.js +475 -252
  87. package/dist/browser/inputs/PeriodPicker.js.map +1 -1
  88. package/dist/browser/inputs/RichSelect.js +431 -431
  89. package/dist/browser/inputs/RichSelect.js.map +1 -1
  90. package/dist/browser/inputs/Select.js +3 -12
  91. package/dist/browser/inputs/Select.js.map +1 -1
  92. package/dist/browser/inputs/SelectChip.js +1 -0
  93. package/dist/browser/inputs/SelectChip.js.map +1 -1
  94. package/dist/browser/inputs/TimeInput.js +181 -0
  95. package/dist/browser/inputs/TimeInput.js.map +1 -0
  96. package/dist/browser/inputs/choice.js.map +1 -1
  97. package/dist/browser/inputs/date-picker.js +2 -1
  98. package/dist/browser/inputs/date-picker.js.map +1 -1
  99. package/dist/browser/inputs/file-drop.js +2 -0
  100. package/dist/browser/inputs/file-drop.js.map +1 -1
  101. package/dist/browser/inputs/index.js +1 -0
  102. package/dist/browser/inputs/index.js.map +1 -1
  103. package/dist/browser/inputs/input-messages.js +20 -2
  104. package/dist/browser/inputs/input-messages.js.map +1 -1
  105. package/dist/browser/inputs/period-picker-messages.js +20 -2
  106. package/dist/browser/inputs/period-picker-messages.js.map +1 -1
  107. package/dist/browser/inputs/period.js +83 -0
  108. package/dist/browser/inputs/period.js.map +1 -1
  109. package/dist/browser/inputs/time-input.js +93 -0
  110. package/dist/browser/inputs/time-input.js.map +1 -0
  111. package/dist/browser/internal/exit-motion.js +23 -0
  112. package/dist/browser/internal/exit-motion.js.map +1 -0
  113. package/dist/browser/internal/option-description.js +47 -0
  114. package/dist/browser/internal/option-description.js.map +1 -0
  115. package/dist/browser/internal/scroll-places.js +15 -0
  116. package/dist/browser/internal/scroll-places.js.map +1 -0
  117. package/dist/browser/internal/step-row.js +78 -0
  118. package/dist/browser/internal/step-row.js.map +1 -0
  119. package/dist/browser/layout/AppWorkspace.js +572 -495
  120. package/dist/browser/layout/AppWorkspace.js.map +1 -1
  121. package/dist/browser/layout/BottomSheet.js +2 -14
  122. package/dist/browser/layout/BottomSheet.js.map +1 -1
  123. package/dist/browser/layout/Navigation.js +7 -2
  124. package/dist/browser/layout/Navigation.js.map +1 -1
  125. package/dist/browser/layout/PullToRefresh.js +76 -23
  126. package/dist/browser/layout/PullToRefresh.js.map +1 -1
  127. package/dist/browser/layout/SidebarSwitcher.js +28 -37
  128. package/dist/browser/layout/SidebarSwitcher.js.map +1 -1
  129. package/dist/browser/layout/app-workspace-controller.js +5 -1
  130. package/dist/browser/layout/app-workspace-controller.js.map +1 -1
  131. package/dist/browser/layout/bottom-sheet-load.js +17 -0
  132. package/dist/browser/layout/bottom-sheet-load.js.map +1 -0
  133. package/dist/browser/layout/bottom-sheet-options.js +27 -0
  134. package/dist/browser/layout/bottom-sheet-options.js.map +1 -0
  135. package/dist/browser/layout/index.js +2 -1
  136. package/dist/browser/layout/index.js.map +1 -1
  137. package/dist/browser/layout/refresh-messages.js +4 -2
  138. package/dist/browser/layout/refresh-messages.js.map +1 -1
  139. package/dist/browser/layout/sheet-motion.js +10 -11
  140. package/dist/browser/layout/sheet-motion.js.map +1 -1
  141. package/dist/browser/layout/sidebar-scroll-memory.js +30 -0
  142. package/dist/browser/layout/sidebar-scroll-memory.js.map +1 -1
  143. package/dist/browser/surfaces/AvatarStack.js +59 -43
  144. package/dist/browser/surfaces/AvatarStack.js.map +1 -1
  145. package/dist/browser/surfaces/LinkCard.js.map +1 -1
  146. package/dist/browser/surfaces/Section.js +4 -2
  147. package/dist/browser/surfaces/Section.js.map +1 -1
  148. package/dist/browser/surfaces/StatCell.js +56 -28
  149. package/dist/browser/surfaces/StatCell.js.map +1 -1
  150. package/dist/browser/surfaces/StatGrid.js +17 -8
  151. package/dist/browser/surfaces/StatGrid.js.map +1 -1
  152. package/dist/browser/surfaces/index.js.map +1 -1
  153. package/dist/ssr/actions/CommandList.js +23 -26
  154. package/dist/ssr/actions/CommandList.js.map +1 -1
  155. package/dist/ssr/actions/ContextMenu.js +8 -2
  156. package/dist/ssr/actions/ContextMenu.js.map +1 -1
  157. package/dist/ssr/actions/Dropdown.js +79 -55
  158. package/dist/ssr/actions/Dropdown.js.map +1 -1
  159. package/dist/ssr/actions/GestureMenu.js +18 -7
  160. package/dist/ssr/actions/GestureMenu.js.map +1 -1
  161. package/dist/ssr/actions/SelectionAction.js +212 -0
  162. package/dist/ssr/actions/SelectionAction.js.map +1 -0
  163. package/dist/ssr/actions/command-items.js.map +1 -1
  164. package/dist/ssr/actions/index.js +1 -0
  165. package/dist/ssr/actions/index.js.map +1 -1
  166. package/dist/ssr/actions/menu-sheet-open.js +19 -0
  167. package/dist/ssr/actions/menu-sheet-open.js.map +1 -0
  168. package/dist/ssr/charts/core/line-details.js +2 -2
  169. package/dist/ssr/charts/core/line-details.js.map +1 -1
  170. package/dist/ssr/charts/core/render.js +2 -1
  171. package/dist/ssr/charts/core/render.js.map +1 -1
  172. package/dist/ssr/chat/ChatActivityWords.js +126 -0
  173. package/dist/ssr/chat/ChatActivityWords.js.map +1 -0
  174. package/dist/ssr/chat/ChatComposer.js +24 -3
  175. package/dist/ssr/chat/ChatComposer.js.map +1 -1
  176. package/dist/ssr/chat/ChatComposerQuotes.js +26 -0
  177. package/dist/ssr/chat/ChatComposerQuotes.js.map +1 -0
  178. package/dist/ssr/chat/ChatPrimitives.js +121 -77
  179. package/dist/ssr/chat/ChatPrimitives.js.map +1 -1
  180. package/dist/ssr/chat/ChatTasks.js +31 -16
  181. package/dist/ssr/chat/ChatTasks.js.map +1 -1
  182. package/dist/ssr/chat/ChatTimeline.js +3 -0
  183. package/dist/ssr/chat/ChatTimeline.js.map +1 -1
  184. package/dist/ssr/chat/index.js +4 -1
  185. package/dist/ssr/chat/index.js.map +1 -1
  186. package/dist/ssr/content/ActivityList.js +553 -0
  187. package/dist/ssr/content/ActivityList.js.map +1 -0
  188. package/dist/ssr/content/DataTableTools.js +3 -0
  189. package/dist/ssr/content/DataTableTools.js.map +1 -1
  190. package/dist/ssr/content/Lightbox.js +33 -11
  191. package/dist/ssr/content/Lightbox.js.map +1 -1
  192. package/dist/ssr/content/MessageQuote.js +36 -0
  193. package/dist/ssr/content/MessageQuote.js.map +1 -0
  194. package/dist/ssr/content/MessageRow.js +112 -95
  195. package/dist/ssr/content/MessageRow.js.map +1 -1
  196. package/dist/ssr/content/PdfPages.js +26 -1
  197. package/dist/ssr/content/PdfPages.js.map +1 -1
  198. package/dist/ssr/content/RunLog.js +471 -0
  199. package/dist/ssr/content/RunLog.js.map +1 -0
  200. package/dist/ssr/content/VirtualFeed.js +29 -2
  201. package/dist/ssr/content/VirtualFeed.js.map +1 -1
  202. package/dist/ssr/content/activity-messages.js +47 -0
  203. package/dist/ssr/content/activity-messages.js.map +1 -0
  204. package/dist/ssr/content/activity-timeline.js +144 -0
  205. package/dist/ssr/content/activity-timeline.js.map +1 -0
  206. package/dist/ssr/content/chart-time-calendar.js +12 -18
  207. package/dist/ssr/content/chart-time-calendar.js.map +1 -1
  208. package/dist/ssr/content/find-text.js +47 -0
  209. package/dist/ssr/content/find-text.js.map +1 -0
  210. package/dist/ssr/content/index.js +2 -0
  211. package/dist/ssr/content/index.js.map +1 -1
  212. package/dist/ssr/content/quote-messages.js +25 -0
  213. package/dist/ssr/content/quote-messages.js.map +1 -0
  214. package/dist/ssr/content/run-log-messages.js +134 -0
  215. package/dist/ssr/content/run-log-messages.js.map +1 -0
  216. package/dist/ssr/feedback/dialog-core.js +118 -14
  217. package/dist/ssr/feedback/dialog-core.js.map +1 -1
  218. package/dist/ssr/feedback/dialog-frame-motion.js +274 -0
  219. package/dist/ssr/feedback/dialog-frame-motion.js.map +1 -0
  220. package/dist/ssr/feedback/prompt-sheet-view.js +2 -1
  221. package/dist/ssr/feedback/prompt-sheet-view.js.map +1 -1
  222. package/dist/ssr/feedback/prompts.js +16 -16
  223. package/dist/ssr/feedback/prompts.js.map +1 -1
  224. package/dist/ssr/feedback/toast.js +11 -1
  225. package/dist/ssr/feedback/toast.js.map +1 -1
  226. package/dist/ssr/hover-card.js +6 -0
  227. package/dist/ssr/hover-card.js.map +1 -0
  228. package/dist/ssr/inputs/AutocompleteEditor.js +2 -1
  229. package/dist/ssr/inputs/AutocompleteEditor.js.map +1 -1
  230. package/dist/ssr/inputs/AutocompleteSelect.js +3 -8
  231. package/dist/ssr/inputs/AutocompleteSelect.js.map +1 -1
  232. package/dist/ssr/inputs/ChoiceList.js +25 -25
  233. package/dist/ssr/inputs/ChoiceList.js.map +1 -1
  234. package/dist/ssr/inputs/Combobox.js +4 -9
  235. package/dist/ssr/inputs/Combobox.js.map +1 -1
  236. package/dist/ssr/inputs/MultiSelectInput.js +4 -9
  237. package/dist/ssr/inputs/MultiSelectInput.js.map +1 -1
  238. package/dist/ssr/inputs/PeriodPicker.js +241 -46
  239. package/dist/ssr/inputs/PeriodPicker.js.map +1 -1
  240. package/dist/ssr/inputs/RichSelect.js +135 -121
  241. package/dist/ssr/inputs/RichSelect.js.map +1 -1
  242. package/dist/ssr/inputs/Select.js +3 -8
  243. package/dist/ssr/inputs/Select.js.map +1 -1
  244. package/dist/ssr/inputs/SelectChip.js +1 -0
  245. package/dist/ssr/inputs/SelectChip.js.map +1 -1
  246. package/dist/ssr/inputs/TimeInput.js +145 -0
  247. package/dist/ssr/inputs/TimeInput.js.map +1 -0
  248. package/dist/ssr/inputs/choice.js.map +1 -1
  249. package/dist/ssr/inputs/date-picker.js +2 -1
  250. package/dist/ssr/inputs/date-picker.js.map +1 -1
  251. package/dist/ssr/inputs/file-drop.js +2 -0
  252. package/dist/ssr/inputs/file-drop.js.map +1 -1
  253. package/dist/ssr/inputs/index.js +1 -0
  254. package/dist/ssr/inputs/index.js.map +1 -1
  255. package/dist/ssr/inputs/input-messages.js +20 -2
  256. package/dist/ssr/inputs/input-messages.js.map +1 -1
  257. package/dist/ssr/inputs/period-picker-messages.js +20 -2
  258. package/dist/ssr/inputs/period-picker-messages.js.map +1 -1
  259. package/dist/ssr/inputs/period.js +83 -0
  260. package/dist/ssr/inputs/period.js.map +1 -1
  261. package/dist/ssr/inputs/time-input.js +93 -0
  262. package/dist/ssr/inputs/time-input.js.map +1 -0
  263. package/dist/ssr/internal/exit-motion.js +23 -0
  264. package/dist/ssr/internal/exit-motion.js.map +1 -0
  265. package/dist/ssr/internal/option-description.js +27 -0
  266. package/dist/ssr/internal/option-description.js.map +1 -0
  267. package/dist/ssr/internal/scroll-places.js +15 -0
  268. package/dist/ssr/internal/scroll-places.js.map +1 -0
  269. package/dist/ssr/internal/step-row.js +35 -0
  270. package/dist/ssr/internal/step-row.js.map +1 -0
  271. package/dist/ssr/layout/AppWorkspace.js +191 -121
  272. package/dist/ssr/layout/AppWorkspace.js.map +1 -1
  273. package/dist/ssr/layout/BottomSheet.js +2 -14
  274. package/dist/ssr/layout/BottomSheet.js.map +1 -1
  275. package/dist/ssr/layout/Navigation.js +7 -2
  276. package/dist/ssr/layout/Navigation.js.map +1 -1
  277. package/dist/ssr/layout/PullToRefresh.js +67 -16
  278. package/dist/ssr/layout/PullToRefresh.js.map +1 -1
  279. package/dist/ssr/layout/SidebarSwitcher.js +8 -13
  280. package/dist/ssr/layout/SidebarSwitcher.js.map +1 -1
  281. package/dist/ssr/layout/app-workspace-controller.js +5 -1
  282. package/dist/ssr/layout/app-workspace-controller.js.map +1 -1
  283. package/dist/ssr/layout/bottom-sheet-load.js +17 -0
  284. package/dist/ssr/layout/bottom-sheet-load.js.map +1 -0
  285. package/dist/ssr/layout/bottom-sheet-options.js +27 -0
  286. package/dist/ssr/layout/bottom-sheet-options.js.map +1 -0
  287. package/dist/ssr/layout/index.js +2 -1
  288. package/dist/ssr/layout/index.js.map +1 -1
  289. package/dist/ssr/layout/refresh-messages.js +4 -2
  290. package/dist/ssr/layout/refresh-messages.js.map +1 -1
  291. package/dist/ssr/layout/sheet-motion.js +10 -11
  292. package/dist/ssr/layout/sheet-motion.js.map +1 -1
  293. package/dist/ssr/layout/sidebar-scroll-memory.js +30 -0
  294. package/dist/ssr/layout/sidebar-scroll-memory.js.map +1 -1
  295. package/dist/ssr/surfaces/AvatarStack.js +56 -40
  296. package/dist/ssr/surfaces/AvatarStack.js.map +1 -1
  297. package/dist/ssr/surfaces/LinkCard.js.map +1 -1
  298. package/dist/ssr/surfaces/Section.js +4 -2
  299. package/dist/ssr/surfaces/Section.js.map +1 -1
  300. package/dist/ssr/surfaces/StatCell.js +24 -12
  301. package/dist/ssr/surfaces/StatCell.js.map +1 -1
  302. package/dist/ssr/surfaces/StatGrid.js +12 -6
  303. package/dist/ssr/surfaces/StatGrid.js.map +1 -1
  304. package/dist/ssr/surfaces/index.js.map +1 -1
  305. package/dist/styles.css +1 -1
  306. package/dist/types/actions/Dropdown.d.ts +10 -0
  307. package/dist/types/actions/SelectionAction.d.ts +34 -0
  308. package/dist/types/actions/command-items.d.ts +5 -0
  309. package/dist/types/actions/index.d.ts +2 -0
  310. package/dist/types/actions/menu-sheet-open.d.ts +13 -0
  311. package/dist/types/charts/core/line-details.d.ts +1 -1
  312. package/dist/types/chat/ChatActivityWords.d.ts +31 -0
  313. package/dist/types/chat/ChatComposer.d.ts +17 -1
  314. package/dist/types/chat/ChatComposerQuotes.d.ts +10 -0
  315. package/dist/types/chat/ChatPrimitives.d.ts +23 -1
  316. package/dist/types/chat/ChatTimeline.d.ts +2 -0
  317. package/dist/types/chat/index.d.ts +6 -2
  318. package/dist/types/content/ActivityList.d.ts +166 -0
  319. package/dist/types/content/DataTableTools.d.ts +2 -0
  320. package/dist/types/content/Lightbox.d.ts +7 -5
  321. package/dist/types/content/MessageQuote.d.ts +9 -0
  322. package/dist/types/content/MessageRow.d.ts +5 -0
  323. package/dist/types/content/RunLog.d.ts +53 -0
  324. package/dist/types/content/VirtualFeed.d.ts +6 -0
  325. package/dist/types/content/activity-messages.d.ts +22 -0
  326. package/dist/types/content/activity-timeline.d.ts +52 -0
  327. package/dist/types/content/chart-time-calendar.d.ts +6 -0
  328. package/dist/types/content/find-text.d.ts +10 -0
  329. package/dist/types/content/index.d.ts +2 -0
  330. package/dist/types/content/quote-messages.d.ts +6 -0
  331. package/dist/types/content/run-log-messages.d.ts +61 -0
  332. package/dist/types/feedback/dialog-core.d.ts +2 -0
  333. package/dist/types/feedback/dialog-frame-motion.d.ts +37 -0
  334. package/dist/types/feedback/prompts.d.ts +5 -0
  335. package/dist/types/feedback/toast.d.ts +9 -1
  336. package/dist/types/hover-card.d.ts +5 -0
  337. package/dist/types/inputs/ChoiceList.d.ts +12 -5
  338. package/dist/types/inputs/Combobox.d.ts +5 -0
  339. package/dist/types/inputs/MultiSelectInput.d.ts +1 -0
  340. package/dist/types/inputs/PeriodPicker.d.ts +10 -0
  341. package/dist/types/inputs/RichSelect.d.ts +5 -0
  342. package/dist/types/inputs/Select.d.ts +1 -0
  343. package/dist/types/inputs/SelectChip.d.ts +5 -0
  344. package/dist/types/inputs/TimeInput.d.ts +16 -0
  345. package/dist/types/inputs/choice.d.ts +6 -1
  346. package/dist/types/inputs/index.d.ts +2 -0
  347. package/dist/types/inputs/input-messages.d.ts +9 -0
  348. package/dist/types/inputs/period-picker-messages.d.ts +9 -0
  349. package/dist/types/inputs/period.d.ts +41 -0
  350. package/dist/types/inputs/time-input.d.ts +43 -0
  351. package/dist/types/internal/exit-motion.d.ts +10 -0
  352. package/dist/types/internal/option-description.d.ts +20 -0
  353. package/dist/types/internal/scroll-places.d.ts +2 -0
  354. package/dist/types/internal/step-row.d.ts +19 -0
  355. package/dist/types/layout/AppWorkspace.d.ts +10 -0
  356. package/dist/types/layout/BottomSheet.d.ts +1 -14
  357. package/dist/types/layout/PullToRefresh.d.ts +2 -2
  358. package/dist/types/layout/SidebarSwitcher.d.ts +5 -0
  359. package/dist/types/layout/bottom-sheet-load.d.ts +9 -0
  360. package/dist/types/layout/bottom-sheet-options.d.ts +18 -0
  361. package/dist/types/layout/index.d.ts +3 -2
  362. package/dist/types/layout/refresh-messages.d.ts +1 -0
  363. package/dist/types/layout/sheet-motion.d.ts +0 -5
  364. package/dist/types/layout/sidebar-scroll-memory.d.ts +6 -0
  365. package/dist/types/surfaces/LinkCard.d.ts +2 -1
  366. package/dist/types/surfaces/StatCell.d.ts +7 -2
  367. package/dist/types/surfaces/StatGrid.d.ts +15 -3
  368. package/dist/types/surfaces/index.d.ts +1 -1
  369. package/package.json +17 -8
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The range of the first place in `root`'s text where `text` occurs, ignoring whitespace, so a passage copied from a
3
+ * selection across lines, paragraphs or list items still finds its words. Returns nothing when it does not occur.
4
+ */
5
+ export declare const findTextRange: (root: Node, text: string) => Range | null;
6
+ /**
7
+ * Tints the passage `text` in `root` with the CSS highlight `name` and returns what removes it, or nothing where the
8
+ * passage is missing or the browser has no CSS Custom Highlight API.
9
+ */
10
+ export declare const highlightTextPassage: (root: Node, text: string, name: string) => (() => void) | null;
@@ -1,4 +1,5 @@
1
1
  export type { ChartDateFormat, ChartDatum, ChartDatumRole, ChartFormat, ChartNumberFormat } from "../charts/core";
2
+ export { type ActivityAction, ActivityCard, type ActivityCardProps, type ActivityDensity, type ActivityDialogInput, type ActivityEntry, type ActivityKind, ActivityList, type ActivityListProps, type ActivityTone, openActivityDialog, } from "./ActivityList";
2
3
  export { BalanceSummary, type BalanceSummaryProps } from "./BalanceSummary";
3
4
  export type { CalendarAttendee, CalendarCommand, CalendarController, CalendarCustomView, CalendarDayBadge, CalendarEvent, CalendarEventColor, CalendarEventLink, CalendarEventRenderContext, CalendarEventTimeChange, CalendarExternalDrag, CalendarLabels, CalendarProps, CalendarQuickCreateControls, CalendarRange, CalendarRecurrence, CalendarResource, CalendarSelectionControls, CalendarView, } from "./Calendar";
4
5
  export { default as Calendar } from "./Calendar";
@@ -73,6 +74,7 @@ export { default as RangePicker } from "./RangePicker";
73
74
  export { ReactionBar, type ReactionBarItem, type ReactionBarProps } from "./ReactionBar";
74
75
  export type { ReferenceChipObjectProps, ReferenceChipPersonProps, ReferenceChipProps, ReferenceChipTimeProps, } from "./ReferenceChip";
75
76
  export { REFERENCE_CHIP_MAX_CHARACTERS, ReferenceChip, truncateMiddle } from "./ReferenceChip";
77
+ export { type RunEntry, type RunLevel, RunLog, type RunLogAction, type RunLogEntry, type RunLogProps, type RunLogState, type RunStepEntry, } from "./RunLog";
76
78
  export type { StepsProps } from "./Steps";
77
79
  export { Steps } from "./Steps";
78
80
  export type { StructuredDataPreviewMode, StructuredDataPreviewProps, StructuredDataValue } from "./StructuredDataPreview";
@@ -0,0 +1,6 @@
1
+ /** Resolved from the inherited render locale. */
2
+ export declare const useQuoteMessages: () => () => {
3
+ quoteFrom: string;
4
+ removeQuote: string;
5
+ };
6
+ export declare const checkQuoteMessages: () => import("@k2b/stdlib").CatalogIssue[];
@@ -0,0 +1,61 @@
1
+ export declare function useRunLogMessages(): () => {
2
+ run: string;
3
+ idle: string;
4
+ starting: string;
5
+ running: string;
6
+ since: ({ duration }: {
7
+ duration: string;
8
+ }) => string;
9
+ succeeded: string;
10
+ doneAfter: ({ duration }: {
11
+ duration: string;
12
+ }) => string;
13
+ failed: string;
14
+ failedAfter: ({ duration }: {
15
+ duration: string;
16
+ }) => string;
17
+ pending: string;
18
+ active: string;
19
+ completed: string;
20
+ skipped: string;
21
+ stepFailed: string;
22
+ output: string;
23
+ noLines: string;
24
+ lines: ({ count }: {
25
+ count: number;
26
+ }) => string;
27
+ line: string;
28
+ warnings: ({ count }: {
29
+ count: number;
30
+ }) => string;
31
+ warning: string;
32
+ warningLevel: string;
33
+ errors: ({ count }: {
34
+ count: number;
35
+ }) => string;
36
+ error: string;
37
+ errorLevel: string;
38
+ older: ({ count }: {
39
+ count: number;
40
+ }) => string;
41
+ earlier: ({ count }: {
42
+ count: number;
43
+ }) => string;
44
+ later: ({ count }: {
45
+ count: number;
46
+ }) => string;
47
+ current: string;
48
+ details: ({ label }: {
49
+ label: string;
50
+ }) => string;
51
+ toggle: string;
52
+ actions: string;
53
+ progress: ({ current, count }: {
54
+ current: number;
55
+ count: number;
56
+ }) => string;
57
+ steps: ({ count }: {
58
+ count: number;
59
+ }) => string;
60
+ step: string;
61
+ };
@@ -1,6 +1,8 @@
1
1
  import { type JSX } from "solid-js";
2
2
  export type DialogClose<T> = (result?: T) => void;
3
3
  export type OpenDialogOptions = {
4
+ /** Override the opener's primary palette for a dialog with its own purpose, such as a global session warning. */
5
+ primary?: "blue" | "ai";
4
6
  /** Close only this dialog when its owning operation is cancelled. */
5
7
  signal?: AbortSignal;
6
8
  panelClassName?: string;
@@ -0,0 +1,37 @@
1
+ /**
2
+ * The motion of one dialog element's frame while it stays open: a level that replaces another morphs the frame from
3
+ * the old size to the new one in the same place, without stacking. The old content fades out, the frame changes size
4
+ * over `--k2b-motion-morph` with `--k2b-ease-morph`, and the new content fades in, set at its final size from the
5
+ * first frame so it never rewraps; the frame clips meanwhile. Anything that interrupts a change turns around from the
6
+ * values the eye sees; the endings of the interrupted change are dropped, not run. Reduced motion swaps in one frame.
7
+ *
8
+ * The frame's own size is animated, a named exception to "transform and opacity only" (see the motion guide): the
9
+ * frame stands alone above the page, so nothing beside it moves.
10
+ */
11
+ export { afterExitTransitions } from "../internal/exit-motion";
12
+ export type FrameMotion = {
13
+ /**
14
+ * Before a level replaces the shown one: remembers the frame as the eye sees it and takes `leaving` out of the flow,
15
+ * visible and inert, at its present size.
16
+ */
17
+ begin: (leaving: HTMLElement, back?: boolean) => void;
18
+ /**
19
+ * A level that replaces another keeps the same `<dialog>`, so a screen reader does not reliably say its new name.
20
+ * The live region inside the dialog does (`announce()` regions sit outside a modal dialog and are silent there): the
21
+ * shown level's name, and for an `alertdialog` its sentence too.
22
+ */
23
+ announce: (role: "dialog" | "alertdialog") => void;
24
+ /**
25
+ * After `arriving` is shown and its frame presentation applied: morphs the frame to its size and fades the contents.
26
+ * `left` runs once `leaving` has faded out (hide a lower level, or dispose a closed one).
27
+ */
28
+ arrive: (arriving: HTMLElement, left: () => void) => void;
29
+ /** Ends every motion now and runs the pending endings, for a frame that leaves the document. */
30
+ stop: () => void;
31
+ /**
32
+ * For a frame that closes and fades out: keeps the size, place and contents exactly as the eye sees them now, and
33
+ * returns the pending endings to run once the frame has left.
34
+ */
35
+ freeze: () => () => void;
36
+ };
37
+ export declare const createFrameMotion: (dialog: HTMLDialogElement) => FrameMotion;
@@ -33,6 +33,11 @@ export type PromptSearchItem<T = unknown> = {
33
33
  id?: string;
34
34
  label: string;
35
35
  desc?: string;
36
+ /**
37
+ * Shown in place of `desc`, such as a colored `Tag`. A function, so each place gets its own element. It shows only
38
+ * with a `desc`, which stays the text that screen readers use.
39
+ */
40
+ descriptionVisual?: () => JSX.Element;
36
41
  icon?: string;
37
42
  previewUrl?: string;
38
43
  value?: T;
@@ -20,13 +20,21 @@ export type ToastOptions = {
20
20
  variant?: ToastVariant;
21
21
  /** Milliseconds until the toast closes; `0` keeps it until it is closed. Omit it for the default by variant, length, and action. */
22
22
  duration?: number;
23
+ /**
24
+ * The icon comes from the variant. Pass a glyph only when it says more than the tone, such as `ti-send` for a queued
25
+ * message; it keeps the variant's colour. Never pass a tone glyph: an error is `variant: "error"`, not its icon.
26
+ */
23
27
  iconClass?: string;
24
28
  /**
25
29
  * A finished success, such as an issued document: the success toast draws its check once when it appears, in place of
26
30
  * its icon. Leave it off for routine saves. Other variants and running progress ignore it.
27
31
  */
28
32
  celebrate?: boolean;
29
- /** A short line of context above the message. There is no default title. */
33
+ /**
34
+ * The outcome in one to three words ("Sent", "Could not save"), at most 32 characters, so it stays one line beside the
35
+ * icon on a phone. The message then becomes the muted description under it. Leave it out only when the whole message is
36
+ * that short; a short message alone takes the title's type.
37
+ */
30
38
  title?: string;
31
39
  action?: ToastAction | null;
32
40
  /** A second action. With it, both actions sit in a row under the message: `action` first, as the primary button. */
@@ -0,0 +1,5 @@
1
+ /**
2
+ * A separate entry for code that loads the hover card on demand. Imported from here, it stays out of an island's first
3
+ * JavaScript, because the main entry no longer has to keep it.
4
+ */
5
+ export { HoverCard, type HoverCardOptions, type HoverCardProps, type HoverCardTriggerProps } from "./feedback/HoverCard";
@@ -5,6 +5,11 @@ export type ChoiceListOption<T extends string = string> = {
5
5
  label: string;
6
6
  /** One sentence on what the choice means. */
7
7
  description?: string;
8
+ /**
9
+ * Shown in place of `description`, such as a colored `Tag`. A function, so each place gets its own element.
10
+ * It shows only with a `description`, which stays the text that search and screen readers use.
11
+ */
12
+ descriptionVisual?: () => JSX.Element;
8
13
  /** A quiet tag after the label, such as "Default" for the choice that applies without one. */
9
14
  marker?: string;
10
15
  /** A Tabler icon class before the text, such as `ti ti-truck`, when a picture helps tell the choices apart. */
@@ -14,19 +19,21 @@ export type ChoiceListOption<T extends string = string> = {
14
19
  };
15
20
  export type ChoiceListProps<T extends string = string> = Omit<ValueFieldProps<T | null>, "onValueChange" | "onValueCommit"> & {
16
21
  options: readonly ChoiceListOption<T>[];
22
+ /** Cards by default; `list` joins compact rows in one frame, with details below the frame. */
23
+ variant?: "cards" | "list";
17
24
  /** The chosen value is being saved: a spinner beside its label, and the group is busy. Choosing again is still possible. */
18
25
  busy?: boolean;
19
26
  /** Busy spinner's name for screen readers, such as "Saving". */
20
27
  busyLabel?: string;
21
- /** Follow-up controls for the chosen option, shown under it and indented to its text, such as a duration. */
28
+ /** Follow-up controls for the chosen option: under its card row, or below the whole frame in `list`. */
22
29
  details?: JSX.Element;
23
30
  onValueChange?: (value: T) => void;
24
31
  onValueCommit?: (value: T) => void;
25
32
  };
26
33
  /**
27
- * A labeled single choice shown as cards, each with a radio, a label and one sentence on what it
28
- * means, for a few choices whose consequences need words. Choosing changes only paint, so no card moves; `details`
29
- * opens under the chosen card's row. Use `ChoiceChips` for quick picks without explanation, `RichSelect` for longer lists
30
- * in a dropdown, and `ChoiceTiles` when a preview decides.
34
+ * A labeled single choice shown as cards or compact framed rows, each with a radio and a label.
35
+ * Cards explain consequences below the label; `list` puts short additions beside it. `details`
36
+ * opens under the chosen card's row, or below the whole list frame. Use `ChoiceChips` for quick picks
37
+ * without explanation, `RichSelect` for longer lists in a dropdown, and `ChoiceTiles` when a preview decides.
31
38
  */
32
39
  export declare function ChoiceList<T extends string = string>(props: ChoiceListProps<T>): JSX.Element;
@@ -4,6 +4,11 @@ export type ComboboxOption = {
4
4
  id: string;
5
5
  label: string;
6
6
  description?: string;
7
+ /**
8
+ * Shown in place of `description`, such as a colored `Tag`. A function, so each place gets its own element.
9
+ * It shows only with a `description`, which stays the text that search and screen readers use.
10
+ */
11
+ descriptionVisual?: () => JSX.Element;
7
12
  icon?: string;
8
13
  /** Shown but cannot be picked, such as someone who is already on the list; say why in `description`. */
9
14
  disabled?: boolean;
@@ -6,6 +6,7 @@ export type MultiSelectOption = string | {
6
6
  id: string;
7
7
  label?: string;
8
8
  description?: string;
9
+ descriptionVisual?: () => JSX.Element;
9
10
  icon?: string;
10
11
  color?: string;
11
12
  groups?: readonly string[];
@@ -14,6 +14,16 @@ export type PeriodPickerProps = Omit<ValueFieldProps<PeriodValue | null>, "value
14
14
  now?: Date;
15
15
  /** Shows that a change is saving: the trigger keeps its size, cannot be opened, and shows a spinner. */
16
16
  loading?: boolean;
17
+ /**
18
+ * Arrows before the trigger step to the previous and next period, and a link after it leads back to the current
19
+ * one. A calendar week, month, quarter or year steps to its neighbour; any other range moves by its own length. An
20
+ * open period such as "All time" does not step. A step that lands on a preset stores the preset.
21
+ */
22
+ steps?: boolean;
23
+ /** The first day there is anything to show, a date key. The previous arrow stops before it and says why. */
24
+ min?: string;
25
+ /** The last day there is anything to show, a date key. The next arrow stops after it and says why. */
26
+ max?: string;
17
27
  };
18
28
  /**
19
29
  * PeriodPicker — one control for the period an evaluation or dashboard shows: presets such as "This month" plus a
@@ -8,6 +8,11 @@ export type RichSelectItem = {
8
8
  label: string;
9
9
  /** At most one short line that says what the choice changes. */
10
10
  description?: string;
11
+ /**
12
+ * Shown in place of `description`, such as a colored `Tag`. A function, so each place gets its own element.
13
+ * It shows only with a `description`, which stays the text that search and screen readers use.
14
+ */
15
+ descriptionVisual?: () => JSX.Element;
11
16
  /** Icon class shown before the name. */
12
17
  icon?: string;
13
18
  /** Color dot shown before the name, such as a space color. Replaces `icon`. */
@@ -19,6 +19,7 @@ export type SelectSourceOption = string | {
19
19
  id: string;
20
20
  label?: string;
21
21
  description?: string;
22
+ descriptionVisual?: () => JSX.Element;
22
23
  icon?: string;
23
24
  color?: string;
24
25
  groups?: readonly string[];
@@ -6,6 +6,11 @@ export type SelectChipOption<T extends string | number = string> = {
6
6
  value: T;
7
7
  label: string;
8
8
  description?: string;
9
+ /**
10
+ * Shown in place of `description`, such as a colored `Tag`. A function, so each place gets its own element.
11
+ * It shows only with a `description`, which stays the text that search and screen readers use.
12
+ */
13
+ descriptionVisual?: () => JSX.Element;
9
14
  icon?: string;
10
15
  image?: string;
11
16
  disabled?: boolean;
@@ -0,0 +1,16 @@
1
+ import { type JSX } from "solid-js";
2
+ import type { ValueFieldProps } from "./field-contract";
3
+ export type TimeInputProps = Omit<JSX.InputHTMLAttributes<HTMLInputElement>, "max" | "min" | "onChange" | "onInput" | "step" | "type" | "value" | keyof ValueFieldProps<string | null>> & ValueFieldProps<string | null> & {
4
+ /** The earliest allowed time, `HH:mm`. */
5
+ min?: string;
6
+ /** The latest allowed time, `HH:mm`; 23:59 by default. `24:00` allows the end of the day, as for "until midnight". */
7
+ max?: string;
8
+ /** The minute grid a committed time snaps to, counted from `min` or midnight; 1 by default. */
9
+ step?: number;
10
+ };
11
+ /**
12
+ * A 24-hour clock time field. The value is `HH:mm` or `null`. People type `9`, `930` or `9:30` with the numeric
13
+ * keypad; Enter or leaving the field commits `09:30`. A text that is no allowed time stays for correction, says
14
+ * why, and keeps the value.
15
+ */
16
+ export declare function TimeInput(props: TimeInputProps): JSX.Element;
@@ -1,8 +1,13 @@
1
- import { type Setter } from "solid-js";
1
+ import { type JSX, type Setter } from "solid-js";
2
2
  export type ChoiceOption<T extends string = string> = {
3
3
  value: T;
4
4
  label: string;
5
5
  description?: string;
6
+ /**
7
+ * Shown in place of `description`, such as a colored `Tag`. A function, so each place gets its own element.
8
+ * It shows only with a `description`, which stays the text that search and screen readers use.
9
+ */
10
+ descriptionVisual?: () => JSX.Element;
6
11
  icon?: string;
7
12
  color?: string;
8
13
  disabled?: boolean;
@@ -84,3 +84,5 @@ export type { TemplateEditorLayout, TemplateEditorProps, TemplatePreviewProps, T
84
84
  export { createTemplateEditorPanesLayout, TemplateEditor, TemplatePreview, TemplateSampleData, } from "./TemplateEditor";
85
85
  export type { TextInputProps } from "./TextInput";
86
86
  export { TextInput } from "./TextInput";
87
+ export type { TimeInputProps } from "./TimeInput";
88
+ export { TimeInput } from "./TimeInput";
@@ -12,6 +12,15 @@ declare const inputMessages: import("@k2b/stdlib").Catalog<{
12
12
  resetTo: ({ value }: {
13
13
  value: string;
14
14
  }) => string;
15
+ timeLetters: string;
16
+ notATime: string;
17
+ timeRequired: string;
18
+ earliestTime: ({ time }: {
19
+ time: string;
20
+ }) => string;
21
+ latestTime: ({ time }: {
22
+ time: string;
23
+ }) => string;
15
24
  }>;
16
25
  export type InputMessages = ReturnType<(typeof inputMessages)["resolve"]>["t"];
17
26
  /** Resolved from the inherited render locale. */
@@ -23,6 +23,15 @@ declare const periodPickerMessages: import("@k2b/stdlib").Catalog<{
23
23
  "this-year": string;
24
24
  "last-year": string;
25
25
  all: string;
26
+ previousPeriod: string;
27
+ nextPeriod: string;
28
+ currentPeriod: string;
29
+ nothingBefore: ({ date }: {
30
+ date: string;
31
+ }) => string;
32
+ nothingAfter: ({ date }: {
33
+ date: string;
34
+ }) => string;
26
35
  }>;
27
36
  export type PeriodPickerMessages = ReturnType<(typeof periodPickerMessages)["resolve"]>["t"];
28
37
  /** The translated label of a built-in preset key, if it is one. */
@@ -117,6 +117,39 @@ export declare const periodInstants: (range: PeriodRange, timeZone: string) => {
117
117
  from: string | null;
118
118
  to: string | null;
119
119
  };
120
+ /**
121
+ * How a period steps to its neighbour: calendar months, quarters and years keep their unit; every other range
122
+ * keeps its own number of days, even when its edges happen to be month boundaries.
123
+ */
124
+ export type PeriodStep = {
125
+ months: number;
126
+ } | {
127
+ days: number;
128
+ };
129
+ /** What a period is, for its text and the way back to the current one. */
130
+ export type PeriodKind = "day" | "week" | "month" | "quarter" | "year" | "range";
131
+ /** The step of a period; `undefined` for an open edge, which has no neighbour. */
132
+ export declare const periodStep: (range: PeriodRange) => PeriodStep | undefined;
133
+ /** The period `count` steps away: `-1` is the previous one, `1` the next. */
134
+ export declare const stepPeriod: (range: {
135
+ start: string;
136
+ end: string;
137
+ }, step: PeriodStep, count: number) => {
138
+ start: string;
139
+ end: string;
140
+ };
141
+ /** The period of the same kind and rhythm that contains today: this week for a week, this month for a month. */
142
+ export declare const currentPeriodOf: (range: {
143
+ start: string;
144
+ end: string;
145
+ }, step: PeriodStep, today: string) => {
146
+ start: string;
147
+ end: string;
148
+ };
149
+ export declare const periodKind: (range: {
150
+ start: string;
151
+ end: string;
152
+ }, weekStartsOn: 0 | 1) => PeriodKind;
120
153
  /**
121
154
  * Short days of a preset, for the list and the trigger: "Sat, Nov 7", "Nov 1 – 30", "2025", "since 3/14/2019".
122
155
  * The year is added only when the period is not in today's year.
@@ -127,6 +160,14 @@ export declare const formatPeriodRange: (range: {
127
160
  start: string;
128
161
  end: string;
129
162
  }, locale: string) => string;
163
+ /**
164
+ * Explicit days that are one calendar week, month or year read as that: "9.–15. Nov. 2026", "Oktober 2026", "2025".
165
+ * `undefined` for any other range, which keeps its numeric days and count.
166
+ */
167
+ export declare const formatPeriodUnit: (range: {
168
+ start: string;
169
+ end: string;
170
+ }, weekStartsOn: 0 | 1, locale: string) => string | undefined;
130
171
  /** The widest explicit range within today's year, all of it (two-digit days, a three-digit count), so a trigger can reserve its width. */
131
172
  export declare const widePeriodRangeSample: (today: string) => {
132
173
  start: string;
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Rules of the typed time field: what a text means as a 24-hour clock time `HH:mm`, the minute grid of `step`, and
3
+ * the bounds `min` and `max`. `24:00` is a time only where `max` allows it, as the end of a day.
4
+ */
5
+ export type TimeTextResult = {
6
+ kind: "empty";
7
+ } | {
8
+ kind: "time";
9
+ value: string;
10
+ } | {
11
+ kind: "error";
12
+ };
13
+ export type TimeLimitError = {
14
+ code: "earliest";
15
+ time: string;
16
+ } | {
17
+ code: "latest";
18
+ time: string;
19
+ };
20
+ /** `HH:mm` from minutes after midnight; 1440 is `24:00`. */
21
+ export declare const timeFromMinutes: (minutes: number) => string;
22
+ /** Minutes after midnight of an `HH:mm` value, or `null` for anything else. `24:00` is 1440. */
23
+ export declare const timeToMinutes: (value: string | null | undefined) => number | null;
24
+ /**
25
+ * Keeps what can still become a time while someone types: up to four digits and one separator after the hour.
26
+ * `.`, `h` and a space count as the separator and become `:`.
27
+ */
28
+ export declare const filterTimeText: (value: string) => string;
29
+ /**
30
+ * What a typed text means: `9` and `09` are 09:00, `930` and `0930` are 09:30, `9:5` is 09:05. Hours above 24 and
31
+ * minutes above 59 are no time; `24:00` is, and the bounds decide whether it is allowed.
32
+ */
33
+ export declare const parseTimeText: (text: string) => TimeTextResult;
34
+ /**
35
+ * The nearest time on the grid of `step` minutes, counted from `min` (or midnight). A time of the day that would round
36
+ * up to midnight takes the last grid line before it instead, so snapping never leaves the day.
37
+ */
38
+ export declare const snapTime: (value: string, step: number | undefined, min?: string) => string;
39
+ /** Why a time lies outside `min`/`max`; without `max`, 23:59 is the last time of the day. */
40
+ export declare const timeLimitError: (value: string, limits: {
41
+ min?: string;
42
+ max?: string;
43
+ }) => TimeLimitError | undefined;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Waits for the exit transitions that the stylesheet starts on an element that just closed, such as a dialog whose
3
+ * `[open]` went away, and then calls `done` once. Without a running transition (reduced motion, a sheet that moves
4
+ * itself, a document without the stylesheet) `done` runs at once. Only the element's own transitions count: a spinner
5
+ * inside it may loop forever.
6
+ *
7
+ * Returns a function that ends the wait at once and calls `done` now, for a new dialog that opens meanwhile or a page
8
+ * swap that disposes everything.
9
+ */
10
+ export declare const afterExitTransitions: (element: Element, done: () => void) => (() => void);
@@ -0,0 +1,20 @@
1
+ import { type JSX } from "solid-js";
2
+ type OptionLine = {
3
+ description?: string;
4
+ descriptionVisual?: () => JSX.Element;
5
+ };
6
+ /**
7
+ * The second line of an option row, as a `<small>`, or nothing without a
8
+ * description. With a `descriptionVisual`, such as a colored `Tag`, the visual
9
+ * shows in place of the description. The text stays in the row, hidden from
10
+ * view, so search, the accessible name, and the description a screen reader
11
+ * reads do not change. The visual keeps the line's height.
12
+ *
13
+ * Every option list calls this one function, so each call stays small in the
14
+ * islands that ship several lists. Only whether the line exists decides when
15
+ * its element is made: a host that rebuilds equal options, such as a menu
16
+ * whose entries come and go while someone types, keeps the element, and only
17
+ * its content follows.
18
+ */
19
+ export declare const optionDescription: (option: OptionLine | (() => OptionLine), className?: string, id?: string) => JSX.Element;
20
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const keepScroll: (level: HTMLElement, frame: HTMLElement) => WeakMap<HTMLElement, (readonly [HTMLElement, number, number])[]>;
2
+ export declare const restoreScroll: (level: HTMLElement) => void;
@@ -0,0 +1,19 @@
1
+ import { type JSX } from "solid-js";
2
+ /** Internal cells shared by chat activities, composer tasks, and run steps. The owning surface supplies its grid. */
3
+ export declare function StepRowContent(props: {
4
+ classes: {
5
+ leading: string;
6
+ label: string;
7
+ meta?: string;
8
+ duration?: string;
9
+ };
10
+ leading: JSX.Element;
11
+ label: JSX.Element;
12
+ meta?: JSX.Element;
13
+ metaTone?: string;
14
+ duration?: string;
15
+ durationTitle?: string;
16
+ silentDuration?: boolean;
17
+ end?: JSX.Element;
18
+ statusLabel?: string;
19
+ }): JSX.Element;
@@ -392,6 +392,15 @@ export type AppWorkspaceSidebarItemActionsProps = {
392
392
  children: JSX.Element;
393
393
  visibility?: AppWorkspaceSidebarAccessoryVisibility;
394
394
  };
395
+ /**
396
+ * One action in a section header's `actions`. With a mouse or trackpad, header actions show on hover or focus
397
+ * (`"hover"`, the default, as for unwrapped actions); `"always"` keeps an entry point people must find, such as
398
+ * discovering more, shown at all times. Its box is reserved either way, so revealing moves nothing.
399
+ */
400
+ export type AppWorkspaceSidebarSectionActionProps = {
401
+ children: JSX.Element;
402
+ visibility?: AppWorkspaceSidebarAccessoryVisibility;
403
+ };
395
404
  export type AppWorkspaceNavTreeProps = {
396
405
  children: JSX.Element;
397
406
  ariaLabel: string;
@@ -486,6 +495,7 @@ type AppWorkspaceComponent = ((props: AppWorkspaceProps) => JSX.Element) & {
486
495
  SidebarItemMeta: (props: AppWorkspaceSidebarItemMetaProps) => JSX.Element;
487
496
  SidebarItemAction: (props: AppWorkspaceSidebarItemActionProps) => JSX.Element;
488
497
  SidebarItemActions: (props: AppWorkspaceSidebarItemActionsProps) => JSX.Element;
498
+ SidebarSectionAction: (props: AppWorkspaceSidebarSectionActionProps) => JSX.Element;
489
499
  SidebarItemStatus: (props: AppWorkspaceSidebarItemStatusProps) => JSX.Element;
490
500
  NavTree: AppWorkspaceNavTreeComponent;
491
501
  SidebarIconGrid: (props: AppWorkspaceSidebarIconGridProps) => JSX.Element;
@@ -1,19 +1,6 @@
1
1
  import { type JSX } from "solid-js";
2
2
  import type { DialogTone } from "../feedback/dialog-tone";
3
- import { sheetInitialFocus } from "./sheet-motion";
4
- export declare const bottomSheetOptions: {
5
- panelClassName: string;
6
- contentClassName: string;
7
- initialFocus: typeof sheetInitialFocus;
8
- };
9
- /** A sheet on phones and a centered dialog from 48rem up, for decisions and forms; menus keep
10
- * `bottomSheetOptions`. The stylesheet picks the mode with the phone media query, so the first
11
- * frame is already right and a rotation or resize switches it in place, without a remount. */
12
- export declare const bottomSheetAdaptiveOptions: {
13
- contentClassName: string;
14
- initialFocus: typeof sheetInitialFocus;
15
- panelClassName: string;
16
- };
3
+ export { bottomSheetAdaptiveOptions, bottomSheetOptions } from "./bottom-sheet-options";
17
4
  export type BottomSheetProps = {
18
5
  children: JSX.Element;
19
6
  /** Pass dialogCore's render context requestDismiss, never the completion callback. */
@@ -1,7 +1,7 @@
1
1
  import { type JSX } from "solid-js";
2
- export type PullToRefreshState = "idle" | "pulling" | "ready" | "refreshing";
2
+ export type PullToRefreshState = "idle" | "pulling" | "ready" | "refreshing" | "error";
3
3
  export type PullToRefreshProps = {
4
- /** Reloads the wrapped content. The indicator stays busy until the promise settles. */
4
+ /** Reloads the wrapped content. The indicator stays busy until the promise settles; a rejection shows a short failure mark. */
5
5
  onRefresh: () => Promise<void>;
6
6
  disabled?: boolean;
7
7
  /** Status text announced while refreshing. Defaults to the shared "Refreshing" message. */
@@ -5,6 +5,11 @@ export type AppWorkspaceSwitcherOption = {
5
5
  label: string;
6
6
  /** One secondary fact, such as a mailbox's address. */
7
7
  description?: string;
8
+ /**
9
+ * Shown in place of `description`, such as a colored `Tag`. A function, so each place gets its own element.
10
+ * It shows only with a `description`, which stays the text that search and screen readers use.
11
+ */
12
+ descriptionVisual?: () => JSX.Element;
8
13
  /** Tabler icon class; without it the row takes the switcher's icon. */
9
14
  icon?: string;
10
15
  /** Tints the icon; without it the app accent does. */
@@ -0,0 +1,9 @@
1
+ type Sheet = typeof import("./BottomSheet");
2
+ /** Loads `BottomSheet` in the background for a sheet that is likely to open soon; a failure waits for that open. */
3
+ export declare const preloadBottomSheet: () => void;
4
+ /**
5
+ * Opens a `BottomSheet` that a component shows only on some screens: at once when its code is loaded, otherwise as
6
+ * soon as it is. A wide screen loads it with its first such sheet.
7
+ */
8
+ export declare const withBottomSheet: <T>(open: (module: Sheet) => Promise<T>) => Promise<T>;
9
+ export {};
@@ -0,0 +1,18 @@
1
+ /** Initial focus goes to the first input of the top sheet, otherwise to the
2
+ * dialog element itself. Native `showModal()` focuses the first focusable
3
+ * descendant, which is the drag handle; iOS shows a ring for that programmatic
4
+ * focus, so the sheet moves it to the ring-less dialog before the next paint. */
5
+ export declare const sheetInitialFocus: (dialog: HTMLDialogElement) => HTMLElement;
6
+ export declare const bottomSheetOptions: {
7
+ panelClassName: string;
8
+ contentClassName: string;
9
+ initialFocus: typeof sheetInitialFocus;
10
+ };
11
+ /** A sheet on phones and a centered dialog from 48rem up, for decisions and forms; menus keep
12
+ * `bottomSheetOptions`. The stylesheet picks the mode with the phone media query, so the first
13
+ * frame is already right and a rotation or resize switches it in place, without a remount. */
14
+ export declare const bottomSheetAdaptiveOptions: {
15
+ contentClassName: string;
16
+ initialFocus: typeof sheetInitialFocus;
17
+ panelClassName: string;
18
+ };