@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
@@ -2639,7 +2639,7 @@
2639
2639
  },
2640
2640
  {
2641
2641
  "kind": "class",
2642
- "description": "The pointer gestures of a menu, each with its own coordinates and listeners:\n\n1. **Press, drag and release.** A native `<select>` lets you press on one\n option, drag to another and release to pick that one. Click events don't\n fire across two elements, so the release is caught on document and, when\n it lands on another enabled item, that item is selected. The click on the\n pressed item still owns a press without a drag.\n2. **No press flash while scrolling.** On touch, pressing an item sets\n :active and the sticky :hover lands on it, so the press highlight shows.\n When the gesture turns into a scroll of a cramped menu, :active lingers\n until the browser recognizes the pan. Past the threshold the host gets\n `scroll-active`, and the styles drop the press highlight while it is set.\n A tap never moves that far, so it keeps its brief feedback.\n3. **A tap beside the menu.** An outside touch is also how a page scroll\n begins, so the menu only hears of it once the finger lifts without\n having moved past the threshold.",
2642
+ "description": "The pointer gestures of a menu, each with its own coordinates and listeners:\n\n1. **Press, drag and release.** A native `<select>` lets you press on one\n option, drag to another and release to pick that one. Click events don't\n fire across two elements, so the release is caught on document and, when\n it lands on another enabled item, that item is selected. The click on the\n pressed item still owns a press without a drag.\n2. **No press flash while scrolling.** On touch, pressing an item sets\n :active and the sticky :hover lands on it, so the press highlight shows.\n When the gesture turns into a scroll of a cramped menu, :active lingers\n until the browser recognizes the pan. Past the threshold the host and\n its items get `scroll-active`, and each item drops its press highlight\n while it is set.\n A tap never moves that far, so it keeps its brief feedback.\n3. **A tap beside the menu.** An outside touch is also how a page scroll\n begins, so the menu only hears of it once the finger lifts without\n having moved past the threshold.",
2643
2643
  "name": "MenuPointerController",
2644
2644
  "members": [
2645
2645
  {
@@ -2706,6 +2706,25 @@
2706
2706
  "name": "_handleRelease",
2707
2707
  "privacy": "private"
2708
2708
  },
2709
+ {
2710
+ "kind": "method",
2711
+ "name": "_setScrollActive",
2712
+ "privacy": "private",
2713
+ "return": {
2714
+ "type": {
2715
+ "text": "void"
2716
+ }
2717
+ },
2718
+ "parameters": [
2719
+ {
2720
+ "name": "on",
2721
+ "type": {
2722
+ "text": "boolean"
2723
+ }
2724
+ }
2725
+ ],
2726
+ "description": "On the menu and on its own items, which drop their press colors: the\ncolors of an item are its own, so the menu cannot reach them."
2727
+ },
2709
2728
  {
2710
2729
  "kind": "method",
2711
2730
  "name": "trackOutsideTap",
@@ -6370,7 +6389,7 @@
6370
6389
  "type": {
6371
6390
  "text": "string"
6372
6391
  },
6373
- "description": "The name of the icon to display. The same attribute every other component that renders an icon takes.",
6392
+ "description": "The name of the icon to display. The same attribute every other component that renders an icon takes. Prefer an alias that names what the icon means here (`microphone-off`, `info`, `new-account`) over the name of the drawing; both show the same icon.",
6374
6393
  "name": "icon",
6375
6394
  "default": "'circle-dashed'",
6376
6395
  "fieldName": "icon"
@@ -7133,7 +7152,7 @@
7133
7152
  "declarations": [
7134
7153
  {
7135
7154
  "kind": "class",
7136
- "description": "Shows a key combination (such as Cmd+K or Ctrl+Shift+P) in one combined container with a semantic <kbd> element per key. On touch-only devices (no hover-capable input) the shortcut is hidden by default, because it cannot be invoked there. Use the `always-visible` attribute when the shortcut is purely informative and should stay visible. For cross-platform shortcuts you can set `mac-keys`, `windows-keys` and `linux-keys`. The component picks the right one from the detected OS, with `keys` as the fallback for unknown platforms.",
7155
+ "description": "Shows a key combination (such as Cmd+K or Ctrl+Shift+P) in one combined container with a semantic <kbd> element per key. On touch-only devices (no hover-capable input) the shortcut is hidden by default, because it cannot be invoked there. Use the `always-visible` attribute when the shortcut is purely informative and should stay visible. For cross-platform shortcuts you can set `mac-keys`, `windows-keys` and `linux-keys`. The component picks the right one from the detected OS, with `keys` as the fallback for unknown platforms. On macOS the modifiers show as their symbols, in the order of a macOS menu: `Cmd+Shift+Z` becomes ⇧⌘Z. Write them as Cmd (or Command, Meta), Option (or Alt, Opt), Shift and Ctrl (or Control), or as the symbols. A screen reader reads the name (Command), not the symbol.",
7137
7156
  "name": "NLDDKeyboardShortcut",
7138
7157
  "members": [
7139
7158
  {
@@ -7192,8 +7211,8 @@
7192
7211
  "type": {
7193
7212
  "text": "Appearance"
7194
7213
  },
7195
- "default": "'box'",
7196
- "description": "'box' (default) renders each key as a keycap with a fill and highlight\nborder. 'simple' renders the keys as plain text with separators — lighter,\nfor inline use such as inside a menu item.",
7214
+ "default": "'keycap'",
7215
+ "description": "'keycap' (default) renders each key as a keycap with a fill and highlight\nborder. 'text' renders the keys as plain text: lighter, for inline use\nsuch as inside a menu item.",
7197
7216
  "attribute": "appearance",
7198
7217
  "reflects": true
7199
7218
  },
@@ -7266,18 +7285,18 @@
7266
7285
  "expandedType": {
7267
7286
  "text": "'inherit' | 'md' | 'sm'"
7268
7287
  },
7269
- "description": "Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the font-size from the container; in the box variant the keycaps then scale along in em."
7288
+ "description": "Size: 'sm' | 'md' | 'inherit' (default: 'md'). 'inherit' takes the font-size from the container; with keycaps they then scale along in em."
7270
7289
  },
7271
7290
  {
7272
7291
  "name": "appearance",
7273
7292
  "type": {
7274
7293
  "text": "Appearance"
7275
7294
  },
7276
- "default": "'box'",
7277
- "description": "'box' (default) shows each key as a keycap with a fill and a highlight edge. 'simple' shows the keys as plain text with separators: lighter, for inline use such as in a menu item.",
7295
+ "default": "'keycap'",
7296
+ "description": "'keycap' (default) shows each key as a keycap with a fill and a highlight edge, side by side without a '+'. 'text' shows the keys as plain text: lighter, for inline use such as in a menu item. As text the keys are joined by '+' (Ctrl+K), except on macOS.",
7278
7297
  "fieldName": "appearance",
7279
7298
  "expandedType": {
7280
- "text": "'box' | 'simple'"
7299
+ "text": "'keycap' | 'text'"
7281
7300
  }
7282
7301
  },
7283
7302
  {
@@ -8879,7 +8898,7 @@
8879
8898
  "declarations": [
8880
8899
  {
8881
8900
  "kind": "class",
8882
- "description": "A field around one input: its label, supporting label, optional badge, validation and help text. It finds the input among its children, hands it the label as its accessible name and gives it an id, so you write no `for` or `id` yourself. Mark the optional fields with `optional`, not the required ones; the design guidelines say why. Put the requirements on a value in an nldd-validation-list inside the same field. What only your server knows, such as a password found in a breach, the app names in `unmet` on the input itself: see nldd-validation-list.",
8901
+ "description": "A field around one input: its label, supporting label, optional badge, validation and help text. It finds the input among its children, hands it the label as its accessible name and gives it an id, so you write no `for` or `id` yourself. The input is the first one it finds, leaving out what sits in an nldd-toolbar inside the field: a toolbar works on the field, such as the formatting bar above an nldd-text-editor, and is never the field itself. Mark the optional fields with `optional`, not the required ones; the design guidelines say why. Put the requirements on a value in an nldd-validation-list inside the same field. What only your server knows, such as a password found in a breach, the app names in `unmet` on the input itself: see nldd-validation-list.",
8883
8902
  "name": "NLDDFormField",
8884
8903
  "members": [
8885
8904
  {
@@ -12270,6 +12289,20 @@
12270
12289
  "module": "src/utilities/codemirror/codemirror-input.ts"
12271
12290
  }
12272
12291
  },
12292
+ {
12293
+ "kind": "field",
12294
+ "name": "isTextEntry",
12295
+ "type": {
12296
+ "text": "boolean"
12297
+ },
12298
+ "static": true,
12299
+ "default": "true",
12300
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput.",
12301
+ "inheritedFrom": {
12302
+ "name": "NLDDCodeMirrorInput",
12303
+ "module": "src/utilities/codemirror/codemirror-input.ts"
12304
+ }
12305
+ },
12273
12306
  {
12274
12307
  "kind": "field",
12275
12308
  "name": "value",
@@ -12704,6 +12737,16 @@
12704
12737
  "default": "true",
12705
12738
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
12706
12739
  },
12740
+ {
12741
+ "kind": "field",
12742
+ "name": "isTextEntry",
12743
+ "type": {
12744
+ "text": "boolean"
12745
+ },
12746
+ "static": true,
12747
+ "default": "true",
12748
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
12749
+ },
12707
12750
  {
12708
12751
  "kind": "field",
12709
12752
  "name": "blocksImplicitSubmission",
@@ -13766,6 +13809,16 @@
13766
13809
  "default": "true",
13767
13810
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
13768
13811
  },
13812
+ {
13813
+ "kind": "field",
13814
+ "name": "isTextEntry",
13815
+ "type": {
13816
+ "text": "boolean"
13817
+ },
13818
+ "static": true,
13819
+ "default": "true",
13820
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
13821
+ },
13769
13822
  {
13770
13823
  "kind": "field",
13771
13824
  "name": "blocksImplicitSubmission",
@@ -16313,6 +16366,16 @@
16313
16366
  "default": "true",
16314
16367
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
16315
16368
  },
16369
+ {
16370
+ "kind": "field",
16371
+ "name": "isTextEntry",
16372
+ "type": {
16373
+ "text": "boolean"
16374
+ },
16375
+ "static": true,
16376
+ "default": "true",
16377
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
16378
+ },
16316
16379
  {
16317
16380
  "kind": "field",
16318
16381
  "name": "size",
@@ -17012,7 +17075,13 @@
17012
17075
  "package": "lit"
17013
17076
  },
17014
17077
  "tagName": "nldd-multi-line-text-field",
17015
- "customElement": true
17078
+ "customElement": true,
17079
+ "slots": [
17080
+ {
17081
+ "name": "button",
17082
+ "description": "One `nldd-button`, `nldd-icon-button` or `nldd-toggle-button` in a row under the text, inside the border: the one action of a form that is only this field (post a reply, add a note), or an aid for filling in the field, such as an `nldd-toggle-button` that starts and stops dictation. The field passes on its corner, so the button's corners follow the field's. The field sets its `size`, `sm` in a field of `md` and `xs` in one of `sm`; a `size` of your own is overwritten. A disabled field disables the button too. Give it `type=\"submit\"` in a form, and its own `text`. A form with more fields keeps its buttons in `nldd-form-actions`."
17083
+ }
17084
+ ]
17016
17085
  }
17017
17086
  ],
17018
17087
  "exports": [
@@ -17069,6 +17138,16 @@
17069
17138
  "default": "true",
17070
17139
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
17071
17140
  },
17141
+ {
17142
+ "kind": "field",
17143
+ "name": "isTextEntry",
17144
+ "type": {
17145
+ "text": "boolean"
17146
+ },
17147
+ "static": true,
17148
+ "default": "true",
17149
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
17150
+ },
17072
17151
  {
17073
17152
  "kind": "field",
17074
17153
  "name": "blocksImplicitSubmission",
@@ -17711,6 +17790,16 @@
17711
17790
  "default": "true",
17712
17791
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
17713
17792
  },
17793
+ {
17794
+ "kind": "field",
17795
+ "name": "isTextEntry",
17796
+ "type": {
17797
+ "text": "boolean"
17798
+ },
17799
+ "static": true,
17800
+ "default": "true",
17801
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
17802
+ },
17714
17803
  {
17715
17804
  "kind": "field",
17716
17805
  "name": "blocksImplicitSubmission",
@@ -18447,6 +18536,16 @@
18447
18536
  "default": "true",
18448
18537
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
18449
18538
  },
18539
+ {
18540
+ "kind": "field",
18541
+ "name": "isTextEntry",
18542
+ "type": {
18543
+ "text": "boolean"
18544
+ },
18545
+ "static": true,
18546
+ "default": "true",
18547
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
18548
+ },
18450
18549
  {
18451
18550
  "kind": "field",
18452
18551
  "name": "blocksImplicitSubmission",
@@ -20461,6 +20560,16 @@
20461
20560
  "default": "true",
20462
20561
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
20463
20562
  },
20563
+ {
20564
+ "kind": "field",
20565
+ "name": "isTextEntry",
20566
+ "type": {
20567
+ "text": "boolean"
20568
+ },
20569
+ "static": true,
20570
+ "default": "true",
20571
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
20572
+ },
20464
20573
  {
20465
20574
  "kind": "field",
20466
20575
  "name": "blocksImplicitSubmission",
@@ -25691,9 +25800,13 @@
25691
25800
  "type": {
25692
25801
  "text": "string"
25693
25802
  }
25803
+ },
25804
+ {
25805
+ "name": "plain",
25806
+ "default": "false"
25694
25807
  }
25695
25808
  ],
25696
- "description": "Put `raw` at the selection. When it is the text of the last cut, its\nannotations come along, once: a second paste would duplicate their ids."
25809
+ "description": "Put `raw` at the selection. When it is the text of the last cut, its\nannotations come along, once: a second paste would duplicate their ids.\nOtherwise, unless `plain`, the pasted text is then made into the markdown\nit looks like (see planPaste), as a step of its own, so Cmd/Ctrl+Z brings\nback the text as it was pasted."
25697
25810
  }
25698
25811
  ]
25699
25812
  }
@@ -25992,7 +26105,7 @@
25992
26105
  }
25993
26106
  }
