@nldd/design-system 0.25.0 → 0.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +2496 -50
- package/dist/cdn/autoloader.js +141 -137
- package/dist/cdn/chunks/accordion-CE_VBJPo.js +90 -0
- package/dist/cdn/chunks/accordion-item-CkIrLwn9.js +242 -0
- package/dist/cdn/chunks/{activity-indicator-Dc6c9HtC.js → activity-indicator-DHgkMBdz.js} +5 -5
- package/dist/cdn/chunks/admonition-CK1c7HiM.js +379 -0
- package/dist/cdn/chunks/{avatar-CHXRpWWk.js → avatar-DwS0FqYL.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-B76E8oC6.js → avatar-group-BX1URuq1.js} +15 -15
- package/dist/cdn/chunks/{badge-tO7gHhdi.js → badge-Dyfzch0N.js} +5 -5
- package/dist/cdn/chunks/{banner-D4kFQYXF.js → banner-BPUb-ZpJ.js} +33 -32
- package/dist/cdn/chunks/{bar-split-view-C9bYdWSR.js → bar-split-view-BitGKRYw.js} +5 -5
- package/dist/cdn/chunks/{blockquote-DRJajjBB.js → blockquote-CAnK7XlI.js} +3 -3
- package/dist/cdn/chunks/{box-D10mS19t.js → box-epVc6r3W.js} +10 -10
- package/dist/cdn/chunks/{breadcrumbs-BUdQJG3z.js → breadcrumbs-CY5m5_72.js} +5 -5
- package/dist/cdn/chunks/{button-CwY9fWCg.js → button-1F4MG_21.js} +8 -8
- package/dist/cdn/chunks/{button-bar-DkqbRvff.js → button-bar-BcmQQqns.js} +3 -3
- package/dist/cdn/chunks/{button-group-p364JgTR.js → button-group-vez-t2RB.js} +2 -2
- package/dist/cdn/chunks/{card-B7TaSaw7.js → card-sHcZK0Sx.js} +8 -6
- package/dist/cdn/chunks/{cell-BTIpXf1T.js → cell-_FH10LVj.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BLEK0rAV.js → checkbox-B2EXnuni.js} +4 -4
- package/dist/cdn/chunks/checkbox-field-DYBeOCXv.js +244 -0
- package/dist/cdn/chunks/checkbox-group-zV_EgqJ1.js +103 -0
- package/dist/cdn/chunks/{class-map-5WYS_nCb.js → class-map-3v5_QWa6.js} +1 -1
- package/dist/cdn/chunks/{code-editor-CanGMLIo.js → code-editor-DVHvHweL.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-DCZ3wjMd.js → code-viewer-CRc5yGTZ.js} +102 -87
- package/dist/cdn/chunks/{codemirror-input-CtvDBy25.js → codemirror-input-CgrWL_xI.js} +4 -4
- package/dist/cdn/chunks/{collection-D8K79X0H.js → collection-BobIdtqA.js} +8 -8
- package/dist/cdn/chunks/{combo-box-BeWoeEY8.js → combo-box-1h_xzaHk.js} +9 -8
- package/dist/cdn/chunks/{container-Be2J-GhB.js → container-RIa-Sff8.js} +2 -2
- package/dist/cdn/chunks/css-time-DmkAFd1y.js +8 -0
- package/dist/cdn/chunks/{custom-element-DGlHv_OV.js → custom-element-Dmqf9u_a.js} +1 -1
- package/dist/cdn/chunks/{date-field-BLaGVd4x.js → date-field-BN9TIiUH.js} +99 -87
- package/dist/cdn/chunks/{date-picker-C4mLZKWF.js → date-picker-BFvZvzwT.js} +10 -10
- package/dist/cdn/chunks/{decorate-Czy-wI4F.js → decorate-D_xx_M26.js} +1 -1
- package/dist/cdn/chunks/described-by-mixin-C3iCCTgg.js +62 -0
- package/dist/cdn/chunks/{description-cell-aQyLX0U0.js → description-cell-D9oU3cOo.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-qTR6tciJ.js → dev-checks-Dcd5eLU5.js} +57 -4
- package/dist/cdn/chunks/directive-helpers-B40ApSJp.js +24 -0
- package/dist/cdn/chunks/{dist-CZOXq9aZ.js → dist-0pu3OKnY.js} +1 -1
- package/dist/cdn/chunks/{dist-CX0g6sV1.js → dist-8y5HG5So.js} +3 -3
- package/dist/cdn/chunks/{dist-BNS6C8sP.js → dist-B5Qpgwkt.js} +2 -2
- package/dist/cdn/chunks/{dist-DHK9tNd7.js → dist-BJyPLZy3.js} +1 -1
- package/dist/cdn/chunks/{dist-BLnIbkqH.js → dist-BVrnRVfm.js} +1 -1
- package/dist/cdn/chunks/{dist-WQv_JUmB.js → dist-BZuHdnRq.js} +2 -2
- package/dist/cdn/chunks/{dist-fDpuYq7K.js → dist-BzfZCamJ.js} +1 -1
- package/dist/cdn/chunks/{dist-CdF0c6UD.js → dist-CPfUaZn6.js} +2 -2
- package/dist/cdn/chunks/{dist-_QFa91Kz.js → dist-Cxpg90R5.js} +1 -1
- package/dist/cdn/chunks/{dist-p1FcXq9E.js → dist-DRizG2xD.js} +3 -3
- package/dist/cdn/chunks/{dist-B_fXtXqM.js → dist-De4uSuY6.js} +1 -1
- package/dist/cdn/chunks/{divider-2hHcSIga.js → divider-DhmeevvA.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CIWiZUB5.js → document-tab-bar-BxgIq1Lc.js} +51 -50
- package/dist/cdn/chunks/{dropdown-Bwn6dQrK.js → dropdown-BTnHERYI.js} +5 -5
- package/dist/cdn/chunks/{file-field-CtQ6Fzkj.js → file-field-BoQCuthe.js} +12 -12
- package/dist/cdn/chunks/{floating-ui.dom-B8J1rV2c.js → floating-ui.dom-BvAAdCVe.js} +260 -184
- package/dist/cdn/chunks/{form-vSM2SOrK.js → form-D6w4G6Qv.js} +1 -1
- package/dist/cdn/chunks/{form-actions-DSL0qce-.js → form-actions-ifb8kolV.js} +2 -2
- package/dist/cdn/chunks/{form-field--t3Bz1pc.js → form-field-RhzuOcS5.js} +5 -5
- package/dist/cdn/chunks/{form-section-D1n8Sdmt.js → form-section-0df1Ao8U.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-w2pDVC5v.js → full-bleed-section-BhcgrH9L.js} +3 -3
- package/dist/cdn/chunks/{hero-BypUmnRi.js → hero-BpLUglsB.js} +4 -4
- package/dist/cdn/chunks/{icon-BydOAoVO.js → icon-C1HTyyIr.js} +2 -2
- package/dist/cdn/chunks/{icon-button-C_MZ-jXt.js → icon-button-BzCEK4gH.js} +17 -13
- package/dist/cdn/chunks/{icon-cell-jiYNsV84.js → icon-cell-fu4ggTII.js} +5 -5
- package/dist/cdn/chunks/{identity-D1Sw6OdG.js → identity-CM-fW-xb.js} +6 -6
- package/dist/cdn/chunks/{if-defined-pKQLIQvK.js → if-defined-CSVfrDre.js} +1 -1
- package/dist/cdn/chunks/{image-DEI0hogS.js → image-CjcWKYny.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-CTjJ8Tl_.js → inline-dialog-QHDEfqso.js} +6 -6
- package/dist/cdn/chunks/{just-in-time-education-pUUxdKPR.js → just-in-time-education-BuDwdo2R.js} +8 -8
- package/dist/cdn/chunks/{kanban-KSLBcCb4.js → kanban-BaRiCfTn.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-RNSdiBIT.js → kanban-column-BuYmxxwP.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-D9TYAQu1.js → keyboard-shortcut-DYMD3B5a.js} +3 -3
- package/dist/cdn/chunks/{languages-DGZO3jTf.js → languages-BFRgyhqj.js} +12 -12
- package/dist/cdn/chunks/{link-C4K1qVcb.js → link-Cb7bYQmD.js} +36 -28
- package/dist/cdn/chunks/{link-group-BEYO7nTK.js → link-group-CCxIltG-.js} +2 -2
- package/dist/cdn/chunks/{list-rMBdnf1f.js → list-B7VgeqfW.js} +8 -8
- package/dist/cdn/chunks/{list-item-CotWNKc1.js → list-item-Ccmi9h7_.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-C-yl2GAS.js → list-item-segment-C5APtc9o.js} +3 -3
- package/dist/cdn/chunks/{menu-rE6tDSAy.js → menu-B03m20cI.js} +52 -34
- package/dist/cdn/chunks/{menu-bar-D9IxDwC2.js → menu-bar-BTwITnAx.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-768OWJdt.js → menu-bar-item-By1lj2Ra.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-BHAGnkBl.js → menu-divider-Cj7PfUGr.js} +3 -3
- package/dist/cdn/chunks/{menu-group-B5MAz_Yk.js → menu-group-DyFNOAV9.js} +4 -4
- package/dist/cdn/chunks/{menu-item-Ba581zRi.js → menu-item-D-9U16AZ.js} +4 -4
- package/dist/cdn/chunks/{menu.template-Eb7J7UrL.js → menu.template-DmK-gq-8.js} +5 -5
- package/dist/cdn/chunks/{modal-dialog-Djln8pr7.js → modal-dialog-f_Ftzcrk.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-Omt0oidK.js → multi-line-text-field-CwTomQkh.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-DDng9DdF.js → navigation-split-view-CMy_B-Gr.js} +4 -4
- package/dist/cdn/chunks/{nl.generated-CgRVSEh6.js → nl.generated-BDowZkhc.js} +1 -1
- package/dist/cdn/chunks/{notification-DB6JOmCC.js → notification-DiXBAbmu.js} +6 -6
- package/dist/cdn/chunks/{number-field-xgr4dysX.js → number-field-CPCuSebL.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-CFhmSDDa.js → one-half-one-half-section-lsJ_QAgo.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-D0JV0GJ_.js → one-third-two-thirds-section-LS-XD6DL.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-CqgKQqdE.js → one-time-code-field-DT4VRbkL.js} +7 -6
- package/dist/cdn/chunks/{page-DXWHG-hD.js → page-BWCcVj4L.js} +4 -4
- package/dist/cdn/chunks/{page-footer-GexGY_m-.js → page-footer-QCQIeoP7.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-CtiPKCqL.js → page-section-mixin-BSRwTzVh.js} +3 -3
- package/dist/cdn/chunks/{pagination-DJkfE8t9.js → pagination-CfR0D1Z7.js} +6 -6
- package/dist/cdn/chunks/{password-field-gKiiE_5e.js → password-field-37i3lAaO.js} +8 -8
- package/dist/cdn/chunks/{popover-C-jxcCHx.js → popover-BpX7ZwI_.js} +8 -8
- package/dist/cdn/chunks/{progress-bar-CBWQRWkE.js → progress-bar-oT3i4-Ib.js} +7 -7
- package/dist/cdn/chunks/{progress-circle-CCcRDOOJ.js → progress-circle-CskWYN6V.js} +7 -7
- package/dist/cdn/chunks/{radio-button-field-B9lRNOXJ.js → radio-button-field-yXg-i59N.js} +6 -6
- package/dist/cdn/chunks/{radio-button-group-Cy7Ya28w.js → radio-button-group-Bp4nILvI.js} +12 -6
- package/dist/cdn/chunks/{radio-button-B8xwJO3_.js → radio-button-sFiWCWEp.js} +3 -3
- package/dist/cdn/chunks/{render-marked-DjXBoUGY.js → render-marked-B_e-wQFe.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-B6V85qYk.js → reorder-handle-cell-BFyWv6Xk.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DTmEmT-V.js → reorder-handle-mixin-CwNDaVUE.js} +2 -2
- package/dist/cdn/chunks/repeat-Dx2PqcyL.js +57 -0
- package/dist/cdn/chunks/{rich-text-CqQeOXwL.js → rich-text-CaVHkCB8.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-XRu3gHMf.js → row-header-mixin-BX0qSYSK.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-e6d1wo3D.js → scroll-fade-CXu7Eorw.js} +2 -2
- package/dist/cdn/chunks/{search-field-Cz7Ucf6x.js → search-field-DkbneceA.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-CLzKU4SX.js → segmented-control-Ctl4SnV1.js} +6 -6
- package/dist/cdn/chunks/{shadow-resets-CodxnaUh.js → shadow-resets-oeO4NF40.js} +2 -2
- package/dist/cdn/chunks/{sheet-DkmSsRV3.js → sheet-XGOn3SXX.js} +3 -3
- package/dist/cdn/chunks/{shell-Ex_f7Ov3.js → shell-B7-afKWD.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-C8aSEGRc.js → side-by-side-split-view-CZC844ER.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-CnD-3i7r.js → sidebar-section-_eTWxCEU.js} +7 -7
- package/dist/cdn/chunks/{simple-section-CeKnmobI.js → simple-section-CvBDK1kv.js} +3 -3
- package/dist/cdn/chunks/{skip-link-DwtFm_NJ.js → skip-link-CHAlS7T_.js} +4 -4
- package/dist/cdn/chunks/{slider-BVdkwNW3.js → slider-CidyL0xj.js} +8 -8
- package/dist/cdn/chunks/{spacer-H4zmoDr_.js → spacer-DukX-lmv.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-BES4eJH1.js → spacer-cell-etr1xFgM.js} +4 -4
- package/dist/cdn/chunks/{split-button-Caa30uTx.js → split-button-DD0NWy1h.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-klvZ8lgP.js → split-view-divider-x1x3K9m0.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-Cnx56S5C.js → split-view-pane-BnCIygrY.js} +3 -3
- package/dist/cdn/chunks/{stacked-split-view-CYdGBY7Q.js → stacked-split-view-B70JJ94w.js} +4 -4
- package/dist/cdn/chunks/{static-html--Xd5vkAU.js → static-html-Bqazhm1K.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CJybViWL.js → status-bar-CNLiFQUC.js} +4 -4
- package/dist/cdn/chunks/{step-bar-BO6Y1BrK.js → step-bar-BOvuQRux.js} +5 -5
- package/dist/cdn/chunks/{step-cell-BQ8EHZVR.js → step-cell-CM1Ju6Qz.js} +5 -5
- package/dist/cdn/chunks/{stepper-COTaJwSU.js → stepper-CKM-lSpD.js} +6 -6
- package/dist/cdn/chunks/{style-map-BwtZr74h.js → style-map-BK47EPzs.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-5fxe3QB1.js → swatch-picker-CFRNmV9x.js} +5 -5
- package/dist/cdn/chunks/{switch-BUxGg2ww.js → switch-BBy9Xo1E.js} +4 -4
- package/dist/cdn/chunks/{switch-field-DOsEK534.js → switch-field-zh-K7d2q.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-CZ9Z9qV9.js → tab-bar-C8qWE51t.js} +8 -8
- package/dist/cdn/chunks/{table-SAsB1kDN.js → table-av_EyIn7.js} +5 -5
- package/dist/cdn/chunks/{tag-xuCeECO3.js → tag-DFv9vv3i.js} +4 -4
- package/dist/cdn/chunks/{term-DHEvoltZ.js → term-DeQiGH6k.js} +53 -31
- package/dist/cdn/chunks/term.i18n-9qtxefIQ.js +6 -0
- package/dist/cdn/chunks/{text-cell-DQNzo2Rp.js → text-cell-BcT9b0bK.js} +8 -8
- package/dist/cdn/chunks/{text-editor-DCYF_nqz.js → text-editor-BwJE_vvo.js} +10 -10
- package/dist/cdn/chunks/{text-field-BiPeMi6s.js → text-field-B78KPNqa.js} +6 -7
- package/dist/cdn/chunks/{text-CiFzQPQw.js → text-mfKi65T1.js} +3 -3
- package/dist/cdn/chunks/{time-field-C-Euaiy0.js → time-field-O2OSrTyM.js} +13 -13
- package/dist/cdn/chunks/{time-picker-DYkxhEYm.js → time-picker-Ce5tW_jo.js} +50 -53
- package/dist/cdn/chunks/{title-DkS07R_v.js → title-Bdx3NCUA.js} +4 -4
- package/dist/cdn/chunks/{title-cell-CJevv6Vg.js → title-cell-BwHqLbue.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-DDqd56_3.js → toggle-button-CjjJRwpP.js} +57 -41
- package/dist/cdn/chunks/{toggle-button-group-ByxgMVzH.js → toggle-button-group-CuRM8-nF.js} +11 -5
- package/dist/cdn/chunks/{token-YpVKK1g4.js → token-AiSihnjQ.js} +5 -5
- package/dist/cdn/chunks/{token-field-vLdJSvUz.js → token-field-GETUgMlc.js} +10 -10
- package/dist/cdn/chunks/{toolbar-C-5H46y9.js → toolbar-Cwq028PV.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-CvPtoAoQ.js → toolbar-item-DR1Z8Hc3.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-HElUvLeY.js → toolbar-title-CDTF6HLo.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-BuJIgj1E.js → toolbar.styles-JjSZv4fw.js} +3 -3
- package/dist/cdn/chunks/{tooltip-BF4HkWOi.js → tooltip-c-bLjIjT.js} +54 -46
- package/dist/cdn/chunks/{top-navigation-bar-ngF2MF40.js → top-navigation-bar-DzmvxwVc.js} +17 -17
- package/dist/cdn/chunks/{top-title-bar-BUjpi-w6.js → top-title-bar-Bk6dadA-.js} +6 -6
- package/dist/cdn/chunks/{translations-BWgmZCAK.js → translations-BDYe8_q9.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-Ci6O8SwP.js → two-thirds-one-third-section-Co5_3oOP.js} +3 -3
- package/dist/cdn/chunks/{validation-list-BBNFz_2I.js → validation-list-MEykkKGr.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-BP5T5qYB.js → visibility-mixin-UdX7clEI.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-BqYWVy4n.js → visually-hidden-BKnf0dXp.js} +2 -2
- package/dist/cdn/chunks/{window-CvgGg1Ib.js → window-DNoLmVa1.js} +4 -4
- package/dist/cdn/chunks/{with-translations-8SmMZkGa.js → with-translations-DlZHUMbZ.js} +3 -3
- package/dist/components/actions/button/button.d.ts +1 -1
- package/dist/components/actions/button/button.js +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +5 -1
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +10 -5
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +1 -1
- package/dist/components/actions/menu/menu-item.js +1 -1
- package/dist/components/actions/menu/menu.d.ts +18 -3
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +74 -6
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +1 -1
- package/dist/components/content/accordion/accordion-item.d.ts +38 -0
- package/dist/components/content/accordion/accordion-item.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.js +62 -0
- package/dist/components/content/accordion/accordion-item.js.map +1 -0
- package/dist/components/content/accordion/accordion-item.styles.d.ts +2 -0
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.styles.js +196 -0
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -0
- package/dist/components/content/accordion/accordion-item.template.d.ts +4 -0
- package/dist/components/content/accordion/accordion-item.template.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion-item.template.js +24 -0
- package/dist/components/content/accordion/accordion-item.template.js.map +1 -0
- package/dist/components/content/accordion/accordion.d.ts +50 -0
- package/dist/components/content/accordion/accordion.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.js +96 -0
- package/dist/components/content/accordion/accordion.js.map +1 -0
- package/dist/components/content/accordion/accordion.styles.d.ts +2 -0
- package/dist/components/content/accordion/accordion.styles.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.styles.js +43 -0
- package/dist/components/content/accordion/accordion.styles.js.map +1 -0
- package/dist/components/content/accordion/accordion.template.d.ts +4 -0
- package/dist/components/content/accordion/accordion.template.d.ts.map +1 -0
- package/dist/components/content/accordion/accordion.template.js +9 -0
- package/dist/components/content/accordion/accordion.template.js.map +1 -0
- package/dist/components/content/admonition/admonition.d.ts +76 -0
- package/dist/components/content/admonition/admonition.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.js +129 -0
- package/dist/components/content/admonition/admonition.js.map +1 -0
- package/dist/components/content/admonition/admonition.styles.d.ts +2 -0
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.styles.js +269 -0
- package/dist/components/content/admonition/admonition.styles.js.map +1 -0
- package/dist/components/content/admonition/admonition.template.d.ts +4 -0
- package/dist/components/content/admonition/admonition.template.d.ts.map +1 -0
- package/dist/components/content/admonition/admonition.template.js +63 -0
- package/dist/components/content/admonition/admonition.template.js.map +1 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts +5 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +36 -1
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.template.js +2 -0
- package/dist/components/content/code-viewer/code-viewer.template.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +14 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +14 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/term/term.d.ts +12 -1
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.i18n.d.ts +1 -0
- package/dist/components/content/term/term.i18n.d.ts.map +1 -1
- package/dist/components/content/term/term.i18n.js +2 -0
- package/dist/components/content/term/term.i18n.js.map +1 -1
- package/dist/components/content/term/term.js +23 -1
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/term/term.template.d.ts.map +1 -1
- package/dist/components/content/term/term.template.js +29 -6
- package/dist/components/content/term/term.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +8 -3
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.styles.js +4 -0
- package/dist/components/content/tooltip/tooltip.styles.js.map +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +44 -2
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +129 -9
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js +6 -0
- package/dist/components/inputs/checkbox-field/checkbox-field.styles.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js +18 -4
- package/dist/components/inputs/checkbox-field/checkbox-field.template.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +77 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.js +188 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts +2 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.js +28 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.styles.js.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.d.ts +4 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.d.ts.map +1 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.js +9 -0
- package/dist/components/inputs/checkbox-group/checkbox-group.template.js.map +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +14 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +34 -1
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.styles.js +1 -0
- package/dist/components/inputs/date-field/date-field.styles.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +4 -0
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +4 -0
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js +1 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.styles.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.styles.js +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.js +5 -0
- package/dist/components/inputs/radio-button-field/radio-button-field.js.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts +5 -0
- package/dist/components/inputs/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/dist/components/inputs/radio-button-group/radio-button-group.js +19 -9
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +1 -1
- package/dist/components/inputs/text-field/text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.styles.js +1 -2
- package/dist/components/inputs/text-field/text-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +2 -8
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +22 -2
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +53 -7
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.template.js +6 -2
- package/dist/components/inputs/toggle-button/toggle-button.template.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +6 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js +20 -10
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/layout/box/box.styles.js +7 -7
- package/dist/components/layout/card/card.d.ts +2 -0
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +5 -2
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js +2 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +13 -3
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +25 -9
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.styles.js +25 -24
- package/dist/components/status-and-feedback/banner/banner.styles.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.template.js +1 -1
- package/dist/css/dropdown.css +17 -0
- package/dist/css/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/css/rich-text.css +200 -2
- package/dist/css/themes/oranje.css +1 -0
- package/dist/css/themes/robijnrood.css +1 -0
- package/dist/css/themes/rood.css +1 -0
- package/dist/css/themes.css +3 -0
- package/dist/css/variables.css +21 -0
- package/dist/nldd.min.js +4922 -4287
- package/dist/translations/en-US.d.ts.map +1 -1
- package/dist/translations/en-US.js +1 -0
- package/dist/translations/en-US.js.map +1 -1
- package/dist/translations/fy.d.ts.map +1 -1
- package/dist/translations/fy.js +1 -0
- package/dist/translations/fy.js.map +1 -1
- package/dist/translations/nl.generated.d.ts +1 -0
- package/dist/translations/nl.generated.d.ts.map +1 -1
- package/dist/translations/pap-AW.d.ts.map +1 -1
- package/dist/translations/pap-AW.js +1 -0
- package/dist/translations/pap-AW.js.map +1 -1
- package/dist/translations/pap-CW.d.ts.map +1 -1
- package/dist/translations/pap-CW.js +1 -0
- package/dist/translations/pap-CW.js.map +1 -1
- package/dist/types/react.d.ts +178 -10
- package/dist/types/vue.d.ts +333 -37
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +4 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/css-time.d.ts +4 -0
- package/dist/utilities/css-time.d.ts.map +1 -0
- package/dist/utilities/css-time.js +10 -0
- package/dist/utilities/css-time.js.map +1 -0
- package/dist/utilities/described-by-mixin.d.ts +6 -0
- package/dist/utilities/described-by-mixin.d.ts.map +1 -1
- package/dist/utilities/described-by-mixin.js +81 -2
- package/dist/utilities/described-by-mixin.js.map +1 -1
- package/dist/utilities/dev-rules.generated.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +58 -3
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/package.json +18 -1
- package/dist/cdn/chunks/checkbox-field-CDtlpN-u.js +0 -162
- package/dist/cdn/chunks/described-by-mixin-fLi4Nmt7.js +0 -35
- package/dist/cdn/chunks/repeat-Ck8L8Iy9.js +0 -76
- package/dist/cdn/chunks/term.i18n-DVEJeOb6.js +0 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, t as r } from "./decorate-
|
|
3
|
-
import { a as i, n as a, o, r as s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-D_xx_M26.js";
|
|
3
|
+
import { a as i, n as a, o, r as s } from "./custom-element-Dmqf9u_a.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { n as u } from "./breakpoints-Cwor8TRP.js";
|
|
@@ -297,7 +297,7 @@ function O(e) {
|
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
299
|
// src/utilities/dev-checks-trigger.ts
|
|
300
|
-
import.meta.env?.DEV && import.meta.env?.MODE !== "test" && import("./dev-checks-
|
|
300
|
+
import.meta.env?.DEV && import.meta.env?.MODE !== "test" && import("./dev-checks-Dcd5eLU5.js").then(({ startDevChecks: e }) => e());
|
|
301
301
|
// src/utilities/custom-element.ts
|
|
302
302
|
var k = globalThis.HTMLElement ?? class {};
|
|
303
303
|
export { o as a, w as i, O as n, a as o, D as r, k as t };
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, n as a, o, r as s } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-D_xx_M26.js";
|
|
2
|
+
import { a as i, n as a, o, r as s } from "./custom-element-Dmqf9u_a.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as l } from "./
|
|
5
|
-
import { t as u } from "./
|
|
6
|
-
import { t as d } from "./
|
|
7
|
-
import { t as f } from "./
|
|
8
|
-
import {
|
|
9
|
-
import "./
|
|
10
|
-
import "./icon-
|
|
11
|
-
import "./
|
|
12
|
-
import "./
|
|
13
|
-
import "./
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import { t as _ } from "./
|
|
17
|
-
import { t as v } from "./
|
|
18
|
-
import {
|
|
19
|
-
import { n as x } from "./
|
|
4
|
+
import { t as l } from "./css-time-DmkAFd1y.js";
|
|
5
|
+
import { t as u } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
|
+
import { t as d } from "./implicit-submission-Csbcor_E.js";
|
|
7
|
+
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
+
import { t as p } from "./shadow-resets-oeO4NF40.js";
|
|
9
|
+
import { n as m } from "./breakpoints-Cwor8TRP.js";
|
|
10
|
+
import "./icon-button-BzCEK4gH.js";
|
|
11
|
+
import "./icon-C1HTyyIr.js";
|
|
12
|
+
import "./popover-BpX7ZwI_.js";
|
|
13
|
+
import "./container-RIa-Sff8.js";
|
|
14
|
+
import "./top-title-bar-Bk6dadA-.js";
|
|
15
|
+
import { n as h, r as g } from "./date-picker-BFvZvzwT.js";
|
|
16
|
+
import { t as _ } from "./date-field.i18n-BqIx3eyr.js";
|
|
17
|
+
import { t as v } from "./described-by-mixin-C3iCCTgg.js";
|
|
18
|
+
import { t as y } from "./translations-BDYe8_q9.js";
|
|
19
|
+
import { n as b, r as x } from "./return-focus-BzZWhXhc.js";
|
|
20
|
+
import { n as S } from "./input-modality-XE0B7yCn.js";
|
|
20
21
|
// src/components/inputs/date-field/date-field.styles.ts
|
|
21
|
-
var
|
|
22
|
+
var C = o(m.mdMin), w = i`
|
|
22
23
|
:host {
|
|
23
24
|
box-sizing: border-box;
|
|
24
25
|
}
|
|
@@ -31,6 +32,7 @@ var S = o(p.mdMin), C = i`
|
|
|
31
32
|
tabular, so every date measures the same), but as air around the date and
|
|
32
33
|
as a grip to select and drag by. */
|
|
33
34
|
--_date-field-text-width: 10.5ch;
|
|
35
|
+
--_date-field-choice-hold-duration: var(--primitives-transition-duration-slow);
|
|
34
36
|
/* Room reserved for the separator. The character itself gets its own width,
|
|
35
37
|
because it is translatable and would clip in a fixed box. Whatever that
|
|
36
38
|
reservation gets wrong is absorbed by the end date field. */
|
|
@@ -59,7 +61,7 @@ var S = o(p.mdMin), C = i`
|
|
|
59
61
|
--_date-field-validation-icon-area-width: calc(var(--_date-field-min-size) - var(--semantics-input-fields-border-width) * 2);
|
|
60
62
|
--_date-field-trailing-width: calc(var(--_date-field-validation-icon-area-width) + var(--_date-field-picker-button-size) + var(--_date-field-end-padding-right));
|
|
61
63
|
|
|
62
|
-
${
|
|
64
|
+
${p}
|
|
63
65
|
display: block;
|
|
64
66
|
width: var(--_date-field-width);
|
|
65
67
|
min-width: var(--_date-field-fixed-width);
|
|
@@ -276,13 +278,13 @@ var S = o(p.mdMin), C = i`
|
|
|
276
278
|
|
|
277
279
|
/* The sheet's title bar only makes sense on a small screen, where the popover
|
|
278
280
|
becomes a bottom sheet. It shows by default and is hidden from md up. */
|
|
279
|
-
@media (min-width: ${
|
|
281
|
+
@media (min-width: ${C}) {
|
|
280
282
|
.date-field__picker-button nldd-top-title-bar {
|
|
281
283
|
display: none;
|
|
282
284
|
}
|
|
283
285
|
}
|
|
284
|
-
`,
|
|
285
|
-
function
|
|
286
|
+
`, T = "calc(var(--semantics-controls-md-min-size) * 7 + var(--primitives-space-16) * 2)";
|
|
287
|
+
function E(e) {
|
|
286
288
|
let r = e.invalid ? "invalid" : e.valid ? "valid" : "";
|
|
287
289
|
return r ? t`
|
|
288
290
|
<div class="date-field__validation-icon-area">
|
|
@@ -295,7 +297,7 @@ function T(e) {
|
|
|
295
297
|
</div>
|
|
296
298
|
` : n;
|
|
297
299
|
}
|
|
298
|
-
function
|
|
300
|
+
function D(e) {
|
|
299
301
|
if (e.noPicker || e.readonly) return n;
|
|
300
302
|
let r = e.size === "sm" ? "xs" : "sm";
|
|
301
303
|
return t`
|
|
@@ -345,7 +347,7 @@ function E(e) {
|
|
|
345
347
|
</div>
|
|
346
348
|
`;
|
|
347
349
|
}
|
|
348
|
-
function
|
|
350
|
+
function O(e, r, i) {
|
|
349
351
|
let a = e.range ? [e._fieldLabel, e._t(i > 0 ? "components.date-field.range-to-lowercase-label" : "components.date-field.range-from-lowercase-label")].join(", ") : e._fieldLabel;
|
|
350
352
|
return t`
|
|
351
353
|
<input class="date-field__input"
|
|
@@ -366,7 +368,7 @@ function D(e, r, i) {
|
|
|
366
368
|
>
|
|
367
369
|
`;
|
|
368
370
|
}
|
|
369
|
-
function
|
|
371
|
+
function k(e) {
|
|
370
372
|
return t`
|
|
371
373
|
<span class="date-field__separator"
|
|
372
374
|
aria-hidden="true"
|
|
@@ -375,7 +377,7 @@ function O(e) {
|
|
|
375
377
|
</span>
|
|
376
378
|
`;
|
|
377
379
|
}
|
|
378
|
-
function
|
|
380
|
+
function A(e) {
|
|
379
381
|
return t`
|
|
380
382
|
<div class="date-field"
|
|
381
383
|
role=${e.range ? "group" : n}
|
|
@@ -383,54 +385,54 @@ function k(e) {
|
|
|
383
385
|
@focusout=${e._handleFieldBlur}
|
|
384
386
|
>
|
|
385
387
|
${e._texts.map((r, i) => t`
|
|
386
|
-
${i > 0 ?
|
|
387
|
-
${
|
|
388
|
+
${i > 0 ? k(e) : n}
|
|
389
|
+
${O(e, r, i)}
|
|
388
390
|
`)}
|
|
389
391
|
<div class="date-field__input-fade"></div>
|
|
390
|
-
${T(e)}
|
|
391
392
|
${E(e)}
|
|
393
|
+
${D(e)}
|
|
392
394
|
</div>
|
|
393
395
|
`;
|
|
394
396
|
}
|
|
395
|
-
function
|
|
397
|
+
function j(e) {
|
|
396
398
|
let t = e.trim();
|
|
397
399
|
if (t === "") return null;
|
|
398
400
|
let n = /^(\d{4})[-/.](\d{1,2})[-/.](\d{1,2})$/.exec(t);
|
|
399
|
-
if (n) return
|
|
401
|
+
if (n) return g(Number(n[1]), Number(n[2]), Number(n[3]));
|
|
400
402
|
let r = /^(\d{1,2})[-/.](\d{1,2})[-/.](\d{4})$/.exec(t);
|
|
401
|
-
if (r) return
|
|
403
|
+
if (r) return g(Number(r[3]), Number(r[2]), Number(r[1]));
|
|
402
404
|
let i = /^(\d{2})(?:\s*[./-]\s*|\s+)?(\d{2})(?:\s*[./-]\s*|\s+)?(\d{4})$/.exec(t);
|
|
403
|
-
return i ?
|
|
405
|
+
return i ? g(Number(i[3]), Number(i[2]), Number(i[1])) : null;
|
|
404
406
|
}
|
|
405
|
-
function
|
|
407
|
+
function M(e) {
|
|
406
408
|
let t = /^(\d{4})-(\d{2})-(\d{2})$/.exec(e);
|
|
407
409
|
return t ? `${t[3]}-${t[2]}-${t[1]}` : "";
|
|
408
410
|
}
|
|
409
|
-
function
|
|
411
|
+
function N(e, t) {
|
|
410
412
|
let n = e ? e.split("/") : [];
|
|
411
413
|
return Array.from({ length: t }, (e, t) => n[t] ?? "");
|
|
412
414
|
}
|
|
413
|
-
function
|
|
415
|
+
function P(e) {
|
|
414
416
|
return e.every((e) => e === "") ? "" : e.join("/");
|
|
415
417
|
}
|
|
416
|
-
function
|
|
418
|
+
function F(e, t) {
|
|
417
419
|
return {
|
|
418
|
-
min: e ?
|
|
419
|
-
max: t ?
|
|
420
|
+
min: e ? h(e) : "",
|
|
421
|
+
max: t ? h(t) : ""
|
|
420
422
|
};
|
|
421
423
|
}
|
|
422
|
-
function
|
|
423
|
-
let n =
|
|
424
|
+
function I(e, t) {
|
|
425
|
+
let n = j(e);
|
|
424
426
|
return !n || t.min && n < t.min || t.max && n > t.max ? "" : n;
|
|
425
427
|
}
|
|
426
|
-
function
|
|
428
|
+
function L(e) {
|
|
427
429
|
let [t, n] = e;
|
|
428
430
|
return e.length !== 2 || !t || !n || t <= n ? null : [n, t];
|
|
429
431
|
}
|
|
430
|
-
function
|
|
432
|
+
function R(e, t, n) {
|
|
431
433
|
for (let n of e) {
|
|
432
434
|
if (!n.trim()) continue;
|
|
433
|
-
let e =
|
|
435
|
+
let e = j(n);
|
|
434
436
|
if (!e) return { flag: "badInput" };
|
|
435
437
|
if (t.min && e < t.min) return {
|
|
436
438
|
flag: "rangeUnderflow",
|
|
@@ -445,15 +447,15 @@ function L(e, t, n) {
|
|
|
445
447
|
return n && r?.trim() && i.some((e) => !e.trim()) ? { flag: "valueMissing" } : null;
|
|
446
448
|
}
|
|
447
449
|
// src/components/inputs/date-field/date-field.ts
|
|
448
|
-
var
|
|
450
|
+
var z = class extends v(u(e)) {
|
|
449
451
|
constructor(...e) {
|
|
450
|
-
super(...e), this._initialValue = "", this.size = "md", this.value = "", this.range = !1, this.min = "", this.max = "", 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._texts = [""], this._hasSlottedPicker = !1, this._pickerOpen = !1, this._focusOnClose = null, this._pickerPopoverWidth =
|
|
452
|
+
super(...e), this._initialValue = "", this.size = "md", this.value = "", this.range = !1, this.min = "", this.max = "", 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._texts = [""], this._hasSlottedPicker = !1, this._pickerOpen = !1, this._focusOnClose = null, this._pickerPopoverWidth = T, this._choiceTimer = 0;
|
|
451
453
|
}
|
|
452
454
|
get _endCount() {
|
|
453
455
|
return this.range ? 2 : 1;
|
|
454
456
|
}
|
|
455
457
|
get _ends() {
|
|
456
|
-
return
|
|
458
|
+
return N(this.value, this._endCount);
|
|
457
459
|
}
|
|
458
460
|
get _startValue() {
|
|
459
461
|
return this._ends[0] ?? "";
|
|
@@ -463,18 +465,18 @@ var R = class extends _(l(e)) {
|
|
|
463
465
|
}
|
|
464
466
|
_setEnd(e, t) {
|
|
465
467
|
let n = this._ends;
|
|
466
|
-
n[e] = t, this.value =
|
|
468
|
+
n[e] = t, this.value = P(n);
|
|
467
469
|
}
|
|
468
470
|
_sortRange() {
|
|
469
|
-
let e =
|
|
470
|
-
return e ? (this.value =
|
|
471
|
+
let e = L(this._ends);
|
|
472
|
+
return e ? (this.value = P(e), !0) : !1;
|
|
471
473
|
}
|
|
472
474
|
_handleFieldBlur(e) {
|
|
473
475
|
let t = e.relatedTarget;
|
|
474
476
|
t && this.shadowRoot?.contains(t) || this._sortRange() && this._emit("change");
|
|
475
477
|
}
|
|
476
478
|
_commit(e) {
|
|
477
|
-
return
|
|
479
|
+
return I(e, F(this.min, this.max));
|
|
478
480
|
}
|
|
479
481
|
get _slottedPicker() {
|
|
480
482
|
return (this.shadowRoot?.querySelector("slot[name=\"picker\"]"))?.assignedElements({ flatten: !0 }).find((e) => e.localName === "nldd-date-picker") ?? null;
|
|
@@ -491,11 +493,11 @@ var R = class extends _(l(e)) {
|
|
|
491
493
|
}
|
|
492
494
|
willUpdate(e) {
|
|
493
495
|
if (!e.has("value") && !e.has("range")) return;
|
|
494
|
-
e.has("range") && (this.value =
|
|
496
|
+
e.has("range") && (this.value = P(this._ends));
|
|
495
497
|
let t = this._ends;
|
|
496
498
|
this._texts = t.map((e, t) => {
|
|
497
499
|
let n = this._texts[t] ?? "";
|
|
498
|
-
return this._commit(n) === e ? n :
|
|
500
|
+
return this._commit(n) === e ? n : M(e);
|
|
499
501
|
});
|
|
500
502
|
}
|
|
501
503
|
updated(e) {
|
|
@@ -507,13 +509,13 @@ var R = class extends _(l(e)) {
|
|
|
507
509
|
t && n && t.anchorElement !== n && (t.anchorElement = n), this._syncSlottedPicker();
|
|
508
510
|
}
|
|
509
511
|
formResetCallback() {
|
|
510
|
-
this._texts =
|
|
512
|
+
this._texts = N(this._initialValue, this._endCount).map(M), this.value = this._initialValue;
|
|
511
513
|
}
|
|
512
514
|
formStateRestoreCallback(e) {
|
|
513
515
|
typeof e == "string" && (this.value = e);
|
|
514
516
|
}
|
|
515
517
|
_t(e) {
|
|
516
|
-
return
|
|
518
|
+
return y(this.translations, _, e);
|
|
517
519
|
}
|
|
518
520
|
get _fieldLabel() {
|
|
519
521
|
return this.accessibleLabel || this._t(this.range ? "components.date-field.default-range-label" : "components.date-field.default-label");
|
|
@@ -534,10 +536,10 @@ var R = class extends _(l(e)) {
|
|
|
534
536
|
this._pickerOpen ? this._popover?.hide() : this._popover?.show();
|
|
535
537
|
}
|
|
536
538
|
_applyCloseFocus() {
|
|
537
|
-
let e = this._focusOnClose ?? (
|
|
539
|
+
let e = this._focusOnClose ?? (x(this) ? "trigger" : null);
|
|
538
540
|
if (this._focusOnClose = null, e === "trigger") {
|
|
539
541
|
let e = this._pickerTrigger;
|
|
540
|
-
e &&
|
|
542
|
+
e && b(e);
|
|
541
543
|
} else if (e === "last-input") {
|
|
542
544
|
let e = this._inputs;
|
|
543
545
|
this._focusAtEnd(e[e.length - 1]);
|
|
@@ -552,7 +554,7 @@ var R = class extends _(l(e)) {
|
|
|
552
554
|
_fitPopoverToSlottedPicker() {
|
|
553
555
|
let e = this._slottedPicker;
|
|
554
556
|
if (!e) {
|
|
555
|
-
this._pickerPopoverWidth =
|
|
557
|
+
this._pickerPopoverWidth = T;
|
|
556
558
|
return;
|
|
557
559
|
}
|
|
558
560
|
let t = e.getBoundingClientRect().width;
|
|
@@ -563,12 +565,22 @@ var R = class extends _(l(e)) {
|
|
|
563
565
|
let t = e.detail;
|
|
564
566
|
if (this.range) {
|
|
565
567
|
if (typeof t?.start != "string" || typeof t?.end != "string") return;
|
|
566
|
-
this.value =
|
|
568
|
+
this.value = P([t.start, t.end]), this._focusOnClose = S() ? "trigger" : "last-input";
|
|
567
569
|
} else {
|
|
568
570
|
if (typeof t?.value != "string") return;
|
|
569
571
|
this.value = t.value, this._focusOnClose = "trigger";
|
|
570
572
|
}
|
|
571
|
-
this.
|
|
573
|
+
this._emit("change"), this._holdChoiceThenClose();
|
|
574
|
+
}
|
|
575
|
+
_holdChoiceThenClose() {
|
|
576
|
+
clearTimeout(this._choiceTimer);
|
|
577
|
+
let e = l(getComputedStyle(this).getPropertyValue("--_date-field-choice-hold-duration"));
|
|
578
|
+
e ? this._choiceTimer = window.setTimeout(() => {
|
|
579
|
+
this._choiceTimer = 0, this._pickerOpen && this._popover?.hide();
|
|
580
|
+
}, e) : (this._choiceTimer = 0, this._pickerOpen && this._popover?.hide());
|
|
581
|
+
}
|
|
582
|
+
disconnectedCallback() {
|
|
583
|
+
super.disconnectedCallback(), clearTimeout(this._choiceTimer), this._choiceTimer = 0;
|
|
572
584
|
}
|
|
573
585
|
get _inputs() {
|
|
574
586
|
return [...this.shadowRoot?.querySelectorAll(".date-field__input") ?? []];
|
|
@@ -580,7 +592,7 @@ var R = class extends _(l(e)) {
|
|
|
580
592
|
e.setSelectionRange(t, t);
|
|
581
593
|
}
|
|
582
594
|
_handleInputKeydown(e, t) {
|
|
583
|
-
|
|
595
|
+
d(this, e) || t !== 0 && e.key === "Backspace" && e.target.value === "" && (e.preventDefault(), this._focusAtEnd(this._inputs[t - 1]));
|
|
584
596
|
}
|
|
585
597
|
_setText(e, t) {
|
|
586
598
|
let n = [...this._texts];
|
|
@@ -594,13 +606,13 @@ var R = class extends _(l(e)) {
|
|
|
594
606
|
_handleChange(e, t = 0) {
|
|
595
607
|
e.stopPropagation();
|
|
596
608
|
let n = e.target.value, r = this._commit(n);
|
|
597
|
-
this._setText(t, r ?
|
|
609
|
+
this._setText(t, r ? M(r) : n), this._setEnd(t, r), this._emit("change");
|
|
598
610
|
}
|
|
599
611
|
formValue() {
|
|
600
612
|
return this.value;
|
|
601
613
|
}
|
|
602
614
|
ownValidity() {
|
|
603
|
-
let e =
|
|
615
|
+
let e = R(this._texts, F(this.min, this.max), this.required);
|
|
604
616
|
return e ? {
|
|
605
617
|
flags: { [e.flag]: !0 },
|
|
606
618
|
message: this._problemMessage(e)
|
|
@@ -609,8 +621,8 @@ var R = class extends _(l(e)) {
|
|
|
609
621
|
_problemMessage(e) {
|
|
610
622
|
switch (e.flag) {
|
|
611
623
|
case "badInput": return this._t("components.date-field.bad-input-error-text");
|
|
612
|
-
case "rangeUnderflow": return this._t("components.date-field.range-underflow-error-text").replace("{date}",
|
|
613
|
-
case "rangeOverflow": return this._t("components.date-field.range-overflow-error-text").replace("{date}",
|
|
624
|
+
case "rangeUnderflow": return this._t("components.date-field.range-underflow-error-text").replace("{date}", M(e.bound));
|
|
625
|
+
case "rangeOverflow": return this._t("components.date-field.range-overflow-error-text").replace("{date}", M(e.bound));
|
|
614
626
|
case "valueMissing": return this._t("components.date-field.range-incomplete-error-text");
|
|
615
627
|
}
|
|
616
628
|
}
|
|
@@ -622,51 +634,51 @@ var R = class extends _(l(e)) {
|
|
|
622
634
|
}));
|
|
623
635
|
}
|
|
624
636
|
render() {
|
|
625
|
-
return
|
|
637
|
+
return A(this);
|
|
626
638
|
}
|
|
627
|
-
},
|
|
639
|
+
}, B = (z.shadowRootOptions = {
|
|
628
640
|
...e.shadowRootOptions,
|
|
629
641
|
delegatesFocus: !0
|
|
630
|
-
},
|
|
642
|
+
}, z.styles = w, z.isFormInput = !0, z.blocksImplicitSubmission = !0, z);
|
|
631
643
|
r([s({
|
|
632
644
|
reflect: !0,
|
|
633
|
-
converter:
|
|
634
|
-
})],
|
|
645
|
+
converter: f("md")
|
|
646
|
+
})], B.prototype, "size", void 0), r([s({ type: String })], B.prototype, "value", void 0), r([s({
|
|
635
647
|
type: Boolean,
|
|
636
648
|
reflect: !0
|
|
637
|
-
})],
|
|
649
|
+
})], B.prototype, "range", void 0), r([s({ type: String })], B.prototype, "min", void 0), r([s({ type: String })], B.prototype, "max", void 0), r([s({
|
|
638
650
|
type: Boolean,
|
|
639
651
|
reflect: !0,
|
|
640
652
|
attribute: "no-picker"
|
|
641
|
-
})],
|
|
653
|
+
})], B.prototype, "noPicker", void 0), r([s({
|
|
642
654
|
type: String,
|
|
643
655
|
attribute: "input-id"
|
|
644
|
-
})],
|
|
656
|
+
})], B.prototype, "inputId", void 0), r([s({
|
|
645
657
|
reflect: !0,
|
|
646
|
-
converter:
|
|
647
|
-
})],
|
|
658
|
+
converter: f("")
|
|
659
|
+
})], B.prototype, "placeholder", void 0), r([s({
|
|
648
660
|
type: Boolean,
|
|
649
661
|
reflect: !0
|
|
650
|
-
})],
|
|
662
|
+
})], B.prototype, "invalid", void 0), r([s({
|
|
651
663
|
type: Boolean,
|
|
652
664
|
reflect: !0
|
|
653
|
-
})],
|
|
665
|
+
})], B.prototype, "valid", void 0), r([s({
|
|
654
666
|
type: Boolean,
|
|
655
667
|
reflect: !0
|
|
656
|
-
})],
|
|
668
|
+
})], B.prototype, "disabled", void 0), r([s({
|
|
657
669
|
type: Boolean,
|
|
658
670
|
reflect: !0
|
|
659
|
-
})],
|
|
671
|
+
})], B.prototype, "readonly", void 0), r([s({
|
|
660
672
|
type: Boolean,
|
|
661
673
|
reflect: !0
|
|
662
|
-
})],
|
|
674
|
+
})], B.prototype, "required", void 0), r([s({
|
|
663
675
|
reflect: !0,
|
|
664
|
-
converter:
|
|
665
|
-
})],
|
|
676
|
+
converter: f("")
|
|
677
|
+
})], B.prototype, "name", void 0), r([s({ type: String })], B.prototype, "autocomplete", void 0), r([s({
|
|
666
678
|
type: String,
|
|
667
679
|
attribute: "accessible-label"
|
|
668
|
-
})],
|
|
680
|
+
})], B.prototype, "accessibleLabel", void 0), r([s({
|
|
669
681
|
reflect: !0,
|
|
670
|
-
converter:
|
|
671
|
-
})],
|
|
672
|
-
export {
|
|
682
|
+
converter: f("")
|
|
683
|
+
})], B.prototype, "width", void 0), r([s({ type: Object })], B.prototype, "translations", void 0), r([a()], B.prototype, "_texts", void 0), r([a()], B.prototype, "_hasSlottedPicker", void 0), r([a()], B.prototype, "_pickerOpen", void 0), r([a()], B.prototype, "_pickerPopoverWidth", void 0), B = r([c("nldd-date-field")], B);
|
|
684
|
+
export { B as NLDDDateField };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { a, n as o, r as s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-D_xx_M26.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-Dmqf9u_a.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { n as l } from "./breakpoints-Cwor8TRP.js";
|
|
6
6
|
import { n as u } from "./input-modality-XE0B7yCn.js";
|
|
7
|
-
import { t as d } from "./with-translations-
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
9
|
-
import { t as p } from "./class-map-
|
|
7
|
+
import { t as d } from "./with-translations-DlZHUMbZ.js";
|
|
8
|
+
import { t as f } from "./shadow-resets-oeO4NF40.js";
|
|
9
|
+
import { t as p } from "./class-map-3v5_QWa6.js";
|
|
10
10
|
import { n as m, r as h, t as g } from "./date-picker.i18n-Dsc_M5QK.js";
|
|
11
|
-
import "./icon-button-
|
|
12
|
-
import "./button-
|
|
13
|
-
import "./button-bar-
|
|
14
|
-
import "./menu-
|
|
15
|
-
import { t as _ } from "./described-by-mixin-
|
|
11
|
+
import "./icon-button-BzCEK4gH.js";
|
|
12
|
+
import "./button-1F4MG_21.js";
|
|
13
|
+
import "./button-bar-BcmQQqns.js";
|
|
14
|
+
import "./menu-B03m20cI.js";
|
|
15
|
+
import { t as _ } from "./described-by-mixin-C3iCCTgg.js";
|
|
16
16
|
import { t as v } from "./reflect-non-default-Bu3rpCvg.js";
|
|
17
17
|
import { t as y } from "./defer-focus-F73ud2D9.js";
|
|
18
18
|
// src/utilities/resolve-date-bound.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e } from "./custom-element-
|
|
1
|
+
import { i as e } from "./custom-element-Dmqf9u_a.js";
|
|
2
2
|
// node_modules/lit-html/lit-html.js
|
|
3
3
|
var t = globalThis, n = (e) => e, r = t.trustedTypes, i = r ? r.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, a = "$lit$", o = `lit$${Math.random().toFixed(9).slice(2)}$`, s = "?" + o, c = `<${s}>`, l = document, u = () => l.createComment(""), d = (e) => e === null || typeof e != "object" && typeof e != "function", f = Array.isArray, p = (e) => f(e) || typeof e?.[Symbol.iterator] == "function", m = "[ \n\f\r]", h = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, g = /-->/g, _ = />/g, v = RegExp(`>|${m}(?:([^\\s"'>=/]+)(${m}*=${m}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), y = /'/g, b = /"/g, x = /^(?:script|style|textarea|title)$/i, S = (e) => (t, ...n) => ({
|
|
4
4
|
_$litType$: e,
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { r as e } from "./custom-element-Dmqf9u_a.js";
|
|
2
|
+
import { r as t } from "./element-state-B-44fVqq.js";
|
|
3
|
+
import { t as n } from "./owned-attribute-x9OCTy_4.js";
|
|
4
|
+
import { t as r } from "./decorate-D_xx_M26.js";
|
|
5
|
+
// src/utilities/described-by-mixin.ts
|
|
6
|
+
function i(e, t, n = !1) {
|
|
7
|
+
if (!e) return;
|
|
8
|
+
if (!n && "describedByElements" in e) {
|
|
9
|
+
e.describedByElements = [...t];
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
let r = e;
|
|
13
|
+
r.ariaDescribedByElements = t.length ? [...t] : null;
|
|
14
|
+
}
|
|
15
|
+
function a(e, t, n = !1) {
|
|
16
|
+
e && (!n && "invalid" in e ? e.invalid = t : t ? e.setAttribute("aria-invalid", "true") : e.removeAttribute("aria-invalid"));
|
|
17
|
+
}
|
|
18
|
+
function o(o) {
|
|
19
|
+
class s extends o {
|
|
20
|
+
constructor(...e) {
|
|
21
|
+
super(...e), this.describedByElements = [], this.accessibleDescription = "", this.accessibleDescribedBy = "", this._descriptionTextElement = null, this._appliedDescription = null, this.addController({ hostUpdated: () => {
|
|
22
|
+
let e = this.describedTarget(), t = e === this;
|
|
23
|
+
i(e, [
|
|
24
|
+
...this.describedByElements,
|
|
25
|
+
...this._appDescriptions(t),
|
|
26
|
+
...this.ownDescriptions()
|
|
27
|
+
], t);
|
|
28
|
+
let n = this.invalid;
|
|
29
|
+
n !== void 0 && a(e, n, t);
|
|
30
|
+
} }), this.addEventListener("focusin", () => {
|
|
31
|
+
this.accessibleDescribedBy && this.requestUpdate();
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
_appDescriptions(e) {
|
|
35
|
+
let r = (this.accessibleDescribedBy ?? "").split(/\s+/).filter(Boolean), i = this.getRootNode(), a = r.map((e) => i.getElementById ? i.getElementById(e) : null).filter((e) => e !== null);
|
|
36
|
+
t(this, "no-description-target", a.length < r.length);
|
|
37
|
+
let o = a.length ? "" : (this.accessibleDescription ?? "").trim();
|
|
38
|
+
if (e) return this._appliedDescription = n(this, "aria-description", o, this._appliedDescription), a;
|
|
39
|
+
if (o) {
|
|
40
|
+
let e = this._descriptionTextElement;
|
|
41
|
+
return e && e.getRootNode() === this.shadowRoot || (e = document.createElement("span"), e.hidden = !0, e.dataset.description = "", this.shadowRoot?.append(e), this._descriptionTextElement = e), e.textContent = o, [e];
|
|
42
|
+
}
|
|
43
|
+
return this._descriptionTextElement?.remove(), this._descriptionTextElement = null, a;
|
|
44
|
+
}
|
|
45
|
+
describedTarget() {
|
|
46
|
+
return this.shadowRoot?.querySelector("input, textarea, select") ?? null;
|
|
47
|
+
}
|
|
48
|
+
ownDescriptions() {
|
|
49
|
+
return [];
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return r([e({ attribute: !1 })], s.prototype, "describedByElements", void 0), r([e({
|
|
53
|
+
type: String,
|
|
54
|
+
reflect: !0,
|
|
55
|
+
attribute: "accessible-description"
|
|
56
|
+
})], s.prototype, "accessibleDescription", void 0), r([e({
|
|
57
|
+
type: String,
|
|
58
|
+
reflect: !0,
|
|
59
|
+
attribute: "accessible-described-by"
|
|
60
|
+
})], s.prototype, "accessibleDescribedBy", void 0), s;
|
|
61
|
+
}
|
|
62
|
+
export { i as n, o as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { a as r, r as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-D_xx_M26.js";
|
|
2
|
+
import { a as r, r as i } from "./custom-element-Dmqf9u_a.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { t as o } from "./reorder-handle-mixin-
|
|
4
|
+
import { t as o } from "./reorder-handle-mixin-CwNDaVUE.js";
|
|
5
5
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { i as c, t as l } from "./shadow-resets-
|
|
7
|
-
import { t as u } from "./visibility-mixin-
|
|
8
|
-
import { t as d } from "./row-header-mixin-
|
|
6
|
+
import { i as c, t as l } from "./shadow-resets-oeO4NF40.js";
|
|
7
|
+
import { t as u } from "./visibility-mixin-UdX7clEI.js";
|
|
8
|
+
import { t as d } from "./row-header-mixin-BX0qSYSK.js";
|
|
9
9
|
// src/components/lists-and-tables/cells/description-cell/description-cell.styles.ts
|
|
10
10
|
var f = r`
|
|
11
11
|
:host {
|