@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 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare function getThemeValue(prop: string, value: any, theme: object): any;
|
|
2
|
+
export default getThemeValue;
|
|
@@ -27,6 +27,8 @@ const filterPropsMapping = {
|
|
|
27
27
|
spacing: _spacing.default.filterProps,
|
|
28
28
|
typography: _typography.default.filterProps
|
|
29
29
|
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
30
32
|
const styleFunctionMapping = exports.styleFunctionMapping = {
|
|
31
33
|
borders: _borders.default,
|
|
32
34
|
display: _display.default,
|
|
@@ -39,10 +41,12 @@ const styleFunctionMapping = exports.styleFunctionMapping = {
|
|
|
39
41
|
spacing: _spacing.default,
|
|
40
42
|
typography: _typography.default
|
|
41
43
|
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
42
46
|
const propToStyleFunction = exports.propToStyleFunction = Object.keys(filterPropsMapping).reduce((acc, styleFnName) => {
|
|
43
|
-
filterPropsMapping[styleFnName]
|
|
47
|
+
for (const propName of filterPropsMapping[styleFnName]) {
|
|
44
48
|
acc[propName] = styleFunctionMapping[styleFnName];
|
|
45
|
-
}
|
|
49
|
+
}
|
|
46
50
|
return acc;
|
|
47
51
|
}, {});
|
|
48
52
|
function getThemeValue(prop, value, theme) {
|
|
@@ -20,6 +20,8 @@ const filterPropsMapping = {
|
|
|
20
20
|
spacing: spacing.filterProps,
|
|
21
21
|
typography: typography.filterProps
|
|
22
22
|
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
23
25
|
export const styleFunctionMapping = {
|
|
24
26
|
borders,
|
|
25
27
|
display,
|
|
@@ -27,15 +29,17 @@ export const styleFunctionMapping = {
|
|
|
27
29
|
grid,
|
|
28
30
|
positions,
|
|
29
31
|
palette,
|
|
30
|
-
shadows,
|
|
32
|
+
shadows: shadows,
|
|
31
33
|
sizing,
|
|
32
34
|
spacing,
|
|
33
35
|
typography
|
|
34
36
|
};
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
35
39
|
export const propToStyleFunction = Object.keys(filterPropsMapping).reduce((acc, styleFnName) => {
|
|
36
|
-
filterPropsMapping[styleFnName]
|
|
40
|
+
for (const propName of filterPropsMapping[styleFnName]) {
|
|
37
41
|
acc[propName] = styleFunctionMapping[styleFnName];
|
|
38
|
-
}
|
|
42
|
+
}
|
|
39
43
|
return acc;
|
|
40
44
|
}, {});
|
|
41
45
|
function getThemeValue(prop, value, theme) {
|
|
@@ -8,5 +8,5 @@ type ThemeStyleFunction<T> = (props: {
|
|
|
8
8
|
*/
|
|
9
9
|
export default function unstable_memoTheme<T>(styleFn: ThemeStyleFunction<T>): (props: {
|
|
10
10
|
theme: T;
|
|
11
|
-
}) => string | number | boolean | import("@mui/styled-engine").
|
|
11
|
+
}) => string | number | boolean | import("@mui/styled-engine").ArrayCSSInterpolation | import("@mui/styled-engine").CSSObject | import("@mui/styled-engine").ComponentSelector | import("@mui/styled-engine").SerializedStyles | import("@mui/styled-engine").Keyframes | null;
|
|
12
12
|
export {};
|
|
@@ -8,5 +8,5 @@ type ThemeStyleFunction<T> = (props: {
|
|
|
8
8
|
*/
|
|
9
9
|
export default function unstable_memoTheme<T>(styleFn: ThemeStyleFunction<T>): (props: {
|
|
10
10
|
theme: T;
|
|
11
|
-
}) => string | number | boolean | import("@mui/styled-engine").
|
|
11
|
+
}) => string | number | boolean | import("@mui/styled-engine").ArrayCSSInterpolation | import("@mui/styled-engine").CSSObject | import("@mui/styled-engine").ComponentSelector | import("@mui/styled-engine").SerializedStyles | import("@mui/styled-engine").Keyframes | null;
|
|
12
12
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function memoize<ArgType = any, ReturnType = any>(fn: (arg: ArgType) => ReturnType): (arg: ArgType) => ReturnType;
|
|
1
|
+
export default function memoize<ArgType extends keyof any = any, ReturnType = any>(fn: (arg: ArgType) => ReturnType): (arg: ArgType) => ReturnType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function memoize<ArgType = any, ReturnType = any>(fn: (arg: ArgType) => ReturnType): (arg: ArgType) => ReturnType;
|
|
1
|
+
export default function memoize<ArgType extends keyof any = any, ReturnType = any>(fn: (arg: ArgType) => ReturnType): (arg: ArgType) => ReturnType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/system",
|
|
3
|
-
"version": "9.0
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "MUI System is a set of CSS utilities to help you build custom designs more efficiently. It makes it possible to rapidly lay out custom designs.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,14 +24,14 @@
|
|
|
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
|
"clsx": "^2.1.1",
|
|
29
29
|
"csstype": "^3.2.3",
|
|
30
30
|
"prop-types": "^15.8.1",
|
|
31
|
-
"@mui/private-theming": "^9.0
|
|
32
|
-
"@mui/styled-engine": "^9.
|
|
33
|
-
"@mui/types": "^9.
|
|
34
|
-
"@mui/utils": "^9.0
|
|
31
|
+
"@mui/private-theming": "^9.3.0",
|
|
32
|
+
"@mui/styled-engine": "^9.3.0",
|
|
33
|
+
"@mui/types": "^9.3.0",
|
|
34
|
+
"@mui/utils": "^9.3.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@emotion/react": "^11.5.0",
|
|
@@ -74,48 +74,6 @@
|
|
|
74
74
|
"default": "./index.mjs"
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
-
"./Box": {
|
|
78
|
-
"import": {
|
|
79
|
-
"types": "./Box/index.d.mts",
|
|
80
|
-
"default": "./Box/index.mjs"
|
|
81
|
-
},
|
|
82
|
-
"require": {
|
|
83
|
-
"types": "./Box/index.d.ts",
|
|
84
|
-
"default": "./Box/index.js"
|
|
85
|
-
},
|
|
86
|
-
"default": {
|
|
87
|
-
"types": "./Box/index.d.mts",
|
|
88
|
-
"default": "./Box/index.mjs"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
"./Container": {
|
|
92
|
-
"import": {
|
|
93
|
-
"types": "./Container/index.d.mts",
|
|
94
|
-
"default": "./Container/index.mjs"
|
|
95
|
-
},
|
|
96
|
-
"require": {
|
|
97
|
-
"types": "./Container/index.d.ts",
|
|
98
|
-
"default": "./Container/index.js"
|
|
99
|
-
},
|
|
100
|
-
"default": {
|
|
101
|
-
"types": "./Container/index.d.mts",
|
|
102
|
-
"default": "./Container/index.mjs"
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
"./createBreakpoints": {
|
|
106
|
-
"import": {
|
|
107
|
-
"types": "./createBreakpoints/index.d.mts",
|
|
108
|
-
"default": "./createBreakpoints/index.mjs"
|
|
109
|
-
},
|
|
110
|
-
"require": {
|
|
111
|
-
"types": "./createBreakpoints/index.d.ts",
|
|
112
|
-
"default": "./createBreakpoints/index.js"
|
|
113
|
-
},
|
|
114
|
-
"default": {
|
|
115
|
-
"types": "./createBreakpoints/index.d.mts",
|
|
116
|
-
"default": "./createBreakpoints/index.mjs"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
77
|
"./createTheme": {
|
|
120
78
|
"import": {
|
|
121
79
|
"types": "./createTheme/index.d.mts",
|
|
@@ -158,32 +116,32 @@
|
|
|
158
116
|
"default": "./styleFunctionSx/index.mjs"
|
|
159
117
|
}
|
|
160
118
|
},
|
|
161
|
-
"./
|
|
119
|
+
"./Box": {
|
|
162
120
|
"import": {
|
|
163
|
-
"types": "./
|
|
164
|
-
"default": "./
|
|
121
|
+
"types": "./Box/index.d.mts",
|
|
122
|
+
"default": "./Box/index.mjs"
|
|
165
123
|
},
|
|
166
124
|
"require": {
|
|
167
|
-
"types": "./
|
|
168
|
-
"default": "./
|
|
125
|
+
"types": "./Box/index.d.ts",
|
|
126
|
+
"default": "./Box/index.js"
|
|
169
127
|
},
|
|
170
128
|
"default": {
|
|
171
|
-
"types": "./
|
|
172
|
-
"default": "./
|
|
129
|
+
"types": "./Box/index.d.mts",
|
|
130
|
+
"default": "./Box/index.mjs"
|
|
173
131
|
}
|
|
174
132
|
},
|
|
175
|
-
"./
|
|
133
|
+
"./Container": {
|
|
176
134
|
"import": {
|
|
177
|
-
"types": "./
|
|
178
|
-
"default": "./
|
|
135
|
+
"types": "./Container/index.d.mts",
|
|
136
|
+
"default": "./Container/index.mjs"
|
|
179
137
|
},
|
|
180
138
|
"require": {
|
|
181
|
-
"types": "./
|
|
182
|
-
"default": "./
|
|
139
|
+
"types": "./Container/index.d.ts",
|
|
140
|
+
"default": "./Container/index.js"
|
|
183
141
|
},
|
|
184
142
|
"default": {
|
|
185
|
-
"types": "./
|
|
186
|
-
"default": "./
|
|
143
|
+
"types": "./Container/index.d.mts",
|
|
144
|
+
"default": "./Container/index.mjs"
|
|
187
145
|
}
|
|
188
146
|
},
|
|
189
147
|
"./DefaultPropsProvider": {
|
|
@@ -256,6 +214,20 @@
|
|
|
256
214
|
"default": "./Stack/index.mjs"
|
|
257
215
|
}
|
|
258
216
|
},
|
|
217
|
+
"./ThemeProvider": {
|
|
218
|
+
"import": {
|
|
219
|
+
"types": "./ThemeProvider/index.d.mts",
|
|
220
|
+
"default": "./ThemeProvider/index.mjs"
|
|
221
|
+
},
|
|
222
|
+
"require": {
|
|
223
|
+
"types": "./ThemeProvider/index.d.ts",
|
|
224
|
+
"default": "./ThemeProvider/index.js"
|
|
225
|
+
},
|
|
226
|
+
"default": {
|
|
227
|
+
"types": "./ThemeProvider/index.d.mts",
|
|
228
|
+
"default": "./ThemeProvider/index.mjs"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
259
231
|
"./borders": {
|
|
260
232
|
"import": {
|
|
261
233
|
"types": "./borders/index.d.mts",
|
|
@@ -326,6 +298,20 @@
|
|
|
326
298
|
"default": "./createBox/index.mjs"
|
|
327
299
|
}
|
|
328
300
|
},
|
|
301
|
+
"./createBreakpoints": {
|
|
302
|
+
"import": {
|
|
303
|
+
"types": "./createBreakpoints/index.d.mts",
|
|
304
|
+
"default": "./createBreakpoints/index.mjs"
|
|
305
|
+
},
|
|
306
|
+
"require": {
|
|
307
|
+
"types": "./createBreakpoints/index.d.ts",
|
|
308
|
+
"default": "./createBreakpoints/index.js"
|
|
309
|
+
},
|
|
310
|
+
"default": {
|
|
311
|
+
"types": "./createBreakpoints/index.d.mts",
|
|
312
|
+
"default": "./createBreakpoints/index.mjs"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
329
315
|
"./createStyled": {
|
|
330
316
|
"import": {
|
|
331
317
|
"types": "./createStyled/index.d.mts",
|
|
@@ -620,6 +606,20 @@
|
|
|
620
606
|
"default": "./useTheme/index.mjs"
|
|
621
607
|
}
|
|
622
608
|
},
|
|
609
|
+
"./useThemeProps": {
|
|
610
|
+
"import": {
|
|
611
|
+
"types": "./useThemeProps/index.d.mts",
|
|
612
|
+
"default": "./useThemeProps/index.mjs"
|
|
613
|
+
},
|
|
614
|
+
"require": {
|
|
615
|
+
"types": "./useThemeProps/index.d.ts",
|
|
616
|
+
"default": "./useThemeProps/index.js"
|
|
617
|
+
},
|
|
618
|
+
"default": {
|
|
619
|
+
"types": "./useThemeProps/index.d.mts",
|
|
620
|
+
"default": "./useThemeProps/index.mjs"
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
623
|
"./useThemeWithoutDefault": {
|
|
624
624
|
"import": {
|
|
625
625
|
"types": "./useThemeWithoutDefault/index.d.mts",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction } from "../style/index.mjs";
|
|
2
|
-
export const color: SimpleStyleFunction<'color'>;
|
|
3
|
-
export const bgcolor: SimpleStyleFunction<'bgcolor'>;
|
|
1
|
+
import type { PropsFor, SimpleStyleFunction } from "../style/index.mjs";
|
|
2
|
+
export declare const color: SimpleStyleFunction<'color'>;
|
|
3
|
+
export declare const bgcolor: SimpleStyleFunction<'bgcolor'>;
|
|
4
|
+
export declare const backgroundColor: SimpleStyleFunction<'backgroundColor'>;
|
|
4
5
|
declare const palette: SimpleStyleFunction<'bgcolor' | 'color'>;
|
|
5
6
|
export type PaletteProps = PropsFor<typeof palette>;
|
|
6
7
|
export default palette;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
-
export const color: SimpleStyleFunction<'color'>;
|
|
3
|
-
export const bgcolor: SimpleStyleFunction<'bgcolor'>;
|
|
1
|
+
import type { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
+
export declare const color: SimpleStyleFunction<'color'>;
|
|
3
|
+
export declare const bgcolor: SimpleStyleFunction<'bgcolor'>;
|
|
4
|
+
export declare const backgroundColor: SimpleStyleFunction<'backgroundColor'>;
|
|
4
5
|
declare const palette: SimpleStyleFunction<'bgcolor' | 'color'>;
|
|
5
6
|
export type PaletteProps = PropsFor<typeof palette>;
|
|
6
7
|
export default palette;
|
|
@@ -8,6 +8,7 @@ exports.default = exports.color = exports.bgcolor = exports.backgroundColor = vo
|
|
|
8
8
|
exports.paletteTransform = paletteTransform;
|
|
9
9
|
var _style = _interopRequireDefault(require("../style"));
|
|
10
10
|
var _compose = _interopRequireDefault(require("../compose"));
|
|
11
|
+
/** @internal */
|
|
11
12
|
function paletteTransform(value, userValue) {
|
|
12
13
|
if (userValue === 'grey') {
|
|
13
14
|
return userValue;
|
|
@@ -1,4 +1,52 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction } from "../style/index.mjs";
|
|
1
|
+
import type { PropsFor, SimpleStyleFunction } from "../style/index.mjs";
|
|
2
|
+
export declare const position: import("../index.mjs").StyleFunction<{
|
|
3
|
+
position?: unknown;
|
|
4
|
+
} & {
|
|
5
|
+
theme?: object | undefined;
|
|
6
|
+
}> & {
|
|
7
|
+
filterProps: string[];
|
|
8
|
+
propTypes: any;
|
|
9
|
+
};
|
|
10
|
+
export declare const zIndex: import("../index.mjs").StyleFunction<{
|
|
11
|
+
zIndex?: unknown;
|
|
12
|
+
} & {
|
|
13
|
+
theme?: object | undefined;
|
|
14
|
+
}> & {
|
|
15
|
+
filterProps: string[];
|
|
16
|
+
propTypes: any;
|
|
17
|
+
};
|
|
18
|
+
export declare const top: import("../index.mjs").StyleFunction<{
|
|
19
|
+
top?: unknown;
|
|
20
|
+
} & {
|
|
21
|
+
theme?: object | undefined;
|
|
22
|
+
}> & {
|
|
23
|
+
filterProps: string[];
|
|
24
|
+
propTypes: any;
|
|
25
|
+
};
|
|
26
|
+
export declare const right: import("../index.mjs").StyleFunction<{
|
|
27
|
+
right?: unknown;
|
|
28
|
+
} & {
|
|
29
|
+
theme?: object | undefined;
|
|
30
|
+
}> & {
|
|
31
|
+
filterProps: string[];
|
|
32
|
+
propTypes: any;
|
|
33
|
+
};
|
|
34
|
+
export declare const bottom: import("../index.mjs").StyleFunction<{
|
|
35
|
+
bottom?: unknown;
|
|
36
|
+
} & {
|
|
37
|
+
theme?: object | undefined;
|
|
38
|
+
}> & {
|
|
39
|
+
filterProps: string[];
|
|
40
|
+
propTypes: any;
|
|
41
|
+
};
|
|
42
|
+
export declare const left: import("../index.mjs").StyleFunction<{
|
|
43
|
+
left?: unknown;
|
|
44
|
+
} & {
|
|
45
|
+
theme?: object | undefined;
|
|
46
|
+
}> & {
|
|
47
|
+
filterProps: string[];
|
|
48
|
+
propTypes: any;
|
|
49
|
+
};
|
|
2
50
|
declare const positions: SimpleStyleFunction<'zIndex' | 'position' | 'top' | 'right' | 'bottom' | 'left'>;
|
|
3
51
|
export type PositionsProps = PropsFor<typeof positions>;
|
|
4
52
|
export default positions;
|
|
@@ -1,4 +1,52 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
1
|
+
import type { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
+
export declare const position: import("../index.js").StyleFunction<{
|
|
3
|
+
position?: unknown;
|
|
4
|
+
} & {
|
|
5
|
+
theme?: object | undefined;
|
|
6
|
+
}> & {
|
|
7
|
+
filterProps: string[];
|
|
8
|
+
propTypes: any;
|
|
9
|
+
};
|
|
10
|
+
export declare const zIndex: import("../index.js").StyleFunction<{
|
|
11
|
+
zIndex?: unknown;
|
|
12
|
+
} & {
|
|
13
|
+
theme?: object | undefined;
|
|
14
|
+
}> & {
|
|
15
|
+
filterProps: string[];
|
|
16
|
+
propTypes: any;
|
|
17
|
+
};
|
|
18
|
+
export declare const top: import("../index.js").StyleFunction<{
|
|
19
|
+
top?: unknown;
|
|
20
|
+
} & {
|
|
21
|
+
theme?: object | undefined;
|
|
22
|
+
}> & {
|
|
23
|
+
filterProps: string[];
|
|
24
|
+
propTypes: any;
|
|
25
|
+
};
|
|
26
|
+
export declare const right: import("../index.js").StyleFunction<{
|
|
27
|
+
right?: unknown;
|
|
28
|
+
} & {
|
|
29
|
+
theme?: object | undefined;
|
|
30
|
+
}> & {
|
|
31
|
+
filterProps: string[];
|
|
32
|
+
propTypes: any;
|
|
33
|
+
};
|
|
34
|
+
export declare const bottom: import("../index.js").StyleFunction<{
|
|
35
|
+
bottom?: unknown;
|
|
36
|
+
} & {
|
|
37
|
+
theme?: object | undefined;
|
|
38
|
+
}> & {
|
|
39
|
+
filterProps: string[];
|
|
40
|
+
propTypes: any;
|
|
41
|
+
};
|
|
42
|
+
export declare const left: import("../index.js").StyleFunction<{
|
|
43
|
+
left?: unknown;
|
|
44
|
+
} & {
|
|
45
|
+
theme?: object | undefined;
|
|
46
|
+
}> & {
|
|
47
|
+
filterProps: string[];
|
|
48
|
+
propTypes: any;
|
|
49
|
+
};
|
|
2
50
|
declare const positions: SimpleStyleFunction<'zIndex' | 'position' | 'top' | 'right' | 'bottom' | 'left'>;
|
|
3
51
|
export type PositionsProps = PropsFor<typeof positions>;
|
|
4
52
|
export default positions;
|
|
@@ -26,4 +26,5 @@ const bottom = exports.bottom = (0, _style.default)({
|
|
|
26
26
|
const left = exports.left = (0, _style.default)({
|
|
27
27
|
prop: 'left'
|
|
28
28
|
});
|
|
29
|
-
|
|
29
|
+
const positions = (0, _compose.default)(position, zIndex, top, right, bottom, left);
|
|
30
|
+
var _default = exports.default = positions;
|
|
@@ -1 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates string classKey based on the properties provided. It starts with the
|
|
3
|
+
* variant if defined, and then it appends all other properties in alphabetical order.
|
|
4
|
+
* @param props - the properties for which the classKey should be created.
|
|
5
|
+
*/
|
|
1
6
|
export default function propsToClassKey(props: object): string;
|
|
@@ -1 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generates string classKey based on the properties provided. It starts with the
|
|
3
|
+
* variant if defined, and then it appends all other properties in alphabetical order.
|
|
4
|
+
* @param props - the properties for which the classKey should be created.
|
|
5
|
+
*/
|
|
1
6
|
export default function propsToClassKey(props: object): string;
|
|
@@ -13,7 +13,7 @@ function isEmpty(string) {
|
|
|
13
13
|
/**
|
|
14
14
|
* Generates string classKey based on the properties provided. It starts with the
|
|
15
15
|
* variant if defined, and then it appends all other properties in alphabetical order.
|
|
16
|
-
* @param
|
|
16
|
+
* @param props - the properties for which the classKey should be created.
|
|
17
17
|
*/
|
|
18
18
|
function propsToClassKey(props) {
|
|
19
19
|
const {
|
|
@@ -6,7 +6,7 @@ function isEmpty(string) {
|
|
|
6
6
|
/**
|
|
7
7
|
* Generates string classKey based on the properties provided. It starts with the
|
|
8
8
|
* variant if defined, and then it appends all other properties in alphabetical order.
|
|
9
|
-
* @param
|
|
9
|
+
* @param props - the properties for which the classKey should be created.
|
|
10
10
|
*/
|
|
11
11
|
export default function propsToClassKey(props) {
|
|
12
12
|
const {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction } from "../style/index.mjs";
|
|
2
|
-
declare const
|
|
3
|
-
export type ShadowsProps = PropsFor<typeof
|
|
4
|
-
export default
|
|
1
|
+
import type { PropsFor, SimpleStyleFunction } from "../style/index.mjs";
|
|
2
|
+
declare const boxShadow: SimpleStyleFunction<'boxShadow'>;
|
|
3
|
+
export type ShadowsProps = PropsFor<typeof boxShadow>;
|
|
4
|
+
export default boxShadow;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
-
declare const
|
|
3
|
-
export type ShadowsProps = PropsFor<typeof
|
|
4
|
-
export default
|
|
1
|
+
import type { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
+
declare const boxShadow: SimpleStyleFunction<'boxShadow'>;
|
|
3
|
+
export type ShadowsProps = PropsFor<typeof boxShadow>;
|
|
4
|
+
export default boxShadow;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction } from "../style/index.mjs";
|
|
2
|
-
export const width: SimpleStyleFunction<'width'>;
|
|
3
|
-
export const maxWidth: SimpleStyleFunction<'maxWidth'>;
|
|
4
|
-
export const minWidth: SimpleStyleFunction<'minWidth'>;
|
|
5
|
-
export const height: SimpleStyleFunction<'height'>;
|
|
6
|
-
export const maxHeight: SimpleStyleFunction<'maxHeight'>;
|
|
7
|
-
export const minHeight: SimpleStyleFunction<'minHeight'>;
|
|
8
|
-
export const sizeWidth: SimpleStyleFunction<'sizeWidth'>;
|
|
9
|
-
export const sizeHeight: SimpleStyleFunction<'sizeHeight'>;
|
|
10
|
-
export const boxSizing: SimpleStyleFunction<'boxSizing'>;
|
|
1
|
+
import type { PropsFor, SimpleStyleFunction } from "../style/index.mjs";
|
|
2
|
+
export declare const width: SimpleStyleFunction<'width'>;
|
|
3
|
+
export declare const maxWidth: SimpleStyleFunction<'maxWidth'>;
|
|
4
|
+
export declare const minWidth: SimpleStyleFunction<'minWidth'>;
|
|
5
|
+
export declare const height: SimpleStyleFunction<'height'>;
|
|
6
|
+
export declare const maxHeight: SimpleStyleFunction<'maxHeight'>;
|
|
7
|
+
export declare const minHeight: SimpleStyleFunction<'minHeight'>;
|
|
8
|
+
export declare const sizeWidth: SimpleStyleFunction<'sizeWidth'>;
|
|
9
|
+
export declare const sizeHeight: SimpleStyleFunction<'sizeHeight'>;
|
|
10
|
+
export declare const boxSizing: SimpleStyleFunction<'boxSizing'>;
|
|
11
11
|
declare const sizing: SimpleStyleFunction<'width' | 'maxWidth' | 'minWidth' | 'height' | 'maxHeight' | 'minHeight' | 'sizeWidth' | 'sizeHeight' | 'boxSizing'>;
|
|
12
12
|
export type SizingProps = PropsFor<typeof sizing>;
|
|
13
13
|
export default sizing;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
-
export const width: SimpleStyleFunction<'width'>;
|
|
3
|
-
export const maxWidth: SimpleStyleFunction<'maxWidth'>;
|
|
4
|
-
export const minWidth: SimpleStyleFunction<'minWidth'>;
|
|
5
|
-
export const height: SimpleStyleFunction<'height'>;
|
|
6
|
-
export const maxHeight: SimpleStyleFunction<'maxHeight'>;
|
|
7
|
-
export const minHeight: SimpleStyleFunction<'minHeight'>;
|
|
8
|
-
export const sizeWidth: SimpleStyleFunction<'sizeWidth'>;
|
|
9
|
-
export const sizeHeight: SimpleStyleFunction<'sizeHeight'>;
|
|
10
|
-
export const boxSizing: SimpleStyleFunction<'boxSizing'>;
|
|
1
|
+
import type { PropsFor, SimpleStyleFunction } from "../style/index.js";
|
|
2
|
+
export declare const width: SimpleStyleFunction<'width'>;
|
|
3
|
+
export declare const maxWidth: SimpleStyleFunction<'maxWidth'>;
|
|
4
|
+
export declare const minWidth: SimpleStyleFunction<'minWidth'>;
|
|
5
|
+
export declare const height: SimpleStyleFunction<'height'>;
|
|
6
|
+
export declare const maxHeight: SimpleStyleFunction<'maxHeight'>;
|
|
7
|
+
export declare const minHeight: SimpleStyleFunction<'minHeight'>;
|
|
8
|
+
export declare const sizeWidth: SimpleStyleFunction<'sizeWidth'>;
|
|
9
|
+
export declare const sizeHeight: SimpleStyleFunction<'sizeHeight'>;
|
|
10
|
+
export declare const boxSizing: SimpleStyleFunction<'boxSizing'>;
|
|
11
11
|
declare const sizing: SimpleStyleFunction<'width' | 'maxWidth' | 'minWidth' | 'height' | 'maxHeight' | 'minHeight' | 'sizeWidth' | 'sizeHeight' | 'boxSizing'>;
|
|
12
12
|
export type SizingProps = PropsFor<typeof sizing>;
|
|
13
13
|
export default sizing;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
3
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
@@ -9,7 +10,11 @@ exports.sizingTransform = sizingTransform;
|
|
|
9
10
|
exports.width = void 0;
|
|
10
11
|
var _style = _interopRequireDefault(require("../style"));
|
|
11
12
|
var _compose = _interopRequireDefault(require("../compose"));
|
|
12
|
-
var _breakpoints = require("../breakpoints");
|
|
13
|
+
var _breakpoints = _interopRequireWildcard(require("../breakpoints"));
|
|
14
|
+
var breakpointsModule = _breakpoints;
|
|
15
|
+
const breakpointsValues = breakpointsModule.values;
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
13
18
|
function sizingTransform(value) {
|
|
14
19
|
return value <= 1 && value !== 0 ? `${value * 100}%` : value;
|
|
15
20
|
}
|
|
@@ -20,7 +25,7 @@ const width = exports.width = (0, _style.default)({
|
|
|
20
25
|
const maxWidth = props => {
|
|
21
26
|
if (props.maxWidth !== undefined && props.maxWidth !== null) {
|
|
22
27
|
const styleFromPropValue = propValue => {
|
|
23
|
-
const breakpoint = props.theme?.breakpoints?.values?.[propValue] ||
|
|
28
|
+
const breakpoint = props.theme?.breakpoints?.values?.[propValue] || breakpointsValues[propValue];
|
|
24
29
|
if (!breakpoint) {
|
|
25
30
|
return {
|
|
26
31
|
maxWidth: sizingTransform(propValue)
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import style from "../style/index.mjs";
|
|
2
2
|
import compose from "../compose/index.mjs";
|
|
3
|
-
import { handleBreakpoints
|
|
3
|
+
import { handleBreakpoints } from "../breakpoints/index.mjs";
|
|
4
|
+
import * as breakpointsModule from "../breakpoints/index.mjs";
|
|
5
|
+
const breakpointsValues = breakpointsModule.values;
|
|
6
|
+
|
|
7
|
+
/** @internal */
|
|
4
8
|
export function sizingTransform(value) {
|
|
5
9
|
return value <= 1 && value !== 0 ? `${value * 100}%` : value;
|
|
6
10
|
}
|