@nldd/design-system 0.8.96 → 0.8.98

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 (237) hide show
  1. package/README.md +14 -10
  2. package/custom-elements.json +528 -107
  3. package/dist/components/components.js +894 -267
  4. package/dist/components/content/code-viewer/code-viewer.d.ts +4 -1
  5. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  6. package/dist/components/content/code-viewer/code-viewer.js +43 -5
  7. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  8. package/dist/components/content/code-viewer/code-viewer.styles.d.ts.map +1 -1
  9. package/dist/components/content/code-viewer/code-viewer.styles.js +11 -0
  10. package/dist/components/content/code-viewer/code-viewer.styles.js.map +1 -1
  11. package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
  12. package/dist/components/content/code-viewer/code-viewer.template.js +1 -0
  13. package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
  14. package/dist/components/content/icon/icon-aliases.js +1 -1
  15. package/dist/components/content/icon/icon-aliases.js.map +1 -1
  16. package/dist/components/content/icon/icon-gallery-status.d.ts.map +1 -1
  17. package/dist/components/content/icon/icon-gallery-status.js +15 -4
  18. package/dist/components/content/icon/icon-gallery-status.js.map +1 -1
  19. package/dist/components/content/icon/icon-registry.js +12 -12
  20. package/dist/components/content/icon/icon-registry.js.map +1 -1
  21. package/dist/components/content/image/image.d.ts +19 -3
  22. package/dist/components/content/image/image.d.ts.map +1 -1
  23. package/dist/components/content/image/image.js +25 -4
  24. package/dist/components/content/image/image.js.map +1 -1
  25. package/dist/components/content/image/image.styles.d.ts.map +1 -1
  26. package/dist/components/content/image/image.styles.js +36 -0
  27. package/dist/components/content/image/image.styles.js.map +1 -1
  28. package/dist/components/content/image/image.template.d.ts.map +1 -1
  29. package/dist/components/content/image/image.template.js +13 -1
  30. package/dist/components/content/image/image.template.js.map +1 -1
  31. package/dist/components/content/rich-text/rich-text.d.ts +25 -12
  32. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  33. package/dist/components/content/rich-text/rich-text.js +25 -12
  34. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  35. package/dist/components/content/tooltip/tooltip.d.ts +7 -0
  36. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  37. package/dist/components/content/tooltip/tooltip.js +29 -2
  38. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  39. package/dist/components/{dist-CH9m014O.js → dist-B2QcygzG.js} +1 -1
  40. package/dist/components/{dist-DMHTTJRJ.js → dist-BB5mlo7D.js} +2 -2
  41. package/dist/components/{dist-C3uWRipu.js → dist-Bo5Jeyfn.js} +1 -1
  42. package/dist/components/{dist-CpW8MF-L.js → dist-Bud_7w5g.js} +232 -214
  43. package/dist/components/{dist-CvL6_ezZ.js → dist-CA0yDFIt.js} +2 -2
  44. package/dist/components/{dist-DV6Mp5N1.js → dist-CaxHkqR2.js} +3 -3
  45. package/dist/components/{dist-BWRYv3Mp.js → dist-Ch3gNAuT.js} +1 -1
  46. package/dist/components/{dist-PlhQXXtE.js → dist-DbNhCpS5.js} +1 -1
  47. package/dist/components/{dist-DTOshgo1.js → dist-DkqAbJH8.js} +1 -1
  48. package/dist/components/{dist-BWEAw34D.js → dist-DnZmcpbQ.js} +1 -1
  49. package/dist/components/{dist-Bi4EHsFY.js → dist-iC2RTM0V.js} +2 -2
  50. package/dist/components/forms/validation-list/validation-list.d.ts +19 -9
  51. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  52. package/dist/components/forms/validation-list/validation-list.js +38 -12
  53. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  54. package/dist/components/{icon-DQHT2C7z.js → icon-D_ZGezHx.js} +13 -13
  55. package/dist/components/{icon-button-mevRsl4C.js → icon-button-CJIikwyu.js} +16 -3
  56. package/dist/components/index.d.ts +1 -1
  57. package/dist/components/index.d.ts.map +1 -1
  58. package/dist/components/index.js +1 -1
  59. package/dist/components/index.js.map +1 -1
  60. package/dist/components/inputs/segmented-control/segmented-control.d.ts +1 -1
  61. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  62. package/dist/components/inputs/segmented-control/segmented-control.js +1 -4
  63. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  64. package/dist/components/inputs/toggle-button/toggle-button.d.ts +1 -1
  65. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  66. package/dist/components/inputs/toggle-button/toggle-button.js +1 -4
  67. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  68. package/dist/components/layout/box/box.d.ts +1 -1
  69. package/dist/components/layout/box/box.js +1 -1
  70. package/dist/components/layout/container/container.d.ts.map +1 -1
  71. package/dist/components/layout/container/container.js +2 -1
  72. package/dist/components/layout/container/container.js.map +1 -1
  73. package/dist/components/layout/page/page.d.ts +9 -3
  74. package/dist/components/layout/page/page.d.ts.map +1 -1
  75. package/dist/components/layout/page/page.js +36 -13
  76. package/dist/components/layout/page/page.js.map +1 -1
  77. package/dist/components/layout/page/page.styles.js +1 -1
  78. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +2 -0
  79. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  80. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +3 -1
  81. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  82. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.d.ts.map +1 -1
  83. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js +5 -0
  84. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.styles.js.map +1 -1
  85. package/dist/components/layout/page-sections/hero/hero.d.ts +57 -11
  86. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  87. package/dist/components/layout/page-sections/hero/hero.js +158 -15
  88. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  89. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
  90. package/dist/components/layout/page-sections/hero/hero.styles.js +95 -41
  91. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
  92. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +4 -0
  93. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  94. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +8 -1
  95. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  96. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.d.ts.map +1 -1
  97. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js +13 -0
  98. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.styles.js.map +1 -1
  99. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +4 -0
  100. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  101. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +8 -1
  102. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  103. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.d.ts.map +1 -1
  104. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js +17 -0
  105. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.styles.js.map +1 -1
  106. package/dist/components/layout/page-sections/page-section-controls.d.ts +11 -1
  107. package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -1
  108. package/dist/components/layout/page-sections/page-section-controls.js +11 -2
  109. package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
  110. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +5 -1
  111. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  112. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +6 -2
  113. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  114. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.d.ts.map +1 -1
  115. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js +13 -10
  116. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.styles.js.map +1 -1
  117. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +6 -6
  118. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -1
  119. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +2 -0
  120. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  121. package/dist/components/layout/page-sections/simple-section/simple-section.js +3 -2
  122. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  123. package/dist/components/layout/page-sections/simple-section/simple-section.styles.js +2 -2
  124. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +4 -0
  125. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  126. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +8 -1
  127. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  128. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.d.ts.map +1 -1
  129. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js +17 -0
  130. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.js.map +1 -1
  131. package/dist/components/layout/sheet/sheet.js +1 -1
  132. package/dist/components/layout/sheet/sheet.js.map +1 -1
  133. package/dist/components/layout/{app-view/app-view.d.ts → shell/shell.d.ts} +11 -11
  134. package/dist/components/layout/shell/shell.d.ts.map +1 -0
  135. package/dist/components/layout/{app-view/app-view.js → shell/shell.js} +24 -24
  136. package/dist/components/layout/shell/shell.js.map +1 -0
  137. package/dist/components/layout/shell/shell.styles.d.ts +2 -0
  138. package/dist/components/layout/shell/shell.styles.d.ts.map +1 -0
  139. package/dist/components/layout/{app-view/app-view.styles.js → shell/shell.styles.js} +8 -8
  140. package/dist/components/layout/shell/shell.styles.js.map +1 -0
  141. package/dist/components/layout/shell/shell.template.d.ts +4 -0
  142. package/dist/components/layout/shell/shell.template.d.ts.map +1 -0
  143. package/dist/components/layout/shell/shell.template.js +9 -0
  144. package/dist/components/layout/shell/shell.template.js.map +1 -0
  145. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -1
  146. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  147. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +1 -1
  148. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +1 -1
  149. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +1 -1
  150. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +1 -1
  151. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  152. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +2 -0
  153. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
  154. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  155. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +2 -0
  156. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
  157. package/dist/components/lists-and-tables/list/list.d.ts +6 -1
  158. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  159. package/dist/components/lists-and-tables/list/list.js +7 -2
  160. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  161. package/dist/components/lists-and-tables/list-item/list-item.d.ts +31 -6
  162. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  163. package/dist/components/lists-and-tables/list-item/list-item.js +55 -11
  164. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  165. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts +1 -1
  166. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
  167. package/dist/components/lists-and-tables/list-item/list-item.template.js +7 -6
  168. package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
  169. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +4 -1
  170. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  171. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +8 -2
  172. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  173. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +1 -1
  174. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
  175. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +1 -1
  176. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
  177. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  178. package/dist/components/navigation/menu-bar/menu-bar.js +19 -2
  179. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  180. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +7 -2
  181. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  182. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +15 -3
  183. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  184. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.d.ts.map +1 -1
  185. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js +12 -2
  186. package/dist/components/navigation/menu-bar-item/menu-bar-item.styles.js.map +1 -1
  187. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts +1 -0
  188. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.d.ts.map +1 -1
  189. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +55 -40
  190. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js.map +1 -1
  191. package/dist/components/navigation/skip-link/skip-link.d.ts +50 -4
  192. package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
  193. package/dist/components/navigation/skip-link/skip-link.js +140 -13
  194. package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
  195. package/dist/components/navigation/skip-link/skip-link.template.d.ts.map +1 -1
  196. package/dist/components/navigation/skip-link/skip-link.template.js +1 -0
  197. package/dist/components/navigation/skip-link/skip-link.template.js.map +1 -1
  198. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +8 -1
  199. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  200. package/dist/components/navigation/top-title-bar/top-title-bar.js +9 -2
  201. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  202. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +10 -0
  203. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  204. package/dist/components/status-and-feedback/status-bar/status-bar.js +21 -0
  205. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  206. package/dist/css/document-reset.css +3 -3
  207. package/dist/css/rich-text.css +36 -90
  208. package/dist/nldd.min.js +912 -736
  209. package/dist/types/vue.d.ts +85 -38
  210. package/dist/utilities/page-section-mixin.d.ts +5 -0
  211. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  212. package/dist/utilities/page-section-mixin.js +10 -1
  213. package/dist/utilities/page-section-mixin.js.map +1 -1
  214. package/dist/utilities/scroll-mode-controller.d.ts +29 -13
  215. package/dist/utilities/scroll-mode-controller.d.ts.map +1 -1
  216. package/dist/utilities/scroll-mode-controller.js +48 -13
  217. package/dist/utilities/scroll-mode-controller.js.map +1 -1
  218. package/package.json +5 -5
  219. package/dist/components/layout/app-view/app-view.d.ts.map +0 -1
  220. package/dist/components/layout/app-view/app-view.js.map +0 -1
  221. package/dist/components/layout/app-view/app-view.styles.d.ts +0 -2
  222. package/dist/components/layout/app-view/app-view.styles.d.ts.map +0 -1
  223. package/dist/components/layout/app-view/app-view.styles.js.map +0 -1
  224. package/dist/components/layout/app-view/app-view.template.d.ts +0 -4
  225. package/dist/components/layout/app-view/app-view.template.d.ts.map +0 -1
  226. package/dist/components/layout/app-view/app-view.template.js +0 -9
  227. package/dist/components/layout/app-view/app-view.template.js.map +0 -1
  228. package/dist/components/palettes.html +0 -245
  229. package/dist/components/sample-images/butterfly-1200.jpg +0 -0
  230. package/dist/components/sample-images/butterfly-1600.jpg +0 -0
  231. package/dist/components/sample-images/butterfly-480.jpg +0 -0
  232. package/dist/components/sample-images/butterfly-960.jpg +0 -0
  233. package/dist/palettes.html +0 -245
  234. package/dist/sample-images/butterfly-1200.jpg +0 -0
  235. package/dist/sample-images/butterfly-1600.jpg +0 -0
  236. package/dist/sample-images/butterfly-480.jpg +0 -0
  237. package/dist/sample-images/butterfly-960.jpg +0 -0
@@ -11,7 +11,6 @@
11
11
 
12
12
  import type { DefineComponent } from 'vue';
13
13
  import type { NLDDActivityIndicator } from '@nldd/design-system/activity-indicator';
14
- import type { NLDDAppView } from '@nldd/design-system/app-view';
15
14
  import type { NLDDAvatar } from '@nldd/design-system/avatar';
16
15
  import type { NLDDAvatarGroup } from '@nldd/design-system/avatar-group';
17
16
  import type { NLDDBadge } from '@nldd/design-system/badge';
@@ -94,6 +93,7 @@ import type { NLDDSearchField } from '@nldd/design-system/search-field';
94
93
  import type { NLDDSegmentedControl } from '@nldd/design-system/segmented-control';
95
94
  import type { NLDDSegmentedControlItem } from '@nldd/design-system/segmented-control';
96
95
  import type { NLDDSheet } from '@nldd/design-system/sheet';
