@nldd/design-system 0.25.0 → 0.25.2
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 +2496 -50
- package/dist/cdn/autoloader.js +141 -137
- package/dist/cdn/chunks/accordion-CE_VBJPo.js +90 -0
- package/dist/cdn/chunks/accordion-item-CkIrLwn9.js +242 -0
- package/dist/cdn/chunks/{activity-indicator-Dc6c9HtC.js → activity-indicator-DHgkMBdz.js} +5 -5
- package/dist/cdn/chunks/admonition-CK1c7HiM.js +379 -0
- package/dist/cdn/chunks/{avatar-CHXRpWWk.js → avatar-DwS0FqYL.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-B76E8oC6.js → avatar-group-BX1URuq1.js} +15 -15
- package/dist/cdn/chunks/{badge-tO7gHhdi.js → badge-Dyfzch0N.js} +5 -5
- package/dist/cdn/chunks/{banner-D4kFQYXF.js → banner-BPUb-ZpJ.js} +33 -32
- package/dist/cdn/chunks/{bar-split-view-C9bYdWSR.js → bar-split-view-BitGKRYw.js} +5 -5
- package/dist/cdn/chunks/{blockquote-DRJajjBB.js → blockquote-CAnK7XlI.js} +3 -3
- package/dist/cdn/chunks/{box-D10mS19t.js → box-epVc6r3W.js} +10 -10
- package/dist/cdn/chunks/{breadcrumbs-BUdQJG3z.js → breadcrumbs-CY5m5_72.js} +5 -5
- package/dist/cdn/chunks/{button-CwY9fWCg.js → button-1F4MG_21.js} +8 -8
- package/dist/cdn/chunks/{button-bar-DkqbRvff.js → button-bar-BcmQQqns.js} +3 -3
- package/dist/cdn/chunks/{button-group-p364JgTR.js → button-group-vez-t2RB.js} +2 -2
- package/dist/cdn/chunks/{card-B7TaSaw7.js → card-sHcZK0Sx.js} +8 -6
- package/dist/cdn/chunks/{cell-BTIpXf1T.js → cell-_FH10LVj.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BLEK0rAV.js → checkbox-B2EXnuni.js} +4 -4
- package/dist/cdn/chunks/checkbox-field-DYBeOCXv.js +244 -0
- package/dist/cdn/chunks/checkbox-group-zV_EgqJ1.js +103 -0
- package/dist/cdn/chunks/{class-map-5WYS_nCb.js → class-map-3v5_QWa6.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CanGMLIo.js → code-editor-DVHvHweL.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-DCZ3wjMd.js → code-viewer-CRc5yGTZ.js} +102 -87
- package/dist/cdn/chunks/{codemirror-input-CtvDBy25.js → codemirror-input-CgrWL_xI.js} +4 -4
- package/dist/cdn/chunks/{collection-D8K79X0H.js → collection-BobIdtqA.js} +8 -8
- package/dist/cdn/chunks/{combo-box-BeWoeEY8.js → combo-box-1h_xzaHk.js} +9 -8
- package/dist/cdn/chunks/{container-Be2J-GhB.js → container-RIa-Sff8.js} +2 -2
- package/dist/cdn/chunks/css-time-DmkAFd1y.js +8 -0
- package/dist/cdn/chunks/{custom-element-DGlHv_OV.js → custom-element-Dmqf9u_a.js} +1 -1
- package/dist/cdn/chunks/{date-field-BLaGVd4x.js → date-field-BN9TIiUH.js} +99 -87
- package/dist/cdn/chunks/{date-picker-C4mLZKWF.js → date-picker-BFvZvzwT.js} +10 -10
- package/dist/cdn/chunks/{decorate-Czy-wI4F.js → decorate-D_xx_M26.js} +1 -1
- package/dist/cdn/chunks/described-by-mixin-C3iCCTgg.js +62 -0
- package/dist/cdn/chunks/{description-cell-aQyLX0U0.js → description-cell-D9oU3cOo.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-qTR6tciJ.js → dev-checks-Dcd5eLU5.js} +57 -4
- package/dist/cdn/chunks/directive-helpers-B40ApSJp.js +24 -0
- package/dist/cdn/chunks/{dist-CZOXq9aZ.js → dist-0pu3OKnY.js} +1 -1
- package/dist/cdn/chunks/{dist-CX0g6sV1.js → dist-8y5HG5So.js} +3 -3
- package/dist/cdn/chunks/{dist-BNS6C8sP.js → dist-B5Qpgwkt.js} +2 -2
- package/dist/cdn/chunks/{dist-DHK9tNd7.js → dist-BJyPLZy3.js} +1 -1
- package/dist/cdn/chunks/{dist-BLnIbkqH.js → dist-BVrnRVfm.js} +1 -1
- package/dist/cdn/chunks/{dist-WQv_JUmB.js → dist-BZuHdnRq.js} +2 -2
- package/dist/cdn/chunks/{dist-fDpuYq7K.js → dist-BzfZCamJ.js} +1 -1
- package/dist/cdn/chunks/{dist-CdF0c6UD.js → dist-CPfUaZn6.js} +2 -2
- package/dist/cdn/chunks/{dist-_QFa91Kz.js → dist-Cxpg90R5.js} +1 -1
- package/dist/cdn/chunks/{dist-p1FcXq9E.js → dist-DRizG2xD.js} +3 -3
- package/dist/cdn/chunks/{dist-B_fXtXqM.js → dist-De4uSuY6.js} +1 -1
- package/dist/cdn/chunks/{divider-2hHcSIga.js → divider-DhmeevvA.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CIWiZUB5.js → document-tab-bar-BxgIq1Lc.js} +51 -50
- package/dist/cdn/chunks/{dropdown-Bwn6dQrK.js → dropdown-BTnHERYI.js} +5 -5
- package/dist/cdn/chunks/{file-field-CtQ6Fzkj.js → file-field-BoQCuthe.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-D6w4G6Qv.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DSL0qce-.js → form-actions-ifb8kolV.js} +2 -2
- package/dist/cdn/chunks/{form-field--t3Bz1pc.js → form-field-RhzuOcS5.js} +5 -5
- package/dist/cdn/chunks/{form-section-D1n8Sdmt.js → form-section-0df1Ao8U.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-w2pDVC5v.js → full-bleed-section-BhcgrH9L.js} +3 -3
- package/dist/cdn/chunks/{hero-BypUmnRi.js → hero-BpLUglsB.js} +4 -4
- package/dist/cdn/chunks/{icon-BydOAoVO.js → icon-C1HTyyIr.js} +2 -2
- package/dist/cdn/chunks/{icon-button-C_MZ-jXt.js → icon-button-BzCEK4gH.js} +17 -13
- package/dist/cdn/chunks/{icon-cell-jiYNsV84.js → icon-cell-fu4ggTII.js} +5 -5
- package/dist/cdn/chunks/{identity-D1Sw6OdG.js → identity-CM-fW-xb.js} +6 -6
- package/dist/cdn/chunks/{if-defined-pKQLIQvK.js → if-defined-CSVfrDre.js} +1 -1
- package/dist/cdn/chunks/{image-DEI0hogS.js → image-CjcWKYny.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-CTjJ8Tl_.js → inline-dialog-QHDEfqso.js} +6 -6
- package/dist/cdn/chunks/{just-in-time-education-pUUxdKPR.js → just-in-time-education-BuDwdo2R.js} +8 -8
- package/dist/cdn/chunks/{kanban-KSLBcCb4.js → kanban-BaRiCfTn.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-RNSdiBIT.js → kanban-column-BuYmxxwP.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-D9TYAQu1.js → keyboard-shortcut-DYMD3B5a.js} +3 -3
- package/dist/cdn/chunks/{languages-DGZO3jTf.js → languages-BFRgyhqj.js} +12 -12
- package/dist/cdn/chunks/{link-C4K1qVcb.js → link-Cb7bYQmD.js} +36 -28
- package/dist/cdn/chunks/{link-group-BEYO7nTK.js → link-group-CCxIltG-.js} +2 -2
- package/dist/cdn/chunks/{list-rMBdnf1f.js → list-B7VgeqfW.js} +8 -8
- package/dist/cdn/chunks/{list-item-CotWNKc1.js → list-item-Ccmi9h7_.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-C-yl2GAS.js → list-item-segment-C5APtc9o.js} +3 -3
- package/dist/cdn/chunks/{menu-rE6tDSAy.js → menu-B03m20cI.js} +52 -34
- package/dist/cdn/chunks/{menu-bar-D9IxDwC2.js → menu-bar-BTwITnAx.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-768OWJdt.js → menu-bar-item-By1lj2Ra.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-BHAGnkBl.js → menu-divider-Cj7PfUGr.js} +3 -3
- package/dist/cdn/chunks/{menu-group-B5MAz_Yk.js → menu-group-DyFNOAV9.js} +4 -4
- package/dist/cdn/chunks/{menu-item-Ba581zRi.js → menu-item-D-9U16AZ.js} +4 -4
- package/dist/cdn/chunks/{menu.template-Eb7J7UrL.js → menu.template-DmK-gq-8.js} +5 -5
- package/dist/cdn/chunks/{modal-dialog-Djln8pr7.js → modal-dialog-f_Ftzcrk.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-Omt0oidK.js → multi-line-text-field-CwTomQkh.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-DDng9DdF.js → navigation-split-view-CMy_B-Gr.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-DiXBAbmu.js} +6 -6
- package/dist/cdn/chunks/{number-field-xgr4dysX.js → number-field-CPCuSebL.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-CFhmSDDa.js → one-half-one-half-section-lsJ_QAgo.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-D0JV0GJ_.js → one-third-two-thirds-section-LS-XD6DL.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-CqgKQqdE.js → one-time-code-field-DT4VRbkL.js} +7 -6
- package/dist/cdn/chunks/{page-DXWHG-hD.js → page-BWCcVj4L.js} +4 -4
- package/dist/cdn/chunks/{page-footer-GexGY_m-.js → page-footer-QCQIeoP7.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-CtiPKCqL.js → page-section-mixin-BSRwTzVh.js} +3 -3
- package/dist/cdn/chunks/{pagination-DJkfE8t9.js → pagination-CfR0D1Z7.js} +6 -6
- package/dist/cdn/chunks/{password-field-gKiiE_5e.js → password-field-37i3lAaO.js} +8 -8
- package/dist/cdn/chunks/{popover-C-jxcCHx.js → popover-BpX7ZwI_.js} +8 -8
- package/dist/cdn/chunks/{progress-bar-CBWQRWkE.js → progress-bar-oT3i4-Ib.js} +7 -7
- package/dist/cdn/chunks/{progress-circle-CCcRDOOJ.js → progress-circle-CskWYN6V.js} +7 -7
- package/dist/cdn/chunks/{radio-button-field-B9lRNOXJ.js → radio-button-field-yXg-i59N.js} +6 -6
- package/dist/cdn/chunks/{radio-button-group-Cy7Ya28w.js → radio-button-group-Bp4nILvI.js} +12 -6
- package/dist/cdn/chunks/{radio-button-B8xwJO3_.js → radio-button-sFiWCWEp.js} +3 -3
- package/dist/cdn/chunks/{render-marked-DjXBoUGY.js → render-marked-B_e-wQFe.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-B6V85qYk.js → reorder-handle-cell-BFyWv6Xk.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DTmEmT-V.js → reorder-handle-mixin-CwNDaVUE.js} +2 -2
- package/dist/cdn/chunks/repeat-Dx2PqcyL.js +57 -0
- package/dist/cdn/chunks/{rich-text-CqQeOXwL.js → rich-text-CaVHkCB8.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-XRu3gHMf.js → row-header-mixin-BX0qSYSK.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-e6d1wo3D.js → scroll-fade-CXu7Eorw.js} +2 -2
- package/dist/cdn/chunks/{search-field-Cz7Ucf6x.js → search-field-DkbneceA.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-CLzKU4SX.js → segmented-control-Ctl4SnV1.js} +6 -6
- package/dist/cdn/chunks/{shadow-resets-CodxnaUh.js → shadow-resets-oeO4NF40.js} +2 -2
- package/dist/cdn/chunks/{sheet-DkmSsRV3.js → sheet-XGOn3SXX.js} +3 -3
- package/dist/cdn/chunks/{shell-Ex_f7Ov3.js → shell-B7-afKWD.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-C8aSEGRc.js → side-by-side-split-view-CZC844ER.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-CnD-3i7r.js → sidebar-section-_eTWxCEU.js} +7 -7
- package/dist/cdn/chunks/{simple-section-CeKnmobI.js → simple-section-CvBDK1kv.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DwtFm_NJ.js → skip-link-CHAlS7T_.js} +4 -4
- package/dist/cdn/chunks/{slider-BVdkwNW3.js → slider-CidyL0xj.js} +8 -8
- package/dist/cdn/chunks/{spacer-H4zmoDr_.js → spacer-DukX-lmv.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-BES4eJH1.js → spacer-cell-etr1xFgM.js} +4 -4
- package/dist/cdn/chunks/{split-button-Caa30uTx.js → split-button-DD0NWy1h.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-klvZ8lgP.js → split-view-divider-x1x3K9m0.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-Cnx56S5C.js → split-view-pane-BnCIygrY.js} +3 -3
- package/dist/cdn/chunks/{stacked-split-view-CYdGBY7Q.js → stacked-split-view-B70JJ94w.js} +4 -4
- package/dist/cdn/chunks/{static-html--Xd5vkAU.js → static-html-Bqazhm1K.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CJybViWL.js → status-bar-CNLiFQUC.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BO6Y1BrK.js → step-bar-BOvuQRux.js} +5 -5
- package/dist/cdn/chunks/{step-cell-BQ8EHZVR.js → step-cell-CM1Ju6Qz.js} +5 -5
- package/dist/cdn/chunks/{stepper-COTaJwSU.js → stepper-CKM-lSpD.js} +6 -6
- package/dist/cdn/chunks/{style-map-BwtZr74h.js → style-map-BK47EPzs.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-5fxe3QB1.js → swatch-picker-CFRNmV9x.js} +5 -5
- package/dist/cdn/chunks/{switch-BUxGg2ww.js → switch-BBy9Xo1E.js} +4 -4
- package/dist/cdn/chunks/{switch-field-DOsEK534.js → switch-field-zh-K7d2q.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-CZ9Z9qV9.js → tab-bar-C8qWE51t.js} +8 -8
- package/dist/cdn/chunks/{table-SAsB1kDN.js → table-av_EyIn7.js} +5 -5
- package/dist/cdn/chunks/{tag-xuCeECO3.js → tag-DFv9vv3i.js} +4 -4
- package/dist/cdn/chunks/{term-DHEvoltZ.js → term-DeQiGH6k.js} +53 -31
- package/dist/cdn/chunks/term.i18n-9qtxefIQ.js +6 -0
- package/dist/cdn/chunks/{text-cell-DQNzo2Rp.js → text-cell-BcT9b0bK.js} +8 -8
- package/dist/cdn/chunks/{text-editor-DCYF_nqz.js → text-editor-BwJE_vvo.js} +10 -10
- package/dist/cdn/chunks/{text-field-BiPeMi6s.js → text-field-B78KPNqa.js} +6 -7
- package/dist/cdn/chunks/{text-CiFzQPQw.js → text-mfKi65T1.js} +3 -3
- package/dist/cdn/chunks/{time-field-C-Euaiy0.js → time-field-O2OSrTyM.js} +13 -13
- package/dist/cdn/chunks/{time-picker-DYkxhEYm.js → time-picker-Ce5tW_jo.js} +50 -53
- package/dist/cdn/chunks/{title-DkS07R_v.js → title-Bdx3NCUA.js} +4 -4
- package/dist/cdn/chunks/{title-cell-CJevv6Vg.js → title-cell-BwHqLbue.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-DDqd56_3.js → toggle-button-CjjJRwpP.js} +57 -41
- package/dist/cdn/chunks/{toggle-button-group-ByxgMVzH.js → toggle-button-group-CuRM8-nF.js} +11 -5
- package/dist/cdn/chunks/{token-YpVKK1g4.js → token-AiSihnjQ.js} +5 -5
- package/dist/cdn/chunks/{token-field-vLdJSvUz.js → token-field-GETUgMlc.js} +10 -10
- package/dist/cdn/chunks/{toolbar-C-5H46y9.js → toolbar-Cwq028PV.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-CvPtoAoQ.js → toolbar-item-DR1Z8Hc3.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-HElUvLeY.js → toolbar-title-CDTF6HLo.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BuJIgj1E.js → toolbar.styles-JjSZv4fw.js} +3 -3
- package/dist/cdn/chunks/{tooltip-BF4HkWOi.js → tooltip-c-bLjIjT.js} +54 -46
- package/dist/cdn/chunks/{top-navigation-bar-ngF2MF40.js → top-navigation-bar-DzmvxwVc.js} +17 -17
- package/dist/cdn/chunks/{top-title-bar-BUjpi-w6.js → top-title-bar-Bk6dadA-.js} +6 -6
- package/dist/cdn/chunks/{translations-BWgmZCAK.js → translations-BDYe8_q9.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-Ci6O8SwP.js → two-thirds-one-third-section-Co5_3oOP.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BBNFz_2I.js → validation-list-MEykkKGr.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-BP5T5qYB.js → visibility-mixin-UdX7clEI.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BqYWVy4n.js → visually-hidden-BKnf0dXp.js} +2 -2
- package/dist/cdn/chunks/{window-CvgGg1Ib.js → window-DNoLmVa1.js} +4 -4
- package/dist/cdn/chunks/{with-translations-8SmMZkGa.js → with-translations-DlZHUMbZ.js} +3 -3
- package/dist/components/actions/button/button.d.ts +1 -1
- package/dist/components/actions/button/button.js +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +5 -1
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +10 -5
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +1 -1
- package/dist/components/actions/menu/menu-item.js +1 -1
- package/dist/components/actions/menu/menu.d.ts +18 -3
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +74 -6
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +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 +3 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +44 -2
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +129 -9
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +6 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js +18 -4
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +77 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.js +188 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts +2 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.js +28 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.js.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.d.ts +4 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.js +9 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.js.map +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.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/dropdown/dropdown.d.ts +4 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +4 -0
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +5 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +5 -0
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +19 -9
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +1 -2
- package/dist/components/inputs/text-field/text-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/inputs/toggle-button/toggle-button.d.ts +22 -2
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +53 -7
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +6 -2
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +6 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +20 -10
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/layout/box/box.styles.js +7 -7
- package/dist/components/layout/card/card.d.ts +2 -0
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +5 -2
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +2 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +13 -3
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +25 -9
- package/dist/components/navigation/link/link.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/dropdown.css +17 -0
- package/dist/css/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- 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 +4922 -4287
- 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 +178 -10
- package/dist/types/vue.d.ts +333 -37
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +4 -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/described-by-mixin.d.ts +6 -0
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +81 -2
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +58 -3
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/package.json +18 -1
- package/dist/cdn/chunks/checkbox-field-CDtlpN-u.js +0 -162
- package/dist/cdn/chunks/described-by-mixin-fLi4Nmt7.js +0 -35
- package/dist/cdn/chunks/repeat-Ck8L8Iy9.js +0 -76
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as e } from "./custom-element-
|
|
2
|
-
import "./decorate-
|
|
3
|
-
import { t } from "./shadow-resets-
|
|
1
|
+
import { a as e } from "./custom-element-Dmqf9u_a.js";
|
|
2
|
+
import "./decorate-D_xx_M26.js";
|
|
3
|
+
import { t } from "./shadow-resets-oeO4NF40.js";
|
|
4
4
|
// src/components/actions/toolbar/toolbar.styles.ts
|
|
5
5
|
var n = e`
|
|
6
6
|
:host {
|
|
@@ -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-D_xx_M26.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-Dmqf9u_a.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-oeO4NF40.js";
|
|
8
|
+
import { i as v, n as y, r as b } from "./keyboard-shortcut-DYMD3B5a.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-D_xx_M26.js";
|
|
2
|
+
import { a as i, o as a, r as o } from "./custom-element-Dmqf9u_a.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-oeO4NF40.js";
|
|
9
|
+
import { n as m } from "./icon-C1HTyyIr.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-DlZHUMbZ.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-By1lj2Ra.js";
|
|
14
|
+
import "./menu-bar-BTwITnAx.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-XGOn3SXX.js"),
|
|
723
|
+
import("./page-BWCcVj4L.js").then((e) => e.t),
|
|
724
|
+
import("./simple-section-CvBDK1kv.js"),
|
|
725
|
+
import("./top-title-bar-Bk6dadA-.js").then((e) => e.t),
|
|
726
|
+
import("./title-Bdx3NCUA.js"),
|
|
727
|
+
import("./list-B7VgeqfW.js").then((e) => e.t),
|
|
728
|
+
import("./list-item-Ccmi9h7_.js").then((e) => e.t),
|
|
729
|
+
import("./text-cell-BcT9b0bK.js").then((e) => e.t),
|
|
730
|
+
import("./icon-cell-fu4ggTII.js").then((e) => e.t),
|
|
731
|
+
import("./icon-C1HTyyIr.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-D_xx_M26.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-Dmqf9u_a.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-oeO4NF40.js";
|
|
7
|
+
import { n as d, r as f } from "./static-html-Bqazhm1K.js";
|
|
8
|
+
import "./button-1F4MG_21.js";
|
|
9
|
+
import "./icon-button-BzCEK4gH.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-Dcd5eLU5.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-D_xx_M26.js";
|
|
2
|
+
import { a as r, o as i, r as a } from "./custom-element-Dmqf9u_a.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-BSRwTzVh.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-D_xx_M26.js";
|
|
2
|
+
import { a as r, n as i, r as a } from "./custom-element-Dmqf9u_a.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-BDYe8_q9.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-Dmqf9u_a.js";
|
|
2
|
+
import { t as r } from "./decorate-D_xx_M26.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-D_xx_M26.js";
|
|
2
|
+
import { a as r } from "./custom-element-Dmqf9u_a.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-D_xx_M26.js";
|
|
2
|
+
import { a as r, r as i } from "./custom-element-Dmqf9u_a.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-oeO4NF40.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-BDYe8_q9.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-Dmqf9u_a.js";
|
|
2
|
+
import { t } from "./translations-BDYe8_q9.js";
|
|
3
|
+
import { t as n } from "./decorate-D_xx_M26.js";
|
|
4
4
|
// src/utilities/with-translations.ts
|
|
5
5
|
function r(r, i) {
|
|
6
6
|
class a extends r {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
* @slot end-icon - Slot for a custom end icon (e.g. custom SVG). Wins over `end-icon`.
|
|
40
40
|
* @slot popup - A single `nldd-menu` or `nldd-popover` this button invokes. Slotting it auto-anchors the overlay to the button and toggles it on click (no id/anchor wiring). The overlay syncs `expanded` and `aria-haspopup` back onto the button. Add `expandable` for the disclosure chevron. Mirrors nldd-split-button; the manual `anchor`/`popovertarget` wiring keeps working when you don't slot an overlay.
|
|
41
41
|
* @attr {string} interestfor - ID of an nldd-popover that describes this button and opens on interest, as the `interest` slot does, for a popover that stands elsewhere: one shared by several controls, or a button in a `<p>`, where markup of your own in the button would break the paragraph. Looked up in the tree of this button. A popover in the `interest` slot wins. Keep `accessible-label` on that popover: it names the popover where it stands, and is left out while it describes this button.
|
|
42
|
-
* @slot interest - A single `nldd-popover` that describes this button and opens on interest instead of on a click: when the pointer rests on the button, when it gets keyboard focus, and on a long press on touch. The button keeps its own click, such as a
|
|
42
|
+
* @slot interest - A single `nldd-popover` that describes this button and opens on interest instead of on a click: when the pointer rests on the button, when it gets keyboard focus, and on a long press on touch. The button keeps its own click, such as a share button that shows who already has access. A reaction you toggle is an nldd-toggle-button, which has this slot too. Focus stays on the button, the popover's content is read as the button's description, and Escape closes it. The pointer can move onto the popover without closing it. Information only: what hover opens cannot be reached with the keyboard, so put no link or button in it, and use the `popup` slot for content you act on. The popover needs no `accessible-label` here: its content is what is read.
|
|
43
43
|
*
|
|
44
44
|
* @fires click - When button is clicked (not fired when disabled)
|
|
45
45
|
*/
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
* @slot end-icon - Slot for a custom end icon (e.g. custom SVG). Wins over `end-icon`.
|
|
40
40
|
* @slot popup - A single `nldd-menu` or `nldd-popover` this button invokes. Slotting it auto-anchors the overlay to the button and toggles it on click (no id/anchor wiring). The overlay syncs `expanded` and `aria-haspopup` back onto the button. Add `expandable` for the disclosure chevron. Mirrors nldd-split-button; the manual `anchor`/`popovertarget` wiring keeps working when you don't slot an overlay.
|
|
41
41
|
* @attr {string} interestfor - ID of an nldd-popover that describes this button and opens on interest, as the `interest` slot does, for a popover that stands elsewhere: one shared by several controls, or a button in a `<p>`, where markup of your own in the button would break the paragraph. Looked up in the tree of this button. A popover in the `interest` slot wins. Keep `accessible-label` on that popover: it names the popover where it stands, and is left out while it describes this button.
|
|
42
|
-
* @slot interest - A single `nldd-popover` that describes this button and opens on interest instead of on a click: when the pointer rests on the button, when it gets keyboard focus, and on a long press on touch. The button keeps its own click, such as a
|
|
42
|
+
* @slot interest - A single `nldd-popover` that describes this button and opens on interest instead of on a click: when the pointer rests on the button, when it gets keyboard focus, and on a long press on touch. The button keeps its own click, such as a share button that shows who already has access. A reaction you toggle is an nldd-toggle-button, which has this slot too. Focus stays on the button, the popover's content is read as the button's description, and Escape closes it. The pointer can move onto the popover without closing it. Information only: what hover opens cannot be reached with the keyboard, so put no link or button in it, and use the `popup` slot for content you act on. The popover needs no `accessible-label` here: its content is what is read.
|
|
43
43
|
*
|
|
44
44
|
* @fires click - When button is clicked (not fired when disabled)
|
|
45
45
|
*/
|
|
@@ -64,7 +64,7 @@ declare const NLDDIconButton_base: (abstract new (...args: any[]) => LitElement
|
|
|
64
64
|
'components.icon-button.link-hint-download-lowercase-label': string;
|
|
65
65
|
}>;
|
|
66
66
|
_t(key: "components.icon-button.link-hint-new-tab-lowercase-label" | "components.icon-button.link-hint-external-lowercase-label" | "components.icon-button.link-hint-external-new-tab-lowercase-label" | "components.icon-button.link-hint-download-lowercase-label", vars?: Record<string, string | number>): string;
|
|
67
|
-
}) & typeof LitElement;
|
|
67
|
+
}) & typeof LitElement & (abstract new (...args: any[]) => import("../../../utilities/described-by-mixin.js").DescribedElement);
|
|
68
68
|
export declare class NLDDIconButton extends NLDDIconButton_base {
|
|
69
69
|
static styles: import("lit").CSSResult;
|
|
70
70
|
static formAssociated: boolean;
|
|
@@ -171,6 +171,10 @@ export declare class NLDDIconButton extends NLDDIconButton_base {
|
|
|
171
171
|
*/
|
|
172
172
|
focus(options?: FocusOptions): void;
|
|
173
173
|
_onIconSlotChange(): void;
|
|
174
|
+
/** The button or link it renders, not the host around it. */
|
|
175
|
+
describedTarget(): Element | null;
|
|
176
|
+
/** The popover in the `interest` slot describes the button. */
|
|
177
|
+
ownDescriptions(): readonly Element[];
|
|
174
178
|
render(): import("lit-html").TemplateResult<1>;
|
|
175
179
|
}
|
|
176
180
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.d.ts","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAQjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAG/E,OAAO,8BAA8B,CAAC;AACtC,OAAO,sEAAsE,CAAC;AAK9E,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAC7C,MAAM,MAAM,UAAU,GACnB,SAAS,GACT,WAAW,GACX,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,GACd,qBAAqB,GACrB,iBAAiB,GACjB,sBAAsB,GACtB,gBAAgB,GAChB,gBAAgB,CAAC;AACpB,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AACvD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;;;;;;;;;;AAExE,qBACa,cAAe,SAAQ,
|
|
1
|
+
{"version":3,"file":"icon-button.d.ts","sourceRoot":"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I;IAIzB,6DAA6D;IACpD,eAAe,IAAI,OAAO,GAAG,IAAI;IAI1C,+DAA+D;IACtD,eAAe,IAAI,SAAS,OAAO,EAAE;IAIrC,MAAM;CAGf;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,kBAAkB,EAAE,cAAc,CAAC;KACnC;CACD"}
|
|
@@ -63,14 +63,14 @@ import { withTranslations } from '../../../utilities/with-translations.js';
|
|
|
63
63
|
import { nlddIconButtonTranslations } from './icon-button.i18n.js';
|
|
64
64
|
import { PopupAnchorController } from '../../../utilities/popup-anchor-controller.js';
|
|
65
65
|
import { InterestController } from '../../../utilities/interest-controller.js';
|
|
66
|
-
import {
|
|
66
|
+
import { DescribedBy } from '../../../utilities/described-by-mixin.js';
|
|
67
67
|
import { ShortcutAvailabilityController } from '../../../utilities/shortcut.js';
|
|
68
68
|
import './../../content/icon/icon.js';
|
|
69
69
|
import './../../status-and-feedback/activity-indicator/activity-indicator.js';
|
|
70
70
|
import { internalsOf } from '../../../utilities/element-state.js';
|
|
71
71
|
import { deferFocus } from '../../../utilities/defer-focus.js';
|
|
72
72
|
import { anchorPopoverTarget, popoverTargetOf } from '../../../utilities/popover-target.js';
|
|
73
|
-
let NLDDIconButton = class NLDDIconButton extends withTranslations(LitElement, nlddIconButtonTranslations) {
|
|
73
|
+
let NLDDIconButton = class NLDDIconButton extends DescribedBy(withTranslations(LitElement, nlddIconButtonTranslations)) {
|
|
74
74
|
constructor() {
|
|
75
75
|
super(...arguments);
|
|
76
76
|
this._internals = internalsOf(this);
|
|
@@ -175,9 +175,6 @@ let NLDDIconButton = class NLDDIconButton extends withTranslations(LitElement, n
|
|
|
175
175
|
anchorPopoverTarget(this, popoverTargetOf(this, this.popovertarget, this.popoverTargetElement));
|
|
176
176
|
if (changedProperties.has('interestfor'))
|
|
177
177
|
this._interest.refresh();
|
|
178
|
-
// By element: the button sits in this shadow root, the popover outside it.
|
|
179
|
-
const overlay = this._interest.overlay;
|
|
180
|
-
applyDescribedBy(this.shadowRoot?.querySelector('.icon-button'), overlay ? [overlay] : [], true);
|
|
181
178
|
if (changedProperties.has('width')) {
|
|
182
179
|
const w = this.width;
|
|
183
180
|
// 'full' switches host to block + 100% via CSS attribute selector.
|
|
@@ -247,6 +244,14 @@ let NLDDIconButton = class NLDDIconButton extends withTranslations(LitElement, n
|
|
|
247
244
|
_onIconSlotChange() {
|
|
248
245
|
this.requestUpdate();
|
|
249
246
|
}
|
|
247
|
+
/** The button or link it renders, not the host around it. */
|
|
248
|
+
describedTarget() {
|
|
249
|
+
return this.shadowRoot?.querySelector('.icon-button') ?? null;
|
|
250
|
+
}
|
|
251
|
+
/** The popover in the `interest` slot describes the button. */
|
|
252
|
+
ownDescriptions() {
|
|
253
|
+
return this._interest.overlay ? [this._interest.overlay] : [];
|
|
254
|
+
}
|
|
250
255
|
render() {
|
|
251
256
|
return template.call(this);
|
|
252
257
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-button.js","sourceRoot":"","sources":["../../../../src/components/actions/icon-button/icon-button.ts"],"names":[],"mappings":";;;;;;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC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EAAE,MAAM,EAAE,CAAC;8CACY;AAKvC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;gDACc;AAOzC;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;2CACS;AAlJxB,cAAc;IAD1B,aAAa,CAAC,kBAAkB,CAAC;GACrB,cAAc,CAkQ1B"}
|
|
@@ -27,7 +27,7 @@ declare const NLDDMenuItem_base: (abstract new (...args: any[]) => LitElement &
|
|
|
27
27
|
* @attr {string} icon - Icon name rendered before the text. An icon in the `icon` slot takes its place.
|
|
28
28
|
* @attr {string} shortcut - Keyboard shortcut hint shown on the right, e.g. 'Cmd+E'. Display only (rendered via nldd-keyboard-shortcut) — it does not bind the key; wire up the handling in your app. Hidden on touch-only devices, where it isn't invokable.
|
|
29
29
|
* @attr {string} shortcut-mac / shortcut-windows / shortcut-linux - Per-OS overrides for `shortcut`, picked by detected OS (falls back to `shortcut`).
|
|
30
|
-
* @attr {string} href - Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Ignored for submenu openers, checkbox/radio items, and while disabled.
|
|
30
|
+
* @attr {string} href - Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Space chooses it like any other item, except in a `navigation` menu, where Space scrolls the page as on any link. Ignored for submenu openers, checkbox/radio items, and while disabled.
|
|
31
31
|
* @attr {string} target - Where an item with an `href` opens (e.g. '_blank'); adjusts rel automatically. With '_blank' the item adds a visually hidden "opent in nieuw tabblad" for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply.
|
|
32
32
|
* @attr {string} rel - Link rel of an item with an `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set.
|
|
33
33
|
* @attr {object} translations - Override translation keys (the new-tab and other-website announcements); unset keys fall back to Dutch.
|
|
@@ -35,7 +35,7 @@ export function syncListItemRole(host, variant) {
|
|
|
35
35
|
* @attr {string} icon - Icon name rendered before the text. An icon in the `icon` slot takes its place.
|
|
36
36
|
* @attr {string} shortcut - Keyboard shortcut hint shown on the right, e.g. 'Cmd+E'. Display only (rendered via nldd-keyboard-shortcut) — it does not bind the key; wire up the handling in your app. Hidden on touch-only devices, where it isn't invokable.
|
|
37
37
|
* @attr {string} shortcut-mac / shortcut-windows / shortcut-linux - Per-OS overrides for `shortcut`, picked by detected OS (falls back to `shortcut`).
|
|
38
|
-
* @attr {string} href - Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Ignored for submenu openers, checkbox/radio items, and while disabled.
|
|
38
|
+
* @attr {string} href - Optional link target. A plain button item with an href renders as an `<a>` so it is a real link (middle-click, open in new tab, copy link). Space chooses it like any other item, except in a `navigation` menu, where Space scrolls the page as on any link. Ignored for submenu openers, checkbox/radio items, and while disabled.
|
|
39
39
|
* @attr {string} target - Where an item with an `href` opens (e.g. '_blank'); adjusts rel automatically. With '_blank' the item adds a visually hidden "opent in nieuw tabblad" for screen readers (WCAG 2.1 SC 3.2.2). An `href` to another origin than the page adds a visually hidden "andere website", in one sentence with the new-tab announcement when both apply.
|
|
40
40
|
* @attr {string} rel - Link rel of an item with an `href`; with target '_blank', 'noopener noreferrer' is added to whatever you set.
|
|
41
41
|
* @attr {object} translations - Override translation keys (the new-tab and other-website announcements); unset keys fall back to Dutch.
|
|
@@ -26,9 +26,13 @@ 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 press on the
|
|
34
|
+
* menu's control during the blink or hold ends it and opens the menu again,
|
|
35
|
+
* since the menu was already on its way out. A menu that scrolls
|
|
32
36
|
* fades at the edge where more items wait.
|
|
33
37
|
*
|
|
34
38
|
* Note: Only type="button" items are supported when used inside nldd-combo-box-field.
|
|
@@ -389,7 +393,8 @@ export declare class NLDDMenu extends LitElement {
|
|
|
389
393
|
* closes after it, so you see what you picked. `select` has already gone
|
|
390
394
|
* out: the action does not wait for the blink. Every menu in the chain
|
|
391
395
|
* hears the event; the first one runs the blink and the rest leave it.
|
|
392
|
-
*
|
|
396
|
+
* In a menu that is not open, in a listbox, or after a click or key with
|
|
397
|
+
* reduced motion, it closes at once; a tap still holds.
|
|
393
398
|
*/
|
|
394
399
|
private _handleSelect;
|
|
395
400
|
private _blinkTimer;
|
|
@@ -402,6 +407,13 @@ export declare class NLDDMenu extends LitElement {
|
|
|
402
407
|
* A disabled item fires no click, so a tap on one lasts until then. */
|
|
403
408
|
private _forgetPress;
|
|
404
409
|
private _finishBlink;
|
|
410
|
+
/**
|
|
411
|
+
* A press on the anchor while a chosen item blinks: the menu is on its way
|
|
412
|
+
* out, so the press means "open it again". Finish the blink now, so the
|
|
413
|
+
* control sees a closed menu and its click opens it, instead of closing a
|
|
414
|
+
* menu that was about to close anyway.
|
|
415
|
+
*/
|
|
416
|
+
private _finishBlinkForAnchorPress;
|
|
405
417
|
/**
|
|
406
418
|
* Collapse the entire menu chain at once — root + every open submenu —
|
|
407
419
|
* with no "back one level" re-show. Used when the action is final:
|
|
@@ -516,6 +528,9 @@ export declare class NLDDMenu extends LitElement {
|
|
|
516
528
|
private _cssPx;
|
|
517
529
|
/** Recalculate position and size relative to the anchor element. */
|
|
518
530
|
reposition(): Promise<void>;
|
|
531
|
+
/** The link item Space went down on, chosen when Space comes up on it. */
|
|
532
|
+
private _spaceLink;
|
|
533
|
+
private _handleSpaceUp;
|
|
519
534
|
private _handleKeydown;
|
|
520
535
|
/**
|
|
521
536
|
* Tab past the last item, or Shift+Tab before the first, of a menu that
|