@vodafone_de/brix-components 3.1.6 → 3.1.7

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 (1104) hide show
  1. package/Accordion/Accordion.d.ts +122 -0
  2. package/Accordion/Accordion.js +334 -0
  3. package/Accordion/AccordionContext.js +18 -0
  4. package/Accordion/accordionClasses.d.ts +20 -0
  5. package/Accordion/accordionClasses.js +15 -0
  6. package/Accordion/index.d.ts +4 -0
  7. package/Accordion/index.js +35 -0
  8. package/AccordionActions/AccordionActions.d.ts +35 -0
  9. package/AccordionActions/AccordionActions.js +100 -0
  10. package/AccordionActions/accordionActionsClasses.d.ts +10 -0
  11. package/AccordionActions/accordionActionsClasses.js +15 -0
  12. package/AccordionActions/index.d.ts +4 -0
  13. package/AccordionActions/index.js +35 -0
  14. package/AccordionDetails/AccordionDetails.d.ts +30 -0
  15. package/AccordionDetails/AccordionDetails.js +76 -0
  16. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -0
  17. package/AccordionDetails/accordionDetailsClasses.js +15 -0
  18. package/AccordionDetails/index.d.ts +4 -0
  19. package/AccordionDetails/index.js +35 -0
  20. package/AccordionSummary/AccordionSummary.d.ts +80 -0
  21. package/AccordionSummary/AccordionSummary.js +254 -0
  22. package/AccordionSummary/accordionSummaryClasses.d.ts +25 -0
  23. package/AccordionSummary/accordionSummaryClasses.js +15 -0
  24. package/AccordionSummary/index.d.ts +4 -0
  25. package/AccordionSummary/index.js +35 -0
  26. package/Alert/Alert.d.ts +178 -0
  27. package/Alert/Alert.js +390 -0
  28. package/Alert/alertClasses.d.ts +100 -0
  29. package/Alert/alertClasses.js +15 -0
  30. package/Alert/index.d.ts +4 -0
  31. package/Alert/index.js +35 -0
  32. package/AlertTitle/AlertTitle.d.ts +31 -0
  33. package/AlertTitle/AlertTitle.js +82 -0
  34. package/AlertTitle/alertTitleClasses.d.ts +8 -0
  35. package/AlertTitle/alertTitleClasses.js +15 -0
  36. package/AlertTitle/index.d.ts +4 -0
  37. package/AlertTitle/index.js +35 -0
  38. package/AppBar/AppBar.d.ts +59 -0
  39. package/AppBar/AppBar.js +234 -0
  40. package/AppBar/appBarClasses.d.ts +36 -0
  41. package/AppBar/appBarClasses.js +15 -0
  42. package/AppBar/index.d.ts +4 -0
  43. package/AppBar/index.js +35 -0
  44. package/Autocomplete/Autocomplete.d.ts +320 -0
  45. package/Autocomplete/Autocomplete.js +1202 -0
  46. package/Autocomplete/autocompleteClasses.d.ts +58 -0
  47. package/Autocomplete/autocompleteClasses.js +15 -0
  48. package/Autocomplete/index.d.ts +4 -0
  49. package/Autocomplete/index.js +41 -0
  50. package/Avatar/Avatar.d.ts +112 -0
  51. package/Avatar/Avatar.js +325 -0
  52. package/Avatar/avatarClasses.d.ts +20 -0
  53. package/Avatar/avatarClasses.js +15 -0
  54. package/Avatar/index.d.ts +4 -0
  55. package/Avatar/index.js +35 -0
  56. package/AvatarGroup/AvatarGroup.d.ts +96 -0
  57. package/AvatarGroup/AvatarGroup.js +238 -0
  58. package/AvatarGroup/avatarGroupClasses.d.ts +10 -0
  59. package/AvatarGroup/avatarGroupClasses.js +15 -0
  60. package/AvatarGroup/index.d.ts +4 -0
  61. package/AvatarGroup/index.js +35 -0
  62. package/Backdrop/Backdrop.d.ts +118 -0
  63. package/Backdrop/Backdrop.js +212 -0
  64. package/Backdrop/backdropClasses.d.ts +10 -0
  65. package/Backdrop/backdropClasses.js +15 -0
  66. package/Backdrop/index.d.ts +4 -0
  67. package/Backdrop/index.js +35 -0
  68. package/Badge/Badge.d.ts +157 -0
  69. package/Badge/Badge.js +441 -0
  70. package/Badge/badgeClasses.d.ts +56 -0
  71. package/Badge/badgeClasses.js +17 -0
  72. package/Badge/index.d.ts +4 -0
  73. package/Badge/index.js +35 -0
  74. package/Badge/useBadge.d.ts +3 -0
  75. package/Badge/useBadge.js +37 -0
  76. package/Badge/useBadge.types.d.ts +39 -0
  77. package/Badge/useBadge.types.js +5 -0
  78. package/BottomNavigation/BottomNavigation.d.ts +55 -0
  79. package/BottomNavigation/BottomNavigation.js +129 -0
  80. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -0
  81. package/BottomNavigation/bottomNavigationClasses.js +15 -0
  82. package/BottomNavigation/index.d.ts +4 -0
  83. package/BottomNavigation/index.js +35 -0
  84. package/BottomNavigationAction/BottomNavigationAction.d.ts +87 -0
  85. package/BottomNavigationAction/BottomNavigationAction.js +237 -0
  86. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -0
  87. package/BottomNavigationAction/bottomNavigationActionClasses.js +15 -0
  88. package/BottomNavigationAction/index.d.ts +4 -0
  89. package/BottomNavigationAction/index.js +35 -0
  90. package/Box/Box.d.ts +20 -0
  91. package/Box/Box.js +41 -0
  92. package/Box/boxClasses.d.ts +7 -0
  93. package/Box/boxClasses.js +10 -0
  94. package/Box/index.d.ts +4 -0
  95. package/Box/index.js +35 -0
  96. package/Breadcrumbs/BreadcrumbCollapsed.js +97 -0
  97. package/Breadcrumbs/Breadcrumbs.d.ts +94 -0
  98. package/Breadcrumbs/Breadcrumbs.js +245 -0
  99. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -0
  100. package/Breadcrumbs/breadcrumbsClasses.js +15 -0
  101. package/Breadcrumbs/index.d.ts +4 -0
  102. package/Breadcrumbs/index.js +35 -0
  103. package/Button/Button.d.ts +130 -0
  104. package/Button/Button.js +693 -0
  105. package/Button/buttonClasses.d.ts +194 -0
  106. package/Button/buttonClasses.js +15 -0
  107. package/Button/index.d.ts +4 -0
  108. package/Button/index.js +35 -0
  109. package/ButtonBase/ButtonBase.d.ts +125 -0
  110. package/ButtonBase/ButtonBase.js +453 -0
  111. package/ButtonBase/Ripple.js +93 -0
  112. package/ButtonBase/TouchRipple.d.ts +22 -0
  113. package/ButtonBase/TouchRipple.js +331 -0
  114. package/ButtonBase/buttonBaseClasses.d.ts +12 -0
  115. package/ButtonBase/buttonBaseClasses.js +15 -0
  116. package/ButtonBase/index.d.ts +6 -0
  117. package/ButtonBase/index.js +54 -0
  118. package/ButtonBase/touchRippleClasses.d.ts +20 -0
  119. package/ButtonBase/touchRippleClasses.js +15 -0
  120. package/ButtonGroup/ButtonGroup.d.ts +91 -0
  121. package/ButtonGroup/ButtonGroup.js +397 -0
  122. package/ButtonGroup/ButtonGroupButtonContext.d.ts +6 -0
  123. package/ButtonGroup/ButtonGroupButtonContext.js +17 -0
  124. package/ButtonGroup/ButtonGroupContext.d.ts +18 -0
  125. package/ButtonGroup/ButtonGroupContext.js +17 -0
  126. package/ButtonGroup/buttonGroupClasses.d.ts +104 -0
  127. package/ButtonGroup/buttonGroupClasses.js +15 -0
  128. package/ButtonGroup/index.d.ts +6 -0
  129. package/ButtonGroup/index.js +51 -0
  130. package/Card/Card.d.ts +47 -0
  131. package/Card/Card.js +90 -0
  132. package/Card/cardClasses.d.ts +8 -0
  133. package/Card/cardClasses.js +15 -0
  134. package/Card/index.d.ts +4 -0
  135. package/Card/index.js +35 -0
  136. package/CardActionArea/CardActionArea.d.ts +63 -0
  137. package/CardActionArea/CardActionArea.js +161 -0
  138. package/CardActionArea/cardActionAreaClasses.d.ts +12 -0
  139. package/CardActionArea/cardActionAreaClasses.js +15 -0
  140. package/CardActionArea/index.d.ts +4 -0
  141. package/CardActionArea/index.js +35 -0
  142. package/CardActions/CardActions.d.ts +35 -0
  143. package/CardActions/CardActions.js +101 -0
  144. package/CardActions/cardActionsClasses.d.ts +10 -0
  145. package/CardActions/cardActionsClasses.js +15 -0
  146. package/CardActions/index.d.ts +4 -0
  147. package/CardActions/index.js +35 -0
  148. package/CardContent/CardContent.d.ts +38 -0
  149. package/CardContent/CardContent.js +86 -0
  150. package/CardContent/cardContentClasses.d.ts +8 -0
  151. package/CardContent/cardContentClasses.js +15 -0
  152. package/CardContent/index.d.ts +4 -0
  153. package/CardContent/index.js +35 -0
  154. package/CardHeader/CardHeader.d.ts +157 -0
  155. package/CardHeader/CardHeader.js +271 -0
  156. package/CardHeader/cardHeaderClasses.d.ts +18 -0
  157. package/CardHeader/cardHeaderClasses.js +15 -0
  158. package/CardHeader/index.d.ts +4 -0
  159. package/CardHeader/index.js +35 -0
  160. package/CardMedia/CardMedia.d.ts +51 -0
  161. package/CardMedia/CardMedia.js +152 -0
  162. package/CardMedia/cardMediaClasses.d.ts +12 -0
  163. package/CardMedia/cardMediaClasses.js +15 -0
  164. package/CardMedia/index.d.ts +4 -0
  165. package/CardMedia/index.js +35 -0
  166. package/Checkbox/Checkbox.d.ts +131 -0
  167. package/Checkbox/Checkbox.js +287 -0
  168. package/Checkbox/checkboxClasses.d.ts +22 -0
  169. package/Checkbox/checkboxClasses.js +15 -0
  170. package/Checkbox/index.d.ts +4 -0
  171. package/Checkbox/index.js +35 -0
  172. package/Chip/Chip.d.ts +107 -0
  173. package/Chip/Chip.js +583 -0
  174. package/Chip/chipClasses.d.ts +150 -0
  175. package/Chip/chipClasses.js +15 -0
  176. package/Chip/index.d.ts +4 -0
  177. package/Chip/index.js +35 -0
  178. package/CircularProgress/CircularProgress.d.ts +71 -0
  179. package/CircularProgress/CircularProgress.js +291 -0
  180. package/CircularProgress/circularProgressClasses.d.ts +30 -0
  181. package/CircularProgress/circularProgressClasses.js +15 -0
  182. package/CircularProgress/index.d.ts +4 -0
  183. package/CircularProgress/index.js +35 -0
  184. package/ClickAwayListener/ClickAwayListener.d.ts +47 -0
  185. package/ClickAwayListener/ClickAwayListener.js +183 -0
  186. package/ClickAwayListener/index.d.ts +2 -0
  187. package/ClickAwayListener/index.js +12 -0
  188. package/Collapse/Collapse.d.ts +71 -0
  189. package/Collapse/Collapse.js +416 -0
  190. package/Collapse/collapseClasses.d.ts +18 -0
  191. package/Collapse/collapseClasses.js +15 -0
  192. package/Collapse/index.d.ts +4 -0
  193. package/Collapse/index.js +35 -0
  194. package/Container/Container.d.ts +55 -0
  195. package/Container/Container.js +73 -0
  196. package/Container/containerClasses.d.ts +6 -0
  197. package/Container/containerClasses.js +15 -0
  198. package/Container/index.d.ts +4 -0
  199. package/Container/index.js +35 -0
  200. package/CssBaseline/CssBaseline.d.ts +28 -0
  201. package/CssBaseline/CssBaseline.js +170 -0
  202. package/CssBaseline/index.d.ts +2 -0
  203. package/CssBaseline/index.js +13 -0
  204. package/DefaultPropsProvider/DefaultPropsProvider.d.ts +13 -0
  205. package/DefaultPropsProvider/DefaultPropsProvider.js +37 -0
  206. package/DefaultPropsProvider/index.d.ts +1 -0
  207. package/DefaultPropsProvider/index.js +19 -0
  208. package/Dialog/Dialog.d.ts +184 -0
  209. package/Dialog/Dialog.js +516 -0
  210. package/Dialog/DialogContext.d.ts +6 -0
  211. package/Dialog/DialogContext.js +14 -0
  212. package/Dialog/dialogClasses.d.ts +40 -0
  213. package/Dialog/dialogClasses.js +15 -0
  214. package/Dialog/index.d.ts +4 -0
  215. package/Dialog/index.js +35 -0
  216. package/DialogActions/DialogActions.d.ts +35 -0
  217. package/DialogActions/DialogActions.js +103 -0
  218. package/DialogActions/dialogActionsClasses.d.ts +10 -0
  219. package/DialogActions/dialogActionsClasses.js +15 -0
  220. package/DialogActions/index.d.ts +4 -0
  221. package/DialogActions/index.js +35 -0
  222. package/DialogContent/DialogContent.d.ts +35 -0
  223. package/DialogContent/DialogContent.js +116 -0
  224. package/DialogContent/dialogContentClasses.d.ts +10 -0
  225. package/DialogContent/dialogContentClasses.js +15 -0
  226. package/DialogContent/index.d.ts +4 -0
  227. package/DialogContent/index.js +35 -0
  228. package/DialogContentText/DialogContentText.d.ts +37 -0
  229. package/DialogContentText/DialogContentText.js +83 -0
  230. package/DialogContentText/dialogContentTextClasses.d.ts +8 -0
  231. package/DialogContentText/dialogContentTextClasses.js +15 -0
  232. package/DialogContentText/index.d.ts +4 -0
  233. package/DialogContentText/index.js +35 -0
  234. package/DialogTitle/DialogTitle.d.ts +43 -0
  235. package/DialogTitle/DialogTitle.js +87 -0
  236. package/DialogTitle/dialogTitleClasses.d.ts +8 -0
  237. package/DialogTitle/dialogTitleClasses.js +15 -0
  238. package/DialogTitle/index.d.ts +4 -0
  239. package/DialogTitle/index.js +35 -0
  240. package/Divider/Divider.d.ts +74 -0
  241. package/Divider/Divider.js +321 -0
  242. package/Divider/dividerClasses.d.ts +38 -0
  243. package/Divider/dividerClasses.js +15 -0
  244. package/Divider/index.d.ts +4 -0
  245. package/Divider/index.js +35 -0
  246. package/Drawer/Drawer.d.ts +154 -0
  247. package/Drawer/Drawer.js +443 -0
  248. package/Drawer/drawerClasses.d.ts +54 -0
  249. package/Drawer/drawerClasses.js +15 -0
  250. package/Drawer/index.d.ts +4 -0
  251. package/Drawer/index.js +35 -0
  252. package/Fab/Fab.d.ts +82 -0
  253. package/Fab/Fab.js +278 -0
  254. package/Fab/fabClasses.d.ts +26 -0
  255. package/Fab/fabClasses.js +15 -0
  256. package/Fab/index.d.ts +4 -0
  257. package/Fab/index.js +35 -0
  258. package/Fade/Fade.d.ts +48 -0
  259. package/Fade/Fade.js +217 -0
  260. package/Fade/index.d.ts +2 -0
  261. package/Fade/index.js +13 -0
  262. package/FilledInput/FilledInput.d.ts +42 -0
  263. package/FilledInput/FilledInput.js +523 -0
  264. package/FilledInput/filledInputClasses.d.ts +30 -0
  265. package/FilledInput/filledInputClasses.js +19 -0
  266. package/FilledInput/index.d.ts +4 -0
  267. package/FilledInput/index.js +35 -0
  268. package/FormControl/FormControl.d.ts +120 -0
  269. package/FormControl/FormControl.js +312 -0
  270. package/FormControl/FormControlContext.d.ts +17 -0
  271. package/FormControl/FormControlContext.js +17 -0
  272. package/FormControl/formControlClasses.d.ts +14 -0
  273. package/FormControl/formControlClasses.js +15 -0
  274. package/FormControl/formControlState.js +21 -0
  275. package/FormControl/index.d.ts +6 -0
  276. package/FormControl/index.js +43 -0
  277. package/FormControl/useFormControl.d.ts +2 -0
  278. package/FormControl/useFormControl.js +14 -0
  279. package/FormControlLabel/FormControlLabel.d.ts +101 -0
  280. package/FormControlLabel/FormControlLabel.js +289 -0
  281. package/FormControlLabel/formControlLabelClasses.d.ts +24 -0
  282. package/FormControlLabel/formControlLabelClasses.js +15 -0
  283. package/FormControlLabel/index.d.ts +4 -0
  284. package/FormControlLabel/index.js +35 -0
  285. package/FormGroup/FormGroup.d.ts +39 -0
  286. package/FormGroup/FormGroup.js +115 -0
  287. package/FormGroup/formGroupClasses.d.ts +12 -0
  288. package/FormGroup/formGroupClasses.js +15 -0
  289. package/FormGroup/index.d.ts +4 -0
  290. package/FormGroup/index.js +35 -0
  291. package/FormHelperText/FormHelperText.d.ts +71 -0
  292. package/FormHelperText/FormHelperText.js +193 -0
  293. package/FormHelperText/formHelperTextClasses.d.ts +22 -0
  294. package/FormHelperText/formHelperTextClasses.js +15 -0
  295. package/FormHelperText/index.d.ts +4 -0
  296. package/FormHelperText/index.js +35 -0
  297. package/FormLabel/FormLabel.d.ts +78 -0
  298. package/FormLabel/FormLabel.js +188 -0
  299. package/FormLabel/formLabelClasses.d.ts +22 -0
  300. package/FormLabel/formLabelClasses.js +15 -0
  301. package/FormLabel/index.d.ts +4 -0
  302. package/FormLabel/index.js +45 -0
  303. package/GlobalStyles/GlobalStyles.d.ts +20 -0
  304. package/GlobalStyles/GlobalStyles.js +33 -0
  305. package/GlobalStyles/index.d.ts +2 -0
  306. package/GlobalStyles/index.js +13 -0
  307. package/Grid/Grid.d.ts +111 -0
  308. package/Grid/Grid.js +144 -0
  309. package/Grid/gridClasses.d.ts +10 -0
  310. package/Grid/gridClasses.js +27 -0
  311. package/Grid/index.d.ts +4 -0
  312. package/Grid/index.js +45 -0
  313. package/GridLegacy/GridLegacy.d.ts +160 -0
  314. package/GridLegacy/GridLegacy.js +601 -0
  315. package/GridLegacy/GridLegacyContext.js +17 -0
  316. package/GridLegacy/gridLegacyClasses.d.ts +48 -0
  317. package/GridLegacy/gridLegacyClasses.js +27 -0
  318. package/GridLegacy/index.d.ts +4 -0
  319. package/GridLegacy/index.js +35 -0
  320. package/Grow/Grow.d.ts +49 -0
  321. package/Grow/Grow.js +269 -0
  322. package/Grow/index.d.ts +2 -0
  323. package/Grow/index.js +13 -0
  324. package/Icon/Icon.d.ts +62 -0
  325. package/Icon/Icon.js +192 -0
  326. package/Icon/iconClasses.d.ts +24 -0
  327. package/Icon/iconClasses.js +15 -0
  328. package/Icon/index.d.ts +4 -0
  329. package/Icon/index.js +35 -0
  330. package/IconButton/IconButton.d.ts +90 -0
  331. package/IconButton/IconButton.js +328 -0
  332. package/IconButton/iconButtonClasses.d.ts +40 -0
  333. package/IconButton/iconButtonClasses.js +15 -0
  334. package/IconButton/index.d.ts +4 -0
  335. package/IconButton/index.js +35 -0
  336. package/ImageList/ImageList.d.ts +60 -0
  337. package/ImageList/ImageList.js +157 -0
  338. package/ImageList/ImageListContext.js +18 -0
  339. package/ImageList/imageListClasses.d.ts +16 -0
  340. package/ImageList/imageListClasses.js +15 -0
  341. package/ImageList/index.d.ts +4 -0
  342. package/ImageList/index.js +35 -0
  343. package/ImageListItem/ImageListItem.d.ts +48 -0
  344. package/ImageListItem/ImageListItem.js +195 -0
  345. package/ImageListItem/imageListItemClasses.d.ts +18 -0
  346. package/ImageListItem/imageListItemClasses.js +15 -0
  347. package/ImageListItem/index.d.ts +4 -0
  348. package/ImageListItem/index.js +35 -0
  349. package/ImageListItemBar/ImageListItemBar.d.ts +49 -0
  350. package/ImageListItemBar/ImageListItemBar.js +258 -0
  351. package/ImageListItemBar/imageListItemBarClasses.d.ts +42 -0
  352. package/ImageListItemBar/imageListItemBarClasses.js +15 -0
  353. package/ImageListItemBar/index.d.ts +4 -0
  354. package/ImageListItemBar/index.js +35 -0
  355. package/InitColorSchemeScript/InitColorSchemeScript.d.ts +66 -0
  356. package/InitColorSchemeScript/InitColorSchemeScript.js +99 -0
  357. package/InitColorSchemeScript/index.d.ts +1 -0
  358. package/InitColorSchemeScript/index.js +13 -0
  359. package/Input/Input.d.ts +35 -0
  360. package/Input/Input.js +368 -0
  361. package/Input/index.d.ts +4 -0
  362. package/Input/index.js +35 -0
  363. package/Input/inputClasses.d.ts +38 -0
  364. package/Input/inputClasses.js +19 -0
  365. package/InputAdornment/InputAdornment.d.ts +59 -0
  366. package/InputAdornment/InputAdornment.js +193 -0
  367. package/InputAdornment/index.d.ts +4 -0
  368. package/InputAdornment/index.js +35 -0
  369. package/InputAdornment/inputAdornmentClasses.d.ts +24 -0
  370. package/InputAdornment/inputAdornmentClasses.js +15 -0
  371. package/InputBase/InputBase.d.ts +247 -0
  372. package/InputBase/InputBase.js +758 -0
  373. package/InputBase/index.d.ts +4 -0
  374. package/InputBase/index.js +35 -0
  375. package/InputBase/inputBaseClasses.d.ts +55 -0
  376. package/InputBase/inputBaseClasses.js +15 -0
  377. package/InputBase/utils.js +38 -0
  378. package/InputLabel/InputLabel.d.ts +79 -0
  379. package/InputLabel/InputLabel.js +290 -0
  380. package/InputLabel/index.d.ts +4 -0
  381. package/InputLabel/index.js +35 -0
  382. package/InputLabel/inputLabelClasses.d.ts +32 -0
  383. package/InputLabel/inputLabelClasses.js +15 -0
  384. package/LinearProgress/LinearProgress.d.ts +57 -0
  385. package/LinearProgress/LinearProgress.js +462 -0
  386. package/LinearProgress/index.d.ts +4 -0
  387. package/LinearProgress/index.js +35 -0
  388. package/LinearProgress/linearProgressClasses.d.ts +64 -0
  389. package/LinearProgress/linearProgressClasses.js +15 -0
  390. package/Link/Link.d.ts +63 -0
  391. package/Link/Link.js +290 -0
  392. package/Link/getTextDecoration.d.ts +11 -0
  393. package/Link/getTextDecoration.js +22 -0
  394. package/Link/index.d.ts +4 -0
  395. package/Link/index.js +35 -0
  396. package/Link/linkClasses.d.ts +18 -0
  397. package/Link/linkClasses.js +15 -0
  398. package/List/List.d.ts +65 -0
  399. package/List/List.js +141 -0
  400. package/List/ListContext.d.ts +5 -0
  401. package/List/ListContext.js +17 -0
  402. package/List/index.d.ts +4 -0
  403. package/List/index.js +35 -0
  404. package/List/listClasses.d.ts +14 -0
  405. package/List/listClasses.js +15 -0
  406. package/ListItem/ListItem.d.ts +127 -0
  407. package/ListItem/ListItem.js +395 -0
  408. package/ListItem/index.d.ts +4 -0
  409. package/ListItem/index.js +35 -0
  410. package/ListItem/listItemClasses.d.ts +22 -0
  411. package/ListItem/listItemClasses.js +15 -0
  412. package/ListItemAvatar/ListItemAvatar.d.ts +30 -0
  413. package/ListItemAvatar/ListItemAvatar.js +98 -0
  414. package/ListItemAvatar/index.d.ts +4 -0
  415. package/ListItemAvatar/index.js +35 -0
  416. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -0
  417. package/ListItemAvatar/listItemAvatarClasses.js +15 -0
  418. package/ListItemButton/ListItemButton.d.ts +85 -0
  419. package/ListItemButton/ListItemButton.js +272 -0
  420. package/ListItemButton/index.d.ts +4 -0
  421. package/ListItemButton/index.js +35 -0
  422. package/ListItemButton/listItemButtonClasses.d.ts +22 -0
  423. package/ListItemButton/listItemButtonClasses.js +15 -0
  424. package/ListItemIcon/ListItemIcon.d.ts +32 -0
  425. package/ListItemIcon/ListItemIcon.js +104 -0
  426. package/ListItemIcon/index.d.ts +4 -0
  427. package/ListItemIcon/index.js +35 -0
  428. package/ListItemIcon/listItemIconClasses.d.ts +10 -0
  429. package/ListItemIcon/listItemIconClasses.js +15 -0
  430. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +36 -0
  431. package/ListItemSecondaryAction/ListItemSecondaryAction.js +103 -0
  432. package/ListItemSecondaryAction/index.d.ts +4 -0
  433. package/ListItemSecondaryAction/index.js +35 -0
  434. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -0
  435. package/ListItemSecondaryAction/listItemSecondaryActionClasses.js +15 -0
  436. package/ListItemText/ListItemText.d.ts +105 -0
  437. package/ListItemText/ListItemText.js +234 -0
  438. package/ListItemText/index.d.ts +4 -0
  439. package/ListItemText/index.js +35 -0
  440. package/ListItemText/listItemTextClasses.d.ts +18 -0
  441. package/ListItemText/listItemTextClasses.js +15 -0
  442. package/ListSubheader/ListSubheader.d.ts +59 -0
  443. package/ListSubheader/ListSubheader.js +174 -0
  444. package/ListSubheader/index.d.ts +4 -0
  445. package/ListSubheader/index.js +35 -0
  446. package/ListSubheader/listSubheaderClasses.d.ts +18 -0
  447. package/ListSubheader/listSubheaderClasses.js +15 -0
  448. package/Menu/Menu.d.ts +162 -0
  449. package/Menu/Menu.js +345 -0
  450. package/Menu/index.d.ts +4 -0
  451. package/Menu/index.js +35 -0
  452. package/Menu/menuClasses.d.ts +12 -0
  453. package/Menu/menuClasses.js +15 -0
  454. package/MenuItem/MenuItem.d.ts +69 -0
  455. package/MenuItem/MenuItem.js +291 -0
  456. package/MenuItem/index.d.ts +4 -0
  457. package/MenuItem/index.js +35 -0
  458. package/MenuItem/menuItemClasses.d.ts +20 -0
  459. package/MenuItem/menuItemClasses.js +15 -0
  460. package/MenuList/MenuList.d.ts +62 -0
  461. package/MenuList/MenuList.js +297 -0
  462. package/MenuList/index.d.ts +2 -0
  463. package/MenuList/index.js +13 -0
  464. package/MobileStepper/MobileStepper.d.ts +112 -0
  465. package/MobileStepper/MobileStepper.js +311 -0
  466. package/MobileStepper/index.d.ts +4 -0
  467. package/MobileStepper/index.js +35 -0
  468. package/MobileStepper/mobileStepperClasses.d.ts +22 -0
  469. package/MobileStepper/mobileStepperClasses.js +15 -0
  470. package/Modal/Modal.d.ts +218 -0
  471. package/Modal/Modal.js +397 -0
  472. package/Modal/ModalManager.d.ts +25 -0
  473. package/Modal/ModalManager.js +222 -0
  474. package/Modal/index.d.ts +5 -0
  475. package/Modal/index.js +43 -0
  476. package/Modal/modalClasses.d.ts +12 -0
  477. package/Modal/modalClasses.js +15 -0
  478. package/Modal/useModal.d.ts +3 -0
  479. package/Modal/useModal.js +200 -0
  480. package/Modal/useModal.types.d.ts +118 -0
  481. package/Modal/useModal.types.js +5 -0
  482. package/NativeSelect/NativeSelect.d.ts +68 -0
  483. package/NativeSelect/NativeSelect.js +140 -0
  484. package/NativeSelect/NativeSelectInput.d.ts +13 -0
  485. package/NativeSelect/NativeSelectInput.js +247 -0
  486. package/NativeSelect/index.d.ts +4 -0
  487. package/NativeSelect/index.js +35 -0
  488. package/NativeSelect/nativeSelectClasses.d.ts +34 -0
  489. package/NativeSelect/nativeSelectClasses.js +15 -0
  490. package/NoSsr/NoSsr.d.ts +25 -0
  491. package/NoSsr/NoSsr.js +78 -0
  492. package/NoSsr/NoSsr.types.d.ts +18 -0
  493. package/NoSsr/NoSsr.types.js +5 -0
  494. package/NoSsr/index.d.ts +3 -0
  495. package/NoSsr/index.js +13 -0
  496. package/OutlinedInput/NotchedOutline.d.ts +12 -0
  497. package/OutlinedInput/NotchedOutline.js +161 -0
  498. package/OutlinedInput/OutlinedInput.d.ts +54 -0
  499. package/OutlinedInput/OutlinedInput.js +436 -0
  500. package/OutlinedInput/index.d.ts +4 -0
  501. package/OutlinedInput/index.js +35 -0
  502. package/OutlinedInput/outlinedInputClasses.d.ts +38 -0
  503. package/OutlinedInput/outlinedInputClasses.js +19 -0
  504. package/OverridableComponent/index.d.ts +41 -0
  505. package/OverridableComponent/index.js +5 -0
  506. package/Pagination/Pagination.d.ts +79 -0
  507. package/Pagination/Pagination.js +251 -0
  508. package/Pagination/index.d.ts +4 -0
  509. package/Pagination/index.js +35 -0
  510. package/Pagination/paginationClasses.d.ts +14 -0
  511. package/Pagination/paginationClasses.js +15 -0
  512. package/PaginationItem/PaginationItem.d.ts +110 -0
  513. package/PaginationItem/PaginationItem.js +478 -0
  514. package/PaginationItem/index.d.ts +4 -0
  515. package/PaginationItem/index.js +35 -0
  516. package/PaginationItem/paginationItemClasses.d.ts +54 -0
  517. package/PaginationItem/paginationItemClasses.js +15 -0
  518. package/Paper/Paper.d.ts +62 -0
  519. package/Paper/Paper.js +177 -0
  520. package/Paper/index.d.ts +4 -0
  521. package/Paper/index.js +35 -0
  522. package/Paper/paperClasses.d.ts +64 -0
  523. package/Paper/paperClasses.js +15 -0
  524. package/PigmentContainer/PigmentContainer.d.ts +55 -0
  525. package/PigmentContainer/PigmentContainer.js +107 -0
  526. package/PigmentContainer/index.d.ts +3 -0
  527. package/PigmentContainer/index.js +35 -0
  528. package/PigmentGrid/PigmentGrid.d.ts +83 -0
  529. package/PigmentGrid/PigmentGrid.js +135 -0
  530. package/PigmentGrid/index.d.ts +3 -0
  531. package/PigmentGrid/index.js +35 -0
  532. package/PigmentStack/PigmentStack.d.ts +49 -0
  533. package/PigmentStack/PigmentStack.js +90 -0
  534. package/PigmentStack/index.d.ts +3 -0
  535. package/PigmentStack/index.js +35 -0
  536. package/Popover/Popover.d.ts +233 -0
  537. package/Popover/Popover.js +590 -0
  538. package/Popover/index.d.ts +4 -0
  539. package/Popover/index.js +45 -0
  540. package/Popover/popoverClasses.d.ts +10 -0
  541. package/Popover/popoverClasses.js +15 -0
  542. package/Popper/BasePopper.d.ts +7 -0
  543. package/Popper/BasePopper.js +382 -0
  544. package/Popper/BasePopper.types.d.ts +129 -0
  545. package/Popper/BasePopper.types.js +5 -0
  546. package/Popper/Popper.d.ts +46 -0
  547. package/Popper/Popper.js +216 -0
  548. package/Popper/index.d.ts +4 -0
  549. package/Popper/index.js +26 -0
  550. package/Popper/popperClasses.d.ts +8 -0
  551. package/Popper/popperClasses.js +15 -0
  552. package/Portal/Portal.d.ts +16 -0
  553. package/Portal/Portal.js +98 -0
  554. package/Portal/Portal.types.d.ts +23 -0
  555. package/Portal/Portal.types.js +5 -0
  556. package/Portal/index.d.ts +3 -0
  557. package/Portal/index.js +13 -0
  558. package/Radio/Radio.d.ts +86 -0
  559. package/Radio/Radio.js +316 -0
  560. package/Radio/RadioButtonIcon.js +94 -0
  561. package/Radio/index.d.ts +4 -0
  562. package/Radio/index.js +35 -0
  563. package/Radio/radioClasses.d.ts +18 -0
  564. package/Radio/radioClasses.js +15 -0
  565. package/RadioGroup/RadioGroup.d.ts +38 -0
  566. package/RadioGroup/RadioGroup.js +121 -0
  567. package/RadioGroup/RadioGroupContext.d.ts +11 -0
  568. package/RadioGroup/RadioGroupContext.js +17 -0
  569. package/RadioGroup/index.d.ts +5 -0
  570. package/RadioGroup/index.js +43 -0
  571. package/RadioGroup/radioGroupClasses.d.ts +6 -0
  572. package/RadioGroup/radioGroupClasses.js +15 -0
  573. package/RadioGroup/useRadioGroup.d.ts +3 -0
  574. package/RadioGroup/useRadioGroup.js +14 -0
  575. package/Rating/Rating.d.ts +183 -0
  576. package/Rating/Rating.js +784 -0
  577. package/Rating/index.d.ts +4 -0
  578. package/Rating/index.js +35 -0
  579. package/Rating/ratingClasses.d.ts +40 -0
  580. package/Rating/ratingClasses.js +15 -0
  581. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +55 -0
  582. package/ScopedCssBaseline/ScopedCssBaseline.js +126 -0
  583. package/ScopedCssBaseline/index.d.ts +4 -0
  584. package/ScopedCssBaseline/index.js +35 -0
  585. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -0
  586. package/ScopedCssBaseline/scopedCssBaselineClasses.js +15 -0
  587. package/Select/Select.d.ts +188 -0
  588. package/Select/Select.js +306 -0
  589. package/Select/SelectInput.d.ts +55 -0
  590. package/Select/SelectInput.js +679 -0
  591. package/Select/index.d.ts +4 -0
  592. package/Select/index.js +35 -0
  593. package/Select/selectClasses.d.ts +42 -0
  594. package/Select/selectClasses.js +15 -0
  595. package/Skeleton/Skeleton.d.ts +62 -0
  596. package/Skeleton/Skeleton.js +276 -0
  597. package/Skeleton/index.d.ts +4 -0
  598. package/Skeleton/index.js +35 -0
  599. package/Skeleton/skeletonClasses.d.ts +26 -0
  600. package/Skeleton/skeletonClasses.js +15 -0
  601. package/Slide/Slide.d.ts +63 -0
  602. package/Slide/Slide.js +345 -0
  603. package/Slide/index.d.ts +2 -0
  604. package/Slide/index.js +13 -0
  605. package/Slider/Slider.d.ts +298 -0
  606. package/Slider/Slider.js +1097 -0
  607. package/Slider/SliderValueLabel.d.ts +13 -0
  608. package/Slider/SliderValueLabel.js +60 -0
  609. package/Slider/SliderValueLabel.types.d.ts +25 -0
  610. package/Slider/SliderValueLabel.types.js +5 -0
  611. package/Slider/index.d.ts +4 -0
  612. package/Slider/index.js +45 -0
  613. package/Slider/sliderClasses.d.ts +88 -0
  614. package/Slider/sliderClasses.js +15 -0
  615. package/Slider/useSlider.d.ts +4 -0
  616. package/Slider/useSlider.js +711 -0
  617. package/Slider/useSlider.types.d.ts +226 -0
  618. package/Slider/useSlider.types.js +5 -0
  619. package/Snackbar/Snackbar.d.ts +182 -0
  620. package/Snackbar/Snackbar.js +437 -0
  621. package/Snackbar/index.d.ts +4 -0
  622. package/Snackbar/index.js +35 -0
  623. package/Snackbar/snackbarClasses.d.ts +20 -0
  624. package/Snackbar/snackbarClasses.js +15 -0
  625. package/Snackbar/useSnackbar.d.ts +3 -0
  626. package/Snackbar/useSnackbar.js +130 -0
  627. package/Snackbar/useSnackbar.types.d.ts +59 -0
  628. package/Snackbar/useSnackbar.types.js +5 -0
  629. package/SnackbarContent/SnackbarContent.d.ts +42 -0
  630. package/SnackbarContent/SnackbarContent.js +136 -0
  631. package/SnackbarContent/index.d.ts +4 -0
  632. package/SnackbarContent/index.js +35 -0
  633. package/SnackbarContent/snackbarContentClasses.d.ts +12 -0
  634. package/SnackbarContent/snackbarContentClasses.js +15 -0
  635. package/SpeedDial/SpeedDial.d.ts +131 -0
  636. package/SpeedDial/SpeedDial.js +585 -0
  637. package/SpeedDial/index.d.ts +4 -0
  638. package/SpeedDial/index.js +35 -0
  639. package/SpeedDial/speedDialClasses.d.ts +22 -0
  640. package/SpeedDial/speedDialClasses.js +15 -0
  641. package/SpeedDialAction/SpeedDialAction.d.ts +117 -0
  642. package/SpeedDialAction/SpeedDialAction.js +357 -0
  643. package/SpeedDialAction/index.d.ts +4 -0
  644. package/SpeedDialAction/index.js +35 -0
  645. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -0
  646. package/SpeedDialAction/speedDialActionClasses.js +15 -0
  647. package/SpeedDialIcon/SpeedDialIcon.d.ts +43 -0
  648. package/SpeedDialIcon/SpeedDialIcon.js +163 -0
  649. package/SpeedDialIcon/index.d.ts +4 -0
  650. package/SpeedDialIcon/index.js +35 -0
  651. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -0
  652. package/SpeedDialIcon/speedDialIconClasses.js +15 -0
  653. package/Stack/Stack.d.ts +58 -0
  654. package/Stack/Stack.js +67 -0
  655. package/Stack/index.d.ts +4 -0
  656. package/Stack/index.js +20 -0
  657. package/Stack/stackClasses.d.ts +6 -0
  658. package/Stack/stackClasses.js +15 -0
  659. package/Step/Step.d.ts +70 -0
  660. package/Step/Step.js +183 -0
  661. package/Step/StepContext.d.ts +20 -0
  662. package/Step/StepContext.js +26 -0
  663. package/Step/index.d.ts +6 -0
  664. package/Step/index.js +54 -0
  665. package/Step/stepClasses.d.ts +16 -0
  666. package/Step/stepClasses.js +15 -0
  667. package/StepButton/StepButton.d.ts +51 -0
  668. package/StepButton/StepButton.js +140 -0
  669. package/StepButton/index.d.ts +4 -0
  670. package/StepButton/index.js +35 -0
  671. package/StepButton/stepButtonClasses.d.ts +14 -0
  672. package/StepButton/stepButtonClasses.js +15 -0
  673. package/StepConnector/StepConnector.d.ts +29 -0
  674. package/StepConnector/StepConnector.js +159 -0
  675. package/StepConnector/index.d.ts +4 -0
  676. package/StepConnector/index.js +35 -0
  677. package/StepConnector/stepConnectorClasses.d.ts +30 -0
  678. package/StepConnector/stepConnectorClasses.js +15 -0
  679. package/StepContent/StepContent.d.ts +75 -0
  680. package/StepContent/StepContent.js +193 -0
  681. package/StepContent/index.d.ts +4 -0
  682. package/StepContent/index.js +35 -0
  683. package/StepContent/stepContentClasses.d.ts +12 -0
  684. package/StepContent/stepContentClasses.js +15 -0
  685. package/StepIcon/StepIcon.d.ts +50 -0
  686. package/StepIcon/StepIcon.js +166 -0
  687. package/StepIcon/index.d.ts +4 -0
  688. package/StepIcon/index.js +35 -0
  689. package/StepIcon/stepIconClasses.d.ts +16 -0
  690. package/StepIcon/stepIconClasses.js +15 -0
  691. package/StepLabel/StepLabel.d.ts +106 -0
  692. package/StepLabel/StepLabel.js +284 -0
  693. package/StepLabel/index.d.ts +4 -0
  694. package/StepLabel/index.js +35 -0
  695. package/StepLabel/stepLabelClasses.d.ts +28 -0
  696. package/StepLabel/stepLabelClasses.js +15 -0
  697. package/Stepper/Stepper.d.ts +71 -0
  698. package/Stepper/Stepper.js +174 -0
  699. package/Stepper/StepperContext.d.ts +18 -0
  700. package/Stepper/StepperContext.js +26 -0
  701. package/Stepper/index.d.ts +6 -0
  702. package/Stepper/index.js +54 -0
  703. package/Stepper/stepperClasses.d.ts +16 -0
  704. package/Stepper/stepperClasses.js +15 -0
  705. package/SvgIcon/SvgIcon.d.ts +89 -0
  706. package/SvgIcon/SvgIcon.js +241 -0
  707. package/SvgIcon/index.d.ts +4 -0
  708. package/SvgIcon/index.js +35 -0
  709. package/SvgIcon/svgIconClasses.d.ts +26 -0
  710. package/SvgIcon/svgIconClasses.js +15 -0
  711. package/SwipeableDrawer/SwipeArea.js +111 -0
  712. package/SwipeableDrawer/SwipeableDrawer.d.ts +106 -0
  713. package/SwipeableDrawer/SwipeableDrawer.js +668 -0
  714. package/SwipeableDrawer/index.d.ts +2 -0
  715. package/SwipeableDrawer/index.js +13 -0
  716. package/Switch/Switch.d.ts +123 -0
  717. package/Switch/Switch.js +412 -0
  718. package/Switch/index.d.ts +4 -0
  719. package/Switch/index.js +35 -0
  720. package/Switch/switchClasses.d.ts +32 -0
  721. package/Switch/switchClasses.js +15 -0
  722. package/Tab/Tab.d.ts +75 -0
  723. package/Tab/Tab.js +345 -0
  724. package/Tab/index.d.ts +4 -0
  725. package/Tab/index.js +35 -0
  726. package/Tab/tabClasses.d.ts +30 -0
  727. package/Tab/tabClasses.js +15 -0
  728. package/TabScrollButton/TabScrollButton.d.ts +67 -0
  729. package/TabScrollButton/TabScrollButton.js +179 -0
  730. package/TabScrollButton/index.d.ts +4 -0
  731. package/TabScrollButton/index.js +35 -0
  732. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -0
  733. package/TabScrollButton/tabScrollButtonClasses.js +15 -0
  734. package/Table/Table.d.ts +55 -0
  735. package/Table/Table.js +143 -0
  736. package/Table/TableContext.d.ts +7 -0
  737. package/Table/TableContext.js +17 -0
  738. package/Table/Tablelvl2Context.d.ts +6 -0
  739. package/Table/Tablelvl2Context.js +17 -0
  740. package/Table/index.d.ts +4 -0
  741. package/Table/index.js +35 -0
  742. package/Table/tableClasses.d.ts +10 -0
  743. package/Table/tableClasses.js +15 -0
  744. package/TableBody/TableBody.d.ts +38 -0
  745. package/TableBody/TableBody.js +92 -0
  746. package/TableBody/index.d.ts +4 -0
  747. package/TableBody/index.js +35 -0
  748. package/TableBody/tableBodyClasses.d.ts +8 -0
  749. package/TableBody/tableBodyClasses.js +15 -0
  750. package/TableCell/TableCell.d.ts +82 -0
  751. package/TableCell/TableCell.js +277 -0
  752. package/TableCell/index.d.ts +4 -0
  753. package/TableCell/index.js +35 -0
  754. package/TableCell/tableCellClasses.d.ts +32 -0
  755. package/TableCell/tableCellClasses.js +15 -0
  756. package/TableContainer/TableContainer.d.ts +38 -0
  757. package/TableContainer/TableContainer.js +84 -0
  758. package/TableContainer/index.d.ts +4 -0
  759. package/TableContainer/index.js +35 -0
  760. package/TableContainer/tableContainerClasses.d.ts +8 -0
  761. package/TableContainer/tableContainerClasses.js +15 -0
  762. package/TableFooter/TableFooter.d.ts +38 -0
  763. package/TableFooter/TableFooter.js +92 -0
  764. package/TableFooter/index.d.ts +4 -0
  765. package/TableFooter/index.js +35 -0
  766. package/TableFooter/tableFooterClasses.d.ts +8 -0
  767. package/TableFooter/tableFooterClasses.js +15 -0
  768. package/TableHead/TableHead.d.ts +38 -0
  769. package/TableHead/TableHead.js +92 -0
  770. package/TableHead/index.d.ts +4 -0
  771. package/TableHead/index.js +35 -0
  772. package/TableHead/tableHeadClasses.d.ts +8 -0
  773. package/TableHead/tableHeadClasses.js +15 -0
  774. package/TablePagination/TablePagination.d.ts +263 -0
  775. package/TablePagination/TablePagination.js +507 -0
  776. package/TablePagination/TablePaginationActions.d.ts +94 -0
  777. package/TablePagination/TablePaginationActions.js +199 -0
  778. package/TablePagination/index.d.ts +4 -0
  779. package/TablePagination/index.js +35 -0
  780. package/TablePagination/tablePaginationClasses.d.ts +28 -0
  781. package/TablePagination/tablePaginationClasses.js +15 -0
  782. package/TableRow/TableRow.d.ts +50 -0
  783. package/TableRow/TableRow.js +134 -0
  784. package/TableRow/index.d.ts +4 -0
  785. package/TableRow/index.js +35 -0
  786. package/TableRow/tableRowClasses.d.ts +16 -0
  787. package/TableRow/tableRowClasses.js +15 -0
  788. package/TableSortLabel/TableSortLabel.d.ts +90 -0
  789. package/TableSortLabel/TableSortLabel.js +219 -0
  790. package/TableSortLabel/index.d.ts +4 -0
  791. package/TableSortLabel/index.js +35 -0
  792. package/TableSortLabel/tableSortLabelClasses.d.ts +24 -0
  793. package/TableSortLabel/tableSortLabelClasses.js +15 -0
  794. package/Tabs/ScrollbarSize.js +65 -0
  795. package/Tabs/Tabs.d.ts +272 -0
  796. package/Tabs/Tabs.js +962 -0
  797. package/Tabs/index.d.ts +4 -0
  798. package/Tabs/index.js +35 -0
  799. package/Tabs/tabsClasses.d.ts +36 -0
  800. package/Tabs/tabsClasses.js +15 -0
  801. package/TextField/TextField.d.ts +342 -0
  802. package/TextField/TextField.js +463 -0
  803. package/TextField/index.d.ts +4 -0
  804. package/TextField/index.js +35 -0
  805. package/TextField/textFieldClasses.d.ts +8 -0
  806. package/TextField/textFieldClasses.js +15 -0
  807. package/TextareaAutosize/TextareaAutosize.d.ts +14 -0
  808. package/TextareaAutosize/TextareaAutosize.js +263 -0
  809. package/TextareaAutosize/TextareaAutosize.types.d.ts +13 -0
  810. package/TextareaAutosize/TextareaAutosize.types.js +5 -0
  811. package/TextareaAutosize/index.d.ts +3 -0
  812. package/TextareaAutosize/index.js +13 -0
  813. package/ToggleButton/ToggleButton.d.ts +95 -0
  814. package/ToggleButton/ToggleButton.js +275 -0
  815. package/ToggleButton/index.d.ts +4 -0
  816. package/ToggleButton/index.js +35 -0
  817. package/ToggleButton/toggleButtonClasses.d.ts +26 -0
  818. package/ToggleButton/toggleButtonClasses.js +15 -0
  819. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +82 -0
  820. package/ToggleButtonGroup/ToggleButtonGroup.js +288 -0
  821. package/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +6 -0
  822. package/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +17 -0
  823. package/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +16 -0
  824. package/ToggleButtonGroup/ToggleButtonGroupContext.js +17 -0
  825. package/ToggleButtonGroup/index.d.ts +4 -0
  826. package/ToggleButtonGroup/index.js +35 -0
  827. package/ToggleButtonGroup/isValueSelected.js +17 -0
  828. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +34 -0
  829. package/ToggleButtonGroup/toggleButtonGroupClasses.js +15 -0
  830. package/Toolbar/Toolbar.d.ts +51 -0
  831. package/Toolbar/Toolbar.js +136 -0
  832. package/Toolbar/index.d.ts +4 -0
  833. package/Toolbar/index.js +35 -0
  834. package/Toolbar/toolbarClasses.d.ts +14 -0
  835. package/Toolbar/toolbarClasses.js +15 -0
  836. package/Tooltip/Tooltip.d.ts +229 -0
  837. package/Tooltip/Tooltip.js +905 -0
  838. package/Tooltip/index.d.ts +4 -0
  839. package/Tooltip/index.js +35 -0
  840. package/Tooltip/tooltipClasses.d.ts +30 -0
  841. package/Tooltip/tooltipClasses.js +15 -0
  842. package/Typography/Typography.d.ts +99 -0
  843. package/Typography/Typography.js +275 -0
  844. package/Typography/index.d.ts +4 -0
  845. package/Typography/index.js +35 -0
  846. package/Typography/typographyClasses.d.ts +53 -0
  847. package/Typography/typographyClasses.js +15 -0
  848. package/Unstable_TrapFocus/FocusTrap.d.ts +10 -0
  849. package/Unstable_TrapFocus/FocusTrap.js +340 -0
  850. package/Unstable_TrapFocus/FocusTrap.types.d.ts +54 -0
  851. package/Unstable_TrapFocus/FocusTrap.types.js +5 -0
  852. package/Unstable_TrapFocus/index.d.ts +2 -0
  853. package/Unstable_TrapFocus/index.js +13 -0
  854. package/Zoom/Zoom.d.ts +49 -0
  855. package/Zoom/Zoom.js +217 -0
  856. package/Zoom/index.d.ts +2 -0
  857. package/Zoom/index.js +13 -0
  858. package/className/index.d.ts +1 -0
  859. package/className/index.js +13 -0
  860. package/colors/amber.d.ts +62 -0
  861. package/colors/amber.js +23 -0
  862. package/colors/blue.d.ts +62 -0
  863. package/colors/blue.js +23 -0
  864. package/colors/blueGrey.d.ts +62 -0
  865. package/colors/blueGrey.js +23 -0
  866. package/colors/brown.d.ts +62 -0
  867. package/colors/brown.js +23 -0
  868. package/colors/common.d.ts +14 -0
  869. package/colors/common.js +11 -0
  870. package/colors/cyan.d.ts +62 -0
  871. package/colors/cyan.js +23 -0
  872. package/colors/deepOrange.d.ts +62 -0
  873. package/colors/deepOrange.js +23 -0
  874. package/colors/deepPurple.d.ts +62 -0
  875. package/colors/deepPurple.js +23 -0
  876. package/colors/green.d.ts +62 -0
  877. package/colors/green.js +23 -0
  878. package/colors/grey.d.ts +62 -0
  879. package/colors/grey.js +23 -0
  880. package/colors/index.d.ts +20 -0
  881. package/colors/index.js +146 -0
  882. package/colors/indigo.d.ts +62 -0
  883. package/colors/indigo.js +23 -0
  884. package/colors/lightBlue.d.ts +62 -0
  885. package/colors/lightBlue.js +23 -0
  886. package/colors/lightGreen.d.ts +62 -0
  887. package/colors/lightGreen.js +23 -0
  888. package/colors/lime.d.ts +62 -0
  889. package/colors/lime.js +23 -0
  890. package/colors/orange.d.ts +62 -0
  891. package/colors/orange.js +23 -0
  892. package/colors/pink.d.ts +62 -0
  893. package/colors/pink.js +23 -0
  894. package/colors/purple.d.ts +62 -0
  895. package/colors/purple.js +23 -0
  896. package/colors/red.d.ts +62 -0
  897. package/colors/red.js +23 -0
  898. package/colors/teal.d.ts +62 -0
  899. package/colors/teal.js +23 -0
  900. package/colors/yellow.d.ts +62 -0
  901. package/colors/yellow.js +23 -0
  902. package/darkScrollbar/index.d.ts +28 -0
  903. package/darkScrollbar/index.js +38 -0
  904. package/generateUtilityClass/index.d.ts +2 -0
  905. package/generateUtilityClass/index.js +13 -0
  906. package/generateUtilityClasses/index.d.ts +1 -0
  907. package/generateUtilityClasses/index.js +13 -0
  908. package/index.d.ts +324 -0
  909. package/index.js +2612 -0
  910. package/internal/SwitchBase.d.ts +108 -0
  911. package/internal/SwitchBase.js +362 -0
  912. package/internal/animate.js +45 -0
  913. package/internal/svg-icons/Add.js +17 -0
  914. package/internal/svg-icons/ArrowDownward.js +18 -0
  915. package/internal/svg-icons/ArrowDropDown.js +18 -0
  916. package/internal/svg-icons/Cancel.js +18 -0
  917. package/internal/svg-icons/CheckBox.js +18 -0
  918. package/internal/svg-icons/CheckBoxOutlineBlank.js +18 -0
  919. package/internal/svg-icons/CheckCircle.js +18 -0
  920. package/internal/svg-icons/Close.js +20 -0
  921. package/internal/svg-icons/ErrorOutline.js +18 -0
  922. package/internal/svg-icons/FirstPage.js +18 -0
  923. package/internal/svg-icons/IndeterminateCheckBox.js +18 -0
  924. package/internal/svg-icons/InfoOutlined.js +18 -0
  925. package/internal/svg-icons/KeyboardArrowLeft.js +18 -0
  926. package/internal/svg-icons/KeyboardArrowRight.js +18 -0
  927. package/internal/svg-icons/LastPage.js +18 -0
  928. package/internal/svg-icons/MoreHoriz.js +18 -0
  929. package/internal/svg-icons/NavigateBefore.js +18 -0
  930. package/internal/svg-icons/NavigateNext.js +18 -0
  931. package/internal/svg-icons/Person.js +18 -0
  932. package/internal/svg-icons/RadioButtonChecked.js +18 -0
  933. package/internal/svg-icons/RadioButtonUnchecked.js +18 -0
  934. package/internal/svg-icons/ReportProblemOutlined.js +18 -0
  935. package/internal/svg-icons/Star.js +18 -0
  936. package/internal/svg-icons/StarBorder.js +18 -0
  937. package/internal/svg-icons/SuccessOutlined.js +18 -0
  938. package/internal/svg-icons/Warning.js +18 -0
  939. package/internal/switchBaseClasses.d.ts +12 -0
  940. package/internal/switchBaseClasses.js +15 -0
  941. package/locale/index.d.ts +82 -0
  942. package/locale/index.js +4330 -0
  943. package/package.json +14 -2
  944. package/styles/ThemeProvider.d.ts +76 -0
  945. package/styles/ThemeProvider.js +47 -0
  946. package/styles/ThemeProviderNoVars.d.ts +10 -0
  947. package/styles/ThemeProviderNoVars.js +24 -0
  948. package/styles/ThemeProviderWithVars.d.ts +51 -0
  949. package/styles/ThemeProviderWithVars.js +101 -0
  950. package/styles/adaptV4Theme.d.ts +36 -0
  951. package/styles/adaptV4Theme.js +88 -0
  952. package/styles/components.d.ts +595 -0
  953. package/styles/components.js +5 -0
  954. package/styles/createColorScheme.d.ts +9 -0
  955. package/styles/createColorScheme.js +50 -0
  956. package/styles/createGetSelector.d.ts +16 -0
  957. package/styles/createGetSelector.js +68 -0
  958. package/styles/createMixins.d.ts +32 -0
  959. package/styles/createMixins.js +22 -0
  960. package/styles/createMuiStrictModeTheme.js +14 -0
  961. package/styles/createPalette.d.ts +125 -0
  962. package/styles/createPalette.js +311 -0
  963. package/styles/createStyles.d.ts +1 -0
  964. package/styles/createStyles.js +16 -0
  965. package/styles/createTheme.d.ts +14 -0
  966. package/styles/createTheme.js +105 -0
  967. package/styles/createThemeNoVars.d.ts +70 -0
  968. package/styles/createThemeNoVars.js +99 -0
  969. package/styles/createThemeWithVars.d.ts +350 -0
  970. package/styles/createThemeWithVars.js +396 -0
  971. package/styles/createTransitions.d.ts +51 -0
  972. package/styles/createTransitions.js +96 -0
  973. package/styles/createTypography.d.ts +28 -0
  974. package/styles/createTypography.js +99 -0
  975. package/styles/cssUtils.d.ts +25 -0
  976. package/styles/cssUtils.js +137 -0
  977. package/styles/defaultTheme.js +11 -0
  978. package/styles/excludeVariablesFromRoot.d.ts +5 -0
  979. package/styles/excludeVariablesFromRoot.js +11 -0
  980. package/styles/experimental_extendTheme.js +16 -0
  981. package/styles/getOverlayAlpha.d.ts +1 -0
  982. package/styles/getOverlayAlpha.js +16 -0
  983. package/styles/identifier.d.ts +2 -0
  984. package/styles/identifier.js +7 -0
  985. package/styles/index.d.ts +49 -0
  986. package/styles/index.js +348 -0
  987. package/styles/makeStyles.d.ts +1 -0
  988. package/styles/makeStyles.js +11 -0
  989. package/styles/overrides.d.ts +244 -0
  990. package/styles/overrides.js +5 -0
  991. package/styles/props.d.ts +241 -0
  992. package/styles/props.js +5 -0
  993. package/styles/responsiveFontSizes.d.ts +11 -0
  994. package/styles/responsiveFontSizes.js +74 -0
  995. package/styles/rootShouldForwardProp.d.ts +2 -0
  996. package/styles/rootShouldForwardProp.js +10 -0
  997. package/styles/shadows.d.ts +3 -0
  998. package/styles/shadows.js +16 -0
  999. package/styles/shouldSkipGeneratingVar.d.ts +1 -0
  1000. package/styles/shouldSkipGeneratingVar.js +11 -0
  1001. package/styles/slotShouldForwardProp.d.ts +2 -0
  1002. package/styles/slotShouldForwardProp.js +11 -0
  1003. package/styles/stringifyTheme.d.ts +20 -0
  1004. package/styles/stringifyTheme.js +61 -0
  1005. package/styles/styled.d.ts +13 -0
  1006. package/styles/styled.js +31 -0
  1007. package/styles/useTheme.d.ts +2 -0
  1008. package/styles/useTheme.js +22 -0
  1009. package/styles/useThemeProps.d.ts +42 -0
  1010. package/styles/useThemeProps.js +22 -0
  1011. package/styles/variants.d.ts +10 -0
  1012. package/styles/variants.js +5 -0
  1013. package/styles/withStyles.d.ts +1 -0
  1014. package/styles/withStyles.js +11 -0
  1015. package/styles/withTheme.d.ts +1 -0
  1016. package/styles/withTheme.js +11 -0
  1017. package/styles/zIndex.d.ts +13 -0
  1018. package/styles/zIndex.js +19 -0
  1019. package/themeCssVarsAugmentation/index.d.ts +10 -0
  1020. package/transitions/index.d.ts +1 -0
  1021. package/transitions/index.js +16 -0
  1022. package/transitions/transition.d.ts +12 -0
  1023. package/transitions/transition.js +5 -0
  1024. package/transitions/utils.d.ts +23 -0
  1025. package/transitions/utils.js +21 -0
  1026. package/types/OverridableComponentAugmentation.d.ts +31 -0
  1027. package/types/OverridableComponentAugmentation.js +5 -0
  1028. package/useAutocomplete/index.d.ts +2 -0
  1029. package/useAutocomplete/index.js +19 -0
  1030. package/useAutocomplete/useAutocomplete.d.ts +420 -0
  1031. package/useAutocomplete/useAutocomplete.js +1030 -0
  1032. package/useLazyRipple/index.d.ts +1 -0
  1033. package/useLazyRipple/index.js +14 -0
  1034. package/useLazyRipple/useLazyRipple.d.ts +32 -0
  1035. package/useLazyRipple/useLazyRipple.js +94 -0
  1036. package/useMediaQuery/index.d.ts +7 -0
  1037. package/useMediaQuery/index.js +13 -0
  1038. package/usePagination/index.d.ts +2 -0
  1039. package/usePagination/index.js +13 -0
  1040. package/usePagination/usePagination.d.ts +74 -0
  1041. package/usePagination/usePagination.js +119 -0
  1042. package/useScrollTrigger/index.d.ts +1 -0
  1043. package/useScrollTrigger/index.js +13 -0
  1044. package/useScrollTrigger/useScrollTrigger.d.ts +6 -0
  1045. package/useScrollTrigger/useScrollTrigger.js +61 -0
  1046. package/utils/PolymorphicComponent.d.ts +17 -0
  1047. package/utils/PolymorphicComponent.js +5 -0
  1048. package/utils/areArraysEqual.d.ts +3 -0
  1049. package/utils/areArraysEqual.js +10 -0
  1050. package/utils/capitalize.d.ts +2 -0
  1051. package/utils/capitalize.js +9 -0
  1052. package/utils/createChainedFunction.d.ts +2 -0
  1053. package/utils/createChainedFunction.js +9 -0
  1054. package/utils/createSimplePaletteValueFilter.d.ts +12 -0
  1055. package/utils/createSimplePaletteValueFilter.js +47 -0
  1056. package/utils/createSvgIcon.d.ts +2 -0
  1057. package/utils/createSvgIcon.js +31 -0
  1058. package/utils/debounce.d.ts +2 -0
  1059. package/utils/debounce.js +9 -0
  1060. package/utils/deprecatedPropType.d.ts +2 -0
  1061. package/utils/deprecatedPropType.js +9 -0
  1062. package/utils/getScrollbarSize.d.ts +2 -0
  1063. package/utils/getScrollbarSize.js +9 -0
  1064. package/utils/index.d.ts +20 -0
  1065. package/utils/index.js +145 -0
  1066. package/utils/isHostComponent.d.ts +6 -0
  1067. package/utils/isHostComponent.js +13 -0
  1068. package/utils/isMuiElement.d.ts +2 -0
  1069. package/utils/isMuiElement.js +9 -0
  1070. package/utils/memoTheme.d.ts +7 -0
  1071. package/utils/memoTheme.js +9 -0
  1072. package/utils/mergeSlotProps.d.ts +2 -0
  1073. package/utils/mergeSlotProps.js +81 -0
  1074. package/utils/omitEventHandlers.d.ts +9 -0
  1075. package/utils/omitEventHandlers.js +24 -0
  1076. package/utils/ownerDocument.d.ts +2 -0
  1077. package/utils/ownerDocument.js +9 -0
  1078. package/utils/ownerWindow.d.ts +2 -0
  1079. package/utils/ownerWindow.js +9 -0
  1080. package/utils/requirePropFactory.d.ts +2 -0
  1081. package/utils/requirePropFactory.js +9 -0
  1082. package/utils/setRef.d.ts +2 -0
  1083. package/utils/setRef.js +9 -0
  1084. package/utils/shouldSpreadAdditionalProps.js +12 -0
  1085. package/utils/types.d.ts +26 -0
  1086. package/utils/types.js +5 -0
  1087. package/utils/unsupportedProp.d.ts +2 -0
  1088. package/utils/unsupportedProp.js +9 -0
  1089. package/utils/useControlled.d.ts +2 -0
  1090. package/utils/useControlled.js +10 -0
  1091. package/utils/useEnhancedEffect.d.ts +2 -0
  1092. package/utils/useEnhancedEffect.js +10 -0
  1093. package/utils/useEventCallback.d.ts +2 -0
  1094. package/utils/useEventCallback.js +10 -0
  1095. package/utils/useForkRef.d.ts +2 -0
  1096. package/utils/useForkRef.js +10 -0
  1097. package/utils/useId.d.ts +2 -0
  1098. package/utils/useId.js +10 -0
  1099. package/utils/useSlot.d.ts +81 -0
  1100. package/utils/useSlot.js +86 -0
  1101. package/version/index.d.ts +6 -0
  1102. package/version/index.js +12 -0
  1103. package/zero-styled/index.d.ts +12 -0
  1104. package/zero-styled/index.js +59 -0
