@nldd/design-system 0.8.42 → 0.8.44

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 (381) hide show
  1. package/README.md +1 -1
  2. package/dist/components/actions/button/button.d.ts +36 -5
  3. package/dist/components/actions/button/button.d.ts.map +1 -1
  4. package/dist/components/actions/button/button.js +62 -6
  5. package/dist/components/actions/button/button.js.map +1 -1
  6. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  7. package/dist/components/actions/button/button.styles.js +149 -63
  8. package/dist/components/actions/button/button.styles.js.map +1 -1
  9. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  10. package/dist/components/actions/button/button.template.js +19 -1
  11. package/dist/components/actions/button/button.template.js.map +1 -1
  12. package/dist/components/actions/button-bar/button-bar.styles.js +4 -4
  13. package/dist/components/actions/button-group/button-group.js +2 -2
  14. package/dist/components/actions/button-group/button-group.js.map +1 -1
  15. package/dist/components/actions/button-group/button-group.styles.js +1 -1
  16. package/dist/components/actions/icon-button/icon-button.d.ts +43 -11
  17. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  18. package/dist/components/actions/icon-button/icon-button.js +68 -14
  19. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  20. package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
  21. package/dist/components/actions/icon-button/icon-button.styles.js +163 -106
  22. package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
  23. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  24. package/dist/components/actions/icon-button/icon-button.template.js +20 -2
  25. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  26. package/dist/components/actions/split-button/split-button.d.ts +5 -5
  27. package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
  28. package/dist/components/actions/split-button/split-button.js +19 -15
  29. package/dist/components/actions/split-button/split-button.js.map +1 -1
  30. package/dist/components/actions/split-button/split-button.styles.js +1 -1
  31. package/dist/components/actions/split-button/split-button.template.d.ts.map +1 -1
  32. package/dist/components/actions/split-button/split-button.template.js +14 -12
  33. package/dist/components/actions/split-button/split-button.template.js.map +1 -1
  34. package/dist/components/actions/toolbar/toolbar.d.ts +4 -6
  35. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  36. package/dist/components/actions/toolbar/toolbar.js +31 -28
  37. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  38. package/dist/components/actions/toolbar/toolbar.styles.js +17 -17
  39. package/dist/components/actions/toolbar/toolbar.template.d.ts +3 -3
  40. package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
  41. package/dist/components/actions/toolbar/toolbar.template.js +17 -9
  42. package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
  43. package/dist/components/components.js +1 -1
  44. package/dist/components/content/blockquote/blockquote.styles.js +6 -6
  45. package/dist/components/content/blockquote/blockquote.styles.js.map +1 -1
  46. package/dist/components/content/code/code.styles.js +3 -3
  47. package/dist/components/content/icon/icon-aliases.d.ts.map +1 -1
  48. package/dist/components/content/icon/icon-aliases.js +15 -0
  49. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  50. package/dist/components/content/icon/icon-registry.d.ts.map +1 -1
  51. package/dist/components/content/icon/icon-registry.js +11 -5
  52. package/dist/components/content/icon/icon-registry.js.map +1 -1
  53. package/dist/components/content/icon/icon.styles.js +1 -1
  54. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +22 -0
  55. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  56. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +46 -2
  57. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  58. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +5 -5
  59. package/dist/components/content/rich-text/rich-text.d.ts +3 -1
  60. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  61. package/dist/components/content/rich-text/rich-text.js +6 -1
  62. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  63. package/dist/components/content/tag/tag.d.ts +3 -3
  64. package/dist/components/content/tag/tag.d.ts.map +1 -1
  65. package/dist/components/content/tag/tag.js +3 -3
  66. package/dist/components/content/tag/tag.js.map +1 -1
  67. package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
  68. package/dist/components/content/tag/tag.styles.js +113 -15
  69. package/dist/components/content/tag/tag.styles.js.map +1 -1
  70. package/dist/components/content/title/title.styles.js +20 -20
  71. package/dist/components/content/title/title.styles.js.map +1 -1
  72. package/dist/components/content/tooltip/tooltip.d.ts +13 -7
  73. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  74. package/dist/components/content/tooltip/tooltip.js +34 -22
  75. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  76. package/dist/components/content/tooltip/tooltip.styles.js +8 -8
  77. package/dist/components/forms/form-actions/form-actions.styles.js +2 -2
  78. package/dist/components/forms/form-field/form-field.styles.js +6 -6
  79. package/dist/components/{index-CJ3mdHHo.js → index-1v33GjGX.js} +4134 -3286
  80. package/dist/components/index.d.ts +1 -1
  81. package/dist/components/index.d.ts.map +1 -1
  82. package/dist/components/index.js +1 -1
  83. package/dist/components/index.js.map +1 -1
  84. package/dist/components/inputs/checkbox/checkbox.styles.js +9 -9
  85. package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +4 -4
  86. package/dist/components/inputs/code-editor/code-editor.styles.js +14 -14
  87. package/dist/components/inputs/combo-box/combo-box.d.ts +1 -1
  88. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  89. package/dist/components/inputs/combo-box/combo-box.js +8 -2
  90. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  91. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  92. package/dist/components/inputs/combo-box/combo-box.styles.js +17 -14
  93. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  94. package/dist/components/inputs/combo-box/combo-box.template.d.ts.map +1 -1
  95. package/dist/components/inputs/combo-box/combo-box.template.js +4 -2
  96. package/dist/components/inputs/combo-box/combo-box.template.js.map +1 -1
  97. package/dist/components/inputs/dropdown/dropdown.d.ts +13 -1
  98. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  99. package/dist/components/inputs/dropdown/dropdown.js +33 -2
  100. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  101. package/dist/components/inputs/dropdown/dropdown.styles.d.ts.map +1 -1
  102. package/dist/components/inputs/dropdown/dropdown.styles.js +24 -16
  103. package/dist/components/inputs/dropdown/dropdown.styles.js.map +1 -1
  104. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
  105. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  106. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +8 -2
  107. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  108. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  109. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +14 -11
  110. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  111. package/dist/components/inputs/number-field/number-field.d.ts +2 -4
  112. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  113. package/dist/components/inputs/number-field/number-field.js +8 -12
  114. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  115. package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
  116. package/dist/components/inputs/number-field/number-field.styles.js +19 -18
  117. package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
  118. package/dist/components/inputs/number-field/number-field.template.js +2 -2
  119. package/dist/components/inputs/password-field/password-field.d.ts +9 -9
  120. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  121. package/dist/components/inputs/password-field/password-field.js +24 -18
  122. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  123. package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
  124. package/dist/components/inputs/password-field/password-field.styles.js +20 -17
  125. package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
  126. package/dist/components/inputs/password-field/password-field.template.js +3 -3
  127. package/dist/components/inputs/password-field/password-field.template.js.map +1 -1
  128. package/dist/components/inputs/radio-button/radio-button.styles.js +11 -11
  129. package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +4 -4
  130. package/dist/components/inputs/search-field/search-field.d.ts +1 -1
  131. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  132. package/dist/components/inputs/search-field/search-field.js +8 -2
  133. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  134. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  135. package/dist/components/inputs/search-field/search-field.styles.js +19 -16
  136. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  137. package/dist/components/inputs/segmented-control/segmented-control.d.ts +8 -2
  138. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  139. package/dist/components/inputs/segmented-control/segmented-control.js +25 -4
  140. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  141. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  142. package/dist/components/inputs/segmented-control/segmented-control.styles.js +78 -107
  143. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  144. package/dist/components/inputs/segmented-control/segmented-control.template.js +1 -1
  145. package/dist/components/inputs/stepper/stepper.styles.js +2 -2
  146. package/dist/components/inputs/stepper/stepper.template.js +2 -2
  147. package/dist/components/inputs/switch/switch.styles.js +13 -13
  148. package/dist/components/inputs/switch-field/switch-field.styles.js +4 -4
  149. package/dist/components/inputs/text-field/text-field.d.ts +1 -1
  150. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  151. package/dist/components/inputs/text-field/text-field.js +8 -2
  152. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  153. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  154. package/dist/components/inputs/text-field/text-field.styles.js +19 -16
  155. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  156. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  157. package/dist/components/inputs/toggle-button/toggle-button.styles.js +38 -18
  158. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  159. package/dist/components/inputs/token/token.d.ts +3 -3
  160. package/dist/components/inputs/token/token.d.ts.map +1 -1
  161. package/dist/components/inputs/token/token.js +6 -6
  162. package/dist/components/inputs/token/token.js.map +1 -1
  163. package/dist/components/inputs/token/token.styles.js +7 -7
  164. package/dist/components/inputs/token/token.template.js +2 -2
  165. package/dist/components/inputs/token/token.template.js.map +1 -1
  166. package/dist/components/layout/app-view/app-view.styles.js +4 -4
  167. package/dist/components/layout/box/box.styles.js +2 -2
  168. package/dist/components/layout/card/card.js +1 -1
  169. package/dist/components/layout/card/card.js.map +1 -1
  170. package/dist/components/layout/card/card.styles.js +4 -4
  171. package/dist/components/layout/collection/collection.styles.js +6 -6
  172. package/dist/components/layout/container/container.d.ts +4 -4
  173. package/dist/components/layout/container/container.js +4 -4
  174. package/dist/components/layout/container/container.styles.js +399 -399
  175. package/dist/components/layout/container/container.styles.js.map +1 -1
  176. package/dist/components/layout/divider/divider.styles.js +2 -2
  177. package/dist/components/layout/page/page.js +1 -1
  178. package/dist/components/layout/page/page.js.map +1 -1
  179. package/dist/components/layout/page/page.styles.js +9 -9
  180. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +6 -3
  181. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  182. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +21 -5
  183. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  184. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
  185. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +24 -23
  186. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
  187. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +6 -3
  188. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  189. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +21 -5
  190. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  191. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +18 -18
  192. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  193. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +6 -3
  194. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  195. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +21 -5
  196. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  197. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +18 -18
  198. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  199. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +6 -3
  200. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  201. package/dist/components/layout/page-sections/simple-section/simple-section.js +21 -5
  202. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  203. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +23 -23
  204. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js.map +1 -1
  205. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +6 -3
  206. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  207. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +21 -5
  208. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  209. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +18 -18
  210. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  211. package/dist/components/layout/popover/popover.js +1 -1
  212. package/dist/components/layout/popover/popover.js.map +1 -1
  213. package/dist/components/layout/popover/popover.styles.js +4 -4
  214. package/dist/components/layout/sheet/sheet.d.ts +17 -4
  215. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  216. package/dist/components/layout/sheet/sheet.js +43 -9
  217. package/dist/components/layout/sheet/sheet.js.map +1 -1
  218. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  219. package/dist/components/layout/sheet/sheet.styles.js +33 -40
  220. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  221. package/dist/components/layout/spacer/spacer.styles.js +5 -5
  222. package/dist/components/layout/split-views/bar-split-view/bar-split-view.styles.js +9 -9
  223. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +34 -34
  224. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.styles.js +6 -6
  225. package/dist/components/layout/split-views/split-view-divider/split-view-divider.styles.js +4 -4
  226. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +1 -1
  227. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  228. package/dist/components/layout/split-views/split-view-pane/split-view-pane.styles.js +3 -3
  229. package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.styles.js +7 -7
  230. package/dist/components/layout/window/window.js +1 -1
  231. package/dist/components/layout/window/window.js.map +1 -1
  232. package/dist/components/layout/window/window.styles.js +8 -8
  233. package/dist/components/lists-and-menus/cells/cell/cell.d.ts +4 -2
  234. package/dist/components/lists-and-menus/cells/cell/cell.d.ts.map +1 -1
  235. package/dist/components/lists-and-menus/cells/cell/cell.js +17 -6
  236. package/dist/components/lists-and-menus/cells/cell/cell.js.map +1 -1
  237. package/dist/components/lists-and-menus/cells/cell/cell.styles.d.ts.map +1 -1
  238. package/dist/components/lists-and-menus/cells/cell/cell.styles.js +26 -15
  239. package/dist/components/lists-and-menus/cells/cell/cell.styles.js.map +1 -1
  240. package/dist/components/lists-and-menus/cells/description-cell/description-cell.d.ts +2 -2
  241. package/dist/components/lists-and-menus/cells/description-cell/description-cell.d.ts.map +1 -1
  242. package/dist/components/lists-and-menus/cells/description-cell/description-cell.js +12 -7
  243. package/dist/components/lists-and-menus/cells/description-cell/description-cell.js.map +1 -1
  244. package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.d.ts.map +1 -1
  245. package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js +9 -8
  246. package/dist/components/lists-and-menus/cells/description-cell/description-cell.styles.js.map +1 -1
  247. package/dist/components/lists-and-menus/cells/drag-handle-cell/drag-handle-cell.styles.js +9 -9
  248. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.d.ts.map +1 -1
  249. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js +1 -1
  250. package/dist/components/lists-and-menus/cells/icon-cell/icon-cell.js.map +1 -1
  251. package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.d.ts.map +1 -1
  252. package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js +1 -1
  253. package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.js.map +1 -1
  254. package/dist/components/lists-and-menus/cells/spacer-cell/spacer-cell.styles.js +1 -1
  255. package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts +3 -4
  256. package/dist/components/lists-and-menus/cells/text-cell/text-cell.d.ts.map +1 -1
  257. package/dist/components/lists-and-menus/cells/text-cell/text-cell.js +13 -9
  258. package/dist/components/lists-and-menus/cells/text-cell/text-cell.js.map +1 -1
  259. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  260. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js +26 -9
  261. package/dist/components/lists-and-menus/cells/text-cell/text-cell.styles.js.map +1 -1
  262. package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts +3 -4
  263. package/dist/components/lists-and-menus/cells/title-cell/title-cell.d.ts.map +1 -1
  264. package/dist/components/lists-and-menus/cells/title-cell/title-cell.js +12 -8
  265. package/dist/components/lists-and-menus/cells/title-cell/title-cell.js.map +1 -1
  266. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  267. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js +26 -9
  268. package/dist/components/lists-and-menus/cells/title-cell/title-cell.styles.js.map +1 -1
  269. package/dist/components/lists-and-menus/list/list.d.ts.map +1 -1
  270. package/dist/components/lists-and-menus/list/list.i18n.js +1 -1
  271. package/dist/components/lists-and-menus/list/list.i18n.js.map +1 -1
  272. package/dist/components/lists-and-menus/list/list.js +7 -0
  273. package/dist/components/lists-and-menus/list/list.js.map +1 -1
  274. package/dist/components/lists-and-menus/list/list.styles.js +13 -13
  275. package/dist/components/lists-and-menus/list-item/list-item.styles.js +21 -21
  276. package/dist/components/lists-and-menus/menu/menu.d.ts +160 -29
  277. package/dist/components/lists-and-menus/menu/menu.d.ts.map +1 -1
  278. package/dist/components/lists-and-menus/menu/menu.i18n.d.ts +2 -0
  279. package/dist/components/lists-and-menus/menu/menu.i18n.d.ts.map +1 -1
  280. package/dist/components/lists-and-menus/menu/menu.i18n.js +2 -0
  281. package/dist/components/lists-and-menus/menu/menu.i18n.js.map +1 -1
  282. package/dist/components/lists-and-menus/menu/menu.js +534 -102
  283. package/dist/components/lists-and-menus/menu/menu.js.map +1 -1
  284. package/dist/components/lists-and-menus/menu/menu.styles.d.ts.map +1 -1
  285. package/dist/components/lists-and-menus/menu/menu.styles.js +93 -32
  286. package/dist/components/lists-and-menus/menu/menu.styles.js.map +1 -1
  287. package/dist/components/lists-and-menus/menu/menu.template.d.ts.map +1 -1
  288. package/dist/components/lists-and-menus/menu/menu.template.js +13 -0
  289. package/dist/components/lists-and-menus/menu/menu.template.js.map +1 -1
  290. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +0 -2
  291. package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
  292. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +20 -22
  293. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  294. package/dist/components/navigation/document-tab-bar/document-tab-bar.styles.js +48 -48
  295. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
  296. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +12 -10
  297. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  298. package/dist/components/navigation/link/link.d.ts.map +1 -0
  299. package/dist/components/navigation/link/link.js.map +1 -0
  300. package/dist/components/navigation/link/link.styles.d.ts.map +1 -0
  301. package/dist/components/{actions → navigation}/link/link.styles.js +4 -4
  302. package/dist/components/navigation/link/link.styles.js.map +1 -0
  303. package/dist/components/navigation/link/link.template.d.ts.map +1 -0
  304. package/dist/components/navigation/link/link.template.js.map +1 -0
  305. package/dist/components/navigation/menu-bar/menu-bar.d.ts +17 -5
  306. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  307. package/dist/components/navigation/menu-bar/menu-bar.js +80 -35
  308. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  309. package/dist/components/navigation/menu-bar/menu-bar.styles.js +2 -2
  310. package/dist/components/navigation/menu-bar/menu-bar.template.d.ts.map +1 -1
  311. package/dist/components/navigation/menu-bar/menu-bar.template.js +12 -2
  312. package/dist/components/navigation/menu-bar/menu-bar.template.js.map +1 -1
  313. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +17 -1
  314. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  315. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +28 -6
  316. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  317. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +21 -21
  318. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
  319. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +3 -1
  320. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
  321. package/dist/components/navigation/pagination/pagination.d.ts +15 -2
  322. package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
  323. package/dist/components/navigation/pagination/pagination.js +24 -4
  324. package/dist/components/navigation/pagination/pagination.js.map +1 -1
  325. package/dist/components/navigation/pagination/pagination.styles.d.ts.map +1 -1
  326. package/dist/components/navigation/pagination/pagination.styles.js +48 -76
  327. package/dist/components/navigation/pagination/pagination.styles.js.map +1 -1
  328. package/dist/components/navigation/pagination/pagination.template.d.ts.map +1 -1
  329. package/dist/components/navigation/pagination/pagination.template.js +23 -16
  330. package/dist/components/navigation/pagination/pagination.template.js.map +1 -1
  331. package/dist/components/navigation/skip-link/skip-link.styles.js +9 -9
  332. package/dist/components/navigation/tab-bar/tab-bar.d.ts +3 -1
  333. package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
  334. package/dist/components/navigation/tab-bar/tab-bar.js +5 -3
  335. package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
  336. package/dist/components/navigation/tab-bar/tab-bar.styles.d.ts.map +1 -1
  337. package/dist/components/navigation/tab-bar/tab-bar.styles.js +55 -58
  338. package/dist/components/navigation/tab-bar/tab-bar.styles.js.map +1 -1
  339. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -2
  340. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  341. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  342. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +57 -70
  343. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  344. package/dist/components/navigation/top-title-bar/top-title-bar.styles.d.ts.map +1 -1
  345. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +16 -14
  346. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js.map +1 -1
  347. package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
  348. package/dist/components/navigation/top-title-bar/top-title-bar.template.js +1 -0
  349. package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
  350. package/dist/components/{prism-typescript-Cdpexfvg.js → prism-typescript-D2EqsCqV.js} +1 -1
  351. package/dist/components/status-and-feedback/badge/badge.d.ts +3 -3
  352. package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
  353. package/dist/components/status-and-feedback/badge/badge.js +3 -3
  354. package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
  355. package/dist/components/status-and-feedback/badge/badge.styles.js +13 -13
  356. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.styles.js +7 -7
  357. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +5 -5
  358. package/dist/css/global.css +1 -0
  359. package/dist/css/reset.css +7 -0
  360. package/dist/css/rich-text.css +106 -79
  361. package/dist/css/settings.css +121 -89
  362. package/dist/utilities/os.d.ts +27 -0
  363. package/dist/utilities/os.d.ts.map +1 -0
  364. package/dist/utilities/os.js +60 -0
  365. package/dist/utilities/os.js.map +1 -0
  366. package/dist/utilities/visibility-mixin.d.ts +18 -12
  367. package/dist/utilities/visibility-mixin.d.ts.map +1 -1
  368. package/dist/utilities/visibility-mixin.js +21 -14
  369. package/dist/utilities/visibility-mixin.js.map +1 -1
  370. package/package.json +6 -6
  371. package/dist/components/actions/link/link.d.ts.map +0 -1
  372. package/dist/components/actions/link/link.js.map +0 -1
  373. package/dist/components/actions/link/link.styles.d.ts.map +0 -1
  374. package/dist/components/actions/link/link.styles.js.map +0 -1
  375. package/dist/components/actions/link/link.template.d.ts.map +0 -1
  376. package/dist/components/actions/link/link.template.js.map +0 -1
  377. /package/dist/components/{actions → navigation}/link/link.d.ts +0 -0
  378. /package/dist/components/{actions → navigation}/link/link.js +0 -0
  379. /package/dist/components/{actions → navigation}/link/link.styles.d.ts +0 -0
  380. /package/dist/components/{actions → navigation}/link/link.template.d.ts +0 -0
  381. /package/dist/components/{actions → navigation}/link/link.template.js +0 -0
