dso-toolkit 45.1.0 → 45.2.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 (374) hide show
  1. package/components/Voorbeelden/_anchors.scss +6 -3
  2. package/components/dso.scss +11 -8
  3. package/dist/library/@dso-toolkit/core/cjs/dso-alert.cjs.entry.js +1 -1
  4. package/dist/library/@dso-toolkit/core/cjs/dso-date-picker.cjs.entry.js +1 -1
  5. package/dist/library/@dso-toolkit/core/cjs/dso-header.cjs.entry.js +1 -1
  6. package/dist/library/@dso-toolkit/core/cjs/dso-helpcenter-panel.cjs.entry.js +2 -2
  7. package/dist/library/@dso-toolkit/core/cjs/dso-highlight-box.cjs.entry.js +1 -1
  8. package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +34 -8
  9. package/dist/library/@dso-toolkit/core/cjs/dso-pagination.cjs.entry.js +3 -3
  10. package/dist/library/@dso-toolkit/core/cjs/dso-progress-bar.cjs.entry.js +1 -1
  11. package/dist/library/@dso-toolkit/core/cjs/dso-table.cjs.entry.js +89 -0
  12. package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
  13. package/dist/library/@dso-toolkit/core/cjs/dso-viewer-grid.cjs.entry.js +1 -1
  14. package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
  15. package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +1 -0
  16. package/dist/library/@dso-toolkit/core/collection/components/alert/alert.css +10 -10
  17. package/dist/library/@dso-toolkit/core/collection/components/date-picker/date-picker.css +2 -2
  18. package/dist/library/@dso-toolkit/core/collection/components/header/header.css +24 -17
  19. package/dist/library/@dso-toolkit/core/collection/components/header/header.template.js +1 -1
  20. package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.css +18 -2
  21. package/dist/library/@dso-toolkit/core/collection/components/helpcenter-panel/helpcenter-panel.js +1 -1
  22. package/dist/library/@dso-toolkit/core/collection/components/highlight-box/highlight-box.css +1 -1
  23. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/lijst.node.js +25 -0
  24. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/nodes/table.node/table.node.js +8 -7
  25. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content-mapper.js +2 -0
  26. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.css +18 -9
  27. package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.js +3 -3
  28. package/dist/library/@dso-toolkit/core/collection/components/progress-bar/progress-bar.css +1 -1
  29. package/dist/library/@dso-toolkit/core/collection/components/table/table.css +296 -0
  30. package/dist/library/@dso-toolkit/core/collection/components/table/table.interfaces.js +1 -0
  31. package/dist/library/@dso-toolkit/core/collection/components/table/table.js +146 -0
  32. package/dist/library/@dso-toolkit/core/collection/components/table/table.template.js +26 -0
  33. package/dist/library/@dso-toolkit/core/collection/components/viewer-grid/viewer-grid.css +0 -80
  34. package/dist/library/@dso-toolkit/core/custom-elements/index.d.ts +6 -0
  35. package/dist/library/@dso-toolkit/core/custom-elements/index.js +128 -20
  36. package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
  37. package/dist/library/@dso-toolkit/core/dso-toolkit/p-1a19ce42.entry.js +1 -0
  38. package/dist/library/@dso-toolkit/core/dso-toolkit/p-383227b9.entry.js +1 -0
  39. package/dist/library/@dso-toolkit/core/dso-toolkit/p-662b7663.entry.js +1 -0
  40. package/dist/{toolkit/core/packages/core/dist/dso-toolkit/p-93b53eb7.entry.js → library/@dso-toolkit/core/dso-toolkit/p-6a414479.entry.js} +1 -1
  41. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-c339891f.entry.js → p-83de460b.entry.js} +1 -1
  42. package/dist/library/@dso-toolkit/core/dso-toolkit/p-9aaadf4f.entry.js +1 -0
  43. package/dist/library/@dso-toolkit/core/dso-toolkit/p-a5a5b24b.entry.js +1 -0
  44. package/dist/{toolkit/core/packages/core/dist/dso-toolkit/p-b1a75b67.entry.js → library/@dso-toolkit/core/dso-toolkit/p-a9b0a83e.entry.js} +1 -1
  45. package/dist/library/@dso-toolkit/core/dso-toolkit/p-eb326df8.entry.js +1 -0
  46. package/dist/{toolkit/core/packages/core/dist/dso-toolkit/p-8515d157.entry.js → library/@dso-toolkit/core/dso-toolkit/p-f1b5baf9.entry.js} +1 -1
  47. package/dist/library/@dso-toolkit/core/esm/dso-alert.entry.js +1 -1
  48. package/dist/library/@dso-toolkit/core/esm/dso-date-picker.entry.js +1 -1
  49. package/dist/library/@dso-toolkit/core/esm/dso-header.entry.js +1 -1
  50. package/dist/library/@dso-toolkit/core/esm/dso-helpcenter-panel.entry.js +2 -2
  51. package/dist/library/@dso-toolkit/core/esm/dso-highlight-box.entry.js +1 -1
  52. package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +34 -8
  53. package/dist/library/@dso-toolkit/core/esm/dso-pagination.entry.js +3 -3
  54. package/dist/library/@dso-toolkit/core/esm/dso-progress-bar.entry.js +1 -1
  55. package/dist/library/@dso-toolkit/core/esm/dso-table.entry.js +85 -0
  56. package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
  57. package/dist/library/@dso-toolkit/core/esm/dso-viewer-grid.entry.js +1 -1
  58. package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
  59. package/dist/library/@dso-toolkit/core/types/components/ozon-content/nodes/lijst.node.d.ts +6 -0
  60. package/dist/library/@dso-toolkit/core/types/components/table/table.d.ts +26 -0
  61. package/dist/library/@dso-toolkit/core/types/components/table/table.interfaces.d.ts +3 -0
  62. package/dist/library/@dso-toolkit/core/types/components/table/table.template.d.ts +2 -0
  63. package/dist/library/@dso-toolkit/core/types/components.d.ts +29 -0
  64. package/dist/library/components/detail/form--autocomplete.html +1 -1
  65. package/dist/library/components/detail/form--form-horizontal.html +1 -1
  66. package/dist/library/components/detail/form--form-vertical.html +1 -1
  67. package/dist/library/components/detail/form--header-in-legend.html +1 -1
  68. package/dist/library/components/detail/form--multi-page.html +1 -1
  69. package/dist/library/components/detail/form--sections.html +1 -1
  70. package/dist/library/components/detail/form--simple-form.html +1 -1
  71. package/dist/library/components/detail/form--single-page.html +1 -1
  72. package/dist/library/components/detail/form.html +1 -1
  73. package/dist/library/styles/dso.css +6266 -6232
  74. package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  75. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-1a19ce42.entry.js +1 -0
  76. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-383227b9.entry.js +1 -0
  77. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-662b7663.entry.js +1 -0
  78. package/dist/{library/@dso-toolkit/core/dso-toolkit/p-93b53eb7.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-6a414479.entry.js} +1 -1
  79. package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-c339891f.entry.js → p-83de460b.entry.js} +1 -1
  80. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-9aaadf4f.entry.js +1 -0
  81. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-a5a5b24b.entry.js +1 -0
  82. package/dist/{library/@dso-toolkit/core/dso-toolkit/p-b1a75b67.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-a9b0a83e.entry.js} +1 -1
  83. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-eb326df8.entry.js +1 -0
  84. package/dist/{library/@dso-toolkit/core/dso-toolkit/p-8515d157.entry.js → toolkit/core/packages/core/dist/dso-toolkit/p-f1b5baf9.entry.js} +1 -1
  85. package/dist/toolkit/styles/dso.css +6266 -6232
  86. package/hydrate/index.js +137 -19
  87. package/libs/@dso-toolkit/css/src/components/accordion/accordion-theme-compact.scss +18 -13
  88. package/libs/@dso-toolkit/css/src/components/accordion/accordion-theme-conclusion.scss +22 -17
  89. package/libs/@dso-toolkit/css/src/components/accordion/accordion-theme-default.scss +23 -18
  90. package/libs/@dso-toolkit/css/src/components/accordion/accordion.scss +41 -34
  91. package/libs/@dso-toolkit/css/src/components/alert/alert.scss +16 -12
  92. package/libs/@dso-toolkit/css/src/components/anchor/anchor.scss +10 -5
  93. package/libs/@dso-toolkit/css/src/components/application-heading/application-heading.scss +3 -1
  94. package/libs/@dso-toolkit/css/src/components/attachments-counter/attachments-counter.scss +6 -2
  95. package/libs/@dso-toolkit/css/src/components/badge/badge.scss +3 -1
  96. package/libs/@dso-toolkit/css/src/components/banner/banner.scss +25 -18
  97. package/libs/@dso-toolkit/css/src/components/blockquote/blockquote.scss +7 -6
  98. package/libs/@dso-toolkit/css/src/components/blockquote/blockquote.variables.scss +5 -0
  99. package/libs/@dso-toolkit/css/src/components/body/body.scss +8 -5
  100. package/libs/@dso-toolkit/css/src/components/breadcrumbs/breadcrumbs.scss +3 -1
  101. package/libs/@dso-toolkit/css/src/components/button/button.mixins.scss +13 -11
  102. package/libs/@dso-toolkit/css/src/components/button/button.scss +32 -29
  103. package/libs/@dso-toolkit/css/src/components/button-row/button-row.scss +4 -2
  104. package/libs/@dso-toolkit/css/src/components/card/card.scss +19 -14
  105. package/libs/@dso-toolkit/css/src/components/card-grid/card-grid.scss +2 -2
  106. package/libs/@dso-toolkit/css/src/components/card-list/card-list.scss +7 -6
  107. package/libs/@dso-toolkit/css/src/components/card-list/card-list.variables.scss +4 -0
  108. package/libs/@dso-toolkit/css/src/components/code/code.scss +9 -7
  109. package/libs/@dso-toolkit/css/src/components/code/code.variables.scss +2 -0
  110. package/libs/@dso-toolkit/css/src/components/context/context.scss +20 -12
  111. package/libs/@dso-toolkit/css/src/components/definition-list/definition-list.scss +51 -49
  112. package/libs/@dso-toolkit/css/src/components/definition-list/definition-list.variables.scss +10 -0
  113. package/libs/@dso-toolkit/css/src/components/delete/delete.scss +3 -1
  114. package/libs/@dso-toolkit/css/src/components/description/description.scss +8 -4
  115. package/libs/@dso-toolkit/css/src/components/description/description.variables.scss +1 -0
  116. package/libs/@dso-toolkit/css/src/components/document-header/document-header.scss +24 -18
  117. package/libs/@dso-toolkit/css/src/components/document-list/document-list.scss +17 -12
  118. package/libs/@dso-toolkit/css/src/components/dropdown-menu/dropdown-menu.mixins.scss +75 -0
  119. package/libs/@dso-toolkit/css/src/components/dropdown-menu/dropdown-menu.scss +21 -54
  120. package/libs/@dso-toolkit/css/src/components/fieldset/fieldset.scss +6 -4
  121. package/libs/@dso-toolkit/css/src/components/fieldset/fieldset.variables.scss +3 -0
  122. package/libs/@dso-toolkit/css/src/components/footer/footer.scss +26 -22
  123. package/libs/@dso-toolkit/css/src/components/footer/footer.variables.scss +4 -0
  124. package/libs/@dso-toolkit/css/src/components/footnotes/footnotes.scss +3 -1
  125. package/libs/@dso-toolkit/css/src/components/form/fieldset.scss +10 -9
  126. package/libs/@dso-toolkit/css/src/components/form/form-buttons/form-buttons.scss +11 -6
  127. package/libs/@dso-toolkit/css/src/components/form/form-group.scss +49 -44
  128. package/libs/@dso-toolkit/css/src/components/form/form-groups/checkboxes/form-group-checkboxes.scss +10 -4
  129. package/libs/@dso-toolkit/css/src/components/form/form-groups/confirm/form-group-confirm.scss +11 -6
  130. package/libs/@dso-toolkit/css/src/components/form/form-groups/files/form-group-files.scss +39 -33
  131. package/libs/@dso-toolkit/css/src/components/form/form-groups/input/form-group-input.scss +2 -6
  132. package/libs/@dso-toolkit/css/src/components/form/form-groups/input-number/form-group-input-number.scss +6 -7
  133. package/libs/@dso-toolkit/css/src/components/form/form-groups/radios/form-group-radios.scss +11 -5
  134. package/libs/@dso-toolkit/css/src/components/form/form-groups/search-bar/form-group-search-bar.scss +0 -3
  135. package/libs/@dso-toolkit/css/src/components/form/form-groups/select/form-group-select.scss +11 -11
  136. package/libs/@dso-toolkit/css/src/components/form/form-groups/static/form-group-static.scss +9 -6
  137. package/libs/@dso-toolkit/css/src/components/form/form-groups/textarea/form-group-textarea.scss +8 -8
  138. package/libs/@dso-toolkit/css/src/components/form/form-horizontal.scss +3 -1
  139. package/libs/@dso-toolkit/css/src/components/form/form.mixins.scss +4 -2
  140. package/libs/@dso-toolkit/css/src/components/form/form.scss +13 -13
  141. package/libs/@dso-toolkit/css/src/components/form/form.variables.scss +17 -24
  142. package/libs/@dso-toolkit/css/src/components/form-control/form-control.scss +2 -2
  143. package/libs/@dso-toolkit/css/src/components/grid/_index.scss +2 -0
  144. package/libs/@dso-toolkit/css/src/components/grid/grid.mixins.scss +21 -20
  145. package/libs/@dso-toolkit/css/src/components/grid/grid.scss +33 -35
  146. package/libs/@dso-toolkit/css/src/components/grid/grid.variables.scss +12 -5
  147. package/libs/@dso-toolkit/css/src/components/header/header.scss +50 -0
  148. package/libs/@dso-toolkit/css/src/components/headings/headings.scss +23 -18
  149. package/libs/@dso-toolkit/css/src/components/highlight-box/highlight-box.scss +20 -14
  150. package/libs/@dso-toolkit/css/src/components/horizontal-rule/horizontal-rule.scss +6 -4
  151. package/libs/@dso-toolkit/css/src/components/horizontal-rule/horizontal-rule.variables.scss +3 -0
  152. package/libs/@dso-toolkit/css/src/components/html/html.scss +3 -1
  153. package/libs/@dso-toolkit/css/src/components/icon/icon.scss +5 -3
  154. package/libs/@dso-toolkit/css/src/components/image/image.scss +6 -4
  155. package/libs/@dso-toolkit/css/src/components/info/info.scss +8 -4
  156. package/libs/@dso-toolkit/css/src/components/info-button/info-button.scss +12 -7
  157. package/libs/@dso-toolkit/css/src/components/input/input.scss +3 -1
  158. package/libs/@dso-toolkit/css/src/components/input-number/input-number.scss +3 -1
  159. package/libs/@dso-toolkit/css/src/components/insert/insert.scss +3 -1
  160. package/libs/@dso-toolkit/css/src/components/justify-form-groups/justify-form-groups.scss +3 -1
  161. package/libs/@dso-toolkit/css/src/components/label/label.scss +7 -5
  162. package/libs/@dso-toolkit/css/src/components/label-group/label-group.scss +3 -1
  163. package/libs/@dso-toolkit/css/src/components/link-list/link-list.scss +9 -4
  164. package/libs/@dso-toolkit/css/src/components/list/list.scss +24 -21
  165. package/libs/@dso-toolkit/css/src/components/list/list.variables.scss +5 -0
  166. package/libs/@dso-toolkit/css/src/components/list-button/list-button.scss +7 -4
  167. package/libs/@dso-toolkit/css/src/components/map-controls/map-controls.scss +3 -1
  168. package/libs/@dso-toolkit/css/src/components/mark/mark.scss +3 -1
  169. package/libs/@dso-toolkit/css/src/components/modal/modal.scss +17 -148
  170. package/libs/@dso-toolkit/css/src/components/nav/nav.scss +3 -1
  171. package/libs/@dso-toolkit/css/src/components/navbar/navbar.scss +24 -19
  172. package/libs/@dso-toolkit/css/src/components/pagination/pagination.scss +7 -3
  173. package/libs/@dso-toolkit/css/src/components/paragraph/paragraph.scss +3 -1
  174. package/libs/@dso-toolkit/css/src/components/preformatted-text/preformatted-text.scss +13 -12
  175. package/libs/@dso-toolkit/css/src/components/preformatted-text/preformatted-text.variables.scss +5 -0
  176. package/libs/@dso-toolkit/css/src/components/progress-bar/progress-bar.scss +3 -1
  177. package/libs/@dso-toolkit/css/src/components/progress-indicator/progress-indicator.scss +10 -8
  178. package/libs/@dso-toolkit/css/src/components/rich-content/rich-content.scss +5 -3
  179. package/libs/@dso-toolkit/css/src/components/search-bar/search-bar.scss +45 -39
  180. package/libs/@dso-toolkit/css/src/components/search-bar/search-bar.variables.scss +7 -0
  181. package/libs/@dso-toolkit/css/src/components/selectable/selectable.scss +6 -3
  182. package/libs/@dso-toolkit/css/src/components/shopping-cart/shopping-cart.scss +45 -40
  183. package/libs/@dso-toolkit/css/src/components/shopping-cart/shopping-cart.variables.scss +5 -0
  184. package/libs/@dso-toolkit/css/src/components/small/small.scss +3 -1
  185. package/libs/@dso-toolkit/css/src/components/subscript/subscript.scss +3 -1
  186. package/libs/@dso-toolkit/css/src/components/subtitle/subtitle.scss +6 -3
  187. package/libs/@dso-toolkit/css/src/components/superscript/superscript.scss +3 -1
  188. package/libs/@dso-toolkit/css/src/components/table/table.mixins.scss +13 -9
  189. package/libs/@dso-toolkit/css/src/components/table/table.scss +55 -34
  190. package/libs/@dso-toolkit/css/src/components/tabs/tabs.scss +45 -52
  191. package/libs/@dso-toolkit/css/src/components/tabs/tabs.variables.scss +18 -0
  192. package/libs/@dso-toolkit/css/src/components/tile/tile.scss +6 -3
  193. package/libs/@dso-toolkit/css/src/components/tile-grid/tile-grid.scss +2 -2
  194. package/libs/@dso-toolkit/css/src/components/tooltip/tooltip.scss +15 -13
  195. package/libs/@dso-toolkit/css/src/components/viewer-grid/viewer-grid.scss +8 -5
  196. package/libs/@dso-toolkit/css/src/components/whitebox/whitebox.scss +4 -2
  197. package/libs/@dso-toolkit/css/src/config.scss +2 -0
  198. package/libs/@dso-toolkit/css/src/di.scss +7 -5
  199. package/libs/@dso-toolkit/css/src/dso.scss +85 -99
  200. package/libs/@dso-toolkit/css/src/global/font-faces.scss +17 -17
  201. package/libs/@dso-toolkit/css/src/global/utilities.scss +8 -1
  202. package/libs/@dso-toolkit/css/src/legacy/components/legacy-header.scss +60 -0
  203. package/libs/@dso-toolkit/css/src/legacy/components/{panel.scss → legacy-panel.scss} +30 -24
  204. package/libs/@dso-toolkit/sources/src/components/accordion/_index.scss +1 -0
  205. package/libs/@dso-toolkit/sources/src/components/accordion/accordion.variables.scss +27 -0
  206. package/libs/@dso-toolkit/sources/src/components/alert/_index.scss +2 -0
  207. package/libs/@dso-toolkit/sources/src/components/alert/alert.mixins.scss +107 -0
  208. package/libs/@dso-toolkit/sources/src/components/alert/alert.variables.scss +25 -0
  209. package/libs/@dso-toolkit/sources/src/components/anchor/_index.scss +2 -0
  210. package/libs/@dso-toolkit/sources/src/components/anchor/anchor.mixins.scss +8 -9
  211. package/libs/@dso-toolkit/sources/src/components/anchor/anchor.variables.scss +6 -0
  212. package/libs/@dso-toolkit/sources/src/components/application-heading/_index.scss +2 -0
  213. package/libs/@dso-toolkit/sources/src/components/application-heading/application-heading.mixins.scss +30 -0
  214. package/libs/@dso-toolkit/sources/src/components/application-heading/application-heading.variables.scss +1 -0
  215. package/libs/@dso-toolkit/sources/src/components/attachments-counter/_index.scss +1 -0
  216. package/libs/@dso-toolkit/sources/src/components/attachments-counter/{attachments-counter.scss → attachments-counter.mixins.scss} +4 -2
  217. package/libs/@dso-toolkit/sources/src/components/badge/_index.scss +2 -0
  218. package/libs/@dso-toolkit/sources/src/components/badge/badge.mixins.scss +53 -0
  219. package/libs/@dso-toolkit/sources/src/components/badge/badge.variables.scss +10 -0
  220. package/libs/@dso-toolkit/sources/src/components/banner/_index.scss +2 -0
  221. package/libs/@dso-toolkit/sources/src/components/banner/banner.mixins.scss +111 -0
  222. package/libs/@dso-toolkit/sources/src/components/banner/banner.variables.scss +14 -0
  223. package/libs/@dso-toolkit/sources/src/components/breadcrumbs/_index.scss +1 -0
  224. package/libs/@dso-toolkit/sources/src/components/breadcrumbs/{breadcrumbs.scss → breadcrumbs.mixins.scss} +13 -7
  225. package/libs/@dso-toolkit/sources/src/components/button/_index.scss +2 -0
  226. package/libs/@dso-toolkit/sources/src/components/button/{button.scss → button.mixins.scss} +113 -133
  227. package/libs/@dso-toolkit/sources/src/{styling/variables.scss → components/button/button.variables.scss} +29 -14
  228. package/libs/@dso-toolkit/sources/src/components/description/_index.scss +2 -0
  229. package/libs/@dso-toolkit/sources/src/components/description/description.mixins.scss +79 -0
  230. package/libs/@dso-toolkit/sources/src/components/description/description.variables.scss +4 -0
  231. package/libs/@dso-toolkit/sources/src/components/dropdown-menu/_index.scss +2 -0
  232. package/libs/@dso-toolkit/sources/src/components/dropdown-menu/{dropdown-menu.scss → dropdown-menu.mixins.scss} +33 -61
  233. package/libs/@dso-toolkit/sources/src/components/dropdown-menu/dropdown-menu.variables.scss +6 -0
  234. package/libs/@dso-toolkit/sources/src/components/footnotes/_index.scss +1 -0
  235. package/libs/@dso-toolkit/sources/src/components/footnotes/footnotes.mixins.scss +17 -0
  236. package/libs/@dso-toolkit/sources/src/components/form-control/_index.scss +2 -0
  237. package/libs/@dso-toolkit/sources/src/components/form-control/form-control.mixins.scss +24 -26
  238. package/libs/@dso-toolkit/sources/src/components/form-control/form-control.variables.scss +10 -0
  239. package/libs/@dso-toolkit/sources/src/components/headings/_index.scss +1 -0
  240. package/libs/@dso-toolkit/sources/src/components/headings/headings.mixins.scss +7 -4
  241. package/libs/@dso-toolkit/sources/src/components/helpcenter-panel/helpcenter-panel.stories-of.ts +1 -1
  242. package/libs/@dso-toolkit/sources/src/components/highlight-box/_index.scss +2 -0
  243. package/libs/@dso-toolkit/sources/src/components/highlight-box/highlight-box.mixins.scss +85 -0
  244. package/libs/@dso-toolkit/sources/src/components/highlight-box/highlight-box.variables.scss +4 -0
  245. package/libs/@dso-toolkit/sources/src/components/icon/_index.scss +1 -0
  246. package/libs/@dso-toolkit/sources/src/components/icon/icon.variables.scss +4 -2
  247. package/libs/@dso-toolkit/sources/src/components/image/_index.scss +2 -0
  248. package/libs/@dso-toolkit/sources/src/components/image/image.mixins.scss +33 -0
  249. package/libs/@dso-toolkit/sources/src/components/image/image.variables.scss +6 -0
  250. package/libs/@dso-toolkit/sources/src/components/info/_index.scss +1 -0
  251. package/libs/@dso-toolkit/sources/src/components/info/{info.scss → info.mixins.scss} +18 -13
  252. package/libs/@dso-toolkit/sources/src/components/info-button/_index.scss +2 -0
  253. package/libs/@dso-toolkit/sources/src/components/info-button/info-button.mixins.scss +27 -0
  254. package/libs/@dso-toolkit/sources/src/components/info-button/info-button.variables.scss +3 -0
  255. package/libs/@dso-toolkit/sources/src/components/input-number/_index.scss +1 -0
  256. package/libs/@dso-toolkit/sources/src/components/input-number/{input-number.scss → input-number.mixins.scss} +5 -3
  257. package/libs/@dso-toolkit/sources/src/components/label/_index.scss +2 -0
  258. package/libs/@dso-toolkit/sources/src/components/label/label.mixins.scss +103 -0
  259. package/libs/@dso-toolkit/sources/src/components/label/label.variables.scss +28 -0
  260. package/libs/@dso-toolkit/sources/src/components/label-group/_index.scss +1 -0
  261. package/libs/@dso-toolkit/sources/src/components/label-group/{label-group.scss → label-group.mixins.scss} +5 -3
  262. package/libs/@dso-toolkit/sources/src/components/link-list/_index.scss +1 -0
  263. package/libs/@dso-toolkit/sources/src/components/link-list/link-list.mixins.scss +46 -0
  264. package/libs/@dso-toolkit/sources/src/components/list/_index.scss +1 -0
  265. package/libs/@dso-toolkit/sources/src/components/list/list.mixins.scss +1 -1
  266. package/libs/@dso-toolkit/sources/src/components/list-button/_index.scss +2 -0
  267. package/libs/@dso-toolkit/sources/src/components/list-button/list-button.mixins.scss +182 -1
  268. package/libs/@dso-toolkit/sources/src/components/list-button/list-button.variables.scss +4 -0
  269. package/libs/@dso-toolkit/sources/src/components/modal/_index.scss +2 -0
  270. package/libs/@dso-toolkit/sources/src/components/modal/modal.mixins.scss +145 -0
  271. package/libs/@dso-toolkit/sources/src/components/modal/modal.variables.scss +17 -0
  272. package/libs/@dso-toolkit/sources/src/components/navbar/_index.scss +1 -0
  273. package/libs/@dso-toolkit/sources/src/components/navbar/navbar.variables.scss +3 -0
  274. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.content.ts +114 -0
  275. package/libs/@dso-toolkit/sources/src/components/pagination/_index.scss +2 -0
  276. package/libs/@dso-toolkit/sources/src/components/pagination/{pagination.scss → pagination.mixins.scss} +16 -16
  277. package/libs/@dso-toolkit/sources/src/components/pagination/pagination.variables.scss +6 -0
  278. package/libs/@dso-toolkit/sources/src/components/progress-bar/_index.scss +2 -0
  279. package/libs/@dso-toolkit/sources/src/components/progress-bar/progress-bar.mixins.scss +27 -0
  280. package/libs/@dso-toolkit/sources/src/components/progress-bar/progress-bar.variables.scss +9 -0
  281. package/libs/@dso-toolkit/sources/src/components/progress-indicator/_index.scss +1 -0
  282. package/libs/@dso-toolkit/sources/src/components/progress-indicator/progress-indicator.mixins.scss +52 -0
  283. package/libs/@dso-toolkit/sources/src/components/rich-content/_index.scss +2 -0
  284. package/libs/@dso-toolkit/sources/src/components/rich-content/rich-content.mixins.scss +10 -8
  285. package/libs/@dso-toolkit/sources/src/components/rich-content/rich-content.variables.scss +3 -0
  286. package/libs/@dso-toolkit/sources/src/components/selectable/_index.scss +2 -0
  287. package/libs/@dso-toolkit/sources/src/components/selectable/selectable.mixins.scss +205 -0
  288. package/libs/@dso-toolkit/sources/src/components/selectable/selectable.variables.scss +12 -0
  289. package/libs/@dso-toolkit/sources/src/components/step-counter/_index.scss +2 -0
  290. package/libs/@dso-toolkit/sources/src/components/step-counter/step-counter.mixins.scss +17 -15
  291. package/libs/@dso-toolkit/sources/src/components/step-counter/step-counter.variables.scss +4 -0
  292. package/libs/@dso-toolkit/sources/src/components/table/_index.scss +1 -0
  293. package/libs/@dso-toolkit/sources/src/components/table/table.args.ts +22 -0
  294. package/libs/@dso-toolkit/sources/src/components/table/table.content.ts +29 -0
  295. package/libs/@dso-toolkit/sources/src/components/table/table.models.ts +11 -0
  296. package/libs/@dso-toolkit/sources/src/components/table/table.stories-of.ts +43 -0
  297. package/libs/@dso-toolkit/sources/src/components/table/table.variables.scss +12 -0
  298. package/libs/@dso-toolkit/sources/src/components/tile/_index.scss +2 -0
  299. package/libs/@dso-toolkit/sources/src/components/tile/tile.mixins.scss +82 -0
  300. package/libs/@dso-toolkit/sources/src/components/tile/tile.variables.scss +11 -0
  301. package/libs/@dso-toolkit/sources/src/components/tooltip/_index.scss +2 -0
  302. package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.mixins.scss +90 -4
  303. package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.variables.scss +16 -0
  304. package/libs/@dso-toolkit/sources/src/components/whitebox/_index.scss +2 -0
  305. package/libs/@dso-toolkit/sources/src/components/whitebox/whitebox.mixins.scss +45 -0
  306. package/libs/@dso-toolkit/sources/src/components/whitebox/whitebox.variables.scss +4 -0
  307. package/libs/@dso-toolkit/sources/src/icons/caret-down.scss +6 -6
  308. package/libs/@dso-toolkit/sources/src/icons/check.scss +4 -4
  309. package/libs/@dso-toolkit/sources/src/icons/chevron-down.scss +9 -9
  310. package/libs/@dso-toolkit/sources/src/icons/chevron-left.scss +2 -2
  311. package/libs/@dso-toolkit/sources/src/icons/chevron-right.scss +5 -5
  312. package/libs/@dso-toolkit/sources/src/icons/chevron-up.scss +8 -8
  313. package/libs/@dso-toolkit/sources/src/icons/circle-notch.scss +2 -2
  314. package/libs/@dso-toolkit/sources/src/icons/download.scss +6 -6
  315. package/libs/@dso-toolkit/sources/src/icons/external-link.scss +6 -6
  316. package/libs/@dso-toolkit/sources/src/icons/info-active.scss +5 -5
  317. package/libs/@dso-toolkit/sources/src/icons/info-i.scss +4 -4
  318. package/libs/@dso-toolkit/sources/src/icons/info.scss +5 -5
  319. package/libs/@dso-toolkit/sources/src/icons/paperclip.scss +4 -4
  320. package/libs/@dso-toolkit/sources/src/icons/search.scss +2 -2
  321. package/libs/@dso-toolkit/sources/src/icons/times.scss +6 -6
  322. package/libs/@dso-toolkit/sources/src/index.ts +2 -0
  323. package/libs/@dso-toolkit/sources/src/utilities.scss +11 -0
  324. package/libs/@dso-toolkit/sources/src/{styling/variables → variables}/colors.scss +11 -11
  325. package/libs/@dso-toolkit/sources/src/variables/media-query-breakpoints.scss +16 -0
  326. package/libs/@dso-toolkit/sources/src/{styling/variables → variables}/scaffolding.scss +4 -2
  327. package/libs/@dso-toolkit/sources/src/variables/states.scss +17 -0
  328. package/libs/@dso-toolkit/sources/src/{styling/variables → variables}/typography.scss +3 -4
  329. package/libs/@dso-toolkit/sources/src/variables/units.scss +51 -0
  330. package/libs/@dso-toolkit/sources/src/variables/zindex.scss +24 -0
  331. package/package.json +2 -2
  332. package/src/{styles/components → components}/_navbar.scss +16 -13
  333. package/src/{styles/components → components}/_tree-view.scss +16 -11
  334. package/src/dso.scss +7 -24
  335. package/dist/library/@dso-toolkit/core/dso-toolkit/p-73bbb9a6.entry.js +0 -1
  336. package/dist/library/@dso-toolkit/core/dso-toolkit/p-d6192ab8.entry.js +0 -1
  337. package/dist/library/@dso-toolkit/core/dso-toolkit/p-e2e2106e.entry.js +0 -1
  338. package/dist/library/@dso-toolkit/core/dso-toolkit/p-efd815dc.entry.js +0 -1
  339. package/dist/library/@dso-toolkit/core/dso-toolkit/p-f42d8240.entry.js +0 -1
  340. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-73bbb9a6.entry.js +0 -1
  341. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-d6192ab8.entry.js +0 -1
  342. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-e2e2106e.entry.js +0 -1
  343. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-efd815dc.entry.js +0 -1
  344. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-f42d8240.entry.js +0 -1
  345. package/libs/@dso-toolkit/css/src/components/sr-only/sr-only.scss +0 -3
  346. package/libs/@dso-toolkit/css/src/legacy/components/header.scss +0 -56
  347. package/libs/@dso-toolkit/sources/src/components/accordion/accordion-variables.scss +0 -24
  348. package/libs/@dso-toolkit/sources/src/components/accordion/accordion.scss +0 -1
  349. package/libs/@dso-toolkit/sources/src/components/alert/alert.scss +0 -125
  350. package/libs/@dso-toolkit/sources/src/components/application-heading/application-heading.scss +0 -27
  351. package/libs/@dso-toolkit/sources/src/components/badge/badge.scss +0 -57
  352. package/libs/@dso-toolkit/sources/src/components/banner/banner.scss +0 -115
  353. package/libs/@dso-toolkit/sources/src/components/description/description.scss +0 -77
  354. package/libs/@dso-toolkit/sources/src/components/footnotes/footnotes.scss +0 -12
  355. package/libs/@dso-toolkit/sources/src/components/highlight-box/highlight-box.scss +0 -79
  356. package/libs/@dso-toolkit/sources/src/components/image/image.scss +0 -32
  357. package/libs/@dso-toolkit/sources/src/components/info-button/info-button.scss +0 -25
  358. package/libs/@dso-toolkit/sources/src/components/label/label.scss +0 -125
  359. package/libs/@dso-toolkit/sources/src/components/link-list/link-list.scss +0 -40
  360. package/libs/@dso-toolkit/sources/src/components/list-button/list-button.scss +0 -176
  361. package/libs/@dso-toolkit/sources/src/components/progress-bar/progress-bar.scss +0 -30
  362. package/libs/@dso-toolkit/sources/src/components/progress-indicator/progress-indicator.scss +0 -50
  363. package/libs/@dso-toolkit/sources/src/components/selectable/selectable.scss +0 -210
  364. package/libs/@dso-toolkit/sources/src/components/sr-only/sr-only.mixins.scss +0 -10
  365. package/libs/@dso-toolkit/sources/src/components/tile/tile.scss +0 -85
  366. package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.scss +0 -97
  367. package/libs/@dso-toolkit/sources/src/components/whitebox/whitebox.scss +0 -41
  368. package/libs/@dso-toolkit/sources/src/components.scss +0 -27
  369. package/libs/@dso-toolkit/sources/src/styling/mixins.scss +0 -10
  370. package/libs/@dso-toolkit/sources/src/styling/variables/media-queries-breakpoints.scss +0 -16
  371. package/libs/@dso-toolkit/sources/src/styling/variables/states.scss +0 -15
  372. package/libs/@dso-toolkit/sources/src/styling/variables/units.scss +0 -51
  373. package/libs/@dso-toolkit/sources/src/styling/variables/zindex.scss +0 -24
  374. package/src/styles/dso.scss +0 -59
