everest-npm-features 0.0.61 → 0.0.62

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.
Files changed (229) hide show
  1. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  2. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  3. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  4. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  5. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  6. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  7. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  8. package/dist/{PlayArrow-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
  11. package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
  12. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  13. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
  14. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
  15. package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
  16. package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
  17. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  18. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  20. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
  21. package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
  22. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  23. package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
  24. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
  25. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
  26. package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
  27. package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
  28. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
  29. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  30. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  31. package/dist/components/RocketRamp/ResetPassword/index.js +22 -24
  32. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  33. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  34. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  35. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  36. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  37. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  38. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  39. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  40. package/dist/components/RocketRamp/Store/SignUp/index.js +52 -55
  41. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
  42. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
  43. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  44. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  45. package/dist/components/RocketRamp/Transactions/index.js +22 -23
  46. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  47. package/dist/components/Shared/FullKyc/edd.js +50 -52
  48. package/dist/components/Shared/FullKyc/index.js +11 -9
  49. package/dist/components/Shared/FullKyc/pep.js +35 -43
  50. package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
  51. package/dist/components/Shared/FullKyc/userInfo.js +6 -11
  52. package/dist/components/Shared/HistoryItem/index.js +43 -48
  53. package/dist/components/Shared/Incode/index.js +31 -35
  54. package/dist/components/Shared/MinimalKyc/index.js +59 -64
  55. package/dist/components/Shared/Sumsub/index.js +74 -61
  56. package/dist/components/Shared/loader.js +4 -5
  57. package/dist/components/Shared/tooltip.js +2 -2
  58. package/dist/components/Shared/transition.js +4 -4
  59. package/dist/components/Wallet/Account/createIban.js +34 -37
  60. package/dist/components/Wallet/Account/eWallet.js +35 -39
  61. package/dist/components/Wallet/Account/iban.js +49 -53
  62. package/dist/components/Wallet/Account/ibanItem.js +68 -73
  63. package/dist/components/Wallet/Account/index.js +66 -73
  64. package/dist/components/Wallet/Account/sendIban.js +79 -88
  65. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
  66. package/dist/components/Wallet/Buy/form.js +6 -16
  67. package/dist/components/Wallet/Buy/index.js +2 -2
  68. package/dist/components/Wallet/Deposit/index.js +15 -17
  69. package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
  70. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  71. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  72. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  73. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  74. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
  77. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  78. package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
  79. package/dist/components/Wallet/History/index.js +22 -796
  80. package/dist/components/Wallet/Home/index.js +13 -14
  81. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
  82. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  83. package/dist/components/Wallet/Portfolio/index.js +47 -50
  84. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  85. package/dist/components/Wallet/Profile/documents.js +125 -134
  86. package/dist/components/Wallet/Profile/index.js +37 -42
  87. package/dist/components/Wallet/Profile/storage.js +39 -47
  88. package/dist/components/Wallet/Receive/index.js +31 -36
  89. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
  90. package/dist/components/Wallet/Sell/form.js +6 -16
  91. package/dist/components/Wallet/Sell/index.js +2 -2
  92. package/dist/components/Wallet/Send/index.js +98 -107
  93. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  94. package/dist/components/Wallet/Shared/Auth/otpForm.js +8 -355
  95. package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
  96. package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
  97. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  98. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  99. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  100. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  101. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  102. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  103. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  104. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  105. package/dist/components/Wallet/Shared/addBank.js +40 -44
  106. package/dist/components/Wallet/Shared/appButton.js +11 -15
  107. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  108. package/dist/components/Wallet/Shared/button.js +7 -7
  109. package/dist/components/Wallet/Shared/connectPlaidBank.js +15 -16
  110. package/dist/components/Wallet/Shared/inputField.js +5 -5
  111. package/dist/components/Wallet/Shared/manualSend.js +7 -11
  112. package/dist/components/Wallet/Shared/noData.js +4 -5
  113. package/dist/components/Wallet/Shared/pin.js +25 -27
  114. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  115. package/dist/components/Wallet/Shared/step.js +12 -13
  116. package/dist/components/Wallet/Shared/timer.js +1 -1
  117. package/dist/components/Wallet/SignIn/index.js +16 -16
  118. package/dist/components/Wallet/SignUp/index.js +62 -152
  119. package/dist/components/Wallet/SignUp/terms.js +1 -1
  120. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  121. package/dist/components/Wallet/Stake/id/index.js +73 -81
  122. package/dist/components/Wallet/Stake/index.js +64 -67
  123. package/dist/components/Wallet/Swap/form.js +8 -17
  124. package/dist/components/Wallet/Swap/index.js +2 -2
  125. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  126. package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
  127. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
  128. package/dist/components/Wallet/Withdraw/form.js +4 -15
  129. package/dist/components/Wallet/Withdraw/index.js +2 -2
  130. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  131. package/dist/hoc/withThemeProvider.js +5 -732
  132. package/dist/hooks/useDialog/index.js +22 -23
  133. package/dist/hooks/useRrDialog/index.js +43 -46
  134. package/dist/hooks/useSnackBar.js +24 -696
  135. package/dist/icons/buyIcon.js +1 -1
  136. package/dist/icons/canceledBuyIcon.js +1 -1
  137. package/dist/icons/canceledRedeemIcon.js +1 -1
  138. package/dist/icons/failedBuyIcon.js +2 -2
  139. package/dist/icons/failedRedeemIcon.js +2 -2
  140. package/dist/icons/pendingBuyIcon.js +1 -1
  141. package/dist/icons/pendingRedeemIcon.js +1 -1
  142. package/dist/icons/redeemIcon.js +1 -1
  143. package/dist/{index-BbVpeed7.js → index-3OQ4M69t.js} +87 -96
  144. package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
  145. package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
  146. package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
  147. package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
  148. package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
  149. package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
  150. package/dist/main.js +7 -7
  151. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  152. package/dist/otpForm-fiNqeB5H.js +7378 -0
  153. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  154. package/dist/tooltip-BW0UyWw7.js +2129 -0
  155. package/package.json +6 -6
  156. package/dist/Alert-DzsbFW3-.js +0 -369
  157. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  158. package/dist/Avatar-1XklXr4O.js +0 -281
  159. package/dist/Backdrop-CioURPVG.js +0 -359
  160. package/dist/Box-B0YSYLco.js +0 -59
  161. package/dist/Button-Df4vgU24.js +0 -663
  162. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  163. package/dist/CardContent-D9wTdpu-.js +0 -141
  164. package/dist/CircularProgress-xZA3lvba.js +0 -252
  165. package/dist/Close-CxzDL3J-.js +0 -9
  166. package/dist/Container-urNKV7hm.js +0 -181
  167. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  168. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  169. package/dist/DialogContent-BMwlOnbW.js +0 -567
  170. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  171. package/dist/Divider-BShhMFf4.js +0 -297
  172. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  173. package/dist/FormControl-RtZDQMdA.js +0 -258
  174. package/dist/FormControlLabel-BliKW48y.js +0 -519
  175. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  176. package/dist/Grid-CFe3amXO.js +0 -410
  177. package/dist/Grow-CnGtel3u.js +0 -196
  178. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  179. package/dist/IconButton-DHm-hucF.js +0 -297
  180. package/dist/InputAdornment-DMiED3JH.js +0 -173
  181. package/dist/Link-DBA9Yifs.js +0 -266
  182. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  183. package/dist/Menu-DLYFFrEk.js +0 -1239
  184. package/dist/MenuItem-DUdYOJr4.js +0 -271
  185. package/dist/Modal-CFIQ_s3T.js +0 -743
  186. package/dist/Paper-Bgt2WXI6.js +0 -186
  187. package/dist/Popper-BBAoiZKn.js +0 -1409
  188. package/dist/Portal-BMAxiQwe.js +0 -69
  189. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  190. package/dist/Select-CB5yWmyn.js +0 -1886
  191. package/dist/Slide-B9Nw0LZ4.js +0 -235
  192. package/dist/Stack-k55YTxET.js +0 -172
  193. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  194. package/dist/TextField-DPpRUQe3.js +0 -978
  195. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  196. package/dist/Typography-pAaje37G.js +0 -260
  197. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  198. package/dist/clsx-BTaloaeC.js +0 -264
  199. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  200. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  201. package/dist/createTheme-CD19zQB7.js +0 -3825
  202. package/dist/debounce-46wSf_lW.js +0 -15
  203. package/dist/defaultTheme-C35y5cLB.js +0 -5
  204. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  205. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  206. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  207. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  208. package/dist/exactProp-C1Lmtwf_.js +0 -13
  209. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  210. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  211. package/dist/index-B0Z-Gjno.js +0 -22
  212. package/dist/index-DUcLo3x5.js +0 -43
  213. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  214. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  215. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  216. package/dist/memoTheme-yHaPezod.js +0 -15
  217. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  218. package/dist/radioButton-CzlYB0Lh.js +0 -402
  219. package/dist/refType-BsTH3qnM.js +0 -56
  220. package/dist/tooltip-3UvETWtS.js +0 -740
  221. package/dist/useControlled-nm4pBabJ.js +0 -31
  222. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  223. package/dist/useFormControl-CatNKXAi.js +0 -10
  224. package/dist/useId-CK6Kn3Tn.js +0 -21
  225. package/dist/useSlot-CW7SOYlh.js +0 -125
  226. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  227. package/dist/useTheme-BQJ5lp0i.js +0 -11
  228. package/dist/useTheme-S5_DHFsQ.js +0 -17
  229. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,740 +0,0 @@
1
- import { jsxs as ge, jsx as O } from "react/jsx-runtime";
2
- import * as n from "react";
3
- import Qe from "react";
4
- import { s as A, u as Ze, c as eo } from "./DefaultPropsProvider-oAu9El-f.js";
5
- import { g as oo, b as ve, P as e, a as Re } from "./createTheme-CD19zQB7.js";
6
- import { c as be } from "./clsx-BTaloaeC.js";
7
- import { u as to } from "./index-B0Z-Gjno.js";
8
- import { u as ro } from "./useTheme-BQJ5lp0i.js";
9
- import { m as G } from "./memoTheme-yHaPezod.js";
10
- import { u as I } from "./useSlot-CW7SOYlh.js";
11
- import { g as po } from "./generateUtilityClasses-BRiE4Guh.js";
12
- import { P as Oe } from "./Popper-BBAoiZKn.js";
13
- import { u as j, a as Te, T as no } from "./refType-BsTH3qnM.js";
14
- import { u as so } from "./useControlled-nm4pBabJ.js";
15
- import { u as ao } from "./useId-CK6Kn3Tn.js";
16
- import { u as io } from "./TransitionGroupContext-CYRQkQ6k.js";
17
- import { g as lo, e as co } from "./elementAcceptingRef-CqLvP78G.js";
18
- import { G as mo } from "./Grow-CnGtel3u.js";
19
- import { i as ye } from "./isFocusVisible-CPZqtjv2.js";
20
- function uo(r) {
21
- return oo("MuiTooltip", r);
22
- }
23
- const p = po("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]);
24
- function fo(r) {
25
- return Math.round(r * 1e5) / 1e5;
26
- }
27
- const ho = (r) => {
28
- const {
29
- classes: o,
30
- disableInteractive: s,
31
- arrow: d,
32
- touch: P,
33
- placement: T
34
- } = r, q = {
35
- popper: ["popper", !s && "popperInteractive", d && "popperArrow"],
36
- tooltip: ["tooltip", d && "tooltipArrow", P && "touch", `tooltipPlacement${ve(T.split("-")[0])}`],
37
- arrow: ["arrow"]
38
- };
39
- return eo(q, uo, o);
40
- }, go = A(Oe, {
41
- name: "MuiTooltip",
42
- slot: "Popper",
43
- overridesResolver: (r, o) => {
44
- const {
45
- ownerState: s
46
- } = r;
47
- return [o.popper, !s.disableInteractive && o.popperInteractive, s.arrow && o.popperArrow, !s.open && o.popperClose];
48
- }
49
- })(G(({
50
- theme: r
51
- }) => ({
52
- zIndex: (r.vars || r).zIndex.tooltip,
53
- pointerEvents: "none",
54
- variants: [{
55
- props: ({
56
- ownerState: o
57
- }) => !o.disableInteractive,
58
- style: {
59
- pointerEvents: "auto"
60
- }
61
- }, {
62
- props: ({
63
- open: o
64
- }) => !o,
65
- style: {
66
- pointerEvents: "none"
67
- }
68
- }, {
69
- props: ({
70
- ownerState: o
71
- }) => o.arrow,
72
- style: {
73
- [`&[data-popper-placement*="bottom"] .${p.arrow}`]: {
74
- top: 0,
75
- marginTop: "-0.71em",
76
- "&::before": {
77
- transformOrigin: "0 100%"
78
- }
79
- },
80
- [`&[data-popper-placement*="top"] .${p.arrow}`]: {
81
- bottom: 0,
82
- marginBottom: "-0.71em",
83
- "&::before": {
84
- transformOrigin: "100% 0"
85
- }
86
- },
87
- [`&[data-popper-placement*="right"] .${p.arrow}`]: {
88
- height: "1em",
89
- width: "0.71em",
90
- "&::before": {
91
- transformOrigin: "100% 100%"
92
- }
93
- },
94
- [`&[data-popper-placement*="left"] .${p.arrow}`]: {
95
- height: "1em",
96
- width: "0.71em",
97
- "&::before": {
98
- transformOrigin: "0 0"
99
- }
100
- }
101
- }
102
- }, {
103
- props: ({
104
- ownerState: o
105
- }) => o.arrow && !o.isRtl,
106
- style: {
107
- [`&[data-popper-placement*="right"] .${p.arrow}`]: {
108
- left: 0,
109
- marginLeft: "-0.71em"
110
- }
111
- }
112
- }, {
113
- props: ({
114
- ownerState: o
115
- }) => o.arrow && !!o.isRtl,
116
- style: {
117
- [`&[data-popper-placement*="right"] .${p.arrow}`]: {
118
- right: 0,
119
- marginRight: "-0.71em"
120
- }
121
- }
122
- }, {
123
- props: ({
124
- ownerState: o
125
- }) => o.arrow && !o.isRtl,
126
- style: {
127
- [`&[data-popper-placement*="left"] .${p.arrow}`]: {
128
- right: 0,
129
- marginRight: "-0.71em"
130
- }
131
- }
132
- }, {
133
- props: ({
134
- ownerState: o
135
- }) => o.arrow && !!o.isRtl,
136
- style: {
137
- [`&[data-popper-placement*="left"] .${p.arrow}`]: {
138
- left: 0,
139
- marginLeft: "-0.71em"
140
- }
141
- }
142
- }]
143
- }))), bo = A("div", {
144
- name: "MuiTooltip",
145
- slot: "Tooltip",
146
- overridesResolver: (r, o) => {
147
- const {
148
- ownerState: s
149
- } = r;
150
- return [o.tooltip, s.touch && o.touch, s.arrow && o.tooltipArrow, o[`tooltipPlacement${ve(s.placement.split("-")[0])}`]];
151
- }
152
- })(G(({
153
- theme: r
154
- }) => ({
155
- backgroundColor: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.92),
156
- borderRadius: (r.vars || r).shape.borderRadius,
157
- color: (r.vars || r).palette.common.white,
158
- fontFamily: r.typography.fontFamily,
159
- padding: "4px 8px",
160
- fontSize: r.typography.pxToRem(11),
161
- maxWidth: 300,
162
- margin: 2,
163
- wordWrap: "break-word",
164
- fontWeight: r.typography.fontWeightMedium,
165
- [`.${p.popper}[data-popper-placement*="left"] &`]: {
166
- transformOrigin: "right center"
167
- },
168
- [`.${p.popper}[data-popper-placement*="right"] &`]: {
169
- transformOrigin: "left center"
170
- },
171
- [`.${p.popper}[data-popper-placement*="top"] &`]: {
172
- transformOrigin: "center bottom",
173
- marginBottom: "14px"
174
- },
175
- [`.${p.popper}[data-popper-placement*="bottom"] &`]: {
176
- transformOrigin: "center top",
177
- marginTop: "14px"
178
- },
179
- variants: [{
180
- props: ({
181
- ownerState: o
182
- }) => o.arrow,
183
- style: {
184
- position: "relative",
185
- margin: 0
186
- }
187
- }, {
188
- props: ({
189
- ownerState: o
190
- }) => o.touch,
191
- style: {
192
- padding: "8px 16px",
193
- fontSize: r.typography.pxToRem(14),
194
- lineHeight: `${fo(16 / 14)}em`,
195
- fontWeight: r.typography.fontWeightRegular
196
- }
197
- }, {
198
- props: ({
199
- ownerState: o
200
- }) => !o.isRtl,
201
- style: {
202
- [`.${p.popper}[data-popper-placement*="left"] &`]: {
203
- marginRight: "14px"
204
- },
205
- [`.${p.popper}[data-popper-placement*="right"] &`]: {
206
- marginLeft: "14px"
207
- }
208
- }
209
- }, {
210
- props: ({
211
- ownerState: o
212
- }) => !o.isRtl && o.touch,
213
- style: {
214
- [`.${p.popper}[data-popper-placement*="left"] &`]: {
215
- marginRight: "24px"
216
- },
217
- [`.${p.popper}[data-popper-placement*="right"] &`]: {
218
- marginLeft: "24px"
219
- }
220
- }
221
- }, {
222
- props: ({
223
- ownerState: o
224
- }) => !!o.isRtl,
225
- style: {
226
- [`.${p.popper}[data-popper-placement*="left"] &`]: {
227
- marginLeft: "14px"
228
- },
229
- [`.${p.popper}[data-popper-placement*="right"] &`]: {
230
- marginRight: "14px"
231
- }
232
- }
233
- }, {
234
- props: ({
235
- ownerState: o
236
- }) => !!o.isRtl && o.touch,
237
- style: {
238
- [`.${p.popper}[data-popper-placement*="left"] &`]: {
239
- marginLeft: "24px"
240
- },
241
- [`.${p.popper}[data-popper-placement*="right"] &`]: {
242
- marginRight: "24px"
243
- }
244
- }
245
- }, {
246
- props: ({
247
- ownerState: o
248
- }) => o.touch,
249
- style: {
250
- [`.${p.popper}[data-popper-placement*="top"] &`]: {
251
- marginBottom: "24px"
252
- }
253
- }
254
- }, {
255
- props: ({
256
- ownerState: o
257
- }) => o.touch,
258
- style: {
259
- [`.${p.popper}[data-popper-placement*="bottom"] &`]: {
260
- marginTop: "24px"
261
- }
262
- }
263
- }]
264
- }))), To = A("span", {
265
- name: "MuiTooltip",
266
- slot: "Arrow"
267
- })(G(({
268
- theme: r
269
- }) => ({
270
- overflow: "hidden",
271
- position: "absolute",
272
- width: "1em",
273
- height: "0.71em",
274
- boxSizing: "border-box",
275
- color: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.9),
276
- "&::before": {
277
- content: '""',
278
- margin: "auto",
279
- display: "block",
280
- width: "100%",
281
- height: "100%",
282
- backgroundColor: "currentColor",
283
- transform: "rotate(45deg)"
284
- }
285
- })));
286
- let D = !1;
287
- const we = new no();
288
- let R = {
289
- x: 0,
290
- y: 0
291
- };
292
- function k(r, o) {
293
- return (s, ...d) => {
294
- o && o(s, ...d), r(s, ...d);
295
- };
296
- }
297
- const Pe = /* @__PURE__ */ n.forwardRef(function(o, s) {
298
- const d = Ze({
299
- props: o,
300
- name: "MuiTooltip"
301
- }), {
302
- arrow: P = !1,
303
- children: T,
304
- classes: q,
305
- components: x = {},
306
- componentsProps: C = {},
307
- describeChild: xe = !1,
308
- disableFocusListener: Ce = !1,
309
- disableHoverListener: K = !1,
310
- disableInteractive: Me = !1,
311
- disableTouchListener: Ee = !1,
312
- enterDelay: X = 100,
313
- enterNextDelay: J = 0,
314
- enterTouchDelay: $e = 700,
315
- followCursor: F = !1,
316
- id: Se,
317
- leaveDelay: Q = 0,
318
- leaveTouchDelay: Ne = 1500,
319
- onClose: Z,
320
- onOpen: ee,
321
- open: oe,
322
- placement: te = "bottom",
323
- PopperComponent: re,
324
- PopperProps: f = {},
325
- slotProps: h = {},
326
- slots: Le = {},
327
- title: g,
328
- TransitionComponent: Ie,
329
- TransitionProps: je,
330
- ...pe
331
- } = d, m = /* @__PURE__ */ n.isValidElement(T) ? T : /* @__PURE__ */ O("span", {
332
- children: T
333
- }), ne = ro(), De = to(), [a, se] = n.useState(), [U, ke] = n.useState(null), M = n.useRef(!1), W = Me || F, ae = j(), B = j(), E = j(), ie = j(), [Ae, le] = so({
334
- controlled: oe,
335
- default: !1,
336
- name: "Tooltip",
337
- state: "open"
338
- });
339
- let u = Ae;
340
- if (process.env.NODE_ENV !== "production") {
341
- const {
342
- current: t
343
- } = n.useRef(oe !== void 0);
344
- n.useEffect(() => {
345
- a && a.disabled && !t && g !== "" && a.tagName.toLowerCase() === "button" && console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
346
- `));
347
- }, [g, a, t]);
348
- }
349
- const V = ao(Se), y = n.useRef(), $ = Te(() => {
350
- y.current !== void 0 && (document.body.style.WebkitUserSelect = y.current, y.current = void 0), ie.clear();
351
- });
352
- n.useEffect(() => $, [$]);
353
- const ce = (t) => {
354
- we.clear(), D = !0, le(!0), ee && !u && ee(t);
355
- }, S = Te(
356
- /**
357
- * @param {React.SyntheticEvent | Event} event
358
- */
359
- (t) => {
360
- we.start(800 + Q, () => {
361
- D = !1;
362
- }), le(!1), Z && u && Z(t), ae.start(ne.transitions.duration.shortest, () => {
363
- M.current = !1;
364
- });
365
- }
366
- ), N = (t) => {
367
- M.current && t.type !== "touchstart" || (a && a.removeAttribute("title"), B.clear(), E.clear(), X || D && J ? B.start(D ? J : X, () => {
368
- ce(t);
369
- }) : ce(t));
370
- }, z = (t) => {
371
- B.clear(), E.start(Q, () => {
372
- S(t);
373
- });
374
- }, [, me] = n.useState(!1), ue = (t) => {
375
- ye(t.target) || (me(!1), z(t));
376
- }, de = (t) => {
377
- a || se(t.currentTarget), ye(t.target) && (me(!0), N(t));
378
- }, fe = (t) => {
379
- M.current = !0;
380
- const c = m.props;
381
- c.onTouchStart && c.onTouchStart(t);
382
- }, Fe = (t) => {
383
- fe(t), E.clear(), ae.clear(), $(), y.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", ie.start($e, () => {
384
- document.body.style.WebkitUserSelect = y.current, N(t);
385
- });
386
- }, Ue = (t) => {
387
- m.props.onTouchEnd && m.props.onTouchEnd(t), $(), E.start(Ne, () => {
388
- S(t);
389
- });
390
- };
391
- n.useEffect(() => {
392
- if (!u)
393
- return;
394
- function t(c) {
395
- c.key === "Escape" && S(c);
396
- }
397
- return document.addEventListener("keydown", t), () => {
398
- document.removeEventListener("keydown", t);
399
- };
400
- }, [S, u]);
401
- const We = io(lo(m), se, s);
402
- !g && g !== 0 && (u = !1);
403
- const _ = n.useRef(), Be = (t) => {
404
- const c = m.props;
405
- c.onMouseMove && c.onMouseMove(t), R = {
406
- x: t.clientX,
407
- y: t.clientY
408
- }, _.current && _.current.update();
409
- }, w = {}, H = typeof g == "string";
410
- xe ? (w.title = !u && H && !K ? g : null, w["aria-describedby"] = u ? V : null) : (w["aria-label"] = H ? g : null, w["aria-labelledby"] = u && !H ? V : null);
411
- const i = {
412
- ...w,
413
- ...pe,
414
- ...m.props,
415
- className: be(pe.className, m.props.className),
416
- onTouchStart: fe,
417
- ref: We,
418
- ...F ? {
419
- onMouseMove: Be
420
- } : {}
421
- };
422
- process.env.NODE_ENV !== "production" && (i["data-mui-internal-clone-element"] = !0, n.useEffect(() => {
423
- a && !a.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
424
- `));
425
- }, [a]));
426
- const v = {};
427
- Ee || (i.onTouchStart = Fe, i.onTouchEnd = Ue), K || (i.onMouseOver = k(N, i.onMouseOver), i.onMouseLeave = k(z, i.onMouseLeave), W || (v.onMouseOver = N, v.onMouseLeave = z)), Ce || (i.onFocus = k(de, i.onFocus), i.onBlur = k(ue, i.onBlur), W || (v.onFocus = de, v.onBlur = ue)), process.env.NODE_ENV !== "production" && m.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${m.props.title}\` or the Tooltip component.`].join(`
428
- `));
429
- const b = {
430
- ...d,
431
- isRtl: De,
432
- arrow: P,
433
- disableInteractive: W,
434
- placement: te,
435
- PopperComponentProp: re,
436
- touch: M.current
437
- }, l = typeof h.popper == "function" ? h.popper(b) : h.popper, Ve = n.useMemo(() => {
438
- var c, he;
439
- let t = [{
440
- name: "arrow",
441
- enabled: !!U,
442
- options: {
443
- element: U,
444
- padding: 4
445
- }
446
- }];
447
- return (c = f.popperOptions) != null && c.modifiers && (t = t.concat(f.popperOptions.modifiers)), (he = l == null ? void 0 : l.popperOptions) != null && he.modifiers && (t = t.concat(l.popperOptions.modifiers)), {
448
- ...f.popperOptions,
449
- ...l == null ? void 0 : l.popperOptions,
450
- modifiers: t
451
- };
452
- }, [U, f.popperOptions, l == null ? void 0 : l.popperOptions]), Y = ho(b), ze = typeof h.transition == "function" ? h.transition(b) : h.transition, L = {
453
- slots: {
454
- popper: x.Popper,
455
- transition: x.Transition ?? Ie,
456
- tooltip: x.Tooltip,
457
- arrow: x.Arrow,
458
- ...Le
459
- },
460
- slotProps: {
461
- arrow: h.arrow ?? C.arrow,
462
- popper: {
463
- ...f,
464
- ...l ?? C.popper
465
- },
466
- // resolvedPopperProps can be spread because it's already an object
467
- tooltip: h.tooltip ?? C.tooltip,
468
- transition: {
469
- ...je,
470
- ...ze ?? C.transition
471
- }
472
- }
473
- }, [_e, He] = I("popper", {
474
- elementType: go,
475
- externalForwardedProps: L,
476
- ownerState: b,
477
- className: be(Y.popper, f == null ? void 0 : f.className)
478
- }), [Ye, Ge] = I("transition", {
479
- elementType: mo,
480
- externalForwardedProps: L,
481
- ownerState: b
482
- }), [qe, Ke] = I("tooltip", {
483
- elementType: bo,
484
- className: Y.tooltip,
485
- externalForwardedProps: L,
486
- ownerState: b
487
- }), [Xe, Je] = I("arrow", {
488
- elementType: To,
489
- className: Y.arrow,
490
- externalForwardedProps: L,
491
- ownerState: b,
492
- ref: ke
493
- });
494
- return /* @__PURE__ */ ge(n.Fragment, {
495
- children: [/* @__PURE__ */ n.cloneElement(m, i), /* @__PURE__ */ O(_e, {
496
- as: re ?? Oe,
497
- placement: te,
498
- anchorEl: F ? {
499
- getBoundingClientRect: () => ({
500
- top: R.y,
501
- left: R.x,
502
- right: R.x,
503
- bottom: R.y,
504
- width: 0,
505
- height: 0
506
- })
507
- } : a,
508
- popperRef: _,
509
- open: a ? u : !1,
510
- id: V,
511
- transition: !0,
512
- ...v,
513
- ...He,
514
- popperOptions: Ve,
515
- children: ({
516
- TransitionProps: t
517
- }) => /* @__PURE__ */ O(Ye, {
518
- timeout: ne.transitions.duration.shorter,
519
- ...t,
520
- ...Ge,
521
- children: /* @__PURE__ */ ge(qe, {
522
- ...Ke,
523
- children: [g, P ? /* @__PURE__ */ O(Xe, {
524
- ...Je
525
- }) : null]
526
- })
527
- })
528
- })]
529
- });
530
- });
531
- process.env.NODE_ENV !== "production" && (Pe.propTypes = {
532
- // ┌────────────────────────────── Warning ──────────────────────────────┐
533
- // │ These PropTypes are generated from the TypeScript type definitions. │
534
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
535
- // └─────────────────────────────────────────────────────────────────────┘
536
- /**
537
- * If `true`, adds an arrow to the tooltip.
538
- * @default false
539
- */
540
- arrow: e.bool,
541
- /**
542
- * Tooltip reference element.
543
- */
544
- children: co.isRequired,
545
- /**
546
- * Override or extend the styles applied to the component.
547
- */
548
- classes: e.object,
549
- /**
550
- * @ignore
551
- */
552
- className: e.string,
553
- /**
554
- * The components used for each slot inside.
555
- *
556
- * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
557
- *
558
- * @default {}
559
- */
560
- components: e.shape({
561
- Arrow: e.elementType,
562
- Popper: e.elementType,
563
- Tooltip: e.elementType,
564
- Transition: e.elementType
565
- }),
566
- /**
567
- * The extra props for the slot components.
568
- * You can override the existing props or add new ones.
569
- *
570
- * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
571
- *
572
- * @default {}
573
- */
574
- componentsProps: e.shape({
575
- arrow: e.object,
576
- popper: e.object,
577
- tooltip: e.object,
578
- transition: e.object
579
- }),
580
- /**
581
- * Set to `true` if the `title` acts as an accessible description.
582
- * By default the `title` acts as an accessible label for the child.
583
- * @default false
584
- */
585
- describeChild: e.bool,
586
- /**
587
- * Do not respond to focus-visible events.
588
- * @default false
589
- */
590
- disableFocusListener: e.bool,
591
- /**
592
- * Do not respond to hover events.
593
- * @default false
594
- */
595
- disableHoverListener: e.bool,
596
- /**
597
- * Makes a tooltip not interactive, i.e. it will close when the user
598
- * hovers over the tooltip before the `leaveDelay` is expired.
599
- * @default false
600
- */
601
- disableInteractive: e.bool,
602
- /**
603
- * Do not respond to long press touch events.
604
- * @default false
605
- */
606
- disableTouchListener: e.bool,
607
- /**
608
- * The number of milliseconds to wait before showing the tooltip.
609
- * This prop won't impact the enter touch delay (`enterTouchDelay`).
610
- * @default 100
611
- */
612
- enterDelay: e.number,
613
- /**
614
- * The number of milliseconds to wait before showing the tooltip when one was already recently opened.
615
- * @default 0
616
- */
617
- enterNextDelay: e.number,
618
- /**
619
- * The number of milliseconds a user must touch the element before showing the tooltip.
620
- * @default 700
621
- */
622
- enterTouchDelay: e.number,
623
- /**
624
- * If `true`, the tooltip follow the cursor over the wrapped element.
625
- * @default false
626
- */
627
- followCursor: e.bool,
628
- /**
629
- * This prop is used to help implement the accessibility logic.
630
- * If you don't provide this prop. It falls back to a randomly generated id.
631
- */
632
- id: e.string,
633
- /**
634
- * The number of milliseconds to wait before hiding the tooltip.
635
- * This prop won't impact the leave touch delay (`leaveTouchDelay`).
636
- * @default 0
637
- */
638
- leaveDelay: e.number,
639
- /**
640
- * The number of milliseconds after the user stops touching an element before hiding the tooltip.
641
- * @default 1500
642
- */
643
- leaveTouchDelay: e.number,
644
- /**
645
- * Callback fired when the component requests to be closed.
646
- *
647
- * @param {React.SyntheticEvent} event The event source of the callback.
648
- */
649
- onClose: e.func,
650
- /**
651
- * Callback fired when the component requests to be open.
652
- *
653
- * @param {React.SyntheticEvent} event The event source of the callback.
654
- */
655
- onOpen: e.func,
656
- /**
657
- * If `true`, the component is shown.
658
- */
659
- open: e.bool,
660
- /**
661
- * Tooltip placement.
662
- * @default 'bottom'
663
- */
664
- placement: e.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
665
- /**
666
- * The component used for the popper.
667
- * @deprecated use the `slots.popper` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
668
- */
669
- PopperComponent: e.elementType,
670
- /**
671
- * Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
672
- * @deprecated use the `slotProps.popper` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
673
- * @default {}
674
- */
675
- PopperProps: e.object,
676
- /**
677
- * The props used for each slot inside.
678
- * @default {}
679
- */
680
- slotProps: e.shape({
681
- arrow: e.oneOfType([e.func, e.object]),
682
- popper: e.oneOfType([e.func, e.object]),
683
- tooltip: e.oneOfType([e.func, e.object]),
684
- transition: e.oneOfType([e.func, e.object])
685
- }),
686
- /**
687
- * The components used for each slot inside.
688
- * @default {}
689
- */
690
- slots: e.shape({
691
- arrow: e.elementType,
692
- popper: e.elementType,
693
- tooltip: e.elementType,
694
- transition: e.elementType
695
- }),
696
- /**
697
- * The system prop that allows defining system overrides as well as additional CSS styles.
698
- */
699
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
700
- /**
701
- * Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
702
- */
703
- title: e.node,
704
- /**
705
- * The component used for the transition.
706
- * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
707
- * @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
708
- */
709
- TransitionComponent: e.elementType,
710
- /**
711
- * Props applied to the transition element.
712
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
713
- * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
714
- * @default {}
715
- */
716
- TransitionProps: e.object
717
- });
718
- const Ao = A(
719
- Qe.forwardRef((r, o) => /* @__PURE__ */ O(
720
- Pe,
721
- {
722
- enterTouchDelay: 0,
723
- ...r,
724
- arrow: !0,
725
- ref: o,
726
- classes: { popper: r.className }
727
- }
728
- ))
729
- )(({ theme: r }) => ({
730
- [`& .${p.arrow}`]: {
731
- color: r.palette.common.black
732
- },
733
- [`& .${p.tooltip}`]: {
734
- backgroundColor: r.palette.common.black
735
- }
736
- }));
737
- export {
738
- Ao as M,
739
- Pe as T
740
- };