@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,20 +1,20 @@
|
|
|
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 { r as i, s as a } from "./custom-element-D5bstafw.js";
|
|
3
3
|
import { t as o } from "./custom-element-BW8Ua4c7.js";
|
|
4
4
|
import { t as s } from "./query-ChDzi9FQ.js";
|
|
5
|
-
import { t as c } from "./form-associated-mixin-
|
|
5
|
+
import { t as c } from "./form-associated-mixin-BCzChLUO.js";
|
|
6
6
|
import { t as l } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
-
import { t as u } from "./shadow-resets-
|
|
8
|
-
import "./icon-button-
|
|
9
|
-
import "./button-
|
|
10
|
-
import "./icon-
|
|
11
|
-
import { a as d, n as f, r as p } from "./keyboard-shortcut-
|
|
7
|
+
import { t as u } from "./shadow-resets-JiVlctXb.js";
|
|
8
|
+
import "./icon-button-B0Lb2ccT.js";
|
|
9
|
+
import "./button-B7OGt_dX.js";
|
|
10
|
+
import "./icon-m8JXbN5F.js";
|
|
11
|
+
import { a as d, n as f, r as p } from "./keyboard-shortcut-4DPqQovv.js";
|
|
12
12
|
import { t as m } from "./search-field.i18n-B_Oc7hc-.js";
|
|
13
|
-
import { n as h, t as g } from "./described-by-mixin-
|
|
14
|
-
import { t as _ } from "./translations-
|
|
13
|
+
import { n as h, t as g } from "./described-by-mixin-ZWpyWEyB.js";
|
|
14
|
+
import { t as _ } from "./translations-D0cgmONm.js";
|
|
15
15
|
import { t as v } from "./defer-focus-F73ud2D9.js";
|
|
16
16
|
// src/components/inputs/search-field/search-field.styles.ts
|
|
17
|
-
var y =
|
|
17
|
+
var y = a`
|
|
18
18
|
:host {
|
|
19
19
|
box-sizing: border-box;
|
|
20
20
|
}
|
|
@@ -274,10 +274,7 @@ function b(e) {
|
|
|
274
274
|
// src/components/inputs/search-field/search-field.ts
|
|
275
275
|
var x = class extends g(c(e)) {
|
|
276
276
|
constructor(...e) {
|
|
277
|
-
super(...e), this.
|
|
278
|
-
}
|
|
279
|
-
firstUpdated() {
|
|
280
|
-
this._initialValue = this.value;
|
|
277
|
+
super(...e), this._shortcutAvailability = new f(this), this.size = "md", this.width = "", this.placeholder = "Zoeken", this.accessibleLabel = "", this.searchButton = null, this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this.translations = {}, this.invalid = !1, this.disabled = !1, this.name = "", this.value = "", this.required = !1, this.pattern = "", this.noSpellcheck = !1;
|
|
281
278
|
}
|
|
282
279
|
updated(e) {
|
|
283
280
|
let t = d() ? this.shadowRoot?.querySelector(".search-field__shortcut") : null;
|
|
@@ -289,42 +286,24 @@ var x = class extends g(c(e)) {
|
|
|
289
286
|
formValue() {
|
|
290
287
|
return this.value;
|
|
291
288
|
}
|
|
292
|
-
formResetCallback() {
|
|
293
|
-
this.value = this._initialValue;
|
|
294
|
-
}
|
|
295
|
-
formStateRestoreCallback(e) {
|
|
296
|
-
typeof e == "string" && (this.value = e);
|
|
297
|
-
}
|
|
298
289
|
_t(e) {
|
|
299
290
|
return _(this.translations, m, e);
|
|
300
291
|
}
|
|
301
292
|
_handleInput(e) {
|
|
302
293
|
e.stopPropagation();
|
|
303
294
|
let t = e.target;
|
|
304
|
-
this.value = t.value, this.
|
|
305
|
-
detail: { value: this.value },
|
|
306
|
-
bubbles: !0,
|
|
307
|
-
composed: !0
|
|
308
|
-
}));
|
|
295
|
+
this.value = t.value, this.emitFormEvent("input", { value: this.value });
|
|
309
296
|
}
|
|
310
297
|
_handleChange(e) {
|
|
311
298
|
e.stopPropagation();
|
|
312
299
|
let t = e.target;
|
|
313
|
-
this.value = t.value, this.
|
|
314
|
-
detail: { value: this.value },
|
|
315
|
-
bubbles: !0,
|
|
316
|
-
composed: !0
|
|
317
|
-
}));
|
|
300
|
+
this.value = t.value, this.emitFormEvent("change", { value: this.value });
|
|
318
301
|
}
|
|
319
302
|
_handleKeydown(e) {
|
|
320
303
|
e.key === "Enter" && this._dispatchSearch();
|
|
321
304
|
}
|
|
322
305
|
_handleClear() {
|
|
323
|
-
this.value = "", this.
|
|
324
|
-
detail: { value: "" },
|
|
325
|
-
bubbles: !0,
|
|
326
|
-
composed: !0
|
|
327
|
-
})), this.dispatchEvent(new CustomEvent("change", {
|
|
306
|
+
this.value = "", this.emitFormEvent("input", { value: "" }), this.dispatchEvent(new CustomEvent("change", {
|
|
328
307
|
detail: { value: "" },
|
|
329
308
|
bubbles: !0,
|
|
330
309
|
composed: !0
|
|
@@ -334,11 +313,7 @@ var x = class extends g(c(e)) {
|
|
|
334
313
|
this._dispatchSearch();
|
|
335
314
|
}
|
|
336
315
|
_dispatchSearch() {
|
|
337
|
-
this.
|
|
338
|
-
detail: { value: this.value },
|
|
339
|
-
bubbles: !0,
|
|
340
|
-
composed: !0
|
|
341
|
-
}));
|
|
316
|
+
this.emitFormEvent("search", { value: this.value });
|
|
342
317
|
}
|
|
343
318
|
focus(e) {
|
|
344
319
|
v(this, e) || this._input?.focus(e);
|
|
@@ -346,57 +321,57 @@ var x = class extends g(c(e)) {
|
|
|
346
321
|
render() {
|
|
347
322
|
return b(this);
|
|
348
323
|
}
|
|
349
|
-
}, S = (x.styles = y, x.isFormInput = !0, x.isTextEntry = !0, x.blocksImplicitSubmission = !0, x);
|
|
350
|
-
r([
|
|
324
|
+
}, S = (x.styles = y, x.formProperties = ["value"], x.isFormInput = !0, x.isTextEntry = !0, x.blocksImplicitSubmission = !0, x);
|
|
325
|
+
r([i({
|
|
351
326
|
reflect: !0,
|
|
352
327
|
converter: l("md")
|
|
353
|
-
})], S.prototype, "size", void 0), r([
|
|
328
|
+
})], S.prototype, "size", void 0), r([i({
|
|
354
329
|
reflect: !0,
|
|
355
330
|
converter: l("")
|
|
356
|
-
})], S.prototype, "width", void 0), r([s(".search-field__input")], S.prototype, "_input", void 0), r([
|
|
331
|
+
})], S.prototype, "width", void 0), r([s(".search-field__input")], S.prototype, "_input", void 0), r([i({ type: String })], S.prototype, "placeholder", void 0), r([i({
|
|
357
332
|
type: String,
|
|
358
333
|
attribute: "accessible-label"
|
|
359
|
-
})], S.prototype, "accessibleLabel", void 0), r([
|
|
334
|
+
})], S.prototype, "accessibleLabel", void 0), r([i({
|
|
360
335
|
type: String,
|
|
361
336
|
reflect: !0,
|
|
362
337
|
attribute: "search-button"
|
|
363
|
-
})], S.prototype, "searchButton", void 0), r([
|
|
338
|
+
})], S.prototype, "searchButton", void 0), r([i({
|
|
364
339
|
reflect: !0,
|
|
365
340
|
converter: l("")
|
|
366
|
-
})], S.prototype, "shortcut", void 0), r([
|
|
341
|
+
})], S.prototype, "shortcut", void 0), r([i({
|
|
367
342
|
reflect: !0,
|
|
368
343
|
attribute: "shortcut-mac",
|
|
369
344
|
converter: l("")
|
|
370
|
-
})], S.prototype, "shortcutMac", void 0), r([
|
|
345
|
+
})], S.prototype, "shortcutMac", void 0), r([i({
|
|
371
346
|
reflect: !0,
|
|
372
347
|
attribute: "shortcut-windows",
|
|
373
348
|
converter: l("")
|
|
374
|
-
})], S.prototype, "shortcutWindows", void 0), r([
|
|
349
|
+
})], S.prototype, "shortcutWindows", void 0), r([i({
|
|
375
350
|
reflect: !0,
|
|
376
351
|
attribute: "shortcut-linux",
|
|
377
352
|
converter: l("")
|
|
378
|
-
})], S.prototype, "shortcutLinux", void 0), r([
|
|
353
|
+
})], S.prototype, "shortcutLinux", void 0), r([i({ type: Object })], S.prototype, "translations", void 0), r([i({
|
|
379
354
|
type: Boolean,
|
|
380
355
|
reflect: !0
|
|
381
|
-
})], S.prototype, "invalid", void 0), r([
|
|
356
|
+
})], S.prototype, "invalid", void 0), r([i({
|
|
382
357
|
type: Boolean,
|
|
383
358
|
reflect: !0
|
|
384
|
-
})], S.prototype, "disabled", void 0), r([
|
|
359
|
+
})], S.prototype, "disabled", void 0), r([i({
|
|
385
360
|
reflect: !0,
|
|
386
361
|
converter: l("")
|
|
387
|
-
})], S.prototype, "name", void 0), r([
|
|
362
|
+
})], S.prototype, "name", void 0), r([i({ type: String })], S.prototype, "value", void 0), r([i({
|
|
388
363
|
type: Boolean,
|
|
389
364
|
reflect: !0
|
|
390
|
-
})], S.prototype, "required", void 0), r([
|
|
365
|
+
})], S.prototype, "required", void 0), r([i({
|
|
391
366
|
type: Number,
|
|
392
367
|
reflect: !0
|
|
393
|
-
})], S.prototype, "minlength", void 0), r([
|
|
368
|
+
})], S.prototype, "minlength", void 0), r([i({
|
|
394
369
|
type: Number,
|
|
395
370
|
reflect: !0
|
|
396
|
-
})], S.prototype, "maxlength", void 0), r([
|
|
371
|
+
})], S.prototype, "maxlength", void 0), r([i({
|
|
397
372
|
reflect: !0,
|
|
398
373
|
converter: l("")
|
|
399
|
-
})], S.prototype, "pattern", void 0), r([
|
|
374
|
+
})], S.prototype, "pattern", void 0), r([i({
|
|
400
375
|
type: Boolean,
|
|
401
376
|
reflect: !0,
|
|
402
377
|
attribute: "no-spellcheck"
|
|
@@ -1,18 +1,19 @@
|
|
|
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
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import "./
|
|
10
|
-
import "./
|
|
11
|
-
import
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
4
|
+
import { n as c, r as l } from "./choice-group-AZsqoheP.js";
|
|
5
|
+
import { t as u } from "./form-associated-mixin-BCzChLUO.js";
|
|
6
|
+
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
7
|
+
import { t as f } from "./radio-position-CXWYAjaz.js";
|
|
8
|
+
import { t as p } from "./shadow-resets-JiVlctXb.js";
|
|
9
|
+
import { i as m, n as h, r as g } from "./keyboard-shortcut-4DPqQovv.js";
|
|
10
|
+
import "./tooltip-CkLC4ooQ.js";
|
|
11
|
+
import "./icon-m8JXbN5F.js";
|
|
12
|
+
import { t as _ } from "./owned-attribute-x9OCTy_4.js";
|
|
13
|
+
import { t as v } from "./implicit-submission-Csbcor_E.js";
|
|
14
|
+
import { t as y } from "./defer-focus-F73ud2D9.js";
|
|
14
15
|
// src/components/inputs/segmented-control/segmented-control.styles.ts
|
|
15
|
-
var
|
|
16
|
+
var b = o`
|
|
16
17
|
:host {
|
|
17
18
|
box-sizing: border-box;
|
|
18
19
|
}
|
|
@@ -29,7 +30,7 @@ var v = i`
|
|
|
29
30
|
--_segmented-control-selected-z-index: 1;
|
|
30
31
|
--_segmented-control-focus-z-index: 2;
|
|
31
32
|
|
|
32
|
-
${
|
|
33
|
+
${p}
|
|
33
34
|
display: inline-grid;
|
|
34
35
|
position: relative;
|
|
35
36
|
border-radius: var(--_segmented-control-corner-radius);
|
|
@@ -102,7 +103,7 @@ var v = i`
|
|
|
102
103
|
position: relative;
|
|
103
104
|
z-index: var(--_segmented-control-focus-z-index);
|
|
104
105
|
}
|
|
105
|
-
`,
|
|
106
|
+
`, x = o`
|
|
106
107
|
|
|
107
108
|
|
|
108
109
|
/* # Host */
|
|
@@ -131,7 +132,7 @@ var v = i`
|
|
|
131
132
|
--_segmented-control-item-is-selected-is-active-content-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-content-color);
|
|
132
133
|
--_segmented-control-item-is-selected-is-active-highlight-border-color: var(--semantics-buttons-neutral-tinted-is-selected-is-active-highlight-border-color);
|
|
133
134
|
|
|
134
|
-
${
|
|
135
|
+
${p}
|
|
135
136
|
display: flex;
|
|
136
137
|
position: relative;
|
|
137
138
|
min-width: 0;
|
|
@@ -348,7 +349,7 @@ var v = i`
|
|
|
348
349
|
}
|
|
349
350
|
`;
|
|
350
351
|
// src/components/inputs/segmented-control/segmented-control.template.ts
|
|
351
|
-
function
|
|
352
|
+
function S(e) {
|
|
352
353
|
return t`
|
|
353
354
|
<input class="segmented-control__validation-input"
|
|
354
355
|
type="radio"
|
|
@@ -361,8 +362,8 @@ function b(e) {
|
|
|
361
362
|
<slot @slotchange=${e._onSlotChange}></slot>
|
|
362
363
|
`;
|
|
363
364
|
}
|
|
364
|
-
function
|
|
365
|
-
let r = e.variant === "icon", i = r || e.variant === "icon-and-text", a = e.text || n, o =
|
|
365
|
+
function C(e) {
|
|
366
|
+
let r = e.variant === "icon", i = r || e.variant === "icon-and-text", a = e.text || n, o = m(e), s = (r || o) && e.text ? [e.text, o].filter(Boolean).join(" ") : n, c = t`
|
|
366
367
|
<span class="segmented-control__item-icon"
|
|
367
368
|
aria-hidden=${r ? n : "true"}
|
|
368
369
|
>
|
|
@@ -386,7 +387,7 @@ function x(e) {
|
|
|
386
387
|
>
|
|
387
388
|
${c}
|
|
388
389
|
</label>`;
|
|
389
|
-
return r && a ||
|
|
390
|
+
return r && a || g(e) ? t`
|
|
390
391
|
<nldd-tooltip
|
|
391
392
|
text=${r ? a : n}
|
|
392
393
|
shortcut=${e.shortcut || n}
|
|
@@ -399,9 +400,9 @@ function x(e) {
|
|
|
399
400
|
` : l;
|
|
400
401
|
}
|
|
401
402
|
// src/components/inputs/segmented-control/segmented-control.ts
|
|
402
|
-
var
|
|
403
|
+
var w = class extends e {
|
|
403
404
|
constructor(...e) {
|
|
404
|
-
super(...e), this.required = !1, this.value = "", this.selected = !1, this.disabled = !1, this.appearance = "neutral-tinted", this.size = "md", this.variant = "text", this.inputType = "radio", this.groupName = "", this.text = "", this.icon = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this._groupPosition = null, this._appliedRadioLabel = null, this._shortcutAvailability = new
|
|
405
|
+
super(...e), this.required = !1, this.value = "", this.selected = !1, this.disabled = !1, this.appearance = "neutral-tinted", this.size = "md", this.variant = "text", this.inputType = "radio", this.groupName = "", this.text = "", this.icon = "", this.shortcut = "", this.shortcutMac = "", this.shortcutWindows = "", this.shortcutLinux = "", this._groupPosition = null, this._appliedRadioLabel = null, this._shortcutAvailability = new h(this), this._onRadioFocus = () => {
|
|
405
406
|
this._tooltip?._handleFocusIn();
|
|
406
407
|
}, this._onRadioBlur = () => {
|
|
407
408
|
this._tooltip?._handleTriggerLeave();
|
|
@@ -433,12 +434,12 @@ var S = class extends e {
|
|
|
433
434
|
"aria-setsize",
|
|
434
435
|
"tabindex"
|
|
435
436
|
]) this.removeAttribute(e);
|
|
436
|
-
this._appliedRadioLabel =
|
|
437
|
+
this._appliedRadioLabel = _(this, "aria-label", "", this._appliedRadioLabel);
|
|
437
438
|
return;
|
|
438
439
|
}
|
|
439
440
|
this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.selected));
|
|
440
|
-
let e = [this.text,
|
|
441
|
-
this._appliedRadioLabel =
|
|
441
|
+
let e = [this.text, m(this)].filter(Boolean).join(" ");
|
|
442
|
+
this._appliedRadioLabel = _(this, "aria-label", e, this._appliedRadioLabel), this.disabled ? this.setAttribute("aria-disabled", "true") : this.removeAttribute("aria-disabled");
|
|
442
443
|
let t = this._groupPosition;
|
|
443
444
|
t ? (this.setAttribute("aria-posinset", String(t.posInSet)), this.setAttribute("aria-setsize", String(t.setSize))) : (this.removeAttribute("aria-posinset"), this.removeAttribute("aria-setsize"));
|
|
444
445
|
let n = !this.disabled && t?.tabbable !== !1;
|
|
@@ -466,81 +467,73 @@ var S = class extends e {
|
|
|
466
467
|
}));
|
|
467
468
|
}
|
|
468
469
|
focus(e) {
|
|
469
|
-
|
|
470
|
+
y(this, e) || (this.inputType === "radio" ? super.focus(e) : this.shadowRoot?.querySelector(".segmented-control__item-input")?.focus(e));
|
|
470
471
|
}
|
|
471
472
|
render() {
|
|
472
|
-
return
|
|
473
|
+
return C(this);
|
|
473
474
|
}
|
|
474
|
-
},
|
|
475
|
-
r([
|
|
475
|
+
}, T, E, D = (w.styles = x, w);
|
|
476
|
+
r([a({
|
|
476
477
|
type: Boolean,
|
|
477
478
|
reflect: !0
|
|
478
|
-
})],
|
|
479
|
+
})], D.prototype, "required", void 0), r([a({ type: String })], D.prototype, "value", void 0), r([a({
|
|
479
480
|
type: Boolean,
|
|
480
481
|
reflect: !0
|
|
481
|
-
})],
|
|
482
|
+
})], D.prototype, "selected", void 0), r([a({
|
|
482
483
|
type: Boolean,
|
|
483
484
|
reflect: !0
|
|
484
|
-
})],
|
|
485
|
+
})], D.prototype, "disabled", void 0), r([a({
|
|
485
486
|
reflect: !0,
|
|
486
|
-
converter:
|
|
487
|
-
})],
|
|
487
|
+
converter: d("neutral-tinted")
|
|
488
|
+
})], D.prototype, "appearance", void 0), r([a({
|
|
488
489
|
reflect: !0,
|
|
489
|
-
converter:
|
|
490
|
-
})],
|
|
490
|
+
converter: d("md")
|
|
491
|
+
})], D.prototype, "size", void 0), r([a({
|
|
491
492
|
reflect: !0,
|
|
492
493
|
attribute: "variant",
|
|
493
|
-
converter:
|
|
494
|
-
})],
|
|
494
|
+
converter: d("text")
|
|
495
|
+
})], D.prototype, "variant", void 0), r([a({
|
|
495
496
|
reflect: !0,
|
|
496
497
|
attribute: "input-type",
|
|
497
|
-
converter:
|
|
498
|
-
})],
|
|
498
|
+
converter: d("radio")
|
|
499
|
+
})], D.prototype, "inputType", void 0), r([a({
|
|
499
500
|
type: String,
|
|
500
501
|
attribute: "group-name"
|
|
501
|
-
})],
|
|
502
|
+
})], D.prototype, "groupName", void 0), r([a({
|
|
502
503
|
reflect: !0,
|
|
503
|
-
converter:
|
|
504
|
-
})],
|
|
504
|
+
converter: d("")
|
|
505
|
+
})], D.prototype, "text", void 0), r([a({ type: String })], D.prototype, "icon", void 0), r([a({
|
|
505
506
|
reflect: !0,
|
|
506
|
-
converter:
|
|
507
|
-
})],
|
|
507
|
+
converter: d("")
|
|
508
|
+
})], D.prototype, "shortcut", void 0), r([a({
|
|
508
509
|
reflect: !0,
|
|
509
510
|
attribute: "shortcut-mac",
|
|
510
|
-
converter:
|
|
511
|
-
})],
|
|
511
|
+
converter: d("")
|
|
512
|
+
})], D.prototype, "shortcutMac", void 0), r([a({
|
|
512
513
|
reflect: !0,
|
|
513
514
|
attribute: "shortcut-windows",
|
|
514
|
-
converter:
|
|
515
|
-
})],
|
|
515
|
+
converter: d("")
|
|
516
|
+
})], D.prototype, "shortcutWindows", void 0), r([a({
|
|
516
517
|
reflect: !0,
|
|
517
518
|
attribute: "shortcut-linux",
|
|
518
|
-
converter:
|
|
519
|
-
})],
|
|
520
|
-
var
|
|
519
|
+
converter: d("")
|
|
520
|
+
})], D.prototype, "shortcutLinux", void 0), r([i()], D.prototype, "_groupPosition", void 0), D = r([s("nldd-segmented-control-item")], D);
|
|
521
|
+
var O = (T = class extends u(e) {
|
|
521
522
|
constructor(...e) {
|
|
522
|
-
super(...e), this.required = !1, this.invalid = !1, this.
|
|
523
|
+
super(...e), this.required = !1, this.invalid = !1, this.value = "", this.values = [], this.appearance = "neutral-tinted", this.size = "md", this.type = "radio", this.variant = "text", this.disabled = !1, this.width = "", this.name = "", this.accessibleLabel = "", this.accessibleLabeledBy = "", this._appliedLabel = null, this._generatedName = "", this._handleItemChange = (e) => {
|
|
523
524
|
if (e.stopPropagation(), !this.disabled) {
|
|
524
525
|
if (this.type === "checkbox") {
|
|
525
526
|
let t = this.values, n = e.detail.checked ? [...t, e.detail.value] : t.filter((t) => t !== e.detail.value);
|
|
526
|
-
this.values = n, this._syncItems(), this.
|
|
527
|
-
detail: { values: n },
|
|
528
|
-
bubbles: !0,
|
|
529
|
-
composed: !0
|
|
530
|
-
}));
|
|
527
|
+
this.values = n, this._syncItems(), this.emitFormEvent("change", { values: n });
|
|
531
528
|
} else {
|
|
532
529
|
if (e.detail.value === this.value) return;
|
|
533
|
-
this.value = e.detail.value, this._syncItems(), this.
|
|
534
|
-
detail: { value: this.value },
|
|
535
|
-
bubbles: !0,
|
|
536
|
-
composed: !0
|
|
537
|
-
}));
|
|
530
|
+
this.value = e.detail.value, this._syncItems(), this.emitFormEvent("change", { value: this.value });
|
|
538
531
|
}
|
|
539
532
|
}
|
|
540
533
|
}, this._handleKeydown = (e) => {
|
|
541
534
|
if (this.disabled || this.type === "checkbox") return;
|
|
542
535
|
if (e.key === "Enter") {
|
|
543
|
-
|
|
536
|
+
v(this, e);
|
|
544
537
|
return;
|
|
545
538
|
}
|
|
546
539
|
let t = this._getItems().filter((e) => !e.disabled);
|
|
@@ -573,7 +566,7 @@ var E = (C = class extends c(e) {
|
|
|
573
566
|
super.disconnectedCallback(), this.removeEventListener("item-change", this._handleItemChange), this.removeEventListener("keydown", this._handleKeydown);
|
|
574
567
|
}
|
|
575
568
|
firstUpdated() {
|
|
576
|
-
this._syncItems()
|
|
569
|
+
this._syncItems();
|
|
577
570
|
}
|
|
578
571
|
formValue() {
|
|
579
572
|
if (this.type !== "checkbox") return this.value || null;
|
|
@@ -582,9 +575,6 @@ var E = (C = class extends c(e) {
|
|
|
582
575
|
for (let t of this.values) e.append(this.name, t);
|
|
583
576
|
return e;
|
|
584
577
|
}
|
|
585
|
-
formResetCallback() {
|
|
586
|
-
this.value = this._initialValue, this.values = [...this._initialValues];
|
|
587
|
-
}
|
|
588
578
|
validationAnchor() {
|
|
589
579
|
let e = this._getItems().filter((e) => !e.disabled);
|
|
590
580
|
return e.find((e) => e.selected) ?? e[0];
|
|
@@ -597,7 +587,7 @@ var E = (C = class extends c(e) {
|
|
|
597
587
|
let e = this.width;
|
|
598
588
|
e && e !== "full" && e !== "fit-content" && CSS.supports("width", e) ? this.style.setProperty("--_segmented-control-width", e) : this.style.removeProperty("--_segmented-control-width");
|
|
599
589
|
}
|
|
600
|
-
(e.has("value") || e.has("values") || e.has("appearance") || e.has("size") || e.has("disabled") || e.has("type") || e.has("variant") || e.has("name")) && this._syncItems(), (e.has("value") || e.has("values") || e.has("type") || e.has("name")) && this.commitFormValue(), e.has("type") && this.setAttribute("role", this.type === "checkbox" ? "group" : "radiogroup"), e.has("accessibleLabel") && (this._appliedLabel =
|
|
590
|
+
(e.has("value") || e.has("values") || e.has("appearance") || e.has("size") || e.has("disabled") || e.has("type") || e.has("variant") || e.has("name")) && this._syncItems(), (e.has("value") || e.has("values") || e.has("type") || e.has("name")) && this.commitFormValue(), e.has("type") && this.setAttribute("role", this.type === "checkbox" ? "group" : "radiogroup"), e.has("accessibleLabel") && (this._appliedLabel = _(this, "aria-label", this.accessibleLabel, this._appliedLabel)), e.has("accessibleLabeledBy") && (this.accessibleLabeledBy ? this.setAttribute("aria-labelledby", this.accessibleLabeledBy) : this.removeAttribute("aria-labelledby"));
|
|
601
591
|
}
|
|
602
592
|
_getItems() {
|
|
603
593
|
let e = this.shadowRoot?.querySelector("slot");
|
|
@@ -608,74 +598,73 @@ var E = (C = class extends c(e) {
|
|
|
608
598
|
}
|
|
609
599
|
_syncItems() {
|
|
610
600
|
let e = this._getItems();
|
|
611
|
-
|
|
601
|
+
c(this, {
|
|
602
|
+
required: this.required,
|
|
603
|
+
invalid: this.invalid
|
|
604
|
+
});
|
|
612
605
|
let t = this._getSelectedValues();
|
|
613
|
-
|
|
614
|
-
e.
|
|
615
|
-
}) : e.forEach((e) => {
|
|
616
|
-
e.hasAttribute("group-disabled") && (e.removeAttribute("group-disabled"), e.disabled = !1);
|
|
617
|
-
}), e.forEach((e) => {
|
|
618
|
-
e.appearance = this.appearance, e.size = this.size, e.inputType = this.type, e.variant = this.variant, e.groupName = this.name || this._autoName, e.selected = this.type === "checkbox" ? t.includes(e.value) : e.value === this.value;
|
|
606
|
+
e.forEach((e) => {
|
|
607
|
+
l(e, this.disabled), e.appearance = this.appearance, e.size = this.size, e.inputType = this.type, e.variant = this.variant, e.groupName = this.name || this._autoName, e.selected = this.type === "checkbox" ? t.includes(e.value) : e.value === this.value;
|
|
619
608
|
});
|
|
620
|
-
let n = this.type === "radio" ?
|
|
609
|
+
let n = this.type === "radio" ? f(e, (e) => e.selected, (e) => e.disabled) : [];
|
|
621
610
|
e.forEach((e, t) => {
|
|
622
611
|
e._groupPosition = n[t] ?? null;
|
|
623
612
|
});
|
|
624
613
|
}
|
|
625
614
|
get _autoName() {
|
|
626
|
-
return this._generatedName || (this._generatedName = `nldd-segmented-${
|
|
615
|
+
return this._generatedName || (this._generatedName = `nldd-segmented-${E._idCounter++}`), this._generatedName;
|
|
627
616
|
}
|
|
628
617
|
_onSlotChange() {
|
|
629
618
|
this._syncItems();
|
|
630
619
|
}
|
|
631
620
|
focus(e) {
|
|
632
|
-
if (
|
|
621
|
+
if (y(this, e)) return;
|
|
633
622
|
let t = this._getItems().filter((e) => !e.disabled);
|
|
634
623
|
(t.find((e) => e.selected) ?? t[0])?.focus(e);
|
|
635
624
|
}
|
|
636
625
|
render() {
|
|
637
|
-
return
|
|
626
|
+
return S(this);
|
|
638
627
|
}
|
|
639
|
-
},
|
|
640
|
-
r([
|
|
628
|
+
}, E = T, T.styles = b, T.formProperties = ["value", "values"], T.isFormInput = !0, T._idCounter = 0, T);
|
|
629
|
+
r([a({
|
|
641
630
|
type: Boolean,
|
|
642
631
|
reflect: !0
|
|
643
|
-
})],
|
|
632
|
+
})], O.prototype, "required", void 0), r([a({
|
|
644
633
|
type: Boolean,
|
|
645
634
|
reflect: !0
|
|
646
|
-
})],
|
|
635
|
+
})], O.prototype, "invalid", void 0), r([a({
|
|
647
636
|
reflect: !0,
|
|
648
|
-
converter:
|
|
649
|
-
})],
|
|
637
|
+
converter: d("")
|
|
638
|
+
})], O.prototype, "value", void 0), r([a({
|
|
650
639
|
type: Array,
|
|
651
640
|
attribute: !1
|
|
652
|
-
})],
|
|
641
|
+
})], O.prototype, "values", void 0), r([a({
|
|
653
642
|
reflect: !0,
|
|
654
|
-
converter:
|
|
655
|
-
})],
|
|
643
|
+
converter: d("neutral-tinted")
|
|
644
|
+
})], O.prototype, "appearance", void 0), r([a({
|
|
656
645
|
reflect: !0,
|
|
657
|
-
converter:
|
|
658
|
-
})],
|
|
646
|
+
converter: d("md")
|
|
647
|
+
})], O.prototype, "size", void 0), r([a({
|
|
659
648
|
reflect: !0,
|
|
660
|
-
converter:
|
|
661
|
-
})],
|
|
649
|
+
converter: d("radio")
|
|
650
|
+
})], O.prototype, "type", void 0), r([a({
|
|
662
651
|
reflect: !0,
|
|
663
652
|
attribute: "variant",
|
|
664
|
-
converter:
|
|
665
|
-
})],
|
|
653
|
+
converter: d("text")
|
|
654
|
+
})], O.prototype, "variant", void 0), r([a({
|
|
666
655
|
type: Boolean,
|
|
667
656
|
reflect: !0
|
|
668
|
-
})],
|
|
657
|
+
})], O.prototype, "disabled", void 0), r([a({
|
|
669
658
|
reflect: !0,
|
|
670
|
-
converter:
|
|
671
|
-
})],
|
|
659
|
+
converter: d("")
|
|
660
|
+
})], O.prototype, "width", void 0), r([a({
|
|
672
661
|
reflect: !0,
|
|
673
|
-
converter:
|
|
674
|
-
})],
|
|
662
|
+
converter: d("")
|
|
663
|
+
})], O.prototype, "name", void 0), r([a({
|
|
675
664
|
type: String,
|
|
676
665
|
attribute: "accessible-label"
|
|
677
|
-
})],
|
|
666
|
+
})], O.prototype, "accessibleLabel", void 0), r([a({
|
|
678
667
|
type: String,
|
|
679
668
|
attribute: "accessible-labeled-by"
|
|
680
|
-
})],
|
|
681
|
-
export {
|
|
669
|
+
})], O.prototype, "accessibleLabeledBy", void 0), O = E = r([s("nldd-segmented-control")], O);
|
|
670
|
+
export { O as NLDDSegmentedControl, D as NLDDSegmentedControlItem };
|