@mui/material 5.10.3 → 5.10.4

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 (256) hide show
  1. package/Accordion/accordionClasses.d.ts +18 -18
  2. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  3. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  4. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  5. package/Alert/alertClasses.d.ts +44 -44
  6. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  7. package/AppBar/appBarClasses.d.ts +28 -28
  8. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  9. package/Avatar/Avatar.d.ts +1 -1
  10. package/Avatar/avatarClasses.d.ts +20 -20
  11. package/AvatarGroup/AvatarGroup.d.ts +6 -1
  12. package/AvatarGroup/AvatarGroup.js +10 -1
  13. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  14. package/Backdrop/backdropClasses.d.ts +10 -10
  15. package/Badge/Badge.d.ts +2 -2
  16. package/Badge/badgeClasses.d.ts +56 -56
  17. package/BottomNavigation/BottomNavigation.js +0 -0
  18. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  19. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  20. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  21. package/Button/Button.d.ts +2 -2
  22. package/Button/buttonClasses.d.ts +100 -100
  23. package/ButtonBase/ButtonBase.d.ts +1 -1
  24. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  25. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  26. package/ButtonGroup/ButtonGroup.d.ts +1 -1
  27. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  28. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  29. package/CHANGELOG.md +51 -0
  30. package/Card/Card.d.ts +1 -1
  31. package/Card/cardClasses.d.ts +8 -8
  32. package/CardActionArea/CardActionArea.d.ts +1 -1
  33. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  34. package/CardActions/CardActions.d.ts +1 -1
  35. package/CardActions/cardActionsClasses.d.ts +10 -10
  36. package/CardContent/CardContent.d.ts +1 -1
  37. package/CardContent/cardContentClasses.d.ts +8 -8
  38. package/CardHeader/CardHeader.d.ts +1 -1
  39. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  40. package/CardMedia/CardMedia.d.ts +1 -1
  41. package/CardMedia/cardMediaClasses.d.ts +12 -12
  42. package/Checkbox/Checkbox.d.ts +1 -1
  43. package/Checkbox/checkboxClasses.d.ts +18 -18
  44. package/Chip/Chip.d.ts +1 -1
  45. package/Chip/chipClasses.d.ts +88 -88
  46. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  47. package/ClickAwayListener/index.d.ts +2 -2
  48. package/Collapse/Collapse.d.ts +1 -1
  49. package/Collapse/collapseClasses.d.ts +18 -18
  50. package/Container/containerClasses.d.ts +6 -6
  51. package/CssBaseline/CssBaseline.d.ts +1 -1
  52. package/Dialog/Dialog.d.ts +1 -1
  53. package/Dialog/DialogContext.d.ts +6 -6
  54. package/Dialog/dialogClasses.d.ts +36 -36
  55. package/DialogActions/DialogActions.d.ts +1 -1
  56. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  57. package/DialogContent/DialogContent.d.ts +1 -1
  58. package/DialogContent/dialogContentClasses.d.ts +10 -10
  59. package/DialogContentText/DialogContentText.d.ts +1 -1
  60. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  61. package/DialogTitle/DialogTitle.d.ts +1 -1
  62. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  63. package/Divider/Divider.d.ts +1 -1
  64. package/Divider/dividerClasses.d.ts +34 -34
  65. package/Drawer/Drawer.d.ts +1 -1
  66. package/Drawer/drawerClasses.d.ts +30 -30
  67. package/Fab/Fab.d.ts +1 -1
  68. package/Fab/fabClasses.d.ts +26 -26
  69. package/FilledInput/FilledInput.d.ts +1 -1
  70. package/FilledInput/filledInputClasses.d.ts +40 -40
  71. package/FormControl/FormControl.d.ts +4 -4
  72. package/FormControl/formControlClasses.d.ts +14 -14
  73. package/FormControlLabel/FormControlLabel.d.ts +3 -3
  74. package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
  75. package/FormGroup/FormGroup.d.ts +2 -2
  76. package/FormGroup/formGroupClasses.d.ts +12 -12
  77. package/FormHelperText/FormHelperText.d.ts +1 -1
  78. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  79. package/FormLabel/FormLabel.d.ts +3 -3
  80. package/FormLabel/formLabelClasses.d.ts +22 -22
  81. package/Grid/gridClasses.d.ts +48 -48
  82. package/Hidden/HiddenJs.d.ts +1 -1
  83. package/Hidden/HiddenJs.js +20 -28
  84. package/Icon/Icon.d.ts +1 -1
  85. package/Icon/iconClasses.d.ts +24 -24
  86. package/IconButton/IconButton.d.ts +1 -1
  87. package/IconButton/iconButtonClasses.d.ts +26 -26
  88. package/ImageList/imageListClasses.d.ts +16 -16
  89. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  90. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  91. package/Input/Input.d.ts +1 -1
  92. package/Input/inputClasses.d.ts +34 -34
  93. package/InputAdornment/InputAdornment.d.ts +1 -1
  94. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  95. package/InputBase/InputBase.d.ts +1 -1
  96. package/InputBase/inputBaseClasses.d.ts +46 -46
  97. package/InputLabel/InputLabel.d.ts +1 -1
  98. package/InputLabel/inputLabelClasses.d.ts +32 -32
  99. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  100. package/Link/getTextDecoration.d.ts +15 -15
  101. package/Link/linkClasses.d.ts +18 -18
  102. package/List/listClasses.d.ts +14 -14
  103. package/ListItem/listItemClasses.d.ts +30 -30
  104. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  105. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  106. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  107. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  108. package/ListItemText/listItemTextClasses.d.ts +18 -18
  109. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  110. package/Menu/Menu.d.ts +1 -1
  111. package/Menu/menuClasses.d.ts +12 -12
  112. package/MenuItem/MenuItem.d.ts +1 -1
  113. package/MenuItem/menuItemClasses.d.ts +20 -20
  114. package/MenuList/MenuList.d.ts +1 -1
  115. package/MobileStepper/MobileStepper.d.ts +1 -1
  116. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  117. package/NativeSelect/NativeSelect.d.ts +1 -1
  118. package/NativeSelect/NativeSelect.js +17 -15
  119. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  120. package/OutlinedInput/OutlinedInput.d.ts +1 -1
  121. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  122. package/OverridableComponentAugmentation.d.ts +31 -31
  123. package/Pagination/paginationClasses.d.ts +14 -14
  124. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  125. package/Paper/Paper.d.ts +1 -1
  126. package/Paper/paperClasses.d.ts +39 -39
  127. package/Popover/Popover.d.ts +1 -1
  128. package/Popover/popoverClasses.d.ts +10 -10
  129. package/Popper/Popper.d.ts +24 -24
  130. package/Popper/Popper.js +1 -1
  131. package/README.md +1 -2
  132. package/Radio/Radio.d.ts +1 -1
  133. package/Radio/radioClasses.d.ts +16 -16
  134. package/RadioGroup/RadioGroup.d.ts +1 -1
  135. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  136. package/RadioGroup/useRadioGroup.d.ts +4 -4
  137. package/Rating/ratingClasses.d.ts +40 -40
  138. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +1 -1
  139. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  140. package/Select/Select.d.ts +1 -1
  141. package/Select/Select.js +38 -36
  142. package/Select/selectClasses.d.ts +30 -30
  143. package/Skeleton/skeletonClasses.d.ts +26 -26
  144. package/Slide/Slide.d.ts +1 -1
  145. package/Snackbar/Snackbar.d.ts +1 -1
  146. package/Snackbar/snackbarClasses.d.ts +20 -20
  147. package/SnackbarContent/SnackbarContent.d.ts +1 -1
  148. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  149. package/SpeedDial/speedDialClasses.d.ts +22 -22
  150. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  151. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  152. package/Step/Step.d.ts +55 -44
  153. package/Step/Step.js +11 -2
  154. package/Step/StepContext.d.ts +20 -20
  155. package/Step/stepClasses.d.ts +16 -16
  156. package/StepButton/StepButton.d.ts +1 -1
  157. package/StepButton/stepButtonClasses.d.ts +14 -14
  158. package/StepConnector/StepConnector.d.ts +1 -1
  159. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  160. package/StepContent/StepContent.d.ts +1 -1
  161. package/StepContent/stepContentClasses.d.ts +12 -12
  162. package/StepIcon/StepIcon.d.ts +1 -1
  163. package/StepIcon/stepIconClasses.d.ts +16 -16
  164. package/StepLabel/StepLabel.d.ts +1 -1
  165. package/StepLabel/stepLabelClasses.d.ts +28 -28
  166. package/Stepper/Stepper.d.ts +54 -43
  167. package/Stepper/Stepper.js +11 -2
  168. package/Stepper/StepperContext.d.ts +18 -18
  169. package/Stepper/stepperClasses.d.ts +14 -14
  170. package/SvgIcon/SvgIcon.d.ts +1 -1
  171. package/SvgIcon/svgIconClasses.d.ts +24 -24
  172. package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  173. package/Switch/Switch.d.ts +1 -1
  174. package/Switch/switchClasses.d.ts +32 -32
  175. package/Tab/tabClasses.d.ts +26 -26
  176. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  177. package/Table/Table.d.ts +1 -1
  178. package/Table/tableClasses.d.ts +10 -10
  179. package/TableBody/TableBody.d.ts +1 -1
  180. package/TableBody/tableBodyClasses.d.ts +8 -8
  181. package/TableCell/TableCell.d.ts +1 -1
  182. package/TableCell/tableCellClasses.d.ts +32 -32
  183. package/TableContainer/TableContainer.d.ts +1 -1
  184. package/TableContainer/tableContainerClasses.d.ts +8 -8
  185. package/TableFooter/TableFooter.d.ts +1 -1
  186. package/TableFooter/tableFooterClasses.d.ts +8 -8
  187. package/TableHead/TableHead.d.ts +1 -1
  188. package/TableHead/tableHeadClasses.d.ts +8 -8
  189. package/TablePagination/TablePagination.d.ts +1 -1
  190. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  191. package/TableRow/TableRow.d.ts +1 -1
  192. package/TableRow/tableRowClasses.d.ts +16 -16
  193. package/TableSortLabel/TableSortLabel.d.ts +1 -1
  194. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  195. package/Tabs/tabsClasses.d.ts +32 -32
  196. package/TextField/TextField.d.ts +1 -1
  197. package/TextField/textFieldClasses.d.ts +8 -8
  198. package/ToggleButton/ToggleButton.js +3 -1
  199. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  200. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  201. package/Toolbar/toolbarClasses.d.ts +14 -14
  202. package/Tooltip/Tooltip.d.ts +1 -1
  203. package/Tooltip/tooltipClasses.d.ts +30 -30
  204. package/Typography/typographyClasses.d.ts +50 -50
  205. package/Unstable_Grid2/Grid2.d.ts +4 -4
  206. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  207. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  208. package/Unstable_Grid2/index.d.ts +4 -4
  209. package/className/index.d.ts +1 -1
  210. package/darkScrollbar/index.d.ts +28 -28
  211. package/esm/AvatarGroup/AvatarGroup.js +10 -1
  212. package/esm/BottomNavigation/BottomNavigation.js +0 -0
  213. package/esm/Hidden/HiddenJs.js +19 -28
  214. package/esm/NativeSelect/NativeSelect.js +17 -15
  215. package/esm/Popper/Popper.js +1 -1
  216. package/esm/Select/Select.js +38 -36
  217. package/esm/Step/Step.js +11 -2
  218. package/esm/Stepper/Stepper.js +11 -2
  219. package/esm/ToggleButton/ToggleButton.js +3 -1
  220. package/index.js +1 -1
  221. package/internal/switchBaseClasses.d.ts +12 -12
  222. package/legacy/AvatarGroup/AvatarGroup.js +11 -1
  223. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  224. package/legacy/Hidden/HiddenJs.js +19 -28
  225. package/legacy/NativeSelect/NativeSelect.js +17 -15
  226. package/legacy/Popper/Popper.js +1 -1
  227. package/legacy/Select/Select.js +38 -36
  228. package/legacy/Step/Step.js +12 -2
  229. package/legacy/Stepper/Stepper.js +12 -2
  230. package/legacy/ToggleButton/ToggleButton.js +3 -1
  231. package/legacy/index.js +1 -1
  232. package/locale/index.d.ts +71 -71
  233. package/modern/AvatarGroup/AvatarGroup.js +10 -1
  234. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  235. package/modern/Hidden/HiddenJs.js +19 -28
  236. package/modern/NativeSelect/NativeSelect.js +17 -15
  237. package/modern/Popper/Popper.js +1 -1
  238. package/modern/Select/Select.js +38 -36
  239. package/modern/Step/Step.js +11 -2
  240. package/modern/Stepper/Stepper.js +11 -2
  241. package/modern/ToggleButton/ToggleButton.js +3 -1
  242. package/modern/index.js +1 -1
  243. package/package.json +4 -4
  244. package/styles/CssVarsProvider.d.ts +14 -14
  245. package/transitions/index.d.ts +1 -1
  246. package/transitions/transition.d.ts +13 -13
  247. package/transitions/utils.d.ts +23 -23
  248. package/umd/material-ui.development.js +112 -93
  249. package/umd/material-ui.production.min.js +20 -20
  250. package/useMediaQuery/useMediaQuery.d.ts +31 -31
  251. package/useTouchRipple/index.d.ts +1 -1
  252. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  253. package/utils/getScrollbarSize.d.ts +2 -2
  254. package/utils/ownerDocument.d.ts +2 -2
  255. package/utils/ownerWindow.d.ts +2 -2
  256. package/utils/setRef.d.ts +2 -2
