everest-npm-features 0.0.1 → 0.0.3

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 (250) hide show
  1. package/dist/ArrowDropDown-DRUQbGft.js +8 -0
  2. package/dist/ArrowRight-t-YgAHUn.js +8 -0
  3. package/dist/{Box-wAem3MQD.js → Box-BOgpENcC.js} +11 -11
  4. package/dist/{Button-fWdSk-yh.js → Button-DXdgxFxa.js} +8 -7
  5. package/dist/{ButtonBase-SYP7klDp.js → ButtonBase-AOLUTpPg.js} +204 -211
  6. package/dist/Cancel-BMPJ8ZAg.js +11 -0
  7. package/dist/CardContent-DEA5pnhr.js +141 -0
  8. package/dist/{CircularProgress-DcXA6nAu.js → CircularProgress-BAEiXRSn.js} +31 -30
  9. package/dist/Close-mXCsZSxZ.js +8 -0
  10. package/dist/{Container-CIMHcpEe.js → Container-BOehNoF1.js} +4 -4
  11. package/dist/{ContentCopy-CexUUXuC.js → ContentCopy-HD_Xx6nx.js} +1 -1
  12. package/dist/{createSimplePaletteValueFilter-CsgjlRAs.js → DefaultPropsProvider-DmUB0SYC.js} +54 -69
  13. package/dist/DefaultPropsProvider-tqUom3mB.js +329 -0
  14. package/dist/{DialogContent-JgT9A6nk.js → DialogContent-zttWtNJM.js} +91 -90
  15. package/dist/{Close-CdRA3xUs.js → DialogTitle-BqL8DXBp.js} +16 -21
  16. package/dist/{ArrowRight-C6tjImpU.js → Divider-EGEkrkBH.js} +50 -55
  17. package/dist/{FormControl-D4QuPCnV.js → FormControl-Nd-4LC8N.js} +60 -69
  18. package/dist/FormControlLabel-BMeMEwyK.js +738 -0
  19. package/dist/{GlobalStyles-BOnEiMUE.js → GlobalStyles-CModZHM-.js} +2 -2
  20. package/dist/{Grid-dtT_MVn3.js → Grid-EISqvBSJ.js} +5 -5
  21. package/dist/Grid2-B0mJbwjl.js +374 -0
  22. package/dist/{Grow-B3Swdn2Z.js → Grow-dkRwE_ok.js} +5 -5
  23. package/dist/{IconButton-CRGy76pJ.js → IconButton-DAR3jsEV.js} +12 -11
  24. package/dist/Info-CkE3Gsf2.js +8 -0
  25. package/dist/InputAdornment-DZJP9Njd.js +169 -0
  26. package/dist/ListItemIcon-JAntieDc.js +82 -0
  27. package/dist/{wallet-DN7ej6mj.js → MenuItem-D12FP5Iq.js} +64 -75
  28. package/dist/{Modal-0q_y4zbS.js → Modal-DceAu_d2.js} +324 -397
  29. package/dist/Paper-L8ipwfkc.js +183 -0
  30. package/dist/PlayArrow-D_p2nwO8.js +21 -0
  31. package/dist/Portal-DxdKGEvu.js +86 -0
  32. package/dist/{Select-BNAaKK32.js → Select-DTQDmdn_.js} +39 -33
  33. package/dist/{Slide-BlS6unRJ.js → Slide-CWqC2RDG.js} +4 -3
  34. package/dist/Stack-CkCveRRR.js +174 -0
  35. package/dist/{TextField-CPZo0_di.js → TextField-BqIvz6Zw.js} +23 -21
  36. package/dist/{Typography-kyxogyUq.js → Typography-Dx54MRM5.js} +14 -13
  37. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  38. package/dist/assets/index.css +1 -1
  39. package/dist/assets/index10.css +1 -0
  40. package/dist/assets/index2.css +1 -1
  41. package/dist/assets/index3.css +1 -0
  42. package/dist/assets/index4.css +1 -0
  43. package/dist/assets/index5.css +1 -0
  44. package/dist/assets/index6.css +1 -0
  45. package/dist/assets/index7.css +1 -0
  46. package/dist/assets/index8.css +1 -0
  47. package/dist/assets/index9.css +1 -0
  48. package/dist/assets/{withThemeProvider.css → main.css} +1 -1
  49. package/dist/assets/styles.css +1 -1
  50. package/dist/assets/styles3.css +1 -0
  51. package/dist/auth-DDk8JxR-.js +46 -0
  52. package/dist/axios-BEX6n2A7.js +796 -0
  53. package/dist/bank-BvPXd5sM.js +23 -0
  54. package/dist/components/Account/index.d.ts +4 -0
  55. package/dist/components/Account/index.js +310 -0
  56. package/dist/components/History/index.d.ts +2 -0
  57. package/dist/components/History/index.js +804 -0
  58. package/dist/components/MoveToEthereumOrEverChain/index.d.ts +18 -0
  59. package/dist/components/MoveToEthereumOrEverChain/index.js +345 -0
  60. package/dist/components/Profile/documents.js +19 -14
  61. package/dist/components/Profile/index.js +128 -135
  62. package/dist/components/Receive/index.js +25 -23
  63. package/dist/components/RocketRamp/Buy/cardPayment.d.ts +3 -0
  64. package/dist/components/RocketRamp/Buy/cardPayment.js +17 -0
  65. package/dist/components/RocketRamp/Buy/confirmTransaction.d.ts +3 -0
  66. package/dist/components/RocketRamp/Buy/confirmTransaction.js +16 -0
  67. package/dist/components/RocketRamp/Buy/form.d.ts +3 -0
  68. package/dist/components/RocketRamp/Buy/form.js +26 -0
  69. package/dist/components/RocketRamp/Buy/index.d.ts +6 -0
  70. package/dist/components/RocketRamp/Buy/index.js +31 -0
  71. package/dist/components/RocketRamp/Buy/types.d.ts +33 -0
  72. package/dist/components/RocketRamp/Buy/types.js +1 -0
  73. package/dist/components/RocketRamp/Dashboard/balance.d.ts +9 -0
  74. package/dist/components/RocketRamp/Dashboard/balance.js +75 -0
  75. package/dist/components/RocketRamp/Dashboard/index.d.ts +5 -0
  76. package/dist/components/RocketRamp/Dashboard/index.js +36 -0
  77. package/dist/components/RocketRamp/Dashboard/transaction.d.ts +8 -0
  78. package/dist/components/RocketRamp/Dashboard/transaction.js +28 -0
  79. package/dist/components/RocketRamp/MinimalKyc/index.d.ts +6 -0
  80. package/dist/components/RocketRamp/MinimalKyc/index.js +254 -0
  81. package/dist/components/RocketRamp/Shared/Button/index.d.ts +10 -0
  82. package/dist/components/RocketRamp/Shared/Button/index.js +82 -0
  83. package/dist/components/RocketRamp/Shared/Input/index.d.ts +11 -0
  84. package/dist/components/RocketRamp/Shared/Input/index.js +46 -0
  85. package/dist/components/RocketRamp/Shared/backBtn.d.ts +5 -0
  86. package/dist/components/RocketRamp/Shared/backBtn.js +21 -0
  87. package/dist/components/RocketRamp/Shared/transactionItem.d.ts +7 -0
  88. package/dist/components/RocketRamp/Shared/transactionItem.js +125 -0
  89. package/dist/components/RocketRamp/SignIn/index.d.ts +3 -0
  90. package/dist/components/RocketRamp/SignIn/index.js +82 -0
  91. package/dist/components/RocketRamp/SignIn/loginForm.d.ts +3 -0
  92. package/dist/components/RocketRamp/SignIn/loginForm.js +81 -0
  93. package/dist/components/RocketRamp/SignIn/otpForm.d.ts +3 -0
  94. package/dist/components/RocketRamp/SignIn/otpForm.js +112 -0
  95. package/dist/components/RocketRamp/SignIn/types.d.ts +22 -0
  96. package/dist/components/RocketRamp/SignIn/types.js +1 -0
  97. package/dist/components/RocketRamp/SignUp/email.d.ts +3 -0
  98. package/dist/components/RocketRamp/SignUp/email.js +70 -0
  99. package/dist/components/RocketRamp/SignUp/index.d.ts +3 -0
  100. package/dist/components/RocketRamp/SignUp/index.js +163 -0
  101. package/dist/components/RocketRamp/SignUp/personalInfo.d.ts +3 -0
  102. package/dist/components/RocketRamp/SignUp/personalInfo.js +415 -0
  103. package/dist/components/RocketRamp/SignUp/summary.d.ts +3 -0
  104. package/dist/components/RocketRamp/SignUp/summary.js +57 -0
  105. package/dist/components/RocketRamp/SignUp/types.d.ts +50 -0
  106. package/dist/components/RocketRamp/SignUp/types.js +1 -0
  107. package/dist/components/RocketRamp/SignUp/validateEmail.d.ts +3 -0
  108. package/dist/components/RocketRamp/SignUp/validateEmail.js +99 -0
  109. package/dist/components/RocketRamp/Transactions/index.d.ts +5 -0
  110. package/dist/components/RocketRamp/Transactions/index.js +38 -0
  111. package/dist/components/Send/index.js +62 -51
  112. package/dist/components/Shared/ConnectWallet/index.d.ts +20 -0
  113. package/dist/components/Shared/ConnectWallet/index.js +25364 -0
  114. package/dist/components/Shared/HistoryItem/index.d.ts +5 -0
  115. package/dist/components/Shared/HistoryItem/index.js +120 -0
  116. package/dist/components/Shared/Keyboard/keyboard.js +3 -3
  117. package/dist/components/Shared/TokenModal/index.d.ts +10 -0
  118. package/dist/components/Shared/TokenModal/index.js +104 -0
  119. package/dist/components/Shared/TokenModal/tokenGrid.d.ts +7 -0
  120. package/dist/components/Shared/TokenModal/tokenGrid.js +51 -0
  121. package/dist/components/Shared/addBank.d.ts +2 -0
  122. package/dist/components/Shared/addBank.js +172 -0
  123. package/dist/components/Shared/button.js +1 -1
  124. package/dist/components/Shared/connectPlaidBank.d.ts +2 -0
  125. package/dist/components/Shared/connectPlaidBank.js +57 -0
  126. package/dist/components/Shared/incode.js +34 -32
  127. package/dist/components/Shared/inputField.js +1 -1
  128. package/dist/components/Shared/noData.d.ts +4 -0
  129. package/dist/components/Shared/noData.js +14 -0
  130. package/dist/components/Shared/pin.js +3 -3
  131. package/dist/components/Shared/step.js +2 -2
  132. package/dist/components/Shared/tooltip.d.ts +4 -0
  133. package/dist/components/Shared/tooltip.js +2107 -0
  134. package/dist/components/Shared/transition.js +1 -1
  135. package/dist/components/SignIn/index.js +26 -24
  136. package/dist/components/SignUp/index.js +108 -348
  137. package/dist/components/SignUp/pin.js +116 -844
  138. package/dist/components/SignUp/privacy.js +3 -3
  139. package/dist/components/SignUp/terms.js +3 -3
  140. package/dist/components/SignUp/types.d.ts +0 -1
  141. package/dist/components/SignUp/userInfo.js +4 -4
  142. package/dist/components/Stake/gems/index.d.ts +2 -0
  143. package/dist/components/Stake/gems/index.js +214 -0
  144. package/dist/components/Stake/id/index.d.ts +2 -0
  145. package/dist/components/Stake/id/index.js +233 -0
  146. package/dist/components/Stake/index.d.ts +5 -0
  147. package/dist/components/Stake/index.js +346 -0
  148. package/dist/components/Swap/index.d.ts +2 -0
  149. package/dist/components/Swap/index.js +489 -0
  150. package/dist/components/SwapAndUniSwap/index.d.ts +3 -0
  151. package/dist/components/SwapAndUniSwap/index.js +43 -0
  152. package/dist/components/WalletPortfolio/index.js +191 -263
  153. package/dist/components/WalletPortfolio/tokenRow.js +8 -5
  154. package/dist/constants-SKm7VF9k.js +3982 -0
  155. package/dist/countries-BVn1FubK.js +1925 -0
  156. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  157. package/dist/{createSvgIcon-CAZr4ukt.js → createSvgIcon-jkXneOQN.js} +6 -6
  158. package/dist/{createTheme-NrBCWesw.js → createTheme-F9Dk4FhK.js} +182 -174
  159. package/dist/data/countries.json.d.ts +1925 -0
  160. package/dist/defaultTheme-Bc00Q3Kt.js +5 -0
  161. package/dist/dividerClasses-SUAUDDqL.js +10 -0
  162. package/dist/{documents-CL4Ajr_B.js → documents-7w9u2Oig.js} +123 -122
  163. package/dist/elementTypeAcceptingRef-BufevUW8.js +23 -0
  164. package/dist/emotion-react.browser.esm-CI0uV1W5.js +233 -0
  165. package/dist/{extendSxProp-CuERe1TA.js → extendSxProp-Cm2UBzGf.js} +1 -1
  166. package/dist/generic-token-B_ptO5yb.js +4 -0
  167. package/dist/hoc/withThemeProvider.js +33 -32
  168. package/dist/hooks/useDialog/index.js +4 -4
  169. package/dist/hooks/useSnackBar.js +63 -60
  170. package/dist/icons/buyIcon.d.ts +2 -0
  171. package/dist/icons/buyIcon.js +19 -0
  172. package/dist/icons/canceledBuyIcon.d.ts +2 -0
  173. package/dist/icons/canceledBuyIcon.js +34 -0
  174. package/dist/icons/canceledRedeemIcon.d.ts +2 -0
  175. package/dist/icons/canceledRedeemIcon.js +35 -0
  176. package/dist/icons/failedBuyIcon.d.ts +2 -0
  177. package/dist/icons/failedBuyIcon.js +48 -0
  178. package/dist/icons/failedRedeemIcon.d.ts +2 -0
  179. package/dist/icons/failedRedeemIcon.js +48 -0
  180. package/dist/icons/pendingBuyIcon.d.ts +2 -0
  181. package/dist/icons/pendingBuyIcon.js +38 -0
  182. package/dist/icons/pendingRedeemIcon.d.ts +2 -0
  183. package/dist/icons/pendingRedeemIcon.js +34 -0
  184. package/dist/icons/redeemIcon.d.ts +2 -0
  185. package/dist/icons/redeemIcon.js +19 -0
  186. package/dist/index-B8QKlEgj.js +37095 -0
  187. package/dist/{index-Cq3eHOnB.js → index-BJlsh9ro.js} +1 -1
  188. package/dist/index-BhmBCie8.js +796 -0
  189. package/dist/index-C3FYdQkQ.js +4050 -0
  190. package/dist/index-CrajlEO_.js +576 -0
  191. package/dist/index-TElEjliR.js +9 -0
  192. package/dist/{index-iAyNk1r6.js → index-_kqRfgnc.js} +5 -5
  193. package/dist/index-ceeCtFuh.js +136 -0
  194. package/dist/index.esm-BsMAMhYW.js +237 -0
  195. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  196. package/dist/isMuiElement-DnSE4qG4.js +13 -0
  197. package/dist/main.d.ts +99 -0
  198. package/dist/main.js +34 -12
  199. package/dist/moment-h96o7c8I.js +2578 -0
  200. package/dist/order-CO4ra5N-.js +27 -0
  201. package/dist/ownerWindow-C-760D__.js +7 -0
  202. package/dist/providers/metaMask.d.ts +6 -0
  203. package/dist/providers/metaMask.js +24 -0
  204. package/dist/react-redux-B4BZippc.js +255 -0
  205. package/dist/react-webcam-B3cXh1XT.js +267 -0
  206. package/dist/resolveComponentProps-BdTgLKBb.js +80 -0
  207. package/dist/rr-primary-logo-CqI24c8v.js +4 -0
  208. package/dist/stake-DHpsHQbJ.js +17 -0
  209. package/dist/store.d.ts +66 -0
  210. package/dist/store.js +1 -0
  211. package/dist/styled-BTIMwpiX.js +5 -0
  212. package/dist/{styles.module-KeND8lCR.js → styles.module-6SB62f3J.js} +1 -1
  213. package/dist/styles.module-O5VVND5e.js +22 -0
  214. package/dist/tokenRow-CgnPD-4U.js +206 -0
  215. package/dist/useControlled-BYdyS7Pn.js +31 -0
  216. package/dist/useFormControl-CfmEP6sW.js +18 -0
  217. package/dist/useSlot-DaP6eodX.js +50 -0
  218. package/dist/useTheme-BghcbbEW.js +9 -0
  219. package/dist/{useTheme-nlj1B_-c.js → useTheme-c0OHvtiA.js} +3 -3
  220. package/dist/{useThemeProps-BqWuFW3z.js → useThemeProps-CV9AmzHf.js} +4 -4
  221. package/dist/{useThemeWithoutDefault-BdYkMk0o.js → useThemeWithoutDefault-D8MaPbCK.js} +1 -1
  222. package/dist/useTimeout-D29bZ7Gz.js +56 -0
  223. package/dist/user-CeKqBfJU.js +24 -0
  224. package/dist/util/constants.d.ts +48 -0
  225. package/dist/util/constants.js +69 -21
  226. package/dist/util/conversions.js +54 -22271
  227. package/dist/util/functions.d.ts +5 -0
  228. package/dist/util/functions.js +81 -24
  229. package/dist/util/regex.d.ts +3 -0
  230. package/dist/util/regex.js +6 -0
  231. package/dist/{utils-_FXWkn40.js → utils-EFg3So7T.js} +163 -168
  232. package/dist/wallet-BtAQ78cv.js +35 -0
  233. package/dist/web3-u4qDZYpo.js +22328 -0
  234. package/package.json +8 -3
  235. package/dist/DefaultPropsProvider-Y8MI-J-I.js +0 -555
  236. package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +0 -4
  237. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  238. package/dist/auth-Cj5FKr_m.js +0 -19
  239. package/dist/axios-xPiQW9EP.js +0 -118114
  240. package/dist/defaultTheme-OIfL8Ia7.js +0 -5
  241. package/dist/dividerClasses-Z7VLlu5C.js +0 -10
  242. package/dist/index-DKTkUdik.js +0 -6
  243. package/dist/react-redux-VW99uJjf.js +0 -5908
  244. package/dist/react-webcam-Cov1TP0q.js +0 -639
  245. package/dist/styled-Da6GnxEE.js +0 -5
  246. package/dist/tokenRow-Cdd_jFjp.js +0 -206
  247. package/dist/useFormControl-Bo6Tf_xo.js +0 -46
  248. package/dist/useSlot-CURNJ3JC.js +0 -306
  249. package/dist/useTheme-DWRMvRU8.js +0 -9
  250. package/dist/useTimeout-lr7ryrda.js +0 -75
