@k2b/ui 0.66.0 → 0.67.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 (908) hide show
  1. package/dist/base.css +6 -1
  2. package/dist/browser/actions/Dropdown.js +2 -1
  3. package/dist/browser/actions/Dropdown.js.map +1 -1
  4. package/dist/browser/actions/FilterChip.js +3 -2
  5. package/dist/browser/actions/FilterChip.js.map +1 -1
  6. package/dist/browser/actions/SegmentedControl.js +20 -14
  7. package/dist/browser/actions/SegmentedControl.js.map +1 -1
  8. package/dist/browser/charts/core/line-details.js +52 -12
  9. package/dist/browser/charts/core/line-details.js.map +1 -1
  10. package/dist/browser/charts/core/line-extras.js +122 -0
  11. package/dist/browser/charts/core/line-extras.js.map +1 -0
  12. package/dist/browser/charts/core/line-options.js +1 -1
  13. package/dist/browser/charts/core/line-options.js.map +1 -1
  14. package/dist/browser/charts/core/snapshot.js +3 -2
  15. package/dist/browser/charts/core/snapshot.js.map +1 -1
  16. package/dist/browser/charts/core/svg-barGauge.js +2 -2
  17. package/dist/browser/charts/core/svg-barGauge.js.map +1 -1
  18. package/dist/browser/charts/core/svg-common.js +22 -1
  19. package/dist/browser/charts/core/svg-common.js.map +1 -1
  20. package/dist/browser/charts/core/svg-renderers.js +2 -2
  21. package/dist/browser/charts/core/svg-renderers.js.map +1 -1
  22. package/dist/browser/chat/ChatDecision.js +5 -4
  23. package/dist/browser/chat/ChatDecision.js.map +1 -1
  24. package/dist/browser/chat/ChatPrimitives.js +7 -5
  25. package/dist/browser/chat/ChatPrimitives.js.map +1 -1
  26. package/dist/browser/content/Calendar.js +1103 -922
  27. package/dist/browser/content/Calendar.js.map +1 -1
  28. package/dist/browser/content/CalendarDayView.js +336 -259
  29. package/dist/browser/content/CalendarDayView.js.map +1 -1
  30. package/dist/browser/content/CalendarWeekView.js +332 -236
  31. package/dist/browser/content/CalendarWeekView.js.map +1 -1
  32. package/dist/browser/content/ChartRoot.js +233 -100
  33. package/dist/browser/content/ChartRoot.js.map +1 -1
  34. package/dist/browser/content/MarkdownView.js +3 -1
  35. package/dist/browser/content/MarkdownView.js.map +1 -1
  36. package/dist/browser/content/ReferenceChip.js +2 -1
  37. package/dist/browser/content/ReferenceChip.js.map +1 -1
  38. package/dist/browser/content/calendar-days.js +114 -26
  39. package/dist/browser/content/calendar-days.js.map +1 -1
  40. package/dist/browser/content/calendar-event-detail.js +133 -98
  41. package/dist/browser/content/calendar-event-detail.js.map +1 -1
  42. package/dist/browser/content/calendar-events.js +107 -0
  43. package/dist/browser/content/calendar-events.js.map +1 -0
  44. package/dist/browser/content/calendar-messages.js +28 -2
  45. package/dist/browser/content/calendar-messages.js.map +1 -1
  46. package/dist/browser/content/calendar-month-layout.js +89 -5
  47. package/dist/browser/content/calendar-month-layout.js.map +1 -1
  48. package/dist/browser/content/calendar-month-scroll.js +2 -1
  49. package/dist/browser/content/calendar-month-scroll.js.map +1 -1
  50. package/dist/browser/content/calendar-overflow.browser-suite.js +534 -0
  51. package/dist/browser/content/calendar-overflow.browser-suite.js.map +1 -0
  52. package/dist/browser/content/calendar-overflow.js +366 -0
  53. package/dist/browser/content/calendar-overflow.js.map +1 -0
  54. package/dist/browser/content/calendar-shared.js +119 -104
  55. package/dist/browser/content/calendar-shared.js.map +1 -1
  56. package/dist/browser/content/calendar-snapshot.js +71 -0
  57. package/dist/browser/content/calendar-snapshot.js.map +1 -0
  58. package/dist/browser/content/calendar-time-view.js +519 -305
  59. package/dist/browser/content/calendar-time-view.js.map +1 -1
  60. package/dist/browser/content/chart-bar.js +3 -3
  61. package/dist/browser/content/chart-bar.js.map +1 -1
  62. package/dist/browser/content/chart-calendar.js +2 -1
  63. package/dist/browser/content/chart-calendar.js.map +1 -1
  64. package/dist/browser/content/chart-inspection-mount.js +1 -1
  65. package/dist/browser/content/chart-inspection-mount.js.map +1 -1
  66. package/dist/browser/content/chart-line-gaps.js +1 -1
  67. package/dist/browser/content/chart-line-gaps.js.map +1 -1
  68. package/dist/browser/content/chart-message-catalog.js +6 -0
  69. package/dist/browser/content/chart-message-catalog.js.map +1 -1
  70. package/dist/browser/content/chart-state-timeline.js +45 -12
  71. package/dist/browser/content/chart-state-timeline.js.map +1 -1
  72. package/dist/browser/content/chart-svg.js +5 -1
  73. package/dist/browser/content/chart-svg.js.map +1 -1
  74. package/dist/browser/content/chart-tick-room.js +23 -0
  75. package/dist/browser/content/chart-tick-room.js.map +1 -1
  76. package/dist/browser/content/index.js +3 -0
  77. package/dist/browser/content/index.js.map +1 -1
  78. package/dist/browser/content/markdown-info-blocks.js +1 -1
  79. package/dist/browser/content/markdown-info-blocks.js.map +1 -1
  80. package/dist/browser/content/markdown-links.js +36 -2
  81. package/dist/browser/content/markdown-links.js.map +1 -1
  82. package/dist/browser/feedback/prompt-form-loader.js +3 -2
  83. package/dist/browser/feedback/prompt-form-loader.js.map +1 -1
  84. package/dist/browser/feedback/toast.js +21 -1
  85. package/dist/browser/feedback/toast.js.map +1 -1
  86. package/dist/browser/inputs/AutocompleteSelect.js +2 -1
  87. package/dist/browser/inputs/AutocompleteSelect.js.map +1 -1
  88. package/dist/browser/inputs/ChoiceInputs.js +3 -2
  89. package/dist/browser/inputs/ChoiceInputs.js.map +1 -1
  90. package/dist/browser/inputs/ColorChoices.js +2 -1
  91. package/dist/browser/inputs/ColorChoices.js.map +1 -1
  92. package/dist/browser/inputs/RichSelect.js +2 -1
  93. package/dist/browser/inputs/RichSelect.js.map +1 -1
  94. package/dist/browser/inputs/Select.js +3 -2
  95. package/dist/browser/inputs/Select.js.map +1 -1
  96. package/dist/browser/inputs/date-picker.js +9 -0
  97. package/dist/browser/inputs/date-picker.js.map +1 -1
  98. package/dist/browser/inputs/markdown/Toolbar.js +18 -14
  99. package/dist/browser/inputs/markdown/Toolbar.js.map +1 -1
  100. package/dist/browser/internal/color.js +25 -0
  101. package/dist/browser/internal/color.js.map +1 -1
  102. package/dist/browser/internal/pending-loads.js +17 -0
  103. package/dist/browser/internal/pending-loads.js.map +1 -0
  104. package/dist/browser/intl/messages.js +16 -0
  105. package/dist/browser/intl/messages.js.map +1 -1
  106. package/dist/browser/layout/AppWorkspace.js +6 -0
  107. package/dist/browser/layout/AppWorkspace.js.map +1 -1
  108. package/dist/browser/layout/DetailSections.js +110 -98
  109. package/dist/browser/layout/DetailSections.js.map +1 -1
  110. package/dist/browser/layout/FloatingWindow.js +2 -1
  111. package/dist/browser/layout/FloatingWindow.js.map +1 -1
  112. package/dist/browser/layout/Navigation.js +172 -123
  113. package/dist/browser/layout/Navigation.js.map +1 -1
  114. package/dist/browser/layout/Panes.js +188 -237
  115. package/dist/browser/layout/Panes.js.map +1 -1
  116. package/dist/browser/layout/SidebarSwitcher.js +7 -3
  117. package/dist/browser/layout/SidebarSwitcher.js.map +1 -1
  118. package/dist/browser/layout/navigation-model.js.map +1 -1
  119. package/dist/browser/layout/panes-messages.js +0 -4
  120. package/dist/browser/layout/panes-messages.js.map +1 -1
  121. package/dist/browser/surfaces/Avatar.js +5 -2
  122. package/dist/browser/surfaces/Avatar.js.map +1 -1
  123. package/dist/browser/surfaces/NoticeCard.js +78 -36
  124. package/dist/browser/surfaces/NoticeCard.js.map +1 -1
  125. package/dist/browser/surfaces/NoticeRow.js +10 -3
  126. package/dist/browser/surfaces/NoticeRow.js.map +1 -1
  127. package/dist/browser/surfaces/index.js +1 -1
  128. package/dist/browser/surfaces/index.js.map +1 -1
  129. package/dist/browser/surfaces/notice-card-classes.js +16 -0
  130. package/dist/browser/surfaces/notice-card-classes.js.map +1 -0
  131. package/dist/browser/surfaces/person-color.js +34 -4
  132. package/dist/browser/surfaces/person-color.js.map +1 -1
  133. package/dist/browser/v2/accent.js +114 -0
  134. package/dist/browser/v2/accent.js.map +1 -0
  135. package/dist/browser/v2/action-bar.js +125 -0
  136. package/dist/browser/v2/action-bar.js.map +1 -0
  137. package/dist/browser/v2/addresses.js +135 -0
  138. package/dist/browser/v2/addresses.js.map +1 -0
  139. package/dist/browser/v2/announce.js +94 -0
  140. package/dist/browser/v2/announce.js.map +1 -0
  141. package/dist/browser/v2/attach-live.js +280 -0
  142. package/dist/browser/v2/attach-live.js.map +1 -0
  143. package/dist/browser/v2/attach.js +432 -0
  144. package/dist/browser/v2/attach.js.map +1 -0
  145. package/dist/browser/v2/bar-fold.js +405 -0
  146. package/dist/browser/v2/bar-fold.js.map +1 -0
  147. package/dist/browser/v2/behavior/adapter.js +378 -0
  148. package/dist/browser/v2/behavior/adapter.js.map +1 -0
  149. package/dist/browser/v2/behavior/bind.js +43 -0
  150. package/dist/browser/v2/behavior/bind.js.map +1 -0
  151. package/dist/browser/v2/behavior/board.js +184 -0
  152. package/dist/browser/v2/behavior/board.js.map +1 -0
  153. package/dist/browser/v2/behavior/calendar.js +39 -0
  154. package/dist/browser/v2/behavior/calendar.js.map +1 -0
  155. package/dist/browser/v2/behavior/code.js +25 -0
  156. package/dist/browser/v2/behavior/code.js.map +1 -0
  157. package/dist/browser/v2/behavior/controls.js +58 -0
  158. package/dist/browser/v2/behavior/controls.js.map +1 -0
  159. package/dist/browser/v2/behavior/dates.js +8 -0
  160. package/dist/browser/v2/behavior/dates.js.map +1 -0
  161. package/dist/browser/v2/behavior/dnd.js +545 -0
  162. package/dist/browser/v2/behavior/dnd.js.map +1 -0
  163. package/dist/browser/v2/behavior/files.js +43 -0
  164. package/dist/browser/v2/behavior/files.js.map +1 -0
  165. package/dist/browser/v2/behavior/layer.js +3 -0
  166. package/dist/browser/v2/behavior/layer.js.map +1 -0
  167. package/dist/browser/v2/behavior/lists.js +102 -0
  168. package/dist/browser/v2/behavior/lists.js.map +1 -0
  169. package/dist/browser/v2/behavior/menu.js +97 -0
  170. package/dist/browser/v2/behavior/menu.js.map +1 -0
  171. package/dist/browser/v2/behavior/messages.js +200 -0
  172. package/dist/browser/v2/behavior/messages.js.map +1 -0
  173. package/dist/browser/v2/behavior/overlays.js +304 -0
  174. package/dist/browser/v2/behavior/overlays.js.map +1 -0
  175. package/dist/browser/v2/behavior/pickers.js +86 -0
  176. package/dist/browser/v2/behavior/pickers.js.map +1 -0
  177. package/dist/browser/v2/behavior/resize.js +147 -0
  178. package/dist/browser/v2/behavior/resize.js.map +1 -0
  179. package/dist/browser/v2/behavior/segmented.js +17 -0
  180. package/dist/browser/v2/behavior/segmented.js.map +1 -0
  181. package/dist/browser/v2/behavior/select.js +134 -0
  182. package/dist/browser/v2/behavior/select.js.map +1 -0
  183. package/dist/browser/v2/behavior/time-input.js +95 -0
  184. package/dist/browser/v2/behavior/time-input.js.map +1 -0
  185. package/dist/browser/v2/behavior/time-text.js +83 -0
  186. package/dist/browser/v2/behavior/time-text.js.map +1 -0
  187. package/dist/browser/v2/behavior/tip.js +31 -0
  188. package/dist/browser/v2/behavior/tip.js.map +1 -0
  189. package/dist/browser/v2/behavior/toast.js +152 -0
  190. package/dist/browser/v2/behavior/toast.js.map +1 -0
  191. package/dist/browser/v2/behavior/treegrid.js +75 -0
  192. package/dist/browser/v2/behavior/treegrid.js.map +1 -0
  193. package/dist/browser/v2/board-messages.js +70 -0
  194. package/dist/browser/v2/board-messages.js.map +1 -0
  195. package/dist/browser/v2/board.js +471 -0
  196. package/dist/browser/v2/board.js.map +1 -0
  197. package/dist/browser/v2/button-failure.js +90 -0
  198. package/dist/browser/v2/button-failure.js.map +1 -0
  199. package/dist/browser/v2/button.js +174 -45
  200. package/dist/browser/v2/button.js.map +1 -1
  201. package/dist/browser/v2/colors.js +135 -0
  202. package/dist/browser/v2/colors.js.map +1 -0
  203. package/dist/browser/v2/columns-context.js +48 -0
  204. package/dist/browser/v2/columns-context.js.map +1 -0
  205. package/dist/browser/v2/components.js +1761 -428
  206. package/dist/browser/v2/components.js.map +1 -1
  207. package/dist/browser/v2/content.js +1650 -562
  208. package/dist/browser/v2/content.js.map +1 -1
  209. package/dist/browser/v2/control-messages.js +115 -0
  210. package/dist/browser/v2/control-messages.js.map +1 -0
  211. package/dist/browser/v2/controls.js +2391 -336
  212. package/dist/browser/v2/controls.js.map +1 -1
  213. package/dist/browser/v2/danger-zone.js +47 -0
  214. package/dist/browser/v2/danger-zone.js.map +1 -0
  215. package/dist/browser/v2/date-messages.js +61 -0
  216. package/dist/browser/v2/date-messages.js.map +1 -0
  217. package/dist/browser/v2/date-picker.js +405 -0
  218. package/dist/browser/v2/date-picker.js.map +1 -0
  219. package/dist/browser/v2/date-week-window.js +264 -0
  220. package/dist/browser/v2/date-week-window.js.map +1 -0
  221. package/dist/browser/v2/date-weeks.js +30 -0
  222. package/dist/browser/v2/date-weeks.js.map +1 -0
  223. package/dist/browser/v2/day-bar.js +87 -0
  224. package/dist/browser/v2/day-bar.js.map +1 -0
  225. package/dist/browser/v2/describe.js +244 -59
  226. package/dist/browser/v2/describe.js.map +1 -1
  227. package/dist/browser/v2/draft.js +55 -0
  228. package/dist/browser/v2/draft.js.map +1 -0
  229. package/dist/browser/v2/emoji-picker.js +240 -0
  230. package/dist/browser/v2/emoji-picker.js.map +1 -0
  231. package/dist/browser/v2/ends.js +37 -0
  232. package/dist/browser/v2/ends.js.map +1 -0
  233. package/dist/browser/v2/error-screen.js +118 -0
  234. package/dist/browser/v2/error-screen.js.map +1 -0
  235. package/dist/browser/v2/failed.js +90 -0
  236. package/dist/browser/v2/failed.js.map +1 -0
  237. package/dist/browser/v2/figures.js +179 -0
  238. package/dist/browser/v2/figures.js.map +1 -0
  239. package/dist/browser/v2/filter-bar.js +3009 -0
  240. package/dist/browser/v2/filter-bar.js.map +1 -0
  241. package/dist/browser/v2/filter-messages.js +244 -0
  242. package/dist/browser/v2/filter-messages.js.map +1 -0
  243. package/dist/browser/v2/head-search.js +159 -0
  244. package/dist/browser/v2/head-search.js.map +1 -0
  245. package/dist/browser/v2/heat-days.js +91 -0
  246. package/dist/browser/v2/heat-days.js.map +1 -0
  247. package/dist/browser/v2/heat.js +260 -0
  248. package/dist/browser/v2/heat.js.map +1 -0
  249. package/dist/browser/v2/icon.js +48 -0
  250. package/dist/browser/v2/icon.js.map +1 -0
  251. package/dist/browser/v2/index.js +66 -7
  252. package/dist/browser/v2/index.js.map +1 -1
  253. package/dist/browser/v2/layout.js +1815 -275
  254. package/dist/browser/v2/layout.js.map +1 -1
  255. package/dist/browser/v2/list-group.js +57 -0
  256. package/dist/browser/v2/list-group.js.map +1 -0
  257. package/dist/browser/v2/list-query.js +736 -0
  258. package/dist/browser/v2/list-query.js.map +1 -0
  259. package/dist/browser/v2/lookup.js +431 -0
  260. package/dist/browser/v2/lookup.js.map +1 -0
  261. package/dist/browser/v2/marks.js +607 -85
  262. package/dist/browser/v2/marks.js.map +1 -1
  263. package/dist/browser/v2/menu-panel.js +241 -0
  264. package/dist/browser/v2/menu-panel.js.map +1 -0
  265. package/dist/browser/v2/menu.js +797 -0
  266. package/dist/browser/v2/menu.js.map +1 -0
  267. package/dist/browser/v2/nav-drop.js +25 -0
  268. package/dist/browser/v2/nav-drop.js.map +1 -0
  269. package/dist/browser/v2/nav-face.js +16 -0
  270. package/dist/browser/v2/nav-face.js.map +1 -0
  271. package/dist/browser/v2/nav-tree.js +498 -0
  272. package/dist/browser/v2/nav-tree.js.map +1 -0
  273. package/dist/browser/v2/now-line.js +61 -0
  274. package/dist/browser/v2/now-line.js.map +1 -0
  275. package/dist/browser/v2/overlay-messages.js +41 -0
  276. package/dist/browser/v2/overlay-messages.js.map +1 -0
  277. package/dist/browser/v2/overlays.js +431 -0
  278. package/dist/browser/v2/overlays.js.map +1 -0
  279. package/dist/browser/v2/page-layer.js +42 -0
  280. package/dist/browser/v2/page-layer.js.map +1 -0
  281. package/dist/browser/v2/pane-name.js +55 -0
  282. package/dist/browser/v2/pane-name.js.map +1 -0
  283. package/dist/browser/v2/pane-print.js +32 -0
  284. package/dist/browser/v2/pane-print.js.map +1 -0
  285. package/dist/browser/v2/pane-sheet.js +147 -0
  286. package/dist/browser/v2/pane-sheet.js.map +1 -0
  287. package/dist/browser/v2/popover.js +152 -0
  288. package/dist/browser/v2/popover.js.map +1 -0
  289. package/dist/browser/v2/reaction-messages.js +31 -0
  290. package/dist/browser/v2/reaction-messages.js.map +1 -0
  291. package/dist/browser/v2/reactions.js +239 -0
  292. package/dist/browser/v2/reactions.js.map +1 -0
  293. package/dist/browser/v2/row-drag.js +19 -0
  294. package/dist/browser/v2/row-drag.js.map +1 -0
  295. package/dist/browser/v2/section-level.js +9 -0
  296. package/dist/browser/v2/section-level.js.map +1 -0
  297. package/dist/browser/v2/segmented.js +146 -0
  298. package/dist/browser/v2/segmented.js.map +1 -0
  299. package/dist/browser/v2/select-live.js +162 -0
  300. package/dist/browser/v2/select-live.js.map +1 -0
  301. package/dist/browser/v2/setting-messages.js +25 -0
  302. package/dist/browser/v2/setting-messages.js.map +1 -0
  303. package/dist/browser/v2/split-button.js +82 -0
  304. package/dist/browser/v2/split-button.js.map +1 -0
  305. package/dist/browser/v2/states.js +132 -104
  306. package/dist/browser/v2/states.js.map +1 -1
  307. package/dist/browser/v2/status-toolbar.js +23 -0
  308. package/dist/browser/v2/status-toolbar.js.map +1 -0
  309. package/dist/browser/v2/structure.js +331 -156
  310. package/dist/browser/v2/structure.js.map +1 -1
  311. package/dist/browser/v2/testing/index.js +3 -0
  312. package/dist/browser/v2/testing/index.js.map +1 -1
  313. package/dist/browser/v2/testing/measure-v2-layout.js +367 -105
  314. package/dist/browser/v2/testing/measure-v2-layout.js.map +1 -1
  315. package/dist/browser/v2/testing/settled.js +8 -2
  316. package/dist/browser/v2/testing/settled.js.map +1 -1
  317. package/dist/browser/v2/testing/visible.js +14 -0
  318. package/dist/browser/v2/testing/visible.js.map +1 -0
  319. package/dist/browser/v2/toast-host.js +18 -0
  320. package/dist/browser/v2/toast-host.js.map +1 -0
  321. package/dist/browser/v2/toast.js +241 -0
  322. package/dist/browser/v2/toast.js.map +1 -0
  323. package/dist/browser/v2/tokens.js +14 -0
  324. package/dist/browser/v2/tokens.js.map +1 -1
  325. package/dist/browser/v2/tree-messages.js +32 -0
  326. package/dist/browser/v2/tree-messages.js.map +1 -0
  327. package/dist/browser/v2/types.js +51 -4
  328. package/dist/browser/v2/types.js.map +1 -1
  329. package/dist/browser/v2/unsaved-bar.js +225 -0
  330. package/dist/browser/v2/unsaved-bar.js.map +1 -0
  331. package/dist/browser/v2/unsaved-messages.js +65 -0
  332. package/dist/browser/v2/unsaved-messages.js.map +1 -0
  333. package/dist/browser/v2/width-cookie.js +45 -0
  334. package/dist/browser/v2/width-cookie.js.map +1 -0
  335. package/dist/browser/v2/workspace-messages.js +31 -0
  336. package/dist/browser/v2/workspace-messages.js.map +1 -0
  337. package/dist/browser/widgets/Dashboard.js +3 -2
  338. package/dist/browser/widgets/Dashboard.js.map +1 -1
  339. package/dist/ssr/actions/Dropdown.js +2 -1
  340. package/dist/ssr/actions/Dropdown.js.map +1 -1
  341. package/dist/ssr/actions/FilterChip.js +3 -2
  342. package/dist/ssr/actions/FilterChip.js.map +1 -1
  343. package/dist/ssr/actions/SegmentedControl.js +2 -2
  344. package/dist/ssr/actions/SegmentedControl.js.map +1 -1
  345. package/dist/ssr/charts/core/line-details.js +52 -12
  346. package/dist/ssr/charts/core/line-details.js.map +1 -1
  347. package/dist/ssr/charts/core/line-extras.js +122 -0
  348. package/dist/ssr/charts/core/line-extras.js.map +1 -0
  349. package/dist/ssr/charts/core/line-options.js +1 -1
  350. package/dist/ssr/charts/core/line-options.js.map +1 -1
  351. package/dist/ssr/charts/core/snapshot.js +3 -2
  352. package/dist/ssr/charts/core/snapshot.js.map +1 -1
  353. package/dist/ssr/charts/core/svg-barGauge.js +2 -2
  354. package/dist/ssr/charts/core/svg-barGauge.js.map +1 -1
  355. package/dist/ssr/charts/core/svg-common.js +22 -1
  356. package/dist/ssr/charts/core/svg-common.js.map +1 -1
  357. package/dist/ssr/charts/core/svg-renderers.js +2 -2
  358. package/dist/ssr/charts/core/svg-renderers.js.map +1 -1
  359. package/dist/ssr/chat/ChatDecision.js +5 -4
  360. package/dist/ssr/chat/ChatDecision.js.map +1 -1
  361. package/dist/ssr/chat/ChatPrimitives.js +7 -5
  362. package/dist/ssr/chat/ChatPrimitives.js.map +1 -1
  363. package/dist/ssr/content/Calendar.js +410 -323
  364. package/dist/ssr/content/Calendar.js.map +1 -1
  365. package/dist/ssr/content/CalendarDayView.js +122 -49
  366. package/dist/ssr/content/CalendarDayView.js.map +1 -1
  367. package/dist/ssr/content/CalendarWeekView.js +152 -49
  368. package/dist/ssr/content/CalendarWeekView.js.map +1 -1
  369. package/dist/ssr/content/ChartRoot.js +82 -16
  370. package/dist/ssr/content/ChartRoot.js.map +1 -1
  371. package/dist/ssr/content/MarkdownView.js +3 -1
  372. package/dist/ssr/content/MarkdownView.js.map +1 -1
  373. package/dist/ssr/content/ReferenceChip.js +2 -1
  374. package/dist/ssr/content/ReferenceChip.js.map +1 -1
  375. package/dist/ssr/content/calendar-days.js +114 -26
  376. package/dist/ssr/content/calendar-days.js.map +1 -1
  377. package/dist/ssr/content/calendar-event-detail.js +46 -10
  378. package/dist/ssr/content/calendar-event-detail.js.map +1 -1
  379. package/dist/ssr/content/calendar-events.js +107 -0
  380. package/dist/ssr/content/calendar-events.js.map +1 -0
  381. package/dist/ssr/content/calendar-messages.js +28 -2
  382. package/dist/ssr/content/calendar-messages.js.map +1 -1
  383. package/dist/ssr/content/calendar-month-layout.js +89 -5
  384. package/dist/ssr/content/calendar-month-layout.js.map +1 -1
  385. package/dist/ssr/content/calendar-month-scroll.js +2 -1
  386. package/dist/ssr/content/calendar-month-scroll.js.map +1 -1
  387. package/dist/ssr/content/calendar-overflow.browser-suite.js +534 -0
  388. package/dist/ssr/content/calendar-overflow.browser-suite.js.map +1 -0
  389. package/dist/ssr/content/calendar-overflow.js +272 -0
  390. package/dist/ssr/content/calendar-overflow.js.map +1 -0
  391. package/dist/ssr/content/calendar-shared.js +47 -42
  392. package/dist/ssr/content/calendar-shared.js.map +1 -1
  393. package/dist/ssr/content/calendar-snapshot.js +71 -0
  394. package/dist/ssr/content/calendar-snapshot.js.map +1 -0
  395. package/dist/ssr/content/calendar-time-view.js +319 -136
  396. package/dist/ssr/content/calendar-time-view.js.map +1 -1
  397. package/dist/ssr/content/chart-bar.js +3 -3
  398. package/dist/ssr/content/chart-bar.js.map +1 -1
  399. package/dist/ssr/content/chart-calendar.js +2 -1
  400. package/dist/ssr/content/chart-calendar.js.map +1 -1
  401. package/dist/ssr/content/chart-inspection-mount.js +1 -1
  402. package/dist/ssr/content/chart-inspection-mount.js.map +1 -1
  403. package/dist/ssr/content/chart-line-gaps.js +1 -1
  404. package/dist/ssr/content/chart-line-gaps.js.map +1 -1
  405. package/dist/ssr/content/chart-message-catalog.js +6 -0
  406. package/dist/ssr/content/chart-message-catalog.js.map +1 -1
  407. package/dist/ssr/content/chart-state-timeline.js +45 -12
  408. package/dist/ssr/content/chart-state-timeline.js.map +1 -1
  409. package/dist/ssr/content/chart-svg.js +5 -1
  410. package/dist/ssr/content/chart-svg.js.map +1 -1
  411. package/dist/ssr/content/chart-tick-room.js +23 -0
  412. package/dist/ssr/content/chart-tick-room.js.map +1 -1
  413. package/dist/ssr/content/index.js +3 -0
  414. package/dist/ssr/content/index.js.map +1 -1
  415. package/dist/ssr/content/markdown-info-blocks.js +1 -1
  416. package/dist/ssr/content/markdown-info-blocks.js.map +1 -1
  417. package/dist/ssr/content/markdown-links.js +36 -2
  418. package/dist/ssr/content/markdown-links.js.map +1 -1
  419. package/dist/ssr/feedback/prompt-form-loader.js +3 -2
  420. package/dist/ssr/feedback/prompt-form-loader.js.map +1 -1
  421. package/dist/ssr/feedback/toast.js +21 -1
  422. package/dist/ssr/feedback/toast.js.map +1 -1
  423. package/dist/ssr/inputs/AutocompleteSelect.js +2 -1
  424. package/dist/ssr/inputs/AutocompleteSelect.js.map +1 -1
  425. package/dist/ssr/inputs/ChoiceInputs.js +3 -2
  426. package/dist/ssr/inputs/ChoiceInputs.js.map +1 -1
  427. package/dist/ssr/inputs/ColorChoices.js +2 -1
  428. package/dist/ssr/inputs/ColorChoices.js.map +1 -1
  429. package/dist/ssr/inputs/RichSelect.js +2 -1
  430. package/dist/ssr/inputs/RichSelect.js.map +1 -1
  431. package/dist/ssr/inputs/Select.js +3 -2
  432. package/dist/ssr/inputs/Select.js.map +1 -1
  433. package/dist/ssr/inputs/date-picker.js +9 -0
  434. package/dist/ssr/inputs/date-picker.js.map +1 -1
  435. package/dist/ssr/inputs/markdown/Toolbar.js +6 -1
  436. package/dist/ssr/inputs/markdown/Toolbar.js.map +1 -1
  437. package/dist/ssr/internal/color.js +25 -0
  438. package/dist/ssr/internal/color.js.map +1 -1
  439. package/dist/ssr/internal/pending-loads.js +17 -0
  440. package/dist/ssr/internal/pending-loads.js.map +1 -0
  441. package/dist/ssr/intl/messages.js +16 -0
  442. package/dist/ssr/intl/messages.js.map +1 -1
  443. package/dist/ssr/layout/AppWorkspace.js +6 -0
  444. package/dist/ssr/layout/AppWorkspace.js.map +1 -1
  445. package/dist/ssr/layout/DetailSections.js +19 -10
  446. package/dist/ssr/layout/DetailSections.js.map +1 -1
  447. package/dist/ssr/layout/FloatingWindow.js +2 -1
  448. package/dist/ssr/layout/FloatingWindow.js.map +1 -1
  449. package/dist/ssr/layout/Navigation.js +54 -26
  450. package/dist/ssr/layout/Navigation.js.map +1 -1
  451. package/dist/ssr/layout/Panes.js +32 -67
  452. package/dist/ssr/layout/Panes.js.map +1 -1
  453. package/dist/ssr/layout/SidebarSwitcher.js +7 -3
  454. package/dist/ssr/layout/SidebarSwitcher.js.map +1 -1
  455. package/dist/ssr/layout/navigation-model.js.map +1 -1
  456. package/dist/ssr/layout/panes-messages.js +0 -4
  457. package/dist/ssr/layout/panes-messages.js.map +1 -1
  458. package/dist/ssr/surfaces/Avatar.js +5 -2
  459. package/dist/ssr/surfaces/Avatar.js.map +1 -1
  460. package/dist/ssr/surfaces/NoticeCard.js +27 -20
  461. package/dist/ssr/surfaces/NoticeCard.js.map +1 -1
  462. package/dist/ssr/surfaces/NoticeRow.js +10 -3
  463. package/dist/ssr/surfaces/NoticeRow.js.map +1 -1
  464. package/dist/ssr/surfaces/index.js +1 -1
  465. package/dist/ssr/surfaces/index.js.map +1 -1
  466. package/dist/ssr/surfaces/notice-card-classes.js +16 -0
  467. package/dist/ssr/surfaces/notice-card-classes.js.map +1 -0
  468. package/dist/ssr/surfaces/person-color.js +34 -4
  469. package/dist/ssr/surfaces/person-color.js.map +1 -1
  470. package/dist/ssr/v2/accent.js +114 -0
  471. package/dist/ssr/v2/accent.js.map +1 -0
  472. package/dist/ssr/v2/action-bar.js +88 -0
  473. package/dist/ssr/v2/action-bar.js.map +1 -0
  474. package/dist/ssr/v2/addresses.js +135 -0
  475. package/dist/ssr/v2/addresses.js.map +1 -0
  476. package/dist/ssr/v2/announce.js +93 -0
  477. package/dist/ssr/v2/announce.js.map +1 -0
  478. package/dist/ssr/v2/attach-live.js +279 -0
  479. package/dist/ssr/v2/attach-live.js.map +1 -0
  480. package/dist/ssr/v2/attach.js +432 -0
  481. package/dist/ssr/v2/attach.js.map +1 -0
  482. package/dist/ssr/v2/bar-fold.js +405 -0
  483. package/dist/ssr/v2/bar-fold.js.map +1 -0
  484. package/dist/ssr/v2/behavior/adapter.js +378 -0
  485. package/dist/ssr/v2/behavior/adapter.js.map +1 -0
  486. package/dist/ssr/v2/behavior/bind.js +43 -0
  487. package/dist/ssr/v2/behavior/bind.js.map +1 -0
  488. package/dist/ssr/v2/behavior/board.js +184 -0
  489. package/dist/ssr/v2/behavior/board.js.map +1 -0
  490. package/dist/ssr/v2/behavior/calendar.js +39 -0
  491. package/dist/ssr/v2/behavior/calendar.js.map +1 -0
  492. package/dist/ssr/v2/behavior/code.js +25 -0
  493. package/dist/ssr/v2/behavior/code.js.map +1 -0
  494. package/dist/ssr/v2/behavior/controls.js +58 -0
  495. package/dist/ssr/v2/behavior/controls.js.map +1 -0
  496. package/dist/ssr/v2/behavior/dates.js +8 -0
  497. package/dist/ssr/v2/behavior/dates.js.map +1 -0
  498. package/dist/ssr/v2/behavior/dnd.js +545 -0
  499. package/dist/ssr/v2/behavior/dnd.js.map +1 -0
  500. package/dist/ssr/v2/behavior/files.js +43 -0
  501. package/dist/ssr/v2/behavior/files.js.map +1 -0
  502. package/dist/ssr/v2/behavior/layer.js +3 -0
  503. package/dist/ssr/v2/behavior/layer.js.map +1 -0
  504. package/dist/ssr/v2/behavior/lists.js +102 -0
  505. package/dist/ssr/v2/behavior/lists.js.map +1 -0
  506. package/dist/ssr/v2/behavior/menu.js +91 -0
  507. package/dist/ssr/v2/behavior/menu.js.map +1 -0
  508. package/dist/ssr/v2/behavior/messages.js +200 -0
  509. package/dist/ssr/v2/behavior/messages.js.map +1 -0
  510. package/dist/ssr/v2/behavior/overlays.js +293 -0
  511. package/dist/ssr/v2/behavior/overlays.js.map +1 -0
  512. package/dist/ssr/v2/behavior/pickers.js +86 -0
  513. package/dist/ssr/v2/behavior/pickers.js.map +1 -0
  514. package/dist/ssr/v2/behavior/resize.js +147 -0
  515. package/dist/ssr/v2/behavior/resize.js.map +1 -0
  516. package/dist/ssr/v2/behavior/segmented.js +17 -0
  517. package/dist/ssr/v2/behavior/segmented.js.map +1 -0
  518. package/dist/ssr/v2/behavior/select.js +133 -0
  519. package/dist/ssr/v2/behavior/select.js.map +1 -0
  520. package/dist/ssr/v2/behavior/time-input.js +95 -0
  521. package/dist/ssr/v2/behavior/time-input.js.map +1 -0
  522. package/dist/ssr/v2/behavior/time-text.js +83 -0
  523. package/dist/ssr/v2/behavior/time-text.js.map +1 -0
  524. package/dist/ssr/v2/behavior/tip.js +31 -0
  525. package/dist/ssr/v2/behavior/tip.js.map +1 -0
  526. package/dist/ssr/v2/behavior/toast.js +152 -0
  527. package/dist/ssr/v2/behavior/toast.js.map +1 -0
  528. package/dist/ssr/v2/behavior/treegrid.js +75 -0
  529. package/dist/ssr/v2/behavior/treegrid.js.map +1 -0
  530. package/dist/ssr/v2/board-messages.js +70 -0
  531. package/dist/ssr/v2/board-messages.js.map +1 -0
  532. package/dist/ssr/v2/board.js +388 -0
  533. package/dist/ssr/v2/board.js.map +1 -0
  534. package/dist/ssr/v2/button-failure.js +90 -0
  535. package/dist/ssr/v2/button-failure.js.map +1 -0
  536. package/dist/ssr/v2/button.js +172 -45
  537. package/dist/ssr/v2/button.js.map +1 -1
  538. package/dist/ssr/v2/colors.js +135 -0
  539. package/dist/ssr/v2/colors.js.map +1 -0
  540. package/dist/ssr/v2/columns-context.js +48 -0
  541. package/dist/ssr/v2/columns-context.js.map +1 -0
  542. package/dist/ssr/v2/components.js +1184 -218
  543. package/dist/ssr/v2/components.js.map +1 -1
  544. package/dist/ssr/v2/content.js +1026 -256
  545. package/dist/ssr/v2/content.js.map +1 -1
  546. package/dist/ssr/v2/control-messages.js +115 -0
  547. package/dist/ssr/v2/control-messages.js.map +1 -0
  548. package/dist/ssr/v2/controls.js +1715 -95
  549. package/dist/ssr/v2/controls.js.map +1 -1
  550. package/dist/ssr/v2/danger-zone.js +28 -0
  551. package/dist/ssr/v2/danger-zone.js.map +1 -0
  552. package/dist/ssr/v2/date-messages.js +61 -0
  553. package/dist/ssr/v2/date-messages.js.map +1 -0
  554. package/dist/ssr/v2/date-picker.js +351 -0
  555. package/dist/ssr/v2/date-picker.js.map +1 -0
  556. package/dist/ssr/v2/date-week-window.js +149 -0
  557. package/dist/ssr/v2/date-week-window.js.map +1 -0
  558. package/dist/ssr/v2/date-weeks.js +30 -0
  559. package/dist/ssr/v2/date-weeks.js.map +1 -0
  560. package/dist/ssr/v2/day-bar.js +52 -0
  561. package/dist/ssr/v2/day-bar.js.map +1 -0
  562. package/dist/ssr/v2/describe.js +244 -59
  563. package/dist/ssr/v2/describe.js.map +1 -1
  564. package/dist/ssr/v2/draft.js +55 -0
  565. package/dist/ssr/v2/draft.js.map +1 -0
  566. package/dist/ssr/v2/emoji-picker.js +182 -0
  567. package/dist/ssr/v2/emoji-picker.js.map +1 -0
  568. package/dist/ssr/v2/ends.js +27 -0
  569. package/dist/ssr/v2/ends.js.map +1 -0
  570. package/dist/ssr/v2/error-screen.js +73 -0
  571. package/dist/ssr/v2/error-screen.js.map +1 -0
  572. package/dist/ssr/v2/failed.js +63 -0
  573. package/dist/ssr/v2/failed.js.map +1 -0
  574. package/dist/ssr/v2/figures.js +101 -0
  575. package/dist/ssr/v2/figures.js.map +1 -0
  576. package/dist/ssr/v2/filter-bar.js +2495 -0
  577. package/dist/ssr/v2/filter-bar.js.map +1 -0
  578. package/dist/ssr/v2/filter-messages.js +244 -0
  579. package/dist/ssr/v2/filter-messages.js.map +1 -0
  580. package/dist/ssr/v2/head-search.js +159 -0
  581. package/dist/ssr/v2/head-search.js.map +1 -0
  582. package/dist/ssr/v2/heat-days.js +91 -0
  583. package/dist/ssr/v2/heat-days.js.map +1 -0
  584. package/dist/ssr/v2/heat.js +145 -0
  585. package/dist/ssr/v2/heat.js.map +1 -0
  586. package/dist/ssr/v2/icon.js +18 -0
  587. package/dist/ssr/v2/icon.js.map +1 -0
  588. package/dist/ssr/v2/index.js +66 -7
  589. package/dist/ssr/v2/index.js.map +1 -1
  590. package/dist/ssr/v2/layout.js +1214 -108
  591. package/dist/ssr/v2/layout.js.map +1 -1
  592. package/dist/ssr/v2/list-group.js +37 -0
  593. package/dist/ssr/v2/list-group.js.map +1 -0
  594. package/dist/ssr/v2/list-query.js +736 -0
  595. package/dist/ssr/v2/list-query.js.map +1 -0
  596. package/dist/ssr/v2/lookup.js +333 -0
  597. package/dist/ssr/v2/lookup.js.map +1 -0
  598. package/dist/ssr/v2/marks.js +331 -24
  599. package/dist/ssr/v2/marks.js.map +1 -1
  600. package/dist/ssr/v2/menu-panel.js +217 -0
  601. package/dist/ssr/v2/menu-panel.js.map +1 -0
  602. package/dist/ssr/v2/menu.js +733 -0
  603. package/dist/ssr/v2/menu.js.map +1 -0
  604. package/dist/ssr/v2/nav-drop.js +25 -0
  605. package/dist/ssr/v2/nav-drop.js.map +1 -0
  606. package/dist/ssr/v2/nav-face.js +16 -0
  607. package/dist/ssr/v2/nav-face.js.map +1 -0
  608. package/dist/ssr/v2/nav-tree.js +436 -0
  609. package/dist/ssr/v2/nav-tree.js.map +1 -0
  610. package/dist/ssr/v2/now-line.js +44 -0
  611. package/dist/ssr/v2/now-line.js.map +1 -0
  612. package/dist/ssr/v2/overlay-messages.js +41 -0
  613. package/dist/ssr/v2/overlay-messages.js.map +1 -0
  614. package/dist/ssr/v2/overlays.js +365 -0
  615. package/dist/ssr/v2/overlays.js.map +1 -0
  616. package/dist/ssr/v2/page-layer.js +41 -0
  617. package/dist/ssr/v2/page-layer.js.map +1 -0
  618. package/dist/ssr/v2/pane-name.js +33 -0
  619. package/dist/ssr/v2/pane-name.js.map +1 -0
  620. package/dist/ssr/v2/pane-print.js +32 -0
  621. package/dist/ssr/v2/pane-print.js.map +1 -0
  622. package/dist/ssr/v2/pane-sheet.js +147 -0
  623. package/dist/ssr/v2/pane-sheet.js.map +1 -0
  624. package/dist/ssr/v2/popover.js +144 -0
  625. package/dist/ssr/v2/popover.js.map +1 -0
  626. package/dist/ssr/v2/reaction-messages.js +31 -0
  627. package/dist/ssr/v2/reaction-messages.js.map +1 -0
  628. package/dist/ssr/v2/reactions.js +200 -0
  629. package/dist/ssr/v2/reactions.js.map +1 -0
  630. package/dist/ssr/v2/row-drag.js +19 -0
  631. package/dist/ssr/v2/row-drag.js.map +1 -0
  632. package/dist/ssr/v2/section-level.js +9 -0
  633. package/dist/ssr/v2/section-level.js.map +1 -0
  634. package/dist/ssr/v2/segmented.js +104 -0
  635. package/dist/ssr/v2/segmented.js.map +1 -0
  636. package/dist/ssr/v2/select-live.js +142 -0
  637. package/dist/ssr/v2/select-live.js.map +1 -0
  638. package/dist/ssr/v2/setting-messages.js +25 -0
  639. package/dist/ssr/v2/setting-messages.js.map +1 -0
  640. package/dist/ssr/v2/split-button.js +66 -0
  641. package/dist/ssr/v2/split-button.js.map +1 -0
  642. package/dist/ssr/v2/states.js +89 -77
  643. package/dist/ssr/v2/states.js.map +1 -1
  644. package/dist/ssr/v2/status-toolbar.js +23 -0
  645. package/dist/ssr/v2/status-toolbar.js.map +1 -0
  646. package/dist/ssr/v2/structure.js +224 -71
  647. package/dist/ssr/v2/structure.js.map +1 -1
  648. package/dist/ssr/v2/testing/index.js +3 -0
  649. package/dist/ssr/v2/testing/index.js.map +1 -1
  650. package/dist/ssr/v2/testing/measure-v2-layout.js +367 -105
  651. package/dist/ssr/v2/testing/measure-v2-layout.js.map +1 -1
  652. package/dist/ssr/v2/testing/settled.js +8 -2
  653. package/dist/ssr/v2/testing/settled.js.map +1 -1
  654. package/dist/ssr/v2/testing/visible.js +14 -0
  655. package/dist/ssr/v2/testing/visible.js.map +1 -0
  656. package/dist/ssr/v2/toast-host.js +18 -0
  657. package/dist/ssr/v2/toast-host.js.map +1 -0
  658. package/dist/ssr/v2/toast.js +222 -0
  659. package/dist/ssr/v2/toast.js.map +1 -0
  660. package/dist/ssr/v2/tokens.js +14 -0
  661. package/dist/ssr/v2/tokens.js.map +1 -1
  662. package/dist/ssr/v2/tree-messages.js +32 -0
  663. package/dist/ssr/v2/tree-messages.js.map +1 -0
  664. package/dist/ssr/v2/types.js +51 -4
  665. package/dist/ssr/v2/types.js.map +1 -1
  666. package/dist/ssr/v2/unsaved-bar.js +183 -0
  667. package/dist/ssr/v2/unsaved-bar.js.map +1 -0
  668. package/dist/ssr/v2/unsaved-messages.js +65 -0
  669. package/dist/ssr/v2/unsaved-messages.js.map +1 -0
  670. package/dist/ssr/v2/width-cookie.js +45 -0
  671. package/dist/ssr/v2/width-cookie.js.map +1 -0
  672. package/dist/ssr/v2/workspace-messages.js +31 -0
  673. package/dist/ssr/v2/workspace-messages.js.map +1 -0
  674. package/dist/ssr/widgets/Dashboard.js +3 -2
  675. package/dist/ssr/widgets/Dashboard.js.map +1 -1
  676. package/dist/styles.css +1 -1
  677. package/dist/tabler.css +1 -1
  678. package/dist/types/actions/SegmentedControl.d.ts +4 -0
  679. package/dist/types/charts/core/line-extras.d.ts +33 -0
  680. package/dist/types/charts/core/line-options.d.ts +3 -0
  681. package/dist/types/charts/core/svg-common.d.ts +49 -2
  682. package/dist/types/content/Calendar.d.ts +14 -2
  683. package/dist/types/content/MarkdownView.d.ts +2 -0
  684. package/dist/types/content/calendar-days.d.ts +52 -2
  685. package/dist/types/content/calendar-events.d.ts +35 -0
  686. package/dist/types/content/calendar-messages.d.ts +13 -0
  687. package/dist/types/content/calendar-month-layout.d.ts +44 -4
  688. package/dist/types/content/calendar-month-scroll.d.ts +2 -1
  689. package/dist/types/content/calendar-overflow.browser-suite.d.ts +37 -0
  690. package/dist/types/content/calendar-overflow.d.ts +30 -0
  691. package/dist/types/content/calendar-shared.d.ts +9 -11
  692. package/dist/types/content/calendar-snapshot.d.ts +28 -0
  693. package/dist/types/content/calendar-time-view.d.ts +37 -12
  694. package/dist/types/content/chart-bar.d.ts +1 -1
  695. package/dist/types/content/chart-inspection-mount.d.ts +1 -1
  696. package/dist/types/content/chart-line-gaps.d.ts +1 -1
  697. package/dist/types/content/chart-message-catalog.d.ts +6 -0
  698. package/dist/types/content/chart-state-timeline.d.ts +20 -0
  699. package/dist/types/content/chart-tick-room.d.ts +8 -0
  700. package/dist/types/content/index.d.ts +3 -0
  701. package/dist/types/content/markdown-links.d.ts +2 -1
  702. package/dist/types/inputs/date-picker.d.ts +2 -0
  703. package/dist/types/internal/color.d.ts +8 -0
  704. package/dist/types/internal/pending-loads.d.ts +8 -0
  705. package/dist/types/intl/messages.d.ts +8 -0
  706. package/dist/types/layout/AppWorkspace.d.ts +5 -0
  707. package/dist/types/layout/DetailSections.d.ts +11 -1
  708. package/dist/types/layout/Panes.d.ts +2 -2
  709. package/dist/types/layout/navigation-model.d.ts +5 -0
  710. package/dist/types/layout/panes-messages.d.ts +0 -2
  711. package/dist/types/surfaces/NoticeCard.d.ts +9 -13
  712. package/dist/types/surfaces/NoticeRow.d.ts +6 -1
  713. package/dist/types/surfaces/index.d.ts +1 -1
  714. package/dist/types/surfaces/notice-card-classes.d.ts +14 -0
  715. package/dist/types/surfaces/person-color.d.ts +27 -4
  716. package/dist/types/v2/accent.d.ts +24 -0
  717. package/dist/types/v2/action-bar.d.ts +37 -0
  718. package/dist/types/v2/addresses.d.ts +26 -0
  719. package/dist/types/v2/announce.d.ts +17 -0
  720. package/dist/types/v2/attach-live.d.ts +21 -0
  721. package/dist/types/v2/attach.d.ts +37 -0
  722. package/dist/types/v2/bar-fold.d.ts +40 -0
  723. package/dist/types/v2/behavior/adapter.d.ts +69 -0
  724. package/dist/types/v2/behavior/bind.d.ts +14 -0
  725. package/dist/types/v2/behavior/board.d.ts +45 -0
  726. package/dist/types/v2/behavior/calendar.d.ts +35 -0
  727. package/dist/types/v2/behavior/code.d.ts +27 -0
  728. package/dist/types/v2/behavior/controls.d.ts +51 -0
  729. package/dist/types/v2/behavior/dates.d.ts +7 -0
  730. package/dist/types/v2/behavior/dnd.d.ts +61 -0
  731. package/dist/types/v2/behavior/files.d.ts +44 -0
  732. package/dist/types/v2/behavior/layer.d.ts +1 -0
  733. package/dist/types/v2/behavior/lists.d.ts +91 -0
  734. package/dist/types/v2/behavior/menu.d.ts +56 -0
  735. package/dist/types/v2/behavior/messages.d.ts +72 -0
  736. package/dist/types/v2/behavior/overlays.d.ts +126 -0
  737. package/dist/types/v2/behavior/pickers.d.ts +62 -0
  738. package/dist/types/v2/behavior/resize.d.ts +57 -0
  739. package/dist/types/v2/behavior/segmented.d.ts +18 -0
  740. package/dist/types/v2/behavior/select.d.ts +73 -0
  741. package/dist/types/v2/behavior/time-input.d.ts +36 -0
  742. package/dist/types/v2/behavior/time-text.d.ts +14 -0
  743. package/dist/types/v2/behavior/tip.d.ts +17 -0
  744. package/dist/types/v2/behavior/toast.d.ts +90 -0
  745. package/dist/types/v2/behavior/treegrid.d.ts +40 -0
  746. package/dist/types/v2/board-messages.d.ts +22 -0
  747. package/dist/types/v2/board.d.ts +79 -0
  748. package/dist/types/v2/button-failure.d.ts +18 -0
  749. package/dist/types/v2/button.d.ts +77 -5
  750. package/dist/types/v2/colors.d.ts +42 -0
  751. package/dist/types/v2/columns-context.d.ts +50 -0
  752. package/dist/types/v2/components.d.ts +375 -29
  753. package/dist/types/v2/content.d.ts +265 -20
  754. package/dist/types/v2/control-messages.d.ts +55 -0
  755. package/dist/types/v2/controls.d.ts +459 -26
  756. package/dist/types/v2/danger-zone.d.ts +23 -0
  757. package/dist/types/v2/date-messages.d.ts +28 -0
  758. package/dist/types/v2/date-picker.d.ts +47 -0
  759. package/dist/types/v2/date-week-window.d.ts +22 -0
  760. package/dist/types/v2/date-weeks.d.ts +11 -0
  761. package/dist/types/v2/day-bar.d.ts +28 -0
  762. package/dist/types/v2/draft.d.ts +36 -0
  763. package/dist/types/v2/emoji-picker.d.ts +10 -0
  764. package/dist/types/v2/ends.d.ts +8 -0
  765. package/dist/types/v2/error-screen.d.ts +59 -0
  766. package/dist/types/v2/failed.d.ts +15 -0
  767. package/dist/types/v2/figures.d.ts +66 -0
  768. package/dist/types/v2/filter-bar.d.ts +111 -0
  769. package/dist/types/v2/filter-messages.d.ts +121 -0
  770. package/dist/types/v2/head-search.d.ts +13 -0
  771. package/dist/types/v2/heat-days.d.ts +44 -0
  772. package/dist/types/v2/heat.d.ts +40 -0
  773. package/dist/types/v2/icon.d.ts +16 -0
  774. package/dist/types/v2/index.d.ts +45 -9
  775. package/dist/types/v2/layout.d.ts +363 -14
  776. package/dist/types/v2/list-group.d.ts +17 -0
  777. package/dist/types/v2/list-query.d.ts +432 -0
  778. package/dist/types/v2/lookup.d.ts +45 -0
  779. package/dist/types/v2/marks.d.ts +247 -16
  780. package/dist/types/v2/menu-panel.d.ts +7 -0
  781. package/dist/types/v2/menu.d.ts +192 -0
  782. package/dist/types/v2/nav-drop.d.ts +16 -0
  783. package/dist/types/v2/nav-face.d.ts +12 -0
  784. package/dist/types/v2/nav-tree.d.ts +66 -0
  785. package/dist/types/v2/now-line.d.ts +19 -0
  786. package/dist/types/v2/overlay-messages.d.ts +18 -0
  787. package/dist/types/v2/overlays.d.ts +105 -0
  788. package/dist/types/v2/page-layer.d.ts +12 -0
  789. package/dist/types/v2/pane-name.d.ts +14 -0
  790. package/dist/types/v2/pane-print.d.ts +8 -0
  791. package/dist/types/v2/pane-sheet.d.ts +9 -0
  792. package/dist/types/v2/popover.d.ts +21 -0
  793. package/dist/types/v2/reaction-messages.d.ts +9 -0
  794. package/dist/types/v2/reactions.d.ts +41 -0
  795. package/dist/types/v2/row-drag.d.ts +6 -0
  796. package/dist/types/v2/section-level.d.ts +6 -0
  797. package/dist/types/v2/segmented.d.ts +36 -0
  798. package/dist/types/v2/select-live.d.ts +7 -0
  799. package/dist/types/v2/setting-messages.d.ts +10 -0
  800. package/dist/types/v2/split-button.d.ts +24 -0
  801. package/dist/types/v2/states.d.ts +31 -18
  802. package/dist/types/v2/status-toolbar.d.ts +13 -0
  803. package/dist/types/v2/structure.d.ts +58 -4
  804. package/dist/types/v2/testing/index.d.ts +3 -0
  805. package/dist/types/v2/testing/measure-v2-layout.d.ts +30 -9
  806. package/dist/types/v2/testing/settled.d.ts +2 -0
  807. package/dist/types/v2/testing/visible.d.ts +9 -0
  808. package/dist/types/v2/toast-host.d.ts +8 -0
  809. package/dist/types/v2/toast.d.ts +47 -0
  810. package/dist/types/v2/tokens.d.ts +13 -1
  811. package/dist/types/v2/tree-messages.d.ts +15 -0
  812. package/dist/types/v2/types.d.ts +38 -3
  813. package/dist/types/v2/unsaved-bar.d.ts +47 -0
  814. package/dist/types/v2/unsaved-messages.d.ts +31 -0
  815. package/dist/types/v2/width-cookie.d.ts +19 -0
  816. package/dist/types/v2/workspace-messages.d.ts +15 -0
  817. package/dist/v2.css +12208 -2043
  818. package/package.json +15 -6
  819. package/skills/k2b-ui/HANDOFF.md +77 -0
  820. package/skills/k2b-ui/SKILL.md +181 -123
  821. package/skills/k2b-ui/gold/code-policy-1440.png +0 -0
  822. package/skills/k2b-ui/gold/code-policy-390.png +0 -0
  823. package/skills/k2b-ui/gold/mail-mailbox-1440.png +0 -0
  824. package/skills/k2b-ui/gold/mail-mailbox-390.png +0 -0
  825. package/skills/k2b-ui/gold/notebooks-note-1440.png +0 -0
  826. package/skills/k2b-ui/gold/notebooks-note-390.png +0 -0
  827. package/skills/k2b-ui/gold/rhythm-after.png +0 -0
  828. package/skills/k2b-ui/gold/rhythm-before.png +0 -0
  829. package/skills/k2b-ui/gold/steps.png +0 -0
  830. package/skills/k2b-ui/images/actions-1440.png +0 -0
  831. package/skills/k2b-ui/images/actions-390.png +0 -0
  832. package/skills/k2b-ui/images/content-1440.png +0 -0
  833. package/skills/k2b-ui/images/content-390.png +0 -0
  834. package/skills/k2b-ui/images/conversations-1440.png +0 -0
  835. package/skills/k2b-ui/images/conversations-390.png +0 -0
  836. package/skills/k2b-ui/images/detail-sheet-1440.png +0 -0
  837. package/skills/k2b-ui/images/detail-sheet-390.png +0 -0
  838. package/skills/k2b-ui/images/dialogs-1440.png +0 -0
  839. package/skills/k2b-ui/images/dialogs-390.png +0 -0
  840. package/skills/k2b-ui/images/files-1440.png +0 -0
  841. package/skills/k2b-ui/images/files-390.png +0 -0
  842. package/skills/k2b-ui/images/filtered-table-1440.png +0 -0
  843. package/skills/k2b-ui/images/filtered-table-390.png +0 -0
  844. package/skills/k2b-ui/images/form-1440.png +0 -0
  845. package/skills/k2b-ui/images/form-detail-1440.png +0 -0
  846. package/skills/k2b-ui/images/form-detail-390.png +0 -0
  847. package/skills/k2b-ui/images/frame-1440.png +0 -0
  848. package/skills/k2b-ui/images/frame-390.png +0 -0
  849. package/skills/k2b-ui/images/home-1440.png +0 -0
  850. package/skills/k2b-ui/images/home-390.png +0 -0
  851. package/skills/k2b-ui/images/list-detail-1440.png +0 -0
  852. package/skills/k2b-ui/images/list-detail-390.png +0 -0
  853. package/skills/k2b-ui/images/mail-1440.png +0 -0
  854. package/skills/k2b-ui/images/mail-390.png +0 -0
  855. package/skills/k2b-ui/images/overview-1440.png +0 -0
  856. package/skills/k2b-ui/images/overview-390.png +0 -0
  857. package/skills/k2b-ui/images/public-page-1440.png +0 -0
  858. package/skills/k2b-ui/images/public-page-390.png +0 -0
  859. package/skills/k2b-ui/images/record-1440.png +0 -0
  860. package/skills/k2b-ui/images/record-390.png +0 -0
  861. package/skills/k2b-ui/images/record-groups-1440.png +0 -0
  862. package/skills/k2b-ui/images/record-groups-390.png +0 -0
  863. package/skills/k2b-ui/images/settings-1440.png +0 -0
  864. package/skills/k2b-ui/images/settings-390.png +0 -0
  865. package/skills/k2b-ui/images/settings-page-1440.png +0 -0
  866. package/skills/k2b-ui/images/settings-page-390.png +0 -0
  867. package/skills/k2b-ui/images/start-1440.png +0 -0
  868. package/skills/k2b-ui/images/start-390.png +0 -0
  869. package/skills/k2b-ui/images/states-1440.png +0 -0
  870. package/skills/k2b-ui/images/states-390.png +0 -0
  871. package/skills/k2b-ui/images/table-1440.png +0 -0
  872. package/skills/k2b-ui/images/table-390.png +0 -0
  873. package/skills/k2b-ui/images/tree-1440.png +0 -0
  874. package/skills/k2b-ui/images/tree-390.png +0 -0
  875. package/skills/k2b-ui/mockup/shoot.mjs +470 -0
  876. package/skills/k2b-ui/mockup/starter.html +607 -0
  877. package/skills/k2b-ui/port/check.mjs +48 -0
  878. package/skills/k2b-ui/recipes/actions.tsx +226 -0
  879. package/skills/k2b-ui/recipes/content.tsx +96 -0
  880. package/skills/k2b-ui/recipes/conversations.tsx +231 -0
  881. package/skills/k2b-ui/recipes/detail-sheet.tsx +87 -0
  882. package/skills/k2b-ui/recipes/dialogs.tsx +146 -0
  883. package/skills/k2b-ui/recipes/files.tsx +468 -0
  884. package/skills/k2b-ui/recipes/filtered-table.tsx +154 -0
  885. package/skills/k2b-ui/recipes/form-detail.tsx +143 -0
  886. package/skills/k2b-ui/recipes/form.tsx +55 -14
  887. package/skills/k2b-ui/recipes/frame.tsx +206 -0
  888. package/skills/k2b-ui/recipes/home.tsx +186 -0
  889. package/skills/k2b-ui/recipes/list-detail.tsx +85 -50
  890. package/skills/k2b-ui/recipes/mail.tsx +96 -59
  891. package/skills/k2b-ui/recipes/overview.tsx +303 -0
  892. package/skills/k2b-ui/recipes/public-page.tsx +315 -0
  893. package/skills/k2b-ui/recipes/record-groups.tsx +129 -66
  894. package/skills/k2b-ui/recipes/record.tsx +91 -47
  895. package/skills/k2b-ui/recipes/settings-page.tsx +269 -0
  896. package/skills/k2b-ui/recipes/settings.tsx +127 -0
  897. package/skills/k2b-ui/recipes/start.tsx +165 -0
  898. package/skills/k2b-ui/recipes/states.tsx +137 -0
  899. package/skills/k2b-ui/recipes/table.tsx +86 -43
  900. package/skills/k2b-ui/recipes/tree.tsx +109 -0
  901. package/skills/k2b-ui/references/gold.md +195 -0
  902. package/skills/k2b-ui/references/list-queries.md +74 -0
  903. package/skills/k2b-ui/references/look.md +468 -0
  904. package/skills/k2b-ui/references/mistakes.md +59 -3
  905. package/skills/k2b-ui/references/mockups.md +260 -0
  906. package/skills/k2b-ui/references/primitives.md +1227 -99
  907. package/skills/k2b-ui/references/recipes.md +425 -11
  908. package/skills/k2b-ui/references/seeing.md +10 -26
