@nldd/design-system 0.25.2 → 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 +728 -32
- package/dist/cdn/autoloader.js +141 -141
- package/dist/cdn/chunks/{accordion-CE_VBJPo.js → accordion-DA4IlxS5.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-CkIrLwn9.js → accordion-item-Ca1o93cq.js} +9 -7
- package/dist/cdn/chunks/{activity-indicator-DHgkMBdz.js → activity-indicator-Cj4H0Mbz.js} +5 -5
- package/dist/cdn/chunks/{admonition-CK1c7HiM.js → admonition-CdZSoO8O.js} +9 -7
- package/dist/cdn/chunks/{avatar-DwS0FqYL.js → avatar-Dhqn-Dmv.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-BX1URuq1.js → avatar-group-B017eF-u.js} +15 -15
- package/dist/cdn/chunks/{badge-Dyfzch0N.js → badge-Bep5B0_g.js} +5 -5
- package/dist/cdn/chunks/{banner-BPUb-ZpJ.js → banner-DGpIXuE2.js} +7 -7
- package/dist/cdn/chunks/{bar-split-view-BitGKRYw.js → bar-split-view-CKwJxd3e.js} +5 -5
- package/dist/cdn/chunks/{blockquote-CAnK7XlI.js → blockquote-ChMgaOuI.js} +3 -3
- package/dist/cdn/chunks/{box-epVc6r3W.js → box-BRmziG-6.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-CY5m5_72.js → breadcrumbs-BeVO8bkQ.js} +5 -5
- package/dist/cdn/chunks/{button-bar-BcmQQqns.js → button-bar-CLxOdalJ.js} +3 -3
- package/dist/cdn/chunks/{button-1F4MG_21.js → button-cHBkq_s7.js} +9 -9
- package/dist/cdn/chunks/{button-group-vez-t2RB.js → button-group-BIvKtEIX.js} +2 -2
- package/dist/cdn/chunks/{card-sHcZK0Sx.js → card-B5gp9Zly.js} +4 -4
- package/dist/cdn/chunks/{cell-_FH10LVj.js → cell-D4Nrd5Z9.js} +6 -6
- package/dist/cdn/chunks/{checkbox-B2EXnuni.js → checkbox-CeLTJhAc.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-DYBeOCXv.js → checkbox-field-C8cU8fuf.js} +6 -6
- package/dist/cdn/chunks/{checkbox-group-zV_EgqJ1.js → checkbox-group-CC72cq-P.js} +3 -3
- package/dist/cdn/chunks/{class-map-3v5_QWa6.js → class-map-xzscTu4B.js} +1 -1
- package/dist/cdn/chunks/{code-editor-DVHvHweL.js → code-editor-BNhlXTSl.js} +10 -10
- package/dist/cdn/chunks/{code-viewer-CRc5yGTZ.js → code-viewer-D_JwouYO.js} +35 -35
- package/dist/cdn/chunks/{codemirror-input-CgrWL_xI.js → codemirror-input-DJ0wgYrc.js} +368 -368
- package/dist/cdn/chunks/{collection-BobIdtqA.js → collection-BXvz_OtU.js} +8 -8
- package/dist/cdn/chunks/{combo-box-1h_xzaHk.js → combo-box-8kbmoStb.js} +9 -9
- package/dist/cdn/chunks/{container-RIa-Sff8.js → container-Dq-2uHd5.js} +2 -2
- package/dist/cdn/chunks/{custom-element-Dmqf9u_a.js → custom-element-DeaCQ2NP.js} +1 -1
- package/dist/cdn/chunks/{date-field-BN9TIiUH.js → date-field-CQg1_73u.js} +13 -13
- package/dist/cdn/chunks/{date-picker-BFvZvzwT.js → date-picker-CTMxGOiA.js} +10 -10
- package/dist/cdn/chunks/{decorate-D_xx_M26.js → decorate-CCYde2ES.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-C3iCCTgg.js → described-by-mixin-BYFim7aO.js} +2 -2
- package/dist/cdn/chunks/{description-cell-D9oU3cOo.js → description-cell-GcVeCz2_.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-Dcd5eLU5.js → dev-checks-CSlbfDuF.js} +19 -2
- package/dist/cdn/chunks/{directive-helpers-B40ApSJp.js → directive-helpers-DgaADFyY.js} +1 -1
- package/dist/cdn/chunks/{dist-DRizG2xD.js → dist-1OQdP4ho.js} +10 -10
- package/dist/cdn/chunks/{dist-BJyPLZy3.js → dist-5vPsM2aV.js} +8 -8
- package/dist/cdn/chunks/{dist-Cxpg90R5.js → dist-B23jHvJ5.js} +15 -15
- package/dist/cdn/chunks/{dist-B5Qpgwkt.js → dist-CNy2sPTt.js} +6 -6
- package/dist/cdn/chunks/{dist-BzfZCamJ.js → dist-CcpLhc4y.js} +7 -7
- package/dist/cdn/chunks/{dist-BZuHdnRq.js → dist-CyDpBAaD.js} +7 -7
- package/dist/cdn/chunks/{dist-De4uSuY6.js → dist-D4SViUJx.js} +21 -21
- package/dist/cdn/chunks/{dist-0pu3OKnY.js → dist-DBxjWahH.js} +4 -4
- package/dist/cdn/chunks/{dist-CPfUaZn6.js → dist-DLtwMUDc.js} +18 -18
- package/dist/cdn/chunks/{dist-8y5HG5So.js → dist-Da_liXcd.js} +124 -124
- package/dist/cdn/chunks/{dist-BVrnRVfm.js → dist-VCymi0hs.js} +250 -250
- package/dist/cdn/chunks/{divider-DhmeevvA.js → divider-8XD3xTbl.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-BxgIq1Lc.js → document-tab-bar-RBAmckHS.js} +9 -9
- package/dist/cdn/chunks/{dropdown-BTnHERYI.js → dropdown-DVlxPcjr.js} +5 -5
- package/dist/cdn/chunks/field-button-controller-yvICuXoE.js +26 -0
- package/dist/cdn/chunks/{file-field-BoQCuthe.js → file-field-BrHnFplX.js} +12 -12
- package/dist/cdn/chunks/{form-D6w4G6Qv.js → form-DGHeGEIr.js} +1 -1
- package/dist/cdn/chunks/{form-actions-ifb8kolV.js → form-actions-CHwWKfMM.js} +2 -2
- package/dist/cdn/chunks/{form-field-RhzuOcS5.js → form-field-CdTSI-8h.js} +21 -16
- package/dist/cdn/chunks/{form-section-0df1Ao8U.js → form-section-CjECOIiZ.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-BhcgrH9L.js → full-bleed-section-CQgq4iGQ.js} +3 -3
- package/dist/cdn/chunks/{hero-BpLUglsB.js → hero-DhdcYt2N.js} +4 -4
- package/dist/cdn/chunks/{icon-button-BzCEK4gH.js → icon-button-DT_Bi4Ac.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-fu4ggTII.js → icon-cell-C-qrZAlN.js} +5 -5
- package/dist/cdn/chunks/{icon-C1HTyyIr.js → icon-qpmEfU9B.js} +2 -2
- package/dist/cdn/chunks/{identity-CM-fW-xb.js → identity-DFmvuPkl.js} +6 -6
- package/dist/cdn/chunks/{if-defined-CSVfrDre.js → if-defined-BINBE69I.js} +1 -1
- package/dist/cdn/chunks/{image-CjcWKYny.js → image-B4M3h1xJ.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-QHDEfqso.js → inline-dialog-L-NvjANF.js} +6 -6
- package/dist/cdn/chunks/{just-in-time-education-BuDwdo2R.js → just-in-time-education-CWplH4r9.js} +5 -5
- package/dist/cdn/chunks/{kanban-BaRiCfTn.js → kanban-B6Wa-2aM.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-BuYmxxwP.js → kanban-column-D2-Xq79_.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-DYMD3B5a.js → keyboard-shortcut-Ci95olxF.js} +118 -47
- package/dist/cdn/chunks/{languages-BFRgyhqj.js → languages-C9AGuuSS.js} +43 -32
- package/dist/cdn/chunks/{link-Cb7bYQmD.js → link-BJB2a_fG.js} +6 -6
- package/dist/cdn/chunks/{link-group-CCxIltG-.js → link-group-aNoedLZo.js} +2 -2
- package/dist/cdn/chunks/{list-B7VgeqfW.js → list-CZWX62tH.js} +8 -8
- package/dist/cdn/chunks/{list-item-Ccmi9h7_.js → list-item-DHzsbK_S.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-C5APtc9o.js → list-item-segment-CHLlU9Gg.js} +3 -3
- package/dist/cdn/chunks/{menu-B03m20cI.js → menu-NGpB1SKq.js} +21 -17
- package/dist/cdn/chunks/{menu-bar-BTwITnAx.js → menu-bar-CJazkmY7.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-By1lj2Ra.js → menu-bar-item-CSqXWNKE.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-Cj7PfUGr.js → menu-divider-Cn1hTpcM.js} +3 -3
- package/dist/cdn/chunks/{menu-group-DyFNOAV9.js → menu-group-C71K1Vmv.js} +4 -4
- package/dist/cdn/chunks/{menu-item-D-9U16AZ.js → menu-item-TqBlQfI2.js} +4 -4
- package/dist/cdn/chunks/{menu.template-DmK-gq-8.js → menu.template-DthELYky.js} +20 -15
- package/dist/cdn/chunks/{modal-dialog-f_Ftzcrk.js → modal-dialog-0V2HsrJC.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-CwTomQkh.js → multi-line-text-field-BV4uUDoK.js} +60 -34
- package/dist/cdn/chunks/{navigation-split-view-CMy_B-Gr.js → navigation-split-view-tPhkxEVD.js} +4 -4
- package/dist/cdn/chunks/{notification-DiXBAbmu.js → notification-CZccv6qx.js} +6 -6
- package/dist/cdn/chunks/{number-field-CPCuSebL.js → number-field-4R2blHda.js} +8 -8
- package/dist/cdn/chunks/{one-half-one-half-section-lsJ_QAgo.js → one-half-one-half-section-h2fLPQfP.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-LS-XD6DL.js → one-third-two-thirds-section-mqUAH5lK.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-DT4VRbkL.js → one-time-code-field-Bf_qymKd.js} +7 -7
- package/dist/cdn/chunks/{page-BWCcVj4L.js → page-Kipfvmi6.js} +4 -4
- package/dist/cdn/chunks/{page-footer-QCQIeoP7.js → page-footer-DxE966Oe.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-BSRwTzVh.js → page-section-mixin-DpF9JDpd.js} +3 -3
- package/dist/cdn/chunks/{pagination-CfR0D1Z7.js → pagination-DUFFhaU8.js} +6 -6
- package/dist/cdn/chunks/{password-field-37i3lAaO.js → password-field-DdYAVmF3.js} +8 -8
- package/dist/cdn/chunks/{popover-BpX7ZwI_.js → popover-CRHxyhGx.js} +6 -6
- package/dist/cdn/chunks/{progress-bar-oT3i4-Ib.js → progress-bar-BuYsjmSo.js} +7 -7
- package/dist/cdn/chunks/{progress-circle-CskWYN6V.js → progress-circle-Cvu1bfNG.js} +7 -7
- package/dist/cdn/chunks/{radio-button-sFiWCWEp.js → radio-button-B_4AxWDx.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-yXg-i59N.js → radio-button-field-D7jIg6Oi.js} +5 -5
- package/dist/cdn/chunks/{radio-button-group-Bp4nILvI.js → radio-button-group-D_OezDhB.js} +3 -3
- package/dist/cdn/chunks/{render-marked-B_e-wQFe.js → render-marked-CIuiSS_8.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BFyWv6Xk.js → reorder-handle-cell-DNPaZjSC.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-CwNDaVUE.js → reorder-handle-mixin-CgvWq4fF.js} +2 -2
- package/dist/cdn/chunks/{repeat-Dx2PqcyL.js → repeat-DfVuWl6o.js} +2 -2
- package/dist/cdn/chunks/{return-focus-BzZWhXhc.js → return-focus-D0fF2hjd.js} +1 -1
- package/dist/cdn/chunks/{rich-text-CaVHkCB8.js → rich-text-CVHlMQY6.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-BX0qSYSK.js → row-header-mixin-B25JK2B3.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-CXu7Eorw.js → scroll-fade-Dv57rTww.js} +2 -2
- package/dist/cdn/chunks/{search-field-DkbneceA.js → search-field-hmD_DXbG.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-Ctl4SnV1.js → segmented-control-e8e-jYSw.js} +6 -6
- package/dist/cdn/chunks/{shadow-resets-oeO4NF40.js → shadow-resets-CRdvf-Ei.js} +2 -2
- package/dist/cdn/chunks/{sheet-XGOn3SXX.js → sheet-D09y3J45.js} +4 -4
- package/dist/cdn/chunks/{shell-B7-afKWD.js → shell-CV3gooGg.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-CZC844ER.js → side-by-side-split-view-Ckz1C9zk.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-_eTWxCEU.js → sidebar-section-CdyD-x4t.js} +7 -7
- package/dist/cdn/chunks/{simple-section-CvBDK1kv.js → simple-section-CEf38rBZ.js} +3 -3
- package/dist/cdn/chunks/{skip-link-CHAlS7T_.js → skip-link-DMRhATWw.js} +4 -4
- package/dist/cdn/chunks/{slider-CidyL0xj.js → slider-Db3FPiP6.js} +8 -8
- package/dist/cdn/chunks/{spacer-DukX-lmv.js → spacer-BPFIYueo.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-etr1xFgM.js → spacer-cell-kITa3CDV.js} +4 -4
- package/dist/cdn/chunks/{split-button-DD0NWy1h.js → split-button-CJs9-Nha.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-x1x3K9m0.js → split-view-divider-lHlM1Ss8.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-BnCIygrY.js → split-view-pane-DlsbZtyo.js} +3 -3
- package/dist/cdn/chunks/{stacked-split-view-B70JJ94w.js → stacked-split-view-uRSVhrMd.js} +4 -4
- package/dist/cdn/chunks/{static-html-Bqazhm1K.js → static-html-BahSPV_4.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CNLiFQUC.js → status-bar-DCJLVpsW.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BOvuQRux.js → step-bar-CRR2jiyo.js} +6 -6
- package/dist/cdn/chunks/{step-cell-CM1Ju6Qz.js → step-cell-CbtKxJNJ.js} +5 -5
- package/dist/cdn/chunks/{stepper-CKM-lSpD.js → stepper-Con1_CnB.js} +6 -6
- package/dist/cdn/chunks/{style-map-BK47EPzs.js → style-map-uOwLerwV.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-CFRNmV9x.js → swatch-picker-Bqn0eaC9.js} +5 -5
- package/dist/cdn/chunks/{switch-BBy9Xo1E.js → switch-CMQcLEBJ.js} +4 -4
- package/dist/cdn/chunks/{switch-field-zh-K7d2q.js → switch-field-D9kWq4Kw.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-C8qWE51t.js → tab-bar-DXzyZI3V.js} +8 -8
- package/dist/cdn/chunks/{table-av_EyIn7.js → table-CWACLpHx.js} +5 -5
- package/dist/cdn/chunks/{tag-DFv9vv3i.js → tag-Bo4yJbtF.js} +4 -4
- package/dist/cdn/chunks/{term-DeQiGH6k.js → term-CQ379ZbN.js} +12 -12
- package/dist/cdn/chunks/{text-mfKi65T1.js → text-D-dFoj6N.js} +3 -3
- package/dist/cdn/chunks/{text-cell-BcT9b0bK.js → text-cell-Be1hStxp.js} +8 -8
- package/dist/cdn/chunks/{text-editor-BwJE_vvo.js → text-editor-BjzQEBWm.js} +1372 -904
- package/dist/cdn/chunks/{text-field-B78KPNqa.js → text-field-DA8nirp6.js} +46 -63
- package/dist/cdn/chunks/{time-field-O2OSrTyM.js → time-field-Dd_TxJuf.js} +15 -15
- package/dist/cdn/chunks/{time-picker-Ce5tW_jo.js → time-picker-B0-rv1qp.js} +5 -5
- package/dist/cdn/chunks/{title-Bdx3NCUA.js → title-DOoPdG_i.js} +4 -4
- package/dist/cdn/chunks/{title-cell-BwHqLbue.js → title-cell-BzCNOMGr.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-CjjJRwpP.js → toggle-button-9PbDHviQ.js} +10 -8
- package/dist/cdn/chunks/{toggle-button-group-CuRM8-nF.js → toggle-button-group-C-H-xp0M.js} +2 -2
- package/dist/cdn/chunks/{token-AiSihnjQ.js → token-CMKFC3gz.js} +5 -5
- package/dist/cdn/chunks/{token-field-GETUgMlc.js → token-field-D4-XHfnG.js} +11 -11
- package/dist/cdn/chunks/{toolbar-item-DR1Z8Hc3.js → toolbar-item-ZYoyKOyy.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-CDTF6HLo.js → toolbar-title-FKtQ8ZC4.js} +4 -4
- package/dist/cdn/chunks/{toolbar-Cwq028PV.js → toolbar-z9OhEE5l.js} +8 -8
- package/dist/cdn/chunks/{toolbar.styles-JjSZv4fw.js → toolbar.styles-DDjpdCHV.js} +3 -3
- package/dist/cdn/chunks/{tooltip-c-bLjIjT.js → tooltip-BvRNYRo3.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-DzmvxwVc.js → top-navigation-bar-BHPQntER.js} +17 -17
- package/dist/cdn/chunks/{top-title-bar-Bk6dadA-.js → top-title-bar-BVjegLlh.js} +6 -6
- package/dist/cdn/chunks/{translations-BDYe8_q9.js → translations-cJjO6nQV.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-Co5_3oOP.js → two-thirds-one-third-section-BdBHQuXc.js} +3 -3
- package/dist/cdn/chunks/{validation-list-MEykkKGr.js → validation-list-5E3-3_95.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-UdX7clEI.js → visibility-mixin-DvRe3O8t.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BKnf0dXp.js → visually-hidden-F85D_HcR.js} +2 -2
- package/dist/cdn/chunks/{window-DNoLmVa1.js → window-CabW35M1.js} +5 -5
- package/dist/cdn/chunks/{with-translations-DlZHUMbZ.js → with-translations-BHDG37HJ.js} +3 -3
- package/dist/components/actions/button/button.template.js +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 +15 -10
- 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/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/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/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/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/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/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.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.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/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/status-and-feedback/step-bar/step-bar.styles.js +1 -1
- package/dist/css/rich-text.css +8 -2
- package/dist/css/variables.css +2 -1
- package/dist/nldd.min.js +973 -870
- package/dist/types/react.d.ts +12 -8
- package/dist/types/vue.d.ts +17 -11
- 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/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +22 -2
- 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 +1 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, r as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a as i, r as a } from "./custom-element-DeaCQ2NP.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./slot-content-2qH2vEC_.js";
|
|
5
5
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as l } from "./shadow-resets-
|
|
7
|
-
import "./icon-
|
|
6
|
+
import { t as l } from "./shadow-resets-CRdvf-Ei.js";
|
|
7
|
+
import "./icon-qpmEfU9B.js";
|
|
8
8
|
import { t as u } from "./breadcrumbs.i18n-zmO8jaTO.js";
|
|
9
|
-
import { t as d } from "./translations-
|
|
9
|
+
import { t as d } from "./translations-cJjO6nQV.js";
|
|
10
10
|
// src/components/navigation/breadcrumbs/breadcrumbs.styles.ts
|
|
11
11
|
var f = i`
|
|
12
12
|
.breadcrumbs__separator {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, t as r } from "./decorate-
|
|
3
|
-
import { a as i, n as a, r as o, t as s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-CCYde2ES.js";
|
|
3
|
+
import { a as i, n as a, r as o, t as s } from "./custom-element-DeaCQ2NP.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as u } from "./repeat-
|
|
6
|
+
import { t as u } from "./repeat-DfVuWl6o.js";
|
|
7
7
|
// src/components/actions/button-bar/button-bar.styles.ts
|
|
8
8
|
var d = i`
|
|
9
9
|
:host {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { a, r as o } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CCYde2ES.js";
|
|
3
|
+
import { a, r as o } from "./custom-element-DeaCQ2NP.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as c } from "./shadow-resets-
|
|
5
|
+
import { t as c } from "./shadow-resets-CRdvf-Ei.js";
|
|
6
6
|
import { t as l } from "./link-rel-DvrTEfVT.js";
|
|
7
7
|
import { r as u, t as d } from "./link-hint-KFhgr5Ng.js";
|
|
8
|
-
import { i as f, n as p, r as m } from "./keyboard-shortcut-
|
|
8
|
+
import { i as f, n as p, r as m } from "./keyboard-shortcut-Ci95olxF.js";
|
|
9
9
|
import { n as h, t as g } from "./popover-target-B25dxnmt.js";
|
|
10
|
-
import { t as _ } from "./with-translations-
|
|
10
|
+
import { t as _ } from "./with-translations-BHDG37HJ.js";
|
|
11
11
|
import { t as v } from "./reflect-non-default-Bu3rpCvg.js";
|
|
12
12
|
import { t as y } from "./button.i18n-BGFt7Z9u.js";
|
|
13
13
|
import { t as b } from "./popup-anchor-controller-VZw0bXf2.js";
|
|
14
14
|
import { t as x } from "./interest-controller-Ban-3NrX.js";
|
|
15
|
-
import "./icon-
|
|
16
|
-
import "./activity-indicator-
|
|
17
|
-
import { t as S } from "./described-by-mixin-
|
|
15
|
+
import "./icon-qpmEfU9B.js";
|
|
16
|
+
import "./activity-indicator-Cj4H0Mbz.js";
|
|
17
|
+
import { t as S } from "./described-by-mixin-BYFim7aO.js";
|
|
18
18
|
import { n as C } from "./element-state-B-44fVqq.js";
|
|
19
19
|
import { t as w } from "./defer-focus-F73ud2D9.js";
|
|
20
20
|
import { t as T } from "./owner-form-Cq8tT7ac.js";
|
|
@@ -675,7 +675,7 @@ function D(e) {
|
|
|
675
675
|
<span class="button__shortcut">
|
|
676
676
|
<nldd-keyboard-shortcut
|
|
677
677
|
size="inherit"
|
|
678
|
-
appearance="
|
|
678
|
+
appearance="text"
|
|
679
679
|
color="content"
|
|
680
680
|
keys=${e.shortcut || r}
|
|
681
681
|
mac-keys=${e.shortcutMac || r}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, t as r } from "./decorate-
|
|
3
|
-
import { a as i, r as a } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-CCYde2ES.js";
|
|
3
|
+
import { a as i, r as a } from "./custom-element-DeaCQ2NP.js";
|
|
4
4
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as s } from "./query-ChDzi9FQ.js";
|
|
6
6
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, n as a, r as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-DeaCQ2NP.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { a as l } from "./shadow-resets-
|
|
5
|
+
import { a as l } from "./shadow-resets-CRdvf-Ei.js";
|
|
6
6
|
import { t as u } from "./link-rel-DvrTEfVT.js";
|
|
7
7
|
import { r as d, t as f } from "./link-hint-KFhgr5Ng.js";
|
|
8
|
-
import { t as p } from "./with-translations-
|
|
8
|
+
import { t as p } from "./with-translations-BHDG37HJ.js";
|
|
9
9
|
import { t as m } from "./card.i18n-CpafLm3i.js";
|
|
10
10
|
// src/components/layout/card/card.styles.ts
|
|
11
11
|
var h = i`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, t as r } from "./decorate-
|
|
3
|
-
import { a as i, r as a } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-CCYde2ES.js";
|
|
3
|
+
import { a as i, r as a } from "./custom-element-DeaCQ2NP.js";
|
|
4
4
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as s } from "./reorder-handle-mixin-
|
|
5
|
+
import { t as s } from "./reorder-handle-mixin-CgvWq4fF.js";
|
|
6
6
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as l } from "./shadow-resets-
|
|
8
|
-
import { t as u } from "./visibility-mixin-
|
|
9
|
-
import { t as d } from "./row-header-mixin-
|
|
7
|
+
import { t as l } from "./shadow-resets-CRdvf-Ei.js";
|
|
8
|
+
import { t as u } from "./visibility-mixin-DvRe3O8t.js";
|
|
9
|
+
import { t as d } from "./row-header-mixin-B25JK2B3.js";
|
|
10
10
|
// src/components/lists-and-tables/cells/cell/cell.styles.ts
|
|
11
11
|
var f = i`
|
|
12
12
|
:host {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { a, r as o } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CCYde2ES.js";
|
|
3
|
+
import { a, r as o } from "./custom-element-DeaCQ2NP.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as c } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
|
-
import "./icon-
|
|
7
|
-
import { t as l } from "./described-by-mixin-
|
|
6
|
+
import "./icon-qpmEfU9B.js";
|
|
7
|
+
import { t as l } from "./described-by-mixin-BYFim7aO.js";
|
|
8
8
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
9
|
import { t as d } from "./defer-focus-F73ud2D9.js";
|
|
10
10
|
// src/components/inputs/checkbox/checkbox.styles.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as e, n as t, o as n, r, t as i } from "./decorate-
|
|
2
|
-
import { a, n as o, r as s } from "./custom-element-
|
|
1
|
+
import { i as e, n as t, o as n, r, t as i } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a, n as o, r as s } from "./custom-element-DeaCQ2NP.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { n as l, t as u } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
|
-
import { t as d } from "./shadow-resets-
|
|
5
|
+
import { t as d } from "./shadow-resets-CRdvf-Ei.js";
|
|
6
6
|
import { n as f, r as p, t as m } from "./directive-CwRgozUW.js";
|
|
7
|
-
import { i as h, r as g } from "./directive-helpers-
|
|
8
|
-
import "./checkbox-
|
|
9
|
-
import { t as _ } from "./described-by-mixin-
|
|
7
|
+
import { i as h, r as g } from "./directive-helpers-DgaADFyY.js";
|
|
8
|
+
import "./checkbox-CeLTJhAc.js";
|
|
9
|
+
import { t as _ } from "./described-by-mixin-BYFim7aO.js";
|
|
10
10
|
import { t as v } from "./reflect-non-default-Bu3rpCvg.js";
|
|
11
11
|
import { t as y } from "./defer-focus-F73ud2D9.js";
|
|
12
12
|
// src/components/inputs/checkbox-field/checkbox-field.styles.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { a as r, r as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a as r, r as i } from "./custom-element-DeaCQ2NP.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as o } from "./shadow-resets-
|
|
4
|
+
import { t as o } from "./shadow-resets-CRdvf-Ei.js";
|
|
5
5
|
import { t as s } from "./owned-attribute-x9OCTy_4.js";
|
|
6
6
|
import { t as c } from "./defer-focus-F73ud2D9.js";
|
|
7
7
|
// src/components/inputs/checkbox-group/checkbox-group.styles.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as e, r as t } from "./custom-element-
|
|
1
|
+
import { a as e, r as t } from "./custom-element-DeaCQ2NP.js";
|
|
2
2
|
import { t as n } from "./reflect-non-default-Bu3rpCvg.js";
|
|
3
|
-
import {
|
|
3
|
+
import { H as r, I as i, Q as a, W as o, j as s, r as c, t as l } from "./languages-C9AGuuSS.js";
|
|
4
4
|
import { t as u } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as d } from "./query-ChDzi9FQ.js";
|
|
6
|
-
import { a as f, n as p, o as m, t as h } from "./codemirror-input-
|
|
7
|
-
import { o as g, t as _ } from "./decorate-
|
|
8
|
-
import { t as v } from "./shadow-resets-
|
|
6
|
+
import { a as f, n as p, o as m, t as h } from "./codemirror-input-DJ0wgYrc.js";
|
|
7
|
+
import { o as g, t as _ } from "./decorate-CCYde2ES.js";
|
|
8
|
+
import { t as v } from "./shadow-resets-CRdvf-Ei.js";
|
|
9
9
|
// src/components/inputs/code-editor/code-editor.styles.ts
|
|
10
10
|
var y = e`
|
|
11
11
|
:host {
|
|
@@ -214,7 +214,7 @@ function b(e) {
|
|
|
214
214
|
// src/components/inputs/code-editor/code-editor.ts
|
|
215
215
|
var x = class extends h {
|
|
216
216
|
constructor(...e) {
|
|
217
|
-
super(...e), this.wrap = !1, this.resize = "auto", this.embedded = !1, this.language = "", this.lineNumbers = !1, this.rowsProperty = "--_code-editor-rows", this._wrapCompartment = new
|
|
217
|
+
super(...e), this.wrap = !1, this.resize = "auto", this.embedded = !1, this.language = "", this.lineNumbers = !1, this.rowsProperty = "--_code-editor-rows", this._wrapCompartment = new a(), this._lineNumbersCompartment = new a(), this._languageCompartment = new a();
|
|
218
218
|
}
|
|
219
219
|
getEditorParent() {
|
|
220
220
|
return this._container;
|
|
@@ -224,15 +224,15 @@ var x = class extends h {
|
|
|
224
224
|
c,
|
|
225
225
|
f(),
|
|
226
226
|
i(),
|
|
227
|
-
|
|
227
|
+
r.of([...p, ...m]),
|
|
228
228
|
...this.inputExtensions(),
|
|
229
|
-
this._wrapCompartment.of(this.wrap ?
|
|
229
|
+
this._wrapCompartment.of(this.wrap ? s.lineWrapping : []),
|
|
230
230
|
this._lineNumbersCompartment.of(this._lineNumbersExtension()),
|
|
231
231
|
this._languageCompartment.of([])
|
|
232
232
|
];
|
|
233
233
|
}
|
|
234
234
|
_lineNumbersExtension() {
|
|
235
|
-
return this.lineNumbers ?
|
|
235
|
+
return this.lineNumbers ? o({ domEventHandlers: { mousedown: (e, t) => (e.dispatch({ selection: { anchor: t.from } }), e.focus(), !0) } }) : [];
|
|
236
236
|
}
|
|
237
237
|
contentAttributes() {
|
|
238
238
|
return {
|
|
@@ -244,7 +244,7 @@ var x = class extends h {
|
|
|
244
244
|
super.onEditorMounted(), this.language && this._applyLanguage();
|
|
245
245
|
}
|
|
246
246
|
updated(e) {
|
|
247
|
-
super.updated(e), this.view && (e.has("wrap") && this.reconfigure(this._wrapCompartment, this.wrap ?
|
|
247
|
+
super.updated(e), this.view && (e.has("wrap") && this.reconfigure(this._wrapCompartment, this.wrap ? s.lineWrapping : []), e.has("lineNumbers") && this.reconfigure(this._lineNumbersCompartment, this._lineNumbersExtension()), e.has("language") && this._applyLanguage());
|
|
248
248
|
}
|
|
249
249
|
async _applyLanguage() {
|
|
250
250
|
let e = this.language;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as e, n as t, r as n } from "./custom-element-
|
|
1
|
+
import { a as e, n as t, r as n } from "./custom-element-DeaCQ2NP.js";
|
|
2
2
|
import { t as r } from "./reflect-non-default-Bu3rpCvg.js";
|
|
3
|
-
import {
|
|
3
|
+
import { B as i, F as a, M as o, Q as s, V as c, W as l, et as u, i as d, it as f, j as p, k as m, r as h, t as ee } from "./languages-C9AGuuSS.js";
|
|
4
4
|
import { t as g } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { o as _, r as v, t as y } from "./decorate-
|
|
6
|
-
import { t as b } from "./shadow-resets-
|
|
5
|
+
import { o as _, r as v, t as y } from "./decorate-CCYde2ES.js";
|
|
6
|
+
import { t as b } from "./shadow-resets-CRdvf-Ei.js";
|
|
7
7
|
import { t as x } from "./code-viewer.i18n-BHfSDRbK.js";
|
|
8
|
-
import "./icon-button-
|
|
9
|
-
import "./tooltip-
|
|
10
|
-
import { t as S } from "./translations-
|
|
8
|
+
import "./icon-button-DT_Bi4Ac.js";
|
|
9
|
+
import "./tooltip-BvRNYRo3.js";
|
|
10
|
+
import { t as S } from "./translations-cJjO6nQV.js";
|
|
11
11
|
import { r as C } from "./element-state-B-44fVqq.js";
|
|
12
12
|
import { t as w } from "./defer-focus-F73ud2D9.js";
|
|
13
13
|
// src/components/content/code-viewer/code-viewer.styles.ts
|
|
@@ -470,7 +470,7 @@ function j(e) {
|
|
|
470
470
|
}
|
|
471
471
|
return t;
|
|
472
472
|
}
|
|
473
|
-
var M = class extends
|
|
473
|
+
var M = class extends o {
|
|
474
474
|
constructor(e) {
|
|
475
475
|
super(), this.text = e;
|
|
476
476
|
}
|
|
@@ -480,14 +480,14 @@ var M = class extends f {
|
|
|
480
480
|
toDOM() {
|
|
481
481
|
return document.createTextNode(this.text);
|
|
482
482
|
}
|
|
483
|
-
}, N = class extends
|
|
483
|
+
}, N = class extends o {
|
|
484
484
|
constructor(e) {
|
|
485
485
|
super(), this.className = e, this.elementClass = e;
|
|
486
486
|
}
|
|
487
487
|
eq(e) {
|
|
488
488
|
return e.className === this.className;
|
|
489
489
|
}
|
|
490
|
-
}, P = class extends
|
|
490
|
+
}, P = class extends a {
|
|
491
491
|
constructor(e) {
|
|
492
492
|
super(), this.text = e;
|
|
493
493
|
}
|
|
@@ -498,7 +498,7 @@ var M = class extends f {
|
|
|
498
498
|
let e = document.createElement("span");
|
|
499
499
|
return e.className = "cm-diff-line-label", e.textContent = `${this.text}: `, e;
|
|
500
500
|
}
|
|
501
|
-
}, F = class extends
|
|
501
|
+
}, F = class extends a {
|
|
502
502
|
constructor(e) {
|
|
503
503
|
super(), this.header = e;
|
|
504
504
|
}
|
|
@@ -526,45 +526,45 @@ function R(e) {
|
|
|
526
526
|
function z(e, t) {
|
|
527
527
|
let { lines: n } = e;
|
|
528
528
|
if (n.length === 0) return [];
|
|
529
|
-
let r = R(n),
|
|
529
|
+
let r = R(n), a = [], o = [];
|
|
530
530
|
n.forEach((e, n) => {
|
|
531
|
-
let
|
|
532
|
-
e.hunk &&
|
|
531
|
+
let i = r[n];
|
|
532
|
+
e.hunk && a.push(m.widget({
|
|
533
533
|
widget: new F(e.hunk),
|
|
534
534
|
block: !0,
|
|
535
535
|
side: -1
|
|
536
|
-
}).range(
|
|
536
|
+
}).range(i)), a.push(m.line({ class: I[e.kind] }).range(i)), e.kind === "added" && a.push(m.widget({
|
|
537
537
|
widget: new P(t.addedLine(e.newNumber)),
|
|
538
538
|
side: -1
|
|
539
|
-
}).range(
|
|
539
|
+
}).range(i)), e.kind === "removed" && a.push(m.widget({
|
|
540
540
|
widget: new P(t.removedLine(e.oldNumber)),
|
|
541
541
|
side: -1
|
|
542
|
-
}).range(
|
|
542
|
+
}).range(i)), o.push(new N(I[e.kind]).range(i));
|
|
543
543
|
});
|
|
544
|
-
let
|
|
544
|
+
let s = (e, t) => n[e.state.doc.lineAt(t.from).number - 1], l = (e) => String(n.reduce((t, n) => Math.max(t, e(n) ?? 0), 0)), u = (e, t) => i({
|
|
545
545
|
class: `cm-diff-gutter cm-diff-${e}-gutter`,
|
|
546
546
|
lineMarker: (e, n) => {
|
|
547
|
-
let r =
|
|
547
|
+
let r = s(e, n), i = r ? t(r) : null;
|
|
548
548
|
return i === null ? null : new M(String(i));
|
|
549
549
|
},
|
|
550
|
-
initialSpacer: () => new M(
|
|
550
|
+
initialSpacer: () => new M(l(t))
|
|
551
551
|
});
|
|
552
552
|
return [
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
553
|
+
p.decorations.of(m.set(a, !0)),
|
|
554
|
+
c.of(f.of(o, !0)),
|
|
555
|
+
u("old", (e) => e.oldNumber),
|
|
556
|
+
u("new", (e) => e.newNumber),
|
|
557
|
+
i({
|
|
558
558
|
class: "cm-diff-gutter cm-diff-sign-gutter",
|
|
559
559
|
lineMarker: (e, t) => {
|
|
560
|
-
let n =
|
|
560
|
+
let n = s(e, t);
|
|
561
561
|
return n && n.kind !== "context" ? new M(L[n.kind]) : null;
|
|
562
562
|
},
|
|
563
563
|
initialSpacer: () => new M("+")
|
|
564
564
|
})
|
|
565
565
|
];
|
|
566
566
|
}
|
|
567
|
-
var B = .5, V =
|
|
567
|
+
var B = .5, V = m.mark({ class: "cm-diff-removed-word" }), H = m.mark({ class: "cm-diff-added-word" });
|
|
568
568
|
async function U(e) {
|
|
569
569
|
let t = j(e.lines);
|
|
570
570
|
if (t.length === 0) return [];
|
|
@@ -573,7 +573,7 @@ async function U(e) {
|
|
|
573
573
|
let t = e.lines[a].text, s = e.lines[o].text, c = n(t, s);
|
|
574
574
|
if (c.length !== 0 && !(c.reduce((e, t) => e + t.toA - t.fromA, 0) + c.reduce((e, t) => e + t.toB - t.fromB, 0) > (t.length + s.length) * B)) for (let e of c) e.toA > e.fromA && i.push(V.range(r[a] + e.fromA, r[a] + e.toA)), e.toB > e.fromB && i.push(H.range(r[o] + e.fromB, r[o] + e.toB));
|
|
575
575
|
}
|
|
576
|
-
return i.length ?
|
|
576
|
+
return i.length ? p.decorations.of(m.set(i, !0)) : [];
|
|
577
577
|
}
|
|
578
578
|
// src/utilities/color-scheme-repaint.ts
|
|
579
579
|
var W = /* @__PURE__ */ new Set(), G = null;
|
|
@@ -604,7 +604,7 @@ function Q() {
|
|
|
604
604
|
}
|
|
605
605
|
var $ = (Y = class extends d {
|
|
606
606
|
constructor(...e) {
|
|
607
|
-
super(...e), this.appearance = "box-tinted", this.language = "", this.diff = !1, this.lineNumbers = !1, this.noCopy = !1, this.wrap = !1, this.maxHeight = "", this._copyUnavailable = !1, this.translations = {}, this._isScrollable = !1, this._copyState = "idle", this._languageCompartment = new
|
|
607
|
+
super(...e), this.appearance = "box-tinted", this.language = "", this.diff = !1, this.lineNumbers = !1, this.noCopy = !1, this.wrap = !1, this.maxHeight = "", this._copyUnavailable = !1, this.translations = {}, this._isScrollable = !1, this._copyState = "idle", this._languageCompartment = new s(), this._wrapCompartment = new s(), this._diffCompartment = new s(), this._wordCompartment = new s(), this._lineNumbersCompartment = new s(), this._languagePending = Promise.resolve(), this._wordsPending = Promise.resolve(), this._parsedDiff = null, this._copyPointerType = "", this._onCopyScroll = () => {
|
|
608
608
|
clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0, this._copyState = "idle";
|
|
609
609
|
};
|
|
610
610
|
}
|
|
@@ -616,15 +616,15 @@ var $ = (Y = class extends d {
|
|
|
616
616
|
}
|
|
617
617
|
buildExtensions() {
|
|
618
618
|
return [
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
619
|
+
h,
|
|
620
|
+
p.editable.of(!1),
|
|
621
|
+
u.readOnly.of(!0),
|
|
622
|
+
p.contentAttributes.of({
|
|
623
623
|
role: "code",
|
|
624
624
|
"aria-multiline": null,
|
|
625
625
|
"aria-readonly": null
|
|
626
626
|
}),
|
|
627
|
-
this._wrapCompartment.of(this.wrap ?
|
|
627
|
+
this._wrapCompartment.of(this.wrap ? p.lineWrapping : []),
|
|
628
628
|
this._languageCompartment.of([]),
|
|
629
629
|
this._diffCompartment.of(this._parsedDiff ? this._diffExtension(this._parsedDiff) : []),
|
|
630
630
|
this._wordCompartment.of([]),
|
|
@@ -671,7 +671,7 @@ var $ = (Y = class extends d {
|
|
|
671
671
|
e.has("_copyState") && (this._copyState === "idle" ? document.removeEventListener("scroll", this._onCopyScroll, { capture: !0 }) : document.addEventListener("scroll", this._onCopyScroll, {
|
|
672
672
|
capture: !0,
|
|
673
673
|
passive: !0
|
|
674
|
-
})), e.has("noCopy") && (this._copyUnavailable = !this.noCopy && !Q()), e.has("maxHeight") && (this.maxHeight && CSS.supports("max-height", this.maxHeight) ? this.style.setProperty("--_code-viewer-max-height", this.maxHeight) : this.style.removeProperty("--_code-viewer-max-height"), C(this, "invalid-max-height", !!this.maxHeight && !CSS.supports("max-height", this.maxHeight))), this.view && (this._isScrollable && this.view.scrollDOM.setAttribute("aria-label", this._t("components.code-viewer.region-label")), e.has("language") && this._applyLanguage(), e.has("diff") && e.get("diff") !== void 0 && this._applyContent(), (e.has("lineNumbers") && e.get("lineNumbers") !== void 0 || e.has("diff") && e.get("diff") !== void 0) && this.reconfigure(this._lineNumbersCompartment, this._lineNumbersExtension()), e.has("translations") && e.get("translations") !== void 0 && this._parsedDiff && this.reconfigure(this._diffCompartment, this._diffExtension(this._parsedDiff)), e.has("wrap") && (this.reconfigure(this._wrapCompartment, this.wrap ?
|
|
674
|
+
})), e.has("noCopy") && (this._copyUnavailable = !this.noCopy && !Q()), e.has("maxHeight") && (this.maxHeight && CSS.supports("max-height", this.maxHeight) ? this.style.setProperty("--_code-viewer-max-height", this.maxHeight) : this.style.removeProperty("--_code-viewer-max-height"), C(this, "invalid-max-height", !!this.maxHeight && !CSS.supports("max-height", this.maxHeight))), this.view && (this._isScrollable && this.view.scrollDOM.setAttribute("aria-label", this._t("components.code-viewer.region-label")), e.has("language") && this._applyLanguage(), e.has("diff") && e.get("diff") !== void 0 && this._applyContent(), (e.has("lineNumbers") && e.get("lineNumbers") !== void 0 || e.has("diff") && e.get("diff") !== void 0) && this.reconfigure(this._lineNumbersCompartment, this._lineNumbersExtension()), e.has("translations") && e.get("translations") !== void 0 && this._parsedDiff && this.reconfigure(this._diffCompartment, this._diffExtension(this._parsedDiff)), e.has("wrap") && (this.reconfigure(this._wrapCompartment, this.wrap ? p.lineWrapping : []), this._updateScrollable()), (e.has("appearance") || e.has("maxHeight") || e.has("noCopy") || e.has("_copyUnavailable")) && this._updateScrollable());
|
|
675
675
|
}
|
|
676
676
|
_onSlotChange() {
|
|
677
677
|
this._applyContent();
|