@mui/material 7.1.0 → 7.1.2

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 (214) hide show
  1. package/Accordion/Accordion.d.ts +1 -1
  2. package/AccordionActions/AccordionActions.d.ts +2 -1
  3. package/AccordionDetails/AccordionDetails.d.ts +2 -1
  4. package/AccordionSummary/AccordionSummary.d.ts +2 -1
  5. package/Alert/Alert.d.ts +4 -1
  6. package/AlertTitle/AlertTitle.d.ts +2 -1
  7. package/AppBar/AppBar.d.ts +1 -1
  8. package/Autocomplete/Autocomplete.d.ts +10 -1
  9. package/Autocomplete/Autocomplete.js +31 -18
  10. package/AvatarGroup/AvatarGroup.d.ts +1 -1
  11. package/BottomNavigation/BottomNavigation.d.ts +1 -1
  12. package/BottomNavigationAction/BottomNavigationAction.d.ts +2 -1
  13. package/ButtonBase/TouchRipple.d.ts +1 -1
  14. package/ButtonGroup/ButtonGroup.d.ts +1 -1
  15. package/CHANGELOG.md +88 -0
  16. package/Card/Card.d.ts +1 -1
  17. package/CardActionArea/CardActionArea.d.ts +2 -1
  18. package/CardActions/CardActions.d.ts +2 -1
  19. package/CardContent/CardContent.d.ts +1 -1
  20. package/CardHeader/CardHeader.d.ts +1 -1
  21. package/CardMedia/CardMedia.d.ts +1 -1
  22. package/Checkbox/Checkbox.d.ts +2 -1
  23. package/Chip/Chip.d.ts +28 -2
  24. package/Chip/Chip.js +65 -14
  25. package/CircularProgress/CircularProgress.d.ts +2 -1
  26. package/Collapse/Collapse.d.ts +2 -1
  27. package/Dialog/Dialog.d.ts +2 -1
  28. package/DialogActions/DialogActions.d.ts +2 -1
  29. package/DialogContent/DialogContent.d.ts +2 -1
  30. package/Divider/Divider.d.ts +1 -1
  31. package/Drawer/Drawer.d.ts +2 -1
  32. package/Fab/Fab.d.ts +1 -1
  33. package/FilledInput/FilledInput.d.ts +2 -1
  34. package/FormControlLabel/FormControlLabel.d.ts +2 -1
  35. package/FormGroup/FormGroup.d.ts +2 -1
  36. package/IconButton/IconButton.d.ts +1 -1
  37. package/ImageList/ImageList.d.ts +1 -1
  38. package/ImageListItem/ImageListItem.d.ts +1 -1
  39. package/ImageListItemBar/ImageListItemBar.d.ts +2 -1
  40. package/Input/Input.d.ts +2 -1
  41. package/InputAdornment/InputAdornment.d.ts +1 -1
  42. package/InputBase/InputBase.d.ts +1 -1
  43. package/LinearProgress/LinearProgress.d.ts +2 -1
  44. package/List/List.d.ts +1 -1
  45. package/ListItemAvatar/ListItemAvatar.d.ts +2 -1
  46. package/ListItemIcon/ListItemIcon.d.ts +2 -1
  47. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -1
  48. package/ListItemText/ListItemText.d.ts +2 -1
  49. package/ListSubheader/ListSubheader.d.ts +1 -1
  50. package/Menu/Menu.d.ts +2 -2
  51. package/MobileStepper/MobileStepper.d.ts +2 -1
  52. package/NativeSelect/NativeSelect.d.ts +2 -1
  53. package/NativeSelect/NativeSelectInput.d.ts +1 -1
  54. package/OutlinedInput/NotchedOutline.d.ts +1 -1
  55. package/OutlinedInput/OutlinedInput.d.ts +3 -1
  56. package/Pagination/Pagination.d.ts +1 -1
  57. package/Popover/Popover.d.ts +3 -2
  58. package/Radio/Radio.d.ts +2 -1
  59. package/Rating/Rating.d.ts +1 -1
  60. package/Select/Select.d.ts +2 -1
  61. package/Select/SelectInput.d.ts +1 -1
  62. package/Skeleton/Skeleton.d.ts +1 -1
  63. package/Snackbar/Snackbar.d.ts +1 -1
  64. package/SnackbarContent/SnackbarContent.d.ts +1 -1
  65. package/SnackbarContent/SnackbarContent.js +2 -5
  66. package/SpeedDial/SpeedDial.d.ts +1 -1
  67. package/SpeedDialAction/SpeedDialAction.d.ts +1 -1
  68. package/SpeedDialIcon/SpeedDialIcon.d.ts +1 -1
  69. package/StepConnector/StepConnector.d.ts +1 -1
  70. package/StepContent/StepContent.d.ts +2 -1
  71. package/StepIcon/StepIcon.d.ts +2 -1
  72. package/StepLabel/StepLabel.d.ts +2 -2
  73. package/Switch/Switch.d.ts +2 -1
  74. package/Tab/Tab.d.ts +1 -1
  75. package/TabScrollButton/TabScrollButton.d.ts +2 -1
  76. package/Table/Table.d.ts +1 -1
  77. package/TableBody/TableBody.d.ts +1 -1
  78. package/TableCell/TableCell.d.ts +2 -1
  79. package/TableContainer/TableContainer.d.ts +1 -1
  80. package/TableFooter/TableFooter.d.ts +1 -1
  81. package/TableHead/TableHead.d.ts +1 -1
  82. package/TablePagination/TablePagination.d.ts +1 -1
  83. package/TablePagination/TablePagination.js +1 -1
  84. package/{TablePagination → TablePaginationActions}/TablePaginationActions.d.ts +11 -0
  85. package/{TablePagination → TablePaginationActions}/TablePaginationActions.js +60 -25
  86. package/TablePaginationActions/index.d.ts +4 -0
  87. package/TablePaginationActions/index.js +20 -0
  88. package/TablePaginationActions/tablePaginationActionsClasses.d.ts +8 -0
  89. package/TablePaginationActions/tablePaginationActionsClasses.js +15 -0
  90. package/TableRow/TableRow.d.ts +1 -1
  91. package/TableSortLabel/TableSortLabel.d.ts +1 -1
  92. package/TextField/TextField.d.ts +2 -2
  93. package/ToggleButton/ToggleButton.d.ts +1 -1
  94. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  95. package/Toolbar/Toolbar.d.ts +1 -1
  96. package/Tooltip/Tooltip.d.ts +2 -1
  97. package/esm/Accordion/Accordion.d.ts +1 -1
  98. package/esm/AccordionActions/AccordionActions.d.ts +2 -1
  99. package/esm/AccordionDetails/AccordionDetails.d.ts +2 -1
  100. package/esm/AccordionSummary/AccordionSummary.d.ts +2 -1
  101. package/esm/Alert/Alert.d.ts +4 -1
  102. package/esm/AlertTitle/AlertTitle.d.ts +2 -1
  103. package/esm/AppBar/AppBar.d.ts +1 -1
  104. package/esm/Autocomplete/Autocomplete.d.ts +10 -1
  105. package/esm/Autocomplete/Autocomplete.js +31 -18
  106. package/esm/AvatarGroup/AvatarGroup.d.ts +1 -1
  107. package/esm/BottomNavigation/BottomNavigation.d.ts +1 -1
  108. package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +2 -1
  109. package/esm/ButtonBase/TouchRipple.d.ts +1 -1
  110. package/esm/ButtonGroup/ButtonGroup.d.ts +1 -1
  111. package/esm/Card/Card.d.ts +1 -1
  112. package/esm/CardActionArea/CardActionArea.d.ts +2 -1
  113. package/esm/CardActions/CardActions.d.ts +2 -1
  114. package/esm/CardContent/CardContent.d.ts +1 -1
  115. package/esm/CardHeader/CardHeader.d.ts +1 -1
  116. package/esm/CardMedia/CardMedia.d.ts +1 -1
  117. package/esm/Checkbox/Checkbox.d.ts +2 -1
  118. package/esm/Chip/Chip.d.ts +28 -2
  119. package/esm/Chip/Chip.js +65 -14
  120. package/esm/CircularProgress/CircularProgress.d.ts +2 -1
  121. package/esm/Collapse/Collapse.d.ts +2 -1
  122. package/esm/Dialog/Dialog.d.ts +2 -1
  123. package/esm/DialogActions/DialogActions.d.ts +2 -1
  124. package/esm/DialogContent/DialogContent.d.ts +2 -1
  125. package/esm/Divider/Divider.d.ts +1 -1
  126. package/esm/Drawer/Drawer.d.ts +2 -1
  127. package/esm/Fab/Fab.d.ts +1 -1
  128. package/esm/FilledInput/FilledInput.d.ts +2 -1
  129. package/esm/FormControlLabel/FormControlLabel.d.ts +2 -1
  130. package/esm/FormGroup/FormGroup.d.ts +2 -1
  131. package/esm/IconButton/IconButton.d.ts +1 -1
  132. package/esm/ImageList/ImageList.d.ts +1 -1
  133. package/esm/ImageListItem/ImageListItem.d.ts +1 -1
  134. package/esm/ImageListItemBar/ImageListItemBar.d.ts +2 -1
  135. package/esm/Input/Input.d.ts +2 -1
  136. package/esm/InputAdornment/InputAdornment.d.ts +1 -1
  137. package/esm/InputBase/InputBase.d.ts +1 -1
  138. package/esm/LinearProgress/LinearProgress.d.ts +2 -1
  139. package/esm/List/List.d.ts +1 -1
  140. package/esm/ListItemAvatar/ListItemAvatar.d.ts +2 -1
  141. package/esm/ListItemIcon/ListItemIcon.d.ts +2 -1
  142. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -1
  143. package/esm/ListItemText/ListItemText.d.ts +2 -1
  144. package/esm/ListSubheader/ListSubheader.d.ts +1 -1
  145. package/esm/Menu/Menu.d.ts +2 -2
  146. package/esm/MobileStepper/MobileStepper.d.ts +2 -1
  147. package/esm/NativeSelect/NativeSelect.d.ts +2 -1
  148. package/esm/NativeSelect/NativeSelectInput.d.ts +1 -1
  149. package/esm/OutlinedInput/NotchedOutline.d.ts +1 -1
  150. package/esm/OutlinedInput/OutlinedInput.d.ts +3 -1
  151. package/esm/Pagination/Pagination.d.ts +1 -1
  152. package/esm/Popover/Popover.d.ts +3 -2
  153. package/esm/Radio/Radio.d.ts +2 -1
  154. package/esm/Rating/Rating.d.ts +1 -1
  155. package/esm/Select/Select.d.ts +2 -1
  156. package/esm/Select/SelectInput.d.ts +1 -1
  157. package/esm/Skeleton/Skeleton.d.ts +1 -1
  158. package/esm/Snackbar/Snackbar.d.ts +1 -1
  159. package/esm/SnackbarContent/SnackbarContent.d.ts +1 -1
  160. package/esm/SnackbarContent/SnackbarContent.js +2 -5
  161. package/esm/SpeedDial/SpeedDial.d.ts +1 -1
  162. package/esm/SpeedDialAction/SpeedDialAction.d.ts +1 -1
  163. package/esm/SpeedDialIcon/SpeedDialIcon.d.ts +1 -1
  164. package/esm/StepConnector/StepConnector.d.ts +1 -1
  165. package/esm/StepContent/StepContent.d.ts +2 -1
  166. package/esm/StepIcon/StepIcon.d.ts +2 -1
  167. package/esm/StepLabel/StepLabel.d.ts +2 -2
  168. package/esm/Switch/Switch.d.ts +2 -1
  169. package/esm/Tab/Tab.d.ts +1 -1
  170. package/esm/TabScrollButton/TabScrollButton.d.ts +2 -1
  171. package/esm/Table/Table.d.ts +1 -1
  172. package/esm/TableBody/TableBody.d.ts +1 -1
  173. package/esm/TableCell/TableCell.d.ts +2 -1
  174. package/esm/TableContainer/TableContainer.d.ts +1 -1
  175. package/esm/TableFooter/TableFooter.d.ts +1 -1
  176. package/esm/TableHead/TableHead.d.ts +1 -1
  177. package/esm/TablePagination/TablePagination.d.ts +1 -1
  178. package/esm/TablePagination/TablePagination.js +1 -1
  179. package/esm/{TablePagination → TablePaginationActions}/TablePaginationActions.d.ts +11 -0
  180. package/esm/{TablePagination → TablePaginationActions}/TablePaginationActions.js +60 -27
  181. package/esm/TablePaginationActions/index.d.ts +4 -0
  182. package/esm/TablePaginationActions/index.js +2 -0
  183. package/esm/TablePaginationActions/tablePaginationActionsClasses.d.ts +8 -0
  184. package/esm/TablePaginationActions/tablePaginationActionsClasses.js +7 -0
  185. package/esm/TableRow/TableRow.d.ts +1 -1
  186. package/esm/TableSortLabel/TableSortLabel.d.ts +1 -1
  187. package/esm/TextField/TextField.d.ts +2 -2
  188. package/esm/ToggleButton/ToggleButton.d.ts +1 -1
  189. package/esm/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  190. package/esm/Toolbar/Toolbar.d.ts +1 -1
  191. package/esm/Tooltip/Tooltip.d.ts +2 -1
  192. package/esm/index.d.ts +3 -43
  193. package/esm/index.js +3 -1
  194. package/esm/internal/SwitchBase.d.ts +1 -1
  195. package/esm/internal/index.d.ts +17 -0
  196. package/esm/internal/index.js +1 -0
  197. package/esm/styles/components.d.ts +5 -0
  198. package/esm/styles/index.d.ts +19 -0
  199. package/esm/styles/overrides.d.ts +2 -0
  200. package/esm/styles/props.d.ts +2 -0
  201. package/esm/useAutocomplete/useAutocomplete.js +0 -1
  202. package/esm/version/index.js +2 -2
  203. package/index.d.ts +3 -43
  204. package/index.js +20 -1
  205. package/internal/SwitchBase.d.ts +1 -1
  206. package/internal/index.d.ts +17 -0
  207. package/internal/index.js +5 -0
  208. package/package.json +6 -6
  209. package/styles/components.d.ts +5 -0
  210. package/styles/index.d.ts +19 -0
  211. package/styles/overrides.d.ts +2 -0
  212. package/styles/props.d.ts +2 -0
  213. package/useAutocomplete/useAutocomplete.js +0 -1
  214. package/version/index.js +2 -2
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
4
5
  import { FormGroupClasses } from "./formGroupClasses.js";
