@nldd/design-system 0.24.0 → 0.25.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 (283) hide show
  1. package/custom-elements.json +211 -27
  2. package/dist/assets/styles/shadow-resets.d.ts +9 -0
  3. package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
  4. package/dist/assets/styles/shadow-resets.js +13 -0
  5. package/dist/assets/styles/shadow-resets.js.map +1 -1
  6. package/dist/cdn/autoloader.js +137 -137
  7. package/dist/cdn/chunks/{activity-indicator-DWBG1Csi.js → activity-indicator-Dc6c9HtC.js} +12 -12
  8. package/dist/cdn/chunks/{avatar-CRZLseMs.js → avatar-CHXRpWWk.js} +17 -17
  9. package/dist/cdn/chunks/{avatar-group-coYbMhot.js → avatar-group-B76E8oC6.js} +20 -20
  10. package/dist/cdn/chunks/{badge-DAXG-uIw.js → badge-tO7gHhdi.js} +5 -5
  11. package/dist/cdn/chunks/{banner-BbR0rebp.js → banner-D4kFQYXF.js} +15 -15
  12. package/dist/cdn/chunks/{bar-split-view-DoklVwuj.js → bar-split-view-C9bYdWSR.js} +7 -7
  13. package/dist/cdn/chunks/{blockquote-DfIl4wTC.js → blockquote-DRJajjBB.js} +9 -9
  14. package/dist/cdn/chunks/{box-CXICi_Gs.js → box-D10mS19t.js} +3 -3
  15. package/dist/cdn/chunks/{breadcrumbs-CVoNqsU2.js → breadcrumbs-BUdQJG3z.js} +6 -6
  16. package/dist/cdn/chunks/{button-DWzqSerk.js → button-CwY9fWCg.js} +8 -8
  17. package/dist/cdn/chunks/{button-bar-DwFLuumP.js → button-bar-DkqbRvff.js} +30 -30
  18. package/dist/cdn/chunks/{button-group-D-nEY7Wz.js → button-group-p364JgTR.js} +2 -2
  19. package/dist/cdn/chunks/{card-CIVLEFhz.js → card-B7TaSaw7.js} +9 -9
  20. package/dist/cdn/chunks/{cell-C79LmCOU.js → cell-BTIpXf1T.js} +6 -6
  21. package/dist/cdn/chunks/{checkbox-BQepKdVv.js → checkbox-BLEK0rAV.js} +4 -4
  22. package/dist/cdn/chunks/{checkbox-field-ColaTYKE.js → checkbox-field-CDtlpN-u.js} +5 -5
  23. package/dist/cdn/chunks/{class-map-9VgiG_zt.js → class-map-5WYS_nCb.js} +1 -1
  24. package/dist/cdn/chunks/{code-editor-FNmK9xRx.js → code-editor-CanGMLIo.js} +5 -5
  25. package/dist/cdn/chunks/{code-viewer-C5whEGq6.js → code-viewer-DCZ3wjMd.js} +16 -16
  26. package/dist/cdn/chunks/{codemirror-input-SKGbh9LP.js → codemirror-input-CtvDBy25.js} +4 -4
  27. package/dist/cdn/chunks/{collection-Dq6Z66UX.js → collection-D8K79X0H.js} +20 -20
  28. package/dist/cdn/chunks/{combo-box-CoOSPICd.js → combo-box-BeWoeEY8.js} +25 -25
  29. package/dist/cdn/chunks/{container-CtwuWO3a.js → container-Be2J-GhB.js} +48 -48
  30. package/dist/cdn/chunks/{custom-element-BVKCDhPV.js → custom-element-DGlHv_OV.js} +4 -2
  31. package/dist/cdn/chunks/{date-field-CqnGM7GR.js → date-field-BLaGVd4x.js} +26 -26
  32. package/dist/cdn/chunks/{date-picker-C2iGHw2u.js → date-picker-C4mLZKWF.js} +16 -16
  33. package/dist/cdn/chunks/{decorate-CK3hc5C5.js → decorate-Czy-wI4F.js} +1 -1
  34. package/dist/cdn/chunks/{described-by-mixin-DGAPpEdM.js → described-by-mixin-fLi4Nmt7.js} +2 -2
  35. package/dist/cdn/chunks/{description-cell-B08Ma5EJ.js → description-cell-aQyLX0U0.js} +6 -6
  36. package/dist/cdn/chunks/{dev-checks-BwWYGVrJ.js → dev-checks-qTR6tciJ.js} +79 -17
  37. package/dist/cdn/chunks/{dist-CWN_qz9z.js → dist-BLnIbkqH.js} +1 -1
  38. package/dist/cdn/chunks/{dist-DP5DQSlX.js → dist-BNS6C8sP.js} +2 -2
  39. package/dist/cdn/chunks/{dist-D1t9kkjo.js → dist-B_fXtXqM.js} +1 -1
  40. package/dist/cdn/chunks/{dist-B2YK3eT2.js → dist-CX0g6sV1.js} +3 -3
  41. package/dist/cdn/chunks/{dist-DzcXDSFC.js → dist-CZOXq9aZ.js} +1 -1
  42. package/dist/cdn/chunks/{dist-CKeY28-M.js → dist-CdF0c6UD.js} +2 -2
  43. package/dist/cdn/chunks/{dist-CQ5kBaGZ.js → dist-DHK9tNd7.js} +1 -1
  44. package/dist/cdn/chunks/{dist-BThgPtD7.js → dist-WQv_JUmB.js} +2 -2
  45. package/dist/cdn/chunks/{dist-jAq440y0.js → dist-_QFa91Kz.js} +1 -1
  46. package/dist/cdn/chunks/{dist-B8vBP_Xz.js → dist-fDpuYq7K.js} +1 -1
  47. package/dist/cdn/chunks/{dist-B4vELUJW.js → dist-p1FcXq9E.js} +3 -3
  48. package/dist/cdn/chunks/{divider-KgHxRNV9.js → divider-2hHcSIga.js} +2 -2
  49. package/dist/cdn/chunks/{document-tab-bar-CTIcETDr.js → document-tab-bar-CIWiZUB5.js} +18 -18
  50. package/dist/cdn/chunks/{dropdown-BhrCadMW.js → dropdown-Bwn6dQrK.js} +5 -5
  51. package/dist/cdn/chunks/{file-field-DzH4Yrj5.js → file-field-CtQ6Fzkj.js} +25 -25
  52. package/dist/cdn/chunks/{form-actions-CDQW1p3w.js → form-actions-DSL0qce-.js} +3 -3
  53. package/dist/cdn/chunks/{form-field-D_qJpPAS.js → form-field--t3Bz1pc.js} +7 -7
  54. package/dist/cdn/chunks/{form-section-Jy5b5Qtp.js → form-section-D1n8Sdmt.js} +16 -16
  55. package/dist/cdn/chunks/{form-CzmdlZ0i.js → form-vSM2SOrK.js} +10 -10
  56. package/dist/cdn/chunks/{full-bleed-section-BDIuXLGU.js → full-bleed-section-w2pDVC5v.js} +4 -4
  57. package/dist/cdn/chunks/{hero-BPHFHrUT.js → hero-BypUmnRi.js} +22 -22
  58. package/dist/cdn/chunks/{icon-BE2ojX0S.js → icon-BydOAoVO.js} +7 -7
  59. package/dist/cdn/chunks/{icon-button-CFMhdG1B.js → icon-button-C_MZ-jXt.js} +9 -9
  60. package/dist/cdn/chunks/{icon-cell-CQ-e1GB2.js → icon-cell-jiYNsV84.js} +6 -6
  61. package/dist/cdn/chunks/{identity-7wQDjeGb.js → identity-D1Sw6OdG.js} +55 -39
  62. package/dist/cdn/chunks/{if-defined-G1P3HUvi.js → if-defined-pKQLIQvK.js} +1 -1
  63. package/dist/cdn/chunks/{image-QPbmNKvZ.js → image-DEI0hogS.js} +20 -20
  64. package/dist/cdn/chunks/{inline-dialog-DP3AXfJV.js → inline-dialog-CTjJ8Tl_.js} +15 -15
  65. package/dist/cdn/chunks/{just-in-time-education-DnaF_sLc.js → just-in-time-education-pUUxdKPR.js} +5 -5
  66. package/dist/cdn/chunks/{kanban-o2GMLjsq.js → kanban-KSLBcCb4.js} +9 -9
  67. package/dist/cdn/chunks/{kanban-column-B_Jrut9s.js → kanban-column-RNSdiBIT.js} +8 -8
  68. package/dist/cdn/chunks/{keyboard-shortcut-Dm366Dra.js → keyboard-shortcut-D9TYAQu1.js} +3 -3
  69. package/dist/cdn/chunks/{languages-Dlh_tbAH.js → languages-DGZO3jTf.js} +12 -12
  70. package/dist/cdn/chunks/{link-DhTY3Sjh.js → link-C4K1qVcb.js} +70 -21
  71. package/dist/cdn/chunks/{link-group-YuwD1m6-.js → link-group-BEYO7nTK.js} +2 -2
  72. package/dist/cdn/chunks/{list-item-vO3GwQWa.js → list-item-CotWNKc1.js} +19 -19
  73. package/dist/cdn/chunks/{list-item-segment-F3av0jxz.js → list-item-segment-C-yl2GAS.js} +15 -15
  74. package/dist/cdn/chunks/{list-Cdvib5Y-.js → list-rMBdnf1f.js} +15 -15
  75. package/dist/cdn/chunks/{menu-bar-imOaTlGm.js → menu-bar-D9IxDwC2.js} +10 -10
  76. package/dist/cdn/chunks/{menu-bar-item-ChQbM1ER.js → menu-bar-item-768OWJdt.js} +18 -18
  77. package/dist/cdn/chunks/{menu-divider-D7s6f49y.js → menu-divider-BHAGnkBl.js} +3 -3
  78. package/dist/cdn/chunks/{menu-group-BcEmoNvL.js → menu-group-B5MAz_Yk.js} +6 -6
  79. package/dist/cdn/chunks/{menu-item-BGlVTfe6.js → menu-item-Ba581zRi.js} +22 -22
  80. package/dist/cdn/chunks/{menu-dTVlz6mn.js → menu-rE6tDSAy.js} +39 -35
  81. package/dist/cdn/chunks/{menu.template-syBthjEV.js → menu.template-Eb7J7UrL.js} +20 -5
  82. package/dist/cdn/chunks/{modal-dialog-BBK25tjm.js → modal-dialog-Djln8pr7.js} +5 -5
  83. package/dist/cdn/chunks/{multi-line-text-field-DuL6nLG_.js → multi-line-text-field-Omt0oidK.js} +5 -5
  84. package/dist/cdn/chunks/{navigation-split-view-CdZNbX91.js → navigation-split-view-DDng9DdF.js} +11 -11
  85. package/dist/cdn/chunks/{notification-Dwhfnjb2.js → notification-DB6JOmCC.js} +13 -13
  86. package/dist/cdn/chunks/{number-field-Dl4zZvVe.js → number-field-xgr4dysX.js} +7 -7
  87. package/dist/cdn/chunks/{one-half-one-half-section-BJxLZfiK.js → one-half-one-half-section-CFhmSDDa.js} +4 -4
  88. package/dist/cdn/chunks/{one-third-two-thirds-section-CARh_hdH.js → one-third-two-thirds-section-D0JV0GJ_.js} +4 -4
  89. package/dist/cdn/chunks/{one-time-code-field-FaxqiiD6.js → one-time-code-field-CqgKQqdE.js} +20 -20
  90. package/dist/cdn/chunks/{page-Cc5bb6VU.js → page-DXWHG-hD.js} +10 -10
  91. package/dist/cdn/chunks/{page-footer-Df1cS-ks.js → page-footer-GexGY_m-.js} +15 -15
  92. package/dist/cdn/chunks/{page-section-mixin-BzgAU2sX.js → page-section-mixin-CtiPKCqL.js} +3 -3
  93. package/dist/cdn/chunks/{pagination-BcnkrWV_.js → pagination-DJkfE8t9.js} +6 -6
  94. package/dist/cdn/chunks/{password-field-CeIJm406.js → password-field-gKiiE_5e.js} +7 -7
  95. package/dist/cdn/chunks/{popover-BIMt3aqW.js → popover-C-jxcCHx.js} +6 -6
  96. package/dist/cdn/chunks/{progress-bar-C9CWhkse.js → progress-bar-CBWQRWkE.js} +24 -24
  97. package/dist/cdn/chunks/{progress-circle-CJL1aFbS.js → progress-circle-CCcRDOOJ.js} +22 -22
  98. package/dist/cdn/chunks/{radio-button-DKo5kdLW.js → radio-button-B8xwJO3_.js} +3 -3
  99. package/dist/cdn/chunks/{radio-button-field-DPZajMnT.js → radio-button-field-B9lRNOXJ.js} +12 -12
  100. package/dist/cdn/chunks/{radio-button-group-BBZhU3bn.js → radio-button-group-Cy7Ya28w.js} +3 -3
  101. package/dist/cdn/chunks/{render-marked-Bkoq5vNH.js → render-marked-DjXBoUGY.js} +1 -1
  102. package/dist/cdn/chunks/{reorder-handle-cell-CEW8Cg1r.js → reorder-handle-cell-B6V85qYk.js} +4 -4
  103. package/dist/cdn/chunks/{reorder-handle-mixin-BkksqjmK.js → reorder-handle-mixin-DTmEmT-V.js} +2 -2
  104. package/dist/cdn/chunks/{repeat-C5V9E9Ta.js → repeat-Ck8L8Iy9.js} +1 -1
  105. package/dist/cdn/chunks/{rich-text-DEFr_Niu.js → rich-text-CqQeOXwL.js} +3 -3
  106. package/dist/cdn/chunks/{row-header-mixin-BSORP0i7.js → row-header-mixin-XRu3gHMf.js} +2 -2
  107. package/dist/cdn/chunks/{scroll-fade-B7kZVxmh.js → scroll-fade-e6d1wo3D.js} +4 -4
  108. package/dist/cdn/chunks/{search-field-Dr0MLD_z.js → search-field-Cz7Ucf6x.js} +9 -9
  109. package/dist/cdn/chunks/{segmented-control-aOIkoklF.js → segmented-control-CLzKU4SX.js} +33 -33
  110. package/dist/cdn/chunks/{shadow-resets-CRBumQjX.js → shadow-resets-CodxnaUh.js} +11 -7
  111. package/dist/cdn/chunks/{sheet-BCPE_pDl.js → sheet-DkmSsRV3.js} +4 -4
  112. package/dist/cdn/chunks/{shell-ZCsqW56P.js → shell-Ex_f7Ov3.js} +3 -3
  113. package/dist/cdn/chunks/{side-by-side-split-view-BWIyZmzo.js → side-by-side-split-view-C8aSEGRc.js} +7 -7
  114. package/dist/cdn/chunks/{sidebar-section-Di3mQROc.js → sidebar-section-CnD-3i7r.js} +8 -8
  115. package/dist/cdn/chunks/{simple-section-sOkNMsbz.js → simple-section-CeKnmobI.js} +4 -4
  116. package/dist/cdn/chunks/{skip-link-mcskOuFr.js → skip-link-DwtFm_NJ.js} +4 -4
  117. package/dist/cdn/chunks/{slider-CkPk4lBA.js → slider-BVdkwNW3.js} +21 -21
  118. package/dist/cdn/chunks/slot-content-2qH2vEC_.js +22 -0
  119. package/dist/cdn/chunks/slotted-block-xNpJoXLz.js +14 -0
  120. package/dist/cdn/chunks/{spacer-RB_KBaTr.js → spacer-H4zmoDr_.js} +3 -3
  121. package/dist/cdn/chunks/{spacer-cell-V1UaaPcO.js → spacer-cell-BES4eJH1.js} +4 -4
  122. package/dist/cdn/chunks/{split-button-BUEhYiI5.js → split-button-Caa30uTx.js} +7 -7
  123. package/dist/cdn/chunks/{split-view-divider-Rmb9cG9K.js → split-view-divider-klvZ8lgP.js} +2 -2
  124. package/dist/cdn/chunks/{split-view-pane-DQRZ9tE0.js → split-view-pane-Cnx56S5C.js} +4 -4
  125. package/dist/cdn/chunks/{stacked-split-view-BaeQhWmd.js → stacked-split-view-CYdGBY7Q.js} +7 -7
  126. package/dist/cdn/chunks/{static-html-CAczcbUD.js → static-html--Xd5vkAU.js} +1 -1
  127. package/dist/cdn/chunks/{status-bar-D3-IYqUp.js → status-bar-CJybViWL.js} +4 -4
  128. package/dist/cdn/chunks/{step-bar-BfNXoHds.js → step-bar-BO6Y1BrK.js} +21 -21
  129. package/dist/cdn/chunks/{step-cell-BN2ZKsQ4.js → step-cell-BQ8EHZVR.js} +5 -5
  130. package/dist/cdn/chunks/{stepper-DuPRMxBx.js → stepper-COTaJwSU.js} +6 -6
  131. package/dist/cdn/chunks/{style-map-LFqo5rE_.js → style-map-BwtZr74h.js} +1 -1
  132. package/dist/cdn/chunks/{swatch-picker-BVKCFzpO.js → swatch-picker-5fxe3QB1.js} +21 -21
  133. package/dist/cdn/chunks/{switch-CgUZ0WlQ.js → switch-BUxGg2ww.js} +4 -4
  134. package/dist/cdn/chunks/{switch-field-B4c8-L61.js → switch-field-DOsEK534.js} +5 -5
  135. package/dist/cdn/chunks/{tab-bar-D-1g8fdF.js → tab-bar-CZ9Z9qV9.js} +21 -21
  136. package/dist/cdn/chunks/{table-jrJ4EJpq.js → table-SAsB1kDN.js} +5 -5
  137. package/dist/cdn/chunks/{tag-JYwa5l-A.js → tag-xuCeECO3.js} +10 -10
  138. package/dist/cdn/chunks/{term-NyLmTWnF.js → term-DHEvoltZ.js} +20 -22
  139. package/dist/cdn/chunks/text-CiFzQPQw.js +260 -0
  140. package/dist/cdn/chunks/{text-cell-BXLFcD_e.js → text-cell-DQNzo2Rp.js} +74 -62
  141. package/dist/cdn/chunks/{text-editor-rLc5H6kD.js → text-editor-DCYF_nqz.js} +10 -10
  142. package/dist/cdn/chunks/{text-field-B7M4VwCe.js → text-field-BiPeMi6s.js} +22 -22
  143. package/dist/cdn/chunks/{time-field-BtQRsvpR.js → time-field-C-Euaiy0.js} +27 -27
  144. package/dist/cdn/chunks/{time-picker-BKLwibb9.js → time-picker-DYkxhEYm.js} +9 -9
  145. package/dist/cdn/chunks/{title-DLD3RW7l.js → title-DkS07R_v.js} +113 -98
  146. package/dist/cdn/chunks/{title-cell-BCUBuKIO.js → title-cell-CJevv6Vg.js} +83 -74
  147. package/dist/cdn/chunks/{toggle-button-Etx8hKQS.js → toggle-button-DDqd56_3.js} +25 -25
  148. package/dist/cdn/chunks/{toggle-button-group-Ph1kcTqj.js → toggle-button-group-ByxgMVzH.js} +2 -2
  149. package/dist/cdn/chunks/{token-BQtumlDT.js → token-YpVKK1g4.js} +13 -13
  150. package/dist/cdn/chunks/{token-field-BrV2RZHi.js → token-field-vLdJSvUz.js} +21 -21
  151. package/dist/cdn/chunks/{toolbar-w_2rxcNu.js → toolbar-C-5H46y9.js} +12 -12
  152. package/dist/cdn/chunks/{toolbar-item-x-y_AxHu.js → toolbar-item-CvPtoAoQ.js} +3 -3
  153. package/dist/cdn/chunks/{toolbar-title-g47zMdG2.js → toolbar-title-HElUvLeY.js} +4 -4
  154. package/dist/cdn/chunks/{toolbar.styles-EP0gu8kg.js → toolbar.styles-BuJIgj1E.js} +3 -3
  155. package/dist/cdn/chunks/{tooltip-D47hF_iD.js → tooltip-BF4HkWOi.js} +16 -16
  156. package/dist/cdn/chunks/{top-navigation-bar-DO7JsQVs.js → top-navigation-bar-ngF2MF40.js} +18 -18
  157. package/dist/cdn/chunks/{top-title-bar-CVEOoXhu.js → top-title-bar-BUjpi-w6.js} +14 -14
  158. package/dist/cdn/chunks/{translations-eWWV6weF.js → translations-BWgmZCAK.js} +1 -1
  159. package/dist/cdn/chunks/{two-thirds-one-third-section-x3dadNwz.js → two-thirds-one-third-section-Ci6O8SwP.js} +4 -4
  160. package/dist/cdn/chunks/{validation-list-krcQHzP3.js → validation-list-BBNFz_2I.js} +10 -10
  161. package/dist/cdn/chunks/{visibility-mixin-CXBa-fVi.js → visibility-mixin-BP5T5qYB.js} +4 -4
  162. package/dist/cdn/chunks/{visually-hidden-Cd1_FE1J.js → visually-hidden-BqYWVy4n.js} +2 -2
  163. package/dist/cdn/chunks/{window-JbrLuRjR.js → window-CvgGg1Ib.js} +4 -4
  164. package/dist/cdn/chunks/{with-translations-DhRk5rH-.js → with-translations-8SmMZkGa.js} +3 -3
  165. package/dist/components/actions/button-bar/button-bar.js +2 -2
  166. package/dist/components/actions/button-bar/button-bar.js.map +1 -1
  167. package/dist/components/actions/menu/menu.d.ts +13 -3
  168. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  169. package/dist/components/actions/menu/menu.js +31 -4
  170. package/dist/components/actions/menu/menu.js.map +1 -1
  171. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  172. package/dist/components/actions/menu/menu.styles.js +16 -1
  173. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  174. package/dist/components/content/identity/identity.d.ts +17 -10
  175. package/dist/components/content/identity/identity.d.ts.map +1 -1
  176. package/dist/components/content/identity/identity.js +33 -19
  177. package/dist/components/content/identity/identity.js.map +1 -1
  178. package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
  179. package/dist/components/content/identity/identity.styles.js +5 -1
  180. package/dist/components/content/identity/identity.styles.js.map +1 -1
  181. package/dist/components/content/identity/identity.template.d.ts +1 -1
  182. package/dist/components/content/identity/identity.template.d.ts.map +1 -1
  183. package/dist/components/content/identity/identity.template.js +11 -5
  184. package/dist/components/content/identity/identity.template.js.map +1 -1
  185. package/dist/components/content/term/term.template.d.ts.map +1 -1
  186. package/dist/components/content/term/term.template.js +6 -8
  187. package/dist/components/content/term/term.template.js.map +1 -1
  188. package/dist/components/content/text/text.d.ts +15 -2
  189. package/dist/components/content/text/text.d.ts.map +1 -1
  190. package/dist/components/content/text/text.js +19 -3
  191. package/dist/components/content/text/text.js.map +1 -1
  192. package/dist/components/content/text/text.styles.d.ts.map +1 -1
  193. package/dist/components/content/text/text.styles.js +7 -155
  194. package/dist/components/content/text/text.styles.js.map +1 -1
  195. package/dist/components/content/text/text.template.d.ts +3 -2
  196. package/dist/components/content/text/text.template.d.ts.map +1 -1
  197. package/dist/components/content/text/text.template.js +3 -4
  198. package/dist/components/content/text/text.template.js.map +1 -1
  199. package/dist/components/content/title/title.d.ts +22 -7
  200. package/dist/components/content/title/title.d.ts.map +1 -1
  201. package/dist/components/content/title/title.js +43 -19
  202. package/dist/components/content/title/title.js.map +1 -1
  203. package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
  204. package/dist/components/content/tooltip/tooltip.js +8 -7
  205. package/dist/components/content/tooltip/tooltip.js.map +1 -1
  206. package/dist/components/forms/form/form.d.ts +2 -2
  207. package/dist/components/forms/form/form.d.ts.map +1 -1
  208. package/dist/components/forms/form/form.js +2 -2
  209. package/dist/components/forms/form/form.js.map +1 -1
  210. package/dist/components/forms/form-section/form-section.d.ts +2 -2
  211. package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
  212. package/dist/components/forms/form-section/form-section.js +2 -2
  213. package/dist/components/forms/form-section/form-section.js.map +1 -1
  214. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +24 -13
  215. package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
  216. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +40 -31
  217. package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
  218. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
  219. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +5 -1
  220. package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
  221. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts +1 -1
  222. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
  223. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +15 -8
  224. package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
  225. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +23 -11
  226. package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
  227. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +39 -29
  228. package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
  229. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
  230. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +5 -1
  231. package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
  232. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts +1 -1
  233. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
  234. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +15 -16
  235. package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
  236. package/dist/components/navigation/link/link.d.ts +60 -1
  237. package/dist/components/navigation/link/link.d.ts.map +1 -1
  238. package/dist/components/navigation/link/link.js +145 -2
  239. package/dist/components/navigation/link/link.js.map +1 -1
  240. package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
  241. package/dist/components/navigation/link/link.styles.js +4 -0
  242. package/dist/components/navigation/link/link.styles.js.map +1 -1
  243. package/dist/components/navigation/link/link.template.d.ts +1 -0
  244. package/dist/components/navigation/link/link.template.d.ts.map +1 -1
  245. package/dist/components/navigation/link/link.template.js +4 -1
  246. package/dist/components/navigation/link/link.template.js.map +1 -1
  247. package/dist/css/global-open-font.css +2 -0
  248. package/dist/css/global.css +2 -0
  249. package/dist/css/link.css +93 -0
  250. package/dist/css/text.css +159 -0
  251. package/dist/css/title.css +10 -10
  252. package/dist/nldd.min.js +878 -999
  253. package/dist/types/react.d.ts +9 -7
  254. package/dist/types/vue.d.ts +9 -7
  255. package/dist/utilities/custom-element.d.ts +10 -0
  256. package/dist/utilities/custom-element.d.ts.map +1 -1
  257. package/dist/utilities/custom-element.js +11 -0
  258. package/dist/utilities/custom-element.js.map +1 -1
  259. package/dist/utilities/dev-checks.d.ts +8 -0
  260. package/dist/utilities/dev-checks.d.ts.map +1 -1
  261. package/dist/utilities/dev-checks.js +36 -0
  262. package/dist/utilities/dev-checks.js.map +1 -1
  263. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  264. package/dist/utilities/dev-rules.generated.js +37 -2
  265. package/dist/utilities/dev-rules.generated.js.map +1 -1
  266. package/dist/utilities/slot-content.d.ts +18 -7
  267. package/dist/utilities/slot-content.d.ts.map +1 -1
  268. package/dist/utilities/slot-content.js +25 -4
  269. package/dist/utilities/slot-content.js.map +1 -1
  270. package/dist/utilities/slotted-block.d.ts +20 -0
  271. package/dist/utilities/slotted-block.d.ts.map +1 -0
  272. package/dist/utilities/slotted-block.js +30 -0
  273. package/dist/utilities/slotted-block.js.map +1 -0
  274. package/lint/data.generated.json +1 -1
  275. package/lint/fix.js +43 -2
  276. package/lint/frontends.js +149 -15
  277. package/lint/linter.js +3 -2
  278. package/lint/main.js +17 -3
  279. package/lint/project.js +2 -2
  280. package/lint/rule.schema.json +2 -1
  281. package/package.json +7 -2
  282. package/dist/cdn/chunks/slot-content-BLuPqVXw.js +0 -13
  283. package/dist/cdn/chunks/text-gy-gkfSS.js +0 -406
