@k2b/ui 0.62.0 → 0.64.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 (517) hide show
  1. package/dist/base.css +6 -3
  2. package/dist/browser/actions/ContextMenu.js +3 -1
  3. package/dist/browser/actions/ContextMenu.js.map +1 -1
  4. package/dist/browser/actions/DragAndDrop.js +26 -5
  5. package/dist/browser/actions/DragAndDrop.js.map +1 -1
  6. package/dist/browser/actions/DropOverlay.js +76 -0
  7. package/dist/browser/actions/DropOverlay.js.map +1 -0
  8. package/dist/browser/actions/Dropdown.js +69 -15
  9. package/dist/browser/actions/Dropdown.js.map +1 -1
  10. package/dist/browser/actions/FilterChip.js +10 -5
  11. package/dist/browser/actions/FilterChip.js.map +1 -1
  12. package/dist/browser/actions/SortableList.js +338 -85
  13. package/dist/browser/actions/SortableList.js.map +1 -1
  14. package/dist/browser/actions/ViewTabs.js +9 -5
  15. package/dist/browser/actions/ViewTabs.js.map +1 -1
  16. package/dist/browser/actions/drag-and-drop-keyboard.js +211 -0
  17. package/dist/browser/actions/drag-and-drop-keyboard.js.map +1 -0
  18. package/dist/browser/actions/drag-and-drop-messages.js +21 -25
  19. package/dist/browser/actions/drag-and-drop-messages.js.map +1 -1
  20. package/dist/browser/actions/drag-and-drop.js +206 -184
  21. package/dist/browser/actions/drag-and-drop.js.map +1 -1
  22. package/dist/browser/actions/drop-overlay-pages.js +54 -0
  23. package/dist/browser/actions/drop-overlay-pages.js.map +1 -0
  24. package/dist/browser/actions/drop-overlay-view.js +318 -0
  25. package/dist/browser/actions/drop-overlay-view.js.map +1 -0
  26. package/dist/browser/actions/index.js +4 -2
  27. package/dist/browser/actions/index.js.map +1 -1
  28. package/dist/browser/actions/menu-sheet-messages.js +26 -0
  29. package/dist/browser/actions/menu-sheet-messages.js.map +1 -0
  30. package/dist/browser/actions/menu-sheet.js +80 -18
  31. package/dist/browser/actions/menu-sheet.js.map +1 -1
  32. package/dist/browser/actions/menu-submenu-panel.js +392 -0
  33. package/dist/browser/actions/menu-submenu-panel.js.map +1 -0
  34. package/dist/browser/actions/preload-when-idle.js +15 -0
  35. package/dist/browser/actions/preload-when-idle.js.map +1 -0
  36. package/dist/browser/actions/sortable-board.js +107 -0
  37. package/dist/browser/actions/sortable-board.js.map +1 -0
  38. package/dist/browser/actions/sortable-keyboard.js +202 -0
  39. package/dist/browser/actions/sortable-keyboard.js.map +1 -0
  40. package/dist/browser/actions/sortable-list-messages.js +23 -11
  41. package/dist/browser/actions/sortable-list-messages.js.map +1 -1
  42. package/dist/browser/actions/sortable-place.js +26 -0
  43. package/dist/browser/actions/sortable-place.js.map +1 -0
  44. package/dist/browser/charts/core/line-base.js +2 -1
  45. package/dist/browser/charts/core/line-base.js.map +1 -1
  46. package/dist/browser/charts/core/line-details.js +2 -1
  47. package/dist/browser/charts/core/line-details.js.map +1 -1
  48. package/dist/browser/charts/core/svg-common.js +7 -0
  49. package/dist/browser/charts/core/svg-common.js.map +1 -1
  50. package/dist/browser/charts/description.js.map +1 -1
  51. package/dist/browser/chat/ChatComposer.js +15 -5
  52. package/dist/browser/chat/ChatComposer.js.map +1 -1
  53. package/dist/browser/chat/ChatDecision.js +607 -582
  54. package/dist/browser/chat/ChatDecision.js.map +1 -1
  55. package/dist/browser/chat/ChatDecisionField.js +311 -0
  56. package/dist/browser/chat/ChatDecisionField.js.map +1 -0
  57. package/dist/browser/chat/chat-messages.js +0 -4
  58. package/dist/browser/chat/chat-messages.js.map +1 -1
  59. package/dist/browser/chat/index.js +4 -4
  60. package/dist/browser/chat/index.js.map +1 -1
  61. package/dist/browser/chat/types.js.map +1 -1
  62. package/dist/browser/chat-decision-field.js +6 -0
  63. package/dist/browser/chat-decision-field.js.map +1 -0
  64. package/dist/browser/code-diff.js +7 -0
  65. package/dist/browser/code-diff.js.map +1 -0
  66. package/dist/browser/content/ChartExplorer.js +170 -161
  67. package/dist/browser/content/ChartExplorer.js.map +1 -1
  68. package/dist/browser/content/CodeDiff.js +785 -0
  69. package/dist/browser/content/CodeDiff.js.map +1 -0
  70. package/dist/browser/content/CodeDisplay.js +13 -4
  71. package/dist/browser/content/CodeDisplay.js.map +1 -1
  72. package/dist/browser/content/DataTable.js +494 -366
  73. package/dist/browser/content/DataTable.js.map +1 -1
  74. package/dist/browser/content/FileName.js +68 -0
  75. package/dist/browser/content/FileName.js.map +1 -0
  76. package/dist/browser/content/Lightbox.js +140 -123
  77. package/dist/browser/content/Lightbox.js.map +1 -1
  78. package/dist/browser/content/ProgressPath.js +30 -25
  79. package/dist/browser/content/ProgressPath.js.map +1 -1
  80. package/dist/browser/content/RunLog.js +2 -1
  81. package/dist/browser/content/RunLog.js.map +1 -1
  82. package/dist/browser/content/TaskRow.js +129 -0
  83. package/dist/browser/content/TaskRow.js.map +1 -0
  84. package/dist/browser/content/code-diff-messages.js +74 -0
  85. package/dist/browser/content/code-diff-messages.js.map +1 -0
  86. package/dist/browser/content/code-highlight.js +36 -91
  87. package/dist/browser/content/code-highlight.js.map +1 -1
  88. package/dist/browser/content/data-table-columns.js +13 -1
  89. package/dist/browser/content/data-table-columns.js.map +1 -1
  90. package/dist/browser/content/index.js +3 -0
  91. package/dist/browser/content/index.js.map +1 -1
  92. package/dist/browser/content/progress-path-messages.js +22 -0
  93. package/dist/browser/content/progress-path-messages.js.map +1 -0
  94. package/dist/browser/feedback/dialog-call.js +26 -0
  95. package/dist/browser/feedback/dialog-call.js.map +1 -0
  96. package/dist/browser/feedback/dialog-core.js +126 -27
  97. package/dist/browser/feedback/dialog-core.js.map +1 -1
  98. package/dist/browser/feedback/dialog-foot.js +45 -0
  99. package/dist/browser/feedback/dialog-foot.js.map +1 -0
  100. package/dist/browser/feedback/prompt-confirm.js +115 -133
  101. package/dist/browser/feedback/prompt-confirm.js.map +1 -1
  102. package/dist/browser/feedback/prompt-form-loader.js +18 -0
  103. package/dist/browser/feedback/prompt-form-loader.js.map +1 -0
  104. package/dist/browser/feedback/prompt-form-state.js +77 -0
  105. package/dist/browser/feedback/prompt-form-state.js.map +1 -0
  106. package/dist/browser/feedback/prompt-form.js +333 -0
  107. package/dist/browser/feedback/prompt-form.js.map +1 -0
  108. package/dist/browser/feedback/prompt-header.js +100 -0
  109. package/dist/browser/feedback/prompt-header.js.map +1 -0
  110. package/dist/browser/feedback/prompt-messages.js +2 -0
  111. package/dist/browser/feedback/prompt-messages.js.map +1 -1
  112. package/dist/browser/feedback/prompt-sheet-view.js +5 -4
  113. package/dist/browser/feedback/prompt-sheet-view.js.map +1 -1
  114. package/dist/browser/feedback/prompt-sheet.js +5 -3
  115. package/dist/browser/feedback/prompt-sheet.js.map +1 -1
  116. package/dist/browser/feedback/prompts.js +180 -550
  117. package/dist/browser/feedback/prompts.js.map +1 -1
  118. package/dist/browser/inputs/Combobox.js +26 -9
  119. package/dist/browser/inputs/Combobox.js.map +1 -1
  120. package/dist/browser/inputs/DatePicker.js +376 -718
  121. package/dist/browser/inputs/DatePicker.js.map +1 -1
  122. package/dist/browser/inputs/FileInputs.js +1 -1
  123. package/dist/browser/inputs/FileInputs.js.map +1 -1
  124. package/dist/browser/inputs/NumberInput.js +125 -46
  125. package/dist/browser/inputs/NumberInput.js.map +1 -1
  126. package/dist/browser/inputs/PeriodPicker.js +13 -5
  127. package/dist/browser/inputs/PeriodPicker.js.map +1 -1
  128. package/dist/browser/inputs/QrScanner.js +30 -3
  129. package/dist/browser/inputs/QrScanner.js.map +1 -1
  130. package/dist/browser/inputs/TextInput.js +3 -3
  131. package/dist/browser/inputs/TextInput.js.map +1 -1
  132. package/dist/browser/inputs/choice.js +2 -0
  133. package/dist/browser/inputs/choice.js.map +1 -1
  134. package/dist/browser/inputs/date-picker-panel.js +420 -0
  135. package/dist/browser/inputs/date-picker-panel.js.map +1 -0
  136. package/dist/browser/inputs/date-sheet.js +4 -3
  137. package/dist/browser/inputs/date-sheet.js.map +1 -1
  138. package/dist/browser/inputs/field-suggestion.js +18 -11
  139. package/dist/browser/inputs/field-suggestion.js.map +1 -1
  140. package/dist/browser/inputs/image-crop.js +1 -1
  141. package/dist/browser/inputs/image-crop.js.map +1 -1
  142. package/dist/browser/inputs/image-tools.js +4 -0
  143. package/dist/browser/inputs/image-tools.js.map +1 -0
  144. package/dist/browser/inputs/input-messages.js +8 -2
  145. package/dist/browser/inputs/input-messages.js.map +1 -1
  146. package/dist/browser/internal/field.js +2 -2
  147. package/dist/browser/internal/field.js.map +1 -1
  148. package/dist/browser/internal/renders-something.js +3 -0
  149. package/dist/browser/internal/renders-something.js.map +1 -0
  150. package/dist/browser/intl/messages.js +1 -1
  151. package/dist/browser/intl/messages.js.map +1 -1
  152. package/dist/browser/layout/AppWorkspace.js +17 -9
  153. package/dist/browser/layout/AppWorkspace.js.map +1 -1
  154. package/dist/browser/layout/AppWorkspaceSidebarItemStatus.js +62 -46
  155. package/dist/browser/layout/AppWorkspaceSidebarItemStatus.js.map +1 -1
  156. package/dist/browser/layout/Breadcrumbs.js +188 -42
  157. package/dist/browser/layout/Breadcrumbs.js.map +1 -1
  158. package/dist/browser/layout/DetailPanel.js +209 -205
  159. package/dist/browser/layout/DetailPanel.js.map +1 -1
  160. package/dist/browser/layout/FloatingPill.js +33 -0
  161. package/dist/browser/layout/FloatingPill.js.map +1 -0
  162. package/dist/browser/layout/Navigation.js +10 -7
  163. package/dist/browser/layout/Navigation.js.map +1 -1
  164. package/dist/browser/layout/PanelDialog.js +176 -88
  165. package/dist/browser/layout/PanelDialog.js.map +1 -1
  166. package/dist/browser/layout/StatusRow.js +174 -0
  167. package/dist/browser/layout/StatusRow.js.map +1 -0
  168. package/dist/browser/layout/app-workspace-controller.js +12 -5
  169. package/dist/browser/layout/app-workspace-controller.js.map +1 -1
  170. package/dist/browser/layout/app-workspace-state.js +2 -2
  171. package/dist/browser/layout/app-workspace-state.js.map +1 -1
  172. package/dist/browser/layout/index.js +2 -0
  173. package/dist/browser/layout/index.js.map +1 -1
  174. package/dist/browser/layout/navigation-model.js.map +1 -1
  175. package/dist/browser/layout/panel-dialog-error.js +44 -0
  176. package/dist/browser/layout/panel-dialog-error.js.map +1 -0
  177. package/dist/browser/layout/panel-sheet-handle.js +86 -0
  178. package/dist/browser/layout/panel-sheet-handle.js.map +1 -0
  179. package/dist/browser/layout/workspace-messages.js +12 -2
  180. package/dist/browser/layout/workspace-messages.js.map +1 -1
  181. package/dist/browser/layout-check.js +232 -0
  182. package/dist/browser/layout-check.js.map +1 -0
  183. package/dist/browser/run-log.js +3 -0
  184. package/dist/browser/run-log.js.map +1 -0
  185. package/dist/browser/surfaces/Area.js +205 -0
  186. package/dist/browser/surfaces/Area.js.map +1 -0
  187. package/dist/browser/surfaces/FactGroup.js +148 -0
  188. package/dist/browser/surfaces/FactGroup.js.map +1 -0
  189. package/dist/browser/surfaces/FieldGrid.js +34 -0
  190. package/dist/browser/surfaces/FieldGrid.js.map +1 -0
  191. package/dist/browser/surfaces/NoticeCard.js +69 -57
  192. package/dist/browser/surfaces/NoticeCard.js.map +1 -1
  193. package/dist/browser/surfaces/NoticeRow.js +91 -5
  194. package/dist/browser/surfaces/NoticeRow.js.map +1 -1
  195. package/dist/browser/surfaces/Placeholder.js +17 -5
  196. package/dist/browser/surfaces/Placeholder.js.map +1 -1
  197. package/dist/browser/surfaces/RowGroup.js +82 -0
  198. package/dist/browser/surfaces/RowGroup.js.map +1 -0
  199. package/dist/browser/surfaces/Section.js +22 -7
  200. package/dist/browser/surfaces/Section.js.map +1 -1
  201. package/dist/browser/surfaces/StatCell.js +62 -49
  202. package/dist/browser/surfaces/StatCell.js.map +1 -1
  203. package/dist/browser/surfaces/StatGrid.js +2 -0
  204. package/dist/browser/surfaces/StatGrid.js.map +1 -1
  205. package/dist/browser/surfaces/StatusBadge.js +5 -1
  206. package/dist/browser/surfaces/StatusBadge.js.map +1 -1
  207. package/dist/browser/surfaces/flat-block-messages.js +37 -0
  208. package/dist/browser/surfaces/flat-block-messages.js.map +1 -0
  209. package/dist/browser/surfaces/index.js +4 -0
  210. package/dist/browser/surfaces/index.js.map +1 -1
  211. package/dist/browser/widgets/DashboardFrame.js +62 -52
  212. package/dist/browser/widgets/DashboardFrame.js.map +1 -1
  213. package/dist/ssr/actions/ContextMenu.js +3 -1
  214. package/dist/ssr/actions/ContextMenu.js.map +1 -1
  215. package/dist/ssr/actions/DragAndDrop.js +26 -5
  216. package/dist/ssr/actions/DragAndDrop.js.map +1 -1
  217. package/dist/ssr/actions/DropOverlay.js +69 -0
  218. package/dist/ssr/actions/DropOverlay.js.map +1 -0
  219. package/dist/ssr/actions/Dropdown.js +69 -15
  220. package/dist/ssr/actions/Dropdown.js.map +1 -1
  221. package/dist/ssr/actions/FilterChip.js +8 -1
  222. package/dist/ssr/actions/FilterChip.js.map +1 -1
  223. package/dist/ssr/actions/SortableList.js +293 -71
  224. package/dist/ssr/actions/SortableList.js.map +1 -1
  225. package/dist/ssr/actions/ViewTabs.js +9 -5
  226. package/dist/ssr/actions/ViewTabs.js.map +1 -1
  227. package/dist/ssr/actions/drag-and-drop-keyboard.js +211 -0
  228. package/dist/ssr/actions/drag-and-drop-keyboard.js.map +1 -0
  229. package/dist/ssr/actions/drag-and-drop-messages.js +21 -25
  230. package/dist/ssr/actions/drag-and-drop-messages.js.map +1 -1
  231. package/dist/ssr/actions/drag-and-drop.js +206 -184
  232. package/dist/ssr/actions/drag-and-drop.js.map +1 -1
  233. package/dist/ssr/actions/drop-overlay-pages.js +54 -0
  234. package/dist/ssr/actions/drop-overlay-pages.js.map +1 -0
  235. package/dist/ssr/actions/drop-overlay-view.js +225 -0
  236. package/dist/ssr/actions/drop-overlay-view.js.map +1 -0
  237. package/dist/ssr/actions/index.js +4 -2
  238. package/dist/ssr/actions/index.js.map +1 -1
  239. package/dist/ssr/actions/menu-sheet-messages.js +26 -0
  240. package/dist/ssr/actions/menu-sheet-messages.js.map +1 -0
  241. package/dist/ssr/actions/menu-sheet.js +62 -10
  242. package/dist/ssr/actions/menu-sheet.js.map +1 -1
  243. package/dist/ssr/actions/menu-submenu-panel.js +295 -0
  244. package/dist/ssr/actions/menu-submenu-panel.js.map +1 -0
  245. package/dist/ssr/actions/preload-when-idle.js +15 -0
  246. package/dist/ssr/actions/preload-when-idle.js.map +1 -0
  247. package/dist/ssr/actions/sortable-board.js +107 -0
  248. package/dist/ssr/actions/sortable-board.js.map +1 -0
  249. package/dist/ssr/actions/sortable-keyboard.js +202 -0
  250. package/dist/ssr/actions/sortable-keyboard.js.map +1 -0
  251. package/dist/ssr/actions/sortable-list-messages.js +23 -11
  252. package/dist/ssr/actions/sortable-list-messages.js.map +1 -1
  253. package/dist/ssr/actions/sortable-place.js +26 -0
  254. package/dist/ssr/actions/sortable-place.js.map +1 -0
  255. package/dist/ssr/charts/core/line-base.js +2 -1
  256. package/dist/ssr/charts/core/line-base.js.map +1 -1
  257. package/dist/ssr/charts/core/line-details.js +2 -1
  258. package/dist/ssr/charts/core/line-details.js.map +1 -1
  259. package/dist/ssr/charts/core/svg-common.js +7 -0
  260. package/dist/ssr/charts/core/svg-common.js.map +1 -1
  261. package/dist/ssr/charts/description.js.map +1 -1
  262. package/dist/ssr/chat/ChatComposer.js +12 -4
  263. package/dist/ssr/chat/ChatComposer.js.map +1 -1
  264. package/dist/ssr/chat/ChatDecision.js +321 -275
  265. package/dist/ssr/chat/ChatDecision.js.map +1 -1
  266. package/dist/ssr/chat/ChatDecisionField.js +206 -0
  267. package/dist/ssr/chat/ChatDecisionField.js.map +1 -0
  268. package/dist/ssr/chat/chat-messages.js +0 -4
  269. package/dist/ssr/chat/chat-messages.js.map +1 -1
  270. package/dist/ssr/chat/index.js +4 -4
  271. package/dist/ssr/chat/index.js.map +1 -1
  272. package/dist/ssr/chat/types.js.map +1 -1
  273. package/dist/ssr/chat-decision-field.js +6 -0
  274. package/dist/ssr/chat-decision-field.js.map +1 -0
  275. package/dist/ssr/code-diff.js +7 -0
  276. package/dist/ssr/code-diff.js.map +1 -0
  277. package/dist/ssr/content/ChartExplorer.js +67 -59
  278. package/dist/ssr/content/ChartExplorer.js.map +1 -1
  279. package/dist/ssr/content/CodeDiff.js +610 -0
  280. package/dist/ssr/content/CodeDiff.js.map +1 -0
  281. package/dist/ssr/content/CodeDisplay.js +8 -2
  282. package/dist/ssr/content/CodeDisplay.js.map +1 -1
  283. package/dist/ssr/content/DataTable.js +128 -82
  284. package/dist/ssr/content/DataTable.js.map +1 -1
  285. package/dist/ssr/content/FileName.js +46 -0
  286. package/dist/ssr/content/FileName.js.map +1 -0
  287. package/dist/ssr/content/Lightbox.js +53 -40
  288. package/dist/ssr/content/Lightbox.js.map +1 -1
  289. package/dist/ssr/content/ProgressPath.js +14 -8
  290. package/dist/ssr/content/ProgressPath.js.map +1 -1
  291. package/dist/ssr/content/RunLog.js +2 -1
  292. package/dist/ssr/content/RunLog.js.map +1 -1
  293. package/dist/ssr/content/TaskRow.js +95 -0
  294. package/dist/ssr/content/TaskRow.js.map +1 -0
  295. package/dist/ssr/content/code-diff-messages.js +74 -0
  296. package/dist/ssr/content/code-diff-messages.js.map +1 -0
  297. package/dist/ssr/content/code-highlight.js +36 -91
  298. package/dist/ssr/content/code-highlight.js.map +1 -1
  299. package/dist/ssr/content/data-table-columns.js +13 -1
  300. package/dist/ssr/content/data-table-columns.js.map +1 -1
  301. package/dist/ssr/content/index.js +3 -0
  302. package/dist/ssr/content/index.js.map +1 -1
  303. package/dist/ssr/content/progress-path-messages.js +22 -0
  304. package/dist/ssr/content/progress-path-messages.js.map +1 -0
  305. package/dist/ssr/feedback/dialog-call.js +26 -0
  306. package/dist/ssr/feedback/dialog-call.js.map +1 -0
  307. package/dist/ssr/feedback/dialog-core.js +126 -27
  308. package/dist/ssr/feedback/dialog-core.js.map +1 -1
  309. package/dist/ssr/feedback/dialog-foot.js +45 -0
  310. package/dist/ssr/feedback/dialog-foot.js.map +1 -0
  311. package/dist/ssr/feedback/prompt-confirm.js +67 -58
  312. package/dist/ssr/feedback/prompt-confirm.js.map +1 -1
  313. package/dist/ssr/feedback/prompt-form-loader.js +18 -0
  314. package/dist/ssr/feedback/prompt-form-loader.js.map +1 -0
  315. package/dist/ssr/feedback/prompt-form-state.js +77 -0
  316. package/dist/ssr/feedback/prompt-form-state.js.map +1 -0
  317. package/dist/ssr/feedback/prompt-form.js +299 -0
  318. package/dist/ssr/feedback/prompt-form.js.map +1 -0
  319. package/dist/ssr/feedback/prompt-header.js +54 -0
  320. package/dist/ssr/feedback/prompt-header.js.map +1 -0
  321. package/dist/ssr/feedback/prompt-messages.js +2 -0
  322. package/dist/ssr/feedback/prompt-messages.js.map +1 -1
  323. package/dist/ssr/feedback/prompt-sheet-view.js +5 -4
  324. package/dist/ssr/feedback/prompt-sheet-view.js.map +1 -1
  325. package/dist/ssr/feedback/prompt-sheet.js +5 -3
  326. package/dist/ssr/feedback/prompt-sheet.js.map +1 -1
  327. package/dist/ssr/feedback/prompts.js +79 -409
  328. package/dist/ssr/feedback/prompts.js.map +1 -1
  329. package/dist/ssr/inputs/Combobox.js +17 -3
  330. package/dist/ssr/inputs/Combobox.js.map +1 -1
  331. package/dist/ssr/inputs/DatePicker.js +101 -265
  332. package/dist/ssr/inputs/DatePicker.js.map +1 -1
  333. package/dist/ssr/inputs/FileInputs.js +1 -1
  334. package/dist/ssr/inputs/FileInputs.js.map +1 -1
  335. package/dist/ssr/inputs/NumberInput.js +114 -44
  336. package/dist/ssr/inputs/NumberInput.js.map +1 -1
  337. package/dist/ssr/inputs/PeriodPicker.js +13 -5
  338. package/dist/ssr/inputs/PeriodPicker.js.map +1 -1
  339. package/dist/ssr/inputs/QrScanner.js +30 -3
  340. package/dist/ssr/inputs/QrScanner.js.map +1 -1
  341. package/dist/ssr/inputs/TextInput.js +3 -3
  342. package/dist/ssr/inputs/TextInput.js.map +1 -1
  343. package/dist/ssr/inputs/choice.js +2 -0
  344. package/dist/ssr/inputs/choice.js.map +1 -1
  345. package/dist/ssr/inputs/date-picker-panel.js +233 -0
  346. package/dist/ssr/inputs/date-picker-panel.js.map +1 -0
  347. package/dist/ssr/inputs/date-sheet.js +4 -3
  348. package/dist/ssr/inputs/date-sheet.js.map +1 -1
  349. package/dist/ssr/inputs/field-suggestion.js +18 -11
  350. package/dist/ssr/inputs/field-suggestion.js.map +1 -1
  351. package/dist/ssr/inputs/image-crop.js +1 -1
  352. package/dist/ssr/inputs/image-crop.js.map +1 -1
  353. package/dist/ssr/inputs/image-tools.js +4 -0
  354. package/dist/ssr/inputs/image-tools.js.map +1 -0
  355. package/dist/ssr/inputs/input-messages.js +8 -2
  356. package/dist/ssr/inputs/input-messages.js.map +1 -1
  357. package/dist/ssr/internal/field.js +2 -2
  358. package/dist/ssr/internal/field.js.map +1 -1
  359. package/dist/ssr/internal/renders-something.js +3 -0
  360. package/dist/ssr/internal/renders-something.js.map +1 -0
  361. package/dist/ssr/intl/messages.js +1 -1
  362. package/dist/ssr/intl/messages.js.map +1 -1
  363. package/dist/ssr/layout/AppWorkspace.js +17 -9
  364. package/dist/ssr/layout/AppWorkspace.js.map +1 -1
  365. package/dist/ssr/layout/AppWorkspaceSidebarItemStatus.js +37 -22
  366. package/dist/ssr/layout/AppWorkspaceSidebarItemStatus.js.map +1 -1
  367. package/dist/ssr/layout/Breadcrumbs.js +140 -26
  368. package/dist/ssr/layout/Breadcrumbs.js.map +1 -1
  369. package/dist/ssr/layout/DetailPanel.js +70 -68
  370. package/dist/ssr/layout/DetailPanel.js.map +1 -1
  371. package/dist/ssr/layout/FloatingPill.js +16 -0
  372. package/dist/ssr/layout/FloatingPill.js.map +1 -0
  373. package/dist/ssr/layout/Navigation.js +1 -1
  374. package/dist/ssr/layout/Navigation.js.map +1 -1
  375. package/dist/ssr/layout/PanelDialog.js +82 -8
  376. package/dist/ssr/layout/PanelDialog.js.map +1 -1
  377. package/dist/ssr/layout/StatusRow.js +93 -0
  378. package/dist/ssr/layout/StatusRow.js.map +1 -0
  379. package/dist/ssr/layout/app-workspace-controller.js +12 -5
  380. package/dist/ssr/layout/app-workspace-controller.js.map +1 -1
  381. package/dist/ssr/layout/app-workspace-state.js +2 -2
  382. package/dist/ssr/layout/app-workspace-state.js.map +1 -1
  383. package/dist/ssr/layout/index.js +2 -0
  384. package/dist/ssr/layout/index.js.map +1 -1
  385. package/dist/ssr/layout/navigation-model.js.map +1 -1
  386. package/dist/ssr/layout/panel-dialog-error.js +28 -0
  387. package/dist/ssr/layout/panel-dialog-error.js.map +1 -0
  388. package/dist/ssr/layout/panel-sheet-handle.js +66 -0
  389. package/dist/ssr/layout/panel-sheet-handle.js.map +1 -0
  390. package/dist/ssr/layout/workspace-messages.js +12 -2
  391. package/dist/ssr/layout/workspace-messages.js.map +1 -1
  392. package/dist/ssr/layout-check.js +232 -0
  393. package/dist/ssr/layout-check.js.map +1 -0
  394. package/dist/ssr/run-log.js +3 -0
  395. package/dist/ssr/run-log.js.map +1 -0
  396. package/dist/ssr/surfaces/Area.js +147 -0
  397. package/dist/ssr/surfaces/Area.js.map +1 -0
  398. package/dist/ssr/surfaces/FactGroup.js +106 -0
  399. package/dist/ssr/surfaces/FactGroup.js.map +1 -0
  400. package/dist/ssr/surfaces/FieldGrid.js +22 -0
  401. package/dist/ssr/surfaces/FieldGrid.js.map +1 -0
  402. package/dist/ssr/surfaces/NoticeCard.js +7 -5
  403. package/dist/ssr/surfaces/NoticeCard.js.map +1 -1
  404. package/dist/ssr/surfaces/NoticeRow.js +74 -5
  405. package/dist/ssr/surfaces/NoticeRow.js.map +1 -1
  406. package/dist/ssr/surfaces/Placeholder.js +15 -4
  407. package/dist/ssr/surfaces/Placeholder.js.map +1 -1
  408. package/dist/ssr/surfaces/RowGroup.js +60 -0
  409. package/dist/ssr/surfaces/RowGroup.js.map +1 -0
  410. package/dist/ssr/surfaces/Section.js +7 -4
  411. package/dist/ssr/surfaces/Section.js.map +1 -1
  412. package/dist/ssr/surfaces/StatCell.js +8 -4
  413. package/dist/ssr/surfaces/StatCell.js.map +1 -1
  414. package/dist/ssr/surfaces/StatGrid.js +2 -0
  415. package/dist/ssr/surfaces/StatGrid.js.map +1 -1
  416. package/dist/ssr/surfaces/StatusBadge.js +5 -1
  417. package/dist/ssr/surfaces/StatusBadge.js.map +1 -1
  418. package/dist/ssr/surfaces/flat-block-messages.js +37 -0
  419. package/dist/ssr/surfaces/flat-block-messages.js.map +1 -0
  420. package/dist/ssr/surfaces/index.js +4 -0
  421. package/dist/ssr/surfaces/index.js.map +1 -1
  422. package/dist/ssr/widgets/DashboardFrame.js +20 -12
  423. package/dist/ssr/widgets/DashboardFrame.js.map +1 -1
  424. package/dist/styles.css +1 -1
  425. package/dist/types/actions/DragAndDrop.d.ts +17 -2
  426. package/dist/types/actions/DropOverlay.d.ts +46 -0
  427. package/dist/types/actions/Dropdown.d.ts +35 -1
  428. package/dist/types/actions/FilterChip.d.ts +2 -1
  429. package/dist/types/actions/SortableList.d.ts +36 -6
  430. package/dist/types/actions/ViewTabs.d.ts +3 -2
  431. package/dist/types/actions/drag-and-drop-keyboard.d.ts +4 -0
  432. package/dist/types/actions/drag-and-drop-messages.d.ts +8 -10
  433. package/dist/types/actions/drag-and-drop.d.ts +62 -4
  434. package/dist/types/actions/drop-overlay-pages.d.ts +22 -0
  435. package/dist/types/actions/drop-overlay-view.d.ts +12 -0
  436. package/dist/types/actions/index.d.ts +9 -5
  437. package/dist/types/actions/menu-sheet-messages.d.ts +11 -0
  438. package/dist/types/actions/menu-sheet.d.ts +3 -1
  439. package/dist/types/actions/menu-submenu-panel.d.ts +27 -0
  440. package/dist/types/actions/preload-when-idle.d.ts +5 -0
  441. package/dist/types/actions/sortable-board.d.ts +69 -0
  442. package/dist/types/actions/sortable-keyboard.d.ts +7 -0
  443. package/dist/types/actions/sortable-list-messages.d.ts +10 -3
  444. package/dist/types/actions/sortable-place.d.ts +16 -0
  445. package/dist/types/charts/core/svg-common.d.ts +7 -0
  446. package/dist/types/charts/description.d.ts +2 -0
  447. package/dist/types/chat/ChatDecision.d.ts +98 -111
  448. package/dist/types/chat/ChatDecisionField.d.ts +45 -0
  449. package/dist/types/chat/chat-messages.d.ts +0 -2
  450. package/dist/types/chat/index.d.ts +4 -20
  451. package/dist/types/chat/types.d.ts +24 -14
  452. package/dist/types/chat-decision-field.d.ts +5 -0
  453. package/dist/types/code-diff.d.ts +6 -0
  454. package/dist/types/content/ChartExplorer.d.ts +5 -0
  455. package/dist/types/content/CodeDiff.d.ts +68 -0
  456. package/dist/types/content/CodeDisplay.d.ts +2 -0
  457. package/dist/types/content/DataTable.d.ts +19 -0
  458. package/dist/types/content/FileName.d.ts +23 -0
  459. package/dist/types/content/Lightbox.d.ts +5 -0
  460. package/dist/types/content/ProgressPath.d.ts +12 -6
  461. package/dist/types/content/RunLog.d.ts +2 -0
  462. package/dist/types/content/TaskRow.d.ts +33 -0
  463. package/dist/types/content/code-diff-messages.d.ts +35 -0
  464. package/dist/types/content/code-highlight.d.ts +0 -12
  465. package/dist/types/content/index.d.ts +3 -0
  466. package/dist/types/content/progress-path-messages.d.ts +8 -0
  467. package/dist/types/feedback/dialog-call.d.ts +19 -0
  468. package/dist/types/feedback/dialog-core.d.ts +14 -0
  469. package/dist/types/feedback/dialog-foot.d.ts +9 -0
  470. package/dist/types/feedback/prompt-confirm.d.ts +20 -13
  471. package/dist/types/feedback/prompt-form-loader.d.ts +10 -0
  472. package/dist/types/feedback/prompt-form-state.d.ts +8 -0
  473. package/dist/types/feedback/prompt-form.d.ts +13 -0
  474. package/dist/types/feedback/prompt-header.d.ts +15 -0
  475. package/dist/types/feedback/prompt-messages.d.ts +1 -0
  476. package/dist/types/feedback/prompt-sheet-view.d.ts +6 -3
  477. package/dist/types/feedback/prompt-sheet.d.ts +4 -2
  478. package/dist/types/feedback/prompts.d.ts +5 -11
  479. package/dist/types/inputs/Combobox.d.ts +2 -0
  480. package/dist/types/inputs/DatePicker.d.ts +3 -21
  481. package/dist/types/inputs/TextInput.d.ts +2 -0
  482. package/dist/types/inputs/choice.d.ts +3 -2
  483. package/dist/types/inputs/date-picker-panel.d.ts +29 -0
  484. package/dist/types/inputs/date-sheet.d.ts +4 -2
  485. package/dist/types/inputs/field-suggestion.d.ts +4 -1
  486. package/dist/types/inputs/image-tools.d.ts +1 -0
  487. package/dist/types/inputs/input-messages.d.ts +4 -1
  488. package/dist/types/internal/renders-something.d.ts +2 -0
  489. package/dist/types/layout/AppWorkspace.d.ts +10 -2
  490. package/dist/types/layout/AppWorkspaceSidebarItemStatus.d.ts +5 -0
  491. package/dist/types/layout/Breadcrumbs.d.ts +10 -5
  492. package/dist/types/layout/FloatingPill.d.ts +20 -0
  493. package/dist/types/layout/PanelDialog.d.ts +19 -0
  494. package/dist/types/layout/StatusRow.d.ts +54 -0
  495. package/dist/types/layout/app-workspace-state.d.ts +2 -2
  496. package/dist/types/layout/index.d.ts +5 -1
  497. package/dist/types/layout/navigation-model.d.ts +2 -0
  498. package/dist/types/layout/panel-dialog-error.d.ts +9 -0
  499. package/dist/types/layout/panel-sheet-handle.d.ts +8 -0
  500. package/dist/types/layout/workspace-messages.d.ts +5 -0
  501. package/dist/types/layout-check.d.ts +52 -0
  502. package/dist/types/run-log.d.ts +2 -0
  503. package/dist/types/surfaces/Area.d.ts +38 -0
  504. package/dist/types/surfaces/FactGroup.d.ts +33 -0
  505. package/dist/types/surfaces/FieldGrid.d.ts +14 -0
  506. package/dist/types/surfaces/NoticeCard.d.ts +6 -4
  507. package/dist/types/surfaces/NoticeRow.d.ts +19 -3
  508. package/dist/types/surfaces/Placeholder.d.ts +7 -0
  509. package/dist/types/surfaces/RowGroup.d.ts +20 -0
  510. package/dist/types/surfaces/Section.d.ts +8 -2
  511. package/dist/types/surfaces/StatCell.d.ts +2 -0
  512. package/dist/types/surfaces/StatGrid.d.ts +2 -1
  513. package/dist/types/surfaces/StatusBadge.d.ts +2 -1
  514. package/dist/types/surfaces/flat-block-messages.d.ts +16 -0
  515. package/dist/types/surfaces/index.d.ts +9 -1
  516. package/dist/types/widgets/DashboardFrame.d.ts +5 -0
  517. package/package.json +27 -4
