@nldd/design-system 0.30.1 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (426) hide show
  1. package/custom-elements.json +2319 -110
  2. package/dist/cdn/autoloader.js +139 -139
  3. package/dist/cdn/chunks/{accordion-BcgFdNtq.js → accordion-CLT6C7Ys.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-item-DIoa4wMw.js → accordion-item-DqkLuze7.js} +5 -5
  5. package/dist/cdn/chunks/{activity-indicator-BmpMwyBH.js → activity-indicator-DYgJcdQr.js} +7 -6
  6. package/dist/cdn/chunks/{admonition-DUsuT-qK.js → admonition-307OSenQ.js} +5 -5
  7. package/dist/cdn/chunks/{avatar-BFnVbTB9.js → avatar-DZx4eWGL.js} +7 -7
  8. package/dist/cdn/chunks/{avatar-group-BDgLxUn9.js → avatar-group-D0Z4Yu0y.js} +15 -15
  9. package/dist/cdn/chunks/{badge-CAN4lWcI.js → badge-Ez8ID47C.js} +6 -6
  10. package/dist/cdn/chunks/{banner-BncAmkYl.js → banner-Cu1cwuLr.js} +9 -8
  11. package/dist/cdn/chunks/{bar-split-view-hlmRlFit.js → bar-split-view-7bviCuBj.js} +52 -32
  12. package/dist/cdn/chunks/{blockquote-DUAwVT6v.js → blockquote-PCr0GO6z.js} +7 -7
  13. package/dist/cdn/chunks/{box-CasAZ5pk.js → box-BOZDuPmd.js} +3 -3
  14. package/dist/cdn/chunks/{breadcrumbs-DBHmoFPu.js → breadcrumbs-CVXCsvXU.js} +6 -6
  15. package/dist/cdn/chunks/{button-IRm7Oibq.js → button-3Up7cEWx.js} +14 -10
  16. package/dist/cdn/chunks/{button-bar-CocGraYA.js → button-bar-bK3oi0e-.js} +3 -3
  17. package/dist/cdn/chunks/{button-group-BfNf2BZe.js → button-group-DSBBqKvs.js} +2 -2
  18. package/dist/cdn/chunks/{card-BaomP9oB.js → card-CH0xAbO6.js} +4 -4
  19. package/dist/cdn/chunks/{cell-Dir3g5vA.js → cell-BwW6TV8v.js} +6 -6
  20. package/dist/cdn/chunks/{checkbox-CIXkUW3R.js → checkbox-CYR3ChYP.js} +5 -5
  21. package/dist/cdn/chunks/{checkbox-field-DQ4MlASP.js → checkbox-field-D43DeCUk.js} +8 -8
  22. package/dist/cdn/chunks/{checkbox-group-C8E46V4D.js → checkbox-group-BVr37vFn.js} +3 -3
  23. package/dist/cdn/chunks/{class-map-D0fkDSLP.js → class-map-B9MjP-Ik.js} +1 -1
  24. package/dist/cdn/chunks/{code-editor-C8YqZrN-.js → code-editor-CGx_sn9q.js} +13 -13
  25. package/dist/cdn/chunks/{code-viewer-Ck7wxfDo.js → code-viewer-CyEZJm0a.js} +38 -38
  26. package/dist/cdn/chunks/{codemirror-input-DNrSyYSw.js → codemirror-input-BRShjOew.js} +345 -345
  27. package/dist/cdn/chunks/{collection-DprNdn8V.js → collection-B3wQHswI.js} +8 -8
  28. package/dist/cdn/chunks/{combo-box-B2L79FY5.js → combo-box-UI2A1nHw.js} +11 -9
  29. package/dist/cdn/chunks/{container-Cg4kOUN8.js → container-GzgjWXSY.js} +3 -3
  30. package/dist/cdn/chunks/{custom-element-CDepWGgp.js → custom-element-CF94IDoN.js} +1 -1
  31. package/dist/cdn/chunks/{date-field-Dsw2EkcZ.js → date-field-BoAnSKOD.js} +14 -12
  32. package/dist/cdn/chunks/{date-picker-ugS3-VBq.js → date-picker-Dn80yrfN.js} +11 -11
  33. package/dist/cdn/chunks/{decorate-CuJsiFnl.js → decorate-DNdCDV-Z.js} +1 -1
  34. package/dist/cdn/chunks/{described-by-mixin-Ih_IoqBD.js → described-by-mixin-6MEe_hOH.js} +2 -2
  35. package/dist/cdn/chunks/{description-cell-DiLwKDva.js → description-cell-QR-as1SF.js} +7 -7
  36. package/dist/cdn/chunks/{dev-checks-Bfy3qHxO.js → dev-checks-DlNQtR5p.js} +24 -19
  37. package/dist/cdn/chunks/{directive-helpers-DEvA8txp.js → directive-helpers-9JM8Li8K.js} +1 -1
  38. package/dist/cdn/chunks/{dist-BYPfq6x4.js → dist-B5rtEAPd.js} +35 -35
  39. package/dist/cdn/chunks/{dist-CrMq7oqC.js → dist-BGxQOo33.js} +103 -103
  40. package/dist/cdn/chunks/{dist-BEZuPWxd.js → dist-BKGDiUni.js} +75 -75
  41. package/dist/cdn/chunks/{dist-DsQS8bTi.js → dist-BvZqEQHV.js} +36 -36
  42. package/dist/cdn/chunks/{dist-cg8p9qPS.js → dist-C6dhaR9M.js} +12 -12
  43. package/dist/cdn/chunks/{dist-BFGGXlGI.js → dist-CIp0mUeR.js} +83 -83
  44. package/dist/cdn/chunks/{dist-s2b8iJ30.js → dist-DVm3azdM.js} +66 -66
  45. package/dist/cdn/chunks/{dist-Cr0OiT-0.js → dist-Drahkxmv.js} +1 -1
  46. package/dist/cdn/chunks/{dist-Djmp37M0.js → dist-Dtrv48QJ.js} +47 -47
  47. package/dist/cdn/chunks/{dist-CUXioD4z.js → dist-Duw9BWmb.js} +307 -307
  48. package/dist/cdn/chunks/{dist-DPnEBzju.js → dist-QKanuZ5c.js} +36 -36
  49. package/dist/cdn/chunks/{dist-C8wDJyDH.js → dist-gCusBxjl.js} +66 -66
  50. package/dist/cdn/chunks/{dist-UpdpX10o.js → dist-z3iYo2pQ.js} +80 -80
  51. package/dist/cdn/chunks/{divider-DeLH4QwC.js → divider-Dv0ZKI-0.js} +2 -2
  52. package/dist/cdn/chunks/{document-tab-bar-bOkWFMdJ.js → document-tab-bar-Dzp5ncIl.js} +9 -9
  53. package/dist/cdn/chunks/{dropdown-C1NBctuB.js → dropdown-kVarufY1.js} +5 -5
  54. package/dist/cdn/chunks/{file-field-DFjBl7rn.js → file-field-B0aEvinG.js} +14 -14
  55. package/dist/cdn/chunks/{form-mkjbjprY.js → form-CvuALdyG.js} +1 -1
  56. package/dist/cdn/chunks/{form-actions-DcsN5H-J.js → form-actions-BPehBKcl.js} +2 -2
  57. package/dist/cdn/chunks/{form-associated-mixin-YG9BXK0j.js → form-associated-mixin-BMdwBjn_.js} +29 -3
  58. package/dist/cdn/chunks/{form-field-BWtox2o0.js → form-field-B0pcB33o.js} +8 -8
  59. package/dist/cdn/chunks/{form-section-CLuotkhm.js → form-section-DWlfhgMj.js} +3 -3
  60. package/dist/cdn/chunks/{full-bleed-section-CZfvZFDs.js → full-bleed-section-4orVi9nk.js} +3 -3
  61. package/dist/cdn/chunks/{hero-C_x5gAKl.js → hero-DvG8bQx1.js} +155 -103
  62. package/dist/cdn/chunks/{icon-CeybqndL.js → icon-CoujQk37.js} +3 -3
  63. package/dist/cdn/chunks/{icon-button-BLe-iiU5.js → icon-button-CghwJ1ZM.js} +10 -10
  64. package/dist/cdn/chunks/{icon-cell-DUBctf2q.js → icon-cell-CB8JJxPx.js} +5 -5
  65. package/dist/cdn/chunks/{identity-C4FW2LCv.js → identity-D7knBYp4.js} +7 -7
  66. package/dist/cdn/chunks/{if-defined-DwzUaXrb.js → if-defined-DogpZQqB.js} +1 -1
  67. package/dist/cdn/chunks/{image-7aQSrryL.js → image-Cabp3_Mm.js} +19 -14
  68. package/dist/cdn/chunks/{inline-dialog-B9o9ckxL.js → inline-dialog-BA1HLcgr.js} +8 -8
  69. package/dist/cdn/chunks/{just-in-time-education-C-3THmVJ.js → just-in-time-education-k1iYVZNa.js} +5 -5
  70. package/dist/cdn/chunks/{kanban-BemPSLk8.js → kanban-MhZkM6ah.js} +5 -5
  71. package/dist/cdn/chunks/{kanban-column-CYZjUBUd.js → kanban-column-EHsh2VXL.js} +4 -4
  72. package/dist/cdn/chunks/{keyboard-shortcut-BK35aEeR.js → keyboard-shortcut-ClT66akm.js} +4 -4
  73. package/dist/cdn/chunks/{languages-CT6Im_c5.js → languages-ksBh8Hul.js} +181 -170
  74. package/dist/cdn/chunks/{link-Lbw4Ut52.js → link-B9gG-fEr.js} +6 -6
  75. package/dist/cdn/chunks/{link-group-B1XXP70E.js → link-group-C3Z_3TDw.js} +2 -2
  76. package/dist/cdn/chunks/{list-D2vWEpYC.js → list-BqJ_ucfa.js} +9 -9
  77. package/dist/cdn/chunks/{list-item-Y0wOQqRa.js → list-item-DpQBn1El.js} +74 -73
  78. package/dist/cdn/chunks/{list-item-segment-BamNSRcL.js → list-item-segment-AVJcFdeh.js} +29 -28
  79. package/dist/cdn/chunks/{menu-Cvwt6mA5.js → menu-CYxTNgBa.js} +10 -10
  80. package/dist/cdn/chunks/{menu-bar-D9Etcq_r.js → menu-bar-BcZ1EP6b.js} +13 -8
  81. package/dist/cdn/chunks/{menu-bar-item-BUVqi3o-.js → menu-bar-item-D0UrqKlH.js} +7 -7
  82. package/dist/cdn/chunks/{menu-divider-BqRMxjF3.js → menu-divider-uvK-8rJG.js} +3 -3
  83. package/dist/cdn/chunks/{menu-group-BSnRGQgm.js → menu-group-BIPjBdrU.js} +4 -4
  84. package/dist/cdn/chunks/{menu-item-UQoejlK0.js → menu-item-DcBe9_qD.js} +4 -4
  85. package/dist/cdn/chunks/{menu.template-CewvJO-Y.js → menu.template-BFq905uv.js} +6 -6
  86. package/dist/cdn/chunks/{modal-dialog-C6XUoI95.js → modal-dialog-CXfPMsvc.js} +4 -4
  87. package/dist/cdn/chunks/{multi-line-text-field-4Vn5Nrjo.js → multi-line-text-field-BLibOq1E.js} +8 -6
  88. package/dist/cdn/chunks/{navigation-split-view-BEwcAHWu.js → navigation-split-view-jk6HesTp.js} +5 -5
  89. package/dist/cdn/chunks/{nl.generated-CrkPlg69.js → nl.generated-Bu83qDco.js} +1 -1
  90. package/dist/cdn/chunks/{notification-DxsARz6U.js → notification-Bc53Pa5u.js} +7 -7
  91. package/dist/cdn/chunks/{number-field-wFK_taVU.js → number-field-CYDiJ7CO.js} +40 -16
  92. package/dist/cdn/chunks/{one-half-one-half-section-CyedWMlH.js → one-half-one-half-section-DTTHJknv.js} +3 -3
  93. package/dist/cdn/chunks/{one-third-two-thirds-section-LRJlzoAZ.js → one-third-two-thirds-section-C0YU3ss3.js} +3 -3
  94. package/dist/cdn/chunks/{one-time-code-field-BYQfRePV.js → one-time-code-field-DsfKUJDd.js} +18 -13
  95. package/dist/cdn/chunks/{overflow-menu-BdEHECvL.js → overflow-menu-8GWanho5.js} +1 -1
  96. package/dist/cdn/chunks/{page-DpGgV58g.js → page-BIXY8Czs.js} +5 -5
  97. package/dist/cdn/chunks/{page-footer-DxaWwS8U.js → page-footer-BSPneEMd.js} +5 -5
  98. package/dist/cdn/chunks/{page-section-mixin-DigQhtVE.js → page-section-mixin-HrMHOk9c.js} +3 -3
  99. package/dist/cdn/chunks/{pagination-Ch0EdxDX.js → pagination-DkV6axw8.js} +7 -7
  100. package/dist/cdn/chunks/{password-field-Dm8ah1v8.js → password-field-eZtU3DR2.js} +11 -9
  101. package/dist/cdn/chunks/{popover-Bhr3Nbst.js → popover-BjXDnHDF.js} +5 -5
  102. package/dist/cdn/chunks/press-feedback-BtUqwC_0.js +12 -0
  103. package/dist/cdn/chunks/{progress-bar-BBpNc1Wm.js → progress-bar-D5-CB4NJ.js} +14 -15
  104. package/dist/cdn/chunks/{progress-circle-DfbawfeQ.js → progress-circle-tXH6BMlN.js} +18 -16
  105. package/dist/cdn/chunks/{radio-button-D_KTcIAN.js → radio-button-CsgnS_Qn.js} +4 -4
  106. package/dist/cdn/chunks/{radio-button-field-H_NQqcZp.js → radio-button-field-DbnG-fR8.js} +7 -7
  107. package/dist/cdn/chunks/{radio-button-group-kbaWn4YY.js → radio-button-group-BUujUoVm.js} +3 -3
  108. package/dist/cdn/chunks/{render-marked-DnJwRVpy.js → render-marked-BSbmklIR.js} +1 -1
  109. package/dist/cdn/chunks/{reorder-handle-cell-BI4CugME.js → reorder-handle-cell-Bi_v5VZB.js} +4 -4
  110. package/dist/cdn/chunks/{reorder-handle-mixin-LPcbGhhD.js → reorder-handle-mixin-Cu-u0TY-.js} +2 -2
  111. package/dist/cdn/chunks/{repeat-BBqtniIo.js → repeat-DU632DST.js} +2 -2
  112. package/dist/cdn/chunks/{rich-text-xlU1NiF6.js → rich-text-C4DZxOTU.js} +3 -3
  113. package/dist/cdn/chunks/{row-header-mixin-CyqWb67i.js → row-header-mixin-CMAyjE-7.js} +2 -2
  114. package/dist/cdn/chunks/{scroll-fade-CTn6QJuM.js → scroll-fade-DBQ2mD8Y.js} +2 -2
  115. package/dist/cdn/chunks/{search-field-OpYujGwS.js → search-field-NJcMkh2l.js} +12 -10
  116. package/dist/cdn/chunks/{segmented-control-8NtY_sU6.js → segmented-control-Bx0X7A2X.js} +7 -7
  117. package/dist/cdn/chunks/{shadow-resets-CtbMaZlz.js → shadow-resets-BplgOKPc.js} +2 -2
  118. package/dist/cdn/chunks/{sheet-C_biEFcb.js → sheet-96shetPW.js} +3 -3
  119. package/dist/cdn/chunks/{shell-OXRr3zFb.js → shell-D53z8Daa.js} +3 -3
  120. package/dist/cdn/chunks/{side-by-side-split-view-DVXrHULp.js → side-by-side-split-view-CA3ZYDmC.js} +4 -4
  121. package/dist/cdn/chunks/{sidebar-section-DYa_6OWF.js → sidebar-section-oUXcNchf.js} +8 -8
  122. package/dist/cdn/chunks/{simple-section-CGUSyUAl.js → simple-section-DhSCulaz.js} +3 -3
  123. package/dist/cdn/chunks/{skip-link-Dl2ouKZk.js → skip-link-CNvkL2ng.js} +5 -5
  124. package/dist/cdn/chunks/{slider-Do-LOJNR.js → slider-Ba5O0jF6.js} +12 -11
  125. package/dist/cdn/chunks/{spacer-BgHrBz2X.js → spacer-Bz-xBLrh.js} +2 -2
  126. package/dist/cdn/chunks/{spacer-cell-CiQ8Ufpp.js → spacer-cell-k1AYw_80.js} +4 -4
  127. package/dist/cdn/chunks/{split-button-Sd_-qYSD.js → split-button-DwHGhJ94.js} +7 -7
  128. package/dist/cdn/chunks/{split-view-divider-D1TzV2VR.js → split-view-divider-BTt7hrtq.js} +2 -2
  129. package/dist/cdn/chunks/{stacked-split-view-Ctlqwe0S.js → stacked-split-view-Cq3kBEo7.js} +4 -4
  130. package/dist/cdn/chunks/{static-html-C8oeEnJZ.js → static-html-C1_QY9-9.js} +1 -1
  131. package/dist/cdn/chunks/{status-bar-u2SmYnKZ.js → status-bar-Y3NC9vFo.js} +4 -4
  132. package/dist/cdn/chunks/{step-bar-BA852p33.js → step-bar-DEOX-7NN.js} +7 -7
  133. package/dist/cdn/chunks/{step-cell-DF9xadrF.js → step-cell-Crml9Hpt.js} +5 -5
  134. package/dist/cdn/chunks/{stepper-dRpkKCse.js → stepper-XZGIlIIU.js} +7 -7
  135. package/dist/cdn/chunks/{style-map-eCE91iAi.js → style-map-Bznyirg7.js} +1 -1
  136. package/dist/cdn/chunks/{swatch-picker-Bjv3Yyk1.js → swatch-picker-4fIhPJQc.js} +6 -6
  137. package/dist/cdn/chunks/{switch-DJBzXPfD.js → switch-DPjb_Wtv.js} +6 -6
  138. package/dist/cdn/chunks/{switch-field-uMAxSz6L.js → switch-field-DF96_PUQ.js} +7 -7
  139. package/dist/cdn/chunks/{tab-bar-DLHqLs6Y.js → tab-bar-CtZpacEn.js} +8 -8
  140. package/dist/cdn/chunks/{table-BLvkO5AG.js → table-S76Xq4j8.js} +5 -5
  141. package/dist/cdn/chunks/{tag-DYhl2u2I.js → tag-Bzem1z9I.js} +5 -5
  142. package/dist/cdn/chunks/{term-D79d-lz3.js → term-Bbuv7_kb.js} +12 -12
  143. package/dist/cdn/chunks/{text-kRZ3cyId.js → text-C7mSKF-E.js} +4 -4
  144. package/dist/cdn/chunks/{text-cell-BbVoThab.js → text-cell-CMXSo5Ra.js} +9 -9
  145. package/dist/cdn/chunks/{text-editor-dZhei5Gg.js → text-editor-DgkEF4fV.js} +1307 -903
  146. package/dist/cdn/chunks/{text-editor.i18n-sJKiRQ4i.js → text-editor.i18n-Cl_BYDwS.js} +2 -1
  147. package/dist/cdn/chunks/{text-field-DmKGVJvm.js → text-field-B06CiuOY.js} +8 -6
  148. package/dist/cdn/chunks/{text-wrap-C6QQbSuj.js → text-wrap-EQF-fBi4.js} +2 -2
  149. package/dist/cdn/chunks/{time-field-BXVxhV80.js → time-field-CUvhCoHF.js} +16 -14
  150. package/dist/cdn/chunks/{time-picker-BjJfPmir.js → time-picker-wgfjQpFB.js} +6 -6
  151. package/dist/cdn/chunks/{title-DsOLSMHj.js → title-Uzi0g--W.js} +5 -5
  152. package/dist/cdn/chunks/{title-cell-DXcur6Eb.js → title-cell-Cc9j1I4W.js} +9 -9
  153. package/dist/cdn/chunks/{toggle-button-7fasRpr1.js → toggle-button-DeKfh6eM.js} +9 -9
  154. package/dist/cdn/chunks/{toggle-button-group-B9No_FIj.js → toggle-button-group-DU2SGR3P.js} +2 -2
  155. package/dist/cdn/chunks/{token-BYCl-dDP.js → token-BC3tY59o.js} +5 -5
  156. package/dist/cdn/chunks/{token-field-C9fGsIxB.js → token-field-BO_hUPuR.js} +13 -11
  157. package/dist/cdn/chunks/{toolbar-CBs6yMNd.js → toolbar-BWmrbOds.js} +9 -9
  158. package/dist/cdn/chunks/{toolbar-item-DYVo5I60.js → toolbar-item-jnrwcrih.js} +3 -3
  159. package/dist/cdn/chunks/{toolbar-title-Bu5PbFPP.js → toolbar-title-STB4FCnn.js} +4 -4
  160. package/dist/cdn/chunks/{toolbar.styles-BUS-XIdr.js → toolbar.styles-D7-Iy0U9.js} +3 -11
  161. package/dist/cdn/chunks/{tooltip-yXDfEbZ1.js → tooltip-C1qPjhuT.js} +5 -5
  162. package/dist/cdn/chunks/{top-navigation-bar-DW6xYKY0.js → top-navigation-bar-9Iy3niRW.js} +117 -128
  163. package/dist/cdn/chunks/{top-title-bar-Fk4jzs8I.js → top-title-bar-AiWXxvEn.js} +6 -6
  164. package/dist/cdn/chunks/{two-thirds-one-third-section-B9a1YYXm.js → two-thirds-one-third-section-B4-HS2qN.js} +3 -3
  165. package/dist/cdn/chunks/{validation-list-BAyP6Ccd.js → validation-list-_cQOzDKg.js} +5 -5
  166. package/dist/cdn/chunks/{visibility-mixin-9Nr_J68Z.js → visibility-mixin-yf02zdEy.js} +2 -2
  167. package/dist/cdn/chunks/{visually-hidden-BN6jVrRE.js → visually-hidden-hjpQo7w2.js} +2 -2
  168. package/dist/cdn/chunks/{window-D4rLzdHo.js → window-Br52FScm.js} +4 -4
  169. package/dist/cdn/chunks/{with-translations-RkK-Bq8M.js → with-translations-Z7dHTxzy.js} +3 -3
  170. package/dist/components/actions/button/button.styles.d.ts.map +1 -1
  171. package/dist/components/actions/button/button.styles.js +4 -0
  172. package/dist/components/actions/button/button.styles.js.map +1 -1
  173. package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
  174. package/dist/components/actions/toolbar/toolbar.styles.js +0 -8
  175. package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
  176. package/dist/components/content/avatar/avatar.styles.js +1 -1
  177. package/dist/components/content/blockquote/blockquote.d.ts +2 -2
  178. package/dist/components/content/blockquote/blockquote.js +2 -2
  179. package/dist/components/content/blockquote/blockquote.styles.js +2 -2
  180. package/dist/components/content/icon/icon.d.ts +1 -1
  181. package/dist/components/content/icon/icon.js +1 -1
  182. package/dist/components/content/icon/icon.styles.js +1 -1
  183. package/dist/components/content/identity/identity.d.ts +1 -1
  184. package/dist/components/content/identity/identity.js +1 -1
  185. package/dist/components/content/image/image.d.ts +2 -2
  186. package/dist/components/content/image/image.d.ts.map +1 -1
  187. package/dist/components/content/image/image.js +3 -3
  188. package/dist/components/content/image/image.js.map +1 -1
  189. package/dist/components/content/image/image.styles.d.ts.map +1 -1
  190. package/dist/components/content/image/image.styles.js +5 -2
  191. package/dist/components/content/image/image.styles.js.map +1 -1
  192. package/dist/components/content/image/image.template.d.ts.map +1 -1
  193. package/dist/components/content/image/image.template.js +3 -1
  194. package/dist/components/content/image/image.template.js.map +1 -1
  195. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +1 -1
  196. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +1 -1
  197. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +1 -1
  198. package/dist/components/content/text/text.d.ts +1 -1
  199. package/dist/components/content/text/text.js +1 -1
  200. package/dist/components/inputs/checkbox/checkbox.d.ts +1 -1
  201. package/dist/components/inputs/checkbox/checkbox.js +1 -1
  202. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +1 -1
  203. package/dist/components/inputs/checkbox-field/checkbox-field.js +1 -1
  204. package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
  205. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  206. package/dist/components/inputs/combo-box/combo-box.styles.js +2 -0
  207. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  208. package/dist/components/inputs/date-field/date-field.d.ts +1 -1
  209. package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
  210. package/dist/components/inputs/date-field/date-field.styles.js +2 -0
  211. package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
  212. package/dist/components/inputs/date-picker/date-picker.d.ts +1 -1
  213. package/dist/components/inputs/date-picker/date-picker.js +1 -1
  214. package/dist/components/inputs/file-field/file-field.d.ts +1 -1
  215. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -1
  216. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  217. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -0
  218. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  219. package/dist/components/inputs/number-field/number-field.d.ts +10 -2
  220. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  221. package/dist/components/inputs/number-field/number-field.js +32 -4
  222. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  223. package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
  224. package/dist/components/inputs/number-field/number-field.styles.js +15 -5
  225. package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
  226. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +10 -3
  227. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  228. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +16 -6
  229. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  230. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  231. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -3
  232. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  233. package/dist/components/inputs/password-field/password-field.d.ts +1 -1
  234. package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
  235. package/dist/components/inputs/password-field/password-field.styles.js +2 -0
  236. package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
  237. package/dist/components/inputs/radio-button/radio-button.d.ts +1 -1
  238. package/dist/components/inputs/radio-button/radio-button.js +1 -1
  239. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +1 -1
  240. package/dist/components/inputs/radio-button-field/radio-button-field.js +1 -1
  241. package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
  242. package/dist/components/inputs/search-field/search-field.styles.js +2 -0
  243. package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
  244. package/dist/components/inputs/slider/slider.styles.d.ts.map +1 -1
  245. package/dist/components/inputs/slider/slider.styles.js +3 -2
  246. package/dist/components/inputs/slider/slider.styles.js.map +1 -1
  247. package/dist/components/inputs/switch/switch.d.ts +1 -1
  248. package/dist/components/inputs/switch/switch.js +1 -1
  249. package/dist/components/inputs/switch/switch.styles.js +1 -1
  250. package/dist/components/inputs/switch-field/switch-field.d.ts +1 -1
  251. package/dist/components/inputs/switch-field/switch-field.js +1 -1
  252. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +2 -1
  253. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -1
  254. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +9 -7
  255. package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -1
  256. package/dist/components/inputs/text-editor/text-editor.commands.d.ts +1 -0
  257. package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
  258. package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
  259. package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
  260. package/dist/components/inputs/text-editor/text-editor.d.ts +12 -2
  261. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  262. package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
  263. package/dist/components/inputs/text-editor/text-editor.emphasis.js +6 -0
  264. package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
  265. package/dist/components/inputs/text-editor/text-editor.focus.d.ts +13 -0
  266. package/dist/components/inputs/text-editor/text-editor.focus.d.ts.map +1 -0
  267. package/dist/components/inputs/text-editor/text-editor.focus.js +54 -0
  268. package/dist/components/inputs/text-editor/text-editor.focus.js.map +1 -0
  269. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +1 -1
  270. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
  271. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +14 -5
  272. package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
  273. package/dist/components/inputs/text-editor/text-editor.highlight.d.ts +3 -0
  274. package/dist/components/inputs/text-editor/text-editor.highlight.d.ts.map +1 -0
  275. package/dist/components/inputs/text-editor/text-editor.highlight.js +28 -0
  276. package/dist/components/inputs/text-editor/text-editor.highlight.js.map +1 -0
  277. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +1 -0
  278. package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
  279. package/dist/components/inputs/text-editor/text-editor.i18n.js +3 -0
  280. package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
  281. package/dist/components/inputs/text-editor/text-editor.js +67 -6
  282. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  283. package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts +22 -0
  284. package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts.map +1 -0
  285. package/dist/components/inputs/text-editor/text-editor.link-destination.js +134 -0
  286. package/dist/components/inputs/text-editor/text-editor.link-destination.js.map +1 -0
  287. package/dist/components/inputs/text-editor/text-editor.links.d.ts +14 -0
  288. package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
  289. package/dist/components/inputs/text-editor/text-editor.links.js +41 -12
  290. package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
  291. package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -1
  292. package/dist/components/inputs/text-editor/text-editor.list-input.js +35 -1
  293. package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -1
  294. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  295. package/dist/components/inputs/text-editor/text-editor.markdown.js +18 -2
  296. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  297. package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
  298. package/dist/components/inputs/text-editor/text-editor.mention.js +7 -1
  299. package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
  300. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +6 -2
  301. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  302. package/dist/components/inputs/text-editor/text-editor.mentions.js +6 -3
  303. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  304. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  305. package/dist/components/inputs/text-editor/text-editor.styles.js +116 -12
  306. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  307. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
  308. package/dist/components/inputs/text-editor/text-editor.toolbar.js +14 -2
  309. package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
  310. package/dist/components/inputs/text-editor/text-editor.variables.d.ts +20 -0
  311. package/dist/components/inputs/text-editor/text-editor.variables.d.ts.map +1 -0
  312. package/dist/components/inputs/text-editor/text-editor.variables.js +148 -0
  313. package/dist/components/inputs/text-editor/text-editor.variables.js.map +1 -0
  314. package/dist/components/inputs/text-field/text-field.d.ts +1 -1
  315. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  316. package/dist/components/inputs/text-field/text-field.styles.js +2 -0
  317. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  318. package/dist/components/inputs/time-field/time-field.d.ts +1 -1
  319. package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
  320. package/dist/components/inputs/time-field/time-field.styles.js +2 -0
  321. package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
  322. package/dist/components/inputs/time-picker/time-picker.d.ts +1 -1
  323. package/dist/components/inputs/time-picker/time-picker.js +1 -1
  324. package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
  325. package/dist/components/inputs/token-field/token-field.styles.js +2 -0
  326. package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
  327. package/dist/components/layout/page-sections/hero/hero-corner.d.ts +3 -3
  328. package/dist/components/layout/page-sections/hero/hero-corner.d.ts.map +1 -1
  329. package/dist/components/layout/page-sections/hero/hero-corner.js +31 -24
  330. package/dist/components/layout/page-sections/hero/hero-corner.js.map +1 -1
  331. package/dist/components/layout/page-sections/hero/hero-corner.styles.js +9 -9
  332. package/dist/components/layout/page-sections/hero/hero.d.ts +32 -28
  333. package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
  334. package/dist/components/layout/page-sections/hero/hero.js +40 -33
  335. package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
  336. package/dist/components/layout/page-sections/hero/hero.styles.d.ts.map +1 -1
  337. package/dist/components/layout/page-sections/hero/hero.styles.js +61 -23
  338. package/dist/components/layout/page-sections/hero/hero.styles.js.map +1 -1
  339. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +20 -10
  340. package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
  341. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +80 -32
  342. package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
  343. package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts +1 -1
  344. package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +1 -1
  345. package/dist/components/lists-and-tables/list-item/list-item.d.ts +2 -1
  346. package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
  347. package/dist/components/lists-and-tables/list-item/list-item.js +6 -3
  348. package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
  349. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +1 -0
  350. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
  351. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +4 -2
  352. package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
  353. package/dist/components/navigation/menu-bar/menu-bar.d.ts +3 -1
  354. package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
  355. package/dist/components/navigation/menu-bar/menu-bar.js +21 -7
  356. package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
  357. package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
  358. package/dist/components/navigation/menu-bar-item/menu-bar-item.js +4 -0
  359. package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
  360. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts +5 -3
  361. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
  362. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +5 -3
  363. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
  364. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.d.ts.map +1 -1
  365. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js +10 -21
  366. package/dist/components/navigation/top-navigation-bar/top-navigation-bar.styles.js.map +1 -1
  367. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.d.ts.map +1 -1
  368. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js +2 -1
  369. package/dist/components/status-and-feedback/activity-indicator/activity-indicator.styles.js.map +1 -1
  370. package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
  371. package/dist/components/status-and-feedback/banner/banner.styles.js +1 -0
  372. package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
  373. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.d.ts.map +1 -1
  374. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js +6 -7
  375. package/dist/components/status-and-feedback/progress-bar/progress-bar.styles.js.map +1 -1
  376. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +4 -0
  377. package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
  378. package/dist/components/status-and-feedback/progress-circle/progress-circle.js +16 -8
  379. package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
  380. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js +6 -6
  381. package/dist/components/status-and-feedback/progress-circle/progress-circle.styles.js.map +1 -1
  382. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.d.ts.map +1 -1
  383. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js +0 -1
  384. package/dist/components/status-and-feedback/progress-circle/progress-circle.template.js.map +1 -1
  385. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +3 -2
  386. package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
  387. package/dist/components/status-and-feedback/status-bar/status-bar.js +3 -2
  388. package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
  389. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +1 -1
  390. package/dist/css/rich-text.css +2 -3
  391. package/dist/css/themes/donkergeel.css +5 -6
  392. package/dist/css/themes/geel.css +5 -6
  393. package/dist/css/themes.css +10 -12
  394. package/dist/css/variables.css +24 -15
  395. package/dist/nldd.min.js +1006 -846
  396. package/dist/translations/en-US.d.ts.map +1 -1
  397. package/dist/translations/en-US.js +1 -0
  398. package/dist/translations/en-US.js.map +1 -1
  399. package/dist/translations/fy.d.ts.map +1 -1
  400. package/dist/translations/fy.js +1 -0
  401. package/dist/translations/fy.js.map +1 -1
  402. package/dist/translations/nl.generated.d.ts +1 -0
  403. package/dist/translations/nl.generated.d.ts.map +1 -1
  404. package/dist/translations/pap-AW.d.ts.map +1 -1
  405. package/dist/translations/pap-AW.js +1 -0
  406. package/dist/translations/pap-AW.js.map +1 -1
  407. package/dist/translations/pap-CW.d.ts.map +1 -1
  408. package/dist/translations/pap-CW.js +1 -0
  409. package/dist/translations/pap-CW.js.map +1 -1
  410. package/dist/types/react.d.ts +40 -44
  411. package/dist/types/vue.d.ts +213 -55
  412. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  413. package/dist/utilities/dev-rules.generated.js +23 -18
  414. package/dist/utilities/dev-rules.generated.js.map +1 -1
  415. package/dist/utilities/form-associated-mixin.d.ts +10 -0
  416. package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
  417. package/dist/utilities/form-associated-mixin.js +49 -0
  418. package/dist/utilities/form-associated-mixin.js.map +1 -1
  419. package/dist/utilities/press-feedback.d.ts +16 -0
  420. package/dist/utilities/press-feedback.d.ts.map +1 -0
  421. package/dist/utilities/press-feedback.js +27 -0
  422. package/dist/utilities/press-feedback.js.map +1 -0
  423. package/lint/data.generated.json +1 -1
  424. package/lint/fix.js +43 -6
  425. package/lint/rule.schema.json +2 -1
  426. package/package.json +1 -1
