@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/Accordion/Accordion.d.ts
CHANGED
|
@@ -36,17 +36,17 @@ export interface AccordionRegionSlotPropsOverrides {}
|
|
|
36
36
|
export type AccordionSlotsAndSlotProps = CreateSlotsAndSlotProps<AccordionSlots, {
|
|
37
37
|
/**
|
|
38
38
|
* Props forwarded to the root slot.
|
|
39
|
-
* By default, the
|
|
39
|
+
* By default, the available props are based on the Paper element.
|
|
40
40
|
*/
|
|
41
41
|
root: SlotProps<React.ElementType<PaperProps>, AccordionRootSlotPropsOverrides, AccordionOwnerState>;
|
|
42
42
|
/**
|
|
43
43
|
* Props forwarded to the heading slot.
|
|
44
|
-
* By default, the
|
|
44
|
+
* By default, the available props are based on the h3 element.
|
|
45
45
|
*/
|
|
46
46
|
heading: SlotProps<'h3', AccordionHeadingSlotPropsOverrides, AccordionOwnerState>;
|
|
47
47
|
/**
|
|
48
48
|
* Props forwarded to the transition slot.
|
|
49
|
-
* By default, the
|
|
49
|
+
* By default, the available props are based on the [Collapse](https://mui.com/material-ui/api/collapse/#props) component.
|
|
50
50
|
*/
|
|
51
51
|
transition: SlotComponentProps<React.ElementType, TransitionProps & AccordionTransitionSlotPropsOverrides, AccordionOwnerState>;
|
|
52
52
|
/**
|
|
@@ -28,17 +28,17 @@ export interface AccordionSummaryExpandIconWrapperSlotPropsOverrides {}
|
|
|
28
28
|
export type AccordionSummarySlotsAndSlotProps = CreateSlotsAndSlotProps<AccordionSummarySlots, {
|
|
29
29
|
/**
|
|
30
30
|
* Props forwarded to the root slot.
|
|
31
|
-
* By default, the
|
|
31
|
+
* By default, the available props are based on the [ButtonBase](https://mui.com/material-ui/api/button-base/#props) component.
|
|
32
32
|
*/
|
|
33
33
|
root: SlotProps<React.ElementType<ButtonBaseProps>, AccordionSummaryRootSlotPropsOverrides, AccordionSummaryOwnerState>;
|
|
34
34
|
/**
|
|
35
35
|
* Props forwarded to the content slot.
|
|
36
|
-
* By default, the
|
|
36
|
+
* By default, the available props are based on a div element.
|
|
37
37
|
*/
|
|
38
38
|
content: SlotProps<'div', AccordionSummaryContentSlotPropsOverrides, AccordionSummaryOwnerState>;
|
|
39
39
|
/**
|
|
40
40
|
* Props forwarded to the expand icon wrapper slot.
|
|
41
|
-
* By default, the
|
|
41
|
+
* By default, the available props are based on a div element.
|
|
42
42
|
*/
|
|
43
43
|
expandIconWrapper: SlotProps<'div', AccordionSummaryExpandIconWrapperSlotPropsOverrides, AccordionSummaryOwnerState>;
|
|
44
44
|
}>;
|
package/Alert/Alert.d.ts
CHANGED
|
@@ -52,32 +52,32 @@ export interface AlertSlots {
|
|
|
52
52
|
export type AlertSlotsAndSlotProps = CreateSlotsAndSlotProps<AlertSlots, {
|
|
53
53
|
/**
|
|
54
54
|
* Props forwarded to the root slot.
|
|
55
|
-
* By default, the
|
|
55
|
+
* By default, the available props are based on the [Paper](https://mui.com/material-ui/api/paper/#props) component.
|
|
56
56
|
*/
|
|
57
57
|
root: SlotProps<React.ElementType<PaperProps>, AlertRootSlotPropsOverrides, AlertOwnerState>;
|
|
58
58
|
/**
|
|
59
59
|
* Props forwarded to the icon slot.
|
|
60
|
-
* By default, the
|
|
60
|
+
* By default, the available props are based on a div element.
|
|
61
61
|
*/
|
|
62
62
|
icon: SlotProps<'div', AlertIconSlotPropsOverrides, AlertOwnerState>;
|
|
63
63
|
/**
|
|
64
64
|
* Props forwarded to the message slot.
|
|
65
|
-
* By default, the
|
|
65
|
+
* By default, the available props are based on a div element.
|
|
66
66
|
*/
|
|
67
67
|
message: SlotProps<'div', AlertMessageSlotPropsOverrides, AlertOwnerState>;
|
|
68
68
|
/**
|
|
69
69
|
* Props forwarded to the action slot.
|
|
70
|
-
* By default, the
|
|
70
|
+
* By default, the available props are based on a div element.
|
|
71
71
|
*/
|
|
72
72
|
action: SlotProps<'div', AlertActionSlotPropsOverrides, AlertOwnerState>;
|
|
73
73
|
/**
|
|
74
74
|
* Props forwarded to the closeButton slot.
|
|
75
|
-
* By default, the
|
|
75
|
+
* By default, the available props are based on the [IconButton](https://mui.com/material-ui/api/icon-button/#props) component.
|
|
76
76
|
*/
|
|
77
77
|
closeButton: SlotProps<React.ElementType<IconButtonProps>, AlertCloseButtonSlotPropsOverrides, AlertOwnerState>;
|
|
78
78
|
/**
|
|
79
79
|
* Props forwarded to the closeIcon slot.
|
|
80
|
-
* By default, the
|
|
80
|
+
* By default, the available props are based on the [SvgIcon](https://mui.com/material-ui/api/svg-icon/#props) component.
|
|
81
81
|
*/
|
|
82
82
|
closeIcon: SlotProps<React.ElementType<SvgIconProps>, AlertCloseIconSlotPropsOverrides, AlertOwnerState>;
|
|
83
83
|
}>;
|
package/Avatar/Avatar.d.ts
CHANGED
|
@@ -30,17 +30,17 @@ export interface AvatarFallbackSlotPropsOverrides {}
|
|
|
30
30
|
export type AvatarSlotsAndSlotProps = CreateSlotsAndSlotProps<AvatarSlots, {
|
|
31
31
|
/**
|
|
32
32
|
* Props forwarded to the root slot.
|
|
33
|
-
* By default, the
|
|
33
|
+
* By default, the available props are based on the div element.
|
|
34
34
|
*/
|
|
35
35
|
root: SlotProps<'div', AvatarRootSlotPropsOverrides, AvatarOwnProps>;
|
|
36
36
|
/**
|
|
37
37
|
* Props forwarded to the img slot.
|
|
38
|
-
* By default, the
|
|
38
|
+
* By default, the available props are based on the img element.
|
|
39
39
|
*/
|
|
40
40
|
img: SlotProps<'img', AvatarImgSlotPropsOverrides, AvatarOwnProps>;
|
|
41
41
|
/**
|
|
42
42
|
* Props forwarded to the fallback slot.
|
|
43
|
-
* By default, the
|
|
43
|
+
* By default, the available props are based on the [SvgIcon](https://mui.com/material-ui/api/svg-icon/#props) component.
|
|
44
44
|
*/
|
|
45
45
|
fallback: SlotProps<React.ElementType<SvgIconProps>, AvatarFallbackSlotPropsOverrides, AvatarOwnProps>;
|
|
46
46
|
}>;
|
package/Backdrop/Backdrop.d.ts
CHANGED
|
@@ -24,12 +24,12 @@ export interface BackdropTransitionSlotPropsOverrides {}
|
|
|
24
24
|
export type BackdropSlotsAndSlotProps = CreateSlotsAndSlotProps<BackdropSlots, {
|
|
25
25
|
/**
|
|
26
26
|
* Props forwarded to the transition slot.
|
|
27
|
-
* By default, the
|
|
27
|
+
* By default, the available props are based on the div element.
|
|
28
28
|
*/
|
|
29
29
|
root: SlotProps<'div', BackdropComponentsPropsOverrides, BackdropOwnerState>;
|
|
30
30
|
/**
|
|
31
31
|
* Props forwarded to the transition slot.
|
|
32
|
-
* By default, the
|
|
32
|
+
* By default, the available props are based on the [Fade](https://mui.com/material-ui/api/fade/#props) component.
|
|
33
33
|
*/
|
|
34
34
|
transition: SlotComponentProps<React.ElementType, TransitionProps & BackdropTransitionSlotPropsOverrides, BackdropOwnerState>;
|
|
35
35
|
}>;
|
package/Badge/Badge.d.ts
CHANGED
|
@@ -24,12 +24,12 @@ export interface BadgeSlots {
|
|
|
24
24
|
export type BadgeSlotsAndSlotProps = CreateSlotsAndSlotProps<BadgeSlots, {
|
|
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', BadgeRootSlotPropsOverrides, BadgeOwnerState>;
|
|
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
|
badge: SlotProps<'span', BadgeBadgeSlotPropsOverrides, BadgeOwnerState>;
|
|
35
35
|
}>;
|
|
@@ -20,12 +20,12 @@ export interface BottomNavigationActionSlots {
|
|
|
20
20
|
export type BottomNavigationActionSlotsAndSlotProps = CreateSlotsAndSlotProps<BottomNavigationActionSlots, {
|
|
21
21
|
/**
|
|
22
22
|
* Props forwarded to the root slot.
|
|
23
|
-
* By default, the
|
|
23
|
+
* By default, the available props are based on the ButtonBase element.
|
|
24
24
|
*/
|
|
25
25
|
root: SlotProps<React.ElementType<ButtonBaseProps>, {}, BottomNavigationActionOwnerState>;
|
|
26
26
|
/**
|
|
27
27
|
* Props forwarded to the label slot.
|
|
28
|
-
* By default, the
|
|
28
|
+
* By default, the available props are based on the span element.
|
|
29
29
|
*/
|
|
30
30
|
label: SlotProps<'span', {}, BottomNavigationActionOwnerState>;
|
|
31
31
|
}>;
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,154 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 7.3.3
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v7.3.2..master -->
|
|
6
|
+
|
|
7
|
+
_Sep 30, 2025_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 14 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@7.3.3`
|
|
12
|
+
|
|
13
|
+
- [Autocomplete] Sync highlighted index when popup is opened (#46894) @ZeeshanTamboli
|
|
14
|
+
- [CircularProgress] Add track slot via enableTrackSlot (#46907) @monam2
|
|
15
|
+
- [locale] Split locales into separate files (#46933) @christopherschroer
|
|
16
|
+
- [Tabs] Fix not scrolling to correct tab after refresh when auto scrollable (#46869) @Jayesh-11
|
|
17
|
+
|
|
18
|
+
### Docs
|
|
19
|
+
|
|
20
|
+
- Add a guide for building extensible themes (#46896) @siriwatknp
|
|
21
|
+
- Add v7 community course to resources page (#46944) @alelthomas
|
|
22
|
+
- Improve performance of Default Theme Viewer (#46841) @sai6855
|
|
23
|
+
- Fix typo in blog component MainContent (#46868) @jonyen
|
|
24
|
+
- [Steppers] Replace TransitionProps with slotProps.transition (#46898) @sai6855
|
|
25
|
+
|
|
26
|
+
### Core
|
|
27
|
+
|
|
28
|
+
- [blog] Fix year in Punta Cana retreat post (#46943) @mapache-salvaje
|
|
29
|
+
- [blog] Punta Cana retreat post (#46892) @mapache-salvaje
|
|
30
|
+
- [code-infra] Publish from CI (#46851) @Janpot
|
|
31
|
+
- [code-infra] Convert reportBrokenLink script to ts (#47002) @brijeshb42
|
|
32
|
+
- [code-infra] Update module resolution for typescript@next (#46940) @Janpot
|
|
33
|
+
- [code-infra] Run continuous releases during ci-check (#46948) @Janpot
|
|
34
|
+
- [code-infra] Fix github actions check for continuous release (#46941) @Janpot
|
|
35
|
+
- [code-infra] Address high/critical dependabot reports (#46937) @Janpot
|
|
36
|
+
- [code-infra] Update ci.yml triggers (#46860) @Janpot
|
|
37
|
+
- [code-infra] Exact match for renovate file name (#46916) @Janpot
|
|
38
|
+
- [code-infra] Disable dependency update for `@material-ui/core` in codemod (#46899) @Janpot
|
|
39
|
+
- [code-infra] Transpile `assertion-error` in karma tests (#46909) @Janpot
|
|
40
|
+
- [code-infra] Disable browserstack on circleci cron jobs (#46905) @Janpot
|
|
41
|
+
- [code-infra] Remove `copy-files` command usage from packages (#46902) @brijeshb42
|
|
42
|
+
- [code-infra] Low-hanging ts conversion (#46903) @Janpot
|
|
43
|
+
- [code-infra] Bring batch of changes from vitest PR (#46795) @Janpot
|
|
44
|
+
- [code-infra] Remove dependency on `fs-extra` (#46755) @bernardobelchior
|
|
45
|
+
- [code-infra] Make error code extraction independent of build (#46865) @brijeshb42
|
|
46
|
+
- [docs-infra] Fix markdown generation script to find correct files (#46954) @siriwatknp
|
|
47
|
+
- [docs-infra] Fix unnecessary redirects (#46951) @Janpot
|
|
48
|
+
- [docs-infra] Remove `dangerouslySetInnerHTML` for ad description (#46936) @Janpot
|
|
49
|
+
- [docs-infra] Display "View as Markdown" only on Material UI (#46861) @siriwatknp
|
|
50
|
+
- [infra] Fix JSON files not being imported in TS demos (#47000) @bernardobelchior
|
|
51
|
+
- [infra] Turn `literal | (string & {})` to `PropTypes.string` (#46934) @siriwatknp
|
|
52
|
+
- [infra] Bump node.js version and make local usage strict (#46834) @brijeshb42
|
|
53
|
+
- [infra] Remove "main" fields from publishable packages (#46856) @brijeshb42
|
|
54
|
+
- [internal] Refactor `useForkRef` TS types: tighten `cleanupRef` and simplify ref typing (#46967) @wo-o29
|
|
55
|
+
- [internal] Fix naming to match convention (2099cb0) @oliviertassinari
|
|
56
|
+
- [internal] Fix naming to match convention (29aad62) @oliviertassinari
|
|
57
|
+
- [internal] Use same option as other repositories (eabda77) @oliviertassinari
|
|
58
|
+
- [internal] Normalize <meta name='viewport' (9d1922a) @oliviertassinari
|
|
59
|
+
- [internal] Normalize charset='utf-8' (f1aae00) @oliviertassinari
|
|
60
|
+
- [test] Split infinitive (0237fda) @oliviertassinari
|
|
61
|
+
|
|
62
|
+
All contributors of this release in alphabetical order: @alelthomas, @bernardobelchior, @brijeshb42, @christopherschroer, @Janpot, @Jayesh-11, @jonyen, @mapache-salvaje, @monam2, @oliviertassinari, @sai6855, @siriwatknp, @wo-o29, @ZeeshanTamboli
|
|
63
|
+
|
|
64
|
+
## 7.3.2
|
|
65
|
+
|
|
66
|
+
<!-- generated comparing v7.3.1..master -->
|
|
67
|
+
|
|
68
|
+
_Sep 1, 2025_
|
|
69
|
+
|
|
70
|
+
A big thanks to the 16 contributors who made this release possible.
|
|
71
|
+
|
|
72
|
+
### `@mui/material@7.3.2`
|
|
73
|
+
|
|
74
|
+
- [Chip] Remove unnecessary optional chaining from key event handlers (#46752) @ZeeshanTamboli
|
|
75
|
+
- [Drawer] Add dialog role and aria-modal for `temporary` variant (#46690) @Yashkanekar
|
|
76
|
+
- [PaginationItem] Add slot descriptions and default components in API documentation (#46677) @sai6855
|
|
77
|
+
- [utils] Remove duplicate isHostComponent function (#46721) @frontman-git
|
|
78
|
+
|
|
79
|
+
### `@mui/codemod@7.3.2`
|
|
80
|
+
|
|
81
|
+
- Add codemod to convert top-level to path imports (#46657) @neemski
|
|
82
|
+
|
|
83
|
+
### Docs
|
|
84
|
+
|
|
85
|
+
- Remove outdated Next.js lint command (#46847) @oliviertassinari
|
|
86
|
+
- Add `View as Markdown` to component link header (#46835) @siriwatknp
|
|
87
|
+
- Add a link to open `llms.txt` (#46832) @siriwatknp
|
|
88
|
+
- Fix typos in Material UI API docs (#46787) @noritaka1166
|
|
89
|
+
- Fix typo extra "to" word (#46783) @danpeleg4
|
|
90
|
+
- Remove past employees from about page (#46780) @Janpot
|
|
91
|
+
- Fix typos in `docs/pages` folder (#46761) @noritaka1166
|
|
92
|
+
- Add clarification on `react-is` resolution with Material UI v6 and v7 for React 18 and below (#46633) @alisasanib
|
|
93
|
+
- Fix typos in `joy` and `utils` package (#46713) @noritaka1166
|
|
94
|
+
- [autocomplete] Fix console in unstyled demo (#46804) @oliviertassinari
|
|
95
|
+
- [autocomplete] Fix Google Maps brand attribution (#46803) @oliviertassinari
|
|
96
|
+
- [autocomplete] Fix header sentence case (#46805) @oliviertassinari
|
|
97
|
+
- [autocomplete] Fix Google Maps demo (#46793) @oliviertassinari
|
|
98
|
+
- [Select] Fix labeling issues in grouped select demo (#46722) @mj12albert
|
|
99
|
+
- [table] Remove outdated unstyled section (#46786) @mj12albert
|
|
100
|
+
- [TextField] Add note about removal of `sizeMedium` class from InputLabel in v7 upgrade guide (#46693) @checcoux
|
|
101
|
+
|
|
102
|
+
### Core
|
|
103
|
+
|
|
104
|
+
- Update `cipher-base` transitive dependency (#46800) @Janpot
|
|
105
|
+
- [charts] Marked Treemap chart as Pro (#46691) @prakhargupta1
|
|
106
|
+
- [code-infra] Remove some csbci references (#46797) @Janpot
|
|
107
|
+
- [code-infra] update build tool (#46801) @Janpot
|
|
108
|
+
- [code-infra] Align pkg.pr.new with other projects (#46467) @Janpot
|
|
109
|
+
- [code-infra] Prepare for incoming `execa` update (#46781) @Janpot
|
|
110
|
+
- [code-infra] Remove `@mui/internal-babel-plugin-resolve-imports` override config (#46754) @ZeeshanTamboli
|
|
111
|
+
- [core] Fix typo in `docs/mui-vale` folder (#46760) @noritaka1166
|
|
112
|
+
- [core] Fix typos in `docs/data/material` folder (#46757) @noritaka1166
|
|
113
|
+
- [core] Fix typos in `netlify` folder (#46756) @noritaka1166
|
|
114
|
+
- [core] Upgrade brace-expansion (#46747) @oliviertassinari
|
|
115
|
+
- [core] Fix typos in Joy UI docs and `test` folder (#46738) @noritaka1166
|
|
116
|
+
- [core] Upgrade KaTeX (#46731) @oliviertassinari
|
|
117
|
+
- [core] Avoid Polynomial regex backtracking (#46732) @oliviertassinari
|
|
118
|
+
- [core] Remove dead @toolpad/core dependency (#46730) @oliviertassinari
|
|
119
|
+
- [core] Fix typos in `markdown` and `system` packages (#46720) @noritaka1166
|
|
120
|
+
- [core] Fix typos in `api-docs-builder` package (#46719) @noritaka1166
|
|
121
|
+
- [core] Fix typos in `codemod` package (#46715) @noritaka1166
|
|
122
|
+
- [core] pnpm prettier:all (#46685) @oliviertassinari
|
|
123
|
+
- [docs-infra] Set origin to generated `llms.txt` (#46833) @siriwatknp
|
|
124
|
+
- [docs-infra] Fix AbortController error (#46408) @oliviertassinari
|
|
125
|
+
- [docs-infra] Block than more feedback submissions (#46824) @oliviertassinari
|
|
126
|
+
- [docs-infra] Fix ESLint references (#46680) @oliviertassinari
|
|
127
|
+
- [infra] Migrate away from airbnb's eslint config (#46794) @brijeshb42
|
|
128
|
+
- [infra] Remove `fs-extra` from docs scripts (#46749) @bernardobelchior
|
|
129
|
+
- [infra] Remove dependency on `react-spring` (but keep `@react-spring/web`) (#46748) @bernardobelchior
|
|
130
|
+
- [infra] Remove `fs-extra` from `mui-icons-material` (#46745) @bernardobelchior
|
|
131
|
+
- [infra] Remove `api-docs-builder` dependency on `fs-extra` (#46742) @bernardobelchior
|
|
132
|
+
- [infra] Migrate build command to code-infra (#46614) @brijeshb42
|
|
133
|
+
- [infra] move testBuiltTypes step (#46735) @Janpot
|
|
134
|
+
- [infra] Remove `fs-extra` from `netlify-plugin-cache-docs` (#46740) @bernardobelchior
|
|
135
|
+
- [infra] Supply `document` to `userEvent.setup()` (#46714) @Janpot
|
|
136
|
+
- [infra] Remove useless test step (#46679) @Janpot
|
|
137
|
+
- [infra] Stagger daily cron jobs to avoid browserstack timeouts (#46676) @Janpot
|
|
138
|
+
- [internal] Improve useControlled() strict mode handling (#46807) @oliviertassinari
|
|
139
|
+
- [internal] Sentence case (55a9d8f) @oliviertassinari
|
|
140
|
+
- [internal] Fix typos in code comments (#46784) @noritaka1166
|
|
141
|
+
- [internal] Fix console regression in dev mode (925f02b) @oliviertassinari
|
|
142
|
+
- [internal] Prettier all if dependencies changes (1f63b03) @oliviertassinari
|
|
143
|
+
- [internal] Fix renovate.json (84be632) @oliviertassinari
|
|
144
|
+
- [internal] Polish renovate schedule (#46727) @oliviertassinari
|
|
145
|
+
- [internal] Update link to GitHub labels (8ab4813) @oliviertassinari
|
|
146
|
+
- [internal] Bump brace-expansion (06de338) @oliviertassinari
|
|
147
|
+
- [internal] Normalize Action description (4a2fbcb) @oliviertassinari
|
|
148
|
+
- [toolpad] Remove it from website and docs (#46595) @prakhargupta1
|
|
149
|
+
|
|
150
|
+
All contributors of this release in alphabetical order: @alisasanib, @bernardobelchior, @brijeshb42, @checcoux, @danpeleg4, @frontman-git, @Janpot, @mj12albert, @neemski, @noritaka1166, @oliviertassinari, @prakhargupta1, @sai6855, @siriwatknp, @Yashkanekar, @ZeeshanTamboli
|
|
151
|
+
|
|
3
152
|
## 7.3.1
|
|
4
153
|
|
|
5
154
|
<!-- generated comparing v7.3.0..master -->
|
|
@@ -71,7 +220,7 @@ A big thanks to the 24 contributors who made this release possible. Here are som
|
|
|
71
220
|
- Fix unpinned version regression (#46438) @oliviertassinari
|
|
72
221
|
- [code-infra] Accomodate build requirements from mui-x (#46551) @brijeshb42
|
|
73
222
|
- [code-infra] Extend renovate preset from infra repo (#46483) @brijeshb42
|
|
74
|
-
- [code-infra] Use flat
|
|
223
|
+
- [code-infra] Use flat ESLint config (#46258) @brijeshb42
|
|
75
224
|
- [docs-infra] Remove comment saving in G-sheet option (#46617) @alexfauquette
|
|
76
225
|
- [docs-infra] Move `Open in MUI Chat` to Demo toolbar and adjust styles (#46579) @siriwatknp
|
|
77
226
|
- [docs-infra] Fix codeblock issues (#46323) @atharva3333
|
|
@@ -143,11 +292,11 @@ A big thanks to the 17 contributors who made this release possible. Here are the
|
|
|
143
292
|
### Core
|
|
144
293
|
|
|
145
294
|
- pnpm docs:sync-team (3641a0b) @oliviertassinari
|
|
146
|
-
- Add cross-env to
|
|
295
|
+
- Add cross-env to ESLint script (#46358) @ZeeshanTamboli
|
|
147
296
|
- Support merging of className and style from theme (#45975) @sai6855
|
|
148
297
|
- [code-infra] Create bundle size package (#45911) @Janpot
|
|
149
298
|
- [docs-infra] Add a script to generate Material UI `llms.txt` and docs markdown. (#46308) @siriwatknp
|
|
150
|
-
- [docs-infra] Fix
|
|
299
|
+
- [docs-infra] Fix StackBlitz for js projects (#46220) @Janpot
|
|
151
300
|
- [infra] Add emotion as external for bundle monitor (#46372) @Janpot
|
|
152
301
|
- [infra] Create update PR on every canary publish for internal packages (#46367) @Janpot
|
|
153
302
|
- [infra] Remove deprecated esmExternals (#46365) @Janpot
|
|
@@ -225,7 +374,7 @@ A big thanks to the 15 contributors who made this release possible.
|
|
|
225
374
|
### Core
|
|
226
375
|
|
|
227
376
|
- [code-infra] Add plugin to check for index file access (#46178) @Janpot
|
|
228
|
-
- [code-infra] Bump
|
|
377
|
+
- [code-infra] Bump ESLint to v9 (#46222) @brijeshb42
|
|
229
378
|
- [code-infra] Move packages to mui/mui-public (#46155) @Janpot
|
|
230
379
|
- [code-infra] Move `chai` to peerDep (#46227) @JCQuintas
|
|
231
380
|
- [code-infra] Avoid loading barrel file during type checking (#46177) @Janpot
|
|
@@ -20,12 +20,12 @@ export interface CardActionAreaSlots {
|
|
|
20
20
|
export type CardActionAreaSlotsAndSlotProps = CreateSlotsAndSlotProps<CardActionAreaSlots, {
|
|
21
21
|
/**
|
|
22
22
|
* Props forwarded to the root slot.
|
|
23
|
-
* By default, the
|
|
23
|
+
* By default, the available props are based on the span element.
|
|
24
24
|
*/
|
|
25
25
|
root: SlotProps<React.ElementType<ButtonBaseProps>, {}, CardActionAreaOwnerState>;
|
|
26
26
|
/**
|
|
27
27
|
* Props forwarded to the focusHighlight slot.
|
|
28
|
-
* By default, the
|
|
28
|
+
* By default, the available props are based on the span element.
|
|
29
29
|
*/
|
|
30
30
|
focusHighlight: SlotProps<'span', {}, CardActionAreaOwnerState>;
|
|
31
31
|
}>;
|
|
@@ -48,32 +48,32 @@ export interface CardHeaderSlots {
|
|
|
48
48
|
export type CardHeaderSlotsAndSlotProps = CreateSlotsAndSlotProps<CardHeaderSlots, {
|
|
49
49
|
/**
|
|
50
50
|
* Props forwarded to the root slot.
|
|
51
|
-
* By default, the
|
|
51
|
+
* By default, the available props are based on the div element.
|
|
52
52
|
*/
|
|
53
53
|
root: SlotProps<'div', CardHeaderRootSlotPropsOverrides, CardHeaderOwnerState>;
|
|
54
54
|
/**
|
|
55
55
|
* Props forwarded to the avatar slot.
|
|
56
|
-
* By default, the
|
|
56
|
+
* By default, the available props are based on the div element.
|
|
57
57
|
*/
|
|
58
58
|
avatar: SlotProps<'div', CardHeaderAvatarSlotPropsOverrides, CardHeaderOwnerState>;
|
|
59
59
|
/**
|
|
60
60
|
* Props forwarded to the action slot.
|
|
61
|
-
* By default, the
|
|
61
|
+
* By default, the available props are based on the div element.
|
|
62
62
|
*/
|
|
63
63
|
action: SlotProps<'div', CardHeaderActionSlotPropsOverrides, CardHeaderOwnerState>;
|
|
64
64
|
/**
|
|
65
65
|
* Props forwarded to the content slot.
|
|
66
|
-
* By default, the
|
|
66
|
+
* By default, the available props are based on the div element.
|
|
67
67
|
*/
|
|
68
68
|
content: SlotProps<'div', CardHeaderContentSlotPropsOverrides, CardHeaderOwnerState>;
|
|
69
69
|
/**
|
|
70
70
|
* Props forwarded to the title slot (as long as disableTypography is not `true`).
|
|
71
|
-
* By default, the
|
|
71
|
+
* By default, the available props are based on the [Typography](https://mui.com/material-ui/api/typography/#props) component.
|
|
72
72
|
*/
|
|
73
73
|
title: SlotProps<React.ElementType<TypographyProps>, CardHeaderTitleSlotPropsOverrides, CardHeaderOwnerState>;
|
|
74
74
|
/**
|
|
75
75
|
* Props forwarded to the subheader slot (as long as disableTypography is not `true`).
|
|
76
|
-
* By default, the
|
|
76
|
+
* By default, the available props are based on the [Typography](https://mui.com/material-ui/api/typography/#props) component.
|
|
77
77
|
*/
|
|
78
78
|
subheader: SlotProps<React.ElementType<TypographyProps>, CardHeaderSubheaderSlotPropsOverrides, CardHeaderOwnerState>;
|
|
79
79
|
}>;
|
package/Checkbox/Checkbox.d.ts
CHANGED
|
@@ -25,12 +25,12 @@ export interface CheckboxSlots {
|
|
|
25
25
|
export type CheckboxSlotsAndSlotProps = CreateSlotsAndSlotProps<CheckboxSlots, {
|
|
26
26
|
/**
|
|
27
27
|
* Props forwarded to the root slot.
|
|
28
|
-
* By default, the
|
|
28
|
+
* By default, the available props are based on the div element.
|
|
29
29
|
*/
|
|
30
30
|
root: SlotProps<React.ElementType<SwitchBaseProps>, CheckboxRootSlotPropsOverrides, CheckboxOwnerState>;
|
|
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', CheckboxInputSlotPropsOverrides, CheckboxOwnerState>;
|
|
36
36
|
}>;
|
package/Chip/Chip.d.ts
CHANGED
|
@@ -20,12 +20,12 @@ export interface ChipSlots {
|
|
|
20
20
|
export type ChipSlotsAndSlotProps = CreateSlotsAndSlotProps<ChipSlots, {
|
|
21
21
|
/**
|
|
22
22
|
* Props forwarded to the root slot.
|
|
23
|
-
* By default, the
|
|
23
|
+
* By default, the available props are based on the div element.
|
|
24
24
|
*/
|
|
25
25
|
root: SlotProps<'div', {}, ChipOwnerState>;
|
|
26
26
|
/**
|
|
27
27
|
* Props forwarded to the label slot.
|
|
28
|
-
* By default, the
|
|
28
|
+
* By default, the available props are based on the span element.
|
|
29
29
|
*/
|
|
30
30
|
label: SlotProps<'span', {}, ChipOwnerState>;
|
|
31
31
|
}>;
|
package/Chip/Chip.js
CHANGED
|
@@ -490,11 +490,11 @@ const Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
|
|
|
490
490
|
},
|
|
491
491
|
onKeyDown: event => {
|
|
492
492
|
handlers.onKeyDown?.(event);
|
|
493
|
-
handleKeyDown
|
|
493
|
+
handleKeyDown(event);
|
|
494
494
|
},
|
|
495
495
|
onKeyUp: event => {
|
|
496
496
|
handlers.onKeyUp?.(event);
|
|
497
|
-
handleKeyUp
|
|
497
|
+
handleKeyUp(event);
|
|
498
498
|
}
|
|
499
499
|
})
|
|
500
500
|
});
|
|
@@ -24,6 +24,12 @@ export interface CircularProgressProps extends StandardProps<React.HTMLAttribute
|
|
|
24
24
|
* @default false
|
|
25
25
|
*/
|
|
26
26
|
disableShrink?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* If `true`, a track circle slot is mounted to show a subtle background for the progress.
|
|
29
|
+
* The `size` and `thickness` apply to the track slot to be consistent with the progress circle.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
enableTrackSlot?: boolean;
|
|
27
33
|
/**
|
|
28
34
|
* The size of the component.
|
|
29
35
|
* If using a number, the pixel unit is assumed.
|
|
@@ -65,6 +65,7 @@ const useUtilityClasses = ownerState => {
|
|
|
65
65
|
const slots = {
|
|
66
66
|
root: ['root', variant, `color${(0, _capitalize.default)(color)}`],
|
|
67
67
|
svg: ['svg'],
|
|
68
|
+
track: ['track'],
|
|
68
69
|
circle: ['circle', `circle${(0, _capitalize.default)(variant)}`, disableShrink && 'circleDisableShrink']
|
|
69
70
|
};
|
|
70
71
|
return (0, _composeClasses.default)(slots, _circularProgressClasses.getCircularProgressUtilityClass, classes);
|
|
@@ -150,6 +151,15 @@ const CircularProgressCircle = (0, _zeroStyled.styled)('circle', {
|
|
|
150
151
|
}
|
|
151
152
|
}]
|
|
152
153
|
})));
|
|
154
|
+
const CircularProgressTrack = (0, _zeroStyled.styled)('circle', {
|
|
155
|
+
name: 'MuiCircularProgress',
|
|
156
|
+
slot: 'Track'
|
|
157
|
+
})((0, _memoTheme.default)(({
|
|
158
|
+
theme
|
|
159
|
+
}) => ({
|
|
160
|
+
stroke: 'currentColor',
|
|
161
|
+
opacity: (theme.vars || theme).palette.action.activatedOpacity
|
|
162
|
+
})));
|
|
153
163
|
|
|
154
164
|
/**
|
|
155
165
|
* ## ARIA
|
|
@@ -167,6 +177,7 @@ const CircularProgress = /*#__PURE__*/React.forwardRef(function CircularProgress
|
|
|
167
177
|
className,
|
|
168
178
|
color = 'primary',
|
|
169
179
|
disableShrink = false,
|
|
180
|
+
enableTrackSlot = false,
|
|
170
181
|
size = 40,
|
|
171
182
|
style,
|
|
172
183
|
thickness = 3.6,
|
|
@@ -181,7 +192,8 @@ const CircularProgress = /*#__PURE__*/React.forwardRef(function CircularProgress
|
|
|
181
192
|
size,
|
|
182
193
|
thickness,
|
|
183
194
|
value,
|
|
184
|
-
variant
|
|
195
|
+
variant,
|
|
196
|
+
enableTrackSlot
|
|
185
197
|
};
|
|
186
198
|
const classes = useUtilityClasses(ownerState);
|
|
187
199
|
const circleStyle = {};
|
|
@@ -207,11 +219,20 @@ const CircularProgress = /*#__PURE__*/React.forwardRef(function CircularProgress
|
|
|
207
219
|
role: "progressbar",
|
|
208
220
|
...rootProps,
|
|
209
221
|
...other,
|
|
210
|
-
children: /*#__PURE__*/(0, _jsxRuntime.
|
|
222
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(CircularProgressSVG, {
|
|
211
223
|
className: classes.svg,
|
|
212
224
|
ownerState: ownerState,
|
|
213
225
|
viewBox: `${SIZE / 2} ${SIZE / 2} ${SIZE} ${SIZE}`,
|
|
214
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
226
|
+
children: [enableTrackSlot ? /*#__PURE__*/(0, _jsxRuntime.jsx)(CircularProgressTrack, {
|
|
227
|
+
className: classes.track,
|
|
228
|
+
ownerState: ownerState,
|
|
229
|
+
cx: SIZE,
|
|
230
|
+
cy: SIZE,
|
|
231
|
+
r: (SIZE - thickness) / 2,
|
|
232
|
+
fill: "none",
|
|
233
|
+
strokeWidth: thickness,
|
|
234
|
+
"aria-hidden": "true"
|
|
235
|
+
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(CircularProgressCircle, {
|
|
215
236
|
className: classes.circle,
|
|
216
237
|
style: circleStyle,
|
|
217
238
|
ownerState: ownerState,
|
|
@@ -220,7 +241,7 @@ const CircularProgress = /*#__PURE__*/React.forwardRef(function CircularProgress
|
|
|
220
241
|
r: (SIZE - thickness) / 2,
|
|
221
242
|
fill: "none",
|
|
222
243
|
strokeWidth: thickness
|
|
223
|
-
})
|
|
244
|
+
})]
|
|
224
245
|
})
|
|
225
246
|
});
|
|
226
247
|
});
|
|
@@ -255,6 +276,12 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes /* remove-pro
|
|
|
255
276
|
}
|
|
256
277
|
return null;
|
|
257
278
|
}),
|
|
279
|
+
/**
|
|
280
|
+
* If `true`, a track circle slot is mounted to show a subtle background for the progress.
|
|
281
|
+
* The `size` and `thickness` apply to the track slot to be consistent with the progress circle.
|
|
282
|
+
* @default false
|
|
283
|
+
*/
|
|
284
|
+
enableTrackSlot: _propTypes.default.bool,
|
|
258
285
|
/**
|
|
259
286
|
* The size of the component.
|
|
260
287
|
* If using a number, the pixel unit is assumed.
|
|
@@ -11,6 +11,8 @@ export interface CircularProgressClasses {
|
|
|
11
11
|
colorSecondary: string;
|
|
12
12
|
/** Styles applied to the svg element. */
|
|
13
13
|
svg: string;
|
|
14
|
+
/** Styles applied to the track slot if `enableTrackSlot={true}`. */
|
|
15
|
+
track: string;
|
|
14
16
|
/** Styles applied to the `circle` svg path. */
|
|
15
17
|
circle: string;
|
|
16
18
|
/** Styles applied to the `circle` svg path if `variant="determinate"`.
|
|
@@ -11,5 +11,5 @@ var _generateUtilityClass = _interopRequireDefault(require("@mui/utils/generateU
|
|
|
11
11
|
function getCircularProgressUtilityClass(slot) {
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiCircularProgress', slot);
|
|
13
13
|
}
|
|
14
|
-
const circularProgressClasses = (0, _generateUtilityClasses.default)('MuiCircularProgress', ['root', 'determinate', 'indeterminate', 'colorPrimary', 'colorSecondary', 'svg', 'circle', 'circleDeterminate', 'circleIndeterminate', 'circleDisableShrink']);
|
|
14
|
+
const circularProgressClasses = (0, _generateUtilityClasses.default)('MuiCircularProgress', ['root', 'determinate', 'indeterminate', 'colorPrimary', 'colorSecondary', 'svg', 'track', 'circle', 'circleDeterminate', 'circleIndeterminate', 'circleDisableShrink']);
|
|
15
15
|
var _default = exports.default = circularProgressClasses;
|
package/Dialog/Dialog.d.ts
CHANGED
|
@@ -41,27 +41,27 @@ export interface DialogRootSlotPropsOverrides {}
|
|
|
41
41
|
export type DialogSlotsAndSlotProps = CreateSlotsAndSlotProps<DialogSlots, {
|
|
42
42
|
/**
|
|
43
43
|
* Props forwarded to the root slot.
|
|
44
|
-
* By default, the
|
|
44
|
+
* By default, the available props are based on the [Modal](https://mui.com/material-ui/api/modal/#props) component.
|
|
45
45
|
*/
|
|
46
46
|
root: SlotProps<React.ElementType<ModalProps>, DialogRootSlotPropsOverrides, DialogOwnerState>;
|
|
47
47
|
/**
|
|
48
48
|
* Props forwarded to the backdrop slot.
|
|
49
|
-
* By default, the
|
|
49
|
+
* By default, the available props are based on the [Backdrop](https://mui.com/material-ui/api/backdrop/#props) component.
|
|
50
50
|
*/
|
|
51
51
|
backdrop: SlotProps<React.ElementType<BackdropProps>, DialogBackdropSlotPropsOverrides, DialogOwnerState>;
|
|
52
52
|
/**
|
|
53
53
|
* Props forwarded to the container slot.
|
|
54
|
-
* By default, the
|
|
54
|
+
* By default, the available props are based on a div element.
|
|
55
55
|
*/
|
|
56
56
|
container: SlotProps<'div', DialogContainerSlotPropsOverrides, DialogOwnerState>;
|
|
57
57
|
/**
|
|
58
58
|
* Props forwarded to the transition slot.
|
|
59
|
-
* By default, the
|
|
59
|
+
* By default, the available props are based on the [Fade](https://mui.com/material-ui/api/fade/#props) component.
|
|
60
60
|
*/
|
|
61
61
|
transition: SlotComponentProps<React.ElementType, TransitionProps & DialogTransitionSlotPropsOverrides, DialogOwnerState>;
|
|
62
62
|
/**
|
|
63
63
|
* Props forwarded to the paper slot.
|
|
64
|
-
* By default, the
|
|
64
|
+
* By default, the available props are based on the [Paper](https://mui.com/material-ui/api/paper/#props) component.
|
|
65
65
|
*/
|
|
66
66
|
paper: SlotProps<React.ElementType<PaperProps>, DialogPaperSlotPropsOverrides, DialogOwnerState>;
|
|
67
67
|
}>;
|
package/Divider/Divider.js
CHANGED
|
@@ -301,7 +301,7 @@ process.env.NODE_ENV !== "production" ? Divider.propTypes /* remove-proptypes */
|
|
|
301
301
|
/**
|
|
302
302
|
* @ignore
|
|
303
303
|
*/
|
|
304
|
-
role: _propTypes.default
|
|
304
|
+
role: _propTypes.default.string,
|
|
305
305
|
/**
|
|
306
306
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
307
307
|
*/
|