@sitecore/sc-contenthub-blok 1.0.28 → 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/esm/BlokTheme.js +23 -17
- package/esm/BlokTheme.js.map +1 -1
- 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
|
@@ -18,6 +18,8 @@ var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
|
|
|
18
18
|
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
19
19
|
var _Fab = _interopRequireDefault(require("../Fab"));
|
|
20
20
|
var _Tooltip = _interopRequireDefault(require("../Tooltip"));
|
|
21
|
+
var _utils = require("../transitions/utils");
|
|
22
|
+
var _useReducedMotion = _interopRequireDefault(require("../transitions/useReducedMotion"));
|
|
21
23
|
var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
|
|
22
24
|
var _speedDialActionClasses = _interopRequireWildcard(require("./speedDialActionClasses"));
|
|
23
25
|
var _useSlot = _interopRequireDefault(require("../utils/useSlot"));
|
|
@@ -57,6 +59,7 @@ const SpeedDialActionFab = (0, _zeroStyled.styled)(_Fab.default, {
|
|
|
57
59
|
transition: `${theme.transitions.create('transform', {
|
|
58
60
|
duration: theme.transitions.duration.shorter
|
|
59
61
|
})}, opacity 0.8s`,
|
|
62
|
+
...(0, _utils.getReducedMotionStyles)(theme),
|
|
60
63
|
opacity: 1,
|
|
61
64
|
variants: [{
|
|
62
65
|
props: ({
|
|
@@ -84,7 +87,7 @@ const SpeedDialActionStaticTooltip = (0, _zeroStyled.styled)('span', {
|
|
|
84
87
|
display: 'flex',
|
|
85
88
|
alignItems: 'center',
|
|
86
89
|
[`& .${_speedDialActionClasses.default.staticTooltipLabel}`]: {
|
|
87
|
-
|
|
90
|
+
...(0, _utils.getTransitionStyles)(theme, ['transform', 'opacity'], {
|
|
88
91
|
duration: theme.transitions.duration.shorter
|
|
89
92
|
}),
|
|
90
93
|
opacity: 1
|
|
@@ -153,6 +156,8 @@ const SpeedDialAction = /*#__PURE__*/React.forwardRef(function SpeedDialAction(i
|
|
|
153
156
|
slotProps = {},
|
|
154
157
|
...other
|
|
155
158
|
} = props;
|
|
159
|
+
const theme = (0, _zeroStyled.useTheme)();
|
|
160
|
+
const reducedMotion = (0, _useReducedMotion.default)(theme.motion.reducedMotion, false);
|
|
156
161
|
const resolvedTooltipSlotProps = typeof slotProps.tooltip === 'function' ? slotProps.tooltip(props) : slotProps.tooltip ?? {};
|
|
157
162
|
const tooltipPlacement = resolvedTooltipSlotProps.placement ?? 'left';
|
|
158
163
|
const ownerState = {
|
|
@@ -171,8 +176,12 @@ const SpeedDialAction = /*#__PURE__*/React.forwardRef(function SpeedDialAction(i
|
|
|
171
176
|
const handleTooltipOpen = () => {
|
|
172
177
|
setTooltipOpen(true);
|
|
173
178
|
};
|
|
179
|
+
const transitionTiming = reducedMotion.getTransitionTiming({
|
|
180
|
+
duration: 0,
|
|
181
|
+
delay: `${delay}ms`
|
|
182
|
+
});
|
|
174
183
|
const transitionStyle = {
|
|
175
|
-
transitionDelay:
|
|
184
|
+
transitionDelay: transitionTiming.delay
|
|
176
185
|
};
|
|
177
186
|
const [FabSlot, fabSlotProps] = (0, _useSlot.default)('fab', {
|
|
178
187
|
elementType: SpeedDialActionFab,
|
|
@@ -6,11 +6,13 @@ import PropTypes from 'prop-types';
|
|
|
6
6
|
import clsx from 'clsx';
|
|
7
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
8
8
|
import { emphasize } from '@mui/system/colorManipulator';
|
|
9
|
-
import { styled } from "../zero-styled/index.mjs";
|
|
9
|
+
import { styled, useTheme } from "../zero-styled/index.mjs";
|
|
10
10
|
import memoTheme from "../utils/memoTheme.mjs";
|
|
11
11
|
import { useDefaultProps } from "../DefaultPropsProvider/index.mjs";
|
|
12
12
|
import Fab from "../Fab/index.mjs";
|
|
13
13
|
import Tooltip from "../Tooltip/index.mjs";
|
|
14
|
+
import { getReducedMotionStyles, getTransitionStyles } from "../transitions/utils.mjs";
|
|
15
|
+
import useReducedMotion from "../transitions/useReducedMotion.mjs";
|
|
14
16
|
import capitalize from "../utils/capitalize.mjs";
|
|
15
17
|
import speedDialActionClasses, { getSpeedDialActionUtilityClass } from "./speedDialActionClasses.mjs";
|
|
16
18
|
import useSlot from "../utils/useSlot.mjs";
|
|
@@ -50,6 +52,7 @@ const SpeedDialActionFab = styled(Fab, {
|
|
|
50
52
|
transition: `${theme.transitions.create('transform', {
|
|
51
53
|
duration: theme.transitions.duration.shorter
|
|
52
54
|
})}, opacity 0.8s`,
|
|
55
|
+
...getReducedMotionStyles(theme),
|
|
53
56
|
opacity: 1,
|
|
54
57
|
variants: [{
|
|
55
58
|
props: ({
|
|
@@ -77,7 +80,7 @@ const SpeedDialActionStaticTooltip = styled('span', {
|
|
|
77
80
|
display: 'flex',
|
|
78
81
|
alignItems: 'center',
|
|
79
82
|
[`& .${speedDialActionClasses.staticTooltipLabel}`]: {
|
|
80
|
-
|
|
83
|
+
...getTransitionStyles(theme, ['transform', 'opacity'], {
|
|
81
84
|
duration: theme.transitions.duration.shorter
|
|
82
85
|
}),
|
|
83
86
|
opacity: 1
|
|
@@ -146,6 +149,8 @@ const SpeedDialAction = /*#__PURE__*/React.forwardRef(function SpeedDialAction(i
|
|
|
146
149
|
slotProps = {},
|
|
147
150
|
...other
|
|
148
151
|
} = props;
|
|
152
|
+
const theme = useTheme();
|
|
153
|
+
const reducedMotion = useReducedMotion(theme.motion.reducedMotion, false);
|
|
149
154
|
const resolvedTooltipSlotProps = typeof slotProps.tooltip === 'function' ? slotProps.tooltip(props) : slotProps.tooltip ?? {};
|
|
150
155
|
const tooltipPlacement = resolvedTooltipSlotProps.placement ?? 'left';
|
|
151
156
|
const ownerState = {
|
|
@@ -164,8 +169,12 @@ const SpeedDialAction = /*#__PURE__*/React.forwardRef(function SpeedDialAction(i
|
|
|
164
169
|
const handleTooltipOpen = () => {
|
|
165
170
|
setTooltipOpen(true);
|
|
166
171
|
};
|
|
172
|
+
const transitionTiming = reducedMotion.getTransitionTiming({
|
|
173
|
+
duration: 0,
|
|
174
|
+
delay: `${delay}ms`
|
|
175
|
+
});
|
|
167
176
|
const transitionStyle = {
|
|
168
|
-
transitionDelay:
|
|
177
|
+
transitionDelay: transitionTiming.delay
|
|
169
178
|
};
|
|
170
179
|
const [FabSlot, fabSlotProps] = useSlot('fab', {
|
|
171
180
|
elementType: SpeedDialActionFab,
|
|
@@ -16,6 +16,7 @@ var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
|
|
|
16
16
|
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
17
17
|
var _Add = _interopRequireDefault(require("../internal/svg-icons/Add"));
|
|
18
18
|
var _speedDialIconClasses = _interopRequireWildcard(require("./speedDialIconClasses"));
|
|
19
|
+
var _utils = require("../transitions/utils");
|
|
19
20
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
21
|
const useUtilityClasses = ownerState => {
|
|
21
22
|
const {
|
|
@@ -51,45 +52,47 @@ const SpeedDialIconRoot = (0, _zeroStyled.styled)('span', {
|
|
|
51
52
|
}
|
|
52
53
|
})((0, _memoTheme.default)(({
|
|
53
54
|
theme
|
|
54
|
-
}) =>
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
55
|
+
}) => {
|
|
56
|
+
return {
|
|
57
|
+
height: 24,
|
|
58
|
+
[`& .${_speedDialIconClasses.default.icon}`]: {
|
|
59
|
+
...(0, _utils.getTransitionStyles)(theme, ['transform', 'opacity'], {
|
|
60
|
+
duration: theme.transitions.duration.short
|
|
61
|
+
})
|
|
62
|
+
},
|
|
63
|
+
[`& .${_speedDialIconClasses.default.openIcon}`]: {
|
|
64
|
+
position: 'absolute',
|
|
65
|
+
...(0, _utils.getTransitionStyles)(theme, ['transform', 'opacity'], {
|
|
66
|
+
duration: theme.transitions.duration.short
|
|
67
|
+
}),
|
|
68
|
+
opacity: 0,
|
|
69
|
+
transform: 'rotate(-45deg)'
|
|
70
|
+
},
|
|
71
|
+
variants: [{
|
|
72
|
+
props: ({
|
|
73
|
+
ownerState
|
|
74
|
+
}) => ownerState.open,
|
|
75
|
+
style: {
|
|
76
|
+
[`& .${_speedDialIconClasses.default.icon}`]: {
|
|
77
|
+
transform: 'rotate(45deg)'
|
|
78
|
+
},
|
|
79
|
+
[`& .${_speedDialIconClasses.default.openIcon}`]: {
|
|
80
|
+
transform: 'rotate(0deg)',
|
|
81
|
+
opacity: 1
|
|
82
|
+
}
|
|
80
83
|
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
ownerState
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
}, {
|
|
85
|
+
props: ({
|
|
86
|
+
ownerState
|
|
87
|
+
}) => ownerState.open && ownerState.openIcon,
|
|
88
|
+
style: {
|
|
89
|
+
[`& .${_speedDialIconClasses.default.icon}`]: {
|
|
90
|
+
opacity: 0
|
|
91
|
+
}
|
|
89
92
|
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}))
|
|
93
|
+
}]
|
|
94
|
+
};
|
|
95
|
+
}));
|
|
93
96
|
const SpeedDialIcon = /*#__PURE__*/React.forwardRef(function SpeedDialIcon(inProps, ref) {
|
|
94
97
|
const props = (0, _DefaultPropsProvider.useDefaultProps)({
|
|
95
98
|
props: inProps,
|
|
@@ -9,6 +9,7 @@ import memoTheme from "../utils/memoTheme.mjs";
|
|
|
9
9
|
import { useDefaultProps } from "../DefaultPropsProvider/index.mjs";
|
|
10
10
|
import AddIcon from "../internal/svg-icons/Add.mjs";
|
|
11
11
|
import speedDialIconClasses, { getSpeedDialIconUtilityClass } from "./speedDialIconClasses.mjs";
|
|
12
|
+
import { getTransitionStyles } from "../transitions/utils.mjs";
|
|
12
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
14
|
const useUtilityClasses = ownerState => {
|
|
14
15
|
const {
|
|
@@ -44,45 +45,47 @@ const SpeedDialIconRoot = styled('span', {
|
|
|
44
45
|
}
|
|
45
46
|
})(memoTheme(({
|
|
46
47
|
theme
|
|
47
|
-
}) =>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
48
|
+
}) => {
|
|
49
|
+
return {
|
|
50
|
+
height: 24,
|
|
51
|
+
[`& .${speedDialIconClasses.icon}`]: {
|
|
52
|
+
...getTransitionStyles(theme, ['transform', 'opacity'], {
|
|
53
|
+
duration: theme.transitions.duration.short
|
|
54
|
+
})
|
|
55
|
+
},
|
|
56
|
+
[`& .${speedDialIconClasses.openIcon}`]: {
|
|
57
|
+
position: 'absolute',
|
|
58
|
+
...getTransitionStyles(theme, ['transform', 'opacity'], {
|
|
59
|
+
duration: theme.transitions.duration.short
|
|
60
|
+
}),
|
|
61
|
+
opacity: 0,
|
|
62
|
+
transform: 'rotate(-45deg)'
|
|
63
|
+
},
|
|
64
|
+
variants: [{
|
|
65
|
+
props: ({
|
|
66
|
+
ownerState
|
|
67
|
+
}) => ownerState.open,
|
|
68
|
+
style: {
|
|
69
|
+
[`& .${speedDialIconClasses.icon}`]: {
|
|
70
|
+
transform: 'rotate(45deg)'
|
|
71
|
+
},
|
|
72
|
+
[`& .${speedDialIconClasses.openIcon}`]: {
|
|
73
|
+
transform: 'rotate(0deg)',
|
|
74
|
+
opacity: 1
|
|
75
|
+
}
|
|
73
76
|
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
ownerState
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
}, {
|
|
78
|
+
props: ({
|
|
79
|
+
ownerState
|
|
80
|
+
}) => ownerState.open && ownerState.openIcon,
|
|
81
|
+
style: {
|
|
82
|
+
[`& .${speedDialIconClasses.icon}`]: {
|
|
83
|
+
opacity: 0
|
|
84
|
+
}
|
|
82
85
|
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}))
|
|
86
|
+
}]
|
|
87
|
+
};
|
|
88
|
+
}));
|
|
86
89
|
const SpeedDialIcon = /*#__PURE__*/React.forwardRef(function SpeedDialIcon(inProps, ref) {
|
|
87
90
|
const props = useDefaultProps({
|
|
88
91
|
props: inProps,
|
|
@@ -25,7 +25,7 @@ export interface StackOwnProps {
|
|
|
25
25
|
/**
|
|
26
26
|
* If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
|
|
27
27
|
*
|
|
28
|
-
* While CSS `gap` removes the
|
|
28
|
+
* While CSS `gap` removes the known limitations,
|
|
29
29
|
* it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
|
|
30
30
|
*
|
|
31
31
|
* To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
|
|
@@ -25,7 +25,7 @@ export interface StackOwnProps {
|
|
|
25
25
|
/**
|
|
26
26
|
* If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
|
|
27
27
|
*
|
|
28
|
-
* While CSS `gap` removes the
|
|
28
|
+
* While CSS `gap` removes the known limitations,
|
|
29
29
|
* it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
|
|
30
30
|
*
|
|
31
31
|
* To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
|
|
@@ -56,7 +56,7 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ =
|
|
|
56
56
|
/**
|
|
57
57
|
* If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
|
|
58
58
|
*
|
|
59
|
-
* While CSS `gap` removes the
|
|
59
|
+
* While CSS `gap` removes the known limitations,
|
|
60
60
|
* it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
|
|
61
61
|
*
|
|
62
62
|
* To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
|
|
@@ -50,7 +50,7 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ =
|
|
|
50
50
|
/**
|
|
51
51
|
* If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
|
|
52
52
|
*
|
|
53
|
-
* While CSS `gap` removes the
|
|
53
|
+
* While CSS `gap` removes the known limitations,
|
|
54
54
|
* it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
|
|
55
55
|
*
|
|
56
56
|
* To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
|
|
@@ -42,14 +42,47 @@ const StepRoot = (0, _zeroStyled.styled)('li', {
|
|
|
42
42
|
})({
|
|
43
43
|
variants: [{
|
|
44
44
|
props: {
|
|
45
|
-
orientation: 'horizontal'
|
|
45
|
+
orientation: 'horizontal',
|
|
46
|
+
alternativeLabel: false,
|
|
47
|
+
hasConnector: false
|
|
48
|
+
},
|
|
49
|
+
style: {
|
|
50
|
+
paddingLeft: 8
|
|
51
|
+
}
|
|
52
|
+
}, {
|
|
53
|
+
props: {
|
|
54
|
+
orientation: 'horizontal',
|
|
55
|
+
alternativeLabel: false,
|
|
56
|
+
last: true
|
|
46
57
|
},
|
|
47
58
|
style: {
|
|
48
|
-
paddingLeft: 8,
|
|
49
59
|
paddingRight: 8
|
|
50
60
|
}
|
|
51
61
|
}, {
|
|
52
62
|
props: {
|
|
63
|
+
orientation: 'horizontal',
|
|
64
|
+
alternativeLabel: false,
|
|
65
|
+
hasConnector: true
|
|
66
|
+
},
|
|
67
|
+
style: {
|
|
68
|
+
flex: '1 1 auto',
|
|
69
|
+
display: 'grid',
|
|
70
|
+
gridTemplateColumns: '1fr auto',
|
|
71
|
+
alignItems: 'center',
|
|
72
|
+
gap: 8
|
|
73
|
+
}
|
|
74
|
+
}, {
|
|
75
|
+
props: {
|
|
76
|
+
orientation: 'vertical',
|
|
77
|
+
alternativeLabel: true
|
|
78
|
+
},
|
|
79
|
+
style: {
|
|
80
|
+
display: 'flex',
|
|
81
|
+
flexDirection: 'column'
|
|
82
|
+
}
|
|
83
|
+
}, {
|
|
84
|
+
props: {
|
|
85
|
+
orientation: 'horizontal',
|
|
53
86
|
alternativeLabel: true
|
|
54
87
|
},
|
|
55
88
|
style: {
|
|
@@ -100,6 +133,7 @@ const Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
|
100
133
|
completed,
|
|
101
134
|
disabled
|
|
102
135
|
}), [index, last, expanded, active, completed, disabled]);
|
|
136
|
+
const hasConnector = !!connector && index !== 0;
|
|
103
137
|
const ownerState = {
|
|
104
138
|
...props,
|
|
105
139
|
active,
|
|
@@ -108,23 +142,21 @@ const Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
|
108
142
|
completed,
|
|
109
143
|
disabled,
|
|
110
144
|
expanded,
|
|
111
|
-
component
|
|
145
|
+
component,
|
|
146
|
+
hasConnector
|
|
112
147
|
};
|
|
113
148
|
const classes = useUtilityClasses(ownerState);
|
|
114
|
-
const newChildren = /*#__PURE__*/(0, _jsxRuntime.jsxs)(StepRoot, {
|
|
115
|
-
as: component,
|
|
116
|
-
className: (0, _clsx.default)(classes.root, className),
|
|
117
|
-
ref: ref,
|
|
118
|
-
ownerState: ownerState,
|
|
119
|
-
role: isTabList ? 'presentation' : undefined,
|
|
120
|
-
...other,
|
|
121
|
-
children: [connector && alternativeLabel && index !== 0 ? connector : null, children]
|
|
122
|
-
});
|
|
123
149
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_StepContext.default.Provider, {
|
|
124
150
|
value: contextValue,
|
|
125
|
-
children:
|
|
126
|
-
|
|
127
|
-
|
|
151
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(StepRoot, {
|
|
152
|
+
as: component,
|
|
153
|
+
className: (0, _clsx.default)(classes.root, className),
|
|
154
|
+
ref: ref,
|
|
155
|
+
ownerState: ownerState,
|
|
156
|
+
role: isTabList ? 'presentation' : undefined,
|
|
157
|
+
...other,
|
|
158
|
+
children: [hasConnector ? connector : null, children]
|
|
159
|
+
})
|
|
128
160
|
});
|
|
129
161
|
});
|
|
130
162
|
process.env.NODE_ENV !== "production" ? Step.propTypes /* remove-proptypes */ = {
|
|
@@ -35,14 +35,47 @@ const StepRoot = styled('li', {
|
|
|
35
35
|
})({
|
|
36
36
|
variants: [{
|
|
37
37
|
props: {
|
|
38
|
-
orientation: 'horizontal'
|
|
38
|
+
orientation: 'horizontal',
|
|
39
|
+
alternativeLabel: false,
|
|
40
|
+
hasConnector: false
|
|
41
|
+
},
|
|
42
|
+
style: {
|
|
43
|
+
paddingLeft: 8
|
|
44
|
+
}
|
|
45
|
+
}, {
|
|
46
|
+
props: {
|
|
47
|
+
orientation: 'horizontal',
|
|
48
|
+
alternativeLabel: false,
|
|
49
|
+
last: true
|
|
39
50
|
},
|
|
40
51
|
style: {
|
|
41
|
-
paddingLeft: 8,
|
|
42
52
|
paddingRight: 8
|
|
43
53
|
}
|
|
44
54
|
}, {
|
|
45
55
|
props: {
|
|
56
|
+
orientation: 'horizontal',
|
|
57
|
+
alternativeLabel: false,
|
|
58
|
+
hasConnector: true
|
|
59
|
+
},
|
|
60
|
+
style: {
|
|
61
|
+
flex: '1 1 auto',
|
|
62
|
+
display: 'grid',
|
|
63
|
+
gridTemplateColumns: '1fr auto',
|
|
64
|
+
alignItems: 'center',
|
|
65
|
+
gap: 8
|
|
66
|
+
}
|
|
67
|
+
}, {
|
|
68
|
+
props: {
|
|
69
|
+
orientation: 'vertical',
|
|
70
|
+
alternativeLabel: true
|
|
71
|
+
},
|
|
72
|
+
style: {
|
|
73
|
+
display: 'flex',
|
|
74
|
+
flexDirection: 'column'
|
|
75
|
+
}
|
|
76
|
+
}, {
|
|
77
|
+
props: {
|
|
78
|
+
orientation: 'horizontal',
|
|
46
79
|
alternativeLabel: true
|
|
47
80
|
},
|
|
48
81
|
style: {
|
|
@@ -93,6 +126,7 @@ const Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
|
93
126
|
completed,
|
|
94
127
|
disabled
|
|
95
128
|
}), [index, last, expanded, active, completed, disabled]);
|
|
129
|
+
const hasConnector = !!connector && index !== 0;
|
|
96
130
|
const ownerState = {
|
|
97
131
|
...props,
|
|
98
132
|
active,
|
|
@@ -101,23 +135,21 @@ const Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
|
101
135
|
completed,
|
|
102
136
|
disabled,
|
|
103
137
|
expanded,
|
|
104
|
-
component
|
|
138
|
+
component,
|
|
139
|
+
hasConnector
|
|
105
140
|
};
|
|
106
141
|
const classes = useUtilityClasses(ownerState);
|
|
107
|
-
const newChildren = /*#__PURE__*/_jsxs(StepRoot, {
|
|
108
|
-
as: component,
|
|
109
|
-
className: clsx(classes.root, className),
|
|
110
|
-
ref: ref,
|
|
111
|
-
ownerState: ownerState,
|
|
112
|
-
role: isTabList ? 'presentation' : undefined,
|
|
113
|
-
...other,
|
|
114
|
-
children: [connector && alternativeLabel && index !== 0 ? connector : null, children]
|
|
115
|
-
});
|
|
116
142
|
return /*#__PURE__*/_jsx(StepContext.Provider, {
|
|
117
143
|
value: contextValue,
|
|
118
|
-
children:
|
|
119
|
-
|
|
120
|
-
|
|
144
|
+
children: /*#__PURE__*/_jsxs(StepRoot, {
|
|
145
|
+
as: component,
|
|
146
|
+
className: clsx(classes.root, className),
|
|
147
|
+
ref: ref,
|
|
148
|
+
ownerState: ownerState,
|
|
149
|
+
role: isTabList ? 'presentation' : undefined,
|
|
150
|
+
...other,
|
|
151
|
+
children: [hasConnector ? connector : null, children]
|
|
152
|
+
})
|
|
121
153
|
});
|
|
122
154
|
});
|
|
123
155
|
process.env.NODE_ENV !== "production" ? Step.propTypes /* remove-proptypes */ = {
|
|
@@ -11,7 +11,7 @@ export interface StepContextType {
|
|
|
11
11
|
/**
|
|
12
12
|
* Provides information about the current step in Stepper.
|
|
13
13
|
*/
|
|
14
|
-
declare const StepContext: React.Context<
|
|
14
|
+
declare const StepContext: React.Context<StepContextType | {}>;
|
|
15
15
|
/**
|
|
16
16
|
* Returns the current StepContext or an empty object if no StepContext
|
|
17
17
|
* has been defined in the component tree.
|
|
@@ -11,7 +11,7 @@ export interface StepContextType {
|
|
|
11
11
|
/**
|
|
12
12
|
* Provides information about the current step in Stepper.
|
|
13
13
|
*/
|
|
14
|
-
declare const StepContext: React.Context<
|
|
14
|
+
declare const StepContext: React.Context<StepContextType | {}>;
|
|
15
15
|
/**
|
|
16
16
|
* Returns the current StepContext or an empty object if no StepContext
|
|
17
17
|
* has been defined in the component tree.
|
|
@@ -12,6 +12,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
12
12
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
13
13
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
14
14
|
var _zeroStyled = require("../zero-styled");
|
|
15
|
+
var _memoTheme = _interopRequireDefault(require("../utils/memoTheme"));
|
|
15
16
|
var _DefaultPropsProvider = require("../DefaultPropsProvider");
|
|
16
17
|
var _ButtonBase = _interopRequireDefault(require("../ButtonBase"));
|
|
17
18
|
var _StepLabel = _interopRequireDefault(require("../StepLabel"));
|
|
@@ -43,13 +44,18 @@ const StepButtonRoot = (0, _zeroStyled.styled)(_ButtonBase.default, {
|
|
|
43
44
|
[`& .${_stepButtonClasses.default.touchRipple}`]: styles.touchRipple
|
|
44
45
|
}, styles.root, styles[ownerState.orientation]];
|
|
45
46
|
}
|
|
46
|
-
})({
|
|
47
|
+
})((0, _memoTheme.default)(({
|
|
48
|
+
theme
|
|
49
|
+
}) => ({
|
|
47
50
|
width: '100%',
|
|
48
51
|
padding: '24px 16px',
|
|
49
52
|
margin: '-24px -16px',
|
|
50
53
|
boxSizing: 'content-box',
|
|
51
54
|
[`& .${_stepButtonClasses.default.touchRipple}`]: {
|
|
52
|
-
color: 'rgba(0, 0, 0, 0.3)'
|
|
55
|
+
color: 'rgba(0, 0, 0, 0.3)',
|
|
56
|
+
...theme.applyStyles('dark', {
|
|
57
|
+
color: 'rgba(255, 255, 255, 0.3)'
|
|
58
|
+
})
|
|
53
59
|
},
|
|
54
60
|
variants: [{
|
|
55
61
|
props: {
|
|
@@ -61,7 +67,7 @@ const StepButtonRoot = (0, _zeroStyled.styled)(_ButtonBase.default, {
|
|
|
61
67
|
margin: '-8px'
|
|
62
68
|
}
|
|
63
69
|
}]
|
|
64
|
-
});
|
|
70
|
+
})));
|
|
65
71
|
const RovingStepButton = /*#__PURE__*/React.forwardRef(function RovingStepButton(props, ref) {
|
|
66
72
|
// eslint-disable-next-line react/prop-types
|
|
67
73
|
const {
|
|
@@ -5,6 +5,7 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import { styled } from "../zero-styled/index.mjs";
|
|
8
|
+
import memoTheme from "../utils/memoTheme.mjs";
|
|
8
9
|
import { useDefaultProps } from "../DefaultPropsProvider/index.mjs";
|
|
9
10
|
import ButtonBase from "../ButtonBase/index.mjs";
|
|
10
11
|
import StepLabel from "../StepLabel/index.mjs";
|
|
@@ -36,13 +37,18 @@ const StepButtonRoot = styled(ButtonBase, {
|
|
|
36
37
|
[`& .${stepButtonClasses.touchRipple}`]: styles.touchRipple
|
|
37
38
|
}, styles.root, styles[ownerState.orientation]];
|
|
38
39
|
}
|
|
39
|
-
})({
|
|
40
|
+
})(memoTheme(({
|
|
41
|
+
theme
|
|
42
|
+
}) => ({
|
|
40
43
|
width: '100%',
|
|
41
44
|
padding: '24px 16px',
|
|
42
45
|
margin: '-24px -16px',
|
|
43
46
|
boxSizing: 'content-box',
|
|
44
47
|
[`& .${stepButtonClasses.touchRipple}`]: {
|
|
45
|
-
color: 'rgba(0, 0, 0, 0.3)'
|
|
48
|
+
color: 'rgba(0, 0, 0, 0.3)',
|
|
49
|
+
...theme.applyStyles('dark', {
|
|
50
|
+
color: 'rgba(255, 255, 255, 0.3)'
|
|
51
|
+
})
|
|
46
52
|
},
|
|
47
53
|
variants: [{
|
|
48
54
|
props: {
|
|
@@ -54,7 +60,7 @@ const StepButtonRoot = styled(ButtonBase, {
|
|
|
54
60
|
margin: '-8px'
|
|
55
61
|
}
|
|
56
62
|
}]
|
|
57
|
-
});
|
|
63
|
+
})));
|
|
58
64
|
const RovingStepButton = /*#__PURE__*/React.forwardRef(function RovingStepButton(props, ref) {
|
|
59
65
|
// eslint-disable-next-line react/prop-types
|
|
60
66
|
const {
|
|
@@ -53,6 +53,16 @@ const StepConnectorRoot = (0, _zeroStyled.styled)('div', {
|
|
|
53
53
|
}
|
|
54
54
|
}, {
|
|
55
55
|
props: {
|
|
56
|
+
orientation: 'vertical',
|
|
57
|
+
alternativeLabel: true
|
|
58
|
+
},
|
|
59
|
+
style: {
|
|
60
|
+
marginLeft: 'auto',
|
|
61
|
+
marginRight: 12 // half icon
|
|
62
|
+
}
|
|
63
|
+
}, {
|
|
64
|
+
props: {
|
|
65
|
+
orientation: 'horizontal',
|
|
56
66
|
alternativeLabel: true
|
|
57
67
|
},
|
|
58
68
|
style: {
|
|
@@ -46,6 +46,16 @@ const StepConnectorRoot = styled('div', {
|
|
|
46
46
|
}
|
|
47
47
|
}, {
|
|
48
48
|
props: {
|
|
49
|
+
orientation: 'vertical',
|
|
50
|
+
alternativeLabel: true
|
|
51
|
+
},
|
|
52
|
+
style: {
|
|
53
|
+
marginLeft: 'auto',
|
|
54
|
+
marginRight: 12 // half icon
|
|
55
|
+
}
|
|
56
|
+
}, {
|
|
57
|
+
props: {
|
|
58
|
+
orientation: 'horizontal',
|
|
49
59
|
alternativeLabel: true
|
|
50
60
|
},
|
|
51
61
|
style: {
|
|
@@ -3,13 +3,13 @@ import { SxProps } from '@mui/system';
|
|
|
3
3
|
import { Theme } from "../styles/index.mjs";
|
|
4
4
|
import { InternalStandardProps as StandardProps } from "../internal/index.mjs";
|
|
5
5
|
import { CollapseProps } from "../Collapse/index.mjs";
|
|
6
|
-
import { TransitionProps } from "../transitions/
|
|
6
|
+
import { TransitionProps } from "../transitions/types.mjs";
|
|
7
7
|
import { StepContentClasses } from "./stepContentClasses.mjs";
|
|
8
8
|
import { CreateSlotsAndSlotProps, SlotComponentProps } from "../utils/types.mjs";
|
|
9
9
|
export interface StepContentSlots {
|
|
10
10
|
/**
|
|
11
11
|
* The component that renders the transition slot.
|
|
12
|
-
* [Follow this guide](
|
|
12
|
+
* [Follow this guide](/material-ui/transitions/#transition-slots) to learn more about the requirements for this component.
|
|
13
13
|
* @default Collapse
|
|
14
14
|
*/
|
|
15
15
|
transition?: React.JSXElementConstructor<TransitionProps & {
|