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,16 +1,15 @@
1
1
  import * as h from "react";
2
- import { P as t } from "./createTheme-D_EHVLXp.js";
3
- import { u as D } from "./useTheme-BzIjfC6u.js";
2
+ import { P as t } from "./createTheme-DmGCMO09.js";
3
+ import { u as D } from "./useTheme-XTDzJ69d.js";
4
4
  import { jsx as U } from "react/jsx-runtime";
5
- import { g as _, e as q, r as A, a as P } from "./utils-B-vKE_Dv.js";
6
- import { u as F } from "./TransitionGroupContext-BzyZRJGo.js";
7
- import { o as $ } from "./ownerWindow-iFlVse9X.js";
8
- import { c as G } from "./chainPropTypes-D9lkm76m.js";
9
- import { H as J } from "./ownerDocument-C0GI-r2b.js";
10
- import { T as K } from "./Transition-CYSgg85A.js";
5
+ import { g as _, e as q, T as A, r as F, a as P } from "./elementAcceptingRef-BbsmdE_3.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";
11
10
  import { d as Q } from "./debounce-46wSf_lW.js";
12
- function Z(s, r, f) {
13
- const n = r.getBoundingClientRect(), i = f && f.getBoundingClientRect(), E = $(r);
11
+ function Z(o, r, f) {
12
+ const n = r.getBoundingClientRect(), i = f && f.getBoundingClientRect(), E = S(r);
14
13
  let c;
15
14
  if (r.fakeTransform)
16
15
  c = r.fakeTransform;
@@ -23,13 +22,13 @@ function Z(s, r, f) {
23
22
  const a = c.split("(")[1].split(")")[0].split(",");
24
23
  d = parseInt(a[4], 10), u = parseInt(a[5], 10);
25
24
  }
26
- return s === "left" ? i ? `translateX(${i.right + d - n.left}px)` : `translateX(${E.innerWidth + d - n.left}px)` : s === "right" ? i ? `translateX(-${n.right - i.left - d}px)` : `translateX(-${n.left + n.width - d}px)` : s === "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)`;
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)`;
27
26
  }
28
- function O(s) {
29
- return typeof s == "function" ? s() : s;
27
+ function $(o) {
28
+ return typeof o == "function" ? o() : o;
30
29
  }
31
- function y(s, r, f) {
32
- const n = O(f), i = Z(s, r, n);
30
+ function x(o, r, f) {
31
+ const n = $(f), i = Z(o, r, n);
33
32
  i && (r.style.webkitTransform = i, r.style.transform = i);
34
33
  }
35
34
  const ee = /* @__PURE__ */ h.forwardRef(function(r, f) {
@@ -45,84 +44,87 @@ const ee = /* @__PURE__ */ h.forwardRef(function(r, f) {
45
44
  children: u,
46
45
  container: a,
47
46
  direction: p = "down",
48
- easing: b = i,
47
+ easing: w = i,
49
48
  in: m,
50
- onEnter: w,
51
- onEntered: S,
52
- onEntering: R,
53
- onExit: v,
54
- onExited: k,
49
+ onEnter: R,
50
+ onEntered: O,
51
+ onEntering: v,
52
+ onExit: k,
53
+ onExited: C,
55
54
  onExiting: V,
56
- style: x,
57
- timeout: T = E,
55
+ style: T,
56
+ timeout: b = E,
58
57
  // eslint-disable-next-line react/prop-types
59
- TransitionComponent: I = K,
58
+ TransitionComponent: I = A,
60
59
  ...M
61
- } = r, l = h.useRef(null), N = F(_(u), l, f), g = (e) => (o) => {
62
- e && (o === void 0 ? e(l.current) : e(l.current, o));
63
- }, X = g((e, o) => {
64
- y(p, e, a), A(e), w && w(e, o);
65
- }), Y = g((e, o) => {
66
- const L = P({
67
- timeout: T,
68
- style: x,
69
- easing: b
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
70
69
  }, {
71
70
  mode: "enter"
72
71
  });
73
72
  e.style.webkitTransition = n.transitions.create("-webkit-transform", {
74
- ...L
73
+ ...y
75
74
  }), e.style.transition = n.transitions.create("transform", {
76
- ...L
77
- }), e.style.webkitTransform = "none", e.style.transform = "none", R && R(e, o);
78
- }), j = g(S), z = g(V), B = g((e) => {
79
- const o = P({
80
- timeout: T,
81
- style: x,
82
- easing: b
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
83
82
  }, {
84
83
  mode: "exit"
85
84
  });
86
- e.style.webkitTransition = n.transitions.create("-webkit-transform", o), e.style.transition = n.transitions.create("transform", o), y(p, e, a), v && v(e);
87
- }), H = g((e) => {
88
- e.style.webkitTransition = "", e.style.transition = "", k && k(e);
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);
89
88
  }), W = (e) => {
90
89
  c && c(l.current, e);
91
- }, C = h.useCallback(() => {
92
- l.current && y(p, l.current, a);
90
+ }, L = h.useCallback(() => {
91
+ l.current && x(p, l.current, a);
93
92
  }, [p, a]);
94
93
  return h.useEffect(() => {
95
94
  if (m || p === "down" || p === "right")
96
95
  return;
97
96
  const e = Q(() => {
98
- l.current && y(p, l.current, a);
99
- }), o = $(l.current);
100
- return o.addEventListener("resize", e), () => {
101
- e.clear(), o.removeEventListener("resize", e);
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);
102
101
  };
103
102
  }, [p, m, a]), h.useEffect(() => {
104
- m || C();
105
- }, [m, C]), /* @__PURE__ */ U(I, {
103
+ m || L();
104
+ }, [m, L]), /* @__PURE__ */ U(I, {
106
105
  nodeRef: l,
107
- onEnter: X,
108
- onEntered: j,
109
- onEntering: Y,
110
- onExit: B,
111
- onExited: H,
112
- onExiting: z,
106
+ onEnter: Y,
107
+ onEntered: z,
108
+ onEntering: j,
109
+ onExit: H,
110
+ onExited: N,
111
+ onExiting: B,
113
112
  addEndListener: W,
114
113
  appear: d,
115
114
  in: m,
116
- timeout: T,
115
+ timeout: b,
117
116
  ...M,
118
- children: (e, o) => /* @__PURE__ */ h.cloneElement(u, {
119
- ref: N,
117
+ children: (e, {
118
+ ownerState: s,
119
+ ...y
120
+ }) => /* @__PURE__ */ h.cloneElement(u, {
121
+ ref: X,
120
122
  style: {
121
123
  visibility: e === "exited" && !m ? "hidden" : void 0,
122
- ...x,
124
+ ...T,
123
125
  ...u.props.style
124
126
  },
125
- ...o
127
+ ...y
126
128
  })
127
129
  });
128
130
  });
@@ -151,9 +153,9 @@ process.env.NODE_ENV !== "production" && (ee.propTypes = {
151
153
  * An HTML element, or a function that returns one.
152
154
  * It's used to set the container the Slide is transitioning from.
153
155
  */
154
- container: G(t.oneOfType([J, t.func]), (s) => {
155
- if (s.open) {
156
- const r = O(s.container);
156
+ container: J(t.oneOfType([K, t.func]), (o) => {
157
+ if (o.open) {
158
+ const r = $(o.container);
157
159
  if (r && r.nodeType === 1) {
158
160
  const f = r.getBoundingClientRect();
159
161
  if (process.env.NODE_ENV !== "test" && f.top === 0 && f.left === 0 && f.right === 0 && f.bottom === 0)
@@ -1,26 +1,25 @@
1
- import { P as e, b as C, h as g, r as m, j as S, k as R, m as D, l as b, g as N } from "./createTheme-D_EHVLXp.js";
2
- import { c as E, a as F, s as B } from "./DefaultPropsProvider-5cxFAZuq.js";
3
- import { u as M, a as w } from "./useThemeProps-BOrAzOS4.js";
4
- import * as f from "react";
5
- import { jsx as G } from "react/jsx-runtime";
6
- import { s as $ } from "./styled-CyBKg0N-.js";
7
- import { e as U } from "./extendSxProp-a8ZTL0ZI.js";
8
- const A = C(), _ = $("div", {
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-DmGCMO09.js";
2
+ import { c as F, s as R, u as B } from "./DefaultPropsProvider-B2njZVNv.js";
3
+ import * as m from "react";
4
+ import { c as M } from "./DefaultPropsProvider-CZh8M2jM.js";
5
+ import { jsx as w } from "react/jsx-runtime";
6
+ import { s as G, u as U } from "./useThemeProps-lRuJRcRX.js";
7
+ import { e as $ } from "./extendSxProp-Bwha5fon.js";
8
+ const A = C(), _ = G("div", {
9
9
  name: "MuiStack",
10
- slot: "Root",
11
- overridesResolver: (o, r) => r.root
10
+ slot: "Root"
12
11
  });
13
12
  function I(o) {
14
- return M({
13
+ return U({
15
14
  props: o,
16
15
  name: "MuiStack",
17
16
  defaultTheme: A
18
17
  });
19
18
  }
20
- function L(o, r) {
21
- const c = f.Children.toArray(o).filter(Boolean);
22
- return c.reduce((a, i, n) => (a.push(i), n < c.length - 1 && a.push(/* @__PURE__ */ f.cloneElement(r, {
23
- key: `separator-${n}`
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}`
24
23
  })), a), []);
