lintje 0.7.0 → 0.8.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 (263) hide show
  1. package/NOTICE.md +2 -0
  2. package/README.md +2 -2
  3. package/dist-elements/actions.js +1 -1
  4. package/dist-elements/chat.js +1 -1
  5. package/dist-elements/chunks/{addon-CFoSG70u.js → addon-B-nZKTVZ.js} +2 -2
  6. package/dist-elements/chunks/avatar-C1Wj9drG.js +1 -0
  7. package/dist-elements/chunks/axes-DPj3RyPk.js +129 -0
  8. package/dist-elements/chunks/base-lxVG98kf.js +226 -0
  9. package/dist-elements/chunks/chart-styles-sK3xVPFj.js +45 -0
  10. package/dist-elements/chunks/{date-format-5bii3QLP.js → date-format-DvDaZtFc.js} +1 -1
  11. package/dist-elements/chunks/{dialog-close-CzMRXkJ6.js → dialog-close-DpjJ6JbT.js} +1 -1
  12. package/dist-elements/chunks/disclosure-Ch2SwnkG.js +1 -0
  13. package/dist-elements/chunks/disclosure-o3Agc4Ji.js +20 -0
  14. package/dist-elements/chunks/download-C74iql1Q.js +18 -0
  15. package/dist-elements/chunks/{focus-trap-BDxiHED1.js → focus-trap-xGyZPSzU.js} +1 -1
  16. package/dist-elements/chunks/frame-BMR48Vea.js +1 -0
  17. package/dist-elements/chunks/{input-C7qx0e4p.js → input-C7MnFu5X.js} +4 -4
  18. package/dist-elements/chunks/input-CCT6CcW1.js +1 -0
  19. package/dist-elements/chunks/month-grid-CoYFI13w.js +26 -0
  20. package/dist-elements/chunks/{other-BaLStKaf.js → other-D_wlqvPA.js} +3 -3
  21. package/dist-elements/chunks/player-BW0tPg9_.js +39 -0
  22. package/dist-elements/chunks/{prose-DOF7h3je.js → prose-aNcSsHId.js} +1 -1
  23. package/dist-elements/chunks/search-text-i-Em9oIy.js +1 -0
  24. package/dist-elements/chunks/sentence-CJX3W7W5.js +3 -0
  25. package/dist-elements/chunks/stagger-DYloMMgF.js +27 -0
  26. package/dist-elements/chunks/wheel-Co2Dpj0Q.js +1 -0
  27. package/dist-elements/content.js +1 -1
  28. package/dist-elements/core.js +1 -1
  29. package/dist-elements/custom-elements.json +1298 -204
  30. package/dist-elements/data-types.json +2836 -622
  31. package/dist-elements/feedback.js +1 -1
  32. package/dist-elements/graph.d.ts +1 -0
  33. package/dist-elements/graph.js +1 -0
  34. package/dist-elements/guides/events.md +7 -3
  35. package/dist-elements/guides/loading.md +12 -9
  36. package/dist-elements/layout.js +1 -1
  37. package/dist-elements/lintje.js +3002 -2246
  38. package/dist-elements/overlays.js +1 -1
  39. package/dist-elements/skills/lintje/SKILL.md +26 -5
  40. package/dist-elements/skills/lintje/check.mjs +180 -0
  41. package/dist-elements/skills/lintje/reference.mjs +24 -3
  42. package/dist-elements/tables.js +1 -1
  43. package/dist-elements/tag/accordion.d.ts +1 -0
  44. package/dist-elements/tag/accordion.js +6 -0
  45. package/dist-elements/tag/activity-log.js +13 -11
  46. package/dist-elements/tag/ai-label.js +5 -5
  47. package/dist-elements/tag/announcement.js +2 -2
  48. package/dist-elements/tag/app-search.js +19 -19
  49. package/dist-elements/tag/attachment.d.ts +1 -0
  50. package/dist-elements/tag/attachment.js +54 -0
  51. package/dist-elements/tag/audio-player.js +42 -42
  52. package/dist-elements/tag/badge.js +1 -1
  53. package/dist-elements/tag/breadcrumbs.js +8 -8
  54. package/dist-elements/tag/button.js +1 -1
  55. package/dist-elements/tag/card-list.js +9 -9
  56. package/dist-elements/tag/card.js +41 -35
  57. package/dist-elements/tag/chart.js +682 -419
  58. package/dist-elements/tag/chat-answer.js +49 -47
  59. package/dist-elements/tag/chat-composer.js +100 -40
  60. package/dist-elements/tag/chat-message.js +16 -11
  61. package/dist-elements/tag/chat-questions.d.ts +1 -0
  62. package/dist-elements/tag/chat-questions.js +133 -0
  63. package/dist-elements/tag/chat-steps.d.ts +1 -0
  64. package/dist-elements/tag/chat-steps.js +52 -0
  65. package/dist-elements/tag/chat-strip.js +27 -27
  66. package/dist-elements/tag/chat-suggestions.js +9 -10
  67. package/dist-elements/tag/chat.js +70 -42
  68. package/dist-elements/tag/checkbox-group.js +8 -8
  69. package/dist-elements/tag/checkbox.js +7 -7
  70. package/dist-elements/tag/code.js +9 -9
  71. package/dist-elements/tag/combobox.js +22 -22
  72. package/dist-elements/tag/conflict-alert.js +7 -7
  73. package/dist-elements/tag/copy-button.js +9 -9
  74. package/dist-elements/tag/data-table.js +237 -232
  75. package/dist-elements/tag/date-input.js +15 -39
  76. package/dist-elements/tag/date-range.js +21 -46
  77. package/dist-elements/tag/description-list.js +21 -19
  78. package/dist-elements/tag/dialog.js +7 -7
  79. package/dist-elements/tag/document-viewer.js +23 -23
  80. package/dist-elements/tag/drawer.js +9 -9
  81. package/dist-elements/tag/empty-state.js +1 -1
  82. package/dist-elements/tag/error-page.js +11 -11
  83. package/dist-elements/tag/error-summary.js +12 -12
  84. package/dist-elements/tag/expander.js +5 -5
  85. package/dist-elements/tag/explainer.js +5 -5
  86. package/dist-elements/tag/field.js +4 -4
  87. package/dist-elements/tag/file-upload.js +32 -42
  88. package/dist-elements/tag/filter-bar.js +20 -20
  89. package/dist-elements/tag/filter-sheet.js +3 -3
  90. package/dist-elements/tag/filter-zone.js +15 -15
  91. package/dist-elements/tag/find.js +16 -16
  92. package/dist-elements/tag/footer.js +14 -14
  93. package/dist-elements/tag/form-actions.js +2 -2
  94. package/dist-elements/tag/form-section.js +3 -3
  95. package/dist-elements/tag/form.js +3 -3
  96. package/dist-elements/tag/gallery.js +10 -10
  97. package/dist-elements/tag/graph.d.ts +1 -0
  98. package/dist-elements/tag/graph.js +102 -0
  99. package/dist-elements/tag/grid-item.js +1 -1
  100. package/dist-elements/tag/grid.js +1 -1
  101. package/dist-elements/tag/hero.js +7 -7
  102. package/dist-elements/tag/highlight.js +4 -4
  103. package/dist-elements/tag/icon-button.js +1 -1
  104. package/dist-elements/tag/icon.js +1 -1
  105. package/dist-elements/tag/job-list.js +4 -4
  106. package/dist-elements/tag/key.d.ts +1 -0
  107. package/dist-elements/tag/key.js +1 -0
  108. package/dist-elements/tag/kpi-row.js +5 -5
  109. package/dist-elements/tag/kpi.js +70 -70
  110. package/dist-elements/tag/level-meter.js +8 -8
  111. package/dist-elements/tag/list.js +43 -42
  112. package/dist-elements/tag/log-viewer.js +68 -68
  113. package/dist-elements/tag/logo.js +23 -23
  114. package/dist-elements/tag/map.js +154 -153
  115. package/dist-elements/tag/menu-button.js +34 -34
  116. package/dist-elements/tag/modal.js +9 -9
  117. package/dist-elements/tag/multiselect.js +21 -22
  118. package/dist-elements/tag/note.js +2 -2
  119. package/dist-elements/tag/notifications.js +23 -23
  120. package/dist-elements/tag/number-input.js +18 -18
  121. package/dist-elements/tag/page-header.js +13 -13
  122. package/dist-elements/tag/pagination.js +26 -26
  123. package/dist-elements/tag/person-group.d.ts +1 -0
  124. package/dist-elements/tag/person-group.js +36 -0
  125. package/dist-elements/tag/person.d.ts +1 -0
  126. package/dist-elements/tag/person.js +11 -0
  127. package/dist-elements/tag/popover.js +1 -1
  128. package/dist-elements/tag/progress-bar.js +1 -1
  129. package/dist-elements/tag/prose.js +1 -1
  130. package/dist-elements/tag/qr-code.js +5 -5
  131. package/dist-elements/tag/radio-group.js +12 -12
  132. package/dist-elements/tag/range.js +24 -24
  133. package/dist-elements/tag/recording-status.js +9 -9
  134. package/dist-elements/tag/repeater.js +5 -5
  135. package/dist-elements/tag/segmented.js +8 -8
  136. package/dist-elements/tag/select.js +8 -8
  137. package/dist-elements/tag/shell.js +199 -199
  138. package/dist-elements/tag/skeleton.js +1 -1
  139. package/dist-elements/tag/slot-picker.js +15 -15
  140. package/dist-elements/tag/sortable-list.js +20 -20
  141. package/dist-elements/tag/spinner.js +1 -1
  142. package/dist-elements/tag/split-pane.js +9 -9
  143. package/dist-elements/tag/status-dot.js +1 -1
  144. package/dist-elements/tag/stepper.js +14 -14
  145. package/dist-elements/tag/streaming-text.js +13 -13
  146. package/dist-elements/tag/sub-nav.js +20 -20
  147. package/dist-elements/tag/tabs.js +37 -38
  148. package/dist-elements/tag/tag-input.js +28 -28
  149. package/dist-elements/tag/text-editor.js +25 -24
  150. package/dist-elements/tag/text-input.js +21 -21
  151. package/dist-elements/tag/textarea.js +11 -11
  152. package/dist-elements/tag/tile.js +1 -1
  153. package/dist-elements/tag/time-input.js +13 -13
  154. package/dist-elements/tag/toast.js +8 -8
  155. package/dist-elements/tag/toggle.js +5 -5
  156. package/dist-elements/tag/toggletip.js +6 -6
  157. package/dist-elements/tag/token-value.js +2 -2
  158. package/dist-elements/tag/tooltip.js +1 -1
  159. package/dist-elements/tag/transcript.js +32 -32
  160. package/dist-elements/tag/translator.js +6 -6
  161. package/dist-elements/tag/tree-view.js +22 -22
  162. package/dist-elements/tag/user-menu.js +37 -36
  163. package/dist-elements/tag/video-player.js +17 -14
  164. package/dist-elements/tokens.css +52 -1
  165. package/dist-elements/tokens.json +701 -313
  166. package/dist-elements/types/bundle/chat.d.ts +2 -0
  167. package/dist-elements/types/bundle/content.d.ts +2 -0
  168. package/dist-elements/types/bundle/graph.d.ts +2 -0
  169. package/dist-elements/types/bundle/index.d.ts +1 -1
  170. package/dist-elements/types/bundle/layout.d.ts +1 -0
  171. package/dist-elements/types/bundle/tables.d.ts +2 -0
  172. package/dist-elements/types/components/charts/chart/chart.d.ts +3 -12
  173. package/dist-elements/types/components/chat/chat/chat.d.ts +11 -2
  174. package/dist-elements/types/components/chat/chat-answer/chat-answer.d.ts +6 -4
  175. package/dist-elements/types/components/chat/chat-composer/chat-composer.d.ts +61 -4
  176. package/dist-elements/types/components/chat/chat-message/chat-message.d.ts +6 -2
  177. package/dist-elements/types/components/chat/chat-questions/chat-questions.d.ts +106 -0
  178. package/dist-elements/types/components/chat/chat-steps/chat-steps.d.ts +53 -0
  179. package/dist-elements/types/components/chat/chat-suggestions/chat-suggestions.d.ts +4 -11
  180. package/dist-elements/types/components/content/attachment/attachment.d.ts +58 -0
  181. package/dist-elements/types/components/content/audio-player/audio-player.d.ts +2 -1
  182. package/dist-elements/types/components/content/key/key.d.ts +21 -0
  183. package/dist-elements/types/components/content/prose/prose.d.ts +4 -3
  184. package/dist-elements/types/components/content/shared/player.d.ts +2 -1
  185. package/dist-elements/types/components/content/transcript/transcript.d.ts +7 -0
  186. package/dist-elements/types/components/content/video-player/video-player.d.ts +12 -3
  187. package/dist-elements/types/components/feedback/empty-state/empty-state.d.ts +2 -2
  188. package/dist-elements/types/components/feedback/status-dot/status-dot.d.ts +13 -2
  189. package/dist-elements/types/components/forms/form-actions/form-actions.d.ts +5 -2
  190. package/dist-elements/types/components/frame/app-search/app-search.d.ts +0 -2
  191. package/dist-elements/types/components/frame/user-menu/user-menu.d.ts +2 -2
  192. package/dist-elements/types/components/graph/graph/graph.d.ts +147 -0
  193. package/dist-elements/types/components/graph/graph/layout-runner.d.ts +13 -0
  194. package/dist-elements/types/components/graph/graph/layout-worker.d.ts +1 -0
  195. package/dist-elements/types/components/graph/graph/layout.d.ts +27 -0
  196. package/dist-elements/types/components/graph/graph/model.d.ts +81 -0
  197. package/dist-elements/types/components/graph/graph/routes.d.ts +62 -0
  198. package/dist-elements/types/components/graph/graph/view.d.ts +58 -0
  199. package/dist-elements/types/components/index.d.ts +20 -4
  200. package/dist-elements/types/components/inputs/combobox/combobox.d.ts +0 -2
  201. package/dist-elements/types/components/inputs/date-input/date-input.d.ts +1 -1
  202. package/dist-elements/types/components/inputs/date-range/date-range.d.ts +17 -6
  203. package/dist-elements/types/components/inputs/file-upload/file-upload.d.ts +10 -33
  204. package/dist-elements/types/components/inputs/multiselect/multiselect.d.ts +1 -11
  205. package/dist-elements/types/components/layout/accordion/accordion.d.ts +37 -0
  206. package/dist-elements/types/components/layout/expander/expander.d.ts +5 -1
  207. package/dist-elements/types/components/layout/split-pane/split-pane.d.ts +2 -0
  208. package/dist-elements/types/components/layout/tabs/tabs.d.ts +3 -0
  209. package/dist-elements/types/components/overlays/popover/popover.d.ts +7 -0
  210. package/dist-elements/types/components/overlays/tooltip/tooltip.d.ts +1 -1
  211. package/dist-elements/types/components/shared/avatar.d.ts +21 -0
  212. package/dist-elements/types/components/shared/charts/bar-chart/bar-chart.d.ts +3 -2
  213. package/dist-elements/types/components/shared/charts/dumbbell-chart/dumbbell-chart.d.ts +33 -0
  214. package/dist-elements/types/components/shared/charts/index.d.ts +6 -2
  215. package/dist-elements/types/components/shared/charts/kinds.d.ts +22 -4
  216. package/dist-elements/types/components/shared/charts/line-chart/line-chart.d.ts +3 -2
  217. package/dist-elements/types/components/shared/charts/sankey-chart/sankey-chart.d.ts +124 -0
  218. package/dist-elements/types/components/shared/charts/shared/axes.d.ts +33 -6
  219. package/dist-elements/types/components/shared/charts/shared/chart-states.d.ts +1 -1
  220. package/dist-elements/types/components/shared/charts/shared/chart-styles.d.ts +2 -0
  221. package/dist-elements/types/components/shared/charts/shared/colors.d.ts +29 -4
  222. package/dist-elements/types/components/shared/charts/shared/controller.d.ts +23 -3
  223. package/dist-elements/types/components/shared/charts/shared/forecast.d.ts +21 -0
  224. package/dist-elements/types/components/shared/charts/shared/plot-keys.d.ts +5 -0
  225. package/dist-elements/types/components/shared/charts/shared/tints.d.ts +2 -0
  226. package/dist-elements/types/components/shared/charts/shared/types.d.ts +146 -0
  227. package/dist-elements/types/components/shared/charts/shared/wheel.d.ts +11 -0
  228. package/dist-elements/types/components/shared/charts/treemap-chart/squarify.d.ts +16 -0
  229. package/dist-elements/types/components/shared/charts/treemap-chart/treemap-chart.d.ts +18 -0
  230. package/dist-elements/types/components/shared/charts/treemap-chart/treemap-labels.d.ts +36 -0
  231. package/dist-elements/types/components/shared/charts/treemap-chart/treemap-parts.d.ts +64 -0
  232. package/dist-elements/types/components/shared/disclosure.d.ts +5 -3
  233. package/dist-elements/types/components/shared/download.d.ts +28 -2
  234. package/dist-elements/types/components/shared/empty-state-block.d.ts +1 -1
  235. package/dist-elements/types/components/shared/files.d.ts +67 -0
  236. package/dist-elements/types/components/shared/heading.d.ts +4 -0
  237. package/dist-elements/types/components/shared/month-grid.d.ts +33 -0
  238. package/dist-elements/types/components/shared/place.d.ts +2 -2
  239. package/dist-elements/types/components/shared/search-text.d.ts +5 -0
  240. package/dist-elements/types/components/tables/activity-log/activity-log.d.ts +9 -2
  241. package/dist-elements/types/components/tables/card/card.d.ts +13 -2
  242. package/dist-elements/types/components/tables/data-table/editing.d.ts +7 -2
  243. package/dist-elements/types/components/tables/description-list/description-list.d.ts +4 -0
  244. package/dist-elements/types/components/tables/list/list.d.ts +9 -0
  245. package/dist-elements/types/components/tables/person/person.d.ts +35 -0
  246. package/dist-elements/types/components/tables/person-group/person-group.d.ts +42 -0
  247. package/dist-elements/types/core/format.d.ts +2 -2
  248. package/dist-elements/types/core/id.d.ts +2 -0
  249. package/dist-elements/types/icons/register.d.ts +1 -1
  250. package/dist-elements/types/types.d.ts +194 -15
  251. package/dist-elements/workers/layout-worker.js +3 -0
  252. package/dist-icons/functioneel-link.svg +1 -0
  253. package/dist-icons/functioneel-ondertiteling.svg +1 -0
  254. package/package.json +8 -1
  255. package/dist-elements/chunks/base-BsZyWDre.js +0 -226
  256. package/dist-elements/chunks/chart-styles-C5IzbVUF.js +0 -44
  257. package/dist-elements/chunks/disclosure-CQcLUnKh.js +0 -22
  258. package/dist-elements/chunks/disclosure-DjLQzn9n.js +0 -1
  259. package/dist-elements/chunks/download-CxEzwMxI.js +0 -13
  260. package/dist-elements/chunks/input-CazTpGUd.js +0 -1
  261. package/dist-elements/chunks/player-BEG3MVCm.js +0 -39
  262. package/dist-elements/chunks/sentence-CjgQjBP9.js +0 -3
  263. package/dist-elements/chunks/stagger-CwsMNTLl.js +0 -133