25994
26107
  ],
25995
- "description": "Backspace at a list item's content start (right after the marker) removes the\nmarker and its trailing space — the item's own indent is kept — so a top-level\nitem cleanly returns to column 0 for every number, not just the first. CodeMirror's\ndefault deleteMarkupBackward instead aligns the content under the previous item,\nleaving stray whitespace on items 2, 3, … Returns false (so other handlers run)\nunless the caret sits exactly at a list marker's end outside a code block."
26108
+ "description": "Backspace at a list item's content start (right after the marker) steps a\nnested item one level out, next to its parent, marker and all: the way back\nfrom the space that nested it. On the first level it removes the marker and\nits trailing space, so the line leaves the list, back at column 0 for every\nnumber, not just the first. CodeMirror's default deleteMarkupBackward instead\naligns the content under the previous item, leaving stray whitespace on items\n2, 3, … Returns false (so other handlers run) unless the caret sits exactly at\na list marker's end outside a code block."
25996
26109
  },
25997
26110
  {
25998
26111
  "kind": "function",
@@ -26691,6 +26804,91 @@
26691
26804
  }
26692
26805
  ]
26693
26806
  },
26807
+ {
26808
+ "kind": "javascript-module",
26809
+ "path": "src/components/inputs/text-editor/text-editor.list-input.ts",
26810
+ "declarations": [
26811
+ {
26812
+ "kind": "variable",
26813
+ "name": "listKeymap",
26814
+ "type": {
26815
+ "text": "Extension"
26816
+ },
26817
+ "description": "Enter and Backspace in markdown, in place of the language's own keymap."
26818
+ },
26819
+ {
26820
+ "kind": "variable",
26821
+ "name": "ITEM_RE",
26822
+ "default": "/^( *)([-*+]|\\d{1,9}[.)])( +|$)/"
26823
+ },
26824
+ {
26825
+ "kind": "function",
26826
+ "name": "itemsAbove",
26827
+ "return": {
26828
+ "type": {
26829
+ "text": "Item[]"
26830
+ }
26831
+ },
26832
+ "parameters": [
26833
+ {
26834
+ "name": "state",
26835
+ "type": {
26836
+ "text": "EditorState"
26837
+ }
26838
+ },
26839
+ {
26840
+ "name": "lineNumber",
26841
+ "type": {
26842
+ "text": "number"
26843
+ }
26844
+ }
26845
+ ],
26846
+ "description": "The list items above `lineNumber` that a new item can sit under or next to,\nnearest first, each less indented than the one before: the item above, its\nparent, and so on. Stops where the list ends (two blank lines, or text\nwithout indent after a blank line)."
26847
+ },
26848
+ {
26849
+ "kind": "variable",
26850
+ "name": "listMarkerInput",
26851
+ "type": {
26852
+ "text": "Extension"
26853
+ },
26854
+ "description": "Puts the typed space in first, as its own undo step, then the rewrite: Cmd+Z\nbrings back what was typed, as it does after an autocorrection."
26855
+ }
26856
+ ],
26857
+ "exports": [
26858
+ {
26859
+ "kind": "js",
26860
+ "name": "listKeymap",
26861
+ "declaration": {
26862
+ "name": "listKeymap",
26863
+ "module": "src/components/inputs/text-editor/text-editor.list-input.ts"
26864
+ }
26865
+ },
26866
+ {
26867
+ "kind": "js",
26868
+ "name": "ITEM_RE",
26869
+ "declaration": {
26870
+ "name": "ITEM_RE",
26871
+ "module": "src/components/inputs/text-editor/text-editor.list-input.ts"
26872
+ }
26873
+ },
26874
+ {
26875
+ "kind": "js",
26876
+ "name": "itemsAbove",
26877
+ "declaration": {
26878
+ "name": "itemsAbove",
26879
+ "module": "src/components/inputs/text-editor/text-editor.list-input.ts"
26880
+ }
26881
+ },
26882
+ {
26883
+ "kind": "js",
26884
+ "name": "listMarkerInput",
26885
+ "declaration": {
26886
+ "name": "listMarkerInput",
26887
+ "module": "src/components/inputs/text-editor/text-editor.list-input.ts"
26888
+ }
26889
+ }
26890
+ ]
26891
+ },
26694
26892
  {
26695
26893
  "kind": "javascript-module",
26696
26894
  "path": "src/components/inputs/text-editor/text-editor.markdown.ts",
@@ -26713,13 +26911,21 @@
26713
26911
  ],
