@nldd/design-system 0.26.1 → 0.26.3
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/README.md +7 -7
- package/custom-elements.json +5615 -1321
- package/dist/cdn/autoloader.js +141 -141
- package/dist/cdn/chunks/{accordion-item-Ca1o93cq.js → accordion-item-BXEHwzcv.js} +7 -7
- package/dist/cdn/chunks/{accordion-DA4IlxS5.js → accordion-qXirmNBj.js} +6 -6
- package/dist/cdn/chunks/{activity-indicator-Cj4H0Mbz.js → activity-indicator-DP61AhsJ.js} +13 -13
- package/dist/cdn/chunks/{admonition-CdZSoO8O.js → admonition-RnRSNAri.js} +11 -11
- package/dist/cdn/chunks/{avatar-Dhqn-Dmv.js → avatar-DsexiOhH.js} +18 -18
- package/dist/cdn/chunks/{avatar-group-B017eF-u.js → avatar-group-BrfrpXvd.js} +42 -40
- package/dist/cdn/chunks/{badge-Bep5B0_g.js → badge-BiQFOq2l.js} +15 -15
- package/dist/cdn/chunks/{banner-DGpIXuE2.js → banner-42zIYAEN.js} +16 -16
- package/dist/cdn/chunks/{bar-split-view-CKwJxd3e.js → bar-split-view-CjYEp276.js} +8 -8
- package/dist/cdn/chunks/{blockquote-ChMgaOuI.js → blockquote-qf4hJYvm.js} +8 -8
- package/dist/cdn/chunks/{box-BRmziG-6.js → box-CWyg7sbR.js} +5 -5
- package/dist/cdn/chunks/{breadcrumbs-BeVO8bkQ.js → breadcrumbs-BaHjYdz8.js} +13 -13
- package/dist/cdn/chunks/{button-cHBkq_s7.js → button-CKV-jwGY.js} +53 -54
- package/dist/cdn/chunks/{button-bar-CLxOdalJ.js → button-bar-DeJ81759.js} +8 -8
- package/dist/cdn/chunks/{button-group-BIvKtEIX.js → button-group-CuRkiHR5.js} +6 -6
- package/dist/cdn/chunks/{card-B5gp9Zly.js → card-DxeUNE3V.js} +10 -10
- package/dist/cdn/chunks/{cell-D4Nrd5Z9.js → cell-QaG8b-Qk.js} +13 -13
- package/dist/cdn/chunks/{checkbox-CeLTJhAc.js → checkbox-V0YerUKf.js} +26 -43
- package/dist/cdn/chunks/{checkbox-field-C8cU8fuf.js → checkbox-field-DeySECgv.js} +35 -43
- package/dist/cdn/chunks/checkbox-group-DFNy1y-A.js +91 -0
- package/dist/cdn/chunks/choice-group-AZsqoheP.js +64 -0
- package/dist/cdn/chunks/{class-map-xzscTu4B.js → class-map-CmgI2Tu-.js} +1 -1
- package/dist/cdn/chunks/{code-editor-BNhlXTSl.js → code-editor-BBMbUJ4d.js} +11 -11
- package/dist/cdn/chunks/{code-viewer-D_JwouYO.js → code-viewer-B8jse0-5.js} +25 -28
- package/dist/cdn/chunks/{codemirror-input-DJ0wgYrc.js → codemirror-input-BEotDTtZ.js} +5 -5
- package/dist/cdn/chunks/{collection-BXvz_OtU.js → collection-DRoS7Ona.js} +19 -19
- package/dist/cdn/chunks/{combo-box-8kbmoStb.js → combo-box-DA1ZQJJS.js} +69 -87
- package/dist/cdn/chunks/{container-Dq-2uHd5.js → container-F1i2pmko.js} +48 -48
- package/dist/cdn/chunks/{custom-element-DeaCQ2NP.js → custom-element-DD4ffKRs.js} +2 -2
- package/dist/cdn/chunks/{date-field-CQg1_73u.js → date-field-DVgisQnm.js} +33 -40
- package/dist/cdn/chunks/{date-picker-CTMxGOiA.js → date-picker-BaDTota3.js} +17 -17
- package/dist/cdn/chunks/{decorate-CCYde2ES.js → decorate-CeGXihRM.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-qFatR9dF.js} +2 -2
- package/dist/cdn/chunks/{description-cell-GcVeCz2_.js → description-cell-D45N4P1X.js} +12 -12
- package/dist/cdn/chunks/{dev-checks-CSlbfDuF.js → dev-checks-CkCD0tPh.js} +972 -922
- package/dist/cdn/chunks/{directive-helpers-DgaADFyY.js → directive-helpers-B9pcQxsE.js} +1 -1
- package/dist/cdn/chunks/{dist-CyDpBAaD.js → dist-BS_pQgb6.js} +2 -2
- package/dist/cdn/chunks/{dist-D4SViUJx.js → dist-Cl-rXzh7.js} +1 -1
- package/dist/cdn/chunks/{dist-1OQdP4ho.js → dist-DJQUgOKW.js} +3 -3
- package/dist/cdn/chunks/{dist-VCymi0hs.js → dist-DjlGttcc.js} +1 -1
- package/dist/cdn/chunks/{dist-DBxjWahH.js → dist-Dsyc1RGG.js} +1 -1
- package/dist/cdn/chunks/{dist-CcpLhc4y.js → dist-jTL_Kil1.js} +1 -1
- package/dist/cdn/chunks/{dist-B23jHvJ5.js → dist-mxb0NzAU.js} +1 -1
- package/dist/cdn/chunks/{dist-DLtwMUDc.js → dist-n8aCu6Kg.js} +2 -2
- package/dist/cdn/chunks/{dist-CNy2sPTt.js → dist-rjQNj-KZ.js} +2 -2
- package/dist/cdn/chunks/{dist-5vPsM2aV.js → dist-v62GtoI6.js} +1 -1
- package/dist/cdn/chunks/{dist-Da_liXcd.js → dist-v7yvd26H.js} +3 -3
- package/dist/cdn/chunks/{divider-8XD3xTbl.js → divider-CtMx3Byp.js} +2 -2
- package/dist/cdn/chunks/{document-tab-bar-RBAmckHS.js → document-tab-bar-SKSf69FX.js} +42 -53
- package/dist/cdn/chunks/{dropdown-DVlxPcjr.js → dropdown-se1zjYlw.js} +14 -14
- package/dist/cdn/chunks/{file-field-BrHnFplX.js → file-field-DW_Xt5O3.js} +42 -40
- package/dist/cdn/chunks/{floating-ui.dom-BvAAdCVe.js → floating-ui.dom-CB34tcZx.js} +1 -1
- package/dist/cdn/chunks/{form-DGHeGEIr.js → form-C9-eW3zc.js} +1 -1
- package/dist/cdn/chunks/{form-actions-CHwWKfMM.js → form-actions-Cy5tH1nk.js} +4 -4
- package/dist/cdn/chunks/form-associated-mixin-CA0F9CPx.js +123 -0
- package/dist/cdn/chunks/{form-field-CdTSI-8h.js → form-field-BMWm8VGS.js} +55 -11
- package/dist/cdn/chunks/{form-section-CjECOIiZ.js → form-section-DrrXc4wZ.js} +1 -1
- package/dist/cdn/chunks/{full-bleed-section-CQgq4iGQ.js → full-bleed-section-6QL0av4x.js} +5 -5
- package/dist/cdn/chunks/{hero-DhdcYt2N.js → hero-BThWV3MR.js} +19 -19
- package/dist/cdn/chunks/{icon-qpmEfU9B.js → icon-CVM6X_F1.js} +8 -8
- package/dist/cdn/chunks/{icon-button-DT_Bi4Ac.js → icon-button-h_sEz0Ia.js} +41 -38
- package/dist/cdn/chunks/{icon-cell-C-qrZAlN.js → icon-cell-C3Ygercd.js} +10 -10
- package/dist/cdn/chunks/{identity-DFmvuPkl.js → identity-BR0KxjM5.js} +12 -12
- package/dist/cdn/chunks/{if-defined-BINBE69I.js → if-defined-CvQli6P0.js} +1 -1
- package/dist/cdn/chunks/{image-B4M3h1xJ.js → image-D8H73DIj.js} +21 -21
- package/dist/cdn/chunks/{inline-dialog-L-NvjANF.js → inline-dialog-Dlu3bneh.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-CfOJaqZQ.js} +28 -38
- package/dist/cdn/chunks/{just-in-time-education-CWplH4r9.js → just-in-time-education-DG0teV5g.js} +14 -14
- package/dist/cdn/chunks/{kanban-B6Wa-2aM.js → kanban-MNLyqki_.js} +25 -29
- package/dist/cdn/chunks/{kanban-column-D2-Xq79_.js → kanban-column-CGF_4Q0N.js} +10 -10
- package/dist/cdn/chunks/{keyboard-shortcut-Ci95olxF.js → keyboard-shortcut-DZDtndhS.js} +13 -13
- package/dist/cdn/chunks/{languages-C9AGuuSS.js → languages-BCn4J5Ck.js} +12 -12
- package/dist/cdn/chunks/{link-BJB2a_fG.js → link-CTj3dTmJ.js} +18 -18
- package/dist/cdn/chunks/{link-group-aNoedLZo.js → link-group--C486tYV.js} +7 -7
- package/dist/cdn/chunks/{list-CZWX62tH.js → list-DApLHKj-.js} +110 -95
- package/dist/cdn/chunks/{list-item-DHzsbK_S.js → list-item-BN9uuvXr.js} +50 -29
- package/dist/cdn/chunks/{list-item-segment-CHLlU9Gg.js → list-item-segment-CvdZT9Ni.js} +23 -20
- package/dist/cdn/chunks/{menu-NGpB1SKq.js → menu-2-9LtMLY.js} +113 -101
- package/dist/cdn/chunks/{menu-bar-CJazkmY7.js → menu-bar-g-O3_TNl.js} +59 -60
- package/dist/cdn/chunks/{menu-bar-item-CSqXWNKE.js → menu-bar-item-tOFEx-lS.js} +35 -35
- package/dist/cdn/chunks/{menu-divider-Cn1hTpcM.js → menu-divider-Dmv0lMHV.js} +3 -3
- package/dist/cdn/chunks/{menu-group-C71K1Vmv.js → menu-group-Ci9QUUwZ.js} +4 -4
- package/dist/cdn/chunks/{menu-item-TqBlQfI2.js → menu-item-BnIbV4yo.js} +4 -4
- package/dist/cdn/chunks/{menu.template-DthELYky.js → menu.template-sPjaMfc8.js} +4 -4
- package/dist/cdn/chunks/{modal-dialog-0V2HsrJC.js → modal-dialog-D-jAbabe.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-uBZqAdr6.js} +28 -45
- package/dist/cdn/chunks/{navigation-split-view-tPhkxEVD.js → navigation-split-view-DARbBPq-.js} +10 -10
- package/dist/cdn/chunks/{notification-CZccv6qx.js → notification-CntIGoYh.js} +12 -12
- package/dist/cdn/chunks/{number-field-4R2blHda.js → number-field-C0MTabLP.js} +26 -32
- package/dist/cdn/chunks/{one-half-one-half-section-h2fLPQfP.js → one-half-one-half-section-DYzf6LtU.js} +6 -6
- package/dist/cdn/chunks/{one-third-two-thirds-section-mqUAH5lK.js → one-third-two-thirds-section-AAiaxCHH.js} +6 -6
- package/dist/cdn/chunks/{one-time-code-field-Bf_qymKd.js → one-time-code-field-CCILuCy1.js} +25 -38
- package/dist/cdn/chunks/overflow-menu-DFoh3xL_.js +83 -0
- package/dist/cdn/chunks/overlay-invoker-Dj6MQAtF.js +97 -0
- package/dist/cdn/chunks/{page-Kipfvmi6.js → page-BDXLREou.js} +41 -19
- package/dist/cdn/chunks/{page-footer-DxE966Oe.js → page-footer-BsVMZCXs.js} +13 -13
- package/dist/cdn/chunks/{page-section-mixin-DpF9JDpd.js → page-section-mixin-L0bl3wCm.js} +21 -21
- package/dist/cdn/chunks/{pagination-DUFFhaU8.js → pagination-DLwbSZdO.js} +13 -13
- package/dist/cdn/chunks/{password-field-DdYAVmF3.js → password-field-DKTJgEyb.js} +28 -45
- package/dist/cdn/chunks/{popover-CRHxyhGx.js → popover-RB7uLASo.js} +66 -65
- package/dist/cdn/chunks/{progress-bar-BuYsjmSo.js → progress-bar-DnXWbmiw.js} +26 -26
- package/dist/cdn/chunks/{progress-circle-Cvu1bfNG.js → progress-circle-S89MUtU8.js} +24 -24
- package/dist/cdn/chunks/{radio-button-B_4AxWDx.js → radio-button-B31lAjlk.js} +17 -26
- package/dist/cdn/chunks/{radio-button-field-D7jIg6Oi.js → radio-button-field-BF4MHiOQ.js} +29 -37
- package/dist/cdn/chunks/radio-button-group-BQUqV8wJ.js +112 -0
- package/dist/cdn/chunks/{render-marked-CIuiSS_8.js → render-marked-ChJNzktf.js} +1 -1
- package/dist/cdn/chunks/{reorder-handle-cell-DNPaZjSC.js → reorder-handle-cell-SEERkeh7.js} +7 -7
- package/dist/cdn/chunks/{reorder-handle-mixin-CgvWq4fF.js → reorder-handle-mixin-tWe9XTjZ.js} +2 -2
- package/dist/cdn/chunks/{repeat-DfVuWl6o.js → repeat-CdCK17GF.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-vVWOndD2.js} +3 -3
- package/dist/cdn/chunks/{row-header-mixin-B25JK2B3.js → row-header-mixin-6MoJ5Mjq.js} +2 -2
- package/dist/cdn/chunks/{scroll-fade-Dv57rTww.js → scroll-fade-Cr7_IXpU.js} +4 -4
- package/dist/cdn/chunks/{search-field-hmD_DXbG.js → search-field-C9urWH_J.js} +33 -58
- package/dist/cdn/chunks/{segmented-control-e8e-jYSw.js → segmented-control-DkILAMOJ.js} +92 -103
- package/dist/cdn/chunks/{shadow-resets-CRdvf-Ei.js → shadow-resets-9v6K-Fie.js} +2 -2
- package/dist/cdn/chunks/{sheet-D09y3J45.js → sheet-D89xI-KY.js} +40 -90
- package/dist/cdn/chunks/{shell-CV3gooGg.js → shell-CFmfUD0_.js} +5 -5
- package/dist/cdn/chunks/{side-by-side-split-view-Ckz1C9zk.js → side-by-side-split-view-ir9c0mwZ.js} +8 -8
- package/dist/cdn/chunks/{sidebar-section-CdyD-x4t.js → sidebar-section-BhJXels3.js} +14 -14
- package/dist/cdn/chunks/{simple-section-CEf38rBZ.js → simple-section-CMoYuLYV.js} +7 -7
- package/dist/cdn/chunks/{skip-link-DMRhATWw.js → skip-link-rUQq0D-l.js} +7 -7
- package/dist/cdn/chunks/{slider-Db3FPiP6.js → slider-CIQqjKUo.js} +30 -37
- package/dist/cdn/chunks/{spacer-BPFIYueo.js → spacer-CD85egxE.js} +8 -8
- package/dist/cdn/chunks/{spacer-cell-kITa3CDV.js → spacer-cell-B33mGdru.js} +6 -6
- package/dist/cdn/chunks/{split-button-CJs9-Nha.js → split-button-COL7r-wa.js} +21 -21
- package/dist/cdn/chunks/{split-view-divider-lHlM1Ss8.js → split-view-divider-DVBuBzeO.js} +5 -5
- package/dist/cdn/chunks/{split-view-pane-DlsbZtyo.js → split-view-pane-CSvIzeBg.js} +7 -7
- package/dist/cdn/chunks/{stacked-split-view-uRSVhrMd.js → stacked-split-view-onSk2QEi.js} +8 -8
- package/dist/cdn/chunks/{static-html-BahSPV_4.js → static-html-Cyhp44gp.js} +1 -1
- package/dist/cdn/chunks/{status-bar-DCJLVpsW.js → status-bar-CjYXOQAX.js} +8 -8
- package/dist/cdn/chunks/{step-bar-CRR2jiyo.js → step-bar-D-To0TEw.js} +18 -18
- package/dist/cdn/chunks/{step-cell-CbtKxJNJ.js → step-cell-B7sVGixc.js} +15 -15
- package/dist/cdn/chunks/{stepper-Con1_CnB.js → stepper-h6boMOhz.js} +16 -26
- package/dist/cdn/chunks/{style-map-uOwLerwV.js → style-map-BrdTV34-.js} +1 -1
- package/dist/cdn/chunks/{swatch-picker-Bqn0eaC9.js → swatch-picker-gQ3m3y9U.js} +63 -69
- package/dist/cdn/chunks/{switch-CMQcLEBJ.js → switch-DC-BTi9E.js} +25 -42
- package/dist/cdn/chunks/{switch-field-D9kWq4Kw.js → switch-field-D82mLobj.js} +19 -32
- package/dist/cdn/chunks/{tab-bar-DXzyZI3V.js → tab-bar-sKiFzvfj.js} +34 -29
- package/dist/cdn/chunks/{table-CWACLpHx.js → table-CuxZfCZD.js} +15 -15
- package/dist/cdn/chunks/{tag-Bo4yJbtF.js → tag-DP_ome5l.js} +11 -11
- package/dist/cdn/chunks/{term-CQ379ZbN.js → term-BdiTV-Jk.js} +42 -39
- package/dist/cdn/chunks/{text-D-dFoj6N.js → text-C-b1ygHI.js} +29 -29
- package/dist/cdn/chunks/{text-cell-Be1hStxp.js → text-cell-DfRh7JqZ.js} +23 -23
- package/dist/cdn/chunks/{text-editor-BjzQEBWm.js → text-editor-DuT9Rrpv.js} +12 -12
- package/dist/cdn/chunks/{text-field-DA8nirp6.js → text-field-kAbXzkUj.js} +28 -45
- package/dist/cdn/chunks/{time-field-Dd_TxJuf.js → time-field-DUz9ifmn.js} +65 -153
- package/dist/cdn/chunks/{time-picker-B0-rv1qp.js → time-picker-DGOKwC9T.js} +119 -40
- package/dist/cdn/chunks/{title-DOoPdG_i.js → title-BA-SUyAq.js} +12 -12
- package/dist/cdn/chunks/{title-cell-BzCNOMGr.js → title-cell-Cu5NFNUu.js} +23 -23
- package/dist/cdn/chunks/{toggle-button-9PbDHviQ.js → toggle-button-J6UapeqB.js} +41 -54
- package/dist/cdn/chunks/{toggle-button-group-C-H-xp0M.js → toggle-button-group-wrps-tL9.js} +40 -54
- package/dist/cdn/chunks/{token-CMKFC3gz.js → token-DJkyJz-k.js} +32 -35
- package/dist/cdn/chunks/{token-field-D4-XHfnG.js → token-field-SiBFPD8-.js} +67 -57
- package/dist/cdn/chunks/{toolbar-z9OhEE5l.js → toolbar-be8hoSAz.js} +34 -78
- package/dist/cdn/chunks/{toolbar-item-ZYoyKOyy.js → toolbar-item-DPizdgYi.js} +3 -3
- package/dist/cdn/chunks/{toolbar-title-FKtQ8ZC4.js → toolbar-title-CB4IJFGv.js} +4 -4
- package/dist/cdn/chunks/{toolbar.styles-DDjpdCHV.js → toolbar.styles-vmMPyzS_.js} +3 -3
- package/dist/cdn/chunks/{tooltip-BvRNYRo3.js → tooltip-Bg2ovCCg.js} +116 -80
- package/dist/cdn/chunks/{top-navigation-bar-BHPQntER.js → top-navigation-bar-vA8wpJXS.js} +29 -29
- package/dist/cdn/chunks/{top-title-bar-BVjegLlh.js → top-title-bar-BAJGmgnj.js} +16 -16
- package/dist/cdn/chunks/{translations-cJjO6nQV.js → translations-Cjd13Xb6.js} +1 -1
- package/dist/cdn/chunks/{two-thirds-one-third-section-BdBHQuXc.js → two-thirds-one-third-section-D1FvorKO.js} +6 -6
- package/dist/cdn/chunks/{validation-list-5E3-3_95.js → validation-list-D3rKnfTu.js} +12 -12
- package/dist/cdn/chunks/{visibility-mixin-DvRe3O8t.js → visibility-mixin-BRMACV1l.js} +14 -14
- package/dist/cdn/chunks/{visually-hidden-F85D_HcR.js → visually-hidden-BukWRiJA.js} +2 -2
- package/dist/cdn/chunks/{window-CabW35M1.js → window-C9njVzzK.js} +44 -80
- package/dist/cdn/chunks/{with-translations-BHDG37HJ.js → with-translations-BLzHPSUF.js} +3 -3
- package/dist/components/actions/button/button.d.ts +15 -13
- package/dist/components/actions/button/button.d.ts.map +1 -1
- package/dist/components/actions/button/button.js +15 -14
- 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/button-bar/button-bar.d.ts +7 -4
- package/dist/components/actions/button-bar/button-bar.d.ts.map +1 -1
- package/dist/components/actions/button-bar/button-bar.js +6 -4
- package/dist/components/actions/button-bar/button-bar.js.map +1 -1
- package/dist/components/actions/button-group/button-group.d.ts +4 -2
- package/dist/components/actions/button-group/button-group.d.ts.map +1 -1
- package/dist/components/actions/button-group/button-group.js +4 -2
- package/dist/components/actions/button-group/button-group.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.d.ts +13 -11
- package/dist/components/actions/icon-button/icon-button.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.js +13 -12
- package/dist/components/actions/icon-button/icon-button.js.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.d.ts.map +1 -1
- package/dist/components/actions/icon-button/icon-button.styles.js +4 -0
- package/dist/components/actions/icon-button/icon-button.styles.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-group.d.ts +1 -1
- package/dist/components/actions/menu/menu-group.js +1 -1
- package/dist/components/actions/menu/menu-item.d.ts +4 -4
- package/dist/components/actions/menu/menu-item.js +4 -4
- package/dist/components/actions/menu/menu.d.ts +61 -38
- package/dist/components/actions/menu/menu.d.ts.map +1 -1
- package/dist/components/actions/menu/menu.js +92 -102
- package/dist/components/actions/menu/menu.js.map +1 -1
- package/dist/components/actions/split-button/split-button.d.ts +5 -3
- package/dist/components/actions/split-button/split-button.d.ts.map +1 -1
- package/dist/components/actions/split-button/split-button.js +6 -4
- package/dist/components/actions/split-button/split-button.js.map +1 -1
- package/dist/components/actions/toolbar/toolbar-item.d.ts +1 -1
- package/dist/components/actions/toolbar/toolbar-item.js +1 -1
- package/dist/components/actions/toolbar/toolbar-title.d.ts +1 -1
- package/dist/components/actions/toolbar/toolbar-title.js +1 -1
- package/dist/components/actions/toolbar/toolbar.d.ts +10 -8
- package/dist/components/actions/toolbar/toolbar.d.ts.map +1 -1
- package/dist/components/actions/toolbar/toolbar.js +11 -9
- 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/accordion/accordion.d.ts +2 -0
- package/dist/components/content/accordion/accordion.d.ts.map +1 -1
- package/dist/components/content/accordion/accordion.js +2 -0
- package/dist/components/content/accordion/accordion.js.map +1 -1
- package/dist/components/content/admonition/admonition.d.ts +2 -0
- package/dist/components/content/admonition/admonition.d.ts.map +1 -1
- package/dist/components/content/admonition/admonition.js +2 -0
- package/dist/components/content/admonition/admonition.js.map +1 -1
- package/dist/components/content/avatar/avatar.d.ts +3 -1
- package/dist/components/content/avatar/avatar.d.ts.map +1 -1
- package/dist/components/content/avatar/avatar.js +3 -1
- package/dist/components/content/avatar/avatar.js.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts +8 -1
- package/dist/components/content/avatar-group/avatar-group.d.ts.map +1 -1
- package/dist/components/content/avatar-group/avatar-group.js +10 -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/blockquote/blockquote.d.ts +3 -1
- package/dist/components/content/blockquote/blockquote.d.ts.map +1 -1
- package/dist/components/content/blockquote/blockquote.js +3 -1
- package/dist/components/content/blockquote/blockquote.js.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.d.ts +1 -0
- package/dist/components/content/code-viewer/code-viewer.d.ts.map +1 -1
- package/dist/components/content/code-viewer/code-viewer.js +9 -9
- package/dist/components/content/code-viewer/code-viewer.js.map +1 -1
- package/dist/components/content/icon/icon.d.ts +4 -3
- package/dist/components/content/icon/icon.d.ts.map +1 -1
- package/dist/components/content/icon/icon.js +4 -3
- package/dist/components/content/icon/icon.js.map +1 -1
- package/dist/components/content/identity/identity.d.ts +4 -1
- package/dist/components/content/identity/identity.d.ts.map +1 -1
- package/dist/components/content/identity/identity.js +4 -1
- package/dist/components/content/identity/identity.js.map +1 -1
- package/dist/components/content/image/image.d.ts +11 -9
- package/dist/components/content/image/image.d.ts.map +1 -1
- package/dist/components/content/image/image.js +10 -8
- package/dist/components/content/image/image.js.map +1 -1
- package/dist/components/content/image/lqip-encoder-element.d.ts +1 -1
- package/dist/components/content/image/lqip-encoder-element.js +1 -1
- package/dist/components/content/image/lqip-encoder.d.ts +3 -3
- package/dist/components/content/image/lqip-encoder.js +6 -6
- package/dist/components/content/image/lqip-encoder.js.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts +6 -5
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.d.ts.map +1 -1
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js +6 -5
- package/dist/components/content/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
- package/dist/components/content/rich-text/rich-text.d.ts +3 -1
- package/dist/components/content/rich-text/rich-text.d.ts.map +1 -1
- package/dist/components/content/rich-text/rich-text.js +3 -1
- package/dist/components/content/rich-text/rich-text.js.map +1 -1
- package/dist/components/content/tag/tag.d.ts +5 -3
- package/dist/components/content/tag/tag.d.ts.map +1 -1
- package/dist/components/content/tag/tag.js +5 -3
- package/dist/components/content/tag/tag.js.map +1 -1
- package/dist/components/content/term/term.d.ts +7 -5
- package/dist/components/content/term/term.d.ts.map +1 -1
- package/dist/components/content/term/term.js +24 -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/text/text.d.ts +9 -7
- package/dist/components/content/text/text.d.ts.map +1 -1
- package/dist/components/content/text/text.js +9 -7
- package/dist/components/content/text/text.js.map +1 -1
- package/dist/components/content/title/title.d.ts +2 -0
- package/dist/components/content/title/title.d.ts.map +1 -1
- package/dist/components/content/title/title.js +2 -0
- package/dist/components/content/title/title.js.map +1 -1
- package/dist/components/content/token/token.d.ts +11 -9
- package/dist/components/content/token/token.d.ts.map +1 -1
- package/dist/components/content/token/token.js +36 -37
- package/dist/components/content/token/token.js.map +1 -1
- package/dist/components/content/token/token.template.js +1 -1
- package/dist/components/content/token/token.template.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.d.ts +27 -8
- package/dist/components/content/tooltip/tooltip.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.js +122 -127
- package/dist/components/content/tooltip/tooltip.js.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.d.ts.map +1 -1
- package/dist/components/content/tooltip/tooltip.template.js +2 -1
- package/dist/components/content/tooltip/tooltip.template.js.map +1 -1
- package/dist/components/content/visually-hidden/visually-hidden.d.ts +3 -1
- package/dist/components/content/visually-hidden/visually-hidden.d.ts.map +1 -1
- package/dist/components/content/visually-hidden/visually-hidden.js +3 -1
- package/dist/components/content/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/components/forms/form/form.d.ts +2 -2
- package/dist/components/forms/form/form.d.ts.map +1 -1
- package/dist/components/forms/form/form.js +20 -16
- package/dist/components/forms/form/form.js.map +1 -1
- package/dist/components/forms/form-actions/form-actions.d.ts +15 -11
- package/dist/components/forms/form-actions/form-actions.d.ts.map +1 -1
- package/dist/components/forms/form-actions/form-actions.js +15 -11
- package/dist/components/forms/form-actions/form-actions.js.map +1 -1
- package/dist/components/forms/form-field/form-field.d.ts +9 -5
- package/dist/components/forms/form-field/form-field.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.js +13 -6
- package/dist/components/forms/form-field/form-field.js.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.d.ts.map +1 -1
- package/dist/components/forms/form-field/form-field.styles.js +44 -0
- package/dist/components/forms/form-field/form-field.styles.js.map +1 -1
- package/dist/components/forms/form-section/form-section.d.ts.map +1 -1
- package/dist/components/forms/form-section/form-section.js +34 -30
- package/dist/components/forms/form-section/form-section.js.map +1 -1
- package/dist/components/forms/validation-list/validation-list.d.ts +1 -0
- package/dist/components/forms/validation-list/validation-list.d.ts.map +1 -1
- package/dist/components/forms/validation-list/validation-list.js +1 -0
- package/dist/components/forms/validation-list/validation-list.js.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.d.ts +4 -5
- package/dist/components/inputs/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/inputs/checkbox/checkbox.js +6 -24
- package/dist/components/inputs/checkbox/checkbox.js.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts +3 -5
- package/dist/components/inputs/checkbox-field/checkbox-field.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.js +10 -17
- package/dist/components/inputs/checkbox-field/checkbox-field.js.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts +3 -9
- package/dist/components/inputs/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.js +20 -59
- package/dist/components/inputs/checkbox-group/checkbox-group.js.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts +2 -1
- package/dist/components/inputs/code-editor/code-editor.d.ts.map +1 -1
- package/dist/components/inputs/code-editor/code-editor.js.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.d.ts +11 -10
- package/dist/components/inputs/combo-box/combo-box.d.ts.map +1 -1
- package/dist/components/inputs/combo-box/combo-box.js +30 -61
- package/dist/components/inputs/combo-box/combo-box.js.map +1 -1
- package/dist/components/inputs/date-field/date-field.d.ts +8 -5
- package/dist/components/inputs/date-field/date-field.d.ts.map +1 -1
- package/dist/components/inputs/date-field/date-field.js +11 -17
- package/dist/components/inputs/date-field/date-field.js.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.d.ts +8 -0
- package/dist/components/inputs/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/inputs/date-picker/date-picker.js +8 -0
- package/dist/components/inputs/date-picker/date-picker.js.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.d.ts +7 -5
- package/dist/components/inputs/dropdown/dropdown.d.ts.map +1 -1
- package/dist/components/inputs/dropdown/dropdown.js +7 -5
- package/dist/components/inputs/dropdown/dropdown.js.map +1 -1
- package/dist/components/inputs/file-field/file-field.d.ts +10 -6
- package/dist/components/inputs/file-field/file-field.d.ts.map +1 -1
- package/dist/components/inputs/file-field/file-field.js +19 -21
- 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 +7 -8
- 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 +9 -27
- 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 +7 -4
- package/dist/components/inputs/number-field/number-field.d.ts.map +1 -1
- package/dist/components/inputs/number-field/number-field.js +15 -17
- 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 +5 -6
- 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 +6 -19
- 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 +4 -5
- package/dist/components/inputs/password-field/password-field.d.ts.map +1 -1
- package/dist/components/inputs/password-field/password-field.js +6 -24
- package/dist/components/inputs/password-field/password-field.js.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.d.ts +3 -5
- package/dist/components/inputs/radio-button/radio-button.d.ts.map +1 -1
- package/dist/components/inputs/radio-button/radio-button.js +3 -11
- package/dist/components/inputs/radio-button/radio-button.js.map +1 -1
- package/dist/components/inputs/radio-button-field/radio-button-field.d.ts +4 -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 +7 -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 +3 -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 +19 -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 +5 -6
- package/dist/components/inputs/search-field/search-field.d.ts.map +1 -1
- package/dist/components/inputs/search-field/search-field.js +9 -37
- package/dist/components/inputs/search-field/search-field.js.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.d.ts +13 -14
- package/dist/components/inputs/segmented-control/segmented-control.d.ts.map +1 -1
- package/dist/components/inputs/segmented-control/segmented-control.js +18 -52
- package/dist/components/inputs/segmented-control/segmented-control.js.map +1 -1
- package/dist/components/inputs/slider/slider.d.ts +4 -5
- package/dist/components/inputs/slider/slider.d.ts.map +1 -1
- package/dist/components/inputs/slider/slider.js +4 -15
- package/dist/components/inputs/slider/slider.js.map +1 -1
- package/dist/components/inputs/stepper/stepper.d.ts +3 -4
- package/dist/components/inputs/stepper/stepper.d.ts.map +1 -1
- package/dist/components/inputs/stepper/stepper.js +4 -14
- package/dist/components/inputs/stepper/stepper.js.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts +6 -6
- package/dist/components/inputs/swatch-picker/swatch-picker.d.ts.map +1 -1
- package/dist/components/inputs/swatch-picker/swatch-picker.js +10 -31
- package/dist/components/inputs/swatch-picker/swatch-picker.js.map +1 -1
- package/dist/components/inputs/switch/switch.d.ts +6 -7
- package/dist/components/inputs/switch/switch.d.ts.map +1 -1
- package/dist/components/inputs/switch/switch.js +8 -25
- package/dist/components/inputs/switch/switch.js.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.d.ts +3 -4
- package/dist/components/inputs/switch-field/switch-field.d.ts.map +1 -1
- package/dist/components/inputs/switch-field/switch-field.js +4 -16
- package/dist/components/inputs/switch-field/switch-field.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.d.ts +1 -1
- package/dist/components/inputs/text-editor/text-editor.annotation-sentinels.js +1 -1
- package/dist/components/inputs/text-editor/text-editor.commands.d.ts +3 -3
- package/dist/components/inputs/text-editor/text-editor.commands.js +5 -5
- package/dist/components/inputs/text-editor/text-editor.commands.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.d.ts +6 -6
- package/dist/components/inputs/text-editor/text-editor.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.js +10 -8
- package/dist/components/inputs/text-editor/text-editor.js.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.links.d.ts +2 -2
- package/dist/components/inputs/text-editor/text-editor.links.js +2 -2
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts +3 -3
- package/dist/components/inputs/text-editor/text-editor.mention.d.ts.map +1 -1
- package/dist/components/inputs/text-editor/text-editor.mention.js +3 -3
- package/dist/components/inputs/text-editor/text-editor.mention.js.map +1 -1
- package/dist/components/inputs/text-field/text-field.d.ts +7 -8
- package/dist/components/inputs/text-field/text-field.d.ts.map +1 -1
- package/dist/components/inputs/text-field/text-field.js +9 -27
- package/dist/components/inputs/text-field/text-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.d.ts +11 -3
- package/dist/components/inputs/time-field/time-field.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.js +26 -15
- package/dist/components/inputs/time-field/time-field.js.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.d.ts.map +1 -1
- package/dist/components/inputs/time-field/time-field.styles.js +0 -7
- package/dist/components/inputs/time-field/time-field.styles.js.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.d.ts +13 -7
- package/dist/components/inputs/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/inputs/time-picker/time-picker.js +21 -14
- package/dist/components/inputs/time-picker/time-picker.js.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.d.ts +6 -7
- package/dist/components/inputs/toggle-button/toggle-button.d.ts.map +1 -1
- package/dist/components/inputs/toggle-button/toggle-button.js +9 -21
- package/dist/components/inputs/toggle-button/toggle-button.js.map +1 -1
- package/dist/components/inputs/toggle-button-group/toggle-button-group.d.ts +3 -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 +24 -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 +29 -25
- package/dist/components/inputs/token-field/token-field.d.ts.map +1 -1
- package/dist/components/inputs/token-field/token-field.js +50 -50
- package/dist/components/inputs/token-field/token-field.js.map +1 -1
- package/dist/components/layout/box/box.d.ts +4 -2
- package/dist/components/layout/box/box.d.ts.map +1 -1
- package/dist/components/layout/box/box.js +4 -2
- package/dist/components/layout/box/box.js.map +1 -1
- package/dist/components/layout/card/card.d.ts +3 -1
- package/dist/components/layout/card/card.d.ts.map +1 -1
- package/dist/components/layout/card/card.js +3 -1
- package/dist/components/layout/card/card.js.map +1 -1
- package/dist/components/layout/collection/collection.d.ts +3 -1
- package/dist/components/layout/collection/collection.d.ts.map +1 -1
- package/dist/components/layout/collection/collection.js +3 -1
- package/dist/components/layout/collection/collection.js.map +1 -1
- package/dist/components/layout/container/container.d.ts +7 -5
- package/dist/components/layout/container/container.d.ts.map +1 -1
- package/dist/components/layout/container/container.js +7 -5
- package/dist/components/layout/container/container.js.map +1 -1
- package/dist/components/layout/divider/divider.d.ts +2 -0
- package/dist/components/layout/divider/divider.d.ts.map +1 -1
- package/dist/components/layout/divider/divider.js +2 -0
- package/dist/components/layout/divider/divider.js.map +1 -1
- package/dist/components/layout/kanban/kanban.d.ts +1 -1
- package/dist/components/layout/kanban/kanban.d.ts.map +1 -1
- package/dist/components/layout/kanban/kanban.js +3 -7
- package/dist/components/layout/kanban/kanban.js.map +1 -1
- package/dist/components/layout/page/page.d.ts +12 -3
- package/dist/components/layout/page/page.d.ts.map +1 -1
- package/dist/components/layout/page/page.js +49 -3
- package/dist/components/layout/page/page.js.map +1 -1
- package/dist/components/layout/page/page.styles.d.ts.map +1 -1
- package/dist/components/layout/page/page.styles.js +7 -0
- package/dist/components/layout/page/page.styles.js.map +1 -1
- package/dist/components/layout/page-footer/page-footer.d.ts +1 -0
- package/dist/components/layout/page-footer/page-footer.d.ts.map +1 -1
- package/dist/components/layout/page-footer/page-footer.js +1 -0
- package/dist/components/layout/page-footer/page-footer.js.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts +1 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js +1 -0
- package/dist/components/layout/page-sections/full-bleed-section/full-bleed-section.js.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.d.ts +1 -0
- package/dist/components/layout/page-sections/hero/hero.d.ts.map +1 -1
- package/dist/components/layout/page-sections/hero/hero.js +1 -0
- package/dist/components/layout/page-sections/hero/hero.js.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts +1 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js +1 -0
- package/dist/components/layout/page-sections/one-half-one-half-section/one-half-one-half-section.js.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts +1 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js +1 -0
- package/dist/components/layout/page-sections/one-third-two-thirds-section/one-third-two-thirds-section.js.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts +7 -5
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js +7 -5
- package/dist/components/layout/page-sections/sidebar-section/sidebar-section.js.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts +2 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/simple-section/simple-section.js +2 -0
- package/dist/components/layout/page-sections/simple-section/simple-section.js.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts +1 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.d.ts.map +1 -1
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js +1 -0
- package/dist/components/layout/page-sections/two-thirds-one-third-section/two-thirds-one-third-section.js.map +1 -1
- package/dist/components/layout/popover/popover.d.ts +30 -6
- package/dist/components/layout/popover/popover.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.js +50 -129
- package/dist/components/layout/popover/popover.js.map +1 -1
- package/dist/components/layout/popover/popover.styles.d.ts.map +1 -1
- package/dist/components/layout/popover/popover.styles.js +6 -0
- package/dist/components/layout/popover/popover.styles.js.map +1 -1
- package/dist/components/layout/sheet/sheet.d.ts +9 -38
- package/dist/components/layout/sheet/sheet.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.js +15 -174
- package/dist/components/layout/sheet/sheet.js.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.d.ts.map +1 -1
- package/dist/components/layout/sheet/sheet.styles.js +1 -0
- package/dist/components/layout/sheet/sheet.styles.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/shell/shell.d.ts +2 -1
- package/dist/components/layout/shell/shell.d.ts.map +1 -1
- package/dist/components/layout/shell/shell.js +2 -1
- package/dist/components/layout/shell/shell.js.map +1 -1
- package/dist/components/layout/spacer/spacer.d.ts +7 -5
- package/dist/components/layout/spacer/spacer.d.ts.map +1 -1
- package/dist/components/layout/spacer/spacer.js +7 -5
- package/dist/components/layout/spacer/spacer.js.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts +3 -2
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js +3 -2
- package/dist/components/layout/split-views/bar-split-view/bar-split-view.js.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts +5 -3
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js +5 -3
- package/dist/components/layout/split-views/navigation-split-view/navigation-split-view.js.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts +4 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js +4 -2
- package/dist/components/layout/split-views/side-by-side-split-view/side-by-side-split-view.js.map +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.d.ts +1 -1
- package/dist/components/layout/split-views/split-view-divider/split-view-divider.js +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.d.ts +1 -1
- package/dist/components/layout/split-views/split-view-pane/split-view-pane.js +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts +2 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.d.ts.map +1 -1
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js +2 -0
- package/dist/components/layout/split-views/stacked-split-view/stacked-split-view.js.map +1 -1
- package/dist/components/layout/window/window.d.ts +4 -30
- package/dist/components/layout/window/window.d.ts.map +1 -1
- package/dist/components/layout/window/window.js +14 -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/cells/icon-cell/icon-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/icon-cell/icon-cell.js +2 -2
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts +2 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.d.ts.map +1 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js +2 -1
- package/dist/components/lists-and-tables/cells/reorder-handle-cell/reorder-handle-cell.js.map +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.d.ts +1 -1
- package/dist/components/lists-and-tables/cells/spacer-cell/spacer-cell.js +1 -1
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.d.ts +2 -2
- package/dist/components/lists-and-tables/cells/step-cell/step-cell.js +2 -2
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.d.ts +7 -7
- package/dist/components/lists-and-tables/cells/text-cell/text-cell.js +7 -7
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.d.ts +3 -3
- package/dist/components/lists-and-tables/cells/title-cell/title-cell.js +3 -3
- package/dist/components/lists-and-tables/list/list.d.ts +42 -64
- package/dist/components/lists-and-tables/list/list.d.ts.map +1 -1
- package/dist/components/lists-and-tables/list/list.js +71 -168
- 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 +63 -47
- 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 +68 -55
- 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 +12 -11
- 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 +13 -13
- package/dist/components/lists-and-tables/list-item-segment/list-item-segment.js.map +1 -1
- package/dist/components/lists-and-tables/table/table.d.ts +8 -5
- package/dist/components/lists-and-tables/table/table.d.ts.map +1 -1
- package/dist/components/lists-and-tables/table/table.js +8 -5
- package/dist/components/lists-and-tables/table/table.js.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js +1 -0
- package/dist/components/navigation/breadcrumbs/breadcrumbs.js.map +1 -1
- package/dist/components/navigation/document-tab-bar/document-tab-bar.d.ts +7 -6
- 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 +15 -64
- 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 +14 -9
- package/dist/components/navigation/document-tab-bar/document-tab-bar.template.js.map +1 -1
- package/dist/components/navigation/link/link.d.ts +6 -4
- package/dist/components/navigation/link/link.d.ts.map +1 -1
- package/dist/components/navigation/link/link.js +6 -4
- package/dist/components/navigation/link/link.js.map +1 -1
- package/dist/components/navigation/link-group/link-group.d.ts +3 -3
- package/dist/components/navigation/link-group/link-group.js +3 -3
- package/dist/components/navigation/menu-bar/menu-bar.d.ts +14 -18
- package/dist/components/navigation/menu-bar/menu-bar.d.ts.map +1 -1
- package/dist/components/navigation/menu-bar/menu-bar.js +47 -72
- 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 +5 -6
- 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 +17 -33
- package/dist/components/navigation/menu-bar-item/menu-bar-item.js.map +1 -1
- package/dist/components/navigation/pagination/pagination.d.ts +4 -3
- package/dist/components/navigation/pagination/pagination.d.ts.map +1 -1
- package/dist/components/navigation/pagination/pagination.js +4 -3
- package/dist/components/navigation/pagination/pagination.js.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.d.ts +1 -0
- package/dist/components/navigation/skip-link/skip-link.d.ts.map +1 -1
- package/dist/components/navigation/skip-link/skip-link.js +1 -0
- package/dist/components/navigation/skip-link/skip-link.js.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.d.ts +12 -4
- package/dist/components/navigation/tab-bar/tab-bar.d.ts.map +1 -1
- package/dist/components/navigation/tab-bar/tab-bar.js +22 -6
- 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/navigation/top-navigation-bar/top-navigation-bar.d.ts +2 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js +2 -0
- package/dist/components/navigation/top-navigation-bar/top-navigation-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts +2 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.d.ts.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.js +2 -0
- package/dist/components/navigation/top-title-bar/top-title-bar.js.map +1 -1
- package/dist/components/navigation/top-title-bar/top-title-bar.styles.js +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts +10 -8
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.d.ts.map +1 -1
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js +11 -9
- package/dist/components/status-and-feedback/activity-indicator/activity-indicator.js.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts +3 -1
- package/dist/components/status-and-feedback/badge/badge.d.ts.map +1 -1
- package/dist/components/status-and-feedback/badge/badge.js +3 -1
- package/dist/components/status-and-feedback/badge/badge.js.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.d.ts +7 -5
- package/dist/components/status-and-feedback/banner/banner.d.ts.map +1 -1
- package/dist/components/status-and-feedback/banner/banner.js +6 -4
- package/dist/components/status-and-feedback/banner/banner.js.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts +5 -3
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.d.ts.map +1 -1
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js +5 -3
- package/dist/components/status-and-feedback/inline-dialog/inline-dialog.js.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts +4 -2
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.d.ts.map +1 -1
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js +4 -2
- package/dist/components/status-and-feedback/just-in-time-education/just-in-time-education.js.map +1 -1
- package/dist/components/status-and-feedback/modal-dialog/modal-dialog.d.ts +5 -23
- 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 +7 -125
- 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/components/status-and-feedback/notification/notification.d.ts +3 -1
- package/dist/components/status-and-feedback/notification/notification.d.ts.map +1 -1
- package/dist/components/status-and-feedback/notification/notification.js +3 -1
- package/dist/components/status-and-feedback/notification/notification.js.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts +5 -3
- package/dist/components/status-and-feedback/progress-bar/progress-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js +5 -3
- package/dist/components/status-and-feedback/progress-bar/progress-bar.js.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts +4 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.d.ts.map +1 -1
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js +4 -2
- package/dist/components/status-and-feedback/progress-circle/progress-circle.js.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts +2 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/status-bar/status-bar.js +2 -0
- package/dist/components/status-and-feedback/status-bar/status-bar.js.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts +2 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.d.ts.map +1 -1
- package/dist/components/status-and-feedback/step-bar/step-bar.js +2 -0
- package/dist/components/status-and-feedback/step-bar/step-bar.js.map +1 -1
- package/dist/css/document-reset.css +9 -0
- package/dist/nldd.min.js +929 -865
- package/dist/types/react.d.ts +156 -62
- package/dist/types/vue.d.ts +255 -74
- package/dist/utilities/ancestor-scroll.d.ts +15 -0
- package/dist/utilities/ancestor-scroll.d.ts.map +1 -0
- package/dist/utilities/ancestor-scroll.js +24 -0
- package/dist/utilities/ancestor-scroll.js.map +1 -0
- 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.d.ts.map +1 -1
- package/dist/utilities/dev-rules.generated.js +972 -922
- 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 +329 -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 +318 -0
- package/lint/rule-index.js +33 -1
- package/lint/rule.schema.json +1 -1
- package/lint/session.js +127 -0
- package/lint/tree.js +46 -0
- package/package.json +11 -19
- 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,26 +1,27 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { n as t, t as n } from "./decorate-
|
|
3
|
-
import { n as r, r as i } from "./custom-element-
|
|
4
|
-
import { c as a, n as o, o as s, r as c, s as l, t as u } from "./floating-ui.dom-
|
|
2
|
+
import { n as t, t as n } from "./decorate-CeGXihRM.js";
|
|
3
|
+
import { n as r, r as i } from "./custom-element-DD4ffKRs.js";
|
|
4
|
+
import { c as a, n as o, o as s, r as c, s as l, t as u } from "./floating-ui.dom-CB34tcZx.js";
|
|
5
5
|
import { t as d } from "./reflect-non-default-Bu3rpCvg.js";
|
|
6
|
-
import { c as f, i as p } from "./menu.template-
|
|
6
|
+
import { c as f, i as p } from "./menu.template-sPjaMfc8.js";
|
|
7
7
|
import { t as m } from "./menu.i18n-C6uYJsG3.js";
|
|
8
|
-
import "./icon-cell-
|
|
9
|
-
import "./spacer-cell-
|
|
10
|
-
import "./text-cell-
|
|
11
|
-
import "./icon-
|
|
12
|
-
import "./keyboard-shortcut-
|
|
13
|
-
import "./inline-dialog-
|
|
8
|
+
import "./icon-cell-C3Ygercd.js";
|
|
9
|
+
import "./spacer-cell-B33mGdru.js";
|
|
10
|
+
import "./text-cell-DfRh7JqZ.js";
|
|
11
|
+
import "./icon-CVM6X_F1.js";
|
|
12
|
+
import "./keyboard-shortcut-DZDtndhS.js";
|
|
13
|
+
import "./inline-dialog-Dlu3bneh.js";
|
|
14
14
|
import { r as h, t as g } from "./input-modality-XE0B7yCn.js";
|
|
15
|
-
import { t as _ } from "./return-focus-
|
|
16
|
-
import { n as v } from "./
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { r as
|
|
20
|
-
import {
|
|
21
|
-
import { t as
|
|
22
|
-
import { t as
|
|
23
|
-
|
|
15
|
+
import { t as _ } from "./return-focus-CpwHVxYU.js";
|
|
16
|
+
import { n as v, o as y, t as b } from "./overlay-invoker-Dj6MQAtF.js";
|
|
17
|
+
import { n as x } from "./breakpoints-Cwor8TRP.js";
|
|
18
|
+
import { t as S } from "./translations-Cjd13Xb6.js";
|
|
19
|
+
import { r as C, t as w } from "./carried-context-DlMSujiJ.js";
|
|
20
|
+
import { r as T } from "./element-state-B-44fVqq.js";
|
|
21
|
+
import { t as E } from "./menu-item-BnIbV4yo.js";
|
|
22
|
+
import { t as D } from "./menu-group-Ci9QUUwZ.js";
|
|
23
|
+
import { t as O } from "./menu-divider-Dmv0lMHV.js";
|
|
24
|
+
function k(e, t) {
|
|
24
25
|
let n = document;
|
|
25
26
|
for (let r = 0; r < 20; r++) {
|
|
26
27
|
let r = n.elementFromPoint(e, t);
|
|
@@ -32,7 +33,7 @@ function E(e, t) {
|
|
|
32
33
|
}
|
|
33
34
|
return null;
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
+
function A(e, t) {
|
|
36
37
|
let n = document;
|
|
37
38
|
for (let r = 0; r < 20; r++) {
|
|
38
39
|
let r = n.elementFromPoint(e, t);
|
|
@@ -41,7 +42,7 @@ function D(e, t) {
|
|
|
41
42
|
}
|
|
42
43
|
return null;
|
|
43
44
|
}
|
|
44
|
-
var
|
|
45
|
+
var j = class {
|
|
45
46
|
constructor(e) {
|
|
46
47
|
this._host = e, this._pressedItem = null, this._touchStart = {
|
|
47
48
|
x: 0,
|
|
@@ -59,7 +60,7 @@ var O = class {
|
|
|
59
60
|
}, this._handleRelease = (e) => {
|
|
60
61
|
let t = this._pressedItem;
|
|
61
62
|
if (this._pressedItem = null, !t || !this._host._isMenuOpen) return;
|
|
62
|
-
let n =
|
|
63
|
+
let n = k(e.clientX, e.clientY);
|
|
63
64
|
n && n !== t && !n.disabled && n._handleClick();
|
|
64
65
|
}, this.touchStart = (e) => {
|
|
65
66
|
let t = e.touches[0];
|
|
@@ -101,7 +102,7 @@ var O = class {
|
|
|
101
102
|
stopOutsideTap() {
|
|
102
103
|
this._onOutsideTap = null, document.removeEventListener("pointermove", this._handleOutsideMove, !0), document.removeEventListener("pointerup", this._handleOutsideEnd, !0), document.removeEventListener("pointercancel", this._handleOutsideCancel, !0);
|
|
103
104
|
}
|
|
104
|
-
},
|
|
105
|
+
}, M = class {
|
|
105
106
|
constructor(e, t, n, r) {
|
|
106
107
|
this.parent = e, this.opener = t, this.submenu = n, this.drillIn = r, this._homeParent = null, this._homeNextSibling = null, this._handleToggle = (e) => {
|
|
107
108
|
e.newState === "closed" && (this.submenu._drillInHidingForDeeper ? this.submenu._drillInHidingForDeeper = !1 : this._teardown(!0));
|
|
@@ -109,7 +110,7 @@ var O = class {
|
|
|
109
110
|
}
|
|
110
111
|
open() {
|
|
111
112
|
let { parent: e, opener: t, submenu: n, root: r } = this;
|
|
112
|
-
e._activeSubmenu?.hidePopover?.(), n._parentMenu = e, n._parentItem = t, n._chainRoot = r, r._openChain.includes(this) || r._openChain.push(this), this.drillIn ? (n.anchorElement = r._getAnchorEl(), n.placement = r.placement) : (n.anchorElement = t, n.placement = "right-start"), e._activeSubmenu = n, e._activeSubmenuOpener = t, e._activeLevel = this, t._submenuOpen = !0, t.removeAttribute("highlighted"), n.addEventListener("toggle", this._handleToggle), this.drillIn && (this._homeParent = n.parentElement, this._homeNextSibling = n.nextSibling,
|
|
113
|
+
e._activeSubmenu?.hidePopover?.(), n._parentMenu = e, n._parentItem = t, n._chainRoot = r, r._openChain.includes(this) || r._openChain.push(this), this.drillIn ? (n.anchorElement = r._getAnchorEl(), n.placement = r.placement) : (n.anchorElement = t, n.placement = "right-start"), e._activeSubmenu = n, e._activeSubmenuOpener = t, e._activeLevel = this, t._submenuOpen = !0, t.removeAttribute("highlighted"), n.addEventListener("toggle", this._handleToggle), this.drillIn && (this._homeParent = n.parentElement, this._homeNextSibling = n.nextSibling, w(n, this._homeParent), document.body.appendChild(n)), n.showPopover?.(), this.drillIn ? (n._announce(n._t("components.menu.submenu-title", { title: t.text })), e._drillInHidingForDeeper = !0, e.hidePopover?.()) : requestAnimationFrame(() => {
|
|
113
114
|
e._activeSubmenu === n && e._safeTriangle.start(n);
|
|
114
115
|
});
|
|
115
116
|
}
|
|
@@ -120,7 +121,7 @@ var O = class {
|
|
|
120
121
|
let { parent: t, opener: n, submenu: r, root: i } = this;
|
|
121
122
|
r.removeEventListener("toggle", this._handleToggle), t._activeSubmenu === r && (t._activeSubmenu = null, t._activeSubmenuOpener = null, t._activeLevel = null), r._parentMenu = null, r._parentItem = null, r._chainRoot = null;
|
|
122
123
|
let a = i._openChain.indexOf(this);
|
|
123
|
-
if (a !== -1 && i._openChain.splice(a, 1), n._submenuOpen = !1, this.drillIn && (
|
|
124
|
+
if (a !== -1 && i._openChain.splice(a, 1), n._submenuOpen = !1, this.drillIn && (C(r), this._homeParent?.isConnected ? this._homeParent.insertBefore(r, this._homeNextSibling) : r.remove(), e && t.isConnected)) {
|
|
124
125
|
t.matches(":popover-open") || t.showPopover?.();
|
|
125
126
|
let e = t._parentItem?.text;
|
|
126
127
|
t._announce(e ? t._t("components.menu.submenu-back-action", { title: e }) : t._t("components.menu.back-action"));
|
|
@@ -135,10 +136,10 @@ var O = class {
|
|
|
135
136
|
}));
|
|
136
137
|
}
|
|
137
138
|
};
|
|
138
|
-
function
|
|
139
|
+
function N(e, t) {
|
|
139
140
|
return !!e && !!t && t.x >= e.left && t.x <= e.right && t.y >= e.top && t.y <= e.bottom;
|
|
140
141
|
}
|
|
141
|
-
function
|
|
142
|
+
function P(e, t) {
|
|
142
143
|
let n = !1, r = !1;
|
|
143
144
|
for (let i = 0; i < t.length; i++) {
|
|
144
145
|
let a = t[i], o = t[(i + 1) % t.length], s = (e.x - o.x) * (a.y - o.y) - (a.x - o.x) * (e.y - o.y);
|
|
@@ -146,7 +147,7 @@ function j(e, t) {
|
|
|
146
147
|
}
|
|
147
148
|
return !0;
|
|
148
149
|
}
|
|
149
|
-
function
|
|
150
|
+
function F(e, t, n) {
|
|
150
151
|
let r = t.x < n.left ? n.left : n.right;
|
|
151
152
|
return [
|
|
152
153
|
e,
|
|
@@ -160,13 +161,13 @@ function M(e, t, n) {
|
|
|
160
161
|
}
|
|
161
162
|
];
|
|
162
163
|
}
|
|
163
|
-
function
|
|
164
|
+
function I(e, t) {
|
|
164
165
|
return {
|
|
165
166
|
x: Math.max(t.left, Math.min(t.right, e.x)) - 4,
|
|
166
167
|
y: e.y > t.bottom ? t.bottom : t.top
|
|
167
168
|
};
|
|
168
169
|
}
|
|
169
|
-
var
|
|
170
|
+
var L = class {
|
|
170
171
|
constructor(e) {
|
|
171
172
|
this._host = e, this.movingToward = !1, this._listener = null, this._stallTimer = null, this._lastPos = null, this._apex = null, this._overlay = null, e.addController(this);
|
|
172
173
|
}
|
|
@@ -187,23 +188,23 @@ var P = class {
|
|
|
187
188
|
this.movingToward = !1, this._lastPos = e, this._apex = null, this._host.safeTriangleOpener?.removeAttribute("highlighted"), this._removeOverlay();
|
|
188
189
|
return;
|
|
189
190
|
}
|
|
190
|
-
let n = t.getBoundingClientRect(), r = this._host.safeTriangleOpener?.getBoundingClientRect(), i =
|
|
191
|
+
let n = t.getBoundingClientRect(), r = this._host.safeTriangleOpener?.getBoundingClientRect(), i = N(r, e), a = N(r, this._lastPos);
|
|
191
192
|
this._apex !== null && i && (this._apex = null);
|
|
192
193
|
let o = this.movingToward;
|
|
193
194
|
if (this._apex === null) {
|
|
194
195
|
if (i) {
|
|
195
196
|
this.movingToward = !0, this._lastPos = e;
|
|
196
197
|
let t = this._host.safeTriangleOpener;
|
|
197
|
-
t && !t.hasAttribute("highlighted") && this._host.highlightOpener(), this._host.debugSafeTriangle && r && this._drawOverlay(
|
|
198
|
+
t && !t.hasAttribute("highlighted") && this._host.highlightOpener(), this._host.debugSafeTriangle && r && this._drawOverlay(F({
|
|
198
199
|
x: e.x - 4,
|
|
199
200
|
y: e.y
|
|
200
201
|
}, e, n));
|
|
201
202
|
return;
|
|
202
203
|
}
|
|
203
|
-
r && a && (e.y > r.bottom || e.y < r.top) ? (this._apex =
|
|
204
|
+
r && a && (e.y > r.bottom || e.y < r.top) ? (this._apex = I(e, r), this.movingToward = !0) : (this.movingToward = !1, this._lastPos = e, this._removeOverlay(), o && this._host.releaseAt(e));
|
|
204
205
|
} else {
|
|
205
|
-
let t =
|
|
206
|
-
this.movingToward =
|
|
206
|
+
let t = F(this._apex, e, n);
|
|
207
|
+
this.movingToward = P(e, t), this._host.debugSafeTriangle && this._drawOverlay(t);
|
|
207
208
|
}
|
|
208
209
|
this._lastPos = e;
|
|
209
210
|
let s = this._host.safeTriangleOpener;
|
|
@@ -232,22 +233,22 @@ var P = class {
|
|
|
232
233
|
_removeOverlay() {
|
|
233
234
|
this._overlay?.hidePopover?.(), this._overlay?.remove(), this._overlay = null;
|
|
234
235
|
}
|
|
235
|
-
},
|
|
236
|
-
function
|
|
237
|
-
return e instanceof HTMLElement && e.matches(
|
|
236
|
+
}, R = "a[href],button:not([disabled]),input:not([disabled]):not([type=\"hidden\"]),select:not([disabled]),textarea:not([disabled]),[tabindex]:not([tabindex=\"-1\"]),[contenteditable=\"\"],[contenteditable=\"true\"],details > summary:first-of-type";
|
|
237
|
+
function z(e) {
|
|
238
|
+
return e instanceof HTMLElement && e.matches(R) && e.tabIndex >= 0 && !e.closest("[inert]") && e.getClientRects().length > 0;
|
|
238
239
|
}
|
|
239
|
-
function
|
|
240
|
+
function B(e) {
|
|
240
241
|
if (e instanceof HTMLSlotElement) {
|
|
241
242
|
let t = e.assignedElements({ flatten: !0 });
|
|
242
243
|
return t.length ? t : Array.from(e.children);
|
|
243
244
|
}
|
|
244
245
|
return Array.from((e.shadowRoot ?? e).children);
|
|
245
246
|
}
|
|
246
|
-
function
|
|
247
|
+
function V(e, t) {
|
|
247
248
|
let n = !1, r = (i) => {
|
|
248
249
|
if (i === t) return null;
|
|
249
|
-
if (n &&
|
|
250
|
-
for (let e of
|
|
250
|
+
if (n && z(i)) return i;
|
|
251
|
+
for (let e of B(i)) {
|
|
251
252
|
let t = r(e);
|
|
252
253
|
if (t) return t;
|
|
253
254
|
}
|
|
@@ -256,32 +257,32 @@ function R(e, t) {
|
|
|
256
257
|
return r(document.body);
|
|
257
258
|
}
|
|
258
259
|
// src/components/actions/menu/menu.ts
|
|
259
|
-
var
|
|
260
|
-
NLDDMenu: () =>
|
|
261
|
-
NLDDMenuDivider: () =>
|
|
262
|
-
NLDDMenuGroup: () =>
|
|
263
|
-
NLDDMenuItem: () =>
|
|
264
|
-
}),
|
|
260
|
+
var H = /* @__PURE__ */ e({
|
|
261
|
+
NLDDMenu: () => X,
|
|
262
|
+
NLDDMenuDivider: () => O,
|
|
263
|
+
NLDDMenuGroup: () => D,
|
|
264
|
+
NLDDMenuItem: () => E
|
|
265
|
+
}), U, W = (e, t) => {
|
|
265
266
|
let n = e.toLowerCase(), r = t.text.toLowerCase().includes(n), i = t.value !== "" && t.value.toLowerCase().includes(n), a = t.aliases !== "" && t.aliases.split(" ").some((e) => e.toLowerCase().includes(n));
|
|
266
267
|
return r || i || a;
|
|
267
268
|
};
|
|
268
|
-
function
|
|
269
|
+
function G(e) {
|
|
269
270
|
let t = (e.accessibleLabel || e.getAttribute("accessible-label") || e.getAttribute("aria-label") || e.getAttribute("text") || (e.shadowRoot ? "" : e.textContent) || "").trim();
|
|
270
271
|
if (t) return t;
|
|
271
272
|
let n = e.getRootNode();
|
|
272
|
-
return n instanceof ShadowRoot ?
|
|
273
|
+
return n instanceof ShadowRoot ? G(n.host) : "";
|
|
273
274
|
}
|
|
274
|
-
var
|
|
275
|
+
var K = 500, q = 40, J = .1, Y = 150, X = class e extends t {
|
|
275
276
|
constructor(...e) {
|
|
276
|
-
super(...e), this.variant = "menu", this.width = "", this.anchor = "", this.anchorElement = null, this.accessibleLabel = "", this.placement = "bottom-start", this.anchorOffset = 0, this.maxItems = 0, this.emptyText = "", this.emptySupportingText = "", this.translations = {}, this.filterFn =
|
|
277
|
+
super(...e), this.variant = "menu", this.width = "", this.noBlink = !1, this.anchor = "", this.anchorElement = null, this.accessibleLabel = "", this.placement = "bottom-start", this.anchorOffset = 0, this.maxItems = 0, this.emptyText = "", this.emptySupportingText = "", this.translations = {}, this.filterFn = W, this.debugSafeTriangle = !1, this._isEmpty = !1, this._hasHeader = !1, this._hasFooter = !1, this._activeSubmenu = null, this._activeSubmenuOpener = null, this._activeLevel = null, this._drillInHidingForDeeper = !1, this._openChain = [], this._chainRoot = null, this._parentMenu = null, this._parentItem = null, this._isOpen = !1, this._focusReturn = new _(), this._previousAnchorForResync = null, this._collapsedByPointerGesture = !1, this._cleanupAutoUpdate = null, this._announceRaf = 0, this._pendingAnnouncement = "", this._announceResultsTimer = 0, this._resyncAnchorFromPopoverState = () => {
|
|
277
278
|
let e = this.matches(":popover-open");
|
|
278
279
|
e !== this._isOpen && (this._isOpen = e, this._syncAnchorPopupState(e));
|
|
279
|
-
}, this.
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
}, this._hoverOpenItem = null, this._hoverOpenTimer = null, this._hoverOpenDeadline = 0, this._lastHoverMove = null, this._safeTriangle = new
|
|
280
|
+
}, this._triggerAria = new v({
|
|
281
|
+
attributes: !1,
|
|
282
|
+
popoverTargetAction: !0
|
|
283
|
+
}), this._handleDocumentClick = () => {
|
|
284
|
+
this._collapsedByPointerGesture = !1;
|
|
285
|
+
}, this._anchorInvoker = new b(this, { anchorFor: () => null }), this._stopWatchingAnchor = null, this._hoverOpenItem = null, this._hoverOpenTimer = null, this._hoverOpenDeadline = 0, this._lastHoverMove = null, this._safeTriangle = new L(this), this._handleMenuItemMouseenter = (e) => {
|
|
285
286
|
if (h()) return;
|
|
286
287
|
let t = e.target.closest("nldd-menu-item");
|
|
287
288
|
t && this._activateItem(t);
|
|
@@ -299,7 +300,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
299
300
|
t: e.timeStamp
|
|
300
301
|
}, n) {
|
|
301
302
|
let t = e.timeStamp - n.t, r = Math.hypot(e.clientX - n.x, e.clientY - n.y);
|
|
302
|
-
if (t > 0 && r > 0 && r / t <
|
|
303
|
+
if (t > 0 && r > 0 && r / t < J) {
|
|
303
304
|
this._openHoverItem();
|
|
304
305
|
return;
|
|
305
306
|
}
|
|
@@ -310,28 +311,28 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
310
311
|
!t || t.disabled || t.hasAttribute("hidden") || t.closest("nldd-menu") === this && this._setHighlight(t);
|
|
311
312
|
}, this._handleSubmenuOpen = (e) => {
|
|
312
313
|
let { item: t, submenu: n } = e.detail;
|
|
313
|
-
t.closest("nldd-menu") === this && (e.stopPropagation(), this._activeSubmenu !== n && new
|
|
314
|
+
t.closest("nldd-menu") === this && (e.stopPropagation(), this._activeSubmenu !== n && new M(this, t, n, this._drillInMode).open());
|
|
314
315
|
}, this._handleBack = () => {
|
|
315
316
|
this.hidePopover?.();
|
|
316
317
|
}, this._handleBackMouseenter = () => {
|
|
317
318
|
this._clearHighlight();
|
|
318
|
-
}, this._pointer = new
|
|
319
|
+
}, this._pointer = new j(this), this._openWindowWidth = 0, this._handleWindowResize = () => {
|
|
319
320
|
window.innerWidth !== this._openWindowWidth && this._collapseChain();
|
|
320
321
|
}, this._handleSelect = (e) => {
|
|
321
322
|
let t = e.target, n = this._pressedByTouch;
|
|
322
323
|
if (this._pressedByTouch = !1, this._blinkTimer || t.hasAttribute("confirming")) return;
|
|
323
|
-
let r = t.localName === "nldd-menu-item" ? t.shadowRoot?.querySelector(".menu__item") : null, i = !n && matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
324
|
-
if (!r || !this._isOpen || this.variant === "listbox" || i) {
|
|
324
|
+
let r = t.localName === "nldd-menu-item" ? t.shadowRoot?.querySelector(".menu__item") : null, i = !n && matchMedia("(prefers-reduced-motion: reduce)").matches, a = (this._chainRoot ?? this).noBlink;
|
|
325
|
+
if (!r || !this._isOpen || this.variant === "listbox" || a || i) {
|
|
325
326
|
this._collapseChain();
|
|
326
327
|
return;
|
|
327
328
|
}
|
|
328
329
|
this._setHighlight(t), t.setAttribute("confirming", n ? "touch" : "");
|
|
329
|
-
let
|
|
330
|
-
|
|
330
|
+
let o = !1, s = () => {
|
|
331
|
+
o || (o = !0, clearTimeout(this._blinkTimer), this._blinkTimer = 0, this._finishBlink = null, r.removeEventListener("animationend", s), t.removeAttribute("confirming"), this.isConnected && this._collapseChain());
|
|
331
332
|
};
|
|
332
|
-
r.addEventListener("animationend",
|
|
333
|
-
let
|
|
334
|
-
this._blinkTimer = window.setTimeout(
|
|
333
|
+
r.addEventListener("animationend", s);
|
|
334
|
+
let c = (parseFloat(getComputedStyle(r).animationDuration) || 0) * 1e3;
|
|
335
|
+
this._blinkTimer = window.setTimeout(s, c + 250), this._finishBlink = s;
|
|
335
336
|
}, this._blinkTimer = 0, this._pressedByTouch = !1, this._notePress = (e) => {
|
|
336
337
|
if (this._pressedByTouch = e.type === "pointerdown" && e.pointerType === "touch", !this._pressedByTouch) return;
|
|
337
338
|
let t = e.target?.closest("nldd-menu-item");
|
|
@@ -439,7 +440,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
439
440
|
this.anchorOffset = 0, this._cleanupAutoUpdate?.(), this._cleanupAutoUpdate = null, window.removeEventListener("resize", this._handleWindowResize), document.removeEventListener("pointerdown", this._handleDocumentPointerdown, !0), this._pointer.stopOutsideTap(), this._clearHighlight(), this._focusReturn.restore(this);
|
|
440
441
|
return;
|
|
441
442
|
}
|
|
442
|
-
this._updateDividerVisibility(), this._clearHighlight(), this._updateEmptyState(), this._claimItems(), await this.reposition(), this.setAttribute("positioned", "");
|
|
443
|
+
this._updateDividerVisibility(), this._clearHighlight(), this._updateEmptyState(), this._claimItems(), this.style.removeProperty("--_menu-max-height"), await this.reposition(), this.setAttribute("positioned", "");
|
|
443
444
|
let n = this._getAnchorEl();
|
|
444
445
|
if (n && (this._cleanupAutoUpdate = u(n, this, () => this.reposition())), this._openWindowWidth = window.innerWidth, window.addEventListener("resize", this._handleWindowResize, { passive: !0 }), document.addEventListener("pointerdown", this._handleDocumentPointerdown, !0), await this.updateComplete, this.variant !== "listbox") {
|
|
445
446
|
let e = g(), t = this._getVisibleItems();
|
|
@@ -452,7 +453,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
452
453
|
};
|
|
453
454
|
}
|
|
454
455
|
_t(e, t) {
|
|
455
|
-
return
|
|
456
|
+
return S(this.translations, m, e, t);
|
|
456
457
|
}
|
|
457
458
|
get _resolvedEmptyText() {
|
|
458
459
|
return this.emptyText || this._t("components.menu.empty-text");
|
|
@@ -481,12 +482,22 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
481
482
|
if (this.accessibleLabel) return this.accessibleLabel;
|
|
482
483
|
if (this._parentItem?.text) return this._parentItem.text;
|
|
483
484
|
let e = this._getAnchorEl();
|
|
484
|
-
return e ?
|
|
485
|
+
return e ? G(e) : "";
|
|
485
486
|
}
|
|
486
|
-
|
|
487
|
+
invokerIsOpen() {
|
|
487
488
|
return this.matches(":popover-open") || this._openChain.length > 0 || this._collapsedByPointerGesture;
|
|
488
489
|
}
|
|
489
|
-
|
|
490
|
+
invokerPressReopens() {
|
|
491
|
+
let e = this._chainRoot ?? this;
|
|
492
|
+
return [e, ...e._openChain.map((e) => e.submenu)].some((e) => e._finishBlink);
|
|
493
|
+
}
|
|
494
|
+
invokerOpen() {
|
|
495
|
+
this.matches(":popover-open") || this.showPopover();
|
|
496
|
+
}
|
|
497
|
+
invokerClose() {
|
|
498
|
+
this._drillInMode && this._openChain.length > 0 ? this._collapseChain() : this.matches(":popover-open") && this.hidePopover();
|
|
499
|
+
}
|
|
500
|
+
invokerGestureEnd() {
|
|
490
501
|
this._collapsedByPointerGesture = !1;
|
|
491
502
|
}
|
|
492
503
|
_getAnchorEl() {
|
|
@@ -497,14 +508,11 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
497
508
|
return `${window.innerHeight - r.bottom - i >= r.top - i ? "bottom" : "top"}${n}`;
|
|
498
509
|
}
|
|
499
510
|
_syncAnchorPopupState(e) {
|
|
500
|
-
let t = this.
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
}
|
|
506
|
-
"popoverTargetAction" in t && (t.popoverTargetAction = e ? "hide" : "show");
|
|
507
|
-
}
|
|
511
|
+
let t = this.variant === "navigation" ? "" : this.variant === "listbox" ? "listbox" : "menu";
|
|
512
|
+
this._triggerAria.sync(this._getAnchorEl(), {
|
|
513
|
+
open: e,
|
|
514
|
+
popupType: t
|
|
515
|
+
});
|
|
508
516
|
}
|
|
509
517
|
get safeTriangleOpener() {
|
|
510
518
|
return this._activeSubmenuOpener;
|
|
@@ -515,7 +523,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
515
523
|
isPointInSubmenus(e, t) {
|
|
516
524
|
let n = t;
|
|
517
525
|
for (; n;) {
|
|
518
|
-
if (
|
|
526
|
+
if (N(n.getBoundingClientRect(), e)) return !0;
|
|
519
527
|
n = n._activeSubmenu;
|
|
520
528
|
}
|
|
521
529
|
return !1;
|
|
@@ -524,7 +532,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
524
532
|
e.disabled || e.hasAttribute("hidden") || e.closest("nldd-menu") === this && (this._safeTriangle.movingToward && e !== this._activeSubmenuOpener || (this._setHighlight(e), this._drillInMode || (this._activeSubmenu && e !== this._activeSubmenuOpener && this._activeSubmenu.hidePopover?.(), this._cancelHoverOpen(), e._hasSubmenu && this._activeSubmenuOpener !== e && this._scheduleHoverOpen(e))));
|
|
525
533
|
}
|
|
526
534
|
releaseAt(e) {
|
|
527
|
-
let t =
|
|
535
|
+
let t = A(e.x, e.y), n = t?.closest("nldd-menu");
|
|
528
536
|
if (n && n !== this) return;
|
|
529
537
|
let r = t?.closest("nldd-menu-item");
|
|
530
538
|
r ? this._activateItem(r) : this._leaveItems();
|
|
@@ -533,11 +541,11 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
533
541
|
this._cancelHoverOpen(), this._activeSubmenu?.hidePopover?.(), this.variant !== "listbox" && this._clearHighlight();
|
|
534
542
|
}
|
|
535
543
|
_scheduleHoverOpen(e) {
|
|
536
|
-
this._hoverOpenItem = e, this._hoverOpenDeadline = performance.now() +
|
|
544
|
+
this._hoverOpenItem = e, this._hoverOpenDeadline = performance.now() + Y, this._waitForRest();
|
|
537
545
|
}
|
|
538
546
|
_waitForRest() {
|
|
539
547
|
this._hoverOpenTimer !== null && clearTimeout(this._hoverOpenTimer);
|
|
540
|
-
let e = Math.min(
|
|
548
|
+
let e = Math.min(q, this._hoverOpenDeadline - performance.now());
|
|
541
549
|
this._hoverOpenTimer = window.setTimeout(() => this._openHoverItem(), Math.max(0, e));
|
|
542
550
|
}
|
|
543
551
|
_openHoverItem() {
|
|
@@ -548,7 +556,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
548
556
|
this._hoverOpenTimer !== null && clearTimeout(this._hoverOpenTimer), this._hoverOpenTimer = null, this._hoverOpenItem = null, this._lastHoverMove = null;
|
|
549
557
|
}
|
|
550
558
|
static _getDrillInModeQuery() {
|
|
551
|
-
return e._drillInModeQuery === null && (e._drillInModeQuery = matchMedia(`(pointer: coarse), (max-width: ${
|
|
559
|
+
return e._drillInModeQuery === null && (e._drillInModeQuery = matchMedia(`(pointer: coarse), (max-width: ${x.smMax})`)), e._drillInModeQuery;
|
|
552
560
|
}
|
|
553
561
|
get _drillInMode() {
|
|
554
562
|
return e._getDrillInModeQuery().matches;
|
|
@@ -571,7 +579,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
571
579
|
return i ? (i._finishBlink?.(), !0) : !1;
|
|
572
580
|
}
|
|
573
581
|
connectedCallback() {
|
|
574
|
-
super.connectedCallback(), this.id || (this.id = `nldd-menu-${e._menuIdCounter++}`), this.hasAttribute("popover") || this.setAttribute("popover", ""), this.addEventListener("beforetoggle", this._handleBeforeToggle), this.addEventListener("toggle", this._handleToggle), this.addEventListener("keydown", this._handleKeydown), this.addEventListener("keyup", this._handleSpaceUp), this.addEventListener("focusout", this._handleFocusOut), this.addEventListener("mouseenter", this._handleMenuItemMouseenter, !0), this.addEventListener("mouseover", this._handleMouseover), this.addEventListener("mousemove", this._handleHoverMove), this.addEventListener("mouseleave", this._handleMouseleave), this.addEventListener("menu-item-focused", this._handleMenuItemFocused), this.addEventListener("submenu-open", this._handleSubmenuOpen), this.addEventListener("select", this._handleSelect), this.addEventListener("pointerdown", this._notePress, !0), this.addEventListener("keydown", this._notePress, !0), this.addEventListener("pointercancel", this._forgetPress, !0), this.addEventListener("click", this._forgetPress), document.addEventListener("click", this._handleDocumentClick);
|
|
582
|
+
super.connectedCallback(), this.id || (this.id = `nldd-menu-${e._menuIdCounter++}`), this.hasAttribute("popover") || this.setAttribute("popover", ""), this.addEventListener("beforetoggle", this._handleBeforeToggle), this.addEventListener("toggle", this._handleToggle), this.addEventListener("keydown", this._handleKeydown), this.addEventListener("keyup", this._handleSpaceUp), this.addEventListener("focusout", this._handleFocusOut), this.addEventListener("mouseenter", this._handleMenuItemMouseenter, !0), this.addEventListener("mouseover", this._handleMouseover), this.addEventListener("mousemove", this._handleHoverMove), this.addEventListener("mouseleave", this._handleMouseleave), this.addEventListener("menu-item-focused", this._handleMenuItemFocused), this.addEventListener("submenu-open", this._handleSubmenuOpen), this.addEventListener("select", this._handleSelect), this.addEventListener("pointerdown", this._notePress, !0), this.addEventListener("keydown", this._notePress, !0), this.addEventListener("pointercancel", this._forgetPress, !0), this.addEventListener("click", this._forgetPress), this._anchorInvoker.setOverlay(this), this._stopWatchingAnchor = y(this._anchorInvoker, () => this.anchorElement || !this.anchor ? null : document.getElementById(this.anchor)), document.addEventListener("click", this._handleDocumentClick);
|
|
575
583
|
}
|
|
576
584
|
willUpdate() {
|
|
577
585
|
this.hasUpdated || this._updateEmptyState();
|
|
@@ -582,7 +590,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
582
590
|
}), Promise.resolve().then(() => this._syncAnchorPopupState(this._isOpen));
|
|
583
591
|
}
|
|
584
592
|
disconnectedCallback() {
|
|
585
|
-
super.disconnectedCallback(), this._finishBlink?.(), this._finishBlink = null, clearTimeout(this._announceResultsTimer), this._announceResultsTimer = 0, this._activeSubmenu && this._activeSubmenu.hidePopover?.(), this.removeEventListener("beforetoggle", this._handleBeforeToggle), this.removeEventListener("toggle", this._handleToggle), this._previousAnchorForResync?.removeEventListener("pointerdown", this._resyncAnchorFromPopoverState, !0), this._previousAnchorForResync = null, this.removeEventListener("keydown", this._handleKeydown), this.removeEventListener("keyup", this._handleSpaceUp), this._spaceLink = null, this.removeEventListener("focusout", this._handleFocusOut), clearTimeout(this._tabbingTimer), this._tabbing = !1, this.removeEventListener("mouseenter", this._handleMenuItemMouseenter, !0), this.removeEventListener("mouseover", this._handleMouseover), this.removeEventListener("mousemove", this._handleHoverMove), this.removeEventListener("mouseleave", this._handleMouseleave), this.removeEventListener("menu-item-focused", this._handleMenuItemFocused), this.removeEventListener("submenu-open", this._handleSubmenuOpen), this.removeEventListener("select", this._handleSelect), this.removeEventListener("pointerdown", this._notePress, !0), this.removeEventListener("keydown", this._notePress, !0), this.removeEventListener("pointercancel", this._forgetPress, !0), this.removeEventListener("click", this._forgetPress), document.removeEventListener("click", this._handleDocumentClick), document.removeEventListener("pointerdown", this._handleDocumentPointerdown, !0), this._pointer.stopOutsideTap(), window.removeEventListener("resize", this._handleWindowResize), this._cancelHoverOpen(), this._safeTriangle.stop(), this._typeaheadTimer !== null && (clearTimeout(this._typeaheadTimer), this._typeaheadTimer = null), this._cleanupAutoUpdate?.(), this._cleanupAutoUpdate = null;
|
|
593
|
+
super.disconnectedCallback(), this._finishBlink?.(), this._finishBlink = null, clearTimeout(this._announceResultsTimer), this._announceResultsTimer = 0, this._activeSubmenu && this._activeSubmenu.hidePopover?.(), this.removeEventListener("beforetoggle", this._handleBeforeToggle), this.removeEventListener("toggle", this._handleToggle), this._previousAnchorForResync?.removeEventListener("pointerdown", this._resyncAnchorFromPopoverState, !0), this._previousAnchorForResync = null, this.removeEventListener("keydown", this._handleKeydown), this.removeEventListener("keyup", this._handleSpaceUp), this._spaceLink = null, this.removeEventListener("focusout", this._handleFocusOut), clearTimeout(this._tabbingTimer), this._tabbing = !1, this.removeEventListener("mouseenter", this._handleMenuItemMouseenter, !0), this.removeEventListener("mouseover", this._handleMouseover), this.removeEventListener("mousemove", this._handleHoverMove), this.removeEventListener("mouseleave", this._handleMouseleave), this.removeEventListener("menu-item-focused", this._handleMenuItemFocused), this.removeEventListener("submenu-open", this._handleSubmenuOpen), this.removeEventListener("select", this._handleSelect), this.removeEventListener("pointerdown", this._notePress, !0), this.removeEventListener("keydown", this._notePress, !0), this.removeEventListener("pointercancel", this._forgetPress, !0), this.removeEventListener("click", this._forgetPress), document.removeEventListener("click", this._handleDocumentClick), this._stopWatchingAnchor?.(), this._stopWatchingAnchor = null, document.removeEventListener("pointerdown", this._handleDocumentPointerdown, !0), this._pointer.stopOutsideTap(), window.removeEventListener("resize", this._handleWindowResize), this._cancelHoverOpen(), this._safeTriangle.stop(), this._typeaheadTimer !== null && (clearTimeout(this._typeaheadTimer), this._typeaheadTimer = null), this._cleanupAutoUpdate?.(), this._cleanupAutoUpdate = null;
|
|
586
594
|
}
|
|
587
595
|
_getVisibleItems() {
|
|
588
596
|
return Array.from(this.querySelectorAll("nldd-menu-item:not([hidden]):not([disabled])")).filter((e) => e.closest("nldd-menu") === this);
|
|
@@ -630,7 +638,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
630
638
|
});
|
|
631
639
|
}
|
|
632
640
|
filter(e, { hide: t = !0 } = {}) {
|
|
633
|
-
|
|
641
|
+
T(this, "filtered", !0), Array.from(this.querySelectorAll("nldd-menu-item")).forEach((n) => {
|
|
634
642
|
let r = !t || !e || this.filterFn(e, n);
|
|
635
643
|
n.toggleAttribute("hidden", !r), n.query = r && e ? e : "";
|
|
636
644
|
}), this._updateGroupVisibility(), this._setHighlight(null), this._updateEmptyState(), this._updateDividerVisibility(), this._isOpen && this.reposition();
|
|
@@ -640,7 +648,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
640
648
|
if (this._announceResultsTimer = 0, !this.isConnected || !this.matches(":popover-open")) return;
|
|
641
649
|
let e = Array.from(this.querySelectorAll("nldd-menu-item:not([hidden])")).filter((e) => e.closest("nldd-menu") === this).length, t;
|
|
642
650
|
t = e === 0 ? ((this.shadowRoot?.querySelector("slot[name=\"empty\"]"))?.assignedNodes({ flatten: !0 }) ?? []).map((e) => e.textContent ?? "").join(" ").trim() || this._resolvedEmptyText : e === 1 ? this._t("components.menu.one-result-text") : this._t("components.menu.results-text", { count: e }), this._announce(t);
|
|
643
|
-
},
|
|
651
|
+
}, K);
|
|
644
652
|
}
|
|
645
653
|
_updateGroupVisibility() {
|
|
646
654
|
this.querySelectorAll("nldd-menu-group").forEach((e) => {
|
|
@@ -682,7 +690,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
682
690
|
}
|
|
683
691
|
async reposition() {
|
|
684
692
|
let e = this._getAnchorEl();
|
|
685
|
-
if (!e || !this._isOpen) return;
|
|
693
|
+
if (!e || !this._isOpen || !this.matches(":popover-open")) return;
|
|
686
694
|
let t = this._cssPx("--_menu-viewport-margin"), n = this._isSubmenu && !this._drillInMode ? this._cssPx("--_menu-padding") : 0, r = this._drillInMode, i = r ? this._resolveDrillInPlacement(e) : this.placement, { x: u, y: d } = await o(e, this, {
|
|
687
695
|
placement: i,
|
|
688
696
|
middleware: [
|
|
@@ -711,7 +719,7 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
711
719
|
let n = this._getVisibleItems(), r = n.findIndex((e) => e.matches(":focus-within"));
|
|
712
720
|
if (r === -1 || r !== (e.shiftKey ? 0 : n.length - 1)) return !1;
|
|
713
721
|
e.preventDefault(), e.stopPropagation();
|
|
714
|
-
let i = e.shiftKey ? t :
|
|
722
|
+
let i = e.shiftKey ? t : V(t, this);
|
|
715
723
|
return this.hidePopover(), (i ?? t).focus(), !0;
|
|
716
724
|
}
|
|
717
725
|
_isAnchor(e) {
|
|
@@ -735,29 +743,33 @@ var U = 500, W = 40, G = .1, K = 150, q = class e extends t {
|
|
|
735
743
|
return p.call(this, this._isEmpty, this.variant);
|
|
736
744
|
}
|
|
737
745
|
};
|
|
738
|
-
|
|
746
|
+
U = X, U.styles = f, U._drillInModeQuery = null, U._menuIdCounter = 0, U._TYPEAHEAD_RESET_MS = 500, n([i({
|
|
739
747
|
reflect: !0,
|
|
740
748
|
converter: d("menu")
|
|
741
|
-
})],
|
|
749
|
+
})], X.prototype, "variant", void 0), n([i({ type: String })], X.prototype, "width", void 0), n([i({
|
|
750
|
+
type: Boolean,
|
|
751
|
+
reflect: !0,
|
|
752
|
+
attribute: "no-blink"
|
|
753
|
+
})], X.prototype, "noBlink", void 0), n([i({
|
|
742
754
|
reflect: !0,
|
|
743
755
|
converter: d("")
|
|
744
|
-
})],
|
|
756
|
+
})], X.prototype, "anchor", void 0), n([i({ attribute: !1 })], X.prototype, "anchorElement", void 0), n([i({ attribute: "accessible-label" })], X.prototype, "accessibleLabel", void 0), n([i({
|
|
745
757
|
reflect: !0,
|
|
746
758
|
converter: d("bottom-start")
|
|
747
|
-
})],
|
|
759
|
+
})], X.prototype, "placement", void 0), n([i({ attribute: !1 })], X.prototype, "anchorOffset", void 0), n([i({
|
|
748
760
|
type: Number,
|
|
749
761
|
attribute: "max-items"
|
|
750
|
-
})],
|
|
762
|
+
})], X.prototype, "maxItems", void 0), n([i({
|
|
751
763
|
reflect: !0,
|
|
752
764
|
attribute: "empty-text",
|
|
753
765
|
converter: d("")
|
|
754
|
-
})],
|
|
766
|
+
})], X.prototype, "emptyText", void 0), n([i({
|
|
755
767
|
reflect: !0,
|
|
756
768
|
attribute: "empty-supporting-text",
|
|
757
769
|
converter: d("")
|
|
758
|
-
})],
|
|
770
|
+
})], X.prototype, "emptySupportingText", void 0), n([i({ type: Object })], X.prototype, "translations", void 0), n([i({ attribute: !1 })], X.prototype, "filterFn", void 0), n([i({
|
|
759
771
|
type: Boolean,
|
|
760
772
|
reflect: !0,
|
|
761
773
|
attribute: "debug-safe-triangle"
|
|
762
|
-
})],
|
|
763
|
-
export {
|
|
774
|
+
})], X.prototype, "debugSafeTriangle", void 0), n([r()], X.prototype, "_isEmpty", void 0), n([r()], X.prototype, "_hasHeader", void 0), n([r()], X.prototype, "_hasFooter", void 0), n([r()], X.prototype, "_parentItem", void 0), customElements.get("nldd-menu") || customElements.define("nldd-menu", X);
|
|
775
|
+
export { H as t };
|