@clearstory/drywall-react 5.3.2 → 7.0.0

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 (253) hide show
  1. package/dist/{Accordion-DsTwQkV4.js → Accordion-BsHUL286.js} +5 -5
  2. package/dist/{AccordionActions-L21Aj5lh.js → AccordionActions-4Ib1j4O_.js} +1 -1
  3. package/dist/{AccordionDetails-Vkh8-XxB.js → AccordionDetails-BIg3WsU5.js} +2 -2
  4. package/dist/{AccordionSummary-CmaoAjhY.js → AccordionSummary-Dc7nj11o.js} +3 -3
  5. package/dist/{AdapterDayjs-CROwpFLu.js → AdapterDayjs-CYYeILyK.js} +1 -1
  6. package/dist/{Alert-CMRw5H2i.js → Alert-Dfl1Khby.js} +7 -7
  7. package/dist/{AlertTitle-1LYXa5e7.js → AlertTitle-VVwCVZYG.js} +3 -3
  8. package/dist/{ArrowDropDown-CpR6Sb-x.js → ArrowDropDown-DQQG1hDJ.js} +2 -2
  9. package/dist/{Autocomplete-ByiENcHd.js → Autocomplete-DG51WhfR.js} +12 -12
  10. package/dist/{Avatar-CVN_sISr.js → Avatar-Tq-lIvMN.js} +3 -3
  11. package/dist/{AvatarGroup-4vfSz-PC.js → AvatarGroup-CIrXsp4z.js} +4 -4
  12. package/dist/{Backdrop-CvXmU9nP.js → Backdrop-DPvRl1zZ.js} +2 -2
  13. package/dist/{Badge-xO2A6UtP.js → Badge-BEVVgsje.js} +3 -3
  14. package/dist/{Box-DRIsV4J3.js → Box-Cd1YLOZ-.js} +3 -3
  15. package/dist/{Breadcrumbs-C6IvNkJk.js → Breadcrumbs-CFlvMfCb.js} +6 -6
  16. package/dist/{Button-CUl6Z1bM.js → Button-DryY7NPT.js} +5 -5
  17. package/dist/{ButtonBase-sOMllYPF.js → ButtonBase-6EprNl2X.js} +1 -1
  18. package/dist/{ButtonGroup-BCAFY0lq.js → ButtonGroup-GJATBD_c.js} +3 -3
  19. package/dist/{Card-fbliA_F9.js → Card-DBCbdVU2.js} +2 -2
  20. package/dist/{CardActionArea-BOqtC3NS.js → CardActionArea-BNb8G37z.js} +3 -3
  21. package/dist/{CardActions-C2qAKvYG.js → CardActions-DfmPr0gn.js} +1 -1
  22. package/dist/{CardContent-Cr-99or3.js → CardContent-DA4dkHBt.js} +1 -1
  23. package/dist/{CardHeader-BvvTaPUv.js → CardHeader-Br6uwVrD.js} +2 -2
  24. package/dist/{CardMedia-Bh9X1Ecc.js → CardMedia-87tscu3v.js} +1 -1
  25. package/dist/{Checkbox-0V6Yy2lG.js → Checkbox-D3GsjNS3.js} +5 -5
  26. package/dist/{Chip-DAwDUQgy.js → Chip-ChFTXi3v.js} +5 -5
  27. package/dist/{CircularProgress-BL36kuy5.js → CircularProgress-p7Gq5t6L.js} +3 -3
  28. package/dist/{Clear-BX3xsbCY.js → Clear-CFMBhrck.js} +1 -1
  29. package/dist/{Close-B446Lybf.js → Close-CaDQwoD1.js} +1 -1
  30. package/dist/{Close-C2_eLkhZ.js → Close-lJmbkALB.js} +1 -1
  31. package/dist/{Collapse-C2AFUmVW.js → Collapse-0Er5Sz5z.js} +4 -4
  32. package/dist/{CssBaseline-BYGHpCrN.js → CssBaseline-Cd0iXsQU.js} +1 -1
  33. package/dist/{Datepicker-BbdXCdvk.js → Datepicker-e89VG7du.js} +29 -29
  34. package/dist/{Dialog-oPKzro59.js → Dialog-DUKrtDDF.js} +8 -8
  35. package/dist/{DialogActions-BRC0yQxA.js → DialogActions-Ct2qdXd6.js} +1 -1
  36. package/dist/{DialogContent-CleX6liG.js → DialogContent-Ch2mnmQi.js} +2 -2
  37. package/dist/{DialogContentText-SFI1f9BE.js → DialogContentText-BBc1ck5w.js} +2 -2
  38. package/dist/{DialogTitle-N0_CfiI0.js → DialogTitle-BYmZnfik.js} +2 -2
  39. package/dist/{Divider-Crp-cD16.js → Divider-ycx7AMFV.js} +2 -2
  40. package/dist/{Drawer-C5QtOOvf.js → Drawer-DLSoa2I3.js} +7 -7
  41. package/dist/{Fade-u5tWcT4o.js → Fade-BZd1kkqK.js} +1 -1
  42. package/dist/{FormControl-DRR12yE7.js → FormControl-CpqxugQk.js} +2 -2
  43. package/dist/{FormControlLabel-DIUWtdgI.js → FormControlLabel-CxehHu9o.js} +4 -4
  44. package/dist/{FormGroup-De8mcanm.js → FormGroup-FX1e1oPO.js} +1 -1
  45. package/dist/{FormHelperText-CmONy7Rj.js → FormHelperText-RAXwx2JF.js} +3 -3
  46. package/dist/{FormLabel-r7XSjt-O.js → FormLabel-DXsbRwTS.js} +3 -3
  47. package/dist/{GlobalStyles-DMJykQ5R.js → GlobalStyles-BqCTWHBT.js} +1 -1
  48. package/dist/{Grow-BxcnX1h6.js → Grow-Be_BslSM.js} +1 -1
  49. package/dist/{IconButton-CxPeGp7M.js → IconButton-D3kPVOmj.js} +5 -5
  50. package/dist/{Info-BIwRC_L9.js → Info-B3KWVOXO.js} +1 -1
  51. package/dist/{InputAdornment-DotstpVf.js → InputAdornment-DsE-yUEZ.js} +4 -4
  52. package/dist/InputBase-Dab955T6.js +648 -0
  53. package/dist/{KeyboardArrowRight-Blb72ZVb.js → KeyboardArrowRight-oiZtLJ6Q.js} +1 -1
  54. package/dist/{LinearProgress-dgGy3j_3.js → LinearProgress-CaUqErK0.js} +3 -3
  55. package/dist/{Link-CaDghPux.js → Link-BFT7iy4g.js} +5 -5
  56. package/dist/{List-cWz0PH7P.js → List-Dv9tf8iZ.js} +1 -1
  57. package/dist/{ListItem-Cy6ddrqC.js → ListItem-VHCeeUFy.js} +2 -2
  58. package/dist/{ListItemAvatar-2nC-p706.js → ListItemAvatar-BPERHU0-.js} +1 -1
  59. package/dist/{ListItemButton-D17P7zbm.js → ListItemButton-DGhq5uuh.js} +3 -3
  60. package/dist/{ListItemIcon-RBnXnRIX.js → ListItemIcon-BC3sbSFT.js} +2 -2
  61. package/dist/{ListItemText-C4XjsjPe.js → ListItemText-Cw5ZVTv-.js} +2 -2
  62. package/dist/{ListSubheader-Dr443Sr5.js → ListSubheader-DoqnloIr.js} +3 -3
  63. package/dist/{Menu-CCiom50Z.js → Menu-DKJf-zB8.js} +4 -4
  64. package/dist/{MenuItem-DHXbU6OE.js → MenuItem-D21TDo3G.js} +3 -3
  65. package/dist/{MenuList-C5RKUMIo.js → MenuList-BI70VkVk.js} +2 -2
  66. package/dist/{Modal-BC16DZHY.js → Modal-BY3aNTGo.js} +3 -3
  67. package/dist/{Paper-COvzoSpI.js → Paper-BnDCvNy8.js} +4 -4
  68. package/dist/{Popover-BV7s_KXx.js → Popover-BqaNmmBN.js} +4 -4
  69. package/dist/{Popper-JL6hDc7M.js → Popper-BNAb-qpg.js} +1 -1
  70. package/dist/{Radio-BVPgbnjg.js → Radio-B6ofhFJI.js} +5 -5
  71. package/dist/{RadioGroup-i1LrWzVl.js → RadioGroup-CDB3As1a.js} +1 -1
  72. package/dist/{Select-NMI0Dg3g.js → Select-CtPZNPng.js} +6 -6
  73. package/dist/{Skeleton-B1s6csXR.js → Skeleton-rG_vS_vK.js} +2 -2
  74. package/dist/{Slide-BE2ALpHy.js → Slide-C75WIR2B.js} +1 -1
  75. package/dist/{Snackbar-D_R2UAVj.js → Snackbar-DeiuAlGC.js} +6 -6
  76. package/dist/{Step-C6VqWx5k.js → Step-BCxfFlJV.js} +1 -1
  77. package/dist/{StepButton-yiMA6Gky.js → StepButton-DUpmLnG4.js} +3 -3
  78. package/dist/{StepConnector-jOEzxHeh.js → StepConnector-BJEuXuSN.js} +3 -3
  79. package/dist/{StepContent-DoTaN9XK.js → StepContent-DUl-0SWI.js} +3 -3
  80. package/dist/{StepIcon-Cz4Jn8JZ.js → StepIcon-DAmVGnL0.js} +4 -4
  81. package/dist/{StepLabel-dtJKHl3T.js → StepLabel-CqAB-FtZ.js} +3 -3
  82. package/dist/{Stepper-CGLBQfx-.js → Stepper-bbLAVxVE.js} +2 -2
  83. package/dist/{SvgIcon-CwzlDqJ-.js → SvgIcon-BrAsqASc.js} +3 -3
  84. package/dist/{Switch-9nD-9uqh.js → Switch-DKDfHQVm.js} +4 -4
  85. package/dist/{SwitchBase-D6IsSQaW.js → SwitchBase-BZz84J1E.js} +3 -3
  86. package/dist/{Tab-mGJoNbh1.js → Tab-DaPL6tC4.js} +4 -4
  87. package/dist/{Table-D0MqhHHZ.js → Table-BSP0xwVw.js} +2 -2
  88. package/dist/{TableBody-D8jW-DyI.js → TableBody-DuPWKF6v.js} +1 -1
  89. package/dist/{TableCell-aY2DRcSY.js → TableCell-BdweS1ET.js} +3 -3
  90. package/dist/{TableContainer-D3bI6ghm.js → TableContainer-BLr1B1N1.js} +1 -1
  91. package/dist/{TableFooter-DLonntm2.js → TableFooter-mWAuLOYG.js} +1 -1
  92. package/dist/{TableHead-asHSNPOi.js → TableHead-DmSgS_lJ.js} +1 -1
  93. package/dist/{TablePagination-CmvSEXbm.js → TablePagination-lAsiYfVQ.js} +10 -10
  94. package/dist/{TableRow-COzpGHHV.js → TableRow-BuJHocbv.js} +2 -2
  95. package/dist/{Tabs-CLLc_rdV.js → Tabs-BUYEnWj4.js} +6 -6
  96. package/dist/TextareaAutosize-DFLkSC3y.js +163 -0
  97. package/dist/{ThemeProviderWithVars-hLmfDgWo.js → ThemeProviderWithVars-D_h1BuKO.js} +3 -3
  98. package/dist/{ToggleButton-ChGvFY9f.js → ToggleButton-xh5Df3-1.js} +4 -4
  99. package/dist/{ToggleButtonGroup-CANZAjlQ.js → ToggleButtonGroup-DXVCiUuR.js} +3 -3
  100. package/dist/{Toolbar-BSA6rp2f.js → Toolbar-BIKVMMEi.js} +2 -2
  101. package/dist/{Tooltip-CslS55e6.js → Tooltip-iDF8vneX.js} +6 -6
  102. package/dist/{Typography-BqFA8mSI.js → Typography-CJD_1YNp.js} +4 -4
  103. package/dist/{WarningAmberOutlined-pXw3j692.js → WarningAmberOutlined-YFF6FFJ9.js} +1 -1
  104. package/dist/{Zoom-Ia0xnNsL.js → Zoom-CvftAd7B.js} +1 -1
  105. package/dist/{ZoomOut-DBqhueV6.js → ZoomOut-CSnKUaeV.js} +1 -1
  106. package/dist/components/Accordion/index.js +1 -1
  107. package/dist/components/AccordionActions/index.js +1 -1
  108. package/dist/components/AccordionDetails/index.js +1 -1
  109. package/dist/components/AccordionSummary/index.js +1 -1
  110. package/dist/components/Alert/index.js +1 -1
  111. package/dist/components/AlertTitle/index.js +1 -1
  112. package/dist/components/Autocomplete/Autocomplete.js +2 -2
  113. package/dist/components/Autocomplete/index.js +1 -1
  114. package/dist/components/AutocompleteControl/AutocompleteControl.js +7 -7
  115. package/dist/components/Avatar/index.js +1 -1
  116. package/dist/components/AvatarGroup/index.js +1 -1
  117. package/dist/components/Backdrop/index.js +1 -1
  118. package/dist/components/Badge/index.js +1 -1
  119. package/dist/components/Box/index.js +1 -1
  120. package/dist/components/Breadcrumbs/index.js +1 -1
  121. package/dist/components/Button/index.js +1 -1
  122. package/dist/components/ButtonBase/index.js +1 -1
  123. package/dist/components/ButtonGroup/index.js +1 -1
  124. package/dist/components/Card/index.js +1 -1
  125. package/dist/components/CardActionArea/index.js +1 -1
  126. package/dist/components/CardActions/index.js +1 -1
  127. package/dist/components/CardContent/index.js +1 -1
  128. package/dist/components/CardHeader/index.js +1 -1
  129. package/dist/components/CardMedia/index.js +1 -1
  130. package/dist/components/Checkbox/index.js +1 -1
  131. package/dist/components/Chip/index.js +1 -1
  132. package/dist/components/CircularProgress/index.js +1 -1
  133. package/dist/components/Collapse/index.js +1 -1
  134. package/dist/components/Container/index.js +1 -1
  135. package/dist/components/CssBaseline/index.js +1 -1
  136. package/dist/components/Datepicker/Datepicker.js +3 -3
  137. package/dist/components/Datepicker/index.js +2 -2
  138. package/dist/components/DatepickerControl/DatepickerControl.js +7 -7
  139. package/dist/components/DescriptionDetails/DescriptionDetails.js +1 -1
  140. package/dist/components/DescriptionList/DescriptionList.js +1 -1
  141. package/dist/components/DescriptionTerm/DescriptionTerm.js +1 -1
  142. package/dist/components/Dialog/index.js +1 -1
  143. package/dist/components/DialogActions/index.js +1 -1
  144. package/dist/components/DialogClose/DialogClose.js +2 -2
  145. package/dist/components/DialogContent/index.js +1 -1
  146. package/dist/components/DialogContentText/index.js +1 -1
  147. package/dist/components/DialogTitle/index.js +1 -1
  148. package/dist/components/Divider/index.js +1 -1
  149. package/dist/components/Drawer/index.js +1 -1
  150. package/dist/components/Fade/index.js +1 -1
  151. package/dist/components/FormControl/index.js +1 -1
  152. package/dist/components/FormControlLabel/index.js +1 -1
  153. package/dist/components/FormGroup/index.js +1 -1
  154. package/dist/components/FormHelperText/index.js +1 -1
  155. package/dist/components/FormLabel/index.js +1 -1
  156. package/dist/components/FormSublabel/FormSublabel.d.ts +1 -1
  157. package/dist/components/FormSublabel/FormSublabel.js +2 -2
  158. package/dist/components/Grow/index.js +1 -1
  159. package/dist/components/IconButton/index.js +1 -1
  160. package/dist/components/Input/Input.d.ts +1 -1
  161. package/dist/components/Input/Input.js +1 -1
  162. package/dist/components/Input/Input.theme.js +1 -1
  163. package/dist/components/InputAdornment/index.js +1 -1
  164. package/dist/components/InputControl/InputControl.js +6 -6
  165. package/dist/components/LinearProgress/index.js +1 -1
  166. package/dist/components/Link/index.js +1 -1
  167. package/dist/components/List/index.js +1 -1
  168. package/dist/components/ListItem/index.js +1 -1
  169. package/dist/components/ListItemAvatar/index.js +1 -1
  170. package/dist/components/ListItemButton/index.js +1 -1
  171. package/dist/components/ListItemIcon/index.js +1 -1
  172. package/dist/components/ListItemText/index.js +1 -1
  173. package/dist/components/ListSubheader/index.js +1 -1
  174. package/dist/components/Menu/index.js +1 -1
  175. package/dist/components/MenuItem/index.js +1 -1
  176. package/dist/components/MenuList/index.js +1 -1
  177. package/dist/components/NumberInputControl/NumberInputControl.js +6 -6
  178. package/dist/components/Paper/index.js +1 -1
  179. package/dist/components/Popover/index.js +1 -1
  180. package/dist/components/Popper/index.js +1 -1
  181. package/dist/components/Radio/index.js +1 -1
  182. package/dist/components/RadioGroup/index.js +1 -1
  183. package/dist/components/Select/Select.js +1 -1
  184. package/dist/components/Select/index.js +1 -1
  185. package/dist/components/SelectControl/SelectControl.js +6 -6
  186. package/dist/components/Skeleton/index.js +1 -1
  187. package/dist/components/Slide/index.js +1 -1
  188. package/dist/components/Snackbar/index.js +1 -1
  189. package/dist/components/Stack/index.js +1 -1
  190. package/dist/components/Step/index.js +1 -1
  191. package/dist/components/StepButton/index.js +1 -1
  192. package/dist/components/StepConnector/index.js +1 -1
  193. package/dist/components/StepContent/index.js +1 -1
  194. package/dist/components/StepIcon/index.js +1 -1
  195. package/dist/components/StepLabel/index.js +1 -1
  196. package/dist/components/Stepper/index.js +1 -1
  197. package/dist/components/SvgIcon/index.js +1 -1
  198. package/dist/components/Switch/index.js +1 -1
  199. package/dist/components/Tab/index.js +1 -1
  200. package/dist/components/Table/index.js +1 -1
  201. package/dist/components/TableBody/index.js +1 -1
  202. package/dist/components/TableCell/index.js +1 -1
  203. package/dist/components/TableContainer/index.js +1 -1
  204. package/dist/components/TableFooter/index.js +1 -1
  205. package/dist/components/TableHead/index.js +1 -1
  206. package/dist/components/TablePagination/index.js +1 -1
  207. package/dist/components/TableRow/index.js +1 -1
  208. package/dist/components/Tabs/index.js +1 -1
  209. package/dist/components/Textarea/Textarea.d.ts +11 -0
  210. package/dist/components/Textarea/Textarea.js +87 -0
  211. package/dist/components/Textarea/index.d.ts +1 -0
  212. package/dist/components/Textarea/index.js +4 -0
  213. package/dist/components/TextareaControl/TextareaControl.d.ts +22 -0
  214. package/dist/components/TextareaControl/TextareaControl.js +96 -0
  215. package/dist/components/TextareaControl/index.d.ts +1 -0
  216. package/dist/components/TextareaControl/index.js +4 -0
  217. package/dist/components/ThemeProvider/ThemeProvider.js +1 -1
  218. package/dist/components/ToastContainer/ToastContainer.js +1 -1
  219. package/dist/components/ToastContainer/useToast.js +5 -5
  220. package/dist/components/ToggleButton/index.js +1 -1
  221. package/dist/components/ToggleButtonGroup/index.js +1 -1
  222. package/dist/components/Toolbar/index.js +1 -1
  223. package/dist/components/Tooltip/index.js +1 -1
  224. package/dist/components/Typography/index.js +1 -1
  225. package/dist/components/Zoom/index.js +1 -1
  226. package/dist/{containerClasses-Dx9S-Uog.js → containerClasses-Zulzrsj8.js} +12 -12
  227. package/dist/{createSvgIcon-CuFjlgU2.js → createSvgIcon-BXROV6bT.js} +1 -1
  228. package/dist/{createTheme-Cr8frjQ0.js → createTheme-BFWMvXRe.js} +9 -9
  229. package/dist/defaultTheme-s7mxt8ja.js +5 -0
  230. package/dist/{extendSxProp-BY4rSlhb.js → extendSxProp-DsZikgKo.js} +1 -1
  231. package/dist/icons/ClearstoryIcon.js +1 -1
  232. package/dist/icons/InternalOnlyIcon.js +1 -1
  233. package/dist/icons/MoneyBucketIcon.js +1 -1
  234. package/dist/icons/MoreCircleOutlineIcon.js +1 -1
  235. package/dist/icons/SparkleIcon.js +1 -1
  236. package/dist/icons/index.js +5 -5
  237. package/dist/{index-DdNQ5i6R.js → index-DtVyyURM.js} +1 -1
  238. package/dist/{index-Gq_iW04U.js → index-iKRLpQIf.js} +3 -3
  239. package/dist/main.d.ts +2 -0
  240. package/dist/main.js +426 -422
  241. package/dist/{memoTheme-D7rECXXN.js → memoTheme-CXi6MqCq.js} +1 -1
  242. package/dist/{stackClasses-oeGuYndJ.js → stackClasses-vPxNSpzG.js} +21 -21
  243. package/dist/styled-B14RdXLD.js +5 -0
  244. package/dist/{styled-BKpRY52y.js → styled-BWUuu_Y7.js} +2 -2
  245. package/dist/theme/index.js +5 -5
  246. package/dist/theme/internal.js +1 -1
  247. package/dist/{useTheme-uuKxCqA4.js → useTheme-CSYDyilx.js} +2 -2
  248. package/dist/{useTheme-nuDW3plC.js → useTheme-DFnskFLF.js} +4 -4
  249. package/dist/{useThemeProps-DNdk7d02.js → useThemeProps-DLN1jrTs.js} +1 -1
  250. package/package.json +2 -2
  251. package/dist/InputBase-C6Ryue4Q.js +0 -802
  252. package/dist/defaultTheme-B6FbMXaQ.js +0 -5
  253. package/dist/styled-jbbQ0rDV.js +0 -5