@@ -16,13 +16,19 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
16
16
  * use `vertical-alignment="top"`.
17
17
  *
18
18
  * ### Slots vs attributes
19
- * Each text region (overline, title, supporting text) accepts either a string
20
- * attribute or slotted DOM content. The slot is the source of truth: if the
21
- * consumer provides slotted content, it replaces the attribute-based render
22
- * for that region. Use slots when you need inline elements like `<nldd-tag>`,
23
- * `<nldd-icon>` or other components mixed with text. Note that `query`
24
- * highlighting and `**bold**` parsing only apply to the attribute path —
25
- * slotted content is rendered as-is.
19
+ * Each text region (overline, title, supporting text) takes plain text in its
20
+ * attribute, or the element itself in its slot: a heading (`h1`–`h6`) or a
21
+ * `<p>` for the title, a `<p>` for the other two, as the cell draws them for the
22
+ * attribute. Use the slot when you need inline elements like `<nldd-tag>`,
23
+ * `<nldd-icon>` or other components mixed with text, and put them in that
24
+ * element: the heading is then in the HTML before any script runs. The slot
25
+ * wins over the attribute, and `heading-level` only applies to the attribute.
26
+ * Each region chooses for itself, so an attribute and a slot stand side by
27
+ * side: plain text in `supporting-text`, a heading with a tag in the default slot.
28
+ * The element in a slot takes the text style of the cell: a font, margin or
29
+ * other style the page sets on it does not apply.
30
+ * Note that `query` highlighting and `**bold**` parsing only apply to the
31
+ * attribute path; slotted content is rendered as-is.
26
32
  *
