dso-toolkit 36.2.0 → 38.0.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 (351) hide show
  1. package/components/Componenten/badge/badge.config.js +6 -0
  2. package/components/Componenten/highlight-box/highlight-box.config.yml +8 -6
  3. package/components/Componenten/rich-content/rich-content.njk +8 -6
  4. package/components/Componenten/shopping-cart/shopping-cart.njk +12 -17
  5. package/components/Componenten/tooltip/tooltip.njk +1 -1
  6. package/components/Componenten/tooltip-css/tooltip-css.njk +1 -1
  7. package/components/Voorbeelden/30-Componenten/anchors.njk +0 -29
  8. package/components/Voorbeelden/_anchors.scss +0 -4
  9. package/dist/library/@dso-toolkit/core/cjs/dso-attachments-counter.cjs.entry.js +1 -1
  10. package/dist/library/@dso-toolkit/core/cjs/dso-autosuggest.cjs.entry.js +17 -7
  11. package/dist/library/@dso-toolkit/core/cjs/dso-badge.cjs.entry.js +2 -8
  12. package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +1 -1
  13. package/dist/library/@dso-toolkit/core/cjs/dso-helpcenter-panel.cjs.entry.js +2 -2
  14. package/dist/library/@dso-toolkit/core/cjs/dso-highlight-box.cjs.entry.js +1 -1
  15. package/dist/library/@dso-toolkit/core/cjs/dso-icon.cjs.entry.js +1 -1
  16. package/dist/library/@dso-toolkit/core/cjs/dso-image-overlay.cjs.entry.js +1 -1
  17. package/dist/library/@dso-toolkit/core/cjs/dso-info_2.cjs.entry.js +1 -1
  18. package/dist/library/@dso-toolkit/core/cjs/dso-map-controls.cjs.entry.js +1 -1
  19. package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +29 -5
  20. package/dist/library/@dso-toolkit/core/cjs/dso-toggletip.cjs.entry.js +1 -2
  21. package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
  22. package/dist/library/@dso-toolkit/core/cjs/dso-tooltip.cjs.entry.js +5 -1
  23. package/dist/library/@dso-toolkit/core/cjs/dso-viewer-grid.cjs.entry.js +20 -1
  24. package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
  25. package/dist/library/@dso-toolkit/core/collection/components/attachments-counter/attachments-counter.css +2 -2
  26. package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.css +11 -2
  27. package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.js +55 -8
  28. package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.stories.js +8 -6
  29. package/dist/library/@dso-toolkit/core/collection/components/autosuggest/autosuggest.template.js +4 -1
  30. package/dist/library/@dso-toolkit/core/collection/components/badge/badge.css +5 -0
  31. package/dist/library/@dso-toolkit/core/collection/components/badge/badge.js +2 -11
  32. package/dist/library/@dso-toolkit/core/collection/components/header/header.css +6 -6
  33. package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.css +13 -12
  34. package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.js +4 -4
  35. package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.css +5 -2
  36. package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.stories.js +8 -6
  37. package/dist/library/@dso-toolkit/core/collection/components/icon/icon.css +2 -2
  38. package/dist/library/@dso-toolkit/core/collection/components/image-overlay/image-overlay.css +8 -8
  39. package/dist/library/@dso-toolkit/core/collection/components/info/info.css +2 -2
  40. package/dist/library/@dso-toolkit/core/collection/components/map-controls/map-controls.css +12 -12
  41. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/al.node.js +4 -1
  42. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/inhoud.node.js +0 -1
  43. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/noot.node.js +1 -1
  44. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/opschrift.node.js +9 -0
  45. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-mapper.js +2 -0
  46. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.css +25 -5
  47. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.js +54 -3
  48. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.template.js +3 -1
  49. package/dist/library/@dso-toolkit/core/collection/components/toggletip/toggletip.js +1 -2
  50. package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.js +24 -2
  51. package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.template.js +2 -2
  52. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.css +18 -18
  53. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.js +39 -1
  54. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.stories.js +4 -2
  55. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.template.js +2 -1
  56. package/dist/library/@dso-toolkit/core/custom-elements/index.js +86 -36
  57. package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.css +1 -1
  58. package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
  59. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-af8a4337.entry.js → p-076400f4.entry.js} +1 -1
  60. package/dist/library/@dso-toolkit/core/dso-toolkit/p-0e535c2b.entry.js +1 -0
  61. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-d6c47662.entry.js → p-14fc5767.entry.js} +1 -1
  62. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-7b67e324.entry.js → p-150fe323.entry.js} +1 -1
  63. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-121c3588.entry.js → p-1894c7ae.entry.js} +1 -1
  64. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-b29184e1.entry.js → p-1e92e29d.entry.js} +1 -1
  65. package/dist/library/@dso-toolkit/core/dso-toolkit/p-2f64bded.entry.js +1 -0
  66. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-efa4a33d.entry.js → p-5a56d726.entry.js} +1 -1
  67. package/dist/library/@dso-toolkit/core/dso-toolkit/p-6ec616ee.entry.js +1 -0
  68. package/dist/library/@dso-toolkit/core/dso-toolkit/p-723ef97b.entry.js +1 -0
  69. package/dist/{toolkit/core/packages/core/dist/dso-toolkit/p-4f904355.entry.js → library/@dso-toolkit/core/dso-toolkit/p-c0b7f435.entry.js} +1 -1
  70. package/dist/library/@dso-toolkit/core/dso-toolkit/p-c32860a3.entry.js +1 -0
  71. package/dist/library/@dso-toolkit/core/dso-toolkit/p-d76c1151.entry.js +1 -0
  72. package/dist/library/@dso-toolkit/core/dso-toolkit/p-e1496a15.entry.js +1 -0
  73. package/dist/library/@dso-toolkit/core/esm/dso-attachments-counter.entry.js +1 -1
  74. package/dist/library/@dso-toolkit/core/esm/dso-autosuggest.entry.js +17 -7
  75. package/dist/library/@dso-toolkit/core/esm/dso-badge.entry.js +2 -8
  76. package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +1 -1
  77. package/dist/library/@dso-toolkit/core/esm/dso-helpcenter-panel.entry.js +2 -2
  78. package/dist/library/@dso-toolkit/core/esm/dso-highlight-box.entry.js +1 -1
  79. package/dist/library/@dso-toolkit/core/esm/dso-icon.entry.js +1 -1
  80. package/dist/library/@dso-toolkit/core/esm/dso-image-overlay.entry.js +1 -1
  81. package/dist/library/@dso-toolkit/core/esm/dso-info_2.entry.js +1 -1
  82. package/dist/library/@dso-toolkit/core/esm/dso-map-controls.entry.js +1 -1
  83. package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +29 -5
  84. package/dist/library/@dso-toolkit/core/esm/dso-toggletip.entry.js +1 -2
  85. package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
  86. package/dist/library/@dso-toolkit/core/esm/dso-tooltip.entry.js +5 -1
  87. package/dist/library/@dso-toolkit/core/esm/dso-viewer-grid.entry.js +20 -1
  88. package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
  89. package/dist/library/@dso-toolkit/core/types/components/autosuggest/autosuggest.d.ts +8 -0
  90. package/dist/library/@dso-toolkit/core/types/components/autosuggest/autosuggest.template.d.ts +1 -1
  91. package/dist/library/@dso-toolkit/core/types/components/badge/badge.d.ts +1 -2
  92. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/opschrift.node.d.ts +6 -0
  93. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.d.ts +11 -0
  94. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.template.d.ts +1 -1
  95. package/dist/library/@dso-toolkit/core/types/components/tooltip/tooltip.d.ts +4 -0
  96. package/dist/library/@dso-toolkit/core/types/components/tooltip/tooltip.template.d.ts +1 -1
  97. package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid.d.ts +10 -0
  98. package/dist/library/@dso-toolkit/core/types/components/viewer-grid/viewer-grid.template.d.ts +1 -1
  99. package/dist/library/@dso-toolkit/core/types/components.d.ts +50 -3
  100. package/dist/library/components/detail/activiteiten.html +5 -1
  101. package/dist/library/components/detail/anchors.html +0 -63
  102. package/dist/library/components/detail/badge--badge-danger.html +1 -1
  103. package/dist/library/components/detail/badge--badge-info.html +1 -1
  104. package/dist/library/components/detail/badge--badge-outline.html +1495 -0
  105. package/dist/library/components/detail/badge--badge-primary.html +1 -1
  106. package/dist/library/components/detail/badge--badge-success.html +1 -1
  107. package/dist/library/components/detail/badge--badge-warning.html +1 -1
  108. package/dist/library/components/detail/badge--default.html +1 -1
  109. package/dist/library/components/detail/badge.html +18 -6
  110. package/dist/library/components/detail/form--autocomplete.html +1 -1
  111. package/dist/library/components/detail/form--form-horizontal.html +1 -1
  112. package/dist/library/components/detail/form--form-vertical.html +1 -1
  113. package/dist/library/components/detail/form--multi-page.html +1 -1
  114. package/dist/library/components/detail/form--sections.html +1 -1
  115. package/dist/library/components/detail/form--simple-form.html +1 -1
  116. package/dist/library/components/detail/form--single-page.html +1 -1
  117. package/dist/library/components/detail/form.html +1 -1
  118. package/dist/library/components/detail/highlight-box--bordered.html +20 -14
  119. package/dist/library/components/detail/highlight-box--default.html +20 -14
  120. package/dist/library/components/detail/highlight-box--icon-indicator.html +20 -14
  121. package/dist/library/components/detail/highlight-box--link-list.html +8 -6
  122. package/dist/library/components/detail/highlight-box--step-indicator.html +20 -14
  123. package/dist/library/components/detail/highlight-box--white-drop-shadow.html +20 -14
  124. package/dist/library/components/detail/highlight-box--yellow.html +20 -14
  125. package/dist/library/components/detail/highlight-box.html +128 -90
  126. package/dist/library/components/detail/rich-content.html +16 -12
  127. package/dist/library/components/detail/shopping-cart--default.html +12 -17
  128. package/dist/library/components/detail/shopping-cart--items-collapsed.html +17 -18
  129. package/dist/library/components/detail/shopping-cart--items-edit.html +21 -21
  130. package/dist/library/components/detail/shopping-cart--items-expanded.html +25 -24
  131. package/dist/library/components/detail/shopping-cart--subitems-hidden-summary.html +22 -24
  132. package/dist/library/components/detail/shopping-cart--subitems-with-warning.html +30 -28
  133. package/dist/library/components/detail/shopping-cart--subitems.html +32 -29
  134. package/dist/library/components/detail/shopping-cart.html +87 -59
  135. package/dist/library/components/detail/tooltip--default.html +3 -3
  136. package/dist/library/components/detail/tooltip--tooltip-bottom.html +5 -3
  137. package/dist/library/components/detail/tooltip--tooltip-left.html +5 -3
  138. package/dist/library/components/detail/tooltip--tooltip-right-small.html +3 -3
  139. package/dist/library/components/detail/tooltip--tooltip-right.html +3 -3
  140. package/dist/library/components/detail/tooltip-css--default.html +2 -2
  141. package/dist/library/components/detail/tooltip-css--tooltip-bottom.html +2 -2
  142. package/dist/library/components/detail/tooltip-css--tooltip-left.html +2 -2
  143. package/dist/library/components/detail/tooltip-css--tooltip-right-small.html +2 -2
  144. package/dist/library/components/detail/tooltip-css--tooltip-right.html +2 -2
  145. package/dist/library/components/detail/tooltip-css.html +6 -6
  146. package/dist/library/components/detail/tooltip.html +15 -11
  147. package/dist/library/components/preview/activiteiten.html +10 -2
  148. package/dist/library/components/preview/anchors.html +0 -34
  149. package/dist/library/components/preview/badge--badge-danger.html +1 -1
  150. package/dist/library/components/preview/badge--badge-info.html +1 -1
  151. package/dist/library/components/preview/badge--badge-outline.html +23 -0
  152. package/dist/library/components/preview/badge--badge-primary.html +1 -1
  153. package/dist/library/components/preview/badge--badge-success.html +1 -1
  154. package/dist/library/components/preview/badge--badge-warning.html +1 -1
  155. package/dist/library/components/preview/badge--default.html +1 -1
  156. package/dist/library/components/preview/badge.html +5 -6
  157. package/dist/library/components/preview/highlight-box--bordered.html +12 -8
  158. package/dist/library/components/preview/highlight-box--default.html +12 -8
  159. package/dist/library/components/preview/highlight-box--icon-indicator.html +12 -8
  160. package/dist/library/components/preview/highlight-box--step-indicator.html +12 -8
  161. package/dist/library/components/preview/highlight-box--white-drop-shadow.html +12 -8
  162. package/dist/library/components/preview/highlight-box--yellow.html +12 -8
  163. package/dist/library/components/preview/highlight-box.html +90 -66
  164. package/dist/library/components/preview/rich-content.html +15 -8
  165. package/dist/library/components/preview/shopping-cart--items-collapsed.html +6 -2
  166. package/dist/library/components/preview/shopping-cart--items-edit.html +11 -7
  167. package/dist/library/components/preview/shopping-cart--items-expanded.html +16 -12
  168. package/dist/library/components/preview/shopping-cart--subitems-hidden-summary.html +13 -13
  169. package/dist/library/components/preview/shopping-cart--subitems-with-warning.html +26 -22
  170. package/dist/library/components/preview/shopping-cart--subitems.html +27 -23
  171. package/dist/library/components/preview/shopping-cart.html +99 -79
  172. package/dist/library/components/preview/tooltip--default.html +1 -1
  173. package/dist/library/components/preview/tooltip--tooltip-bottom.html +1 -1
  174. package/dist/library/components/preview/tooltip--tooltip-left.html +1 -1
  175. package/dist/library/components/preview/tooltip--tooltip-right-small.html +1 -1
  176. package/dist/library/components/preview/tooltip--tooltip-right.html +1 -1
  177. package/dist/library/components/preview/tooltip-css--default.html +1 -1
  178. package/dist/library/components/preview/tooltip-css--tooltip-bottom.html +1 -1
  179. package/dist/library/components/preview/tooltip-css--tooltip-left.html +1 -1
  180. package/dist/library/components/preview/tooltip-css--tooltip-right-small.html +1 -1
  181. package/dist/library/components/preview/tooltip-css--tooltip-right.html +1 -1
  182. package/dist/library/components/preview/tooltip-css.html +5 -5
  183. package/dist/library/components/preview/tooltip.html +5 -5
  184. package/dist/library/components/preview/zoeken-in-lijst-cards.html +5 -14
  185. package/dist/library/components/render/activiteiten.html +6 -2
  186. package/dist/library/components/render/anchors.html +0 -34
  187. package/dist/library/components/render/badge--badge-danger.html +1 -3
  188. package/dist/library/components/render/badge--badge-info.html +1 -3
  189. package/dist/library/components/render/badge--badge-outline.html +6 -0
  190. package/dist/library/components/render/badge--badge-primary.html +1 -3
  191. package/dist/library/components/render/badge--badge-success.html +1 -3
  192. package/dist/library/components/render/badge--badge-warning.html +1 -3
  193. package/dist/library/components/render/badge--default.html +1 -3
  194. package/dist/library/components/render/badge.html +7 -13
  195. package/dist/library/components/render/highlight-box--bordered.html +4 -2
  196. package/dist/library/components/render/highlight-box--default.html +4 -2
  197. package/dist/library/components/render/highlight-box--icon-indicator.html +4 -2
  198. package/dist/library/components/render/highlight-box--step-indicator.html +4 -2
  199. package/dist/library/components/render/highlight-box--white-drop-shadow.html +4 -2
  200. package/dist/library/components/render/highlight-box--yellow.html +4 -2
  201. package/dist/library/components/render/highlight-box.html +24 -12
  202. package/dist/library/components/render/rich-content.html +8 -6
  203. package/dist/library/components/render/shopping-cart--items-collapsed.html +6 -2
  204. package/dist/library/components/render/shopping-cart--items-edit.html +11 -7
  205. package/dist/library/components/render/shopping-cart--items-expanded.html +16 -12
  206. package/dist/library/components/render/shopping-cart--subitems-hidden-summary.html +13 -13
  207. package/dist/library/components/render/shopping-cart--subitems-with-warning.html +26 -22
  208. package/dist/library/components/render/shopping-cart--subitems.html +27 -23
  209. package/dist/library/components/render/shopping-cart.html +99 -79
  210. package/dist/library/components/render/tooltip--default.html +1 -1
  211. package/dist/library/components/render/tooltip--tooltip-bottom.html +1 -1
  212. package/dist/library/components/render/tooltip--tooltip-left.html +1 -1
  213. package/dist/library/components/render/tooltip--tooltip-right-small.html +1 -1
  214. package/dist/library/components/render/tooltip--tooltip-right.html +1 -1
  215. package/dist/library/components/render/tooltip-css--default.html +1 -1
  216. package/dist/library/components/render/tooltip-css--tooltip-bottom.html +1 -1
  217. package/dist/library/components/render/tooltip-css--tooltip-left.html +1 -1
  218. package/dist/library/components/render/tooltip-css--tooltip-right-small.html +1 -1
  219. package/dist/library/components/render/tooltip-css--tooltip-right.html +1 -1
  220. package/dist/library/components/render/tooltip-css.html +5 -5
  221. package/dist/library/components/render/tooltip.html +5 -5
  222. package/dist/library/styles/dso.css +399 -677
  223. package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.css +1 -1
  224. package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  225. package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-af8a4337.entry.js → p-076400f4.entry.js} +1 -1
  226. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-0e535c2b.entry.js +1 -0
  227. package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-d6c47662.entry.js → p-14fc5767.entry.js} +1 -1
  228. package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-7b67e324.entry.js → p-150fe323.entry.js} +1 -1
  229. package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-121c3588.entry.js → p-1894c7ae.entry.js} +1 -1
  230. package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-b29184e1.entry.js → p-1e92e29d.entry.js} +1 -1
  231. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-2f64bded.entry.js +1 -0
  232. package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-efa4a33d.entry.js → p-5a56d726.entry.js} +1 -1
  233. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-6ec616ee.entry.js +1 -0
  234. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-723ef97b.entry.js +1 -0
  235. package/dist/{library/@dso-toolkit/core/dso-toolkit/p-4f904355.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-c0b7f435.entry.js} +1 -1
  236. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-c32860a3.entry.js +1 -0
  237. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-d76c1151.entry.js +1 -0
  238. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-e1496a15.entry.js +1 -0
  239. package/dist/toolkit/styles/dso.css +399 -673
  240. package/hydrate/index.js +90 -35
  241. package/libs/@dso-toolkit/css/src/components/accordion/accordion.scss +0 -1
  242. package/libs/@dso-toolkit/css/src/components/card/card.scss +4 -1
  243. package/libs/@dso-toolkit/css/src/components/form/fieldset.scss +48 -0
  244. package/libs/@dso-toolkit/css/src/components/form/form-group.scss +179 -0
  245. package/libs/@dso-toolkit/css/src/components/form/form-groups/input/form-group-input.scss +13 -0
  246. package/libs/@dso-toolkit/css/src/components/form/form.mixins.scss +8 -0
  247. package/libs/@dso-toolkit/css/src/components/form/form.scss +4 -0
  248. package/libs/@dso-toolkit/css/src/components/form/form.variables.scss +37 -0
  249. package/libs/@dso-toolkit/css/src/components/form-control/form-control.scss +5 -0
  250. package/libs/@dso-toolkit/css/src/components/list/list.scss +1 -1
  251. package/libs/@dso-toolkit/css/src/components/modal/modal.scss +1 -1
  252. package/libs/@dso-toolkit/css/src/components/rich-content/rich-content.scss +1 -1
  253. package/libs/@dso-toolkit/css/src/components/shopping-cart/shopping-cart.scss +18 -3
  254. package/libs/@dso-toolkit/css/src/dso.scss +2 -0
  255. package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.args.ts +12 -0
  256. package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.models.ts +2 -0
  257. package/libs/@dso-toolkit/sources/src/components/autosuggest/autosuggest.stories.ts +6 -3
  258. package/libs/@dso-toolkit/sources/src/components/badge/badge.args.ts +1 -1
  259. package/libs/@dso-toolkit/sources/src/components/badge/badge.scss +6 -0
  260. package/libs/@dso-toolkit/sources/src/components/badge/badge.stories.ts +11 -0
  261. package/libs/@dso-toolkit/sources/src/components/form/content/form.content.ts +16 -0
  262. package/libs/@dso-toolkit/sources/src/components/form/content/input.content.ts +15 -0
  263. package/libs/@dso-toolkit/sources/src/components/form/form-groups/input/form-group-input.args.ts +175 -0
  264. package/libs/@dso-toolkit/sources/src/components/form/form.args.ts +32 -0
  265. package/libs/@dso-toolkit/sources/src/components/form/form.models.ts +3 -0
  266. package/libs/@dso-toolkit/sources/src/components/form/form.stories.ts +49 -0
  267. package/libs/@dso-toolkit/sources/src/components/form/models/form-group-input.model.ts +19 -0
  268. package/libs/@dso-toolkit/sources/src/components/form/models/form-group.base-model.ts +17 -0
  269. package/libs/@dso-toolkit/sources/src/components/form/models/form-group.model.ts +3 -0
  270. package/libs/@dso-toolkit/sources/src/components/form/models/form.model.ts +8 -0
  271. package/libs/@dso-toolkit/sources/src/components/highlight-box/highlight-box.scss +1 -2
  272. package/libs/@dso-toolkit/sources/src/components/info/info.models.ts +2 -1
  273. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.args.ts +14 -0
  274. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.content.ts +27 -0
  275. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.models.ts +2 -0
  276. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.stories.ts +7 -3
  277. package/libs/@dso-toolkit/sources/src/components/shopping-cart/shopping-cart.args.ts +7 -0
  278. package/libs/@dso-toolkit/sources/src/components/shopping-cart/shopping-cart.models.ts +1 -0
  279. package/libs/@dso-toolkit/sources/src/components/shopping-cart/shopping-cart.stories.ts +23 -0
  280. package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.args.ts +7 -0
  281. package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.models.ts +1 -0
  282. package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.args.ts +5 -0
  283. package/libs/@dso-toolkit/sources/src/components/viewer-grid/viewer-grid.models.ts +8 -0
  284. package/libs/@dso-toolkit/sources/src/index.ts +2 -0
  285. package/libs/@dso-toolkit/sources/src/styling/global/dl.scss +1 -1
  286. package/libs/@dso-toolkit/sources/src/styling/global/table.scss +1 -1
  287. package/libs/@dso-toolkit/sources/src/styling/mixins/rich-content.scss +1 -1
  288. package/libs/@dso-toolkit/sources/src/styling/mixins/step-counter.scss +5 -1
  289. package/libs/@dso-toolkit/sources/src/styling/variables/icon.scss +1 -1
  290. package/libs/@dso-toolkit/sources/src/styling/variables/typography.scss +2 -0
  291. package/libs/@dso-toolkit/sources/src/styling/variables/units.scss +2 -0
  292. package/libs/@dso-toolkit/sources/src/styling/variables/zindex.scss +0 -1
  293. package/libs/_bootstrap.scss +1 -1
  294. package/libs/bootstrap/_forms.scss +0 -213
  295. package/libs/bootstrap/_variables.scss +2 -13
  296. package/libs/bootstrap/mixins/_forms.scss +0 -55
  297. package/package.json +2 -2
  298. package/reference/render/activiteiten.html +5 -1
  299. package/reference/render/anchors.html +0 -29
  300. package/reference/render/badge--badge-danger.html +1 -1
  301. package/reference/render/badge--badge-info.html +1 -1
  302. package/reference/render/badge--badge-outline.html +1 -0
  303. package/reference/render/badge--badge-primary.html +1 -1
  304. package/reference/render/badge--badge-success.html +1 -1
  305. package/reference/render/badge--badge-warning.html +1 -1
  306. package/reference/render/badge--default.html +1 -1
  307. package/reference/render/highlight-box--bordered.html +4 -2
  308. package/reference/render/highlight-box--default.html +4 -2
  309. package/reference/render/highlight-box--icon-indicator.html +4 -2
  310. package/reference/render/highlight-box--step-indicator.html +4 -2
  311. package/reference/render/highlight-box--white-drop-shadow.html +4 -2
  312. package/reference/render/highlight-box--yellow.html +4 -2
  313. package/reference/render/rich-content.html +8 -6
  314. package/reference/render/shopping-cart--items-collapsed.html +5 -1
  315. package/reference/render/shopping-cart--items-edit.html +9 -4
  316. package/reference/render/shopping-cart--items-expanded.html +13 -7
  317. package/reference/render/shopping-cart--subitems-hidden-summary.html +8 -7
  318. package/reference/render/shopping-cart--subitems-with-warning.html +15 -11
  319. package/reference/render/shopping-cart--subitems.html +17 -12
  320. package/reference/render/tooltip--default.html +1 -1
  321. package/reference/render/tooltip--tooltip-bottom.html +1 -1
  322. package/reference/render/tooltip--tooltip-left.html +1 -1
  323. package/reference/render/tooltip--tooltip-right-small.html +1 -1
  324. package/reference/render/tooltip--tooltip-right.html +1 -1
  325. package/reference/render/tooltip-css--default.html +1 -1
  326. package/reference/render/tooltip-css--tooltip-bottom.html +1 -1
  327. package/reference/render/tooltip-css--tooltip-left.html +1 -1
  328. package/reference/render/tooltip-css--tooltip-right-small.html +1 -1
  329. package/reference/render/tooltip-css--tooltip-right.html +1 -1
  330. package/src/styles/components/_dso-select.scss +7 -5
  331. package/src/styles/components/_form.scss +4 -199
  332. package/src/styles/components/_jumbotron.scss +1 -1
  333. package/src/styles/components/_panel.scss +1 -1
  334. package/src/styles/components/_search-bar.scss +5 -2
  335. package/src/styles/mixins/_bootstrap-variables.scss +2 -2
  336. package/dist/library/@dso-toolkit/core/dso-toolkit/p-1fd3d18d.entry.js +0 -1
  337. package/dist/library/@dso-toolkit/core/dso-toolkit/p-2a611af3.entry.js +0 -1
  338. package/dist/library/@dso-toolkit/core/dso-toolkit/p-72e47943.entry.js +0 -1
  339. package/dist/library/@dso-toolkit/core/dso-toolkit/p-a58b3108.entry.js +0 -1
  340. package/dist/library/@dso-toolkit/core/dso-toolkit/p-abd32847.entry.js +0 -1
  341. package/dist/library/@dso-toolkit/core/dso-toolkit/p-d1f62081.entry.js +0 -1
  342. package/dist/library/@dso-toolkit/core/dso-toolkit/p-efb7575f.entry.js +0 -1
  343. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-1fd3d18d.entry.js +0 -1
  344. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-2a611af3.entry.js +0 -1
  345. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-72e47943.entry.js +0 -1
  346. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-a58b3108.entry.js +0 -1
  347. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-abd32847.entry.js +0 -1
  348. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-d1f62081.entry.js +0 -1
  349. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-efb7575f.entry.js +0 -1
  350. package/libs/bootstrap/_input-groups.scss +0 -168
  351. package/src/styles/components/_input-group.scss +0 -11
