@nldd/design-system 0.25.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +2845 -79
- package/dist/cdn/autoloader.js +141 -140
- package/dist/cdn/chunks/{accordion-B7KdKJno.js → accordion-DA4IlxS5.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-CVy8Apta.js → accordion-item-Ca1o93cq.js} +9 -7
- package/dist/cdn/chunks/{activity-indicator-CpJVlX6K.js → activity-indicator-Cj4H0Mbz.js} +5 -5
- package/dist/cdn/chunks/{admonition-C89WHJ9a.js → admonition-CdZSoO8O.js} +9 -7
- package/dist/cdn/chunks/{avatar-Bf0OfAtQ.js → avatar-Dhqn-Dmv.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-BeBAv2wB.js → avatar-group-B017eF-u.js} +15 -15
- package/dist/cdn/chunks/{badge-C43FvgkK.js → badge-Bep5B0_g.js} +5 -5
- package/dist/cdn/chunks/{banner-OWK0gwFb.js → banner-DGpIXuE2.js} +7 -7
- package/dist/cdn/chunks/{bar-split-view-Dj1WycIW.js → bar-split-view-CKwJxd3e.js} +5 -5
- package/dist/cdn/chunks/{blockquote-D_5MxcSi.js → blockquote-ChMgaOuI.js} +3 -3
- package/dist/cdn/chunks/{box-BUoxiA7b.js → box-BRmziG-6.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DXxJTACL.js → breadcrumbs-BeVO8bkQ.js} +5 -5
- package/dist/cdn/chunks/{button-bar-BSt-QQRG.js → button-bar-CLxOdalJ.js} +3 -3
- package/dist/cdn/chunks/{button-DpKyquzm.js → button-cHBkq_s7.js} +9 -9
- package/dist/cdn/chunks/{button-group-D5QJWJzh.js → button-group-BIvKtEIX.js} +2 -2
- package/dist/cdn/chunks/{card-Cz4f-dCf.js → card-B5gp9Zly.js} +8 -6
- package/dist/cdn/chunks/{cell-zFw2V9wD.js → cell-D4Nrd5Z9.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BDp3O8Nc.js → checkbox-CeLTJhAc.js} +4 -4
- package/dist/cdn/chunks/checkbox-field-C8cU8fuf.js +244 -0
- package/dist/cdn/chunks/checkbox-group-CC72cq-P.js +103 -0
- package/dist/cdn/chunks/{class-map-C7ao595e.js → class-map-xzscTu4B.js} +1 -1
- package/dist/cdn/chunks/{code-editor-Chm9EG_v.js → code-editor-BNhlXTSl.js} +10 -10
- package/dist/cdn/chunks/{code-viewer-DX322d7w.js → code-viewer-D_JwouYO.js} +35 -35
- package/dist/cdn/chunks/{codemirror-input-BLMJQbHq.js → codemirror-input-DJ0wgYrc.js} +368 -368
- package/dist/cdn/chunks/{collection-Bf8HoSki.js → collection-BXvz_OtU.js} +8 -8
- package/dist/cdn/chunks/{combo-box-VuU_F54v.js → combo-box-8kbmoStb.js} +10 -9
- package/dist/cdn/chunks/{container-qVTgmbpz.js → container-Dq-2uHd5.js} +2 -2
- package/dist/cdn/chunks/{custom-element-C5yyaCZS.js → custom-element-DeaCQ2NP.js} +1 -1
- package/dist/cdn/chunks/{date-field-By9Q8151.js → date-field-CQg1_73u.js} +13 -13
- package/dist/cdn/chunks/{date-picker-DtA4PXCh.js → date-picker-CTMxGOiA.js} +10 -10
- package/dist/cdn/chunks/{decorate-CkbtFnic.js → decorate-CCYde2ES.js} +1 -1
- package/dist/cdn/chunks/described-by-mixin-BYFim7aO.js +62 -0
- package/dist/cdn/chunks/{description-cell-D2INE8A3.js → description-cell-GcVeCz2_.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-UHHli7gE.js → dev-checks-CSlbfDuF.js} +43 -5
- package/dist/cdn/chunks/directive-helpers-DgaADFyY.js +24 -0
- package/dist/cdn/chunks/{dist-BG0xnVUi.js → dist-1OQdP4ho.js} +10 -10
- package/dist/cdn/chunks/{dist-C-T4uKP1.js → dist-5vPsM2aV.js} +8 -8
- package/dist/cdn/chunks/{dist-VXOtAJ-m.js → dist-B23jHvJ5.js} +15 -15
- package/dist/cdn/chunks/{dist-Cm51DQO4.js → dist-CNy2sPTt.js} +6 -6
- package/dist/cdn/chunks/{dist-B1pwN_VD.js → dist-CcpLhc4y.js} +7 -7
- package/dist/cdn/chunks/{dist-Ce38ZA7b.js → dist-CyDpBAaD.js} +7 -7
- package/dist/cdn/chunks/{dist-pCih3zzc.js → dist-D4SViUJx.js} +21 -21
- package/dist/cdn/chunks/{dist-qo8avphr.js → dist-DBxjWahH.js} +4 -4
- package/dist/cdn/chunks/{dist-BzfFo9Yu.js → dist-DLtwMUDc.js} +18 -18
- package/dist/cdn/chunks/{dist-Dg3ySzj7.js → dist-Da_liXcd.js} +124 -124
- package/dist/cdn/chunks/{dist-zxb4QZZG.js → dist-VCymi0hs.js} +250 -250
- package/dist/cdn/chunks/{divider-Cv_vyHvw.js → divider-8XD3xTbl.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CdOxr8KC.js → document-tab-bar-RBAmckHS.js} +9 -9
- package/dist/cdn/chunks/{dropdown-DC9J6k0P.js → dropdown-DVlxPcjr.js} +5 -5
- package/dist/cdn/chunks/field-button-controller-yvICuXoE.js +26 -0
- package/dist/cdn/chunks/{file-field-CsrTk4uk.js → file-field-BrHnFplX.js} +12 -12
- package/dist/cdn/chunks/{form-ClOD1OKh.js → form-DGHeGEIr.js} +1 -1
- package/dist/cdn/chunks/{form-actions-CwaXGj43.js → form-actions-CHwWKfMM.js} +2 -2
- package/dist/cdn/chunks/{form-field-LoX9v2Pa.js → form-field-CdTSI-8h.js} +21 -16
- package/dist/cdn/chunks/{form-section-i6piyKuy.js → form-section-CjECOIiZ.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-6aAfCnez.js → full-bleed-section-CQgq4iGQ.js} +3 -3
- package/dist/cdn/chunks/{hero-CTQAayXT.js → hero-DhdcYt2N.js} +4 -4
- package/dist/cdn/chunks/{icon-button-DuEiOOoc.js → icon-button-DT_Bi4Ac.js} +17 -13
- package/dist/cdn/chunks/{icon-cell-uZkR3hZx.js → icon-cell-C-qrZAlN.js} +5 -5
- package/dist/cdn/chunks/{icon-B5kHyCz2.js → icon-qpmEfU9B.js} +2 -2
- package/dist/cdn/chunks/{identity-DR6DMjke.js → identity-DFmvuPkl.js} +6 -6
- package/dist/cdn/chunks/{if-defined-B7fJBsUt.js → if-defined-BINBE69I.js} +1 -1
- package/dist/cdn/chunks/{image-CuBUo_MQ.js → image-B4M3h1xJ.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-CZNkWJIA.js → inline-dialog-L-NvjANF.js} +6 -6
- package/dist/cdn/chunks/{just-in-time-education-qwg9hTDX.js → just-in-time-education-CWplH4r9.js} +5 -5
- package/dist/cdn/chunks/{kanban-Bkg-nZmX.js → kanban-B6Wa-2aM.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-C8iRyRNY.js → kanban-column-D2-Xq79_.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-Rq5IHU-e.js → keyboard-shortcut-Ci95olxF.js} +118 -47
- package/dist/cdn/chunks/{languages-DLHsACpp.js → languages-C9AGuuSS.js} +43 -32
- package/dist/cdn/chunks/{link-CgjFwaHP.js → link-BJB2a_fG.js} +36 -28
- package/dist/cdn/chunks/{link-group-5W0GAmTq.js → link-group-aNoedLZo.js} +2 -2
- package/dist/cdn/chunks/{list-BASqIKtP.js → list-CZWX62tH.js} +8 -8
- package/dist/cdn/chunks/{list-item-DTcPysIP.js → list-item-DHzsbK_S.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-CRw0y4kg.js → list-item-segment-CHLlU9Gg.js} +3 -3
- package/dist/cdn/chunks/{menu-CYILGTpB.js → menu-NGpB1SKq.js} +42 -22
- package/dist/cdn/chunks/{menu-bar-CL566HmJ.js → menu-bar-CJazkmY7.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-C6OrUu_4.js → menu-bar-item-CSqXWNKE.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-BtU9eBSb.js → menu-divider-Cn1hTpcM.js} +3 -3
- package/dist/cdn/chunks/{menu-group-r2TvdqJB.js → menu-group-C71K1Vmv.js} +4 -4
- package/dist/cdn/chunks/{menu-item-CS45jTLu.js → menu-item-TqBlQfI2.js} +4 -4
- package/dist/cdn/chunks/{menu.template-CF8Iau1s.js → menu.template-DthELYky.js} +21 -16
- package/dist/cdn/chunks/{modal-dialog-C9NBq8TO.js → modal-dialog-0V2HsrJC.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-BkxV0vqA.js → multi-line-text-field-BV4uUDoK.js} +60 -34
- package/dist/cdn/chunks/{navigation-split-view-DNrQYkg7.js → navigation-split-view-tPhkxEVD.js} +4 -4
- package/dist/cdn/chunks/{notification-Dzpy9hCc.js → notification-CZccv6qx.js} +6 -6
- package/dist/cdn/chunks/{number-field-BJCUe-bI.js → number-field-4R2blHda.js} +8 -8
- package/dist/cdn/chunks/{one-half-one-half-section-Ctw8ri5v.js → one-half-one-half-section-h2fLPQfP.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-DxUUH8lS.js → one-third-two-thirds-section-mqUAH5lK.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-DGDyqIMd.js → one-time-code-field-Bf_qymKd.js} +8 -7
- package/dist/cdn/chunks/{page-BpavFPML.js → page-Kipfvmi6.js} +4 -4
- package/dist/cdn/chunks/{page-footer-CVqmyulx.js → page-footer-DxE966Oe.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-BHg-Wre9.js → page-section-mixin-DpF9JDpd.js} +3 -3
- package/dist/cdn/chunks/{pagination-BGZYq-eO.js → pagination-DUFFhaU8.js} +6 -6
- package/dist/cdn/chunks/{password-field-BIFfLAls.js → password-field-DdYAVmF3.js} +9 -9
- package/dist/cdn/chunks/{popover-TCW20ibN.js → popover-CRHxyhGx.js} +6 -6
- package/dist/cdn/chunks/{progress-bar-C4bLuJBa.js → progress-bar-BuYsjmSo.js} +7 -7
- package/dist/cdn/chunks/{progress-circle-BePtt89f.js → progress-circle-Cvu1bfNG.js} +7 -7
- package/dist/cdn/chunks/{radio-button-CLiuwjA1.js → radio-button-B_4AxWDx.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-BPva1mUv.js → radio-button-field-D7jIg6Oi.js} +6 -6
- package/dist/cdn/chunks/{radio-button-group-Z5s4obz6.js → radio-button-group-D_OezDhB.js} +12 -6
- package/dist/cdn/chunks/{render-marked-C3ypoEZM.js → render-marked-CIuiSS_8.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BB9b4T_d.js → reorder-handle-cell-DNPaZjSC.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DBjNe6Rl.js → reorder-handle-mixin-CgvWq4fF.js} +2 -2
- package/dist/cdn/chunks/repeat-DfVuWl6o.js +57 -0
- package/dist/cdn/chunks/{return-focus-BzZWhXhc.js → return-focus-D0fF2hjd.js} +1 -1
- package/dist/cdn/chunks/{rich-text-DTxHo8E_.js → rich-text-CVHlMQY6.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-BcwoEgu7.js → row-header-mixin-B25JK2B3.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-Dul0IfE1.js → scroll-fade-Dv57rTww.js} +2 -2
- package/dist/cdn/chunks/{search-field-BeZN7S8J.js → search-field-hmD_DXbG.js} +11 -11
- package/dist/cdn/chunks/{segmented-control-Dzu8xoqB.js → segmented-control-e8e-jYSw.js} +6 -6
- package/dist/cdn/chunks/{shadow-resets-Dlq8Oecv.js → shadow-resets-CRdvf-Ei.js} +2 -2
- package/dist/cdn/chunks/{sheet-DaQpfAep.js → sheet-D09y3J45.js} +4 -4
- package/dist/cdn/chunks/{shell-DSNgonKU.js → shell-CV3gooGg.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DhGbcDrs.js → side-by-side-split-view-Ckz1C9zk.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-BlJmPb9C.js → sidebar-section-CdyD-x4t.js} +7 -7
- package/dist/cdn/chunks/{simple-section-CYiTEFqN.js → simple-section-CEf38rBZ.js} +3 -3
- package/dist/cdn/chunks/{skip-link-CReOb-Ci.js → skip-link-DMRhATWw.js} +4 -4
- package/dist/cdn/chunks/{slider-DUEGol_V.js → slider-Db3FPiP6.js} +8 -8
- package/dist/cdn/chunks/{spacer-CPmyJDQq.js → spacer-BPFIYueo.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DJEv0v6s.js → spacer-cell-kITa3CDV.js} +4 -4
- package/dist/cdn/chunks/{split-button-B3vfYAdy.js → split-button-CJs9-Nha.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-pSUpnEPX.js → split-view-divider-lHlM1Ss8.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-J1RVr_w1.js → split-view-pane-DlsbZtyo.js} +3 -3
- package/dist/cdn/chunks/{stacked-split-view-B67fT-Ch.js → stacked-split-view-uRSVhrMd.js} +4 -4
- package/dist/cdn/chunks/{static-html-BT4LOKbV.js → static-html-BahSPV_4.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CGXqgNOf.js → status-bar-DCJLVpsW.js} +4 -4
- package/dist/cdn/chunks/{step-bar-DdsA2Egs.js → step-bar-CRR2jiyo.js} +6 -6
- package/dist/cdn/chunks/{step-cell-DsTAgMCx.js → step-cell-CbtKxJNJ.js} +5 -5
- package/dist/cdn/chunks/{stepper-DPqXiLQr.js → stepper-Con1_CnB.js} +6 -6
- package/dist/cdn/chunks/{style-map-B7yv7Y8k.js → style-map-uOwLerwV.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-D9QZmbNN.js → swatch-picker-Bqn0eaC9.js} +5 -5
- package/dist/cdn/chunks/{switch-CE2glvZQ.js → switch-CMQcLEBJ.js} +4 -4
- package/dist/cdn/chunks/{switch-field-Dr2LovXc.js → switch-field-D9kWq4Kw.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-DYZbToZB.js → tab-bar-DXzyZI3V.js} +8 -8
- package/dist/cdn/chunks/{table-DoQMJbSg.js → table-CWACLpHx.js} +5 -5
- package/dist/cdn/chunks/{tag-DOX5nY-Z.js → tag-Bo4yJbtF.js} +4 -4
- package/dist/cdn/chunks/{term-CxGzPnhq.js → term-CQ379ZbN.js} +12 -12
- package/dist/cdn/chunks/{text-Dqe0uTK7.js → text-D-dFoj6N.js} +3 -3
- package/dist/cdn/chunks/{text-cell-ByGrujhK.js → text-cell-Be1hStxp.js} +8 -8
- package/dist/cdn/chunks/{text-editor-DT9oWQCT.js → text-editor-BjzQEBWm.js} +1372 -904
- package/dist/cdn/chunks/{text-field-DKz5IRAU.js → text-field-DA8nirp6.js} +47 -65
- package/dist/cdn/chunks/{time-field-Dh7nTwNc.js → time-field-Dd_TxJuf.js} +15 -15
- package/dist/cdn/chunks/{time-picker-Bp-l4JfF.js → time-picker-B0-rv1qp.js} +5 -5
- package/dist/cdn/chunks/{title-CdIWXNtc.js → title-DOoPdG_i.js} +4 -4
- package/dist/cdn/chunks/{title-cell-DNbP8l_x.js → title-cell-BzCNOMGr.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-CPMxB3gN.js → toggle-button-9PbDHviQ.js} +60 -42
- package/dist/cdn/chunks/{toggle-button-group-ERWVyRX5.js → toggle-button-group-C-H-xp0M.js} +11 -5
- package/dist/cdn/chunks/{token-CG8dR3EH.js → token-CMKFC3gz.js} +5 -5
- package/dist/cdn/chunks/{token-field-B8wqHKan.js → token-field-D4-XHfnG.js} +11 -11
- package/dist/cdn/chunks/{toolbar-item-xJEewchW.js → toolbar-item-ZYoyKOyy.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-C08aG67Y.js → toolbar-title-FKtQ8ZC4.js} +4 -4
- package/dist/cdn/chunks/{toolbar-CiZoecHm.js → toolbar-z9OhEE5l.js} +8 -8
- package/dist/cdn/chunks/{toolbar.styles-DmAHodW4.js → toolbar.styles-DDjpdCHV.js} +3 -3
- package/dist/cdn/chunks/{tooltip-660R32cn.js → tooltip-BvRNYRo3.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-B1HFShH8.js → top-navigation-bar-BHPQntER.js} +17 -17
- package/dist/cdn/chunks/{top-title-bar-BLZZd0Iu.js → top-title-bar-BVjegLlh.js} +6 -6
- package/dist/cdn/chunks/{translations-CF08wvn-.js → translations-cJjO6nQV.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-Dqz7UoSH.js → two-thirds-one-third-section-BdBHQuXc.js} +3 -3
- package/dist/cdn/chunks/{validation-list-D-bzOl5H.js → validation-list-5E3-3_95.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-X9d6wHvR.js → visibility-mixin-DvRe3O8t.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-Cew5_ldu.js → visually-hidden-F85D_HcR.js} +2 -2
- package/dist/cdn/chunks/{window-DSgA26_c.js → window-CabW35M1.js} +5 -5
- package/dist/cdn/chunks/{with-translations-Boc5Daaj.js → with-translations-BHDG37HJ.js} +3 -3
- package/dist/components/actions/button/button.d.ts +1 -1
- package/dist/components/actions/button/button.js +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +5 -1
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +10 -5
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +1 -1
- package/dist/components/actions/menu/menu-item.js +1 -1
- package/dist/components/actions/menu/menu.d.ts +13 -1
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +53 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.pointer.d.ts +6 -2
- package/dist/components/actions/menu/menu.pointer.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.pointer.js +15 -5
- package/dist/components/actions/menu/menu.pointer.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +16 -11
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.js +1 -1
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.js +5 -3
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.styles.js +5 -3
- package/dist/components/content/admonition/admonition.styles.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +1 -1
- package/dist/components/content/icon/icon.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +16 -9
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +18 -12
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +26 -12
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.js +12 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +3 -1
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +14 -3
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +44 -2
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +129 -9
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +6 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js +18 -4
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +77 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.js +188 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts +2 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.js +28 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.js.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.d.ts +4 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.js +9 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.js.map +1 -0
- package/dist/components/inputs/combo-box/combo-box.d.ts +3 -0
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +3 -0
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +3 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +3 -0
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +4 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +4 -0
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +8 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +8 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.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 +24 -2
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +3 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +3 -0
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +3 -0
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +3 -0
- 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 +3 -0
- 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 +1 -0
- 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.d.ts +3 -0
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +3 -0
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +5 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +5 -0
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +19 -9
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +3 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +3 -0
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.clipboard.d.ts +5 -2
- package/dist/components/inputs/text-editor/text-editor.clipboard.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.clipboard.js +23 -4
- package/dist/components/inputs/text-editor/text-editor.clipboard.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.code-copy.js +38 -18
- package/dist/components/inputs/text-editor/text-editor.code-copy.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts +8 -6
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +23 -9
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +26 -0
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +165 -15
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.d.ts +17 -0
- package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.list-input.js +133 -0
- package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +28 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +4 -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 +9 -5
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.ordered-list.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.ordered-list.js +89 -18
- package/dist/components/inputs/text-editor/text-editor.ordered-list.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.paste.d.ts +10 -0
- package/dist/components/inputs/text-editor/text-editor.paste.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.paste.js +116 -0
- package/dist/components/inputs/text-editor/text-editor.paste.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +49 -2
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.template.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.template.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.template.js +4 -3
- package/dist/components/inputs/text-editor/text-editor.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts +53 -0
- package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.toolbar.js +302 -0
- package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -0
- package/dist/components/inputs/text-field/text-field.d.ts +7 -13
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +8 -50
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +1 -2
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.template.js +2 -2
- package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +3 -0
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +3 -0
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +22 -2
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +53 -7
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +3 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +6 -2
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +6 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +20 -10
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +3 -0
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +3 -0
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +2 -0
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +5 -2
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +13 -3
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +25 -9
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.styles.js +1 -1
- package/dist/css/dropdown.css +17 -0
- package/dist/css/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/css/rich-text.css +8 -2
- package/dist/css/variables.css +2 -1
- package/dist/nldd.min.js +941 -789
- package/dist/types/react.d.ts +151 -15
- package/dist/types/vue.d.ts +305 -45
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +1 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/codemirror/codemirror-element.d.ts +12 -1
- package/dist/utilities/codemirror/codemirror-element.d.ts.map +1 -1
- package/dist/utilities/codemirror/codemirror-element.js +23 -4
- package/dist/utilities/codemirror/codemirror-element.js.map +1 -1
- package/dist/utilities/codemirror/codemirror-input.d.ts +3 -0
- package/dist/utilities/codemirror/codemirror-input.d.ts.map +1 -1
- package/dist/utilities/codemirror/codemirror-input.js +14 -3
- package/dist/utilities/codemirror/codemirror-input.js.map +1 -1
- package/dist/utilities/described-by-mixin.d.ts +6 -0
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +81 -2
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +46 -5
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/field-button-controller.d.ts +28 -0
- package/dist/utilities/field-button-controller.d.ts.map +1 -0
- package/dist/utilities/field-button-controller.js +56 -0
- package/dist/utilities/field-button-controller.js.map +1 -0
- package/dist/utilities/return-focus.d.ts.map +1 -1
- package/dist/utilities/return-focus.js +3 -0
- package/dist/utilities/return-focus.js.map +1 -1
- package/dist/utilities/shortcut.d.ts +14 -0
- package/dist/utilities/shortcut.d.ts.map +1 -1
- package/dist/utilities/shortcut.js +37 -1
- package/dist/utilities/shortcut.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/linter.js +4 -1
- package/package.json +6 -2
- package/dist/cdn/chunks/checkbox-field-CSXV0prA.js +0 -162
- package/dist/cdn/chunks/described-by-mixin-DXC6jkCd.js +0 -35
- package/dist/cdn/chunks/repeat-s95Ixbpx.js +0 -76
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { $ as t,
|
|
3
|
-
import { t as te } from "./dist-
|
|
2
|
+
import { $ as t, H as n, O as r, S as i, T as a, c as o, d as s, et as c, j as l, l as u, m as d, mt as f, rt as p, u as m, v as h, w as g, y as ee } from "./languages-C9AGuuSS.js";
|
|
3
|
+
import { t as te } from "./dist-VCymi0hs.js";
|
|
4
4
|
import { d as _, g as ne, i as re, l as v, m as y, n as ie, o as b, p as ae, u as oe } from "./style-mod-DGMhzWuk.js";
|
|
5
|
-
import { n as se, r as ce } from "./dist-
|
|
5
|
+
import { n as se, r as ce } from "./dist-1OQdP4ho.js";
|
|
6
6
|
// node_modules/@lezer/markdown/dist/index.js
|
|
7
7
|
var le = class e {
|
|
8
8
|
static create(t, n, r, i, a) {
|
|
@@ -1244,17 +1244,17 @@ var ft = {
|
|
|
1244
1244
|
return t != 58 || !(r = /^[a-zA-Z_0-9]+:/.exec(e.slice(n + 1, e.end))) ? -1 : e.addElement(e.elt("Emoji", n, n + 1 + r[0].length));
|
|
1245
1245
|
}
|
|
1246
1246
|
}]
|
|
1247
|
-
}, ht = /* @__PURE__ */ e({ markdown: () =>
|
|
1247
|
+
}, ht = /* @__PURE__ */ e({ markdown: () => Ft }), gt = /*@__PURE__*/ d({ commentTokens: { block: {
|
|
1248
1248
|
open: "<!--",
|
|
1249
1249
|
close: "-->"
|
|
1250
1250
|
} } }), _t = /*@__PURE__*/ new v(), vt = /*@__PURE__*/ Ge.configure({ props: [
|
|
1251
|
-
/*@__PURE__*/
|
|
1251
|
+
/*@__PURE__*/ h.add((e) => !e.is("Block") || e.is("Document") || q(e) != null || yt(e) ? void 0 : (e, t) => ({
|
|
1252
1252
|
from: t.doc.lineAt(e.from).to,
|
|
1253
1253
|
to: e.to
|
|
1254
1254
|
})),
|
|
1255
1255
|
/*@__PURE__*/ _t.add(q),
|
|
1256
|
-
/*@__PURE__*/
|
|
1257
|
-
/*@__PURE__*/
|
|
1256
|
+
/*@__PURE__*/ i.add({ Document: () => null }),
|
|
1257
|
+
/*@__PURE__*/ a.add({ Document: gt })
|
|
1258
1258
|
] });
|
|
1259
1259
|
function q(e) {
|
|
1260
1260
|
let t = /^(?:ATX|Setext)Heading(\d)$/.exec(e.name);
|
|
@@ -1272,11 +1272,11 @@ function bt(e, t) {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
return n.to;
|
|
1274
1274
|
}
|
|
1275
|
-
var xt = /*@__PURE__*/
|
|
1276
|
-
for (let
|
|
1277
|
-
let e =
|
|
1275
|
+
var xt = /*@__PURE__*/ ee.of((e, t, n) => {
|
|
1276
|
+
for (let i = r(e).resolveInner(n, -1); i && !(i.from < t); i = i.parent) {
|
|
1277
|
+
let e = i.type.prop(_t);
|
|
1278
1278
|
if (e == null) continue;
|
|
1279
|
-
let t = bt(
|
|
1279
|
+
let t = bt(i, e);
|
|
1280
1280
|
if (t > n) return {
|
|
1281
1281
|
from: n,
|
|
1282
1282
|
to: t
|
|
@@ -1285,14 +1285,14 @@ var xt = /*@__PURE__*/ h.of((e, t, n) => {
|
|
|
1285
1285
|
return null;
|
|
1286
1286
|
});
|
|
1287
1287
|
function J(e) {
|
|
1288
|
-
return new
|
|
1288
|
+
return new o(gt, e, [], "markdown");
|
|
1289
1289
|
}
|
|
1290
1290
|
var St = /*@__PURE__*/ J(vt), Y = /*@__PURE__*/ J(/* @__PURE__ */ vt.configure([
|
|
1291
1291
|
ut,
|
|
1292
1292
|
pt,
|
|
1293
1293
|
ft,
|
|
1294
1294
|
mt,
|
|
1295
|
-
{ props: [/*@__PURE__*/
|
|
1295
|
+
{ props: [/*@__PURE__*/ h.add({ Table: (e, t) => ({
|
|
1296
1296
|
from: t.doc.lineAt(e.from).to,
|
|
1297
1297
|
to: e.to
|
|
1298
1298
|
}) })] }
|
|
@@ -1301,7 +1301,7 @@ function Ct(e, t) {
|
|
|
1301
1301
|
return (n) => {
|
|
1302
1302
|
if (n && e) {
|
|
1303
1303
|
let t = null;
|
|
1304
|
-
if (n = /\S*/.exec(n)[0], t = typeof e == "function" ? e(n) :
|
|
1304
|
+
if (n = /\S*/.exec(n)[0], t = typeof e == "function" ? e(n) : u.matchLanguageName(e, n, !0), t instanceof u) return t.support ? t.support.language.parser : s.getSkippingParser(t.load());
|
|
1305
1305
|
if (t) return t.parser;
|
|
1306
1306
|
}
|
|
1307
1307
|
return t ? t.parser : null;
|
|
@@ -1370,59 +1370,59 @@ function Z(e, t, n, r = 0) {
|
|
|
1370
1370
|
}
|
|
1371
1371
|
function Q(e, t) {
|
|
1372
1372
|
let n = /^[ \t]*/.exec(e)[0].length;
|
|
1373
|
-
if (!n || t.facet(
|
|
1374
|
-
let
|
|
1375
|
-
for (let e =
|
|
1376
|
-
return
|
|
1373
|
+
if (!n || t.facet(g) != " ") return e;
|
|
1374
|
+
let r = f(e, 4, n), i = "";
|
|
1375
|
+
for (let e = r; e > 0;) e >= 4 ? (i += " ", e -= 4) : (i += " ", e--);
|
|
1376
|
+
return i + e.slice(n);
|
|
1377
1377
|
}
|
|
1378
|
-
var Et =
|
|
1379
|
-
let
|
|
1380
|
-
if (!
|
|
1381
|
-
let i =
|
|
1378
|
+
var Et = (e = {}) => ({ state: n, dispatch: i }) => {
|
|
1379
|
+
let a = r(n), { doc: o } = n, s = null, c = n.changeByRange((r) => {
|
|
1380
|
+
if (!r.empty || !Y.isActiveAt(n, r.from, -1) && !Y.isActiveAt(n, r.from, 1)) return s = { range: r };
|
|
1381
|
+
let i = r.from, c = o.lineAt(i), l = wt(a.resolveInner(i, -1), o);
|
|
1382
1382
|
for (; l.length && l[l.length - 1].from > i - c.from;) l.pop();
|
|
1383
|
-
if (!l.length) return s = { range:
|
|
1383
|
+
if (!l.length) return s = { range: r };
|
|
1384
1384
|
let u = l[l.length - 1];
|
|
1385
|
-
if (u.to - u.spaceAfter.length > i - c.from) return s = { range:
|
|
1385
|
+
if (u.to - u.spaceAfter.length > i - c.from) return s = { range: r };
|
|
1386
1386
|
let d = i >= u.to - u.spaceAfter.length && !/\S/.test(c.text.slice(u.to));
|
|
1387
1387
|
if (u.item && d) {
|
|
1388
|
-
if (u.item.from < c.from && !/^[\s>]*$/.test(c.text.slice(0, u.to))) return s = { range:
|
|
1389
|
-
let
|
|
1390
|
-
if (
|
|
1391
|
-
let e = l.length > 1 ? l[l.length - 2] : null,
|
|
1392
|
-
e && e.item ? (
|
|
1393
|
-
let
|
|
1394
|
-
from:
|
|
1388
|
+
if (u.item.from < c.from && !/^[\s>]*$/.test(c.text.slice(0, u.to))) return s = { range: r };
|
|
1389
|
+
let a = u.node.firstChild, d = u.node.getChild("ListItem", "ListItem");
|
|
1390
|
+
if (a.to >= i || d && d.to < i || c.from > 0 && !/[^\s>]/.test(o.lineAt(c.from - 1).text) || e.nonTightLists === !1) {
|
|
1391
|
+
let e = l.length > 1 ? l[l.length - 2] : null, n, r = "";
|
|
1392
|
+
e && e.item ? (n = c.from + e.from, r = e.marker(o, 1)) : n = c.from + (e ? e.to : 0);
|
|
1393
|
+
let a = [{
|
|
1394
|
+
from: n,
|
|
1395
1395
|
to: i,
|
|
1396
|
-
insert:
|
|
1396
|
+
insert: r
|
|
1397
1397
|
}];
|
|
1398
|
-
return u.node.name == "OrderedList" && Z(u.item, o,
|
|
1399
|
-
range:
|
|
1400
|
-
changes:
|
|
1398
|
+
return u.node.name == "OrderedList" && Z(u.item, o, a, -2), e && e.node.name == "OrderedList" && Z(e.item, o, a), {
|
|
1399
|
+
range: t.cursor(n + r.length),
|
|
1400
|
+
changes: a
|
|
1401
1401
|
};
|
|
1402
1402
|
}
|
|
1403
1403
|
{
|
|
1404
|
-
let e =
|
|
1404
|
+
let e = At(l, n, c);
|
|
1405
1405
|
return {
|
|
1406
|
-
range:
|
|
1406
|
+
range: t.cursor(i + e.length + 1),
|
|
1407
1407
|
changes: {
|
|
1408
1408
|
from: c.from,
|
|
1409
|
-
insert: e +
|
|
1409
|
+
insert: e + n.lineBreak
|
|
1410
1410
|
}
|
|
1411
1411
|
};
|
|
1412
1412
|
}
|
|
1413
1413
|
}
|
|
1414
1414
|
if (u.node.name == "Blockquote" && d && c.from) {
|
|
1415
|
-
let e = o.lineAt(c.from - 1),
|
|
1416
|
-
if (
|
|
1417
|
-
let i =
|
|
1418
|
-
from: e.from +
|
|
1415
|
+
let e = o.lineAt(c.from - 1), t = />\s*$/.exec(e.text);
|
|
1416
|
+
if (t && t.index == u.from) {
|
|
1417
|
+
let i = n.changes([{
|
|
1418
|
+
from: e.from + t.index,
|
|
1419
1419
|
to: e.to
|
|
1420
1420
|
}, {
|
|
1421
1421
|
from: c.from + u.from,
|
|
1422
1422
|
to: c.to
|
|
1423
1423
|
}]);
|
|
1424
1424
|
return {
|
|
1425
|
-
range:
|
|
1425
|
+
range: r.map(i),
|
|
1426
1426
|
changes: i
|
|
1427
1427
|
};
|
|
1428
1428
|
}
|
|
@@ -1433,138 +1433,138 @@ var Et = /*@__PURE__*/ ((e = {}) => ({ state: t, dispatch: n }) => {
|
|
|
1433
1433
|
if (!m || /^[\s\d.)\-+*>]*/.exec(c.text)[0].length >= u.to) for (let e = 0, t = l.length - 1; e <= t; e++) h += e == t && !m ? l[e].marker(o, 1) : l[e].blank(e < t ? f(c.text, 4, l[e + 1].from) - h.length : null);
|
|
1434
1434
|
let g = i;
|
|
1435
1435
|
for (; g > c.from && /\s/.test(c.text.charAt(g - c.from - 1));) g--;
|
|
1436
|
-
return h = Q(h,
|
|
1436
|
+
return h = Q(h, n), kt(u.node, n.doc) && (h = At(l, n, c) + n.lineBreak + h), p.push({
|
|
1437
1437
|
from: g,
|
|
1438
1438
|
to: i,
|
|
1439
|
-
insert:
|
|
1439
|
+
insert: n.lineBreak + h
|
|
1440
1440
|
}), {
|
|
1441
|
-
range:
|
|
1441
|
+
range: t.cursor(g + h.length + 1),
|
|
1442
1442
|
changes: p
|
|
1443
1443
|
};
|
|
1444
1444
|
});
|
|
1445
|
-
return !s && (n
|
|
1445
|
+
return !s && (i(n.update(c, {
|
|
1446
1446
|
scrollIntoView: !0,
|
|
1447
1447
|
userEvent: "input"
|
|
1448
1448
|
})), !0);
|
|
1449
|
-
}
|
|
1450
|
-
function
|
|
1449
|
+
}, Dt = /*@__PURE__*/ Et();
|
|
1450
|
+
function Ot(e) {
|
|
1451
1451
|
return e.name == "QuoteMark" || e.name == "ListMark";
|
|
1452
1452
|
}
|
|
1453
|
-
function
|
|
1453
|
+
function kt(e, t) {
|
|
1454
1454
|
if (e.name != "OrderedList" && e.name != "BulletList") return !1;
|
|
1455
1455
|
let n = e.firstChild, r = e.getChild("ListItem", "ListItem");
|
|
1456
1456
|
if (!r) return !1;
|
|
1457
1457
|
let i = t.lineAt(n.to), a = t.lineAt(r.from), o = /^[\s>]*$/.test(i.text);
|
|
1458
1458
|
return i.number + +!o < a.number;
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1460
|
+
function At(e, t, n) {
|
|
1461
1461
|
let r = "";
|
|
1462
1462
|
for (let t = 0, i = e.length - 2; t <= i; t++) r += e[t].blank(t < i ? f(n.text, 4, e[t + 1].from) - r.length : null, t < i);
|
|
1463
1463
|
return Q(r, t);
|
|
1464
1464
|
}
|
|
1465
|
-
function
|
|
1465
|
+
function jt(e, t) {
|
|
1466
1466
|
let n = e.resolveInner(t, -1), r = t;
|
|
1467
|
-
|
|
1468
|
-
for (let e; e = n.childBefore(r);) if (
|
|
1467
|
+
Ot(n) && (r = n.from, n = n.parent);
|
|
1468
|
+
for (let e; e = n.childBefore(r);) if (Ot(e)) r = e.from;
|
|
1469
1469
|
else if (e.name == "OrderedList" || e.name == "BulletList") n = e.lastChild, r = n.to;
|
|
1470
1470
|
else break;
|
|
1471
1471
|
return n;
|
|
1472
1472
|
}
|
|
1473
|
-
var
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
let r = t.from + n.from;
|
|
1494
|
-
if (n.item && n.node.from < n.item.from && /\S/.test(t.text.slice(n.from, n.to))) {
|
|
1495
|
-
let i = n.blank(f(t.text, 4, n.to) - f(t.text, 4, n.from));
|
|
1496
|
-
return r == t.from && (i = Q(i, e)), {
|
|
1497
|
-
range: a.cursor(r + i.length),
|
|
1498
|
-
changes: {
|
|
1499
|
-
from: r,
|
|
1500
|
-
to: t.from + n.to,
|
|
1501
|
-
insert: i
|
|
1502
|
-
}
|
|
1503
|
-
};
|
|
1504
|
-
}
|
|
1505
|
-
if (r < i) return {
|
|
1506
|
-
range: a.cursor(r),
|
|
1473
|
+
var Mt = ({ state: e, dispatch: n }) => {
|
|
1474
|
+
let i = r(e), a = null, o = e.changeByRange((n) => {
|
|
1475
|
+
let r = n.from, { doc: o } = e;
|
|
1476
|
+
if (n.empty && Y.isActiveAt(e, n.from)) {
|
|
1477
|
+
let n = o.lineAt(r), a = wt(jt(i, r), o);
|
|
1478
|
+
if (a.length) {
|
|
1479
|
+
let i = a[a.length - 1], o = i.to - i.spaceAfter.length + +!!i.spaceAfter;
|
|
1480
|
+
if (r - n.from > o && !/\S/.test(n.text.slice(o, r - n.from))) return {
|
|
1481
|
+
range: t.cursor(n.from + o),
|
|
1482
|
+
changes: {
|
|
1483
|
+
from: n.from + o,
|
|
1484
|
+
to: r
|
|
1485
|
+
}
|
|
1486
|
+
};
|
|
1487
|
+
if (r - n.from == o && (i.item && n.from <= i.item.from || /^[\s>]*$/.test(n.text.slice(0, i.to)))) {
|
|
1488
|
+
let a = n.from + i.from;
|
|
1489
|
+
if (i.item && i.node.from < i.item.from && /\S/.test(n.text.slice(i.from, i.to))) {
|
|
1490
|
+
let r = i.blank(f(n.text, 4, i.to) - f(n.text, 4, i.from));
|
|
1491
|
+
return a == n.from && (r = Q(r, e)), {
|
|
1492
|
+
range: t.cursor(a + r.length),
|
|
1507
1493
|
changes: {
|
|
1508
|
-
from:
|
|
1509
|
-
to: i
|
|
1494
|
+
from: a,
|
|
1495
|
+
to: n.from + i.to,
|
|
1496
|
+
insert: r
|
|
1510
1497
|
}
|
|
1511
1498
|
};
|
|
1512
1499
|
}
|
|
1500
|
+
if (a < r) return {
|
|
1501
|
+
range: t.cursor(a),
|
|
1502
|
+
changes: {
|
|
1503
|
+
from: a,
|
|
1504
|
+
to: r
|
|
1505
|
+
}
|
|
1506
|
+
};
|
|
1513
1507
|
}
|
|
1514
1508
|
}
|
|
1515
|
-
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1509
|
+
}
|
|
1510
|
+
return a = { range: n };
|
|
1511
|
+
});
|
|
1512
|
+
return !a && (n(e.update(o, {
|
|
1513
|
+
scrollIntoView: !0,
|
|
1514
|
+
userEvent: "delete"
|
|
1515
|
+
})), !0);
|
|
1516
|
+
}, Nt = [{
|
|
1517
|
+
key: "Enter",
|
|
1518
|
+
run: Dt
|
|
1519
|
+
}, {
|
|
1520
|
+
key: "Backspace",
|
|
1521
|
+
run: Mt
|
|
1522
|
+
}], Pt = /*@__PURE__*/ se({ matchClosingTags: !1 });
|
|
1523
|
+
function Ft(e = {}) {
|
|
1524
|
+
let { codeLanguages: t, defaultCodeLanguage: r, addKeymap: i = !0, base: { parser: a } = St, completeHTMLTags: o = !0, pasteURLAsLink: s = !0, htmlTagLanguage: c = Pt } = e;
|
|
1525
|
+
if (!(a instanceof Ae)) throw RangeError("Base parser provided to `markdown` should be a Markdown parser");
|
|
1526
|
+
let l = e.extensions ? [e.extensions] : [], u = [c.support, xt], d;
|
|
1527
|
+
s && u.push(zt), r instanceof m ? (u.push(r.support), d = r.language) : r && (d = r);
|
|
1528
|
+
let f = t || d ? Ct(t, d) : void 0;
|
|
1529
|
+
l.push(qe({
|
|
1530
|
+
codeParser: f,
|
|
1531
1531
|
htmlParser: c.language.parser
|
|
1532
|
-
})),
|
|
1533
|
-
let h = J(
|
|
1534
|
-
return
|
|
1532
|
+
})), i && u.push(p.high(n.of(Nt)));
|
|
1533
|
+
let h = J(a.configure(l));
|
|
1534
|
+
return o && u.push(h.data.of({ autocomplete: It })), new m(h, u);
|
|
1535
1535
|
}
|
|
1536
|
-
function
|
|
1537
|
-
let { state: t, pos: n } = e,
|
|
1538
|
-
if (!
|
|
1539
|
-
let a =
|
|
1536
|
+
function It(e) {
|
|
1537
|
+
let { state: t, pos: n } = e, i = /<[:\-\.\w\u00b7-\uffff]*$/.exec(t.sliceDoc(n - 25, n));
|
|
1538
|
+
if (!i) return null;
|
|
1539
|
+
let a = r(t).resolveInner(n, -1);
|
|
1540
1540
|
for (; a && !a.type.isTop;) {
|
|
1541
1541
|
if (a.name == "CodeBlock" || a.name == "FencedCode" || a.name == "ProcessingInstructionBlock" || a.name == "CommentBlock" || a.name == "Link" || a.name == "Image") return null;
|
|
1542
1542
|
a = a.parent;
|
|
1543
1543
|
}
|
|
1544
1544
|
return {
|
|
1545
|
-
from: n -
|
|
1545
|
+
from: n - i[0].length,
|
|
1546
1546
|
to: n,
|
|
1547
|
-
options:
|
|
1547
|
+
options: Lt(),
|
|
1548
1548
|
validFor: /^<[:\-\.\w\u00b7-\uffff]*$/
|
|
1549
1549
|
};
|
|
1550
1550
|
}
|
|
1551
1551
|
var $ = null;
|
|
1552
|
-
function
|
|
1552
|
+
function Lt() {
|
|
1553
1553
|
if ($) return $;
|
|
1554
|
-
let e = ce(new te(
|
|
1554
|
+
let e = ce(new te(c.create({ extensions: Pt }), 0, !0));
|
|
1555
1555
|
return $ = e ? e.options : [];
|
|
1556
1556
|
}
|
|
1557
|
-
var
|
|
1557
|
+
var Rt = /code|horizontalrule|html|link|comment|processing|escape|entity|image|mark|url/i, zt = /*@__PURE__*/ l.domEventHandlers({ paste: (e, t) => {
|
|
1558
1558
|
let { main: n } = t.state.selection;
|
|
1559
1559
|
if (n.empty) return !1;
|
|
1560
|
-
let
|
|
1561
|
-
if (!
|
|
1562
|
-
let a =
|
|
1560
|
+
let i = e.clipboardData?.getData("text/plain");
|
|
1561
|
+
if (!i || !/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(i) || (/^www\./.test(i) && (i = "https://" + i), !Y.isActiveAt(t.state, n.from, 1))) return !1;
|
|
1562
|
+
let a = r(t.state), o = !1;
|
|
1563
1563
|
return a.iterate({
|
|
1564
1564
|
from: n.from,
|
|
1565
1565
|
to: n.to,
|
|
1566
1566
|
enter: (e) => {
|
|
1567
|
-
(e.from > n.from ||
|
|
1567
|
+
(e.from > n.from || Rt.test(e.name)) && (o = !0);
|
|
1568
1568
|
},
|
|
1569
1569
|
leave: (e) => {
|
|
1570
1570
|
e.to < n.to && (o = !0);
|
|
@@ -1575,10 +1575,10 @@ var It = /code|horizontalrule|html|link|comment|processing|escape|entity|image|m
|
|
|
1575
1575
|
insert: "["
|
|
1576
1576
|
}, {
|
|
1577
1577
|
from: n.to,
|
|
1578
|
-
insert: `](${
|
|
1578
|
+
insert: `](${i})`
|
|
1579
1579
|
}],
|
|
1580
1580
|
userEvent: "input.paste",
|
|
1581
1581
|
scrollIntoView: !0
|
|
1582
1582
|
}), !0);
|
|
1583
1583
|
} });
|
|
1584
|
-
export {
|
|
1584
|
+
export { ut as a, Ft as i, ht as n, Et as r, Mt as t };
|