@@ -1,21 +1,76 @@
1
1
  import { type JSX } from "solid-js";
2
- import type { ChatDecisionAnswer, ChatDecisionReason, ChatDecisionState, ChatOutcomeLine, ChatPreviewHeaderRow } from "./types";
2
+ import type { ChatDecisionAnswer, ChatDecisionFact, ChatDecisionReason, ChatDecisionState, ChatOutcomeLine, ChatOutcomeTone } from "./types";
3
3
  export type ChatDecisionProps = {
4
- /** `open` shows the question; every other state shows `outcome` in its place. */
4
+ /** `open` shows the question; every other state shows the head and `outcome` in its place. */
5
5
  state: ChatDecisionState;
6
+ /**
7
+ * `approve` asks for the answer. `edit` is the same card while the person still changes its details: a raised
8
+ * island instead of the tinted ground, the details editable, and `confirm` moves on to `approve`. Both have the same
9
+ * size, so switching moves nothing.
10
+ */
11
+ mode?: "approve" | "edit";
12
+ /** What the card is, such as "Approval" with `ti ti-shield-check`, or "Draft" with `ti ti-pencil`. */
13
+ kind: {
14
+ label: string;
15
+ icon: string;
16
+ };
17
+ /** Who asks: the app's name and icon, its icon tile in `accent`. Without it the head names only what the card is. */
18
+ source?: {
19
+ name: string;
20
+ icon: string;
21
+ accent?: string;
22
+ };
23
+ /**
24
+ * The state as a word with its icon at the end of the head. A closed question always has one; an open one has one when
25
+ * the question itself has a state, such as a version that waits for an administrator.
26
+ */
27
+ status?: {
28
+ label: string;
29
+ icon: string;
30
+ tone: ChatOutcomeTone;
31
+ };
6
32
  /** The question as one sentence, usually with `ReferenceChip`s. */
7
33
  sentence: JSX.Element;
8
- /** Why this question is asked, in the platform's words. */
9
- reason: ChatDecisionReason;
10
- /** The thing itself, usually `Chat.Preview`. */
11
- preview?: JSX.Element;
12
- /** The main answer, named by verb and target ("Send to Lea"). `danger` for deletions, `primary` for requests. */
13
- confirm: ChatDecisionAnswer & {
14
- variant?: "ai" | "primary" | "danger";
34
+ /** Why this question is asked, in the platform's words. A question with an `entry` may say it there instead. */
35
+ reason?: ChatDecisionReason;
36
+ /**
37
+ * The thing itself on the surface colour, under its own label such as "Details from Mail". `note` is one quiet line
38
+ * under it that holds for every such question, such as what Cloud checked.
39
+ */
40
+ /**
41
+ * The thing itself under its label, such as "Details from Code"; `context` is a quiet addition after it, such as
42
+ * "compared with version 4", and `note` one quiet line under the details.
43
+ */
44
+ details?: {
45
+ label: string;
46
+ context?: string;
47
+ content: JSX.Element;
48
+ note?: {
49
+ text: string;
50
+ icon?: string;
51
+ };
15
52
  };
53
+ /** Lines after the details, each with its icon, such as what happens now and what holds until then. */
54
+ notes?: readonly ChatDecisionReason[];
55
+ /** Quiet facts at the start of the answer row, such as when the question expires. */
56
+ meta?: readonly ChatDecisionFact[];
57
+ /** The main answer, named by verb and target ("Send to Lea"); the only filled button. */
58
+ confirm?: ChatDecisionAnswer;
16
59
  /** The other answer ("Don't send"). */
17
- decline: ChatDecisionAnswer;
18
- /** An optional quiet third answer after the buttons, such as "Yes, and don't ask again in this chat". */
60
+ decline?: ChatDecisionAnswer;
61
+ /** A quiet text answer before the others, such as "Change" back to `edit`. It turns off with `waiting` only. */
62
+ back?: ChatDecisionAnswer;
63
+ /** A quiet text link before the answers, such as "See everything" on the thing's own page. */
64
+ link?: {
65
+ label: string;
66
+ href: string;
67
+ };
68
+ /** Further answers on the surface colour before `decline`, such as "Withdraw". They turn off with `waiting` only. */
69
+ more?: readonly ChatDecisionAnswer[];
70
+ /**
71
+ * A checkbox in the answer row, such as "Don't ask again here". Checked, `confirm` calls this answer's `onSelect`
72
+ * instead of its own.
73
+ */
19
74
  remember?: ChatDecisionAnswer;
20
75
  /** Turns `confirm` and `remember` off; this reason replaces `reason` in the same place. */
21
76
  unavailable?: ChatDecisionReason;
@@ -26,14 +81,42 @@ export type ChatDecisionProps = {
26
81
  waiting?: ChatDecisionReason;
27
82
  /** The result line shown in every state but `open`, usually `Chat.Outcome`. */
28
83
  outcome?: JSX.Element;
84
+ /**
85
+ * Takes the answer row's place, such as `ChatDecisionField` for a question that asks for one value. `meta`, `back`,
86
+ * `more`, `link`, `remember`, `confirm` and `decline` of the question are then not shown; the entry brings its own.
87
+ */
88
+ entry?: JSX.Element;
29
89
  /** Receives a rejected promise from an answer's `onSelect`. */
30
90
  onAnswerError?: (error: unknown) => void;
91
+ /**
92
+ * Lines the facts keep where they wrap under the answers, for a question whose facts change while it stays open, such
93
+ * as work that waits, runs and stops: the question then keeps its height between those states.
94
+ */
95
+ factLines?: 1 | 2;
31
96
  anchorId?: string | number;
32
97
  class?: string;
33
98
  };
34
99
  /**
35
- * A question the person answers in the conversation: one sentence, why it is asked, the thing itself, and two answers.
36
- * An answer collapses it at once to its outcome line, which takes the focus and is announced.
100
+ * What an outcome inside a question needs from it: whether it was just answered here, and a link press inside it. An
101
+ * `entry` also answers through it, reads which answers are off, and turns the question into the island.
102
+ */
103
+ export declare const DecisionScope: import("solid-js").Context<{
104
+ answered: () => boolean;
105
+ pressed: () => void;
106
+ released: () => void;
107
+ /** Answers like the question's own buttons, under its own `key`, through the same guard: one answer at a time. */
108
+ answer: (key: string, choice: ChatDecisionAnswer, enabled: boolean) => void;
109
+ /** The key of the answer whose promise still runs; until it settles every answer of the question waits. */
110
+ pending: () => string | undefined;
111
+ /** `all` while `waiting`, `confirm` while `unavailable`. */
112
+ off: () => "all" | "confirm" | undefined;
113
+ /** Turns the question into the raised island of `edit` for good. */
114
+ edit: () => void;
115
+ } | undefined>;
116
+ /**
117
+ * A question the person answers: what it is and who asks, one sentence, why it is asked, the thing itself, and the
118
+ * answers. It has one look in every place: a tinted ground in the AI colour, its own AI primary colour, no rules. An
119
+ * answer collapses it at once to its head and one outcome line, which takes the focus and is announced.
37
120
  */
38
121
  export declare function ChatDecision(props: ChatDecisionProps): JSX.Element;
39
122
  export type ChatOutcomeProps = {
@@ -49,106 +132,10 @@ export type ChatOutcomeProps = {
49
132
  anchorId?: string | number;
50
133
  class?: string;
51
134
  };
135
+ /** The visible words of a line, without what screen readers do not hear. */
136
+ export declare const spokenText: (element: Element) => string;
52
137
  /**
53
138
  * One line that says what happened: running, done, off, waiting, warning, or error. Changes are announced through a
54
139
  * polite live region; the line itself can take the focus.
55
140
  */
56
141
  export declare function ChatOutcome(props: ChatOutcomeProps): JSX.Element;
57
- export type ChatPreviewProps = {
58
- children: JSX.Element;
59
- class?: string;
60
- };
61
- /** The thing a question is about, as calm text on the sentence's edge: no surface, no column. */
62
- declare function ChatPreviewRoot(props: ChatPreviewProps): JSX.Element;
63
- export type ChatPreviewHeaderProps = {
64
- /** One row per field, such as From, To, Cc, and Bcc; the label stands right before its value. */
65
- rows: readonly ChatPreviewHeaderRow[];
66
- /** A last line, such as when the message goes out. */
67
- note?: JSX.Element;
68
- };
69
- declare function ChatPreviewHeader(props: ChatPreviewHeaderProps): JSX.Element;
70
- export type ChatPreviewTitleProps = {
71
- children: JSX.Element;
72
- meta?: JSX.Element;
73
- };
74
- /** The thing's name in the text's own face, with optional quiet facts after it. */
75
- declare function ChatPreviewTitle(props: ChatPreviewTitleProps): JSX.Element;
76
- /** A rule or instruction as one sentence, such as what a routine does; chips and marks may stand inside. */
77
- declare function ChatPreviewSentence(props: {
78
- children: JSX.Element;
79
- }): JSX.Element;
80
- export type ChatPreviewExcerptProps = {
81
- children: JSX.Element;
82
- /** Shows the whole text in place instead of the first lines, such as after `Chat.Preview.ShowAll`. */
83
- expanded?: boolean;
84
- id?: string;
85
- };
86
- /** The first lines of a longer text. It keeps its line breaks, shows about three lines, and fades out. */
87
- declare function ChatPreviewExcerpt(props: ChatPreviewExcerptProps): JSX.Element;
88
- export type ChatPreviewShowAllProps = {
89
- /** The id of the `Chat.Preview.Excerpt` this button opens. */
90
- controls: string;
91
- onShow: () => void;
92
- children: JSX.Element;
93
- };
94
- /**
95
- * Shows the rest of an excerpt in place, for a text with no page of its own to open. It looks like `ReadMore`; the
96
- * caller removes it once the text is shown, and the focus moves to the text, so reading goes on where it was.
97
- */
98
- declare function ChatPreviewShowAll(props: ChatPreviewShowAllProps): JSX.Element;
99
- export type ChatPreviewReadMoreProps = {
100
- href: string;
101
- children: JSX.Element;
102
- /** Tooltip, such as "Opens exactly this version of the draft". */
103
- title?: string;
104
- };
105
- /** Opens the whole thing at exactly the version the question shows. */
106
- declare function ChatPreviewReadMore(props: ChatPreviewReadMoreProps): JSX.Element;
107
- /** A list of lines with a name, such as "What the routine may do". */
108
- declare function ChatPreviewLines(props: {
109
- label?: string;
110
- children: JSX.Element;
111
- }): JSX.Element;
112
- export type ChatPreviewLineProps = {
113
- /** Icon class; the text after it starts 1.5rem from the edge. */
114
- icon: string;
115
- /** Icon colour, such as the PDF colour of an attachment. */
116
- accent?: string;
117
- /** `muted` for limits and notes, `warning` for an application's own warning. */
118
- tone?: "default" | "muted" | "warning";
119
- /** Marks the whole line as new or removed. */
120
- mark?: "added" | "removed";
121
- /** Quiet facts after the text, such as a file size. */
122
- meta?: JSX.Element;
123
- children: JSX.Element;
124
- };
125
- /** One line led by an icon: a consequence, a right, an attachment, or a warning. */
126
- declare function ChatPreviewLine(props: ChatPreviewLineProps): JSX.Element;
127
- export type ChatPreviewPeopleProps = {
128
- /** The first few people; their avatars overlap at the start of the line. */
129
- people: readonly {
130
- name: string;
131
- src?: string | null;
132
- }[];
133
- /** The names as text, such as "Lea Berg, Tom Weber and 3 others". */
134
- children: JSX.Element;
135
- };
136
- declare function ChatPreviewPeople(props: ChatPreviewPeopleProps): JSX.Element;
137
- export declare const ChatPreview: typeof ChatPreviewRoot & {
138
- Header: typeof ChatPreviewHeader;
139
- Title: typeof ChatPreviewTitle;
140
- Sentence: typeof ChatPreviewSentence;
141
- Excerpt: typeof ChatPreviewExcerpt;
142
- ReadMore: typeof ChatPreviewReadMore;
143
- ShowAll: typeof ChatPreviewShowAll;
144
- Lines: typeof ChatPreviewLines;
145
- Line: typeof ChatPreviewLine;
146
- People: typeof ChatPreviewPeople;
147
- };
148
- export type ChatMarkProps = {
149
- change: "added" | "removed";
150
- children: JSX.Element;
151
- };
152
- /** Marks new or removed words; screen readers hear "new:" or "removed:" first. */
153
- export declare function ChatMark(props: ChatMarkProps): JSX.Element;
154
- export {};
@@ -0,0 +1,45 @@
1
+ import { type JSX } from "solid-js";
2
+ import type { ChatDecisionAnswer, ChatDecisionReason } from "./types";
3
+ export type ChatDecisionFieldProps = {
4
+ /** Facts with their icons on the surface colour above the field, such as where the value goes; no label needed. */
5
+ facts?: readonly ChatDecisionReason[];
6
+ /** The field's name for screen readers, such as "Value for Parcel_API"; the sentence already names it visibly. */
7
+ label: string;
8
+ /** The value stays with the caller; the field never keeps, logs, or writes it into an attribute. */
9
+ value: string;
10
+ onValueChange: (value: string) => void;
11
+ placeholder?: string;
12
+ /** The eye's fixed name, such as "Show value"; `aria-pressed` tells whether the value shows. */
13
+ revealLabel?: string;
14
+ /**
15
+ * Every line one flow can show under the field, such as where the value goes, an error, or "Open in another window".
16
+ * All of them share one cell, so the question keeps its height between them. A change is announced once.
17
+ */
18
+ lines: Readonly<Record<string, ChatDecisionReason>>;
19
+ /** The key of the visible line. */
20
+ current: string;
21
+ /** The value cannot be taken as it is: a red edge, and the field takes the focus back from the answers. */
22
+ invalid?: boolean;
23
+ /**
24
+ * Locks the field, the eye and both answers, such as while another window holds the question. While an answer's
25
+ * promise runs, the question locks them by itself.
26
+ */
27
+ disabled?: boolean;
28
+ /** Receives the input, for a host that moves the focus into the field, such as after a jump to the question. */
29
+ inputRef?: (input: HTMLInputElement) => void;
30
+ /**
31
+ * The main answer, filled, beside the field, such as "Save securely". A promise it returns locks the field, the eye
32
+ * and both answers until it settles and keeps the question answered here, so an outcome set before it settles takes
33
+ * the focus. A question still open afterwards gives the focus back to the field.
34
+ */
35
+ confirm: ChatDecisionAnswer;
36
+ /** The quiet answer in the AI colour under it, such as "Decline". */
37
+ decline?: ChatDecisionAnswer;
38
+ };
39
+ /**
40
+ * The answer row of a `Chat.Decision` that asks for one value, passed as its `entry`: a password field with an eye, one
41
+ * line under it, the filled answer beside the field, and a quiet one beside the line. Every line and every label shares
42
+ * one cell, so no state moves anything. Typing, or the focus in the field, turns the question into the raised island
43
+ * for good.
44
+ */
45
+ export declare function ChatDecisionField(props: ChatDecisionFieldProps): JSX.Element;
@@ -1,8 +1,6 @@
1
1
  export declare const chatMessages: import("@k2b/stdlib").Catalog<{
2
2
  commandFailed: string;
3
3
  commandDraftChanged: string;
4
- markAdded: string;
5
- markRemoved: string;
6
4
  commandOpening: string;
7
5
  commandSelected: string;
8
6
  attachments: string;
@@ -4,19 +4,20 @@ import { ChatTaskList, ChatTasks } from "./ChatTasks";
4
4
  export type { ChatTask, ChatTaskListProps, ChatTasksProps } from "./ChatTasks";
5
5
  import { ChatActivityWords } from "./ChatActivityWords";
6
6
  import { ChatComposer } from "./ChatComposer";
7
- import { ChatDecision, ChatMark, ChatOutcome } from "./ChatDecision";
7
+ import { ChatDecision, ChatOutcome } from "./ChatDecision";
8
8
  import { ChatActivity, ChatActivityToggle, ChatContextUsage, ChatMessage } from "./ChatPrimitives";
9
9
  import { ChatRoot } from "./ChatRoot";
10
10
  import { ChatTimeline } from "./ChatTimeline";
11
11
  export type { ChatActivityWordsProps } from "./ChatActivityWords";
12
12
  export type { ChatCommand, ChatCommandContext, ChatCommandDraft, ChatCommandOpenResult, ChatCommandResult, ChatCommandScope, ChatCommandSearch, ChatCommandSection, ChatComposerPeople, ChatComposerProps, ChatComposerQuote, ChatComposerReply, ChatComposerSuggestion, ChatFileSelection, ChatPasteHandler, ChatPersonSuggestion, } from "./ChatComposer";
13
13
  export { ChatComposerQuotes } from "./ChatComposerQuotes";
14
- export type { ChatDecisionProps, ChatMarkProps, ChatOutcomeProps, ChatPreviewExcerptProps, ChatPreviewHeaderProps, ChatPreviewLineProps, ChatPreviewPeopleProps, ChatPreviewProps, ChatPreviewReadMoreProps, ChatPreviewShowAllProps, ChatPreviewTitleProps, } from "./ChatDecision";
14
+ export type { ChatDecisionProps, ChatOutcomeProps } from "./ChatDecision";
15
+ export { ChatDecisionField, type ChatDecisionFieldProps } from "./ChatDecisionField";
15
16
  export type { ChatActivityMetaTone, ChatActivityProps, ChatActivityToggleProps, ChatContextUsageProps, ChatMessageProps, } from "./ChatPrimitives";
16
17
  export { formatChatTokens } from "./ChatPrimitives";
17
18
  export type { ChatRootProps } from "./ChatRoot";
18
19
  export type { ChatActivityItem, ChatMessageItem, ChatTimelineItem, ChatTimelineProps } from "./ChatTimeline";
19
- export type { ChatAction, ChatActivityTone, ChatAttachment, ChatComposerEmoji, ChatComposerMicrophone, ChatComposerState, ChatContextUsageData, ChatDecisionAnswer, ChatDecisionReason, ChatDecisionState, ChatDictationState, ChatMention, ChatMessageStatus, ChatModelOption, ChatOutcomeLine, ChatOutcomeTone, ChatPreviewHeaderRow, ChatPreviewPerson, ChatRole, ChatSubmitInput, ChatSubmitIntent, ChatUsage, ChatUsageSection, } from "./types";
20
+ export type { ChatAction, ChatActivityTone, ChatAttachment, ChatComposerEmoji, ChatComposerMicrophone, ChatComposerState, ChatContextUsageData, ChatDecisionAnswer, ChatDecisionFact, ChatDecisionReason, ChatDecisionState, ChatDictationState, ChatMention, ChatMessageStatus, ChatModelOption, ChatOutcomeLine, ChatOutcomeTone, ChatRole, ChatSubmitInput, ChatSubmitIntent, ChatUsage, ChatUsageSection, } from "./types";
20
21
  /**
21
22
  * Portable, controlled chat surface. Applications own storage, streaming,
22
23
  * authorization, rich message rendering, and domain actions.
@@ -36,23 +37,6 @@ export declare const Chat: typeof ChatRoot & {
36
37
  ContextPanel: typeof ChatContextPanel;
37
38
  Decision: typeof ChatDecision;
38
39
  Outcome: typeof ChatOutcome;
39
- Preview: ((props: import("./ChatDecision").ChatPreviewProps) => import("solid-js").JSX.Element) & {
40
- Header: (props: import("./ChatDecision").ChatPreviewHeaderProps) => import("solid-js").JSX.Element;
41
- Title: (props: import("./ChatDecision").ChatPreviewTitleProps) => import("solid-js").JSX.Element;
42
- Sentence: (props: {
43
- children: import("solid-js").JSX.Element;
44
- }) => import("solid-js").JSX.Element;
45
- Excerpt: (props: import("./ChatDecision").ChatPreviewExcerptProps) => import("solid-js").JSX.Element;
46
- ReadMore: (props: import("./ChatDecision").ChatPreviewReadMoreProps) => import("solid-js").JSX.Element;
47
- ShowAll: (props: import("./ChatDecision").ChatPreviewShowAllProps) => import("solid-js").JSX.Element;
48
- Lines: (props: {
49
- label?: string;
50
- children: import("solid-js").JSX.Element;
51
- }) => import("solid-js").JSX.Element;
52
- Line: (props: import("./ChatDecision").ChatPreviewLineProps) => import("solid-js").JSX.Element;
53
- People: (props: import("./ChatDecision").ChatPreviewPeopleProps) => import("solid-js").JSX.Element;
54
- };
55
- Mark: typeof ChatMark;
56
40
  };
57
41
  export { matchesChatCommand } from "./command-search";
58
42
  export { reconcileChatMentions } from "./composer-document";
@@ -11,8 +11,32 @@ export type ChatDecisionAnswer = {
11
11
  label: string;
12
12
  /** Icon class, for example `ti ti-send`. */
13
13
  icon?: string;
14
+ /**
15
+ * The answer was given and Cloud works on it for an unknown time, such as switching something on while the question
16
+ * stays in place. A shimmer runs over the filled button and it takes no second press. Only `confirm` reads it.
17
+ */
18
+ busy?: boolean;
19
+ /**
20
+ * The other labels this answer can take while its question stays open, such as "Saving …" and "Try again" beside
21
+ * "Save". All of them share one cell, so the button keeps the width of the widest and a switch moves nothing. Read
22
+ * by the answers of `ChatDecisionField`.
23
+ */
24
+ alternates?: readonly {
25
+ label: string;
26
+ icon?: string;
27
+ }[];
28
+ /** A returned promise holds every answer of the question until it settles; then they work again while it stays open. */
14
29
  onSelect: () => void | Promise<void>;
15
30
  };
31
+ /**
32
+ * A quiet fact in the answer row, such as when the question expires; `success` and `warning` colour it as a result,
33
+ * `ai` as work Gustav does by himself, such as a revision that waits or runs.
34
+ */
35
+ export type ChatDecisionFact = {
36
+ text: string;
37
+ icon: string;
38
+ tone?: "neutral" | "success" | "warning" | "danger" | "ai";
39
+ };
16
40
  /** Why a question is asked, or why its main answer is off. */
17
41
  export type ChatDecisionReason = {
18
42
  text: JSX.Element;
@@ -41,20 +65,6 @@ export type ChatOutcomeLine = {
41
65
  /** Small buttons under the line. Shown while this line is current; otherwise hidden but still reserving their row. */
42
66
  actions?: JSX.Element;
43
67
  };
44
- /** A person in a preview header: the name in the text colour, then the address the message really uses. */
45
- export type ChatPreviewPerson = {
46
- name?: string;
47
- address?: string;
48
- };
49
- /** One header row, such as "To Lea Berg lea.berg@example.com". */
50
- export type ChatPreviewHeaderRow = {
51
- label: string;
52
- people?: readonly ChatPreviewPerson[];
53
- /** Further content after the people, such as "and 2 more". */
54
- value?: JSX.Element;
55
- /** Draws the label stronger, for recipients others cannot see. */
56
- emphasis?: boolean;
57
- };
58
68
  type ChatActionBase = {
59
69
  id: string;
60
70
  label: string;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * A separate entry for code that loads a question with a field on demand. Imported from here, it stays out of an
3
+ * island's first JavaScript, because the main entry no longer has to keep it.
4
+ */
5
+ export { ChatDecisionField, type ChatDecisionFieldProps } from "./chat/ChatDecisionField";
@@ -0,0 +1,6 @@
1
+ /**
2
+ * A separate entry for `CodeDiff`: only the pages that show code load it. Kept out of the root entry, because a bundle
3
+ * that splits chunks places every module the root re-exports into the chunks its islands load first.
4
+ */
5
+ export type { CodeDiffFile, CodeDiffLine, CodeDiffLineAction, CodeDiffLineKind, CodeDiffLocation, CodeDiffProps, } from "./content/CodeDiff";
6
+ export { CodeDiff } from "./content/CodeDiff";
@@ -44,6 +44,11 @@ export type ChartExplorerProps<T extends ChartExplorerRow> = {
44
44
  description?: JSX.Element;
45
45
  /** Owner actions in the header before Copy data, such as showing the query behind the chart. */
46
46
  actions?: JSX.Element;
47
+ /**
48
+ * `owner`: the owner's `actions` are the header's only controls; the explorer leaves out its own Copy data and view
49
+ * switcher, as a chart in a chat answer whose copy, large view and data come from its frame.
50
+ */
51
+ headerControls?: "explorer" | "owner";
47
52
  /**
48
53
  * Rows and the prepared chart. Without `chart`, `children` draws the chart view, such as a live `<Chart>`; the
49
54
  * table and Copy data still come from the typed rows.
@@ -0,0 +1,68 @@
1
+ import { type JSX } from "solid-js";
2
+ import { type CodeDisplayLanguage } from "./code-highlight";
3
+ /** `same` is in both versions, `add` only in the new one, `del` only in the old one. */
4
+ export type CodeDiffLineKind = "same" | "add" | "del";
5
+ export type CodeDiffLine = {
6
+ kind: CodeDiffLineKind;
7
+ text: string;
8
+ };
9
+ export type CodeDiffFile = {
10
+ /** Shown on the file tab and used to address the file. */
11
+ path: string;
12
+ /** The whole file in order. Old and new line numbers are counted from these rows. */
13
+ lines: readonly CodeDiffLine[];
14
+ /** Highlighting mode; defaults from the path extension, else plain text. */
15
+ language?: CodeDisplayLanguage;
16
+ };
17
+ /** One line of one file. `side: "old"` addresses a removed line by its old number. */
18
+ export type CodeDiffLocation = {
19
+ path: string;
20
+ line: number;
21
+ side?: "new" | "old";
22
+ };
23
+ /**
24
+ * One action on every line of the new version, such as "Comment on line 3". It sits in a fixed place between the line
25
+ * number and the code; removed lines have none. Callbacks get the line by its new number, with `side: "new"`.
26
+ */
27
+ export type CodeDiffLineAction = {
28
+ /** Accessible name and tooltip of the action, such as "Comment on line 3". */
29
+ label: (location: CodeDiffLocation) => string;
30
+ onSelect: (location: CodeDiffLocation) => void;
31
+ };
32
+ export type CodeDiffProps = {
33
+ files: readonly CodeDiffFile[];
34
+ /** Shows and marks one line: switches to its file, opens the folded region around it, and scrolls it into view. */
35
+ mark?: CodeDiffLocation;
36
+ /** Controlled file path. Without it the component keeps the choice itself, starting at `mark` or the first file. */
37
+ file?: string;
38
+ onFileChange?: (path: string) => void;
39
+ /** Data the application is still fetching, or failed to fetch. */
40
+ status?: "loading" | "error";
41
+ /** What the failure means for the person, below the error title. */
42
+ errorDescription?: JSX.Element;
43
+ onRetry?: () => void;
44
+ /** Accessible name of the code region. */
45
+ label?: string;
46
+ /**
47
+ * Controls at the start of the file row, such as a version picker. They stay in place, with the file names, while
48
+ * the code loads or fails.
49
+ */
50
+ toolbarStart?: JSX.Element;
51
+ /** An action on each line of the new version. The code is then one tab stop: arrow keys, Home and End move between lines. */
52
+ lineAction?: CodeDiffLineAction;
53
+ /**
54
+ * Lines of the new version with content in their place below the line, such as a comment thread. A listed line is
55
+ * marked and tinted, never folds away, and its page renders. The list is reactive; the content is not rebuilt while
56
+ * its line stays listed.
57
+ */
58
+ slotLines?: readonly CodeDiffLocation[];
59
+ /**
60
+ * The content below a listed line, at the width of the view. Called once while the line is listed, outside any
61
+ * tracking scope, so the content keeps its own state; it reads its own data reactively.
62
+ */
63
+ lineSlot?: (location: CodeDiffLocation) => JSX.Element;
64
+ class?: string;
65
+ };
66
+ /** Read-only line diff of one or more files. The application computes the rows; this component only displays them. */
67
+ export declare function CodeDiff(props: CodeDiffProps): JSX.Element;
68
+ export default CodeDiff;
@@ -6,6 +6,8 @@ export type CodeDisplayProps = {
6
6
  language?: CodeDisplayLanguage;
7
7
  copy?: boolean;
8
8
  lineNumbers?: boolean;
9
+ /** Number of the first shown line, for an excerpt of a longer file, such as its end while it is still written. */
10
+ startLine?: number;
9
11
  class?: string;
10
12
  };
11
13
  export default function CodeDisplay(props: CodeDisplayProps): import("solid-js").JSX.Element;
@@ -46,6 +46,18 @@ export type DataTableColumn<T> = {
46
46
  * 2 below 420 px. Hidden values stay one tap away in the row's details.
47
47
  */
48
48
  priority?: 1 | 2 | 3;
49
+ /**
50
+ * The name column: at least 200 px and at most 560 px wide, so a value stays beside its name on a wide screen.
51
+ * When the table gets narrow, columns of a lower `priority` leave before it shrinks.
52
+ */
53
+ primary?: boolean;
54
+ /**
55
+ * Where the column's value goes when the table is a list. With any column given a role, a table narrower than
56
+ * 480 px shows each row as one entry of two lines: `title` on the first line, `meta` on the second in quiet text,
57
+ * and `end` at the right of both lines, such as a status or an amount. Give one column each role; columns without
58
+ * a role leave, so keep what matters in those three.
59
+ */
60
+ list?: "title" | "meta" | "end";
49
61
  };
50
62
  export type DataTableSort = {
51
63
  key: string;
@@ -132,6 +144,13 @@ export type DataTableProps<T> = {
132
144
  * group's value and count, in the order the groups first appear.
133
145
  */
134
146
  groupBy?: string;
147
+ /**
148
+ * Lets the person fold a group: its head becomes a disclosure button with the group's name, count, and a chevron.
149
+ * A folded group keeps its 36 px head; only its rows leave.
150
+ */
151
+ collapsibleGroups?: boolean;
152
+ /** The keys of the groups that start folded: a group's key is its stored value as text, `""` for missing values. */
153
+ defaultCollapsedGroups?: readonly string[];
135
154
  /**
136
155
  * The host's search text. With no rows left, the table says that nothing matches it and offers to clear it
137
156
  * through `onClearQuery`, instead of `empty`. Filter the rows with `filterRows`.
@@ -0,0 +1,23 @@
1
+ import { type JSX } from "solid-js";
2
+ /**
3
+ * A file name split before its ending: `{ stem: "Report 2026", ext: ".pdf" }`. A name without a dot, a hidden file
4
+ * such as `.env`, or a name that ends in a dot has no ending. A long ending (more than ten characters after the dot)
5
+ * counts as part of the name, so a dotted title does not read as a file type.
6
+ */
7
+ export declare const splitFileName: (name: string) => {
8
+ stem: string;
9
+ ext: string;
10
+ };
11
+ export type FileNameProps = Omit<JSX.HTMLAttributes<HTMLSpanElement>, "children"> & {
12
+ /** The whole name, ending included. */
13
+ name: string;
14
+ };
15
+ /**
16
+ * A file name on one line that shortens before its ending (K15): `Quarterly rep….pdf`. The ending always stays, and
17
+ * the whole name is the hint on hover and the text a screen reader reads: the visible stem and ending are two flex
18
+ * items, which accessible names join with a space ("Notes .txt"), so they are hidden from assistive technology and
19
+ * the whole name stands beside them as screen-reader text. The screen-reader text is out of the flow, so the layout
20
+ * stays as it was.
21
+ */
22
+ export declare function FileName(props: FileNameProps): JSX.Element;
23
+ export default FileName;
@@ -42,6 +42,11 @@ export type LightboxItem = {
42
42
  };
43
43
  /** More commands for this file, before Download. */
44
44
  actions?: readonly LightboxAction[];
45
+ /**
46
+ * Anything else shown large, such as a chart or table the page already holds: drawn on a surface on the stage,
47
+ * instead of a file. The caller passes what it already has, so nothing loads again.
48
+ */
49
+ content?: () => JSX.Element;
45
50
  };
46
51
  export type LightboxProps = {
47
52
  items: readonly LightboxItem[];
@@ -4,9 +4,14 @@ export type ProgressPathStep = {
4
4
  label: string;
5
5
  /** A quiet second line, such as the day it happened or "not yet". */
6
6
  detail?: JSX.Element;
7
- /** Whether the step happened. Done steps show a check and a colored line to the next step. */
7
+ /** Whether the step happened. A done step shows a check in a filled dot. */
8
8
  done?: boolean;
9
- /** Tabler icon class an open step shows in its circle, such as `ti ti-truck`. */
9
+ /**
10
+ * The one step the thing is at now. Its dot is a ring in the app colour, its name is bold, and screen readers hear
11
+ * "current step". It wins over `done` and `icon`.
12
+ */
13
+ current?: boolean;
14
+ /** Tabler icon class an open step shows in its dot, such as `ti ti-truck`. */
10
15
  icon?: string;
11
16
  };
12
17
  export type ProgressPathProps = {
@@ -16,10 +21,11 @@ export type ProgressPathProps = {
16
21
  class?: string;
17
22
  };
18
23
  /**
19
- * The stages of one thing in order, each with a word and a quiet line, such as where an item is on its way. Done steps
20
- * carry a check; the words say the state, so color is never the only signal. Wide containers lay the steps out side
21
- * by side, narrow ones, such as a phone, one below the other.
22
- * @example <ProgressPath steps={[{ label: "Received", detail: "Nov 7", done: true }, { label: "Shipped", detail: "not yet", icon: "ti ti-truck" }]} />
24
+ * The way of one thing through its stages: dots on one line, each stage with a name and a quiet line, done, now, or
25
+ * open, such as where an item is on its way. The state is in the dot's form and in words for screen readers, never in
26
+ * color alone. A column of 360 px or more lays the stages out side by side, a narrower one, such as a phone, one below
27
+ * the other.
28
+ * @example <ProgressPath steps={[{ label: "Received", detail: "Nov 7", done: true }, { label: "Packed", detail: "today", current: true }, { label: "Shipped", detail: "not yet", icon: "ti ti-truck" }]} />
23
29
  */
24
30
  export declare function ProgressPath(props: ProgressPathProps): JSX.Element;
25
31
  export default ProgressPath;
@@ -39,6 +39,8 @@ export type RunLogProps = {
39
39
  })[];
40
40
  /** Milliseconds supplied by the host. No clock runs inside RunLog. */
41
41
  duration?: number;
42
+ /** Output timestamps use this zone; omitted means the runtime's local zone. */
43
+ timeZone?: string;
42
44
  meta?: JSX.Element;
43
45
  size?: "full" | "compact";
44
46
  /** Initial disclosure state; a changed value also updates the disclosure. */