26714
26912
  "description": "The length of the list and quote markers a line starts with, which the\nhanging indent of the line counts in mono advances."
26715
26913
  },
26914
+ {
26915
+ "kind": "variable",
26916
+ "name": "from",
26917
+ "type": {
26918
+ "text": "number"
26919
+ },
26920
+ "default": "0"
26921
+ },
26716
26922
  {
26717
26923
  "kind": "variable",
26718
26924
  "name": "markdownEditing",
26719
26925
  "type": {
26720
26926
  "text": "Extension"
26721
26927
  },
26722
- "default": "[ // A code block that names its language is highlighted in it, as in the code // viewer; the grammar loads when the first such block appears. // A line indented four spaces stays text: in a field for prose that is pasted // or indented text, not code. Code takes a fence, which nobody types by accident. markdown({ extensions: [GFM, { remove: ['IndentedCode'] }], codeLanguages: nestedLanguages }), markDecorationPlugin, heldEmphasis, hangingIndentField, mentionTokens, ]",
26928
+ "default": "[ // A code block that names its language is highlighted in it, as in the code // viewer; the grammar loads when the first such block appears. // A line indented four spaces stays text: in a field for prose that is pasted // or indented text, not code. Code takes a fence, which nobody types by accident. // The language's own Enter and Backspace come from listKeymap, with Enter // ending a list on any empty item. markdown({ extensions: [GFM, { remove: ['IndentedCode'] }, indentedText], codeLanguages: nestedLanguages, addKeymap: false }), listKeymap, listMarkerInput, markDecorationPlugin, heldEmphasis, hangingIndentField, mentionTokens, ]",
26723
26929
  "description": "Markdown language (with GFM) plus the hybrid inline-styling decorations."
26724
26930
  }