@@ -1,40 +1,40 @@
1
- export interface RatingClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `size="small"`. */
5
- sizeSmall: string;
6
- /** Styles applied to the root element if `size="medium"`. */
7
- sizeMedium: string;
8
- /** Styles applied to the root element if `size="large"`. */
9
- sizeLarge: string;
10
- /** Styles applied to the root element if `readOnly={true}`. */
11
- readOnly: string;
12
- /** State class applied to the root element if `disabled={true}`. */
13
- disabled: string;
14
- /** State class applied to the root element if keyboard focused. */
15
- focusVisible: string;
16
- /** Visually hide an element. */
17
- visuallyHidden: string;
18
- /** Styles applied to the label elements. */
19
- label: string;
20
- /** Styles applied to the label of the "no value" input when it is active. */
21
- labelEmptyValueActive: string;
22
- /** Styles applied to the icon wrapping elements. */
23
- icon: string;
24
- /** Styles applied to the icon wrapping elements when empty. */
25
- iconEmpty: string;
26
- /** Styles applied to the icon wrapping elements when filled. */
27
- iconFilled: string;
28
- /** Styles applied to the icon wrapping elements when hover. */
29
- iconHover: string;
30
- /** Styles applied to the icon wrapping elements when focus. */
31
- iconFocus: string;
32
- /** Styles applied to the icon wrapping elements when active. */
33
- iconActive: string;
34
- /** Styles applied to the icon wrapping elements when decimals are necessary. */
35
- decimal: string;
36
- }
37
- export declare type RatingClassKey = keyof RatingClasses;
38
- export declare function getRatingUtilityClass(slot: string): string;
39
- declare const ratingClasses: RatingClasses;
40
- export default ratingClasses;
1
+ export interface RatingClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `size="small"`. */
5
+ sizeSmall: string;
6
+ /** Styles applied to the root element if `size="medium"`. */
7
+ sizeMedium: string;
8
+ /** Styles applied to the root element if `size="large"`. */
9
+ sizeLarge: string;
10
+ /** Styles applied to the root element if `readOnly={true}`. */
11
+ readOnly: string;
12
+ /** State class applied to the root element if `disabled={true}`. */
13
+ disabled: string;
14
+ /** State class applied to the root element if keyboard focused. */
15
+ focusVisible: string;
16
+ /** Visually hide an element. */
17
+ visuallyHidden: string;
18
+ /** Styles applied to the label elements. */
19
+ label: string;
20
+ /** Styles applied to the label of the "no value" input when it is active. */
21
+ labelEmptyValueActive: string;
22
+ /** Styles applied to the icon wrapping elements. */
23
+ icon: string;
24
+ /** Styles applied to the icon wrapping elements when empty. */
25
+ iconEmpty: string;
26
+ /** Styles applied to the icon wrapping elements when filled. */
27
+ iconFilled: string;
28
+ /** Styles applied to the icon wrapping elements when hover. */
29
+ iconHover: string;
30
+ /** Styles applied to the icon wrapping elements when focus. */
31
+ iconFocus: string;
32
+ /** Styles applied to the icon wrapping elements when active. */
33
+ iconActive: string;
34
+ /** Styles applied to the icon wrapping elements when decimals are necessary. */
35
+ decimal: string;
36
+ }
37
+ export declare type RatingClassKey = keyof RatingClasses;
38
+ export declare function getRatingUtilityClass(slot: string): string;
39
+ declare const ratingClasses: RatingClasses;
40
+ export default ratingClasses;
@@ -31,7 +31,7 @@ export interface ScopedCssBaselineTypeMap<P = {}, D extends React.ElementType =
31
31
  *
