@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,16 +1,16 @@
|
|
|
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 {
|
|
2
|
+
import { n as t, o as n, r, t as i } from "./decorate-Cjb3GqlZ.js";
|
|
3
|
+
import { n as a, r as o, s } from "./custom-element-D5bstafw.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-JiVlctXb.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-ZWpyWEyB.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-D0cgmONm.js";
|
|
11
11
|
import { t as h } from "./defer-focus-F73ud2D9.js";
|
|
12
12
|
// src/components/inputs/time-picker/time-picker.styles.ts
|
|
13
|
-
var g =
|
|
13
|
+
var g = s`
|
|
14
14
|
:host {
|
|
15
15
|
box-sizing: border-box;
|
|
16
16
|
}
|
|
@@ -278,32 +278,104 @@ function b(e) {
|
|
|
278
278
|
</div>
|
|
279
279
|
`;
|
|
280
280
|
}
|
|
281
|
-
// src/components/inputs/time-
|
|
282
|
-
var x =
|
|
283
|
-
|
|
284
|
-
fromMinutes: () => D,
|
|
285
|
-
toMinutes: () => E
|
|
286
|
-
}), S, C = 1439;
|
|
287
|
-
function w(e) {
|
|
288
|
-
return e.scrollHeight > e.clientHeight;
|
|
289
|
-
}
|
|
290
|
-
var T = typeof window < "u" && "onscrollend" in window;
|
|
291
|
-
function E(e) {
|
|
281
|
+
// src/components/inputs/time-field/time-field.times.ts
|
|
282
|
+
var x = 1439;
|
|
283
|
+
function S(e) {
|
|
292
284
|
let [t, n] = e.split(":");
|
|
293
285
|
return Number(t) * 60 + Number(n);
|
|
294
286
|
}
|
|
295
|
-
function
|
|
296
|
-
|
|
287
|
+
function C(e) {
|
|
288
|
+
let t = Math.floor(e / 60), n = e % 60;
|
|
289
|
+
return `${String(t).padStart(2, "0")}:${String(n).padStart(2, "0")}`;
|
|
290
|
+
}
|
|
291
|
+
function w(e, t) {
|
|
292
|
+
return e < 0 || e > 23 || t < 0 || t > 59 ? null : C(e * 60 + t);
|
|
293
|
+
}
|
|
294
|
+
function T(e) {
|
|
295
|
+
let t = e.trim();
|
|
296
|
+
if (t === "") return null;
|
|
297
|
+
let n = /^(\d{1,2})\s*[uh]\s*(\d{1,2})?$/i.exec(t);
|
|
298
|
+
if (n) return w(Number(n[1]), Number(n[2] ?? 0));
|
|
299
|
+
let r = /^(\d{1,2})\s*[:.,]\s*(\d{1,2})$/.exec(t);
|
|
300
|
+
if (r) return w(Number(r[1]), Number(r[2]));
|
|
301
|
+
let i = /^\d{1,4}$/.exec(t);
|
|
302
|
+
if (i) {
|
|
303
|
+
let e = i[0];
|
|
304
|
+
if (e.length <= 2) return w(Number(e), 0);
|
|
305
|
+
let t = e.length === 3 ? 1 : 2;
|
|
306
|
+
return w(Number(e.slice(0, t)), Number(e.slice(t)));
|
|
307
|
+
}
|
|
308
|
+
return null;
|
|
309
|
+
}
|
|
310
|
+
function E(e, t, n = "00:00") {
|
|
311
|
+
if (t <= 1) return e;
|
|
312
|
+
let r = S(n), i = r + Math.floor((S(e) - r) / t + .5) * t;
|
|
313
|
+
for (; i > x;) i -= t;
|
|
314
|
+
for (; i < 0;) i += t;
|
|
315
|
+
return C(i);
|
|
316
|
+
}
|
|
317
|
+
function D(e, t, n) {
|
|
318
|
+
let r = T(e) ?? "";
|
|
319
|
+
return {
|
|
320
|
+
min: r,
|
|
321
|
+
max: T(t) ?? "",
|
|
322
|
+
step: Math.max(1, Math.round(n) || 1),
|
|
323
|
+
base: r || "00:00"
|
|
324
|
+
};
|
|
325
|
+
}
|
|
326
|
+
function O(e, t) {
|
|
327
|
+
return !(t.min && e < t.min || t.max && e > t.max);
|
|
328
|
+
}
|
|
329
|
+
function k(e, t, n) {
|
|
330
|
+
let r = T(e);
|
|
331
|
+
if (!r) return "";
|
|
332
|
+
let i = n ? E(r, t.step, t.base) : r;
|
|
333
|
+
return O(i, t) ? i : "";
|
|
297
334
|
}
|
|
298
|
-
function
|
|
335
|
+
function A(e, t) {
|
|
336
|
+
if (!e) return null;
|
|
337
|
+
let n = S(t.base);
|
|
338
|
+
return C(n + Math.max(0, Math.floor((S(e) - n) / t.step)) * t.step);
|
|
339
|
+
}
|
|
340
|
+
function j(e, t) {
|
|
341
|
+
if (e.min) return e.min;
|
|
342
|
+
let n = E(C(t.getHours() * 60 + t.getMinutes()), e.step, e.base);
|
|
343
|
+
return !e.max || n <= e.max ? n : A(e.max, e) ?? n;
|
|
344
|
+
}
|
|
345
|
+
function M(e, t, n) {
|
|
346
|
+
let { step: r } = n, i = S(n.base), a = S(E(e, r, n.base)), o = a === S(e) || r === 1 ? a + t * r : a, s = Math.min(Math.max(o, i % r), x), c = n.min ? S(n.min) : 0, l = n.max ? S(n.max) : x;
|
|
347
|
+
return C(Math.min(Math.max(s, c), l));
|
|
348
|
+
}
|
|
349
|
+
function N(e, t) {
|
|
350
|
+
if (!e.trim()) return null;
|
|
351
|
+
let n = T(e);
|
|
352
|
+
return n ? t.min && n < t.min ? {
|
|
353
|
+
flag: "rangeUnderflow",
|
|
354
|
+
bound: t.min
|
|
355
|
+
} : t.max && n > t.max ? {
|
|
356
|
+
flag: "rangeOverflow",
|
|
357
|
+
bound: t.max
|
|
358
|
+
} : null : { flag: "badInput" };
|
|
359
|
+
}
|
|
360
|
+
// src/components/inputs/time-picker/time-picker.ts
|
|
361
|
+
var P = /* @__PURE__ */ e({
|
|
362
|
+
NLDDTimePicker: () => B,
|
|
363
|
+
fromMinutes: () => C,
|
|
364
|
+
toMinutes: () => S
|
|
365
|
+
}), F, I = 1439;
|
|
366
|
+
function L(e) {
|
|
367
|
+
return e.scrollHeight > e.clientHeight;
|
|
368
|
+
}
|
|
369
|
+
var R = typeof window < "u" && "onscrollend" in window;
|
|
370
|
+
function z(e) {
|
|
299
371
|
return /^([01]\d|2[0-3]):[0-5]\d$/.test(e);
|
|
300
372
|
}
|
|
301
|
-
var
|
|
373
|
+
var B = (F = class extends f(t) {
|
|
302
374
|
constructor(...e) {
|
|
303
375
|
super(...e), this.value = "", this.min = "", this.max = "", this.step = 1, this.rows = 7, this.width = "", this.accessibleLabel = "", this.translations = {}, this._scrolledTo = {
|
|
304
376
|
hours: null,
|
|
305
377
|
minutes: null
|
|
306
|
-
}, this.invalid = !1, this._scrollTimers = {
|
|
378
|
+
}, this.invalid = !1, this._rulesFor = null, this._scrollTimers = {
|
|
307
379
|
hours: 0,
|
|
308
380
|
minutes: 0
|
|
309
381
|
}, this._chosenHere = !1, this._glides = /* @__PURE__ */ new Map(), this._placed = /* @__PURE__ */ new WeakMap(), this._takeOver = {
|
|
@@ -320,14 +392,21 @@ var k = (S = class extends f(t) {
|
|
|
320
392
|
get _label() {
|
|
321
393
|
return this.accessibleLabel || this._t("components.time-picker.default-label");
|
|
322
394
|
}
|
|
395
|
+
get _rules() {
|
|
396
|
+
let e = `${this.min}|${this.max}|${this.step}`;
|
|
397
|
+
return this._rulesFor?.key !== e && (this._rulesFor = {
|
|
398
|
+
key: e,
|
|
399
|
+
rules: D(this.min, this.max, this.step)
|
|
400
|
+
}), this._rulesFor.rules;
|
|
401
|
+
}
|
|
323
402
|
get _minMinutes() {
|
|
324
|
-
return
|
|
403
|
+
return this._rules.min ? S(this._rules.min) : 0;
|
|
325
404
|
}
|
|
326
405
|
get _maxMinutes() {
|
|
327
|
-
return
|
|
406
|
+
return this._rules.max ? S(this._rules.max) : I;
|
|
328
407
|
}
|
|
329
408
|
get _stepMinutes() {
|
|
330
|
-
return
|
|
409
|
+
return this._rules.step;
|
|
331
410
|
}
|
|
332
411
|
get _slots() {
|
|
333
412
|
let e = [];
|
|
@@ -342,8 +421,8 @@ var k = (S = class extends f(t) {
|
|
|
342
421
|
return this._slots.filter((t) => Math.floor(t / 60) === e).map((e) => e % 60);
|
|
343
422
|
}
|
|
344
423
|
get _selected() {
|
|
345
|
-
if (!
|
|
346
|
-
let e =
|
|
424
|
+
if (!z(this.value)) return null;
|
|
425
|
+
let e = S(this.value);
|
|
347
426
|
return e >= this._minMinutes && e <= this._maxMinutes ? e : null;
|
|
348
427
|
}
|
|
349
428
|
get _selectedHour() {
|
|
@@ -368,8 +447,8 @@ var k = (S = class extends f(t) {
|
|
|
368
447
|
i = e !== null && n.includes(t * 60 + e) ? t * 60 + e : n[0];
|
|
369
448
|
} else if (i = (this._selected === null ? this._hours[0] : Math.floor(this._selected / 60)) * 60 + t, !r.includes(i)) return;
|
|
370
449
|
n && this._cancelSettle();
|
|
371
|
-
let a =
|
|
372
|
-
this._chosenHere = a, this.value =
|
|
450
|
+
let a = C(i) !== this.value;
|
|
451
|
+
this._chosenHere = a, this.value = C(i), a ? this._emit("input") : n && (this._scrolledTo = {
|
|
373
452
|
hours: null,
|
|
374
453
|
minutes: null
|
|
375
454
|
}, this.scrollSelectedIntoView(!0)), n && this._emit("change");
|
|
@@ -427,22 +506,22 @@ var k = (S = class extends f(t) {
|
|
|
427
506
|
_handleScroll(e, t) {
|
|
428
507
|
if (!this.isConnected) return;
|
|
429
508
|
let n = e.currentTarget;
|
|
430
|
-
if (!
|
|
509
|
+
if (!L(n)) return;
|
|
431
510
|
let r = this._centeredOption(n);
|
|
432
511
|
r !== null && r !== this._scrolledTo[t] && (this._scrolledTo = {
|
|
433
512
|
...this._scrolledTo,
|
|
434
513
|
[t]: r
|
|
435
|
-
}), this._glides.has(n) || this._isOwnScroll(n) || (this.toggleAttribute("data-scrolling", !0), this._settleLater(t, n,
|
|
514
|
+
}), this._glides.has(n) || this._isOwnScroll(n) || (this.toggleAttribute("data-scrolling", !0), this._settleLater(t, n, R ? 1e3 : 120));
|
|
436
515
|
}
|
|
437
516
|
_handleScrollEnd(e, t) {
|
|
438
517
|
let n = e.currentTarget;
|
|
439
|
-
this.isConnected && !this._glides.has(n) && !this._isOwnScroll(n) &&
|
|
518
|
+
this.isConnected && !this._glides.has(n) && !this._isOwnScroll(n) && L(n) && this._settle(t, n);
|
|
440
519
|
}
|
|
441
520
|
_settleLater(e, t, n = 120) {
|
|
442
521
|
clearTimeout(this._scrollTimers[e]), this._scrollTimers[e] = window.setTimeout(() => this._settle(e, t), n);
|
|
443
522
|
}
|
|
444
523
|
_settle(e, t) {
|
|
445
|
-
if (clearTimeout(this._scrollTimers[e]), this.toggleAttribute("data-scrolling", !1), !
|
|
524
|
+
if (clearTimeout(this._scrollTimers[e]), this.toggleAttribute("data-scrolling", !1), !L(t)) return;
|
|
446
525
|
let n = this._centeredOption(t);
|
|
447
526
|
n !== null && this._select(e, n);
|
|
448
527
|
}
|
|
@@ -501,18 +580,18 @@ var k = (S = class extends f(t) {
|
|
|
501
580
|
render() {
|
|
502
581
|
return b(this);
|
|
503
582
|
}
|
|
504
|
-
},
|
|
505
|
-
i([
|
|
583
|
+
}, F.styles = g, F.isFormInput = !0, F);
|
|
584
|
+
i([o({ type: String })], B.prototype, "value", void 0), i([o({ type: String })], B.prototype, "min", void 0), i([o({ type: String })], B.prototype, "max", void 0), i([o({ type: Number })], B.prototype, "step", void 0), i([o({
|
|
506
585
|
reflect: !0,
|
|
507
586
|
converter: p(7)
|
|
508
|
-
})],
|
|
587
|
+
})], B.prototype, "rows", void 0), i([o({
|
|
509
588
|
reflect: !0,
|
|
510
589
|
converter: p("")
|
|
511
|
-
})],
|
|
590
|
+
})], B.prototype, "width", void 0), i([o({
|
|
512
591
|
type: String,
|
|
513
592
|
attribute: "accessible-label"
|
|
514
|
-
})],
|
|
593
|
+
})], B.prototype, "accessibleLabel", void 0), i([o({ type: Object })], B.prototype, "translations", void 0), i([a()], B.prototype, "_scrolledTo", void 0), i([o({
|
|
515
594
|
type: Boolean,
|
|
516
595
|
reflect: !0
|
|
517
|
-
})],
|
|
518
|
-
export {
|
|
596
|
+
})], B.prototype, "invalid", void 0), B = i([c("nldd-time-picker")], B);
|
|
597
|
+
export { D as a, j as c, T as i, N as n, E as o, k as r, M as s, P as t };
|
|
@@ -1,15 +1,15 @@
|
|
|
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 { c as i, n as a, r as o, s } from "./custom-element-D5bstafw.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-JiVlctXb.js";
|
|
9
|
+
import { n as g, r as _ } from "./static-html-7PckS8pf.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
|
-
var x =
|
|
12
|
+
var x = i(p.smMax), S = i(p.mdMin), C = i(p.mdMax), w = i(p.lgMin), T = s`
|
|
13
13
|
:host {
|
|
14
14
|
box-sizing: border-box;
|
|
15
15
|
}
|
|
@@ -439,29 +439,29 @@ var k = class extends e {
|
|
|
439
439
|
return O(this);
|
|
440
440
|
}
|
|
441
441
|
}, A = (k.styles = T, k);
|
|
442
|
-
r([
|
|
442
|
+
r([o({ reflect: !0 })], A.prototype, "size", void 0), r([o({
|
|
443
443
|
reflect: !0,
|
|
444
444
|
attribute: "sm-custom-size",
|
|
445
445
|
converter: f("")
|
|
446
|
-
})], A.prototype, "smCustomSize", void 0), r([
|
|
446
|
+
})], A.prototype, "smCustomSize", void 0), r([o({
|
|
447
447
|
reflect: !0,
|
|
448
448
|
attribute: "md-custom-size",
|
|
449
449
|
converter: f("")
|
|
450
|
-
})], A.prototype, "mdCustomSize", void 0), r([
|
|
450
|
+
})], A.prototype, "mdCustomSize", void 0), r([o({
|
|
451
451
|
reflect: !0,
|
|
452
452
|
attribute: "lg-custom-size",
|
|
453
453
|
converter: f("")
|
|
454
|
-
})], A.prototype, "lgCustomSize", void 0), r([
|
|
454
|
+
})], A.prototype, "lgCustomSize", void 0), r([o({
|
|
455
455
|
reflect: !0,
|
|
456
456
|
converter: f("")
|
|
457
|
-
})], A.prototype, "text", void 0), r([
|
|
457
|
+
})], A.prototype, "text", void 0), r([o({
|
|
458
458
|
reflect: !0,
|
|
459
459
|
attribute: "supporting-text",
|
|
460
460
|
converter: f("")
|
|
461
|
-
})], A.prototype, "supportingText", void 0), r([
|
|
461
|
+
})], A.prototype, "supportingText", void 0), r([o({
|
|
462
462
|
reflect: !0,
|
|
463
463
|
converter: f("")
|
|
464
|
-
})], A.prototype, "overline", void 0), r([
|
|
464
|
+
})], A.prototype, "overline", void 0), r([o({
|
|
465
465
|
type: Number,
|
|
466
466
|
reflect: !0,
|
|
467
467
|
attribute: "heading-level"
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./decorate-
|
|
2
|
-
import {
|
|
1
|
+
import { n as e, r as t, t as n } from "./decorate-Cjb3GqlZ.js";
|
|
2
|
+
import { n as r, 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 "./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-cLWXCdFC.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-JiVlctXb.js";
|
|
9
|
+
import { n as m, r as h } from "./static-html-7PckS8pf.js";
|
|
10
|
+
import { n as g } from "./render-marked-1xftlCd8.js";
|
|
11
|
+
import { t as _ } from "./visibility-mixin-OjALtpXa.js";
|
|
12
|
+
import { t as v } from "./row-header-mixin-vwABKkTO.js";
|
|
13
13
|
// src/components/lists-and-tables/cells/title-cell/title-cell.styles.ts
|
|
14
|
-
var y =
|
|
14
|
+
var y = a`
|
|
15
15
|
:host {
|
|
16
16
|
box-sizing: border-box;
|
|
17
17
|
}
|
|
@@ -288,50 +288,50 @@ var w = function() {
|
|
|
288
288
|
return w.call(this);
|
|
289
289
|
}
|
|
290
290
|
}, E = (T.styles = [y], T);
|
|
291
|
-
n([
|
|
291
|
+
n([i({ reflect: !0 })], E.prototype, "size", void 0), n([i({
|
|
292
292
|
reflect: !0,
|
|
293
293
|
converter: d("content")
|
|
294
|
-
})], E.prototype, "color", void 0), n([
|
|
294
|
+
})], E.prototype, "color", void 0), n([i({
|
|
295
295
|
reflect: !0,
|
|
296
296
|
converter: d("full")
|
|
297
|
-
})], E.prototype, "width", void 0), n([
|
|
297
|
+
})], E.prototype, "width", void 0), n([i({
|
|
298
298
|
type: String,
|
|
299
299
|
reflect: !0,
|
|
300
300
|
attribute: "min-width"
|
|
301
|
-
})], E.prototype, "minWidth", void 0), n([
|
|
301
|
+
})], E.prototype, "minWidth", void 0), n([i({
|
|
302
302
|
type: String,
|
|
303
303
|
reflect: !0,
|
|
304
304
|
attribute: "max-width"
|
|
305
|
-
})], E.prototype, "maxWidth", void 0), n([
|
|
305
|
+
})], E.prototype, "maxWidth", void 0), n([i({
|
|
306
306
|
type: String,
|
|
307
307
|
reflect: !0,
|
|
308
308
|
attribute: "min-height"
|
|
309
|
-
})], E.prototype, "minHeight", void 0), n([
|
|
309
|
+
})], E.prototype, "minHeight", void 0), n([i({
|
|
310
310
|
reflect: !0,
|
|
311
311
|
attribute: "horizontal-alignment",
|
|
312
312
|
converter: d("left")
|
|
313
|
-
})], E.prototype, "horizontalAlignment", void 0), n([
|
|
313
|
+
})], E.prototype, "horizontalAlignment", void 0), n([i({
|
|
314
314
|
reflect: !0,
|
|
315
315
|
attribute: "vertical-alignment",
|
|
316
316
|
converter: d("center")
|
|
317
|
-
})], E.prototype, "verticalAlignment", void 0), n([
|
|
317
|
+
})], E.prototype, "verticalAlignment", void 0), n([i({
|
|
318
318
|
reflect: !0,
|
|
319
319
|
converter: d("")
|
|
320
|
-
})], E.prototype, "text", void 0), n([
|
|
320
|
+
})], E.prototype, "text", void 0), n([i({
|
|
321
321
|
reflect: !0,
|
|
322
322
|
attribute: "supporting-text",
|
|
323
323
|
converter: d("")
|
|
324
|
-
})], E.prototype, "supportingText", void 0), n([
|
|
324
|
+
})], E.prototype, "supportingText", void 0), n([i({
|
|
325
325
|
reflect: !0,
|
|
326
326
|
converter: d("")
|
|
327
|
-
})], E.prototype, "overline", void 0), n([
|
|
327
|
+
})], E.prototype, "overline", void 0), n([i({
|
|
328
328
|
type: Number,
|
|
329
329
|
attribute: "heading-level"
|
|
330
|
-
})], E.prototype, "headingLevel", void 0), n([
|
|
330
|
+
})], E.prototype, "headingLevel", void 0), n([i({
|
|
331
331
|
reflect: !0,
|
|
332
332
|
converter: d("")
|
|
333
|
-
})], E.prototype, "query", void 0), n([
|
|
333
|
+
})], E.prototype, "query", void 0), n([i({
|
|
334
334
|
type: String,
|
|
335
335
|
attribute: "query-mark-mode"
|
|
336
|
-
})], E.prototype, "queryMarkMode", void 0), n([
|
|
336
|
+
})], E.prototype, "queryMarkMode", void 0), n([r()], E.prototype, "_hasOverlineSlotted", void 0), n([r()], E.prototype, "_hasDefaultSlotted", void 0), n([r()], E.prototype, "_hasSupportingTextSlotted", void 0), E = n([o("nldd-title-cell")], E);
|
|
337
337
|
export { E as NLDDTitleCell };
|
|
@@ -1,19 +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 { 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 { t as c } from "./form-associated-mixin-
|
|
4
|
+
import { t as c } from "./form-associated-mixin-BCzChLUO.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-JiVlctXb.js";
|
|
9
|
+
import { i as p, n as m, r as h } from "./keyboard-shortcut-4DPqQovv.js";
|
|
10
|
+
import "./tooltip-CkLC4ooQ.js";
|
|
11
|
+
import "./icon-m8JXbN5F.js";
|
|
12
|
+
import { t as g } from "./described-by-mixin-ZWpyWEyB.js";
|
|
13
13
|
import { t as _ } from "./defer-focus-F73ud2D9.js";
|
|
14
|
-
import { t as v } from "./interest-
|
|
14
|
+
import { t as v } from "./interest-invoker-BY95Duqo.js";
|
|
15
|
+
import { t as y } from "./choice-group-AZsqoheP.js";
|
|
15
16
|
// src/components/inputs/toggle-button/toggle-button.styles.ts
|
|
16
|
-
var
|
|
17
|
+
var b = o`
|
|
17
18
|
:host {
|
|
18
19
|
box-sizing: border-box;
|
|
19
20
|
}
|
|
@@ -321,7 +322,7 @@ var y = i`
|
|
|
321
322
|
|
|
322
323
|
`;
|
|
323
324
|
// src/components/inputs/toggle-button/toggle-button.template.ts
|
|
324
|
-
function
|
|
325
|
+
function x(e) {
|
|
325
326
|
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
|
|
326
327
|
name="icon"
|
|
327
328
|
@slotchange=${e.requestUpdate}
|
|
@@ -385,9 +386,9 @@ function b(e) {
|
|
|
385
386
|
` : t`${m}${g}`;
|
|
386
387
|
}
|
|
387
388
|
// src/components/inputs/toggle-button/toggle-button.ts
|
|
388
|
-
var
|
|
389
|
+
var S = class extends g(c(e)) {
|
|
389
390
|
constructor(...e) {
|
|
390
|
-
super(...e), this.required = !1, this.
|
|
391
|
+
super(...e), this.required = !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
392
|
if (this.type !== "radio") return;
|
|
392
393
|
let t = this._interest.overlay;
|
|
393
394
|
t && e.composedPath().includes(t) || this.toggle();
|
|
@@ -404,11 +405,8 @@ var x = class extends g(c(e)) {
|
|
|
404
405
|
let e = this.shadowRoot?.querySelector("slot[name=\"icon\"]");
|
|
405
406
|
return e && e.assignedElements().length > 0 ? !0 : this.querySelector(":scope > [slot=\"icon\"]") !== null;
|
|
406
407
|
}
|
|
407
|
-
firstUpdated() {
|
|
408
|
-
this._initialSelected = this.selected;
|
|
409
|
-
}
|
|
410
408
|
willUpdate(e) {
|
|
411
|
-
super.willUpdate(e), this.hasUpdated && (e.has("selected") || e.has("disabled")) &&
|
|
409
|
+
super.willUpdate(e), this.hasUpdated && (e.has("selected") || e.has("disabled")) && y.of(this)?.optionChanged(this);
|
|
412
410
|
}
|
|
413
411
|
updated(e) {
|
|
414
412
|
e.has("interestfor") && this._interest.refresh(), (e.has("selected") || e.has("value") || e.has("type")) && this.commitFormValue(), this._syncRadioAria();
|
|
@@ -437,12 +435,6 @@ var x = class extends g(c(e)) {
|
|
|
437
435
|
formValue() {
|
|
438
436
|
return (this.type === "checkbox" || this.type === "radio") && this.selected ? this.value : null;
|
|
439
437
|
}
|
|
440
|
-
formResetCallback() {
|
|
441
|
-
this.selected = this._initialSelected;
|
|
442
|
-
}
|
|
443
|
-
formStateRestoreCallback(e) {
|
|
444
|
-
this.selected = e !== null;
|
|
445
|
-
}
|
|
446
438
|
connectedCallback() {
|
|
447
439
|
super.connectedCallback(), this.addEventListener("click", this._onRadioClick), this.addEventListener("keydown", this._onRadioKeyDown), this.addEventListener("focus", this._onRadioFocus), this.addEventListener("blur", this._onRadioBlur);
|
|
448
440
|
}
|
|
@@ -463,15 +455,10 @@ var x = class extends g(c(e)) {
|
|
|
463
455
|
this.selected = !this.selected, this._dispatchChange() || (this.selected = !this.selected, this.commitFormValue());
|
|
464
456
|
}
|
|
465
457
|
_dispatchChange() {
|
|
466
|
-
return this.
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
},
|
|
471
|
-
bubbles: !0,
|
|
472
|
-
composed: !0,
|
|
473
|
-
cancelable: this.type !== "radio"
|
|
474
|
-
}));
|
|
458
|
+
return this.emitFormEvent("change", {
|
|
459
|
+
selected: this.selected,
|
|
460
|
+
value: this.value
|
|
461
|
+
}, { cancelable: this.type !== "radio" });
|
|
475
462
|
}
|
|
476
463
|
toggle() {
|
|
477
464
|
this.disabled || this.type === "radio" && this.selected || this._toggle();
|
|
@@ -486,67 +473,67 @@ var x = class extends g(c(e)) {
|
|
|
486
473
|
return this._interest.overlay ? [this._interest.overlay] : [];
|
|
487
474
|
}
|
|
488
475
|
render() {
|
|
489
|
-
return
|
|
476
|
+
return x(this);
|
|
490
477
|
}
|
|
491
|
-
},
|
|
492
|
-
r([
|
|
478
|
+
}, C = (S.styles = b, S.formProperties = ["selected"], S.isFormInput = !0, S);
|
|
479
|
+
r([a({
|
|
493
480
|
type: Boolean,
|
|
494
481
|
reflect: !0
|
|
495
|
-
})],
|
|
482
|
+
})], C.prototype, "required", void 0), r([a({
|
|
496
483
|
reflect: !0,
|
|
497
484
|
converter: l("button")
|
|
498
|
-
})],
|
|
485
|
+
})], C.prototype, "type", void 0), r([a({
|
|
499
486
|
reflect: !0,
|
|
500
487
|
converter: l("neutral-tinted")
|
|
501
|
-
})],
|
|
488
|
+
})], C.prototype, "appearance", void 0), r([a({
|
|
502
489
|
reflect: !0,
|
|
503
490
|
converter: l("md")
|
|
504
|
-
})],
|
|
491
|
+
})], C.prototype, "size", void 0), r([a({
|
|
505
492
|
type: Boolean,
|
|
506
493
|
reflect: !0
|
|
507
|
-
})],
|
|
494
|
+
})], C.prototype, "selected", void 0), r([a({
|
|
508
495
|
type: Boolean,
|
|
509
496
|
reflect: !0
|
|
510
|
-
})],
|
|
497
|
+
})], C.prototype, "disabled", void 0), r([a({
|
|
511
498
|
type: Boolean,
|
|
512
499
|
reflect: !0,
|
|
513
500
|
attribute: "no-tab"
|
|
514
|
-
})],
|
|
501
|
+
})], C.prototype, "noTab", void 0), r([a({ type: String })], C.prototype, "value", void 0), r([a({
|
|
515
502
|
reflect: !0,
|
|
516
503
|
converter: l("")
|
|
517
|
-
})],
|
|
504
|
+
})], C.prototype, "name", void 0), r([a({
|
|
518
505
|
reflect: !0,
|
|
519
506
|
converter: l("")
|
|
520
|
-
})],
|
|
507
|
+
})], C.prototype, "text", void 0), r([a({ type: String })], C.prototype, "icon", void 0), r([a({
|
|
521
508
|
reflect: !0,
|
|
522
509
|
attribute: "selected-icon",
|
|
523
510
|
converter: l("")
|
|
524
|
-
})],
|
|
511
|
+
})], C.prototype, "selectedIcon", void 0), r([a({
|
|
525
512
|
reflect: !0,
|
|
526
513
|
converter: l("")
|
|
527
|
-
})],
|
|
514
|
+
})], C.prototype, "variant", void 0), r([a({
|
|
528
515
|
type: String,
|
|
529
516
|
attribute: "accessible-label"
|
|
530
|
-
})],
|
|
517
|
+
})], C.prototype, "accessibleLabel", void 0), r([a({
|
|
531
518
|
type: String,
|
|
532
519
|
reflect: !0
|
|
533
|
-
})],
|
|
520
|
+
})], C.prototype, "interestfor", void 0), r([a({
|
|
534
521
|
reflect: !0,
|
|
535
522
|
converter: l("")
|
|
536
|
-
})],
|
|
523
|
+
})], C.prototype, "shortcut", void 0), r([a({
|
|
537
524
|
reflect: !0,
|
|
538
525
|
attribute: "shortcut-mac",
|
|
539
526
|
converter: l("")
|
|
540
|
-
})],
|
|
527
|
+
})], C.prototype, "shortcutMac", void 0), r([a({
|
|
541
528
|
reflect: !0,
|
|
542
529
|
attribute: "shortcut-windows",
|
|
543
530
|
converter: l("")
|
|
544
|
-
})],
|
|
531
|
+
})], C.prototype, "shortcutWindows", void 0), r([a({
|
|
545
532
|
reflect: !0,
|
|
546
533
|
attribute: "shortcut-linux",
|
|
547
534
|
converter: l("")
|
|
548
|
-
})],
|
|
535
|
+
})], C.prototype, "shortcutLinux", void 0), r([a({
|
|
549
536
|
type: Boolean,
|
|
550
537
|
reflect: !0
|
|
551
|
-
})],
|
|
552
|
-
export {
|
|
538
|
+
})], C.prototype, "invalid", void 0), r([i()], C.prototype, "_groupPosition", void 0), r([i()], C.prototype, "_groupHasSelection", void 0), C = r([s("nldd-toggle-button")], C);
|
|
539
|
+
export { C as NLDDToggleButton };
|