27
33
  * @element nldd-title-cell
28
34
  * @attr {string} size - Visual size of the title: 'display-1' to 'display-6', from large to small (unset: looks like 'display-5', and becomes 'display-6' in an `nldd-table-row`, where a title the size of the other cells reads better). Unlike nldd-title, `heading-level` does not set it: every row in a list looks the same, whatever its level
@@ -39,9 +45,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
39
45
  * @attr {string} overline - Optional overline text displayed above the title. Supports **bold**. Falls back to `overline` slot.
40
46
  * @attr {number} heading-level - Heading level for the title element: 1–6 (default: none, renders a <p>)
41
47
  *
42
- * @slot overline - Rich content for the overline region. Overrides the `overline` attribute when content is assigned.
43
- * @slot - (default) Rich content for the title. Wins over `text`.
44
- * @slot supporting-text - Rich content for the supporting text region. Overrides the `supporting-text` attribute when content is assigned.
48
+ * @slot overline - A `<p>` of your own for an overline that is more than text. Wins over `overline`.
49
+ * @slot - (default) A heading (`h1`–`h6`) or `<p>` of your own for a title that is more than text. Wins over `text`.
50
+ * @slot supporting-text - A `<p>` of your own for supporting text that is more than text. Wins over `supporting-text`.
51
+ * @accepts h1, h2, h3, h4, h5, h6, p
45
52
  *