@@ -1,306 +0,0 @@
1
- import * as I from "react";
2
- import { g as M, f as E, j as T, P as r } from "./createTheme-NrBCWesw.js";
3
- import { a as g, g as V, s as H, m as U, u as P, b as D } from "./createSimplePaletteValueFilter-CsgjlRAs.js";
4
- import { u as A } from "./useTheme-nlj1B_-c.js";
5
- import { jsx as _ } from "react/jsx-runtime";
6
- import { c as W, u as Z } from "./TransitionGroupContext-VwpFXTPO.js";
7
- function B(e) {
8
- const n = typeof e;
9
- switch (n) {
10
- case "number":
11
- return Number.isNaN(e) ? "NaN" : Number.isFinite(e) ? e !== Math.floor(e) ? "float" : "number" : "Infinity";
12
- case "object":
13
- return e === null ? "null" : e.constructor.name;
14
- default:
15
- return n;
16
- }
17
- }
18
- function C(e, n, t, o) {
19
- const s = e[n];
20
- if (s == null || !Number.isInteger(s)) {
21
- const l = B(s);
22
- return new RangeError(`Invalid ${o} \`${n}\` of type \`${l}\` supplied to \`${t}\`, expected \`integer\`.`);
23
- }
24
- return null;
25
- }
26
- function $(e, n, ...t) {
27
- return e[n] === void 0 ? null : C(e, n, ...t);
28
- }
29
- function h() {
30
- return null;
31
- }
32
- $.isRequired = C;
33
- h.isRequired = h;
34
- const L = process.env.NODE_ENV === "production" ? h : $;
35
- function z(e) {
36
- return typeof e == "string";
37
- }
38
- function G(e, n, t) {
39
- return e === void 0 || z(e) ? n : {
40
- ...n,
41
- ownerState: {
42
- ...n.ownerState,
43
- ...t
44
- }
45
- };
46
- }
47
- function J(e, n = []) {
48
- if (e === void 0)
49
- return {};
50
- const t = {};
51
- return Object.keys(e).filter((o) => o.match(/^on[A-Z]/) && typeof e[o] == "function" && !n.includes(o)).forEach((o) => {
52
- t[o] = e[o];
53
- }), t;
54
- }
55
- function R(e) {
56
- if (e === void 0)
57
- return {};
58
- const n = {};
59
- return Object.keys(e).filter((t) => !(t.match(/^on[A-Z]/) && typeof e[t] == "function")).forEach((t) => {
60
- n[t] = e[t];
61
- }), n;
62
- }
63
- function K(e) {
64
- const {
65
- getSlotProps: n,
66
- additionalProps: t,
67
- externalSlotProps: o,
68
- externalForwardedProps: s,
69
- className: l
70
- } = e;
71
- if (!n) {
72
- const c = g(t == null ? void 0 : t.className, l, s == null ? void 0 : s.className, o == null ? void 0 : o.className), d = {
73
- ...t == null ? void 0 : t.style,
74
- ...s == null ? void 0 : s.style,
75
- ...o == null ? void 0 : o.style
76
- }, y = {
77
- ...t,
78
- ...s,
79
- ...o
80
- };
81
- return c.length > 0 && (y.className = c), Object.keys(d).length > 0 && (y.style = d), {
82
- props: y,
83
- internalRef: void 0
84
- };
85
- }
86
- const f = J({
87
- ...s,
88
- ...o
89
- }), i = R(o), m = R(s), a = n(f), u = g(a == null ? void 0 : a.className, t == null ? void 0 : t.className, l, s == null ? void 0 : s.className, o == null ? void 0 : o.className), v = {
90
- ...a == null ? void 0 : a.style,
91
- ...t == null ? void 0 : t.style,
92
- ...s == null ? void 0 : s.style,
93
- ...o == null ? void 0 : o.style
94
- }, p = {
95
- ...a,
96
- ...t,
97
- ...m,
98
- ...i
99
- };
100
- return u.length > 0 && (p.className = u), Object.keys(v).length > 0 && (p.style = v), {
101
- props: p,
102
- internalRef: a.ref
103
- };
104
- }
105
- function Q(e, n, t) {
106
- return typeof e == "function" ? e(n, t) : e;
107
- }
108
- function X(e) {
109
- return M("MuiPaper", e);
110
- }
111
- V("MuiPaper", ["root", "rounded", "outlined", "elevation", "elevation0", "elevation1", "elevation2", "elevation3", "elevation4", "elevation5", "elevation6", "elevation7", "elevation8", "elevation9", "elevation10", "elevation11", "elevation12", "elevation13", "elevation14", "elevation15", "elevation16", "elevation17", "elevation18", "elevation19", "elevation20", "elevation21", "elevation22", "elevation23", "elevation24"]);
112
- const Y = (e) => {
113
- const {
114
- square: n,
115
- elevation: t,
116
- variant: o,
117
- classes: s
118
- } = e, l = {
119
- root: ["root", o, !n && "rounded", o === "elevation" && `elevation${t}`]
120
- };
121
- return D(l, X, s);
122
- }, x = H("div", {
123
- name: "MuiPaper",
124
- slot: "Root",
125
- overridesResolver: (e, n) => {
126
- const {
127
- ownerState: t
128
- } = e;
129
- return [n.root, n[t.variant], !t.square && n.rounded, t.variant === "elevation" && n[`elevation${t.elevation}`]];
130
- }
131
- })(U(({
132
- theme: e
133
- }) => ({
134
- backgroundColor: (e.vars || e).palette.background.paper,
135
- color: (e.vars || e).palette.text.primary,
136
- transition: e.transitions.create("box-shadow"),
137
- variants: [{
138
- props: ({
139
- ownerState: n
140
- }) => !n.square,
141
- style: {
142
- borderRadius: e.shape.borderRadius
143
- }
144
- }, {
145
- props: {
146
- variant: "outlined"
147
- },
148
- style: {
149
- border: `1px solid ${(e.vars || e).palette.divider}`
150
- }
151
- }, {
152
- props: {
153
- variant: "elevation"
154
- },
155
- style: {
156
- boxShadow: "var(--Paper-shadow)",
157
- backgroundImage: "var(--Paper-overlay)"
158
- }
159
- }]
160
- }))), F = /* @__PURE__ */ I.forwardRef(function(n, t) {
161
- var c;
162
- const o = P({
163
- props: n,
164
- name: "MuiPaper"
165
- }), s = A(), {
166
- className: l,
167
- component: f = "div",
168
- elevation: i = 1,
169
- square: m = !1,
170
- variant: a = "elevation",
171
- ...u
172
- } = o, v = {
173
- ...o,
174
- component: f,
175
- elevation: i,
176
- square: m,
177
- variant: a
178
- }, p = Y(v);
179
- return process.env.NODE_ENV !== "production" && s.shadows[i] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${i}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${i}]\` is defined.`].join(`
180
- `)), /* @__PURE__ */ _(x, {
181
- as: f,
182
- ownerState: v,
183
- className: g(p.root, l),
184
- ref: t,
185
- ...u,
186
- style: {
187
- ...a === "elevation" && {
188
- "--Paper-shadow": (s.vars || s).shadows[i],
189
- ...s.vars && {
190
- "--Paper-overlay": (c = s.vars.overlays) == null ? void 0 : c[i]
191
- },
192
- ...!s.vars && s.palette.mode === "dark" && {
193
- "--Paper-overlay": `linear-gradient(${E("#fff", T(i))}, ${E("#fff", T(i))})`
194
- }
195
- },
196
- ...u.style
197
- }
198
- });
199
- });
200
- process.env.NODE_ENV !== "production" && (F.propTypes = {
201
- // ┌────────────────────────────── Warning ──────────────────────────────┐
202
- // │ These PropTypes are generated from the TypeScript type definitions. │
203
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
204
- // └─────────────────────────────────────────────────────────────────────┘
205
- /**
206
- * The content of the component.
207
- */
208
- children: r.node,
209
- /**
210
- * Override or extend the styles applied to the component.
211
- */
212
- classes: r.object,
213
- /**
214
- * @ignore
215
- */
216
- className: r.string,
217
- /**
218
- * The component used for the root node.
219
- * Either a string to use a HTML element or a component.
220
- */
221
- component: r.elementType,
222
- /**
223
- * Shadow depth, corresponds to `dp` in the spec.
224
- * It accepts values between 0 and 24 inclusive.
225
- * @default 1
226
- */
227
- elevation: W(L, (e) => {
228
- const {
229
- elevation: n,
230
- variant: t
231
- } = e;
232
- return n > 0 && t === "outlined" ? new Error(`MUI: Combining \`elevation={${n}}\` with \`variant="${t}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`) : null;
233
- }),
234
- /**
235
- * If `true`, rounded corners are disabled.
236
- * @default false
237
- */
238
- square: r.bool,
239
- /**
240
- * @ignore
241
- */
242
- style: r.object,
243
- /**
244
- * The system prop that allows defining system overrides as well as additional CSS styles.
245
- */
246
- sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
247
- /**
248
- * The variant to use.
249
- * @default 'elevation'
250
- */
251
- variant: r.oneOfType([r.oneOf(["elevation", "outlined"]), r.string])
252
- });
253
- function re(e, n) {
254
- const {
255
- className: t,
256
- elementType: o,
257
- ownerState: s,
258
- externalForwardedProps: l,
259
- getSlotOwnerState: f,
260
- internalForwardedProps: i,
261
- ...m
262
- } = n, {
263
- component: a,
264
- slots: u = {
265
- [e]: void 0
266
- },
267
- slotProps: v = {
268
- [e]: void 0
269
- },
270
- ...p
271
- } = l, c = u[e] || o, d = Q(v[e], s), {
272
- props: {
273
- component: y,
274
- ...N
275
- },
276
- internalRef: k
277
- } = K({
278
- className: t,
279
- ...m,
280
- externalForwardedProps: e === "root" ? p : void 0,
281
- externalSlotProps: d
282
- }), j = Z(k, d == null ? void 0 : d.ref, n.ref), b = f ? f(N) : {}, S = {
283
- ...s,
284
- ...b
285
- }, w = e === "root" ? y || a : y, O = G(c, {
286
- ...e === "root" && !a && !u[e] && i,
287
- ...e !== "root" && !u[e] && i,
288
- ...N,
289
- ...w && {
290
- as: w
291
- },
292
- ref: j
293
- }, S);
294
- return Object.keys(b).forEach((q) => {
295
- delete O[q];
296
- }), [c, O];
297
- }
298
- export {
299
- F as P,
300
- G as a,
301
- J as e,
302
- L as i,
303
- K as m,
304
- Q as r,
305
- re as u
306
- };
@@ -1,9 +0,0 @@
1
- import { c as m } from "./createTheme-NrBCWesw.js";
2
- import { u as t } from "./useThemeWithoutDefault-BdYkMk0o.js";
3
- const r = m();
4
- function u(e = r) {
5
- return t(e);
6
- }
7
- export {
8
- u
9
- };
@@ -1,75 +0,0 @@
1
- var d = Object.defineProperty;
2
- var m = (e, t, n) => t in e ? d(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var c = (e, t, n) => m(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { P as o } from "./createTheme-NrBCWesw.js";
5
- import { c as y } from "./TransitionGroupContext-VwpFXTPO.js";
6
- import * as r from "react";
7
- const h = typeof window < "u" ? r.useLayoutEffect : r.useEffect;
8
- function E(e) {
9
- const {
10
- prototype: t = {}
11
- } = e;
12
- return !!t.isReactComponent;
13
- }
14
- function T(e, t, n, a, l) {
15
- const u = e[t], p = l || t;
16
- if (u == null || // When server-side rendering React doesn't warn either.
17
- // This is not an accurate check for SSR.
18
- // This is only in place for emotion compat.
19
- // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
20
- typeof window > "u")
21
- return null;
22
- let s;
23
- return typeof u == "function" && !E(u) && (s = "Did you accidentally provide a plain function component instead?"), s !== void 0 ? new Error(`Invalid ${a} \`${p}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
24
- }
25
- const v = y(o.elementType, T), C = o.oneOfType([o.func, o.object]);
26
- function b(e) {
27
- const t = r.useRef(e);
28
- return h(() => {
29
- t.current = e;
30
- }), r.useRef((...n) => (
31
- // @ts-expect-error hide `this`
32
- (0, t.current)(...n)
33
- )).current;
34
- }
35
- const f = {};
36
- function I(e, t) {
37
- const n = r.useRef(f);
38
- return n.current === f && (n.current = e(t)), n;
39
- }
40
- const w = [];
41
- function R(e) {
42
- r.useEffect(e, w);
43
- }
44
- class i {
45
- constructor() {
46
- c(this, "currentId", null);
47
- c(this, "clear", () => {
48
- this.currentId !== null && (clearTimeout(this.currentId), this.currentId = null);
49
- });
50
- c(this, "disposeEffect", () => this.clear);
51
- }
52
- static create() {
53
- return new i();
54
- }
55
- /**
56
- * Executes `fn` after `delay`, clearing any previously scheduled call.
57
- */
58
- start(t, n) {
59
- this.clear(), this.currentId = setTimeout(() => {
60
- this.currentId = null, n();
61
- }, t);
62
- }
63
- }
64
- function A() {
65
- const e = I(i.create).current;
66
- return R(e.disposeEffect), e;
67
- }
68
- export {
69
- h as a,
70
- I as b,
71
- b as c,
72
- v as e,
73
- C as r,
74
- A as u
75
- };