@dso-toolkit/core 100.1.0 → 100.3.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 (456) hide show
  1. package/dist/bundle/dso-accordion-section.js +6 -6
  2. package/dist/bundle/dso-action-list-item.js +1 -1
  3. package/dist/bundle/dso-advanced-select.js +10 -10
  4. package/dist/bundle/dso-alert.js +1 -1
  5. package/dist/bundle/dso-annotation-activiteit.js +5 -5
  6. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +5 -5
  7. package/dist/bundle/dso-annotation-kaart.js +3 -3
  8. package/dist/bundle/dso-annotation-locatie.js +1 -1
  9. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +5 -5
  10. package/dist/bundle/dso-attachments-counter.js +1 -1
  11. package/dist/bundle/dso-autosuggest.js +5 -5
  12. package/dist/bundle/dso-badge.js +1 -1
  13. package/dist/bundle/dso-banner.js +3 -3
  14. package/dist/bundle/dso-button-group.js +1 -1
  15. package/dist/bundle/dso-card-container.js +1 -1
  16. package/dist/bundle/dso-card.js +3 -3
  17. package/dist/bundle/dso-contact-information.js +1 -1
  18. package/dist/bundle/dso-cursor-tooltip.js +1 -1
  19. package/dist/bundle/dso-date-picker.js +1 -1
  20. package/dist/bundle/dso-document-card.js +6 -3
  21. package/dist/bundle/dso-document-component.js +1 -1
  22. package/dist/bundle/dso-dropdown-menu-group.js +1 -1
  23. package/dist/bundle/dso-dropdown-menu-item.js +2 -2
  24. package/dist/bundle/dso-dropdown-menu.js +3 -3
  25. package/dist/bundle/dso-expandable.js +1 -1
  26. package/dist/bundle/dso-grid-column.d.ts +11 -0
  27. package/dist/bundle/dso-grid-column.js +132 -0
  28. package/dist/bundle/dso-header.js +3 -3
  29. package/dist/bundle/dso-hero-image.d.ts +11 -0
  30. package/dist/bundle/dso-hero-image.js +35 -0
  31. package/dist/bundle/dso-highlight-box.js +1 -1
  32. package/dist/bundle/dso-history-item.js +2 -2
  33. package/dist/bundle/dso-icon-button.js +1 -1
  34. package/dist/bundle/dso-icon.js +1 -1
  35. package/dist/bundle/dso-image-overlay.js +1 -1
  36. package/dist/bundle/dso-info-button.js +1 -1
  37. package/dist/bundle/dso-info.js +1 -1
  38. package/dist/bundle/dso-input-range.js +2 -2
  39. package/dist/bundle/dso-label.js +1 -1
  40. package/dist/bundle/dso-legend-group.js +3 -3
  41. package/dist/bundle/dso-legend-item.js +6 -6
  42. package/dist/bundle/dso-legend.js +4 -4
  43. package/dist/bundle/dso-list-button.js +7 -7
  44. package/dist/bundle/dso-logo.js +1 -1
  45. package/dist/bundle/dso-map-base-layers.js +7 -7
  46. package/dist/bundle/dso-map-controls.js +5 -5
  47. package/dist/bundle/dso-map-layer-object.js +2 -2
  48. package/dist/bundle/dso-map-layer.js +2 -2
  49. package/dist/bundle/dso-map-message.js +31 -4
  50. package/dist/bundle/dso-map-overlays.js +7 -7
  51. package/dist/bundle/dso-mark-bar.js +3 -3
  52. package/dist/bundle/dso-modal.js +1 -1
  53. package/dist/bundle/dso-onboarding-tip.js +3 -3
  54. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  55. package/dist/bundle/dso-ozon-content.js +1 -1
  56. package/dist/bundle/dso-pagination.js +2 -2
  57. package/dist/bundle/dso-panel.js +1 -1
  58. package/dist/bundle/dso-plekinfo-card.js +2 -2
  59. package/dist/bundle/dso-progress-indicator.js +1 -1
  60. package/dist/bundle/dso-project-item.js +4 -4
  61. package/dist/bundle/dso-responsive-element.js +1 -1
  62. package/dist/bundle/dso-scrollable.js +1 -1
  63. package/dist/bundle/dso-segmented-button.js +1 -1
  64. package/dist/bundle/dso-selectable.js +1 -1
  65. package/dist/bundle/dso-shopping-cart-item.d.ts +11 -0
  66. package/dist/bundle/dso-shopping-cart-item.js +88 -0
  67. package/dist/bundle/dso-shopping-cart.d.ts +11 -0
  68. package/dist/bundle/dso-shopping-cart.js +66 -0
  69. package/dist/bundle/dso-skiplink.js +2 -2
  70. package/dist/bundle/dso-slide-toggle.js +1 -1
  71. package/dist/bundle/dso-survey-rating.js +5 -5
  72. package/dist/bundle/dso-table.js +1 -1
  73. package/dist/bundle/dso-tabs.js +1 -1
  74. package/dist/bundle/dso-tijdreis-banner.js +2 -2
  75. package/dist/bundle/dso-tree-view.js +3 -3
  76. package/dist/bundle/dso-viewer-grid.js +4 -3
  77. package/dist/bundle/dsot-document-component-demo.js +17 -17
  78. package/dist/bundle/index.js +8 -0
  79. package/dist/bundle/{p-Dmj2gaMT.js → p-BUMxb_Ev.js} +4 -4
  80. package/dist/bundle/{p-DJ-7HwUE.js → p-Ba4T-27v.js} +8 -8
  81. package/dist/bundle/{p-KK2DjdQT.js → p-BdIkNKXy.js} +1 -1
  82. package/dist/bundle/{p-_1Bto3fX.js → p-CFU9xZQK.js} +2 -2
  83. package/dist/bundle/{p-DP38TdZ-.js → p-CSFTUYxS.js} +3 -3
  84. package/dist/bundle/{p-DYl6avOc.js → p-C_h0uNbd.js} +5 -5
  85. package/dist/bundle/{p-U-rJ9-GL.js → p-CfRHoykw.js} +2 -2
  86. package/dist/bundle/{p-8YcBvELS.js → p-ClxcNLxu.js} +3 -3
  87. package/dist/bundle/{p-B3FbvmVw.js → p-CwsxKEZu.js} +1 -1
  88. package/dist/bundle/{p-CWZTy2nB.js → p-D33uqBOM.js} +2 -2
  89. package/dist/bundle/{p-Br469Elu.js → p-DCB4WOS7.js} +4 -4
  90. package/dist/bundle/{p-BHRblHY3.js → p-DG8Kv-AI.js} +1 -1
  91. package/dist/bundle/{p-DAmxDDoU.js → p-DPvJlcnu.js} +3 -3
  92. package/dist/bundle/{p-EXGmxXIf.js → p-GK7sI8Gb.js} +2 -2
  93. package/dist/bundle/{p-DXgD4AkM.js → p-O1XEOqgC.js} +2 -2
  94. package/dist/bundle/{p-Czw2L8TD.js → p-OmU7Yv3A.js} +3 -3
  95. package/dist/bundle/{p-B0P26kAp.js → p-ZSFwKURq.js} +1 -1
  96. package/dist/bundle/{p-B82C0K_L.js → p-euQGyPM7.js} +16 -16
  97. package/dist/bundle/{p-BvDes8Gu.js → p-hkT73OMa.js} +5 -5
  98. package/dist/bundle/{p-BQxtaAHi.js → p-i3p8engD.js} +2 -2
  99. package/dist/bundle/{p-Cip0R_he.js → p-jgC8pS3f.js} +3 -3
  100. package/dist/bundle/{p-6nUCOHWn.js → p-jornOoTk.js} +6 -6
  101. package/dist/bundle/{p-TW2DeBeB.js → p-nIEuIxSJ.js} +4 -4
  102. package/dist/cjs/dso-advanced-select.cjs.entry.js +5 -5
  103. package/dist/cjs/dso-alert_7.cjs.entry.js +7 -7
  104. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +1 -1
  105. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +1 -1
  106. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +1 -1
  107. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +5 -5
  108. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +1 -1
  109. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +3 -3
  110. package/dist/cjs/dso-autosuggest.cjs.entry.js +2 -2
  111. package/dist/cjs/dso-banner.cjs.entry.js +2 -2
  112. package/dist/cjs/dso-button-group.cjs.entry.js +1 -1
  113. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  114. package/dist/cjs/dso-card.cjs.entry.js +2 -2
  115. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  116. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
  117. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  118. package/dist/cjs/dso-document-card.cjs.entry.js +5 -2
  119. package/dist/cjs/dso-dropdown-menu-group.cjs.entry.js +1 -1
  120. package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +1 -1
  121. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  122. package/dist/cjs/dso-grid-column.cjs.entry.js +106 -0
  123. package/dist/cjs/dso-header.cjs.entry.js +1 -1
  124. package/dist/cjs/dso-hero-image.cjs.entry.js +17 -0
  125. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  126. package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
  127. package/dist/cjs/{dso-icon.cjs.entry.js → dso-icon_2.cjs.entry.js} +90 -1
  128. package/dist/cjs/dso-info_3.cjs.entry.js +3 -3
  129. package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
  130. package/dist/cjs/dso-label_3.cjs.entry.js +3 -3
  131. package/dist/cjs/dso-legend-group.cjs.entry.js +1 -1
  132. package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
  133. package/dist/cjs/dso-legend.cjs.entry.js +1 -1
  134. package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
  135. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  136. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  137. package/dist/cjs/dso-map-controls.cjs.entry.js +1 -1
  138. package/dist/cjs/dso-map-layer-object.cjs.entry.js +1 -1
  139. package/dist/cjs/dso-map-layer.cjs.entry.js +1 -1
  140. package/dist/cjs/dso-map-message.cjs.entry.js +28 -2
  141. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  142. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  143. package/dist/cjs/dso-modal.cjs.entry.js +1 -1
  144. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +1 -1
  145. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +1 -1
  146. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  147. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  148. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  149. package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
  150. package/dist/cjs/dso-segmented-button.cjs.entry.js +1 -1
  151. package/dist/cjs/dso-shopping-cart-item.cjs.entry.js +53 -0
  152. package/dist/cjs/dso-shopping-cart.cjs.entry.js +33 -0
  153. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  154. package/dist/cjs/dso-survey-rating.cjs.entry.js +2 -2
  155. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  156. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +1 -1
  157. package/dist/cjs/dso-toolkit.cjs.js +1 -1
  158. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  159. package/dist/cjs/dso-viewer-grid.cjs.entry.js +4 -3
  160. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  161. package/dist/cjs/loader.cjs.js +1 -1
  162. package/dist/collection/collection-manifest.json +4 -0
  163. package/dist/collection/components/advanced-select/advanced-select.css +18 -1
  164. package/dist/collection/components/advanced-select/advanced-select.js +4 -4
  165. package/dist/collection/components/alert/alert.js +1 -1
  166. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +1 -1
  167. package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +1 -1
  168. package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +1 -1
  169. package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +1 -1
  170. package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +1 -1
  171. package/dist/collection/components/attachments-counter/attachments-counter.js +1 -1
  172. package/dist/collection/components/autosuggest/autosuggest.js +2 -2
  173. package/dist/collection/components/badge/badge.js +2 -2
  174. package/dist/collection/components/banner/banner.js +2 -2
  175. package/dist/collection/components/button-group/button-group.js +1 -1
  176. package/dist/collection/components/card/card.js +2 -2
  177. package/dist/collection/components/card-container/card-container.js +1 -1
  178. package/dist/collection/components/contact-information/contact-information.js +1 -1
  179. package/dist/collection/components/cursor-tooltip/cursor-tooltip.js +1 -1
  180. package/dist/collection/components/date-picker/date-picker.js +1 -1
  181. package/dist/collection/components/document-card/document-card.css +6 -1
  182. package/dist/collection/components/document-card/document-card.js +5 -1
  183. package/dist/collection/components/document-component/document-component.js +4 -4
  184. package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
  185. package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +1 -1
  186. package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +1 -1
  187. package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
  188. package/dist/collection/components/expandable/expandable.js +2 -2
  189. package/dist/collection/components/grid-column/grid-column.css +289 -0
  190. package/dist/collection/components/grid-column/grid-column.interfaces.js +1 -0
  191. package/dist/collection/components/grid-column/grid-column.js +185 -0
  192. package/dist/collection/components/header/header.js +1 -1
  193. package/dist/collection/components/hero-image/hero-image.css +60 -0
  194. package/dist/collection/components/hero-image/hero-image.js +22 -0
  195. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  196. package/dist/collection/components/history-item/history-item.js +1 -1
  197. package/dist/collection/components/icon/icon.js +1 -1
  198. package/dist/collection/components/icon-button/icon-button.js +1 -1
  199. package/dist/collection/components/info/info.js +1 -1
  200. package/dist/collection/components/info-button/info-button.js +1 -1
  201. package/dist/collection/components/input-range/input-range.js +2 -2
  202. package/dist/collection/components/label/label.js +2 -2
  203. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  204. package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
  205. package/dist/collection/components/legend/legend.js +1 -1
  206. package/dist/collection/components/list-button/list-button.js +1 -1
  207. package/dist/collection/components/logo/logo.js +1 -1
  208. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  209. package/dist/collection/components/map-controls/map-controls.js +1 -1
  210. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  211. package/dist/collection/components/map-layer/map-layer.js +1 -1
  212. package/dist/collection/components/map-message/map-message.js +30 -3
  213. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  214. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  215. package/dist/collection/components/modal/modal.js +1 -1
  216. package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
  217. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
  218. package/dist/collection/components/ozon-content/ozon-content.js +1 -1
  219. package/dist/collection/components/panel/panel.js +1 -1
  220. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  221. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  222. package/dist/collection/components/project-item/project-item.js +1 -1
  223. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  224. package/dist/collection/components/scrollable/scrollable.js +2 -2
  225. package/dist/collection/components/segmented-button/segmented-button.js +1 -1
  226. package/dist/collection/components/selectable/selectable.js +1 -1
  227. package/dist/collection/components/shopping-cart/shopping-cart-item/shopping-cart-item.css +286 -0
  228. package/dist/collection/components/shopping-cart/shopping-cart-item/shopping-cart-item.interfaces.js +1 -0
  229. package/dist/collection/components/shopping-cart/shopping-cart-item/shopping-cart-item.js +218 -0
  230. package/dist/collection/components/shopping-cart/shopping-cart.css +218 -0
  231. package/dist/collection/components/shopping-cart/shopping-cart.interfaces.js +1 -0
  232. package/dist/collection/components/shopping-cart/shopping-cart.js +116 -0
  233. package/dist/collection/components/skiplink/skiplink.js +1 -1
  234. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  235. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  236. package/dist/collection/components/table/table.js +1 -1
  237. package/dist/collection/components/tabs/tabs.js +1 -1
  238. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
  239. package/dist/collection/components/tree-view/tree-view.js +1 -1
  240. package/dist/collection/components/viewer-grid/viewer-grid.js +4 -3
  241. package/dist/components/alert.js +1 -1
  242. package/dist/components/annotation-locatie.js +1 -1
  243. package/dist/components/attachments-counter.js +1 -1
  244. package/dist/components/badge.js +1 -1
  245. package/dist/components/button-group.js +1 -1
  246. package/dist/components/document-component.js +1 -1
  247. package/dist/components/dso-advanced-select.js +1 -1
  248. package/dist/components/dso-annotation-activiteit.js +1 -1
  249. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  250. package/dist/components/dso-annotation-kaart.js +1 -1
  251. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  252. package/dist/components/dso-autosuggest.js +1 -1
  253. package/dist/components/dso-banner.js +1 -1
  254. package/dist/components/dso-card-container.js +1 -1
  255. package/dist/components/dso-card.js +1 -1
  256. package/dist/components/dso-contact-information.js +1 -1
  257. package/dist/components/dso-cursor-tooltip.js +1 -1
  258. package/dist/components/dso-date-picker.js +1 -1
  259. package/dist/components/dso-document-card.js +1 -1
  260. package/dist/components/dso-dropdown-menu-group.js +1 -1
  261. package/dist/components/dso-dropdown-menu-item.js +1 -1
  262. package/dist/components/dso-dropdown-menu.js +1 -1
  263. package/dist/components/dso-grid-column.d.ts +11 -0
  264. package/dist/components/dso-grid-column.js +1 -0
  265. package/dist/components/dso-header.js +1 -1
  266. package/dist/components/dso-hero-image.d.ts +11 -0
  267. package/dist/components/dso-hero-image.js +1 -0
  268. package/dist/components/dso-highlight-box.js +1 -1
  269. package/dist/components/dso-history-item.js +1 -1
  270. package/dist/components/dso-input-range.js +1 -1
  271. package/dist/components/dso-legend-group.js +1 -1
  272. package/dist/components/dso-legend-item.js +1 -1
  273. package/dist/components/dso-legend.js +1 -1
  274. package/dist/components/dso-list-button.js +1 -1
  275. package/dist/components/dso-logo.js +1 -1
  276. package/dist/components/dso-map-base-layers.js +1 -1
  277. package/dist/components/dso-map-controls.js +1 -1
  278. package/dist/components/dso-map-layer-object.js +1 -1
  279. package/dist/components/dso-map-layer.js +1 -1
  280. package/dist/components/dso-map-message.js +1 -1
  281. package/dist/components/dso-map-overlays.js +1 -1
  282. package/dist/components/dso-mark-bar.js +1 -1
  283. package/dist/components/dso-onboarding-tip.js +1 -1
  284. package/dist/components/dso-plekinfo-card.js +1 -1
  285. package/dist/components/dso-project-item.js +1 -1
  286. package/dist/components/dso-segmented-button.js +1 -1
  287. package/dist/components/dso-shopping-cart-item.d.ts +11 -0
  288. package/dist/components/dso-shopping-cart-item.js +1 -0
  289. package/dist/components/dso-shopping-cart.d.ts +11 -0
  290. package/dist/components/dso-shopping-cart.js +1 -0
  291. package/dist/components/dso-skiplink.js +1 -1
  292. package/dist/components/dso-survey-rating.js +1 -1
  293. package/dist/components/dso-tabs.js +1 -1
  294. package/dist/components/dso-tijdreis-banner.js +1 -1
  295. package/dist/components/dso-tree-view.js +1 -1
  296. package/dist/components/dso-viewer-grid.js +1 -1
  297. package/dist/components/dsot-document-component-demo.js +1 -1
  298. package/dist/components/expandable.js +1 -1
  299. package/dist/components/icon-button.js +1 -1
  300. package/dist/components/icon.js +1 -1
  301. package/dist/components/index.d.ts +8 -0
  302. package/dist/components/index.js +1 -1
  303. package/dist/components/info-button.js +1 -1
  304. package/dist/components/info.js +1 -1
  305. package/dist/components/label.js +1 -1
  306. package/dist/components/modal.js +1 -1
  307. package/dist/components/ozon-content-toggletip.js +1 -1
  308. package/dist/components/ozon-content.js +1 -1
  309. package/dist/components/panel.js +1 -1
  310. package/dist/components/progress-indicator.js +1 -1
  311. package/dist/components/responsive-element.js +1 -1
  312. package/dist/components/scrollable.js +1 -1
  313. package/dist/components/selectable.js +1 -1
  314. package/dist/components/slide-toggle.js +1 -1
  315. package/dist/components/table.js +1 -1
  316. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  317. package/dist/dso-toolkit/{p-70bcf975.entry.js → p-0061cf42.entry.js} +1 -1
  318. package/dist/dso-toolkit/{p-6a9f4e50.entry.js → p-088a1cf9.entry.js} +1 -1
  319. package/dist/dso-toolkit/{p-41fbe275.entry.js → p-09531c36.entry.js} +1 -1
  320. package/dist/dso-toolkit/p-0fb7714e.entry.js +1 -0
  321. package/dist/dso-toolkit/{p-ce64e15d.entry.js → p-126561a7.entry.js} +1 -1
  322. package/dist/dso-toolkit/{p-f704fe55.entry.js → p-1abdd4e4.entry.js} +1 -1
  323. package/dist/dso-toolkit/{p-7b78dcd3.entry.js → p-2381e415.entry.js} +1 -1
  324. package/dist/dso-toolkit/{p-f3e73775.entry.js → p-272382d1.entry.js} +1 -1
  325. package/dist/dso-toolkit/{p-71724040.entry.js → p-288ad631.entry.js} +1 -1
  326. package/dist/dso-toolkit/{p-d29686b8.entry.js → p-294f153d.entry.js} +1 -1
  327. package/dist/dso-toolkit/p-2d79df59.entry.js +1 -0
  328. package/dist/dso-toolkit/{p-b4b9b379.entry.js → p-2e7acaf8.entry.js} +1 -1
  329. package/dist/dso-toolkit/{p-f1788b0f.entry.js → p-32fba74e.entry.js} +1 -1
  330. package/dist/dso-toolkit/{p-6814c292.entry.js → p-356ca90c.entry.js} +1 -1
  331. package/dist/dso-toolkit/{p-5ffc700e.entry.js → p-3628d830.entry.js} +1 -1
  332. package/dist/dso-toolkit/{p-1c28315c.entry.js → p-3c4477df.entry.js} +1 -1
  333. package/dist/dso-toolkit/{p-eef7afe1.entry.js → p-3e1e08b2.entry.js} +1 -1
  334. package/dist/dso-toolkit/{p-90777f4f.entry.js → p-3fc897a1.entry.js} +1 -1
  335. package/dist/dso-toolkit/{p-b2f397b0.entry.js → p-46d970fe.entry.js} +1 -1
  336. package/dist/dso-toolkit/{p-532385ca.entry.js → p-48cd0276.entry.js} +1 -1
  337. package/dist/dso-toolkit/{p-ced912cd.entry.js → p-4b81e58d.entry.js} +1 -1
  338. package/dist/dso-toolkit/{p-b021e5b9.entry.js → p-55668cd5.entry.js} +1 -1
  339. package/dist/dso-toolkit/p-5598c232.entry.js +5 -0
  340. package/dist/dso-toolkit/p-591d65b2.entry.js +1 -0
  341. package/dist/dso-toolkit/{p-f8592a62.entry.js → p-634b0a98.entry.js} +1 -1
  342. package/dist/dso-toolkit/p-64f2263c.entry.js +1 -0
  343. package/dist/dso-toolkit/{p-86e6e0fc.entry.js → p-65c6df97.entry.js} +1 -1
  344. package/dist/dso-toolkit/{p-7da56abf.entry.js → p-6a6a38e6.entry.js} +1 -1
  345. package/dist/dso-toolkit/{p-fa4e993e.entry.js → p-6ba25c12.entry.js} +1 -1
  346. package/dist/dso-toolkit/p-768794e0.entry.js +1 -0
  347. package/dist/dso-toolkit/{p-460f9f1b.entry.js → p-79af2ba3.entry.js} +1 -1
  348. package/dist/dso-toolkit/{p-9fea3ebf.entry.js → p-7cea7c6f.entry.js} +1 -1
  349. package/dist/dso-toolkit/{p-8e603464.entry.js → p-85a18053.entry.js} +1 -1
  350. package/dist/dso-toolkit/{p-81e702e7.entry.js → p-8bd4637f.entry.js} +1 -1
  351. package/dist/dso-toolkit/{p-e128eca7.entry.js → p-8f408a07.entry.js} +1 -1
  352. package/dist/dso-toolkit/{p-c839998b.entry.js → p-90a4e408.entry.js} +1 -1
  353. package/dist/dso-toolkit/{p-ef2da0ad.entry.js → p-96c786ed.entry.js} +1 -1
  354. package/dist/dso-toolkit/{p-43970647.entry.js → p-99db12e8.entry.js} +1 -1
  355. package/dist/dso-toolkit/{p-bf4b3495.entry.js → p-9ca7e45e.entry.js} +1 -1
  356. package/dist/dso-toolkit/p-a0b21fb2.entry.js +1 -0
  357. package/dist/dso-toolkit/{p-5ece2ae5.entry.js → p-a3750b36.entry.js} +1 -1
  358. package/dist/dso-toolkit/p-a98b5b00.entry.js +1 -0
  359. package/dist/dso-toolkit/{p-58ed63b6.entry.js → p-ac4e9345.entry.js} +1 -1
  360. package/dist/dso-toolkit/{p-627c9d12.entry.js → p-b4a169c3.entry.js} +1 -1
  361. package/dist/dso-toolkit/{p-d9979767.entry.js → p-bd1ce8d2.entry.js} +1 -1
  362. package/dist/dso-toolkit/p-be6bbcf3.entry.js +1 -0
  363. package/dist/dso-toolkit/{p-5edd97cf.entry.js → p-d2e60e72.entry.js} +1 -1
  364. package/dist/dso-toolkit/{p-502203a3.entry.js → p-d7defe72.entry.js} +1 -1
  365. package/dist/dso-toolkit/p-df3c0dad.entry.js +1 -0
  366. package/dist/dso-toolkit/p-e114e967.entry.js +1 -0
  367. package/dist/dso-toolkit/{p-6851a8cb.entry.js → p-e2d4f404.entry.js} +1 -1
  368. package/dist/dso-toolkit/{p-ac6c666a.entry.js → p-ebf09749.entry.js} +1 -1
  369. package/dist/dso-toolkit/{p-c5f0b112.entry.js → p-f0b21f16.entry.js} +1 -1
  370. package/dist/dso-toolkit/{p-7c5a3545.entry.js → p-f17348e1.entry.js} +1 -1
  371. package/dist/dso-toolkit/{p-d8623a7f.entry.js → p-f273babf.entry.js} +1 -1
  372. package/dist/dso-toolkit/{p-dd03f91c.entry.js → p-f5575f84.entry.js} +1 -1
  373. package/dist/dso-toolkit/{p-7834b538.entry.js → p-f5fd3664.entry.js} +1 -1
  374. package/dist/dso-toolkit/{p-6d5efb25.entry.js → p-f85b0396.entry.js} +1 -1
  375. package/dist/esm/dso-advanced-select.entry.js +5 -5
  376. package/dist/esm/dso-alert_7.entry.js +7 -7
  377. package/dist/esm/dso-annotation-activiteit.entry.js +1 -1
  378. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +1 -1
  379. package/dist/esm/dso-annotation-kaart.entry.js +1 -1
  380. package/dist/esm/dso-annotation-locatie_2.entry.js +5 -5
  381. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
  382. package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
  383. package/dist/esm/dso-autosuggest.entry.js +2 -2
  384. package/dist/esm/dso-banner.entry.js +2 -2
  385. package/dist/esm/dso-button-group.entry.js +1 -1
  386. package/dist/esm/dso-card-container.entry.js +1 -1
  387. package/dist/esm/dso-card.entry.js +2 -2
  388. package/dist/esm/dso-contact-information.entry.js +1 -1
  389. package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
  390. package/dist/esm/dso-date-picker.entry.js +1 -1
  391. package/dist/esm/dso-document-card.entry.js +5 -2
  392. package/dist/esm/dso-dropdown-menu-group.entry.js +1 -1
  393. package/dist/esm/dso-dropdown-menu-item.entry.js +1 -1
  394. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  395. package/dist/esm/dso-grid-column.entry.js +104 -0
  396. package/dist/esm/dso-header.entry.js +1 -1
  397. package/dist/esm/dso-hero-image.entry.js +15 -0
  398. package/dist/esm/dso-highlight-box.entry.js +1 -1
  399. package/dist/esm/dso-history-item.entry.js +1 -1
  400. package/dist/esm/{dso-icon.entry.js → dso-icon_2.entry.js} +91 -3
  401. package/dist/esm/dso-info_3.entry.js +3 -3
  402. package/dist/esm/dso-input-range.entry.js +2 -2
  403. package/dist/esm/dso-label_3.entry.js +3 -3
  404. package/dist/esm/dso-legend-group.entry.js +1 -1
  405. package/dist/esm/dso-legend-item.entry.js +1 -1
  406. package/dist/esm/dso-legend.entry.js +1 -1
  407. package/dist/esm/dso-list-button.entry.js +1 -1
  408. package/dist/esm/dso-logo.entry.js +1 -1
  409. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  410. package/dist/esm/dso-map-controls.entry.js +1 -1
  411. package/dist/esm/dso-map-layer-object.entry.js +1 -1
  412. package/dist/esm/dso-map-layer.entry.js +1 -1
  413. package/dist/esm/dso-map-message.entry.js +28 -2
  414. package/dist/esm/dso-map-overlays.entry.js +1 -1
  415. package/dist/esm/dso-mark-bar.entry.js +1 -1
  416. package/dist/esm/dso-modal.entry.js +1 -1
  417. package/dist/esm/dso-onboarding-tip.entry.js +1 -1
  418. package/dist/esm/dso-plekinfo-card.entry.js +1 -1
  419. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  420. package/dist/esm/dso-project-item.entry.js +1 -1
  421. package/dist/esm/dso-responsive-element.entry.js +1 -1
  422. package/dist/esm/dso-scrollable.entry.js +2 -2
  423. package/dist/esm/dso-segmented-button.entry.js +1 -1
  424. package/dist/esm/dso-shopping-cart-item.entry.js +51 -0
  425. package/dist/esm/dso-shopping-cart.entry.js +31 -0
  426. package/dist/esm/dso-skiplink.entry.js +1 -1
  427. package/dist/esm/dso-survey-rating.entry.js +2 -2
  428. package/dist/esm/dso-tabs.entry.js +1 -1
  429. package/dist/esm/dso-tijdreis-banner.entry.js +1 -1
  430. package/dist/esm/dso-toolkit.js +1 -1
  431. package/dist/esm/dso-tree-view.entry.js +1 -1
  432. package/dist/esm/dso-viewer-grid.entry.js +4 -3
  433. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  434. package/dist/esm/loader.js +1 -1
  435. package/dist/types/components/advanced-select/advanced-select.interfaces.d.ts +8 -0
  436. package/dist/types/components/document-card/document-card.d.ts +2 -0
  437. package/dist/types/components/grid-column/grid-column.d.ts +39 -0
  438. package/dist/types/components/grid-column/grid-column.interfaces.d.ts +3 -0
  439. package/dist/types/components/hero-image/hero-image.d.ts +8 -0
  440. package/dist/types/components/map-message/map-message.d.ts +5 -0
  441. package/dist/types/components/shopping-cart/shopping-cart-item/shopping-cart-item.d.ts +44 -0
  442. package/dist/types/components/shopping-cart/shopping-cart-item/shopping-cart-item.interfaces.d.ts +10 -0
  443. package/dist/types/components/shopping-cart/shopping-cart.d.ts +25 -0
  444. package/dist/types/components/shopping-cart/shopping-cart.interfaces.d.ts +4 -0
  445. package/dist/types/components.d.ts +217 -0
  446. package/package.json +3 -3
  447. package/dist/cjs/dso-icon-button.cjs.entry.js +0 -93
  448. package/dist/dso-toolkit/p-017299d2.entry.js +0 -5
  449. package/dist/dso-toolkit/p-03d9b96e.entry.js +0 -1
  450. package/dist/dso-toolkit/p-0d5b878e.entry.js +0 -1
  451. package/dist/dso-toolkit/p-5d41c119.entry.js +0 -1
  452. package/dist/dso-toolkit/p-622b47ad.entry.js +0 -1
  453. package/dist/dso-toolkit/p-82e90779.entry.js +0 -1
  454. package/dist/dso-toolkit/p-9d6b7a0f.entry.js +0 -1
  455. package/dist/dso-toolkit/p-b8648298.entry.js +0 -1
  456. package/dist/esm/dso-icon-button.entry.js +0 -91