@@ -13,13 +13,16 @@
13
13
  * @slot right - Right column (2/3)
14
14
  * @slot footer - Content below the columns
15
15
  *
16
- * @attr {boolean} [full-width] - Remove the body max-width constraint so the
17
- * section spans the full available width
16
+ * @attr {string} [width] - Body max-width: 'full' removes the constraint so the
17
+ * section spans the full available width. Any CSS
18
+ * length (e.g. '480px') overrides the default max-width.
18
19
  */
19
20
  import { LitElement } from 'lit';
20
21
  export declare class NLDDOneThirdTwoThirdsSection extends LitElement {
21
22
  static styles: import("lit").CSSResult;
22
- fullWidth: boolean;
23
+ /** Width mode: 'full' (removes body max-width) or any CSS length. */
24
+ width: string;
25
+ updated(changedProperties: Map<string, unknown>): void;
23
26
  render(): import("lit-html").TemplateResult;
24
27
  }
25
28
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"one-third-two-thirds-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,4BAA6B,SAAQ,UAAU;IAC3D,OAAgB,MAAM,0BAAkC;IAGxD,SAAS,UAAS;IAET,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mCAAmC,EAAE,4BAA4B,CAAC;KAClE;CACD"}
1
+ {"version":3,"file":"one-third-two-thirds-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,4BAA6B,SAAQ,UAAU;IAC3D,OAAgB,MAAM,0BAAkC;IAExD,qEAAqE;IAErE,KAAK,SAAM;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IActD,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mCAAmC,EAAE,4BAA4B,CAAC;KAClE;CACD"}
@@ -19,8 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  * @slot right - Right column (2/3)
20
20
  * @slot footer - Content below the columns
