@nldd/design-system 0.23.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +1286 -47
- package/dist/assets/styles/scroll-fade.d.ts +13 -0
- package/dist/assets/styles/scroll-fade.d.ts.map +1 -0
- package/dist/assets/styles/scroll-fade.js +53 -0
- package/dist/assets/styles/scroll-fade.js.map +1 -0
- package/dist/assets/styles/shadow-resets.d.ts +9 -0
- package/dist/assets/styles/shadow-resets.d.ts.map +1 -1
- package/dist/assets/styles/shadow-resets.js +13 -0
- package/dist/assets/styles/shadow-resets.js.map +1 -1
- package/dist/cdn/autoloader.js +137 -136
- package/dist/cdn/chunks/{activity-indicator-D86Mv6SL.js → activity-indicator-Dc6c9HtC.js} +12 -12
- package/dist/cdn/chunks/{avatar-BISv6tzp.js → avatar-CHXRpWWk.js} +17 -17
- package/dist/cdn/chunks/{avatar-group-D7IN6DxU.js → avatar-group-B76E8oC6.js} +20 -20
- package/dist/cdn/chunks/{badge-R3PZUsqZ.js → badge-tO7gHhdi.js} +5 -5
- package/dist/cdn/chunks/{banner-DRANlf5k.js → banner-D4kFQYXF.js} +15 -15
- package/dist/cdn/chunks/{bar-split-view-B-Y2nqgS.js → bar-split-view-C9bYdWSR.js} +7 -7
- package/dist/cdn/chunks/{blockquote-pUgJLPY1.js → blockquote-DRJajjBB.js} +9 -9
- package/dist/cdn/chunks/{box-BbXHpBQy.js → box-D10mS19t.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-BdF4m3DB.js → breadcrumbs-BUdQJG3z.js} +6 -6
- package/dist/cdn/chunks/{button-CsqNHH3w.js → button-CwY9fWCg.js} +61 -48
- package/dist/cdn/chunks/{button-bar-CnYIw4fN.js → button-bar-DkqbRvff.js} +30 -30
- package/dist/cdn/chunks/{button-group-xaHghyon.js → button-group-p364JgTR.js} +2 -2
- package/dist/cdn/chunks/{card-Bbf0aCIh.js → card-B7TaSaw7.js} +9 -9
- package/dist/cdn/chunks/{cell-Dggt5oYG.js → cell-BTIpXf1T.js} +6 -6
- package/dist/cdn/chunks/{checkbox-DmFAS8ec.js → checkbox-BLEK0rAV.js} +4 -4
- package/dist/cdn/chunks/{checkbox-field-fOWPH8Q7.js → checkbox-field-CDtlpN-u.js} +5 -5
- package/dist/cdn/chunks/{class-map-BWGTUNv4.js → class-map-5WYS_nCb.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CANFZX66.js → code-editor-CanGMLIo.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-C_vUEx7J.js → code-viewer-DCZ3wjMd.js} +29 -21
- package/dist/cdn/chunks/{codemirror-input-wexTiqWw.js → codemirror-input-CtvDBy25.js} +4 -4
- package/dist/cdn/chunks/{collection-_emTry5U.js → collection-D8K79X0H.js} +20 -20
- package/dist/cdn/chunks/{combo-box-CGwj1u4a.js → combo-box-BeWoeEY8.js} +25 -25
- package/dist/cdn/chunks/{container-D5Dz-j6a.js → container-Be2J-GhB.js} +48 -48
- package/dist/cdn/chunks/{custom-element-DbwbPetH.js → custom-element-DGlHv_OV.js} +4 -2
- package/dist/cdn/chunks/{date-field-ChmyLtTj.js → date-field-BLaGVd4x.js} +29 -29
- package/dist/cdn/chunks/{date-field.i18n-BTzc0E9a.js → date-field.i18n-BqIx3eyr.js} +1 -1
- package/dist/cdn/chunks/{date-picker-CUQKdjS4.js → date-picker-C4mLZKWF.js} +16 -16
- package/dist/cdn/chunks/{decorate-_JGq4E_7.js → decorate-Czy-wI4F.js} +1 -1
- package/dist/cdn/chunks/{described-by-mixin-DbnuGktP.js → described-by-mixin-fLi4Nmt7.js} +6 -3
- package/dist/cdn/chunks/{description-cell-BgcO7ObI.js → description-cell-aQyLX0U0.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-KAnKlxY0.js → dev-checks-qTR6tciJ.js} +140 -33
- package/dist/cdn/chunks/{dist-HgRt6IKh.js → dist-BLnIbkqH.js} +1 -1
- package/dist/cdn/chunks/{dist-DADIyiX-.js → dist-BNS6C8sP.js} +2 -2
- package/dist/cdn/chunks/{dist-CLKJ5z0x.js → dist-B_fXtXqM.js} +1 -1
- package/dist/cdn/chunks/{dist-CKZ98PMy.js → dist-CX0g6sV1.js} +3 -3
- package/dist/cdn/chunks/{dist-CJLBwJx0.js → dist-CZOXq9aZ.js} +1 -1
- package/dist/cdn/chunks/{dist-CBnQQ6kV.js → dist-CdF0c6UD.js} +2 -2
- package/dist/cdn/chunks/{dist-BJrN5nEM.js → dist-DHK9tNd7.js} +1 -1
- package/dist/cdn/chunks/{dist-BF9euKgj.js → dist-WQv_JUmB.js} +2 -2
- package/dist/cdn/chunks/{dist-D7Wubc1l.js → dist-_QFa91Kz.js} +1 -1
- package/dist/cdn/chunks/{dist-Bz3Isx60.js → dist-fDpuYq7K.js} +1 -1
- package/dist/cdn/chunks/{dist-BHMubC6P.js → dist-p1FcXq9E.js} +3 -3
- package/dist/cdn/chunks/{divider-pO5O6wL4.js → divider-2hHcSIga.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-C_-iuaUc.js → document-tab-bar-CIWiZUB5.js} +18 -18
- package/dist/cdn/chunks/{dropdown-DYO6049g.js → dropdown-Bwn6dQrK.js} +5 -5
- package/dist/cdn/chunks/{file-field-C-Fk92rD.js → file-field-CtQ6Fzkj.js} +25 -25
- package/dist/cdn/chunks/{form-actions-DrOX7nX8.js → form-actions-DSL0qce-.js} +3 -3
- package/dist/cdn/chunks/{form-field-CR2Py09O.js → form-field--t3Bz1pc.js} +7 -7
- package/dist/cdn/chunks/{form-section-s1mkLzaC.js → form-section-D1n8Sdmt.js} +16 -16
- package/dist/cdn/chunks/{form-ChXBrKw6.js → form-vSM2SOrK.js} +10 -10
- package/dist/cdn/chunks/{full-bleed-section-vOVI_f86.js → full-bleed-section-w2pDVC5v.js} +4 -4
- package/dist/cdn/chunks/{hero-Cb3qIvvh.js → hero-BypUmnRi.js} +22 -22
- package/dist/cdn/chunks/{icon-DBhTZrnl.js → icon-BydOAoVO.js} +7 -7
- package/dist/cdn/chunks/{icon-button-bDuQ_6W_.js → icon-button-C_MZ-jXt.js} +56 -43
- package/dist/cdn/chunks/{icon-cell-DlSZNTF3.js → icon-cell-jiYNsV84.js} +6 -6
- package/dist/cdn/chunks/{identity-CJTVNI9J.js → identity-D1Sw6OdG.js} +55 -39
- package/dist/cdn/chunks/{if-defined-28B8DYUB.js → if-defined-pKQLIQvK.js} +1 -1
- package/dist/cdn/chunks/{image-DlTxyeL3.js → image-DEI0hogS.js} +20 -20
- package/dist/cdn/chunks/{inline-dialog-BJlOrD6M.js → inline-dialog-CTjJ8Tl_.js} +15 -15
- package/dist/cdn/chunks/interest-controller-Ban-3NrX.js +117 -0
- package/dist/cdn/chunks/{just-in-time-education-DWBDshKs.js → just-in-time-education-pUUxdKPR.js} +5 -5
- package/dist/cdn/chunks/{kanban-DIXY8FcZ.js → kanban-KSLBcCb4.js} +9 -9
- package/dist/cdn/chunks/{kanban-column-DmnxctX6.js → kanban-column-RNSdiBIT.js} +8 -8
- package/dist/cdn/chunks/{keyboard-shortcut-kYOKwBqs.js → keyboard-shortcut-D9TYAQu1.js} +3 -3
- package/dist/cdn/chunks/{languages-DGtcUhLc.js → languages-DGZO3jTf.js} +12 -12
- package/dist/cdn/chunks/{link-DhnhhTOg.js → link-C4K1qVcb.js} +88 -24
- package/dist/cdn/chunks/{link-group-Bx2nkQcS.js → link-group-BEYO7nTK.js} +2 -2
- package/dist/cdn/chunks/{list-item-CSNBaRlK.js → list-item-CotWNKc1.js} +19 -19
- package/dist/cdn/chunks/{list-item-segment-D6WvAh3A.js → list-item-segment-C-yl2GAS.js} +15 -15
- package/dist/cdn/chunks/{list-CXCG_IEc.js → list-rMBdnf1f.js} +15 -15
- package/dist/cdn/chunks/{menu-bar-xahTEYTX.js → menu-bar-D9IxDwC2.js} +10 -10
- package/dist/cdn/chunks/{menu-bar-item-C950rfSt.js → menu-bar-item-768OWJdt.js} +18 -18
- package/dist/cdn/chunks/{menu-divider-XlYJ4zQz.js → menu-divider-BHAGnkBl.js} +3 -3
- package/dist/cdn/chunks/{menu-group-E6hIEtLj.js → menu-group-B5MAz_Yk.js} +6 -6
- package/dist/cdn/chunks/{menu-item-2y0VC5Gb.js → menu-item-Ba581zRi.js} +24 -24
- package/dist/cdn/chunks/{menu-CKxKVA36.js → menu-rE6tDSAy.js} +48 -27
- package/dist/cdn/chunks/{menu.template-ZBhUFgBJ.js → menu.template-Eb7J7UrL.js} +130 -76
- package/dist/cdn/chunks/{modal-dialog-DdFpcRLJ.js → modal-dialog-Djln8pr7.js} +5 -5
- package/dist/cdn/chunks/{multi-line-text-field-okvEa54Q.js → multi-line-text-field-Omt0oidK.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-dNRQDSpy.js → navigation-split-view-DDng9DdF.js} +11 -11
- package/dist/cdn/chunks/nl.generated-CgRVSEh6.js +116 -0
- package/dist/cdn/chunks/{notification-2tnwXEY1.js → notification-DB6JOmCC.js} +13 -13
- package/dist/cdn/chunks/{number-field-CH7EvpSq.js → number-field-xgr4dysX.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-UZDP-KO-.js → one-half-one-half-section-CFhmSDDa.js} +4 -4
- package/dist/cdn/chunks/{one-third-two-thirds-section-8KtESdXO.js → one-third-two-thirds-section-D0JV0GJ_.js} +4 -4
- package/dist/cdn/chunks/{one-time-code-field-Bvm3ND6e.js → one-time-code-field-CqgKQqdE.js} +20 -20
- package/dist/cdn/chunks/{page-PK1FWuKJ.js → page-DXWHG-hD.js} +10 -10
- package/dist/cdn/chunks/{page-footer-BamWKHwH.js → page-footer-GexGY_m-.js} +15 -15
- package/dist/cdn/chunks/{page-section-mixin-3q59_Jo_.js → page-section-mixin-CtiPKCqL.js} +4 -10
- package/dist/cdn/chunks/{pagination-47zAyQhM.js → pagination-DJkfE8t9.js} +6 -6
- package/dist/cdn/chunks/{password-field-FaU02DSW.js → password-field-gKiiE_5e.js} +7 -7
- package/dist/cdn/chunks/{popover-642mOFR5.js → popover-C-jxcCHx.js} +74 -50
- package/dist/cdn/chunks/{progress-bar-BivaNkIY.js → progress-bar-CBWQRWkE.js} +24 -24
- package/dist/cdn/chunks/{progress-circle-ewL0JIcz.js → progress-circle-CCcRDOOJ.js} +22 -22
- package/dist/cdn/chunks/{radio-button-DvrYYSnm.js → radio-button-B8xwJO3_.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-BVi0YrTF.js → radio-button-field-B9lRNOXJ.js} +12 -12
- package/dist/cdn/chunks/{radio-button-group-DZ9OWUNe.js → radio-button-group-Cy7Ya28w.js} +3 -3
- package/dist/cdn/chunks/{render-marked-CO31_4GS.js → render-marked-DjXBoUGY.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-Doetg58W.js → reorder-handle-cell-B6V85qYk.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DCjwUXr0.js → reorder-handle-mixin-DTmEmT-V.js} +2 -2
- package/dist/cdn/chunks/{repeat-Wb4hkVZc.js → repeat-Ck8L8Iy9.js} +1 -1
- package/dist/cdn/chunks/{rich-text-Do08iiIz.js → rich-text-CqQeOXwL.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-CKR5rHBA.js → row-header-mixin-XRu3gHMf.js} +2 -2
- package/dist/cdn/chunks/scroll-fade-e6d1wo3D.js +41 -0
- package/dist/cdn/chunks/{search-field-CCeeGiJM.js → search-field-Cz7Ucf6x.js} +9 -9
- package/dist/cdn/chunks/{segmented-control-CWIPxEBq.js → segmented-control-CLzKU4SX.js} +33 -33
- package/dist/cdn/chunks/{shadow-resets-NKr5gQCc.js → shadow-resets-CodxnaUh.js} +11 -7
- package/dist/cdn/chunks/{sheet-WOjBtZvN.js → sheet-DkmSsRV3.js} +4 -4
- package/dist/cdn/chunks/{shell-Brn0Dr8F.js → shell-Ex_f7Ov3.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DGIMsyma.js → side-by-side-split-view-C8aSEGRc.js} +7 -7
- package/dist/cdn/chunks/{sidebar-section-BXHeI8GN.js → sidebar-section-CnD-3i7r.js} +8 -8
- package/dist/cdn/chunks/{simple-section-C8lJZLAO.js → simple-section-CeKnmobI.js} +4 -4
- package/dist/cdn/chunks/{skip-link-QdRgHljr.js → skip-link-DwtFm_NJ.js} +13 -8
- package/dist/cdn/chunks/skip-link.i18n-B7pVqo5u.js +6 -0
- package/dist/cdn/chunks/{slider-BhjBeWqc.js → slider-BVdkwNW3.js} +21 -21
- package/dist/cdn/chunks/slot-content-2qH2vEC_.js +22 -0
- package/dist/cdn/chunks/slotted-block-xNpJoXLz.js +14 -0
- package/dist/cdn/chunks/{spacer-BgkOjuUj.js → spacer-H4zmoDr_.js} +3 -3
- package/dist/cdn/chunks/{spacer-cell-DBI0PVd7.js → spacer-cell-BES4eJH1.js} +4 -4
- package/dist/cdn/chunks/{split-button-DfD9vxPe.js → split-button-Caa30uTx.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-B4NFlri5.js → split-view-divider-klvZ8lgP.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-CwFf13hX.js → split-view-pane-Cnx56S5C.js} +4 -4
- package/dist/cdn/chunks/{stacked-split-view-BmbzTinq.js → stacked-split-view-CYdGBY7Q.js} +7 -7
- package/dist/cdn/chunks/{static-html-CZrcQRgC.js → static-html--Xd5vkAU.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CTOf_bDL.js → status-bar-CJybViWL.js} +4 -4
- package/dist/cdn/chunks/{step-bar-B5vzvhz-.js → step-bar-BO6Y1BrK.js} +21 -21
- package/dist/cdn/chunks/{step-cell-CUA-HUZv.js → step-cell-BQ8EHZVR.js} +5 -5
- package/dist/cdn/chunks/{stepper-LxPTQ6HJ.js → stepper-COTaJwSU.js} +6 -6
- package/dist/cdn/chunks/{style-map-DiIQAb_L.js → style-map-BwtZr74h.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Cxv9HK3A.js → swatch-picker-5fxe3QB1.js} +21 -21
- package/dist/cdn/chunks/{switch-CbNSJQPp.js → switch-BUxGg2ww.js} +4 -4
- package/dist/cdn/chunks/{switch-field-B8vOvcKc.js → switch-field-DOsEK534.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-D4ot_wZ4.js → tab-bar-CZ9Z9qV9.js} +21 -21
- package/dist/cdn/chunks/{table-uh4YPqda.js → table-SAsB1kDN.js} +5 -5
- package/dist/cdn/chunks/{tag-D2dCXT7A.js → tag-xuCeECO3.js} +16 -12
- package/dist/cdn/chunks/term-DHEvoltZ.js +212 -0
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +3 -0
- package/dist/cdn/chunks/text-CiFzQPQw.js +260 -0
- package/dist/cdn/chunks/{text-cell-DNCpmw9h.js → text-cell-DQNzo2Rp.js} +74 -62
- package/dist/cdn/chunks/{text-editor-C6UKAmPL.js → text-editor-DCYF_nqz.js} +257 -237
- package/dist/cdn/chunks/{text-field-Dmkd4mHV.js → text-field-BiPeMi6s.js} +22 -22
- package/dist/cdn/chunks/{time-field-BfgNZbEb.js → time-field-C-Euaiy0.js} +125 -99
- package/dist/cdn/chunks/{time-field.i18n-CLH5vmS7.js → time-field.i18n-BM6qGbmN.js} +0 -1
- package/dist/cdn/chunks/{time-picker-C1SBkU-e.js → time-picker-DYkxhEYm.js} +12 -11
- package/dist/cdn/chunks/{title-DFrd-Fsh.js → title-DkS07R_v.js} +113 -98
- package/dist/cdn/chunks/{title-cell-CC1dQyth.js → title-cell-CJevv6Vg.js} +83 -74
- package/dist/cdn/chunks/{toggle-button-bAX6uzgz.js → toggle-button-DDqd56_3.js} +25 -25
- package/dist/cdn/chunks/{toggle-button-group-B7CHBww5.js → toggle-button-group-ByxgMVzH.js} +2 -2
- package/dist/cdn/chunks/{token-CicHNqIk.js → token-YpVKK1g4.js} +13 -13
- package/dist/cdn/chunks/{token-field-BFynQ-T-.js → token-field-vLdJSvUz.js} +21 -21
- package/dist/cdn/chunks/{toolbar-hAmL7o23.js → toolbar-C-5H46y9.js} +12 -12
- package/dist/cdn/chunks/{toolbar-item-CjgkcYJ2.js → toolbar-item-CvPtoAoQ.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-B1acxCGx.js → toolbar-title-HElUvLeY.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-xiyZx5D0.js → toolbar.styles-BuJIgj1E.js} +3 -3
- package/dist/cdn/chunks/{tooltip-Mj47t8v7.js → tooltip-BF4HkWOi.js} +16 -16
- package/dist/cdn/chunks/{top-navigation-bar-vP5QGBXd.js → top-navigation-bar-ngF2MF40.js} +18 -18
- package/dist/cdn/chunks/{top-title-bar-Yt6cmRLj.js → top-title-bar-BUjpi-w6.js} +14 -14
- package/dist/cdn/chunks/{translations-BMMzf2sX.js → translations-BWgmZCAK.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BHN98jET.js → two-thirds-one-third-section-Ci6O8SwP.js} +4 -4
- package/dist/cdn/chunks/{validation-list-CUPzu9_z.js → validation-list-BBNFz_2I.js} +10 -10
- package/dist/cdn/chunks/{visibility-mixin-DPuxf-sj.js → visibility-mixin-BP5T5qYB.js} +4 -4
- package/dist/cdn/chunks/{visually-hidden-CvjJIBhz.js → visually-hidden-BqYWVy4n.js} +2 -2
- package/dist/cdn/chunks/{window-BqGlzGaS.js → window-CvgGg1Ib.js} +4 -4
- package/dist/cdn/chunks/{with-translations-CRvWJWep.js → with-translations-8SmMZkGa.js} +3 -3
- package/dist/components/actions/button/button.d.ts +9 -0
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +16 -0
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.styles.d.ts.map +1 -1
- package/dist/components/actions/button/button.styles.js +6 -0
- package/dist/components/actions/button/button.styles.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +2 -2
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +8 -0
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +17 -0
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +6 -0
- package/dist/components/actions/icon-button/icon-button.styles.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +4 -2
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts.map +1 -1
- package/dist/components/actions/menu/menu-item.js +3 -1
- package/dist/components/actions/menu/menu-item.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +25 -0
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +86 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +55 -3
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.template.js +55 -53
- package/dist/components/actions/menu/menu.template.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +2 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +26 -13
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +2 -0
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +17 -10
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +33 -19
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/identity/identity.styles.d.ts.map +1 -1
- package/dist/components/content/identity/identity.styles.js +5 -1
- package/dist/components/content/identity/identity.styles.js.map +1 -1
- package/dist/components/content/identity/identity.template.d.ts +1 -1
- package/dist/components/content/identity/identity.template.d.ts.map +1 -1
- package/dist/components/content/identity/identity.template.js +11 -5
- package/dist/components/content/identity/identity.template.js.map +1 -1
- package/dist/components/content/tag/tag.styles.d.ts.map +1 -1
- package/dist/components/content/tag/tag.styles.js +6 -2
- package/dist/components/content/tag/tag.styles.js.map +1 -1
- package/dist/components/content/term/term.d.ts +115 -0
- package/dist/components/content/term/term.d.ts.map +1 -0
- package/dist/components/content/term/term.i18n.d.ts +5 -0
- package/dist/components/content/term/term.i18n.d.ts.map +1 -0
- package/dist/components/content/term/term.i18n.js +5 -0
- package/dist/components/content/term/term.i18n.js.map +1 -0
- package/dist/components/content/term/term.js +256 -0
- package/dist/components/content/term/term.js.map +1 -0
- package/dist/components/content/term/term.styles.d.ts +2 -0
- package/dist/components/content/term/term.styles.d.ts.map +1 -0
- package/dist/components/content/term/term.styles.js +65 -0
- package/dist/components/content/term/term.styles.js.map +1 -0
- package/dist/components/content/term/term.template.d.ts +4 -0
- package/dist/components/content/term/term.template.d.ts.map +1 -0
- package/dist/components/content/term/term.template.js +55 -0
- package/dist/components/content/term/term.template.js.map +1 -0
- package/dist/components/content/text/text.d.ts +15 -2
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +19 -3
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/text/text.styles.d.ts.map +1 -1
- package/dist/components/content/text/text.styles.js +7 -155
- package/dist/components/content/text/text.styles.js.map +1 -1
- package/dist/components/content/text/text.template.d.ts +3 -2
- package/dist/components/content/text/text.template.d.ts.map +1 -1
- package/dist/components/content/text/text.template.js +3 -4
- package/dist/components/content/text/text.template.js.map +1 -1
- package/dist/components/content/title/title.d.ts +22 -7
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +43 -19
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +8 -7
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +2 -2
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +2 -2
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts +2 -2
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +2 -2
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.d.ts +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.i18n.js +3 -2
- package/dist/components/inputs/date-field/date-field.i18n.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -1
- package/dist/components/inputs/date-field/date-field.template.js +1 -1
- package/dist/components/inputs/date-field/date-field.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +2 -0
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.emphasis.js +7 -0
- package/dist/components/inputs/text-editor/text-editor.emphasis.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts +5 -0
- package/dist/components/inputs/text-editor/text-editor.focus-selection.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js +17 -1
- package/dist/components/inputs/text-editor/text-editor.focus-selection.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +21 -6
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts +0 -1
- package/dist/components/inputs/time-field/time-field.i18n.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.i18n.js +0 -2
- package/dist/components/inputs/time-field/time-field.i18n.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +69 -13
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +13 -1
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.template.js +13 -10
- package/dist/components/inputs/time-field/time-field.template.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.styles.js +3 -2
- package/dist/components/inputs/time-picker/time-picker.styles.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -1
- package/dist/components/layout/page-sections/page-section-controls.js +2 -2
- package/dist/components/layout/page-sections/page-section-controls.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -1
- package/dist/components/layout/popover/popover.d.ts +29 -0
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +70 -8
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +15 -1
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/popover/popover.template.js +1 -1
- package/dist/components/layout/popover/popover.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +24 -13
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +40 -31
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js +5 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js +15 -8
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.template.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +23 -11
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +39 -29
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js +5 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.styles.js.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js +15 -16
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +68 -2
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +162 -1
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link/link.styles.d.ts.map +1 -1
- package/dist/components/navigation/link/link.styles.js +9 -0
- package/dist/components/navigation/link/link.styles.js.map +1 -1
- package/dist/components/navigation/link/link.template.d.ts +1 -0
- package/dist/components/navigation/link/link.template.d.ts.map +1 -1
- package/dist/components/navigation/link/link.template.js +4 -1
- package/dist/components/navigation/link/link.template.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +12 -4
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.i18n.d.ts +1 -0
- package/dist/components/navigation/skip-link/skip-link.i18n.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.i18n.js +2 -0
- package/dist/components/navigation/skip-link/skip-link.i18n.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +18 -4
- package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js +1 -1
- package/dist/components/navigation/skip-link/skip-link.template.js.map +1 -1
- package/dist/css/global-open-font.css +2 -0
- package/dist/css/global.css +2 -0
- package/dist/css/link.css +93 -0
- package/dist/css/text.css +159 -0
- package/dist/css/title.css +10 -10
- package/dist/nldd.min.js +2207 -2121
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +3 -2
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +3 -2
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +3 -2
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/nl.generated.js +2 -0
- package/dist/translations/nl.generated.js.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +3 -2
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +3 -2
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +40 -16
- package/dist/types/vue.d.ts +42 -16
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +1 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/custom-element.d.ts +10 -0
- package/dist/utilities/custom-element.d.ts.map +1 -1
- package/dist/utilities/custom-element.js +11 -0
- package/dist/utilities/custom-element.js.map +1 -1
- package/dist/utilities/described-by-mixin.d.ts +2 -0
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +10 -1
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-checks.d.ts +8 -0
- package/dist/utilities/dev-checks.d.ts.map +1 -1
- package/dist/utilities/dev-checks.js +36 -0
- package/dist/utilities/dev-checks.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +102 -17
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/interest-controller.d.ts +80 -0
- package/dist/utilities/interest-controller.d.ts.map +1 -0
- package/dist/utilities/interest-controller.js +339 -0
- package/dist/utilities/interest-controller.js.map +1 -0
- package/dist/utilities/page-section-mixin.d.ts +2 -3
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +2 -9
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/slot-content.d.ts +18 -7
- package/dist/utilities/slot-content.d.ts.map +1 -1
- package/dist/utilities/slot-content.js +25 -4
- package/dist/utilities/slot-content.js.map +1 -1
- package/dist/utilities/slotted-block.d.ts +20 -0
- package/dist/utilities/slotted-block.d.ts.map +1 -0
- package/dist/utilities/slotted-block.js +30 -0
- package/dist/utilities/slotted-block.js.map +1 -0
- package/lint/data.generated.json +1 -1
- package/lint/fix.js +43 -2
- package/lint/frontends.js +149 -15
- package/lint/linter.js +3 -2
- package/lint/main.js +17 -3
- package/lint/project.js +2 -2
- package/lint/rule.schema.json +2 -1
- package/package.json +11 -2
- package/dist/cdn/chunks/nl.generated-Bo4bmwYF.js +0 -114
- package/dist/cdn/chunks/skip-link.i18n--PbEdAmJ.js +0 -3
- package/dist/cdn/chunks/slot-content-BLuPqVXw.js +0 -13
- package/dist/cdn/chunks/text-BX4Xm40t.js +0 -406
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { i, n as a,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-DGlHv_OV.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as l } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
6
|
import { t as u } from "./implicit-submission-Csbcor_E.js";
|
|
7
7
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
9
|
-
import "./icon-
|
|
10
|
-
import { t as p } from "./described-by-mixin-
|
|
8
|
+
import { t as f } from "./shadow-resets-CodxnaUh.js";
|
|
9
|
+
import "./icon-BydOAoVO.js";
|
|
10
|
+
import { t as p } from "./described-by-mixin-fLi4Nmt7.js";
|
|
11
11
|
import { r as m } from "./element-state-B-44fVqq.js";
|
|
12
12
|
import { t as h } from "./defer-focus-F73ud2D9.js";
|
|
13
13
|
// src/components/inputs/text-field/text-field.styles.ts
|
|
@@ -350,57 +350,57 @@ var y, b = [
|
|
|
350
350
|
...e.shadowRootOptions,
|
|
351
351
|
delegatesFocus: !0
|
|
352
352
|
}, y.styles = g, y.isFormInput = !0, y.blocksImplicitSubmission = !0, y);
|
|
353
|
-
r([
|
|
353
|
+
r([o({
|
|
354
354
|
reflect: !0,
|
|
355
355
|
converter: d("md")
|
|
356
|
-
})], C.prototype, "size", void 0), r([
|
|
356
|
+
})], C.prototype, "size", void 0), r([o({ type: String })], C.prototype, "value", void 0), r([o({
|
|
357
357
|
type: String,
|
|
358
358
|
attribute: "input-id"
|
|
359
|
-
})], C.prototype, "inputId", void 0), r([
|
|
359
|
+
})], C.prototype, "inputId", void 0), r([o({
|
|
360
360
|
reflect: !0,
|
|
361
361
|
converter: d("")
|
|
362
|
-
})], C.prototype, "placeholder", void 0), r([
|
|
362
|
+
})], C.prototype, "placeholder", void 0), r([o({
|
|
363
363
|
type: Boolean,
|
|
364
364
|
reflect: !0
|
|
365
|
-
})], C.prototype, "invalid", void 0), r([
|
|
365
|
+
})], C.prototype, "invalid", void 0), r([o({
|
|
366
366
|
type: Boolean,
|
|
367
367
|
reflect: !0
|
|
368
|
-
})], C.prototype, "valid", void 0), r([
|
|
368
|
+
})], C.prototype, "valid", void 0), r([o({
|
|
369
369
|
type: Boolean,
|
|
370
370
|
reflect: !0
|
|
371
|
-
})], C.prototype, "disabled", void 0), r([
|
|
371
|
+
})], C.prototype, "disabled", void 0), r([o({ type: String })], C.prototype, "type", void 0), r([o({
|
|
372
372
|
type: String,
|
|
373
373
|
reflect: !0
|
|
374
|
-
})], C.prototype, "keyboard", void 0), r([
|
|
374
|
+
})], C.prototype, "keyboard", void 0), r([o({
|
|
375
375
|
type: String,
|
|
376
376
|
reflect: !0,
|
|
377
377
|
attribute: "enter-key"
|
|
378
|
-
})], C.prototype, "enterKey", void 0), r([
|
|
378
|
+
})], C.prototype, "enterKey", void 0), r([o({
|
|
379
379
|
reflect: !0,
|
|
380
380
|
converter: d("")
|
|
381
|
-
})], C.prototype, "name", void 0), r([
|
|
381
|
+
})], C.prototype, "name", void 0), r([o({
|
|
382
382
|
type: Boolean,
|
|
383
383
|
reflect: !0
|
|
384
|
-
})], C.prototype, "readonly", void 0), r([
|
|
384
|
+
})], C.prototype, "readonly", void 0), r([o({
|
|
385
385
|
type: Boolean,
|
|
386
386
|
reflect: !0
|
|
387
|
-
})], C.prototype, "required", void 0), r([
|
|
387
|
+
})], C.prototype, "required", void 0), r([o({ type: String })], C.prototype, "autocomplete", void 0), r([o({
|
|
388
388
|
type: String,
|
|
389
389
|
attribute: "accessible-label"
|
|
390
|
-
})], C.prototype, "accessibleLabel", void 0), r([
|
|
390
|
+
})], C.prototype, "accessibleLabel", void 0), r([o({
|
|
391
391
|
type: Boolean,
|
|
392
392
|
reflect: !0,
|
|
393
393
|
attribute: "no-spellcheck"
|
|
394
|
-
})], C.prototype, "noSpellcheck", void 0), r([
|
|
394
|
+
})], C.prototype, "noSpellcheck", void 0), r([o({
|
|
395
395
|
reflect: !0,
|
|
396
396
|
converter: d("")
|
|
397
|
-
})], C.prototype, "width", void 0), r([c(".text-field__input")], C.prototype, "_input", void 0), r([
|
|
397
|
+
})], C.prototype, "width", void 0), r([c(".text-field__input")], C.prototype, "_input", void 0), r([a()], C.prototype, "_hasButton", void 0), r([o({
|
|
398
398
|
reflect: !0,
|
|
399
399
|
converter: d("")
|
|
400
|
-
})], C.prototype, "pattern", void 0), r([
|
|
400
|
+
})], C.prototype, "pattern", void 0), r([o({
|
|
401
401
|
type: Number,
|
|
402
402
|
reflect: !0
|
|
403
|
-
})], C.prototype, "minlength", void 0), r([
|
|
403
|
+
})], C.prototype, "minlength", void 0), r([o({
|
|
404
404
|
type: Number,
|
|
405
405
|
reflect: !0
|
|
406
406
|
})], C.prototype, "maxlength", void 0), C = r([s("nldd-text-field")], C);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i,
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-Czy-wI4F.js";
|
|
2
|
+
import { a as i, n as a, o, r as s } from "./custom-element-DGlHv_OV.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as l } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
5
|
import { t as u } from "./implicit-submission-Csbcor_E.js";
|
|
6
6
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as f } from "./shadow-resets-
|
|
7
|
+
import { t as f } from "./shadow-resets-CodxnaUh.js";
|
|
8
8
|
import { n as p } from "./breakpoints-Cwor8TRP.js";
|
|
9
|
-
import "./icon-button-
|
|
10
|
-
import "./icon-
|
|
11
|
-
import "./popover-
|
|
12
|
-
import "./container-
|
|
13
|
-
import "./spacer-
|
|
14
|
-
import "./button-
|
|
15
|
-
import "./top-title-bar-
|
|
16
|
-
import "./time-picker-
|
|
17
|
-
import { t as m } from "./time-field.i18n-
|
|
18
|
-
import { t as h } from "./described-by-mixin-
|
|
9
|
+
import "./icon-button-C_MZ-jXt.js";
|
|
10
|
+
import "./icon-BydOAoVO.js";
|
|
11
|
+
import "./popover-C-jxcCHx.js";
|
|
12
|
+
import "./container-Be2J-GhB.js";
|
|
13
|
+
import "./spacer-H4zmoDr_.js";
|
|
14
|
+
import "./button-CwY9fWCg.js";
|
|
15
|
+
import "./top-title-bar-BUjpi-w6.js";
|
|
16
|
+
import "./time-picker-DYkxhEYm.js";
|
|
17
|
+
import { t as m } from "./time-field.i18n-BM6qGbmN.js";
|
|
18
|
+
import { t as h } from "./described-by-mixin-fLi4Nmt7.js";
|
|
19
19
|
import { n as g, r as _ } from "./return-focus-BzZWhXhc.js";
|
|
20
|
-
import { t as v } from "./translations-
|
|
20
|
+
import { t as v } from "./translations-BWgmZCAK.js";
|
|
21
21
|
// src/components/inputs/time-field/time-field.styles.ts
|
|
22
|
-
var y =
|
|
22
|
+
var y = o(p.smMax), b = o(p.mdMin), x = i`
|
|
23
23
|
:host {
|
|
24
24
|
box-sizing: border-box;
|
|
25
25
|
}
|
|
@@ -33,6 +33,7 @@ var y = i(p.mdMin), b = a`
|
|
|
33
33
|
--_time-field-validation-icon-area-width: calc(var(--_time-field-validation-icon-size) + var(--primitives-space-8));
|
|
34
34
|
--_time-field-picker-button-size: var(--semantics-controls-sm-min-size);
|
|
35
35
|
--_time-field-end-padding-right: calc((var(--_time-field-min-size) - var(--_time-field-picker-button-size)) / 2 - var(--semantics-input-fields-border-width));
|
|
36
|
+
--_time-field-nested-control-corner-radius: calc(var(--_time-field-corner-radius) - var(--_time-field-end-padding-right) - var(--semantics-input-fields-border-width));
|
|
36
37
|
--_time-field-trailing-width: calc(var(--_time-field-validation-icon-area-width) + var(--_time-field-picker-button-size) + var(--_time-field-end-padding-right));
|
|
37
38
|
--_time-field-fixed-width: calc(var(--_time-field-edge-width) + var(--_time-field-trailing-width));
|
|
38
39
|
--_time-field-width: calc(var(--_time-field-fixed-width) + var(--_time-field-text-width));
|
|
@@ -177,7 +178,7 @@ var y = i(p.mdMin), b = a`
|
|
|
177
178
|
top: 0;
|
|
178
179
|
right: 0;
|
|
179
180
|
bottom: 0;
|
|
180
|
-
border-radius: var(--_time-field-corner-radius);
|
|
181
|
+
border-radius: 0 calc(var(--_time-field-corner-radius) - var(--semantics-input-fields-border-width)) calc(var(--_time-field-corner-radius) - var(--semantics-input-fields-border-width)) 0;
|
|
181
182
|
background: linear-gradient(90deg, color-mix(in oklch, var(--_time-field-background-color) 0%, transparent) 0%, var(--_time-field-background-color) 100%);
|
|
182
183
|
pointer-events: none;
|
|
183
184
|
width: var(--primitives-space-8);
|
|
@@ -216,14 +217,24 @@ var y = i(p.mdMin), b = a`
|
|
|
216
217
|
align-items: center;
|
|
217
218
|
}
|
|
218
219
|
|
|
220
|
+
.time-field__picker-button :is(nldd-button, nldd-icon-button, nldd-token) {
|
|
221
|
+
--context-control-corner-radius: var(--_time-field-nested-control-corner-radius);
|
|
222
|
+
}
|
|
223
|
+
|
|
219
224
|
|
|
220
|
-
@media (
|
|
225
|
+
@media (max-width: ${y}) {
|
|
226
|
+
.time-field__picker-confirm {
|
|
227
|
+
display: none;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
@media (min-width: ${b}) {
|
|
221
232
|
.time-field__picker-button nldd-top-title-bar {
|
|
222
233
|
display: none;
|
|
223
234
|
}
|
|
224
235
|
}
|
|
225
|
-
`,
|
|
226
|
-
function
|
|
236
|
+
`, S = "calc(var(--semantics-controls-md-min-size) * 3 + var(--primitives-space-48) + var(--primitives-space-16) * 2)";
|
|
237
|
+
function C(e) {
|
|
227
238
|
let r = e.invalid ? "invalid" : e.valid ? "valid" : "";
|
|
228
239
|
return r ? t`
|
|
229
240
|
<div class="time-field__validation-icon-area">
|
|
@@ -236,7 +247,7 @@ function S(e) {
|
|
|
236
247
|
</div>
|
|
237
248
|
` : n;
|
|
238
249
|
}
|
|
239
|
-
function
|
|
250
|
+
function w(e) {
|
|
240
251
|
if (e.noPicker || e.readonly) return n;
|
|
241
252
|
let r = e.size === "sm" ? "xs" : "sm";
|
|
242
253
|
return t`
|
|
@@ -254,13 +265,13 @@ function C(e) {
|
|
|
254
265
|
<nldd-popover
|
|
255
266
|
accessible-label=${e._pickerLabel}
|
|
256
267
|
placement="bottom-end"
|
|
257
|
-
width=${
|
|
268
|
+
width=${S}
|
|
258
269
|
@toggle=${e._handlePopoverToggle}
|
|
259
270
|
>
|
|
260
271
|
<nldd-top-title-bar
|
|
261
272
|
text=${e._pickerLabel}
|
|
262
|
-
dismiss-text=${e._t("components.time-field.
|
|
263
|
-
@dismiss=${e.
|
|
273
|
+
dismiss-text=${e._t("components.time-field.confirm-action")}
|
|
274
|
+
@dismiss=${e._handlePickerConfirm}
|
|
264
275
|
></nldd-top-title-bar>
|
|
265
276
|
<nldd-container
|
|
266
277
|
padding="16"
|
|
@@ -276,26 +287,29 @@ function C(e) {
|
|
|
276
287
|
<nldd-time-picker
|
|
277
288
|
autofocus
|
|
278
289
|
width="full"
|
|
290
|
+
rows=${e._pickerRows}
|
|
279
291
|
value=${e._pickerValue || n}
|
|
280
292
|
min=${e.min || n}
|
|
281
293
|
max=${e.max || n}
|
|
282
294
|
step=${e.step}
|
|
283
295
|
></nldd-time-picker>
|
|
284
296
|
`}
|
|
285
|
-
<
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
297
|
+
<div class="time-field__picker-confirm">
|
|
298
|
+
<nldd-spacer size="16"></nldd-spacer>
|
|
299
|
+
<nldd-button
|
|
300
|
+
appearance="neutral-tinted"
|
|
301
|
+
size=${e._pickerButtonSize}
|
|
302
|
+
width="full"
|
|
303
|
+
text=${e._t("components.time-field.confirm-action")}
|
|
304
|
+
@click=${e._handlePickerConfirm}
|
|
305
|
+
></nldd-button>
|
|
306
|
+
</div>
|
|
293
307
|
</nldd-container>
|
|
294
308
|
</nldd-popover>
|
|
295
309
|
</div>
|
|
296
310
|
`;
|
|
297
311
|
}
|
|
298
|
-
function
|
|
312
|
+
function T(e) {
|
|
299
313
|
return t`
|
|
300
314
|
<div class="time-field">
|
|
301
315
|
<input class="time-field__input"
|
|
@@ -315,82 +329,82 @@ function w(e) {
|
|
|
315
329
|
@change=${e._handleChange}
|
|
316
330
|
>
|
|
317
331
|
<div class="time-field__input-fade"></div>
|
|
318
|
-
${S(e)}
|
|
319
332
|
${C(e)}
|
|
333
|
+
${w(e)}
|
|
320
334
|
</div>
|
|
321
335
|
`;
|
|
322
336
|
}
|
|
323
337
|
// src/components/inputs/time-field/time-field.times.ts
|
|
324
|
-
var
|
|
325
|
-
function
|
|
338
|
+
var E = 1439;
|
|
339
|
+
function D(e) {
|
|
326
340
|
let [t, n] = e.split(":");
|
|
327
341
|
return Number(t) * 60 + Number(n);
|
|
328
342
|
}
|
|
329
|
-
function
|
|
343
|
+
function O(e) {
|
|
330
344
|
let t = Math.floor(e / 60), n = e % 60;
|
|
331
345
|
return `${String(t).padStart(2, "0")}:${String(n).padStart(2, "0")}`;
|
|
332
346
|
}
|
|
333
|
-
function
|
|
334
|
-
return e < 0 || e > 23 || t < 0 || t > 59 ? null :
|
|
347
|
+
function k(e, t) {
|
|
348
|
+
return e < 0 || e > 23 || t < 0 || t > 59 ? null : O(e * 60 + t);
|
|
335
349
|
}
|
|
336
|
-
function
|
|
350
|
+
function A(e) {
|
|
337
351
|
let t = e.trim();
|
|
338
352
|
if (t === "") return null;
|
|
339
353
|
let n = /^(\d{1,2})\s*[uh]\s*(\d{1,2})?$/i.exec(t);
|
|
340
|
-
if (n) return
|
|
354
|
+
if (n) return k(Number(n[1]), Number(n[2] ?? 0));
|
|
341
355
|
let r = /^(\d{1,2})\s*[:.,]\s*(\d{1,2})$/.exec(t);
|
|
342
|
-
if (r) return
|
|
356
|
+
if (r) return k(Number(r[1]), Number(r[2]));
|
|
343
357
|
let i = /^\d{1,4}$/.exec(t);
|
|
344
358
|
if (i) {
|
|
345
359
|
let e = i[0];
|
|
346
|
-
if (e.length <= 2) return
|
|
360
|
+
if (e.length <= 2) return k(Number(e), 0);
|
|
347
361
|
let t = e.length === 3 ? 1 : 2;
|
|
348
|
-
return
|
|
362
|
+
return k(Number(e.slice(0, t)), Number(e.slice(t)));
|
|
349
363
|
}
|
|
350
364
|
return null;
|
|
351
365
|
}
|
|
352
|
-
function
|
|
366
|
+
function j(e, t, n = "00:00") {
|
|
353
367
|
if (t <= 1) return e;
|
|
354
|
-
let r =
|
|
355
|
-
for (; i >
|
|
368
|
+
let r = D(n), i = r + Math.floor((D(e) - r) / t + .5) * t;
|
|
369
|
+
for (; i > E;) i -= t;
|
|
356
370
|
for (; i < 0;) i += t;
|
|
357
|
-
return
|
|
371
|
+
return O(i);
|
|
358
372
|
}
|
|
359
|
-
function
|
|
360
|
-
let r =
|
|
373
|
+
function M(e, t, n) {
|
|
374
|
+
let r = A(e) ?? "";
|
|
361
375
|
return {
|
|
362
376
|
min: r,
|
|
363
|
-
max:
|
|
377
|
+
max: A(t) ?? "",
|
|
364
378
|
step: Math.max(1, Math.round(n) || 1),
|
|
365
379
|
base: r || "00:00"
|
|
366
380
|
};
|
|
367
381
|
}
|
|
368
|
-
function
|
|
382
|
+
function N(e, t) {
|
|
369
383
|
return !(t.min && e < t.min || t.max && e > t.max);
|
|
370
384
|
}
|
|
371
|
-
function
|
|
372
|
-
let r =
|
|
385
|
+
function P(e, t, n) {
|
|
386
|
+
let r = A(e);
|
|
373
387
|
if (!r) return "";
|
|
374
|
-
let i = n ?
|
|
375
|
-
return
|
|
388
|
+
let i = n ? j(r, t.step, t.base) : r;
|
|
389
|
+
return N(i, t) ? i : "";
|
|
376
390
|
}
|
|
377
|
-
function
|
|
391
|
+
function F(e, t) {
|
|
378
392
|
if (!e) return null;
|
|
379
|
-
let n =
|
|
380
|
-
return
|
|
393
|
+
let n = D(t.base);
|
|
394
|
+
return O(n + Math.max(0, Math.floor((D(e) - n) / t.step)) * t.step);
|
|
381
395
|
}
|
|
382
|
-
function
|
|
396
|
+
function I(e, t) {
|
|
383
397
|
if (e.min) return e.min;
|
|
384
|
-
let n =
|
|
385
|
-
return !e.max || n <= e.max ? n :
|
|
398
|
+
let n = j(O(t.getHours() * 60 + t.getMinutes()), e.step, e.base);
|
|
399
|
+
return !e.max || n <= e.max ? n : F(e.max, e) ?? n;
|
|
386
400
|
}
|
|
387
|
-
function
|
|
388
|
-
let { step: r } = n, i =
|
|
389
|
-
return
|
|
401
|
+
function L(e, t, n) {
|
|
402
|
+
let { step: r } = n, i = D(n.base), a = D(j(e, r, n.base)), o = a === D(e) || r === 1 ? a + t * r : a, s = Math.min(Math.max(o, i % r), E), c = n.min ? D(n.min) : 0, l = n.max ? D(n.max) : E;
|
|
403
|
+
return O(Math.min(Math.max(s, c), l));
|
|
390
404
|
}
|
|
391
|
-
function
|
|
405
|
+
function R(e, t) {
|
|
392
406
|
if (!e.trim()) return null;
|
|
393
|
-
let n =
|
|
407
|
+
let n = A(e);
|
|
394
408
|
return n ? t.min && n < t.min ? {
|
|
395
409
|
flag: "rangeUnderflow",
|
|
396
410
|
bound: t.min
|
|
@@ -400,28 +414,33 @@ function L(e, t) {
|
|
|
400
414
|
} : null : { flag: "badInput" };
|
|
401
415
|
}
|
|
402
416
|
// src/components/inputs/time-field/time-field.ts
|
|
403
|
-
var
|
|
417
|
+
var z, B, V = 7, H = 3, U = (z = class extends h(l(e)) {
|
|
404
418
|
constructor(...e) {
|
|
405
|
-
super(...e), this._initialValue = "", this.size = "md", this.value = "", this.min = "", this.max = "", this.step = 1, this.noPicker = !1, this.inputId = "", this.placeholder = "", this.invalid = !1, this.valid = !1, this.disabled = !1, this.readonly = !1, this.required = !1, this.name = "", this.autocomplete = "", this.accessibleLabel = "", this.width = "", this.translations = {}, this._finePointer = !1, this._handlePointerChange = () => {
|
|
406
|
-
this._finePointer =
|
|
419
|
+
super(...e), this._initialValue = "", this.size = "md", this.value = "", this.min = "", this.max = "", this.step = 1, this.noPicker = !1, this.inputId = "", this.placeholder = "", this.invalid = !1, this.valid = !1, this.disabled = !1, this.readonly = !1, this.required = !1, this.name = "", this.autocomplete = "", this.accessibleLabel = "", this.width = "", this.translations = {}, this._finePointer = !1, this._pickerRows = V, this._handlePointerChange = () => {
|
|
420
|
+
this._finePointer = B._getFinePointerQuery().matches;
|
|
407
421
|
}, this._display = "", this._hasSlottedPicker = !1, this._pickerOpen = !1, this._focusTriggerOnClose = !1, this._valueBeforePicker = "", this._pickerState = "untouched", this._pickerSeed = "", this._handlePickerEscape = (e) => {
|
|
408
422
|
e.key === "Escape" && (this._pickerState = "cancelled");
|
|
423
|
+
}, this._fitFrame = 0, this._handleWindowResize = () => {
|
|
424
|
+
cancelAnimationFrame(this._fitFrame), this._fitFrame = requestAnimationFrame(() => {
|
|
425
|
+
let e = this.shadowRoot?.querySelector("nldd-time-picker");
|
|
426
|
+
e && !this._slottedPicker && this._fitPickerRows(e);
|
|
427
|
+
});
|
|
409
428
|
};
|
|
410
429
|
}
|
|
411
430
|
static _getFinePointerQuery() {
|
|
412
431
|
var e;
|
|
413
|
-
return (e =
|
|
432
|
+
return (e = B)._finePointerQuery ?? (e._finePointerQuery = matchMedia("(pointer: fine)")), B._finePointerQuery;
|
|
414
433
|
}
|
|
415
434
|
get _pickerButtonSize() {
|
|
416
435
|
return this._finePointer ? "sm" : "md";
|
|
417
436
|
}
|
|
418
437
|
connectedCallback() {
|
|
419
438
|
super.connectedCallback();
|
|
420
|
-
let e =
|
|
439
|
+
let e = B._getFinePointerQuery();
|
|
421
440
|
this._finePointer = e.matches, e.addEventListener("change", this._handlePointerChange);
|
|
422
441
|
}
|
|
423
442
|
disconnectedCallback() {
|
|
424
|
-
|
|
443
|
+
B._getFinePointerQuery().removeEventListener("change", this._handlePointerChange), document.removeEventListener("keydown", this._handlePickerEscape, !0), window.removeEventListener("resize", this._handleWindowResize), cancelAnimationFrame(this._fitFrame), super.disconnectedCallback();
|
|
425
444
|
}
|
|
426
445
|
_t(e) {
|
|
427
446
|
return v(this.translations, m, e);
|
|
@@ -433,10 +452,10 @@ var R = class extends h(l(e)) {
|
|
|
433
452
|
return this._display;
|
|
434
453
|
}
|
|
435
454
|
get _rules() {
|
|
436
|
-
return
|
|
455
|
+
return M(this.min, this.max, this.step);
|
|
437
456
|
}
|
|
438
457
|
_commit(e, t = !1) {
|
|
439
|
-
return
|
|
458
|
+
return P(e, this._rules, t);
|
|
440
459
|
}
|
|
441
460
|
_handleInput(e) {
|
|
442
461
|
e.stopPropagation();
|
|
@@ -451,7 +470,7 @@ var R = class extends h(l(e)) {
|
|
|
451
470
|
_handleInputKeydown(e) {
|
|
452
471
|
if (u(this, e) || e.key !== "ArrowUp" && e.key !== "ArrowDown" || this.disabled || this.readonly) return;
|
|
453
472
|
e.preventDefault();
|
|
454
|
-
let t = this._rules, n = this.value ||
|
|
473
|
+
let t = this._rules, n = this.value || A(this._display), r = n ? L(n, e.key === "ArrowUp" ? 1 : -1, t) : I(t, /* @__PURE__ */ new Date());
|
|
455
474
|
this._display = r, this.value = r, this._emit("input"), this._emit("change");
|
|
456
475
|
}
|
|
457
476
|
get _slottedPicker() {
|
|
@@ -487,13 +506,23 @@ var R = class extends h(l(e)) {
|
|
|
487
506
|
});
|
|
488
507
|
}
|
|
489
508
|
_openPicker() {
|
|
490
|
-
this._valueBeforePicker = this.value, this._pickerState = "untouched", this._pickerSeed = this.value ||
|
|
509
|
+
this._valueBeforePicker = this.value, this._pickerState = "untouched", this._pickerSeed = this.value || I(this._rules, /* @__PURE__ */ new Date()), this._pickerRows = V, document.addEventListener("keydown", this._handlePickerEscape, !0), window.addEventListener("resize", this._handleWindowResize), this.updateComplete.then(async () => {
|
|
491
510
|
let e = this._slottedPicker ?? this.shadowRoot?.querySelector("nldd-time-picker");
|
|
492
|
-
e && (await e.updateComplete, e.scrollSelectedIntoView());
|
|
511
|
+
e && (await e.updateComplete, e.scrollSelectedIntoView(), this._slottedPicker || await this._fitPickerRows(e));
|
|
493
512
|
});
|
|
494
513
|
}
|
|
514
|
+
async _fitPickerRows(e) {
|
|
515
|
+
let t = this._popover;
|
|
516
|
+
if (!t || (await new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(e))), !this._pickerOpen)) return;
|
|
517
|
+
let n = parseFloat(getComputedStyle(t).maxHeight);
|
|
518
|
+
if (!Number.isFinite(n)) return;
|
|
519
|
+
let r = e.shadowRoot?.querySelector(".time-picker__list-item")?.getBoundingClientRect().height ?? 0;
|
|
520
|
+
if (!r) return;
|
|
521
|
+
let i = t.shadowRoot?.querySelector(".popover__scroller"), a = t.offsetHeight + (i ? i.scrollHeight - i.clientHeight : 0), o = Math.min(V, Math.max(H, this._pickerRows + Math.floor((n - a) / r)));
|
|
522
|
+
o !== this._pickerRows && (this._pickerRows = o, await this.updateComplete, await e.updateComplete, e.scrollSelectedIntoView());
|
|
523
|
+
}
|
|
495
524
|
_settlePicker() {
|
|
496
|
-
if (document.removeEventListener("keydown", this._handlePickerEscape, !0), this._pickerState === "untouched" || this._pickerState === "cancelled") {
|
|
525
|
+
if (document.removeEventListener("keydown", this._handlePickerEscape, !0), window.removeEventListener("resize", this._handleWindowResize), cancelAnimationFrame(this._fitFrame), this._pickerState === "untouched" || this._pickerState === "cancelled") {
|
|
497
526
|
if (this.value === this._valueBeforePicker) return;
|
|
498
527
|
this.value = this._valueBeforePicker, this._emit("input");
|
|
499
528
|
} else !this.value && this._pickerSeed && (this.value = this._pickerSeed, this._emit("input")), this.value !== this._valueBeforePicker && this._emit("change");
|
|
@@ -517,14 +546,11 @@ var R = class extends h(l(e)) {
|
|
|
517
546
|
_closePicker() {
|
|
518
547
|
this._focusTriggerOnClose = !0, this._popover?.hide();
|
|
519
548
|
}
|
|
520
|
-
_handlePickerDismiss(e) {
|
|
521
|
-
e.stopPropagation(), this._pickerState = "cancelled", this._focusTriggerOnClose = !0, this._popover?.hide();
|
|
522
|
-
}
|
|
523
549
|
formValue() {
|
|
524
550
|
return this.value;
|
|
525
551
|
}
|
|
526
552
|
ownValidity() {
|
|
527
|
-
let e =
|
|
553
|
+
let e = R(this._display, this._rules);
|
|
528
554
|
return e ? {
|
|
529
555
|
flags: { [e.flag]: !0 },
|
|
530
556
|
message: this._problemMessage(e)
|
|
@@ -564,48 +590,48 @@ var R = class extends h(l(e)) {
|
|
|
564
590
|
}
|
|
565
591
|
}
|
|
566
592
|
render() {
|
|
567
|
-
return
|
|
593
|
+
return T(this);
|
|
568
594
|
}
|
|
569
|
-
},
|
|
595
|
+
}, B = z, z.shadowRootOptions = {
|
|
570
596
|
...e.shadowRootOptions,
|
|
571
597
|
delegatesFocus: !0
|
|
572
|
-
},
|
|
573
|
-
r([
|
|
598
|
+
}, z.styles = x, z.isFormInput = !0, z.blocksImplicitSubmission = !0, z._finePointerQuery = null, z);
|
|
599
|
+
r([s({
|
|
574
600
|
reflect: !0,
|
|
575
601
|
converter: d("md")
|
|
576
|
-
})],
|
|
602
|
+
})], U.prototype, "size", void 0), r([s({ type: String })], U.prototype, "value", void 0), r([s({ type: String })], U.prototype, "min", void 0), r([s({ type: String })], U.prototype, "max", void 0), r([s({ type: Number })], U.prototype, "step", void 0), r([s({
|
|
577
603
|
type: Boolean,
|
|
578
604
|
reflect: !0,
|
|
579
605
|
attribute: "no-picker"
|
|
580
|
-
})],
|
|
606
|
+
})], U.prototype, "noPicker", void 0), r([s({
|
|
581
607
|
type: String,
|
|
582
608
|
attribute: "input-id"
|
|
583
|
-
})],
|
|
609
|
+
})], U.prototype, "inputId", void 0), r([s({
|
|
584
610
|
reflect: !0,
|
|
585
611
|
converter: d("")
|
|
586
|
-
})],
|
|
612
|
+
})], U.prototype, "placeholder", void 0), r([s({
|
|
587
613
|
type: Boolean,
|
|
588
614
|
reflect: !0
|
|
589
|
-
})],
|
|
615
|
+
})], U.prototype, "invalid", void 0), r([s({
|
|
590
616
|
type: Boolean,
|
|
591
617
|
reflect: !0
|
|
592
|
-
})],
|
|
618
|
+
})], U.prototype, "valid", void 0), r([s({
|
|
593
619
|
type: Boolean,
|
|
594
620
|
reflect: !0
|
|
595
|
-
})],
|
|
621
|
+
})], U.prototype, "disabled", void 0), r([s({
|
|
596
622
|
type: Boolean,
|
|
597
623
|
reflect: !0
|
|
598
|
-
})],
|
|
624
|
+
})], U.prototype, "readonly", void 0), r([s({
|
|
599
625
|
type: Boolean,
|
|
600
626
|
reflect: !0
|
|
601
|
-
})],
|
|
627
|
+
})], U.prototype, "required", void 0), r([s({
|
|
602
628
|
reflect: !0,
|
|
603
629
|
converter: d("")
|
|
604
|
-
})],
|
|
630
|
+
})], U.prototype, "name", void 0), r([s({ type: String })], U.prototype, "autocomplete", void 0), r([s({
|
|
605
631
|
type: String,
|
|
606
632
|
attribute: "accessible-label"
|
|
607
|
-
})],
|
|
633
|
+
})], U.prototype, "accessibleLabel", void 0), r([s({
|
|
608
634
|
reflect: !0,
|
|
609
635
|
converter: d("")
|
|
610
|
-
})],
|
|
611
|
-
export {
|
|
636
|
+
})], U.prototype, "width", void 0), r([s({ type: Object })], U.prototype, "translations", void 0), r([a()], U.prototype, "_finePointer", void 0), r([a()], U.prototype, "_pickerRows", void 0), r([a()], U.prototype, "_display", void 0), r([a()], U.prototype, "_hasSlottedPicker", void 0), r([a()], U.prototype, "_pickerOpen", void 0), r([a()], U.prototype, "_pickerSeed", void 0), U = B = r([c("nldd-time-field")], U);
|
|
637
|
+
export { U as NLDDTimeField, A as parseTime, j as roundToStep };
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
var e = {
|
|
3
3
|
"components.time-field.default-label": "Tijd",
|
|
4
4
|
"components.time-field.to-pick-time-action": "Tijd kiezen",
|
|
5
|
-
"components.time-field.cancel-action": "Annuleer",
|
|
6
5
|
"components.time-field.confirm-action": "Klaar",
|
|
7
6
|
"components.time-field.bad-input-error-text": "Een tijd als uu:mm",
|
|
8
7
|
"components.time-field.range-underflow-error-text": "Een tijd vanaf {time}",
|
|
@@ -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 {
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-Czy-wI4F.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-DGlHv_OV.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-
|
|
5
|
+
import { t as l } from "./shadow-resets-CodxnaUh.js";
|
|
6
6
|
import { t as u } from "./time-picker.i18n-BilOCXlS.js";
|
|
7
|
-
import { t as d } from "./described-by-mixin-
|
|
7
|
+
import { t as d } from "./described-by-mixin-fLi4Nmt7.js";
|
|
8
8
|
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
|
-
import { t as p } from "./translations-
|
|
9
|
+
import { t as p } from "./translations-BWgmZCAK.js";
|
|
10
10
|
import { t as m } from "./defer-focus-F73ud2D9.js";
|
|
11
11
|
// src/components/inputs/time-picker/time-picker.styles.ts
|
|
12
12
|
var h = a`
|
|
@@ -28,6 +28,7 @@ var h = a`
|
|
|
28
28
|
--_time-picker-list-width: calc(var(--_time-picker-control-min-size) * 1.5);
|
|
29
29
|
--_time-picker-rows: 7;
|
|
30
30
|
--_time-picker-list-height: calc(var(--_time-picker-control-min-size) * var(--_time-picker-rows));
|
|
31
|
+
--_time-picker-list-edge-height: calc((var(--_time-picker-list-height) - var(--_time-picker-control-min-size)) / 2);
|
|
31
32
|
--_time-picker-list-gap: var(--primitives-space-4);
|
|
32
33
|
/* initial keeps it guaranteed-invalid, so width lands on auto as long as
|
|
33
34
|
the attribute sets nothing. */
|
|
@@ -79,7 +80,7 @@ var h = a`
|
|
|
79
80
|
/* Not mandatory: then the browser always has to land on a snap point, and a
|
|
80
81
|
short list can refuse to scroll. */
|
|
81
82
|
scroll-snap-type: y proximity;
|
|
82
|
-
mask-image: linear-gradient(to bottom, transparent 0
|
|
83
|
+
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%);
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
/* Snapping would pull each frame of the glide to the nearest value. */
|
|
@@ -100,7 +101,7 @@ var h = a`
|
|
|
100
101
|
content: '';
|
|
101
102
|
display: block;
|
|
102
103
|
flex-shrink: 0;
|
|
103
|
-
height:
|
|
104
|
+
height: var(--_time-picker-list-edge-height);
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
.time-picker__list-item {
|
|
@@ -504,16 +505,16 @@ var k = (x = class extends d(t) {
|
|
|
504
505
|
return y(this);
|
|
505
506
|
}
|
|
506
507
|
}, x.styles = h, x.isFormInput = !0, x);
|
|
507
|
-
i([
|
|
508
|
+
i([s({ type: String })], k.prototype, "value", void 0), i([s({ type: String })], k.prototype, "min", void 0), i([s({ type: String })], k.prototype, "max", void 0), i([s({ type: Number })], k.prototype, "step", void 0), i([s({
|
|
508
509
|
reflect: !0,
|
|
509
510
|
converter: f(7)
|
|
510
|
-
})], k.prototype, "rows", void 0), i([
|
|
511
|
+
})], k.prototype, "rows", void 0), i([s({
|
|
511
512
|
reflect: !0,
|
|
512
513
|
converter: f("")
|
|
513
|
-
})], k.prototype, "width", void 0), i([
|
|
514
|
+
})], k.prototype, "width", void 0), i([s({
|
|
514
515
|
type: String,
|
|
515
516
|
attribute: "accessible-label"
|
|
516
|
-
})], k.prototype, "accessibleLabel", void 0), i([
|
|
517
|
+
})], k.prototype, "accessibleLabel", void 0), i([s({ type: Object })], k.prototype, "translations", void 0), i([o()], k.prototype, "_scrolledTo", void 0), i([s({
|
|
517
518
|
type: Boolean,
|
|
518
519
|
reflect: !0
|
|
519
520
|
})], k.prototype, "invalid", void 0), k = i([c("nldd-time-picker")], k);
|