@nldd/design-system 0.25.1 → 0.26.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 (415) hide show
  1. package/custom-elements.json +2845 -79
  2. package/dist/cdn/autoloader.js +141 -140
  3. package/dist/cdn/chunks/{accordion-B7KdKJno.js → accordion-DA4IlxS5.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-item-CVy8Apta.js → accordion-item-Ca1o93cq.js} +9 -7
  5. package/dist/cdn/chunks/{activity-indicator-CpJVlX6K.js → activity-indicator-Cj4H0Mbz.js} +5 -5
  6. package/dist/cdn/chunks/{admonition-C89WHJ9a.js → admonition-CdZSoO8O.js} +9 -7
  7. package/dist/cdn/chunks/{avatar-Bf0OfAtQ.js → avatar-Dhqn-Dmv.js} +6 -6
  8. package/dist/cdn/chunks/{avatar-group-BeBAv2wB.js → avatar-group-B017eF-u.js} +15 -15
  9. package/dist/cdn/chunks/{badge-C43FvgkK.js → badge-Bep5B0_g.js} +5 -5
  10. package/dist/cdn/chunks/{banner-OWK0gwFb.js → banner-DGpIXuE2.js} +7 -7
  11. package/dist/cdn/chunks/{bar-split-view-Dj1WycIW.js → bar-split-view-CKwJxd3e.js} +5 -5
  12. package/dist/cdn/chunks/{blockquote-D_5MxcSi.js → blockquote-ChMgaOuI.js} +3 -3
  13. package/dist/cdn/chunks/{box-BUoxiA7b.js → box-BRmziG-6.js} +3 -3
  14. package/dist/cdn/chunks/{breadcrumbs-DXxJTACL.js → breadcrumbs-BeVO8bkQ.js} +5 -5
  15. package/dist/cdn/chunks/{button-bar-BSt-QQRG.js → button-bar-CLxOdalJ.js} +3 -3
  16. package/dist/cdn/chunks/{button-DpKyquzm.js → button-cHBkq_s7.js} +9 -9
  17. package/dist/cdn/chunks/{button-group-D5QJWJzh.js → button-group-BIvKtEIX.js} +2 -2
  18. package/dist/cdn/chunks/{card-Cz4f-dCf.js → card-B5gp9Zly.js} +8 -6
  19. package/dist/cdn/chunks/{cell-zFw2V9wD.js → cell-D4Nrd5Z9.js} +6 -6
  20. package/dist/cdn/chunks/{checkbox-BDp3O8Nc.js → checkbox-CeLTJhAc.js} +4 -4
  21. package/dist/cdn/chunks/checkbox-field-C8cU8fuf.js +244 -0
  22. package/dist/cdn/chunks/checkbox-group-CC72cq-P.js +103 -0
  23. package/dist/cdn/chunks/{class-map-C7ao595e.js → class-map-xzscTu4B.js} +1 -1
  24. package/dist/cdn/chunks/{code-editor-Chm9EG_v.js → code-editor-BNhlXTSl.js} +10 -10
  25. package/dist/cdn/chunks/{code-viewer-DX322d7w.js → code-viewer-D_JwouYO.js} +35 -35
  26. package/dist/cdn/chunks/{codemirror-input-BLMJQbHq.js → codemirror-input-DJ0wgYrc.js} +368 -368
  27. package/dist/cdn/chunks/{collection-Bf8HoSki.js → collection-BXvz_OtU.js} +8 -8
  28. package/dist/cdn/chunks/{combo-box-VuU_F54v.js → combo-box-8kbmoStb.js} +10 -9
  29. package/dist/cdn/chunks/{container-qVTgmbpz.js → container-Dq-2uHd5.js} +2 -2
  30. package/dist/cdn/chunks/{custom-element-C5yyaCZS.js → custom-element-DeaCQ2NP.js} +1 -1
  31. package/dist/cdn/chunks/{date-field-By9Q8151.js → date-field-CQg1_73u.js} +13 -13
  32. package/dist/cdn/chunks/{date-picker-DtA4PXCh.js → date-picker-CTMxGOiA.js} +10 -10
  33. package/dist/cdn/chunks/{decorate-CkbtFnic.js → decorate-CCYde2ES.js} +1 -1
  34. package/dist/cdn/chunks/described-by-mixin-BYFim7aO.js +62 -0
  35. package/dist/cdn/chunks/{description-cell-D2INE8A3.js → description-cell-GcVeCz2_.js} +6 -6
  36. package/dist/cdn/chunks/{dev-checks-UHHli7gE.js → dev-checks-CSlbfDuF.js} +43 -5
  37. package/dist/cdn/chunks/directive-helpers-DgaADFyY.js +24 -0
  38. package/dist/cdn/chunks/{dist-BG0xnVUi.js → dist-1OQdP4ho.js} +10 -10
  39. package/dist/cdn/chunks/{dist-C-T4uKP1.js → dist-5vPsM2aV.js} +8 -8
  40. package/dist/cdn/chunks/{dist-VXOtAJ-m.js → dist-B23jHvJ5.js} +15 -15
  41. package/dist/cdn/chunks/{dist-Cm51DQO4.js → dist-CNy2sPTt.js} +6 -6
  42. package/dist/cdn/chunks/{dist-B1pwN_VD.js → dist-CcpLhc4y.js} +7 -7
  43. package/dist/cdn/chunks/{dist-Ce38ZA7b.js → dist-CyDpBAaD.js} +7 -7
  44. package/dist/cdn/chunks/{dist-pCih3zzc.js → dist-D4SViUJx.js} +21 -21
  45. package/dist/cdn/chunks/{dist-qo8avphr.js → dist-DBxjWahH.js} +4 -4
  46. package/dist/cdn/chunks/{dist-BzfFo9Yu.js → dist-DLtwMUDc.js} +18 -18
  47. package/dist/cdn/chunks/{dist-Dg3ySzj7.js → dist-Da_liXcd.js} +124 -124
  48. package/dist/cdn/chunks/{dist-zxb4QZZG.js → dist-VCymi0hs.js} +250 -250
  49. package/dist/cdn/chunks/{divider-Cv_vyHvw.js → divider-8XD3xTbl.js} +2 -2
  50. package/dist/cdn/chunks/{document-tab-bar-CdOxr8KC.js → document-tab-bar-RBAmckHS.js} +9 -9
  51. package/dist/cdn/chunks/{dropdown-DC9J6k0P.js → dropdown-DVlxPcjr.js} +5 -5
  52. package/dist/cdn/chunks/field-button-controller-yvICuXoE.js +26 -0
  53. package/dist/cdn/chunks/{file-field-CsrTk4uk.js → file-field-BrHnFplX.js} +12 -12
  54. package/dist/cdn/chunks/{form-ClOD1OKh.js → form-DGHeGEIr.js} +1 -1
  55. package/dist/cdn/chunks/{form-actions-CwaXGj43.js → form-actions-CHwWKfMM.js} +2 -2
  56. package/dist/cdn/chunks/{form-field-LoX9v2Pa.js → form-field-CdTSI-8h.js} +21 -16
  57. package/dist/cdn/chunks/{form-section-i6piyKuy.js → form-section-CjECOIiZ.js} +1 -1
  58. package/dist/cdn/chunks/{full-bleed-section-6aAfCnez.js → full-bleed-section-CQgq4iGQ.js} +3 -3
  59. package/dist/cdn/chunks/{hero-CTQAayXT.js → hero-DhdcYt2N.js} +4 -4
  60. package/dist/cdn/chunks/{icon-button-DuEiOOoc.js → icon-button-DT_Bi4Ac.js} +17 -13
  61. package/dist/cdn/chunks/{icon-cell-uZkR3hZx.js → icon-cell-C-qrZAlN.js} +5 -5
  62. package/dist/cdn/chunks/{icon-B5kHyCz2.js → icon-qpmEfU9B.js} +2 -2
  63. package/dist/cdn/chunks/{identity-DR6DMjke.js → identity-DFmvuPkl.js} +6 -6
  64. package/dist/cdn/chunks/{if-defined-B7fJBsUt.js → if-defined-BINBE69I.js} +1 -1
  65. package/dist/cdn/chunks/{image-CuBUo_MQ.js → image-B4M3h1xJ.js} +8 -8
  66. package/dist/cdn/chunks/{inline-dialog-CZNkWJIA.js → inline-dialog-L-NvjANF.js} +6 -6
  67. package/dist/cdn/chunks/{just-in-time-education-qwg9hTDX.js → just-in-time-education-CWplH4r9.js} +5 -5
  68. package/dist/cdn/chunks/{kanban-Bkg-nZmX.js → kanban-B6Wa-2aM.js} +5 -5
  69. package/dist/cdn/chunks/{kanban-column-C8iRyRNY.js → kanban-column-D2-Xq79_.js} +4 -4
  70. package/dist/cdn/chunks/{keyboard-shortcut-Rq5IHU-e.js → keyboard-shortcut-Ci95olxF.js} +118 -47
  71. package/dist/cdn/chunks/{languages-DLHsACpp.js → languages-C9AGuuSS.js} +43 -32
  72. package/dist/cdn/chunks/{link-CgjFwaHP.js → link-BJB2a_fG.js} +36 -28
  73. package/dist/cdn/chunks/{link-group-5W0GAmTq.js → link-group-aNoedLZo.js} +2 -2
  74. package/dist/cdn/chunks/{list-BASqIKtP.js → list-CZWX62tH.js} +8 -8
  75. package/dist/cdn/chunks/{list-item-DTcPysIP.js → list-item-DHzsbK_S.js} +5 -5
  76. package/dist/cdn/chunks/{list-item-segment-CRw0y4kg.js → list-item-segment-CHLlU9Gg.js} +3 -3
  77. package/dist/cdn/chunks/{menu-CYILGTpB.js → menu-NGpB1SKq.js} +42 -22
  78. package/dist/cdn/chunks/{menu-bar-CL566HmJ.js → menu-bar-CJazkmY7.js} +6 -6
  79. package/dist/cdn/chunks/{menu-bar-item-C6OrUu_4.js → menu-bar-item-CSqXWNKE.js} +6 -6
  80. package/dist/cdn/chunks/{menu-divider-BtU9eBSb.js → menu-divider-Cn1hTpcM.js} +3 -3
  81. package/dist/cdn/chunks/{menu-group-r2TvdqJB.js → menu-group-C71K1Vmv.js} +4 -4
  82. package/dist/cdn/chunks/{menu-item-CS45jTLu.js → menu-item-TqBlQfI2.js} +4 -4
  83. package/dist/cdn/chunks/{menu.template-CF8Iau1s.js → menu.template-DthELYky.js} +21 -16
  84. package/dist/cdn/chunks/{modal-dialog-C9NBq8TO.js → modal-dialog-0V2HsrJC.js} +4 -4
  85. package/dist/cdn/chunks/{multi-line-text-field-BkxV0vqA.js → multi-line-text-field-BV4uUDoK.js} +60 -34
  86. package/dist/cdn/chunks/{navigation-split-view-DNrQYkg7.js → navigation-split-view-tPhkxEVD.js} +4 -4
  87. package/dist/cdn/chunks/{notification-Dzpy9hCc.js → notification-CZccv6qx.js} +6 -6
  88. package/dist/cdn/chunks/{number-field-BJCUe-bI.js → number-field-4R2blHda.js} +8 -8
  89. package/dist/cdn/chunks/{one-half-one-half-section-Ctw8ri5v.js → one-half-one-half-section-h2fLPQfP.js} +3 -3
  90. package/dist/cdn/chunks/{one-third-two-thirds-section-DxUUH8lS.js → one-third-two-thirds-section-mqUAH5lK.js} +3 -3
  91. package/dist/cdn/chunks/{one-time-code-field-DGDyqIMd.js → one-time-code-field-Bf_qymKd.js} +8 -7
  92. package/dist/cdn/chunks/{page-BpavFPML.js → page-Kipfvmi6.js} +4 -4
  93. package/dist/cdn/chunks/{page-footer-CVqmyulx.js → page-footer-DxE966Oe.js} +4 -4
  94. package/dist/cdn/chunks/{page-section-mixin-BHg-Wre9.js → page-section-mixin-DpF9JDpd.js} +3 -3
  95. package/dist/cdn/chunks/{pagination-BGZYq-eO.js → pagination-DUFFhaU8.js} +6 -6
  96. package/dist/cdn/chunks/{password-field-BIFfLAls.js → password-field-DdYAVmF3.js} +9 -9
  97. package/dist/cdn/chunks/{popover-TCW20ibN.js → popover-CRHxyhGx.js} +6 -6
  98. package/dist/cdn/chunks/{progress-bar-C4bLuJBa.js → progress-bar-BuYsjmSo.js} +7 -7
  99. package/dist/cdn/chunks/{progress-circle-BePtt89f.js → progress-circle-Cvu1bfNG.js} +7 -7
  100. package/dist/cdn/chunks/{radio-button-CLiuwjA1.js → radio-button-B_4AxWDx.js} +3 -3
  101. package/dist/cdn/chunks/{radio-button-field-BPva1mUv.js → radio-button-field-D7jIg6Oi.js} +6 -6
  102. package/dist/cdn/chunks/{radio-button-group-Z5s4obz6.js → radio-button-group-D_OezDhB.js} +12 -6
  103. package/dist/cdn/chunks/{render-marked-C3ypoEZM.js → render-marked-CIuiSS_8.js} +1 -1
  104. package/dist/cdn/chunks/{reorder-handle-cell-BB9b4T_d.js → reorder-handle-cell-DNPaZjSC.js} +4 -4
  105. package/dist/cdn/chunks/{reorder-handle-mixin-DBjNe6Rl.js → reorder-handle-mixin-CgvWq4fF.js} +2 -2
  106. package/dist/cdn/chunks/repeat-DfVuWl6o.js +57 -0
  107. package/dist/cdn/chunks/{return-focus-BzZWhXhc.js → return-focus-D0fF2hjd.js} +1 -1
  108. package/dist/cdn/chunks/{rich-text-DTxHo8E_.js → rich-text-CVHlMQY6.js} +3 -3
  109. package/dist/cdn/chunks/{row-header-mixin-BcwoEgu7.js → row-header-mixin-B25JK2B3.js} +2 -2
  110. package/dist/cdn/chunks/{scroll-fade-Dul0IfE1.js → scroll-fade-Dv57rTww.js} +2 -2
  111. package/dist/cdn/chunks/{search-field-BeZN7S8J.js → search-field-hmD_DXbG.js} +11 -11
  112. package/dist/cdn/chunks/{segmented-control-Dzu8xoqB.js → segmented-control-e8e-jYSw.js} +6 -6
  113. package/dist/cdn/chunks/{shadow-resets-Dlq8Oecv.js → shadow-resets-CRdvf-Ei.js} +2 -2
  114. package/dist/cdn/chunks/{sheet-DaQpfAep.js → sheet-D09y3J45.js} +4 -4
  115. package/dist/cdn/chunks/{shell-DSNgonKU.js → shell-CV3gooGg.js} +3 -3
  116. package/dist/cdn/chunks/{side-by-side-split-view-DhGbcDrs.js → side-by-side-split-view-Ckz1C9zk.js} +4 -4
  117. package/dist/cdn/chunks/{sidebar-section-BlJmPb9C.js → sidebar-section-CdyD-x4t.js} +7 -7
  118. package/dist/cdn/chunks/{simple-section-CYiTEFqN.js → simple-section-CEf38rBZ.js} +3 -3
  119. package/dist/cdn/chunks/{skip-link-CReOb-Ci.js → skip-link-DMRhATWw.js} +4 -4
  120. package/dist/cdn/chunks/{slider-DUEGol_V.js → slider-Db3FPiP6.js} +8 -8
  121. package/dist/cdn/chunks/{spacer-CPmyJDQq.js → spacer-BPFIYueo.js} +2 -2
  122. package/dist/cdn/chunks/{spacer-cell-DJEv0v6s.js → spacer-cell-kITa3CDV.js} +4 -4
  123. package/dist/cdn/chunks/{split-button-B3vfYAdy.js → split-button-CJs9-Nha.js} +7 -7
  124. package/dist/cdn/chunks/{split-view-divider-pSUpnEPX.js → split-view-divider-lHlM1Ss8.js} +2 -2
  125. package/dist/cdn/chunks/{split-view-pane-J1RVr_w1.js → split-view-pane-DlsbZtyo.js} +3 -3
  126. package/dist/cdn/chunks/{stacked-split-view-B67fT-Ch.js → stacked-split-view-uRSVhrMd.js} +4 -4
  127. package/dist/cdn/chunks/{static-html-BT4LOKbV.js → static-html-BahSPV_4.js} +1 -1
  128. package/dist/cdn/chunks/{status-bar-CGXqgNOf.js → status-bar-DCJLVpsW.js} +4 -4
  129. package/dist/cdn/chunks/{step-bar-DdsA2Egs.js → step-bar-CRR2jiyo.js} +6 -6
  130. package/dist/cdn/chunks/{step-cell-DsTAgMCx.js → step-cell-CbtKxJNJ.js} +5 -5
  131. package/dist/cdn/chunks/{stepper-DPqXiLQr.js → stepper-Con1_CnB.js} +6 -6
  132. package/dist/cdn/chunks/{style-map-B7yv7Y8k.js → style-map-uOwLerwV.js} +1 -1
  133. package/dist/cdn/chunks/{swatch-picker-D9QZmbNN.js → swatch-picker-Bqn0eaC9.js} +5 -5
  134. package/dist/cdn/chunks/{switch-CE2glvZQ.js → switch-CMQcLEBJ.js} +4 -4
  135. package/dist/cdn/chunks/{switch-field-Dr2LovXc.js → switch-field-D9kWq4Kw.js} +5 -5
  136. package/dist/cdn/chunks/{tab-bar-DYZbToZB.js → tab-bar-DXzyZI3V.js} +8 -8
  137. package/dist/cdn/chunks/{table-DoQMJbSg.js → table-CWACLpHx.js} +5 -5
  138. package/dist/cdn/chunks/{tag-DOX5nY-Z.js → tag-Bo4yJbtF.js} +4 -4
  139. package/dist/cdn/chunks/{term-CxGzPnhq.js → term-CQ379ZbN.js} +12 -12
  140. package/dist/cdn/chunks/{text-Dqe0uTK7.js → text-D-dFoj6N.js} +3 -3
  141. package/dist/cdn/chunks/{text-cell-ByGrujhK.js → text-cell-Be1hStxp.js} +8 -8
  142. package/dist/cdn/chunks/{text-editor-DT9oWQCT.js → text-editor-BjzQEBWm.js} +1372 -904
  143. package/dist/cdn/chunks/{text-field-DKz5IRAU.js → text-field-DA8nirp6.js} +47 -65
  144. package/dist/cdn/chunks/{time-field-Dh7nTwNc.js → time-field-Dd_TxJuf.js} +15 -15
  145. package/dist/cdn/chunks/{time-picker-Bp-l4JfF.js → time-picker-B0-rv1qp.js} +5 -5
  146. package/dist/cdn/chunks/{title-CdIWXNtc.js → title-DOoPdG_i.js} +4 -4
  147. package/dist/cdn/chunks/{title-cell-DNbP8l_x.js → title-cell-BzCNOMGr.js} +8 -8
  148. package/dist/cdn/chunks/{toggle-button-CPMxB3gN.js → toggle-button-9PbDHviQ.js} +60 -42
  149. package/dist/cdn/chunks/{toggle-button-group-ERWVyRX5.js → toggle-button-group-C-H-xp0M.js} +11 -5
  150. package/dist/cdn/chunks/{token-CG8dR3EH.js → token-CMKFC3gz.js} +5 -5
  151. package/dist/cdn/chunks/{token-field-B8wqHKan.js → token-field-D4-XHfnG.js} +11 -11
  152. package/dist/cdn/chunks/{toolbar-item-xJEewchW.js → toolbar-item-ZYoyKOyy.js} +3 -3
  153. package/dist/cdn/chunks/{toolbar-title-C08aG67Y.js → toolbar-title-FKtQ8ZC4.js} +4 -4
  154. package/dist/cdn/chunks/{toolbar-CiZoecHm.js → toolbar-z9OhEE5l.js} +8 -8
  155. package/dist/cdn/chunks/{toolbar.styles-DmAHodW4.js → toolbar.styles-DDjpdCHV.js} +3 -3
  156. package/dist/cdn/chunks/{tooltip-660R32cn.js → tooltip-BvRNYRo3.js} +5 -5
  157. package/dist/cdn/chunks/{top-navigation-bar-B1HFShH8.js → top-navigation-bar-BHPQntER.js} +17 -17
  158. package/dist/cdn/chunks/{top-title-bar-BLZZd0Iu.js → top-title-bar-BVjegLlh.js} +6 -6
  159. package/dist/cdn/chunks/{translations-CF08wvn-.js → translations-cJjO6nQV.js} +1 -1
  160. package/dist/cdn/chunks/{two-thirds-one-third-section-Dqz7UoSH.js → two-thirds-one-third-section-BdBHQuXc.js} +3 -3
  161. package/dist/cdn/chunks/{validation-list-D-bzOl5H.js → validation-list-5E3-3_95.js} +3 -3
  162. package/dist/cdn/chunks/{visibility-mixin-X9d6wHvR.js → visibility-mixin-DvRe3O8t.js} +2 -2
  163. package/dist/cdn/chunks/{visually-hidden-Cew5_ldu.js → visually-hidden-F85D_HcR.js} +2 -2
  164. package/dist/cdn/chunks/{window-DSgA26_c.js → window-CabW35M1.js} +5 -5
  165. package/dist/cdn/chunks/{with-translations-Boc5Daaj.js → with-translations-BHDG37HJ.js} +3 -3
  166. package/dist/components/actions/button/button.d.ts +1 -1
  167. package/dist/components/actions/button/button.js +1 -1
  168. package/dist/components/actions/button/button.template.js +1 -1
  169. package/dist/components/actions/icon-button/icon-button.d.ts +5 -1
  170. package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
  171. package/dist/components/actions/icon-button/icon-button.js +10 -5
  172. package/dist/components/actions/icon-button/icon-button.js.map +1 -1
  173. package/dist/components/actions/menu/menu-item.d.ts +1 -1
  174. package/dist/components/actions/menu/menu-item.js +1 -1
  175. package/dist/components/actions/menu/menu.d.ts +13 -1
  176. package/dist/components/actions/menu/menu.d.ts.map +1 -1
  177. package/dist/components/actions/menu/menu.js +53 -2
  178. package/dist/components/actions/menu/menu.js.map +1 -1
  179. package/dist/components/actions/menu/menu.pointer.d.ts +6 -2
  180. package/dist/components/actions/menu/menu.pointer.d.ts.map +1 -1
  181. package/dist/components/actions/menu/menu.pointer.js +15 -5
  182. package/dist/components/actions/menu/menu.pointer.js.map +1 -1
  183. package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
  184. package/dist/components/actions/menu/menu.styles.js +16 -11
  185. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  186. package/dist/components/actions/menu/menu.template.js +1 -1
  187. package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
  188. package/dist/components/content/accordion/accordion-item.styles.js +5 -3
  189. package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
  190. package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
  191. package/dist/components/content/admonition/admonition.styles.js +5 -3
  192. package/dist/components/content/admonition/admonition.styles.js.map +1 -1
  193. package/dist/components/content/icon/icon.d.ts +1 -1
  194. package/dist/components/content/icon/icon.js +1 -1
  195. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +16 -9
  196. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  197. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +18 -12
  198. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  199. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
  200. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +26 -12
  201. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
  202. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.d.ts.map +1 -1
  203. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.js +12 -3
  204. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.js.map +1 -1
  205. package/dist/components/content/tooltip/tooltip.template.js +1 -1
  206. package/dist/components/forms/form-field/form-field.d.ts +3 -1
  207. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  208. package/dist/components/forms/form-field/form-field.js +14 -3
  209. package/dist/components/forms/form-field/form-field.js.map +1 -1
  210. package/dist/components/index.d.ts +1 -0
  211. package/dist/components/index.d.ts.map +1 -1
  212. package/dist/components/index.js +1 -0
  213. package/dist/components/index.js.map +1 -1
  214. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +44 -2
  215. package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
  216. package/dist/components/inputs/checkbox-field/checkbox-field.js +129 -9
  217. package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
  218. package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
  219. package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +6 -0
  220. package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
  221. package/dist/components/inputs/checkbox-field/checkbox-field.template.d.ts.map +1 -1
  222. package/dist/components/inputs/checkbox-field/checkbox-field.template.js +18 -4
  223. package/dist/components/inputs/checkbox-field/checkbox-field.template.js.map +1 -1
  224. package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +77 -0
  225. package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -0
  226. package/dist/components/inputs/checkbox-group/checkbox-group.js +188 -0
  227. package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -0
  228. package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts +2 -0
  229. package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts.map +1 -0
  230. package/dist/components/inputs/checkbox-group/checkbox-group.styles.js +28 -0
  231. package/dist/components/inputs/checkbox-group/checkbox-group.styles.js.map +1 -0
  232. package/dist/components/inputs/checkbox-group/checkbox-group.template.d.ts +4 -0
  233. package/dist/components/inputs/checkbox-group/checkbox-group.template.d.ts.map +1 -0
  234. package/dist/components/inputs/checkbox-group/checkbox-group.template.js +9 -0
  235. package/dist/components/inputs/checkbox-group/checkbox-group.template.js.map +1 -0
  236. package/dist/components/inputs/combo-box/combo-box.d.ts +3 -0
  237. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  238. package/dist/components/inputs/combo-box/combo-box.js +3 -0
  239. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  240. package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
  241. package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
  242. package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
  243. package/dist/components/inputs/date-field/date-field.d.ts +3 -0
  244. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  245. package/dist/components/inputs/date-field/date-field.js +3 -0
  246. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  247. package/dist/components/inputs/dropdown/dropdown.d.ts +4 -0
  248. package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
  249. package/dist/components/inputs/dropdown/dropdown.js +4 -0
  250. package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
  251. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +8 -0
  252. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  253. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +8 -0
  254. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  255. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  256. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +24 -2
  257. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  258. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.d.ts.map +1 -1
  259. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +3 -0
  260. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js.map +1 -1
  261. package/dist/components/inputs/number-field/number-field.d.ts +3 -0
  262. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  263. package/dist/components/inputs/number-field/number-field.js +3 -0
  264. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  265. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +3 -0
  266. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  267. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +3 -0
  268. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  269. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
  270. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +1 -0
  271. package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
  272. package/dist/components/inputs/password-field/password-field.d.ts +3 -0
  273. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  274. package/dist/components/inputs/password-field/password-field.js +3 -0
  275. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  276. package/dist/components/inputs/password-field/password-field.styles.js +1 -1
  277. package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
  278. package/dist/components/inputs/radio-button-field/radio-button-field.js +5 -0
  279. package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
  280. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +5 -0
  281. package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
  282. package/dist/components/inputs/radio-button-group/radio-button-group.js +19 -9
  283. package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
  284. package/dist/components/inputs/search-field/search-field.d.ts +3 -0
  285. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  286. package/dist/components/inputs/search-field/search-field.js +3 -0
  287. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  288. package/dist/components/inputs/search-field/search-field.styles.js +1 -1
  289. package/dist/components/inputs/text-editor/text-editor.clipboard.d.ts +5 -2
  290. package/dist/components/inputs/text-editor/text-editor.clipboard.d.ts.map +1 -1
  291. package/dist/components/inputs/text-editor/text-editor.clipboard.js +23 -4
  292. package/dist/components/inputs/text-editor/text-editor.clipboard.js.map +1 -1
  293. package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts.map +1 -1
  294. package/dist/components/inputs/text-editor/text-editor.code-copy.js +38 -18
  295. package/dist/components/inputs/text-editor/text-editor.code-copy.js.map +1 -1
  296. package/dist/components/inputs/text-editor/text-editor.commands.d.ts +8 -6
  297. package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
  298. package/dist/components/inputs/text-editor/text-editor.commands.js +23 -9
  299. package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
  300. package/dist/components/inputs/text-editor/text-editor.d.ts +26 -0
  301. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  302. package/dist/components/inputs/text-editor/text-editor.js +165 -15
  303. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  304. package/dist/components/inputs/text-editor/text-editor.list-input.d.ts +17 -0
  305. package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -0
  306. package/dist/components/inputs/text-editor/text-editor.list-input.js +133 -0
  307. package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -0
  308. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  309. package/dist/components/inputs/text-editor/text-editor.markdown.js +28 -1
  310. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  311. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +4 -2
  312. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  313. package/dist/components/inputs/text-editor/text-editor.mentions.js +9 -5
  314. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  315. package/dist/components/inputs/text-editor/text-editor.ordered-list.d.ts.map +1 -1
  316. package/dist/components/inputs/text-editor/text-editor.ordered-list.js +89 -18
  317. package/dist/components/inputs/text-editor/text-editor.ordered-list.js.map +1 -1
  318. package/dist/components/inputs/text-editor/text-editor.paste.d.ts +10 -0
  319. package/dist/components/inputs/text-editor/text-editor.paste.d.ts.map +1 -0
  320. package/dist/components/inputs/text-editor/text-editor.paste.js +116 -0
  321. package/dist/components/inputs/text-editor/text-editor.paste.js.map +1 -0
  322. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  323. package/dist/components/inputs/text-editor/text-editor.styles.js +49 -2
  324. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  325. package/dist/components/inputs/text-editor/text-editor.template.d.ts +1 -1
  326. package/dist/components/inputs/text-editor/text-editor.template.d.ts.map +1 -1
  327. package/dist/components/inputs/text-editor/text-editor.template.js +4 -3
  328. package/dist/components/inputs/text-editor/text-editor.template.js.map +1 -1
  329. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts +53 -0
  330. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -0
  331. package/dist/components/inputs/text-editor/text-editor.toolbar.js +302 -0
  332. package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -0
  333. package/dist/components/inputs/text-field/text-field.d.ts +7 -13
  334. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  335. package/dist/components/inputs/text-field/text-field.js +8 -50
  336. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  337. package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
  338. package/dist/components/inputs/text-field/text-field.styles.js +1 -2
  339. package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
  340. package/dist/components/inputs/text-field/text-field.template.js +2 -2
  341. package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
  342. package/dist/components/inputs/time-field/time-field.d.ts +3 -0
  343. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  344. package/dist/components/inputs/time-field/time-field.js +3 -0
  345. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  346. package/dist/components/inputs/toggle-button/toggle-button.d.ts +22 -2
  347. package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
  348. package/dist/components/inputs/toggle-button/toggle-button.js +53 -7
  349. package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
  350. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  351. package/dist/components/inputs/toggle-button/toggle-button.styles.js +3 -1
  352. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  353. package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
  354. package/dist/components/inputs/toggle-button/toggle-button.template.js +6 -2
  355. package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
  356. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +6 -1
  357. package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
  358. package/dist/components/inputs/toggle-button-group/toggle-button-group.js +20 -10
  359. package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
  360. package/dist/components/inputs/token-field/token-field.d.ts +3 -0
  361. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  362. package/dist/components/inputs/token-field/token-field.js +3 -0
  363. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  364. package/dist/components/layout/card/card.d.ts +2 -0
  365. package/dist/components/layout/card/card.d.ts.map +1 -1
  366. package/dist/components/layout/card/card.js +5 -2
  367. package/dist/components/layout/card/card.js.map +1 -1
  368. package/dist/components/navigation/link/link.d.ts +13 -3
  369. package/dist/components/navigation/link/link.d.ts.map +1 -1
  370. package/dist/components/navigation/link/link.js +25 -9
  371. package/dist/components/navigation/link/link.js.map +1 -1
  372. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +1 -1
  373. package/dist/css/dropdown.css +17 -0
  374. package/dist/css/global-open-font.css +1 -0
  375. package/dist/css/global.css +1 -0
  376. package/dist/css/rich-text.css +8 -2
  377. package/dist/css/variables.css +2 -1
  378. package/dist/nldd.min.js +941 -789
  379. package/dist/types/react.d.ts +151 -15
  380. package/dist/types/vue.d.ts +305 -45
  381. package/dist/utilities/autoloader.generated.d.ts.map +1 -1
  382. package/dist/utilities/autoloader.generated.js +1 -0
  383. package/dist/utilities/autoloader.generated.js.map +1 -1
  384. package/dist/utilities/codemirror/codemirror-element.d.ts +12 -1
  385. package/dist/utilities/codemirror/codemirror-element.d.ts.map +1 -1
  386. package/dist/utilities/codemirror/codemirror-element.js +23 -4
  387. package/dist/utilities/codemirror/codemirror-element.js.map +1 -1
  388. package/dist/utilities/codemirror/codemirror-input.d.ts +3 -0
  389. package/dist/utilities/codemirror/codemirror-input.d.ts.map +1 -1
  390. package/dist/utilities/codemirror/codemirror-input.js +14 -3
  391. package/dist/utilities/codemirror/codemirror-input.js.map +1 -1
  392. package/dist/utilities/described-by-mixin.d.ts +6 -0
  393. package/dist/utilities/described-by-mixin.d.ts.map +1 -1
  394. package/dist/utilities/described-by-mixin.js +81 -2
  395. package/dist/utilities/described-by-mixin.js.map +1 -1
  396. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  397. package/dist/utilities/dev-rules.generated.js +46 -5
  398. package/dist/utilities/dev-rules.generated.js.map +1 -1
  399. package/dist/utilities/field-button-controller.d.ts +28 -0
  400. package/dist/utilities/field-button-controller.d.ts.map +1 -0
  401. package/dist/utilities/field-button-controller.js +56 -0
  402. package/dist/utilities/field-button-controller.js.map +1 -0
  403. package/dist/utilities/return-focus.d.ts.map +1 -1
  404. package/dist/utilities/return-focus.js +3 -0
  405. package/dist/utilities/return-focus.js.map +1 -1
  406. package/dist/utilities/shortcut.d.ts +14 -0
  407. package/dist/utilities/shortcut.d.ts.map +1 -1
  408. package/dist/utilities/shortcut.js +37 -1
  409. package/dist/utilities/shortcut.js.map +1 -1
  410. package/lint/data.generated.json +1 -1
  411. package/lint/linter.js +4 -1
  412. package/package.json +6 -2
  413. package/dist/cdn/chunks/checkbox-field-CSXV0prA.js +0 -162
  414. package/dist/cdn/chunks/described-by-mixin-DXC6jkCd.js +0 -35
  415. package/dist/cdn/chunks/repeat-s95Ixbpx.js +0 -76
