@nldd/design-system 0.23.0 → 0.24.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 +1076 -21
- 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/cdn/autoloader.js +137 -136
- package/dist/cdn/chunks/{activity-indicator-D86Mv6SL.js → activity-indicator-DWBG1Csi.js} +5 -5
- package/dist/cdn/chunks/{avatar-BISv6tzp.js → avatar-CRZLseMs.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-D7IN6DxU.js → avatar-group-coYbMhot.js} +15 -15
- package/dist/cdn/chunks/{badge-R3PZUsqZ.js → badge-DAXG-uIw.js} +5 -5
- package/dist/cdn/chunks/{banner-DRANlf5k.js → banner-BbR0rebp.js} +7 -7
- package/dist/cdn/chunks/{bar-split-view-B-Y2nqgS.js → bar-split-view-DoklVwuj.js} +5 -5
- package/dist/cdn/chunks/{blockquote-pUgJLPY1.js → blockquote-DfIl4wTC.js} +3 -3
- package/dist/cdn/chunks/{box-BbXHpBQy.js → box-CXICi_Gs.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-BdF4m3DB.js → breadcrumbs-CVoNqsU2.js} +5 -5
- package/dist/cdn/chunks/{button-CsqNHH3w.js → button-DWzqSerk.js} +61 -48
- package/dist/cdn/chunks/{button-bar-CnYIw4fN.js → button-bar-DwFLuumP.js} +3 -3
- package/dist/cdn/chunks/{button-group-xaHghyon.js → button-group-D-nEY7Wz.js} +2 -2
- package/dist/cdn/chunks/{card-Bbf0aCIh.js → card-CIVLEFhz.js} +4 -4
- package/dist/cdn/chunks/{cell-Dggt5oYG.js → cell-C79LmCOU.js} +6 -6
- package/dist/cdn/chunks/{checkbox-DmFAS8ec.js → checkbox-BQepKdVv.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-fOWPH8Q7.js → checkbox-field-ColaTYKE.js} +5 -5
- package/dist/cdn/chunks/{class-map-BWGTUNv4.js → class-map-9VgiG_zt.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CANFZX66.js → code-editor-FNmK9xRx.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-C_vUEx7J.js → code-viewer-C5whEGq6.js} +20 -12
- package/dist/cdn/chunks/{codemirror-input-wexTiqWw.js → codemirror-input-SKGbh9LP.js} +4 -4
- package/dist/cdn/chunks/{collection-_emTry5U.js → collection-Dq6Z66UX.js} +8 -8
- package/dist/cdn/chunks/{combo-box-CGwj1u4a.js → combo-box-CoOSPICd.js} +8 -8
- package/dist/cdn/chunks/{container-D5Dz-j6a.js → container-CtwuWO3a.js} +2 -2
- package/dist/cdn/chunks/{custom-element-DbwbPetH.js → custom-element-BVKCDhPV.js} +1 -1
- package/dist/cdn/chunks/{date-field-ChmyLtTj.js → date-field-CqnGM7GR.js} +14 -14
- 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-C2iGHw2u.js} +10 -10
- package/dist/cdn/chunks/{decorate-_JGq4E_7.js → decorate-CK3hc5C5.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DbnuGktP.js → described-by-mixin-DGAPpEdM.js} +6 -3
- package/dist/cdn/chunks/{description-cell-BgcO7ObI.js → description-cell-B08Ma5EJ.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-KAnKlxY0.js → dev-checks-BwWYGVrJ.js} +61 -16
- package/dist/cdn/chunks/{dist-CKZ98PMy.js → dist-B2YK3eT2.js} +3 -3
- package/dist/cdn/chunks/{dist-BHMubC6P.js → dist-B4vELUJW.js} +3 -3
- package/dist/cdn/chunks/{dist-Bz3Isx60.js → dist-B8vBP_Xz.js} +1 -1
- package/dist/cdn/chunks/{dist-BF9euKgj.js → dist-BThgPtD7.js} +2 -2
- package/dist/cdn/chunks/{dist-CBnQQ6kV.js → dist-CKeY28-M.js} +2 -2
- package/dist/cdn/chunks/{dist-BJrN5nEM.js → dist-CQ5kBaGZ.js} +1 -1
- package/dist/cdn/chunks/{dist-HgRt6IKh.js → dist-CWN_qz9z.js} +1 -1
- package/dist/cdn/chunks/{dist-CLKJ5z0x.js → dist-D1t9kkjo.js} +1 -1
- package/dist/cdn/chunks/{dist-DADIyiX-.js → dist-DP5DQSlX.js} +2 -2
- package/dist/cdn/chunks/{dist-CJLBwJx0.js → dist-DzcXDSFC.js} +1 -1
- package/dist/cdn/chunks/{dist-D7Wubc1l.js → dist-jAq440y0.js} +1 -1
- package/dist/cdn/chunks/{divider-pO5O6wL4.js → divider-KgHxRNV9.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-C_-iuaUc.js → document-tab-bar-CTIcETDr.js} +9 -9
- package/dist/cdn/chunks/{dropdown-DYO6049g.js → dropdown-BhrCadMW.js} +5 -5
- package/dist/cdn/chunks/{file-field-C-Fk92rD.js → file-field-DzH4Yrj5.js} +12 -12
- package/dist/cdn/chunks/{form-ChXBrKw6.js → form-CzmdlZ0i.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DrOX7nX8.js → form-actions-CDQW1p3w.js} +2 -2
- package/dist/cdn/chunks/{form-field-CR2Py09O.js → form-field-D_qJpPAS.js} +5 -5
- package/dist/cdn/chunks/{form-section-s1mkLzaC.js → form-section-Jy5b5Qtp.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-vOVI_f86.js → full-bleed-section-BDIuXLGU.js} +3 -3
- package/dist/cdn/chunks/{hero-Cb3qIvvh.js → hero-BPHFHrUT.js} +4 -4
- package/dist/cdn/chunks/{icon-DBhTZrnl.js → icon-BE2ojX0S.js} +2 -2
- package/dist/cdn/chunks/{icon-button-bDuQ_6W_.js → icon-button-CFMhdG1B.js} +56 -43
- package/dist/cdn/chunks/{icon-cell-DlSZNTF3.js → icon-cell-CQ-e1GB2.js} +5 -5
- package/dist/cdn/chunks/{identity-CJTVNI9J.js → identity-7wQDjeGb.js} +5 -5
- package/dist/cdn/chunks/{if-defined-28B8DYUB.js → if-defined-G1P3HUvi.js} +1 -1
- package/dist/cdn/chunks/{image-DlTxyeL3.js → image-QPbmNKvZ.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-BJlOrD6M.js → inline-dialog-DP3AXfJV.js} +6 -6
- 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-DnaF_sLc.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-DmnxctX6.js → kanban-column-B_Jrut9s.js} +4 -4
- package/dist/cdn/chunks/{kanban-DIXY8FcZ.js → kanban-o2GMLjsq.js} +5 -5
- package/dist/cdn/chunks/{keyboard-shortcut-kYOKwBqs.js → keyboard-shortcut-Dm366Dra.js} +3 -3
- package/dist/cdn/chunks/{languages-DGtcUhLc.js → languages-Dlh_tbAH.js} +12 -12
- package/dist/cdn/chunks/{link-DhnhhTOg.js → link-DhTY3Sjh.js} +35 -20
- package/dist/cdn/chunks/{link-group-Bx2nkQcS.js → link-group-YuwD1m6-.js} +2 -2
- package/dist/cdn/chunks/{list-CXCG_IEc.js → list-Cdvib5Y-.js} +8 -8
- package/dist/cdn/chunks/{list-item-segment-D6WvAh3A.js → list-item-segment-F3av0jxz.js} +3 -3
- package/dist/cdn/chunks/{list-item-CSNBaRlK.js → list-item-vO3GwQWa.js} +5 -5
- package/dist/cdn/chunks/{menu-bar-xahTEYTX.js → menu-bar-imOaTlGm.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-C950rfSt.js → menu-bar-item-ChQbM1ER.js} +6 -6
- package/dist/cdn/chunks/{menu-CKxKVA36.js → menu-dTVlz6mn.js} +35 -18
- package/dist/cdn/chunks/{menu-divider-XlYJ4zQz.js → menu-divider-D7s6f49y.js} +3 -3
- package/dist/cdn/chunks/{menu-group-E6hIEtLj.js → menu-group-BcEmoNvL.js} +4 -4
- package/dist/cdn/chunks/{menu-item-2y0VC5Gb.js → menu-item-BGlVTfe6.js} +6 -6
- package/dist/cdn/chunks/{menu.template-ZBhUFgBJ.js → menu.template-syBthjEV.js} +115 -76
- package/dist/cdn/chunks/{modal-dialog-DdFpcRLJ.js → modal-dialog-BBK25tjm.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-okvEa54Q.js → multi-line-text-field-DuL6nLG_.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-dNRQDSpy.js → navigation-split-view-CdZNbX91.js} +4 -4
- package/dist/cdn/chunks/nl.generated-CgRVSEh6.js +116 -0
- package/dist/cdn/chunks/{notification-2tnwXEY1.js → notification-Dwhfnjb2.js} +6 -6
- package/dist/cdn/chunks/{number-field-CH7EvpSq.js → number-field-Dl4zZvVe.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-UZDP-KO-.js → one-half-one-half-section-BJxLZfiK.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-8KtESdXO.js → one-third-two-thirds-section-CARh_hdH.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-Bvm3ND6e.js → one-time-code-field-FaxqiiD6.js} +6 -6
- package/dist/cdn/chunks/{page-PK1FWuKJ.js → page-Cc5bb6VU.js} +4 -4
- package/dist/cdn/chunks/{page-footer-BamWKHwH.js → page-footer-Df1cS-ks.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-3q59_Jo_.js → page-section-mixin-BzgAU2sX.js} +4 -10
- package/dist/cdn/chunks/{pagination-47zAyQhM.js → pagination-BcnkrWV_.js} +6 -6
- package/dist/cdn/chunks/{password-field-FaU02DSW.js → password-field-CeIJm406.js} +7 -7
- package/dist/cdn/chunks/{popover-642mOFR5.js → popover-BIMt3aqW.js} +74 -50
- package/dist/cdn/chunks/{progress-bar-BivaNkIY.js → progress-bar-C9CWhkse.js} +7 -7
- package/dist/cdn/chunks/{progress-circle-ewL0JIcz.js → progress-circle-CJL1aFbS.js} +7 -7
- package/dist/cdn/chunks/{radio-button-DvrYYSnm.js → radio-button-DKo5kdLW.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-BVi0YrTF.js → radio-button-field-DPZajMnT.js} +5 -5
- package/dist/cdn/chunks/{radio-button-group-DZ9OWUNe.js → radio-button-group-BBZhU3bn.js} +3 -3
- package/dist/cdn/chunks/{render-marked-CO31_4GS.js → render-marked-Bkoq5vNH.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Doetg58W.js → reorder-handle-cell-CEW8Cg1r.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DCjwUXr0.js → reorder-handle-mixin-BkksqjmK.js} +2 -2
- package/dist/cdn/chunks/{repeat-Wb4hkVZc.js → repeat-C5V9E9Ta.js} +1 -1
- package/dist/cdn/chunks/{rich-text-Do08iiIz.js → rich-text-DEFr_Niu.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CKR5rHBA.js → row-header-mixin-BSORP0i7.js} +2 -2
- package/dist/cdn/chunks/scroll-fade-B7kZVxmh.js +41 -0
- package/dist/cdn/chunks/{search-field-CCeeGiJM.js → search-field-Dr0MLD_z.js} +9 -9
- package/dist/cdn/chunks/{segmented-control-CWIPxEBq.js → segmented-control-aOIkoklF.js} +6 -6
- package/dist/cdn/chunks/{shadow-resets-NKr5gQCc.js → shadow-resets-CRBumQjX.js} +2 -2
- package/dist/cdn/chunks/{sheet-WOjBtZvN.js → sheet-BCPE_pDl.js} +3 -3
- package/dist/cdn/chunks/{shell-Brn0Dr8F.js → shell-ZCsqW56P.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DGIMsyma.js → side-by-side-split-view-BWIyZmzo.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-BXHeI8GN.js → sidebar-section-Di3mQROc.js} +7 -7
- package/dist/cdn/chunks/{simple-section-C8lJZLAO.js → simple-section-sOkNMsbz.js} +3 -3
- package/dist/cdn/chunks/{skip-link-QdRgHljr.js → skip-link-mcskOuFr.js} +13 -8
- package/dist/cdn/chunks/skip-link.i18n-B7pVqo5u.js +6 -0
- package/dist/cdn/chunks/{slider-BhjBeWqc.js → slider-CkPk4lBA.js} +8 -8
- package/dist/cdn/chunks/{spacer-BgkOjuUj.js → spacer-RB_KBaTr.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DBI0PVd7.js → spacer-cell-V1UaaPcO.js} +4 -4
- package/dist/cdn/chunks/{split-button-DfD9vxPe.js → split-button-BUEhYiI5.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-B4NFlri5.js → split-view-divider-Rmb9cG9K.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-CwFf13hX.js → split-view-pane-DQRZ9tE0.js} +3 -3
- package/dist/cdn/chunks/{stacked-split-view-BmbzTinq.js → stacked-split-view-BaeQhWmd.js} +4 -4
- package/dist/cdn/chunks/{static-html-CZrcQRgC.js → static-html-CAczcbUD.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CTOf_bDL.js → status-bar-D3-IYqUp.js} +4 -4
- package/dist/cdn/chunks/{step-bar-B5vzvhz-.js → step-bar-BfNXoHds.js} +5 -5
- package/dist/cdn/chunks/{step-cell-CUA-HUZv.js → step-cell-BN2ZKsQ4.js} +5 -5
- package/dist/cdn/chunks/{stepper-LxPTQ6HJ.js → stepper-DuPRMxBx.js} +6 -6
- package/dist/cdn/chunks/{style-map-DiIQAb_L.js → style-map-LFqo5rE_.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Cxv9HK3A.js → swatch-picker-BVKCFzpO.js} +5 -5
- package/dist/cdn/chunks/{switch-CbNSJQPp.js → switch-CgUZ0WlQ.js} +4 -4
- package/dist/cdn/chunks/{switch-field-B8vOvcKc.js → switch-field-B4c8-L61.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-D4ot_wZ4.js → tab-bar-D-1g8fdF.js} +8 -8
- package/dist/cdn/chunks/{table-uh4YPqda.js → table-jrJ4EJpq.js} +5 -5
- package/dist/cdn/chunks/{tag-D2dCXT7A.js → tag-JYwa5l-A.js} +10 -6
- package/dist/cdn/chunks/term-NyLmTWnF.js +214 -0
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +3 -0
- package/dist/cdn/chunks/{text-cell-DNCpmw9h.js → text-cell-BXLFcD_e.js} +7 -7
- package/dist/cdn/chunks/{text-editor-C6UKAmPL.js → text-editor-rLc5H6kD.js} +257 -237
- package/dist/cdn/chunks/{text-field-Dmkd4mHV.js → text-field-B7M4VwCe.js} +5 -5
- package/dist/cdn/chunks/{text-BX4Xm40t.js → text-gy-gkfSS.js} +2 -2
- package/dist/cdn/chunks/{time-field-BfgNZbEb.js → time-field-BtQRsvpR.js} +124 -98
- 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-BKLwibb9.js} +8 -7
- package/dist/cdn/chunks/{title-DFrd-Fsh.js → title-DLD3RW7l.js} +4 -4
- package/dist/cdn/chunks/{title-cell-CC1dQyth.js → title-cell-BCUBuKIO.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-bAX6uzgz.js → toggle-button-Etx8hKQS.js} +7 -7
- package/dist/cdn/chunks/{toggle-button-group-B7CHBww5.js → toggle-button-group-Ph1kcTqj.js} +2 -2
- package/dist/cdn/chunks/{token-CicHNqIk.js → token-BQtumlDT.js} +5 -5
- package/dist/cdn/chunks/{token-field-BFynQ-T-.js → token-field-BrV2RZHi.js} +10 -10
- package/dist/cdn/chunks/{toolbar-item-CjgkcYJ2.js → toolbar-item-x-y_AxHu.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-B1acxCGx.js → toolbar-title-g47zMdG2.js} +4 -4
- package/dist/cdn/chunks/{toolbar-hAmL7o23.js → toolbar-w_2rxcNu.js} +8 -8
- package/dist/cdn/chunks/{toolbar.styles-xiyZx5D0.js → toolbar.styles-EP0gu8kg.js} +3 -3
- package/dist/cdn/chunks/{tooltip-Mj47t8v7.js → tooltip-D47hF_iD.js} +4 -4
- package/dist/cdn/chunks/{top-navigation-bar-vP5QGBXd.js → top-navigation-bar-DO7JsQVs.js} +17 -17
- package/dist/cdn/chunks/{top-title-bar-Yt6cmRLj.js → top-title-bar-CVEOoXhu.js} +6 -6
- package/dist/cdn/chunks/{translations-BMMzf2sX.js → translations-eWWV6weF.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BHN98jET.js → two-thirds-one-third-section-x3dadNwz.js} +3 -3
- package/dist/cdn/chunks/{validation-list-CUPzu9_z.js → validation-list-krcQHzP3.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-DPuxf-sj.js → visibility-mixin-CXBa-fVi.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-CvjJIBhz.js → visually-hidden-Cd1_FE1J.js} +2 -2
- package/dist/cdn/chunks/{window-BqGlzGaS.js → window-JbrLuRjR.js} +4 -4
- package/dist/cdn/chunks/{with-translations-CRvWJWep.js → with-translations-DhRk5rH-.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/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 +15 -0
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +59 -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 +40 -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/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 +57 -0
- package/dist/components/content/term/term.template.js.map +1 -0
- 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/navigation/link/link.d.ts +8 -1
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +18 -0
- 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 +5 -0
- package/dist/components/navigation/link/link.styles.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/nldd.min.js +2239 -2032
- 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 +32 -10
- package/dist/types/vue.d.ts +34 -10
- 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/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-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +65 -15
- 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/lint/data.generated.json +1 -1
- package/package.json +5 -1
- package/dist/cdn/chunks/nl.generated-Bo4bmwYF.js +0 -114
- package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-field.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/time-field/time-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,4CAA4C,CAAC;AACpD,OAAO,8BAA8B,CAAC;AACtC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,iCAAiC,CAAC;AACzC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,mDAAmD,CAAC;AAC3D,OAAO,iCAAiC,CAAC;AAOzC;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,kHAAkH,CAAC;
|
|
1
|
+
{"version":3,"file":"time-field.template.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/time-field/time-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,cAAc,EAAE,MAAM,KAAK,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,4CAA4C,CAAC;AACpD,OAAO,8BAA8B,CAAC;AACtC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,iCAAiC,CAAC;AACzC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,mDAAmD,CAAC;AAC3D,OAAO,iCAAiC,CAAC;AAOzC;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,kHAAkH,CAAC;AA2FpJ,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,aAAa,GAAG,cAAc,CAwB1E"}
|
|
@@ -70,8 +70,8 @@ function renderPicker(component) {
|
|
|
70
70
|
>
|
|
71
71
|
<nldd-top-title-bar
|
|
72
72
|
text=${component._pickerLabel}
|
|
73
|
-
dismiss-text=${component._t('components.time-field.
|
|
74
|
-
@dismiss=${component.
|
|
73
|
+
dismiss-text=${component._t('components.time-field.confirm-action')}
|
|
74
|
+
@dismiss=${component._handlePickerConfirm}
|
|
75
75
|
></nldd-top-title-bar>
|
|
76
76
|
<nldd-container
|
|
77
77
|
padding="16"
|
|
@@ -87,20 +87,23 @@ function renderPicker(component) {
|
|
|
87
87
|
<nldd-time-picker
|
|
88
88
|
autofocus
|
|
89
89
|
width="full"
|
|
90
|
+
rows=${component._pickerRows}
|
|
90
91
|
value=${component._pickerValue || nothing}
|
|
91
92
|
min=${component.min || nothing}
|
|
92
93
|
max=${component.max || nothing}
|
|
93
94
|
step=${component.step}
|
|
94
95
|
></nldd-time-picker>
|
|
95
96
|
`}
|
|
96
|
-
<
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
97
|
+
<div class="time-field__picker-confirm">
|
|
98
|
+
<nldd-spacer size="16"></nldd-spacer>
|
|
99
|
+
<nldd-button
|
|
100
|
+
appearance="neutral-tinted"
|
|
101
|
+
size=${component._pickerButtonSize}
|
|
102
|
+
width="full"
|
|
103
|
+
text=${component._t('components.time-field.confirm-action')}
|
|
104
|
+
@click=${component._handlePickerConfirm}
|
|
105
|
+
></nldd-button>
|
|
106
|
+
</div>
|
|
104
107
|
</nldd-container>
|
|
105
108
|
</nldd-popover>
|
|
106
109
|
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-field.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/time-field/time-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAEpD,OAAO,4CAA4C,CAAC;AACpD,OAAO,8BAA8B,CAAC;AACtC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,iCAAiC,CAAC;AACzC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,mDAAmD,CAAC;AAC3D,OAAO,iCAAiC,CAAC;AAEzC;;;gEAGgE;AAEhE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,+GAA+G,CAAC;AAEpJ,uFAAuF;AACvF,SAAS,oBAAoB,CAAC,SAAwB;IACrD,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAC9E,IAAI,CAAC,IAAI;QAAE,OAAO,OAAO,CAAC;IAC1B,OAAO,IAAI,CAAA;;;;YAIA,IAAI;;;;;EAKd,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,SAAS,YAAY,CAAC,SAAwB;IAC7C,IAAI,SAAS,CAAC,QAAQ;QAAE,OAAO,OAAO,CAAC;IACvC,4EAA4E;IAC5E,6EAA6E;IAC7E,yEAAyE;IACzE,+BAA+B;IAC/B,IAAI,SAAS,CAAC,QAAQ;QAAE,OAAO,OAAO,CAAC;IACvC,MAAM,UAAU,GAAG,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACzD,OAAO,IAAI,CAAA;;;;WAID,UAAU;;WAEV,SAAS,CAAC,EAAE,CAAC,2CAA2C,CAAC;;gBAEpD,SAAS,CAAC,QAAQ;iBACjB,SAAS,CAAC,kBAAkB;aAChC,SAAS,CAAC,kBAAkB;;;uBAGlB,SAAS,CAAC,YAAY;;YAEjC,oBAAoB;cAClB,SAAS,CAAC,oBAAoB;;;YAGhC,SAAS,CAAC,YAAY;oBACd,SAAS,CAAC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"time-field.template.js","sourceRoot":"","sources":["../../../../src/components/inputs/time-field/time-field.template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAkB,MAAM,KAAK,CAAC;AAEpD,OAAO,4CAA4C,CAAC;AACpD,OAAO,8BAA8B,CAAC;AACtC,OAAO,mCAAmC,CAAC;AAC3C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,iCAAiC,CAAC;AACzC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,mDAAmD,CAAC;AAC3D,OAAO,iCAAiC,CAAC;AAEzC;;;gEAGgE;AAEhE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,+GAA+G,CAAC;AAEpJ,uFAAuF;AACvF,SAAS,oBAAoB,CAAC,SAAwB;IACrD,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC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,EAAE,CAAC,sCAAsC,CAAC;gBAClD,SAAS,CAAC,oBAAoB;;;;;;EAM5C,CAAC;AACH,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,SAAwB;IACzD,OAAO,IAAI,CAAA;;;SAGH,SAAS,CAAC,OAAO,IAAI,OAAO;;;aAGxB,SAAS,CAAC,aAAa;kBAClB,SAAS,CAAC,WAAW,IAAI,OAAO;gBAClC,SAAS,CAAC,QAAQ;gBAClB,SAAS,CAAC,QAAQ;gBAClB,SAAS,CAAC,QAAQ;mBACf,SAAS,CAAC,YAAY,IAAI,OAAO;iBACnC,SAAS,CAAC,WAAW,IAAI,OAAO;mBAC9B,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO;eACxC,SAAS,CAAC,mBAAmB;aAC/B,SAAS,CAAC,YAAY;cACrB,SAAS,CAAC,aAAa;;;KAGhC,oBAAoB,CAAC,SAAS,CAAC;KAC/B,YAAY,CAAC,SAAS,CAAC;;EAE1B,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-picker.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/time-picker/time-picker.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"time-picker.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/inputs/time-picker/time-picker.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,yBAuM5B,CAAC"}
|
|
@@ -19,6 +19,7 @@ export const timePickerStyles = css `
|
|
|
19
19
|
--_time-picker-list-width: calc(var(--_time-picker-control-min-size) * 1.5);
|
|
20
20
|
--_time-picker-rows: 7;
|
|
21
21
|
--_time-picker-list-height: calc(var(--_time-picker-control-min-size) * var(--_time-picker-rows));
|
|
22
|
+
--_time-picker-list-edge-height: calc((var(--_time-picker-list-height) - var(--_time-picker-control-min-size)) / 2);
|
|
22
23
|
--_time-picker-list-gap: var(--primitives-space-4);
|
|
23
24
|
/* initial keeps it guaranteed-invalid, so width lands on auto as long as
|
|
24
25
|
the attribute sets nothing. */
|
|
@@ -70,7 +71,7 @@ export const timePickerStyles = css `
|
|
|
70
71
|
/* Not mandatory: then the browser always has to land on a snap point, and a
|
|
71
72
|
short list can refuse to scroll. */
|
|
72
73
|
scroll-snap-type: y proximity;
|
|
73
|
-
mask-image: linear-gradient(to bottom, transparent 0
|
|
74
|
+
mask-image: linear-gradient(to bottom, transparent 0, black var(--_time-picker-list-edge-height), black calc(100% - var(--_time-picker-list-edge-height)), transparent 100%);
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
/* Snapping would pull each frame of the glide to the nearest value. */
|
|
@@ -91,7 +92,7 @@ export const timePickerStyles = css `
|
|
|
91
92
|
content: '';
|
|
92
93
|
display: block;
|
|
93
94
|
flex-shrink: 0;
|
|
94
|
-
height:
|
|
95
|
+
height: var(--_time-picker-list-edge-height);
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
.time-picker__list-item {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"time-picker.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/time-picker/time-picker.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"time-picker.styles.js","sourceRoot":"","sources":["../../../../src/components/inputs/time-picker/time-picker.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAE7E,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8B/B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyKrB,CAAC"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-full-bleed-section
|
|
9
9
|
*
|
|
10
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
10
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
13
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -13,7 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
*
|
|
14
14
|
* @element nldd-full-bleed-section
|
|
15
15
|
*
|
|
16
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
19
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
*
|
|
45
45
|
* @element nldd-hero
|
|
46
46
|
*
|
|
47
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
47
|
+
* @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
|
|
48
48
|
* @attr {string} width - Body max-width; 'full' removes the bound (section API)
|
|
49
49
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
50
50
|
* @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
|
|
@@ -50,7 +50,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
50
50
|
*
|
|
51
51
|
* @element nldd-hero
|
|
52
52
|
*
|
|
53
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
53
|
+
* @attr {'inherit'|'base'|'tinted'} background - Surface behind the hero (section API)
|
|
54
54
|
* @attr {string} width - Body max-width; 'full' removes the bound (section API)
|
|
55
55
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
56
56
|
* @attr {string} padding-block - Block padding override, also per edge and responsive (section API)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-one-half-one-half-section
|
|
9
9
|
*
|
|
10
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
10
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
13
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js
CHANGED
|
@@ -13,7 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
*
|
|
14
14
|
* @element nldd-one-half-one-half-section
|
|
15
15
|
*
|
|
16
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
19
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-one-third-two-thirds-section
|
|
9
9
|
*
|
|
10
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
10
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
13
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -13,7 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
*
|
|
14
14
|
* @element nldd-one-third-two-thirds-section
|
|
15
15
|
*
|
|
16
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
19
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -39,8 +39,8 @@ export const pageSectionArgs = {
|
|
|
39
39
|
export const pageSectionArgTypes = {
|
|
40
40
|
background: {
|
|
41
41
|
control: { type: 'select' },
|
|
42
|
-
options: ['inherit', 'base', 'tinted'
|
|
43
|
-
description: 'Oppervlak: "inherit" laat het oppervlak van de ouder doorschijnen, "base"
|
|
42
|
+
options: ['inherit', 'base', 'tinted'],
|
|
43
|
+
description: 'Oppervlak: "inherit" laat het oppervlak van de ouder doorschijnen, "base" en "tinted" tekenen een eigen oppervlak dat naar de inhoud cascadeert',
|
|
44
44
|
table: { defaultValue: { summary: 'inherit' } },
|
|
45
45
|
},
|
|
46
46
|
width: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-section-controls.js","sourceRoot":"","sources":["../../../../src/components/layout/page-sections/page-section-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAC9B,OAAO,EACN,SAAS,EACT,SAAS,EACT,QAAQ,GAGR,MAAM,kBAAkB,CAAC;AAE1B,MAAM,eAAe,GAAG;IACvB,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;IAC/D,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;CACpD,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,IAAY,EAAE,WAAmB,EAAE,EAAE,CAAC,CAAC;IAC9D,IAAI;IACJ,OAAO,EAAE,EAAE,IAAI,EAAE,QAAiB,EAAE;IACpC,OAAO,EAAE,eAAe;IACxB,OAAO,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACzB,WAAW;IACX,KAAK,EAAE,EAAE,YAAY,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE;CAC9C,CAAC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,UAAU,EAAE,SAAS;IACrB,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,KAAK;IACX,YAAY,EAAE,EAAE;IAChB,UAAU,EAAE,EAAE;IACd,aAAa,EAAE,EAAE;IACjB,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;IACnB,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;IACnB,cAAc,EAAE,EAAE;IAClB,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC,UAAU,EAAE;QACX,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC3B,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"page-section-controls.js","sourceRoot":"","sources":["../../../../src/components/layout/page-sections/page-section-controls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAC9B,OAAO,EACN,SAAS,EACT,SAAS,EACT,QAAQ,GAGR,MAAM,kBAAkB,CAAC;AAE1B,MAAM,eAAe,GAAG;IACvB,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;IAC/D,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI;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AAC,QAAQ,CAAC,CAAC;QAChB,IAAI,QAAQ,CAAC,IAAI,KAAK,QAAQ,CAAC,OAAO,EAAE,CAAC;YACxC,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;QAChE,CAAC;IACF,CAAC;IAED,MAAM,CAAC,KAA8B;QACpC,OAAO,OAAO,CAAC;IAChB,CAAC;IAEQ,MAAM,CAAC,IAAiB,EAAE,CAAC,IAAI,CAA4B;QACnE,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;QACxB,KAAK,MAAM,CAAC,GAAG,EAAE,SAAS,CAAC,IAAI,kBAAkB,EAAE,CAAC;YACnD,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;YACxB,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE,CAAC;gBAChC,EAAE,CAAC,eAAe,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;YACtC,CAAC;iBAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;gBACtD,EAAE,CAAC,YAAY,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;YACnC,CAAC;iBAAM,CAAC;gBACP,EAAE,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;YAC/B,CAAC;QACF,CAAC;QACD,OAAO,OAAO,CAAC;IAChB,CAAC;CACD;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,SAAS,CAAC,yBAAyB,CAAC,CAAC"}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
* @element nldd-simple-section
|
|
17
17
|
*
|
|
18
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
18
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
19
19
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
20
20
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
21
21
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -21,7 +21,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
21
21
|
*
|
|
22
22
|
* @element nldd-simple-section
|
|
23
23
|
*
|
|
24
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
24
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
25
25
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
26
26
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
27
27
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @element nldd-two-thirds-one-third-section
|
|
9
9
|
*
|
|
10
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
10
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
11
11
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
12
12
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
13
13
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -13,7 +13,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
*
|
|
14
14
|
* @element nldd-two-thirds-one-third-section
|
|
15
15
|
*
|
|
16
|
-
* @attr {'inherit'|'base'|'tinted'
|
|
16
|
+
* @attr {'inherit'|'base'|'tinted'} [background] - Surface background ('inherit' default; 'base' and 'tinted' paint and cascade a surface).
|
|
17
17
|
* @attr {string} [width] - Body max-width: 'full' removes the constraint so the section spans the full available width. Any CSS length (e.g. '480px') overrides the default max-width.
|
|
18
18
|
* @attr {string} [height] - Minimum section height (any CSS length, e.g. '400px', '100dvh') (mirrors width, which sets the body max-width).
|
|
19
19
|
* @attr {boolean} grow - Takes the height the page has left, so the footer sits at the bottom of a short page. Without it, nldd-page lets its last section grow.
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
* For a custom focus target inside the popover, put `autofocus` on the child you
|
|
25
25
|
* want. Without it the popover host itself takes focus.
|
|
26
26
|
*
|
|
27
|
+
* Content taller than the room the window leaves scrolls in the popover, with
|
|
28
|
+
* a fade at the edge where more content waits: at the bottom while you can
|
|
29
|
+
* scroll down, at the top once you have scrolled.
|
|
30
|
+
*
|
|
27
31
|
* On md and up the popover closes with Escape or a click outside it, and that
|
|
28
32
|
* click goes on to what it lands on, as with any native popover: the page has
|
|
29
33
|
* no backdrop and stays in use, so a click on another control does what it
|
|
@@ -32,6 +36,15 @@
|
|
|
32
36
|
* is more than a popover holds: use an nldd-sheet. nldd-just-in-time-education
|
|
33
37
|
* is the exception, a manual popover that stays until it is dismissed.
|
|
34
38
|
*
|
|
39
|
+
* In the `interest` slot of an nldd-button or nldd-icon-button, or named by
|
|
40
|
+
* `interestfor` on those or on an nldd-link, the popover describes that control
|
|
41
|
+
* instead: it opens when the pointer rests on the control, when the control
|
|
42
|
+
* gets keyboard focus, and on a long press on touch, and the control keeps its
|
|
43
|
+
* own click. Focus stays on the control, the control gets no expanded state,
|
|
44
|
+
* and the popover's content is read as its description. It holds information
|
|
45
|
+
* only, no link or button. In the slot it needs no `accessible-label`; one that
|
|
46
|
+
* `interestfor` names keeps its label, which is left out while it describes.
|
|
47
|
+
*
|
|
35
48
|
* On sm the popover is a bottom sheet with a dimmed backdrop, which closes with
|
|
36
49
|
* Escape or a tap outside it, and slides down as it goes. It is a manual popover
|
|
37
50
|
* there and closes itself, so a close request from the system, such as the back
|
|
@@ -94,6 +107,19 @@ export declare class NLDDPopover extends LitElement {
|
|
|
94
107
|
private _isOpen;
|
|
95
108
|
/** True when this popover picks its own popover mode: the consumer set none. */
|
|
96
109
|
private _managesMode;
|
|
110
|
+
/** True when this popover set its own role: the consumer set none. */
|
|
111
|
+
private _managesRole;
|
|
112
|
+
private _interestMode;
|
|
113
|
+
/**
|
|
114
|
+
* Set by the control this popover opens on interest for, from its
|
|
115
|
+
* `interest` slot or `interestfor` (see InterestController). The popover
|
|
116
|
+
* then describes that control: it opens on hover, focus or a long press,
|
|
117
|
+
* leaves focus where it is, and puts no disclosure state on the control.
|
|
118
|
+
* Not an attribute of its own: it follows from the control.
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
get _interest(): boolean;
|
|
122
|
+
set _interest(value: boolean);
|
|
97
123
|
/** Set while the sm bottom sheet slides down before it really closes. */
|
|
98
124
|
private _closing;
|
|
99
125
|
private _closingTimer;
|
|
@@ -115,6 +141,9 @@ export declare class NLDDPopover extends LitElement {
|
|
|
115
141
|
updated(changed: PropertyValues): void;
|
|
116
142
|
private _t;
|
|
117
143
|
get _resolvedAccessibleLabel(): string;
|
|
144
|
+
/** As a description its content is what is read, and a label would take
|
|
145
|
+
* its place: the control would be described as "Popover". */
|
|
146
|
+
private _syncLabel;
|
|
118
147
|
show(): void;
|
|
119
148
|
private _handleDismiss;
|
|
120
149
|
hide(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/popover/popover.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/popover/popover.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AAED,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,cAAc,EAAE,WAAW,CAAC;KAC5B;CACD"}
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
* For a custom focus target inside the popover, put `autofocus` on the child you
|
|
25
25
|
* want. Without it the popover host itself takes focus.
|
|
26
26
|
*
|
|
27
|
+
* Content taller than the room the window leaves scrolls in the popover, with
|
|
28
|
+
* a fade at the edge where more content waits: at the bottom while you can
|
|
29
|
+
* scroll down, at the top once you have scrolled.
|
|
30
|
+
*
|
|
27
31
|
* On md and up the popover closes with Escape or a click outside it, and that
|
|
28
32
|
* click goes on to what it lands on, as with any native popover: the page has
|
|
29
33
|
* no backdrop and stays in use, so a click on another control does what it
|
|
@@ -32,6 +36,15 @@
|
|
|
32
36
|
* is more than a popover holds: use an nldd-sheet. nldd-just-in-time-education
|
|
33
37
|
* is the exception, a manual popover that stays until it is dismissed.
|
|
34
38
|
*
|
|
39
|
+
* In the `interest` slot of an nldd-button or nldd-icon-button, or named by
|
|
40
|
+
* `interestfor` on those or on an nldd-link, the popover describes that control
|
|
41
|
+
* instead: it opens when the pointer rests on the control, when the control
|
|
42
|
+
* gets keyboard focus, and on a long press on touch, and the control keeps its
|
|
43
|
+
* own click. Focus stays on the control, the control gets no expanded state,
|
|
44
|
+
* and the popover's content is read as its description. It holds information
|
|
45
|
+
* only, no link or button. In the slot it needs no `accessible-label`; one that
|
|
46
|
+
* `interestfor` names keeps its label, which is left out while it describes.
|
|
47
|
+
*
|
|
35
48
|
* On sm the popover is a bottom sheet with a dimmed backdrop, which closes with
|
|
36
49
|
* Escape or a tap outside it, and slides down as it goes. It is a manual popover
|
|
37
50
|
* there and closes itself, so a close request from the system, such as the back
|
|
@@ -116,6 +129,9 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
116
129
|
this._isOpen = false;
|
|
117
130
|
/** True when this popover picks its own popover mode: the consumer set none. */
|
|
118
131
|
this._managesMode = false;
|
|
132
|
+
/** True when this popover set its own role: the consumer set none. */
|
|
133
|
+
this._managesRole = false;
|
|
134
|
+
this._interestMode = false;
|
|
119
135
|
/** Set while the sm bottom sheet slides down before it really closes. */
|
|
120
136
|
this._closing = false;
|
|
121
137
|
this._closingTimer = null;
|
|
@@ -260,7 +276,8 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
260
276
|
if (event.newState !== 'open')
|
|
261
277
|
return;
|
|
262
278
|
this.removeAttribute('positioned');
|
|
263
|
-
|
|
279
|
+
if (!this._interestMode)
|
|
280
|
+
this._focusReturn.remember(this._getAnchorEl());
|
|
264
281
|
};
|
|
265
282
|
this._handleToggle = async (event) => {
|
|
266
283
|
const toggleEvent = event;
|
|
@@ -275,7 +292,8 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
275
292
|
// Stop scroll/resize tracking, no longer needed once closed.
|
|
276
293
|
this._cleanupAutoUpdate?.();
|
|
277
294
|
this._cleanupAutoUpdate = null;
|
|
278
|
-
this.
|
|
295
|
+
if (!this._interestMode)
|
|
296
|
+
this._focusReturn.restore(this);
|
|
279
297
|
this.dispatchEvent(new CustomEvent('close', { bubbles: false, composed: true }));
|
|
280
298
|
return;
|
|
281
299
|
}
|
|
@@ -292,7 +310,10 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
292
310
|
this._cleanupAutoUpdate = autoUpdate(anchorEl, this, () => this.reposition());
|
|
293
311
|
}
|
|
294
312
|
await this.updateComplete;
|
|
295
|
-
|
|
313
|
+
// Opened by interest, focus stays on the control: someone typing in a
|
|
314
|
+
// field while the pointer passes over it keeps typing.
|
|
315
|
+
if (!this._interestMode)
|
|
316
|
+
this._manageFocus();
|
|
296
317
|
this.dispatchEvent(new CustomEvent('open', { bubbles: true, composed: true }));
|
|
297
318
|
};
|
|
298
319
|
this._handleKeydown = (event) => {
|
|
@@ -350,6 +371,26 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
350
371
|
// which no Tab stop ever showed a focus ring again.
|
|
351
372
|
};
|
|
352
373
|
}
|
|
374
|
+
/**
|
|
375
|
+
* Set by the control this popover opens on interest for, from its
|
|
376
|
+
* `interest` slot or `interestfor` (see InterestController). The popover
|
|
377
|
+
* then describes that control: it opens on hover, focus or a long press,
|
|
378
|
+
* leaves focus where it is, and puts no disclosure state on the control.
|
|
379
|
+
* Not an attribute of its own: it follows from the control.
|
|
380
|
+
* @internal
|
|
381
|
+
*/
|
|
382
|
+
get _interest() {
|
|
383
|
+
return this._interestMode;
|
|
384
|
+
}
|
|
385
|
+
set _interest(value) {
|
|
386
|
+
if (value === this._interestMode)
|
|
387
|
+
return;
|
|
388
|
+
this._interestMode = value;
|
|
389
|
+
if (this._managesRole)
|
|
390
|
+
this.setAttribute('role', value ? 'tooltip' : 'dialog');
|
|
391
|
+
this._syncLabel();
|
|
392
|
+
this._syncMode();
|
|
393
|
+
}
|
|
353
394
|
connectedCallback() {
|
|
354
395
|
super.connectedCallback();
|
|
355
396
|
this.style.containerType = 'inline-size';
|
|
@@ -360,8 +401,10 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
360
401
|
}
|
|
361
402
|
if (!this.hasAttribute('tabindex'))
|
|
362
403
|
this.setAttribute('tabindex', '-1');
|
|
363
|
-
if (!this.hasAttribute('role'))
|
|
364
|
-
this.
|
|
404
|
+
if (!this.hasAttribute('role')) {
|
|
405
|
+
this._managesRole = true;
|
|
406
|
+
this.setAttribute('role', this._interestMode ? 'tooltip' : 'dialog');
|
|
407
|
+
}
|
|
365
408
|
this.addEventListener('beforetoggle', this._handleBeforeToggle);
|
|
366
409
|
this.addEventListener('toggle', this._handleToggle);
|
|
367
410
|
this.addEventListener('keydown', this._handleKeydown);
|
|
@@ -444,7 +487,7 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
444
487
|
}
|
|
445
488
|
}
|
|
446
489
|
if (changed.has('accessibleLabel') || changed.has('translations')) {
|
|
447
|
-
this.
|
|
490
|
+
this._syncLabel();
|
|
448
491
|
}
|
|
449
492
|
// Anchor change at runtime: strip aria-* from the old trigger and put it on
|
|
450
493
|
// the new one. Without this the old trigger keeps stale aria-expanded and
|
|
@@ -476,6 +519,14 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
476
519
|
get _resolvedAccessibleLabel() {
|
|
477
520
|
return this.accessibleLabel || this._t('components.popover.accessible-label');
|
|
478
521
|
}
|
|
522
|
+
/** As a description its content is what is read, and a label would take
|
|
523
|
+
* its place: the control would be described as "Popover". */
|
|
524
|
+
_syncLabel() {
|
|
525
|
+
if (this._interestMode)
|
|
526
|
+
this.removeAttribute('aria-label');
|
|
527
|
+
else
|
|
528
|
+
this.setAttribute('aria-label', this._resolvedAccessibleLabel);
|
|
529
|
+
}
|
|
479
530
|
// — Public API ————————————————————————————————————————————————————————————
|
|
480
531
|
show() {
|
|
481
532
|
const anchorEl = this._getAnchorEl();
|
|
@@ -490,7 +541,9 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
490
541
|
this.showPopover();
|
|
491
542
|
}
|
|
492
543
|
hide() {
|
|
493
|
-
|
|
544
|
+
// Asked of the popover itself: _isOpen follows the toggle event, which
|
|
545
|
+
// arrives a task later, so a hide right after a show would do nothing.
|
|
546
|
+
if (!this.matches(':popover-open') || this._closing)
|
|
494
547
|
return;
|
|
495
548
|
const animate = (this._smQuery?.matches ?? false)
|
|
496
549
|
&& !window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
@@ -657,6 +710,10 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
657
710
|
return null;
|
|
658
711
|
}
|
|
659
712
|
_updateAnchorAria(open) {
|
|
713
|
+
// A description is no disclosure: the control gets no expanded state and
|
|
714
|
+
// no haspopup. InterestController links the two instead.
|
|
715
|
+
if (this._interestMode)
|
|
716
|
+
return;
|
|
660
717
|
const anchorEl = this._getAnchorEl();
|
|
661
718
|
// Anchor changed (e.g. anchorElement property switched, or anchor
|
|
662
719
|
// attribute updated): strip aria-expanded and any aria-controls from the
|
|
@@ -712,9 +769,14 @@ let NLDDPopover = NLDDPopover_1 = class NLDDPopover extends LitElement {
|
|
|
712
769
|
* mode of an open popover closes it.
|
|
713
770
|
*/
|
|
714
771
|
_syncMode() {
|
|
772
|
+
// Changing the attribute of an open popover closes it, so an open one
|
|
773
|
+
// keeps its mode and catches up when it closes. InterestController sets
|
|
774
|
+
// _interest before it opens the popover, so in practice it never waits.
|
|
715
775
|
if (!this._managesMode || this.matches(':popover-open'))
|
|
716
776
|
return;
|
|
717
|
-
|
|
777
|
+
// Interest opens it, so a hover must not close a menu that is open, as
|
|
778
|
+
// an auto popover would. InterestController closes it instead.
|
|
779
|
+
this.setAttribute('popover', this._smQuery?.matches || this._interestMode ? 'manual' : '');
|
|
718
780
|
}
|
|
719
781
|
get _isManual() {
|
|
720
782
|
return this.getAttribute('popover') === 'manual';
|