@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/esm/Chip/Chip.js
CHANGED
|
@@ -15,6 +15,7 @@ import memoTheme from "../utils/memoTheme.js";
|
|
|
15
15
|
import createSimplePaletteValueFilter from "../utils/createSimplePaletteValueFilter.js";
|
|
16
16
|
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
|
|
17
17
|
import chipClasses, { getChipUtilityClass } from "./chipClasses.js";
|
|
18
|
+
import useSlot from "../utils/useSlot.js";
|
|
18
19
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
20
|
const useUtilityClasses = ownerState => {
|
|
20
21
|
const {
|
|
@@ -371,6 +372,8 @@ const Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
|
|
|
371
372
|
tabIndex,
|
|
372
373
|
skipFocusWhenDisabled = false,
|
|
373
374
|
// TODO v6: Rename to `focusableWhenDisabled`.
|
|
375
|
+
slots = {},
|
|
376
|
+
slotProps = {},
|
|
374
377
|
...other
|
|
375
378
|
} = props;
|
|
376
379
|
const chipRef = React.useRef(null);
|
|
@@ -452,21 +455,53 @@ const Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
|
|
|
452
455
|
console.error('MUI: The Chip component can not handle the avatar ' + 'and the icon prop at the same time. Pick one.');
|
|
453
456
|
}
|
|
454
457
|
}
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
458
|
+
const externalForwardedProps = {
|
|
459
|
+
slots,
|
|
460
|
+
slotProps
|
|
461
|
+
};
|
|
462
|
+
const [RootSlot, rootProps] = useSlot('root', {
|
|
463
|
+
elementType: ChipRoot,
|
|
464
|
+
externalForwardedProps: {
|
|
465
|
+
...externalForwardedProps,
|
|
466
|
+
...other
|
|
467
|
+
},
|
|
468
|
+
ownerState,
|
|
469
|
+
// The `component` prop is preserved because `Chip` relies on it for internal logic. If `shouldForwardComponentProp` were `false`, `useSlot` would remove the `component` prop, potentially breaking the component's behavior.
|
|
470
|
+
shouldForwardComponentProp: true,
|
|
462
471
|
ref: handleRef,
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
472
|
+
className: clsx(classes.root, className),
|
|
473
|
+
additionalProps: {
|
|
474
|
+
disabled: clickable && disabled ? true : undefined,
|
|
475
|
+
tabIndex: skipFocusWhenDisabled && disabled ? -1 : tabIndex,
|
|
476
|
+
...moreProps
|
|
477
|
+
},
|
|
478
|
+
getSlotProps: handlers => ({
|
|
479
|
+
...handlers,
|
|
480
|
+
onClick: event => {
|
|
481
|
+
handlers.onClick?.(event);
|
|
482
|
+
onClick(event);
|
|
483
|
+
},
|
|
484
|
+
onKeyDown: event => {
|
|
485
|
+
handlers.onKeyDown?.(event);
|
|
486
|
+
handleKeyDown(event);
|
|
487
|
+
},
|
|
488
|
+
onKeyUp: event => {
|
|
489
|
+
handlers.onKeyUp?.(event);
|
|
490
|
+
handleKeyUp(event);
|
|
491
|
+
}
|
|
492
|
+
})
|
|
493
|
+
});
|
|
494
|
+
const [LabelSlot, labelProps] = useSlot('label', {
|
|
495
|
+
elementType: ChipLabel,
|
|
496
|
+
externalForwardedProps,
|
|
497
|
+
ownerState,
|
|
498
|
+
className: classes.label
|
|
499
|
+
});
|
|
500
|
+
return /*#__PURE__*/_jsxs(RootSlot, {
|
|
501
|
+
as: component,
|
|
502
|
+
...rootProps,
|
|
503
|
+
children: [avatar || icon, /*#__PURE__*/_jsx(LabelSlot, {
|
|
504
|
+
...labelProps,
|
|
470
505
|
children: label
|
|
471
506
|
}), deleteIcon]
|
|
472
507
|
});
|
|
@@ -559,6 +594,22 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes /* remove-proptypes */ =
|
|
|
559
594
|
* @default false
|
|
560
595
|
*/
|
|
561
596
|
skipFocusWhenDisabled: PropTypes.bool,
|
|
597
|
+
/**
|
|
598
|
+
* The props used for each slot inside.
|
|
599
|
+
* @default {}
|
|
600
|
+
*/
|
|
601
|
+
slotProps: PropTypes.shape({
|
|
602
|
+
label: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
603
|
+
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
604
|
+
}),
|
|
605
|
+
/**
|
|
606
|
+
* The components used for each slot inside.
|
|
607
|
+
* @default {}
|
|
608
|
+
*/
|
|
609
|
+
slots: PropTypes.shape({
|
|
610
|
+
label: PropTypes.elementType,
|
|
611
|
+
root: PropTypes.elementType
|
|
612
|
+
}),
|
|
562
613
|
/**
|
|
563
614
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
564
615
|
*/
|
|
@@ -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 { CircularProgressClasses } from "./circularProgressClasses.js";
|
|
6
7
|
export interface CircularProgressPropsColorOverrides {}
|
|
7
8
|
export interface CircularProgressPropsVariantOverrides {}
|
|
@@ -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 { TransitionProps } from "../transitions/transition.js";
|
|
5
6
|
import { CollapseClasses } from "./collapseClasses.js";
|
|
6
7
|
export interface CollapseProps extends StandardProps<TransitionProps, 'timeout'> {
|
package/esm/Dialog/Dialog.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps, Breakpoint } from '@mui/system';
|
|
3
|
-
import {
|
|
3
|
+
import { Theme } from "../styles/index.js";
|
|
4
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
4
5
|
import { BackdropProps } from "../Backdrop/index.js";
|
|
5
6
|
import { PaperProps } from "../Paper/index.js";
|
|
6
7
|
import { ModalProps } from "../Modal/index.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 { DialogActionsClasses } from "./dialogActionsClasses.js";
|
|
5
6
|
export interface DialogActionsProps 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 { DialogContentClasses } from "./dialogContentClasses.js";
|
|
5
6
|
export interface DialogContentProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
6
7
|
/**
|
package/esm/Divider/Divider.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { OverridableStringUnion } from '@mui/types';
|
|
3
3
|
import { SxProps } from '@mui/system';
|
|
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 { DividerClasses } from "./dividerClasses.js";
|
|
7
7
|
export interface DividerPropsVariantOverrides {}
|
package/esm/Drawer/Drawer.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 { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
5
6
|
import { ModalProps } from "../Modal/index.js";
|
|
6
7
|
import { BackdropProps } from "../Backdrop/index.js";
|
package/esm/Fab/Fab.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { OverridableStringUnion } from '@mui/types';
|
|
3
3
|
import { SxProps } from '@mui/system';
|
|
4
|
-
import { PropTypes, Theme } from "../index.js";
|
|
4
|
+
import { PropTypes, 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 { FabClasses } from "./fabClasses.js";
|
|
@@ -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 { FilledInputClasses } from "./filledInputClasses.js";
|
|
5
6
|
export interface FilledInputProps extends StandardProps<InputBaseProps> {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme
|
|
3
|
+
import { Theme } from "../styles/index.js";
|
|
4
|
+
import { InternalStandardProps as StandardProps } from "../internal/index.js";
|
|
4
5
|
import Typography, { TypographyProps } from "../Typography/index.js";
|
|
5
6
|
import { FormControlLabelClasses } from "./formControlLabelClasses.js";
|
|
6
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 {
|
|
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 {
|
|
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/esm/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
|
/**
|
|
@@ -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/esm/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/esm/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/esm/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/esm/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/esm/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/esm/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";
|
|
@@ -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'> {
|
|
@@ -29,16 +29,14 @@ const SnackbarContentRoot = styled(Paper, {
|
|
|
29
29
|
theme
|
|
30
30
|
}) => {
|
|
31
31
|
const emphasis = theme.palette.mode === 'light' ? 0.8 : 0.98;
|
|
32
|
-
const backgroundColor = emphasize(theme.palette.background.default, emphasis);
|
|
33
32
|
return {
|
|
34
33
|
...theme.typography.body2,
|
|
35
|
-
color: theme.vars ? theme.vars.palette.SnackbarContent.color : theme.palette.getContrastText(
|
|
36
|
-
backgroundColor: theme.vars ? theme.vars.palette.SnackbarContent.bg :
|
|
34
|
+
color: theme.vars ? theme.vars.palette.SnackbarContent.color : theme.palette.getContrastText(emphasize(theme.palette.background.default, emphasis)),
|
|
35
|
+
backgroundColor: theme.vars ? theme.vars.palette.SnackbarContent.bg : emphasize(theme.palette.background.default, emphasis),
|
|
37
36
|
display: 'flex',
|
|
38
37
|
alignItems: 'center',
|
|
39
38
|
flexWrap: 'wrap',
|
|
40
39
|
padding: '6px 16px',
|
|
41
|
-
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
42
40
|
flexGrow: 1,
|
|
43
41
|
[theme.breakpoints.up('sm')]: {
|
|
44
42
|
flexGrow: 'initial',
|
|
@@ -78,7 +76,6 @@ const SnackbarContent = /*#__PURE__*/React.forwardRef(function SnackbarContent(i
|
|
|
78
76
|
const classes = useUtilityClasses(ownerState);
|
|
79
77
|
return /*#__PURE__*/_jsxs(SnackbarContentRoot, {
|
|
80
78
|
role: role,
|
|
81
|
-
square: true,
|
|
82
79
|
elevation: 6,
|
|
83
80
|
className: clsx(classes.root, className),
|
|
84
81
|
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 {
|
|
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
|