everest-npm-features 0.0.23 → 0.0.25

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 (244) hide show
  1. package/dist/{Alert-C1UNQHPD.js → Alert-CbQZ8Nii.js} +142 -116
  2. package/dist/{ArrowBack-Clp4i3dA.js → ArrowBack-BoYSBb8u.js} +1 -1
  3. package/dist/{ArrowDropDown-CoJNyIet.js → ArrowDropDown-BC_iEASy.js} +1 -1
  4. package/dist/{ArrowRight-DXtbS-1g.js → ArrowRight-rYkfGJuF.js} +1 -1
  5. package/dist/{Backdrop-DD6Ysl5O.js → Backdrop-CJBRZv_z.js} +106 -107
  6. package/dist/{Box-Be0E_-eR.js → Box-B12x52NC.js} +17 -16
  7. package/dist/Button-C57IMamW.js +660 -0
  8. package/dist/{ButtonBase-CE33gcZ6.js → ButtonBase-DugIO1pR.js} +194 -194
  9. package/dist/{Cancel-DEk2meuc.js → Cancel-D1JNu4Hj.js} +1 -1
  10. package/dist/{CardContent-B5tGyfc5.js → CardContent-CbObWW6t.js} +44 -45
  11. package/dist/{CheckCircle-BIckgNlV.js → CheckCircle-CyxKX1TY.js} +1 -1
  12. package/dist/{CircularProgress-fePUtoaj.js → CircularProgress-t8uGhLMo.js} +17 -17
  13. package/dist/{Close-D20PIPiF.js → Close-VV7zb3cu.js} +1 -1
  14. package/dist/{Close-Bj6AaxRi.js → Close-jnEgOCZv.js} +1 -1
  15. package/dist/{Container-CTfl6Vy4.js → Container-B3Af6Sc3.js} +20 -20
  16. package/dist/{ContentCopy-DzhD9ue3.js → ContentCopy-Ufwoeeov.js} +1 -1
  17. package/dist/DefaultPropsProvider-B2njZVNv.js +242 -0
  18. package/dist/DefaultPropsProvider-CZh8M2jM.js +351 -0
  19. package/dist/{Delete-BqqmGzYe.js → Delete-TCARcVtU.js} +1 -1
  20. package/dist/{DialogContent-D8jGp88c.js → DialogContent-DzidtXui.js} +202 -140
  21. package/dist/{DialogTitle-CxbjAJOw.js → DialogTitle-Bg61Hr7M.js} +23 -23
  22. package/dist/{Divider-D3PIEE97.js → Divider-Dy5hKfey.js} +31 -30
  23. package/dist/{ErrorOutline-CnwdlXPx.js → ErrorOutline-CI_ys3Zo.js} +1 -1
  24. package/dist/{FileDownload-BX69Jvdx.js → FileDownload-BcYF17B0.js} +1 -1
  25. package/dist/{FilledInput-n9W_V8GV.js → FilledInput-DrGeWgue.js} +352 -335
  26. package/dist/{FormControl-Cc-02KHW.js → FormControl-DeeQCuu5.js} +98 -81
  27. package/dist/{FormControlLabel-BEN9P8rJ.js → FormControlLabel-DVnrJkC8.js} +194 -165
  28. package/dist/GlobalStyles-DhHHc9O0.js +59 -0
  29. package/dist/Grid-BXyV_lM8.js +410 -0
  30. package/dist/Grow-B2p7O_1C.js +196 -0
  31. package/dist/{ownerDocument-C0GI-r2b.js → HTMLElementType-BrQSV2FE.js} +6 -6
  32. package/dist/IconButton-eWRhV6Q9.js +295 -0
  33. package/dist/{Info-83BXSu73.js → Info-D2UkGxyK.js} +1 -1
  34. package/dist/{InputAdornment-Ck_-Z38v.js → InputAdornment-BKuUMfPj.js} +14 -12
  35. package/dist/{Link-BqusVoz5.js → Link-Cm4BkRHO.js} +50 -49
  36. package/dist/{ListItemIcon-DIz-ZmJ0.js → ListItemIcon-GKRFb1Gr.js} +14 -13
  37. package/dist/{MenuItem-BkJ_C9Xs.js → MenuItem-CeCt0bfa.js} +46 -39
  38. package/dist/{Modal-CQcBtr07.js → Modal-csf3Y8d2.js} +265 -269
  39. package/dist/{Paper-B5pcGZbI.js → Paper-CnStNE24.js} +39 -38
  40. package/dist/{PlayArrow-1Y66tCVx.js → PlayArrow-DRCGjsrx.js} +1 -1
  41. package/dist/{Popper-CYsd-3n5.js → Popper-pPBEFLi4.js} +15 -15
  42. package/dist/{Portal-Bw0-5YJ9.js → Portal-CLa9CbMv.js} +36 -37
  43. package/dist/{RadioGroup-DtQqYrwU.js → RadioGroup-KiyYjXaT.js} +29 -28
  44. package/dist/{Select-DpKw-a6h.js → Select-Chubcks_.js} +1248 -933
  45. package/dist/{Slide-CdNJY-CT.js → Slide-DHG0r2gy.js} +68 -66
  46. package/dist/{Stack-C4POCZZb.js → Stack-CcR5RCg8.js} +41 -43
  47. package/dist/SwitchBase-CHO5ZceN.js +317 -0
  48. package/dist/{TextField-Cm9apaOp.js → TextField-q_SeLeNd.js} +144 -135
  49. package/dist/TransitionGroupContext-CYRQkQ6k.js +49 -0
  50. package/dist/{Typography-Ds4fpvK8.js → Typography-DBlMiOti.js} +39 -38
  51. package/dist/{auth-CR0412E5.js → auth-Bf9zHZ-x.js} +1 -1
  52. package/dist/{bank-iFS1RXp-.js → bank-BC4YNBRb.js} +3 -3
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +7 -7
  91. package/dist/components/Shared/FullKyc/userInfo.js +11 -11
  92. package/dist/components/Shared/HistoryItem/index.js +7 -7
  93. package/dist/components/Shared/Incode/index.js +5 -5
  94. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  95. package/dist/components/Shared/loader.js +2 -2
  96. package/dist/components/Shared/tooltip.js +2 -2
  97. package/dist/components/Shared/transition.js +1 -1
  98. package/dist/components/Wallet/Account/createIban.d.ts +1 -0
  99. package/dist/components/Wallet/Account/createIban.js +36 -35
  100. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  101. package/dist/components/Wallet/Account/iban.js +16 -16
  102. package/dist/components/Wallet/Account/index.d.ts +1 -0
  103. package/dist/components/Wallet/Account/index.js +76 -70
  104. package/dist/components/Wallet/Account/sendIban.js +61 -61
  105. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  106. package/dist/components/Wallet/Buy/form.d.ts +2 -2
  107. package/dist/components/Wallet/Buy/form.js +17 -17
  108. package/dist/components/Wallet/Buy/index.js +6 -6
  109. package/dist/components/Wallet/Deposit/index.js +7 -7
  110. package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
  111. package/dist/components/Wallet/EnterpriseKyc/index.js +26 -24
  112. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  113. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  114. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  115. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  116. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +45 -44
  117. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3626 -100
  118. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  119. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +0 -1
  120. package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
  121. package/dist/components/Wallet/History/index.js +61 -62
  122. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
  123. package/dist/components/Wallet/Portfolio/index.js +95 -95
  124. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  125. package/dist/components/Wallet/Profile/documents.js +17 -17
  126. package/dist/components/Wallet/Profile/index.js +225 -206
  127. package/dist/components/Wallet/Receive/index.js +9 -9
  128. package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
  129. package/dist/components/Wallet/Sell/form.js +17 -17
  130. package/dist/components/Wallet/Sell/index.js +6 -6
  131. package/dist/components/Wallet/Send/index.js +14 -14
  132. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  133. package/dist/components/Wallet/Shared/Auth/otpForm.js +217 -10451
  134. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  135. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  136. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  137. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  138. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +9 -10
  139. package/dist/components/Wallet/Shared/Order/types.d.ts +23 -2
  140. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  141. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  142. package/dist/components/Wallet/Shared/addBank.js +11 -11
  143. package/dist/components/Wallet/Shared/appButton.js +5 -5
  144. package/dist/components/Wallet/Shared/backBtn.js +8 -8
  145. package/dist/components/Wallet/Shared/button.js +1 -1
  146. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  147. package/dist/components/Wallet/Shared/inputField.js +1 -1
  148. package/dist/components/Wallet/Shared/noData.js +2 -2
  149. package/dist/components/Wallet/Shared/pin.js +3 -3
  150. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  151. package/dist/components/Wallet/Shared/step.js +2 -2
  152. package/dist/components/Wallet/SignIn/index.js +2 -2
  153. package/dist/components/Wallet/SignUp/index.js +2 -2
  154. package/dist/components/Wallet/SignUp/terms.js +4 -4
  155. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  156. package/dist/components/Wallet/Stake/id/index.js +12 -12
  157. package/dist/components/Wallet/Stake/index.js +10 -10
  158. package/dist/components/Wallet/Swap/index.js +138 -150
  159. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  160. package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
  161. package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
  162. package/dist/components/Wallet/Withdraw/form.d.ts +2 -2
  163. package/dist/components/Wallet/Withdraw/form.js +16 -16
  164. package/dist/components/Wallet/Withdraw/index.js +5 -5
  165. package/dist/{constants-BJByDTQY.js → constants-CsMPRK0U.js} +285 -284
  166. package/dist/{createSvgIcon-C0wzKL72.js → createSvgIcon-CH41ZVFw.js} +58 -57
  167. package/dist/createTheme-DmGCMO09.js +3825 -0
  168. package/dist/{cryptoAssets-BcVSdM1C.js → cryptoAssets-CzNDY1j6.js} +1 -1
  169. package/dist/defaultTheme-9fAph5zo.js +5 -0
  170. package/dist/{dividerClasses-Cb_Is0-O.js → dividerClasses-DnbM--4s.js} +2 -2
  171. package/dist/{documents-HjBKq9qA.js → documents-CEeV8SyW.js} +16 -16
  172. package/dist/{Transition-CYSgg85A.js → elementAcceptingRef-BbsmdE_3.js} +109 -66
  173. package/dist/{elementTypeAcceptingRef-Bc1kRXA9.js → elementTypeAcceptingRef-CdmXUhJ8.js} +1 -1
  174. package/dist/{emotion-react.browser.esm-BjxI_t8k.js → emotion-react.browser.esm-C2mxoK1z.js} +42 -42
  175. package/dist/{extendSxProp-a8ZTL0ZI.js → extendSxProp-Bwha5fon.js} +1 -1
  176. package/dist/{fiatAssets-C_F8qNzr.js → fiatAssets-DVHfFafS.js} +1 -1
  177. package/dist/hoc/withThemeProvider.js +518 -417
  178. package/dist/hooks/useDialog/index.js +4 -4
  179. package/dist/hooks/useRrDialog/index.js +4 -4
  180. package/dist/hooks/useSnackBar.js +363 -288
  181. package/dist/{iban-Dh7qBGGc.js → iban-DRT7i0vb.js} +74 -85
  182. package/dist/icons/buyIcon.js +1 -1
  183. package/dist/icons/canceledBuyIcon.js +1 -1
  184. package/dist/icons/canceledRedeemIcon.js +1 -1
  185. package/dist/icons/failedBuyIcon.js +1 -1
  186. package/dist/icons/failedRedeemIcon.js +1 -1
  187. package/dist/icons/pendingBuyIcon.js +1 -1
  188. package/dist/icons/pendingRedeemIcon.js +1 -1
  189. package/dist/icons/redeemIcon.js +1 -1
  190. package/dist/index-BB3__zW3.js +644 -0
  191. package/dist/index-C86AoaoB.js +43 -0
  192. package/dist/{index-BFIhKqqi.js → index-C9uGghB8.js} +141 -133
  193. package/dist/{index-DkMQ44xy.js → index-DZ__IpVI.js} +19 -19
  194. package/dist/{index-B2OIoTNN.js → index-DxX5Mo0o.js} +18 -18
  195. package/dist/{index-CQe8cwpc.js → index-VE9lYjq3.js} +22 -22
  196. package/dist/index-eEYiDlpX.js +723 -0
  197. package/dist/{index-CtkDfW5M.js → index-x9CniyQB.js} +1 -1
  198. package/dist/{kyc-DJpiKj5d.js → kyc-BweeW6k9.js} +1 -1
  199. package/dist/main.js +6 -6
  200. package/dist/{order-DhUA-ZNX.js → order-DmTHC7ZG.js} +7 -7
  201. package/dist/{ownerWindow-iFlVse9X.js → ownerWindow-CRgpWY6I.js} +1 -1
  202. package/dist/pep-C5Ge-kU4.js +2691 -0
  203. package/dist/{radioButton-CdYLf2fc.js → radioButton-Bgy7Kxxo.js} +172 -121
  204. package/dist/refType-CaiGhRso.js +56 -0
  205. package/dist/{stake-DWRuAE1u.js → stake-B150utJI.js} +1 -1
  206. package/dist/tokenRow-BR8f4g7G.js +198 -0
  207. package/dist/{tooltip-CwdohO6q.js → tooltip-DGtrVEzU.js} +258 -235
  208. package/dist/useControlled-nm4pBabJ.js +31 -0
  209. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  210. package/dist/useSlot-DtSnboW7.js +125 -0
  211. package/dist/useSlotProps-D62tWbb1.js +25 -0
  212. package/dist/useTheme-Bfw5Gt1b.js +17 -0
  213. package/dist/{useTheme-BzIjfC6u.js → useTheme-XTDzJ69d.js} +3 -3
  214. package/dist/useThemeProps-lRuJRcRX.js +29 -0
  215. package/dist/wallet-DDW5KCHp.js +39 -0
  216. package/package.json +7 -6
  217. package/dist/Button-DCBtFwk3.js +0 -452
  218. package/dist/DefaultPropsProvider-5cxFAZuq.js +0 -647
  219. package/dist/DefaultPropsProvider-DOLtk4kZ.js +0 -88
  220. package/dist/GlobalStyles-O5U8h5ZQ.js +0 -23
  221. package/dist/Grid-BaaKMDwM.js +0 -501
  222. package/dist/Grid2-DX2sucnU.js +0 -374
  223. package/dist/Grow-CC3Va50c.js +0 -216
  224. package/dist/IconButton-8B2ygvr4.js +0 -238
  225. package/dist/SwitchBase-B9rcpVZ0.js +0 -261
  226. package/dist/TransitionGroupContext-BzyZRJGo.js +0 -37
  227. package/dist/createTheme-D_EHVLXp.js +0 -3662
  228. package/dist/defaultTheme-CGLnLLk_.js +0 -5
  229. package/dist/index-BEH1PkNC.js +0 -572
  230. package/dist/index-DSZxScyY.js +0 -704
  231. package/dist/index-DlZLKtdr.js +0 -72
  232. package/dist/pep-BsWvrgyM.js +0 -2600
  233. package/dist/resolveComponentProps-CPnCrKvI.js +0 -80
  234. package/dist/styled-CyBKg0N-.js +0 -5
  235. package/dist/tokenRow-QlGBYRKR.js +0 -206
  236. package/dist/useControlled-BYdyS7Pn.js +0 -31
  237. package/dist/useSlot-BdP6R4tz.js +0 -50
  238. package/dist/useTheme-BFI_g9FY.js +0 -9
  239. package/dist/useThemeProps-BOrAzOS4.js +0 -40
  240. package/dist/useThemeWithoutDefault-BWt80cCE.js +0 -12
  241. package/dist/useTimeout-_ag1gI7y.js +0 -56
  242. package/dist/utils-B-vKE_Dv.js +0 -50
  243. package/dist/utils-asicApOI.js +0 -21
  244. package/dist/wallet-z7NHqtCj.js +0 -35