@@ -0,0 +1,1202 @@
1
+ "use strict";
2
+ 'use client';
3
+
4
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
9
+ Object.defineProperty(exports, "createFilterOptions", {
10
+ enumerable: true,
11
+ get: function () {
12
+ return _useAutocomplete.createFilterOptions;
13
+ }
14
+ });
15
+ exports.default = void 0;
16
+ var React = _interopRequireWildcard(require("react"));
17
+ var _propTypes = _interopRequireDefault(require("prop-types"));
18
+ var _clsx = _interopRequireDefault(require("clsx"));
19
+ var _integerPropType = _interopRequireDefault(require("@mui/utils/integerPropType"));
20
+ var _chainPropTypes = _interopRequireDefault(require("@mui/utils/chainPropTypes"));
21
+ var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
22
+ var _colorManipulator = require("@mui/system/colorManipulator");
23
+ var _useAutocomplete = _interopRequireWildcard(require("../useAutocomplete"));
24
+ var _Popper = _interopRequireDefault(require("../Popper"));
25
+ var _ListSubheader = _interopRequireDefault(require("../ListSubheader"));
26
+ var _Paper = _interopRequireDefault(require("../Paper"));
27
+ var _IconButton = _interopRequireDefault(require("../IconButton"));
28
+ var _Chip = _interopRequireDefault(require("../Chip"));
29
+ var _inputClasses = _interopRequireDefault(require("../Input/inputClasses"));
30
+ var _inputBaseClasses = _interopRequireDefault(require("../InputBase/inputBaseClasses"));
31
+ var _outlinedInputClasses = _interopRequireDefault(require("../OutlinedInput/outlinedInputClasses"));
32
+ var _filledInputClasses = _interopRequireDefault(require("../FilledInput/filledInputClasses"));
33
+ var _Close = _interopRequireDefault(require("../internal/svg-icons/Close"));
34
+ var _ArrowDropDown = _interopRequireDefault(require("../internal/svg-icons/ArrowDropDown"));
35
+ var _zeroStyled = require("../zero-styled");
36
+ var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
37
+ var _DefaultPropsProvider = require("../DefaultPropsProvider");
38
+ var _autocompleteClasses = _interopRequireWildcard(require("./autocompleteClasses"));
39
+ var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
40
+ var _useSlot = _interopRequireDefault(require("../utils/useSlot"));
41
+ var _jsxRuntime = require("react/jsx-runtime");
42
+ var _ClearIcon, _ArrowDropDownIcon;
43
+ const useUtilityClasses = ownerState => {
44
+ const {
45
+ classes,
46
+ disablePortal,
47
+ expanded,
48
+ focused,
49
+ fullWidth,
50
+ hasClearIcon,
51
+ hasPopupIcon,
52
+ inputFocused,
53
+ popupOpen,
54
+ size
55
+ } = ownerState;
56
+ const slots = {
57
+ root: ['root', expanded && 'expanded', focused && 'focused', fullWidth && 'fullWidth', hasClearIcon && 'hasClearIcon', hasPopupIcon && 'hasPopupIcon'],
58
+ inputRoot: ['inputRoot'],
59
+ input: ['input', inputFocused && 'inputFocused'],
60
+ tag: ['tag', `tagSize${(0, _capitalize.default)(size)}`],
61
+ endAdornment: ['endAdornment'],
62
+ clearIndicator: ['clearIndicator'],
63
+ popupIndicator: ['popupIndicator', popupOpen && 'popupIndicatorOpen'],
64
+ popper: ['popper', disablePortal && 'popperDisablePortal'],
65
+ paper: ['paper'],
66
+ listbox: ['listbox'],
67
+ loading: ['loading'],
68
+ noOptions: ['noOptions'],
69
+ option: ['option'],
70
+ groupLabel: ['groupLabel'],
71
+ groupUl: ['groupUl']
72
+ };
73
+ return (0, _composeClasses.default)(slots, _autocompleteClasses.getAutocompleteUtilityClass, classes);
74
+ };
75
+ const AutocompleteRoot = (0, _zeroStyled.styled)('div', {
76
+ name: 'MuiAutocomplete',
77
+ slot: 'Root',
78
+ overridesResolver: (props, styles) => {
79
+ const {
80
+ ownerState
81
+ } = props;
82
+ const {
83
+ fullWidth,
84
+ hasClearIcon,
85
+ hasPopupIcon,
86
+ inputFocused,
87
+ size
88
+ } = ownerState;
89
+ return [{
90
+ [`& .${_autocompleteClasses.default.tag}`]: styles.tag
91
+ }, {
92
+ [`& .${_autocompleteClasses.default.tag}`]: styles[`tagSize${(0, _capitalize.default)(size)}`]
93
+ }, {
94
+ [`& .${_autocompleteClasses.default.inputRoot}`]: styles.inputRoot
95
+ }, {
96
+ [`& .${_autocompleteClasses.default.input}`]: styles.input
97
+ }, {
98
+ [`& .${_autocompleteClasses.default.input}`]: inputFocused && styles.inputFocused
99
+ }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
100
+ }
101
+ })({
102
+ [`&.${_autocompleteClasses.default.focused} .${_autocompleteClasses.default.clearIndicator}`]: {
103
+ visibility: 'visible'
104
+ },
105
+ /* Avoid double tap issue on iOS */
106
+ '@media (pointer: fine)': {
107
+ [`&:hover .${_autocompleteClasses.default.clearIndicator}`]: {
108
+ visibility: 'visible'
109
+ }
110
+ },
111
+ [`& .${_autocompleteClasses.default.tag}`]: {
112
+ margin: 3,
113
+ maxWidth: 'calc(100% - 6px)'
114
+ },
115
+ [`& .${_autocompleteClasses.default.inputRoot}`]: {
116
+ [`.${_autocompleteClasses.default.hasPopupIcon}&, .${_autocompleteClasses.default.hasClearIcon}&`]: {
117
+ paddingRight: 26 + 4
118
+ },
119
+ [`.${_autocompleteClasses.default.hasPopupIcon}.${_autocompleteClasses.default.hasClearIcon}&`]: {
120
+ paddingRight: 52 + 4
121
+ },
122
+ [`& .${_autocompleteClasses.default.input}`]: {
123
+ width: 0,
124
+ minWidth: 30
125
+ }
126
+ },
127
+ [`& .${_inputClasses.default.root}`]: {
128
+ paddingBottom: 1,
129
+ '& .MuiInput-input': {
130
+ padding: '4px 4px 4px 0px'
131
+ }
132
+ },
133
+ [`& .${_inputClasses.default.root}.${_inputBaseClasses.default.sizeSmall}`]: {
134
+ [`& .${_inputClasses.default.input}`]: {
135
+ padding: '2px 4px 3px 0'
136
+ }
137
+ },
138
+ [`& .${_outlinedInputClasses.default.root}`]: {
139
+ padding: 9,
140
+ [`.${_autocompleteClasses.default.hasPopupIcon}&, .${_autocompleteClasses.default.hasClearIcon}&`]: {
141
+ paddingRight: 26 + 4 + 9
142
+ },
143
+ [`.${_autocompleteClasses.default.hasPopupIcon}.${_autocompleteClasses.default.hasClearIcon}&`]: {
144
+ paddingRight: 52 + 4 + 9
145
+ },
146
+ [`& .${_autocompleteClasses.default.input}`]: {
147
+ padding: '7.5px 4px 7.5px 5px'
148
+ },
149
+ [`& .${_autocompleteClasses.default.endAdornment}`]: {
150
+ right: 9
151
+ }
152
+ },
153
+ [`& .${_outlinedInputClasses.default.root}.${_inputBaseClasses.default.sizeSmall}`]: {
154
+ // Don't specify paddingRight, as it overrides the default value set when there is only
155
+ // one of the popup or clear icon as the specificity is equal so the latter one wins
156
+ paddingTop: 6,
157
+ paddingBottom: 6,
158
+ paddingLeft: 6,
159
+ [`& .${_autocompleteClasses.default.input}`]: {
160
+ padding: '2.5px 4px 2.5px 8px'
161
+ }
162
+ },
163
+ [`& .${_filledInputClasses.default.root}`]: {
164
+ paddingTop: 19,
165
+ paddingLeft: 8,
166
+ [`.${_autocompleteClasses.default.hasPopupIcon}&, .${_autocompleteClasses.default.hasClearIcon}&`]: {
167
+ paddingRight: 26 + 4 + 9
168
+ },
169
+ [`.${_autocompleteClasses.default.hasPopupIcon}.${_autocompleteClasses.default.hasClearIcon}&`]: {
170
+ paddingRight: 52 + 4 + 9
171
+ },
172
+ [`& .${_filledInputClasses.default.input}`]: {
173
+ padding: '7px 4px'
174
+ },
175
+ [`& .${_autocompleteClasses.default.endAdornment}`]: {
176
+ right: 9
177
+ }
178
+ },
179
+ [`& .${_filledInputClasses.default.root}.${_inputBaseClasses.default.sizeSmall}`]: {
180
+ paddingBottom: 1,
181
+ [`& .${_filledInputClasses.default.input}`]: {
182
+ padding: '2.5px 4px'
183
+ }
184
+ },
185
+ [`& .${_inputBaseClasses.default.hiddenLabel}`]: {
186
+ paddingTop: 8
187
+ },
188
+ [`& .${_filledInputClasses.default.root}.${_inputBaseClasses.default.hiddenLabel}`]: {
189
+ paddingTop: 0,
190
+ paddingBottom: 0,
191
+ [`& .${_autocompleteClasses.default.input}`]: {
192
+ paddingTop: 16,
193
+ paddingBottom: 17
194
+ }
195
+ },
196
+ [`& .${_filledInputClasses.default.root}.${_inputBaseClasses.default.hiddenLabel}.${_inputBaseClasses.default.sizeSmall}`]: {
197
+ [`& .${_autocompleteClasses.default.input}`]: {
198
+ paddingTop: 8,
199
+ paddingBottom: 9
200
+ }
201
+ },
202
+ [`& .${_autocompleteClasses.default.input}`]: {
203
+ flexGrow: 1,
204
+ textOverflow: 'ellipsis',
205
+ opacity: 0
206
+ },
207
+ variants: [{
208
+ props: {
209
+ fullWidth: true
210
+ },
211
+ style: {
212
+ width: '100%'
213
+ }
214
+ }, {
215
+ props: {
216
+ size: 'small'
217
+ },
218
+ style: {
219
+ [`& .${_autocompleteClasses.default.tag}`]: {
220
+ margin: 2,
221
+ maxWidth: 'calc(100% - 4px)'
222
+ }
223
+ }
224
+ }, {
225
+ props: {
226
+ inputFocused: true
227
+ },
228
+ style: {
229
+ [`& .${_autocompleteClasses.default.input}`]: {
230
+ opacity: 1
231
+ }
232
+ }
233
+ }, {
234
+ props: {
235
+ multiple: true
236
+ },
237
+ style: {
238
+ [`& .${_autocompleteClasses.default.inputRoot}`]: {
239
+ flexWrap: 'wrap'
240
+ }
241
+ }
242
+ }]
243
+ });
244
+ const AutocompleteEndAdornment = (0, _zeroStyled.styled)('div', {
245
+ name: 'MuiAutocomplete',
246
+ slot: 'EndAdornment'
247
+ })({
248
+ // We use a position absolute to support wrapping tags.
249
+ position: 'absolute',
250
+ right: 0,
251
+ top: '50%',
252
+ transform: 'translate(0, -50%)'
253
+ });
254
+ const AutocompleteClearIndicator = (0, _zeroStyled.styled)(_IconButton.default, {
255
+ name: 'MuiAutocomplete',
256
+ slot: 'ClearIndicator'
257
+ })({
258
+ marginRight: -2,
259
+ padding: 4,
260
+ visibility: 'hidden'
261
+ });
262
+ const AutocompletePopupIndicator = (0, _zeroStyled.styled)(_IconButton.default, {
263
+ name: 'MuiAutocomplete',
264
+ slot: 'PopupIndicator',
265
+ overridesResolver: (props, styles) => {
266
+ const {
267
+ ownerState
268
+ } = props;
269
+ return [styles.popupIndicator, ownerState.popupOpen && styles.popupIndicatorOpen];
270
+ }
271
+ })({
272
+ padding: 2,
273
+ marginRight: -2,
274
+ variants: [{
275
+ props: {
276
+ popupOpen: true
277
+ },
278
+ style: {
279
+ transform: 'rotate(180deg)'
280
+ }
281
+ }]
282
+ });
283
+ const AutocompletePopper = (0, _zeroStyled.styled)(_Popper.default, {
284
+ name: 'MuiAutocomplete',
285
+ slot: 'Popper',
286
+ overridesResolver: (props, styles) => {
287
+ const {
288
+ ownerState
289
+ } = props;
290
+ return [{
291
+ [`& .${_autocompleteClasses.default.option}`]: styles.option
292
+ }, styles.popper, ownerState.disablePortal && styles.popperDisablePortal];
293
+ }
294
+ })((0, _memoTheme.default)(({
295
+ theme
296
+ }) => ({
297
+ zIndex: (theme.vars || theme).zIndex.modal,
298
+ variants: [{
299
+ props: {
300
+ disablePortal: true
301
+ },
302
+ style: {
303
+ position: 'absolute'
304
+ }
305
+ }]
306
+ })));
307
+ const AutocompletePaper = (0, _zeroStyled.styled)(_Paper.default, {
308
+ name: 'MuiAutocomplete',
309
+ slot: 'Paper'
310
+ })((0, _memoTheme.default)(({
311
+ theme
312
+ }) => ({
313
+ ...theme.typography.body1,
314
+ overflow: 'auto'
315
+ })));
316
+ const AutocompleteLoading = (0, _zeroStyled.styled)('div', {
317
+ name: 'MuiAutocomplete',
318
+ slot: 'Loading'
319
+ })((0, _memoTheme.default)(({
320
+ theme
321
+ }) => ({
322
+ color: (theme.vars || theme).palette.text.secondary,
323
+ padding: '14px 16px'
324
+ })));
325
+ const AutocompleteNoOptions = (0, _zeroStyled.styled)('div', {
326
+ name: 'MuiAutocomplete',
327
+ slot: 'NoOptions'
328
+ })((0, _memoTheme.default)(({
329
+ theme
330
+ }) => ({
331
+ color: (theme.vars || theme).palette.text.secondary,
332
+ padding: '14px 16px'
333
+ })));
334
+ const AutocompleteListbox = (0, _zeroStyled.styled)('ul', {
335
+ name: 'MuiAutocomplete',
336
+ slot: 'Listbox'
337
+ })((0, _memoTheme.default)(({
338
+ theme
339
+ }) => ({
340
+ listStyle: 'none',
341
+ margin: 0,
342
+ padding: '8px 0',
343
+ maxHeight: '40vh',
344
+ overflow: 'auto',
345
+ position: 'relative',
346
+ [`& .${_autocompleteClasses.default.option}`]: {
347
+ minHeight: 48,
348
+ display: 'flex',
349
+ overflow: 'hidden',
350
+ justifyContent: 'flex-start',
351
+ alignItems: 'center',
352
+ cursor: 'pointer',
353
+ paddingTop: 6,
354
+ boxSizing: 'border-box',
355
+ outline: '0',
356
+ WebkitTapHighlightColor: 'transparent',
357
+ paddingBottom: 6,
358
+ paddingLeft: 16,
359
+ paddingRight: 16,
360
+ [theme.breakpoints.up('sm')]: {
361
+ minHeight: 'auto'
362
+ },
363
+ [`&.${_autocompleteClasses.default.focused}`]: {
364
+ backgroundColor: (theme.vars || theme).palette.action.hover,
365
+ // Reset on touch devices, it doesn't add specificity
366
+ '@media (hover: none)': {
367
+ backgroundColor: 'transparent'
368
+ }
369
+ },
370
+ '&[aria-disabled="true"]': {
371
+ opacity: (theme.vars || theme).palette.action.disabledOpacity,
372
+ pointerEvents: 'none'
373
+ },
374
+ [`&.${_autocompleteClasses.default.focusVisible}`]: {
375
+ backgroundColor: (theme.vars || theme).palette.action.focus
376
+ },
377
+ '&[aria-selected="true"]': {
378
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : (0, _colorManipulator.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity),
379
+ [`&.${_autocompleteClasses.default.focused}`]: {
380
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : (0, _colorManipulator.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
381
+ // Reset on touch devices, it doesn't add specificity
382
+ '@media (hover: none)': {
383
+ backgroundColor: (theme.vars || theme).palette.action.selected
384
+ }
385
+ },
386
+ [`&.${_autocompleteClasses.default.focusVisible}`]: {
387
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : (0, _colorManipulator.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
388
+ }
389
+ }
390
+ }
391
+ })));
392
+ const AutocompleteGroupLabel = (0, _zeroStyled.styled)(_ListSubheader.default, {
393
+ name: 'MuiAutocomplete',
394
+ slot: 'GroupLabel'
395
+ })((0, _memoTheme.default)(({
396
+ theme
397
+ }) => ({
398
+ backgroundColor: (theme.vars || theme).palette.background.paper,
399
+ top: -8
400
+ })));
401
+ const AutocompleteGroupUl = (0, _zeroStyled.styled)('ul', {
402
+ name: 'MuiAutocomplete',
403
+ slot: 'GroupUl'
404
+ })({
405
+ padding: 0,
406
+ [`& .${_autocompleteClasses.default.option}`]: {
407
+ paddingLeft: 24
408
+ }
409
+ });
410
+ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps, ref) {
411
+ const props = (0, _DefaultPropsProvider.useDefaultProps)({
412
+ props: inProps,
413
+ name: 'MuiAutocomplete'
414
+ });
415
+
416
+ /* eslint-disable @typescript-eslint/no-unused-vars */
417
+ const {
418
+ autoComplete = false,
419
+ autoHighlight = false,
420
+ autoSelect = false,
421
+ blurOnSelect = false,
422
+ ChipProps: ChipPropsProp,
423
+ className,
424
+ clearIcon = _ClearIcon || (_ClearIcon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Close.default, {
425
+ fontSize: "small"
426
+ })),
427
+ clearOnBlur = !props.freeSolo,
428
+ clearOnEscape = false,
429
+ clearText = 'Clear',
430
+ closeText = 'Close',
431
+ componentsProps,
432
+ defaultValue = props.multiple ? [] : null,
433
+ disableClearable = false,
434
+ disableCloseOnSelect = false,
435
+ disabled = false,
436
+ disabledItemsFocusable = false,
437
+ disableListWrap = false,
438
+ disablePortal = false,
439
+ filterOptions,
440
+ filterSelectedOptions = false,
441
+ forcePopupIcon = 'auto',
442
+ freeSolo = false,
443
+ fullWidth = false,
444
+ getLimitTagsText = more => `+${more}`,
445
+ getOptionDisabled,
446
+ getOptionKey,
447
+ getOptionLabel: getOptionLabelProp,
448
+ isOptionEqualToValue,
449
+ groupBy,
450
+ handleHomeEndKeys = !props.freeSolo,
451
+ id: idProp,
452
+ includeInputInList = false,
453
+ inputValue: inputValueProp,
454
+ limitTags = -1,
455
+ ListboxComponent: ListboxComponentProp,
456
+ ListboxProps: ListboxPropsProp,
457
+ loading = false,
458
+ loadingText = 'Loading…',
459
+ multiple = false,
460
+ noOptionsText = 'No options',
461
+ onChange,
462
+ onClose,
463
+ onHighlightChange,
464
+ onInputChange,
465
+ onOpen,
466
+ open,
467
+ openOnFocus = false,
468
+ openText = 'Open',
469
+ options,
470
+ PaperComponent: PaperComponentProp,
471
+ PopperComponent: PopperComponentProp,
472
+ popupIcon = _ArrowDropDownIcon || (_ArrowDropDownIcon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ArrowDropDown.default, {})),
473
+ readOnly = false,
474
+ renderGroup: renderGroupProp,
475
+ renderInput,
476
+ renderOption: renderOptionProp,
477
+ renderTags,
478
+ renderValue,
479
+ selectOnFocus = !props.freeSolo,
480
+ size = 'medium',
481
+ slots = {},
482
+ slotProps = {},
483
+ value: valueProp,
484
+ ...other
485
+ } = props;
486
+ /* eslint-enable @typescript-eslint/no-unused-vars */
487
+
488
+ const {
489
+ getRootProps,
490
+ getInputProps,
491
+ getInputLabelProps,
492
+ getPopupIndicatorProps,
493
+ getClearProps,
494
+ getItemProps,
495
+ getListboxProps,
496
+ getOptionProps,
497
+ value,
498
+ dirty,
499
+ expanded,
500
+ id,
501
+ popupOpen,
502
+ focused,
503
+ focusedItem,
504
+ anchorEl,
505
+ setAnchorEl,
506
+ inputValue,
507
+ groupedOptions
508
+ } = (0, _useAutocomplete.default)({
509
+ ...props,
510
+ componentName: 'Autocomplete'
511
+ });
512
+ const hasClearIcon = !disableClearable && !disabled && dirty && !readOnly;
513
+ const hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;
514
+ const {
515
+ onMouseDown: handleInputMouseDown
516
+ } = getInputProps();
517
+ const {
518
+ ref: listboxRef,
519
+ ...otherListboxProps
520
+ } = getListboxProps();
521
+ const defaultGetOptionLabel = option => option.label ?? option;
522
+ const getOptionLabel = getOptionLabelProp || defaultGetOptionLabel;
523
+
524
+ // If you modify this, make sure to keep the `AutocompleteOwnerState` type in sync.
525
+ const ownerState = {
526
+ ...props,
527
+ disablePortal,
528
+ expanded,
529
+ focused,
530
+ fullWidth,
531
+ getOptionLabel,
532
+ hasClearIcon,
533
+ hasPopupIcon,
534
+ inputFocused: focusedItem === -1,
535
+ popupOpen,
536
+ size
537
+ };
538
+ const classes = useUtilityClasses(ownerState);
539
+ const externalForwardedProps = {
540
+ slots: {
541
+ paper: PaperComponentProp,
542
+ popper: PopperComponentProp,
543
+ ...slots
544
+ },
545
+ slotProps: {
546
+ chip: ChipPropsProp,
547
+ listbox: ListboxPropsProp,
548
+ ...componentsProps,
549
+ ...slotProps
550
+ }
551
+ };
552
+ const [ListboxSlot, listboxProps] = (0, _useSlot.default)('listbox', {
553
+ elementType: AutocompleteListbox,
554
+ externalForwardedProps,
555
+ ownerState,
556
+ className: classes.listbox,
557
+ additionalProps: otherListboxProps,
558
+ ref: listboxRef
559
+ });
560
+ const [PaperSlot, paperProps] = (0, _useSlot.default)('paper', {
561
+ elementType: _Paper.default,
562
+ externalForwardedProps,
563
+ ownerState,
564
+ className: classes.paper
565
+ });
566
+ const [PopperSlot, popperProps] = (0, _useSlot.default)('popper', {
567
+ elementType: _Popper.default,
568
+ externalForwardedProps,
569
+ ownerState,
570
+ className: classes.popper,
571
+ additionalProps: {
572
+ disablePortal,
573
+ style: {
574
+ width: anchorEl ? anchorEl.clientWidth : null
575
+ },
576
+ role: 'presentation',
577
+ anchorEl,
578
+ open: popupOpen
579
+ }
580
+ });
581
+ let startAdornment;
582
+ const getCustomizedItemProps = params => ({
583
+ className: classes.tag,
584
+ disabled,
585
+ ...getItemProps(params)
586
+ });
587
+ if (renderTags && multiple && value.length > 0) {
588
+ startAdornment = renderTags(value, getCustomizedItemProps, ownerState);
589
+ } else if (renderValue && value) {
590
+ startAdornment = renderValue(value, getCustomizedItemProps, ownerState);
591
+ } else if (multiple && value.length > 0) {
592
+ startAdornment = value.map((option, index) => {
593
+ const {
594
+ key,
595
+ ...customItemProps
596
+ } = getCustomizedItemProps({
597
+ index
598
+ });
599
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
600
+ label: getOptionLabel(option),
601
+ size: size,
602
+ ...customItemProps,
603
+ ...externalForwardedProps.slotProps.chip
604
+ }, key);
605
+ });
606
+ }
607
+ if (limitTags > -1 && Array.isArray(startAdornment)) {
608
+ const more = startAdornment.length - limitTags;
609
+ if (!focused && more > 0) {
610
+ startAdornment = startAdornment.splice(0, limitTags);
611
+ startAdornment.push(/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
612
+ className: classes.tag,
613
+ children: getLimitTagsText(more)
614
+ }, startAdornment.length));
615
+ }
616
+ }
617
+ const defaultRenderGroup = params => /*#__PURE__*/(0, _jsxRuntime.jsxs)("li", {
618
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(AutocompleteGroupLabel, {
619
+ className: classes.groupLabel,
620
+ ownerState: ownerState,
621
+ component: "div",
622
+ children: params.group
623
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(AutocompleteGroupUl, {
624
+ className: classes.groupUl,
625
+ ownerState: ownerState,
626
+ children: params.children
627
+ })]
628
+ }, params.key);
629
+ const renderGroup = renderGroupProp || defaultRenderGroup;
630
+ const defaultRenderOption = (props2, option) => {
631
+ // Need to clearly apply key because of https://github.com/vercel/next.js/issues/55642
632
+ const {
633
+ key,
634
+ ...otherProps
635
+ } = props2;
636
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
637
+ ...otherProps,
638
+ children: getOptionLabel(option)
639
+ }, key);
640
+ };
641
+ const renderOption = renderOptionProp || defaultRenderOption;
642
+ const renderListOption = (option, index) => {
643
+ const optionProps = getOptionProps({
644
+ option,
645
+ index
646
+ });
647
+ return renderOption({
648
+ ...optionProps,
649
+ className: classes.option
650
+ }, option, {
651
+ selected: optionProps['aria-selected'],
652
+ index,
653
+ inputValue
654
+ }, ownerState);
655
+ };
656
+ const clearIndicatorSlotProps = externalForwardedProps.slotProps.clearIndicator;
657
+ const popupIndicatorSlotProps = externalForwardedProps.slotProps.popupIndicator;
658
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
659
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(AutocompleteRoot, {
660
+ ref: ref,
661
+ className: (0, _clsx.default)(classes.root, className),
662
+ ownerState: ownerState,
663
+ ...getRootProps(other),
664
+ children: renderInput({
665
+ id,
666
+ disabled,
667
+ fullWidth: true,
668
+ size: size === 'small' ? 'small' : undefined,
669
+ InputLabelProps: getInputLabelProps(),
670
+ InputProps: {
671
+ ref: setAnchorEl,
672
+ className: classes.inputRoot,
673
+ startAdornment,
674
+ onMouseDown: event => {
675
+ if (event.target === event.currentTarget) {
676
+ handleInputMouseDown(event);
677
+ }
678
+ },
679
+ ...((hasClearIcon || hasPopupIcon) && {
680
+ endAdornment: /*#__PURE__*/(0, _jsxRuntime.jsxs)(AutocompleteEndAdornment, {
681
+ className: classes.endAdornment,
682
+ ownerState: ownerState,
683
+ children: [hasClearIcon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(AutocompleteClearIndicator, {
684
+ ...getClearProps(),
685
+ "aria-label": clearText,
686
+ title: clearText,
687
+ ownerState: ownerState,
688
+ ...clearIndicatorSlotProps,
689
+ className: (0, _clsx.default)(classes.clearIndicator, clearIndicatorSlotProps?.className),
690
+ children: clearIcon
691
+ }) : null, hasPopupIcon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(AutocompletePopupIndicator, {
692
+ ...getPopupIndicatorProps(),
693
+ disabled: disabled,
694
+ "aria-label": popupOpen ? closeText : openText,
695
+ title: popupOpen ? closeText : openText,
696
+ ownerState: ownerState,
697
+ ...popupIndicatorSlotProps,
698
+ className: (0, _clsx.default)(classes.popupIndicator, popupIndicatorSlotProps?.className),
699
+ children: popupIcon
700
+ }) : null]
701
+ })
702
+ })
703
+ },
704
+ inputProps: {
705
+ className: classes.input,
706
+ disabled,
707
+ readOnly,
708
+ ...getInputProps()
709
+ }
710
+ })
711
+ }), anchorEl ? /*#__PURE__*/(0, _jsxRuntime.jsx)(AutocompletePopper, {
712
+ as: PopperSlot,
713
+ ...popperProps,
714
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(AutocompletePaper, {
715
+ as: PaperSlot,
716
+ ...paperProps,
717
+ children: [loading && groupedOptions.length === 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(AutocompleteLoading, {
718
+ className: classes.loading,
719
+ ownerState: ownerState,
720
+ children: loadingText
721
+ }) : null, groupedOptions.length === 0 && !freeSolo && !loading ? /*#__PURE__*/(0, _jsxRuntime.jsx)(AutocompleteNoOptions, {
722
+ className: classes.noOptions,
723
+ ownerState: ownerState,
724
+ role: "presentation",
725
+ onMouseDown: event => {
726
+ // Prevent input blur when interacting with the "no options" content
727
+ event.preventDefault();
728
+ },
729
+ children: noOptionsText
730
+ }) : null, groupedOptions.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(ListboxSlot, {
731
+ as: ListboxComponentProp,
732
+ ...listboxProps,
733
+ children: groupedOptions.map((option, index) => {
734
+ if (groupBy) {
735
+ return renderGroup({
736
+ key: option.key,
737
+ group: option.group,
738
+ children: option.options.map((option2, index2) => renderListOption(option2, option.index + index2))
739
+ });
740
+ }
741
+ return renderListOption(option, index);
742
+ })
743
+ }) : null]
744
+ })
745
+ }) : null]
746
+ });
747
+ });
748
+ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptypes */ = {
749
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
750
+ // │ These PropTypes are generated from the TypeScript type definitions. │
751
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
752
+ // └─────────────────────────────────────────────────────────────────────┘
753
+ /**
754
+ * If `true`, the portion of the selected suggestion that the user hasn't typed,
755
+ * known as the completion string, appears inline after the input cursor in the textbox.
756
+ * The inline completion string is visually highlighted and has a selected state.
757
+ * @default false
758
+ */
759
+ autoComplete: _propTypes.default.bool,
760
+ /**
761
+ * If `true`, the first option is automatically highlighted.
762
+ * @default false
763
+ */
764
+ autoHighlight: _propTypes.default.bool,
765
+ /**
766
+ * If `true`, the selected option becomes the value of the input
767
+ * when the Autocomplete loses focus unless the user chooses
768
+ * a different option or changes the character string in the input.
769
+ *
770
+ * When using the `freeSolo` mode, the typed value will be the input value
771
+ * if the Autocomplete loses focus without highlighting an option.
772
+ * @default false
773
+ */
774
+ autoSelect: _propTypes.default.bool,
775
+ /**
776
+ * Control if the input should be blurred when an option is selected:
777
+ *
778
+ * - `false` the input is not blurred.
779
+ * - `true` the input is always blurred.
780
+ * - `touch` the input is blurred after a touch event.
781
+ * - `mouse` the input is blurred after a mouse event.
782
+ * @default false
783
+ */
784
+ blurOnSelect: _propTypes.default.oneOfType([_propTypes.default.oneOf(['mouse', 'touch']), _propTypes.default.bool]),
785
+ /**
786
+ * Props applied to the [`Chip`](https://mui.com/material-ui/api/chip/) element.
787
+ * @deprecated Use `slotProps.chip` 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.
788
+ */
789
+ ChipProps: _propTypes.default.object,
790
+ /**
791
+ * Override or extend the styles applied to the component.
792
+ */
793
+ classes: _propTypes.default.object,
794
+ /**
795
+ * @ignore
796
+ */
797
+ className: _propTypes.default.string,
798
+ /**
799
+ * The icon to display in place of the default clear icon.
800
+ * @default <ClearIcon fontSize="small" />
801
+ */
802
+ clearIcon: _propTypes.default.node,
803
+ /**
804
+ * If `true`, the input's text is cleared on blur if no value is selected.
805
+ *
806
+ * Set it to `true` if you want to help the user enter a new value.
807
+ * Set it to `false` if you want to help the user resume their search.
808
+ * @default !props.freeSolo
809
+ */
810
+ clearOnBlur: _propTypes.default.bool,
811
+ /**
812
+ * If `true`, clear all values when the user presses escape and the popup is closed.
813
+ * @default false
814
+ */
815
+ clearOnEscape: _propTypes.default.bool,
816
+ /**
817
+ * Override the default text for the *clear* icon button.
818
+ *
819
+ * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
820
+ * @default 'Clear'
821
+ */
822
+ clearText: _propTypes.default.string,
823
+ /**
824
+ * Override the default text for the *close popup* icon button.
825
+ *
826
+ * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
827
+ * @default 'Close'
828
+ */
829
+ closeText: _propTypes.default.string,
830
+ /**
831
+ * The props used for each slot inside.
832
+ * @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.
833
+ */
834
+ componentsProps: _propTypes.default.shape({
835
+ clearIndicator: _propTypes.default.object,
836
+ paper: _propTypes.default.object,
837
+ popper: _propTypes.default.object,
838
+ popupIndicator: _propTypes.default.object
839
+ }),
840
+ /**
841
+ * The default value. Use when the component is not controlled.
842
+ * @default props.multiple ? [] : null
843
+ */
844
+ defaultValue: (0, _chainPropTypes.default)(_propTypes.default.any, props => {
845
+ if (props.multiple && props.defaultValue !== undefined && !Array.isArray(props.defaultValue)) {
846
+ return new Error(['MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.', `However, ${props.defaultValue} was provided.`].join('\n'));
847
+ }
848
+ return null;
849
+ }),
850
+ /**
851
+ * If `true`, the input can't be cleared.
852
+ * @default false
853
+ */
854
+ disableClearable: _propTypes.default.bool,
855
+ /**
856
+ * If `true`, the popup won't close when a value is selected.
857
+ * @default false
858
+ */
859
+ disableCloseOnSelect: _propTypes.default.bool,
860
+ /**
861
+ * If `true`, the component is disabled.
862
+ * @default false
863
+ */
864
+ disabled: _propTypes.default.bool,
865
+ /**
866
+ * If `true`, will allow focus on disabled items.
867
+ * @default false
868
+ */
869
+ disabledItemsFocusable: _propTypes.default.bool,
870
+ /**
871
+ * If `true`, the list box in the popup will not wrap focus.
872
+ * @default false
873
+ */
874
+ disableListWrap: _propTypes.default.bool,
875
+ /**
876
+ * If `true`, the `Popper` content will be under the DOM hierarchy of the parent component.
877
+ * @default false
878
+ */
879
+ disablePortal: _propTypes.default.bool,
880
+ /**
881
+ * A function that determines the filtered options to be rendered on search.
882
+ *
883
+ * @default createFilterOptions()
884
+ * @param {Value[]} options The options to render.
885
+ * @param {object} state The state of the component.
886
+ * @returns {Value[]}
887
+ */
888
+ filterOptions: _propTypes.default.func,
889
+ /**
890
+ * If `true`, hide the selected options from the list box.
891
+ * @default false
892
+ */
893
+ filterSelectedOptions: _propTypes.default.bool,
894
+ /**
895
+ * Force the visibility display of the popup icon.
896
+ * @default 'auto'
897
+ */
898
+ forcePopupIcon: _propTypes.default.oneOfType([_propTypes.default.oneOf(['auto']), _propTypes.default.bool]),
899
+ /**
900
+ * If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.
901
+ * @default false
902
+ */
903
+ freeSolo: _propTypes.default.bool,
904
+ /**
905
+ * If `true`, the input will take up the full width of its container.
906
+ * @default false
907
+ */
908
+ fullWidth: _propTypes.default.bool,
909
+ /**
910
+ * The label to display when the tags are truncated (`limitTags`).
911
+ *
912
+ * @param {number} more The number of truncated tags.
913
+ * @returns {ReactNode}
914
+ * @default (more) => `+${more}`
915
+ */
916
+ getLimitTagsText: _propTypes.default.func,
917
+ /**
918
+ * Used to determine the disabled state for a given option.
919
+ *
920
+ * @param {Value} option The option to test.
921
+ * @returns {boolean}
922
+ */
923
+ getOptionDisabled: _propTypes.default.func,
924
+ /**
925
+ * Used to determine the key for a given option.
926
+ * This can be useful when the labels of options are not unique (since labels are used as keys by default).
927
+ *
928
+ * @param {Value} option The option to get the key for.
929
+ * @returns {string | number}
930
+ */
931
+ getOptionKey: _propTypes.default.func,
932
+ /**
933
+ * Used to determine the string value for a given option.
934
+ * It's used to fill the input (and the list box options if `renderOption` is not provided).
935
+ *
936
+ * If used in free solo mode, it must accept both the type of the options and a string.
937
+ *
938
+ * @param {Value} option
939
+ * @returns {string}
940
+ * @default (option) => option.label ?? option
941
+ */
942
+ getOptionLabel: _propTypes.default.func,
943
+ /**
944
+ * If provided, the options will be grouped under the returned string.
945
+ * The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
946
+ *
947
+ * @param {Value} option The Autocomplete option.
948
+ * @returns {string}
949
+ */
950
+ groupBy: _propTypes.default.func,
951
+ /**
952
+ * If `true`, the component handles the "Home" and "End" keys when the popup is open.
953
+ * It should move focus to the first option and last option, respectively.
954
+ * @default !props.freeSolo
955
+ */
956
+ handleHomeEndKeys: _propTypes.default.bool,
957
+ /**
958
+ * This prop is used to help implement the accessibility logic.
959
+ * If you don't provide an id it will fall back to a randomly generated one.
960
+ */
961
+ id: _propTypes.default.string,
962
+ /**
963
+ * If `true`, the highlight can move to the input.
964
+ * @default false
965
+ */
966
+ includeInputInList: _propTypes.default.bool,
967
+ /**
968
+ * The input value.
969
+ */
970
+ inputValue: _propTypes.default.string,
971
+ /**
972
+ * Used to determine if the option represents the given value.
973
+ * Uses strict equality by default.
974
+ * ⚠️ Both arguments need to be handled, an option can only match with one value.
975
+ *
976
+ * @param {Value} option The option to test.
977
+ * @param {Value} value The value to test against.
978
+ * @returns {boolean}
979
+ */
980
+ isOptionEqualToValue: _propTypes.default.func,
981
+ /**
982
+ * The maximum number of tags that will be visible when not focused.
983
+ * Set `-1` to disable the limit.
984
+ * @default -1
985
+ */
986
+ limitTags: _integerPropType.default,
987
+ /**
988
+ * The component used to render the listbox.
989
+ * @default 'ul'
990
+ * @deprecated Use `slotProps.listbox.component` 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.
991
+ */
992
+ ListboxComponent: _propTypes.default.elementType,
993
+ /**
994
+ * Props applied to the Listbox element.
995
+ * @deprecated Use `slotProps.listbox` 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.
996
+ */
997
+ ListboxProps: _propTypes.default.object,
998
+ /**
999
+ * If `true`, the component is in a loading state.
1000
+ * This shows the `loadingText` in place of suggestions (only if there are no suggestions to show, for example `options` are empty).
1001
+ * @default false
1002
+ */
1003
+ loading: _propTypes.default.bool,
1004
+ /**
1005
+ * Text to display when in a loading state.
1006
+ *
1007
+ * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
1008
+ * @default 'Loading…'
1009
+ */
1010
+ loadingText: _propTypes.default.node,
1011
+ /**
1012
+ * If `true`, `value` must be an array and the menu will support multiple selections.
1013
+ * @default false
1014
+ */
1015
+ multiple: _propTypes.default.bool,
1016
+ /**
1017
+ * Text to display when there are no options.
1018
+ *
1019
+ * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
1020
+ * @default 'No options'
1021
+ */
1022
+ noOptionsText: _propTypes.default.node,
1023
+ /**
1024
+ * Callback fired when the value changes.
1025
+ *
1026
+ * @param {React.SyntheticEvent} event The event source of the callback.
1027
+ * @param {Value|Value[]} value The new value of the component.
1028
+ * @param {string} reason One of "createOption", "selectOption", "removeOption", "blur" or "clear".
1029
+ * @param {string} [details]
1030
+ */
1031
+ onChange: _propTypes.default.func,
1032
+ /**
1033
+ * Callback fired when the popup requests to be closed.
1034
+ * Use in controlled mode (see open).
1035
+ *
1036
+ * @param {React.SyntheticEvent} event The event source of the callback.
1037
+ * @param {string} reason Can be: `"toggleInput"`, `"escape"`, `"selectOption"`, `"removeOption"`, `"blur"`.
1038
+ */
1039
+ onClose: _propTypes.default.func,
1040
+ /**
1041
+ * Callback fired when the highlight option changes.
1042
+ *
1043
+ * @param {React.SyntheticEvent} event The event source of the callback.
1044
+ * @param {Value} option The highlighted option.
1045
+ * @param {string} reason Can be: `"keyboard"`, `"mouse"`, `"touch"`.
1046
+ */
1047
+ onHighlightChange: _propTypes.default.func,
1048
+ /**
1049
+ * Callback fired when the input value changes.
1050
+ *
1051
+ * @param {React.SyntheticEvent} event The event source of the callback.
1052
+ * @param {string} value The new value of the text input.
1053
+ * @param {string} reason Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`, `"blur"`, `"selectOption"`, `"removeOption"`
1054
+ */
1055
+ onInputChange: _propTypes.default.func,
1056
+ /**
1057
+ * @ignore
1058
+ */
1059
+ onKeyDown: _propTypes.default.func,
1060
+ /**
1061
+ * Callback fired when the popup requests to be opened.
1062
+ * Use in controlled mode (see open).
1063
+ *
1064
+ * @param {React.SyntheticEvent} event The event source of the callback.
1065
+ */
1066
+ onOpen: _propTypes.default.func,
1067
+ /**
1068
+ * If `true`, the component is shown.
1069
+ */
1070
+ open: _propTypes.default.bool,
1071
+ /**
1072
+ * If `true`, the popup will open on input focus.
1073
+ * @default false
1074
+ */
1075
+ openOnFocus: _propTypes.default.bool,
1076
+ /**
1077
+ * Override the default text for the *open popup* icon button.
1078
+ *
1079
+ * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
1080
+ * @default 'Open'
1081
+ */
1082
+ openText: _propTypes.default.string,
1083
+ /**
1084
+ * A list of options that will be shown in the Autocomplete.
1085
+ */
1086
+ options: _propTypes.default.array.isRequired,
1087
+ /**
1088
+ * The component used to render the body of the popup.
1089
+ * @default Paper
1090
+ * @deprecated Use `slots.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.
1091
+ */
1092
+ PaperComponent: _propTypes.default.elementType,
1093
+ /**
1094
+ * The component used to position the popup.
1095
+ * @default Popper
1096
+ * @deprecated Use `slots.popper` 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.
1097
+ */
1098
+ PopperComponent: _propTypes.default.elementType,
1099
+ /**
1100
+ * The icon to display in place of the default popup icon.
1101
+ * @default <ArrowDropDownIcon />
1102
+ */
1103
+ popupIcon: _propTypes.default.node,
1104
+ /**
1105
+ * If `true`, the component becomes readonly. It is also supported for multiple tags where the tag cannot be deleted.
1106
+ * @default false
1107
+ */
1108
+ readOnly: _propTypes.default.bool,
1109
+ /**
1110
+ * Render the group.
1111
+ *
1112
+ * @param {AutocompleteRenderGroupParams} params The group to render.
1113
+ * @returns {ReactNode}
1114
+ */
1115
+ renderGroup: _propTypes.default.func,
1116
+ /**
1117
+ * Render the input.
1118
+ *
1119
+ * @param {object} params
1120
+ * @returns {ReactNode}
1121
+ */
1122
+ renderInput: _propTypes.default.func.isRequired,
1123
+ /**
1124
+ * Render the option, use `getOptionLabel` by default.
1125
+ *
1126
+ * @param {object} props The props to apply on the li element.
1127
+ * @param {Value} option The option to render.
1128
+ * @param {object} state The state of each option.
1129
+ * @param {object} ownerState The state of the Autocomplete component.
1130
+ * @returns {ReactNode}
1131
+ */
1132
+ renderOption: _propTypes.default.func,
1133
+ /**
1134
+ * Render the selected value when doing multiple selections.
1135
+ *
1136
+ * @deprecated Use `renderValue` prop instead
1137
+ *
1138
+ * @param {Value[]} value The `value` provided to the component.
1139
+ * @param {function} getTagProps A tag props getter.
1140
+ * @param {object} ownerState The state of the Autocomplete component.
1141
+ * @returns {ReactNode}
1142
+ */
1143
+ renderTags: _propTypes.default.func,
1144
+ /**
1145
+ * Renders the selected value(s) as rich content in the input for both single and multiple selections.
1146
+ *
1147
+ * @param {AutocompleteRenderValue<Value, Multiple, FreeSolo>} value The `value` provided to the component.
1148
+ * @param {function} getItemProps The value item props.
1149
+ * @param {object} ownerState The state of the Autocomplete component.
1150
+ * @returns {ReactNode}
1151
+ */
1152
+ renderValue: _propTypes.default.func,
1153
+ /**
1154
+ * If `true`, the input's text is selected on focus.
1155
+ * It helps the user clear the selected value.
1156
+ * @default !props.freeSolo
1157
+ */
1158
+ selectOnFocus: _propTypes.default.bool,
1159
+ /**
1160
+ * The size of the component.
1161
+ * @default 'medium'
1162
+ */
1163
+ size: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['small', 'medium']), _propTypes.default.string]),
1164
+ /**
1165
+ * The props used for each slot inside.
1166
+ * @default {}
1167
+ */
1168
+ slotProps: _propTypes.default /* @typescript-to-proptypes-ignore */.shape({
1169
+ chip: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
1170
+ clearIndicator: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
1171
+ listbox: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
1172
+ paper: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
1173
+ popper: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
1174
+ popupIndicator: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])
1175
+ }),
1176
+ /**
1177
+ * The components used for each slot inside.
1178
+ * @default {}
1179
+ */
1180
+ slots: _propTypes.default.shape({
1181
+ listbox: _propTypes.default.elementType,
1182
+ paper: _propTypes.default.elementType,
1183
+ popper: _propTypes.default.elementType
1184
+ }),
1185
+ /**
1186
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1187
+ */
1188
+ sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object]),
1189
+ /**
1190
+ * The value of the autocomplete.
1191
+ *
1192
+ * The value must have reference equality with the option in order to be selected.
1193
+ * You can customize the equality behavior with the `isOptionEqualToValue` prop.
1194
+ */
1195
+ value: (0, _chainPropTypes.default)(_propTypes.default.any, props => {
1196
+ if (props.multiple && props.value !== undefined && !Array.isArray(props.value)) {
1197
+ return new Error(['MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.', `However, ${props.value} was provided.`].join('\n'));
1198
+ }
1199
+ return null;
1200
+ })
1201
+ } : void 0;
1202
+ var _default = exports.default = Autocomplete;