@@ -26,17 +26,22 @@ import './feedback/announcement/announcement.js';
26
26
  import './charts/chart/chart.js';
27
27
  import './chat/chat/chat.js';
28
28
  import './chat/chat-answer/chat-answer.js';
29
+ import './chat/chat-steps/chat-steps.js';
29
30
  import './chat/chat-composer/chat-composer.js';
31
+ import './chat/chat-questions/chat-questions.js';
30
32
  import './chat/chat-message/chat-message.js';
31
33
  import './chat/chat-strip/chat-strip.js';
32
34
  import './chat/chat-suggestions/chat-suggestions.js';
33
35
  import './content/code/code.js';
36
+ import './content/key/key.js';
34
37
  import './tables/data-table/data-table.js';
35
38
  import './layout/expander/expander.js';
39
+ import './layout/accordion/accordion.js';
36
40
  import './charts/explainer/explainer.js';
37
41
  import './charts/kpi/kpi.js';
38
42
  import './charts/kpi-row/kpi-row.js';
39
43
  import './map/map/map.js';
44
+ import './graph/graph/graph.js';
40
45
  import './overlays/modal/modal.js';
41
46
  import './charts/note/note.js';
42
47
  import './content/prose/prose.js';
@@ -88,6 +93,7 @@ import './tables/list/list.js';
88
93
  import './tables/card/card.js';
