@nldd/design-system 0.26.0 → 0.26.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 +4559 -1176
- package/dist/cdn/autoloader.js +141 -141
- package/dist/cdn/chunks/{accordion-DA4IlxS5.js → accordion-CCuKxlsg.js} +6 -6
- package/dist/cdn/chunks/{accordion-item-Ca1o93cq.js → accordion-item-Cn1UDWtD.js} +7 -7
- package/dist/cdn/chunks/{activity-indicator-Cj4H0Mbz.js → activity-indicator-BM_atCTY.js} +13 -13
- package/dist/cdn/chunks/{admonition-CdZSoO8O.js → admonition-CqDce27_.js} +11 -11
- package/dist/cdn/chunks/{avatar-Dhqn-Dmv.js → avatar-Dl2tOfc2.js} +18 -18
- package/dist/cdn/chunks/{avatar-group-B017eF-u.js → avatar-group-Br3qBaow.js} +42 -40
- package/dist/cdn/chunks/{badge-Bep5B0_g.js → badge-DjjAl4mn.js} +15 -15
- package/dist/cdn/chunks/{banner-DGpIXuE2.js → banner-s5xMqoEU.js} +16 -16
- package/dist/cdn/chunks/{bar-split-view-CKwJxd3e.js → bar-split-view-B6Mv_cw-.js} +8 -8
- package/dist/cdn/chunks/{blockquote-ChMgaOuI.js → blockquote-CRFPXI9u.js} +8 -8
- package/dist/cdn/chunks/{box-BRmziG-6.js → box-CSZyj31o.js} +5 -5
- package/dist/cdn/chunks/{breadcrumbs-BeVO8bkQ.js → breadcrumbs-DzjbOB7o.js} +13 -13
- package/dist/cdn/chunks/{button-cHBkq_s7.js → button-B7OGt_dX.js} +53 -54
- package/dist/cdn/chunks/{button-bar-CLxOdalJ.js → button-bar-CvDkir22.js} +8 -8
- package/dist/cdn/chunks/{button-group-BIvKtEIX.js → button-group-Bi3dr9Go.js} +6 -6
- package/dist/cdn/chunks/{card-B5gp9Zly.js → card-DceO3pMp.js} +10 -10
- package/dist/cdn/chunks/{cell-D4Nrd5Z9.js → cell-Bgp9n0yQ.js} +13 -13
- package/dist/cdn/chunks/{checkbox-CeLTJhAc.js → checkbox-C1F0Q3g8.js} +26 -43
- package/dist/cdn/chunks/{checkbox-field-C8cU8fuf.js → checkbox-field-DGKc530M.js} +35 -43
- package/dist/cdn/chunks/checkbox-group-x9Ua2a06.js +91 -0
- package/dist/cdn/chunks/choice-group-AZsqoheP.js +64 -0
- package/dist/cdn/chunks/{class-map-xzscTu4B.js → class-map-CAVKoa31.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BNhlXTSl.js → code-editor-C0U5qVW2.js} +11 -11
- package/dist/cdn/chunks/{code-viewer-D_JwouYO.js → code-viewer-C_DzKPSv.js} +17 -17
- package/dist/cdn/chunks/{codemirror-input-DJ0wgYrc.js → codemirror-input-BmIE22aU.js} +5 -5
- package/dist/cdn/chunks/{collection-BXvz_OtU.js → collection-BZK9NzrQ.js} +19 -19
- package/dist/cdn/chunks/{combo-box-8kbmoStb.js → combo-box-DJrQ-2Wr.js} +69 -87
- package/dist/cdn/chunks/{container-Dq-2uHd5.js → container-BT96Wlz6.js} +48 -48
- package/dist/cdn/chunks/{custom-element-DeaCQ2NP.js → custom-element-D5bstafw.js} +2 -2
- package/dist/cdn/chunks/{date-field-CQg1_73u.js → date-field-B8GcDwkD.js} +33 -40
- package/dist/cdn/chunks/{date-picker-CTMxGOiA.js → date-picker-Byi-fA0A.js} +17 -17
- package/dist/cdn/chunks/{decorate-CCYde2ES.js → decorate-Cjb3GqlZ.js} +1 -1
- package/dist/cdn/chunks/deep-active-element-DgiHjYGG.js +7 -0
- package/dist/cdn/chunks/{described-by-mixin-BYFim7aO.js → described-by-mixin-ZWpyWEyB.js} +2 -2
- package/dist/cdn/chunks/{description-cell-GcVeCz2_.js → description-cell-DRXRiZGw.js} +12 -12
- package/dist/cdn/chunks/{dev-checks-CSlbfDuF.js → dev-checks-BYWMWeug.js} +931 -931
- package/dist/cdn/chunks/{directive-helpers-DgaADFyY.js → directive-helpers-mh9SNf0j.js} +1 -1
- package/dist/cdn/chunks/{dist-5vPsM2aV.js → dist-1yCEk2Pe.js} +1 -1
- package/dist/cdn/chunks/{dist-1OQdP4ho.js → dist-BBtyEGZQ.js} +3 -3
- package/dist/cdn/chunks/{dist-Da_liXcd.js → dist-BIhRNYZs.js} +3 -3
- package/dist/cdn/chunks/{dist-B23jHvJ5.js → dist-BfJ8w6Dz.js} +1 -1
- package/dist/cdn/chunks/{dist-CcpLhc4y.js → dist-BlHWe6Ns.js} +1 -1
- package/dist/cdn/chunks/{dist-VCymi0hs.js → dist-C4o16iKF.js} +1 -1
- package/dist/cdn/chunks/{dist-CyDpBAaD.js → dist-CKGgPGjj.js} +2 -2
- package/dist/cdn/chunks/{dist-CNy2sPTt.js → dist-CT0CdAxb.js} +2 -2
- package/dist/cdn/chunks/{dist-D4SViUJx.js → dist-DCzCfm9V.js} +1 -1
- package/dist/cdn/chunks/{dist-DLtwMUDc.js → dist-iYv1GHSb.js} +2 -2
- package/dist/cdn/chunks/{dist-DBxjWahH.js → dist-jyyZH0d2.js} +1 -1
- package/dist/cdn/chunks/{divider-8XD3xTbl.js → divider-CeAw8gBP.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-RBAmckHS.js → document-tab-bar-rIsC6EZp.js} +32 -46
- package/dist/cdn/chunks/{dropdown-DVlxPcjr.js → dropdown-MEzKo0TQ.js} +14 -14
- package/dist/cdn/chunks/{file-field-BrHnFplX.js → file-field--wivtgZv.js} +42 -40
- package/dist/cdn/chunks/{form-DGHeGEIr.js → form-ByjlUZuR.js} +1 -1
- package/dist/cdn/chunks/{form-actions-CHwWKfMM.js → form-actions-YK7n_jse.js} +4 -4
- package/dist/cdn/chunks/form-associated-mixin-BCzChLUO.js +123 -0
- package/dist/cdn/chunks/{form-field-CdTSI-8h.js → form-field-y-h-k8x5.js} +11 -11
- package/dist/cdn/chunks/{form-section-CjECOIiZ.js → form-section-jWj88aQa.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-CQgq4iGQ.js → full-bleed-section-h6CrFe8F.js} +5 -5
- package/dist/cdn/chunks/{hero-DhdcYt2N.js → hero-Dy1tW9gU.js} +19 -19
- package/dist/cdn/chunks/{icon-button-DT_Bi4Ac.js → icon-button-B0Lb2ccT.js} +37 -38
- package/dist/cdn/chunks/{icon-cell-C-qrZAlN.js → icon-cell-byBTzcEn.js} +10 -10
- package/dist/cdn/chunks/{icon-qpmEfU9B.js → icon-m8JXbN5F.js} +8 -8
- package/dist/cdn/chunks/{identity-DFmvuPkl.js → identity-BpUMGka9.js} +12 -12
- package/dist/cdn/chunks/{if-defined-BINBE69I.js → if-defined-Duzrh8bb.js} +1 -1
- package/dist/cdn/chunks/{image-B4M3h1xJ.js → image-DfpFBPj1.js} +21 -21
- package/dist/cdn/chunks/{inline-dialog-L-NvjANF.js → inline-dialog-D6CMJnYk.js} +16 -16
- package/dist/cdn/chunks/interest-intent-Bk3i_upv.js +63 -0
- package/dist/cdn/chunks/{interest-controller-Ban-3NrX.js → interest-invoker-BY95Duqo.js} +28 -38
- package/dist/cdn/chunks/{just-in-time-education-CWplH4r9.js → just-in-time-education-_1kTZuGb.js} +13 -13
- package/dist/cdn/chunks/{kanban-B6Wa-2aM.js → kanban-DFGaEwfP.js} +25 -29
- package/dist/cdn/chunks/{kanban-column-D2-Xq79_.js → kanban-column-Cs47JSUO.js} +10 -10
- package/dist/cdn/chunks/{keyboard-shortcut-Ci95olxF.js → keyboard-shortcut-4DPqQovv.js} +13 -13
- package/dist/cdn/chunks/{languages-C9AGuuSS.js → languages-D-97TsxL.js} +12 -12
- package/dist/cdn/chunks/{link-BJB2a_fG.js → link-6T0VtDWt.js} +18 -18
- package/dist/cdn/chunks/{link-group-aNoedLZo.js → link-group-ymcl82Ua.js} +7 -7
- package/dist/cdn/chunks/{list-CZWX62tH.js → list-BXpR0UzC.js} +110 -95
- package/dist/cdn/chunks/{list-item-DHzsbK_S.js → list-item-CyZ6uPGG.js} +50 -29
- package/dist/cdn/chunks/{list-item-segment-CHLlU9Gg.js → list-item-segment-BUtAy96X.js} +23 -20
- package/dist/cdn/chunks/{menu-bar-CJazkmY7.js → menu-bar-Cn1Nb2ir.js} +59 -60
- package/dist/cdn/chunks/{menu-bar-item-CSqXWNKE.js → menu-bar-item-CZR2qAzA.js} +35 -35
- package/dist/cdn/chunks/{menu-divider-Cn1hTpcM.js → menu-divider-dF1NvFJO.js} +3 -3
- package/dist/cdn/chunks/{menu-group-C71K1Vmv.js → menu-group-DW3so0Dn.js} +4 -4
- package/dist/cdn/chunks/{menu-item-TqBlQfI2.js → menu-item-7kb18Ypf.js} +4 -4
- package/dist/cdn/chunks/{menu-NGpB1SKq.js → menu-kSZLzjet.js} +101 -93
- package/dist/cdn/chunks/{menu.template-DthELYky.js → menu.template-cgua9dKM.js} +4 -4
- package/dist/cdn/chunks/{modal-dialog-0V2HsrJC.js → modal-dialog-DfKbcw9T.js} +28 -78
- package/dist/cdn/chunks/modal-overlay-Bx0bYzF3.js +95 -0
- package/dist/cdn/chunks/{multi-line-text-field-BV4uUDoK.js → multi-line-text-field-AV-vID1z.js} +28 -45
- package/dist/cdn/chunks/{navigation-split-view-tPhkxEVD.js → navigation-split-view-UwlSFPDE.js} +10 -10
- package/dist/cdn/chunks/{notification-CZccv6qx.js → notification-e5uGGh0b.js} +12 -12
- package/dist/cdn/chunks/{number-field-4R2blHda.js → number-field-COUmvl_s.js} +26 -32
- package/dist/cdn/chunks/{one-half-one-half-section-h2fLPQfP.js → one-half-one-half-section-C-AgSdm9.js} +6 -6
- package/dist/cdn/chunks/{one-third-two-thirds-section-mqUAH5lK.js → one-third-two-thirds-section-D1kq4IEc.js} +6 -6
- package/dist/cdn/chunks/{one-time-code-field-Bf_qymKd.js → one-time-code-field-BDQctC8H.js} +25 -38
- package/dist/cdn/chunks/overflow-menu-C67lAkP8.js +83 -0
- package/dist/cdn/chunks/overlay-invoker-CQpe-JGA.js +95 -0
- package/dist/cdn/chunks/{page-Kipfvmi6.js → page-DXEaFsfo.js} +11 -11
- package/dist/cdn/chunks/{page-footer-DxE966Oe.js → page-footer-DFaIlgHs.js} +13 -13
- package/dist/cdn/chunks/{page-section-mixin-DpF9JDpd.js → page-section-mixin-3XhS4f5q.js} +21 -21
- package/dist/cdn/chunks/{pagination-DUFFhaU8.js → pagination-BE3ERBNx.js} +13 -13
- package/dist/cdn/chunks/{password-field-DdYAVmF3.js → password-field-DjRp78HI.js} +28 -45
- package/dist/cdn/chunks/{popover-CRHxyhGx.js → popover-C3j0KtFh.js} +55 -64
- package/dist/cdn/chunks/{progress-bar-BuYsjmSo.js → progress-bar-iWFq6KS1.js} +26 -26
- package/dist/cdn/chunks/{progress-circle-Cvu1bfNG.js → progress-circle-BPFzTlhn.js} +24 -24
- package/dist/cdn/chunks/{radio-button-B_4AxWDx.js → radio-button-BMVBbe3-.js} +17 -26
- package/dist/cdn/chunks/{radio-button-field-D7jIg6Oi.js → radio-button-field-BqSd0JMd.js} +29 -37
- package/dist/cdn/chunks/radio-button-group-DZTPflZ3.js +112 -0
- package/dist/cdn/chunks/{render-marked-CIuiSS_8.js → render-marked-1xftlCd8.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-DNPaZjSC.js → reorder-handle-cell-loSG6GRY.js} +7 -7
- package/dist/cdn/chunks/{reorder-handle-mixin-CgvWq4fF.js → reorder-handle-mixin-cLWXCdFC.js} +2 -2
- package/dist/cdn/chunks/{repeat-DfVuWl6o.js → repeat-CWsNVfra.js} +2 -2
- package/dist/cdn/chunks/{return-focus-D0fF2hjd.js → return-focus-CpwHVxYU.js} +10 -14
- package/dist/cdn/chunks/{rich-text-CVHlMQY6.js → rich-text-DSvI9u6v.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-B25JK2B3.js → row-header-mixin-vwABKkTO.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-Dv57rTww.js → scroll-fade-ZNdnDF4p.js} +4 -4
- package/dist/cdn/chunks/{search-field-hmD_DXbG.js → search-field-CBTir8Wu.js} +33 -58
- package/dist/cdn/chunks/{segmented-control-e8e-jYSw.js → segmented-control-hvWn3L0J.js} +92 -103
- package/dist/cdn/chunks/{shadow-resets-CRdvf-Ei.js → shadow-resets-JiVlctXb.js} +2 -2
- package/dist/cdn/chunks/{sheet-D09y3J45.js → sheet-CnbdONF9.js} +39 -90
- package/dist/cdn/chunks/{shell-CV3gooGg.js → shell-BAH9okPd.js} +5 -5
- package/dist/cdn/chunks/{side-by-side-split-view-Ckz1C9zk.js → side-by-side-split-view-D07iBCFK.js} +8 -8
- package/dist/cdn/chunks/{sidebar-section-CdyD-x4t.js → sidebar-section-DAE2lrdn.js} +14 -14
- package/dist/cdn/chunks/{simple-section-CEf38rBZ.js → simple-section-DQZpG3nQ.js} +7 -7
- package/dist/cdn/chunks/{skip-link-DMRhATWw.js → skip-link-D0yYukhb.js} +7 -7
- package/dist/cdn/chunks/{slider-Db3FPiP6.js → slider-C-a97cAu.js} +30 -37
- package/dist/cdn/chunks/{spacer-BPFIYueo.js → spacer-C19W6HrX.js} +8 -8
- package/dist/cdn/chunks/{spacer-cell-kITa3CDV.js → spacer-cell-lRxkFSnp.js} +6 -6
- package/dist/cdn/chunks/{split-button-CJs9-Nha.js → split-button-38xSIAVk.js} +21 -21
- package/dist/cdn/chunks/{split-view-divider-lHlM1Ss8.js → split-view-divider-CViSo7s7.js} +5 -5
- package/dist/cdn/chunks/{split-view-pane-DlsbZtyo.js → split-view-pane-Bb1RFCNJ.js} +7 -7
- package/dist/cdn/chunks/{stacked-split-view-uRSVhrMd.js → stacked-split-view-Bnw5hQ5A.js} +8 -8
- package/dist/cdn/chunks/{static-html-BahSPV_4.js → static-html-7PckS8pf.js} +1 -1
- package/dist/cdn/chunks/{status-bar-DCJLVpsW.js → status-bar-D57SEB_4.js} +8 -8
- package/dist/cdn/chunks/{step-bar-CRR2jiyo.js → step-bar-Q_wc0vqp.js} +18 -18
- package/dist/cdn/chunks/{step-cell-CbtKxJNJ.js → step-cell-DU6sNjnm.js} +15 -15
- package/dist/cdn/chunks/{stepper-Con1_CnB.js → stepper-BM1dp44g.js} +16 -26
- package/dist/cdn/chunks/{style-map-uOwLerwV.js → style-map-BRs_xiW6.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Bqn0eaC9.js → swatch-picker-BcRbPWVv.js} +63 -69
- package/dist/cdn/chunks/{switch-CMQcLEBJ.js → switch-7BZAufN0.js} +25 -42
- package/dist/cdn/chunks/{switch-field-D9kWq4Kw.js → switch-field-gjPTIapp.js} +19 -32
- package/dist/cdn/chunks/{tab-bar-DXzyZI3V.js → tab-bar-BKzbb7TE.js} +34 -29
- package/dist/cdn/chunks/{table-CWACLpHx.js → table-CmkkY3M1.js} +15 -15
- package/dist/cdn/chunks/{tag-Bo4yJbtF.js → tag-B4VfItSH.js} +11 -11
- package/dist/cdn/chunks/{term-CQ379ZbN.js → term-C0aNyYXz.js} +42 -39
- package/dist/cdn/chunks/{text-D-dFoj6N.js → text-CLuHOFQt.js} +29 -29
- package/dist/cdn/chunks/{text-cell-Be1hStxp.js → text-cell-Dvujh580.js} +23 -23
- package/dist/cdn/chunks/{text-editor-BjzQEBWm.js → text-editor-0_ZoELkA.js} +12 -12
- package/dist/cdn/chunks/{text-field-DA8nirp6.js → text-field-CrRBrXx0.js} +28 -45
- package/dist/cdn/chunks/{time-field-Dd_TxJuf.js → time-field-DUt1zvLw.js} +66 -148
- package/dist/cdn/chunks/{time-picker-B0-rv1qp.js → time-picker-CDzillxF.js} +119 -40
- package/dist/cdn/chunks/{title-DOoPdG_i.js → title-DQXyEqFW.js} +12 -12
- package/dist/cdn/chunks/{title-cell-BzCNOMGr.js → title-cell-CoUK6h-F.js} +23 -23
- package/dist/cdn/chunks/{toggle-button-9PbDHviQ.js → toggle-button-BhU5vLF8.js} +41 -54
- package/dist/cdn/chunks/{toggle-button-group-C-H-xp0M.js → toggle-button-group-B-0r4xZZ.js} +40 -54
- package/dist/cdn/chunks/{token-CMKFC3gz.js → token-CELUzY2p.js} +31 -34
- package/dist/cdn/chunks/{token-field-D4-XHfnG.js → token-field-C8ynyISX.js} +67 -57
- package/dist/cdn/chunks/{toolbar-z9OhEE5l.js → toolbar--QBCm9qO.js} +34 -78
- package/dist/cdn/chunks/{toolbar-item-ZYoyKOyy.js → toolbar-item-BoRhKFDR.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-FKtQ8ZC4.js → toolbar-title-CciXdTJR.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-DDjpdCHV.js → toolbar.styles-B6kTrAfC.js} +3 -3
- package/dist/cdn/chunks/{tooltip-BvRNYRo3.js → tooltip-CkLC4ooQ.js} +43 -41
- package/dist/cdn/chunks/{top-navigation-bar-BHPQntER.js → top-navigation-bar-CGu2pn4Z.js} +29 -29
- package/dist/cdn/chunks/{top-title-bar-BVjegLlh.js → top-title-bar-2b-XHftB.js} +15 -15
- package/dist/cdn/chunks/{translations-cJjO6nQV.js → translations-D0cgmONm.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BdBHQuXc.js → two-thirds-one-third-section-CEfd273Z.js} +6 -6
- package/dist/cdn/chunks/{validation-list-5E3-3_95.js → validation-list-DIFEVSIk.js} +12 -12
- package/dist/cdn/chunks/{visibility-mixin-DvRe3O8t.js → visibility-mixin-OjALtpXa.js} +14 -14
- package/dist/cdn/chunks/{visually-hidden-F85D_HcR.js → visually-hidden-DcpY5lun.js} +2 -2
- package/dist/cdn/chunks/{window-CabW35M1.js → window-BGZCu06O.js} +44 -80
- package/dist/cdn/chunks/{with-translations-BHDG37HJ.js → with-translations-DkNkjQym.js} +3 -3
- package/dist/components/actions/button/button.d.ts +4 -4
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +4 -5
- package/dist/components/actions/button/button.js.map +1 -1
- package/dist/components/actions/button/button.template.js +1 -1
- package/dist/components/actions/button/button.template.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +4 -4
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +4 -5
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js +1 -1
- package/dist/components/actions/icon-button/icon-button.template.js.map +1 -1
- package/dist/components/actions/menu/menu.d.ts +22 -6
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +50 -70
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/split-button/split-button.js +1 -1
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +3 -3
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +4 -4
- package/dist/components/actions/toolbar/toolbar.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.template.js +5 -9
- package/dist/components/actions/toolbar/toolbar.template.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +7 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +9 -9
- package/dist/components/content/avatar-group/avatar-group.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.template.js +0 -1
- package/dist/components/content/avatar-group/avatar-group.template.js.map +1 -1
- package/dist/components/content/term/term.d.ts +5 -5
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +22 -23
- package/dist/components/content/term/term.js.map +1 -1
- package/dist/components/content/term/term.template.js +1 -1
- package/dist/components/content/term/term.template.js.map +1 -1
- package/dist/components/content/token/token.d.ts +3 -5
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +23 -33
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +3 -5
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +34 -119
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +4 -1
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +1 -4
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +3 -23
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +1 -5
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +8 -17
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +1 -9
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.js +18 -59
- package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +6 -7
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +25 -58
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +1 -2
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +4 -14
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +6 -3
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +15 -18
- package/dist/components/inputs/file-field/file-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts +1 -4
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js +3 -23
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +4 -3
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +12 -16
- package/dist/components/inputs/number-field/number-field.js.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts +1 -4
- package/dist/components/inputs/one-time-code-field/one-time-code-field.d.ts.map +1 -1
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js +2 -17
- package/dist/components/inputs/one-time-code-field/one-time-code-field.js.map +1 -1
- package/dist/components/inputs/password-field/password-field.d.ts +1 -4
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +3 -23
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +1 -4
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +1 -10
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +3 -6
- 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 +6 -14
- 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 +1 -10
- 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 +17 -74
- package/dist/components/inputs/radio-button-group/radio-button-group.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.d.ts +1 -4
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +5 -35
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +1 -3
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +6 -41
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +1 -4
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +1 -14
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +1 -3
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +2 -13
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +1 -3
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +5 -28
- package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +1 -4
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +3 -22
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +1 -4
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +2 -16
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +1 -4
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +3 -23
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +8 -2
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +23 -14
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +11 -7
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +19 -14
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +3 -6
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +6 -20
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +2 -11
- 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 +23 -78
- package/dist/components/inputs/toggle-button-group/toggle-button-group.js.map +1 -1
- package/dist/components/inputs/token-field/token-field.d.ts +12 -10
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +33 -35
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +0 -1
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.js +2 -7
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +17 -3
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +34 -126
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +2 -33
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +8 -169
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.template.js +5 -5
- package/dist/components/layout/sheet/sheet.template.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +2 -30
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +12 -139
- package/dist/components/layout/window/window.js.map +1 -1
- package/dist/components/layout/window/window.template.d.ts.map +1 -1
- package/dist/components/layout/window/window.template.js +5 -4
- package/dist/components/layout/window/window.template.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.d.ts +8 -32
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +37 -136
- package/dist/components/lists-and-tables/list/list.js.map +1 -1
- package/dist/components/lists-and-tables/list/list.roving.d.ts +79 -0
- package/dist/components/lists-and-tables/list/list.roving.d.ts.map +1 -0
- package/dist/components/lists-and-tables/list/list.roving.js +122 -0
- package/dist/components/lists-and-tables/list/list.roving.js.map +1 -0
- package/dist/components/lists-and-tables/list-item/list-item.d.ts +32 -17
- package/dist/components/lists-and-tables/list-item/list-item.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item/list-item.js +49 -36
- package/dist/components/lists-and-tables/list-item/list-item.js.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts +3 -2
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js +5 -5
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +4 -5
- 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 +12 -63
- package/dist/components/navigation/document-tab-bar/document-tab-bar.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js +5 -7
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +2 -2
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +2 -2
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +11 -17
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +44 -71
- package/dist/components/navigation/menu-bar/menu-bar.js.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.template.js +2 -2
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts +2 -3
- package/dist/components/navigation/menu-bar-item/menu-bar-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js +14 -30
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +8 -2
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +18 -4
- package/dist/components/navigation/tab-bar/tab-bar.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.template.js +4 -2
- package/dist/components/navigation/tab-bar/tab-bar.template.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +2 -22
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js +4 -124
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.d.ts.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js +5 -3
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.template.js.map +1 -1
- package/dist/nldd.min.js +855 -851
- package/dist/types/react.d.ts +96 -6
- package/dist/types/vue.d.ts +182 -9
- package/dist/utilities/choice-group.d.ts +91 -0
- package/dist/utilities/choice-group.d.ts.map +1 -0
- package/dist/utilities/choice-group.js +135 -0
- package/dist/utilities/choice-group.js.map +1 -0
- package/dist/utilities/deep-active-element.d.ts +6 -0
- package/dist/utilities/deep-active-element.d.ts.map +1 -0
- package/dist/utilities/deep-active-element.js +11 -0
- package/dist/utilities/deep-active-element.js.map +1 -0
- package/dist/utilities/dev-rules.generated.js +931 -931
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/form-associated-mixin.d.ts +21 -5
- package/dist/utilities/form-associated-mixin.d.ts.map +1 -1
- package/dist/utilities/form-associated-mixin.js +86 -5
- package/dist/utilities/form-associated-mixin.js.map +1 -1
- package/dist/utilities/interest-intent.d.ts +63 -0
- package/dist/utilities/interest-intent.d.ts.map +1 -0
- package/dist/utilities/interest-intent.js +139 -0
- package/dist/utilities/interest-intent.js.map +1 -0
- package/dist/utilities/{interest-controller.d.ts → interest-invoker.d.ts} +5 -14
- package/dist/utilities/interest-invoker.d.ts.map +1 -0
- package/dist/utilities/{interest-controller.js → interest-invoker.js} +39 -97
- package/dist/utilities/interest-invoker.js.map +1 -0
- package/dist/utilities/modal-overlay.d.ts +73 -0
- package/dist/utilities/modal-overlay.d.ts.map +1 -0
- package/dist/utilities/modal-overlay.js +219 -0
- package/dist/utilities/modal-overlay.js.map +1 -0
- package/dist/utilities/overflow-menu.d.ts +97 -0
- package/dist/utilities/overflow-menu.d.ts.map +1 -0
- package/dist/utilities/overflow-menu.js +209 -0
- package/dist/utilities/overflow-menu.js.map +1 -0
- package/dist/utilities/overlay-invoker.d.ts +185 -0
- package/dist/utilities/overlay-invoker.d.ts.map +1 -0
- package/dist/utilities/overlay-invoker.js +326 -0
- package/dist/utilities/overlay-invoker.js.map +1 -0
- package/dist/utilities/page-section-mixin.d.ts +11 -0
- package/dist/utilities/page-section-mixin.d.ts.map +1 -1
- package/dist/utilities/page-section-mixin.js +11 -0
- package/dist/utilities/page-section-mixin.js.map +1 -1
- package/dist/utilities/return-focus.d.ts +0 -2
- package/dist/utilities/return-focus.d.ts.map +1 -1
- package/dist/utilities/return-focus.js +1 -7
- package/dist/utilities/return-focus.js.map +1 -1
- package/dist/utilities/with-translations.d.ts +3 -0
- package/dist/utilities/with-translations.d.ts.map +1 -1
- package/dist/utilities/with-translations.js +3 -0
- package/dist/utilities/with-translations.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/engine.js +4 -114
- package/lint/fix.js +53 -136
- package/lint/frontends.js +68 -6
- package/lint/linter.js +1 -0
- package/lint/main.js +21 -123
- package/lint/project.js +31 -0
- package/lint/rule-compiler.js +289 -0
- package/lint/session.js +127 -0
- package/lint/tree.js +46 -0
- package/package.json +5 -3
- package/dist/cdn/chunks/checkbox-group-CC72cq-P.js +0 -103
- package/dist/cdn/chunks/form-associated-mixin-BtStDDYA.js +0 -73
- package/dist/cdn/chunks/open-when-rendered-CW_2_WUZ.js +0 -20
- package/dist/cdn/chunks/popover-target-B25dxnmt.js +0 -10
- package/dist/cdn/chunks/popup-anchor-controller-VZw0bXf2.js +0 -30
- package/dist/cdn/chunks/radio-button-group-D_OezDhB.js +0 -124
- package/dist/components/actions/toolbar/toolbar.overflow-menu.d.ts +0 -52
- package/dist/components/actions/toolbar/toolbar.overflow-menu.d.ts.map +0 -1
- package/dist/components/actions/toolbar/toolbar.overflow-menu.js +0 -105
- package/dist/components/actions/toolbar/toolbar.overflow-menu.js.map +0 -1
- package/dist/utilities/interest-controller.d.ts.map +0 -1
- package/dist/utilities/interest-controller.js.map +0 -1
- package/dist/utilities/open-when-rendered.d.ts +0 -21
- package/dist/utilities/open-when-rendered.d.ts.map +0 -1
- package/dist/utilities/open-when-rendered.js +0 -30
- package/dist/utilities/open-when-rendered.js.map +0 -1
- package/dist/utilities/popover-target.d.ts +0 -25
- package/dist/utilities/popover-target.d.ts.map +0 -1
- package/dist/utilities/popover-target.js +0 -48
- package/dist/utilities/popover-target.js.map +0 -1
- package/dist/utilities/popup-anchor-controller.d.ts +0 -63
- package/dist/utilities/popup-anchor-controller.d.ts.map +0 -1
- package/dist/utilities/popup-anchor-controller.js +0 -72
- package/dist/utilities/popup-anchor-controller.js.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
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 {
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-Cjb3GqlZ.js";
|
|
3
|
+
import { n as i, r as a, s as o, t as s } from "./custom-element-D5bstafw.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-CWsNVfra.js";
|
|
7
7
|
// src/components/actions/button-bar/button-bar.styles.ts
|
|
8
|
-
var d =
|
|
8
|
+
var d = o`
|
|
9
9
|
:host {
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
}
|
|
@@ -216,14 +216,14 @@ var v = (h = class extends t {
|
|
|
216
216
|
return f.call(this);
|
|
217
217
|
}
|
|
218
218
|
}, h.styles = d, h);
|
|
219
|
-
r([
|
|
219
|
+
r([a({
|
|
220
220
|
reflect: !0,
|
|
221
221
|
converter: l("md")
|
|
222
|
-
})], v.prototype, "size", void 0), r([
|
|
222
|
+
})], v.prototype, "size", void 0), r([a({
|
|
223
223
|
reflect: !0,
|
|
224
224
|
converter: l("neutral-tinted")
|
|
225
|
-
})], v.prototype, "appearance", void 0), r([
|
|
225
|
+
})], v.prototype, "appearance", void 0), r([a({
|
|
226
226
|
type: Boolean,
|
|
227
227
|
reflect: !0
|
|
228
|
-
})], v.prototype, "disabled", void 0), r([
|
|
228
|
+
})], v.prototype, "disabled", void 0), r([i()], v.prototype, "_children", void 0), v = r([c("nldd-button-bar")], v);
|
|
229
229
|
export { m as t };
|
|
@@ -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 {
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-Cjb3GqlZ.js";
|
|
3
|
+
import { r as i, s as a } from "./custom-element-D5bstafw.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";
|
|
7
7
|
import { r as l } from "./element-state-B-44fVqq.js";
|
|
8
8
|
// src/components/actions/button-group/button-group.styles.ts
|
|
9
|
-
var u =
|
|
9
|
+
var u = a`
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
/* # Host */
|
|
@@ -192,13 +192,13 @@ var g = (p = class extends t {
|
|
|
192
192
|
return d.call(this);
|
|
193
193
|
}
|
|
194
194
|
}, p.styles = u, p);
|
|
195
|
-
r([
|
|
195
|
+
r([i({
|
|
196
196
|
reflect: !0,
|
|
197
197
|
converter: c("md")
|
|
198
|
-
})], g.prototype, "size", void 0), r([
|
|
198
|
+
})], g.prototype, "size", void 0), r([i({
|
|
199
199
|
reflect: !0,
|
|
200
200
|
converter: c("auto")
|
|
201
|
-
})], g.prototype, "orientation", void 0), r([
|
|
201
|
+
})], g.prototype, "orientation", void 0), r([i({
|
|
202
202
|
reflect: !0,
|
|
203
203
|
converter: c("")
|
|
204
204
|
})], g.prototype, "width", void 0), r([s("slot")], g.prototype, "_slot", void 0), g = r([o("nldd-button-group")], g);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-Cjb3GqlZ.js";
|
|
2
|
+
import { n as i, r as a, s as o } from "./custom-element-D5bstafw.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-JiVlctXb.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-DkNkjQym.js";
|
|
9
9
|
import { t as m } from "./card.i18n-CpafLm3i.js";
|
|
10
10
|
// src/components/layout/card/card.styles.ts
|
|
11
|
-
var h =
|
|
11
|
+
var h = o`
|
|
12
12
|
:host {
|
|
13
13
|
box-sizing: border-box;
|
|
14
14
|
}
|
|
@@ -250,17 +250,17 @@ var _ = class extends p(e, m) {
|
|
|
250
250
|
return g(this);
|
|
251
251
|
}
|
|
252
252
|
}, v = (_.styles = h, _);
|
|
253
|
-
r([
|
|
253
|
+
r([a({
|
|
254
254
|
reflect: !0,
|
|
255
255
|
converter: c("base")
|
|
256
|
-
})], v.prototype, "background", void 0), r([
|
|
256
|
+
})], v.prototype, "background", void 0), r([a({
|
|
257
257
|
type: String,
|
|
258
258
|
attribute: "accessible-label"
|
|
259
|
-
})], v.prototype, "accessibleLabel", void 0), r([
|
|
259
|
+
})], v.prototype, "accessibleLabel", void 0), r([a({
|
|
260
260
|
reflect: !0,
|
|
261
261
|
converter: c("")
|
|
262
|
-
})], v.prototype, "href", void 0), r([
|
|
262
|
+
})], v.prototype, "href", void 0), r([a({ type: String })], v.prototype, "target", void 0), r([a({ type: String })], v.prototype, "download", void 0), r([a({ type: String })], v.prototype, "rel", void 0), r([a({
|
|
263
263
|
type: Boolean,
|
|
264
264
|
reflect: !0
|
|
265
|
-
})], v.prototype, "button", void 0), r([
|
|
265
|
+
})], v.prototype, "button", void 0), r([i()], v.prototype, "_actionFocused", void 0), v = r([s("nldd-card")], v);
|
|
266
266
|
export { v as NLDDCard };
|
|
@@ -1,14 +1,14 @@
|
|
|
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 {
|
|
2
|
+
import { n as t, o as n, t as r } from "./decorate-Cjb3GqlZ.js";
|
|
3
|
+
import { r as i, s as a } from "./custom-element-D5bstafw.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-cLWXCdFC.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-JiVlctXb.js";
|
|
8
|
+
import { t as u } from "./visibility-mixin-OjALtpXa.js";
|
|
9
|
+
import { t as d } from "./row-header-mixin-vwABKkTO.js";
|
|
10
10
|
// src/components/lists-and-tables/cells/cell/cell.styles.ts
|
|
11
|
-
var f =
|
|
11
|
+
var f = a`
|
|
12
12
|
:host {
|
|
13
13
|
box-sizing: border-box;
|
|
14
14
|
}
|
|
@@ -118,26 +118,26 @@ var f = i`
|
|
|
118
118
|
return p();
|
|
119
119
|
}
|
|
120
120
|
}, g = (h.styles = [f], h);
|
|
121
|
-
r([
|
|
121
|
+
r([i({
|
|
122
122
|
reflect: !0,
|
|
123
123
|
converter: c("fit-content")
|
|
124
|
-
})], g.prototype, "width", void 0), r([
|
|
124
|
+
})], g.prototype, "width", void 0), r([i({
|
|
125
125
|
type: String,
|
|
126
126
|
reflect: !0,
|
|
127
127
|
attribute: "min-width"
|
|
128
|
-
})], g.prototype, "minWidth", void 0), r([
|
|
128
|
+
})], g.prototype, "minWidth", void 0), r([i({
|
|
129
129
|
type: String,
|
|
130
130
|
reflect: !0,
|
|
131
131
|
attribute: "max-width"
|
|
132
|
-
})], g.prototype, "maxWidth", void 0), r([
|
|
132
|
+
})], g.prototype, "maxWidth", void 0), r([i({
|
|
133
133
|
type: String,
|
|
134
134
|
reflect: !0,
|
|
135
135
|
attribute: "min-height"
|
|
136
|
-
})], g.prototype, "minHeight", void 0), r([
|
|
136
|
+
})], g.prototype, "minHeight", void 0), r([i({
|
|
137
137
|
reflect: !0,
|
|
138
138
|
attribute: "horizontal-alignment",
|
|
139
139
|
converter: c("left")
|
|
140
|
-
})], g.prototype, "horizontalAlignment", void 0), r([
|
|
140
|
+
})], g.prototype, "horizontalAlignment", void 0), r([i({
|
|
141
141
|
reflect: !0,
|
|
142
142
|
attribute: "vertical-alignment",
|
|
143
143
|
converter: c("center")
|
|
@@ -1,14 +1,14 @@
|
|
|
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,
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-Cjb3GqlZ.js";
|
|
3
|
+
import { r as a, s as o } from "./custom-element-D5bstafw.js";
|
|
4
4
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
5
|
-
import { t as c } from "./form-associated-mixin-
|
|
6
|
-
import "./icon-
|
|
7
|
-
import { t as l } from "./described-by-mixin-
|
|
5
|
+
import { t as c } from "./form-associated-mixin-BCzChLUO.js";
|
|
6
|
+
import "./icon-m8JXbN5F.js";
|
|
7
|
+
import { t as l } from "./described-by-mixin-ZWpyWEyB.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
|
|
11
|
-
var f =
|
|
11
|
+
var f = o`
|
|
12
12
|
:host {
|
|
13
13
|
box-sizing: border-box;
|
|
14
14
|
}
|
|
@@ -225,40 +225,23 @@ function p(e) {
|
|
|
225
225
|
// src/components/inputs/checkbox/checkbox.ts
|
|
226
226
|
var m = /* @__PURE__ */ e({ NLDDCheckbox: () => g }), h = class extends l(c(t)) {
|
|
227
227
|
constructor(...e) {
|
|
228
|
-
super(...e), this.
|
|
229
|
-
}
|
|
230
|
-
firstUpdated() {
|
|
231
|
-
this._initialChecked = this.checked;
|
|
228
|
+
super(...e), this.checked = !1, this.decorative = !1, this.disabled = !1, this.noTab = !1, this.indeterminate = !1, this.value = "on", this.name = "", this.color = "", this.accessibleLabel = "", this.required = !1, this.invalid = !1;
|
|
232
229
|
}
|
|
233
230
|
formValue() {
|
|
234
231
|
return this.checked ? this.value : null;
|
|
235
232
|
}
|
|
236
|
-
formResetCallback() {
|
|
237
|
-
this.checked = this._initialChecked, this.indeterminate = !1;
|
|
238
|
-
}
|
|
239
|
-
formStateRestoreCallback(e) {
|
|
240
|
-
this.checked = e !== null;
|
|
241
|
-
}
|
|
242
233
|
toggle() {
|
|
243
|
-
this.disabled || (this.checked = !this.checked, this.indeterminate = !1, this.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
},
|
|
248
|
-
bubbles: !0,
|
|
249
|
-
composed: !0
|
|
250
|
-
})));
|
|
234
|
+
this.disabled || (this.checked = !this.checked, this.indeterminate = !1, this.emitFormEvent("change", {
|
|
235
|
+
checked: this.checked,
|
|
236
|
+
value: this.value
|
|
237
|
+
}));
|
|
251
238
|
}
|
|
252
239
|
_handleChange(e) {
|
|
253
240
|
let t = e.target;
|
|
254
|
-
this.checked = t.checked, this.indeterminate = t.indeterminate, this.
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
},
|
|
259
|
-
bubbles: !0,
|
|
260
|
-
composed: !0
|
|
261
|
-
}));
|
|
241
|
+
this.checked = t.checked, this.indeterminate = t.indeterminate, this.emitFormEvent("change", {
|
|
242
|
+
checked: this.checked,
|
|
243
|
+
value: this.value
|
|
244
|
+
});
|
|
262
245
|
}
|
|
263
246
|
focus(e) {
|
|
264
247
|
d(this, e) || this.shadowRoot?.querySelector(".checkbox__input")?.focus(e);
|
|
@@ -266,36 +249,36 @@ var m = /* @__PURE__ */ e({ NLDDCheckbox: () => g }), h = class extends l(c(t))
|
|
|
266
249
|
render() {
|
|
267
250
|
return p(this);
|
|
268
251
|
}
|
|
269
|
-
}, g = (h.styles = f, h.isFormInput = !0, h);
|
|
270
|
-
i([
|
|
252
|
+
}, g = (h.styles = f, h.formProperties = ["checked"], h.isFormInput = !0, h);
|
|
253
|
+
i([a({
|
|
271
254
|
type: Boolean,
|
|
272
255
|
reflect: !0
|
|
273
|
-
})], g.prototype, "checked", void 0), i([
|
|
256
|
+
})], g.prototype, "checked", void 0), i([a({
|
|
274
257
|
type: Boolean,
|
|
275
258
|
reflect: !0
|
|
276
|
-
})], g.prototype, "decorative", void 0), i([
|
|
259
|
+
})], g.prototype, "decorative", void 0), i([a({
|
|
277
260
|
type: Boolean,
|
|
278
261
|
reflect: !0
|
|
279
|
-
})], g.prototype, "disabled", void 0), i([
|
|
262
|
+
})], g.prototype, "disabled", void 0), i([a({
|
|
280
263
|
type: Boolean,
|
|
281
264
|
reflect: !0,
|
|
282
265
|
attribute: "no-tab"
|
|
283
|
-
})], g.prototype, "noTab", void 0), i([
|
|
266
|
+
})], g.prototype, "noTab", void 0), i([a({
|
|
284
267
|
type: Boolean,
|
|
285
268
|
reflect: !0
|
|
286
|
-
})], g.prototype, "indeterminate", void 0), i([
|
|
269
|
+
})], g.prototype, "indeterminate", void 0), i([a({ type: String })], g.prototype, "value", void 0), i([a({
|
|
287
270
|
reflect: !0,
|
|
288
271
|
converter: u("")
|
|
289
|
-
})], g.prototype, "name", void 0), i([
|
|
272
|
+
})], g.prototype, "name", void 0), i([a({
|
|
290
273
|
reflect: !0,
|
|
291
274
|
converter: u("")
|
|
292
|
-
})], g.prototype, "color", void 0), i([
|
|
275
|
+
})], g.prototype, "color", void 0), i([a({
|
|
293
276
|
type: String,
|
|
294
277
|
attribute: "accessible-label"
|
|
295
|
-
})], g.prototype, "accessibleLabel", void 0), i([
|
|
278
|
+
})], g.prototype, "accessibleLabel", void 0), i([a({
|
|
296
279
|
type: Boolean,
|
|
297
280
|
reflect: !0
|
|
298
|
-
})], g.prototype, "required", void 0), i([
|
|
281
|
+
})], g.prototype, "required", void 0), i([a({
|
|
299
282
|
type: Boolean,
|
|
300
283
|
reflect: !0
|
|
301
284
|
})], g.prototype, "invalid", void 0), g = i([s("nldd-checkbox")], g);
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { i as e, n as t, o as n, r, t as i } from "./decorate-
|
|
2
|
-
import {
|
|
1
|
+
import { i as e, n as t, o as n, r, t as i } from "./decorate-Cjb3GqlZ.js";
|
|
2
|
+
import { n as a, r as o, s } from "./custom-element-D5bstafw.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
-
import { n as l, t as u } from "./form-associated-mixin-
|
|
5
|
-
import { t as d } from "./shadow-resets-
|
|
4
|
+
import { n as l, t as u } from "./form-associated-mixin-BCzChLUO.js";
|
|
5
|
+
import { t as d } from "./shadow-resets-JiVlctXb.js";
|
|
6
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-
|
|
8
|
-
import "./checkbox-
|
|
9
|
-
import { t as _ } from "./
|
|
10
|
-
import { t as v } from "./
|
|
11
|
-
import { t as y } from "./
|
|
7
|
+
import { i as h, r as g } from "./directive-helpers-mh9SNf0j.js";
|
|
8
|
+
import "./checkbox-C1F0Q3g8.js";
|
|
9
|
+
import { t as _ } from "./choice-group-AZsqoheP.js";
|
|
10
|
+
import { t as v } from "./described-by-mixin-ZWpyWEyB.js";
|
|
11
|
+
import { t as y } from "./reflect-non-default-Bu3rpCvg.js";
|
|
12
|
+
import { t as b } from "./defer-focus-F73ud2D9.js";
|
|
12
13
|
// src/components/inputs/checkbox-field/checkbox-field.styles.ts
|
|
13
|
-
var
|
|
14
|
+
var x = s`
|
|
14
15
|
:host {
|
|
15
16
|
box-sizing: border-box;
|
|
16
17
|
}
|
|
@@ -76,7 +77,7 @@ var b = a`
|
|
|
76
77
|
.checkbox-field__children {
|
|
77
78
|
padding-inline-start: var(--_checkbox-field-children-padding-inline-start);
|
|
78
79
|
}
|
|
79
|
-
`,
|
|
80
|
+
`, S = m(class extends f {
|
|
80
81
|
constructor(e) {
|
|
81
82
|
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
83
|
if (!h(e)) throw Error("`live` bindings can only contain a single expression");
|
|
@@ -96,7 +97,7 @@ var b = a`
|
|
|
96
97
|
}
|
|
97
98
|
});
|
|
98
99
|
// src/components/inputs/checkbox-field/checkbox-field.template.ts
|
|
99
|
-
function
|
|
100
|
+
function C(e) {
|
|
100
101
|
return n`
|
|
101
102
|
<div class="checkbox-field"
|
|
102
103
|
@click=${e._handleLabelClick}
|
|
@@ -106,8 +107,8 @@ function S(e) {
|
|
|
106
107
|
color=${e.color || r}
|
|
107
108
|
?invalid=${e.invalid}
|
|
108
109
|
?required=${e.required && !e._inGroup}
|
|
109
|
-
?checked=${
|
|
110
|
-
?indeterminate=${
|
|
110
|
+
?checked=${S(e.checked)}
|
|
111
|
+
?indeterminate=${S(e.indeterminate)}
|
|
111
112
|
?disabled=${e.disabled}
|
|
112
113
|
name=${e.name || r}
|
|
113
114
|
value=${e.value}
|
|
@@ -133,18 +134,15 @@ function S(e) {
|
|
|
133
134
|
`;
|
|
134
135
|
}
|
|
135
136
|
// src/components/inputs/checkbox-field/checkbox-field.ts
|
|
136
|
-
var
|
|
137
|
+
var w = class extends v(u(t)) {
|
|
137
138
|
constructor(...e) {
|
|
138
|
-
super(...e), this.
|
|
139
|
+
super(...e), 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
140
|
let t = e.target;
|
|
140
141
|
t !== this && t.localName === "nldd-checkbox-field" && this._childFields.includes(t) && this._followChildren(!0);
|
|
141
142
|
};
|
|
142
143
|
}
|
|
143
144
|
get _inGroup() {
|
|
144
|
-
return this
|
|
145
|
-
}
|
|
146
|
-
firstUpdated() {
|
|
147
|
-
this._initialChecked = this.checked;
|
|
145
|
+
return _.of(this) !== null;
|
|
148
146
|
}
|
|
149
147
|
connectedCallback() {
|
|
150
148
|
super.connectedCallback(), this.addEventListener("change", this._handleChildChange);
|
|
@@ -154,13 +152,10 @@ var C = class extends _(u(t)) {
|
|
|
154
152
|
}
|
|
155
153
|
_handleChildrenSlotChange(e) {
|
|
156
154
|
let t = e.target;
|
|
157
|
-
this._childFields = t.assignedElements().filter((e) => e.localName === "nldd-checkbox-field"), this._followChildren(!1), this
|
|
158
|
-
}
|
|
159
|
-
get _group() {
|
|
160
|
-
return this.closest("nldd-checkbox-group");
|
|
155
|
+
this._childFields = t.assignedElements().filter((e) => e.localName === "nldd-checkbox-field"), this._followChildren(!1), _.of(this)?.sync();
|
|
161
156
|
}
|
|
162
157
|
willUpdate(e) {
|
|
163
|
-
super.willUpdate(e), this.hasUpdated && e.has("checked") && this
|
|
158
|
+
super.willUpdate(e), this.hasUpdated && e.has("checked") && _.of(this)?.optionChanged(this);
|
|
164
159
|
}
|
|
165
160
|
_followChildren(e) {
|
|
166
161
|
let t = this._childFields;
|
|
@@ -197,10 +192,7 @@ var C = class extends _(u(t)) {
|
|
|
197
192
|
});
|
|
198
193
|
}
|
|
199
194
|
formResetCallback() {
|
|
200
|
-
|
|
201
|
-
}
|
|
202
|
-
formStateRestoreCallback(e) {
|
|
203
|
-
this.checked = e !== null;
|
|
195
|
+
super.formResetCallback(), this._childFields.length > 0 && queueMicrotask(() => this._followChildren(!1));
|
|
204
196
|
}
|
|
205
197
|
_handleLabelClick(e) {
|
|
206
198
|
this.disabled || e.target.closest?.("nldd-checkbox") || (this.shadowRoot?.querySelector("nldd-checkbox"))?.toggle();
|
|
@@ -210,35 +202,35 @@ var C = class extends _(u(t)) {
|
|
|
210
202
|
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
203
|
}
|
|
212
204
|
focus(e) {
|
|
213
|
-
|
|
205
|
+
b(this, e) || this.shadowRoot?.querySelector("nldd-checkbox")?.focus(e);
|
|
214
206
|
}
|
|
215
207
|
describedTarget() {
|
|
216
208
|
return this.shadowRoot?.querySelector("nldd-checkbox") ?? null;
|
|
217
209
|
}
|
|
218
210
|
render() {
|
|
219
|
-
return
|
|
211
|
+
return C(this);
|
|
220
212
|
}
|
|
221
|
-
},
|
|
222
|
-
i([
|
|
213
|
+
}, T = (w.styles = x, w.formProperties = ["checked"], w.isFormInput = !0, w);
|
|
214
|
+
i([o({
|
|
223
215
|
type: Boolean,
|
|
224
216
|
reflect: !0
|
|
225
|
-
})],
|
|
217
|
+
})], T.prototype, "checked", void 0), i([o({
|
|
226
218
|
type: Boolean,
|
|
227
219
|
reflect: !0
|
|
228
|
-
})],
|
|
220
|
+
})], T.prototype, "indeterminate", void 0), i([o({
|
|
229
221
|
type: Boolean,
|
|
230
222
|
reflect: !0
|
|
231
|
-
})],
|
|
223
|
+
})], T.prototype, "disabled", void 0), i([o({ type: String })], T.prototype, "value", void 0), i([o({
|
|
232
224
|
reflect: !0,
|
|
233
|
-
converter:
|
|
234
|
-
})],
|
|
225
|
+
converter: y("")
|
|
226
|
+
})], T.prototype, "name", void 0), i([o({
|
|
235
227
|
reflect: !0,
|
|
236
|
-
converter:
|
|
237
|
-
})],
|
|
228
|
+
converter: y("")
|
|
229
|
+
})], T.prototype, "color", void 0), i([o({ type: String })], T.prototype, "label", void 0), i([o({
|
|
238
230
|
type: Boolean,
|
|
239
231
|
reflect: !0
|
|
240
|
-
})],
|
|
232
|
+
})], T.prototype, "required", void 0), i([a()], T.prototype, "_groupHasSelection", void 0), i([o({
|
|
241
233
|
type: Boolean,
|
|
242
234
|
reflect: !0
|
|
243
|
-
})],
|
|
244
|
-
export {
|
|
235
|
+
})], T.prototype, "invalid", void 0), i([a()], T.prototype, "_childFields", void 0), T = i([c("nldd-checkbox-field")], T);
|
|
236
|
+
export { T as NLDDCheckboxField };
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-Cjb3GqlZ.js";
|
|
2
|
+
import { r, s as i } from "./custom-element-D5bstafw.js";
|
|
3
|
+
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { t as o } from "./shadow-resets-JiVlctXb.js";
|
|
5
|
+
import { t as s } from "./owned-attribute-x9OCTy_4.js";
|
|
6
|
+
import { t as c } from "./defer-focus-F73ud2D9.js";
|
|
7
|
+
import { n as l, t as u } from "./choice-group-AZsqoheP.js";
|
|
8
|
+
// src/components/inputs/checkbox-group/checkbox-group.styles.ts
|
|
9
|
+
var d = i`
|
|
10
|
+
:host {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/* # Host */
|
|
16
|
+
|
|
17
|
+
:host {
|
|
18
|
+
${o}
|
|
19
|
+
display: block;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:host([hidden]) {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/* # Block */
|
|
28
|
+
|
|
29
|
+
.checkbox-group {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
// src/components/inputs/checkbox-group/checkbox-group.template.ts
|
|
35
|
+
function f(e) {
|
|
36
|
+
return t`
|
|
37
|
+
<div class="checkbox-group">
|
|
38
|
+
<slot @slotchange=${e._onSlotChange}></slot>
|
|
39
|
+
</div>
|
|
40
|
+
`;
|
|
41
|
+
}
|
|
42
|
+
// src/components/inputs/checkbox-group/checkbox-group.ts
|
|
43
|
+
var p = class extends e {
|
|
44
|
+
constructor(...e) {
|
|
45
|
+
super(...e), this.name = "", this.disabled = !1, this.required = !1, this.accessibleLabel = "", this.accessibleLabeledBy = "", this._appliedLabel = null, this.invalid = !1, this._choices = new u(this, {
|
|
46
|
+
options: () => this._getFields(),
|
|
47
|
+
isSelected: (e) => e.checked,
|
|
48
|
+
deselect: () => {},
|
|
49
|
+
single: () => !1,
|
|
50
|
+
name: () => this.name || null,
|
|
51
|
+
required: () => this.required
|
|
52
|
+
}), this._onSlotChange = () => {
|
|
53
|
+
this._choices.sync();
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
connectedCallback() {
|
|
57
|
+
super.connectedCallback(), this.setAttribute("role", "group"), this.addEventListener("change", this._choices.handleChange);
|
|
58
|
+
}
|
|
59
|
+
disconnectedCallback() {
|
|
60
|
+
super.disconnectedCallback(), this.removeEventListener("change", this._choices.handleChange);
|
|
61
|
+
}
|
|
62
|
+
updated(e) {
|
|
63
|
+
(e.has("name") || e.has("disabled") || e.has("required")) && this._choices.sync(), e.has("invalid") && l(this, { invalid: this.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"));
|
|
64
|
+
}
|
|
65
|
+
_getFields() {
|
|
66
|
+
return Array.from(this.querySelectorAll("nldd-checkbox-field"));
|
|
67
|
+
}
|
|
68
|
+
focus(e) {
|
|
69
|
+
c(this, e) || this._choices.focus(e);
|
|
70
|
+
}
|
|
71
|
+
render() {
|
|
72
|
+
return f(this);
|
|
73
|
+
}
|
|
74
|
+
}, m = (p.styles = d, p.isFormInput = !0, p);
|
|
75
|
+
n([r({ type: String })], m.prototype, "name", void 0), n([r({
|
|
76
|
+
type: Boolean,
|
|
77
|
+
reflect: !0
|
|
78
|
+
})], m.prototype, "disabled", void 0), n([r({
|
|
79
|
+
type: Boolean,
|
|
80
|
+
reflect: !0
|
|
81
|
+
})], m.prototype, "required", void 0), n([r({
|
|
82
|
+
type: String,
|
|
83
|
+
attribute: "accessible-label"
|
|
84
|
+
})], m.prototype, "accessibleLabel", void 0), n([r({
|
|
85
|
+
type: String,
|
|
86
|
+
attribute: "accessible-labeled-by"
|
|
87
|
+
})], m.prototype, "accessibleLabeledBy", void 0), n([r({
|
|
88
|
+
type: Boolean,
|
|
89
|
+
reflect: !0
|
|
90
|
+
})], m.prototype, "invalid", void 0), m = n([a("nldd-checkbox-group")], m);
|
|
91
|
+
export { m as NLDDCheckboxGroup };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { t as e } from "./radio-position-CXWYAjaz.js";
|
|
2
|
+
// src/utilities/choice-group.ts
|
|
3
|
+
var t = /* @__PURE__ */ new WeakMap();
|
|
4
|
+
function n(e, t) {
|
|
5
|
+
if (t) {
|
|
6
|
+
if (e.hasAttribute("disabled")) return;
|
|
7
|
+
e.setAttribute("group-disabled", ""), e.disabled = !0;
|
|
8
|
+
} else e.hasAttribute("group-disabled") && (e.removeAttribute("group-disabled"), e.disabled = !1);
|
|
9
|
+
}
|
|
10
|
+
function r(e, t) {
|
|
11
|
+
t.required !== void 0 && e.toggleAttribute("aria-required", t.required), t.invalid ? e.setAttribute("aria-invalid", "true") : e.removeAttribute("aria-invalid");
|
|
12
|
+
}
|
|
13
|
+
var i = class {
|
|
14
|
+
constructor(e, t) {
|
|
15
|
+
this.host = e, this.options = t, this._settleQueued = !1, this.handleChange = (e) => {
|
|
16
|
+
let t = e.target;
|
|
17
|
+
if (this.options.single()) {
|
|
18
|
+
if (!this.options.isSelected(t)) return;
|
|
19
|
+
this.selectOnly(t);
|
|
20
|
+
}
|
|
21
|
+
this.settle();
|
|
22
|
+
}, e.addController(this);
|
|
23
|
+
}
|
|
24
|
+
static of(e) {
|
|
25
|
+
for (let n = e.parentElement; n; n = n.parentElement) {
|
|
26
|
+
let e = t.get(n);
|
|
27
|
+
if (e) return e;
|
|
28
|
+
}
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
hostConnected() {
|
|
32
|
+
t.set(this.host, this);
|
|
33
|
+
}
|
|
34
|
+
hostDisconnected() {
|
|
35
|
+
t.delete(this.host);
|
|
36
|
+
}
|
|
37
|
+
get answered() {
|
|
38
|
+
return this.options.options().some(this.options.isSelected);
|
|
39
|
+
}
|
|
40
|
+
sync() {
|
|
41
|
+
let e = this.options.name(), t = this.options.required();
|
|
42
|
+
for (let r of this.options.options()) e !== null && (r.name = e), r.required = t, n(r, this.host.disabled), this.options.forward?.(r);
|
|
43
|
+
this.settle();
|
|
44
|
+
}
|
|
45
|
+
settle() {
|
|
46
|
+
let t = this.options.options(), n = t.some(this.options.isSelected), r = this.options.single() ? e(t, this.options.isSelected, (e) => e.disabled) : null;
|
|
47
|
+
t.forEach((e, t) => {
|
|
48
|
+
e._groupHasSelection = n, "_groupPosition" in e && (e._groupPosition = r?.[t] ?? null), e.commitFormValue?.();
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
optionChanged(e) {
|
|
52
|
+
this.options.single() ? (this.options.isSelected(e) && this.selectOnly(e), this.settle()) : this._settleQueued || (this._settleQueued = !0, queueMicrotask(() => {
|
|
53
|
+
this._settleQueued = !1, this.settle();
|
|
54
|
+
}));
|
|
55
|
+
}
|
|
56
|
+
selectOnly(e) {
|
|
57
|
+
for (let t of this.options.options()) t !== e && (this.options.deselect(t), t.commitFormValue?.());
|
|
58
|
+
}
|
|
59
|
+
focus(e) {
|
|
60
|
+
let t = this.options.options().filter((e) => !e.disabled);
|
|
61
|
+
(t.find(this.options.isSelected) ?? t[0])?.focus(e);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
export { r as n, n as r, i as t };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as e, s as t } from "./custom-element-D5bstafw.js";
|
|
2
2
|
import { t as n } from "./reflect-non-default-Bu3rpCvg.js";
|
|
3
|
-
import { H as r, I as i, Q as a, W as o, j as s, r as c, t as l } from "./languages-
|
|
3
|
+
import { H as r, I as i, Q as a, W as o, j as s, r as c, t as l } from "./languages-D-97TsxL.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-BmIE22aU.js";
|
|
7
|
+
import { o as g, t as _ } from "./decorate-Cjb3GqlZ.js";
|
|
8
|
+
import { t as v } from "./shadow-resets-JiVlctXb.js";
|
|
9
9
|
// src/components/inputs/code-editor/code-editor.styles.ts
|
|
10
|
-
var y =
|
|
10
|
+
var y = t`
|
|
11
11
|
:host {
|
|
12
12
|
box-sizing: border-box;
|
|
13
13
|
}
|
|
@@ -265,19 +265,19 @@ var x = class extends h {
|
|
|
265
265
|
return b(this);
|
|
266
266
|
}
|
|
267
267
|
}, S = (x.styles = y, x);
|
|
268
|
-
_([
|
|
268
|
+
_([e({
|
|
269
269
|
type: Boolean,
|
|
270
270
|
reflect: !0
|
|
271
|
-
})], S.prototype, "wrap", void 0), _([
|
|
271
|
+
})], S.prototype, "wrap", void 0), _([e({
|
|
272
272
|
reflect: !0,
|
|
273
273
|
converter: n("auto")
|
|
274
|
-
})], S.prototype, "resize", void 0), _([
|
|
274
|
+
})], S.prototype, "resize", void 0), _([e({
|
|
275
275
|
type: Boolean,
|
|
276
276
|
reflect: !0
|
|
277
|
-
})], S.prototype, "embedded", void 0), _([
|
|
277
|
+
})], S.prototype, "embedded", void 0), _([e({
|
|
278
278
|
reflect: !0,
|
|
279
279
|
converter: n("")
|
|
280
|
-
})], S.prototype, "language", void 0), _([
|
|
280
|
+
})], S.prototype, "language", void 0), _([e({
|
|
281
281
|
type: Boolean,
|
|
282
282
|
reflect: !0,
|
|
283
283
|
attribute: "line-numbers"
|