46
53
  * ### Query mark
47
54
  * Set `query` to a substring to bold-highlight the match across text, overline
@@ -60,6 +67,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
60
67
  */
61
68
  import { LitElement } from 'lit';
62
69
  import { property, state } from 'lit/decorators.js';
70
+ import { LooseText } from '../../../../utilities/slotted-block.js';
71
+ import { holdsContent, slottedNodes } from '../../../../utilities/slot-content.js';
63
72
  import { ReorderHandleMixin } from '../../../../utilities/reorder-handle-mixin.js';
64
73
  import { customElement } from '../../../../utilities/custom-element.js';
65
74
  import { reflectNonDefault } from '../../../../utilities/reflect-non-default.js';
@@ -87,28 +96,12 @@ let NLDDTitleCell = class NLDDTitleCell extends ReorderHandleMixin(RowHeaderMixi
87
96
  this._hasDefaultSlotted = false;
88
97
  /** @internal */
89
98
  this._hasSupportingTextSlotted = false;
99
+ this._looseText = new LooseText(this);
90
100
  /** @internal */
91
101
  this._onSlotChange = (e) => {
92
102
  const slot = e.target;
93
- // Use assignedNodes() (not flatten) so we only count what the consumer
94
- // actually slotted — fallback content is excluded by design.
95
- const hasContent = slot.assignedNodes().some((node) => {
96
- if (node.nodeType === Node.TEXT_NODE) {
97
- return (node.textContent ?? '').trim().length > 0;
98
- }
99
- return node.nodeType === Node.ELEMENT_NODE;
100
- });
101
- switch (slot.name) {
102
- case 'overline':
103
- this._hasOverlineSlotted = hasContent;
104
- break;
105
- case 'supporting-text':
106
- this._hasSupportingTextSlotted = hasContent;
107
- break;
108
- default:
109
- this._hasDefaultSlotted = hasContent;
110
- break;
111
- }
103
+ // assignedNodes() (not flatten): only what the consumer slotted counts.
104
+ this._readSlot(slot.name, slot.assignedNodes());
112
105
  };
113
106
  }