26725
26931
  ],
@@ -27269,6 +27475,46 @@
27269
27475
  }
27270
27476
  ]
27271
27477
  },
27478
+ {
27479
+ "kind": "javascript-module",
27480
+ "path": "src/components/inputs/text-editor/text-editor.paste.ts",
27481
+ "declarations": [
27482
+ {
27483
+ "kind": "function",
27484
+ "name": "planPaste",
27485
+ "return": {
27486
+ "type": {
27487
+ "text": "PastePlan | null"
27488
+ }
27489
+ },
27490
+ "parameters": [
27491
+ {
27492
+ "name": "state",
27493
+ "type": {
27494
+ "text": "EditorState"
27495
+ }
27496
+ },
27497
+ {
27498
+ "name": "text",
27499
+ "type": {
27500
+ "text": "string"
27501
+ }
27502
+ }
27503
+ ],
27504
+ "description": "What a paste of `text` at the selection should become, or null to paste it\nas it is."
27505
+ }
27506
+ ],
27507
+ "exports": [
27508
+ {
27509
+ "kind": "js",
27510
+ "name": "planPaste",
27511
+ "declaration": {
27512
+ "name": "planPaste",
27513
+ "module": "src/components/inputs/text-editor/text-editor.paste.ts"
27514
+ }
27515
+ }
27516
+ ]
27517
+ },
27272
27518
  {
27273
27519
  "kind": "javascript-module",
27274
27520
  "path": "src/components/inputs/text-editor/text-editor.selection.ts",
@@ -27791,13 +28037,250 @@
27791
28037
  }
27792
28038
  ]
27793
28039
  },
