@nldd/design-system 0.24.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +591 -31
- package/dist/assets/styles/shadow-resets.d.ts +9 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +13 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +140 -137
- package/dist/cdn/chunks/accordion-B7KdKJno.js +90 -0
- package/dist/cdn/chunks/accordion-item-CVy8Apta.js +242 -0
- package/dist/cdn/chunks/{activity-indicator-DWBG1Csi.js → activity-indicator-CpJVlX6K.js} +12 -12
- package/dist/cdn/chunks/admonition-C89WHJ9a.js +379 -0
- package/dist/cdn/chunks/{avatar-CRZLseMs.js → avatar-Bf0OfAtQ.js} +17 -17
- package/dist/cdn/chunks/{avatar-group-coYbMhot.js → avatar-group-BeBAv2wB.js} +20 -20
- package/dist/cdn/chunks/{badge-DAXG-uIw.js → badge-C43FvgkK.js} +5 -5
- package/dist/cdn/chunks/{banner-BbR0rebp.js → banner-OWK0gwFb.js} +41 -40
- package/dist/cdn/chunks/{bar-split-view-DoklVwuj.js → bar-split-view-Dj1WycIW.js} +7 -7
- package/dist/cdn/chunks/{blockquote-DfIl4wTC.js → blockquote-D_5MxcSi.js} +9 -9
- package/dist/cdn/chunks/{box-CXICi_Gs.js → box-BUoxiA7b.js} +10 -10
- package/dist/cdn/chunks/{breadcrumbs-CVoNqsU2.js → breadcrumbs-DXxJTACL.js} +6 -6
- package/dist/cdn/chunks/{button-DWzqSerk.js → button-DpKyquzm.js} +8 -8
- package/dist/cdn/chunks/{button-bar-DwFLuumP.js → button-bar-BSt-QQRG.js} +30 -30
- package/dist/cdn/chunks/{button-group-D-nEY7Wz.js → button-group-D5QJWJzh.js} +2 -2
- package/dist/cdn/chunks/{card-CIVLEFhz.js → card-Cz4f-dCf.js} +9 -9
- package/dist/cdn/chunks/{cell-C79LmCOU.js → cell-zFw2V9wD.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BQepKdVv.js → checkbox-BDp3O8Nc.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-ColaTYKE.js → checkbox-field-CSXV0prA.js} +5 -5
- package/dist/cdn/chunks/{class-map-9VgiG_zt.js → class-map-C7ao595e.js} +1 -1
- package/dist/cdn/chunks/{code-editor-FNmK9xRx.js → code-editor-Chm9EG_v.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-C5whEGq6.js → code-viewer-DX322d7w.js} +102 -87
- package/dist/cdn/chunks/{codemirror-input-SKGbh9LP.js → codemirror-input-BLMJQbHq.js} +4 -4
- package/dist/cdn/chunks/{collection-Dq6Z66UX.js → collection-Bf8HoSki.js} +20 -20
- package/dist/cdn/chunks/{combo-box-CoOSPICd.js → combo-box-VuU_F54v.js} +25 -25
- package/dist/cdn/chunks/{container-CtwuWO3a.js → container-qVTgmbpz.js} +48 -48
- package/dist/cdn/chunks/css-time-DmkAFd1y.js +8 -0
- package/dist/cdn/chunks/{custom-element-BVKCDhPV.js → custom-element-C5yyaCZS.js} +4 -2
- package/dist/cdn/chunks/{date-field-CqnGM7GR.js → date-field-By9Q8151.js} +100 -88
- package/dist/cdn/chunks/{date-picker-C2iGHw2u.js → date-picker-DtA4PXCh.js} +16 -16
- package/dist/cdn/chunks/{decorate-CK3hc5C5.js → decorate-CkbtFnic.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DGAPpEdM.js → described-by-mixin-DXC6jkCd.js} +2 -2
- package/dist/cdn/chunks/{description-cell-B08Ma5EJ.js → description-cell-D2INE8A3.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-BwWYGVrJ.js → dev-checks-UHHli7gE.js} +112 -18
- package/dist/cdn/chunks/{dist-B8vBP_Xz.js → dist-B1pwN_VD.js} +1 -1
- package/dist/cdn/chunks/{dist-B4vELUJW.js → dist-BG0xnVUi.js} +3 -3
- package/dist/cdn/chunks/{dist-CKeY28-M.js → dist-BzfFo9Yu.js} +2 -2
- package/dist/cdn/chunks/{dist-CQ5kBaGZ.js → dist-C-T4uKP1.js} +1 -1
- package/dist/cdn/chunks/{dist-BThgPtD7.js → dist-Ce38ZA7b.js} +2 -2
- package/dist/cdn/chunks/{dist-DP5DQSlX.js → dist-Cm51DQO4.js} +2 -2
- package/dist/cdn/chunks/{dist-B2YK3eT2.js → dist-Dg3ySzj7.js} +3 -3
- package/dist/cdn/chunks/{dist-jAq440y0.js → dist-VXOtAJ-m.js} +1 -1
- package/dist/cdn/chunks/{dist-D1t9kkjo.js → dist-pCih3zzc.js} +1 -1
- package/dist/cdn/chunks/{dist-DzcXDSFC.js → dist-qo8avphr.js} +1 -1
- package/dist/cdn/chunks/{dist-CWN_qz9z.js → dist-zxb4QZZG.js} +1 -1
- package/dist/cdn/chunks/{divider-KgHxRNV9.js → divider-Cv_vyHvw.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CTIcETDr.js → document-tab-bar-CdOxr8KC.js} +53 -52
- package/dist/cdn/chunks/{dropdown-BhrCadMW.js → dropdown-DC9J6k0P.js} +5 -5
- package/dist/cdn/chunks/{file-field-DzH4Yrj5.js → file-field-CsrTk4uk.js} +25 -25
- package/dist/cdn/chunks/{floating-ui.dom-B8J1rV2c.js → floating-ui.dom-BvAAdCVe.js} +260 -184
- package/dist/cdn/chunks/{form-CzmdlZ0i.js → form-ClOD1OKh.js} +10 -10
- package/dist/cdn/chunks/{form-actions-CDQW1p3w.js → form-actions-CwaXGj43.js} +3 -3
- package/dist/cdn/chunks/{form-field-D_qJpPAS.js → form-field-LoX9v2Pa.js} +7 -7
- package/dist/cdn/chunks/{form-section-Jy5b5Qtp.js → form-section-i6piyKuy.js} +16 -16
- package/dist/cdn/chunks/{full-bleed-section-BDIuXLGU.js → full-bleed-section-6aAfCnez.js} +4 -4
- package/dist/cdn/chunks/{hero-BPHFHrUT.js → hero-CTQAayXT.js} +22 -22
- package/dist/cdn/chunks/{icon-BE2ojX0S.js → icon-B5kHyCz2.js} +7 -7
- package/dist/cdn/chunks/{icon-button-CFMhdG1B.js → icon-button-DuEiOOoc.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-CQ-e1GB2.js → icon-cell-uZkR3hZx.js} +6 -6
- package/dist/cdn/chunks/{identity-7wQDjeGb.js → identity-DR6DMjke.js} +55 -39
- package/dist/cdn/chunks/{if-defined-G1P3HUvi.js → if-defined-B7fJBsUt.js} +1 -1
- package/dist/cdn/chunks/{image-QPbmNKvZ.js → image-CuBUo_MQ.js} +20 -20
- package/dist/cdn/chunks/{inline-dialog-DP3AXfJV.js → inline-dialog-CZNkWJIA.js} +15 -15
- package/dist/cdn/chunks/{just-in-time-education-DnaF_sLc.js → just-in-time-education-qwg9hTDX.js} +8 -8
- package/dist/cdn/chunks/{kanban-o2GMLjsq.js → kanban-Bkg-nZmX.js} +9 -9
- package/dist/cdn/chunks/{kanban-column-B_Jrut9s.js → kanban-column-C8iRyRNY.js} +8 -8
- package/dist/cdn/chunks/{keyboard-shortcut-Dm366Dra.js → keyboard-shortcut-Rq5IHU-e.js} +3 -3
- package/dist/cdn/chunks/{languages-Dlh_tbAH.js → languages-DLHsACpp.js} +12 -12
- package/dist/cdn/chunks/{link-DhTY3Sjh.js → link-CgjFwaHP.js} +70 -21
- package/dist/cdn/chunks/{link-group-YuwD1m6-.js → link-group-5W0GAmTq.js} +2 -2
- package/dist/cdn/chunks/{list-Cdvib5Y-.js → list-BASqIKtP.js} +15 -15
- package/dist/cdn/chunks/{list-item-vO3GwQWa.js → list-item-DTcPysIP.js} +19 -19
- package/dist/cdn/chunks/{list-item-segment-F3av0jxz.js → list-item-segment-CRw0y4kg.js} +15 -15
- package/dist/cdn/chunks/{menu-dTVlz6mn.js → menu-CYILGTpB.js} +47 -41
- package/dist/cdn/chunks/{menu-bar-imOaTlGm.js → menu-bar-CL566HmJ.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-item-ChQbM1ER.js → menu-bar-item-C6OrUu_4.js} +18 -18
- package/dist/cdn/chunks/{menu-divider-D7s6f49y.js → menu-divider-BtU9eBSb.js} +3 -3
- package/dist/cdn/chunks/{menu-group-BcEmoNvL.js → menu-group-r2TvdqJB.js} +6 -6
- package/dist/cdn/chunks/{menu-item-BGlVTfe6.js → menu-item-CS45jTLu.js} +22 -22
- package/dist/cdn/chunks/{menu.template-syBthjEV.js → menu.template-CF8Iau1s.js} +20 -5
- package/dist/cdn/chunks/{modal-dialog-BBK25tjm.js → modal-dialog-C9NBq8TO.js} +5 -5
- package/dist/cdn/chunks/{multi-line-text-field-DuL6nLG_.js → multi-line-text-field-BkxV0vqA.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-CdZNbX91.js → navigation-split-view-DNrQYkg7.js} +11 -11
- package/dist/cdn/chunks/{nl.generated-CgRVSEh6.js → nl.generated-BDowZkhc.js} +1 -1
- package/dist/cdn/chunks/{notification-Dwhfnjb2.js → notification-Dzpy9hCc.js} +13 -13
- package/dist/cdn/chunks/{number-field-Dl4zZvVe.js → number-field-BJCUe-bI.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-BJxLZfiK.js → one-half-one-half-section-Ctw8ri5v.js} +4 -4
- package/dist/cdn/chunks/{one-third-two-thirds-section-CARh_hdH.js → one-third-two-thirds-section-DxUUH8lS.js} +4 -4
- package/dist/cdn/chunks/{one-time-code-field-FaxqiiD6.js → one-time-code-field-DGDyqIMd.js} +20 -20
- package/dist/cdn/chunks/{page-Cc5bb6VU.js → page-BpavFPML.js} +10 -10
- package/dist/cdn/chunks/{page-footer-Df1cS-ks.js → page-footer-CVqmyulx.js} +15 -15
- package/dist/cdn/chunks/{page-section-mixin-BzgAU2sX.js → page-section-mixin-BHg-Wre9.js} +3 -3
- package/dist/cdn/chunks/{pagination-BcnkrWV_.js → pagination-BGZYq-eO.js} +6 -6
- package/dist/cdn/chunks/{password-field-CeIJm406.js → password-field-BIFfLAls.js} +7 -7
- package/dist/cdn/chunks/{popover-BIMt3aqW.js → popover-TCW20ibN.js} +9 -9
- package/dist/cdn/chunks/{progress-bar-C9CWhkse.js → progress-bar-C4bLuJBa.js} +24 -24
- package/dist/cdn/chunks/{progress-circle-CJL1aFbS.js → progress-circle-BePtt89f.js} +22 -22
- package/dist/cdn/chunks/{radio-button-DKo5kdLW.js → radio-button-CLiuwjA1.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-DPZajMnT.js → radio-button-field-BPva1mUv.js} +12 -12
- package/dist/cdn/chunks/{radio-button-group-BBZhU3bn.js → radio-button-group-Z5s4obz6.js} +3 -3
- package/dist/cdn/chunks/{render-marked-Bkoq5vNH.js → render-marked-C3ypoEZM.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-CEW8Cg1r.js → reorder-handle-cell-BB9b4T_d.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-BkksqjmK.js → reorder-handle-mixin-DBjNe6Rl.js} +2 -2
- package/dist/cdn/chunks/{repeat-C5V9E9Ta.js → repeat-s95Ixbpx.js} +1 -1
- package/dist/cdn/chunks/{rich-text-DEFr_Niu.js → rich-text-DTxHo8E_.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-BSORP0i7.js → row-header-mixin-BcwoEgu7.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-B7kZVxmh.js → scroll-fade-Dul0IfE1.js} +4 -4
- package/dist/cdn/chunks/{search-field-Dr0MLD_z.js → search-field-BeZN7S8J.js} +9 -9
- package/dist/cdn/chunks/{segmented-control-aOIkoklF.js → segmented-control-Dzu8xoqB.js} +33 -33
- package/dist/cdn/chunks/{shadow-resets-CRBumQjX.js → shadow-resets-Dlq8Oecv.js} +11 -7
- package/dist/cdn/chunks/{sheet-BCPE_pDl.js → sheet-DaQpfAep.js} +4 -4
- package/dist/cdn/chunks/{shell-ZCsqW56P.js → shell-DSNgonKU.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-BWIyZmzo.js → side-by-side-split-view-DhGbcDrs.js} +7 -7
- package/dist/cdn/chunks/{sidebar-section-Di3mQROc.js → sidebar-section-BlJmPb9C.js} +8 -8
- package/dist/cdn/chunks/{simple-section-sOkNMsbz.js → simple-section-CYiTEFqN.js} +4 -4
- package/dist/cdn/chunks/{skip-link-mcskOuFr.js → skip-link-CReOb-Ci.js} +4 -4
- package/dist/cdn/chunks/{slider-CkPk4lBA.js → slider-DUEGol_V.js} +21 -21
- package/dist/cdn/chunks/slot-content-2qH2vEC_.js +22 -0
- package/dist/cdn/chunks/slotted-block-xNpJoXLz.js +14 -0
- package/dist/cdn/chunks/{spacer-RB_KBaTr.js → spacer-CPmyJDQq.js} +3 -3
- package/dist/cdn/chunks/{spacer-cell-V1UaaPcO.js → spacer-cell-DJEv0v6s.js} +4 -4
- package/dist/cdn/chunks/{split-button-BUEhYiI5.js → split-button-B3vfYAdy.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-Rmb9cG9K.js → split-view-divider-pSUpnEPX.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-DQRZ9tE0.js → split-view-pane-J1RVr_w1.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-BaeQhWmd.js → stacked-split-view-B67fT-Ch.js} +7 -7
- package/dist/cdn/chunks/{static-html-CAczcbUD.js → static-html-BT4LOKbV.js} +1 -1
- package/dist/cdn/chunks/{status-bar-D3-IYqUp.js → status-bar-CGXqgNOf.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BfNXoHds.js → step-bar-DdsA2Egs.js} +21 -21
- package/dist/cdn/chunks/{step-cell-BN2ZKsQ4.js → step-cell-DsTAgMCx.js} +5 -5
- package/dist/cdn/chunks/{stepper-DuPRMxBx.js → stepper-DPqXiLQr.js} +6 -6
- package/dist/cdn/chunks/{style-map-LFqo5rE_.js → style-map-B7yv7Y8k.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-BVKCFzpO.js → swatch-picker-D9QZmbNN.js} +21 -21
- package/dist/cdn/chunks/{switch-CgUZ0WlQ.js → switch-CE2glvZQ.js} +4 -4
- package/dist/cdn/chunks/{switch-field-B4c8-L61.js → switch-field-Dr2LovXc.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-D-1g8fdF.js → tab-bar-DYZbToZB.js} +21 -21
- package/dist/cdn/chunks/{table-jrJ4EJpq.js → table-DoQMJbSg.js} +5 -5
- package/dist/cdn/chunks/{tag-JYwa5l-A.js → tag-DOX5nY-Z.js} +10 -10
- package/dist/cdn/chunks/{term-NyLmTWnF.js → term-CxGzPnhq.js} +58 -38
- package/dist/cdn/chunks/term.i18n-9qtxefIQ.js +6 -0
- package/dist/cdn/chunks/text-Dqe0uTK7.js +260 -0
- package/dist/cdn/chunks/{text-cell-BXLFcD_e.js → text-cell-ByGrujhK.js} +74 -62
- package/dist/cdn/chunks/{text-editor-rLc5H6kD.js → text-editor-DT9oWQCT.js} +10 -10
- package/dist/cdn/chunks/{text-field-B7M4VwCe.js → text-field-DKz5IRAU.js} +22 -22
- package/dist/cdn/chunks/{time-field-BtQRsvpR.js → time-field-Dh7nTwNc.js} +27 -27
- package/dist/cdn/chunks/{time-picker-BKLwibb9.js → time-picker-Bp-l4JfF.js} +54 -57
- package/dist/cdn/chunks/{title-DLD3RW7l.js → title-CdIWXNtc.js} +113 -98
- package/dist/cdn/chunks/{title-cell-BCUBuKIO.js → title-cell-DNbP8l_x.js} +83 -74
- package/dist/cdn/chunks/{toggle-button-Etx8hKQS.js → toggle-button-CPMxB3gN.js} +25 -25
- package/dist/cdn/chunks/{toggle-button-group-Ph1kcTqj.js → toggle-button-group-ERWVyRX5.js} +2 -2
- package/dist/cdn/chunks/{token-BQtumlDT.js → token-CG8dR3EH.js} +13 -13
- package/dist/cdn/chunks/{token-field-BrV2RZHi.js → token-field-B8wqHKan.js} +21 -21
- package/dist/cdn/chunks/{toolbar-w_2rxcNu.js → toolbar-CiZoecHm.js} +12 -12
- package/dist/cdn/chunks/{toolbar-item-x-y_AxHu.js → toolbar-item-xJEewchW.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-g47zMdG2.js → toolbar-title-C08aG67Y.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-EP0gu8kg.js → toolbar.styles-DmAHodW4.js} +3 -3
- package/dist/cdn/chunks/{tooltip-D47hF_iD.js → tooltip-660R32cn.js} +55 -47
- package/dist/cdn/chunks/{top-navigation-bar-DO7JsQVs.js → top-navigation-bar-B1HFShH8.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-CVEOoXhu.js → top-title-bar-BLZZd0Iu.js} +14 -14
- package/dist/cdn/chunks/{translations-eWWV6weF.js → translations-CF08wvn-.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-x3dadNwz.js → two-thirds-one-third-section-Dqz7UoSH.js} +4 -4
- package/dist/cdn/chunks/{validation-list-krcQHzP3.js → validation-list-D-bzOl5H.js} +10 -10
- package/dist/cdn/chunks/{visibility-mixin-CXBa-fVi.js → visibility-mixin-X9d6wHvR.js} +4 -4
- package/dist/cdn/chunks/{visually-hidden-Cd1_FE1J.js → visually-hidden-Cew5_ldu.js} +2 -2
- package/dist/cdn/chunks/{window-JbrLuRjR.js → window-DSgA26_c.js} +4 -4
- package/dist/cdn/chunks/{with-translations-DhRk5rH-.js → with-translations-Boc5Daaj.js} +3 -3
- package/dist/components/actions/button-bar/button-bar.js +2 -2
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +17 -4
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +50 -6
- package/dist/components/actions/menu/menu.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 -1
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/content/accordion/accordion-item.d.ts +38 -0
- package/dist/components/content/accordion/accordion-item.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.js +62 -0
- package/dist/components/content/accordion/accordion-item.js.map +1 -0
- package/dist/components/content/accordion/accordion-item.styles.d.ts +2 -0
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.styles.js +196 -0
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -0
- package/dist/components/content/accordion/accordion-item.template.d.ts +4 -0
- package/dist/components/content/accordion/accordion-item.template.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.template.js +24 -0
- package/dist/components/content/accordion/accordion-item.template.js.map +1 -0
- package/dist/components/content/accordion/accordion.d.ts +50 -0
- package/dist/components/content/accordion/accordion.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.js +96 -0
- package/dist/components/content/accordion/accordion.js.map +1 -0
- package/dist/components/content/accordion/accordion.styles.d.ts +2 -0
- package/dist/components/content/accordion/accordion.styles.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.styles.js +43 -0
- package/dist/components/content/accordion/accordion.styles.js.map +1 -0
- package/dist/components/content/accordion/accordion.template.d.ts +4 -0
- package/dist/components/content/accordion/accordion.template.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.template.js +9 -0
- package/dist/components/content/accordion/accordion.template.js.map +1 -0
- package/dist/components/content/admonition/admonition.d.ts +76 -0
- package/dist/components/content/admonition/admonition.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.js +129 -0
- package/dist/components/content/admonition/admonition.js.map +1 -0
- package/dist/components/content/admonition/admonition.styles.d.ts +2 -0
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.styles.js +269 -0
- package/dist/components/content/admonition/admonition.styles.js.map +1 -0
- package/dist/components/content/admonition/admonition.template.d.ts +4 -0
- package/dist/components/content/admonition/admonition.template.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.template.js +63 -0
- package/dist/components/content/admonition/admonition.template.js.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +36 -1
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +2 -0
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +17 -10
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +33 -19
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +5 -1
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/identity/identity.template.d.ts +1 -1
- package/dist/components/content/identity/identity.template.d.ts.map +1 -1
- package/dist/components/content/identity/identity.template.js +11 -5
- package/dist/components/content/identity/identity.template.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +14 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +14 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/term/term.d.ts +12 -1
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.i18n.d.ts +1 -0
- package/dist/components/content/term/term.i18n.d.ts.map +1 -1
- package/dist/components/content/term/term.i18n.js +2 -0
- package/dist/components/content/term/term.i18n.js.map +1 -1
- package/dist/components/content/term/term.js +23 -1
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/term/term.template.d.ts.map +1 -1
- package/dist/components/content/term/term.template.js +33 -12
- package/dist/components/content/term/term.template.js.map +1 -1
- package/dist/components/content/text/text.d.ts +15 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +19 -3
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +7 -155
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/text/text.template.d.ts +3 -2
- package/dist/components/content/text/text.template.d.ts.map +1 -1
- package/dist/components/content/text/text.template.js +3 -4
- package/dist/components/content/text/text.template.js.map +1 -1
- package/dist/components/content/title/title.d.ts +22 -7
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +43 -19
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +16 -10
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +4 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +2 -2
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +2 -2
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +2 -2
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +2 -2
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +14 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +34 -1
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +2 -8
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/layout/box/box.styles.js +7 -7
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +24 -13
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +40 -31
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +5 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +15 -8
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +23 -11
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +39 -29
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +5 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +15 -16
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +2 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +60 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +145 -2
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +4 -0
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +4 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +25 -24
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
- package/dist/css/global-open-font.css +2 -0
- package/dist/css/global.css +2 -0
- package/dist/css/link.css +93 -0
- package/dist/css/rich-text.css +200 -2
- package/dist/css/text.css +159 -0
- package/dist/css/themes/oranje.css +1 -0
- package/dist/css/themes/robijnrood.css +1 -0
- package/dist/css/themes/rood.css +1 -0
- package/dist/css/themes.css +3 -0
- package/dist/css/title.css +10 -10
- package/dist/css/variables.css +21 -0
- package/dist/nldd.min.js +5057 -4592
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +1 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +1 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +1 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +1 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +48 -10
- package/dist/types/vue.d.ts +54 -10
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +3 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/css-time.d.ts +4 -0
- package/dist/utilities/css-time.d.ts.map +1 -0
- package/dist/utilities/css-time.js +10 -0
- package/dist/utilities/css-time.js.map +1 -0
- package/dist/utilities/custom-element.d.ts +10 -0
- package/dist/utilities/custom-element.d.ts.map +1 -1
- package/dist/utilities/custom-element.js +11 -0
- package/dist/utilities/custom-element.js.map +1 -1
- package/dist/utilities/dev-checks.d.ts +8 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +36 -0
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +71 -2
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/slot-content.d.ts +18 -7
- package/dist/utilities/slot-content.d.ts.map +1 -1
- package/dist/utilities/slot-content.js +25 -4
- package/dist/utilities/slot-content.js.map +1 -1
- package/dist/utilities/slotted-block.d.ts +20 -0
- package/dist/utilities/slotted-block.d.ts.map +1 -0
- package/dist/utilities/slotted-block.js +30 -0
- package/dist/utilities/slotted-block.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -2
- package/lint/frontends.js +149 -15
- package/lint/linter.js +3 -2
- package/lint/main.js +17 -3
- package/lint/project.js +2 -2
- package/lint/rule.schema.json +2 -1
- package/package.json +19 -2
- package/dist/cdn/chunks/slot-content-BLuPqVXw.js +0 -13
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +0 -3
- package/dist/cdn/chunks/text-gy-gkfSS.js +0 -406
|
@@ -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 { i,
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-CkbtFnic.js";
|
|
3
|
+
import { a as i, r as a } from "./custom-element-C5yyaCZS.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 { i, n as a,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-C5yyaCZS.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 {
|
|
5
|
+
import { a as l } from "./shadow-resets-Dlq8Oecv.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-Boc5Daaj.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`
|
|
@@ -248,17 +248,17 @@ var _ = class extends p(e, m) {
|
|
|
248
248
|
return g(this);
|
|
249
249
|
}
|
|
250
250
|
}, v = (_.styles = h, _);
|
|
251
|
-
r([
|
|
251
|
+
r([o({
|
|
252
252
|
reflect: !0,
|
|
253
253
|
converter: c("base")
|
|
254
|
-
})], v.prototype, "background", void 0), r([
|
|
254
|
+
})], v.prototype, "background", void 0), r([o({
|
|
255
255
|
type: String,
|
|
256
256
|
attribute: "accessible-label"
|
|
257
|
-
})], v.prototype, "accessibleLabel", void 0), r([
|
|
257
|
+
})], v.prototype, "accessibleLabel", void 0), r([o({
|
|
258
258
|
reflect: !0,
|
|
259
259
|
converter: c("")
|
|
260
|
-
})], v.prototype, "href", void 0), r([
|
|
260
|
+
})], v.prototype, "href", void 0), r([o({ type: String })], v.prototype, "target", void 0), r([o({ type: String })], v.prototype, "download", void 0), r([o({ type: String })], v.prototype, "rel", void 0), r([o({
|
|
261
261
|
type: Boolean,
|
|
262
262
|
reflect: !0
|
|
263
|
-
})], v.prototype, "button", void 0), r([
|
|
263
|
+
})], v.prototype, "button", void 0), r([a()], v.prototype, "_actionFocused", void 0), v = r([s("nldd-card")], v);
|
|
264
264
|
export { v as NLDDCard };
|
|
@@ -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 { i,
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-CkbtFnic.js";
|
|
3
|
+
import { a as i, r as a } from "./custom-element-C5yyaCZS.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-DBjNe6Rl.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-Dlq8Oecv.js";
|
|
8
|
+
import { t as u } from "./visibility-mixin-X9d6wHvR.js";
|
|
9
|
+
import { t as d } from "./row-header-mixin-BcwoEgu7.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 {
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CkbtFnic.js";
|
|
3
|
+
import { a, r as o } from "./custom-element-C5yyaCZS.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-B5kHyCz2.js";
|
|
7
|
+
import { t as l } from "./described-by-mixin-DXC6jkCd.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,10 +1,10 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as i, r as a } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { n as s, t as c } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-
|
|
6
|
-
import "./checkbox-
|
|
7
|
-
import { t as u } from "./described-by-mixin-
|
|
5
|
+
import { t as l } from "./shadow-resets-Dlq8Oecv.js";
|
|
6
|
+
import "./checkbox-BDp3O8Nc.js";
|
|
7
|
+
import { t as u } from "./described-by-mixin-DXC6jkCd.js";
|
|
8
8
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
9
|
import { t as f } from "./defer-focus-F73ud2D9.js";
|
|
10
10
|
// src/components/inputs/checkbox-field/checkbox-field.styles.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e, r as t } from "./custom-element-C5yyaCZS.js";
|
|
2
2
|
import { t as n } from "./reflect-non-default-Bu3rpCvg.js";
|
|
3
|
-
import { A as r, F as i, U as a, V as o, Z as s, r as c, t as l } from "./languages-
|
|
3
|
+
import { A as r, F as i, U as a, V as o, Z as s, r as c, t as l } from "./languages-DLHsACpp.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-BLMJQbHq.js";
|
|
7
|
+
import { o as g, t as _ } from "./decorate-CkbtFnic.js";
|
|
8
|
+
import { t as v } from "./shadow-resets-Dlq8Oecv.js";
|
|
9
9
|
// src/components/inputs/code-editor/code-editor.styles.ts
|
|
10
10
|
var y = e`
|
|
11
11
|
:host {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as e, n as t, r as n } from "./custom-element-C5yyaCZS.js";
|
|
2
2
|
import { t as r } from "./reflect-non-default-Bu3rpCvg.js";
|
|
3
|
-
import { $ as i, A as a, B as o, O as s, P as c, U as l, Z as u, i as d, j as f, r as p, rt as m, t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { o as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import "./icon-button-
|
|
9
|
-
import "./tooltip-
|
|
10
|
-
import { t as
|
|
11
|
-
import { r as
|
|
12
|
-
import { t as
|
|
3
|
+
import { $ as i, A as a, B as o, O as s, P as c, U as l, Z as u, i as d, j as f, r as p, rt as m, t as ee, z as h } from "./languages-DLHsACpp.js";
|
|
4
|
+
import { t as g } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
+
import { o as _, r as v, t as y } from "./decorate-CkbtFnic.js";
|
|
6
|
+
import { t as b } from "./shadow-resets-Dlq8Oecv.js";
|
|
7
|
+
import { t as x } from "./code-viewer.i18n-BHfSDRbK.js";
|
|
8
|
+
import "./icon-button-DuEiOOoc.js";
|
|
9
|
+
import "./tooltip-660R32cn.js";
|
|
10
|
+
import { t as S } from "./translations-CF08wvn-.js";
|
|
11
|
+
import { r as C } from "./element-state-B-44fVqq.js";
|
|
12
|
+
import { t as w } from "./defer-focus-F73ud2D9.js";
|
|
13
13
|
// src/components/content/code-viewer/code-viewer.styles.ts
|
|
14
|
-
var
|
|
14
|
+
var T = e`
|
|
15
15
|
:host {
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
}
|
|
@@ -53,7 +53,7 @@ var E = e`
|
|
|
53
53
|
--_code-viewer-gutter-border-width: var(--semantics-dividers-thickness);
|
|
54
54
|
--_code-viewer-gutter-border-color: var(--semantics-dividers-color);
|
|
55
55
|
|
|
56
|
-
${
|
|
56
|
+
${b}
|
|
57
57
|
display: flex;
|
|
58
58
|
max-width: 100%;
|
|
59
59
|
position: relative;
|
|
@@ -373,9 +373,9 @@ var E = e`
|
|
|
373
373
|
}
|
|
374
374
|
`;
|
|
375
375
|
// src/components/content/code-viewer/code-viewer.template.ts
|
|
376
|
-
function
|
|
376
|
+
function E(e) {
|
|
377
377
|
let t = e._copyState, n = t === "success" ? e._t("components.code-viewer.copy-success-text") : t === "failure" ? e._t("components.code-viewer.copy-failure-text") : e._t("components.code-viewer.copy-action"), r = n, i = t === "success" ? e._t("components.code-viewer.copy-success-text") : t === "failure" ? e._t("components.code-viewer.copy-failure-text") : "", a = e._diffSummary;
|
|
378
|
-
return
|
|
378
|
+
return _`<div class="code-viewer">${a ? _`<div class="code-viewer__diff-summary">${a}</div>` : v}<div class="code-viewer__codemirror"></div><slot @slotchange=${e._onSlotChange}></slot>${e._canCopy ? _`
|
|
379
379
|
<div class="code-viewer__actions">
|
|
380
380
|
<div class="code-viewer__copy-button">
|
|
381
381
|
<nldd-tooltip
|
|
@@ -391,6 +391,8 @@ function D(e) {
|
|
|
391
391
|
accessible-label=${r}
|
|
392
392
|
tooltip-timing="never"
|
|
393
393
|
size="sm"
|
|
394
|
+
@pointerdown=${e._onCopyPointerDown}
|
|
395
|
+
@keydown=${e._onCopyKeyDown}
|
|
394
396
|
@click=${e._onCopyClick}
|
|
395
397
|
@focusout=${e._onCopyBlur}
|
|
396
398
|
></nldd-icon-button>
|
|
@@ -401,26 +403,26 @@ function D(e) {
|
|
|
401
403
|
aria-live="polite"
|
|
402
404
|
>${i}</div>
|
|
403
405
|
</div>
|
|
404
|
-
` :
|
|
406
|
+
` : v}</div>`;
|
|
405
407
|
}
|
|
406
408
|
// src/components/content/code-viewer/code-viewer.diff.ts
|
|
407
|
-
var
|
|
408
|
-
function
|
|
409
|
+
var D = /^@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/, O = /^(diff |index |--- |\+\+\+ |new file|deleted file|similarity |rename |old mode|new mode)/;
|
|
410
|
+
function k(e) {
|
|
409
411
|
let t = 0;
|
|
410
|
-
for (; t < e.length &&
|
|
412
|
+
for (; t < e.length && O.test(e[t]);) t++;
|
|
411
413
|
let n = e.slice(0, t);
|
|
412
414
|
return n.some((e, t) => e.startsWith("--- ") && n[t + 1]?.startsWith("+++ ")) ? e.slice(t) : e;
|
|
413
415
|
}
|
|
414
|
-
function
|
|
415
|
-
let t = e.replace(/\r\n?/g, "\n").replace(/\n$/, "").split("\n"), n = t.some((e) =>
|
|
416
|
+
function A(e) {
|
|
417
|
+
let t = e.replace(/\r\n?/g, "\n").replace(/\n$/, "").split("\n"), n = t.some((e) => D.test(e)), r = n ? t : k(t), i = [], a = 1, o = 1, s = n ? 0 : Infinity, c = n ? 0 : Infinity, l = null, u = 0, d = 0, f = !1, p = 0;
|
|
416
418
|
for (let e of r) {
|
|
417
|
-
let t =
|
|
419
|
+
let t = D.exec(e);
|
|
418
420
|
if (t) {
|
|
419
421
|
a = Number(t[1]), s = t[2] === void 0 ? 1 : Number(t[2]), o = Number(t[3]), c = t[4] === void 0 ? 1 : Number(t[4]), l = e, f = !0;
|
|
420
422
|
continue;
|
|
421
423
|
}
|
|
422
424
|
if (s <= 0 && c <= 0) {
|
|
423
|
-
f && e !== "" && !e.startsWith("\\") && !
|
|
425
|
+
f && e !== "" && !e.startsWith("\\") && !O.test(e) && p++;
|
|
424
426
|
continue;
|
|
425
427
|
}
|
|
426
428
|
if (e.startsWith("\\")) continue;
|
|
@@ -453,7 +455,7 @@ function j(e) {
|
|
|
453
455
|
dropped: p
|
|
454
456
|
};
|
|
455
457
|
}
|
|
456
|
-
function
|
|
458
|
+
function j(e) {
|
|
457
459
|
let t = [], n = 0;
|
|
458
460
|
for (; n < e.length;) {
|
|
459
461
|
if (e[n].kind !== "removed") {
|
|
@@ -468,7 +470,7 @@ function M(e) {
|
|
|
468
470
|
}
|
|
469
471
|
return t;
|
|
470
472
|
}
|
|
471
|
-
var
|
|
473
|
+
var M = class extends f {
|
|
472
474
|
constructor(e) {
|
|
473
475
|
super(), this.text = e;
|
|
474
476
|
}
|
|
@@ -478,14 +480,14 @@ var N = class extends f {
|
|
|
478
480
|
toDOM() {
|
|
479
481
|
return document.createTextNode(this.text);
|
|
480
482
|
}
|
|
481
|
-
},
|
|
483
|
+
}, N = class extends f {
|
|
482
484
|
constructor(e) {
|
|
483
485
|
super(), this.className = e, this.elementClass = e;
|
|
484
486
|
}
|
|
485
487
|
eq(e) {
|
|
486
488
|
return e.className === this.className;
|
|
487
489
|
}
|
|
488
|
-
},
|
|
490
|
+
}, P = class extends c {
|
|
489
491
|
constructor(e) {
|
|
490
492
|
super(), this.text = e;
|
|
491
493
|
}
|
|
@@ -496,7 +498,7 @@ var N = class extends f {
|
|
|
496
498
|
let e = document.createElement("span");
|
|
497
499
|
return e.className = "cm-diff-line-label", e.textContent = `${this.text}: `, e;
|
|
498
500
|
}
|
|
499
|
-
},
|
|
501
|
+
}, F = class extends c {
|
|
500
502
|
constructor(e) {
|
|
501
503
|
super(), this.header = e;
|
|
502
504
|
}
|
|
@@ -507,102 +509,104 @@ var N = class extends f {
|
|
|
507
509
|
let e = document.createElement("div");
|
|
508
510
|
return e.className = "cm-diff-hunk", e.setAttribute("aria-hidden", "true"), e.textContent = this.header, e;
|
|
509
511
|
}
|
|
510
|
-
},
|
|
512
|
+
}, I = {
|
|
511
513
|
added: "cm-diff-added",
|
|
512
514
|
removed: "cm-diff-removed",
|
|
513
515
|
context: "cm-diff-context"
|
|
514
|
-
},
|
|
516
|
+
}, L = {
|
|
515
517
|
added: "+",
|
|
516
518
|
removed: "−",
|
|
517
519
|
context: ""
|
|
518
520
|
};
|
|
519
|
-
function
|
|
521
|
+
function R(e) {
|
|
520
522
|
let t = [], n = 0;
|
|
521
523
|
for (let r of e) t.push(n), n += r.text.length + 1;
|
|
522
524
|
return t;
|
|
523
525
|
}
|
|
524
|
-
function
|
|
526
|
+
function z(e, t) {
|
|
525
527
|
let { lines: n } = e;
|
|
526
528
|
if (n.length === 0) return [];
|
|
527
|
-
let r =
|
|
529
|
+
let r = R(n), i = [], c = [];
|
|
528
530
|
n.forEach((e, n) => {
|
|
529
531
|
let a = r[n];
|
|
530
532
|
e.hunk && i.push(s.widget({
|
|
531
|
-
widget: new
|
|
533
|
+
widget: new F(e.hunk),
|
|
532
534
|
block: !0,
|
|
533
535
|
side: -1
|
|
534
|
-
}).range(a)), i.push(s.line({ class:
|
|
535
|
-
widget: new
|
|
536
|
+
}).range(a)), i.push(s.line({ class: I[e.kind] }).range(a)), e.kind === "added" && i.push(s.widget({
|
|
537
|
+
widget: new P(t.addedLine(e.newNumber)),
|
|
536
538
|
side: -1
|
|
537
539
|
}).range(a)), e.kind === "removed" && i.push(s.widget({
|
|
538
|
-
widget: new
|
|
540
|
+
widget: new P(t.removedLine(e.oldNumber)),
|
|
539
541
|
side: -1
|
|
540
|
-
}).range(a)), c.push(new
|
|
542
|
+
}).range(a)), c.push(new N(I[e.kind]).range(a));
|
|
541
543
|
});
|
|
542
|
-
let l = (e, t) => n[e.state.doc.lineAt(t.from).number - 1], u = (e) => String(n.reduce((t, n) => Math.max(t, e(n) ?? 0), 0)), d = (e, t) =>
|
|
544
|
+
let l = (e, t) => n[e.state.doc.lineAt(t.from).number - 1], u = (e) => String(n.reduce((t, n) => Math.max(t, e(n) ?? 0), 0)), d = (e, t) => h({
|
|
543
545
|
class: `cm-diff-gutter cm-diff-${e}-gutter`,
|
|
544
546
|
lineMarker: (e, n) => {
|
|
545
547
|
let r = l(e, n), i = r ? t(r) : null;
|
|
546
|
-
return i === null ? null : new
|
|
548
|
+
return i === null ? null : new M(String(i));
|
|
547
549
|
},
|
|
548
|
-
initialSpacer: () => new
|
|
550
|
+
initialSpacer: () => new M(u(t))
|
|
549
551
|
});
|
|
550
552
|
return [
|
|
551
553
|
a.decorations.of(s.set(i, !0)),
|
|
552
554
|
o.of(m.of(c, !0)),
|
|
553
555
|
d("old", (e) => e.oldNumber),
|
|
554
556
|
d("new", (e) => e.newNumber),
|
|
555
|
-
|
|
557
|
+
h({
|
|
556
558
|
class: "cm-diff-gutter cm-diff-sign-gutter",
|
|
557
559
|
lineMarker: (e, t) => {
|
|
558
560
|
let n = l(e, t);
|
|
559
|
-
return n && n.kind !== "context" ? new
|
|
561
|
+
return n && n.kind !== "context" ? new M(L[n.kind]) : null;
|
|
560
562
|
},
|
|
561
|
-
initialSpacer: () => new
|
|
563
|
+
initialSpacer: () => new M("+")
|
|
562
564
|
})
|
|
563
565
|
];
|
|
564
566
|
}
|
|
565
|
-
var
|
|
566
|
-
async function
|
|
567
|
-
let t =
|
|
567
|
+
var B = .5, V = s.mark({ class: "cm-diff-removed-word" }), H = s.mark({ class: "cm-diff-added-word" });
|
|
568
|
+
async function U(e) {
|
|
569
|
+
let t = j(e.lines);
|
|
568
570
|
if (t.length === 0) return [];
|
|
569
|
-
let { presentableDiff: n } = await import("./dist-BTUxFM2V.js"), r =
|
|
571
|
+
let { presentableDiff: n } = await import("./dist-BTUxFM2V.js"), r = R(e.lines), i = [];
|
|
570
572
|
for (let [a, o] of t) {
|
|
571
573
|
let t = e.lines[a].text, s = e.lines[o].text, c = n(t, s);
|
|
572
|
-
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) *
|
|
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));
|
|
573
575
|
}
|
|
574
576
|
return i.length ? a.decorations.of(s.set(i, !0)) : [];
|
|
575
577
|
}
|
|
576
578
|
// src/utilities/color-scheme-repaint.ts
|
|
577
|
-
var
|
|
578
|
-
function
|
|
579
|
-
|
|
579
|
+
var W = /* @__PURE__ */ new Set(), G = null;
|
|
580
|
+
function K() {
|
|
581
|
+
G || (G = new MutationObserver((e) => {
|
|
580
582
|
for (let t of e) if (t.attributeName === "data-scheme") {
|
|
581
|
-
for (let e of
|
|
583
|
+
for (let e of W) e();
|
|
582
584
|
return;
|
|
583
585
|
}
|
|
584
|
-
}),
|
|
586
|
+
}), G.observe(document.documentElement, {
|
|
585
587
|
attributes: !0,
|
|
586
588
|
attributeFilter: ["data-scheme"]
|
|
587
589
|
}));
|
|
588
590
|
}
|
|
589
|
-
function
|
|
590
|
-
return
|
|
591
|
-
|
|
591
|
+
function q(e) {
|
|
592
|
+
return K(), W.add(e), () => {
|
|
593
|
+
W.delete(e), W.size === 0 && (G?.disconnect(), G = null);
|
|
592
594
|
};
|
|
593
595
|
}
|
|
594
|
-
function
|
|
596
|
+
function J(e) {
|
|
595
597
|
let t = e.scrollLeft, n = e.scrollTop, r = e.style.display;
|
|
596
598
|
e.style.display = "none", e.offsetHeight, e.style.display = r, e.scrollLeft = t, e.scrollTop = n;
|
|
597
599
|
}
|
|
598
600
|
// src/components/content/code-viewer/code-viewer.ts
|
|
599
|
-
var X, Z =
|
|
601
|
+
var Y, X = 300, Z = 2e3;
|
|
600
602
|
function Q() {
|
|
601
603
|
return typeof window < "u" && window.isSecureContext === !0 && typeof navigator < "u" && typeof navigator.clipboard?.writeText == "function";
|
|
602
604
|
}
|
|
603
|
-
var $ = (
|
|
605
|
+
var $ = (Y = class extends d {
|
|
604
606
|
constructor(...e) {
|
|
605
|
-
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 u(), this._wrapCompartment = new u(), this._diffCompartment = new u(), this._wordCompartment = new u(), this._lineNumbersCompartment = new u(), this._languagePending = Promise.resolve(), this._wordsPending = Promise.resolve(), this._parsedDiff = null
|
|
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 u(), this._wrapCompartment = new u(), this._diffCompartment = new u(), this._wordCompartment = new u(), this._lineNumbersCompartment = new u(), this._languagePending = Promise.resolve(), this._wordsPending = Promise.resolve(), this._parsedDiff = null, this._copyPointerType = "", this._onCopyScroll = () => {
|
|
608
|
+
clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0, this._copyState = "idle";
|
|
609
|
+
};
|
|
606
610
|
}
|
|
607
611
|
get _canCopy() {
|
|
608
612
|
return !this.noCopy && Q();
|
|
@@ -628,10 +632,10 @@ var $ = (X = class extends d {
|
|
|
628
632
|
];
|
|
629
633
|
}
|
|
630
634
|
render() {
|
|
631
|
-
return
|
|
635
|
+
return E(this);
|
|
632
636
|
}
|
|
633
637
|
focus(e) {
|
|
634
|
-
if (
|
|
638
|
+
if (w(this, e)) return;
|
|
635
639
|
let t = this.view?.scrollDOM;
|
|
636
640
|
this._isScrollable && t && t.focus(e);
|
|
637
641
|
}
|
|
@@ -639,13 +643,13 @@ var $ = (X = class extends d {
|
|
|
639
643
|
return this._parseDiff(this._getRawText()), this._parsedDiff?.doc ?? this._getRawText();
|
|
640
644
|
}
|
|
641
645
|
_parseDiff(e) {
|
|
642
|
-
this._parsedDiff = this.diff ?
|
|
646
|
+
this._parsedDiff = this.diff ? A(e) : null, C(this, "diff-lines-dropped", (this._parsedDiff?.dropped ?? 0) > 0);
|
|
643
647
|
}
|
|
644
648
|
connectedCallback() {
|
|
645
|
-
super.connectedCallback(), this._unsubscribeScheme =
|
|
649
|
+
super.connectedCallback(), this._unsubscribeScheme = q(() => this._repaint());
|
|
646
650
|
}
|
|
647
651
|
disconnectedCallback() {
|
|
648
|
-
super.disconnectedCallback(), this._unsubscribeScheme?.(), this._unsubscribeScheme = void 0, this._resizeObserver?.disconnect(), this._resizeObserver = void 0, this._mutationObserver?.disconnect(), this._mutationObserver = void 0, this._scrollableRaf !== void 0 && (cancelAnimationFrame(this._scrollableRaf), this._scrollableRaf = void 0), clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0;
|
|
652
|
+
super.disconnectedCallback(), this._unsubscribeScheme?.(), this._unsubscribeScheme = void 0, this._resizeObserver?.disconnect(), this._resizeObserver = void 0, this._mutationObserver?.disconnect(), this._mutationObserver = void 0, this._scrollableRaf !== void 0 && (cancelAnimationFrame(this._scrollableRaf), this._scrollableRaf = void 0), clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0, document.removeEventListener("scroll", this._onCopyScroll, { capture: !0 });
|
|
649
653
|
}
|
|
650
654
|
firstUpdated() {
|
|
651
655
|
this._copyUnavailable = !this.noCopy && !Q(), this._parseDiff(this._getRawText()), this.mountEditor(this._parsedDiff?.doc ?? this._getRawText()), this.onEditorMounted();
|
|
@@ -664,7 +668,10 @@ var $ = (X = class extends d {
|
|
|
664
668
|
}), this._resizeObserver.observe(e)), this._observeSlotText(), this.language && this._applyLanguage(), this._applyWords(), this._updateScrollable();
|
|
665
669
|
}
|
|
666
670
|
updated(e) {
|
|
667
|
-
e.has("
|
|
671
|
+
e.has("_copyState") && (this._copyState === "idle" ? document.removeEventListener("scroll", this._onCopyScroll, { capture: !0 }) : document.addEventListener("scroll", this._onCopyScroll, {
|
|
672
|
+
capture: !0,
|
|
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 ? a.lineWrapping : []), this._updateScrollable()), (e.has("appearance") || e.has("maxHeight") || e.has("noCopy") || e.has("_copyUnavailable")) && this._updateScrollable());
|
|
668
675
|
}
|
|
669
676
|
_onSlotChange() {
|
|
670
677
|
this._applyContent();
|
|
@@ -688,16 +695,16 @@ var $ = (X = class extends d {
|
|
|
688
695
|
return this.lineNumbers && !this.diff ? l() : [];
|
|
689
696
|
}
|
|
690
697
|
_diffExtension(e) {
|
|
691
|
-
return
|
|
698
|
+
return z(e, {
|
|
692
699
|
addedLine: (e) => this._t("components.code-viewer.added-line-label", { number: e }),
|
|
693
700
|
removedLine: (e) => this._t("components.code-viewer.removed-line-label", { number: e })
|
|
694
701
|
});
|
|
695
702
|
}
|
|
696
703
|
_applyWords() {
|
|
697
704
|
let e = this._parsedDiff;
|
|
698
|
-
e && (this._wordsPending =
|
|
699
|
-
this._parsedDiff === e && this.reconfigure(this._wordCompartment, t),
|
|
700
|
-
}, () =>
|
|
705
|
+
e && (this._wordsPending = U(e).then((t) => {
|
|
706
|
+
this._parsedDiff === e && this.reconfigure(this._wordCompartment, t), C(this, "no-diff-words", !1);
|
|
707
|
+
}, () => C(this, "no-diff-words", !0)));
|
|
701
708
|
}
|
|
702
709
|
get _diffSummary() {
|
|
703
710
|
let e = this._parsedDiff;
|
|
@@ -711,7 +718,7 @@ var $ = (X = class extends d {
|
|
|
711
718
|
});
|
|
712
719
|
}
|
|
713
720
|
_t(e, t) {
|
|
714
|
-
return
|
|
721
|
+
return S(this.translations, x, e, t);
|
|
715
722
|
}
|
|
716
723
|
async getUpdateComplete() {
|
|
717
724
|
let e = await super.getUpdateComplete();
|
|
@@ -726,7 +733,7 @@ var $ = (X = class extends d {
|
|
|
726
733
|
this.reconfigure(this._languageCompartment, []);
|
|
727
734
|
return;
|
|
728
735
|
}
|
|
729
|
-
let t =
|
|
736
|
+
let t = ee(e);
|
|
730
737
|
if (!t) this.reconfigure(this._languageCompartment, []);
|
|
731
738
|
else try {
|
|
732
739
|
let n = await t;
|
|
@@ -751,14 +758,22 @@ var $ = (X = class extends d {
|
|
|
751
758
|
return e ? e.assignedNodes({ flatten: !0 }).map((e) => e.textContent ?? "").join("") : "";
|
|
752
759
|
}
|
|
753
760
|
async _onCopyClick(e) {
|
|
754
|
-
(e?.currentTarget)?.focus?.();
|
|
761
|
+
(e?.currentTarget)?.focus?.({ preventScroll: !0 });
|
|
755
762
|
try {
|
|
756
763
|
if (!Q()) throw Error("Clipboard API unavailable");
|
|
757
764
|
await navigator.clipboard.writeText(this._getRawText()), this._copyState = "success";
|
|
758
765
|
} catch {
|
|
759
766
|
this._copyState = "failure";
|
|
760
767
|
}
|
|
761
|
-
clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0
|
|
768
|
+
clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0, this._copyPointerType && this._copyPointerType !== "mouse" && (this._copyResetTimer = setTimeout(() => {
|
|
769
|
+
this._copyResetTimer = void 0, this._copyState = "idle";
|
|
770
|
+
}, Z));
|
|
771
|
+
}
|
|
772
|
+
_onCopyPointerDown(e) {
|
|
773
|
+
this._copyPointerType = e.pointerType;
|
|
774
|
+
}
|
|
775
|
+
_onCopyKeyDown() {
|
|
776
|
+
this._copyPointerType = "";
|
|
762
777
|
}
|
|
763
778
|
_onCopyBlur() {
|
|
764
779
|
this._copyState !== "idle" && (this._copyState = "idle");
|
|
@@ -766,7 +781,7 @@ var $ = (X = class extends d {
|
|
|
766
781
|
_onCopyPointerLeave() {
|
|
767
782
|
this._copyState !== "idle" && (this.shadowRoot?.querySelector("nldd-icon-button")?.matches(":focus-within") || (clearTimeout(this._copyResetTimer), this._copyResetTimer = setTimeout(() => {
|
|
768
783
|
this._copyResetTimer = void 0, this._copyState = "idle";
|
|
769
|
-
},
|
|
784
|
+
}, X)));
|
|
770
785
|
}
|
|
771
786
|
_onCopyPointerEnter() {
|
|
772
787
|
clearTimeout(this._copyResetTimer), this._copyResetTimer = void 0;
|
|
@@ -776,36 +791,36 @@ var $ = (X = class extends d {
|
|
|
776
791
|
}
|
|
777
792
|
_repaint() {
|
|
778
793
|
let e = this.view?.scrollDOM;
|
|
779
|
-
e &&
|
|
794
|
+
e && J(e);
|
|
780
795
|
}
|
|
781
|
-
},
|
|
782
|
-
|
|
796
|
+
}, Y.styles = T, Y);
|
|
797
|
+
y([n({
|
|
783
798
|
reflect: !0,
|
|
784
799
|
converter: r("box-tinted")
|
|
785
|
-
})], $.prototype, "appearance", void 0),
|
|
800
|
+
})], $.prototype, "appearance", void 0), y([n({
|
|
786
801
|
reflect: !0,
|
|
787
802
|
converter: r("")
|
|
788
|
-
})], $.prototype, "language", void 0),
|
|
803
|
+
})], $.prototype, "language", void 0), y([n({
|
|
789
804
|
type: Boolean,
|
|
790
805
|
reflect: !0
|
|
791
|
-
})], $.prototype, "diff", void 0),
|
|
806
|
+
})], $.prototype, "diff", void 0), y([n({
|
|
792
807
|
type: Boolean,
|
|
793
808
|
reflect: !0,
|
|
794
809
|
attribute: "line-numbers"
|
|
795
|
-
})], $.prototype, "lineNumbers", void 0),
|
|
810
|
+
})], $.prototype, "lineNumbers", void 0), y([n({
|
|
796
811
|
type: Boolean,
|
|
797
812
|
reflect: !0,
|
|
798
813
|
attribute: "no-copy"
|
|
799
|
-
})], $.prototype, "noCopy", void 0),
|
|
814
|
+
})], $.prototype, "noCopy", void 0), y([n({
|
|
800
815
|
type: Boolean,
|
|
801
816
|
reflect: !0
|
|
802
|
-
})], $.prototype, "wrap", void 0),
|
|
817
|
+
})], $.prototype, "wrap", void 0), y([n({
|
|
803
818
|
reflect: !0,
|
|
804
819
|
attribute: "max-height",
|
|
805
820
|
converter: r("")
|
|
806
|
-
})], $.prototype, "maxHeight", void 0),
|
|
821
|
+
})], $.prototype, "maxHeight", void 0), y([n({
|
|
807
822
|
type: Boolean,
|
|
808
823
|
reflect: !0,
|
|
809
824
|
attribute: "copy-unavailable"
|
|
810
|
-
})], $.prototype, "_copyUnavailable", void 0),
|
|
825
|
+
})], $.prototype, "_copyUnavailable", void 0), y([n({ type: Object })], $.prototype, "translations", void 0), y([t()], $.prototype, "_isScrollable", void 0), y([t()], $.prototype, "_copyState", void 0), $ = y([g("nldd-code-viewer")], $);
|
|
811
826
|
export { $ as NLDDCodeViewer };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as e } from "./style-mod-DGMhzWuk.js";
|
|
2
|
-
import { $ as t, A as n, C as r, D as i, G as a, J as o, Q as s, S as c, T as l, X as u, Y as d, Z as f, a as p, b as m, ct as ee, et as te, ft as ne, i as re, k as ie, lt as h, mt as g, ot as ae, pt as _, st as oe, y as v } from "./languages-
|
|
3
|
-
import {
|
|
4
|
-
import { n as se, t as b } from "./decorate-
|
|
2
|
+
import { $ as t, A as n, C as r, D as i, G as a, J as o, Q as s, S as c, T as l, X as u, Y as d, Z as f, a as p, b as m, ct as ee, et as te, ft as ne, i as re, k as ie, lt as h, mt as g, ot as ae, pt as _, st as oe, y as v } from "./languages-DLHsACpp.js";
|
|
3
|
+
import { r as y } from "./custom-element-C5yyaCZS.js";
|
|
4
|
+
import { n as se, t as b } from "./decorate-CkbtFnic.js";
|
|
5
5
|
import { t as ce } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as le } from "./described-by-mixin-
|
|
6
|
+
import { t as le } from "./described-by-mixin-DXC6jkCd.js";
|
|
7
7
|
import { t as ue } from "./form-associated-mixin-BtStDDYA.js";
|
|
8
8
|
// node_modules/@codemirror/commands/dist/index.js
|
|
9
9
|
var de = (e) => {
|