114
107
  updated(changed) {
@@ -149,6 +142,23 @@ let NLDDTitleCell = class NLDDTitleCell extends ReorderHandleMixin(RowHeaderMixi
149
142
  this.style.removeProperty('--_title-cell-min-height');
150
143
  }
151
144
  }
145
+ /** Reads the children as the cell connects, so the first render already
146
+ * draws the box that fits them instead of swapping it on slotchange. */
147
+ connectedCallback() {
148
+ super.connectedCallback();
149
+ for (const name of ['overline', '', 'supporting-text'])
150
+ this._readSlot(name, slottedNodes(this, name));
151
+ }
152
+ _readSlot(name, nodes) {
153
+ this._looseText.read(name, nodes);
154
+ const hasContent = holdsContent(nodes);
155
+ if (name === 'overline')
156
+ this._hasOverlineSlotted = hasContent;
157
+ else if (name === 'supporting-text')
158
+ this._hasSupportingTextSlotted = hasContent;
159
+ else
160
+ this._hasDefaultSlotted = hasContent;
161
+ }
152
162
  render() {
153
163
  return template.call(this);
154
164
  }
@@ -1 +1 @@
1
- {"version":3,"file":"title-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EA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,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;oDACb;AAGnC;IAAR,KAAK,EAAE;0DAA6B;AAE5B;IAAR,KAAK,EAAE;yDAA4B;AAE3B;IAAR,KAAK,EAAE;gEAAmC;AAtD/B,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CAuHzB"}
1
+ {"version":3,"file":"title-cell.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,+CAA+C,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AASpE,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,kBAAkB,CAAC,cAAc,CAAC,eAAe,CAAC,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAA9G;;QAUN,UAAK,GAAU,SAAS,CAAC;QAGzB,UAAK,GAAW,MAAM,CAAC;QAYvB,wBAAmB,GAAwB,MAAM,CAAC;QAGlD,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,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,sBAAsB,EAAE,SAAS,EAAE,iBAAiB,CAAsB,MAAM,CAAC,EAAE,CAAC;0DACxE;AAGlD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,oBAAoB,EAAE,SAAS,EAAE,iBAAiB,CAAoB,QAAQ,CAAC,EAAE,CAAC;wDACxE;AAGhD;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;2CAC5D;AAGV;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;qDAChF;AAGpB;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;+CACxD;AAId;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;mDACV;AAG7C;IADC,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,iBAAiB,CAAS,EAAE,CAAC,EAAE,CAAC;4CAC3D;AAGX;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;oDACb;AAGnC;IAAR,KAAK,EAAE;0DAA6B;AAE5B;IAAR,KAAK,EAAE;yDAA4B;AAE3B;IAAR,KAAK,EAAE;gEAAmC;AAtD/B,aAAa;IADzB,aAAa,CAAC,iBAAiB,CAAC;GACpB,aAAa,CAsHzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"title-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,yBA0M3B,CAAC"}
1
+ {"version":3,"file":"title-cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,yBA8M3B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { css } from 'lit';
2
- import { inheritedTextReset } from '../../../../assets/styles/shadow-resets.js';
2
+ import { inheritedTextReset, slottedBlockReset } from '../../../../assets/styles/shadow-resets.js';
3
3
  export const titleCellStyles = css `
4
4
  :host {
5
5
  box-sizing: border-box;
@@ -202,5 +202,9 @@ export const titleCellStyles = css `
202
202
  overflow-wrap: anywhere;
203
203
  text-wrap: pretty;
204
204
  }
205
+
206
+ ::slotted(:is(p, h1, h2, h3, h4, h5, h6)) {
207
+ ${slottedBlockReset}
208
+ }
205
209
  `;
206
210
  //# sourceMappingURL=title-cell.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"title-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAEhF,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;IAkB9B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLrB,CAAC"}
1
+ {"version":3,"file":"title-cell.styles.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAC;AAEnG,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;IAkB9B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0LlB,iBAAiB;;CAEpB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { NLDDTitleCell } from './title-cell.js';
2
- export declare const template: (this: NLDDTitleCell) => import("lit-html").TemplateResult<1>;
2
+ export declare const template: (this: NLDDTitleCell) => import("lit-html").TemplateResult;
3
3
  //# sourceMappingURL=title-cell.template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"title-cell.template.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAyCrD,eAAO,MAAM,QAAQ,GAAa,MAAM,aAAa,yCA4BpD,CAAC"}
1
+ {"version":3,"file":"title-cell.template.d.ts","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAsCrD,eAAO,MAAM,QAAQ,GAAa,MAAM,aAAa,sCA8BpD,CAAC"}
@@ -1,4 +1,4 @@
1
- import { html, nothing } from 'lit';
1
+ import { nothing } from 'lit';
2
2
  import { html as staticHtml, unsafeStatic } from 'lit/static-html.js';
3
3
  import { renderQueryMark } from '../../../../utilities/render-marked.js';
4
4
  // SAFETY: whitelist of allowed heading tags for unsafeStatic.
@@ -13,32 +13,31 @@ const HEADING_TAGS = {
13
13
  5: unsafeStatic('h5'),
14
14
  6: unsafeStatic('h6'),
15
15
  };
16
+ const DIV = unsafeStatic('div');
17
+ const P = unsafeStatic('p');
16
18
  // Fallback content (the rendered text attribute) is rendered as a sibling of
17
19
  // the slot, NOT inside it. Native slot fallback gets suppressed as soon as ANY
18
20
  // node is assigned to the slot — including whitespace-only text nodes that
19
21
  // consumers introduce inadvertently. By rendering the attribute path outside
20
22
  // the slot, we control visibility purely via the `_has*Slotted` state (which
21
- // filters whitespace).
23
+ // filters whitespace). A filled slot gets a <div> around it: the <p> or
24
+ // heading of the app carries the meaning.
22
25
  function renderTitle(component) {
23
26
  const fallback = component.text && !component._hasDefaultSlotted
24
27
  ? renderQueryMark(component.text, component.query, component.queryMarkMode)
25
28
  : nothing;
26
29
  const isHidden = !component.text && !component._hasDefaultSlotted;
27
- const tag = HEADING_TAGS[component.headingLevel];
28
- if (tag) {
29
- return staticHtml `<${tag}
30
- class="title-cell__title"
31
- ?hidden=${isHidden}
32
- >${fallback}<slot @slotchange=${component._onSlotChange}></slot></${tag}>`;
33
- }
34
- return html `<p
30
+ const tag = component._hasDefaultSlotted ? DIV : (HEADING_TAGS[component.headingLevel] ?? P);
31
+ return staticHtml `<${tag}
35
32
  class="title-cell__title"
36
33
  ?hidden=${isHidden}
37
- >${fallback}<slot @slotchange=${component._onSlotChange}></slot></p>`;
34
+ >${fallback}<slot @slotchange=${component._onSlotChange}></slot></${tag}>`;
38
35
  }
39
36
  export const template = function () {
40
- return html `
41
- <p
37
+ const overlineTag = this._hasOverlineSlotted ? DIV : P;
38
+ const supportingTextTag = this._hasSupportingTextSlotted ? DIV : P;
39
+ return staticHtml `
40
+ <${overlineTag}
42
41
  class="title-cell__overline"
43
42
  ?hidden=${!this.overline && !this._hasOverlineSlotted}
44
43
  >
@@ -49,9 +48,9 @@ export const template = function () {
49
48
  name="overline"
50
49
  @slotchange=${this._onSlotChange}
51
50
  ></slot>
52
- </p>
51
+ </${overlineTag}>
53
52
  ${renderTitle(this)}
54
- <p
53
+ <${supportingTextTag}
55
54
  class="title-cell__supporting-text"
56
55
  ?hidden=${!this.supportingText && !this._hasSupportingTextSlotted}
57
56
  >
@@ -62,7 +61,7 @@ export const template = function () {
62
61
  name="supporting-text"
63
62
  @slotchange=${this._onSlotChange}
64
63
  ></slot>
65
- </p>
64
+ </${supportingTextTag}>
66
65
  `;
67
66
  };
