@nldd/design-system 0.8.91 → 0.8.93

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 (521) hide show
  1. package/NOTICES.md +9 -27
  2. package/README.md +39 -26
  3. package/custom-elements.json +1936 -1460
  4. package/dist/components/actions/button/button.d.ts +22 -5
  5. package/dist/components/actions/button/button.d.ts.map +1 -1
  6. package/dist/components/actions/button/button.js +48 -12
  7. package/dist/components/actions/button/button.js.map +1 -1
  8. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  9. package/dist/components/actions/button/button.styles.js +3 -1
  10. package/dist/components/actions/button/button.styles.js.map +1 -1
  11. package/dist/components/actions/button/button.template.d.ts.map +1 -1
  12. package/dist/components/actions/button/button.template.js +5 -4
  13. package/dist/components/actions/button/button.template.js.map +1 -1
  14. package/dist/components/actions/button-group/button-group.d.ts +48 -3
  15. package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
  16. package/dist/components/actions/button-group/button-group.js +104 -11
  17. package/dist/components/actions/button-group/button-group.js.map +1 -1
  18. package/dist/components/actions/button-group/button-group.styles.d.ts.map +1 -1
  19. package/dist/components/actions/button-group/button-group.styles.js +64 -4
  20. package/dist/components/actions/button-group/button-group.styles.js.map +1 -1
  21. package/dist/components/actions/icon-button/icon-button.d.ts +7 -6
  22. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  23. package/dist/components/actions/icon-button/icon-button.js +7 -12
  24. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  25. package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
  26. package/dist/components/actions/icon-button/icon-button.template.js +9 -5
  27. package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
  28. package/dist/components/actions/menu/menu.d.ts +29 -29
  29. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  30. package/dist/components/actions/menu/menu.js +53 -53
  31. package/dist/components/actions/menu/menu.js.map +1 -1
  32. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  33. package/dist/components/actions/menu/menu.styles.js +4 -0
  34. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  35. package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
  36. package/dist/components/actions/menu/menu.template.js +8 -2
  37. package/dist/components/actions/menu/menu.template.js.map +1 -1
  38. package/dist/components/actions/toolbar/toolbar.d.ts +24 -10
  39. package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
  40. package/dist/components/actions/toolbar/toolbar.js +57 -26
  41. package/dist/components/actions/toolbar/toolbar.js.map +1 -1
  42. package/dist/components/actions/toolbar/toolbar.styles.js +7 -7
  43. package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
  44. package/dist/components/actions/toolbar/toolbar.template.js +5 -3
  45. package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
  46. package/dist/components/components.js +2060 -1065
  47. package/dist/components/content/avatar/avatar.d.ts +25 -10
  48. package/dist/components/content/avatar/avatar.d.ts.map +1 -1
  49. package/dist/components/content/avatar/avatar.js +25 -18
  50. package/dist/components/content/avatar/avatar.js.map +1 -1
  51. package/dist/components/content/avatar/avatar.template.d.ts.map +1 -1
  52. package/dist/components/content/avatar/avatar.template.js +7 -3
  53. package/dist/components/content/avatar/avatar.template.js.map +1 -1
  54. package/dist/components/content/avatar-group/avatar-group.d.ts +1 -1
  55. package/dist/components/content/avatar-group/avatar-group.js +1 -1
  56. package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
  57. package/dist/components/content/avatar-group/avatar-group.template.js +6 -2
  58. package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
  59. package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
  60. package/dist/components/content/code-viewer/code-viewer.js +12 -2
  61. package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
  62. package/dist/components/content/icon/icon.d.ts +20 -8
  63. package/dist/components/content/icon/icon.d.ts.map +1 -1
  64. package/dist/components/content/icon/icon.js +32 -12
  65. package/dist/components/content/icon/icon.js.map +1 -1
  66. package/dist/components/content/identity/identity.d.ts +1 -1
  67. package/dist/components/content/identity/identity.js +1 -1
  68. package/dist/components/content/identity/identity.template.d.ts.map +1 -1
  69. package/dist/components/content/identity/identity.template.js +4 -1
  70. package/dist/components/content/identity/identity.template.js.map +1 -1
  71. package/dist/components/content/image/image.template.d.ts.map +1 -1
  72. package/dist/components/content/image/image.template.js +7 -2
  73. package/dist/components/content/image/image.template.js.map +1 -1
  74. package/dist/components/content/rich-text/rich-text.d.ts +18 -9
  75. package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
  76. package/dist/components/content/rich-text/rich-text.js +24 -15
  77. package/dist/components/content/rich-text/rich-text.js.map +1 -1
  78. package/dist/components/content/tag/tag.d.ts +2 -2
  79. package/dist/components/content/tag/tag.d.ts.map +1 -1
  80. package/dist/components/content/tag/tag.js +5 -5
  81. package/dist/components/content/tag/tag.js.map +1 -1
  82. package/dist/components/content/tag/tag.template.js +2 -2
  83. package/dist/components/content/title/title.d.ts +30 -6
  84. package/dist/components/content/title/title.d.ts.map +1 -1
  85. package/dist/components/content/title/title.js +72 -8
  86. package/dist/components/content/title/title.js.map +1 -1
  87. package/dist/components/content/title/title.styles.d.ts.map +1 -1
  88. package/dist/components/content/title/title.styles.js +41 -4
  89. package/dist/components/content/title/title.styles.js.map +1 -1
  90. package/dist/components/content/title/title.template.d.ts +2 -1
  91. package/dist/components/content/title/title.template.d.ts.map +1 -1
  92. package/dist/components/content/title/title.template.js +33 -5
  93. package/dist/components/content/title/title.template.js.map +1 -1
  94. package/dist/components/content/token/token.d.ts +15 -5
  95. package/dist/components/content/token/token.d.ts.map +1 -1
  96. package/dist/components/content/token/token.i18n.d.ts +7 -0
  97. package/dist/components/content/token/token.i18n.d.ts.map +1 -0
  98. package/dist/components/content/token/token.i18n.js +6 -0
  99. package/dist/components/content/token/token.i18n.js.map +1 -0
  100. package/dist/components/content/token/token.js +55 -14
  101. package/dist/components/content/token/token.js.map +1 -1
  102. package/dist/components/content/token/token.template.js +4 -4
  103. package/dist/components/content/token/token.template.js.map +1 -1
  104. package/dist/components/{dist-CENYEz7C.js → dist-B5ie2Bo9.js} +1 -1
  105. package/dist/components/{dist-D_ckX1sK.js → dist-BUu-NW5O.js} +1 -1
  106. package/dist/components/{dist-Y54Lma86.js → dist-CGOykrJw.js} +2 -2
  107. package/dist/components/{dist-CYLM5ciE.js → dist-CQzaKTa8.js} +1 -1
  108. package/dist/components/{dist-yyE8P2O6.js → dist-CSYXsT7W.js} +2 -2
  109. package/dist/components/{dist-BLaE_n_F.js → dist-CoUVHSu-.js} +1 -1
  110. package/dist/components/{dist-DHA-0RyT.js → dist-Dn3c5gfb.js} +7 -1
  111. package/dist/components/{dist-BeymuiGt.js → dist-Dxn9Up8K.js} +3 -3
  112. package/dist/components/{dist-Dh_b9r4M.js → dist-M6GKopqu.js} +1 -1
  113. package/dist/components/{dist-TCqV9dho.js → dist-OlffRM7-.js} +1 -1
  114. package/dist/components/{dist-DkZlotgT.js → dist-RPaf2J9c.js} +2 -2
  115. package/dist/components/forms/form/form.d.ts +18 -7
  116. package/dist/components/forms/form/form.d.ts.map +1 -1
  117. package/dist/components/forms/form/form.js +18 -7
  118. package/dist/components/forms/form/form.js.map +1 -1
  119. package/dist/components/forms/form-actions/form-actions.d.ts +1 -1
  120. package/dist/components/forms/form-actions/form-actions.js +1 -1
  121. package/dist/components/forms/form-field/form-field.d.ts +12 -1
  122. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  123. package/dist/components/forms/form-field/form-field.js +12 -1
  124. package/dist/components/forms/form-field/form-field.js.map +1 -1
  125. package/dist/components/forms/form-section/form-section.d.ts +3 -3
  126. package/dist/components/forms/form-section/form-section.js +8 -8
  127. package/dist/components/forms/form-section/form-section.js.map +1 -1
  128. package/dist/components/forms/validation-list/validation-list.d.ts +7 -4
  129. package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
  130. package/dist/components/forms/validation-list/validation-list.js +7 -4
  131. package/dist/components/forms/validation-list/validation-list.js.map +1 -1
  132. package/dist/components/{icon-C_zwJZ_g.js → icon-DWNVcttg.js} +4 -4
  133. package/dist/components/{icon-button-CEz4MB9H.js → icon-button-hO6k8W63.js} +20 -20
  134. package/dist/components/index.d.ts +1 -1
  135. package/dist/components/index.js +1 -1
  136. package/dist/components/inputs/checkbox/checkbox.template.d.ts.map +1 -1
  137. package/dist/components/inputs/checkbox/checkbox.template.js +11 -5
  138. package/dist/components/inputs/checkbox/checkbox.template.js.map +1 -1
  139. package/dist/components/inputs/combo-box/combo-box.d.ts +4 -1
  140. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  141. package/dist/components/inputs/combo-box/combo-box.js +4 -1
  142. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  143. package/dist/components/inputs/combo-box/combo-box.template.js +2 -2
  144. package/dist/components/inputs/date-field/date-field.d.ts +1 -1
  145. package/dist/components/inputs/date-field/date-field.js +1 -1
  146. package/dist/components/inputs/date-field/date-field.template.d.ts.map +1 -1
  147. package/dist/components/inputs/date-field/date-field.template.js +5 -3
  148. package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
  149. package/dist/components/inputs/date-picker/date-picker.d.ts +1 -1
  150. package/dist/components/inputs/date-picker/date-picker.js +1 -1
  151. package/dist/components/inputs/date-picker/date-picker.template.js +1 -1
  152. package/dist/components/inputs/dropdown/dropdown.template.js +3 -3
  153. package/dist/components/inputs/file-field/file-field.template.js +1 -1
  154. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +2 -2
  155. package/dist/components/inputs/number-field/number-field.styles.js +4 -4
  156. package/dist/components/inputs/password-field/password-field.template.js +2 -2
  157. package/dist/components/inputs/radio-button/radio-button.styles.d.ts.map +1 -1
  158. package/dist/components/inputs/radio-button/radio-button.styles.js +0 -10
  159. package/dist/components/inputs/radio-button/radio-button.styles.js.map +1 -1
  160. package/dist/components/inputs/radio-button/radio-button.template.d.ts.map +1 -1
  161. package/dist/components/inputs/radio-button/radio-button.template.js +6 -4
  162. package/dist/components/inputs/radio-button/radio-button.template.js.map +1 -1
  163. package/dist/components/inputs/radio-button-field/radio-button-field.styles.d.ts.map +1 -1
  164. package/dist/components/inputs/radio-button-field/radio-button-field.styles.js +0 -10
  165. package/dist/components/inputs/radio-button-field/radio-button-field.styles.js.map +1 -1
  166. package/dist/components/inputs/radio-button-field/radio-button-field.template.d.ts.map +1 -1
  167. package/dist/components/inputs/radio-button-field/radio-button-field.template.js +4 -3
  168. package/dist/components/inputs/radio-button-field/radio-button-field.template.js.map +1 -1
  169. package/dist/components/inputs/search-field/search-field.d.ts +24 -24
  170. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  171. package/dist/components/inputs/search-field/search-field.js +40 -40
  172. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  173. package/dist/components/inputs/search-field/search-field.template.d.ts.map +1 -1
  174. package/dist/components/inputs/search-field/search-field.template.js +4 -2
  175. package/dist/components/inputs/search-field/search-field.template.js.map +1 -1
  176. package/dist/components/inputs/segmented-control/segmented-control.d.ts +3 -0
  177. package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
  178. package/dist/components/inputs/segmented-control/segmented-control.js +6 -0
  179. package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
  180. package/dist/components/inputs/segmented-control/segmented-control.styles.d.ts.map +1 -1
  181. package/dist/components/inputs/segmented-control/segmented-control.styles.js +0 -10
  182. package/dist/components/inputs/segmented-control/segmented-control.styles.js.map +1 -1
  183. package/dist/components/inputs/segmented-control/segmented-control.template.js +5 -5
  184. package/dist/components/inputs/segmented-control/segmented-control.template.js.map +1 -1
  185. package/dist/components/inputs/switch/switch.template.js +1 -1
  186. package/dist/components/inputs/text-editor/text-editor.links.js +1 -1
  187. package/dist/components/inputs/text-editor/text-editor.markdown.js +1 -1
  188. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  189. package/dist/components/inputs/text-editor/text-editor.mentions.js +78 -2
  190. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  191. package/dist/components/inputs/text-field/text-field.template.js +2 -2
  192. package/dist/components/inputs/time-field/time-field.d.ts +1 -1
  193. package/dist/components/inputs/time-field/time-field.js +1 -1
  194. package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
  195. package/dist/components/inputs/time-field/time-field.template.js +5 -3
  196. package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
  197. package/dist/components/inputs/time-picker/time-picker.d.ts +1 -1
  198. package/dist/components/inputs/time-picker/time-picker.js +1 -1
  199. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  200. package/dist/components/inputs/toggle-button/toggle-button.styles.js +0 -9
  201. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  202. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  203. package/dist/components/inputs/toggle-button/toggle-button.template.js +7 -6
  204. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  205. package/dist/components/inputs/token-field/token-field.i18n.js +1 -1
  206. package/dist/components/inputs/token-field/token-field.i18n.js.map +1 -1
  207. package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
  208. package/dist/components/inputs/token-field/token-field.styles.js +2 -1
  209. package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
  210. package/dist/components/inputs/token-field/token-field.template.d.ts.map +1 -1
  211. package/dist/components/inputs/token-field/token-field.template.js +6 -4
  212. package/dist/components/inputs/token-field/token-field.template.js.map +1 -1
  213. package/dist/components/layout/app-view/app-view.d.ts +8 -0
  214. package/dist/components/layout/app-view/app-view.d.ts.map +1 -1
  215. package/dist/components/layout/app-view/app-view.js +8 -0
  216. package/dist/components/layout/app-view/app-view.js.map +1 -1
  217. package/dist/components/layout/card/card.d.ts +5 -8
  218. package/dist/components/layout/card/card.d.ts.map +1 -1
  219. package/dist/components/layout/card/card.js +8 -19
  220. package/dist/components/layout/card/card.js.map +1 -1
  221. package/dist/components/layout/card/card.template.d.ts.map +1 -1
  222. package/dist/components/layout/card/card.template.js +6 -3
  223. package/dist/components/layout/card/card.template.js.map +1 -1
  224. package/dist/components/layout/collection/collection.d.ts +11 -6
  225. package/dist/components/layout/collection/collection.d.ts.map +1 -1
  226. package/dist/components/layout/collection/collection.js +19 -14
  227. package/dist/components/layout/collection/collection.js.map +1 -1
  228. package/dist/components/layout/collection/collection.template.d.ts.map +1 -1
  229. package/dist/components/layout/collection/collection.template.js +4 -1
  230. package/dist/components/layout/collection/collection.template.js.map +1 -1
  231. package/dist/components/layout/container/container.d.ts +13 -8
  232. package/dist/components/layout/container/container.d.ts.map +1 -1
  233. package/dist/components/layout/container/container.js +19 -14
  234. package/dist/components/layout/container/container.js.map +1 -1
  235. package/dist/components/layout/page/page.d.ts +52 -2
  236. package/dist/components/layout/page/page.d.ts.map +1 -1
  237. package/dist/components/layout/page/page.js +94 -3
  238. package/dist/components/layout/page/page.js.map +1 -1
  239. package/dist/components/layout/page/page.template.d.ts +6 -0
  240. package/dist/components/layout/page/page.template.d.ts.map +1 -1
  241. package/dist/components/layout/page/page.template.js +21 -6
  242. package/dist/components/layout/page/page.template.js.map +1 -1
  243. package/dist/components/layout/page-footer/page-footer.d.ts +2 -2
  244. package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
  245. package/dist/components/layout/page-footer/page-footer.js +4 -4
  246. package/dist/components/layout/page-footer/page-footer.js.map +1 -1
  247. package/dist/components/layout/page-footer/page-footer.template.d.ts.map +1 -1
  248. package/dist/components/layout/page-footer/page-footer.template.js +16 -4
  249. package/dist/components/layout/page-footer/page-footer.template.js.map +1 -1
  250. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +4 -6
  251. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
  252. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +4 -5
  253. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
  254. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.d.ts.map +1 -1
  255. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.js +8 -2
  256. package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.template.js.map +1 -1
  257. package/dist/components/layout/page-sections/hero/hero.d.ts +13 -15
  258. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  259. package/dist/components/layout/page-sections/hero/hero.js +20 -21
  260. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  261. package/dist/components/layout/page-sections/hero/hero.template.d.ts.map +1 -1
  262. package/dist/components/layout/page-sections/hero/hero.template.js +6 -2
  263. package/dist/components/layout/page-sections/hero/hero.template.js.map +1 -1
  264. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +6 -8
  265. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
  266. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +6 -7
  267. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
  268. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.d.ts.map +1 -1
  269. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js +8 -2
  270. package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.template.js.map +1 -1
  271. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +6 -8
  272. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
  273. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +6 -7
  274. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
  275. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.d.ts.map +1 -1
  276. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js +8 -2
  277. package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.template.js.map +1 -1
  278. package/dist/components/layout/page-sections/page-section-controls.d.ts +139 -44
  279. package/dist/components/layout/page-sections/page-section-controls.d.ts.map +1 -1
  280. package/dist/components/layout/page-sections/page-section-controls.js +44 -47
  281. package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
  282. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +11 -12
  283. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
  284. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +19 -19
  285. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
  286. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.d.ts.map +1 -1
  287. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js +8 -2
  288. package/dist/components/layout/page-sections/sidebar-section/sidebar-section.template.js.map +1 -1
  289. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +14 -8
  290. package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
  291. package/dist/components/layout/page-sections/simple-section/simple-section.js +14 -7
  292. package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
  293. package/dist/components/layout/page-sections/simple-section/simple-section.template.d.ts.map +1 -1
  294. package/dist/components/layout/page-sections/simple-section/simple-section.template.js +8 -2
  295. package/dist/components/layout/page-sections/simple-section/simple-section.template.js.map +1 -1
  296. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +6 -8
  297. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
  298. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +6 -7
  299. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
  300. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.d.ts.map +1 -1
  301. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js +8 -2
  302. package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.template.js.map +1 -1
  303. package/dist/components/layout/popover/popover.d.ts +12 -8
  304. package/dist/components/layout/popover/popover.d.ts.map +1 -1
  305. package/dist/components/layout/popover/popover.js +38 -18
  306. package/dist/components/layout/popover/popover.js.map +1 -1
  307. package/dist/components/layout/sheet/sheet.d.ts +26 -11
  308. package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
  309. package/dist/components/layout/sheet/sheet.js +59 -20
  310. package/dist/components/layout/sheet/sheet.js.map +1 -1
  311. package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
  312. package/dist/components/layout/sheet/sheet.styles.js +8 -4
  313. package/dist/components/layout/sheet/sheet.styles.js.map +1 -1
  314. package/dist/components/layout/sheet/sheet.template.js +1 -1
  315. package/dist/components/layout/sheet/sheet.template.js.map +1 -1
  316. package/dist/components/layout/spacer/spacer.d.ts +15 -2
  317. package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
  318. package/dist/components/layout/spacer/spacer.js +15 -2
  319. package/dist/components/layout/spacer/spacer.js.map +1 -1
  320. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +4 -1
  321. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  322. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +4 -1
  323. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  324. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +11 -6
  325. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
  326. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +17 -12
  327. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
  328. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.d.ts.map +1 -1
  329. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js +4 -0
  330. package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.styles.js.map +1 -1
  331. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +3 -1
  332. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
  333. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +3 -1
  334. package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
  335. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +4 -4
  336. package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts.map +1 -1
  337. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +8 -8
  338. package/dist/components/layout/split-views/split-view-pane/split-view-pane.js.map +1 -1
  339. package/dist/components/layout/window/window.d.ts +30 -18
  340. package/dist/components/layout/window/window.d.ts.map +1 -1
  341. package/dist/components/layout/window/window.js +66 -31
  342. package/dist/components/layout/window/window.js.map +1 -1
  343. package/dist/components/lists-and-tables/cells/cell/cell.d.ts +4 -2
  344. package/dist/components/lists-and-tables/cells/cell/cell.d.ts.map +1 -1
  345. package/dist/components/lists-and-tables/cells/cell/cell.js +7 -5
  346. package/dist/components/lists-and-tables/cells/cell/cell.js.map +1 -1
  347. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.d.ts.map +1 -1
  348. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js +88 -16
  349. package/dist/components/lists-and-tables/cells/drag-handle-cell/drag-handle-cell.template.js.map +1 -1
  350. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts +4 -2
  351. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.d.ts.map +1 -1
  352. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +7 -5
  353. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js.map +1 -1
  354. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
  355. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +23 -0
  356. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
  357. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.d.ts.map +1 -1
  358. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js +11 -2
  359. package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.template.js.map +1 -1
  360. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +2 -2
  361. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
  362. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +5 -5
  363. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  364. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
  365. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +8 -2
  366. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
  367. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts +5 -5
  368. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.d.ts.map +1 -1
  369. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js +8 -8
  370. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.js.map +1 -1
  371. package/dist/components/lists-and-tables/cells/timeline-track-cell/timeline-track-cell.template.js +1 -1
  372. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +3 -3
  373. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  374. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +6 -6
  375. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  376. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
  377. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +8 -2
  378. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
  379. package/dist/components/lists-and-tables/list/list.d.ts +3 -3
  380. package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
  381. package/dist/components/lists-and-tables/list/list.js +6 -6
  382. package/dist/components/lists-and-tables/list/list.js.map +1 -1
  383. package/dist/components/lists-and-tables/list/list.styles.d.ts.map +1 -1
  384. package/dist/components/lists-and-tables/list/list.styles.js +4 -0
  385. package/dist/components/lists-and-tables/list/list.styles.js.map +1 -1
  386. package/dist/components/lists-and-tables/list/list.template.d.ts.map +1 -1
  387. package/dist/components/lists-and-tables/list/list.template.js +25 -8
  388. package/dist/components/lists-and-tables/list/list.template.js.map +1 -1
  389. package/dist/components/lists-and-tables/list-item/list-item.d.ts +61 -38
  390. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  391. package/dist/components/lists-and-tables/list-item/list-item.js +106 -37
  392. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  393. package/dist/components/lists-and-tables/list-item/list-item.styles.d.ts.map +1 -1
  394. package/dist/components/lists-and-tables/list-item/list-item.styles.js +4 -14
  395. package/dist/components/lists-and-tables/list-item/list-item.styles.js.map +1 -1
  396. package/dist/components/lists-and-tables/list-item/list-item.template.d.ts.map +1 -1
  397. package/dist/components/lists-and-tables/list-item/list-item.template.js +2 -1
  398. package/dist/components/lists-and-tables/list-item/list-item.template.js.map +1 -1
  399. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +36 -11
  400. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  401. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +46 -19
  402. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  403. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.d.ts.map +1 -1
  404. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js +4 -14
  405. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.styles.js.map +1 -1
  406. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts +1 -1
  407. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.d.ts.map +1 -1
  408. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js +13 -3
  409. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.template.js.map +1 -1
  410. package/dist/components/lists-and-tables/table/table.d.ts +2 -2
  411. package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
  412. package/dist/components/lists-and-tables/table/table.js +5 -5
  413. package/dist/components/lists-and-tables/table/table.js.map +1 -1
  414. package/dist/components/navigation/breadcrumbs/breadcrumbs.template.js +1 -1
  415. package/dist/components/navigation/document-tab-bar/document-tab-bar.js +6 -6
  416. package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
  417. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
  418. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +9 -3
  419. package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
  420. package/dist/components/navigation/link/link.d.ts +1 -3
  421. package/dist/components/navigation/link/link.d.ts.map +1 -1
  422. package/dist/components/navigation/link/link.js +1 -11
  423. package/dist/components/navigation/link/link.js.map +1 -1
  424. package/dist/components/navigation/link/link.template.d.ts.map +1 -1
  425. package/dist/components/navigation/link/link.template.js +4 -3
  426. package/dist/components/navigation/link/link.template.js.map +1 -1
  427. package/dist/components/navigation/menu-bar-item/menu-bar-item.template.js +4 -4
  428. package/dist/components/navigation/pagination/pagination.styles.js +4 -4
  429. package/dist/components/navigation/pagination/pagination.template.js +1 -1
  430. package/dist/components/navigation/skip-link/skip-link.styles.d.ts.map +1 -1
  431. package/dist/components/navigation/skip-link/skip-link.styles.js +10 -4
  432. package/dist/components/navigation/skip-link/skip-link.styles.js.map +1 -1
  433. package/dist/components/navigation/tab-bar/tab-bar.template.js +2 -2
  434. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.d.ts.map +1 -1
  435. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js +4 -2
  436. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.template.js.map +1 -1
  437. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +6 -2
  438. package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
  439. package/dist/components/navigation/top-title-bar/top-title-bar.js +7 -2
  440. package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
  441. package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +2 -2
  442. package/dist/components/navigation/top-title-bar/top-title-bar.template.d.ts.map +1 -1
  443. package/dist/components/navigation/top-title-bar/top-title-bar.template.js +18 -3
  444. package/dist/components/navigation/top-title-bar/top-title-bar.template.js.map +1 -1
  445. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +4 -4
  446. package/dist/components/status-and-feedback/badge/badge.d.ts +1 -1
  447. package/dist/components/status-and-feedback/badge/badge.js +1 -1
  448. package/dist/components/status-and-feedback/badge/badge.template.js +1 -1
  449. package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
  450. package/dist/components/status-and-feedback/inline-dialog/inline-dialog.template.js +1 -1
  451. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +14 -5
  452. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
  453. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +43 -13
  454. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
  455. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.styles.js +1 -1
  456. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.d.ts.map +1 -1
  457. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js +4 -1
  458. package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js.map +1 -1
  459. package/dist/components/status-and-feedback/notification/notification.d.ts +8 -8
  460. package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
  461. package/dist/components/status-and-feedback/notification/notification.js +13 -13
  462. package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
  463. package/dist/components/status-and-feedback/notification/notification.template.d.ts.map +1 -1
  464. package/dist/components/status-and-feedback/notification/notification.template.js +5 -2
  465. package/dist/components/status-and-feedback/notification/notification.template.js.map +1 -1
  466. package/dist/components/status-and-feedback/notification/{notification-region.d.ts → notifications-area.d.ts} +3 -3
  467. package/dist/components/status-and-feedback/notification/notifications-area.d.ts.map +1 -0
  468. package/dist/components/status-and-feedback/notification/{notification-region.js → notifications-area.js} +137 -140
  469. package/dist/components/status-and-feedback/notification/notifications-area.js.map +1 -0
  470. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  471. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +4 -0
  472. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  473. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.d.ts.map +1 -1
  474. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js +2 -1
  475. package/dist/components/status-and-feedback/progress-bar/progress-bar.template.js.map +1 -1
  476. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
  477. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +106 -18
  478. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
  479. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +2 -4
  480. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  481. package/dist/components/status-and-feedback/status-bar/status-bar.js +2 -8
  482. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  483. package/dist/components/status-and-feedback/status-bar/status-bar.styles.js +1 -1
  484. package/dist/components/status-and-feedback/status-bar/status-bar.template.d.ts.map +1 -1
  485. package/dist/components/status-and-feedback/status-bar/status-bar.template.js +3 -2
  486. package/dist/components/status-and-feedback/status-bar/status-bar.template.js.map +1 -1
  487. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts +4 -1
  488. package/dist/components/status-and-feedback/step-indicator/step-indicator.d.ts.map +1 -1
  489. package/dist/components/status-and-feedback/step-indicator/step-indicator.js +4 -1
  490. package/dist/components/status-and-feedback/step-indicator/step-indicator.js.map +1 -1
  491. package/dist/components/status-and-feedback/step-indicator/step-indicator.template.js +2 -2
  492. package/dist/components/{with-translations-CqUV9S5g.js → with-translations-BAKFoEKy.js} +22 -1
  493. package/dist/css/form-section.css +4 -4
  494. package/dist/css/form.css +4 -0
  495. package/dist/css/fouc.css +1 -1
  496. package/dist/css/rich-text.css +26 -11
  497. package/dist/css/rijksoverheid-fonts.css +1 -1
  498. package/dist/css/variables.css +4 -15
  499. package/dist/favicon.svg +3 -8
  500. package/dist/nldd.min.js +1336 -898
  501. package/dist/touch-icon.png +0 -0
  502. package/dist/types/vue.d.ts +325 -278
  503. package/dist/utilities/form-associated-mixin.d.ts +2 -0
  504. package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
  505. package/dist/utilities/form-associated-mixin.js +15 -1
  506. package/dist/utilities/form-associated-mixin.js.map +1 -1
  507. package/dist/utilities/link-rel.d.ts +13 -0
  508. package/dist/utilities/link-rel.d.ts.map +1 -0
  509. package/dist/utilities/link-rel.js +21 -0
  510. package/dist/utilities/link-rel.js.map +1 -0
  511. package/dist/utilities/page-section-mixin.d.ts +3 -8
  512. package/dist/utilities/page-section-mixin.d.ts.map +1 -1
  513. package/dist/utilities/page-section-mixin.js +4 -84
  514. package/dist/utilities/page-section-mixin.js.map +1 -1
  515. package/dist/utilities/title-bar-label-controller.d.ts +25 -0
  516. package/dist/utilities/title-bar-label-controller.d.ts.map +1 -0
  517. package/dist/utilities/title-bar-label-controller.js +52 -0
  518. package/dist/utilities/title-bar-label-controller.js.map +1 -0
  519. package/package.json +9 -7
  520. package/dist/components/status-and-feedback/notification/notification-region.d.ts.map +0 -1
  521. package/dist/components/status-and-feedback/notification/notification-region.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"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AAC,GAAG,SAAS,KAAK,SAAS,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;QAChE,CAAC,CAAC,EAAE,CAAC;IACN,MAAM,UAAU,GAAG,IAAI,CAAA;;IAEpB,kBAAkB,SAAS,CAAC;IAE/B,MAAM,KAAK,GAAG,IAAI,CAAA;eACJ,YAAY;WAChB,QAAQ,CAAC,WAAW,CAAC;;uBAET,SAAS,CAAC,kBAAkB,IAAI,WAAW;KAC7D,YAAY;KACZ,UAAU;;EAEb,CAAC;IAEF,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAC5B,OAAO,KAAK,CAAC;IACd,CAAC;IAED,OAAO,IAAI,CAAA;;KAEP,KAAK;;uCAE6B,SAAS,CAAC,oBAAoB;OAC9D,SAAS,CAAC,OAAO;MAClB,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAA,+BAA+B,SAAS,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,OAAO;;;EAG7F,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"image.template.js","sourceRoot":"","sources":["../../../../src/components/content/image/image.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,MAAM,UAAU,aAAa,CAAC,SAAoB;IACjD,mEAAmE;IACnE,uEAAuE;IACvE,+CAA+C;IAC/C,wEAAwE;IACxE,wEAAwE;IACxE,uEAAuE;IACvE,wEAAwE;IACxE,8CAA8C;IAC9C,MAAM,UAAU,GAAG,SAAS,CAAC,WAAW,CAAC;IACzC,MAAM,OAAO,GAAG,UAAU,KAAK,IAAI,CAAC;IACpC,MAAM,WAAW,GAA2B,EAAE,CAAC;IAC/C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B,SAAS,CAAC,MAAM,SAAS,CAAC,CAAC,CAAC,OAAO;;;EAG7F,CAAC;AACH,CAAC"}
