@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nldd/design-system",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.2",
|
|
4
4
|
"description": "Designsysteem voor de Nederlandse Digitale Dienst",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/components/index.js",
|
|
@@ -147,6 +147,10 @@
|
|
|
147
147
|
"types": "./dist/components/inputs/checkbox-field/checkbox-field.d.ts",
|
|
148
148
|
"default": "./dist/components/inputs/checkbox-field/checkbox-field.js"
|
|
149
149
|
},
|
|
150
|
+
"./checkbox-group": {
|
|
151
|
+
"types": "./dist/components/inputs/checkbox-group/checkbox-group.d.ts",
|
|
152
|
+
"default": "./dist/components/inputs/checkbox-group/checkbox-group.js"
|
|
153
|
+
},
|
|
150
154
|
"./code-editor": {
|
|
151
155
|
"types": "./dist/components/inputs/code-editor/code-editor.d.ts",
|
|
152
156
|
"default": "./dist/components/inputs/code-editor/code-editor.js"
|
|
@@ -532,6 +536,7 @@
|
|
|
532
536
|
"./styles/text": "./dist/css/text.css",
|
|
533
537
|
"./styles/title": "./dist/css/title.css",
|
|
534
538
|
"./styles/link": "./dist/css/link.css",
|
|
539
|
+
"./styles/dropdown": "./dist/css/dropdown.css",
|
|
535
540
|
"./styles/rich-text": "./dist/css/rich-text.css",
|
|
536
541
|
"./themes": "./dist/css/themes.css",
|
|
537
542
|
"./themes/*": "./dist/css/themes/*",
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-CkbtFnic.js";
|
|
2
|
-
import { a as i, r as a } from "./custom-element-C5yyaCZS.js";
|
|
3
|
-
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { n as s, t as c } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-Dlq8Oecv.js";
|
|
6
|
-
import "./checkbox-BDp3O8Nc.js";
|
|
7
|
-
import { t as u } from "./described-by-mixin-DXC6jkCd.js";
|
|
8
|
-
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
9
|
-
import { t as f } from "./defer-focus-F73ud2D9.js";
|
|
10
|
-
// src/components/inputs/checkbox-field/checkbox-field.styles.ts
|
|
11
|
-
var p = i`
|
|
12
|
-
:host {
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/* # Host */
|
|
18
|
-
|
|
19
|
-
:host {
|
|
20
|
-
${l}
|
|
21
|
-
display: block;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
:host([hidden]) {
|
|
25
|
-
display: none;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/* # Block */
|
|
30
|
-
|
|
31
|
-
.checkbox-field {
|
|
32
|
-
display: flex;
|
|
33
|
-
min-height: var(--semantics-controls-md-min-size);
|
|
34
|
-
flex-direction: row;
|
|
35
|
-
gap: var(--primitives-space-8);
|
|
36
|
-
align-items: flex-start;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
/* ## Colors */
|
|
41
|
-
|
|
42
|
-
:host([color="content"]) .checkbox-field__label {
|
|
43
|
-
--context-content-color: inherit;
|
|
44
|
-
color: var(--context-content-color);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
/* # Elements */
|
|
49
|
-
|
|
50
|
-
.checkbox-field__control {
|
|
51
|
-
display: flex;
|
|
52
|
-
min-height: var(--semantics-controls-md-min-size);
|
|
53
|
-
flex-shrink: 0;
|
|
54
|
-
align-items: center;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.checkbox-field__label {
|
|
58
|
-
display: flex;
|
|
59
|
-
cursor: default;
|
|
60
|
-
padding-top: calc((var(--semantics-controls-md-min-size) - 1em * var(--primitives-line-height-snug)) / 2);
|
|
61
|
-
flex-grow: 1;
|
|
62
|
-
--context-content-color: var(--semantics-content-color);
|
|
63
|
-
color: var(--semantics-content-color);
|
|
64
|
-
font: var(--primitives-font-body-md-regular-snug);
|
|
65
|
-
text-wrap: pretty;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
:host([disabled]) .checkbox-field__label {
|
|
69
|
-
opacity: var(--primitives-opacity-disabled);
|
|
70
|
-
}
|
|
71
|
-
`;
|
|
72
|
-
// src/components/inputs/checkbox-field/checkbox-field.template.ts
|
|
73
|
-
function m(e) {
|
|
74
|
-
return t`
|
|
75
|
-
<div class="checkbox-field"
|
|
76
|
-
@click=${e._handleLabelClick}
|
|
77
|
-
>
|
|
78
|
-
<div class="checkbox-field__control">
|
|
79
|
-
<nldd-checkbox
|
|
80
|
-
color=${e.color || n}
|
|
81
|
-
?invalid=${e.invalid}
|
|
82
|
-
?required=${e.required}
|
|
83
|
-
?checked=${e.checked}
|
|
84
|
-
?indeterminate=${e.indeterminate}
|
|
85
|
-
?disabled=${e.disabled}
|
|
86
|
-
name=${e.name || n}
|
|
87
|
-
value=${e.value}
|
|
88
|
-
accessible-label=${e.label || n}
|
|
89
|
-
@change=${e._handleChange}
|
|
90
|
-
></nldd-checkbox>
|
|
91
|
-
</div>
|
|
92
|
-
<span class="checkbox-field__label">${e.label}</span>
|
|
93
|
-
</div>
|
|
94
|
-
`;
|
|
95
|
-
}
|
|
96
|
-
// src/components/inputs/checkbox-field/checkbox-field.ts
|
|
97
|
-
var h = class extends u(c(e)) {
|
|
98
|
-
constructor(...e) {
|
|
99
|
-
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.invalid = !1;
|
|
100
|
-
}
|
|
101
|
-
firstUpdated() {
|
|
102
|
-
this._initialChecked = this.checked;
|
|
103
|
-
}
|
|
104
|
-
formValue() {
|
|
105
|
-
return this.checked ? this.value : null;
|
|
106
|
-
}
|
|
107
|
-
ownValidity() {
|
|
108
|
-
return s(this);
|
|
109
|
-
}
|
|
110
|
-
formResetCallback() {
|
|
111
|
-
this.checked = this._initialChecked, this.indeterminate = !1;
|
|
112
|
-
}
|
|
113
|
-
formStateRestoreCallback(e) {
|
|
114
|
-
this.checked = e !== null;
|
|
115
|
-
}
|
|
116
|
-
_handleLabelClick(e) {
|
|
117
|
-
this.disabled || e.target.closest?.("nldd-checkbox") || (this.shadowRoot?.querySelector("nldd-checkbox"))?.toggle();
|
|
118
|
-
}
|
|
119
|
-
_handleChange(e) {
|
|
120
|
-
let { checked: t } = e.detail;
|
|
121
|
-
this.checked = t, this.indeterminate = !1, this.commitFormValue(), this.dispatchEvent(new CustomEvent("change", {
|
|
122
|
-
detail: {
|
|
123
|
-
checked: this.checked,
|
|
124
|
-
value: this.value
|
|
125
|
-
},
|
|
126
|
-
bubbles: !0,
|
|
127
|
-
composed: !0
|
|
128
|
-
}));
|
|
129
|
-
}
|
|
130
|
-
focus(e) {
|
|
131
|
-
f(this, e) || this.shadowRoot?.querySelector("nldd-checkbox")?.focus(e);
|
|
132
|
-
}
|
|
133
|
-
describedTarget() {
|
|
134
|
-
return this.shadowRoot?.querySelector("nldd-checkbox") ?? null;
|
|
135
|
-
}
|
|
136
|
-
render() {
|
|
137
|
-
return m(this);
|
|
138
|
-
}
|
|
139
|
-
}, g = (h.styles = p, h.isFormInput = !0, h);
|
|
140
|
-
r([a({
|
|
141
|
-
type: Boolean,
|
|
142
|
-
reflect: !0
|
|
143
|
-
})], g.prototype, "checked", void 0), r([a({
|
|
144
|
-
type: Boolean,
|
|
145
|
-
reflect: !0
|
|
146
|
-
})], g.prototype, "indeterminate", void 0), r([a({
|
|
147
|
-
type: Boolean,
|
|
148
|
-
reflect: !0
|
|
149
|
-
})], g.prototype, "disabled", void 0), r([a({ type: String })], g.prototype, "value", void 0), r([a({
|
|
150
|
-
reflect: !0,
|
|
151
|
-
converter: d("")
|
|
152
|
-
})], g.prototype, "name", void 0), r([a({
|
|
153
|
-
reflect: !0,
|
|
154
|
-
converter: d("")
|
|
155
|
-
})], g.prototype, "color", void 0), r([a({ type: String })], g.prototype, "label", void 0), r([a({
|
|
156
|
-
type: Boolean,
|
|
157
|
-
reflect: !0
|
|
158
|
-
})], g.prototype, "required", void 0), r([a({
|
|
159
|
-
type: Boolean,
|
|
160
|
-
reflect: !0
|
|
161
|
-
})], g.prototype, "invalid", void 0), g = r([o("nldd-checkbox-field")], g);
|
|
162
|
-
export { g as NLDDCheckboxField };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { r as e } from "./custom-element-C5yyaCZS.js";
|
|
2
|
-
import { t } from "./decorate-CkbtFnic.js";
|
|
3
|
-
// src/utilities/described-by-mixin.ts
|
|
4
|
-
function n(e, t, n = !1) {
|
|
5
|
-
if (!e) return;
|
|
6
|
-
if (!n && "describedByElements" in e) {
|
|
7
|
-
e.describedByElements = [...t];
|
|
8
|
-
return;
|
|
9
|
-
}
|
|
10
|
-
let r = e;
|
|
11
|
-
r.ariaDescribedByElements = t.length ? [...t] : null;
|
|
12
|
-
}
|
|
13
|
-
function r(e, t, n = !1) {
|
|
14
|
-
e && (!n && "invalid" in e ? e.invalid = t : t ? e.setAttribute("aria-invalid", "true") : e.removeAttribute("aria-invalid"));
|
|
15
|
-
}
|
|
16
|
-
function i(i) {
|
|
17
|
-
class a extends i {
|
|
18
|
-
constructor(...e) {
|
|
19
|
-
super(...e), this.describedByElements = [], this.addController({ hostUpdated: () => {
|
|
20
|
-
let e = this.describedTarget(), t = e === this;
|
|
21
|
-
n(e, [...this.describedByElements, ...this.ownDescriptions()], t);
|
|
22
|
-
let i = this.invalid;
|
|
23
|
-
i !== void 0 && r(e, i, t);
|
|
24
|
-
} });
|
|
25
|
-
}
|
|
26
|
-
describedTarget() {
|
|
27
|
-
return this.shadowRoot?.querySelector("input, textarea, select") ?? null;
|
|
28
|
-
}
|
|
29
|
-
ownDescriptions() {
|
|
30
|
-
return [];
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return t([e({ attribute: !1 })], a.prototype, "describedByElements", void 0), a;
|
|
34
|
-
}
|
|
35
|
-
export { n, i as t };
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { i as e, s as t } from "./decorate-CkbtFnic.js";
|
|
2
|
-
import { n, r, t as i } from "./directive-CwRgozUW.js";
|
|
3
|
-
// node_modules/lit-html/directive-helpers.js
|
|
4
|
-
var { I: a } = t, o = (e) => e, s = () => document.createComment(""), c = (e, t, n) => {
|
|
5
|
-
let r = e._$AA.parentNode, i = t === void 0 ? e._$AB : t._$AA;
|
|
6
|
-
if (n === void 0) n = new a(r.insertBefore(s(), i), r.insertBefore(s(), i), e, e.options);
|
|
7
|
-
else {
|
|
8
|
-
let t = n._$AB.nextSibling, a = n._$AM, s = a !== e;
|
|
9
|
-
if (s) {
|
|
10
|
-
let t;
|
|
11
|
-
n._$AQ?.(e), n._$AM = e, n._$AP !== void 0 && (t = e._$AU) !== a._$AU && n._$AP(t);
|
|
12
|
-
}
|
|
13
|
-
if (t !== i || s) {
|
|
14
|
-
let e = n._$AA;
|
|
15
|
-
for (; e !== t;) {
|
|
16
|
-
let t = o(e).nextSibling;
|
|
17
|
-
o(r).insertBefore(e, i), e = t;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return n;
|
|
22
|
-
}, l = (e, t, n = e) => (e._$AI(t, n), e), u = {}, d = (e, t = u) => e._$AH = t, f = (e) => e._$AH, p = (e) => {
|
|
23
|
-
e._$AR(), e._$AA.remove();
|
|
24
|
-
}, m = (e, t, n) => {
|
|
25
|
-
let r = /* @__PURE__ */ new Map();
|
|
26
|
-
for (let i = t; i <= n; i++) r.set(e[i], i);
|
|
27
|
-
return r;
|
|
28
|
-
}, h = i(class extends n {
|
|
29
|
-
constructor(e) {
|
|
30
|
-
if (super(e), e.type !== r.CHILD) throw Error("repeat() can only be used in text expressions");
|
|
31
|
-
}
|
|
32
|
-
dt(e, t, n) {
|
|
33
|
-
let r;
|
|
34
|
-
n === void 0 ? n = t : t !== void 0 && (r = t);
|
|
35
|
-
let i = [], a = [], o = 0;
|
|
36
|
-
for (let t of e) i[o] = r ? r(t, o) : o, a[o] = n(t, o), o++;
|
|
37
|
-
return {
|
|
38
|
-
values: a,
|
|
39
|
-
keys: i
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
render(e, t, n) {
|
|
43
|
-
return this.dt(e, t, n).values;
|
|
44
|
-
}
|
|
45
|
-
update(t, [n, r, i]) {
|
|
46
|
-
let a = f(t), { values: o, keys: s } = this.dt(n, r, i);
|
|
47
|
-
if (!Array.isArray(a)) return this.ut = s, o;
|
|
48
|
-
let u = this.ut ?? (this.ut = []), h = [], g, _, v = 0, y = a.length - 1, b = 0, x = o.length - 1;
|
|
49
|
-
for (; v <= y && b <= x;) if (a[v] === null) v++;
|
|
50
|
-
else if (a[y] === null) y--;
|
|
51
|
-
else if (u[v] === s[b]) h[b] = l(a[v], o[b]), v++, b++;
|
|
52
|
-
else if (u[y] === s[x]) h[x] = l(a[y], o[x]), y--, x--;
|
|
53
|
-
else if (u[v] === s[x]) h[x] = l(a[v], o[x]), c(t, h[x + 1], a[v]), v++, x--;
|
|
54
|
-
else if (u[y] === s[b]) h[b] = l(a[y], o[b]), c(t, a[v], a[y]), y--, b++;
|
|
55
|
-
else if (g === void 0 && (g = m(s, b, x), _ = m(u, v, y)), g.has(u[v])) {
|
|
56
|
-
if (g.has(u[y])) {
|
|
57
|
-
let e = _.get(s[b]), n = e === void 0 ? null : a[e];
|
|
58
|
-
if (n === null) {
|
|
59
|
-
let e = c(t, a[v]);
|
|
60
|
-
l(e, o[b]), h[b] = e;
|
|
61
|
-
} else h[b] = l(n, o[b]), c(t, a[v], n), a[e] = null;
|
|
62
|
-
b++;
|
|
63
|
-
} else p(a[y]), y--;
|
|
64
|
-
} else p(a[v]), v++;
|
|
65
|
-
for (; b <= x;) {
|
|
66
|
-
let e = c(t, h[x + 1]);
|
|
67
|
-
l(e, o[b]), h[b++] = e;
|
|
68
|
-
}
|
|
69
|
-
for (; v <= y;) {
|
|
70
|
-
let e = a[v++];
|
|
71
|
-
e !== null && p(e);
|
|
72
|
-
}
|
|
73
|
-
return this.ut = s, d(t, h), e;
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
export { h as t };
|