68
67
  //# sourceMappingURL=title-cell.template.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"title-cell.template.js","sourceRoot":"","sources":["../../../../../src/components/lists-and-tables/cells/title-cell/title-cell.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEtE,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAEzE,8DAA8D;AAC9D,mEAAmE;AACnE,kEAAkE;AAClE,qBAAqB;AACrB,MAAM,YAAY,GAAoD;IACrE,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC;IACrB,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC;IACrB,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC;IACrB,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC;IACrB,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC;IACrB,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC;CACrB,CAAC;AAEF,6EAA6E;AAC7E,+EAA+E;AAC/E,2EAA2E;AAC3E,6EAA6E;AAC7E,6EAA6E;AAC7E,uBAAuB;AACvB,SAAS,WAAW,CAAC,SAAwB;IAC5C,MAAM,QAAQ,GAAG,SAAS,CAAC,IAAI,IAAI,CAAC,SAAS,CAAC,kBAAkB;QAC/D,CAAC,CAAC,eAAe,CAAC,SAAS,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*
19
+ * ### An `<a>` of your own
20
+ *
21
+ * Put an `<a>` in the default slot and the component draws no link of its own:
22
+ * it gives yours its look instead. A page then has the link in its HTML before
23
+ * any script runs, for a search engine that does not render the page, a link
24
+ * preview or reader mode, and a router gets the click: put the `<Link>` of
25
+ * React Router or Next in it, which renders an `<a>` and navigates itself.
26
+ * Without that, every click on a link in a shadow root loads the whole page.
27
+ *
28
+ * <nldd-link size="md"><a href="/patronen">Patronen</a></nldd-link>
29
+ *
30
+ * Everything about the link goes on the `<a>`: `href`, `target`, `rel`,
31
+ * `download`, and its text. Those attributes, `text`, `start-icon` and
32
+ * `end-icon` do nothing on `nldd-link` then. An icon goes in the `<a>` as an
33
+ * nldd-icon, so it is part of what you click and inside the focus ring.
34
+ * `size`, `accessible-label`, `interestfor`, `no-tab` and `disabled` keep
35
+ * working: the component sets `aria-label`, the description, `tabindex` and
36
+ * `aria-disabled` on your `<a>`, and leaves an attribute you set yourself
37
+ * alone. With `target="_blank"` it adds `noopener noreferrer` to the `rel` of
38
+ * the `<a>`, as it does to its own. A disabled link ignores a click before your
39
+ * router sees it. The hint about
40
+ * another website, a new tab or a download goes on it as `aria-description`, so
41
+ * a screen reader reads it after the name. Not as hidden text in the `<a>`: a
42
+ * framework that renders the `<a>` owns its children, and an extra one breaks
43
+ * hydration. One `<a>` per link.
44
+ *
45
+ * The look of the `<a>` comes from the global stylesheet, `dist/css/link.css`
46
+ * or `global.css`, which includes it, so the link looks right before the
47
+ * component loads, and without script.
48
+ *
19
49
  * @element nldd-link
20
50
  * @attr {string} href - Link target
21
51
  * @attr {string} target - Link target (e.g. '_blank'); adjusts rel automatically. With '_blank' the link adds a visually hidden "opent in nieuw tabblad" announcement for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page (another website, a subdomain too) adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply; there is no way to switch it off.
@@ -31,7 +61,8 @@
31
61
  * @attr {boolean} no-tab - Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable.
32
62
  * @attr {object} translations - Override translation keys (e.g. the "opent in nieuw tabblad" announcement); unset keys fall back to Dutch.
33
63
  *
34
- * @slot - Link text. Wins over `text`.
64
+ * @slot - Link text. Wins over `text`. Or an `<a>` of your own, which takes the place of the link the component draws.
65
+ * @accepts a
35
66
  * @slot start-icon - Custom icon before the text. Wins over `start-icon`.
36
67
  * @slot end-icon - Custom icon after the text. Wins over `end-icon`.
37
68
  */