@@ -9,7 +9,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
9
9
  *
10
10
  * The section that says what a page is for: it names the main goal of what
11
11
  * you can find there, draws the eye and is the visual welcome. It has a media
12
- * area and a text panel (the main) that can stand in eight positions. The
12
+ * area and a content area (the main) that can stand in eleven positions. The
13
13
  * areas are rectangular; `corner` rounds one corner of each. Use it on pages
14
14
  * where a visitor first has to know where they are, such as a home or a topic
15
15
  * page; where the title already does that, a section with a title is enough.
@@ -17,15 +17,15 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
17
  * lays out by the width of that page.
18
18
  *
19
19
  * The image in a hero sets the mood and is never the main content, so the
20
- * panel always stands on it. Over an image the panel keeps a section gap from
21
- * its edges, so it reads as a panel on the image rather than a frame cut out of
20
+ * content area always stands on it. Over an image the content area keeps a section gap from
21
+ * its edges, so it reads as a content area on the image rather than a frame cut out of
22
22
  * it; with `main-width="full"` it is a strip across the whole image, the same
23
- * gap from the sides. On mobile the image comes first and the panel below it,
23
+ * gap from the sides. On mobile the image comes first and the content area below it,
24
24
  * indented by the section gap and overlapping the image by 48px. For an
