@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,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { a, n as o, r as s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CkbtFnic.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-C5yyaCZS.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { a as l, i as u, n as d,
|
|
6
|
-
import { t as
|
|
7
|
-
import { n as
|
|
8
|
-
import { i as
|
|
9
|
-
import { r as
|
|
10
|
-
import { t as
|
|
5
|
+
import { a as l, i as u, n as d, o as f, r as p, s as m } from "./floating-ui.dom-BvAAdCVe.js";
|
|
6
|
+
import { t as h } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
+
import { n as g, t as _ } from "./shadow-resets-Dlq8Oecv.js";
|
|
8
|
+
import { i as v, n as y, r as b } from "./keyboard-shortcut-Rq5IHU-e.js";
|
|
9
|
+
import { r as x } from "./input-modality-XE0B7yCn.js";
|
|
10
|
+
import { t as S } from "./carried-context-DlMSujiJ.js";
|
|
11
11
|
// src/components/content/tooltip/tooltip.styles.ts
|
|
12
|
-
var
|
|
12
|
+
var C = a`
|
|
13
13
|
:host {
|
|
14
14
|
box-sizing: border-box;
|
|
15
15
|
}
|
|
@@ -36,7 +36,7 @@ var x = a`
|
|
|
36
36
|
--_tooltip-offset: 4; /* px, unitless — read by JS */
|
|
37
37
|
--_tooltip-shift-padding: 8; /* px, unitless — read by JS */
|
|
38
38
|
|
|
39
|
-
${
|
|
39
|
+
${_}
|
|
40
40
|
display: contents;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -88,6 +88,10 @@ var x = a`
|
|
|
88
88
|
transition: none;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
.tooltip[reference-hidden] {
|
|
92
|
+
visibility: hidden;
|
|
93
|
+
}
|
|
94
|
+
|
|
91
95
|
@starting-style {
|
|
92
96
|
.tooltip:popover-open {
|
|
93
97
|
opacity: 0;
|
|
@@ -109,7 +113,7 @@ var x = a`
|
|
|
109
113
|
--context-background-color: var(--_tooltip-background-color);
|
|
110
114
|
--context-content-color: var(--_tooltip-content-color);
|
|
111
115
|
--context-content-secondary-color: var(--_tooltip-secondary-color);
|
|
112
|
-
${
|
|
116
|
+
${g}
|
|
113
117
|
--context-content-accent-color: var(--_tooltip-content-color);
|
|
114
118
|
--context-content-success-color: var(--_tooltip-content-color);
|
|
115
119
|
--context-content-warning-color: var(--_tooltip-content-color);
|
|
@@ -146,7 +150,7 @@ var x = a`
|
|
|
146
150
|
}
|
|
147
151
|
`;
|
|
148
152
|
// src/components/content/tooltip/tooltip.template.ts
|
|
149
|
-
function
|
|
153
|
+
function w(e) {
|
|
150
154
|
return n`
|
|
151
155
|
<slot
|
|
152
156
|
@mouseenter=${e._handleTriggerEnter}
|
|
@@ -163,7 +167,7 @@ function S(e) {
|
|
|
163
167
|
>
|
|
164
168
|
<div class="tooltip__body">
|
|
165
169
|
${e.text ? n`<span class="tooltip__text">${e.text}</span>` : r}
|
|
166
|
-
${
|
|
170
|
+
${b(e) ? n`
|
|
167
171
|
<span class="tooltip__shortcut">
|
|
168
172
|
<nldd-keyboard-shortcut
|
|
169
173
|
size="inherit"
|
|
@@ -181,9 +185,9 @@ function S(e) {
|
|
|
181
185
|
`;
|
|
182
186
|
}
|
|
183
187
|
// src/components/content/tooltip/tooltip.ts
|
|
184
|
-
var
|
|
188
|
+
var T = /* @__PURE__ */ e({ NLDDTooltip: () => j }), E, D = 0, O = typeof matchMedia == "function" ? matchMedia("(pointer: coarse)") : null, k = 700, A = 50, j = (E = class extends t {
|
|
185
189
|
constructor(...e) {
|
|
186
|
-
super(...e), this.text = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.open = !1, this.placement = "bottom", this.timing = "delay", this._visible = !1, this._tooltipId = `nldd-tooltip-${++
|
|
190
|
+
super(...e), this.text = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.open = !1, this.placement = "bottom", this.timing = "delay", this._visible = !1, this._tooltipId = `nldd-tooltip-${++D}`, this._hideTimeout = null, this._showTimeout = null, this._descriptionEl = null, this._currentTrigger = null, this._boundSlotChange = () => this._syncAriaDescribedBy(), this._shortcutAvailability = new y(this, () => this._syncAriaDescribedBy()), this._positionVersion = 0, this._shownByHover = !1, this._handleScroll = () => {
|
|
187
191
|
this.open || !this._shownByHover ? this._updatePosition() : (this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null), this._visible = !1);
|
|
188
192
|
}, this._handleKeyDown = (e) => {
|
|
189
193
|
if (e.key === "Escape" && this._visible) {
|
|
@@ -220,7 +224,7 @@ var C = /* @__PURE__ */ e({ NLDDTooltip: () => k }), w, T = 0, E = typeof matchM
|
|
|
220
224
|
_syncAriaDescribedBy() {
|
|
221
225
|
let e = this._getTriggerElement();
|
|
222
226
|
if (this._currentTrigger && this._currentTrigger !== e && this._currentTrigger.removeAttribute("aria-describedby"), this._currentTrigger = e, !e || e.getRootNode() !== document) return;
|
|
223
|
-
let t = [this.text,
|
|
227
|
+
let t = [this.text, v(this)].filter(Boolean).join(" ");
|
|
224
228
|
t && this.timing !== "never" ? (this._descriptionEl || (this._descriptionEl = document.createElement("span"), this._descriptionEl.id = this._tooltipId, Object.assign(this._descriptionEl.style, {
|
|
225
229
|
position: "absolute",
|
|
226
230
|
top: "0",
|
|
@@ -230,7 +234,7 @@ var C = /* @__PURE__ */ e({ NLDDTooltip: () => k }), w, T = 0, E = typeof matchM
|
|
|
230
234
|
overflow: "hidden",
|
|
231
235
|
clipPath: "inset(50%)",
|
|
232
236
|
whiteSpace: "nowrap"
|
|
233
|
-
}), document.body.appendChild(this._descriptionEl)),
|
|
237
|
+
}), document.body.appendChild(this._descriptionEl)), S(this._descriptionEl, this, { scheme: !1 }), this._descriptionEl.textContent !== t && (this._descriptionEl.textContent = t), e.getAttribute("aria-describedby") !== this._tooltipId && e.setAttribute("aria-describedby", this._tooltipId)) : (e.removeAttribute("aria-describedby"), this._descriptionEl?.remove(), this._descriptionEl = null);
|
|
234
238
|
}
|
|
235
239
|
_getTriggerElement() {
|
|
236
240
|
return (this.shadowRoot?.querySelector("slot"))?.assignedElements({ flatten: !0 })?.[0] ?? null;
|
|
@@ -239,26 +243,26 @@ var C = /* @__PURE__ */ e({ NLDDTooltip: () => k }), w, T = 0, E = typeof matchM
|
|
|
239
243
|
return this.shadowRoot?.querySelector(".tooltip") ?? null;
|
|
240
244
|
}
|
|
241
245
|
get _hasContent() {
|
|
242
|
-
return !!(this.text ||
|
|
246
|
+
return !!(this.text || v(this));
|
|
243
247
|
}
|
|
244
248
|
_handleTriggerEnter() {
|
|
245
|
-
if (this.timing === "never" || (this._syncAriaDescribedBy(), !this._hasContent) ||
|
|
249
|
+
if (this.timing === "never" || (this._syncAriaDescribedBy(), !this._hasContent) || O?.matches) return;
|
|
246
250
|
if (this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null), this._showTimeout && clearTimeout(this._showTimeout), this.timing === "instant") {
|
|
247
251
|
this._showTimeout = null, this._shownByHover = !this._visible || this._shownByHover, this._visible = !0;
|
|
248
252
|
return;
|
|
249
253
|
}
|
|
250
|
-
let e = parseInt(getComputedStyle(this).getPropertyValue("--_tooltip-show-delay"), 10), t = Number.isFinite(e) ? e :
|
|
254
|
+
let e = parseInt(getComputedStyle(this).getPropertyValue("--_tooltip-show-delay"), 10), t = Number.isFinite(e) ? e : k;
|
|
251
255
|
this._showTimeout = setTimeout(() => {
|
|
252
256
|
this._showTimeout = null, this._shownByHover = !this._visible || this._shownByHover, this._visible = !0;
|
|
253
257
|
}, t);
|
|
254
258
|
}
|
|
255
259
|
_handleFocusIn() {
|
|
256
|
-
this.timing !== "never" && (this._syncAriaDescribedBy(), this._hasContent && (
|
|
260
|
+
this.timing !== "never" && (this._syncAriaDescribedBy(), this._hasContent && (x() || (this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null), this._showTimeout && (clearTimeout(this._showTimeout), this._showTimeout = null), this._shownByHover = !1, this._visible = !0)));
|
|
257
261
|
}
|
|
258
262
|
_handleTriggerLeave() {
|
|
259
263
|
if (this._showTimeout && (clearTimeout(this._showTimeout), this._showTimeout = null), this.open) return;
|
|
260
264
|
this._hideTimeout && clearTimeout(this._hideTimeout);
|
|
261
|
-
let e = parseInt(getComputedStyle(this).getPropertyValue("--_tooltip-hide-delay"), 10), t = Number.isFinite(e) ? e :
|
|
265
|
+
let e = parseInt(getComputedStyle(this).getPropertyValue("--_tooltip-hide-delay"), 10), t = Number.isFinite(e) ? e : A;
|
|
262
266
|
this._hideTimeout = setTimeout(() => {
|
|
263
267
|
this._visible = !1, this._hideTimeout = null;
|
|
264
268
|
}, t);
|
|
@@ -283,53 +287,57 @@ var C = /* @__PURE__ */ e({ NLDDTooltip: () => k }), w, T = 0, E = typeof matchM
|
|
|
283
287
|
return;
|
|
284
288
|
}
|
|
285
289
|
if (document.fonts?.status !== "loaded" && (await document.fonts?.ready, e !== this._positionVersion)) return;
|
|
286
|
-
let r = getComputedStyle(this), i = parseInt(r.getPropertyValue("--_tooltip-offset"), 10), a = parseFloat(r.getPropertyValue("--context-tooltip-fingertip-size")), o =
|
|
290
|
+
let r = getComputedStyle(this), i = parseInt(r.getPropertyValue("--_tooltip-offset"), 10), a = parseFloat(r.getPropertyValue("--context-tooltip-fingertip-size")), o = O?.matches && Number.isFinite(a) ? ({ placement: e, rects: t }) => {
|
|
287
291
|
let n = /^(top|bottom)/.test(e) ? t.reference.height : t.reference.width;
|
|
288
292
|
return Math.max(i, (a - n) / 2);
|
|
289
|
-
} : i, { x: s, y: c } = await d(t, n, {
|
|
293
|
+
} : i, { x: s, y: c, middlewareData: h } = await d(t, n, {
|
|
290
294
|
placement: this._effectivePlacement,
|
|
291
295
|
strategy: "fixed",
|
|
292
296
|
middleware: [
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
297
|
+
f(o),
|
|
298
|
+
p(),
|
|
299
|
+
m({
|
|
300
|
+
padding: parseInt(r.getPropertyValue("--_tooltip-shift-padding"), 10),
|
|
301
|
+
limiter: l()
|
|
302
|
+
}),
|
|
303
|
+
u()
|
|
296
304
|
]
|
|
297
305
|
});
|
|
298
|
-
e === this._positionVersion && (n.style.left = `${s}px`, n.style.top = `${c}px`, n.setAttribute("positioned", ""));
|
|
306
|
+
e === this._positionVersion && (n.style.left = `${s}px`, n.style.top = `${c}px`, n.toggleAttribute("reference-hidden", !!h.hide?.referenceHidden), n.setAttribute("positioned", ""));
|
|
299
307
|
}
|
|
300
308
|
disconnectedCallback() {
|
|
301
309
|
super.disconnectedCallback(), document.removeEventListener("keydown", this._handleKeyDown, !0), document.removeEventListener("scroll", this._handleScroll, { capture: !0 }), this.shadowRoot?.querySelector("slot")?.removeEventListener("slotchange", this._boundSlotChange), this._hideTimeout && (clearTimeout(this._hideTimeout), this._hideTimeout = null), this._showTimeout && (clearTimeout(this._showTimeout), this._showTimeout = null), this._currentTrigger?.removeAttribute("aria-describedby"), this._currentTrigger = null, this._descriptionEl?.remove(), this._descriptionEl = null;
|
|
302
310
|
}
|
|
303
311
|
render() {
|
|
304
|
-
return
|
|
312
|
+
return w(this);
|
|
305
313
|
}
|
|
306
|
-
},
|
|
314
|
+
}, E.styles = C, E);
|
|
307
315
|
i([s({
|
|
308
316
|
reflect: !0,
|
|
309
|
-
converter:
|
|
310
|
-
})],
|
|
317
|
+
converter: h("")
|
|
318
|
+
})], j.prototype, "text", void 0), i([s({
|
|
311
319
|
reflect: !0,
|
|
312
|
-
converter:
|
|
313
|
-
})],
|
|
320
|
+
converter: h("")
|
|
321
|
+
})], j.prototype, "shortcut", void 0), i([s({
|
|
314
322
|
reflect: !0,
|
|
315
323
|
attribute: "shortcut-mac",
|
|
316
|
-
converter:
|
|
317
|
-
})],
|
|
324
|
+
converter: h("")
|
|
325
|
+
})], j.prototype, "shortcutMac", void 0), i([s({
|
|
318
326
|
reflect: !0,
|
|
319
327
|
attribute: "shortcut-windows",
|
|
320
|
-
converter:
|
|
321
|
-
})],
|
|
328
|
+
converter: h("")
|
|
329
|
+
})], j.prototype, "shortcutWindows", void 0), i([s({
|
|
322
330
|
reflect: !0,
|
|
323
331
|
attribute: "shortcut-linux",
|
|
324
|
-
converter:
|
|
325
|
-
})],
|
|
332
|
+
converter: h("")
|
|
333
|
+
})], j.prototype, "shortcutLinux", void 0), i([s({
|
|
326
334
|
type: Boolean,
|
|
327
335
|
reflect: !0
|
|
328
|
-
})],
|
|
336
|
+
})], j.prototype, "open", void 0), i([s({
|
|
329
337
|
reflect: !0,
|
|
330
|
-
converter:
|
|
331
|
-
})],
|
|
338
|
+
converter: h("bottom")
|
|
339
|
+
})], j.prototype, "placement", void 0), i([s({
|
|
332
340
|
reflect: !0,
|
|
333
|
-
converter:
|
|
334
|
-
})],
|
|
335
|
-
export {
|
|
341
|
+
converter: h("delay")
|
|
342
|
+
})], j.prototype, "timing", void 0), i([o()], j.prototype, "_visible", void 0), j = i([c("nldd-tooltip")], j);
|
|
343
|
+
export { T as t };
|
|
@@ -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, o 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, o 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 "./status-bar-change-CR9l0Gyk.js";
|
|
6
6
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
7
|
import { n as d, t as f } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
-
import { t as p } from "./shadow-resets-
|
|
9
|
-
import { n as m } from "./icon-
|
|
8
|
+
import { t as p } from "./shadow-resets-Dlq8Oecv.js";
|
|
9
|
+
import { n as m } from "./icon-B5kHyCz2.js";
|
|
10
10
|
import { t as h } from "./sanitize-url-CBuGmY0W.js";
|
|
11
|
-
import { t as g } from "./with-translations-
|
|
11
|
+
import { t as g } from "./with-translations-Boc5Daaj.js";
|
|
12
12
|
import { t as _ } from "./top-navigation-bar.i18n-C-lcH1nB.js";
|
|
13
|
-
import "./menu-bar-item-
|
|
14
|
-
import "./menu-bar-
|
|
13
|
+
import "./menu-bar-item-C6OrUu_4.js";
|
|
14
|
+
import "./menu-bar-CL566HmJ.js";
|
|
15
15
|
import { t as v } from "./carried-context-DlMSujiJ.js";
|
|
16
16
|
import { r as y } from "./element-state-B-44fVqq.js";
|
|
17
17
|
// src/components/navigation/top-navigation-bar/top-navigation-bar.styles.ts
|
|
@@ -719,16 +719,16 @@ var k = class {
|
|
|
719
719
|
}, A = 0;
|
|
720
720
|
async function j() {
|
|
721
721
|
await Promise.all([
|
|
722
|
-
import("./sheet-
|
|
723
|
-
import("./page-
|
|
724
|
-
import("./simple-section-
|
|
725
|
-
import("./top-title-bar-
|
|
726
|
-
import("./title-
|
|
727
|
-
import("./list-
|
|
728
|
-
import("./list-item-
|
|
729
|
-
import("./text-cell-
|
|
730
|
-
import("./icon-cell-
|
|
731
|
-
import("./icon-
|
|
722
|
+
import("./sheet-DaQpfAep.js"),
|
|
723
|
+
import("./page-BpavFPML.js").then((e) => e.t),
|
|
724
|
+
import("./simple-section-CYiTEFqN.js"),
|
|
725
|
+
import("./top-title-bar-BLZZd0Iu.js").then((e) => e.t),
|
|
726
|
+
import("./title-CdIWXNtc.js"),
|
|
727
|
+
import("./list-BASqIKtP.js").then((e) => e.t),
|
|
728
|
+
import("./list-item-DTcPysIP.js").then((e) => e.t),
|
|
729
|
+
import("./text-cell-ByGrujhK.js").then((e) => e.t),
|
|
730
|
+
import("./icon-cell-uZkR3hZx.js").then((e) => e.t),
|
|
731
|
+
import("./icon-B5kHyCz2.js").then((e) => e.t)
|
|
732
732
|
]);
|
|
733
733
|
}
|
|
734
734
|
function M(e) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { a, n as o, r as s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CkbtFnic.js";
|
|
3
|
+
import { a, n as 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
|
-
import { t as u } from "./shadow-resets-
|
|
7
|
-
import { n as d, r as f } from "./static-html
|
|
8
|
-
import "./button-
|
|
9
|
-
import "./icon-button-
|
|
6
|
+
import { t as u } from "./shadow-resets-Dlq8Oecv.js";
|
|
7
|
+
import { n as d, r as f } from "./static-html-BT4LOKbV.js";
|
|
8
|
+
import "./button-DpKyquzm.js";
|
|
9
|
+
import "./icon-button-DuEiOOoc.js";
|
|
10
10
|
import { r as p } from "./element-state-B-44fVqq.js";
|
|
11
11
|
// src/components/navigation/top-title-bar/top-title-bar.styles.ts
|
|
12
12
|
var m = a`
|
|
@@ -5,7 +5,7 @@ function i(e, t, i, a) {
|
|
|
5
5
|
if (import.meta.env?.DEV && import.meta.env?.MODE !== "test" && e && !r.has(e)) {
|
|
6
6
|
r.add(e);
|
|
7
7
|
let n = Object.keys(e);
|
|
8
|
-
n.length > 0 && import("./dev-checks-
|
|
8
|
+
n.length > 0 && import("./dev-checks-UHHli7gE.js").then(({ checkElementTranslationKeys: e }) => e(n, Object.keys(t)));
|
|
9
9
|
}
|
|
10
10
|
let s = e?.[i] ?? n.translations[o] ?? t[i] ?? o;
|
|
11
11
|
if (a) for (let [e, t] of Object.entries(a)) s = s.split(`{${e}}`).join(String(t));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { a as r, o as i, r as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as r, o as i, r as a } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { n as c, t as l } from "./page-section-mixin-
|
|
5
|
+
import { n as c, t as l } from "./page-section-mixin-BHg-Wre9.js";
|
|
6
6
|
import { i as u, n as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
7
|
// src/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.styles.ts
|
|
8
8
|
var f = i(d.smMax), p = i(d.mdMin), m = i(d.mdMax), h = i(d.lgMin), g = i(u.stackedMax), _ = r`
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { a as r, n as i, r as a } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as r, n as i, r as a } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { r as s } from "./element-state-B-44fVqq.js";
|
|
5
5
|
import { t as c } from "./validation-list.i18n-CM6In8zD.js";
|
|
6
|
-
import { t as l } from "./translations-
|
|
6
|
+
import { t as l } from "./translations-CF08wvn-.js";
|
|
7
7
|
// src/components/forms/validation-list/validation-list.styles.ts
|
|
8
8
|
var u = r`
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as e, o as t, r as n } from "./custom-element-
|
|
2
|
-
import { t as r } from "./decorate-
|
|
1
|
+
import { a as e, o as t, r as n } from "./custom-element-C5yyaCZS.js";
|
|
2
|
+
import { t as r } from "./decorate-CkbtFnic.js";
|
|
3
3
|
import { n as i } from "./breakpoints-Cwor8TRP.js";
|
|
4
4
|
// src/utilities/visibility-mixin.styles.ts
|
|
5
5
|
var a = t(i.smMax), o = t(i.mdMin), s = t(i.mdMax), c = t(i.lgMin), l = /* @__PURE__ */ new Map();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { a as r } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as r } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as i } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
// src/components/content/visually-hidden/visually-hidden.styles.ts
|
|
5
5
|
var a = r`
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { a as r, r as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CkbtFnic.js";
|
|
2
|
+
import { a as r, r as i } from "./custom-element-C5yyaCZS.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { a as o, t as s } from "./shadow-resets-
|
|
4
|
+
import { a as o, t as s } from "./shadow-resets-Dlq8Oecv.js";
|
|
5
5
|
import { t as c } from "./window.i18n-CsEnUPAk.js";
|
|
6
6
|
import { n as l } from "./input-modality-XE0B7yCn.js";
|
|
7
7
|
import { n as u, t as d } from "./open-when-rendered-CW_2_WUZ.js";
|
|
8
8
|
import { t as f } from "./dismiss-from-title-bar-C6mP7sWP.js";
|
|
9
9
|
import { t as p } from "./title-bar-label-controller-DSxdKZOg.js";
|
|
10
|
-
import { t as m } from "./translations-
|
|
10
|
+
import { t as m } from "./translations-CF08wvn-.js";
|
|
11
11
|
import { r as h } from "./element-state-B-44fVqq.js";
|
|
12
12
|
import { t as g } from "./return-focus-BzZWhXhc.js";
|
|
13
13
|
import { t as _ } from "./reflect-non-default-Bu3rpCvg.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as e } from "./custom-element-
|
|
2
|
-
import { t } from "./translations-
|
|
3
|
-
import { t as n } from "./decorate-
|
|
1
|
+
import { r as e } from "./custom-element-C5yyaCZS.js";
|
|
2
|
+
import { t } from "./translations-CF08wvn-.js";
|
|
3
|
+
import { t as n } from "./decorate-CkbtFnic.js";
|
|
4
4
|
// src/utilities/with-translations.ts
|
|
5
5
|
function r(r, i) {
|
|
6
6
|
class a extends r {
|
|
@@ -26,9 +26,11 @@ export { NLDDMenuDivider } from './menu-divider.js';
|
|
|
26
26
|
*
|
|
27
27
|
* A chosen item blinks once before the menu closes, as a native menu on
|
|
28
28
|
* macOS does, so you see what you picked. After a tap there is no hover to
|
|
29
|
-
* blink from, so the item lights up and holds a moment
|
|
29
|
+
* blink from, so the item lights up from the press and holds a moment
|
|
30
|
+
* instead, without going dark in between. `select`
|
|
30
31
|
* fires at once: the action does not wait for the blink. With
|
|
31
|
-
* `prefers-reduced-motion` the menu closes at once
|
|
32
|
+
* `prefers-reduced-motion` there is no blink, and the menu closes at once
|
|
33
|
+
* after a click; a tap still holds, since that is no motion. A menu that scrolls
|
|
32
34
|
* fades at the edge where more items wait.
|
|
33
35
|
*
|
|
34
36
|
* Note: Only type="button" items are supported when used inside nldd-combo-box-field.
|
|
@@ -389,7 +391,8 @@ export declare class NLDDMenu extends LitElement {
|
|
|
389
391
|
* closes after it, so you see what you picked. `select` has already gone
|
|
390
392
|
* out: the action does not wait for the blink. Every menu in the chain
|
|
391
393
|
* hears the event; the first one runs the blink and the rest leave it.
|
|
392
|
-
*
|
|
394
|
+
* In a menu that is not open, in a listbox, or after a click or key with
|
|
395
|
+
* reduced motion, it closes at once; a tap still holds.
|
|
393
396
|
*/
|
|
394
397
|
private _handleSelect;
|
|
395
398
|
private _blinkTimer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/menu/menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAKjC,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEpE,OA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I,CAiB3B;IAEF,OAAO,CAAC,mBAAmB,CAMzB;IAEF,OAAO,CAAC,aAAa,CA8DnB;IAEO,MAAM;CAGf;AAMD,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,WAAW,EAAE,QAAQ,CAAC;QACtB,gBAAgB,EAAE,YAAY,CAAC;QAC/B,mBAAmB,EAAE,eAAe,CAAC;QACrC,iBAAiB,EAAE,aAAa,CAAC;KACjC;CACD"}
|
|
@@ -71,9 +71,11 @@ const HOVER_OPEN_MAX_MS = 150;
|
|
|
71
71
|
*
|
|
72
72
|
* A chosen item blinks once before the menu closes, as a native menu on
|
|
73
73
|
* macOS does, so you see what you picked. After a tap there is no hover to
|
|
74
|
-
* blink from, so the item lights up and holds a moment
|
|
74
|
+
* blink from, so the item lights up from the press and holds a moment
|
|
75
|
+
* instead, without going dark in between. `select`
|
|
75
76
|
* fires at once: the action does not wait for the blink. With
|
|
76
|
-
* `prefers-reduced-motion` the menu closes at once
|
|
77
|
+
* `prefers-reduced-motion` there is no blink, and the menu closes at once
|
|
78
|
+
* after a click; a tap still holds, since that is no motion. A menu that scrolls
|
|
77
79
|
* fades at the edge where more items wait.
|
|
78
80
|
*
|
|
79
81
|
* Note: Only type="button" items are supported when used inside nldd-combo-box-field.
|
|
@@ -451,7 +453,8 @@ export class NLDDMenu extends LitElement {
|
|
|
451
453
|
* closes after it, so you see what you picked. `select` has already gone
|
|
452
454
|
* out: the action does not wait for the blink. Every menu in the chain
|
|
453
455
|
* hears the event; the first one runs the blink and the rest leave it.
|
|
454
|
-
*
|
|
456
|
+
* In a menu that is not open, in a listbox, or after a click or key with
|
|
457
|
+
* reduced motion, it closes at once; a tap still holds.
|
|
455
458
|
*/
|
|
456
459
|
this._handleSelect = (event) => {
|
|
457
460
|
const item = event.target;
|
|
@@ -462,7 +465,10 @@ export class NLDDMenu extends LitElement {
|
|
|
462
465
|
return;
|
|
463
466
|
const button = item.localName === 'nldd-menu-item' ? item.shadowRoot?.querySelector('.menu__item') : null;
|
|
464
467
|
// A listbox belongs to a field, which shows the choice itself and closes it.
|
|
465
|
-
|
|
468
|
+
// Holding a tapped item lit is no motion, so only the blink gives way to
|
|
469
|
+
// reduced motion.
|
|
470
|
+
const reduceMotion = !pressedByTouch && matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
471
|
+
if (!button || !this._isOpen || this.variant === 'listbox' || reduceMotion) {
|
|
466
472
|
this._collapseChain();
|
|
467
473
|
return;
|
|
468
474
|
}
|
|
@@ -494,12 +500,23 @@ export class NLDDMenu extends LitElement {
|
|
|
494
500
|
this._pressedByTouch = false;
|
|
495
501
|
this._notePress = (event) => {
|
|
496
502
|
this._pressedByTouch = event.type === 'pointerdown' && event.pointerType === 'touch';
|
|
503
|
+
if (!this._pressedByTouch)
|
|
504
|
+
return;
|
|
505
|
+
// The press highlight of a tap is :active, which ends when the finger
|
|
506
|
+
// lifts, before the click selects: the item went dark between press and
|
|
507
|
+
// hold. Highlighted from the press, it stays lit until the menu closes.
|
|
508
|
+
const item = event.target?.closest('nldd-menu-item');
|
|
509
|
+
if (item && !item.disabled && item.closest('nldd-menu') === this)
|
|
510
|
+
this._setHighlight(item);
|
|
497
511
|
};
|
|
498
512
|
/** A press ends with its click, which reaches the menu after the item has
|
|
499
513
|
* selected, or with a touch that scrolls instead, or when the menu closes.
|
|
500
514
|
* A key press counts as a press of its own, so it clears the touch too.
|
|
501
515
|
* A disabled item fires no click, so a tap on one lasts until then. */
|
|
502
|
-
this._forgetPress = () => {
|
|
516
|
+
this._forgetPress = (event) => {
|
|
517
|
+
// A touch that turns into a scroll picked nothing, so nothing stays lit.
|
|
518
|
+
if (event?.type === 'pointercancel' && this._pressedByTouch)
|
|
519
|
+
this._clearHighlight();
|
|
503
520
|
this._pressedByTouch = false;
|
|
504
521
|
};
|
|
505
522
|
this._finishBlink = null;
|