@nldd/design-system 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1286 -47
- package/dist/assets/styles/scroll-fade.d.ts +13 -0
- package/dist/assets/styles/scroll-fade.d.ts.map +1 -0
- package/dist/assets/styles/scroll-fade.js +53 -0
- package/dist/assets/styles/scroll-fade.js.map +1 -0
- package/dist/assets/styles/shadow-resets.d.ts +9 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +13 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +137 -136
- package/dist/cdn/chunks/{activity-indicator-D86Mv6SL.js → activity-indicator-Dc6c9HtC.js} +12 -12
- package/dist/cdn/chunks/{avatar-BISv6tzp.js → avatar-CHXRpWWk.js} +17 -17
- package/dist/cdn/chunks/{avatar-group-D7IN6DxU.js → avatar-group-B76E8oC6.js} +20 -20
- package/dist/cdn/chunks/{badge-R3PZUsqZ.js → badge-tO7gHhdi.js} +5 -5
- package/dist/cdn/chunks/{banner-DRANlf5k.js → banner-D4kFQYXF.js} +15 -15
- package/dist/cdn/chunks/{bar-split-view-B-Y2nqgS.js → bar-split-view-C9bYdWSR.js} +7 -7
- package/dist/cdn/chunks/{blockquote-pUgJLPY1.js → blockquote-DRJajjBB.js} +9 -9
- package/dist/cdn/chunks/{box-BbXHpBQy.js → box-D10mS19t.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-BdF4m3DB.js → breadcrumbs-BUdQJG3z.js} +6 -6
- package/dist/cdn/chunks/{button-CsqNHH3w.js → button-CwY9fWCg.js} +61 -48
- package/dist/cdn/chunks/{button-bar-CnYIw4fN.js → button-bar-DkqbRvff.js} +30 -30
- package/dist/cdn/chunks/{button-group-xaHghyon.js → button-group-p364JgTR.js} +2 -2
- package/dist/cdn/chunks/{card-Bbf0aCIh.js → card-B7TaSaw7.js} +9 -9
- package/dist/cdn/chunks/{cell-Dggt5oYG.js → cell-BTIpXf1T.js} +6 -6
- package/dist/cdn/chunks/{checkbox-DmFAS8ec.js → checkbox-BLEK0rAV.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-fOWPH8Q7.js → checkbox-field-CDtlpN-u.js} +5 -5
- package/dist/cdn/chunks/{class-map-BWGTUNv4.js → class-map-5WYS_nCb.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CANFZX66.js → code-editor-CanGMLIo.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-C_vUEx7J.js → code-viewer-DCZ3wjMd.js} +29 -21
- package/dist/cdn/chunks/{codemirror-input-wexTiqWw.js → codemirror-input-CtvDBy25.js} +4 -4
- package/dist/cdn/chunks/{collection-_emTry5U.js → collection-D8K79X0H.js} +20 -20
- package/dist/cdn/chunks/{combo-box-CGwj1u4a.js → combo-box-BeWoeEY8.js} +25 -25
- package/dist/cdn/chunks/{container-D5Dz-j6a.js → container-Be2J-GhB.js} +48 -48
- package/dist/cdn/chunks/{custom-element-DbwbPetH.js → custom-element-DGlHv_OV.js} +4 -2
- package/dist/cdn/chunks/{date-field-ChmyLtTj.js → date-field-BLaGVd4x.js} +29 -29
- package/dist/cdn/chunks/{date-field.i18n-BTzc0E9a.js → date-field.i18n-BqIx3eyr.js} +1 -1
- package/dist/cdn/chunks/{date-picker-CUQKdjS4.js → date-picker-C4mLZKWF.js} +16 -16
- package/dist/cdn/chunks/{decorate-_JGq4E_7.js → decorate-Czy-wI4F.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DbnuGktP.js → described-by-mixin-fLi4Nmt7.js} +6 -3
- package/dist/cdn/chunks/{description-cell-BgcO7ObI.js → description-cell-aQyLX0U0.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-KAnKlxY0.js → dev-checks-qTR6tciJ.js} +140 -33
- package/dist/cdn/chunks/{dist-HgRt6IKh.js → dist-BLnIbkqH.js} +1 -1
- package/dist/cdn/chunks/{dist-DADIyiX-.js → dist-BNS6C8sP.js} +2 -2
- package/dist/cdn/chunks/{dist-CLKJ5z0x.js → dist-B_fXtXqM.js} +1 -1
- package/dist/cdn/chunks/{dist-CKZ98PMy.js → dist-CX0g6sV1.js} +3 -3
- package/dist/cdn/chunks/{dist-CJLBwJx0.js → dist-CZOXq9aZ.js} +1 -1
- package/dist/cdn/chunks/{dist-CBnQQ6kV.js → dist-CdF0c6UD.js} +2 -2
- package/dist/cdn/chunks/{dist-BJrN5nEM.js → dist-DHK9tNd7.js} +1 -1
- package/dist/cdn/chunks/{dist-BF9euKgj.js → dist-WQv_JUmB.js} +2 -2
- package/dist/cdn/chunks/{dist-D7Wubc1l.js → dist-_QFa91Kz.js} +1 -1
- package/dist/cdn/chunks/{dist-Bz3Isx60.js → dist-fDpuYq7K.js} +1 -1
- package/dist/cdn/chunks/{dist-BHMubC6P.js → dist-p1FcXq9E.js} +3 -3
- package/dist/cdn/chunks/{divider-pO5O6wL4.js → divider-2hHcSIga.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-C_-iuaUc.js → document-tab-bar-CIWiZUB5.js} +18 -18
- package/dist/cdn/chunks/{dropdown-DYO6049g.js → dropdown-Bwn6dQrK.js} +5 -5
- package/dist/cdn/chunks/{file-field-C-Fk92rD.js → file-field-CtQ6Fzkj.js} +25 -25
- package/dist/cdn/chunks/{form-actions-DrOX7nX8.js → form-actions-DSL0qce-.js} +3 -3
- package/dist/cdn/chunks/{form-field-CR2Py09O.js → form-field--t3Bz1pc.js} +7 -7
- package/dist/cdn/chunks/{form-section-s1mkLzaC.js → form-section-D1n8Sdmt.js} +16 -16
- package/dist/cdn/chunks/{form-ChXBrKw6.js → form-vSM2SOrK.js} +10 -10
- package/dist/cdn/chunks/{full-bleed-section-vOVI_f86.js → full-bleed-section-w2pDVC5v.js} +4 -4
- package/dist/cdn/chunks/{hero-Cb3qIvvh.js → hero-BypUmnRi.js} +22 -22
- package/dist/cdn/chunks/{icon-DBhTZrnl.js → icon-BydOAoVO.js} +7 -7
- package/dist/cdn/chunks/{icon-button-bDuQ_6W_.js → icon-button-C_MZ-jXt.js} +56 -43
- package/dist/cdn/chunks/{icon-cell-DlSZNTF3.js → icon-cell-jiYNsV84.js} +6 -6
- package/dist/cdn/chunks/{identity-CJTVNI9J.js → identity-D1Sw6OdG.js} +55 -39
- package/dist/cdn/chunks/{if-defined-28B8DYUB.js → if-defined-pKQLIQvK.js} +1 -1
- package/dist/cdn/chunks/{image-DlTxyeL3.js → image-DEI0hogS.js} +20 -20
- package/dist/cdn/chunks/{inline-dialog-BJlOrD6M.js → inline-dialog-CTjJ8Tl_.js} +15 -15
- package/dist/cdn/chunks/interest-controller-Ban-3NrX.js +117 -0
- package/dist/cdn/chunks/{just-in-time-education-DWBDshKs.js → just-in-time-education-pUUxdKPR.js} +5 -5
- package/dist/cdn/chunks/{kanban-DIXY8FcZ.js → kanban-KSLBcCb4.js} +9 -9
- package/dist/cdn/chunks/{kanban-column-DmnxctX6.js → kanban-column-RNSdiBIT.js} +8 -8
- package/dist/cdn/chunks/{keyboard-shortcut-kYOKwBqs.js → keyboard-shortcut-D9TYAQu1.js} +3 -3
- package/dist/cdn/chunks/{languages-DGtcUhLc.js → languages-DGZO3jTf.js} +12 -12
- package/dist/cdn/chunks/{link-DhnhhTOg.js → link-C4K1qVcb.js} +88 -24
- package/dist/cdn/chunks/{link-group-Bx2nkQcS.js → link-group-BEYO7nTK.js} +2 -2
- package/dist/cdn/chunks/{list-item-CSNBaRlK.js → list-item-CotWNKc1.js} +19 -19
- package/dist/cdn/chunks/{list-item-segment-D6WvAh3A.js → list-item-segment-C-yl2GAS.js} +15 -15
- package/dist/cdn/chunks/{list-CXCG_IEc.js → list-rMBdnf1f.js} +15 -15
- package/dist/cdn/chunks/{menu-bar-xahTEYTX.js → menu-bar-D9IxDwC2.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-item-C950rfSt.js → menu-bar-item-768OWJdt.js} +18 -18
- package/dist/cdn/chunks/{menu-divider-XlYJ4zQz.js → menu-divider-BHAGnkBl.js} +3 -3
- package/dist/cdn/chunks/{menu-group-E6hIEtLj.js → menu-group-B5MAz_Yk.js} +6 -6
- package/dist/cdn/chunks/{menu-item-2y0VC5Gb.js → menu-item-Ba581zRi.js} +24 -24
- package/dist/cdn/chunks/{menu-CKxKVA36.js → menu-rE6tDSAy.js} +48 -27
- package/dist/cdn/chunks/{menu.template-ZBhUFgBJ.js → menu.template-Eb7J7UrL.js} +130 -76
- package/dist/cdn/chunks/{modal-dialog-DdFpcRLJ.js → modal-dialog-Djln8pr7.js} +5 -5
- package/dist/cdn/chunks/{multi-line-text-field-okvEa54Q.js → multi-line-text-field-Omt0oidK.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-dNRQDSpy.js → navigation-split-view-DDng9DdF.js} +11 -11
- package/dist/cdn/chunks/nl.generated-CgRVSEh6.js +116 -0
- package/dist/cdn/chunks/{notification-2tnwXEY1.js → notification-DB6JOmCC.js} +13 -13
- package/dist/cdn/chunks/{number-field-CH7EvpSq.js → number-field-xgr4dysX.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-UZDP-KO-.js → one-half-one-half-section-CFhmSDDa.js} +4 -4
- package/dist/cdn/chunks/{one-third-two-thirds-section-8KtESdXO.js → one-third-two-thirds-section-D0JV0GJ_.js} +4 -4
- package/dist/cdn/chunks/{one-time-code-field-Bvm3ND6e.js → one-time-code-field-CqgKQqdE.js} +20 -20
- package/dist/cdn/chunks/{page-PK1FWuKJ.js → page-DXWHG-hD.js} +10 -10
- package/dist/cdn/chunks/{page-footer-BamWKHwH.js → page-footer-GexGY_m-.js} +15 -15
- package/dist/cdn/chunks/{page-section-mixin-3q59_Jo_.js → page-section-mixin-CtiPKCqL.js} +4 -10
- package/dist/cdn/chunks/{pagination-47zAyQhM.js → pagination-DJkfE8t9.js} +6 -6
- package/dist/cdn/chunks/{password-field-FaU02DSW.js → password-field-gKiiE_5e.js} +7 -7
- package/dist/cdn/chunks/{popover-642mOFR5.js → popover-C-jxcCHx.js} +74 -50
- package/dist/cdn/chunks/{progress-bar-BivaNkIY.js → progress-bar-CBWQRWkE.js} +24 -24
- package/dist/cdn/chunks/{progress-circle-ewL0JIcz.js → progress-circle-CCcRDOOJ.js} +22 -22
- package/dist/cdn/chunks/{radio-button-DvrYYSnm.js → radio-button-B8xwJO3_.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-BVi0YrTF.js → radio-button-field-B9lRNOXJ.js} +12 -12
- package/dist/cdn/chunks/{radio-button-group-DZ9OWUNe.js → radio-button-group-Cy7Ya28w.js} +3 -3
- package/dist/cdn/chunks/{render-marked-CO31_4GS.js → render-marked-DjXBoUGY.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Doetg58W.js → reorder-handle-cell-B6V85qYk.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DCjwUXr0.js → reorder-handle-mixin-DTmEmT-V.js} +2 -2
- package/dist/cdn/chunks/{repeat-Wb4hkVZc.js → repeat-Ck8L8Iy9.js} +1 -1
- package/dist/cdn/chunks/{rich-text-Do08iiIz.js → rich-text-CqQeOXwL.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CKR5rHBA.js → row-header-mixin-XRu3gHMf.js} +2 -2
- package/dist/cdn/chunks/scroll-fade-e6d1wo3D.js +41 -0
- package/dist/cdn/chunks/{search-field-CCeeGiJM.js → search-field-Cz7Ucf6x.js} +9 -9
- package/dist/cdn/chunks/{segmented-control-CWIPxEBq.js → segmented-control-CLzKU4SX.js} +33 -33
- package/dist/cdn/chunks/{shadow-resets-NKr5gQCc.js → shadow-resets-CodxnaUh.js} +11 -7
- package/dist/cdn/chunks/{sheet-WOjBtZvN.js → sheet-DkmSsRV3.js} +4 -4
- package/dist/cdn/chunks/{shell-Brn0Dr8F.js → shell-Ex_f7Ov3.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DGIMsyma.js → side-by-side-split-view-C8aSEGRc.js} +7 -7
- package/dist/cdn/chunks/{sidebar-section-BXHeI8GN.js → sidebar-section-CnD-3i7r.js} +8 -8
- package/dist/cdn/chunks/{simple-section-C8lJZLAO.js → simple-section-CeKnmobI.js} +4 -4
- package/dist/cdn/chunks/{skip-link-QdRgHljr.js → skip-link-DwtFm_NJ.js} +13 -8
- package/dist/cdn/chunks/skip-link.i18n-B7pVqo5u.js +6 -0
- package/dist/cdn/chunks/{slider-BhjBeWqc.js → slider-BVdkwNW3.js} +21 -21
- package/dist/cdn/chunks/slot-content-2qH2vEC_.js +22 -0
- package/dist/cdn/chunks/slotted-block-xNpJoXLz.js +14 -0
- package/dist/cdn/chunks/{spacer-BgkOjuUj.js → spacer-H4zmoDr_.js} +3 -3
- package/dist/cdn/chunks/{spacer-cell-DBI0PVd7.js → spacer-cell-BES4eJH1.js} +4 -4
- package/dist/cdn/chunks/{split-button-DfD9vxPe.js → split-button-Caa30uTx.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-B4NFlri5.js → split-view-divider-klvZ8lgP.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-CwFf13hX.js → split-view-pane-Cnx56S5C.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-BmbzTinq.js → stacked-split-view-CYdGBY7Q.js} +7 -7
- package/dist/cdn/chunks/{static-html-CZrcQRgC.js → static-html--Xd5vkAU.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CTOf_bDL.js → status-bar-CJybViWL.js} +4 -4
- package/dist/cdn/chunks/{step-bar-B5vzvhz-.js → step-bar-BO6Y1BrK.js} +21 -21
- package/dist/cdn/chunks/{step-cell-CUA-HUZv.js → step-cell-BQ8EHZVR.js} +5 -5
- package/dist/cdn/chunks/{stepper-LxPTQ6HJ.js → stepper-COTaJwSU.js} +6 -6
- package/dist/cdn/chunks/{style-map-DiIQAb_L.js → style-map-BwtZr74h.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Cxv9HK3A.js → swatch-picker-5fxe3QB1.js} +21 -21
- package/dist/cdn/chunks/{switch-CbNSJQPp.js → switch-BUxGg2ww.js} +4 -4
- package/dist/cdn/chunks/{switch-field-B8vOvcKc.js → switch-field-DOsEK534.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-D4ot_wZ4.js → tab-bar-CZ9Z9qV9.js} +21 -21
- package/dist/cdn/chunks/{table-uh4YPqda.js → table-SAsB1kDN.js} +5 -5
- package/dist/cdn/chunks/{tag-D2dCXT7A.js → tag-xuCeECO3.js} +16 -12
- package/dist/cdn/chunks/term-DHEvoltZ.js +212 -0
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +3 -0
- package/dist/cdn/chunks/text-CiFzQPQw.js +260 -0
- package/dist/cdn/chunks/{text-cell-DNCpmw9h.js → text-cell-DQNzo2Rp.js} +74 -62
- package/dist/cdn/chunks/{text-editor-C6UKAmPL.js → text-editor-DCYF_nqz.js} +257 -237
- package/dist/cdn/chunks/{text-field-Dmkd4mHV.js → text-field-BiPeMi6s.js} +22 -22
- package/dist/cdn/chunks/{time-field-BfgNZbEb.js → time-field-C-Euaiy0.js} +125 -99
- package/dist/cdn/chunks/{time-field.i18n-CLH5vmS7.js → time-field.i18n-BM6qGbmN.js} +0 -1
- package/dist/cdn/chunks/{time-picker-C1SBkU-e.js → time-picker-DYkxhEYm.js} +12 -11
- package/dist/cdn/chunks/{title-DFrd-Fsh.js → title-DkS07R_v.js} +113 -98
- package/dist/cdn/chunks/{title-cell-CC1dQyth.js → title-cell-CJevv6Vg.js} +83 -74
- package/dist/cdn/chunks/{toggle-button-bAX6uzgz.js → toggle-button-DDqd56_3.js} +25 -25
- package/dist/cdn/chunks/{toggle-button-group-B7CHBww5.js → toggle-button-group-ByxgMVzH.js} +2 -2
- package/dist/cdn/chunks/{token-CicHNqIk.js → token-YpVKK1g4.js} +13 -13
- package/dist/cdn/chunks/{token-field-BFynQ-T-.js → token-field-vLdJSvUz.js} +21 -21
- package/dist/cdn/chunks/{toolbar-hAmL7o23.js → toolbar-C-5H46y9.js} +12 -12
- package/dist/cdn/chunks/{toolbar-item-CjgkcYJ2.js → toolbar-item-CvPtoAoQ.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-B1acxCGx.js → toolbar-title-HElUvLeY.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-xiyZx5D0.js → toolbar.styles-BuJIgj1E.js} +3 -3
- package/dist/cdn/chunks/{tooltip-Mj47t8v7.js → tooltip-BF4HkWOi.js} +16 -16
- package/dist/cdn/chunks/{top-navigation-bar-vP5QGBXd.js → top-navigation-bar-ngF2MF40.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-Yt6cmRLj.js → top-title-bar-BUjpi-w6.js} +14 -14
- package/dist/cdn/chunks/{translations-BMMzf2sX.js → translations-BWgmZCAK.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BHN98jET.js → two-thirds-one-third-section-Ci6O8SwP.js} +4 -4
- package/dist/cdn/chunks/{validation-list-CUPzu9_z.js → validation-list-BBNFz_2I.js} +10 -10
- package/dist/cdn/chunks/{visibility-mixin-DPuxf-sj.js → visibility-mixin-BP5T5qYB.js} +4 -4
- package/dist/cdn/chunks/{visually-hidden-CvjJIBhz.js → visually-hidden-BqYWVy4n.js} +2 -2
- package/dist/cdn/chunks/{window-BqGlzGaS.js → window-CvgGg1Ib.js} +4 -4
- package/dist/cdn/chunks/{with-translations-CRvWJWep.js → with-translations-8SmMZkGa.js} +3 -3
- package/dist/components/actions/button/button.d.ts +9 -0
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +16 -0
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +6 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +2 -2
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +8 -0
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +17 -0
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +6 -0
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +4 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +3 -1
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +25 -0
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +86 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +55 -3
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +55 -53
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +2 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +26 -13
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +2 -0
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +17 -10
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +33 -19
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +5 -1
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/identity/identity.template.d.ts +1 -1
- package/dist/components/content/identity/identity.template.d.ts.map +1 -1
- package/dist/components/content/identity/identity.template.js +11 -5
- package/dist/components/content/identity/identity.template.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +6 -2
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/term/term.d.ts +115 -0
- package/dist/components/content/term/term.d.ts.map +1 -0
- package/dist/components/content/term/term.i18n.d.ts +5 -0
- package/dist/components/content/term/term.i18n.d.ts.map +1 -0
- package/dist/components/content/term/term.i18n.js +5 -0
- package/dist/components/content/term/term.i18n.js.map +1 -0
- package/dist/components/content/term/term.js +256 -0
- package/dist/components/content/term/term.js.map +1 -0
- package/dist/components/content/term/term.styles.d.ts +2 -0
- package/dist/components/content/term/term.styles.d.ts.map +1 -0
- package/dist/components/content/term/term.styles.js +65 -0
- package/dist/components/content/term/term.styles.js.map +1 -0
- package/dist/components/content/term/term.template.d.ts +4 -0
- package/dist/components/content/term/term.template.d.ts.map +1 -0
- package/dist/components/content/term/term.template.js +55 -0
- package/dist/components/content/term/term.template.js.map +1 -0
- package/dist/components/content/text/text.d.ts +15 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +19 -3
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +7 -155
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/text/text.template.d.ts +3 -2
- package/dist/components/content/text/text.template.d.ts.map +1 -1
- package/dist/components/content/text/text.template.js +3 -4
- package/dist/components/content/text/text.template.js.map +1 -1
- package/dist/components/content/title/title.d.ts +22 -7
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +43 -19
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +8 -7
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +2 -2
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +2 -2
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +2 -2
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +2 -2
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.d.ts +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.js +3 -2
- package/dist/components/inputs/date-field/date-field.i18n.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +1 -1
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +7 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts +5 -0
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js +17 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +21 -6
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts +0 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.js +0 -2
- package/dist/components/inputs/time-field/time-field.i18n.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +69 -13
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +13 -1
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +13 -10
- package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +3 -2
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +2 -2
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +29 -0
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +70 -8
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +15 -1
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.template.js +1 -1
- package/dist/components/layout/popover/popover.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +24 -13
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +40 -31
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +5 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +15 -8
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +23 -11
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +39 -29
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +5 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +15 -16
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +68 -2
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +162 -1
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +9 -0
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +4 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +12 -4
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.i18n.d.ts +1 -0
- package/dist/components/navigation/skip-link/skip-link.i18n.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.i18n.js +2 -0
- package/dist/components/navigation/skip-link/skip-link.i18n.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +18 -4
- package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js.map +1 -1
- package/dist/css/global-open-font.css +2 -0
- package/dist/css/global.css +2 -0
- package/dist/css/link.css +93 -0
- package/dist/css/text.css +159 -0
- package/dist/css/title.css +10 -10
- package/dist/nldd.min.js +2207 -2121
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +3 -2
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +3 -2
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +3 -2
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +3 -2
- 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 +3 -2
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +40 -16
- package/dist/types/vue.d.ts +42 -16
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +1 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/custom-element.d.ts +10 -0
- package/dist/utilities/custom-element.d.ts.map +1 -1
- package/dist/utilities/custom-element.js +11 -0
- package/dist/utilities/custom-element.js.map +1 -1
- package/dist/utilities/described-by-mixin.d.ts +2 -0
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +10 -1
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-checks.d.ts +8 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +36 -0
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +102 -17
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/interest-controller.d.ts +80 -0
- package/dist/utilities/interest-controller.d.ts.map +1 -0
- package/dist/utilities/interest-controller.js +339 -0
- package/dist/utilities/interest-controller.js.map +1 -0
- package/dist/utilities/page-section-mixin.d.ts +2 -3
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +2 -9
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/slot-content.d.ts +18 -7
- package/dist/utilities/slot-content.d.ts.map +1 -1
- package/dist/utilities/slot-content.js +25 -4
- package/dist/utilities/slot-content.js.map +1 -1
- package/dist/utilities/slotted-block.d.ts +20 -0
- package/dist/utilities/slotted-block.d.ts.map +1 -0
- package/dist/utilities/slotted-block.js +30 -0
- package/dist/utilities/slotted-block.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -2
- package/lint/frontends.js +149 -15
- package/lint/linter.js +3 -2
- package/lint/main.js +17 -3
- package/lint/project.js +2 -2
- package/lint/rule.schema.json +2 -1
- package/package.json +11 -2
- package/dist/cdn/chunks/nl.generated-Bo4bmwYF.js +0 -114
- package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +0 -3
- package/dist/cdn/chunks/slot-content-BLuPqVXw.js +0 -13
- package/dist/cdn/chunks/text-BX4Xm40t.js +0 -406
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import {
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-Czy-wI4F.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-DGlHv_OV.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./query-ChDzi9FQ.js";
|
|
6
6
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as d } from "./if-defined-
|
|
8
|
-
import "./list-item-
|
|
7
|
+
import { t as d } from "./if-defined-pKQLIQvK.js";
|
|
8
|
+
import "./list-item-CotWNKc1.js";
|
|
9
9
|
import { t as f } from "./list.i18n-C40ltgdI.js";
|
|
10
|
-
import "./inline-dialog-
|
|
11
|
-
import "./icon-
|
|
12
|
-
import "./icon-button-
|
|
13
|
-
import { t as p } from "./translations-
|
|
10
|
+
import "./inline-dialog-CTjJ8Tl_.js";
|
|
11
|
+
import "./icon-BydOAoVO.js";
|
|
12
|
+
import "./icon-button-C_MZ-jXt.js";
|
|
13
|
+
import { t as p } from "./translations-BWgmZCAK.js";
|
|
14
14
|
import { r as m } from "./element-state-B-44fVqq.js";
|
|
15
15
|
// src/components/lists-and-tables/list/list.styles.ts
|
|
16
16
|
var h = a`
|
|
@@ -895,23 +895,23 @@ var h = a`
|
|
|
895
895
|
});
|
|
896
896
|
}
|
|
897
897
|
}, y = v, v.styles = [h], v._idCounter = 0, v._optionIdCounter = 0, v);
|
|
898
|
-
i([
|
|
898
|
+
i([s({
|
|
899
899
|
reflect: !0,
|
|
900
900
|
converter: u("simple")
|
|
901
|
-
})], x.prototype, "appearance", void 0), i([
|
|
901
|
+
})], x.prototype, "appearance", void 0), i([s({
|
|
902
902
|
reflect: !0,
|
|
903
903
|
converter: u("list")
|
|
904
|
-
})], x.prototype, "type", void 0), i([
|
|
904
|
+
})], x.prototype, "type", void 0), i([s({
|
|
905
905
|
reflect: !0,
|
|
906
906
|
converter: u("always")
|
|
907
|
-
})], x.prototype, "dividers", void 0), i([
|
|
907
|
+
})], x.prototype, "dividers", void 0), i([s({
|
|
908
908
|
reflect: !0,
|
|
909
909
|
converter: u("")
|
|
910
|
-
})], x.prototype, "height", void 0), i([
|
|
910
|
+
})], x.prototype, "height", void 0), i([s({
|
|
911
911
|
type: String,
|
|
912
912
|
attribute: "accessible-label"
|
|
913
|
-
})], x.prototype, "accessibleLabel", void 0), i([
|
|
913
|
+
})], x.prototype, "accessibleLabel", void 0), i([s({ type: Object })], x.prototype, "translations", void 0), i([s({
|
|
914
914
|
type: Boolean,
|
|
915
915
|
reflect: !0
|
|
916
|
-
})], x.prototype, "reorderable", void 0), i([
|
|
916
|
+
})], x.prototype, "reorderable", void 0), i([o(), o()], x.prototype, "_hasToolbar", void 0), i([o()], x.prototype, "_hasSearchBarEnd", void 0), i([o()], x.prototype, "_hasEmptyState", void 0), i([o()], x.prototype, "_hasNoResultsState", void 0), i([o()], x.prototype, "_hasItems", void 0), i([o()], x.prototype, "_isEmpty", void 0), i([o()], x.prototype, "_searchValue", void 0), i([o()], x.prototype, "_activeId", void 0), i([o()], x.prototype, "_searchFocused", void 0), i([l(".list__search-field-input")], x.prototype, "_searchInput", void 0), x = y = i([c("nldd-list")], x);
|
|
917
917
|
export { _ as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i, n as a,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-DGlHv_OV.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 "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as u } from "./shadow-resets-
|
|
7
|
-
import { t as d } from "./with-translations-
|
|
6
|
+
import { t as u } from "./shadow-resets-CodxnaUh.js";
|
|
7
|
+
import { t as d } from "./with-translations-8SmMZkGa.js";
|
|
8
8
|
import { t as f } from "./menu-bar.i18n-BoMu4Eoz.js";
|
|
9
|
-
import "./menu-bar-item-
|
|
10
|
-
import "./menu-
|
|
9
|
+
import "./menu-bar-item-768OWJdt.js";
|
|
10
|
+
import "./menu-rE6tDSAy.js";
|
|
11
11
|
import { t as p } from "./carried-context-DlMSujiJ.js";
|
|
12
12
|
import { r as m } from "./element-state-B-44fVqq.js";
|
|
13
13
|
import { t as h } from "./list-items-Du0RCWsY.js";
|
|
@@ -239,15 +239,15 @@ var v = class extends d(e, f) {
|
|
|
239
239
|
return _(this);
|
|
240
240
|
}
|
|
241
241
|
}, y = (v.styles = g, v);
|
|
242
|
-
r([
|
|
242
|
+
r([o({
|
|
243
243
|
reflect: !0,
|
|
244
244
|
attribute: "overflow-text",
|
|
245
245
|
converter: l("")
|
|
246
|
-
})], y.prototype, "overflowText", void 0), r([
|
|
246
|
+
})], y.prototype, "overflowText", void 0), r([o({
|
|
247
247
|
type: String,
|
|
248
248
|
attribute: "accessible-label"
|
|
249
|
-
})], y.prototype, "accessibleLabel", void 0), r([
|
|
249
|
+
})], y.prototype, "accessibleLabel", void 0), r([o({
|
|
250
250
|
type: Boolean,
|
|
251
251
|
reflect: !0
|
|
252
|
-
})], y.prototype, "compact", void 0), r([c("slot:not([name])")], y.prototype, "_defaultSlot", void 0), r([c(".menu-bar__overflow-button")], y.prototype, "_overflowButton", void 0), r([
|
|
252
|
+
})], y.prototype, "compact", void 0), r([c("slot:not([name])")], y.prototype, "_defaultSlot", void 0), r([c(".menu-bar__overflow-button")], y.prototype, "_overflowButton", void 0), r([a()], y.prototype, "_menuOpen", void 0), y = r([s("nldd-menu-bar")], y);
|
|
253
253
|
export { y as NLDDMenuBar };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i, n as a,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-DGlHv_OV.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-
|
|
5
|
+
import { t as l } from "./shadow-resets-CodxnaUh.js";
|
|
6
6
|
import { t as u } from "./sanitize-url-CBuGmY0W.js";
|
|
7
|
-
import "./tooltip-
|
|
8
|
-
import "./icon-
|
|
9
|
-
import "./menu-
|
|
7
|
+
import "./tooltip-BF4HkWOi.js";
|
|
8
|
+
import "./icon-BydOAoVO.js";
|
|
9
|
+
import "./menu-rE6tDSAy.js";
|
|
10
10
|
import { t as d } from "./defer-focus-F73ud2D9.js";
|
|
11
11
|
// src/components/navigation/menu-bar-item/menu-bar-item.styles.ts
|
|
12
12
|
var f = i`
|
|
@@ -326,41 +326,41 @@ var m = class extends e {
|
|
|
326
326
|
return p(this);
|
|
327
327
|
}
|
|
328
328
|
}, h = (m.styles = f, m);
|
|
329
|
-
r([
|
|
329
|
+
r([o({
|
|
330
330
|
reflect: !0,
|
|
331
331
|
converter: c("")
|
|
332
|
-
})], h.prototype, "text", void 0), r([
|
|
332
|
+
})], h.prototype, "text", void 0), r([o({
|
|
333
333
|
type: Boolean,
|
|
334
334
|
reflect: !0
|
|
335
|
-
})], h.prototype, "current", void 0), r([
|
|
335
|
+
})], h.prototype, "current", void 0), r([o({
|
|
336
336
|
reflect: !0,
|
|
337
337
|
attribute: "current-type",
|
|
338
338
|
converter: c("page")
|
|
339
|
-
})], h.prototype, "currentType", void 0), r([
|
|
339
|
+
})], h.prototype, "currentType", void 0), r([o({ type: String })], h.prototype, "href", void 0), r([o({
|
|
340
340
|
reflect: !0,
|
|
341
341
|
converter: c("")
|
|
342
|
-
})], h.prototype, "icon", void 0), r([
|
|
342
|
+
})], h.prototype, "icon", void 0), r([o({
|
|
343
343
|
type: Boolean,
|
|
344
344
|
reflect: !0
|
|
345
|
-
})], h.prototype, "expandable", void 0), r([
|
|
345
|
+
})], h.prototype, "expandable", void 0), r([o({
|
|
346
346
|
type: Boolean,
|
|
347
347
|
attribute: "icon-only",
|
|
348
348
|
reflect: !0
|
|
349
|
-
})], h.prototype, "iconOnly", void 0), r([
|
|
349
|
+
})], h.prototype, "iconOnly", void 0), r([o({
|
|
350
350
|
reflect: !0,
|
|
351
351
|
attribute: "content-priority",
|
|
352
352
|
converter: c("")
|
|
353
|
-
})], h.prototype, "contentPriority", void 0), r([
|
|
353
|
+
})], h.prototype, "contentPriority", void 0), r([o({
|
|
354
354
|
type: Boolean,
|
|
355
355
|
reflect: !0
|
|
356
|
-
})], h.prototype, "compact", void 0), r([
|
|
356
|
+
})], h.prototype, "compact", void 0), r([o({
|
|
357
357
|
type: Boolean,
|
|
358
358
|
reflect: !0
|
|
359
|
-
})], h.prototype, "disabled", void 0), r([
|
|
359
|
+
})], h.prototype, "disabled", void 0), r([o({
|
|
360
360
|
type: String,
|
|
361
361
|
attribute: "accessible-label"
|
|
362
|
-
})], h.prototype, "accessibleLabel", void 0), r([
|
|
362
|
+
})], h.prototype, "accessibleLabel", void 0), r([o({ type: String })], h.prototype, "haspopup", void 0), r([o({
|
|
363
363
|
type: Boolean,
|
|
364
364
|
reflect: !0
|
|
365
|
-
})], h.prototype, "expanded", void 0), r([
|
|
365
|
+
})], h.prototype, "expanded", void 0), r([o({ attribute: !1 })], h.prototype, "popoverTargetElement", void 0), r([o({ attribute: !1 })], h.prototype, "popoverTargetAction", void 0), r([a()], h.prototype, "_hasSlottedIcon", void 0), h = r([s("nldd-menu-bar-item")], h);
|
|
366
366
|
export { h as NLDDMenuBarItem };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, t as n } from "./decorate-
|
|
3
|
-
import {
|
|
4
|
-
import { a as i, t as a } from "./menu.template-
|
|
2
|
+
import { n as t, t as n } from "./decorate-Czy-wI4F.js";
|
|
3
|
+
import { n as r } from "./custom-element-DGlHv_OV.js";
|
|
4
|
+
import { a as i, t as a } from "./menu.template-Eb7J7UrL.js";
|
|
5
5
|
// src/components/actions/menu/menu-divider.ts
|
|
6
6
|
var o = /* @__PURE__ */ e({ NLDDMenuDivider: () => c }), s, c = class extends t {
|
|
7
7
|
constructor(...e) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, t as n } from "./decorate-
|
|
3
|
-
import { n as r,
|
|
2
|
+
import { n as t, t as n } from "./decorate-Czy-wI4F.js";
|
|
3
|
+
import { n as r, r as i } from "./custom-element-DGlHv_OV.js";
|
|
4
4
|
import { t as a } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { n as o, o as s } from "./menu.template-
|
|
6
|
-
import { r as c } from "./menu-item-
|
|
5
|
+
import { n as o, o as s } from "./menu.template-Eb7J7UrL.js";
|
|
6
|
+
import { r as c } from "./menu-item-Ba581zRi.js";
|
|
7
7
|
// src/components/actions/menu/menu-group.ts
|
|
8
8
|
var l = /* @__PURE__ */ e({ NLDDMenuGroup: () => d }), u, d = class e extends t {
|
|
9
9
|
constructor(...t) {
|
|
@@ -16,8 +16,8 @@ var l = /* @__PURE__ */ e({ NLDDMenuGroup: () => d }), u, d = class e extends t
|
|
|
16
16
|
return o(this);
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
|
-
u = d, u.styles = s, u._idCounter = 0, n([
|
|
19
|
+
u = d, u.styles = s, u._idCounter = 0, n([i({
|
|
20
20
|
reflect: !0,
|
|
21
21
|
converter: a("")
|
|
22
|
-
})], d.prototype, "text", void 0), n([
|
|
22
|
+
})], d.prototype, "text", void 0), n([r()], d.prototype, "menuVariant", void 0), customElements.get("nldd-menu-group") || customElements.define("nldd-menu-group", d);
|
|
23
23
|
export { l as n, d as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, t as n } from "./decorate-
|
|
3
|
-
import { n as r,
|
|
2
|
+
import { n as t, t as n } from "./decorate-Czy-wI4F.js";
|
|
3
|
+
import { n as r, r as i } from "./custom-element-DGlHv_OV.js";
|
|
4
4
|
import { t as a } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { r as o, s } from "./menu.template-
|
|
5
|
+
import { r as o, s } from "./menu.template-Eb7J7UrL.js";
|
|
6
6
|
import { t as c } from "./owner-form-Cq8tT7ac.js";
|
|
7
7
|
import { r as l } from "./element-state-B-44fVqq.js";
|
|
8
8
|
import { t as u } from "./defer-focus-F73ud2D9.js";
|
|
9
|
-
import { t as d } from "./with-translations-
|
|
9
|
+
import { t as d } from "./with-translations-8SmMZkGa.js";
|
|
10
10
|
import { t as f } from "./menu-item.i18n-CKUJBOeE.js";
|
|
11
11
|
// src/components/actions/menu/menu-item.ts
|
|
12
12
|
var p = /* @__PURE__ */ e({
|
|
@@ -70,10 +70,10 @@ var g = class e extends d(t, f) {
|
|
|
70
70
|
bubbles: !0,
|
|
71
71
|
composed: !1
|
|
72
72
|
}));
|
|
73
|
-
} else this.dispatchEvent(new CustomEvent("select", {
|
|
73
|
+
} else this.closest("nldd-menu")?.querySelector("nldd-menu-item[confirming]") || (this.dispatchEvent(new CustomEvent("select", {
|
|
74
74
|
bubbles: !0,
|
|
75
75
|
composed: !0
|
|
76
|
-
})), this.
|
|
76
|
+
})), this.type === "submit" && c(this)?.requestSubmit());
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
select() {
|
|
@@ -83,60 +83,60 @@ var g = class e extends d(t, f) {
|
|
|
83
83
|
return o.call(this, this.menuVariant);
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
|
-
m = g, m.styles = s, m._idCounter = 0, n([
|
|
86
|
+
m = g, m.styles = s, m._idCounter = 0, n([i({
|
|
87
87
|
type: Boolean,
|
|
88
88
|
reflect: !0
|
|
89
|
-
})], g.prototype, "destructive", void 0), n([
|
|
89
|
+
})], g.prototype, "destructive", void 0), n([i({
|
|
90
90
|
reflect: !0,
|
|
91
91
|
converter: a("")
|
|
92
|
-
})], g.prototype, "text", void 0), n([
|
|
92
|
+
})], g.prototype, "text", void 0), n([i({
|
|
93
93
|
reflect: !0,
|
|
94
94
|
converter: a("")
|
|
95
|
-
})], g.prototype, "details", void 0), n([
|
|
95
|
+
})], g.prototype, "details", void 0), n([i({
|
|
96
96
|
reflect: !0,
|
|
97
97
|
converter: a("")
|
|
98
|
-
})], g.prototype, "icon", void 0), n([
|
|
98
|
+
})], g.prototype, "icon", void 0), n([i({
|
|
99
99
|
reflect: !0,
|
|
100
100
|
converter: a("")
|
|
101
|
-
})], g.prototype, "shortcut", void 0), n([
|
|
101
|
+
})], g.prototype, "shortcut", void 0), n([i({
|
|
102
102
|
reflect: !0,
|
|
103
103
|
attribute: "shortcut-mac",
|
|
104
104
|
converter: a("")
|
|
105
|
-
})], g.prototype, "shortcutMac", void 0), n([
|
|
105
|
+
})], g.prototype, "shortcutMac", void 0), n([i({
|
|
106
106
|
reflect: !0,
|
|
107
107
|
attribute: "shortcut-windows",
|
|
108
108
|
converter: a("")
|
|
109
|
-
})], g.prototype, "shortcutWindows", void 0), n([
|
|
109
|
+
})], g.prototype, "shortcutWindows", void 0), n([i({
|
|
110
110
|
reflect: !0,
|
|
111
111
|
attribute: "shortcut-linux",
|
|
112
112
|
converter: a("")
|
|
113
|
-
})], g.prototype, "shortcutLinux", void 0), n([
|
|
113
|
+
})], g.prototype, "shortcutLinux", void 0), n([i({
|
|
114
114
|
reflect: !0,
|
|
115
115
|
converter: a("")
|
|
116
|
-
})], g.prototype, "href", void 0), n([
|
|
116
|
+
})], g.prototype, "href", void 0), n([i({ reflect: !0 })], g.prototype, "target", void 0), n([i({ reflect: !0 })], g.prototype, "rel", void 0), n([i({
|
|
117
117
|
reflect: !0,
|
|
118
118
|
converter: a("button")
|
|
119
|
-
})], g.prototype, "type", void 0), n([
|
|
119
|
+
})], g.prototype, "type", void 0), n([i({
|
|
120
120
|
reflect: !0,
|
|
121
121
|
converter: a("")
|
|
122
|
-
})], g.prototype, "form", void 0), n([
|
|
122
|
+
})], g.prototype, "form", void 0), n([i({
|
|
123
123
|
type: Boolean,
|
|
124
124
|
reflect: !0
|
|
125
|
-
})], g.prototype, "selected", void 0), n([
|
|
125
|
+
})], g.prototype, "selected", void 0), n([i({
|
|
126
126
|
type: Boolean,
|
|
127
127
|
reflect: !0
|
|
128
|
-
})], g.prototype, "disabled", void 0), n([
|
|
128
|
+
})], g.prototype, "disabled", void 0), n([i({
|
|
129
129
|
reflect: !0,
|
|
130
130
|
converter: a("")
|
|
131
|
-
})], g.prototype, "value", void 0), n([
|
|
131
|
+
})], g.prototype, "value", void 0), n([i({
|
|
132
132
|
reflect: !0,
|
|
133
133
|
converter: a("")
|
|
134
|
-
})], g.prototype, "aliases", void 0), n([
|
|
134
|
+
})], g.prototype, "aliases", void 0), n([i({
|
|
135
135
|
reflect: !0,
|
|
136
136
|
converter: a("")
|
|
137
|
-
})], g.prototype, "query", void 0), n([
|
|
137
|
+
})], g.prototype, "query", void 0), n([i({
|
|
138
138
|
reflect: !0,
|
|
139
139
|
attribute: "query-mark-mode",
|
|
140
140
|
converter: a("predictive")
|
|
141
|
-
})], g.prototype, "queryMarkMode", void 0), n([
|
|
141
|
+
})], g.prototype, "queryMarkMode", void 0), n([r()], g.prototype, "menuVariant", void 0), n([r()], g.prototype, "checkColumn", void 0), n([r()], g.prototype, "_submenuOpen", void 0), n([r()], g.prototype, "_hasIconSlot", void 0), customElements.get("nldd-menu-item") || customElements.define("nldd-menu-item", g);
|
|
142
142
|
export { p as n, h as r, g as t };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, t as n } from "./decorate-
|
|
3
|
-
import { n as r,
|
|
2
|
+
import { n as t, t as n } from "./decorate-Czy-wI4F.js";
|
|
3
|
+
import { n as r, r as i } from "./custom-element-DGlHv_OV.js";
|
|
4
4
|
import { a, i as o, n as s, o as c, r as l, t as u } from "./floating-ui.dom-B8J1rV2c.js";
|
|
5
5
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { c as f, i as p } from "./menu.template-
|
|
6
|
+
import { c as f, i as p } from "./menu.template-Eb7J7UrL.js";
|
|
7
7
|
import { t as m } from "./menu.i18n-C6uYJsG3.js";
|
|
8
|
-
import "./icon-cell-
|
|
9
|
-
import "./spacer-cell-
|
|
10
|
-
import "./text-cell-
|
|
11
|
-
import "./icon-
|
|
12
|
-
import "./keyboard-shortcut-
|
|
13
|
-
import "./inline-dialog-
|
|
8
|
+
import "./icon-cell-jiYNsV84.js";
|
|
9
|
+
import "./spacer-cell-BES4eJH1.js";
|
|
10
|
+
import "./text-cell-DQNzo2Rp.js";
|
|
11
|
+
import "./icon-BydOAoVO.js";
|
|
12
|
+
import "./keyboard-shortcut-D9TYAQu1.js";
|
|
13
|
+
import "./inline-dialog-CTjJ8Tl_.js";
|
|
14
14
|
import { r as h, t as g } from "./input-modality-XE0B7yCn.js";
|
|
15
15
|
import { t as _ } from "./return-focus-BzZWhXhc.js";
|
|
16
16
|
import { n as v } from "./breakpoints-Cwor8TRP.js";
|
|
17
|
-
import { t as y } from "./translations-
|
|
17
|
+
import { t as y } from "./translations-BWgmZCAK.js";
|
|
18
18
|
import { r as b, t as x } from "./carried-context-DlMSujiJ.js";
|
|
19
19
|
import { r as S } from "./element-state-B-44fVqq.js";
|
|
20
|
-
import { t as C } from "./menu-item-
|
|
21
|
-
import { t as w } from "./menu-group-
|
|
22
|
-
import { t as T } from "./menu-divider-
|
|
20
|
+
import { t as C } from "./menu-item-Ba581zRi.js";
|
|
21
|
+
import { t as w } from "./menu-group-B5MAz_Yk.js";
|
|
22
|
+
import { t as T } from "./menu-divider-BHAGnkBl.js";
|
|
23
23
|
function E(e, t) {
|
|
24
24
|
let n = document;
|
|
25
25
|
for (let r = 0; r < 20; r++) {
|
|
@@ -313,7 +313,26 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
313
313
|
this._clearHighlight();
|
|
314
314
|
}, this._pointer = new O(this), this._openWindowWidth = 0, this._handleWindowResize = () => {
|
|
315
315
|
window.innerWidth !== this._openWindowWidth && this._collapseChain();
|
|
316
|
-
}, this.
|
|
316
|
+
}, this._handleSelect = (e) => {
|
|
317
|
+
let t = e.target, n = this._pressedByTouch;
|
|
318
|
+
if (this._pressedByTouch = !1, this._blinkTimer || t.hasAttribute("confirming")) return;
|
|
319
|
+
let r = t.localName === "nldd-menu-item" ? t.shadowRoot?.querySelector(".menu__item") : null;
|
|
320
|
+
if (!r || !this._isOpen || this.variant === "listbox" || matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
|
321
|
+
this._collapseChain();
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
this._setHighlight(t), t.setAttribute("confirming", n ? "touch" : "");
|
|
325
|
+
let i = !1, a = () => {
|
|
326
|
+
i || (i = !0, clearTimeout(this._blinkTimer), this._blinkTimer = 0, this._finishBlink = null, r.removeEventListener("animationend", a), t.removeAttribute("confirming"), this.isConnected && this._collapseChain());
|
|
327
|
+
};
|
|
328
|
+
r.addEventListener("animationend", a);
|
|
329
|
+
let o = (parseFloat(getComputedStyle(r).animationDuration) || 0) * 1e3;
|
|
330
|
+
this._blinkTimer = window.setTimeout(a, o + 250), this._finishBlink = a;
|
|
331
|
+
}, this._blinkTimer = 0, this._pressedByTouch = !1, this._notePress = (e) => {
|
|
332
|
+
this._pressedByTouch = e.type === "pointerdown" && e.pointerType === "touch";
|
|
333
|
+
}, this._forgetPress = () => {
|
|
334
|
+
this._pressedByTouch = !1;
|
|
335
|
+
}, this._finishBlink = null, this._collapseChain = () => {
|
|
317
336
|
let e = this._chainRoot ?? this, t = e._openChain;
|
|
318
337
|
e._openChain = [];
|
|
319
338
|
for (let e = t.length - 1; e >= 0; e--) t[e].collapse();
|
|
@@ -400,7 +419,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
400
419
|
e.newState === "open" && (this.removeAttribute("positioned"), this.variant !== "listbox" && !this._isSubmenu && this._focusReturn.remember(this._getAnchorEl()));
|
|
401
420
|
}, this._handleToggle = async (e) => {
|
|
402
421
|
let t = e;
|
|
403
|
-
if (this._isOpen = t.newState === "open", this._syncAnchorPopupState(this._isOpen), t.newState !== "open") {
|
|
422
|
+
if (this._isOpen = t.newState === "open", this._isOpen || this._forgetPress(), this._syncAnchorPopupState(this._isOpen), t.newState !== "open") {
|
|
404
423
|
this.anchorOffset = 0, this._cleanupAutoUpdate?.(), this._cleanupAutoUpdate = null, window.removeEventListener("resize", this._handleWindowResize), document.removeEventListener("pointerdown", this._handleDocumentPointerdown, !0), this._pointer.stopOutsideTap(), this._clearHighlight(), this._focusReturn.restore(this);
|
|
405
424
|
return;
|
|
406
425
|
}
|
|
@@ -530,7 +549,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
530
549
|
return this._isOpen;
|
|
531
550
|
}
|
|
532
551
|
connectedCallback() {
|
|
533
|
-
super.connectedCallback(), this.id || (this.id = `nldd-menu-${e._menuIdCounter++}`), this.hasAttribute("popover") || this.setAttribute("popover", ""), this.addEventListener("beforetoggle", this._handleBeforeToggle), this.addEventListener("toggle", this._handleToggle), this.addEventListener("keydown", this._handleKeydown), this.addEventListener("focusout", this._handleFocusOut), this.addEventListener("mouseenter", this._handleMenuItemMouseenter, !0), this.addEventListener("mouseover", this._handleMouseover), this.addEventListener("mousemove", this._handleHoverMove), this.addEventListener("mouseleave", this._handleMouseleave), this.addEventListener("menu-item-focused", this._handleMenuItemFocused), this.addEventListener("submenu-open", this._handleSubmenuOpen), this.addEventListener("select", this.
|
|
552
|
+
super.connectedCallback(), this.id || (this.id = `nldd-menu-${e._menuIdCounter++}`), this.hasAttribute("popover") || this.setAttribute("popover", ""), this.addEventListener("beforetoggle", this._handleBeforeToggle), this.addEventListener("toggle", this._handleToggle), this.addEventListener("keydown", this._handleKeydown), this.addEventListener("focusout", this._handleFocusOut), this.addEventListener("mouseenter", this._handleMenuItemMouseenter, !0), this.addEventListener("mouseover", this._handleMouseover), this.addEventListener("mousemove", this._handleHoverMove), this.addEventListener("mouseleave", this._handleMouseleave), this.addEventListener("menu-item-focused", this._handleMenuItemFocused), this.addEventListener("submenu-open", this._handleSubmenuOpen), this.addEventListener("select", this._handleSelect), this.addEventListener("pointerdown", this._notePress, !0), this.addEventListener("keydown", this._notePress, !0), this.addEventListener("pointercancel", this._forgetPress, !0), this.addEventListener("click", this._forgetPress), document.addEventListener("click", this._handleDocumentClick);
|
|
534
553
|
}
|
|
535
554
|
willUpdate() {
|
|
536
555
|
this.hasUpdated || this._updateEmptyState();
|
|
@@ -541,7 +560,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
541
560
|
}), Promise.resolve().then(() => this._syncAnchorPopupState(this._isOpen));
|
|
542
561
|
}
|
|
543
562
|
disconnectedCallback() {
|
|
544
|
-
super.disconnectedCallback(), clearTimeout(this._announceResultsTimer), this._announceResultsTimer = 0, this._activeSubmenu && this._activeSubmenu.hidePopover?.(), this.removeEventListener("beforetoggle", this._handleBeforeToggle), this.removeEventListener("toggle", this._handleToggle), this._previousAnchorForResync?.removeEventListener("pointerdown", this._resyncAnchorFromPopoverState, !0), this._previousAnchorForResync = null, this.removeEventListener("keydown", this._handleKeydown), this.removeEventListener("focusout", this._handleFocusOut), clearTimeout(this._tabbingTimer), this._tabbing = !1, this.removeEventListener("mouseenter", this._handleMenuItemMouseenter, !0), this.removeEventListener("mouseover", this._handleMouseover), this.removeEventListener("mousemove", this._handleHoverMove), this.removeEventListener("mouseleave", this._handleMouseleave), this.removeEventListener("menu-item-focused", this._handleMenuItemFocused), this.removeEventListener("submenu-open", this._handleSubmenuOpen), this.removeEventListener("select", this.
|
|
563
|
+
super.disconnectedCallback(), this._finishBlink?.(), this._finishBlink = null, clearTimeout(this._announceResultsTimer), this._announceResultsTimer = 0, this._activeSubmenu && this._activeSubmenu.hidePopover?.(), this.removeEventListener("beforetoggle", this._handleBeforeToggle), this.removeEventListener("toggle", this._handleToggle), this._previousAnchorForResync?.removeEventListener("pointerdown", this._resyncAnchorFromPopoverState, !0), this._previousAnchorForResync = null, this.removeEventListener("keydown", this._handleKeydown), this.removeEventListener("focusout", this._handleFocusOut), clearTimeout(this._tabbingTimer), this._tabbing = !1, this.removeEventListener("mouseenter", this._handleMenuItemMouseenter, !0), this.removeEventListener("mouseover", this._handleMouseover), this.removeEventListener("mousemove", this._handleHoverMove), this.removeEventListener("mouseleave", this._handleMouseleave), this.removeEventListener("menu-item-focused", this._handleMenuItemFocused), this.removeEventListener("submenu-open", this._handleSubmenuOpen), this.removeEventListener("select", this._handleSelect), this.removeEventListener("pointerdown", this._notePress, !0), this.removeEventListener("keydown", this._notePress, !0), this.removeEventListener("pointercancel", this._forgetPress, !0), this.removeEventListener("click", this._forgetPress), document.removeEventListener("click", this._handleDocumentClick), document.removeEventListener("pointerdown", this._handleDocumentPointerdown, !0), this._pointer.stopOutsideTap(), window.removeEventListener("resize", this._handleWindowResize), this._cancelHoverOpen(), this._safeTriangle.stop(), this._typeaheadTimer !== null && (clearTimeout(this._typeaheadTimer), this._typeaheadTimer = null), this._cleanupAutoUpdate?.(), this._cleanupAutoUpdate = null;
|
|
545
564
|
}
|
|
546
565
|
_getVisibleItems() {
|
|
547
566
|
return Array.from(this.querySelectorAll("nldd-menu-item:not([hidden]):not([disabled])")).filter((e) => e.closest("nldd-menu") === this);
|
|
@@ -550,10 +569,10 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
550
569
|
return e.findIndex((e) => e.hasAttribute("data-focused"));
|
|
551
570
|
}
|
|
552
571
|
_clearHighlight() {
|
|
553
|
-
Array.from(this.querySelectorAll("nldd-menu-item")).filter((e) => e.closest("nldd-menu") === this).forEach((e) => e.removeAttribute("highlighted"));
|
|
572
|
+
this._blinkTimer || Array.from(this.querySelectorAll("nldd-menu-item")).filter((e) => e.closest("nldd-menu") === this).forEach((e) => e.removeAttribute("highlighted"));
|
|
554
573
|
}
|
|
555
574
|
_setHighlight(e) {
|
|
556
|
-
this._clearHighlight(), (e ?? this._getVisibleItems()[0] ?? null)?.setAttribute("highlighted", "");
|
|
575
|
+
this._blinkTimer || (this._clearHighlight(), (e ?? this._getVisibleItems()[0] ?? null)?.setAttribute("highlighted", ""));
|
|
557
576
|
}
|
|
558
577
|
_updateEmptyState() {
|
|
559
578
|
let e = Array.from(this.querySelectorAll("nldd-menu-item:not([hidden])")).filter((e) => e.closest("nldd-menu") === this);
|
|
@@ -608,6 +627,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
608
627
|
});
|
|
609
628
|
}
|
|
610
629
|
focusItem(e) {
|
|
630
|
+
if (this._blinkTimer) return;
|
|
611
631
|
let t = this._getVisibleItems();
|
|
612
632
|
if (t.length === 0) return;
|
|
613
633
|
let n;
|
|
@@ -619,6 +639,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
619
639
|
t.forEach((e) => e.removeAttribute("highlighted")), t[n].setAttribute("highlighted", ""), t[n].focus();
|
|
620
640
|
}
|
|
621
641
|
moveHighlight(e) {
|
|
642
|
+
if (this._blinkTimer) return;
|
|
622
643
|
let t = this._getVisibleItems();
|
|
623
644
|
if (t.length === 0) return;
|
|
624
645
|
let n = t.findIndex((e) => e.hasAttribute("highlighted")), r;
|
|
@@ -692,29 +713,29 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
692
713
|
return p.call(this, this._isEmpty, this.variant);
|
|
693
714
|
}
|
|
694
715
|
};
|
|
695
|
-
B = q, B.styles = f, B._drillInModeQuery = null, B._menuIdCounter = 0, B._TYPEAHEAD_RESET_MS = 500, n([
|
|
716
|
+
B = q, B.styles = f, B._drillInModeQuery = null, B._menuIdCounter = 0, B._TYPEAHEAD_RESET_MS = 500, n([i({
|
|
696
717
|
reflect: !0,
|
|
697
718
|
converter: d("menu")
|
|
698
|
-
})], q.prototype, "variant", void 0), n([
|
|
719
|
+
})], q.prototype, "variant", void 0), n([i({ type: String })], q.prototype, "width", void 0), n([i({
|
|
699
720
|
reflect: !0,
|
|
700
721
|
converter: d("")
|
|
701
|
-
})], q.prototype, "anchor", void 0), n([
|
|
722
|
+
})], q.prototype, "anchor", void 0), n([i({ attribute: !1 })], q.prototype, "anchorElement", void 0), n([i({ attribute: "accessible-label" })], q.prototype, "accessibleLabel", void 0), n([i({
|
|
702
723
|
reflect: !0,
|
|
703
724
|
converter: d("bottom-start")
|
|
704
|
-
})], q.prototype, "placement", void 0), n([
|
|
725
|
+
})], q.prototype, "placement", void 0), n([i({ attribute: !1 })], q.prototype, "anchorOffset", void 0), n([i({
|
|
705
726
|
type: Number,
|
|
706
727
|
attribute: "max-items"
|
|
707
|
-
})], q.prototype, "maxItems", void 0), n([
|
|
728
|
+
})], q.prototype, "maxItems", void 0), n([i({
|
|
708
729
|
reflect: !0,
|
|
709
730
|
attribute: "empty-text",
|
|
710
731
|
converter: d("")
|
|
711
|
-
})], q.prototype, "emptyText", void 0), n([
|
|
732
|
+
})], q.prototype, "emptyText", void 0), n([i({
|
|
712
733
|
reflect: !0,
|
|
713
734
|
attribute: "empty-supporting-text",
|
|
714
735
|
converter: d("")
|
|
715
|
-
})], q.prototype, "emptySupportingText", void 0), n([
|
|
736
|
+
})], q.prototype, "emptySupportingText", void 0), n([i({ type: Object })], q.prototype, "translations", void 0), n([i({ attribute: !1 })], q.prototype, "filterFn", void 0), n([i({
|
|
716
737
|
type: Boolean,
|
|
717
738
|
reflect: !0,
|
|
718
739
|
attribute: "debug-safe-triangle"
|
|
719
|
-
})], q.prototype, "debugSafeTriangle", void 0), n([
|
|
740
|
+
})], q.prototype, "debugSafeTriangle", void 0), n([r()], q.prototype, "_isEmpty", void 0), n([r()], q.prototype, "_hasHeader", void 0), n([r()], q.prototype, "_hasFooter", void 0), n([r()], q.prototype, "_parentItem", void 0), customElements.get("nldd-menu") || customElements.define("nldd-menu", q);
|
|
720
741
|
export { z as t };
|