everest-npm-features 0.0.61 → 0.0.62

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 (229) hide show
  1. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  2. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  3. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  4. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  5. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  6. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  7. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  8. package/dist/{PlayArrow-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
  11. package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
  12. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  13. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
  14. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
  15. package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
  16. package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
  17. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  18. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  20. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
  21. package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
  22. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  23. package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
  24. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
  25. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
  26. package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
  27. package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
  28. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
  29. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  30. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  31. package/dist/components/RocketRamp/ResetPassword/index.js +22 -24
  32. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  33. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  34. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  35. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  36. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  37. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  38. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  39. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  40. package/dist/components/RocketRamp/Store/SignUp/index.js +52 -55
  41. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
  42. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
  43. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  44. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  45. package/dist/components/RocketRamp/Transactions/index.js +22 -23
  46. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  47. package/dist/components/Shared/FullKyc/edd.js +50 -52
  48. package/dist/components/Shared/FullKyc/index.js +11 -9
  49. package/dist/components/Shared/FullKyc/pep.js +35 -43
  50. package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
  51. package/dist/components/Shared/FullKyc/userInfo.js +6 -11
  52. package/dist/components/Shared/HistoryItem/index.js +43 -48
  53. package/dist/components/Shared/Incode/index.js +31 -35
  54. package/dist/components/Shared/MinimalKyc/index.js +59 -64
  55. package/dist/components/Shared/Sumsub/index.js +74 -61
  56. package/dist/components/Shared/loader.js +4 -5
  57. package/dist/components/Shared/tooltip.js +2 -2
  58. package/dist/components/Shared/transition.js +4 -4
  59. package/dist/components/Wallet/Account/createIban.js +34 -37
  60. package/dist/components/Wallet/Account/eWallet.js +35 -39
  61. package/dist/components/Wallet/Account/iban.js +49 -53
  62. package/dist/components/Wallet/Account/ibanItem.js +68 -73
  63. package/dist/components/Wallet/Account/index.js +66 -73
  64. package/dist/components/Wallet/Account/sendIban.js +79 -88
  65. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
  66. package/dist/components/Wallet/Buy/form.js +6 -16
  67. package/dist/components/Wallet/Buy/index.js +2 -2
  68. package/dist/components/Wallet/Deposit/index.js +15 -17
  69. package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
  70. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  71. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  72. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  73. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  74. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
  77. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  78. package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
  79. package/dist/components/Wallet/History/index.js +22 -796
  80. package/dist/components/Wallet/Home/index.js +13 -14
  81. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
  82. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  83. package/dist/components/Wallet/Portfolio/index.js +47 -50
  84. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  85. package/dist/components/Wallet/Profile/documents.js +125 -134
  86. package/dist/components/Wallet/Profile/index.js +37 -42
  87. package/dist/components/Wallet/Profile/storage.js +39 -47
  88. package/dist/components/Wallet/Receive/index.js +31 -36
  89. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
  90. package/dist/components/Wallet/Sell/form.js +6 -16
  91. package/dist/components/Wallet/Sell/index.js +2 -2
  92. package/dist/components/Wallet/Send/index.js +98 -107
  93. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  94. package/dist/components/Wallet/Shared/Auth/otpForm.js +8 -355
  95. package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
  96. package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
  97. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  98. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  99. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  100. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  101. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  102. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  103. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  104. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  105. package/dist/components/Wallet/Shared/addBank.js +40 -44
  106. package/dist/components/Wallet/Shared/appButton.js +11 -15
  107. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  108. package/dist/components/Wallet/Shared/button.js +7 -7
  109. package/dist/components/Wallet/Shared/connectPlaidBank.js +15 -16
  110. package/dist/components/Wallet/Shared/inputField.js +5 -5
  111. package/dist/components/Wallet/Shared/manualSend.js +7 -11
  112. package/dist/components/Wallet/Shared/noData.js +4 -5
  113. package/dist/components/Wallet/Shared/pin.js +25 -27
  114. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  115. package/dist/components/Wallet/Shared/step.js +12 -13
  116. package/dist/components/Wallet/Shared/timer.js +1 -1
  117. package/dist/components/Wallet/SignIn/index.js +16 -16
  118. package/dist/components/Wallet/SignUp/index.js +62 -152
  119. package/dist/components/Wallet/SignUp/terms.js +1 -1
  120. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  121. package/dist/components/Wallet/Stake/id/index.js +73 -81
  122. package/dist/components/Wallet/Stake/index.js +64 -67
  123. package/dist/components/Wallet/Swap/form.js +8 -17
  124. package/dist/components/Wallet/Swap/index.js +2 -2
  125. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  126. package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
  127. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
  128. package/dist/components/Wallet/Withdraw/form.js +4 -15
  129. package/dist/components/Wallet/Withdraw/index.js +2 -2
  130. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  131. package/dist/hoc/withThemeProvider.js +5 -732
  132. package/dist/hooks/useDialog/index.js +22 -23
  133. package/dist/hooks/useRrDialog/index.js +43 -46
  134. package/dist/hooks/useSnackBar.js +24 -696
  135. package/dist/icons/buyIcon.js +1 -1
  136. package/dist/icons/canceledBuyIcon.js +1 -1
  137. package/dist/icons/canceledRedeemIcon.js +1 -1
  138. package/dist/icons/failedBuyIcon.js +2 -2
  139. package/dist/icons/failedRedeemIcon.js +2 -2
  140. package/dist/icons/pendingBuyIcon.js +1 -1
  141. package/dist/icons/pendingRedeemIcon.js +1 -1
  142. package/dist/icons/redeemIcon.js +1 -1
  143. package/dist/{index-BbVpeed7.js → index-3OQ4M69t.js} +87 -96
  144. package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
  145. package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
  146. package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
  147. package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
  148. package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
  149. package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
  150. package/dist/main.js +7 -7
  151. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  152. package/dist/otpForm-fiNqeB5H.js +7378 -0
  153. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  154. package/dist/tooltip-BW0UyWw7.js +2129 -0
  155. package/package.json +6 -6
  156. package/dist/Alert-DzsbFW3-.js +0 -369
  157. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  158. package/dist/Avatar-1XklXr4O.js +0 -281
  159. package/dist/Backdrop-CioURPVG.js +0 -359
  160. package/dist/Box-B0YSYLco.js +0 -59
  161. package/dist/Button-Df4vgU24.js +0 -663
  162. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  163. package/dist/CardContent-D9wTdpu-.js +0 -141
  164. package/dist/CircularProgress-xZA3lvba.js +0 -252
  165. package/dist/Close-CxzDL3J-.js +0 -9
  166. package/dist/Container-urNKV7hm.js +0 -181
  167. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  168. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  169. package/dist/DialogContent-BMwlOnbW.js +0 -567
  170. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  171. package/dist/Divider-BShhMFf4.js +0 -297
  172. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  173. package/dist/FormControl-RtZDQMdA.js +0 -258
  174. package/dist/FormControlLabel-BliKW48y.js +0 -519
  175. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  176. package/dist/Grid-CFe3amXO.js +0 -410
  177. package/dist/Grow-CnGtel3u.js +0 -196
  178. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  179. package/dist/IconButton-DHm-hucF.js +0 -297
  180. package/dist/InputAdornment-DMiED3JH.js +0 -173
  181. package/dist/Link-DBA9Yifs.js +0 -266
  182. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  183. package/dist/Menu-DLYFFrEk.js +0 -1239
  184. package/dist/MenuItem-DUdYOJr4.js +0 -271
  185. package/dist/Modal-CFIQ_s3T.js +0 -743
  186. package/dist/Paper-Bgt2WXI6.js +0 -186
  187. package/dist/Popper-BBAoiZKn.js +0 -1409
  188. package/dist/Portal-BMAxiQwe.js +0 -69
  189. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  190. package/dist/Select-CB5yWmyn.js +0 -1886
  191. package/dist/Slide-B9Nw0LZ4.js +0 -235
  192. package/dist/Stack-k55YTxET.js +0 -172
  193. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  194. package/dist/TextField-DPpRUQe3.js +0 -978
  195. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  196. package/dist/Typography-pAaje37G.js +0 -260
  197. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  198. package/dist/clsx-BTaloaeC.js +0 -264
  199. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  200. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  201. package/dist/createTheme-CD19zQB7.js +0 -3825
  202. package/dist/debounce-46wSf_lW.js +0 -15
  203. package/dist/defaultTheme-C35y5cLB.js +0 -5
  204. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  205. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  206. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  207. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  208. package/dist/exactProp-C1Lmtwf_.js +0 -13
  209. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  210. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  211. package/dist/index-B0Z-Gjno.js +0 -22
  212. package/dist/index-DUcLo3x5.js +0 -43
  213. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  214. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  215. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  216. package/dist/memoTheme-yHaPezod.js +0 -15
  217. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  218. package/dist/radioButton-CzlYB0Lh.js +0 -402
  219. package/dist/refType-BsTH3qnM.js +0 -56
  220. package/dist/tooltip-3UvETWtS.js +0 -740
  221. package/dist/useControlled-nm4pBabJ.js +0 -31
  222. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  223. package/dist/useFormControl-CatNKXAi.js +0 -10
  224. package/dist/useId-CK6Kn3Tn.js +0 -21
  225. package/dist/useSlot-CW7SOYlh.js +0 -125
  226. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  227. package/dist/useTheme-BQJ5lp0i.js +0 -11
  228. package/dist/useTheme-S5_DHFsQ.js +0 -17
  229. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,567 +0,0 @@
1
- import * as f from "react";
2
- import { g as D, b as l, P as o } from "./createTheme-CD19zQB7.js";
3
- import { c as k } from "./clsx-BTaloaeC.js";
4
- import { g as S } from "./generateUtilityClasses-BRiE4Guh.js";
5
- import { u as mo } from "./useTheme-BQJ5lp0i.js";
6
- import { jsx as i } from "react/jsx-runtime";
7
- import { s as b, u as $, c as B } from "./DefaultPropsProvider-oAu9El-f.js";
8
- import { m as N } from "./memoTheme-yHaPezod.js";
9
- import { u as m } from "./useSlot-CW7SOYlh.js";
10
- import { B as fo, F as j } from "./Backdrop-CioURPVG.js";
11
- import { M as bo } from "./Modal-CFIQ_s3T.js";
12
- import { P as R } from "./Paper-Bgt2WXI6.js";
13
- import { u as go } from "./useId-CK6Kn3Tn.js";
14
- function yo(r) {
15
- return D("MuiDialog", r);
16
- }
17
- const T = S("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), F = /* @__PURE__ */ f.createContext({});
18
- process.env.NODE_ENV !== "production" && (F.displayName = "DialogContext");
19
- const xo = b(fo, {
20
- name: "MuiDialog",
21
- slot: "Backdrop",
22
- overrides: (r, e) => e.backdrop
23
- })({
24
- // Improve scrollable dialog support.
25
- zIndex: -1
26
- }), ho = (r) => {
27
- const {
28
- classes: e,
29
- scroll: t,
30
- maxWidth: a,
31
- fullWidth: n,
32
- fullScreen: p
33
- } = r, c = {
34
- root: ["root"],
35
- container: ["container", `scroll${l(t)}`],
36
- paper: ["paper", `paperScroll${l(t)}`, `paperWidth${l(String(a))}`, n && "paperFullWidth", p && "paperFullScreen"]
37
- };
38
- return B(c, yo, e);
39
- }, vo = b(bo, {
40
- name: "MuiDialog",
41
- slot: "Root"
42
- })({
43
- "@media print": {
44
- // Use !important to override the Modal inline-style.
45
- position: "absolute !important"
46
- }
47
- }), Co = b("div", {
48
- name: "MuiDialog",
49
- slot: "Container",
50
- overridesResolver: (r, e) => {
51
- const {
52
- ownerState: t
53
- } = r;
54
- return [e.container, e[`scroll${l(t.scroll)}`]];
55
- }
56
- })({
57
- height: "100%",
58
- "@media print": {
59
- height: "auto"
60
- },
61
- // We disable the focus ring for mouse, touch and keyboard users.
62
- outline: 0,
63
- variants: [{
64
- props: {
65
- scroll: "paper"
66
- },
67
- style: {
68
- display: "flex",
69
- justifyContent: "center",
70
- alignItems: "center"
71
- }
72
- }, {
73
- props: {
74
- scroll: "body"
75
- },
76
- style: {
77
- overflowY: "auto",
78
- overflowX: "hidden",
79
- textAlign: "center",
80
- "&::after": {
81
- content: '""',
82
- display: "inline-block",
83
- verticalAlign: "middle",
84
- height: "100%",
85
- width: "0"
86
- }
87
- }
88
- }]
89
- }), To = b(R, {
90
- name: "MuiDialog",
91
- slot: "Paper",
92
- overridesResolver: (r, e) => {
93
- const {
94
- ownerState: t
95
- } = r;
96
- return [e.paper, e[`scrollPaper${l(t.scroll)}`], e[`paperWidth${l(String(t.maxWidth))}`], t.fullWidth && e.paperFullWidth, t.fullScreen && e.paperFullScreen];
97
- }
98
- })(N(({
99
- theme: r
100
- }) => ({
101
- margin: 32,
102
- position: "relative",
103
- overflowY: "auto",
104
- "@media print": {
105
- overflowY: "visible",
106
- boxShadow: "none"
107
- },
108
- variants: [{
109
- props: {
110
- scroll: "paper"
111
- },
112
- style: {
113
- display: "flex",
114
- flexDirection: "column",
115
- maxHeight: "calc(100% - 64px)"
116
- }
117
- }, {
118
- props: {
119
- scroll: "body"
120
- },
121
- style: {
122
- display: "inline-block",
123
- verticalAlign: "middle",
124
- textAlign: "initial"
125
- }
126
- }, {
127
- props: ({
128
- ownerState: e
129
- }) => !e.maxWidth,
130
- style: {
131
- maxWidth: "calc(100% - 64px)"
132
- }
133
- }, {
134
- props: {
135
- maxWidth: "xs"
136
- },
137
- style: {
138
- maxWidth: r.breakpoints.unit === "px" ? Math.max(r.breakpoints.values.xs, 444) : `max(${r.breakpoints.values.xs}${r.breakpoints.unit}, 444px)`,
139
- [`&.${T.paperScrollBody}`]: {
140
- [r.breakpoints.down(Math.max(r.breakpoints.values.xs, 444) + 32 * 2)]: {
141
- maxWidth: "calc(100% - 64px)"
142
- }
143
- }
144
- }
145
- }, ...Object.keys(r.breakpoints.values).filter((e) => e !== "xs").map((e) => ({
146
- props: {
147
- maxWidth: e
148
- },
149
- style: {
150
- maxWidth: `${r.breakpoints.values[e]}${r.breakpoints.unit}`,
151
- [`&.${T.paperScrollBody}`]: {
152
- [r.breakpoints.down(r.breakpoints.values[e] + 32 * 2)]: {
153
- maxWidth: "calc(100% - 64px)"
154
- }
155
- }
156
- }
157
- })), {
158
- props: ({
159
- ownerState: e
160
- }) => e.fullWidth,
161
- style: {
162
- width: "calc(100% - 64px)"
163
- }
164
- }, {
165
- props: ({
166
- ownerState: e
167
- }) => e.fullScreen,
168
- style: {
169
- margin: 0,
170
- width: "100%",
171
- maxWidth: "100%",
172
- height: "100%",
173
- maxHeight: "none",
174
- borderRadius: 0,
175
- [`&.${T.paperScrollBody}`]: {
176
- margin: 0,
177
- maxWidth: "100%"
178
- }
179
- }
180
- }]
181
- }))), ko = /* @__PURE__ */ f.forwardRef(function(e, t) {
182
- const a = $({
183
- props: e,
184
- name: "MuiDialog"
185
- }), n = mo(), p = {
186
- enter: n.transitions.duration.enteringScreen,
187
- exit: n.transitions.duration.leavingScreen
188
- }, {
189
- "aria-describedby": c,
190
- "aria-labelledby": g,
191
- "aria-modal": y = !0,
192
- BackdropComponent: E,
193
- BackdropProps: U,
194
- children: A,
195
- className: I,
196
- disableEscapeKeyDown: P = !1,
197
- fullScreen: V = !1,
198
- fullWidth: Y = !1,
199
- maxWidth: K = "sm",
200
- onClick: w,
201
- onClose: x,
202
- open: W,
203
- PaperComponent: L = R,
204
- PaperProps: M = {},
205
- scroll: X = "paper",
206
- slots: _ = {},
207
- slotProps: z = {},
208
- TransitionComponent: H = j,
209
- transitionDuration: O = p,
210
- TransitionProps: q,
211
- ...G
212
- } = a, s = {
213
- ...a,
214
- disableEscapeKeyDown: P,
215
- fullScreen: V,
216
- fullWidth: Y,
217
- maxWidth: K,
218
- scroll: X
219
- }, h = ho(s), v = f.useRef(), J = (u) => {
220
- v.current = u.target === u.currentTarget;
221
- }, Q = (u) => {
222
- w && w(u), v.current && (v.current = null, x && x(u, "backdropClick"));
223
- }, C = go(g), Z = f.useMemo(() => ({
224
- titleId: C
225
- }), [C]), oo = {
226
- transition: H,
227
- ..._
228
- }, eo = {
229
- transition: q,
230
- paper: M,
231
- backdrop: U,
232
- ...z
233
- }, d = {
234
- slots: oo,
235
- slotProps: eo
236
- }, [ro, to] = m("root", {
237
- elementType: vo,
238
- shouldForwardComponentProp: !0,
239
- externalForwardedProps: d,
240
- ownerState: s,
241
- className: k(h.root, I),
242
- ref: t
243
- }), [ao, no] = m("backdrop", {
244
- elementType: xo,
245
- shouldForwardComponentProp: !0,
246
- externalForwardedProps: d,
247
- ownerState: s
248
- }), [so, io] = m("paper", {
249
- elementType: To,
250
- shouldForwardComponentProp: !0,
251
- externalForwardedProps: d,
252
- ownerState: s,
253
- className: k(h.paper, M.className)
254
- }), [lo, po] = m("container", {
255
- elementType: Co,
256
- externalForwardedProps: d,
257
- ownerState: s,
258
- className: h.container
259
- }), [co, uo] = m("transition", {
260
- elementType: j,
261
- externalForwardedProps: d,
262
- ownerState: s,
263
- additionalProps: {
264
- appear: !0,
265
- in: W,
266
- timeout: O,
267
- role: "presentation"
268
- }
269
- });
270
- return /* @__PURE__ */ i(ro, {
271
- closeAfterTransition: !0,
272
- slots: {
273
- backdrop: ao
274
- },
275
- slotProps: {
276
- backdrop: {
277
- transitionDuration: O,
278
- as: E,
279
- ...no
280
- }
281
- },
282
- disableEscapeKeyDown: P,
283
- onClose: x,
284
- open: W,
285
- onClick: Q,
286
- ...to,
287
- ...G,
288
- children: /* @__PURE__ */ i(co, {
289
- ...uo,
290
- children: /* @__PURE__ */ i(lo, {
291
- onMouseDown: J,
292
- ...po,
293
- children: /* @__PURE__ */ i(so, {
294
- as: L,
295
- elevation: 24,
296
- role: "dialog",
297
- "aria-describedby": c,
298
- "aria-labelledby": C,
299
- "aria-modal": y,
300
- ...io,
301
- children: /* @__PURE__ */ i(F.Provider, {
302
- value: Z,
303
- children: A
304
- })
305
- })
306
- })
307
- })
308
- });
309
- });
310
- process.env.NODE_ENV !== "production" && (ko.propTypes = {
311
- // ┌────────────────────────────── Warning ──────────────────────────────┐
312
- // │ These PropTypes are generated from the TypeScript type definitions. │
313
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
314
- // └─────────────────────────────────────────────────────────────────────┘
315
- /**
316
- * The id(s) of the element(s) that describe the dialog.
317
- */
318
- "aria-describedby": o.string,
319
- /**
320
- * The id(s) of the element(s) that label the dialog.
321
- */
322
- "aria-labelledby": o.string,
323
- /**
324
- * Informs assistive technologies that the element is modal.
325
- * It's added on the element with role="dialog".
326
- * @default true
327
- */
328
- "aria-modal": o.oneOfType([o.oneOf(["false", "true"]), o.bool]),
329
- /**
330
- * A backdrop component. This prop enables custom backdrop rendering.
331
- * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
332
- * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
333
- * @default styled(Backdrop, {
334
- * name: 'MuiModal',
335
- * slot: 'Backdrop',
336
- * })({
337
- * zIndex: -1,
338
- * })
339
- */
340
- BackdropComponent: o.elementType,
341
- /**
342
- * @ignore
343
- */
344
- BackdropProps: o.object,
345
- /**
346
- * Dialog children, usually the included sub-components.
347
- */
348
- children: o.node,
349
- /**
350
- * Override or extend the styles applied to the component.
351
- */
352
- classes: o.object,
353
- /**
354
- * @ignore
355
- */
356
- className: o.string,
357
- /**
358
- * If `true`, hitting escape will not fire the `onClose` callback.
359
- * @default false
360
- */
361
- disableEscapeKeyDown: o.bool,
362
- /**
363
- * If `true`, the dialog is full-screen.
364
- * @default false
365
- */
366
- fullScreen: o.bool,
367
- /**
368
- * If `true`, the dialog stretches to `maxWidth`.
369
- *
370
- * Notice that the dialog width grow is limited by the default margin.
371
- * @default false
372
- */
373
- fullWidth: o.bool,
374
- /**
375
- * Determine the max-width of the dialog.
376
- * The dialog width grows with the size of the screen.
377
- * Set to `false` to disable `maxWidth`.
378
- * @default 'sm'
379
- */
380
- maxWidth: o.oneOfType([o.oneOf(["xs", "sm", "md", "lg", "xl", !1]), o.string]),
381
- /**
382
- * @ignore
383
- */
384
- onClick: o.func,
385
- /**
386
- * Callback fired when the component requests to be closed.
387
- *
388
- * @param {object} event The event source of the callback.
389
- * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
390
- */
391
- onClose: o.func,
392
- /**
393
- * If `true`, the component is shown.
394
- */
395
- open: o.bool.isRequired,
396
- /**
397
- * The component used to render the body of the dialog.
398
- * @default Paper
399
- */
400
- PaperComponent: o.elementType,
401
- /**
402
- * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
403
- * @default {}
404
- * @deprecated Use `slotProps.paper` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
405
- */
406
- PaperProps: o.object,
407
- /**
408
- * Determine the container for scrolling the dialog.
409
- * @default 'paper'
410
- */
411
- scroll: o.oneOf(["body", "paper"]),
412
- /**
413
- * The props used for each slot inside.
414
- * @default {}
415
- */
416
- slotProps: o.shape({
417
- backdrop: o.oneOfType([o.func, o.object]),
418
- container: o.oneOfType([o.func, o.object]),
419
- paper: o.oneOfType([o.func, o.object]),
420
- root: o.oneOfType([o.func, o.object]),
421
- transition: o.oneOfType([o.func, o.object])
422
- }),
423
- /**
424
- * The components used for each slot inside.
425
- * @default {}
426
- */
427
- slots: o.shape({
428
- backdrop: o.elementType,
429
- container: o.elementType,
430
- paper: o.elementType,
431
- root: o.elementType,
432
- transition: o.elementType
433
- }),
434
- /**
435
- * The system prop that allows defining system overrides as well as additional CSS styles.
436
- */
437
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
438
- /**
439
- * The component used for the transition.
440
- * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
441
- * @default Fade
442
- * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
443
- */
444
- TransitionComponent: o.elementType,
445
- /**
446
- * The duration for the transition, in milliseconds.
447
- * You may specify a single timeout for all transitions, or individually with an object.
448
- * @default {
449
- * enter: theme.transitions.duration.enteringScreen,
450
- * exit: theme.transitions.duration.leavingScreen,
451
- * }
452
- */
453
- transitionDuration: o.oneOfType([o.number, o.shape({
454
- appear: o.number,
455
- enter: o.number,
456
- exit: o.number
457
- })]),
458
- /**
459
- * Props applied to the transition element.
460
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
461
- * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
462
- */
463
- TransitionProps: o.object
464
- });
465
- function Do(r) {
466
- return D("MuiDialogContent", r);
467
- }
468
- S("MuiDialogContent", ["root", "dividers"]);
469
- function Vo(r) {
470
- return D("MuiDialogTitle", r);
471
- }
472
- const So = S("MuiDialogTitle", ["root"]), Po = (r) => {
473
- const {
474
- classes: e,
475
- dividers: t
476
- } = r;
477
- return B({
478
- root: ["root", t && "dividers"]
479
- }, Do, e);
480
- }, wo = b("div", {
481
- name: "MuiDialogContent",
482
- slot: "Root",
483
- overridesResolver: (r, e) => {
484
- const {
485
- ownerState: t
486
- } = r;
487
- return [e.root, t.dividers && e.dividers];
488
- }
489
- })(N(({
490
- theme: r
491
- }) => ({
492
- flex: "1 1 auto",
493
- // Add iOS momentum scrolling for iOS < 13.0
494
- WebkitOverflowScrolling: "touch",
495
- overflowY: "auto",
496
- padding: "20px 24px",
497
- variants: [{
498
- props: ({
499
- ownerState: e
500
- }) => e.dividers,
501
- style: {
502
- padding: "16px 24px",
503
- borderTop: `1px solid ${(r.vars || r).palette.divider}`,
504
- borderBottom: `1px solid ${(r.vars || r).palette.divider}`
505
- }
506
- }, {
507
- props: ({
508
- ownerState: e
509
- }) => !e.dividers,
510
- style: {
511
- [`.${So.root} + &`]: {
512
- paddingTop: 0
513
- }
514
- }
515
- }]
516
- }))), Wo = /* @__PURE__ */ f.forwardRef(function(e, t) {
517
- const a = $({
518
- props: e,
519
- name: "MuiDialogContent"
520
- }), {
521
- className: n,
522
- dividers: p = !1,
523
- ...c
524
- } = a, g = {
525
- ...a,
526
- dividers: p
527
- }, y = Po(g);
528
- return /* @__PURE__ */ i(wo, {
529
- className: k(y.root, n),
530
- ownerState: g,
531
- ref: t,
532
- ...c
533
- });
534
- });
535
- process.env.NODE_ENV !== "production" && (Wo.propTypes = {
536
- // ┌────────────────────────────── Warning ──────────────────────────────┐
537
- // │ These PropTypes are generated from the TypeScript type definitions. │
538
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
539
- // └─────────────────────────────────────────────────────────────────────┘
540
- /**
541
- * The content of the component.
542
- */
543
- children: o.node,
544
- /**
545
- * Override or extend the styles applied to the component.
546
- */
547
- classes: o.object,
548
- /**
549
- * @ignore
550
- */
551
- className: o.string,
552
- /**
553
- * Display the top and bottom dividers.
554
- * @default false
555
- */
556
- dividers: o.bool,
557
- /**
558
- * The system prop that allows defining system overrides as well as additional CSS styles.
559
- */
560
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
561
- });
562
- export {
563
- ko as D,
564
- Wo as a,
565
- F as b,
566
- Vo as g
567
- };
@@ -1,70 +0,0 @@
1
- import * as l from "react";
2
- import { P as o } from "./createTheme-CD19zQB7.js";
3
- import { c as f } from "./clsx-BTaloaeC.js";
4
- import { b as u, g as d } from "./DialogContent-BMwlOnbW.js";
5
- import { jsx as g } from "react/jsx-runtime";
6
- import { s as T, u as y, c as D } from "./DefaultPropsProvider-oAu9El-f.js";
7
- import { T as x } from "./Typography-pAaje37G.js";
8
- const b = (t) => {
9
- const {
10
- classes: s
11
- } = t;
12
- return D({
13
- root: ["root"]
14
- }, d, s);
15
- }, h = T(x, {
16
- name: "MuiDialogTitle",
17
- slot: "Root"
18
- })({
19
- padding: "16px 24px",
20
- flex: "0 0 auto"
21
- }), C = /* @__PURE__ */ l.forwardRef(function(s, e) {
22
- const a = y({
23
- props: s,
24
- name: "MuiDialogTitle"
25
- }), {
26
- className: n,
27
- id: r,
28
- ...c
29
- } = a, i = a, p = b(i), {
30
- titleId: m = r
31
- } = l.useContext(u);
32
- return /* @__PURE__ */ g(h, {
33
- component: "h2",
34
- className: f(p.root, n),
35
- ownerState: i,
36
- ref: e,
37
- variant: "h6",
38
- id: r ?? m,
39
- ...c
40
- });
41
- });
42
- process.env.NODE_ENV !== "production" && (C.propTypes = {
43
- // ┌────────────────────────────── Warning ──────────────────────────────┐
44
- // │ These PropTypes are generated from the TypeScript type definitions. │
45
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
46
- // └─────────────────────────────────────────────────────────────────────┘
47
- /**
48
- * The content of the component.
49
- */
50
- children: o.node,
51
- /**
52
- * Override or extend the styles applied to the component.
53
- */
54
- classes: o.object,
55
- /**
56
- * @ignore
57
- */
58
- className: o.string,
59
- /**
60
- * @ignore
61
- */
62
- id: o.string,
63
- /**
64
- * The system prop that allows defining system overrides as well as additional CSS styles.
65
- */
66
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
67
- });
68
- export {
69
- C as D
70
- };