@sitecore/sc-contenthub-blok 0.0.37 → 0.0.38
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/node_modules/@mui/core-downloads-tracker/package.json +1 -1
- package/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +4 -3
- package/node_modules/@mui/material/Alert/Alert.d.ts +69 -0
- package/node_modules/@mui/material/Alert/Alert.js +53 -21
- package/node_modules/@mui/material/AppBar/AppBar.d.ts +1 -1
- package/node_modules/@mui/material/AppBar/AppBar.js +1 -1
- package/node_modules/@mui/material/Autocomplete/Autocomplete.d.ts +1 -1
- package/node_modules/@mui/material/Autocomplete/Autocomplete.js +42 -55
- package/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +5 -4
- package/node_modules/@mui/material/Backdrop/Backdrop.js +1 -9
- package/node_modules/@mui/material/Box/Box.d.ts +3 -1
- package/node_modules/@mui/material/Button/Button.d.ts +18 -0
- package/node_modules/@mui/material/Button/Button.js +233 -15
- package/node_modules/@mui/material/Button/buttonClasses.d.ts +14 -0
- package/node_modules/@mui/material/Button/buttonClasses.js +1 -1
- package/node_modules/@mui/material/ButtonBase/ButtonBase.d.ts +2 -0
- package/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js +2 -0
- package/node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js +2 -0
- package/node_modules/@mui/material/CHANGELOG.md +240 -2
- package/node_modules/@mui/material/CardHeader/CardHeader.d.ts +114 -1
- package/node_modules/@mui/material/CardHeader/CardHeader.js +106 -37
- package/node_modules/@mui/material/CircularProgress/CircularProgress.js +2 -2
- package/node_modules/@mui/material/Collapse/Collapse.js +5 -4
- package/node_modules/@mui/material/Dialog/Dialog.d.ts +85 -1
- package/node_modules/@mui/material/Dialog/Dialog.js +91 -20
- package/node_modules/@mui/material/Dialog/DialogContext.js +2 -0
- package/node_modules/@mui/material/Drawer/Drawer.js +1 -1
- package/node_modules/@mui/material/Drawer/drawerClasses.d.ts +32 -8
- package/node_modules/@mui/material/Drawer/drawerClasses.js +1 -1
- package/node_modules/@mui/material/Fade/Fade.js +5 -2
- package/node_modules/@mui/material/FilledInput/FilledInput.js +1 -3
- package/node_modules/@mui/material/FormControl/FormControl.js +14 -15
- package/node_modules/@mui/material/FormControl/FormControlContext.js +2 -0
- package/node_modules/@mui/material/FormLabel/FormLabel.js +5 -8
- package/node_modules/@mui/material/Grid/Grid.js +2 -2
- package/node_modules/@mui/material/Grow/Grow.js +5 -2
- package/node_modules/@mui/material/Hidden/withWidth.js +2 -0
- package/node_modules/@mui/material/Icon/Icon.js +1 -3
- package/node_modules/@mui/material/IconButton/IconButton.d.ts +13 -0
- package/node_modules/@mui/material/IconButton/IconButton.js +80 -7
- package/node_modules/@mui/material/IconButton/iconButtonClasses.d.ts +6 -0
- package/node_modules/@mui/material/IconButton/iconButtonClasses.js +1 -1
- package/node_modules/@mui/material/Input/Input.js +1 -3
- package/node_modules/@mui/material/LinearProgress/LinearProgress.js +4 -4
- package/node_modules/@mui/material/LinearProgress/linearProgressClasses.d.ts +31 -9
- package/node_modules/@mui/material/LinearProgress/linearProgressClasses.js +1 -1
- package/node_modules/@mui/material/Link/getTextDecoration.js +3 -2
- package/node_modules/@mui/material/ListItemText/ListItemText.d.ts +36 -1
- package/node_modules/@mui/material/ListItemText/ListItemText.js +46 -7
- package/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -3
- package/node_modules/@mui/material/PigmentGrid/PigmentGrid.js +1 -1
- package/node_modules/@mui/material/RadioGroup/RadioGroupContext.js +2 -0
- package/node_modules/@mui/material/Select/Select.js +10 -1
- package/node_modules/@mui/material/Select/SelectInput.js +9 -1
- package/node_modules/@mui/material/Select/selectClasses.d.ts +9 -3
- package/node_modules/@mui/material/Slide/Slide.js +5 -2
- package/node_modules/@mui/material/Slider/useSlider.js +69 -12
- package/node_modules/@mui/material/Step/StepContext.js +2 -0
- package/node_modules/@mui/material/StepContent/StepContent.d.ts +31 -2
- package/node_modules/@mui/material/StepContent/StepContent.js +39 -7
- package/node_modules/@mui/material/StepLabel/StepLabel.d.ts +1 -1
- package/node_modules/@mui/material/StepLabel/StepLabel.js +1 -3
- package/node_modules/@mui/material/Stepper/StepperContext.js +2 -0
- package/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -3
- package/node_modules/@mui/material/Table/Tablelvl2Context.js +2 -0
- package/node_modules/@mui/material/TablePagination/TablePagination.d.ts +134 -18
- package/node_modules/@mui/material/TablePagination/TablePagination.js +89 -33
- package/node_modules/@mui/material/TableSortLabel/TableSortLabel.d.ts +43 -1
- package/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +40 -7
- package/node_modules/@mui/material/TextField/TextField.d.ts +1 -0
- package/node_modules/@mui/material/TextField/TextField.js +1 -0
- package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +2 -0
- package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.js +2 -0
- package/node_modules/@mui/material/Tooltip/Tooltip.d.ts +1 -1
- package/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
- package/node_modules/@mui/material/Zoom/Zoom.js +5 -2
- package/node_modules/@mui/material/index.js +1 -1
- package/node_modules/@mui/material/modern/AccordionSummary/AccordionSummary.js +4 -3
- package/node_modules/@mui/material/modern/Alert/Alert.js +53 -21
- package/node_modules/@mui/material/modern/AppBar/AppBar.js +1 -1
- package/node_modules/@mui/material/modern/Autocomplete/Autocomplete.js +42 -55
- package/node_modules/@mui/material/modern/AvatarGroup/AvatarGroup.js +5 -4
- package/node_modules/@mui/material/modern/Backdrop/Backdrop.js +1 -9
- package/node_modules/@mui/material/modern/Button/Button.js +233 -15
- package/node_modules/@mui/material/modern/Button/buttonClasses.js +1 -1
- package/node_modules/@mui/material/modern/ButtonGroup/ButtonGroupButtonContext.js +2 -0
- package/node_modules/@mui/material/modern/ButtonGroup/ButtonGroupContext.js +2 -0
- package/node_modules/@mui/material/modern/CardHeader/CardHeader.js +106 -37
- package/node_modules/@mui/material/modern/CircularProgress/CircularProgress.js +2 -2
- package/node_modules/@mui/material/modern/Collapse/Collapse.js +5 -4
- package/node_modules/@mui/material/modern/Dialog/Dialog.js +91 -20
- package/node_modules/@mui/material/modern/Dialog/DialogContext.js +2 -0
- package/node_modules/@mui/material/modern/Drawer/Drawer.js +1 -1
- package/node_modules/@mui/material/modern/Drawer/drawerClasses.js +1 -1
- package/node_modules/@mui/material/modern/Fade/Fade.js +5 -2
- package/node_modules/@mui/material/modern/FilledInput/FilledInput.js +1 -3
- package/node_modules/@mui/material/modern/FormControl/FormControl.js +14 -15
- package/node_modules/@mui/material/modern/FormControl/FormControlContext.js +2 -0
- package/node_modules/@mui/material/modern/FormLabel/FormLabel.js +5 -8
- package/node_modules/@mui/material/modern/Grid/Grid.js +2 -2
- package/node_modules/@mui/material/modern/Grow/Grow.js +5 -2
- package/node_modules/@mui/material/modern/Hidden/withWidth.js +2 -0
- package/node_modules/@mui/material/modern/Icon/Icon.js +1 -3
- package/node_modules/@mui/material/modern/IconButton/IconButton.js +80 -7
- package/node_modules/@mui/material/modern/IconButton/iconButtonClasses.js +1 -1
- package/node_modules/@mui/material/modern/Input/Input.js +1 -3
- package/node_modules/@mui/material/modern/LinearProgress/LinearProgress.js +4 -4
- package/node_modules/@mui/material/modern/LinearProgress/linearProgressClasses.js +1 -1
- package/node_modules/@mui/material/modern/Link/getTextDecoration.js +3 -2
- package/node_modules/@mui/material/modern/ListItemText/ListItemText.js +46 -7
- package/node_modules/@mui/material/modern/OutlinedInput/OutlinedInput.js +1 -3
- package/node_modules/@mui/material/modern/PigmentGrid/PigmentGrid.js +1 -1
- package/node_modules/@mui/material/modern/RadioGroup/RadioGroupContext.js +2 -0
- package/node_modules/@mui/material/modern/Select/Select.js +10 -1
- package/node_modules/@mui/material/modern/Select/SelectInput.js +9 -1
- package/node_modules/@mui/material/modern/Slide/Slide.js +5 -2
- package/node_modules/@mui/material/modern/Slider/useSlider.js +69 -12
- package/node_modules/@mui/material/modern/Step/StepContext.js +2 -0
- package/node_modules/@mui/material/modern/StepContent/StepContent.js +39 -7
- package/node_modules/@mui/material/modern/StepLabel/StepLabel.js +1 -3
- package/node_modules/@mui/material/modern/Stepper/StepperContext.js +2 -0
- package/node_modules/@mui/material/modern/SvgIcon/SvgIcon.js +1 -3
- package/node_modules/@mui/material/modern/Table/Tablelvl2Context.js +2 -0
- package/node_modules/@mui/material/modern/TablePagination/TablePagination.js +89 -33
- package/node_modules/@mui/material/modern/TableSortLabel/TableSortLabel.js +40 -7
- package/node_modules/@mui/material/modern/TextField/TextField.js +1 -0
- package/node_modules/@mui/material/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +2 -0
- package/node_modules/@mui/material/modern/ToggleButtonGroup/ToggleButtonGroupContext.js +2 -0
- package/node_modules/@mui/material/modern/Tooltip/Tooltip.js +1 -1
- package/node_modules/@mui/material/modern/Zoom/Zoom.js +5 -2
- package/node_modules/@mui/material/modern/index.js +1 -1
- package/node_modules/@mui/material/modern/usePagination/usePagination.js +1 -1
- package/node_modules/@mui/material/modern/utils/index.js +1 -0
- package/node_modules/@mui/material/modern/utils/mergeSlotProps.js +43 -0
- package/node_modules/@mui/material/modern/utils/useSlot.js +5 -1
- package/node_modules/@mui/material/modern/version/index.js +3 -3
- package/node_modules/@mui/material/node/AccordionSummary/AccordionSummary.js +4 -3
- package/node_modules/@mui/material/node/Alert/Alert.js +53 -21
- package/node_modules/@mui/material/node/AppBar/AppBar.js +1 -1
- package/node_modules/@mui/material/node/Autocomplete/Autocomplete.js +42 -55
- package/node_modules/@mui/material/node/AvatarGroup/AvatarGroup.js +5 -4
- package/node_modules/@mui/material/node/Backdrop/Backdrop.js +1 -9
- package/node_modules/@mui/material/node/Button/Button.js +233 -15
- package/node_modules/@mui/material/node/Button/buttonClasses.js +1 -1
- package/node_modules/@mui/material/node/ButtonGroup/ButtonGroupButtonContext.js +1 -0
- package/node_modules/@mui/material/node/ButtonGroup/ButtonGroupContext.js +1 -0
- package/node_modules/@mui/material/node/CardHeader/CardHeader.js +106 -37
- package/node_modules/@mui/material/node/CircularProgress/CircularProgress.js +2 -2
- package/node_modules/@mui/material/node/Collapse/Collapse.js +5 -4
- package/node_modules/@mui/material/node/Dialog/Dialog.js +91 -20
- package/node_modules/@mui/material/node/Dialog/DialogContext.js +1 -0
- package/node_modules/@mui/material/node/Drawer/Drawer.js +1 -1
- package/node_modules/@mui/material/node/Drawer/drawerClasses.js +1 -1
- package/node_modules/@mui/material/node/Fade/Fade.js +5 -2
- package/node_modules/@mui/material/node/FilledInput/FilledInput.js +1 -3
- package/node_modules/@mui/material/node/FormControl/FormControl.js +14 -15
- package/node_modules/@mui/material/node/FormControl/FormControlContext.js +1 -0
- package/node_modules/@mui/material/node/FormLabel/FormLabel.js +5 -8
- package/node_modules/@mui/material/node/Grid/Grid.js +2 -2
- package/node_modules/@mui/material/node/Grow/Grow.js +5 -2
- package/node_modules/@mui/material/node/Hidden/withWidth.js +1 -0
- package/node_modules/@mui/material/node/Icon/Icon.js +1 -3
- package/node_modules/@mui/material/node/IconButton/IconButton.js +79 -6
- package/node_modules/@mui/material/node/IconButton/iconButtonClasses.js +1 -1
- package/node_modules/@mui/material/node/Input/Input.js +1 -3
- package/node_modules/@mui/material/node/LinearProgress/LinearProgress.js +4 -4
- package/node_modules/@mui/material/node/LinearProgress/linearProgressClasses.js +1 -1
- package/node_modules/@mui/material/node/Link/getTextDecoration.js +3 -2
- package/node_modules/@mui/material/node/ListItemText/ListItemText.js +46 -7
- package/node_modules/@mui/material/node/OutlinedInput/OutlinedInput.js +1 -3
- package/node_modules/@mui/material/node/PigmentGrid/PigmentGrid.js +2 -2
- package/node_modules/@mui/material/node/RadioGroup/RadioGroupContext.js +1 -0
- package/node_modules/@mui/material/node/Select/Select.js +10 -1
- package/node_modules/@mui/material/node/Select/SelectInput.js +9 -1
- package/node_modules/@mui/material/node/Slide/Slide.js +5 -2
- package/node_modules/@mui/material/node/Slider/useSlider.js +69 -12
- package/node_modules/@mui/material/node/Step/StepContext.js +1 -0
- package/node_modules/@mui/material/node/StepContent/StepContent.js +39 -7
- package/node_modules/@mui/material/node/StepLabel/StepLabel.js +1 -3
- package/node_modules/@mui/material/node/Stepper/StepperContext.js +1 -0
- package/node_modules/@mui/material/node/SvgIcon/SvgIcon.js +1 -3
- package/node_modules/@mui/material/node/Table/Tablelvl2Context.js +1 -0
- package/node_modules/@mui/material/node/TablePagination/TablePagination.js +89 -33
- package/node_modules/@mui/material/node/TableSortLabel/TableSortLabel.js +40 -7
- package/node_modules/@mui/material/node/TextField/TextField.js +1 -0
- package/node_modules/@mui/material/node/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +1 -0
- package/node_modules/@mui/material/node/ToggleButtonGroup/ToggleButtonGroupContext.js +1 -0
- package/node_modules/@mui/material/node/Tooltip/Tooltip.js +1 -1
- package/node_modules/@mui/material/node/Zoom/Zoom.js +5 -2
- package/node_modules/@mui/material/node/index.js +1 -1
- package/node_modules/@mui/material/node/usePagination/usePagination.js +1 -1
- package/node_modules/@mui/material/node/utils/index.js +7 -0
- package/node_modules/@mui/material/node/utils/mergeSlotProps.js +50 -0
- package/node_modules/@mui/material/node/utils/useSlot.js +5 -1
- package/node_modules/@mui/material/node/version/index.js +3 -3
- package/node_modules/{react-is → @mui/material/node_modules/react-is}/LICENSE +1 -1
- package/node_modules/{react-is → @mui/material/node_modules/react-is}/README.md +0 -1
- package/node_modules/@mui/material/node_modules/react-is/cjs/react-is.development.js +133 -0
- package/node_modules/@mui/material/node_modules/react-is/cjs/react-is.production.js +130 -0
- package/node_modules/{react-is → @mui/material/node_modules/react-is}/index.js +1 -1
- package/node_modules/{react-is → @mui/material/node_modules/react-is}/package.json +4 -4
- package/node_modules/@mui/material/package.json +8 -8
- package/node_modules/@mui/material/styles/useThemeProps.d.ts +27 -0
- package/node_modules/@mui/material/useAutocomplete/useAutocomplete.d.ts +20 -5
- package/node_modules/@mui/material/useLazyRipple/useLazyRipple.d.ts +1 -1
- package/node_modules/@mui/material/usePagination/usePagination.js +1 -1
- package/node_modules/@mui/material/utils/index.d.ts +1 -0
- package/node_modules/@mui/material/utils/index.js +1 -0
- package/node_modules/@mui/material/utils/memoTheme.d.ts +1 -1
- package/node_modules/@mui/material/utils/mergeSlotProps.d.ts +2 -0
- package/node_modules/@mui/material/utils/mergeSlotProps.js +43 -0
- package/node_modules/@mui/material/utils/useSlot.d.ts +8 -0
- package/node_modules/@mui/material/utils/useSlot.js +5 -1
- package/node_modules/@mui/material/version/index.js +3 -3
- package/node_modules/@mui/private-theming/CHANGELOG.md +240 -2
- package/node_modules/@mui/private-theming/index.js +1 -1
- package/node_modules/@mui/private-theming/modern/index.js +1 -1
- package/node_modules/@mui/private-theming/modern/useTheme/ThemeContext.js +2 -0
- package/node_modules/@mui/private-theming/node/index.js +1 -1
- package/node_modules/@mui/private-theming/node/useTheme/ThemeContext.js +1 -0
- package/node_modules/@mui/private-theming/package.json +2 -2
- package/node_modules/@mui/private-theming/useTheme/ThemeContext.js +2 -0
- package/node_modules/@mui/styled-engine/CHANGELOG.md +198 -2
- package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +29 -19
- package/node_modules/@mui/styled-engine/index.js +1 -1
- package/node_modules/@mui/styled-engine/modern/StyledEngineProvider/StyledEngineProvider.js +29 -19
- package/node_modules/@mui/styled-engine/modern/index.js +1 -1
- package/node_modules/@mui/styled-engine/node/StyledEngineProvider/StyledEngineProvider.js +29 -19
- package/node_modules/@mui/styled-engine/node/index.js +1 -1
- package/node_modules/@mui/styled-engine/package.json +1 -1
- package/node_modules/@mui/system/CHANGELOG.md +240 -2
- package/node_modules/@mui/system/Grid/index.d.ts +1 -0
- package/node_modules/@mui/system/Grid/index.js +24 -2
- package/node_modules/@mui/system/RtlProvider/index.js +1 -0
- package/node_modules/@mui/system/colorManipulator/colorManipulator.js +5 -0
- package/node_modules/@mui/system/createTheme/applyStyles.d.ts +7 -3
- package/node_modules/@mui/system/createTheme/applyStyles.js +7 -3
- package/node_modules/@mui/system/cssVars/createCssVarsProvider.js +3 -1
- package/node_modules/@mui/system/esm/Grid/index.js +2 -1
- package/node_modules/@mui/system/esm/RtlProvider/index.js +2 -0
- package/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +5 -0
- package/node_modules/@mui/system/esm/createTheme/applyStyles.js +7 -3
- package/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +4 -1
- package/node_modules/@mui/system/esm/version/index.js +3 -3
- package/node_modules/@mui/system/index.js +1 -1
- package/node_modules/@mui/system/memoTheme.d.ts +1 -1
- package/node_modules/@mui/system/modern/Grid/index.js +2 -1
- package/node_modules/@mui/system/modern/RtlProvider/index.js +2 -0
- package/node_modules/@mui/system/modern/colorManipulator/colorManipulator.js +5 -0
- package/node_modules/@mui/system/modern/createTheme/applyStyles.js +7 -3
- package/node_modules/@mui/system/modern/cssVars/createCssVarsProvider.js +4 -1
- package/node_modules/@mui/system/modern/index.js +1 -1
- package/node_modules/@mui/system/modern/version/index.js +3 -3
- package/node_modules/@mui/system/package.json +5 -5
- package/node_modules/@mui/system/version/index.js +3 -3
- package/node_modules/@mui/types/package.json +1 -1
- package/node_modules/@mui/utils/CHANGELOG.md +240 -2
- package/node_modules/@mui/utils/composeClasses/composeClasses.d.ts +28 -0
- package/node_modules/@mui/utils/composeClasses/composeClasses.js +28 -0
- package/node_modules/@mui/utils/deepmerge/deepmerge.d.ts +18 -0
- package/node_modules/@mui/utils/deepmerge/deepmerge.js +22 -2
- package/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +28 -0
- package/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +22 -2
- package/node_modules/@mui/utils/index.js +1 -1
- package/node_modules/@mui/utils/modern/composeClasses/composeClasses.js +28 -0
- package/node_modules/@mui/utils/modern/deepmerge/deepmerge.js +22 -2
- package/node_modules/@mui/utils/modern/index.js +1 -1
- package/node_modules/@mui/utils/node_modules/react-is/LICENSE +21 -0
- package/node_modules/@mui/utils/node_modules/react-is/README.md +103 -0
- package/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.development.js +133 -0
- package/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.js +130 -0
- package/node_modules/@mui/utils/node_modules/react-is/index.js +7 -0
- package/node_modules/@mui/utils/node_modules/react-is/package.json +26 -0
- package/node_modules/@mui/utils/package.json +4 -4
- package/node_modules/@mui/utils/useLazyRef/useLazyRef.d.ts +1 -1
- package/node_modules/@mui/x-date-pickers/CHANGELOG.md +487 -0
- package/node_modules/@mui/x-date-pickers/DateCalendar/PickersFadeTransitionGroup.d.ts +1 -1
- package/node_modules/@mui/x-date-pickers/DateCalendar/PickersSlideTransition.d.ts +1 -1
- package/node_modules/@mui/x-date-pickers/DateField/useDateField.d.ts +1 -1
- package/node_modules/@mui/x-date-pickers/DateTimeField/useDateTimeField.d.ts +1 -1
- package/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock.js +3 -0
- package/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
- package/node_modules/@mui/x-date-pickers/README.md +1 -1
- package/node_modules/@mui/x-date-pickers/TimeClock/Clock.d.ts +4 -0
- package/node_modules/@mui/x-date-pickers/TimeClock/Clock.js +10 -6
- package/node_modules/@mui/x-date-pickers/TimeClock/TimeClock.js +21 -4
- package/node_modules/@mui/x-date-pickers/TimeField/useTimeField.d.ts +1 -1
- package/node_modules/@mui/x-date-pickers/index.js +1 -1
- package/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.js +5 -0
- package/node_modules/@mui/x-date-pickers/internals/hooks/useField/useFieldV6TextField.js +5 -2
- package/node_modules/@mui/x-date-pickers/internals/hooks/useField/useFieldV7TextField.js +3 -0
- package/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerViews.d.ts +1 -1
- package/node_modules/@mui/x-date-pickers/internals/hooks/useStaticPicker/useStaticPicker.js +0 -1
- package/node_modules/@mui/x-date-pickers/internals/hooks/useUtils.js +1 -1
- package/node_modules/@mui/x-date-pickers/locales/index.d.ts +1 -0
- package/node_modules/@mui/x-date-pickers/locales/index.js +1 -0
- package/node_modules/@mui/x-date-pickers/locales/nbNO.js +15 -19
- package/node_modules/@mui/x-date-pickers/locales/roRO.js +15 -18
- package/node_modules/@mui/x-date-pickers/locales/zhTW.d.ts +80 -0
- package/node_modules/@mui/x-date-pickers/locales/zhTW.js +73 -0
- package/node_modules/@mui/x-date-pickers/modern/MultiSectionDigitalClock/MultiSectionDigitalClock.js +3 -0
- package/node_modules/@mui/x-date-pickers/modern/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
- package/node_modules/@mui/x-date-pickers/modern/TimeClock/Clock.js +10 -6
- package/node_modules/@mui/x-date-pickers/modern/TimeClock/TimeClock.js +21 -4
- package/node_modules/@mui/x-date-pickers/modern/index.js +1 -1
- package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useField/useField.js +5 -0
- package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useField/useFieldV6TextField.js +5 -2
- package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useField/useFieldV7TextField.js +3 -0
- package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useStaticPicker/useStaticPicker.js +0 -1
- package/node_modules/@mui/x-date-pickers/modern/internals/hooks/useUtils.js +1 -1
- package/node_modules/@mui/x-date-pickers/modern/locales/index.js +1 -0
- package/node_modules/@mui/x-date-pickers/modern/locales/nbNO.js +15 -19
- package/node_modules/@mui/x-date-pickers/modern/locales/roRO.js +15 -18
- package/node_modules/@mui/x-date-pickers/modern/locales/zhTW.js +73 -0
- package/node_modules/@mui/x-date-pickers/node/MultiSectionDigitalClock/MultiSectionDigitalClock.js +3 -0
- package/node_modules/@mui/x-date-pickers/node/PickersCalendarHeader/PickersCalendarHeader.js +2 -0
- package/node_modules/@mui/x-date-pickers/node/TimeClock/Clock.js +10 -6
- package/node_modules/@mui/x-date-pickers/node/TimeClock/TimeClock.js +21 -4
- package/node_modules/@mui/x-date-pickers/node/index.js +1 -1
- package/node_modules/@mui/x-date-pickers/node/internals/hooks/useField/useField.js +5 -0
- package/node_modules/@mui/x-date-pickers/node/internals/hooks/useField/useFieldV6TextField.js +5 -2
- package/node_modules/@mui/x-date-pickers/node/internals/hooks/useField/useFieldV7TextField.js +3 -0
- package/node_modules/@mui/x-date-pickers/node/internals/hooks/useStaticPicker/useStaticPicker.js +0 -1
- package/node_modules/@mui/x-date-pickers/node/internals/hooks/useUtils.js +1 -1
- package/node_modules/@mui/x-date-pickers/node/locales/index.js +11 -0
- package/node_modules/@mui/x-date-pickers/node/locales/nbNO.js +15 -19
- package/node_modules/@mui/x-date-pickers/node/locales/roRO.js +15 -18
- package/node_modules/@mui/x-date-pickers/node/locales/zhTW.js +79 -0
- package/node_modules/@mui/x-date-pickers/package.json +3 -3
- package/node_modules/@mui/x-internals/CHANGELOG.md +487 -0
- package/node_modules/@mui/x-internals/esm/forwardRef/forwardRef.js +15 -0
- package/node_modules/@mui/x-internals/esm/forwardRef/index.js +1 -0
- package/node_modules/@mui/x-internals/esm/types/RefObject.js +1 -0
- package/node_modules/@mui/x-internals/esm/types/index.js +1 -0
- package/node_modules/@mui/x-internals/forwardRef/forwardRef.d.ts +4 -0
- package/node_modules/@mui/x-internals/forwardRef/forwardRef.js +23 -0
- package/node_modules/@mui/x-internals/forwardRef/index.d.ts +1 -0
- package/node_modules/@mui/x-internals/forwardRef/index.js +16 -0
- package/node_modules/@mui/x-internals/forwardRef/package.json +6 -0
- package/node_modules/@mui/x-internals/modern/forwardRef/forwardRef.js +15 -0
- package/node_modules/@mui/x-internals/modern/forwardRef/index.js +1 -0
- package/node_modules/@mui/x-internals/modern/types/RefObject.js +1 -0
- package/node_modules/@mui/x-internals/modern/types/index.js +1 -0
- package/node_modules/@mui/x-internals/package.json +1 -1
- package/node_modules/@mui/x-internals/types/RefObject.d.ts +8 -0
- package/node_modules/@mui/x-internals/types/RefObject.js +5 -0
- package/node_modules/@mui/x-internals/types/index.d.ts +1 -0
- package/node_modules/@mui/x-internals/types/index.js +16 -0
- package/node_modules/@mui/x-internals/types/package.json +6 -0
- package/node_modules/@mui/x-internals/useResizeObserver/useResizeObserver.d.ts +1 -1
- package/node_modules/@types/prop-types/README.md +1 -1
- package/node_modules/@types/prop-types/index.d.ts +21 -4
- package/node_modules/@types/prop-types/package.json +4 -3
- package/node_modules/@types/react-transition-group/README.md +3 -2
- package/node_modules/@types/react-transition-group/package.json +5 -4
- package/package.json +4 -4
- package/node_modules/@types/react/LICENSE +0 -21
- package/node_modules/@types/react/README.md +0 -15
- package/node_modules/@types/react/canary.d.ts +0 -166
- package/node_modules/@types/react/experimental.d.ts +0 -132
- package/node_modules/@types/react/global.d.ts +0 -160
- package/node_modules/@types/react/index.d.ts +0 -4543
- package/node_modules/@types/react/jsx-dev-runtime.d.ts +0 -45
- package/node_modules/@types/react/jsx-runtime.d.ts +0 -36
- package/node_modules/@types/react/package.json +0 -206
- package/node_modules/@types/react/ts5.0/canary.d.ts +0 -166
- package/node_modules/@types/react/ts5.0/experimental.d.ts +0 -132
- package/node_modules/@types/react/ts5.0/global.d.ts +0 -160
- package/node_modules/@types/react/ts5.0/index.d.ts +0 -4530
- package/node_modules/@types/react/ts5.0/jsx-dev-runtime.d.ts +0 -44
- package/node_modules/@types/react/ts5.0/jsx-runtime.d.ts +0 -35
- package/node_modules/react-is/cjs/react-is.development.js +0 -221
- package/node_modules/react-is/cjs/react-is.production.min.js +0 -14
- package/node_modules/react-is/umd/react-is.development.js +0 -220
- package/node_modules/react-is/umd/react-is.production.min.js +0 -15
|
@@ -84,8 +84,8 @@ const useUtilityClasses = ownerState => {
|
|
|
84
84
|
const slots = {
|
|
85
85
|
root: ['root', `color${capitalize(color)}`, variant],
|
|
86
86
|
dashed: ['dashed', `dashedColor${capitalize(color)}`],
|
|
87
|
-
bar1: ['bar', `barColor${capitalize(color)}`, (variant === 'indeterminate' || variant === 'query') && 'bar1Indeterminate', variant === 'determinate' && 'bar1Determinate', variant === 'buffer' && 'bar1Buffer'],
|
|
88
|
-
bar2: ['bar', variant !== 'buffer' && `barColor${capitalize(color)}`, variant === 'buffer' && `color${capitalize(color)}`, (variant === 'indeterminate' || variant === 'query') && 'bar2Indeterminate', variant === 'buffer' && 'bar2Buffer']
|
|
87
|
+
bar1: ['bar', 'bar1', `barColor${capitalize(color)}`, (variant === 'indeterminate' || variant === 'query') && 'bar1Indeterminate', variant === 'determinate' && 'bar1Determinate', variant === 'buffer' && 'bar1Buffer'],
|
|
88
|
+
bar2: ['bar', 'bar2', variant !== 'buffer' && `barColor${capitalize(color)}`, variant === 'buffer' && `color${capitalize(color)}`, (variant === 'indeterminate' || variant === 'query') && 'bar2Indeterminate', variant === 'buffer' && 'bar2Buffer']
|
|
89
89
|
};
|
|
90
90
|
return composeClasses(slots, getLinearProgressUtilityClass, classes);
|
|
91
91
|
};
|
|
@@ -203,7 +203,7 @@ const LinearProgressBar1 = styled('span', {
|
|
|
203
203
|
const {
|
|
204
204
|
ownerState
|
|
205
205
|
} = props;
|
|
206
|
-
return [styles.bar, styles[`barColor${capitalize(ownerState.color)}`], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar1Indeterminate, ownerState.variant === 'determinate' && styles.bar1Determinate, ownerState.variant === 'buffer' && styles.bar1Buffer];
|
|
206
|
+
return [styles.bar, styles.bar1, styles[`barColor${capitalize(ownerState.color)}`], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar1Indeterminate, ownerState.variant === 'determinate' && styles.bar1Determinate, ownerState.variant === 'buffer' && styles.bar1Buffer];
|
|
207
207
|
}
|
|
208
208
|
})(memoTheme(({
|
|
209
209
|
theme
|
|
@@ -267,7 +267,7 @@ const LinearProgressBar2 = styled('span', {
|
|
|
267
267
|
const {
|
|
268
268
|
ownerState
|
|
269
269
|
} = props;
|
|
270
|
-
return [styles.bar, styles[`barColor${capitalize(ownerState.color)}`], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar2Indeterminate, ownerState.variant === 'buffer' && styles.bar2Buffer];
|
|
270
|
+
return [styles.bar, styles.bar2, styles[`barColor${capitalize(ownerState.color)}`], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar2Indeterminate, ownerState.variant === 'buffer' && styles.bar2Buffer];
|
|
271
271
|
}
|
|
272
272
|
})(memoTheme(({
|
|
273
273
|
theme
|
|
@@ -15,25 +15,47 @@ export interface LinearProgressClasses {
|
|
|
15
15
|
query: string;
|
|
16
16
|
/** Styles applied to the additional bar element if `variant="buffer"`. */
|
|
17
17
|
dashed: string;
|
|
18
|
-
/** Styles applied to the additional bar element if `variant="buffer"` and `color="primary"`.
|
|
18
|
+
/** Styles applied to the additional bar element if `variant="buffer"` and `color="primary"`.
|
|
19
|
+
* @deprecated Combine the [.MuiLinearProgress-dashed](/material-ui/api/linear-progress/#linear-progress-classes-dashed) and [.MuiLinearProgress-colorPrimary](/material-ui/api/linear-progress/#linear-progress-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
20
|
+
*/
|
|
19
21
|
dashedColorPrimary: string;
|
|
20
|
-
/** Styles applied to the additional bar element if `variant="buffer"` and `color="secondary"`.
|
|
22
|
+
/** Styles applied to the additional bar element if `variant="buffer"` and `color="secondary"`.
|
|
23
|
+
* @deprecated Combine the [.MuiLinearProgress-dashed](/material-ui/api/linear-progress/#linear-progress-classes-dashed) and [.MuiLinearProgress-colorSecondary](/material-ui/api/linear-progress/#linear-progress-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
24
|
+
*/
|
|
21
25
|
dashedColorSecondary: string;
|
|
22
26
|
/** Styles applied to the layered bar1 and bar2 elements. */
|
|
23
27
|
bar: string;
|
|
24
|
-
/** Styles applied to the
|
|
28
|
+
/** Styles applied to the bar1 element. */
|
|
29
|
+
bar1: string;
|
|
30
|
+
/** Styles applied to the bar2 element. */
|
|
31
|
+
bar2: string;
|
|
32
|
+
/** Styles applied to the bar elements if `color="primary"`; bar2 if `variant` not "buffer".
|
|
33
|
+
* @deprecated Use the [.MuiLinearProgress-bar](/material-ui/api/linear-progress/#linear-progress-classes-bar) and [.MuiLinearProgress-colorPrimary](/material-ui/api/linear-progress/#linear-progress-classes-colorPrimary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
34
|
+
*/
|
|
25
35
|
barColorPrimary: string;
|
|
26
|
-
/** Styles applied to the bar elements if `color="secondary"`; bar2 if `variant` not "buffer".
|
|
36
|
+
/** Styles applied to the bar elements if `color="secondary"`; bar2 if `variant` not "buffer".
|
|
37
|
+
* @deprecated Use the [.MuiLinearProgress-bar](/material-ui/api/linear-progress/#linear-progress-classes-bar) and [.MuiLinearProgress-colorSecondary](/material-ui/api/linear-progress/#linear-progress-classes-colorSecondary) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
38
|
+
*/
|
|
27
39
|
barColorSecondary: string;
|
|
28
|
-
/** Styles applied to the bar1 element if `variant="indeterminate or query"`.
|
|
40
|
+
/** Styles applied to the bar1 element if `variant="indeterminate or query"`.
|
|
41
|
+
* @deprecated Use the [.MuiLinearProgress-bar1](/material-ui/api/linear-progress/#linear-progress-classes-bar1) and [.MuiLinearProgress-indeterminate](/material-ui/api/linear-progress/#linear-progress-classes-indeterminate) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
42
|
+
*/
|
|
29
43
|
bar1Indeterminate: string;
|
|
30
|
-
/** Styles applied to the bar1 element if `variant="determinate"`.
|
|
44
|
+
/** Styles applied to the bar1 element if `variant="determinate"`.
|
|
45
|
+
* @deprecated Use the [.MuiLinearProgress-bar1](/material-ui/api/linear-progress/#linear-progress-classes-bar1) and [.MuiLinearProgress-determinate](/material-ui/api/linear-progress/#linear-progress-classes-determinate) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
46
|
+
*/
|
|
31
47
|
bar1Determinate: string;
|
|
32
|
-
/** Styles applied to the bar1 element if `variant="buffer"`.
|
|
48
|
+
/** Styles applied to the bar1 element if `variant="buffer"`.
|
|
49
|
+
* @deprecated Use the [.MuiLinearProgress-bar1](/material-ui/api/linear-progress/#linear-progress-classes-bar1) and [.MuiLinearProgress-buffer](/material-ui/api/linear-progress/#linear-progress-classes-buffer) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
50
|
+
*/
|
|
33
51
|
bar1Buffer: string;
|
|
34
|
-
/** Styles applied to the bar2 element if `variant="indeterminate or query"`.
|
|
52
|
+
/** Styles applied to the bar2 element if `variant="indeterminate or query"`.
|
|
53
|
+
* @deprecated Use the [.MuiLinearProgress-bar2](/material-ui/api/linear-progress/#linear-progress-classes-bar2) and [.MuiLinearProgress-indeterminate](/material-ui/api/linear-progress/#linear-progress-classes-indeterminate) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
54
|
+
*/
|
|
35
55
|
bar2Indeterminate: string;
|
|
36
|
-
/** Styles applied to the bar2 element if `variant="buffer"`.
|
|
56
|
+
/** Styles applied to the bar2 element if `variant="buffer"`.
|
|
57
|
+
* @deprecated Use the [.MuiLinearProgress-bar2](/material-ui/api/linear-progress/#linear-progress-classes-bar2) and [.MuiLinearProgress-buffer](/material-ui/api/linear-progress/#linear-progress-classes-buffer) classes instead. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
58
|
+
*/
|
|
37
59
|
bar2Buffer: string;
|
|
38
60
|
}
|
|
39
61
|
export type LinearProgressClassKey = keyof LinearProgressClasses;
|
|
@@ -3,5 +3,5 @@ import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
|
3
3
|
export function getLinearProgressUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiLinearProgress', slot);
|
|
5
5
|
}
|
|
6
|
-
const linearProgressClasses = generateUtilityClasses('MuiLinearProgress', ['root', 'colorPrimary', 'colorSecondary', 'determinate', 'indeterminate', 'buffer', 'query', 'dashed', 'dashedColorPrimary', 'dashedColorSecondary', 'bar', 'barColorPrimary', 'barColorSecondary', 'bar1Indeterminate', 'bar1Determinate', 'bar1Buffer', 'bar2Indeterminate', 'bar2Buffer']);
|
|
6
|
+
const linearProgressClasses = generateUtilityClasses('MuiLinearProgress', ['root', 'colorPrimary', 'colorSecondary', 'determinate', 'indeterminate', 'buffer', 'query', 'dashed', 'dashedColorPrimary', 'dashedColorSecondary', 'bar', 'bar1', 'bar2', 'barColorPrimary', 'barColorSecondary', 'bar1Indeterminate', 'bar1Determinate', 'bar1Buffer', 'bar2Indeterminate', 'bar2Buffer']);
|
|
7
7
|
export default linearProgressClasses;
|
|
@@ -5,8 +5,9 @@ const getTextDecoration = ({
|
|
|
5
5
|
ownerState
|
|
6
6
|
}) => {
|
|
7
7
|
const transformedColor = ownerState.color;
|
|
8
|
-
|
|
9
|
-
const
|
|
8
|
+
// check the `main` color first for a custom palette, then fallback to the color itself
|
|
9
|
+
const color = getPath(theme, `palette.${transformedColor}.main`, false) || getPath(theme, `palette.${transformedColor}`, false) || ownerState.color;
|
|
10
|
+
const channelColor = getPath(theme, `palette.${transformedColor}.mainChannel`) || getPath(theme, `palette.${transformedColor}Channel`);
|
|
10
11
|
if ('vars' in theme && channelColor) {
|
|
11
12
|
return `rgba(${channelColor} / 0.4)`;
|
|
12
13
|
}
|
|
@@ -3,11 +3,44 @@ import { SxProps } from '@mui/system';
|
|
|
3
3
|
import { InternalStandardProps as StandardProps, Theme } from '..';
|
|
4
4
|
import { TypographyProps } from '../Typography';
|
|
5
5
|
import { ListItemTextClasses } from './listItemTextClasses';
|
|
6
|
+
import { CreateSlotsAndSlotProps, SlotProps } from '../utils/types';
|
|
7
|
+
|
|
8
|
+
export interface ListItemTextSlots {
|
|
9
|
+
/**
|
|
10
|
+
* The component that renders the primary slot.
|
|
11
|
+
* @default Typography
|
|
12
|
+
*/
|
|
13
|
+
primary?: React.ElementType;
|
|
14
|
+
/**
|
|
15
|
+
* The component that renders the secondary slot.
|
|
16
|
+
* @default Typography
|
|
17
|
+
*/
|
|
18
|
+
secondary?: React.ElementType;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type ListItemTextSlotsAndSlotProps = CreateSlotsAndSlotProps<
|
|
22
|
+
ListItemTextSlots,
|
|
23
|
+
{
|
|
24
|
+
/**
|
|
25
|
+
* Props forwared to the primary slot (as long as disableTypography is not `true`)
|
|
26
|
+
* By default, the available props are based on the [Typography](https://mui.com/material-ui/api/typography/#props) component
|
|
27
|
+
*/
|
|
28
|
+
primary: SlotProps<React.ElementType<TypographyProps>, {}, ListItemTextOwnerState>;
|
|
29
|
+
/**
|
|
30
|
+
* Props forwarded to the secondary slot (as long as disableTypography is not `true`)
|
|
31
|
+
* By default, the available props are based on the [Typography](https://mui.com/material-ui/api/typography/#props) component
|
|
32
|
+
*/
|
|
33
|
+
secondary: SlotProps<React.ElementType<TypographyProps>, {}, ListItemTextOwnerState>;
|
|
34
|
+
}
|
|
35
|
+
>;
|
|
36
|
+
|
|
37
|
+
export interface ListItemTextOwnerState extends ListItemTextProps {}
|
|
6
38
|
|
|
7
39
|
export interface ListItemTextProps<
|
|
8
40
|
PrimaryTypographyComponent extends React.ElementType = 'span',
|
|
9
41
|
SecondaryTypographyComponent extends React.ElementType = 'p',
|
|
10
|
-
> extends StandardProps<React.HTMLAttributes<HTMLDivElement
|
|
42
|
+
> extends StandardProps<React.HTMLAttributes<HTMLDivElement>>,
|
|
43
|
+
ListItemTextSlotsAndSlotProps {
|
|
11
44
|
/**
|
|
12
45
|
* Alias for the `primary` prop.
|
|
13
46
|
*/
|
|
@@ -37,6 +70,7 @@ export interface ListItemTextProps<
|
|
|
37
70
|
/**
|
|
38
71
|
* These props will be forwarded to the primary typography component
|
|
39
72
|
* (as long as disableTypography is not `true`).
|
|
73
|
+
* @deprecated Use `slotProps.primary` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
40
74
|
*/
|
|
41
75
|
primaryTypographyProps?: TypographyProps<
|
|
42
76
|
PrimaryTypographyComponent,
|
|
@@ -49,6 +83,7 @@ export interface ListItemTextProps<
|
|
|
49
83
|
/**
|
|
50
84
|
* These props will be forwarded to the secondary typography component
|
|
51
85
|
* (as long as disableTypography is not `true`).
|
|
86
|
+
* @deprecated Use `slotProps.secondary` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
52
87
|
*/
|
|
53
88
|
secondaryTypographyProps?: TypographyProps<
|
|
54
89
|
SecondaryTypographyComponent,
|
|
@@ -9,6 +9,7 @@ import ListContext from "../List/ListContext.js";
|
|
|
9
9
|
import { styled } from "../zero-styled/index.js";
|
|
10
10
|
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
|
|
11
11
|
import listItemTextClasses, { getListItemTextUtilityClass } from "./listItemTextClasses.js";
|
|
12
|
+
import useSlot from "../utils/useSlot.js";
|
|
12
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
14
|
const useUtilityClasses = ownerState => {
|
|
14
15
|
const {
|
|
@@ -80,6 +81,8 @@ const ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps
|
|
|
80
81
|
primaryTypographyProps,
|
|
81
82
|
secondary: secondaryProp,
|
|
82
83
|
secondaryTypographyProps,
|
|
84
|
+
slots = {},
|
|
85
|
+
slotProps = {},
|
|
83
86
|
...other
|
|
84
87
|
} = props;
|
|
85
88
|
const {
|
|
@@ -96,21 +99,39 @@ const ListItemText = /*#__PURE__*/React.forwardRef(function ListItemText(inProps
|
|
|
96
99
|
dense
|
|
97
100
|
};
|
|
98
101
|
const classes = useUtilityClasses(ownerState);
|
|
102
|
+
const externalForwardedProps = {
|
|
103
|
+
slots,
|
|
104
|
+
slotProps: {
|
|
105
|
+
primary: primaryTypographyProps,
|
|
106
|
+
secondary: secondaryTypographyProps,
|
|
107
|
+
...slotProps
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
const [PrimarySlot, primarySlotProps] = useSlot('primary', {
|
|
111
|
+
className: classes.primary,
|
|
112
|
+
elementType: Typography,
|
|
113
|
+
externalForwardedProps,
|
|
114
|
+
ownerState
|
|
115
|
+
});
|
|
116
|
+
const [SecondarySlot, secondarySlotProps] = useSlot('secondary', {
|
|
117
|
+
className: classes.secondary,
|
|
118
|
+
elementType: Typography,
|
|
119
|
+
externalForwardedProps,
|
|
120
|
+
ownerState
|
|
121
|
+
});
|
|
99
122
|
if (primary != null && primary.type !== Typography && !disableTypography) {
|
|
100
|
-
primary = /*#__PURE__*/_jsx(
|
|
123
|
+
primary = /*#__PURE__*/_jsx(PrimarySlot, {
|
|
101
124
|
variant: dense ? 'body2' : 'body1',
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
...primaryTypographyProps,
|
|
125
|
+
component: primarySlotProps?.variant ? undefined : 'span',
|
|
126
|
+
...primarySlotProps,
|
|
105
127
|
children: primary
|
|
106
128
|
});
|
|
107
129
|
}
|
|
108
130
|
if (secondary != null && secondary.type !== Typography && !disableTypography) {
|
|
109
|
-
secondary = /*#__PURE__*/_jsx(
|
|
131
|
+
secondary = /*#__PURE__*/_jsx(SecondarySlot, {
|
|
110
132
|
variant: "body2",
|
|
111
|
-
className: classes.secondary,
|
|
112
133
|
color: "textSecondary",
|
|
113
|
-
...
|
|
134
|
+
...secondarySlotProps,
|
|
114
135
|
children: secondary
|
|
115
136
|
});
|
|
116
137
|
}
|
|
@@ -160,6 +181,7 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptyp
|
|
|
160
181
|
/**
|
|
161
182
|
* These props will be forwarded to the primary typography component
|
|
162
183
|
* (as long as disableTypography is not `true`).
|
|
184
|
+
* @deprecated Use `slotProps.primary` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
163
185
|
*/
|
|
164
186
|
primaryTypographyProps: PropTypes.object,
|
|
165
187
|
/**
|
|
@@ -169,8 +191,25 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes /* remove-proptyp
|
|
|
169
191
|
/**
|
|
170
192
|
* These props will be forwarded to the secondary typography component
|
|
171
193
|
* (as long as disableTypography is not `true`).
|
|
194
|
+
* @deprecated Use `slotProps.secondary` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
172
195
|
*/
|
|
173
196
|
secondaryTypographyProps: PropTypes.object,
|
|
197
|
+
/**
|
|
198
|
+
* The props used for each slot inside.
|
|
199
|
+
* @default {}
|
|
200
|
+
*/
|
|
201
|
+
slotProps: PropTypes.shape({
|
|
202
|
+
primary: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
203
|
+
secondary: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
204
|
+
}),
|
|
205
|
+
/**
|
|
206
|
+
* The components used for each slot inside.
|
|
207
|
+
* @default {}
|
|
208
|
+
*/
|
|
209
|
+
slots: PropTypes.shape({
|
|
210
|
+
primary: PropTypes.elementType,
|
|
211
|
+
secondary: PropTypes.elementType
|
|
212
|
+
}),
|
|
174
213
|
/**
|
|
175
214
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
176
215
|
*/
|
|
@@ -406,7 +406,5 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-propty
|
|
|
406
406
|
*/
|
|
407
407
|
value: PropTypes.any
|
|
408
408
|
} : void 0;
|
|
409
|
-
|
|
410
|
-
OutlinedInput.muiName = 'Input';
|
|
411
|
-
}
|
|
409
|
+
OutlinedInput.muiName = 'Input';
|
|
412
410
|
export default OutlinedInput;
|
|
@@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import Grid from '@mui/material-pigment-css/Grid';
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
8
|
-
import { generateDirectionClasses, generateSizeClassNames, generateSpacingClassNames } from '@mui/system/Grid
|
|
8
|
+
import { unstable_generateDirectionClasses as generateDirectionClasses, unstable_generateSizeClassNames as generateSizeClassNames, unstable_generateSpacingClassNames as generateSpacingClassNames } from '@mui/system/Grid';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
const useUtilityClasses = ownerState => {
|
|
11
11
|
const {
|
|
@@ -4,6 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import deepmerge from '@mui/utils/deepmerge';
|
|
7
|
+
import composeClasses from '@mui/utils/composeClasses';
|
|
7
8
|
import getReactElementRef from '@mui/utils/getReactElementRef';
|
|
8
9
|
import SelectInput from "./SelectInput.js";
|
|
9
10
|
import formControlState from "../FormControl/formControlState.js";
|
|
@@ -17,12 +18,20 @@ import { useDefaultProps } from "../DefaultPropsProvider/index.js";
|
|
|
17
18
|
import useForkRef from "../utils/useForkRef.js";
|
|
18
19
|
import { styled } from "../zero-styled/index.js";
|
|
19
20
|
import rootShouldForwardProp from "../styles/rootShouldForwardProp.js";
|
|
21
|
+
import { getSelectUtilityClasses } from "./selectClasses.js";
|
|
20
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
23
|
const useUtilityClasses = ownerState => {
|
|
22
24
|
const {
|
|
23
25
|
classes
|
|
24
26
|
} = ownerState;
|
|
25
|
-
|
|
27
|
+
const slots = {
|
|
28
|
+
root: ['root']
|
|
29
|
+
};
|
|
30
|
+
const composedClasses = composeClasses(slots, getSelectUtilityClasses, classes);
|
|
31
|
+
return {
|
|
32
|
+
...classes,
|
|
33
|
+
...composedClasses
|
|
34
|
+
};
|
|
26
35
|
};
|
|
27
36
|
const styledRootConfig = {
|
|
28
37
|
name: 'MuiSelect',
|
|
@@ -133,6 +133,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
133
133
|
open: openProp,
|
|
134
134
|
readOnly,
|
|
135
135
|
renderValue,
|
|
136
|
+
required,
|
|
136
137
|
SelectDisplayProps = {},
|
|
137
138
|
tabIndex: tabIndexProp,
|
|
138
139
|
// catching `type` from Input which makes no sense for SelectInput
|
|
@@ -442,13 +443,15 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
442
443
|
ref: handleDisplayRef,
|
|
443
444
|
tabIndex: tabIndex,
|
|
444
445
|
role: "combobox",
|
|
445
|
-
"aria-controls": listboxId,
|
|
446
|
+
"aria-controls": open ? listboxId : undefined,
|
|
446
447
|
"aria-disabled": disabled ? 'true' : undefined,
|
|
447
448
|
"aria-expanded": open ? 'true' : 'false',
|
|
448
449
|
"aria-haspopup": "listbox",
|
|
449
450
|
"aria-label": ariaLabel,
|
|
450
451
|
"aria-labelledby": [labelId, buttonId].filter(Boolean).join(' ') || undefined,
|
|
451
452
|
"aria-describedby": ariaDescribedby,
|
|
453
|
+
"aria-required": required ? 'true' : undefined,
|
|
454
|
+
"aria-invalid": error ? 'true' : undefined,
|
|
452
455
|
onKeyDown: handleKeyDown,
|
|
453
456
|
onMouseDown: disabled || readOnly ? null : handleMouseDown,
|
|
454
457
|
onBlur: handleBlur,
|
|
@@ -476,6 +479,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
476
479
|
disabled: disabled,
|
|
477
480
|
className: classes.nativeInput,
|
|
478
481
|
autoFocus: autoFocus,
|
|
482
|
+
required: required,
|
|
479
483
|
...other,
|
|
480
484
|
ownerState: ownerState
|
|
481
485
|
}), /*#__PURE__*/_jsx(SelectIcon, {
|
|
@@ -641,6 +645,10 @@ process.env.NODE_ENV !== "production" ? SelectInput.propTypes = {
|
|
|
641
645
|
* @returns {ReactNode}
|
|
642
646
|
*/
|
|
643
647
|
renderValue: PropTypes.func,
|
|
648
|
+
/**
|
|
649
|
+
* If `true`, the component is required.
|
|
650
|
+
*/
|
|
651
|
+
required: PropTypes.bool,
|
|
644
652
|
/**
|
|
645
653
|
* Props applied to the clickable div element.
|
|
646
654
|
*/
|
|
@@ -19,11 +19,17 @@ export interface SelectClasses {
|
|
|
19
19
|
icon: string;
|
|
20
20
|
/** Styles applied to the icon component if the popup is open. */
|
|
21
21
|
iconOpen: string;
|
|
22
|
-
/** Styles applied to the icon component if `variant="filled"`.
|
|
22
|
+
/** Styles applied to the icon component if `variant="filled"`.
|
|
23
|
+
* @deprecated Combine the [.MuiSelect-icon](/material-ui/api/select/#select-classes-icon) and [.MuiSelect-filled](/material-ui/api/select/#select-classes-filled) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
24
|
+
*/
|
|
23
25
|
iconFilled: string;
|
|
24
|
-
/** Styles applied to the icon component if `variant="outlined"`.
|
|
26
|
+
/** Styles applied to the icon component if `variant="outlined"`.
|
|
27
|
+
* @deprecated Combine the [.MuiSelect-icon](/material-ui/api/select/#select-classes-icon) and [.MuiSelect-outlined](/material-ui/api/select/#select-classes-outlined) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
28
|
+
*/
|
|
25
29
|
iconOutlined: string;
|
|
26
|
-
/** Styles applied to the icon component if `variant="standard"`.
|
|
30
|
+
/** Styles applied to the icon component if `variant="standard"`.
|
|
31
|
+
* @deprecated Combine the [.MuiSelect-icon](/material-ui/api/select/#select-classes-icon) and [.MuiSelect-standard](/material-ui/api/select/#select-classes-standard) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
32
|
+
*/
|
|
27
33
|
iconStandard: string;
|
|
28
34
|
/** Styles applied to the underlying native input component. */
|
|
29
35
|
nativeInput: string;
|
|
@@ -217,7 +217,10 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
|
|
|
217
217
|
in: inProp,
|
|
218
218
|
timeout: timeout,
|
|
219
219
|
...other,
|
|
220
|
-
children: (state,
|
|
220
|
+
children: (state, {
|
|
221
|
+
ownerState,
|
|
222
|
+
...restChildProps
|
|
223
|
+
}) => {
|
|
221
224
|
return /*#__PURE__*/React.cloneElement(children, {
|
|
222
225
|
ref: handleRef,
|
|
223
226
|
style: {
|
|
@@ -225,7 +228,7 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
|
|
|
225
228
|
...style,
|
|
226
229
|
...children.props.style
|
|
227
230
|
},
|
|
228
|
-
...
|
|
231
|
+
...restChildProps
|
|
229
232
|
});
|
|
230
233
|
}
|
|
231
234
|
});
|
|
@@ -5,6 +5,9 @@ import { unstable_ownerDocument as ownerDocument, unstable_useControlled as useC
|
|
|
5
5
|
import extractEventHandlers from '@mui/utils/extractEventHandlers';
|
|
6
6
|
import areArraysEqual from "../utils/areArraysEqual.js";
|
|
7
7
|
const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
|
|
8
|
+
function getNewValue(currentValue, step, direction, min, max) {
|
|
9
|
+
return direction === 1 ? Math.min(currentValue + step, max) : Math.max(currentValue - step, min);
|
|
10
|
+
}
|
|
8
11
|
function asc(a, b) {
|
|
9
12
|
return a - b;
|
|
10
13
|
}
|
|
@@ -185,6 +188,8 @@ export function useSlider(parameters) {
|
|
|
185
188
|
const [open, setOpen] = React.useState(-1);
|
|
186
189
|
const [dragging, setDragging] = React.useState(false);
|
|
187
190
|
const moveCount = React.useRef(0);
|
|
191
|
+
// lastChangedValue is updated whenever onChange is triggered.
|
|
192
|
+
const lastChangedValue = React.useRef(null);
|
|
188
193
|
const [valueDerived, setValueState] = useControlled({
|
|
189
194
|
controlled: valueProp,
|
|
190
195
|
default: defaultValue ?? min,
|
|
@@ -205,6 +210,7 @@ export function useSlider(parameters) {
|
|
|
205
210
|
name
|
|
206
211
|
}
|
|
207
212
|
});
|
|
213
|
+
lastChangedValue.current = value;
|
|
208
214
|
onChange(clonedEvent, value, thumbIndex);
|
|
209
215
|
});
|
|
210
216
|
const range = Array.isArray(valueDerived);
|
|
@@ -276,24 +282,69 @@ export function useSlider(parameters) {
|
|
|
276
282
|
handleChange(event, newValue, index);
|
|
277
283
|
}
|
|
278
284
|
if (onChangeCommitted) {
|
|
279
|
-
onChangeCommitted(event, newValue);
|
|
285
|
+
onChangeCommitted(event, lastChangedValue.current ?? newValue);
|
|
280
286
|
}
|
|
281
287
|
};
|
|
282
288
|
const createHandleHiddenInputKeyDown = otherHandlers => event => {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
if (step !== null) {
|
|
289
|
+
if (['ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'PageUp', 'PageDown', 'Home', 'End'].includes(event.key)) {
|
|
290
|
+
event.preventDefault();
|
|
286
291
|
const index = Number(event.currentTarget.getAttribute('data-index'));
|
|
287
292
|
const value = values[index];
|
|
288
293
|
let newValue = null;
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
294
|
+
// Keys actions that change the value by more than the most granular `step`
|
|
295
|
+
// value are only applied if the step not `null`.
|
|
296
|
+
// When step is `null`, the `marks` prop is used instead to define valid values.
|
|
297
|
+
if (step != null) {
|
|
298
|
+
const stepSize = event.shiftKey ? shiftStep : step;
|
|
299
|
+
switch (event.key) {
|
|
300
|
+
case 'ArrowUp':
|
|
301
|
+
newValue = getNewValue(value, stepSize, 1, min, max);
|
|
302
|
+
break;
|
|
303
|
+
case 'ArrowRight':
|
|
304
|
+
newValue = getNewValue(value, stepSize, isRtl ? -1 : 1, min, max);
|
|
305
|
+
break;
|
|
306
|
+
case 'ArrowDown':
|
|
307
|
+
newValue = getNewValue(value, stepSize, -1, min, max);
|
|
308
|
+
break;
|
|
309
|
+
case 'ArrowLeft':
|
|
310
|
+
newValue = getNewValue(value, stepSize, isRtl ? 1 : -1, min, max);
|
|
311
|
+
break;
|
|
312
|
+
case 'PageUp':
|
|
313
|
+
newValue = getNewValue(value, shiftStep, 1, min, max);
|
|
314
|
+
break;
|
|
315
|
+
case 'PageDown':
|
|
316
|
+
newValue = getNewValue(value, shiftStep, -1, min, max);
|
|
317
|
+
break;
|
|
318
|
+
case 'Home':
|
|
319
|
+
newValue = min;
|
|
320
|
+
break;
|
|
321
|
+
case 'End':
|
|
322
|
+
newValue = max;
|
|
323
|
+
break;
|
|
324
|
+
default:
|
|
325
|
+
break;
|
|
326
|
+
}
|
|
327
|
+
} else if (marks) {
|
|
328
|
+
const maxMarksValue = marksValues[marksValues.length - 1];
|
|
329
|
+
const currentMarkIndex = marksValues.indexOf(value);
|
|
330
|
+
const decrementKeys = [isRtl ? 'ArrowRight' : 'ArrowLeft', 'ArrowDown', 'PageDown', 'Home'];
|
|
331
|
+
const incrementKeys = [isRtl ? 'ArrowLeft' : 'ArrowRight', 'ArrowUp', 'PageUp', 'End'];
|
|
332
|
+
if (decrementKeys.includes(event.key)) {
|
|
333
|
+
if (currentMarkIndex === 0) {
|
|
334
|
+
newValue = marksValues[0];
|
|
335
|
+
} else {
|
|
336
|
+
newValue = marksValues[currentMarkIndex - 1];
|
|
337
|
+
}
|
|
338
|
+
} else if (incrementKeys.includes(event.key)) {
|
|
339
|
+
if (currentMarkIndex === marksValues.length - 1) {
|
|
340
|
+
newValue = maxMarksValue;
|
|
341
|
+
} else {
|
|
342
|
+
newValue = marksValues[currentMarkIndex + 1];
|
|
343
|
+
}
|
|
344
|
+
}
|
|
293
345
|
}
|
|
294
|
-
if (newValue
|
|
346
|
+
if (newValue != null) {
|
|
295
347
|
changeValue(event, newValue);
|
|
296
|
-
event.preventDefault();
|
|
297
348
|
}
|
|
298
349
|
}
|
|
299
350
|
otherHandlers?.onKeyDown?.(event);
|
|
@@ -315,6 +366,7 @@ export function useSlider(parameters) {
|
|
|
315
366
|
}
|
|
316
367
|
const createHandleHiddenInputChange = otherHandlers => event => {
|
|
317
368
|
otherHandlers.onChange?.(event);
|
|
369
|
+
// this handles value change by Pointer or Touch events
|
|
318
370
|
// @ts-ignore
|
|
319
371
|
changeValue(event, event.target.valueAsNumber);
|
|
320
372
|
};
|
|
@@ -435,7 +487,7 @@ export function useSlider(parameters) {
|
|
|
435
487
|
setOpen(-1);
|
|
436
488
|
}
|
|
437
489
|
if (onChangeCommitted) {
|
|
438
|
-
onChangeCommitted(nativeEvent, newValue);
|
|
490
|
+
onChangeCommitted(nativeEvent, lastChangedValue.current ?? newValue);
|
|
439
491
|
}
|
|
440
492
|
touchId.current = undefined;
|
|
441
493
|
|
|
@@ -591,6 +643,10 @@ export function useSlider(parameters) {
|
|
|
591
643
|
pointerEvents: active !== -1 && active !== index ? 'none' : undefined
|
|
592
644
|
};
|
|
593
645
|
};
|
|
646
|
+
let cssWritingMode;
|
|
647
|
+
if (orientation === 'vertical') {
|
|
648
|
+
cssWritingMode = isRtl ? 'vertical-rl' : 'vertical-lr';
|
|
649
|
+
}
|
|
594
650
|
const getHiddenInputProps = (externalProps = {}) => {
|
|
595
651
|
const externalHandlers = extractEventHandlers(externalProps);
|
|
596
652
|
const ownEventHandlers = {
|
|
@@ -622,7 +678,8 @@ export function useSlider(parameters) {
|
|
|
622
678
|
direction: isRtl ? 'rtl' : 'ltr',
|
|
623
679
|
// So that VoiceOver's focus indicator matches the thumb's dimensions
|
|
624
680
|
width: '100%',
|
|
625
|
-
height: '100%'
|
|
681
|
+
height: '100%',
|
|
682
|
+
writingMode: cssWritingMode
|
|
626
683
|
}
|
|
627
684
|
};
|
|
628
685
|
};
|
|
@@ -1,11 +1,38 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SxProps } from '@mui/system';
|
|
3
|
-
import { InternalStandardProps as StandardProps } from '..';
|
|
3
|
+
import { CollapseProps, InternalStandardProps as StandardProps } from '..';
|
|
4
4
|
import { Theme } from '../styles';
|
|
5
5
|
import { TransitionProps } from '../transitions/transition';
|
|
6
6
|
import { StepContentClasses } from './stepContentClasses';
|
|
7
|
+
import { CreateSlotsAndSlotProps, SlotProps } from '../utils/types';
|
|
7
8
|
|
|
8
|
-
export interface
|
|
9
|
+
export interface StepContentSlots {
|
|
10
|
+
/**
|
|
11
|
+
* The component that renders the transition slot.
|
|
12
|
+
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
13
|
+
* @default Collapse
|
|
14
|
+
*/
|
|
15
|
+
transition?: React.JSXElementConstructor<
|
|
16
|
+
TransitionProps & { children?: React.ReactElement<unknown, any> }
|
|
17
|
+
>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type StepContentSlotsAndSlotProps = CreateSlotsAndSlotProps<
|
|
21
|
+
StepContentSlots,
|
|
22
|
+
{
|
|
23
|
+
/**
|
|
24
|
+
* Props forwared to the transition slot.
|
|
25
|
+
* By default, the available props are based on the [Collapse](https://mui.com/material-ui/api/collapse/#props) component
|
|
26
|
+
*/
|
|
27
|
+
transition: SlotProps<React.ElementType<CollapseProps>, {}, StepContentOwnerState>;
|
|
28
|
+
}
|
|
29
|
+
>;
|
|
30
|
+
|
|
31
|
+
export interface StepContentOwnerState extends StepContentProps {}
|
|
32
|
+
|
|
33
|
+
export interface StepContentProps
|
|
34
|
+
extends StandardProps<React.HTMLAttributes<HTMLDivElement>>,
|
|
35
|
+
StepContentSlotsAndSlotProps {
|
|
9
36
|
/**
|
|
10
37
|
* The content of the component.
|
|
11
38
|
*/
|
|
@@ -22,6 +49,7 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
22
49
|
* The component used for the transition.
|
|
23
50
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
24
51
|
* @default Collapse
|
|
52
|
+
* @deprecated Use `slots.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
25
53
|
*/
|
|
26
54
|
TransitionComponent?: React.JSXElementConstructor<
|
|
27
55
|
TransitionProps & { children: React.ReactElement<unknown, any> }
|
|
@@ -37,6 +65,7 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
|
|
|
37
65
|
/**
|
|
38
66
|
* Props applied to the transition element.
|
|
39
67
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
68
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
40
69
|
*/
|
|
41
70
|
TransitionProps?: TransitionProps;
|
|
42
71
|
}
|