@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
@@ -31,8 +31,19 @@ export type PanelDialogBodyProps = {
31
31
  scrollPreserveKey?: string;
32
32
  scrollFade?: boolean;
33
33
  };
34
+ /** Why the dialog's action failed, with what follows from it, such as "Your entries stay". */
35
+ export type PanelDialogError = string | {
36
+ title: string;
37
+ description?: string;
38
+ };
34
39
  export type PanelDialogFooterProps = {
35
40
  children: JSX.Element;
41
+ /**
42
+ * Shows why the action failed as a tinted cell directly above the footer, edge to edge, and announces it. The
43
+ * footer keeps its place on the screen: the dialog grows upwards, so the button under the pointer does not move.
44
+ * Keep the entries; clear the error when the person tries again.
45
+ */
46
+ error?: PanelDialogError;
36
47
  };
37
48
  export type PanelDialogSectionProps = {
38
49
  title: JSX.Element;
@@ -73,20 +84,28 @@ type PanelDialogComponent = ((props: PanelDialogProps) => JSX.Element) & {
73
84
  Section: (props: PanelDialogSectionProps) => JSX.Element;
74
85
  Tabs: <T extends string>(props: PanelDialogTabsProps<T>) => JSX.Element;
75
86
  };
87
+ /**
88
+ * The first field of the shown level, as every dialog focuses; without one, the first control on a desktop and the
89
+ * ring-less dialog itself on a phone sheet, whose grip would otherwise take the focus (as `BottomSheet` does).
90
+ */
91
+ declare function panelInitialFocus(dialog: HTMLDialogElement): HTMLElement | null;
76
92
  export declare const panelDialogPanelClass = "k2b-dialog k2b-panel-dialog-frame is-standard";
77
93
  export declare const panelDialogOptions: {
78
94
  panelClassName: string;
79
95
  contentClassName: string;
96
+ initialFocus: typeof panelInitialFocus;
80
97
  };
81
98
  export declare const panelDialogWidePanelClass = "k2b-dialog k2b-panel-dialog-frame is-wide";
82
99
  export declare const panelDialogWideOptions: {
83
100
  panelClassName: string;
84
101
  contentClassName: string;
102
+ initialFocus: typeof panelInitialFocus;
85
103
  };
86
104
  export declare const panelDialogFixedPanelClass = "k2b-dialog k2b-panel-dialog-frame is-fixed";
87
105
  export declare const panelDialogFixedOptions: {
88
106
  panelClassName: string;
89
107
  contentClassName: string;
108
+ initialFocus: typeof panelInitialFocus;
90
109
  };
91
110
  export declare const panelDialogWorkspacePanelClass = "k2b-dialog k2b-panel-dialog-frame is-workspace";
92
111
  export declare const panelDialogWorkspaceOptions: {
@@ -0,0 +1,54 @@
1
+ import { type JSX } from "solid-js";
2
+ /** A key figure of the status row: the number (bold) and what it counts. */
3
+ export type StatusRowFact = {
4
+ value: JSX.Element;
5
+ label: JSX.Element;
6
+ };
7
+ /** A page-wide disturbance that needs nobody: the page tries again by itself (K10). */
8
+ export type StatusRowState = {
9
+ /** What is wrong, in a few words, such as "Sync paused". */
10
+ label: JSX.Element;
11
+ /** `warning` (the default) or `danger`; `neutral` for a quiet state such as "Offline". */
12
+ tone?: "neutral" | "warning" | "danger";
13
+ /** Tabler icon class inside the round sign, such as `ti ti-refresh`. Defaults to an alert sign. */
14
+ icon?: string;
15
+ /** The time of the next attempt as people read it, such as "14:05". Shows as "next attempt 14:05". */
16
+ next?: JSX.Element;
17
+ };
18
+ /** A selection in the list below: its count becomes the lead statement, its figures and actions take the places of the key figures and filters (K6). */
19
+ export type StatusRowSelection = {
20
+ /** The number of chosen items. A check and "3 selected" take the lead statement's place. */
21
+ count: number;
22
+ /** Up to three figures about the chosen items, such as their kinds or total size. */
23
+ facts?: readonly StatusRowFact[];
24
+ /** Actions on the chosen items, usually small buttons. */
25
+ actions?: JSX.Element;
26
+ };
27
+ export type StatusRowProps = {
28
+ /** The lead statement (18 px, bold): what someone wants to know here first. It is never shortened. */
29
+ lead: JSX.Element;
30
+ /** Up to three key figures. Only the first three show; the rest give way in a fixed order when space is short. */
31
+ facts?: readonly StatusRowFact[];
32
+ /** Filters at the end of the row, usually `FilterChip` elements. */
33
+ filters?: JSX.Element;
34
+ /** A disturbance of the whole page; it takes the place of the key figures, the lead statement stays. */
35
+ state?: StatusRowState;
36
+ /** A selection; its count and actions take the place of the key figures and filters. */
37
+ selection?: StatusRowSelection;
38
+ /**
39
+ * What is happening right now in words, announced politely to screen readers and shown in the place of the key
40
+ * figures, such as "Moving “Invoice 12” to Done". Drag and drop fills it while an item moves (K7).
41
+ */
42
+ announcement?: JSX.Element;
43
+ /** A hairline under the row, where the row stands above a list without its own column head. */
44
+ line?: boolean;
45
+ class?: string;
46
+ };
47
+ /**
48
+ * The status row (K6, K10): the first line under a column's head, 52 px tall. The lead statement on the left keeps
49
+ * its place and size in every state. Up to three key figures follow it; on the right stand the filters. A selection
50
+ * shows its count and actions in the same places; a disturbance of the page shows a round sign, what is wrong, and
51
+ * the next attempt in the place of the key figures. It shows only data that exists already.
52
+ */
53
+ export declare function StatusRow(props: StatusRowProps): JSX.Element;
54
+ export default StatusRow;
@@ -11,8 +11,8 @@ export declare const APP_WORKSPACE_SIDEBAR_COLLAPSED = 64;
11
11
  export declare const APP_WORKSPACE_SIDEBAR_COLLAPSE_THRESHOLD = 128;
12
12
  export declare const APP_WORKSPACE_SIDEBAR_MIN = 176;
13
13
  export declare const APP_WORKSPACE_SIDEBAR_MAX = 360;
14
- /** The floating detail panel starts at 26 rem and keeps between 20 and 40 rem. */
15
- export declare const APP_WORKSPACE_DETAIL_DEFAULT = 416;
14
+ /** The detail column starts at 23.75 rem (380 px, K9) and keeps between 20 and 40 rem. */
15
+ export declare const APP_WORKSPACE_DETAIL_DEFAULT = 380;
16
16
  export declare const APP_WORKSPACE_DETAIL_MIN = 320;
17
17
  export declare const APP_WORKSPACE_DETAIL_MAX = 640;
18
18
  export declare const APP_WORKSPACE_DRAWER_DEFAULT = 240;
@@ -21,6 +21,8 @@ export { DetailAccess, DetailLinks, DetailPresence, DetailPresenceSlot, DetailPr
21
21
  export { DETAILS_ICON, DetailsToggle, type DetailsToggleProps } from "./DetailsToggle";
22
22
  export type { DiscussionComposerProps, DiscussionItemProps, DiscussionListProps, DiscussionProps, DiscussionThreadProps, } from "./Discussion";
23
23
  export { default as Discussion } from "./Discussion";
24
+ export type { FloatingPillProps } from "./FloatingPill";
25
+ export { FloatingPill } from "./FloatingPill";
24
26
  export type { FloatingWindowClose, FloatingWindowProps, FloatingWindowState, OpenFloatingWindowOptions, } from "./FloatingWindow";
25
27
  export { default as FloatingWindow, type FloatingWindowBounds, type FloatingWindowRect, fitFloatingWindowRect, openFloatingWindow, } from "./FloatingWindow";
26
28
  export type { MobileShellHeaderProps, MobileShellProps, MobileShellSidebarItem, MobileShellSidebarProps } from "./MobileShell";
@@ -29,7 +31,7 @@ export { default as Navigation, type NavigationProps } from "./Navigation";
29
31
  export { createNavigation, findNavigationItem, type NavigationController, type NavigationItem, type NavigationOptions, type NavigationStatus, } from "./navigation-model";
30
32
  export type { PageTitleProps, PageTrailLink, PageTrailState } from "./PageTitle";
31
33
  export { followPageTrail, PAGE_TRAIL_EVENT, PageTitle, PageTrailProvider, readPageTrail, setPageTrail, usePageTrail } from "./PageTitle";
32
- export type { PanelDialogBodyProps, PanelDialogFooterProps, PanelDialogHeaderProps, PanelDialogProps, PanelDialogSectionProps, PanelDialogSurface, PanelDialogTabOption, PanelDialogTabsProps, } from "./PanelDialog";
34
+ export type { PanelDialogBodyProps, PanelDialogError, PanelDialogFooterProps, PanelDialogHeaderProps, PanelDialogProps, PanelDialogSectionProps, PanelDialogSurface, PanelDialogTabOption, PanelDialogTabsProps, } from "./PanelDialog";
33
35
  export { confirmDiscardIfDirty, default as PanelDialog, panelDialogFixedOptions, panelDialogFixedPanelClass, panelDialogOptions, panelDialogPanelClass, panelDialogWideOptions, panelDialogWidePanelClass, panelDialogWorkspaceOptions, panelDialogWorkspacePanelClass, } from "./PanelDialog";
34
36
  export type { PanelHeaderProps } from "./PanelHeader";
35
37
  export { PanelHeader } from "./PanelHeader";
@@ -52,6 +54,8 @@ export { default as SettingsCollection } from "./SettingsCollection";
52
54
  export type { SettingsModalFooterProps, SettingsModalGroupProps, SettingsModalProps, SettingsModalTabProps, SettingsModalTabTone, } from "./SettingsModal";
53
55
  export { default as SettingsModal } from "./SettingsModal";
54
56
  export { APP_WORKSPACE_SWITCHER_SEARCH_FROM, type AppWorkspaceSidebarSwitcherProps, type AppWorkspaceSwitcherAction, type AppWorkspaceSwitcherOption, } from "./SidebarSwitcher";
57
+ export type { StatusRowFact, StatusRowProps, StatusRowSelection, StatusRowState } from "./StatusRow";
58
+ export { StatusRow } from "./StatusRow";
55
59
  export { measureScrollFade } from "./scroll-fade";
56
60
  export { attachSheetHandle, type SheetHandleOptions } from "./sheet-handle";
57
61
  export type { TabBarItem, TabBarProps } from "./TabBar";
@@ -21,6 +21,8 @@ type NavigationEntry = {
21
21
  * keeps its place, so a status change never rewraps the label or moves the rows below.
22
22
  */
23
23
  status?: NavigationStatus | null;
24
+ /** New activity the person has not seen: the label takes a stronger weight, so unread is never color alone. */
25
+ unread?: boolean;
24
26
  active?: boolean;
25
27
  /** Current container, independently of its active destination. `false` quiets this row; omitted keeps the default ink. */
26
28
  context?: boolean;
@@ -0,0 +1,9 @@
1
+ import { type JSX } from "solid-js";
2
+ import type { PanelDialogError } from "./PanelDialog";
3
+ /**
4
+ * The tinted cell of a dialog error, the footer's first row (K10, K16). It loads with the first error, so dialogs
5
+ * without one carry none of it; the footer holds its place while the cell comes and goes (`dialog-foot.ts`).
6
+ */
7
+ export declare function PanelDialogErrorCell(props: {
8
+ error: () => PanelDialogError | undefined;
9
+ }): JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { type JSX } from "solid-js";
2
+ /**
3
+ * The grip of a `PanelDialog` that opened as a sheet below 48rem (K13, K16): the finger pulls the sheet down to close
4
+ * it, a tap closes it, and it moves like a `BottomSheet`. `PanelDialog` renders it only when it opens on a phone.
5
+ */
6
+ export declare function PanelSheetHandle(props: {
7
+ frame: HTMLDialogElement;
8
+ }): JSX.Element;
@@ -23,6 +23,11 @@ declare const workspaceMessages: import("@k2b/stdlib").Catalog<{
23
23
  sidebarAllLabel: ({ label }: {
24
24
  label: string;
25
25
  }) => string;
26
+ pathLevelsAbove: string;
27
+ statusNextAttempt: string;
28
+ statusSelected: ({ count }: {
29
+ count: number;
30
+ }) => string;
26
31
  }>;
27
32
  export type WorkspaceMessages = ReturnType<(typeof workspaceMessages)["resolve"]>["t"];
28
33
  /** Resolved from the inherited render locale. */
@@ -0,0 +1,52 @@
1
+ /**
2
+ * The layout self-check of Cloud flach (K15), the mockups' `?check=1` as a function for browser tests. It finds
3
+ * siblings in a flex or grid box that overlap, content that spills out of its box, text that is cut without an
4
+ * ellipsis or a fade, a double line (two parallel visible borders that touch or lie at most 1 px apart, also across
5
+ * components; "one line, one owner", K2), a line break by scrollbar, and a page that scrolls sideways.
6
+ *
7
+ * A line break by scrollbar (Valentin 21.11.: "dass durch eine Scrollbar plötzlich Platz eingenommen wird und dann
8
+ * Linien nicht mehr verbunden sind in einer Tabelle") is a head cell that does not stand over its body cells within
9
+ * 0.5 px, also when head and body sit in two tables, or a gap between neighbouring head cells, so a line through the
10
+ * head breaks.
11
+ *
12
+ * It runs in the page: pass it to Playwright's `page.evaluate`, so it closes over nothing and needs no other module.
13
+ * Check each width in its own test:
14
+ *
15
+ * ```ts
16
+ * import { layoutProblems } from "@k2b/ui/layout-check";
17
+ *
18
+ * for (const width of [390, 768, 1440, 1920])
19
+ * test(`${width} px: nothing overlaps, spills, or is cut`, async () => {
20
+ * await page.setViewportSize({ width, height: 900 });
21
+ * expect((await page.evaluate(layoutProblems, { root: "#app" })).problems).toEqual([]);
22
+ * });
23
+ * ```
24
+ *
25
+ * Limits, as in the mockups: it does not see what runs out of the bottom of a scroll area, nor what a floating layer
26
+ * covers; a review checks those. A box whose children overlap on purpose (an avatar stack) is listed in `ignore`, or
27
+ * carries `data-layout-check="skip"`. A touch hit area (an empty, invisible, positioned `::before` or `::after` that
28
+ * reaches past a small control) is no spill and no cut; it needs no exception.
29
+ */
30
+ export type LayoutProblemOptions = {
31
+ /** The element to check; the whole document by default. */
32
+ root?: string;
33
+ /** Boxes whose children overlap or clip on purpose, or that lie over a sibling on purpose; they and everything inside them are skipped. */
34
+ ignore?: string;
35
+ /**
36
+ * How far content may reach past its box before it counts, in px. 7 as in the mockups: an icon button at a column
37
+ * edge is pulled out by 6 px on purpose (K5).
38
+ */
39
+ slack?: number;
40
+ };
41
+ export type LayoutProblems = {
42
+ overlap: string[];
43
+ spill: string[];
44
+ cut: string[];
45
+ double: string[];
46
+ /** Head and body columns that do not line up, or a head line with a gap: the scrollbar took room in one of them. */
47
+ scrollbar: string[];
48
+ sideways: boolean;
49
+ /** Every problem as one readable line; empty when the page is clean. */
50
+ problems: string[];
51
+ };
52
+ export declare function layoutProblems(options?: LayoutProblemOptions): LayoutProblems;
@@ -0,0 +1,2 @@
1
+ /** A focused entry keeps an on-demand run view out of an island's shared root imports. */
2
+ export { type RunEntry, type RunLevel, RunLog, type RunLogAction, type RunLogEntry, type RunLogProps, type RunLogState, type RunStepEntry, } from "./content/RunLog";
@@ -0,0 +1,38 @@
1
+ import { type JSX } from "solid-js";
2
+ export type AreaProps = Omit<JSX.HTMLAttributes<HTMLElement>, "children" | "title"> & {
3
+ /** The thing's name, such as "Stack 2". */
4
+ name: string;
5
+ /** A short number or code in the 20 px tile before the name, such as "2". Pass `icon` instead for a symbol. */
6
+ marker?: string | number;
7
+ /** A Tabler icon class for the tile, when the area has no number. */
8
+ icon?: string;
9
+ /** The area's own state, such as a `StatusBadge`; it stays in the closed row too. */
10
+ state?: JSX.Element;
11
+ /** How many rows hang on the area; the closed row shows it after the name. */
12
+ count?: number;
13
+ /** The area's own actions at the right of its head, such as framed `Button`s and icon buttons. Hidden while closed. */
14
+ actions?: JSX.Element;
15
+ /** One 12 px meta line under the name, such as "3 lists · 2 of 3 photographed". Hidden while closed. */
16
+ meta?: JSX.Element;
17
+ /** The rows that hang on the area, or one more `Area` (at most two levels). Never a `RowGroup`. */
18
+ children?: JSX.Element;
19
+ /** What an area without rows says, such as "No list yet"; an area exists also when it is empty. */
20
+ empty?: JSX.Element;
21
+ /** Lets the person close the area to one 40 px row. Only the person opens or closes it. */
22
+ collapsible?: boolean;
23
+ open?: boolean;
24
+ /** Defaults to open. */
25
+ defaultOpen?: boolean;
26
+ onOpenChange?: (open: boolean) => void;
27
+ /** Heading level of the name; defaults to 4. */
28
+ level?: 3 | 4 | 5;
29
+ };
30
+ /**
31
+ * An area (K17 "Bereich"): a thing the rows hang on, such as a stack with its lists. Open, it is a square area of its
32
+ * own with a 56 px head of two lines (tile, name in 14 px, state and actions at the right, a 12 px meta line) and its
33
+ * rows on a rail that starts on the name's text edge; areas stand 8 px apart. Closed, it is one 40 px row like a list
34
+ * row: name, state, count, and the chevron, without a surface or a gap. Take an area over a `RowGroup` when it exists
35
+ * also empty, has a state of its own, or two or more actions of its own.
36
+ */
37
+ export declare function Area(props: AreaProps): JSX.Element;
38
+ export default Area;
@@ -0,0 +1,33 @@
1
+ import { type JSX } from "solid-js";
2
+ /** One fact: a quiet label and a strong value. */
3
+ export type FactGroupItem = {
4
+ label: string;
5
+ value: JSX.Element;
6
+ /** A quiet 12 px line under the value, such as "Default" or "since 6 Oct 2026". */
7
+ detail?: JSX.Element;
8
+ /**
9
+ * Shows a copy button for a value people carry elsewhere: a phone number, an email, an address, an IBAN, a code.
10
+ * `true` copies a text `value`; a string copies that string.
11
+ */
12
+ copy?: boolean | string;
13
+ };
14
+ export type FactGroupProps = Omit<JSX.HTMLAttributes<HTMLElement>, "children" | "title"> & {
15
+ /** The group's name, such as "Contact" or "Bank". */
16
+ title: string;
17
+ /** A Tabler icon class before the title. */
18
+ icon?: string;
19
+ /** Two or more facts; a group of one value belongs into another group. A list (people) counts as a list. */
20
+ items: readonly FactGroupItem[];
21
+ /** The group's one pencil. It replaces "Edit" links on single values. */
22
+ onEdit?: () => void;
23
+ /** Heading level of the title; defaults to 3. */
24
+ level?: 3 | 4;
25
+ };
26
+ /**
27
+ * A group of facts (K17 "Angaben-Gruppe"), quiet and at hand: a title with its symbol and one pencil, then label and
28
+ * value in two columns, label 12 px grey and value 13 px dark, with a copy button at values people carry elsewhere.
29
+ * Groups stand apart by space, without lines. Below 360 px of width the label stands above its value, so a number or
30
+ * an address keeps its line. Put the groups into a column of at most 400 px beside the detail column, or into it.
31
+ */
32
+ export declare function FactGroup(props: FactGroupProps): JSX.Element;
33
+ export default FactGroup;
@@ -0,0 +1,14 @@
1
+ import { type JSX } from "solid-js";
2
+ export type FieldGridProps = Omit<JSX.HTMLAttributes<HTMLDivElement>, "children"> & {
3
+ /** The fields of one row, such as `TextInput`s or `Select`s; each keeps its label, help, and error. */
4
+ children: JSX.Element;
5
+ /** How many fields stand side by side; defaults to 2. */
6
+ columns?: 2 | 3 | 4;
7
+ };
8
+ /**
9
+ * A row of fields on one grid (K5): every label row is 20 px, so the controls share their top edge, and help or an
10
+ * error grows only its own field below the control. In a column under 360 px the fields stand one under the other, so
11
+ * a label never runs into its neighbour (K15); three or four fields stack earlier, so no field gets narrower than 160 px.
12
+ */
13
+ export declare function FieldGrid(props: FieldGridProps): JSX.Element;
14
+ export default FieldGrid;
@@ -1,6 +1,7 @@
1
1
  import { type JSX } from "solid-js";
2
2
  import type { IntentTone } from "../semantics";
3
- export type NoticeTone = Extract<IntentTone, "neutral" | "info" | "success" | "warning" | "danger">;
3
+ /** `yours` is "your turn" (Valentin, 21.11.): a blue tint where the reader has to act; `warning` stays "to clarify". */
4
+ export type NoticeTone = Extract<IntentTone, "neutral" | "info" | "success" | "warning" | "danger"> | "ai" | "yours";
4
5
  type NoticeCardContentProps = {
5
6
  title: JSX.Element;
6
7
  detail?: JSX.Element;
@@ -26,9 +27,9 @@ export type NoticeCardProps = Omit<JSX.HTMLAttributes<HTMLElement>, "children" |
26
27
  */
27
28
  layout?: "line" | "card";
28
29
  /**
29
- * The direct next step: one or two `Button`s or `ButtonLink`s (`size="sm"`) in one row below the text. The primary
30
- * action takes the tone's button variant; a second one is `secondary`. In a `NoticeCard.Grid` row the actions of all
31
- * cards share the bottom edge.
30
+ * The deed: one `Button` or `ButtonLink` (`size="sm"`, `secondary`) whose words name what it does, never "Try
31
+ * again" (K10). A wide notice sets it beside the text, a narrow one below it. A second button is possible but
32
+ * rare. In a `NoticeCard.Grid` row the actions of all cards share the bottom edge.
32
33
  */
33
34
  actions?: JSX.Element;
34
35
  class?: string;
@@ -38,6 +39,7 @@ export declare const NOTICE_CARD_CLASSES: {
38
39
  readonly root: "k2b-notice-card";
39
40
  readonly icon: "k2b-notice-card__icon";
40
41
  readonly content: "k2b-notice-card__content";
42
+ readonly text: "k2b-notice-card__text";
41
43
  readonly head: "k2b-notice-card__head";
42
44
  readonly title: "k2b-notice-card__title";
43
45
  readonly meta: "k2b-notice-card__meta";
@@ -1,5 +1,5 @@
1
1
  import { type JSX } from "solid-js";
2
- import type { NoticeTone } from "./NoticeCard";
2
+ import { type NoticeTone } from "./NoticeCard";
3
3
  export type NoticeRowProps = Omit<JSX.HTMLAttributes<HTMLElement>, "children" | "class"> & {
4
4
  tone?: NoticeTone;
5
5
  /**
@@ -9,15 +9,31 @@ export type NoticeRowProps = Omit<JSX.HTMLAttributes<HTMLElement>, "children" |
9
9
  tile?: string;
10
10
  /** The tile's colour as a CSS colour, such as a subject token; defaults to the tone's ink. */
11
11
  tileColor?: string;
12
- /** One short line; truncate it rather than letting the row grow. */
12
+ /** A decorative icon; true resolves the tone's icon and its screen-reader word. */
13
+ icon?: string | true;
14
+ /** A quiet second line opts into the responsive summary: desktop action column, phone actions below. */
15
+ detail?: JSX.Element;
16
+ detailTitle?: string;
17
+ /** A quiet text action that remains visible when the detail is truncated. */
18
+ detailAction?: JSX.Element;
19
+ /** Keep room for two title lines, two quiet lines and phone controls through transitions. */
20
+ reserve?: boolean;
21
+ detailLines?: 1 | 2;
22
+ /** One or two public controls. The renderer selects their variants and sizes for the container width. */
23
+ actions?: JSX.Element | ((layout: {
24
+ narrow: boolean;
25
+ }) => JSX.Element);
26
+ /** One short sentence; truncate it rather than letting the row grow. */
13
27
  children: JSX.Element;
14
28
  /** The one next step at the end of the row, such as a `Button` or a `SplitButton`. It never wraps below the text. */
15
29
  action?: JSX.Element;
16
30
  class?: string;
17
31
  };
18
32
  /**
19
- * A notice as one row of at least 48px: the tile, one line of text, then the action, all centred. It has the tint and
33
+ * A notice with an optional quiet line. Without it, one row of at least 48px: the tile, one line of text, then the action, all centred. It has the tint and
20
34
  * tones of `NoticeCard`, so a notice that changes state in place, such as blocked, loading, and failed, keeps its row and
21
35
  * the content below never moves.
36
+ * The one- or two-line form is chosen once at mount. Keep that form stable across state changes.
37
+ * In the two-line form use `actions`; `action` belongs to the original single-line form.
22
38
  */
23
39
  export declare function NoticeRow(props: NoticeRowProps): JSX.Element;
@@ -4,6 +4,8 @@ export type PlaceholderSurface = "none" | "paper";
4
4
  export type PlaceholderState = "empty" | "no-results" | "no-access" | "loading" | "error";
5
5
  /** `compact` stacks inside a section, `inline` is one row in a list or sidebar, `panel` fills a work area. */
6
6
  export type PlaceholderVariant = "compact" | "inline" | "panel";
7
+ /** The tone of the round sign; the sentence still says what it means (K8, K10). */
8
+ export type PlaceholderTone = "success" | "info" | "warning" | "danger";
7
9
  export type PlaceholderProps = {
8
10
  title?: JSX.Element;
9
11
  description?: JSX.Element;
@@ -14,6 +16,11 @@ export type PlaceholderProps = {
14
16
  surface?: PlaceholderSurface;
15
17
  state?: PlaceholderState;
16
18
  variant?: PlaceholderVariant;
19
+ /**
20
+ * Colours the round sign in a state tone, such as `success` with a check for "All done". The title still says it
21
+ * in words. Without an `icon` the tone brings its own: check, info, alert triangle, or alert circle.
22
+ */
23
+ tone?: PlaceholderTone;
17
24
  class?: string;
18
25
  };
19
26
  export default function Placeholder(props: PlaceholderProps): JSX.Element;
@@ -0,0 +1,20 @@
1
+ import { type JSX } from "solid-js";
2
+ export type RowGroupProps = Omit<JSX.HTMLAttributes<HTMLElement>, "children" | "title"> & {
3
+ /** The value the rows share, such as a status, a tag, or a person. */
4
+ title: JSX.Element;
5
+ /** How many rows the group holds, after the title. */
6
+ count?: number;
7
+ /** At most one quiet control at the end of the head, such as "+". */
8
+ action?: JSX.Element;
9
+ /** The group's rows. A group without rows renders nothing. */
10
+ children?: JSX.Element;
11
+ /** Heading level of the title; defaults to 4. */
12
+ level?: 3 | 4 | 5;
13
+ };
14
+ /**
15
+ * A group (K17 "Gruppe"): a sort word for the rows of one list, such as tasks by status. A 36 px head on the page's
16
+ * quiet ground with the name in 13 px bold, its count, and at most one action; the rows follow as they are. It
17
+ * disappears when it is empty. A group never stands inside an `Area`.
18
+ */
19
+ export declare function RowGroup(props: RowGroupProps): JSX.Element;
20
+ export default RowGroup;
@@ -1,5 +1,5 @@
1
1
  import { type JSX } from "solid-js";
2
- /** Named after the status tokens; a tone colours the frame, the title, and the icon, never the fill. */
2
+ /** Named after the status tokens; a tone colours the symbol tile only, never the fill or the title (K8, K17). */
3
3
  export type SectionTone = "neutral" | "success" | "warning" | "danger" | "info" | "ai";
4
4
  /** `sm` for detail panels and other narrow columns, `md` for topics on a full page. */
5
5
  export type SectionSize = "sm" | "md";
@@ -9,6 +9,12 @@ export type SectionState = "ready" | "loading" | "error";
9
9
  type SectionBaseProps = Omit<JSX.HTMLAttributes<HTMLElement>, "title" | "children" | "class"> & {
10
10
  title: JSX.Element;
11
11
  icon?: string;
12
+ /**
13
+ * The colour of the section's area as a CSS colour, such as money or goods on a dense record page (K17). It sets the
14
+ * icon in a 20 px tile of that colour, the one place the area colour shows. Never a status hue, never near the AI
15
+ * plum; a `tone` wins.
16
+ */
17
+ iconColor?: string;
12
18
  size?: SectionSize;
13
19
  frame?: SectionFrame;
14
20
  tone?: SectionTone;
@@ -38,7 +44,7 @@ type SectionBaseProps = Omit<JSX.HTMLAttributes<HTMLElement>, "title" | "childre
38
44
  };
39
45
  export type SectionProps = SectionBaseProps & ({
40
46
  children?: JSX.Element;
41
- /** Exactly one control at the end of the heading, such as "+" or one text button. */
47
+ /** At most two quiet controls at the end of the heading, such as "+" or text buttons; they read grey. */
42
48
  actions?: JSX.Element;
43
49
  collapsible?: false;
44
50
  summary?: never;
@@ -33,6 +33,8 @@ export type StatCellProps = {
33
33
  value: string | number | JSX.Element | null;
34
34
  sub?: string;
35
35
  valueClass?: string;
36
+ /** Colours the figure as a result, such as a negative balance in `danger`. */
37
+ valueTone?: "danger" | "success";
36
38
  /** An icon in a chip before the label, in `tone`. `"in"` and `"out"` are the money colours of `FlowAmount`. */
37
39
  icon?: string;
38
40
  /**
@@ -1,6 +1,7 @@
1
1
  import { type Accessor, type JSX } from "solid-js";
2
2
  export type StatGridSize = "lg" | "md" | "sm";
3
- export type StatGridSurface = "white" | "muted";
3
+ /** `flat` drops the tiles: figures stand side by side in the flow, such as key figures in a chat answer. */
4
+ export type StatGridSurface = "white" | "muted" | "flat";
4
5
  export type StatGridColumns = 1 | 2 | 3 | 4 | 5 | 6;
5
6
  export type StatGridAction = {
6
7
  label: string;
@@ -1,5 +1,6 @@
1
1
  import { type JSX } from "solid-js";
2
- export type StatusTone = "info" | "ok" | "warning" | "error" | "degraded" | "running" | "neutral";
2
+ /** `yours` is "your turn": the blue tint of an action that waits for the reader; amber `warning` is "to clarify". */
3
+ export type StatusTone = "info" | "ok" | "warning" | "error" | "degraded" | "running" | "neutral" | "yours";
3
4
  export type StatusBadgeProps = {
4
5
  tone: StatusTone;
5
6
  label: JSX.Element;
@@ -0,0 +1,16 @@
1
+ /** Words of the flat building blocks: an area's disclosure and a fact group's pencil. */
2
+ declare const flatBlockMessages: import("@k2b/stdlib").Catalog<{
3
+ showArea: ({ name }: {
4
+ name: string;
5
+ }) => string;
6
+ hideArea: ({ name }: {
7
+ name: string;
8
+ }) => string;
9
+ editFacts: ({ title }: {
10
+ title: string;
11
+ }) => string;
12
+ }>;
13
+ export type FlatBlockMessages = ReturnType<(typeof flatBlockMessages)["resolve"]>["t"];
14
+ export declare const useFlatBlockMessages: () => (() => FlatBlockMessages);
15
+ export declare const checkFlatBlockMessages: () => import("@k2b/stdlib").CatalogIssue[];
16
+ export {};
@@ -1,3 +1,5 @@
1
+ export type { AreaProps } from "./Area";
2
+ export { Area } from "./Area";
1
3
  export type { AvatarProps, AvatarRing, AvatarShape, AvatarSize, AvatarTone } from "./Avatar";
2
4
  export { Avatar } from "./Avatar";
3
5
  export type { AvatarFacesPerson, AvatarFacesProps, AvatarStackPerson, AvatarStackProps } from "./AvatarStack";
@@ -9,8 +11,12 @@ export type { DescriptionListItem, DescriptionListProps } from "./DescriptionLis
9
11
  export { DescriptionList } from "./DescriptionList";
10
12
  export type { DotStripProps, DotStripTone } from "./DotStrip";
11
13
  export { DotStrip } from "./DotStrip";
14
+ export type { FactGroupItem, FactGroupProps } from "./FactGroup";
15
+ export { FactGroup } from "./FactGroup";
12
16
  export type { FieldRowProps } from "./Field";
13
17
  export { Field } from "./Field";
18
+ export type { FieldGridProps } from "./FieldGrid";
19
+ export { FieldGrid } from "./FieldGrid";
14
20
  export type { LinkCardColor, LinkCardProps } from "./LinkCard";
15
21
  export { LinkCard } from "./LinkCard";
16
22
  export type { NotFoundStateAction, NotFoundStateProps } from "./NotFoundState";
@@ -21,7 +27,7 @@ export type { NoticeRowProps } from "./NoticeRow";
21
27
  export { NoticeRow } from "./NoticeRow";
22
28
  export type { PaperProps, PaperTag } from "./Paper";
23
29
  export { Paper } from "./Paper";
24
- export type { PlaceholderAlign, PlaceholderProps, PlaceholderState, PlaceholderSurface, PlaceholderVariant, } from "./Placeholder";
30
+ export type { PlaceholderAlign, PlaceholderProps, PlaceholderState, PlaceholderSurface, PlaceholderTone, PlaceholderVariant, } from "./Placeholder";
25
31
  export { default as Placeholder } from "./Placeholder";
26
32
  export type { ProgressBarPart, ProgressBarProps, ProgressBarSegment, ProgressBarTone } from "./ProgressBar";
27
33
  export { ProgressBar, progressBarParts } from "./ProgressBar";
@@ -30,6 +36,8 @@ export { ProgressRing } from "./ProgressRing";
30
36
  export { PERSON_COLORS, personColor } from "./person-color";
31
37
  export type { ResourceCardColor, ResourceCardProps, ResourceCardState } from "./ResourceCard";
32
38
  export { ResourceCard } from "./ResourceCard";
39
+ export type { RowGroupProps } from "./RowGroup";
40
+ export { RowGroup } from "./RowGroup";
33
41
  export type { SectionFrame, SectionPartProps, SectionProps, SectionSize, SectionState, SectionTone } from "./Section";
34
42
  export { Section } from "./Section";
35
43
  export { createDelayedLoading, type DelayedLoadingOptions, Skeleton, type SkeletonProps } from "./Skeleton";
@@ -11,6 +11,11 @@ export type DashboardFrameProps = {
11
11
  * such as `ChartExplorer` with `inset="1rem"`.
12
12
  */
13
13
  title?: string;
14
+ /**
15
+ * One quiet line under the body, in every state, such as how many rows a search finds. It keeps its place while the
16
+ * content loads, fails or is empty, so nothing moves when it arrives.
17
+ */
18
+ footer?: JSX.Element;
14
19
  /** One line under the title; loading and stale notes take its place, so nothing moves. */
15
20
  subtitle?: JSX.Element;
16
21
  /** Level of the title heading; defaults to 3. */