25
24
  }
26
25
  const q = (o) => ({
@@ -30,37 +29,37 @@ const q = (o) => ({
30
29
  "column-reverse": "Bottom"
31
30
  })[o], z = ({
32
31
  ownerState: o,
33
- theme: r
32
+ theme: t
34
33
  }) => {
35
34
  let c = {
36
35
  display: "flex",
37
36
  flexDirection: "column",
38
37
  ...g({
39
- theme: r
40
- }, m({
38
+ theme: t
39
+ }, f({
41
40
  values: o.direction,
42
- breakpoints: r.breakpoints.values
41
+ breakpoints: t.breakpoints.values
43
42
  }), (a) => ({
44
43
  flexDirection: a
45
44
  }))
46
45
  };
47
46
  if (o.spacing) {
48
- const a = S(r), i = Object.keys(r.breakpoints.values).reduce((s, t) => ((typeof o.spacing == "object" && o.spacing[t] != null || typeof o.direction == "object" && o.direction[t] != null) && (s[t] = !0), s), {}), n = m({
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({
49
48
  values: o.direction,
50
49
  base: i
51
- }), l = m({
50
+ }), l = f({
52
51
  values: o.spacing,
53
52
  base: i
54
53
  });
55
- typeof n == "object" && Object.keys(n).forEach((s, t, p) => {
56
- if (!n[s]) {
57
- const u = t > 0 ? n[p[t - 1]] : "column";
58
- n[s] = u;
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;
59
58
  }
60
- }), c = R(c, g({
61
- theme: r
62
- }, l, (s, t) => o.useFlexGap ? {
63
- gap: b(a, s)
59
+ }), c = D(c, g({
60
+ theme: t
61
+ }, l, (r, n) => o.useFlexGap ? {
62
+ gap: b(a, r)
64
63
  } : {
65
64
  // The useFlexGap={false} implement relies on each child to give up control of the margin.
66
65
  // We need to reset the margin to avoid double spacing.
@@ -68,23 +67,23 @@ const q = (o) => ({
68
67
  margin: 0
69
68
  },
70
69
  "& > :not(style) ~ :not(style)": {
71
- [`margin${q(t ? n[t] : o.direction)}`]: b(a, s)
70
+ [`margin${q(n ? s[n] : o.direction)}`]: b(a, r)
72
71
  }
73
72
  }));
74
73
  }
75
- return c = D(r.breakpoints, c), c;
74
+ return c = N(t.breakpoints, c), c;
76
75
  };
77
76
  function H(o = {}) {
78
77
  const {
79
78
  // This will allow adding custom styled fn (for example for custom sx style function)
80
- createStyledComponent: r = _,
79
+ createStyledComponent: t = _,
81
80
  useThemeProps: c = I,
82
81
  componentName: a = "MuiStack"
83
82
  } = o, i = () => F({
84
83
  root: ["root"]
85
- }, (s) => N(a, s), {}), n = r(z), l = /* @__PURE__ */ f.forwardRef(function(s, t) {
86
- const p = c(s), y = U(p), {
87
- component: u = "div",
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",
88
87
  direction: T = "column",
89
88
  spacing: h = 0,
90
89
  divider: v,
@@ -97,11 +96,11 @@ function H(o = {}) {
97
96
  spacing: h,
98
97
  useFlexGap: k
99
98
  }, V = i();
100
- return /* @__PURE__ */ G(n, {
101
- as: u,
99
+ return /* @__PURE__ */ w(s, {
100
+ as: p,
102
101
  ownerState: P,
103
- ref: t,
104
- className: E(V.root, j),
102
+ ref: n,
103
+ className: M(V.root, j),
105
104
  ...x,
106
105
  children: v ? L(O, v) : O
107
106
  });
@@ -115,12 +114,11 @@ function H(o = {}) {
115
114
  }), l;
116
115
  }
117
116
  const J = H({
118
- createStyledComponent: B("div", {
117
+ createStyledComponent: R("div", {
119
118
  name: "MuiStack",
120
- slot: "Root",
121
- overridesResolver: (o, r) => r.root
119
+ slot: "Root"
122
120
  }),
123
- useThemeProps: (o) => w({
121
+ useThemeProps: (o) => B({
124
122
  props: o,
125
123
  name: "MuiStack"
126
124
  })
@@ -0,0 +1,317 @@
1
+ import * as J from "react";
2
+ import { g as K, P as e, b as Q } from "./createTheme-DmGCMO09.js";
3
+ import { g as W, s as k, r as X, c as Y } from "./DefaultPropsProvider-B2njZVNv.js";
4
+ import { u as Z } from "./useFormControl-CatNKXAi.js";
5
+ import { u as F } from "./useSlot-DtSnboW7.js";
6
+ import { jsxs as ee, jsx as oe } from "react/jsx-runtime";
7
+ import { B as te } from "./ButtonBase-DugIO1pR.js";
8
+ import { u as se } from "./useControlled-nm4pBabJ.js";
9
+ import { r as ne } from "./refType-CaiGhRso.js";
10
+ function ie(s) {
11
+ return K("PrivateSwitchBase", s);
12
+ }
13
+ W("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
14
+ const re = (s) => {
15
+ const {
16
+ classes: n,
17
+ checked: d,
18
+ disabled: p,
19
+ edge: a
20
+ } = s, u = {
21
+ root: ["root", d && "checked", p && "disabled", a && `edge${Q(a)}`],
22
+ input: ["input"]
23
+ };
24
+ return Y(u, ie, n);
25
+ }, ae = k(te, {
26
+ name: "MuiSwitchBase"
27
+ })({
28
+ padding: 9,
29
+ borderRadius: "50%",
30
+ variants: [{
31
+ props: {
32
+ edge: "start",
33
+ size: "small"
34
+ },
35
+ style: {
36
+ marginLeft: -3
37
+ }
38
+ }, {
39
+ props: ({
40
+ edge: s,
41
+ ownerState: n
42
+ }) => s === "start" && n.size !== "small",
43
+ style: {
44
+ marginLeft: -12
45
+ }
46
+ }, {
47
+ props: {
48
+ edge: "end",
49
+ size: "small"
50
+ },
51
+ style: {
52
+ marginRight: -3
53
+ }
54
+ }, {
55
+ props: ({
56
+ edge: s,
57
+ ownerState: n
58
+ }) => s === "end" && n.size !== "small",
59
+ style: {
60
+ marginRight: -12
61
+ }
62
+ }]
63
+ }), ce = k("input", {
64
+ name: "MuiSwitchBase",
65
+ shouldForwardProp: X
66
+ })({
67
+ cursor: "inherit",
68
+ position: "absolute",
69
+ opacity: 0,
70
+ width: "100%",
71
+ height: "100%",
72
+ top: 0,
73
+ left: 0,
74
+ margin: 0,
75
+ padding: 0,
76
+ zIndex: 1
77
+ }), le = /* @__PURE__ */ J.forwardRef(function(n, d) {
78
+ const {
79
+ autoFocus: p,
80
+ checked: a,
81
+ checkedIcon: u,
82
+ defaultChecked: m,
83
+ disabled: C,
84
+ disableFocusRipple: g = !1,
85
+ edge: R = !1,
86
+ icon: x,
87
+ id: T,
88
+ inputProps: I,
89
+ inputRef: j,
90
+ name: O,
91
+ onBlur: h,
92
+ onChange: b,
93
+ onFocus: y,
94
+ readOnly: z,
95
+ required: q = !1,
96
+ tabIndex: N,
97
+ type: l,
98
+ value: P,
99
+ slots: E = {},
100
+ slotProps: U = {},
101
+ ...v
102
+ } = n, [S, L] = se({
103
+ controlled: a,
104
+ default: !!m,
105
+ name: "SwitchBase",
106
+ state: "checked"
107
+ }), i = Z(), M = (o) => {
108
+ y && y(o), i && i.onFocus && i.onFocus(o);
109
+ }, D = (o) => {
110
+ h && h(o), i && i.onBlur && i.onBlur(o);
111
+ }, V = (o) => {
112
+ if (o.nativeEvent.defaultPrevented)
113
+ return;
114
+ const t = o.target.checked;
115
+ L(t), b && b(o, t);
116
+ };
117
+ let c = C;
118
+ i && typeof c > "u" && (c = i.disabled);
119
+ const _ = l === "checkbox" || l === "radio", f = {
120
+ ...n,
121
+ checked: S,
122
+ disabled: c,
123
+ disableFocusRipple: g,
124
+ edge: R
125
+ }, B = re(f), w = {
126
+ slots: E,
127
+ slotProps: {
128
+ input: I,
129
+ ...U
130
+ }
131
+ }, [$, A] = F("root", {
132
+ ref: d,
133
+ elementType: ae,
134
+ className: B.root,
135
+ shouldForwardComponentProp: !0,
136
+ externalForwardedProps: {
137
+ ...w,
138
+ component: "span",
139
+ ...v
140
+ },
141
+ getSlotProps: (o) => ({
142
+ ...o,
143
+ onFocus: (t) => {
144
+ var r;
145
+ (r = o.onFocus) == null || r.call(o, t), M(t);
146
+ },
147
+ onBlur: (t) => {
148
+ var r;
149
+ (r = o.onBlur) == null || r.call(o, t), D(t);
150
+ }
151
+ }),
152
+ ownerState: f,
153
+ additionalProps: {
154
+ centerRipple: !0,
155
+ focusRipple: !g,
156
+ disabled: c,
157
+ role: void 0,
158
+ tabIndex: null
159
+ }
160
+ }), [G, H] = F("input", {
161
+ ref: j,
162
+ elementType: ce,
163
+ className: B.input,
164
+ externalForwardedProps: w,
165
+ getSlotProps: (o) => ({
166
+ ...o,
167
+ onChange: (t) => {
168
+ var r;
169
+ (r = o.onChange) == null || r.call(o, t), V(t);
170
+ }
171
+ }),
172
+ ownerState: f,
173
+ additionalProps: {
174
+ autoFocus: p,
175
+ checked: a,
176
+ defaultChecked: m,
177
+ disabled: c,
178
+ id: _ ? T : void 0,
179
+ name: O,
180
+ readOnly: z,
181
+ required: q,
182
+ tabIndex: N,
183
+ type: l,
184
+ ...l === "checkbox" && P === void 0 ? {} : {
185
+ value: P
186
+ }
187
+ }
188
+ });
189
+ return /* @__PURE__ */ ee($, {
190
+ ...A,
191
+ children: [/* @__PURE__ */ oe(G, {
192
+ ...H
193
+ }), S ? u : x]
194
+ });
195
+ });
196
+ process.env.NODE_ENV !== "production" && (le.propTypes = {
197
+ /**
198
+ * If `true`, the `input` element is focused during the first mount.
199
+ */
200
+ autoFocus: e.bool,
201
+ /**
202
+ * If `true`, the component is checked.
203
+ */
204
+ checked: e.bool,
205
+ /**
206
+ * The icon to display when the component is checked.
207
+ */
208
+ checkedIcon: e.node.isRequired,
209
+ /**
210
+ * Override or extend the styles applied to the component.
211
+ */
212
+ classes: e.object,
213
+ /**
214
+ * @ignore
215
+ */
216
+ className: e.string,
217
+ /**
218
+ * @ignore
219
+ */
220
+ defaultChecked: e.bool,
221
+ /**
222
+ * If `true`, the component is disabled.
223
+ */
224
+ disabled: e.bool,
225
+ /**
226
+ * If `true`, the keyboard focus ripple is disabled.
227
+ * @default false
228
+ */
229
+ disableFocusRipple: e.bool,
230
+ /**
231
+ * If given, uses a negative margin to counteract the padding on one
232
+ * side (this is often helpful for aligning the left or right
233
+ * side of the icon with content above or below, without ruining the border
234
+ * size and shape).
235
+ * @default false
236
+ */
237
+ edge: e.oneOf(["end", "start", !1]),
238
+ /**
239
+ * The icon to display when the component is unchecked.
240
+ */
241
+ icon: e.node.isRequired,
242
+ /**
243
+ * The id of the `input` element.
244
+ */
245
+ id: e.string,
246
+ /**
247
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
248
+ */
249
+ inputProps: e.object,
250
+ /**
251
+ * Pass a ref to the `input` element.
252
+ */
253
+ inputRef: ne,
254
+ /*
255
+ * @ignore
256
+ */
257
+ name: e.string,
258
+ /**
259
+ * @ignore
260
+ */
261
+ onBlur: e.func,
262
+ /**
263
+ * Callback fired when the state is changed.
264
+ *
265
+ * @param {object} event The event source of the callback.
266
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
267
+ */
268
+ onChange: e.func,
269
+ /**
270
+ * @ignore
271
+ */
272
+ onFocus: e.func,
273
+ /**
274
+ * It prevents the user from changing the value of the field
275
+ * (not from interacting with the field).
276
+ */
277
+ readOnly: e.bool,
278
+ /**
279
+ * If `true`, the `input` element is required.
280
+ */
281
+ required: e.bool,
282
+ /**
283
+ * The props used for each slot inside.
284
+ * @default {}
285
+ */
286
+ slotProps: e.shape({
287
+ input: e.oneOfType([e.func, e.object]),
288
+ root: e.oneOfType([e.func, e.object])
289
+ }),
290
+ /**
291
+ * The components used for each slot inside.
292
+ * @default {}
293
+ */
294
+ slots: e.shape({
295
+ input: e.elementType,
296
+ root: e.elementType
297
+ }),
298
+ /**
299
+ * The system prop that allows defining system overrides as well as additional CSS styles.
300
+ */
301
+ sx: e.object,
302
+ /**
303
+ * @ignore
304
+ */
305
+ tabIndex: e.oneOfType([e.number, e.string]),
306
+ /**
307
+ * The input component prop `type`.
308
+ */
309
+ type: e.string.isRequired,
310
+ /**
311
+ * The value of the component.
312
+ */
313
+ value: e.any
314
+ });
315
+ export {
316
+ le as S
317
+ };