@@ -0,0 +1,175 @@
1
+ import { HandlerFunction } from '@storybook/addon-actions';
2
+ import { ArgTypes, noControl } from '../../../../stories-helpers';
3
+
4
+ import { FormGroupInput, FormGroupInputDate } from '../../form.models';
5
+
6
+ export interface FormGroupInputArgs {
7
+ id: string;
8
+ type: 'text' | 'email' | 'date' | 'password' | 'url' | 'tel';
9
+ label: string;
10
+ state?: 'invalid' | 'valid';
11
+ value: string;
12
+ required: boolean;
13
+ disabled: boolean;
14
+ readonly: boolean;
15
+ errorText?: string;
16
+ size?: number;
17
+ helpText?: string;
18
+ placeholder?: string;
19
+ feedbackIcon?: 'email' | 'energy';
20
+ infoButtonHandler: HandlerFunction;
21
+ infoButtonLabel: string;
22
+ infoActive: boolean;
23
+ infoText: string;
24
+ infoCloseHandler: HandlerFunction;
25
+ infoFixed: boolean;
26
+ min?: number;
27
+ max?: number;
28
+ }
29
+
30
+ export const formGroupInputArgTypes: ArgTypes<FormGroupInputArgs> = {
31
+ id: {
32
+ control: {
33
+ type: 'text'
34
+ }
35
+ },
36
+ type: {
37
+ options: ['text', 'email', 'date', 'password', 'url', 'tel'],
38
+ control: {
39
+ type: 'select',
40
+ }
41
+ },
42
+ label: {
43
+ control: {
44
+ type: 'text'
45
+ }
46
+ },
47
+ value: {
48
+ control: {
49
+ type: 'text'
50
+ }
51
+ },
52
+ state: {
53
+ options: [undefined, 'invalid', 'valid'],
54
+ control: {
55
+ type: 'select'
56
+ }
57
+ },
58
+ required: {
59
+ control: {
60
+ type: 'boolean'
61
+ }
62
+ },
63
+ disabled: {
64
+ control: {
65
+ type: 'boolean'
66
+ }
67
+ },
68
+ readonly: {
69
+ control: {
70
+ type: 'boolean'
71
+ }
72
+ },
73
+ size: {
74
+ control: {
75
+ type: 'number'
76
+ }
77
+ },
78
+ errorText: {
79
+ control: {
80
+ type: 'text'
81
+ }
82
+ },
83
+ helpText: {
84
+ control: {
85
+ type: 'text'
86
+ }
87
+ },
88
+ placeholder: {
89
+ control: {
90
+ type: 'text'
91
+ }
92
+ },
93
+ feedbackIcon: {
94
+ options: [undefined, 'email', 'energy'],
95
+ control: {
96
+ type: 'select'
97
+ }
98
+ },
99
+ infoActive: {
100
+ control: {
101
+ type: 'boolean'
102
+ }
103
+ },
104
+ infoButtonHandler: {
105
+ ...noControl,
106
+ action: 'infoButton click'
107
+ },
108
+ infoButtonLabel: {
109
+ control: {
110
+ type: 'text'
111
+ }
112
+ },
113
+ infoText: {
114
+ control: {
115
+ type: 'text'
116
+ }
117
+ },
118
+ infoCloseHandler: {
119
+ ...noControl,
120
+ action: 'info close click'
121
+ },
122
+ infoFixed: {
123
+ control: {
124
+ type: 'boolean'
125
+ }
126
+ },
127
+ min: {
128
+ control: {
129
+ type: 'number'
130
+ }
131
+ },
132
+ max: {
133
+ control: {
134
+ type: 'number'
135
+ }
136
+ }
137
+ };
138
+
139
+ export function formGroupInputArgsMapper(a: FormGroupInputArgs): FormGroupInput<any> | FormGroupInputDate<any> {
140
+ return {
141
+ group: 'input',
142
+ type: a.type,
143
+ id: a.id,
144
+ label: a.label,
145
+ value: a.value,
146
+ required: a.required,
147
+ disabled: a.disabled,
148
+ size: a.size,
149
+ readonly: a.readonly,
150
+ state: a.state,
151
+ errorText: a.errorText,
152
+ helpText: a.helpText,
153
+ placeholder: a.placeholder,
154
+ feedback: a.feedbackIcon
155
+ ? {
156
+ icon: a.feedbackIcon
157
+ }
158
+ : undefined,
159
+ infoButton: a.infoButtonLabel && a.infoText
160
+ ? {
161
+ onClick: a.infoButtonHandler,
162
+ active: a.infoActive,
163
+ label: a.infoButtonLabel
164
+ }
165
+ : undefined,
166
+ info: a.infoButtonLabel && a.infoText
167
+ ? {
168
+ active: a.infoActive,
169
+ fixed: a.infoFixed,
170
+ onClose: a.infoCloseHandler,
171
+ richContent: a.infoText
172
+ }
173
+ : undefined
174
+ };
175
+ }
@@ -0,0 +1,32 @@
1
+ import { ArgTypes } from '../../stories-helpers';
2
+ import { content } from './content/form.content';
3
+
4
+ import { Form } from './form.models';
5
+
6
+ export interface FormArgs {
7
+ legend?: string;
8
+ mode: 'horizontal' | 'vertical' | undefined;
9
+ }
10
+
11
+ export const formArgTypes: ArgTypes<FormArgs> = {
12
+ legend: {
13
+ defaultValue: 'Formulier',
14
+ control: {
15
+ type: 'text'
16
+ }
17
+ },
18
+ mode: {
19
+ options: [undefined, 'horizontal', 'vertical'],
20
+ control: {
21
+ type: 'select'
22
+ }
23
+ }
24
+ };
25
+
26
+ export function formArgsMapper(a: FormArgs): Form<any> {
27
+ return {
28
+ legend: a.legend,
29
+ mode: a.mode,
30
+ formGroups: content
31
+ };
32
+ }
@@ -0,0 +1,3 @@
1
+ export * from './models/form-group-input.model';
2
+ export * from './models/form-group.base-model';
3
+ export * from './models/form.model';
@@ -0,0 +1,49 @@
1
+ import { bindTemplate, StorybookParameters, } from '../../stories-helpers';
2
+
3
+ import { formArgsMapper, formArgTypes } from './form.args';
4
+ import { } from './content/form.content';
5
+ import { Form, FormGroupInput, FormGroupInputDate } from './form.models';
6
+ import { formGroupInputArgsMapper, formGroupInputArgTypes } from './form-groups/input/form-group-input.args';
7
+ import { inputContent } from './content/input.content';
8
+ import { DecoratorFunction } from '@storybook/addons';
9
+
10
+ export interface FormParameters<TemplateFnReturnType> {
11
+ formTemplate: (form: Form<TemplateFnReturnType>) => TemplateFnReturnType;
12
+ formGroupDecorator: DecoratorFunction<TemplateFnReturnType>;
13
+ formGroupInputTemplate: (formGroupInput: FormGroupInput<TemplateFnReturnType> | FormGroupInputDate<TemplateFnReturnType>) => TemplateFnReturnType;
14
+ }
15
+
16
+ export function storiesOfForm<TemplateFnReturnType>(
17
+ {
18
+ module: mainModule,
19
+ storiesOf,
20
+ readme
21
+ }: StorybookParameters,
22
+ {
23
+ formTemplate,
24
+ formGroupDecorator,
25
+ formGroupInputTemplate
26
+ }: FormParameters<TemplateFnReturnType>
27
+ ) {
28
+ storiesOf('Form/form', mainModule)
29
+ .addParameters({
30
+ argTypes: formArgTypes,
31
+ docs: {
32
+ page: readme
33
+ }
34
+ })
35
+ .add('form', bindTemplate(formArgsMapper, formTemplate)
36
+ );
37
+
38
+ storiesOf('Form/groups/input', mainModule)
39
+ .addParameters({
40
+ argTypes: formGroupInputArgTypes,
41
+ args: inputContent,
42
+ docs: {
43
+ page: readme
44
+ }
45
+ })
46
+ .addDecorator(formGroupDecorator)
47
+ .add('input', bindTemplate(formGroupInputArgsMapper, formGroupInputTemplate)
48
+ );
49
+ }
@@ -0,0 +1,19 @@
1
+ import { Icon } from '../../..';
2
+
3
+ import { FormGroupBase } from './form-group.base-model';
4
+
5
+ export interface FormGroupInput<TemplateFnReturnType> extends FormGroupBase<TemplateFnReturnType> {
6
+ group: 'input',
7
+ type: 'text' | 'email' | 'password' | 'url' | 'tel';
8
+ value?: string;
9
+ placeholder?: string;
10
+ size?: number;
11
+ autocomplete?: boolean;
12
+ feedback?: Icon;
13
+ }
14
+
15
+ export interface FormGroupInputDate<TemplateFnReturnType> extends Omit<FormGroupInput<TemplateFnReturnType>, 'type'> {
16
+ type: 'date';
17
+ min?: string;
18
+ max?: string;
19
+ }
@@ -0,0 +1,17 @@
1
+ import { Info } from '../../..';
2
+ import { InfoButton } from '../../info-button/info-button.models';
3
+
4
+ export interface FormGroupBase<TemplateFnReturnType> {
5
+ group: string;
6
+ type: string;
7
+ label: string;
8
+ id: string;
9
+ required?: boolean;
10
+ readonly?: boolean;
11
+ disabled?: boolean;
12
+ infoButton?: InfoButton;
13
+ info?: Info<TemplateFnReturnType>;
14
+ state?: 'invalid' | 'valid';
15
+ errorText?: string;
16
+ helpText?: string;
17
+ }
@@ -0,0 +1,3 @@
1
+ import { FormGroupInput, FormGroupInputDate } from './form-group-input.model';
2
+
3
+ export type FormGroup<TemplateFnReturnType> = FormGroupInput<TemplateFnReturnType> | FormGroupInputDate<TemplateFnReturnType>;
@@ -0,0 +1,8 @@
1
+ import { FormGroup } from './form-group.model';
2
+
3
+ export interface Form<TemplateFnReturnType> {
4
+ legend?: string;
5
+ mode?: 'vertical' | 'horizontal';
6
+
7
+ formGroups: FormGroup<TemplateFnReturnType>[] | TemplateFnReturnType;
8
+ }
@@ -5,7 +5,7 @@ $dso-highlight-box-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
5
5
  background-color: $grijs-5;