28040
+ {
28041
+ "kind": "javascript-module",
28042
+ "path": "src/components/inputs/text-editor/text-editor.toolbar.ts",
28043
+ "declarations": [
28044
+ {
28045
+ "kind": "function",
28046
+ "name": "parseCommand",
28047
+ "return": {
28048
+ "type": {
28049
+ "text": "[string, unknown]"
28050
+ }
28051
+ },
28052
+ "parameters": [
28053
+ {
28054
+ "name": "value",
28055
+ "type": {
28056
+ "text": "string"
28057
+ }
28058
+ }
28059
+ ],
28060
+ "description": "`setHeading:2` → `['setHeading', 2]`; a number stays a number."
28061
+ },
28062
+ {
28063
+ "kind": "class",
28064
+ "description": "",
28065
+ "name": "ToolbarBinding",
28066
+ "members": [
28067
+ {
28068
+ "kind": "field",
28069
+ "name": "_listBeforePress",
28070
+ "type": {
28071
+ "text": "ListValue | null"
28072
+ },
28073
+ "privacy": "private",
28074
+ "default": "null",
28075
+ "description": "The list before the press: a second click on the list that is on turns\nit off. A radio does not change on that click, and a click on another item\nhas already switched the list by the time the click arrives."
28076
+ },
28077
+ {
28078
+ "kind": "method",
28079
+ "name": "connect",
28080
+ "return": {
28081
+ "type": {
28082
+ "text": "void"
28083
+ }
28084
+ }
28085
+ },
28086
+ {
28087
+ "kind": "method",
28088
+ "name": "disconnect",
28089
+ "return": {
28090
+ "type": {
28091
+ "text": "void"
28092
+ }
28093
+ }
28094
+ },
28095
+ {
28096
+ "kind": "method",
28097
+ "name": "controls",
28098
+ "return": {
28099
+ "type": {
28100
+ "text": "Element[]"
28101
+ }
28102
+ },
28103
+ "description": "Every control of this editor, in its slot and in the containers naming it."
28104
+ },
28105
+ {
28106
+ "kind": "method",
28107
+ "name": "_run",
28108
+ "privacy": "private",
28109
+ "return": {
28110
+ "type": {
28111
+ "text": "void"
28112
+ }
28113
+ },
28114
+ "parameters": [
28115
+ {
28116
+ "name": "value",
28117
+ "type": {
28118
+ "text": "string"
28119
+ }
28120
+ }
28121
+ ]
28122
+ },
28123
+ {
28124
+ "kind": "method",
28125
+ "name": "handle",
28126
+ "return": {
28127
+ "type": {
28128
+ "text": "void"
28129
+ }
28130
+ },
28131
+ "parameters": [
28132
+ {
28133
+ "name": "type",
28134
+ "type": {
28135
+ "text": "string"
28136
+ }
28137
+ },
28138
+ {
28139
+ "name": "event",
28140
+ "type": {
28141
+ "text": "Event"
28142
+ }
28143
+ },
28144
+ {
28145
+ "name": "control",
28146
+ "type": {
28147
+ "text": "Element"
28148
+ }
28149
+ }
28150
+ ],
28151
+ "description": "Called by the document listeners for a control this editor owns."
28152
+ },
28153
+ {
28154
+ "kind": "method",
28155
+ "name": "reflect",
28156
+ "return": {
28157
+ "type": {
28158
+ "text": "void"
28159
+ }
28160
+ },
28161
+ "parameters": [
28162
+ {
28163
+ "name": "state",
28164
+ "default": "this.target.getState()",
28165
+ "type": {
28166
+ "text": "TextEditorState"
28167
+ }
28168
+ }
28169
+ ],
28170
+ "description": "Sets `selected`, the value of a segmented control and `disabled` on every\ncontrol from the editor's state."
28171
+ }
28172
+ ]
28173
+ },
28174
+ {
28175
+ "kind": "class",
28176
+ "description": "Marks the toolbar slot `is-stuck` while it sticks to the top of its scroll\ncontainer, so it can take room from that edge without moving the text.\n\nMeasured, not observed: a slot that sticks has left its place at the edge of\nthe frame, whichever element scrolls. The check runs on any scroll (a capture\nlistener sees every scroll container) and when the editor changes size, once\nper frame, and only in an embedded editor with a filled slot.",
28177
+ "name": "StuckToolbar",
28178
+ "members": [
28179
+ {
28180
+ "kind": "field",
28181
+ "name": "_frame",
28182
+ "type": {
28183
+ "text": "number"
28184
+ },
28185
+ "privacy": "private",
28186
+ "default": "0"
28187
+ },
28188
+ {
28189
+ "kind": "field",
28190
+ "name": "_resize",
28191
+ "type": {
28192
+ "text": "ResizeObserver | undefined"
28193
+ },
28194
+ "privacy": "private"
28195
+ },
28196
+ {
28197
+ "kind": "field",
28198
+ "name": "_listening",
28199
+ "type": {
28200
+ "text": "boolean"
28201
+ },
28202
+ "privacy": "private",
28203
+ "default": "false"
28204
+ },
28205
+ {
28206
+ "kind": "field",
28207
+ "name": "_gap",
28208
+ "type": {
28209
+ "text": "number"
28210
+ },
28211
+ "privacy": "private",
28212
+ "default": "0"
28213
+ },
28214
+ {
28215
+ "kind": "method",
28216
+ "name": "_slot",
28217
+ "privacy": "private",
28218
+ "return": {
28219
+ "type": {
28220
+ "text": "HTMLSlotElement | null"
28221
+ }
28222
+ }
28223
+ },
28224
+ {
28225
+ "kind": "method",
28226
+ "name": "stop",
28227
+ "return": {
28228
+ "type": {
28229
+ "text": "void"
28230
+ }
28231
+ }
28232
+ },
28233
+ {
28234
+ "kind": "field",
28235
+ "name": "_schedule",
28236
+ "privacy": "private"
28237
+ },
28238
+ {
28239
+ "kind": "method",
28240
+ "name": "check",
28241
+ "return": {
28242
+ "type": {
28243
+ "text": "void"
28244
+ }
28245
+ }
28246
+ }
28247
+ ]
28248
+ }
28249
+ ],
28250
+ "exports": [
28251
+ {
28252
+ "kind": "js",
28253
+ "name": "parseCommand",
28254
+ "declaration": {
28255
+ "name": "parseCommand",
28256
+ "module": "src/components/inputs/text-editor/text-editor.toolbar.ts"
28257
+ }
28258
+ },
28259
+ {
28260
+ "kind": "js",
28261
+ "name": "ToolbarBinding",
28262
+ "declaration": {
28263
+ "name": "ToolbarBinding",
28264
+ "module": "src/components/inputs/text-editor/text-editor.toolbar.ts"
28265
+ }
28266
+ },
28267
+ {
28268
+ "kind": "js",
28269
+ "name": "StuckToolbar",
28270
+ "declaration": {
28271
+ "name": "StuckToolbar",
28272
+ "module": "src/components/inputs/text-editor/text-editor.toolbar.ts"
28273
+ }
28274
+ }
28275
+ ]
28276
+ },
27794
28277
  {
27795
28278
  "kind": "javascript-module",
27796
28279
  "path": "src/components/inputs/text-editor/text-editor.ts",
27797
28280
  "declarations": [
27798
28281
  {
27799
28282
  "kind": "class",
27800
- "description": "A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Framed like the other input fields by default. `embedded` drops the frame, fill, padding and focus ring, for an editor inside a composition (e.g. a message field) that owns its chrome and focus; the caret is then a prominent accent. Headless: there is no built-in toolbar. A consumer drives formatting via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style \"set\" semantics), reads the active formats with getState(), listens to the state-change event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. With `syntax=\"hidden\"` a task item (`- [ ]`, `- [x]`) reads as a box in the place of its bullet, and like every other mark shows its markdown on the line the caret is on. A click on the box checks or unchecks it without moving the caret. Cmd/Ctrl+Enter does the same for the tasks on the lines of the selection, in both syntax modes. The box is no tab stop: Tab leaves the editor. A screen reader reads \"Taak, open\" or \"Taak, afgerond\" in its place. A code block that names its language after the backticks is highlighted in it, as in nldd-code-viewer; the grammar loads with the first such block. Its opening line is the head of the block, with a \"Kopieer\" button at the right edge that copies the code without its fences and says \"Gekopieerd\" or \"Kopiëren mislukt\", as the code viewer does. In an editable editor the button is no tab stop (select and copy is the keyboard route); read-only or disabled it can be focused. Without a secure context there is no button. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a light tint and a count badge without touching the underlying text. To show the value, render the markdown into nldd-rich-text, which uses the same type, bold and code as the editor. A mention is stored as `[@Name](user:id)`: turn it into `<a href=\"…\" data-mention>Name</a>` (or a `span` when there is no page for the person), without the `@`. A link reads as the same token there; a span keeps the color and the icon without the tint. A line indented four spaces stays text, unlike CommonMark, where it starts a code block: in a field for prose that is pasted or indented text, and code takes a fence. Turn indented code off in the renderer too, so the page shows what the editor showed: `md.disable('code')` in markdown-it and markdown-it-py, for example.",
28283
+ "description": "A hybrid markdown editor built on CodeMirror 6 (via NLDDCodeMirrorElement): the document stays plain markdown text, but formatting is shown inline (bold is bold, headings are larger, links are colored) while the syntax markers stay visible, only dimmed — the iA Writer / Kirby approach. No WYSIWYG tree, so the data stays portable. Framed like the other input fields by default. `embedded` drops the frame, fill, padding and focus ring, for an editor inside a composition (e.g. a message field) that owns its chrome and focus; the caret is then a prominent accent. A toolbar is markup: put an nldd-toolbar in the `toolbar` slot, or anywhere on the page inside an element with `text-editor-for` set to the editor's id, and give each control a `text-editor-command`. The editor runs the command, gives focus back to the text and keeps the control's state: `selected` on a toggle, a menu item or a segmented-control item, the list type on a segmented control, and `disabled` where the command cannot run. Controls without the attribute, such as a send button, are left alone. There is no built-in toolbar: which controls, in what order, is the app's. A consumer can also drive formatting itself via the command methods (toggleBold/toggleItalic/toggleInlineCode/toggleStrikethrough/ toggleHeading/toggleBulletList/toggleTaskList/toggleQuote/toggleLink/runCommand to toggle, and setHeading/setList for picker-style \"set\" semantics), reads the active formats with getState(), listens to the state-change event to render toggle states, and forwards padding clicks with focusFromPoint(). Cmd/Ctrl+B/I/E/K are bound out of the box. Enter in a list or a quote puts the next marker down, and Enter on an empty item ends the list, or steps one level out of a nested one. A marker typed where the editor already put one does not stack: `- ` on a fresh `- `, or right after the bullet of an item with text, stays one bullet, `2. ` on `2. ` stays `2. `, `> ` on `> ` one quote. `1. ` on a later number starts a numbered list under the item above, and a marker of the other kind takes the place of the editor's: `1. ` on `- ` makes a numbered list at that level. Spaces typed before a marker nest it one level under the item above, at the indent markdown needs (2 spaces under `- `, 3 under `1. `); Cmd/Ctrl+] does the same. Backspace right after a marker is the way back: a nested item steps one level out, an item on the first level leaves the list. Cmd/Ctrl+Z brings back what was typed. Pasted text and a value the app sets stay as they are. With the marks hidden (the default) a task item (`- [ ]`, `- [x]`) reads as a box in the place of its bullet, and like every other mark shows its markdown on the line the caret is on. A click on the box checks or unchecks it without moving the caret. Cmd/Ctrl+Enter does the same for the tasks on the lines of the selection, in both syntax modes. The box is no tab stop: Tab leaves the editor. A screen reader reads \"Taak, open\" or \"Taak, afgerond\" in its place. A code block that names its language after the backticks is highlighted in it, as in nldd-code-viewer; the grammar loads with the first such block. Its opening line is the head of the block, with a \"Kopieer\" button at the right edge that copies the code without its fences and says \"Gekopieerd\" or \"Kopiëren mislukt\", as the code viewer does: the outcome stays while the pointer or the focus is on the button, and goes when you leave it, press Escape or go on in the editor. In an editable editor the button is no tab stop (select and copy is the keyboard route); read-only or disabled it can be focused. Without a secure context there is no button. Commands keep focus on the editor. An inline toggle wraps the selected text (whitespace at its edges stays outside the markers), unwraps a run the caret is in, and with the caret at the very end of a run steps out of it. Bold that a typed space has broken (`**woord **`) keeps its styling while the caret is inside; the space moves outside the markers when the caret leaves. insertAtCursor(text) puts text at the caret and replaceRange(from, to, text) writes at the same clean offsets getSelection() reads. applyChanges(changes) takes text from outside, such as what a collaborator types, without moving the caret or entering the user's undo history. An @-mention typeahead (mentionSource) collapses to an atomic token, further typeahead lists on their own trigger (typeaheads) write what you tell them to, and a W3C-style annotation overlay (annotations) marks ranges with a light tint and a count badge without touching the underlying text. To show the value, render the markdown into nldd-rich-text, which uses the same type, bold and code as the editor. A mention is stored as `[@Name](user:id)`: turn it into `<a href=\"…\" data-mention>Name</a>` (or a `span` when there is no page for the person), without the `@`. A link reads as the same token there; a span keeps the color and the icon without the tint. A line indented four spaces stays text, unlike CommonMark, where it starts a code block: in a field for prose that is pasted or indented text, and code takes a fence. That holds whatever the line starts with, so ` - punt` is no list and ` # kop` no heading; in a list the four spaces count from the text of the item. Turn indented code off in the renderer too, so the page shows what the editor showed: `md.disable('code')` in markdown-it and markdown-it-py, for example. Text pasted at the start of a line becomes the markdown it looks like: the indent all its lines share goes, a bullet from Word or Outlook (`•` and a tab) becomes `- `, and a pasted list nests the way typing does (with indent of its own one level under the item above, without it at the level of the empty item it lands on). A list of several lines pasted at the end of a line with text starts on the next line. Cmd/Ctrl+Z brings back the text as pasted, and Cmd/Ctrl+Shift+V pastes it as it is. Nothing changes in a code block.",
27801
28284
  "name": "NLDDTextEditor",
27802
28285
  "members": [
27803
28286
  {
@@ -27847,7 +28330,7 @@
27847
28330
  "type": {
27848
28331
  "text": "TextEditorSyntax"
27849
28332
  },
27850
- "default": "'visible'",
28333
+ "default": "'hidden'",
27851
28334
  "attribute": "syntax",
27852
28335
  "reflects": true
27853
28336
  },
@@ -28153,6 +28636,24 @@
28153
28636
  ],
28154
28637
  "description": "Puts `text` at the caret, in place of the selection when there is one, and\nleaves the caret after it, with focus on the editor. Plain text: markdown\nin it stays as written and is styled like anything typed. Does nothing on\na read-only editor."
28155
28638
  },
28639
+ {
28640
+ "kind": "method",
28641
+ "name": "applyChanges",
28642
+ "return": {
28643
+ "type": {
28644
+ "text": "void"
28645
+ }
28646
+ },
28647
+ "parameters": [
28648
+ {
28649
+ "name": "changes",
28650
+ "type": {
28651
+ "text": "readonly TextChange[]"
28652
+ }
28653
+ }
28654
+ ],
28655
+ "description": "Applies changes that come from outside, such as what a collaborator types.\nUnlike `replaceRange()`, the caret and the selection stay where they are\n(they move along with the text), the focus stays where it is, and the\nchanges stay out of the user's undo history. The offsets are CLEAN, all in\nthe text before any of the changes, and must not overlap. Fires no `input`,\nand works on a read-only editor too: the text is not the user's edit."
28656
+ },
28156
28657
  {
28157
28658
  "kind": "method",
28158
28659
  "name": "replaceRange",
@@ -28499,6 +29000,20 @@
28499
29000
  "module": "src/utilities/codemirror/codemirror-input.ts"
28500
29001
  }
28501
29002
  },
29003
+ {
29004
+ "kind": "field",
29005
+ "name": "isTextEntry",
29006
+ "type": {
29007
+ "text": "boolean"
29008
+ },
29009
+ "static": true,
29010
+ "default": "true",
29011
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput.",
29012
+ "inheritedFrom": {
29013
+ "name": "NLDDCodeMirrorInput",
29014
+ "module": "src/utilities/codemirror/codemirror-input.ts"
29015
+ }
29016
+ },
28502
29017
  {
28503
29018
  "kind": "field",
28504
29019
  "name": "value",
@@ -28674,7 +29189,7 @@
28674
29189
  "events": [
28675
29190
  {
28676
29191
  "name": "input",
28677
- "description": "When the content changes (detail: { value })"
29192
+ "description": "When the user changes the content (detail: { value }). Setting `value` or calling `applyChanges()` does not fire it."
28678
29193
  },
28679
29194
  {
28680
29195
  "name": "change",
@@ -28742,12 +29257,12 @@
28742
29257
  "type": {
28743
29258
  "text": "TextEditorSyntax"
28744
29259
  },
28745
- "default": "'visible'",
29260
+ "default": "'hidden'",
28746
29261
  "fieldName": "syntax",
28747
29262
  "expandedType": {
28748
29263
  "text": "'hidden' | 'visible'"
28749
29264
  },
28750
- "description": "'visible' (default): every formatting mark stays in view, dimmed, a bullet as the character you typed (`-`, `*` or `+`). 'hidden': the marks of bold, italic, strikethrough, inline code, links and the `#` of a heading are hidden and come back where the caret or the selection touches that construct, so the text reads closer to the result while what you edit is still the markdown. A bullet reads as a dot, and shows its character on the line the caret is on. A quote reads as a line on the left per level, at the level the result gives each line, as in nldd-rich-text, with the spaces after a `>` beyond the first hidden and a missing one made room for, so every level is the same step; with the caret anywhere in it, its `>` marks and spaces show instead. A `---` line reads as a divider until the caret is on it, and a code block loses its closing ``` line until the caret is in it, since its own tint and edge already say what it is. Its opening line stays as the head of the block, with only the backticks hidden: the language as a label on the left, the copy button on the right. The numbers of a numbered list stay, in the color of the text: they are content. Read-only and disabled hide every mark, which makes a clean read view. The value is plain markdown either way."
29265
+ "description": "'hidden' (default) or 'visible'. 'visible': every formatting mark stays in view, dimmed, a bullet as the character you typed (`-`, `*` or `+`), for people who write markdown. 'hidden': the marks of bold, italic, strikethrough, inline code, links and the `#` of a heading are hidden and come back where the caret or the selection touches that construct, so the text reads closer to the result while what you edit is still the markdown. A bullet reads as a dot, and shows its character on the line the caret is on. A quote reads as a line on the left per level, at the level the result gives each line, as in nldd-rich-text, with the spaces after a `>` beyond the first hidden and a missing one made room for, so every level is the same step; with the caret anywhere in it, its `>` marks and spaces show instead. A `---` line reads as a divider until the caret is on it, and a code block loses its closing ``` line until the caret is in it, since its own tint and edge already say what it is. Its opening line stays as the head of the block, with only the backticks hidden: the language as a label on the left, the copy button on the right. The numbers of a numbered list stay, in the color of the text: they are content. Read-only and disabled hide every mark, which makes a clean read view. The value is plain markdown either way."
28751
29266
  },
28752
29267
  {
28753
29268
  "name": "annotatable",
@@ -28804,7 +29319,7 @@
28804
29319
  "name": "NLDDCodeMirrorInput",
28805
29320
  "module": "src/utilities/codemirror/codemirror-input.ts"
28806
29321
  },
28807
- "description": "Editor content (markdown)"
29322
+ "description": "Editor content (markdown). A value the app sets is kept as it is: the editor keeps the numbers of a numbered list in sequence while the user edits that list, not when the value is set. Only the part that differs changes, so the caret and the selection stay with their text, and the change stays out of the undo history."
28808
29323
  },
28809
29324
  {
28810
29325
  "name": "input-id",
@@ -28922,6 +29437,22 @@
28922
29437
  "name": "NLDDCodeMirrorInput",
28923
29438
  "module": "src/utilities/codemirror/codemirror-input.ts"
28924
29439
  }
29440
+ },
29441
+ {
29442
+ "name": "text-editor-command",
29443
+ "description": "The command a control runs on its editor: a name from `runCommand()`, with an argument after a colon (`setHeading:2`, `setList:task`). On an nldd-toggle-button, nldd-button, nldd-icon-button, `<button>` or nldd-menu-item, also in a toolbar's overflow menu. On an nldd-segmented-control the command takes the value of the chosen item: `text-editor-command=\"setList\"` with items `none`, `bullet`, `ordered` and `task`, where a second click on the list that is on turns it off. Works inside the editor (its `toolbar` slot) or inside an element with `text-editor-for`. The editor sets `selected` and `disabled` on it, so do not set those yourself. Disabled: undo and redo without history, indent and outdent where the list item cannot move, copy and cut without a selection, the inline formats in code and the block formats in a code block, and everything but copy in a read-only editor. `setHeading` steps out of a code block first, so \"Paragraaf\" is the way out.",
29444
+ "type": {
29445
+ "text": "string"
29446
+ },
29447
+ "global": true
29448
+ },
29449
+ {
29450
+ "name": "text-editor-for",
29451
+ "description": "Set on any element that holds controls for an editor elsewhere on the page, such as an nldd-toolbar in a bar of the page: the editor's id. Its controls with `text-editor-command` drive that editor. The id is looked up in the document, not in a shadow root.",
29452
+ "type": {
29453
+ "text": "string"
29454
+ },
29455
+ "global": true
28925
29456
  }
28926
29457
  ],
