@mui/material 7.3.1 → 7.3.3
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 +3 -3
- package/AccordionSummary/AccordionSummary.d.ts +3 -3
- package/Alert/Alert.d.ts +6 -6
- package/Avatar/Avatar.d.ts +3 -3
- package/Backdrop/Backdrop.d.ts +2 -2
- package/Badge/Badge.d.ts +2 -2
- package/BottomNavigationAction/BottomNavigationAction.d.ts +2 -2
- package/CHANGELOG.md +153 -4
- package/CardActionArea/CardActionArea.d.ts +2 -2
- package/CardHeader/CardHeader.d.ts +6 -6
- package/Checkbox/Checkbox.d.ts +2 -2
- package/Chip/Chip.d.ts +2 -2
- package/Chip/Chip.js +2 -2
- package/CircularProgress/CircularProgress.d.ts +6 -0
- package/CircularProgress/CircularProgress.js +31 -4
- package/CircularProgress/circularProgressClasses.d.ts +2 -0
- package/CircularProgress/circularProgressClasses.js +1 -1
- package/Dialog/Dialog.d.ts +5 -5
- package/Divider/Divider.js +1 -1
- package/Drawer/Drawer.d.ts +6 -6
- package/Drawer/Drawer.js +5 -1
- package/InputBase/InputBase.js +1 -1
- package/ListItem/ListItem.js +1 -1
- package/ListItemText/ListItemText.d.ts +2 -2
- package/Menu/Menu.d.ts +5 -5
- package/MenuItem/MenuItem.js +1 -1
- package/MobileStepper/MobileStepper.d.ts +4 -4
- package/OutlinedInput/OutlinedInput.js +1 -1
- package/PaginationItem/PaginationItem.d.ts +36 -4
- package/Popover/Popover.d.ts +5 -5
- package/Popover/Popover.js +2 -2
- package/Radio/Radio.d.ts +2 -2
- package/Rating/Rating.d.ts +5 -5
- package/Slider/Slider.js +1 -1
- package/Snackbar/Snackbar.d.ts +3 -3
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SpeedDial/SpeedDial.d.ts +2 -2
- package/SpeedDialAction/SpeedDialAction.d.ts +4 -4
- package/StepContent/StepContent.d.ts +1 -1
- package/StepLabel/StepLabel.d.ts +3 -3
- package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/Switch/Switch.d.ts +5 -5
- package/TablePagination/TablePagination.d.ts +10 -10
- package/TablePagination/TablePagination.js +3 -3
- package/TablePaginationActions/TablePaginationActions.d.ts +2 -2
- package/TablePaginationActions/TablePaginationActions.js +2 -2
- package/Tabs/Tabs.d.ts +8 -8
- package/Tabs/Tabs.js +5 -0
- package/TextField/TextField.d.ts +6 -6
- package/TextField/TextField.js +1 -1
- package/Tooltip/Tooltip.d.ts +4 -4
- package/esm/Accordion/Accordion.d.ts +3 -3
- package/esm/AccordionSummary/AccordionSummary.d.ts +3 -3
- package/esm/Alert/Alert.d.ts +6 -6
- package/esm/Avatar/Avatar.d.ts +3 -3
- package/esm/Backdrop/Backdrop.d.ts +2 -2
- package/esm/Badge/Badge.d.ts +2 -2
- package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +2 -2
- package/esm/CardActionArea/CardActionArea.d.ts +2 -2
- package/esm/CardHeader/CardHeader.d.ts +6 -6
- package/esm/Checkbox/Checkbox.d.ts +2 -2
- package/esm/Chip/Chip.d.ts +2 -2
- package/esm/Chip/Chip.js +2 -2
- package/esm/CircularProgress/CircularProgress.d.ts +6 -0
- package/esm/CircularProgress/CircularProgress.js +32 -5
- package/esm/CircularProgress/circularProgressClasses.d.ts +2 -0
- package/esm/CircularProgress/circularProgressClasses.js +1 -1
- package/esm/Dialog/Dialog.d.ts +5 -5
- package/esm/Divider/Divider.js +1 -1
- package/esm/Drawer/Drawer.d.ts +6 -6
- package/esm/Drawer/Drawer.js +5 -1
- package/esm/InputBase/InputBase.js +1 -1
- package/esm/ListItem/ListItem.js +1 -1
- package/esm/ListItemText/ListItemText.d.ts +2 -2
- package/esm/Menu/Menu.d.ts +5 -5
- package/esm/MenuItem/MenuItem.js +1 -1
- package/esm/MobileStepper/MobileStepper.d.ts +4 -4
- package/esm/OutlinedInput/OutlinedInput.js +1 -1
- package/esm/PaginationItem/PaginationItem.d.ts +36 -4
- package/esm/Popover/Popover.d.ts +5 -5
- package/esm/Popover/Popover.js +2 -2
- package/esm/Radio/Radio.d.ts +2 -2
- package/esm/Rating/Rating.d.ts +5 -5
- package/esm/Slider/Slider.js +1 -1
- package/esm/Snackbar/Snackbar.d.ts +3 -3
- package/esm/SnackbarContent/SnackbarContent.js +1 -1
- package/esm/SpeedDial/SpeedDial.d.ts +2 -2
- package/esm/SpeedDialAction/SpeedDialAction.d.ts +4 -4
- package/esm/StepContent/StepContent.d.ts +1 -1
- package/esm/StepLabel/StepLabel.d.ts +3 -3
- package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/esm/Switch/Switch.d.ts +5 -5
- package/esm/TablePagination/TablePagination.d.ts +10 -10
- package/esm/TablePagination/TablePagination.js +3 -3
- package/esm/TablePaginationActions/TablePaginationActions.d.ts +2 -2
- package/esm/TablePaginationActions/TablePaginationActions.js +2 -2
- package/esm/Tabs/Tabs.d.ts +8 -8
- package/esm/Tabs/Tabs.js +5 -0
- package/esm/TextField/TextField.d.ts +6 -6
- package/esm/TextField/TextField.js +1 -1
- package/esm/Tooltip/Tooltip.d.ts +4 -4
- package/esm/index.js +1 -1
- package/esm/internal/SwitchBase.d.ts +1 -1
- package/esm/locale/amET.d.ts +2 -0
- package/esm/locale/amET.js +73 -0
- package/esm/locale/arEG.d.ts +2 -0
- package/esm/locale/arEG.js +73 -0
- package/esm/locale/arSA.d.ts +2 -0
- package/esm/locale/arSA.js +73 -0
- package/esm/locale/arSD.d.ts +2 -0
- package/esm/locale/arSD.js +73 -0
- package/esm/locale/azAZ.d.ts +2 -0
- package/esm/locale/azAZ.js +77 -0
- package/esm/locale/beBY.d.ts +2 -0
- package/esm/locale/beBY.js +85 -0
- package/esm/locale/bgBG.d.ts +2 -0
- package/esm/locale/bgBG.js +70 -0
- package/esm/locale/bnBD.d.ts +2 -0
- package/esm/locale/bnBD.js +73 -0
- package/esm/locale/caES.d.ts +2 -0
- package/esm/locale/caES.js +70 -0
- package/esm/locale/csCZ.d.ts +2 -0
- package/esm/locale/csCZ.js +81 -0
- package/esm/locale/daDK.d.ts +2 -0
- package/esm/locale/daDK.js +73 -0
- package/esm/locale/deDE.d.ts +2 -0
- package/esm/locale/deDE.js +73 -0
- package/esm/locale/elGR.d.ts +2 -0
- package/esm/locale/elGR.js +75 -0
- package/esm/locale/enUS.d.ts +2 -0
- package/esm/locale/enUS.js +61 -0
- package/esm/locale/esES.d.ts +2 -0
- package/esm/locale/esES.js +73 -0
- package/esm/locale/etEE.d.ts +2 -0
- package/esm/locale/etEE.js +73 -0
- package/esm/locale/faIR.d.ts +2 -0
- package/esm/locale/faIR.js +78 -0
- package/esm/locale/fiFI.d.ts +2 -0
- package/esm/locale/fiFI.js +73 -0
- package/esm/locale/frFR.d.ts +2 -0
- package/esm/locale/frFR.js +73 -0
- package/esm/locale/heIL.d.ts +2 -0
- package/esm/locale/heIL.js +73 -0
- package/esm/locale/hiIN.d.ts +2 -0
- package/esm/locale/hiIN.js +73 -0
- package/esm/locale/hrHR.d.ts +2 -0
- package/esm/locale/hrHR.js +81 -0
- package/esm/locale/huHU.d.ts +2 -0
- package/esm/locale/huHU.js +70 -0
- package/esm/locale/hyAM.d.ts +2 -0
- package/esm/locale/hyAM.js +70 -0
- package/esm/locale/idID.d.ts +2 -0
- package/esm/locale/idID.js +70 -0
- package/esm/locale/index.d.ts +60 -82
- package/esm/locale/index.js +60 -4327
- package/esm/locale/isIS.d.ts +2 -0
- package/esm/locale/isIS.js +73 -0
- package/esm/locale/itIT.d.ts +2 -0
- package/esm/locale/itIT.js +73 -0
- package/esm/locale/jaJP.d.ts +2 -0
- package/esm/locale/jaJP.js +73 -0
- package/esm/locale/khKH.d.ts +2 -0
- package/esm/locale/khKH.js +73 -0
- package/esm/locale/kkKZ.d.ts +2 -0
- package/esm/locale/kkKZ.js +76 -0
- package/esm/locale/koKR.d.ts +2 -0
- package/esm/locale/koKR.js +73 -0
- package/esm/locale/kuCKB.d.ts +2 -0
- package/esm/locale/kuCKB.js +73 -0
- package/esm/locale/kuLatn.d.ts +2 -0
- package/esm/locale/kuLatn.js +73 -0
- package/esm/locale/mkMK.d.ts +2 -0
- package/esm/locale/mkMK.js +77 -0
- package/esm/locale/msMS.d.ts +2 -0
- package/esm/locale/msMS.js +77 -0
- package/esm/locale/myMY.d.ts +2 -0
- package/esm/locale/myMY.js +77 -0
- package/esm/locale/nbNO.d.ts +2 -0
- package/esm/locale/nbNO.js +73 -0
- package/esm/locale/neNP.d.ts +2 -0
- package/esm/locale/neNP.js +77 -0
- package/esm/locale/nlNL.d.ts +2 -0
- package/esm/locale/nlNL.js +73 -0
- package/esm/locale/nnNO.d.ts +2 -0
- package/esm/locale/nnNO.js +73 -0
- package/esm/locale/plPL.d.ts +2 -0
- package/esm/locale/plPL.js +82 -0
- package/esm/locale/psAF.d.ts +2 -0
- package/esm/locale/psAF.js +73 -0
- package/esm/locale/ptBR.d.ts +2 -0
- package/esm/locale/ptBR.js +73 -0
- package/esm/locale/ptPT.d.ts +2 -0
- package/esm/locale/ptPT.js +73 -0
- package/esm/locale/roRO.d.ts +2 -0
- package/esm/locale/roRO.js +73 -0
- package/esm/locale/ruRU.d.ts +2 -0
- package/esm/locale/ruRU.js +85 -0
- package/esm/locale/siLK.d.ts +2 -0
- package/esm/locale/siLK.js +73 -0
- package/esm/locale/skSK.d.ts +2 -0
- package/esm/locale/skSK.js +81 -0
- package/esm/locale/srRS.d.ts +2 -0
- package/esm/locale/srRS.js +81 -0
- package/esm/locale/svSE.d.ts +2 -0
- package/esm/locale/svSE.js +73 -0
- package/esm/locale/thTH.d.ts +2 -0
- package/esm/locale/thTH.js +73 -0
- package/esm/locale/tlTL.d.ts +2 -0
- package/esm/locale/tlTL.js +74 -0
- package/esm/locale/trTR.d.ts +2 -0
- package/esm/locale/trTR.js +73 -0
- package/esm/locale/ukUA.d.ts +2 -0
- package/esm/locale/ukUA.js +82 -0
- package/esm/locale/urPK.d.ts +2 -0
- package/esm/locale/urPK.js +73 -0
- package/esm/locale/utils/LocaleTextApi.d.ts +23 -0
- package/esm/locale/utils/LocaleTextApi.js +1 -0
- package/esm/locale/viVN.d.ts +2 -0
- package/esm/locale/viVN.js +73 -0
- package/esm/locale/zhCN.d.ts +2 -0
- package/esm/locale/zhCN.js +51 -0
- package/esm/locale/zhHK.d.ts +2 -0
- package/esm/locale/zhHK.js +51 -0
- package/esm/locale/zhTW.d.ts +2 -0
- package/esm/locale/zhTW.js +51 -0
- package/esm/styles/createColorScheme.js +2 -2
- package/esm/styles/createTheme.js +2 -2
- package/esm/useAutocomplete/useAutocomplete.js +2 -2
- package/esm/utils/shouldSpreadAdditionalProps.js +1 -1
- package/esm/version/index.js +2 -2
- package/index.js +1 -1
- package/internal/SwitchBase.d.ts +1 -1
- package/locale/amET.d.ts +2 -0
- package/locale/amET.js +79 -0
- package/locale/arEG.d.ts +2 -0
- package/locale/arEG.js +79 -0
- package/locale/arSA.d.ts +2 -0
- package/locale/arSA.js +79 -0
- package/locale/arSD.d.ts +2 -0
- package/locale/arSD.js +79 -0
- package/locale/azAZ.d.ts +2 -0
- package/locale/azAZ.js +83 -0
- package/locale/beBY.d.ts +2 -0
- package/locale/beBY.js +91 -0
- package/locale/bgBG.d.ts +2 -0
- package/locale/bgBG.js +76 -0
- package/locale/bnBD.d.ts +2 -0
- package/locale/bnBD.js +79 -0
- package/locale/caES.d.ts +2 -0
- package/locale/caES.js +76 -0
- package/locale/csCZ.d.ts +2 -0
- package/locale/csCZ.js +87 -0
- package/locale/daDK.d.ts +2 -0
- package/locale/daDK.js +79 -0
- package/locale/deDE.d.ts +2 -0
- package/locale/deDE.js +79 -0
- package/locale/elGR.d.ts +2 -0
- package/locale/elGR.js +81 -0
- package/locale/enUS.d.ts +2 -0
- package/locale/enUS.js +67 -0
- package/locale/esES.d.ts +2 -0
- package/locale/esES.js +79 -0
- package/locale/etEE.d.ts +2 -0
- package/locale/etEE.js +79 -0
- package/locale/faIR.d.ts +2 -0
- package/locale/faIR.js +84 -0
- package/locale/fiFI.d.ts +2 -0
- package/locale/fiFI.js +79 -0
- package/locale/frFR.d.ts +2 -0
- package/locale/frFR.js +79 -0
- package/locale/heIL.d.ts +2 -0
- package/locale/heIL.js +79 -0
- package/locale/hiIN.d.ts +2 -0
- package/locale/hiIN.js +79 -0
- package/locale/hrHR.d.ts +2 -0
- package/locale/hrHR.js +87 -0
- package/locale/huHU.d.ts +2 -0
- package/locale/huHU.js +76 -0
- package/locale/hyAM.d.ts +2 -0
- package/locale/hyAM.js +76 -0
- package/locale/idID.d.ts +2 -0
- package/locale/idID.js +76 -0
- package/locale/index.d.ts +60 -82
- package/locale/index.js +660 -4328
- package/locale/isIS.d.ts +2 -0
- package/locale/isIS.js +79 -0
- package/locale/itIT.d.ts +2 -0
- package/locale/itIT.js +79 -0
- package/locale/jaJP.d.ts +2 -0
- package/locale/jaJP.js +79 -0
- package/locale/khKH.d.ts +2 -0
- package/locale/khKH.js +79 -0
- package/locale/kkKZ.d.ts +2 -0
- package/locale/kkKZ.js +82 -0
- package/locale/koKR.d.ts +2 -0
- package/locale/koKR.js +79 -0
- package/locale/kuCKB.d.ts +2 -0
- package/locale/kuCKB.js +79 -0
- package/locale/kuLatn.d.ts +2 -0
- package/locale/kuLatn.js +79 -0
- package/locale/mkMK.d.ts +2 -0
- package/locale/mkMK.js +83 -0
- package/locale/msMS.d.ts +2 -0
- package/locale/msMS.js +83 -0
- package/locale/myMY.d.ts +2 -0
- package/locale/myMY.js +83 -0
- package/locale/nbNO.d.ts +2 -0
- package/locale/nbNO.js +79 -0
- package/locale/neNP.d.ts +2 -0
- package/locale/neNP.js +83 -0
- package/locale/nlNL.d.ts +2 -0
- package/locale/nlNL.js +79 -0
- package/locale/nnNO.d.ts +2 -0
- package/locale/nnNO.js +79 -0
- package/locale/plPL.d.ts +2 -0
- package/locale/plPL.js +88 -0
- package/locale/psAF.d.ts +2 -0
- package/locale/psAF.js +79 -0
- package/locale/ptBR.d.ts +2 -0
- package/locale/ptBR.js +79 -0
- package/locale/ptPT.d.ts +2 -0
- package/locale/ptPT.js +79 -0
- package/locale/roRO.d.ts +2 -0
- package/locale/roRO.js +79 -0
- package/locale/ruRU.d.ts +2 -0
- package/locale/ruRU.js +91 -0
- package/locale/siLK.d.ts +2 -0
- package/locale/siLK.js +79 -0
- package/locale/skSK.d.ts +2 -0
- package/locale/skSK.js +87 -0
- package/locale/srRS.d.ts +2 -0
- package/locale/srRS.js +87 -0
- package/locale/svSE.d.ts +2 -0
- package/locale/svSE.js +79 -0
- package/locale/thTH.d.ts +2 -0
- package/locale/thTH.js +79 -0
- package/locale/tlTL.d.ts +2 -0
- package/locale/tlTL.js +80 -0
- package/locale/trTR.d.ts +2 -0
- package/locale/trTR.js +79 -0
- package/locale/ukUA.d.ts +2 -0
- package/locale/ukUA.js +88 -0
- package/locale/urPK.d.ts +2 -0
- package/locale/urPK.js +79 -0
- package/locale/utils/LocaleTextApi.d.ts +23 -0
- package/locale/utils/LocaleTextApi.js +5 -0
- package/locale/viVN.d.ts +2 -0
- package/locale/viVN.js +79 -0
- package/locale/zhCN.d.ts +2 -0
- package/locale/zhCN.js +57 -0
- package/locale/zhHK.d.ts +2 -0
- package/locale/zhHK.js +57 -0
- package/locale/zhTW.d.ts +2 -0
- package/locale/zhTW.js +57 -0
- package/package.json +36 -37
- package/styles/createColorScheme.js +2 -2
- package/styles/createTheme.js +2 -2
- package/useAutocomplete/useAutocomplete.js +2 -2
- package/utils/shouldSpreadAdditionalProps.js +1 -1
- package/version/index.js +2 -2
- package/esm/utils/isHostComponent.d.ts +0 -6
- package/esm/utils/isHostComponent.js +0 -7
- package/utils/isHostComponent.d.ts +0 -6
- package/utils/isHostComponent.js +0 -13
package/Drawer/Drawer.d.ts
CHANGED
|
@@ -45,27 +45,27 @@ export interface DrawerSlots {
|
|
|
45
45
|
export type DrawerSlotsAndSlotProps = CreateSlotsAndSlotProps<DrawerSlots, {
|
|
46
46
|
/**
|
|
47
47
|
* Props forwarded to the root slot.
|
|
48
|
-
* By default, the
|
|
48
|
+
* By default, the available props are based on the [Modal](https://mui.com/material-ui/api/modal/#props) component.
|
|
49
49
|
*/
|
|
50
50
|
root: SlotProps<React.ElementType<ModalProps>, DrawerRootSlotPropsOverrides, DrawerOwnerState>;
|
|
51
51
|
/**
|
|
52
52
|
* Props forwarded to the backdrop slot.
|
|
53
|
-
* By default, the
|
|
53
|
+
* By default, the available props are based on the [Backdrop](https://mui.com/material-ui/api/backdrop/#props) component.
|
|
54
54
|
*/
|
|
55
55
|
backdrop: SlotProps<React.ElementType<BackdropProps>, DrawerBackdropSlotPropsOverrides, DrawerOwnerState>;
|
|
56
56
|
/**
|
|
57
57
|
* Props forwarded to the docked slot.
|
|
58
|
-
* By default, the
|
|
58
|
+
* By default, the available props are based on a div element.
|
|
59
59
|
*/
|
|
60
60
|
docked: SlotProps<'div', DrawerDockedSlotPropsOverrides, DrawerOwnerState>;
|
|
61
61
|
/**
|
|
62
62
|
* Props forwarded to the paper slot.
|
|
63
|
-
* By default, the
|
|
63
|
+
* By default, the available props are based on the [Paper](https://mui.com/material-ui/api/paper/#props) component.
|
|
64
64
|
*/
|
|
65
65
|
paper: SlotProps<React.ElementType<PaperProps>, DrawerPaperSlotPropsOverrides, DrawerOwnerState>;
|
|
66
66
|
/**
|
|
67
67
|
* Props forwarded to the transition slot.
|
|
68
|
-
* By default, the
|
|
68
|
+
* By default, the available props are based on the [Slide](https://mui.com/material-ui/api/slide/#props) component.
|
|
69
69
|
*/
|
|
70
70
|
transition: SlotProps<React.ElementType, TransitionProps & DrawerTransitionSlotPropsOverrides, DrawerOwnerState>;
|
|
71
71
|
}>;
|
|
@@ -137,7 +137,7 @@ export interface DrawerProps extends StandardProps<ModalProps, 'open' | 'childre
|
|
|
137
137
|
variant?: 'permanent' | 'persistent' | 'temporary';
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
// omit `slots` and `slotProps` to prevent
|
|
140
|
+
// omit `slots` and `slotProps` to prevent recursion
|
|
141
141
|
export interface DrawerOwnerState extends Omit<DrawerProps, 'slots' | 'slotProps'> {}
|
|
142
142
|
|
|
143
143
|
/**
|
package/Drawer/Drawer.js
CHANGED
|
@@ -281,7 +281,11 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
|
|
|
281
281
|
externalForwardedProps,
|
|
282
282
|
additionalProps: {
|
|
283
283
|
elevation: variant === 'temporary' ? elevation : 0,
|
|
284
|
-
square: true
|
|
284
|
+
square: true,
|
|
285
|
+
...(variant === 'temporary' && {
|
|
286
|
+
role: 'dialog',
|
|
287
|
+
'aria-modal': 'true'
|
|
288
|
+
})
|
|
285
289
|
}
|
|
286
290
|
});
|
|
287
291
|
const [DockedSlot, dockedSlotProps] = (0, _useSlot.default)('docked', {
|
package/InputBase/InputBase.js
CHANGED
|
@@ -14,8 +14,8 @@ var _clsx = _interopRequireDefault(require("clsx"));
|
|
|
14
14
|
var _elementTypeAcceptingRef = _interopRequireDefault(require("@mui/utils/elementTypeAcceptingRef"));
|
|
15
15
|
var _refType = _interopRequireDefault(require("@mui/utils/refType"));
|
|
16
16
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
17
|
+
var _isHostComponent = _interopRequireDefault(require("@mui/utils/isHostComponent"));
|
|
17
18
|
var _TextareaAutosize = _interopRequireDefault(require("../TextareaAutosize"));
|
|
18
|
-
var _isHostComponent = _interopRequireDefault(require("../utils/isHostComponent"));
|
|
19
19
|
var _formControlState = _interopRequireDefault(require("../FormControl/formControlState"));
|
|
20
20
|
var _FormControlContext = _interopRequireDefault(require("../FormControl/FormControlContext"));
|
|
21
21
|
var _useFormControl = _interopRequireDefault(require("../FormControl/useFormControl"));
|
package/ListItem/ListItem.js
CHANGED
|
@@ -13,7 +13,7 @@ var _clsx = _interopRequireDefault(require("clsx"));
|
|
|
13
13
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
14
14
|
var _elementTypeAcceptingRef = _interopRequireDefault(require("@mui/utils/elementTypeAcceptingRef"));
|
|
15
15
|
var _chainPropTypes = _interopRequireDefault(require("@mui/utils/chainPropTypes"));
|
|
16
|
-
var _isHostComponent = _interopRequireDefault(require("
|
|
16
|
+
var _isHostComponent = _interopRequireDefault(require("@mui/utils/isHostComponent"));
|
|
17
17
|
var _zeroStyled = require("../zero-styled");
|
|
18
18
|
var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
|
|
19
19
|
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
@@ -24,12 +24,12 @@ export interface ListItemTextSlots {
|
|
|
24
24
|
}
|
|
25
25
|
export type ListItemTextSlotsAndSlotProps = CreateSlotsAndSlotProps<ListItemTextSlots, {
|
|
26
26
|
/**
|
|
27
|
-
* Props
|
|
27
|
+
* Props forwarded to the root slot.
|
|
28
28
|
* By default, the available props are based on `div` element.
|
|
29
29
|
*/
|
|
30
30
|
root: SlotProps<'div', {}, ListItemTextOwnerState>;
|
|
31
31
|
/**
|
|
32
|
-
* Props
|
|
32
|
+
* Props forwarded to the primary slot (as long as disableTypography is not `true`)
|
|
33
33
|
* By default, the available props are based on the [Typography](https://mui.com/material-ui/api/typography/#props) component
|
|
34
34
|
*/
|
|
35
35
|
primary: SlotProps<React.ElementType<TypographyProps>, {}, ListItemTextOwnerState>;
|
package/Menu/Menu.d.ts
CHANGED
|
@@ -45,29 +45,29 @@ export interface MenuSlots {
|
|
|
45
45
|
export type MenuSlotsAndSlotProps = CreateSlotsAndSlotProps<MenuSlots, {
|
|
46
46
|
/**
|
|
47
47
|
* Props forwarded to the root slot.
|
|
48
|
-
* By default, the
|
|
48
|
+
* By default, the available props are based on the [Popover](https://mui.com/material-ui/api/popover/#props) component.
|
|
49
49
|
*/
|
|
50
50
|
root: SlotProps<React.ElementType<ModalProps>, MenuRootSlotPropsOverrides, MenuOwnerState>;
|
|
51
51
|
/**
|
|
52
52
|
* Props forwarded to the paper slot.
|
|
53
|
-
* By default, the
|
|
53
|
+
* By default, the available props are based on the [Paper](https://mui.com/material-ui/api/paper/#props) component.
|
|
54
54
|
*/
|
|
55
55
|
paper: SlotProps<React.ElementType<PaperProps>, MenuPaperSlotPropsOverrides, MenuOwnerState>;
|
|
56
56
|
/**
|
|
57
57
|
* Props forwarded to the list slot.
|
|
58
|
-
* By default, the
|
|
58
|
+
* By default, the available props are based on the [MenuList](https://mui.com/material-ui/api/menu-list/#props) component.
|
|
59
59
|
*/
|
|
60
60
|
list: SlotProps<React.ElementType<MenuListProps>, MenuListSlotPropsOverrides, MenuOwnerState>;
|
|
61
61
|
/**
|
|
62
62
|
* Props forwarded to the transition slot.
|
|
63
|
-
* By default, the
|
|
63
|
+
* By default, the available props are based on the [Grow](https://mui.com/material-ui/api/grow/#props) component.
|
|
64
64
|
*/
|
|
65
65
|
transition: SlotComponentProps<
|
|
66
66
|
// use SlotComponentProps because transition slot does not support `component` and `sx` prop
|
|
67
67
|
React.ElementType, TransitionProps & MenuTransitionSlotPropsOverrides, MenuOwnerState>;
|
|
68
68
|
/**
|
|
69
69
|
* Props forwarded to the backdrop slot.
|
|
70
|
-
* By default, the
|
|
70
|
+
* By default, the available props are based on the [Backdrop](https://mui.com/material-ui/api/backdrop/#props) component.
|
|
71
71
|
*/
|
|
72
72
|
backdrop: SlotProps<React.ElementType<BackdropProps>, MenuBackdropSlotPropsOverrides, MenuOwnerState>;
|
|
73
73
|
}>;
|
package/MenuItem/MenuItem.js
CHANGED
|
@@ -272,7 +272,7 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes /* remove-proptypes *
|
|
|
272
272
|
/**
|
|
273
273
|
* @ignore
|
|
274
274
|
*/
|
|
275
|
-
role: _propTypes.default
|
|
275
|
+
role: _propTypes.default.string,
|
|
276
276
|
/**
|
|
277
277
|
* If `true`, the component is selected.
|
|
278
278
|
* @default false
|
|
@@ -35,22 +35,22 @@ export interface MobileStepperDotSlotPropsOverrides {}
|
|
|
35
35
|
export type MobileStepperSlotsAndSlotProps = CreateSlotsAndSlotProps<MobileStepperSlots, {
|
|
36
36
|
/**
|
|
37
37
|
* Props forwarded to the root slot.
|
|
38
|
-
* By default, the
|
|
38
|
+
* By default, the available props are based on the [Paper](https://mui.com/material-ui/api/paper/#props) component.
|
|
39
39
|
*/
|
|
40
40
|
root: SlotProps<React.ElementType<PaperProps>, MobileStepperRootSlotPropsOverrides, MobileStepperOwnerState>;
|
|
41
41
|
/**
|
|
42
42
|
* Props forwarded to the progress slot.
|
|
43
|
-
* By default, the
|
|
43
|
+
* By default, the available props are based on the [LinearProgress](https://mui.com/material-ui/api/linear-progress/#props) component.
|
|
44
44
|
*/
|
|
45
45
|
progress: SlotProps<React.ElementType<LinearProgressProps>, MobileStepperProgressSlotPropsOverrides, MobileStepperOwnerState>;
|
|
46
46
|
/**
|
|
47
47
|
* Props forwarded to the dots slot.
|
|
48
|
-
* By default, the
|
|
48
|
+
* By default, the available props are based on the div element.
|
|
49
49
|
*/
|
|
50
50
|
dots: SlotProps<'div', MobileStepperDotsSlotPropsOverrides, MobileStepperOwnerState>;
|
|
51
51
|
/**
|
|
52
52
|
* Props forwarded to the dot slot.
|
|
53
|
-
* By default, the
|
|
53
|
+
* By default, the available props are based on the div element.
|
|
54
54
|
*/
|
|
55
55
|
dot: SlotProps<'div', MobileStepperDotSlotPropsOverrides, MobileStepperOwnerState>;
|
|
56
56
|
}>;
|
|
@@ -74,7 +74,7 @@ const OutlinedInputRoot = (0, _zeroStyled.styled)(_InputBase.InputBaseRoot, {
|
|
|
74
74
|
}
|
|
75
75
|
})), {
|
|
76
76
|
props: {},
|
|
77
|
-
// to
|
|
77
|
+
// to override the above style
|
|
78
78
|
style: {
|
|
79
79
|
[`&.${_outlinedInputClasses.default.error} .${_outlinedInputClasses.default.notchedOutline}`]: {
|
|
80
80
|
borderColor: (theme.vars || theme).palette.error.main
|
|
@@ -9,17 +9,49 @@ import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
|
|
|
9
9
|
export interface PaginationItemPropsVariantOverrides {}
|
|
10
10
|
export interface PaginationItemPropsSizeOverrides {}
|
|
11
11
|
export interface PaginationItemPropsColorOverrides {}
|
|
12
|
+
export interface PaginationItemFirstSlotPropsOverrides {}
|
|
13
|
+
export interface PaginationItemLastSlotPropsOverrides {}
|
|
14
|
+
export interface PaginationItemNextSlotPropsOverrides {}
|
|
15
|
+
export interface PaginationItemPreviousSlotPropsOverrides {}
|
|
12
16
|
export interface PaginationItemSlots {
|
|
17
|
+
/**
|
|
18
|
+
* The component that renders the first page slot.
|
|
19
|
+
* @default FirstPageIcon
|
|
20
|
+
*/
|
|
13
21
|
first: React.ElementType;
|
|
22
|
+
/**
|
|
23
|
+
* The component that renders the last page slot.
|
|
24
|
+
* @default LastPageIcon
|
|
25
|
+
*/
|
|
14
26
|
last: React.ElementType;
|
|
27
|
+
/**
|
|
28
|
+
* The component that renders the next page slot.
|
|
29
|
+
* @default NavigateNextIcon
|
|
30
|
+
*/
|
|
15
31
|
next: React.ElementType;
|
|
32
|
+
/**
|
|
33
|
+
* The component that renders the previous page slot.
|
|
34
|
+
* @default NavigateBeforeIcon
|
|
35
|
+
*/
|
|
16
36
|
previous: React.ElementType;
|
|
17
37
|
}
|
|
18
38
|
export type PaginationItemSlotsAndSlotProps = CreateSlotsAndSlotProps<PaginationItemSlots, {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
39
|
+
/**
|
|
40
|
+
* Props forwarded to the first page slot.
|
|
41
|
+
*/
|
|
42
|
+
first: SlotProps<React.ElementType<React.HTMLProps<HTMLElement>>, PaginationItemFirstSlotPropsOverrides, PaginationItemOwnerState>;
|
|
43
|
+
/**
|
|
44
|
+
* Props forwarded to the last page slot.
|
|
45
|
+
*/
|
|
46
|
+
last: SlotProps<React.ElementType<React.HTMLProps<HTMLElement>>, PaginationItemLastSlotPropsOverrides, PaginationItemOwnerState>;
|
|
47
|
+
/**
|
|
48
|
+
* Props forwarded to the next page slot.
|
|
49
|
+
*/
|
|
50
|
+
next: SlotProps<React.ElementType<React.HTMLProps<HTMLElement>>, PaginationItemNextSlotPropsOverrides, PaginationItemOwnerState>;
|
|
51
|
+
/**
|
|
52
|
+
* Props forwarded to the previous page slot.
|
|
53
|
+
*/
|
|
54
|
+
previous: SlotProps<React.ElementType<React.HTMLProps<HTMLElement>>, PaginationItemPreviousSlotPropsOverrides, PaginationItemOwnerState>;
|
|
23
55
|
}>;
|
|
24
56
|
export interface PaginationItemOwnerState extends PaginationItemProps {}
|
|
25
57
|
export interface PaginationItemOwnProps extends PaginationItemSlotsAndSlotProps {
|
package/Popover/Popover.d.ts
CHANGED
|
@@ -38,24 +38,24 @@ export interface PopoverBackdropSlotPropsOverrides {}
|
|
|
38
38
|
export type PopoverSlotsAndSlotProps = CreateSlotsAndSlotProps<PopoverSlots, {
|
|
39
39
|
/**
|
|
40
40
|
* Props forwarded to the root slot.
|
|
41
|
-
* By default, the
|
|
41
|
+
* By default, the available props are based on the [Modal](https://mui.com/material-ui/api/modal/#props) component.
|
|
42
42
|
*/
|
|
43
43
|
root: SlotProps<typeof Modal, PopoverRootSlotPropsOverrides, PopoverOwnerState>;
|
|
44
44
|
/**
|
|
45
45
|
* Props forwarded to the paper slot.
|
|
46
|
-
* By default, the
|
|
46
|
+
* By default, the available props are based on the [Paper](https://mui.com/material-ui/api/paper/#props) component.
|
|
47
47
|
*/
|
|
48
48
|
paper: SlotProps<typeof Paper, PopoverPaperSlotPropsOverrides, PopoverOwnerState>;
|
|
49
49
|
/**
|
|
50
50
|
* Props forwarded to the transition slot.
|
|
51
|
-
* By default, the
|
|
51
|
+
* By default, the available props are based on the [Grow](https://mui.com/material-ui/api/grow/#props) component.
|
|
52
52
|
*/
|
|
53
53
|
transition: SlotComponentProps<
|
|
54
54
|
// use SlotComponentProps because transition slot does not support `component` and `sx` prop
|
|
55
55
|
React.ElementType, TransitionProps & PopoverTransitionSlotPropsOverrides, PopoverOwnerState>;
|
|
56
56
|
/**
|
|
57
57
|
* Props forwarded to the backdrop slot.
|
|
58
|
-
* By default, the
|
|
58
|
+
* By default, the available props are based on the [Backdrop](https://mui.com/material-ui/api/backdrop/#props) component.
|
|
59
59
|
*/
|
|
60
60
|
backdrop: SlotProps<React.ElementType<BackdropProps>, PopoverBackdropSlotPropsOverrides, PopoverOwnerState>;
|
|
61
61
|
}>;
|
|
@@ -163,7 +163,7 @@ export interface PopoverProps extends StandardProps<Omit<ModalProps, 'slots' | '
|
|
|
163
163
|
/**
|
|
164
164
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
165
165
|
*
|
|
166
|
-
* This prop is an alias for `slotProps.paper` and will be
|
|
166
|
+
* This prop is an alias for `slotProps.paper` and will be overridden by it if both are used.
|
|
167
167
|
* @deprecated Use `slotProps.paper` instead.
|
|
168
168
|
*
|
|
169
169
|
* @default {}
|
package/Popover/Popover.js
CHANGED
|
@@ -18,7 +18,7 @@ var _refType = _interopRequireDefault(require("@mui/utils/refType"));
|
|
|
18
18
|
var _elementTypeAcceptingRef = _interopRequireDefault(require("@mui/utils/elementTypeAcceptingRef"));
|
|
19
19
|
var _integerPropType = _interopRequireDefault(require("@mui/utils/integerPropType"));
|
|
20
20
|
var _chainPropTypes = _interopRequireDefault(require("@mui/utils/chainPropTypes"));
|
|
21
|
-
var _isHostComponent = _interopRequireDefault(require("
|
|
21
|
+
var _isHostComponent = _interopRequireDefault(require("@mui/utils/isHostComponent"));
|
|
22
22
|
var _zeroStyled = require("../zero-styled");
|
|
23
23
|
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
24
24
|
var _debounce = _interopRequireDefault(require("../utils/debounce"));
|
|
@@ -515,7 +515,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
515
515
|
/**
|
|
516
516
|
* Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
|
|
517
517
|
*
|
|
518
|
-
* This prop is an alias for `slotProps.paper` and will be
|
|
518
|
+
* This prop is an alias for `slotProps.paper` and will be overridden by it if both are used.
|
|
519
519
|
* @deprecated Use `slotProps.paper` instead.
|
|
520
520
|
*
|
|
521
521
|
* @default {}
|
package/Radio/Radio.d.ts
CHANGED
|
@@ -25,12 +25,12 @@ export interface RadioSlots {
|
|
|
25
25
|
export type RadioSlotsAndSlotProps = CreateSlotsAndSlotProps<RadioSlots, {
|
|
26
26
|
/**
|
|
27
27
|
* Props forwarded to the root slot.
|
|
28
|
-
* By default, the
|
|
28
|
+
* By default, the available props are based on the span element.
|
|
29
29
|
*/
|
|
30
30
|
root: SlotProps<React.ElementType<SwitchBaseProps>, RadioRootSlotPropsOverrides, RadioOwnerState>;
|
|
31
31
|
/**
|
|
32
32
|
* Props forwarded to the input slot.
|
|
33
|
-
* By default, the
|
|
33
|
+
* By default, the available props are based on the input element.
|
|
34
34
|
*/
|
|
35
35
|
input: SlotProps<'input', RadioInputSlotPropsOverrides, RadioOwnerState>;
|
|
36
36
|
}>;
|
package/Rating/Rating.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export interface RatingSlots {
|
|
|
30
30
|
*/
|
|
31
31
|
icon: React.ElementType;
|
|
32
32
|
/**
|
|
33
|
-
* The component used
|
|
33
|
+
* The component used for the decimal slot.
|
|
34
34
|
* @default 'span'
|
|
35
35
|
*/
|
|
36
36
|
decimal: React.ElementType;
|
|
@@ -38,22 +38,22 @@ export interface RatingSlots {
|
|
|
38
38
|
export type RatingSlotsAndSlotProps = CreateSlotsAndSlotProps<RatingSlots, {
|
|
39
39
|
/**
|
|
40
40
|
* Props forwarded to the root slot.
|
|
41
|
-
* By default, the
|
|
41
|
+
* By default, the available props are based on the span element.
|
|
42
42
|
*/
|
|
43
43
|
root: SlotProps<'span', RatingRootSlotPropsOverrides, RatingOwnerState>;
|
|
44
44
|
/**
|
|
45
45
|
* Props forwarded to the label slot.
|
|
46
|
-
* By default, the
|
|
46
|
+
* By default, the available props are based on the label element.
|
|
47
47
|
*/
|
|
48
48
|
label: SlotProps<'label', RatingLabelSlotPropsOverrides, RatingOwnerState>;
|
|
49
49
|
/**
|
|
50
50
|
* Props forwarded to the icon slot.
|
|
51
|
-
* By default, the
|
|
51
|
+
* By default, the available props are based on the span element.
|
|
52
52
|
*/
|
|
53
53
|
icon: SlotProps<'span', RatingIconSlotPropsOverrides, RatingOwnerState>;
|
|
54
54
|
/**
|
|
55
55
|
* Props forwarded to the decimal slot.
|
|
56
|
-
* By default, the
|
|
56
|
+
* By default, the available props are based on the span element.
|
|
57
57
|
*/
|
|
58
58
|
decimal: SlotProps<'span', RatingDecimalSlotPropsOverrides, RatingOwnerState>;
|
|
59
59
|
}>;
|
package/Slider/Slider.js
CHANGED
|
@@ -14,8 +14,8 @@ var _chainPropTypes = _interopRequireDefault(require("@mui/utils/chainPropTypes"
|
|
|
14
14
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
15
|
var _RtlProvider = require("@mui/system/RtlProvider");
|
|
16
16
|
var _useSlotProps = _interopRequireDefault(require("@mui/utils/useSlotProps"));
|
|
17
|
+
var _isHostComponent = _interopRequireDefault(require("@mui/utils/isHostComponent"));
|
|
17
18
|
var _useSlider = require("./useSlider");
|
|
18
|
-
var _isHostComponent = _interopRequireDefault(require("../utils/isHostComponent"));
|
|
19
19
|
var _zeroStyled = require("../zero-styled");
|
|
20
20
|
var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
|
|
21
21
|
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
package/Snackbar/Snackbar.d.ts
CHANGED
|
@@ -37,17 +37,17 @@ export interface SnackbarTransitionSlotPropsOverrides {}
|
|
|
37
37
|
export type SnackbarSlotsAndSlotProps = CreateSlotsAndSlotProps<SnackbarSlots, {
|
|
38
38
|
/**
|
|
39
39
|
* Props forwarded to the root slot.
|
|
40
|
-
* By default, the
|
|
40
|
+
* By default, the available props are based on the div element.
|
|
41
41
|
*/
|
|
42
42
|
root: SlotProps<'div', SnackbarRootSlotPropsOverrides, SnackbarOwnerState>;
|
|
43
43
|
/**
|
|
44
44
|
* Props forwarded to the content slot.
|
|
45
|
-
* By default, the
|
|
45
|
+
* By default, the available props are based on the [SnackbarContent](https://mui.com/material-ui/api/snackbar-content/#props) component.
|
|
46
46
|
*/
|
|
47
47
|
content: SlotProps<React.ElementType<SnackbarContentProps>, SnackbarContentSlotPropsOverrides, SnackbarOwnerState>;
|
|
48
48
|
/**
|
|
49
49
|
* Props forwarded to the clickAwayListener slot.
|
|
50
|
-
* By default, the
|
|
50
|
+
* By default, the available props are based on the [ClickAwayListener](https://mui.com/material-ui/api/click-away-listener/#props) component.
|
|
51
51
|
*/
|
|
52
52
|
clickAwayListener: SlotComponentProps<typeof ClickAwayListener, SnackbarClickAwayListenerSlotPropsOverrides, SnackbarOwnerState>;
|
|
53
53
|
/**
|
|
@@ -124,7 +124,7 @@ process.env.NODE_ENV !== "production" ? SnackbarContent.propTypes /* remove-prop
|
|
|
124
124
|
* The ARIA role attribute of the element.
|
|
125
125
|
* @default 'alert'
|
|
126
126
|
*/
|
|
127
|
-
role: _propTypes.default
|
|
127
|
+
role: _propTypes.default.string,
|
|
128
128
|
/**
|
|
129
129
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
130
130
|
*/
|
package/SpeedDial/SpeedDial.d.ts
CHANGED
|
@@ -24,12 +24,12 @@ export interface SpeedDialSlots {
|
|
|
24
24
|
export type SpeedDialSlotsAndSlotProps = CreateSlotsAndSlotProps<SpeedDialSlots, {
|
|
25
25
|
/**
|
|
26
26
|
* Props forwarded to the root slot.
|
|
27
|
-
* By default, the
|
|
27
|
+
* By default, the available props are based on div element.
|
|
28
28
|
*/
|
|
29
29
|
root: SlotComponentProps<'div', React.HTMLAttributes<HTMLDivElement>, SpeedDialOwnerState>;
|
|
30
30
|
/**
|
|
31
31
|
* Props forwarded to the transition slot.
|
|
32
|
-
* By default, the
|
|
32
|
+
* By default, the available props are based on the [Zoom](https://mui.com/material-ui/api/zoom/#props) component.
|
|
33
33
|
*/
|
|
34
34
|
transition: SlotComponentProps<React.ElementType, TransitionProps, SpeedDialOwnerState>;
|
|
35
35
|
}>;
|
|
@@ -35,22 +35,22 @@ export interface SpeedDialActionStaticTooltipLabelSlotPropsOverrides {}
|
|
|
35
35
|
export type SpeedDialActionSlotsAndSlotProps = CreateSlotsAndSlotProps<SpeedDialActionSlots, {
|
|
36
36
|
/**
|
|
37
37
|
* Props forwarded to the fab slot.
|
|
38
|
-
* By default, the
|
|
38
|
+
* By default, the available props are based on the [Fab](https://mui.com/material-ui/api/fab/#props) component.
|
|
39
39
|
*/
|
|
40
40
|
fab: SlotProps<React.ElementType<FabProps>, SpeedDialActionFabSlotPropsOverrides, SpeedDialActionOwnerState>;
|
|
41
41
|
/**
|
|
42
42
|
* Props forwarded to the tooltip slot.
|
|
43
|
-
* By default, the
|
|
43
|
+
* By default, the available props are based on the [Tooltip](https://mui.com/material-ui/api/tooltip/#props) component.
|
|
44
44
|
*/
|
|
45
45
|
tooltip: SlotProps<React.ElementType<TooltipProps>, SpeedDialActionTooltipSlotPropsOverrides, SpeedDialActionOwnerState>;
|
|
46
46
|
/**
|
|
47
47
|
* Props forwarded to the static tooltip slot.
|
|
48
|
-
* By default, the
|
|
48
|
+
* By default, the available props are based on a span element.
|
|
49
49
|
*/
|
|
50
50
|
staticTooltip: SlotProps<'span', SpeedDialActionStaticTooltipSlotPropsOverrides, SpeedDialActionOwnerState>;
|
|
51
51
|
/**
|
|
52
52
|
* Props forwarded to the static tooltip label slot.
|
|
53
|
-
* By default, the
|
|
53
|
+
* By default, the available props are based on a span element.
|
|
54
54
|
*/
|
|
55
55
|
staticTooltipLabel: SlotProps<'span', SpeedDialActionStaticTooltipLabelSlotPropsOverrides, SpeedDialActionOwnerState>;
|
|
56
56
|
}>;
|
|
@@ -18,7 +18,7 @@ export interface StepContentSlots {
|
|
|
18
18
|
}
|
|
19
19
|
export type StepContentSlotsAndSlotProps = CreateSlotsAndSlotProps<StepContentSlots, {
|
|
20
20
|
/**
|
|
21
|
-
* Props
|
|
21
|
+
* Props forwarded to the transition slot.
|
|
22
22
|
* By default, the available props are based on the [Collapse](https://mui.com/material-ui/api/collapse/#props) component
|
|
23
23
|
*/
|
|
24
24
|
transition: SlotComponentProps<React.ElementType, CollapseProps, StepContentOwnerState>;
|
package/StepLabel/StepLabel.d.ts
CHANGED
|
@@ -24,17 +24,17 @@ export interface StepLabelSlots {
|
|
|
24
24
|
export type StepLabelSlotsAndSlotProps = CreateSlotsAndSlotProps<StepLabelSlots, {
|
|
25
25
|
/**
|
|
26
26
|
* Props forwarded to the root slot.
|
|
27
|
-
* By default, the
|
|
27
|
+
* By default, the available props are based on the span element.
|
|
28
28
|
*/
|
|
29
29
|
root: SlotProps<'span', {}, StepLabelOwnerState>;
|
|
30
30
|
/**
|
|
31
31
|
* Props forwarded to the label slot.
|
|
32
|
-
* By default, the
|
|
32
|
+
* By default, the available props are based on the span element.
|
|
33
33
|
*/
|
|
34
34
|
label: SlotProps<'span', {}, StepLabelOwnerState>;
|
|
35
35
|
/**
|
|
36
36
|
* Props forwarded to the stepIcon slot.
|
|
37
|
-
* By default, the
|
|
37
|
+
* By default, the available props are based on the div element.
|
|
38
38
|
*/
|
|
39
39
|
stepIcon: SlotProps<React.ElementType<StepIconProps>, {}, StepLabelOwnerState>;
|
|
40
40
|
}>;
|
|
@@ -12,7 +12,7 @@ export interface SwipeableDrawerSlots {
|
|
|
12
12
|
type SwipeableDrawerSlotsAndSlotProps = DrawerSlotsAndSlotProps & CreateSlotsAndSlotProps<SwipeableDrawerSlots, {
|
|
13
13
|
/**
|
|
14
14
|
* Props forwarded to the docked slot.
|
|
15
|
-
* By default, the
|
|
15
|
+
* By default, the available props are based on a div element.
|
|
16
16
|
*/
|
|
17
17
|
swipeArea: SlotProps<'div', SwipeableDrawerSwipeAreaSlotPropsOverrides, DrawerOwnerState>;
|
|
18
18
|
}>;
|
package/Switch/Switch.d.ts
CHANGED
|
@@ -43,27 +43,27 @@ export interface SwitchSlots {
|
|
|
43
43
|
export type SwitchSlotsAndSlotProps = CreateSlotsAndSlotProps<SwitchSlots, {
|
|
44
44
|
/**
|
|
45
45
|
* Props forwarded to the root slot.
|
|
46
|
-
* By default, the
|
|
46
|
+
* By default, the available props are based on the span element.
|
|
47
47
|
*/
|
|
48
48
|
root: SlotProps<'span', SwitchRootSlotPropsOverrides, SwitchOwnerState>;
|
|
49
49
|
/**
|
|
50
50
|
* Props forwarded to the track slot.
|
|
51
|
-
* By default, the
|
|
51
|
+
* By default, the available props are based on the span element.
|
|
52
52
|
*/
|
|
53
53
|
track: SlotProps<'span', SwitchTrackSlotPropsOverrides, SwitchOwnerState>;
|
|
54
54
|
/**
|
|
55
55
|
* Props forwarded to the thumb slot.
|
|
56
|
-
* By default, the
|
|
56
|
+
* By default, the available props are based on the span element.
|
|
57
57
|
*/
|
|
58
58
|
thumb: SlotProps<'span', SwitchThumbSlotPropsOverrides, SwitchOwnerState>;
|
|
59
59
|
/**
|
|
60
60
|
* Props forwarded to the switchBase slot.
|
|
61
|
-
* By default, the
|
|
61
|
+
* By default, the available props are based on the internal SwitchBase component.
|
|
62
62
|
*/
|
|
63
63
|
switchBase: SlotProps<React.ElementType<SwitchBaseProps>, SwitchSwitchBaseSlotPropsOverrides, SwitchOwnerState>;
|
|
64
64
|
/**
|
|
65
65
|
* Props forwarded to the input slot.
|
|
66
|
-
* By default, the
|
|
66
|
+
* By default, the available props are based on the input element.
|
|
67
67
|
*/
|
|
68
68
|
input: SlotProps<'input', SwitchInputSlotPropsOverrides, SwitchOwnerState>;
|
|
69
69
|
}>;
|
|
@@ -72,37 +72,37 @@ export interface TablePaginationSlots {
|
|
|
72
72
|
export type TablePaginationSlotsAndSlotProps = CreateSlotsAndSlotProps<TablePaginationSlots, {
|
|
73
73
|
/**
|
|
74
74
|
* Props forwarded to the root slot.
|
|
75
|
-
* By default, the
|
|
75
|
+
* By default, the available props are based on the [TableCell](https://mui.com/material-ui/api/table-cell/#props) component.
|
|
76
76
|
*/
|
|
77
77
|
root: SlotProps<React.ElementType<TableCellProps>, TablePaginationRootSlotPropsOverrides, TablePaginationOwnerState>;
|
|
78
78
|
/**
|
|
79
79
|
* Props forwarded to the toolbar slot.
|
|
80
|
-
* By default, the
|
|
80
|
+
* By default, the available props are based on the [Toolbar](https://mui.com/material-ui/api/toolbar/#props) component.
|
|
81
81
|
*/
|
|
82
82
|
toolbar: SlotProps<React.ElementType<ToolbarProps>, TablePaginationToolbarSlotPropsOverrides, TablePaginationOwnerState>;
|
|
83
83
|
/**
|
|
84
84
|
* Props forwarded to the spacer slot.
|
|
85
|
-
* By default, the
|
|
85
|
+
* By default, the available props are based on the div element.
|
|
86
86
|
*/
|
|
87
87
|
spacer: SlotProps<'div', TablePaginationSpacerSlotPropsOverrides, TablePaginationOwnerState>;
|
|
88
88
|
/**
|
|
89
89
|
* Props forwarded to the selectLabel slot.
|
|
90
|
-
* By default, the
|
|
90
|
+
* By default, the available props are based on the paragraph element.
|
|
91
91
|
*/
|
|
92
92
|
selectLabel: SlotProps<'p', TablePaginationSelectLabelSlotPropsOverrides, TablePaginationOwnerState>;
|
|
93
93
|
/**
|
|
94
94
|
* Props forwarded to the select slot.
|
|
95
|
-
* By default, the
|
|
95
|
+
* By default, the available props are based on the [Select](https://mui.com/material-ui/api/select/#props) component.
|
|
96
96
|
*/
|
|
97
97
|
select: Partial<SelectProps> & TablePaginationSelectSlotPropsOverrides;
|
|
98
98
|
/**
|
|
99
99
|
* Props forwarded to the menuItem slot.
|
|
100
|
-
* By default, the
|
|
100
|
+
* By default, the available props are based on the [MenuItem](https://mui.com/material-ui/api/menu-item/#props) component.
|
|
101
101
|
*/
|
|
102
102
|
menuItem: SlotProps<React.ElementType<MenuItemProps>, TablePaginationMenuItemSlotPropsOverrides, TablePaginationOwnerState>;
|
|
103
103
|
/**
|
|
104
104
|
* Props forwarded to the displayedRows slot.
|
|
105
|
-
* By default, the
|
|
105
|
+
* By default, the available props are based on the paragraph element.
|
|
106
106
|
*/
|
|
107
107
|
displayedRows: SlotProps<'p', TablePaginationDisplayedRowsSlotPropsOverrides, TablePaginationOwnerState>;
|
|
108
108
|
/**
|
|
@@ -125,7 +125,7 @@ export interface TablePaginationOwnProps extends TablePaginationBaseProps {
|
|
|
125
125
|
/**
|
|
126
126
|
* Props applied to the back arrow [`IconButton`](https://mui.com/material-ui/api/icon-button/) component.
|
|
127
127
|
*
|
|
128
|
-
* This prop is an alias for `slotProps.actions.previousButton` and will be
|
|
128
|
+
* This prop is an alias for `slotProps.actions.previousButton` and will be overridden by it if both are used.
|
|
129
129
|
* @deprecated Use `slotProps.actions.previousButton` instead.
|
|
130
130
|
*/
|
|
131
131
|
backIconButtonProps?: Partial<IconButtonProps>;
|
|
@@ -176,7 +176,7 @@ export interface TablePaginationOwnProps extends TablePaginationBaseProps {
|
|
|
176
176
|
/**
|
|
177
177
|
* Props applied to the next arrow [`IconButton`](https://mui.com/material-ui/api/icon-button/) element.
|
|
178
178
|
*
|
|
179
|
-
* This prop is an alias for `slotProps.actions.nextButton` and will be
|
|
179
|
+
* This prop is an alias for `slotProps.actions.nextButton` and will be overridden by it if both are used.
|
|
180
180
|
* @deprecated Use `slotProps.actions.nextButton` instead.
|
|
181
181
|
*/
|
|
182
182
|
nextIconButtonProps?: Partial<IconButtonProps>;
|
|
@@ -216,7 +216,7 @@ export interface TablePaginationOwnProps extends TablePaginationBaseProps {
|
|
|
216
216
|
/**
|
|
217
217
|
* Props applied to the rows per page [`Select`](https://mui.com/material-ui/api/select/) element.
|
|
218
218
|
*
|
|
219
|
-
* This prop is an alias for `slotProps.select` and will be
|
|
219
|
+
* This prop is an alias for `slotProps.select` and will be overridden by it if both are used.
|
|
220
220
|
* @deprecated Use `slotProps.select` instead.
|
|
221
221
|
*
|
|
222
222
|
* @default {}
|
|
@@ -323,7 +323,7 @@ process.env.NODE_ENV !== "production" ? TablePagination.propTypes /* remove-prop
|
|
|
323
323
|
/**
|
|
324
324
|
* Props applied to the back arrow [`IconButton`](https://mui.com/material-ui/api/icon-button/) component.
|
|
325
325
|
*
|
|
326
|
-
* This prop is an alias for `slotProps.actions.previousButton` and will be
|
|
326
|
+
* This prop is an alias for `slotProps.actions.previousButton` and will be overridden by it if both are used.
|
|
327
327
|
* @deprecated Use `slotProps.actions.previousButton` instead.
|
|
328
328
|
*/
|
|
329
329
|
backIconButtonProps: _propTypes.default.object,
|
|
@@ -383,7 +383,7 @@ process.env.NODE_ENV !== "production" ? TablePagination.propTypes /* remove-prop
|
|
|
383
383
|
/**
|
|
384
384
|
* Props applied to the next arrow [`IconButton`](https://mui.com/material-ui/api/icon-button/) element.
|
|
385
385
|
*
|
|
386
|
-
* This prop is an alias for `slotProps.actions.nextButton` and will be
|
|
386
|
+
* This prop is an alias for `slotProps.actions.nextButton` and will be overridden by it if both are used.
|
|
387
387
|
* @deprecated Use `slotProps.actions.nextButton` instead.
|
|
388
388
|
*/
|
|
389
389
|
nextIconButtonProps: _propTypes.default.object,
|
|
@@ -437,7 +437,7 @@ process.env.NODE_ENV !== "production" ? TablePagination.propTypes /* remove-prop
|
|
|
437
437
|
/**
|
|
438
438
|
* Props applied to the rows per page [`Select`](https://mui.com/material-ui/api/select/) element.
|
|
439
439
|
*
|
|
440
|
-
* This prop is an alias for `slotProps.select` and will be
|
|
440
|
+
* This prop is an alias for `slotProps.select` and will be overridden by it if both are used.
|
|
441
441
|
* @deprecated Use `slotProps.select` instead.
|
|
442
442
|
*
|
|
443
443
|
* @default {}
|
|
@@ -3,7 +3,7 @@ import { IconButtonProps } from "../IconButton/IconButton.js";
|
|
|
3
3
|
import { SvgIconProps } from "../SvgIcon/index.js";
|
|
4
4
|
export interface TablePaginationActionsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
/**
|
|
6
|
-
* This prop is an alias for `slotProps.previousButton` and will be
|
|
6
|
+
* This prop is an alias for `slotProps.previousButton` and will be overridden by it if both are used.
|
|
7
7
|
* @deprecated Use `slotProps.previousButton` instead.
|
|
8
8
|
*/
|
|
9
9
|
backIconButtonProps?: Partial<IconButtonProps>;
|
|
@@ -28,7 +28,7 @@ export interface TablePaginationActionsProps extends React.HTMLAttributes<HTMLDi
|
|
|
28
28
|
*/
|
|
29
29
|
getItemAriaLabel: (type: 'first' | 'last' | 'next' | 'previous') => string;
|
|
30
30
|
/**
|
|
31
|
-
* This prop is an alias for `slotProps.nextButton` and will be
|
|
31
|
+
* This prop is an alias for `slotProps.nextButton` and will be overridden by it if both are used.
|
|
32
32
|
* @deprecated Use `slotProps.nextButton` instead.
|
|
33
33
|
*/
|
|
34
34
|
nextIconButtonProps?: Partial<IconButtonProps>;
|