@@ -5,6 +5,15 @@
5
5
  * typography. Uses no shadow DOM so styles apply to all nested elements.
6
6
  * Import nldd-rich-text.css globally in your application.
7
7
  *
8
+ * ## Direct children
9
+ * The rich text lays out its direct children in a grid: the vertical rhythm
10
+ * between headings, paragraphs and lists, and the width zones below, apply to
11
+ * those children only. A single wrapper `div` without `class`, `style`, `role`
12
+ * or `data-width`, as a markdown renderer or a component root produces it, is
13
+ * passed through with `display: contents`, so its children count as direct.
14
+ * Any other wrapper becomes a single grid item, and the paragraphs inside it
15
+ * lose their spacing.
16
+ *
8
17
  * ## Width zones
9
18
  * Children are placed in three zones: text (headings, paragraphs, lists,
10
19
  * blockquote, div/section) reads at the `main` size; media and tables (img,
@@ -17,31 +26,31 @@
17
26
  *
18
27
  * @element nldd-rich-text
19
28
  *
29
+ * @attr {string} color - 'content' (the default) takes the system's own content
30
+ * colors, each element its own. 'inherit' lets all text follow the color of
31
+ * the surface instead (for colored areas such as the filled categories).
32
+ * Links stay underlined as an affordance; secondary text (figcaption) gets
33
+ * the same color at a lowered opacity. Known v1 gaps: inline code, mark,
34
+ * tables and hr keep their own surfaces.
20
35
  * @attr {string} spacing - Spacing between elements: 'flat' | 'tight' | 'snug' (default) | 'loose'
21
36
  * @attr {boolean} centered - Centers the main column inside the container; without it, content is left-aligned
37
+ * @attr {object} translations - Override translation keys; unset keys fall back to Dutch
22
38
  * @attr {boolean} hyphens - Opt-in automatic hyphenation for running text (p,
23
39
  * li, dd). Needs a correct `lang` on the page (`lang="nl"` on `<html>`, for
24
40
  * instance): without language information the browser does not hyphenate. An
25
41
  * `overflow-wrap: break-word` safety net on p/li is always on, independent of
26
42
  * this attribute, so long URLs and compounds break neatly instead of
27
43
  * overflowing even without a dictionary.
28
- * @attr {string} color - 'content' (the default) takes the system's own content
29
- * colors, each element its own. 'inherit' lets all text follow the color of
30
- * the surface instead (for colored areas such as the filled categories).
31
- * Links stay underlined as an affordance; secondary text (figcaption) gets
32
- * the same color at a lowered opacity. Known v1 gaps: inline code, mark,
33
- * tables and hr keep their own surfaces.
34
- * @attr {object} translations - Override translation keys; unset keys fall back to Dutch
35
44
  */
36
45
  import { LitElement } from 'lit';
37
46
  import type { NLDDRichTextTranslations } from './rich-text.i18n.js';
38
47
  type Spacing = 'flat' | 'tight' | 'snug' | 'loose';
39
48
  export declare class NLDDRichText extends LitElement {
49
+ color: 'content' | 'inherit';
40
50
  spacing: Spacing;
41
51
  centered: boolean;
42
- hyphens: boolean;
43
- color: 'content' | 'inherit';
44
52
  translations: Partial<NLDDRichTextTranslations>;
53
+ hyphens: boolean;
45
54
  _t(key: keyof NLDDRichTextTranslations): string;
46
55
  private _mutationObserver?;
47
56
  private _resizeObserver?;
@@ -1 +1 @@
1
- {"version":3,"file":"rich-text.d.ts","sourceRoot":"","sources":["../../../../src/components/content/rich-text/rich-text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAEpE,KAAK,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAInD,qBACa,YAAa,SAAQ,UAAU;IAE3C,OAAO,EAAE,OAAO,CAAU;IAG1B,QAAQ,UAAS;IAGjB,OAAO,UAAS;IAGhB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAa;IAGzC,YAAY,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAM;IAE9C,EAAE,CAAC,GAAG,EAAE,MAAM,wBAAwB,GAAG,MAAM;IAItD,OAAO,CAAC,iBAAiB,CAAC,CAAmB;IAC7C,OAAO,CAAC,eAAe,CAAC,CAAiB;IAEhC,gBAAgB;IAIhB,iBAAiB,IAAI,IAAI;IAezB,oBAAoB,IAAI,IAAI;IAQrC,OAAO,CAAC,WAAW;CA+BnB;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,YAAY,CAAC;KAC/B;CACD"}
1
+ {"version":3,"file":"rich-text.d.ts","sourceRoot":"","sources":["../../../../src/components/content/rich-text/rich-text.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAEpE,KAAK,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC;AAInD,qBACa,YAAa,SAAQ,UAAU;IAE3C,KAAK,EAAE,SAAS,GAAG,SAAS,CAAa;IAGzC,OAAO,EAAE,OAAO,CAAU;IAG1B,QAAQ,UAAS;IAGjB,YAAY,EAAE,OAAO,CAAC,wBAAwB,CAAC,CAAM;IAGrD,OAAO,UAAS;IAET,EAAE,CAAC,GAAG,EAAE,MAAM,wBAAwB,GAAG,MAAM;IAItD,OAAO,CAAC,iBAAiB,CAAC,CAAmB;IAC7C,OAAO,CAAC,eAAe,CAAC,CAAiB;IAEhC,gBAAgB;IAIhB,iBAAiB,IAAI,IAAI;IAezB,oBAAoB,IAAI,IAAI;IAQrC,OAAO,CAAC,WAAW;CA+BnB;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,gBAAgB,EAAE,YAAY,CAAC;KAC/B;CACD"}
@@ -11,6 +11,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
11
11
  * typography. Uses no shadow DOM so styles apply to all nested elements.
12
12
  * Import nldd-rich-text.css globally in your application.
13
13
  *
14
+ * ## Direct children
15
+ * The rich text lays out its direct children in a grid: the vertical rhythm
16
+ * between headings, paragraphs and lists, and the width zones below, apply to
17
+ * those children only. A single wrapper `div` without `class`, `style`, `role`
18
+ * or `data-width`, as a markdown renderer or a component root produces it, is
19
+ * passed through with `display: contents`, so its children count as direct.
20
+ * Any other wrapper becomes a single grid item, and the paragraphs inside it
21
+ * lose their spacing.
22
+ *
14
23
  * ## Width zones
15
24
  * Children are placed in three zones: text (headings, paragraphs, lists,
16
25
  * blockquote, div/section) reads at the `main` size; media and tables (img,
@@ -23,21 +32,21 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
23
32
  *
24
33
  * @element nldd-rich-text
25
34
  *
35
+ * @attr {string} color - 'content' (the default) takes the system's own content
36
+ * colors, each element its own. 'inherit' lets all text follow the color of
37
+ * the surface instead (for colored areas such as the filled categories).
38
+ * Links stay underlined as an affordance; secondary text (figcaption) gets
39
+ * the same color at a lowered opacity. Known v1 gaps: inline code, mark,
40
+ * tables and hr keep their own surfaces.
26
41
  * @attr {string} spacing - Spacing between elements: 'flat' | 'tight' | 'snug' (default) | 'loose'
27
42
  * @attr {boolean} centered - Centers the main column inside the container; without it, content is left-aligned
43
+ * @attr {object} translations - Override translation keys; unset keys fall back to Dutch
28
44
  * @attr {boolean} hyphens - Opt-in automatic hyphenation for running text (p,
29
45
  * li, dd). Needs a correct `lang` on the page (`lang="nl"` on `<html>`, for
30
46
  * instance): without language information the browser does not hyphenate. An
31
47
  * `overflow-wrap: break-word` safety net on p/li is always on, independent of
32
48
  * this attribute, so long URLs and compounds break neatly instead of
33
49
  * overflowing even without a dictionary.
34
- * @attr {string} color - 'content' (the default) takes the system's own content
35
- * colors, each element its own. 'inherit' lets all text follow the color of
36
- * the surface instead (for colored areas such as the filled categories).
37
- * Links stay underlined as an affordance; secondary text (figcaption) gets
38
- * the same color at a lowered opacity. Known v1 gaps: inline code, mark,
39
- * tables and hr keep their own surfaces.
40
- * @attr {object} translations - Override translation keys; unset keys fall back to Dutch
41
50
  */
42
51
  import { LitElement } from 'lit';
43
52
  import { customElement, property } from 'lit/decorators.js';
@@ -47,11 +56,11 @@ const MANAGED_LABEL_ATTR = 'data-nldd-managed-label';
47
56
  let NLDDRichText = class NLDDRichText extends LitElement {
48
57
  constructor() {
49
58
  super(...arguments);
59
+ this.color = 'content';
50
60
  this.spacing = 'snug';
51
61
  this.centered = false;
52
- this.hyphens = false;
53
- this.color = 'content';
54
62
  this.translations = {};
63
+ this.hyphens = false;
55
64
  }
56
65
  _t(key) {
57
66
  return this.translations[key] ?? nlddRichTextTranslations[key];
@@ -111,21 +120,21 @@ let NLDDRichText = class NLDDRichText extends LitElement {
111
120
  }
112
121
  }
113
122
  };
123
+ __decorate([
124
+ property({ reflect: true, converter: reflectNonDefault('content') })
125
+ ], NLDDRichText.prototype, "color", void 0);
114
126
  __decorate([
115
127
  property({ reflect: true, converter: reflectNonDefault('snug') })
116
128
  ], NLDDRichText.prototype, "spacing", void 0);
117
129
  __decorate([
118
130
  property({ type: Boolean, reflect: true })
119
131
  ], NLDDRichText.prototype, "centered", void 0);
120
- __decorate([
121
- property({ type: Boolean, reflect: true })
122
- ], NLDDRichText.prototype, "hyphens", void 0);
123
- __decorate([
124
- property({ reflect: true, converter: reflectNonDefault('content') })
125
- ], NLDDRichText.prototype, "color", void 0);
126
132
  __decorate([
127
133
  property({ type: Object })
128
134
  ], NLDDRichText.prototype, "translations", void 0);
135
+ __decorate([
136
+ property({ type: Boolean, reflect: true })
137
+ ], NLDDRichText.prototype, "hyphens", void 0);
129
138
  NLDDRichText = __decorate([
130
139
  customElement('nldd-rich-text')
131
140
  ], NLDDRichText);
@@ -1 +1 @@
1
- {"version":3,"file":"rich-text.js","sourceRoot":"","sources":["../../../../src/components/content/rich-text/rich-text.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MA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E,IAAI,EAAE,CAAC;6CAC3B;AAdJ,YAAY;IADxB,aAAa,CAAC,gBAAgB,CAAC;GACnB,YAAY,CAiFxB"}
@@ -10,11 +10,11 @@
10
10
  * click it, it is `nldd-token`.
11
11
  *
12
12
  * @element nldd-tag
13
+ * @attr {string} variant - What is visible: 'text' | 'icon' | 'icon-and-text'. Unset → detected from which of text/icon is present.
13
14
  * @attr {string} color - Color variant. Semantic: 'neutral' | 'accent' | 'success' | 'warning' | 'critical'. Rijkshuisstijl colors: 'lintblauw' | 'donkerblauw' | 'hemelblauw' | 'lichtblauw' | 'paars' | 'violet' | 'robijnrood' | 'roze' | 'rood' | 'oranje' | 'donkergeel' | 'geel' | 'donkerbruin' | 'bruin' | 'donkergroen' | 'groen' | 'mosgroen' | 'mintgroen'. (default: 'neutral')
14
15
  * @attr {string} size - Tag size: 'sm' | 'md' (default: 'md')
15
16
  * @attr {string} text - Tag text (alternative to the default slot)
16
17
  * @attr {string} icon - Icon before the text
17
- * @attr {string} variant - What is visible: 'text' | 'icon' | 'icon-and-text'. Unset → detected from which of text/icon is present.
18
18
  * @attr {string} accessible-label - Accessible label for screen readers. Use this on icon-only tags without visible text.
19
19
  *
20
20
  * @slot - Tag text
@@ -27,11 +27,11 @@ type Size = 'sm' | 'md';
27
27
  type Variant = 'text' | 'icon' | 'icon-and-text';
28
28
  export declare class NLDDTag extends LitElement {
29
29
  static styles: import("lit").CSSResult;
30
+ variant: Variant | '';
30
31
  color: Color;
31
32
  size: Size;
32
33
  text: string;
33
34
  icon: string;
34
- variant: Variant | '';
35
35
  accessibleLabel: string;
36
36
  _hasSlotText: boolean;
37
37
  _hasSlotIcon: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../../src/components/content/tag/tag.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,OAAO,mBAAmB,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,SAAS,GACT,SAAS,GACT,UAAU,GAEV,WAAW,GACX,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,YAAY,GACZ,MAAM,GACN,MAAM,GACN,QAAQ,GACR,YAAY,GACZ,MAAM,GACN,aAAa,GACb,OAAO,GACP,aAAa,GACb,OAAO,GACP,UAAU,GACV,WAAW,CAAC;AACf,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACxB,KAAK,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;AAEjD,qBACa,OAAQ,SAAQ,UAAU;IACtC,OAAgB,MAAM,0BAAa;IAGnC,OAAO,EAAE,OAAO,GAAG,EAAE,CAAM;IAG3B,KAAK,EAAE,KAAK,CAAa;IAGzB,IAAI,EAAE,IAAI,CAAQ;IAGlB,IAAI,SAAM;IAGV,IAAI,SAAM;IAGV,eAAe,SAAM;IAGrB,YAAY,UAAS;IAGrB,YAAY,UAAS;IAErB,OAAO,CAAC,cAAc,CAAC,CAAmB;IAE1C,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,IAAI,QAAQ,IAAI,OAAO,CAEtB;IAED,IAAI,iBAAiB,IAAI,OAAO,CAK/B;IAEQ,iBAAiB;IAajB,oBAAoB;IAM7B,OAAO,CAAC,gBAAgB;IAgBf,OAAO;IASP,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,UAAU,EAAE,OAAO,CAAC;KACpB;CACD"}
@@ -10,11 +10,11 @@
10
10
  * click it, it is `nldd-token`.
11
11
  *
12
12
  * @element nldd-tag
13
+ * @attr {string} variant - What is visible: 'text' | 'icon' | 'icon-and-text'. Unset → detected from which of text/icon is present.
13
14
  * @attr {string} color - Color variant. Semantic: 'neutral' | 'accent' | 'success' | 'warning' | 'critical'. Rijkshuisstijl colors: 'lintblauw' | 'donkerblauw' | 'hemelblauw' | 'lichtblauw' | 'paars' | 'violet' | 'robijnrood' | 'roze' | 'rood' | 'oranje' | 'donkergeel' | 'geel' | 'donkerbruin' | 'bruin' | 'donkergroen' | 'groen' | 'mosgroen' | 'mintgroen'. (default: 'neutral')
14
15
  * @attr {string} size - Tag size: 'sm' | 'md' (default: 'md')
15
16
  * @attr {string} text - Tag text (alternative to the default slot)
16
17
  * @attr {string} icon - Icon before the text
17
- * @attr {string} variant - What is visible: 'text' | 'icon' | 'icon-and-text'. Unset → detected from which of text/icon is present.
18
18
  * @attr {string} accessible-label - Accessible label for screen readers. Use this on icon-only tags without visible text.
19
19
  *
20
20
  * @slot - Tag text
@@ -35,11 +35,11 @@ import './../icon/icon.js';
35
35
  let NLDDTag = class NLDDTag extends LitElement {
36
36
  constructor() {
37
37
  super(...arguments);
38
+ this.variant = '';
38
39
  this.color = 'neutral';
39
40
  this.size = 'md';
40
41
  this.text = '';
41
42
  this.icon = '';
42
- this.variant = '';
43
43
  this.accessibleLabel = '';
44
44
  this._hasSlotText = false;
45
45
  this._hasSlotIcon = false;
@@ -108,6 +108,9 @@ let NLDDTag = class NLDDTag extends LitElement {
108
108
  }
109
109
  };
110
110
  NLDDTag.styles = tagStyles;
111
+ __decorate([
112
+ property({ reflect: true, converter: reflectNonDefault('') })
113
+ ], NLDDTag.prototype, "variant", void 0);
111
114
  __decorate([
112
115
  property({ reflect: true, converter: reflectNonDefault('neutral') })
113
116
  ], NLDDTag.prototype, "color", void 0);
@@ -120,9 +123,6 @@ __decorate([
120
123
  __decorate([
121
124
  property({ type: String })
122
125
  ], NLDDTag.prototype, "icon", void 0);
123
- __decorate([
124
- property({ reflect: true, converter: reflectNonDefault('') })
125
- ], NLDDTag.prototype, "variant", void 0);
126
126
  __decorate([
127
127
  property({ type: String, attribute: 'accessible-label' })
128
128
  ], NLDDTag.prototype, "accessibleLabel", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../../src/components/content/tag/tag.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;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,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC;YACxF,OAAO,CAAC,IAAI,CAAC,qIAAqI,EAAE,IAAI,CAAC,CAAC;QAC3J,CAAC;IACF,CAAC;IAEQ,MAAM;QACd,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;IACvB,CAAC;;AAzFe,cAAM,GAAG,SAAS,AAAZ,CAAa;AAGnC;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAe,EAAE,CAAC,EAAE,CAAC;wCACjD;AAG3B;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAQ,SAAS,CAAC,EAAE,CAAC;sCACnD;AAGzB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAO,IAAI,CAAC,EAAE,CAAC;qCACpD;AAGlB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;qCAC5D;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qCACjB;AAGV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC;gDACrC;AAGrB;IADC,KAAK,EAAE;6CACa;AAGrB;IADC,KAAK,EAAE;6CACa;AAzBT,OAAO;IADnB,aAAa,CAAC,UAAU,CAAC;GACb,OAAO,CA2FnB"}
@@ -17,8 +17,8 @@ export function template(component) {
17
17
  ${showIcon ? html `
18
18
  <span class="tag__icon">
19
19
  ${component.icon
20
- ? html `<nldd-icon name=${component.icon}></nldd-icon>`
21
- : html `<slot name="icon">${variant === 'icon' ? html `<nldd-icon name="icon-placeholder"></nldd-icon>` : nothing}</slot>`}
20
+ ? html `<nldd-icon icon=${component.icon}></nldd-icon>`
21
+ : html `<slot name="icon">${variant === 'icon' ? html `<nldd-icon icon="icon-placeholder"></nldd-icon>` : nothing}</slot>`}
22
22
  </span>
23
23
  ` : nothing}
24
24
  ${showText ? html `
@@ -1,8 +1,14 @@
1
1
  /**
2
2
  * Nederlandse Digitale Dienst Title Bar Component (Lit + TypeScript)
3
3
  *
4
- * A title bar with an optional overline, title, and subtitle on the left, and a
5
- * slot at the end of the title line on the right.
4
+ * A title bar with an optional overline, title, and supporting text on the left,
5
+ * and a slot at the end of the title line on the right.
6
+ *
7
+ * The title comes from `text`, with `heading-level` for its place in the
8
+ * heading structure. `size` is how it looks, `heading-level` what it is, and
9
+ * the two are set apart. `overline` and `supporting-text` go above and below
10
+ * it. Each of the three has a slot in the same place for content that is more
11
+ * than text, and a filled slot takes the place of the attribute.
6
12
  *
7
13
  * @element nldd-title
8
14
  *
@@ -10,20 +16,38 @@
10
16
  * @attr {string} color - 'content' (the default) takes the system's own content
11
17
  * colors. 'inherit' lets the title follow the text color of the surface
12
18
  * instead (for colored areas such as the filled categories); overline and
13
- * subtitle get the same color at a lowered opacity.
19
+ * supporting-text get the same color at a lowered opacity.
20
+ * @attr {string} text - Title text. Content in the default slot takes its place.
21
+ * @attr {string} supporting-text - Text below the title. Content in the supporting-text slot takes its place.
22
+ * @attr {string} overline - Text above the title. Content in the overline slot takes its place.
23
+ * @attr {1|2|3|4|5|6} heading-level - Renders text as h1–h6; absent renders a p, for a title that is not a heading.
14
24
  *
15
- * @slot overline - Optional overline above the title
16
- * @slot - Title text (use h1–h6 for semantics)
17
- * @slot subtitle - Optional subtitle below the title
25
+ * @slot overline - Overline that is more than text. Takes the place of the overline attribute.
26
+ * @slot - Title that is more than text, such as a link. Takes the place of text, and brings its own h1–h6 for semantics.
27
+ * @slot supporting-text - Supporting text that is more than text. Takes the place of the supporting-text attribute.
18
28
  * @slot end - Whatever belongs at the end of the title line: a button, a menu, a status badge, a version. Named for the position, not for a kind of content, because anything can sit there.
19
29
  */
20
30
  import { LitElement } from 'lit';
21
31
  type Size = 1 | 2 | 3 | 4 | 5 | 6;
22
32
  type TitleColor = 'content' | 'inherit';
33
+ type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6;
23
34
  export declare class NLDDTitle extends LitElement {
24
35
  static styles: import("lit").CSSResult;
25
36
  size: Size;
26
37
  color: TitleColor;
38
+ text: string;
39
+ supportingText: string;
40
+ overline: string;
41
+ headingLevel: HeadingLevel | null;
42
+ /** @internal */
43
+ _hasOverlineSlotted: boolean;
44
+ /** @internal */
45
+ _hasDefaultSlotted: boolean;
46
+ /** @internal */
47
+ _hasSupportingTextSlotted: boolean;
48
+ /** @internal */
49
+ _onSlotChange: (e: Event) => void;
50
+ firstUpdated(): void;
27
51
  render(): import("lit-html").TemplateResult;
28
52
  }
29
53
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../src/components/content/title/title.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,KAAK,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAClC,KAAK,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAExC,qBACa,SAAU,SAAQ,UAAU;IACxC,OAAgB,MAAM,0BAAe;IAGrC,IAAI,EAAE,IAAI,CAAK;IAGf,KAAK,EAAE,UAAU,CAAa;IAErB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,YAAY,EAAE,SAAS,CAAC;KACxB;CACD"}
1
+ {"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../src/components/content/title/title.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAMjC,KAAK,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAClC,KAAK,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AACxC,KAAK,YAAY,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAK1C,qBACa,SAAU,SAAQ,UAAU;IACxC,OAAgB,MAAM,0BAAe;IAGrC,IAAI,EAAE,IAAI,CAAK;IAGf,KAAK,EAAE,UAAU,CAAa;IAG9B,IAAI,SAAM;IAGV,cAAc,SAAM;IAGpB,QAAQ,SAAM;IAGd,YAAY,EAAE,YAAY,GAAG,IAAI,CAAQ;IAEzC,gBAAgB;IACP,mBAAmB,UAAS;IACrC,gBAAgB;IACP,kBAAkB,UAAS;IACpC,gBAAgB;IACP,yBAAyB,UAAS;IAE3C,gBAAgB;IAChB,aAAa,GAAI,GAAG,KAAK,KAAG,IAAI,CAS9B;IAEO,YAAY,IAAI,IAAI;IASpB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,YAAY,EAAE,SAAS,CAAC;KACxB;CACD"}
@@ -7,8 +7,14 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  /**
8
8
  * Nederlandse Digitale Dienst Title Bar Component (Lit + TypeScript)
9
9
  *
10
- * A title bar with an optional overline, title, and subtitle on the left, and a
11
- * slot at the end of the title line on the right.
10
+ * A title bar with an optional overline, title, and supporting text on the left,
11
+ * and a slot at the end of the title line on the right.
12
+ *
13
+ * The title comes from `text`, with `heading-level` for its place in the
14
+ * heading structure. `size` is how it looks, `heading-level` what it is, and
15
+ * the two are set apart. `overline` and `supporting-text` go above and below
16
+ * it. Each of the three has a slot in the same place for content that is more
17
+ * than text, and a filled slot takes the place of the attribute.
12
18
  *
13
19
  * @element nldd-title
14
20
  *
@@ -16,26 +22,63 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
16
22
  * @attr {string} color - 'content' (the default) takes the system's own content
17
23
  * colors. 'inherit' lets the title follow the text color of the surface
18
24
  * instead (for colored areas such as the filled categories); overline and
19
- * subtitle get the same color at a lowered opacity.
25
+ * supporting-text get the same color at a lowered opacity.
26
+ * @attr {string} text - Title text. Content in the default slot takes its place.
27
+ * @attr {string} supporting-text - Text below the title. Content in the supporting-text slot takes its place.
28
+ * @attr {string} overline - Text above the title. Content in the overline slot takes its place.
29
+ * @attr {1|2|3|4|5|6} heading-level - Renders text as h1–h6; absent renders a p, for a title that is not a heading.
20
30
  *
21
- * @slot overline - Optional overline above the title
22
- * @slot - Title text (use h1–h6 for semantics)
23
- * @slot subtitle - Optional subtitle below the title
31
+ * @slot overline - Overline that is more than text. Takes the place of the overline attribute.
32
+ * @slot - Title that is more than text, such as a link. Takes the place of text, and brings its own h1–h6 for semantics.
33
+ * @slot supporting-text - Supporting text that is more than text. Takes the place of the supporting-text attribute.
24
34
  * @slot end - Whatever belongs at the end of the title line: a button, a menu, a status badge, a version. Named for the position, not for a kind of content, because anything can sit there.
25
35
  */
26
36
  import { LitElement } from 'lit';
27
- import { customElement, property } from 'lit/decorators.js';
37
+ import { customElement, property, state } from 'lit/decorators.js';
28
38
  import { reflectNonDefault } from '../../../utilities/reflect-non-default.js';
29
39
  import { titleStyles } from './title.styles.js';
30
40
  import { titleTemplate } from './title.template.js';
41
+ /** One warning per page: a missed rename is one search-and-replace, not one per title. */
42
+ let warnedAboutSubtitle = false;
31
43
  let NLDDTitle = class NLDDTitle extends LitElement {
32
44
  constructor() {
33
45
  super(...arguments);
34
46
  this.size = 3;
35
47
  this.color = 'content';
48
+ this.text = '';
49
+ this.supportingText = '';
50
+ this.overline = '';
51
+ this.headingLevel = null;
52
+ /** @internal */
53
+ this._hasOverlineSlotted = false;
54
+ /** @internal */
55
+ this._hasDefaultSlotted = false;
56
+ /** @internal */
57
+ this._hasSupportingTextSlotted = false;
58
+ /** @internal */
59
+ this._onSlotChange = (e) => {
60
+ const slot = e.target;
61
+ // Whitespace between the tags is not content: without this check the text
62
+ // would vanish behind a slot that only holds a newline.
63
+ const hasContent = slot.assignedNodes().some((node) => node.nodeType === Node.ELEMENT_NODE || (node.textContent ?? '').trim().length > 0);
64
+ if (slot.name === 'overline')
65
+ this._hasOverlineSlotted = hasContent;
66
+ else if (slot.name === 'supporting-text')
67
+ this._hasSupportingTextSlotted = hasContent;
68
+ else
69
+ this._hasDefaultSlotted = hasContent;
70
+ };
71
+ }
72
+ firstUpdated() {
73
+ // The subtitle slot was renamed to supporting-text. Content in a slot that
74
+ // no longer exists is not rendered and reports nothing, so say it here.
75
+ if (import.meta.env?.DEV && !warnedAboutSubtitle && this.querySelector(':scope > [slot="subtitle"]')) {
76
+ warnedAboutSubtitle = true;
77
+ console.warn('NLDDTitle: the subtitle slot is now supporting-text. Rename slot="subtitle" to slot="supporting-text", or use the supporting-text attribute, here and on every other nldd-title.');
78
+ }
36
79
  }
37
80
  render() {
38
- return titleTemplate();
81
+ return titleTemplate(this);
39
82
  }
40
83
  };
41
84
  NLDDTitle.styles = titleStyles;
@@ -45,6 +88,27 @@ __decorate([
45
88
  __decorate([
46
89
  property({ reflect: true, converter: reflectNonDefault('content') })
47
90
  ], NLDDTitle.prototype, "color", void 0);
91
+ __decorate([
92
+ property({ reflect: true, converter: reflectNonDefault('') })
93
+ ], NLDDTitle.prototype, "text", void 0);
94
+ __decorate([
95
+ property({ reflect: true, attribute: 'supporting-text', converter: reflectNonDefault('') })
96
+ ], NLDDTitle.prototype, "supportingText", void 0);
97
+ __decorate([
98
+ property({ reflect: true, converter: reflectNonDefault('') })
99
+ ], NLDDTitle.prototype, "overline", void 0);
100
+ __decorate([
101
+ property({ type: Number, reflect: true, attribute: 'heading-level' })
102
+ ], NLDDTitle.prototype, "headingLevel", void 0);
103
+ __decorate([
104
+ state()
105
+ ], NLDDTitle.prototype, "_hasOverlineSlotted", void 0);
106
+ __decorate([
107
+ state()
108
+ ], NLDDTitle.prototype, "_hasDefaultSlotted", void 0);
109
+ __decorate([
110
+ state()
111
+ ], NLDDTitle.prototype, "_hasSupportingTextSlotted", void 0);
48
112
  NLDDTitle = __decorate([
49
113
  customElement('nldd-title')
50
114
  ], NLDDTitle);
@@ -1 +1 @@
1
- {"version":3,"file":"title.js","sourceRoot":"","sources":["../../../../src/components/content/title/title.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAM7C,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,UAAU;IAAlC;;QAIN,SAAI,GAAS,CAAC,CAAC;QAGf,UAAK,GAAe,SAAS,CAAC;IAK/B,CAAC;IAHS,MAAM;QACd,OAAO,aAAa,EAAE,CAAC;IACxB,CAAC;;AAVe,gBAAM,GAAG,WAAW,AAAd,CAAe;AAGrC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;uCAC3B;AAGf;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAa,SAAS,CAAC,EAAE,CAAC;wCACnD;AAPlB,SAAS;IADrB,aAAa,CAAC,YAAY,CAAC;GACf,SAAS,CAYrB"}
1
+ {"version":3,"file":"title.js","sourceRoot":"","sources":["../../../../src/components/content/title/title.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,E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,CAAC,YAAY,CAAC;GACf,SAAS,CAoDrB"}
@@ -1 +1 @@
1
- {"version":3,"file":"title.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/title/title.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,WAAW,yBAuPvB,CAAC"}
1
+ {"version":3,"file":"title.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/content/title/title.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,WAAW,yBA4RvB,CAAC"}
@@ -199,6 +199,13 @@ export const titleStyles = css `
199
199
  flex-basis: 0;
200
200
  }
201
201
 
202
+ .title__overline {
203
+ margin: 0;
204
+ color: var(--semantics-content-secondary-color);
205
+ font: var(--primitives-font-body-sm-regular-tight);
206
+ overflow-wrap: anywhere;
207
+ }
208
+
202
209
  ::slotted([slot="overline"]) {
203
210
  ${slottedReset}
204
211
  ${inheritedTextReset}
@@ -210,6 +217,15 @@ export const titleStyles = css `
210
217
 
211
218
  /* The measure is in ch, so one value covers every size: ch scales with the
212
219
  font, and 40 characters stays 40 characters at 18px and at 52px. */
220
+ .title__text {
221
+ margin: 0;
222
+ max-width: 40ch;
223
+ color: var(--semantics-content-color);
224
+ font: var(--_font);
225
+ overflow-wrap: anywhere;
226
+ text-wrap: balance;
227
+ }
228
+
213
229
  ::slotted(:not([slot])) {
214
230
  ${slottedReset}
215
231
  ${inheritedTextReset}
@@ -221,7 +237,14 @@ export const titleStyles = css `
221
237
  text-wrap: balance !important;
222
238
  }
223
239
 
224
- ::slotted([slot="subtitle"]) {
240
+ .title__supporting-text {
241
+ margin: 0;
242
+ color: var(--semantics-content-secondary-color);
243
+ font: var(--primitives-font-body-md-regular-tight);
244
+ overflow-wrap: anywhere;
245
+ }
246
+
247
+ ::slotted([slot="supporting-text"]) {
225
248
  ${slottedReset}
226
249
  ${inheritedTextReset}
227
250
  margin: 0 !important;
@@ -230,11 +253,25 @@ export const titleStyles = css `
230
253
  overflow-wrap: anywhere !important;
231
254
  }
232
255
 
233
- :host([size="5"]) ::slotted([slot="subtitle"]),
234
- :host([size="6"]) ::slotted([slot="subtitle"]) {
256
+ :host([size="5"]) .title__supporting-text,
257
+ :host([size="6"]) .title__supporting-text {
258
+ font: var(--primitives-font-body-sm-regular-tight);
259
+ }
260
+
261
+ :host([size="5"]) ::slotted([slot="supporting-text"]),
262
+ :host([size="6"]) ::slotted([slot="supporting-text"]) {
235
263
  font: var(--primitives-font-body-sm-regular-tight) !important;
236
264
  }
237
265
 
266
+ :host([color="inherit"]) .title__text {
267
+ color: inherit;
268
+ }
269
+
270
+ :host([color="inherit"]) .title__overline,
271
+ :host([color="inherit"]) .title__supporting-text {
272
+ color: color-mix(in oklab, currentColor var(--semantics-content-secondary-opacity), transparent);
273
+ }
274
+
238
275
  /* !important matches the hardened slotted rules above. */
239
276
 
240
277
  :host([color="inherit"]) ::slotted(:not([slot])) {
@@ -242,7 +279,7 @@ export const titleStyles = css `
242
279
  }
243
280
 
244
281
  :host([color="inherit"]) ::slotted([slot="overline"]),
245
- :host([color="inherit"]) ::slotted([slot="subtitle"]) {
282
+ :host([color="inherit"]) ::slotted([slot="supporting-text"]) {
246
283
  color: color-mix(in oklab, currentColor var(--semantics-content-secondary-opacity), transparent) !important;
247
284
  }
248
285
 
@@ -1 +1 @@
1
- {"version":3,"file":"title.styles.js","sourceRoot":"","sources":["../../../../src/components/content/title/title.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE3F,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC3C,MAAM,KAAK,GAAG,SAAS,CAAC,WAAW,CAAC,KAAK,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;;uBAIL,KAAK,qBAAqB,KAAK;;;;uBAI/B,KAAK;;;;4CAIgB,KAAK;;;;4CAIL,KAAK,qBAAqB,KAAK;;;;4CAI/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwC7C,YAAY;IACZ,kBAAkB;;;;;;;;;;;;;;;;;;;IAmBlB,YAAY;IACZ,kBAAkB;;;;;;;;;;;;;;;;;IAiBlB,YAAY;IACZ,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CrB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { TemplateResult } from 'lit';
2
- export declare function titleTemplate(): TemplateResult;
2
+ import type { NLDDTitle } from './title.js';
3
+ export declare function titleTemplate(component: NLDDTitle): TemplateResult;
3
4
  //# sourceMappingURL=title.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"title.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/title/title.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAC;AAE3C,wBAAgB,aAAa,IAAI,cAAc,CAa9C"}
1
+ {"version":3,"file":"title.template.d.ts","sourceRoot":"","sources":["../../../../src/components/content/title/title.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AAEpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAqB5C,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,cAAc,CAsBlE"}