@mui/material 5.13.2 → 5.13.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 (198) 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/Autocomplete.d.ts +1 -0
  9. package/Autocomplete/Autocomplete.js +14 -2
  10. package/Autocomplete/autocompleteClasses.d.ts +58 -56
  11. package/Avatar/avatarClasses.d.ts +20 -20
  12. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  13. package/Backdrop/backdropClasses.d.ts +10 -10
  14. package/Badge/badgeClasses.d.ts +56 -56
  15. package/BottomNavigation/BottomNavigation.js +0 -0
  16. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  17. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  18. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  19. package/Button/buttonClasses.d.ts +100 -100
  20. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  21. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  22. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  23. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  24. package/CHANGELOG.md +97 -0
  25. package/Card/cardClasses.d.ts +8 -8
  26. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  27. package/CardActions/cardActionsClasses.d.ts +10 -10
  28. package/CardContent/cardContentClasses.d.ts +8 -8
  29. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  30. package/CardMedia/cardMediaClasses.d.ts +12 -12
  31. package/Checkbox/checkboxClasses.d.ts +18 -18
  32. package/Chip/chipClasses.d.ts +96 -96
  33. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  34. package/ClickAwayListener/index.d.ts +2 -2
  35. package/Collapse/collapseClasses.d.ts +18 -18
  36. package/Container/containerClasses.d.ts +6 -6
  37. package/Dialog/DialogContext.d.ts +6 -6
  38. package/Dialog/dialogClasses.d.ts +36 -36
  39. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  40. package/DialogContent/dialogContentClasses.d.ts +10 -10
  41. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  42. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  43. package/Divider/dividerClasses.d.ts +34 -34
  44. package/Drawer/drawerClasses.d.ts +30 -30
  45. package/Fab/fabClasses.d.ts +26 -26
  46. package/FilledInput/filledInputClasses.d.ts +42 -42
  47. package/FormControl/FormControlContext.d.ts +17 -17
  48. package/FormControl/formControlClasses.d.ts +14 -14
  49. package/FormControl/useFormControl.d.ts +2 -2
  50. package/FormControlLabel/formControlLabelClasses.d.ts +24 -24
  51. package/FormGroup/formGroupClasses.d.ts +12 -12
  52. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  53. package/FormLabel/formLabelClasses.d.ts +22 -22
  54. package/Grid/gridClasses.d.ts +48 -48
  55. package/Hidden/Hidden.js +10 -10
  56. package/Hidden/withWidth.js +1 -1
  57. package/Icon/iconClasses.d.ts +24 -24
  58. package/IconButton/iconButtonClasses.d.ts +34 -34
  59. package/ImageList/imageListClasses.d.ts +16 -16
  60. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  61. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  62. package/Input/inputClasses.d.ts +38 -38
  63. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  64. package/InputBase/inputBaseClasses.d.ts +46 -46
  65. package/InputLabel/inputLabelClasses.d.ts +32 -32
  66. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  67. package/Link/getTextDecoration.d.ts +15 -15
  68. package/Link/linkClasses.d.ts +18 -18
  69. package/List/listClasses.d.ts +14 -14
  70. package/ListItem/listItemClasses.d.ts +30 -30
  71. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  72. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  73. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  74. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  75. package/ListItemText/listItemTextClasses.d.ts +18 -18
  76. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  77. package/Menu/Menu.d.ts +3 -0
  78. package/Menu/Menu.js +11 -9
  79. package/Menu/menuClasses.d.ts +12 -12
  80. package/MenuItem/menuItemClasses.d.ts +20 -20
  81. package/MenuList/MenuList.js +7 -0
  82. package/MobileStepper/MobileStepper.js +9 -1
  83. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  84. package/Modal/Modal.js +1 -1
  85. package/NativeSelect/nativeSelectClasses.d.ts +34 -34
  86. package/OutlinedInput/outlinedInputClasses.d.ts +38 -38
  87. package/Pagination/paginationClasses.d.ts +14 -14
  88. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  89. package/Paper/paperClasses.d.ts +39 -39
  90. package/Popover/Popover.d.ts +34 -3
  91. package/Popover/Popover.js +76 -28
  92. package/Popover/popoverClasses.d.ts +10 -10
  93. package/Popper/Popper.d.ts +65 -65
  94. package/Radio/radioClasses.d.ts +16 -16
  95. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  96. package/RadioGroup/useRadioGroup.d.ts +4 -4
  97. package/Rating/ratingClasses.d.ts +40 -40
  98. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  99. package/Select/selectClasses.d.ts +32 -32
  100. package/Skeleton/skeletonClasses.d.ts +26 -26
  101. package/Slider/SliderValueLabel.d.ts +15 -15
  102. package/Slider/SliderValueLabel.types.d.ts +24 -24
  103. package/Slider/sliderClasses.d.ts +58 -58
  104. package/Snackbar/snackbarClasses.d.ts +20 -20
  105. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  106. package/SpeedDial/speedDialClasses.d.ts +22 -22
  107. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  108. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  109. package/Stack/stackClasses.d.ts +6 -6
  110. package/Step/StepContext.d.ts +20 -20
  111. package/Step/stepClasses.d.ts +16 -16
  112. package/StepButton/stepButtonClasses.d.ts +14 -14
  113. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  114. package/StepContent/stepContentClasses.d.ts +12 -12
  115. package/StepIcon/stepIconClasses.d.ts +16 -16
  116. package/StepLabel/stepLabelClasses.d.ts +28 -28
  117. package/Stepper/StepperContext.d.ts +18 -18
  118. package/Stepper/stepperClasses.d.ts +14 -14
  119. package/SvgIcon/svgIconClasses.d.ts +26 -26
  120. package/Switch/switchClasses.d.ts +32 -32
  121. package/Tab/tabClasses.d.ts +26 -26
  122. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  123. package/Table/tableClasses.d.ts +10 -10
  124. package/TableBody/tableBodyClasses.d.ts +8 -8
  125. package/TableCell/tableCellClasses.d.ts +32 -32
  126. package/TableContainer/tableContainerClasses.d.ts +8 -8
  127. package/TableFooter/tableFooterClasses.d.ts +8 -8
  128. package/TableHead/tableHeadClasses.d.ts +8 -8
  129. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  130. package/TableRow/tableRowClasses.d.ts +16 -16
  131. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  132. package/Tabs/tabsClasses.d.ts +32 -32
  133. package/TextField/textFieldClasses.d.ts +8 -8
  134. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  135. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  136. package/Toolbar/toolbarClasses.d.ts +14 -14
  137. package/Tooltip/tooltipClasses.d.ts +30 -30
  138. package/Typography/typographyClasses.d.ts +50 -50
  139. package/Unstable_Grid2/Grid2.d.ts +4 -4
  140. package/Unstable_Grid2/Grid2Props.d.ts +15 -15
  141. package/Unstable_Grid2/grid2Classes.d.ts +5 -5
  142. package/Unstable_Grid2/index.d.ts +4 -4
  143. package/className/index.d.ts +1 -1
  144. package/darkScrollbar/index.d.ts +28 -28
  145. package/generateUtilityClass/index.d.ts +2 -2
  146. package/generateUtilityClasses/index.d.ts +1 -1
  147. package/index.js +1 -1
  148. package/internal/switchBaseClasses.d.ts +12 -12
  149. package/legacy/Autocomplete/Autocomplete.js +12 -2
  150. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  151. package/legacy/Hidden/Hidden.js +10 -10
  152. package/legacy/Hidden/withWidth.js +1 -1
  153. package/legacy/Menu/Menu.js +11 -9
  154. package/legacy/MenuList/MenuList.js +7 -0
  155. package/legacy/MobileStepper/MobileStepper.js +9 -1
  156. package/legacy/Modal/Modal.js +1 -1
  157. package/legacy/Popover/Popover.js +73 -28
  158. package/legacy/index.js +1 -1
  159. package/locale/index.d.ts +80 -80
  160. package/modern/Autocomplete/Autocomplete.js +14 -2
  161. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  162. package/modern/Hidden/Hidden.js +10 -10
  163. package/modern/Hidden/withWidth.js +1 -1
  164. package/modern/Menu/Menu.js +11 -9
  165. package/modern/MenuList/MenuList.js +7 -0
  166. package/modern/MobileStepper/MobileStepper.js +9 -1
  167. package/modern/Modal/Modal.js +1 -1
  168. package/modern/Popover/Popover.js +75 -28
  169. package/modern/index.js +1 -1
  170. package/node/Autocomplete/Autocomplete.js +14 -2
  171. package/node/BottomNavigation/BottomNavigation.js +0 -0
  172. package/node/Hidden/Hidden.js +10 -10
  173. package/node/Hidden/withWidth.js +1 -1
  174. package/node/Menu/Menu.js +13 -10
  175. package/node/MenuList/MenuList.js +7 -0
  176. package/node/MobileStepper/MobileStepper.js +9 -1
  177. package/node/Modal/Modal.js +1 -1
  178. package/node/Popover/Popover.js +75 -25
  179. package/node/index.js +1 -1
  180. package/package.json +3 -3
  181. package/styles/CssVarsProvider.d.ts +20 -20
  182. package/styles/excludeVariablesFromRoot.d.ts +5 -5
  183. package/styles/getOverlayAlpha.d.ts +2 -2
  184. package/styles/identifier.d.ts +2 -2
  185. package/styles/shouldSkipGeneratingVar.d.ts +1 -1
  186. package/transitions/index.d.ts +1 -1
  187. package/transitions/transition.d.ts +13 -13
  188. package/transitions/utils.d.ts +23 -23
  189. package/types/OverridableComponentAugmentation.d.ts +31 -31
  190. package/umd/material-ui.development.js +140 -243
  191. package/umd/material-ui.production.min.js +16 -16
  192. package/useMediaQuery/useMediaQuery.d.ts +46 -46
  193. package/useTouchRipple/index.d.ts +1 -1
  194. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  195. package/utils/getScrollbarSize.d.ts +2 -2
  196. package/utils/ownerDocument.d.ts +2 -2
  197. package/utils/ownerWindow.d.ts +2 -2
  198. package/utils/setRef.d.ts +2 -2
