@nldd/design-system 0.25.1 → 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 +2117 -47
- package/dist/cdn/autoloader.js +141 -140
- package/dist/cdn/chunks/{accordion-B7KdKJno.js → accordion-CE_VBJPo.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-CVy8Apta.js → accordion-item-CkIrLwn9.js} +4 -4
- package/dist/cdn/chunks/{activity-indicator-CpJVlX6K.js → activity-indicator-DHgkMBdz.js} +5 -5
- package/dist/cdn/chunks/{admonition-C89WHJ9a.js → admonition-CK1c7HiM.js} +4 -4
- package/dist/cdn/chunks/{avatar-Bf0OfAtQ.js → avatar-DwS0FqYL.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-BeBAv2wB.js → avatar-group-BX1URuq1.js} +15 -15
- package/dist/cdn/chunks/{badge-C43FvgkK.js → badge-Dyfzch0N.js} +5 -5
- package/dist/cdn/chunks/{banner-OWK0gwFb.js → banner-BPUb-ZpJ.js} +7 -7
- package/dist/cdn/chunks/{bar-split-view-Dj1WycIW.js → bar-split-view-BitGKRYw.js} +5 -5
- package/dist/cdn/chunks/{blockquote-D_5MxcSi.js → blockquote-CAnK7XlI.js} +3 -3
- package/dist/cdn/chunks/{box-BUoxiA7b.js → box-epVc6r3W.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DXxJTACL.js → breadcrumbs-CY5m5_72.js} +5 -5
- package/dist/cdn/chunks/{button-DpKyquzm.js → button-1F4MG_21.js} +8 -8
- package/dist/cdn/chunks/{button-bar-BSt-QQRG.js → button-bar-BcmQQqns.js} +3 -3
- package/dist/cdn/chunks/{button-group-D5QJWJzh.js → button-group-vez-t2RB.js} +2 -2
- package/dist/cdn/chunks/{card-Cz4f-dCf.js → card-sHcZK0Sx.js} +8 -6
- package/dist/cdn/chunks/{cell-zFw2V9wD.js → cell-_FH10LVj.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BDp3O8Nc.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-C7ao595e.js → class-map-3v5_QWa6.js} +1 -1
- package/dist/cdn/chunks/{code-editor-Chm9EG_v.js → code-editor-DVHvHweL.js} +5 -5
- package/dist/cdn/chunks/{code-viewer-DX322d7w.js → code-viewer-CRc5yGTZ.js} +7 -7
- package/dist/cdn/chunks/{codemirror-input-BLMJQbHq.js → codemirror-input-CgrWL_xI.js} +4 -4
- package/dist/cdn/chunks/{collection-Bf8HoSki.js → collection-BobIdtqA.js} +8 -8
- package/dist/cdn/chunks/{combo-box-VuU_F54v.js → combo-box-1h_xzaHk.js} +9 -8
- package/dist/cdn/chunks/{container-qVTgmbpz.js → container-RIa-Sff8.js} +2 -2
- package/dist/cdn/chunks/{custom-element-C5yyaCZS.js → custom-element-Dmqf9u_a.js} +1 -1
- package/dist/cdn/chunks/{date-field-By9Q8151.js → date-field-BN9TIiUH.js} +11 -11
- package/dist/cdn/chunks/{date-picker-DtA4PXCh.js → date-picker-BFvZvzwT.js} +10 -10
- package/dist/cdn/chunks/{decorate-CkbtFnic.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-D2INE8A3.js → description-cell-D9oU3cOo.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-UHHli7gE.js → dev-checks-Dcd5eLU5.js} +24 -3
- package/dist/cdn/chunks/directive-helpers-B40ApSJp.js +24 -0
- package/dist/cdn/chunks/{dist-qo8avphr.js → dist-0pu3OKnY.js} +1 -1
- package/dist/cdn/chunks/{dist-Dg3ySzj7.js → dist-8y5HG5So.js} +3 -3
- package/dist/cdn/chunks/{dist-Cm51DQO4.js → dist-B5Qpgwkt.js} +2 -2
- package/dist/cdn/chunks/{dist-C-T4uKP1.js → dist-BJyPLZy3.js} +1 -1
- package/dist/cdn/chunks/{dist-zxb4QZZG.js → dist-BVrnRVfm.js} +1 -1
- package/dist/cdn/chunks/{dist-Ce38ZA7b.js → dist-BZuHdnRq.js} +2 -2
- package/dist/cdn/chunks/{dist-B1pwN_VD.js → dist-BzfZCamJ.js} +1 -1
- package/dist/cdn/chunks/{dist-BzfFo9Yu.js → dist-CPfUaZn6.js} +2 -2
- package/dist/cdn/chunks/{dist-VXOtAJ-m.js → dist-Cxpg90R5.js} +1 -1
- package/dist/cdn/chunks/{dist-BG0xnVUi.js → dist-DRizG2xD.js} +3 -3
- package/dist/cdn/chunks/{dist-pCih3zzc.js → dist-De4uSuY6.js} +1 -1
- package/dist/cdn/chunks/{divider-Cv_vyHvw.js → divider-DhmeevvA.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CdOxr8KC.js → document-tab-bar-BxgIq1Lc.js} +9 -9
- package/dist/cdn/chunks/{dropdown-DC9J6k0P.js → dropdown-BTnHERYI.js} +5 -5
- package/dist/cdn/chunks/{file-field-CsrTk4uk.js → file-field-BoQCuthe.js} +12 -12
- package/dist/cdn/chunks/{form-ClOD1OKh.js → form-D6w4G6Qv.js} +1 -1
- package/dist/cdn/chunks/{form-actions-CwaXGj43.js → form-actions-ifb8kolV.js} +2 -2
- package/dist/cdn/chunks/{form-field-LoX9v2Pa.js → form-field-RhzuOcS5.js} +5 -5
- package/dist/cdn/chunks/{form-section-i6piyKuy.js → form-section-0df1Ao8U.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-6aAfCnez.js → full-bleed-section-BhcgrH9L.js} +3 -3
- package/dist/cdn/chunks/{hero-CTQAayXT.js → hero-BpLUglsB.js} +4 -4
- package/dist/cdn/chunks/{icon-B5kHyCz2.js → icon-C1HTyyIr.js} +2 -2
- package/dist/cdn/chunks/{icon-button-DuEiOOoc.js → icon-button-BzCEK4gH.js} +17 -13
- package/dist/cdn/chunks/{icon-cell-uZkR3hZx.js → icon-cell-fu4ggTII.js} +5 -5
- package/dist/cdn/chunks/{identity-DR6DMjke.js → identity-CM-fW-xb.js} +6 -6
- package/dist/cdn/chunks/{if-defined-B7fJBsUt.js → if-defined-CSVfrDre.js} +1 -1
- package/dist/cdn/chunks/{image-CuBUo_MQ.js → image-CjcWKYny.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-CZNkWJIA.js → inline-dialog-QHDEfqso.js} +6 -6
- package/dist/cdn/chunks/{just-in-time-education-qwg9hTDX.js → just-in-time-education-BuDwdo2R.js} +5 -5
- package/dist/cdn/chunks/{kanban-Bkg-nZmX.js → kanban-BaRiCfTn.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-C8iRyRNY.js → kanban-column-BuYmxxwP.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-Rq5IHU-e.js → keyboard-shortcut-DYMD3B5a.js} +3 -3
- package/dist/cdn/chunks/{languages-DLHsACpp.js → languages-BFRgyhqj.js} +12 -12
- package/dist/cdn/chunks/{link-CgjFwaHP.js → link-Cb7bYQmD.js} +36 -28
- package/dist/cdn/chunks/{link-group-5W0GAmTq.js → link-group-CCxIltG-.js} +2 -2
- package/dist/cdn/chunks/{list-BASqIKtP.js → list-B7VgeqfW.js} +8 -8
- package/dist/cdn/chunks/{list-item-DTcPysIP.js → list-item-Ccmi9h7_.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-CRw0y4kg.js → list-item-segment-C5APtc9o.js} +3 -3
- package/dist/cdn/chunks/{menu-CYILGTpB.js → menu-B03m20cI.js} +34 -18
- package/dist/cdn/chunks/{menu-bar-CL566HmJ.js → menu-bar-BTwITnAx.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-C6OrUu_4.js → menu-bar-item-By1lj2Ra.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-BtU9eBSb.js → menu-divider-Cj7PfUGr.js} +3 -3
- package/dist/cdn/chunks/{menu-group-r2TvdqJB.js → menu-group-DyFNOAV9.js} +4 -4
- package/dist/cdn/chunks/{menu-item-CS45jTLu.js → menu-item-D-9U16AZ.js} +4 -4
- package/dist/cdn/chunks/{menu.template-CF8Iau1s.js → menu.template-DmK-gq-8.js} +5 -5
- package/dist/cdn/chunks/{modal-dialog-C9NBq8TO.js → modal-dialog-f_Ftzcrk.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-BkxV0vqA.js → multi-line-text-field-CwTomQkh.js} +5 -5
- package/dist/cdn/chunks/{navigation-split-view-DNrQYkg7.js → navigation-split-view-CMy_B-Gr.js} +4 -4
- package/dist/cdn/chunks/{notification-Dzpy9hCc.js → notification-DiXBAbmu.js} +6 -6
- package/dist/cdn/chunks/{number-field-BJCUe-bI.js → number-field-CPCuSebL.js} +7 -7
- package/dist/cdn/chunks/{one-half-one-half-section-Ctw8ri5v.js → one-half-one-half-section-lsJ_QAgo.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-DxUUH8lS.js → one-third-two-thirds-section-LS-XD6DL.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-DGDyqIMd.js → one-time-code-field-DT4VRbkL.js} +7 -6
- package/dist/cdn/chunks/{page-BpavFPML.js → page-BWCcVj4L.js} +4 -4
- package/dist/cdn/chunks/{page-footer-CVqmyulx.js → page-footer-QCQIeoP7.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-BHg-Wre9.js → page-section-mixin-BSRwTzVh.js} +3 -3
- package/dist/cdn/chunks/{pagination-BGZYq-eO.js → pagination-CfR0D1Z7.js} +6 -6
- package/dist/cdn/chunks/{password-field-BIFfLAls.js → password-field-37i3lAaO.js} +8 -8
- package/dist/cdn/chunks/{popover-TCW20ibN.js → popover-BpX7ZwI_.js} +5 -5
- package/dist/cdn/chunks/{progress-bar-C4bLuJBa.js → progress-bar-oT3i4-Ib.js} +7 -7
- package/dist/cdn/chunks/{progress-circle-BePtt89f.js → progress-circle-CskWYN6V.js} +7 -7
- package/dist/cdn/chunks/{radio-button-field-BPva1mUv.js → radio-button-field-yXg-i59N.js} +6 -6
- package/dist/cdn/chunks/{radio-button-group-Z5s4obz6.js → radio-button-group-Bp4nILvI.js} +12 -6
- package/dist/cdn/chunks/{radio-button-CLiuwjA1.js → radio-button-sFiWCWEp.js} +3 -3
- package/dist/cdn/chunks/{render-marked-C3ypoEZM.js → render-marked-B_e-wQFe.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BB9b4T_d.js → reorder-handle-cell-BFyWv6Xk.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DBjNe6Rl.js → reorder-handle-mixin-CwNDaVUE.js} +2 -2
- package/dist/cdn/chunks/repeat-Dx2PqcyL.js +57 -0
- package/dist/cdn/chunks/{rich-text-DTxHo8E_.js → rich-text-CaVHkCB8.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-BcwoEgu7.js → row-header-mixin-BX0qSYSK.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-Dul0IfE1.js → scroll-fade-CXu7Eorw.js} +2 -2
- package/dist/cdn/chunks/{search-field-BeZN7S8J.js → search-field-DkbneceA.js} +10 -10
- package/dist/cdn/chunks/{segmented-control-Dzu8xoqB.js → segmented-control-Ctl4SnV1.js} +6 -6
- package/dist/cdn/chunks/{shadow-resets-Dlq8Oecv.js → shadow-resets-oeO4NF40.js} +2 -2
- package/dist/cdn/chunks/{sheet-DaQpfAep.js → sheet-XGOn3SXX.js} +3 -3
- package/dist/cdn/chunks/{shell-DSNgonKU.js → shell-B7-afKWD.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DhGbcDrs.js → side-by-side-split-view-CZC844ER.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-BlJmPb9C.js → sidebar-section-_eTWxCEU.js} +7 -7
- package/dist/cdn/chunks/{simple-section-CYiTEFqN.js → simple-section-CvBDK1kv.js} +3 -3
- package/dist/cdn/chunks/{skip-link-CReOb-Ci.js → skip-link-CHAlS7T_.js} +4 -4
- package/dist/cdn/chunks/{slider-DUEGol_V.js → slider-CidyL0xj.js} +8 -8
- package/dist/cdn/chunks/{spacer-CPmyJDQq.js → spacer-DukX-lmv.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DJEv0v6s.js → spacer-cell-etr1xFgM.js} +4 -4
- package/dist/cdn/chunks/{split-button-B3vfYAdy.js → split-button-DD0NWy1h.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-pSUpnEPX.js → split-view-divider-x1x3K9m0.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-J1RVr_w1.js → split-view-pane-BnCIygrY.js} +3 -3
- package/dist/cdn/chunks/{stacked-split-view-B67fT-Ch.js → stacked-split-view-B70JJ94w.js} +4 -4
- package/dist/cdn/chunks/{static-html-BT4LOKbV.js → static-html-Bqazhm1K.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CGXqgNOf.js → status-bar-CNLiFQUC.js} +4 -4
- package/dist/cdn/chunks/{step-bar-DdsA2Egs.js → step-bar-BOvuQRux.js} +5 -5
- package/dist/cdn/chunks/{step-cell-DsTAgMCx.js → step-cell-CM1Ju6Qz.js} +5 -5
- package/dist/cdn/chunks/{stepper-DPqXiLQr.js → stepper-CKM-lSpD.js} +6 -6
- package/dist/cdn/chunks/{style-map-B7yv7Y8k.js → style-map-BK47EPzs.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-D9QZmbNN.js → swatch-picker-CFRNmV9x.js} +5 -5
- package/dist/cdn/chunks/{switch-CE2glvZQ.js → switch-BBy9Xo1E.js} +4 -4
- package/dist/cdn/chunks/{switch-field-Dr2LovXc.js → switch-field-zh-K7d2q.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-DYZbToZB.js → tab-bar-C8qWE51t.js} +8 -8
- package/dist/cdn/chunks/{table-DoQMJbSg.js → table-av_EyIn7.js} +5 -5
- package/dist/cdn/chunks/{tag-DOX5nY-Z.js → tag-DFv9vv3i.js} +4 -4
- package/dist/cdn/chunks/{term-CxGzPnhq.js → term-DeQiGH6k.js} +12 -12
- package/dist/cdn/chunks/{text-cell-ByGrujhK.js → text-cell-BcT9b0bK.js} +8 -8
- package/dist/cdn/chunks/{text-editor-DT9oWQCT.js → text-editor-BwJE_vvo.js} +10 -10
- package/dist/cdn/chunks/{text-field-DKz5IRAU.js → text-field-B78KPNqa.js} +6 -7
- package/dist/cdn/chunks/{text-Dqe0uTK7.js → text-mfKi65T1.js} +3 -3
- package/dist/cdn/chunks/{time-field-Dh7nTwNc.js → time-field-O2OSrTyM.js} +13 -13
- package/dist/cdn/chunks/{time-picker-Bp-l4JfF.js → time-picker-Ce5tW_jo.js} +5 -5
- package/dist/cdn/chunks/{title-CdIWXNtc.js → title-Bdx3NCUA.js} +4 -4
- package/dist/cdn/chunks/{title-cell-DNbP8l_x.js → title-cell-BwHqLbue.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-CPMxB3gN.js → toggle-button-CjjJRwpP.js} +57 -41
- package/dist/cdn/chunks/{toggle-button-group-ERWVyRX5.js → toggle-button-group-CuRM8-nF.js} +11 -5
- package/dist/cdn/chunks/{token-CG8dR3EH.js → token-AiSihnjQ.js} +5 -5
- package/dist/cdn/chunks/{token-field-B8wqHKan.js → token-field-GETUgMlc.js} +10 -10
- package/dist/cdn/chunks/{toolbar-CiZoecHm.js → toolbar-Cwq028PV.js} +8 -8
- package/dist/cdn/chunks/{toolbar-item-xJEewchW.js → toolbar-item-DR1Z8Hc3.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-C08aG67Y.js → toolbar-title-CDTF6HLo.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-DmAHodW4.js → toolbar.styles-JjSZv4fw.js} +3 -3
- package/dist/cdn/chunks/{tooltip-660R32cn.js → tooltip-c-bLjIjT.js} +4 -4
- package/dist/cdn/chunks/{top-navigation-bar-B1HFShH8.js → top-navigation-bar-DzmvxwVc.js} +17 -17
- package/dist/cdn/chunks/{top-title-bar-BLZZd0Iu.js → top-title-bar-Bk6dadA-.js} +6 -6
- package/dist/cdn/chunks/{translations-CF08wvn-.js → translations-BDYe8_q9.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-Dqz7UoSH.js → two-thirds-one-third-section-Co5_3oOP.js} +3 -3
- package/dist/cdn/chunks/{validation-list-D-bzOl5H.js → validation-list-MEykkKGr.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-X9d6wHvR.js → visibility-mixin-UdX7clEI.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-Cew5_ldu.js → visually-hidden-BKnf0dXp.js} +2 -2
- package/dist/cdn/chunks/{window-DSgA26_c.js → window-DNoLmVa1.js} +4 -4
- package/dist/cdn/chunks/{with-translations-Boc5Daaj.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 +13 -1
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +53 -2
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/inputs/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/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/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/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/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/css/dropdown.css +17 -0
- package/dist/css/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/nldd.min.js +783 -734
- package/dist/types/react.d.ts +139 -7
- package/dist/types/vue.d.ts +288 -34
- package/dist/utilities/autoloader.generated.d.ts.map +1 -1
- package/dist/utilities/autoloader.generated.js +1 -0
- package/dist/utilities/autoloader.generated.js.map +1 -1
- package/dist/utilities/described-by-mixin.d.ts +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 +24 -3
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/package.json +6 -1
- package/dist/cdn/chunks/checkbox-field-CSXV0prA.js +0 -162
- package/dist/cdn/chunks/described-by-mixin-DXC6jkCd.js +0 -35
- package/dist/cdn/chunks/repeat-s95Ixbpx.js +0 -76
|
@@ -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 };
|
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { t as o } from "./shadow-resets-oeO4NF40.js";
|
|
5
|
+
import { t as s } from "./owned-attribute-x9OCTy_4.js";
|
|
6
|
+
import { t as c } from "./defer-focus-F73ud2D9.js";
|
|
7
|
+
// src/components/inputs/checkbox-group/checkbox-group.styles.ts
|
|
8
|
+
var l = r`
|
|
9
|
+
:host {
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* # Host */
|
|
15
|
+
|
|
16
|
+
:host {
|
|
17
|
+
${o}
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
:host([hidden]) {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/* # Block */
|
|
27
|
+
|
|
28
|
+
.checkbox-group {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
33
|
+
// src/components/inputs/checkbox-group/checkbox-group.template.ts
|
|
34
|
+
function u(e) {
|
|
35
|
+
return t`
|
|
36
|
+
<div class="checkbox-group">
|
|
37
|
+
<slot @slotchange=${e._onSlotChange}></slot>
|
|
38
|
+
</div>
|
|
39
|
+
`;
|
|
40
|
+
}
|
|
41
|
+
// src/components/inputs/checkbox-group/checkbox-group.ts
|
|
42
|
+
var d = class extends e {
|
|
43
|
+
constructor(...e) {
|
|
44
|
+
super(...e), this.name = "", this.disabled = !1, this.required = !1, this.accessibleLabel = "", this.accessibleLabeledBy = "", this._appliedLabel = null, this._answerQueued = !1, this.invalid = !1, this._handleChange = () => {
|
|
45
|
+
this._syncAnswered();
|
|
46
|
+
}, this._onSlotChange = () => {
|
|
47
|
+
this._syncFields();
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
connectedCallback() {
|
|
51
|
+
super.connectedCallback(), this.setAttribute("role", "group"), this.addEventListener("change", this._handleChange);
|
|
52
|
+
}
|
|
53
|
+
disconnectedCallback() {
|
|
54
|
+
super.disconnectedCallback(), this.removeEventListener("change", this._handleChange);
|
|
55
|
+
}
|
|
56
|
+
updated(e) {
|
|
57
|
+
(e.has("name") || e.has("disabled") || e.has("required")) && this._syncFields(), e.has("invalid") && (this.invalid ? this.setAttribute("aria-invalid", "true") : this.removeAttribute("aria-invalid")), e.has("accessibleLabel") && (this._appliedLabel = s(this, "aria-label", this.accessibleLabel, this._appliedLabel)), e.has("accessibleLabeledBy") && (this.accessibleLabeledBy ? this.setAttribute("aria-labelledby", this.accessibleLabeledBy) : this.removeAttribute("aria-labelledby"));
|
|
58
|
+
}
|
|
59
|
+
_getFields() {
|
|
60
|
+
return Array.from(this.querySelectorAll("nldd-checkbox-field"));
|
|
61
|
+
}
|
|
62
|
+
_syncFields() {
|
|
63
|
+
this._getFields().forEach((e) => {
|
|
64
|
+
this.name && (e.name = this.name), e.required = this.required, this.disabled ? e.hasAttribute("disabled") || (e.setAttribute("group-disabled", ""), e.disabled = !0) : e.hasAttribute("group-disabled") && (e.removeAttribute("group-disabled"), e.disabled = !1);
|
|
65
|
+
}), this._syncAnswered();
|
|
66
|
+
}
|
|
67
|
+
_syncAnswered() {
|
|
68
|
+
let e = this._getFields(), t = e.some((e) => e.checked);
|
|
69
|
+
e.forEach((e) => {
|
|
70
|
+
e._groupHasSelection = t, e.commitFormValue?.();
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
_optionChanged() {
|
|
74
|
+
this._answerQueued || (this._answerQueued = !0, queueMicrotask(() => {
|
|
75
|
+
this._answerQueued = !1, this._syncAnswered();
|
|
76
|
+
}));
|
|
77
|
+
}
|
|
78
|
+
focus(e) {
|
|
79
|
+
if (c(this, e)) return;
|
|
80
|
+
let t = this._getFields().filter((e) => !e.disabled);
|
|
81
|
+
(t.find((e) => e.checked) ?? t[0])?.focus(e);
|
|
82
|
+
}
|
|
83
|
+
render() {
|
|
84
|
+
return u(this);
|
|
85
|
+
}
|
|
86
|
+
}, f = (d.styles = l, d.isFormInput = !0, d);
|
|
87
|
+
n([i({ type: String })], f.prototype, "name", void 0), n([i({
|
|
88
|
+
type: Boolean,
|
|
89
|
+
reflect: !0
|
|
90
|
+
})], f.prototype, "disabled", void 0), n([i({
|
|
91
|
+
type: Boolean,
|
|
92
|
+
reflect: !0
|
|
93
|
+
})], f.prototype, "required", void 0), n([i({
|
|
94
|
+
type: String,
|
|
95
|
+
attribute: "accessible-label"
|
|
96
|
+
})], f.prototype, "accessibleLabel", void 0), n([i({
|
|
97
|
+
type: String,
|
|
98
|
+
attribute: "accessible-labeled-by"
|
|
99
|
+
})], f.prototype, "accessibleLabeledBy", void 0), n([i({
|
|
100
|
+
type: Boolean,
|
|
101
|
+
reflect: !0
|
|
102
|
+
})], f.prototype, "invalid", void 0), f = n([a("nldd-checkbox-group")], f);
|
|
103
|
+
export { f as NLDDCheckboxGroup };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as e, r as t } from "./custom-element-
|
|
1
|
+
import { a as e, r as t } from "./custom-element-Dmqf9u_a.js";
|
|
2
2
|
import { t as n } from "./reflect-non-default-Bu3rpCvg.js";
|
|
3
|
-
import { A as r, F as i, U as a, V as o, Z as s, r as c, t as l } from "./languages-
|
|
3
|
+
import { A as r, F as i, U as a, V as o, Z as s, r as c, t as l } from "./languages-BFRgyhqj.js";
|
|
4
4
|
import { t as u } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as d } from "./query-ChDzi9FQ.js";
|
|
6
|
-
import { a as f, n as p, o as m, t as h } from "./codemirror-input-
|
|
7
|
-
import { o as g, t as _ } from "./decorate-
|
|
8
|
-
import { t as v } from "./shadow-resets-
|
|
6
|
+
import { a as f, n as p, o as m, t as h } from "./codemirror-input-CgrWL_xI.js";
|
|
7
|
+
import { o as g, t as _ } from "./decorate-D_xx_M26.js";
|
|
8
|
+
import { t as v } from "./shadow-resets-oeO4NF40.js";
|
|
9
9
|
// src/components/inputs/code-editor/code-editor.styles.ts
|
|
10
10
|
var y = e`
|
|
11
11
|
:host {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as e, n as t, r as n } from "./custom-element-
|
|
1
|
+
import { a as e, n as t, r as n } from "./custom-element-Dmqf9u_a.js";
|
|
2
2
|
import { t as r } from "./reflect-non-default-Bu3rpCvg.js";
|
|
3
|
-
import { $ as i, A as a, B as o, O as s, P as c, U as l, Z as u, i as d, j as f, r as p, rt as m, t as ee, z as h } from "./languages-
|
|
3
|
+
import { $ as i, A as a, B as o, O as s, P as c, U as l, Z as u, i as d, j as f, r as p, rt as m, t as ee, z as h } from "./languages-BFRgyhqj.js";
|
|
4
4
|
import { t as g } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { o as _, r as v, t as y } from "./decorate-
|
|
6
|
-
import { t as b } from "./shadow-resets-
|
|
5
|
+
import { o as _, r as v, t as y } from "./decorate-D_xx_M26.js";
|
|
6
|
+
import { t as b } from "./shadow-resets-oeO4NF40.js";
|
|
7
7
|
import { t as x } from "./code-viewer.i18n-BHfSDRbK.js";
|
|
8
|
-
import "./icon-button-
|
|
9
|
-
import "./tooltip-
|
|
10
|
-
import { t as S } from "./translations-
|
|
8
|
+
import "./icon-button-BzCEK4gH.js";
|
|
9
|
+
import "./tooltip-c-bLjIjT.js";
|
|
10
|
+
import { t as S } from "./translations-BDYe8_q9.js";
|
|
11
11
|
import { r as C } from "./element-state-B-44fVqq.js";
|
|
12
12
|
import { t as w } from "./defer-focus-F73ud2D9.js";
|
|
13
13
|
// src/components/content/code-viewer/code-viewer.styles.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { l as e } from "./style-mod-DGMhzWuk.js";
|
|
2
|
-
import { $ as t, A as n, C as r, D as i, G as a, J as o, Q as s, S as c, T as l, X as u, Y as d, Z as f, a as p, b as m, ct as ee, et as te, ft as ne, i as re, k as ie, lt as h, mt as g, ot as ae, pt as _, st as oe, y as v } from "./languages-
|
|
3
|
-
import { r as y } from "./custom-element-
|
|
4
|
-
import { n as se, t as b } from "./decorate-
|
|
2
|
+
import { $ as t, A as n, C as r, D as i, G as a, J as o, Q as s, S as c, T as l, X as u, Y as d, Z as f, a as p, b as m, ct as ee, et as te, ft as ne, i as re, k as ie, lt as h, mt as g, ot as ae, pt as _, st as oe, y as v } from "./languages-BFRgyhqj.js";
|
|
3
|
+
import { r as y } from "./custom-element-Dmqf9u_a.js";
|
|
4
|
+
import { n as se, t as b } from "./decorate-D_xx_M26.js";
|
|
5
5
|
import { t as ce } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { t as le } from "./described-by-mixin-
|
|
6
|
+
import { t as le } from "./described-by-mixin-C3iCCTgg.js";
|
|
7
7
|
import { t as ue } from "./form-associated-mixin-BtStDDYA.js";
|
|
8
8
|
// node_modules/@codemirror/commands/dist/index.js
|
|
9
9
|
var de = (e) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, 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 { t as l } from "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { n as d } from "./breakpoints-Cwor8TRP.js";
|
|
7
|
-
import { t as f } from "./if-defined-
|
|
7
|
+
import { t as f } from "./if-defined-CSVfrDre.js";
|
|
8
8
|
import { t as p } from "./collection.i18n-DqWPGnZO.js";
|
|
9
|
-
import "./button-
|
|
10
|
-
import "./button-bar-
|
|
11
|
-
import "./icon-button-
|
|
12
|
-
import "./icon-
|
|
9
|
+
import "./button-1F4MG_21.js";
|
|
10
|
+
import "./button-bar-BcmQQqns.js";
|
|
11
|
+
import "./icon-button-BzCEK4gH.js";
|
|
12
|
+
import "./icon-C1HTyyIr.js";
|
|
13
13
|
import { t as m } from "./spacing-scale-SufIjHeN.js";
|
|
14
|
-
import { t as h } from "./translations-
|
|
14
|
+
import { t as h } from "./translations-BDYe8_q9.js";
|
|
15
15
|
import { t as g } from "./list-items-Du0RCWsY.js";
|
|
16
16
|
// src/components/layout/collection/collection.styles.ts
|
|
17
17
|
var _ = o(d.smMax), v = o(d.mdMin), y = o(d.mdMax), b = o(d.lgMin), x = i`
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, 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 "./query-ChDzi9FQ.js";
|
|
5
5
|
import { t as l } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
6
|
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as d } from "./shadow-resets-
|
|
8
|
-
import "./icon-button-
|
|
9
|
-
import "./icon-
|
|
7
|
+
import { t as d } from "./shadow-resets-oeO4NF40.js";
|
|
8
|
+
import "./icon-button-BzCEK4gH.js";
|
|
9
|
+
import "./icon-C1HTyyIr.js";
|
|
10
10
|
import { t as f } from "./combo-box.i18n-BorzYnJ2.js";
|
|
11
|
-
import "./menu-
|
|
11
|
+
import "./menu-B03m20cI.js";
|
|
12
12
|
import { t as p } from "./implicit-submission-Csbcor_E.js";
|
|
13
|
-
import { t as m } from "./described-by-mixin-
|
|
14
|
-
import { t as h } from "./translations-
|
|
13
|
+
import { t as m } from "./described-by-mixin-C3iCCTgg.js";
|
|
14
|
+
import { t as h } from "./translations-BDYe8_q9.js";
|
|
15
15
|
import { r as g } from "./element-state-B-44fVqq.js";
|
|
16
16
|
import { t as _ } from "./defer-focus-F73ud2D9.js";
|
|
17
17
|
// src/components/inputs/combo-box/combo-box.styles.ts
|
|
@@ -148,6 +148,7 @@ var v = i`
|
|
|
148
148
|
top: 0;
|
|
149
149
|
right: 0;
|
|
150
150
|
bottom: 0;
|
|
151
|
+
border-radius: 0 calc(var(--_combo-box-corner-radius) - var(--semantics-input-fields-border-width)) calc(var(--_combo-box-corner-radius) - var(--semantics-input-fields-border-width)) 0;
|
|
151
152
|
background: linear-gradient(90deg, color-mix(in oklch, var(--_combo-box-background-color) 0%, transparent) 0%, var(--_combo-box-background-color) 100%);
|
|
152
153
|
pointer-events: none;
|
|
153
154
|
width: var(--primitives-space-8);
|
|
@@ -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,21 +1,21 @@
|
|
|
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 { t as l } from "./css-time-DmkAFd1y.js";
|
|
5
5
|
import { t as u } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
6
|
import { t as d } from "./implicit-submission-Csbcor_E.js";
|
|
7
7
|
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as p } from "./shadow-resets-
|
|
8
|
+
import { t as p } from "./shadow-resets-oeO4NF40.js";
|
|
9
9
|
import { n as m } from "./breakpoints-Cwor8TRP.js";
|
|
10
|
-
import "./icon-button-
|
|
11
|
-
import "./icon-
|
|
12
|
-
import "./popover-
|
|
13
|
-
import "./container-
|
|
14
|
-
import "./top-title-bar-
|
|
15
|
-
import { n as h, r as g } from "./date-picker-
|
|
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
16
|
import { t as _ } from "./date-field.i18n-BqIx3eyr.js";
|
|
17
|
-
import { t as v } from "./described-by-mixin-
|
|
18
|
-
import { t as y } from "./translations-
|
|
17
|
+
import { t as v } from "./described-by-mixin-C3iCCTgg.js";
|
|
18
|
+
import { t as y } from "./translations-BDYe8_q9.js";
|
|
19
19
|
import { n as b, r as x } from "./return-focus-BzZWhXhc.js";
|
|
20
20
|
import { n as S } from "./input-modality-XE0B7yCn.js";
|
|
21
21
|
// src/components/inputs/date-field/date-field.styles.ts
|
|
@@ -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,
|