everest-npm-features 0.0.61 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,978 +0,0 @@
1
- import * as k from "react";
2
- import { g as R, b as z, P as e } from "./createTheme-CD19zQB7.js";
3
- import { c as j } from "./clsx-BTaloaeC.js";
4
- import { g as q } from "./generateUtilityClasses-BRiE4Guh.js";
5
- import { u as O } from "./useSlot-CW7SOYlh.js";
6
- import { jsx as F, jsxs as V } from "react/jsx-runtime";
7
- import { s as C, u as N, c as H, r as Ie } from "./DefaultPropsProvider-oAu9El-f.js";
8
- import { f as W, F as Le } from "./FormControl-RtZDQMdA.js";
9
- import { u as ke } from "./useId-CK6Kn3Tn.js";
10
- import { u as D } from "./useFormControl-CatNKXAi.js";
11
- import { m as M } from "./memoTheme-yHaPezod.js";
12
- import { c as Re } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
13
- import { S as ze, I as je, O as qe } from "./Select-CB5yWmyn.js";
14
- import { r as Ne } from "./refType-BsTH3qnM.js";
15
- import { F as He } from "./FilledInput-DuNqnPjc.js";
16
- function Me(o) {
17
- return R("MuiFormHelperText", o);
18
- }
19
- const X = q("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
20
- var Y;
21
- const $e = (o) => {
22
- const {
23
- classes: r,
24
- contained: t,
25
- size: s,
26
- disabled: l,
27
- error: a,
28
- filled: i,
29
- focused: p,
30
- required: d
31
- } = o, m = {
32
- root: ["root", l && "disabled", a && "error", s && `size${z(s)}`, t && "contained", p && "focused", i && "filled", d && "required"]
33
- };
34
- return H(m, Me, r);
35
- }, Ee = C("p", {
36
- name: "MuiFormHelperText",
37
- slot: "Root",
38
- overridesResolver: (o, r) => {
39
- const {
40
- ownerState: t
41
- } = o;
42
- return [r.root, t.size && r[`size${z(t.size)}`], t.contained && r.contained, t.filled && r.filled];
43
- }
44
- })(M(({
45
- theme: o
46
- }) => ({
47
- color: (o.vars || o).palette.text.secondary,
48
- ...o.typography.caption,
49
- textAlign: "left",
50
- marginTop: 3,
51
- marginRight: 0,
52
- marginBottom: 0,
53
- marginLeft: 0,
54
- [`&.${X.disabled}`]: {
55
- color: (o.vars || o).palette.text.disabled
56
- },
57
- [`&.${X.error}`]: {
58
- color: (o.vars || o).palette.error.main
59
- },
60
- variants: [{
61
- props: {
62
- size: "small"
63
- },
64
- style: {
65
- marginTop: 4
66
- }
67
- }, {
68
- props: ({
69
- ownerState: r
70
- }) => r.contained,
71
- style: {
72
- marginLeft: 14,
73
- marginRight: 14
74
- }
75
- }]
76
- }))), Z = /* @__PURE__ */ k.forwardRef(function(r, t) {
77
- const s = N({
78
- props: r,
79
- name: "MuiFormHelperText"
80
- }), {
81
- children: l,
82
- className: a,
83
- component: i = "p",
84
- disabled: p,
85
- error: d,
86
- filled: m,
87
- focused: c,
88
- margin: b,
89
- required: x,
90
- variant: y,
91
- ...f
92
- } = s, u = D(), n = W({
93
- props: s,
94
- muiFormControl: u,
95
- states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
96
- }), T = {
97
- ...s,
98
- component: i,
99
- contained: n.variant === "filled" || n.variant === "outlined",
100
- variant: n.variant,
101
- size: n.size,
102
- disabled: n.disabled,
103
- error: n.error,
104
- filled: n.filled,
105
- focused: n.focused,
106
- required: n.required
107
- };
108
- delete T.ownerState;
109
- const $ = $e(T);
110
- return /* @__PURE__ */ F(Ee, {
111
- as: i,
112
- className: j($.root, a),
113
- ref: t,
114
- ...f,
115
- ownerState: T,
116
- children: l === " " ? (
117
- // notranslate needed while Google Translate will not fix zero-width space issue
118
- Y || (Y = /* @__PURE__ */ F("span", {
119
- className: "notranslate",
120
- "aria-hidden": !0,
121
- children: "​"
122
- }))
123
- ) : l
124
- });
125
- });
126
- process.env.NODE_ENV !== "production" && (Z.propTypes = {
127
- // ┌────────────────────────────── Warning ──────────────────────────────┐
128
- // │ These PropTypes are generated from the TypeScript type definitions. │
129
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
130
- // └─────────────────────────────────────────────────────────────────────┘
131
- /**
132
- * The content of the component.
133
- *
134
- * If `' '` is provided, the component reserves one line height for displaying a future message.
135
- */
136
- children: e.node,
137
- /**
138
- * Override or extend the styles applied to the component.
139
- */
140
- classes: e.object,
141
- /**
142
- * @ignore
143
- */
144
- className: e.string,
145
- /**
146
- * The component used for the root node.
147
- * Either a string to use a HTML element or a component.
148
- */
149
- component: e.elementType,
150
- /**
151
- * If `true`, the helper text should be displayed in a disabled state.
152
- */
153
- disabled: e.bool,
154
- /**
155
- * If `true`, helper text should be displayed in an error state.
156
- */
157
- error: e.bool,
158
- /**
159
- * If `true`, the helper text should use filled classes key.
160
- */
161
- filled: e.bool,
162
- /**
163
- * If `true`, the helper text should use focused classes key.
164
- */
165
- focused: e.bool,
166
- /**
167
- * If `dense`, will adjust vertical spacing. This is normally obtained via context from
168
- * FormControl.
169
- */
170
- margin: e.oneOf(["dense"]),
171
- /**
172
- * If `true`, the helper text should use required classes key.
173
- */
174
- required: e.bool,
175
- /**
176
- * The system prop that allows defining system overrides as well as additional CSS styles.
177
- */
178
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
179
- /**
180
- * The variant to use.
181
- */
182
- variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
183
- });
184
- function Ue(o) {
185
- return R("MuiFormLabel", o);
186
- }
187
- const S = q("MuiFormLabel", ["root", "colorSecondary", "focused", "disabled", "error", "filled", "required", "asterisk"]), Ae = (o) => {
188
- const {
189
- classes: r,
190
- color: t,
191
- focused: s,
192
- disabled: l,
193
- error: a,
194
- filled: i,
195
- required: p
196
- } = o, d = {
197
- root: ["root", `color${z(t)}`, l && "disabled", a && "error", i && "filled", s && "focused", p && "required"],
198
- asterisk: ["asterisk", a && "error"]
199
- };
200
- return H(d, Ue, r);
201
- }, Ve = C("label", {
202
- name: "MuiFormLabel",
203
- slot: "Root",
204
- overridesResolver: (o, r) => {
205
- const {
206
- ownerState: t
207
- } = o;
208
- return [r.root, t.color === "secondary" && r.colorSecondary, t.filled && r.filled];
209
- }
210
- })(M(({
211
- theme: o
212
- }) => ({
213
- color: (o.vars || o).palette.text.secondary,
214
- ...o.typography.body1,
215
- lineHeight: "1.4375em",
216
- padding: 0,
217
- position: "relative",
218
- variants: [...Object.entries(o.palette).filter(Re()).map(([r]) => ({
219
- props: {
220
- color: r
221
- },
222
- style: {
223
- [`&.${S.focused}`]: {
224
- color: (o.vars || o).palette[r].main
225
- }
226
- }
227
- })), {
228
- props: {},
229
- style: {
230
- [`&.${S.disabled}`]: {
231
- color: (o.vars || o).palette.text.disabled
232
- },
233
- [`&.${S.error}`]: {
234
- color: (o.vars || o).palette.error.main
235
- }
236
- }
237
- }]
238
- }))), We = C("span", {
239
- name: "MuiFormLabel",
240
- slot: "Asterisk"
241
- })(M(({
242
- theme: o
243
- }) => ({
244
- [`&.${S.error}`]: {
245
- color: (o.vars || o).palette.error.main
246
- }
247
- }))), ee = /* @__PURE__ */ k.forwardRef(function(r, t) {
248
- const s = N({
249
- props: r,
250
- name: "MuiFormLabel"
251
- }), {
252
- children: l,
253
- className: a,
254
- color: i,
255
- component: p = "label",
256
- disabled: d,
257
- error: m,
258
- filled: c,
259
- focused: b,
260
- required: x,
261
- ...y
262
- } = s, f = D(), u = W({
263
- props: s,
264
- muiFormControl: f,
265
- states: ["color", "required", "focused", "disabled", "error", "filled"]
266
- }), n = {
267
- ...s,
268
- color: u.color || "primary",
269
- component: p,
270
- disabled: u.disabled,
271
- error: u.error,
272
- filled: u.filled,
273
- focused: u.focused,
274
- required: u.required
275
- }, T = Ae(n);
276
- return /* @__PURE__ */ V(Ve, {
277
- as: p,
278
- ownerState: n,
279
- className: j(T.root, a),
280
- ref: t,
281
- ...y,
282
- children: [l, u.required && /* @__PURE__ */ V(We, {
283
- ownerState: n,
284
- "aria-hidden": !0,
285
- className: T.asterisk,
286
- children: [" ", "*"]
287
- })]
288
- });
289
- });
290
- process.env.NODE_ENV !== "production" && (ee.propTypes = {
291
- // ┌────────────────────────────── Warning ──────────────────────────────┐
292
- // │ These PropTypes are generated from the TypeScript type definitions. │
293
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
294
- // └─────────────────────────────────────────────────────────────────────┘
295
- /**
296
- * The content of the component.
297
- */
298
- children: e.node,
299
- /**
300
- * Override or extend the styles applied to the component.
301
- */
302
- classes: e.object,
303
- /**
304
- * @ignore
305
- */
306
- className: e.string,
307
- /**
308
- * The color of the component.
309
- * It supports both default and custom theme colors, which can be added as shown in the
310
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
311
- */
312
- color: e.oneOfType([e.oneOf(["error", "info", "primary", "secondary", "success", "warning"]), e.string]),
313
- /**
314
- * The component used for the root node.
315
- * Either a string to use a HTML element or a component.
316
- */
317
- component: e.elementType,
318
- /**
319
- * If `true`, the label should be displayed in a disabled state.
320
- */
321
- disabled: e.bool,
322
- /**
323
- * If `true`, the label is displayed in an error state.
324
- */
325
- error: e.bool,
326
- /**
327
- * If `true`, the label should use filled classes key.
328
- */
329
- filled: e.bool,
330
- /**
331
- * If `true`, the input of this label is focused (used by `FormGroup` components).
332
- */
333
- focused: e.bool,
334
- /**
335
- * If `true`, the label will indicate that the `input` is required.
336
- */
337
- required: e.bool,
338
- /**
339
- * The system prop that allows defining system overrides as well as additional CSS styles.
340
- */
341
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
342
- });
343
- function De(o) {
344
- return R("MuiInputLabel", o);
345
- }
346
- q("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]);
347
- const _e = (o) => {
348
- const {
349
- classes: r,
350
- formControl: t,
351
- size: s,
352
- shrink: l,
353
- disableAnimation: a,
354
- variant: i,
355
- required: p
356
- } = o, d = {
357
- root: ["root", t && "formControl", !a && "animated", l && "shrink", s && s !== "medium" && `size${z(s)}`, i],
358
- asterisk: [p && "asterisk"]
359
- }, m = H(d, De, r);
360
- return {
361
- ...r,
362
- // forward the focused, disabled, etc. classes to the FormLabel
363
- ...m
364
- };
365
- }, Be = C(ee, {
366
- shouldForwardProp: (o) => Ie(o) || o === "classes",
367
- name: "MuiInputLabel",
368
- slot: "Root",
369
- overridesResolver: (o, r) => {
370
- const {
371
- ownerState: t
372
- } = o;
373
- return [{
374
- [`& .${S.asterisk}`]: r.asterisk
375
- }, r.root, t.formControl && r.formControl, t.size === "small" && r.sizeSmall, t.shrink && r.shrink, !t.disableAnimation && r.animated, t.focused && r.focused, r[t.variant]];
376
- }
377
- })(M(({
378
- theme: o
379
- }) => ({
380
- display: "block",
381
- transformOrigin: "top left",
382
- whiteSpace: "nowrap",
383
- overflow: "hidden",
384
- textOverflow: "ellipsis",
385
- maxWidth: "100%",
386
- variants: [{
387
- props: ({
388
- ownerState: r
389
- }) => r.formControl,
390
- style: {
391
- position: "absolute",
392
- left: 0,
393
- top: 0,
394
- // slight alteration to spec spacing to match visual spec result
395
- transform: "translate(0, 20px) scale(1)"
396
- }
397
- }, {
398
- props: {
399
- size: "small"
400
- },
401
- style: {
402
- // Compensation for the `Input.inputSizeSmall` style.
403
- transform: "translate(0, 17px) scale(1)"
404
- }
405
- }, {
406
- props: ({
407
- ownerState: r
408
- }) => r.shrink,
409
- style: {
410
- transform: "translate(0, -1.5px) scale(0.75)",
411
- transformOrigin: "top left",
412
- maxWidth: "133%"
413
- }
414
- }, {
415
- props: ({
416
- ownerState: r
417
- }) => !r.disableAnimation,
418
- style: {
419
- transition: o.transitions.create(["color", "transform", "max-width"], {
420
- duration: o.transitions.duration.shorter,
421
- easing: o.transitions.easing.easeOut
422
- })
423
- }
424
- }, {
425
- props: {
426
- variant: "filled"
427
- },
428
- style: {
429
- // Chrome's autofill feature gives the input field a yellow background.
430
- // Since the input field is behind the label in the HTML tree,
431
- // the input field is drawn last and hides the label with an opaque background color.
432
- // zIndex: 1 will raise the label above opaque background-colors of input.
433
- zIndex: 1,
434
- pointerEvents: "none",
435
- transform: "translate(12px, 16px) scale(1)",
436
- maxWidth: "calc(100% - 24px)"
437
- }
438
- }, {
439
- props: {
440
- variant: "filled",
441
- size: "small"
442
- },
443
- style: {
444
- transform: "translate(12px, 13px) scale(1)"
445
- }
446
- }, {
447
- props: ({
448
- variant: r,
449
- ownerState: t
450
- }) => r === "filled" && t.shrink,
451
- style: {
452
- userSelect: "none",
453
- pointerEvents: "auto",
454
- transform: "translate(12px, 7px) scale(0.75)",
455
- maxWidth: "calc(133% - 24px)"
456
- }
457
- }, {
458
- props: ({
459
- variant: r,
460
- ownerState: t,
461
- size: s
462
- }) => r === "filled" && t.shrink && s === "small",
463
- style: {
464
- transform: "translate(12px, 4px) scale(0.75)"
465
- }
466
- }, {
467
- props: {
468
- variant: "outlined"
469
- },
470
- style: {
471
- // see comment above on filled.zIndex
472
- zIndex: 1,
473
- pointerEvents: "none",
474
- transform: "translate(14px, 16px) scale(1)",
475
- maxWidth: "calc(100% - 24px)"
476
- }
477
- }, {
478
- props: {
479
- variant: "outlined",
480
- size: "small"
481
- },
482
- style: {
483
- transform: "translate(14px, 9px) scale(1)"
484
- }
485
- }, {
486
- props: ({
487
- variant: r,
488
- ownerState: t
489
- }) => r === "outlined" && t.shrink,
490
- style: {
491
- userSelect: "none",
492
- pointerEvents: "auto",
493
- // Theoretically, we should have (8+5)*2/0.75 = 34px
494
- // but it feels a better when it bleeds a bit on the left, so 32px.
495
- maxWidth: "calc(133% - 32px)",
496
- transform: "translate(14px, -9px) scale(0.75)"
497
- }
498
- }]
499
- }))), oe = /* @__PURE__ */ k.forwardRef(function(r, t) {
500
- const s = N({
501
- name: "MuiInputLabel",
502
- props: r
503
- }), {
504
- disableAnimation: l = !1,
505
- margin: a,
506
- shrink: i,
507
- variant: p,
508
- className: d,
509
- ...m
510
- } = s, c = D();
511
- let b = i;
512
- typeof b > "u" && c && (b = c.filled || c.focused || c.adornedStart);
513
- const x = W({
514
- props: s,
515
- muiFormControl: c,
516
- states: ["size", "variant", "required", "focused"]
517
- }), y = {
518
- ...s,
519
- disableAnimation: l,
520
- formControl: c,
521
- shrink: b,
522
- size: x.size,
523
- variant: x.variant,
524
- required: x.required,
525
- focused: x.focused
526
- }, f = _e(y);
527
- return /* @__PURE__ */ F(Be, {
528
- "data-shrink": b,
529
- ref: t,
530
- className: j(f.root, d),
531
- ...m,
532
- ownerState: y,
533
- classes: f
534
- });
535
- });
536
- process.env.NODE_ENV !== "production" && (oe.propTypes = {
537
- // ┌────────────────────────────── Warning ──────────────────────────────┐
538
- // │ These PropTypes are generated from the TypeScript type definitions. │
539
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
540
- // └─────────────────────────────────────────────────────────────────────┘
541
- /**
542
- * The content of the component.
543
- */
544
- children: e.node,
545
- /**
546
- * Override or extend the styles applied to the component.
547
- */
548
- classes: e.object,
549
- /**
550
- * @ignore
551
- */
552
- className: e.string,
553
- /**
554
- * The color of the component.
555
- * It supports both default and custom theme colors, which can be added as shown in the
556
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
557
- */
558
- color: e.oneOfType([e.oneOf(["error", "info", "primary", "secondary", "success", "warning"]), e.string]),
559
- /**
560
- * If `true`, the transition animation is disabled.
561
- * @default false
562
- */
563
- disableAnimation: e.bool,
564
- /**
565
- * If `true`, the component is disabled.
566
- */
567
- disabled: e.bool,
568
- /**
569
- * If `true`, the label is displayed in an error state.
570
- */
571
- error: e.bool,
572
- /**
573
- * If `true`, the `input` of this label is focused.
574
- */
575
- focused: e.bool,
576
- /**
577
- * If `dense`, will adjust vertical spacing. This is normally obtained via context from
578
- * FormControl.
579
- */
580
- margin: e.oneOf(["dense"]),
581
- /**
582
- * if `true`, the label will indicate that the `input` is required.
583
- */
584
- required: e.bool,
585
- /**
586
- * If `true`, the label is shrunk.
587
- */
588
- shrink: e.bool,
589
- /**
590
- * The size of the component.
591
- * @default 'medium'
592
- */
593
- size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
594
- /**
595
- * The system prop that allows defining system overrides as well as additional CSS styles.
596
- */
597
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
598
- /**
599
- * The variant to use.
600
- */
601
- variant: e.oneOf(["filled", "outlined", "standard"])
602
- });
603
- function Ge(o) {
604
- return R("MuiTextField", o);
605
- }
606
- q("MuiTextField", ["root"]);
607
- const Je = {
608
- standard: je,
609
- filled: He,
610
- outlined: qe
611
- }, Ke = (o) => {
612
- const {
613
- classes: r
614
- } = o;
615
- return H({
616
- root: ["root"]
617
- }, Ge, r);
618
- }, Qe = C(Le, {
619
- name: "MuiTextField",
620
- slot: "Root"
621
- })({}), Xe = /* @__PURE__ */ k.forwardRef(function(r, t) {
622
- const s = N({
623
- props: r,
624
- name: "MuiTextField"
625
- }), {
626
- autoComplete: l,
627
- autoFocus: a = !1,
628
- children: i,
629
- className: p,
630
- color: d = "primary",
631
- defaultValue: m,
632
- disabled: c = !1,
633
- error: b = !1,
634
- FormHelperTextProps: x,
635
- fullWidth: y = !1,
636
- helperText: f,
637
- id: u,
638
- InputLabelProps: n,
639
- inputProps: T,
640
- InputProps: $,
641
- inputRef: re,
642
- label: P,
643
- maxRows: te,
644
- minRows: se,
645
- multiline: _ = !1,
646
- name: ne,
647
- onBlur: le,
648
- onChange: ae,
649
- onFocus: ie,
650
- placeholder: pe,
651
- required: B = !1,
652
- rows: de,
653
- select: I = !1,
654
- SelectProps: E,
655
- slots: G = {},
656
- slotProps: ce = {},
657
- type: ue,
658
- value: J,
659
- variant: L = "outlined",
660
- ...fe
661
- } = s, h = {
662
- ...s,
663
- autoFocus: a,
664
- color: d,
665
- disabled: c,
666
- error: b,
667
- fullWidth: y,
668
- multiline: _,
669
- required: B,
670
- select: I,
671
- variant: L
672
- }, me = Ke(h);
673
- process.env.NODE_ENV !== "production" && I && !i && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
674
- const v = ke(u), U = f && v ? `${v}-helper-text` : void 0, K = P && v ? `${v}-label` : void 0, be = Je[L], g = {
675
- slots: G,
676
- slotProps: {
677
- input: $,
678
- inputLabel: n,
679
- htmlInput: T,
680
- formHelperText: x,
681
- select: E,
682
- ...ce
683
- }
684
- }, w = {}, A = g.slotProps.inputLabel;
685
- L === "outlined" && (A && typeof A.shrink < "u" && (w.notched = A.shrink), w.label = P), I && ((!E || !E.native) && (w.id = void 0), w["aria-describedby"] = void 0);
686
- const [ye, xe] = O("root", {
687
- elementType: Qe,
688
- shouldForwardComponentProp: !0,
689
- externalForwardedProps: {
690
- ...g,
691
- ...fe
692
- },
693
- ownerState: h,
694
- className: j(me.root, p),
695
- ref: t,
696
- additionalProps: {
697
- disabled: c,
698
- error: b,
699
- fullWidth: y,
700
- required: B,
701
- color: d,
702
- variant: L
703
- }
704
- }), [Te, he] = O("input", {
705
- elementType: be,
706
- externalForwardedProps: g,
707
- additionalProps: w,
708
- ownerState: h
709
- }), [ve, ge] = O("inputLabel", {
710
- elementType: oe,
711
- externalForwardedProps: g,
712
- ownerState: h
713
- }), [Fe, Oe] = O("htmlInput", {
714
- elementType: "input",
715
- externalForwardedProps: g,
716
- ownerState: h
717
- }), [Pe, we] = O("formHelperText", {
718
- elementType: Z,
719
- externalForwardedProps: g,
720
- ownerState: h
721
- }), [Se, Ce] = O("select", {
722
- elementType: ze,
723
- externalForwardedProps: g,
724
- ownerState: h
725
- }), Q = /* @__PURE__ */ F(Te, {
726
- "aria-describedby": U,
727
- autoComplete: l,
728
- autoFocus: a,
729
- defaultValue: m,
730
- fullWidth: y,
731
- multiline: _,
732
- name: ne,
733
- rows: de,
734
- maxRows: te,
735
- minRows: se,
736
- type: ue,
737
- value: J,
738
- id: v,
739
- inputRef: re,
740
- onBlur: le,
741
- onChange: ae,
742
- onFocus: ie,
743
- placeholder: pe,
744
- inputProps: Oe,
745
- slots: {
746
- input: G.htmlInput ? Fe : void 0
747
- },
748
- ...he
749
- });
750
- return /* @__PURE__ */ V(ye, {
751
- ...xe,
752
- children: [P != null && P !== "" && /* @__PURE__ */ F(ve, {
753
- htmlFor: v,
754
- id: K,
755
- ...ge,
756
- children: P
757
- }), I ? /* @__PURE__ */ F(Se, {
758
- "aria-describedby": U,
759
- id: v,
760
- labelId: K,
761
- value: J,
762
- input: Q,
763
- ...Ce,
764
- children: i
765
- }) : Q, f && /* @__PURE__ */ F(Pe, {
766
- id: U,
767
- ...we,
768
- children: f
769
- })]
770
- });
771
- });
772
- process.env.NODE_ENV !== "production" && (Xe.propTypes = {
773
- // ┌────────────────────────────── Warning ──────────────────────────────┐
774
- // │ These PropTypes are generated from the TypeScript type definitions. │
775
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
776
- // └─────────────────────────────────────────────────────────────────────┘
777
- /**
778
- * This prop helps users to fill forms faster, especially on mobile devices.
779
- * The name can be confusing, as it's more like an autofill.
780
- * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
781
- */
782
- autoComplete: e.string,
783
- /**
784
- * If `true`, the `input` element is focused during the first mount.
785
- * @default false
786
- */
787
- autoFocus: e.bool,
788
- /**
789
- * @ignore
790
- */
791
- children: e.node,
792
- /**
793
- * Override or extend the styles applied to the component.
794
- */
795
- classes: e.object,
796
- /**
797
- * @ignore
798
- */
799
- className: e.string,
800
- /**
801
- * The color of the component.
802
- * It supports both default and custom theme colors, which can be added as shown in the
803
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
804
- * @default 'primary'
805
- */
806
- color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
807
- /**
808
- * The default value. Use when the component is not controlled.
809
- */
810
- defaultValue: e.any,
811
- /**
812
- * If `true`, the component is disabled.
813
- * @default false
814
- */
815
- disabled: e.bool,
816
- /**
817
- * If `true`, the label is displayed in an error state.
818
- * @default false
819
- */
820
- error: e.bool,
821
- /**
822
- * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
823
- * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
824
- */
825
- FormHelperTextProps: e.object,
826
- /**
827
- * If `true`, the input will take up the full width of its container.
828
- * @default false
829
- */
830
- fullWidth: e.bool,
831
- /**
832
- * The helper text content.
833
- */
834
- helperText: e.node,
835
- /**
836
- * The id of the `input` element.
837
- * Use this prop to make `label` and `helperText` accessible for screen readers.
838
- */
839
- id: e.string,
840
- /**
841
- * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
842
- * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
843
- * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
844
- */
845
- InputLabelProps: e.object,
846
- /**
847
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
848
- * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
849
- */
850
- inputProps: e.object,
851
- /**
852
- * Props applied to the Input element.
853
- * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
854
- * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
855
- * component depending on the `variant` prop value.
856
- * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
857
- */
858
- InputProps: e.object,
859
- /**
860
- * Pass a ref to the `input` element.
861
- */
862
- inputRef: Ne,
863
- /**
864
- * The label content.
865
- */
866
- label: e.node,
867
- /**
868
- * If `dense` or `normal`, will adjust vertical spacing of this and contained components.
869
- * @default 'none'
870
- */
871
- margin: e.oneOf(["dense", "none", "normal"]),
872
- /**
873
- * Maximum number of rows to display when multiline option is set to true.
874
- */
875
- maxRows: e.oneOfType([e.number, e.string]),
876
- /**
877
- * Minimum number of rows to display when multiline option is set to true.
878
- */
879
- minRows: e.oneOfType([e.number, e.string]),
880
- /**
881
- * If `true`, a `textarea` element is rendered instead of an input.
882
- * @default false
883
- */
884
- multiline: e.bool,
885
- /**
886
- * Name attribute of the `input` element.
887
- */
888
- name: e.string,
889
- /**
890
- * @ignore
891
- */
892
- onBlur: e.func,
893
- /**
894
- * Callback fired when the value is changed.
895
- *
896
- * @param {object} event The event source of the callback.
897
- * You can pull out the new value by accessing `event.target.value` (string).
898
- */
899
- onChange: e.func,
900
- /**
901
- * @ignore
902
- */
903
- onFocus: e.func,
904
- /**
905
- * The short hint displayed in the `input` before the user enters a value.
906
- */
907
- placeholder: e.string,
908
- /**
909
- * If `true`, the label is displayed as required and the `input` element is required.
910
- * @default false
911
- */
912
- required: e.bool,
913
- /**
914
- * Number of rows to display when multiline option is set to true.
915
- */
916
- rows: e.oneOfType([e.number, e.string]),
917
- /**
918
- * Render a [`Select`](https://mui.com/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.
919
- * If this option is set you must pass the options of the select as children.
920
- * @default false
921
- */
922
- select: e.bool,
923
- /**
924
- * Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
925
- * @deprecated Use `slotProps.select` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
926
- */
927
- SelectProps: e.object,
928
- /**
929
- * The size of the component.
930
- * @default 'medium'
931
- */
932
- size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
933
- /**
934
- * The props used for each slot inside.
935
- * @default {}
936
- */
937
- slotProps: e.shape({
938
- formHelperText: e.oneOfType([e.func, e.object]),
939
- htmlInput: e.oneOfType([e.func, e.object]),
940
- input: e.oneOfType([e.func, e.object]),
941
- inputLabel: e.oneOfType([e.func, e.object]),
942
- select: e.oneOfType([e.func, e.object])
943
- }),
944
- /**
945
- * The components used for each slot inside.
946
- * @default {}
947
- */
948
- slots: e.shape({
949
- formHelperText: e.elementType,
950
- htmlInput: e.elementType,
951
- input: e.elementType,
952
- inputLabel: e.elementType,
953
- root: e.elementType,
954
- select: e.elementType
955
- }),
956
- /**
957
- * The system prop that allows defining system overrides as well as additional CSS styles.
958
- */
959
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
960
- /**
961
- * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
962
- */
963
- type: e.string,
964
- /**
965
- * The value of the `input` element, required for a controlled component.
966
- */
967
- value: e.any,
968
- /**
969
- * The variant to use.
970
- * @default 'outlined'
971
- */
972
- variant: e.oneOf(["filled", "outlined", "standard"])
973
- });
974
- export {
975
- Z as F,
976
- oe as I,
977
- Xe as T
978
- };