25
25
  * image beside text without that relation, use a section with an image beside
26
- * text instead. Without media the main fills the whole area; with
27
- * `main-background="base"` that area gets a border so it stays visible on the
28
- * base surface.
26
+ * text instead. Without media the main fills the whole area. With
27
+ * `main-background="base"` the content area gets the highlight border of a card, with
28
+ * or without media, so its edge shows where it stands on the base surface.
29
29
  *
30
30
  * The hero is the head of a page and sits right under the top bar, so on md
31
31
  * and lg its top padding is half that of the other page sections: the full
@@ -34,17 +34,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
34
34
  * The bottom keeps the full distance to the section below. Set `padding-top`
35
35
  * to place a hero elsewhere.
36
36
  *
37
- * By default the panel falls over the bottom of the image and runs on below it
38
- * (`layout="overlap"`), so the image keeps its height whatever the content.
39
- * `layout="contained"` keeps the panel on the image, for a short panel or one
40
- * that stands at the top or along a side.
37
+ * By default the content area falls over the bottom of the image and runs on below it
38
+ * (`main-position="overlap-left"`, `overlap-center` or `overlap-right`), so the
39
+ * image keeps its height whatever the content. The other positions keep the
40
+ * content area on the image, for a short content area or one that stands at the top or along
41
+ * a side.
41
42
  *
