@nldd/design-system 0.25.2 → 0.26.1

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 (323) hide show
  1. package/custom-elements.json +728 -32
  2. package/dist/cdn/autoloader.js +141 -141
  3. package/dist/cdn/chunks/{accordion-CE_VBJPo.js → accordion-DA4IlxS5.js} +4 -4
  4. package/dist/cdn/chunks/{accordion-item-CkIrLwn9.js → accordion-item-Ca1o93cq.js} +9 -7
  5. package/dist/cdn/chunks/{activity-indicator-DHgkMBdz.js → activity-indicator-Cj4H0Mbz.js} +5 -5
  6. package/dist/cdn/chunks/{admonition-CK1c7HiM.js → admonition-CdZSoO8O.js} +9 -7
  7. package/dist/cdn/chunks/{avatar-DwS0FqYL.js → avatar-Dhqn-Dmv.js} +6 -6
  8. package/dist/cdn/chunks/{avatar-group-BX1URuq1.js → avatar-group-B017eF-u.js} +15 -15
  9. package/dist/cdn/chunks/{badge-Dyfzch0N.js → badge-Bep5B0_g.js} +5 -5
  10. package/dist/cdn/chunks/{banner-BPUb-ZpJ.js → banner-DGpIXuE2.js} +7 -7
  11. package/dist/cdn/chunks/{bar-split-view-BitGKRYw.js → bar-split-view-CKwJxd3e.js} +5 -5
  12. package/dist/cdn/chunks/{blockquote-CAnK7XlI.js → blockquote-ChMgaOuI.js} +3 -3
  13. package/dist/cdn/chunks/{box-epVc6r3W.js → box-BRmziG-6.js} +3 -3
  14. package/dist/cdn/chunks/{breadcrumbs-CY5m5_72.js → breadcrumbs-BeVO8bkQ.js} +5 -5
  15. package/dist/cdn/chunks/{button-bar-BcmQQqns.js → button-bar-CLxOdalJ.js} +3 -3
  16. package/dist/cdn/chunks/{button-1F4MG_21.js → button-cHBkq_s7.js} +9 -9
  17. package/dist/cdn/chunks/{button-group-vez-t2RB.js → button-group-BIvKtEIX.js} +2 -2
  18. package/dist/cdn/chunks/{card-sHcZK0Sx.js → card-B5gp9Zly.js} +4 -4
  19. package/dist/cdn/chunks/{cell-_FH10LVj.js → cell-D4Nrd5Z9.js} +6 -6
  20. package/dist/cdn/chunks/{checkbox-B2EXnuni.js → checkbox-CeLTJhAc.js} +4 -4
  21. package/dist/cdn/chunks/{checkbox-field-DYBeOCXv.js → checkbox-field-C8cU8fuf.js} +6 -6
  22. package/dist/cdn/chunks/{checkbox-group-zV_EgqJ1.js → checkbox-group-CC72cq-P.js} +3 -3
  23. package/dist/cdn/chunks/{class-map-3v5_QWa6.js → class-map-xzscTu4B.js} +1 -1
  24. package/dist/cdn/chunks/{code-editor-DVHvHweL.js → code-editor-BNhlXTSl.js} +10 -10
  25. package/dist/cdn/chunks/{code-viewer-CRc5yGTZ.js → code-viewer-D_JwouYO.js} +35 -35
  26. package/dist/cdn/chunks/{codemirror-input-CgrWL_xI.js → codemirror-input-DJ0wgYrc.js} +368 -368
  27. package/dist/cdn/chunks/{collection-BobIdtqA.js → collection-BXvz_OtU.js} +8 -8
  28. package/dist/cdn/chunks/{combo-box-1h_xzaHk.js → combo-box-8kbmoStb.js} +9 -9
  29. package/dist/cdn/chunks/{container-RIa-Sff8.js → container-Dq-2uHd5.js} +2 -2
  30. package/dist/cdn/chunks/{custom-element-Dmqf9u_a.js → custom-element-DeaCQ2NP.js} +1 -1
  31. package/dist/cdn/chunks/{date-field-BN9TIiUH.js → date-field-CQg1_73u.js} +13 -13
  32. package/dist/cdn/chunks/{date-picker-BFvZvzwT.js → date-picker-CTMxGOiA.js} +10 -10
  33. package/dist/cdn/chunks/{decorate-D_xx_M26.js → decorate-CCYde2ES.js} +1 -1
  34. package/dist/cdn/chunks/{described-by-mixin-C3iCCTgg.js → described-by-mixin-BYFim7aO.js} +2 -2
  35. package/dist/cdn/chunks/{description-cell-D9oU3cOo.js → description-cell-GcVeCz2_.js} +6 -6
  36. package/dist/cdn/chunks/{dev-checks-Dcd5eLU5.js → dev-checks-CSlbfDuF.js} +19 -2
  37. package/dist/cdn/chunks/{directive-helpers-B40ApSJp.js → directive-helpers-DgaADFyY.js} +1 -1
  38. package/dist/cdn/chunks/{dist-DRizG2xD.js → dist-1OQdP4ho.js} +10 -10
  39. package/dist/cdn/chunks/{dist-BJyPLZy3.js → dist-5vPsM2aV.js} +8 -8
  40. package/dist/cdn/chunks/{dist-Cxpg90R5.js → dist-B23jHvJ5.js} +15 -15
  41. package/dist/cdn/chunks/{dist-B5Qpgwkt.js → dist-CNy2sPTt.js} +6 -6
  42. package/dist/cdn/chunks/{dist-BzfZCamJ.js → dist-CcpLhc4y.js} +7 -7
  43. package/dist/cdn/chunks/{dist-BZuHdnRq.js → dist-CyDpBAaD.js} +7 -7
  44. package/dist/cdn/chunks/{dist-De4uSuY6.js → dist-D4SViUJx.js} +21 -21
  45. package/dist/cdn/chunks/{dist-0pu3OKnY.js → dist-DBxjWahH.js} +4 -4
  46. package/dist/cdn/chunks/{dist-CPfUaZn6.js → dist-DLtwMUDc.js} +18 -18
  47. package/dist/cdn/chunks/{dist-8y5HG5So.js → dist-Da_liXcd.js} +124 -124
  48. package/dist/cdn/chunks/{dist-BVrnRVfm.js → dist-VCymi0hs.js} +250 -250
  49. package/dist/cdn/chunks/{divider-DhmeevvA.js → divider-8XD3xTbl.js} +2 -2
  50. package/dist/cdn/chunks/{document-tab-bar-BxgIq1Lc.js → document-tab-bar-RBAmckHS.js} +9 -9
  51. package/dist/cdn/chunks/{dropdown-BTnHERYI.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-BoQCuthe.js → file-field-BrHnFplX.js} +12 -12
  54. package/dist/cdn/chunks/{form-D6w4G6Qv.js → form-DGHeGEIr.js} +1 -1
  55. package/dist/cdn/chunks/{form-actions-ifb8kolV.js → form-actions-CHwWKfMM.js} +2 -2
  56. package/dist/cdn/chunks/{form-field-RhzuOcS5.js → form-field-CdTSI-8h.js} +21 -16
  57. package/dist/cdn/chunks/{form-section-0df1Ao8U.js → form-section-CjECOIiZ.js} +1 -1
  58. package/dist/cdn/chunks/{full-bleed-section-BhcgrH9L.js → full-bleed-section-CQgq4iGQ.js} +3 -3
  59. package/dist/cdn/chunks/{hero-BpLUglsB.js → hero-DhdcYt2N.js} +4 -4
  60. package/dist/cdn/chunks/{icon-button-BzCEK4gH.js → icon-button-DT_Bi4Ac.js} +9 -9
  61. package/dist/cdn/chunks/{icon-cell-fu4ggTII.js → icon-cell-C-qrZAlN.js} +5 -5
  62. package/dist/cdn/chunks/{icon-C1HTyyIr.js → icon-qpmEfU9B.js} +2 -2
  63. package/dist/cdn/chunks/{identity-CM-fW-xb.js → identity-DFmvuPkl.js} +6 -6
  64. package/dist/cdn/chunks/{if-defined-CSVfrDre.js → if-defined-BINBE69I.js} +1 -1
  65. package/dist/cdn/chunks/{image-CjcWKYny.js → image-B4M3h1xJ.js} +8 -8
  66. package/dist/cdn/chunks/{inline-dialog-QHDEfqso.js → inline-dialog-L-NvjANF.js} +6 -6
  67. package/dist/cdn/chunks/{just-in-time-education-BuDwdo2R.js → just-in-time-education-CWplH4r9.js} +5 -5
  68. package/dist/cdn/chunks/{kanban-BaRiCfTn.js → kanban-B6Wa-2aM.js} +5 -5
  69. package/dist/cdn/chunks/{kanban-column-BuYmxxwP.js → kanban-column-D2-Xq79_.js} +4 -4
  70. package/dist/cdn/chunks/{keyboard-shortcut-DYMD3B5a.js → keyboard-shortcut-Ci95olxF.js} +118 -47
  71. package/dist/cdn/chunks/{languages-BFRgyhqj.js → languages-C9AGuuSS.js} +43 -32
  72. package/dist/cdn/chunks/{link-Cb7bYQmD.js → link-BJB2a_fG.js} +6 -6
  73. package/dist/cdn/chunks/{link-group-CCxIltG-.js → link-group-aNoedLZo.js} +2 -2
  74. package/dist/cdn/chunks/{list-B7VgeqfW.js → list-CZWX62tH.js} +8 -8
  75. package/dist/cdn/chunks/{list-item-Ccmi9h7_.js → list-item-DHzsbK_S.js} +5 -5
  76. package/dist/cdn/chunks/{list-item-segment-C5APtc9o.js → list-item-segment-CHLlU9Gg.js} +3 -3
  77. package/dist/cdn/chunks/{menu-B03m20cI.js → menu-NGpB1SKq.js} +21 -17
  78. package/dist/cdn/chunks/{menu-bar-BTwITnAx.js → menu-bar-CJazkmY7.js} +6 -6
  79. package/dist/cdn/chunks/{menu-bar-item-By1lj2Ra.js → menu-bar-item-CSqXWNKE.js} +6 -6
  80. package/dist/cdn/chunks/{menu-divider-Cj7PfUGr.js → menu-divider-Cn1hTpcM.js} +3 -3
  81. package/dist/cdn/chunks/{menu-group-DyFNOAV9.js → menu-group-C71K1Vmv.js} +4 -4
  82. package/dist/cdn/chunks/{menu-item-D-9U16AZ.js → menu-item-TqBlQfI2.js} +4 -4
  83. package/dist/cdn/chunks/{menu.template-DmK-gq-8.js → menu.template-DthELYky.js} +20 -15
  84. package/dist/cdn/chunks/{modal-dialog-f_Ftzcrk.js → modal-dialog-0V2HsrJC.js} +4 -4
  85. package/dist/cdn/chunks/{multi-line-text-field-CwTomQkh.js → multi-line-text-field-BV4uUDoK.js} +60 -34
  86. package/dist/cdn/chunks/{navigation-split-view-CMy_B-Gr.js → navigation-split-view-tPhkxEVD.js} +4 -4
  87. package/dist/cdn/chunks/{notification-DiXBAbmu.js → notification-CZccv6qx.js} +6 -6
  88. package/dist/cdn/chunks/{number-field-CPCuSebL.js → number-field-4R2blHda.js} +8 -8
  89. package/dist/cdn/chunks/{one-half-one-half-section-lsJ_QAgo.js → one-half-one-half-section-h2fLPQfP.js} +3 -3
  90. package/dist/cdn/chunks/{one-third-two-thirds-section-LS-XD6DL.js → one-third-two-thirds-section-mqUAH5lK.js} +3 -3
  91. package/dist/cdn/chunks/{one-time-code-field-DT4VRbkL.js → one-time-code-field-Bf_qymKd.js} +7 -7
  92. package/dist/cdn/chunks/{page-BWCcVj4L.js → page-Kipfvmi6.js} +4 -4
  93. package/dist/cdn/chunks/{page-footer-QCQIeoP7.js → page-footer-DxE966Oe.js} +4 -4
  94. package/dist/cdn/chunks/{page-section-mixin-BSRwTzVh.js → page-section-mixin-DpF9JDpd.js} +3 -3
  95. package/dist/cdn/chunks/{pagination-CfR0D1Z7.js → pagination-DUFFhaU8.js} +6 -6
  96. package/dist/cdn/chunks/{password-field-37i3lAaO.js → password-field-DdYAVmF3.js} +8 -8
  97. package/dist/cdn/chunks/{popover-BpX7ZwI_.js → popover-CRHxyhGx.js} +6 -6
  98. package/dist/cdn/chunks/{progress-bar-oT3i4-Ib.js → progress-bar-BuYsjmSo.js} +7 -7
  99. package/dist/cdn/chunks/{progress-circle-CskWYN6V.js → progress-circle-Cvu1bfNG.js} +7 -7
  100. package/dist/cdn/chunks/{radio-button-sFiWCWEp.js → radio-button-B_4AxWDx.js} +3 -3
  101. package/dist/cdn/chunks/{radio-button-field-yXg-i59N.js → radio-button-field-D7jIg6Oi.js} +5 -5
  102. package/dist/cdn/chunks/{radio-button-group-Bp4nILvI.js → radio-button-group-D_OezDhB.js} +3 -3
  103. package/dist/cdn/chunks/{render-marked-B_e-wQFe.js → render-marked-CIuiSS_8.js} +1 -1
  104. package/dist/cdn/chunks/{reorder-handle-cell-BFyWv6Xk.js → reorder-handle-cell-DNPaZjSC.js} +4 -4
  105. package/dist/cdn/chunks/{reorder-handle-mixin-CwNDaVUE.js → reorder-handle-mixin-CgvWq4fF.js} +2 -2
  106. package/dist/cdn/chunks/{repeat-Dx2PqcyL.js → repeat-DfVuWl6o.js} +2 -2
  107. package/dist/cdn/chunks/{return-focus-BzZWhXhc.js → return-focus-D0fF2hjd.js} +1 -1
  108. package/dist/cdn/chunks/{rich-text-CaVHkCB8.js → rich-text-CVHlMQY6.js} +3 -3
  109. package/dist/cdn/chunks/{row-header-mixin-BX0qSYSK.js → row-header-mixin-B25JK2B3.js} +2 -2
  110. package/dist/cdn/chunks/{scroll-fade-CXu7Eorw.js → scroll-fade-Dv57rTww.js} +2 -2
  111. package/dist/cdn/chunks/{search-field-DkbneceA.js → search-field-hmD_DXbG.js} +10 -10
  112. package/dist/cdn/chunks/{segmented-control-Ctl4SnV1.js → segmented-control-e8e-jYSw.js} +6 -6
  113. package/dist/cdn/chunks/{shadow-resets-oeO4NF40.js → shadow-resets-CRdvf-Ei.js} +2 -2
  114. package/dist/cdn/chunks/{sheet-XGOn3SXX.js → sheet-D09y3J45.js} +4 -4
  115. package/dist/cdn/chunks/{shell-B7-afKWD.js → shell-CV3gooGg.js} +3 -3
  116. package/dist/cdn/chunks/{side-by-side-split-view-CZC844ER.js → side-by-side-split-view-Ckz1C9zk.js} +4 -4
  117. package/dist/cdn/chunks/{sidebar-section-_eTWxCEU.js → sidebar-section-CdyD-x4t.js} +7 -7
  118. package/dist/cdn/chunks/{simple-section-CvBDK1kv.js → simple-section-CEf38rBZ.js} +3 -3
  119. package/dist/cdn/chunks/{skip-link-CHAlS7T_.js → skip-link-DMRhATWw.js} +4 -4
  120. package/dist/cdn/chunks/{slider-CidyL0xj.js → slider-Db3FPiP6.js} +8 -8
  121. package/dist/cdn/chunks/{spacer-DukX-lmv.js → spacer-BPFIYueo.js} +2 -2
  122. package/dist/cdn/chunks/{spacer-cell-etr1xFgM.js → spacer-cell-kITa3CDV.js} +4 -4
  123. package/dist/cdn/chunks/{split-button-DD0NWy1h.js → split-button-CJs9-Nha.js} +7 -7
  124. package/dist/cdn/chunks/{split-view-divider-x1x3K9m0.js → split-view-divider-lHlM1Ss8.js} +2 -2
  125. package/dist/cdn/chunks/{split-view-pane-BnCIygrY.js → split-view-pane-DlsbZtyo.js} +3 -3
  126. package/dist/cdn/chunks/{stacked-split-view-B70JJ94w.js → stacked-split-view-uRSVhrMd.js} +4 -4
  127. package/dist/cdn/chunks/{static-html-Bqazhm1K.js → static-html-BahSPV_4.js} +1 -1
  128. package/dist/cdn/chunks/{status-bar-CNLiFQUC.js → status-bar-DCJLVpsW.js} +4 -4
  129. package/dist/cdn/chunks/{step-bar-BOvuQRux.js → step-bar-CRR2jiyo.js} +6 -6
  130. package/dist/cdn/chunks/{step-cell-CM1Ju6Qz.js → step-cell-CbtKxJNJ.js} +5 -5
  131. package/dist/cdn/chunks/{stepper-CKM-lSpD.js → stepper-Con1_CnB.js} +6 -6
  132. package/dist/cdn/chunks/{style-map-BK47EPzs.js → style-map-uOwLerwV.js} +1 -1
  133. package/dist/cdn/chunks/{swatch-picker-CFRNmV9x.js → swatch-picker-Bqn0eaC9.js} +5 -5
  134. package/dist/cdn/chunks/{switch-BBy9Xo1E.js → switch-CMQcLEBJ.js} +4 -4
  135. package/dist/cdn/chunks/{switch-field-zh-K7d2q.js → switch-field-D9kWq4Kw.js} +5 -5
  136. package/dist/cdn/chunks/{tab-bar-C8qWE51t.js → tab-bar-DXzyZI3V.js} +8 -8
  137. package/dist/cdn/chunks/{table-av_EyIn7.js → table-CWACLpHx.js} +5 -5
  138. package/dist/cdn/chunks/{tag-DFv9vv3i.js → tag-Bo4yJbtF.js} +4 -4
  139. package/dist/cdn/chunks/{term-DeQiGH6k.js → term-CQ379ZbN.js} +12 -12
  140. package/dist/cdn/chunks/{text-mfKi65T1.js → text-D-dFoj6N.js} +3 -3
  141. package/dist/cdn/chunks/{text-cell-BcT9b0bK.js → text-cell-Be1hStxp.js} +8 -8
  142. package/dist/cdn/chunks/{text-editor-BwJE_vvo.js → text-editor-BjzQEBWm.js} +1372 -904
  143. package/dist/cdn/chunks/{text-field-B78KPNqa.js → text-field-DA8nirp6.js} +46 -63
  144. package/dist/cdn/chunks/{time-field-O2OSrTyM.js → time-field-Dd_TxJuf.js} +15 -15
  145. package/dist/cdn/chunks/{time-picker-Ce5tW_jo.js → time-picker-B0-rv1qp.js} +5 -5
  146. package/dist/cdn/chunks/{title-Bdx3NCUA.js → title-DOoPdG_i.js} +4 -4
  147. package/dist/cdn/chunks/{title-cell-BwHqLbue.js → title-cell-BzCNOMGr.js} +8 -8
  148. package/dist/cdn/chunks/{toggle-button-CjjJRwpP.js → toggle-button-9PbDHviQ.js} +10 -8
  149. package/dist/cdn/chunks/{toggle-button-group-CuRM8-nF.js → toggle-button-group-C-H-xp0M.js} +2 -2
  150. package/dist/cdn/chunks/{token-AiSihnjQ.js → token-CMKFC3gz.js} +5 -5
  151. package/dist/cdn/chunks/{token-field-GETUgMlc.js → token-field-D4-XHfnG.js} +11 -11
  152. package/dist/cdn/chunks/{toolbar-item-DR1Z8Hc3.js → toolbar-item-ZYoyKOyy.js} +3 -3
  153. package/dist/cdn/chunks/{toolbar-title-CDTF6HLo.js → toolbar-title-FKtQ8ZC4.js} +4 -4
  154. package/dist/cdn/chunks/{toolbar-Cwq028PV.js → toolbar-z9OhEE5l.js} +8 -8
  155. package/dist/cdn/chunks/{toolbar.styles-JjSZv4fw.js → toolbar.styles-DDjpdCHV.js} +3 -3
  156. package/dist/cdn/chunks/{tooltip-c-bLjIjT.js → tooltip-BvRNYRo3.js} +5 -5
  157. package/dist/cdn/chunks/{top-navigation-bar-DzmvxwVc.js → top-navigation-bar-BHPQntER.js} +17 -17
  158. package/dist/cdn/chunks/{top-title-bar-Bk6dadA-.js → top-title-bar-BVjegLlh.js} +6 -6
  159. package/dist/cdn/chunks/{translations-BDYe8_q9.js → translations-cJjO6nQV.js} +1 -1
  160. package/dist/cdn/chunks/{two-thirds-one-third-section-Co5_3oOP.js → two-thirds-one-third-section-BdBHQuXc.js} +3 -3
  161. package/dist/cdn/chunks/{validation-list-MEykkKGr.js → validation-list-5E3-3_95.js} +3 -3
  162. package/dist/cdn/chunks/{visibility-mixin-UdX7clEI.js → visibility-mixin-DvRe3O8t.js} +2 -2
  163. package/dist/cdn/chunks/{visually-hidden-BKnf0dXp.js → visually-hidden-F85D_HcR.js} +2 -2
  164. package/dist/cdn/chunks/{window-DNoLmVa1.js → window-CabW35M1.js} +5 -5
  165. package/dist/cdn/chunks/{with-translations-DlZHUMbZ.js → with-translations-BHDG37HJ.js} +3 -3
  166. package/dist/components/actions/button/button.template.js +1 -1
  167. package/dist/components/actions/menu/menu.pointer.d.ts +6 -2
  168. package/dist/components/actions/menu/menu.pointer.d.ts.map +1 -1
  169. package/dist/components/actions/menu/menu.pointer.js +15 -5
  170. package/dist/components/actions/menu/menu.pointer.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 +15 -10
  173. package/dist/components/actions/menu/menu.styles.js.map +1 -1
  174. package/dist/components/actions/menu/menu.template.js +1 -1
  175. package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
  176. package/dist/components/content/accordion/accordion-item.styles.js +5 -3
  177. package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
  178. package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
  179. package/dist/components/content/admonition/admonition.styles.js +5 -3
  180. package/dist/components/content/admonition/admonition.styles.js.map +1 -1
  181. package/dist/components/content/icon/icon.d.ts +1 -1
  182. package/dist/components/content/icon/icon.js +1 -1
  183. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +16 -9
  184. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
  185. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +18 -12
  186. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  187. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
  188. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +26 -12
  189. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
  190. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.d.ts.map +1 -1
  191. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.js +12 -3
  192. package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.js.map +1 -1
  193. package/dist/components/content/tooltip/tooltip.template.js +1 -1
  194. package/dist/components/forms/form-field/form-field.d.ts +3 -1
  195. package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
  196. package/dist/components/forms/form-field/form-field.js +14 -3
  197. package/dist/components/forms/form-field/form-field.js.map +1 -1
  198. package/dist/components/inputs/combo-box/combo-box.d.ts +3 -0
  199. package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
  200. package/dist/components/inputs/combo-box/combo-box.js +3 -0
  201. package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
  202. package/dist/components/inputs/date-field/date-field.d.ts +3 -0
  203. package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
  204. package/dist/components/inputs/date-field/date-field.js +3 -0
  205. package/dist/components/inputs/date-field/date-field.js.map +1 -1
  206. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +8 -0
  207. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
  208. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +8 -0
  209. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
  210. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
  211. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +24 -2
  212. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
  213. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.d.ts.map +1 -1
  214. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +3 -0
  215. package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js.map +1 -1
  216. package/dist/components/inputs/number-field/number-field.d.ts +3 -0
  217. package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
  218. package/dist/components/inputs/number-field/number-field.js +3 -0
  219. package/dist/components/inputs/number-field/number-field.js.map +1 -1
  220. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +3 -0
  221. package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
  222. package/dist/components/inputs/one-time-code-field/one-time-code-field.js +3 -0
  223. package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
  224. package/dist/components/inputs/password-field/password-field.d.ts +3 -0
  225. package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
  226. package/dist/components/inputs/password-field/password-field.js +3 -0
  227. package/dist/components/inputs/password-field/password-field.js.map +1 -1
  228. package/dist/components/inputs/search-field/search-field.d.ts +3 -0
  229. package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
  230. package/dist/components/inputs/search-field/search-field.js +3 -0
  231. package/dist/components/inputs/search-field/search-field.js.map +1 -1
  232. package/dist/components/inputs/text-editor/text-editor.clipboard.d.ts +5 -2
  233. package/dist/components/inputs/text-editor/text-editor.clipboard.d.ts.map +1 -1
  234. package/dist/components/inputs/text-editor/text-editor.clipboard.js +23 -4
  235. package/dist/components/inputs/text-editor/text-editor.clipboard.js.map +1 -1
  236. package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts.map +1 -1
  237. package/dist/components/inputs/text-editor/text-editor.code-copy.js +38 -18
  238. package/dist/components/inputs/text-editor/text-editor.code-copy.js.map +1 -1
  239. package/dist/components/inputs/text-editor/text-editor.commands.d.ts +8 -6
  240. package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
  241. package/dist/components/inputs/text-editor/text-editor.commands.js +23 -9
  242. package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
  243. package/dist/components/inputs/text-editor/text-editor.d.ts +26 -0
  244. package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
  245. package/dist/components/inputs/text-editor/text-editor.js +165 -15
  246. package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
  247. package/dist/components/inputs/text-editor/text-editor.list-input.d.ts +17 -0
  248. package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -0
  249. package/dist/components/inputs/text-editor/text-editor.list-input.js +133 -0
  250. package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -0
  251. package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
  252. package/dist/components/inputs/text-editor/text-editor.markdown.js +28 -1
  253. package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
  254. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +4 -2
  255. package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
  256. package/dist/components/inputs/text-editor/text-editor.mentions.js +9 -5
  257. package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
  258. package/dist/components/inputs/text-editor/text-editor.ordered-list.d.ts.map +1 -1
  259. package/dist/components/inputs/text-editor/text-editor.ordered-list.js +89 -18
  260. package/dist/components/inputs/text-editor/text-editor.ordered-list.js.map +1 -1
  261. package/dist/components/inputs/text-editor/text-editor.paste.d.ts +10 -0
  262. package/dist/components/inputs/text-editor/text-editor.paste.d.ts.map +1 -0
  263. package/dist/components/inputs/text-editor/text-editor.paste.js +116 -0
  264. package/dist/components/inputs/text-editor/text-editor.paste.js.map +1 -0
  265. package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
  266. package/dist/components/inputs/text-editor/text-editor.styles.js +49 -2
  267. package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
  268. package/dist/components/inputs/text-editor/text-editor.template.d.ts +1 -1
  269. package/dist/components/inputs/text-editor/text-editor.template.d.ts.map +1 -1
  270. package/dist/components/inputs/text-editor/text-editor.template.js +4 -3
  271. package/dist/components/inputs/text-editor/text-editor.template.js.map +1 -1
  272. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts +53 -0
  273. package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -0
  274. package/dist/components/inputs/text-editor/text-editor.toolbar.js +302 -0
  275. package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -0
  276. package/dist/components/inputs/text-field/text-field.d.ts +7 -13
  277. package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
  278. package/dist/components/inputs/text-field/text-field.js +8 -50
  279. package/dist/components/inputs/text-field/text-field.js.map +1 -1
  280. package/dist/components/inputs/text-field/text-field.template.js +2 -2
  281. package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
  282. package/dist/components/inputs/time-field/time-field.d.ts +3 -0
  283. package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
  284. package/dist/components/inputs/time-field/time-field.js +3 -0
  285. package/dist/components/inputs/time-field/time-field.js.map +1 -1
  286. package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
  287. package/dist/components/inputs/toggle-button/toggle-button.styles.js +3 -1
  288. package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
  289. package/dist/components/inputs/token-field/token-field.d.ts +3 -0
  290. package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
  291. package/dist/components/inputs/token-field/token-field.js +3 -0
  292. package/dist/components/inputs/token-field/token-field.js.map +1 -1
  293. package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +1 -1
  294. package/dist/css/rich-text.css +8 -2
  295. package/dist/css/variables.css +2 -1
  296. package/dist/nldd.min.js +973 -870
  297. package/dist/types/react.d.ts +12 -8
  298. package/dist/types/vue.d.ts +17 -11
  299. package/dist/utilities/codemirror/codemirror-element.d.ts +12 -1
  300. package/dist/utilities/codemirror/codemirror-element.d.ts.map +1 -1
  301. package/dist/utilities/codemirror/codemirror-element.js +23 -4
  302. package/dist/utilities/codemirror/codemirror-element.js.map +1 -1
  303. package/dist/utilities/codemirror/codemirror-input.d.ts +3 -0
  304. package/dist/utilities/codemirror/codemirror-input.d.ts.map +1 -1
  305. package/dist/utilities/codemirror/codemirror-input.js +14 -3
  306. package/dist/utilities/codemirror/codemirror-input.js.map +1 -1
  307. package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
  308. package/dist/utilities/dev-rules.generated.js +22 -2
  309. package/dist/utilities/dev-rules.generated.js.map +1 -1
  310. package/dist/utilities/field-button-controller.d.ts +28 -0
  311. package/dist/utilities/field-button-controller.d.ts.map +1 -0
  312. package/dist/utilities/field-button-controller.js +56 -0
  313. package/dist/utilities/field-button-controller.js.map +1 -0
  314. package/dist/utilities/return-focus.d.ts.map +1 -1
  315. package/dist/utilities/return-focus.js +3 -0
  316. package/dist/utilities/return-focus.js.map +1 -1
  317. package/dist/utilities/shortcut.d.ts +14 -0
  318. package/dist/utilities/shortcut.d.ts.map +1 -1
  319. package/dist/utilities/shortcut.js +37 -1
  320. package/dist/utilities/shortcut.js.map +1 -1
  321. package/lint/data.generated.json +1 -1
  322. package/lint/linter.js +4 -1
  323. package/package.json +3 -4
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { n as t, o as n, t as r } from "./decorate-D_xx_M26.js";
3
- import { a as i, r as a } from "./custom-element-Dmqf9u_a.js";
2
+ import { n as t, o as n, t as r } from "./decorate-CCYde2ES.js";
3
+ import { a as i, r as a } from "./custom-element-DeaCQ2NP.js";
4
4
  import { t as o } from "./custom-element-BW8Ua4c7.js";
