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,410 +0,0 @@
1
- import { P as e, e as Y, g as H } from "./createTheme-CD19zQB7.js";
2
- import { u as J } from "./useTheme-BQJ5lp0i.js";
3
- import * as w from "react";
4
- import { c as Q } from "./clsx-BTaloaeC.js";
5
- import { jsx as X } from "react/jsx-runtime";
6
- import { s as Z, u as ee } from "./useThemeProps-DN9MjdTl.js";
7
- import { u as ne } from "./useTheme-S5_DHFsQ.js";
8
- import { e as re } from "./extendSxProp-B8UjbJ56.js";
9
- import { i as oe } from "./isMuiElement-DnSE4qG4.js";
10
- import { c as te, s as se, u as ie } from "./DefaultPropsProvider-oAu9El-f.js";
11
- const ce = (n, r) => n.filter((o) => r.includes(o)), T = (n, r, o) => {
12
- const t = n.keys[0];
13
- Array.isArray(r) ? r.forEach((i, s) => {
14
- o((c, y) => {
15
- s <= n.keys.length - 1 && (s === 0 ? Object.assign(c, y) : c[n.up(n.keys[s])] = y);
16
- }, i);
17
- }) : r && typeof r == "object" ? (Object.keys(r).length > n.keys.length ? n.keys : ce(n.keys, Object.keys(r))).forEach((s) => {
18
- if (n.keys.includes(s)) {
19
- const c = r[s];
20
- c !== void 0 && o((y, d) => {
21
- t === s ? Object.assign(y, d) : y[n.up(s)] = d;
22
- }, c);
23
- }
24
- }) : (typeof r == "number" || typeof r == "string") && o((i, s) => {
25
- Object.assign(i, s);
26
- }, r);
27
- };
28
- function h(n) {
29
- return `--Grid-${n}Spacing`;
30
- }
31
- function S(n) {
32
- return `--Grid-parent-${n}Spacing`;
33
- }
34
- const C = "--Grid-columns", O = "--Grid-parent-columns", ae = ({
35
- theme: n,
36
- ownerState: r
37
- }) => {
38
- const o = {};
39
- return T(n.breakpoints, r.size, (t, i) => {
40
- let s = {};
41
- i === "grow" && (s = {
42
- flexBasis: 0,
43
- flexGrow: 1,
44
- maxWidth: "100%"
45
- }), i === "auto" && (s = {
46
- flexBasis: "auto",
47
- flexGrow: 0,
48
- flexShrink: 0,
49
- maxWidth: "none",
50
- width: "auto"
51
- }), typeof i == "number" && (s = {
52
- flexGrow: 0,
53
- flexBasis: "auto",
54
- width: `calc(100% * ${i} / var(${O}) - (var(${O}) - ${i}) * (var(${S("column")}) / var(${O})))`
55
- }), t(o, s);
56
- }), o;
57
- }, fe = ({
58
- theme: n,
59
- ownerState: r
60
- }) => {
61
- const o = {};
62
- return T(n.breakpoints, r.offset, (t, i) => {
63
- let s = {};
64
- i === "auto" && (s = {
65
- marginLeft: "auto"
66
- }), typeof i == "number" && (s = {
67
- marginLeft: i === 0 ? "0px" : `calc(100% * ${i} / var(${O}) + var(${S("column")}) * ${i} / var(${O}))`
68
- }), t(o, s);
69
- }), o;
70
- }, ue = ({
71
- theme: n,
72
- ownerState: r
73
- }) => {
74
- if (!r.container)
75
- return {};
76
- const o = {
77
- [C]: 12
78
- };
79
- return T(n.breakpoints, r.columns, (t, i) => {
80
- const s = i ?? 12;
81
- t(o, {
82
- [C]: s,
83
- "> *": {
84
- [O]: s
85
- }
86
- });
87
- }), o;
88
- }, pe = ({
89
- theme: n,
90
- ownerState: r
91
- }) => {
92
- if (!r.container)
93
- return {};
94
- const o = {};
95
- return T(n.breakpoints, r.rowSpacing, (t, i) => {
96
- var c;
97
- const s = typeof i == "string" ? i : (c = n.spacing) == null ? void 0 : c.call(n, i);
98
- t(o, {
99
- [h("row")]: s,
100
- "> *": {
101
- [S("row")]: s
102
- }
103
- });
104
- }), o;
105
- }, le = ({
106
- theme: n,
107
- ownerState: r
108
- }) => {
109
- if (!r.container)
110
- return {};
111
- const o = {};
112
- return T(n.breakpoints, r.columnSpacing, (t, i) => {
113
- var c;
114
- const s = typeof i == "string" ? i : (c = n.spacing) == null ? void 0 : c.call(n, i);
115
- t(o, {
116
- [h("column")]: s,
117
- "> *": {
118
- [S("column")]: s
119
- }
120
- });
121
- }), o;
122
- }, me = ({
123
- theme: n,
124
- ownerState: r
125
- }) => {
126
- if (!r.container)
127
- return {};
128
- const o = {};
129
- return T(n.breakpoints, r.direction, (t, i) => {
130
- t(o, {
131
- flexDirection: i
132
- });
133
- }), o;
134
- }, ye = ({
135
- ownerState: n
136
- }) => ({
137
- minWidth: 0,
138
- boxSizing: "border-box",
139
- ...n.container && {
140
- display: "flex",
141
- flexWrap: "wrap",
142
- ...n.wrap && n.wrap !== "wrap" && {
143
- flexWrap: n.wrap
144
- },
145
- gap: `var(${h("row")}) var(${h("column")})`
146
- }
147
- }), de = (n) => {
148
- const r = [];
149
- return Object.entries(n).forEach(([o, t]) => {
150
- t !== !1 && t !== void 0 && r.push(`grid-${o}-${String(t)}`);
151
- }), r;
152
- }, ge = (n, r = "xs") => {
153
- function o(t) {
154
- return t === void 0 ? !1 : typeof t == "string" && !Number.isNaN(Number(t)) || typeof t == "number" && t > 0;
155
- }
156
- if (o(n))
157
- return [`spacing-${r}-${String(n)}`];
158
- if (typeof n == "object" && !Array.isArray(n)) {
159
- const t = [];
160
- return Object.entries(n).forEach(([i, s]) => {
161
- o(s) && t.push(`spacing-${i}-${String(s)}`);
162
- }), t;
163
- }
164
- return [];
165
- }, be = (n) => n === void 0 ? [] : typeof n == "object" ? Object.entries(n).map(([r, o]) => `direction-${r}-${o}`) : [`direction-xs-${String(n)}`], Oe = (n) => ["item", "zeroMinWidth"].includes(n) ? `The \`${n}\` prop has been removed and is no longer necessary. You can safely remove it.` : `The \`${n}\` prop has been removed. See https://mui.com/material-ui/migration/upgrade-to-grid-v2/ for migration instructions.`, P = [];
166
- function Te(n, r) {
167
- const o = [];
168
- n.item !== void 0 && (delete n.item, o.push("item")), n.zeroMinWidth !== void 0 && (delete n.zeroMinWidth, o.push("zeroMinWidth")), r.keys.forEach((t) => {
169
- n[t] !== void 0 && (o.push(t), delete n[t]);
170
- }), process.env.NODE_ENV !== "production" && o.forEach((t) => {
171
- P.includes(t) || (P.push(t), console.warn(`MUI Grid: ${Oe(t)}
172
- `));
173
- });
174
- }
175
- const we = Y(), he = Z("div", {
176
- name: "MuiGrid",
177
- slot: "Root"
178
- });
179
- function Se(n) {
180
- return ee({
181
- props: n,
182
- name: "MuiGrid",
183
- defaultTheme: we
184
- });
185
- }
186
- function $e(n = {}) {
187
- const {
188
- // This will allow adding custom styled fn (for example for custom sx style function)
189
- createStyledComponent: r = he,
190
- useThemeProps: o = Se,
191
- useTheme: t = ne,
192
- componentName: i = "MuiGrid"
193
- } = n, s = (p, a) => {
194
- const {
195
- container: m,
196
- direction: f,
197
- spacing: l,
198
- wrap: u,
199
- size: $
200
- } = p, j = {
201
- root: ["root", m && "container", u !== "wrap" && `wrap-xs-${String(u)}`, ...be(f), ...de($), ...m ? ge(l, a.breakpoints.keys[0]) : []]
202
- };
203
- return te(j, (G) => H(i, G), {});
204
- };
205
- function c(p, a, m = () => !0) {
206
- const f = {};
207
- return p === null || (Array.isArray(p) ? p.forEach((l, u) => {
208
- l !== null && m(l) && a.keys[u] && (f[a.keys[u]] = l);
209
- }) : typeof p == "object" ? Object.keys(p).forEach((l) => {
210
- const u = p[l];
211
- u != null && m(u) && (f[l] = u);
212
- }) : f[a.keys[0]] = p), f;
213
- }
214
- const y = r(ue, le, pe, ae, me, ye, fe), d = /* @__PURE__ */ w.forwardRef(function(a, m) {
215
- const f = t(), l = o(a), u = re(l);
216
- Te(u, f.breakpoints);
217
- const {
218
- className: $,
219
- children: j,
220
- columns: G = 12,
221
- container: E = !1,
222
- component: M = "div",
223
- direction: W = "row",
224
- wrap: v = "wrap",
225
- size: D = {},
226
- offset: R = {},
227
- spacing: x = 0,
228
- rowSpacing: _ = x,
229
- columnSpacing: A = x,
230
- unstable_level: b = 0,
231
- ...B
232
- } = u, V = c(D, f.breakpoints, (g) => g !== !1), L = c(R, f.breakpoints), q = a.columns ?? (b ? void 0 : G), U = a.spacing ?? (b ? void 0 : x), F = a.rowSpacing ?? a.spacing ?? (b ? void 0 : _), I = a.columnSpacing ?? a.spacing ?? (b ? void 0 : A), N = {
233
- ...u,
234
- level: b,
235
- columns: q,
236
- container: E,
237
- direction: W,
238
- wrap: v,
239
- spacing: U,
240
- rowSpacing: F,
241
- columnSpacing: I,
242
- size: V,
243
- offset: L
244
- }, K = s(N, f);
245
- return /* @__PURE__ */ X(y, {
246
- ref: m,
247
- as: M,
248
- ownerState: N,
249
- className: Q(K.root, $),
250
- ...B,
251
- children: w.Children.map(j, (g) => {
252
- var k;
253
- return /* @__PURE__ */ w.isValidElement(g) && oe(g, ["Grid"]) && E && g.props.container ? /* @__PURE__ */ w.cloneElement(g, {
254
- unstable_level: ((k = g.props) == null ? void 0 : k.unstable_level) ?? b + 1
255
- }) : g;
256
- })
257
- });
258
- });
259
- return process.env.NODE_ENV !== "production" && (d.propTypes = {
260
- children: e.node,
261
- className: e.string,
262
- columns: e.oneOfType([e.arrayOf(e.number), e.number, e.object]),
263
- columnSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
264
- component: e.elementType,
265
- container: e.bool,
266
- direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
267
- offset: e.oneOfType([e.string, e.number, e.arrayOf(e.oneOfType([e.string, e.number])), e.object]),
268
- rowSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
269
- size: e.oneOfType([e.string, e.bool, e.number, e.arrayOf(e.oneOfType([e.string, e.bool, e.number])), e.object]),
270
- spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
271
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
272
- wrap: e.oneOf(["nowrap", "wrap-reverse", "wrap"])
273
- }), d.muiName = "Grid", d;
274
- }
275
- function je(n, r) {
276
- if (process.env.NODE_ENV === "production")
277
- return () => () => null;
278
- const o = r ? {
279
- ...r.propTypes
280
- } : null;
281
- return (i) => (s, c, y, d, p, ...a) => {
282
- const m = p || c, f = o == null ? void 0 : o[m];
283
- if (f) {
284
- const l = f(s, c, y, d, p, ...a);
285
- if (l)
286
- return l;
287
- }
288
- return typeof s[c] < "u" && !s[i] ? new Error(`The prop \`${m}\` of \`${n}\` can only be used together with the \`${i}\` prop.`) : null;
289
- };
290
- }
291
- const z = $e({
292
- createStyledComponent: se("div", {
293
- name: "MuiGrid",
294
- slot: "Root",
295
- overridesResolver: (n, r) => {
296
- const {
297
- ownerState: o
298
- } = n;
299
- return [r.root, o.container && r.container];
300
- }
301
- }),
302
- componentName: "MuiGrid",
303
- useThemeProps: (n) => ie({
304
- props: n,
305
- name: "MuiGrid"
306
- }),
307
- useTheme: J
308
- });
309
- process.env.NODE_ENV !== "production" && (z.propTypes = {
310
- // ┌────────────────────────────── Warning ──────────────────────────────┐
311
- // │ These PropTypes are generated from the TypeScript type definitions. │
312
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
313
- // └─────────────────────────────────────────────────────────────────────┘
314
- /**
315
- * The content of the component.
316
- */
317
- children: e.node,
318
- /**
319
- * The number of columns.
320
- * @default 12
321
- */
322
- columns: e.oneOfType([e.arrayOf(e.number), e.number, e.object]),
323
- /**
324
- * Defines the horizontal space between the type `item` components.
325
- * It overrides the value of the `spacing` prop.
326
- */
327
- columnSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
328
- /**
329
- * If `true`, the component will have the flex *container* behavior.
330
- * You should be wrapping *items* with a *container*.
331
- * @default false
332
- */
333
- container: e.bool,
334
- /**
335
- * Defines the `flex-direction` style property.
336
- * It is applied for all screen sizes.
337
- * @default 'row'
338
- */
339
- direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
340
- /**
341
- * Defines the offset value for the type `item` components.
342
- */
343
- offset: e.oneOfType([e.string, e.number, e.arrayOf(e.oneOfType([e.string, e.number])), e.object]),
344
- /**
345
- * Defines the vertical space between the type `item` components.
346
- * It overrides the value of the `spacing` prop.
347
- */
348
- rowSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
349
- /**
350
- * Defines the size of the the type `item` components.
351
- */
352
- size: e.oneOfType([e.string, e.bool, e.number, e.arrayOf(e.oneOfType([e.string, e.bool, e.number])), e.object]),
353
- /**
354
- * Defines the space between the type `item` components.
355
- * It can only be used on a type `container` component.
356
- * @default 0
357
- */
358
- spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
359
- /**
360
- * @ignore
361
- */
362
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
363
- /**
364
- * @internal
365
- * The level of the grid starts from `0` and increases when the grid nests
366
- * inside another grid. Nesting is defined as a container Grid being a direct
367
- * child of a container Grid.
368
- *
369
- * ```js
370
- * <Grid container> // level 0
371
- * <Grid container> // level 1
372
- * <Grid container> // level 2
373
- * ```
374
- *
375
- * Only consecutive grid is considered nesting. A grid container will start at
376
- * `0` if there are non-Grid container element above it.
377
- *
378
- * ```js
379
- * <Grid container> // level 0
380
- * <div>
381
- * <Grid container> // level 0
382
- * ```
383
- *
384
- * ```js
385
- * <Grid container> // level 0
386
- * <Grid>
387
- * <Grid container> // level 0
388
- * ```
389
- */
390
- unstable_level: e.number,
391
- /**
392
- * Defines the `flex-wrap` style property.
393
- * It's applied for all screen sizes.
394
- * @default 'wrap'
395
- */
396
- wrap: e.oneOf(["nowrap", "wrap-reverse", "wrap"])
397
- });
398
- if (process.env.NODE_ENV !== "production") {
399
- const n = z, r = je("Grid", n);
400
- n.propTypes = {
401
- // eslint-disable-next-line react/forbid-foreign-prop-types
402
- ...n.propTypes,
403
- direction: r("container"),
404
- spacing: r("container"),
405
- wrap: r("container")
406
- };
407
- }
408
- export {
409
- z as G
410
- };
@@ -1,196 +0,0 @@
1
- import * as f from "react";
2
- import { P as n } from "./createTheme-CD19zQB7.js";
3
- import { u as V } from "./useTheme-BQJ5lp0i.js";
4
- import { jsx as W } from "react/jsx-runtime";
5
- import { g as k, e as B, T as J, r as M, a as v } from "./elementAcceptingRef-CqLvP78G.js";
6
- import { u as Q } from "./refType-BsTH3qnM.js";
7
- import { u as U } from "./TransitionGroupContext-CYRQkQ6k.js";
8
- function h(l) {
9
- return `scale(${l}, ${l ** 2})`;
10
- }
11
- const X = {
12
- entering: {
13
- opacity: 1,
14
- transform: h(1)
15
- },
16
- entered: {
17
- opacity: 1,
18
- transform: "none"
19
- }
20
- }, E = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), y = /* @__PURE__ */ f.forwardRef(function(w, D) {
21
- const {
22
- addEndListener: x,
23
- appear: L = !0,
24
- children: m,
25
- easing: T,
26
- in: R,
27
- onEnter: b,
28
- onEntered: j,
29
- onEntering: H,
30
- onExit: A,
31
- onExited: O,
32
- onExiting: P,
33
- style: p,
34
- timeout: o = "auto",
35
- // eslint-disable-next-line react/prop-types
36
- TransitionComponent: F = J,
37
- ...G
38
- } = w, S = Q(), g = f.useRef(), s = V(), c = f.useRef(null), C = U(c, k(m), D), a = (t) => (r) => {
39
- if (t) {
40
- const e = c.current;
41
- r === void 0 ? t(e) : t(e, r);
42
- }
43
- }, N = a(H), _ = a((t, r) => {
44
- M(t);
45
- const {
46
- duration: e,
47
- delay: d,
48
- easing: i
49
- } = v({
50
- style: p,
51
- timeout: o,
52
- easing: T
53
- }, {
54
- mode: "enter"
55
- });
56
- let u;
57
- o === "auto" ? (u = s.transitions.getAutoHeightDuration(t.clientHeight), g.current = u) : u = e, t.style.transition = [s.transitions.create("opacity", {
58
- duration: u,
59
- delay: d
60
- }), s.transitions.create("transform", {
61
- duration: E ? u : u * 0.666,
62
- delay: d,
63
- easing: i
64
- })].join(","), b && b(t, r);
65
- }), $ = a(j), q = a(P), z = a((t) => {
66
- const {
67
- duration: r,
68
- delay: e,
69
- easing: d
70
- } = v({
71
- style: p,
72
- timeout: o,
73
- easing: T
74
- }, {
75
- mode: "exit"
76
- });
77
- let i;
78
- o === "auto" ? (i = s.transitions.getAutoHeightDuration(t.clientHeight), g.current = i) : i = r, t.style.transition = [s.transitions.create("opacity", {
79
- duration: i,
80
- delay: e
81
- }), s.transitions.create("transform", {
82
- duration: E ? i : i * 0.666,
83
- delay: E ? e : e || i * 0.333,
84
- easing: d
85
- })].join(","), t.style.opacity = 0, t.style.transform = h(0.75), A && A(t);
86
- }), K = a(O);
87
- return /* @__PURE__ */ W(F, {
88
- appear: L,
89
- in: R,
90
- nodeRef: c,
91
- onEnter: _,
92
- onEntered: $,
93
- onEntering: N,
94
- onExit: z,
95
- onExited: K,
96
- onExiting: q,
97
- addEndListener: (t) => {
98
- o === "auto" && S.start(g.current || 0, t), x && x(c.current, t);
99
- },
100
- timeout: o === "auto" ? null : o,
101
- ...G,
102
- children: (t, {
103
- ownerState: r,
104
- ...e
105
- }) => /* @__PURE__ */ f.cloneElement(m, {
106
- style: {
107
- opacity: 0,
108
- transform: h(0.75),
109
- visibility: t === "exited" && !R ? "hidden" : void 0,
110
- ...X[t],
111
- ...p,
112
- ...m.props.style
113
- },
114
- ref: C,
115
- ...e
116
- })
117
- });
118
- });
119
- process.env.NODE_ENV !== "production" && (y.propTypes = {
120
- // ┌────────────────────────────── Warning ──────────────────────────────┐
121
- // │ These PropTypes are generated from the TypeScript type definitions. │
122
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
123
- // └─────────────────────────────────────────────────────────────────────┘
124
- /**
125
- * Add a custom transition end trigger. Called with the transitioning DOM
126
- * node and a done callback. Allows for more fine grained transition end
127
- * logic. Note: Timeouts are still used as a fallback if provided.
128
- */
129
- addEndListener: n.func,
130
- /**
131
- * Perform the enter transition when it first mounts if `in` is also `true`.
132
- * Set this to `false` to disable this behavior.
133
- * @default true
134
- */
135
- appear: n.bool,
136
- /**
137
- * A single child content element.
138
- */
139
- children: B.isRequired,
140
- /**
141
- * The transition timing function.
142
- * You may specify a single easing or a object containing enter and exit values.
143
- */
144
- easing: n.oneOfType([n.shape({
145
- enter: n.string,
146
- exit: n.string
147
- }), n.string]),
148
- /**
149
- * If `true`, the component will transition in.
150
- */
151
- in: n.bool,
152
- /**
153
- * @ignore
154
- */
155
- onEnter: n.func,
156
- /**
157
- * @ignore
158
- */
159
- onEntered: n.func,
160
- /**
161
- * @ignore
162
- */
163
- onEntering: n.func,
164
- /**
165
- * @ignore
166
- */
167
- onExit: n.func,
168
- /**
169
- * @ignore
170
- */
171
- onExited: n.func,
172
- /**
173
- * @ignore
174
- */
175
- onExiting: n.func,
176
- /**
177
- * @ignore
178
- */
179
- style: n.object,
180
- /**
181
- * The duration for the transition, in milliseconds.
182
- * You may specify a single timeout for all transitions, or individually with an object.
183
- *
184
- * Set to 'auto' to automatically calculate transition time based on height.
185
- * @default 'auto'
186
- */
187
- timeout: n.oneOfType([n.oneOf(["auto"]), n.number, n.shape({
188
- appear: n.number,
189
- enter: n.number,
190
- exit: n.number
191
- })])
192
- });
193
- y && (y.muiSupportAuto = !0);
194
- export {
195
- y as G
196
- };
@@ -1,13 +0,0 @@
1
- function c(n) {
2
- return n && n.ownerDocument || document;
3
- }
4
- function p(n, r, t, o, u) {
5
- if (process.env.NODE_ENV === "production")
6
- return null;
7
- const e = n[r], l = u || r;
8
- return e == null ? null : e && e.nodeType !== 1 ? new Error(`Invalid ${o} \`${l}\` supplied to \`${t}\`. Expected an HTMLElement.`) : null;
9
- }
10
- export {
11
- p as H,
12
- c as o
13
- };