6
6
  margin-top: $u2;
7
7
  padding: $u2;
8
- margin-bottom: $dso-vertical-spacing-medium;
8
+ margin-bottom: $dso-vertical-spacing-large;
9
9
 
10
10
  &.dso-white {
11
11
  background-color: $wit;
@@ -39,7 +39,6 @@ $dso-highlight-box-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
39
39
  }
40
40
  }
41
41
 
42
- > .dso-rich-content > *:last-child,
43
42
  > *:last-child {
44
43
  margin-bottom: 0;
45
44
  }
@@ -1,6 +1,7 @@
1
1
  export interface Info<TemplateFnReturnType> {
2
+ id?: string;
2
3
  fixed?: boolean;
3
4
  active?: boolean;
4
- richContent: TemplateFnReturnType;
5
+ richContent: TemplateFnReturnType | string;
5
6
  onClose: (e: MouseEvent) => void;
6
7
  }
@@ -5,6 +5,8 @@ import { OzonContent } from "./ozon-content.models";
5
5
 
6
6
  export interface OzonContentArgs {
7
7
  content: string;
8
+ inline: boolean;
9
+ deleted: boolean;
8
10
  onAnchorClick: HandlerFunction;
9
11
  }
10
12
 
@@ -14,6 +16,16 @@ export const ozonContentArgTypes: ArgTypes<OzonContentArgs> = {
14
16
  type: 'text'
15
17
  }