96
+ import type { NLDDShell } from '@nldd/design-system/shell';
97
97
  import type { NLDDSideBySideSplitView } from '@nldd/design-system/side-by-side-split-view';
98
98
  import type { NLDDSidebarSection } from '@nldd/design-system/sidebar-section';
99
99
  import type { NLDDSimpleSection } from '@nldd/design-system/simple-section';
@@ -161,11 +161,6 @@ declare module 'vue' {
161
161
  'translations'?: NLDDActivityIndicator['translations'];
162
162
  };
163
163
 
164
- type NLDDAppViewProps = {
165
- /** Background color (cascades to descendants) */
166
- 'background'?: NLDDAppView['background'];
167
- };
168
-
169
164
  type NLDDAvatarProps = {
170
165
  /** `person` (circle, person icon) or `organization` (rounded, building icon); default `person` */
171
166
  'type'?: NLDDAvatar['type'];
@@ -295,7 +290,7 @@ declare module 'vue' {
295
290
  };
296
291
 
297
292
  type NLDDBoxProps = {
298
- /** Which surface this box draws, named as it is on nldd-app-view, nldd-page, nldd-split-view-pane and nldd-card. It starts tinted where a card starts base: a box is there to stand out from the page, a card to sit on it. - `tinted` (default): a box on a plain page background. - `base`: a box on an already-tinted parent (the border ring gets +2 palette steps so it still reads against a card-on-card). - `critical`: a region whose actions are destructive or irreversible (a "danger zone"), tinted and outlined in critical. It carries no ARIA of its own: unlike nldd-banner this is not an announcement but a permanent part of the page, so the heading and the button labels have to name the danger — color is a reinforcement, never the only signal (WCAG 1.4.1). The box draws the surface and nothing else: it has no padding of its own, the same way nldd-card has none. Put an nldd-container inside it and let that set the inset, so one component owns spacing wherever it is used. */
293
+ /** Which surface this box draws, named as it is on nldd-shell, nldd-page, nldd-split-view-pane and nldd-card. It starts tinted where a card starts base: a box is there to stand out from the page, a card to sit on it. - `tinted` (default): a box on a plain page background. - `base`: a box on an already-tinted parent (the border ring gets +2 palette steps so it still reads against a card-on-card). - `critical`: a region whose actions are destructive or irreversible (a "danger zone"), tinted and outlined in critical. It carries no ARIA of its own: unlike nldd-banner this is not an announcement but a permanent part of the page, so the heading and the button labels have to name the danger — color is a reinforcement, never the only signal (WCAG 1.4.1). The box draws the surface and nothing else: it has no padding of its own, the same way nldd-card has none. Put an nldd-container inside it and let that set the inset, so one component owns spacing wherever it is used. */
299
294
  'background'?: NLDDBox['background'];
300
295
  };
301
296
 
@@ -580,6 +575,10 @@ declare module 'vue' {
580
575
  'noCopy'?: NLDDCodeViewer['noCopy'];
581
576
  /** Wrap long lines instead of horizontal scroll */
582
577
  'wrap'?: NLDDCodeViewer['wrap'];
578
+ /** Tallest the block may get, as a CSS length (e.g. '400px', '50vh'). Beyond it the content scrolls vertically. Unset means no cap. */
579
+ 'max-height'?: NLDDCodeViewer['maxHeight'];
580
+ /** Tallest the block may get, as a CSS length (e.g. '400px', '50vh'). Beyond it the content scrolls vertically. Unset means no cap. */
581
+ 'maxHeight'?: NLDDCodeViewer['maxHeight'];
583
582
  'copy-unavailable'?: NLDDCodeViewer['_copyUnavailable'];
584
583
  '_copyUnavailable'?: NLDDCodeViewer['_copyUnavailable'];
585
584
  /** Override translation keys (e.g. the copy button labels and the scroll-region label); unset keys fall back to Dutch. */
@@ -1138,6 +1137,8 @@ declare module 'vue' {
1138
1137
  'background'?: NLDDFullBleedSection['background'];
1139
1138
  /** Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width). */
1140
1139
  'height'?: NLDDFullBleedSection['height'];
1140
+ /** Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow. */
1141
+ 'grow'?: NLDDFullBleedSection['grow'];
1141
1142
  /** Block (top and bottom) padding override (token 0-96; '0' strips it). */
1142
1143
  'padding-block'?: NLDDFullBleedSection['paddingBlock'];
1143
1144
  /** Block (top and bottom) padding override (token 0-96; '0' strips it). */
@@ -1175,13 +1176,15 @@ declare module 'vue' {
1175
1176
  type NLDDHeroProps = {
1176
1177
  /** Body max-width; 'full' removes the bound (section API) */
1177
1178
  'width'?: NLDDHero['width'];
1179
+ /** How the panel relates to the image (default: 'overlap'). 'contained' keeps it on the image, in any of the eight positions; 'overlap' lets it fall `overlap-size` over the bottom of the image and run on below as far as its content needs, so the image keeps its height whatever the content. In 'overlap' the image has a fixed height (320px on md, 400px on lg) unless `media-height` or `media-aspect-ratio` is set, and only the horizontal side of `main-position` counts. A panel shorter than `overlap-size` ends inside the image and says so in development */
1180
+ 'layout'?: NLDDHero['layout'];
1178
1181
  /** Surface color of the panel: 'base' (the base surface) or a category color — 'accent' (default) or a Rijkshuisstijl color such as 'lintblauw'|'donkerblauw'|'oranje' */
1179
1182
  'main-background'?: NLDDHero['mainBackground'];
1180
1183
  /** Surface color of the panel: 'base' (the base surface) or a category color — 'accent' (default) or a Rijkshuisstijl color such as 'lintblauw'|'donkerblauw'|'oranje' */
1181
1184
  'mainBackground'?: NLDDHero['mainBackground'];
1182
- /** Width of the panel (default: '1/2'); 'full' makes a full top or bottom strip and is ignored with 'left'/'right' */
1185
+ /** Width of the panel (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow panel, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto' */
1183
1186
  'main-width'?: NLDDHero['mainWidth'];
1184
- /** Width of the panel (default: '1/2'); 'full' makes a full top or bottom strip and is ignored with 'left'/'right' */
1187
+ /** Width of the panel (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow panel, a paragraph runs on to a readable line length. 'full' makes a strip across the whole image, at the top or the bottom, and is ignored with 'left'/'right'. Any CSS width (e.g. '560px', '60%') sets it exactly on md and lg, still never wider than the image allows; an invalid value falls back to 'auto' */
1185
1188
  'mainWidth'?: NLDDHero['mainWidth'];
1186
1189
  /** Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height */
1187
1190
  'main-position'?: NLDDHero['mainPosition'];
@@ -1191,6 +1194,14 @@ declare module 'vue' {
1191
1194
  'media-aspect-ratio'?: NLDDHero['mediaAspectRatio'];
1192
1195
  /** Aspect ratio of the media area (CSS form, '16/9' or '16:9'); default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area */
1193
1196
  'mediaAspectRatio'?: NLDDHero['mediaAspectRatio'];
1197
+ /** With layout="overlap": how far the panel falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a panel shorter than this ends inside the image */
1198
+ 'overlap-size'?: NLDDHero['overlapSize'];
1199
+ /** With layout="overlap": how far the panel falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a panel shorter than this ends inside the image */
1200
+ 'overlapSize'?: NLDDHero['overlapSize'];
1201
+ /** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
1202
+ 'media-height'?: NLDDHero['mediaHeight'];
1203
+ /** Fixed height of the media area, any CSS length (e.g. '320px', '40vh'); wins over media-aspect-ratio. An invalid value falls back to the ratio */
1204
+ 'mediaHeight'?: NLDDHero['mediaHeight'];
1194
1205
  /** Source of the media area (an alternative to the media slot); ignored as soon as the media slot is filled */
1195
1206
  'media-src'?: NLDDHero['mediaSrc'];
1196
1207
  /** Source of the media area (an alternative to the media slot); ignored as soon as the media slot is filled */
@@ -1209,8 +1220,9 @@ declare module 'vue' {
1209
1220
  'mediaAlt'?: NLDDHero['mediaAlt'];
1210
1221
  /** Surface behind the hero (section API) */
1211
1222
  'background'?: NLDDHero['background'];
1212
- /** Minimum height of the section (section API) */
1213
1223
  'height'?: NLDDHero['height'];
1224
+ /** Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow. */
1225
+ 'grow'?: NLDDHero['grow'];
1214
1226
  /** Block padding override, also per edge and responsive (section API) */
1215
1227
  'padding-block'?: NLDDHero['paddingBlock'];
1216
1228
  /** Block padding override, also per edge and responsive (section API) */
@@ -1400,7 +1412,7 @@ declare module 'vue' {
1400
1412
  'credit'?: NLDDImage['credit'];
1401
1413
  /** Decorative image: alt is forced empty + aria-hidden */
1402
1414
  'decorative'?: NLDDImage['decorative'];
1403
- /** Low-quality image placeholder as a CSV string `"base,c1,c2,c3,c4,c5,c6"` — seven 0-255 bytes, each packing an 8-bit Oklab triplet (2 bits L, 3 bits a, 3 bits b). The first is the base color shown outside the cell gradients; the other six are per-cell colors in row-major 3×2 order. Generate via the encoder in `lqip-encoder.ts` or via the "LQIP encoder tool" Storybook story. Extends Lean Rada's CSS-only LQIP (https://leanrada.com/notes/css-only-lqip/) with per-cell hue — Lean's original format encodes grayscale cells only; ours encodes a color per cell so multi-color subjects survive the placeholder. */
1415
+ /** Loading preview (LQIP, low-quality image placeholder) as a CSV string `"base,c1,c2,c3,c4,c5,c6"` — seven 0-255 bytes, each packing an 8-bit Oklab triplet (2 bits L, 3 bits a, 3 bits b). The first is the base color shown outside the cell gradients; the other six are per-cell colors in row-major 3×2 order. Generate via the encoder in `lqip-encoder.ts` or via the "LQIP encoder tool" Storybook story. Extends Lean Rada's CSS-only LQIP (https://leanrada.com/notes/css-only-lqip/) with per-cell hue — Lean's original format encodes grayscale cells only; ours encodes a color per cell so multi-color subjects survive the preview. */
1404
1416
  'lqip'?: NLDDImage['lqip'];
1405
1417
  /** Override translation keys (e.g. the message shown when the image fails to load); unset keys fall back to Dutch. */
1406
1418
  'translations'?: NLDDImage['translations'];
@@ -1559,14 +1571,18 @@ declare module 'vue' {
1559
1571
  'radio'?: NLDDListItem['radio'];
1560
1572
  /** Set by the parent `nldd-list` when its own `reorderable` is on (with `type="list"`); consumers do not set this. Serves as a CSS hook for drag handle visibility. */
1561
1573
  'reorderable'?: NLDDListItem['reorderable'];
1562
- /** Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current="page"` on the inner action, in a `listbox` parent it drives `aria-selected`. */
1574
+ /** Marks the item as selected: it is one of the rows you picked. Selection is consumer-managed; the list never sets it. In a `navigation` parent it puts `aria-current` on the inner action, with `current-type` as its value; in a `listbox` parent it drives `aria-selected`. */
1563
1575
  'selected'?: NLDDListItem['selected'];
1564
1576
  /** Checked state of a `checkbox` or `radio` row. A checkbox row toggles it on activation, a radio row only ever sets it */
1565
1577
  'checked'?: NLDDListItem['checked'];
1566
1578
  /** Disclosure state. Drives the `children` group's visibility AND supplies `aria-expanded` — to the row's own control when the row is interactive, or to the segment marked `disclosure`. Written once either way; the item DEV-warns when there is nowhere for it to live. */
1567
1579
  'expanded'?: NLDDListItem['expanded'];
1568
- /** Marks the item as the one you are on: the page a menu row points at, the record a list has open. Exactly one row in a list carries it, where `selected` may be on many. It paints like `selected` at rest, and takes the highlighted fill while focus is anywhere in the row — including inside a nested `nldd-list-item-segment`, which is what a segmented row needs: the focus never reaches the row's own control, because there is none. In a `navigation` parent it puts `aria-current="page"` on the inner action. On a segmented row set it on the segment that holds the link instead: the row reads `current` off its own segments and paints itself, so it is written once, where `aria-current` belongs. */
1580
+ /** Marks the item as the one you are on: the page a menu row points at, the record a list has open. Exactly one row in a list carries it, where `selected` may be on many. It paints like `selected` at rest, and takes the highlighted fill while focus is anywhere in the row — including inside a nested `nldd-list-item-segment`, which is what a segmented row needs: the focus never reaches the row's own control, because there is none. In a `navigation` parent it puts `aria-current` on the inner action, with `current-type` as its value. On a segmented row set it on the segment that holds the link instead: the row reads `current` off its own segments and paints itself, so it is written once, where `aria-current` belongs. */
1569
1581
  'current'?: NLDDListItem['current'];
1582
+ /** The `aria-current` value a `current` or `selected` row puts on its action in a `navigation` parent (default 'page'). Use 'location' for a table of contents, whose rows point at sections of the page you are on. */
1583
+ 'current-type'?: NLDDListItem['currentType'];
1584
+ /** The `aria-current` value a `current` or `selected` row puts on its action in a `navigation` parent (default 'page'). Use 'location' for a table of contents, whose rows point at sections of the page you are on. */
1585
+ 'currentType'?: NLDDListItem['currentType'];
1570
1586
  /** Switches the row's own control off: a `button` or `checkbox` row stops responding and dims, a `href` row gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). A row without a control of its own has nothing to switch off, and segments carry their own `disabled`. The arrow keys skip a disabled row. */
1571
1587
  'disabled'?: NLDDListItem['disabled'];
1572
1588
  /** The divider starts at this cell instead of at the row's first text or title cell. On the leading cell it restores the full-width line. */
@@ -1615,8 +1631,12 @@ declare module 'vue' {
1615
1631
  'popupType'?: NLDDListItemSegment['popupType'];
1616
1632
  /** ID of a popover this segment toggles; forwarded to the inner button. The IDL counterparts `popoverTargetElement` and `popoverTargetAction` work across shadow boundaries, as on nldd-icon-button. */
1617
1633
  'popovertarget'?: NLDDListItemSegment['popovertarget'];
1618
- /** Marks the segment as the current page (`aria-current="page"`). The row it sits in paints itself as the current row from it, so on a segmented row this is the only place it has to be set. */
1634
+ /** Marks the segment as the current one, with `aria-current` set to `current-type`. The row it sits in paints itself as the current row from it, so on a segmented row this is the only place it has to be set. */
1619
1635
  'current'?: NLDDListItemSegment['current'];
1636
+ /** The `aria-current` value of a `current` segment (default 'page'). Use 'location' for a table of contents, whose rows point at sections of the page you are on. */
1637
+ 'current-type'?: NLDDListItemSegment['currentType'];
1638
+ /** The `aria-current` value of a `current` segment (default 'page'). Use 'location' for a table of contents, whose rows point at sections of the page you are on. */
1639
+ 'currentType'?: NLDDListItemSegment['currentType'];
1620
1640
  /** Switches the segment off: a `button` or `checkbox` segment stops responding and dims, a `href` segment gets `aria-disabled` and its click is blocked (a link cannot be disabled natively). The arrow keys skip a row whose only segment is off. */
1621
1641
  'disabled'?: NLDDListItemSegment['disabled'];
1622
1642
  /** The row's divider starts at this cell instead of at its first text or title cell. */
@@ -1693,13 +1713,13 @@ declare module 'vue' {
1693
1713
  'icon'?: NLDDMenuBarItem['icon'];
1694
1714
  /** Show the disclosure icon and open the slotted `<nldd-menu>` on click */
1695
1715
  'expandable'?: NLDDMenuBarItem['expandable'];
1696
- /** Hide the text visually (always) */
1716
+ /** Hide the text visually (always). The text then shows as a tooltip on hover and focus. */
1697
1717
  'icon-only'?: NLDDMenuBarItem['iconOnly'];
1698
- /** Hide the text visually (always) */
1718
+ /** Hide the text visually (always). The text then shows as a tooltip on hover and focus. */
1699
1719
  'iconOnly'?: NLDDMenuBarItem['iconOnly'];
1700
- /** Decides what stays visible in compact mode: 'icon' hides the text, 'text' hides the icon */
1720
+ /** Decides what stays visible in compact mode: 'icon' hides the text, 'text' hides the icon. A bar is compact on a narrow screen and also at 200% zoom on a desktop, so with 'icon' the text is gone there too and shows as a tooltip instead. */
1701
1721
  'content-priority'?: NLDDMenuBarItem['contentPriority'];
1702
- /** Decides what stays visible in compact mode: 'icon' hides the text, 'text' hides the icon */
1722
+ /** Decides what stays visible in compact mode: 'icon' hides the text, 'text' hides the icon. A bar is compact on a narrow screen and also at 200% zoom on a desktop, so with 'icon' the text is gone there too and shows as a tooltip instead. */
1703
1723
  'contentPriority'?: NLDDMenuBarItem['contentPriority'];
1704
1724
  /** Activates content-priority behavior (set by the parent nldd-menu-bar) */
1705
1725
  'compact'?: NLDDMenuBarItem['compact'];
@@ -1953,10 +1973,16 @@ declare module 'vue' {
1953
1973
  type NLDDOneHalfOneHalfSectionProps = {
1954
1974
  /** Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width. */
1955
1975
  'width'?: NLDDOneHalfOneHalfSection['width'];
1976
+ /** Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other. */
1977
+ 'vertical-alignment'?: NLDDOneHalfOneHalfSection['verticalAlignment'];
1978
+ /** Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other. */
1979
+ 'verticalAlignment'?: NLDDOneHalfOneHalfSection['verticalAlignment'];
1956
1980
  /** Surface background ('inherit' default; 'base'/'tinted' paint and cascade a surface). */
1957
1981
  'background'?: NLDDOneHalfOneHalfSection['background'];
1958
1982
  /** Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width). */
1959
1983
  'height'?: NLDDOneHalfOneHalfSection['height'];
1984
+ /** Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow. */
1985
+ 'grow'?: NLDDOneHalfOneHalfSection['grow'];
1960
1986
  /** Block (top and bottom) padding override (token 0-96; '0' strips it). */
1961
1987
  'padding-block'?: NLDDOneHalfOneHalfSection['paddingBlock'];
1962
1988
  /** Block (top and bottom) padding override (token 0-96; '0' strips it). */
@@ -1994,10 +2020,16 @@ declare module 'vue' {
1994
2020
  type NLDDOneThirdTwoThirdsSectionProps = {
1995
2021
  /** Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width. */
1996
2022
  'width'?: NLDDOneThirdTwoThirdsSection['width'];
2023
+ /** Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other. */
2024
+ 'vertical-alignment'?: NLDDOneThirdTwoThirdsSection['verticalAlignment'];
2025
+ /** Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other. */
2026
+ 'verticalAlignment'?: NLDDOneThirdTwoThirdsSection['verticalAlignment'];
1997
2027
  /** Surface background ('inherit' default; 'base'/'tinted' paint and cascade a surface). */
1998
2028
  'background'?: NLDDOneThirdTwoThirdsSection['background'];
1999
2029
  /** Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width). */
2000
2030
  'height'?: NLDDOneThirdTwoThirdsSection['height'];
2031
+ /** Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow. */
2032
+ 'grow'?: NLDDOneThirdTwoThirdsSection['grow'];
2001
2033
  /** Block (top and bottom) padding override (token 0-96; '0' strips it). */
2002
2034
  'padding-block'?: NLDDOneThirdTwoThirdsSection['paddingBlock'];
2003
2035
  /** Block (top and bottom) padding override (token 0-96; '0' strips it). */
@@ -2370,7 +2402,7 @@ declare module 'vue' {
2370
2402
  'centered'?: NLDDRichText['centered'];
2371
2403
  /** Override translation keys; unset keys fall back to Dutch */
2372
2404
  'translations'?: NLDDRichText['translations'];
2373
- /** Opt-in automatic hyphenation for running text (p, li, dd). Needs a correct `lang` on the page (`lang="nl"` on `<html>`, for instance): without language information the browser does not hyphenate. An `overflow-wrap: break-word` safety net on p/li is always on, independent of this attribute, so long URLs and compounds break neatly instead of overflowing even without a dictionary. */
2405
+ /** Opt-in automatic hyphenation for running text (p, li, dd). Needs a correct `lang` on the page (`lang="nl"` on `<html>`, for instance): without language information the browser does not hyphenate. An `overflow-wrap: break-word` safety net on headings, p and li is always on, independent of this attribute, so a word wider than the column breaks instead of overflowing, without a hyphen; headings never get one. */
2374
2406
  'hyphens'?: NLDDRichText['hyphens'];
2375
2407
  };
2376
2408
 
@@ -2508,6 +2540,11 @@ declare module 'vue' {
2508
2540
  'onClose'?: (event: CustomEvent) => void;
2509
2541
  };
2510
2542
 
2543
+ type NLDDShellProps = {
2544
+ /** Background color (cascades to descendants) */
2545
+ 'background'?: NLDDShell['background'];
2546
+ };
2547
+
2511
2548
  type NLDDSideBySideSplitViewProps = {
2512
2549
  /** Use a tinted background color (cascades to descendants) */
2513
2550
  'background'?: NLDDSideBySideSplitView['background'];
@@ -2541,6 +2578,8 @@ declare module 'vue' {
2541
2578
  'collapsed'?: NLDDSidebarSection['collapsed'];
2542
2579
  'background'?: NLDDSidebarSection['background'];
2543
2580
  'height'?: NLDDSidebarSection['height'];
2581
+ /** Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow. */
2582
+ 'grow'?: NLDDSidebarSection['grow'];
2544
2583
  'padding-block'?: NLDDSidebarSection['paddingBlock'];
2545
2584
  'paddingBlock'?: NLDDSidebarSection['paddingBlock'];
2546
2585
  'padding-top'?: NLDDSidebarSection['paddingTop'];
@@ -2588,6 +2627,8 @@ declare module 'vue' {
2588
2627
  'background'?: NLDDSimpleSection['background'];
2589
2628
  /** Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width). */
2590
2629
  'height'?: NLDDSimpleSection['height'];
2630
+ /** Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow. */
2631
+ 'grow'?: NLDDSimpleSection['grow'];
2591
2632
  /** Block (top and bottom) padding override (token 0-96; '0' strips it). */
2592
2633
  'padding-block'?: NLDDSimpleSection['paddingBlock'];
2593
2634
  /** Block (top and bottom) padding override (token 0-96; '0' strips it). */
@@ -2623,9 +2664,9 @@ declare module 'vue' {
2623
2664
  };
2624
2665
 
2625
2666
  type NLDDSkipLinkProps = {
2626
- /** Text of the skip link. Falls back to the i18n default. */
2667
+ /** Text of the skip link. Name what is skipped. Falls back to the i18n default. */
2627
2668
  'text'?: NLDDSkipLink['text'];
2628
- /** Optional external target id. Without href it jumps to the end of its own content. */
2669
+ /** Optional external target id. Without href it jumps to the first rendered element after the skip link. */
2629
2670
  'href'?: NLDDSkipLink['href'];
2630
2671
  'translations'?: NLDDSkipLink['translations'];
2631
2672
  };
@@ -3549,7 +3590,7 @@ declare module 'vue' {
3549
3590
  };
3550
3591
 
3551
3592
  type NLDDTopTitleBarProps = {
3552
- /** Title of the bar, rendered as the heading in the title group. */
3593
+ /** Title of the bar, rendered as the heading in the title group. One line, cut off with an ellipsis when it does not fit; see above for a title that can run long. */
3553
3594
  'text'?: NLDDTopTitleBar['text'];
3554
3595
  /** Text under the title. */
3555
3596
  'supporting-text'?: NLDDTopTitleBar['supportingText'];
@@ -3584,10 +3625,16 @@ declare module 'vue' {
3584
3625
  type NLDDTwoThirdsOneThirdSectionProps = {
3585
3626
  /** Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width. */
3586
3627
  'width'?: NLDDTwoThirdsOneThirdSection['width'];
3628
+ /** Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other. */
3629
+ 'vertical-alignment'?: NLDDTwoThirdsOneThirdSection['verticalAlignment'];
3630
+ /** Where the shorter column sits next to the longer one ('top' default). Only where the columns stand side by side; stacked, they follow each other. */
3631
+ 'verticalAlignment'?: NLDDTwoThirdsOneThirdSection['verticalAlignment'];
3587
3632
  /** Surface background ('inherit' default; 'base'/'tinted' paint and cascade a surface). */
3588
3633
  'background'?: NLDDTwoThirdsOneThirdSection['background'];
3589
3634
  /** Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width). */
3590
3635
  'height'?: NLDDTwoThirdsOneThirdSection['height'];
3636
+ /** Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow. */
3637
+ 'grow'?: NLDDTwoThirdsOneThirdSection['grow'];
3591
3638
  /** Block (top and bottom) padding override (token 0-96; '0' strips it). */
3592
3639
  'padding-block'?: NLDDTwoThirdsOneThirdSection['paddingBlock'];
3593
3640
  /** Block (top and bottom) padding override (token 0-96; '0' strips it). */
@@ -3623,13 +3670,13 @@ declare module 'vue' {
3623
3670
  };
3624
3671
 
3625
3672
  type NLDDValidationItemProps = {
3626
- /** Regular expression the value has to contain. Not anchored, unlike the native `pattern`: `[A-Z]` means "has a capital in it". */
3673
+ /** Regular expression the value has to contain. Not anchored, unlike the native `pattern`: `[A-Z]` means "has a capital in it". Not held against an empty value unless the field is required. */
3627
3674
  'match'?: NLDDValidationItem['match'];
3628
- /** Fewest characters the value may have. */
3675
+ /** Fewest characters the value may have. Not held against an empty value unless the field is required. */
3629
3676
  'minlength'?: NLDDValidationItem['minlength'];
3630
3677
  /** Most characters the value may have. */
3631
3678
  'maxlength'?: NLDDValidationItem['maxlength'];
3632
- /** The value may not be empty. Use it on a field whose other rules would pass an empty value. */
3679
+ /** The value may not be empty. Without it, and without `required` on the control, an empty value passes every rule in the list, as it does for the native `pattern` and `minlength`. The control is read by its `required` property or attribute; one that only says `aria-required` needs this item. */
3633
3680
  'required'?: NLDDValidationItem['required'];
3634
3681
  /** Show this item before there is a verdict, whatever the list says. */
3635
3682
  'hint'?: NLDDValidationItem['hint'];
@@ -3692,8 +3739,6 @@ declare module 'vue' {
3692
3739
  export interface GlobalComponents {
3693
3740
  /** Layout placeholder that fills its parent and centers an indeterminate activity indicator. By default the indicator is held back for 1000ms so brief loading states don't flash; once the delay passes it fades in. Set `timing="instant"` to skip the delay (the fade-in still plays) — this is what embedding components such as `nldd-button` use for their loading state. The default indicator is a simple icon-sized circle that follows the shared `--context-content-color` channel (set by list-item / table / menu on their content), falling back to `currentColor` wherever that channel is unset (buttons, rich-text, standalone) — so a spinner inside a cell tracks the row's state-aware content color, while embedders relying on currentColor are unaffected. An optional label sits below (hidden unless `show-text` is set). Drop a `<nldd-progress-circle>`, `<nldd-progress-bar>` or any element in the `indicator` slot to override it. Icon alignment: the visible ring already sits at 5/6 of its box (the SVG's r=9 plus a 2-unit stroke in a 24 view-box, the same optical inset a filled icon glyph has), so a standalone spinner lines up with an icon or an `icon-aligned` `nldd-avatar` on the same grid — no extra option needed (unlike `nldd-avatar`, which fills edge-to-edge and opts in via `icon-aligned`). Overlay mode: put content in the default slot and the indicator wraps it — it becomes a `position: relative` container, renders the spinner over a dimming backdrop (opt out with `no-backdrop`), and makes the content `inert` so its controls can't be focused or clicked. Toggle loading with `complete` (`?complete=${!isLoading}`). With no slotted content it stays the standalone placeholder described above. Reconnect behavior: every `connectedCallback` resets the timer and hides the indicator again. If a consumer toggles the element via a conditional render (remove + re-insert) the indicator disappears and re-fades after another delay. Keep the element mounted and toggle visibility / `hidden` instead if you want the timer to run only once. Accessibility: while connected and not `complete` the host is a polite live region (`role="status"`). The label (`text`, or the translated "Laden" fallback) always renders as the region's content — visually hidden when `show-text` is off (the default) — so assistive tech announces the loading state when the indicator appears. Set `complete` (or unmount) to clear it. */
3694
3741
  'nldd-activity-indicator': DefineComponent<NLDDActivityIndicatorProps>;
3695
- /** The required root shell of a Nederlandse Digitale Dienst application. Always contains a split view or an nldd-page as direct content. The document font comes from the package stylesheet (`@nldd/design-system/styles`), not from this component: it gives `body` the body font and content color as soon as an app-view is on the page, inside `@layer reset` so any rule of your own wins. Import only the tokens (`/styles/tokens`) and text you write in the light DOM keeps the browser default. Set background="tinted" to give the whole application a tinted background. All descendants read --context-parent-background-color via --_app-view-background-color automatically. Individual components can override locally with their own background attribute. The same background color is forced on `document.body` so that browser- chrome surfaces (iOS overscroll bounce, status bar, page-margin areas) blend with the app instead of revealing the user-agent's default white. Cleared when the app-view disconnects. The app scrolls the DOCUMENT (root mode) or lets each `nldd-page` scroll inside its pane (nested mode). The mode is derived from the outermost horizontal split view: one column means the document scrolls, several columns mean the panes do. An app without such a split view is a single column at every width and therefore scrolls the document too — nested scrolling would cost it the rubber-band and the collapsing browser toolbar on iOS for nothing. Set `--context-scroll-mode` on the `nldd-app-view` itself to override the derived mode; an inherited value loses from it. In nested scroll mode `overscroll-behavior: none` is set on `document.documentElement` and `document.body` while the app-view is connected. Combined with `overscroll-behavior: contain` on `nldd-page`'s scroll target, this prevents iOS rubber-band on the viewport when scroll gestures land outside an `nldd-page` (e.g. on a top-bar). In root scroll mode the document itself is the scroller, so this is lifted to let the native rubber-band happen. Cleared on last disconnect. */
3696
- 'nldd-app-view': DefineComponent<NLDDAppViewProps>;
3697
3742
  /** Shows one person or organization as a compact, round (person) or rounded (organization) representation. The content follows a fixed fallback chain: an image when `src` loads, otherwise the initials (from `initials` or derived from `name`), and otherwise a fallback icon. `type` sets both the shape and the fallback icon: `person` gives a circle with a person icon, `organization` a rounded square with a building icon. The shape belongs to the meaning and cannot be set on its own. Override the fallback icon with `icon` where that helps. Without `size` the avatar scales with its container, like `nldd-icon`; a fixed size (the same spacer-aligned scale, 16 through 96) is the exception. The initials and the icon scale along. Wide initials (WW, MMM) are scaled down automatically so they stay inside the shape. Accessibility: the host element carries the meaning. With a `name` (and without `decorative`) it gets `role="img"` with the name as its label. When the name already stands beside it as text, in an identity for instance, set `decorative` so the avatar stays hidden from assistive software. A dead `src` falls back to the initials or the icon, never to a broken-image icon. */
3698
3743
  'nldd-avatar': DefineComponent<NLDDAvatarProps>;
3699
3744
  /** Shows several avatars as one group: they overlap, and each one gets a ring in the surface color so they stay apart where they meet. The ring uses the same mechanism as the badge, so on a colored surface you hand the color over through `--context-parent-background-color`. Slot `nldd-avatar` elements, not bare `img`. An avatar already knows what to do with a dead image, when to fall back to initials, and how to show its name as a tooltip; a loose image would have to reproduce all of that and cannot do the last one. Set `decorative` when the names already stand beside the group as text; otherwise give every avatar a name, because the group itself describes nobody. The size applies to the whole group: it is imposed on the avatars, a slotted `img` included. That keeps the row on one line whatever a consumer hands over. */
@@ -3727,7 +3772,7 @@ declare module 'vue' {
3727
3772
  'nldd-checkbox-field': DefineComponent<NLDDCheckboxFieldProps>;
3728
3773
  /** A monospace editor for code, YAML, JSON and other technical content, built on CodeMirror 6 (via NLDDCodeMirrorElement). Visually pairs with nldd-code-viewer for a matching read-only surface. Default `appearance="simple"` is a bare, flush editor (no frame, no focus ring) for use inside an nldd-form-field or a consumer composition that owns its own chrome and focus treatment; the caret is rendered as a prominent accent as the focus cue. `appearance="input-field"` adds the framed surface (border ring, tinted fill, inner padding, radius) and a focus ring for standalone use. The simple variant has no surrounding space of its own: let a layout container own the spacing and forward clicks with `focusFromPoint()` so clicking the padding still starts editing. Optional `language` enables lazy syntax highlighting; `line-numbers` adds a gutter (click a number to move the caret to that line). */
3729
3774
  'nldd-code-editor': DefineComponent<NLDDCodeEditorProps>;
3730
- /** A read-only block of code/text built on a non-editable CodeMirror 6 view. Visually pairs with nldd-code-editor (same engine, same token palette). Whitespace is preserved; long lines scroll horizontally by default. Set `wrap` to break long lines onto the next visual line. Set `language` to one of the supported grammars (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python) to highlight the content. Without `language` the content renders plain. Grammars are loaded lazily on first use, so a page that never sets `language` ships zero grammar code. Token colors are the `--semantics-code-syntax-*` custom properties (shared with the editor via the CodeMirror highlight style). Override them per-instance to swap the theme. */
3775
+ /** A read-only block of code/text built on a non-editable CodeMirror 6 view. Visually pairs with nldd-code-editor (same engine, same token palette). Whitespace is preserved; long lines scroll horizontally by default. Set `wrap` to break long lines onto the next visual line. The viewer grows with its content. Set `max-height` to show a long file in a frame of its own: the block grows up to that height and scrolls beyond it. A scroller that overflows, in either direction, is a tab stop with a role and a name, so the keyboard reaches what a pointer can scroll to. Set `language` to one of the supported grammars (yaml, json, javascript, typescript, css, html, xml, bash, markdown, rust, gherkin, toml, sql, python) to highlight the content. Without `language` the content renders plain. Grammars are loaded lazily on first use, so a page that never sets `language` ships zero grammar code. Token colors are the `--semantics-code-syntax-*` custom properties (shared with the editor via the CodeMirror highlight style). Override them per-instance to swap the theme. */
3731
3776
  'nldd-code-viewer': DefineComponent<NLDDCodeViewerProps>;
3732
3777
  /** A container for displaying collections of items. Supports grid, stack, lanes and horizontal scroll layouts. Use it for a set of equal blocks, usually `nldd-card`s, instead of a CSS grid of your own: the collection sets the columns from `item-width` and the available width, and the gap per breakpoint. In grid and stack modes, items are paginated via a load-more button. In horizontal scroll, the prev/next controls and the edge fade appear only when the items overflow the container. With `lazy-load`, the next items are automatically loaded when the load-more button comes into view. */
3733
3778
  'nldd-collection': DefineComponent<NLDDCollectionProps>;
@@ -3763,7 +3808,7 @@ declare module 'vue' {
3763
3808
  'nldd-form-section': DefineComponent<NLDDFormSectionProps>;
3764
3809
  /** A section that spans the full width without horizontal padding. Useful for background colors, images, or other content that runs edge to edge. Vertical padding and gap adjust via container queries. */
3765
3810
  'nldd-full-bleed-section': DefineComponent<NLDDFullBleedSectionProps>;
3766
- /** A page header with a media area and a text panel (the main) that can stand in six positions. Every area is rectangular. With `main-width="full"` the media area sits as its own strip above or below the panel rather than behind it. On mobile the media always stacks above the full-width panel. Without media the main fills the whole area; with `main-background="base"` that area gets a border so it stays visible on the base surface. `main-background` gives the panel a surface color from the filled categories. Those carry a pure white or black content color along, so components with `color="inherit"` (title, rich-text) are guaranteed to keep their contrast. */
3811
+ /** The section that says what a page is for: it names the main goal of what you can find there, draws the eye and is the visual welcome. It has a media area and a text panel (the main) that can stand in eight positions. Every area is rectangular. Use it on pages where a visitor first has to know where they are, such as a home or a topic page; where the title already does that, a section with a title is enough. The image in a hero sets the mood and is never the main content, so the panel always stands on it. Over an image the panel keeps a section gap from its edges, so it reads as a panel on the image rather than a frame cut out of it; with `main-width="full"` it is a strip across the whole image, the same gap from the sides. On mobile the image comes first and the panel below it, indented by the section gap and overlapping the image by 48px. For an image beside text without that relation, use a section with an image beside text instead. Without media the main fills the whole area; with `main-background="base"` that area gets a border so it stays visible on the base surface. The hero is the head of a page and sits right under the top bar, so its top padding is half that of the other page sections: the full distance is meant to separate two sections, and under the top bar it reads as a gap. The bottom keeps the full distance to the section below. Set `padding-top` to place a hero elsewhere. By default the panel falls over the bottom of the image and runs on below it (`layout="overlap"`), so the image keeps its height whatever the content. `layout="contained"` keeps the panel on the image, for a short panel or one that stands at the top or along a side. The height of a hero comes from its image: `media-aspect-ratio`, or a fixed `media-height`. The `height` of the other page sections is not used here: as a minimum height for the whole hero it stretched the panel once that sat below the image. A hero given `height` says so in development. `main-background` gives the panel a surface color from the filled categories. Those carry a pure white or black content color along, so components with `color="inherit"` (title, rich-text) are guaranteed to keep their contrast. */
3767
3812
  'nldd-hero': DefineComponent<NLDDHeroProps>;
3768
3813
  /** A customizable icon component that renders SVG icons from a predefined library. Icons are decorative by default: the host gets `aria-hidden="true"` automatically. If you want the icon to be announced by assistive tech, set `aria-hidden="false"` on the consumer side together with an `aria-label`. Sizing: the icon fills whatever sizes it — an `nldd-icon-cell`, a button, a menu item. `size="full"` names that default explicitly. `size="inherit"` makes it follow the surrounding text (1em), for an icon set inline in a sentence. Any spacer-aligned number (16–96) pins a fixed dimension. Reach for `inherit` rather than a global `nldd-icon { width: 1em }` rule in the consumer: such a rule wins over the component's own :host styling and so also shrinks the icons that a cell or button was already sizing correctly. Color: by default the icon inherits its parent's `color`. Set `color` to one of the functional semantics (`primary-content`, `secondary-content`, `accent`, `critical`, `warning`, `success`) or a rijkskleur (`lintblauw`, `paars`, `groen`, …). For a color the system cannot know — the jacket of a cable, a color someone picked — set `custom-color` to any CSS color. */
3769
3814
  'nldd-icon': DefineComponent<NLDDIconProps>;
@@ -3772,7 +3817,7 @@ declare module 'vue' {
3772
3817
  'nldd-icon-cell': DefineComponent<NLDDIconCellProps>;
3773
3818
  /** An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute or as a slot. Use the slots for richer content, such as a `<time datetime="…">` for a machine-readable date or a link to the author's profile. Slotted content replaces the matching attribute: the attribute is the slot's fallback. One avatar you slot as it is, and identity gives it its size. For more than one, slot an `nldd-avatar-group`: that overlaps them and draws the ring in the surface color. Identity does not build that group itself, because the avatars are the consumer's light DOM and a group can only style what arrives as its own child. Set the avatars to decorative (or an `img` to `alt=""`) when the names already stand in the text. On narrow widths (an sm container, 640px and under) with more than one avatar the row of avatars moves above the names, so the text keeps the full width. With one avatar the identity stays on a single line. For a single avatar you can also hand over `avatar-src` (with an optional `avatar-srcset`) as an attribute instead of slotting; its size is fixed at 40px. Slotted avatars take precedence over `avatar-src`. */
3774
3819
  'nldd-identity': DefineComponent<NLDDIdentityProps>;
3775
- /** Wraps a native `<img>` with design-system styling: corner radius variants, aspect-ratio reservation, object-fit/position control, optional caption + credit. Renders as `<figure>` + `<figcaption>` only when a caption or credit is set — otherwise just the image, no extra wrapping. Hybrid source: the `src` attribute renders an internal `<img>`. To use a custom `<img>` or `<picture>` (e.g. with art-direction sources), slot it into the default slot and we'll style and wrap it like our own image. */
3820
+ /** Wraps a native `<img>` with design-system styling: corner radius variants, aspect-ratio reservation, object-fit/position control, optional caption + credit. Renders as `<figure>` + `<figcaption>` only when a caption or credit is set — otherwise just the image, no extra wrapping. Hybrid source: the `src` attribute renders an internal `<img>`. To use a custom `<img>` or `<picture>` (e.g. with art-direction sources), slot it into the default slot and we'll style and wrap it like our own image. Without an image (no `src`, `srcset`, `lqip` or slotted media) it shows a neutral area with an image icon, in the box, shape and caption a real image would get: a place where an image belongs, for a prototype or a pattern, or an image someone forgot. Without `aspect-ratio` that area is 16/9. While the built-in `<img>` loads without an `lqip`, the same area shows without the icon, and it goes once the image is in. */
3776
3821
  'nldd-image': DefineComponent<NLDDImageProps>;
3777
3822
  /** An inline status component for empty state, confirmations and feedback. Fills the container and has no minimum width. */
3778
3823
  'nldd-inline-dialog': DefineComponent<NLDDInlineDialogProps>;
@@ -3782,9 +3827,9 @@ declare module 'vue' {
3782
3827
  'nldd-keyboard-shortcut': DefineComponent<NLDDKeyboardShortcutProps>;
3783
3828
  /** Hyperlink component with two modes: 1. **Standalone (sized)**: set `size="xs"|"sm"|"md"|"lg"` for menus, action areas or overviews. Fixed text size, `display: inline-flex` with `gap` for icon spacing. 2. **Inline (inherit)**: leave `size` out or set `size="inherit"` explicitly. The link inherits `font-size`, `line-height` and `font-family` from its surroundings. Text wraps naturally across lines (`display: inline`). Icons work here too; the natural whitespace between icon and text provides the spacing. For links in CMS or markdown output, where the `<a>` arrives as HTML, `<nldd-rich-text>` with a raw `<a>` remains the route to take. */
3784
3829
  'nldd-link': DefineComponent<NLDDLinkProps>;
3785
- /** A container for `nldd-list-item` elements. The `type` attribute switches the list's a11y role and behavior: - `list` (default) — `role="list"`, items `role="listitem"`. Reorderable allowed. - `radiogroup` — `role="radiogroup"`, for a set of `nldd-list-item radio` rows: one choice, laid out as rows so each option can carry a count or a second line. The rows step out of the accessibility tree themselves (`role="none"`), so the radios are the group's own children. The arrows move focus here and activation checks, rather than the selection following focus as it does in `nldd-radio-button-group`. - `tree` — `role="tree"`, items `role="treeitem"`. Branch rows put their child rows in their own `slot="children"`, which the item renders as a `role="group"`. Level, position and set size are NOT authored: the nesting represents the hierarchy, so assistive technology derives them. A branch row must carry `expanded`; the group is hidden while it is false. Visual indentation is the consumer's — repeat a spacer-cell per level. Comes with its own keyboard, see "Tree" below. - `navigation` — host `role="navigation"`, items with `selected` get `aria-current="page"` on their inner `<a>` or `<button>`. - `form` — rows that are not actions themselves: the controls inside them are. A row of a label and a field, a switch, a menu button, or a value you cannot change at all. Semantically the same as `list` (`role="list"`, `role="listitem"`), and everything visual is unchanged; what falls away is the keyboard of a list you walk through. No arrow navigation, so no promise of it either, and no tab stop on the row: Tab goes straight to the controls, in source order, the way it does in any form. Rows that ARE actions (`href`, `button`, `checkbox`, or a segment) contradict that and warn in development. SwiftUI draws the same line between `List` and `Form`, for the same reason. - `listbox` — an accessible, filterable listbox (combobox pattern). The list renders its OWN search input (`role="combobox"`) pinned above the options; `.list__items` becomes `role="listbox"` and items become `role="option"`. Focus stays in the input, the active option moves via `aria-activedescendant`, and filtering is consumer-managed via the `input` event (toggle `[hidden]` on items). See "Listbox" below. Selection state is consumer-managed: the list never mutates `selected` itself. A list you walk through answers to the arrow keys, and there is no attribute to switch that on. Whether the keys do something is not a property of one list: it is what a reader may assume about all of them, and a per-list setting made that unknowable from the outside. It follows the type, which you can see before you touch a key. - ArrowUp / ArrowDown — move focus between the rows there is something to do with. A row of nothing but text is skipped, because focus that leads nowhere is a dead end. - Home / End — the first / last of those rows. - Tab — the list is ONE tab stop, so Tab moves past it rather than through it. Within the current row Tab walks that row's own controls: a chevron beside a checkbox, a menu button at the end. The same controls in the other rows are held out of the tab order (`tabindex="-1"`, or `no-tab` on a design-system control that keeps its tab stop in its own shadow root), and so are this row's once focus leaves the list, so tabbing back in lands on the row again. - Escape — out of a control the row holds, back onto the row. One level up, where Shift+Tab is one step back. On the row itself the list claims nothing, so Escape carries on to whatever holds the list, and a control showing a menu keeps the first press for closing that menu. While focus sits in a control a row holds, the list stands down: those keys are the control's, and a list that took them anyway would pull focus out of a combo box or a text field mid-word. What the row IS — its own link, button or segments — keeps answering here. Arrows move focus only; selection stays consumer-managed. Three types answer differently, and all three say so on screen before you touch a key: a listbox runs its keyboard from its search field, a reorderable list moves rows with the arrows, and a form has no rows to move between at all. In `type="listbox"` the list owns a native `<input role="combobox">` (mirroring how `nldd-combo-box` wires an input to a slotted listbox). Keyboard, handled on the input so focus never leaves it: - ArrowDown / ArrowUp — move the active option among the VISIBLE (non-`[hidden]`) options (wrap around). - Home / End — first / last visible option. - Enter — activate the active option by triggering its inner action (a link navigates, a button fires the consumer's handler). Selection stays consumer-managed. - Escape — clear the search value (and refire `input`). On every active change the input's `aria-activedescendant` is set to the active option's id and the option is scrolled into view. The active option (`_highlighted` on the item, a highlight) is distinct from `selected`. Filtering is the consumer's job: listen to `input` (`{ detail: { value } }`) and toggle `[hidden]` on items; after the visible set changes the list resets the active option to the first visible one. `reorderable` and the roving arrow keys are ignored in listbox mode (listbox has its own keyboard). A tree adds to that keyboard, and counts the rows of an open branch as part of the order the arrows walk: - ArrowRight — opens a closed branch; on an open one it steps to its first child. - ArrowLeft — closes an open branch; on a leaf it steps out to the parent row. - Enter — follows the row: its own link or button, or on a segmented branch the first action that is not the chevron. A branch with only a chevron folds instead. - Space — open and close, the same as Right and Left. Only while focus sits on the row itself: a row that is its own control, and a segmented action you tabbed into, handle both keys themselves. Opening and closing runs through the row's own disclosure control — the segment marked `disclosure`, or the row itself when it is a button. The list activates that control rather than writing `expanded`, so the state keeps being set in one place: the consumer's handler. A row that is a link is never activated this way, since that would navigate away. The tree is one tab stop. Focus lands on the row itself when the row has no control of its own, because that is where `treeitem` sits and it makes assistive technology announce the row rather than a button inside it. Tab then walks the controls of THAT row (a chevron beside a checkbox, say) and leaves the list after the last one. A deliberate deviation: strictly speaking a row with several controls is a `treegrid`, not a `tree`. We keep the tree semantics — level and set size are what matters here, not rows and columns — and borrow the "Tab within the row" behavior from the grid pattern. Should a tree with real columns come up, that is when `treegrid` earns its own type. On reorder (type="list" + reorderable), the list dispatches `nldd-reorder` with `fromIndex` / `toIndex` and expects the consumer to mutate the DOM (or their data model that renders the DOM). Focus is restored to the moved item's drag handle via a single `requestAnimationFrame` — this assumes the consumer reorders **synchronously** in the event handler. Async renderers (React, Vue, …) that update the DOM on a later tick will miss the focus restore and should manage focus themselves after their render commits. */
3830
+ /** A container for `nldd-list-item` elements. The `type` attribute switches the list's a11y role and behavior: - `list` (default) — `role="list"`, items `role="listitem"`. Reorderable allowed. - `radiogroup` — `role="radiogroup"`, for a set of `nldd-list-item radio` rows: one choice, laid out as rows so each option can carry a count or a second line. The rows step out of the accessibility tree themselves (`role="none"`), so the radios are the group's own children. The arrows move focus here and activation checks, rather than the selection following focus as it does in `nldd-radio-button-group`. - `tree` — `role="tree"`, items `role="treeitem"`. Branch rows put their child rows in their own `slot="children"`, which the item renders as a `role="group"`. Level, position and set size are NOT authored: the nesting represents the hierarchy, so assistive technology derives them. A branch row must carry `expanded`; the group is hidden while it is false. Visual indentation is the consumer's — repeat a spacer-cell per level. Comes with its own keyboard, see "Tree" below. - `navigation` — host `role="navigation"`, items with `selected` get `aria-current="page"` on their inner `<a>` or `<button>`. Sub-pages go in their parent row's `slot="children"`, which the item renders as a list inside the list item, so a screen reader hears the level and how many there are. They are always shown and the arrows walk them like any other row; a spacer-cell alone indents but says nothing. Visual indentation is still the consumer's. - `form` — rows that are not actions themselves: the controls inside them are. A row of a label and a field, a switch, a menu button, or a value you cannot change at all. Semantically the same as `list` (`role="list"`, `role="listitem"`), and everything visual is unchanged; what falls away is the keyboard of a list you walk through. No arrow navigation, so no promise of it either, and no tab stop on the row: Tab goes straight to the controls, in source order, the way it does in any form. Rows that ARE actions (`href`, `button`, `checkbox`, or a segment) contradict that and warn in development. SwiftUI draws the same line between `List` and `Form`, for the same reason. - `listbox` — an accessible, filterable listbox (combobox pattern). The list renders its OWN search input (`role="combobox"`) pinned above the options; `.list__items` becomes `role="listbox"` and items become `role="option"`. Focus stays in the input, the active option moves via `aria-activedescendant`, and filtering is consumer-managed via the `input` event (toggle `[hidden]` on items). See "Listbox" below. Selection state is consumer-managed: the list never mutates `selected` itself. A list you walk through answers to the arrow keys, and there is no attribute to switch that on. Whether the keys do something is not a property of one list: it is what a reader may assume about all of them, and a per-list setting made that unknowable from the outside. It follows the type, which you can see before you touch a key. - ArrowUp / ArrowDown — move focus between the rows there is something to do with. A row of nothing but text is skipped, because focus that leads nowhere is a dead end. - Home / End — the first / last of those rows. - Tab — the list is ONE tab stop, so Tab moves past it rather than through it. Within the current row Tab walks that row's own controls: a chevron beside a checkbox, a menu button at the end. The same controls in the other rows are held out of the tab order (`tabindex="-1"`, or `no-tab` on a design-system control that keeps its tab stop in its own shadow root), and so are this row's once focus leaves the list, so tabbing back in lands on the row again. - Escape — out of a control the row holds, back onto the row. One level up, where Shift+Tab is one step back. On the row itself the list claims nothing, so Escape carries on to whatever holds the list, and a control showing a menu keeps the first press for closing that menu. While focus sits in a control a row holds, the list stands down: those keys are the control's, and a list that took them anyway would pull focus out of a combo box or a text field mid-word. What the row IS — its own link, button or segments — keeps answering here. Arrows move focus only; selection stays consumer-managed. Three types answer differently, and all three say so on screen before you touch a key: a listbox runs its keyboard from its search field, a reorderable list moves rows with the arrows, and a form has no rows to move between at all. In `type="listbox"` the list owns a native `<input role="combobox">` (mirroring how `nldd-combo-box` wires an input to a slotted listbox). Keyboard, handled on the input so focus never leaves it: - ArrowDown / ArrowUp — move the active option among the VISIBLE (non-`[hidden]`) options (wrap around). - Home / End — first / last visible option. - Enter — activate the active option by triggering its inner action (a link navigates, a button fires the consumer's handler). Selection stays consumer-managed. - Escape — clear the search value (and refire `input`). On every active change the input's `aria-activedescendant` is set to the active option's id and the option is scrolled into view. The active option (`_highlighted` on the item, a highlight) is distinct from `selected`. Filtering is the consumer's job: listen to `input` (`{ detail: { value } }`) and toggle `[hidden]` on items; after the visible set changes the list resets the active option to the first visible one. `reorderable` and the roving arrow keys are ignored in listbox mode (listbox has its own keyboard). A tree adds to that keyboard, and counts the rows of an open branch as part of the order the arrows walk: - ArrowRight — opens a closed branch; on an open one it steps to its first child. - ArrowLeft — closes an open branch; on a leaf it steps out to the parent row. - Enter — follows the row: its own link or button, or on a segmented branch the first action that is not the chevron. A branch with only a chevron folds instead. - Space — open and close, the same as Right and Left. Only while focus sits on the row itself: a row that is its own control, and a segmented action you tabbed into, handle both keys themselves. Opening and closing runs through the row's own disclosure control — the segment marked `disclosure`, or the row itself when it is a button. The list activates that control rather than writing `expanded`, so the state keeps being set in one place: the consumer's handler. A row that is a link is never activated this way, since that would navigate away. The tree is one tab stop. Focus lands on the row itself when the row has no control of its own, because that is where `treeitem` sits and it makes assistive technology announce the row rather than a button inside it. Tab then walks the controls of THAT row (a chevron beside a checkbox, say) and leaves the list after the last one. A deliberate deviation: strictly speaking a row with several controls is a `treegrid`, not a `tree`. We keep the tree semantics — level and set size are what matters here, not rows and columns — and borrow the "Tab within the row" behavior from the grid pattern. Should a tree with real columns come up, that is when `treegrid` earns its own type. On reorder (type="list" + reorderable), the list dispatches `nldd-reorder` with `fromIndex` / `toIndex` and expects the consumer to mutate the DOM (or their data model that renders the DOM). Focus is restored to the moved item's drag handle via a single `requestAnimationFrame` — this assumes the consumer reorders **synchronously** in the event handler. Async renderers (React, Vue, …) that update the DOM on a later tick will miss the focus restore and should manage focus themselves after their render commits. */
3786
3831
  'nldd-list': DefineComponent<NLDDListProps>;
3787
- /** A row within an `nldd-list`. Renders as a link when `href` is set, as a checkbox when `checkbox` is set, as a button when `button` is set, or as a plain container otherwise. All cells and segments share one flat slot, in source order. With one action, make the row itself the control (`href`, `button`, `checkbox` or `radio`): the whole row is then one hit area. With two or more, give each its own `nldd-list-item-segment` and leave the row without an action of its own. Both at once nests a control inside a control, and the item warns about that in development. Two rules govern every row: 1. State fills always paint the WIDENED row geometry — the row box extended by the indicator inline inset on both sides — whether or not the row is interactive. Paint never differs between a selected plain row and a selected interactive row. 2. The widened strip belongs to the ROW, never to a segment. A row with any action (its own `href`/`button`/`checkbox`, or a slotted segment) pulls itself outward (`is-interactive` host class → negative inline margin) and pads the row block back by the same amount, so content stays on the grid. A row-wide action owns that padding itself, making the whole widened box one hit area; slotted segments stay in the grid, so their footprint is position-independent and tree columns line up at any depth. By default the divider starts at the row's first text or title cell, so the line lands on the words rather than on whatever leads up to them — an icon, an avatar, a checkbox, or the spacers a tree indents with. Rows of different shapes then still line their dividers up with each other, and a tree's dividers step inward with its indentation. Text inside an `nldd-list-item-segment` counts as the row's content, and the marker is that text cell rather than the action: the action carries its own inline padding, so its edge sits before the words. A row with no text or title cell keeps the full content width. Mark a cell with `divider-start` and/or `divider-end` to place it yourself instead — an explicit marker replaces the derived one entirely, so `divider-start` on the leading cell restores the full-width line. Multiple markers resolve as the union: first `divider-start` through last `divider-end`. A start past the last end is an authoring error — the item DEV-warns and falls back to the full content width. A branch row can disclose its children in two ways: a dedicated `nldd-list-item-segment[disclosure]` segment (only the chevron is clickable), or the row itself as the control (`button` + `expanded`, the whole row toggles). In the second case, mark the chevron's `nldd-icon-cell` with `disclosure` and the row turns it with `expanded` — the same affordance, without having to trade a clickable row for a turning chevron. `checkbox` makes the WHOLE row the control: the inner action becomes a `role="checkbox"` button carrying `aria-checked`, it toggles `checked` on activation and fires `change`. Slot an `nldd-checkbox decorative` (or any glyph) before the text: it only shows the state, since the row already conveys role and state, and a second focusable control would double the tab stops. Do NOT nest a real `<input type="checkbox">` in the action: interactive content inside a `<button>` is invalid HTML and AT announces the button, not the checked state. A `<label>` variant is not offered for the same reason it cannot work — label-to-input association walks the DOM tree, and a slotted input is not a descendant of a label in the shadow root. When it renders as a link, `target` and `rel` are forwarded to the inner `<a>` (e.g. `target="_blank" rel="noopener noreferrer"`). With `target="_blank"` the item also injects a visually hidden "opens in new tab" announcement for assistive technology (WCAG 2.1 SC 3.2.2). The item synchronizes its ARIA with its parent `nldd-list`'s `type`: - `list` parent → `role="listitem"` - `navigation` parent → `role="listitem"` + `aria-current="page"` on the inner `<a>` / `<button>` when `selected` - `listbox` parent → `role="option"` + `aria-selected` reflecting `selected`. The list points its search input's `aria-activedescendant` at the active option via `_highlighted` (separate from `selected`). */
3832
+ /** A row within an `nldd-list`. Renders as a link when `href` is set, as a checkbox when `checkbox` is set, as a button when `button` is set, or as a plain container otherwise. All cells and segments share one flat slot, in source order. With one action, make the row itself the control (`href`, `button`, `checkbox` or `radio`): the whole row is then one hit area. With two or more, give each its own `nldd-list-item-segment` and leave the row without an action of its own. Both at once nests a control inside a control, and the item warns about that in development. Two rules govern every row: 1. State fills always paint the WIDENED row geometry — the row box extended by the indicator inline inset on both sides — whether or not the row is interactive. Paint never differs between a selected plain row and a selected interactive row. 2. The widened strip belongs to the ROW, never to a segment. A row with any action (its own `href`/`button`/`checkbox`, or a slotted segment) pulls itself outward (`is-interactive` host class → negative inline margin) and pads the row block back by the same amount, so content stays on the grid. A row-wide action owns that padding itself, making the whole widened box one hit area; slotted segments stay in the grid, so their footprint is position-independent and tree columns line up at any depth. By default the divider starts at the row's first text or title cell, so the line lands on the words rather than on whatever leads up to them — an icon, an avatar, a checkbox, or the spacers a tree indents with. Rows of different shapes then still line their dividers up with each other, and a tree's dividers step inward with its indentation. Text inside an `nldd-list-item-segment` counts as the row's content, and the marker is that text cell rather than the action: the action carries its own inline padding, so its edge sits before the words. A row with no text or title cell keeps the full content width. Mark a cell with `divider-start` and/or `divider-end` to place it yourself instead — an explicit marker replaces the derived one entirely, so `divider-start` on the leading cell restores the full-width line. Multiple markers resolve as the union: first `divider-start` through last `divider-end`. A start past the last end is an authoring error — the item DEV-warns and falls back to the full content width. A branch row can disclose its children in two ways: a dedicated `nldd-list-item-segment[disclosure]` segment (only the chevron is clickable), or the row itself as the control (`button` + `expanded`, the whole row toggles). In the second case, mark the chevron's `nldd-icon-cell` with `disclosure` and the row turns it with `expanded` — the same affordance, without having to trade a clickable row for a turning chevron. `checkbox` makes the WHOLE row the control: the inner action becomes a `role="checkbox"` button carrying `aria-checked`, it toggles `checked` on activation and fires `change`. Slot an `nldd-checkbox decorative` (or any glyph) before the text: it only shows the state, since the row already conveys role and state, and a second focusable control would double the tab stops. Do NOT nest a real `<input type="checkbox">` in the action: interactive content inside a `<button>` is invalid HTML and AT announces the button, not the checked state. A `<label>` variant is not offered for the same reason it cannot work — label-to-input association walks the DOM tree, and a slotted input is not a descendant of a label in the shadow root. When it renders as a link, `target` and `rel` are forwarded to the inner `<a>` (e.g. `target="_blank" rel="noopener noreferrer"`). With `target="_blank"` the item also injects a visually hidden "opens in new tab" announcement for assistive technology (WCAG 2.1 SC 3.2.2). The item synchronizes its ARIA with its parent `nldd-list`'s `type`: - `list` parent → `role="listitem"` - `navigation` parent → `role="listitem"` + `aria-current` on the inner `<a>` / `<button>` when `current` or `selected`, with `current-type` as its value (`page` unless set) - `listbox` parent → `role="option"` + `aria-selected` reflecting `selected`. The list points its search input's `aria-activedescendant` at the active option via `_highlighted` (separate from `selected`). */
3788
3833
  'nldd-list-item': DefineComponent<NLDDListItemProps>;
3789
3834
  /** A segment inside an `nldd-list-item`: it groups a run of cells and makes just that run clickable. Use it when a row needs more than one segment — a tree row whose chevron expands while the label toggles a checkbox, or a row that navigates with a separate button beside it. Put it in the row where its cells would go: the item has one flat slot, and a segment takes the place of the cells it covers. Where the divider starts or stops is marked on the cells themselves (`divider-start` / `divider-end`), not by the slot a segment sits in. A row is EITHER row-level interactive (`href` / `button` / `checkbox` on the `nldd-list-item`) OR segmented (one or more of these). Both at once nests a control inside a control, which is invalid HTML; the item DEV-warns. Unlike the row-wide action this does not bleed outward: a segment sits between siblings, so an outward inset would overlap them. It owns its inline padding and never drops below the row's control size, so an icon-only one still meets the WCAG 2.5.8 target size — do not add spacer cells inside it for room or hit area, that doubles the space. In a `type="listbox"` list the segment renders as a plain container (no control, not focusable) and DEV-warns: an `option` may not contain interactive descendants. The cells render unchanged, so nothing shifts. */
3790
3835
  'nldd-list-item-segment': DefineComponent<NLDDListItemSegmentProps>;
@@ -3813,7 +3858,7 @@ declare module 'vue' {
3813
3858
  'nldd-one-half-one-half-section': DefineComponent<NLDDOneHalfOneHalfSectionProps>;
3814
3859
  /** A section with a 1/3 sidebar on the left and 2/3 main content on the right. The columns wrap automatically when they become smaller than 280px. Padding and gap adjust via container queries. */
3815
3860
  'nldd-one-third-two-thirds-section': DefineComponent<NLDDOneThirdTwoThirdsSectionProps>;
3816
- /** A page layout with optional sticky header and footer. Without sticky-header, the host is the scroll container and the header is in normal flow. With sticky-header, the header becomes absolute and .page__scroll takes over scrolling, padded by the measured header height. That padding freezes once you scroll, so a collapsing bar cannot drag the content up under the cursor. In root-scroll mode (--context-scroll-mode: root, derived upstream by nldd-app-view) the page stops owning a scroller: the document scrolls and the sticky header/footer stick against the document, offset by --context-inset-top/bottom. The mode is read on connect/resize and reflected to [data-scroll] so the CSS can branch. The page passes those insets on to its own content, with its sticky header and footer added: anything sticky inside (an nldd-sidebar-section, a sticky table head) reads --context-inset-top / --context-inset-bottom and clears every bar above and below it without being told a number. The heights are measured, because a top title bar shrinks as you scroll past its anchor. While the page owns the scroller, only its own bars count: the chrome above the page sits outside that scroller and does not push sticky content down. A page carries the landmarks of a document: its header is the banner, its content the main landmark, its footer the contentinfo. A document has one of each, so a page that sits beside another one cannot have them. Such a page renders a section and a plain div instead, which drops all three at once: a header inside sectioning content is no longer a banner. With `accessible-label` that section is a named region, so there is still one landmark to jump to; without a name it is no landmark at all, which beats an unnamed one. `landmarks` says which of the two a page is, and `auto` (the default) reads it off where the page sits: - in an overlay (nldd-sheet, nldd-modal-dialog, nldd-window, nldd-popover) a region, because the overlay is not the document; - in a pane of nldd-navigation-split-view, nldd-side-by-side-split-view or nldd-stacked-split-view a region, because those place pages beside each other; - anywhere else the page, including the `main` slot of an nldd-bar-split-view, which stacks bars around a single content area. So an app shell has no main until you say which pane holds the primary content, with `landmarks="page"` on that one page. Only the application knows which pane that is. Two pages that both render a main is invalid HTML, and the page says so in development. */
3861
+ /** A page layout with optional sticky header and footer. Without sticky-header, the host is the scroll container and the header is in normal flow. With sticky-header, the header becomes absolute and .page__scroll takes over scrolling, padded by the measured header height. That padding freezes once you scroll, so a collapsing bar cannot drag the content up under the cursor. In root-scroll mode (--context-scroll-mode: root, derived upstream by nldd-shell) the page stops owning a scroller: the document scrolls and the sticky header/footer stick against the document, offset by --context-inset-top/bottom. The mode is read on connect/resize and reflected to [data-scroll] so the CSS can branch. The page passes those insets on to its own content, with its sticky header and footer added: anything sticky inside (an nldd-sidebar-section, a sticky table head) reads --context-inset-top / --context-inset-bottom and clears every bar above and below it without being told a number. The heights are measured, because a top title bar shrinks as you scroll past its anchor. While the page owns the scroller, only its own bars count: the chrome above the page sits outside that scroller and does not push sticky content down. A page carries the landmarks of a document: its header is the banner, its content the main landmark, its footer the contentinfo. A document has one of each, so a page that sits beside another one cannot have them. Such a page renders a section and a plain div instead, which drops all three at once: a header inside sectioning content is no longer a banner. With `accessible-label` that section is a named region, so there is still one landmark to jump to; without a name it is no landmark at all, which beats an unnamed one. `landmarks` says which of the two a page is, and `auto` (the default) reads it off where the page sits: - in an overlay (nldd-sheet, nldd-modal-dialog, nldd-window, nldd-popover) a region, because the overlay is not the document; - in a pane of nldd-navigation-split-view, nldd-side-by-side-split-view or nldd-stacked-split-view a region, because those place pages beside each other; - anywhere else the page, including the `main` slot of an nldd-bar-split-view, which stacks bars around a single content area. So an app shell has no main until you say which pane holds the primary content, with `landmarks="page"` on that one page. Only the application knows which pane that is. Two pages that both render a main is invalid HTML, and the page says so in development. */
3817
3862
  'nldd-page': DefineComponent<NLDDPageProps>;
3818
3863
  /** The footer band at the bottom of a page. Hosts three optional rows in a fixed order: breadcrumbs (top), consumer-defined main content (middle), and a legal-bar (bottom). Dividers are drawn automatically between non-empty rows. Establishes its own container query (`page-footer-container`) so the responsive padding and gap react to the footer's own width, not the viewport. The host has `id="page-footer"` so a skip-link can target it directly. Use the sub-components `nldd-page-footer-legal-bar` and `nldd-page-footer-legal-bar-item` for the bottom row. */
3819
3864
  'nldd-page-footer': DefineComponent<NLDDPageFooterProps>;
@@ -3839,7 +3884,7 @@ declare module 'vue' {
3839
3884
  'nldd-radio-button-field': DefineComponent<NLDDRadioButtonFieldProps>;
3840
3885
  /** Groups nldd-radio-button-field elements, handles keyboard navigation, and forwards name and disabled state to all child fields. Use inside nldd-form-field which provides the group label. */
3841
3886
  'nldd-radio-button-group': DefineComponent<NLDDRadioButtonGroupProps>;
3842
- /** A container for rich text content that automatically applies responsive typography. Uses no shadow DOM so styles apply to all nested elements. Import nldd-rich-text.css globally in your application. The rich text lays out its direct children in a grid: the vertical rhythm between headings, paragraphs and lists, and the width zones below, apply to those children only. A single wrapper `div` without `class`, `style`, `role` or `data-width`, as a markdown renderer or a component root produces it, is passed through with `display: contents`, so its children count as direct. Any other wrapper becomes a single grid item, and the paragraphs inside it lose their spacing. Children are placed in three zones: text (headings, paragraphs, lists, blockquote, div/section) reads at the `main` size; media and tables (img, figure, video, iframe, table) get the `wide` accent; everything else, code blocks and every component, gets the full `full` span with `justify-self: start`, so the room is available without being forced. Overridable per child with `data-width="main" | "wide" | "full"`. In the left-aligned layout, wide and full read as a bleed to the right; with `centered` they are symmetrical. */
3887
+ /** A container for rich text content that automatically applies responsive typography. Uses no shadow DOM so styles apply to all nested elements. Import nldd-rich-text.css globally in your application. The rich text lays out its direct children in a grid: the vertical rhythm between headings, paragraphs and lists, and the width zones below, apply to those children only. A single wrapper `div` without `class`, `style`, `role` or `data-rich-text-width`, as a markdown renderer or a component root produces it, is passed through with `display: contents`, so its children count as direct. Any other wrapper becomes a single grid item, and the paragraphs inside it lose their spacing. The headings keep one size on every width, the one they have on a phone. A heading in running text sits in a column as wide as a line of reading, on any screen, so its relation to the text beside it does not change and it has no reason to grow. Growing, an h2 on a wide screen was more than twice the size of the text, and an article broke into blocks at every heading. Page and section titles do grow: use nldd-title for those. Children are placed in three zones. A child belongs to the text unless it is listed, so it reads at the `main` size and is never wider than a line: text (headings, paragraphs, lists, blockquote, div/section) and every component that is not named below, such as nldd-box, nldd-card, nldd-banner, nldd-list and a button, and code (pre, nldd-code-viewer), which scrolls inside its block when a line is longer. Media, tables and a step bar (img, figure, video, iframe, table, nldd-table, nldd-image, nldd-step-bar) get the `wide` accent. What needs the room gets the `full` span: hr, nldd-collection and nldd-container. A child takes the room it needs inside its zone (`justify-self: start`), so the room is available without being forced. Overridable per child with `data-rich-text-width="main" | "wide" | "full"`. In the left-aligned layout, wide and full read as a bleed to the right; with `centered` they are symmetrical. */
3843
3888
  'nldd-rich-text': DefineComponent<NLDDRichTextProps>;
3844
3889
  /** A search input with a leading search icon, an optional dismiss button, and an optional search button. */
3845
3890
  'nldd-search-field': DefineComponent<NLDDSearchFieldProps>;
@@ -3848,13 +3893,15 @@ declare module 'vue' {
3848
3893
  'nldd-segmented-control-item': DefineComponent<NLDDSegmentedControlItemProps>;
3849
3894
  /** An overlay component that slides in from the side or bottom of the screen. Based on the native <dialog> element for built-in accessibility, focus management, and Escape key support. On small (sm) viewports the sheet always renders as a bottom sheet, regardless of the configured placement. Render the sheet at the document root (teleport/portal it to `document.body`), never inside a split view's content flow: as a slotted flex child it would steal pane height (see `nldd-split-view-pane`). A sheet holds a whole nldd-page: an nldd-top-title-bar in its header slot, the content, and a footer when there are actions. The page behaves as it does anywhere else, with only the middle scrolling, and the text of the bar is also the sheet's accessible name. Do not build a header of your own. Open and close it with `open`, bound to your state together with the close event: the sheet clears `open` itself when the user closes it. show() and hide() do the same for code without a binding. Keep the sheet in the DOM rather than mounting it when it opens, or the animations are skipped. */
3850
3895
  'nldd-sheet': DefineComponent<NLDDSheetProps>;
3896
+ /** The required root shell of a Nederlandse Digitale Dienst application. Always contains a split view or an nldd-page as direct content. The document font comes from the package stylesheet (`@nldd/design-system/styles`), not from this component: it gives `body` the body font and content color as soon as a shell is on the page, inside `@layer reset` so any rule of your own wins. Import only the tokens (`/styles/tokens`) and text you write in the light DOM keeps the browser default. Set background="tinted" to give the whole application a tinted background. All descendants read --context-parent-background-color via --_shell-background-color automatically. Individual components can override locally with their own background attribute. The same background color is forced on `document.body` so that browser- chrome surfaces (iOS overscroll bounce, status bar, page-margin areas) blend with the app instead of revealing the user-agent's default white. Cleared when the shell disconnects. The app scrolls the DOCUMENT (root mode) or lets each `nldd-page` scroll inside its pane (nested mode). The mode is derived from the outermost horizontal split view: one column means the document scrolls, several columns mean the panes do. An app without such a split view is a single column at every width and therefore scrolls the document too — nested scrolling would cost it the rubber-band and the collapsing browser toolbar on iOS for nothing. Set `--context-scroll-mode` on the `nldd-shell` itself to override the derived mode; an inherited value loses from it. In nested scroll mode `overscroll-behavior: none` is set on `document.documentElement` and `document.body` while the shell is connected. Combined with `overscroll-behavior: contain` on `nldd-page`'s scroll target, this prevents iOS rubber-band on the viewport when scroll gestures land outside an `nldd-page` (e.g. on a top-bar). In root scroll mode the document itself is the scroller, so this is lifted to let the native rubber-band happen. Cleared on last disconnect. */
3897
+ 'nldd-shell': DefineComponent<NLDDShellProps>;
3851
3898
  /** A horizontal split view with multiple equal panes side by side. The number of panes is set via the `panes` attribute. Each pane automatically gets a numbered slot: pane-1, pane-2, etc. Panes that do not fit the available width are automatically hidden, from right to left: `pane-1` is the last to go. Put the main content in `pane-1` and an inspector or detail in the last pane. */
3852
3899
  'nldd-side-by-side-split-view': DefineComponent<NLDDSideBySideSplitViewProps>;
3853
- /** A page section with a left sidebar alongside the main content. - **Wide (section >= 1008px):** two columns. The sidebar is a sticky, scrollable tinted box (max-width 320px) beside the main content. Its sticky top/bottom insets default to 16px; override with `sticky-top` / `sticky-bottom` so it clears other sticky page elements (e.g. a sticky header). - **Narrow (section < 1008px):** the sidebar collapses behind a sheet (a left panel on md+ viewports, a bottom sheet on mobile), and the host reflects a `collapsed` attribute. The consumer owns the trigger: place any chrome (a button, a chosen-filters bar, …) wherever you want, show it only while collapsed (e.g. `nldd-sidebar-section[collapsed] .my-trigger { … }` or by reading `collapsed` / listening to `collapse-change`), and call `show()` / `toggle()` to open the sheet. Bind `aria-expanded` via the `open`/`close` events. The sheet gets a sticky title bar by default — the `sidebar-label` as title plus a "Sluit" button — overridable via the `sheet-top-title-bar` slot. The sidebar content lives in `slot="sidebar"`. Its slot outlet moves between the box (expanded) and the sheet (collapsed) so there is a single, never-duplicated copy — the light DOM (and its state) is preserved across the switch. The box <-> sheet switch follows the section's OWN width (a ResizeObserver on the host), not the viewport — so a sidebar-section in a narrow column or a split-view pane collapses to the sheet just like one in a narrow viewport, and the sidebar never stacks above or crowds the main. Set `no-collapse` to opt out: a narrow section then stacks the sidebar (full-width) above the main instead of using a sheet. Inherits block `padding` and `height` from PageSectionMixin. */
3900
+ /** A page section with a left sidebar alongside the main content. - **Wide (section >= 1008px):** two columns. The sidebar is a sticky, scrollable box (max-width 320px) beside the main content. It takes the surface of the section around it and is edged by a divider line, so it reads as a block without drawing the eye away from the main. Its sticky top/bottom insets default to 16px; override with `sticky-top` / `sticky-bottom` so it clears other sticky page elements (e.g. a sticky header). - **Narrow (section < 1008px):** the sidebar collapses behind a sheet (a left panel on md+ viewports, a bottom sheet on mobile), and the host reflects a `collapsed` attribute. The consumer owns the trigger: place any chrome (a button, a chosen-filters bar, …) wherever you want, show it only while collapsed (e.g. `nldd-sidebar-section[collapsed] .my-trigger { … }` or by reading `collapsed` / listening to `collapse-change`), and call `show()` / `toggle()` to open the sheet. Bind `aria-expanded` via the `open`/`close` events. The sheet gets a sticky title bar by default — the `sidebar-label` as title plus a "Sluit" button — overridable via the `sheet-top-title-bar` slot. The sidebar content lives in `slot="sidebar"`. Its slot outlet moves between the box (expanded) and the sheet (collapsed) so there is a single, never-duplicated copy — the light DOM (and its state) is preserved across the switch. The box <-> sheet switch follows the section's OWN width (a ResizeObserver on the host), not the viewport — so a sidebar-section in a narrow column or a split-view pane collapses to the sheet just like one in a narrow viewport, and the sidebar never stacks above or crowds the main. Set `no-collapse` to opt out: a narrow section then stacks the sidebar (full-width) above the main instead of using a sheet. Inherits block `padding` and `height` from PageSectionMixin. */
3854
3901
  'nldd-sidebar-section': DefineComponent<NLDDSidebarSectionProps>;
3855
3902
  /** A basic section with responsive padding and gap based on container size. Contains optional header and footer slots. The padding and spacing between slots adjust automatically via container queries. Use one section per content block and repeat the section rather than building columns inside one: the section sets the reading width and the padding itself. For two columns there are nldd-one-half-one-half-section, nldd-two-thirds-one-third-section, nldd-one-third-two-thirds-section and nldd-sidebar-section. Give a section its surface with `background` instead of a background color of your own; that is how the components inside know which surface they are on. */
3856
3903
  'nldd-simple-section': DefineComponent<NLDDSimpleSectionProps>;
3857
- /** Accessibility pattern that lets keyboard users skip past content. Wraps content in a default slot. Without href it focuses the first element after the skip link in the DOM (nextElementSibling). Make sure a focusable element follows the component, otherwise the skip link has no effect. */
3904
+ /** Accessibility pattern that lets keyboard users skip past content. Wraps content in a default slot. Without href it moves focus to the first rendered element after the skip link, so the next Tab lands on the first link or button in it. An element that is not rendered, such as a `<noscript>`, a `<script>` or anything hidden, is passed over. Make sure a rendered element follows the component, otherwise the skip link has no effect. With an `href` that points at an id on the same page, the link scrolls to that element and moves focus to it too. The target needs no `tabindex` of its own. An href to another page is left to the browser. The component cannot know what it skips, so its default text only says "Sla over". Name it with `text`: "Sla navigatie over", "Sla filters over". */
3858
3905
  'nldd-skip-link': DefineComponent<NLDDSkipLinkProps>;
3859
3906
  /** Add explicit space between elements. Components here have no margins of their own — all whitespace is set by a spacer. A spacer is fixed space between two different things. For padding around an area, or the gaps between the children of one area, use `nldd-container` with `padding` and `gap` instead. A `gap` sets one distance for every child, which is right while the children are of one kind: a row of buttons, a set of cards, the fields of a form. Put different kinds under each other and the right distance differs per seam, so set each one where it happens with a spacer. A heading over a list is the common case: the space under the heading should be smaller than the space above it, which keeps the heading with what it labels. A gap cannot tell the two apart, and evening them out reads as a strip of loose lines. Use a single `size` attribute for whitespace that's the same at every viewport. Combine with `sm-size`, `md-size` and/or `lg-size` to override the size at specific breakpoints (mobile-first cascade is intentionally avoided — each breakpoint that needs a different value declares it explicitly): - `size` applies at every breakpoint that has no per-viewport override. - `sm-size` overrides at sm (max-width: 640px). - `md-size` overrides at md (641px–1007px). - `lg-size` overrides at lg (min-width: 1008px). Use `flexible` (in any of the four attributes) to fill the remaining space in a flex container. */
3860
3907
  'nldd-spacer': DefineComponent<NLDDSpacerProps>;
@@ -3868,7 +3915,7 @@ declare module 'vue' {
3868
3915
  'nldd-split-view-pane': DefineComponent<NLDDSplitViewPaneProps>;
3869
3916
  /** A vertical split view with multiple stacked panes. The number of panes is set via the `panes` attribute. Each pane automatically gets a numbered slot: pane-1, pane-2, etc. Panes that do not fit the available height are automatically hidden. */
3870
3917
  'nldd-stacked-split-view': DefineComponent<NLDDStackedSplitViewProps>;
3871
- /** A narrow, page-wide status bar (24px) with a deep background color per variant. Use it for persistent system state: an outage, planned maintenance, a draft view or a recording in progress. The bar deliberately shows no icon and supports text only. The text itself has to name the status ("Storing: …", "Gepland onderhoud …"), so the meaning does not follow from color alone (WCAG 1.4.1). Keep the text short: the bar shows one line and truncates with an ellipsis, certainly on narrower screens. For a long message with a lot of information only the essence belongs in the bar. Point to a separate page or sheet for the rest (through `href` or `button`, for instance), where the user can read on. The whole bar can be clickable: set `href` (renders an `<a>`) or `button` (renders a `<button>`; listen for the native `click` event). Without either the bar is static. On interaction a chevron appears as an affordance. One action per bar at most; several actions, or links in running text, belong in nldd-banner. role and aria-live are set automatically from the variant: - critical → role="alert" (implies aria-live="assertive"; interrupts the screen reader) - others → role="status" aria-live="polite" Not overridable. If you need a quieter component, pick a different one. Use `critical` only for a real emergency: role="alert" interrupts the screen reader on every change of the content, so do not put text in it that changes regularly (a counting-down timer, for example). */
3918
+ /** A narrow, page-wide status bar (24px) with a deep background color per variant. Use it for persistent system state: an outage, planned maintenance, a draft view or a recording in progress. The bar deliberately shows no icon and supports text only. The text itself has to name the status ("Storing: …", "Gepland onderhoud …"), so the meaning does not follow from color alone (WCAG 1.4.1). Keep the text short: the bar shows one line and truncates with an ellipsis, certainly on narrower screens. For a long message with a lot of information only the essence belongs in the bar. Point to a separate page or sheet for the rest (through `href` or `button`, for instance), where the user can read on. The whole bar can be clickable: set `href` (renders an `<a>`) or `button` (renders a `<button>`; listen for the native `click` event). Without either the bar is static. On interaction a chevron appears as an affordance. One action per bar at most; several actions, or links in running text, belong in nldd-banner. The bar is the first thing on the screen: above nldd-top-navigation-bar or nldd-top-title-bar, across the whole app, also when a split view shows several panes. It reports the state of the service, not of one page, so it never sits inside the content or below a top bar. Below a top bar it says so in development. role and aria-live are set automatically from the variant: - critical → role="alert" (implies aria-live="assertive"; interrupts the screen reader) - others → role="status" aria-live="polite" Not overridable. If you need a quieter component, pick a different one. Use `critical` only for a real emergency: role="alert" interrupts the screen reader on every change of the content, so do not put text in it that changes regularly (a counting-down timer, for example). */
3872
3919
  'nldd-status-bar': DefineComponent<NLDDStatusBarProps>;
3873
3920
  /** Shows where you are in a process of several steps: a row of discs with a number (or a check mark on what is done), a label under each and a line connecting them. Other systems call this a stepper or a progress indicator. Mark the step you are on with `status="current"`. The parent derives the rest from its position: `past` before it, `future` after. With none marked, step 1 is current. With more than one, the last one wins and a warning goes to the console in a dev build: a flow that forgets to clear the previous step still points at the furthest one. A `status="past"` or `status="future"` on another step overrides what is derived for that step, for flows that jump back or skip a step. One attribute, the same three values as `nldd-step-cell`, so a flow reads in one vocabulary whether it runs across or down. Horizontal only. For steps under each other, build an `nldd-list` with an `nldd-step-cell` and an `nldd-title-cell` per row: vertical steps usually carry more than a title, and a list row already does that. Below the sm breakpoint (a container query, so measured on the component itself rather than on the viewport) it folds into one line of text plus a segmented bar. The full list of steps stays in the DOM, only visually hidden, so assistive software hears no less than a wide screen shows. Accessibility: a `nav` with a label, holding a `role="list"` with a `role="listitem"` per step. The current step gets `aria-current="step"`, the only notion WAI-ARIA has for this. "Done" and "still to do" do not exist as ARIA tokens and travel along as visually hidden text instead. */
3874
3921
  'nldd-step-bar': DefineComponent<NLDDStepBarProps>;
@@ -3921,7 +3968,7 @@ declare module 'vue' {
3921
3968
  'nldd-tooltip': DefineComponent<NLDDTooltipProps>;
3922
3969
  /** The top bar of a page: a logo bar with the Rijkslogo and an optional wordmark, and below it the main bar with the website title, a back button, the global navigation and the utility navigation. On narrow widths the global navigation moves into a menu sheet behind the menu button. */
3923
3970
  'nldd-top-navigation-bar': DefineComponent<NLDDTopNavigationBarProps>;
3924
- /** A toolbar for page and container headings with optional navigation and action buttons. The component has two states: - Default: the back button shows the previous page title as a text button - Compact (class `is-compact`): the back button is an icon button, a divider and the toolbar title are visible When `collapse-anchor` is set, the `is-compact` class is automatically applied as soon as the top of the anchor element reaches this bar's own top edge (the sticky header line). Measuring the bar rather than the page keeps it correct in both nested and root scroll modes; it also re-points at the live scroll target when the page switches mode. Without `collapse-anchor` the bar takes a static state: compact when `text` is set (so the title shows in the title-group), non-compact otherwise (so the `back-text` button stays visible). An anchored bar hides its own title from assistive technology. The anchor is the heading the title swaps in for, so both carry the same words: once you scroll past the heading, a screen reader would otherwise find the same title twice. Sighted readers see one at a time, and this makes that true for everyone. Anchor at the heading, then, and not at some other element that happens to sit at the right height: the bar hands its title over to it. */
3971
+ /** A toolbar for page and container headings with optional navigation and action buttons. The component has two states: - Default: the back button shows the previous page title as a text button - Compact (class `is-compact`): the back button is an icon button, a divider and the toolbar title are visible When `collapse-anchor` is set, the `is-compact` class is automatically applied as soon as the top of the anchor element reaches this bar's own top edge (the sticky header line). Measuring the bar rather than the page keeps it correct in both nested and root scroll modes; it also re-points at the live scroll target when the page switches mode. Without `collapse-anchor` the bar takes a static state: compact when `text` is set (so the title shows in the title-group), non-compact otherwise (so the `back-text` button stays visible). An anchored bar hides its own title from assistive technology. The anchor is the heading the title swaps in for, so both carry the same words: once you scroll past the heading, a screen reader would otherwise find the same title twice. Sighted readers see one at a time, and this makes that true for everyone. Anchor at the heading, then, and not at some other element that happens to sit at the right height: the bar hands its title over to it. The title stays on one line and is cut off with an ellipsis when it does not fit, which on a narrow screen or at 400% zoom is soon. The bar is therefore not the place for the full title: put that in an `nldd-title` at the top of the content, which wraps and always fits, and point `collapse-anchor` at it. A bar without an anchor holds the only copy of its title, so keep that one to a word or two. */
3925
3972
  'nldd-top-title-bar': DefineComponent<NLDDTopTitleBarProps>;
3926
3973
  /** A section with 2/3 main content on the left and a 1/3 sidebar on the right. The columns wrap automatically when they become smaller than 280px. Padding and gap adjust via container queries. */
3927
3974
  'nldd-two-thirds-one-third-section': DefineComponent<NLDDTwoThirdsOneThirdSectionProps>;
@@ -22,6 +22,10 @@ export type PageSectionPadding = '0' | '2' | '4' | '6' | '8' | '10' | '12' | '16
22
22
  * - **height**: any CSS length (e.g. '400px', '100dvh') applied as the host's
23
23
  * min-height (so the section is at least that tall) — mirroring how `width`
24
24
  * maps to the body max-width.
25
+ * - **grow**: the section takes the height the page has left, so the footer
26
+ * sits at the bottom of a short page. Without it, nldd-page lets its last
27
+ * section grow. nldd-page reads this and marks the growing section with
28
+ * `data-growing`; it never writes `grow`, which stays the author's.
25
29
  *
26
30
  * @example
27
31
  * ```ts
@@ -43,6 +47,7 @@ export declare function PageSectionMixin<TBase extends Constructor<LitElement>>(
43
47
  lgPaddingTop?: PageSectionPadding;
44
48
  lgPaddingBottom?: PageSectionPadding;
45
49
  height?: string;
50
+ grow: boolean;
46
51
  _onSlotChange(e: Event): void;
47
52
  }>;
48
53
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"page-section-mixin.d.ts","sourceRoot":"","sources":["../../src/utilities/page-section-mixin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AAEtD,KAAK,WAAW,CAAC,CAAC,GAAG,UAAU,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;AAE7D,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAC3B,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAC9D,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAyBhE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,SAAS,WAAW,CAAC,UAAU,CAAC,EACrE,IAAI,EAAE,KAAK,GAiG0B,KAAK,GACzC,WAAW,CACV,UAAU,GAAG;IACZ,UAAU,EAAE,qBAAqB,CAAC;IAClC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,eAAe,CAAC,EAAE,kBAAkB,CAAC;IACrC,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,eAAe,CAAC,EAAE,kBAAkB,CAAC;IACrC,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,eAAe,CAAC,EAAE,kBAAkB,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CAC9B,CACD,CACF"}
1
+ {"version":3,"file":"page-section-mixin.d.ts","sourceRoot":"","sources":["../../src/utilities/page-section-mixin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AAGtD,KAAK,WAAW,CAAC,CAAC,GAAG,UAAU,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;AAE7D,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAC3B,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAC9D,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAyBhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,SAAS,WAAW,CAAC,UAAU,CAAC,EACrE,IAAI,EAAE,KAAK,GAoG0B,KAAK,GACzC,WAAW,CACV,UAAU,GAAG;IACZ,UAAU,EAAE,qBAAqB,CAAC;IAClC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,eAAe,CAAC,EAAE,kBAAkB,CAAC;IACrC,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,eAAe,CAAC,EAAE,kBAAkB,CAAC;IACrC,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,eAAe,CAAC,EAAE,kBAAkB,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC;CAC9B,CACD,CACF"}