@mui/material 7.1.0 → 7.1.1
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.
- package/Accordion/Accordion.d.ts +1 -1
- package/AccordionActions/AccordionActions.d.ts +2 -1
- package/AccordionDetails/AccordionDetails.d.ts +2 -1
- package/AccordionSummary/AccordionSummary.d.ts +2 -1
- package/Alert/Alert.d.ts +4 -1
- package/AlertTitle/AlertTitle.d.ts +2 -1
- package/AppBar/AppBar.d.ts +1 -1
- package/Autocomplete/Autocomplete.d.ts +10 -1
- package/Autocomplete/Autocomplete.js +31 -18
- package/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/BottomNavigation/BottomNavigation.d.ts +1 -1
- package/BottomNavigationAction/BottomNavigationAction.d.ts +2 -1
- package/ButtonBase/TouchRipple.d.ts +1 -1
- package/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/CHANGELOG.md +72 -0
- package/Card/Card.d.ts +1 -1
- package/CardActionArea/CardActionArea.d.ts +2 -1
- package/CardActions/CardActions.d.ts +2 -1
- package/CardContent/CardContent.d.ts +1 -1
- package/CardHeader/CardHeader.d.ts +1 -1
- package/CardMedia/CardMedia.d.ts +1 -1
- package/Checkbox/Checkbox.d.ts +2 -1
- package/Chip/Chip.d.ts +28 -2
- package/Chip/Chip.js +65 -14
- package/CircularProgress/CircularProgress.d.ts +2 -1
- package/Collapse/Collapse.d.ts +2 -1
- package/Dialog/Dialog.d.ts +2 -1
- package/DialogActions/DialogActions.d.ts +2 -1
- package/DialogContent/DialogContent.d.ts +2 -1
- package/Divider/Divider.d.ts +1 -1
- package/Drawer/Drawer.d.ts +2 -1
- package/Fab/Fab.d.ts +1 -1
- package/FilledInput/FilledInput.d.ts +2 -1
- package/FormControlLabel/FormControlLabel.d.ts +2 -1
- package/FormGroup/FormGroup.d.ts +2 -1
- package/IconButton/IconButton.d.ts +1 -1
- package/ImageList/ImageList.d.ts +1 -1
- package/ImageListItem/ImageListItem.d.ts +1 -1
- package/ImageListItemBar/ImageListItemBar.d.ts +2 -1
- package/Input/Input.d.ts +2 -1
- package/InputAdornment/InputAdornment.d.ts +1 -1
- package/InputBase/InputBase.d.ts +1 -1
- package/LinearProgress/LinearProgress.d.ts +2 -1
- package/List/List.d.ts +1 -1
- package/ListItemAvatar/ListItemAvatar.d.ts +2 -1
- package/ListItemIcon/ListItemIcon.d.ts +2 -1
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -1
- package/ListItemText/ListItemText.d.ts +2 -1
- package/ListSubheader/ListSubheader.d.ts +1 -1
- package/Menu/Menu.d.ts +2 -2
- package/MobileStepper/MobileStepper.d.ts +2 -1
- package/NativeSelect/NativeSelect.d.ts +2 -1
- package/NativeSelect/NativeSelectInput.d.ts +1 -1
- package/OutlinedInput/NotchedOutline.d.ts +1 -1
- package/OutlinedInput/OutlinedInput.d.ts +3 -1
- package/Pagination/Pagination.d.ts +1 -1
- package/Popover/Popover.d.ts +3 -2
- package/Radio/Radio.d.ts +2 -1
- package/Rating/Rating.d.ts +1 -1
- package/Select/Select.d.ts +2 -1
- package/Select/SelectInput.d.ts +1 -1
- package/Skeleton/Skeleton.d.ts +1 -1
- package/Snackbar/Snackbar.d.ts +1 -1
- package/SnackbarContent/SnackbarContent.d.ts +1 -1
- package/SnackbarContent/SnackbarContent.js +2 -5
- package/SpeedDial/SpeedDial.d.ts +1 -1
- package/SpeedDialAction/SpeedDialAction.d.ts +1 -1
- package/SpeedDialIcon/SpeedDialIcon.d.ts +1 -1
- package/StepConnector/StepConnector.d.ts +1 -1
- package/StepContent/StepContent.d.ts +2 -1
- package/StepIcon/StepIcon.d.ts +2 -1
- package/StepLabel/StepLabel.d.ts +2 -2
- package/Switch/Switch.d.ts +2 -1
- package/Tab/Tab.d.ts +1 -1
- package/TabScrollButton/TabScrollButton.d.ts +2 -1
- package/Table/Table.d.ts +1 -1
- package/TableBody/TableBody.d.ts +1 -1
- package/TableCell/TableCell.d.ts +2 -1
- package/TableContainer/TableContainer.d.ts +1 -1
- package/TableFooter/TableFooter.d.ts +1 -1
- package/TableHead/TableHead.d.ts +1 -1
- package/TablePagination/TablePagination.d.ts +1 -1
- package/TablePagination/TablePagination.js +1 -1
- package/{TablePagination → TablePaginationActions}/TablePaginationActions.d.ts +11 -0
- package/{TablePagination → TablePaginationActions}/TablePaginationActions.js +60 -25
- package/TablePaginationActions/index.d.ts +4 -0
- package/TablePaginationActions/index.js +20 -0
- package/TablePaginationActions/tablePaginationActionsClasses.d.ts +8 -0
- package/TablePaginationActions/tablePaginationActionsClasses.js +15 -0
- package/TableRow/TableRow.d.ts +1 -1
- package/TableSortLabel/TableSortLabel.d.ts +1 -1
- package/TextField/TextField.d.ts +2 -2
- package/ToggleButton/ToggleButton.d.ts +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/Toolbar/Toolbar.d.ts +1 -1
- package/Tooltip/Tooltip.d.ts +2 -1
- package/esm/Accordion/Accordion.d.ts +1 -1
- package/esm/AccordionActions/AccordionActions.d.ts +2 -1
- package/esm/AccordionDetails/AccordionDetails.d.ts +2 -1
- package/esm/AccordionSummary/AccordionSummary.d.ts +2 -1
- package/esm/Alert/Alert.d.ts +4 -1
- package/esm/AlertTitle/AlertTitle.d.ts +2 -1
- package/esm/AppBar/AppBar.d.ts +1 -1
- package/esm/Autocomplete/Autocomplete.d.ts +10 -1
- package/esm/Autocomplete/Autocomplete.js +31 -18
- package/esm/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/esm/BottomNavigation/BottomNavigation.d.ts +1 -1
- package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +2 -1
- package/esm/ButtonBase/TouchRipple.d.ts +1 -1
- package/esm/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/esm/Card/Card.d.ts +1 -1
- package/esm/CardActionArea/CardActionArea.d.ts +2 -1
- package/esm/CardActions/CardActions.d.ts +2 -1
- package/esm/CardContent/CardContent.d.ts +1 -1
- package/esm/CardHeader/CardHeader.d.ts +1 -1
- package/esm/CardMedia/CardMedia.d.ts +1 -1
- package/esm/Checkbox/Checkbox.d.ts +2 -1
- package/esm/Chip/Chip.d.ts +28 -2
- package/esm/Chip/Chip.js +65 -14
- package/esm/CircularProgress/CircularProgress.d.ts +2 -1
- package/esm/Collapse/Collapse.d.ts +2 -1
- package/esm/Dialog/Dialog.d.ts +2 -1
- package/esm/DialogActions/DialogActions.d.ts +2 -1
- package/esm/DialogContent/DialogContent.d.ts +2 -1
- package/esm/Divider/Divider.d.ts +1 -1
- package/esm/Drawer/Drawer.d.ts +2 -1
- package/esm/Fab/Fab.d.ts +1 -1
- package/esm/FilledInput/FilledInput.d.ts +2 -1
- package/esm/FormControlLabel/FormControlLabel.d.ts +2 -1
- package/esm/FormGroup/FormGroup.d.ts +2 -1
- package/esm/IconButton/IconButton.d.ts +1 -1
- package/esm/ImageList/ImageList.d.ts +1 -1
- package/esm/ImageListItem/ImageListItem.d.ts +1 -1
- package/esm/ImageListItemBar/ImageListItemBar.d.ts +2 -1
- package/esm/Input/Input.d.ts +2 -1
- package/esm/InputAdornment/InputAdornment.d.ts +1 -1
- package/esm/InputBase/InputBase.d.ts +1 -1
- package/esm/LinearProgress/LinearProgress.d.ts +2 -1
- package/esm/List/List.d.ts +1 -1
- package/esm/ListItemAvatar/ListItemAvatar.d.ts +2 -1
- package/esm/ListItemIcon/ListItemIcon.d.ts +2 -1
- package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -1
- package/esm/ListItemText/ListItemText.d.ts +2 -1
- package/esm/ListSubheader/ListSubheader.d.ts +1 -1
- package/esm/Menu/Menu.d.ts +2 -2
- package/esm/MobileStepper/MobileStepper.d.ts +2 -1
- package/esm/NativeSelect/NativeSelect.d.ts +2 -1
- package/esm/NativeSelect/NativeSelectInput.d.ts +1 -1
- package/esm/OutlinedInput/NotchedOutline.d.ts +1 -1
- package/esm/OutlinedInput/OutlinedInput.d.ts +3 -1
- package/esm/Pagination/Pagination.d.ts +1 -1
- package/esm/Popover/Popover.d.ts +3 -2
- package/esm/Radio/Radio.d.ts +2 -1
- package/esm/Rating/Rating.d.ts +1 -1
- package/esm/Select/Select.d.ts +2 -1
- package/esm/Select/SelectInput.d.ts +1 -1
- package/esm/Skeleton/Skeleton.d.ts +1 -1
- package/esm/Snackbar/Snackbar.d.ts +1 -1
- package/esm/SnackbarContent/SnackbarContent.d.ts +1 -1
- package/esm/SnackbarContent/SnackbarContent.js +2 -5
- package/esm/SpeedDial/SpeedDial.d.ts +1 -1
- package/esm/SpeedDialAction/SpeedDialAction.d.ts +1 -1
- package/esm/SpeedDialIcon/SpeedDialIcon.d.ts +1 -1
- package/esm/StepConnector/StepConnector.d.ts +1 -1
- package/esm/StepContent/StepContent.d.ts +2 -1
- package/esm/StepIcon/StepIcon.d.ts +2 -1
- package/esm/StepLabel/StepLabel.d.ts +2 -2
- package/esm/Switch/Switch.d.ts +2 -1
- package/esm/Tab/Tab.d.ts +1 -1
- package/esm/TabScrollButton/TabScrollButton.d.ts +2 -1
- package/esm/Table/Table.d.ts +1 -1
- package/esm/TableBody/TableBody.d.ts +1 -1
- package/esm/TableCell/TableCell.d.ts +2 -1
- package/esm/TableContainer/TableContainer.d.ts +1 -1
- package/esm/TableFooter/TableFooter.d.ts +1 -1
- package/esm/TableHead/TableHead.d.ts +1 -1
- package/esm/TablePagination/TablePagination.d.ts +1 -1
- package/esm/TablePagination/TablePagination.js +1 -1
- package/esm/{TablePagination → TablePaginationActions}/TablePaginationActions.d.ts +11 -0
- package/esm/{TablePagination → TablePaginationActions}/TablePaginationActions.js +60 -27
- package/esm/TablePaginationActions/index.d.ts +4 -0
- package/esm/TablePaginationActions/index.js +2 -0
- package/esm/TablePaginationActions/tablePaginationActionsClasses.d.ts +8 -0
- package/esm/TablePaginationActions/tablePaginationActionsClasses.js +7 -0
- package/esm/TableRow/TableRow.d.ts +1 -1
- package/esm/TableSortLabel/TableSortLabel.d.ts +1 -1
- package/esm/TextField/TextField.d.ts +2 -2
- package/esm/ToggleButton/ToggleButton.d.ts +1 -1
- package/esm/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/esm/Toolbar/Toolbar.d.ts +1 -1
- package/esm/Tooltip/Tooltip.d.ts +2 -1
- package/esm/index.d.ts +3 -43
- package/esm/index.js +3 -1
- package/esm/internal/SwitchBase.d.ts +1 -1
- package/esm/internal/index.d.ts +17 -0
- package/esm/internal/index.js +1 -0
- package/esm/styles/components.d.ts +5 -0
- package/esm/styles/index.d.ts +19 -0
- package/esm/styles/overrides.d.ts +2 -0
- package/esm/styles/props.d.ts +2 -0
- package/esm/useAutocomplete/useAutocomplete.js +0 -1
- package/esm/version/index.js +2 -2
- package/index.d.ts +3 -43
- package/index.js +20 -1
- package/internal/SwitchBase.d.ts +1 -1
- package/internal/index.d.ts +17 -0
- package/internal/index.js +5 -0
- package/package.json +6 -6
- package/styles/components.d.ts +5 -0
- package/styles/index.d.ts +19 -0
- package/styles/overrides.d.ts +2 -0
- package/styles/props.d.ts +2 -0
- package/useAutocomplete/useAutocomplete.js +0 -1
- package/version/index.js +2 -2
package/ImageList/ImageList.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 { 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 {
|
|
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 {
|
|
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
|
/**
|
package/InputBase/InputBase.d.ts
CHANGED
|
@@ -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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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 {
|
|
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
|
|
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 {
|
package/Popover/Popover.d.ts
CHANGED
|
@@ -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
|
|
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 {
|
|
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";
|
package/Rating/Rating.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 { RatingClasses } from "./ratingClasses.js";
|
|
6
6
|
import { OverridableComponent, OverrideProps } from "../OverridableComponent/index.js";
|
|
7
7
|
import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
package/Select/Select.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import {
|
|
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";
|
package/Select/SelectInput.d.ts
CHANGED
package/Skeleton/Skeleton.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 { SkeletonClasses } from "./skeletonClasses.js";
|
|
7
7
|
export interface SkeletonPropsVariantOverrides {}
|
package/Snackbar/Snackbar.d.ts
CHANGED
|
@@ -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(
|
|
43
|
-
backgroundColor: theme.vars ? theme.vars.palette.SnackbarContent.bg :
|
|
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,
|
package/SpeedDial/SpeedDial.d.ts
CHANGED
|
@@ -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";
|
package/StepIcon/StepIcon.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import {
|
|
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
|
package/StepLabel/StepLabel.d.ts
CHANGED
|
@@ -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 {
|
package/Switch/Switch.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 {
|
|
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 {
|
|
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 {}
|
package/TableBody/TableBody.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, OverrideProps } from "../OverridableComponent/index.js";
|
|
5
5
|
import { TableBodyClasses } from "./tableBodyClasses.js";
|
|
6
6
|
export interface TableBodyOwnProps {
|
package/TableCell/TableCell.d.ts
CHANGED
|
@@ -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 {
|
|
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 {
|
package/TableHead/TableHead.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, 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 "
|
|
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("
|
|
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;
|