@@ -0,0 +1,79 @@
1
+ @use "../../variables/units";
2
+ @use "../../variables/colors";
3
+ @use "../../variables/zindex";
4
+ @use "description.variables" as description-variables;
5
+
6
+ @mixin root($content-selector) {
7
+ border-bottom: 2px dotted description-variables.$border-color;
8
+
9
+ &,
10
+ &:visited,
11
+ &:active,
12
+ &:focus {
13
+ color: colors.$grijs-90 !important;
14
+ text-decoration: none !important;
15
+ }
16
+
17
+ &:hover {
18
+ border-bottom-style: solid;
19
+ text-decoration: none;
20
+ }
21
+
22
+ &.dso-open {
23
+ position: relative;
24
+
25
+ &::before {
26
+ border-color: colors.$wit transparent transparent;
27
+ border-style: solid;
28
+ border-width: units.$u1 - 1 units.$u1 - 1 0;
29
+ bottom: units.$u2 * -1 + 2;
30
+ content: "";
31
+ height: 0;
32
+ left: 50%;
33
+ margin-left: units.$u1 * -1 + 1px;
34
+ position: absolute;
35
+ width: 0;
36
+ z-index: zindex.$description-open + 1;
37
+ }
38
+
39
+ &::after {
40
+ border-color: description-variables.$border-color transparent transparent;
41
+ border-style: solid;
42
+ border-width: units.$u1 units.$u1 0;
43
+ bottom: units.$u2 * -1;
44
+ content: "";
45
+ height: 0;
46
+ left: 50%;
47
+ margin-left: units.$u1 * -1;
48
+ position: absolute;
49
+ width: 0;
50
+ z-index: zindex.$description-open;
51
+ }
52
+
53
+ & + #{$content-selector} {
54
+ display: block;
55
+ }
56
+ }
57
+
58
+ &:not(.dso-open) + #{$content-selector} {
59
+ display: none;
60
+ }
61
+
62
+ & + #{$content-selector} {
63
+ background-color: description-variables.$background-color;
64
+ border: 1px description-variables.$border-color solid;
65
+ margin: units.$u1 * 0.5 0;
66
+ padding: units.$u1 units.$u4 units.$u1 units.$u1;
67
+ position: relative;
68
+
69
+ > a {
70
+ display: block;
71
+ height: 24px;
72
+ position: absolute;
73
+ right: 0;
74
+ text-align: center;
75
+ top: 0;
76
+ width: 24px;
77
+ }
78
+ }
79
+ }
@@ -0,0 +1,4 @@
1
+ @use "../../variables/colors";
2
+
3
+ $background-color: colors.$info-bg-color;
4
+ $border-color: colors.$info-color;
@@ -0,0 +1,2 @@
1
+ @forward "dropdown-menu.mixins";
2
+ @forward "dropdown-menu.variables";
@@ -1,17 +1,21 @@
1
1
  @use "sass:math";