@@ -1,22 +1,22 @@
1
- export interface FormLabelClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if the color is secondary. */
5
- colorSecondary: string;
6
- /** State class applied to the root element if `focused={true}`. */
7
- focused: string;
8
- /** State class applied to the root element if `disabled={true}`. */
9
- disabled: string;
10
- /** State class applied to the root element if `error={true}`. */
11
- error: string;
12
- /** State class applied to the root element if `filled={true}`. */
13
- filled: string;
14
- /** State class applied to the root element if `required={true}`. */
15
- required: string;
16
- /** Styles applied to the asterisk element. */
17
- asterisk: string;
18
- }
19
- export type FormLabelClassKey = keyof FormLabelClasses;
20
- export declare function getFormLabelUtilityClasses(slot: string): string;
21
- declare const formLabelClasses: FormLabelClasses;
22
- export default formLabelClasses;
1
+ export interface FormLabelClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if the color is secondary. */
5
+ colorSecondary: string;
6
+ /** State class applied to the root element if `focused={true}`. */
7
+ focused: string;
8
+ /** State class applied to the root element if `disabled={true}`. */
9
+ disabled: string;
10
+ /** State class applied to the root element if `error={true}`. */
11
+ error: string;
12
+ /** State class applied to the root element if `filled={true}`. */
13
+ filled: string;
14
+ /** State class applied to the root element if `required={true}`. */
15
+ required: string;
16
+ /** Styles applied to the asterisk element. */
17
+ asterisk: string;
18
+ }
19
+ export type FormLabelClassKey = keyof FormLabelClasses;
20
+ export declare function getFormLabelUtilityClasses(slot: string): string;
21
+ declare const formLabelClasses: FormLabelClasses;
22
+ export default formLabelClasses;
@@ -1,48 +1,48 @@
1
- export interface GridClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `container={true}`. */
5
- container: string;
6
- /** Styles applied to the root element if `item={true}`. */
7
- item: string;
8
- /** Styles applied to the root element if `zeroMinWidth={true}`. */
9
- zeroMinWidth: string;
10
- /** Styles applied to the root element if `direction="column"`. */
11
- 'direction-xs-column': string;
12
- /** Styles applied to the root element if `direction="column-reverse"`. */
13
- 'direction-xs-column-reverse': string;
14
- /** Styles applied to the root element if `direction="row-reverse"`. */
15
- 'direction-xs-row-reverse': string;
16
- /** Styles applied to the root element if `wrap="nowrap"`. */
17
- 'wrap-xs-nowrap': string;
18
- /** Styles applied to the root element if `wrap="reverse"`. */
19
- 'wrap-xs-wrap-reverse': string;
20
- 'spacing-xs-1': string;
21
- 'spacing-xs-2': string;
22
- 'spacing-xs-3': string;
23
- 'spacing-xs-4': string;
24
- 'spacing-xs-5': string;
25
- 'spacing-xs-6': string;
26
- 'spacing-xs-7': string;
27
- 'spacing-xs-8': string;
28
- 'spacing-xs-9': string;
29
- 'spacing-xs-10': string;
30
- 'grid-xs-auto': string;
31
- 'grid-xs-true': string;
32
- 'grid-xs-1': string;
33
- 'grid-xs-2': string;
34
- 'grid-xs-3': string;
35
- 'grid-xs-4': string;
36
- 'grid-xs-5': string;
37
- 'grid-xs-6': string;
38
- 'grid-xs-7': string;
39
- 'grid-xs-8': string;
40
- 'grid-xs-9': string;
41
- 'grid-xs-10': string;
42
- 'grid-xs-11': string;
43
- 'grid-xs-12': string;
44
- }
45
- export type GridClassKey = keyof GridClasses;
46
- export declare function getGridUtilityClass(slot: string): string;
47
- declare const gridClasses: GridClasses;
48
- export default gridClasses;
1
+ export interface GridClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `container={true}`. */
5
+ container: string;
6
+ /** Styles applied to the root element if `item={true}`. */
7
+ item: string;
8
+ /** Styles applied to the root element if `zeroMinWidth={true}`. */
9
+ zeroMinWidth: string;
10
+ /** Styles applied to the root element if `direction="column"`. */
11
+ 'direction-xs-column': string;
12
+ /** Styles applied to the root element if `direction="column-reverse"`. */
13
+ 'direction-xs-column-reverse': string;
14
+ /** Styles applied to the root element if `direction="row-reverse"`. */
15
+ 'direction-xs-row-reverse': string;
16
+ /** Styles applied to the root element if `wrap="nowrap"`. */
17
+ 'wrap-xs-nowrap': string;
18
+ /** Styles applied to the root element if `wrap="reverse"`. */
19
+ 'wrap-xs-wrap-reverse': string;
20
+ 'spacing-xs-1': string;
21
+ 'spacing-xs-2': string;
22
+ 'spacing-xs-3': string;
23
+ 'spacing-xs-4': string;
24
+ 'spacing-xs-5': string;
25
+ 'spacing-xs-6': string;
26
+ 'spacing-xs-7': string;
27
+ 'spacing-xs-8': string;
28
+ 'spacing-xs-9': string;
29
+ 'spacing-xs-10': string;
30
+ 'grid-xs-auto': string;
31
+ 'grid-xs-true': string;
32
+ 'grid-xs-1': string;
33
+ 'grid-xs-2': string;
34
+ 'grid-xs-3': string;
35
+ 'grid-xs-4': string;
36
+ 'grid-xs-5': string;
37
+ 'grid-xs-6': string;
38
+ 'grid-xs-7': string;
39
+ 'grid-xs-8': string;
40
+ 'grid-xs-9': string;
41
+ 'grid-xs-10': string;
42
+ 'grid-xs-11': string;
43
+ 'grid-xs-12': string;
44
+ }
45
+ export type GridClassKey = keyof GridClasses;
46
+ export declare function getGridUtilityClass(slot: string): string;
47
+ declare const gridClasses: GridClasses;
48
+ export default gridClasses;
package/Hidden/Hidden.js CHANGED
@@ -80,22 +80,22 @@ process.env.NODE_ENV !== "production" ? Hidden.propTypes /* remove-proptypes */
80
80
  */