@@ -74,11 +105,39 @@ export declare class NLDDLink extends NLDDLink_base {
74
105
  /** Wiring for the popover `interestfor` names: opens it on hover, focus
75
106
  * and long press. */
76
107
  _interest: InterestController;
108
+ /** @internal The `<a>` of the app in the default slot, which takes the place
109
+ * of the link this component draws. */
110
+ _anchor: HTMLAnchorElement | null;
111
+ /** Re-renders when the app changes what the hint on its `<a>` depends on. */
112
+ private _anchorObserver;
113
+ /** The attributes this component set on the `<a>`, and the value it set:
114
+ * only those are its to change or take away. */
115
+ private _applied;
77
116
  /** Whether the start-icon / end-icon slots hold an icon, so the space that
78
117
  * separates it from the label is only rendered next to an icon. */
79
118
  _hasStartSlot: boolean;
80
119
  _hasEndSlot: boolean;
81
120
  private _handleSlotChange;
121
+ private _handleDefaultSlotChange;
122
+ /** Finds the `<a>` of the app among the children that go in the default slot. */
123
+ private _findAnchor;
124
+ private _observeAnchor;
125
+ /** Sets an attribute on the `<a>`, unless the app set it itself. */
126
+ private _applyToAnchor;
127
+ /** The tokens this component added to the `rel` of the `<a>`. */
128
+ private _relAdded;
129
+ /** Adds `noopener noreferrer` to the `rel` of an `<a>` that opens a new tab,
130
+ * and takes back only what it added when that changes. */
131
+ private _applyRel;
132
+ /** Takes back what this component set on an `<a>` that is no longer its. */
133
+ private _release;
134
+ private _updateAnchor;
135
+ /** Stops a click on a disabled <a> of the app before its own handlers, a
136
+ * router's among them, see it: those run after the capture on the host.
137
+ * A middle click too, which would open the link in a new tab. */
138
+ private _blockDisabledAnchor;
139
+ connectedCallback(): void;
140
+ disconnectedCallback(): void;
82
141
  private _handleClick;
83
142
  updated(changed: PropertyValues): void;
84
143
  render(): import("lit-html").TemplateResult<1>;
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAGtD,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAMjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAE/E,OAAO,8BAA8B,CAAC;AAEtC,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;;;;;;;;;;AAElD,qBACa,QAAS,SAAQ,aAAkD;IAC/E,OAAgB,MAAM,0BAAc;IAEpC,6EAA6E;IAC7E,SAAS,cAAyB;IAGlC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAa;IAGrC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAEvC;8DAC0D;IAE1D,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IAGzC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAGpC,IAAI,EAAE,IAAI,CAAa;IAGvB,IAAI,SAAM;IAGV,SAAS,SAAM;IAGf,OAAO,SAAM;IAGb,eAAe,SAAM;IAGrB,QAAQ,UAAS;IACjB;;;4BAGwB;IAExB,KAAK,UAAS;IAGd,WAAW,EAAE,MAAM,GAAG,SAAS,CAAa;IAE5C;0BACsB;IACtB,SAAS,qBAAgC;IAEzC;wEACoE;IAC3D,aAAa,UAAS;IACtB,WAAW,UAAS;IAE7B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,YAAY;IAOX,OAAO,CAAC,OAAO,EAAE,cA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;qDACiD;IACjD,OAAO,CAAC,QAAQ,CAA6B;IAE7C;wEACoE;IAC3D,aAAa,UAAS;IACtB,WAAW,UAAS;IAE7B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,wBAAwB,CAG9B;IAEF,iFAAiF;IACjF,OAAO,CAAC,WAAW;IASnB,OAAO,CAAC,cAAc;IAOtB,oEAAoE;IACpE,OAAO,CAAC,cAAc;IAYtB,iEAAiE;IACjE,OAAO,CAAC,SAAS,CAAgB;IAEjC;+DAC2D;IAC3D,OAAO,CAAC,SAAS;IAUjB,4EAA4E;IAC5E,OAAO,CAAC,QAAQ;IAMhB,OAAO,CAAC,aAAa;IAYrB;;sEAEkE;IAClE,OAAO,CAAC,oBAAoB,CAI1B;IAEO,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;IAUrC,OAAO,CAAC,YAAY;IAOX,OAAO,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI;IAUtC,MAAM;CAOf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;KACtB;CACD"}
@@ -16,6 +16,36 @@
16
16
  * For links in CMS or markdown output, where the `<a>` arrives as HTML,
17
17
  * `<nldd-rich-text>` with a raw `<a>` remains the route to take.
18
18
  *
19
+ * ### An `<a>` of your own
20
+ *
21
+ * Put an `<a>` in the default slot and the component draws no link of its own:
22
+ * it gives yours its look instead. A page then has the link in its HTML before
23
+ * any script runs, for a search engine that does not render the page, a link
24
+ * preview or reader mode, and a router gets the click: put the `<Link>` of
25
+ * React Router or Next in it, which renders an `<a>` and navigates itself.
26
+ * Without that, every click on a link in a shadow root loads the whole page.
27
+ *
28
+ * <nldd-link size="md"><a href="/patronen">Patronen</a></nldd-link>
29
+ *
30
+ * Everything about the link goes on the `<a>`: `href`, `target`, `rel`,
31
+ * `download`, and its text. Those attributes, `text`, `start-icon` and
32
+ * `end-icon` do nothing on `nldd-link` then. An icon goes in the `<a>` as an
33
+ * nldd-icon, so it is part of what you click and inside the focus ring.
34
+ * `size`, `accessible-label`, `interestfor`, `no-tab` and `disabled` keep
35
+ * working: the component sets `aria-label`, the description, `tabindex` and
36
+ * `aria-disabled` on your `<a>`, and leaves an attribute you set yourself
37
+ * alone. With `target="_blank"` it adds `noopener noreferrer` to the `rel` of
38
+ * the `<a>`, as it does to its own. A disabled link ignores a click before your
39
+ * router sees it. The hint about
40
+ * another website, a new tab or a download goes on it as `aria-description`, so
41
+ * a screen reader reads it after the name. Not as hidden text in the `<a>`: a
42
+ * framework that renders the `<a>` owns its children, and an extra one breaks
43
+ * hydration. One `<a>` per link.
44
+ *
45
+ * The look of the `<a>` comes from the global stylesheet, `dist/css/link.css`
46
+ * or `global.css`, which includes it, so the link looks right before the
47
+ * component loads, and without script.
48
+ *
19
49
  * @element nldd-link
20
50
  * @attr {string} href - Link target
21
51
  * @attr {string} target - Link target (e.g. '_blank'); adjusts rel automatically. With '_blank' the link adds a visually hidden "opent in nieuw tabblad" announcement for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page (another website, a subdomain too) adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply; there is no way to switch it off.
@@ -31,7 +61,8 @@
31
61
  * @attr {boolean} no-tab - Takes the control out of the tab order (tabindex="-1"), for a control owned by a roving container (a row of an nldd-list, where the arrow keys move between rows) that manages focus itself. Still mouse- and script-focusable.
32
62
  * @attr {object} translations - Override translation keys (e.g. the "opent in nieuw tabblad" announcement); unset keys fall back to Dutch.
33
63
  *
34
- * @slot - Link text. Wins over `text`.
64
+ * @slot - Link text. Wins over `text`. Or an `<a>` of your own, which takes the place of the link the component draws.
65
+ * @accepts a
35
66
  * @slot start-icon - Custom icon before the text. Wins over `start-icon`.
36
67
  * @slot end-icon - Custom icon after the text. Wins over `end-icon`.
37
68
  */
@@ -52,6 +83,8 @@ import { withTranslations } from '../../../utilities/with-translations.js';
52
83
  import { nlddLinkTranslations } from './link.i18n.js';
53
84
  import { InterestController } from '../../../utilities/interest-controller.js';
54
85
  import { applyDescribedBy } from '../../../utilities/described-by-mixin.js';
86
+ import { downloadLinkHintKey } from '../../../utilities/link-hint.js';
87
+ import { linkRel } from '../../../utilities/link-rel.js';
55
88
  import './../../content/icon/icon.js';
56
89
  let NLDDLink = class NLDDLink extends withTranslations(LitElement, nlddLinkTranslations) {
57
90
  constructor() {
@@ -79,10 +112,33 @@ let NLDDLink = class NLDDLink extends withTranslations(LitElement, nlddLinkTrans
79
112
  /** Wiring for the popover `interestfor` names: opens it on hover, focus
80
113
  * and long press. */
81
114
  this._interest = new InterestController(this);
115
+ /** @internal The `<a>` of the app in the default slot, which takes the place
116
+ * of the link this component draws. */
117
+ this._anchor = null;
118
+ /** Re-renders when the app changes what the hint on its `<a>` depends on. */
119
+ this._anchorObserver = null;
120
+ /** The attributes this component set on the `<a>`, and the value it set:
121
+ * only those are its to change or take away. */
122
+ this._applied = new Map();
82
123
  /** Whether the start-icon / end-icon slots hold an icon, so the space that
83
124
  * separates it from the label is only rendered next to an icon. */
84
125
  this._hasStartSlot = false;
85
126
  this._hasEndSlot = false;
127
+ this._handleDefaultSlotChange = (e) => {
128
+ this._textSlot.onChange(e);
129
+ this._findAnchor();
130
+ };
131
+ /** The tokens this component added to the `rel` of the `<a>`. */
132
+ this._relAdded = [];
133
+ /** Stops a click on a disabled <a> of the app before its own handlers, a
134
+ * router's among them, see it: those run after the capture on the host.
135
+ * A middle click too, which would open the link in a new tab. */
136
+ this._blockDisabledAnchor = (e) => {
137
+ if (!this.disabled || !this._anchor || !e.composedPath().includes(this._anchor))
138
+ return;
139
+ e.preventDefault();
140
+ e.stopPropagation();
141
+ };
86
142
  }
87
143
  _handleSlotChange(e) {
88
144
  const slot = e.target;
@@ -92,6 +148,86 @@ let NLDDLink = class NLDDLink extends withTranslations(LitElement, nlddLinkTrans
92
148
  else
93
149
  this._hasEndSlot = filled;
94
150
  }
151
+ /** Finds the `<a>` of the app among the children that go in the default slot. */
152
+ _findAnchor() {
153
+ const anchors = [...this.children].filter((child) => child.localName === 'a' && !child.hasAttribute('slot'));
154
+ const anchor = anchors[0] ?? null;
155
+ if (anchor === this._anchor)
156
+ return;
157
+ if (this._anchor)
158
+ this._release(this._anchor);
159
+ this._anchor = anchor;
160
+ this._observeAnchor();
161
+ }
162
+ _observeAnchor() {
163
+ this._anchorObserver?.disconnect();
164
+ if (!this._anchor)
165
+ return;
166
+ this._anchorObserver ?? (this._anchorObserver = new MutationObserver(() => this.requestUpdate()));
167
+ this._anchorObserver.observe(this._anchor, { attributes: true, attributeFilter: ['href', 'target', 'download', 'rel'] });
168
+ }
169
+ /** Sets an attribute on the `<a>`, unless the app set it itself. */
170
+ _applyToAnchor(anchor, name, value) {
171
+ const ours = this._applied.has(name) && anchor.getAttribute(name) === this._applied.get(name);
172
+ if (value === null) {
173
+ if (ours)
174
+ anchor.removeAttribute(name);
175
+ this._applied.delete(name);
176
+ return;
177
+ }
178
+ if (anchor.hasAttribute(name) && !ours)
179
+ return;
180
+ anchor.setAttribute(name, value);
181
+ this._applied.set(name, value);
182
+ }
183
+ /** Adds `noopener noreferrer` to the `rel` of an `<a>` that opens a new tab,
184
+ * and takes back only what it added when that changes. */
185
+ _applyRel(anchor, target) {
186
+ const current = anchor.getAttribute('rel') ?? '';
187
+ const own = current.split(/\s+/).filter((token) => token && !this._relAdded.includes(token));
188
+ const wanted = linkRel(own.join(' '), target);
189
+ this._relAdded = wanted.split(/\s+/).filter((token) => token && !own.includes(token));
190
+ if (wanted === current)
191
+ return;
192
+ if (wanted)
193
+ anchor.setAttribute('rel', wanted);
194
+ else
195
+ anchor.removeAttribute('rel');
196
+ }
197
+ /** Takes back what this component set on an `<a>` that is no longer its. */
198
+ _release(anchor) {
199
+ for (const name of [...this._applied.keys()])
200
+ this._applyToAnchor(anchor, name, null);
201
+ this._applyRel(anchor, null);
202
+ applyDescribedBy(anchor, [], true);
203
+ }
204
+ _updateAnchor(anchor) {
205
+ const key = downloadLinkHintKey(anchor.getAttribute('href'), anchor.getAttribute('target'), anchor.getAttribute('download'));
206
+ this._applyToAnchor(anchor, 'aria-description', key ? this._t(`components.link.${key}`) : null);
207
+ this._applyToAnchor(anchor, 'aria-label', this.accessibleLabel || null);
208
+ // Without an href an <a> is not focusable; a disabled link stays reachable.
209
+ const unreachable = this.disabled && !anchor.hasAttribute('href');
210
+ this._applyToAnchor(anchor, 'tabindex', this.noTab ? '-1' : (unreachable ? '0' : null));
211
+ this._applyToAnchor(anchor, 'role', unreachable ? 'link' : null);
212
+ this._applyToAnchor(anchor, 'aria-disabled', this.disabled ? 'true' : null);
213
+ this._applyRel(anchor, anchor.getAttribute('target'));
214
+ }
215
+ connectedCallback() {
216
+ super.connectedCallback();
217
+ this.addEventListener('click', this._blockDisabledAnchor, true);
218
+ this.addEventListener('auxclick', this._blockDisabledAnchor, true);
219
+ this._findAnchor();
220
+ }
221
+ disconnectedCallback() {
222
+ super.disconnectedCallback();
223
+ this.removeEventListener('click', this._blockDisabledAnchor, true);
224
+ this.removeEventListener('auxclick', this._blockDisabledAnchor, true);
225
+ this._anchorObserver?.disconnect();
226
+ // The <a> can outlive this link; connectedCallback finds it again on a move.
227
+ if (this._anchor)
228
+ this._release(this._anchor);
229
+ this._anchor = null;
230
+ }
95
231
  _handleClick(e) {
96
232
  if (this.disabled) {
97
233
  e.preventDefault();
@@ -103,13 +239,17 @@ let NLDDLink = class NLDDLink extends withTranslations(LitElement, nlddLinkTrans
103
239
  if (changed.has('interestfor'))
104
240
  this._interest.refresh();
105
241
  // By element: the link sits in this shadow root, the popover outside it.
242
+ // An <a> of the app sits next to the popover, in the same tree.
106
243
  const overlay = this._interest.overlay;
107
- applyDescribedBy(this.shadowRoot?.querySelector('.link'), overlay ? [overlay] : [], true);
244
+ if (this._anchor)
245
+ this._updateAnchor(this._anchor);
246
+ applyDescribedBy(this._anchor ?? this.shadowRoot?.querySelector('.link'), overlay ? [overlay] : [], true);
108
247
  }
109
248
  render() {
110
249
  return template.call(this, {
111
250
  handleClick: this._handleClick.bind(this),
112
251
  handleSlotChange: this._handleSlotChange.bind(this),
252
+ handleDefaultSlotChange: this._handleDefaultSlotChange,
113
253
  });
114
254
  }
115
255
  };
@@ -150,6 +290,9 @@ __decorate([
150
290
  __decorate([
151
291
  property({ type: String, reflect: true })
152
292
  ], NLDDLink.prototype, "interestfor", void 0);
293
+ __decorate([
294
+ state()
295
+ ], NLDDLink.prototype, "_anchor", void 0);
153
296
  __decorate([
154
297
  state()
155
298
  ], NLDDLink.prototype, "_hasStartSlot", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"link.js","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;;;;;;;AAEH,OAAO,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,8BAA8B,CAAC;AAK/B,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,gBAAgB,CAAC,UAAU,EAAE,oBAAoB,CAAC;IAAzE;;QAGN,6EAA6E;QAC7E,cAAS,GAAG,I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6CACE;AAQnC;IAAR,KAAK,EAAE;yCAA0C;AAWzC;IAAR,KAAK,EAAE;+CAAuB;AACtB;IAAR,KAAK,EAAE;6CAAqB;AAjEjB,QAAQ;IADpB,aAAa,CAAC,WAAW,CAAC;GACd,QAAQ,CAiMpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"link.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,yBAiKtB,CAAC"}
1
+ {"version":3,"file":"link.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,yBAqKtB,CAAC"}
@@ -126,6 +126,10 @@ export const linkStyles = css `
126
126
 
127
127
  /* # Elements */
128
128
 
129
+ .link__anchor {
130
+ display: contents;
131
+ }
132
+
129
133
  .link__label {
130
134
  text-decoration: underline;
131
135
  text-underline-offset: 0.15em;
@@ -1 +1 @@
1
- {"version":3,"file":"link.styles.js","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;IAazB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoJrB,CAAC"}
1
+ {"version":3,"file":"link.styles.js","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;;;;IAazB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwJrB,CAAC"}
@@ -2,6 +2,7 @@ import type { NLDDLink } from './link.js';
2
2
  interface TemplateHelpers {
3
3
  handleClick: (e: MouseEvent) => void;
4
4
  handleSlotChange: (e: Event) => void;
5
+ handleDefaultSlotChange: (e: Event) => void;
5
6
  }
6
7
  export declare function template(this: NLDDLink, helpers: TemplateHelpers): import("lit-html").TemplateResult<1>;
7
8
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"link.template.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAI1C,UAAU,eAAe;IACxB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,gBAAgB,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;CACrC;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,wCAyChE"}
1
+ {"version":3,"file":"link.template.d.ts","sourceRoot":"","sources":["../../../../src/components/navigation/link/link.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAI1C,UAAU,eAAe;IACxB,WAAW,EAAE,CAAC,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;IACrC,gBAAgB,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IACrC,uBAAuB,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;CAC5C;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,eAAe,wCA2ChE"}