@@ -15,7 +15,7 @@ export class SegmentedButton {
15
15
  });
16
16
  }
17
17
  render() {
18
- return (h("div", { key: '34c467709db2058c287c30c90e87c3f7d4cad523', class: "segmented-button", role: "radiogroup", "aria-label": this.label, "aria-required": this.required?.toString() }, this.options?.map((option) => {
18
+ return (h("div", { key: '24e855e55cf1feec27c4ea411d7d3ba05da2a732', class: "segmented-button", role: "radiogroup", "aria-label": this.label, "aria-required": this.required?.toString() }, this.options?.map((option) => {
19
19
  return (h("label", null, h("input", { type: "radio", name: this.groupName, value: option.label, checked: this.activeOption === option, disabled: option.disabled, onClick: (event) => this.handleClick(option, event) }), h("span", { class: "segment-label" }, option.label)));
20
20
  })));
21
21
  }
@@ -51,7 +51,7 @@ export class Selectable {
51
51
  const describedBy = [hasInfo && this.infoFixed ? this.describedById : undefined, this.errormessage]
52
52
  .filter((value) => value !== undefined)
53
53
  .join(" ") || undefined;
54
- return (h(Fragment, { key: 'e6e672ee66f8a47952dd5a74834c3757ee47aa7d' }, h("div", { key: 'd8c39c71eb6e4e1427494226d77f714671e35b8d', class: "dso-selectable-container" }, h("div", { key: '174f6e75a3c6440d48f75076f0edaf31a9190c44', class: "dso-selectable-input-wrapper" }, h("input", { key: '1b87c90cf5291788c5e33749ef562c90f5df5ad2', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": this.invalid?.toString(), "aria-describedby": describedBy, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, ref: (el) => (this.input = el) }), !this.labelledById ? (h("label", { htmlFor: this.getIdentifier() }, h("slot", null))) : (h("label", null, h("slot", null)))), hasInfo && !this.infoFixed && (h("dso-info-button", { key: '859a37b1dd61f8cc2e01e6fa0430452a6b0ba29d', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (h("dso-info", { key: '8bc3861cf7b3a95eb97922ad71bc62964e7d5f5f', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, h("div", { key: '0ec96182bd8e10616a74beb6a67f70248b59b8b2' }, h("slot", { key: 'e9baed2501c400f2a40cf6f5c98f40aefeb3740d', name: "info" })))), h("slot", { key: 'a90703246e7e0bd0aa5f8472cb262eb031ef6c98', name: "options" })));
54
+ return (h(Fragment, { key: '254653ec27f9a20033a72604642a90ea729c6c0c' }, h("div", { key: '2dc879bcbf2248e6bc066875557aea42de9061fc', class: "dso-selectable-container" }, h("div", { key: '28cb0e8f7d3796e1e05eed52507c4e61843d9de4', class: "dso-selectable-input-wrapper" }, h("input", { key: '993aa2d0fc4a0900fd087ba501ac14b786f46aa7', type: this.type, id: this.getIdentifier(), value: this.value, name: this.name, "aria-invalid": this.invalid?.toString(), "aria-describedby": describedBy, "aria-labelledBy": this.labelledById, disabled: this.disabled, required: this.required, checked: this.checked, onChange: this.handleOnChange, ref: (el) => (this.input = el) }), !this.labelledById ? (h("label", { htmlFor: this.getIdentifier() }, h("slot", null))) : (h("label", null, h("slot", null)))), hasInfo && !this.infoFixed && (h("dso-info-button", { key: '94e7c65b13b69d60953843d5d419f9e648f358a7', active: this.infoActive, onDsoToggle: (e) => (this.infoActive = e.detail.active) }))), hasInfo && (h("dso-info", { key: 'ac9dac488d38956e91560ef24dc7c84333162acb', id: hasInfo && this.infoFixed ? this.describedById : undefined, fixed: this.infoFixed, active: this.infoActive, onDsoClose: () => (this.infoActive = false) }, h("div", { key: '9df52add67145506fbd4458cba070b02d7c3219c' }, h("slot", { key: '209dc3e4e986ac8544f0cf60378bb476aa015fee', name: "info" })))), h("slot", { key: 'c6c979b1939b4bcb819b99605a486a363b8b319f', name: "options" })));
55
55
  }
56
56
  componentDidRender() {
57
57
  if (this.input && typeof this.checked === "boolean" && this.input.checked !== this.checked) {
@@ -0,0 +1,286 @@
1
+ :host {
2
+ display: block;
3
+ }
4
+
5
+ *,
6
+ *::after,
7
+ *::before {
8
+ box-sizing: border-box;
9
+ }
10
+
11
+ .sr-only {
12
+ position: absolute;
13
+ inline-size: 1px;
14
+ block-size: 1px;
15
+ padding: 0;
16
+ margin: -1px;
17
+ border: 0;
18
+ overflow: hidden;
19
+ clip-path: rect(0 0 0 0);
20
+ }
21
+
22
+ button {
23
+ -webkit-appearance: button;
24
+ color: inherit;
25
+ cursor: pointer;
26
+ font: inherit;
27
+ font-family: inherit;
28
+ font-size: inherit;
29
+ letter-spacing: inherit;
30
+ line-height: inherit;
31
+ margin: 0;
32
+ overflow: visible;
33
+ text-transform: none;
34
+ }
35
+ button[disabled] {
36
+ cursor: default;
37
+ }
38
+ button::-moz-focus-inner {
39
+ border: 0;
40
+ padding: 0;
41
+ }
42
+ button.dso-tertiary {
43
+ display: inline-block;
44
+ font-size: 1em;
45
+ font-weight: 500;
46
+ margin-block-end: 0;
47
+ text-decoration: none;
48
+ touch-action: manipulation;
49
+ text-align: var(--_dso-button-text-align, start);
50
+ user-select: none;
51
+ vertical-align: middle;
52
+ background-clip: padding-box;
53
+ }
54
+ button.dso-tertiary:focus, button.dso-tertiary:focus-visible {
55
+ outline-offset: 2px;
56
+ }
57
+ button.dso-tertiary:active {
58
+ outline: 0;
59
+ }
60
+ button.dso-tertiary.extern::after, button.dso-tertiary.download::after {
61
+ content: "";
62
+ display: inline-block;
63
+ }
64
+ button.dso-tertiary {
65
+ display: inline-block;
66
+ font-size: 1em;
67
+ font-weight: 500;
68
+ margin-block-end: 0;
69
+ text-decoration: none;
70
+ touch-action: manipulation;
71
+ text-align: var(--_dso-button-text-align, start);
72
+ user-select: none;
73
+ vertical-align: middle;
74
+ background-clip: padding-box;
75
+ }
76
+ button.dso-tertiary:focus, button.dso-tertiary:focus-visible {
77
+ outline-offset: 2px;
78
+ }
79
+ button.dso-tertiary:active {
80
+ outline: 0;
81
+ }
82
+ button.dso-tertiary.extern::after, button.dso-tertiary.download::after {
83
+ content: "";
84
+ display: inline-block;
85
+ }
86
+ button.dso-tertiary {
87
+ background-color: var(--_dso-button-tertiary-background-color, );
88
+ border-color: var(--_dso-button-tertiary-border-color, );
89
+ color: var(--_dso-button-tertiary-color, #39870c);
90
+ float: var(--_dso-button-float-tertiary, none);
91
+ border-width: 1px;
92
+ border-style: solid;
93
+ border-radius: 4px;
94
+ line-height: 1.5;
95
+ min-inline-size: auto;
96
+ inline-size: var(--_dso-button-inline-size, auto);
97
+ padding-block: 11px;
98
+ padding-inline: 15px;
99
+ }
100
+ button.dso-tertiary:hover {
101
+ background-color: var(--_dso-button-tertiary-hover-background-color, );
102
+ border-color: var(--_dso-button-tertiary-hover-border-color, );
103
+ color: var(--_dso-button-tertiary-hover-color, #275937);
104
+ float: var(--_dso-button-float-tertiary, none);
105
+ }
106
+ button.dso-tertiary:active {
107
+ background-color: var(--_dso-button-tertiary-active-background-color, );
108
+ border-color: var(--_dso-button-tertiary-active-border-color, );
109
+ color: var(--_dso-button-tertiary-active-color, #173521);
110
+ float: var(--_dso-button-float-tertiary, none);
111
+ }
112
+ button.dso-tertiary[disabled], button.dso-tertiary[disabled]:hover {
113
+ background-color: var(--_dso-button-tertiary-disabled-background-color, );
114
+ border-color: var(--_dso-button-tertiary-disabled-border-color, );
115
+ color: var(--_dso-button-tertiary-disabled-color, #afcf9d);
116
+ float: var(--_dso-button-float-tertiary, none);
117
+ }
118
+ button.dso-tertiary.dso-small {
119
+ line-height: 1rem;
120
+ }
121
+ button.dso-tertiary.dso-small dso-icon, button.dso-tertiary.dso-small.extern::after, button.dso-tertiary.dso-small.download::after, button.dso-tertiary.dso-small.dso-spinner::before {
122
+ margin-block-end: -4px;
123
+ margin-block-start: -4px;
124
+ }
125
+ button.dso-tertiary.dso-small.dso-spinner-left::before {
126
+ block-size: 16px;
127
+ inline-size: 16px;
128
+ }
129
+ button.dso-tertiary.dso-small.dso-spinner-right::after {
130
+ block-size: 16px;
131
+ inline-size: 16px;
132
+ }
133
+ button.dso-tertiary.dso-extra-small {
134
+ line-height: 1rem;
135
+ }
136
+ button.dso-tertiary.dso-extra-small dso-icon, button.dso-tertiary.dso-extra-small.extern::after, button.dso-tertiary.dso-extra-small.download::after, button.dso-tertiary.dso-extra-small.dso-spinner::before {
137
+ margin-block-end: -4px;
138
+ margin-block-start: -4px;
139
+ }
140
+ button.dso-tertiary.dso-extra-small.dso-spinner-left::before {
141
+ block-size: 16px;
142
+ inline-size: 16px;
143
+ }
144
+ button.dso-tertiary.dso-extra-small.dso-spinner-right::after {
145
+ block-size: 16px;
146
+ inline-size: 16px;
147
+ }
148
+ button.dso-tertiary.dso-extra-small {
149
+ padding-block: 9px;
150
+ }
151
+ button.dso-tertiary {
152
+ border: 0;
153
+ line-height: 1;
154
+ padding-inline: 0;
155
+ padding-block: var(--_dso-button-padding-block-tertiary, 0);
156
+ background-color: transparent;
157
+ }
158
+ button.dso-tertiary[disabled].dso-spinner-left, button.dso-tertiary[disabled].dso-spinner-right {
159
+ color: #39870c;
160
+ }
161
+ button.dso-tertiary:not([disabled]):hover {
162
+ text-decoration: underline;
163
+ text-underline-position: under;
164
+ }
165
+ button.dso-tertiary.dso-align {
166
+ line-height: calc(1.5em - 1px);
167
+ padding-block: 11px;
168
+ padding-inline: 0;
169
+ position: relative;
170
+ }
171
+ button.dso-tertiary.dso-truncate {
172
+ max-inline-size: 100%;
173
+ overflow: hidden;
174
+ text-overflow: ellipsis;
175
+ white-space: nowrap;
176
+ }
177
+ button.dso-tertiary.dso-spinner-left::before {
178
+ background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%3E%3C/circle%3E%3C/svg%3E");
179
+ background-repeat: no-repeat;
180
+ content: "";
181
+ display: inline-block;
182
+ block-size: 24px;
183
+ vertical-align: middle;
184
+ inline-size: 24px;
185
+ margin-inline-end: 8px;
186
+ }
187
+ button.dso-tertiary.dso-spinner-right::after {
188
+ background-image: url("data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 42.4; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 42.4; %7D 50%25 %7B stroke-dashoffset: 10.4; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 42.4; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='1.6' stroke-linecap='butt' cx='12' cy='12' r='7.2'%3E%3C/circle%3E%3C/svg%3E");
189
+ background-repeat: no-repeat;
190
+ content: "";
191
+ display: inline-block;
192
+ block-size: 24px;
193
+ vertical-align: middle;
194
+ inline-size: 24px;
195
+ margin-inline-start: 8px;
196
+ }
197
+ button.dso-tertiary dso-icon + span:not(.sr-only),
198
+ button.dso-tertiary span:not(.sr-only) + dso-icon {
199
+ margin-inline-start: 4px;
200
+ }
201
+ button.dso-tertiary dso-icon,
202
+ button.dso-tertiary span {
203
+ vertical-align: middle;
204
+ }
205
+ button.dso-tertiary {
206
+ display: flex;
207
+ align-items: center;
208
+ }
209
+
210
+ .item {
211
+ background-color: #fff;
212
+ padding-block: var(--_dso-shopping-cart-item-padding-block, 16px);
213
+ padding-inline: var(--_dso-shopping-cart-item-padding-inline, 8px);
214
+ }
215
+ .item > slot {
216
+ --_dso-shopping-cart-item-padding-block: 8px 0;
217
+ --_dso-shopping-cart-item-padding-inline: 16px 0;
218
+ --_dso-shopping-cart-item-name-weight: normal;
219
+ }
220
+
221
+ .item-edit {
222
+ display: flex;
223
+ flex-direction: column;
224
+ gap: 16px;
225
+ padding-block: 24px;
226
+ padding-inline: 24px;
227
+ }
228
+
229
+ .item-header {
230
+ display: flex;
231
+ align-items: flex-start;
232
+ justify-content: space-between;
233
+ gap: 8px;
234
+ }
235
+
236
+ .item-name {
237
+ display: flex;
238
+ align-items: flex-start;
239
+ gap: 0.5rem;
240
+ min-inline-size: 0;
241
+ }
242
+ .item-name dso-icon {
243
+ flex: none;
244
+ }
245
+ .item-name ::slotted([slot=name]) {
246
+ margin-block: 0 !important;
247
+ margin-inline: 0 !important;
248
+ font-weight: var(--_dso-shopping-cart-item-name-weight, 600) !important;
249
+ display: -webkit-box !important;
250
+ -webkit-line-clamp: var(--_dso-shopping-cart-line-clamp, none) !important;
251
+ -webkit-box-orient: vertical !important;
252
+ overflow: hidden !important;
253
+ }
254
+
255
+ ::slotted([slot=info]) {
256
+ margin-block: 0.5rem 0 !important;
257
+ margin-inline: 0 !important;
258
+ font-size: 0.875rem !important;
259
+ }
260
+
261
+ .item-actions {
262
+ flex: none;
263
+ display: flex;
264
+ align-items: center;
265
+ gap: 0.5rem;
266
+ }
267
+
268
+ .item-edit-header {
269
+ display: flex;
270
+ align-items: flex-start;
271
+ justify-content: space-between;
272
+ gap: 16px;
273
+ }
274
+ .item-edit-header ::slotted([slot=name]) {
275
+ margin-block: 0 !important;
276
+ margin-inline: 0 !important;
277
+ color: #275937 !important;
278
+ font-size: 1.125rem !important;
279
+ font-weight: 600 !important;
280
+ line-height: 1.25 !important;
281
+ }
282
+ @media (min-width: 480px) {
283
+ .item-edit-header ::slotted([slot=name]) {
284
+ font-size: 1.25rem !important;
285
+ }
286
+ }
@@ -0,0 +1,218 @@
1
+ import { Fragment, forceUpdate, h, } from "@stencil/core";
2
+ /**
3
+ * @slot - In the `edit` mode it holds the form content. In the `view` mode it can hold nested Shopping Cart Items, which render as sub items.
4
+ * @slot name - The name of the item. In the `edit` mode it is the title of the form; use a heading element (e.g. `<h4 slot="name">`) matching the heading hierarchy of the page. The text is also used in the labels of the edit and delete actions.
5
+ * @slot info - An optional line of information shown below the name.
6
+ */
7
+ export class ShoppingCartItem {
8
+ constructor() {
9
+ /**
10
+ * The mode of the Shopping Cart Item.
11
+ */
12
+ this.mode = "view";
13
+ /**
14
+ * When set a warning icon is rendered before the name.
15
+ */
16
+ this.warning = false;
17
+ /**
18
+ * When set an edit (pencil) action is rendered.
19
+ */
20
+ this.editable = false;
21
+ /**
22
+ * When set a delete (trash) action is rendered.
23
+ */
24
+ this.removable = false;
25
+ }
26
+ connectedCallback() {
27
+ this.mutationObserver = new MutationObserver(() => forceUpdate(this.host));
28
+ this.mutationObserver.observe(this.host, { attributes: true, characterData: true, childList: true, subtree: true });
29
+ }
30
+ disconnectedCallback() {
31
+ this.mutationObserver?.disconnect();
32
+ }
33
+ get name() {
34
+ return this.host.querySelector(":scope > [slot='name']")?.textContent?.trim() ?? "";
35
+ }
36
+ renderActions() {
37
+ return (h("div", { class: "item-actions" }, this.editable && (h("dso-icon-button", { icon: "pencil", variant: "tertiary", label: `Wijzig ${this.name}`, onDsoClick: (e) => this.dsoEdit.emit({ originalEvent: e.detail.originalEvent }) })), this.removable && (h("dso-icon-button", { icon: "trash", variant: "tertiary", label: `Verwijder ${this.name}`, onDsoClick: (e) => this.dsoDelete.emit({ originalEvent: e.detail.originalEvent }) }))));
38
+ }
39
+ render() {
40
+ if (this.mode === "edit") {
41
+ return (h("div", { class: "item item-edit" }, h("div", { class: "item-edit-header" }, h("slot", { name: "name" }), h("button", { type: "button", class: "dso-tertiary", onClick: (e) => this.dsoClose.emit({ originalEvent: e }) }, "Sluiten", h("dso-icon", { icon: "cross" }))), h("div", { class: "item-edit-body" }, h("slot", null))));
42
+ }
43
+ return (h("div", { class: "item" }, h("div", { class: "item-header" }, h("div", { class: "item-name" }, this.warning && (h(Fragment, null, h("dso-icon", { icon: "status-warning", "aria-hidden": "true" }), h("span", { class: "sr-only" }, "waarschuwing: "))), h("slot", { name: "name" })), (this.editable || this.removable) && this.renderActions()), h("slot", null), h("slot", { name: "info" })));
44
+ }
45
+ static get is() { return "dso-shopping-cart-item"; }
46
+ static get encapsulation() { return "shadow"; }
47
+ static get originalStyleUrls() {
48
+ return {
49
+ "$": ["shopping-cart-item.scss"]
50
+ };
51
+ }
52
+ static get styleUrls() {
53
+ return {
54
+ "$": ["shopping-cart-item.css"]
55
+ };
56
+ }
57
+ static get properties() {
58
+ return {
59
+ "mode": {
60
+ "type": "string",
61
+ "mutable": false,
62
+ "complexType": {
63
+ "original": "ShoppingCartItemMode",
64
+ "resolved": "\"edit\" | \"view\"",
65
+ "references": {
66
+ "ShoppingCartItemMode": {
67
+ "location": "import",
68
+ "path": "./shopping-cart-item.interfaces",
69
+ "id": "src/components/shopping-cart/shopping-cart-item/shopping-cart-item.interfaces.ts::ShoppingCartItemMode",
70
+ "referenceLocation": "ShoppingCartItemMode"
71
+ }
72
+ }
73
+ },
74
+ "required": false,
75
+ "optional": false,
76
+ "docs": {
77
+ "tags": [],
78
+ "text": "The mode of the Shopping Cart Item."
79
+ },
80
+ "getter": false,
81
+ "setter": false,
82
+ "reflect": true,
83
+ "attribute": "mode",
84
+ "defaultValue": "\"view\""
85
+ },
86
+ "warning": {
87
+ "type": "boolean",
88
+ "mutable": false,
89
+ "complexType": {
90
+ "original": "boolean",
91
+ "resolved": "boolean",
92
+ "references": {}
93
+ },
94
+ "required": false,
95
+ "optional": false,
96
+ "docs": {
97
+ "tags": [],
98
+ "text": "When set a warning icon is rendered before the name."
99
+ },
100
+ "getter": false,
101
+ "setter": false,
102
+ "reflect": true,
103
+ "attribute": "warning",
104
+ "defaultValue": "false"
105
+ },
106
+ "editable": {
107
+ "type": "boolean",
108
+ "mutable": false,
109
+ "complexType": {
110
+ "original": "boolean",
111
+ "resolved": "boolean",
112
+ "references": {}
113
+ },
114
+ "required": false,
115
+ "optional": false,
116
+ "docs": {
117
+ "tags": [],
118
+ "text": "When set an edit (pencil) action is rendered."
119
+ },
120
+ "getter": false,
121
+ "setter": false,
122
+ "reflect": true,
123
+ "attribute": "editable",
124
+ "defaultValue": "false"
125
+ },
126
+ "removable": {
127
+ "type": "boolean",
128
+ "mutable": false,
129
+ "complexType": {
130
+ "original": "boolean",
131
+ "resolved": "boolean",
132
+ "references": {}
133
+ },
134
+ "required": false,
135
+ "optional": false,
136
+ "docs": {
137
+ "tags": [],
138
+ "text": "When set a delete (trash) action is rendered."
139
+ },
140
+ "getter": false,
141
+ "setter": false,
142
+ "reflect": true,
143
+ "attribute": "removable",
144
+ "defaultValue": "false"
145
+ }
146
+ };
147
+ }
148
+ static get events() {
149
+ return [{
150
+ "method": "dsoEdit",
151
+ "name": "dsoEdit",
152
+ "bubbles": false,
153
+ "cancelable": true,
154
+ "composed": true,
155
+ "docs": {
156
+ "tags": [],
157
+ "text": "Emitted when the user clicks the edit (pencil) action."
158
+ },
159
+ "complexType": {
160
+ "original": "ShoppingCartItemEditEvent",
161
+ "resolved": "ShoppingCartItemEditEvent",
162
+ "references": {
163
+ "ShoppingCartItemEditEvent": {
164
+ "location": "import",
165
+ "path": "./shopping-cart-item.interfaces",
166
+ "id": "src/components/shopping-cart/shopping-cart-item/shopping-cart-item.interfaces.ts::ShoppingCartItemEditEvent",
167
+ "referenceLocation": "ShoppingCartItemEditEvent"
168
+ }
169
+ }
170
+ }
171
+ }, {
172
+ "method": "dsoDelete",
173
+ "name": "dsoDelete",
174
+ "bubbles": false,
175
+ "cancelable": true,
176
+ "composed": true,
177
+ "docs": {
178
+ "tags": [],
179
+ "text": "Emitted when the user clicks the delete (trash) action."
180
+ },
181
+ "complexType": {
182
+ "original": "ShoppingCartItemDeleteEvent",
183
+ "resolved": "ShoppingCartItemDeleteEvent",
184
+ "references": {
185
+ "ShoppingCartItemDeleteEvent": {
186
+ "location": "import",
187
+ "path": "./shopping-cart-item.interfaces",
188
+ "id": "src/components/shopping-cart/shopping-cart-item/shopping-cart-item.interfaces.ts::ShoppingCartItemDeleteEvent",
189
+ "referenceLocation": "ShoppingCartItemDeleteEvent"
190
+ }
191
+ }
192
+ }
193
+ }, {
194
+ "method": "dsoClose",
195
+ "name": "dsoClose",
196
+ "bubbles": false,
197
+ "cancelable": true,
198
+ "composed": true,
199
+ "docs": {
200
+ "tags": [],
201
+ "text": "Emitted when the user clicks the close button in the `edit` mode."
202
+ },
203
+ "complexType": {
204
+ "original": "ShoppingCartItemCloseEvent",
205
+ "resolved": "ShoppingCartItemCloseEvent",
206
+ "references": {
207
+ "ShoppingCartItemCloseEvent": {
208
+ "location": "import",
209
+ "path": "./shopping-cart-item.interfaces",
210
+ "id": "src/components/shopping-cart/shopping-cart-item/shopping-cart-item.interfaces.ts::ShoppingCartItemCloseEvent",
211
+ "referenceLocation": "ShoppingCartItemCloseEvent"
212
+ }
213
+ }
214
+ }
215
+ }];
216
+ }
217
+ static get elementRef() { return "host"; }
218
+ }