89
94
  import './tables/card-list/card-list.js';
90
95
  import './content/gallery/gallery.js';
96
+ import './content/attachment/attachment.js';
91
97
  import './frame/footer/footer.js';
92
98
  import './tables/tree-view/tree-view.js';
93
99
  import './tables/sortable-list/sortable-list.js';
@@ -95,6 +101,8 @@ import './tables/description-list/description-list.js';
95
101
  import './feedback/empty-state/empty-state.js';
96
102
  import './feedback/error-page/error-page.js';
97
103
  import './tables/activity-log/activity-log.js';
104
+ import './tables/person/person.js';
105
+ import './tables/person-group/person-group.js';
98
106
  import './actions/copy-button/copy-button.js';
99
107
  import './actions/qr-code/qr-code.js';
100
108
  import './feedback/ai-label/ai-label.js';
@@ -139,23 +147,28 @@ export { LintjeChart } from './charts/chart/chart.js';
139
147
  export { LintjeChat } from './chat/chat/chat.js';
140
148
  export { LintjeChatAnswer } from './chat/chat-answer/chat-answer.js';
141
149
  export type { ChatRating } from './chat/chat-answer/chat-answer.js';
150
+ export { LintjeChatSteps } from './chat/chat-steps/chat-steps.js';
142
151
  export { LintjeChatComposer } from './chat/chat-composer/chat-composer.js';