21
21
  *
22
- * @attr {boolean} [full-width] - Remove the body max-width constraint so the
23
- * section spans the full available width
22
+ * @attr {string} [width] - Body max-width: 'full' removes the constraint so the
23
+ * section spans the full available width. Any CSS
24
+ * length (e.g. '480px') overrides the default max-width.
24
25
  */
25
26
  import { LitElement } from 'lit';
26
27
  import { customElement, property } from 'lit/decorators.js';
@@ -29,7 +30,22 @@ import { oneThirdTwoThirdsSectionTemplate } from './one-third-two-thirds-section
29
30
  let NLDDOneThirdTwoThirdsSection = class NLDDOneThirdTwoThirdsSection extends LitElement {
30
31
  constructor() {
31
32
  super(...arguments);
32
- this.fullWidth = false;
33
+ /** Width mode: 'full' (removes body max-width) or any CSS length. */
34
+ this.width = '';
35
+ }
36
+ updated(changedProperties) {
37
+ if (changedProperties.has('width')) {
38
+ const w = this.width;
39
+ // Sections constrain the body's max-width rather than the host's
40
+ // outer width. The keyword 'full' is handled by CSS (sets
41
+ // --_max-width: none); CSS lengths feed --_max-width here.
42
+ if (w && w !== 'full' && CSS.supports('max-width', w)) {
43
+ this.style.setProperty('--_max-width', w);
44
+ }
45
+ else {
46
+ this.style.removeProperty('--_max-width');
47
+ }
48
+ }
33
49
  }
34
50
  render() {
35
51
  return oneThirdTwoThirdsSectionTemplate(this);
@@ -37,8 +53,8 @@ let NLDDOneThirdTwoThirdsSection = class NLDDOneThirdTwoThirdsSection extends Li
37
53
  };
38
54
  NLDDOneThirdTwoThirdsSection.styles = oneThirdTwoThirdsSectionStyles;
39
55
  __decorate([
40
- property({ type: Boolean, reflect: true, attribute: 'full-width' })
41
- ], NLDDOneThirdTwoThirdsSection.prototype, "fullWidth", void 0);
56
+ property({ type: String, reflect: true })
57
+ ], NLDDOneThirdTwoThirdsSection.prototype, "width", void 0);
42
58
  NLDDOneThirdTwoThirdsSection = __decorate([
43
59
  customElement('nldd-one-third-two-thirds-section')
44
60
  ], NLDDOneThirdTwoThirdsSection);
