@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,178 @@
1
+ import * as React from 'react';
2
+ import { OverridableStringUnion } from '@mui/types';
3
+ import { SxProps } from '@mui/system';
4
+ import { IconButtonProps, InternalStandardProps as StandardProps, SvgIconProps, Theme } from "../index.js";
5
+ import { PaperProps } from "../Paper/index.js";
6
+ import { AlertClasses } from "./alertClasses.js";
7
+ import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
8
+ export type AlertColor = 'success' | 'info' | 'warning' | 'error';
9
+ export interface AlertPropsVariantOverrides {}
10
+ export interface AlertPropsColorOverrides {}
11
+ export interface AlertRootSlotPropsOverrides {}
12
+ export interface AlertIconSlotPropsOverrides {}
13
+ export interface AlertMessageSlotPropsOverrides {}
14
+ export interface AlertActionSlotPropsOverrides {}
15
+ export interface AlertCloseButtonSlotPropsOverrides {}
16
+ export interface AlertCloseIconSlotPropsOverrides {}
17
+ export interface AlertSlots {
18
+ /**
19
+ * The component that renders the root slot.
20
+ * @default Paper
21
+ */
22
+ root: React.ElementType;
23
+ /**
24
+ * The component that renders the icon slot.
25
+ * @default div
26
+ */
27
+ icon: React.ElementType;
28
+ /**
29
+ * The component that renders the message slot.
30
+ * @default div
31
+ */
32
+ message: React.ElementType;
33
+ /**
34
+ * The component that renders the action slot.
35
+ * @default div
36
+ */
37
+ action: React.ElementType;
38
+ /**
39
+ * The component that renders the close button.
40
+ * @default IconButton
41
+ */
42
+ closeButton: React.ElementType;
43
+ /**
44
+ * The component that renders the close icon.
45
+ * @default svg
46
+ */
47
+ closeIcon: React.ElementType;
48
+ }
49
+ export type AlertSlotsAndSlotProps = CreateSlotsAndSlotProps<AlertSlots, {
50
+ /**
51
+ * Props forwarded to the root slot.
52
+ * By default, the avaible props are based on the [Paper](https://mui.com/material-ui/api/paper/#props) component.
53
+ */
54
+ root: SlotProps<React.ElementType<PaperProps>, AlertRootSlotPropsOverrides, AlertOwnerState>;
55
+ /**
56
+ * Props forwarded to the icon slot.
57
+ * By default, the avaible props are based on a div element.
58
+ */
59
+ icon: SlotProps<'div', AlertIconSlotPropsOverrides, AlertOwnerState>;
60
+ /**
61
+ * Props forwarded to the message slot.
62
+ * By default, the avaible props are based on a div element.
63
+ */
64
+ message: SlotProps<'div', AlertMessageSlotPropsOverrides, AlertOwnerState>;
65
+ /**
66
+ * Props forwarded to the action slot.
67
+ * By default, the avaible props are based on a div element.
68
+ */
69
+ action: SlotProps<'div', AlertActionSlotPropsOverrides, AlertOwnerState>;
70
+ /**
71
+ * Props forwarded to the closeButton slot.
72
+ * By default, the avaible props are based on the [IconButton](https://mui.com/material-ui/api/icon-button/#props) component.
73
+ */
74
+ closeButton: SlotProps<React.ElementType<IconButtonProps>, AlertCloseButtonSlotPropsOverrides, AlertOwnerState>;
75
+ /**
76
+ * Props forwarded to the closeIcon slot.
77
+ * By default, the avaible props are based on the [SvgIcon](https://mui.com/material-ui/api/svg-icon/#props) component.
78
+ */
79
+ closeIcon: SlotProps<React.ElementType<SvgIconProps>, AlertCloseIconSlotPropsOverrides, AlertOwnerState>;
80
+ }>;
81
+ export interface AlertProps extends StandardProps<PaperProps, 'variant'>, AlertSlotsAndSlotProps {
82
+ /**
83
+ * The action to display. It renders after the message, at the end of the alert.
84
+ */
85
+ action?: React.ReactNode;
86
+ /**
87
+ * Override or extend the styles applied to the component.
88
+ */
89
+ classes?: Partial<AlertClasses>;
90
+ /**
91
+ * Override the default label for the *close popup* icon button.
92
+ *
93
+ * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
94
+ * @default 'Close'
95
+ */
96
+ closeText?: string;
97
+ /**
98
+ * The color of the component. Unless provided, the value is taken from the `severity` prop.
99
+ * It supports both default and custom theme colors, which can be added as shown in the
100
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
101
+ */
102
+ color?: OverridableStringUnion<AlertColor, AlertPropsColorOverrides>;
103
+ /**
104
+ * The components used for each slot inside.
105
+ *
106
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
107
+ *
108
+ * @default {}
109
+ */
110
+ components?: {
111
+ CloseButton?: React.ElementType;
112
+ CloseIcon?: React.ElementType;
113
+ };
114
+ /**
115
+ * The extra props for the slot components.
116
+ * You can override the existing props or add new ones.
117
+ *
118
+ * @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.
119
+ *
120
+ * @default {}
121
+ */
122
+ componentsProps?: {
123
+ closeButton?: IconButtonProps;
124
+ closeIcon?: SvgIconProps;
125
+ };
126
+ /**
127
+ * The severity of the alert. This defines the color and icon used.
128
+ * @default 'success'
129
+ */
130
+ severity?: OverridableStringUnion<AlertColor, AlertPropsColorOverrides>;
131
+ /**
132
+ * Override the icon displayed before the children.
133
+ * Unless provided, the icon is mapped to the value of the `severity` prop.
134
+ * Set to `false` to remove the `icon`.
135
+ */
136
+ icon?: React.ReactNode;
137
+ /**
138
+ * The ARIA role attribute of the element.
139
+ * @default 'alert'
140
+ */
141
+ role?: string;
142
+ /**
143
+ * The component maps the `severity` prop to a range of different icons,
144
+ * for instance success to `<SuccessOutlined>`.
145
+ * If you wish to change this mapping, you can provide your own.
146
+ * Alternatively, you can use the `icon` prop to override the icon displayed.
147
+ */
148
+ iconMapping?: Partial<Record<OverridableStringUnion<AlertColor, AlertPropsColorOverrides>, React.ReactNode>>;
149
+ /**
150
+ * Callback fired when the component requests to be closed.
151
+ * When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
152
+ * @param {React.SyntheticEvent} event The event source of the callback.
153
+ */
154
+ onClose?: (event: React.SyntheticEvent) => void;
155
+ /**
156
+ * The variant to use.
157
+ * @default 'standard'
158
+ */
159
+ variant?: OverridableStringUnion<'standard' | 'filled' | 'outlined', AlertPropsVariantOverrides>;
160
+ /**
161
+ * The system prop that allows defining system overrides as well as additional CSS styles.
162
+ */
163
+ sx?: SxProps<Theme>;
164
+ }
165
+ export interface AlertOwnerState extends AlertProps {}
166
+
167
+ /**
168
+ *
169
+ * Demos:
170
+ *
171
+ * - [Alert](https://mui.com/material-ui/react-alert/)
172
+ *
173
+ * API:
174
+ *
175
+ * - [Alert API](https://mui.com/material-ui/api/alert/)
176
+ * - inherits [Paper API](https://mui.com/material-ui/api/paper/)
177
+ */
178
+ export default function Alert(props: AlertProps): React.JSX.Element;
package/Alert/Alert.js ADDED
@@ -0,0 +1,390 @@
1
+ "use strict";
2
+ 'use client';
3
+
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
5
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
9
+ exports.default = void 0;
10
+ var React = _interopRequireWildcard(require("react"));
11
+ var _propTypes = _interopRequireDefault(require("prop-types"));
12
+ var _clsx = _interopRequireDefault(require("clsx"));
13
+ var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
14
+ var _colorManipulator = require("@mui/system/colorManipulator");
15
+ var _zeroStyled = require("../zero-styled");
16
+ var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
17
+ var _DefaultPropsProvider = require("../DefaultPropsProvider");
18
+ var _useSlot = _interopRequireDefault(require("../utils/useSlot"));
19
+ var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
20
+ var _createSimplePaletteValueFilter = _interopRequireDefault(require("../utils/createSimplePaletteValueFilter"));
21
+ var _Paper = _interopRequireDefault(require("../Paper"));
22
+ var _alertClasses = _interopRequireWildcard(require("./alertClasses"));
23
+ var _IconButton = _interopRequireDefault(require("../IconButton"));
24
+ var _SuccessOutlined = _interopRequireDefault(require("../internal/svg-icons/SuccessOutlined"));
25
+ var _ReportProblemOutlined = _interopRequireDefault(require("../internal/svg-icons/ReportProblemOutlined"));
26
+ var _ErrorOutline = _interopRequireDefault(require("../internal/svg-icons/ErrorOutline"));
27
+ var _InfoOutlined = _interopRequireDefault(require("../internal/svg-icons/InfoOutlined"));
28
+ var _Close = _interopRequireDefault(require("../internal/svg-icons/Close"));
29
+ var _jsxRuntime = require("react/jsx-runtime");
30
+ const useUtilityClasses = ownerState => {
31
+ const {
32
+ variant,
33
+ color,
34
+ severity,
35
+ classes
36
+ } = ownerState;
37
+ const slots = {
38
+ root: ['root', `color${(0, _capitalize.default)(color || severity)}`, `${variant}${(0, _capitalize.default)(color || severity)}`, `${variant}`],
39
+ icon: ['icon'],
40
+ message: ['message'],
41
+ action: ['action']
42
+ };
43
+ return (0, _composeClasses.default)(slots, _alertClasses.getAlertUtilityClass, classes);
44
+ };
45
+ const AlertRoot = (0, _zeroStyled.styled)(_Paper.default, {
46
+ name: 'MuiAlert',
47
+ slot: 'Root',
48
+ overridesResolver: (props, styles) => {
49
+ const {
50
+ ownerState
51
+ } = props;
52
+ return [styles.root, styles[ownerState.variant], styles[`${ownerState.variant}${(0, _capitalize.default)(ownerState.color || ownerState.severity)}`]];
53
+ }
54
+ })((0, _memoTheme.default)(({
55
+ theme
56
+ }) => {
57
+ const getColor = theme.palette.mode === 'light' ? _colorManipulator.darken : _colorManipulator.lighten;
58
+ const getBackgroundColor = theme.palette.mode === 'light' ? _colorManipulator.lighten : _colorManipulator.darken;
59
+ return {
60
+ ...theme.typography.body2,
61
+ backgroundColor: 'transparent',
62
+ display: 'flex',
63
+ padding: '6px 16px',
64
+ variants: [...Object.entries(theme.palette).filter((0, _createSimplePaletteValueFilter.default)(['light'])).map(([color]) => ({
65
+ props: {
66
+ colorSeverity: color,
67
+ variant: 'standard'
68
+ },
69
+ style: {
70
+ color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),
71
+ backgroundColor: theme.vars ? theme.vars.palette.Alert[`${color}StandardBg`] : getBackgroundColor(theme.palette[color].light, 0.9),
72
+ [`& .${_alertClasses.default.icon}`]: theme.vars ? {
73
+ color: theme.vars.palette.Alert[`${color}IconColor`]
74
+ } : {
75
+ color: theme.palette[color].main
76
+ }
77
+ }
78
+ })), ...Object.entries(theme.palette).filter((0, _createSimplePaletteValueFilter.default)(['light'])).map(([color]) => ({
79
+ props: {
80
+ colorSeverity: color,
81
+ variant: 'outlined'
82
+ },
83
+ style: {
84
+ color: theme.vars ? theme.vars.palette.Alert[`${color}Color`] : getColor(theme.palette[color].light, 0.6),
85
+ border: `1px solid ${(theme.vars || theme).palette[color].light}`,
86
+ [`& .${_alertClasses.default.icon}`]: theme.vars ? {
87
+ color: theme.vars.palette.Alert[`${color}IconColor`]
88
+ } : {
89
+ color: theme.palette[color].main
90
+ }
91
+ }
92
+ })), ...Object.entries(theme.palette).filter((0, _createSimplePaletteValueFilter.default)(['dark'])).map(([color]) => ({
93
+ props: {
94
+ colorSeverity: color,
95
+ variant: 'filled'
96
+ },
97
+ style: {
98
+ fontWeight: theme.typography.fontWeightMedium,
99
+ ...(theme.vars ? {
100
+ color: theme.vars.palette.Alert[`${color}FilledColor`],
101
+ backgroundColor: theme.vars.palette.Alert[`${color}FilledBg`]
102
+ } : {
103
+ backgroundColor: theme.palette.mode === 'dark' ? theme.palette[color].dark : theme.palette[color].main,
104
+ color: theme.palette.getContrastText(theme.palette[color].main)
105
+ })
106
+ }
107
+ }))]
108
+ };
109
+ }));
110
+ const AlertIcon = (0, _zeroStyled.styled)('div', {
111
+ name: 'MuiAlert',
112
+ slot: 'Icon'
113
+ })({
114
+ marginRight: 12,
115
+ padding: '7px 0',
116
+ display: 'flex',
117
+ fontSize: 22,
118
+ opacity: 0.9
119
+ });
120
+ const AlertMessage = (0, _zeroStyled.styled)('div', {
121
+ name: 'MuiAlert',
122
+ slot: 'Message'
123
+ })({
124
+ padding: '8px 0',
125
+ minWidth: 0,
126
+ overflow: 'auto'
127
+ });
128
+ const AlertAction = (0, _zeroStyled.styled)('div', {
129
+ name: 'MuiAlert',
130
+ slot: 'Action'
131
+ })({
132
+ display: 'flex',
133
+ alignItems: 'flex-start',
134
+ padding: '4px 0 0 16px',
135
+ marginLeft: 'auto',
136
+ marginRight: -8
137
+ });
138
+ const defaultIconMapping = {
139
+ success: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SuccessOutlined.default, {
140
+ fontSize: "inherit"
141
+ }),
142
+ warning: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ReportProblemOutlined.default, {
143
+ fontSize: "inherit"
144
+ }),
145
+ error: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ErrorOutline.default, {
146
+ fontSize: "inherit"
147
+ }),
148
+ info: /*#__PURE__*/(0, _jsxRuntime.jsx)(_InfoOutlined.default, {
149
+ fontSize: "inherit"
150
+ })
151
+ };
152
+ const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
153
+ const props = (0, _DefaultPropsProvider.useDefaultProps)({
154
+ props: inProps,
155
+ name: 'MuiAlert'
156
+ });
157
+ const {
158
+ action,
159
+ children,
160
+ className,
161
+ closeText = 'Close',
162
+ color,
163
+ components = {},
164
+ componentsProps = {},
165
+ icon,
166
+ iconMapping = defaultIconMapping,
167
+ onClose,
168
+ role = 'alert',
169
+ severity = 'success',
170
+ slotProps = {},
171
+ slots = {},
172
+ variant = 'standard',
173
+ ...other
174
+ } = props;
175
+ const ownerState = {
176
+ ...props,
177
+ color,
178
+ severity,
179
+ variant,
180
+ colorSeverity: color || severity
181
+ };
182
+ const classes = useUtilityClasses(ownerState);
183
+ const externalForwardedProps = {
184
+ slots: {
185
+ closeButton: components.CloseButton,
186
+ closeIcon: components.CloseIcon,
187
+ ...slots
188
+ },
189
+ slotProps: {
190
+ ...componentsProps,
191
+ ...slotProps
192
+ }
193
+ };
194
+ const [RootSlot, rootSlotProps] = (0, _useSlot.default)('root', {
195
+ ref,
196
+ shouldForwardComponentProp: true,
197
+ className: (0, _clsx.default)(classes.root, className),
198
+ elementType: AlertRoot,
199
+ externalForwardedProps: {
200
+ ...externalForwardedProps,
201
+ ...other
202
+ },
203
+ ownerState,
204
+ additionalProps: {
205
+ role,
206
+ elevation: 0
207
+ }
208
+ });
209
+ const [IconSlot, iconSlotProps] = (0, _useSlot.default)('icon', {
210
+ className: classes.icon,
211
+ elementType: AlertIcon,
212
+ externalForwardedProps,
213
+ ownerState
214
+ });
215
+ const [MessageSlot, messageSlotProps] = (0, _useSlot.default)('message', {
216
+ className: classes.message,
217
+ elementType: AlertMessage,
218
+ externalForwardedProps,
219
+ ownerState
220
+ });
221
+ const [ActionSlot, actionSlotProps] = (0, _useSlot.default)('action', {
222
+ className: classes.action,
223
+ elementType: AlertAction,
224
+ externalForwardedProps,
225
+ ownerState
226
+ });
227
+ const [CloseButtonSlot, closeButtonProps] = (0, _useSlot.default)('closeButton', {
228
+ elementType: _IconButton.default,
229
+ externalForwardedProps,
230
+ ownerState
231
+ });
232
+ const [CloseIconSlot, closeIconProps] = (0, _useSlot.default)('closeIcon', {
233
+ elementType: _Close.default,
234
+ externalForwardedProps,
235
+ ownerState
236
+ });
237
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(RootSlot, {
238
+ ...rootSlotProps,
239
+ children: [icon !== false ? /*#__PURE__*/(0, _jsxRuntime.jsx)(IconSlot, {
240
+ ...iconSlotProps,
241
+ children: icon || iconMapping[severity] || defaultIconMapping[severity]
242
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(MessageSlot, {
243
+ ...messageSlotProps,
244
+ children: children
245
+ }), action != null ? /*#__PURE__*/(0, _jsxRuntime.jsx)(ActionSlot, {
246
+ ...actionSlotProps,
247
+ children: action
248
+ }) : null, action == null && onClose ? /*#__PURE__*/(0, _jsxRuntime.jsx)(ActionSlot, {
249
+ ...actionSlotProps,
250
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(CloseButtonSlot, {
251
+ size: "small",
252
+ "aria-label": closeText,
253
+ title: closeText,
254
+ color: "inherit",
255
+ onClick: onClose,
256
+ ...closeButtonProps,
257
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(CloseIconSlot, {
258
+ fontSize: "small",
259
+ ...closeIconProps
260
+ })
261
+ })
262
+ }) : null]
263
+ });
264
+ });
265
+ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ = {
266
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
267
+ // │ These PropTypes are generated from the TypeScript type definitions. │
268
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
269
+ // └─────────────────────────────────────────────────────────────────────┘
270
+ /**
271
+ * The action to display. It renders after the message, at the end of the alert.
272
+ */
273
+ action: _propTypes.default.node,
274
+ /**
275
+ * The content of the component.
276
+ */
277
+ children: _propTypes.default.node,
278
+ /**
279
+ * Override or extend the styles applied to the component.
280
+ */
281
+ classes: _propTypes.default.object,
282
+ /**
283
+ * @ignore
284
+ */
285
+ className: _propTypes.default.string,
286
+ /**
287
+ * Override the default label for the *close popup* icon button.
288
+ *
289
+ * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).
290
+ * @default 'Close'
291
+ */
292
+ closeText: _propTypes.default.string,
293
+ /**
294
+ * The color of the component. Unless provided, the value is taken from the `severity` prop.
295
+ * It supports both default and custom theme colors, which can be added as shown in the
296
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
297
+ */
298
+ color: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['error', 'info', 'success', 'warning']), _propTypes.default.string]),
299
+ /**
300
+ * The components used for each slot inside.
301
+ *
302
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
303
+ *
304
+ * @default {}
305
+ */
306
+ components: _propTypes.default.shape({
307
+ CloseButton: _propTypes.default.elementType,
308
+ CloseIcon: _propTypes.default.elementType
309
+ }),
310
+ /**
311
+ * The extra props for the slot components.
312
+ * You can override the existing props or add new ones.
313
+ *
314
+ * @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.
315
+ *
316
+ * @default {}
317
+ */
318
+ componentsProps: _propTypes.default.shape({
319
+ closeButton: _propTypes.default.object,
320
+ closeIcon: _propTypes.default.object
321
+ }),
322
+ /**
323
+ * Override the icon displayed before the children.
324
+ * Unless provided, the icon is mapped to the value of the `severity` prop.
325
+ * Set to `false` to remove the `icon`.
326
+ */
327
+ icon: _propTypes.default.node,
328
+ /**
329
+ * The component maps the `severity` prop to a range of different icons,
330
+ * for instance success to `<SuccessOutlined>`.
331
+ * If you wish to change this mapping, you can provide your own.
332
+ * Alternatively, you can use the `icon` prop to override the icon displayed.
333
+ */
334
+ iconMapping: _propTypes.default.shape({
335
+ error: _propTypes.default.node,
336
+ info: _propTypes.default.node,
337
+ success: _propTypes.default.node,
338
+ warning: _propTypes.default.node
339
+ }),
340
+ /**
341
+ * Callback fired when the component requests to be closed.
342
+ * When provided and no `action` prop is set, a close icon button is displayed that triggers the callback when clicked.
343
+ * @param {React.SyntheticEvent} event The event source of the callback.
344
+ */
345
+ onClose: _propTypes.default.func,
346
+ /**
347
+ * The ARIA role attribute of the element.
348
+ * @default 'alert'
349
+ */
350
+ role: _propTypes.default.string,
351
+ /**
352
+ * The severity of the alert. This defines the color and icon used.
353
+ * @default 'success'
354
+ */
355
+ severity: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['error', 'info', 'success', 'warning']), _propTypes.default.string]),
356
+ /**
357
+ * The props used for each slot inside.
358
+ * @default {}
359
+ */
360
+ slotProps: _propTypes.default.shape({
361
+ action: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
362
+ closeButton: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
363
+ closeIcon: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
364
+ icon: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
365
+ message: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object]),
366
+ root: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])
367
+ }),
368
+ /**
369
+ * The components used for each slot inside.
370
+ * @default {}
371
+ */
372
+ slots: _propTypes.default.shape({
373
+ action: _propTypes.default.elementType,
374
+ closeButton: _propTypes.default.elementType,
375
+ closeIcon: _propTypes.default.elementType,
376
+ icon: _propTypes.default.elementType,
377
+ message: _propTypes.default.elementType,
378
+ root: _propTypes.default.elementType
379
+ }),
380
+ /**
381
+ * The system prop that allows defining system overrides as well as additional CSS styles.
382
+ */
383
+ 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]),
384
+ /**
385
+ * The variant to use.
386
+ * @default 'standard'
387
+ */
388
+ variant: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['filled', 'outlined', 'standard']), _propTypes.default.string])
389
+ } : void 0;
390
+ var _default = exports.default = Alert;
@@ -0,0 +1,100 @@
1
+ export interface AlertClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="filled"`. */
5
+ filled: string;
6
+ /** Styles applied to the root element if `variant="outlined"`. */
7
+ outlined: string;
8
+ /** Styles applied to the root element if `variant="standard"`. */
9
+ standard: string;
10
+ /** Styles applied to the root element if `color="success"`. */
11
+ colorSuccess: string;
12
+ /** Styles applied to the root element if `color="info"`. */
13
+ colorInfo: string;
14
+ /** Styles applied to the root element if `color="warning"`. */
15
+ colorWarning: string;
16
+ /** Styles applied to the root element if `color="error"`. */
17
+ colorError: string;
18
+ /** Styles applied to the root element if `variant="standard"` and `color="success"`.
19
+ * @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
20
+ * and [.MuiAlert-colorSuccess](/material-ui/api/alert/#alert-classes-colorSuccess) classes instead.
21
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
22
+ */
23
+ standardSuccess: string;
24
+ /** Styles applied to the root element if `variant="standard"` and `color="info"`.
25
+ * @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
26
+ * and [.MuiAlert-colorInfo](/material-ui/api/alert/#alert-classes-colorInfo) classes instead.
27
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
28
+ */
29
+ standardInfo: string;
30
+ /** Styles applied to the root element if `variant="standard"` and `color="warning"`.
31
+ * @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
32
+ * and [.MuiAlert-colorWarning](/material-ui/api/alert/#alert-classes-colorWarning) classes instead.
33
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
34
+ */
35
+ standardWarning: string;
36
+ /** Styles applied to the root element if `variant="standard"` and `color="error"`.
37
+ * @deprecated Combine the [.MuiAlert-standard](/material-ui/api/alert/#alert-classes-standard)
38
+ * and [.MuiAlert-colorError](/material-ui/api/alert/#alert-classes-colorError) classes instead.
39
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
40
+ */
41
+ standardError: string;
42
+ /** Styles applied to the root element if `variant="outlined"` and `color="success"`.
43
+ * @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
44
+ * and [.MuiAlert-colorSuccess](/material-ui/api/alert/#alert-classes-colorSuccess) classes instead.
45
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
46
+ */
47
+ outlinedSuccess: string;
48
+ /** Styles applied to the root element if `variant="outlined"` and `color="info"`.
49
+ * @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
50
+ * and [.MuiAlert-colorInfo](/material-ui/api/alert/#alert-classes-colorInfo) classes instead.
51
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
52
+ */
53
+ outlinedInfo: string;
54
+ /** Styles applied to the root element if `variant="outlined"` and `color="warning"`.
55
+ * @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
56
+ * and [.MuiAlert-colorWarning](/material-ui/api/alert/#alert-classes-colorWarning) classes instead.
57
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
58
+ */
59
+ outlinedWarning: string;
60
+ /** Styles applied to the root element if `variant="outlined"` and `color="error"`.
61
+ * @deprecated Combine the [.MuiAlert-outlined](/material-ui/api/alert/#alert-classes-outlined)
62
+ * and [.MuiAlert-colorError](/material-ui/api/alert/#alert-classes-colorError) classes instead.
63
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
64
+ */
65
+ outlinedError: string;
66
+ /** Styles applied to the root element if `variant="filled"` and `color="success"`.
67
+ * @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
68
+ * and [.MuiAlert-colorSuccess](/material-ui/api/alert/#alert-classes-colorSuccess) classes instead.
69
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
70
+ */
71
+ filledSuccess: string;
72
+ /** Styles applied to the root element if `variant="filled"` and `color="info"`.
73
+ * @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
74
+ * and [.MuiAlert-colorInfo](/material-ui/api/alert/#alert-classes-colorInfo) classes instead.
75
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
76
+ */
77
+ filledInfo: string;
78
+ /** Styles applied to the root element if `variant="filled"` and `color="warning"`
79
+ * @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
80
+ * and [.MuiAlert-colorWarning](/material-ui/api/alert/#alert-classes-colorWarning) classes instead.
81
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
82
+ */
83
+ filledWarning: string;
84
+ /** Styles applied to the root element if `variant="filled"` and `color="error"`.
85
+ * @deprecated Combine the [.MuiAlert-filled](/material-ui/api/alert/#alert-classes-filled)
86
+ * and [.MuiAlert-colorError](/material-ui/api/alert/#alert-classes-colorError) classes instead.
87
+ * See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
88
+ */
89
+ filledError: string;
90
+ /** Styles applied to the icon wrapper element. */
91
+ icon: string;
92
+ /** Styles applied to the message wrapper element. */
93
+ message: string;
94
+ /** Styles applied to the action wrapper element if `action` is provided. */
95
+ action: string;
96
+ }
97
+ export type AlertClassKey = keyof AlertClasses;
98
+ export declare function getAlertUtilityClass(slot: string): string;
99
+ declare const alertClasses: AlertClasses;
100
+ export default alertClasses;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ exports.getAlertUtilityClass = getAlertUtilityClass;
9
+ var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
10
+ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateUtilityClass"));
11
+ function getAlertUtilityClass(slot) {
12
+ return (0, _generateUtilityClass.default)('MuiAlert', slot);
13
+ }
14
+ const alertClasses = (0, _generateUtilityClasses.default)('MuiAlert', ['root', 'action', 'icon', 'message', 'filled', 'colorSuccess', 'colorInfo', 'colorWarning', 'colorError', 'filledSuccess', 'filledInfo', 'filledWarning', 'filledError', 'outlined', 'outlinedSuccess', 'outlinedInfo', 'outlinedWarning', 'outlinedError', 'standard', 'standardSuccess', 'standardInfo', 'standardWarning', 'standardError']);
15
+ var _default = exports.default = alertClasses;