@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,11 +1,11 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, r as a } 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, r as a } from "./custom-element-Dmqf9u_a.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as c } from "./shadow-resets-
|
|
6
|
-
import { t as l } from "./with-translations-
|
|
5
|
+
import { t as c } from "./shadow-resets-oeO4NF40.js";
|
|
6
|
+
import { t as l } from "./with-translations-DlZHUMbZ.js";
|
|
7
7
|
import { t as u } from "./badge.i18n-DqW7hLQj.js";
|
|
8
|
-
import "./icon-
|
|
8
|
+
import "./icon-C1HTyyIr.js";
|
|
9
9
|
// src/components/status-and-feedback/badge/badge.styles.ts
|
|
10
10
|
var d = i`
|
|
11
11
|
:host {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, n as a, r as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-D_xx_M26.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-Dmqf9u_a.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-
|
|
5
|
+
import { t as l } from "./shadow-resets-oeO4NF40.js";
|
|
6
6
|
import { t as u } from "./banner.i18n-BOCM9rGN.js";
|
|
7
|
-
import "./icon-
|
|
8
|
-
import "./button-group-
|
|
9
|
-
import "./icon-button-
|
|
10
|
-
import { t as d } from "./translations-
|
|
7
|
+
import "./icon-C1HTyyIr.js";
|
|
8
|
+
import "./button-group-vez-t2RB.js";
|
|
9
|
+
import "./icon-button-BzCEK4gH.js";
|
|
10
|
+
import { t as d } from "./translations-BDYe8_q9.js";
|
|
11
11
|
// src/components/status-and-feedback/banner/banner.styles.ts
|
|
12
12
|
var f = i`
|
|
13
13
|
:host {
|
|
@@ -25,12 +25,12 @@ var f = i`
|
|
|
25
25
|
--_banner-corner-radius: var(--semantics-surfaces-corner-radius);
|
|
26
26
|
--_banner-padding: var(--primitives-space-12);
|
|
27
27
|
--_banner-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
28
|
-
--_banner-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
|
|
29
|
-
--_banner-border-width: var(--primitives-border-width-thin);
|
|
30
|
-
--_banner-icon-color: var(--primitives-color-neutral-750);
|
|
31
|
-
--_banner-icon-size: var(--primitives-space-32);
|
|
28
|
+
--_banner-highlight-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
|
|
29
|
+
--_banner-highlight-border-width: var(--primitives-border-width-thin);
|
|
30
|
+
--_banner-variant-icon-color: var(--primitives-color-neutral-750);
|
|
31
|
+
--_banner-variant-icon-size: var(--primitives-space-32);
|
|
32
32
|
--_banner-content-color: var(--semantics-content-color);
|
|
33
|
-
--_banner-text-icon-offset: calc((var(--_banner-icon-size) - var(--primitives-font-size-100) * var(--primitives-line-height-tight)) / 2);
|
|
33
|
+
--_banner-text-variant-icon-offset: calc((var(--_banner-variant-icon-size) - var(--primitives-font-size-100) * var(--primitives-line-height-tight)) / 2);
|
|
34
34
|
--_banner-column-gap: var(--primitives-space-8);
|
|
35
35
|
--_banner-dismiss-inset: 0px;
|
|
36
36
|
--_banner-dismissible-padding-right: calc(var(--_banner-dismiss-inset) + var(--semantics-controls-md-min-size));
|
|
@@ -51,7 +51,8 @@ var f = i`
|
|
|
51
51
|
|
|
52
52
|
/* The dismiss slot narrows with the icon-button the template swaps in, so
|
|
53
53
|
the reserved right padding tracks the control size rather than a fixed
|
|
54
|
-
value. --_banner-text-icon-offset follows
|
|
54
|
+
value. --_banner-text-variant-icon-offset follows
|
|
55
|
+
--_banner-variant-icon-size on its own.
|
|
55
56
|
|
|
56
57
|
--_banner-dismiss-inset pulls the 34px button up until its center sits on the
|
|
57
58
|
24px icon's center (8 - (34 - 24) / 2 = 3), and the same value on the
|
|
@@ -59,34 +60,34 @@ var f = i`
|
|
|
59
60
|
|
|
60
61
|
:host([size="sm"]) {
|
|
61
62
|
--_banner-padding: var(--primitives-space-8);
|
|
62
|
-
--_banner-icon-size: var(--primitives-space-24);
|
|
63
|
+
--_banner-variant-icon-size: var(--primitives-space-24);
|
|
63
64
|
--_banner-column-gap: var(--primitives-space-4);
|
|
64
|
-
--_banner-dismiss-inset: calc(var(--_banner-padding) - (var(--semantics-controls-sm-min-size) - var(--_banner-icon-size)) / 2);
|
|
65
|
+
--_banner-dismiss-inset: calc(var(--_banner-padding) - (var(--semantics-controls-sm-min-size) - var(--_banner-variant-icon-size)) / 2);
|
|
65
66
|
--_banner-dismissible-padding-right: calc(var(--_banner-dismiss-inset) + var(--semantics-controls-sm-min-size));
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
:host([variant="accent"]) {
|
|
69
70
|
--_banner-background-color: var(--semantics-surfaces-accent-tinted-background-color);
|
|
70
|
-
--_banner-border-color: var(--semantics-surfaces-accent-tinted-highlight-border-color);
|
|
71
|
-
--_banner-icon-color: var(--components-banner-accent-icon-color);
|
|
71
|
+
--_banner-highlight-border-color: var(--semantics-surfaces-accent-tinted-highlight-border-color);
|
|
72
|
+
--_banner-variant-icon-color: var(--components-banner-accent-icon-color);
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
:host([variant="success"]) {
|
|
75
76
|
--_banner-background-color: var(--semantics-surfaces-success-tinted-background-color);
|
|
76
|
-
--_banner-border-color: var(--semantics-surfaces-success-tinted-highlight-border-color);
|
|
77
|
-
--_banner-icon-color: light-dark(var(--primitives-color-success-550), var(--primitives-color-success-650));
|
|
77
|
+
--_banner-highlight-border-color: var(--semantics-surfaces-success-tinted-highlight-border-color);
|
|
78
|
+
--_banner-variant-icon-color: light-dark(var(--primitives-color-success-550), var(--primitives-color-success-650));
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
:host([variant="warning"]) {
|
|
81
82
|
--_banner-background-color: var(--semantics-surfaces-warning-tinted-background-color);
|
|
82
|
-
--_banner-border-color: var(--semantics-surfaces-warning-tinted-highlight-border-color);
|
|
83
|
-
--_banner-icon-color: light-dark(var(--primitives-color-warning-450), var(--primitives-color-warning-650));
|
|
83
|
+
--_banner-highlight-border-color: var(--semantics-surfaces-warning-tinted-highlight-border-color);
|
|
84
|
+
--_banner-variant-icon-color: light-dark(var(--primitives-color-warning-450), var(--primitives-color-warning-650));
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
:host([variant="critical"]) {
|
|
87
88
|
--_banner-background-color: var(--semantics-surfaces-critical-tinted-background-color);
|
|
88
|
-
--_banner-border-color: var(--semantics-surfaces-critical-tinted-highlight-border-color);
|
|
89
|
-
--_banner-icon-color: var(--primitives-color-critical-600);
|
|
89
|
+
--_banner-highlight-border-color: var(--semantics-surfaces-critical-tinted-highlight-border-color);
|
|
90
|
+
--_banner-variant-icon-color: var(--primitives-color-critical-600);
|
|
90
91
|
}
|
|
91
92
|
|
|
92
93
|
/* # Block */
|
|
@@ -96,7 +97,7 @@ var f = i`
|
|
|
96
97
|
display: grid;
|
|
97
98
|
position: relative;
|
|
98
99
|
border-radius: var(--_banner-corner-radius);
|
|
99
|
-
box-shadow: inset 0 0 0 var(--_banner-border-width) var(--_banner-border-color);
|
|
100
|
+
box-shadow: inset 0 0 0 var(--_banner-highlight-border-width) var(--_banner-highlight-border-color);
|
|
100
101
|
background-color: var(--_banner-background-color);
|
|
101
102
|
padding: var(--_banner-padding);
|
|
102
103
|
grid-template-columns: auto 1fr;
|
|
@@ -109,21 +110,21 @@ var f = i`
|
|
|
109
110
|
|
|
110
111
|
@media (forced-colors: active) {
|
|
111
112
|
.banner {
|
|
112
|
-
border: var(--_banner-border-width) solid CanvasText;
|
|
113
|
+
border: var(--_banner-highlight-border-width) solid CanvasText;
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
|
|
117
118
|
/* # Icon */
|
|
118
119
|
|
|
119
|
-
.
|
|
120
|
+
.banner__variant-icon {
|
|
120
121
|
display: flex;
|
|
121
122
|
grid-column: 1;
|
|
122
123
|
grid-row: 1;
|
|
123
|
-
width: var(--_banner-icon-size);
|
|
124
|
+
width: var(--_banner-variant-icon-size);
|
|
124
125
|
align-items: flex-start;
|
|
125
|
-
--context-content-color: var(--_banner-icon-color);
|
|
126
|
-
color: var(--_banner-icon-color);
|
|
126
|
+
--context-content-color: var(--_banner-variant-icon-color);
|
|
127
|
+
color: var(--_banner-variant-icon-color);
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
|
|
@@ -140,12 +141,12 @@ var f = i`
|
|
|
140
141
|
|
|
141
142
|
.banner__heading {
|
|
142
143
|
display: flex;
|
|
143
|
-
padding-top: var(--_banner-text-icon-offset);
|
|
144
|
+
padding-top: var(--_banner-text-variant-icon-offset);
|
|
144
145
|
flex-direction: column;
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
.banner__heading:has(.banner__supporting-text) {
|
|
148
|
-
padding-top: calc(var(--_banner-text-icon-offset) - var(--primitives-space-2));
|
|
149
|
+
padding-top: calc(var(--_banner-text-variant-icon-offset) - var(--primitives-space-2));
|
|
149
150
|
}
|
|
150
151
|
|
|
151
152
|
/* A banner carries text it did not write: a server message, an identifier, a
|
|
@@ -200,7 +201,7 @@ var f = i`
|
|
|
200
201
|
function p(e) {
|
|
201
202
|
return t`
|
|
202
203
|
<div class="banner">
|
|
203
|
-
<div class="
|
|
204
|
+
<div class="banner__variant-icon"
|
|
204
205
|
aria-hidden="true"
|
|
205
206
|
>
|
|
206
207
|
<nldd-icon icon=${e._resolvedIcon}></nldd-icon>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, n as a, r as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-D_xx_M26.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-Dmqf9u_a.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { a as c } from "./shadow-resets-
|
|
5
|
-
import { t as l } from "./class-map-
|
|
6
|
-
import "./split-view-divider-
|
|
4
|
+
import { a as c } from "./shadow-resets-oeO4NF40.js";
|
|
5
|
+
import { t as l } from "./class-map-3v5_QWa6.js";
|
|
6
|
+
import "./split-view-divider-x1x3K9m0.js";
|
|
7
7
|
import { r as u, t as d } from "./breakpoints-Cwor8TRP.js";
|
|
8
8
|
import { n as f } from "./scroll-mode-controller-COUD1-3P.js";
|
|
9
9
|
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
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
4
|
import { n as l, r as u } from "./custom-font-size-D7KNr84p.js";
|
|
5
5
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { n as f } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
-
import { i as p, t as m } from "./shadow-resets-
|
|
7
|
+
import { i as p, t as m } from "./shadow-resets-oeO4NF40.js";
|
|
8
8
|
// src/components/content/blockquote/blockquote.styles.ts
|
|
9
9
|
var h = o(f.smMax), g = o(f.mdMin), _ = o(f.mdMax), v = o(f.lgMin), y = i`
|
|
10
10
|
:host {
|
|
@@ -1,8 +1,8 @@
|
|
|
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
4
|
import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { a as s } from "./shadow-resets-
|
|
5
|
+
import { a as s } from "./shadow-resets-oeO4NF40.js";
|
|
6
6
|
// src/components/layout/box/box.styles.ts
|
|
7
7
|
var c = r`
|
|
8
8
|
:host {
|
|
@@ -15,9 +15,9 @@ var c = r`
|
|
|
15
15
|
:host {
|
|
16
16
|
--_box-corner-radius: var(--semantics-surfaces-corner-radius);
|
|
17
17
|
--_box-background-color: var(--semantics-surfaces-tinted-background-color);
|
|
18
|
-
--_box-border-width: var(--semantics-surfaces-highlight-border-width);
|
|
19
|
-
--_box-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
|
|
20
|
-
--_box-highlight-border: inset 0 0 0 var(--_box-border-width) var(--_box-border-color);
|
|
18
|
+
--_box-highlight-border-width: var(--semantics-surfaces-highlight-border-width);
|
|
19
|
+
--_box-highlight-border-color: var(--semantics-surfaces-tinted-highlight-border-color);
|
|
20
|
+
--_box-highlight-border: inset 0 0 0 var(--_box-highlight-border-width) var(--_box-highlight-border-color);
|
|
21
21
|
|
|
22
22
|
display: block;
|
|
23
23
|
width: 100%;
|
|
@@ -32,17 +32,17 @@ var c = r`
|
|
|
32
32
|
|
|
33
33
|
:host([background="base"]) {
|
|
34
34
|
--_box-background-color: var(--semantics-surfaces-base-background-color);
|
|
35
|
-
--_box-border-color: var(--semantics-surfaces-base-highlight-border-color);
|
|
35
|
+
--_box-highlight-border-color: var(--semantics-surfaces-base-highlight-border-color);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
:host([background="accent-tinted"]) {
|
|
39
39
|
--_box-background-color: var(--semantics-surfaces-accent-tinted-background-color);
|
|
40
|
-
--_box-border-color: var(--semantics-surfaces-accent-tinted-highlight-border-color);
|
|
40
|
+
--_box-highlight-border-color: var(--semantics-surfaces-accent-tinted-highlight-border-color);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
:host([background="critical"]) {
|
|
44
44
|
--_box-background-color: var(--semantics-surfaces-critical-tinted-background-color);
|
|
45
|
-
--_box-border-color: var(--semantics-surfaces-critical-tinted-highlight-border-color);
|
|
45
|
+
--_box-highlight-border-color: var(--semantics-surfaces-critical-tinted-highlight-border-color);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
|
|
@@ -62,7 +62,7 @@ var c = r`
|
|
|
62
62
|
|
|
63
63
|
@media (forced-colors: active) {
|
|
64
64
|
.box {
|
|
65
|
-
border: var(--_box-border-width) solid CanvasText;
|
|
65
|
+
border: var(--_box-highlight-border-width) solid CanvasText;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
`;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, r as a } 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, r as a } from "./custom-element-Dmqf9u_a.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./slot-content-2qH2vEC_.js";
|
|
5
5
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as l } from "./shadow-resets-
|
|
7
|
-
import "./icon-
|
|
6
|
+
import { t as l } from "./shadow-resets-oeO4NF40.js";
|
|
7
|
+
import "./icon-C1HTyyIr.js";
|
|
8
8
|
import { t as u } from "./breadcrumbs.i18n-zmO8jaTO.js";
|
|
9
|
-
import { t as d } from "./translations-
|
|
9
|
+
import { t as d } from "./translations-BDYe8_q9.js";
|
|
10
10
|
// src/components/navigation/breadcrumbs/breadcrumbs.styles.ts
|
|
11
11
|
var f = i`
|
|
12
12
|
.breadcrumbs__separator {
|
|
@@ -1,20 +1,20 @@
|
|
|
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, r as o } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-D_xx_M26.js";
|
|
3
|
+
import { a, r as o } from "./custom-element-Dmqf9u_a.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as c } from "./shadow-resets-
|
|
5
|
+
import { t as c } from "./shadow-resets-oeO4NF40.js";
|
|
6
6
|
import { t as l } from "./link-rel-DvrTEfVT.js";
|
|
7
7
|
import { r as u, t as d } from "./link-hint-KFhgr5Ng.js";
|
|
8
|
-
import { i as f, n as p, r as m } from "./keyboard-shortcut-
|
|
8
|
+
import { i as f, n as p, r as m } from "./keyboard-shortcut-DYMD3B5a.js";
|
|
9
9
|
import { n as h, t as g } from "./popover-target-B25dxnmt.js";
|
|
10
|
-
import { t as _ } from "./with-translations-
|
|
10
|
+
import { t as _ } from "./with-translations-DlZHUMbZ.js";
|
|
11
11
|
import { t as v } from "./reflect-non-default-Bu3rpCvg.js";
|
|
12
12
|
import { t as y } from "./button.i18n-BGFt7Z9u.js";
|
|
13
13
|
import { t as b } from "./popup-anchor-controller-VZw0bXf2.js";
|
|
14
14
|
import { t as x } from "./interest-controller-Ban-3NrX.js";
|
|
15
|
-
import "./icon-
|
|
16
|
-
import "./activity-indicator-
|
|
17
|
-
import { t as S } from "./described-by-mixin-
|
|
15
|
+
import "./icon-C1HTyyIr.js";
|
|
16
|
+
import "./activity-indicator-DHgkMBdz.js";
|
|
17
|
+
import { t as S } from "./described-by-mixin-C3iCCTgg.js";
|
|
18
18
|
import { n as C } from "./element-state-B-44fVqq.js";
|
|
19
19
|
import { t as w } from "./defer-focus-F73ud2D9.js";
|
|
20
20
|
import { t as T } from "./owner-form-Cq8tT7ac.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
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, r as o, t 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, r as o, t as s } from "./custom-element-Dmqf9u_a.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as u } from "./repeat-
|
|
6
|
+
import { t as u } from "./repeat-Dx2PqcyL.js";
|
|
7
7
|
// src/components/actions/button-bar/button-bar.styles.ts
|
|
8
8
|
var d = i`
|
|
9
9
|
:host {
|
|
@@ -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, r as a } 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, r as a } from "./custom-element-Dmqf9u_a.js";
|
|
4
4
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as s } from "./query-ChDzi9FQ.js";
|
|
6
6
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, n as a, r as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-D_xx_M26.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-Dmqf9u_a.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
|
-
import { a as l } from "./shadow-resets-
|
|
5
|
+
import { a as l } from "./shadow-resets-oeO4NF40.js";
|
|
6
6
|
import { t as u } from "./link-rel-DvrTEfVT.js";
|
|
7
7
|
import { r as d, t as f } from "./link-hint-KFhgr5Ng.js";
|
|
8
|
-
import { t as p } from "./with-translations-
|
|
8
|
+
import { t as p } from "./with-translations-DlZHUMbZ.js";
|
|
9
9
|
import { t as m } from "./card.i18n-CpafLm3i.js";
|
|
10
10
|
// src/components/layout/card/card.styles.ts
|
|
11
11
|
var h = i`
|
|
@@ -223,11 +223,13 @@ var _ = class extends p(e, m) {
|
|
|
223
223
|
constructor(...e) {
|
|
224
224
|
super(...e), this.background = "base", this.href = "", this.target = "", this.download = void 0, this.rel = "", this.button = !1, this._actionFocused = !1, this._onFocusIn = (e) => {
|
|
225
225
|
let t = e.composedPath()[0];
|
|
226
|
-
this._actionFocused = !!t?.matches?.(".card__action:focus-visible");
|
|
226
|
+
this._actionFocused = !!t?.matches?.(".card__action:focus-visible") && t.getRootNode() === this.shadowRoot;
|
|
227
227
|
}, this._onFocusOut = () => {
|
|
228
228
|
this._actionFocused = !1;
|
|
229
229
|
}, this._onPointerDown = (e) => {
|
|
230
|
-
e.button > 0
|
|
230
|
+
if (e.button > 0) return;
|
|
231
|
+
let t = e.composedPath()[0];
|
|
232
|
+
t?.matches?.(".card__action") && t.getRootNode() === this.shadowRoot && (this.toggleAttribute("data-action-pressed", !0), window.addEventListener("pointerup", this._clearPressed), window.addEventListener("pointercancel", this._clearPressed));
|
|
231
233
|
}, this._clearPressed = () => {
|
|
232
234
|
window.removeEventListener("pointerup", this._clearPressed), window.removeEventListener("pointercancel", this._clearPressed), this.removeAttribute("data-action-pressed");
|
|
233
235
|
}, this._onSlotChange = (e) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
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, r as a } 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, r as a } from "./custom-element-Dmqf9u_a.js";
|
|
4
4
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as s } from "./reorder-handle-mixin-
|
|
5
|
+
import { t as s } from "./reorder-handle-mixin-CwNDaVUE.js";
|
|
6
6
|
import { t as c } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as l } from "./shadow-resets-
|
|
8
|
-
import { t as u } from "./visibility-mixin-
|
|
9
|
-
import { t as d } from "./row-header-mixin-
|
|
7
|
+
import { t as l } from "./shadow-resets-oeO4NF40.js";
|
|
8
|
+
import { t as u } from "./visibility-mixin-UdX7clEI.js";
|
|
9
|
+
import { t as d } from "./row-header-mixin-BX0qSYSK.js";
|
|
10
10
|
// src/components/lists-and-tables/cells/cell/cell.styles.ts
|
|
11
11
|
var f = i`
|
|
12
12
|
:host {
|
|
@@ -1,10 +1,10 @@
|
|
|
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, r as o } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-D_xx_M26.js";
|
|
3
|
+
import { a, r as o } from "./custom-element-Dmqf9u_a.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as c } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
|
-
import "./icon-
|
|
7
|
-
import { t as l } from "./described-by-mixin-
|
|
6
|
+
import "./icon-C1HTyyIr.js";
|
|
7
|
+
import { t as l } from "./described-by-mixin-C3iCCTgg.js";
|
|
8
8
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
9
|
import { t as d } from "./defer-focus-F73ud2D9.js";
|
|
10
10
|
// src/components/inputs/checkbox/checkbox.styles.ts
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { i as e, n as t, o as n, r, t as i } from "./decorate-D_xx_M26.js";
|
|
2
|
+
import { a, n as o, r as s } from "./custom-element-Dmqf9u_a.js";
|
|
3
|
+
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { n as l, t as u } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
|
+
import { t as d } from "./shadow-resets-oeO4NF40.js";
|
|
6
|
+
import { n as f, r as p, t as m } from "./directive-CwRgozUW.js";
|
|
7
|
+
import { i as h, r as g } from "./directive-helpers-B40ApSJp.js";
|
|
8
|
+
import "./checkbox-B2EXnuni.js";
|
|
9
|
+
import { t as _ } from "./described-by-mixin-C3iCCTgg.js";
|
|
10
|
+
import { t as v } from "./reflect-non-default-Bu3rpCvg.js";
|
|
11
|
+
import { t as y } from "./defer-focus-F73ud2D9.js";
|
|
12
|
+
// src/components/inputs/checkbox-field/checkbox-field.styles.ts
|
|
13
|
+
var b = a`
|
|
14
|
+
:host {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
/* # Host */
|
|
20
|
+
|
|
21
|
+
:host {
|
|
22
|
+
--_checkbox-field-children-padding-inline-start: calc(var(--semantics-controls-xs-min-size) + var(--primitives-space-8));
|
|
23
|
+
|
|
24
|
+
${d}
|
|
25
|
+
display: block;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host([hidden]) {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/* # Block */
|
|
34
|
+
|
|
35
|
+
.checkbox-field {
|
|
36
|
+
display: flex;
|
|
37
|
+
min-height: var(--semantics-controls-md-min-size);
|
|
38
|
+
flex-direction: row;
|
|
39
|
+
gap: var(--primitives-space-8);
|
|
40
|
+
align-items: flex-start;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
/* ## Colors */
|
|
45
|
+
|
|
46
|
+
:host([color="content"]) .checkbox-field__label {
|
|
47
|
+
--context-content-color: inherit;
|
|
48
|
+
color: var(--context-content-color);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/* # Elements */
|
|
53
|
+
|
|
54
|
+
.checkbox-field__control {
|
|
55
|
+
display: flex;
|
|
56
|
+
min-height: var(--semantics-controls-md-min-size);
|
|
57
|
+
flex-shrink: 0;
|
|
58
|
+
align-items: center;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.checkbox-field__label {
|
|
62
|
+
display: flex;
|
|
63
|
+
cursor: default;
|
|
64
|
+
padding-top: calc((var(--semantics-controls-md-min-size) - 1em * var(--primitives-line-height-snug)) / 2);
|
|
65
|
+
flex-grow: 1;
|
|
66
|
+
--context-content-color: var(--semantics-content-color);
|
|
67
|
+
color: var(--semantics-content-color);
|
|
68
|
+
font: var(--primitives-font-body-md-regular-snug);
|
|
69
|
+
text-wrap: pretty;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:host([disabled]) .checkbox-field__label {
|
|
73
|
+
opacity: var(--primitives-opacity-disabled);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.checkbox-field__children {
|
|
77
|
+
padding-inline-start: var(--_checkbox-field-children-padding-inline-start);
|
|
78
|
+
}
|
|
79
|
+
`, x = m(class extends f {
|
|
80
|
+
constructor(e) {
|
|
81
|
+
if (super(e), e.type !== p.PROPERTY && e.type !== p.ATTRIBUTE && e.type !== p.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
|
|
82
|
+
if (!h(e)) throw Error("`live` bindings can only contain a single expression");
|
|
83
|
+
}
|
|
84
|
+
render(e) {
|
|
85
|
+
return e;
|
|
86
|
+
}
|
|
87
|
+
update(t, [n]) {
|
|
88
|
+
if (n === e || n === r) return n;
|
|
89
|
+
let i = t.element, a = t.name;
|
|
90
|
+
if (t.type === p.PROPERTY) {
|
|
91
|
+
if (n === i[a]) return e;
|
|
92
|
+
} else if (t.type === p.BOOLEAN_ATTRIBUTE) {
|
|
93
|
+
if (!!n === i.hasAttribute(a)) return e;
|
|
94
|
+
} else if (t.type === p.ATTRIBUTE && i.getAttribute(a) === n + "") return e;
|
|
95
|
+
return g(t), n;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
// src/components/inputs/checkbox-field/checkbox-field.template.ts
|
|
99
|
+
function S(e) {
|
|
100
|
+
return n`
|
|
101
|
+
<div class="checkbox-field"
|
|
102
|
+
@click=${e._handleLabelClick}
|
|
103
|
+
>
|
|
104
|
+
<div class="checkbox-field__control">
|
|
105
|
+
<nldd-checkbox
|
|
106
|
+
color=${e.color || r}
|
|
107
|
+
?invalid=${e.invalid}
|
|
108
|
+
?required=${e.required && !e._inGroup}
|
|
109
|
+
?checked=${x(e.checked)}
|
|
110
|
+
?indeterminate=${x(e.indeterminate)}
|
|
111
|
+
?disabled=${e.disabled}
|
|
112
|
+
name=${e.name || r}
|
|
113
|
+
value=${e.value}
|
|
114
|
+
accessible-label=${e.label || r}
|
|
115
|
+
@change=${e._handleChange}
|
|
116
|
+
></nldd-checkbox>
|
|
117
|
+
</div>
|
|
118
|
+
<span class="checkbox-field__label"
|
|
119
|
+
id="label"
|
|
120
|
+
>
|
|
121
|
+
${e.label}
|
|
122
|
+
</span>
|
|
123
|
+
</div>
|
|
124
|
+
<div class="checkbox-field__children"
|
|
125
|
+
role=${e._childFields.length > 0 ? "group" : r}
|
|
126
|
+
aria-labelledby=${e._childFields.length > 0 ? "label" : r}
|
|
127
|
+
>
|
|
128
|
+
<slot
|
|
129
|
+
name="children"
|
|
130
|
+
@slotchange=${e._handleChildrenSlotChange}
|
|
131
|
+
></slot>
|
|
132
|
+
</div>
|
|
133
|
+
`;
|
|
134
|
+
}
|
|
135
|
+
// src/components/inputs/checkbox-field/checkbox-field.ts
|
|
136
|
+
var C = class extends _(u(t)) {
|
|
137
|
+
constructor(...e) {
|
|
138
|
+
super(...e), this._initialChecked = !1, this.checked = !1, this.indeterminate = !1, this.disabled = !1, this.value = "on", this.name = "", this.color = "", this.label = "", this.required = !1, this._groupHasSelection = !1, this.invalid = !1, this._childFields = [], this._handleChildChange = (e) => {
|
|
139
|
+
let t = e.target;
|
|
140
|
+
t !== this && t.localName === "nldd-checkbox-field" && this._childFields.includes(t) && this._followChildren(!0);
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
get _inGroup() {
|
|
144
|
+
return this._group !== null;
|
|
145
|
+
}
|
|
146
|
+
firstUpdated() {
|
|
147
|
+
this._initialChecked = this.checked;
|
|
148
|
+
}
|
|
149
|
+
connectedCallback() {
|
|
150
|
+
super.connectedCallback(), this.addEventListener("change", this._handleChildChange);
|
|
151
|
+
}
|
|
152
|
+
disconnectedCallback() {
|
|
153
|
+
super.disconnectedCallback(), this.removeEventListener("change", this._handleChildChange);
|
|
154
|
+
}
|
|
155
|
+
_handleChildrenSlotChange(e) {
|
|
156
|
+
let t = e.target;
|
|
157
|
+
this._childFields = t.assignedElements().filter((e) => e.localName === "nldd-checkbox-field"), this._followChildren(!1), this._group?._onSlotChange();
|
|
158
|
+
}
|
|
159
|
+
get _group() {
|
|
160
|
+
return this.closest("nldd-checkbox-group");
|
|
161
|
+
}
|
|
162
|
+
willUpdate(e) {
|
|
163
|
+
super.willUpdate(e), this.hasUpdated && e.has("checked") && this._group?._optionChanged();
|
|
164
|
+
}
|
|
165
|
+
_followChildren(e) {
|
|
166
|
+
let t = this._childFields;
|
|
167
|
+
if (t.length === 0) return;
|
|
168
|
+
let n = t.every((e) => e.checked), r = t.some((e) => e.checked || e.indeterminate), i = !n && r;
|
|
169
|
+
(n !== this.checked || i !== this.indeterminate) && (this.checked = n, this.indeterminate = i, this.commitFormValue(), e && this._dispatchChange());
|
|
170
|
+
}
|
|
171
|
+
_wouldChange(e) {
|
|
172
|
+
return this._childFields.some((t) => !t.disabled && (t._childFields.length > 0 ? t._wouldChange(e) : t.checked !== e));
|
|
173
|
+
}
|
|
174
|
+
_setChildren(e) {
|
|
175
|
+
this._childFields.length !== 0 && (this._childFields.forEach((t) => {
|
|
176
|
+
t.disabled || (t.checked = e, t.indeterminate = !1, t._setChildren(e), t.commitFormValue());
|
|
177
|
+
}), this._followChildren(!1));
|
|
178
|
+
}
|
|
179
|
+
_dispatchChange() {
|
|
180
|
+
this.dispatchEvent(new CustomEvent("change", {
|
|
181
|
+
detail: {
|
|
182
|
+
checked: this.checked,
|
|
183
|
+
value: this.value
|
|
184
|
+
},
|
|
185
|
+
bubbles: !0,
|
|
186
|
+
composed: !0
|
|
187
|
+
}));
|
|
188
|
+
}
|
|
189
|
+
formValue() {
|
|
190
|
+
return this.checked ? this.value : null;
|
|
191
|
+
}
|
|
192
|
+
ownValidity() {
|
|
193
|
+
return l({
|
|
194
|
+
required: this.required,
|
|
195
|
+
checked: this.checked || this._groupHasSelection,
|
|
196
|
+
disabled: this.disabled
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
formResetCallback() {
|
|
200
|
+
this.checked = this._initialChecked, this.indeterminate = !1, this._childFields.length > 0 && queueMicrotask(() => this._followChildren(!1));
|
|
201
|
+
}
|
|
202
|
+
formStateRestoreCallback(e) {
|
|
203
|
+
this.checked = e !== null;
|
|
204
|
+
}
|
|
205
|
+
_handleLabelClick(e) {
|
|
206
|
+
this.disabled || e.target.closest?.("nldd-checkbox") || (this.shadowRoot?.querySelector("nldd-checkbox"))?.toggle();
|
|
207
|
+
}
|
|
208
|
+
_handleChange(e) {
|
|
209
|
+
let { checked: t } = e.detail;
|
|
210
|
+
t && this._childFields.length > 0 && !this._wouldChange(!0) && (t = !1), this.checked = t, this.indeterminate = !1, this._setChildren(t), this.requestUpdate(), this.commitFormValue(), this._dispatchChange();
|
|
211
|
+
}
|
|
212
|
+
focus(e) {
|
|
213
|
+
y(this, e) || this.shadowRoot?.querySelector("nldd-checkbox")?.focus(e);
|
|
214
|
+
}
|
|
215
|
+
describedTarget() {
|
|
216
|
+
return this.shadowRoot?.querySelector("nldd-checkbox") ?? null;
|
|
217
|
+
}
|
|
218
|
+
render() {
|
|
219
|
+
return S(this);
|
|
220
|
+
}
|
|
221
|
+
}, w = (C.styles = b, C.isFormInput = !0, C);
|
|
222
|
+
i([s({
|
|
223
|
+
type: Boolean,
|
|
224
|
+
reflect: !0
|
|
225
|
+
})], w.prototype, "checked", void 0), i([s({
|
|
226
|
+
type: Boolean,
|
|
227
|
+
reflect: !0
|
|
228
|
+
})], w.prototype, "indeterminate", void 0), i([s({
|
|
229
|
+
type: Boolean,
|
|
230
|
+
reflect: !0
|
|
231
|
+
})], w.prototype, "disabled", void 0), i([s({ type: String })], w.prototype, "value", void 0), i([s({
|
|
232
|
+
reflect: !0,
|
|
233
|
+
converter: v("")
|
|
234
|
+
})], w.prototype, "name", void 0), i([s({
|
|
235
|
+
reflect: !0,
|
|
236
|
+
converter: v("")
|
|
237
|
+
})], w.prototype, "color", void 0), i([s({ type: String })], w.prototype, "label", void 0), i([s({
|
|
238
|
+
type: Boolean,
|
|
239
|
+
reflect: !0
|
|
240
|
+
})], w.prototype, "required", void 0), i([o()], w.prototype, "_groupHasSelection", void 0), i([s({
|
|
241
|
+
type: Boolean,
|
|
242
|
+
reflect: !0
|
|
243
|
+
})], w.prototype, "invalid", void 0), i([o()], w.prototype, "_childFields", void 0), w = i([c("nldd-checkbox-field")], w);
|
|
244
|
+
export { w as NLDDCheckboxField };
|