143
152
  export type { ChatComposerVariant, ChatSendKey } from './chat/chat-composer/chat-composer.js';
153
+ export { LintjeChatQuestions } from './chat/chat-questions/chat-questions.js';
154
+ export type { ChatQuestionAnswer } from './chat/chat-questions/chat-questions.js';
144
155
  export { LintjeChatMessage } from './chat/chat-message/chat-message.js';
145
156
  export { completions, recogniseTerms, termParts, wordBefore } from './chat/shared/chat-terms.js';
146
157
  export type { ChatTextPart } from './chat/shared/chat-terms.js';
147
158
  export { LintjeChatStrip } from './chat/chat-strip/chat-strip.js';
148
159
  export { LintjeChatSuggestions } from './chat/chat-suggestions/chat-suggestions.js';
149
- export type { ChatSuggestionKind } from './chat/chat-suggestions/chat-suggestions.js';
150
160
  export { LintjeCode } from './content/code/code.js';
161
+ export { LintjeKey } from './content/key/key.js';
151
162
  export { LintjeContentTileElement } from './shared/content-tile.js';
152
163
  export type { ExpandModalOptions } from './shared/content-tile.js';
153
164
  export { LintjeDataTable } from './tables/data-table/data-table.js';
154
165
  export { LintjeExpander } from './layout/expander/expander.js';
166
+ export { LintjeAccordion } from './layout/accordion/accordion.js';
155
167
  export { LintjeExplainer } from './charts/explainer/explainer.js';
156
168
  export { LintjeKpi } from './charts/kpi/kpi.js';
157
169
  export { LintjeKpiRow } from './charts/kpi-row/kpi-row.js';
158
170
  export { LintjeMap } from './map/map/map.js';
171
+ export { LintjeGraph } from './graph/graph/graph.js';
159
172
  export { LintjeModal } from './overlays/modal/modal.js';
160
173
  export { LintjeNote } from './charts/note/note.js';
161
174
  export { LintjeProse } from './content/prose/prose.js';
@@ -196,7 +209,7 @@ export { LintjeDialog } from './overlays/dialog/dialog.js';
196
209
  export type { DialogCloseReason } from './overlays/dialog/dialog.js';
197
210
  export { LintjeTextarea } from './inputs/textarea/textarea.js';
198
211
  export { LintjeFileUpload } from './inputs/file-upload/file-upload.js';
199
- export type { UploadFile } from './inputs/file-upload/file-upload.js';
212
+ export type { UploadFile } from './shared/files.js';
200
213
  export { LintjeCombobox } from './inputs/combobox/combobox.js';
201
214
  export { LintjeTagInput } from './inputs/tag-input/tag-input.js';
202
215
  export { LintjeDateInput } from './inputs/date-input/date-input.js';