32
32
  * Demos:
33
33
  *
34
- * - [Css baseline](https://mui.com/material-ui/react-css-baseline/)
34
+ * - [CSS Baseline](https://mui.com/material-ui/react-css-baseline/)
35
35
  *
36
36
  * API:
37
37
  *
@@ -1,8 +1,8 @@
1
- export interface ScopedCssBaselineClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- }
5
- export declare type ScopedCssBaselineClassKey = keyof ScopedCssBaselineClasses;
6
- export declare function getScopedCssBaselineUtilityClass(slot: string): string;
7
- declare const scopedCssBaselineClasses: Record<"root", string>;
8
- export default scopedCssBaselineClasses;
1
+ export interface ScopedCssBaselineClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ }
5
+ export declare type ScopedCssBaselineClassKey = keyof ScopedCssBaselineClasses;
6
+ export declare function getScopedCssBaselineUtilityClass(slot: string): string;
7
+ declare const scopedCssBaselineClasses: Record<"root", string>;
8
+ export default scopedCssBaselineClasses;
@@ -156,7 +156,7 @@ export interface SelectProps<T = unknown>
156
156
  *
157
157
  * Demos:
158
158
  *
159
- * - [Selects](https://mui.com/material-ui/react-select/)
159
+ * - [Select](https://mui.com/material-ui/react-select/)
160
160
  *
161
161
  * API:
162
162
  *
package/Select/Select.js CHANGED
@@ -117,43 +117,45 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
117
117
  });
