@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
@@ -1,6 +1,28 @@
1
1
  import { type JSX } from "solid-js";
2
+ import type { Action, Person } from "./types";
3
+ export type FieldIds = {
4
+ /** The id of the one control the label names. */
5
+ control: string;
6
+ /** The id of the label line, when the field has a label. */
7
+ label?: string;
8
+ invalid: boolean;
9
+ required: boolean;
10
+ name?: string;
11
+ /** The id of the hint or error, while there is one. */
12
+ described?: string;
13
+ /** A control of several choices (Check, Choice) makes the field a named group instead of a labelled control. */
14
+ group: () => void;
15
+ /**
16
+ * A control whose id the behaviour layer owns (Select) is named by the label line through `aria-labelledby`, so the
17
+ * label line points at no id with `for`; a press on the label line calls `focus`, as a label does for its control.
18
+ */
19
+ named: (focus: () => void) => void;
20
+ };
2
21
  export type FieldProps = {
3
- label: string;
22
+ /** The question above the control; omit it when the control names itself, such as a consent Check. */
23
+ label?: JSX.Element;
24
+ /** Plain text for the title hint when `label` is inline content; a string label supplies its own hint. */
25
+ labelText?: string;
4
26
  /** The name the value is sent under; the control inside takes it. */
5
27
  name?: string;
6
28
  /** A quiet hint under the control. */
@@ -14,27 +36,90 @@ export type FieldProps = {
14
36
  * label line shows nothing for it; the fields that may stay empty say "optional" instead (as the mockup does).
15
37
  */
16
38
  required?: boolean;
39
+ /**
40
+ * One quiet deed for this field at the end of its label line, such as "Auf Standard zurücksetzen": a text button of
41
+ * the label line's 20 px, so the field keeps its height with and without it. It takes the place of `optional`. With
42
+ * `href` it is a way elsewhere, such as "Passwort vergessen?", and reads as a link, in the link colour.
43
+ */
44
+ action?: Action;
45
+ /** The one control: `Input`, `Select`, `DateInput`, `TimeInput`, `Choice`, `Rating`, `TagsInput`, `ImageInput`, `CodeInput`, `Slider` or `ColorInput`. */
17
46
  children: JSX.Element;
18
47
  };
19
- export declare function Field(props: FieldProps): JSX.Element;
20
- export declare namespace Field {
21
- var Row: (props: {
48
+ /**
49
+ * A field: an optional label of 20 px (at most two lines), the control of 36 px, a hint or error under it.
50
+ * Long names wrap and end in an ellipsis; the complete label stays the control’s name.
51
+ * String labels supply their title hint; pass `labelText` for inline content.
52
+ */
53
+ export declare const Field: ((props: FieldProps) => JSX.Element) & {
54
+ /** Fields share label bottoms and control starts, with hints below; independent stacked fields on the phone. */
55
+ Row: (props: {
56
+ /** The `Field`s side by side. */
22
57
  children: JSX.Element;
23
58
  }) => JSX.Element;
24
- }
25
- export type InputProps = {
59
+ };
60
+ export type SettingProps = Omit<FieldProps, "optional" | "required" | "label"> & {
61
+ /** The name of the setting. */
62
+ label: JSX.Element;
63
+ /**
64
+ * The value before an unsaved change, such as "12 Std.": the setting then says "geändert · vorher 12 Std." below
65
+ * its control, so a page that saves as a whole shows what will change.
66
+ */
67
+ was?: string;
68
+ /**
69
+ * One quiet deed for this setting, such as "Auf Standard zurücksetzen" while the value differs from its default: a
70
+ * text button at the end of the name's line, as `Field action` has it. The value's column keeps its place, so the
71
+ * deed coming or going moves nothing.
72
+ */
73
+ action?: Action;
74
+ };
75
+ /**
76
+ * One setting of a settings page: its name and a quiet hint on the left, the control beside them in a column of
77
+ * 300 px, so the values stand in one line down the page and are read at a glance. On a narrow column the control
78
+ * goes under the name. The control is the same as in a `Field`: `Input`, `Select`, `DateInput`, `TimeInput`, `Check` or `Choice`.
79
+ */
80
+ export declare const Setting: (props: SettingProps) => JSX.Element;
81
+ /** The field around a control, if any: its ids, its name and whether it is required. */
82
+ export declare const useField: () => FieldIds | undefined;
83
+ type InputBase = {
84
+ /** The text in the field. */
26
85
  value?: string;
86
+ /** A quiet example while the field is empty. */
27
87
  placeholder?: string;
88
+ /**
89
+ * The kind of text, which picks the phone's keyboard; `text` when not set. The search of a head is `HeadSearch`,
90
+ * which brings its symbol, "/" and its words along. A plain `search` in a head keeps its field from 768 px; on the
91
+ * phone, where the other head actions hide, it stands as its symbol, and a tap goes into the field, which opens over
92
+ * the head while it has the focus and folds back, its words kept, when the focus leaves or on Escape (unless
93
+ * `onKeyDown` takes Escape itself with `preventDefault`). Where a host offers the
94
+ * page's search in a bar of its own (`data-k2-host-search` on the v2 scope, as the Cloud shell's phone bar does),
95
+ * the folded search leaves the head and the order of the Tab key on the phone, and the host focuses it; a head with
96
+ * a path then opens it over the content's first row.
97
+ */
28
98
  type?: "text" | "email" | "number" | "search" | "tel" | "url" | "password";
99
+ /** An amount at the end of the field, with tabular figures; pair with `end` for its unit. */
100
+ align?: "end";
29
101
  /** A Tabler icon before the text, such as `search`. */
30
102
  icon?: string;
31
- /** A text of several lines (80 px). */
103
+ /** A text of several lines: it shows `rows` lines at least and grows with its words up to ten lines, then scrolls. */
32
104
  multiline?: boolean;
105
+ /** The lines a multi-line field shows at least; 3 (80 px) when not set. */
106
+ rows?: number;
107
+ /** The smallest number a `number` field takes. */
33
108
  min?: number;
109
+ /** The largest number a `number` field takes. */
34
110
  max?: number;
111
+ /** The name the value is sent under in a form; the field's name by default. */
35
112
  name?: string;
113
+ /** The `id` of the form the value is sent with, when the field does not stand inside it (a form of the server). */
114
+ form?: string;
115
+ /**
116
+ * The field takes the focus as the page opens, already in the server's markup: only for the one field a page is for,
117
+ * such as the code to enter on a page of its own; never in a dialog or beside other content.
118
+ */
119
+ autofocus?: boolean;
36
120
  /** A name when the input stands without a Field, such as a search in a head. */
37
121
  label?: string;
122
+ /** Called with the new text on every change. */
38
123
  onInput?: (value: string) => void;
39
124
  /**
40
125
  * A key in the field, such as Enter to search or Escape to clear; the handler may call `preventDefault`. While
@@ -47,72 +132,420 @@ export type InputProps = {
47
132
  * function that takes it.
48
133
  */
49
134
  ref?: HTMLInputElement | HTMLTextAreaElement | ((element: HTMLInputElement | HTMLTextAreaElement) => void);
50
- /** At the end inside the field: a symbol, or a ghost icon button such as the filter of a search. */
135
+ /** At the end inside the field: a quiet unit, a symbol, or a ghost icon button such as the filter of a search. */
51
136
  end?: JSX.Element;
137
+ /** The value cannot be changed now: a grey well; the browser leaves it out of a form that is sent. */
138
+ disabled?: boolean;
139
+ /**
140
+ * What the browser and a password manager may fill in, such as `username`, `current-password`, `new-password`,
141
+ * `one-time-code` or `off`. It stands in the server's markup, where a password manager reads it.
142
+ */
143
+ autocomplete?: JSX.InputHTMLAttributes<HTMLInputElement>["autocomplete"];
144
+ /** The most characters the field takes. */
145
+ maxLength?: number;
146
+ /** The keyboard a phone shows, such as `numeric` for a code or `email`; the kind of text (`type`) stays. */
147
+ inputMode?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
148
+ /** Whether the browser marks misspelt words; `false` for names, codes, keys and addresses. */
149
+ spellcheck?: boolean;
150
+ /** Whether a phone's keyboard starts words or sentences with a capital; `off` for names, codes and keys. */
151
+ autocapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters";
152
+ };
153
+ /** Where a search sends its text (see `InputProps.send`). */
154
+ export type InputSend = {
155
+ /** The page the search loads, such as `/app/accounts/groups`. */
156
+ action: string;
157
+ /** The rest of the address that the search keeps, as name and value; the field's own name is left out. */
158
+ params?: Iterable<readonly [string, string]>;
159
+ /** Searches in place with the text, where JavaScript runs; without it the page loads. */
160
+ onSearch?: (text: string) => void;
52
161
  };
162
+ export type InputProps = InputBase & ({
163
+ send?: undefined;
164
+ } | {
165
+ /**
166
+ * A search that reaches the server also without JavaScript (with `type="search"`): the field is its own GET
167
+ * form, named by `label`, and Enter loads `action` with `params` (the rest of the address, such as a list's
168
+ * filters) and the text under `name`, which it needs. Where JavaScript runs, `onSearch` takes Enter instead and
169
+ * the page searches in place. The field keeps its place and look, also in a head and folded on the phone. Never
170
+ * put it inside another `<form>`: forms do not nest, and the browser drops the inner one.
171
+ */
172
+ send: InputSend;
173
+ /** The name the search text is sent under, such as `q`. */
174
+ name: string;
175
+ });
176
+ /**
177
+ * What `HeadSearch` adds to the `Input` it places (`head-search.tsx`): the marks, handlers and `ref` of the field's
178
+ * box, for the head's search as its symbol, its overlay, "/", its words and its held menu. It comes through this
179
+ * context, so an `Input` elsewhere carries none of its code.
180
+ */
181
+ export type HeadSearchKit = (props: InputProps, end: () => unknown) => JSX.HTMLAttributes<HTMLElement> | undefined;
182
+ export declare const HeadSearchContext: import("solid-js").Context<HeadSearchKit | undefined>;
53
183
  /** A round text field: 36 px, 1 px edge, a blue ring on focus. In a field it takes its name and error. */
54
184
  export declare const Input: (props: InputProps) => JSX.Element;
185
+ export type SelectOption = {
186
+ /** The value that is sent. */
187
+ value: string;
188
+ /** The words shown for it. */
189
+ label: string;
190
+ /** The option cannot be chosen now. */
191
+ disabled?: boolean;
192
+ };
55
193
  export type SelectProps = {
56
- options: readonly (string | {
57
- value: string;
58
- label: string;
59
- })[];
194
+ /** The options: words, or a value with its words. */
195
+ options: readonly (string | SelectOption)[];
60
196
  /** The chosen value. With `onChange` the caller holds it; without, the selection keeps the choice itself. */
61
197
  value?: string;
198
+ /** Called with the value a person chose. */
62
199
  onChange?: (value: string) => void;
200
+ /** The words while nothing is chosen, such as "Kunde wählen". */
63
201
  placeholder?: string;
202
+ /** The name the value is sent under in a form; the field's name by default. */
64
203
  name?: string;
204
+ /** A name for the selection when it stands without a Field. */
65
205
  label?: string;
206
+ /**
207
+ * The choice cannot be changed now (while saving, or a setting the person may not change): a grey well like a
208
+ * disabled input, the chosen value still shown; it takes no focus and the browser leaves it out of a sent form. One
209
+ * option that cannot be chosen takes `disabled` in its `SelectOption`.
210
+ */
211
+ disabled?: boolean;
66
212
  };
67
213
  /**
68
- * The closed shape of a selection: the value and a chevron in the round field. (The list opens with the behaviour
69
- * layer; until then it is a native select laid over the shape, so it works with the keyboard and in forms.) The
70
- * shape always shows the value that is chosen now.
214
+ * One value from a list: the round field shows it with a chevron, and the list opens below it with the keyboard,
215
+ * typeahead and a check at the chosen option (the behaviour layer on the ui-sdk core). The list is at least as wide as
216
+ * its field. The value reaches a form through core's form input: sent under the field's name, validated when the
217
+ * field is required, put back by the form's reset, with a `change` event.
218
+ *
219
+ * The server and the first picture draw the trigger and the form input alone; the behaviour (`select-live.tsx`) loads
220
+ * when the page is idle and takes their place when someone opens the select. Until it is there one opening (a press,
221
+ * Enter, Space or an arrow) waits for it, quietly busy, and Escape or leaving the trigger lets it go; other keys do
222
+ * nothing yet. If it cannot load, the field says so and the next press asks again.
71
223
  */
72
224
  export declare const Select: (props: SelectProps) => JSX.Element;
225
+ export type CodeInputProps = {
226
+ /** The code. With `onInput` the caller holds it; without, the field keeps it. */
227
+ value?: string;
228
+ onInput?: (value: string) => void;
229
+ /** The last box is filled: the whole code, such as to check it at once. */
230
+ onComplete?: (value: string) => void;
231
+ /** How many characters the code has, one box each (6 by default). */
232
+ length?: number;
233
+ /** Which characters it takes: `digits` (the default, with the number keyboard on a phone) or `alphanumeric`. */
234
+ characters?: "digits" | "alphanumeric";
235
+ /** The name the value is sent under in a form; the field's name by default. */
236
+ name?: string;
237
+ /** A name when the code stands without a Field. */
238
+ label?: string;
239
+ disabled?: boolean;
240
+ /**
241
+ * What the browser may fill in: `one-time-code` (the default) lets a phone offer the code from a message and a
242
+ * password manager fill it; `off` for a code shown on another device, such as a pairing code.
243
+ */
244
+ autocomplete?: "one-time-code" | "off";
245
+ };
246
+ /**
247
+ * A one-time or pairing code: a box per character (36 px, round like an input), one real input under them that takes
248
+ * typing, pasting and autofill, and is what assistive technology hears and a form sends (the behaviour layer on the
249
+ * ui-sdk core).
250
+ */
251
+ export declare const CodeInput: (props: CodeInputProps) => JSX.Element;
252
+ export type TagsInputProps = {
253
+ /** The values, in their order. With `onChange` the caller holds them; without, the field keeps them. */
254
+ value?: readonly string[];
255
+ onChange?: (values: string[]) => void;
256
+ /** Values to pick from while typing; any other text becomes a value too, on Enter. */
257
+ suggestions?: readonly string[];
258
+ placeholder?: string;
259
+ /** The name the values are sent under, one entry each; the field's name by default. */
260
+ name?: string;
261
+ /** A name when the field stands without a Field. */
262
+ label?: string;
263
+ disabled?: boolean;
264
+ /**
265
+ * `email`: e-mail addresses, as the To of a message. A comma, a semicolon or a new line ends an address too, a
266
+ * paste of several becomes several chips (`Name <address>` and `"Berg, Anna" <address>` as well), and a text that is
267
+ * no address stays in the field with a sentence why, and keeps the form from being sent. A value is the address in
268
+ * the form it was given (`Name <address>`); the same address twice, in any case, is one chip. The phone shows its
269
+ * keyboard for addresses.
270
+ */
271
+ type?: "email";
272
+ /** How many values the field takes; more are not added, and a sentence says so. With `email` 200 (one To of Mail). */
273
+ max?: number;
274
+ };
275
+ /**
276
+ * Several short values, such as domains or server addresses: each a chip with its remove button, typed into the field
277
+ * after them; Enter adds the text, Backspace in an empty field takes the last chip back (the behaviour layer on the
278
+ * ui-sdk core). The field grows by a line when the chips need one.
279
+ */
280
+ export declare const TagsInput: (props: TagsInputProps) => JSX.Element;
281
+ export type ImageInputProps = {
282
+ /** The address of the image (a URL or a data URL); `null` or empty for none. */
283
+ value?: string | null;
284
+ /** The new image, made from the picked file by `transform`, or `null` when it was removed. */
285
+ onChange: (value: string | null) => void;
286
+ /**
287
+ * Turns the picked file into the value. By default a square picture of 512 px as a data URL (as for an avatar or a
288
+ * logo); pass your own to upload the file and return its address.
289
+ */
290
+ transform?: (file: File) => Promise<string>;
291
+ /** The file types to take, like the `accept` attribute; images by default. */
292
+ accept?: string;
293
+ /** A round preview, for a person's picture. */
294
+ round?: boolean;
295
+ /** The name the value is sent under in a form; the field's name by default. */
296
+ name?: string;
297
+ /** A name when the picker stands without a Field. */
298
+ label?: string;
299
+ disabled?: boolean;
300
+ };
301
+ /**
302
+ * An image to pick: its preview (48 px), a button to choose or change it and one to remove it; a file dropped or
303
+ * pasted on it counts as picked (the behaviour layer on the ui-sdk core). While the file is read, the choose button
304
+ * turns busy; a file that cannot be read says so at the field.
305
+ */
306
+ export declare const ImageInput: (props: ImageInputProps) => JSX.Element;
307
+ export type SliderProps = {
308
+ /** The number. With `onChange` the caller holds it; without, the slider keeps it. */
309
+ value?: number;
310
+ /** Called on every step of a drag or a key. */
311
+ onChange?: (value: number) => void;
312
+ /** Called once a drag or a key press ends, with the final number: for saving. */
313
+ onCommit?: (value: number) => void;
314
+ /** The smallest number (0 by default). */
315
+ min?: number;
316
+ /** The largest number (100 by default). */
317
+ max?: number;
318
+ /** The step between two numbers (1 by default). */
319
+ step?: number;
320
+ /** How the number reads at the end and for assistive technology, such as `{ style: "percent" }` or a unit. */
321
+ format?: Intl.NumberFormatOptions;
322
+ /** A unit the number format has no word for, such as `px`: it reads after the number, also for assistive technology. */
323
+ unit?: string;
324
+ /** The name the number is sent under in a form; the field's name by default. */
325
+ name?: string;
326
+ /** A name when the slider stands without a Field. */
327
+ label?: string;
328
+ /** The number cannot be changed now: dimmed, the value still shown. */
329
+ disabled?: boolean;
330
+ };
331
+ /**
332
+ * A number on a range, such as a volume, a zoom or an opacity: a track with one round thumb in the control's 36 px, the
333
+ * number as it reads at the end. Arrows, Page keys, Home and End move it; a phone's screen reader adjusts it with its
334
+ * own gestures (the behaviour layer on the ui-sdk core).
335
+ */
336
+ export declare const Slider: (props: SliderProps) => JSX.Element;
337
+ export type ColorInputProps = {
338
+ /** The colour as `#rrggbb`. With `onChange` the caller holds it; without, the picker keeps it. */
339
+ value?: string;
340
+ /** Called on every change, with `#rrggbb`. */
341
+ onChange?: (value: string) => void;
342
+ /** Called once a drag, a typed colour or a press on a swatch ends: for saving. */
343
+ onCommit?: (value: string) => void;
344
+ /** Colours to pick at a press, such as the colours of the app's areas. */
345
+ swatches?: readonly string[];
346
+ /**
347
+ * `false`: the colour is one of `swatches`, such as the colour of a space: only the row of swatches, one Tab stop,
348
+ * the arrows move and Enter or Space picks; no code and no picker of an own colour.
349
+ */
350
+ custom?: boolean;
351
+ /**
352
+ * What the colour marks, shown in the chosen colour before the swatches, such as the space's `Mark` with
353
+ * `color={value}`: the caller tints it, so it follows each pick. With `custom={false}`.
354
+ */
355
+ preview?: JSX.Element;
356
+ /** The name the colour is sent under in a form; the field's name by default. */
357
+ name?: string;
358
+ /** A name when the picker stands without a Field. */
359
+ label?: string;
360
+ /** The colour cannot be changed now: dimmed, the colour still shown. */
361
+ disabled?: boolean;
362
+ };
363
+ /**
364
+ * A colour: its swatch and its code (any CSS colour typed in becomes `#rrggbb` on Enter), a surface of saturation and
365
+ * brightness and a hue slider under it, and the given swatches; arrows move each thumb (the behaviour layer on the
366
+ * ui-sdk core).
367
+ */
368
+ export declare const ColorInput: (props: ColorInputProps) => JSX.Element;
73
369
  export type DateInputProps = {
370
+ /** The date as a date key ("2026-12-15") or as the locale writes it ("15.12.2026"); the field shows the second. */
74
371
  value?: string;
372
+ /**
373
+ * A picked or typed date as a date key ("2026-12-15"), or "" when the field was emptied. Typed text applies on Enter
374
+ * or when the field is left; text that is no date marks the field and applies nothing.
375
+ */
75
376
  onInput?: (value: string) => void;
377
+ /** A quiet example date while the field is empty. */
76
378
  placeholder?: string;
379
+ /** The name a form sends the date key under; the field's name by default. */
77
380
  name?: string;
381
+ /** A name when the date stands without a Field. */
78
382
  label?: string;
383
+ /**
384
+ * The zone that says which day today is, for words such as "heute" or "+3" and the calendar's today; "UTC" by
385
+ * default. Give the person's zone, the same on the server and in the island, as for `FilterBar`.
386
+ */
387
+ timeZone?: string;
79
388
  };
80
- /** The shape of a date field: the date and a calendar symbol. (The picker opens with the behaviour layer.) */
389
+ /**
390
+ * A date field: the date typed in the order of the locale ("24.11.2026", also "heute", "+3", "Mi"), and the calendar
391
+ * symbol at its end opens `DatePicker` below it. Picking a day fills the field and gives the focus back to it.
392
+ */
81
393
  export declare const DateInput: (props: DateInputProps) => JSX.Element;
394
+ export type TimeInputProps = {
395
+ /** The time of day as "HH:MM" on the 24-hour clock ("09:30"); "" or left out while there is none. */
396
+ value?: string;
397
+ /**
398
+ * A typed time as "HH:MM", or "" when the field was emptied. Typed text applies on Enter or when the field is left;
399
+ * an arrow key applies at once. Text that is no time marks the field and applies nothing.
400
+ */
401
+ onInput?: (value: string) => void;
402
+ /**
403
+ * The end of a span of a day, such as opening hours until midnight: "24" or "24:00" is the midnight that ends the
404
+ * day and applies as "24:00". Without it a time runs from 00:00 to 23:59.
405
+ */
406
+ dayEnd?: boolean;
407
+ /** The minutes the Up and Down keys move the time, on a grid of them; 15 by default. */
408
+ step?: number;
409
+ /** A quiet example time while the field is empty, such as "09:00". */
410
+ placeholder?: string;
411
+ /** The name a form sends the "HH:MM" value under; the field's name by default. */
412
+ name?: string;
413
+ /** A name when the time stands without a Field. */
414
+ label?: string;
415
+ disabled?: boolean;
416
+ };
417
+ /**
418
+ * A time of day: typed as people write it ("9", "930", "9:30", "14 Uhr", "2:30 pm"), shown as the locale writes it
419
+ * ("09:30", "9:30 AM"), sent as "HH:MM". Up and Down move it by `step` minutes. It has the metrics of `Input`, and the
420
+ * phone offers digits where the locale's clock needs none of its words.
421
+ */
422
+ export declare const TimeInput: (props: TimeInputProps) => JSX.Element;
423
+ export type DateTimeInputProps = {
424
+ /** The moment as a wall time "YYYY-MM-DDTHH:MM" ("2026-12-01T09:30"); "" or left out while there is none. */
425
+ value?: string;
426
+ /** The day and the time as "YYYY-MM-DDTHH:MM" once both are there, "" while one of them is missing. */
427
+ onInput?: (value: string) => void;
428
+ /** The zone that says which day "heute" is in the day's field; "UTC" by default, as for `DateInput`. */
429
+ timeZone?: string;
430
+ /** The name a form sends the "YYYY-MM-DDTHH:MM" value under; the field's name by default. */
431
+ name?: string;
432
+ /** A name when it stands without a Field. */
433
+ label?: string;
434
+ };
435
+ /**
436
+ * A moment as a day and a time side by side under one label, such as "Von" of a span: a `DateInput` and a `TimeInput`
437
+ * that the field's label names as one group ("Tag" and "Uhrzeit" name each part), also side by side on the phone.
438
+ */
439
+ export declare const DateTimeInput: (props: DateTimeInputProps) => JSX.Element;
82
440
  export type CheckProps = {
441
+ /** The words beside the box; they say what is turned on. */
83
442
  label: JSX.Element;
443
+ /** Keeps the label for assistive technology only; the control is as wide as its mark. */
444
+ labelHidden?: boolean;
445
+ /** The name the box is sent under in a form. */
84
446
  name?: string;
85
447
  /** Set, not set, or mixed (some of a group). */
86
448
  checked?: boolean | "mixed";
87
449
  /** A switch instead of a box: on and off take effect at once. */
88
450
  switch?: boolean;
451
+ /** The box cannot be changed now: dimmed; its words say why. */
89
452
  disabled?: boolean;
453
+ /** Called with the new state when a person changes it. */
90
454
  onChange?: (checked: boolean) => void;
455
+ /** A quiet line under the words, such as what turning it on does; assistive technology reads it with the box. */
456
+ description?: string;
91
457
  };
92
458
  /**
93
459
  * A box, or a switch, with its label. The mark takes exactly one 20 px text line and never aligns by baseline, so it
94
460
  * sits on the same pixel empty, set and mixed (guard: mark-geometry).
95
461
  */
96
462
  export declare const Check: (props: CheckProps) => JSX.Element;
97
- /** A box without visible words, named for assistive technology (internal: "select all", "select this row"). */
98
- export declare const MarkCheck: (props: {
463
+ /**
464
+ * A box without visible words, named for assistive technology by a `label` or by the element `labelledBy` (internal:
465
+ * "select all", "select this row", a row's box named by its title).
466
+ */
467
+ export declare const MarkCheck: (props: ({
99
468
  label: string;
469
+ labelledBy?: undefined;
470
+ } | {
471
+ label?: undefined;
472
+ labelledBy: string;
473
+ }) & {
100
474
  checked?: boolean | "mixed";
101
475
  onChange?: (checked: boolean) => void;
476
+ /** `false`: out of the tab order, where the thing around it takes the focus and Space (a tile of a grid). */
477
+ focusable?: false;
102
478
  }) => JSX.Element;
479
+ /** An option of a `Choice`: words, or a value with its words and, for a person, their face before the words. */
480
+ export type ChoiceOption = string | {
481
+ value: string;
482
+ label: string;
483
+ person?: Person;
484
+ /** The short form an `inline` choice shows, such as "Mo"; `label` still names the option ("Montag"). */
485
+ short?: string;
486
+ };
103
487
  export type ChoiceProps = {
488
+ /** The name the choice is sent under in a form. */
104
489
  name: string;
105
- options: readonly (string | {
106
- value: string;
107
- label: string;
108
- })[];
109
- value?: string;
490
+ /** The few options, all visible: words, or a value with its words (and a `person` whose face leads them). */
491
+ options: readonly ChoiceOption[];
110
492
  /** The question of the choice when it stands without a Field: shown as the label line of a field of its own. */
111
493
  label?: string;
494
+ /** The choice cannot be changed now: every option dimmed, the chosen one still shown. */
495
+ disabled?: boolean;
496
+ } & ({
497
+ multiple?: false;
498
+ /** The chosen value. */
499
+ value?: string;
500
+ /** Called with the value a person chose. */
112
501
  onChange?: (value: string) => void;
113
- };
502
+ } | {
503
+ /** Several options may be chosen: boxes instead of points; the form sends one entry per chosen value. */
504
+ multiple: true;
505
+ /**
506
+ * A few short options as one row of chips to press instead of a column of boxes, such as the days of a week:
507
+ * 36 px high like a field, a chosen one in the accent (tint and edge). The row wraps on a narrow column. Give each option its `short`
508
+ * form where its words are long.
509
+ */
510
+ inline?: boolean;
511
+ /** The chosen values. */
512
+ value?: readonly string[];
513
+ /** Called with all chosen values after each change. */
514
+ onChange?: (values: string[]) => void;
515
+ });
114
516
  /**
115
- * A few visible options, one of which is chosen: round points, each on one 20 px text line. With a `label` and no
116
- * Field around it, it stands in a field of its own, so its question is visible and names the group.
517
+ * A few visible options, one of which is chosen: round points, each on one 20 px text line; with `multiple` boxes,
518
+ * several of which are chosen. An option for a person leads with their face (20 px), and is named by its words alone.
519
+ * With a `label` and no Field around it, it stands in a field of its own, so its question is visible and names the
520
+ * group.
117
521
  */
118
522
  export declare const Choice: (props: ChoiceProps) => JSX.Element;
523
+ export type RatingProps = {
524
+ /** The chosen stars, 1 to 5; leave out while nobody has rated. */
525
+ value?: number;
526
+ /** Called with the stars a person chose. Without it the rating keeps the choice itself. */
527
+ onChange?: (value: number) => void;
528
+ /** The name the stars are sent under in a form; the field's name by default. */
529
+ name?: string;
530
+ /** The question of the rating when it stands without a Field: shown as the label line of a field of its own. */
531
+ label?: string;
532
+ /** The rating cannot be changed now: every star dimmed, the chosen ones still shown. */
533
+ disabled?: boolean;
534
+ readOnly?: false;
535
+ } | {
536
+ /**
537
+ * Shows a given rating, such as the stars a person sent or an average of 4.2 (part of a star fills), as one
538
+ * small picture with its words ("4,2 von 5 Sternen"); it cannot be changed.
539
+ */
540
+ readOnly: true;
541
+ /** The rating shown, 0 to 5. */
542
+ value: number;
543
+ };
544
+ /**
545
+ * Stars from 1 to 5 to rate something, such as a visit: five large stars as one radio group (one Tab stop, the arrows
546
+ * move and choose, Space and Enter choose), each 56 px high and at least 44 px wide, in one row on the phone too. Each
547
+ * star is named by its value ("3 von 5 Sternen"); a Field gives the question, `required`, the hint and the error. With
548
+ * `readOnly` it shows a given rating as small stars in a line, part of a star filled for an average.
549
+ */
550
+ export declare const Rating: (props: RatingProps) => JSX.Element;
551
+ export {};
@@ -0,0 +1,23 @@
1
+ import { type JSX } from "solid-js";
2
+ import type { Action } from "./types";
3
+ /** One deed that cannot be taken back, such as deleting a space. */
4
+ export type DangerItem = {
5
+ /** What the deed is, such as "Space löschen". */
6
+ title: string;
7
+ /** What it does and that it cannot be undone, such as "Löscht 41 offene Einträge … Das lässt sich nicht rückgängig machen." */
8
+ text: JSX.Element;
9
+ /** The deed: a framed button in the colour of wrong at the end. Ask with `Dialog.confirm` before it acts. */
10
+ action: Action;
11
+ };
12
+ export type DangerZoneProps = {
13
+ /** A name for the zone, such as "Gefahrenbereich", for assistive technology. */
14
+ label: string;
15
+ /** The deeds, each a row; one or a few. */
16
+ items: readonly DangerItem[];
17
+ };
18
+ /**
19
+ * The deeds of a page that cannot be taken back (delete, hand over, archive for good), at its end: a frame with a thin
20
+ * edge in the colour of wrong, a row per deed with its title, its sentence and its button at the end, lines in the
21
+ * same colour between the rows. On a narrow screen the words wrap beside the button, which keeps its place.
22
+ */
23
+ export declare const DangerZone: (props: DangerZoneProps) => JSX.Element;
@@ -0,0 +1,28 @@
1
+ /** The words of DatePicker, DateInput and Heat; month and weekday names come from the locale itself. */
2
+ declare const dateMessages: import("@k2b/stdlib").Catalog<{
3
+ calendar: string;
4
+ previousMonth: string;
5
+ nextMonth: string;
6
+ previousWeeks: string;
7
+ nextWeeks: string;
8
+ time: string;
9
+ day: string;
10
+ apply: string;
11
+ clear: string;
12
+ openCalendar: string;
13
+ unreadable: string;
14
+ empty: string;
15
+ timeUnreadable: ({ example }: {
16
+ example: string;
17
+ }) => string;
18
+ heatDay: ({ what, day }: {
19
+ what: string;
20
+ day: string;
21
+ }) => string;
22
+ heatLess: string;
23
+ heatMore: string;
24
+ }>;
25
+ export type DateMessages = ReturnType<(typeof dateMessages)["resolve"]>["t"];
26
+ export declare const useDateMessages: () => (() => DateMessages);
27
+ export declare const checkDateMessages: () => import("@k2b/stdlib").CatalogIssue[];
28
+ export {};