@sitecore/sc-contenthub-blok 0.0.37 → 0.0.39
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/dist/BlokTheme.js +9 -0
- package/dist/BlokTheme.js.map +1 -1
- package/dist/Components/BlokButton/BlokButton.d.ts +1 -0
- package/dist/Components/BlokButton/BlokButton.js +3 -2
- package/dist/Components/BlokButton/BlokButton.js.map +1 -1
- package/dist/Components/BlokButton/BlokButton.stories.js +1 -1
- package/dist/Components/BlokButton/BlokButton.stories.js.map +1 -1
- package/dist/Components/BlokIconButton/BlokIconButton.js +1 -1
- package/dist/Components/BlokIconButton/BlokIconButton.js.map +1 -1
- package/esm/BlokTheme.js +9 -0
- package/esm/BlokTheme.js.map +1 -1
- package/esm/Components/BlokButton/BlokButton.js +3 -2
- package/esm/Components/BlokButton/BlokButton.js.map +1 -1
- package/esm/Components/BlokIconButton/BlokIconButton.js +1 -1
- package/esm/Components/BlokIconButton/BlokIconButton.js.map +1 -1
- 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
|
@@ -187,6 +187,39 @@ const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
|
|
|
187
187
|
...slotProps
|
|
188
188
|
}
|
|
189
189
|
};
|
|
190
|
+
const [RootSlot, rootSlotProps] = useSlot('root', {
|
|
191
|
+
ref,
|
|
192
|
+
shouldForwardComponentProp: true,
|
|
193
|
+
className: clsx(classes.root, className),
|
|
194
|
+
elementType: AlertRoot,
|
|
195
|
+
externalForwardedProps: {
|
|
196
|
+
...externalForwardedProps,
|
|
197
|
+
...other
|
|
198
|
+
},
|
|
199
|
+
ownerState,
|
|
200
|
+
additionalProps: {
|
|
201
|
+
role,
|
|
202
|
+
elevation: 0
|
|
203
|
+
}
|
|
204
|
+
});
|
|
205
|
+
const [IconSlot, iconSlotProps] = useSlot('icon', {
|
|
206
|
+
className: classes.icon,
|
|
207
|
+
elementType: AlertIcon,
|
|
208
|
+
externalForwardedProps,
|
|
209
|
+
ownerState
|
|
210
|
+
});
|
|
211
|
+
const [MessageSlot, messageSlotProps] = useSlot('message', {
|
|
212
|
+
className: classes.message,
|
|
213
|
+
elementType: AlertMessage,
|
|
214
|
+
externalForwardedProps,
|
|
215
|
+
ownerState
|
|
216
|
+
});
|
|
217
|
+
const [ActionSlot, actionSlotProps] = useSlot('action', {
|
|
218
|
+
className: classes.action,
|
|
219
|
+
elementType: AlertAction,
|
|
220
|
+
externalForwardedProps,
|
|
221
|
+
ownerState
|
|
222
|
+
});
|
|
190
223
|
const [CloseButtonSlot, closeButtonProps] = useSlot('closeButton', {
|
|
191
224
|
elementType: IconButton,
|
|
192
225
|
externalForwardedProps,
|
|
@@ -197,28 +230,19 @@ const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
|
|
|
197
230
|
externalForwardedProps,
|
|
198
231
|
ownerState
|
|
199
232
|
});
|
|
200
|
-
return /*#__PURE__*/_jsxs(
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
className: clsx(classes.root, className),
|
|
205
|
-
ref: ref,
|
|
206
|
-
...other,
|
|
207
|
-
children: [icon !== false ? /*#__PURE__*/_jsx(AlertIcon, {
|
|
208
|
-
ownerState: ownerState,
|
|
209
|
-
className: classes.icon,
|
|
233
|
+
return /*#__PURE__*/_jsxs(RootSlot, {
|
|
234
|
+
...rootSlotProps,
|
|
235
|
+
children: [icon !== false ? /*#__PURE__*/_jsx(IconSlot, {
|
|
236
|
+
...iconSlotProps,
|
|
210
237
|
children: icon || iconMapping[severity] || defaultIconMapping[severity]
|
|
211
|
-
}) : null, /*#__PURE__*/_jsx(
|
|
212
|
-
|
|
213
|
-
className: classes.message,
|
|
238
|
+
}) : null, /*#__PURE__*/_jsx(MessageSlot, {
|
|
239
|
+
...messageSlotProps,
|
|
214
240
|
children: children
|
|
215
|
-
}), action != null ? /*#__PURE__*/_jsx(
|
|
216
|
-
|
|
217
|
-
className: classes.action,
|
|
241
|
+
}), action != null ? /*#__PURE__*/_jsx(ActionSlot, {
|
|
242
|
+
...actionSlotProps,
|
|
218
243
|
children: action
|
|
219
|
-
}) : null, action == null && onClose ? /*#__PURE__*/_jsx(
|
|
220
|
-
|
|
221
|
-
className: classes.action,
|
|
244
|
+
}) : null, action == null && onClose ? /*#__PURE__*/_jsx(ActionSlot, {
|
|
245
|
+
...actionSlotProps,
|
|
222
246
|
children: /*#__PURE__*/_jsx(CloseButtonSlot, {
|
|
223
247
|
size: "small",
|
|
224
248
|
"aria-label": closeText,
|
|
@@ -330,16 +354,24 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
|
|
|
330
354
|
* @default {}
|
|
331
355
|
*/
|
|
332
356
|
slotProps: PropTypes.shape({
|
|
357
|
+
action: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
333
358
|
closeButton: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
334
|
-
closeIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
359
|
+
closeIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
360
|
+
icon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
361
|
+
message: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
362
|
+
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
335
363
|
}),
|
|
336
364
|
/**
|
|
337
365
|
* The components used for each slot inside.
|
|
338
366
|
* @default {}
|
|
339
367
|
*/
|
|
340
368
|
slots: PropTypes.shape({
|
|
369
|
+
action: PropTypes.elementType,
|
|
341
370
|
closeButton: PropTypes.elementType,
|
|
342
|
-
closeIcon: PropTypes.elementType
|
|
371
|
+
closeIcon: PropTypes.elementType,
|
|
372
|
+
icon: PropTypes.elementType,
|
|
373
|
+
message: PropTypes.elementType,
|
|
374
|
+
root: PropTypes.elementType
|
|
343
375
|
}),
|
|
344
376
|
/**
|
|
345
377
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
@@ -30,7 +30,7 @@ export interface AppBarOwnProps {
|
|
|
30
30
|
enableColorOnDark?: boolean;
|
|
31
31
|
/**
|
|
32
32
|
* The positioning type. The behavior of the different options is described
|
|
33
|
-
* [in the MDN web docs](https://developer.mozilla.org/en-US/docs/
|
|
33
|
+
* [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Web/CSS/position).
|
|
34
34
|
* Note: `sticky` is not universally supported and will fall back to `static` when unavailable.
|
|
35
35
|
* @default 'fixed'
|
|
36
36
|
*/
|
|
@@ -214,7 +214,7 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */
|
|
|
214
214
|
enableColorOnDark: PropTypes.bool,
|
|
215
215
|
/**
|
|
216
216
|
* The positioning type. The behavior of the different options is described
|
|
217
|
-
* [in the MDN web docs](https://developer.mozilla.org/en-US/docs/
|
|
217
|
+
* [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Web/CSS/position).
|
|
218
218
|
* Note: `sticky` is not universally supported and will fall back to `static` when unavailable.
|
|
219
219
|
* @default 'fixed'
|
|
220
220
|
*/
|
|
@@ -251,12 +251,12 @@ const AutocompleteClearIndicator = styled(IconButton, {
|
|
|
251
251
|
const AutocompletePopupIndicator = styled(IconButton, {
|
|
252
252
|
name: 'MuiAutocomplete',
|
|
253
253
|
slot: 'PopupIndicator',
|
|
254
|
-
overridesResolver: ({
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
}
|
|
254
|
+
overridesResolver: (props, styles) => {
|
|
255
|
+
const {
|
|
256
|
+
ownerState
|
|
257
|
+
} = props;
|
|
258
|
+
return [styles.popupIndicator, ownerState.popupOpen && styles.popupIndicatorOpen];
|
|
259
|
+
}
|
|
260
260
|
})({
|
|
261
261
|
padding: 2,
|
|
262
262
|
marginRight: -2,
|
|
@@ -650,53 +650,6 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
|
|
|
650
650
|
};
|
|
651
651
|
const clearIndicatorSlotProps = externalForwardedProps.slotProps.clearIndicator;
|
|
652
652
|
const popupIndicatorSlotProps = externalForwardedProps.slotProps.popupIndicator;
|
|
653
|
-
const renderAutocompletePopperChildren = children => /*#__PURE__*/_jsx(AutocompletePopper, {
|
|
654
|
-
as: PopperSlot,
|
|
655
|
-
...popperProps,
|
|
656
|
-
children: /*#__PURE__*/_jsx(AutocompletePaper, {
|
|
657
|
-
as: PaperSlot,
|
|
658
|
-
...paperProps,
|
|
659
|
-
children: children
|
|
660
|
-
})
|
|
661
|
-
});
|
|
662
|
-
let autocompletePopper = null;
|
|
663
|
-
if (groupedOptions.length > 0) {
|
|
664
|
-
autocompletePopper = renderAutocompletePopperChildren(
|
|
665
|
-
/*#__PURE__*/
|
|
666
|
-
// TODO v7: remove `as` prop and move ListboxComponentProp to externalForwardedProps or remove ListboxComponentProp entirely
|
|
667
|
-
// https://github.com/mui/material-ui/pull/43994#issuecomment-2401945800
|
|
668
|
-
_jsx(ListboxSlot, {
|
|
669
|
-
as: ListboxComponentProp,
|
|
670
|
-
...listboxProps,
|
|
671
|
-
children: groupedOptions.map((option, index) => {
|
|
672
|
-
if (groupBy) {
|
|
673
|
-
return renderGroup({
|
|
674
|
-
key: option.key,
|
|
675
|
-
group: option.group,
|
|
676
|
-
children: option.options.map((option2, index2) => renderListOption(option2, option.index + index2))
|
|
677
|
-
});
|
|
678
|
-
}
|
|
679
|
-
return renderListOption(option, index);
|
|
680
|
-
})
|
|
681
|
-
}));
|
|
682
|
-
} else if (loading && groupedOptions.length === 0) {
|
|
683
|
-
autocompletePopper = renderAutocompletePopperChildren(/*#__PURE__*/_jsx(AutocompleteLoading, {
|
|
684
|
-
className: classes.loading,
|
|
685
|
-
ownerState: ownerState,
|
|
686
|
-
children: loadingText
|
|
687
|
-
}));
|
|
688
|
-
} else if (groupedOptions.length === 0 && !freeSolo && !loading) {
|
|
689
|
-
autocompletePopper = renderAutocompletePopperChildren(/*#__PURE__*/_jsx(AutocompleteNoOptions, {
|
|
690
|
-
className: classes.noOptions,
|
|
691
|
-
ownerState: ownerState,
|
|
692
|
-
role: "presentation",
|
|
693
|
-
onMouseDown: event => {
|
|
694
|
-
// Prevent input blur when interacting with the "no options" content
|
|
695
|
-
event.preventDefault();
|
|
696
|
-
},
|
|
697
|
-
children: noOptionsText
|
|
698
|
-
}));
|
|
699
|
-
}
|
|
700
653
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
701
654
|
children: [/*#__PURE__*/_jsx(AutocompleteRoot, {
|
|
702
655
|
ref: ref,
|
|
@@ -750,7 +703,41 @@ const Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps
|
|
|
750
703
|
...getInputProps()
|
|
751
704
|
}
|
|
752
705
|
})
|
|
753
|
-
}), anchorEl ?
|
|
706
|
+
}), anchorEl ? /*#__PURE__*/_jsx(AutocompletePopper, {
|
|
707
|
+
as: PopperSlot,
|
|
708
|
+
...popperProps,
|
|
709
|
+
children: /*#__PURE__*/_jsxs(AutocompletePaper, {
|
|
710
|
+
as: PaperSlot,
|
|
711
|
+
...paperProps,
|
|
712
|
+
children: [loading && groupedOptions.length === 0 ? /*#__PURE__*/_jsx(AutocompleteLoading, {
|
|
713
|
+
className: classes.loading,
|
|
714
|
+
ownerState: ownerState,
|
|
715
|
+
children: loadingText
|
|
716
|
+
}) : null, groupedOptions.length === 0 && !freeSolo && !loading ? /*#__PURE__*/_jsx(AutocompleteNoOptions, {
|
|
717
|
+
className: classes.noOptions,
|
|
718
|
+
ownerState: ownerState,
|
|
719
|
+
role: "presentation",
|
|
720
|
+
onMouseDown: event => {
|
|
721
|
+
// Prevent input blur when interacting with the "no options" content
|
|
722
|
+
event.preventDefault();
|
|
723
|
+
},
|
|
724
|
+
children: noOptionsText
|
|
725
|
+
}) : null, groupedOptions.length > 0 ? /*#__PURE__*/_jsx(ListboxSlot, {
|
|
726
|
+
as: ListboxComponentProp,
|
|
727
|
+
...listboxProps,
|
|
728
|
+
children: groupedOptions.map((option, index) => {
|
|
729
|
+
if (groupBy) {
|
|
730
|
+
return renderGroup({
|
|
731
|
+
key: option.key,
|
|
732
|
+
group: option.group,
|
|
733
|
+
children: option.options.map((option2, index2) => renderListOption(option2, option.index + index2))
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
return renderListOption(option, index);
|
|
737
|
+
})
|
|
738
|
+
}) : null]
|
|
739
|
+
})
|
|
740
|
+
}) : null]
|
|
754
741
|
});
|
|
755
742
|
});
|
|
756
743
|
process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptypes */ = {
|
|
@@ -952,7 +939,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes /* remove-proptyp
|
|
|
952
939
|
* If provided, the options will be grouped under the returned string.
|
|
953
940
|
* The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
|
|
954
941
|
*
|
|
955
|
-
* @param {Value}
|
|
942
|
+
* @param {Value} option The Autocomplete option.
|
|
956
943
|
* @returns {string}
|
|
957
944
|
*/
|
|
958
945
|
groupBy: PropTypes.func,
|
|
@@ -30,10 +30,11 @@ const useUtilityClasses = ownerState => {
|
|
|
30
30
|
const AvatarGroupRoot = styled('div', {
|
|
31
31
|
name: 'MuiAvatarGroup',
|
|
32
32
|
slot: 'Root',
|
|
33
|
-
overridesResolver: (props, styles) =>
|
|
34
|
-
[
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
overridesResolver: (props, styles) => {
|
|
34
|
+
return [{
|
|
35
|
+
[`& .${avatarGroupClasses.avatar}`]: styles.avatar
|
|
36
|
+
}, styles.root];
|
|
37
|
+
}
|
|
37
38
|
})(memoTheme(({
|
|
38
39
|
theme
|
|
39
40
|
}) => ({
|
|
@@ -10,13 +10,6 @@ import useSlot from "../utils/useSlot.js";
|
|
|
10
10
|
import Fade from "../Fade/index.js";
|
|
11
11
|
import { getBackdropUtilityClass } from "./backdropClasses.js";
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
const removeOwnerState = props => {
|
|
14
|
-
const {
|
|
15
|
-
ownerState,
|
|
16
|
-
...rest
|
|
17
|
-
} = props;
|
|
18
|
-
return rest;
|
|
19
|
-
};
|
|
20
13
|
const useUtilityClasses = ownerState => {
|
|
21
14
|
const {
|
|
22
15
|
classes,
|
|
@@ -105,12 +98,11 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
|
|
|
105
98
|
externalForwardedProps,
|
|
106
99
|
ownerState
|
|
107
100
|
});
|
|
108
|
-
const transitionPropsRemoved = removeOwnerState(transitionProps);
|
|
109
101
|
return /*#__PURE__*/_jsx(TransitionSlot, {
|
|
110
102
|
in: open,
|
|
111
103
|
timeout: transitionDuration,
|
|
112
104
|
...other,
|
|
113
|
-
...
|
|
105
|
+
...transitionProps,
|
|
114
106
|
children: /*#__PURE__*/_jsx(RootSlot, {
|
|
115
107
|
"aria-hidden": true,
|
|
116
108
|
...rootProps,
|
|
@@ -18,6 +18,8 @@ declare const Box: OverridableComponent<BoxTypeMap<{}, 'div', MaterialTheme>>;
|
|
|
18
18
|
export type BoxProps<
|
|
19
19
|
RootComponent extends React.ElementType = BoxTypeMap['defaultComponent'],
|
|
20
20
|
AdditionalProps = {},
|
|
21
|
-
> = OverrideProps<BoxTypeMap<AdditionalProps, RootComponent, MaterialTheme>, RootComponent
|
|
21
|
+
> = OverrideProps<BoxTypeMap<AdditionalProps, RootComponent, MaterialTheme>, RootComponent> & {
|
|
22
|
+
component?: React.ElementType;
|
|
23
|
+
};
|
|
22
24
|
|
|
23
25
|
export default Box;
|
|
@@ -60,6 +60,24 @@ export interface ButtonOwnProps {
|
|
|
60
60
|
* If defined, an `a` element will be used as the root node.
|
|
61
61
|
*/
|
|
62
62
|
href?: string;
|
|
63
|
+
/**
|
|
64
|
+
* If `true`, the loading indicator is visible and the button is disabled.
|
|
65
|
+
* If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
|
|
66
|
+
* @default null
|
|
67
|
+
*/
|
|
68
|
+
loading?: boolean | null;
|
|
69
|
+
/**
|
|
70
|
+
* Element placed before the children if the button is in loading state.
|
|
71
|
+
* The node should contain an element with `role="progressbar"` with an accessible name.
|
|
72
|
+
* By default, it renders a `CircularProgress` that is labeled by the button itself.
|
|
73
|
+
* @default <CircularProgress color="inherit" size={16} />
|
|
74
|
+
*/
|
|
75
|
+
loadingIndicator?: React.ReactNode;
|
|
76
|
+
/**
|
|
77
|
+
* The loading indicator can be positioned on the start, end, or the center of the button.
|
|
78
|
+
* @default 'center'
|
|
79
|
+
*/
|
|
80
|
+
loadingPosition?: 'start' | 'end' | 'center';
|
|
63
81
|
/**
|
|
64
82
|
* The size of the component.
|
|
65
83
|
* `small` is equivalent to the dense button styling.
|