@nldd/design-system 0.25.1 → 0.26.0
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 +2845 -79
- package/dist/cdn/autoloader.js +141 -140
- package/dist/cdn/chunks/{accordion-B7KdKJno.js → accordion-DA4IlxS5.js} +4 -4
- package/dist/cdn/chunks/{accordion-item-CVy8Apta.js → accordion-item-Ca1o93cq.js} +9 -7
- package/dist/cdn/chunks/{activity-indicator-CpJVlX6K.js → activity-indicator-Cj4H0Mbz.js} +5 -5
- package/dist/cdn/chunks/{admonition-C89WHJ9a.js → admonition-CdZSoO8O.js} +9 -7
- package/dist/cdn/chunks/{avatar-Bf0OfAtQ.js → avatar-Dhqn-Dmv.js} +6 -6
- package/dist/cdn/chunks/{avatar-group-BeBAv2wB.js → avatar-group-B017eF-u.js} +15 -15
- package/dist/cdn/chunks/{badge-C43FvgkK.js → badge-Bep5B0_g.js} +5 -5
- package/dist/cdn/chunks/{banner-OWK0gwFb.js → banner-DGpIXuE2.js} +7 -7
- package/dist/cdn/chunks/{bar-split-view-Dj1WycIW.js → bar-split-view-CKwJxd3e.js} +5 -5
- package/dist/cdn/chunks/{blockquote-D_5MxcSi.js → blockquote-ChMgaOuI.js} +3 -3
- package/dist/cdn/chunks/{box-BUoxiA7b.js → box-BRmziG-6.js} +3 -3
- package/dist/cdn/chunks/{breadcrumbs-DXxJTACL.js → breadcrumbs-BeVO8bkQ.js} +5 -5
- package/dist/cdn/chunks/{button-bar-BSt-QQRG.js → button-bar-CLxOdalJ.js} +3 -3
- package/dist/cdn/chunks/{button-DpKyquzm.js → button-cHBkq_s7.js} +9 -9
- package/dist/cdn/chunks/{button-group-D5QJWJzh.js → button-group-BIvKtEIX.js} +2 -2
- package/dist/cdn/chunks/{card-Cz4f-dCf.js → card-B5gp9Zly.js} +8 -6
- package/dist/cdn/chunks/{cell-zFw2V9wD.js → cell-D4Nrd5Z9.js} +6 -6
- package/dist/cdn/chunks/{checkbox-BDp3O8Nc.js → checkbox-CeLTJhAc.js} +4 -4
- package/dist/cdn/chunks/checkbox-field-C8cU8fuf.js +244 -0
- package/dist/cdn/chunks/checkbox-group-CC72cq-P.js +103 -0
- package/dist/cdn/chunks/{class-map-C7ao595e.js → class-map-xzscTu4B.js} +1 -1
- package/dist/cdn/chunks/{code-editor-Chm9EG_v.js → code-editor-BNhlXTSl.js} +10 -10
- package/dist/cdn/chunks/{code-viewer-DX322d7w.js → code-viewer-D_JwouYO.js} +35 -35
- package/dist/cdn/chunks/{codemirror-input-BLMJQbHq.js → codemirror-input-DJ0wgYrc.js} +368 -368
- package/dist/cdn/chunks/{collection-Bf8HoSki.js → collection-BXvz_OtU.js} +8 -8
- package/dist/cdn/chunks/{combo-box-VuU_F54v.js → combo-box-8kbmoStb.js} +10 -9
- package/dist/cdn/chunks/{container-qVTgmbpz.js → container-Dq-2uHd5.js} +2 -2
- package/dist/cdn/chunks/{custom-element-C5yyaCZS.js → custom-element-DeaCQ2NP.js} +1 -1
- package/dist/cdn/chunks/{date-field-By9Q8151.js → date-field-CQg1_73u.js} +13 -13
- package/dist/cdn/chunks/{date-picker-DtA4PXCh.js → date-picker-CTMxGOiA.js} +10 -10
- package/dist/cdn/chunks/{decorate-CkbtFnic.js → decorate-CCYde2ES.js} +1 -1
- package/dist/cdn/chunks/described-by-mixin-BYFim7aO.js +62 -0
- package/dist/cdn/chunks/{description-cell-D2INE8A3.js → description-cell-GcVeCz2_.js} +6 -6
- package/dist/cdn/chunks/{dev-checks-UHHli7gE.js → dev-checks-CSlbfDuF.js} +43 -5
- package/dist/cdn/chunks/directive-helpers-DgaADFyY.js +24 -0
- package/dist/cdn/chunks/{dist-BG0xnVUi.js → dist-1OQdP4ho.js} +10 -10
- package/dist/cdn/chunks/{dist-C-T4uKP1.js → dist-5vPsM2aV.js} +8 -8
- package/dist/cdn/chunks/{dist-VXOtAJ-m.js → dist-B23jHvJ5.js} +15 -15
- package/dist/cdn/chunks/{dist-Cm51DQO4.js → dist-CNy2sPTt.js} +6 -6
- package/dist/cdn/chunks/{dist-B1pwN_VD.js → dist-CcpLhc4y.js} +7 -7
- package/dist/cdn/chunks/{dist-Ce38ZA7b.js → dist-CyDpBAaD.js} +7 -7
- package/dist/cdn/chunks/{dist-pCih3zzc.js → dist-D4SViUJx.js} +21 -21
- package/dist/cdn/chunks/{dist-qo8avphr.js → dist-DBxjWahH.js} +4 -4
- package/dist/cdn/chunks/{dist-BzfFo9Yu.js → dist-DLtwMUDc.js} +18 -18
- package/dist/cdn/chunks/{dist-Dg3ySzj7.js → dist-Da_liXcd.js} +124 -124
- package/dist/cdn/chunks/{dist-zxb4QZZG.js → dist-VCymi0hs.js} +250 -250
- package/dist/cdn/chunks/{divider-Cv_vyHvw.js → divider-8XD3xTbl.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-CdOxr8KC.js → document-tab-bar-RBAmckHS.js} +9 -9
- package/dist/cdn/chunks/{dropdown-DC9J6k0P.js → dropdown-DVlxPcjr.js} +5 -5
- package/dist/cdn/chunks/field-button-controller-yvICuXoE.js +26 -0
- package/dist/cdn/chunks/{file-field-CsrTk4uk.js → file-field-BrHnFplX.js} +12 -12
- package/dist/cdn/chunks/{form-ClOD1OKh.js → form-DGHeGEIr.js} +1 -1
- package/dist/cdn/chunks/{form-actions-CwaXGj43.js → form-actions-CHwWKfMM.js} +2 -2
- package/dist/cdn/chunks/{form-field-LoX9v2Pa.js → form-field-CdTSI-8h.js} +21 -16
- package/dist/cdn/chunks/{form-section-i6piyKuy.js → form-section-CjECOIiZ.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-6aAfCnez.js → full-bleed-section-CQgq4iGQ.js} +3 -3
- package/dist/cdn/chunks/{hero-CTQAayXT.js → hero-DhdcYt2N.js} +4 -4
- package/dist/cdn/chunks/{icon-button-DuEiOOoc.js → icon-button-DT_Bi4Ac.js} +17 -13
- package/dist/cdn/chunks/{icon-cell-uZkR3hZx.js → icon-cell-C-qrZAlN.js} +5 -5
- package/dist/cdn/chunks/{icon-B5kHyCz2.js → icon-qpmEfU9B.js} +2 -2
- package/dist/cdn/chunks/{identity-DR6DMjke.js → identity-DFmvuPkl.js} +6 -6
- package/dist/cdn/chunks/{if-defined-B7fJBsUt.js → if-defined-BINBE69I.js} +1 -1
- package/dist/cdn/chunks/{image-CuBUo_MQ.js → image-B4M3h1xJ.js} +8 -8
- package/dist/cdn/chunks/{inline-dialog-CZNkWJIA.js → inline-dialog-L-NvjANF.js} +6 -6
- package/dist/cdn/chunks/{just-in-time-education-qwg9hTDX.js → just-in-time-education-CWplH4r9.js} +5 -5
- package/dist/cdn/chunks/{kanban-Bkg-nZmX.js → kanban-B6Wa-2aM.js} +5 -5
- package/dist/cdn/chunks/{kanban-column-C8iRyRNY.js → kanban-column-D2-Xq79_.js} +4 -4
- package/dist/cdn/chunks/{keyboard-shortcut-Rq5IHU-e.js → keyboard-shortcut-Ci95olxF.js} +118 -47
- package/dist/cdn/chunks/{languages-DLHsACpp.js → languages-C9AGuuSS.js} +43 -32
- package/dist/cdn/chunks/{link-CgjFwaHP.js → link-BJB2a_fG.js} +36 -28
- package/dist/cdn/chunks/{link-group-5W0GAmTq.js → link-group-aNoedLZo.js} +2 -2
- package/dist/cdn/chunks/{list-BASqIKtP.js → list-CZWX62tH.js} +8 -8
- package/dist/cdn/chunks/{list-item-DTcPysIP.js → list-item-DHzsbK_S.js} +5 -5
- package/dist/cdn/chunks/{list-item-segment-CRw0y4kg.js → list-item-segment-CHLlU9Gg.js} +3 -3
- package/dist/cdn/chunks/{menu-CYILGTpB.js → menu-NGpB1SKq.js} +42 -22
- package/dist/cdn/chunks/{menu-bar-CL566HmJ.js → menu-bar-CJazkmY7.js} +6 -6
- package/dist/cdn/chunks/{menu-bar-item-C6OrUu_4.js → menu-bar-item-CSqXWNKE.js} +6 -6
- package/dist/cdn/chunks/{menu-divider-BtU9eBSb.js → menu-divider-Cn1hTpcM.js} +3 -3
- package/dist/cdn/chunks/{menu-group-r2TvdqJB.js → menu-group-C71K1Vmv.js} +4 -4
- package/dist/cdn/chunks/{menu-item-CS45jTLu.js → menu-item-TqBlQfI2.js} +4 -4
- package/dist/cdn/chunks/{menu.template-CF8Iau1s.js → menu.template-DthELYky.js} +21 -16
- package/dist/cdn/chunks/{modal-dialog-C9NBq8TO.js → modal-dialog-0V2HsrJC.js} +4 -4
- package/dist/cdn/chunks/{multi-line-text-field-BkxV0vqA.js → multi-line-text-field-BV4uUDoK.js} +60 -34
- package/dist/cdn/chunks/{navigation-split-view-DNrQYkg7.js → navigation-split-view-tPhkxEVD.js} +4 -4
- package/dist/cdn/chunks/{notification-Dzpy9hCc.js → notification-CZccv6qx.js} +6 -6
- package/dist/cdn/chunks/{number-field-BJCUe-bI.js → number-field-4R2blHda.js} +8 -8
- package/dist/cdn/chunks/{one-half-one-half-section-Ctw8ri5v.js → one-half-one-half-section-h2fLPQfP.js} +3 -3
- package/dist/cdn/chunks/{one-third-two-thirds-section-DxUUH8lS.js → one-third-two-thirds-section-mqUAH5lK.js} +3 -3
- package/dist/cdn/chunks/{one-time-code-field-DGDyqIMd.js → one-time-code-field-Bf_qymKd.js} +8 -7
- package/dist/cdn/chunks/{page-BpavFPML.js → page-Kipfvmi6.js} +4 -4
- package/dist/cdn/chunks/{page-footer-CVqmyulx.js → page-footer-DxE966Oe.js} +4 -4
- package/dist/cdn/chunks/{page-section-mixin-BHg-Wre9.js → page-section-mixin-DpF9JDpd.js} +3 -3
- package/dist/cdn/chunks/{pagination-BGZYq-eO.js → pagination-DUFFhaU8.js} +6 -6
- package/dist/cdn/chunks/{password-field-BIFfLAls.js → password-field-DdYAVmF3.js} +9 -9
- package/dist/cdn/chunks/{popover-TCW20ibN.js → popover-CRHxyhGx.js} +6 -6
- package/dist/cdn/chunks/{progress-bar-C4bLuJBa.js → progress-bar-BuYsjmSo.js} +7 -7
- package/dist/cdn/chunks/{progress-circle-BePtt89f.js → progress-circle-Cvu1bfNG.js} +7 -7
- package/dist/cdn/chunks/{radio-button-CLiuwjA1.js → radio-button-B_4AxWDx.js} +3 -3
- package/dist/cdn/chunks/{radio-button-field-BPva1mUv.js → radio-button-field-D7jIg6Oi.js} +6 -6
- package/dist/cdn/chunks/{radio-button-group-Z5s4obz6.js → radio-button-group-D_OezDhB.js} +12 -6
- package/dist/cdn/chunks/{render-marked-C3ypoEZM.js → render-marked-CIuiSS_8.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-BB9b4T_d.js → reorder-handle-cell-DNPaZjSC.js} +4 -4
- package/dist/cdn/chunks/{reorder-handle-mixin-DBjNe6Rl.js → reorder-handle-mixin-CgvWq4fF.js} +2 -2
- package/dist/cdn/chunks/repeat-DfVuWl6o.js +57 -0
- package/dist/cdn/chunks/{return-focus-BzZWhXhc.js → return-focus-D0fF2hjd.js} +1 -1
- package/dist/cdn/chunks/{rich-text-DTxHo8E_.js → rich-text-CVHlMQY6.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-BcwoEgu7.js → row-header-mixin-B25JK2B3.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-Dul0IfE1.js → scroll-fade-Dv57rTww.js} +2 -2
- package/dist/cdn/chunks/{search-field-BeZN7S8J.js → search-field-hmD_DXbG.js} +11 -11
- package/dist/cdn/chunks/{segmented-control-Dzu8xoqB.js → segmented-control-e8e-jYSw.js} +6 -6
- package/dist/cdn/chunks/{shadow-resets-Dlq8Oecv.js → shadow-resets-CRdvf-Ei.js} +2 -2
- package/dist/cdn/chunks/{sheet-DaQpfAep.js → sheet-D09y3J45.js} +4 -4
- package/dist/cdn/chunks/{shell-DSNgonKU.js → shell-CV3gooGg.js} +3 -3
- package/dist/cdn/chunks/{side-by-side-split-view-DhGbcDrs.js → side-by-side-split-view-Ckz1C9zk.js} +4 -4
- package/dist/cdn/chunks/{sidebar-section-BlJmPb9C.js → sidebar-section-CdyD-x4t.js} +7 -7
- package/dist/cdn/chunks/{simple-section-CYiTEFqN.js → simple-section-CEf38rBZ.js} +3 -3
- package/dist/cdn/chunks/{skip-link-CReOb-Ci.js → skip-link-DMRhATWw.js} +4 -4
- package/dist/cdn/chunks/{slider-DUEGol_V.js → slider-Db3FPiP6.js} +8 -8
- package/dist/cdn/chunks/{spacer-CPmyJDQq.js → spacer-BPFIYueo.js} +2 -2
- package/dist/cdn/chunks/{spacer-cell-DJEv0v6s.js → spacer-cell-kITa3CDV.js} +4 -4
- package/dist/cdn/chunks/{split-button-B3vfYAdy.js → split-button-CJs9-Nha.js} +7 -7
- package/dist/cdn/chunks/{split-view-divider-pSUpnEPX.js → split-view-divider-lHlM1Ss8.js} +2 -2
- package/dist/cdn/chunks/{split-view-pane-J1RVr_w1.js → split-view-pane-DlsbZtyo.js} +3 -3
- package/dist/cdn/chunks/{stacked-split-view-B67fT-Ch.js → stacked-split-view-uRSVhrMd.js} +4 -4
- package/dist/cdn/chunks/{static-html-BT4LOKbV.js → static-html-BahSPV_4.js} +1 -1
- package/dist/cdn/chunks/{status-bar-CGXqgNOf.js → status-bar-DCJLVpsW.js} +4 -4
- package/dist/cdn/chunks/{step-bar-DdsA2Egs.js → step-bar-CRR2jiyo.js} +6 -6
- package/dist/cdn/chunks/{step-cell-DsTAgMCx.js → step-cell-CbtKxJNJ.js} +5 -5
- package/dist/cdn/chunks/{stepper-DPqXiLQr.js → stepper-Con1_CnB.js} +6 -6
- package/dist/cdn/chunks/{style-map-B7yv7Y8k.js → style-map-uOwLerwV.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-D9QZmbNN.js → swatch-picker-Bqn0eaC9.js} +5 -5
- package/dist/cdn/chunks/{switch-CE2glvZQ.js → switch-CMQcLEBJ.js} +4 -4
- package/dist/cdn/chunks/{switch-field-Dr2LovXc.js → switch-field-D9kWq4Kw.js} +5 -5
- package/dist/cdn/chunks/{tab-bar-DYZbToZB.js → tab-bar-DXzyZI3V.js} +8 -8
- package/dist/cdn/chunks/{table-DoQMJbSg.js → table-CWACLpHx.js} +5 -5
- package/dist/cdn/chunks/{tag-DOX5nY-Z.js → tag-Bo4yJbtF.js} +4 -4
- package/dist/cdn/chunks/{term-CxGzPnhq.js → term-CQ379ZbN.js} +12 -12
- package/dist/cdn/chunks/{text-Dqe0uTK7.js → text-D-dFoj6N.js} +3 -3
- package/dist/cdn/chunks/{text-cell-ByGrujhK.js → text-cell-Be1hStxp.js} +8 -8
- package/dist/cdn/chunks/{text-editor-DT9oWQCT.js → text-editor-BjzQEBWm.js} +1372 -904
- package/dist/cdn/chunks/{text-field-DKz5IRAU.js → text-field-DA8nirp6.js} +47 -65
- package/dist/cdn/chunks/{time-field-Dh7nTwNc.js → time-field-Dd_TxJuf.js} +15 -15
- package/dist/cdn/chunks/{time-picker-Bp-l4JfF.js → time-picker-B0-rv1qp.js} +5 -5
- package/dist/cdn/chunks/{title-CdIWXNtc.js → title-DOoPdG_i.js} +4 -4
- package/dist/cdn/chunks/{title-cell-DNbP8l_x.js → title-cell-BzCNOMGr.js} +8 -8
- package/dist/cdn/chunks/{toggle-button-CPMxB3gN.js → toggle-button-9PbDHviQ.js} +60 -42
- package/dist/cdn/chunks/{toggle-button-group-ERWVyRX5.js → toggle-button-group-C-H-xp0M.js} +11 -5
- package/dist/cdn/chunks/{token-CG8dR3EH.js → token-CMKFC3gz.js} +5 -5
- package/dist/cdn/chunks/{token-field-B8wqHKan.js → token-field-D4-XHfnG.js} +11 -11
- package/dist/cdn/chunks/{toolbar-item-xJEewchW.js → toolbar-item-ZYoyKOyy.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-C08aG67Y.js → toolbar-title-FKtQ8ZC4.js} +4 -4
- package/dist/cdn/chunks/{toolbar-CiZoecHm.js → toolbar-z9OhEE5l.js} +8 -8
- package/dist/cdn/chunks/{toolbar.styles-DmAHodW4.js → toolbar.styles-DDjpdCHV.js} +3 -3
- package/dist/cdn/chunks/{tooltip-660R32cn.js → tooltip-BvRNYRo3.js} +5 -5
- package/dist/cdn/chunks/{top-navigation-bar-B1HFShH8.js → top-navigation-bar-BHPQntER.js} +17 -17
- package/dist/cdn/chunks/{top-title-bar-BLZZd0Iu.js → top-title-bar-BVjegLlh.js} +6 -6
- package/dist/cdn/chunks/{translations-CF08wvn-.js → translations-cJjO6nQV.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-Dqz7UoSH.js → two-thirds-one-third-section-BdBHQuXc.js} +3 -3
- package/dist/cdn/chunks/{validation-list-D-bzOl5H.js → validation-list-5E3-3_95.js} +3 -3
- package/dist/cdn/chunks/{visibility-mixin-X9d6wHvR.js → visibility-mixin-DvRe3O8t.js} +2 -2
- package/dist/cdn/chunks/{visually-hidden-Cew5_ldu.js → visually-hidden-F85D_HcR.js} +2 -2
- package/dist/cdn/chunks/{window-DSgA26_c.js → window-CabW35M1.js} +5 -5
- package/dist/cdn/chunks/{with-translations-Boc5Daaj.js → with-translations-BHDG37HJ.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/button/button.template.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.pointer.d.ts +6 -2
- package/dist/components/actions/menu/menu.pointer.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.pointer.js +15 -5
- package/dist/components/actions/menu/menu.pointer.js.map +1 -1
- package/dist/components/actions/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.styles.js +16 -11
- package/dist/components/actions/menu/menu.styles.js.map +1 -1
- package/dist/components/actions/menu/menu.template.js +1 -1
- package/dist/components/content/accordion/accordion-item.styles.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion-item.styles.js +5 -3
- package/dist/components/content/accordion/accordion-item.styles.js.map +1 -1
- package/dist/components/content/admonition/admonition.styles.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.styles.js +5 -3
- package/dist/components/content/admonition/admonition.styles.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +1 -1
- package/dist/components/content/icon/icon.js +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +16 -9
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +18 -12
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js +26 -12
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.js +12 -3
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +3 -1
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +14 -3
- package/dist/components/forms/form-field/form-field.js.map +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.d.ts +3 -0
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +3 -0
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.styles.js +1 -0
- package/dist/components/inputs/combo-box/combo-box.styles.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +3 -0
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +3 -0
- package/dist/components/inputs/date-field/date-field.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/multi-line-text-field/multi-line-text-field.d.ts +8 -0
- 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 +8 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js +24 -2
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.styles.js.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.d.ts.map +1 -1
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js +3 -0
- package/dist/components/inputs/multi-line-text-field/multi-line-text-field.template.js.map +1 -1
- package/dist/components/inputs/number-field/number-field.d.ts +3 -0
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +3 -0
- 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 +3 -0
- 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 +3 -0
- package/dist/components/inputs/one-time-code-field/one-time-code-field.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.d.ts +3 -0
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +3 -0
- package/dist/components/inputs/password-field/password-field.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.d.ts +3 -0
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +3 -0
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/search-field/search-field.styles.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.clipboard.d.ts +5 -2
- package/dist/components/inputs/text-editor/text-editor.clipboard.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.clipboard.js +23 -4
- package/dist/components/inputs/text-editor/text-editor.clipboard.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.code-copy.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.code-copy.js +38 -18
- package/dist/components/inputs/text-editor/text-editor.code-copy.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts +8 -6
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.js +23 -9
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +26 -0
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +165 -15
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.list-input.d.ts +17 -0
- package/dist/components/inputs/text-editor/text-editor.list-input.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.list-input.js +133 -0
- package/dist/components/inputs/text-editor/text-editor.list-input.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.markdown.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js +28 -1
- package/dist/components/inputs/text-editor/text-editor.markdown.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts +4 -2
- package/dist/components/inputs/text-editor/text-editor.mentions.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mentions.js +9 -5
- package/dist/components/inputs/text-editor/text-editor.mentions.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.ordered-list.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.ordered-list.js +89 -18
- package/dist/components/inputs/text-editor/text-editor.ordered-list.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.paste.d.ts +10 -0
- package/dist/components/inputs/text-editor/text-editor.paste.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.paste.js +116 -0
- package/dist/components/inputs/text-editor/text-editor.paste.js.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.styles.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.styles.js +49 -2
- package/dist/components/inputs/text-editor/text-editor.styles.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.template.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.template.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.template.js +4 -3
- package/dist/components/inputs/text-editor/text-editor.template.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts +53 -0
- package/dist/components/inputs/text-editor/text-editor.toolbar.d.ts.map +1 -0
- package/dist/components/inputs/text-editor/text-editor.toolbar.js +302 -0
- package/dist/components/inputs/text-editor/text-editor.toolbar.js.map +1 -0
- package/dist/components/inputs/text-field/text-field.d.ts +7 -13
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +8 -50
- package/dist/components/inputs/text-field/text-field.js.map +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/text-field/text-field.template.js +2 -2
- package/dist/components/inputs/text-field/text-field.template.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +3 -0
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +3 -0
- package/dist/components/inputs/time-field/time-field.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.styles.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.js +3 -1
- package/dist/components/inputs/toggle-button/toggle-button.styles.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/inputs/token-field/token-field.d.ts +3 -0
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +3 -0
- package/dist/components/inputs/token-field/token-field.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/components/status-and-feedback/step-bar/step-bar.styles.js +1 -1
- package/dist/css/dropdown.css +17 -0
- package/dist/css/global-open-font.css +1 -0
- package/dist/css/global.css +1 -0
- package/dist/css/rich-text.css +8 -2
- package/dist/css/variables.css +2 -1
- package/dist/nldd.min.js +941 -789
- package/dist/types/react.d.ts +151 -15
- package/dist/types/vue.d.ts +305 -45
- 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/codemirror/codemirror-element.d.ts +12 -1
- package/dist/utilities/codemirror/codemirror-element.d.ts.map +1 -1
- package/dist/utilities/codemirror/codemirror-element.js +23 -4
- package/dist/utilities/codemirror/codemirror-element.js.map +1 -1
- package/dist/utilities/codemirror/codemirror-input.d.ts +3 -0
- package/dist/utilities/codemirror/codemirror-input.d.ts.map +1 -1
- package/dist/utilities/codemirror/codemirror-input.js +14 -3
- package/dist/utilities/codemirror/codemirror-input.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 +46 -5
- package/dist/utilities/dev-rules.generated.js.map +1 -1
- package/dist/utilities/field-button-controller.d.ts +28 -0
- package/dist/utilities/field-button-controller.d.ts.map +1 -0
- package/dist/utilities/field-button-controller.js +56 -0
- package/dist/utilities/field-button-controller.js.map +1 -0
- package/dist/utilities/return-focus.d.ts.map +1 -1
- package/dist/utilities/return-focus.js +3 -0
- package/dist/utilities/return-focus.js.map +1 -1
- package/dist/utilities/shortcut.d.ts +14 -0
- package/dist/utilities/shortcut.d.ts.map +1 -1
- package/dist/utilities/shortcut.js +37 -1
- package/dist/utilities/shortcut.js.map +1 -1
- package/lint/data.generated.json +1 -1
- package/lint/linter.js +4 -1
- package/package.json +6 -2
- package/dist/cdn/chunks/checkbox-field-CSXV0prA.js +0 -162
- package/dist/cdn/chunks/described-by-mixin-DXC6jkCd.js +0 -35
- package/dist/cdn/chunks/repeat-s95Ixbpx.js +0 -76
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i,
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import "./icon-
|
|
10
|
-
import { t as
|
|
11
|
-
import { r as
|
|
12
|
-
import { t as
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a as i, r as a } from "./custom-element-DeaCQ2NP.js";
|
|
3
|
+
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
|
+
import { t as s } from "./query-ChDzi9FQ.js";
|
|
5
|
+
import { t as c } from "./form-associated-mixin-BtStDDYA.js";
|
|
6
|
+
import { t as l } from "./implicit-submission-Csbcor_E.js";
|
|
7
|
+
import { t as u } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
+
import { t as d } from "./shadow-resets-CRdvf-Ei.js";
|
|
9
|
+
import "./icon-qpmEfU9B.js";
|
|
10
|
+
import { t as f } from "./described-by-mixin-BYFim7aO.js";
|
|
11
|
+
import { r as p } from "./element-state-B-44fVqq.js";
|
|
12
|
+
import { t as m } from "./defer-focus-F73ud2D9.js";
|
|
13
|
+
import { t as h } from "./field-button-controller-yvICuXoE.js";
|
|
13
14
|
// src/components/inputs/text-field/text-field.styles.ts
|
|
14
15
|
var g = i`
|
|
15
16
|
:host {
|
|
@@ -31,7 +32,7 @@ var g = i`
|
|
|
31
32
|
--_text-field-nested-control-corner-radius: calc(var(--_text-field-corner-radius) - var(--_text-field-end-padding-right) - var(--semantics-input-fields-border-width));
|
|
32
33
|
--_text-field-button-focus-z-index: 1;
|
|
33
34
|
|
|
34
|
-
${
|
|
35
|
+
${d}
|
|
35
36
|
display: block;
|
|
36
37
|
width: var(--_text-field-width);
|
|
37
38
|
max-width: 100%;
|
|
@@ -61,7 +62,6 @@ var g = i`
|
|
|
61
62
|
border-radius: var(--_text-field-corner-radius);
|
|
62
63
|
background-color: var(--_text-field-background-color);
|
|
63
64
|
min-height: var(--_text-field-min-size);
|
|
64
|
-
overflow: hidden;
|
|
65
65
|
padding-left: calc(var(--_text-field-inline-padding) - var(--semantics-input-fields-border-width));
|
|
66
66
|
flex-direction: row;
|
|
67
67
|
align-items: center;
|
|
@@ -146,7 +146,7 @@ var g = i`
|
|
|
146
146
|
top: 0;
|
|
147
147
|
right: 0;
|
|
148
148
|
bottom: 0;
|
|
149
|
-
border-radius: var(--_text-field-corner-radius);
|
|
149
|
+
border-radius: 0 calc(var(--_text-field-corner-radius) - var(--semantics-input-fields-border-width)) calc(var(--_text-field-corner-radius) - var(--semantics-input-fields-border-width)) 0;
|
|
150
150
|
background: linear-gradient(90deg, color-mix(in oklch, var(--_text-field-background-color) 0%, transparent) 0%, var(--_text-field-background-color) 100%);
|
|
151
151
|
pointer-events: none;
|
|
152
152
|
width: var(--primitives-space-8);
|
|
@@ -242,9 +242,9 @@ function v(e) {
|
|
|
242
242
|
/>
|
|
243
243
|
<div class="text-field__input-fade"></div>
|
|
244
244
|
${_(e)}
|
|
245
|
-
<div class="text-field__end" ?hidden=${!e.
|
|
245
|
+
<div class="text-field__end" ?hidden=${!e._button.hasButton}>
|
|
246
246
|
<div class="text-field__button">
|
|
247
|
-
<slot name="button" @slotchange=${e.
|
|
247
|
+
<slot name="button" @slotchange=${e._button.handleSlotChange}></slot>
|
|
248
248
|
</div>
|
|
249
249
|
</div>
|
|
250
250
|
</div>
|
|
@@ -272,40 +272,22 @@ var y, b = [
|
|
|
272
272
|
email: "email",
|
|
273
273
|
tel: "tel",
|
|
274
274
|
url: "url"
|
|
275
|
-
}, C = (y = class extends
|
|
275
|
+
}, C = (y = class extends f(c(e)) {
|
|
276
276
|
constructor(...e) {
|
|
277
|
-
super(...e), this._initialValue = "", this.size = "md", this.value = "", this.inputId = "", this.placeholder = "", this.invalid = !1, this.valid = !1, this.disabled = !1, this.type = "text", this.name = "", this.readonly = !1, this.required = !1, this.autocomplete = "", this.accessibleLabel = "", this.noSpellcheck = !1, this.width = "", this.
|
|
277
|
+
super(...e), this._initialValue = "", this.size = "md", this.value = "", this.inputId = "", this.placeholder = "", this.invalid = !1, this.valid = !1, this.disabled = !1, this.type = "text", this.name = "", this.readonly = !1, this.required = !1, this.autocomplete = "", this.accessibleLabel = "", this.noSpellcheck = !1, this.width = "", this._button = new h(this), this.pattern = "";
|
|
278
278
|
}
|
|
279
279
|
firstUpdated() {
|
|
280
280
|
this._initialValue = this.value;
|
|
281
281
|
}
|
|
282
282
|
updated(e) {
|
|
283
|
-
if ((e.has("keyboard") || e.has("type")) && this._syncKeyboardConflict(), e.has("
|
|
283
|
+
if ((e.has("keyboard") || e.has("type")) && this._syncKeyboardConflict(), e.has("width")) {
|
|
284
284
|
let e = this.width;
|
|
285
285
|
e && e !== "full" && CSS.supports("width", e) ? this.style.setProperty("--_text-field-width", e) : this.style.removeProperty("--_text-field-width");
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
_syncKeyboardConflict() {
|
|
289
289
|
let e = S[this.type];
|
|
290
|
-
|
|
291
|
-
}
|
|
292
|
-
get buttonSize() {
|
|
293
|
-
return this.size === "sm" ? "xs" : "sm";
|
|
294
|
-
}
|
|
295
|
-
_buttons() {
|
|
296
|
-
return (this.shadowRoot?.querySelector("slot[name=\"button\"]"))?.assignedElements({ flatten: !0 }) ?? [];
|
|
297
|
-
}
|
|
298
|
-
_sizeButton() {
|
|
299
|
-
for (let e of this._buttons()) {
|
|
300
|
-
let t = e.getAttribute("size");
|
|
301
|
-
t !== null && t !== this.buttonSize && !this._sized.has(e) && m(this, "own-button-size-overwritten", !0), t !== this.buttonSize && e.setAttribute("size", this.buttonSize), this._sized.add(e);
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
_disableButton() {
|
|
305
|
-
for (let e of this._buttons()) this.disabled && !e.hasAttribute("disabled") ? (e.setAttribute("disabled", ""), this._disabledButtons.add(e)) : !this.disabled && this._disabledButtons.has(e) && (e.removeAttribute("disabled"), this._disabledButtons.delete(e));
|
|
306
|
-
}
|
|
307
|
-
_handleButtonSlotChange() {
|
|
308
|
-
this._hasButton = this._buttons().length > 0, this._sizeButton(), this._disableButton();
|
|
290
|
+
p(this, "keyboard-contradicts-type", !!this.keyboard && !!e && this.keyboard !== e);
|
|
309
291
|
}
|
|
310
292
|
formValue() {
|
|
311
293
|
return this.value;
|
|
@@ -317,7 +299,7 @@ var y, b = [
|
|
|
317
299
|
typeof e == "string" && (this.value = e);
|
|
318
300
|
}
|
|
319
301
|
_handleKeydown(e) {
|
|
320
|
-
|
|
302
|
+
l(this, e);
|
|
321
303
|
}
|
|
322
304
|
_handleInput(e) {
|
|
323
305
|
e.stopPropagation();
|
|
@@ -341,7 +323,7 @@ var y, b = [
|
|
|
341
323
|
this._input?.blur();
|
|
342
324
|
}
|
|
343
325
|
focus(e) {
|
|
344
|
-
|
|
326
|
+
m(this, e) || this._input?.focus(e);
|
|
345
327
|
}
|
|
346
328
|
render() {
|
|
347
329
|
return v(this);
|
|
@@ -349,59 +331,59 @@ var y, b = [
|
|
|
349
331
|
}, y.shadowRootOptions = {
|
|
350
332
|
...e.shadowRootOptions,
|
|
351
333
|
delegatesFocus: !0
|
|
352
|
-
}, y.styles = g, y.isFormInput = !0, y.blocksImplicitSubmission = !0, y);
|
|
353
|
-
r([
|
|
334
|
+
}, y.styles = g, y.isFormInput = !0, y.isTextEntry = !0, y.blocksImplicitSubmission = !0, y);
|
|
335
|
+
r([a({
|
|
354
336
|
reflect: !0,
|
|
355
|
-
converter:
|
|
356
|
-
})], C.prototype, "size", void 0), r([
|
|
337
|
+
converter: u("md")
|
|
338
|
+
})], C.prototype, "size", void 0), r([a({ type: String })], C.prototype, "value", void 0), r([a({
|
|
357
339
|
type: String,
|
|
358
340
|
attribute: "input-id"
|
|
359
|
-
})], C.prototype, "inputId", void 0), r([
|
|
341
|
+
})], C.prototype, "inputId", void 0), r([a({
|
|
360
342
|
reflect: !0,
|
|
361
|
-
converter:
|
|
362
|
-
})], C.prototype, "placeholder", void 0), r([
|
|
343
|
+
converter: u("")
|
|
344
|
+
})], C.prototype, "placeholder", void 0), r([a({
|
|
363
345
|
type: Boolean,
|
|
364
346
|
reflect: !0
|
|
365
|
-
})], C.prototype, "invalid", void 0), r([
|
|
347
|
+
})], C.prototype, "invalid", void 0), r([a({
|
|
366
348
|
type: Boolean,
|
|
367
349
|
reflect: !0
|
|
368
|
-
})], C.prototype, "valid", void 0), r([
|
|
350
|
+
})], C.prototype, "valid", void 0), r([a({
|
|
369
351
|
type: Boolean,
|
|
370
352
|
reflect: !0
|
|
371
|
-
})], C.prototype, "disabled", void 0), r([
|
|
353
|
+
})], C.prototype, "disabled", void 0), r([a({ type: String })], C.prototype, "type", void 0), r([a({
|
|
372
354
|
type: String,
|
|
373
355
|
reflect: !0
|
|
374
|
-
})], C.prototype, "keyboard", void 0), r([
|
|
356
|
+
})], C.prototype, "keyboard", void 0), r([a({
|
|
375
357
|
type: String,
|
|
376
358
|
reflect: !0,
|
|
377
359
|
attribute: "enter-key"
|
|
378
|
-
})], C.prototype, "enterKey", void 0), r([
|
|
360
|
+
})], C.prototype, "enterKey", void 0), r([a({
|
|
379
361
|
reflect: !0,
|
|
380
|
-
converter:
|
|
381
|
-
})], C.prototype, "name", void 0), r([
|
|
362
|
+
converter: u("")
|
|
363
|
+
})], C.prototype, "name", void 0), r([a({
|
|
382
364
|
type: Boolean,
|
|
383
365
|
reflect: !0
|
|
384
|
-
})], C.prototype, "readonly", void 0), r([
|
|
366
|
+
})], C.prototype, "readonly", void 0), r([a({
|
|
385
367
|
type: Boolean,
|
|
386
368
|
reflect: !0
|
|
387
|
-
})], C.prototype, "required", void 0), r([
|
|
369
|
+
})], C.prototype, "required", void 0), r([a({ type: String })], C.prototype, "autocomplete", void 0), r([a({
|
|
388
370
|
type: String,
|
|
389
371
|
attribute: "accessible-label"
|
|
390
|
-
})], C.prototype, "accessibleLabel", void 0), r([
|
|
372
|
+
})], C.prototype, "accessibleLabel", void 0), r([a({
|
|
391
373
|
type: Boolean,
|
|
392
374
|
reflect: !0,
|
|
393
375
|
attribute: "no-spellcheck"
|
|
394
|
-
})], C.prototype, "noSpellcheck", void 0), r([
|
|
376
|
+
})], C.prototype, "noSpellcheck", void 0), r([a({
|
|
395
377
|
reflect: !0,
|
|
396
|
-
converter:
|
|
397
|
-
})], C.prototype, "width", void 0), r([
|
|
378
|
+
converter: u("")
|
|
379
|
+
})], C.prototype, "width", void 0), r([s(".text-field__input")], C.prototype, "_input", void 0), r([a({
|
|
398
380
|
reflect: !0,
|
|
399
|
-
converter:
|
|
400
|
-
})], C.prototype, "pattern", void 0), r([
|
|
381
|
+
converter: u("")
|
|
382
|
+
})], C.prototype, "pattern", void 0), r([a({
|
|
401
383
|
type: Number,
|
|
402
384
|
reflect: !0
|
|
403
|
-
})], C.prototype, "minlength", void 0), r([
|
|
385
|
+
})], C.prototype, "minlength", void 0), r([a({
|
|
404
386
|
type: Number,
|
|
405
387
|
reflect: !0
|
|
406
|
-
})], C.prototype, "maxlength", void 0), C = r([
|
|
388
|
+
})], C.prototype, "maxlength", void 0), C = r([o("nldd-text-field")], C);
|
|
407
389
|
export { x as ENTER_KEYS, b as KEYBOARDS, C as NLDDTextField };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, n as a, o, r as s } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a as i, n as a, o, r as s } from "./custom-element-DeaCQ2NP.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as l } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
5
|
import { t as u } from "./implicit-submission-Csbcor_E.js";
|
|
6
6
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as f } from "./shadow-resets-
|
|
7
|
+
import { t as f } from "./shadow-resets-CRdvf-Ei.js";
|
|
8
8
|
import { n as p } from "./breakpoints-Cwor8TRP.js";
|
|
9
|
-
import "./icon-button-
|
|
10
|
-
import "./icon-
|
|
11
|
-
import "./popover-
|
|
12
|
-
import "./container-
|
|
13
|
-
import "./spacer-
|
|
14
|
-
import "./button-
|
|
15
|
-
import "./top-title-bar-
|
|
16
|
-
import "./time-picker-
|
|
9
|
+
import "./icon-button-DT_Bi4Ac.js";
|
|
10
|
+
import "./icon-qpmEfU9B.js";
|
|
11
|
+
import "./popover-CRHxyhGx.js";
|
|
12
|
+
import "./container-Dq-2uHd5.js";
|
|
13
|
+
import "./spacer-BPFIYueo.js";
|
|
14
|
+
import "./button-cHBkq_s7.js";
|
|
15
|
+
import "./top-title-bar-BVjegLlh.js";
|
|
16
|
+
import "./time-picker-B0-rv1qp.js";
|
|
17
17
|
import { t as m } from "./time-field.i18n-BM6qGbmN.js";
|
|
18
|
-
import { t as h } from "./described-by-mixin-
|
|
19
|
-
import { n as g, r as _ } from "./return-focus-
|
|
20
|
-
import { t as v } from "./translations-
|
|
18
|
+
import { t as h } from "./described-by-mixin-BYFim7aO.js";
|
|
19
|
+
import { n as g, r as _ } from "./return-focus-D0fF2hjd.js";
|
|
20
|
+
import { t as v } from "./translations-cJjO6nQV.js";
|
|
21
21
|
// src/components/inputs/time-field/time-field.styles.ts
|
|
22
22
|
var y = o(p.smMax), b = o(p.mdMin), x = i`
|
|
23
23
|
:host {
|
|
@@ -595,7 +595,7 @@ var z, B, V = 7, H = 3, U = (z = class extends h(l(e)) {
|
|
|
595
595
|
}, B = z, z.shadowRootOptions = {
|
|
596
596
|
...e.shadowRootOptions,
|
|
597
597
|
delegatesFocus: !0
|
|
598
|
-
}, z.styles = x, z.isFormInput = !0, z.blocksImplicitSubmission = !0, z._finePointerQuery = null, z);
|
|
598
|
+
}, z.styles = x, z.isFormInput = !0, z.isTextEntry = !0, z.blocksImplicitSubmission = !0, z._finePointerQuery = null, z);
|
|
599
599
|
r([s({
|
|
600
600
|
reflect: !0,
|
|
601
601
|
converter: d("md")
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, o as n, r, t as i } from "./decorate-
|
|
3
|
-
import { a, n as o, r as s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CCYde2ES.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-DeaCQ2NP.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./css-time-DmkAFd1y.js";
|
|
6
|
-
import { t as u } from "./shadow-resets-
|
|
6
|
+
import { t as u } from "./shadow-resets-CRdvf-Ei.js";
|
|
7
7
|
import { t as d } from "./time-picker.i18n-BilOCXlS.js";
|
|
8
|
-
import { t as f } from "./described-by-mixin-
|
|
8
|
+
import { t as f } from "./described-by-mixin-BYFim7aO.js";
|
|
9
9
|
import { t as p } from "./reflect-non-default-Bu3rpCvg.js";
|
|
10
|
-
import { t as m } from "./translations-
|
|
10
|
+
import { t as m } from "./translations-cJjO6nQV.js";
|
|
11
11
|
import { t as h } from "./defer-focus-F73ud2D9.js";
|
|
12
12
|
// src/components/inputs/time-picker/time-picker.styles.ts
|
|
13
13
|
var g = a`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, n as a, o, r as s } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a as i, n as a, o, r as s } from "./custom-element-DeaCQ2NP.js";
|
|
3
3
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as l } from "./slotted-block-xNpJoXLz.js";
|
|
5
5
|
import { n as u, r as d } from "./slot-content-2qH2vEC_.js";
|
|
6
6
|
import { t as f } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
7
|
import { n as p } from "./breakpoints-Cwor8TRP.js";
|
|
8
|
-
import { i as m, t as h } from "./shadow-resets-
|
|
9
|
-
import { n as g, r as _ } from "./static-html-
|
|
8
|
+
import { i as m, t as h } from "./shadow-resets-CRdvf-Ei.js";
|
|
9
|
+
import { n as g, r as _ } from "./static-html-BahSPV_4.js";
|
|
10
10
|
import { n as v, r as y, t as b } from "./custom-font-size-D7KNr84p.js";
|
|
11
11
|
// src/components/content/title/title.styles.ts
|
|
12
12
|
var x = o(p.smMax), S = o(p.mdMin), C = o(p.mdMax), w = o(p.lgMin), T = i`
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./decorate-
|
|
2
|
-
import { a as r, n as i, r as a } from "./custom-element-
|
|
1
|
+
import { n as e, r as t, t as n } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a as r, n as i, r as a } from "./custom-element-DeaCQ2NP.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./slotted-block-xNpJoXLz.js";
|
|
5
5
|
import { n as c, r as l } from "./slot-content-2qH2vEC_.js";
|
|
6
|
-
import { t as u } from "./reorder-handle-mixin-
|
|
6
|
+
import { t as u } from "./reorder-handle-mixin-CgvWq4fF.js";
|
|
7
7
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { r as f, t as p } from "./shadow-resets-
|
|
9
|
-
import { n as m, r as h } from "./static-html-
|
|
10
|
-
import { n as g } from "./render-marked-
|
|
11
|
-
import { t as _ } from "./visibility-mixin-
|
|
12
|
-
import { t as v } from "./row-header-mixin-
|
|
8
|
+
import { r as f, t as p } from "./shadow-resets-CRdvf-Ei.js";
|
|
9
|
+
import { n as m, r as h } from "./static-html-BahSPV_4.js";
|
|
10
|
+
import { n as g } from "./render-marked-CIuiSS_8.js";
|
|
11
|
+
import { t as _ } from "./visibility-mixin-DvRe3O8t.js";
|
|
12
|
+
import { t as v } from "./row-header-mixin-B25JK2B3.js";
|
|
13
13
|
// src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts
|
|
14
14
|
var y = r`
|
|
15
15
|
:host {
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, n as a, r as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-DeaCQ2NP.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
5
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
6
|
import { t as u } from "./owned-attribute-x9OCTy_4.js";
|
|
7
7
|
import { t as d } from "./implicit-submission-Csbcor_E.js";
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
9
|
-
import { i as p, n as m, r as h } from "./keyboard-shortcut-
|
|
10
|
-
import "./tooltip-
|
|
11
|
-
import "./icon-
|
|
12
|
-
import { t as g } from "./described-by-mixin-
|
|
8
|
+
import { t as f } from "./shadow-resets-CRdvf-Ei.js";
|
|
9
|
+
import { i as p, n as m, r as h } from "./keyboard-shortcut-Ci95olxF.js";
|
|
10
|
+
import "./tooltip-BvRNYRo3.js";
|
|
11
|
+
import "./icon-qpmEfU9B.js";
|
|
12
|
+
import { t as g } from "./described-by-mixin-BYFim7aO.js";
|
|
13
13
|
import { t as _ } from "./defer-focus-F73ud2D9.js";
|
|
14
|
+
import { t as v } from "./interest-controller-Ban-3NrX.js";
|
|
14
15
|
// src/components/inputs/toggle-button/toggle-button.styles.ts
|
|
15
|
-
var
|
|
16
|
+
var y = i`
|
|
16
17
|
:host {
|
|
17
18
|
box-sizing: border-box;
|
|
18
19
|
}
|
|
@@ -22,6 +23,8 @@ var v = i`
|
|
|
22
23
|
|
|
23
24
|
:host {
|
|
24
25
|
--_toggle-button-corner-radius: var(--semantics-controls-md-corner-radius);
|
|
26
|
+
/* Unset outside a field, so border-radius falls back to the own corner. */
|
|
27
|
+
--_toggle-button-nested-corner-radius: var(--context-control-corner-radius);
|
|
25
28
|
--_toggle-button-min-size: var(--semantics-controls-md-min-size);
|
|
26
29
|
--_toggle-button-block-padding: var(--semantics-controls-md-block-padding);
|
|
27
30
|
--_toggle-button-inline-padding: var(--semantics-buttons-md-inline-padding);
|
|
@@ -187,7 +190,7 @@ var v = i`
|
|
|
187
190
|
position: relative;
|
|
188
191
|
margin: 0;
|
|
189
192
|
border: none;
|
|
190
|
-
border-radius: var(--_toggle-button-corner-radius);
|
|
193
|
+
border-radius: var(--_toggle-button-nested-corner-radius, var(--_toggle-button-corner-radius));
|
|
191
194
|
background: none;
|
|
192
195
|
background-color: var(--_toggle-button-background-color);
|
|
193
196
|
box-shadow: inset 0 0 0 var(--primitives-border-width-thin) var(--_toggle-button-highlight-border-color);
|
|
@@ -318,14 +321,14 @@ var v = i`
|
|
|
318
321
|
|
|
319
322
|
`;
|
|
320
323
|
// src/components/inputs/toggle-button/toggle-button.template.ts
|
|
321
|
-
function
|
|
324
|
+
function b(e) {
|
|
322
325
|
let r = e.variant !== "icon" && !!e.text, i = e.variant !== "text" && e._hasIcon, a = e.variant === "icon" || e.variant === "icon-and-text", o = p(e), s = e.accessibleLabel || ((e.variant === "icon" || o) && e.text ? e.text : ""), c = s ? [s, o].filter(Boolean).join(" ") : n, l = (i || e.variant === "icon") && !r && (e.accessibleLabel || e.text) || "", u = (e.selected && e.selectedIcon ? e.selectedIcon : e.icon) || (a ? "icon-placeholder" : ""), d = t`<slot
|
|
323
326
|
name="icon"
|
|
324
327
|
@slotchange=${e.requestUpdate}
|
|
325
328
|
>${u ? t`<nldd-icon class="toggle-button__icon"
|
|
326
329
|
icon=${u}
|
|
327
330
|
></nldd-icon>` : n}</slot>`, f = r ? t`<span class="toggle-button__text">${e.text}</span>` : n, m;
|
|
328
|
-
|
|
331
|
+
m = e.type === "radio" ? t`
|
|
329
332
|
<div class="toggle-button">
|
|
330
333
|
<input class="toggle-button__validation-input"
|
|
331
334
|
type="radio"
|
|
@@ -366,7 +369,9 @@ function y(e) {
|
|
|
366
369
|
${d}
|
|
367
370
|
${f}
|
|
368
371
|
</button>
|
|
369
|
-
|
|
372
|
+
`;
|
|
373
|
+
let g = t`<slot name="interest" @slotchange=${e._interest.handleSlotChange}></slot>`;
|
|
374
|
+
return (l || h(e)) && !e._interest.overlay ? t`
|
|
370
375
|
<nldd-tooltip
|
|
371
376
|
text=${l || n}
|
|
372
377
|
shortcut=${e.shortcut || n}
|
|
@@ -376,13 +381,16 @@ function y(e) {
|
|
|
376
381
|
>
|
|
377
382
|
${m}
|
|
378
383
|
</nldd-tooltip>
|
|
379
|
-
|
|
384
|
+
${g}
|
|
385
|
+
` : t`${m}${g}`;
|
|
380
386
|
}
|
|
381
387
|
// src/components/inputs/toggle-button/toggle-button.ts
|
|
382
|
-
var
|
|
388
|
+
var x = class extends g(c(e)) {
|
|
383
389
|
constructor(...e) {
|
|
384
|
-
super(...e), this.required = !1, this._initialSelected = !1, this.type = "button", this.appearance = "neutral-tinted", this.size = "md", this.selected = !1, this.disabled = !1, this.noTab = !1, this.value = "on", this.name = "", this.text = "", this.icon = "", this.selectedIcon = "", this.variant = "", this.accessibleLabel = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.invalid = !1, this._groupPosition = null, this._groupHasSelection = !1, this._appliedRadioLabel = null, this._shortcutAvailability = new m(this), this._onRadioClick = () => {
|
|
385
|
-
this.type
|
|
390
|
+
super(...e), this.required = !1, this._initialSelected = !1, this.type = "button", this.appearance = "neutral-tinted", this.size = "md", this.selected = !1, this.disabled = !1, this.noTab = !1, this.value = "on", this.name = "", this.text = "", this.icon = "", this.selectedIcon = "", this.variant = "", this.accessibleLabel = "", this.interestfor = void 0, this._interest = new v(this), this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.invalid = !1, this._groupPosition = null, this._groupHasSelection = !1, this._appliedRadioLabel = null, this._shortcutAvailability = new m(this), this._onRadioClick = (e) => {
|
|
391
|
+
if (this.type !== "radio") return;
|
|
392
|
+
let t = this._interest.overlay;
|
|
393
|
+
t && e.composedPath().includes(t) || this.toggle();
|
|
386
394
|
}, this._onRadioKeyDown = (e) => {
|
|
387
395
|
this.type !== "radio" || this.disabled || (e.key === " " ? (e.preventDefault(), this.toggle()) : e.key === "Enter" && d(this, e));
|
|
388
396
|
}, this._onRadioFocus = () => {
|
|
@@ -399,8 +407,11 @@ var b = class extends g(c(e)) {
|
|
|
399
407
|
firstUpdated() {
|
|
400
408
|
this._initialSelected = this.selected;
|
|
401
409
|
}
|
|
410
|
+
willUpdate(e) {
|
|
411
|
+
super.willUpdate(e), this.hasUpdated && (e.has("selected") || e.has("disabled")) && this.closest("nldd-toggle-button-group")?._optionChanged?.(this);
|
|
412
|
+
}
|
|
402
413
|
updated(e) {
|
|
403
|
-
(e.has("selected") || e.has("value") || e.has("type")) && this.commitFormValue(), this._syncRadioAria();
|
|
414
|
+
e.has("interestfor") && this._interest.refresh(), (e.has("selected") || e.has("value") || e.has("type")) && this.commitFormValue(), this._syncRadioAria();
|
|
404
415
|
}
|
|
405
416
|
_syncRadioAria() {
|
|
406
417
|
if (this.type !== "radio") {
|
|
@@ -446,19 +457,20 @@ var b = class extends g(c(e)) {
|
|
|
446
457
|
}
|
|
447
458
|
_handleInputChange(e) {
|
|
448
459
|
let t = e.target;
|
|
449
|
-
this.selected = t.checked, this._dispatchChange();
|
|
460
|
+
this.selected = t.checked, this._dispatchChange() || (this.selected = !t.checked, t.checked = this.selected, this.commitFormValue());
|
|
450
461
|
}
|
|
451
462
|
_toggle() {
|
|
452
|
-
this.selected = !this.selected, this._dispatchChange();
|
|
463
|
+
this.selected = !this.selected, this._dispatchChange() || (this.selected = !this.selected, this.commitFormValue());
|
|
453
464
|
}
|
|
454
465
|
_dispatchChange() {
|
|
455
|
-
this.commitFormValue(), this.dispatchEvent(new CustomEvent("change", {
|
|
466
|
+
return this.commitFormValue(), this.dispatchEvent(new CustomEvent("change", {
|
|
456
467
|
detail: {
|
|
457
468
|
selected: this.selected,
|
|
458
469
|
value: this.value
|
|
459
470
|
},
|
|
460
471
|
bubbles: !0,
|
|
461
|
-
composed: !0
|
|
472
|
+
composed: !0,
|
|
473
|
+
cancelable: this.type !== "radio"
|
|
462
474
|
}));
|
|
463
475
|
}
|
|
464
476
|
toggle() {
|
|
@@ -468,67 +480,73 @@ var b = class extends g(c(e)) {
|
|
|
468
480
|
_(this, e) || (this.type === "radio" ? super.focus(e) : this.shadowRoot?.querySelector(".toggle-button__input, button.toggle-button")?.focus(e));
|
|
469
481
|
}
|
|
470
482
|
describedTarget() {
|
|
471
|
-
return this.shadowRoot?.querySelector("button.toggle-button") ?? null;
|
|
483
|
+
return this.type === "radio" ? this : this.shadowRoot?.querySelector("button.toggle-button, .toggle-button__input") ?? null;
|
|
484
|
+
}
|
|
485
|
+
ownDescriptions() {
|
|
486
|
+
return this._interest.overlay ? [this._interest.overlay] : [];
|
|
472
487
|
}
|
|
473
488
|
render() {
|
|
474
|
-
return
|
|
489
|
+
return b(this);
|
|
475
490
|
}
|
|
476
|
-
},
|
|
491
|
+
}, S = (x.styles = y, x.isFormInput = !0, x);
|
|
477
492
|
r([o({
|
|
478
493
|
type: Boolean,
|
|
479
494
|
reflect: !0
|
|
480
|
-
})],
|
|
495
|
+
})], S.prototype, "required", void 0), r([o({
|
|
481
496
|
reflect: !0,
|
|
482
497
|
converter: l("button")
|
|
483
|
-
})],
|
|
498
|
+
})], S.prototype, "type", void 0), r([o({
|
|
484
499
|
reflect: !0,
|
|
485
500
|
converter: l("neutral-tinted")
|
|
486
|
-
})],
|
|
501
|
+
})], S.prototype, "appearance", void 0), r([o({
|
|
487
502
|
reflect: !0,
|
|
488
503
|
converter: l("md")
|
|
489
|
-
})],
|
|
504
|
+
})], S.prototype, "size", void 0), r([o({
|
|
490
505
|
type: Boolean,
|
|
491
506
|
reflect: !0
|
|
492
|
-
})],
|
|
507
|
+
})], S.prototype, "selected", void 0), r([o({
|
|
493
508
|
type: Boolean,
|
|
494
509
|
reflect: !0
|
|
495
|
-
})],
|
|
510
|
+
})], S.prototype, "disabled", void 0), r([o({
|
|
496
511
|
type: Boolean,
|
|
497
512
|
reflect: !0,
|
|
498
513
|
attribute: "no-tab"
|
|
499
|
-
})],
|
|
514
|
+
})], S.prototype, "noTab", void 0), r([o({ type: String })], S.prototype, "value", void 0), r([o({
|
|
500
515
|
reflect: !0,
|
|
501
516
|
converter: l("")
|
|
502
|
-
})],
|
|
517
|
+
})], S.prototype, "name", void 0), r([o({
|
|
503
518
|
reflect: !0,
|
|
504
519
|
converter: l("")
|
|
505
|
-
})],
|
|
520
|
+
})], S.prototype, "text", void 0), r([o({ type: String })], S.prototype, "icon", void 0), r([o({
|
|
506
521
|
reflect: !0,
|
|
507
522
|
attribute: "selected-icon",
|
|
508
523
|
converter: l("")
|
|
509
|
-
})],
|
|
524
|
+
})], S.prototype, "selectedIcon", void 0), r([o({
|
|
510
525
|
reflect: !0,
|
|
511
526
|
converter: l("")
|
|
512
|
-
})],
|
|
527
|
+
})], S.prototype, "variant", void 0), r([o({
|
|
513
528
|
type: String,
|
|
514
529
|
attribute: "accessible-label"
|
|
515
|
-
})],
|
|
530
|
+
})], S.prototype, "accessibleLabel", void 0), r([o({
|
|
531
|
+
type: String,
|
|
532
|
+
reflect: !0
|
|
533
|
+
})], S.prototype, "interestfor", void 0), r([o({
|
|
516
534
|
reflect: !0,
|
|
517
535
|
converter: l("")
|
|
518
|
-
})],
|
|
536
|
+
})], S.prototype, "shortcut", void 0), r([o({
|
|
519
537
|
reflect: !0,
|
|
520
538
|
attribute: "shortcut-mac",
|
|
521
539
|
converter: l("")
|
|
522
|
-
})],
|
|
540
|
+
})], S.prototype, "shortcutMac", void 0), r([o({
|
|
523
541
|
reflect: !0,
|
|
524
542
|
attribute: "shortcut-windows",
|
|
525
543
|
converter: l("")
|
|
526
|
-
})],
|
|
544
|
+
})], S.prototype, "shortcutWindows", void 0), r([o({
|
|
527
545
|
reflect: !0,
|
|
528
546
|
attribute: "shortcut-linux",
|
|
529
547
|
converter: l("")
|
|
530
|
-
})],
|
|
548
|
+
})], S.prototype, "shortcutLinux", void 0), r([o({
|
|
531
549
|
type: Boolean,
|
|
532
550
|
reflect: !0
|
|
533
|
-
})],
|
|
534
|
-
export {
|
|
551
|
+
})], S.prototype, "invalid", void 0), r([a()], S.prototype, "_groupPosition", void 0), r([a()], S.prototype, "_groupHasSelection", void 0), S = r([s("nldd-toggle-button")], S);
|
|
552
|
+
export { S as NLDDToggleButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e, o as t, t as n } from "./decorate-
|
|
2
|
-
import { a as r, r as i } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, t as n } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a as r, r as i } from "./custom-element-DeaCQ2NP.js";
|
|
3
3
|
import { t as a } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as o } from "./reflect-non-default-Bu3rpCvg.js";
|
|
5
5
|
import { t as s } from "./owned-attribute-x9OCTy_4.js";
|
|
@@ -58,9 +58,7 @@ var f = class extends e {
|
|
|
58
58
|
super(...e), this.required = !1, this.type = "checkbox", this.name = "", this.appearance = "neutral-tinted", this.size = "md", this.disabled = !1, this.accessibleLabel = "", this.accessibleLabeledBy = "", this._appliedLabel = null, this.invalid = !1, this._handleChange = (e) => {
|
|
59
59
|
if (this.type !== "radio") return;
|
|
60
60
|
let t = e.target;
|
|
61
|
-
t.selected && (this.
|
|
62
|
-
e !== t && (e.selected = !1, e.commitFormValue?.());
|
|
63
|
-
}), this._positionButtons());
|
|
61
|
+
t.selected && (this._deselectOthers(t), this._positionButtons());
|
|
64
62
|
}, this._handleKeyDown = (e) => {
|
|
65
63
|
if (this.type !== "radio" || ![
|
|
66
64
|
"ArrowDown",
|
|
@@ -119,6 +117,14 @@ var f = class extends e {
|
|
|
119
117
|
e[r]._groupPosition = n, e[r]._groupHasSelection = t;
|
|
120
118
|
});
|
|
121
119
|
}
|
|
120
|
+
_optionChanged(e) {
|
|
121
|
+
this.type === "radio" && e.selected && this._deselectOthers(e), this._positionButtons();
|
|
122
|
+
}
|
|
123
|
+
_deselectOthers(e) {
|
|
124
|
+
this._getButtons().forEach((t) => {
|
|
125
|
+
t !== e && (t.selected = !1, t.commitFormValue?.());
|
|
126
|
+
});
|
|
127
|
+
}
|
|
122
128
|
focus(e) {
|
|
123
129
|
if (l(this, e)) return;
|
|
124
130
|
let t = this._getEnabledButtons();
|
|
@@ -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, n as o, r as s } from "./custom-element-
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-CCYde2ES.js";
|
|
3
|
+
import { a, n as o, r as s } from "./custom-element-DeaCQ2NP.js";
|
|
4
4
|
import { t as c } from "./custom-element-BW8Ua4c7.js";
|
|
5
5
|
import { t as l } from "./query-ChDzi9FQ.js";
|
|
6
6
|
import { t as u } from "./slot-content-2qH2vEC_.js";
|
|
7
7
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
8
|
-
import { t as f } from "./shadow-resets-
|
|
8
|
+
import { t as f } from "./shadow-resets-CRdvf-Ei.js";
|
|
9
9
|
import { t as p } from "./token.i18n-RGD5zAtl.js";
|
|
10
|
-
import "./icon-button-
|
|
11
|
-
import { t as m } from "./translations-
|
|
10
|
+
import "./icon-button-DT_Bi4Ac.js";
|
|
11
|
+
import { t as m } from "./translations-cJjO6nQV.js";
|
|
12
12
|
// src/components/content/token/token.styles.ts
|
|
13
13
|
var h = a`
|
|
14
14
|
:host {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e, o as t, r as n, t as r } from "./decorate-
|
|
2
|
-
import { a as i, n as a, r as o } from "./custom-element-
|
|
1
|
+
import { n as e, o as t, r as n, t as r } from "./decorate-CCYde2ES.js";
|
|
2
|
+
import { a as i, n as a, r as o } from "./custom-element-DeaCQ2NP.js";
|
|
3
3
|
import { t as s } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as c } from "./form-associated-mixin-BtStDDYA.js";
|
|
5
|
-
import { t as l } from "./shadow-resets-
|
|
6
|
-
import { t as u } from "./repeat-
|
|
7
|
-
import "./token-
|
|
8
|
-
import "./icon-
|
|
9
|
-
import "./icon-button-
|
|
10
|
-
import "./menu-
|
|
5
|
+
import { t as l } from "./shadow-resets-CRdvf-Ei.js";
|
|
6
|
+
import { t as u } from "./repeat-DfVuWl6o.js";
|
|
7
|
+
import "./token-CMKFC3gz.js";
|
|
8
|
+
import "./icon-qpmEfU9B.js";
|
|
9
|
+
import "./icon-button-DT_Bi4Ac.js";
|
|
10
|
+
import "./menu-NGpB1SKq.js";
|
|
11
11
|
import { t as d } from "./token-field.i18n-BclzoR8F.js";
|
|
12
12
|
import { t as f } from "./implicit-submission-Csbcor_E.js";
|
|
13
|
-
import { t as p } from "./described-by-mixin-
|
|
14
|
-
import { t as m } from "./translations-
|
|
13
|
+
import { t as p } from "./described-by-mixin-BYFim7aO.js";
|
|
14
|
+
import { t as m } from "./translations-cJjO6nQV.js";
|
|
15
15
|
import { t as h } from "./defer-focus-F73ud2D9.js";
|
|
16
16
|
// src/components/inputs/token-field/token-field.styles.ts
|
|
17
17
|
var g = i`
|
|
@@ -634,7 +634,7 @@ var S = class extends p(c(e)) {
|
|
|
634
634
|
render() {
|
|
635
635
|
return x(this);
|
|
636
636
|
}
|
|
637
|
-
}, C = S, w = (S.styles = g, S.isFormInput = !0, S.blocksImplicitSubmission = !0, S._idCounter = 0, S);
|
|
637
|
+
}, C = S, w = (S.styles = g, S.isFormInput = !0, S.isTextEntry = !0, S.blocksImplicitSubmission = !0, S._idCounter = 0, S);
|
|
638
638
|
r([o({ converter: {
|
|
639
639
|
fromAttribute: (e) => e ? e.split(",").map((e) => e.trim()).filter(Boolean) : [],
|
|
640
640
|
toAttribute: () => null
|