@@ -1,8 +1,8 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
2
- import { r as i } from "./custom-element-C5yyaCZS.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
+ import { r as i } from "./custom-element-DeaCQ2NP.js";
3
3
  import { t as a } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
5
- import { t as s } from "./toolbar.styles-DmAHodW4.js";
5
+ import { t as s } from "./toolbar.styles-DDjpdCHV.js";
6
6
  // src/components/actions/toolbar/toolbar-item.template.ts
7
7
  function c(e) {
8
8
  return t`
@@ -1,12 +1,12 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
2
- import { r as i } from "./custom-element-C5yyaCZS.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
+ import { r as i } from "./custom-element-DeaCQ2NP.js";
3
3
  import { t as a } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
5
- import { r as s } from "./toolbar.styles-DmAHodW4.js";
5
+ import { r as s } from "./toolbar.styles-DDjpdCHV.js";
6
6
  import { t as c } from "./link-rel-DvrTEfVT.js";
7
7
  import { n as l } from "./link-hint-KFhgr5Ng.js";
8
8
  import { t as u } from "./toolbar.i18n-QwS37CBC.js";
9
- import { t as d } from "./translations-CF08wvn-.js";
9
+ import { t as d } from "./translations-cJjO6nQV.js";
10
10
  // src/components/actions/toolbar/toolbar-title.template.ts
11
11
  function f(e) {
12
12
  let r = t`
@@ -1,14 +1,14 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
2
- import { n as i, r as a } from "./custom-element-C5yyaCZS.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
+ import { n as i, r as a } from "./custom-element-DeaCQ2NP.js";
3
3
  import { t as o } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
5
- import { n as c } from "./toolbar.styles-DmAHodW4.js";
6
- import "./icon-button-DuEiOOoc.js";
5
+ import { n as c } from "./toolbar.styles-DDjpdCHV.js";
6
+ import "./icon-button-DT_Bi4Ac.js";
7
7
  import { t as l } from "./toolbar.i18n-QwS37CBC.js";
8
- import { t as u } from "./translations-CF08wvn-.js";
9
- import "./menu-CYILGTpB.js";
10
- import { NLDDToolbarItem as d } from "./toolbar-item-xJEewchW.js";
11
- import { NLDDToolbarTitle as f } from "./toolbar-title-C08aG67Y.js";
8
+ import { t as u } from "./translations-cJjO6nQV.js";
9
+ import "./menu-NGpB1SKq.js";
10
+ import { NLDDToolbarItem as d } from "./toolbar-item-ZYoyKOyy.js";
11
+ import { NLDDToolbarTitle as f } from "./toolbar-title-FKtQ8ZC4.js";
12
12
  // src/components/actions/toolbar/toolbar.template.ts
13
13
  function p(e, r, i, a, o, s, c, l, u, d) {
14
14
  return t`
@@ -1,6 +1,6 @@
1
- import { a as e } from "./custom-element-C5yyaCZS.js";
2
- import "./decorate-CkbtFnic.js";
3
- import { t } from "./shadow-resets-Dlq8Oecv.js";
1
+ import { a as e } from "./custom-element-DeaCQ2NP.js";
2
+ import "./decorate-CCYde2ES.js";
3
+ import { t } from "./shadow-resets-CRdvf-Ei.js";
4
4
  // src/components/actions/toolbar/toolbar.styles.ts
5
5
  var n = e`
6
6
  :host {
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { n as t, o as n, r, t as i } from "./decorate-CkbtFnic.js";
3
- import { a, n as o, r as s } from "./custom-element-C5yyaCZS.js";
2
+ import { n as t, o as n, r, t as i } from "./decorate-CCYde2ES.js";
3
+ import { a, n as o, r as s } from "./custom-element-DeaCQ2NP.js";
4
4
  import { t as c } from "./custom-element-BW8Ua4c7.js";
5
5
  import { a as l, i as u, n as d, o as f, r as p, s as m } from "./floating-ui.dom-BvAAdCVe.js";
6
6
  import { t as h } from "./reflect-non-default-Bu3rpCvg.js";
7
- import { n as g, t as _ } from "./shadow-resets-Dlq8Oecv.js";
8
- import { i as v, n as y, r as b } from "./keyboard-shortcut-Rq5IHU-e.js";
7
+ import { n as g, t as _ } from "./shadow-resets-CRdvf-Ei.js";
8
+ import { i as v, n as y, r as b } from "./keyboard-shortcut-Ci95olxF.js";
9
9
  import { r as x } from "./input-modality-XE0B7yCn.js";
10
10
  import { t as S } from "./carried-context-DlMSujiJ.js";
11
11
  // src/components/content/tooltip/tooltip.styles.ts
@@ -171,7 +171,7 @@ function w(e) {
171
171
  <span class="tooltip__shortcut">
172
172
  <nldd-keyboard-shortcut
173
173
  size="inherit"
174
- appearance="simple"
174
+ appearance="text"
175
175
  color="content"
176
176
  keys=${e.shortcut || r}
177
177
  mac-keys=${e.shortcutMac || r}
@@ -1,17 +1,17 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
2
- import { a as i, o as a, r as o } from "./custom-element-C5yyaCZS.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
+ import { a as i, o as a, r as o } from "./custom-element-DeaCQ2NP.js";
3
3
  import { t as s } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as c } from "./query-ChDzi9FQ.js";
5
5
  import { t as l } from "./status-bar-change-CR9l0Gyk.js";
6
6
  import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
7
7
  import { n as d, t as f } from "./breakpoints-Cwor8TRP.js";
8
- import { t as p } from "./shadow-resets-Dlq8Oecv.js";
9
- import { n as m } from "./icon-B5kHyCz2.js";
8
+ import { t as p } from "./shadow-resets-CRdvf-Ei.js";
9
+ import { n as m } from "./icon-qpmEfU9B.js";
10
10
  import { t as h } from "./sanitize-url-CBuGmY0W.js";
11
- import { t as g } from "./with-translations-Boc5Daaj.js";
11
+ import { t as g } from "./with-translations-BHDG37HJ.js";
12
12
  import { t as _ } from "./top-navigation-bar.i18n-C-lcH1nB.js";
13
- import "./menu-bar-item-C6OrUu_4.js";
14
- import "./menu-bar-CL566HmJ.js";
13
+ import "./menu-bar-item-CSqXWNKE.js";
14
+ import "./menu-bar-CJazkmY7.js";
15
15
  import { t as v } from "./carried-context-DlMSujiJ.js";
16
16
  import { r as y } from "./element-state-B-44fVqq.js";
17
17
  // src/components/navigation/top-navigation-bar/top-navigation-bar.styles.ts
@@ -719,16 +719,16 @@ var k = class {
719
719
  }, A = 0;
720
720
  async function j() {
721
721
  await Promise.all([
722
- import("./sheet-DaQpfAep.js"),
723
- import("./page-BpavFPML.js").then((e) => e.t),
724
- import("./simple-section-CYiTEFqN.js"),
725
- import("./top-title-bar-BLZZd0Iu.js").then((e) => e.t),
726
- import("./title-CdIWXNtc.js"),
727
- import("./list-BASqIKtP.js").then((e) => e.t),
728
- import("./list-item-DTcPysIP.js").then((e) => e.t),
729
- import("./text-cell-ByGrujhK.js").then((e) => e.t),
730
- import("./icon-cell-uZkR3hZx.js").then((e) => e.t),
731
- import("./icon-B5kHyCz2.js").then((e) => e.t)
722
+ import("./sheet-D09y3J45.js"),
723
+ import("./page-Kipfvmi6.js").then((e) => e.t),
724
+ import("./simple-section-CEf38rBZ.js"),
725
+ import("./top-title-bar-BVjegLlh.js").then((e) => e.t),
726
+ import("./title-DOoPdG_i.js"),
727
+ import("./list-CZWX62tH.js").then((e) => e.t),
728
+ import("./list-item-DHzsbK_S.js").then((e) => e.t),
729
+ import("./text-cell-Be1hStxp.js").then((e) => e.t),
730
+ import("./icon-cell-C-qrZAlN.js").then((e) => e.t),
731
+ import("./icon-qpmEfU9B.js").then((e) => e.t)
732
732
  ]);
733
733
  }
734
734
  function M(e) {
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { n as t, o as n, r, t as i } from "./decorate-CkbtFnic.js";
3
- import { a, n as o, r as s } from "./custom-element-C5yyaCZS.js";
2
+ import { n as t, o as n, r, t as i } from "./decorate-CCYde2ES.js";
3
+ import { a, n as o, r as s } from "./custom-element-DeaCQ2NP.js";
4
4
  import { t as c } from "./custom-element-BW8Ua4c7.js";
5
5
  import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
6
- import { t as u } from "./shadow-resets-Dlq8Oecv.js";
7
- import { n as d, r as f } from "./static-html-BT4LOKbV.js";
8
- import "./button-DpKyquzm.js";
9
- import "./icon-button-DuEiOOoc.js";
6
+ import { t as u } from "./shadow-resets-CRdvf-Ei.js";
7
+ import { n as d, r as f } from "./static-html-BahSPV_4.js";
8
+ import "./button-cHBkq_s7.js";
9
+ import "./icon-button-DT_Bi4Ac.js";
10
10
  import { r as p } from "./element-state-B-44fVqq.js";
11
11
  // src/components/navigation/top-title-bar/top-title-bar.styles.ts
12
12
  var m = a`
@@ -5,7 +5,7 @@ function i(e, t, i, a) {
5
5
  if (import.meta.env?.DEV && import.meta.env?.MODE !== "test" && e && !r.has(e)) {
6
6
  r.add(e);
7
7
  let n = Object.keys(e);
8
- n.length > 0 && import("./dev-checks-UHHli7gE.js").then(({ checkElementTranslationKeys: e }) => e(n, Object.keys(t)));
8
+ n.length > 0 && import("./dev-checks-CSlbfDuF.js").then(({ checkElementTranslationKeys: e }) => e(n, Object.keys(t)));
9
9
  }
10
10
  let s = e?.[i] ?? n.translations[o] ?? t[i] ?? o;
11
11
  if (a) for (let [e, t] of Object.entries(a)) s = s.split(`{${e}}`).join(String(t));
@@ -1,8 +1,8 @@
1
- import { n as e, o as t, t as n } from "./decorate-CkbtFnic.js";
2
- import { a as r, o as i, r as a } from "./custom-element-C5yyaCZS.js";
1
+ import { n as e, o as t, t as n } from "./decorate-CCYde2ES.js";
2
+ import { a as r, o as i, r as a } from "./custom-element-DeaCQ2NP.js";
3
3
  import { t as o } from "./custom-element-BW8Ua4c7.js";
4
4
  import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
5
- import { n as c, t as l } from "./page-section-mixin-BHg-Wre9.js";
5
+ import { n as c, t as l } from "./page-section-mixin-DpF9JDpd.js";
6
6
  import { i as u, n as d } from "./breakpoints-Cwor8TRP.js";
7
7
  // src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.ts
8
8
  var f = i(d.smMax), p = i(d.mdMin), m = i(d.mdMax), h = i(d.lgMin), g = i(u.stackedMax), _ = r`
@@ -1,9 +1,9 @@
1
- import { n as e, o as t, t as n } from "./decorate-CkbtFnic.js";
2
- import { a as r, n as i, r as a } from "./custom-element-C5yyaCZS.js";
1
+ import { n as e, o as t, t as n } from "./decorate-CCYde2ES.js";
2
+ import { a as r, n as i, r as a } from "./custom-element-DeaCQ2NP.js";
3
3
  import { t as o } from "./custom-element-BW8Ua4c7.js";
4
4
  import { r as s } from "./element-state-B-44fVqq.js";
5
5
  import { t as c } from "./validation-list.i18n-CM6In8zD.js";
6
- import { t as l } from "./translations-CF08wvn-.js";
6
+ import { t as l } from "./translations-cJjO6nQV.js";
7
7
  // src/components/forms/validation-list/validation-list.styles.ts
8
8
  var u = r`
9
9
 
@@ -1,5 +1,5 @@
1
- import { a as e, o as t, r as n } from "./custom-element-C5yyaCZS.js";
2
- import { t as r } from "./decorate-CkbtFnic.js";
1
+ import { a as e, o as t, r as n } from "./custom-element-DeaCQ2NP.js";
2
+ import { t as r } from "./decorate-CCYde2ES.js";
3
3
  import { n as i } from "./breakpoints-Cwor8TRP.js";
4
4
  // src/utilities/visibility-mixin.styles.ts
5
5
  var a = t(i.smMax), o = t(i.mdMin), s = t(i.mdMax), c = t(i.lgMin), l = /* @__PURE__ */ new Map();
@@ -1,5 +1,5 @@
1
- import { n as e, o as t, t as n } from "./decorate-CkbtFnic.js";
2
- import { a as r } from "./custom-element-C5yyaCZS.js";
1
+ import { n as e, o as t, t as n } from "./decorate-CCYde2ES.js";
2
+ import { a as r } from "./custom-element-DeaCQ2NP.js";
3
3
  import { t as i } from "./custom-element-BW8Ua4c7.js";
4
4
  // src/components/content/visually-hidden/visually-hidden.styles.ts
5
5
  var a = r`
@@ -1,15 +1,15 @@
1
- import { n as e, o as t, t as n } from "./decorate-CkbtFnic.js";
2
- import { a as r, r as i } from "./custom-element-C5yyaCZS.js";
1
+ import { n as e, o as t, t as n } from "./decorate-CCYde2ES.js";
2
+ import { a as r, r as i } from "./custom-element-DeaCQ2NP.js";
3
3
  import { t as a } from "./custom-element-BW8Ua4c7.js";
4
- import { a as o, t as s } from "./shadow-resets-Dlq8Oecv.js";
4
+ import { a as o, t as s } from "./shadow-resets-CRdvf-Ei.js";
5
5
  import { t as c } from "./window.i18n-CsEnUPAk.js";
6
6
  import { n as l } from "./input-modality-XE0B7yCn.js";
7
7
  import { n as u, t as d } from "./open-when-rendered-CW_2_WUZ.js";
8
8
  import { t as f } from "./dismiss-from-title-bar-C6mP7sWP.js";
9
9
  import { t as p } from "./title-bar-label-controller-DSxdKZOg.js";
10
- import { t as m } from "./translations-CF08wvn-.js";
10
+ import { t as m } from "./translations-cJjO6nQV.js";
11
11
  import { r as h } from "./element-state-B-44fVqq.js";
12
- import { t as g } from "./return-focus-BzZWhXhc.js";
12
+ import { t as g } from "./return-focus-D0fF2hjd.js";
13
13
  import { t as _ } from "./reflect-non-default-Bu3rpCvg.js";
14
14
  // src/components/layout/window/window.styles.ts
15
15
  var v = r`
@@ -1,6 +1,6 @@
1
- import { r as e } from "./custom-element-C5yyaCZS.js";
2
- import { t } from "./translations-CF08wvn-.js";
3
- import { t as n } from "./decorate-CkbtFnic.js";
1
+ import { r as e } from "./custom-element-DeaCQ2NP.js";
2
+ import { t } from "./translations-cJjO6nQV.js";
3
+ import { t as n } from "./decorate-CCYde2ES.js";
4
4
  // src/utilities/with-translations.ts
5
5
  function r(r, i) {
6
6
  class a extends r {
@@ -39,7 +39,7 @@
39
39
  * @slot end-icon - Slot for a custom end icon (e.g. custom SVG). Wins over `end-icon`.
40
40
  * @slot popup - A single `nldd-menu` or `nldd-popover` this button invokes. Slotting it auto-anchors the overlay to the button and toggles it on click (no id/anchor wiring). The overlay syncs `expanded` and `aria-haspopup` back onto the button. Add `expandable` for the disclosure chevron. Mirrors nldd-split-button; the manual `anchor`/`popovertarget` wiring keeps working when you don't slot an overlay.
41
41
  * @attr {string} interestfor - ID of an nldd-popover that describes this button and opens on interest, as the `interest` slot does, for a popover that stands elsewhere: one shared by several controls, or a button in a `<p>`, where markup of your own in the button would break the paragraph. Looked up in the tree of this button. A popover in the `interest` slot wins. Keep `accessible-label` on that popover: it names the popover where it stands, and is left out while it describes this button.
42
- * @slot interest - A single `nldd-popover` that describes this button and opens on interest instead of on a click: when the pointer rests on the button, when it gets keyboard focus, and on a long press on touch. The button keeps its own click, such as a reaction badge that toggles a reaction and shows who reacted. Focus stays on the button, the popover's content is read as the button's description, and Escape closes it. The pointer can move onto the popover without closing it. Information only: what hover opens cannot be reached with the keyboard, so put no link or button in it, and use the `popup` slot for content you act on. The popover needs no `accessible-label` here: its content is what is read.
42
+ * @slot interest - A single `nldd-popover` that describes this button and opens on interest instead of on a click: when the pointer rests on the button, when it gets keyboard focus, and on a long press on touch. The button keeps its own click, such as a share button that shows who already has access. A reaction you toggle is an nldd-toggle-button, which has this slot too. Focus stays on the button, the popover's content is read as the button's description, and Escape closes it. The pointer can move onto the popover without closing it. Information only: what hover opens cannot be reached with the keyboard, so put no link or button in it, and use the `popup` slot for content you act on. The popover needs no `accessible-label` here: its content is what is read.
43
43
  *
44
44
  * @fires click - When button is clicked (not fired when disabled)
45
45
  */
@@ -39,7 +39,7 @@
39
39
  * @slot end-icon - Slot for a custom end icon (e.g. custom SVG). Wins over `end-icon`.
40
40
  * @slot popup - A single `nldd-menu` or `nldd-popover` this button invokes. Slotting it auto-anchors the overlay to the button and toggles it on click (no id/anchor wiring). The overlay syncs `expanded` and `aria-haspopup` back onto the button. Add `expandable` for the disclosure chevron. Mirrors nldd-split-button; the manual `anchor`/`popovertarget` wiring keeps working when you don't slot an overlay.
41
41
  * @attr {string} interestfor - ID of an nldd-popover that describes this button and opens on interest, as the `interest` slot does, for a popover that stands elsewhere: one shared by several controls, or a button in a `<p>`, where markup of your own in the button would break the paragraph. Looked up in the tree of this button. A popover in the `interest` slot wins. Keep `accessible-label` on that popover: it names the popover where it stands, and is left out while it describes this button.
42
- * @slot interest - A single `nldd-popover` that describes this button and opens on interest instead of on a click: when the pointer rests on the button, when it gets keyboard focus, and on a long press on touch. The button keeps its own click, such as a reaction badge that toggles a reaction and shows who reacted. Focus stays on the button, the popover's content is read as the button's description, and Escape closes it. The pointer can move onto the popover without closing it. Information only: what hover opens cannot be reached with the keyboard, so put no link or button in it, and use the `popup` slot for content you act on. The popover needs no `accessible-label` here: its content is what is read.
42
+ * @slot interest - A single `nldd-popover` that describes this button and opens on interest instead of on a click: when the pointer rests on the button, when it gets keyboard focus, and on a long press on touch. The button keeps its own click, such as a share button that shows who already has access. A reaction you toggle is an nldd-toggle-button, which has this slot too. Focus stays on the button, the popover's content is read as the button's description, and Escape closes it. The pointer can move onto the popover without closing it. Information only: what hover opens cannot be reached with the keyboard, so put no link or button in it, and use the `popup` slot for content you act on. The popover needs no `accessible-label` here: its content is what is read.
43
43
  *
44
44
  * @fires click - When button is clicked (not fired when disabled)
45
45
  */
@@ -21,7 +21,7 @@ function renderContent(component) {
21
21
  <span class="button__shortcut">
22
22
  <nldd-keyboard-shortcut
23
23
  size="inherit"
24
- appearance="simple"
24
+ appearance="text"
25
25
  color="content"
26
26
  keys=${component.shortcut || nothing}
27
27
  mac-keys=${component.shortcutMac || nothing}
@@ -64,7 +64,7 @@ declare const NLDDIconButton_base: (abstract new (...args: any[]) => LitElement
64
64
  'components.icon-button.link-hint-download-lowercase-label': string;
65
65
  }>;
66
66
  _t(key: "components.icon-button.link-hint-new-tab-lowercase-label" | "components.icon-button.link-hint-external-lowercase-label" | "components.icon-button.link-hint-external-new-tab-lowercase-label" | "components.icon-button.link-hint-download-lowercase-label", vars?: Record<string, string | number>): string;
67
- }) & typeof LitElement;
67
+ }) & typeof LitElement & (abstract new (...args: any[]) => import("../../../utilities/described-by-mixin.js").DescribedElement);
68
68
  export declare class NLDDIconButton extends NLDDIconButton_base {
69
69
  static styles: import("lit").CSSResult;
70
70
  static formAssociated: boolean;
@@ -171,6 +171,10 @@ export declare class NLDDIconButton extends NLDDIconButton_base {
171
171
  */
172
172
  focus(options?: FocusOptions): void;
173
173
  _onIconSlotChange(): void;
174
+ /** The button or link it renders, not the host around it. */
175
+ describedTarget(): Element | null;
176
+ /** The popover in the `interest` slot describes the button. */
177
+ ownDescriptions(): readonly Element[];
174
178
  render(): import("lit-html").TemplateResult<1>;
175
179
  }
176
180
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAG/E,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAK9E,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC7C,MAAM,MAAM,UAAU,GACnB,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,gBAAgB,GAChB,gBAAgB,CAAC;AACpB,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AACvD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;;;;;;AAExE,qBACa,cAAe,SAA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AS,CAAa;IAEpC,wDAAwD;IACxD,OAAO,KAAK,QAAQ,GAInB;IAGD;;6BAEyB;IACzB,MAAM,wBAAmC;IAEzC;;0BAEsB;IACtB,SAAS,qBAAgC;IAEzC,6GAA6G;IAC7G,OAAO,CAAC,qBAAqB,CAA4C;IAEhE,oBAAoB,IAAI,IAAI;IAK5B,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAwB/D,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAmC3C;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAO5C,iBAAiB,IAAI,IAAI;IAIhB,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
1
+ {"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAG/E,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAK9E,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC7C,MAAM,MAAM,UAAU,GACnB,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,gBAAgB,GAChB,gBAAgB,CAAC;AACpB,MAAM,MAAM,UAAU,GAAG,QAAQ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+D;IAE/D,MAAM,EAAE,MAAM,GAAG,SAAS,CAAa;IAEvC;8DAC0D;IAE1D,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAa;IAEzC;;;OAGG;IAEH,GAAG,EAAE,MAAM,GAAG,SAAS,CAAa;IAEpC,wDAAwD;IACxD,OAAO,KAAK,QAAQ,GAInB;IAGD;;6BAEyB;IACzB,MAAM,wBAAmC;IAEzC;;0BAEsB;IACtB,SAAS,qBAAgC;IAEzC,6GAA6G;IAC7G,OAAO,CAAC,qBAAqB,CAA4C;IAEhE,oBAAoB,IAAI,IAAI;IAK5B,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAqB/D,SAAS,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAmC3C;;;OAGG;IACM,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI;IAO5C,iBAAiB,IAAI,IAAI;IAIzB,6DAA6D;IACpD,eAAe,IAAI,OAAO,GAAG,IAAI;IAI1C,+DAA+D;IACtD,eAAe,IAAI,SAAS,OAAO,EAAE;IAIrC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
@@ -63,14 +63,14 @@ import { withTranslations } from '../../../utilities/with-translations.js';
63
63
  import { nlddIconButtonTranslations } from './icon-button.i18n.js';
64
64
  import { PopupAnchorController } from '../../../utilities/popup-anchor-controller.js';
65
65
  import { InterestController } from '../../../utilities/interest-controller.js';
66
- import { applyDescribedBy } from '../../../utilities/described-by-mixin.js';
66
+ import { DescribedBy } from '../../../utilities/described-by-mixin.js';
67
67
  import { ShortcutAvailabilityController } from '../../../utilities/shortcut.js';
68
68
  import './../../content/icon/icon.js';
69
69
  import './../../status-and-feedback/activity-indicator/activity-indicator.js';
70
70
  import { internalsOf } from '../../../utilities/element-state.js';
71
71
  import { deferFocus } from '../../../utilities/defer-focus.js';
72
72
  import { anchorPopoverTarget, popoverTargetOf } from '../../../utilities/popover-target.js';
73
- let NLDDIconButton = class NLDDIconButton extends withTranslations(LitElement, nlddIconButtonTranslations) {
73
+ let NLDDIconButton = class NLDDIconButton extends DescribedBy(withTranslations(LitElement, nlddIconButtonTranslations)) {
74
74
  constructor() {
75
75
  super(...arguments);
76
76
  this._internals = internalsOf(this);
@@ -175,9 +175,6 @@ let NLDDIconButton = class NLDDIconButton extends withTranslations(LitElement, n
175
175
  anchorPopoverTarget(this, popoverTargetOf(this, this.popovertarget, this.popoverTargetElement));
176
176
  if (changedProperties.has('interestfor'))
177
177
  this._interest.refresh();
178
- // By element: the button sits in this shadow root, the popover outside it.
179
- const overlay = this._interest.overlay;
180
- applyDescribedBy(this.shadowRoot?.querySelector('.icon-button'), overlay ? [overlay] : [], true);
181
178
  if (changedProperties.has('width')) {
182
179
  const w = this.width;
183
180
  // 'full' switches host to block + 100% via CSS attribute selector.
@@ -247,6 +244,14 @@ let NLDDIconButton = class NLDDIconButton extends withTranslations(LitElement, n
247
244
  _onIconSlotChange() {
248
245
  this.requestUpdate();
249
246
  }
247
+ /** The button or link it renders, not the host around it. */
248
+ describedTarget() {
249
+ return this.shadowRoot?.querySelector('.icon-button') ?? null;
250
+ }
251
+ /** The popover in the `interest` slot describes the button. */
252
+ ownDescriptions() {
253
+ return this._interest.overlay ? [this._interest.overlay] : [];
254
+ }
250
255
  render() {
251
256
  return template.call(this);
252
257
  }
@@ -1 +1 @@
1
- {"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE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new (...args: any[]) => LitElement &
27
27
  * @attr {string} icon - Icon name rendered before the text. An icon in the `icon` slot takes its place.
28
28
  * @attr {string} shortcut - Keyboard shortcut hint shown on the right, e.g. 'Cmd+E'. Display only (rendered via nldd-keyboard-shortcut) — it does not bind the key; wire up the handling in your app. Hidden on touch-only devices, where it isn't invokable.
29
29
  * @attr {string} shortcut-mac / shortcut-windows / shortcut-linux - Per-OS overrides for `shortcut`, picked by detected OS (falls back to `shortcut`).
30
- * @attr {string} href - Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Ignored for submenu openers, checkbox/radio items, and while disabled.
30
+ * @attr {string} href - Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Space chooses it like any other item, except in a `navigation` menu, where Space scrolls the page as on any link. Ignored for submenu openers, checkbox/radio items, and while disabled.
31
31
  * @attr {string} target - Where an item with an `href` opens (e.g. '_blank'); adjusts rel automatically. With '_blank' the item adds a visually hidden "opent in nieuw tabblad" for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply.
32
32
  * @attr {string} rel - Link rel of an item with an `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set.
33
33
  * @attr {object} translations - Override translation keys (the new-tab and other-website announcements); unset keys fall back to Dutch.
@@ -35,7 +35,7 @@ export function syncListItemRole(host, variant) {
35
35
  * @attr {string} icon - Icon name rendered before the text. An icon in the `icon` slot takes its place.
36
36
  * @attr {string} shortcut - Keyboard shortcut hint shown on the right, e.g. 'Cmd+E'. Display only (rendered via nldd-keyboard-shortcut) — it does not bind the key; wire up the handling in your app. Hidden on touch-only devices, where it isn't invokable.
37
37
  * @attr {string} shortcut-mac / shortcut-windows / shortcut-linux - Per-OS overrides for `shortcut`, picked by detected OS (falls back to `shortcut`).
38
- * @attr {string} href - Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Ignored for submenu openers, checkbox/radio items, and while disabled.
38
+ * @attr {string} href - Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Space chooses it like any other item, except in a `navigation` menu, where Space scrolls the page as on any link. Ignored for submenu openers, checkbox/radio items, and while disabled.
39
39
  * @attr {string} target - Where an item with an `href` opens (e.g. '_blank'); adjusts rel automatically. With '_blank' the item adds a visually hidden "opent in nieuw tabblad" for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply.
40
40
  * @attr {string} rel - Link rel of an item with an `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set.
41
41
  * @attr {object} translations - Override translation keys (the new-tab and other-website announcements); unset keys fall back to Dutch.
@@ -30,7 +30,9 @@ export { NLDDMenuDivider } from './menu-divider.js';
30
30
  * instead, without going dark in between. `select`
31
31
  * fires at once: the action does not wait for the blink. With
32
32
  * `prefers-reduced-motion` there is no blink, and the menu closes at once
33
- * after a click; a tap still holds, since that is no motion. A menu that scrolls
33
+ * after a click; a tap still holds, since that is no motion. A press on the
34
+ * menu's control during the blink or hold ends it and opens the menu again,
35
+ * since the menu was already on its way out. A menu that scrolls
34
36
  * fades at the edge where more items wait.
35
37
  *
36
38
  * Note: Only type="button" items are supported when used inside nldd-combo-box-field.
@@ -405,6 +407,13 @@ export declare class NLDDMenu extends LitElement {
405
407
  * A disabled item fires no click, so a tap on one lasts until then. */
406
408
  private _forgetPress;
407
409
  private _finishBlink;
410
+ /**
411
+ * A press on the anchor while a chosen item blinks: the menu is on its way
412
+ * out, so the press means "open it again". Finish the blink now, so the
413
+ * control sees a closed menu and its click opens it, instead of closing a
414
+ * menu that was about to close anyway.
415
+ */
416
+ private _finishBlinkForAnchorPress;
408
417
  /**
409
418
  * Collapse the entire menu chain at once — root + every open submenu —
410
419
  * with no "back one level" re-show. Used when the action is final:
@@ -519,6 +528,9 @@ export declare class NLDDMenu extends LitElement {
519
528
  private _cssPx;
520
529
  /** Recalculate position and size relative to the anchor element. */
521
530
  reposition(): Promise<void>;
531
+ /** The link item Space went down on, chosen when Space comes up on it. */
532
+ private _spaceLink;
533
+ private _handleSpaceUp;
522
534
  private _handleKeydown;
523
535
  /**
524
536
  * Tab past the last item, or Shift+Tab before the first, of a menu that
@@ -1 +1 @@
1
- {"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/menu/menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,qDAAqD,CAAC;AAC7D,OAAO,yDAAyD,CAAC;AACjE,OAAO,qDAAqD,CAAC;AAC7D,OAAO,4BAA4B,CAAC;AACpC,OAAO,sDAAsD,CAAC;AAC9D,OAAO,0DAA0D,CAAC;AAKlE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,qBAAqB,EAAwB,MAAM,mBAAmB,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAqB,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,sCAAsC,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAqCpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAa,QAAS,SAAQ,UAAU;IACvC,OAAgB,MAAM,0BAAc;IAE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AAO,CAAC,SAAS;IAMjB,6EAA6E;IAC7E,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,aAAa,CAAC,CAAgC;IAEtD,OAAO,CAAC,gBAAgB,CAAM;IAC9B,OAAO,CAAC,eAAe,CAAuB;IAC9C;;;uBAGmB;IACnB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CAAO;IAElD;;;;;;;;;;OAUG;IACH,OAAO,CAAC,gBAAgB;IAgCxB;;;;;;;;;;;;;;;;OAgBG;IACI,WAAW,QAAO,IAAI,CAiB3B;IAEF,OAAO,CAAC,mBAAmB,CAMzB;IAEF,OAAO,CAAC,aAAa,CA8DnB;IAEO,MAAM;CAGf;AAMD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;QACtB,gBAAgB,EAAE,YAAY,CAAC;QAC/B,mBAAmB,EAAE,eAAe,CAAC;QACrC,iBAAiB,EAAE,aAAa,CAAC;KACjC;CACD"}
@@ -75,7 +75,9 @@ const HOVER_OPEN_MAX_MS = 150;
75
75
  * instead, without going dark in between. `select`
76
76
  * fires at once: the action does not wait for the blink. With
77
77
  * `prefers-reduced-motion` there is no blink, and the menu closes at once
78
- * after a click; a tap still holds, since that is no motion. A menu that scrolls
78
+ * after a click; a tap still holds, since that is no motion. A press on the
79
+ * menu's control during the blink or hold ends it and opens the menu again,
80
+ * since the menu was already on its way out. A menu that scrolls
79
81
  * fades at the edge where more items wait.
80
82
  *
81
83
  * Note: Only type="button" items are supported when used inside nldd-combo-box-field.
@@ -573,6 +575,8 @@ export class NLDDMenu extends LitElement {
573
575
  * leaves the chain untouched, matching root-menu behavior.
574
576
  */
575
577
  this._handleDocumentPointerdown = (event) => {
578
+ if (this._finishBlinkForAnchorPress(event))
579
+ return;
576
580
  if (!this._isOpen)
577
581
  return;
578
582
  // Anchor pointerdown on a root menu while open: capture as a gesture
@@ -627,6 +631,17 @@ export class NLDDMenu extends LitElement {
627
631
  this._collapseChain();
628
632
  };
629
633
  // — Private handlers ——————————————————————————————————————————————————————
634
+ /** The link item Space went down on, chosen when Space comes up on it. */
635
+ this._spaceLink = null;
636
+ this._handleSpaceUp = (event) => {
637
+ if (event.key !== ' ' || !this._spaceLink)
638
+ return;
639
+ const link = this._spaceLink;
640
+ this._spaceLink = null;
641
+ const root = link.getRootNode();
642
+ if (root.activeElement === link)
643
+ link.click();
644
+ };
630
645
  this._handleKeydown = (event) => {
631
646
  if (event.key === 'Tab' && this._tabOut(event))
632
647
  return;
@@ -721,9 +736,23 @@ export class NLDDMenu extends LitElement {
721
736
  // with it. Repeated presses cycle through matches.
722
737
  // Not in a navigation menu: there the letter keys are the screen
723
738
  // reader's, for moving through links and headings.
724
- if (this.variant !== 'navigation' && event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey) {
739
+ // A Space that starts nothing is a choice, not a search.
740
+ const choosing = event.key === ' ' && !this._typeaheadBuffer;
741
+ if (this.variant !== 'navigation' && event.key.length === 1 && !choosing && !event.ctrlKey && !event.metaKey && !event.altKey) {
725
742
  this._handleTypeahead(event, items, index);
726
743
  }
744
+ // Space chooses a button item, but on a link the browser scrolls
745
+ // the page instead. In a menu of actions every item is chosen the
746
+ // same way, so a link item takes Space as a click too: on keyup,
747
+ // as a button does, so moving away before letting go chooses nothing.
748
+ if (event.key === ' ' && !event.defaultPrevented && this.variant !== 'navigation') {
749
+ const link = items[index]?.shadowRoot?.querySelector('a.menu__item');
750
+ if (link) {
751
+ event.preventDefault();
752
+ if (!event.repeat)
753
+ this._spaceLink = link;
754
+ }
755
+ }
727
756
  }
728
757
  }
729
758
  };
@@ -738,6 +767,7 @@ export class NLDDMenu extends LitElement {
738
767
  * target either, though, and that one does leave the menu.
739
768
  */
740
769
  this._handleFocusOut = (event) => {
770
+ this._spaceLink = null;
741
771
  if (this.variant !== 'navigation')
742
772
  return;
743
773
  if (!this.matches(':popover-open'))
@@ -1193,6 +1223,24 @@ export class NLDDMenu extends LitElement {
1193
1223
  get _isMenuOpen() {
1194
1224
  return this._isOpen;
1195
1225
  }
1226
+ /**
1227
+ * A press on the anchor while a chosen item blinks: the menu is on its way
1228
+ * out, so the press means "open it again". Finish the blink now, so the
1229
+ * control sees a closed menu and its click opens it, instead of closing a
1230
+ * menu that was about to close anyway.
1231
+ */
1232
+ _finishBlinkForAnchorPress(event) {
1233
+ const root = this._chainRoot ?? this;
1234
+ const anchorEl = root._getAnchorEl();
1235
+ const path = event.composedPath();
1236
+ if (!anchorEl || !path.includes(anchorEl) || path.includes(root))
1237
+ return false;
1238
+ const blinking = [root, ...root._openChain.map((level) => level.submenu)].find((menu) => menu._finishBlink);
1239
+ if (!blinking)
1240
+ return false;
1241
+ blinking._finishBlink?.();
1242
+ return true;
1243
+ }
1196
1244
  connectedCallback() {
1197
1245
  super.connectedCallback();
1198
1246
  if (!this.id) {
@@ -1205,6 +1253,7 @@ export class NLDDMenu extends LitElement {
1205
1253
  this.addEventListener('beforetoggle', this._handleBeforeToggle);
1206
1254
  this.addEventListener('toggle', this._handleToggle);
1207
1255
  this.addEventListener('keydown', this._handleKeydown);
1256
+ this.addEventListener('keyup', this._handleSpaceUp);
1208
1257
  this.addEventListener('focusout', this._handleFocusOut);
1209
1258
  this.addEventListener('mouseenter', this._handleMenuItemMouseenter, true);
1210
1259
  this.addEventListener('mouseover', this._handleMouseover);
@@ -1259,6 +1308,8 @@ export class NLDDMenu extends LitElement {
1259
1308
  this._previousAnchorForResync?.removeEventListener('pointerdown', this._resyncAnchorFromPopoverState, true);
1260
1309
  this._previousAnchorForResync = null;
1261
1310
  this.removeEventListener('keydown', this._handleKeydown);
1311
+ this.removeEventListener('keyup', this._handleSpaceUp);
1312
+ this._spaceLink = null;
1262
1313
  this.removeEventListener('focusout', this._handleFocusOut);
1263
1314
  clearTimeout(this._tabbingTimer);
1264
1315
  this._tabbing = false;