@@ -1,374 +0,0 @@
1
- import { P as e, b as F, g as H } from "./createTheme-D_EHVLXp.js";
2
- import * as G from "react";
3
- import { c as I, a as J, s as Q } from "./DefaultPropsProvider-5cxFAZuq.js";
4
- import { jsx as X } from "react/jsx-runtime";
5
- import { s as Y } from "./styled-CyBKg0N-.js";
6
- import { u as Z } from "./useTheme-BFI_g9FY.js";
7
- import { e as V } from "./extendSxProp-a8ZTL0ZI.js";
8
- import { i as ee } from "./isMuiElement-DnSE4qG4.js";
9
- import { u as ne, a as re } from "./useThemeProps-BOrAzOS4.js";
10
- const oe = (n, r) => n.filter((s) => r.includes(s)), T = (n, r, s) => {
11
- const t = n.keys[0];
12
- Array.isArray(r) ? r.forEach((c, o) => {
13
- s((i, m) => {
14
- o <= n.keys.length - 1 && (o === 0 ? Object.assign(i, m) : i[n.up(n.keys[o])] = m);
15
- }, c);
16
- }) : r && typeof r == "object" ? (Object.keys(r).length > n.keys.length ? n.keys : oe(n.keys, Object.keys(r))).forEach((o) => {
17
- if (n.keys.includes(o)) {
18
- const i = r[o];
19
- i !== void 0 && s((m, a) => {
20
- t === o ? Object.assign(m, a) : m[n.up(o)] = a;
21
- }, i);
22
- }
23
- }) : (typeof r == "number" || typeof r == "string") && s((c, o) => {
24
- Object.assign(c, o);
25
- }, r);
26
- };
27
- function g(n) {
28
- return n ? `Level${n}` : "";
29
- }
30
- function h(n) {
31
- return n.unstable_level > 0 && n.container;
32
- }
33
- function se(n) {
34
- return function(s) {
35
- return `var(--Grid-${s}Spacing${g(n.unstable_level)})`;
36
- };
37
- }
38
- function $(n) {
39
- return function(s) {
40
- return n.unstable_level === 0 ? `var(--Grid-${s}Spacing)` : `var(--Grid-${s}Spacing${g(n.unstable_level - 1)})`;
41
- };
42
- }
43
- function O(n) {
44
- return n.unstable_level === 0 ? "var(--Grid-columns)" : `var(--Grid-columns${g(n.unstable_level - 1)})`;
45
- }
46
- const te = ({
47
- theme: n,
48
- ownerState: r
49
- }) => {
50
- const s = $(r), t = {};
51
- return T(n.breakpoints, r.size, (c, o) => {
52
- let i = {};
53
- o === "grow" && (i = {
54
- flexBasis: 0,
55
- flexGrow: 1,
56
- maxWidth: "100%"
57
- }), o === "auto" && (i = {
58
- flexBasis: "auto",
59
- flexGrow: 0,
60
- flexShrink: 0,
61
- maxWidth: "none",
62
- width: "auto"
63
- }), typeof o == "number" && (i = {
64
- flexGrow: 0,
65
- flexBasis: "auto",
66
- width: `calc(100% * ${o} / ${O(r)} - (${O(r)} - ${o}) * (${s("column")} / ${O(r)}))`
67
- }), c(t, i);
68
- }), t;
69
- }, ie = ({
70
- theme: n,
71
- ownerState: r
72
- }) => {
73
- const s = $(r), t = {};
74
- return T(n.breakpoints, r.offset, (c, o) => {
75
- let i = {};
76
- o === "auto" && (i = {
77
- marginLeft: "auto"
78
- }), typeof o == "number" && (i = {
79
- marginLeft: o === 0 ? "0px" : `calc(100% * ${o} / ${O(r)} + ${s("column")} * ${o} / ${O(r)})`
80
- }), c(t, i);
81
- }), t;
82
- }, ce = ({
83
- theme: n,
84
- ownerState: r
85
- }) => {
86
- if (!r.container)
87
- return {};
88
- const s = h(r) ? {
89
- [`--Grid-columns${g(r.unstable_level)}`]: O(r)
90
- } : {
91
- "--Grid-columns": 12
92
- };
93
- return T(n.breakpoints, r.columns, (t, c) => {
94
- t(s, {
95
- [`--Grid-columns${g(r.unstable_level)}`]: c
96
- });
97
- }), s;
98
- }, ae = ({
99
- theme: n,
100
- ownerState: r
101
- }) => {
102
- if (!r.container)
103
- return {};
104
- const s = $(r), t = h(r) ? {
105
- // Set the default spacing as its parent spacing.
106
- // It will be overridden if spacing props are provided
107
- [`--Grid-rowSpacing${g(r.unstable_level)}`]: s("row")
108
- } : {};
109
- return T(n.breakpoints, r.rowSpacing, (c, o) => {
110
- var i;
111
- c(t, {
112
- [`--Grid-rowSpacing${g(r.unstable_level)}`]: typeof o == "string" ? o : (i = n.spacing) == null ? void 0 : i.call(n, o)
113
- });
114
- }), t;
115
- }, fe = ({
116
- theme: n,
117
- ownerState: r
118
- }) => {
119
- if (!r.container)
120
- return {};
121
- const s = $(r), t = h(r) ? {
122
- // Set the default spacing as its parent spacing.
123
- // It will be overridden if spacing props are provided
124
- [`--Grid-columnSpacing${g(r.unstable_level)}`]: s("column")
125
- } : {};
126
- return T(n.breakpoints, r.columnSpacing, (c, o) => {
127
- var i;
128
- c(t, {
129
- [`--Grid-columnSpacing${g(r.unstable_level)}`]: typeof o == "string" ? o : (i = n.spacing) == null ? void 0 : i.call(n, o)
130
- });
131
- }), t;
132
- }, ue = ({
133
- theme: n,
134
- ownerState: r
135
- }) => {
136
- if (!r.container)
137
- return {};
138
- const s = {};
139
- return T(n.breakpoints, r.direction, (t, c) => {
140
- t(s, {
141
- flexDirection: c
142
- });
143
- }), s;
144
- }, le = ({
145
- ownerState: n
146
- }) => {
147
- const r = se(n);
148
- return {
149
- minWidth: 0,
150
- boxSizing: "border-box",
151
- ...n.container && {
152
- display: "flex",
153
- flexWrap: "wrap",
154
- ...n.wrap && n.wrap !== "wrap" && {
155
- flexWrap: n.wrap
156
- },
157
- gap: `${r("row")} ${r("column")}`
158
- }
159
- };
160
- }, pe = (n) => {
161
- const r = [];
162
- return Object.entries(n).forEach(([s, t]) => {
163
- t !== !1 && t !== void 0 && r.push(`grid-${s}-${String(t)}`);
164
- }), r;
165
- }, me = (n, r = "xs") => {
166
- function s(t) {
167
- return t === void 0 ? !1 : typeof t == "string" && !Number.isNaN(Number(t)) || typeof t == "number" && t > 0;
168
- }
169
- if (s(n))
170
- return [`spacing-${r}-${String(n)}`];
171
- if (typeof n == "object" && !Array.isArray(n)) {
172
- const t = [];
173
- return Object.entries(n).forEach(([c, o]) => {
174
- s(o) && t.push(`spacing-${c}-${String(o)}`);
175
- }), t;
176
- }
177
- return [];
178
- }, ge = (n) => n === void 0 ? [] : typeof n == "object" ? Object.entries(n).map(([r, s]) => `direction-${r}-${s}`) : [`direction-xs-${String(n)}`], ye = F(), be = Y("div", {
179
- name: "MuiGrid",
180
- slot: "Root",
181
- overridesResolver: (n, r) => r.root
182
- });
183
- function de(n) {
184
- return ne({
185
- props: n,
186
- name: "MuiGrid",
187
- defaultTheme: ye
188
- });
189
- }
190
- function Oe(n = {}) {
191
- const {
192
- // This will allow adding custom styled fn (for example for custom sx style function)
193
- createStyledComponent: r = be,
194
- useThemeProps: s = de,
195
- componentName: t = "MuiGrid"
196
- } = n, c = (a, f) => {
197
- const {
198
- container: y,
199
- direction: l,
200
- spacing: p,
201
- wrap: u,
202
- size: j
203
- } = a, S = {
204
- root: ["root", y && "container", u !== "wrap" && `wrap-xs-${String(u)}`, ...ge(l), ...pe(j), ...y ? me(p, f.breakpoints.keys[0]) : []]
205
- };
206
- return J(S, (x) => H(t, x), {});
207
- };
208
- function o(a, f, y = () => !0) {
209
- const l = {};
210
- return a === null || (Array.isArray(a) ? a.forEach((p, u) => {
211
- p !== null && y(p) && f.keys[u] && (l[f.keys[u]] = p);
212
- }) : typeof a == "object" ? Object.keys(a).forEach((p) => {
213
- const u = a[p];
214
- u != null && y(u) && (l[p] = u);
215
- }) : l[f.keys[0]] = a), l;
216
- }
217
- const i = r(ce, fe, ae, te, ue, le, ie), m = /* @__PURE__ */ G.forwardRef(function(f, y) {
218
- const l = Z(), p = s(f), u = V(p), {
219
- className: j,
220
- children: S,
221
- columns: x = 12,
222
- container: _ = !1,
223
- component: k = "div",
224
- direction: v = "row",
225
- wrap: C = "wrap",
226
- size: E = {},
227
- offset: z = {},
228
- spacing: N = 0,
229
- rowSpacing: R = N,
230
- columnSpacing: M = N,
231
- unstable_level: d = 0,
232
- ...A
233
- } = u, B = o(E, l.breakpoints, (b) => b !== !1), D = o(z, l.breakpoints), W = f.columns ?? (d ? void 0 : x), L = f.spacing ?? (d ? void 0 : N), K = f.rowSpacing ?? f.spacing ?? (d ? void 0 : R), U = f.columnSpacing ?? f.spacing ?? (d ? void 0 : M), w = {
234
- ...u,
235
- level: d,
236
- columns: W,
237
- container: _,
238
- direction: v,
239
- wrap: C,
240
- spacing: L,
241
- rowSpacing: K,
242
- columnSpacing: U,
243
- size: B,
244
- offset: D
245
- }, q = c(w, l);
246
- return /* @__PURE__ */ X(i, {
247
- ref: y,
248
- as: k,
249
- ownerState: w,
250
- className: I(q.root, j),
251
- ...A,
252
- children: G.Children.map(S, (b) => {
253
- var P;
254
- return /* @__PURE__ */ G.isValidElement(b) && ee(b, ["Grid"]) ? /* @__PURE__ */ G.cloneElement(b, {
255
- unstable_level: ((P = b.props) == null ? void 0 : P.unstable_level) ?? d + 1
256
- }) : b;
257
- })
258
- });
259
- });
260
- return process.env.NODE_ENV !== "production" && (m.propTypes = {
261
- children: e.node,
262
- className: e.string,
263
- columns: e.oneOfType([e.arrayOf(e.number), e.number, e.object]),
264
- columnSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
265
- component: e.elementType,
266
- container: e.bool,
267
- direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
268
- offset: e.oneOfType([e.string, e.number, e.arrayOf(e.oneOfType([e.string, e.number])), e.object]),
269
- rowSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
270
- size: e.oneOfType([e.string, e.bool, e.number, e.arrayOf(e.oneOfType([e.string, e.bool, e.number])), e.object]),
271
- spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
272
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
273
- wrap: e.oneOf(["nowrap", "wrap-reverse", "wrap"])
274
- }), m.muiName = "Grid", m;
275
- }
276
- const Te = Oe({
277
- createStyledComponent: Q("div", {
278
- name: "MuiGrid2",
279
- slot: "Root",
280
- overridesResolver: (n, r) => r.root
281
- }),
282
- componentName: "MuiGrid2",
283
- useThemeProps: (n) => re({
284
- props: n,
285
- name: "MuiGrid2"
286
- })
287
- });
288
- process.env.NODE_ENV !== "production" && (Te.propTypes = {
289
- // ┌────────────────────────────── Warning ──────────────────────────────┐
290
- // │ These PropTypes are generated from the TypeScript type definitions. │
291
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
292
- // └─────────────────────────────────────────────────────────────────────┘
293
- /**
294
- * The content of the component.
295
- */
296
- children: e.node,
297
- /**
298
- * The number of columns.
299
- * @default 12
300
- */
301
- columns: e.oneOfType([e.arrayOf(e.number), e.number, e.object]),
302
- /**
303
- * Defines the horizontal space between the type `item` components.
304
- * It overrides the value of the `spacing` prop.
305
- */
306
- columnSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
307
- /**
308
- * If `true`, the component will have the flex *container* behavior.
309
- * You should be wrapping *items* with a *container*.
310
- * @default false
311
- */
312
- container: e.bool,
313
- /**
314
- * Defines the `flex-direction` style property.
315
- * It is applied for all screen sizes.
316
- * @default 'row'
317
- */
318
- direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
319
- /**
320
- * Defines the offset value for the type `item` components.
321
- */
322
- offset: e.oneOfType([e.string, e.number, e.arrayOf(e.oneOfType([e.string, e.number])), e.object]),
323
- /**
324
- * Defines the vertical space between the type `item` components.
325
- * It overrides the value of the `spacing` prop.
326
- */
327
- rowSpacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
328
- /**
329
- * Defines the size of the the type `item` components.
330
- */
331
- size: e.oneOfType([e.string, e.bool, e.number, e.arrayOf(e.oneOfType([e.string, e.bool, e.number])), e.object]),
332
- /**
333
- * Defines the space between the type `item` components.
334
- * It can only be used on a type `container` component.
335
- * @default 0
336
- */
337
- spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
338
- /**
339
- * @ignore
340
- */
341
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
342
- /**
343
- * @internal
344
- * The level of the grid starts from `0`
345
- * and increases when the grid nests inside another grid regardless of container or item.
346
- *
347
- * ```js
348
- * <Grid> // level 0
349
- * <Grid> // level 1
350
- * <Grid> // level 2
351
- * <Grid> // level 1
352
- * ```
353
- *
354
- * Only consecutive grid is considered nesting.
355
- * A grid container will start at `0` if there are non-Grid element above it.
356
- *
357
- * ```js
358
- * <Grid> // level 0
359
- * <div>
360
- * <Grid> // level 0
361
- * <Grid> // level 1
362
- * ```
363
- */
364
- unstable_level: e.number,
365
- /**
366
- * Defines the `flex-wrap` style property.
367
- * It's applied for all screen sizes.
368
- * @default 'wrap'
369
- */
370
- wrap: e.oneOf(["nowrap", "wrap-reverse", "wrap"])
371
- });
372
- export {
373
- Te as G
374
- };
@@ -1,216 +0,0 @@
1
- import { r as V, m as W, a as B } from "./resolveComponentProps-CPnCrKvI.js";
2
- import { u as O } from "./TransitionGroupContext-BzyZRJGo.js";
3
- import * as y from "react";
4
- import { P as t } from "./createTheme-D_EHVLXp.js";
5
- import { u as J } from "./useTheme-BzIjfC6u.js";
6
- import { jsx as M } from "react/jsx-runtime";
7
- import { g as Q, e as U, r as X, a as L } from "./utils-B-vKE_Dv.js";
8
- import { a as Y } from "./useTimeout-_ag1gI7y.js";
9
- import { T as Z } from "./Transition-CYSgg85A.js";
10
- function ct(a) {
11
- var l;
12
- const {
13
- elementType: x,
14
- externalSlotProps: T,
15
- ownerState: f,
16
- skipResolvingSlotProps: R = !1,
17
- ...p
18
- } = a, i = R ? {} : V(T, f), {
19
- props: m,
20
- internalRef: g
21
- } = W({
22
- ...p,
23
- externalSlotProps: i
24
- }), P = O(g, i == null ? void 0 : i.ref, (l = a.additionalProps) == null ? void 0 : l.ref);
25
- return B(x, {
26
- ...m,
27
- ref: P
28
- }, f);
29
- }
30
- function A(a) {
31
- return `scale(${a}, ${a ** 2})`;
32
- }
33
- const I = {
34
- entering: {
35
- opacity: 1,
36
- transform: A(1)
37
- },
38
- entered: {
39
- opacity: 1,
40
- transform: "none"
41
- }
42
- }, v = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), w = /* @__PURE__ */ y.forwardRef(function(x, T) {
43
- const {
44
- addEndListener: f,
45
- appear: R = !0,
46
- children: p,
47
- easing: i,
48
- in: m,
49
- onEnter: g,
50
- onEntered: P,
51
- onEntering: D,
52
- onExit: l,
53
- onExited: j,
54
- onExiting: H,
55
- style: S,
56
- timeout: s = "auto",
57
- // eslint-disable-next-line react/prop-types
58
- TransitionComponent: F = Z,
59
- ...G
60
- } = x, N = Y(), b = y.useRef(), u = J(), E = y.useRef(null), C = O(E, Q(p), T), c = (n) => (o) => {
61
- if (n) {
62
- const r = E.current;
63
- o === void 0 ? n(r) : n(r, o);
64
- }
65
- }, _ = c(D), $ = c((n, o) => {
66
- X(n);
67
- const {
68
- duration: r,
69
- delay: h,
70
- easing: e
71
- } = L({
72
- style: S,
73
- timeout: s,
74
- easing: i
75
- }, {
76
- mode: "enter"
77
- });
78
- let d;
79
- s === "auto" ? (d = u.transitions.getAutoHeightDuration(n.clientHeight), b.current = d) : d = r, n.style.transition = [u.transitions.create("opacity", {
80
- duration: d,
81
- delay: h
82
- }), u.transitions.create("transform", {
83
- duration: v ? d : d * 0.666,
84
- delay: h,
85
- easing: e
86
- })].join(","), g && g(n, o);
87
- }), k = c(P), q = c(H), z = c((n) => {
88
- const {
89
- duration: o,
90
- delay: r,
91
- easing: h
92
- } = L({
93
- style: S,
94
- timeout: s,
95
- easing: i
96
- }, {
97
- mode: "exit"
98
- });
99
- let e;
100
- s === "auto" ? (e = u.transitions.getAutoHeightDuration(n.clientHeight), b.current = e) : e = o, n.style.transition = [u.transitions.create("opacity", {
101
- duration: e,
102
- delay: r
103
- }), u.transitions.create("transform", {
104
- duration: v ? e : e * 0.666,
105
- delay: v ? r : r || e * 0.333,
106
- easing: h
107
- })].join(","), n.style.opacity = 0, n.style.transform = A(0.75), l && l(n);
108
- }), K = c(j);
109
- return /* @__PURE__ */ M(F, {
110
- appear: R,
111
- in: m,
112
- nodeRef: E,
113
- onEnter: $,
114
- onEntered: k,
115
- onEntering: _,
116
- onExit: z,
117
- onExited: K,
118
- onExiting: q,
119
- addEndListener: (n) => {
120
- s === "auto" && N.start(b.current || 0, n), f && f(E.current, n);
121
- },
122
- timeout: s === "auto" ? null : s,
123
- ...G,
124
- children: (n, o) => /* @__PURE__ */ y.cloneElement(p, {
125
- style: {
126
- opacity: 0,
127
- transform: A(0.75),
128
- visibility: n === "exited" && !m ? "hidden" : void 0,
129
- ...I[n],
130
- ...S,
131
- ...p.props.style
132
- },
133
- ref: C,
134
- ...o
135
- })
136
- });
137
- });
138
- process.env.NODE_ENV !== "production" && (w.propTypes = {
139
- // ┌────────────────────────────── Warning ──────────────────────────────┐
140
- // │ These PropTypes are generated from the TypeScript type definitions. │
141
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
142
- // └─────────────────────────────────────────────────────────────────────┘
143
- /**
144
- * Add a custom transition end trigger. Called with the transitioning DOM
145
- * node and a done callback. Allows for more fine grained transition end
146
- * logic. Note: Timeouts are still used as a fallback if provided.
147
- */
148
- addEndListener: t.func,
149
- /**
150
- * Perform the enter transition when it first mounts if `in` is also `true`.
151
- * Set this to `false` to disable this behavior.
152
- * @default true
153
- */
154
- appear: t.bool,
155
- /**
156
- * A single child content element.
157
- */
158
- children: U.isRequired,
159
- /**
160
- * The transition timing function.
161
- * You may specify a single easing or a object containing enter and exit values.
162
- */
163
- easing: t.oneOfType([t.shape({
164
- enter: t.string,
165
- exit: t.string
166
- }), t.string]),
167
- /**
168
- * If `true`, the component will transition in.
169
- */
170
- in: t.bool,
171
- /**
172
- * @ignore
173
- */
174
- onEnter: t.func,
175
- /**
176
- * @ignore
177
- */
178
- onEntered: t.func,
179
- /**
180
- * @ignore
181
- */
182
- onEntering: t.func,
183
- /**
184
- * @ignore
185
- */
186
- onExit: t.func,
187
- /**
188
- * @ignore
189
- */
190
- onExited: t.func,
191
- /**
192
- * @ignore
193
- */
194
- onExiting: t.func,
195
- /**
196
- * @ignore
197
- */
198
- style: t.object,
199
- /**
200
- * The duration for the transition, in milliseconds.
201
- * You may specify a single timeout for all transitions, or individually with an object.
202
- *
203
- * Set to 'auto' to automatically calculate transition time based on height.
204
- * @default 'auto'
205
- */
206
- timeout: t.oneOfType([t.oneOf(["auto"]), t.number, t.shape({
207
- appear: t.number,
208
- enter: t.number,
209
- exit: t.number
210
- })])
211
- });
212
- w && (w.muiSupportAuto = !0);
213
- export {
214
- w as G,
215
- ct as u
216
- };