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,281 +0,0 @@
1
- import * as b from "react";
2
- import { g as O, P as o } from "./createTheme-CD19zQB7.js";
3
- import { c as N } from "./clsx-BTaloaeC.js";
4
- import { m as M } from "./memoTheme-yHaPezod.js";
5
- import { c as z } from "./createSvgIcon-Cuzqm90l.js";
6
- import { jsx as f } from "react/jsx-runtime";
7
- import { g as U } from "./generateUtilityClasses-BRiE4Guh.js";
8
- import { u as y } from "./useSlot-CW7SOYlh.js";
9
- import { s as h, u as q, c as E } from "./DefaultPropsProvider-oAu9El-f.js";
10
- const L = z(/* @__PURE__ */ f("path", {
11
- d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
12
- }), "Person");
13
- function B(e) {
14
- return O("MuiAvatar", e);
15
- }
16
- U("MuiAvatar", ["root", "colorDefault", "circular", "rounded", "square", "img", "fallback"]);
17
- const H = (e) => {
18
- const {
19
- classes: t,
20
- variant: r,
21
- colorDefault: a
22
- } = e;
23
- return E({
24
- root: ["root", r, a && "colorDefault"],
25
- img: ["img"],
26
- fallback: ["fallback"]
27
- }, B, t);
28
- }, V = h("div", {
29
- name: "MuiAvatar",
30
- slot: "Root",
31
- overridesResolver: (e, t) => {
32
- const {
33
- ownerState: r
34
- } = e;
35
- return [t.root, t[r.variant], r.colorDefault && t.colorDefault];
36
- }
37
- })(M(({
38
- theme: e
39
- }) => ({
40
- position: "relative",
41
- display: "flex",
42
- alignItems: "center",
43
- justifyContent: "center",
44
- flexShrink: 0,
45
- width: 40,
46
- height: 40,
47
- fontFamily: e.typography.fontFamily,
48
- fontSize: e.typography.pxToRem(20),
49
- lineHeight: 1,
50
- borderRadius: "50%",
51
- overflow: "hidden",
52
- userSelect: "none",
53
- variants: [{
54
- props: {
55
- variant: "rounded"
56
- },
57
- style: {
58
- borderRadius: (e.vars || e).shape.borderRadius
59
- }
60
- }, {
61
- props: {
62
- variant: "square"
63
- },
64
- style: {
65
- borderRadius: 0
66
- }
67
- }, {
68
- props: {
69
- colorDefault: !0
70
- },
71
- style: {
72
- color: (e.vars || e).palette.background.default,
73
- ...e.vars ? {
74
- backgroundColor: e.vars.palette.Avatar.defaultBg
75
- } : {
76
- backgroundColor: e.palette.grey[400],
77
- ...e.applyStyles("dark", {
78
- backgroundColor: e.palette.grey[600]
79
- })
80
- }
81
- }
82
- }]
83
- }))), _ = h("img", {
84
- name: "MuiAvatar",
85
- slot: "Img"
86
- })({
87
- width: "100%",
88
- height: "100%",
89
- textAlign: "center",
90
- // Handle non-square image.
91
- objectFit: "cover",
92
- // Hide alt text.
93
- color: "transparent",
94
- // Hide the image broken icon, only works on Chrome.
95
- textIndent: 1e4
96
- }), G = h(L, {
97
- name: "MuiAvatar",
98
- slot: "Fallback"
99
- })({
100
- width: "75%",
101
- height: "75%"
102
- });
103
- function J({
104
- crossOrigin: e,
105
- referrerPolicy: t,
106
- src: r,
107
- srcSet: a
108
- }) {
109
- const [i, l] = b.useState(!1);
110
- return b.useEffect(() => {
111
- if (!r && !a)
112
- return;
113
- l(!1);
114
- let p = !0;
115
- const s = new Image();
116
- return s.onload = () => {
117
- p && l("loaded");
118
- }, s.onerror = () => {
119
- p && l("error");
120
- }, s.crossOrigin = e, s.referrerPolicy = t, s.src = r, a && (s.srcset = a), () => {
121
- p = !1;
122
- };
123
- }, [e, t, r, a]), i;
124
- }
125
- const K = /* @__PURE__ */ b.forwardRef(function(t, r) {
126
- const a = q({
127
- props: t,
128
- name: "MuiAvatar"
129
- }), {
130
- alt: i,
131
- children: l,
132
- className: p,
133
- component: s = "div",
134
- slots: d = {},
135
- slotProps: c = {},
136
- imgProps: P,
137
- sizes: A,
138
- src: m,
139
- srcSet: g,
140
- variant: S = "circular",
141
- ...w
142
- } = a;
143
- let u = null;
144
- const n = {
145
- ...a,
146
- component: s,
147
- variant: S
148
- }, x = J({
149
- ...P,
150
- ...typeof c.img == "function" ? c.img(n) : c.img,
151
- src: m,
152
- srcSet: g
153
- }), k = m || g, T = k && x !== "error";
154
- n.colorDefault = !T, delete n.ownerState;
155
- const v = H(n), [F, R] = y("root", {
156
- ref: r,
157
- className: N(v.root, p),
158
- elementType: V,
159
- externalForwardedProps: {
160
- slots: d,
161
- slotProps: c,
162
- component: s,
163
- ...w
164
- },
165
- ownerState: n
166
- }), [j, C] = y("img", {
167
- className: v.img,
168
- elementType: _,
169
- externalForwardedProps: {
170
- slots: d,
171
- slotProps: {
172
- img: {
173
- ...P,
174
- ...c.img
175
- }
176
- }
177
- },
178
- additionalProps: {
179
- alt: i,
180
- src: m,
181
- srcSet: g,
182
- sizes: A
183
- },
184
- ownerState: n
185
- }), [D, I] = y("fallback", {
186
- className: v.fallback,
187
- elementType: G,
188
- externalForwardedProps: {
189
- slots: d,
190
- slotProps: c
191
- },
192
- shouldForwardComponentProp: !0,
193
- ownerState: n
194
- });
195
- return T ? u = /* @__PURE__ */ f(j, {
196
- ...C
197
- }) : l || l === 0 ? u = l : k && i ? u = i[0] : u = /* @__PURE__ */ f(D, {
198
- ...I
199
- }), /* @__PURE__ */ f(F, {
200
- ...R,
201
- children: u
202
- });
203
- });
204
- process.env.NODE_ENV !== "production" && (K.propTypes = {
205
- // ┌────────────────────────────── Warning ──────────────────────────────┐
206
- // │ These PropTypes are generated from the TypeScript type definitions. │
207
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
208
- // └─────────────────────────────────────────────────────────────────────┘
209
- /**
210
- * Used in combination with `src` or `srcSet` to
211
- * provide an alt attribute for the rendered `img` element.
212
- */
213
- alt: o.string,
214
- /**
215
- * Used to render icon or text elements inside the Avatar if `src` is not set.
216
- * This can be an element, or just a string.
217
- */
218
- children: o.node,
219
- /**
220
- * Override or extend the styles applied to the component.
221
- */
222
- classes: o.object,
223
- /**
224
- * @ignore
225
- */
226
- className: o.string,
227
- /**
228
- * The component used for the root node.
229
- * Either a string to use a HTML element or a component.
230
- */
231
- component: o.elementType,
232
- /**
233
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/img#attributes) applied to the `img` element if the component is used to display an image.
234
- * It can be used to listen for the loading error event.
235
- * @deprecated Use `slotProps.img` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
236
- */
237
- imgProps: o.object,
238
- /**
239
- * The `sizes` attribute for the `img` element.
240
- */
241
- sizes: o.string,
242
- /**
243
- * The props used for each slot inside.
244
- * @default {}
245
- */
246
- slotProps: o.shape({
247
- fallback: o.oneOfType([o.func, o.object]),
248
- img: o.oneOfType([o.func, o.object]),
249
- root: o.oneOfType([o.func, o.object])
250
- }),
251
- /**
252
- * The components used for each slot inside.
253
- * @default {}
254
- */
255
- slots: o.shape({
256
- fallback: o.elementType,
257
- img: o.elementType,
258
- root: o.elementType
259
- }),
260
- /**
261
- * The `src` attribute for the `img` element.
262
- */
263
- src: o.string,
264
- /**
265
- * The `srcSet` attribute for the `img` element.
266
- * Use this attribute for responsive image display.
267
- */
268
- srcSet: o.string,
269
- /**
270
- * The system prop that allows defining system overrides as well as additional CSS styles.
271
- */
272
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
273
- /**
274
- * The shape of the avatar.
275
- * @default 'circular'
276
- */
277
- variant: o.oneOfType([o.oneOf(["circular", "rounded", "square"]), o.string])
278
- });
279
- export {
280
- K as A
281
- };
@@ -1,359 +0,0 @@
1
- import * as h from "react";
2
- import { P as e, g as q } from "./createTheme-CD19zQB7.js";
3
- import { c as A } from "./clsx-BTaloaeC.js";
4
- import { u as B } from "./useSlot-CW7SOYlh.js";
5
- import { g as V } from "./generateUtilityClasses-BRiE4Guh.js";
6
- import { jsx as j } from "react/jsx-runtime";
7
- import { s as _, u as z, c as H } from "./DefaultPropsProvider-oAu9El-f.js";
8
- import { u as W } from "./useTheme-BQJ5lp0i.js";
9
- import { g as G, e as I, T as J, r as K, a as N } from "./elementAcceptingRef-CqLvP78G.js";
10
- import { u as Q } from "./TransitionGroupContext-CYRQkQ6k.js";
11
- const X = {
12
- entering: {
13
- opacity: 1
14
- },
15
- entered: {
16
- opacity: 1
17
- }
18
- }, D = /* @__PURE__ */ h.forwardRef(function(o, a) {
19
- const t = W(), T = {
20
- enter: t.transitions.duration.enteringScreen,
21
- exit: t.transitions.duration.leavingScreen
22
- }, {
23
- addEndListener: m,
24
- appear: f = !0,
25
- children: u,
26
- easing: y,
27
- in: b,
28
- onEnter: E,
29
- onEntered: x,
30
- onEntering: v,
31
- onExit: g,
32
- onExited: R,
33
- onExiting: P,
34
- style: c,
35
- timeout: d = T,
36
- // eslint-disable-next-line react/prop-types
37
- TransitionComponent: C = J,
38
- ...k
39
- } = o, p = h.useRef(null), w = Q(p, G(u), a), s = (n) => (r) => {
40
- if (n) {
41
- const l = p.current;
42
- r === void 0 ? n(l) : n(l, r);
43
- }
44
- }, O = s(v), S = s((n, r) => {
45
- K(n);
46
- const l = N({
47
- style: c,
48
- timeout: d,
49
- easing: y
50
- }, {
51
- mode: "enter"
52
- });
53
- n.style.webkitTransition = t.transitions.create("opacity", l), n.style.transition = t.transitions.create("opacity", l), E && E(n, r);
54
- }), F = s(x), L = s(P), M = s((n) => {
55
- const r = N({
56
- style: c,
57
- timeout: d,
58
- easing: y
59
- }, {
60
- mode: "exit"
61
- });
62
- n.style.webkitTransition = t.transitions.create("opacity", r), n.style.transition = t.transitions.create("opacity", r), g && g(n);
63
- }), U = s(R);
64
- return /* @__PURE__ */ j(C, {
65
- appear: f,
66
- in: b,
67
- nodeRef: p,
68
- onEnter: S,
69
- onEntered: F,
70
- onEntering: O,
71
- onExit: M,
72
- onExited: U,
73
- onExiting: L,
74
- addEndListener: (n) => {
75
- m && m(p.current, n);
76
- },
77
- timeout: d,
78
- ...k,
79
- children: (n, {
80
- ownerState: r,
81
- ...l
82
- }) => /* @__PURE__ */ h.cloneElement(u, {
83
- style: {
84
- opacity: 0,
85
- visibility: n === "exited" && !b ? "hidden" : void 0,
86
- ...X[n],
87
- ...c,
88
- ...u.props.style
89
- },
90
- ref: w,
91
- ...l
92
- })
93
- });
94
- });
95
- process.env.NODE_ENV !== "production" && (D.propTypes = {
96
- // ┌────────────────────────────── Warning ──────────────────────────────┐
97
- // │ These PropTypes are generated from the TypeScript type definitions. │
98
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
99
- // └─────────────────────────────────────────────────────────────────────┘
100
- /**
101
- * Add a custom transition end trigger. Called with the transitioning DOM
102
- * node and a done callback. Allows for more fine grained transition end
103
- * logic. Note: Timeouts are still used as a fallback if provided.
104
- */
105
- addEndListener: e.func,
106
- /**
107
- * Perform the enter transition when it first mounts if `in` is also `true`.
108
- * Set this to `false` to disable this behavior.
109
- * @default true
110
- */
111
- appear: e.bool,
112
- /**
113
- * A single child content element.
114
- */
115
- children: I.isRequired,
116
- /**
117
- * The transition timing function.
118
- * You may specify a single easing or a object containing enter and exit values.
119
- */
120
- easing: e.oneOfType([e.shape({
121
- enter: e.string,
122
- exit: e.string
123
- }), e.string]),
124
- /**
125
- * If `true`, the component will transition in.
126
- */
127
- in: e.bool,
128
- /**
129
- * @ignore
130
- */
131
- onEnter: e.func,
132
- /**
133
- * @ignore
134
- */
135
- onEntered: e.func,
136
- /**
137
- * @ignore
138
- */
139
- onEntering: e.func,
140
- /**
141
- * @ignore
142
- */
143
- onExit: e.func,
144
- /**
145
- * @ignore
146
- */
147
- onExited: e.func,
148
- /**
149
- * @ignore
150
- */
151
- onExiting: e.func,
152
- /**
153
- * @ignore
154
- */
155
- style: e.object,
156
- /**
157
- * The duration for the transition, in milliseconds.
158
- * You may specify a single timeout for all transitions, or individually with an object.
159
- * @default {
160
- * enter: theme.transitions.duration.enteringScreen,
161
- * exit: theme.transitions.duration.leavingScreen,
162
- * }
163
- */
164
- timeout: e.oneOfType([e.number, e.shape({
165
- appear: e.number,
166
- enter: e.number,
167
- exit: e.number
168
- })])
169
- });
170
- function Y(i) {
171
- return q("MuiBackdrop", i);
172
- }
173
- V("MuiBackdrop", ["root", "invisible"]);
174
- const Z = (i) => {
175
- const {
176
- classes: o,
177
- invisible: a
178
- } = i;
179
- return H({
180
- root: ["root", a && "invisible"]
181
- }, Y, o);
182
- }, $ = _("div", {
183
- name: "MuiBackdrop",
184
- slot: "Root",
185
- overridesResolver: (i, o) => {
186
- const {
187
- ownerState: a
188
- } = i;
189
- return [o.root, a.invisible && o.invisible];
190
- }
191
- })({
192
- position: "fixed",
193
- display: "flex",
194
- alignItems: "center",
195
- justifyContent: "center",
196
- right: 0,
197
- bottom: 0,
198
- top: 0,
199
- left: 0,
200
- backgroundColor: "rgba(0, 0, 0, 0.5)",
201
- WebkitTapHighlightColor: "transparent",
202
- variants: [{
203
- props: {
204
- invisible: !0
205
- },
206
- style: {
207
- backgroundColor: "transparent"
208
- }
209
- }]
210
- }), ee = /* @__PURE__ */ h.forwardRef(function(o, a) {
211
- const t = z({
212
- props: o,
213
- name: "MuiBackdrop"
214
- }), {
215
- children: T,
216
- className: m,
217
- component: f = "div",
218
- invisible: u = !1,
219
- open: y,
220
- components: b = {},
221
- componentsProps: E = {},
222
- slotProps: x = {},
223
- slots: v = {},
224
- TransitionComponent: g,
225
- transitionDuration: R,
226
- ...P
227
- } = t, c = {
228
- ...t,
229
- component: f,
230
- invisible: u
231
- }, d = Z(c), C = {
232
- transition: g,
233
- root: b.Root,
234
- ...v
235
- }, k = {
236
- ...E,
237
- ...x
238
- }, p = {
239
- component: f,
240
- slots: C,
241
- slotProps: k
242
- }, [w, s] = B("root", {
243
- elementType: $,
244
- externalForwardedProps: p,
245
- className: A(d.root, m),
246
- ownerState: c
247
- }), [O, S] = B("transition", {
248
- elementType: D,
249
- externalForwardedProps: p,
250
- ownerState: c
251
- });
252
- return /* @__PURE__ */ j(O, {
253
- in: y,
254
- timeout: R,
255
- ...P,
256
- ...S,
257
- children: /* @__PURE__ */ j(w, {
258
- "aria-hidden": !0,
259
- ...s,
260
- classes: d,
261
- ref: a,
262
- children: T
263
- })
264
- });
265
- });
266
- process.env.NODE_ENV !== "production" && (ee.propTypes = {
267
- // ┌────────────────────────────── Warning ──────────────────────────────┐
268
- // │ These PropTypes are generated from the TypeScript type definitions. │
269
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
270
- // └─────────────────────────────────────────────────────────────────────┘
271
- /**
272
- * The content of the component.
273
- */
274
- children: e.node,
275
- /**
276
- * Override or extend the styles applied to the component.
277
- */
278
- classes: e.object,
279
- /**
280
- * @ignore
281
- */
282
- className: e.string,
283
- /**
284
- * The component used for the root node.
285
- * Either a string to use a HTML element or a component.
286
- */
287
- component: e.elementType,
288
- /**
289
- * The components used for each slot inside.
290
- *
291
- * @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.
292
- *
293
- * @default {}
294
- */
295
- components: e.shape({
296
- Root: e.elementType
297
- }),
298
- /**
299
- * The extra props for the slot components.
300
- * You can override the existing props or add new ones.
301
- *
302
- * @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.
303
- *
304
- * @default {}
305
- */
306
- componentsProps: e.shape({
307
- root: e.object
308
- }),
309
- /**
310
- * If `true`, the backdrop is invisible.
311
- * It can be used when rendering a popover or a custom select component.
312
- * @default false
313
- */
314
- invisible: e.bool,
315
- /**
316
- * If `true`, the component is shown.
317
- */
318
- open: e.bool.isRequired,
319
- /**
320
- * The props used for each slot inside.
321
- * @default {}
322
- */
323
- slotProps: e.shape({
324
- root: e.oneOfType([e.func, e.object]),
325
- transition: e.oneOfType([e.func, e.object])
326
- }),
327
- /**
328
- * The components used for each slot inside.
329
- * @default {}
330
- */
331
- slots: e.shape({
332
- root: e.elementType,
333
- transition: e.elementType
334
- }),
335
- /**
336
- * The system prop that allows defining system overrides as well as additional CSS styles.
337
- */
338
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
339
- /**
340
- * The component used for the transition.
341
- * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
342
- * @default Fade
343
- * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
344
- */
345
- TransitionComponent: e.elementType,
346
- /**
347
- * The duration for the transition, in milliseconds.
348
- * You may specify a single timeout for all transitions, or individually with an object.
349
- */
350
- transitionDuration: e.oneOfType([e.number, e.shape({
351
- appear: e.number,
352
- enter: e.number,
353
- exit: e.number
354
- })])
355
- });
356
- export {
357
- ee as B,
358
- D as F
359
- };
@@ -1,59 +0,0 @@
1
- import { s as u, c as x, T as h, C as T, P as e } from "./createTheme-CD19zQB7.js";
2
- import { g as y } from "./generateUtilityClasses-BRiE4Guh.js";
3
- import * as B from "react";
4
- import { s as N, c as C } from "./clsx-BTaloaeC.js";
5
- import { jsx as g } from "react/jsx-runtime";
6
- import { u as b } from "./useTheme-S5_DHFsQ.js";
7
- import { e as v } from "./extendSxProp-B8UjbJ56.js";
8
- function E(n = {}) {
9
- const {
10
- themeId: t,
11
- defaultTheme: m,
12
- defaultClassName: a = "MuiBox-root",
13
- generateClassName: r
14
- } = n, c = N("div", {
15
- shouldForwardProp: (o) => o !== "theme" && o !== "sx" && o !== "as"
16
- })(u);
17
- return /* @__PURE__ */ B.forwardRef(function(f, l) {
18
- const s = b(m), {
19
- className: i,
20
- component: p = "div",
21
- ...d
22
- } = v(f);
23
- return /* @__PURE__ */ g(c, {
24
- as: p,
25
- ref: l,
26
- className: C(i, r ? r(a) : a),
27
- theme: t && s[t] || s,
28
- ...d
29
- });
30
- });
31
- }
32
- const O = y("MuiBox", ["root"]), P = x(), j = E({
33
- themeId: h,
34
- defaultTheme: P,
35
- defaultClassName: O.root,
36
- generateClassName: T.generate
37
- });
38
- process.env.NODE_ENV !== "production" && (j.propTypes = {
39
- // ┌────────────────────────────── Warning ──────────────────────────────┐
40
- // │ These PropTypes are generated from the TypeScript type definitions. │
41
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
42
- // └─────────────────────────────────────────────────────────────────────┘
43
- /**
44
- * @ignore
45
- */
46
- children: e.node,
47
- /**
48
- * The component used for the root node.
49
- * Either a string to use a HTML element or a component.
50
- */
51
- component: e.elementType,
52
- /**
53
- * The system prop that allows defining system overrides as well as additional CSS styles.
54
- */
55
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
56
- });
57
- export {
58
- j as B
59
- };