28927
29458
  "superclass": {
@@ -28929,7 +29460,13 @@
28929
29460
  "module": "/src/utilities/codemirror/codemirror-input.js"
28930
29461
  },
28931
29462
  "tagName": "nldd-text-editor",
28932
- "customElement": true
29463
+ "customElement": true,
29464
+ "slots": [
29465
+ {
29466
+ "name": "toolbar",
29467
+ "description": "An nldd-toolbar above the text, inside the frame. Its controls with `text-editor-command` drive this editor. Sticks to the top of the scroll container, below the page's own bars (`--context-inset-top`), while the editor grows past it; in an `embedded` editor it keeps 8px from that edge while it sticks."
29468
+ }
29469
+ ]
28933
29470
  }
28934
29471
  ],
28935
29472
  "exports": [
@@ -29108,6 +29645,16 @@
29108
29645
  "default": "true",
29109
29646
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
29110
29647
  },
29648
+ {
29649
+ "kind": "field",
29650
+ "name": "isTextEntry",
29651
+ "type": {
29652
+ "text": "boolean"
29653
+ },
29654
+ "static": true,
29655
+ "default": "true",
29656
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
29657
+ },
29111
29658
  {
29112
29659
  "kind": "field",
29113
29660
  "name": "blocksImplicitSubmission",
@@ -29316,15 +29863,6 @@
29316
29863
  "attribute": "maxlength",
29317
29864
  "reflects": true
29318
29865
  },