5
5
  import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
6
- import { t as c } from "./shadow-resets-oeO4NF40.js";
6
+ import { t as c } from "./shadow-resets-CRdvf-Ei.js";
7
7
  // src/utilities/os.ts
8
8
  var l = null, u = null;
9
9
  function d(e) {
@@ -29,13 +29,65 @@ function h(e) {
29
29
  let t = e.trim().replace(/\s*\+\s*/g, "+");
30
30
  return t === "+" ? ["+"] : t.replace(/\+\+\+/g, "+\0+").replace(/\+\+$/, "+\0").split("+").map((e) => e.trim().split("\0").join("+")).filter(Boolean);
31
31
  }
32
- var g = "(any-hover: none)";
33
- function _() {
34
- return typeof matchMedia != "function" || !matchMedia(g).matches;
32
+ var g = {
33
+ symbol: "⌃",
34
+ name: "Control"
35
+ }, _ = {
36
+ symbol: "⌥",
37
+ name: "Option"
38
+ }, v = {
39
+ symbol: "⇧",
40
+ name: "Shift"
41
+ }, y = {
42
+ symbol: "⌘",
43
+ name: "Command"
44
+ }, b = [
45
+ g,
46
+ _,
47
+ v,
48
+ y
49
+ ], x = {
50
+ ctrl: g,
51
+ control: g,
52
+ "⌃": g,
53
+ alt: _,
54
+ opt: _,
55
+ option: _,
56
+ "⌥": _,
57
+ shift: v,
58
+ "⇧": v,
59
+ cmd: y,
60
+ command: y,
61
+ meta: y,
62
+ "⌘": y
63
+ };
64
+ function S(e, t) {
65
+ let n = h(e);
66
+ if (t !== "mac") return n.map((e) => ({
67
+ label: e,
68
+ name: e.length === 1 && x[e] ? x[e].name : e
69
+ }));
70
+ let r = /* @__PURE__ */ new Set(), i = [];
71
+ for (let e of n) {
72
+ let t = x[e.toLowerCase()];
73
+ t ? r.add(t) : i.push({
74
+ label: e,
75
+ name: e
76
+ });
77
+ }
78
+ return [...b.filter((e) => r.has(e)).map(({ symbol: e, name: t }) => ({
79
+ label: e,
80
+ name: t,
81
+ symbol: !0
82
+ })), ...i];
83
+ }
84
+ var C = "(any-hover: none)";
85
+ function w() {
86
+ return typeof matchMedia != "function" || !matchMedia(C).matches;
35
87
  }
36
- var v = class {
88
+ var T = class {
37
89
  constructor(e, t) {
38
- this._query = typeof matchMedia == "function" ? matchMedia(g) : null, this._handleChange = () => this._onChange(), this._onChange = t ?? (() => e.requestUpdate()), e.addController(this);
90
+ this._query = typeof matchMedia == "function" ? matchMedia(C) : null, this._handleChange = () => this._onChange(), this._onChange = t ?? (() => e.requestUpdate()), e.addController(this);
39
91
  }
40
92
  hostConnected() {
41
93
  this._query?.addEventListener("change", this._handleChange);
@@ -44,16 +96,16 @@ var v = class {
44
96
  this._query?.removeEventListener("change", this._handleChange);
45
97
  }
46
98
  };
47
- function y(e) {
48
- return !p(e) || !_() ? "" : h(m({
99
+ function E(e) {
100
+ return !p(e) || !w() ? "" : S(m({
49
101
  keys: e.shortcut,
50
102
  macKeys: e.shortcutMac,
51
103
  windowsKeys: e.shortcutWindows,
52
104
  linuxKeys: e.shortcutLinux
53
- }, f())).join(" ");
105
+ }, f()), f()).map((e) => e.name).join(" ");
54
106
  }
55
107
  // src/components/content/keyboard-shortcut/keyboard-shortcut.styles.ts
56
- var b = i`
108
+ var D = i`
57
109
  :host {
58
110
  box-sizing: border-box;
59
111
  }
@@ -65,6 +117,7 @@ var b = i`
65
117
  --_keyboard-shortcut-size: var(--primitives-space-24);
66
118
  --_keyboard-shortcut-inline-padding: var(--primitives-space-4);
67
119
  --_keyboard-shortcut-font-family: var(--primitives-font-family-monospace);
120
+ --_keyboard-shortcut-symbol-font-family: var(--primitives-font-family-body);
68
121
  --_keyboard-shortcut-font-size: var(--primitives-font-size-80);
69
122
  --_keyboard-shortcut-font-weight: var(--primitives-font-weight-body-regular);
70
123
  --_keyboard-shortcut-line-height: var(--primitives-line-height-flat);
@@ -73,7 +126,8 @@ var b = i`
73
126
  --_keyboard-shortcut-highlight-border-color: light-dark(var(--primitives-color-neutral-150), var(--primitives-color-neutral-250));
74
127
  --_keyboard-shortcut-background-color: var(--semantics-surfaces-tinted-background-color);
75
128
  --_keyboard-shortcut-border-width: var(--primitives-border-width-thin);
76
- --_keyboard-shortcut-corner-radius: var(--primitives-corner-radius-xs);
129
+ --_keyboard-shortcut-gap: var(--primitives-space-4);
130
+ --_keyboard-shortcut-corner-radius: calc(var(--_keyboard-shortcut-size) * 0.2);
77
131
 
78
132
  ${c}
79
133
  display: inline-flex;
@@ -98,18 +152,19 @@ var b = i`
98
152
  --_keyboard-shortcut-font-size: 0.75em;
99
153
  }
100
154
 
101
- :host([appearance="simple"]) {
155
+ :host([appearance="text"]) {
156
+ --_keyboard-shortcut-gap: 0;
102
157
  --_keyboard-shortcut-font-family: var(--primitives-font-family-body);
103
158
  --_keyboard-shortcut-font-size: var(--primitives-font-size-100);
104
159
 
105
160
  vertical-align: baseline;
106
161
  }
107
162
 
108
- :host([appearance="simple"][size="sm"]) {
163
+ :host([appearance="text"][size="sm"]) {
109
164
  --_keyboard-shortcut-font-size: var(--primitives-font-size-90);
110
165
  }
111
166
 
112
- :host([appearance="simple"][size="inherit"]) {
167
+ :host([appearance="text"][size="inherit"]) {
113
168
  --_keyboard-shortcut-font-size: inherit;
114
169
  }
115
170
 
@@ -129,7 +184,7 @@ var b = i`
129
184
 
130
185
  .keyboard-shortcut {
131
186
  display: inline-flex;
132
- gap: var(--primitives-space-2);
187
+ gap: var(--_keyboard-shortcut-gap);
133
188
  align-items: center;
134
189
  }
135
190
 
@@ -138,7 +193,7 @@ var b = i`
138
193
  top: -0.05em;
139
194
  }
140
195
 
141
- :host([size="inherit"][appearance="simple"]) .keyboard-shortcut {
196
+ :host([size="inherit"][appearance="text"]) .keyboard-shortcut {
142
197
  position: static;
143
198
  }
144
199
 
@@ -147,6 +202,7 @@ var b = i`
147
202
 
148
203
  .keyboard-shortcut__key {
149
204
  box-sizing: border-box;
205
+ position: relative;
150
206
  display: inline-flex;
151
207
  box-shadow: inset 0 0 0 var(--_keyboard-shortcut-border-width) var(--_keyboard-shortcut-highlight-border-color);
152
208
  border-radius: var(--_keyboard-shortcut-corner-radius);
@@ -165,11 +221,7 @@ var b = i`
165
221
  white-space: nowrap;
166
222
  }
167
223
 
168
- :host([appearance="simple"]) .keyboard-shortcut {
169
- gap: 0;
170
- }
171
-
172
- :host([appearance="simple"]) .keyboard-shortcut__key {
224
+ :host([appearance="text"]) .keyboard-shortcut__key {
173
225
  box-shadow: none;
174
226
  background-color: transparent;
175
227
  border-radius: 0;
@@ -183,12 +235,26 @@ var b = i`
183
235
  color: CanvasText;
184
236
  }
185
237
 
186
- :host(:not([appearance="simple"])) .keyboard-shortcut__key {
238
+ :host(:not([appearance="text"])) .keyboard-shortcut__key {
187
239
  border: var(--_keyboard-shortcut-border-width) solid CanvasText;
188
240
  background-color: Canvas;
189
241
  }
190
242
  }
191
243
 
244
+ .keyboard-shortcut__symbol {
245
+ font-family: var(--_keyboard-shortcut-symbol-font-family);
246
+ }
247
+
248
+ /* Standard visually-hidden recipe. */
249
+ .keyboard-shortcut__key-name {
250
+ position: absolute;
251
+ width: 1px;
252
+ height: 1px;
253
+ overflow: hidden;
254
+ clip-path: inset(50%);
255
+ white-space: nowrap;
256
+ }
257
+
192
258
  .keyboard-shortcut__separator {
193
259
  --context-content-color: var(--_keyboard-shortcut-separator-color);
194
260
  color: var(--_keyboard-shortcut-separator-color);
@@ -199,27 +265,32 @@ var b = i`
199
265
  }
200
266
  `;
201
267
  // src/components/content/keyboard-shortcut/keyboard-shortcut.template.ts
202
- function x(e) {
203
- let t = e._parsedKeys;
204
- return t.length === 0 ? n`
268
+ function O({ label: e, name: t }) {
269
+ return e === t ? e : n`<span class="keyboard-shortcut__symbol" aria-hidden="true">${e}</span><span class="keyboard-shortcut__key-name">${t}</span>`;
270
+ }
271
+ function k(e) {
272
+ let t = e._displayKeys;
273
+ if (t.length === 0) return n`
205
274
  <kbd class="keyboard-shortcut">
206
275
  <slot></slot>
207
276
  </kbd>
208
- ` : n`
277
+ `;
278
+ let r = (n) => e.appearance === "text" && n > 0 && !t[n - 1].symbol;
279
+ return n`
209
280
  <kbd class="keyboard-shortcut">
210
281
  ${t.map((e, t) => n`
211
- ${t > 0 ? n`<span class="keyboard-shortcut__separator"
282
+ ${r(t) ? n`<span class="keyboard-shortcut__separator"
212
283
  aria-hidden="true"
213
284
  >+</span>` : ""}
214
- <kbd class="keyboard-shortcut__key">${e}</kbd>
285
+ <kbd class="keyboard-shortcut__key">${O(e)}</kbd>
215
286
  `)}
216
287
  </kbd>
217
288
  `;
218
289
  }
219
290
  // src/components/content/keyboard-shortcut/keyboard-shortcut.ts
220
- var S = /* @__PURE__ */ e({ NLDDKeyboardShortcut: () => w }), C = class extends t {
291
+ var A = /* @__PURE__ */ e({ NLDDKeyboardShortcut: () => M }), j = class extends t {
221
292
  constructor(...e) {
222
- super(...e), this.keys = "", this.macKeys = "", this.windowsKeys = "", this.linuxKeys = "", this.size = "md", this.appearance = "box", this.color = "neutral", this.alwaysVisible = !1, this.debugOS = "";
293
+ super(...e), this.keys = "", this.macKeys = "", this.windowsKeys = "", this.linuxKeys = "", this.size = "md", this.appearance = "keycap", this.color = "neutral", this.alwaysVisible = !1, this.debugOS = "";
223
294
  }
224
295
  get _resolvedOS() {
225
296
  return this.debugOS || f();
@@ -227,43 +298,43 @@ var S = /* @__PURE__ */ e({ NLDDKeyboardShortcut: () => w }), C = class extends
227
298
  get _resolvedKeys() {
228
299
  return m(this, this._resolvedOS);
229
300
  }
230
- get _parsedKeys() {
231
- return h(this._resolvedKeys);
301
+ get _displayKeys() {
302
+ return S(this._resolvedKeys, this._resolvedOS);
232
303
  }
233
304
  render() {
234
- return x(this);
305
+ return k(this);
235
306
  }
236
- }, w = (C.styles = b, C);
307
+ }, M = (j.styles = D, j);
237
308
  r([a({
238
309
  reflect: !0,
239
310
  converter: s("")
240
- })], w.prototype, "keys", void 0), r([a({
311
+ })], M.prototype, "keys", void 0), r([a({
241
312
  reflect: !0,
242
313
  attribute: "mac-keys",
243
314
  converter: s("")
244
- })], w.prototype, "macKeys", void 0), r([a({
315
+ })], M.prototype, "macKeys", void 0), r([a({
245
316
  reflect: !0,
246
317
  attribute: "windows-keys",
247
318
  converter: s("")
248
- })], w.prototype, "windowsKeys", void 0), r([a({
319
+ })], M.prototype, "windowsKeys", void 0), r([a({
249
320
  reflect: !0,
250
321
  attribute: "linux-keys",
251
322
  converter: s("")
252
- })], w.prototype, "linuxKeys", void 0), r([a({
323
+ })], M.prototype, "linuxKeys", void 0), r([a({
253
324
  reflect: !0,
254
325
  converter: s("md")
255
- })], w.prototype, "size", void 0), r([a({
326
+ })], M.prototype, "size", void 0), r([a({
256
327
  reflect: !0,
257
- converter: s("box")
258
- })], w.prototype, "appearance", void 0), r([a({
328
+ converter: s("keycap")
329
+ })], M.prototype, "appearance", void 0), r([a({
259
330
  reflect: !0,
260
331
  converter: s("neutral")
261
- })], w.prototype, "color", void 0), r([a({
332
+ })], M.prototype, "color", void 0), r([a({
262
333
  type: Boolean,
263
334
  reflect: !0,
264
335
  attribute: "always-visible"
265
- })], w.prototype, "alwaysVisible", void 0), r([a({
336
+ })], M.prototype, "alwaysVisible", void 0), r([a({
266
337
  type: String,
267
338
  attribute: "debug-os"
268
- })], w.prototype, "debugOS", void 0), w = r([o("nldd-keyboard-shortcut")], w);
269
- export { _ as a, y as i, v as n, p as r, S as t };
339
+ })], M.prototype, "debugOS", void 0), M = r([o("nldd-keyboard-shortcut")], M);
340
+ export { w as a, E as i, T as n, p as r, A as t };
@@ -1,5 +1,5 @@
1
1
  import { a as e, c as t, d as n, h as r, i, l as a, m as o, o as s, p as c, r as l, t as u, u as d } from "./style-mod-DGMhzWuk.js";
2
- import { n as f } from "./decorate-D_xx_M26.js";
2
+ import { n as f } from "./decorate-CCYde2ES.js";
3
3
  // node_modules/@marijn/find-cluster-break/src/index.js
4
4
  var p = [], m = [];
5
5
  (() => {
@@ -8657,7 +8657,19 @@ function gl(e, t) {
8657
8657
  }
8658
8658
  z.RTL, z.LTR;
8659
8659
  // src/utilities/codemirror/codemirror-element.ts
8660
- var _l = class extends f {
8660
+ function _l(e, t) {
8661
+ if (e === t) return null;
8662
+ let n = Math.min(e.length, t.length), r = 0;
8663
+ for (; r < n && e.charCodeAt(r) === t.charCodeAt(r);) r++;
8664
+ let i = 0;
8665
+ for (; i < n - r && e.charCodeAt(e.length - 1 - i) === t.charCodeAt(t.length - 1 - i);) i++;
8666
+ return {
8667
+ from: r,
8668
+ to: e.length - i,
8669
+ insert: t.slice(r, t.length - i)
8670
+ };
8671
+ }
8672
+ var vl = class extends f {
8661
8673
  constructor(...e) {
8662
8674
  super(...e), this._hasMounted = !1;
8663
8675
  }
@@ -8683,12 +8695,11 @@ var _l = class extends f {
8683
8695
  this.view?.destroy(), this.view = void 0;
8684
8696
  }
8685
8697
  setDoc(e) {
8686
- let t = this.view;
8687
- t && t.state.doc.toString() !== e && t.dispatch({ changes: {
8688
- from: 0,
8689
- to: t.state.doc.length,
8690
- insert: e
8691
- } });
8698
+ let t = this.view, n = t && _l(t.state.doc.toString(), e);
8699
+ t && n && t.dispatch({
8700
+ changes: n,
8701
+ annotations: [A.remote.of(!0), A.addToHistory.of(!1)]
8702
+ });
8692
8703
  }
8693
8704
  reconfigure(e, t) {
8694
8705
  this.view?.dispatch({ effects: e.reconfigure(t) });
@@ -8711,7 +8722,7 @@ var _l = class extends f {
8711
8722
  disconnectedCallback() {
8712
8723
  super.disconnectedCallback(), this.view && (this._preservedDoc = this.doc), this.destroyEditor();
8713
8724
  }
8714
- }, vl = [Q.theme({
8725
+ }, yl = [Q.theme({
8715
8726
  "&": {
8716
8727
  height: "100%",
8717
8728
  color: "var(--semantics-content-color)",
@@ -8842,31 +8853,31 @@ var _l = class extends f {
8842
8853
  tag: s.emphasis,
8843
8854
  fontStyle: "italic"
8844
8855
  }
8845
- ]))], yl = {
8846
- json: async () => (await import("./dist-BzfZCamJ.js")).json(),
8847
- yaml: async () => (await import("./dist-De4uSuY6.js")).yaml(),
8848
- javascript: async () => (await import("./dist-CPfUaZn6.js").then((e) => e.t)).javascript(),
8849
- typescript: async () => (await import("./dist-CPfUaZn6.js").then((e) => e.t)).javascript({ typescript: !0 }),
8850
- css: async () => (await import("./dist-0pu3OKnY.js").then((e) => e.r)).css(),
8851
- html: async () => (await import("./dist-DRizG2xD.js").then((e) => e.t)).html(),
8852
- xml: async () => (await import("./dist-Cxpg90R5.js")).xml(),
8853
- python: async () => (await import("./dist-B5Qpgwkt.js")).python(),
8854
- rust: async () => (await import("./dist-BJyPLZy3.js")).rust(),
8855
- sql: async () => (await import("./dist-BZuHdnRq.js")).sql(),
8856
- markdown: async () => (await import("./dist-8y5HG5So.js").then((e) => e.t)).markdown(),
8856
+ ]))], bl = {
8857
+ json: async () => (await import("./dist-CcpLhc4y.js")).json(),
8858
+ yaml: async () => (await import("./dist-D4SViUJx.js")).yaml(),
8859
+ javascript: async () => (await import("./dist-DLtwMUDc.js").then((e) => e.t)).javascript(),
8860
+ typescript: async () => (await import("./dist-DLtwMUDc.js").then((e) => e.t)).javascript({ typescript: !0 }),
8861
+ css: async () => (await import("./dist-DBxjWahH.js").then((e) => e.r)).css(),
8862
+ html: async () => (await import("./dist-1OQdP4ho.js").then((e) => e.t)).html(),
8863
+ xml: async () => (await import("./dist-B23jHvJ5.js")).xml(),
8864
+ python: async () => (await import("./dist-CNy2sPTt.js")).python(),
8865
+ rust: async () => (await import("./dist-5vPsM2aV.js")).rust(),
8866
+ sql: async () => (await import("./dist-CyDpBAaD.js")).sql(),
8867
+ markdown: async () => (await import("./dist-Da_liXcd.js").then((e) => e.n)).markdown(),
8857
8868
  bash: async () => new fc(el.define((await import("./shell-DmJOYhyF.js")).shell)),
8858
8869
  toml: async () => new fc(el.define((await import("./toml-w97zZfFO.js")).toml)),
8859
8870
  gherkin: async () => new fc(el.define((await import("./gherkin-eseYvsxh.js")).gherkin))
8860
- }, bl = /* @__PURE__ */ new Map();
8861
- function xl(e) {
8862
- let t = yl[e];
8871
+ }, xl = /* @__PURE__ */ new Map();
8872
+ function Sl(e) {
8873
+ let t = bl[e];
8863
8874
  if (!t) return;
8864
- let n = bl.get(e);
8875
+ let n = xl.get(e);
8865
8876
  return n || (n = t().catch((t) => {
8866
- throw bl.delete(e), t;
8867
- }), bl.set(e, n)), n;
8877
+ throw xl.delete(e), t;
8878
+ }), xl.set(e, n)), n;
8868
8879
  }
8869
- var Sl = {
8880
+ var Cl = {
8870
8881
  javascript: [
8871
8882
  "js",
8872
8883
  "jsx",
@@ -8885,9 +8896,9 @@ var Sl = {
8885
8896
  markdown: ["md"],
8886
8897
  html: ["htm"],
8887
8898
  rust: ["rs"]
8888
- }, Cl = Object.keys(yl).map((e) => pc.of({
8899
+ }, wl = Object.keys(bl).map((e) => pc.of({
8889
8900
  name: e,
8890
- alias: Sl[e] ?? [],
8891
- load: () => xl(e)
8901
+ alias: Cl[e] ?? [],
8902
+ load: () => Sl(e)
8892
8903
  }));
8893
- export { j as $, Q as A, Ds as B, hc as C, nc as D, $s as E, $o as F, fs as G, Xo as H, us as I, Qe as J, ws as K, es as L, Uo as M, W as N, L as O, rn as P, D as Q, Ts as R, _c as S, Jc as T, qs as U, Fo as V, U as W, T as X, ye as Y, ze as Z, Pc as _, yc as a, ht as at, vc as b, pc as c, x as ct, Gc as d, _e as dt, O as et, Mc as f, mt as ft, Fc as g, jc as h, ge as ht, _l as i, St as it, Es as j, z as k, fc as l, A as lt, kc as m, C as mt, Cl as n, Le as nt, tc as o, k as ot, Qs as p, Nt as pt, hs as q, vl as r, M as rt, $ as s, Pe as st, xl as t, w as tt, ac as u, he as ut, Nc as v, Zs as w, bc as x, gc as y, js as z };
8904
+ export { D as $, z as A, js as B, _c as C, $s as D, Jc as E, rn as F, U as G, Fo as H, $o as I, hs as J, fs as K, us as L, Es as M, Uo as N, nc as O, W as P, ze as Q, es as R, bc as S, Zs as T, Xo as U, Ds as V, qs as W, ye as X, Qe as Y, T as Z, Fc as _, _l as a, St as at, gc as b, $ as c, Pe as ct, ac as d, he as dt, j as et, Gc as f, _e as ft, jc as g, ge as gt, kc as h, C as ht, vl as i, M as it, Q as j, L as k, pc as l, x as lt, Qs as m, Nt as mt, wl as n, w as nt, yc as o, ht as ot, Mc as p, mt as pt, ws as q, yl as r, Le as rt, tc as s, k as st, Sl as t, O as tt, fc as u, A as ut, Pc as v, hc as w, vc as x, Nc as y, Ts as z };
@@ -1,16 +1,16 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-D_xx_M26.js";
2
- import { a as i, n as a, r as o } from "./custom-element-Dmqf9u_a.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
+ import { a as i, n 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 "./slot-content-2qH2vEC_.js";
5
5
  import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
6
- import { t as u } from "./shadow-resets-oeO4NF40.js";
6
+ import { t as u } from "./shadow-resets-CRdvf-Ei.js";
7
7
  import { t as d } from "./link-rel-DvrTEfVT.js";
8
8
  import { r as f, t as p } from "./link-hint-KFhgr5Ng.js";
9
- import { t as m } from "./with-translations-DlZHUMbZ.js";
9
+ import { t as m } from "./with-translations-BHDG37HJ.js";
10
10
  import { t as h } from "./link.i18n-DJPobGmu.js";
11
11
  import { t as g } from "./interest-controller-Ban-3NrX.js";
12
- import { n as _, t as v } from "./described-by-mixin-C3iCCTgg.js";
13
- import "./icon-C1HTyyIr.js";
12
+ import { n as _, t as v } from "./described-by-mixin-BYFim7aO.js";
13
+ import "./icon-qpmEfU9B.js";
14
14
  // src/components/navigation/link/link.styles.ts
15
15
  var y = i`
16
16
  :host {
@@ -1,5 +1,5 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-D_xx_M26.js";
2
- import { a as i, r as a } from "./custom-element-Dmqf9u_a.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
+ import { a 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 "./query-ChDzi9FQ.js";
5
5
  import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
@@ -1,16 +1,16 @@
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-D_xx_M26.js";
3
- import { a, n as o, r as s } from "./custom-element-Dmqf9u_a.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 "./query-ChDzi9FQ.js";
6
6
  import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
7
- import { t as d } from "./if-defined-CSVfrDre.js";
8
- import "./list-item-Ccmi9h7_.js";
7
+ import { t as d } from "./if-defined-BINBE69I.js";
8
+ import "./list-item-DHzsbK_S.js";
9
9
  import { t as f } from "./list.i18n-C40ltgdI.js";
10
- import "./inline-dialog-QHDEfqso.js";
11
- import "./icon-C1HTyyIr.js";
12
- import "./icon-button-BzCEK4gH.js";
13
- import { t as p } from "./translations-BDYe8_q9.js";
10
+ import "./inline-dialog-L-NvjANF.js";
11
+ import "./icon-qpmEfU9B.js";
12
+ import "./icon-button-DT_Bi4Ac.js";
13
+ import { t as p } from "./translations-cJjO6nQV.js";
14
14
  import { r as m } from "./element-state-B-44fVqq.js";
15
15
  // src/components/lists-and-tables/list/list.styles.ts
16
16
  var h = a`
@@ -1,14 +1,14 @@
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-D_xx_M26.js";
3
- import { a, n as o, r as s } from "./custom-element-Dmqf9u_a.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 "./query-ChDzi9FQ.js";
6
6
  import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
7
- import { n as d } from "./shadow-resets-oeO4NF40.js";
8
- import { t as f } from "./class-map-3v5_QWa6.js";
7
+ import { n as d } from "./shadow-resets-CRdvf-Ei.js";
8
+ import { t as f } from "./class-map-xzscTu4B.js";
9
9
  import { t as p } from "./link-rel-DvrTEfVT.js";
10
10
  import { n as m } from "./input-modality-XE0B7yCn.js";
11
- import { t as h } from "./with-translations-DlZHUMbZ.js";
11
+ import { t as h } from "./with-translations-BHDG37HJ.js";
12
12
  import { t as g } from "./list-item.i18n-Br6J5Ev9.js";
13
13
  import { r as _, t as v } from "./link-hint-KFhgr5Ng.js";
14
14
  import { r as y } from "./element-state-B-44fVqq.js";
@@ -1,11 +1,11 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-D_xx_M26.js";
2
- import { a as i, n as a, r as o } from "./custom-element-Dmqf9u_a.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
+ import { a as i, n 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 "./reflect-non-default-Bu3rpCvg.js";
6
6
  import { n as u } from "./input-modality-XE0B7yCn.js";
7
7
  import { t as d } from "./link-rel-DvrTEfVT.js";
8
- import { t as f } from "./with-translations-DlZHUMbZ.js";
8
+ import { t as f } from "./with-translations-BHDG37HJ.js";
9
9
  import { r as p, t as m } from "./link-hint-KFhgr5Ng.js";
10
10
  import { t as h } from "./list-item-segment.i18n-DHnrQL4V.js";
11
11
  import { t as g } from "./defer-focus-F73ud2D9.js";
@@ -1,25 +1,25 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { n as t, t as n } from "./decorate-D_xx_M26.js";
3
- import { n as r, r as i } from "./custom-element-Dmqf9u_a.js";
2
+ import { n as t, t as n } from "./decorate-CCYde2ES.js";
3
+ import { n as r, r as i } from "./custom-element-DeaCQ2NP.js";
4
4
  import { c as a, n as o, o as s, r as c, s as l, t as u } from "./floating-ui.dom-BvAAdCVe.js";
5
5
  import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
6
- import { c as f, i as p } from "./menu.template-DmK-gq-8.js";
6
+ import { c as f, i as p } from "./menu.template-DthELYky.js";
7
7
  import { t as m } from "./menu.i18n-C6uYJsG3.js";
8
- import "./icon-cell-fu4ggTII.js";
9
- import "./spacer-cell-etr1xFgM.js";
10
- import "./text-cell-BcT9b0bK.js";
11
- import "./icon-C1HTyyIr.js";
12
- import "./keyboard-shortcut-DYMD3B5a.js";
13
- import "./inline-dialog-QHDEfqso.js";
8
+ import "./icon-cell-C-qrZAlN.js";
9
+ import "./spacer-cell-kITa3CDV.js";
10
+ import "./text-cell-Be1hStxp.js";
11
+ import "./icon-qpmEfU9B.js";
12
+ import "./keyboard-shortcut-Ci95olxF.js";
13
+ import "./inline-dialog-L-NvjANF.js";
14
14
  import { r as h, t as g } from "./input-modality-XE0B7yCn.js";
15
- import { t as _ } from "./return-focus-BzZWhXhc.js";
15
+ import { t as _ } from "./return-focus-D0fF2hjd.js";
16
16
  import { n as v } from "./breakpoints-Cwor8TRP.js";
17
- import { t as y } from "./translations-BDYe8_q9.js";
17
+ import { t as y } from "./translations-cJjO6nQV.js";
18
18
  import { r as b, t as x } from "./carried-context-DlMSujiJ.js";
19
19
  import { r as S } from "./element-state-B-44fVqq.js";
20
- import { t as C } from "./menu-item-D-9U16AZ.js";
21
- import { t as w } from "./menu-group-DyFNOAV9.js";
22
- import { t as T } from "./menu-divider-Cj7PfUGr.js";
20
+ import { t as C } from "./menu-item-TqBlQfI2.js";
21
+ import { t as w } from "./menu-group-C71K1Vmv.js";
22
+ import { t as T } from "./menu-divider-Cn1hTpcM.js";
23
23
  function E(e, t) {
24
24
  let n = document;
25
25
  for (let r = 0; r < 20; r++) {
@@ -66,13 +66,13 @@ var O = class {
66
66
  t && (this._touchStart = {
67
67
  x: t.clientX,
68
68
  y: t.clientY
69
- }, this._host.removeAttribute("scroll-active"));
69
+ }, this._setScrollActive(!1));
70
70
  }, this.touchMove = (e) => {
71
71
  if (this._host.hasAttribute("scroll-active")) return;
72
72
  let t = e.touches[0];
73
- t && Math.hypot(t.clientX - this._touchStart.x, t.clientY - this._touchStart.y) > 8 && this._host.setAttribute("scroll-active", "");
73
+ t && Math.hypot(t.clientX - this._touchStart.x, t.clientY - this._touchStart.y) > 8 && this._setScrollActive(!0);
74
74
  }, this.touchEnd = () => {
75
- this._host.removeAttribute("scroll-active");
75
+ this._setScrollActive(!1);
76
76
  }, this._handleOutsideMove = (e) => {
77
77
  Math.hypot(e.clientX - this._outsideStart.x, e.clientY - this._outsideStart.y) > 8 && this.stopOutsideTap();
78
78
  }, this._handleOutsideEnd = () => {
@@ -88,6 +88,10 @@ var O = class {
88
88
  hostDisconnected() {
89
89
  this._host.removeEventListener("pointerdown", this._handlePointerdown), document.removeEventListener("pointerup", this._handleRelease, !0), this._pressedItem = null, this.stopOutsideTap();
90
90
  }
91
+ _setScrollActive(e) {
92
+ this._host.toggleAttribute("scroll-active", e);
93
+ for (let t of this._host.querySelectorAll("nldd-menu-item")) t.closest("nldd-menu") === this._host && t.toggleAttribute("scroll-active", e);
94
+ }
91
95
  trackOutsideTap(e, t) {
92
96
  this.stopOutsideTap(), this._outsideStart = {
93
97
  x: e.clientX,
@@ -1,13 +1,13 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-D_xx_M26.js";
2
- import { a as i, n as a, r as o } from "./custom-element-Dmqf9u_a.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
+ import { a as i, n 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 "./reflect-non-default-Bu3rpCvg.js";
6
- import { t as u } from "./shadow-resets-oeO4NF40.js";
7
- import { t as d } from "./with-translations-DlZHUMbZ.js";
6
+ import { t as u } from "./shadow-resets-CRdvf-Ei.js";
7
+ import { t as d } from "./with-translations-BHDG37HJ.js";
8
8
  import { t as f } from "./menu-bar.i18n-BoMu4Eoz.js";
9
- import "./menu-bar-item-By1lj2Ra.js";
10
- import "./menu-B03m20cI.js";
9
+ import "./menu-bar-item-CSqXWNKE.js";
10
+ import "./menu-NGpB1SKq.js";
11
11
  import { t as p } from "./carried-context-DlMSujiJ.js";
12
12
  import { r as m } from "./element-state-B-44fVqq.js";
13
13
  import { t as h } from "./list-items-Du0RCWsY.js";
@@ -1,12 +1,12 @@
1
- import { n as e, o as t, r as n, t as r } from "./decorate-D_xx_M26.js";
2
- import { a as i, n as a, r as o } from "./custom-element-Dmqf9u_a.js";
1
+ import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
2
+ import { a as i, n 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 "./reflect-non-default-Bu3rpCvg.js";
5
- import { t as l } from "./shadow-resets-oeO4NF40.js";
5
+ import { t as l } from "./shadow-resets-CRdvf-Ei.js";
6
6
  import { t as u } from "./sanitize-url-CBuGmY0W.js";
7
- import "./tooltip-c-bLjIjT.js";
8
- import "./icon-C1HTyyIr.js";
9
- import "./menu-B03m20cI.js";
7
+ import "./tooltip-BvRNYRo3.js";
8
+ import "./icon-qpmEfU9B.js";
9
+ import "./menu-NGpB1SKq.js";
10
10
  import { t as d } from "./defer-focus-F73ud2D9.js";
11
11
  // src/components/navigation/menu-bar-item/menu-bar-item.styles.ts
12
12
  var f = i`
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-CGnMp29N.js";
2
- import { n as t, t as n } from "./decorate-D_xx_M26.js";
3
- import { n as r } from "./custom-element-Dmqf9u_a.js";
4
- import { a as i, t as a } from "./menu.template-DmK-gq-8.js";
2
+ import { n as t, t as n } from "./decorate-CCYde2ES.js";
3
+ import { n as r } from "./custom-element-DeaCQ2NP.js";
4
+ import { a as i, t as a } from "./menu.template-DthELYky.js";
5
5
  // src/components/actions/menu/menu-divider.ts
6
6
  var o = /* @__PURE__ */ e({ NLDDMenuDivider: () => c }), s, c = class extends t {
7
7
  constructor(...e) {