@blockend/widget 1.0.61 → 1.0.63
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/{AllRoutes-BqW5S4_J.js → AllRoutes-DoKxcnoG.js} +9 -9
- package/dist/{Box-Dw7IJo3D.js → Box-CWjsnzo_.js} +1 -1
- package/dist/{EstGas-C_ldluj6.js → EstGas-CZ7Pt1fl.js} +7 -7
- package/dist/{Grow-DjneaPQY.js → Grow-C4k1Q6IP.js} +2 -2
- package/dist/{InputComp-CWH4SAk7.js → InputComp-BUcjIkxJ.js} +3 -3
- package/dist/{LoadRoute-Cafzlcfy.js → LoadRoute-BGVBAxhb.js} +4 -4
- package/dist/{QuotesProgress-Covy7wmW.js → QuotesProgress-CgWgbeu0.js} +1 -1
- package/dist/{SwapAsset-BqXVX_DR.js → SwapAsset-BVoK7nAu.js} +1 -1
- package/dist/{Tooltip-3YpYU_vO.js → Tooltip-DVfEhMx1.js} +3 -3
- package/dist/{TxnButton-CPMFPFA_.js → TxnButton-BtpZDByd.js} +3 -3
- package/dist/{add-CRY8asYF.js → add-D8tavKpb.js} +1 -1
- package/dist/{all-wallets-DOnIRIv0.js → all-wallets-Df7gtI38.js} +1 -1
- package/dist/{app-store-C0M9hC1B.js → app-store-DHMmV5al.js} +1 -1
- package/dist/{apple-Bv7oA5AQ.js → apple-DY6mmw2j.js} +1 -1
- package/dist/{arrow-bottom-D4arnome.js → arrow-bottom-ZcLjGjzC.js} +1 -1
- package/dist/{arrow-bottom-circle-BUny4yP8.js → arrow-bottom-circle-di4oN5GV.js} +1 -1
- package/dist/{arrow-left-DImJbKZs.js → arrow-left-y_8ecK6O.js} +1 -1
- package/dist/{arrow-right-BvRPNX9F.js → arrow-right-aFcFt9b6.js} +1 -1
- package/dist/{arrow-top-1RWPJImu.js → arrow-top-DjVB8avr.js} +1 -1
- package/dist/{bank-C0t9JpLj.js → bank-De34wPmA.js} +1 -1
- package/dist/{basic-VfgwBHn1.js → basic-BZK6hpwj.js} +3 -3
- package/dist/{browser-0d0uw45D.js → browser-B9nWt4wI.js} +1 -1
- package/dist/{card-BBByykfy.js → card-DZaQQmTr.js} +1 -1
- package/dist/{ccip-8__szz9Q.js → ccip-CO9Rm2h9.js} +1 -1
- package/dist/{checkmark-B_osdsm_.js → checkmark-CvLbEk_j.js} +1 -1
- package/dist/{checkmark-bold-BEzepFY4.js → checkmark-bold-CaWodPMr.js} +1 -1
- package/dist/{chevron-bottom-Bdaxlaxc.js → chevron-bottom-DK4Rw9LA.js} +1 -1
- package/dist/{chevron-left-2aCeqxdm.js → chevron-left-B4xHFi5Z.js} +1 -1
- package/dist/{chevron-right-BPgQeMPz.js → chevron-right-Cq43pxjs.js} +1 -1
- package/dist/{chevron-top-BskFpgMP.js → chevron-top-DA1gRFsR.js} +1 -1
- package/dist/{chrome-store-CxhEG2Jk.js → chrome-store-D052gehU.js} +1 -1
- package/dist/{clock-BDgHn083.js → clock-tZ8nY0kJ.js} +1 -1
- package/dist/{close-CQTa1LZg.js → close-BwbrkMPc.js} +1 -1
- package/dist/{coinPlaceholder-B-NSV729.js → coinPlaceholder-Bx9L2SON.js} +1 -1
- package/dist/{compass-BdJmk2w2.js → compass-CC6wRzT3.js} +1 -1
- package/dist/{copy-Cg4vgr82.js → copy-B8Hn2UtJ.js} +1 -1
- package/dist/{core-BSwMFU2B.js → core-BLtltj4H.js} +3 -3
- package/dist/{cursor-BoD_rq0f.js → cursor-CnQuzo_b.js} +1 -1
- package/dist/{cursor-transparent-Dqs1kXcb.js → cursor-transparent-CgaK5Z_A.js} +1 -1
- package/dist/{desktop-BOxkTik1.js → desktop-DHrY3k4Z.js} +1 -1
- package/dist/{disconnect-CTxFyZWa.js → disconnect-CnNRq4hM.js} +1 -1
- package/dist/{discord-BJRxIhBt.js → discord-b293e6US.js} +1 -1
- package/dist/{down-372J_rRV.js → down-BOUpeX6t.js} +2 -2
- package/dist/{etherscan-CyQf5MH5.js → etherscan-dMroSccn.js} +1 -1
- package/dist/{exclamation-triangle-DFOXjtuI.js → exclamation-triangle-B8MrpVYv.js} +1 -1
- package/dist/{extension-XiWSr1Ku.js → extension-CMS5H6iC.js} +1 -1
- package/dist/{external-link-CYjbHRDY.js → external-link-ltFMCISM.js} +1 -1
- package/dist/{facebook-DhP37m2R.js → facebook-DoPfeLsd.js} +1 -1
- package/dist/{farcaster-C1J2oGt2.js → farcaster-C3Zz9rJy.js} +1 -1
- package/dist/{filters-C5jLy9GP.js → filters-B9nmsaYb.js} +1 -1
- package/dist/{getChainIds-AaKb_MmO.js → getChainIds-BLyimn3Z.js} +2 -2
- package/dist/{getCosmosAddress-D-F7jz-d.js → getCosmosAddress-CIl22g8q.js} +2 -2
- package/dist/{github-CJ8g1by7.js → github-B1nW11yu.js} +1 -1
- package/dist/{google-DpIVCnNm.js → google-DBkdYWG9.js} +1 -1
- package/dist/{hamburger-BylLGawu.js → hamburger-B6nbTVuh.js} +5 -5
- package/dist/{help-circle-BESCFGIa.js → help-circle-D9DpdDYS.js} +1 -1
- package/dist/{id-CPX0IEMo.js → id-Bz6xS0Hu.js} +1 -1
- package/dist/{image-DrFHyQOS.js → image-j1cVOKPz.js} +1 -1
- package/dist/{index-BheqnLKf.js → index-4iEoKicH.js} +78 -78
- package/dist/{index-DhZwdjPQ.js → index-6Lc-biuC.js} +2 -2
- package/dist/{index-eatshJSd.js → index-B1Rtne6G.js} +1005 -1005
- package/dist/{index-DoNokw4Q.js → index-BJfSS3AI.js} +1 -1
- package/dist/{index-DjHDqI7m.js → index-CD8PApRB.js} +4 -4
- package/dist/{index-ePnYqYhf.js → index-Cn8K0_ow.js} +345 -343
- package/dist/{index-D0J1OD73.js → index-Cqy6ASLx.js} +1973 -1973
- package/dist/{index-BOd8pd8c.js → index-DZk0qqwc.js} +11 -11
- package/dist/{index-DO14DPs3.js → index-DbKtesjt.js} +5 -5
- package/dist/{index-BDezoD7C.js → index-QKKFxYzD.js} +1 -1
- package/dist/{index-H7ThVJwV.js → index-rmIsx2tg.js} +4 -4
- package/dist/{index.es-gTtSa0r5.js → index.es-B-GRkPuP.js} +2 -2
- package/dist/{index.es-B95K0DgG.js → index.es-Cg_UWsHO.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-DB9XS3BU.js → info-B7BMJWCi.js} +1 -1
- package/dist/{info-circle-BVB8s9W_.js → info-circle-B5W8cTtG.js} +1 -1
- package/dist/{lightbulb-C0eiLvuS.js → lightbulb-CE14nhS1.js} +1 -1
- package/dist/{mail-CYcc9yZZ.js → mail-CJgub_7v.js} +1 -1
- package/dist/{mobile-Cvm9Skqq.js → mobile-CUrcSUMy.js} +1 -1
- package/dist/{more-B-UvO1Yo.js → more-DSoe0EFM.js} +1 -1
- package/dist/{network-placeholder-C8QNcwPf.js → network-placeholder-D4TgWI9S.js} +1 -1
- package/dist/{nftPlaceholder-C_LU9tT5.js → nftPlaceholder-B_aw8_Wa.js} +1 -1
- package/dist/{off-BEQbMYBZ.js → off-CXuNjJC_.js} +1 -1
- package/dist/{play-store-CEopCauM.js → play-store-whdM-RiO.js} +1 -1
- package/dist/{plus-CtEYHV2t.js → plus-BCb00oWI.js} +1 -1
- package/dist/{qr-code-BhmZxeo_.js → qr-code-CrZz31cn.js} +1 -1
- package/dist/{recycle-horizontal-CF9eqICi.js → recycle-horizontal-zVHv8VqG.js} +1 -1
- package/dist/{refresh-Bm3plkBE.js → refresh-Dh1P9Prg.js} +1 -1
- package/dist/{reown-logo-8S9ZN_-T.js → reown-logo-C1t7kKk0.js} +1 -1
- package/dist/{search-DNcA47oY.js → search-DOosY3rw.js} +1 -1
- package/dist/{send-B0S9gHH6.js → send-HhG-w4ZB.js} +1 -1
- package/dist/{swapHorizontal-BuTPPB8N.js → swapHorizontal-KGUWv5cL.js} +1 -1
- package/dist/{swapHorizontalBold-BnB-fpce.js → swapHorizontalBold-h7O8UH84.js} +1 -1
- package/dist/{swapHorizontalMedium-9QnwwjJD.js → swapHorizontalMedium-6rfLNFIU.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-C83mxp3u.js → swapHorizontalRoundedBold-DtsDbrRu.js} +1 -1
- package/dist/{swapVertical-BAz7hmKO.js → swapVertical-DWQX47SW.js} +1 -1
- package/dist/{telegram-BMT9bLfw.js → telegram-s85knZXn.js} +1 -1
- package/dist/{three-dots-DuhUrXKI.js → three-dots-BnNggSxh.js} +1 -1
- package/dist/{twitch-ClsoABSi.js → twitch-Cc4biVtc.js} +1 -1
- package/dist/{twitterIcon-B9n98fnH.js → twitterIcon-DjxAFgXk.js} +1 -1
- package/dist/{unsupportedProp-BXmR-9gT.js → unsupportedProp-B5CECy4t.js} +1 -1
- package/dist/{useRegisterError-DVG0sgLq.js → useRegisterError-CJtHIXKC.js} +1 -1
- package/dist/{verify-BHTa1Niv.js → verify-BsgbVmZv.js} +1 -1
- package/dist/{verify-filled-CqobBYuI.js → verify-filled-Di1kuO0I.js} +1 -1
- package/dist/{w3m-modal-B7akV0Kp.js → w3m-modal-DM2lvo7c.js} +2 -2
- package/dist/{wallet-ObJy7yZR.js → wallet-DdVEdNX4.js} +1 -1
- package/dist/{wallet-placeholder-BxVrKpEz.js → wallet-placeholder-DSK1ksLi.js} +1 -1
- package/dist/{walletconnect-CYJbrPQQ.js → walletconnect-DovW9Vek.js} +1 -1
- package/dist/{warning-circle-DOwgDOgL.js → warning-circle-CLU5deRK.js} +1 -1
- package/dist/{x-B03u0kWD.js → x-D9PVdKpY.js} +1 -1
- package/package.json +1 -1
- package/dist/AllRoutes-CIe7ZLbW.js +0 -2209
- package/dist/Box-QpYIDD-V.js +0 -54
- package/dist/EstGas-Dpwt2-50.js +0 -1574
- package/dist/Grow-L7kyPhbh.js +0 -1656
- package/dist/InputComp-Dl4M7E5v.js +0 -105
- package/dist/LoadRoute-cBSl34Bs.js +0 -125
- package/dist/QuotesProgress-CxJUoCPy.js +0 -28
- package/dist/SwapAsset-CkRat7Ok.js +0 -51
- package/dist/Tooltip-D2kKNQ0U.js +0 -572
- package/dist/TxnButton-mfwy-EoQ.js +0 -222
- package/dist/add-Dfrw-dUV.js +0 -19
- package/dist/all-wallets-Dw10lWJZ.js +0 -10
- package/dist/app-store-DJiZFSCr.js +0 -21
- package/dist/apple-kMZGS4AC.js +0 -22
- package/dist/arrow-bottom-DgmWrLqf.js +0 -12
- package/dist/arrow-bottom-circle-C7iPKwzW.js +0 -15
- package/dist/arrow-left-Dol642VI.js +0 -12
- package/dist/arrow-right-CMwyPVT7.js +0 -12
- package/dist/arrow-top-kn9xtx92.js +0 -12
- package/dist/bank-DK-FvDfd.js +0 -18
- package/dist/basic-Sejv2JvX.js +0 -5783
- package/dist/browser-BzT1ACe9.js +0 -18
- package/dist/card-DqDM55a-.js +0 -18
- package/dist/ccip-BPZSey8I.js +0 -228
- package/dist/checkmark-DEKH6rOS.js +0 -15
- package/dist/checkmark-bold-Dzv2hN2Q.js +0 -12
- package/dist/chevron-bottom-CXdHWe0F.js +0 -12
- package/dist/chevron-left-CeuFz3M9.js +0 -12
- package/dist/chevron-right-DikqbHjp.js +0 -12
- package/dist/chevron-top-CjCScawp.js +0 -12
- package/dist/chrome-store-DaP5Y4w2.js +0 -65
- package/dist/clock-BzjZWK68.js +0 -12
- package/dist/close-Dqncm2nY.js +0 -12
- package/dist/coinPlaceholder-BExfa33b.js +0 -12
- package/dist/compass-C1H_fht-.js +0 -12
- package/dist/copy-DPMVX3yZ.js +0 -19
- package/dist/core-BYOwnw_B.js +0 -16521
- package/dist/cursor-transparent-IQlZspwQ.js +0 -16
- package/dist/cursor-ybJpiPr6.js +0 -7
- package/dist/desktop-WMYv3b4Q.js +0 -13
- package/dist/disconnect-eMeec26w.js +0 -12
- package/dist/discord-CpTo4KnZ.js +0 -21
- package/dist/down-hvB7J3FG.js +0 -622
- package/dist/etherscan-DQ1h54d3.js +0 -10
- package/dist/exclamation-triangle-DzKs0-30.js +0 -8
- package/dist/extension-ep1TEUSD.js +0 -12
- package/dist/external-link-DRzzevt_.js +0 -12
- package/dist/facebook-eXS31CP5.js +0 -30
- package/dist/farcaster-f0EPKy4w.js +0 -16
- package/dist/filters-RqawLZYy.js +0 -12
- package/dist/getChainIds-DXEtLb1g.js +0 -1888
- package/dist/getCosmosAddress-X_cfoAnv.js +0 -9517
- package/dist/github-d1vUfc1B.js +0 -22
- package/dist/google-Dtcfyt4F.js +0 -22
- package/dist/hamburger-DezZOKRv.js +0 -3915
- package/dist/help-circle-BTpSg7wr.js +0 -16
- package/dist/id-CV-pIIiZ.js +0 -16
- package/dist/image-n7ODnWNp.js +0 -8
- package/dist/index-BYmiFoJh.js +0 -29495
- package/dist/index-C7McnY5R.js +0 -18509
- package/dist/index-CI-V1HdQ.js +0 -3267
- package/dist/index-CSgWo9Cg.js +0 -6713
- package/dist/index-CViW2kjE.js +0 -13547
- package/dist/index-CoV9zQx1.js +0 -992
- package/dist/index-D_8iklL2.js +0 -1483
- package/dist/index-GlSAE8hE.js +0 -472
- package/dist/index-Pni0gIii.js +0 -206
- package/dist/index-TEYMoNwP.js +0 -9
- package/dist/index-VS3sEqmI.js +0 -330
- package/dist/index.es-BzyBckd_.js +0 -366
- package/dist/index.es-CMvE7ghR.js +0 -14904
- package/dist/info-DWZmKXfC.js +0 -7
- package/dist/info-circle-Bk9rpQzz.js +0 -16
- package/dist/lightbulb-CUDopurR.js +0 -7
- package/dist/mail-Df9wlUBz.js +0 -12
- package/dist/mobile-DcoUJktC.js +0 -13
- package/dist/more-DbsAB7Xx.js +0 -15
- package/dist/network-placeholder-CnHZLxGT.js +0 -18
- package/dist/nftPlaceholder-D7igGAAq.js +0 -12
- package/dist/off-Brms9nN7.js +0 -12
- package/dist/play-store-z4z-boXn.js +0 -36
- package/dist/plus-LkrIZJEQ.js +0 -17
- package/dist/qr-code-CZnYaNoE.js +0 -10
- package/dist/recycle-horizontal-CeGotUdv.js +0 -13
- package/dist/refresh-CKhWU1dQ.js +0 -12
- package/dist/reown-logo-CF2Qkyw1.js +0 -16
- package/dist/search-DyuAYb_-.js +0 -12
- package/dist/send-BbBOjlsM.js +0 -19
- package/dist/swapHorizontal-DA7yhPfV.js +0 -12
- package/dist/swapHorizontalBold-BujZxwgY.js +0 -12
- package/dist/swapHorizontalMedium-hEBn_MJv.js +0 -20
- package/dist/swapHorizontalRoundedBold-Cqg1Na-5.js +0 -12
- package/dist/swapVertical-D1CdGHJt.js +0 -12
- package/dist/telegram-dDQ2sOw5.js +0 -20
- package/dist/three-dots-ltDeu1Xu.js +0 -9
- package/dist/twitch-sBusnrAt.js +0 -22
- package/dist/twitterIcon-BKMgaEZ4.js +0 -10
- package/dist/unsupportedProp-P9y3_0om.js +0 -10
- package/dist/useRegisterError-DGMdKFc9.js +0 -8918
- package/dist/verify-DXzijLDZ.js +0 -12
- package/dist/verify-filled-DnKqj8X5.js +0 -12
- package/dist/w3m-modal-Cc1j8j_E.js +0 -1471
- package/dist/wallet-placeholder-DEsjd5Nv.js +0 -18
- package/dist/wallet-zL6TDKIa.js +0 -12
- package/dist/walletconnect-CZz6e0wy.js +0 -36
- package/dist/warning-circle-DsGlg2MF.js +0 -16
- package/dist/x-MwPhq03Y.js +0 -16
package/dist/Tooltip-D2kKNQ0U.js
DELETED
@@ -1,572 +0,0 @@
|
|
1
|
-
import { b as go, g as To, i as yo, _ as vo, p as B, d as n, e as D, s as Q, f as Ve, h as Po, j as ze, P as e } from "./index-BYmiFoJh.js";
|
2
|
-
import * as p from "react";
|
3
|
-
import { G as Be, b as wo, u as Ro, a as Co, P as He } from "./Grow-L7kyPhbh.js";
|
4
|
-
import { jsx as j, jsxs as Se } from "react/jsx-runtime";
|
5
|
-
import { j as xo, q as I, l as Ue, s as Oo, b as Eo, n as Mo, D as A, E as _o, w as No } from "./useRegisterError-DGMdKFc9.js";
|
6
|
-
function Lo(r) {
|
7
|
-
return To("MuiTooltip", r);
|
8
|
-
}
|
9
|
-
const f = go("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]), $o = ["arrow", "children", "classes", "components", "componentsProps", "describeChild", "disableFocusListener", "disableHoverListener", "disableInteractive", "disableTouchListener", "enterDelay", "enterNextDelay", "enterTouchDelay", "followCursor", "id", "leaveDelay", "leaveTouchDelay", "onClose", "onOpen", "open", "placement", "PopperComponent", "PopperProps", "slotProps", "slots", "title", "TransitionComponent", "TransitionProps"];
|
10
|
-
function Do(r) {
|
11
|
-
return Math.round(r * 1e5) / 1e5;
|
12
|
-
}
|
13
|
-
const jo = (r) => {
|
14
|
-
const {
|
15
|
-
classes: t,
|
16
|
-
disableInteractive: s,
|
17
|
-
arrow: d,
|
18
|
-
touch: R,
|
19
|
-
placement: C
|
20
|
-
} = r, x = {
|
21
|
-
popper: ["popper", !s && "popperInteractive", d && "popperArrow"],
|
22
|
-
tooltip: ["tooltip", d && "tooltipArrow", R && "touch", `tooltipPlacement${Ve(C.split("-")[0])}`],
|
23
|
-
arrow: ["arrow"]
|
24
|
-
};
|
25
|
-
return Po(x, Lo, t);
|
26
|
-
}, Io = Q(He, {
|
27
|
-
name: "MuiTooltip",
|
28
|
-
slot: "Popper",
|
29
|
-
overridesResolver: (r, t) => {
|
30
|
-
const {
|
31
|
-
ownerState: s
|
32
|
-
} = r;
|
33
|
-
return [t.popper, !s.disableInteractive && t.popperInteractive, s.arrow && t.popperArrow, !s.open && t.popperClose];
|
34
|
-
}
|
35
|
-
})(({
|
36
|
-
theme: r,
|
37
|
-
ownerState: t,
|
38
|
-
open: s
|
39
|
-
}) => n({
|
40
|
-
zIndex: (r.vars || r).zIndex.tooltip,
|
41
|
-
pointerEvents: "none"
|
42
|
-
}, !t.disableInteractive && {
|
43
|
-
pointerEvents: "auto"
|
44
|
-
}, !s && {
|
45
|
-
pointerEvents: "none"
|
46
|
-
}, t.arrow && {
|
47
|
-
[`&[data-popper-placement*="bottom"] .${f.arrow}`]: {
|
48
|
-
top: 0,
|
49
|
-
marginTop: "-0.71em",
|
50
|
-
"&::before": {
|
51
|
-
transformOrigin: "0 100%"
|
52
|
-
}
|
53
|
-
},
|
54
|
-
[`&[data-popper-placement*="top"] .${f.arrow}`]: {
|
55
|
-
bottom: 0,
|
56
|
-
marginBottom: "-0.71em",
|
57
|
-
"&::before": {
|
58
|
-
transformOrigin: "100% 0"
|
59
|
-
}
|
60
|
-
},
|
61
|
-
[`&[data-popper-placement*="right"] .${f.arrow}`]: n({}, t.isRtl ? {
|
62
|
-
right: 0,
|
63
|
-
marginRight: "-0.71em"
|
64
|
-
} : {
|
65
|
-
left: 0,
|
66
|
-
marginLeft: "-0.71em"
|
67
|
-
}, {
|
68
|
-
height: "1em",
|
69
|
-
width: "0.71em",
|
70
|
-
"&::before": {
|
71
|
-
transformOrigin: "100% 100%"
|
72
|
-
}
|
73
|
-
}),
|
74
|
-
[`&[data-popper-placement*="left"] .${f.arrow}`]: n({}, t.isRtl ? {
|
75
|
-
left: 0,
|
76
|
-
marginLeft: "-0.71em"
|
77
|
-
} : {
|
78
|
-
right: 0,
|
79
|
-
marginRight: "-0.71em"
|
80
|
-
}, {
|
81
|
-
height: "1em",
|
82
|
-
width: "0.71em",
|
83
|
-
"&::before": {
|
84
|
-
transformOrigin: "0 0"
|
85
|
-
}
|
86
|
-
})
|
87
|
-
})), Ao = Q("div", {
|
88
|
-
name: "MuiTooltip",
|
89
|
-
slot: "Tooltip",
|
90
|
-
overridesResolver: (r, t) => {
|
91
|
-
const {
|
92
|
-
ownerState: s
|
93
|
-
} = r;
|
94
|
-
return [t.tooltip, s.touch && t.touch, s.arrow && t.tooltipArrow, t[`tooltipPlacement${Ve(s.placement.split("-")[0])}`]];
|
95
|
-
}
|
96
|
-
})(({
|
97
|
-
theme: r,
|
98
|
-
ownerState: t
|
99
|
-
}) => n({
|
100
|
-
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg : ze.alpha(r.palette.grey[700], 0.92),
|
101
|
-
borderRadius: (r.vars || r).shape.borderRadius,
|
102
|
-
color: (r.vars || r).palette.common.white,
|
103
|
-
fontFamily: r.typography.fontFamily,
|
104
|
-
padding: "4px 8px",
|
105
|
-
fontSize: r.typography.pxToRem(11),
|
106
|
-
maxWidth: 300,
|
107
|
-
margin: 2,
|
108
|
-
wordWrap: "break-word",
|
109
|
-
fontWeight: r.typography.fontWeightMedium
|
110
|
-
}, t.arrow && {
|
111
|
-
position: "relative",
|
112
|
-
margin: 0
|
113
|
-
}, t.touch && {
|
114
|
-
padding: "8px 16px",
|
115
|
-
fontSize: r.typography.pxToRem(14),
|
116
|
-
lineHeight: `${Do(16 / 14)}em`,
|
117
|
-
fontWeight: r.typography.fontWeightRegular
|
118
|
-
}, {
|
119
|
-
[`.${f.popper}[data-popper-placement*="left"] &`]: n({
|
120
|
-
transformOrigin: "right center"
|
121
|
-
}, t.isRtl ? n({
|
122
|
-
marginLeft: "14px"
|
123
|
-
}, t.touch && {
|
124
|
-
marginLeft: "24px"
|
125
|
-
}) : n({
|
126
|
-
marginRight: "14px"
|
127
|
-
}, t.touch && {
|
128
|
-
marginRight: "24px"
|
129
|
-
})),
|
130
|
-
[`.${f.popper}[data-popper-placement*="right"] &`]: n({
|
131
|
-
transformOrigin: "left center"
|
132
|
-
}, t.isRtl ? n({
|
133
|
-
marginRight: "14px"
|
134
|
-
}, t.touch && {
|
135
|
-
marginRight: "24px"
|
136
|
-
}) : n({
|
137
|
-
marginLeft: "14px"
|
138
|
-
}, t.touch && {
|
139
|
-
marginLeft: "24px"
|
140
|
-
})),
|
141
|
-
[`.${f.popper}[data-popper-placement*="top"] &`]: n({
|
142
|
-
transformOrigin: "center bottom",
|
143
|
-
marginBottom: "14px"
|
144
|
-
}, t.touch && {
|
145
|
-
marginBottom: "24px"
|
146
|
-
}),
|
147
|
-
[`.${f.popper}[data-popper-placement*="bottom"] &`]: n({
|
148
|
-
transformOrigin: "center top",
|
149
|
-
marginTop: "14px"
|
150
|
-
}, t.touch && {
|
151
|
-
marginTop: "24px"
|
152
|
-
})
|
153
|
-
})), Fo = Q("span", {
|
154
|
-
name: "MuiTooltip",
|
155
|
-
slot: "Arrow",
|
156
|
-
overridesResolver: (r, t) => t.arrow
|
157
|
-
})(({
|
158
|
-
theme: r
|
159
|
-
}) => ({
|
160
|
-
overflow: "hidden",
|
161
|
-
position: "absolute",
|
162
|
-
width: "1em",
|
163
|
-
height: "0.71em",
|
164
|
-
boxSizing: "border-box",
|
165
|
-
color: r.vars ? r.vars.palette.Tooltip.bg : ze.alpha(r.palette.grey[700], 0.9),
|
166
|
-
"&::before": {
|
167
|
-
content: '""',
|
168
|
-
margin: "auto",
|
169
|
-
display: "block",
|
170
|
-
width: "100%",
|
171
|
-
height: "100%",
|
172
|
-
backgroundColor: "currentColor",
|
173
|
-
transform: "rotate(45deg)"
|
174
|
-
}
|
175
|
-
}));
|
176
|
-
let F = !1;
|
177
|
-
const We = new _o();
|
178
|
-
let w = {
|
179
|
-
x: 0,
|
180
|
-
y: 0
|
181
|
-
};
|
182
|
-
function k(r, t) {
|
183
|
-
return (s, ...d) => {
|
184
|
-
t && t(s, ...d), r(s, ...d);
|
185
|
-
};
|
186
|
-
}
|
187
|
-
const ko = /* @__PURE__ */ p.forwardRef(function(t, s) {
|
188
|
-
var d, R, C, x, Z, ee, oe, te, re, ne, se, pe, ie, le, ae, ce, ue, de, me;
|
189
|
-
const S = yo({
|
190
|
-
props: t,
|
191
|
-
name: "MuiTooltip"
|
192
|
-
}), {
|
193
|
-
arrow: fe = !1,
|
194
|
-
children: U,
|
195
|
-
components: O = {},
|
196
|
-
componentsProps: h = {},
|
197
|
-
describeChild: Ye = !1,
|
198
|
-
disableFocusListener: qe = !1,
|
199
|
-
disableHoverListener: he = !1,
|
200
|
-
disableInteractive: Ge = !1,
|
201
|
-
disableTouchListener: Ke = !1,
|
202
|
-
enterDelay: be = 100,
|
203
|
-
enterNextDelay: ge = 0,
|
204
|
-
enterTouchDelay: Xe = 700,
|
205
|
-
followCursor: W = !1,
|
206
|
-
id: Je,
|
207
|
-
leaveDelay: Te = 0,
|
208
|
-
leaveTouchDelay: Qe = 1500,
|
209
|
-
onClose: ye,
|
210
|
-
onOpen: ve,
|
211
|
-
open: Pe,
|
212
|
-
placement: we = "bottom",
|
213
|
-
PopperComponent: V,
|
214
|
-
PopperProps: b = {},
|
215
|
-
slotProps: g = {},
|
216
|
-
slots: E = {},
|
217
|
-
title: m,
|
218
|
-
TransitionComponent: Ze = Be,
|
219
|
-
TransitionProps: eo
|
220
|
-
} = S, Re = vo(S, $o), c = /* @__PURE__ */ p.isValidElement(U) ? U : /* @__PURE__ */ j("span", {
|
221
|
-
children: U
|
222
|
-
}), Ce = xo(), oo = wo(), [l, xe] = p.useState(), [z, to] = p.useState(null), M = p.useRef(!1), H = Ge || W, Oe = I(), Y = I(), _ = I(), Ee = I(), [ro, Me] = Ro({
|
223
|
-
controlled: Pe,
|
224
|
-
default: !1,
|
225
|
-
name: "Tooltip",
|
226
|
-
state: "open"
|
227
|
-
});
|
228
|
-
let u = ro;
|
229
|
-
if (B.env.NODE_ENV !== "production") {
|
230
|
-
const {
|
231
|
-
current: o
|
232
|
-
} = p.useRef(Pe !== void 0);
|
233
|
-
p.useEffect(() => {
|
234
|
-
l && l.disabled && !o && m !== "" && l.tagName.toLowerCase();
|
235
|
-
}, [m, l, o]);
|
236
|
-
}
|
237
|
-
const q = Co(Je), T = p.useRef(), N = Ue(() => {
|
238
|
-
T.current !== void 0 && (document.body.style.WebkitUserSelect = T.current, T.current = void 0), Ee.clear();
|
239
|
-
});
|
240
|
-
p.useEffect(() => N, [N]);
|
241
|
-
const _e = (o) => {
|
242
|
-
We.clear(), F = !0, Me(!0), ve && !u && ve(o);
|
243
|
-
}, L = Ue(
|
244
|
-
/**
|
245
|
-
* @param {React.SyntheticEvent | Event} event
|
246
|
-
*/
|
247
|
-
(o) => {
|
248
|
-
We.start(800 + Te, () => {
|
249
|
-
F = !1;
|
250
|
-
}), Me(!1), ye && u && ye(o), Oe.start(Ce.transitions.duration.shortest, () => {
|
251
|
-
M.current = !1;
|
252
|
-
});
|
253
|
-
}
|
254
|
-
), $ = (o) => {
|
255
|
-
M.current && o.type !== "touchstart" || (l && l.removeAttribute("title"), Y.clear(), _.clear(), be || F && ge ? Y.start(F ? ge : be, () => {
|
256
|
-
_e(o);
|
257
|
-
}) : _e(o));
|
258
|
-
}, G = (o) => {
|
259
|
-
Y.clear(), _.start(Te, () => {
|
260
|
-
L(o);
|
261
|
-
});
|
262
|
-
}, {
|
263
|
-
isFocusVisibleRef: Ne,
|
264
|
-
onBlur: no,
|
265
|
-
onFocus: so,
|
266
|
-
ref: po
|
267
|
-
} = Oo(), [, Le] = p.useState(!1), $e = (o) => {
|
268
|
-
no(o), Ne.current === !1 && (Le(!1), G(o));
|
269
|
-
}, De = (o) => {
|
270
|
-
l || xe(o.currentTarget), so(o), Ne.current === !0 && (Le(!0), $(o));
|
271
|
-
}, je = (o) => {
|
272
|
-
M.current = !0;
|
273
|
-
const i = c.props;
|
274
|
-
i.onTouchStart && i.onTouchStart(o);
|
275
|
-
}, io = (o) => {
|
276
|
-
je(o), _.clear(), Oe.clear(), N(), T.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", Ee.start(Xe, () => {
|
277
|
-
document.body.style.WebkitUserSelect = T.current, $(o);
|
278
|
-
});
|
279
|
-
}, lo = (o) => {
|
280
|
-
c.props.onTouchEnd && c.props.onTouchEnd(o), N(), _.start(Qe, () => {
|
281
|
-
L(o);
|
282
|
-
});
|
283
|
-
};
|
284
|
-
p.useEffect(() => {
|
285
|
-
if (!u)
|
286
|
-
return;
|
287
|
-
function o(i) {
|
288
|
-
(i.key === "Escape" || i.key === "Esc") && L(i);
|
289
|
-
}
|
290
|
-
return document.addEventListener("keydown", o), () => {
|
291
|
-
document.removeEventListener("keydown", o);
|
292
|
-
};
|
293
|
-
}, [L, u]);
|
294
|
-
const ao = Eo(Mo(c), po, xe, s);
|
295
|
-
!m && m !== 0 && (u = !1);
|
296
|
-
const K = p.useRef(), co = (o) => {
|
297
|
-
const i = c.props;
|
298
|
-
i.onMouseMove && i.onMouseMove(o), w = {
|
299
|
-
x: o.clientX,
|
300
|
-
y: o.clientY
|
301
|
-
}, K.current && K.current.update();
|
302
|
-
}, y = {}, X = typeof m == "string";
|
303
|
-
Ye ? (y.title = !u && X && !he ? m : null, y["aria-describedby"] = u ? q : null) : (y["aria-label"] = X ? m : null, y["aria-labelledby"] = u && !X ? q : null);
|
304
|
-
const a = n({}, y, Re, c.props, {
|
305
|
-
className: D(Re.className, c.props.className),
|
306
|
-
onTouchStart: je,
|
307
|
-
ref: ao
|
308
|
-
}, W ? {
|
309
|
-
onMouseMove: co
|
310
|
-
} : {});
|
311
|
-
B.env.NODE_ENV !== "production" && (a["data-mui-internal-clone-element"] = !0, p.useEffect(() => {
|
312
|
-
l && l.getAttribute("data-mui-internal-clone-element");
|
313
|
-
}, [l]));
|
314
|
-
const v = {};
|
315
|
-
Ke || (a.onTouchStart = io, a.onTouchEnd = lo), he || (a.onMouseOver = k($, a.onMouseOver), a.onMouseLeave = k(G, a.onMouseLeave), H || (v.onMouseOver = $, v.onMouseLeave = G)), qe || (a.onFocus = k(De, a.onFocus), a.onBlur = k($e, a.onBlur), H || (v.onFocus = De, v.onBlur = $e)), B.env.NODE_ENV !== "production" && c.props.title;
|
316
|
-
const uo = p.useMemo(() => {
|
317
|
-
var o;
|
318
|
-
let i = [{
|
319
|
-
name: "arrow",
|
320
|
-
enabled: !!z,
|
321
|
-
options: {
|
322
|
-
element: z,
|
323
|
-
padding: 4
|
324
|
-
}
|
325
|
-
}];
|
326
|
-
return (o = b.popperOptions) != null && o.modifiers && (i = i.concat(b.popperOptions.modifiers)), n({}, b.popperOptions, {
|
327
|
-
modifiers: i
|
328
|
-
});
|
329
|
-
}, [z, b]), P = n({}, S, {
|
330
|
-
isRtl: oo,
|
331
|
-
arrow: fe,
|
332
|
-
disableInteractive: H,
|
333
|
-
placement: we,
|
334
|
-
PopperComponentProp: V,
|
335
|
-
touch: M.current
|
336
|
-
}), J = jo(P), Ie = (d = (R = E.popper) != null ? R : O.Popper) != null ? d : Io, Ae = (C = (x = (Z = E.transition) != null ? Z : O.Transition) != null ? x : Ze) != null ? C : Be, Fe = (ee = (oe = E.tooltip) != null ? oe : O.Tooltip) != null ? ee : Ao, ke = (te = (re = E.arrow) != null ? re : O.Arrow) != null ? te : Fo, mo = A(Ie, n({}, b, (ne = g.popper) != null ? ne : h.popper, {
|
337
|
-
className: D(J.popper, b == null ? void 0 : b.className, (se = (pe = g.popper) != null ? pe : h.popper) == null ? void 0 : se.className)
|
338
|
-
}), P), fo = A(Ae, n({}, eo, (ie = g.transition) != null ? ie : h.transition), P), ho = A(Fe, n({}, (le = g.tooltip) != null ? le : h.tooltip, {
|
339
|
-
className: D(J.tooltip, (ae = (ce = g.tooltip) != null ? ce : h.tooltip) == null ? void 0 : ae.className)
|
340
|
-
}), P), bo = A(ke, n({}, (ue = g.arrow) != null ? ue : h.arrow, {
|
341
|
-
className: D(J.arrow, (de = (me = g.arrow) != null ? me : h.arrow) == null ? void 0 : de.className)
|
342
|
-
}), P);
|
343
|
-
return /* @__PURE__ */ Se(p.Fragment, {
|
344
|
-
children: [/* @__PURE__ */ p.cloneElement(c, a), /* @__PURE__ */ j(Ie, n({
|
345
|
-
as: V ?? He,
|
346
|
-
placement: we,
|
347
|
-
anchorEl: W ? {
|
348
|
-
getBoundingClientRect: () => ({
|
349
|
-
top: w.y,
|
350
|
-
left: w.x,
|
351
|
-
right: w.x,
|
352
|
-
bottom: w.y,
|
353
|
-
width: 0,
|
354
|
-
height: 0
|
355
|
-
})
|
356
|
-
} : l,
|
357
|
-
popperRef: K,
|
358
|
-
open: l ? u : !1,
|
359
|
-
id: q,
|
360
|
-
transition: !0
|
361
|
-
}, v, mo, {
|
362
|
-
popperOptions: uo,
|
363
|
-
children: ({
|
364
|
-
TransitionProps: o
|
365
|
-
}) => /* @__PURE__ */ j(Ae, n({
|
366
|
-
timeout: Ce.transitions.duration.shorter
|
367
|
-
}, o, fo, {
|
368
|
-
children: /* @__PURE__ */ Se(Fe, n({}, ho, {
|
369
|
-
children: [m, fe ? /* @__PURE__ */ j(ke, n({}, bo, {
|
370
|
-
ref: to
|
371
|
-
})) : null]
|
372
|
-
}))
|
373
|
-
}))
|
374
|
-
}))]
|
375
|
-
});
|
376
|
-
});
|
377
|
-
B.env.NODE_ENV !== "production" && (ko.propTypes = {
|
378
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
379
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
380
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
381
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
382
|
-
/**
|
383
|
-
* If `true`, adds an arrow to the tooltip.
|
384
|
-
* @default false
|
385
|
-
*/
|
386
|
-
arrow: e.bool,
|
387
|
-
/**
|
388
|
-
* Tooltip reference element.
|
389
|
-
*/
|
390
|
-
children: No.isRequired,
|
391
|
-
/**
|
392
|
-
* Override or extend the styles applied to the component.
|
393
|
-
*/
|
394
|
-
classes: e.object,
|
395
|
-
/**
|
396
|
-
* @ignore
|
397
|
-
*/
|
398
|
-
className: e.string,
|
399
|
-
/**
|
400
|
-
* The components used for each slot inside.
|
401
|
-
*
|
402
|
-
* This prop is an alias for the `slots` prop.
|
403
|
-
* It's recommended to use the `slots` prop instead.
|
404
|
-
*
|
405
|
-
* @default {}
|
406
|
-
*/
|
407
|
-
components: e.shape({
|
408
|
-
Arrow: e.elementType,
|
409
|
-
Popper: e.elementType,
|
410
|
-
Tooltip: e.elementType,
|
411
|
-
Transition: e.elementType
|
412
|
-
}),
|
413
|
-
/**
|
414
|
-
* The extra props for the slot components.
|
415
|
-
* You can override the existing props or add new ones.
|
416
|
-
*
|
417
|
-
* This prop is an alias for the `slotProps` prop.
|
418
|
-
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
419
|
-
*
|
420
|
-
* @default {}
|
421
|
-
*/
|
422
|
-
componentsProps: e.shape({
|
423
|
-
arrow: e.object,
|
424
|
-
popper: e.object,
|
425
|
-
tooltip: e.object,
|
426
|
-
transition: e.object
|
427
|
-
}),
|
428
|
-
/**
|
429
|
-
* Set to `true` if the `title` acts as an accessible description.
|
430
|
-
* By default the `title` acts as an accessible label for the child.
|
431
|
-
* @default false
|
432
|
-
*/
|
433
|
-
describeChild: e.bool,
|
434
|
-
/**
|
435
|
-
* Do not respond to focus-visible events.
|
436
|
-
* @default false
|
437
|
-
*/
|
438
|
-
disableFocusListener: e.bool,
|
439
|
-
/**
|
440
|
-
* Do not respond to hover events.
|
441
|
-
* @default false
|
442
|
-
*/
|
443
|
-
disableHoverListener: e.bool,
|
444
|
-
/**
|
445
|
-
* Makes a tooltip not interactive, i.e. it will close when the user
|
446
|
-
* hovers over the tooltip before the `leaveDelay` is expired.
|
447
|
-
* @default false
|
448
|
-
*/
|
449
|
-
disableInteractive: e.bool,
|
450
|
-
/**
|
451
|
-
* Do not respond to long press touch events.
|
452
|
-
* @default false
|
453
|
-
*/
|
454
|
-
disableTouchListener: e.bool,
|
455
|
-
/**
|
456
|
-
* The number of milliseconds to wait before showing the tooltip.
|
457
|
-
* This prop won't impact the enter touch delay (`enterTouchDelay`).
|
458
|
-
* @default 100
|
459
|
-
*/
|
460
|
-
enterDelay: e.number,
|
461
|
-
/**
|
462
|
-
* The number of milliseconds to wait before showing the tooltip when one was already recently opened.
|
463
|
-
* @default 0
|
464
|
-
*/
|
465
|
-
enterNextDelay: e.number,
|
466
|
-
/**
|
467
|
-
* The number of milliseconds a user must touch the element before showing the tooltip.
|
468
|
-
* @default 700
|
469
|
-
*/
|
470
|
-
enterTouchDelay: e.number,
|
471
|
-
/**
|
472
|
-
* If `true`, the tooltip follow the cursor over the wrapped element.
|
473
|
-
* @default false
|
474
|
-
*/
|
475
|
-
followCursor: e.bool,
|
476
|
-
/**
|
477
|
-
* This prop is used to help implement the accessibility logic.
|
478
|
-
* If you don't provide this prop. It falls back to a randomly generated id.
|
479
|
-
*/
|
480
|
-
id: e.string,
|
481
|
-
/**
|
482
|
-
* The number of milliseconds to wait before hiding the tooltip.
|
483
|
-
* This prop won't impact the leave touch delay (`leaveTouchDelay`).
|
484
|
-
* @default 0
|
485
|
-
*/
|
486
|
-
leaveDelay: e.number,
|
487
|
-
/**
|
488
|
-
* The number of milliseconds after the user stops touching an element before hiding the tooltip.
|
489
|
-
* @default 1500
|
490
|
-
*/
|
491
|
-
leaveTouchDelay: e.number,
|
492
|
-
/**
|
493
|
-
* Callback fired when the component requests to be closed.
|
494
|
-
*
|
495
|
-
* @param {React.SyntheticEvent} event The event source of the callback.
|
496
|
-
*/
|
497
|
-
onClose: e.func,
|
498
|
-
/**
|
499
|
-
* Callback fired when the component requests to be open.
|
500
|
-
*
|
501
|
-
* @param {React.SyntheticEvent} event The event source of the callback.
|
502
|
-
*/
|
503
|
-
onOpen: e.func,
|
504
|
-
/**
|
505
|
-
* If `true`, the component is shown.
|
506
|
-
*/
|
507
|
-
open: e.bool,
|
508
|
-
/**
|
509
|
-
* Tooltip placement.
|
510
|
-
* @default 'bottom'
|
511
|
-
*/
|
512
|
-
placement: e.oneOf(["bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
513
|
-
/**
|
514
|
-
* The component used for the popper.
|
515
|
-
* @default Popper
|
516
|
-
*/
|
517
|
-
PopperComponent: e.elementType,
|
518
|
-
/**
|
519
|
-
* Props applied to the [`Popper`](/material-ui/api/popper/) element.
|
520
|
-
* @default {}
|
521
|
-
*/
|
522
|
-
PopperProps: e.object,
|
523
|
-
/**
|
524
|
-
* The extra props for the slot components.
|
525
|
-
* You can override the existing props or add new ones.
|
526
|
-
*
|
527
|
-
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
528
|
-
*
|
529
|
-
* @default {}
|
530
|
-
*/
|
531
|
-
slotProps: e.shape({
|
532
|
-
arrow: e.object,
|
533
|
-
popper: e.object,
|
534
|
-
tooltip: e.object,
|
535
|
-
transition: e.object
|
536
|
-
}),
|
537
|
-
/**
|
538
|
-
* The components used for each slot inside.
|
539
|
-
*
|
540
|
-
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
541
|
-
*
|
542
|
-
* @default {}
|
543
|
-
*/
|
544
|
-
slots: e.shape({
|
545
|
-
arrow: e.elementType,
|
546
|
-
popper: e.elementType,
|
547
|
-
tooltip: e.elementType,
|
548
|
-
transition: e.elementType
|
549
|
-
}),
|
550
|
-
/**
|
551
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
552
|
-
*/
|
553
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
554
|
-
/**
|
555
|
-
* Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
|
556
|
-
*/
|
557
|
-
title: e.node,
|
558
|
-
/**
|
559
|
-
* The component used for the transition.
|
560
|
-
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
561
|
-
* @default Grow
|
562
|
-
*/
|
563
|
-
TransitionComponent: e.elementType,
|
564
|
-
/**
|
565
|
-
* Props applied to the transition element.
|
566
|
-
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
567
|
-
*/
|
568
|
-
TransitionProps: e.object
|
569
|
-
});
|
570
|
-
export {
|
571
|
-
ko as T
|
572
|
-
};
|