118
118
  const classes = useUtilityClasses(ownerState);
119
119
  const inputComponentRef = (0, _useForkRef.default)(ref, InputComponent.ref);
120
- return /*#__PURE__*/React.cloneElement(InputComponent, (0, _extends2.default)({
121
- // Most of the logic is implemented in `SelectInput`.
122
- // The `Select` component is a simple API wrapper to expose something better to play with.
123
- inputComponent,
124
- inputProps: (0, _extends2.default)({
125
- children,
126
- IconComponent,
127
- variant,
128
- type: undefined,
129
- // We render a select. We can ignore the type provided by the `Input`.
130
- multiple
131
- }, native ? {
132
- id
133
- } : {
134
- autoWidth,
135
- defaultOpen,
136
- displayEmpty,
137
- labelId,
138
- MenuProps,
139
- onClose,
140
- onOpen,
141
- open,
142
- renderValue,
143
- SelectDisplayProps: (0, _extends2.default)({
120
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(React.Fragment, {
121
+ children: /*#__PURE__*/React.cloneElement(InputComponent, (0, _extends2.default)({
122
+ // Most of the logic is implemented in `SelectInput`.
123
+ // The `Select` component is a simple API wrapper to expose something better to play with.
124
+ inputComponent,
125
+ inputProps: (0, _extends2.default)({
126
+ children,
127
+ IconComponent,
128
+ variant,
129
+ type: undefined,
130
+ // We render a select. We can ignore the type provided by the `Input`.
131
+ multiple
132
+ }, native ? {
144
133
  id
145
- }, SelectDisplayProps)
146
- }, inputProps, {
147
- classes: inputProps ? (0, _utils.deepmerge)(classes, inputProps.classes) : classes
148
- }, input ? input.props.inputProps : {})
149
- }, multiple && native && variant === 'outlined' ? {
150
- notched: true
151
- } : {}, {
152
- ref: inputComponentRef,
153
- className: (0, _clsx.default)(InputComponent.props.className, className)
154
- }, !input && {
155
- variant
156
- }, other));
134
+ } : {
135
+ autoWidth,
136
+ defaultOpen,
137
+ displayEmpty,
138
+ labelId,
139
+ MenuProps,
140
+ onClose,
141
+ onOpen,
142
+ open,
143
+ renderValue,
144
+ SelectDisplayProps: (0, _extends2.default)({
145
+ id
146
+ }, SelectDisplayProps)
147
+ }, inputProps, {
148
+ classes: inputProps ? (0, _utils.deepmerge)(classes, inputProps.classes) : classes
149
+ }, input ? input.props.inputProps : {})
150
+ }, multiple && native && variant === 'outlined' ? {
151
+ notched: true
152
+ } : {}, {
153
+ ref: inputComponentRef,
154
+ className: (0, _clsx.default)(InputComponent.props.className, className)
155
+ }, !input && {
156
+ variant
157
+ }, other))
158
+ });
157
159
  });