@@ -234,6 +247,7 @@ export type { CardAction, CardData, CardFact, CardLayout, CardMedia, CardStatus,
234
247
  export { LintjeCardList } from './tables/card-list/card-list.js';
235
248
  export { LintjeGallery } from './content/gallery/gallery.js';
236
249
  export type { GalleryItem } from './content/gallery/gallery.js';
250
+ export { LintjeAttachment } from './content/attachment/attachment.js';
237
251
  export { LintjeFooter } from './frame/footer/footer.js';
238
252
  export type { FooterColumn, FooterData, FooterLink } from './frame/footer/footer.js';
239
253
  export { LintjeTreeView } from './tables/tree-view/tree-view.js';
@@ -247,6 +261,8 @@ export { LintjeErrorPage } from './feedback/error-page/error-page.js';
247
261
  export type { ErrorPageLink } from './feedback/error-page/error-page.js';
248
262
  export { LintjeActivityLog } from './tables/activity-log/activity-log.js';
249
263
  export type { ActivityEntry } from './tables/activity-log/activity-log.js';
264
+ export { LintjePerson } from './tables/person/person.js';
265
+ export { LintjePersonGroup } from './tables/person-group/person-group.js';
250
266
  export { LintjeCopyButton } from './actions/copy-button/copy-button.js';
251
267
  export { LintjeQrCode } from './actions/qr-code/qr-code.js';
252
268
  export { LintjeAiLabel } from './feedback/ai-label/ai-label.js';
@@ -278,9 +294,9 @@ export { setHostConfig, scrollRoot } from '../core/host-config.js';
278
294
  export type { HostConfig } from '../core/host-config.js';
279
295
  export { toCsv, downloadCsv, downloadPng } from './shared/download.js';
280
296
  export type { CsvCell } from './shared/download.js';
281
- export type { AnnouncementData, AnnouncementKind, AnnouncementViewData, CellValue, ChartData, DataTableData, ExplainerData, KpiData, KpiRowData, MapData, NoteData, RowActionDetail, RowClickDetail, SortState, TableColumnData, TileData, } from '../types.js';
297
+ export type { AnnouncementData, AnnouncementKind, AnnouncementViewData, CellValue, ChartData, DataTableData, ExplainerData, GraphData, GraphDirection, GraphEdge, GraphLayout, GraphLines, GraphNode, GraphNodeStatus, GraphNodeType, KpiData, KpiRowData, MapData, NoteData, RowActionDetail, RowClickDetail, SortState, TableColumnData, TileData, } from '../types.js';
282
298
  export { LintjeShell } from './frame/shell/shell.js';
283
299
  export { LintjeUserMenu } from './frame/user-menu/user-menu.js';
284
300
  export { LintjePageHeader } from './frame/page-header/page-header.js';
285
301
  export { LintjeFilterBar } from './filters/filter-bar/filter-bar.js';
286
- export type { FilterBarData, FilterDefinition, FilterKind, FilterOption, FilterValue, ModeSetting, PageHeaderData, ShellData, ShellGroup, ShellLink, ShellView, ShellViewChange, UserMenuUser, } from '../types.js';
302
+ export type { FilterBarData, FilterDefinition, FilterKind, FilterOption, FilterValue, ModeSetting, PageHeaderData, Person, ShellData, ShellGroup, ShellLink, ShellView, ShellViewChange, UserMenuUser, } from '../types.js';
@@ -15,8 +15,6 @@ import '../../feedback/spinner/spinner.js';
15
15
  import { LintjeInputElement } from '../shared/input.js';
16
16
  import type { FilterOption } from '../../../types.js';
17
17
  export declare function filterOptions(options: FilterOption[], query: string): FilterOption[];
18
- export declare function splitMatch(label: string, query: string): [string, string, string];
19
- export declare function resultsText(count: number): string;
20
18
  export declare class LintjeCombobox extends LintjeInputElement {
21
19
  static styles: import("lit").CSSResult[];
22
20
  static properties: PropertyDeclarations;
@@ -45,7 +45,7 @@ export declare class LintjeDateInput extends LintjeInputElement {
45
45
  private onPopoverClose;
46
46
  private onFocusOut;
47
47
  private pick;
48
- private onGridKeydown;
48
+ private moveTo;
49
49
  private shiftMonth;
50
50
  private renderCalendar;
51
51
  protected render(): TemplateResult;
@@ -2,13 +2,14 @@
2
2
  * `<lintje-date-range>` — the date range picker: a field and a popover with a calendar, presets
3
3
  * and "Wissen"/"Toepassen".
4
4
  *
5
- * Escape closes only the popover; it and "Toepassen" give the focus back to the field. Tab out of
6
- * the element closes the popover.
5
+ * The popover is fixed to the viewport, so a scrolling filter bar or tile around it does not cut it
6
+ * off. Escape closes only the popover; it and "Toepassen" give the focus back to the field. Tab out
7
+ * of the element closes the popover.
7
8
  *
8
9
  * Events: `lintje-change` `{ from, to }`, `lintje-values-change` `{ [name]: value }` (with a
9
10
  * `name`), `lintje-reset` (the reset link was pressed).
10
11
  */
11
- import { type PropertyDeclarations, type TemplateResult } from 'lit';
12
+ import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
12
13
  import { LintjeInputElement } from '../shared/input.js';
13
14
  import '../../actions/button/button.js';
14
15
  import '../../actions/icon-button/icon-button.js';
@@ -23,7 +24,7 @@ export interface DateRange {
23
24
  from: string | null;
24
25
  to: string | null;
25
26
  }
26
- /** dd-mm-yyyy */
27
+ /** dd-mm-yyyy, the local day of `date`. */
27
28
  export declare function formatDate(date: Date): string;
28
29
  export declare class LintjeDateRange extends LintjeInputElement {
29
30
  static styles: import("lit").CSSResult[];
@@ -47,20 +48,30 @@ export declare class LintjeDateRange extends LintjeInputElement {
47
48
  month?: Date;
48
49
  /** The day cell that holds the grid's one tab stop, yyyy-mm-dd; `''` until a key or a click. */
49
50
  protected focusDay: string;
51
+ /** Where the popover stands; not reactive, as it is measured after a render. */
52
+ private spot;
53
+ private reflowFrame;
50
54
  private readonly onOutsideClick;
51
55
  private readonly onEscape;
52
56
  /** Closes the popover; the focus it held goes back to the field instead of to the page. */
53
57
  private close;
54
58
  private onFocusOut;
59
+ private readonly onReflow;
55
60
  connectedCallback(): void;
56
61
  disconnectedCallback(): void;
62
+ /**
63
+ * Places the popover at the field. Written straight onto the panel, through the CSSOM as a
64
+ * strict `style-src` allows: a reactive property set after a render would draw it twice.
65
+ */
66
+ private measure;
67
+ protected updated(changed: PropertyValues<this>): void;
57
68
  private get day();
58
69
  private toggle;
59
70
  private select;
60
71
  private applyPreset;
61
72
  private pick;
62
- /** Moves the tab stop; the month turns when the day is not in view, or on PageUp/PageDown. */
63
- private onGridKeydown;
73
+ /** Moves the tab stop; the month follows it. */
74
+ private moveTo;
64
75
  private shiftMonth;
65
76
  private focusCell;
66
77
  private apply;
@@ -2,41 +2,19 @@
2
2
  * `<lintje-file-upload>` — choose or drop files, and see per file how far it is and how it ended.
3
3
  *
4
4
  * It never uploads: it checks files against `accept` and `max-size`, sends the ones that pass with
5
- * `lintje-files-add` and draws the rows from `files`. A file it refuses never reaches the host.
6
- * Its value is the ids of the rows that are done. While it takes files, a file dropped beside the
7
- * zone does nothing, instead of opening in the browser.
5
+ * `lintje-files-add` and draws `files` as attachments under the zone. A file it refuses never
6
+ * reaches the host, nor do the events of its chip. Its value is the ids of the files that are done.
7
+ * While it takes files, a file dropped beside the zone does nothing, instead of opening in the browser.
8
8
  *
9
- * Events: `lintje-files-add` `File[]`, `lintje-file-remove` `{ id }`, `lintje-file-cancel`
10
- * `{ id }`, `lintje-change` `string[]`, `lintje-values-change` `{ [name]: value }` (with a
11
- * `name`), `lintje-reset` (the reset link was pressed).
9
+ * Events: `lintje-files-add` `File[]`, `lintje-change` `string[]`, `lintje-values-change`
10
+ * `{ [name]: value }` (with a `name`), `lintje-reset` (the reset link was pressed); from its chips
11
+ * `lintje-file-remove` `{ id }`, `lintje-file-cancel` `{ id }` and `lintje-file-retry` `{ id }`.
12
12
  */
13
13
  import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
14
14
  import '../../actions/button/button.js';
15
- import '../../feedback/progress-bar/progress-bar.js';
15
+ import '../../content/attachment/attachment.js';
16
+ import { type UploadFile } from '../../shared/files.js';
16
17
  import { LintjeInputElement } from '../shared/input.js';
17
- /** One row, as the host keeps it. */
18
- export interface UploadFile {
19
- id: string;
20
- name: string;
21
- size: number;
22
- state: 'busy' | 'done' | 'error';
23
- /** 0–100 while busy; left out, the bar is indeterminate. */
24
- progress?: number;
25
- /** Why it was refused, in Dutch. */
26
- message?: string;
27
- }
28
- export declare function formatSize(bytes: number): string;
29
- export declare function typesText(accept: string): string;
30
- export declare function accepts(file: {
31
- name: string;
32
- type: string;
33
- }, accept: string): boolean;
34
- export declare function refusal(file: {
35
- name: string;
36
- type: string;
37
- size: number;
38
- }, accept: string, maxSize: number | undefined): string;
39
- export declare function rowNews(before: UploadFile[], after: UploadFile[]): string;
40
18
  export declare class LintjeFileUpload extends LintjeInputElement {
41
19
  #private;
42
20
  static styles: import("lit").CSSResult[];
@@ -70,7 +48,6 @@ export declare class LintjeFileUpload extends LintjeInputElement {
70
48
  protected updated(changed: PropertyValues<this>): void;
71
49
  private get rowElements();
72
50
  private get chooser();
73
- private focusedRow;
74
51
  add(chosen: File[]): void;
75
52
  /**
76
53
  * The label's click lands on the one thing in the zone that answers: the button. Its own
@@ -84,8 +61,8 @@ export declare class LintjeFileUpload extends LintjeInputElement {
84
61
  private onZoneEnter;
85
62
  private onZoneLeave;
86
63
  private onDrop;
87
- private removeRow;
88
- private get dropText();
64
+ /** A chip of its own refusal is the element's alone: its event stops here and the chip goes. */
65
+ private onChipEvent;
89
66
  private get metaText();
90
67
  private renderRow;
91
68
  protected render(): TemplateResult;
@@ -12,16 +12,8 @@ import { type PropertyDeclarations, type PropertyValues, type TemplateResult } f
12
12
  import { LintjeInputElement } from '../shared/input.js';
13
13
  import '../checkbox/checkbox.js';
14
14
  import type { FilterOption } from '../../../types.js';
15
- /** Where the popover stands, in viewport pixels; `bottom` is set when it flips above. */
16
- interface PopoverAnchor {
17
- top: number | null;
18
- bottom: number | null;
19
- left: number;
20
- width: number;
21
- /** The popover's `max-height`. */
22
- space: number;
23
- }
24
15
  export declare class LintjeMultiselect extends LintjeInputElement {
16
+ #private;
25
17
  static styles: import("lit").CSSResult[];
26
18
  static properties: PropertyDeclarations;
27
19
  placeholder: string;
@@ -32,7 +24,6 @@ export declare class LintjeMultiselect extends LintjeInputElement {
32
24
  options?: FilterOption[];
33
25
  selected?: string[];
34
26
  query: string;
35
- protected anchor: PopoverAnchor | null;
36
27
  /** What the status region says: the result count of a search, the count after a choice. */
37
28
  protected news: string;
38
29
  private reflowFrame;
@@ -61,4 +52,3 @@ declare global {
61
52
  'lintje-multiselect': LintjeMultiselect;
62
53
  }
63
54
  }
64
- export {};
@@ -0,0 +1,37 @@
1
+ /**
2
+ * `<lintje-accordion>` — expanders stacked as one list: a row per `<lintje-expander>`, lines
3
+ * between them, the chevron before each title.
4
+ *
5
+ * It holds nothing: each row keeps its own `open`, and a host that keeps an open row in the URL
6
+ * sets `open` on that row. More rows may stand open at once unless `exclusive`. Hide nothing here
7
+ * that every reader needs: what a row holds is easily missed.
8
+ *
9
+ * Events: none of its own. Each row sends `lintje-toggle`, also when `exclusive` or the link
10
+ * "Alles openen" opened or closed it.
11
+ */
12
+ import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
13
+ import { LintjeElement } from '../../../core/element.js';
14
+ import type { HeadingLevel } from '../../shared/heading.js';
15
+ import '../../actions/button/button.js';
16
+ export declare class LintjeAccordion extends LintjeElement {
17
+ #private;
18
+ static styles: import("lit").CSSResult;
19
+ static properties: PropertyDeclarations;
20
+ /** Opening a row closes the others; content then moves away under the reader. */
21
+ exclusive: boolean;
22
+ /** A link above the rows, "Alles openen" or "Alles sluiten". Not with `exclusive`. */
23
+ toggleAll: boolean;
24
+ /** The rows' heading level, 2 to 6; each row's own (`h3`) when unset. */
25
+ level?: HeadingLevel;
26
+ protected allOpen: boolean;
27
+ private get rows();
28
+ connectedCallback(): void;
29
+ disconnectedCallback(): void;
30
+ protected updated(changed: PropertyValues<this>): void;
31
+ protected render(): TemplateResult;
32
+ }
33
+ declare global {
34
+ interface HTMLElementTagNameMap {
35
+ 'lintje-accordion': LintjeAccordion;
36
+ }
37
+ }
@@ -5,10 +5,12 @@
5
5
  * slotted in `actions` stands beside the title, outside its button: a few icon buttons about the
6
6
  * content.
7
7
  *
8
- * Events: `lintje-toggle` `boolean` (open, after the reader pressed the title).
8
+ * Events: `lintje-toggle` `boolean` (open, after the reader pressed the title, or after the
9
+ * `lintje-accordion` it stands in opened or closed it for the reader).
9
10
  */
10
11
  import { type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
11
12
  import { LintjeGridItemElement } from '../../shared/grid-item-element.js';
13
+ import type { HeadingLevel } from '../../shared/heading.js';
12
14
  export declare class LintjeExpander extends LintjeGridItemElement {
13
15
  #private;
14
16
  static styles: import("lit").CSSResult[];
@@ -27,6 +29,8 @@ export declare class LintjeExpander extends LintjeGridItemElement {
27
29
  * of text beside their speaker; a narrow expander stacks them again.
28
30
  */
29
31
  columns: boolean;
32
+ /** The title's heading level, 2 to 6; `h3` when unset. */
33
+ level?: HeadingLevel;
30
34
  protected updated(changed: PropertyValues<this>): void;
31
35
  protected render(): TemplateResult;
32
36
  }
@@ -42,6 +42,8 @@ export declare class LintjeSplitPane extends LintjeElement {
42
42
  private readonly onPointerUp;
43
43
  /** The click after the lifting one places the split where it lands. */
44
44
  private readonly onPlace;
45
+ /** A placing press that is cancelled or released outside brings no click: the next one counts. */
46
+ private readonly onPlacingEnd;
45
47
  private readonly onPlacedClick;
46
48
  /** A press outside the element puts the split back. */
47
49
  private readonly onOutside;
@@ -44,6 +44,9 @@ export declare class LintjeTabs extends LintjeElement {
44
44
  * with an icon and a hint; on a phone the icon stands above the label and the hint goes.
45
45
  */
46
46
  variant: TabsVariant;
47
+ /** Only the press itself counts: one cancelled or released elsewhere leaves no mark. */
48
+ private readonly onPanelPress;
49
+ private readonly onPressEnd;
47
50
  private onPanelFocus;
48
51
  get selectedIndex(): number;
49
52
  /** Every tab a link: the row is navigation between pages. */
@@ -22,8 +22,15 @@ export declare class LintjePopover extends LintjeElement {
22
22
  matchWidth: boolean;
23
23
  /** What the panel hangs under; default the previous sibling. */
24
24
  anchor?: Element | null;
25
+ /**
26
+ * The control that opens the panel, where it is not the anchor: a press on it, or the focus it
27
+ * takes, is not outside, so the owner's own toggle closes the panel instead of opening it again.
28
+ */
29
+ opener?: Element | null;
25
30
  private reflowFrame;
26
31
  private get anchorElement();
32
+ /** Whether an event passed through the panel, its anchor or its opener. */
33
+ private fromOwn;
27
34
  private readonly onOutsidePress;
28
35
  /**
29
36
  * The focus landing outside the panel and its anchor, also from an anchor whose panel never took
@@ -12,7 +12,7 @@ export declare const TOOLTIP_DELAY = 300;
12
12
  export declare const TOOLTIP_LINGER = 150;
13
13
  export declare class LintjeTooltip extends LintjeElement {
14
14
  #private;
15
- static styles: import("lit").CSSResult;
15
+ static styles: import("lit").CSSResult[];
16
16
  static properties: PropertyDeclarations;
17
17
  text: string;
18
18
  /** The text is already the element's accessible name: it is not given as its description too. */
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The one drawing of a person's circle: a photo, the initials or an icon, and dashed where nobody
3
+ * stands. A root that draws it calls `renderAvatar()` and adopts `avatarStyles` and `iconStyles`.
4
+ * The circle is `aria-hidden`: the name beside it is the text.
5
+ */
6
+ import { type CSSResult, type TemplateResult } from 'lit';
7
+ import type { SpeakerColour } from '../content/shared/playback.js';
8
+ import type { Person } from '../../types.js';
9
+ export type AvatarSize = 'small' | 'medium' | 'large';
10
+ export declare const avatarStyles: CSSResult;
11
+ export interface AvatarOptions {
12
+ /** 24, 32 or 40 px; default `medium`. */
13
+ size?: AvatarSize;
14
+ /** A speaker's colour, only where the people are the variable; `other` is the neutral circle. */
15
+ color?: SpeakerColour;
16
+ /** The circle stands on the menu and takes its colours. */
17
+ onNav?: boolean;
18
+ className?: string;
19
+ }
20
+ /** `null` is the empty place: a dashed circle with nothing in it. */
21
+ export declare function renderAvatar(person: Person | null, options?: AvatarOptions): TemplateResult;
@@ -1,6 +1,7 @@
1
1
  /**
2
- * Vertical bars with data labels and an optional trend line. When one label doesn't fit,
3
- * all data labels drop rather than leaving single bars unlabeled.
2
+ * Vertical bars with data labels, an optional trend line and a forecast. When one label doesn't
3
+ * fit, all data labels drop rather than leaving single bars unlabeled. A forecast bar is open,
4
+ * never the full colour of a measured one.
4
5
  */
5
6
  import { type TemplateResult } from 'lit';
6
7
  import { type ChartOptions } from '../shared/controller.js';
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Dumbbell chart: one measure per row at two moments, the earlier a grey ring and the later a
3
+ * dot in the variable's colour, joined by a neutral line; the signed difference stands in a
4
+ * column of its own. A dumbbell carries a position, not a length, so the host may shorten the
5
+ * axis; a value outside it stands on the edge with an off-axis mark. Below 768 px the name
6
+ * stands on a line of its own above its row (rule 9).
7
+ */
8
+ import { type TemplateResult } from 'lit';
9
+ import type { ChartOptions } from '../shared/controller.js';
10
+ import type { ChartSpec, DumbbellRow } from '../shared/types.js';
11
+ type DumbbellSpec = Extract<ChartSpec, {
12
+ kind: 'dumbbell';
13
+ }>;
14
+ /** The legend keys of the two moments: never the host's labels, which may name anything. */
15
+ export declare const FROM_KEY = "moment:from";
16
+ export declare const TO_KEY = "moment:to";
17
+ /** The chart's height: a row each, the head above and the scale under them. */
18
+ export declare function dumbbellHeight(count: number, mobile?: boolean): number;
19
+ /** As many decimals as the most precise value of the rows. */
20
+ export declare function dumbbellDecimals(rows: DumbbellRow[]): number;
21
+ /** `to` minus `from`, rounded to `decimals`, from the real values; `null` when an end is missing. */
22
+ export declare function dumbbellDifference(row: Pick<DumbbellRow, 'from' | 'to'>, decimals: number): number | null;
23
+ /**
24
+ * The axis: the host's `min` and `max`, each without it the default, which runs from 0 to a
25
+ * round value above the data and the norm. Ticks are the round steps inside it.
26
+ */
27
+ export declare function dumbbellAxis(spec: Pick<DumbbellSpec, 'rows' | 'min' | 'max' | 'threshold'>): {
28
+ min: number;
29
+ max: number;
30
+ ticks: number[];
31
+ };
32
+ export declare function renderDumbbellChart(spec: DumbbellSpec, options: ChartOptions): TemplateResult;
33
+ export {};
@@ -16,10 +16,13 @@ export { renderPieChart } from './pie-chart/pie-chart.js';
16
16
  export { renderDualAxisChart } from './dual-axis-chart/dual-axis-chart.js';
17
17
  export { renderScatterChart } from './scatter-chart/scatter-chart.js';
18
18
  export { renderRadarChart } from './radar-chart/radar-chart.js';
19
+ export { renderSankeyChart } from './sankey-chart/sankey-chart.js';
19
20
  export { renderHeatmap, heatmapBounds, heatmapClasses } from './heatmap-chart/heatmap-chart.js';
20
21
  export type { HeatmapClass } from './heatmap-chart/heatmap-chart.js';
21
22
  export { renderHistogramChart } from './histogram-chart/histogram-chart.js';
23
+ export { renderTreemapChart } from './treemap-chart/treemap-chart.js';
22
24
  export { renderMap } from './map-chart/map-chart.js';
25
+ export { renderDumbbellChart, dumbbellHeight } from './dumbbell-chart/dumbbell-chart.js';
23
26
  export type { MapOptions } from './map-chart/map-chart.js';
24
27
  export { renderChartFrame, renderLegend, renderAsOfMarker } from './shared/axes.js';
25
28
  export type { ChartFrameOptions, LegendItem, SvgSlot } from './shared/axes.js';
@@ -38,6 +41,7 @@ export * from './shared/scale.js';
38
41
  export * from '../../../core/format.js';
39
42
  export { staggerStyle, gridStaggerStyle } from './shared/stagger.js';
40
43
  export type { StyleInfo } from './shared/stagger.js';
41
- export { chartStyles, chartFrameStyles, pieChartStyles, heatmapStyles } from './shared/chart-styles.js';
44
+ export { chartStyles, chartFrameStyles, pieChartStyles, heatmapStyles, sankeyStyles, } from './shared/chart-styles.js';
42
45
  export { mapStyles, mapChartStyles } from './map-chart/map-styles.js';
43
- export type { ChartSpec, ChartKind, ChartColor, ChartLink, LineSeriesData, BarSeriesData, ScatterPoint, ScatterSeriesData, MapSpec, MapValue, MapVariant, MapPlotData, MapPlotVariant, } from './shared/types.js';
46
+ export { treemapStyles } from './shared/chart-styles.js';
47
+ export type { ChartSpec, ChartKind, ChartColor, ChartLink, LineSeriesData, BarSeriesData, ScatterPoint, ScatterSeriesData, MapSpec, MapValue, MapVariant, MapPlotData, MapPlotVariant, DumbbellRow, TreemapPart, TreemapSubPart, SankeyFlow, SankeyNode, SankeyStep, } from './shared/types.js';
@@ -14,7 +14,7 @@ export declare const CHART_KINDS: {
14
14
  readonly line: {
15
15
  readonly label: 'Lijn';
16
16
  readonly question: 'time';
17
- readonly use: 'Het verloop van een of meer reeksen over de tijd, met een vergelijking in grijs, een peilmoment of wat er gebeurde.';
17
+ readonly use: 'Het verloop van een of meer reeksen over de tijd, met een vergelijking in grijs, een peilmoment, een raming met marge of wat er gebeurde.';
18
18
  readonly avoid: 'Een paar losse groepen zonder volgorde: neem staven.';
19
19
  };
20
20
  readonly 'stacked-area': {
@@ -32,7 +32,7 @@ export declare const CHART_KINDS: {
32
32
  readonly bar: {
33
33
  readonly label: 'Staven';
34
34
  readonly question: 'compare';
35
- readonly use: 'Eén waarde per groep of per periode, als de losse waarden tellen, met datalabels of een trendlijn.';
35
+ readonly use: 'Eén waarde per groep of per periode, als de losse waarden tellen, met datalabels, een trendlijn of een raming.';
36
36
  readonly avoid: 'Lange namen of veel groepen: neem horizontale staven.';
37
37
  };
38
38
  readonly 'horizontal-bar': {
@@ -45,7 +45,13 @@ export declare const CHART_KINDS: {
45
45
  readonly label: 'Gegroepeerde staven';
46
46
  readonly question: 'compare';
47
47
  readonly use: 'Twee of drie reeksen naast elkaar per groep, om ze binnen de groep te vergelijken.';
48
- readonly avoid: 'Meer dan drie reeksen: de groepen worden onleesbaar. Neem een lijn of een tabel.';
48
+ readonly avoid: 'Meer dan drie reeksen: de groepen worden onleesbaar. Neem een lijn of een tabel. Eén maat op twee momenten bij veel groepen: neem Voor en na.';
49
+ };
50
+ readonly dumbbell: {
51
+ readonly label: 'Voor en na';
52
+ readonly question: 'compare';
53
+ readonly use: 'Eén maat per groep op twee momenten, als de verandering per groep de boodschap is: veel groepen, lange namen, met een norm.';
54
+ readonly avoid: 'Twee groepen naast elkaar, of vijf groepen of minder: neem gegroepeerde staven. Meer dan twee momenten: neem een lijn.';
49
55
  };
50
56
  readonly radar: {
51
57
  readonly label: 'Spinnendiagram';
@@ -63,7 +69,19 @@ export declare const CHART_KINDS: {
63
69
  readonly label: 'Taart of donut';
64
70
  readonly question: 'parts';
65
71
  readonly use: 'De delen van één geheel op één moment, tot vijf; meer vouwt tot "Overig". Een donut toont ook het deel van een geheel, met het cijfer in het midden.';
66
- readonly avoid: 'Een verloop in de tijd, of delen die bijna even groot zijn: neem gestapelde staven.';
72
+ readonly avoid: 'Een verloop in de tijd, of delen die bijna even groot zijn: neem gestapelde staven. Meer dan vijf delen die tellen, of delen met onderdelen: neem een treemap.';
73
+ };
74
+ readonly treemap: {
75
+ readonly label: 'Treemap';
76
+ readonly question: 'parts';
77
+ readonly use: 'Veel delen van één geheel op één moment — meer dan vijf, waar de taart vouwt — of delen met onderdelen, zoals een begroting met hoofdposten en onderposten.';
78
+ readonly avoid: 'Tot vijf delen zonder onderdelen: neem een taart. Een verloop in de tijd: neem gestapelde staven of een gestapeld vlak. Delen precies tegen elkaar afmeten: neem horizontale staven; oppervlakken lezen minder precies dan lengtes.';
79
+ };
80
+ readonly sankey: {
81
+ readonly label: 'Sankey';
82
+ readonly question: 'parts';
83
+ readonly use: 'Hoe één aantal zich over twee tot vier stappen van een proces verdeelt, zoals aanvragen van indiening tot uitkomst. Ook wel stroomdiagram.';
84
+ readonly avoid: 'Stromen tussen plaatsen: neem de kaart. Eén geheel op één moment: neem een taart.';
67
85
  };
68
86
  readonly histogram: {
69
87
  readonly label: 'Histogram';
@@ -1,6 +1,7 @@
1
1
  /**
2
- * Line and area chart with comparison, hatching, as-of time and events. Missing data is never
3
- * drawn as 0 (rule 15): `null` points are skipped and the missing part is hatched or cut off.
2
+ * Line and area chart with comparison, hatching, as-of time, events and a forecast. Missing data
3
+ * is never drawn as 0 (rule 15): `null` points are skipped and the missing part is hatched or cut
4
+ * off; a forecast is never drawn as measured (dotted, with an open hover point).
4
5
  */
5
6
  import { type TemplateResult } from 'lit';
6
7
  import { type ChartOptions } from '../shared/controller.js';