@@ -1,802 +0,0 @@
1
- import * as l from "react";
2
- import { P as e } from "./index-B5q5ym9h.js";
3
- import { c as pe } from "./clsx-OuTLNxxd.js";
4
- import { f as Fe } from "./formControlState-vgaj2ksH.js";
5
- import { u as Be, F as He } from "./useFormControl-CatNKXAi.js";
6
- import { g as Me } from "./index-Gq_iW04U.js";
7
- import { m as ge } from "./memoTheme-D7rECXXN.js";
8
- import { a as We } from "./utils-Bf5X_KZD.js";
9
- import { g as Pe } from "./generateUtilityClasses-E9gROIFd.js";
10
- import { g as Le } from "./generateUtilityClass-BhfUaMgk.js";
11
- import { jsxs as X, jsx as B } from "react/jsx-runtime";
12
- import { u as De } from "./DefaultPropsProvider-CE6KNOqW.js";
13
- import { u as ve } from "./useForkRef-9kN4DArm.js";
14
- import { u as ee } from "./useEnhancedEffect-CJGo-L3B.js";
15
- import { o as fe } from "./ownerWindow-niciwP7I.js";
16
- import { u as je } from "./useEventCallback-BAQJJ3ye.js";
17
- import { d as Ue } from "./debounce-46wSf_lW.js";
18
- import { s as we } from "./styled-BKpRY52y.js";
19
- import { i as me } from "./isHostComponent-kiaBvYVo.js";
20
- import { h as oe, w as Ve } from "./createTheme-Cr8frjQ0.js";
21
- import { c as _e } from "./composeClasses-2Ou-RZJr.js";
22
- import { r as $e } from "./refType-C3kIdphZ.js";
23
- import { e as Ke } from "./elementTypeAcceptingRef-xVpq_4jW.js";
24
- function D(t) {
25
- return parseInt(t, 10) || 0;
26
- }
27
- const qe = {
28
- shadow: {
29
- // Visibility needed to hide the extra text area on iPads
30
- visibility: "hidden",
31
- // Remove from the content flow
32
- position: "absolute",
33
- // Ignore the scrollbar width
34
- overflow: "hidden",
35
- height: 0,
36
- top: 0,
37
- left: 0,
38
- // Create a new layer, increase the isolation of the computed values
39
- transform: "translateZ(0)"
40
- }
41
- };
42
- function Ge(t) {
43
- for (const o in t)
44
- return !1;
45
- return !0;
46
- }
47
- function he(t) {
48
- return Ge(t) || t.outerHeightStyle === 0 && !t.overflowing;
49
- }
50
- const xe = /* @__PURE__ */ l.forwardRef(function(o, r) {
51
- const {
52
- onChange: d,
53
- maxRows: m,
54
- minRows: p = 1,
55
- style: R,
56
- value: T,
57
- ...H
58
- } = o, {
59
- current: x
60
- } = l.useRef(T != null), h = l.useRef(null), O = ve(r, h), f = l.useRef(null), S = l.useRef(null), g = l.useCallback(() => {
61
- const i = h.current, n = S.current;
62
- if (!i || !n)
63
- return;
64
- const u = fe(i).getComputedStyle(i);
65
- if (u.width === "0px")
66
- return {
67
- outerHeightStyle: 0,
68
- overflowing: !1
69
- };
70
- n.style.width = u.width, n.value = i.value || o.placeholder || "x", n.value.slice(-1) === `
71
- ` && (n.value += " ");
72
- const E = u.boxSizing, M = D(u.paddingBottom) + D(u.paddingTop), U = D(u.borderBottomWidth) + D(u.borderTopWidth), w = n.scrollHeight;
73
- n.value = "x";
74
- const I = n.scrollHeight;
75
- let b = w;
76
- p && (b = Math.max(Number(p) * I, b)), m && (b = Math.min(Number(m) * I, b)), b = Math.max(b, I);
77
- const W = b + (E === "border-box" ? M + U : 0), V = Math.abs(b - w) <= 1;
78
- return {
79
- outerHeightStyle: W,
80
- overflowing: V
81
- };
82
- }, [m, p, o.placeholder]), N = je(() => {
83
- const i = h.current, n = g();
84
- if (!i || !n || he(n))
85
- return !1;
86
- const c = n.outerHeightStyle;
87
- return f.current != null && f.current !== c;
88
- }), C = l.useCallback(() => {
89
- const i = h.current, n = g();
90
- if (!i || !n || he(n))
91
- return;
92
- const c = n.outerHeightStyle;
93
- f.current !== c && (f.current = c, i.style.height = `${c}px`), i.style.overflow = n.overflowing ? "hidden" : "";
94
- }, [g]), k = l.useRef(-1);
95
- ee(() => {
96
- const i = Ue(C), n = h?.current;
97
- if (!n)
98
- return;
99
- const c = fe(n);
100
- c.addEventListener("resize", i);
101
- let u;
102
- return typeof ResizeObserver < "u" && (u = new ResizeObserver(() => {
103
- N() && (u.unobserve(n), cancelAnimationFrame(k.current), C(), k.current = requestAnimationFrame(() => {
104
- u.observe(n);
105
- }));
106
- }), u.observe(n)), () => {
107
- i.clear(), cancelAnimationFrame(k.current), c.removeEventListener("resize", i), u && u.disconnect();
108
- };
109
- }, [g, C, N]), ee(() => {
110
- C();
111
- });
112
- const j = (i) => {
113
- x || C();
114
- const n = i.target, c = n.value.length, u = n.value.endsWith(`
115
- `), E = n.selectionStart === c;
116
- u && E && n.setSelectionRange(c, c), d && d(i);
117
- };
118
- return /* @__PURE__ */ X(l.Fragment, {
119
- children: [/* @__PURE__ */ B("textarea", {
120
- value: T,
121
- onChange: j,
122
- ref: O,
123
- rows: p,
124
- style: R,
125
- ...H
126
- }), /* @__PURE__ */ B("textarea", {
127
- "aria-hidden": !0,
128
- className: o.className,
129
- readOnly: !0,
130
- ref: S,
131
- tabIndex: -1,
132
- style: {
133
- ...qe.shadow,
134
- ...R,
135
- paddingTop: 0,
136
- paddingBottom: 0
137
- }
138
- })]
139
- });
140
- });
141
- process.env.NODE_ENV !== "production" && (xe.propTypes = {
142
- // ┌────────────────────────────── Warning ──────────────────────────────┐
143
- // │ These PropTypes are generated from the TypeScript type definitions. │
144
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
145
- // └─────────────────────────────────────────────────────────────────────┘
146
- /**
147
- * @ignore
148
- */
149
- className: e.string,
150
- /**
151
- * Maximum number of rows to display.
152
- */
153
- maxRows: e.oneOfType([e.number, e.string]),
154
- /**
155
- * Minimum number of rows to display.
156
- * @default 1
157
- */
158
- minRows: e.oneOfType([e.number, e.string]),
159
- /**
160
- * @ignore
161
- */
162
- onChange: e.func,
163
- /**
164
- * @ignore
165
- */
166
- placeholder: e.string,
167
- /**
168
- * @ignore
169
- */
170
- style: e.object,
171
- /**
172
- * @ignore
173
- */
174
- value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
175
- });
176
- function Ye(t) {
177
- return Le("MuiInputBase", t);
178
- }
179
- const te = Pe("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
180
- var be;
181
- const Ze = (t, o) => {
182
- const {
183
- ownerState: r
184
- } = t;
185
- return [o.root, r.formControl && o.formControl, r.startAdornment && o.adornedStart, r.endAdornment && o.adornedEnd, r.error && o.error, r.size === "small" && o.sizeSmall, r.multiline && o.multiline, r.color && o[`color${oe(r.color)}`], r.fullWidth && o.fullWidth, r.hiddenLabel && o.hiddenLabel];
186
- }, Je = (t, o) => {
187
- const {
188
- ownerState: r
189
- } = t;
190
- return [o.input, r.size === "small" && o.inputSizeSmall, r.multiline && o.inputMultiline, r.type === "search" && o.inputTypeSearch, r.startAdornment && o.inputAdornedStart, r.endAdornment && o.inputAdornedEnd, r.hiddenLabel && o.inputHiddenLabel];
191
- }, Qe = (t) => {
192
- const {
193
- classes: o,
194
- color: r,
195
- disabled: d,
196
- error: m,
197
- endAdornment: p,
198
- focused: R,
199
- formControl: T,
200
- fullWidth: H,
201
- hiddenLabel: x,
202
- multiline: h,
203
- readOnly: O,
204
- size: f,
205
- startAdornment: S,
206
- type: g
207
- } = t, N = {
208
- root: ["root", `color${oe(r)}`, d && "disabled", m && "error", H && "fullWidth", R && "focused", T && "formControl", f && f !== "medium" && `size${oe(f)}`, h && "multiline", S && "adornedStart", p && "adornedEnd", x && "hiddenLabel", O && "readOnly"],
209
- input: ["input", d && "disabled", g === "search" && "inputTypeSearch", h && "inputMultiline", f === "small" && "inputSizeSmall", x && "inputHiddenLabel", S && "inputAdornedStart", p && "inputAdornedEnd", O && "readOnly"]
210
- };
211
- return _e(N, Ye, o);
212
- }, Xe = we("div", {
213
- name: "MuiInputBase",
214
- slot: "Root",
215
- overridesResolver: Ze
216
- })(ge(({
217
- theme: t
218
- }) => ({
219
- ...t.typography.body1,
220
- color: (t.vars || t).palette.text.primary,
221
- lineHeight: "1.4375em",
222
- // 23px
223
- boxSizing: "border-box",
224
- // Prevent padding issue with fullWidth.
225
- position: "relative",
226
- cursor: "text",
227
- display: "inline-flex",
228
- alignItems: "center",
229
- [`&.${te.disabled}`]: {
230
- color: (t.vars || t).palette.text.disabled,
231
- cursor: "default"
232
- },
233
- variants: [{
234
- props: ({
235
- ownerState: o
236
- }) => o.multiline,
237
- style: {
238
- padding: "4px 0 5px"
239
- }
240
- }, {
241
- props: ({
242
- ownerState: o,
243
- size: r
244
- }) => o.multiline && r === "small",
245
- style: {
246
- paddingTop: 1
247
- }
248
- }, {
249
- props: ({
250
- ownerState: o
251
- }) => o.fullWidth,
252
- style: {
253
- width: "100%"
254
- }
255
- }]
256
- }))), eo = we("input", {
257
- name: "MuiInputBase",
258
- slot: "Input",
259
- overridesResolver: Je
260
- })(ge(({
261
- theme: t
262
- }) => {
263
- const o = t.palette.mode === "light", r = {
264
- color: "currentColor",
265
- ...t.vars ? {
266
- opacity: t.vars.opacity.inputPlaceholder
267
- } : {
268
- opacity: o ? 0.42 : 0.5
269
- },
270
- transition: t.transitions.create("opacity", {
271
- duration: t.transitions.duration.shorter
272
- })
273
- }, d = {
274
- opacity: "0 !important"
275
- }, m = t.vars ? {
276
- opacity: t.vars.opacity.inputPlaceholder
277
- } : {
278
- opacity: o ? 0.42 : 0.5
279
- };
280
- return {
281
- font: "inherit",
282
- letterSpacing: "inherit",
283
- color: "currentColor",
284
- padding: "4px 0 5px",
285
- border: 0,
286
- boxSizing: "content-box",
287
- background: "none",
288
- height: "1.4375em",
289
- // Reset 23pxthe native input line-height
290
- margin: 0,
291
- // Reset for Safari
292
- WebkitTapHighlightColor: "transparent",
293
- display: "block",
294
- // Make the flex item shrink with Firefox
295
- minWidth: 0,
296
- width: "100%",
297
- "&::-webkit-input-placeholder": r,
298
- "&::-moz-placeholder": r,
299
- // Firefox 19+
300
- "&::-ms-input-placeholder": r,
301
- // Edge
302
- "&:focus": {
303
- outline: 0
304
- },
305
- // Reset Firefox invalid required input style
306
- "&:invalid": {
307
- boxShadow: "none"
308
- },
309
- "&::-webkit-search-decoration": {
310
- // Remove the padding when type=search.
311
- WebkitAppearance: "none"
312
- },
313
- // Show and hide the placeholder logic
314
- [`label[data-shrink=false] + .${te.formControl} &`]: {
315
- "&::-webkit-input-placeholder": d,
316
- "&::-moz-placeholder": d,
317
- // Firefox 19+
318
- "&::-ms-input-placeholder": d,
319
- // Edge
320
- "&:focus::-webkit-input-placeholder": m,
321
- "&:focus::-moz-placeholder": m,
322
- // Firefox 19+
323
- "&:focus::-ms-input-placeholder": m
324
- // Edge
325
- },
326
- [`&.${te.disabled}`]: {
327
- opacity: 1,
328
- // Reset iOS opacity
329
- WebkitTextFillColor: (t.vars || t).palette.text.disabled
330
- // Fix opacity Safari bug
331
- },
332
- variants: [{
333
- props: ({
334
- ownerState: p
335
- }) => !p.disableInjectingGlobalStyles,
336
- style: {
337
- animationName: "mui-auto-fill-cancel",
338
- animationDuration: "10ms",
339
- "&:-webkit-autofill": {
340
- animationDuration: "5000s",
341
- animationName: "mui-auto-fill"
342
- }
343
- }
344
- }, {
345
- props: {
346
- size: "small"
347
- },
348
- style: {
349
- paddingTop: 1
350
- }
351
- }, {
352
- props: ({
353
- ownerState: p
354
- }) => p.multiline,
355
- style: {
356
- height: "auto",
357
- resize: "none",
358
- padding: 0,
359
- paddingTop: 0
360
- }
361
- }, {
362
- props: {
363
- type: "search"
364
- },
365
- style: {
366
- MozAppearance: "textfield"
367
- // Improve type search style.
368
- }
369
- }]
370
- };
371
- })), ye = Me({
372
- "@keyframes mui-auto-fill": {
373
- from: {
374
- display: "block"
375
- }
376
- },
377
- "@keyframes mui-auto-fill-cancel": {
378
- from: {
379
- display: "block"
380
- }
381
- }
382
- }), oo = /* @__PURE__ */ l.forwardRef(function(o, r) {
383
- const d = De({
384
- props: o,
385
- name: "MuiInputBase"
386
- }), {
387
- "aria-describedby": m,
388
- autoComplete: p,
389
- autoFocus: R,
390
- className: T,
391
- color: H,
392
- components: x = {},
393
- componentsProps: h = {},
394
- defaultValue: O,
395
- disabled: f,
396
- disableInjectingGlobalStyles: S,
397
- endAdornment: g,
398
- error: N,
399
- fullWidth: C = !1,
400
- id: k,
401
- inputComponent: j = "input",
402
- inputProps: i = {},
403
- inputRef: n,
404
- margin: c,
405
- maxRows: u,
406
- minRows: E,
407
- multiline: M = !1,
408
- name: U,
409
- onBlur: w,
410
- onChange: I,
411
- onClick: b,
412
- onFocus: W,
413
- onKeyDown: V,
414
- onKeyUp: Se,
415
- placeholder: Ce,
416
- readOnly: _,
417
- renderSuffix: ne,
418
- rows: P,
419
- size: to,
420
- slotProps: re = {},
421
- slots: ie = {},
422
- startAdornment: A,
423
- type: ae = "text",
424
- value: Re,
425
- ...Te
426
- } = d, L = i.value != null ? i.value : Re, {
427
- current: $
428
- } = l.useRef(L != null), z = l.useRef(), Oe = l.useCallback((a) => {
429
- process.env.NODE_ENV !== "production" && a && a.nodeName !== "INPUT" && !a.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
430
- `));
431
- }, []), Ee = ve(z, n, i.ref, Oe), [K, q] = l.useState(!1), s = Be();
432
- process.env.NODE_ENV !== "production" && l.useEffect(() => {
433
- if (s)
434
- return s.registerEffect();
435
- }, [s]);
436
- const y = Fe({
437
- props: d,
438
- muiFormControl: s,
439
- states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
440
- });
441
- y.focused = s ? s.focused : K, l.useEffect(() => {
442
- !s && f && K && (q(!1), w && w());
443
- }, [s, f, K, w]);
444
- const G = s && s.onFilled, Y = s && s.onEmpty, F = l.useCallback((a) => {
445
- We(a) ? G && G() : Y && Y();
446
- }, [G, Y]);
447
- ee(() => {
448
- $ && F({
449
- value: L
450
- });
451
- }, [L, F, $]);
452
- const Ie = (a) => {
453
- W && W(a), i.onFocus && i.onFocus(a), s && s.onFocus ? s.onFocus(a) : q(!0);
454
- }, ze = (a) => {
455
- w && w(a), i.onBlur && i.onBlur(a), s && s.onBlur ? s.onBlur(a) : q(!1);
456
- }, Ne = (a, ...ce) => {
457
- if (!$) {
458
- const de = a.target || z.current;
459
- if (de == null)
460
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Ve(1));
461
- F({
462
- value: de.value
463
- });
464
- }
465
- i.onChange && i.onChange(a, ...ce), I && I(a, ...ce);
466
- };
467
- l.useEffect(() => {
468
- F(z.current);
469
- }, []);
470
- const ke = (a) => {
471
- z.current && a.currentTarget === a.target && z.current.focus(), b && b(a);
472
- };
473
- let Z = j, v = i;
474
- M && Z === "input" && (P ? (process.env.NODE_ENV !== "production" && (E || u) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), v = {
475
- type: void 0,
476
- minRows: P,
477
- maxRows: P,
478
- ...v
479
- }) : v = {
480
- type: void 0,
481
- maxRows: u,
482
- minRows: E,
483
- ...v
484
- }, Z = xe);
485
- const Ae = (a) => {
486
- F(a.animationName === "mui-auto-fill-cancel" ? z.current : {
487
- value: "x"
488
- });
489
- };
490
- l.useEffect(() => {
491
- s && s.setAdornedStart(!!A);
492
- }, [s, A]);
493
- const J = {
494
- ...d,
495
- color: y.color || "primary",
496
- disabled: y.disabled,
497
- endAdornment: g,
498
- error: y.error,
499
- focused: y.focused,
500
- formControl: s,
501
- fullWidth: C,
502
- hiddenLabel: y.hiddenLabel,
503
- multiline: M,
504
- size: y.size,
505
- startAdornment: A,
506
- type: ae
507
- }, se = Qe(J), le = ie.root || x.Root || Xe, Q = re.root || h.root || {}, ue = ie.input || x.Input || eo;
508
- return v = {
509
- ...v,
510
- ...re.input ?? h.input
511
- }, /* @__PURE__ */ X(l.Fragment, {
512
- children: [!S && typeof ye == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
513
- // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
514
- (be || (be = /* @__PURE__ */ B(ye, {}))), /* @__PURE__ */ X(le, {
515
- ...Q,
516
- ref: r,
517
- onClick: ke,
518
- ...Te,
519
- ...!me(le) && {
520
- ownerState: {
521
- ...J,
522
- ...Q.ownerState
523
- }
524
- },
525
- className: pe(se.root, Q.className, T, _ && "MuiInputBase-readOnly"),
526
- children: [A, /* @__PURE__ */ B(He.Provider, {
527
- value: null,
528
- children: /* @__PURE__ */ B(ue, {
529
- "aria-invalid": y.error,
530
- "aria-describedby": m,
531
- autoComplete: p,
532
- autoFocus: R,
533
- defaultValue: O,
534
- disabled: y.disabled,
535
- id: k,
536
- onAnimationStart: Ae,
537
- name: U,
538
- placeholder: Ce,
539
- readOnly: _,
540
- required: y.required,
541
- rows: P,
542
- value: L,
543
- onKeyDown: V,
544
- onKeyUp: Se,
545
- type: ae,
546
- ...v,
547
- ...!me(ue) && {
548
- as: Z,
549
- ownerState: {
550
- ...J,
551
- ...v.ownerState
552
- }
553
- },
554
- ref: Ee,
555
- className: pe(se.input, v.className, _ && "MuiInputBase-readOnly"),
556
- onBlur: ze,
557
- onChange: Ne,
558
- onFocus: Ie
559
- })
560
- }), g, ne ? ne({
561
- ...y,
562
- startAdornment: A
563
- }) : null]
564
- })]
565
- });
566
- });
567
- process.env.NODE_ENV !== "production" && (oo.propTypes = {
568
- // ┌────────────────────────────── Warning ──────────────────────────────┐
569
- // │ These PropTypes are generated from the TypeScript type definitions. │
570
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
571
- // └─────────────────────────────────────────────────────────────────────┘
572
- /**
573
- * @ignore
574
- */
575
- "aria-describedby": e.string,
576
- /**
577
- * This prop helps users to fill forms faster, especially on mobile devices.
578
- * The name can be confusing, as it's more like an autofill.
579
- * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
580
- */
581
- autoComplete: e.string,
582
- /**
583
- * If `true`, the `input` element is focused during the first mount.
584
- */
585
- autoFocus: e.bool,
586
- /**
587
- * Override or extend the styles applied to the component.
588
- */
589
- classes: e.object,
590
- /**
591
- * @ignore
592
- */
593
- className: e.string,
594
- /**
595
- * The color of the component.
596
- * It supports both default and custom theme colors, which can be added as shown in the
597
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
598
- * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
599
- */
600
- color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
601
- /**
602
- * The components used for each slot inside.
603
- *
604
- * @deprecated use the `slots` prop 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.
605
- *
606
- * @default {}
607
- */
608
- components: e.shape({
609
- Input: e.elementType,
610
- Root: e.elementType
611
- }),
612
- /**
613
- * The extra props for the slot components.
614
- * You can override the existing props or add new ones.
615
- *
616
- * @deprecated use the `slotProps` prop 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.
617
- *
618
- * @default {}
619
- */
620
- componentsProps: e.shape({
621
- input: e.object,
622
- root: e.object
623
- }),
624
- /**
625
- * The default value. Use when the component is not controlled.
626
- */
627
- defaultValue: e.any,
628
- /**
629
- * If `true`, the component is disabled.
630
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
631
- */
632
- disabled: e.bool,
633
- /**
634
- * If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.
635
- * This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.
636
- * @default false
637
- */
638
- disableInjectingGlobalStyles: e.bool,
639
- /**
640
- * End `InputAdornment` for this component.
641
- */
642
- endAdornment: e.node,
643
- /**
644
- * If `true`, the `input` will indicate an error.
645
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
646
- */
647
- error: e.bool,
648
- /**
649
- * If `true`, the `input` will take up the full width of its container.
650
- * @default false
651
- */
652
- fullWidth: e.bool,
653
- /**
654
- * The id of the `input` element.
655
- */
656
- id: e.string,
657
- /**
658
- * The component used for the `input` element.
659
- * Either a string to use a HTML element or a component.
660
- * @default 'input'
661
- */
662
- inputComponent: Ke,
663
- /**
664
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
665
- * @default {}
666
- */
667
- inputProps: e.object,
668
- /**
669
- * Pass a ref to the `input` element.
670
- */
671
- inputRef: $e,
672
- /**
673
- * If `dense`, will adjust vertical spacing. This is normally obtained via context from
674
- * FormControl.
675
- * The prop defaults to the value (`'none'`) inherited from the parent FormControl component.
676
- */
677
- margin: e.oneOf(["dense", "none"]),
678
- /**
679
- * Maximum number of rows to display when multiline option is set to true.
680
- */
681
- maxRows: e.oneOfType([e.number, e.string]),
682
- /**
683
- * Minimum number of rows to display when multiline option is set to true.
684
- */
685
- minRows: e.oneOfType([e.number, e.string]),
686
- /**
687
- * If `true`, a [TextareaAutosize](https://mui.com/material-ui/react-textarea-autosize/) element is rendered.
688
- * @default false
689
- */
690
- multiline: e.bool,
691
- /**
692
- * Name attribute of the `input` element.
693
- */
694
- name: e.string,
695
- /**
696
- * Callback fired when the `input` is blurred.
697
- *
698
- * Notice that the first argument (event) might be undefined.
699
- */
700
- onBlur: e.func,
701
- /**
702
- * Callback fired when the value is changed.
703
- *
704
- * @param {React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>} event The event source of the callback.
705
- * You can pull out the new value by accessing `event.target.value` (string).
706
- */
707
- onChange: e.func,
708
- /**
709
- * @ignore
710
- */
711
- onClick: e.func,
712
- /**
713
- * @ignore
714
- */
715
- onFocus: e.func,
716
- /**
717
- * Callback fired when the `input` doesn't satisfy its constraints.
718
- */
719
- onInvalid: e.func,
720
- /**
721
- * @ignore
722
- */
723
- onKeyDown: e.func,
724
- /**
725
- * @ignore
726
- */
727
- onKeyUp: e.func,
728
- /**
729
- * The short hint displayed in the `input` before the user enters a value.
730
- */
731
- placeholder: e.string,
732
- /**
733
- * It prevents the user from changing the value of the field
734
- * (not from interacting with the field).
735
- */
736
- readOnly: e.bool,
737
- /**
738
- * @ignore
739
- */
740
- renderSuffix: e.func,
741
- /**
742
- * If `true`, the `input` element is required.
743
- * The prop defaults to the value (`false`) inherited from the parent FormControl component.
744
- */
745
- required: e.bool,
746
- /**
747
- * Number of rows to display when multiline option is set to true.
748
- */
749
- rows: e.oneOfType([e.number, e.string]),
750
- /**
751
- * The size of the component.
752
- */
753
- size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
754
- /**
755
- * The extra props for the slot components.
756
- * You can override the existing props or add new ones.
757
- *
758
- * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
759
- *
760
- * @default {}
761
- */
762
- slotProps: e.shape({
763
- input: e.object,
764
- root: e.object
765
- }),
766
- /**
767
- * The components used for each slot inside.
768
- *
769
- * This prop is an alias for the `components` prop, which will be deprecated in the future.
770
- *
771
- * @default {}
772
- */
773
- slots: e.shape({
774
- input: e.elementType,
775
- root: e.elementType
776
- }),
777
- /**
778
- * Start `InputAdornment` for this component.
779
- */
780
- startAdornment: e.node,
781
- /**
782
- * The system prop that allows defining system overrides as well as additional CSS styles.
783
- */
784
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
785
- /**
786
- * 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).
787
- * @default 'text'
788
- */
789
- type: e.string,
790
- /**
791
- * The value of the `input` element, required for a controlled component.
792
- */
793
- value: e.any
794
- });
795
- export {
796
- oo as I,
797
- Xe as a,
798
- eo as b,
799
- Je as c,
800
- te as i,
801
- Ze as r
802
- };