81
81
  initialWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),
82
82
  /**
83
- * If `true`, screens this size and down are hidden.
83
+ * If `true`, component is hidden on screens below (but not including) this size.
84
84
  * @default false
85
85
  */
86
86
  lgDown: PropTypes.bool,
87
87
  /**
88
- * If `true`, screens this size and up are hidden.
88
+ * If `true`, component is hidden on screens this size and above.
89
89
  * @default false
90
90
  */
91
91
  lgUp: PropTypes.bool,
92
92
  /**
93
- * If `true`, screens this size and down are hidden.
93
+ * If `true`, component is hidden on screens below (but not including) this size.
94
94
  * @default false
95
95
  */
96
96
  mdDown: PropTypes.bool,
97
97
  /**
98
- * If `true`, screens this size and up are hidden.
98
+ * If `true`, component is hidden on screens this size and above.
99
99
  * @default false
100
100
  */
101
101
  mdUp: PropTypes.bool,
@@ -104,32 +104,32 @@ process.env.NODE_ENV !== "production" ? Hidden.propTypes /* remove-proptypes */
104
104
  */
105
105
  only: PropTypes.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']), PropTypes.arrayOf(PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']).isRequired)]),
106
106
  /**
107
- * If `true`, screens this size and down are hidden.
107
+ * If `true`, component is hidden on screens below (but not including) this size.
108
108
  * @default false
109
109
  */