@@ -2,27 +2,161 @@
2
2
 
3
3
  A recipe is a whole screen in one file under `recipes/`, with sample data at
4
4
  the top and one default export. Copy the file, keep its structure, replace
5
- the data. The pictures in `images/` are drawn from these files by
6
- `packages/ui/scripts/v2-preview.ts` (light, 1440 and 390 px), and a browser
5
+ the data. Recipes are the way without a mockup: a small change, a
6
+ draft, and a good base for a mockup. A screen that
7
+ has an approved mockup is ported from it instead ([mockups](mockups.md)). Recipes are port-phase code: they compile with the first `@k2b/ui`
8
+ release after 0.66.0 (`port/check.mjs` says whether yours has it). The
9
+ pictures in `images/` are drawn from these files (light, 1440 and 390 px), and a browser
7
10
  test keeps every recipe free of findings, so code and picture always match.
8
11
 
9
12
  Read the recipe file next to its picture: each part in the code is one
10
13
  thing you can point at in the image.
11
14
 
15
+ Most recipes also export `states`: the same screen empty, loading, failed
16
+ or in another state that fits it (a form while it saves). Fibel's examples
17
+ switch between them, and the browser test checks each one. A state stands
18
+ where the data would stand; the head and the status row never move. A
19
+ state that shows an open menu, panel, dialog or toast is `{ render, press }`:
20
+ the screen, and the names of the buttons and menu entries a person presses,
21
+ in order, to open it.
22
+
23
+ ## The recipes and the look
24
+
25
+ Every screen must meet [the look](look.md), recipes included. The recipes
26
+ and pictures of this version show the structure of each screen (which
27
+ primitive stands where, the states, the phone), not yet its identity: by
28
+ the wireframe check in look.md, each of them is still a wireframe. Copy
29
+ the structure, then add what look.md asks. Where a part is missing, write
30
+ the gap at its place and name it in your report. Never copy a recipe's
31
+ bare look as the result.
32
+
33
+ | Recipe | What it still lacks (rule in look.md) |
34
+ | --- | --- |
35
+ | `frame`, `list-detail`, `mail`, `actions` | hero (1), marks and one data picture per row (3), tinted head of the open entry (5), two-column detail on a large screen (12) |
36
+ | `table`, `filtered-table`, `states` | hero with its trend (1), marks and a data column (3), the screen filled with real data, a context column on a large screen (12) |
37
+ | `record`, `record-groups` | tinted object head with sign and key facts (5), people beside what they did (3) |
38
+ | `form`, `form-detail`, `settings` | the object's tinted head (5); settings as `Setting` rows (10) |
39
+ | `dialogs`, `content` | marks and people in rows (3), a large screen that uses its room (12) |
40
+
41
+ Each rebuilt recipe carries its screen brief (look.md, "Write the screen
42
+ brief") at the top of its section here.
43
+
44
+ ## frame.tsx: the frame of an app
45
+
46
+ ![frame at 1440 px](../images/frame-1440.png)
47
+ ![frame at 390 px](../images/frame-390.png)
48
+
49
+ `Workspace` with `detail` and `detailEmpty`; a `Nav` with two groups
50
+ (a group `action`, a `dot`, a folding "Mehr", a `foot`) and creating as
51
+ its `primary` ("Neuer Auftrag", the "+" beside the app's name, mirrored as
52
+ `Workspace primary` for the phone); a head `Bar` with `Tabs` (a menu tab
53
+ "Weitere"); a list `Pane` with `width`, `scrollKey` and a
54
+ `StatusRow`; the open entry as `Pane detail` with `back`, a head `Bar`
55
+ and a status `Bar` with `Inline` chips.
56
+
57
+ - What is open comes from the address. Without an open entry the detail is
58
+ not rendered (`undefined`, never `false`), and `detailEmpty` holds its
59
+ place, so nothing moves when it opens.
60
+ - On a tablet the sidebar becomes a drawer behind a button in the head; on
61
+ the phone the open entry is the page and `back` is its one way back.
62
+ - States: `closed`, `empty`, `loading`, `failed`.
63
+
64
+ ## tree.tsx: folders as a tree
65
+
66
+ ![folders as a tree at 1440 px](../images/tree-1440.png)
67
+ ![folders as a tree at 390 px](../images/tree-390.png)
68
+
69
+ `Nav` with a plain group ("Zuletzt", "Favoriten") and a group with `tree`
70
+ (folders; "Website" is `current`, so the way to it is open; "Archiv" and
71
+ "Texte" are `branch` and load on the first open; "Kunden" has `more`); a
72
+ head `Bar` with the `Path`; uploading is the `Nav primary`; a `Pane` with a
73
+ `StatusRow` and a `Table` with `tree` (folders and files as rows in
74
+ levels; the open file is `current`, so its folder starts open).
75
+
76
+ - Give the loaded nodes down to the open place; the rest loads through
77
+ `load` and `loadMore` when a person opens it. Never load the whole tree.
78
+ - On the phone the sidebar is a drawer with the same tree, and the table
79
+ shows its top level; a folder opens as its own page.
80
+
81
+ ## conversations.tsx: conversations in the sidebar and a chat thread
82
+
83
+ ![conversations in the sidebar at 1440 px](../images/conversations-1440.png)
84
+ ![an open conversation at 390 px](../images/conversations-390.png)
85
+
86
+ `Nav` with the app's name and `primary` ("Neuer Chat", an icon button at the
87
+ end of the name's row), `search` under it,
88
+ a plain group with the filters ("Ungelesen" with its count, "Für dich",
89
+ "Kanäle entdecken"), its `list` (the conversations as a `List` of
90
+ two-line `Row`s; the open one is `current`) with `phone: "page"`, and
91
+ "Archiv" at the foot; the open conversation is the `Pane detail` beside
92
+ it, with its way back. Two columns: no list pane of its own, no head bar.
93
+
94
+ Screen brief: people coordinating a delivery read the latest message,
95
+ distinguish team notes from replies, then answer. The eye follows the open
96
+ person → newest entry → composer; no invented count or trend. At 390 px
97
+ only the open thread shows, at 1024 the list becomes the sidebar page/drawer,
98
+ at 1440 the sidebar and thread stand beside each other; 1920 keeps bubbles
99
+ at their reading measure. The open conversation carries identity in its
100
+ head; outgoing bubbles use the app tint, notes their own note tone.
101
+
102
+ The thread is a bounded `Canvas height="fill"` drawing: `Avatar` and `Text`
103
+ in incoming/outgoing bubbles, quiet event rows ("Mira hat übernommen"), a
104
+ day divider, and a `Notice tone="note"` in chronological place, explicitly
105
+ labelled internal with who and when. A composer slot stays below the
106
+ scrolling history; the demo uses a full-width `Input multiline rows={1}`
107
+ with an accessible label/placeholder and a bottom-aligned `Button` in its
108
+ `end`. One line separates it from history; no visible field label or separate
109
+ action bar adds height. Sending is the open thread's deed.
110
+
111
+ - Gap: v2 has no `Thread`, `Message`/bubble, `VirtualFeed` or `Composer`.
112
+ This recipe draws those shapes only inside `Canvas`; it does not invent
113
+ library props. It renders a bounded history, not an unbounded feed.
114
+ - The history's reverse scroll container starts at the bottom in server
115
+ markup too, while the DOM stays oldest first. A `ResizeObserver` keeps
116
+ it pinned as entries arrive or resize, unless the reader scrolled up;
117
+ then it preserves that text's position. Returning to the bottom resumes
118
+ following. The observer and scroll listener are cleaned up on unmount.
119
+ - Replies are an in-memory demo with fixed example times. An application
120
+ supplies its authorized entries and composer, commits through its service,
121
+ and keeps a failed send visible with its draft and a retry path.
122
+
123
+ - The list scrolls on its own between the filters and the foot; it is
124
+ made once, so a new count or a new group keeps its rows and its scroll.
125
+ - On the phone the list with its search is the page and "Neuer Chat"
126
+ floats (`Workspace` `primary`); a conversation that opens is the page in
127
+ its place, and its way back returns to the list. The open thread hides the
128
+ create FAB. Its Canvas-owned head puts back and avatar/name (and any thread
129
+ deeds in the `Bar end`) in one 44 px phone bar, without `Pane back` above it.
130
+
12
131
  ## list-detail.tsx: a list beside the open entry
13
132
 
14
133
  ![list with detail at 1440 px](../images/list-detail-1440.png)
15
134
  ![list with detail at 390 px](../images/list-detail-390.png)
16
135
 
17
- `Workspace` with `Nav`, a head `Bar` with `Tabs` and the main action;
136
+ `Workspace` with `Nav` (creating, "Neue Quelle", as its `primary`), a head `Bar` with `Tabs`;
18
137
  `Pane.Split` with the list (`StatusRow`, `List` of two-line `Row`s, the open
19
- one `selected`) and a `Pane detail` (head `Bar` with the name and actions,
138
+ one `current`) and a `Pane detail` (head `Bar` with the name and actions,
20
139
  `Notice tone="bad"` with a way out, `Section`s with `Facts` and `Row`s).
21
140
 
22
141
  - On the phone the detail pane leaves. Open an entry as its own route there.
23
142
  - An error of the open entry is a `Notice` at the top of the detail, not a
24
143
  red text somewhere.
25
144
 
145
+ ## detail-sheet.tsx: details beside, a sheet on the phone
146
+
147
+ ![details beside a note at 1440 px](../images/detail-sheet-1440.png)
148
+ ![details as a sheet at 390 px](../images/detail-sheet-390.png)
149
+
150
+ `Workspace` with `Nav` and a head `Bar`; `Pane.Split` with the note and a
151
+ `Pane detail phone="sheet"` (head `Bar` with the name and a × `closes`,
152
+ `Section`s with `Row`s).
153
+
154
+ - On the phone the details are a sheet over the note, which stays in sight;
155
+ every way to close it takes the pane's `back`, the note's address without
156
+ the details.
157
+ - Use it for details that belong to what stays beside them. A list's open
158
+ entry stays a page of its own on the phone (`list-detail.tsx`).
159
+
26
160
  ## form.tsx: a form with server errors and a conflict
27
161
 
28
162
  ![form at 1440 px](../images/form-1440.png)
@@ -35,7 +169,43 @@ with "Cancel" and the one primary "Save", disabled while the conflict lasts.
35
169
 
36
170
  - Validation and server answers live in the app's state; the primitives
37
171
  only show `error`.
38
- - Until v2 has a `Dialog`, the form stands in its own pane or route.
172
+ - A long form stands in its own pane or route; a short task above the page
173
+ is a `Dialog` (see `dialogs.tsx`).
174
+ - States: `fresh` (nothing sent yet), `errors` ("Pflichtfeld." and the
175
+ server's errors at their fields), `saving` (`Button busy`).
176
+
177
+ ## form-detail.tsx: a form beside a list
178
+
179
+ ![form beside a list at 1440 px](../images/form-detail-1440.png)
180
+ ![form beside a list at 390 px](../images/form-detail-390.png)
181
+
182
+ Creating is the `Nav primary` "Neuer Termin" (no head: it only named the
183
+ place); the open form is a `Pane detail` beside the list, so the list stays in view while it is
184
+ filled in, with `Select`, `DateInput`, `Input`, `Choice` inside a `Field`, a
185
+ multiline `Input`, and `Check`s, one of them `disabled` with the reason
186
+ in its words. Its footer `Bar` saves with a default button.
187
+
188
+ - One primary per page: creating (`Nav primary`, floating on the phone as
189
+ `Workspace primary`) is it, so the form beside it never gets a second.
190
+ - On the phone the form is the page; `back` leads to the list.
191
+ - States: `errors`, `saving`.
192
+
193
+ ## settings.tsx: settings with more than text
194
+
195
+ ![settings at 1440 px](../images/settings-1440.png)
196
+ ![settings at 390 px](../images/settings-390.png)
197
+
198
+ The sign-in settings of an app: a `Field` with an `action` that resets it
199
+ to its default, a `Select` the operator fixed (`disabled`), allowed
200
+ domains in a `TagsInput`, a logo in an `ImageInput`, an accent colour in a
201
+ `ColorInput`, how dark the background is in a `Slider`, a pairing code in a
202
+ `CodeInput`, and two `Disclosure`s with questions in a `Section`.
203
+
204
+ - A field's deed stands at the end of its label line and never moves the
205
+ field; it takes the place of `optional`.
206
+ - A choice the person may not change is a dimmed control with the reason
207
+ in its hint, not a missing one.
208
+ - States: `empty`, `locked`.
39
209
 
40
210
  ## record.tsx: a record, first tab
41
211
 
@@ -52,19 +222,25 @@ statements. Below them a `Pane.Split`: the main column with
52
222
  - What needs a person comes first; history comes after.
53
223
  - Area colours (`color`) mark the same area in cells, sections and groups
54
224
  (tabs carry no colour).
225
+ - States: `empty` (a new customer), `loading` and `failed` (the history,
226
+ which loads on its own: its state stands in its section).
55
227
 
56
228
  ## record-groups.tsx: a record tab with groups
57
229
 
58
230
  ![record groups at 1440 px](../images/record-groups-1440.png)
59
231
  ![record groups at 390 px](../images/record-groups-390.png)
60
232
 
61
- One `Section` for the area with a `summary`; one `Group` per delivery with
233
+ A `Band tone="note"` with the one statement of the tab; one `Section` for
234
+ the area with a `summary`; one `Group` per delivery with
62
235
  `meta`, a `state` chip and actions. Inside a group: a strong sentence, its
63
236
  way as `Steps`, a `Table` with two-line cells and `Progress`, `Facts inline`
64
237
  with a print button. A finished group is `folded`.
65
238
 
66
239
  - Never a `Group` inside a `Group`, never a line inside one.
67
240
  - "You are next" is `Chip yours`, not a red badge.
241
+ - A group's state is a quiet dot and its word (`Chip status quiet`): amber
242
+ for what waits, grey for what is done ("Ausgezahlt"), never a green pill.
243
+ - States: `empty`, `loading`, `failed`, in the place of the groups.
68
244
 
69
245
  ## mail.tsx: a list with a reader
70
246
 
@@ -81,17 +257,87 @@ sender `Row` (avatar, icon buttons in `end`), `Prose`, `Tiles`.
81
257
  `title` and `meta` (who, when).
82
258
  - The reply: until the composer of `@k2b/editor` arrives (gap), a `Band`
83
259
  with a `Field` and `<Input multiline />`, followed by a `Bar` whose `end`
84
- holds "Senden" as a default button (the page's primary stays "Neue
85
- Nachricht").
260
+ holds "Senden" as a default button ("Neue Nachricht" is the `Nav
261
+ primary`).
262
+ - State `closed`: no message is open. `detailEmpty` has a `hero`: a `Heat`
263
+ of the mails per day whose `summary` sums up the year ("… Mails in den
264
+ letzten 12 Monaten · Ø … pro Tag"). The hero is made once in the
265
+ component and handed over, never written inside the `detailEmpty` object.
266
+
267
+ ## overview.tsx: an overview of things with a face
268
+
269
+ ![overview at 1440 px](../images/overview-1440.png)
270
+ ![overview at 390 px](../images/overview-390.png)
271
+
272
+ The bases of Grids. `Nav` entries with `color`, so each base leads with its
273
+ `Mark`; a `StatusRow` whose lead says what counts today, with chips for
274
+ what lets a person act; `Tiles variant="card"` with `stats`, `people`,
275
+ `foot`, `trend` and the `create` card with templates as `choices`; a
276
+ `List` of two-line `Row`s with `mark` in the colour of their kind; a
277
+ `Pane side` with `Digest activity`, each sentence with the thing's
278
+ `Mark` and name.
279
+
280
+ - A base has one colour and symbol, the same in the sidebar, on its card
281
+ and in a sentence. A kind of thing (table, board, form) has one colour
282
+ across the app.
283
+ - A form or a workflow that did something is a person with its name.
284
+ - States: `empty` (a new installation; the card that makes a base stays).
285
+
286
+ ## home.tsx: the home of one place
287
+
288
+ ![home at 1440 px](../images/home-1440.png)
289
+ ![home at 390 px](../images/home-390.png)
290
+
291
+ One base: `Cells` with a `trend` on the first, the things as `Section`s of
292
+ `Row`s with `mark`, their figures in the second line and their state as a
293
+ chip in `marks`; then `Digest activity` under "Zuletzt geändert".
294
+
295
+ - A state that needs a person (a failed workflow, new form entries) stands
296
+ in its row and as a `dot` on its sidebar entry.
297
+ - States: `quiet` (a day without anything that needs a person).
298
+
299
+ ## files.tsx: a folder with list, grid and selection
300
+
301
+ ![files at 1440 px](../images/files-1440.png)
302
+ ![files at 390 px](../images/files-390.png)
303
+
304
+ Two full-width rows above list and detail: a head `Bar` with `Path`, a
305
+ sharing `Chip` and the search as its symbol; creating is the `Nav primary`
306
+ "+" with its ways ("Hochladen", "Neuer Ordner");
307
+ then the `FilterBar` with `results` and `end` (`ListOrder`, a `Menu` for
308
+ list or grid). The list is a `Table` with `select`, `group` (folders,
309
+ files), a `mark` column with thumbnails and types, an `avatar` column; the
310
+ open file is a `Pane detail` with `Preview`, a bar of deeds, `Facts` and
311
+ sections for sharing and versions. `Nav` shows storages with `color` and
312
+ the storage's `quota`.
313
+
314
+ - While files are selected, `StatusRow selection` takes the bar's place at
315
+ the same height.
316
+ - States: `grid` (`Tiles variant="media"`), `selecting` (three photos).
317
+
318
+ ## settings-page.tsx: a settings page
319
+
320
+ ![settings-page at 1440 px](../images/settings-page-1440.png)
321
+ ![settings-page at 390 px](../images/settings-page-390.png)
322
+
323
+ The state first as `Cells` (a `trend`, chips with tone); a `Table` for the
324
+ one setting with a value per kind (a switch per row); `Setting` rows for
325
+ everything else, one `Section` per topic; a `Pane side` with the methods
326
+ as rows with `mark` and state, and `Digest activity` of who changed what.
327
+ The head says "1 Änderung" and saves the page as a whole.
328
+
329
+ - States: `saved` (nothing to save: the deeds are disabled).
86
330
 
87
331
  ## table.tsx: a table with a status row
88
332
 
89
333
  ![table at 1440 px](../images/table-1440.png)
90
334
  ![table at 390 px](../images/table-390.png)
91
335
 
92
- `StatusRow` with the lead ("3 offen"), facts (sum, overdue) and a filter
93
- button at the end; `Table` with widths, a status `Chip`, an amount column
94
- `align: "end"`, one text button per row, `drop` on the columns that matter
336
+ `StatusRow` with the lead ("14 offen"), facts computed from the rows (sum,
337
+ overdue) and a filter button at the end; `Table` with widths, a state column
338
+ as a quiet dot and its word (`Chip status quiet`: grey for open, red only for
339
+ overdue), an amount column `align: "end"`, the reminder only on the rows it
340
+ applies to, `drop` on the columns that matter
95
341
  least, and `phone(row)` so the phone shows two-line rows instead of a cut
96
342
  table. `open(row)` gives each row the address of its invoice (on the phone
97
343
  too); `empty` says "Keine offenen Rechnungen." in place of the table, and
@@ -99,3 +345,171 @@ too); `empty` says "Keine offenen Rechnungen." in place of the table, and
99
345
 
100
346
  - The lead says the one thing; the rest are facts, which leave on the phone.
101
347
  - A deed per row is a `Button variant="text"` in its own last column.
348
+
349
+ ## filtered-table.tsx: a table people filter, sort and group
350
+
351
+ ![filtered table at 1440 px](../images/filtered-table-1440.png)
352
+ ![filtered table at 390 px](../images/filtered-table-390.png)
353
+
354
+ `defineListQuery` declares the fields (`choice`, `numberRange`, `lookup`),
355
+ the search, the sorts and the grouping once; `FilterBar` shows the active
356
+ filters as statements in `Pane status` above the `StatusRow`, and
357
+ `ListOrder` shows the sort and the grouping in its `filters`. The `Table`
358
+ shows what the server found for the address.
359
+
360
+ - The server reads the same address with `orderQuery.parse(...)` and filters
361
+ its own data; `@k2b/ui` filters nothing.
362
+ - The bar writes the address and calls `onChange`; load the rows again there.
363
+ - On the phone the bar is one line that scrolls; a tap opens the filter sheet.
364
+ - Pass `views` only when the app stores views (see
365
+ [list queries](list-queries.md)).
366
+
367
+ ## actions.tsx: where deeds stand
368
+
369
+ ![actions at 1440 px](../images/actions-1440.png)
370
+ ![actions at 390 px](../images/actions-390.png)
371
+
372
+ The head `Bar` holds `Tabs`, a `Popover tip` on the refresh button, a
373
+ `Menu` "Filter" with ticked entries (a `Popover` in the head leaves on the phone),
374
+ and a `Menu` with a choice section and toggles. Creating is the `Nav
375
+ primary` "Neues Angebot" with its choices (`items`, a submenu for the
376
+ templates). Each `Row` stands in a
377
+ `Menu.Context` and has a `Button pressed` star and a "…" `Menu` with the
378
+ same entries in its `end`. The offer the address names opens in a
379
+ `Pane detail` with its own deeds; `Button busy` while it sends, and a
380
+ `Notice` with a `disabled` action that says why.
381
+
382
+ - One list of entries feeds the row's "…" and its right-click.
383
+ - Deleting answers with a toast and "Rückgängig".
384
+
385
+ ## dialogs.tsx: a dialog, a question, a toast
386
+
387
+ ![dialogs at 1440 px](../images/dialogs-1440.png)
388
+ ![dialogs at 390 px](../images/dialogs-390.png)
389
+
390
+ Members of a space in `Section`s. "Einladen" opens a `Dialog` with
391
+ `Field`s and its own primary in the foot (a sheet on the phone);
392
+ `Workspace primary` opens the same dialog. Removing a member asks with
393
+ `Dialog.confirm`, then a toast offers "Rückgängig"; "Erneut senden"
394
+ answers with a toast with `status` `ok` or `bad`.
395
+
396
+ - A menu entry that opens `Dialog.confirm` returns nothing (`void`), so
397
+ the menu closes while the question asks.
398
+ - The open state of the dialog lives in the screen (`open`,
399
+ `onOpenChange`).
400
+ - One primary path. Form-changing alternatives go into a `Choice` at the
401
+ top; alternatives using the same fields go into a quiet footer `Menu`.
402
+ Never tabs inside a dialog ([Dialog details](primitives.md#overlays-dialog-menu-popover-toast)).
403
+
404
+ ## start.tsx: the first start of an app without data
405
+
406
+ ![start at 1440 px](../images/start-1440.png)
407
+ ![start at 390 px](../images/start-390.png)
408
+
409
+ A person opens Notebooks or Grids for the first time. No sidebar and no
410
+ switcher: a `Pane center` with one `Text type="lead"` line ("Leg dein
411
+ erstes Notizbuch an") and `Tiles variant="card" perRow={4}`. Each card
412
+ shows a `preview` of what it makes across its top (`{ page }` for the
413
+ blank way, `{ table }` with a template's first table, `{ icon }` where
414
+ there is nothing to show), its `Mark` in the app's colour, its name and
415
+ `meta` ("6 Seiten"). The whole card opens the dialog that makes it:
416
+ `onOpen`, or `href` to an address that opens the dialog.
417
+
418
+ - The blank way first, then at most three templates; the rest stay in
419
+ the dialog's choice, which a quiet line under the cards says.
420
+ - Four in one row on a wide screen, 2 × 2 where four do not fit and on
421
+ the phone; the line stands centred, on the phone at the start.
422
+ - An app with one way to start puts its primary `Button` in an `Inline`
423
+ under the line instead of cards; it stands centred like the line. A
424
+ `Section` under it (what a person still follows, such as bases being
425
+ deleted) keeps the start block's 920 px, centred, and draws no line
426
+ under it as the pane's last section.
427
+ - States: `grids` (the first base: tables and a sign for the blank base),
428
+ `single` (one way to start, with a section under it).
429
+
430
+ ## states.tsx: the states of a list
431
+
432
+ ![states at 1440 px](../images/states-1440.png)
433
+ ![states at 390 px](../images/states-390.png)
434
+
435
+ A list with a `StatusRow` and its states in the place of the rows:
436
+ `Empty` for nothing yet and another `Empty` for nothing behind a
437
+ filter, `Loading` with the rows and lines that usually come, `Failed`
438
+ with "Erneut versuchen". A `Notice tone="bad"` names the deed for a
439
+ problem a person must fix; a connection that retries on its own says so in
440
+ the `StatusRow` facts.
441
+
442
+ - The head and the status row never move between the states.
443
+
444
+ ## content.tsx: a page to read
445
+
446
+ ![content at 1440 px](../images/content-1440.png)
447
+ ![content at 390 px](../images/content-390.png)
448
+
449
+ A head `Bar` with the title as `Text type="lead"`, a ghost "Teilen" and
450
+ the one primary "Bearbeiten" (mirrored as `Workspace primary`); a `Band`
451
+ with the text as `Prose markdown` (rendered safely: no raw HTML, no images,
452
+ only web and mail links); a `Section` with a key in `Facts` (`mono`,
453
+ `copy`); the files as `Tiles` in a `Section` with a count; a plan of its own
454
+ in a `Canvas` with `height`, directly in its `Section`. `states` exports
455
+ empty (`Empty` with "Text schreiben"), loading (`Loading` rows) and failed
456
+ (`Failed`), each in place of the text below the head.
457
+
458
+ - Writing the text happens behind "Bearbeiten": the Markdown editor of
459
+ `@k2b/editor` has no v2 form yet (gap).
460
+ - Code to read and copy is a `Facts` item with `mono` and `copy`; a code
461
+ block with highlighting is a gap. Media open from their `Tiles`; an image
462
+ or video viewer is a gap.
463
+ - A chart is a `Chart` of `@k2b/ui` in a `Canvas` in its `Section`, sized
464
+ `style={{ height: "100%" }}`. Inside `.k2-ui` it takes the v2 font, the
465
+ meta role (12 px), the v2 inks and lines, the surface as separator in
466
+ both themes, the text edge in a `Canvas`, and a tooltip like a v2
467
+ overlay. It needs the `@k2b/ui` stylesheet and a `.k2b-ui` ancestor, which
468
+ every Cloud page has; with `v2.css` alone a chart has no size (gap), so
469
+ this recipe draws its plan itself.
470
+ - A state timeline (`kind="stateTimeline"`) takes `now` from the page (the
471
+ server's request time, never a clock in the component) and draws it as a
472
+ thin line with "Jetzt" on its time axis; runs of seconds stay 3 units wide, centred on their
473
+ start; a start still to come has `planned: true` and is an outline that
474
+ says "geplant".
475
+ - With no data, put `Empty` in place of the `Canvas`. `Loading` and
476
+ `Failed` hold rows, not the height of a drawing, so the page moves while a
477
+ chart loads (gap).
478
+
479
+ ## public-page.tsx: a page for visitors
480
+
481
+ ![public-page at 1440 px](../images/public-page-1440.png)
482
+ ![public-page at 390 px](../images/public-page-390.png)
483
+
484
+ A page that people open without signing in, without the Cloud shell (a
485
+ venue's programme, a public form, a share). In Cloud it stands in
486
+ `MinimalLayout ui="v2"`. A head `Bar` with the brand as `RecordHead` (its
487
+ initials on its colour) and the one task as the primary with `keep` and short
488
+ words, so on a phone the brand and the task share one row and nothing floats
489
+ over a row; the status row names what asks to act as toned chips ("1 fast
490
+ voll", "1 ausgebucht"), and only on a quiet day the day's count, never the
491
+ figures a group head or a column repeats. The programme is one
492
+ `Table` grouped by day: the event with when, where and its type (the title
493
+ keeps the room at 1024), its host as `Avatar` (every event has one, so every
494
+ phone row leads with a mark and the text edge never jumps), the seats taken
495
+ as `Progress` (a value with a limit gets a meter), and the seats: a `Chip`
496
+ with colour, sign and word only for the exceptions (booked out, almost full),
497
+ quiet words for the rest. A page to read has no grips: its columns and its
498
+ side column keep a width `{ fixed }`. On the phone each event is a row of two
499
+ lines with its seats. A `Pane side` holds the visit and only what the table
500
+ does not say: free places today as one meter, the way in as `Facts`, and
501
+ access as a `Section` of its own (good news is no notice). The status row
502
+ names its reference ("Bis Sonntag"), so its chips count the rows the list
503
+ shows. Seats read one way everywhere: free seats in words beside the meter of
504
+ what is taken. The host shows as a face and a name. Each date is said once.
505
+ `states` exports kiosk (the same page on a wall screen: no task, what runs now
506
+ marked "läuft" on its row, "aktualisiert sich jede Minute" in the head), empty
507
+ and failed.
508
+
509
+ - A visitor page has no rail and no sidebar: the brand stands in the head.
510
+ - A kiosk refreshes itself and says so in words, never with a button.
511
+ - A long title wraps (`wrap`) before it is cut, and a range of numbers in it
512
+ (1920–1960) stays on one line.
513
+ - Gaps: the brand mark (`Mark`) and a larger kiosk type come with the
514
+ identity primitives; a phone row of a table may still wrap a long title; a
515
+ longer brand name or task still gives the phone head a second row.
@@ -7,32 +7,11 @@ and fix what the cheaper one finds before you pay for the next.
7
7
  | Step | Cost | Finds |
8
8
  | --- | --- | --- |
9
9
  | types | free with the build | wrong or missing props, an icon button without a name, two `Chip` kinds |
10
- | rule `v2-app-layout-css` | ~1 s | `class`, `style`, spreads, `innerHTML`, stylesheets outside `Canvas`; a `Canvas` in the wrong place |
10
+ | the layout rule (Cloud's repository checks it; elsewhere the diff) | ~1 s | `class`, `style`, spreads, `innerHTML`, stylesheets outside `Canvas`; a `Canvas` in the wrong place; a `*.port.tsx` component outside a `Canvas`, its root without `data-port`, `style` in it |
11
11
  | outline (`describeV2`) | ~30 lines of text | the structure, every text, counts, hidden parts, `Problems` |
12
- | layout (`measureV2Layout`) | a browser | lines short of the edge, double lines, a line inside one band or group, cut control labels, wrapped one-line texts, text off the four type roles, grips off their line |
12
+ | layout (`measureV2Layout`) | a browser | lines short of the edge, double lines, a line inside one band or group, cut control labels, controls that stick out of their bar or pane, wrapped one-line texts, text off the four type roles, grips off their line |
13
13
  | screenshot | an image per width | everything else; only when in doubt |
14
14
 
15
- ## In the Cloud monorepo
16
-
17
- `packages/ui/scripts/v2-preview.ts` runs all steps on one screen file
18
- whose default export is a component without props:
19
-
20
- ```bash
21
- bun packages/ui/scripts/v2-preview.ts packages/my-app/src/screens/sources.tsx --text
22
- bun packages/ui/scripts/v2-preview.ts packages/my-app/src/screens/sources.tsx --png .local/shots
23
- ```
24
-
25
- - `--text`: types, rule and outline from the server markup, no browser.
26
- Use it after every edit.
27
- - without `--text`: Chromium at 1440 and 390 px (`--width` to change),
28
- outline with layout (hidden parts, dropped columns) and the measurement.
29
- - `--png <dir>`: also a light screenshot per width.
30
- - Exit code 0 means every step is clean.
31
- - On a shared machine, run the browser variant through its load wrapper.
32
-
33
- `bun run check` runs the rule on every app; `bun run --cwd packages/<app>
34
- typecheck` runs the types.
35
-
36
15
  ## The outline
37
16
 
38
17
  `describeV2` reads the `data-k2-part` marks. One line per part, indented by
@@ -64,10 +43,10 @@ required part there (the error state, the empty state, the main action, the
64
43
  phone)? At 390 px the outline says which parts are hidden and which table
65
44
  columns dropped.
66
45
 
67
- ## Outside the monorepo
46
+ ## In your app's tests
68
47
 
69
- `@k2b/ui/v2/testing` brings the same checks to a Playwright test of your
70
- app (Playwright is an optional peer dependency of `@k2b/ui`):
48
+ `@k2b/ui/v2/testing` brings the checks to a Playwright test of your app (port
49
+ phase: the first `@k2b/ui` release after 0.66.0) (Playwright is an optional peer dependency of `@k2b/ui`):
71
50
 
72
51
  ```ts
73
52
  import { expect, test } from "@playwright/test";
@@ -82,6 +61,11 @@ for (const width of [1440, 390])
82
61
  });
83
62
  ```
84
63
 
64
+ Count and read what a person sees with `visibleCount(locator)` and
65
+ `visibleTexts(locator)`: a Table keeps its phone rows beside its table and a
66
+ month keeps rows for other heights, so a raw `count()` counts parts that are
67
+ not drawn.
68
+
85
69
  Print the outline (`console.log(await describeV2Page(page))`) when you
86
70
  need to see the screen. With server markup and no browser (happy-dom,
87
71
  linkedom), call `describeV2(element)` from `@k2b/ui/v2` without `layout`.