@@ -1 +1 @@
1
- {"version":3,"file":"one-third-two-thirds-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAGvF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,UAAU;IAArD;;QAIN,cAAS,GAAG,KAAK,CAAC;IAKnB,CAAC;IAHS,MAAM;QACd,OAAO,gCAAgC,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;;AAPe,mCAAM,GAAG,8BAA8B,AAAjC,CAAkC;AAGxD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;+DAClD;AAJN,4BAA4B;IADxC,aAAa,CAAC,mCAAmC,CAAC;GACtC,4BAA4B,CASxC"}
1
+ {"version":3,"file":"one-third-two-thirds-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAGvF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,UAAU;IAArD;;QAGN,qEAAqE;QAErE,UAAK,GAAG,EAAE,CAAC;IAmBZ,CAAC;IAjBS,OAAO,CAAC,iBAAuC;QACvD,IAAI,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACpC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YACrB,iEAAiE;YACjE,0DAA0D;YAC1D,2DAA2D;YAC3D,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;YAC3C,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC3C,CAAC;QACF,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,gCAAgC,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;;AAtBe,mCAAM,GAAG,8BAA8B,AAAjC,CAAkC;AAIxD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2DAC/B;AALC,4BAA4B;IADxC,aAAa,CAAC,mCAAmC,CAAC;GACtC,4BAA4B,CAwBxC"}
@@ -9,23 +9,23 @@ export const oneThirdTwoThirdsSectionStyles = css `
9
9
 
10
10
  /* # Host
11
11
  Geen eigen container-type: page-sections luisteren naar de outer
12
- layout-area (gezet door nldd-page / nldd-card). Voor contexten
13
- zonder layout-area dient @media als fallback. */
12
+ layout-container (gezet door nldd-page / nldd-card). Voor contexten
13
+ zonder layout-container dient @media als fallback. */
14
14
 
15
15
  :host {
16
16
  --_max-width: var(--semantics-page-sections-body-max-width);
17
17
 
18
18
  display: flex;
19
+ width: 100%;
19
20
  flex-direction: column;
20
21
  align-items: center;
21
- width: 100%;
22
22
  }
23
23
 
24
24
  :host([hidden]) {
25
25
  display: none;
26
26
  }
27
27
 
28
- :host([full-width]) {
28
+ :host([width="full"]) {
29
29
  --_max-width: none;
30
30
  }
31
31
 
@@ -34,10 +34,10 @@ export const oneThirdTwoThirdsSectionStyles = css `
34
34
 