158
160
  process.env.NODE_ENV !== "production" ? Select.propTypes
159
161
  /* remove-proptypes */
@@ -1,30 +1,30 @@
1
- export interface SelectClasses {
2
- /** Styles applied to the select component `select` class. */
3
- select: string;
4
- /** Styles applied to the select component if `multiple={true}`. */
5
- multiple: string;
6
- /** Styles applied to the select component if `variant="filled"`. */
7
- filled: string;
8
- /** Styles applied to the select component if `variant="outlined"`. */
9
- outlined: string;
10
- /** Styles applied to the select component if `variant="standard"`. */
11
- standard: string;
12
- /** State class applied to the select component `disabled` class. */
13
- disabled: string;
14
- /** Styles applied to the icon component. */
15
- icon: string;
16
- /** Styles applied to the icon component if the popup is open. */
17
- iconOpen: string;
18
- /** Styles applied to the icon component if `variant="filled"`. */
19
- iconFilled: string;
20
- /** Styles applied to the icon component if `variant="outlined"`. */
21
- iconOutlined: string;
22
- /** Styles applied to the icon component if `variant="standard"`. */
23
- iconStandard: string;
24
- /** Styles applied to the underlying native input component. */
25
- nativeInput: string;
26
- }
27
- export declare type SelectClassKey = keyof SelectClasses;
28
- export declare function getSelectUtilityClasses(slot: string): string;
29
- declare const selectClasses: SelectClasses;
30
- export default selectClasses;
1
+ export interface SelectClasses {
2
+ /** Styles applied to the select component `select` class. */
3
+ select: string;
4
+ /** Styles applied to the select component if `multiple={true}`. */
5
+ multiple: string;
6
+ /** Styles applied to the select component if `variant="filled"`. */
7
+ filled: string;
8
+ /** Styles applied to the select component if `variant="outlined"`. */
9
+ outlined: string;
10
+ /** Styles applied to the select component if `variant="standard"`. */
11
+ standard: string;
12
+ /** State class applied to the select component `disabled` class. */
13
+ disabled: string;
14
+ /** Styles applied to the icon component. */
15
+ icon: string;
16
+ /** Styles applied to the icon component if the popup is open. */
17
+ iconOpen: string;
18
+ /** Styles applied to the icon component if `variant="filled"`. */
19
+ iconFilled: string;
20
+ /** Styles applied to the icon component if `variant="outlined"`. */
21
+ iconOutlined: string;
22
+ /** Styles applied to the icon component if `variant="standard"`. */
23
+ iconStandard: string;
24
+ /** Styles applied to the underlying native input component. */
25
+ nativeInput: string;
26
+ }
27
+ export declare type SelectClassKey = keyof SelectClasses;
28
+ export declare function getSelectUtilityClasses(slot: string): string;
29
+ declare const selectClasses: SelectClasses;
30
+ export default selectClasses;
@@ -1,26 +1,26 @@
1
- export interface SkeletonClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="text"`. */
5
- text: string;
6
- /** Styles applied to the root element if `variant="rectangular"`. */
7
- rectangular: string;
8
- /** Styles applied to the root element if `variant="rounded"`. */
9
- rounded: string;
10
- /** Styles applied to the root element if `variant="circular"`. */
11
- circular: string;
12
- /** Styles applied to the root element if `animation="pulse"`. */
13
- pulse: string;
14
- /** Styles applied to the root element if `animation="wave"`. */
15
- wave: string;
16
- /** Styles applied when the component is passed children. */
17
- withChildren: string;
18
- /** Styles applied when the component is passed children and no width. */
19
- fitContent: string;
20
- /** Styles applied when the component is passed children and no height. */
21
- heightAuto: string;
22
- }
23
- export declare type SkeletonClassKey = keyof SkeletonClasses;
24
- export declare function getSkeletonUtilityClass(slot: string): string;
25
- declare const skeletonClasses: SkeletonClasses;
26
- export default skeletonClasses;
1
+ export interface SkeletonClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="text"`. */
5
+ text: string;
6
+ /** Styles applied to the root element if `variant="rectangular"`. */
7
+ rectangular: string;
8
+ /** Styles applied to the root element if `variant="rounded"`. */
9
+ rounded: string;
10
+ /** Styles applied to the root element if `variant="circular"`. */
11
+ circular: string;
12
+ /** Styles applied to the root element if `animation="pulse"`. */
13
+ pulse: string;
14
+ /** Styles applied to the root element if `animation="wave"`. */
15
+ wave: string;
16
+ /** Styles applied when the component is passed children. */
17
+ withChildren: string;
18
+ /** Styles applied when the component is passed children and no width. */
19
+ fitContent: string;
20
+ /** Styles applied when the component is passed children and no height. */
21
+ heightAuto: string;
22
+ }
23
+ export declare type SkeletonClassKey = keyof SkeletonClasses;
24
+ export declare function getSkeletonUtilityClass(slot: string): string;
25
+ declare const skeletonClasses: SkeletonClasses;
26
+ export default skeletonClasses;
package/Slide/Slide.d.ts CHANGED
@@ -53,7 +53,7 @@ export interface SlideProps extends TransitionProps {
53
53
  *
54
54
  * Demos:
55
55
  *
56
- * - [Dialogs](https://mui.com/material-ui/react-dialog/)
56
+ * - [Dialog](https://mui.com/material-ui/react-dialog/)
57
57
  * - [Transitions](https://mui.com/material-ui/transitions/)
58
58
  *
59
59
  * API:
@@ -121,7 +121,7 @@ export interface SnackbarProps extends StandardProps<React.HTMLAttributes<HTMLDi
121
121
  *
122
122
  * Demos:
123
123
  *
124
- * - [Snackbars](https://mui.com/material-ui/react-snackbar/)
124
+ * - [Snackbar](https://mui.com/material-ui/react-snackbar/)
125
125
  *
126
126
  * API:
127
127
  *
@@ -1,20 +1,20 @@
1
- export interface SnackbarClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `anchorOrigin={{ 'top', 'center' }}`. */
5
- anchorOriginTopCenter: string;
6
- /** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'center' }}`. */
7
- anchorOriginBottomCenter: string;
8
- /** Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }}`. */
9
- anchorOriginTopRight: string;
10
- /** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }}`. */
11
- anchorOriginBottomRight: string;
12
- /** Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }}`. */
13
- anchorOriginTopLeft: string;
14
- /** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }}`. */
15
- anchorOriginBottomLeft: string;
16
- }
17
- export declare type SnackbarClassKey = keyof SnackbarClasses;
18
- export declare function getSnackbarUtilityClass(slot: string): string;
19
- declare const snackbarClasses: SnackbarClasses;
20
- export default snackbarClasses;
1
+ export interface SnackbarClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `anchorOrigin={{ 'top', 'center' }}`. */
5
+ anchorOriginTopCenter: string;
6
+ /** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'center' }}`. */
7
+ anchorOriginBottomCenter: string;
8
+ /** Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }}`. */
9
+ anchorOriginTopRight: string;
10
+ /** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }}`. */
11
+ anchorOriginBottomRight: string;
12
+ /** Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }}`. */
13
+ anchorOriginTopLeft: string;
14
+ /** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }}`. */
15
+ anchorOriginBottomLeft: string;
16
+ }
17
+ export declare type SnackbarClassKey = keyof SnackbarClasses;
18
+ export declare function getSnackbarUtilityClass(slot: string): string;
19
+ declare const snackbarClasses: SnackbarClasses;
20
+ export default snackbarClasses;
@@ -33,7 +33,7 @@ export interface SnackbarContentProps extends StandardProps<PaperProps, 'childre
33
33
  *
34
34
  * Demos:
35
35
  *
36
- * - [Snackbars](https://mui.com/material-ui/react-snackbar/)
36
+ * - [Snackbar](https://mui.com/material-ui/react-snackbar/)
37
37
  *
38
38
  * API:
39
39
  *
@@ -1,12 +1,12 @@
1
- export interface SnackbarContentClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the message wrapper element. */
5
- message: string;
6
- /** Styles applied to the action wrapper element if `action` is provided. */
7
- action: string;
8
- }
9
- export declare type SnackbarContentClassKey = keyof SnackbarContentClasses;
10
- export declare function getSnackbarContentUtilityClass(slot: string): string;
11
- declare const snackbarContentClasses: SnackbarContentClasses;
12
- export default snackbarContentClasses;
1
+ export interface SnackbarContentClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the message wrapper element. */
5
+ message: string;
6
+ /** Styles applied to the action wrapper element if `action` is provided. */
7
+ action: string;
8
+ }
9
+ export declare type SnackbarContentClassKey = keyof SnackbarContentClasses;
10
+ export declare function getSnackbarContentUtilityClass(slot: string): string;
11
+ declare const snackbarContentClasses: SnackbarContentClasses;
12
+ export default snackbarContentClasses;
@@ -1,22 +1,22 @@
1
- export interface SpeedDialClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the Fab component. */
5
- fab: string;
6
- /** Styles applied to the root element if direction="up" */
7
- directionUp: string;
8
- /** Styles applied to the root element if direction="down" */
9
- directionDown: string;
10
- /** Styles applied to the root element if direction="left" */
11
- directionLeft: string;
12
- /** Styles applied to the root element if direction="right" */
13
- directionRight: string;
14
- /** Styles applied to the actions (`children` wrapper) element. */
15
- actions: string;
16
- /** Styles applied to the actions (`children` wrapper) element if `open={false}`. */
17
- actionsClosed: string;
18
- }
19
- export declare type SpeedDialClassKey = keyof SpeedDialClasses;
20
- export declare function getSpeedDialUtilityClass(slot: string): string;
21
- declare const speedDialClasses: SpeedDialClasses;
22
- export default speedDialClasses;
1
+ export interface SpeedDialClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the Fab component. */
5
+ fab: string;
6
+ /** Styles applied to the root element if direction="up" */
7
+ directionUp: string;
8
+ /** Styles applied to the root element if direction="down" */
9
+ directionDown: string;
10
+ /** Styles applied to the root element if direction="left" */
11
+ directionLeft: string;
12
+ /** Styles applied to the root element if direction="right" */
13
+ directionRight: string;
14
+ /** Styles applied to the actions (`children` wrapper) element. */
15
+ actions: string;
16
+ /** Styles applied to the actions (`children` wrapper) element if `open={false}`. */
17
+ actionsClosed: string;
18
+ }
19
+ export declare type SpeedDialClassKey = keyof SpeedDialClasses;
20
+ export declare function getSpeedDialUtilityClass(slot: string): string;
21
+ declare const speedDialClasses: SpeedDialClasses;
22
+ export default speedDialClasses;
@@ -1,20 +1,20 @@
1
- export interface SpeedDialActionClasses {
2
- /** Styles applied to the Fab component. */
3
- fab: string;
4
- /** Styles applied to the Fab component if `open={false}`. */
5
- fabClosed: string;
6
- /** Styles applied to the root element if `tooltipOpen={true}`. */
7
- staticTooltip: string;
8
- /** Styles applied to the root element if `tooltipOpen={true}` and `open={false}`. */
9
- staticTooltipClosed: string;
10
- /** Styles applied to the static tooltip label if `tooltipOpen={true}`. */
11
- staticTooltipLabel: string;
12
- /** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="left"`` */
13
- tooltipPlacementLeft: string;
14
- /** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="right"`` */
15
- tooltipPlacementRight: string;
16
- }
17
- export declare type SpeedDialActionClassKey = keyof SpeedDialActionClasses;
18
- export declare function getSpeedDialActionUtilityClass(slot: string): string;
19
- declare const speedDialActionClasses: SpeedDialActionClasses;
20
- export default speedDialActionClasses;
1
+ export interface SpeedDialActionClasses {
2
+ /** Styles applied to the Fab component. */
3
+ fab: string;
4
+ /** Styles applied to the Fab component if `open={false}`. */
5
+ fabClosed: string;
6
+ /** Styles applied to the root element if `tooltipOpen={true}`. */
7
+ staticTooltip: string;
8
+ /** Styles applied to the root element if `tooltipOpen={true}` and `open={false}`. */
9
+ staticTooltipClosed: string;
10
+ /** Styles applied to the static tooltip label if `tooltipOpen={true}`. */
11
+ staticTooltipLabel: string;
12
+ /** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="left"`` */
13
+ tooltipPlacementLeft: string;
14
+ /** Styles applied to the root element if `tooltipOpen={true}` and `tooltipPlacement="right"`` */
15
+ tooltipPlacementRight: string;
16
+ }
17
+ export declare type SpeedDialActionClassKey = keyof SpeedDialActionClasses;
18
+ export declare function getSpeedDialActionUtilityClass(slot: string): string;
19
+ declare const speedDialActionClasses: SpeedDialActionClasses;
20
+ export default speedDialActionClasses;
@@ -1,18 +1,18 @@
1
- export interface SpeedDialIconClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the icon component. */
5
- icon: string;
6
- /** Styles applied to the icon component if `open={true}`. */
7
- iconOpen: string;
8
- /** Styles applied to the icon when an `openIcon` is provided and if `open={true}`. */
9
- iconWithOpenIconOpen: string;
10
- /** Styles applied to the `openIcon` if provided. */
11
- openIcon: string;
12
- /** Styles applied to the `openIcon` if provided and if `open={true}`. */
13
- openIconOpen: string;
14
- }
15
- export declare type SpeedDialIconClassKey = keyof SpeedDialIconClasses;
16
- export declare function getSpeedDialIconUtilityClass(slot: string): string;
17
- declare const speedDialIconClasses: SpeedDialIconClasses;
18
- export default speedDialIconClasses;
1
+ export interface SpeedDialIconClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the icon component. */
5
+ icon: string;
6
+ /** Styles applied to the icon component if `open={true}`. */
7
+ iconOpen: string;
8
+ /** Styles applied to the icon when an `openIcon` is provided and if `open={true}`. */
9
+ iconWithOpenIconOpen: string;
10
+ /** Styles applied to the `openIcon` if provided. */
11
+ openIcon: string;
12
+ /** Styles applied to the `openIcon` if provided and if `open={true}`. */
13
+ openIconOpen: string;
14
+ }
15
+ export declare type SpeedDialIconClassKey = keyof SpeedDialIconClasses;
16
+ export declare function getSpeedDialIconUtilityClass(slot: string): string;
17
+ declare const speedDialIconClasses: SpeedDialIconClasses;
18
+ export default speedDialIconClasses;