@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
|
@@ -3,6 +3,34 @@
|
|
|
3
3
|
These rules are preventing the performance optimizations below.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Compose classes from multiple sources.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* const slots = {
|
|
12
|
+
* root: ['root', 'primary'],
|
|
13
|
+
* label: ['label'],
|
|
14
|
+
* };
|
|
15
|
+
*
|
|
16
|
+
* const getUtilityClass = (slot) => `MuiButton-${slot}`;
|
|
17
|
+
*
|
|
18
|
+
* const classes = {
|
|
19
|
+
* root: 'my-root-class',
|
|
20
|
+
* };
|
|
21
|
+
*
|
|
22
|
+
* const output = composeClasses(slots, getUtilityClass, classes);
|
|
23
|
+
* // {
|
|
24
|
+
* // root: 'MuiButton-root MuiButton-primary my-root-class',
|
|
25
|
+
* // label: 'MuiButton-label',
|
|
26
|
+
* // }
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @param slots a list of classes for each possible slot
|
|
30
|
+
* @param getUtilityClass a function to resolve the class based on the slot name
|
|
31
|
+
* @param classes the input classes from props
|
|
32
|
+
* @returns the resolved classes for all slots
|
|
33
|
+
*/
|
|
6
34
|
export default function composeClasses(slots, getUtilityClass, classes = undefined) {
|
|
7
35
|
const output = {};
|
|
8
36
|
for (const slotName in slots) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { isValidElementType } from 'react-is';
|
|
2
3
|
|
|
3
4
|
// https://github.com/sindresorhus/is-plain-obj/blob/main/index.js
|
|
4
5
|
export function isPlainObject(item) {
|
|
@@ -9,7 +10,7 @@ export function isPlainObject(item) {
|
|
|
9
10
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in item) && !(Symbol.iterator in item);
|
|
10
11
|
}
|
|
11
12
|
function deepClone(source) {
|
|
12
|
-
if (/*#__PURE__*/React.isValidElement(source) || !isPlainObject(source)) {
|
|
13
|
+
if (/*#__PURE__*/React.isValidElement(source) || isValidElementType(source) || !isPlainObject(source)) {
|
|
13
14
|
return source;
|
|
14
15
|
}
|
|
15
16
|
const output = {};
|
|
@@ -18,6 +19,25 @@ function deepClone(source) {
|
|
|
18
19
|
});
|
|
19
20
|
return output;
|
|
20
21
|
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Merge objects deeply.
|
|
25
|
+
* It will shallow copy React elements.
|
|
26
|
+
*
|
|
27
|
+
* If `options.clone` is set to `false` the source object will be merged directly into the target object.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* deepmerge({ a: { b: 1 }, d: 2 }, { a: { c: 2 }, d: 4 });
|
|
32
|
+
* // => { a: { b: 1, c: 2 }, d: 4 }
|
|
33
|
+
* ````
|
|
34
|
+
*
|
|
35
|
+
* @param target The target object.
|
|
36
|
+
* @param source The source object.
|
|
37
|
+
* @param options The merge options.
|
|
38
|
+
* @param options.clone Set to `false` to merge the source object directly into the target object.
|
|
39
|
+
* @returns The merged object.
|
|
40
|
+
*/
|
|
21
41
|
export default function deepmerge(target, source, options = {
|
|
22
42
|
clone: true
|
|
23
43
|
}) {
|
|
@@ -26,7 +46,7 @@ export default function deepmerge(target, source, options = {
|
|
|
26
46
|
} : target;
|
|
27
47
|
if (isPlainObject(target) && isPlainObject(source)) {
|
|
28
48
|
Object.keys(source).forEach(key => {
|
|
29
|
-
if (/*#__PURE__*/React.isValidElement(source[key])) {
|
|
49
|
+
if (/*#__PURE__*/React.isValidElement(source[key]) || isValidElementType(source[key])) {
|
|
30
50
|
output[key] = source[key];
|
|
31
51
|
} else if (isPlainObject(source[key]) &&
|
|
32
52
|
// Avoid prototype pollution
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# `react-is`
|
|
2
|
+
|
|
3
|
+
This package allows you to test arbitrary values and see if they're a particular React element type.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
# Yarn
|
|
9
|
+
yarn add react-is
|
|
10
|
+
|
|
11
|
+
# NPM
|
|
12
|
+
npm install react-is
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
### Determining if a Component is Valid
|
|
18
|
+
|
|
19
|
+
```js
|
|
20
|
+
import React from "react";
|
|
21
|
+
import * as ReactIs from "react-is";
|
|
22
|
+
|
|
23
|
+
class ClassComponent extends React.Component {
|
|
24
|
+
render() {
|
|
25
|
+
return React.createElement("div");
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
const FunctionComponent = () => React.createElement("div");
|
|
30
|
+
|
|
31
|
+
const ForwardRefComponent = React.forwardRef((props, ref) =>
|
|
32
|
+
React.createElement(Component, { forwardedRef: ref, ...props })
|
|
33
|
+
);
|
|
34
|
+
|
|
35
|
+
const Context = React.createContext(false);
|
|
36
|
+
|
|
37
|
+
ReactIs.isValidElementType("div"); // true
|
|
38
|
+
ReactIs.isValidElementType(ClassComponent); // true
|
|
39
|
+
ReactIs.isValidElementType(FunctionComponent); // true
|
|
40
|
+
ReactIs.isValidElementType(ForwardRefComponent); // true
|
|
41
|
+
ReactIs.isValidElementType(Context.Provider); // true
|
|
42
|
+
ReactIs.isValidElementType(Context.Consumer); // true
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Determining an Element's Type
|
|
46
|
+
|
|
47
|
+
#### Context
|
|
48
|
+
|
|
49
|
+
```js
|
|
50
|
+
import React from "react";
|
|
51
|
+
import * as ReactIs from 'react-is';
|
|
52
|
+
|
|
53
|
+
const ThemeContext = React.createContext("blue");
|
|
54
|
+
|
|
55
|
+
ReactIs.isContextConsumer(<ThemeContext.Consumer />); // true
|
|
56
|
+
ReactIs.isContextProvider(<ThemeContext.Provider />); // true
|
|
57
|
+
ReactIs.typeOf(<ThemeContext.Provider />) === ReactIs.ContextProvider; // true
|
|
58
|
+
ReactIs.typeOf(<ThemeContext.Consumer />) === ReactIs.ContextConsumer; // true
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
#### Element
|
|
62
|
+
|
|
63
|
+
```js
|
|
64
|
+
import React from "react";
|
|
65
|
+
import * as ReactIs from 'react-is';
|
|
66
|
+
|
|
67
|
+
ReactIs.isElement(<div />); // true
|
|
68
|
+
ReactIs.typeOf(<div />) === ReactIs.Element; // true
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
#### Fragment
|
|
72
|
+
|
|
73
|
+
```js
|
|
74
|
+
import React from "react";
|
|
75
|
+
import * as ReactIs from 'react-is';
|
|
76
|
+
|
|
77
|
+
ReactIs.isFragment(<></>); // true
|
|
78
|
+
ReactIs.typeOf(<></>) === ReactIs.Fragment; // true
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
#### Portal
|
|
82
|
+
|
|
83
|
+
```js
|
|
84
|
+
import React from "react";
|
|
85
|
+
import ReactDOM from "react-dom";
|
|
86
|
+
import * as ReactIs from 'react-is';
|
|
87
|
+
|
|
88
|
+
const div = document.createElement("div");
|
|
89
|
+
const portal = ReactDOM.createPortal(<div />, div);
|
|
90
|
+
|
|
91
|
+
ReactIs.isPortal(portal); // true
|
|
92
|
+
ReactIs.typeOf(portal) === ReactIs.Portal; // true
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
#### StrictMode
|
|
96
|
+
|
|
97
|
+
```js
|
|
98
|
+
import React from "react";
|
|
99
|
+
import * as ReactIs from 'react-is';
|
|
100
|
+
|
|
101
|
+
ReactIs.isStrictMode(<React.StrictMode />); // true
|
|
102
|
+
ReactIs.typeOf(<React.StrictMode />) === ReactIs.StrictMode; // true
|
|
103
|
+
```
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-is.development.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
"use strict";
|
|
12
|
+
"production" !== process.env.NODE_ENV &&
|
|
13
|
+
(function () {
|
|
14
|
+
function typeOf(object) {
|
|
15
|
+
if ("object" === typeof object && null !== object) {
|
|
16
|
+
var $$typeof = object.$$typeof;
|
|
17
|
+
switch ($$typeof) {
|
|
18
|
+
case REACT_ELEMENT_TYPE:
|
|
19
|
+
switch (((object = object.type), object)) {
|
|
20
|
+
case REACT_FRAGMENT_TYPE:
|
|
21
|
+
case REACT_PROFILER_TYPE:
|
|
22
|
+
case REACT_STRICT_MODE_TYPE:
|
|
23
|
+
case REACT_SUSPENSE_TYPE:
|
|
24
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
25
|
+
return object;
|
|
26
|
+
default:
|
|
27
|
+
switch (((object = object && object.$$typeof), object)) {
|
|
28
|
+
case REACT_CONTEXT_TYPE:
|
|
29
|
+
case REACT_FORWARD_REF_TYPE:
|
|
30
|
+
case REACT_LAZY_TYPE:
|
|
31
|
+
case REACT_MEMO_TYPE:
|
|
32
|
+
return object;
|
|
33
|
+
case REACT_CONSUMER_TYPE:
|
|
34
|
+
return object;
|
|
35
|
+
default:
|
|
36
|
+
return $$typeof;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
case REACT_PORTAL_TYPE:
|
|
40
|
+
return $$typeof;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
45
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
46
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
47
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
48
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
49
|
+
Symbol.for("react.provider");
|
|
50
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
51
|
+
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
52
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
53
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
54
|
+
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
55
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
56
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
57
|
+
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
58
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
59
|
+
exports.ContextConsumer = REACT_CONSUMER_TYPE;
|
|
60
|
+
exports.ContextProvider = REACT_CONTEXT_TYPE;
|
|
61
|
+
exports.Element = REACT_ELEMENT_TYPE;
|
|
62
|
+
exports.ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
63
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
64
|
+
exports.Lazy = REACT_LAZY_TYPE;
|
|
65
|
+
exports.Memo = REACT_MEMO_TYPE;
|
|
66
|
+
exports.Portal = REACT_PORTAL_TYPE;
|
|
67
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
|
68
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
69
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
70
|
+
exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
71
|
+
exports.isContextConsumer = function (object) {
|
|
72
|
+
return typeOf(object) === REACT_CONSUMER_TYPE;
|
|
73
|
+
};
|
|
74
|
+
exports.isContextProvider = function (object) {
|
|
75
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
76
|
+
};
|
|
77
|
+
exports.isElement = function (object) {
|
|
78
|
+
return (
|
|
79
|
+
"object" === typeof object &&
|
|
80
|
+
null !== object &&
|
|
81
|
+
object.$$typeof === REACT_ELEMENT_TYPE
|
|
82
|
+
);
|
|
83
|
+
};
|
|
84
|
+
exports.isForwardRef = function (object) {
|
|
85
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
86
|
+
};
|
|
87
|
+
exports.isFragment = function (object) {
|
|
88
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
89
|
+
};
|
|
90
|
+
exports.isLazy = function (object) {
|
|
91
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
92
|
+
};
|
|
93
|
+
exports.isMemo = function (object) {
|
|
94
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
95
|
+
};
|
|
96
|
+
exports.isPortal = function (object) {
|
|
97
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
98
|
+
};
|
|
99
|
+
exports.isProfiler = function (object) {
|
|
100
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
101
|
+
};
|
|
102
|
+
exports.isStrictMode = function (object) {
|
|
103
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
104
|
+
};
|
|
105
|
+
exports.isSuspense = function (object) {
|
|
106
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
107
|
+
};
|
|
108
|
+
exports.isSuspenseList = function (object) {
|
|
109
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
110
|
+
};
|
|
111
|
+
exports.isValidElementType = function (type) {
|
|
112
|
+
return "string" === typeof type ||
|
|
113
|
+
"function" === typeof type ||
|
|
114
|
+
type === REACT_FRAGMENT_TYPE ||
|
|
115
|
+
type === REACT_PROFILER_TYPE ||
|
|
116
|
+
type === REACT_STRICT_MODE_TYPE ||
|
|
117
|
+
type === REACT_SUSPENSE_TYPE ||
|
|
118
|
+
type === REACT_SUSPENSE_LIST_TYPE ||
|
|
119
|
+
type === REACT_OFFSCREEN_TYPE ||
|
|
120
|
+
("object" === typeof type &&
|
|
121
|
+
null !== type &&
|
|
122
|
+
(type.$$typeof === REACT_LAZY_TYPE ||
|
|
123
|
+
type.$$typeof === REACT_MEMO_TYPE ||
|
|
124
|
+
type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
125
|
+
type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
126
|
+
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
127
|
+
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
|
128
|
+
void 0 !== type.getModuleId))
|
|
129
|
+
? !0
|
|
130
|
+
: !1;
|
|
131
|
+
};
|
|
132
|
+
exports.typeOf = typeOf;
|
|
133
|
+
})();
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-is.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
"use strict";
|
|
12
|
+
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
13
|
+
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
14
|
+
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
15
|
+
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
16
|
+
REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
17
|
+
Symbol.for("react.provider");
|
|
18
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
19
|
+
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
20
|
+
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
21
|
+
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
22
|
+
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
23
|
+
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
24
|
+
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
25
|
+
REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
|
|
26
|
+
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
27
|
+
function typeOf(object) {
|
|
28
|
+
if ("object" === typeof object && null !== object) {
|
|
29
|
+
var $$typeof = object.$$typeof;
|
|
30
|
+
switch ($$typeof) {
|
|
31
|
+
case REACT_ELEMENT_TYPE:
|
|
32
|
+
switch (((object = object.type), object)) {
|
|
33
|
+
case REACT_FRAGMENT_TYPE:
|
|
34
|
+
case REACT_PROFILER_TYPE:
|
|
35
|
+
case REACT_STRICT_MODE_TYPE:
|
|
36
|
+
case REACT_SUSPENSE_TYPE:
|
|
37
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
38
|
+
return object;
|
|
39
|
+
default:
|
|
40
|
+
switch (((object = object && object.$$typeof), object)) {
|
|
41
|
+
case REACT_CONTEXT_TYPE:
|
|
42
|
+
case REACT_FORWARD_REF_TYPE:
|
|
43
|
+
case REACT_LAZY_TYPE:
|
|
44
|
+
case REACT_MEMO_TYPE:
|
|
45
|
+
return object;
|
|
46
|
+
case REACT_CONSUMER_TYPE:
|
|
47
|
+
return object;
|
|
48
|
+
default:
|
|
49
|
+
return $$typeof;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
case REACT_PORTAL_TYPE:
|
|
53
|
+
return $$typeof;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.ContextConsumer = REACT_CONSUMER_TYPE;
|
|
58
|
+
exports.ContextProvider = REACT_CONTEXT_TYPE;
|
|
59
|
+
exports.Element = REACT_ELEMENT_TYPE;
|
|
60
|
+
exports.ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
61
|
+
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
62
|
+
exports.Lazy = REACT_LAZY_TYPE;
|
|
63
|
+
exports.Memo = REACT_MEMO_TYPE;
|
|
64
|
+
exports.Portal = REACT_PORTAL_TYPE;
|
|
65
|
+
exports.Profiler = REACT_PROFILER_TYPE;
|
|
66
|
+
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
67
|
+
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
68
|
+
exports.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
69
|
+
exports.isContextConsumer = function (object) {
|
|
70
|
+
return typeOf(object) === REACT_CONSUMER_TYPE;
|
|
71
|
+
};
|
|
72
|
+
exports.isContextProvider = function (object) {
|
|
73
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
74
|
+
};
|
|
75
|
+
exports.isElement = function (object) {
|
|
76
|
+
return (
|
|
77
|
+
"object" === typeof object &&
|
|
78
|
+
null !== object &&
|
|
79
|
+
object.$$typeof === REACT_ELEMENT_TYPE
|
|
80
|
+
);
|
|
81
|
+
};
|
|
82
|
+
exports.isForwardRef = function (object) {
|
|
83
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
84
|
+
};
|
|
85
|
+
exports.isFragment = function (object) {
|
|
86
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
87
|
+
};
|
|
88
|
+
exports.isLazy = function (object) {
|
|
89
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
90
|
+
};
|
|
91
|
+
exports.isMemo = function (object) {
|
|
92
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
93
|
+
};
|
|
94
|
+
exports.isPortal = function (object) {
|
|
95
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
96
|
+
};
|
|
97
|
+
exports.isProfiler = function (object) {
|
|
98
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
99
|
+
};
|
|
100
|
+
exports.isStrictMode = function (object) {
|
|
101
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
102
|
+
};
|
|
103
|
+
exports.isSuspense = function (object) {
|
|
104
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
105
|
+
};
|
|
106
|
+
exports.isSuspenseList = function (object) {
|
|
107
|
+
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
108
|
+
};
|
|
109
|
+
exports.isValidElementType = function (type) {
|
|
110
|
+
return "string" === typeof type ||
|
|
111
|
+
"function" === typeof type ||
|
|
112
|
+
type === REACT_FRAGMENT_TYPE ||
|
|
113
|
+
type === REACT_PROFILER_TYPE ||
|
|
114
|
+
type === REACT_STRICT_MODE_TYPE ||
|
|
115
|
+
type === REACT_SUSPENSE_TYPE ||
|
|
116
|
+
type === REACT_SUSPENSE_LIST_TYPE ||
|
|
117
|
+
type === REACT_OFFSCREEN_TYPE ||
|
|
118
|
+
("object" === typeof type &&
|
|
119
|
+
null !== type &&
|
|
120
|
+
(type.$$typeof === REACT_LAZY_TYPE ||
|
|
121
|
+
type.$$typeof === REACT_MEMO_TYPE ||
|
|
122
|
+
type.$$typeof === REACT_CONTEXT_TYPE ||
|
|
123
|
+
type.$$typeof === REACT_CONSUMER_TYPE ||
|
|
124
|
+
type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
125
|
+
type.$$typeof === REACT_CLIENT_REFERENCE ||
|
|
126
|
+
void 0 !== type.getModuleId))
|
|
127
|
+
? !0
|
|
128
|
+
: !1;
|
|
129
|
+
};
|
|
130
|
+
exports.typeOf = typeOf;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-is",
|
|
3
|
+
"version": "19.0.0",
|
|
4
|
+
"description": "Brand checking of React Elements.",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/facebook/react.git",
|
|
10
|
+
"directory": "packages/react-is"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"react"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/facebook/react/issues"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://react.dev/",
|
|
20
|
+
"files": [
|
|
21
|
+
"LICENSE",
|
|
22
|
+
"README.md",
|
|
23
|
+
"index.js",
|
|
24
|
+
"cjs/"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/utils",
|
|
3
|
-
"version": "6.1
|
|
3
|
+
"version": "6.4.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Utility functions for React components.",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/runtime": "^7.26.0",
|
|
30
|
-
"@types/prop-types": "^15.7.
|
|
30
|
+
"@types/prop-types": "^15.7.14",
|
|
31
31
|
"clsx": "^2.1.1",
|
|
32
32
|
"prop-types": "^15.8.1",
|
|
33
|
-
"react-is": "^
|
|
34
|
-
"@mui/types": "^7.2.
|
|
33
|
+
"react-is": "^19.0.0",
|
|
34
|
+
"@mui/types": "^7.2.21"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
@@ -6,4 +6,4 @@ import * as React from 'react';
|
|
|
6
6
|
* @usage
|
|
7
7
|
* const ref = useLazyRef(sortColumns, columns)
|
|
8
8
|
*/
|
|
9
|
-
export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.
|
|
9
|
+
export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.RefObject<T>;
|