42
43
  * The height of a hero comes from its image: `media-aspect-ratio`, or a fixed
43
44
  * `media-height`. The `height` of the other page sections is not used here: as
44
- * a minimum height for the whole hero it stretched the panel once that sat
45
+ * a minimum height for the whole hero it stretched the content area once that sat
45
46
  * below the image. A hero given `height` says so in development.
46
47
  *
47
- * The panel takes the accent color of the theme, closest to its reference
48
+ * The content area takes the accent color of the theme, closest to its reference
48
49
  * color in both modes, with a pure white or black content color that it
49
50
  * passes on, so the text, links and icons on it keep their contrast. `main-background="base"` gives it the base surface instead. A
50
51
  * Rijkshuisstijl color per hero is gone: the theme picks the color for the
@@ -54,19 +55,22 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
54
55
  * @related nldd-full-bleed-section
55
56
  *
56
57
  * @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
57
- * @attr {'accent'|'base'} main-background - Surface color of the panel: 'accent' (default), the accent color of the theme, or 'base', the base surface
58
- * @attr {string} corner - Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the panel leaves free. With media it applies with `layout="contained"` and the panel in a corner or along a side; with overlap or a centered panel the hero stays rectangular and says so in development. The panel stands against the edge of the image, so a `main-width` in percent (33.33%, 50%) is a share of the image, and gets a corner at half the radius, the one pointing into the image, with more padding along its two sides so the content keeps its distance to the curve. A panel along the same edge as the rounded corner of the image stops before the curve, at the panel's padding from it; a panel along a full side, a `main-width="full"` strip and the panel on mobile stay square. On mobile a bottom corner moves to the top, and the panel stands under the image, as wide as it, instead of overlapping it. Without media the panel is the whole hero: the corner applies in every layout and position, at half the radius, and the hero chooses top-right, or top-left for a panel on the right. The radius comes from the ribbon width: 1.5X on sm, 2X on md and lg, and is never more than a third of the shortest side of the area it rounds, so a low hero keeps a corner rather than a drop. Says so in development when the chosen corner sits under the panel, or with `width="full"`
59
- * @attr {'contained'|'overlap'} layout - 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
58
+ * @attr {'accent'|'base'} main-background - Surface color of the content area: 'accent' (default), the accent color of the theme, or 'base', the base surface
59
+ * @attr {string} corner - Rounds one corner of the media area, in the shape language of the Rijkshuisstijl: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', or empty (or 'auto') to let the hero choose a corner the content area leaves free. With media it applies in every position: with a content area that overlaps the image takes the corner of `bottom-left`, `bottom-center` or `bottom-right`, and the content area keeps its distance from the edge and stays square; a centered content area gets its corner on the side of the corner of the image. A content area on the image stands against its edge, so a `main-width` in percent (33.33%, 50%) is a share of the image, and gets a corner at half the radius, the one pointing into the image, with more padding along its two sides so the content keeps its distance to the curve. A content area along the same edge as the rounded corner of the image stops before the curve, at the content area's padding from it; a content area along a full side, a `main-width="full"` strip and the content area on mobile stay square. On mobile a bottom corner moves to the top, and the content area stands under the image, as wide as it, instead of overlapping it. Without media the content area is the whole hero: the corner applies in every position, at half the radius, and the hero chooses top-right, or top-left for a content area on the right. The radius comes from the ribbon width: 1.5X on sm, 2X on md and lg, and is never more than a third of the shortest side of the area it rounds, so a low hero keeps a corner rather than a drop. Says so in development when the chosen corner sits under the content area, or with `width="full"`
60
+ * @attr {'overlap-left'|'overlap-center'|'overlap-right'|'top-left'|'top-center'|'top-right'|'left'|'right'|'bottom-left'|'bottom-center'|'bottom-right'} main-position -
61
+ * Where the content area stands, and how it relates to the image (default: 'overlap-left'). The 'overlap-' positions
62
+ * let it fall `overlap-size` over the bottom of the image and run on below as far as its content needs, so the image
63
+ * keeps its height whatever the content; the image then has a fixed height (320px on md, 400px on lg) unless
64
+ * `media-height` or `media-aspect-ratio` is set, and a content area shorter than `overlap-size` ends inside the image and
65
+ * says so in development. The other positions keep the content area on the image; 'left'/'right' span its full height
60
66
  * @attr {string} width - Body max-width; 'full' removes the bound (section API)
