everest-npm-features 0.0.61 → 0.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.
Files changed (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,297 +0,0 @@
1
- import * as f from "react";
2
- import { g as $, b as r, a as B, P as e } from "./createTheme-CD19zQB7.js";
3
- import { c as x } from "./clsx-BTaloaeC.js";
4
- import { m as z } from "./memoTheme-yHaPezod.js";
5
- import { c as R } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
6
- import { g as P } from "./generateUtilityClasses-BRiE4Guh.js";
7
- import { jsxs as w, jsx as u } from "react/jsx-runtime";
8
- import { s as O, u as j, c as k } from "./DefaultPropsProvider-oAu9El-f.js";
9
- import { B as M } from "./ButtonBase-DLF5c6wi.js";
10
- import { u as N } from "./useId-CK6Kn3Tn.js";
11
- import { c as E } from "./chainPropTypes-D9lkm76m.js";
12
- import { C as L } from "./CircularProgress-xZA3lvba.js";
13
- function U(o) {
14
- return $("MuiIconButton", o);
15
- }
16
- const C = P("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]), W = (o) => {
17
- const {
18
- classes: a,
19
- disabled: t,
20
- color: n,
21
- edge: s,
22
- size: l,
23
- loading: c
24
- } = o, p = {
25
- root: ["root", c && "loading", t && "disabled", n !== "default" && `color${r(n)}`, s && `edge${r(s)}`, `size${r(l)}`],
26
- loadingIndicator: ["loadingIndicator"],
27
- loadingWrapper: ["loadingWrapper"]
28
- };
29
- return k(p, U, a);
30
- }, F = O(M, {
31
- name: "MuiIconButton",
32
- slot: "Root",
33
- overridesResolver: (o, a) => {
34
- const {
35
- ownerState: t
36
- } = o;
37
- return [a.root, t.loading && a.loading, t.color !== "default" && a[`color${r(t.color)}`], t.edge && a[`edge${r(t.edge)}`], a[`size${r(t.size)}`]];
38
- }
39
- })(z(({
40
- theme: o
41
- }) => ({
42
- textAlign: "center",
43
- flex: "0 0 auto",
44
- fontSize: o.typography.pxToRem(24),
45
- padding: 8,
46
- borderRadius: "50%",
47
- color: (o.vars || o).palette.action.active,
48
- transition: o.transitions.create("background-color", {
49
- duration: o.transitions.duration.shortest
50
- }),
51
- variants: [{
52
- props: (a) => !a.disableRipple,
53
- style: {
54
- "--IconButton-hoverBg": o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : B(o.palette.action.active, o.palette.action.hoverOpacity),
55
- "&:hover": {
56
- backgroundColor: "var(--IconButton-hoverBg)",
57
- // Reset on touch devices, it doesn't add specificity
58
- "@media (hover: none)": {
59
- backgroundColor: "transparent"
60
- }
61
- }
62
- }
63
- }, {
64
- props: {
65
- edge: "start"
66
- },
67
- style: {
68
- marginLeft: -12
69
- }
70
- }, {
71
- props: {
72
- edge: "start",
73
- size: "small"
74
- },
75
- style: {
76
- marginLeft: -3
77
- }
78
- }, {
79
- props: {
80
- edge: "end"
81
- },
82
- style: {
83
- marginRight: -12
84
- }
85
- }, {
86
- props: {
87
- edge: "end",
88
- size: "small"
89
- },
90
- style: {
91
- marginRight: -3
92
- }
93
- }]
94
- })), z(({
95
- theme: o
96
- }) => ({
97
- variants: [{
98
- props: {
99
- color: "inherit"
100
- },
101
- style: {
102
- color: "inherit"
103
- }
104
- }, ...Object.entries(o.palette).filter(R()).map(([a]) => ({
105
- props: {
106
- color: a
107
- },
108
- style: {
109
- color: (o.vars || o).palette[a].main
110
- }
111
- })), ...Object.entries(o.palette).filter(R()).map(([a]) => ({
112
- props: {
113
- color: a
114
- },
115
- style: {
116
- "--IconButton-hoverBg": o.vars ? `rgba(${(o.vars || o).palette[a].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : B((o.vars || o).palette[a].main, o.palette.action.hoverOpacity)
117
- }
118
- })), {
119
- props: {
120
- size: "small"
121
- },
122
- style: {
123
- padding: 5,
124
- fontSize: o.typography.pxToRem(18)
125
- }
126
- }, {
127
- props: {
128
- size: "large"
129
- },
130
- style: {
131
- padding: 12,
132
- fontSize: o.typography.pxToRem(28)
133
- }
134
- }],
135
- [`&.${C.disabled}`]: {
136
- backgroundColor: "transparent",
137
- color: (o.vars || o).palette.action.disabled
138
- },
139
- [`&.${C.loading}`]: {
140
- color: "transparent"
141
- }
142
- }))), V = O("span", {
143
- name: "MuiIconButton",
144
- slot: "LoadingIndicator"
145
- })(({
146
- theme: o
147
- }) => ({
148
- display: "none",
149
- position: "absolute",
150
- visibility: "visible",
151
- top: "50%",
152
- left: "50%",
153
- transform: "translate(-50%, -50%)",
154
- color: (o.vars || o).palette.action.disabled,
155
- variants: [{
156
- props: {
157
- loading: !0
158
- },
159
- style: {
160
- display: "flex"
161
- }
162
- }]
163
- })), A = /* @__PURE__ */ f.forwardRef(function(a, t) {
164
- const n = j({
165
- props: a,
166
- name: "MuiIconButton"
167
- }), {
168
- edge: s = !1,
169
- children: l,
170
- className: c,
171
- color: p = "default",
172
- disabled: y = !1,
173
- disableFocusRipple: m = !1,
174
- size: h = "medium",
175
- id: b,
176
- loading: i = null,
177
- loadingIndicator: S,
178
- ...T
179
- } = n, v = N(b), I = S ?? /* @__PURE__ */ u(L, {
180
- "aria-labelledby": v,
181
- color: "inherit",
182
- size: 16
183
- }), d = {
184
- ...n,
185
- edge: s,
186
- color: p,
187
- disabled: y,
188
- disableFocusRipple: m,
189
- loading: i,
190
- loadingIndicator: I,
191
- size: h
192
- }, g = W(d);
193
- return /* @__PURE__ */ w(F, {
194
- id: i ? v : b,
195
- className: x(g.root, c),
196
- centerRipple: !0,
197
- focusRipple: !m,
198
- disabled: y || i,
199
- ref: t,
200
- ...T,
201
- ownerState: d,
202
- children: [typeof i == "boolean" && // use plain HTML span to minimize the runtime overhead
203
- /* @__PURE__ */ u("span", {
204
- className: g.loadingWrapper,
205
- style: {
206
- display: "contents"
207
- },
208
- children: /* @__PURE__ */ u(V, {
209
- className: g.loadingIndicator,
210
- ownerState: d,
211
- children: i && I
212
- })
213
- }), l]
214
- });
215
- });
216
- process.env.NODE_ENV !== "production" && (A.propTypes = {
217
- // ┌────────────────────────────── Warning ──────────────────────────────┐
218
- // │ These PropTypes are generated from the TypeScript type definitions. │
219
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
220
- // └─────────────────────────────────────────────────────────────────────┘
221
- /**
222
- * The icon to display.
223
- */
224
- children: E(e.node, (o) => f.Children.toArray(o.children).some((t) => /* @__PURE__ */ f.isValidElement(t) && t.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
225
- `)) : null),
226
- /**
227
- * Override or extend the styles applied to the component.
228
- */
229
- classes: e.object,
230
- /**
231
- * @ignore
232
- */
233
- className: e.string,
234
- /**
235
- * The color of the component.
236
- * It supports both default and custom theme colors, which can be added as shown in the
237
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
238
- * @default 'default'
239
- */
240
- color: e.oneOfType([e.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
241
- /**
242
- * If `true`, the component is disabled.
243
- * @default false
244
- */
245
- disabled: e.bool,
246
- /**
247
- * If `true`, the keyboard focus ripple is disabled.
248
- * @default false
249
- */
250
- disableFocusRipple: e.bool,
251
- /**
252
- * If `true`, the ripple effect is disabled.
253
- *
254
- * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
255
- * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
256
- * @default false
257
- */
258
- disableRipple: e.bool,
259
- /**
260
- * If given, uses a negative margin to counteract the padding on one
261
- * side (this is often helpful for aligning the left or right
262
- * side of the icon with content above or below, without ruining the border
263
- * size and shape).
264
- * @default false
265
- */
266
- edge: e.oneOf(["end", "start", !1]),
267
- /**
268
- * @ignore
269
- */
270
- id: e.string,
271
- /**
272
- * If `true`, the loading indicator is visible and the button is disabled.
273
- * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
274
- * @default null
275
- */
276
- loading: e.bool,
277
- /**
278
- * Element placed before the children if the button is in loading state.
279
- * The node should contain an element with `role="progressbar"` with an accessible name.
280
- * By default, it renders a `CircularProgress` that is labeled by the button itself.
281
- * @default <CircularProgress color="inherit" size={16} />
282
- */
283
- loadingIndicator: e.node,
284
- /**
285
- * The size of the component.
286
- * `small` is equivalent to the dense button styling.
287
- * @default 'medium'
288
- */
289
- size: e.oneOfType([e.oneOf(["small", "medium", "large"]), e.string]),
290
- /**
291
- * The system prop that allows defining system overrides as well as additional CSS styles.
292
- */
293
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
294
- });
295
- export {
296
- A as I
297
- };
@@ -1,173 +0,0 @@
1
- import * as h from "react";
2
- import { g as I, P as e, b as u } from "./createTheme-CD19zQB7.js";
3
- import { c as T } from "./clsx-BTaloaeC.js";
4
- import { u as A, F as C } from "./useFormControl-CatNKXAi.js";
5
- import { m as x } from "./memoTheme-yHaPezod.js";
6
- import { g as N } from "./generateUtilityClasses-BRiE4Guh.js";
7
- import { jsx as l, jsxs as S } from "react/jsx-runtime";
8
- import { s as L, u as O, c as R } from "./DefaultPropsProvider-oAu9El-f.js";
9
- import { T as w } from "./Typography-pAaje37G.js";
10
- function z(t) {
11
- return I("MuiInputAdornment", t);
12
- }
13
- const b = N("MuiInputAdornment", ["root", "filled", "standard", "outlined", "positionStart", "positionEnd", "disablePointerEvents", "hiddenLabel", "sizeSmall"]);
14
- var y;
15
- const j = (t, o) => {
16
- const {
17
- ownerState: n
18
- } = t;
19
- return [o.root, o[`position${u(n.position)}`], n.disablePointerEvents === !0 && o.disablePointerEvents, o[n.variant]];
20
- }, F = (t) => {
21
- const {
22
- classes: o,
23
- disablePointerEvents: n,
24
- hiddenLabel: i,
25
- position: r,
26
- size: a,
27
- variant: p
28
- } = t, d = {
29
- root: ["root", n && "disablePointerEvents", r && `position${u(r)}`, p, i && "hiddenLabel", a && `size${u(a)}`]
30
- };
31
- return R(d, z, o);
32
- }, M = L("div", {
33
- name: "MuiInputAdornment",
34
- slot: "Root",
35
- overridesResolver: j
36
- })(x(({
37
- theme: t
38
- }) => ({
39
- display: "flex",
40
- maxHeight: "2em",
41
- alignItems: "center",
42
- whiteSpace: "nowrap",
43
- color: (t.vars || t).palette.action.active,
44
- variants: [{
45
- props: {
46
- variant: "filled"
47
- },
48
- style: {
49
- [`&.${b.positionStart}&:not(.${b.hiddenLabel})`]: {
50
- marginTop: 16
51
- }
52
- }
53
- }, {
54
- props: {
55
- position: "start"
56
- },
57
- style: {
58
- marginRight: 8
59
- }
60
- }, {
61
- props: {
62
- position: "end"
63
- },
64
- style: {
65
- marginLeft: 8
66
- }
67
- }, {
68
- props: {
69
- disablePointerEvents: !0
70
- },
71
- style: {
72
- pointerEvents: "none"
73
- }
74
- }]
75
- }))), U = /* @__PURE__ */ h.forwardRef(function(o, n) {
76
- const i = O({
77
- props: o,
78
- name: "MuiInputAdornment"
79
- }), {
80
- children: r,
81
- className: a,
82
- component: p = "div",
83
- disablePointerEvents: d = !1,
84
- disableTypography: g = !1,
85
- position: v,
86
- variant: c,
87
- ...E
88
- } = i, s = A() || {};
89
- let m = c;
90
- c && s.variant && process.env.NODE_ENV !== "production" && c === s.variant && console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."), s && !m && (m = s.variant);
91
- const f = {
92
- ...i,
93
- hiddenLabel: s.hiddenLabel,
94
- size: s.size,
95
- disablePointerEvents: d,
96
- position: v,
97
- variant: m
98
- }, P = F(f);
99
- return /* @__PURE__ */ l(C.Provider, {
100
- value: null,
101
- children: /* @__PURE__ */ l(M, {
102
- as: p,
103
- ownerState: f,
104
- className: T(P.root, a),
105
- ref: n,
106
- ...E,
107
- children: typeof r == "string" && !g ? /* @__PURE__ */ l(w, {
108
- color: "textSecondary",
109
- children: r
110
- }) : /* @__PURE__ */ S(h.Fragment, {
111
- children: [v === "start" ? (
112
- /* notranslate needed while Google Translate will not fix zero-width space issue */
113
- y || (y = /* @__PURE__ */ l("span", {
114
- className: "notranslate",
115
- "aria-hidden": !0,
116
- children: "​"
117
- }))
118
- ) : null, r]
119
- })
120
- })
121
- });
122
- });
123
- process.env.NODE_ENV !== "production" && (U.propTypes = {
124
- // ┌────────────────────────────── Warning ──────────────────────────────┐
125
- // │ These PropTypes are generated from the TypeScript type definitions. │
126
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
127
- // └─────────────────────────────────────────────────────────────────────┘
128
- /**
129
- * The content of the component, normally an `IconButton` or string.
130
- */
131
- children: e.node,
132
- /**
133
- * Override or extend the styles applied to the component.
134
- */
135
- classes: e.object,
136
- /**
137
- * @ignore
138
- */
139
- className: e.string,
140
- /**
141
- * The component used for the root node.
142
- * Either a string to use a HTML element or a component.
143
- */
144
- component: e.elementType,
145
- /**
146
- * Disable pointer events on the root.
147
- * This allows for the content of the adornment to focus the `input` on click.
148
- * @default false
149
- */
150
- disablePointerEvents: e.bool,
151
- /**
152
- * If children is a string then disable wrapping in a Typography component.
153
- * @default false
154
- */
155
- disableTypography: e.bool,
156
- /**
157
- * The position this adornment should appear relative to the `Input`.
158
- */
159
- position: e.oneOf(["end", "start"]).isRequired,
160
- /**
161
- * The system prop that allows defining system overrides as well as additional CSS styles.
162
- */
163
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
164
- /**
165
- * The variant to use.
166
- * Note: If you are using the `TextField` component or the `FormControl` component
167
- * you do not have to set this manually.
168
- */
169
- variant: e.oneOf(["filled", "outlined", "standard"])
170
- });
171
- export {
172
- U as I
173
- };