29319
- {
29320
- "kind": "field",
29321
- "name": "buttonSize",
29322
- "type": {
29323
- "text": "'sm' | 'xs'"
29324
- },
29325
- "description": "The size a slotted button gets: one step below the field, so it fits inside the border.",
29326
- "readonly": true
29327
- },
29328
29866
  {
29329
29867
  "kind": "method",
29330
29868
  "name": "formValue",
@@ -29860,7 +30398,7 @@
29860
30398
  "slots": [
29861
30399
  {
29862
30400
  "name": "button",
29863
- "description": "One `nldd-button` or `nldd-icon-button` at the end of the field, for the one action of a form that is only this field: sign up with an email address, redeem a code. The field sets its `size`, `sm` in a field of `md` and `xs` in one of `sm`, so it sits inside the border; a `size` of your own is overwritten. A disabled field disables the button too. Give it `type=\"submit\"` in a form, and its own `text`. A form with more fields keeps its buttons in `nldd-form-actions`."
30401
+ "description": "One `nldd-button`, `nldd-icon-button` or `nldd-toggle-button` at the end of the field: the one action of a form that is only this field (sign up with an email address, redeem a code), or an aid for filling in the field, such as an `nldd-toggle-button` that starts and stops dictation. The field passes on its corner, so the button's corners follow the field's. The field sets its `size`, `sm` in a field of `md` and `xs` in one of `sm`, so it sits inside the border; a `size` of your own is overwritten. A disabled field disables the button too. Give it `type=\"submit\"` in a form, and its own `text`. A form with more fields keeps its buttons in `nldd-form-actions`."
29864
30402
  }
29865
30403
  ]
29866
30404
  }
@@ -30225,6 +30763,16 @@
30225
30763
  "default": "true",
30226
30764
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
30227
30765
  },