16
18
  },
19
+ inline: {
20
+ control: {
21
+ type: 'boolean'
22
+ }
23
+ },
24
+ deleted: {
25
+ control: {
26
+ type: 'boolean'
27
+ }
28
+ },
17
29
  onAnchorClick: {
18
30
  ...noControl,
19
31
  action: "anchorClick",
@@ -23,6 +35,8 @@ export const ozonContentArgTypes: ArgTypes<OzonContentArgs> = {
23
35
  export function ozonContentArgsMapper(a: OzonContentArgs): OzonContent {
24
36
  return {
25
37
  content: a.content,
38
+ inline: a.inline,
39
+ deleted: a.deleted,
26
40
  onAnchorClick: (e: any) => a.onAnchorClick(e.detail),
27
41
  };
28
42
  }
@@ -13,6 +13,33 @@ export const content = [
13
13
  </Inhoud>
14
14
  `,
15
15
  },
16
+ {
17
+ // De Noot in deze content is verzonnen. Volgens STOP kan dit voorkomen maar ik heb geen echte content gevonden.
18
+ title: 'Opschrift',
19
+ content: `
20
+ <Opschrift
21
+ xmlns='https://standaarden.overheid.nl/stop/imop/tekst/'
22
+ xmlns:ns6='http://www.w3.org/1999/xlink'
23
+ xmlns:ns5='http://www.opengis.net/se'
24
+ xmlns:ns8='http://www.opengis.net/gml'
25
+ xmlns:ns7='http://www.opengis.net/ogc'
26
+ xmlns:data='https://standaarden.overheid.nl/stop/imop/data/'
27
+ xmlns:DSO-PI12='https://standaarden.overheid.nl/lvbb/DSO-PI12'
28
+ xmlns:ns9='http://www.w3.org/2001/SMIL20/'
29
+ xmlns:ns10='http://www.w3.org/2001/SMIL20/Language'
30
+ xmlns:ns2='https://standaarden.overheid.nl/stop/imop/consolidatie/'
31
+ xmlns:ns4='https://standaarden.overheid.nl/lvbb/stop/uitlevering/'
32
+ >Programma's met programmatische aanpak <Noot id="Noot5000" type="voet">
33
+ <NootNummer>5</NootNummer>
34
+ <Al>
35
+ Een Testnoot
36
+ </Al>
37
+ </Noot></Opschrift>
38
+ `,
39
+ args: {
40
+ inline: true
41
+ }
42
+ },
16
43
  {
17
44
  title: 'Lijst',
18
45
  content: `
@@ -1,4 +1,6 @@
1
1
  export interface OzonContent {
2
2
  content: string;
3
+ inline?: boolean;
4
+ deleted?: boolean;
3
5
  onAnchorClick: (e: unknown) => void
4
6
  }
@@ -1,8 +1,9 @@
1
- import { bindTemplate, StorybookParameters } from "../../stories-helpers";
1
+ import { bindTemplate, componentArgs, StorybookParameters } from "../../stories-helpers";
2
2
 
3
3
  import {
4
4
  ozonContentArgTypes,
5
5
  ozonContentArgsMapper,
6
+ OzonContentArgs,
6
7
  } from "./ozon-content.args";
7
8
  import { content } from "./ozon-content.content";
8
9
  import { OzonContent } from "./ozon-content.models";
@@ -28,9 +29,12 @@ export function storiesOfOzonContent<TemplateFnReturnType>(
28
29
 
29
30
  content.forEach((story) => {
30
31
  stories.add(story.title, template, {
31
- args: {
32
+ args: componentArgs<Omit<OzonContentArgs, 'onAnchorClick'>>({
32
33
  content: story.content,
33
- },
34
+ inline: false,
35
+ deleted: false,
36
+ ...story.args
37
+ }),
34
38
  });
35
39
  });
36
40
  }
@@ -5,6 +5,7 @@ import { ShoppingCart, ShoppingCartItem } from './shopping-cart.models';
5
5
  export interface ShoppingCartArgs {
6
6
  collapsed?: boolean;
7
7
  hideSummary?: boolean;
8
+ removeAll?: boolean;
8
9
  isOpen?: boolean;
9
10
  items: ShoppingCartItem[];
10
11
  shoppingcartTitleTag: 'h2' | 'h3';
@@ -22,6 +23,11 @@ export const shoppingCartArgTypes: ArgTypes<ShoppingCartArgs> = {
22
23
  type: 'boolean'
23
24
  }
24
25
  },
26
+ removeAll: {
27
+ control: {
28
+ type: 'boolean'
29
+ }
30
+ },
25
31
  isOpen: {
26
32
  control: {
27
33
  type: 'boolean'
@@ -49,6 +55,7 @@ export function shoppingCartArgsMapper(a: ShoppingCartArgs): ShoppingCart {
49
55
  return {
50
56
  collapsed: a.collapsed,
51
57
  hideSummary: a.hideSummary,
58
+ removeAll: a.removeAll,
52
59
  isOpen: a.isOpen,
53
60
  items: a.items,
54
61
  shoppingcartTitleTag: a.shoppingcartTitleTag,
@@ -1,6 +1,7 @@
1
1
  export interface ShoppingCart {
2
2
  collapsed?: boolean;
3
3
  hideSummary?: boolean;
4
+ removeAll?: boolean;
4
5
  isOpen?: boolean;
5
6
  items: ShoppingCartItem[];
6
7
  shoppingcartTitleTag: string;
@@ -30,6 +30,7 @@ export function storiesOfShoppingCart<TemplateFnReturnType>(
30
30
  args: componentArgs<ShoppingCartArgs>({
31
31
  collapsed: false,
32
32
  hideSummary: false,
33
+ removeAll: false,
33
34
  isOpen: false,
34
35
  shoppingcartTitle: 'Mijn activiteiten',
35
36
  shoppingcartTitleTag: 'h2',
@@ -63,6 +64,28 @@ export function storiesOfShoppingCart<TemplateFnReturnType>(
63
64
  }
64
65
  );
65
66
 
67
+ stories.add(
68
+ 'remove all items option',
69
+ template,
70
+ {
71
+ args: componentArgs<Pick<ShoppingCartArgs, 'removeAll' | 'collapsed' | 'items'>>({
72
+ removeAll: true,
73
+ collapsed: true,
74
+ items: [
75
+ {
76
+ id: uuidv4(),
77
+ label: 'Milieubelastende activiteit - Melding'
78
+ },
79
+ {
80
+ id: uuidv4(),
81
+ label: 'Milieubelastende activiteit - Melding',
82
+ additive: '2'
83
+ }
84
+ ]
85
+ })
86
+ }
87
+ );
88
+
66
89
  stories.add(
67
90
  'edit items',
68
91
  template,
@@ -6,6 +6,7 @@ import { Tooltip, tooltipPositions } from './tooltip.models';
6
6
 
7
7
  export interface TooltipArgs {
8
8
  active?: boolean;
9
+ descriptive?: boolean;
9
10
  position: typeof tooltipPositions;
10
11
  label?: string;
11
12
  id?: string;
@@ -18,6 +19,11 @@ export const tooltipArgTypes: ArgTypes<TooltipArgs> = {
18
19
  type: 'boolean'
19
20
  }
20
21
  },
22
+ descriptive: {
23
+ control: {
24
+ type: 'boolean'
25
+ }
26
+ },
21
27
  position: {
22
28
  options: tooltipPositions,
23
29
  control: {
@@ -42,6 +48,7 @@ export const tooltipArgTypes: ArgTypes<TooltipArgs> = {
42
48
  export function tooltipArgsMapper(a: TooltipArgs): Tooltip {
43
49
  return {
44
50
  active: a.active,
51
+ descriptive: a.descriptive,
45
52
  label: a.label || `Ik sta "${a.position}"`,
46
53
  position: a.position,
47
54
  id: a.id
@@ -2,6 +2,7 @@ export const tooltipPositions = ['top', 'right', 'bottom', 'left'] as const;
2
2
 
3
3
  export interface Tooltip {
4
4
  active?: boolean;
5
+ descriptive?: boolean;
5
6
  position: typeof tooltipPositions;
6
7
  label: string;
7
8
  id?: string;
@@ -9,6 +9,7 @@ interface ViewerGridArgs {
9
9
  overlayOpen: boolean;
10
10
  filterpanelOpen: boolean;
11
11
  noOverlay: boolean;
12
+ mainSizeChange: HandlerFunction;
12
13
  closeOverlay: HandlerFunction;
13
14
  filterpanelCancel: HandlerFunction;
14
15
  filterpanelApply: HandlerFunction;
@@ -47,6 +48,10 @@ export const viewerGridWithSearchResultsArgTypes: ArgTypes<ViewerGridWithSearchR
47
48
  type: "boolean",
48
49
  },
49
50
  },
51
+ mainSizeChange: {
52
+ ...noControl,
53
+ action: 'mainSizeChange'
54
+ },
50
55
  closeOverlay: {
51
56
  ...noControl,
52
57
  action: "closeOverlay",
@@ -4,6 +4,7 @@ interface ViewerGridDemoProperties {
4
4
  filterpanelOpen: boolean;
5
5
  overlayOpen: boolean;
6
6
  noOverlay: boolean;
7
+ mainSizeChange: (e: CustomEvent<ViewerGridChangeSizeEvent>) => void;
7
8
  closeOverlay: (e: MouseEvent) => void;
8
9
  filterpanelCancel: (e: MouseEvent) => void;
9
10
  filterpanelApply: (e: MouseEvent) => void;
@@ -29,6 +30,7 @@ export interface ViewerGrid<TemplateFnReturnType> {
29
30
  overlay: TemplateFnReturnType;
30
31
  overlayOpen: boolean;
31
32
  noOverlay: boolean;
33
+ mainSizeChange: (e: CustomEvent<ViewerGridChangeSizeEvent>) => void;
32
34
  closeOverlay: (e: MouseEvent) => void;
33
35
  filterpanelCancel: (e: MouseEvent) => void;
34
36
  filterpanelApply: (e: MouseEvent) => void;
@@ -58,3 +60,9 @@ export interface ViewerGridFilterblok<TemplateFnReturnType> {
58
60
  activeFilters: Label[];
59
61
  onAllOptions: (e: MouseEvent) => void;
60
62
  }
63
+
64
+ export interface ViewerGridChangeSizeEvent {
65
+ stage: 'start' | 'end';
66
+ previousSize: string;
67
+ currentSize: string;
68
+ }
@@ -42,6 +42,8 @@ export * from './components/dropdown-menu/dropdown-menu.models';
42
42
  export * from './components/dropdown-menu/dropdown-menu.stories';
43
43
  export * from './components/footnotes/footnotes.models';
44
44
  export * from './components/footnotes/footnotes.stories';
45
+ export * from './components/form/form.models';
46
+ export * from './components/form/form.stories';
45
47
  export * from './components/header/header.models';
46
48
  export * from './components/header/header.stories';
47
49
  export * from './components/helpcenter-panel/helpcenter-panel.models';
@@ -31,7 +31,7 @@ dl {
31
31
  }
32
32
 
33
33
  dd {
34
- @include rich-content();
34
+ @include rich-content_children();
35
35
  @include clearfix();
36
36
 
37
37
  margin-left: 0;
@@ -31,7 +31,7 @@ th {
31
31
  table.table {
32
32
  td:not(.plain-content),
33
33
  th {
34
- @include rich-content();
34
+ @include rich-content_children();
35
35
  }
36
36
  }
37
37
 
@@ -1,6 +1,6 @@
1
1
  $rich-content-margin-bottom: $dso-vertical-spacing-medium;
2
2
 
3
- @mixin rich-content() {
3
+ @mixin rich-content_children() {
4
4
  p {
5
5
  margin: 0 0 $rich-content-margin-bottom;
6
6
  }
@@ -5,7 +5,7 @@
5
5
  }
6
6
 
7
7
  .dso-step-counter {
8
- background-color: $grasgroen;
8
+ background-color: $bosgroen;
9
9
  border: $u1 solid $lime;
10
10
  border-radius: 50%;
11
11
  box-sizing: content-box;
@@ -20,4 +20,8 @@
20
20
  top: -$u3;
21
21
  width: $u4;
22
22
  }
23
+
24
+ dso-icon {
25
+ vertical-align: text-top;
26
+ }
23
27
  }
@@ -1,2 +1,2 @@
1
- $dso-icon-size: 1.5em;
1
+ $dso-icon-size: $u3;
2
2
  $dso-icon-vertical-align: top;
@@ -19,6 +19,8 @@ $font-size-h6: $dso-font-size-h5;
19
19
  $line-height-base: 1.5;
20
20
  $line-height-computed: math.floor($font-size-base * $line-height-base);
21
21
  $line-height-small: 1.5;
22
+ $line-height-large: 1.3333333;
23
+
22
24
 
23
25
  $headings: "h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6";
24
26
  $headings-font-family: "Asap", sans-serif;