@nldd/design-system 0.25.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 +381 -5
- 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-Dc6c9HtC.js → activity-indicator-CpJVlX6K.js} +5 -5
- package/dist/cdn/chunks/admonition-C89WHJ9a.js +379 -0
- package/dist/cdn/chunks/{avatar-CHXRpWWk.js → avatar-Bf0OfAtQ.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-B76E8oC6.js → avatar-group-BeBAv2wB.js} +15 -15
- package/dist/cdn/chunks/{badge-tO7gHhdi.js → badge-C43FvgkK.js} +5 -5
- package/dist/cdn/chunks/{banner-D4kFQYXF.js → banner-OWK0gwFb.js} +33 -32
- package/dist/cdn/chunks/{bar-split-view-C9bYdWSR.js → bar-split-view-Dj1WycIW.js} +5 -5
- package/dist/cdn/chunks/{blockquote-DRJajjBB.js → blockquote-D_5MxcSi.js} +3 -3
- package/dist/cdn/chunks/{box-D10mS19t.js → box-BUoxiA7b.js} +10 -10
- package/dist/cdn/chunks/{breadcrumbs-BUdQJG3z.js → breadcrumbs-DXxJTACL.js} +5 -5
- package/dist/cdn/chunks/{button-CwY9fWCg.js → button-DpKyquzm.js} +8 -8
- package/dist/cdn/chunks/{button-bar-DkqbRvff.js → button-bar-BSt-QQRG.js} +3 -3
- package/dist/cdn/chunks/{button-group-p364JgTR.js → button-group-D5QJWJzh.js} +2 -2
- package/dist/cdn/chunks/{card-B7TaSaw7.js → card-Cz4f-dCf.js} +4 -4
- package/dist/cdn/chunks/{cell-BTIpXf1T.js → cell-zFw2V9wD.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BLEK0rAV.js → checkbox-BDp3O8Nc.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-CDtlpN-u.js → checkbox-field-CSXV0prA.js} +5 -5
- package/dist/cdn/chunks/{class-map-5WYS_nCb.js → class-map-C7ao595e.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CanGMLIo.js → code-editor-Chm9EG_v.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-DCZ3wjMd.js → code-viewer-DX322d7w.js} +102 -87
- package/dist/cdn/chunks/{codemirror-input-CtvDBy25.js → codemirror-input-BLMJQbHq.js} +4 -4
- package/dist/cdn/chunks/{collection-D8K79X0H.js → collection-Bf8HoSki.js} +8 -8
- package/dist/cdn/chunks/{combo-box-BeWoeEY8.js → combo-box-VuU_F54v.js} +8 -8
- package/dist/cdn/chunks/{container-Be2J-GhB.js → container-qVTgmbpz.js} +2 -2
- package/dist/cdn/chunks/css-time-DmkAFd1y.js +8 -0
- package/dist/cdn/chunks/{custom-element-DGlHv_OV.js → custom-element-C5yyaCZS.js} +1 -1
- package/dist/cdn/chunks/{date-field-BLaGVd4x.js → date-field-By9Q8151.js} +99 -87
- package/dist/cdn/chunks/{date-picker-C4mLZKWF.js → date-picker-DtA4PXCh.js} +10 -10
- package/dist/cdn/chunks/{decorate-Czy-wI4F.js → decorate-CkbtFnic.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-fLi4Nmt7.js → described-by-mixin-DXC6jkCd.js} +2 -2
- package/dist/cdn/chunks/{description-cell-aQyLX0U0.js → description-cell-D2INE8A3.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-qTR6tciJ.js → dev-checks-UHHli7gE.js} +33 -1
- package/dist/cdn/chunks/{dist-fDpuYq7K.js → dist-B1pwN_VD.js} +1 -1
- package/dist/cdn/chunks/{dist-p1FcXq9E.js → dist-BG0xnVUi.js} +3 -3
- package/dist/cdn/chunks/{dist-CdF0c6UD.js → dist-BzfFo9Yu.js} +2 -2
- package/dist/cdn/chunks/{dist-DHK9tNd7.js → dist-C-T4uKP1.js} +1 -1
- package/dist/cdn/chunks/{dist-WQv_JUmB.js → dist-Ce38ZA7b.js} +2 -2
- package/dist/cdn/chunks/{dist-BNS6C8sP.js → dist-Cm51DQO4.js} +2 -2
- package/dist/cdn/chunks/{dist-CX0g6sV1.js → dist-Dg3ySzj7.js} +3 -3
- package/dist/cdn/chunks/{dist-_QFa91Kz.js → dist-VXOtAJ-m.js} +1 -1
- package/dist/cdn/chunks/{dist-B_fXtXqM.js → dist-pCih3zzc.js} +1 -1
- package/dist/cdn/chunks/{dist-CZOXq9aZ.js → dist-qo8avphr.js} +1 -1
- package/dist/cdn/chunks/{dist-BLnIbkqH.js → dist-zxb4QZZG.js} +1 -1
- package/dist/cdn/chunks/{divider-2hHcSIga.js → divider-Cv_vyHvw.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CIWiZUB5.js → document-tab-bar-CdOxr8KC.js} +51 -50
- package/dist/cdn/chunks/{dropdown-Bwn6dQrK.js → dropdown-DC9J6k0P.js} +5 -5
- package/dist/cdn/chunks/{file-field-CtQ6Fzkj.js → file-field-CsrTk4uk.js} +12 -12
- package/dist/cdn/chunks/{floating-ui.dom-B8J1rV2c.js → floating-ui.dom-BvAAdCVe.js} +260 -184
- package/dist/cdn/chunks/{form-vSM2SOrK.js → form-ClOD1OKh.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DSL0qce-.js → form-actions-CwaXGj43.js} +2 -2
- package/dist/cdn/chunks/{form-field--t3Bz1pc.js → form-field-LoX9v2Pa.js} +5 -5
- package/dist/cdn/chunks/{form-section-D1n8Sdmt.js → form-section-i6piyKuy.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-w2pDVC5v.js → full-bleed-section-6aAfCnez.js} +3 -3
- package/dist/cdn/chunks/{hero-BypUmnRi.js → hero-CTQAayXT.js} +4 -4
- package/dist/cdn/chunks/{icon-BydOAoVO.js → icon-B5kHyCz2.js} +2 -2
- package/dist/cdn/chunks/{icon-button-C_MZ-jXt.js → icon-button-DuEiOOoc.js} +9 -9
- package/dist/cdn/chunks/{icon-cell-jiYNsV84.js → icon-cell-uZkR3hZx.js} +5 -5
- package/dist/cdn/chunks/{identity-D1Sw6OdG.js → identity-DR6DMjke.js} +6 -6
- package/dist/cdn/chunks/{if-defined-pKQLIQvK.js → if-defined-B7fJBsUt.js} +1 -1
- package/dist/cdn/chunks/{image-DEI0hogS.js → image-CuBUo_MQ.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-CTjJ8Tl_.js → inline-dialog-CZNkWJIA.js} +6 -6
- package/dist/cdn/chunks/{just-in-time-education-pUUxdKPR.js → just-in-time-education-qwg9hTDX.js} +8 -8
- package/dist/cdn/chunks/{kanban-KSLBcCb4.js → kanban-Bkg-nZmX.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-RNSdiBIT.js → kanban-column-C8iRyRNY.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-D9TYAQu1.js → keyboard-shortcut-Rq5IHU-e.js} +3 -3
- package/dist/cdn/chunks/{languages-DGZO3jTf.js → languages-DLHsACpp.js} +12 -12
- package/dist/cdn/chunks/{link-C4K1qVcb.js → link-CgjFwaHP.js} +6 -6
- package/dist/cdn/chunks/{link-group-BEYO7nTK.js → link-group-5W0GAmTq.js} +2 -2
- package/dist/cdn/chunks/{list-rMBdnf1f.js → list-BASqIKtP.js} +8 -8
- package/dist/cdn/chunks/{list-item-CotWNKc1.js → list-item-DTcPysIP.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-C-yl2GAS.js → list-item-segment-CRw0y4kg.js} +3 -3
- package/dist/cdn/chunks/{menu-rE6tDSAy.js → menu-CYILGTpB.js} +31 -29
- package/dist/cdn/chunks/{menu-bar-D9IxDwC2.js → menu-bar-CL566HmJ.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-768OWJdt.js → menu-bar-item-C6OrUu_4.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-BHAGnkBl.js → menu-divider-BtU9eBSb.js} +3 -3
- package/dist/cdn/chunks/{menu-group-B5MAz_Yk.js → menu-group-r2TvdqJB.js} +4 -4
- package/dist/cdn/chunks/{menu-item-Ba581zRi.js → menu-item-CS45jTLu.js} +4 -4
- package/dist/cdn/chunks/{menu.template-Eb7J7UrL.js → menu.template-CF8Iau1s.js} +4 -4
- package/dist/cdn/chunks/{modal-dialog-Djln8pr7.js → modal-dialog-C9NBq8TO.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-Omt0oidK.js → multi-line-text-field-BkxV0vqA.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-DDng9DdF.js → navigation-split-view-DNrQYkg7.js} +4 -4
- package/dist/cdn/chunks/{nl.generated-CgRVSEh6.js → nl.generated-BDowZkhc.js} +1 -1
- package/dist/cdn/chunks/{notification-DB6JOmCC.js → notification-Dzpy9hCc.js} +6 -6
- package/dist/cdn/chunks/{number-field-xgr4dysX.js → number-field-BJCUe-bI.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-CFhmSDDa.js → one-half-one-half-section-Ctw8ri5v.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-D0JV0GJ_.js → one-third-two-thirds-section-DxUUH8lS.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-CqgKQqdE.js → one-time-code-field-DGDyqIMd.js} +6 -6
- package/dist/cdn/chunks/{page-DXWHG-hD.js → page-BpavFPML.js} +4 -4
- package/dist/cdn/chunks/{page-footer-GexGY_m-.js → page-footer-CVqmyulx.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-CtiPKCqL.js → page-section-mixin-BHg-Wre9.js} +3 -3
- package/dist/cdn/chunks/{pagination-DJkfE8t9.js → pagination-BGZYq-eO.js} +6 -6
- package/dist/cdn/chunks/{password-field-gKiiE_5e.js → password-field-BIFfLAls.js} +7 -7
- package/dist/cdn/chunks/{popover-C-jxcCHx.js → popover-TCW20ibN.js} +8 -8
- package/dist/cdn/chunks/{progress-bar-CBWQRWkE.js → progress-bar-C4bLuJBa.js} +7 -7
- package/dist/cdn/chunks/{progress-circle-CCcRDOOJ.js → progress-circle-BePtt89f.js} +7 -7
- package/dist/cdn/chunks/{radio-button-B8xwJO3_.js → radio-button-CLiuwjA1.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-B9lRNOXJ.js → radio-button-field-BPva1mUv.js} +5 -5
- package/dist/cdn/chunks/{radio-button-group-Cy7Ya28w.js → radio-button-group-Z5s4obz6.js} +3 -3
- package/dist/cdn/chunks/{render-marked-DjXBoUGY.js → render-marked-C3ypoEZM.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-B6V85qYk.js → reorder-handle-cell-BB9b4T_d.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DTmEmT-V.js → reorder-handle-mixin-DBjNe6Rl.js} +2 -2
- package/dist/cdn/chunks/{repeat-Ck8L8Iy9.js → repeat-s95Ixbpx.js} +1 -1
- package/dist/cdn/chunks/{rich-text-CqQeOXwL.js → rich-text-DTxHo8E_.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-XRu3gHMf.js → row-header-mixin-BcwoEgu7.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-e6d1wo3D.js → scroll-fade-Dul0IfE1.js} +2 -2
- package/dist/cdn/chunks/{search-field-Cz7Ucf6x.js → search-field-BeZN7S8J.js} +9 -9
- package/dist/cdn/chunks/{segmented-control-CLzKU4SX.js → segmented-control-Dzu8xoqB.js} +6 -6
- package/dist/cdn/chunks/{shadow-resets-CodxnaUh.js → shadow-resets-Dlq8Oecv.js} +2 -2
- package/dist/cdn/chunks/{sheet-DkmSsRV3.js → sheet-DaQpfAep.js} +3 -3
- package/dist/cdn/chunks/{shell-Ex_f7Ov3.js → shell-DSNgonKU.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-C8aSEGRc.js → side-by-side-split-view-DhGbcDrs.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-CnD-3i7r.js → sidebar-section-BlJmPb9C.js} +7 -7
- package/dist/cdn/chunks/{simple-section-CeKnmobI.js → simple-section-CYiTEFqN.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DwtFm_NJ.js → skip-link-CReOb-Ci.js} +4 -4
- package/dist/cdn/chunks/{slider-BVdkwNW3.js → slider-DUEGol_V.js} +8 -8
- package/dist/cdn/chunks/{spacer-H4zmoDr_.js → spacer-CPmyJDQq.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-BES4eJH1.js → spacer-cell-DJEv0v6s.js} +4 -4
- package/dist/cdn/chunks/{split-button-Caa30uTx.js → split-button-B3vfYAdy.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-klvZ8lgP.js → split-view-divider-pSUpnEPX.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-Cnx56S5C.js → split-view-pane-J1RVr_w1.js} +3 -3
- package/dist/cdn/chunks/{stacked-split-view-CYdGBY7Q.js → stacked-split-view-B67fT-Ch.js} +4 -4
- package/dist/cdn/chunks/{static-html--Xd5vkAU.js → static-html-BT4LOKbV.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CJybViWL.js → status-bar-CGXqgNOf.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BO6Y1BrK.js → step-bar-DdsA2Egs.js} +5 -5
- package/dist/cdn/chunks/{step-cell-BQ8EHZVR.js → step-cell-DsTAgMCx.js} +5 -5
- package/dist/cdn/chunks/{stepper-COTaJwSU.js → stepper-DPqXiLQr.js} +6 -6
- package/dist/cdn/chunks/{style-map-BwtZr74h.js → style-map-B7yv7Y8k.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-5fxe3QB1.js → swatch-picker-D9QZmbNN.js} +5 -5
- package/dist/cdn/chunks/{switch-BUxGg2ww.js → switch-CE2glvZQ.js} +4 -4
- package/dist/cdn/chunks/{switch-field-DOsEK534.js → switch-field-Dr2LovXc.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-CZ9Z9qV9.js → tab-bar-DYZbToZB.js} +8 -8
- package/dist/cdn/chunks/{table-SAsB1kDN.js → table-DoQMJbSg.js} +5 -5
- package/dist/cdn/chunks/{tag-xuCeECO3.js → tag-DOX5nY-Z.js} +4 -4
- package/dist/cdn/chunks/{term-DHEvoltZ.js → term-CxGzPnhq.js} +53 -31
- package/dist/cdn/chunks/term.i18n-9qtxefIQ.js +6 -0
- package/dist/cdn/chunks/{text-CiFzQPQw.js → text-Dqe0uTK7.js} +3 -3
- package/dist/cdn/chunks/{text-cell-DQNzo2Rp.js → text-cell-ByGrujhK.js} +8 -8
- package/dist/cdn/chunks/{text-editor-DCYF_nqz.js → text-editor-DT9oWQCT.js} +10 -10
- package/dist/cdn/chunks/{text-field-BiPeMi6s.js → text-field-DKz5IRAU.js} +5 -5
- package/dist/cdn/chunks/{time-field-C-Euaiy0.js → time-field-Dh7nTwNc.js} +13 -13
- package/dist/cdn/chunks/{time-picker-DYkxhEYm.js → time-picker-Bp-l4JfF.js} +50 -53
- package/dist/cdn/chunks/{title-DkS07R_v.js → title-CdIWXNtc.js} +4 -4
- package/dist/cdn/chunks/{title-cell-CJevv6Vg.js → title-cell-DNbP8l_x.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-DDqd56_3.js → toggle-button-CPMxB3gN.js} +7 -7
- package/dist/cdn/chunks/{toggle-button-group-ByxgMVzH.js → toggle-button-group-ERWVyRX5.js} +2 -2
- package/dist/cdn/chunks/{token-YpVKK1g4.js → token-CG8dR3EH.js} +5 -5
- package/dist/cdn/chunks/{token-field-vLdJSvUz.js → token-field-B8wqHKan.js} +10 -10
- package/dist/cdn/chunks/{toolbar-C-5H46y9.js → toolbar-CiZoecHm.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-CvPtoAoQ.js → toolbar-item-xJEewchW.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-HElUvLeY.js → toolbar-title-C08aG67Y.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BuJIgj1E.js → toolbar.styles-DmAHodW4.js} +3 -3
- package/dist/cdn/chunks/{tooltip-BF4HkWOi.js → tooltip-660R32cn.js} +54 -46
- package/dist/cdn/chunks/{top-navigation-bar-ngF2MF40.js → top-navigation-bar-B1HFShH8.js} +17 -17
- package/dist/cdn/chunks/{top-title-bar-BUjpi-w6.js → top-title-bar-BLZZd0Iu.js} +6 -6
- package/dist/cdn/chunks/{translations-BWgmZCAK.js → translations-CF08wvn-.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-Ci6O8SwP.js → two-thirds-one-third-section-Dqz7UoSH.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BBNFz_2I.js → validation-list-D-bzOl5H.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-BP5T5qYB.js → visibility-mixin-X9d6wHvR.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BqYWVy4n.js → visually-hidden-Cew5_ldu.js} +2 -2
- package/dist/cdn/chunks/{window-CvgGg1Ib.js → window-DSgA26_c.js} +4 -4
- package/dist/cdn/chunks/{with-translations-8SmMZkGa.js → with-translations-Boc5Daaj.js} +3 -3
- package/dist/components/actions/menu/menu.d.ts +6 -3
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +22 -5
- package/dist/components/actions/menu/menu.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/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 +29 -6
- package/dist/components/content/term/term.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +8 -3
- 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/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/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/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/rich-text.css +200 -2
- 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/variables.css +21 -0
- package/dist/nldd.min.js +4850 -4264
- 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 +40 -4
- package/dist/types/vue.d.ts +46 -4
- 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/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +34 -0
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/package.json +13 -1
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +0 -3
|
@@ -1,17 +1,17 @@
|
|
|
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-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 { r as y } from "./custom-element-
|
|
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) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, n as a, o, r as s } from "./custom-element-
|
|
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, o, r as s } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as l } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { n as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
-
import { t as f } from "./if-defined-
|
|
7
|
+
import { t as f } from "./if-defined-B7fJBsUt.js";
|
|
8
8
|
import { t as p } from "./collection.i18n-DqWPGnZO.js";
|
|
9
|
-
import "./button-
|
|
10
|
-
import "./button-bar-
|
|
11
|
-
import "./icon-button-
|
|
12
|
-
import "./icon-
|
|
9
|
+
import "./button-DpKyquzm.js";
|
|
10
|
+
import "./button-bar-BSt-QQRG.js";
|
|
11
|
+
import "./icon-button-DuEiOOoc.js";
|
|
12
|
+
import "./icon-B5kHyCz2.js";
|
|
13
13
|
import { t as m } from "./spacing-scale-SufIjHeN.js";
|
|
14
|
-
import { t as h } from "./translations-
|
|
14
|
+
import { t as h } from "./translations-CF08wvn-.js";
|
|
15
15
|
import { t as g } from "./list-items-Du0RCWsY.js";
|
|
16
16
|
// src/components/layout/collection/collection.styles.ts
|
|
17
17
|
var _ = o(d.smMax), v = o(d.mdMin), y = o(d.mdMax), b = o(d.lgMin), x = i`
|
|
@@ -1,17 +1,17 @@
|
|
|
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-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 "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as l } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
6
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as d } from "./shadow-resets-
|
|
8
|
-
import "./icon-button-
|
|
9
|
-
import "./icon-
|
|
7
|
+
import { t as d } from "./shadow-resets-Dlq8Oecv.js";
|
|
8
|
+
import "./icon-button-DuEiOOoc.js";
|
|
9
|
+
import "./icon-B5kHyCz2.js";
|
|
10
10
|
import { t as f } from "./combo-box.i18n-BorzYnJ2.js";
|
|
11
|
-
import "./menu-
|
|
11
|
+
import "./menu-CYILGTpB.js";
|
|
12
12
|
import { t as p } from "./implicit-submission-Csbcor_E.js";
|
|
13
|
-
import { t as m } from "./described-by-mixin-
|
|
14
|
-
import { t as h } from "./translations-
|
|
13
|
+
import { t as m } from "./described-by-mixin-DXC6jkCd.js";
|
|
14
|
+
import { t as h } from "./translations-CF08wvn-.js";
|
|
15
15
|
import { r as g } from "./element-state-B-44fVqq.js";
|
|
16
16
|
import { t as _ } from "./defer-focus-F73ud2D9.js";
|
|
17
17
|
// src/components/inputs/combo-box/combo-box.styles.ts
|
|
@@ -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, n as a, o, r as s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-CkbtFnic.js";
|
|
3
|
+
import { a as i, n as a, o, r as s } from "./custom-element-C5yyaCZS.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
6
|
import { n as u } from "./breakpoints-Cwor8TRP.js";
|
|
@@ -297,7 +297,7 @@ function O(e) {
|
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
299
|
// src/utilities/dev-checks-trigger.ts
|
|
300
|
-
import.meta.env?.DEV && import.meta.env?.MODE !== "test" && import("./dev-checks-
|
|
300
|
+
import.meta.env?.DEV && import.meta.env?.MODE !== "test" && import("./dev-checks-UHHli7gE.js").then(({ startDevChecks: e }) => e());
|
|
301
301
|
// src/utilities/custom-element.ts
|
|
302
302
|
var k = globalThis.HTMLElement ?? class {};
|
|
303
303
|
export { o as a, w as i, O as n, a as o, D as r, k as t };
|