30766
+ {
30767
+ "kind": "field",
30768
+ "name": "isTextEntry",
30769
+ "type": {
30770
+ "text": "boolean"
30771
+ },
30772
+ "static": true,
30773
+ "default": "true",
30774
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
30775
+ },
30228
30776
  {
30229
30777
  "kind": "field",
30230
30778
  "name": "blocksImplicitSubmission",
@@ -32411,6 +32959,16 @@
32411
32959
  "default": "true",
32412
32960
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
32413
32961
  },
32962
+ {
32963
+ "kind": "field",
32964
+ "name": "isTextEntry",
32965
+ "type": {
32966
+ "text": "boolean"
32967
+ },
32968
+ "static": true,
32969
+ "default": "true",
32970
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
32971
+ },
32414
32972
  {
32415
32973
  "kind": "field",
32416
32974
  "name": "blocksImplicitSubmission",
@@ -50758,6 +51316,16 @@
50758
51316
  "default": "true",
50759
51317
  "description": "Says this is the control an nldd-form-field is about, so the field can\nfind it, name it and move focus into it. See nldd-form-field."
50760
51318
  },
51319
+ {
51320
+ "kind": "field",
51321
+ "name": "isTextEntry",
51322
+ "type": {
51323
+ "text": "boolean"
51324
+ },
51325
+ "static": true,
51326
+ "default": "true",
51327
+ "description": "Says you type in this control, so focus moved into it by script keeps\nits ring after a click too, as a text field does. See focusAsLastInput."
51328
+ },
50761
51329
  {
50762
51330
  "kind": "field",
50763
51331
  "name": "value",
@@ -51020,7 +51588,15 @@
51020
51588
  "type": {
51021
51589
  "text": "void"
51022
51590
  }
51023
- }
51591
+ },
51592
+ "parameters": [
51593
+ {
51594
+ "name": "remote",
51595
+ "type": {
51596
+ "text": "boolean"
51597
+ }
51598
+ }
51599
+ ]
51024
51600
  },
51025
51601
  {
51026
51602
  "kind": "method",
@@ -52135,6 +52711,94 @@
52135
52711
  }
52136
52712
  ]
52137
52713
  },
52714
+ {
52715
+ "kind": "javascript-module",
52716
+ "path": "src/utilities/field-button-controller.ts",
52717
+ "declarations": [
52718
+ {
52719
+ "kind": "class",
52720
+ "description": "The `button` slot of a text field: gives the button a size one step below\nthe field, so it sits inside the border, and disables it with the field.\nUsed by nldd-text-field and nldd-multi-line-text-field.",
52721
+ "name": "FieldButtonController",
52722
+ "members": [
52723
+ {
52724
+ "kind": "field",
52725
+ "name": "hasButton",
52726
+ "type": {
52727
+ "text": "boolean"
52728
+ },
52729
+ "default": "false",
52730
+ "description": "Whether the slot holds anything, so an empty one reserves no space."
52731
+ },
52732
+ {
52733
+ "kind": "field",
52734
+ "name": "_sized",
52735
+ "privacy": "private",
52736
+ "default": "new WeakSet<Element>()",
52737
+ "description": "Buttons whose size the field has set, so a size of their own can be told apart."
52738
+ },
52739
+ {
52740
+ "kind": "field",
52741
+ "name": "_disabled",
52742
+ "privacy": "private",
52743
+ "default": "new WeakSet<Element>()",
52744
+ "description": "Buttons the field disabled, so it only enables what it disabled itself."
52745
+ },
52746
+ {
52747
+ "kind": "field",
52748
+ "name": "size",
52749
+ "type": {
52750
+ "text": "'sm' | 'xs'"
52751
+ },
52752
+ "description": "The size a slotted button gets: `sm` in a field of `md`, `xs` in one of `sm`.",
52753
+ "readonly": true
52754
+ },
52755
+ {
52756
+ "kind": "method",
52757
+ "name": "_buttons",
52758
+ "privacy": "private",
52759
+ "return": {
52760
+ "type": {
52761
+ "text": "Element[]"
52762
+ }
52763
+ }
52764
+ },
52765
+ {
52766
+ "kind": "method",
52767
+ "name": "hostUpdated",
52768
+ "return": {
52769
+ "type": {
52770
+ "text": "void"
52771
+ }
52772
+ }
52773
+ },
52774
+ {
52775
+ "kind": "field",
52776
+ "name": "handleSlotChange"
52777
+ },
52778
+ {
52779
+ "kind": "method",
52780
+ "name": "_sync",
52781
+ "privacy": "private",
52782
+ "return": {
52783
+ "type": {
52784
+ "text": "void"
52785
+ }
52786
+ }
52787
+ }
52788
+ ]
52789
+ }
52790
+ ],
52791
+ "exports": [
52792
+ {
52793
+ "kind": "js",
52794
+ "name": "FieldButtonController",
52795
+ "declaration": {
52796
+ "name": "FieldButtonController",
52797
+ "module": "src/utilities/field-button-controller.ts"
52798
+ }
52799
+ }
52800
+ ]
52801
+ },
52138
52802
  {
52139
52803
  "kind": "javascript-module",
52140
52804
  "path": "src/utilities/file-drag-and-drop.ts",
@@ -55138,6 +55802,30 @@
55138
55802
  ],
55139
55803
  "description": "Splits 'Ctrl+Shift+P' into keys; a trailing '++' ('Ctrl++') or '+++' is a literal '+' key."
55140
55804
  },
55805
+ {
55806
+ "kind": "function",
55807
+ "name": "displayKeys",
55808
+ "return": {
55809
+ "type": {
55810
+ "text": "DisplayKey[]"
55811
+ }
55812
+ },
55813
+ "parameters": [
55814
+ {
55815
+ "name": "spec",
55816
+ "type": {
55817
+ "text": "string"
55818
+ }
55819
+ },
55820
+ {
55821
+ "name": "os",
55822
+ "type": {
55823
+ "text": "OS"
55824
+ }
55825
+ }
55826
+ ],
55827
+ "description": "The keys of a spec as this OS shows them. On macOS the modifiers become\ntheir symbols, in the macOS order (`Cmd+Shift+Z` is ⇧ ⌘ Z); elsewhere the\nkeys stay as written. A symbol is read as its name, as the speech engine\nsays nothing for ⌘ ⌥ ⇧ ⌃."
55828
+ },
55141
55829
  {
55142
55830
  "kind": "function",
55143
55831
  "name": "shortcutsAvailable",
@@ -55235,6 +55923,14 @@
55235
55923
  "module": "src/utilities/shortcut.ts"
55236
55924
  }
55237
55925
  },
55926
+ {
55927
+ "kind": "js",
55928
+ "name": "displayKeys",
55929
+ "declaration": {
55930
+ "name": "displayKeys",
55931
+ "module": "src/utilities/shortcut.ts"
55932
+ }
55933
+ },
55238
55934
  {
55239
55935
  "kind": "js",
55240
55936
  "name": "shortcutsAvailable",