@loadsmart/miranda-wc 3.23.0-alpha.1 → 3.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-circle-DUC9alAp-Ctkutyu0.js → add-circle-C5CZG77Q--0gi8VlH.js} +1 -1
- package/dist/{alarm-BaGj0N2--Cfu4UXiK.js → alarm-CyP8Zxl6-Cv1I0iuz.js} +1 -1
- package/dist/{alert-blocked-7Pq9aiIm-DCnmigRx.js → alert-blocked-q7Zp_A_k-By0UsW6L.js} +1 -1
- package/dist/{alert-circle-DPjFhwuE-BHDwRdgh.js → alert-circle-cGWLbr5S-BX0GjUvn.js} +1 -1
- package/dist/{anchor-BOowxXQz-DR0innL6.js → anchor-DMVPKiNp-Bcv7oliG.js} +1 -1
- package/dist/{archive-DCVFqmKd-B_rLyoe7.js → archive-pnDTQb8E-DmKDgPLo.js} +1 -1
- package/dist/{arrow-left-UQ1azG0M-DcM92hhZ.js → arrow-left-BRWAN9cz-sl8qdM54.js} +1 -1
- package/dist/{arrow-right-D9ODrfAT-JmxAxKvq.js → arrow-right-CKSu48Gw-BxEyjRAs.js} +1 -1
- package/dist/{arrow-sort-down-DyaC4vSu-eb6U4MyY.js → arrow-sort-down-CmrMg0Lk-Beh3GI9k.js} +1 -1
- package/dist/{arrow-sort-up-D3rkqbKD-qq4serZu.js → arrow-sort-up-CyAjlRVj-PpiGfxri.js} +1 -1
- package/dist/{arrow-sort-up-down-BkqHwWw9-B-1pqvab.js → arrow-sort-up-down-Bbhd8jcg-ClMtpmet.js} +1 -1
- package/dist/{asterisk-ZHV7R7s1-DiF_TVwM.js → asterisk-DTLJw6bW-CTWu1BAE.js} +1 -1
- package/dist/{attention-Bktk81gv-DML6s-Jf.js → attention-DMjDy0He-C3aC3hgk.js} +1 -1
- package/dist/{automatic-C_cPnNpn-CvhswXY5.js → automatic-BUR8oJBN-Cm_gqkkG.js} +1 -1
- package/dist/{bank-AfsU0_8a-BGA3FkwI.js → bank-CQlFVkDh-BAcI5tYa.js} +1 -1
- package/dist/{bell-BeboL9IG-D28zokT6.js → bell-BTxoQTPC-DByvKjAG.js} +1 -1
- package/dist/{bell-cancel-Ca9tfyFs-Bt6GSXZe.js → bell-cancel-CDBcDkA0-BcQcn1T5.js} +1 -1
- package/dist/{blind-bol-buLUijt0-DNVTpLkE.js → blind-bol-CZqV1V1H-hwaB8kOJ.js} +1 -1
- package/dist/{board-C7-8ym4Q-Cg3lcwyQ.js → board-aLtjKIeA-ClFqL88H.js} +1 -1
- package/dist/{bol-CfGOF64d-CQcAMXut.js → bol-BJJ-J0up-LpEqEohs.js} +1 -1
- package/dist/{bolt-6Jcu4Dlq-B3U94E3R.js → bolt-COqZMKNg-CIdw_4Vd.js} +1 -1
- package/dist/{bolt-off-BcH48taL-CBm4G2JC.js → bolt-off-B3AdWcSp-B1tGuixu.js} +1 -1
- package/dist/{box-DCc-Lqkq-DHy_z_e8.js → box-zuHa6HR_-DmgpVEkJ.js} +1 -1
- package/dist/{broadcast-DycP-JY_-ClndtLLH.js → broadcast-TK_dz7aR-BoTyBN7l.js} +1 -1
- package/dist/{burguer-menu-Asv06-tR-BVuCMF0m.js → burguer-menu-Dzj6LZLQ-BTtSxm2c.js} +1 -1
- package/dist/{calendar-Dx_9TSsr-BTlCmP7D.js → calendar-CKJ9R1M3-B86kfAWO.js} +1 -1
- package/dist/{camera-Czlcg8L7-CFRyxtSV.js → camera-CYHpPv-X-BaKAjHut.js} +1 -1
- package/dist/{canada-flag-CfJo38yD-ByEmeJzp.js → canada-flag-Bvts7NVw-D-dqV3S6.js} +1 -1
- package/dist/{caret-down-BVaLyzKU-RffKGWan.js → caret-down-ET7jPJj6-aWI9Una3.js} +1 -1
- package/dist/{caret-left-BDnpJFoh-1rjAWHKD.js → caret-left-CJrTMxle-BWv1Ck1w.js} +1 -1
- package/dist/{caret-right-iJvAGCHE-CiowNQN_.js → caret-right-CO6tAHy3-3jCu4HLy.js} +1 -1
- package/dist/{caret-up-9pIV6ltV-C3MRuW6S.js → caret-up-adKoit-d-BkagvV-_.js} +1 -1
- package/dist/{carrier-contract-DW2sjcCT-xrs1cXJe.js → carrier-contract-DDIOZYTO-Clgg2Z00.js} +1 -1
- package/dist/{chat-DGQ6mScP-Bxxm32Gl.js → chat-D9O27Wlg-CF1rHN6y.js} +1 -1
- package/dist/{check-Cni8S44c-DgtR9k8w.js → check-BFXJiLFA-CW-fTkD8.js} +1 -1
- package/dist/{clip-DM4Wpi9M-COBBYMI8.js → clip-P341vUQy-DKBCqrIM.js} +1 -1
- package/dist/{clock-CFBsWldY-DkTtudeU.js → clock-C2caSs-m-D0OK2cnS.js} +1 -1
- package/dist/{clown-DFK7bIK4-esEEQUDv.js → clown-DmUuLLk4-B-VQZ2Iy.js} +1 -1
- package/dist/{code-DmezwyM4-bhrz1LoD.js → code-ChXBeKNh-BPF0qsNz.js} +1 -1
- package/dist/{comment-CjEoGy-K-BJhLaeEW.js → comment-DRU7wtDh-Cc9EJPLO.js} +1 -1
- package/dist/{company-DqCQwhbF-CsQh03Ye.js → company-DWk-jnfV-CD3lFwF_.js} +1 -1
- package/dist/components/dropdown/dropdown-menu.d.ts +0 -1
- package/dist/components/dropdown/dropdown.constants.d.ts +3 -0
- package/dist/components/dropdown/dropdown.d.ts +3 -2
- package/dist/components/dropdown/dropdown.styles.d.ts +1 -5
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/popover.d.ts +2 -5
- package/dist/components/popover/popover.styles.d.ts +3 -9
- package/dist/components/select/select.constants.d.ts +3 -0
- package/dist/components/select/select.d.ts +0 -10
- package/dist/components/select/select.styles.d.ts +0 -3
- package/dist/components/tooltip/tooltip.d.ts +1 -3
- package/dist/{confetti-CZEHLeVv-CI_o73OB.js → confetti-DN5YrZtA-_hfS77iq.js} +1 -1
- package/dist/{contract-BQ6z-O8E-D9dASOaG.js → contract-Cyc9s58T-ClAaUAYp.js} +1 -1
- package/dist/controllers/focus-manager/focus-manager.controller.d.ts +13 -22
- package/dist/controllers/focus-manager/index.d.ts +0 -2
- package/dist/{copy-D5yGaYk7-B6zcJ3-G.js → copy-j_CeO5j1-DbtTTDz3.js} +1 -1
- package/dist/{corner-down-Qmk_Cqah-CLZZk4xc.js → corner-down-1Myalil_-DN9WOVgU.js} +1 -1
- package/dist/{corner-down-r-CwJXOJqV-B0NKbegi.js → corner-down-r-C7krDHJc-Bu7wWUuU.js} +1 -1
- package/dist/{corner-up-PRIgBw5O-CqK2tbRG.js → corner-up-BTXOtxnq-BLDMeVNE.js} +1 -1
- package/dist/{credit-card-CPp_LFTs-DgKoFmyu.js → credit-card-CRCi9Dc8-BddrFZWI.js} +1 -1
- package/dist/{delivery-BmLufTih-BRjR93HI.js → delivery-7Oi3CKNv-uc9hKOrk.js} +1 -1
- package/dist/{dislike-DMXIEtzt-CLgA28z9.js → dislike-D1sqCnIX-_HjKu1iN.js} +1 -1
- package/dist/{document-csv-BmSu3fps-Dlcarqn_.js → document-csv-oxxbZVF7-CEiIGVyN.js} +1 -1
- package/dist/{document-file-BUqnmujz-DMuP94RV.js → document-file-CE5ecStB-DR8vNFa7.js} +1 -1
- package/dist/{document-file-plus-DOQYUKtV-vonJyqMU.js → document-file-plus-CCj1Qvd6-CiOrJdkx.js} +1 -1
- package/dist/{document-image-BgYsKz7H-Ch2cDD2e.js → document-image-BQu_wEtn-DGnevApz.js} +1 -1
- package/dist/{dollar-CFykJiF6-MNus7vKJ.js → dollar-C3wdHOZl-CHz0JibF.js} +1 -1
- package/dist/{dollar-circle-BVOsgQj2-3Mj7Cpkq.js → dollar-circle-Ddk376Gg-2im7Lgzn.js} +1 -1
- package/dist/{dots-horizontal-Bl3xu7Nf-Dp90vlZY.js → dots-horizontal-BlIObsKU-zgBIqnyP.js} +1 -1
- package/dist/{dots-vertical-40mkkgZI-hrxBYHCb.js → dots-vertical-k5xFcwIu-CQart2W-.js} +1 -1
- package/dist/{double-caret-left-oyqAcM6D-DEOJgqt1.js → double-caret-left-CjLyeUd--BQWoEdR8.js} +1 -1
- package/dist/{double-caret-right-CaEFAJUV-C2IsPG-E.js → double-caret-right-7PMhIXE9-BlOqvo_5.js} +1 -1
- package/dist/{down--KKq0yxa-BcM4MuB6.js → down-BnFQb3XZ-OLcQxPUc.js} +1 -1
- package/dist/{download-CAudqhnU-DW6EIePg.js → download-Do14r3qE-C4osreOh.js} +1 -1
- package/dist/{drop-trailer-DlAJ_vBQ-Ck7EN0yS.js → drop-trailer-Bz7LYaXa-cTPqiqRU.js} +1 -1
- package/dist/{dropdown-C28rTIS0-BvGBrqaj.js → dropdown-Bs3mrz2x-4EqCdQwv.js} +1 -1
- package/dist/{email-filled-1VNy1i0o-OAu5sjU1.js → email-filled-Ib6vSSpF-DJQwLoAm.js} +1 -1
- package/dist/{email-C1bySA3E-EG_ZHEpG.js → email-sSntT_Db-BRKswRoW.js} +1 -1
- package/dist/{export-CLVug2kl-CMHi_2FU.js → export-B6qVJDet-CuIKALsw.js} +1 -1
- package/dist/{eye-BMtHMF-7-CUaSlRL2.js → eye-CvKzelpb-BwX8wGfM.js} +1 -1
- package/dist/{fast-CTEZutx8-ByJQVdRY.js → fast-DFs8Vck6-CGliSXrU.js} +1 -1
- package/dist/{favorite-CdnL57Ww-DI1TnxFE.js → favorite-CVS0mRwO-BDwCvjrT.js} +1 -1
- package/dist/{file-BxDR4QmX-CsE1lR7T.js → file-BomGbT3S-B-9Wix9N.js} +1 -1
- package/dist/{filter-Db0Nlr5s-DyM8rY9A.js → filter-BgtQFowd-CmO5IA0A.js} +1 -1
- package/dist/{flag-Doxn1CNj-CaRdTGRC.js → flag-DOUKKNuK-D4TgDcv0.js} +1 -1
- package/dist/{folder-B8oJf4Cn-DCA-hiDB.js → folder-BiaiDHsc-CecrePqM.js} +1 -1
- package/dist/{funnel-Srs4aUjO-BHAQTjg_.js → funnel-BW6HCB61-CYvL7M0m.js} +1 -1
- package/dist/{gear-BAAJETHP-7vEQENh-.js → gear-B_hGAVA7-87P31evL.js} +1 -1
- package/dist/{graph-BE58cOAU-DdTsJssn.js → graph-CEsr42RI-CM6dkroH.js} +1 -1
- package/dist/{hand-BgYtdVrD-DLmIWymE.js → hand-4ybtavNz-CcBoksi_.js} +1 -1
- package/dist/{hand-tap-5_UTZG9m-UqS7SY2C.js → hand-tap-B4Et1ymq-B_Tj4k9F.js} +1 -1
- package/dist/{high-signal-B3r2CcQv-4W-4vOBy.js → high-signal-CRsfjD8h-Bo_zU9SB.js} +1 -1
- package/dist/{history-CNYIllfK-DO2V5LpM.js → history-BUA_kYSU-FsZyek6w.js} +1 -1
- package/dist/{home-Cy8LsN5j-CqkzAESq.js → home-CDbXj8SJ-TD7GiCR0.js} +1 -1
- package/dist/{hourglass-1JnprXU6-BObLbaZW.js → hourglass-sG5QE8qB-FopfR-m2.js} +1 -1
- package/dist/{import-2-CkJjxM_j-Lf255DxR.js → import-2-BQzYJT1j-CKa45bfg.js} +1 -1
- package/dist/{import-rhDUm5Dy-DZmGJV6I.js → import-CpZfll3l-BUXElyG6.js} +1 -1
- package/dist/{indeterminate-BZ0acJ1--axSk5I8y.js → indeterminate-BM1GmESx-BqQMX6rr.js} +1 -1
- package/dist/{index-DaIT7YFO.js → index-BNaI3x4f.js} +446 -909
- package/dist/index.js +1 -1
- package/dist/{info-CXMYCD_g-CXO89mrj.js → info-C2NIoStv-CwD9znVQ.js} +1 -1
- package/dist/{invoice-CugnzNUF-CyvesXB7.js → invoice-Eiu4J-yI-B_LLW9jo.js} +1 -1
- package/dist/{invoice-items-CGz7rmum-Bhy0TYpG.js → invoice-items-1safxj-W-CQeCYJY6.js} +1 -1
- package/dist/{kanban-BW05GStl-D88mZ1uL.js → kanban-D1czVvgo-CbN40luv.js} +1 -1
- package/dist/{light-bulb-CJYecBFg-BvJzaGIS.js → light-bulb-juJvGfZZ-D2n-zv9o.js} +1 -1
- package/dist/{like-QtHFzoZl-ByNxod9X.js → like-CDk1Eq-B-hTWV7_el.js} +1 -1
- package/dist/{link-C2K5IFfc-BJLgNy3b.js → link-CtzKePzW-D5ebWH9A.js} +1 -1
- package/dist/{list-qb6yfepc-DbCwb8-1.js → list-B5ppYWf8-D_VCPEeY.js} +1 -1
- package/dist/{loadsmart-logo-DD7mf5RA-CluOgWNu.js → loadsmart-logo-D-Umqpvn-Bgx__Aa-.js} +1 -1
- package/dist/{log-out-D7IEO_4w-ByKaYHyn.js → log-out-B41_O6WF-DegNZ0fK.js} +1 -1
- package/dist/{low-signal-CCApieja-DoxGKmkL.js → low-signal-mu1iPs24-Bvf05M6P.js} +1 -1
- package/dist/{map-DkdQQaHz-DKfXFt5h.js → map-DxwLwi5r-BY5ZDg3w.js} +1 -1
- package/dist/{medal-CFck2Vo9-C7pfNLEO.js → medal-CBsl8HFi-DVceL3Mw.js} +1 -1
- package/dist/{megaphone-F4dIKI-R-D2Mt3_H_.js → megaphone-xj1cRrob-CUrdI6M5.js} +1 -1
- package/dist/{mexico-flag-B5V_6xOg-BhclLFWr.js → mexico-flag-BmBwsYxY-qjReDDef.js} +1 -1
- package/dist/{minus-BFZ6IG9o-nW_lBEqu.js → minus-Cynpy0uu-BTZLBag8.js} +1 -1
- package/dist/{network-signal-Bb_xHR-r-BPLm4LFo.js → network-signal-DRnIASxY-hPjxNG-F.js} +1 -1
- package/dist/{no-awarded-_pC45l2Z-CaUJY35X.js → no-awarded-D7VWZare-BfOy6wbe.js} +1 -1
- package/dist/{notes-D0DnYYDF-BQO7kP2s.js → notes-EklJGrPE-CqWKNHTg.js} +1 -1
- package/dist/{notes-lock-C4iIdCWW-yVuCl4DX.js → notes-lock-CWy8CWH7-8wrr9bMj.js} +1 -1
- package/dist/{order-D6iD-byD-CTQJvwh_.js → order-aNev5nyR-Dul2Tlu9.js} +1 -1
- package/dist/{package-tracking-VlPDjmKG-Bv-yuZP0.js → package-tracking-DAjMkdDV-BPwSSCIS.js} +1 -1
- package/dist/{padlock-Cr-9ZU_A-CRg8ucks.js → padlock-CgI0Uupk-CYko9NTl.js} +1 -1
- package/dist/{padlock-open-l4wBXg6b-uw-GO5k0.js → padlock-open-CdifcEIy-C6YefEze.js} +1 -1
- package/dist/{pencil-ayTIIr8--BaWHtrdJ.js → pencil-D-G9Wa9K-ClWRhX8W.js} +1 -1
- package/dist/{phone-BTCU0Wy1-cewlAn1q.js → phone-DtPE_Z2v-DIKvvNI7.js} +1 -1
- package/dist/{pin-filled-DSa95Sh1-DymPmEl2.js → pin-filled-BrhKKOdN-BAMr6aj-.js} +1 -1
- package/dist/{pin-map-BkHB4tNw-gLWuB7Vy.js → pin-map-BkTZPYt1-BvBzkWV7.js} +1 -1
- package/dist/{pin-Bn3yTC_u-C9wnB7-L.js → pin-xZsWdXmM-DP9FVbYS.js} +1 -1
- package/dist/{plugs-zfSg1YW9-BqEk5mMe.js → plugs-BBgNl-uU-DlpcQ2_J.js} +1 -1
- package/dist/{plus-ozGMFMAz-DQ-c8t1w.js → plus-DxcPEsVO-DWZImTiV.js} +1 -1
- package/dist/{pod-ThCZ5RL3-BPEzs_Wa.js → pod-D8hsnvJ3-SKZfzrEV.js} +1 -1
- package/dist/{pre-confirmed-load-Bwr-dWH2-BAxCwo9T.js → pre-confirmed-load-CtfeOCYU-BqkqgwbN.js} +1 -1
- package/dist/{print-D1P_UCUE-CLd1OBvt.js → print-CL8Vj4GX-Ba0Rfu7T.js} +1 -1
- package/dist/{profile-BAhtRV-H-jVlIJFPY.js → profile-BJby3iCY-iD_X45fH.js} +1 -1
- package/dist/{question-dot-gWpkPf6c-Df6oW4RR.js → question-dot-dxHwsnx--DIZBs1LG.js} +1 -1
- package/dist/{receipt-BwBkV8gn-CYbcBIjy.js → receipt-BDTlql0N-CJ-CZGku.js} +1 -1
- package/dist/{redo-ByLKSZcV-BYLRRGjW.js → redo-lRFPmbD_-BSfyh9Im.js} +1 -1
- package/dist/{refresh-Dom4yiat-BGP2kWUA.js → refresh-DsPShlYW-B2v4tXZH.js} +1 -1
- package/dist/{reloading-CltA-FOS-BQoguQTN.js → reloading-Whmp4x7F-BldzVGD8.js} +1 -1
- package/dist/{road-B0mpmfpO-E_icjN68.js → road-B_IjFqpU-CP81BUnE.js} +1 -1
- package/dist/{round-trip-CJ6rlpuR-CJYnmh0V.js → round-trip-CZt2wg2s-Ccrv6Oz7.js} +1 -1
- package/dist/{satellite-B6YyzjV9-DOI-6Xw6.js → satellite-BcK4XqCU-CQObgXmG.js} +1 -1
- package/dist/{search-CEuIfz1B-DhiljDTp.js → search-CmOXP39p-CGS83zDD.js} +1 -1
- package/dist/{send-DGyddefp-DFc_4lvT.js → send-uQKs3Nz2-oOlrNqYO.js} +1 -1
- package/dist/{share-C6k81f3b-BrbXt8nv.js → share-ULuh_5j--BJU8Zvw4.js} +1 -1
- package/dist/{ship-C4UkiVeP-BeYgOYUm.js → ship-uXqn1PRV-BVP2CBTB.js} +1 -1
- package/dist/{signal-DAhLkSYH-DaMubJTS.js → signal-DNd7ZXxZ-NOdYXNlA.js} +1 -1
- package/dist/{sparkle-pS82Zae1-D6ZHUoli.js → sparkle-C0_KLrse-D99BAKch.js} +1 -1
- package/dist/{star-DR6uwE4h-Csmiwd7-.js → star-BCMp6xLn-BujC9TD2.js} +1 -1
- package/dist/{swap-BtTQYKMg-9ISYqXD4.js → swap-4kVMGb8W-B6icT5By.js} +1 -1
- package/dist/{tag-IL1JfL1C-CfkMrgmj.js → tag-Dbvqw_0i-CXIb0MOT.js} +1 -1
- package/dist/{tag-chevron-DoDGVtfR-CzH_-ZmJ.js → tag-chevron-DyMa_ivR-BrE6uZYL.js} +1 -1
- package/dist/{telephone-YrI9UwiG-y6pEfXiw.js → telephone-CGWecdDa-Drba64_2.js} +1 -1
- package/dist/{telephone-slash-BZap8ZKk-C0wOmUxT.js → telephone-slash-CjnG40rr-D5DhzOFa.js} +1 -1
- package/dist/{terminal-s52u0ofd-C8hA6hUg.js → terminal-BU2O_2dX-CaJxdu7q.js} +1 -1
- package/dist/{timer-Br-HDx_b-Du5qJ-S7.js → timer-uB5-42oS-CZNMmRml.js} +1 -1
- package/dist/{tms-ready-D0C0lkjm-DIiOX7ps.js → tms-ready-4wJduyQX-B7SNv27A.js} +1 -1
- package/dist/{train-D4LRq2PY-JKTM_Ph2.js → train-DDGH-b9H-DIegVSoV.js} +1 -1
- package/dist/{trash-3UNIllFc-C3PxOS5Z.js → trash-DXbuipWA-DWbVLtPZ.js} +1 -1
- package/dist/{trend-down-BDR4cf1B-jsGarK52.js → trend-down-Cmku22zF-BtvXlMb0.js} +1 -1
- package/dist/{trend-up-B_kfsVbA-CDi-eu3L.js → trend-up-BaV6JoRm-BVC1Z9ip.js} +1 -1
- package/dist/{trophee-CAwY7HPq-D-nPg_oa.js → trophee-K1cFUToB-DjKHIy2z.js} +1 -1
- package/dist/{truck-JWZ6uNC1-Ci9r7Npj.js → truck-CyYshCvB-BGIkQ_nm.js} +1 -1
- package/dist/truckload-BuNTTF10-nw28MKXj.js +6 -0
- package/dist/{unarchive-Dk6YxGuz-yAM9N7_O.js → unarchive-BdxMLGKF-Cne-Nrp_.js} +1 -1
- package/dist/{undo-D22pWaLw-uTPkcxA0.js → undo-D_JUFtL7-CQzGJxeF.js} +1 -1
- package/dist/{united-states-flag-CsHL9bsp-CvWWbbE4.js → united-states-flag-DistuceF-DF1vAgkd.js} +1 -1
- package/dist/{up-DO_i3SQ4-BxR4RWhC.js → up-B2YYkNsZ-BfhkqzTx.js} +1 -1
- package/dist/{upgrade-CnbgCK-Y-IS-CWzsq.js → upgrade-Bk3Cmbfi-jEMV7jww.js} +1 -1
- package/dist/{upload-DtwRfNbp-BcL4xTMt.js → upload-eRCnmhJL-Q-kOwKGu.js} +1 -1
- package/dist/{user-BePsqno7-DX0UPGtB.js → user-DlAoP5wu-FXblEGoD.js} +1 -1
- package/dist/{wallet-BWOwCd2Q-B-9iso7p.js → wallet-BfC41f7v-Cp11Qdo7.js} +1 -1
- package/dist/{warehouse-CqDssJJV-PIr5jujD.js → warehouse-C1NpX4x7-DqAHHkaF.js} +1 -1
- package/dist/website-visibility-Cm79KTVY-DGuGkffz.js +6 -0
- package/dist/{wifi-Dt8207Jw-CBA9QF73.js → wifi-6CmnWuyt-DT_1_uEp.js} +1 -1
- package/dist/{wifi-off-B_p79YVu-CPNxFyag.js → wifi-off-9WwqaEGe-D-8Wglb3.js} +1 -1
- package/dist/{x-B2033JKZ-BCx65oiR.js → x-ooA6Tcn9-CJlqqwZZ.js} +1 -1
- package/dist/{x-small-C9YOZeBE-LCAFtW_J.js → x-small-DnsMuXB4-DEhSGR85.js} +1 -1
- package/dist/{zoom-in-CVkDSwyt-BNbYI4RI.js → zoom-in-Cke6gMw8-BrHgoYKR.js} +1 -1
- package/dist/{zoom-out-DqHlySLS-C2mHlT5x.js → zoom-out-BdmC2eOs-Bq0FaoZu.js} +1 -1
- package/package.json +3 -3
- package/dist/controllers/expandable/expandable.controller.d.ts +0 -19
- package/dist/controllers/expandable/expandable.styles.d.ts +0 -19
- package/dist/controllers/expandable/index.d.ts +0 -3
- package/dist/controllers/focus-manager/roving-focus.controller.d.ts +0 -27
- package/dist/utils/string.d.ts +0 -6
|
@@ -158,7 +158,7 @@ function isInsideElement(event, element) {
|
|
|
158
158
|
return element.contains(event.target);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
const logger$
|
|
161
|
+
const logger$d = createLogger('miranda');
|
|
162
162
|
class Component extends r$5 {
|
|
163
163
|
static define(config) {
|
|
164
164
|
const { name, constructor } = config;
|
|
@@ -166,7 +166,7 @@ class Component extends r$5 {
|
|
|
166
166
|
window.customElements.define(name, constructor);
|
|
167
167
|
}
|
|
168
168
|
catch (error) {
|
|
169
|
-
logger$
|
|
169
|
+
logger$d.error(`Failed to define component ${name}: ${error}. Please, ensure definitions are compatible so the application does not break or have bugs due to overridden definitions.`);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
constructor() {
|
|
@@ -1020,7 +1020,7 @@ function typography(variant) {
|
|
|
1020
1020
|
return r$8(`${defaultStyle}\n${variantStyle}`);
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
1023
|
-
function styles$
|
|
1023
|
+
function styles$H() {
|
|
1024
1024
|
return i$9 `
|
|
1025
1025
|
:host {
|
|
1026
1026
|
background-color: ${getColor('color-background-primary')};
|
|
@@ -1388,7 +1388,7 @@ function toCSSValue(token, alpha) {
|
|
|
1388
1388
|
return `var(${toCSSVariable(token)}, ${value})`;
|
|
1389
1389
|
}
|
|
1390
1390
|
|
|
1391
|
-
function styles$
|
|
1391
|
+
function styles$G() {
|
|
1392
1392
|
return [
|
|
1393
1393
|
i$3 `
|
|
1394
1394
|
:host {
|
|
@@ -1426,171 +1426,173 @@ function styles$F() {
|
|
|
1426
1426
|
|
|
1427
1427
|
function __variableDynamicImportRuntime0__(path) {
|
|
1428
1428
|
switch (path) {
|
|
1429
|
-
case './icons/add-circle.ts': return import('./add-circle-
|
|
1430
|
-
case './icons/alarm.ts': return import('./alarm-
|
|
1431
|
-
case './icons/alert-blocked.ts': return import('./alert-blocked-
|
|
1432
|
-
case './icons/alert-circle.ts': return import('./alert-circle-
|
|
1433
|
-
case './icons/anchor.ts': return import('./anchor-
|
|
1434
|
-
case './icons/archive.ts': return import('./archive-
|
|
1435
|
-
case './icons/arrow-left.ts': return import('./arrow-left-
|
|
1436
|
-
case './icons/arrow-right.ts': return import('./arrow-right-
|
|
1437
|
-
case './icons/arrow-sort-down.ts': return import('./arrow-sort-down-
|
|
1438
|
-
case './icons/arrow-sort-up-down.ts': return import('./arrow-sort-up-down-
|
|
1439
|
-
case './icons/arrow-sort-up.ts': return import('./arrow-sort-up-
|
|
1440
|
-
case './icons/asterisk.ts': return import('./asterisk-
|
|
1441
|
-
case './icons/attention.ts': return import('./attention-
|
|
1442
|
-
case './icons/automatic.ts': return import('./automatic-
|
|
1443
|
-
case './icons/bank.ts': return import('./bank-
|
|
1444
|
-
case './icons/bell-cancel.ts': return import('./bell-cancel-
|
|
1445
|
-
case './icons/bell.ts': return import('./bell-
|
|
1446
|
-
case './icons/blind-bol.ts': return import('./blind-bol-
|
|
1447
|
-
case './icons/board.ts': return import('./board-
|
|
1448
|
-
case './icons/bol.ts': return import('./bol-
|
|
1449
|
-
case './icons/bolt-off.ts': return import('./bolt-off-
|
|
1450
|
-
case './icons/bolt.ts': return import('./bolt-
|
|
1451
|
-
case './icons/box.ts': return import('./box-
|
|
1452
|
-
case './icons/broadcast.ts': return import('./broadcast-
|
|
1453
|
-
case './icons/burguer-menu.ts': return import('./burguer-menu-
|
|
1454
|
-
case './icons/calendar.ts': return import('./calendar-
|
|
1455
|
-
case './icons/camera.ts': return import('./camera-
|
|
1456
|
-
case './icons/canada-flag.ts': return import('./canada-flag-
|
|
1457
|
-
case './icons/caret-down.ts': return import('./caret-down-
|
|
1458
|
-
case './icons/caret-left.ts': return import('./caret-left-
|
|
1459
|
-
case './icons/caret-right.ts': return import('./caret-right-
|
|
1460
|
-
case './icons/caret-up.ts': return import('./caret-up-
|
|
1461
|
-
case './icons/carrier-contract.ts': return import('./carrier-contract-
|
|
1462
|
-
case './icons/chat.ts': return import('./chat-
|
|
1463
|
-
case './icons/check.ts': return import('./check-
|
|
1464
|
-
case './icons/clip.ts': return import('./clip-
|
|
1465
|
-
case './icons/clock.ts': return import('./clock-
|
|
1466
|
-
case './icons/clown.ts': return import('./clown-
|
|
1467
|
-
case './icons/code.ts': return import('./code-
|
|
1468
|
-
case './icons/comment.ts': return import('./comment-
|
|
1469
|
-
case './icons/company.ts': return import('./company-
|
|
1470
|
-
case './icons/confetti.ts': return import('./confetti-
|
|
1471
|
-
case './icons/contract.ts': return import('./contract-
|
|
1472
|
-
case './icons/copy.ts': return import('./copy-
|
|
1473
|
-
case './icons/corner-down-r.ts': return import('./corner-down-r-
|
|
1474
|
-
case './icons/corner-down.ts': return import('./corner-down-
|
|
1475
|
-
case './icons/corner-up.ts': return import('./corner-up-
|
|
1476
|
-
case './icons/credit-card.ts': return import('./credit-card-
|
|
1477
|
-
case './icons/delivery.ts': return import('./delivery-
|
|
1478
|
-
case './icons/dislike.ts': return import('./dislike-
|
|
1479
|
-
case './icons/document-csv.ts': return import('./document-csv-
|
|
1480
|
-
case './icons/document-file-plus.ts': return import('./document-file-plus-
|
|
1481
|
-
case './icons/document-file.ts': return import('./document-file-
|
|
1482
|
-
case './icons/document-image.ts': return import('./document-image-
|
|
1483
|
-
case './icons/dollar-circle.ts': return import('./dollar-circle-
|
|
1484
|
-
case './icons/dollar.ts': return import('./dollar-
|
|
1485
|
-
case './icons/dots-horizontal.ts': return import('./dots-horizontal-
|
|
1486
|
-
case './icons/dots-vertical.ts': return import('./dots-vertical-
|
|
1487
|
-
case './icons/double-caret-left.ts': return import('./double-caret-left-
|
|
1488
|
-
case './icons/double-caret-right.ts': return import('./double-caret-right-
|
|
1489
|
-
case './icons/down.ts': return import('./down
|
|
1490
|
-
case './icons/download.ts': return import('./download-
|
|
1491
|
-
case './icons/drop-trailer.ts': return import('./drop-trailer-
|
|
1492
|
-
case './icons/dropdown.ts': return import('./dropdown-
|
|
1493
|
-
case './icons/email-filled.ts': return import('./email-filled-
|
|
1494
|
-
case './icons/email.ts': return import('./email-
|
|
1495
|
-
case './icons/export.ts': return import('./export-
|
|
1496
|
-
case './icons/eye.ts': return import('./eye-
|
|
1497
|
-
case './icons/fast.ts': return import('./fast-
|
|
1498
|
-
case './icons/favorite.ts': return import('./favorite-
|
|
1499
|
-
case './icons/file.ts': return import('./file-
|
|
1500
|
-
case './icons/filter.ts': return import('./filter-
|
|
1501
|
-
case './icons/flag.ts': return import('./flag-
|
|
1502
|
-
case './icons/folder.ts': return import('./folder-
|
|
1503
|
-
case './icons/funnel.ts': return import('./funnel-
|
|
1504
|
-
case './icons/gear.ts': return import('./gear-
|
|
1505
|
-
case './icons/graph.ts': return import('./graph-
|
|
1506
|
-
case './icons/hand-tap.ts': return import('./hand-tap-
|
|
1507
|
-
case './icons/hand.ts': return import('./hand-
|
|
1508
|
-
case './icons/high-signal.ts': return import('./high-signal-
|
|
1509
|
-
case './icons/history.ts': return import('./history-
|
|
1510
|
-
case './icons/home.ts': return import('./home-
|
|
1511
|
-
case './icons/hourglass.ts': return import('./hourglass-
|
|
1512
|
-
case './icons/import-2.ts': return import('./import-2-
|
|
1513
|
-
case './icons/import.ts': return import('./import-
|
|
1514
|
-
case './icons/indeterminate.ts': return import('./indeterminate-
|
|
1515
|
-
case './icons/info.ts': return import('./info-
|
|
1516
|
-
case './icons/invoice-items.ts': return import('./invoice-items-
|
|
1517
|
-
case './icons/invoice.ts': return import('./invoice-
|
|
1518
|
-
case './icons/kanban.ts': return import('./kanban-
|
|
1519
|
-
case './icons/light-bulb.ts': return import('./light-bulb-
|
|
1520
|
-
case './icons/like.ts': return import('./like-
|
|
1521
|
-
case './icons/link.ts': return import('./link-
|
|
1522
|
-
case './icons/list.ts': return import('./list-
|
|
1523
|
-
case './icons/loadsmart-logo.ts': return import('./loadsmart-logo-
|
|
1524
|
-
case './icons/log-out.ts': return import('./log-out-
|
|
1525
|
-
case './icons/low-signal.ts': return import('./low-signal-
|
|
1526
|
-
case './icons/map.ts': return import('./map-
|
|
1527
|
-
case './icons/medal.ts': return import('./medal-
|
|
1528
|
-
case './icons/megaphone.ts': return import('./megaphone-
|
|
1529
|
-
case './icons/mexico-flag.ts': return import('./mexico-flag-
|
|
1530
|
-
case './icons/minus.ts': return import('./minus-
|
|
1531
|
-
case './icons/network-signal.ts': return import('./network-signal-
|
|
1532
|
-
case './icons/no-awarded.ts': return import('./no-awarded-
|
|
1533
|
-
case './icons/notes-lock.ts': return import('./notes-lock-
|
|
1534
|
-
case './icons/notes.ts': return import('./notes-
|
|
1535
|
-
case './icons/order.ts': return import('./order-
|
|
1536
|
-
case './icons/package-tracking.ts': return import('./package-tracking-
|
|
1537
|
-
case './icons/padlock-open.ts': return import('./padlock-open-
|
|
1538
|
-
case './icons/padlock.ts': return import('./padlock-
|
|
1539
|
-
case './icons/pencil.ts': return import('./pencil-
|
|
1540
|
-
case './icons/phone.ts': return import('./phone-
|
|
1541
|
-
case './icons/pin-filled.ts': return import('./pin-filled-
|
|
1542
|
-
case './icons/pin-map.ts': return import('./pin-map-
|
|
1543
|
-
case './icons/pin.ts': return import('./pin-
|
|
1544
|
-
case './icons/plugs.ts': return import('./plugs-
|
|
1545
|
-
case './icons/plus.ts': return import('./plus-
|
|
1546
|
-
case './icons/pod.ts': return import('./pod-
|
|
1547
|
-
case './icons/pre-confirmed-load.ts': return import('./pre-confirmed-load-
|
|
1548
|
-
case './icons/print.ts': return import('./print-
|
|
1549
|
-
case './icons/profile.ts': return import('./profile-
|
|
1550
|
-
case './icons/question-dot.ts': return import('./question-dot-
|
|
1551
|
-
case './icons/receipt.ts': return import('./receipt-
|
|
1552
|
-
case './icons/redo.ts': return import('./redo-
|
|
1553
|
-
case './icons/refresh.ts': return import('./refresh-
|
|
1554
|
-
case './icons/reloading.ts': return import('./reloading-
|
|
1555
|
-
case './icons/road.ts': return import('./road-
|
|
1556
|
-
case './icons/round-trip.ts': return import('./round-trip-
|
|
1557
|
-
case './icons/satellite.ts': return import('./satellite-
|
|
1558
|
-
case './icons/search.ts': return import('./search-
|
|
1559
|
-
case './icons/send.ts': return import('./send-
|
|
1560
|
-
case './icons/share.ts': return import('./share-
|
|
1561
|
-
case './icons/ship.ts': return import('./ship-
|
|
1562
|
-
case './icons/signal.ts': return import('./signal-
|
|
1563
|
-
case './icons/sparkle.ts': return import('./sparkle-
|
|
1564
|
-
case './icons/star.ts': return import('./star-
|
|
1565
|
-
case './icons/swap.ts': return import('./swap-
|
|
1566
|
-
case './icons/tag-chevron.ts': return import('./tag-chevron-
|
|
1567
|
-
case './icons/tag.ts': return import('./tag-
|
|
1568
|
-
case './icons/telephone-slash.ts': return import('./telephone-slash-
|
|
1569
|
-
case './icons/telephone.ts': return import('./telephone-
|
|
1570
|
-
case './icons/terminal.ts': return import('./terminal-
|
|
1571
|
-
case './icons/timer.ts': return import('./timer-
|
|
1572
|
-
case './icons/tms-ready.ts': return import('./tms-ready-
|
|
1573
|
-
case './icons/train.ts': return import('./train-
|
|
1574
|
-
case './icons/trash.ts': return import('./trash-
|
|
1575
|
-
case './icons/trend-down.ts': return import('./trend-down-
|
|
1576
|
-
case './icons/trend-up.ts': return import('./trend-up-
|
|
1577
|
-
case './icons/trophee.ts': return import('./trophee-
|
|
1578
|
-
case './icons/truck.ts': return import('./truck-
|
|
1579
|
-
case './icons/
|
|
1580
|
-
case './icons/
|
|
1581
|
-
case './icons/
|
|
1582
|
-
case './icons/
|
|
1583
|
-
case './icons/
|
|
1584
|
-
case './icons/
|
|
1585
|
-
case './icons/
|
|
1586
|
-
case './icons/
|
|
1587
|
-
case './icons/
|
|
1588
|
-
case './icons/
|
|
1589
|
-
case './icons/
|
|
1590
|
-
case './icons/
|
|
1591
|
-
case './icons/
|
|
1592
|
-
case './icons/
|
|
1593
|
-
case './icons/
|
|
1429
|
+
case './icons/add-circle.ts': return import('./add-circle-C5CZG77Q--0gi8VlH.js');
|
|
1430
|
+
case './icons/alarm.ts': return import('./alarm-CyP8Zxl6-Cv1I0iuz.js');
|
|
1431
|
+
case './icons/alert-blocked.ts': return import('./alert-blocked-q7Zp_A_k-By0UsW6L.js');
|
|
1432
|
+
case './icons/alert-circle.ts': return import('./alert-circle-cGWLbr5S-BX0GjUvn.js');
|
|
1433
|
+
case './icons/anchor.ts': return import('./anchor-DMVPKiNp-Bcv7oliG.js');
|
|
1434
|
+
case './icons/archive.ts': return import('./archive-pnDTQb8E-DmKDgPLo.js');
|
|
1435
|
+
case './icons/arrow-left.ts': return import('./arrow-left-BRWAN9cz-sl8qdM54.js');
|
|
1436
|
+
case './icons/arrow-right.ts': return import('./arrow-right-CKSu48Gw-BxEyjRAs.js');
|
|
1437
|
+
case './icons/arrow-sort-down.ts': return import('./arrow-sort-down-CmrMg0Lk-Beh3GI9k.js');
|
|
1438
|
+
case './icons/arrow-sort-up-down.ts': return import('./arrow-sort-up-down-Bbhd8jcg-ClMtpmet.js');
|
|
1439
|
+
case './icons/arrow-sort-up.ts': return import('./arrow-sort-up-CyAjlRVj-PpiGfxri.js');
|
|
1440
|
+
case './icons/asterisk.ts': return import('./asterisk-DTLJw6bW-CTWu1BAE.js');
|
|
1441
|
+
case './icons/attention.ts': return import('./attention-DMjDy0He-C3aC3hgk.js');
|
|
1442
|
+
case './icons/automatic.ts': return import('./automatic-BUR8oJBN-Cm_gqkkG.js');
|
|
1443
|
+
case './icons/bank.ts': return import('./bank-CQlFVkDh-BAcI5tYa.js');
|
|
1444
|
+
case './icons/bell-cancel.ts': return import('./bell-cancel-CDBcDkA0-BcQcn1T5.js');
|
|
1445
|
+
case './icons/bell.ts': return import('./bell-BTxoQTPC-DByvKjAG.js');
|
|
1446
|
+
case './icons/blind-bol.ts': return import('./blind-bol-CZqV1V1H-hwaB8kOJ.js');
|
|
1447
|
+
case './icons/board.ts': return import('./board-aLtjKIeA-ClFqL88H.js');
|
|
1448
|
+
case './icons/bol.ts': return import('./bol-BJJ-J0up-LpEqEohs.js');
|
|
1449
|
+
case './icons/bolt-off.ts': return import('./bolt-off-B3AdWcSp-B1tGuixu.js');
|
|
1450
|
+
case './icons/bolt.ts': return import('./bolt-COqZMKNg-CIdw_4Vd.js');
|
|
1451
|
+
case './icons/box.ts': return import('./box-zuHa6HR_-DmgpVEkJ.js');
|
|
1452
|
+
case './icons/broadcast.ts': return import('./broadcast-TK_dz7aR-BoTyBN7l.js');
|
|
1453
|
+
case './icons/burguer-menu.ts': return import('./burguer-menu-Dzj6LZLQ-BTtSxm2c.js');
|
|
1454
|
+
case './icons/calendar.ts': return import('./calendar-CKJ9R1M3-B86kfAWO.js');
|
|
1455
|
+
case './icons/camera.ts': return import('./camera-CYHpPv-X-BaKAjHut.js');
|
|
1456
|
+
case './icons/canada-flag.ts': return import('./canada-flag-Bvts7NVw-D-dqV3S6.js');
|
|
1457
|
+
case './icons/caret-down.ts': return import('./caret-down-ET7jPJj6-aWI9Una3.js');
|
|
1458
|
+
case './icons/caret-left.ts': return import('./caret-left-CJrTMxle-BWv1Ck1w.js');
|
|
1459
|
+
case './icons/caret-right.ts': return import('./caret-right-CO6tAHy3-3jCu4HLy.js');
|
|
1460
|
+
case './icons/caret-up.ts': return import('./caret-up-adKoit-d-BkagvV-_.js');
|
|
1461
|
+
case './icons/carrier-contract.ts': return import('./carrier-contract-DDIOZYTO-Clgg2Z00.js');
|
|
1462
|
+
case './icons/chat.ts': return import('./chat-D9O27Wlg-CF1rHN6y.js');
|
|
1463
|
+
case './icons/check.ts': return import('./check-BFXJiLFA-CW-fTkD8.js');
|
|
1464
|
+
case './icons/clip.ts': return import('./clip-P341vUQy-DKBCqrIM.js');
|
|
1465
|
+
case './icons/clock.ts': return import('./clock-C2caSs-m-D0OK2cnS.js');
|
|
1466
|
+
case './icons/clown.ts': return import('./clown-DmUuLLk4-B-VQZ2Iy.js');
|
|
1467
|
+
case './icons/code.ts': return import('./code-ChXBeKNh-BPF0qsNz.js');
|
|
1468
|
+
case './icons/comment.ts': return import('./comment-DRU7wtDh-Cc9EJPLO.js');
|
|
1469
|
+
case './icons/company.ts': return import('./company-DWk-jnfV-CD3lFwF_.js');
|
|
1470
|
+
case './icons/confetti.ts': return import('./confetti-DN5YrZtA-_hfS77iq.js');
|
|
1471
|
+
case './icons/contract.ts': return import('./contract-Cyc9s58T-ClAaUAYp.js');
|
|
1472
|
+
case './icons/copy.ts': return import('./copy-j_CeO5j1-DbtTTDz3.js');
|
|
1473
|
+
case './icons/corner-down-r.ts': return import('./corner-down-r-C7krDHJc-Bu7wWUuU.js');
|
|
1474
|
+
case './icons/corner-down.ts': return import('./corner-down-1Myalil_-DN9WOVgU.js');
|
|
1475
|
+
case './icons/corner-up.ts': return import('./corner-up-BTXOtxnq-BLDMeVNE.js');
|
|
1476
|
+
case './icons/credit-card.ts': return import('./credit-card-CRCi9Dc8-BddrFZWI.js');
|
|
1477
|
+
case './icons/delivery.ts': return import('./delivery-7Oi3CKNv-uc9hKOrk.js');
|
|
1478
|
+
case './icons/dislike.ts': return import('./dislike-D1sqCnIX-_HjKu1iN.js');
|
|
1479
|
+
case './icons/document-csv.ts': return import('./document-csv-oxxbZVF7-CEiIGVyN.js');
|
|
1480
|
+
case './icons/document-file-plus.ts': return import('./document-file-plus-CCj1Qvd6-CiOrJdkx.js');
|
|
1481
|
+
case './icons/document-file.ts': return import('./document-file-CE5ecStB-DR8vNFa7.js');
|
|
1482
|
+
case './icons/document-image.ts': return import('./document-image-BQu_wEtn-DGnevApz.js');
|
|
1483
|
+
case './icons/dollar-circle.ts': return import('./dollar-circle-Ddk376Gg-2im7Lgzn.js');
|
|
1484
|
+
case './icons/dollar.ts': return import('./dollar-C3wdHOZl-CHz0JibF.js');
|
|
1485
|
+
case './icons/dots-horizontal.ts': return import('./dots-horizontal-BlIObsKU-zgBIqnyP.js');
|
|
1486
|
+
case './icons/dots-vertical.ts': return import('./dots-vertical-k5xFcwIu-CQart2W-.js');
|
|
1487
|
+
case './icons/double-caret-left.ts': return import('./double-caret-left-CjLyeUd--BQWoEdR8.js');
|
|
1488
|
+
case './icons/double-caret-right.ts': return import('./double-caret-right-7PMhIXE9-BlOqvo_5.js');
|
|
1489
|
+
case './icons/down.ts': return import('./down-BnFQb3XZ-OLcQxPUc.js');
|
|
1490
|
+
case './icons/download.ts': return import('./download-Do14r3qE-C4osreOh.js');
|
|
1491
|
+
case './icons/drop-trailer.ts': return import('./drop-trailer-Bz7LYaXa-cTPqiqRU.js');
|
|
1492
|
+
case './icons/dropdown.ts': return import('./dropdown-Bs3mrz2x-4EqCdQwv.js');
|
|
1493
|
+
case './icons/email-filled.ts': return import('./email-filled-Ib6vSSpF-DJQwLoAm.js');
|
|
1494
|
+
case './icons/email.ts': return import('./email-sSntT_Db-BRKswRoW.js');
|
|
1495
|
+
case './icons/export.ts': return import('./export-B6qVJDet-CuIKALsw.js');
|
|
1496
|
+
case './icons/eye.ts': return import('./eye-CvKzelpb-BwX8wGfM.js');
|
|
1497
|
+
case './icons/fast.ts': return import('./fast-DFs8Vck6-CGliSXrU.js');
|
|
1498
|
+
case './icons/favorite.ts': return import('./favorite-CVS0mRwO-BDwCvjrT.js');
|
|
1499
|
+
case './icons/file.ts': return import('./file-BomGbT3S-B-9Wix9N.js');
|
|
1500
|
+
case './icons/filter.ts': return import('./filter-BgtQFowd-CmO5IA0A.js');
|
|
1501
|
+
case './icons/flag.ts': return import('./flag-DOUKKNuK-D4TgDcv0.js');
|
|
1502
|
+
case './icons/folder.ts': return import('./folder-BiaiDHsc-CecrePqM.js');
|
|
1503
|
+
case './icons/funnel.ts': return import('./funnel-BW6HCB61-CYvL7M0m.js');
|
|
1504
|
+
case './icons/gear.ts': return import('./gear-B_hGAVA7-87P31evL.js');
|
|
1505
|
+
case './icons/graph.ts': return import('./graph-CEsr42RI-CM6dkroH.js');
|
|
1506
|
+
case './icons/hand-tap.ts': return import('./hand-tap-B4Et1ymq-B_Tj4k9F.js');
|
|
1507
|
+
case './icons/hand.ts': return import('./hand-4ybtavNz-CcBoksi_.js');
|
|
1508
|
+
case './icons/high-signal.ts': return import('./high-signal-CRsfjD8h-Bo_zU9SB.js');
|
|
1509
|
+
case './icons/history.ts': return import('./history-BUA_kYSU-FsZyek6w.js');
|
|
1510
|
+
case './icons/home.ts': return import('./home-CDbXj8SJ-TD7GiCR0.js');
|
|
1511
|
+
case './icons/hourglass.ts': return import('./hourglass-sG5QE8qB-FopfR-m2.js');
|
|
1512
|
+
case './icons/import-2.ts': return import('./import-2-BQzYJT1j-CKa45bfg.js');
|
|
1513
|
+
case './icons/import.ts': return import('./import-CpZfll3l-BUXElyG6.js');
|
|
1514
|
+
case './icons/indeterminate.ts': return import('./indeterminate-BM1GmESx-BqQMX6rr.js');
|
|
1515
|
+
case './icons/info.ts': return import('./info-C2NIoStv-CwD9znVQ.js');
|
|
1516
|
+
case './icons/invoice-items.ts': return import('./invoice-items-1safxj-W-CQeCYJY6.js');
|
|
1517
|
+
case './icons/invoice.ts': return import('./invoice-Eiu4J-yI-B_LLW9jo.js');
|
|
1518
|
+
case './icons/kanban.ts': return import('./kanban-D1czVvgo-CbN40luv.js');
|
|
1519
|
+
case './icons/light-bulb.ts': return import('./light-bulb-juJvGfZZ-D2n-zv9o.js');
|
|
1520
|
+
case './icons/like.ts': return import('./like-CDk1Eq-B-hTWV7_el.js');
|
|
1521
|
+
case './icons/link.ts': return import('./link-CtzKePzW-D5ebWH9A.js');
|
|
1522
|
+
case './icons/list.ts': return import('./list-B5ppYWf8-D_VCPEeY.js');
|
|
1523
|
+
case './icons/loadsmart-logo.ts': return import('./loadsmart-logo-D-Umqpvn-Bgx__Aa-.js');
|
|
1524
|
+
case './icons/log-out.ts': return import('./log-out-B41_O6WF-DegNZ0fK.js');
|
|
1525
|
+
case './icons/low-signal.ts': return import('./low-signal-mu1iPs24-Bvf05M6P.js');
|
|
1526
|
+
case './icons/map.ts': return import('./map-DxwLwi5r-BY5ZDg3w.js');
|
|
1527
|
+
case './icons/medal.ts': return import('./medal-CBsl8HFi-DVceL3Mw.js');
|
|
1528
|
+
case './icons/megaphone.ts': return import('./megaphone-xj1cRrob-CUrdI6M5.js');
|
|
1529
|
+
case './icons/mexico-flag.ts': return import('./mexico-flag-BmBwsYxY-qjReDDef.js');
|
|
1530
|
+
case './icons/minus.ts': return import('./minus-Cynpy0uu-BTZLBag8.js');
|
|
1531
|
+
case './icons/network-signal.ts': return import('./network-signal-DRnIASxY-hPjxNG-F.js');
|
|
1532
|
+
case './icons/no-awarded.ts': return import('./no-awarded-D7VWZare-BfOy6wbe.js');
|
|
1533
|
+
case './icons/notes-lock.ts': return import('./notes-lock-CWy8CWH7-8wrr9bMj.js');
|
|
1534
|
+
case './icons/notes.ts': return import('./notes-EklJGrPE-CqWKNHTg.js');
|
|
1535
|
+
case './icons/order.ts': return import('./order-aNev5nyR-Dul2Tlu9.js');
|
|
1536
|
+
case './icons/package-tracking.ts': return import('./package-tracking-DAjMkdDV-BPwSSCIS.js');
|
|
1537
|
+
case './icons/padlock-open.ts': return import('./padlock-open-CdifcEIy-C6YefEze.js');
|
|
1538
|
+
case './icons/padlock.ts': return import('./padlock-CgI0Uupk-CYko9NTl.js');
|
|
1539
|
+
case './icons/pencil.ts': return import('./pencil-D-G9Wa9K-ClWRhX8W.js');
|
|
1540
|
+
case './icons/phone.ts': return import('./phone-DtPE_Z2v-DIKvvNI7.js');
|
|
1541
|
+
case './icons/pin-filled.ts': return import('./pin-filled-BrhKKOdN-BAMr6aj-.js');
|
|
1542
|
+
case './icons/pin-map.ts': return import('./pin-map-BkTZPYt1-BvBzkWV7.js');
|
|
1543
|
+
case './icons/pin.ts': return import('./pin-xZsWdXmM-DP9FVbYS.js');
|
|
1544
|
+
case './icons/plugs.ts': return import('./plugs-BBgNl-uU-DlpcQ2_J.js');
|
|
1545
|
+
case './icons/plus.ts': return import('./plus-DxcPEsVO-DWZImTiV.js');
|
|
1546
|
+
case './icons/pod.ts': return import('./pod-D8hsnvJ3-SKZfzrEV.js');
|
|
1547
|
+
case './icons/pre-confirmed-load.ts': return import('./pre-confirmed-load-CtfeOCYU-BqkqgwbN.js');
|
|
1548
|
+
case './icons/print.ts': return import('./print-CL8Vj4GX-Ba0Rfu7T.js');
|
|
1549
|
+
case './icons/profile.ts': return import('./profile-BJby3iCY-iD_X45fH.js');
|
|
1550
|
+
case './icons/question-dot.ts': return import('./question-dot-dxHwsnx--DIZBs1LG.js');
|
|
1551
|
+
case './icons/receipt.ts': return import('./receipt-BDTlql0N-CJ-CZGku.js');
|
|
1552
|
+
case './icons/redo.ts': return import('./redo-lRFPmbD_-BSfyh9Im.js');
|
|
1553
|
+
case './icons/refresh.ts': return import('./refresh-DsPShlYW-B2v4tXZH.js');
|
|
1554
|
+
case './icons/reloading.ts': return import('./reloading-Whmp4x7F-BldzVGD8.js');
|
|
1555
|
+
case './icons/road.ts': return import('./road-B_IjFqpU-CP81BUnE.js');
|
|
1556
|
+
case './icons/round-trip.ts': return import('./round-trip-CZt2wg2s-Ccrv6Oz7.js');
|
|
1557
|
+
case './icons/satellite.ts': return import('./satellite-BcK4XqCU-CQObgXmG.js');
|
|
1558
|
+
case './icons/search.ts': return import('./search-CmOXP39p-CGS83zDD.js');
|
|
1559
|
+
case './icons/send.ts': return import('./send-uQKs3Nz2-oOlrNqYO.js');
|
|
1560
|
+
case './icons/share.ts': return import('./share-ULuh_5j--BJU8Zvw4.js');
|
|
1561
|
+
case './icons/ship.ts': return import('./ship-uXqn1PRV-BVP2CBTB.js');
|
|
1562
|
+
case './icons/signal.ts': return import('./signal-DNd7ZXxZ-NOdYXNlA.js');
|
|
1563
|
+
case './icons/sparkle.ts': return import('./sparkle-C0_KLrse-D99BAKch.js');
|
|
1564
|
+
case './icons/star.ts': return import('./star-BCMp6xLn-BujC9TD2.js');
|
|
1565
|
+
case './icons/swap.ts': return import('./swap-4kVMGb8W-B6icT5By.js');
|
|
1566
|
+
case './icons/tag-chevron.ts': return import('./tag-chevron-DyMa_ivR-BrE6uZYL.js');
|
|
1567
|
+
case './icons/tag.ts': return import('./tag-Dbvqw_0i-CXIb0MOT.js');
|
|
1568
|
+
case './icons/telephone-slash.ts': return import('./telephone-slash-CjnG40rr-D5DhzOFa.js');
|
|
1569
|
+
case './icons/telephone.ts': return import('./telephone-CGWecdDa-Drba64_2.js');
|
|
1570
|
+
case './icons/terminal.ts': return import('./terminal-BU2O_2dX-CaJxdu7q.js');
|
|
1571
|
+
case './icons/timer.ts': return import('./timer-uB5-42oS-CZNMmRml.js');
|
|
1572
|
+
case './icons/tms-ready.ts': return import('./tms-ready-4wJduyQX-B7SNv27A.js');
|
|
1573
|
+
case './icons/train.ts': return import('./train-DDGH-b9H-DIegVSoV.js');
|
|
1574
|
+
case './icons/trash.ts': return import('./trash-DXbuipWA-DWbVLtPZ.js');
|
|
1575
|
+
case './icons/trend-down.ts': return import('./trend-down-Cmku22zF-BtvXlMb0.js');
|
|
1576
|
+
case './icons/trend-up.ts': return import('./trend-up-BaV6JoRm-BVC1Z9ip.js');
|
|
1577
|
+
case './icons/trophee.ts': return import('./trophee-K1cFUToB-DjKHIy2z.js');
|
|
1578
|
+
case './icons/truck.ts': return import('./truck-CyYshCvB-BGIkQ_nm.js');
|
|
1579
|
+
case './icons/truckload.ts': return import('./truckload-BuNTTF10-nw28MKXj.js');
|
|
1580
|
+
case './icons/unarchive.ts': return import('./unarchive-BdxMLGKF-Cne-Nrp_.js');
|
|
1581
|
+
case './icons/undo.ts': return import('./undo-D_JUFtL7-CQzGJxeF.js');
|
|
1582
|
+
case './icons/united-states-flag.ts': return import('./united-states-flag-DistuceF-DF1vAgkd.js');
|
|
1583
|
+
case './icons/up.ts': return import('./up-B2YYkNsZ-BfhkqzTx.js');
|
|
1584
|
+
case './icons/upgrade.ts': return import('./upgrade-Bk3Cmbfi-jEMV7jww.js');
|
|
1585
|
+
case './icons/upload.ts': return import('./upload-eRCnmhJL-Q-kOwKGu.js');
|
|
1586
|
+
case './icons/user.ts': return import('./user-DlAoP5wu-FXblEGoD.js');
|
|
1587
|
+
case './icons/wallet.ts': return import('./wallet-BfC41f7v-Cp11Qdo7.js');
|
|
1588
|
+
case './icons/warehouse.ts': return import('./warehouse-C1NpX4x7-DqAHHkaF.js');
|
|
1589
|
+
case './icons/website-visibility.ts': return import('./website-visibility-Cm79KTVY-DGuGkffz.js');
|
|
1590
|
+
case './icons/wifi-off.ts': return import('./wifi-off-9WwqaEGe-D-8Wglb3.js');
|
|
1591
|
+
case './icons/wifi.ts': return import('./wifi-6CmnWuyt-DT_1_uEp.js');
|
|
1592
|
+
case './icons/x-small.ts': return import('./x-small-DnsMuXB4-DEhSGR85.js');
|
|
1593
|
+
case './icons/x.ts': return import('./x-ooA6Tcn9-CJlqqwZZ.js');
|
|
1594
|
+
case './icons/zoom-in.ts': return import('./zoom-in-Cke6gMw8-BrHgoYKR.js');
|
|
1595
|
+
case './icons/zoom-out.ts': return import('./zoom-out-BdmC2eOs-Bq0FaoZu.js');
|
|
1594
1596
|
default: return new Promise(function(resolve, reject) {
|
|
1595
1597
|
(typeof queueMicrotask === 'function' ? queueMicrotask : setTimeout)(
|
|
1596
1598
|
reject.bind(null, new Error("Unknown variable dynamic import: " + path))
|
|
@@ -1750,6 +1752,7 @@ const AVAILABLE_ICONS = [
|
|
|
1750
1752
|
'trend-up',
|
|
1751
1753
|
'trophee',
|
|
1752
1754
|
'truck',
|
|
1755
|
+
'truckload',
|
|
1753
1756
|
'unarchive',
|
|
1754
1757
|
'undo',
|
|
1755
1758
|
'united-states-flag',
|
|
@@ -1759,6 +1762,7 @@ const AVAILABLE_ICONS = [
|
|
|
1759
1762
|
'user',
|
|
1760
1763
|
'wallet',
|
|
1761
1764
|
'warehouse',
|
|
1765
|
+
'website-visibility',
|
|
1762
1766
|
'wifi-off',
|
|
1763
1767
|
'wifi',
|
|
1764
1768
|
'x-small',
|
|
@@ -1903,7 +1907,7 @@ class Icon extends r$4 {
|
|
|
1903
1907
|
}
|
|
1904
1908
|
}
|
|
1905
1909
|
_Icon_setError = new WeakMap(), _Icon_loadIcon = new WeakMap();
|
|
1906
|
-
Icon.styles = [styles$
|
|
1910
|
+
Icon.styles = [styles$G()];
|
|
1907
1911
|
Icon.define();
|
|
1908
1912
|
|
|
1909
1913
|
var _Accordion_instances, _Accordion_accordionTrigger_get, _Accordion_accordionPanel_get, _Accordion_accordionContent_get, _Accordion_handleExpand, _Accordion_toggle, _Accordion_handleTransition;
|
|
@@ -2001,7 +2005,7 @@ _Accordion_handleTransition = new WeakMap(), _Accordion_instances = new WeakSet(
|
|
|
2001
2005
|
detail: { name: 'accordion', value: this.expanded },
|
|
2002
2006
|
});
|
|
2003
2007
|
};
|
|
2004
|
-
Accordion.styles = [styles$
|
|
2008
|
+
Accordion.styles = [styles$H()];
|
|
2005
2009
|
Accordion.define();
|
|
2006
2010
|
|
|
2007
2011
|
class AccordionTitle extends Component {
|
|
@@ -2120,7 +2124,7 @@ Avatar.define();
|
|
|
2120
2124
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2121
2125
|
*/const o$3=o=>o??E$1;
|
|
2122
2126
|
|
|
2123
|
-
function styles$
|
|
2127
|
+
function styles$F(selector = '#button') {
|
|
2124
2128
|
return i$9 `
|
|
2125
2129
|
:host {
|
|
2126
2130
|
${typography('button-md')};
|
|
@@ -2237,9 +2241,9 @@ function styles$E(selector = '#button') {
|
|
|
2237
2241
|
`;
|
|
2238
2242
|
}
|
|
2239
2243
|
|
|
2240
|
-
function styles$
|
|
2244
|
+
function styles$E() {
|
|
2241
2245
|
return [
|
|
2242
|
-
styles$
|
|
2246
|
+
styles$F(),
|
|
2243
2247
|
i$9 `
|
|
2244
2248
|
:host([variant='primary']) {
|
|
2245
2249
|
--m-button-background-color: ${getColor('color-primary-60')};
|
|
@@ -2512,7 +2516,7 @@ function styles$D() {
|
|
|
2512
2516
|
}
|
|
2513
2517
|
|
|
2514
2518
|
const DEFAULT_SIZE$2 = 10;
|
|
2515
|
-
function styles$
|
|
2519
|
+
function styles$D() {
|
|
2516
2520
|
return i$9 `
|
|
2517
2521
|
:host {
|
|
2518
2522
|
color: inherit;
|
|
@@ -2588,7 +2592,7 @@ _DotsLoader_instances = new WeakSet(), _DotsLoader_getSize = function _DotsLoade
|
|
|
2588
2592
|
}
|
|
2589
2593
|
return `${parsedSize || DEFAULT_SIZE$2}px`;
|
|
2590
2594
|
};
|
|
2591
|
-
DotsLoader.styles = [styles$
|
|
2595
|
+
DotsLoader.styles = [styles$D()];
|
|
2592
2596
|
DotsLoader.define();
|
|
2593
2597
|
|
|
2594
2598
|
var _Button_handleDisabledChange, _Button_handleClick, _Button_handleLinkClick, _Button_handleSubmit, _Button_handleReset, _Button_isDisabled, _Button_isLink;
|
|
@@ -2754,7 +2758,7 @@ Button.shadowRootOptions = {
|
|
|
2754
2758
|
...r$5.shadowRootOptions,
|
|
2755
2759
|
delegatesFocus: true,
|
|
2756
2760
|
};
|
|
2757
|
-
Button.styles = [styles$
|
|
2761
|
+
Button.styles = [styles$E()];
|
|
2758
2762
|
Button.define();
|
|
2759
2763
|
|
|
2760
2764
|
var _BackButton_handleLabelChange;
|
|
@@ -2818,7 +2822,7 @@ const t$1={ATTRIBUTE:1},e$2=t=>(...e)=>({_$litDirective$:t,values:e});let i$2 =
|
|
|
2818
2822
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2819
2823
|
*/const e$1=e$2(class extends i$2{constructor(t){if(super(t),t.type!==t$1.ATTRIBUTE||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return T$1}});
|
|
2820
2824
|
|
|
2821
|
-
function styles$
|
|
2825
|
+
function styles$C() {
|
|
2822
2826
|
return i$9 `
|
|
2823
2827
|
:host {
|
|
2824
2828
|
--m-host-size: 24px;
|
|
@@ -2921,7 +2925,7 @@ _Badge_instances = new WeakSet(), _Badge_counter_get = function _Badge_counter_g
|
|
|
2921
2925
|
}
|
|
2922
2926
|
return E$1;
|
|
2923
2927
|
};
|
|
2924
|
-
Badge.styles = [styles$
|
|
2928
|
+
Badge.styles = [styles$C()];
|
|
2925
2929
|
Badge.define();
|
|
2926
2930
|
|
|
2927
2931
|
class BannerActionPrimary extends Button {
|
|
@@ -2963,7 +2967,7 @@ class BannerActionSecondary extends Button {
|
|
|
2963
2967
|
}
|
|
2964
2968
|
BannerActionSecondary.define();
|
|
2965
2969
|
|
|
2966
|
-
function styles$
|
|
2970
|
+
function styles$B() {
|
|
2967
2971
|
return i$9 `
|
|
2968
2972
|
:host {
|
|
2969
2973
|
display: flex;
|
|
@@ -2992,10 +2996,10 @@ class BannerActions extends Component {
|
|
|
2992
2996
|
`;
|
|
2993
2997
|
}
|
|
2994
2998
|
}
|
|
2995
|
-
BannerActions.styles = [styles$
|
|
2999
|
+
BannerActions.styles = [styles$B()];
|
|
2996
3000
|
BannerActions.define();
|
|
2997
3001
|
|
|
2998
|
-
function styles$
|
|
3002
|
+
function styles$A() {
|
|
2999
3003
|
return i$9 `
|
|
3000
3004
|
:host {
|
|
3001
3005
|
${typography('body-md')};
|
|
@@ -3020,7 +3024,7 @@ class BannerDescription extends Component {
|
|
|
3020
3024
|
return x `<slot></slot>`;
|
|
3021
3025
|
}
|
|
3022
3026
|
}
|
|
3023
|
-
BannerDescription.styles = [styles$
|
|
3027
|
+
BannerDescription.styles = [styles$A()];
|
|
3024
3028
|
BannerDescription.define();
|
|
3025
3029
|
|
|
3026
3030
|
class BannerIcon extends Component {
|
|
@@ -3041,7 +3045,7 @@ class BannerIcon extends Component {
|
|
|
3041
3045
|
}
|
|
3042
3046
|
BannerIcon.define();
|
|
3043
3047
|
|
|
3044
|
-
function styles$
|
|
3048
|
+
function styles$z() {
|
|
3045
3049
|
return i$9 `
|
|
3046
3050
|
:host {
|
|
3047
3051
|
${typography('body-md-bold')};
|
|
@@ -3077,10 +3081,10 @@ class BannerTitle extends Component {
|
|
|
3077
3081
|
return x `<slot></slot>`;
|
|
3078
3082
|
}
|
|
3079
3083
|
}
|
|
3080
|
-
BannerTitle.styles = [styles$
|
|
3084
|
+
BannerTitle.styles = [styles$z()];
|
|
3081
3085
|
BannerTitle.define();
|
|
3082
3086
|
|
|
3083
|
-
function styles$
|
|
3087
|
+
function styles$y() {
|
|
3084
3088
|
return i$9 `
|
|
3085
3089
|
:host {
|
|
3086
3090
|
display: block;
|
|
@@ -3202,7 +3206,7 @@ function toRem(value, base = BASE_PIXELS) {
|
|
|
3202
3206
|
return r$8(`${parseInt(String(value), 10) / base}rem`);
|
|
3203
3207
|
}
|
|
3204
3208
|
|
|
3205
|
-
function styles$
|
|
3209
|
+
function styles$x() {
|
|
3206
3210
|
return i$9 `
|
|
3207
3211
|
:host {
|
|
3208
3212
|
--m-close-button-base-color: ${getColor('color-text-primary')};
|
|
@@ -3378,7 +3382,7 @@ CloseButton.shadowRootOptions = {
|
|
|
3378
3382
|
...r$5.shadowRootOptions,
|
|
3379
3383
|
delegatesFocus: true,
|
|
3380
3384
|
};
|
|
3381
|
-
CloseButton.styles = [styles$
|
|
3385
|
+
CloseButton.styles = [styles$x()];
|
|
3382
3386
|
CloseButton.define();
|
|
3383
3387
|
|
|
3384
3388
|
/**
|
|
@@ -3442,7 +3446,7 @@ const TEXT_CONTENT_HTML_TAGS = [
|
|
|
3442
3446
|
'var', // Variables
|
|
3443
3447
|
];
|
|
3444
3448
|
|
|
3445
|
-
function styles$
|
|
3449
|
+
function styles$w() {
|
|
3446
3450
|
return i$9 `
|
|
3447
3451
|
:host {
|
|
3448
3452
|
--m-text-color: ${getColor('color-text-primary')};
|
|
@@ -3636,7 +3640,7 @@ class Text extends Component {
|
|
|
3636
3640
|
return u `<slot></slot>`;
|
|
3637
3641
|
}
|
|
3638
3642
|
}
|
|
3639
|
-
Text.styles = [styles$
|
|
3643
|
+
Text.styles = [styles$w()];
|
|
3640
3644
|
Text.define();
|
|
3641
3645
|
|
|
3642
3646
|
var _Banner_primaryAction, _Banner_handleDismissClick;
|
|
@@ -3750,7 +3754,7 @@ class Banner extends Component {
|
|
|
3750
3754
|
}
|
|
3751
3755
|
}
|
|
3752
3756
|
_Banner_primaryAction = new WeakMap(), _Banner_handleDismissClick = new WeakMap();
|
|
3753
|
-
Banner.styles = [styles$
|
|
3757
|
+
Banner.styles = [styles$y()];
|
|
3754
3758
|
Banner.define();
|
|
3755
3759
|
|
|
3756
3760
|
var _BaseLayout_setOrRemoveProperty;
|
|
@@ -3856,7 +3860,7 @@ function getBaseLayoutStyles(cssPropertiesPrefix) {
|
|
|
3856
3860
|
`;
|
|
3857
3861
|
}
|
|
3858
3862
|
|
|
3859
|
-
function styles$
|
|
3863
|
+
function styles$v() {
|
|
3860
3864
|
return i$9 `
|
|
3861
3865
|
:host {
|
|
3862
3866
|
--m-body-padding: ${getToken$1('spacing-4')};
|
|
@@ -3901,7 +3905,7 @@ class Body extends BaseLayout {
|
|
|
3901
3905
|
Body.CSSPropertiesPrefix = 'body';
|
|
3902
3906
|
Body.styles = [
|
|
3903
3907
|
getBaseLayoutStyles(Body.CSSPropertiesPrefix),
|
|
3904
|
-
styles$
|
|
3908
|
+
styles$v(),
|
|
3905
3909
|
];
|
|
3906
3910
|
Body.define();
|
|
3907
3911
|
|
|
@@ -4956,7 +4960,7 @@ class CardTitle extends Component {
|
|
|
4956
4960
|
CardTitle.styles = [cardTitleStyles()];
|
|
4957
4961
|
CardTitle.define();
|
|
4958
4962
|
|
|
4959
|
-
function styles$
|
|
4963
|
+
function styles$u() {
|
|
4960
4964
|
return i$9 `
|
|
4961
4965
|
.m-divider {
|
|
4962
4966
|
border: 0;
|
|
@@ -4981,7 +4985,7 @@ class Divider extends Component {
|
|
|
4981
4985
|
return x `<hr class="m-divider" />`;
|
|
4982
4986
|
}
|
|
4983
4987
|
}
|
|
4984
|
-
Divider.styles = [styles$
|
|
4988
|
+
Divider.styles = [styles$u()];
|
|
4985
4989
|
Divider.define();
|
|
4986
4990
|
|
|
4987
4991
|
class CardDivider extends Divider {
|
|
@@ -5083,7 +5087,7 @@ class CardActionTertiary extends Button {
|
|
|
5083
5087
|
}
|
|
5084
5088
|
CardActionTertiary.define();
|
|
5085
5089
|
|
|
5086
|
-
function styles$
|
|
5090
|
+
function styles$t() {
|
|
5087
5091
|
return i$9 `
|
|
5088
5092
|
:host {
|
|
5089
5093
|
--m-caret-button-base-color: ${getColor('color-text-primary')};
|
|
@@ -5264,10 +5268,10 @@ CaretButton.shadowRootOptions = {
|
|
|
5264
5268
|
...r$5.shadowRootOptions,
|
|
5265
5269
|
delegatesFocus: true,
|
|
5266
5270
|
};
|
|
5267
|
-
CaretButton.styles = [styles$
|
|
5271
|
+
CaretButton.styles = [styles$t()];
|
|
5268
5272
|
CaretButton.define();
|
|
5269
5273
|
|
|
5270
|
-
function styles$
|
|
5274
|
+
function styles$s() {
|
|
5271
5275
|
return i$9 `
|
|
5272
5276
|
:host {
|
|
5273
5277
|
${typography('body-md')};
|
|
@@ -5610,7 +5614,7 @@ Checkbox.shadowRootOptions = {
|
|
|
5610
5614
|
...r$5.shadowRootOptions,
|
|
5611
5615
|
delegatesFocus: true,
|
|
5612
5616
|
};
|
|
5613
|
-
Checkbox.styles = [styles$
|
|
5617
|
+
Checkbox.styles = [styles$s()];
|
|
5614
5618
|
Checkbox.define();
|
|
5615
5619
|
|
|
5616
5620
|
/**
|
|
@@ -5643,7 +5647,7 @@ function attachContextRoot() {
|
|
|
5643
5647
|
|
|
5644
5648
|
const dialogContext = n$4(Symbol('dialog'));
|
|
5645
5649
|
|
|
5646
|
-
function styles$
|
|
5650
|
+
function styles$r() {
|
|
5647
5651
|
return i$9 `
|
|
5648
5652
|
:host {
|
|
5649
5653
|
--margin: ${getToken$1('spacing-6')};
|
|
@@ -5890,7 +5894,7 @@ _Dialog_contextProvider = new WeakMap(), _Dialog_handleClick = new WeakMap(), _D
|
|
|
5890
5894
|
event.preventDefault();
|
|
5891
5895
|
__classPrivateFieldGet$1(this, _Dialog_instances, "m", _Dialog_emitCloseEvent).call(this);
|
|
5892
5896
|
};
|
|
5893
|
-
Dialog.styles = [styles$
|
|
5897
|
+
Dialog.styles = [styles$r()];
|
|
5894
5898
|
Dialog.define();
|
|
5895
5899
|
|
|
5896
5900
|
const DIALOG_SIZES = [
|
|
@@ -5993,7 +5997,7 @@ class DialogActions extends Group {
|
|
|
5993
5997
|
}
|
|
5994
5998
|
DialogActions.define();
|
|
5995
5999
|
|
|
5996
|
-
function styles$
|
|
6000
|
+
function styles$q() {
|
|
5997
6001
|
return i$9 `
|
|
5998
6002
|
:host {
|
|
5999
6003
|
overflow-y: auto;
|
|
@@ -6016,7 +6020,7 @@ class DialogBody extends Component {
|
|
|
6016
6020
|
return x `<slot></slot>`;
|
|
6017
6021
|
}
|
|
6018
6022
|
}
|
|
6019
|
-
DialogBody.styles = [styles$
|
|
6023
|
+
DialogBody.styles = [styles$q()];
|
|
6020
6024
|
DialogBody.define();
|
|
6021
6025
|
|
|
6022
6026
|
class DialogClose extends CloseButton {
|
|
@@ -6051,7 +6055,7 @@ class DialogFooter extends Component {
|
|
|
6051
6055
|
}
|
|
6052
6056
|
DialogFooter.define();
|
|
6053
6057
|
|
|
6054
|
-
function styles$
|
|
6058
|
+
function styles$p() {
|
|
6055
6059
|
return i$9 `
|
|
6056
6060
|
:host {
|
|
6057
6061
|
${typography('heading-md-bold')};
|
|
@@ -6129,10 +6133,10 @@ _DialogHeader_context = new WeakMap(), _DialogHeader_instances = new WeakSet(),
|
|
|
6129
6133
|
<m-icon name=${name} color=${color} size="24" aria-hidden="true"></m-icon>
|
|
6130
6134
|
`;
|
|
6131
6135
|
};
|
|
6132
|
-
DialogHeader.styles = [styles$
|
|
6136
|
+
DialogHeader.styles = [styles$p()];
|
|
6133
6137
|
DialogHeader.define();
|
|
6134
6138
|
|
|
6135
|
-
function styles$
|
|
6139
|
+
function styles$o() {
|
|
6136
6140
|
return i$9 `
|
|
6137
6141
|
:host {
|
|
6138
6142
|
--padding: ${getToken$1('spacing-6')};
|
|
@@ -6359,7 +6363,7 @@ _Drawer_handleClick = new WeakMap(), _Drawer_instances = new WeakSet(), _Drawer_
|
|
|
6359
6363
|
event.preventDefault();
|
|
6360
6364
|
__classPrivateFieldGet$1(this, _Drawer_instances, "m", _Drawer_emitCloseEvent).call(this);
|
|
6361
6365
|
};
|
|
6362
|
-
Drawer.styles = [styles$
|
|
6366
|
+
Drawer.styles = [styles$o()];
|
|
6363
6367
|
Drawer.define();
|
|
6364
6368
|
|
|
6365
6369
|
const DRAWER_SIZES = ['small', 'medium', 'large'];
|
|
@@ -6406,7 +6410,7 @@ class DrawerActionTertiary extends Button {
|
|
|
6406
6410
|
}
|
|
6407
6411
|
DrawerActionTertiary.define();
|
|
6408
6412
|
|
|
6409
|
-
function styles$
|
|
6413
|
+
function styles$n() {
|
|
6410
6414
|
return i$9 `
|
|
6411
6415
|
:host {
|
|
6412
6416
|
margin-top: auto;
|
|
@@ -6436,10 +6440,10 @@ class DrawerActions extends Group {
|
|
|
6436
6440
|
this.setAttribute('slot', 'actions');
|
|
6437
6441
|
}
|
|
6438
6442
|
}
|
|
6439
|
-
DrawerActions.styles = [...Group.styles, styles$
|
|
6443
|
+
DrawerActions.styles = [...Group.styles, styles$n()];
|
|
6440
6444
|
DrawerActions.define();
|
|
6441
6445
|
|
|
6442
|
-
function styles$
|
|
6446
|
+
function styles$m() {
|
|
6443
6447
|
return i$9 `
|
|
6444
6448
|
:host {
|
|
6445
6449
|
overflow-y: auto;
|
|
@@ -6464,7 +6468,7 @@ class DrawerBody extends Component {
|
|
|
6464
6468
|
return x `<slot></slot>`;
|
|
6465
6469
|
}
|
|
6466
6470
|
}
|
|
6467
|
-
DrawerBody.styles = [styles$
|
|
6471
|
+
DrawerBody.styles = [styles$m()];
|
|
6468
6472
|
DrawerBody.define();
|
|
6469
6473
|
|
|
6470
6474
|
class DrawerClose extends CloseButton {
|
|
@@ -6485,7 +6489,7 @@ class DrawerClose extends CloseButton {
|
|
|
6485
6489
|
}
|
|
6486
6490
|
DrawerClose.define();
|
|
6487
6491
|
|
|
6488
|
-
function styles$
|
|
6492
|
+
function styles$l() {
|
|
6489
6493
|
return i$9 `
|
|
6490
6494
|
:host {
|
|
6491
6495
|
${typography('heading-md-bold')};
|
|
@@ -6538,7 +6542,7 @@ class DrawerHeader extends Component {
|
|
|
6538
6542
|
`;
|
|
6539
6543
|
}
|
|
6540
6544
|
}
|
|
6541
|
-
DrawerHeader.styles = [styles$
|
|
6545
|
+
DrawerHeader.styles = [styles$l()];
|
|
6542
6546
|
DrawerHeader.define();
|
|
6543
6547
|
|
|
6544
6548
|
/**
|
|
@@ -7165,90 +7169,6 @@ const hide$1 = function (options) {
|
|
|
7165
7169
|
};
|
|
7166
7170
|
};
|
|
7167
7171
|
|
|
7168
|
-
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
7169
|
-
// Derivable.
|
|
7170
|
-
|
|
7171
|
-
async function convertValueToCoords(state, options) {
|
|
7172
|
-
const {
|
|
7173
|
-
placement,
|
|
7174
|
-
platform,
|
|
7175
|
-
elements
|
|
7176
|
-
} = state;
|
|
7177
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
7178
|
-
const side = getSide(placement);
|
|
7179
|
-
const alignment = getAlignment(placement);
|
|
7180
|
-
const isVertical = getSideAxis(placement) === 'y';
|
|
7181
|
-
const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
|
|
7182
|
-
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
7183
|
-
const rawValue = evaluate(options, state);
|
|
7184
|
-
|
|
7185
|
-
// eslint-disable-next-line prefer-const
|
|
7186
|
-
let {
|
|
7187
|
-
mainAxis,
|
|
7188
|
-
crossAxis,
|
|
7189
|
-
alignmentAxis
|
|
7190
|
-
} = typeof rawValue === 'number' ? {
|
|
7191
|
-
mainAxis: rawValue,
|
|
7192
|
-
crossAxis: 0,
|
|
7193
|
-
alignmentAxis: null
|
|
7194
|
-
} : {
|
|
7195
|
-
mainAxis: rawValue.mainAxis || 0,
|
|
7196
|
-
crossAxis: rawValue.crossAxis || 0,
|
|
7197
|
-
alignmentAxis: rawValue.alignmentAxis
|
|
7198
|
-
};
|
|
7199
|
-
if (alignment && typeof alignmentAxis === 'number') {
|
|
7200
|
-
crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
|
|
7201
|
-
}
|
|
7202
|
-
return isVertical ? {
|
|
7203
|
-
x: crossAxis * crossAxisMulti,
|
|
7204
|
-
y: mainAxis * mainAxisMulti
|
|
7205
|
-
} : {
|
|
7206
|
-
x: mainAxis * mainAxisMulti,
|
|
7207
|
-
y: crossAxis * crossAxisMulti
|
|
7208
|
-
};
|
|
7209
|
-
}
|
|
7210
|
-
|
|
7211
|
-
/**
|
|
7212
|
-
* Modifies the placement by translating the floating element along the
|
|
7213
|
-
* specified axes.
|
|
7214
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
7215
|
-
* object may be passed.
|
|
7216
|
-
* @see https://floating-ui.com/docs/offset
|
|
7217
|
-
*/
|
|
7218
|
-
const offset$1 = function (options) {
|
|
7219
|
-
if (options === void 0) {
|
|
7220
|
-
options = 0;
|
|
7221
|
-
}
|
|
7222
|
-
return {
|
|
7223
|
-
name: 'offset',
|
|
7224
|
-
options,
|
|
7225
|
-
async fn(state) {
|
|
7226
|
-
var _middlewareData$offse, _middlewareData$arrow;
|
|
7227
|
-
const {
|
|
7228
|
-
x,
|
|
7229
|
-
y,
|
|
7230
|
-
placement,
|
|
7231
|
-
middlewareData
|
|
7232
|
-
} = state;
|
|
7233
|
-
const diffCoords = await convertValueToCoords(state, options);
|
|
7234
|
-
|
|
7235
|
-
// If the placement is the same and the arrow caused an alignment offset
|
|
7236
|
-
// then we don't need to change the positioning coordinates.
|
|
7237
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
|
|
7238
|
-
return {};
|
|
7239
|
-
}
|
|
7240
|
-
return {
|
|
7241
|
-
x: x + diffCoords.x,
|
|
7242
|
-
y: y + diffCoords.y,
|
|
7243
|
-
data: {
|
|
7244
|
-
...diffCoords,
|
|
7245
|
-
placement
|
|
7246
|
-
}
|
|
7247
|
-
};
|
|
7248
|
-
}
|
|
7249
|
-
};
|
|
7250
|
-
};
|
|
7251
|
-
|
|
7252
7172
|
/**
|
|
7253
7173
|
* Optimizes the visibility of the floating element by shifting it in order to
|
|
7254
7174
|
* keep it in view when it will overflow the clipping boundary.
|
|
@@ -8127,15 +8047,6 @@ function autoUpdate(reference, floating, update, options) {
|
|
|
8127
8047
|
};
|
|
8128
8048
|
}
|
|
8129
8049
|
|
|
8130
|
-
/**
|
|
8131
|
-
* Modifies the placement by translating the floating element along the
|
|
8132
|
-
* specified axes.
|
|
8133
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
8134
|
-
* object may be passed.
|
|
8135
|
-
* @see https://floating-ui.com/docs/offset
|
|
8136
|
-
*/
|
|
8137
|
-
const offset = offset$1;
|
|
8138
|
-
|
|
8139
8050
|
/**
|
|
8140
8051
|
* Optimizes the visibility of the floating element by shifting it in order to
|
|
8141
8052
|
* keep it in view when it will overflow the clipping boundary.
|
|
@@ -8272,7 +8183,7 @@ const POPOVER_PLACEMENT_VALUES = [
|
|
|
8272
8183
|
'bottom-start',
|
|
8273
8184
|
'bottom-end',
|
|
8274
8185
|
];
|
|
8275
|
-
const logger$
|
|
8186
|
+
const logger$c = createLogger('popover');
|
|
8276
8187
|
class Popover extends Component {
|
|
8277
8188
|
static get properties() {
|
|
8278
8189
|
return {
|
|
@@ -8286,12 +8197,16 @@ class Popover extends Component {
|
|
|
8286
8197
|
super();
|
|
8287
8198
|
_Popover_updateCleanup.set(this, void 0);
|
|
8288
8199
|
// eslint-disable-next-line class-methods-use-this
|
|
8200
|
+
this.getFloatingOffset = () => {
|
|
8201
|
+
return 10;
|
|
8202
|
+
};
|
|
8203
|
+
// eslint-disable-next-line class-methods-use-this
|
|
8289
8204
|
this.renderArrow = () => {
|
|
8290
8205
|
return x `<span id="arrow"></span>`;
|
|
8291
8206
|
};
|
|
8292
8207
|
this.reposition = async (reason) => {
|
|
8293
8208
|
if (this.floating == null || this.reference == null) {
|
|
8294
|
-
logger$
|
|
8209
|
+
logger$c.warn('[popover]', 'both floating and reference elements should be available', { reference: this.reference, floating: this.floating });
|
|
8295
8210
|
return;
|
|
8296
8211
|
}
|
|
8297
8212
|
const { x, y, placement, middlewareData } = await computePosition(this.reference, this.floating, {
|
|
@@ -8305,7 +8220,6 @@ class Popover extends Component {
|
|
|
8305
8220
|
},
|
|
8306
8221
|
},
|
|
8307
8222
|
middleware: [
|
|
8308
|
-
offset(this.getFloatingOffset()),
|
|
8309
8223
|
// to prevent the floating element from overflowing on the main axis of its placement
|
|
8310
8224
|
flip(),
|
|
8311
8225
|
// preventing overflow while maintaining the desired placement as best as possible.
|
|
@@ -8328,22 +8242,21 @@ class Popover extends Component {
|
|
|
8328
8242
|
}
|
|
8329
8243
|
const [side] = placement.split('-');
|
|
8330
8244
|
const hasArrow = this.arrow != null;
|
|
8331
|
-
const floatingOffset = this.getFloatingOffset();
|
|
8332
8245
|
const mainSideIncrement = {
|
|
8333
8246
|
top: {
|
|
8334
8247
|
x: '0px',
|
|
8335
|
-
y: getPositionOffset(hasArrow, 'top',
|
|
8248
|
+
y: getPositionOffset(hasArrow, 'top', this.getFloatingOffset()),
|
|
8336
8249
|
},
|
|
8337
8250
|
bottom: {
|
|
8338
8251
|
x: '0px',
|
|
8339
|
-
y: getPositionOffset(hasArrow, 'bottom',
|
|
8252
|
+
y: getPositionOffset(hasArrow, 'bottom', this.getFloatingOffset()),
|
|
8340
8253
|
},
|
|
8341
8254
|
right: {
|
|
8342
|
-
x: getPositionOffset(hasArrow, 'right',
|
|
8255
|
+
x: getPositionOffset(hasArrow, 'right', this.getFloatingOffset()),
|
|
8343
8256
|
y: '0px',
|
|
8344
8257
|
},
|
|
8345
8258
|
left: {
|
|
8346
|
-
x: getPositionOffset(hasArrow, 'left',
|
|
8259
|
+
x: getPositionOffset(hasArrow, 'left', this.getFloatingOffset()),
|
|
8347
8260
|
y: '0px',
|
|
8348
8261
|
},
|
|
8349
8262
|
};
|
|
@@ -8391,8 +8304,7 @@ class Popover extends Component {
|
|
|
8391
8304
|
super.disconnectedCallback();
|
|
8392
8305
|
__classPrivateFieldGet$1(this, _Popover_updateCleanup, "f")?.call(this);
|
|
8393
8306
|
}
|
|
8394
|
-
firstUpdated(
|
|
8395
|
-
super.firstUpdated(changedProperties);
|
|
8307
|
+
firstUpdated() {
|
|
8396
8308
|
if (this.asPopover && supportsPopover() && this.floating) {
|
|
8397
8309
|
/**
|
|
8398
8310
|
* setting this attribute to manual means the popover must always be explicitly hidden
|
|
@@ -8424,13 +8336,6 @@ class Popover extends Component {
|
|
|
8424
8336
|
getArrowElement() {
|
|
8425
8337
|
throw new Error('Method not implemented.');
|
|
8426
8338
|
}
|
|
8427
|
-
// eslint-disable-next-line class-methods-use-this
|
|
8428
|
-
getFloatingOffset() {
|
|
8429
|
-
return {
|
|
8430
|
-
mainAxis: 4,
|
|
8431
|
-
crossAxis: 0,
|
|
8432
|
-
};
|
|
8433
|
-
}
|
|
8434
8339
|
get reference() {
|
|
8435
8340
|
return this.getReferenceElement();
|
|
8436
8341
|
}
|
|
@@ -8448,11 +8353,7 @@ class Popover extends Component {
|
|
|
8448
8353
|
if (!this.reference || !this.floating) {
|
|
8449
8354
|
return;
|
|
8450
8355
|
}
|
|
8451
|
-
|
|
8452
|
-
* Add the isConnected check to prevent us from attempting to show
|
|
8453
|
-
* the popover when the component is not connected to the DOM.
|
|
8454
|
-
*/
|
|
8455
|
-
if (isPopover(this.floating) && this.floating.isConnected) {
|
|
8356
|
+
if (isPopover(this.floating)) {
|
|
8456
8357
|
this.floating.showPopover();
|
|
8457
8358
|
}
|
|
8458
8359
|
this.reposition('auto');
|
|
@@ -8465,9 +8366,7 @@ class Popover extends Component {
|
|
|
8465
8366
|
return;
|
|
8466
8367
|
}
|
|
8467
8368
|
this.open = false;
|
|
8468
|
-
if (this.floating != null &&
|
|
8469
|
-
isPopover(this.floating) &&
|
|
8470
|
-
this.floating.isConnected) {
|
|
8369
|
+
if (this.floating != null && isPopover(this.floating)) {
|
|
8471
8370
|
this.floating.hidePopover();
|
|
8472
8371
|
}
|
|
8473
8372
|
__classPrivateFieldGet$1(this, _Popover_updateCleanup, "f")?.call(this);
|
|
@@ -8484,70 +8383,99 @@ class Popover extends Component {
|
|
|
8484
8383
|
_Popover_updateCleanup = new WeakMap(), _Popover_getArrowPosition = new WeakMap();
|
|
8485
8384
|
|
|
8486
8385
|
const DEFAULT_SELECTORS = {
|
|
8386
|
+
referenceSelector: "slot[name='reference']::slotted(*),",
|
|
8487
8387
|
floatingSelector: "slot[name='floating']::slotted(*)",
|
|
8488
|
-
arrowSelector: '#arrow',
|
|
8489
8388
|
};
|
|
8490
|
-
function
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8389
|
+
function styles$k(selectors = DEFAULT_SELECTORS) {
|
|
8390
|
+
const { referenceSelector, floatingSelector } = {
|
|
8391
|
+
...DEFAULT_SELECTORS,
|
|
8392
|
+
...selectors,
|
|
8393
|
+
};
|
|
8394
|
+
return [
|
|
8395
|
+
i$9 `
|
|
8396
|
+
:host {
|
|
8397
|
+
--m-popover-background-color: ${getColor('color-background-secondary-inverted')};
|
|
8398
|
+
--m-popover-border-radius: ${getToken$1('border-radius-m')};
|
|
8399
|
+
--m-popover-border-width: 0;
|
|
8400
|
+
--m-popover-border-style: none;
|
|
8401
|
+
--m-popover-overflow-x: hidden;
|
|
8402
|
+
--m-popover-overflow-y: visible;
|
|
8403
|
+
--m-popover-border-color: transparent;
|
|
8404
|
+
--m-popover-color: ${getColor('color-text-inverted')};
|
|
8405
|
+
--m-popover-elevation: ${getToken$1('elevation-2')};
|
|
8406
|
+
--m-popover-width: initial;
|
|
8407
|
+
--m-popover-min-width: initial;
|
|
8408
|
+
--m-popover-max-width: initial;
|
|
8409
|
+
--m-popover-z-index: 10;
|
|
8410
|
+
--m-popover-floating-spacing-x: ${getToken$1('spacing-4')};
|
|
8411
|
+
--m-popover-floating-spacing-y: ${getToken$1('spacing-2')};
|
|
8412
|
+
--m-popover-floating-display: none;
|
|
8413
|
+
--m-popover-floating-position: fixed;
|
|
8414
|
+
|
|
8415
|
+
--m-popover-arrow-size: 12px;
|
|
8416
|
+
--m-popover-arrow-offset: calc(-1 * (var(--m-popover-arrow-size) / 2));
|
|
8498
8417
|
|
|
8499
|
-
|
|
8500
|
-
|
|
8418
|
+
position: relative;
|
|
8419
|
+
}
|
|
8501
8420
|
|
|
8502
|
-
|
|
8503
|
-
|
|
8504
|
-
|
|
8421
|
+
${r$8(referenceSelector)} {
|
|
8422
|
+
display: inline-flex;
|
|
8423
|
+
}
|
|
8505
8424
|
|
|
8506
|
-
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
`;
|
|
8510
|
-
}
|
|
8511
|
-
function popoverFloatingStyles(options) {
|
|
8512
|
-
const { floatingSelector } = {
|
|
8513
|
-
floatingSelector: DEFAULT_SELECTORS.floatingSelector,
|
|
8514
|
-
...options,
|
|
8515
|
-
};
|
|
8516
|
-
return i$9 `
|
|
8517
|
-
${r$8(floatingSelector)} {
|
|
8518
|
-
position: var(--m-popover-floating-position);
|
|
8425
|
+
${r$8(floatingSelector)} {
|
|
8426
|
+
${transition([{ property: 'box-shadow' }])};
|
|
8427
|
+
${typography('body-md')};
|
|
8519
8428
|
|
|
8520
|
-
|
|
8521
|
-
|
|
8522
|
-
|
|
8523
|
-
`;
|
|
8524
|
-
}
|
|
8525
|
-
function popoverArrowStyles(options) {
|
|
8526
|
-
const { arrowSelector } = {
|
|
8527
|
-
arrowSelector: DEFAULT_SELECTORS.arrowSelector,
|
|
8528
|
-
...options,
|
|
8529
|
-
};
|
|
8530
|
-
return i$9 `
|
|
8531
|
-
${r$8(arrowSelector)} {
|
|
8532
|
-
position: absolute;
|
|
8533
|
-
inline-size: var(--m-popover-arrow-size);
|
|
8534
|
-
block-size: var(--m-popover-arrow-size);
|
|
8535
|
-
background-color: inherit;
|
|
8536
|
-
transform: rotate(45deg);
|
|
8429
|
+
padding-inline: var(--m-popover-floating-spacing-x);
|
|
8430
|
+
padding-block: var(--m-popover-floating-spacing-y);
|
|
8431
|
+
margin: 0;
|
|
8537
8432
|
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8433
|
+
position: var(--m-popover-floating-position);
|
|
8434
|
+
display: var(--m-popover-floating-display);
|
|
8435
|
+
|
|
8436
|
+
box-sizing: border-box;
|
|
8437
|
+
inline-size: var(--m-popover-width);
|
|
8438
|
+
min-inline-size: var(--m-popover-min-width);
|
|
8439
|
+
max-inline-size: var(--m-popover-max-width);
|
|
8440
|
+
|
|
8441
|
+
overflow-x: var(--m-popover-overflow-x);
|
|
8442
|
+
overflow-y: var(--m-popover-overflow-y);
|
|
8443
|
+
|
|
8444
|
+
border-width: var(--m-popover-border-width);
|
|
8445
|
+
border-style: var(--m-popover-border-style);
|
|
8446
|
+
border-color: var(--m-popover-border-color);
|
|
8447
|
+
border-radius: var(--m-popover-border-radius);
|
|
8448
|
+
|
|
8449
|
+
background-color: var(--m-popover-background-color);
|
|
8450
|
+
color: var(--m-popover-color);
|
|
8451
|
+
|
|
8452
|
+
box-shadow: var(--m-popover-elevation);
|
|
8453
|
+
z-index: var(--m-popover-z-index);
|
|
8454
|
+
}
|
|
8455
|
+
|
|
8456
|
+
:host([position='absolute']) {
|
|
8457
|
+
--m-popover-floating-position: absolute;
|
|
8458
|
+
}
|
|
8459
|
+
|
|
8460
|
+
:host([position='fixed']) {
|
|
8461
|
+
--m-popover-floating-position: fixed;
|
|
8462
|
+
}
|
|
8463
|
+
|
|
8464
|
+
:host([open]) {
|
|
8465
|
+
--m-popover-floating-display: inline-block;
|
|
8466
|
+
}
|
|
8467
|
+
|
|
8468
|
+
#arrow {
|
|
8469
|
+
display: var(--m-popover-floating-display);
|
|
8470
|
+
position: absolute;
|
|
8471
|
+
inline-size: var(--m-popover-arrow-size);
|
|
8472
|
+
block-size: var(--m-popover-arrow-size);
|
|
8473
|
+
background-color: var(--m-popover-background-color);
|
|
8474
|
+
transform: rotate(45deg);
|
|
8475
|
+
|
|
8476
|
+
pointer-events: none;
|
|
8477
|
+
}
|
|
8478
|
+
`,
|
|
8551
8479
|
];
|
|
8552
8480
|
}
|
|
8553
8481
|
|
|
@@ -8682,160 +8610,23 @@ _BoundaryController_handleEvent = new WeakMap(), _BoundaryController_handleBlurE
|
|
|
8682
8610
|
window.removeEventListener('blur', __classPrivateFieldGet$1(this, _BoundaryController_handleBlurEvent, "f"), true);
|
|
8683
8611
|
};
|
|
8684
8612
|
|
|
8685
|
-
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
this.options = options;
|
|
8693
|
-
this.wasExpanded = false;
|
|
8694
|
-
this.isInitialized = false;
|
|
8695
|
-
logger$d.info(`expandable controller initialized (${this.host.id || 'no id'})`);
|
|
8696
|
-
host.addController(this);
|
|
8697
|
-
}
|
|
8698
|
-
hostUpdated() {
|
|
8699
|
-
const expandable = this.options.getExpandableElement(this.host);
|
|
8700
|
-
if (!expandable)
|
|
8701
|
-
return;
|
|
8702
|
-
if (!this.isInitialized) {
|
|
8703
|
-
this.isInitialized = true;
|
|
8704
|
-
this.wasExpanded = this.options.isExpanded(this.host);
|
|
8705
|
-
if (!this.wasExpanded) {
|
|
8706
|
-
expandable.style.display = 'none';
|
|
8707
|
-
}
|
|
8708
|
-
return;
|
|
8709
|
-
}
|
|
8710
|
-
const isExpanded = this.options.isExpanded(this.host);
|
|
8711
|
-
if (isExpanded !== this.wasExpanded) {
|
|
8712
|
-
this.wasExpanded = isExpanded;
|
|
8713
|
-
this.updateExpandableState(expandable, isExpanded);
|
|
8714
|
-
}
|
|
8715
|
-
}
|
|
8716
|
-
async updateExpandableState(expandable, isExpanded) {
|
|
8717
|
-
if (isExpanded) {
|
|
8718
|
-
expandable.style.setProperty('overflow', 'hidden');
|
|
8719
|
-
expandable.style.removeProperty('display');
|
|
8720
|
-
this.host.classList.add('is-showing');
|
|
8721
|
-
await waitForAnimations(expandable);
|
|
8722
|
-
this.host.classList.remove('is-showing');
|
|
8723
|
-
expandable.style.removeProperty('overflow');
|
|
8724
|
-
}
|
|
8725
|
-
else {
|
|
8726
|
-
expandable.style.setProperty('overflow', 'hidden');
|
|
8727
|
-
this.host.classList.add('is-hiding');
|
|
8728
|
-
await waitForAnimations(expandable);
|
|
8729
|
-
expandable.style.setProperty('display', 'none');
|
|
8730
|
-
this.host.classList.remove('is-hiding');
|
|
8731
|
-
expandable.style.removeProperty('overflow');
|
|
8732
|
-
}
|
|
8733
|
-
}
|
|
8734
|
-
hostDisconnected() {
|
|
8735
|
-
this.isInitialized = false;
|
|
8736
|
-
}
|
|
8737
|
-
}
|
|
8738
|
-
|
|
8739
|
-
function expandableHostStyles() {
|
|
8740
|
-
return i$9 `
|
|
8741
|
-
:host {
|
|
8742
|
-
--expandable-animation: none;
|
|
8743
|
-
}
|
|
8744
|
-
|
|
8745
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
8746
|
-
:host(.is-showing) {
|
|
8747
|
-
--expandable-animation: show-expandable 0.2s ease forwards;
|
|
8748
|
-
}
|
|
8749
|
-
|
|
8750
|
-
:host(.is-hiding) {
|
|
8751
|
-
--expandable-animation: hide-expandable 0.25s ease forwards;
|
|
8752
|
-
}
|
|
8753
|
-
}
|
|
8754
|
-
`;
|
|
8755
|
-
}
|
|
8756
|
-
function expandableElementStyles(options) {
|
|
8757
|
-
const { expandableSelector, animate } = {
|
|
8758
|
-
expandableSelector: ':host',
|
|
8759
|
-
...options,
|
|
8760
|
-
};
|
|
8761
|
-
const { opacity: animateOpacity, blur: animateBlur, transform: animateTransform, height: animateHeight, } = {
|
|
8762
|
-
opacity: true,
|
|
8763
|
-
blur: true,
|
|
8764
|
-
transform: true,
|
|
8765
|
-
height: false,
|
|
8766
|
-
...animate,
|
|
8767
|
-
};
|
|
8768
|
-
return i$9 `
|
|
8769
|
-
${r$8(expandableSelector)} {
|
|
8770
|
-
overflow: hidden;
|
|
8771
|
-
|
|
8772
|
-
${r$8(animateHeight ? 'interpolate-size: allow-keywords;' : '')};
|
|
8773
|
-
}
|
|
8774
|
-
|
|
8775
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
8776
|
-
${r$8(expandableSelector)} {
|
|
8777
|
-
animation: var(--expandable-animation, none);
|
|
8778
|
-
}
|
|
8779
|
-
}
|
|
8780
|
-
|
|
8781
|
-
@keyframes show-expandable {
|
|
8782
|
-
from {
|
|
8783
|
-
${r$8(animateOpacity ? 'opacity: 0;' : '')};
|
|
8784
|
-
${r$8(animateTransform ? 'transform: translateY(-12px);' : '')};
|
|
8785
|
-
${r$8(animateBlur ? 'filter: blur(4px);' : '')};
|
|
8786
|
-
${r$8(animateHeight ? 'height: 0;' : '')};
|
|
8787
|
-
}
|
|
8788
|
-
|
|
8789
|
-
to {
|
|
8790
|
-
${r$8(animateOpacity ? 'opacity: 1;' : '')};
|
|
8791
|
-
${r$8(animateTransform ? 'transform: translateY(0);' : '')};
|
|
8792
|
-
${r$8(animateBlur ? 'filter: blur(0);' : '')};
|
|
8793
|
-
}
|
|
8794
|
-
}
|
|
8795
|
-
|
|
8796
|
-
@keyframes hide-expandable {
|
|
8797
|
-
from {
|
|
8798
|
-
${r$8(animateOpacity ? 'opacity: 1;' : '')};
|
|
8799
|
-
${r$8(animateTransform ? 'transform: translateY(0);' : '')};
|
|
8800
|
-
${r$8(animateBlur ? 'filter: blur(0);' : '')};
|
|
8801
|
-
}
|
|
8802
|
-
|
|
8803
|
-
to {
|
|
8804
|
-
${r$8(animateOpacity ? 'opacity: 0;' : '')};
|
|
8805
|
-
${r$8(animateTransform ? 'transform: translateY(-12px);' : '')};
|
|
8806
|
-
${r$8(animateBlur ? 'filter: blur(4px);' : '')};
|
|
8807
|
-
${r$8(animateHeight ? 'height: 0;' : '')};
|
|
8808
|
-
}
|
|
8809
|
-
}
|
|
8810
|
-
`;
|
|
8811
|
-
}
|
|
8812
|
-
function expandableStyles(options) {
|
|
8813
|
-
return [expandableHostStyles(), expandableElementStyles(options)];
|
|
8613
|
+
var _FocusManagerController_instances, _FocusManagerController_focusElement, _FocusManagerController_focusIndex, _FocusManagerController_focusPosition, _FocusManagerController_getIndexOfQueried, _FocusManagerController_findQueriedById, _FocusManagerController_handleKeyPress, _FocusManagerController_clearBufferAfterDelay, _FocusManagerController_findMatchInRange;
|
|
8614
|
+
const logger$b = createLogger('focus-manager-controller');
|
|
8615
|
+
function isDisabled(element) {
|
|
8616
|
+
return (element != null &&
|
|
8617
|
+
typeof element === 'object' &&
|
|
8618
|
+
'disabled' in element &&
|
|
8619
|
+
element.disabled === true);
|
|
8814
8620
|
}
|
|
8815
|
-
|
|
8816
8621
|
/**
|
|
8817
8622
|
* Check if `keyboardEventKey` is a character, and more specifically, anything
|
|
8818
8623
|
* other than a space, tab, or newline.
|
|
8819
|
-
* Based on https://www.w3.org/WAI/content-assets/wai-aria-practices/patterns/combobox/examples/js/combobox-autocomplete.js
|
|
8820
8624
|
*/
|
|
8821
8625
|
function isPrintableCharacter(keyboardEventKey) {
|
|
8822
8626
|
const printableCharacterRegex = /\S/;
|
|
8823
8627
|
return (keyboardEventKey.length === 1 &&
|
|
8824
8628
|
printableCharacterRegex.test(keyboardEventKey));
|
|
8825
8629
|
}
|
|
8826
|
-
|
|
8827
|
-
var _FocusManagerController_instances, _FocusManagerController_focusIndex, _FocusManagerController_focusId, _FocusManagerController_focusPosition, _FocusManagerController_getIndexOfQueried, _FocusManagerController_findQueriedById, _FocusManagerController_handleKeyUp, _FocusManagerController_clearBufferAfterDelay, _FocusManagerController_findMatchInRange;
|
|
8828
|
-
const logger$c = createLogger('focus-manager-controller');
|
|
8829
|
-
const POSITIONAL_FOCUS = ['first', 'last', 'previous', 'next'];
|
|
8830
|
-
function isDisabled(element) {
|
|
8831
|
-
return (element != null &&
|
|
8832
|
-
typeof element === 'object' &&
|
|
8833
|
-
'disabled' in element &&
|
|
8834
|
-
element.disabled === true);
|
|
8835
|
-
}
|
|
8836
|
-
function isPositionalFocus(value) {
|
|
8837
|
-
return POSITIONAL_FOCUS.includes(value);
|
|
8838
|
-
}
|
|
8839
8630
|
/**
|
|
8840
8631
|
* Manages **virtual/visual** focus, for a11y purposes.
|
|
8841
8632
|
*/
|
|
@@ -8843,64 +8634,50 @@ class FocusManagerController {
|
|
|
8843
8634
|
constructor(host, options) {
|
|
8844
8635
|
_FocusManagerController_instances.add(this);
|
|
8845
8636
|
this.activeDescendant = null;
|
|
8846
|
-
|
|
8847
|
-
* Internal method to apply focus state to an element.
|
|
8848
|
-
* Base implementation sets aria-activedescendant and visual styles.
|
|
8849
|
-
* Subclasses can override this to implement different focus mechanisms (e.g., roving tabindex).
|
|
8850
|
-
*/
|
|
8851
|
-
this.focusElement = (element, options) => {
|
|
8637
|
+
_FocusManagerController_focusElement.set(this, (element) => {
|
|
8852
8638
|
if (!element || isDisabled(element) || !element.id) {
|
|
8853
|
-
logger$
|
|
8639
|
+
logger$b.debug('could not focus element', element, !element?.id ? ' element has no id' : '');
|
|
8854
8640
|
return;
|
|
8855
8641
|
}
|
|
8856
|
-
this.clear(
|
|
8857
|
-
onBlur: options?.onBlur,
|
|
8858
|
-
});
|
|
8642
|
+
this.clear();
|
|
8859
8643
|
this.activeDescendant = element.id;
|
|
8860
8644
|
this.getInteractiveElement(this.host).setAttribute('aria-activedescendant', element.id);
|
|
8861
8645
|
element.classList.add('is-focused');
|
|
8862
|
-
|
|
8863
|
-
|
|
8864
|
-
|
|
8865
|
-
|
|
8866
|
-
|
|
8867
|
-
behavior: 'smooth',
|
|
8868
|
-
});
|
|
8869
|
-
options?.onFocus?.(element);
|
|
8870
|
-
}, 150);
|
|
8871
|
-
};
|
|
8872
|
-
_FocusManagerController_focusIndex.set(this, (index, options) => {
|
|
8873
|
-
this.focusElement(this.queried.at(index), options);
|
|
8646
|
+
element.scrollIntoView({
|
|
8647
|
+
block: 'nearest',
|
|
8648
|
+
inline: 'nearest',
|
|
8649
|
+
behavior: 'smooth',
|
|
8650
|
+
});
|
|
8874
8651
|
});
|
|
8875
|
-
|
|
8876
|
-
|
|
8652
|
+
_FocusManagerController_focusIndex.set(this, (index) => {
|
|
8653
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusElement, "f").call(this, this.queried.at(index));
|
|
8877
8654
|
});
|
|
8878
|
-
_FocusManagerController_focusPosition.set(this, (position
|
|
8655
|
+
_FocusManagerController_focusPosition.set(this, (position) => {
|
|
8879
8656
|
const currentFocusedIndex = __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_getIndexOfQueried).call(this, this.focused);
|
|
8880
8657
|
switch (position) {
|
|
8881
8658
|
case 'first':
|
|
8882
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, 0
|
|
8659
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, 0);
|
|
8883
8660
|
break;
|
|
8884
8661
|
case 'last':
|
|
8885
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, this.queried.length - 1
|
|
8662
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, this.queried.length - 1);
|
|
8886
8663
|
break;
|
|
8887
8664
|
case 'previous': {
|
|
8888
8665
|
if (currentFocusedIndex === -1) {
|
|
8889
|
-
logger$
|
|
8890
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, currentFocusedIndex
|
|
8666
|
+
logger$b.debug('focus previous, could not get current focused; focusing on last queried instead');
|
|
8667
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, currentFocusedIndex);
|
|
8891
8668
|
return;
|
|
8892
8669
|
}
|
|
8893
8670
|
// it's ok to have a negative index here. `Array.prototype.at()` will handle that correctly.
|
|
8894
8671
|
const previousItemIndex = (currentFocusedIndex - 1) % this.queried.length;
|
|
8895
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, previousItemIndex
|
|
8672
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, previousItemIndex);
|
|
8896
8673
|
break;
|
|
8897
8674
|
}
|
|
8898
8675
|
case 'next': {
|
|
8899
8676
|
if (currentFocusedIndex === -1) {
|
|
8900
|
-
logger$
|
|
8677
|
+
logger$b.debug('focus next, could not get current focused. focusing on first queried instead');
|
|
8901
8678
|
}
|
|
8902
8679
|
const nextItemIndex = (currentFocusedIndex + 1) % this.queried.length;
|
|
8903
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, nextItemIndex
|
|
8680
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, nextItemIndex);
|
|
8904
8681
|
break;
|
|
8905
8682
|
}
|
|
8906
8683
|
}
|
|
@@ -8909,7 +8686,7 @@ class FocusManagerController {
|
|
|
8909
8686
|
* Moves focus to the next item with a label that starts with the typed character
|
|
8910
8687
|
* if such item exists. Otherwise, focus does not move.
|
|
8911
8688
|
*/
|
|
8912
|
-
|
|
8689
|
+
_FocusManagerController_handleKeyPress.set(this, (event) => {
|
|
8913
8690
|
const { key } = event;
|
|
8914
8691
|
if (!isPrintableCharacter(key)) {
|
|
8915
8692
|
return;
|
|
@@ -8967,13 +8744,13 @@ class FocusManagerController {
|
|
|
8967
8744
|
}
|
|
8968
8745
|
hostConnected() {
|
|
8969
8746
|
if (!this.focusOnType) {
|
|
8970
|
-
logger$
|
|
8747
|
+
logger$b.debug('focus on type is disabled. Controller will not listen to keyup events');
|
|
8971
8748
|
return;
|
|
8972
8749
|
}
|
|
8973
|
-
this.host.addEventListener('keyup', __classPrivateFieldGet$1(this,
|
|
8750
|
+
this.host.addEventListener('keyup', __classPrivateFieldGet$1(this, _FocusManagerController_handleKeyPress, "f"));
|
|
8974
8751
|
}
|
|
8975
8752
|
hostDisconnected() {
|
|
8976
|
-
this.host.removeEventListener('keyup', __classPrivateFieldGet$1(this,
|
|
8753
|
+
this.host.removeEventListener('keyup', __classPrivateFieldGet$1(this, _FocusManagerController_handleKeyPress, "f"));
|
|
8977
8754
|
}
|
|
8978
8755
|
/**
|
|
8979
8756
|
* Get the list of elements matching the given `options.query`.
|
|
@@ -8993,66 +8770,53 @@ class FocusManagerController {
|
|
|
8993
8770
|
}
|
|
8994
8771
|
return __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_findQueriedById).call(this, this.activeDescendant);
|
|
8995
8772
|
}
|
|
8996
|
-
get focusedIndex() {
|
|
8997
|
-
if (!this.activeDescendant) {
|
|
8998
|
-
return null;
|
|
8999
|
-
}
|
|
9000
|
-
const index = __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_getIndexOfQueried).call(this, this.focused);
|
|
9001
|
-
if (index === -1) {
|
|
9002
|
-
return null;
|
|
9003
|
-
}
|
|
9004
|
-
return index;
|
|
9005
|
-
}
|
|
9006
8773
|
/**
|
|
9007
8774
|
* If none of the options are selected, the first option receives focus; otherwise, the
|
|
9008
8775
|
* focus moves to the next option.
|
|
9009
8776
|
* If we are at the end of the `queried` array, the focus moves to the first option.
|
|
9010
8777
|
*/
|
|
9011
|
-
focusNext(
|
|
9012
|
-
this.focus('next'
|
|
8778
|
+
focusNext() {
|
|
8779
|
+
this.focus('next');
|
|
9013
8780
|
}
|
|
9014
8781
|
/**
|
|
9015
8782
|
* If none of the options are selected, the last option receives focus; otherwise, the
|
|
9016
8783
|
* focus moves to the next option.
|
|
9017
8784
|
* If we are at the start of the `queried` array, the focus moves to the last option.
|
|
9018
8785
|
*/
|
|
9019
|
-
focusPrevious(
|
|
9020
|
-
this.focus('previous'
|
|
8786
|
+
focusPrevious() {
|
|
8787
|
+
this.focus('previous');
|
|
9021
8788
|
}
|
|
9022
8789
|
/**
|
|
9023
8790
|
* Focus the first element in `queried`.
|
|
9024
8791
|
*/
|
|
9025
|
-
focusFirst(
|
|
9026
|
-
this.focus(0
|
|
8792
|
+
focusFirst() {
|
|
8793
|
+
this.focus(0);
|
|
9027
8794
|
}
|
|
9028
8795
|
/**
|
|
9029
8796
|
* Focus the last element in `queried`.
|
|
9030
8797
|
*/
|
|
9031
|
-
focusLast(
|
|
9032
|
-
this.focus(this.queried.length - 1
|
|
8798
|
+
focusLast() {
|
|
8799
|
+
this.focus(this.queried.length - 1);
|
|
9033
8800
|
}
|
|
9034
8801
|
/**
|
|
9035
8802
|
* Focus the given element or the element at the given index or position, based on `queried`.
|
|
9036
8803
|
*/
|
|
9037
|
-
focus(where
|
|
8804
|
+
focus(where) {
|
|
9038
8805
|
if (typeof where === 'number') {
|
|
9039
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, where
|
|
9040
|
-
}
|
|
9041
|
-
else if (where instanceof HTMLElement) {
|
|
9042
|
-
this.focusElement(where, options);
|
|
8806
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, where);
|
|
9043
8807
|
}
|
|
9044
|
-
else if (
|
|
9045
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusPosition, "f").call(this, where
|
|
8808
|
+
else if (typeof where === 'string') {
|
|
8809
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusPosition, "f").call(this, where);
|
|
9046
8810
|
}
|
|
9047
8811
|
else {
|
|
9048
|
-
__classPrivateFieldGet$1(this,
|
|
8812
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusElement, "f").call(this, where);
|
|
9049
8813
|
}
|
|
9050
8814
|
}
|
|
9051
8815
|
/**
|
|
9052
8816
|
* Remove the visual focus (`.is-focused` class) from the currently focused element and
|
|
9053
8817
|
* clear the `activeDescendant` attribute.
|
|
9054
8818
|
*/
|
|
9055
|
-
clear(
|
|
8819
|
+
clear() {
|
|
9056
8820
|
this.getInteractiveElement(this.host).removeAttribute('aria-activedescendant');
|
|
9057
8821
|
const element = this.focused;
|
|
9058
8822
|
this.activeDescendant = null;
|
|
@@ -9060,10 +8824,9 @@ class FocusManagerController {
|
|
|
9060
8824
|
return;
|
|
9061
8825
|
}
|
|
9062
8826
|
element.classList.remove('is-focused');
|
|
9063
|
-
options?.onBlur?.(element);
|
|
9064
8827
|
}
|
|
9065
8828
|
}
|
|
9066
|
-
|
|
8829
|
+
_FocusManagerController_focusElement = new WeakMap(), _FocusManagerController_focusIndex = new WeakMap(), _FocusManagerController_focusPosition = new WeakMap(), _FocusManagerController_handleKeyPress = new WeakMap(), _FocusManagerController_clearBufferAfterDelay = new WeakMap(), _FocusManagerController_findMatchInRange = new WeakMap(), _FocusManagerController_instances = new WeakSet(), _FocusManagerController_getIndexOfQueried = function _FocusManagerController_getIndexOfQueried(element) {
|
|
9067
8830
|
if (!element) {
|
|
9068
8831
|
return -1;
|
|
9069
8832
|
}
|
|
@@ -9074,90 +8837,6 @@ _FocusManagerController_focusIndex = new WeakMap(), _FocusManagerController_focu
|
|
|
9074
8837
|
}) ?? null);
|
|
9075
8838
|
};
|
|
9076
8839
|
|
|
9077
|
-
var _RovingFocusController_instances, _RovingFocusController_setActiveRovingItem, _RovingFocusController_setInactiveRovingItem;
|
|
9078
|
-
const logger$b = createLogger('roving-focus');
|
|
9079
|
-
/**
|
|
9080
|
-
* Manages focus for interactive elements within a composite widget using the roving tabindex pattern.
|
|
9081
|
-
* Focus moves directly to the active element by managing tabindex and calling element.focus().
|
|
9082
|
-
* Extends FocusManagerController to reuse common focus logic like type-ahead search.
|
|
9083
|
-
*/
|
|
9084
|
-
class RovingFocusController extends FocusManagerController {
|
|
9085
|
-
constructor() {
|
|
9086
|
-
super(...arguments);
|
|
9087
|
-
_RovingFocusController_instances.add(this);
|
|
9088
|
-
/**
|
|
9089
|
-
* Initializes the tabindex for all queried elements.
|
|
9090
|
-
* Ensures exactly one element has tabindex="0", others have tabindex="-1".
|
|
9091
|
-
* Should be called by the host when the queried elements are known to be ready.
|
|
9092
|
-
*/
|
|
9093
|
-
this.initialize = () => {
|
|
9094
|
-
// eslint-disable-next-line prefer-destructuring
|
|
9095
|
-
const queried = this.queried;
|
|
9096
|
-
const currentFocused = this.focused;
|
|
9097
|
-
queried.forEach((element) => {
|
|
9098
|
-
if (currentFocused && element === currentFocused) {
|
|
9099
|
-
__classPrivateFieldGet$1(this, _RovingFocusController_instances, "m", _RovingFocusController_setActiveRovingItem).call(this, element);
|
|
9100
|
-
}
|
|
9101
|
-
else {
|
|
9102
|
-
__classPrivateFieldGet$1(this, _RovingFocusController_instances, "m", _RovingFocusController_setInactiveRovingItem).call(this, element);
|
|
9103
|
-
}
|
|
9104
|
-
});
|
|
9105
|
-
};
|
|
9106
|
-
this.focusElement = (element, options) => {
|
|
9107
|
-
if (!element || isDisabled(element) || !element.id) {
|
|
9108
|
-
logger$b.debug('could not focus element', element, !element?.id ? ' element has no id' : '');
|
|
9109
|
-
return;
|
|
9110
|
-
}
|
|
9111
|
-
this.clear({
|
|
9112
|
-
returnFocusToHost: false,
|
|
9113
|
-
onBlur: options?.onBlur,
|
|
9114
|
-
});
|
|
9115
|
-
__classPrivateFieldGet$1(this, _RovingFocusController_instances, "m", _RovingFocusController_setActiveRovingItem).call(this, element);
|
|
9116
|
-
setTimeout(() => {
|
|
9117
|
-
element.focus();
|
|
9118
|
-
element.scrollIntoView({
|
|
9119
|
-
block: 'nearest',
|
|
9120
|
-
inline: 'nearest',
|
|
9121
|
-
behavior: 'smooth',
|
|
9122
|
-
});
|
|
9123
|
-
}, 150);
|
|
9124
|
-
options?.onFocus?.(element);
|
|
9125
|
-
};
|
|
9126
|
-
}
|
|
9127
|
-
/**
|
|
9128
|
-
* Removes focus from the currently focused element and resets tabindex.
|
|
9129
|
-
* Optionally moves focus back to the host element.
|
|
9130
|
-
*/
|
|
9131
|
-
clear(options = { returnFocusToHost: false }) {
|
|
9132
|
-
const element = this.focused;
|
|
9133
|
-
this.activeDescendant = null;
|
|
9134
|
-
this.initialize();
|
|
9135
|
-
if (element) {
|
|
9136
|
-
options?.onBlur?.(element);
|
|
9137
|
-
}
|
|
9138
|
-
if (options.returnFocusToHost) {
|
|
9139
|
-
this.host.focus();
|
|
9140
|
-
}
|
|
9141
|
-
}
|
|
9142
|
-
}
|
|
9143
|
-
_RovingFocusController_instances = new WeakSet(), _RovingFocusController_setActiveRovingItem = function _RovingFocusController_setActiveRovingItem(element) {
|
|
9144
|
-
if (!element) {
|
|
9145
|
-
return;
|
|
9146
|
-
}
|
|
9147
|
-
// Set tabindex and visual styles for roving focus
|
|
9148
|
-
// eslint-disable-next-line no-param-reassign
|
|
9149
|
-
element.tabIndex = 0;
|
|
9150
|
-
element.classList.add('is-focused');
|
|
9151
|
-
this.activeDescendant = element.id;
|
|
9152
|
-
}, _RovingFocusController_setInactiveRovingItem = function _RovingFocusController_setInactiveRovingItem(element) {
|
|
9153
|
-
if (!element) {
|
|
9154
|
-
return;
|
|
9155
|
-
}
|
|
9156
|
-
// eslint-disable-next-line no-param-reassign
|
|
9157
|
-
element.tabIndex = -1;
|
|
9158
|
-
element.classList.remove('is-focused');
|
|
9159
|
-
};
|
|
9160
|
-
|
|
9161
8840
|
var _KeyboardSupportController_instances, _KeyboardSupportController_handleKey, _KeyboardSupportController_subscribe, _KeyboardSupportController_unsubscribe;
|
|
9162
8841
|
const logger$a = createLogger('keyboard-support-controller');
|
|
9163
8842
|
function getShortcutKey(shortcut) {
|
|
@@ -9230,43 +8909,37 @@ _KeyboardSupportController_handleKey = new WeakMap(), _KeyboardSupportController
|
|
|
9230
8909
|
target?.removeEventListener(this.event, __classPrivateFieldGet$1(this, _KeyboardSupportController_handleKey, "f"));
|
|
9231
8910
|
};
|
|
9232
8911
|
|
|
9233
|
-
const TRIGGER_SELECTOR = '[aria-haspopup="true"]';
|
|
8912
|
+
const TRIGGER_SELECTOR$1 = '[aria-haspopup="true"]';
|
|
9234
8913
|
const MENU_SELECTOR$1 = '[role="menu"]';
|
|
9235
|
-
const ITEM_SELECTOR
|
|
8914
|
+
const ITEM_SELECTOR = '[role="menuitem"]';
|
|
8915
|
+
|
|
9236
8916
|
function dropdownStyles() {
|
|
9237
8917
|
return [
|
|
9238
|
-
|
|
9239
|
-
|
|
8918
|
+
styles$k({
|
|
8919
|
+
referenceSelector: `::slotted(${TRIGGER_SELECTOR$1})`,
|
|
8920
|
+
floatingSelector: `::slotted(${MENU_SELECTOR$1})`,
|
|
8921
|
+
}),
|
|
9240
8922
|
i$9 `
|
|
9241
8923
|
:host {
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
8924
|
+
--m-popover-floating-spacing-x: ${getToken$1('spacing-2')};
|
|
8925
|
+
--m-popover-floating-spacing-y: ${getToken$1('spacing-2')};
|
|
8926
|
+
/* TODO: figure out a way to avoid layout shift when using narrow triggers */
|
|
8927
|
+
--m-popover-width: max-content;
|
|
8928
|
+
--m-popover-min-width: 16ch;
|
|
9245
8929
|
|
|
9246
|
-
|
|
9247
|
-
display: none;
|
|
8930
|
+
display: inline-block;
|
|
9248
8931
|
}
|
|
9249
8932
|
|
|
9250
8933
|
::slotted(${r$8(MENU_SELECTOR$1)}) {
|
|
9251
|
-
|
|
9252
|
-
display: inline-flex;
|
|
9253
|
-
flex-direction: column;
|
|
9254
|
-
|
|
9255
|
-
padding: ${getToken$1('spacing-2')};
|
|
9256
|
-
margin: 0;
|
|
9257
|
-
|
|
9258
|
-
box-sizing: border-box;
|
|
9259
|
-
inline-size: max-content;
|
|
9260
|
-
min-inline-size: 16ch;
|
|
9261
|
-
max-inline-size: initial;
|
|
8934
|
+
--m-popover-background-color: ${getColor('color-background-primary')};
|
|
9262
8935
|
|
|
9263
|
-
|
|
8936
|
+
outline: none;
|
|
8937
|
+
}
|
|
9264
8938
|
|
|
9265
|
-
|
|
9266
|
-
|
|
8939
|
+
:host([open]) ::slotted(${r$8(MENU_SELECTOR$1)}) {
|
|
8940
|
+
display: inline-flex;
|
|
9267
8941
|
|
|
9268
|
-
|
|
9269
|
-
color: ${getColor('color-text-secondary')};
|
|
8942
|
+
flex-direction: column;
|
|
9270
8943
|
}
|
|
9271
8944
|
`,
|
|
9272
8945
|
];
|
|
@@ -9275,7 +8948,7 @@ function triggerStyles() {
|
|
|
9275
8948
|
return [
|
|
9276
8949
|
i$9 `
|
|
9277
8950
|
:host {
|
|
9278
|
-
--m-dropdown-trigger-background-color:
|
|
8951
|
+
--m-dropdown-trigger-background-color: ${getColor('color-background-primary')};
|
|
9279
8952
|
--m-dropdown-trigger-border-color: ${getColor('color-border-input')};
|
|
9280
8953
|
--m-dropdown-trigger-border-radius: ${getToken$1('border-radius-s')};
|
|
9281
8954
|
--m-dropdown-trigger-color: ${getColor('color-text-tertiary')};
|
|
@@ -9379,14 +9052,6 @@ function triggerStyles() {
|
|
|
9379
9052
|
`,
|
|
9380
9053
|
];
|
|
9381
9054
|
}
|
|
9382
|
-
function menuStyles() {
|
|
9383
|
-
return [
|
|
9384
|
-
expandableElementStyles(),
|
|
9385
|
-
popoverFloatingStyles({
|
|
9386
|
-
floatingSelector: ':host',
|
|
9387
|
-
}),
|
|
9388
|
-
];
|
|
9389
|
-
}
|
|
9390
9055
|
function itemStyles() {
|
|
9391
9056
|
return [
|
|
9392
9057
|
i$9 `
|
|
@@ -9491,12 +9156,16 @@ class Dropdown extends Popover {
|
|
|
9491
9156
|
constructor() {
|
|
9492
9157
|
super();
|
|
9493
9158
|
_Dropdown_controllers.set(this, void 0);
|
|
9159
|
+
// eslint-disable-next-line class-methods-use-this
|
|
9160
|
+
this.getFloatingOffset = () => {
|
|
9161
|
+
return 4;
|
|
9162
|
+
};
|
|
9494
9163
|
_Dropdown_handleClick.set(this, (event) => {
|
|
9495
9164
|
const { target } = event;
|
|
9496
9165
|
if (!target) {
|
|
9497
9166
|
return;
|
|
9498
9167
|
}
|
|
9499
|
-
if (target.matches(ITEM_SELECTOR
|
|
9168
|
+
if (target.matches(ITEM_SELECTOR)) {
|
|
9500
9169
|
/**
|
|
9501
9170
|
* we set focus so we can trigger the item click event when the user
|
|
9502
9171
|
* presses <Enter> or <Space>, through the KeyboardSupportController.
|
|
@@ -9515,7 +9184,7 @@ class Dropdown extends Popover {
|
|
|
9515
9184
|
* - https://css-tricks.com/when-a-click-is-not-just-a-click/
|
|
9516
9185
|
* - https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/detail
|
|
9517
9186
|
*/
|
|
9518
|
-
if (target.matches(TRIGGER_SELECTOR) &&
|
|
9187
|
+
if (target.matches(TRIGGER_SELECTOR$1) &&
|
|
9519
9188
|
event.detail > 0) {
|
|
9520
9189
|
this.toggle();
|
|
9521
9190
|
}
|
|
@@ -9535,14 +9204,8 @@ class Dropdown extends Popover {
|
|
|
9535
9204
|
this.disabled = false;
|
|
9536
9205
|
__classPrivateFieldSet(this, _Dropdown_controllers, {
|
|
9537
9206
|
boundary: new BoundaryController(this),
|
|
9538
|
-
expandable: new ExpandableController(this, {
|
|
9539
|
-
getExpandableElement: () => {
|
|
9540
|
-
return this.getFloatingElement();
|
|
9541
|
-
},
|
|
9542
|
-
isExpanded: () => Boolean(this.open),
|
|
9543
|
-
}),
|
|
9544
9207
|
focus: new FocusManagerController(this, {
|
|
9545
|
-
query: ITEM_SELECTOR
|
|
9208
|
+
query: ITEM_SELECTOR,
|
|
9546
9209
|
getInteractiveElement: () => {
|
|
9547
9210
|
return this.getFloatingElement();
|
|
9548
9211
|
},
|
|
@@ -9557,7 +9220,7 @@ class Dropdown extends Popover {
|
|
|
9557
9220
|
if (!target || this.disabled) {
|
|
9558
9221
|
return;
|
|
9559
9222
|
}
|
|
9560
|
-
if (target.matches(TRIGGER_SELECTOR)) {
|
|
9223
|
+
if (target.matches(TRIGGER_SELECTOR$1)) {
|
|
9561
9224
|
this.expand({ position: 'last' });
|
|
9562
9225
|
return;
|
|
9563
9226
|
}
|
|
@@ -9575,7 +9238,7 @@ class Dropdown extends Popover {
|
|
|
9575
9238
|
if (!target || this.disabled) {
|
|
9576
9239
|
return;
|
|
9577
9240
|
}
|
|
9578
|
-
if (target.matches(TRIGGER_SELECTOR)) {
|
|
9241
|
+
if (target.matches(TRIGGER_SELECTOR$1)) {
|
|
9579
9242
|
this.expand({ position: 'first' });
|
|
9580
9243
|
return;
|
|
9581
9244
|
}
|
|
@@ -9598,7 +9261,7 @@ class Dropdown extends Popover {
|
|
|
9598
9261
|
if (!target || this.disabled) {
|
|
9599
9262
|
return;
|
|
9600
9263
|
}
|
|
9601
|
-
if (target.matches(TRIGGER_SELECTOR)) {
|
|
9264
|
+
if (target.matches(TRIGGER_SELECTOR$1)) {
|
|
9602
9265
|
this.toggle({ position: 'first' });
|
|
9603
9266
|
return;
|
|
9604
9267
|
}
|
|
@@ -9626,7 +9289,7 @@ class Dropdown extends Popover {
|
|
|
9626
9289
|
if (!target) {
|
|
9627
9290
|
return;
|
|
9628
9291
|
}
|
|
9629
|
-
if (target.matches(TRIGGER_SELECTOR) &&
|
|
9292
|
+
if (target.matches(TRIGGER_SELECTOR$1) &&
|
|
9630
9293
|
this.open) {
|
|
9631
9294
|
__classPrivateFieldGet$1(this, _Dropdown_handleClickOutside, "f").call(this);
|
|
9632
9295
|
}
|
|
@@ -9639,14 +9302,14 @@ class Dropdown extends Popover {
|
|
|
9639
9302
|
this.addEventListener('focusout', __classPrivateFieldGet$1(this, _Dropdown_handleFocusOut, "f"));
|
|
9640
9303
|
this.addEventListener('interactout', __classPrivateFieldGet$1(this, _Dropdown_handleClickOutside, "f"));
|
|
9641
9304
|
}
|
|
9642
|
-
firstUpdated(
|
|
9305
|
+
firstUpdated() {
|
|
9643
9306
|
if (this.floating?.id) {
|
|
9644
9307
|
this.reference?.setAttribute('aria-controls', this.floating.id);
|
|
9645
9308
|
}
|
|
9646
9309
|
if (this.reference?.id) {
|
|
9647
9310
|
this.floating?.setAttribute('aria-labelledby', this.reference.id);
|
|
9648
9311
|
}
|
|
9649
|
-
super.firstUpdated(
|
|
9312
|
+
super.firstUpdated();
|
|
9650
9313
|
}
|
|
9651
9314
|
updated(changedProperties) {
|
|
9652
9315
|
super.updated(changedProperties);
|
|
@@ -9663,7 +9326,7 @@ class Dropdown extends Popover {
|
|
|
9663
9326
|
}
|
|
9664
9327
|
}
|
|
9665
9328
|
getReferenceElement() {
|
|
9666
|
-
return this.querySelector(TRIGGER_SELECTOR);
|
|
9329
|
+
return this.querySelector(TRIGGER_SELECTOR$1);
|
|
9667
9330
|
}
|
|
9668
9331
|
getFloatingElement() {
|
|
9669
9332
|
return this.querySelector(MENU_SELECTOR$1);
|
|
@@ -9791,7 +9454,6 @@ class DropdownMenu extends WithIdElementMixin(Component) {
|
|
|
9791
9454
|
return x `<slot name="menu-item"></slot>`;
|
|
9792
9455
|
}
|
|
9793
9456
|
}
|
|
9794
|
-
DropdownMenu.styles = [menuStyles()];
|
|
9795
9457
|
DropdownMenu.define();
|
|
9796
9458
|
|
|
9797
9459
|
class DropdownItem extends WithIdElementMixin(Component) {
|
|
@@ -13597,20 +13259,25 @@ _SideNavigationTrigger_handleClick = new WeakMap();
|
|
|
13597
13259
|
SideNavigationTrigger.styles = [sideNavigationTriggerStyles()];
|
|
13598
13260
|
SideNavigationTrigger.define();
|
|
13599
13261
|
|
|
13262
|
+
const TRIGGER_SELECTOR = '[role="combobox"]';
|
|
13263
|
+
const MENU_SELECTOR = '[role="listbox"]';
|
|
13600
13264
|
const SEARCH_DELAY = 250;
|
|
13601
13265
|
|
|
13602
|
-
const MENU_SELECTOR = '[role="listbox"]';
|
|
13603
|
-
const ITEM_SELECTOR = 'm-option';
|
|
13604
13266
|
function selectStyles() {
|
|
13605
13267
|
return [
|
|
13606
|
-
|
|
13607
|
-
|
|
13608
|
-
}),
|
|
13609
|
-
popoverStyles({
|
|
13268
|
+
styles$k({
|
|
13269
|
+
referenceSelector: TRIGGER_SELECTOR,
|
|
13610
13270
|
floatingSelector: MENU_SELECTOR,
|
|
13611
13271
|
}),
|
|
13612
13272
|
i$9 `
|
|
13613
13273
|
:host {
|
|
13274
|
+
--m-popover-floating-spacing-x: ${getToken$1('spacing-2')};
|
|
13275
|
+
--m-popover-floating-spacing-y: ${getToken$1('spacing-2')};
|
|
13276
|
+
/* TODO: figure out a way to avoid layout shift when using narrow triggers */
|
|
13277
|
+
--m-popover-width: max-content;
|
|
13278
|
+
--m-popover-min-width: 16ch;
|
|
13279
|
+
--m-popover-color: ${getColor('color-text-secondary')};
|
|
13280
|
+
|
|
13614
13281
|
--m-select-min-width: 10ch;
|
|
13615
13282
|
--m-select-max-width: 280px;
|
|
13616
13283
|
--m-select-max-height: 240px;
|
|
@@ -13629,34 +13296,19 @@ function selectStyles() {
|
|
|
13629
13296
|
}
|
|
13630
13297
|
|
|
13631
13298
|
${r$8(MENU_SELECTOR)} {
|
|
13632
|
-
|
|
13633
|
-
|
|
13634
|
-
|
|
13635
|
-
padding-inline: ${getToken$1('spacing-2')};
|
|
13636
|
-
padding-block: ${getToken$1('spacing-2')};
|
|
13637
|
-
|
|
13638
|
-
margin: 0;
|
|
13639
|
-
|
|
13640
|
-
box-sizing: border-box;
|
|
13641
|
-
inline-size: max-content;
|
|
13642
|
-
min-inline-size: auto;
|
|
13643
|
-
max-inline-size: initial;
|
|
13644
|
-
|
|
13645
|
-
overflow-x: hidden;
|
|
13646
|
-
overflow-y: auto;
|
|
13647
|
-
|
|
13648
|
-
border: none;
|
|
13649
|
-
border-radius: ${getToken$1('border-radius-m')};
|
|
13650
|
-
|
|
13651
|
-
background-color: ${getColor('color-background-primary')};
|
|
13652
|
-
color: ${getColor('color-text-secondary')};
|
|
13653
|
-
|
|
13654
|
-
contain: none;
|
|
13299
|
+
--m-popover-background-color: ${getColor('color-background-primary')};
|
|
13300
|
+
--m-popover-overflow-y: auto;
|
|
13655
13301
|
|
|
13656
13302
|
max-block-size: var(--m-select-max-height);
|
|
13657
13303
|
outline: none;
|
|
13658
13304
|
}
|
|
13659
13305
|
|
|
13306
|
+
:host([open]) ${r$8(MENU_SELECTOR)} {
|
|
13307
|
+
display: inline-flex;
|
|
13308
|
+
|
|
13309
|
+
flex-direction: column;
|
|
13310
|
+
}
|
|
13311
|
+
|
|
13660
13312
|
/**
|
|
13661
13313
|
* using this approach so we don't need JS intervention to handle an
|
|
13662
13314
|
* an attribute that, in most cases, will not change after initialization.
|
|
@@ -13853,7 +13505,7 @@ function pickerStyles() {
|
|
|
13853
13505
|
*/
|
|
13854
13506
|
:host([type='single']:not(:focus-within)) #clear,
|
|
13855
13507
|
:host([type='single']:focus-within)
|
|
13856
|
-
#trigger-wrapper:has(
|
|
13508
|
+
#trigger-wrapper:has(> #trigger:placeholder-shown)
|
|
13857
13509
|
~ #clear {
|
|
13858
13510
|
visibility: hidden;
|
|
13859
13511
|
opacity: 0;
|
|
@@ -15458,8 +15110,7 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15458
15110
|
},
|
|
15459
15111
|
loading: { type: Boolean },
|
|
15460
15112
|
name: { type: String, reflect: true },
|
|
15461
|
-
placeholder: { type: String
|
|
15462
|
-
label: { type: String, reflect: true },
|
|
15113
|
+
placeholder: { type: String },
|
|
15463
15114
|
size: { type: String, reflect: true },
|
|
15464
15115
|
status: { type: String, reflect: true },
|
|
15465
15116
|
type: { type: String, reflect: true },
|
|
@@ -15514,7 +15165,6 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15514
15165
|
__classPrivateFieldGet$1(this, _Select_instances, "m", _Select_updatePicker).call(this);
|
|
15515
15166
|
__classPrivateFieldGet$1(this, _Select_controllers, "f").boundary.deactivate();
|
|
15516
15167
|
__classPrivateFieldGet$1(this, _Select_controllers, "f").focus.clear();
|
|
15517
|
-
this.trigger?.focus();
|
|
15518
15168
|
this.emit('collapse');
|
|
15519
15169
|
};
|
|
15520
15170
|
/**
|
|
@@ -15540,23 +15190,13 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15540
15190
|
this.expand();
|
|
15541
15191
|
}
|
|
15542
15192
|
this.loading = true;
|
|
15543
|
-
|
|
15544
|
-
|
|
15545
|
-
|
|
15546
|
-
|
|
15547
|
-
|
|
15548
|
-
|
|
15549
|
-
|
|
15550
|
-
}
|
|
15551
|
-
catch (error) {
|
|
15552
|
-
logger$6.error('Error filtering options', error);
|
|
15553
|
-
}
|
|
15554
|
-
finally {
|
|
15555
|
-
this.loading = false;
|
|
15556
|
-
// Re-initialize focus controller after filtering changes visible options
|
|
15557
|
-
await this.updateComplete;
|
|
15558
|
-
__classPrivateFieldGet$1(this, _Select_controllers, "f").focus.initialize();
|
|
15559
|
-
}
|
|
15193
|
+
this.filteredOptions = this.slottedOptions.filter((descendant) => {
|
|
15194
|
+
const itemTextLowerCase = descendant.label.toLowerCase();
|
|
15195
|
+
const matches = itemTextLowerCase.includes(normalizedSearchTerm);
|
|
15196
|
+
descendant.toggleAttribute('hidden', !matches);
|
|
15197
|
+
return matches;
|
|
15198
|
+
});
|
|
15199
|
+
this.loading = false;
|
|
15560
15200
|
if (options.emit) {
|
|
15561
15201
|
this.emit('search');
|
|
15562
15202
|
}
|
|
@@ -15613,10 +15253,6 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15613
15253
|
option.toggleAttribute('hidden', false);
|
|
15614
15254
|
}
|
|
15615
15255
|
this.filteredOptions = this.slottedOptions;
|
|
15616
|
-
// Re-initialize focus controller after clearing search restores all options
|
|
15617
|
-
requestAnimationFrame(() => {
|
|
15618
|
-
__classPrivateFieldGet$1(this, _Select_controllers, "f").focus.initialize();
|
|
15619
|
-
});
|
|
15620
15256
|
});
|
|
15621
15257
|
_Select_clearSearchDebounce.set(this, () => {
|
|
15622
15258
|
window.clearTimeout(__classPrivateFieldGet$1(this, _Select_searchDebounce, "f"));
|
|
@@ -15673,15 +15309,17 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15673
15309
|
/**
|
|
15674
15310
|
* we are only intested when the event happens during the selection of an option,
|
|
15675
15311
|
* not, for example, when the user hits enter to remove a tag.
|
|
15312
|
+
* we check for the trigger selector because that's what the target will be when the user
|
|
15313
|
+
* is selecting an option.
|
|
15676
15314
|
*/
|
|
15677
|
-
if (!element.matches(
|
|
15315
|
+
if (!element.matches(TRIGGER_SELECTOR)) {
|
|
15678
15316
|
return;
|
|
15679
15317
|
}
|
|
15680
15318
|
const option = __classPrivateFieldGet$1(this, _Select_controllers, "f").focus.focused;
|
|
15681
15319
|
if (!option || option.disabled) {
|
|
15682
15320
|
return;
|
|
15683
15321
|
}
|
|
15684
|
-
|
|
15322
|
+
__classPrivateFieldGet$1(this, _Select_controllers, "f").focus.focus(option);
|
|
15685
15323
|
this.toggleOptions(option.value);
|
|
15686
15324
|
if (!this.isMultiple) {
|
|
15687
15325
|
this.collapse();
|
|
@@ -15728,8 +15366,9 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15728
15366
|
return;
|
|
15729
15367
|
}
|
|
15730
15368
|
const element = event.target;
|
|
15731
|
-
if (element.matches(
|
|
15369
|
+
if (element.matches('m-option') && element.value) {
|
|
15732
15370
|
this.toggleOptions(element.value);
|
|
15371
|
+
this.trigger?.focus();
|
|
15733
15372
|
if (!this.isMultiple) {
|
|
15734
15373
|
this.collapse();
|
|
15735
15374
|
return;
|
|
@@ -15739,6 +15378,7 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15739
15378
|
}
|
|
15740
15379
|
if (!this.open && !element.matches('m-close-button')) {
|
|
15741
15380
|
this.expand();
|
|
15381
|
+
this.trigger?.focus();
|
|
15742
15382
|
}
|
|
15743
15383
|
});
|
|
15744
15384
|
_Select_handleClickOutside.set(this, async () => {
|
|
@@ -15769,11 +15409,9 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15769
15409
|
flatten: true,
|
|
15770
15410
|
})
|
|
15771
15411
|
.filter((descendant) => {
|
|
15772
|
-
return descendant.matches(
|
|
15412
|
+
return descendant.matches('m-option');
|
|
15773
15413
|
});
|
|
15774
15414
|
this.slottedOptions = elements;
|
|
15775
|
-
// Initialize focus controller now that options are slotted
|
|
15776
|
-
__classPrivateFieldGet$1(this, _Select_controllers, "f").focus.initialize();
|
|
15777
15415
|
});
|
|
15778
15416
|
_Select_handleStatusChange.set(this, (status) => {
|
|
15779
15417
|
/**
|
|
@@ -15826,7 +15464,7 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15826
15464
|
* Sync the `selected` attributes for the queriable options.
|
|
15827
15465
|
*/
|
|
15828
15466
|
_Select_updateOptions.set(this, () => {
|
|
15829
|
-
for (const element of this.
|
|
15467
|
+
for (const element of __classPrivateFieldGet$1(this, _Select_controllers, "f").focus.queried) {
|
|
15830
15468
|
element.selected = __classPrivateFieldGet$1(this, _Select_controllers, "f").selection.has(element.value);
|
|
15831
15469
|
}
|
|
15832
15470
|
});
|
|
@@ -15838,28 +15476,22 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15838
15476
|
this.position = 'absolute';
|
|
15839
15477
|
this.placement = 'bottom-start';
|
|
15840
15478
|
this.size = 'default';
|
|
15841
|
-
this.label = 'Select';
|
|
15842
15479
|
__classPrivateFieldSet(this, _Select_controllers, {
|
|
15843
15480
|
boundary: new BoundaryController(this),
|
|
15844
|
-
|
|
15845
|
-
getExpandableElement: () => {
|
|
15846
|
-
return this.renderRoot?.querySelector(MENU_SELECTOR);
|
|
15847
|
-
},
|
|
15848
|
-
isExpanded: () => Boolean(this.open),
|
|
15849
|
-
}),
|
|
15850
|
-
focus: new RovingFocusController(this, {
|
|
15481
|
+
focus: new FocusManagerController(this, {
|
|
15851
15482
|
query: () => {
|
|
15852
|
-
const selectors =
|
|
15483
|
+
const selectors = 'm-option:not([hidden])';
|
|
15853
15484
|
return Array.from(this.querySelectorAll(selectors));
|
|
15854
15485
|
},
|
|
15855
15486
|
// search on type should happen via the input, not keyboard shortcuts.
|
|
15856
15487
|
focusOnType: false,
|
|
15857
15488
|
getInteractiveElement: () => {
|
|
15858
|
-
return this.
|
|
15489
|
+
return this.getFloatingElement();
|
|
15859
15490
|
},
|
|
15860
15491
|
}),
|
|
15861
15492
|
keyboard: new KeyboardSupportController(this, __classPrivateFieldGet$1(this, _Select_getKeyboardShortcuts, "f").call(this), {
|
|
15862
15493
|
event: 'keydown',
|
|
15494
|
+
getEventTarget: () => this.renderRoot,
|
|
15863
15495
|
}),
|
|
15864
15496
|
selection: new SelectionController$1(this, {
|
|
15865
15497
|
getSelectionType: () => this.type,
|
|
@@ -15941,13 +15573,11 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
15941
15573
|
type="text"
|
|
15942
15574
|
id="trigger"
|
|
15943
15575
|
role="combobox"
|
|
15944
|
-
autocomplete="off"
|
|
15945
15576
|
aria-haspopup="true"
|
|
15946
15577
|
aria-controls="menu"
|
|
15947
15578
|
aria-autocomplete="list"
|
|
15948
15579
|
aria-expanded=${this.open ? 'true' : 'false'}
|
|
15949
15580
|
placeholder="${o$3(this.placeholder)}"
|
|
15950
|
-
aria-label="${o$3(this.label)}"
|
|
15951
15581
|
?disabled=${this.disabled}
|
|
15952
15582
|
@change=${__classPrivateFieldGet$1(this, _Select_handleTriggerChange, "f")}
|
|
15953
15583
|
@input=${__classPrivateFieldGet$1(this, _Select_handleTriggerInput, "f")}
|
|
@@ -16022,7 +15652,7 @@ class Select extends WithSelectionControlMixin(Popover) {
|
|
|
16022
15652
|
}
|
|
16023
15653
|
}
|
|
16024
15654
|
_Select_controllers = new WeakMap(), _Select_searchDebounce = new WeakMap(), _Select_dataSources = new WeakMap(), _Select_searchTerm = new WeakMap(), _Select_contextProvider = new WeakMap(), _Select_clearSearch = new WeakMap(), _Select_clearSearchDebounce = new WeakMap(), _Select_getKeyboardShortcuts = new WeakMap(), _Select_getOptionByValue = new WeakMap(), _Select_handleClear = new WeakMap(), _Select_handleClick = new WeakMap(), _Select_handleClickOutside = new WeakMap(), _Select_handleDisabledChange = new WeakMap(), _Select_handleHandleClick = new WeakMap(), _Select_handleSlotChange = new WeakMap(), _Select_handleStatusChange = new WeakMap(), _Select_handleTagRemove = new WeakMap(), _Select_handleTriggerChange = new WeakMap(), _Select_handleTriggerInput = new WeakMap(), _Select_handleTriggerFocusIn = new WeakMap(), _Select_handleTypeChange = new WeakMap(), _Select_handleValueChange = new WeakMap(), _Select_updateOptions = new WeakMap(), _Select_instances = new WeakSet(), _Select_initialize = function _Select_initialize(value) {
|
|
16025
|
-
const firstOption = this
|
|
15655
|
+
const firstOption = __classPrivateFieldGet$1(this, _Select_controllers, "f").focus.queried?.[0];
|
|
16026
15656
|
if (!firstOption) {
|
|
16027
15657
|
logger$6.warn('No options found in the select');
|
|
16028
15658
|
return;
|
|
@@ -17896,7 +17526,7 @@ function tableControlExpandStyles() {
|
|
|
17896
17526
|
}
|
|
17897
17527
|
function tableControlSelectStyles() {
|
|
17898
17528
|
return [
|
|
17899
|
-
styles$
|
|
17529
|
+
styles$s(),
|
|
17900
17530
|
i$9 `
|
|
17901
17531
|
:host {
|
|
17902
17532
|
display: inline-flex;
|
|
@@ -20523,7 +20153,7 @@ function toggleGroupStyles() {
|
|
|
20523
20153
|
}
|
|
20524
20154
|
function toggleStyles() {
|
|
20525
20155
|
return [
|
|
20526
|
-
styles$
|
|
20156
|
+
styles$F(),
|
|
20527
20157
|
i$9 `
|
|
20528
20158
|
:host {
|
|
20529
20159
|
${typography('button-md')};
|
|
@@ -20832,94 +20462,15 @@ function convertTriggerFromAttribute(value) {
|
|
|
20832
20462
|
|
|
20833
20463
|
function styles$3() {
|
|
20834
20464
|
return [
|
|
20835
|
-
|
|
20836
|
-
floatingSelector: ':host',
|
|
20465
|
+
styles$k({
|
|
20466
|
+
floatingSelector: ':host', // the host itself is the floating element
|
|
20837
20467
|
}),
|
|
20838
20468
|
i$9 `
|
|
20839
20469
|
:host {
|
|
20840
|
-
|
|
20841
|
-
|
|
20842
|
-
--m-
|
|
20843
|
-
--m-
|
|
20844
|
-
|
|
20845
|
-
padding-inline: ${getToken$1('spacing-4')};
|
|
20846
|
-
padding-block: ${getToken$1('spacing-2')};
|
|
20847
|
-
margin: 0;
|
|
20848
|
-
|
|
20849
|
-
box-sizing: border-box;
|
|
20850
|
-
inline-size: max-content;
|
|
20851
|
-
min-inline-size: var(--m-tooltip-min-width);
|
|
20852
|
-
max-inline-size: var(--m-tooltip-max-width);
|
|
20853
|
-
|
|
20854
|
-
overflow-x: visible;
|
|
20855
|
-
overflow-y: visible;
|
|
20856
|
-
|
|
20857
|
-
border: none;
|
|
20858
|
-
border-radius: ${getToken$1('border-radius-m')};
|
|
20859
|
-
|
|
20860
|
-
background-color: ${getColor('color-background-secondary-inverted')};
|
|
20861
|
-
color: ${getColor('color-text-inverted')};
|
|
20862
|
-
}
|
|
20863
|
-
|
|
20864
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
20865
|
-
:host {
|
|
20866
|
-
${transition([
|
|
20867
|
-
{
|
|
20868
|
-
property: 'opacity',
|
|
20869
|
-
duration: '150ms',
|
|
20870
|
-
easing: 'cubic-bezier(0.4, 0, 0.2, 1)',
|
|
20871
|
-
},
|
|
20872
|
-
{
|
|
20873
|
-
property: 'transform',
|
|
20874
|
-
duration: '150ms',
|
|
20875
|
-
easing: 'cubic-bezier(0.4, 0, 0.2, 1)',
|
|
20876
|
-
},
|
|
20877
|
-
])};
|
|
20878
|
-
}
|
|
20879
|
-
}
|
|
20880
|
-
|
|
20881
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
20882
|
-
:host {
|
|
20883
|
-
animation: 150ms ease-in-out forwards;
|
|
20884
|
-
|
|
20885
|
-
will-change: transform, opacity, filter;
|
|
20886
|
-
}
|
|
20887
|
-
|
|
20888
|
-
:host([open]) {
|
|
20889
|
-
animation-name: pop-in;
|
|
20890
|
-
}
|
|
20891
|
-
|
|
20892
|
-
:host(.is-closing) {
|
|
20893
|
-
animation-name: pop-out;
|
|
20894
|
-
}
|
|
20895
|
-
}
|
|
20896
|
-
|
|
20897
|
-
@keyframes pop-in {
|
|
20898
|
-
from {
|
|
20899
|
-
filter: blur(8px);
|
|
20900
|
-
opacity: 0;
|
|
20901
|
-
transform: translateY(8px);
|
|
20902
|
-
}
|
|
20903
|
-
|
|
20904
|
-
to {
|
|
20905
|
-
filter: blur(0);
|
|
20906
|
-
opacity: 1;
|
|
20907
|
-
transform: translateY(0);
|
|
20908
|
-
}
|
|
20909
|
-
}
|
|
20910
|
-
|
|
20911
|
-
@keyframes pop-out {
|
|
20912
|
-
from {
|
|
20913
|
-
filter: blur(0);
|
|
20914
|
-
opacity: 1;
|
|
20915
|
-
transform: translateY(0);
|
|
20916
|
-
}
|
|
20917
|
-
|
|
20918
|
-
to {
|
|
20919
|
-
filter: blur(8px);
|
|
20920
|
-
opacity: 0;
|
|
20921
|
-
transform: translateY(8px);
|
|
20922
|
-
}
|
|
20470
|
+
--m-popover-width: max-content;
|
|
20471
|
+
--m-popover-min-width: 80px;
|
|
20472
|
+
--m-popover-max-width: 240px;
|
|
20473
|
+
--m-popover-overflow-x: visible;
|
|
20923
20474
|
}
|
|
20924
20475
|
`,
|
|
20925
20476
|
];
|
|
@@ -21015,14 +20566,11 @@ class Tooltip extends WithIdElementMixin(Popover) {
|
|
|
21015
20566
|
this.reference.removeEventListener('mouseover', __classPrivateFieldGet$1(this, _Tooltip_handleMouseOver, "f"));
|
|
21016
20567
|
this.reference.removeEventListener('mouseout', __classPrivateFieldGet$1(this, _Tooltip_handleMouseOut, "f"));
|
|
21017
20568
|
}
|
|
21018
|
-
firstUpdated(
|
|
21019
|
-
super.firstUpdated(
|
|
20569
|
+
firstUpdated() {
|
|
20570
|
+
super.firstUpdated();
|
|
21020
20571
|
if (this.reference) {
|
|
21021
20572
|
this.reference.setAttribute('aria-describedby', this.id);
|
|
21022
20573
|
}
|
|
21023
|
-
if (!this.open) {
|
|
21024
|
-
this.style.display = 'none';
|
|
21025
|
-
}
|
|
21026
20574
|
}
|
|
21027
20575
|
update(changedProperties) {
|
|
21028
20576
|
if (changedProperties.has('open')) {
|
|
@@ -21052,17 +20600,6 @@ class Tooltip extends WithIdElementMixin(Popover) {
|
|
|
21052
20600
|
${this.renderArrow()}
|
|
21053
20601
|
`;
|
|
21054
20602
|
}
|
|
21055
|
-
show() {
|
|
21056
|
-
this.style.display = 'inline-flex';
|
|
21057
|
-
super.show();
|
|
21058
|
-
}
|
|
21059
|
-
async hide() {
|
|
21060
|
-
this.classList.add('is-closing');
|
|
21061
|
-
await waitForAnimations(this);
|
|
21062
|
-
this.style.display = 'none';
|
|
21063
|
-
this.classList.remove('is-closing');
|
|
21064
|
-
super.hide();
|
|
21065
|
-
}
|
|
21066
20603
|
}
|
|
21067
20604
|
_Tooltip_hoverTimeout = new WeakMap(), _Tooltip_focusTimeout = new WeakMap(), _Tooltip_triggers = new WeakMap(), _Tooltip_handleFocus = new WeakMap(), _Tooltip_handleBlur = new WeakMap(), _Tooltip_handleClick = new WeakMap(), _Tooltip_handleKeyDown = new WeakMap(), _Tooltip_handleMouseOver = new WeakMap(), _Tooltip_handleMouseOut = new WeakMap(), _Tooltip_hasTrigger = new WeakMap();
|
|
21068
20605
|
Tooltip.styles = [styles$3()];
|