61
67
  * @attr {string} media-height - 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
62
68
  * @attr {string} media-aspect-ratio - Aspect ratio of the media area (CSS form, '16/9' or '16:9');
63
69
  * default '21/9'. On md/lg it sets the height of the hero, on sm the height of the media area
64
70
  * @attr {boolean} grow - 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.
65
- * @attr {string} main-width - 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'
66
- * @attr {string} overlap-size - 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
71
+ * @attr {string} main-width - Width of the content area (default: 'auto'). 'auto' follows the content, between 480px and 640px and never wider than the image allows: a short title gets a narrow content area, 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'
72
+ * @attr {string} overlap-size - With an overlap position: how far the content area falls over the bottom of the image, any CSS length (default: 160px). The overlap stays the same whatever the height of the image; a content area shorter than this ends inside the image
67
73
  * @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
68
- * @attr {'top-left'|'top-center'|'top-right'|'bottom-left'|'bottom-center'|'bottom-right'|'left'|'right'} main-position -
69
- * Position of the text panel (default: 'bottom-left'); 'left'/'right' span the full height
70
74
  * @attr {string} media-src - Source of the media area (an alternative to the media slot);
71
75
  * ignored as soon as the media slot is filled
72
76
  * @attr {string} media-srcset - Responsive source set for media-src
