@sitecore/sc-contenthub-blok 1.0.32 → 2.0.1
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/@babel/code-frame/package.json +2 -2
- package/node_modules/@babel/generator/lib/buffer.js +11 -8
- package/node_modules/@babel/generator/lib/buffer.js.map +1 -1
- package/node_modules/@babel/generator/lib/node/index.js +22 -8
- package/node_modules/@babel/generator/lib/node/index.js.map +1 -1
- package/node_modules/@babel/generator/lib/printer.js +2 -1
- package/node_modules/@babel/generator/lib/printer.js.map +1 -1
- package/node_modules/@babel/generator/lib/source-map.js +3 -1
- package/node_modules/@babel/generator/lib/source-map.js.map +1 -1
- package/node_modules/@babel/generator/package.json +6 -6
- package/node_modules/@babel/helper-globals/package.json +1 -1
- package/node_modules/@babel/helper-module-imports/package.json +4 -4
- package/node_modules/@babel/helper-string-parser/package.json +1 -1
- package/node_modules/@babel/helper-validator-identifier/package.json +1 -1
- package/node_modules/@babel/parser/lib/index.js +19 -7
- package/node_modules/@babel/parser/lib/index.js.map +1 -1
- package/node_modules/@babel/parser/package.json +7 -7
- package/node_modules/@babel/parser/typings/babel-parser.d.ts +1 -1
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@babel/template/package.json +4 -4
- package/node_modules/@babel/traverse/lib/path/family.js.map +1 -1
- package/node_modules/@babel/traverse/lib/visitors.js +1 -1
- package/node_modules/@babel/traverse/package.json +9 -9
- package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js +2 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -1
- package/node_modules/@babel/types/lib/definitions/core.js +11 -1
- package/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
- package/node_modules/@babel/types/lib/index-legacy.d.ts +4 -5
- package/node_modules/@babel/types/lib/index.d.ts +5 -6
- package/node_modules/@babel/types/lib/index.js.flow +4 -5
- package/node_modules/@babel/types/package.json +6 -6
- package/node_modules/@mui/core-downloads-tracker/LICENSE +1 -1
- package/node_modules/@mui/core-downloads-tracker/package.json +1 -1
- package/node_modules/@mui/material/Accordion/Accordion.d.mts +2 -2
- package/node_modules/@mui/material/Accordion/Accordion.d.ts +2 -2
- package/node_modules/@mui/material/Accordion/Accordion.js +3 -2
- package/node_modules/@mui/material/Accordion/Accordion.mjs +3 -2
- package/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +27 -29
- package/node_modules/@mui/material/AccordionSummary/AccordionSummary.mjs +27 -29
- package/node_modules/@mui/material/Autocomplete/Autocomplete.d.mts +12 -1
- package/node_modules/@mui/material/Autocomplete/Autocomplete.d.ts +12 -1
- package/node_modules/@mui/material/Autocomplete/Autocomplete.js +48 -22
- package/node_modules/@mui/material/Autocomplete/Autocomplete.mjs +48 -22
- package/node_modules/@mui/material/Autocomplete/autocompleteClasses.d.mts +2 -0
- package/node_modules/@mui/material/Autocomplete/autocompleteClasses.d.ts +2 -0
- package/node_modules/@mui/material/Autocomplete/autocompleteClasses.js +1 -1
- package/node_modules/@mui/material/Autocomplete/autocompleteClasses.mjs +1 -1
- package/node_modules/@mui/material/Avatar/Avatar.js +2 -0
- package/node_modules/@mui/material/Avatar/Avatar.mjs +2 -0
- package/node_modules/@mui/material/Backdrop/Backdrop.d.mts +2 -2
- package/node_modules/@mui/material/Backdrop/Backdrop.d.ts +2 -2
- package/node_modules/@mui/material/Badge/Badge.js +28 -24
- package/node_modules/@mui/material/Badge/Badge.mjs +28 -24
- package/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +6 -2
- package/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.mjs +6 -2
- package/node_modules/@mui/material/Button/Button.js +11 -15
- package/node_modules/@mui/material/Button/Button.mjs +11 -15
- package/node_modules/@mui/material/ButtonBase/ButtonBase.js +1 -1
- package/node_modules/@mui/material/ButtonBase/ButtonBase.mjs +1 -1
- package/node_modules/@mui/material/ButtonBase/Ripple.js +21 -11
- package/node_modules/@mui/material/ButtonBase/Ripple.mjs +21 -11
- package/node_modules/@mui/material/ButtonBase/TouchRipple.js +252 -108
- package/node_modules/@mui/material/ButtonBase/TouchRipple.mjs +253 -109
- package/node_modules/@mui/material/ButtonGroup/ButtonGroup.js +3 -3
- package/node_modules/@mui/material/ButtonGroup/ButtonGroup.mjs +3 -3
- package/node_modules/@mui/material/CHANGELOG.md +286 -0
- package/node_modules/@mui/material/CardActionArea/CardActionArea.js +2 -1
- package/node_modules/@mui/material/CardActionArea/CardActionArea.mjs +2 -1
- package/node_modules/@mui/material/Checkbox/Checkbox.js +3 -1
- package/node_modules/@mui/material/Checkbox/Checkbox.mjs +3 -1
- package/node_modules/@mui/material/Chip/Chip.js +2 -1
- package/node_modules/@mui/material/Chip/Chip.mjs +2 -1
- package/node_modules/@mui/material/CircularProgress/CircularProgress.js +85 -55
- package/node_modules/@mui/material/CircularProgress/CircularProgress.mjs +84 -55
- package/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +1 -1
- package/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.mjs +1 -1
- package/node_modules/@mui/material/Collapse/Collapse.d.mts +15 -3
- package/node_modules/@mui/material/Collapse/Collapse.d.ts +15 -3
- package/node_modules/@mui/material/Collapse/Collapse.js +44 -31
- package/node_modules/@mui/material/Collapse/Collapse.mjs +43 -30
- package/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.d.mts +1 -1
- package/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.d.ts +1 -1
- package/node_modules/@mui/material/Dialog/Dialog.d.mts +2 -2
- package/node_modules/@mui/material/Dialog/Dialog.d.ts +2 -2
- package/node_modules/@mui/material/Dialog/Dialog.js +2 -0
- package/node_modules/@mui/material/Dialog/Dialog.mjs +2 -0
- package/node_modules/@mui/material/Drawer/Drawer.d.mts +2 -2
- package/node_modules/@mui/material/Drawer/Drawer.d.ts +2 -2
- package/node_modules/@mui/material/Fab/Fab.js +2 -1
- package/node_modules/@mui/material/Fab/Fab.mjs +2 -1
- package/node_modules/@mui/material/Fade/Fade.d.mts +15 -2
- package/node_modules/@mui/material/Fade/Fade.d.ts +15 -2
- package/node_modules/@mui/material/Fade/Fade.js +46 -19
- package/node_modules/@mui/material/Fade/Fade.mjs +45 -18
- package/node_modules/@mui/material/FilledInput/FilledInput.js +11 -4
- package/node_modules/@mui/material/FilledInput/FilledInput.mjs +11 -4
- package/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.d.mts +2 -0
- package/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.d.ts +2 -0
- package/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js +1 -1
- package/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.mjs +1 -1
- package/node_modules/@mui/material/Grow/Grow.d.mts +15 -2
- package/node_modules/@mui/material/Grow/Grow.d.ts +15 -2
- package/node_modules/@mui/material/Grow/Grow.js +45 -28
- package/node_modules/@mui/material/Grow/Grow.mjs +44 -27
- package/node_modules/@mui/material/IconButton/IconButton.js +2 -1
- package/node_modules/@mui/material/IconButton/IconButton.mjs +2 -1
- package/node_modules/@mui/material/InitColorSchemeScript/InitColorSchemeScript.d.mts +6 -6
- package/node_modules/@mui/material/InitColorSchemeScript/InitColorSchemeScript.d.ts +6 -6
- package/node_modules/@mui/material/Input/Input.js +3 -2
- package/node_modules/@mui/material/Input/Input.mjs +3 -2
- package/node_modules/@mui/material/InputBase/InputBase.js +3 -1
- package/node_modules/@mui/material/InputBase/InputBase.mjs +3 -1
- package/node_modules/@mui/material/InputLabel/InputLabel.js +2 -1
- package/node_modules/@mui/material/InputLabel/InputLabel.mjs +2 -1
- package/node_modules/@mui/material/LICENSE +1 -1
- package/node_modules/@mui/material/LinearProgress/LinearProgress.js +187 -120
- package/node_modules/@mui/material/LinearProgress/LinearProgress.mjs +186 -120
- package/node_modules/@mui/material/ListItem/ListItem.d.mts +2 -1
- package/node_modules/@mui/material/ListItem/ListItem.d.ts +2 -1
- package/node_modules/@mui/material/ListItem/ListItem.js +3 -2
- package/node_modules/@mui/material/ListItem/ListItem.mjs +3 -2
- package/node_modules/@mui/material/ListItemButton/ListItemButton.d.mts +1 -1
- package/node_modules/@mui/material/ListItemButton/ListItemButton.d.ts +1 -1
- package/node_modules/@mui/material/ListItemButton/ListItemButton.js +2 -1
- package/node_modules/@mui/material/ListItemButton/ListItemButton.mjs +2 -1
- package/node_modules/@mui/material/Menu/Menu.d.mts +1 -1
- package/node_modules/@mui/material/Menu/Menu.d.ts +1 -1
- package/node_modules/@mui/material/MenuItem/MenuItem.d.mts +1 -0
- package/node_modules/@mui/material/MenuItem/MenuItem.d.ts +1 -0
- package/node_modules/@mui/material/MenuItem/MenuItem.js +7 -0
- package/node_modules/@mui/material/MenuItem/MenuItem.mjs +7 -0
- package/node_modules/@mui/material/MenuList/MenuList.js +6 -2
- package/node_modules/@mui/material/MenuList/MenuList.mjs +6 -2
- package/node_modules/@mui/material/MobileStepper/MobileStepper.js +2 -1
- package/node_modules/@mui/material/MobileStepper/MobileStepper.mjs +2 -1
- package/node_modules/@mui/material/Modal/Modal.js +2 -1
- package/node_modules/@mui/material/Modal/Modal.mjs +2 -1
- package/node_modules/@mui/material/Modal/ModalManager.js +19 -30
- package/node_modules/@mui/material/Modal/ModalManager.mjs +19 -30
- package/node_modules/@mui/material/Modal/useModal.js +7 -0
- package/node_modules/@mui/material/Modal/useModal.mjs +7 -0
- package/node_modules/@mui/material/Modal/useModal.types.d.mts +5 -0
- package/node_modules/@mui/material/Modal/useModal.types.d.ts +5 -0
- package/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +32 -3
- package/node_modules/@mui/material/NativeSelect/NativeSelectInput.mjs +32 -3
- package/node_modules/@mui/material/NoSsr/NoSsr.js +1 -0
- package/node_modules/@mui/material/NoSsr/NoSsr.mjs +1 -0
- package/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +4 -3
- package/node_modules/@mui/material/OutlinedInput/NotchedOutline.mjs +4 -3
- package/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +7 -1
- package/node_modules/@mui/material/OutlinedInput/OutlinedInput.mjs +7 -1
- package/node_modules/@mui/material/PaginationItem/PaginationItem.js +2 -1
- package/node_modules/@mui/material/PaginationItem/PaginationItem.mjs +2 -1
- package/node_modules/@mui/material/Paper/Paper.js +2 -1
- package/node_modules/@mui/material/Paper/Paper.mjs +2 -1
- package/node_modules/@mui/material/Popover/Popover.d.mts +1 -1
- package/node_modules/@mui/material/Popover/Popover.d.ts +1 -1
- package/node_modules/@mui/material/Popper/BasePopper.js +1 -6
- package/node_modules/@mui/material/Popper/BasePopper.mjs +1 -6
- package/node_modules/@mui/material/README.md +3 -2
- package/node_modules/@mui/material/Radio/Radio.js +3 -0
- package/node_modules/@mui/material/Radio/Radio.mjs +3 -0
- package/node_modules/@mui/material/Radio/RadioButtonIcon.js +3 -2
- package/node_modules/@mui/material/Radio/RadioButtonIcon.mjs +3 -2
- package/node_modules/@mui/material/Rating/Rating.js +4 -3
- package/node_modules/@mui/material/Rating/Rating.mjs +4 -3
- package/node_modules/@mui/material/Select/SelectInput.js +118 -25
- package/node_modules/@mui/material/Select/SelectInput.mjs +118 -25
- package/node_modules/@mui/material/Select/utils/SelectFocusSourceContext.d.mts +2 -2
- package/node_modules/@mui/material/Select/utils/SelectFocusSourceContext.d.ts +2 -2
- package/node_modules/@mui/material/Select/utils/closedTypeahead.js +73 -0
- package/node_modules/@mui/material/Select/utils/closedTypeahead.mjs +63 -0
- package/node_modules/@mui/material/Skeleton/Skeleton.js +22 -2
- package/node_modules/@mui/material/Skeleton/Skeleton.mjs +22 -2
- package/node_modules/@mui/material/Slide/Slide.d.mts +15 -2
- package/node_modules/@mui/material/Slide/Slide.d.ts +15 -2
- package/node_modules/@mui/material/Slide/Slide.js +53 -25
- package/node_modules/@mui/material/Slide/Slide.mjs +52 -24
- package/node_modules/@mui/material/Slider/Slider.js +4 -3
- package/node_modules/@mui/material/Slider/Slider.mjs +4 -3
- package/node_modules/@mui/material/Slider/SliderValueLabel.d.mts +2 -2
- package/node_modules/@mui/material/Slider/SliderValueLabel.d.ts +2 -2
- package/node_modules/@mui/material/Slider/useSlider.js +1 -1
- package/node_modules/@mui/material/Slider/useSlider.mjs +1 -1
- package/node_modules/@mui/material/Snackbar/Snackbar.d.mts +2 -2
- package/node_modules/@mui/material/Snackbar/Snackbar.d.ts +2 -2
- package/node_modules/@mui/material/SpeedDial/SpeedDial.d.mts +1 -1
- package/node_modules/@mui/material/SpeedDial/SpeedDial.d.ts +1 -1
- package/node_modules/@mui/material/SpeedDial/SpeedDial.js +6 -2
- package/node_modules/@mui/material/SpeedDial/SpeedDial.mjs +6 -2
- package/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +11 -2
- package/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.mjs +12 -3
- package/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js +40 -37
- package/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.mjs +40 -37
- package/node_modules/@mui/material/Stack/Stack.d.mts +1 -1
- package/node_modules/@mui/material/Stack/Stack.d.ts +1 -1
- package/node_modules/@mui/material/Stack/Stack.js +1 -1
- package/node_modules/@mui/material/Stack/Stack.mjs +1 -1
- package/node_modules/@mui/material/Step/Step.js +47 -15
- package/node_modules/@mui/material/Step/Step.mjs +47 -15
- package/node_modules/@mui/material/Step/StepContext.d.mts +1 -1
- package/node_modules/@mui/material/Step/StepContext.d.ts +1 -1
- package/node_modules/@mui/material/StepButton/StepButton.js +9 -3
- package/node_modules/@mui/material/StepButton/StepButton.mjs +9 -3
- package/node_modules/@mui/material/StepConnector/StepConnector.js +10 -0
- package/node_modules/@mui/material/StepConnector/StepConnector.mjs +10 -0
- package/node_modules/@mui/material/StepContent/StepContent.d.mts +2 -2
- package/node_modules/@mui/material/StepContent/StepContent.d.ts +2 -2
- package/node_modules/@mui/material/StepContent/StepContent.js +26 -2
- package/node_modules/@mui/material/StepContent/StepContent.mjs +26 -2
- package/node_modules/@mui/material/StepIcon/StepIcon.js +2 -1
- package/node_modules/@mui/material/StepIcon/StepIcon.mjs +2 -1
- package/node_modules/@mui/material/StepLabel/StepLabel.js +52 -7
- package/node_modules/@mui/material/StepLabel/StepLabel.mjs +52 -7
- package/node_modules/@mui/material/Stepper/Stepper.d.mts +2 -0
- package/node_modules/@mui/material/Stepper/Stepper.d.ts +2 -0
- package/node_modules/@mui/material/Stepper/Stepper.js +20 -2
- package/node_modules/@mui/material/Stepper/Stepper.mjs +20 -2
- package/node_modules/@mui/material/Stepper/StepperContext.d.mts +1 -1
- package/node_modules/@mui/material/Stepper/StepperContext.d.ts +1 -1
- package/node_modules/@mui/material/SvgIcon/SvgIcon.js +2 -1
- package/node_modules/@mui/material/SvgIcon/SvgIcon.mjs +2 -1
- package/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +14 -3
- package/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.mjs +14 -3
- package/node_modules/@mui/material/Switch/Switch.js +3 -2
- package/node_modules/@mui/material/Switch/Switch.mjs +3 -2
- package/node_modules/@mui/material/TablePagination/TablePagination.js +10 -3
- package/node_modules/@mui/material/TablePagination/TablePagination.mjs +9 -2
- package/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +2 -1
- package/node_modules/@mui/material/TableSortLabel/TableSortLabel.mjs +2 -1
- package/node_modules/@mui/material/Tabs/Tabs.js +15 -3
- package/node_modules/@mui/material/Tabs/Tabs.mjs +15 -3
- package/node_modules/@mui/material/ToggleButton/RovingToggleButton.d.mts +13 -0
- package/node_modules/@mui/material/ToggleButton/RovingToggleButton.d.ts +13 -0
- package/node_modules/@mui/material/ToggleButton/RovingToggleButton.js +37 -0
- package/node_modules/@mui/material/ToggleButton/RovingToggleButton.mjs +31 -0
- package/node_modules/@mui/material/ToggleButton/ToggleButton.js +14 -2
- package/node_modules/@mui/material/ToggleButton/ToggleButton.mjs +14 -2
- package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +33 -13
- package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.mjs +33 -13
- package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.d.mts +1 -0
- package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +1 -0
- package/node_modules/@mui/material/Tooltip/Tooltip.d.mts +2 -2
- package/node_modules/@mui/material/Tooltip/Tooltip.d.ts +2 -2
- package/node_modules/@mui/material/Tooltip/Tooltip.js +5 -2
- package/node_modules/@mui/material/Tooltip/Tooltip.mjs +5 -2
- package/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +42 -8
- package/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.mjs +42 -8
- package/node_modules/@mui/material/Zoom/Zoom.d.mts +15 -2
- package/node_modules/@mui/material/Zoom/Zoom.d.ts +15 -2
- package/node_modules/@mui/material/Zoom/Zoom.js +43 -16
- package/node_modules/@mui/material/Zoom/Zoom.mjs +42 -15
- package/node_modules/@mui/material/index.js +1 -1
- package/node_modules/@mui/material/index.mjs +1 -1
- package/node_modules/@mui/material/internal/SwitchBase.js +1 -1
- package/node_modules/@mui/material/internal/SwitchBase.mjs +1 -1
- package/node_modules/@mui/material/internal/Transition.d.mts +34 -0
- package/node_modules/@mui/material/internal/Transition.d.ts +34 -0
- package/node_modules/@mui/material/internal/Transition.js +463 -0
- package/node_modules/@mui/material/internal/Transition.mjs +455 -0
- package/node_modules/@mui/material/internal/react-transition-group.d.mts +16 -0
- package/node_modules/@mui/material/internal/react-transition-group.d.ts +16 -0
- package/node_modules/@mui/material/locale/zhCN.js +21 -0
- package/node_modules/@mui/material/locale/zhCN.mjs +21 -0
- package/node_modules/@mui/material/package.json +11 -8
- package/node_modules/@mui/material/styles/ThemeProvider.d.mts +1 -1
- package/node_modules/@mui/material/styles/ThemeProvider.d.ts +1 -1
- package/node_modules/@mui/material/styles/ThemeProviderWithVars.d.mts +8 -8
- package/node_modules/@mui/material/styles/ThemeProviderWithVars.d.ts +8 -8
- package/node_modules/@mui/material/styles/createGetSelector.d.mts +5 -5
- package/node_modules/@mui/material/styles/createGetSelector.d.ts +5 -5
- package/node_modules/@mui/material/styles/createMotion.d.mts +8 -0
- package/node_modules/@mui/material/styles/createMotion.d.ts +8 -0
- package/node_modules/@mui/material/styles/createMotion.js +13 -0
- package/node_modules/@mui/material/styles/createMotion.mjs +7 -0
- package/node_modules/@mui/material/styles/createThemeFoundation.d.mts +2 -0
- package/node_modules/@mui/material/styles/createThemeFoundation.d.ts +2 -0
- package/node_modules/@mui/material/styles/createThemeNoVars.d.mts +3 -0
- package/node_modules/@mui/material/styles/createThemeNoVars.d.ts +3 -0
- package/node_modules/@mui/material/styles/createThemeNoVars.js +5 -0
- package/node_modules/@mui/material/styles/createThemeNoVars.mjs +5 -0
- package/node_modules/@mui/material/styles/createTransitions.d.mts +6 -2
- package/node_modules/@mui/material/styles/createTransitions.d.ts +6 -2
- package/node_modules/@mui/material/styles/createTransitions.js +12 -4
- package/node_modules/@mui/material/styles/createTransitions.mjs +12 -4
- package/node_modules/@mui/material/styles/enhanceHighContrast.d.mts +70 -0
- package/node_modules/@mui/material/styles/enhanceHighContrast.d.ts +70 -0
- package/node_modules/@mui/material/styles/enhanceHighContrast.js +502 -0
- package/node_modules/@mui/material/styles/enhanceHighContrast.mjs +495 -0
- package/node_modules/@mui/material/styles/identifier.d.mts +1 -1
- package/node_modules/@mui/material/styles/identifier.d.ts +1 -1
- package/node_modules/@mui/material/styles/index.d.mts +2 -0
- package/node_modules/@mui/material/styles/index.d.ts +2 -0
- package/node_modules/@mui/material/styles/index.js +8 -0
- package/node_modules/@mui/material/styles/index.mjs +1 -0
- package/node_modules/@mui/material/styles/reducedMotion.d.mts +7 -0
- package/node_modules/@mui/material/styles/reducedMotion.d.ts +7 -0
- package/node_modules/@mui/material/styles/reducedMotion.js +21 -0
- package/node_modules/@mui/material/styles/reducedMotion.mjs +14 -0
- package/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js +1 -1
- package/node_modules/@mui/material/styles/shouldSkipGeneratingVar.mjs +1 -1
- package/node_modules/@mui/material/styles/stringifyTheme.js +1 -0
- package/node_modules/@mui/material/styles/stringifyTheme.mjs +1 -0
- package/node_modules/@mui/material/transitions/index.d.mts +1 -1
- package/node_modules/@mui/material/transitions/index.d.ts +1 -1
- package/node_modules/@mui/material/transitions/index.js +0 -11
- package/node_modules/@mui/material/transitions/index.mjs +1 -1
- package/node_modules/@mui/material/transitions/transition.d.mts +1 -12
- package/node_modules/@mui/material/transitions/transition.d.ts +1 -12
- package/node_modules/@mui/material/transitions/types.d.mts +73 -0
- package/node_modules/@mui/material/transitions/types.d.ts +73 -0
- package/node_modules/@mui/material/transitions/useReducedMotion.d.mts +14 -0
- package/node_modules/@mui/material/transitions/useReducedMotion.d.ts +14 -0
- package/node_modules/@mui/material/transitions/useReducedMotion.js +117 -0
- package/node_modules/@mui/material/transitions/useReducedMotion.mjs +110 -0
- package/node_modules/@mui/material/transitions/utils.d.mts +34 -2
- package/node_modules/@mui/material/transitions/utils.d.ts +34 -2
- package/node_modules/@mui/material/transitions/utils.js +33 -4
- package/node_modules/@mui/material/transitions/utils.mjs +31 -4
- package/node_modules/@mui/material/useAutocomplete/useAutocomplete.d.mts +8 -1
- package/node_modules/@mui/material/useAutocomplete/useAutocomplete.d.ts +8 -1
- package/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +76 -13
- package/node_modules/@mui/material/useAutocomplete/useAutocomplete.mjs +76 -13
- package/node_modules/@mui/material/useScrollTrigger/useScrollTrigger.js +2 -1
- package/node_modules/@mui/material/useScrollTrigger/useScrollTrigger.mjs +2 -1
- package/node_modules/@mui/material/utils/memoTheme.d.mts +1 -1
- package/node_modules/@mui/material/utils/memoTheme.d.ts +1 -1
- package/node_modules/@mui/material/utils/types.d.mts +1 -1
- package/node_modules/@mui/material/utils/types.d.ts +1 -1
- package/node_modules/@mui/material/utils/useSlot.d.mts +1 -1
- package/node_modules/@mui/material/utils/useSlot.d.ts +1 -1
- package/node_modules/@mui/material/version/index.js +2 -2
- package/node_modules/@mui/material/version/index.mjs +2 -2
- package/node_modules/@mui/material/zero-styled/index.d.mts +1 -1
- package/node_modules/@mui/material/zero-styled/index.d.ts +1 -1
- package/node_modules/@mui/private-theming/CHANGELOG.md +263 -0
- package/node_modules/@mui/private-theming/LICENSE +1 -1
- package/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.d.mts +9 -2
- package/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.d.ts +9 -2
- package/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +2 -2
- package/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.mjs +3 -4
- package/node_modules/@mui/private-theming/ThemeProvider/index.d.mts +1 -1
- package/node_modules/@mui/private-theming/ThemeProvider/index.d.ts +1 -1
- package/node_modules/@mui/private-theming/ThemeProvider/index.mjs +1 -0
- package/node_modules/@mui/private-theming/ThemeProvider/nested.d.mts +2 -0
- package/node_modules/@mui/private-theming/ThemeProvider/nested.d.ts +2 -0
- package/node_modules/@mui/private-theming/index.d.mts +1 -2
- package/node_modules/@mui/private-theming/index.d.ts +1 -2
- package/node_modules/@mui/private-theming/index.js +1 -1
- package/node_modules/@mui/private-theming/index.mjs +1 -1
- package/node_modules/@mui/private-theming/package.json +3 -3
- package/node_modules/@mui/private-theming/useTheme/ThemeContext.d.mts +3 -0
- package/node_modules/@mui/private-theming/useTheme/ThemeContext.d.ts +3 -0
- package/node_modules/@mui/private-theming/useTheme/index.d.mts +1 -2
- package/node_modules/@mui/private-theming/useTheme/index.d.ts +1 -2
- package/node_modules/@mui/private-theming/useTheme/useTheme.d.mts +1 -1
- package/node_modules/@mui/private-theming/useTheme/useTheme.d.ts +1 -1
- package/node_modules/@mui/styled-engine/CHANGELOG.md +395 -1245
- package/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.d.mts +2 -2
- package/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.d.ts +2 -2
- package/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +1 -1
- package/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.mjs +1 -1
- package/node_modules/@mui/styled-engine/GlobalStyles/index.d.mts +1 -1
- package/node_modules/@mui/styled-engine/GlobalStyles/index.d.ts +1 -1
- package/node_modules/@mui/styled-engine/LICENSE +1 -1
- package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +10 -2
- package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.mjs +11 -4
- package/node_modules/@mui/styled-engine/StyledEngineProvider/index.d.mts +1 -1
- package/node_modules/@mui/styled-engine/StyledEngineProvider/index.d.ts +1 -1
- package/node_modules/@mui/styled-engine/index.d.mts +13 -28
- package/node_modules/@mui/styled-engine/index.d.ts +13 -28
- package/node_modules/@mui/styled-engine/index.js +28 -4
- package/node_modules/@mui/styled-engine/index.mjs +30 -3
- package/node_modules/@mui/styled-engine/package.json +2 -2
- package/node_modules/@mui/system/Box/Box.d.mts +15 -19
- package/node_modules/@mui/system/Box/Box.d.ts +15 -19
- package/node_modules/@mui/system/Box/Box.js +16 -1
- package/node_modules/@mui/system/Box/Box.mjs +17 -1
- package/node_modules/@mui/system/Box/index.js +12 -2
- package/node_modules/@mui/system/Box/index.mjs +1 -0
- package/node_modules/@mui/system/CHANGELOG.md +263 -0
- package/node_modules/@mui/system/Container/index.d.mts +1 -1
- package/node_modules/@mui/system/Container/index.d.ts +1 -1
- package/node_modules/@mui/system/DefaultPropsProvider/DefaultPropsProvider.d.mts +1 -1
- package/node_modules/@mui/system/DefaultPropsProvider/DefaultPropsProvider.d.ts +1 -1
- package/node_modules/@mui/system/GlobalStyles/GlobalStyles.d.mts +1 -1
- package/node_modules/@mui/system/GlobalStyles/GlobalStyles.d.ts +1 -1
- package/node_modules/@mui/system/Grid/Grid.js +0 -1
- package/node_modules/@mui/system/Grid/Grid.mjs +0 -1
- package/node_modules/@mui/system/Grid/GridProps.d.mts +0 -1
- package/node_modules/@mui/system/Grid/GridProps.d.ts +0 -1
- package/node_modules/@mui/system/Grid/gridGenerator.d.mts +2 -2
- package/node_modules/@mui/system/Grid/gridGenerator.d.ts +2 -2
- package/node_modules/@mui/system/InitColorSchemeScript/InitColorSchemeScript.d.mts +3 -1
- package/node_modules/@mui/system/InitColorSchemeScript/InitColorSchemeScript.d.ts +3 -1
- package/node_modules/@mui/system/InitColorSchemeScript/InitColorSchemeScript.js +34 -1
- package/node_modules/@mui/system/InitColorSchemeScript/InitColorSchemeScript.mjs +33 -1
- package/node_modules/@mui/system/LICENSE +1 -1
- package/node_modules/@mui/system/Stack/Stack.js +1 -1
- package/node_modules/@mui/system/Stack/Stack.mjs +1 -1
- package/node_modules/@mui/system/Stack/StackProps.d.mts +1 -1
- package/node_modules/@mui/system/Stack/StackProps.d.ts +1 -1
- package/node_modules/@mui/system/ThemeProvider/ThemeProvider.d.mts +9 -6
- package/node_modules/@mui/system/ThemeProvider/ThemeProvider.d.ts +9 -6
- package/node_modules/@mui/system/ThemeProvider/ThemeProvider.js +3 -2
- package/node_modules/@mui/system/ThemeProvider/ThemeProvider.mjs +3 -2
- package/node_modules/@mui/system/ThemeProvider/index.d.mts +1 -1
- package/node_modules/@mui/system/ThemeProvider/index.d.ts +1 -1
- package/node_modules/@mui/system/ThemeProvider/useLayerOrder.d.mts +1 -1
- package/node_modules/@mui/system/ThemeProvider/useLayerOrder.d.ts +1 -1
- package/node_modules/@mui/system/borders/borders.d.mts +14 -12
- package/node_modules/@mui/system/borders/borders.d.ts +14 -12
- package/node_modules/@mui/system/borders/borders.js +2 -4
- package/node_modules/@mui/system/borders/borders.mjs +3 -4
- package/node_modules/@mui/system/breakpoints/breakpoints.d.mts +13 -16
- package/node_modules/@mui/system/breakpoints/breakpoints.d.ts +13 -16
- package/node_modules/@mui/system/breakpoints/breakpoints.js +17 -16
- package/node_modules/@mui/system/breakpoints/breakpoints.mjs +17 -16
- package/node_modules/@mui/system/compose/compose.d.mts +3 -10
- package/node_modules/@mui/system/compose/compose.d.ts +3 -10
- package/node_modules/@mui/system/compose/compose.js +0 -2
- package/node_modules/@mui/system/compose/compose.mjs +0 -2
- package/node_modules/@mui/system/createBox/createBox.d.mts +4 -4
- package/node_modules/@mui/system/createBox/createBox.d.ts +4 -4
- package/node_modules/@mui/system/createBreakpoints/createBreakpoints.d.mts +3 -54
- package/node_modules/@mui/system/createBreakpoints/createBreakpoints.d.ts +3 -54
- package/node_modules/@mui/system/createBreakpoints/createBreakpoints.js +6 -8
- package/node_modules/@mui/system/createBreakpoints/createBreakpoints.mjs +6 -8
- package/node_modules/@mui/system/createBreakpoints/index.d.mts +0 -1
- package/node_modules/@mui/system/createBreakpoints/index.d.ts +0 -1
- package/node_modules/@mui/system/createTheme/createSpacing.d.mts +1 -1
- package/node_modules/@mui/system/createTheme/createSpacing.d.ts +1 -1
- package/node_modules/@mui/system/createTheme/shape.d.mts +2 -2
- package/node_modules/@mui/system/createTheme/shape.d.ts +2 -2
- package/node_modules/@mui/system/cssGrid/cssGrid.d.mts +13 -13
- package/node_modules/@mui/system/cssGrid/cssGrid.d.ts +13 -13
- package/node_modules/@mui/system/cssGrid/cssGrid.js +0 -8
- package/node_modules/@mui/system/cssGrid/cssGrid.mjs +0 -9
- package/node_modules/@mui/system/cssVars/createCssVarsProvider.js +2 -2
- package/node_modules/@mui/system/cssVars/createCssVarsProvider.mjs +2 -2
- package/node_modules/@mui/system/cssVars/cssVarsParser.js +10 -2
- package/node_modules/@mui/system/cssVars/cssVarsParser.mjs +10 -2
- package/node_modules/@mui/system/cssVars/useCurrentColorScheme.js +1 -0
- package/node_modules/@mui/system/cssVars/useCurrentColorScheme.mjs +1 -0
- package/node_modules/@mui/system/display/display.d.mts +49 -1
- package/node_modules/@mui/system/display/display.d.ts +49 -1
- package/node_modules/@mui/system/display/display.js +2 -1
- package/node_modules/@mui/system/display/display.mjs +2 -1
- package/node_modules/@mui/system/flexbox/flexbox.d.mts +14 -14
- package/node_modules/@mui/system/flexbox/flexbox.d.ts +14 -14
- package/node_modules/@mui/system/getThemeValue/getThemeValue.d.mts +2 -1
- package/node_modules/@mui/system/getThemeValue/getThemeValue.d.ts +2 -1
- package/node_modules/@mui/system/getThemeValue/getThemeValue.js +6 -2
- package/node_modules/@mui/system/getThemeValue/getThemeValue.mjs +7 -3
- package/node_modules/@mui/system/index.js +1 -1
- package/node_modules/@mui/system/index.mjs +1 -1
- package/node_modules/@mui/system/memoTheme.d.mts +1 -1
- package/node_modules/@mui/system/memoTheme.d.ts +1 -1
- package/node_modules/@mui/system/memoize/memoize.d.mts +1 -1
- package/node_modules/@mui/system/memoize/memoize.d.ts +1 -1
- package/node_modules/@mui/system/package.json +62 -62
- package/node_modules/@mui/system/palette/palette.d.mts +4 -3
- package/node_modules/@mui/system/palette/palette.d.ts +4 -3
- package/node_modules/@mui/system/palette/palette.js +1 -0
- package/node_modules/@mui/system/palette/palette.mjs +2 -0
- package/node_modules/@mui/system/positions/positions.d.mts +49 -1
- package/node_modules/@mui/system/positions/positions.d.ts +49 -1
- package/node_modules/@mui/system/positions/positions.js +2 -1
- package/node_modules/@mui/system/positions/positions.mjs +2 -1
- package/node_modules/@mui/system/propsToClassKey/propsToClassKey.d.mts +5 -0
- package/node_modules/@mui/system/propsToClassKey/propsToClassKey.d.ts +5 -0
- package/node_modules/@mui/system/propsToClassKey/propsToClassKey.js +1 -1
- package/node_modules/@mui/system/propsToClassKey/propsToClassKey.mjs +1 -1
- package/node_modules/@mui/system/shadows/shadows.d.mts +4 -4
- package/node_modules/@mui/system/shadows/shadows.d.ts +4 -4
- package/node_modules/@mui/system/sizing/sizing.d.mts +10 -10
- package/node_modules/@mui/system/sizing/sizing.d.ts +10 -10
- package/node_modules/@mui/system/sizing/sizing.js +7 -2
- package/node_modules/@mui/system/sizing/sizing.mjs +5 -1
- package/node_modules/@mui/system/spacing/spacing.d.mts +10 -14
- package/node_modules/@mui/system/spacing/spacing.d.ts +10 -14
- package/node_modules/@mui/system/spacing/spacing.js +17 -13
- package/node_modules/@mui/system/spacing/spacing.mjs +16 -9
- package/node_modules/@mui/system/styleFunctionSx/defaultSxConfig.d.mts +1 -1
- package/node_modules/@mui/system/styleFunctionSx/defaultSxConfig.d.ts +1 -1
- package/node_modules/@mui/system/styleFunctionSx/extendSxProp.d.mts +4 -2
- package/node_modules/@mui/system/styleFunctionSx/extendSxProp.d.ts +4 -2
- package/node_modules/@mui/system/styled/styled.d.mts +1 -1
- package/node_modules/@mui/system/styled/styled.d.ts +1 -1
- package/node_modules/@mui/system/typography/typography.d.mts +10 -10
- package/node_modules/@mui/system/typography/typography.d.ts +10 -10
- package/node_modules/@mui/system/useTheme/useTheme.d.mts +4 -2
- package/node_modules/@mui/system/useTheme/useTheme.d.ts +4 -2
- package/node_modules/@mui/system/useThemeProps/getThemeProps.d.mts +2 -2
- package/node_modules/@mui/system/useThemeProps/getThemeProps.d.ts +2 -2
- package/node_modules/@mui/system/useThemeProps/index.d.mts +1 -1
- package/node_modules/@mui/system/useThemeProps/index.d.ts +1 -1
- package/node_modules/@mui/system/useThemeProps/useThemeProps.js +7 -6
- package/node_modules/@mui/system/useThemeProps/useThemeProps.mjs +7 -6
- package/node_modules/@mui/system/useThemeWithoutDefault/useThemeWithoutDefault.d.mts +2 -1
- package/node_modules/@mui/system/useThemeWithoutDefault/useThemeWithoutDefault.d.ts +2 -1
- package/node_modules/@mui/system/useThemeWithoutDefault/useThemeWithoutDefault.js +2 -2
- package/node_modules/@mui/system/useThemeWithoutDefault/useThemeWithoutDefault.mjs +2 -2
- package/node_modules/@mui/system/version/index.js +3 -3
- package/node_modules/@mui/system/version/index.mjs +3 -3
- package/node_modules/@mui/types/CHANGELOG.md +395 -1245
- package/node_modules/@mui/types/LICENSE +1 -1
- package/node_modules/@mui/types/index.d.mts +1 -1
- package/node_modules/@mui/types/index.d.ts +1 -1
- package/node_modules/@mui/types/index.js +1 -1
- package/node_modules/@mui/types/index.mjs +1 -1
- package/node_modules/@mui/types/package.json +2 -2
- package/node_modules/@mui/utils/CHANGELOG.md +263 -0
- package/node_modules/@mui/utils/ClassNameGenerator/ClassNameGenerator.d.mts +2 -1
- package/node_modules/@mui/utils/ClassNameGenerator/ClassNameGenerator.d.ts +2 -1
- package/node_modules/@mui/utils/LICENSE +1 -1
- package/node_modules/@mui/utils/elementAcceptingRef/elementAcceptingRef.js +1 -1
- package/node_modules/@mui/utils/elementAcceptingRef/elementAcceptingRef.mjs +1 -1
- package/node_modules/@mui/utils/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
- package/node_modules/@mui/utils/elementTypeAcceptingRef/elementTypeAcceptingRef.mjs +1 -1
- package/node_modules/@mui/utils/fastDeepAssign/fastDeepAssign.js +6 -1
- package/node_modules/@mui/utils/fastDeepAssign/fastDeepAssign.mjs +6 -1
- package/node_modules/@mui/utils/getDisplayName/getDisplayName.d.mts +1 -1
- package/node_modules/@mui/utils/getDisplayName/getDisplayName.d.ts +1 -1
- package/node_modules/@mui/utils/getDisplayName/getDisplayName.js +1 -1
- package/node_modules/@mui/utils/getDisplayName/getDisplayName.mjs +1 -1
- package/node_modules/@mui/utils/index.d.mts +1 -0
- package/node_modules/@mui/utils/index.d.ts +1 -0
- package/node_modules/@mui/utils/index.js +9 -1
- package/node_modules/@mui/utils/index.mjs +2 -1
- package/node_modules/@mui/utils/isHostComponent/isHostComponent.d.mts +1 -1
- package/node_modules/@mui/utils/isHostComponent/isHostComponent.d.ts +1 -1
- package/node_modules/@mui/utils/isMuiElement/isMuiElement.js +1 -1
- package/node_modules/@mui/utils/isMuiElement/isMuiElement.mjs +1 -1
- package/node_modules/@mui/utils/package.json +18 -4
- package/node_modules/@mui/utils/types/DataAttributes.d.mts +45 -0
- package/node_modules/@mui/utils/types/DataAttributes.d.ts +45 -0
- package/node_modules/@mui/utils/types/DataAttributes.js +5 -0
- package/node_modules/@mui/utils/types/DataAttributes.mjs +1 -0
- package/node_modules/@mui/utils/types/index.d.mts +4 -2
- package/node_modules/@mui/utils/types/index.d.ts +4 -2
- package/node_modules/@mui/utils/useEventCallback/useEventCallback.d.mts +1 -1
- package/node_modules/@mui/utils/useEventCallback/useEventCallback.d.ts +1 -1
- package/node_modules/@mui/utils/useEventCallback/useEventCallback.js +1 -1
- package/node_modules/@mui/utils/useEventCallback/useEventCallback.mjs +1 -1
- package/node_modules/@mui/utils/useForkRef/useForkRef.js +2 -2
- package/node_modules/@mui/utils/useForkRef/useForkRef.mjs +2 -2
- package/node_modules/@mui/utils/useId/useId.js +1 -0
- package/node_modules/@mui/utils/useId/useId.mjs +1 -0
- package/node_modules/@mui/utils/useIsFocusVisible/useIsFocusVisible.js +2 -2
- package/node_modules/@mui/utils/useIsFocusVisible/useIsFocusVisible.mjs +2 -2
- package/node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.d.mts +1 -1
- package/node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.d.ts +1 -1
- package/node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.js +7 -5
- package/node_modules/@mui/utils/useRovingTabIndex/useRovingTabIndex.mjs +7 -5
- package/node_modules/@mui/utils/useValueAsRef/index.d.mts +1 -0
- package/node_modules/@mui/utils/useValueAsRef/index.d.ts +1 -0
- package/node_modules/@mui/utils/useValueAsRef/index.js +13 -0
- package/node_modules/@mui/utils/useValueAsRef/index.mjs +1 -0
- package/node_modules/@mui/utils/useValueAsRef/useValueAsRef.d.mts +14 -0
- package/node_modules/@mui/utils/useValueAsRef/useValueAsRef.d.ts +14 -0
- package/node_modules/@mui/utils/useValueAsRef/useValueAsRef.js +35 -0
- package/node_modules/@mui/utils/useValueAsRef/useValueAsRef.mjs +29 -0
- package/node_modules/react-is/package.json +3 -3
- package/package.json +3 -3
- /package/node_modules/@mui/material/transitions/{transition.js → types.js} +0 -0
- /package/node_modules/@mui/material/transitions/{transition.mjs → types.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Interpolation } from '@emotion/react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type Interpolation } from '@emotion/react';
|
|
3
3
|
export interface GlobalStylesProps<Theme = {}> {
|
|
4
4
|
defaultTheme?: object | undefined;
|
|
5
5
|
styles: Interpolation<Theme>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Interpolation } from '@emotion/react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import { type Interpolation } from '@emotion/react';
|
|
3
3
|
export interface GlobalStylesProps<Theme = {}> {
|
|
4
4
|
defaultTheme?: object | undefined;
|
|
5
5
|
styles: Interpolation<Theme>;
|
|
@@ -22,7 +22,7 @@ function GlobalStyles(props) {
|
|
|
22
22
|
styles: globalStyles
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
process.env.NODE_ENV !== "production" ? GlobalStyles.propTypes = {
|
|
25
|
+
process.env.NODE_ENV !== "production" ? GlobalStyles.propTypes /* remove-proptypes */ = {
|
|
26
26
|
defaultTheme: _propTypes.default.object,
|
|
27
27
|
styles: _propTypes.default.oneOfType([_propTypes.default.array, _propTypes.default.string, _propTypes.default.object, _propTypes.default.func])
|
|
28
28
|
} : void 0;
|
|
@@ -16,7 +16,7 @@ export default function GlobalStyles(props) {
|
|
|
16
16
|
styles: globalStyles
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
process.env.NODE_ENV !== "production" ? GlobalStyles.propTypes = {
|
|
19
|
+
process.env.NODE_ENV !== "production" ? GlobalStyles.propTypes /* remove-proptypes */ = {
|
|
20
20
|
defaultTheme: PropTypes.object,
|
|
21
21
|
styles: PropTypes.oneOfType([PropTypes.array, PropTypes.string, PropTypes.object, PropTypes.func])
|
|
22
22
|
} : void 0;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from "./GlobalStyles.mjs";
|
|
2
|
-
export * from "./GlobalStyles.mjs";
|
|
2
|
+
export type * from "./GlobalStyles.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from "./GlobalStyles.js";
|
|
2
|
-
export * from "./GlobalStyles.js";
|
|
2
|
+
export type * from "./GlobalStyles.js";
|
|
@@ -20,6 +20,9 @@ const cacheMap = new Map();
|
|
|
20
20
|
// Need to add a private variable to test the generated CSS from Emotion, this is the simplest way to do it.
|
|
21
21
|
// We can't test the CSS from `style` tag easily because the `speedy: true` (produce empty text content) is enabled by Emotion.
|
|
22
22
|
// Even if we disable it, JSDOM needs extra configuration to be able to parse `@layer` CSS.
|
|
23
|
+
/**
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
23
26
|
const TEST_INTERNALS_DO_NOT_USE = exports.TEST_INTERNALS_DO_NOT_USE = {
|
|
24
27
|
/**
|
|
25
28
|
* to intercept the generated CSS before inserting to the style tag, so that we can check the generated CSS.
|
|
@@ -84,7 +87,12 @@ function getCache(injectFirst, enableCssLayer) {
|
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
89
|
const emotionCache = createEmotionCache({
|
|
87
|
-
key
|
|
90
|
+
// Use a dedicated key for the cascade-layer cache so its generated class
|
|
91
|
+
// names (e.g. `mui-fyswvn`) can never collide with identically-hashed
|
|
92
|
+
// UNLAYERED classes from the default/`injectFirst` cache (key `css`).
|
|
93
|
+
// A collision lets an unlayered `.css-xxx` rule beat the layered one,
|
|
94
|
+
// defeating MUI's own styles.
|
|
95
|
+
key: enableCssLayer ? 'mui' : 'css',
|
|
88
96
|
insertionPoint: injectFirst ? insertionPoint : undefined
|
|
89
97
|
}, MyStyleSheet);
|
|
90
98
|
if (enableCssLayer) {
|
|
@@ -121,7 +129,7 @@ function StyledEngineProvider(props) {
|
|
|
121
129
|
children: children
|
|
122
130
|
}) : children;
|
|
123
131
|
}
|
|
124
|
-
process.env.NODE_ENV !== "production" ? StyledEngineProvider.propTypes = {
|
|
132
|
+
process.env.NODE_ENV !== "production" ? StyledEngineProvider.propTypes /* remove-proptypes */ = {
|
|
125
133
|
/**
|
|
126
134
|
* Your component tree.
|
|
127
135
|
*/
|
|
@@ -5,14 +5,16 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import { CacheProvider } from '@emotion/react';
|
|
6
6
|
import createCache from '@emotion/cache';
|
|
7
7
|
import { StyleSheet } from '@emotion/sheet';
|
|
8
|
-
|
|
9
|
-
// To fix [Jest performance](https://github.com/mui/material-ui/issues/45638).
|
|
10
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
// To fix [Jest performance](https://github.com/mui/material-ui/issues/45638).
|
|
11
10
|
const cacheMap = new Map();
|
|
12
11
|
|
|
13
12
|
// Need to add a private variable to test the generated CSS from Emotion, this is the simplest way to do it.
|
|
14
13
|
// We can't test the CSS from `style` tag easily because the `speedy: true` (produce empty text content) is enabled by Emotion.
|
|
15
14
|
// Even if we disable it, JSDOM needs extra configuration to be able to parse `@layer` CSS.
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
16
18
|
export const TEST_INTERNALS_DO_NOT_USE = {
|
|
17
19
|
/**
|
|
18
20
|
* to intercept the generated CSS before inserting to the style tag, so that we can check the generated CSS.
|
|
@@ -77,7 +79,12 @@ function getCache(injectFirst, enableCssLayer) {
|
|
|
77
79
|
}
|
|
78
80
|
}
|
|
79
81
|
const emotionCache = createEmotionCache({
|
|
80
|
-
key
|
|
82
|
+
// Use a dedicated key for the cascade-layer cache so its generated class
|
|
83
|
+
// names (e.g. `mui-fyswvn`) can never collide with identically-hashed
|
|
84
|
+
// UNLAYERED classes from the default/`injectFirst` cache (key `css`).
|
|
85
|
+
// A collision lets an unlayered `.css-xxx` rule beat the layered one,
|
|
86
|
+
// defeating MUI's own styles.
|
|
87
|
+
key: enableCssLayer ? 'mui' : 'css',
|
|
81
88
|
insertionPoint: injectFirst ? insertionPoint : undefined
|
|
82
89
|
}, MyStyleSheet);
|
|
83
90
|
if (enableCssLayer) {
|
|
@@ -114,7 +121,7 @@ export default function StyledEngineProvider(props) {
|
|
|
114
121
|
children: children
|
|
115
122
|
}) : children;
|
|
116
123
|
}
|
|
117
|
-
process.env.NODE_ENV !== "production" ? StyledEngineProvider.propTypes = {
|
|
124
|
+
process.env.NODE_ENV !== "production" ? StyledEngineProvider.propTypes /* remove-proptypes */ = {
|
|
118
125
|
/**
|
|
119
126
|
* Your component tree.
|
|
120
127
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from "./StyledEngineProvider.mjs";
|
|
2
|
-
export * from "./StyledEngineProvider.mjs";
|
|
2
|
+
export type * from "./StyledEngineProvider.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from "./StyledEngineProvider.js";
|
|
2
|
-
export * from "./StyledEngineProvider.js";
|
|
2
|
+
export type * from "./StyledEngineProvider.js";
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { PropsOf } from '@emotion/react';
|
|
4
|
-
export
|
|
5
|
-
|
|
1
|
+
import { type CreateStyled, type StyledComponent, type StyledOptions } from '@emotion/styled';
|
|
2
|
+
import type * as CSS from 'csstype';
|
|
3
|
+
import { type PropsOf } from '@emotion/react';
|
|
4
|
+
export type { CreateStyled, StyledComponent, StyledOptions, StyledTags } from '@emotion/styled';
|
|
5
|
+
declare const _default: CreateStyled;
|
|
6
|
+
export default _default;
|
|
7
|
+
/**
|
|
8
|
+
* For internal usage in `@mui/system` package
|
|
9
|
+
*/
|
|
10
|
+
export declare function internal_mutateStyles(tag: React.ElementType, processor: (styles: any) => any): void;
|
|
11
|
+
export declare function internal_serializeStyles<P>(styles: Interpolation<P>): object;
|
|
6
12
|
export { ThemeContext, keyframes, css } from '@emotion/react';
|
|
7
13
|
export { default as StyledEngineProvider } from "./StyledEngineProvider/index.mjs";
|
|
8
14
|
export { default as GlobalStyles } from "./GlobalStyles/index.mjs";
|
|
9
|
-
export
|
|
15
|
+
export type { GlobalStylesProps } from "./GlobalStyles/index.mjs";
|
|
10
16
|
export type MUIStyledComponent<ComponentProps extends {}, SpecificComponentProps extends {} = {}, JSXProps extends {} = {}> = StyledComponent<ComponentProps, SpecificComponentProps, JSXProps>;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* For internal usage in `@mui/system` package
|
|
14
|
-
*/
|
|
15
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
16
|
-
export function internal_mutateStyles(tag: React.ElementType, processor: (styles: any) => any): void;
|
|
17
|
-
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
19
|
-
export function internal_serializeStyles<P>(styles: Interpolation<P>): object;
|
|
20
17
|
export interface SerializedStyles {
|
|
21
18
|
name: string;
|
|
22
19
|
styles: string;
|
|
@@ -25,13 +22,7 @@ export interface SerializedStyles {
|
|
|
25
22
|
}
|
|
26
23
|
export type CSSProperties = CSS.PropertiesFallback<number | string>;
|
|
27
24
|
export type CSSPropertiesWithMultiValues = { [K in keyof CSSProperties]: CSSProperties[K] | ReadonlyArray<Extract<CSSProperties[K], string>> };
|
|
28
|
-
|
|
29
|
-
// TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
|
|
30
|
-
// For more info on why it was added, see https://github.com/mui/material-ui/pull/26228
|
|
31
25
|
export type CSSPseudos = { [K in CSS.Pseudos]?: unknown | CSSObject };
|
|
32
|
-
|
|
33
|
-
// TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
|
|
34
|
-
// For more info on why it was added, see https://github.com/mui/material-ui/pull/26228
|
|
35
26
|
export interface CSSOthersObject {
|
|
36
27
|
[propertiesName: string]: unknown | CSSInterpolation;
|
|
37
28
|
}
|
|
@@ -40,8 +31,6 @@ export interface ArrayCSSInterpolation extends ReadonlyArray<CSSInterpolation> {
|
|
|
40
31
|
export interface CSSOthersObjectForCSSObject {
|
|
41
32
|
[propertiesName: string]: CSSInterpolation;
|
|
42
33
|
}
|
|
43
|
-
|
|
44
|
-
// Omit variants as a key, because we have a special handling for it
|
|
45
34
|
export interface CSSObject extends CSSPropertiesWithMultiValues, CSSPseudos, CSSOthersObject {}
|
|
46
35
|
export interface ComponentSelector {
|
|
47
36
|
__emotion_styles: any;
|
|
@@ -75,15 +64,13 @@ export type Interpolation<Props> = null | undefined | boolean | number | string
|
|
|
75
64
|
} : any) => CSSObject);
|
|
76
65
|
}> | undefined;
|
|
77
66
|
}) | ArrayInterpolation<Props> | FunctionInterpolation<Props>;
|
|
78
|
-
export function shouldForwardProp(propName: PropertyKey): boolean;
|
|
79
|
-
|
|
67
|
+
export declare function shouldForwardProp(propName: PropertyKey): boolean;
|
|
80
68
|
/** Same as StyledOptions but shouldForwardProp must be a type guard */
|
|
81
69
|
export interface FilteringStyledOptions<Props, ForwardedProps extends keyof Props = keyof Props> {
|
|
82
70
|
label?: string | undefined;
|
|
83
71
|
shouldForwardProp?(propName: PropertyKey): propName is ForwardedProps;
|
|
84
72
|
target?: string | undefined;
|
|
85
73
|
}
|
|
86
|
-
|
|
87
74
|
/**
|
|
88
75
|
* @typeparam ComponentProps Props which will be included when withComponent is called
|
|
89
76
|
* @typeparam SpecificComponentProps Props which will *not* be included when withComponent is called
|
|
@@ -92,7 +79,6 @@ export interface CreateStyledComponent<ComponentProps extends {}, SpecificCompon
|
|
|
92
79
|
(...styles: Array<Interpolation<ComponentProps & SpecificComponentProps & {
|
|
93
80
|
theme: T;
|
|
94
81
|
}>>): StyledComponent<ComponentProps, SpecificComponentProps, JSXProps>;
|
|
95
|
-
|
|
96
82
|
/**
|
|
97
83
|
* @typeparam AdditionalProps Additional props to add to your styled component
|
|
98
84
|
*/
|
|
@@ -102,7 +88,6 @@ export interface CreateStyledComponent<ComponentProps extends {}, SpecificCompon
|
|
|
102
88
|
(template: TemplateStringsArray, ...styles: Array<Interpolation<ComponentProps & SpecificComponentProps & {
|
|
103
89
|
theme: T;
|
|
104
90
|
}>>): StyledComponent<ComponentProps, SpecificComponentProps, JSXProps>;
|
|
105
|
-
|
|
106
91
|
/**
|
|
107
92
|
* @typeparam AdditionalProps Additional props to add to your styled component
|
|
108
93
|
*/
|
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { PropsOf } from '@emotion/react';
|
|
4
|
-
export
|
|
5
|
-
|
|
1
|
+
import { type CreateStyled, type StyledComponent, type StyledOptions } from '@emotion/styled';
|
|
2
|
+
import type * as CSS from 'csstype';
|
|
3
|
+
import { type PropsOf } from '@emotion/react';
|
|
4
|
+
export type { CreateStyled, StyledComponent, StyledOptions, StyledTags } from '@emotion/styled';
|
|
5
|
+
declare const _default: CreateStyled;
|
|
6
|
+
export default _default;
|
|
7
|
+
/**
|
|
8
|
+
* For internal usage in `@mui/system` package
|
|
9
|
+
*/
|
|
10
|
+
export declare function internal_mutateStyles(tag: React.ElementType, processor: (styles: any) => any): void;
|
|
11
|
+
export declare function internal_serializeStyles<P>(styles: Interpolation<P>): object;
|
|
6
12
|
export { ThemeContext, keyframes, css } from '@emotion/react';
|
|
7
13
|
export { default as StyledEngineProvider } from "./StyledEngineProvider/index.js";
|
|
8
14
|
export { default as GlobalStyles } from "./GlobalStyles/index.js";
|
|
9
|
-
export
|
|
15
|
+
export type { GlobalStylesProps } from "./GlobalStyles/index.js";
|
|
10
16
|
export type MUIStyledComponent<ComponentProps extends {}, SpecificComponentProps extends {} = {}, JSXProps extends {} = {}> = StyledComponent<ComponentProps, SpecificComponentProps, JSXProps>;
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* For internal usage in `@mui/system` package
|
|
14
|
-
*/
|
|
15
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
16
|
-
export function internal_mutateStyles(tag: React.ElementType, processor: (styles: any) => any): void;
|
|
17
|
-
|
|
18
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
19
|
-
export function internal_serializeStyles<P>(styles: Interpolation<P>): object;
|
|
20
17
|
export interface SerializedStyles {
|
|
21
18
|
name: string;
|
|
22
19
|
styles: string;
|
|
@@ -25,13 +22,7 @@ export interface SerializedStyles {
|
|
|
25
22
|
}
|
|
26
23
|
export type CSSProperties = CSS.PropertiesFallback<number | string>;
|
|
27
24
|
export type CSSPropertiesWithMultiValues = { [K in keyof CSSProperties]: CSSProperties[K] | ReadonlyArray<Extract<CSSProperties[K], string>> };
|
|
28
|
-
|
|
29
|
-
// TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
|
|
30
|
-
// For more info on why it was added, see https://github.com/mui/material-ui/pull/26228
|
|
31
25
|
export type CSSPseudos = { [K in CSS.Pseudos]?: unknown | CSSObject };
|
|
32
|
-
|
|
33
|
-
// TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
|
|
34
|
-
// For more info on why it was added, see https://github.com/mui/material-ui/pull/26228
|
|
35
26
|
export interface CSSOthersObject {
|
|
36
27
|
[propertiesName: string]: unknown | CSSInterpolation;
|
|
37
28
|
}
|
|
@@ -40,8 +31,6 @@ export interface ArrayCSSInterpolation extends ReadonlyArray<CSSInterpolation> {
|
|
|
40
31
|
export interface CSSOthersObjectForCSSObject {
|
|
41
32
|
[propertiesName: string]: CSSInterpolation;
|
|
42
33
|
}
|
|
43
|
-
|
|
44
|
-
// Omit variants as a key, because we have a special handling for it
|
|
45
34
|
export interface CSSObject extends CSSPropertiesWithMultiValues, CSSPseudos, CSSOthersObject {}
|
|
46
35
|
export interface ComponentSelector {
|
|
47
36
|
__emotion_styles: any;
|
|
@@ -75,15 +64,13 @@ export type Interpolation<Props> = null | undefined | boolean | number | string
|
|
|
75
64
|
} : any) => CSSObject);
|
|
76
65
|
}> | undefined;
|
|
77
66
|
}) | ArrayInterpolation<Props> | FunctionInterpolation<Props>;
|
|
78
|
-
export function shouldForwardProp(propName: PropertyKey): boolean;
|
|
79
|
-
|
|
67
|
+
export declare function shouldForwardProp(propName: PropertyKey): boolean;
|
|
80
68
|
/** Same as StyledOptions but shouldForwardProp must be a type guard */
|
|
81
69
|
export interface FilteringStyledOptions<Props, ForwardedProps extends keyof Props = keyof Props> {
|
|
82
70
|
label?: string | undefined;
|
|
83
71
|
shouldForwardProp?(propName: PropertyKey): propName is ForwardedProps;
|
|
84
72
|
target?: string | undefined;
|
|
85
73
|
}
|
|
86
|
-
|
|
87
74
|
/**
|
|
88
75
|
* @typeparam ComponentProps Props which will be included when withComponent is called
|
|
89
76
|
* @typeparam SpecificComponentProps Props which will *not* be included when withComponent is called
|
|
@@ -92,7 +79,6 @@ export interface CreateStyledComponent<ComponentProps extends {}, SpecificCompon
|
|
|
92
79
|
(...styles: Array<Interpolation<ComponentProps & SpecificComponentProps & {
|
|
93
80
|
theme: T;
|
|
94
81
|
}>>): StyledComponent<ComponentProps, SpecificComponentProps, JSXProps>;
|
|
95
|
-
|
|
96
82
|
/**
|
|
97
83
|
* @typeparam AdditionalProps Additional props to add to your styled component
|
|
98
84
|
*/
|
|
@@ -102,7 +88,6 @@ export interface CreateStyledComponent<ComponentProps extends {}, SpecificCompon
|
|
|
102
88
|
(template: TemplateStringsArray, ...styles: Array<Interpolation<ComponentProps & SpecificComponentProps & {
|
|
103
89
|
theme: T;
|
|
104
90
|
}>>): StyledComponent<ComponentProps, SpecificComponentProps, JSXProps>;
|
|
105
|
-
|
|
106
91
|
/**
|
|
107
92
|
* @typeparam AdditionalProps Additional props to add to your styled component
|
|
108
93
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/styled-engine v9.
|
|
2
|
+
* @mui/styled-engine v9.3.0
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -37,7 +37,7 @@ Object.defineProperty(exports, "css", {
|
|
|
37
37
|
return _react.css;
|
|
38
38
|
}
|
|
39
39
|
});
|
|
40
|
-
exports.default =
|
|
40
|
+
exports.default = void 0;
|
|
41
41
|
exports.internal_mutateStyles = internal_mutateStyles;
|
|
42
42
|
exports.internal_serializeStyles = internal_serializeStyles;
|
|
43
43
|
Object.defineProperty(exports, "keyframes", {
|
|
@@ -51,7 +51,13 @@ var _serialize = require("@emotion/serialize");
|
|
|
51
51
|
var _react = require("@emotion/react");
|
|
52
52
|
var _StyledEngineProvider = _interopRequireDefault(require("./StyledEngineProvider"));
|
|
53
53
|
var _GlobalStyles = _interopRequireDefault(require("./GlobalStyles"));
|
|
54
|
+
// Re-export the public type surface of `@emotion/styled`. Explicit names rather
|
|
55
|
+
// than `export type *`: an `export *` (even type-only) is disallowed by the
|
|
56
|
+
// `'use client'` Next.js lint rule. Names locally redeclared below intentionally
|
|
57
|
+
// shadow Emotion's and are not re-exported here.
|
|
54
58
|
function styled(tag, options) {
|
|
59
|
+
// Emotion's `styled` overloads each expect a specific tag/component shape;
|
|
60
|
+
// none accept the broadened `React.ElementType` union, so cast the passthrough.
|
|
55
61
|
const stylesFactory = (0, _styled.default)(tag, options);
|
|
56
62
|
if (process.env.NODE_ENV !== 'production') {
|
|
57
63
|
return (...styles) => {
|
|
@@ -66,7 +72,10 @@ function styled(tag, options) {
|
|
|
66
72
|
}
|
|
67
73
|
return stylesFactory;
|
|
68
74
|
}
|
|
69
|
-
|
|
75
|
+
var _default = exports.default = styled;
|
|
76
|
+
/**
|
|
77
|
+
* For internal usage in `@mui/system` package
|
|
78
|
+
*/
|
|
70
79
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
71
80
|
function internal_mutateStyles(tag, processor) {
|
|
72
81
|
// Emotion attaches all the styles as `__emotion_styles`.
|
|
@@ -82,4 +91,19 @@ const wrapper = [];
|
|
|
82
91
|
function internal_serializeStyles(styles) {
|
|
83
92
|
wrapper[0] = styles;
|
|
84
93
|
return (0, _serialize.serializeStyles)(wrapper);
|
|
85
|
-
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
// TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
|
|
97
|
+
// For more info on why it was added, see https://github.com/mui/material-ui/pull/26228
|
|
98
|
+
|
|
99
|
+
// TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
|
|
100
|
+
// For more info on why it was added, see https://github.com/mui/material-ui/pull/26228
|
|
101
|
+
|
|
102
|
+
// Omit variants as a key, because we have a special handling for it
|
|
103
|
+
|
|
104
|
+
/** Same as StyledOptions but shouldForwardProp must be a type guard */
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @typeparam ComponentProps Props which will be included when withComponent is called
|
|
108
|
+
* @typeparam SpecificComponentProps Props which will *not* be included when withComponent is called
|
|
109
|
+
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/styled-engine v9.
|
|
2
|
+
* @mui/styled-engine v9.3.0
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -10,7 +10,15 @@
|
|
|
10
10
|
/* eslint-disable no-underscore-dangle */
|
|
11
11
|
import emStyled from '@emotion/styled';
|
|
12
12
|
import { serializeStyles as emSerializeStyles } from '@emotion/serialize';
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
// Re-export the public type surface of `@emotion/styled`. Explicit names rather
|
|
15
|
+
// than `export type *`: an `export *` (even type-only) is disallowed by the
|
|
16
|
+
// `'use client'` Next.js lint rule. Names locally redeclared below intentionally
|
|
17
|
+
// shadow Emotion's and are not re-exported here.
|
|
18
|
+
|
|
19
|
+
function styled(tag, options) {
|
|
20
|
+
// Emotion's `styled` overloads each expect a specific tag/component shape;
|
|
21
|
+
// none accept the broadened `React.ElementType` union, so cast the passthrough.
|
|
14
22
|
const stylesFactory = emStyled(tag, options);
|
|
15
23
|
if (process.env.NODE_ENV !== 'production') {
|
|
16
24
|
return (...styles) => {
|
|
@@ -25,7 +33,11 @@ export default function styled(tag, options) {
|
|
|
25
33
|
}
|
|
26
34
|
return stylesFactory;
|
|
27
35
|
}
|
|
36
|
+
export default styled;
|
|
28
37
|
|
|
38
|
+
/**
|
|
39
|
+
* For internal usage in `@mui/system` package
|
|
40
|
+
*/
|
|
29
41
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
30
42
|
export function internal_mutateStyles(tag, processor) {
|
|
31
43
|
// Emotion attaches all the styles as `__emotion_styles`.
|
|
@@ -44,4 +56,19 @@ export function internal_serializeStyles(styles) {
|
|
|
44
56
|
}
|
|
45
57
|
export { ThemeContext, keyframes, css } from '@emotion/react';
|
|
46
58
|
export { default as StyledEngineProvider } from "./StyledEngineProvider/index.mjs";
|
|
47
|
-
export { default as GlobalStyles } from "./GlobalStyles/index.mjs";
|
|
59
|
+
export { default as GlobalStyles } from "./GlobalStyles/index.mjs";
|
|
60
|
+
|
|
61
|
+
// TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
|
|
62
|
+
// For more info on why it was added, see https://github.com/mui/material-ui/pull/26228
|
|
63
|
+
|
|
64
|
+
// TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
|
|
65
|
+
// For more info on why it was added, see https://github.com/mui/material-ui/pull/26228
|
|
66
|
+
|
|
67
|
+
// Omit variants as a key, because we have a special handling for it
|
|
68
|
+
|
|
69
|
+
/** Same as StyledOptions but shouldForwardProp must be a type guard */
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @typeparam ComponentProps Props which will be included when withComponent is called
|
|
73
|
+
* @typeparam SpecificComponentProps Props which will *not* be included when withComponent is called
|
|
74
|
+
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/styled-engine",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "styled() API wrapper package for emotion.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"url": "https://opencollective.com/mui-org"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@babel/runtime": "^7.29.
|
|
27
|
+
"@babel/runtime": "^7.29.7",
|
|
28
28
|
"@emotion/cache": "^11.14.0",
|
|
29
29
|
"@emotion/serialize": "^1.3.3",
|
|
30
30
|
"@emotion/sheet": "^1.4.0",
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { OverridableComponent, OverrideProps } from '@mui/types';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import borders from "../borders/index.mjs";
|
|
8
|
-
import display from "../display/index.mjs";
|
|
9
|
-
import flexbox from "../flexbox/index.mjs";
|
|
10
|
-
import grid from "../cssGrid/index.mjs";
|
|
11
|
-
import palette from "../palette/index.mjs";
|
|
12
|
-
import positions from "../positions/index.mjs";
|
|
13
|
-
import shadows from "../shadows/index.mjs";
|
|
14
|
-
import sizing from "../sizing/index.mjs";
|
|
15
|
-
import spacing from "../spacing/index.mjs";
|
|
16
|
-
import typography from "../typography/index.mjs";
|
|
2
|
+
import type { OverridableComponent, OverrideProps } from '@mui/types';
|
|
3
|
+
import type { SxProps, AllSystemCSSProperties, ResponsiveStyleValue, OverwriteCSSProperties, AliasesCSSProperties } from "../styleFunctionSx/index.mjs";
|
|
4
|
+
import type { PropsFor } from "../style/index.mjs";
|
|
5
|
+
import type { ComposedStyleFunction } from "../compose/index.mjs";
|
|
6
|
+
import type { Theme as SystemTheme } from "../createTheme/index.mjs";
|
|
7
|
+
import type borders from "../borders/index.mjs";
|
|
8
|
+
import type display from "../display/index.mjs";
|
|
9
|
+
import type flexbox from "../flexbox/index.mjs";
|
|
10
|
+
import type grid from "../cssGrid/index.mjs";
|
|
11
|
+
import type palette from "../palette/index.mjs";
|
|
12
|
+
import type positions from "../positions/index.mjs";
|
|
13
|
+
import type shadows from "../shadows/index.mjs";
|
|
14
|
+
import type sizing from "../sizing/index.mjs";
|
|
15
|
+
import type spacing from "../spacing/index.mjs";
|
|
16
|
+
import type typography from "../typography/index.mjs";
|
|
17
17
|
export interface CustomSystemProps extends AliasesCSSProperties, OverwriteCSSProperties {}
|
|
18
18
|
export type SimpleSystemKeys = keyof PropsFor<ComposedStyleFunction<[typeof borders, typeof display, typeof flexbox, typeof grid, typeof palette, typeof positions, typeof shadows, typeof sizing, typeof spacing, typeof typography]>>;
|
|
19
|
-
|
|
20
|
-
// The SimpleSystemKeys are subset of the AllSystemCSSProperties, so this should be ok
|
|
21
|
-
// This is needed as these are used as keys inside AllSystemCSSProperties
|
|
22
19
|
type StandardSystemKeys = Extract<SimpleSystemKeys, keyof AllSystemCSSProperties>;
|
|
23
20
|
export type SystemProps<Theme extends object = {}> = { [K in StandardSystemKeys]?: ResponsiveStyleValue<AllSystemCSSProperties[K]> | ((theme: Theme) => ResponsiveStyleValue<AllSystemCSSProperties[K]>) };
|
|
24
21
|
export interface BoxOwnProps<Theme extends object = SystemTheme> {
|
|
@@ -33,7 +30,6 @@ export interface BoxTypeMap<AdditionalProps = {}, RootComponent extends React.El
|
|
|
33
30
|
props: AdditionalProps & BoxOwnProps<Theme>;
|
|
34
31
|
defaultComponent: RootComponent;
|
|
35
32
|
}
|
|
36
|
-
|
|
37
33
|
/**
|
|
38
34
|
*
|
|
39
35
|
* Demos:
|
|
@@ -1,24 +1,21 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { OverridableComponent, OverrideProps } from '@mui/types';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import borders from "../borders/index.js";
|
|
8
|
-
import display from "../display/index.js";
|
|
9
|
-
import flexbox from "../flexbox/index.js";
|
|
10
|
-
import grid from "../cssGrid/index.js";
|
|
11
|
-
import palette from "../palette/index.js";
|
|
12
|
-
import positions from "../positions/index.js";
|
|
13
|
-
import shadows from "../shadows/index.js";
|
|
14
|
-
import sizing from "../sizing/index.js";
|
|
15
|
-
import spacing from "../spacing/index.js";
|
|
16
|
-
import typography from "../typography/index.js";
|
|
2
|
+
import type { OverridableComponent, OverrideProps } from '@mui/types';
|
|
3
|
+
import type { SxProps, AllSystemCSSProperties, ResponsiveStyleValue, OverwriteCSSProperties, AliasesCSSProperties } from "../styleFunctionSx/index.js";
|
|
4
|
+
import type { PropsFor } from "../style/index.js";
|
|
5
|
+
import type { ComposedStyleFunction } from "../compose/index.js";
|
|
6
|
+
import type { Theme as SystemTheme } from "../createTheme/index.js";
|
|
7
|
+
import type borders from "../borders/index.js";
|
|
8
|
+
import type display from "../display/index.js";
|
|
9
|
+
import type flexbox from "../flexbox/index.js";
|
|
10
|
+
import type grid from "../cssGrid/index.js";
|
|
11
|
+
import type palette from "../palette/index.js";
|
|
12
|
+
import type positions from "../positions/index.js";
|
|
13
|
+
import type shadows from "../shadows/index.js";
|
|
14
|
+
import type sizing from "../sizing/index.js";
|
|
15
|
+
import type spacing from "../spacing/index.js";
|
|
16
|
+
import type typography from "../typography/index.js";
|
|
17
17
|
export interface CustomSystemProps extends AliasesCSSProperties, OverwriteCSSProperties {}
|
|
18
18
|
export type SimpleSystemKeys = keyof PropsFor<ComposedStyleFunction<[typeof borders, typeof display, typeof flexbox, typeof grid, typeof palette, typeof positions, typeof shadows, typeof sizing, typeof spacing, typeof typography]>>;
|
|
19
|
-
|
|
20
|
-
// The SimpleSystemKeys are subset of the AllSystemCSSProperties, so this should be ok
|
|
21
|
-
// This is needed as these are used as keys inside AllSystemCSSProperties
|
|
22
19
|
type StandardSystemKeys = Extract<SimpleSystemKeys, keyof AllSystemCSSProperties>;
|
|
23
20
|
export type SystemProps<Theme extends object = {}> = { [K in StandardSystemKeys]?: ResponsiveStyleValue<AllSystemCSSProperties[K]> | ((theme: Theme) => ResponsiveStyleValue<AllSystemCSSProperties[K]>) };
|
|
24
21
|
export interface BoxOwnProps<Theme extends object = SystemTheme> {
|
|
@@ -33,7 +30,6 @@ export interface BoxTypeMap<AdditionalProps = {}, RootComponent extends React.El
|
|
|
33
30
|
props: AdditionalProps & BoxOwnProps<Theme>;
|
|
34
31
|
defaultComponent: RootComponent;
|
|
35
32
|
}
|
|
36
|
-
|
|
37
33
|
/**
|
|
38
34
|
*
|
|
39
35
|
* Demos:
|
|
@@ -10,6 +10,21 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
10
10
|
var _ClassNameGenerator = _interopRequireDefault(require("@mui/utils/ClassNameGenerator"));
|
|
11
11
|
var _createBox = _interopRequireDefault(require("../createBox"));
|
|
12
12
|
var _boxClasses = _interopRequireDefault(require("./boxClasses"));
|
|
13
|
+
// The SimpleSystemKeys are subset of the AllSystemCSSProperties, so this should be ok
|
|
14
|
+
// This is needed as these are used as keys inside AllSystemCSSProperties
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* Demos:
|
|
19
|
+
*
|
|
20
|
+
* - [Box (Material UI)](https://mui.com/material-ui/react-box/)
|
|
21
|
+
* - [Menubar (Material UI)](https://mui.com/material-ui/react-menubar/)
|
|
22
|
+
* - [Box (MUI System)](https://mui.com/system/react-box/)
|
|
23
|
+
*
|
|
24
|
+
* API:
|
|
25
|
+
*
|
|
26
|
+
* - [Box API](https://mui.com/system/api/box/)
|
|
27
|
+
*/
|
|
13
28
|
const Box = (0, _createBox.default)({
|
|
14
29
|
defaultClassName: _boxClasses.default.root,
|
|
15
30
|
generateClassName: _ClassNameGenerator.default.generate
|
|
@@ -17,7 +32,7 @@ const Box = (0, _createBox.default)({
|
|
|
17
32
|
process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
|
|
18
33
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
19
34
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
20
|
-
// │
|
|
35
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
21
36
|
// └─────────────────────────────────────────────────────────────────────┘
|
|
22
37
|
/**
|
|
23
38
|
* @ignore
|
|
@@ -4,6 +4,22 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import ClassNameGenerator from '@mui/utils/ClassNameGenerator';
|
|
5
5
|
import createBox from "../createBox/index.mjs";
|
|
6
6
|
import boxClasses from "./boxClasses.mjs";
|
|
7
|
+
|
|
8
|
+
// The SimpleSystemKeys are subset of the AllSystemCSSProperties, so this should be ok
|
|
9
|
+
// This is needed as these are used as keys inside AllSystemCSSProperties
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* Demos:
|
|
14
|
+
*
|
|
15
|
+
* - [Box (Material UI)](https://mui.com/material-ui/react-box/)
|
|
16
|
+
* - [Menubar (Material UI)](https://mui.com/material-ui/react-menubar/)
|
|
17
|
+
* - [Box (MUI System)](https://mui.com/system/react-box/)
|
|
18
|
+
*
|
|
19
|
+
* API:
|
|
20
|
+
*
|
|
21
|
+
* - [Box API](https://mui.com/system/api/box/)
|
|
22
|
+
*/
|
|
7
23
|
const Box = createBox({
|
|
8
24
|
defaultClassName: boxClasses.root,
|
|
9
25
|
generateClassName: ClassNameGenerator.generate
|
|
@@ -11,7 +27,7 @@ const Box = createBox({
|
|
|
11
27
|
process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
|
|
12
28
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
13
29
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
14
|
-
// │
|
|
30
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
15
31
|
// └─────────────────────────────────────────────────────────────────────┘
|
|
16
32
|
/**
|
|
17
33
|
* @ignore
|