35
35
  .one-third-two-thirds-section {
36
36
  display: flex;
37
+ box-sizing: border-box;
38
+ width: 100%;
37
39
  flex-direction: column;
38
40
  align-items: center;
39
- width: 100%;
40
- box-sizing: border-box;
41
41
 
42
42
  @media (max-width: ${smMax}) {
43
43
  padding-inline: var(--semantics-page-sections-sm-margin-inline);
@@ -54,17 +54,17 @@ export const oneThirdTwoThirdsSectionStyles = css `
54
54
  padding-block: var(--semantics-page-sections-lg-margin-block);
55
55
  }
56
56
 
57
- @container layout-area (max-width: ${smMax}) {
57
+ @container layout-container (max-width: ${smMax}) {
58
58
  padding-inline: var(--semantics-page-sections-sm-margin-inline);
59
59
  padding-block: var(--semantics-page-sections-sm-margin-block);
60
60
  }
61
61
 
62
- @container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
62
+ @container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
63
63
  padding-inline: var(--semantics-page-sections-md-margin-inline);
64
64
  padding-block: var(--semantics-page-sections-md-margin-block);
65
65
  }
66
66
 
67
- @container layout-area (min-width: ${lgMin}) {
67
+ @container layout-container (min-width: ${lgMin}) {
68
68
  padding-inline: var(--semantics-page-sections-lg-margin-inline);
69
69
  padding-block: var(--semantics-page-sections-lg-margin-block);
70
70
  }
@@ -75,9 +75,9 @@ export const oneThirdTwoThirdsSectionStyles = css `
75
75
 
76
76
  .one-third-two-thirds-section__body {
77
77
  display: flex;
78
- flex-direction: column;
79
78
  width: 100%;
80
79
  max-width: var(--_max-width);
80
+ flex-direction: column;
81
81
 
82
82
  @media (max-width: ${smMax}) {
83
83
  gap: var(--semantics-page-sections-sm-gap);
@@ -91,15 +91,15 @@ export const oneThirdTwoThirdsSectionStyles = css `
91
91
  gap: var(--semantics-page-sections-lg-gap);
92
92
  }
93
93
 
94
- @container layout-area (max-width: ${smMax}) {
94
+ @container layout-container (max-width: ${smMax}) {
95
95
  gap: var(--semantics-page-sections-sm-gap);
96
96
  }
97
97
 
98
- @container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
98
+ @container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
99
99
  gap: var(--semantics-page-sections-md-gap);
100
100
  }
101
101
 
102
- @container layout-area (min-width: ${lgMin}) {
102
+ @container layout-container (min-width: ${lgMin}) {
103
103
  gap: var(--semantics-page-sections-lg-gap);
104
104
  }
105
105
  }
@@ -123,27 +123,27 @@ export const oneThirdTwoThirdsSectionStyles = css `
123
123
  gap: var(--semantics-page-sections-lg-gap);
124
124
  }
125
125
 
126
- @container layout-area (max-width: ${smMax}) {
126
+ @container layout-container (max-width: ${smMax}) {
127
127
  gap: var(--semantics-page-sections-sm-gap);
128
128
  }
129
129
 
130
- @container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
130
+ @container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
131
131
  gap: var(--semantics-page-sections-md-gap);
132
132
  }
133
133
 
134
- @container layout-area (min-width: ${lgMin}) {
134
+ @container layout-container (min-width: ${lgMin}) {
135
135
  gap: var(--semantics-page-sections-lg-gap);
136
136
  }
137
137
  }
138
138
 
139
139
  .one-third-two-thirds-section__left-column {
140
- flex: 1;
141
140
  min-width: var(--primitives-area-280);
141
+ flex: 1;
142
142
  }
143
143
 
144
144
  .one-third-two-thirds-section__right-column {
145
- flex: 2;
146
145
  min-width: var(--primitives-area-280);
146
+ flex: 2;
147
147
  }
148
148
  `;
149
149
  //# sourceMappingURL=one-third-two-thirds-section.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"one-third-two-thirds-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAmC1B,KAAK;;;;;uBAKL,KAAK,qBAAqB,KAAK;;;;;uBAK/B,KAAK;;;;;uCAKW,KAAK;;;;;uCAKL,KAAK,qBAAqB,KAAK;;;;;uCAK/B,KAAK;;;;;;;;;;;;;;;uBAerB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;uBAYrB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;;;CAc3C,CAAC"}
1
+ {"version":3,"file":"one-third-two-thirds-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAmC1B,KAAK;;;;;uBAKL,KAAK,qBAAqB,KAAK;;;;;uBAK/B,KAAK;;;;;4CAKgB,KAAK;;;;;4CAKL,KAAK,qBAAqB,KAAK;;;;;4CAK/B,KAAK;;;;;;;;;;;;;;;uBAe1B,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;4CAIgB,KAAK;;;;4CAIL,KAAK,qBAAqB,KAAK;;;;4CAI/B,KAAK;;;;;;;;;;;;uBAY1B,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;4CAIgB,KAAK;;;;4CAIL,KAAK,qBAAqB,KAAK;;;;4CAI/B,KAAK;;;;;;;;;;;;;;CAchD,CAAC"}
@@ -11,13 +11,16 @@
11
11
  * @slot - Main content
12
12
  * @slot footer - Content below the main content
13
13
  *
14
- * @attr {boolean} [full-width] - Remove the body max-width constraint so the
15
- * section spans the full available width
14
+ * @attr {string} [width] - Body max-width: 'full' removes the constraint so the
15
+ * section spans the full available width. Any CSS
16
+ * length (e.g. '480px') overrides the default max-width.
16
17
  */
17
18
  import { LitElement } from 'lit';
18
19
  export declare class NLDDSimpleSection extends LitElement {
19
20
  static styles: import("lit").CSSResult;
20
- fullWidth: boolean;
21
+ /** Width mode: 'full' (removes body max-width) or any CSS length. */
22
+ width: string;
23
+ updated(changedProperties: Map<string, unknown>): void;
21
24
  _onSlotChange(e: Event): void;
22
25
  render(): import("lit-html").TemplateResult;
23
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"simple-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,iBAAkB,SAAQ,UAAU;IAChD,OAAgB,MAAM,0BAAuB;IAG7C,SAAS,UAAS;IAElB,aAAa,CAAC,CAAC,EAAE,KAAK;IAMb,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,qBAAqB,EAAE,iBAAiB,CAAC;KACzC;CACD"}
1
+ {"version":3,"file":"simple-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,iBAAkB,SAAQ,UAAU;IAChD,OAAgB,MAAM,0BAAuB;IAE7C,qEAAqE;IAErE,KAAK,SAAM;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAc/D,aAAa,CAAC,CAAC,EAAE,KAAK;IAMb,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,qBAAqB,EAAE,iBAAiB,CAAC;KACzC;CACD"}
@@ -17,8 +17,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
17
  * @slot - Main content
18
18
  * @slot footer - Content below the main content
19
19
  *
20
- * @attr {boolean} [full-width] - Remove the body max-width constraint so the
21
- * section spans the full available width
20
+ * @attr {string} [width] - Body max-width: 'full' removes the constraint so the
21
+ * section spans the full available width. Any CSS
22
+ * length (e.g. '480px') overrides the default max-width.
22
23
  */
23
24
  import { LitElement } from 'lit';
24
25
  import { customElement, property } from 'lit/decorators.js';
@@ -27,7 +28,22 @@ import { simpleSectionTemplate } from './simple-section.template.js';
27
28
  let NLDDSimpleSection = class NLDDSimpleSection extends LitElement {
28
29
  constructor() {
29
30
  super(...arguments);
30
- this.fullWidth = false;
31
+ /** Width mode: 'full' (removes body max-width) or any CSS length. */
32
+ this.width = '';
33
+ }
34
+ updated(changedProperties) {
35
+ if (changedProperties.has('width')) {
36
+ const w = this.width;
37
+ // Sections constrain the body's max-width rather than the host's
38
+ // outer width. The keyword 'full' is handled by CSS (sets
39
+ // --_max-width: none); CSS lengths feed --_max-width here.
40
+ if (w && w !== 'full' && CSS.supports('max-width', w)) {
41
+ this.style.setProperty('--_max-width', w);
42
+ }
43
+ else {
44
+ this.style.removeProperty('--_max-width');
45
+ }
46
+ }
31
47
  }
32
48
  _onSlotChange(e) {
33
49
  const slot = e.target;
@@ -40,8 +56,8 @@ let NLDDSimpleSection = class NLDDSimpleSection extends LitElement {
40
56
  };
41
57
  NLDDSimpleSection.styles = simpleSectionStyles;
42
58
  __decorate([
43
- property({ type: Boolean, reflect: true, attribute: 'full-width' })
44
- ], NLDDSimpleSection.prototype, "fullWidth", void 0);
59
+ property({ type: String, reflect: true })
60
+ ], NLDDSimpleSection.prototype, "width", void 0);
45
61
  NLDDSimpleSection = __decorate([
46
62
  customElement('nldd-simple-section')
47
63
  ], NLDDSimpleSection);
@@ -1 +1 @@
1
- {"version":3,"file":"simple-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAG9D,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,UAAU;IAA1C;;QAIN,cAAS,GAAG,KAAK,CAAC;IAWnB,CAAC;IATA,aAAa,CAAC,CAAQ;QACrB,MAAM,IAAI,GAAG,CAAC,CAAC,MAAyB,CAAC;QACzC,MAAM,OAAO,GAAG,IAAI,CAAC,aAA4B,CAAC;QAClD,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC;IACvD,CAAC;IAEQ,MAAM;QACd,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;;AAbe,wBAAM,GAAG,mBAAmB,AAAtB,CAAuB;AAG7C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;oDAClD;AAJN,iBAAiB;IAD7B,aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CAe7B"}
1
+ {"version":3,"file":"simple-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAG9D,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,UAAU;IAA1C;;QAGN,qEAAqE;QAErE,UAAK,GAAG,EAAE,CAAC;IAyBZ,CAAC;IAvBS,OAAO,CAAC,iBAAuC;QACvD,IAAI,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACpC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YACrB,iEAAiE;YACjE,0DAA0D;YAC1D,2DAA2D;YAC3D,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;YAC3C,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC3C,CAAC;QACF,CAAC;IACF,CAAC;IAED,aAAa,CAAC,CAAQ;QACrB,MAAM,IAAI,GAAG,CAAC,CAAC,MAAyB,CAAC;QACzC,MAAM,OAAO,GAAG,IAAI,CAAC,aAA4B,CAAC;QAClD,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC;IACvD,CAAC;IAEQ,MAAM;QACd,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;;AA5Be,wBAAM,GAAG,mBAAmB,AAAtB,CAAuB;AAI7C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;gDAC/B;AALC,iBAAiB;IAD7B,aAAa,CAAC,qBAAqB,CAAC;GACxB,iBAAiB,CA8B7B"}
@@ -9,16 +9,16 @@ export const simpleSectionStyles = css `
9
9
 
10
10
  /* # Host
11
11
  Geen eigen container-type: page-sections luisteren naar de outer
12
- layout-area (gezet door nldd-page / nldd-card). Voor contexten
13
- zonder layout-area dient @media als fallback. */
12
+ layout-container (gezet door nldd-page / nldd-card). Voor contexten
13
+ zonder layout-container dient @media als fallback. */
14
14
 
15
15
  :host {
16
16
  --_max-width: var(--semantics-page-sections-body-max-width);
17
17
 
18
18
  display: flex;
19
+ width: 100%;
19
20
  flex-direction: column;
20
21
  align-items: center;
21
- width: 100%;
22
22
  }
23
23
 
24
24
  :host([hidden]) {
@@ -30,7 +30,7 @@ export const simpleSectionStyles = css `
30
30
  flex-grow: 1;
31
31
  }
32
32
 
33
- :host([full-width]) {
33
+ :host([width="full"]) {
34
34
  --_max-width: none;
35
35
  }
36
36
 
@@ -39,11 +39,11 @@ export const simpleSectionStyles = css `
39
39
 
40
40
  .simple-section {
41
41
  display: flex;
42
+ box-sizing: border-box;
43
+ width: 100%;
42
44
  flex-direction: column;
43
45
  flex-grow: 1;
44
46
  align-items: center;
45
- width: 100%;
46
- box-sizing: border-box;
47
47
 
48
48
  @media (max-width: ${smMax}) {
49
49
  padding-inline: var(--semantics-page-sections-sm-margin-inline);
@@ -60,38 +60,31 @@ export const simpleSectionStyles = css `
60
60
  padding-block: var(--semantics-page-sections-lg-margin-block);
61
61
  }
62
62
 
63
- @container layout-area (max-width: ${smMax}) {
63
+ @container layout-container (max-width: ${smMax}) {
64
64
  padding-inline: var(--semantics-page-sections-sm-margin-inline);
65
65
  padding-block: var(--semantics-page-sections-sm-margin-block);
66
66
  }
67
67
 
68
- @container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
68
+ @container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
69
69
  padding-inline: var(--semantics-page-sections-md-margin-inline);
70
70
  padding-block: var(--semantics-page-sections-md-margin-block);
71
71
  }
72
72
 
73
- @container layout-area (min-width: ${lgMin}) {
73
+ @container layout-container (min-width: ${lgMin}) {
74
74
  padding-inline: var(--semantics-page-sections-lg-margin-inline);
75
75
  padding-block: var(--semantics-page-sections-lg-margin-block);
76
76
  }
77
77
  }
78
78
 
79
79
 
80
- /* # Header */
81
-
82
- .simple-section__header[hidden] {
83
- display: none;
84
- }
85
-
86
-
87
80
  /* # Body */
88
81
 
89
82
  .simple-section__body {
90
83
  display: flex;
91
- flex-direction: column;
92
- flex-grow: 1;
93
84
  width: 100%;
94
85
  max-width: var(--_max-width);
86
+ flex-direction: column;
87
+ flex-grow: 1;
95
88
 
96
89
  @media (max-width: ${smMax}) {
97
90
  gap: var(--semantics-page-sections-sm-gap);
@@ -105,23 +98,23 @@ export const simpleSectionStyles = css `
105
98
  gap: var(--semantics-page-sections-lg-gap);
106
99
  }
107
100
 
108
- @container layout-area (max-width: ${smMax}) {
101
+ @container layout-container (max-width: ${smMax}) {
109
102
  gap: var(--semantics-page-sections-sm-gap);
110
103
  }
111
104
 
112
- @container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
105
+ @container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
113
106
  gap: var(--semantics-page-sections-md-gap);
114
107
  }
115
108
 
116
- @container layout-area (min-width: ${lgMin}) {
109
+ @container layout-container (min-width: ${lgMin}) {
117
110
  gap: var(--semantics-page-sections-lg-gap);
118
111
  }
119
112
  }
120
113
 
121
114
 
122
- /* # Footer */
115
+ /* # Header */
123
116
 
124
- .simple-section__footer[hidden] {
117
+ .simple-section__header[hidden] {
125
118
  display: none;
126
119
  }
127
120
 
@@ -133,5 +126,12 @@ export const simpleSectionStyles = css `
133
126
  flex-direction: column;
134
127
  flex-grow: 1;
135
128
  }
129
+
130
+
131
+ /* # Footer */
132
+
133
+ .simple-section__footer[hidden] {
134
+ display: none;
135
+ }
136
136
  `;
137
137
  //# sourceMappingURL=simple-section.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"simple-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAyCf,KAAK;;;;;uBAKL,KAAK,qBAAqB,KAAK;;;;;uBAK/B,KAAK;;;;;uCAKW,KAAK;;;;;uCAKL,KAAK,qBAAqB,KAAK;;;;;uCAK/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;uBAuBrB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;;;;;;;;;CAoB3C,CAAC"}
1
+ {"version":3,"file":"simple-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/simple-section/simple-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAyCf,KAAK;;;;;uBAKL,KAAK,qBAAqB,KAAK;;;;;uBAK/B,KAAK;;;;;4CAKgB,KAAK;;;;;4CAKL,KAAK,qBAAqB,KAAK;;;;;4CAK/B,KAAK;;;;;;;;;;;;;;;;uBAgB1B,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;4CAIgB,KAAK;;;;4CAIL,KAAK,qBAAqB,KAAK;;;;4CAI/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BhD,CAAC"}
@@ -13,13 +13,16 @@
13
13
  * @slot right - Right column (1/3)
14
14
  * @slot footer - Content below the columns
15
15
  *
16
- * @attr {boolean} [full-width] - Remove the body max-width constraint so the
17
- * section spans the full available width
16
+ * @attr {string} [width] - Body max-width: 'full' removes the constraint so the
17
+ * section spans the full available width. Any CSS
18
+ * length (e.g. '480px') overrides the default max-width.
18
19
  */
19
20
  import { LitElement } from 'lit';
20
21
  export declare class NLDDTwoThirdsOneThirdSection extends LitElement {
21
22
  static styles: import("lit").CSSResult;
22
- fullWidth: boolean;
23
+ /** Width mode: 'full' (removes body max-width) or any CSS length. */
24
+ width: string;
25
+ updated(changedProperties: Map<string, unknown>): void;
23
26
  render(): import("lit-html").TemplateResult;
24
27
  }
25
28
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"two-thirds-one-third-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,4BAA6B,SAAQ,UAAU;IAC3D,OAAgB,MAAM,0BAAkC;IAGxD,SAAS,UAAS;IAET,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mCAAmC,EAAE,4BAA4B,CAAC;KAClE;CACD"}
1
+ {"version":3,"file":"two-thirds-one-third-section.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,qBACa,4BAA6B,SAAQ,UAAU;IAC3D,OAAgB,MAAM,0BAAkC;IAExD,qEAAqE;IAErE,KAAK,SAAM;IAEF,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IActD,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,mCAAmC,EAAE,4BAA4B,CAAC;KAClE;CACD"}
@@ -19,8 +19,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
19
19
  * @slot right - Right column (1/3)
20
20
  * @slot footer - Content below the columns
21
21
  *
22
- * @attr {boolean} [full-width] - Remove the body max-width constraint so the
23
- * section spans the full available width
22
+ * @attr {string} [width] - Body max-width: 'full' removes the constraint so the
23
+ * section spans the full available width. Any CSS
24
+ * length (e.g. '480px') overrides the default max-width.
24
25
  */
25
26
  import { LitElement } from 'lit';
26
27
  import { customElement, property } from 'lit/decorators.js';
@@ -29,7 +30,22 @@ import { twoThirdsOneThirdSectionTemplate } from './two-thirds-one-third-section
29
30
  let NLDDTwoThirdsOneThirdSection = class NLDDTwoThirdsOneThirdSection extends LitElement {
30
31
  constructor() {
31
32
  super(...arguments);
32
- this.fullWidth = false;
33
+ /** Width mode: 'full' (removes body max-width) or any CSS length. */
34
+ this.width = '';
35
+ }
36
+ updated(changedProperties) {
37
+ if (changedProperties.has('width')) {
38
+ const w = this.width;
39
+ // Sections constrain the body's max-width rather than the host's
40
+ // outer width. The keyword 'full' is handled by CSS (sets
41
+ // --_max-width: none); CSS lengths feed --_max-width here.
42
+ if (w && w !== 'full' && CSS.supports('max-width', w)) {
43
+ this.style.setProperty('--_max-width', w);
44
+ }
45
+ else {
46
+ this.style.removeProperty('--_max-width');
47
+ }
48
+ }
33
49
  }
34
50
  render() {
35
51
  return twoThirdsOneThirdSectionTemplate(this);
@@ -37,8 +53,8 @@ let NLDDTwoThirdsOneThirdSection = class NLDDTwoThirdsOneThirdSection extends Li
37
53
  };
38
54
  NLDDTwoThirdsOneThirdSection.styles = twoThirdsOneThirdSectionStyles;
39
55
  __decorate([
40
- property({ type: Boolean, reflect: true, attribute: 'full-width' })
41
- ], NLDDTwoThirdsOneThirdSection.prototype, "fullWidth", void 0);
56
+ property({ type: String, reflect: true })
57
+ ], NLDDTwoThirdsOneThirdSection.prototype, "width", void 0);
42
58
  NLDDTwoThirdsOneThirdSection = __decorate([
43
59
  customElement('nldd-two-thirds-one-third-section')
44
60
  ], NLDDTwoThirdsOneThirdSection);
@@ -1 +1 @@
1
- {"version":3,"file":"two-thirds-one-third-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAGvF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,UAAU;IAArD;;QAIN,cAAS,GAAG,KAAK,CAAC;IAKnB,CAAC;IAHS,MAAM;QACd,OAAO,gCAAgC,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;;AAPe,mCAAM,GAAG,8BAA8B,AAAjC,CAAkC;AAGxD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;+DAClD;AAJN,4BAA4B;IADxC,aAAa,CAAC,mCAAmC,CAAC;GACtC,4BAA4B,CASxC"}
1
+ {"version":3,"file":"two-thirds-one-third-section.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,4CAA4C,CAAC;AAGvF,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,UAAU;IAArD;;QAGN,qEAAqE;QAErE,UAAK,GAAG,EAAE,CAAC;IAmBZ,CAAC;IAjBS,OAAO,CAAC,iBAAuC;QACvD,IAAI,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YACpC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;YACrB,iEAAiE;YACjE,0DAA0D;YAC1D,2DAA2D;YAC3D,IAAI,CAAC,IAAI,CAAC,KAAK,MAAM,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC;gBACvD,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC;YAC3C,CAAC;iBAAM,CAAC;gBACP,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;YAC3C,CAAC;QACF,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,gCAAgC,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;;AAtBe,mCAAM,GAAG,8BAA8B,AAAjC,CAAkC;AAIxD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;2DAC/B;AALC,4BAA4B;IADxC,aAAa,CAAC,mCAAmC,CAAC;GACtC,4BAA4B,CAwBxC"}
@@ -9,23 +9,23 @@ export const twoThirdsOneThirdSectionStyles = css `
9
9
 
10
10
  /* # Host
11
11
  Geen eigen container-type: page-sections luisteren naar de outer
12
- layout-area (gezet door nldd-page / nldd-card). Voor contexten
13
- zonder layout-area dient @media als fallback. */
12
+ layout-container (gezet door nldd-page / nldd-card). Voor contexten
13
+ zonder layout-container dient @media als fallback. */
14
14
 
15
15
  :host {
16
16
  --_max-width: var(--semantics-page-sections-body-max-width);
17
17
 
18
18
  display: flex;
19
+ width: 100%;
19
20
  flex-direction: column;
20
21
  align-items: center;
21
- width: 100%;
22
22
  }
23
23
 
24
24
  :host([hidden]) {
25
25
  display: none;
26
26
  }
27
27
 
28
- :host([full-width]) {
28
+ :host([width="full"]) {
29
29
  --_max-width: none;
30
30
  }
31
31
 
@@ -34,10 +34,10 @@ export const twoThirdsOneThirdSectionStyles = css `
34
34
 
35
35
  .two-thirds-one-third-section {
36
36
  display: flex;
37
+ box-sizing: border-box;
38
+ width: 100%;
37
39
  flex-direction: column;
38
40
  align-items: center;
39
- width: 100%;
40
- box-sizing: border-box;
41
41
 
42
42
  @media (max-width: ${smMax}) {
43
43
  padding-inline: var(--semantics-page-sections-sm-margin-inline);
@@ -54,17 +54,17 @@ export const twoThirdsOneThirdSectionStyles = css `
54
54
  padding-block: var(--semantics-page-sections-lg-margin-block);
55
55
  }
56
56
 
57
- @container layout-area (max-width: ${smMax}) {
57
+ @container layout-container (max-width: ${smMax}) {
58
58
  padding-inline: var(--semantics-page-sections-sm-margin-inline);
59
59
  padding-block: var(--semantics-page-sections-sm-margin-block);
60
60
  }
61
61
 
62
- @container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
62
+ @container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
63
63
  padding-inline: var(--semantics-page-sections-md-margin-inline);
64
64
  padding-block: var(--semantics-page-sections-md-margin-block);
65
65
  }
66
66
 
67
- @container layout-area (min-width: ${lgMin}) {
67
+ @container layout-container (min-width: ${lgMin}) {
68
68
  padding-inline: var(--semantics-page-sections-lg-margin-inline);
69
69
  padding-block: var(--semantics-page-sections-lg-margin-block);
70
70
  }
@@ -75,9 +75,9 @@ export const twoThirdsOneThirdSectionStyles = css `
75
75
 
76
76
  .two-thirds-one-third-section__body {
77
77
  display: flex;
78
- flex-direction: column;
79
78
  width: 100%;
80
79
  max-width: var(--_max-width);
80
+ flex-direction: column;
81
81
 
82
82
  @media (max-width: ${smMax}) {
83
83
  gap: var(--semantics-page-sections-sm-gap);
@@ -91,15 +91,15 @@ export const twoThirdsOneThirdSectionStyles = css `
91
91
  gap: var(--semantics-page-sections-lg-gap);
92
92
  }
93
93
 
94
- @container layout-area (max-width: ${smMax}) {
94
+ @container layout-container (max-width: ${smMax}) {
95
95
  gap: var(--semantics-page-sections-sm-gap);
96
96
  }
97
97
 
98
- @container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
98
+ @container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
99
99
  gap: var(--semantics-page-sections-md-gap);
100
100
  }
101
101
 
102
- @container layout-area (min-width: ${lgMin}) {
102
+ @container layout-container (min-width: ${lgMin}) {
103
103
  gap: var(--semantics-page-sections-lg-gap);
104
104
  }
105
105
  }
@@ -123,27 +123,27 @@ export const twoThirdsOneThirdSectionStyles = css `
123
123
  gap: var(--semantics-page-sections-lg-gap);
124
124
  }
125
125
 
126
- @container layout-area (max-width: ${smMax}) {
126
+ @container layout-container (max-width: ${smMax}) {
127
127
  gap: var(--semantics-page-sections-sm-gap);
128
128
  }
129
129
 
130
- @container layout-area (min-width: ${mdMin}) and (max-width: ${mdMax}) {
130
+ @container layout-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
131
131
  gap: var(--semantics-page-sections-md-gap);
132
132
  }
133
133
 
134
- @container layout-area (min-width: ${lgMin}) {
134
+ @container layout-container (min-width: ${lgMin}) {
135
135
  gap: var(--semantics-page-sections-lg-gap);
136
136
  }
137
137
  }
138
138
 
139
139
  .two-thirds-one-third-section__left-column {
140
- flex: 2;
141
140
  min-width: var(--primitives-area-280);
141
+ flex: 2;
142
142
  }
143
143
 
144
144
  .two-thirds-one-third-section__right-column {
145
- flex: 1;
146
145
  min-width: var(--primitives-area-280);
146
+ flex: 1;
147
147
  }
148
148
  `;
149
149
  //# sourceMappingURL=two-thirds-one-third-section.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"two-thirds-one-third-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAmC1B,KAAK;;;;;uBAKL,KAAK,qBAAqB,KAAK;;;;;uBAK/B,KAAK;;;;;uCAKW,KAAK;;;;;uCAKL,KAAK,qBAAqB,KAAK;;;;;uCAK/B,KAAK;;;;;;;;;;;;;;;uBAerB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;uBAYrB,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;uCAIW,KAAK;;;;uCAIL,KAAK,qBAAqB,KAAK;;;;uCAI/B,KAAK;;;;;;;;;;;;;;CAc3C,CAAC"}
1
+ {"version":3,"file":"two-thirds-one-third-section.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAEvE,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,8BAA8B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAmC1B,KAAK;;;;;uBAKL,KAAK,qBAAqB,KAAK;;;;;uBAK/B,KAAK;;;;;4CAKgB,KAAK;;;;;4CAKL,KAAK,qBAAqB,KAAK;;;;;4CAK/B,KAAK;;;;;;;;;;;;;;;uBAe1B,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;4CAIgB,KAAK;;;;4CAIL,KAAK,qBAAqB,KAAK;;;;4CAI/B,KAAK;;;;;;;;;;;;uBAY1B,KAAK;;;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;4CAIgB,KAAK;;;;4CAIL,KAAK,qBAAqB,KAAK;;;;4CAI/B,KAAK;;;;;;;;;;;;;;CAchD,CAAC"}