@@ -77,7 +81,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
77
81
  * @accepts img
78
82
  * Takes precedence over the media-src attributes. Set `alt=""` when the image is decorative;
79
83
  * otherwise give a describing alt text.
80
- * @slot - Content of the text panel (nldd-title and nldd-rich-text, for instance)
84
+ * @slot - What goes in the content area (nldd-title and nldd-rich-text, for instance)
81
85
  */
82
86
  import { LitElement } from 'lit';
83
87
  import { property, state } from 'lit/decorators.js';
@@ -89,6 +93,8 @@ import { heroTemplate } from './hero.template.js';
89
93
  import { heroCornerStyles } from './hero-corner.styles.js';
90
94
  import { applyCorner, clearCornerLimits, limitCorner } from './hero-corner.js';
91
95
  import { setState } from '../../../../utilities/element-state.js';
96
+ /** The positions that keep the content area on the image; any other value overlaps, as the default does. */
97
+ const ON_IMAGE = new Set(['top-left', 'top-center', 'top-right', 'left', 'right', 'bottom-left', 'bottom-center', 'bottom-right']);
92
98
  const CSS_WIDE_KEYWORDS = new Set(['inherit', 'initial', 'unset', 'revert', 'revert-layer']);
93
99
  /**
94
100
  * Whether `property` takes `value` as a value of its own. CSS.supports alone
@@ -103,11 +109,11 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
103
109
  constructor() {
104
110
  super(...arguments);
105
111
  this.mainBackground = 'accent';
106
- /** Rounds one corner of the media area and one of the panel, or without
112
+ /** Rounds one corner of the media area and one of the content area, or without
107
113
  * media one corner of the hero. An empty value lets the hero choose the
108
114
  * corner from `main-position`. */
109
115
  this.corner = null;
110
- this.layout = 'overlap';
116
+ this.mainPosition = 'overlap-left';
111
117
  /** Width mode: 'full' (removes body max-width) or any CSS length. */
112
118
  this.width = '';
113
119
  this.mediaHeight = '';
@@ -116,7 +122,6 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
116
122
  this.mediaAspectRatio = '';
117
123
  this.mainWidth = 'auto';
118
124
  this.overlapSize = '';
119
- this.mainPosition = 'bottom-left';
120
125
  /** Hybrid media source: media-src renders an internal <img>, but a slotted
121
126
  * media element wins (mirrors nldd-image / nldd-identity). srcset/sizes/alt
122
127
  * feed that internal img. */
@@ -127,16 +132,21 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
127
132
  this._slotHasMedia = false;
128
133
  /** Measures the rounded areas, so the radius never outgrows them. */
129
134
  this._cornerObserver = null;
130
- /** DEV-only: watches an overlap hero for a panel that does not reach below its image. */
135
+ /** DEV-only: watches an overlap hero for a content area that does not reach below its image. */
131
136
  this._overlapObserver = null;
132
137
  }
133
138
  /** Media is present when the slot has content or media-src is set. */
134
139
  get _hasMedia() {
135
140
  return this.mediaSrc !== '' || this._slotHasMedia;
136
141
  }
142
+ /** Whether the content area falls over the bottom of the image instead of standing on it. */
143
+ get _overlaps() {
144
+ return !ON_IMAGE.has(this.mainPosition);
145
+ }
137
146
  willUpdate(changed) {
138
147
  super.willUpdate(changed);
139
148
  this.toggleAttribute('data-has-media', this._hasMedia);
149
+ this.toggleAttribute('data-overlap', this._overlaps);
140
150
  applyCorner(this);
141
151
  }
142
152
  connectedCallback() {
@@ -166,7 +176,7 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
166
176
  this.style.removeProperty('--_hero-max-width');
167
177
  }
168
178
  }
169
- if (import.meta.env?.DEV && changed.has('layout'))
179
+ if (import.meta.env?.DEV && changed.has('mainPosition'))
170
180
  this._watchOverlap();
171
181
  if (changed.has('corner'))
172
182
  this._watchCorner();
@@ -236,7 +246,7 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
236
246
  this._cornerObserver.observe(main);
237
247
  }
238
248
  _watchOverlap() {
239
- const watch = this.layout !== 'contained' && typeof ResizeObserver !== 'undefined';
249
+ const watch = this._overlaps && typeof ResizeObserver !== 'undefined';
240
250
  if (!watch) {
241
251
  this._overlapObserver?.disconnect();
242
252
  this._overlapObserver = null;
@@ -254,7 +264,7 @@ let NLDDHero = class NLDDHero extends PageSectionMixin(LitElement) {
254
264
  this._overlapObserver.observe(main);
255
265
  }
256
266
  /**
257
- * In an overlap hero the panel is meant to run on below the image. When it
267
+ * In an overlap hero the content area is meant to run on below the image. When it
258
268
  * ends inside it, the content is shorter than `overlap-size`; the consumer
259
269
  * decides how far it runs on, so this is only stated, in development.
260
270
  */
@@ -280,8 +290,8 @@ __decorate([
280
290
  property({ type: String, reflect: true })
281
291
  ], NLDDHero.prototype, "corner", void 0);
282
292
  __decorate([
283
- property({ reflect: true, converter: reflectNonDefault('overlap') })
284
- ], NLDDHero.prototype, "layout", void 0);
293
+ property({ reflect: true, attribute: 'main-position', converter: reflectNonDefault('overlap-left') })
294
+ ], NLDDHero.prototype, "mainPosition", void 0);
285
295
  __decorate([
286
296
  property({ reflect: true, converter: reflectNonDefault('') })
287
297
  ], NLDDHero.prototype, "width", void 0);
