@nldd/design-system 0.30.1 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +283 -10
- package/dist/cdn/autoloader.js +139 -139
- package/dist/cdn/chunks/{accordion-BcgFdNtq.js → accordion-D7VeSx-7.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-DIoa4wMw.js → accordion-item-DjFnuCY9.js} +5 -5
- package/dist/cdn/chunks/{activity-indicator-BmpMwyBH.js → activity-indicator-nshVcQbZ.js} +5 -5
- package/dist/cdn/chunks/{admonition-DUsuT-qK.js → admonition-BhYcjvcU.js} +5 -5
- package/dist/cdn/chunks/{avatar-BFnVbTB9.js → avatar-Dw9XZk73.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-BDgLxUn9.js → avatar-group-B0ZliBMF.js} +15 -15
- package/dist/cdn/chunks/{badge-CAN4lWcI.js → badge-2ObEfIYt.js} +6 -6
- package/dist/cdn/chunks/{banner-BncAmkYl.js → banner-D9d_367R.js} +8 -8
- package/dist/cdn/chunks/{bar-split-view-hlmRlFit.js → bar-split-view-Cpq5j2Yd.js} +5 -5
- package/dist/cdn/chunks/{blockquote-DUAwVT6v.js → blockquote-M372pBfW.js} +5 -5
- package/dist/cdn/chunks/{box-CasAZ5pk.js → box-bpcNQSk1.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DBHmoFPu.js → breadcrumbs-YBuCnLD2.js} +6 -6
- package/dist/cdn/chunks/{button-IRm7Oibq.js → button-BsJDVMS5.js} +10 -10
- package/dist/cdn/chunks/{button-bar-CocGraYA.js → button-bar-C7WBKVht.js} +3 -3
- package/dist/cdn/chunks/{button-group-BfNf2BZe.js → button-group-D3zUCJnu.js} +2 -2
- package/dist/cdn/chunks/{card-BaomP9oB.js → card-BY2Fz35J.js} +4 -4
- package/dist/cdn/chunks/{cell-Dir3g5vA.js → cell-DfQcb8oJ.js} +6 -6
- package/dist/cdn/chunks/{checkbox-CIXkUW3R.js → checkbox-BurSrNRq.js} +5 -5
- package/dist/cdn/chunks/{checkbox-field-DQ4MlASP.js → checkbox-field-jcCJRers.js} +8 -8
- package/dist/cdn/chunks/{checkbox-group-C8E46V4D.js → checkbox-group--6ifWQ_F.js} +3 -3
- package/dist/cdn/chunks/{class-map-D0fkDSLP.js → class-map-pfTGN6Lt.js} +1 -1
- package/dist/cdn/chunks/{code-editor-C8YqZrN-.js → code-editor-D6xQxxSm.js} +13 -13
- package/dist/cdn/chunks/{code-viewer-Ck7wxfDo.js → code-viewer-CsO0Hzkz.js} +38 -38
- package/dist/cdn/chunks/{codemirror-input-DNrSyYSw.js → codemirror-input-Bu7mes2L.js} +345 -345
- package/dist/cdn/chunks/{collection-DprNdn8V.js → collection-CLD0J381.js} +8 -8
- package/dist/cdn/chunks/{combo-box-B2L79FY5.js → combo-box-cC87aRbF.js} +11 -9
- package/dist/cdn/chunks/{container-Cg4kOUN8.js → container-Dcd-wtk5.js} +3 -3
- package/dist/cdn/chunks/{custom-element-CDepWGgp.js → custom-element-BPzCecdN.js} +1 -1
- package/dist/cdn/chunks/{date-field-Dsw2EkcZ.js → date-field-CfIXnk2K.js} +14 -12
- package/dist/cdn/chunks/{date-picker-ugS3-VBq.js → date-picker-D4W0Be1y.js} +11 -11
- package/dist/cdn/chunks/{decorate-CuJsiFnl.js → decorate-CNSW3HVY.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-Ih_IoqBD.js → described-by-mixin-BNEosRlm.js} +2 -2
- package/dist/cdn/chunks/{description-cell-DiLwKDva.js → description-cell-3zl0cEJE.js} +7 -7
- package/dist/cdn/chunks/{dev-checks-Bfy3qHxO.js → dev-checks-sh4nGzvD.js} +1 -1
- package/dist/cdn/chunks/{directive-helpers-DEvA8txp.js → directive-helpers-C8_pU38P.js} +1 -1
- package/dist/cdn/chunks/{dist-C8wDJyDH.js → dist-BA1lxpkp.js} +66 -66
- package/dist/cdn/chunks/{dist-DsQS8bTi.js → dist-BMreXo8L.js} +36 -36
- package/dist/cdn/chunks/{dist-BFGGXlGI.js → dist-BQhMIRwq.js} +83 -83
- package/dist/cdn/chunks/{dist-CUXioD4z.js → dist-BwkztXx2.js} +307 -307
- package/dist/cdn/chunks/{dist-cg8p9qPS.js → dist-C0eqMXKG.js} +12 -12
- package/dist/cdn/chunks/{dist-s2b8iJ30.js → dist-CYoggrc-.js} +66 -66
- package/dist/cdn/chunks/{dist-CrMq7oqC.js → dist-D8GVh7JF.js} +103 -103
- package/dist/cdn/chunks/{dist-Cr0OiT-0.js → dist-DHJOmDf7.js} +1 -1
- package/dist/cdn/chunks/{dist-BEZuPWxd.js → dist-DosCjwbX.js} +75 -75
- package/dist/cdn/chunks/{dist-UpdpX10o.js → dist-Du5XeaUH.js} +80 -80
- package/dist/cdn/chunks/{dist-DPnEBzju.js → dist-DwGJ42jg.js} +36 -36
- package/dist/cdn/chunks/{dist-BYPfq6x4.js → dist-DzvZLbav.js} +35 -35
- package/dist/cdn/chunks/{dist-Djmp37M0.js → dist-UPMuGK3l.js} +47 -47
- package/dist/cdn/chunks/{divider-DeLH4QwC.js → divider-ja-sWdqK.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-bOkWFMdJ.js → document-tab-bar-CzlWDPeb.js} +9 -9
- package/dist/cdn/chunks/{dropdown-C1NBctuB.js → dropdown-CDnfyMTi.js} +5 -5
- package/dist/cdn/chunks/{file-field-DFjBl7rn.js → file-field-VGbq3duI.js} +14 -14
- package/dist/cdn/chunks/{form-mkjbjprY.js → form-EDk-AXxW.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DcsN5H-J.js → form-actions-DJlOHVjC.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-YG9BXK0j.js → form-associated-mixin-BDrjhoXJ.js} +2 -2
- package/dist/cdn/chunks/{form-field-BWtox2o0.js → form-field-DwfFYaIJ.js} +8 -8
- package/dist/cdn/chunks/{form-section-CLuotkhm.js → form-section-D5pvpU0g.js} +3 -3
- package/dist/cdn/chunks/{full-bleed-section-CZfvZFDs.js → full-bleed-section-B2lrxacX.js} +3 -3
- package/dist/cdn/chunks/{hero-C_x5gAKl.js → hero-8OBYFEcb.js} +4 -4
- package/dist/cdn/chunks/{icon-CeybqndL.js → icon-DZh6I8EN.js} +2 -2
- package/dist/cdn/chunks/{icon-button-BLe-iiU5.js → icon-button-Cfl9Uloz.js} +10 -10
- package/dist/cdn/chunks/{icon-cell-DUBctf2q.js → icon-cell-BKxm4x3C.js} +5 -5
- package/dist/cdn/chunks/{identity-C4FW2LCv.js → identity-D6mA_Ysl.js} +7 -7
- package/dist/cdn/chunks/{if-defined-DwzUaXrb.js → if-defined-Laa7Mar_.js} +1 -1
- package/dist/cdn/chunks/{image-7aQSrryL.js → image-BNQlE_4Z.js} +9 -9
- package/dist/cdn/chunks/{inline-dialog-B9o9ckxL.js → inline-dialog-5vpq_6bt.js} +8 -8
- package/dist/cdn/chunks/{just-in-time-education-C-3THmVJ.js → just-in-time-education-C8uCzm2s.js} +5 -5
- package/dist/cdn/chunks/{kanban-BemPSLk8.js → kanban-_aubAWTm.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-CYZjUBUd.js → kanban-column-CmitV46A.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-BK35aEeR.js → keyboard-shortcut-DY96tl24.js} +3 -3
- package/dist/cdn/chunks/{languages-CT6Im_c5.js → languages-B0lgBg4r.js} +181 -170
- package/dist/cdn/chunks/{link-Lbw4Ut52.js → link-CEyAJ_y7.js} +6 -6
- package/dist/cdn/chunks/{link-group-B1XXP70E.js → link-group-DwnzL75g.js} +2 -2
- package/dist/cdn/chunks/{list-D2vWEpYC.js → list-D-_Z5AED.js} +9 -9
- package/dist/cdn/chunks/{list-item-Y0wOQqRa.js → list-item-BqzGOqJl.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-BamNSRcL.js → list-item-segment-Ct876W0e.js} +4 -4
- package/dist/cdn/chunks/{menu-Cvwt6mA5.js → menu-BDLqu0jO.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-D9Etcq_r.js → menu-bar-DbCYdFuj.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-BUVqi3o-.js → menu-bar-item-CFfcPjci.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-BqRMxjF3.js → menu-divider-DTzCjHnW.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BSnRGQgm.js → menu-group-rYPRHllx.js} +4 -4
- package/dist/cdn/chunks/{menu-item-UQoejlK0.js → menu-item-CjzoSHHj.js} +4 -4
- package/dist/cdn/chunks/{menu.template-CewvJO-Y.js → menu.template-D7dG2HRa.js} +6 -6
- package/dist/cdn/chunks/{modal-dialog-C6XUoI95.js → modal-dialog-Cjn3EHfN.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-4Vn5Nrjo.js → multi-line-text-field-B8DstPYy.js} +8 -6
- package/dist/cdn/chunks/{navigation-split-view-BEwcAHWu.js → navigation-split-view-BHM4b_Gb.js} +5 -5
- package/dist/cdn/chunks/{nl.generated-CrkPlg69.js → nl.generated-Bu83qDco.js} +1 -1
- package/dist/cdn/chunks/{notification-DxsARz6U.js → notification-CieKHgKd.js} +7 -7
- package/dist/cdn/chunks/{number-field-wFK_taVU.js → number-field-CVYaConf.js} +10 -8
- package/dist/cdn/chunks/{one-half-one-half-section-CyedWMlH.js → one-half-one-half-section-aMdIJ_5N.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-LRJlzoAZ.js → one-third-two-thirds-section-Dalek6lE.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-BYQfRePV.js → one-time-code-field-BxkICLRG.js} +17 -12
- package/dist/cdn/chunks/{overflow-menu-BdEHECvL.js → overflow-menu-GR6uppZW.js} +1 -1
- package/dist/cdn/chunks/{page-DpGgV58g.js → page-C18ixnPr.js} +5 -5
- package/dist/cdn/chunks/{page-footer-DxaWwS8U.js → page-footer-CP6K-aw-.js} +5 -5
- package/dist/cdn/chunks/{page-section-mixin-DigQhtVE.js → page-section-mixin-BLPRaUH6.js} +3 -3
- package/dist/cdn/chunks/{pagination-Ch0EdxDX.js → pagination-YLIq3Jcw.js} +7 -7
- package/dist/cdn/chunks/{password-field-Dm8ah1v8.js → password-field-CCRqiNHh.js} +11 -9
- package/dist/cdn/chunks/{popover-Bhr3Nbst.js → popover-NvRaYQGL.js} +5 -5
- package/dist/cdn/chunks/{progress-bar-BBpNc1Wm.js → progress-bar-DS0_RN2t.js} +8 -8
- package/dist/cdn/chunks/{progress-circle-DfbawfeQ.js → progress-circle-B5zlQKGK.js} +8 -8
- package/dist/cdn/chunks/{radio-button-field-H_NQqcZp.js → radio-button-field-DZ2p1w_S.js} +7 -7
- package/dist/cdn/chunks/{radio-button-D_KTcIAN.js → radio-button-gY-u--Id.js} +4 -4
- package/dist/cdn/chunks/{radio-button-group-kbaWn4YY.js → radio-button-group-C0VdrjGz.js} +3 -3
- package/dist/cdn/chunks/{render-marked-DnJwRVpy.js → render-marked-SMLwIKOz.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BI4CugME.js → reorder-handle-cell-BfNGWoUb.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-LPcbGhhD.js → reorder-handle-mixin-Dy5l6J0C.js} +2 -2
- package/dist/cdn/chunks/{repeat-BBqtniIo.js → repeat-HQymq8gF.js} +2 -2
- package/dist/cdn/chunks/{rich-text-xlU1NiF6.js → rich-text-BALF1UpX.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CyqWb67i.js → row-header-mixin-De75PIGu.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-CTn6QJuM.js → scroll-fade-Bj7GnOWo.js} +2 -2
- package/dist/cdn/chunks/{search-field-OpYujGwS.js → search-field-DP7e4bm8.js} +12 -10
- package/dist/cdn/chunks/{segmented-control-8NtY_sU6.js → segmented-control-BXtb8I7v.js} +7 -7
- package/dist/cdn/chunks/{shadow-resets-CtbMaZlz.js → shadow-resets-CF-vkJJ8.js} +2 -2
- package/dist/cdn/chunks/{sheet-C_biEFcb.js → sheet-Beykq5Xb.js} +3 -3
- package/dist/cdn/chunks/{shell-OXRr3zFb.js → shell-CTGO74H-.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DVXrHULp.js → side-by-side-split-view-BZlxFAIM.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-DYa_6OWF.js → sidebar-section-CsODVvuK.js} +8 -8
- package/dist/cdn/chunks/{simple-section-CGUSyUAl.js → simple-section-9pgvujZx.js} +3 -3
- package/dist/cdn/chunks/{skip-link-Dl2ouKZk.js → skip-link-qdhDQoe7.js} +5 -5
- package/dist/cdn/chunks/{slider-Do-LOJNR.js → slider-CR_O2nPE.js} +9 -9
- package/dist/cdn/chunks/{spacer-BgHrBz2X.js → spacer-DbZEWOe2.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-CiQ8Ufpp.js → spacer-cell-BnDgG-8g.js} +4 -4
- package/dist/cdn/chunks/{split-button-Sd_-qYSD.js → split-button-rY9ZZF4m.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-D1TzV2VR.js → split-view-divider-CXsR2koZ.js} +2 -2
- package/dist/cdn/chunks/{stacked-split-view-Ctlqwe0S.js → stacked-split-view-CA97yLNG.js} +4 -4
- package/dist/cdn/chunks/{static-html-C8oeEnJZ.js → static-html-CfvOicw5.js} +1 -1
- package/dist/cdn/chunks/{status-bar-u2SmYnKZ.js → status-bar-Cg0AkR2_.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BA852p33.js → step-bar-CAF54DmI.js} +6 -6
- package/dist/cdn/chunks/{step-cell-DF9xadrF.js → step-cell-BfmEAqar.js} +5 -5
- package/dist/cdn/chunks/{stepper-dRpkKCse.js → stepper-C2oRKeaC.js} +7 -7
- package/dist/cdn/chunks/{style-map-eCE91iAi.js → style-map-BZRDrOiA.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Bjv3Yyk1.js → swatch-picker-DW07gML2.js} +6 -6
- package/dist/cdn/chunks/{switch-DJBzXPfD.js → switch-D3dbZ1J9.js} +6 -6
- package/dist/cdn/chunks/{switch-field-uMAxSz6L.js → switch-field-DrP2P8J-.js} +7 -7
- package/dist/cdn/chunks/{tab-bar-DLHqLs6Y.js → tab-bar-D0VfxxWN.js} +8 -8
- package/dist/cdn/chunks/{table-BLvkO5AG.js → table-CWQWdro8.js} +5 -5
- package/dist/cdn/chunks/{tag-DYhl2u2I.js → tag-Dc2wNx-T.js} +5 -5
- package/dist/cdn/chunks/{term-D79d-lz3.js → term-DUIQ5xer.js} +12 -12
- package/dist/cdn/chunks/{text-kRZ3cyId.js → text-BGobv84x.js} +4 -4
- package/dist/cdn/chunks/{text-cell-BbVoThab.js → text-cell-CGvUJRLw.js} +9 -9
- package/dist/cdn/chunks/{text-editor-dZhei5Gg.js → text-editor-CHsINr20.js} +1307 -903
- package/dist/cdn/chunks/{text-editor.i18n-sJKiRQ4i.js → text-editor.i18n-Cl_BYDwS.js} +2 -1
- package/dist/cdn/chunks/{text-field-DmKGVJvm.js → text-field-CpSGZVmD.js} +8 -6
- package/dist/cdn/chunks/{text-wrap-C6QQbSuj.js → text-wrap-DHroWilR.js} +2 -2
- package/dist/cdn/chunks/{time-field-BXVxhV80.js → time-field-CJVbIp-l.js} +16 -14
- package/dist/cdn/chunks/{time-picker-BjJfPmir.js → time-picker-S2rQpNA-.js} +6 -6
- package/dist/cdn/chunks/{title-DsOLSMHj.js → title-DrogO1fi.js} +5 -5
- package/dist/cdn/chunks/{title-cell-DXcur6Eb.js → title-cell-CX_yGWvW.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-7fasRpr1.js → toggle-button-CwVn3pQ-.js} +9 -9
- package/dist/cdn/chunks/{toggle-button-group-B9No_FIj.js → toggle-button-group-BY4GlP2N.js} +2 -2
- package/dist/cdn/chunks/{token-field-C9fGsIxB.js → token-field-CgE9PfeW.js} +13 -11
- package/dist/cdn/chunks/{token-BYCl-dDP.js → token-vYddtNLa.js} +5 -5
- package/dist/cdn/chunks/{toolbar-CBs6yMNd.js → toolbar-Cl9XcbRF.js} +9 -9
- package/dist/cdn/chunks/{toolbar-item-DYVo5I60.js → toolbar-item-BQKbNQGY.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-Bu5PbFPP.js → toolbar-title-Ka7Q_vfZ.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BUS-XIdr.js → toolbar.styles-QMkPXyiR.js} +3 -3
- package/dist/cdn/chunks/{tooltip-yXDfEbZ1.js → tooltip-BERJsBSV.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-DW6xYKY0.js → top-navigation-bar-CJCQf83I.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-Fk4jzs8I.js → top-title-bar-CT4gj9gn.js} +6 -6
- package/dist/cdn/chunks/{two-thirds-one-third-section-B9a1YYXm.js → two-thirds-one-third-section-CQwCU61R.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BAyP6Ccd.js → validation-list-3b8a8S3f.js} +5 -5
- package/dist/cdn/chunks/{visibility-mixin-9Nr_J68Z.js → visibility-mixin-BDaVoR0J.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BN6jVrRE.js → visually-hidden-GgT4UkeT.js} +2 -2
- package/dist/cdn/chunks/{window-D4rLzdHo.js → window-BTU1k5p4.js} +4 -4
- package/dist/cdn/chunks/{with-translations-RkK-Bq8M.js → with-translations-D3sJ-X8x.js} +3 -3
- package/dist/components/inputs/code-editor/code-editor.styles.js +2 -2
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +2 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +2 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +2 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.styles.js +2 -0
- package/dist/components/inputs/number-field/number-field.styles.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +5 -2
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +10 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +4 -3
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +2 -0
- package/dist/components/inputs/password-field/password-field.styles.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +2 -0
- package/dist/components/inputs/search-field/search-field.styles.js.map +1 -1
- package/dist/components/inputs/switch/switch.styles.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +2 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +9 -7
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts +1 -0
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +12 -2
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +6 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus.d.ts +13 -0
- package/dist/components/inputs/text-editor/text-editor.focus.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.focus.js +54 -0
- package/dist/components/inputs/text-editor/text-editor.focus.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js +14 -5
- package/dist/components/inputs/text-editor/text-editor.hidden-syntax.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.highlight.d.ts +3 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.js +28 -0
- package/dist/components/inputs/text-editor/text-editor.highlight.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts +1 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.i18n.js +3 -0
- package/dist/components/inputs/text-editor/text-editor.i18n.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +67 -6
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts +22 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.js +134 -0
- package/dist/components/inputs/text-editor/text-editor.link-destination.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +14 -0
- package/dist/components/inputs/text-editor/text-editor.links.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.js +41 -12
- package/dist/components/inputs/text-editor/text-editor.links.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.js +35 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +18 -2
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js +7 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +6 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +6 -3
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +116 -12
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.js +14 -2
- package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.variables.d.ts +20 -0
- package/dist/components/inputs/text-editor/text-editor.variables.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.variables.js +148 -0
- package/dist/components/inputs/text-editor/text-editor.variables.js.map +1 -0
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +2 -0
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +2 -0
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.styles.js +2 -0
- package/dist/components/inputs/token-field/token-field.styles.js.map +1 -1
- package/dist/css/themes/donkergeel.css +5 -6
- package/dist/css/themes/geel.css +5 -6
- package/dist/css/themes.css +10 -12
- package/dist/css/variables.css +2 -6
- package/dist/nldd.min.js +1026 -903
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +1 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +1 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +1 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +1 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +4 -4
- package/dist/types/vue.d.ts +6 -4
- package/lint/data.generated.json +1 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -19064,7 +19064,7 @@
|
|
|
19064
19064
|
},
|
|
19065
19065
|
{
|
|
19066
19066
|
"kind": "class",
|
|
19067
|
-
"description": "A field for a code someone receives once and types over: by text message, by email, from an authenticator app or on a letter. It shows a box per character, but it is one native input underneath, so pasting the whole code, the code a phone offers from a text message (`autocomplete=\"one-time-code\"`), a screen reader and voice control all work as on any other field. The characters are monospace, so 0 and O, or 1, l and I, read apart. Typing fills the boxes from the left. The arrow keys, Home, End and a click move the caret from box to box. In a filled box it stands after the character: Backspace empties that box, without moving the rest up, so you type the right one straight in. A pasted code drops whatever is not part of one, so \"123 456\" or \"123-456\" becomes \"123456\", and a whole code replaces what was there. From a pasted sentence, such as a text message, the field takes the last word that is as long as the code, so \"Your code is 123456\" fills in \"123456\". Once every box is full the field fires `complete`, and again after a correction that leaves it full. Submitting then is up to your app: send the form, or wait for a button, but never both, or a correction submits twice. Not for a PIN or a password, which must not be readable on screen: use `nldd-password-field`. Put the field in an `nldd-form-field`, whose label says where the code comes from (\"Code uit de sms\").",
|
|
19067
|
+
"description": "A field for a code someone receives once and types over: by text message, by email, from an authenticator app or on a letter. It shows a box per character, but it is one native input underneath, so pasting the whole code, the code a phone offers from a text message (`autocomplete=\"one-time-code\"`), a screen reader and voice control all work as on any other field. The characters are monospace, so 0 and O, or 1, l and I, read apart. Typing fills the boxes from the left. The arrow keys, Home, End and a click move the caret from box to box, empty ones too; End goes to the box after the last character. In a filled box it stands after the character: Backspace empties that box, without moving the rest up, so you type the right one straight in. A pasted code drops whatever is not part of one, so \"123 456\" or \"123-456\" becomes \"123456\", and a whole code replaces what was there. From a pasted sentence, such as a text message, the field takes the last word that is as long as the code, so \"Your code is 123456\" fills in \"123456\". Once every box is full the field fires `complete`, and again after a correction that leaves it full. Submitting then is up to your app: send the form, or wait for a button, but never both, or a correction submits twice. Not for a PIN or a password, which must not be readable on screen: use `nldd-password-field`. Put the field in an `nldd-form-field`, whose label says where the code comes from (\"Code uit de sms\").",
|
|
19068
19068
|
"name": "NLDDOneTimeCodeField",
|
|
19069
19069
|
"members": [
|
|
19070
19070
|
{
|
|
@@ -19866,6 +19866,7 @@
|
|
|
19866
19866
|
"customElement": true,
|
|
19867
19867
|
"keywords": [
|
|
19868
19868
|
"otp",
|
|
19869
|
+
"otc",
|
|
19869
19870
|
"pin",
|
|
19870
19871
|
"verification code",
|
|
19871
19872
|
"eenmalige code",
|
|
@@ -27681,7 +27682,7 @@
|
|
|
27681
27682
|
}
|
|
27682
27683
|
}
|
|
27683
27684
|
],
|
|
27684
|
-
"description": "Default placement guard. Blocks the sentinel where U+2060 would break the\nmarkdown parse: right before a line-start block marker, and inside a GFM\nstrikethrough run (
|
|
27685
|
+
"description": "Default placement guard. Blocks the sentinel where U+2060 would break the\nmarkdown parse: right before a line-start block marker, and inside a GFM\nstrikethrough or highlight run (`~~...~~`, `==...==`). Blocked edges fall back\nto a single caret stop."
|
|
27685
27686
|
}
|
|
27686
27687
|
],
|
|
27687
27688
|
"exports": [
|
|
@@ -28081,7 +28082,7 @@
|
|
|
28081
28082
|
"type": {
|
|
28082
28083
|
"text": "TextEditorActiveFormats"
|
|
28083
28084
|
},
|
|
28084
|
-
"default": "{ bold: false, italic: false, inlineCode: false, codeBlock: false, strikethrough: false, link: false, bulletList: false, orderedList: false, taskList: false, quote: false, heading: 0, }"
|
|
28085
|
+
"default": "{ bold: false, italic: false, inlineCode: false, codeBlock: false, strikethrough: false, highlight: false, link: false, bulletList: false, orderedList: false, taskList: false, quote: false, heading: 0, }"
|
|
28085
28086
|
},
|
|
28086
28087
|
{
|
|
28087
28088
|
"kind": "function",
|
|
@@ -28624,7 +28625,7 @@
|
|
|
28624
28625
|
"type": {
|
|
28625
28626
|
"text": "ReadonlyMap<string, string>"
|
|
28626
28627
|
},
|
|
28627
|
-
"default": "new Map([ ['StrongEmphasis', '**'], ['Emphasis', '*'], ['Strikethrough', '~~'], ])",
|
|
28628
|
+
"default": "new Map([ ['StrongEmphasis', '**'], ['Emphasis', '*'], ['Strikethrough', '~~'], ['Highlight', '=='], ])",
|
|
28628
28629
|
"description": "The emphasis nodes that live by the flanking rules, with the marker the\neditor writes for them. Inline code is not among them: a code span keeps its\nwhitespace and never fails to close."
|
|
28629
28630
|
},
|
|
28630
28631
|
{
|
|
@@ -28790,6 +28791,95 @@
|
|
|
28790
28791
|
}
|
|
28791
28792
|
]
|
|
28792
28793
|
},
|
|
28794
|
+
{
|
|
28795
|
+
"kind": "javascript-module",
|
|
28796
|
+
"path": "src/components/inputs/text-editor/text-editor.focus.ts",
|
|
28797
|
+
"declarations": [
|
|
28798
|
+
{
|
|
28799
|
+
"kind": "variable",
|
|
28800
|
+
"name": "setFocused",
|
|
28801
|
+
"description": "Says the editor has focus, or not. The editor sends it itself, a few\nmilliseconds after the event; a handler that focuses the editor and acts\non it at once sends it along."
|
|
28802
|
+
},
|
|
28803
|
+
{
|
|
28804
|
+
"kind": "variable",
|
|
28805
|
+
"name": "focusTracking",
|
|
28806
|
+
"type": {
|
|
28807
|
+
"text": "Extension"
|
|
28808
|
+
},
|
|
28809
|
+
"default": "[focused, EditorView.focusChangeEffect.of((_state, focusing) => setFocused.of(focusing)), focusRepair]"
|
|
28810
|
+
},
|
|
28811
|
+
{
|
|
28812
|
+
"kind": "function",
|
|
28813
|
+
"name": "hasFocus",
|
|
28814
|
+
"return": {
|
|
28815
|
+
"type": {
|
|
28816
|
+
"text": "boolean"
|
|
28817
|
+
}
|
|
28818
|
+
},
|
|
28819
|
+
"parameters": [
|
|
28820
|
+
{
|
|
28821
|
+
"name": "state",
|
|
28822
|
+
"type": {
|
|
28823
|
+
"text": "EditorState"
|
|
28824
|
+
}
|
|
28825
|
+
}
|
|
28826
|
+
],
|
|
28827
|
+
"description": "Whether the editor has focus. True where focus is not tracked."
|
|
28828
|
+
},
|
|
28829
|
+
{
|
|
28830
|
+
"kind": "function",
|
|
28831
|
+
"name": "focusChanged",
|
|
28832
|
+
"return": {
|
|
28833
|
+
"type": {
|
|
28834
|
+
"text": "boolean"
|
|
28835
|
+
}
|
|
28836
|
+
},
|
|
28837
|
+
"parameters": [
|
|
28838
|
+
{
|
|
28839
|
+
"name": "tr",
|
|
28840
|
+
"type": {
|
|
28841
|
+
"text": "{ effects: readonly StateEffect<unknown>[] }"
|
|
28842
|
+
}
|
|
28843
|
+
}
|
|
28844
|
+
],
|
|
28845
|
+
"description": "Whether the focus changed in this transaction."
|
|
28846
|
+
}
|
|
28847
|
+
],
|
|
28848
|
+
"exports": [
|
|
28849
|
+
{
|
|
28850
|
+
"kind": "js",
|
|
28851
|
+
"name": "setFocused",
|
|
28852
|
+
"declaration": {
|
|
28853
|
+
"name": "setFocused",
|
|
28854
|
+
"module": "src/components/inputs/text-editor/text-editor.focus.ts"
|
|
28855
|
+
}
|
|
28856
|
+
},
|
|
28857
|
+
{
|
|
28858
|
+
"kind": "js",
|
|
28859
|
+
"name": "focusTracking",
|
|
28860
|
+
"declaration": {
|
|
28861
|
+
"name": "focusTracking",
|
|
28862
|
+
"module": "src/components/inputs/text-editor/text-editor.focus.ts"
|
|
28863
|
+
}
|
|
28864
|
+
},
|
|
28865
|
+
{
|
|
28866
|
+
"kind": "js",
|
|
28867
|
+
"name": "hasFocus",
|
|
28868
|
+
"declaration": {
|
|
28869
|
+
"name": "hasFocus",
|
|
28870
|
+
"module": "src/components/inputs/text-editor/text-editor.focus.ts"
|
|
28871
|
+
}
|
|
28872
|
+
},
|
|
28873
|
+
{
|
|
28874
|
+
"kind": "js",
|
|
28875
|
+
"name": "focusChanged",
|
|
28876
|
+
"declaration": {
|
|
28877
|
+
"name": "focusChanged",
|
|
28878
|
+
"module": "src/components/inputs/text-editor/text-editor.focus.ts"
|
|
28879
|
+
}
|
|
28880
|
+
}
|
|
28881
|
+
]
|
|
28882
|
+
},
|
|
28793
28883
|
{
|
|
28794
28884
|
"kind": "javascript-module",
|
|
28795
28885
|
"path": "src/components/inputs/text-editor/text-editor.hidden-syntax.ts",
|
|
@@ -28822,7 +28912,7 @@
|
|
|
28822
28912
|
}
|
|
28823
28913
|
}
|
|
28824
28914
|
],
|
|
28825
|
-
"description": "Whether the marks of the construct from `from` to `to` show: the caret or\nthe selection touches it, in
|
|
28915
|
+
"description": "Whether the marks of the construct from `from` to `to` show: the caret or\nthe selection touches it, in a focused editor that reveals marks at all."
|
|
28826
28916
|
},
|
|
28827
28917
|
{
|
|
28828
28918
|
"kind": "function",
|
|
@@ -28849,6 +28939,30 @@
|
|
|
28849
28939
|
}
|
|
28850
28940
|
]
|
|
28851
28941
|
},
|
|
28942
|
+
{
|
|
28943
|
+
"kind": "javascript-module",
|
|
28944
|
+
"path": "src/components/inputs/text-editor/text-editor.highlight.ts",
|
|
28945
|
+
"declarations": [
|
|
28946
|
+
{
|
|
28947
|
+
"kind": "variable",
|
|
28948
|
+
"name": "Highlight",
|
|
28949
|
+
"type": {
|
|
28950
|
+
"text": "MarkdownConfig"
|
|
28951
|
+
},
|
|
28952
|
+
"default": "{ defineNodes: ['Highlight', 'HighlightMark'], parseInline: [{ name: 'Highlight', parse(cx, next, pos) { // Exactly two: not the last two of `===`, nor the first two. if (next !== EQUALS || cx.char(pos + 1) !== EQUALS || cx.char(pos + 2) === EQUALS || cx.char(pos - 1) === EQUALS) return -1; const before = cx.slice(pos - 1, pos); const after = cx.slice(pos + 2, pos + 3); const sBefore = /\\s|^$/.test(before); const sAfter = /\\s|^$/.test(after); const pBefore = PUNCTUATION.test(before); const pAfter = PUNCTUATION.test(after); return cx.addDelimiter( HighlightDelim, pos, pos + 2, !sAfter && (!pAfter || sBefore || pBefore), !sBefore && (!pBefore || sAfter || pAfter), ); }, after: 'Emphasis', }], }"
|
|
28953
|
+
}
|
|
28954
|
+
],
|
|
28955
|
+
"exports": [
|
|
28956
|
+
{
|
|
28957
|
+
"kind": "js",
|
|
28958
|
+
"name": "Highlight",
|
|
28959
|
+
"declaration": {
|
|
28960
|
+
"name": "Highlight",
|
|
28961
|
+
"module": "src/components/inputs/text-editor/text-editor.highlight.ts"
|
|
28962
|
+
}
|
|
28963
|
+
}
|
|
28964
|
+
]
|
|
28965
|
+
},
|
|
28852
28966
|
{
|
|
28853
28967
|
"kind": "javascript-module",
|
|
28854
28968
|
"path": "src/components/inputs/text-editor/text-editor.keymap.ts",
|
|
@@ -28895,6 +29009,52 @@
|
|
|
28895
29009
|
}
|
|
28896
29010
|
]
|
|
28897
29011
|
},
|
|
29012
|
+
{
|
|
29013
|
+
"kind": "javascript-module",
|
|
29014
|
+
"path": "src/components/inputs/text-editor/text-editor.link-destination.ts",
|
|
29015
|
+
"declarations": [
|
|
29016
|
+
{
|
|
29017
|
+
"kind": "variable",
|
|
29018
|
+
"name": "linkDestination"
|
|
29019
|
+
},
|
|
29020
|
+
{
|
|
29021
|
+
"kind": "function",
|
|
29022
|
+
"name": "completeLinkDestination",
|
|
29023
|
+
"return": {
|
|
29024
|
+
"type": {
|
|
29025
|
+
"text": "void"
|
|
29026
|
+
}
|
|
29027
|
+
},
|
|
29028
|
+
"parameters": [
|
|
29029
|
+
{
|
|
29030
|
+
"name": "view",
|
|
29031
|
+
"type": {
|
|
29032
|
+
"text": "EditorView"
|
|
29033
|
+
}
|
|
29034
|
+
}
|
|
29035
|
+
],
|
|
29036
|
+
"description": "Completes the destination being typed at once, for a blur: the value the\neditor commits must hold a link that works."
|
|
29037
|
+
}
|
|
29038
|
+
],
|
|
29039
|
+
"exports": [
|
|
29040
|
+
{
|
|
29041
|
+
"kind": "js",
|
|
29042
|
+
"name": "linkDestination",
|
|
29043
|
+
"declaration": {
|
|
29044
|
+
"name": "linkDestination",
|
|
29045
|
+
"module": "src/components/inputs/text-editor/text-editor.link-destination.ts"
|
|
29046
|
+
}
|
|
29047
|
+
},
|
|
29048
|
+
{
|
|
29049
|
+
"kind": "js",
|
|
29050
|
+
"name": "completeLinkDestination",
|
|
29051
|
+
"declaration": {
|
|
29052
|
+
"name": "completeLinkDestination",
|
|
29053
|
+
"module": "src/components/inputs/text-editor/text-editor.link-destination.ts"
|
|
29054
|
+
}
|
|
29055
|
+
}
|
|
29056
|
+
]
|
|
29057
|
+
},
|
|
28898
29058
|
{
|
|
28899
29059
|
"kind": "javascript-module",
|
|
28900
29060
|
"path": "src/components/inputs/text-editor/text-editor.links.ts",
|
|
@@ -28904,6 +29064,24 @@
|
|
|
28904
29064
|
"name": "linkBadgeTooltip",
|
|
28905
29065
|
"description": "Whether the badge shows its destination in a tooltip. On while the syntax is\nhidden, for a `[text](url)` link whose marks are hidden too: the URL is then\nnowhere on screen, and the badge is how to see it."
|
|
28906
29066
|
},
|
|
29067
|
+
{
|
|
29068
|
+
"kind": "function",
|
|
29069
|
+
"name": "withScheme",
|
|
29070
|
+
"return": {
|
|
29071
|
+
"type": {
|
|
29072
|
+
"text": "string"
|
|
29073
|
+
}
|
|
29074
|
+
},
|
|
29075
|
+
"parameters": [
|
|
29076
|
+
{
|
|
29077
|
+
"name": "destination",
|
|
29078
|
+
"type": {
|
|
29079
|
+
"text": "string"
|
|
29080
|
+
}
|
|
29081
|
+
}
|
|
29082
|
+
],
|
|
29083
|
+
"description": "The destination as a browser should follow it. The value is rendered on a page\nof the app's choosing, where a relative `google.com` would resolve to a path\nunder that page, which nobody who typed it meant. So whatever has no scheme\ngets one: `mailto:` for an email address, and `https://` for whatever starts\nwith `www.` or ends its first part in a dot and a top-level domain of\nletters, as a host does\n(`google.com`, `www.rijksoverheid.nl/onderwerpen`), or has a port\n(`localhost:3000`). Whether\n`handleiding.md` is a file or a site cannot be told, as `.md` is a top-level\ndomain too, so there is no guessing: a relative path to a file says so by\nstarting with `/`, `./`, `../`, `#` or `?`, and `http:`, `file:` or `tel:` is\nwritten out. A path without such an ending (`contact`, `docs/handleiding`,\n`v1.2`) and a merge field (`{{url}}`) stay as they are."
|
|
29084
|
+
},
|
|
28907
29085
|
{
|
|
28908
29086
|
"kind": "function",
|
|
28909
29087
|
"name": "isSafeHref",
|
|
@@ -29016,6 +29194,14 @@
|
|
|
29016
29194
|
"module": "src/components/inputs/text-editor/text-editor.links.ts"
|
|
29017
29195
|
}
|
|
29018
29196
|
},
|
|
29197
|
+
{
|
|
29198
|
+
"kind": "js",
|
|
29199
|
+
"name": "withScheme",
|
|
29200
|
+
"declaration": {
|
|
29201
|
+
"name": "withScheme",
|
|
29202
|
+
"module": "src/components/inputs/text-editor/text-editor.links.ts"
|
|
29203
|
+
}
|
|
29204
|
+
},
|
|
29019
29205
|
{
|
|
29020
29206
|
"kind": "js",
|
|
29021
29207
|
"name": "isSafeHref",
|
|
@@ -29179,7 +29365,7 @@
|
|
|
29179
29365
|
"type": {
|
|
29180
29366
|
"text": "Extension"
|
|
29181
29367
|
},
|
|
29182
|
-
"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, ]",
|
|
29368
|
+
"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, Highlight, { remove: ['IndentedCode'] }, indentedText], codeLanguages: nestedLanguages, addKeymap: false }), focusTracking, listKeymap, listMarkerInput, markDecorationPlugin, heldEmphasis, linkDestination, hangingIndentField, mentionTokens, ]",
|
|
29183
29369
|
"description": "Markdown language (with GFM) plus the hybrid inline-styling decorations."
|
|
29184
29370
|
}
|
|
29185
29371
|
],
|
|
@@ -30534,7 +30720,7 @@
|
|
|
30534
30720
|
"declarations": [
|
|
30535
30721
|
{
|
|
30536
30722
|
"kind": "class",
|
|
30537
|
-
"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.",
|
|
30723
|
+
"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/ toggleHighlight/ 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, and so does a space typed before the marker of an item that is there already, the way to nest on a phone: each space one level deeper, next to a nested item above first and then under it. 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. `==text==` marks text, as a highlighter does: for what someone still has to fill in or look at, not for a remark (that is an annotation). It is no CommonMark or GFM, so the renderer needs it too: markdown-it-mark in markdown-it, the `mark` extension in Python-Markdown's pymdown-extensions. It renders to `<mark>`, which nldd-rich-text shows in the same color. A variable is data the app already has, named in the text as `{{key}}`, as in a mail merge: `Je begint op {{startdatum}}.` The editor shows the value from `variables` in its place, and the stored text keeps the key, so it stays right when the value changes. A variable is one fixed piece, as a mention is: the caret steps over it, the first Backspace or Delete next to it selects it and the second removes it, and to change it you put another in its place. The app fills in the values when it renders the text, with Mustache for example. Not with a template engine that runs code, such as Jinja: the text is the user's. A variable goes in like any other text: from a typeahead whose `insert` writes `{{key}}`, with insertAtCursor(), or typed whole, when its closing braces make it one. A link destination typed without a scheme gets one when the caret leaves it: `[tekst](google.com)` becomes `[tekst](https://google.com)`, an email address gets `mailto:`. A link pasted or dropped whole gets it at once. Whatever ends its first part in a dot and letters, as a host does, gets `https://`, also `handleiding.md`, which may be a file or a site (`.md` is a top-level domain): a relative path to a file starts with `/`, `./`, `#` or `?`. Any other path (`contact`, `docs/handleiding`, `v1.2`) stays relative, `http:` or `file:` is written out, and a merge field (`{{url}}`) and a value the app sets stay as they are. The open-link badge reads every destination that way, so a renderer should too: an older value can still hold `google.com`, which a browser reads as a path under the page. 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.",
|
|
30538
30724
|
"name": "NLDDTextEditor",
|
|
30539
30725
|
"members": [
|
|
30540
30726
|
{
|
|
@@ -30641,6 +30827,15 @@
|
|
|
30641
30827
|
"default": "[]",
|
|
30642
30828
|
"description": "Consumer-supplied annotations (W3C-style overlay). Property only (set via\nJS). Render only when `annotatable` is on. The text stays clean; these\nrender as a light tint and a count badge, anchored by offset and mapped\nthrough edits.\n\nIMPORTANT: assign a NEW array to apply changes. Lit dirty-checks this\nproperty by identity, so mutating the existing array in place\n(`editor.annotations.push(next)`, `editor.annotations[0].end = 9`, …) does\nNOT trigger a re-render. Always replace it:\n`editor.annotations = [...editor.annotations, next]`."
|
|
30643
30829
|
},
|
|
30830
|
+
{
|
|
30831
|
+
"kind": "field",
|
|
30832
|
+
"name": "variables",
|
|
30833
|
+
"type": {
|
|
30834
|
+
"text": "TextEditorVariable[]"
|
|
30835
|
+
},
|
|
30836
|
+
"default": "[]",
|
|
30837
|
+
"description": "The data the text can name as `{{key}}`, each with its label and, once\nknown, its value. Property only. Assign a new array to apply a change."
|
|
30838
|
+
},
|
|
30644
30839
|
{
|
|
30645
30840
|
"kind": "method",
|
|
30646
30841
|
"name": "toggleBold",
|
|
@@ -30677,6 +30872,16 @@
|
|
|
30677
30872
|
}
|
|
30678
30873
|
}
|
|
30679
30874
|
},
|
|
30875
|
+
{
|
|
30876
|
+
"kind": "method",
|
|
30877
|
+
"name": "toggleHighlight",
|
|
30878
|
+
"return": {
|
|
30879
|
+
"type": {
|
|
30880
|
+
"text": "void"
|
|
30881
|
+
}
|
|
30882
|
+
},
|
|
30883
|
+
"description": "Marks the selection as `==text==`, or unmarks the run the caret is in."
|
|
30884
|
+
},
|
|
30680
30885
|
{
|
|
30681
30886
|
"kind": "method",
|
|
30682
30887
|
"name": "toggleHeading",
|
|
@@ -30951,7 +31156,7 @@
|
|
|
30951
31156
|
}
|
|
30952
31157
|
}
|
|
30953
31158
|
],
|
|
30954
|
-
"description": "Escape hatch: run a command by name, so a toolbar can carry the name in its\nmarkup instead of a method reference. Every method above is reachable.\n\nToggles (no payload): `bold`, `italic`, `inlineCode`, `strikethrough`,\n`bulletList`, `taskList`, `quote`, `codeBlock`, `heading` (payload: the\nlevel, default 1), `link` (payload: the href).\nSetters: `setHeading` (payload: the level, 0 for a paragraph), `setList`\n(payload: 'none' | 'bullet' | 'ordered' | 'task').\nThe rest: `indent`, `outdent`, `undo`, `redo`, `copy`, `cut`, `paste`.\n\nAn unknown name warns rather than doing nothing quietly: a typo in a\ntoolbar is otherwise invisible."
|
|
31159
|
+
"description": "Escape hatch: run a command by name, so a toolbar can carry the name in its\nmarkup instead of a method reference. Every method above is reachable.\n\nToggles (no payload): `bold`, `italic`, `inlineCode`, `strikethrough`,\n`highlight`, `bulletList`, `taskList`, `quote`, `codeBlock`, `heading` (payload: the\nlevel, default 1), `link` (payload: the href).\nSetters: `setHeading` (payload: the level, 0 for a paragraph), `setList`\n(payload: 'none' | 'bullet' | 'ordered' | 'task').\nThe rest: `indent`, `outdent`, `undo`, `redo`, `copy`, `cut`, `paste`.\n\nAn unknown name warns rather than doing nothing quietly: a typo in a\ntoolbar is otherwise invisible."
|
|
30955
31160
|
},
|
|
30956
31161
|
{
|
|
30957
31162
|
"kind": "method",
|
|
@@ -31588,7 +31793,7 @@
|
|
|
31588
31793
|
"expandedType": {
|
|
31589
31794
|
"text": "'hidden' | 'visible'"
|
|
31590
31795
|
},
|
|
31591
|
-
"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."
|
|
31796
|
+
"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, highlight, 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."
|
|
31592
31797
|
},
|
|
31593
31798
|
{
|
|
31594
31799
|
"name": "annotatable",
|
|
@@ -31619,7 +31824,7 @@
|
|
|
31619
31824
|
"name": "withTranslations",
|
|
31620
31825
|
"module": "src/utilities/with-translations.ts"
|
|
31621
31826
|
},
|
|
31622
|
-
"description": "Override the editor's assistive-tech strings (the open-in-new-tab link badge, the annotation count badge, the label of a task's box
|
|
31827
|
+
"description": "Override the editor's assistive-tech strings (the open-in-new-tab link badge, the annotation count badge, the label of a task's box, the copy button of a code block and the text of a variable without a value). Unset keys fall back to Dutch."
|
|
31623
31828
|
},
|
|
31624
31829
|
{
|
|
31625
31830
|
"name": "accessible-description",
|
|
@@ -31937,6 +32142,14 @@
|
|
|
31937
32142
|
"module": "./text-editor.annotations.js"
|
|
31938
32143
|
}
|
|
31939
32144
|
},
|
|
32145
|
+
{
|
|
32146
|
+
"kind": "js",
|
|
32147
|
+
"name": "TextEditorVariable",
|
|
32148
|
+
"declaration": {
|
|
32149
|
+
"name": "TextEditorVariable",
|
|
32150
|
+
"module": "./text-editor.variables.js"
|
|
32151
|
+
}
|
|
32152
|
+
},
|
|
31940
32153
|
{
|
|
31941
32154
|
"kind": "js",
|
|
31942
32155
|
"name": "NLDDTextEditor",
|
|
@@ -31955,6 +32168,66 @@
|
|
|
31955
32168
|
}
|
|
31956
32169
|
]
|
|
31957
32170
|
},
|
|
32171
|
+
{
|
|
32172
|
+
"kind": "javascript-module",
|
|
32173
|
+
"path": "src/components/inputs/text-editor/text-editor.variables.ts",
|
|
32174
|
+
"declarations": [
|
|
32175
|
+
{
|
|
32176
|
+
"kind": "variable",
|
|
32177
|
+
"name": "VARIABLE_RE",
|
|
32178
|
+
"default": "/\\{\\{\\s*([\\p{L}\\p{N}_.-]+)\\s*\\}\\}/gu",
|
|
32179
|
+
"description": "`{{key}}`, with the spaces Mustache allows inside the braces."
|
|
32180
|
+
},
|
|
32181
|
+
{
|
|
32182
|
+
"kind": "variable",
|
|
32183
|
+
"name": "setVariables"
|
|
32184
|
+
},
|
|
32185
|
+
{
|
|
32186
|
+
"kind": "function",
|
|
32187
|
+
"name": "variableTokens",
|
|
32188
|
+
"return": {
|
|
32189
|
+
"type": {
|
|
32190
|
+
"text": "Extension"
|
|
32191
|
+
}
|
|
32192
|
+
},
|
|
32193
|
+
"parameters": [
|
|
32194
|
+
{
|
|
32195
|
+
"name": "emptyText",
|
|
32196
|
+
"type": {
|
|
32197
|
+
"text": "(label: string) => string"
|
|
32198
|
+
}
|
|
32199
|
+
}
|
|
32200
|
+
],
|
|
32201
|
+
"description": "The variables as tokens: each `{{key}}` the app lists is drawn as its value\nand is one unit for the caret. `emptyText` says a variable without a value\nhas not been filled in."
|
|
32202
|
+
}
|
|
32203
|
+
],
|
|
32204
|
+
"exports": [
|
|
32205
|
+
{
|
|
32206
|
+
"kind": "js",
|
|
32207
|
+
"name": "VARIABLE_RE",
|
|
32208
|
+
"declaration": {
|
|
32209
|
+
"name": "VARIABLE_RE",
|
|
32210
|
+
"module": "src/components/inputs/text-editor/text-editor.variables.ts"
|
|
32211
|
+
}
|
|
32212
|
+
},
|
|
32213
|
+
{
|
|
32214
|
+
"kind": "js",
|
|
32215
|
+
"name": "setVariables",
|
|
32216
|
+
"declaration": {
|
|
32217
|
+
"name": "setVariables",
|
|
32218
|
+
"module": "src/components/inputs/text-editor/text-editor.variables.ts"
|
|
32219
|
+
}
|
|
32220
|
+
},
|
|
32221
|
+
{
|
|
32222
|
+
"kind": "js",
|
|
32223
|
+
"name": "variableTokens",
|
|
32224
|
+
"declaration": {
|
|
32225
|
+
"name": "variableTokens",
|
|
32226
|
+
"module": "src/components/inputs/text-editor/text-editor.variables.ts"
|
|
32227
|
+
}
|
|
32228
|
+
}
|
|
32229
|
+
]
|
|
32230
|
+
},
|
|
31958
32231
|
{
|
|
31959
32232
|
"kind": "javascript-module",
|
|
31960
32233
|
"path": "src/components/inputs/text-field/text-field.ts",
|