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,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
- };