5
6
  export interface FormGroupProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
6
7
  /**
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
- import { Theme } from "../index.js";
4
+ import { Theme } from "../styles/index.js";
5
5
  import { ExtendButtonBase, ExtendButtonBaseTypeMap } from "../ButtonBase/index.js";
6
6
  import { OverrideProps } from "../OverridableComponent/index.js";
7
7
  import { IconButtonClasses } from "./iconButtonClasses.js";
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
- import { Theme } from "../index.js";
4
+ import { Theme } from "../styles/index.js";
5
5
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
6
6
  import { ImageListClasses } from "./imageListClasses.js";
7
7
  export interface ImageListPropsVariantOverrides {}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
4
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
5
5
  import { ImageListItemClasses } from "./imageListItemClasses.js";
6
6
  export interface ImageListItemOwnProps {
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
4
5
  import { ImageListItemBarClasses } from "./imageListItemBarClasses.js";
5
6
  export interface ImageListItemBarProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'title'> {
6
7
  /**
package/Input/Input.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { SxProps } from '@mui/system';
2
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
2
+ import { Theme } from "../styles/index.js";
3
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
3
4
  import { InputBaseProps } from "../InputBase/index.js";
4
5
  import { InputClasses } from "./inputClasses.js";
5
6
  export interface InputProps extends StandardProps<InputBaseProps> {
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
4
- import { Theme } from "../index.js";
4
+ import { Theme } from "../styles/index.js";
5
5
  import { InputAdornmentClasses } from "./inputAdornmentClasses.js";
6
6
  export interface InputAdornmentOwnProps {
7
7
  /**
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
4
  import { Theme } from "../styles/index.js";
5
- import { InternalStandardProps as StandardProps } from "../index.js";
5
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
6
6
  import { InputBaseClasses } from "./inputBaseClasses.js";
7
7
  export interface InputBasePropsSizeOverrides {}
8
8
  export interface InputBasePropsColorOverrides {}
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
4
+ import { Theme } from "../styles/index.js";
5
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
6
  import { LinearProgressClasses } from "./linearProgressClasses.js";
6
7
  export interface LinearProgressPropsColorOverrides {}
7
8
  export interface LinearProgressPropsVariantOverrides {}
package/List/List.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
4
  import { OverridableComponent, OverridableTypeMap, OverrideProps } from "../OverridableComponent/index.js";
5
5
  import { ListClasses } from "./listClasses.js";
6
6
  export interface ListOwnProps {
@@ -1,5 +1,6 @@
1
1
  import { SxProps } from '@mui/system';
2
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
2
+ import { Theme } from "../styles/index.js";
3
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
3
4
  import { ListItemAvatarClasses } from "./listItemAvatarClasses.js";
4
5
  export interface ListItemAvatarProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
5
6
  /**
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
4
5
  import { ListItemIconClasses } from "./listItemIconClasses.js";
5
6
  export interface ListItemIconProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
6
7
  /**
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
4
5
  import { ListItemSecondaryActionClasses } from "./listItemSecondaryActionClasses.js";
5
6
  export interface ListItemSecondaryActionProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
6
7
  /**
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
4
5
  import { TypographyProps } from "../Typography/index.js";
5
6
  import { ListItemTextClasses } from "./listItemTextClasses.js";
6
7
  import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
4
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
5
5
  import { ListSubheaderClasses } from "./listSubheaderClasses.js";
6
6
  export interface ListSubheaderOwnProps {
package/Menu/Menu.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
4
5
  import { PaperProps } from "../Paper/index.js";
5
6
  import { PopoverProps } from "../Popover/index.js";
6
7
  import { MenuListProps } from "../MenuList/index.js";
7
8
  import { ModalProps } from "../Modal/index.js";
8
9
  import { BackdropProps } from "../Backdrop/index.js";
9
- import { Theme } from "../styles/index.js";
10
10
  import { TransitionProps } from "../transitions/transition.js";
11
11
  import { MenuClasses } from "./menuClasses.js";
12
12
  import { CreateSlotsAndSlotProps, SlotComponentProps, SlotProps } from "../utils/types.js";
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
4
5
  import { PaperProps } from "../Paper/index.js";
5
6
  import { LinearProgressProps } from "../LinearProgress/index.js";
6
7
  import { MobileStepperClasses } from "./mobileStepperClasses.js";
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
4
5
  import { InputProps } from "../Input/index.js";
5
6
  import { NativeSelectInputProps } from "./NativeSelectInput.js";
6
7
  import { NativeSelectClasses } from "./nativeSelectClasses.js";
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
4
  export interface NativeSelectInputProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
5
5
  disabled?: boolean;
6
6
  IconComponent: React.ElementType;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { InternalStandardProps as StandardProps } from "../index.js";
2
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
3
3
  export interface NotchedOutlineProps extends StandardProps<React.FieldsetHTMLAttributes<HTMLFieldSetElement>> {
4
4
  disabled?: boolean;
5
5
  error?: boolean;
@@ -1,6 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { CreateSlotsAndSlotProps, SlotProps, InternalStandardProps as StandardProps, Theme } from "../index.js";
3
+ import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
4
+ import { Theme } from "../styles/index.js";
5
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
4
6
  import { InputBaseProps } from "../InputBase/index.js";
5
7
  import { OutlinedInputClasses } from "./outlinedInputClasses.js";
6
8
  interface OutlinedInputSlots {
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { OverridableStringUnion } from '@mui/types';
3
3
  import { SxProps } from '@mui/system';
4
- import { InternalStandardProps as StandardProps } from '@mui/material';
5
4
  import { Theme } from "../styles/index.js";
5
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
6
6
  import { UsePaginationItem, UsePaginationProps } from "../usePagination/usePagination.js";
7
7
  import { PaginationClasses } from "./paginationClasses.js";
8
8
  export interface PaginationRenderItemParams extends UsePaginationItem {
@@ -1,10 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { SlotComponentProps } from '@mui/utils/types';
4
- import { BackdropProps, InternalStandardProps as StandardProps } from "../index.js";
4
+ import { BackdropProps } from "../Backdrop/index.js";
5
+ import { Theme } from "../styles/index.js";
6
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
7
  import Paper, { PaperProps } from "../Paper/index.js";
6
8
  import Modal, { ModalProps } from "../Modal/index.js";
7
- import { Theme } from "../styles/index.js";
8
9
  import { TransitionProps } from "../transitions/transition.js";
9
10
  import { PopoverClasses } from "./popoverClasses.js";
10
11
  import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
package/Radio/Radio.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
4
+ import { Theme } from "../styles/index.js";
5
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
6
  import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
6
7
  import { SwitchBaseProps } from "../internal/SwitchBase.js";
7
8
  import { RadioClasses } from "./radioClasses.js";
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
- import { Theme } from "../index.js";
4
+ import { Theme } from "../styles/index.js";
5
5
  import { RatingClasses } from "./ratingClasses.js";
6
6
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
7
7
  import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
4
5
  import { InputProps } from "../Input/index.js";
5
6
  import { MenuProps } from "../Menu/index.js";
6
7
  import { SelectChangeEvent, SelectInputProps } from "./SelectInput.js";
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
4
  import { MenuProps } from "../Menu/index.js";
5
5
 
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
- import { Theme } from "../index.js";
4
+ import { Theme } from "../styles/index.js";
5
5
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
6
6
  import { SkeletonClasses } from "./skeletonClasses.js";
7
7
  export interface SkeletonPropsVariantOverrides {}
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import ClickAwayListener, { ClickAwayListenerProps } from "../ClickAwayListener/index.js";
4
4
  import { Theme } from "../styles/index.js";
5
- import { InternalStandardProps as StandardProps } from "../index.js";
5
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
6
6
  import { SnackbarContentProps } from "../SnackbarContent/index.js";
7
7
  import { TransitionProps } from "../transitions/transition.js";
8
8
  import { SnackbarClasses } from "./snackbarClasses.js";
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from "../styles/index.js";
4
- import { InternalStandardProps as StandardProps } from "../index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
5
  import { PaperProps } from "../Paper/index.js";
6
6
  import { SnackbarContentClasses } from "./snackbarContentClasses.js";
7
7
  export interface SnackbarContentProps extends StandardProps<PaperProps, 'children'> {
@@ -36,16 +36,14 @@ const SnackbarContentRoot = (0, _zeroStyled.styled)(_Paper.default, {
36
36
  theme
37
37
  }) => {
38
38
  const emphasis = theme.palette.mode === 'light' ? 0.8 : 0.98;
39
- const backgroundColor = (0, _colorManipulator.emphasize)(theme.palette.background.default, emphasis);
40
39
  return {
41
40
  ...theme.typography.body2,
42
- color: theme.vars ? theme.vars.palette.SnackbarContent.color : theme.palette.getContrastText(backgroundColor),
43
- backgroundColor: theme.vars ? theme.vars.palette.SnackbarContent.bg : backgroundColor,
41
+ color: theme.vars ? theme.vars.palette.SnackbarContent.color : theme.palette.getContrastText((0, _colorManipulator.emphasize)(theme.palette.background.default, emphasis)),
42
+ backgroundColor: theme.vars ? theme.vars.palette.SnackbarContent.bg : (0, _colorManipulator.emphasize)(theme.palette.background.default, emphasis),
44
43
  display: 'flex',
45
44
  alignItems: 'center',
46
45
  flexWrap: 'wrap',
47
46
  padding: '6px 16px',
48
- borderRadius: (theme.vars || theme).shape.borderRadius,
49
47
  flexGrow: 1,
50
48
  [theme.breakpoints.up('sm')]: {
51
49
  flexGrow: 'initial',
@@ -85,7 +83,6 @@ const SnackbarContent = /*#__PURE__*/React.forwardRef(function SnackbarContent(i
85
83
  const classes = useUtilityClasses(ownerState);
86
84
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(SnackbarContentRoot, {
87
85
  role: role,
88
- square: true,
89
86
  elevation: 6,
90
87
  className: (0, _clsx.default)(classes.root, className),
91
88
  ownerState: ownerState,
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from "../styles/index.js";
4
- import { InternalStandardProps as StandardProps } from "../index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
5
  import { FabProps } from "../Fab/index.js";
6
6
  import { TransitionProps } from "../transitions/index.js";
7
7
  import { SpeedDialClasses } from "./speedDialClasses.js";
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from "../styles/index.js";
4
- import { InternalStandardProps as StandardProps } from "../index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
5
  import { FabProps } from "../Fab/index.js";
6
6
  import { TooltipProps } from "../Tooltip/index.js";
7
7
  import { SpeedDialActionClasses } from "./speedDialActionClasses.js";
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from "../styles/index.js";
4
- import { InternalStandardProps as StandardProps } from "../index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
5
  import { SpeedDialIconClasses } from "./speedDialIconClasses.js";
6
6
  export interface SpeedDialIconProps extends StandardProps<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps } from "../index.js";
4
3
  import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
5
  import { StepConnectorClasses } from "./stepConnectorClasses.js";
6
6
  export type StepConnectorIcon = React.ReactElement<unknown> | string | number;
7
7
  export interface StepConnectorProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'children'> {
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { CollapseProps, InternalStandardProps as StandardProps } from "../index.js";
4
3
  import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
+ import { CollapseProps } from "../Collapse/index.js";
5
6
  import { TransitionProps } from "../transitions/transition.js";
6
7
  import { StepContentClasses } from "./stepContentClasses.js";
7
8
  import { CreateSlotsAndSlotProps, SlotComponentProps } from "../utils/types.js";
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps, SvgIconOwnProps } from "../index.js";
3
+ import { SvgIconOwnProps } from "../SvgIcon/index.js";
4
4
  import { Theme } from "../styles/index.js";
5
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
6
  import { StepIconClasses } from "./stepIconClasses.js";
6
7
  export interface StepIconProps
7
8
  // TODO v7: extend React.HTMLAttributes<SVGSVGElement> as svg is root component of StepIcon not div
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { InternalStandardProps as StandardProps } from "../index.js";
4
- import { StepIconProps } from "../StepIcon/index.js";
5
3
  import { Theme } from "../styles/index.js";
4
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
+ import { StepIconProps } from "../StepIcon/index.js";
6
6
  import { StepLabelClasses } from "./stepLabelClasses.js";
7
7
  import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
8
8
  export interface StepLabelSlots {
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
4
+ import { Theme } from "../styles/index.js";
5
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
6
  import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
6
7
  import { SwitchBaseProps } from "../internal/SwitchBase.js";
7
8
  import { SwitchClasses } from "./switchClasses.js";
package/Tab/Tab.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
4
  import { ExtendButtonBase, ExtendButtonBaseTypeMap } from "../ButtonBase/index.js";
5
5
  import { OverrideProps } from "../OverridableComponent/index.js";
6
6
  import { TabClasses } from "./tabClasses.js";
@@ -2,7 +2,8 @@ import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { SlotComponentProps } from "../utils/types.js";
4
4
  import { ButtonBaseProps } from "../ButtonBase/index.js";
5
- import { SvgIcon, Theme } from "../index.js";
5
+ import { Theme } from "../styles/index.js";
6
+ import SvgIcon from "../SvgIcon/index.js";
6
7
  import { TabScrollButtonClasses } from "./tabScrollButtonClasses.js";
7
8
  export interface TabScrollButtonStartIconSlotPropsOverrides {}
8
9
  export interface TabScrollButtonEndIconSlotPropsOverrides {}
package/Table/Table.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
- import { Theme } from "../index.js";
4
+ import { Theme } from "../styles/index.js";
5
5
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
6
6
  import { TableClasses } from "./tableClasses.js";
7
7
  export interface TablePropsSizeOverrides {}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
4
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
5
5
  import { TableBodyClasses } from "./tableBodyClasses.js";
6
6
  export interface TableBodyOwnProps {
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { OverridableStringUnion } from '@mui/types';
3
3
  import { SxProps } from '@mui/system';
4
- import { InternalStandardProps as StandardProps, Theme } from "../index.js";
4
+ import { Theme } from "../styles/index.js";
5
+ import { InternalStandardProps as StandardProps } from "../internal/index.js";
5
6
  import { TableCellClasses } from "./tableCellClasses.js";
6
7
  export interface TableCellPropsSizeOverrides {}
7
8
  export interface TableCellPropsVariantOverrides {}
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
4
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
5
5
  import { TableContainerClasses } from "./tableContainerClasses.js";
6
6
  export interface TableContainerOwnProps {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
4
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
5
5
  import { TableFooterClasses } from "./tableFooterClasses.js";
6
6
  export interface TableFooterOwnProps {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
- import { Theme } from "../index.js";
3
+ import { Theme } from "../styles/index.js";
4
4
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
5
5
  import { TableHeadClasses } from "./tableHeadClasses.js";
6
6
  export interface TableHeadOwnProps {
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from "../styles/index.js";
4
4
  import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
5
- import { TablePaginationActionsProps, TablePaginationActionsSlots } from "./TablePaginationActions.js";
5
+ import { TablePaginationActionsProps, TablePaginationActionsSlots } from "../TablePaginationActions/index.js";
6
6
  import { TableCellProps } from "../TableCell/index.js";
7
7
  import { IconButtonProps } from "../IconButton/index.js";
8
8
  import { SelectProps } from "../Select/index.js";
@@ -22,7 +22,7 @@ var _MenuItem = _interopRequireDefault(require("../MenuItem"));
22
22
  var _Select = _interopRequireDefault(require("../Select"));
23
23
  var _TableCell = _interopRequireDefault(require("../TableCell"));
24
24
  var _Toolbar = _interopRequireDefault(require("../Toolbar"));
25
- var _TablePaginationActions = _interopRequireDefault(require("./TablePaginationActions"));
25
+ var _TablePaginationActions = _interopRequireDefault(require("../TablePaginationActions"));
26
26
  var _useId = _interopRequireDefault(require("../utils/useId"));
27
27
  var _tablePaginationClasses = _interopRequireWildcard(require("./tablePaginationClasses"));
28
28
  var _useSlot = _interopRequireDefault(require("../utils/useSlot"));
@@ -11,6 +11,7 @@ export interface TablePaginationActionsProps extends React.HTMLAttributes<HTMLDi
11
11
  * Override or extend the styles applied to the component.
12
12
  */
13
13
  classes?: {};
14
+ className?: string;
14
15
  count: number;
15
16
  /**
16
17
  * If `true`, the component is disabled.
@@ -90,5 +91,15 @@ export interface TablePaginationActionsSlots {
90
91
  */
91
92
  previousButtonIcon?: React.ElementType;
92
93
  }
94
+ /**
95
+ *
96
+ * Demos:
97
+ *
98
+ * - [Pagination](https://mui.com/material-ui/react-pagination/)
99
+ *
100
+ * API:
101
+ *
102
+ * - [TablePaginationActions API](https://mui.com/material-ui/api/table-pagination-actions/)
103
+ */
93
104
  declare const TablePaginationActions: React.JSXElementConstructor<TablePaginationActionsProps>;
94
105
  export default TablePaginationActions;