@nldd/design-system 0.30.0 → 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 +288 -15
- package/dist/cdn/autoloader.js +139 -139
- package/dist/cdn/chunks/{accordion-DgR70Lf-.js → accordion-D7VeSx-7.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-BDevWF9t.js → accordion-item-DjFnuCY9.js} +6 -6
- package/dist/cdn/chunks/{activity-indicator-B-iqA8XF.js → activity-indicator-nshVcQbZ.js} +7 -7
- package/dist/cdn/chunks/{admonition-PKX7ePb3.js → admonition-BhYcjvcU.js} +6 -6
- package/dist/cdn/chunks/{avatar-Bm_cbn5X.js → avatar-Dw9XZk73.js} +8 -8
- package/dist/cdn/chunks/{avatar-group-5XxwtbbC.js → avatar-group-B0ZliBMF.js} +16 -16
- package/dist/cdn/chunks/{badge-CpxDQfHS.js → badge-2ObEfIYt.js} +7 -7
- package/dist/cdn/chunks/{banner-Ccc9LgDk.js → banner-D9d_367R.js} +9 -9
- package/dist/cdn/chunks/{bar-split-view-0yxggCZe.js → bar-split-view-Cpq5j2Yd.js} +6 -6
- package/dist/cdn/chunks/{blockquote-CmbDjlPB.js → blockquote-M372pBfW.js} +6 -6
- package/dist/cdn/chunks/{box-DQjgR2YI.js → box-bpcNQSk1.js} +4 -4
- package/dist/cdn/chunks/{breadcrumbs-C8yzb9pA.js → breadcrumbs-YBuCnLD2.js} +7 -7
- package/dist/cdn/chunks/{button-D_KfPyHS.js → button-BsJDVMS5.js} +12 -12
- package/dist/cdn/chunks/{button-bar-f-qcw_zA.js → button-bar-C7WBKVht.js} +5 -5
- package/dist/cdn/chunks/{button-group-Dq3q44jB.js → button-group-D3zUCJnu.js} +4 -4
- package/dist/cdn/chunks/{card-CDT7nkKG.js → card-BY2Fz35J.js} +5 -5
- package/dist/cdn/chunks/{cell-B7ksoCyd.js → cell-DfQcb8oJ.js} +8 -8
- package/dist/cdn/chunks/{checkbox-CUReiYVg.js → checkbox-BurSrNRq.js} +7 -7
- package/dist/cdn/chunks/{checkbox-field-CkQ8WLSq.js → checkbox-field-jcCJRers.js} +9 -9
- package/dist/cdn/chunks/{checkbox-group-BpDzGuFk.js → checkbox-group--6ifWQ_F.js} +3 -3
- package/dist/cdn/chunks/{class-map-BQWXee9F.js → class-map-pfTGN6Lt.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CwLcukqn.js → code-editor-D6xQxxSm.js} +14 -14
- package/dist/cdn/chunks/{code-viewer-CvSF5fyg.js → code-viewer-CsO0Hzkz.js} +40 -40
- package/dist/cdn/chunks/{codemirror-input-CcaHTu9u.js → codemirror-input-Bu7mes2L.js} +328 -329
- package/dist/cdn/chunks/{collection-DqqkdrVS.js → collection-CLD0J381.js} +9 -9
- package/dist/cdn/chunks/{combo-box-BQ9jS1fP.js → combo-box-cC87aRbF.js} +12 -10
- package/dist/cdn/chunks/{container-BC5PiMvR.js → container-Dcd-wtk5.js} +5 -5
- package/dist/cdn/chunks/{custom-element-DGdiDiuN.js → custom-element-BPzCecdN.js} +1 -1
- package/dist/cdn/chunks/{date-field-Dmli_GlI.js → date-field-CfIXnk2K.js} +15 -13
- package/dist/cdn/chunks/{date-picker-BCHBh6vd.js → date-picker-D4W0Be1y.js} +13 -13
- package/dist/cdn/chunks/{decorate-D2snH_th.js → decorate-CNSW3HVY.js} +10 -12
- package/dist/cdn/chunks/{described-by-mixin-Doan1yj6.js → described-by-mixin-BNEosRlm.js} +2 -2
- package/dist/cdn/chunks/{description-cell-QL0CUcxH.js → description-cell-3zl0cEJE.js} +8 -8
- package/dist/cdn/chunks/{dev-checks-BQsZ10CZ.js → dev-checks-sh4nGzvD.js} +2 -2
- package/dist/cdn/chunks/{directive-helpers-BtIbEaBv.js → directive-helpers-C8_pU38P.js} +1 -1
- package/dist/cdn/chunks/{dist-CeovKDYB.js → dist-BA1lxpkp.js} +41 -42
- package/dist/cdn/chunks/{dist-Dj0pXI2B.js → dist-BMreXo8L.js} +33 -34
- package/dist/cdn/chunks/{dist-CUCs0edm.js → dist-BQhMIRwq.js} +103 -104
- package/dist/cdn/chunks/{dist-0sEOO4c9.js → dist-BwkztXx2.js} +337 -338
- package/dist/cdn/chunks/{dist-DizTxYTi.js → dist-C0eqMXKG.js} +9 -10
- package/dist/cdn/chunks/{dist-3C80SZN9.js → dist-CYoggrc-.js} +100 -101
- package/dist/cdn/chunks/{dist-QheJD595.js → dist-D8GVh7JF.js} +103 -103
- package/dist/cdn/chunks/{dist-BTUxFM2V.js → dist-DHJOmDf7.js} +1 -1
- package/dist/cdn/chunks/{dist-Dtn2rsM6.js → dist-DosCjwbX.js} +10 -11
- package/dist/cdn/chunks/{dist-CJ-hLN4o.js → dist-Du5XeaUH.js} +80 -81
- package/dist/cdn/chunks/{dist-BX-aE56q.js → dist-DwGJ42jg.js} +13 -14
- package/dist/cdn/chunks/{dist-DM49yEzE.js → dist-DzvZLbav.js} +37 -38
- package/dist/cdn/chunks/{dist-CoM5yDHD.js → dist-UPMuGK3l.js} +12 -13
- package/dist/cdn/chunks/{divider-D8o0JPE2.js → divider-ja-sWdqK.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-BX6UhFBl.js → document-tab-bar-CzlWDPeb.js} +10 -10
- package/dist/cdn/chunks/{dropdown-afozwXVW.js → dropdown-CDnfyMTi.js} +6 -6
- package/dist/cdn/chunks/{file-field-BKhUYcHf.js → file-field-VGbq3duI.js} +16 -16
- package/dist/cdn/chunks/{floating-ui.dom-CB34tcZx.js → floating-ui.dom-DlsknQ4T.js} +3 -3
- package/dist/cdn/chunks/{form-DnZIiX9b.js → form-EDk-AXxW.js} +1 -1
- package/dist/cdn/chunks/{form-actions-Ddg9vIVq.js → form-actions-DJlOHVjC.js} +2 -2
- package/dist/cdn/chunks/{form-associated-mixin-BMQQpMlL.js → form-associated-mixin-BDrjhoXJ.js} +2 -2
- package/dist/cdn/chunks/{form-field-DDBYuAl_.js → form-field-DwfFYaIJ.js} +17 -8
- package/dist/cdn/chunks/{form-section-Co0TM35-.js → form-section-D5pvpU0g.js} +3 -3
- package/dist/cdn/chunks/{full-bleed-section-DD8ibmsa.js → full-bleed-section-B2lrxacX.js} +4 -4
- package/dist/cdn/chunks/{hero-BYrY2MZc.js → hero-8OBYFEcb.js} +5 -5
- package/dist/cdn/chunks/{icon-BzeHXcdi.js → icon-DZh6I8EN.js} +4 -4
- package/dist/cdn/chunks/{icon-button-BErQf42w.js → icon-button-Cfl9Uloz.js} +12 -12
- package/dist/cdn/chunks/{icon-cell-DGIMXKxK.js → icon-cell-BKxm4x3C.js} +8 -7
- package/dist/cdn/chunks/{identity-Cq-WnU6u.js → identity-D6mA_Ysl.js} +10 -10
- package/dist/cdn/chunks/{if-defined-CuY6t6gH.js → if-defined-Laa7Mar_.js} +1 -1
- package/dist/cdn/chunks/{image-BjjyqV0V.js → image-BNQlE_4Z.js} +10 -10
- package/dist/cdn/chunks/{inline-dialog-Bk2G7f5r.js → inline-dialog-5vpq_6bt.js} +10 -10
- package/dist/cdn/chunks/{just-in-time-education-Dxh5DNCy.js → just-in-time-education-C8uCzm2s.js} +7 -7
- package/dist/cdn/chunks/{kanban-BvmtB9D9.js → kanban-_aubAWTm.js} +7 -7
- package/dist/cdn/chunks/{kanban-column-CJ2g7pgA.js → kanban-column-CmitV46A.js} +38 -37
- package/dist/cdn/chunks/{keyboard-shortcut-BV5DFQtT.js → keyboard-shortcut-DY96tl24.js} +5 -5
- package/dist/cdn/chunks/{languages-DJjHEjGl.js → languages-B0lgBg4r.js} +3486 -1841
- package/dist/cdn/chunks/{link-BcukwT5Y.js → link-CEyAJ_y7.js} +7 -7
- package/dist/cdn/chunks/{link-group-Ci1q3uEd.js → link-group-DwnzL75g.js} +3 -3
- package/dist/cdn/chunks/{list-CFFHWUSC.js → list-D-_Z5AED.js} +11 -11
- package/dist/cdn/chunks/{list-item-Bg1NyOXd.js → list-item-BqzGOqJl.js} +7 -7
- package/dist/cdn/chunks/{list-item-segment-DJ8pk08-.js → list-item-segment-Ct876W0e.js} +5 -5
- package/dist/cdn/chunks/{menu-BEjqhn1-.js → menu-BDLqu0jO.js} +13 -13
- package/dist/cdn/chunks/{menu-bar-DkjXy-TE.js → menu-bar-DbCYdFuj.js} +7 -7
- package/dist/cdn/chunks/{menu-bar-item-3cJS29Ey.js → menu-bar-item-CFfcPjci.js} +7 -7
- package/dist/cdn/chunks/{menu-divider-CYmEimsb.js → menu-divider-DTzCjHnW.js} +4 -4
- package/dist/cdn/chunks/{menu-group-ggwAcgis.js → menu-group-rYPRHllx.js} +6 -6
- package/dist/cdn/chunks/{menu-item-BzH9H87h.js → menu-item-CjzoSHHj.js} +6 -6
- package/dist/cdn/chunks/{menu.template-PG82-P20.js → menu.template-D7dG2HRa.js} +10 -7
- package/dist/cdn/chunks/{modal-dialog-Bu7ETELf.js → modal-dialog-Cjn3EHfN.js} +5 -5
- package/dist/cdn/chunks/{multi-line-text-field-CQTKNBN7.js → multi-line-text-field-B8DstPYy.js} +9 -7
- package/dist/cdn/chunks/{navigation-split-view-elMoUjHh.js → navigation-split-view-BHM4b_Gb.js} +5 -5
- package/dist/cdn/chunks/{nl.generated-Lu29XEF3.js → nl.generated-Bu83qDco.js} +2 -2
- package/dist/cdn/chunks/{notification-DCjXGfbY.js → notification-CieKHgKd.js} +8 -8
- package/dist/cdn/chunks/{number-field-BUQUcG--.js → number-field-CVYaConf.js} +12 -10
- package/dist/cdn/chunks/{one-half-one-half-section-DiGkeUVr.js → one-half-one-half-section-aMdIJ_5N.js} +4 -4
- package/dist/cdn/chunks/{one-third-two-thirds-section-q_AP4qIJ.js → one-third-two-thirds-section-Dalek6lE.js} +4 -4
- package/dist/cdn/chunks/{one-time-code-field-BybS_l6h.js → one-time-code-field-BxkICLRG.js} +19 -14
- package/dist/cdn/chunks/{overflow-menu-Duey_XJs.js → overflow-menu-GR6uppZW.js} +1 -1
- package/dist/cdn/chunks/{page-BrIeWp1b.js → page-C18ixnPr.js} +7 -7
- package/dist/cdn/chunks/{page-footer-DPQg9Qbw.js → page-footer-CP6K-aw-.js} +6 -6
- package/dist/cdn/chunks/{page-section-mixin-B8FbeXaK.js → page-section-mixin-BLPRaUH6.js} +4 -4
- package/dist/cdn/chunks/{pagination-CfLJwflH.js → pagination-YLIq3Jcw.js} +8 -8
- package/dist/cdn/chunks/{password-field-CmoopbNF.js → password-field-CCRqiNHh.js} +12 -10
- package/dist/cdn/chunks/{popover-CPAR4N_a.js → popover-NvRaYQGL.js} +9 -9
- package/dist/cdn/chunks/{progress-bar-vKGXvxfe.js → progress-bar-DS0_RN2t.js} +9 -9
- package/dist/cdn/chunks/{progress-circle-dweisHzt.js → progress-circle-B5zlQKGK.js} +9 -9
- package/dist/cdn/chunks/{radio-button-field-DCrWiVoA.js → radio-button-field-DZ2p1w_S.js} +8 -8
- package/dist/cdn/chunks/{radio-button-DE1K49_2.js → radio-button-gY-u--Id.js} +6 -6
- package/dist/cdn/chunks/{radio-button-group-oLP_1cGy.js → radio-button-group-C0VdrjGz.js} +3 -3
- package/dist/cdn/chunks/{reflect-non-default-Bu3rpCvg.js → reflect-non-default-DUOcGZKf.js} +1 -1
- package/dist/cdn/chunks/{render-marked-BE3kBc1D.js → render-marked-SMLwIKOz.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-COCN6knt.js → reorder-handle-cell-BfNGWoUb.js} +5 -5
- package/dist/cdn/chunks/{reorder-handle-mixin-CG-KhmuT.js → reorder-handle-mixin-Dy5l6J0C.js} +2 -2
- package/dist/cdn/chunks/{repeat-D69H_dsv.js → repeat-HQymq8gF.js} +2 -2
- package/dist/cdn/chunks/{rich-text-jEyIU58i.js → rich-text-BALF1UpX.js} +4 -4
- package/dist/cdn/chunks/{rolldown-runtime-CGnMp29N.js → rolldown-runtime-BMBA7GOT.js} +2 -2
- package/dist/cdn/chunks/{row-header-mixin-BejxhOCs.js → row-header-mixin-De75PIGu.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-Cae9xqXr.js → scroll-fade-Bj7GnOWo.js} +2 -2
- package/dist/cdn/chunks/{search-field-B8woxFh-.js → search-field-DP7e4bm8.js} +13 -11
- package/dist/cdn/chunks/{segmented-control-DbOi6Wk6.js → segmented-control-BXtb8I7v.js} +8 -8
- package/dist/cdn/chunks/{shadow-resets-CNmJbdJw.js → shadow-resets-CF-vkJJ8.js} +2 -2
- package/dist/cdn/chunks/{sheet-bK663_K4.js → sheet-Beykq5Xb.js} +4 -4
- package/dist/cdn/chunks/{shell-DLu1fHOH.js → shell-CTGO74H-.js} +4 -4
- package/dist/cdn/chunks/{side-by-side-split-view-vNhUmTiE.js → side-by-side-split-view-BZlxFAIM.js} +6 -6
- package/dist/cdn/chunks/{sidebar-section-CoE5F_h5.js → sidebar-section-CsODVvuK.js} +9 -9
- package/dist/cdn/chunks/{simple-section-1v7a_ZgI.js → simple-section-9pgvujZx.js} +4 -4
- package/dist/cdn/chunks/{skip-link-C6B6mMkA.js → skip-link-qdhDQoe7.js} +6 -6
- package/dist/cdn/chunks/{slider-BT-q6SP2.js → slider-CR_O2nPE.js} +10 -10
- package/dist/cdn/chunks/{spacer-DlFn3NtV.js → spacer-DbZEWOe2.js} +4 -4
- package/dist/cdn/chunks/{spacer-cell-Dy_twSDQ.js → spacer-cell-BnDgG-8g.js} +6 -6
- package/dist/cdn/chunks/{split-button-URHM5eTx.js → split-button-rY9ZZF4m.js} +8 -8
- package/dist/cdn/chunks/{split-view-divider-DeLyeDBx.js → split-view-divider-CXsR2koZ.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-D0kiQJmL.js → stacked-split-view-CA97yLNG.js} +6 -6
- package/dist/cdn/chunks/{static-html-CAKb1-Ht.js → static-html-CfvOicw5.js} +1 -1
- package/dist/cdn/chunks/{status-bar-Bov-LrPy.js → status-bar-Cg0AkR2_.js} +14 -6
- package/dist/cdn/chunks/{step-bar-BLtsl_S_.js → step-bar-CAF54DmI.js} +7 -7
- package/dist/cdn/chunks/{step-cell-cxM7vhtH.js → step-cell-BfmEAqar.js} +6 -6
- package/dist/cdn/chunks/{stepper-DeIcLT7G.js → stepper-C2oRKeaC.js} +9 -9
- package/dist/cdn/chunks/{style-map-CQX4CmTz.js → style-map-BZRDrOiA.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-A7AU6Agu.js → swatch-picker-DW07gML2.js} +7 -7
- package/dist/cdn/chunks/{switch-D0UPsKws.js → switch-D3dbZ1J9.js} +8 -8
- package/dist/cdn/chunks/{switch-field-D63lc5C0.js → switch-field-DrP2P8J-.js} +8 -8
- package/dist/cdn/chunks/{tab-bar-CzGSRfKd.js → tab-bar-D0VfxxWN.js} +21 -17
- package/dist/cdn/chunks/tab-bar.i18n-9sChoP56.js +6 -0
- package/dist/cdn/chunks/{table-DfunY2Dn.js → table-CWQWdro8.js} +6 -6
- package/dist/cdn/chunks/{tag-DSWjjDBo.js → tag-Dc2wNx-T.js} +6 -6
- package/dist/cdn/chunks/{term-Bk9cdlCz.js → term-DUIQ5xer.js} +12 -12
- package/dist/cdn/chunks/{text-CDBiVulh.js → text-BGobv84x.js} +5 -5
- package/dist/cdn/chunks/{text-cell-DUOJAXZo.js → text-cell-CGvUJRLw.js} +11 -11
- package/dist/cdn/chunks/{text-editor-BIbYF0AB.js → text-editor-CHsINr20.js} +1308 -904
- package/dist/cdn/chunks/{text-editor.i18n-sJKiRQ4i.js → text-editor.i18n-Cl_BYDwS.js} +2 -1
- package/dist/cdn/chunks/{text-field-CAnQNcXB.js → text-field-CpSGZVmD.js} +9 -7
- package/dist/cdn/chunks/{text-wrap-COu7AY91.js → text-wrap-DHroWilR.js} +2 -2
- package/dist/cdn/chunks/{time-field-xriXgFMl.js → time-field-CJVbIp-l.js} +17 -15
- package/dist/cdn/chunks/{time-picker-D3_KbYUW.js → time-picker-S2rQpNA-.js} +9 -9
- package/dist/cdn/chunks/{title-HPn4c-s5.js → title-DrogO1fi.js} +6 -6
- package/dist/cdn/chunks/{title-cell-BXMZkbXf.js → title-cell-CX_yGWvW.js} +10 -10
- package/dist/cdn/chunks/{toggle-button-DY22KEwY.js → toggle-button-CwVn3pQ-.js} +10 -10
- package/dist/cdn/chunks/{toggle-button-group-DsjZofEG.js → toggle-button-group-BY4GlP2N.js} +3 -3
- package/dist/cdn/chunks/{token-field-CQxSARGi.js → token-field-CgE9PfeW.js} +13 -11
- package/dist/cdn/chunks/{token-DwT2i71b.js → token-vYddtNLa.js} +7 -7
- package/dist/cdn/chunks/{toolbar-CaDvhCqm.js → toolbar-Cl9XcbRF.js} +10 -10
- package/dist/cdn/chunks/{toolbar-item-BDl4ys-w.js → toolbar-item-BQKbNQGY.js} +5 -8
- package/dist/cdn/chunks/{toolbar-title-yGR8Hzhp.js → toolbar-title-Ka7Q_vfZ.js} +5 -5
- package/dist/cdn/chunks/{toolbar.styles-DlyfZkRq.js → toolbar.styles-QMkPXyiR.js} +4 -3
- package/dist/cdn/chunks/{tooltip-BDiYghAz.js → tooltip-BERJsBSV.js} +8 -8
- package/dist/cdn/chunks/{top-navigation-bar-ibsjezN_.js → top-navigation-bar-CJCQf83I.js} +19 -19
- package/dist/cdn/chunks/{top-title-bar-BKdwEZfj.js → top-title-bar-CT4gj9gn.js} +12 -9
- package/dist/cdn/chunks/{two-thirds-one-third-section-DmumCsGo.js → two-thirds-one-third-section-CQwCU61R.js} +4 -4
- package/dist/cdn/chunks/{validation-list-CXcJfvOJ.js → validation-list-3b8a8S3f.js} +5 -5
- package/dist/cdn/chunks/{visibility-mixin-C7s59UlL.js → visibility-mixin-BDaVoR0J.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-CMzKHcSc.js → visually-hidden-GgT4UkeT.js} +2 -2
- package/dist/cdn/chunks/{window-CSNx5wt1.js → window-BTU1k5p4.js} +5 -5
- package/dist/cdn/chunks/{with-translations-0oyNXfdD.js → with-translations-D3sJ-X8x.js} +3 -3
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +4 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.js +1 -7
- package/dist/components/actions/toolbar/toolbar-item.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.styles.js +1 -0
- package/dist/components/actions/toolbar/toolbar.styles.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +6 -0
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +6 -0
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/identity/identity.styles.js +2 -2
- package/dist/components/content/rich-text/rich-text.d.ts +8 -8
- package/dist/components/content/rich-text/rich-text.js +8 -8
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +9 -0
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- 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/components/layout/split-views/bar-split-view/bar-split-view.d.ts +1 -0
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +1 -0
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js +2 -1
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.styles.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +8 -0
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.i18n.d.ts +1 -0
- package/dist/components/navigation/tab-bar/tab-bar.i18n.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.i18n.js +1 -0
- package/dist/components/navigation/tab-bar/tab-bar.i18n.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +16 -0
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +3 -2
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +1 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +6 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +12 -6
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +28 -7
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/css/rich-text.css +5 -0
- 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 +1852 -1714
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +2 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +2 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +2 -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 +2 -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 +2 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +8 -8
- package/dist/types/vue.d.ts +10 -8
- package/dist/utilities/dev-rules.generated.js +1 -1
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/reflect-non-default.d.ts +2 -1
- package/dist/utilities/reflect-non-default.d.ts.map +1 -1
- package/dist/utilities/reflect-non-default.js +3 -2
- package/dist/utilities/reflect-non-default.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/package.json +6 -6
- package/dist/cdn/chunks/style-mod-DGMhzWuk.js +0 -1583
- package/dist/cdn/chunks/tab-bar.i18n-Crsc7ShA.js +0 -3
package/custom-elements.json
CHANGED
|
@@ -6503,7 +6503,7 @@
|
|
|
6503
6503
|
"declarations": [
|
|
6504
6504
|
{
|
|
6505
6505
|
"kind": "class",
|
|
6506
|
-
"description": "An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute, which the component draws as a `<p>`, or as a `<p>` of your own in the slot. Use the slot for richer content and put it in that `<p>`: a `<time datetime=\"…\">` for a machine-readable date, or an `nldd-link` to the author's profile. Text with a plain link, bold or code in it goes in the slot as an `nldd-text` with the `<p>` in it, which brings the inline styles of nldd-text. Slotted content replaces the matching attribute. Each of the two chooses for itself, so a `<p>` with a link in `text` can go with plain `supporting-text`. The element in a slot takes the text style of the identity, an nldd-text too: a font, margin or other style the page sets on it does not apply, and nor does a `size`, `color` or `weight` on the nldd-text. One avatar you slot as it is, and identity gives it its size. For more than one, slot an `nldd-avatar-group`: that overlaps them and draws the ring in the surface color. Identity does not build that group itself, because the avatars are the consumer's light DOM and a group can only style what arrives as its own child. On a colored surface, pass that color on through `--context-background-color` so the ring follows it. Set the avatars to decorative (or an `img` to `alt=\"\"`) when the names already stand in the text. On narrow widths (an sm container, 640px and under) with more than one avatar the row of avatars moves above the names, so the text keeps the full width. With one avatar the identity stays on a single line. For a single avatar you can also hand over `avatar-src` (with an optional `avatar-srcset`) as an attribute instead of slotting; its size is fixed at 40px. Slotted avatars take precedence over `avatar-src`.",
|
|
6506
|
+
"description": "An editorial line that shows authors or editors: optional avatar or avatars, a name line and supporting text (a role or a date, for instance). Every part is optional. The name line and the supporting text come in as an attribute, which the component draws as a `<p>`, or as a `<p>` of your own in the slot. Use the slot for richer content and put it in that `<p>`: a `<time datetime=\"…\">` for a machine-readable date, or an `nldd-link` to the author's profile. Text with a plain link, bold or code in it goes in the slot as an `nldd-text` with the `<p>` in it, which brings the inline styles of nldd-text. Slotted content replaces the matching attribute. Each of the two chooses for itself, so a `<p>` with a link in `text` can go with plain `supporting-text`. The element in a slot takes the text style of the identity, an nldd-text too: a font, margin or other style the page sets on it does not apply, and nor does a `size`, `color` or `weight` on the nldd-text. The name line, the supporting text and the links in them take their colors from the surface the identity stands on, such as the accent panel of `nldd-hero`. On such a colored surface, slot the avatar and give it `color=\"content\"`: the neutral fill hardly stands out there in the dark scheme. An avatar from `avatar-src` is always neutral. One avatar you slot as it is, and identity gives it its size. For more than one, slot an `nldd-avatar-group`: that overlaps them and draws the ring in the surface color. Identity does not build that group itself, because the avatars are the consumer's light DOM and a group can only style what arrives as its own child. On a colored surface, pass that color on through `--context-background-color` so the ring follows it. Set the avatars to decorative (or an `img` to `alt=\"\"`) when the names already stand in the text. On narrow widths (an sm container, 640px and under) with more than one avatar the row of avatars moves above the names, so the text keeps the full width. With one avatar the identity stays on a single line. For a single avatar you can also hand over `avatar-src` (with an optional `avatar-srcset`) as an attribute instead of slotting; its size is fixed at 40px. Slotted avatars take precedence over `avatar-src`.",
|
|
6507
6507
|
"name": "NLDDIdentity",
|
|
6508
6508
|
"members": [
|
|
6509
6509
|
{
|
|
@@ -7500,7 +7500,7 @@
|
|
|
7500
7500
|
},
|
|
7501
7501
|
"default": "false",
|
|
7502
7502
|
"fieldName": "hyphens",
|
|
7503
|
-
"description": "Opt-in automatic hyphenation for running text (p, li, dd, td). Needs a correct `lang` on the page (`lang=\"nl\"` on `<html>`, for instance): without language information the browser does not hyphenate. Without this attribute, a word wider than the column still breaks between two letters, in p, li, dt and dd, so no text runs out of it. In a table a column is never narrower than its longest word: the table scrolls instead. Inline `code` breaks as the text around it does, at its own hyphens and never by syllable, so a column with code in it is as wide as its longest piece, and a long URL makes the table scroll as a URL outside code does. Headings are hyphenated regardless of this attribute, but only a word of at least 12 letters, as in `nldd-title`, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own."
|
|
7503
|
+
"description": "Opt-in automatic hyphenation for running text (p, li, dd, td). Needs a correct `lang` on the page (`lang=\"nl\"` on `<html>`, for instance): without language information the browser does not hyphenate. Without this attribute, a word wider than the column still breaks between two letters, in p, li, dt and dd, so no text runs out of it. In a table a column is never narrower than 120px, about 15 characters, or its longest word: the table scrolls instead. Inline `code` breaks as the text around it does, at its own hyphens and never by syllable, so a column with code in it is as wide as its longest piece, and a long URL makes the table scroll as a URL outside code does. Headings are hyphenated regardless of this attribute, but only a word of at least 12 letters, as in `nldd-title`, so a short word moves to the next line whole. A soft hyphen (`­`) adds a place to break of your own."
|
|
7504
7504
|
},
|
|
7505
7505
|
{
|
|
7506
7506
|
"name": "translations",
|
|
@@ -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",
|
|
@@ -44124,7 +44397,7 @@
|
|
|
44124
44397
|
"declarations": [
|
|
44125
44398
|
{
|
|
44126
44399
|
"kind": "class",
|
|
44127
|
-
"description": "A vertical split view with a main area and an unlimited number of bar panels. Each child determines its order per breakpoint via sm-order, md-order, and lg-order. Children without order attributes are sorted by DOM order. All bars are in normal flow at every breakpoint and stack vertically. A divider is drawn only where the main pane meets an adjacent bar (directly above and/or below main), at every breakpoint including sm. Two stacked bars on the same side never get a divider between them, so a toolbar and a tab-bar read as one visual unit. Consumers never manage dividers themselves. Give each bar a unique slot name (e.g. slot=\"toolbar\", slot=\"status-bar\"). Use slot=\"bar-1\", slot=\"bar-2\" if no meaningful name applies. The main panel always uses slot=\"main\". Sets --context-background-color, which cascades to all descendants.",
|
|
44400
|
+
"description": "A vertical split view with a main area and an unlimited number of bar panels. Each child determines its order per breakpoint via sm-order, md-order, and lg-order. Children without order attributes are sorted by DOM order. All bars are in normal flow at every breakpoint and stack vertically. A divider is drawn only where the main pane meets an adjacent bar (directly above and/or below main), at every breakpoint including sm. Two stacked bars on the same side never get a divider between them, so a toolbar and a tab-bar read as one visual unit. Consumers never manage dividers themselves. Give each bar a unique slot name (e.g. slot=\"toolbar\", slot=\"status-bar\"). Use slot=\"bar-1\", slot=\"bar-2\" if no meaningful name applies. The main panel always uses slot=\"main\". An nldd-status-bar is a bar of its own and comes first, above the toolbar. Sets --context-background-color, which cascades to all descendants.",
|
|
44128
44401
|
"name": "NLDDBarSplitView",
|
|
44129
44402
|
"members": [
|
|
44130
44403
|
{
|
|
@@ -54334,7 +54607,7 @@
|
|
|
54334
54607
|
"declarations": [
|
|
54335
54608
|
{
|
|
54336
54609
|
"kind": "class",
|
|
54337
|
-
"description": "A narrow, page-wide status bar (24px) with a deep background color per variant. Use it for persistent system state: an outage, planned maintenance, a draft view or a recording in progress. The bar deliberately shows no icon and supports text only. The text itself has to name the status (\"Storing: …\", \"Gepland onderhoud …\"), so the meaning does not follow from color alone (WCAG 1.4.1). Keep the text short: the bar shows one line and truncates with an ellipsis, certainly on narrower screens. For a long message with a lot of information only the essence belongs in the bar. Point to a separate page or sheet for the rest (through `href` or `button`, for instance), where the user can read on. The whole bar can be clickable: set `href` (renders an `<a>`) or `button` (renders a `<button>`; listen for the native `click` event). Without either the bar is static. On interaction a chevron appears as an affordance. One action per bar at most; several actions, or links in running text, belong in nldd-banner. The bar is the first thing on the screen: above nldd-top-navigation-bar or nldd-top-title-bar, across the whole app, also when a split view shows several panes. It reports the state of the service, not of one page, so it never sits inside the content or below a top bar. Below a top bar it says so in development. At the top of the page, in Safari, its color carries on above the page when the page is pulled down, and the ribbon of an nldd-top-navigation-bar below it then starts under the bar, as it does at rest. role and aria-live are set automatically from the variant: - critical → role=\"alert\" (implies aria-live=\"assertive\"; interrupts the screen reader) - others → role=\"status\" aria-live=\"polite\" Not overridable. If you need a quieter component, pick a different one. Use `critical` only for a real emergency: role=\"alert\" interrupts the screen reader on every change of the content, so do not put text in it that changes regularly (a counting-down timer, for example).",
|
|
54610
|
+
"description": "A narrow, page-wide status bar (24px) with a deep background color per variant. Use it for persistent system state: an outage, planned maintenance, a draft view or a recording in progress. The bar deliberately shows no icon and supports text only. The text itself has to name the status (\"Storing: …\", \"Gepland onderhoud …\"), so the meaning does not follow from color alone (WCAG 1.4.1). Keep the text short: the bar shows one line and truncates with an ellipsis, certainly on narrower screens. For a long message with a lot of information only the essence belongs in the bar. Point to a separate page or sheet for the rest (through `href` or `button`, for instance), where the user can read on. The whole bar can be clickable: set `href` (renders an `<a>`) or `button` (renders a `<button>`; listen for the native `click` event). Without either the bar is static. On interaction a chevron appears as an affordance. One action per bar at most; several actions, or links in running text, belong in nldd-banner. The bar is the first thing on the screen: above nldd-top-navigation-bar or nldd-top-title-bar, across the whole app, also when a split view shows several panes. It reports the state of the service, not of one page, so it never sits inside the content or below a top bar. In a website it goes first in the `header` slot of nldd-page. In an application with nldd-bar-split-view it goes first in the split view, as a bar of its own (`slot=\"status-bar\"`), above the toolbar. Below a top bar, or below a toolbar in a bar of the split view it stands in, it says so in development. At the top of the page, in Safari, its color carries on above the page when the page is pulled down, and the ribbon of an nldd-top-navigation-bar below it then starts under the bar, as it does at rest. role and aria-live are set automatically from the variant: - critical → role=\"alert\" (implies aria-live=\"assertive\"; interrupts the screen reader) - others → role=\"status\" aria-live=\"polite\" Not overridable. If you need a quieter component, pick a different one. Use `critical` only for a real emergency: role=\"alert\" interrupts the screen reader on every change of the content, so do not put text in it that changes regularly (a counting-down timer, for example).",
|
|
54338
54611
|
"name": "NLDDStatusBar",
|
|
54339
54612
|
"members": [
|
|
54340
54613
|
{
|
|
@@ -60857,7 +61130,7 @@
|
|
|
60857
61130
|
}
|
|
60858
61131
|
}
|
|
60859
61132
|
],
|
|
60860
|
-
"description": "A Lit attribute converter for a reflected property whose DEFAULT value should\nnot appear in the DOM. Works for an enum (a string union) and for a number.\n\nIt reflects any non-default value to the attribute (so `:host([prop=\"x\"])`\nstyling and framework property binding keep working), but maps the default to\n*no* attribute (`toAttribute` returns null), so the DOM isn't polluted with a\nredundant `prop=\"<default>\"` on every instance.\n\nPair it with `reflect: true`. The component's default styling must then live\non the bare `:host` (not `:host([prop=\"<default>\"])`), since a default-valued\nelement carries no attribute to select on.\n\nKnown edge: if markup writes the default *explicitly* (e.g. `<nldd-button\nsize=\"md\">`), `fromAttribute` resolves the property to the value it already\nholds, so Lit's default `hasChanged` sees no change, schedules no update, and\n`toAttribute` never runs to strip the attribute — so that one authored default\nattribute stays in the DOM. Visual behavior is unaffected (styling keys off the\nbare `:host`); it only matters to code matching `[prop=\"<default>\"]`, which\nshould read the property instead. Not worth a fragile `hasChanged` workaround."
|
|
61133
|
+
"description": "A Lit attribute converter for a reflected property whose DEFAULT value should\nnot appear in the DOM. Works for an enum (a string union) and for a number.\n\nIt reflects any non-default value to the attribute (so `:host([prop=\"x\"])`\nstyling and framework property binding keep working), but maps the default to\n*no* attribute (`toAttribute` returns null), so the DOM isn't polluted with a\nredundant `prop=\"<default>\"` on every instance. `undefined` and `null`, which\na framework passes for a prop that is left out, get no attribute either.\n\nPair it with `reflect: true`. The component's default styling must then live\non the bare `:host` (not `:host([prop=\"<default>\"])`), since a default-valued\nelement carries no attribute to select on.\n\nKnown edge: if markup writes the default *explicitly* (e.g. `<nldd-button\nsize=\"md\">`), `fromAttribute` resolves the property to the value it already\nholds, so Lit's default `hasChanged` sees no change, schedules no update, and\n`toAttribute` never runs to strip the attribute — so that one authored default\nattribute stays in the DOM. Visual behavior is unaffected (styling keys off the\nbare `:host`); it only matters to code matching `[prop=\"<default>\"]`, which\nshould read the property instead. Not worth a fragile `hasChanged` workaround."
|
|
60861
61134
|
}
|
|
60862
61135
|
],
|
|
60863
61136
|
"exports": [
|