110
110
  smDown: PropTypes.bool,
111
111
  /**
112
- * If `true`, screens this size and up are hidden.
112
+ * If `true`, component is hidden on screens this size and above.
113
113
  * @default false
114
114
  */
115
115
  smUp: PropTypes.bool,
116
116
  /**
117
- * If `true`, screens this size and down are hidden.
117
+ * If `true`, component is hidden on screens below (but not including) this size.
118
118
  * @default false
119
119
  */
120
120
  xlDown: PropTypes.bool,
121
121
  /**
122
- * If `true`, screens this size and up are hidden.
122
+ * If `true`, component is hidden on screens this size and above.
123
123
  * @default false
124
124
  */
125
125
  xlUp: PropTypes.bool,
126
126
  /**
127
- * If `true`, screens this size and down are hidden.
127
+ * If `true`, component is hidden on screens below (but not including) this size.
128
128
  * @default false
129
129
  */
130
130
  xsDown: PropTypes.bool,
131
131
  /**
132
- * If `true`, screens this size and up are hidden.
132
+ * If `true`, component is hidden on screens this size and above.
133
133
  * @default false
134
134
  */
135
135
  xsUp: PropTypes.bool
@@ -19,7 +19,7 @@ export const isWidthUp = (breakpoint, width, inclusive = true) => {
19
19
  return breakpointKeys.indexOf(breakpoint) < breakpointKeys.indexOf(width);
20
20
  };
