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,235 +0,0 @@
1
- import * as h from "react";
2
- import { P as t } from "./createTheme-CD19zQB7.js";
3
- import { u as D } from "./useTheme-BQJ5lp0i.js";
4
- import { jsx as U } from "react/jsx-runtime";
5
- import { g as _, e as q, T as A, r as F, a as P } from "./elementAcceptingRef-CqLvP78G.js";
6
- import { u as G } from "./TransitionGroupContext-CYRQkQ6k.js";
7
- import { o as S } from "./ownerWindow-CRgpWY6I.js";
8
- import { c as J } from "./chainPropTypes-D9lkm76m.js";
9
- import { H as K } from "./HTMLElementType-BrQSV2FE.js";
10
- import { d as Q } from "./debounce-46wSf_lW.js";
11
- function Z(o, r, f) {
12
- const n = r.getBoundingClientRect(), i = f && f.getBoundingClientRect(), E = S(r);
13
- let c;
14
- if (r.fakeTransform)
15
- c = r.fakeTransform;
16
- else {
17
- const a = E.getComputedStyle(r);
18
- c = a.getPropertyValue("-webkit-transform") || a.getPropertyValue("transform");
19
- }
20
- let d = 0, u = 0;
21
- if (c && c !== "none" && typeof c == "string") {
22
- const a = c.split("(")[1].split(")")[0].split(",");
23
- d = parseInt(a[4], 10), u = parseInt(a[5], 10);
24
- }
25
- return o === "left" ? i ? `translateX(${i.right + d - n.left}px)` : `translateX(${E.innerWidth + d - n.left}px)` : o === "right" ? i ? `translateX(-${n.right - i.left - d}px)` : `translateX(-${n.left + n.width - d}px)` : o === "up" ? i ? `translateY(${i.bottom + u - n.top}px)` : `translateY(${E.innerHeight + u - n.top}px)` : i ? `translateY(-${n.top - i.top + n.height - u}px)` : `translateY(-${n.top + n.height - u}px)`;
26
- }
27
- function $(o) {
28
- return typeof o == "function" ? o() : o;
29
- }
30
- function x(o, r, f) {
31
- const n = $(f), i = Z(o, r, n);
32
- i && (r.style.webkitTransform = i, r.style.transform = i);
33
- }
34
- const ee = /* @__PURE__ */ h.forwardRef(function(r, f) {
35
- const n = D(), i = {
36
- enter: n.transitions.easing.easeOut,
37
- exit: n.transitions.easing.sharp
38
- }, E = {
39
- enter: n.transitions.duration.enteringScreen,
40
- exit: n.transitions.duration.leavingScreen
41
- }, {
42
- addEndListener: c,
43
- appear: d = !0,
44
- children: u,
45
- container: a,
46
- direction: p = "down",
47
- easing: w = i,
48
- in: m,
49
- onEnter: R,
50
- onEntered: O,
51
- onEntering: v,
52
- onExit: k,
53
- onExited: C,
54
- onExiting: V,
55
- style: T,
56
- timeout: b = E,
57
- // eslint-disable-next-line react/prop-types
58
- TransitionComponent: I = A,
59
- ...M
60
- } = r, l = h.useRef(null), X = G(_(u), l, f), g = (e) => (s) => {
61
- e && (s === void 0 ? e(l.current) : e(l.current, s));
62
- }, Y = g((e, s) => {
63
- x(p, e, a), F(e), R && R(e, s);
64
- }), j = g((e, s) => {
65
- const y = P({
66
- timeout: b,
67
- style: T,
68
- easing: w
69
- }, {
70
- mode: "enter"
71
- });
72
- e.style.webkitTransition = n.transitions.create("-webkit-transform", {
73
- ...y
74
- }), e.style.transition = n.transitions.create("transform", {
75
- ...y
76
- }), e.style.webkitTransform = "none", e.style.transform = "none", v && v(e, s);
77
- }), z = g(O), B = g(V), H = g((e) => {
78
- const s = P({
79
- timeout: b,
80
- style: T,
81
- easing: w
82
- }, {
83
- mode: "exit"
84
- });
85
- e.style.webkitTransition = n.transitions.create("-webkit-transform", s), e.style.transition = n.transitions.create("transform", s), x(p, e, a), k && k(e);
86
- }), N = g((e) => {
87
- e.style.webkitTransition = "", e.style.transition = "", C && C(e);
88
- }), W = (e) => {
89
- c && c(l.current, e);
90
- }, L = h.useCallback(() => {
91
- l.current && x(p, l.current, a);
92
- }, [p, a]);
93
- return h.useEffect(() => {
94
- if (m || p === "down" || p === "right")
95
- return;
96
- const e = Q(() => {
97
- l.current && x(p, l.current, a);
98
- }), s = S(l.current);
99
- return s.addEventListener("resize", e), () => {
100
- e.clear(), s.removeEventListener("resize", e);
101
- };
102
- }, [p, m, a]), h.useEffect(() => {
103
- m || L();
104
- }, [m, L]), /* @__PURE__ */ U(I, {
105
- nodeRef: l,
106
- onEnter: Y,
107
- onEntered: z,
108
- onEntering: j,
109
- onExit: H,
110
- onExited: N,
111
- onExiting: B,
112
- addEndListener: W,
113
- appear: d,
114
- in: m,
115
- timeout: b,
116
- ...M,
117
- children: (e, {
118
- ownerState: s,
119
- ...y
120
- }) => /* @__PURE__ */ h.cloneElement(u, {
121
- ref: X,
122
- style: {
123
- visibility: e === "exited" && !m ? "hidden" : void 0,
124
- ...T,
125
- ...u.props.style
126
- },
127
- ...y
128
- })
129
- });
130
- });
131
- process.env.NODE_ENV !== "production" && (ee.propTypes = {
132
- // ┌────────────────────────────── Warning ──────────────────────────────┐
133
- // │ These PropTypes are generated from the TypeScript type definitions. │
134
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
135
- // └─────────────────────────────────────────────────────────────────────┘
136
- /**
137
- * Add a custom transition end trigger. Called with the transitioning DOM
138
- * node and a done callback. Allows for more fine grained transition end
139
- * logic. Note: Timeouts are still used as a fallback if provided.
140
- */
141
- addEndListener: t.func,
142
- /**
143
- * Perform the enter transition when it first mounts if `in` is also `true`.
144
- * Set this to `false` to disable this behavior.
145
- * @default true
146
- */
147
- appear: t.bool,
148
- /**
149
- * A single child content element.
150
- */
151
- children: q.isRequired,
152
- /**
153
- * An HTML element, or a function that returns one.
154
- * It's used to set the container the Slide is transitioning from.
155
- */
156
- container: J(t.oneOfType([K, t.func]), (o) => {
157
- if (o.open) {
158
- const r = $(o.container);
159
- if (r && r.nodeType === 1) {
160
- const f = r.getBoundingClientRect();
161
- if (process.env.NODE_ENV !== "test" && f.top === 0 && f.left === 0 && f.right === 0 && f.bottom === 0)
162
- return new Error(["MUI: The `container` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
163
- `));
164
- } else if (!r || typeof r.getBoundingClientRect != "function" || r.contextElement != null && r.contextElement.nodeType !== 1)
165
- return new Error(["MUI: The `container` prop provided to the component is invalid.", "It should be an HTML element instance."].join(`
166
- `));
167
- }
168
- return null;
169
- }),
170
- /**
171
- * Direction the child node will enter from.
172
- * @default 'down'
173
- */
174
- direction: t.oneOf(["down", "left", "right", "up"]),
175
- /**
176
- * The transition timing function.
177
- * You may specify a single easing or a object containing enter and exit values.
178
- * @default {
179
- * enter: theme.transitions.easing.easeOut,
180
- * exit: theme.transitions.easing.sharp,
181
- * }
182
- */
183
- easing: t.oneOfType([t.shape({
184
- enter: t.string,
185
- exit: t.string
186
- }), t.string]),
187
- /**
188
- * If `true`, the component will transition in.
189
- */
190
- in: t.bool,
191
- /**
192
- * @ignore
193
- */
194
- onEnter: t.func,
195
- /**
196
- * @ignore
197
- */
198
- onEntered: t.func,
199
- /**
200
- * @ignore
201
- */
202
- onEntering: t.func,
203
- /**
204
- * @ignore
205
- */
206
- onExit: t.func,
207
- /**
208
- * @ignore
209
- */
210
- onExited: t.func,
211
- /**
212
- * @ignore
213
- */
214
- onExiting: t.func,
215
- /**
216
- * @ignore
217
- */
218
- style: t.object,
219
- /**
220
- * The duration for the transition, in milliseconds.
221
- * You may specify a single timeout for all transitions, or individually with an object.
222
- * @default {
223
- * enter: theme.transitions.duration.enteringScreen,
224
- * exit: theme.transitions.duration.leavingScreen,
225
- * }
226
- */
227
- timeout: t.oneOfType([t.number, t.shape({
228
- appear: t.number,
229
- enter: t.number,
230
- exit: t.number
231
- })])
232
- });
233
- export {
234
- ee as S
235
- };
@@ -1,172 +0,0 @@
1
- import { P as e, e as C, h as g, r as f, f as S, j as D, m as N, k as b, g as E } from "./createTheme-CD19zQB7.js";
2
- import { c as F, s as R, u as B } from "./DefaultPropsProvider-oAu9El-f.js";
3
- import * as m from "react";
4
- import { c as M } from "./clsx-BTaloaeC.js";
5
- import { jsx as w } from "react/jsx-runtime";
6
- import { s as G, u as U } from "./useThemeProps-DN9MjdTl.js";
7
- import { e as $ } from "./extendSxProp-B8UjbJ56.js";
8
- const A = C(), _ = G("div", {
9
- name: "MuiStack",
10
- slot: "Root"
11
- });
12
- function I(o) {
13
- return U({
14
- props: o,
15
- name: "MuiStack",
16
- defaultTheme: A
17
- });
18
- }
19
- function L(o, t) {
20
- const c = m.Children.toArray(o).filter(Boolean);
21
- return c.reduce((a, i, s) => (a.push(i), s < c.length - 1 && a.push(/* @__PURE__ */ m.cloneElement(t, {
22
- key: `separator-${s}`
23
- })), a), []);
24
- }
25
- const q = (o) => ({
26
- row: "Left",
27
- "row-reverse": "Right",
28
- column: "Top",
29
- "column-reverse": "Bottom"
30
- })[o], z = ({
31
- ownerState: o,
32
- theme: t
33
- }) => {
34
- let c = {
35
- display: "flex",
36
- flexDirection: "column",
37
- ...g({
38
- theme: t
39
- }, f({
40
- values: o.direction,
41
- breakpoints: t.breakpoints.values
42
- }), (a) => ({
43
- flexDirection: a
44
- }))
45
- };
46
- if (o.spacing) {
47
- const a = S(t), i = Object.keys(t.breakpoints.values).reduce((r, n) => ((typeof o.spacing == "object" && o.spacing[n] != null || typeof o.direction == "object" && o.direction[n] != null) && (r[n] = !0), r), {}), s = f({
48
- values: o.direction,
49
- base: i
50
- }), l = f({
51
- values: o.spacing,
52
- base: i
53
- });
54
- typeof s == "object" && Object.keys(s).forEach((r, n, u) => {
55
- if (!s[r]) {
56
- const p = n > 0 ? s[u[n - 1]] : "column";
57
- s[r] = p;
58
- }
59
- }), c = D(c, g({
60
- theme: t
61
- }, l, (r, n) => o.useFlexGap ? {
62
- gap: b(a, r)
63
- } : {
64
- // The useFlexGap={false} implement relies on each child to give up control of the margin.
65
- // We need to reset the margin to avoid double spacing.
66
- "& > :not(style):not(style)": {
67
- margin: 0
68
- },
69
- "& > :not(style) ~ :not(style)": {
70
- [`margin${q(n ? s[n] : o.direction)}`]: b(a, r)
71
- }
72
- }));
73
- }
74
- return c = N(t.breakpoints, c), c;
75
- };
76
- function H(o = {}) {
77
- const {
78
- // This will allow adding custom styled fn (for example for custom sx style function)
79
- createStyledComponent: t = _,
80
- useThemeProps: c = I,
81
- componentName: a = "MuiStack"
82
- } = o, i = () => F({
83
- root: ["root"]
84
- }, (r) => E(a, r), {}), s = t(z), l = /* @__PURE__ */ m.forwardRef(function(r, n) {
85
- const u = c(r), y = $(u), {
86
- component: p = "div",
87
- direction: T = "column",
88
- spacing: h = 0,
89
- divider: v,
90
- children: O,
91
- className: j,
92
- useFlexGap: k = !1,
93
- ...x
94
- } = y, P = {
95
- direction: T,
96
- spacing: h,
97
- useFlexGap: k
98
- }, V = i();
99
- return /* @__PURE__ */ w(s, {
100
- as: p,
101
- ownerState: P,
102
- ref: n,
103
- className: M(V.root, j),
104
- ...x,
105
- children: v ? L(O, v) : O
106
- });
107
- });
108
- return process.env.NODE_ENV !== "production" && (l.propTypes = {
109
- children: e.node,
110
- direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
111
- divider: e.node,
112
- spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
113
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
114
- }), l;
115
- }
116
- const J = H({
117
- createStyledComponent: R("div", {
118
- name: "MuiStack",
119
- slot: "Root"
120
- }),
121
- useThemeProps: (o) => B({
122
- props: o,
123
- name: "MuiStack"
124
- })
125
- });
126
- process.env.NODE_ENV !== "production" && (J.propTypes = {
127
- // ┌────────────────────────────── Warning ──────────────────────────────┐
128
- // │ These PropTypes are generated from the TypeScript type definitions. │
129
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
130
- // └─────────────────────────────────────────────────────────────────────┘
131
- /**
132
- * The content of the component.
133
- */
134
- children: e.node,
135
- /**
136
- * The component used for the root node.
137
- * Either a string to use a HTML element or a component.
138
- */
139
- component: e.elementType,
140
- /**
141
- * Defines the `flex-direction` style property.
142
- * It is applied for all screen sizes.
143
- * @default 'column'
144
- */
145
- direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
146
- /**
147
- * Add an element between each child.
148
- */
149
- divider: e.node,
150
- /**
151
- * Defines the space between immediate children.
152
- * @default 0
153
- */
154
- spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
155
- /**
156
- * The system prop, which allows defining system overrides as well as additional CSS styles.
157
- */
158
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
159
- /**
160
- * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
161
- *
162
- * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
163
- * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
164
- *
165
- * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
166
- * @default false
167
- */
168
- useFlexGap: e.bool
169
- });
170
- export {
171
- J as S
172
- };