@@ -297,9 +307,6 @@ __decorate([
297
307
  __decorate([
298
308
  property({ reflect: true, attribute: 'overlap-size', converter: reflectNonDefault('') })
299
309
  ], NLDDHero.prototype, "overlapSize", void 0);
300
- __decorate([
301
- property({ reflect: true, attribute: 'main-position', converter: reflectNonDefault('bottom-left') })
302
- ], NLDDHero.prototype, "mainPosition", void 0);
303
310
  __decorate([
304
311
  property({ type: String, attribute: 'media-src' })
305
312
  ], NLDDHero.prototype, "mediaSrc", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"hero.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,6CAA6C,CAAC;AAC5G,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,gBA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AGd;IADC,KAAK,EAAE;+CACc;AAjDV,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CAsMpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,yBAsVtB,CAAC"}
1
+ {"version":3,"file":"hero.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,UAAU,yBA4XtB,CAAC"}
@@ -35,8 +35,10 @@ export const heroStyles = css `
35
35
  --_hero-main-content-color: var(--semantics-content-on-accent-filled-color);
36
36
  --_hero-main-secondary-color: var(--semantics-content-on-accent-filled-secondary-color);
37
37
  --_hero-main-padding: var(--primitives-space-16);
38
+ --_hero-highlight-border-width: var(--semantics-surfaces-highlight-border-width);
39
+ --_hero-highlight-border-color: var(--semantics-surfaces-base-highlight-border-color);
38
40
  --_hero-main-inset: var(--primitives-space-0);
39
- --_hero-sm-main-inset: var(--semantics-page-sections-sm-gap);
41
+ --_hero-sm-main-inset: var(--semantics-page-sections-sm-margin-inline);
40
42
  --_hero-sm-main-overlap: var(--primitives-space-48);
41
43
  --_hero-overlap-size: initial;
42
44
  --_hero-default-overlap-size: var(--primitives-space-0);
@@ -81,6 +83,7 @@ export const heroStyles = css `
81
83
  flex-direction: column;
82
84
  flex-grow: 1;
83
85
  align-items: center;
86
+ --_hero-main-inline-inset: var(--_hero-main-inset);
84
87
 
85
88
  /* The responsive overrides query the page the hero is in. */
86
89
 
@@ -93,6 +96,7 @@ export const heroStyles = css `
93
96
  @container page-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
94
97
  --_hero-main-padding: var(--primitives-space-24);
95
98
  --_hero-main-inset: var(--semantics-page-sections-md-gap);
99
+ --_hero-main-inline-inset: var(--semantics-page-sections-md-margin-inline);
96
100
  --_hero-default-overlap-size: var(--primitives-area-160);
97
101
  --_hero-default-media-height: var(--primitives-area-320);
98
102
  padding-inline: var(--semantics-page-sections-md-margin-inline);
@@ -112,11 +116,18 @@ export const heroStyles = css `
112
116
  }
113
117
 
114
118
 
119
+ :host([data-has-media]) .hero {
120
+ @container page-container (max-width: ${mdMax}) {
121
+ padding-inline: 0;
122
+ }
123
+ }
124
+
125
+
115
126
  /* # Body
116
127
  No overflow clipping here: it would zero the grid's automatic content
117
- minimum and stop the hero from growing with the panel. The background
118
- is painted in the panel color so subpixel seams between the media and
119
- the panel (fractional aspect-ratio heights) never show as a light
128
+ minimum and stop the hero from growing with the content area. The background
129
+ is painted in the color of the content area so subpixel seams between the media and
130
+ the content area (fractional aspect-ratio heights) never show as a light
120
131
  hairline. */
121
132
 
122
133
  .hero__body {
@@ -132,15 +143,14 @@ export const heroStyles = css `
132
143
  background-color: var(--_hero-main-background-color);
133
144
  }
134
145
 
135
- /* Without media a base-colored panel would be invisible on the base surface;
136
- give it a full border so the rectangle reads. */
137
- :host(:not([data-has-media])[main-background="base"]) .hero__body {
138
- border: var(--primitives-border-width-regular) solid var(--semantics-content-color);
146
+ :host([main-background="base"]) .hero__main {
147
+ outline: var(--_hero-highlight-border-width) solid var(--_hero-highlight-border-color);
148
+ outline-offset: calc(-1 * var(--_hero-highlight-border-width));
139
149
  }
140
150
 
141
151
  /* A ghost cell sets the body's minimum height from the aspect ratio
142
- without forcing it: the panel shares the same grid cell, so a taller
143
- panel grows the row past this floor. Putting the ratio on a ghost
152
+ without forcing it: the content area shares the same grid cell, so a taller
153
+ content area grows the row past this floor. Putting the ratio on a ghost
144
154
  (instead of aspect-ratio on the body) keeps growth content-driven
145
155
  rather than rigidly tied to the width. align-self: start stops the
146
156
  stretch fit from cancelling the ratio. */
@@ -219,8 +229,8 @@ export const heroStyles = css `
219
229
  justify-self: start;
220
230
  background-color: var(--_hero-main-background-color);
221
231
  width: fit-content;
222
- min-width: min(var(--_hero-main-min-width), 100% - 2 * var(--_hero-main-inset));
223
- max-width: min(var(--_hero-main-max-width), 100% - 2 * var(--_hero-main-inset));
232
+ min-width: min(var(--_hero-main-min-width), 100% - 2 * var(--_hero-main-inline-inset));
233
+ max-width: min(var(--_hero-main-max-width), 100% - 2 * var(--_hero-main-inline-inset));
224
234
  padding: var(--_hero-main-padding);
225
235
  flex-direction: column;
226
236
  color: var(--_hero-main-content-color);
@@ -233,14 +243,14 @@ export const heroStyles = css `
233
243
  }
234
244
 
235
245
  :host([data-has-media]) .hero__main {
236
- margin: var(--_hero-main-inset);
246
+ margin: var(--_hero-main-inset) var(--_hero-main-inline-inset);
237
247
  }
238
248
 
239
249
  :host([data-has-media][data-main-width-length]) .hero__main {
240
250
  @container page-container (min-width: ${mdMin}) {
241
251
  width: var(--_hero-main-width);
242
252
  min-width: 0;
243
- max-width: calc(100% - 2 * var(--_hero-main-inset));
253
+ max-width: calc(100% - 2 * var(--_hero-main-inline-inset));
244
254
  }
245
255
  }
246
256
 
@@ -259,11 +269,11 @@ export const heroStyles = css `
259
269
  justify-self: end;
260
270
  }
261
271
 
262
- :host([main-position="bottom-right"]) .hero__main {
272
+ :host(:is([main-position="bottom-right"], [main-position="overlap-right"])) .hero__main {
263
273
  justify-self: end;
264
274
  }
265
275
 
266
- :host([main-position="bottom-center"]) .hero__main {
276
+ :host(:is([main-position="bottom-center"], [main-position="overlap-center"])) .hero__main {
267
277
  justify-self: center;
268
278
  }
269
279
 
@@ -281,6 +291,33 @@ export const heroStyles = css `
281
291
  justify-self: end;
282
292
  }
283
293
 
294
+ /* On md a content area on the image stands in its corner, and takes the page margin
295
+ as padding on the side of the edge, so its text lines up with the page. */
296
+ :host([data-has-media]:not([data-overlap])) .hero {
297
+ @container page-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
298
+ --_hero-main-inset: var(--primitives-space-0);
299
+ --_hero-main-inline-inset: var(--primitives-space-0);
300
+ }
301
+ }
302
+
303
+ :host([data-has-media]:not([data-overlap]):is([main-position$="left"], [main-position$="center"][main-width="full"])) .hero__main {
304
+ @container page-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
305
+ padding-left: var(--semantics-page-sections-md-margin-inline);
306
+ }
307
+ }
308
+
309
+ :host([data-has-media]:not([data-overlap]):is([main-position$="right"], [main-position$="center"][main-width="full"])) .hero__main {
310
+ @container page-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
311
+ padding-right: var(--semantics-page-sections-md-margin-inline);
312
+ }
313
+ }
314
+
315
+ :host([data-has-media]:not([data-overlap])[main-width="full"]:is([main-position$="-left"], [main-position$="-right"])) .hero__main {
316
+ @container page-container (min-width: ${mdMin}) and (max-width: ${mdMax}) {
317
+ padding-inline: var(--semantics-page-sections-md-margin-inline);
318
+ }
319
+ }
320
+
284
321
  @media (forced-colors: active) {
285
322
  .hero__main {
286
323
  border: var(--primitives-border-width-thin) solid CanvasText;
@@ -288,15 +325,16 @@ export const heroStyles = css `
288
325
  }
289
326
 
290
327
 
291
- /* # Overlap (md+) — the media keeps a fixed height; the panel sits in the
292
- row below it, pulled up over it by the overlap size. */
328
+ /* # Overlap (md+) — the media keeps a fixed height; the content area sits in the
329
+ row below it, pulled up over it by the overlap size. Overlap is the
330
+ default position. */
293
331
 
294
332
  @container page-container (min-width: ${mdMin}) {
295
- :host([data-has-media]:not([layout="contained"])) .hero__body::before {
333
+ :host([data-has-media][data-overlap]) .hero__body::before {
296
334
  content: none;
297
335
  }
298
336
 
299
- :host([data-has-media]:not([layout="contained"])) .hero__media {
337
+ :host([data-has-media][data-overlap]) .hero__media {
300
338
  position: relative;
301
339
  width: 100%;
302
340
  height: var(--_hero-media-height);
@@ -305,11 +343,11 @@ export const heroStyles = css `
305
343
  align-self: start;
306
344
  }
307
345
 
308
- :host([data-has-media]:not([layout="contained"]):not([media-height], [media-aspect-ratio])) .hero__media {
346
+ :host([data-has-media][data-overlap]:not([media-height], [media-aspect-ratio])) .hero__media {
309
347
  height: var(--_hero-default-media-height);
310
348
  }
311
349
 
312
- :host([data-has-media]:not([layout="contained"])) .hero__main {
350
+ :host([data-has-media][data-overlap]) .hero__main {
313
351
  margin-top: calc(-1 * var(--_hero-overlap-size, var(--_hero-default-overlap-size)));
314
352
  margin-bottom: 0;
315
353
  grid-area: 2 / 1;
@@ -318,7 +356,7 @@ export const heroStyles = css `
318
356
  }
319
357
 
320
358
 
321
- /* # Mobile — the media on top, the panel below it, indented and overlapping
359
+ /* # Mobile — the media on top, the content area below it, indented and overlapping
322
360
  it a little. */
323
361
 
324
362
  @container page-container (max-width: ${smMax}) {
@@ -1 +1 @@
1
- {"version":3,"file":"hero.styles.js","sourceRoot":"","sources":["../../../../../src/components/layout/page-sections/hero/hero.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAElI,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM,KAAK,GAAG,SAAS,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;AAEhD,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqCzB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;IA0BlB,cAAc;;;;;;;;;;;;;;;;0CAgBwB,KAAK;;;;;;0CAML,KAAK,qBAAqB,KAAK;;;;;;;;;;0CAU/B,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CA6CL,KAAK;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6B3C,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+BZ,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAgCoB,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CA+CL,KAAK,qBAAqB,KAAK;;;;;;;0CAO/B,KAAK,qBAAqB,KAAK;;;;;;0CAM/B,KAAK,qBAAqB,KAAK;;;;;;0CAM/B,KAAK,qBAAqB,KAAK;;;;;;;;;;;;;;;;yCAgBhC,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCA8BL,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B7C,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Nederlandse Digitale Dienst Bar Split View Component (Lit + TypeScript)
3
3
  *
4
- * A vertical split view with a main area and an unlimited number of bar panels.
4
+ * A vertical split view with a main area and an unlimited number of bar panes.
5
5
  * Each child determines its order per breakpoint via sm-order, md-order, and lg-order.
6
6
  * Children without order attributes are sorted by DOM order.
7
7
  *
@@ -14,7 +14,7 @@
14
14
  * ## Slot names
15
15
  * Give each bar a unique slot name (e.g. slot="toolbar", slot="status-bar").
16
16
  * Use slot="bar-1", slot="bar-2" if no meaningful name applies.
17
- * The main panel always uses slot="main".
17
+ * The main pane always uses slot="main".
18
18
  * An nldd-status-bar is a bar of its own and comes first, above the toolbar.
19
19
  *
20
20
  * ## Background color
@@ -26,15 +26,14 @@
26
26
  * @attr {'inherit'|'base'|'tinted'} background - Background color variant (default: inherit)
27
27
  *
28
28
  * Responsive visibility and order per child (direct children of nldd-bar-split-view):
29
- * @childattr {'sm'|'md'|'lg'} above - Show this panel from this breakpoint and larger
30
- * @childattr {'sm'|'md'|'lg'} below - Show this panel up to and including this breakpoint
31
- * @childattr {'sm'|'md'|'lg'} only - Show this panel only at this breakpoint
32
- * @childattr {number} sm-order - Position of this panel at sm (lower comes first)
33
- * @childattr {number} md-order - Position of this panel at md (lower comes first)
34
- * @childattr {number} lg-order - Position of this panel at lg (lower comes first)
29
+ * @childattr {string} hide-below - Hides this pane below this breakpoint: `sm` | `md` | `lg`, or a length in px, rem or em that the view's width is compared with. The same attribute as on a cell: `hide-below="md"` is hidden in sm and shown from md up. `sm` is the open edge and never hides.
30
+ * @childattr {string} hide-above - Hides this pane above this breakpoint: `sm` | `md` | `lg`, or a length. `hide-above="sm"` is shown in sm only. `lg` is the open edge and never hides. Together with `hide-below` it keeps a pane to one breakpoint: `hide-below="md" hide-above="md"` shows it in md only.
31
+ * @childattr {number} sm-order - Position of this pane at sm (lower comes first)
32
+ * @childattr {number} md-order - Position of this pane at md (lower comes first)
33
+ * @childattr {number} lg-order - Position of this pane at lg (lower comes first)
35
34
  *
36
- * @slot main - Central panel for primary content
37
- * @slot * - Any other unique slot name creates a bar panel
35
+ * @slot main - Central pane for primary content
36
+ * @slot * - Any other unique slot name creates a bar pane
38
37
  */
39
38
  import { LitElement } from 'lit';
40
39
  export type Breakpoint = 'sm' | 'md' | 'lg';
@@ -44,15 +43,26 @@ export declare class NLDDBarSplitView extends LitElement {
44
43
  private _scrollMode;
45
44
  background: 'inherit' | 'base' | 'tinted';
46
45
  _currentBreakpoint: BreakpointOrUnmeasured;
46
+ private _width;
47
+ private _fontSize;
48
+ private _hiddenByLength;
47
49
  private _observer;
50
+ private _observedBars;
48
51
  connectedCallback(): void;
49
52
  disconnectedCallback(): void;
50
53
  /** @internal */
51
54
  _applyWidth(width: number): void;
52
55
  private _getBreakpoint;
56
+ /** The slots of the panes a length hides at the measured width. */
57
+ private _panelsHiddenByLength;
58
+ /** A length as the view's width in CSS pixels, as a container query reads it: `em` from the view's own font size. */
59
+ private _lengthPx;
60
+ /** The same thresholds as `hide-below` and `hide-above` on a cell. */
61
+ private _hides;
53
62
  private _isChildVisible;
54
63
  _getSortedChildren(): Element[];
55
64
  updated(): void;
65
+ private _observeBars;
56
66
  private _updateInsets;
57
67
  render(): import("lit-html").TemplateResult;
58
68
  }
@@ -1 +1 @@
1
- {"version":3,"file":"bar-split-view.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAUjC,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5C,KAAK,sBAAsB,GAAG,UAAU,GAAG,IAAI,CAAC;AAahD,qBACa,gBAAiB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAsB;IAI5C,OAAO,CAAC,WAAW,CAA8D;IAGjF,UAAU,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAa;IAMtD,kBAAkB,EAAE,sBAAsB,CAAQ;IAElD,OAAO,CAAC,SAAS,CAAiC;IAEzC,iBAAiB;IAajB,oBAAoB;IAQ7B,gBAAgB;IAChB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAWhC,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,eAAe;IAkBvB,kBAAkB,IAAI,OAAO,EAAE;IActB,OAAO,IAAI,IAAI;IAUxB,OAAO,CAAC,aAAa,CAkCnB;IAEO,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,qBAAqB,EAAE,gBAAgB,CAAC;KACxC;CACD"}
1
+ {"version":3,"file":"bar-split-view.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/split-views/bar-split-view/bar-split-view.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAUjC,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC5C,KAAK,sBAAsB,GAAG,UAAU,GAAG,IAAI,CAAC;AAgBhD,qBACa,gBAAiB,SAAQ,UAAU;IAC/C,OAAgB,MAAM,0BAAsB;IAI5C,OAAO,CAAC,WAAW,CAA8D;IAGjF,UAAU,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAa;IAMtD,kBAAkB,EAAE,sBAAsB,CAAQ;IAIlD,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,CAAC,SAAS,CAAM;IAGvB,OAAO,CAAC,eAAe,CAAM;IAE7B,OAAO,CAAC,SAAS,CAAiC;IAKlD,OAAO,CAAC,aAAa,CAAsB;IAElC,iBAAiB;IAejB,oBAAoB;IAQ7B,gBAAgB;IAChB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAchC,OAAO,CAAC,cAAc;IAMtB,mEAAmE;IACnE,OAAO,CAAC,qBAAqB;IAO7B,qHAAqH;IACrH,OAAO,CAAC,SAAS;IASjB,sEAAsE;IACtE,OAAO,CAAC,MAAM;IAYd,OAAO,CAAC,eAAe;IAIvB,kBAAkB,IAAI,OAAO,EAAE;IActB,OAAO,IAAI,IAAI;IAOxB,OAAO,CAAC,YAAY;IAepB,OAAO,CAAC,aAAa,CAkCnB;IAEO,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,qBAAqB,EAAE,gBAAgB,CAAC;KACxC;CACD"}