21
21
 
22
- // By default, returns true if screen width is the same or less than the given breakpoint.
22
+ // By default, returns true if screen width is less than the given breakpoint.
23
23
  export const isWidthDown = (breakpoint, width, inclusive = false) => {
24
24
  if (inclusive) {
25
25
  return breakpointKeys.indexOf(width) <= breakpointKeys.indexOf(breakpoint);
@@ -1,24 +1,24 @@
1
- export interface IconClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `color="primary"`. */
5
- colorPrimary: string;
6
- /** Styles applied to the root element if `color="secondary"`. */
7
- colorSecondary: string;
8
- /** Styles applied to the root element if `color="action"`. */
9
- colorAction: string;
10
- /** Styles applied to the root element if `color="error"`. */
11
- colorError: string;
12
- /** Styles applied to the root element if `color="disabled"`. */
13
- colorDisabled: string;
14
- /** Styles applied to the root element if `fontSize="inherit"`. */
15
- fontSizeInherit: string;
16
- /** Styles applied to the root element if `fontSize="small"`. */
17
- fontSizeSmall: string;
18
- /** Styles applied to the root element if `fontSize="large"`. */
19
- fontSizeLarge: string;
20
- }
21
- export type IconClassKey = keyof IconClasses;
22
- export declare function getIconUtilityClass(slot: string): string;
23
- declare const iconClasses: IconClasses;
24
- export default iconClasses;
1
+ export interface IconClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `color="primary"`. */
5
+ colorPrimary: string;
6
+ /** Styles applied to the root element if `color="secondary"`. */
7
+ colorSecondary: string;
8
+ /** Styles applied to the root element if `color="action"`. */
9
+ colorAction: string;
10
+ /** Styles applied to the root element if `color="error"`. */
11
+ colorError: string;
12
+ /** Styles applied to the root element if `color="disabled"`. */
13
+ colorDisabled: string;
14
+ /** Styles applied to the root element if `fontSize="inherit"`. */
15
+ fontSizeInherit: string;
16
+ /** Styles applied to the root element if `fontSize="small"`. */
17
+ fontSizeSmall: string;
18
+ /** Styles applied to the root element if `fontSize="large"`. */
19
+ fontSizeLarge: string;
20
+ }
21
+ export type IconClassKey = keyof IconClasses;
22
+ export declare function getIconUtilityClass(slot: string): string;
23
+ declare const iconClasses: IconClasses;
24
+ export default iconClasses;
@@ -1,34 +1,34 @@
1
- export interface IconButtonClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `edge="start"`. */
5
- edgeStart: string;
6
- /** Styles applied to the root element if `edge="end"`. */
7
- edgeEnd: string;
8
- /** Styles applied to the root element if `color="inherit"`. */
9
- colorInherit: string;
10
- /** Styles applied to the root element if `color="primary"`. */
11
- colorPrimary: string;
12
- /** Styles applied to the root element if `color="secondary"`. */
13
- colorSecondary: string;
14
- /** Styles applied to the root element if `color="error"`. */
15
- colorError: string;
16
- /** Styles applied to the root element if `color="info"`. */
17
- colorInfo: string;
18
- /** Styles applied to the root element if `color="success"`. */
19
- colorSuccess: string;
20
- /** Styles applied to the root element if `color="warning"`. */
21
- colorWarning: string;
22
- /** State class applied to the root element if `disabled={true}`. */
23
- disabled: string;
24
- /** Styles applied to the root element if `size="small"`. */
25
- sizeSmall: string;
26
- /** Styles applied to the root element if `size="medium"`. */
27
- sizeMedium: string;
28
- /** Styles applied to the root element if `size="large"`. */
29
- sizeLarge: string;
30
- }
31
- export type IconButtonClassKey = keyof IconButtonClasses;
32
- export declare function getIconButtonUtilityClass(slot: string): string;
33
- declare const iconButtonClasses: IconButtonClasses;
34
- export default iconButtonClasses;
1
+ export interface IconButtonClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `edge="start"`. */
5
+ edgeStart: string;
6
+ /** Styles applied to the root element if `edge="end"`. */
7
+ edgeEnd: string;
8
+ /** Styles applied to the root element if `color="inherit"`. */
9
+ colorInherit: string;
10
+ /** Styles applied to the root element if `color="primary"`. */
11
+ colorPrimary: string;
12
+ /** Styles applied to the root element if `color="secondary"`. */
13
+ colorSecondary: string;
14
+ /** Styles applied to the root element if `color="error"`. */
15
+ colorError: string;
16
+ /** Styles applied to the root element if `color="info"`. */
17
+ colorInfo: string;
18
+ /** Styles applied to the root element if `color="success"`. */
19
+ colorSuccess: string;
20
+ /** Styles applied to the root element if `color="warning"`. */
21
+ colorWarning: string;
22
+ /** State class applied to the root element if `disabled={true}`. */
23
+ disabled: string;
24
+ /** Styles applied to the root element if `size="small"`. */
25
+ sizeSmall: string;
26
+ /** Styles applied to the root element if `size="medium"`. */
27
+ sizeMedium: string;
28
+ /** Styles applied to the root element if `size="large"`. */
29
+ sizeLarge: string;
30
+ }
31
+ export type IconButtonClassKey = keyof IconButtonClasses;
32
+ export declare function getIconButtonUtilityClass(slot: string): string;
33
+ declare const iconButtonClasses: IconButtonClasses;
34
+ export default iconButtonClasses;
@@ -1,16 +1,16 @@
1
- export interface ImageListClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `variant="masonry"`. */
5
- masonry: string;
6
- /** Styles applied to the root element if `variant="quilted"`. */
7
- quilted: string;
8
- /** Styles applied to the root element if `variant="standard"`. */
9
- standard: string;
10
- /** Styles applied to the root element if `variant="woven"`. */
11
- woven: string;
12
- }
13
- export type ImageListClassKey = keyof ImageListClasses;
14
- export declare function getImageListUtilityClass(slot: string): string;
15
- declare const imageListClasses: ImageListClasses;
16
- export default imageListClasses;
1
+ export interface ImageListClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `variant="masonry"`. */
5
+ masonry: string;
6
+ /** Styles applied to the root element if `variant="quilted"`. */
7
+ quilted: string;
8
+ /** Styles applied to the root element if `variant="standard"`. */
9
+ standard: string;
10
+ /** Styles applied to the root element if `variant="woven"`. */
11
+ woven: string;
12
+ }
13
+ export type ImageListClassKey = keyof ImageListClasses;
14
+ export declare function getImageListUtilityClass(slot: string): string;
15
+ declare const imageListClasses: ImageListClasses;
16
+ export default imageListClasses;
@@ -1,18 +1,18 @@
1
- export interface ImageListItemClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to an `img` element to ensure it covers the item. */
5
- img: string;
6
- /** Styles applied to the root element if `variant="standard"`. */
7
- standard: string;
8
- /** Styles applied to the root element if `variant="woven"`. */
9
- woven: string;
10
- /** Styles applied to the root element if `variant="masonry"`. */
11
- masonry: string;
12
- /** Styles applied to the root element if `variant="quilted"`. */
13
- quilted: string;
14
- }
15
- export type ImageListItemClassKey = keyof ImageListItemClasses;
16
- export declare function getImageListItemUtilityClass(slot: string): string;
17
- declare const imageListItemClasses: ImageListItemClasses;
18
- export default imageListItemClasses;
1
+ export interface ImageListItemClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to an `img` element to ensure it covers the item. */
5
+ img: string;
6
+ /** Styles applied to the root element if `variant="standard"`. */
7
+ standard: string;
8
+ /** Styles applied to the root element if `variant="woven"`. */
9
+ woven: string;
10
+ /** Styles applied to the root element if `variant="masonry"`. */
11
+ masonry: string;
12
+ /** Styles applied to the root element if `variant="quilted"`. */
13
+ quilted: string;
14
+ }
15
+ export type ImageListItemClassKey = keyof ImageListItemClasses;
16
+ export declare function getImageListItemUtilityClass(slot: string): string;
17
+ declare const imageListItemClasses: ImageListItemClasses;
18
+ export default imageListItemClasses;
@@ -1,30 +1,30 @@
1
- export interface ImageListItemBarClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `position="bottom"`. */
5
- positionBottom: string;
6
- /** Styles applied to the root element if `position="top"`. */
7
- positionTop: string;
8
- /** Styles applied to the root element if `position="below"`. */
9
- positionBelow: string;
10
- /** Styles applied to the title and subtitle container element. */
11
- titleWrap: string;
12
- /** Styles applied to the title and subtitle container element if `position="below"`. */
13
- titleWrapBelow: string;
14
- /** Styles applied to the container element if `actionPosition="left"`. */
15
- titleWrapActionPosLeft: string;
16
- /** Styles applied to the container element if `actionPosition="right"`. */
17
- titleWrapActionPosRight: string;
18
- /** Styles applied to the title container element. */
19
- title: string;
20
- /** Styles applied to the subtitle container element. */
21
- subtitle: string;
22
- /** Styles applied to the actionIcon if supplied. */
23
- actionIcon: string;
24
- /** Styles applied to the actionIcon if `actionPosition="left"`. */
25
- actionIconActionPosLeft: string;
26
- }
27
- export type ImageListItemBarClassKey = keyof ImageListItemBarClasses;
28
- export declare function getImageListItemBarUtilityClass(slot: string): string;
29
- declare const imageListItemBarClasses: ImageListItemBarClasses;
30
- export default imageListItemBarClasses;
1
+ export interface ImageListItemBarClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `position="bottom"`. */
5
+ positionBottom: string;
6
+ /** Styles applied to the root element if `position="top"`. */
7
+ positionTop: string;
8
+ /** Styles applied to the root element if `position="below"`. */
9
+ positionBelow: string;
10
+ /** Styles applied to the title and subtitle container element. */
11
+ titleWrap: string;
12
+ /** Styles applied to the title and subtitle container element if `position="below"`. */
13
+ titleWrapBelow: string;
14
+ /** Styles applied to the container element if `actionPosition="left"`. */
15
+ titleWrapActionPosLeft: string;
16
+ /** Styles applied to the container element if `actionPosition="right"`. */
17
+ titleWrapActionPosRight: string;
18
+ /** Styles applied to the title container element. */
19
+ title: string;
20
+ /** Styles applied to the subtitle container element. */
21
+ subtitle: string;
22
+ /** Styles applied to the actionIcon if supplied. */
23
+ actionIcon: string;
24
+ /** Styles applied to the actionIcon if `actionPosition="left"`. */
25
+ actionIconActionPosLeft: string;
26
+ }
27
+ export type ImageListItemBarClassKey = keyof ImageListItemBarClasses;
28
+ export declare function getImageListItemBarUtilityClass(slot: string): string;
29
+ declare const imageListItemBarClasses: ImageListItemBarClasses;
30
+ export default imageListItemBarClasses;
@@ -1,38 +1,38 @@
1
- export interface InputClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if the component is a descendant of `FormControl`. */
5
- formControl: string;
6
- /** Styles applied to the root element if the component is focused. */
7
- focused: string;
8
- /** Styles applied to the root element if `disabled={true}`. */
9
- disabled: string;
10
- /** Styles applied to the root element if color secondary. */
11
- colorSecondary: string;
12
- /** Styles applied to the root element unless `disableUnderline={true}`. */
13
- underline: string;
14
- /** State class applied to the root element if `error={true}`. */
15
- error: string;
16
- /** Styles applied to the input element if `size="small"`. */
17
- sizeSmall: string;
18
- /** Styles applied to the root element if `multiline={true}`. */
19
- multiline: string;
20
- /** Styles applied to the root element if `fullWidth={true}`. */
21
- fullWidth: string;
22
- /** Styles applied to the input element. */
23
- input: string;
24
- /** Styles applied to the input element if `size="small"`. */
25
- inputSizeSmall: string;
26
- /** Styles applied to the input element if `multiline={true}`. */
27
- inputMultiline: string;
28
- /** Styles applied to the input element if `startAdornment` is provided. */
29
- inputAdornedStart: string;
30
- /** Styles applied to the input element if `endAdornment` is provided. */
31
- inputAdornedEnd: string;
32
- /** Styles applied to the input element if `type="search"`. */
33
- inputTypeSearch: string;
34
- }
35
- export type InputClassKey = keyof InputClasses;
36
- export declare function getInputUtilityClass(slot: string): string;
37
- declare const inputClasses: InputClasses;
38
- export default inputClasses;
1
+ export interface InputClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if the component is a descendant of `FormControl`. */
5
+ formControl: string;
6
+ /** Styles applied to the root element if the component is focused. */
7
+ focused: string;
8
+ /** Styles applied to the root element if `disabled={true}`. */
9
+ disabled: string;
10
+ /** Styles applied to the root element if color secondary. */
11
+ colorSecondary: string;
12
+ /** Styles applied to the root element unless `disableUnderline={true}`. */
13
+ underline: string;
14
+ /** State class applied to the root element if `error={true}`. */
15
+ error: string;
16
+ /** Styles applied to the input element if `size="small"`. */
17
+ sizeSmall: string;
18
+ /** Styles applied to the root element if `multiline={true}`. */
19
+ multiline: string;
20
+ /** Styles applied to the root element if `fullWidth={true}`. */
21
+ fullWidth: string;
22
+ /** Styles applied to the input element. */
23
+ input: string;
24
+ /** Styles applied to the input element if `size="small"`. */
25
+ inputSizeSmall: string;
26
+ /** Styles applied to the input element if `multiline={true}`. */
27
+ inputMultiline: string;
28
+ /** Styles applied to the input element if `startAdornment` is provided. */
29
+ inputAdornedStart: string;
30
+ /** Styles applied to the input element if `endAdornment` is provided. */
31
+ inputAdornedEnd: string;
32
+ /** Styles applied to the input element if `type="search"`. */
33
+ inputTypeSearch: string;
34
+ }
35
+ export type InputClassKey = keyof InputClasses;
36
+ export declare function getInputUtilityClass(slot: string): string;
37
+ declare const inputClasses: InputClasses;
38
+ export default inputClasses;
@@ -1,24 +1,24 @@
1
- export interface InputAdornmentClasses {
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 `position="start"`. */
11
- positionStart: string;
12
- /** Styles applied to the root element if `position="end"`. */
13
- positionEnd: string;
14
- /** Styles applied to the root element if `disablePointerEvents={true}`. */
15
- disablePointerEvents: string;
16
- /** Styles applied if the adornment is used inside <FormControl hiddenLabel />. */
17
- hiddenLabel: string;
18
- /** Styles applied if the adornment is used inside <FormControl size="small" />. */
19
- sizeSmall: string;
20
- }
21
- export type InputAdornmentClassKey = keyof InputAdornmentClasses;
22
- export declare function getInputAdornmentUtilityClass(slot: string): string;
23
- declare const inputAdornmentClasses: InputAdornmentClasses;
24
- export default inputAdornmentClasses;
1
+ export interface InputAdornmentClasses {
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 `position="start"`. */
11
+ positionStart: string;
12
+ /** Styles applied to the root element if `position="end"`. */
13
+ positionEnd: string;
14
+ /** Styles applied to the root element if `disablePointerEvents={true}`. */
15
+ disablePointerEvents: string;
16
+ /** Styles applied if the adornment is used inside <FormControl hiddenLabel />. */
17
+ hiddenLabel: string;
18
+ /** Styles applied if the adornment is used inside <FormControl size="small" />. */
19
+ sizeSmall: string;
20
+ }
21
+ export type InputAdornmentClassKey = keyof InputAdornmentClasses;
22
+ export declare function getInputAdornmentUtilityClass(slot: string): string;
23
+ declare const inputAdornmentClasses: InputAdornmentClasses;
24
+ export default inputAdornmentClasses;