2
2
 
3
- $dropdown-bg: #fff;
4
- $dropdown-border: rgba(0, 0, 0, 0.15);
3
+ @use "../../variables/units";
4
+ @use "../../variables/colors";
5
+ @use "../../variables/scaffolding";
6
+ @use "../../variables/typography";
7
+ @use "../../variables/zindex";
5
8
 
6
- $dso-dropdown-hor-padding: 20px;
7
- $dso-dropdown-link-color: $grijs-90;
9
+ @use "../anchor";
8
10
 
9
- @mixin dropdown-menu_root() {
11
+ @use "dropdown-menu.variables" as dropdown-menu-variables;
12
+
13
+ @mixin root() {
10
14
  display: inline-block;
11
15
  position: relative;
12
16
  }
13
17
 
14
- @mixin dropdown-menu_children() {
18
+ @mixin children() {
15
19
  > button:not(.dso-primary):not(.dso-secondary):not(.dso-tertiary),
16
20
  > .dso-primary,
17
21
  > .dso-secondary,
@@ -27,16 +31,16 @@ $dso-dropdown-link-color: $grijs-90;
27
31
  > .dso-secondary,
28
32
  > .btn {
29
33
  &::after {
30
- margin-left: $u1;
34
+ margin-left: units.$u1;
31
35
  }
32
36
  }
33
37
 
34
38
  .dso-group-label {
35
- color: $grijs-40;
39
+ color: colors.$grijs-40;
36
40
  font-size: (math.div(14, 16) * 1em);
37
41
  font-weight: 400;
38
42
  margin: 0;
39
- padding: ($u1 * 0.5) $dso-dropdown-hor-padding ($u1 * 0.25);
43
+ padding: (units.$u1 * 0.5) dropdown-menu-variables.$horizontal-padding (units.$u1 * 0.25);
40
44
  text-transform: uppercase;
41
45
  }
42
46
 
@@ -45,7 +49,7 @@ $dso-dropdown-link-color: $grijs-90;
45
49
  padding: 0;
46
50
 
47
51
  &:not(:last-child) {
48
- border-bottom: 1px solid $grijs-10;
52
+ border-bottom: 1px solid colors.$grijs-10;
49
53
  margin-bottom: 11px;
50
54
  padding-bottom: 11px;
51
55
  }
@@ -53,46 +57,46 @@ $dso-dropdown-link-color: $grijs-90;
53
57
 
54
58
  .dso-dropdown-options {
55
59
  background-clip: padding-box;
56
- background-color: $dropdown-bg;
57
- border-radius: $border-radius-base;
58
- border: 1px solid $dropdown-border;
60
+ background-color: dropdown-menu-variables.$background-color;
61
+ border-radius: scaffolding.$border-radius-base;
62
+ border: 1px solid dropdown-menu-variables.$border-color;
59
63
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.4);
60
- font-size: $dso-font-size-base;
64
+ font-size: typography.$root-font-size-base;
61
65
  margin: 2px 0 0;
62
66
  min-width: 160px;
63
67
  padding: 5px 0;
64
68
  position: absolute;
65
69
  text-align: left;
66
70
  top: 100%;
67
- z-index: $zx-dropdown-options;
71
+ z-index: zindex.$dropdown-options;
68
72
 
69
73
  li {
70
74
  list-style: none;
71
75
 
72
76
  a {
73
77
  &:visited {
74
- color: $dso-dropdown-link-color;
78
+ color: dropdown-menu-variables.$link-color;
75
79
  }
76
80
  }
77
81
 
78
82
  a,
79
83
  button {
80
- @include anchor-reverse();
84
+ @include anchor.reverse();
81
85
 
82
86
  clear: both;
83
- color: $dso-dropdown-link-color;
87
+ color: dropdown-menu-variables.$link-color;
84
88
  display: block;
85
89
  font-weight: 400;
86
90
  line-height: 1.5;
87
- padding: 3px $dso-dropdown-hor-padding;
91
+ padding: 3px dropdown-menu-variables.$horizontal-padding;
88
92
  text-decoration: none;
89
93
  white-space: nowrap; // stylelint-disable-line declaration-property-value-disallowed-list -- We don't want wrapping in Dropdown items
90
94
 
91
95
  &:hover,
92
96
  &:focus {
93
- background-color: $grasgroen;
94
- border-color: $grasgroen;
95
- color: $wit;
97
+ background-color: colors.$grasgroen;
98
+ border-color: colors.$grasgroen;
99
+ color: colors.$wit;
96
100
  text-decoration: none;
97
101
  }
98
102
  }
@@ -108,63 +112,31 @@ $dso-dropdown-link-color: $grijs-90;
108
112
  }
109
113
  }
110
114
 
111
- @mixin dropdown-menu_open() {
112
- > .dso-primary,
113
- > .btn-primary {
114
- &::after {
115
- @include di-variant("chevron-up-wit");
116
- }
117
- }
118
-
119
- > .dso-secondary,
120
- > .btn-default {
121
- &::after {
122
- @include di-variant("chevron-up");
123
- }
124
-
125
- &:hover::after {
126
- @include di-variant("chevron-up-wit");
127
- }
128
- }
129
-
130
- > button:not(.dso-primary):not(.dso-secondary):not(.dso-tertiary),
131
- > .dso-tertiary,
132
- > .btn-link {
133
- &::after {
134
- @include di-variant("chevron-up");
135
- }
136
-
137
- &:hover::after {
138
- @include di-variant("chevron-up-scampi");
139
- }
140
- }
141
- }
142
-
143
- @mixin dropdown-menu_checkable() {
115
+ @mixin checkable() {
144
116
  .dso-group-label {
145
- padding-left: $u5;
117
+ padding-left: units.$u5;
146
118
  }
147
119
 
148
120
  li {
149
121
  a,
150
122
  button {
151
- padding-left: $u5;
123
+ padding-left: units.$u5;
152
124
  }
153
125
 
154
126
  &.dso-checked {
155
127
  a,
156
128
  button {
157
129
  &:not(:focus) {
158
- background-color: $grasgroen;
159
- border-color: $grasgroen;
160
- color: $wit;
130
+ background-color: colors.$grasgroen;
131
+ border-color: colors.$grasgroen;
132
+ color: colors.$wit;
161
133
  }
162
134
  }
163
135
  }
164
136
  }
165
137
  }
166
138
 
167
- @mixin dropdown-menu_align-right() {
139
+ @mixin align-right() {
168
140
  .dso-dropdown-options {
169
141
  right: 0;
170
142
  }
@@ -0,0 +1,6 @@
1
+ @use "../../variables/colors";
2
+
3
+ $background-color: #fff;
4
+ $border-color: rgba(0, 0, 0, 0.15);
5
+ $link-color: colors.$grijs-90;
6
+ $horizontal-padding: 20px;
@@ -0,0 +1 @@
1
+ @forward "footnotes.mixins";
@@ -0,0 +1,17 @@
1
+ @use "../../variables/units";
2
+ @use "../../variables/colors";
3
+
4
+ @use "../list";
5
+
6
+ @mixin root() {
7
+ @include list.unstyled();
8
+
9
+ border-top: 1px solid colors.$grijs-20;
10
+ padding-top: #{units.$u1 * 1.5};
11
+
12
+ .dso-footnote-backlink::after {
13
+ content: "^";
14
+ display: inline-block;
15
+ font-weight: 700;
16
+ }
17
+ }
@@ -0,0 +1,2 @@
1
+ @forward "form-control.mixins";
2
+ @forward "form-control.variables";
@@ -1,28 +1,26 @@
1
- @import "../../utilities";
1
+ @use "../../variables/units";
2
+ @use "../../variables/colors";
3
+ @use "../../variables/scaffolding";
4
+ @use "../../variables/typography";
5
+ @use "../../utilities";
2
6
 
3
- $input-border-radius: 4px;
7
+ @use "form-control.variables" as form-control-variables;
4
8
 
5
- $dso-form-control-border-width: 1px;
6
- $dso-form-control-focus-border-width: 1px;
7
- $dso-form-control-height: calc(($padding-base-vertical + 1px) * 2 + $dso-form-control-border-width * 2 + $dso-font-size-base * 1.5);
8
- $dso-form-control-focus-border-color: $bosgroen;
9
- $dso-form-control-readonly-border-width: 1px;
10
-
11
- @mixin form-control() {
9
+ @mixin root() {
12
10
  display: block;
13
11
  width: 100%;
14
- height: $dso-form-control-height;
15
- padding: $padding-base-vertical ($padding-base-horizontal + 2);
16
- font-size: $dso-font-size-base;
17
- line-height: $line-height-base;
18
- color: $input-color;
19
- background-color: $input-bg;
12
+ height: form-control-variables.$height;
13
+ padding: units.$padding-base-vertical (units.$padding-base-horizontal + 2);
14
+ font-size: typography.$root-font-size-base;
15
+ line-height: typography.$line-height-base;
16
+ color: colors.$input-color;
17
+ background-color: colors.$input-bg;
20
18
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
21
- border: $dso-form-control-border-width solid $input-border;
22
- border-radius: $input-border-radius; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.
19
+ border: form-control-variables.$border-width solid colors.$input-border;
20
+ border-radius: form-control-variables.$input-border-radius; // Note: This has no effect on <select>s in some browsers, due to the limited stylability of <select>s in CSS.
23
21
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
24
22
 
25
- @include placeholder($input-color-placeholder);
23
+ @include utilities.placeholder(colors.$input-color-placeholder);
26
24
 
27
25
  &::-ms-expand {
28
26
  background-color: transparent;
@@ -30,34 +28,34 @@ $dso-form-control-readonly-border-width: 1px;
30
28
  }
31
29
 
32
30
  &:focus {
33
- border-color: $dso-form-control-focus-border-color;
31
+ border-color: form-control-variables.$focus-border-color;
34
32
  outline: 0;
35
- box-shadow: inset 0 0 0 $dso-form-control-focus-border-width $dso-form-control-focus-border-color;
33
+ box-shadow: inset 0 0 0 form-control-variables.$focus-border-width form-control-variables.$focus-border-color;
36
34
  }
37
35
 
38
36
  &[disabled],
39
37
  &[readonly],
40
38
  fieldset[disabled] & {
41
- background-color: $input-bg-disabled;
39
+ background-color: colors.$input-bg-disabled;
42
40
  opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655
43
41
  }
44
42
 
45
43
  &[disabled],
46
44
  fieldset[disabled] & {
47
- cursor: $cursor-disabled;
45
+ cursor: scaffolding.$cursor-disabled;
48
46
  }
49
47
 
50
48
  &[disabled] {
51
- border-color: $dso-input-disabled-border-color;
52
- color: $dso-input-disabled-color;
49
+ border-color: colors.$input-disabled-border-color;
50
+ color: colors.$input-disabled-color;
53
51
  }
54
52
 
55
53
  &[readonly] {
56
- border-width: $dso-form-control-readonly-border-width;
54
+ border-width: form-control-variables.$readonly-border-width;
57
55
  }
58
56
 
59
57
  &[type="text"] {
60
- line-height: $dso-form-control-height;
58
+ line-height: form-control-variables.$height;
61
59
  }
62
60
 
63
61
  &[size] {
@@ -0,0 +1,10 @@
1
+ @use "../../variables/units";
2
+ @use "../../variables/colors";
3
+ @use "../../variables/typography";
4
+
5
+ $border-width: 1px;
6
+ $focus-border-width: 1px;
7
+ $focus-border-color: colors.$bosgroen;
8
+ $height: calc((units.$padding-base-vertical + 1px) * 2 + $border-width * 2 + typography.$font-size-base * 1.5);
9
+ $input-border-radius: 4px;
10
+ $readonly-border-width: 1px;
@@ -0,0 +1 @@
1
+ @forward "headings.mixins";
@@ -1,11 +1,14 @@
1
+ @use "../../variables/units";
2
+ @use "../../variables/colors";
3
+
1
4
  @mixin h1() {
2
- color: $bosgroen;
3
- font-size: $dso-font-size-h1;
5
+ color: colors.$bosgroen;
6
+ font-size: units.$font-size-h1;
4
7
  font-weight: 700;
5
8
  }
6
9
 
7
10
  @mixin h3() {
8
- color: $bosgroen;
9
- font-size: $dso-font-size-h3;
11
+ color: colors.$bosgroen;
12
+ font-size: units.$font-size-h3;
10
13
  font-weight: 600;
11
14
  }
@@ -23,7 +23,7 @@ export function storiesOfHelpcenterPanel<TemplateFnReturnType>(
23
23
  {
24
24
  args: {
25
25
  label: "Hulp nodig",
26
- url: "https://core.dso-toolkit.nl/_1376-helpcenter-panel/?path=/docs/helpcenter-panel--helpcenter-panel",
26
+ url: window.location.origin + '/iframe.html?id=core-helpcenter-panel--helpcenter-panel&viewMode=docs',
27
27
  content: `
28
28
  <div class="dso-rich-content">
29
29
  <h2>Samenspel tussen wetgever en ontwikkelaars</h2>
@@ -0,0 +1,2 @@
1
+ @forward "highlight-box.mixins";
2
+ @forward "highlight-box.variables";
@@ -0,0 +1,85 @@
1
+ @use "../../variables/units";
2
+ @use "../../variables/colors";
3
+ @use "../../variables/scaffolding";
4
+
5
+ @use "../button";
6
+ @use "../step-counter";
7
+
8
+ @use "highlight-box.variables" as highlight-box-variables;
9
+
10
+ @mixin root() {
11
+ background-color: colors.$grijs-5;
12
+ margin-top: units.$u2;
13
+ padding: units.$u2;
14
+ margin-bottom: units.$vertical-spacing-large;
15
+
16
+ &.dso-white {
17
+ background-color: colors.$wit;
18
+ }
19
+
20
+ &.dso-yellow {
21
+ background-color: colors.$warning-bg-color;
22
+ }
23
+
24
+ &.dso-drop-shadow {
25
+ box-shadow: highlight-box-variables.$box-shadow;
26
+ }
27
+
28
+ &.dso-border {
29
+ background-color: colors.$wit;
30
+ border: 1px solid colors.$grijs-20;
31
+ padding: units.$u2 - 1;
32
+ }
33
+
34
+ &.dso-has-counter {
35
+ margin-top: highlight-box-variables.$margin-top;
36
+ }
37
+
38
+ @include step-counter.step-counter();
39
+ }
40
+
41
+ @mixin children() {
42
+ > .dso-rich-content {
43
+ *:first-child {
44
+ margin-top: 0 !important;
45
+ }
46
+ }
47
+
48
+ > *:last-child {
49
+ margin-bottom: 0 !important;
50
+ }
51
+
52
+ .dso-tertiary:not([disabled]),
53
+ .btn-link:not([disabled]) {
54
+ &:hover {
55
+ &,
56
+ dso-icon,
57
+ svg.di {
58
+ text-decoration: underline;
59
+ }
60
+ }
61
+ }
62
+ }
63
+
64
+ @mixin exoticChildren() {
65
+ .dso-tertiary:not([disabled]),
66
+ .btn-link:not([disabled]) {
67
+ color: colors.$grijs-90;
68
+
69
+ &:hover,
70
+ &:focus {
71
+ &,
72
+ dso-icon,
73
+ svg.di {
74
+ color: colors.$grijs-60;
75
+ }
76
+ }
77
+ }
78
+
79
+ a,
80
+ a:visited {
81
+ &#{button.$not-dso-buttons} {
82
+ color: scaffolding.$text-color;
83
+ }
84
+ }
85
+ }
@@ -0,0 +1,4 @@
1
+ @use "../../variables/units";
2
+
3
+ $box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
4
+ $margin-top: units.$shared-equal-heights-highlight-box-height;
@@ -0,0 +1 @@
1
+ @forward "icon.variables";
@@ -1,2 +1,4 @@
1
- $dso-icon-size: $u3;
2
- $dso-icon-vertical-align: top;
1
+ @use "../../variables/units";
2
+
3
+ $size: units.$u3;
4
+ $vertical-align: top;
@@ -0,0 +1,2 @@
1
+ @forward "image.mixins";
2
+ @forward "image.variables";
@@ -0,0 +1,33 @@
1
+ @use "../../variables/colors";
2
+ @use "../../variables/scaffolding";
3
+ @use "../../variables/typography";
4
+
5
+ @use "image.variables" as image-variables;
6
+
7
+ @mixin responsive($display: block) {
8
+ display: $display;
9
+ max-width: 100%;
10
+ height: auto;
11
+ }
12
+
13
+ // DEPRECATED
14
+ @mixin rounded() {
15
+ border-radius: scaffolding.$border-radius-large;
16
+ outline: 8px solid colors.$invalid-color;
17
+ }
18
+
19
+ @mixin thumbnail() {
20
+ background-color: image-variables.$thumbnail-bg;
21
+ border-radius: image-variables.$thumbnail-border-radius;
22
+ border: 1px solid image-variables.$thumbnail-border;
23
+ line-height: typography.$line-height-base;
24
+ outline: 8px solid colors.$invalid-color;
25
+ padding: image-variables.$thumbnail-padding;
26
+
27
+ @include responsive(inline-block);
28
+ }
29
+ // DEPRECATED
30
+
31
+ @mixin circle() {
32
+ border-radius: 50%;
33
+ }
@@ -0,0 +1,6 @@
1
+ @use "../../variables/scaffolding";
2
+
3
+ $thumbnail-padding: 4px;
4
+ $thumbnail-bg: scaffolding.$body-bg;
5
+ $thumbnail-border: #ddd;
6
+ $thumbnail-border-radius: scaffolding.$border-radius-base;
@@ -0,0 +1 @@
1
+ @forward "info.mixins";
@@ -1,6 +1,11 @@
1
- @mixin info_root() {
2
- background-color: $grijs-5;
3
- padding: $u2 $u4 $u2 $u2;
1
+ @use "../../variables/units";
2
+ @use "../../variables/colors";
3
+ @use "../../variables/scaffolding";
4
+ @use "../button";
5
+
6
+ @mixin root() {
7
+ background-color: colors.$grijs-5;
8
+ padding: units.$u2 units.$u4 units.$u2 units.$u2;
4
9
  position: relative;
5
10
 
6
11
  > button {
@@ -8,29 +13,29 @@
8
13
  border-style: none;
9
14
  padding: 0;
10
15
  position: absolute;
11
- right: $u1;
12
- top: $u1;
16
+ right: units.$u1;
17
+ top: units.$u1;
13
18
  }
14
19
  }
15
20
 
16
- @mixin info_richContent() {
21
+ @mixin richContent() {
17
22
  *:first-child {
18
23
  margin-top: 0;
19
24
  }
20
25
 
21
26
  img {
22
27
  display: block;
23
- margin: $u1 auto;
28
+ margin: units.$u1 auto;
24
29
  max-width: 100%;
25
30
  }
26
31
 
27
32
  a {
28
- &#{$not-dso-buttons},
33
+ &#{button.$not-dso-buttons},
29
34
  &:hover,
30
35
  &:focus,
31
36
  &:active,
32
37
  &:visited {
33
- color: $text-color;
38
+ color: scaffolding.$text-color;
34
39
  }
35
40
 
36
41
  &:active {
@@ -40,22 +45,22 @@
40
45
 
41
46
  .dso-tertiary:not([disabled]),
42
47
  .btn-link:not([disabled]) {
43
- color: $zwart;
48
+ color: colors.$zwart;
44
49
 
45
50
  &:hover,
46
51
  &:focus {
47
52
  &,
48
53
  dso-icon,
49
54
  svg.di {
50
- color: $grijs-60;
55
+ color: colors.$grijs-60;
51
56
  text-decoration: underline;
52
57
  }
53
58
  }
54
59
  }
55
60
  }
56
61
 
57
- @mixin info_children() {
62
+ @mixin children() {
58
63
  .dso-rich-content {
59
- @include info_richContent();
64
+ @include richContent();
60
65
  }
61
66
  }
@@ -0,0 +1,2 @@
1
+ @forward "info-button.mixins";
2
+ @forward "info-button.variables";