@mui/material 6.0.0-alpha.10 → 6.0.0-alpha.11
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/Accordion/Accordion.d.ts +3 -3
- package/AccordionActions/AccordionActions.d.ts +2 -2
- package/AccordionDetails/AccordionDetails.d.ts +2 -2
- package/AccordionSummary/AccordionSummary.d.ts +3 -3
- package/Alert/Alert.d.ts +3 -3
- package/AlertTitle/AlertTitle.d.ts +3 -3
- package/AppBar/AppBar.d.ts +3 -3
- package/Autocomplete/Autocomplete.d.ts +2 -2
- package/Autocomplete/Autocomplete.js +9 -17
- package/Avatar/Avatar.d.ts +2 -2
- package/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/Backdrop/Backdrop.d.ts +3 -3
- package/Badge/Badge.d.ts +3 -3
- package/BottomNavigation/BottomNavigation.d.ts +2 -2
- package/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
- package/Box/Box.d.ts +2 -2
- package/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/Button/Button.d.ts +4 -4
- package/ButtonBase/ButtonBase.d.ts +2 -2
- package/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/CHANGELOG.md +76 -0
- package/Card/Card.d.ts +3 -3
- package/CardActionArea/CardActionArea.d.ts +3 -3
- package/CardActions/CardActions.d.ts +2 -2
- package/CardContent/CardContent.d.ts +2 -2
- package/CardHeader/CardHeader.d.ts +2 -2
- package/CardMedia/CardMedia.d.ts +2 -2
- package/Checkbox/Checkbox.d.ts +4 -4
- package/Chip/Chip.d.ts +5 -5
- package/Chip/Chip.js +0 -2
- package/CircularProgress/CircularProgress.d.ts +2 -2
- package/Collapse/Collapse.d.ts +5 -5
- package/Collapse/Collapse.js +1 -2
- package/Container/Container.d.ts +2 -2
- package/CssBaseline/CssBaseline.d.ts +2 -2
- package/Dialog/Dialog.d.ts +3 -3
- package/Dialog/Dialog.js +1 -2
- package/DialogActions/DialogActions.d.ts +2 -2
- package/DialogContent/DialogContent.d.ts +2 -2
- package/DialogContentText/DialogContentText.d.ts +3 -3
- package/DialogTitle/DialogTitle.d.ts +3 -3
- package/Divider/Divider.d.ts +3 -3
- package/Drawer/Drawer.d.ts +3 -3
- package/Drawer/Drawer.js +1 -2
- package/Fab/Fab.d.ts +3 -3
- package/Fade/Fade.d.ts +3 -3
- package/Fade/Fade.js +1 -1
- package/FilledInput/FilledInput.d.ts +3 -3
- package/FormControl/FormControl.d.ts +6 -6
- package/FormControlLabel/FormControlLabel.d.ts +4 -4
- package/FormGroup/FormGroup.d.ts +3 -3
- package/FormHelperText/FormHelperText.d.ts +2 -2
- package/FormLabel/FormLabel.d.ts +4 -4
- package/GlobalStyles/GlobalStyles.d.ts +3 -3
- package/Grid/Grid.d.ts +2 -2
- package/Grid/Grid.js +7 -13
- package/Grow/Grow.d.ts +5 -5
- package/Grow/Grow.js +1 -1
- package/Hidden/Hidden.d.ts +2 -2
- package/Icon/Icon.d.ts +3 -3
- package/IconButton/IconButton.d.ts +4 -4
- package/ImageList/ImageList.d.ts +2 -2
- package/ImageListItem/ImageListItem.d.ts +2 -2
- package/ImageListItemBar/ImageListItemBar.d.ts +2 -2
- package/Input/Input.d.ts +3 -3
- package/InputAdornment/InputAdornment.d.ts +2 -2
- package/InputBase/InputBase.d.ts +2 -2
- package/InputBase/InputBase.js +26 -20
- package/InputLabel/InputLabel.d.ts +3 -3
- package/LinearProgress/LinearProgress.d.ts +2 -2
- package/Link/Link.d.ts +4 -4
- package/Link/Link.js +1 -2
- package/List/List.d.ts +3 -3
- package/ListItem/ListItem.d.ts +3 -3
- package/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/ListItemButton/ListItemButton.d.ts +3 -3
- package/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/ListItemText/ListItemText.d.ts +2 -2
- package/ListSubheader/ListSubheader.d.ts +2 -2
- package/Menu/Menu.d.ts +4 -4
- package/MenuItem/MenuItem.d.ts +3 -3
- package/MenuList/MenuList.d.ts +4 -4
- package/MobileStepper/MobileStepper.d.ts +3 -3
- package/Modal/Modal.d.ts +8 -8
- package/NativeSelect/NativeSelect.d.ts +3 -3
- package/OutlinedInput/OutlinedInput.d.ts +3 -3
- package/Pagination/Pagination.d.ts +2 -2
- package/PaginationItem/PaginationItem.d.ts +2 -2
- package/Paper/Paper.d.ts +3 -3
- package/Paper/Paper.js +1 -2
- package/Popover/Popover.d.ts +4 -4
- package/Popper/Popper.d.ts +4 -4
- package/Popper/Popper.js +4 -4
- package/Radio/Radio.d.ts +3 -3
- package/RadioGroup/RadioGroup.d.ts +3 -3
- package/Rating/Rating.d.ts +2 -2
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
- package/Select/Select.d.ts +3 -3
- package/Skeleton/Skeleton.d.ts +2 -2
- package/Slide/Slide.d.ts +4 -4
- package/Slide/Slide.js +1 -1
- package/Slider/Slider.d.ts +3 -3
- package/Snackbar/Snackbar.d.ts +2 -2
- package/Snackbar/Snackbar.js +1 -2
- package/SnackbarContent/SnackbarContent.d.ts +3 -3
- package/SpeedDial/SpeedDial.d.ts +2 -2
- package/SpeedDial/SpeedDial.js +1 -2
- package/SpeedDialAction/SpeedDialAction.d.ts +3 -3
- package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
- package/Stack/Stack.d.ts +2 -2
- package/Step/Step.d.ts +2 -2
- package/StepButton/StepButton.d.ts +3 -3
- package/StepConnector/StepConnector.d.ts +3 -3
- package/StepContent/StepContent.d.ts +2 -2
- package/StepIcon/StepIcon.d.ts +2 -2
- package/StepLabel/StepLabel.d.ts +2 -2
- package/Stepper/Stepper.d.ts +2 -2
- package/SvgIcon/SvgIcon.d.ts +3 -3
- package/SwipeableDrawer/SwipeableDrawer.d.ts +3 -3
- package/SwipeableDrawer/SwipeableDrawer.js +3 -3
- package/Switch/Switch.d.ts +4 -4
- package/Tab/Tab.d.ts +4 -4
- package/Tab/Tab.js +3 -1
- package/Tab/tabClasses.d.ts +1 -1
- package/TabScrollButton/TabScrollButton.d.ts +2 -2
- package/Table/Table.d.ts +2 -2
- package/TableBody/TableBody.d.ts +2 -2
- package/TableCell/TableCell.d.ts +2 -2
- package/TableContainer/TableContainer.d.ts +2 -2
- package/TableFooter/TableFooter.d.ts +2 -2
- package/TableHead/TableHead.d.ts +2 -2
- package/TablePagination/TablePagination.d.ts +4 -4
- package/TableRow/TableRow.d.ts +2 -2
- package/TableSortLabel/TableSortLabel.d.ts +3 -3
- package/Tabs/Tabs.d.ts +2 -2
- package/Tabs/Tabs.js +1 -2
- package/TextField/TextField.d.ts +10 -10
- package/ToggleButton/ToggleButton.d.ts +3 -3
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/Toolbar/Toolbar.d.ts +2 -2
- package/Tooltip/Tooltip.d.ts +2 -2
- package/Tooltip/Tooltip.js +1 -2
- package/Typography/Typography.d.ts +3 -3
- package/Typography/Typography.js +2 -2
- package/Zoom/Zoom.d.ts +3 -3
- package/Zoom/Zoom.js +1 -1
- package/index.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +9 -17
- package/modern/Chip/Chip.js +0 -2
- package/modern/Collapse/Collapse.js +1 -2
- package/modern/Dialog/Dialog.js +1 -2
- package/modern/Drawer/Drawer.js +1 -2
- package/modern/Fade/Fade.js +1 -1
- package/modern/Grid/Grid.js +7 -13
- package/modern/Grow/Grow.js +1 -1
- package/modern/InputBase/InputBase.js +26 -20
- package/modern/Link/Link.js +1 -2
- package/modern/Paper/Paper.js +1 -2
- package/modern/Popper/Popper.js +4 -4
- package/modern/Slide/Slide.js +1 -1
- package/modern/Snackbar/Snackbar.js +1 -2
- package/modern/SpeedDial/SpeedDial.js +1 -2
- package/modern/SwipeableDrawer/SwipeableDrawer.js +3 -3
- package/modern/Tab/Tab.js +3 -1
- package/modern/Tabs/Tabs.js +1 -2
- package/modern/Tooltip/Tooltip.js +1 -2
- package/modern/Typography/Typography.js +2 -2
- package/modern/Zoom/Zoom.js +1 -1
- package/modern/index.js +1 -1
- package/modern/styles/createTheme.js +1 -1
- package/modern/styles/index.js +2 -1
- package/modern/styles/stringifyTheme.js +55 -0
- package/modern/zero-styled/index.js +20 -1
- package/node/Autocomplete/Autocomplete.js +9 -17
- package/node/Chip/Chip.js +0 -2
- package/node/Collapse/Collapse.js +1 -2
- package/node/Dialog/Dialog.js +1 -2
- package/node/Drawer/Drawer.js +1 -2
- package/node/Fade/Fade.js +2 -2
- package/node/Grid/Grid.js +7 -13
- package/node/Grow/Grow.js +2 -2
- package/node/InputBase/InputBase.js +25 -19
- package/node/Link/Link.js +1 -2
- package/node/Paper/Paper.js +1 -2
- package/node/Popper/Popper.js +4 -4
- package/node/Slide/Slide.js +2 -2
- package/node/Snackbar/Snackbar.js +1 -2
- package/node/SpeedDial/SpeedDial.js +1 -2
- package/node/SwipeableDrawer/SwipeableDrawer.js +5 -4
- package/node/Tab/Tab.js +3 -1
- package/node/Tabs/Tabs.js +1 -2
- package/node/Tooltip/Tooltip.js +1 -2
- package/node/Typography/Typography.js +2 -2
- package/node/Zoom/Zoom.js +2 -2
- package/node/index.js +1 -1
- package/node/styles/createTheme.js +1 -1
- package/node/styles/index.js +20 -1
- package/node/styles/stringifyTheme.js +62 -0
- package/node/zero-styled/index.js +29 -0
- package/package.json +6 -6
- package/styles/createTheme.js +1 -1
- package/styles/index.d.ts +3 -0
- package/styles/index.js +2 -1
- package/styles/stringifyTheme.d.ts +20 -0
- package/styles/stringifyTheme.js +55 -0
- package/zero-styled/index.d.ts +7 -0
- package/zero-styled/index.js +20 -1
package/Skeleton/Skeleton.d.ts
CHANGED
|
@@ -58,11 +58,11 @@ export interface SkeletonTypeMap<
|
|
|
58
58
|
*
|
|
59
59
|
* Demos:
|
|
60
60
|
*
|
|
61
|
-
* - [Skeleton](https://mui.com/material-ui/react-skeleton/)
|
|
61
|
+
* - [Skeleton](https://next.mui.com/material-ui/react-skeleton/)
|
|
62
62
|
*
|
|
63
63
|
* API:
|
|
64
64
|
*
|
|
65
|
-
* - [Skeleton API](https://mui.com/material-ui/api/skeleton/)
|
|
65
|
+
* - [Skeleton API](https://next.mui.com/material-ui/api/skeleton/)
|
|
66
66
|
*/
|
|
67
67
|
declare const Skeleton: OverridableComponent<SkeletonTypeMap>;
|
|
68
68
|
|
package/Slide/Slide.d.ts
CHANGED
|
@@ -48,17 +48,17 @@ export interface SlideProps extends TransitionProps {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* The Slide transition is used by the [Drawer](https://mui.com/material-ui/react-drawer/) component.
|
|
51
|
+
* The Slide transition is used by the [Drawer](https://next.mui.com/material-ui/react-drawer/) component.
|
|
52
52
|
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
|
|
53
53
|
*
|
|
54
54
|
* Demos:
|
|
55
55
|
*
|
|
56
|
-
* - [Dialog](https://mui.com/material-ui/react-dialog/)
|
|
57
|
-
* - [Transitions](https://mui.com/material-ui/transitions/)
|
|
56
|
+
* - [Dialog](https://next.mui.com/material-ui/react-dialog/)
|
|
57
|
+
* - [Transitions](https://next.mui.com/material-ui/transitions/)
|
|
58
58
|
*
|
|
59
59
|
* API:
|
|
60
60
|
*
|
|
61
|
-
* - [Slide API](https://mui.com/material-ui/api/slide/)
|
|
61
|
+
* - [Slide API](https://next.mui.com/material-ui/api/slide/)
|
|
62
62
|
* - inherits [Transition API](https://reactcommunity.org/react-transition-group/transition/#Transition-props)
|
|
63
63
|
*/
|
|
64
64
|
export default function Slide(props: SlideProps): React.JSX.Element;
|
package/Slide/Slide.js
CHANGED
|
@@ -8,7 +8,7 @@ import HTMLElementType from '@mui/utils/HTMLElementType';
|
|
|
8
8
|
import elementAcceptingRef from '@mui/utils/elementAcceptingRef';
|
|
9
9
|
import debounce from '../utils/debounce';
|
|
10
10
|
import useForkRef from '../utils/useForkRef';
|
|
11
|
-
import useTheme from '../
|
|
11
|
+
import { useTheme } from '../zero-styled';
|
|
12
12
|
import { reflow, getTransitionProps } from '../transitions/utils';
|
|
13
13
|
import { ownerWindow } from '../utils';
|
|
14
14
|
|
package/Slider/Slider.d.ts
CHANGED
|
@@ -281,7 +281,7 @@ export interface SliderTypeMap<
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
export interface SliderValueLabelProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
284
|
-
children: React.ReactElement<
|
|
284
|
+
children: React.ReactElement<unknown>;
|
|
285
285
|
index: number;
|
|
286
286
|
open: boolean;
|
|
287
287
|
value: number;
|
|
@@ -306,11 +306,11 @@ export declare const SliderValueLabel: React.FC<SliderValueLabelProps>;
|
|
|
306
306
|
*
|
|
307
307
|
* Demos:
|
|
308
308
|
*
|
|
309
|
-
* - [Slider](https://mui.com/material-ui/react-slider/)
|
|
309
|
+
* - [Slider](https://next.mui.com/material-ui/react-slider/)
|
|
310
310
|
*
|
|
311
311
|
* API:
|
|
312
312
|
*
|
|
313
|
-
* - [Slider API](https://mui.com/material-ui/api/slider/)
|
|
313
|
+
* - [Slider API](https://next.mui.com/material-ui/api/slider/)
|
|
314
314
|
*/
|
|
315
315
|
declare const Slider: OverridableComponent<SliderTypeMap>;
|
|
316
316
|
|
package/Snackbar/Snackbar.d.ts
CHANGED
|
@@ -121,10 +121,10 @@ export interface SnackbarProps extends StandardProps<React.HTMLAttributes<HTMLDi
|
|
|
121
121
|
*
|
|
122
122
|
* Demos:
|
|
123
123
|
*
|
|
124
|
-
* - [Snackbar](https://mui.com/material-ui/react-snackbar/)
|
|
124
|
+
* - [Snackbar](https://next.mui.com/material-ui/react-snackbar/)
|
|
125
125
|
*
|
|
126
126
|
* API:
|
|
127
127
|
*
|
|
128
|
-
* - [Snackbar API](https://mui.com/material-ui/api/snackbar/)
|
|
128
|
+
* - [Snackbar API](https://next.mui.com/material-ui/api/snackbar/)
|
|
129
129
|
*/
|
|
130
130
|
export default function Snackbar(props: SnackbarProps): React.JSX.Element;
|
package/Snackbar/Snackbar.js
CHANGED
|
@@ -6,8 +6,7 @@ import { useSlotProps } from '@mui/base/utils';
|
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import { ClickAwayListener } from '@mui/base/ClickAwayListener';
|
|
8
8
|
import { useSnackbar } from '@mui/base/useSnackbar';
|
|
9
|
-
import { styled, createUseThemeProps } from '../zero-styled';
|
|
10
|
-
import useTheme from '../styles/useTheme';
|
|
9
|
+
import { styled, createUseThemeProps, useTheme } from '../zero-styled';
|
|
11
10
|
import capitalize from '../utils/capitalize';
|
|
12
11
|
import Grow from '../Grow';
|
|
13
12
|
import SnackbarContent from '../SnackbarContent';
|
|
@@ -33,11 +33,11 @@ export interface SnackbarContentProps extends StandardProps<PaperProps, 'childre
|
|
|
33
33
|
*
|
|
34
34
|
* Demos:
|
|
35
35
|
*
|
|
36
|
-
* - [Snackbar](https://mui.com/material-ui/react-snackbar/)
|
|
36
|
+
* - [Snackbar](https://next.mui.com/material-ui/react-snackbar/)
|
|
37
37
|
*
|
|
38
38
|
* API:
|
|
39
39
|
*
|
|
40
|
-
* - [SnackbarContent API](https://mui.com/material-ui/api/snackbar-content/)
|
|
41
|
-
* - inherits [Paper API](https://mui.com/material-ui/api/paper/)
|
|
40
|
+
* - [SnackbarContent API](https://next.mui.com/material-ui/api/snackbar-content/)
|
|
41
|
+
* - inherits [Paper API](https://next.mui.com/material-ui/api/paper/)
|
|
42
42
|
*/
|
|
43
43
|
export default function SnackbarContent(props: SnackbarContentProps): React.JSX.Element;
|
package/SpeedDial/SpeedDial.d.ts
CHANGED
|
@@ -123,10 +123,10 @@ export interface SpeedDialOwnerState extends SpeedDialProps {}
|
|
|
123
123
|
*
|
|
124
124
|
* Demos:
|
|
125
125
|
*
|
|
126
|
-
* - [Speed Dial](https://mui.com/material-ui/react-speed-dial/)
|
|
126
|
+
* - [Speed Dial](https://next.mui.com/material-ui/react-speed-dial/)
|
|
127
127
|
*
|
|
128
128
|
* API:
|
|
129
129
|
*
|
|
130
|
-
* - [SpeedDial API](https://mui.com/material-ui/api/speed-dial/)
|
|
130
|
+
* - [SpeedDial API](https://next.mui.com/material-ui/api/speed-dial/)
|
|
131
131
|
*/
|
|
132
132
|
export default function SpeedDial(props: SpeedDialProps): React.JSX.Element;
|
package/SpeedDial/SpeedDial.js
CHANGED
|
@@ -7,8 +7,7 @@ import clsx from 'clsx';
|
|
|
7
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
8
8
|
import useTimeout from '@mui/utils/useTimeout';
|
|
9
9
|
import clamp from '@mui/utils/clamp';
|
|
10
|
-
import { styled, createUseThemeProps } from '../zero-styled';
|
|
11
|
-
import useTheme from '../styles/useTheme';
|
|
10
|
+
import { styled, createUseThemeProps, useTheme } from '../zero-styled';
|
|
12
11
|
import Zoom from '../Zoom';
|
|
13
12
|
import Fab from '../Fab';
|
|
14
13
|
import capitalize from '../utils/capitalize';
|
|
@@ -53,11 +53,11 @@ export interface SpeedDialActionProps extends StandardProps<Partial<TooltipProps
|
|
|
53
53
|
*
|
|
54
54
|
* Demos:
|
|
55
55
|
*
|
|
56
|
-
* - [Speed Dial](https://mui.com/material-ui/react-speed-dial/)
|
|
56
|
+
* - [Speed Dial](https://next.mui.com/material-ui/react-speed-dial/)
|
|
57
57
|
*
|
|
58
58
|
* API:
|
|
59
59
|
*
|
|
60
|
-
* - [SpeedDialAction API](https://mui.com/material-ui/api/speed-dial-action/)
|
|
61
|
-
* - inherits [Tooltip API](https://mui.com/material-ui/api/tooltip/)
|
|
60
|
+
* - [SpeedDialAction API](https://next.mui.com/material-ui/api/speed-dial-action/)
|
|
61
|
+
* - inherits [Tooltip API](https://next.mui.com/material-ui/api/tooltip/)
|
|
62
62
|
*/
|
|
63
63
|
export default function SpeedDialAction(props: SpeedDialActionProps): React.JSX.Element;
|
|
@@ -33,11 +33,11 @@ export interface SpeedDialIconProps
|
|
|
33
33
|
*
|
|
34
34
|
* Demos:
|
|
35
35
|
*
|
|
36
|
-
* - [Speed Dial](https://mui.com/material-ui/react-speed-dial/)
|
|
36
|
+
* - [Speed Dial](https://next.mui.com/material-ui/react-speed-dial/)
|
|
37
37
|
*
|
|
38
38
|
* API:
|
|
39
39
|
*
|
|
40
|
-
* - [SpeedDialIcon API](https://mui.com/material-ui/api/speed-dial-icon/)
|
|
40
|
+
* - [SpeedDialIcon API](https://next.mui.com/material-ui/api/speed-dial-icon/)
|
|
41
41
|
*/
|
|
42
42
|
declare const SpeedDialIcon: ((props: SpeedDialIconProps) => React.JSX.Element) & {
|
|
43
43
|
muiName: string;
|
package/Stack/Stack.d.ts
CHANGED
|
@@ -50,11 +50,11 @@ export interface StackTypeMap<
|
|
|
50
50
|
*
|
|
51
51
|
* Demos:
|
|
52
52
|
*
|
|
53
|
-
* - [Stack](https://mui.com/material-ui/react-stack/)
|
|
53
|
+
* - [Stack](https://next.mui.com/material-ui/react-stack/)
|
|
54
54
|
*
|
|
55
55
|
* API:
|
|
56
56
|
*
|
|
57
|
-
* - [Stack API](https://mui.com/material-ui/api/stack/)
|
|
57
|
+
* - [Stack API](https://next.mui.com/material-ui/api/stack/)
|
|
58
58
|
*/
|
|
59
59
|
declare const Stack: OverridableComponent<StackTypeMap>;
|
|
60
60
|
|
package/Step/Step.d.ts
CHANGED
|
@@ -68,11 +68,11 @@ export type StepClasskey = keyof NonNullable<StepProps['classes']>;
|
|
|
68
68
|
*
|
|
69
69
|
* Demos:
|
|
70
70
|
*
|
|
71
|
-
* - [Stepper](https://mui.com/material-ui/react-stepper/)
|
|
71
|
+
* - [Stepper](https://next.mui.com/material-ui/react-stepper/)
|
|
72
72
|
*
|
|
73
73
|
* API:
|
|
74
74
|
*
|
|
75
|
-
* - [Step API](https://mui.com/material-ui/api/step/)
|
|
75
|
+
* - [Step API](https://next.mui.com/material-ui/api/step/)
|
|
76
76
|
*/
|
|
77
77
|
declare const Step: OverridableComponent<StepTypeMap>;
|
|
78
78
|
|
|
@@ -47,12 +47,12 @@ export type StepButtonTypeMap<
|
|
|
47
47
|
*
|
|
48
48
|
* Demos:
|
|
49
49
|
*
|
|
50
|
-
* - [Stepper](https://mui.com/material-ui/react-stepper/)
|
|
50
|
+
* - [Stepper](https://next.mui.com/material-ui/react-stepper/)
|
|
51
51
|
*
|
|
52
52
|
* API:
|
|
53
53
|
*
|
|
54
|
-
* - [StepButton API](https://mui.com/material-ui/api/step-button/)
|
|
55
|
-
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
54
|
+
* - [StepButton API](https://next.mui.com/material-ui/api/step-button/)
|
|
55
|
+
* - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
56
56
|
*/
|
|
57
57
|
declare const StepButton: ExtendButtonBase<
|
|
58
58
|
StepButtonTypeMap<{}, ButtonBaseTypeMap['defaultComponent']>
|
|
@@ -4,7 +4,7 @@ import { InternalStandardProps as StandardProps } from '..';
|
|
|
4
4
|
import { Theme } from '../styles';
|
|
5
5
|
import { StepConnectorClasses } from './stepConnectorClasses';
|
|
6
6
|
|
|
7
|
-
export type StepConnectorIcon = React.ReactElement<
|
|
7
|
+
export type StepConnectorIcon = React.ReactElement<unknown> | string | number;
|
|
8
8
|
|
|
9
9
|
export interface StepConnectorProps
|
|
10
10
|
extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
@@ -24,10 +24,10 @@ export type StepConnectorClasskey = keyof NonNullable<StepConnectorProps['classe
|
|
|
24
24
|
*
|
|
25
25
|
* Demos:
|
|
26
26
|
*
|
|
27
|
-
* - [Stepper](https://mui.com/material-ui/react-stepper/)
|
|
27
|
+
* - [Stepper](https://next.mui.com/material-ui/react-stepper/)
|
|
28
28
|
*
|
|
29
29
|
* API:
|
|
30
30
|
*
|
|
31
|
-
* - [StepConnector API](https://mui.com/material-ui/api/step-connector/)
|
|
31
|
+
* - [StepConnector API](https://next.mui.com/material-ui/api/step-connector/)
|
|
32
32
|
*/
|
|
33
33
|
export default function StepConnector(props: StepConnectorProps): React.JSX.Element;
|
|
@@ -47,10 +47,10 @@ export type StepContentClasskey = keyof NonNullable<StepContentProps['classes']>
|
|
|
47
47
|
*
|
|
48
48
|
* Demos:
|
|
49
49
|
*
|
|
50
|
-
* - [Stepper](https://mui.com/material-ui/react-stepper/)
|
|
50
|
+
* - [Stepper](https://next.mui.com/material-ui/react-stepper/)
|
|
51
51
|
*
|
|
52
52
|
* API:
|
|
53
53
|
*
|
|
54
|
-
* - [StepContent API](https://mui.com/material-ui/api/step-content/)
|
|
54
|
+
* - [StepContent API](https://next.mui.com/material-ui/api/step-content/)
|
|
55
55
|
*/
|
|
56
56
|
export default function StepContent(props: StepContentProps): React.JSX.Element;
|
package/StepIcon/StepIcon.d.ts
CHANGED
|
@@ -41,10 +41,10 @@ export type StepIconClasskey = keyof NonNullable<StepIconProps['classes']>;
|
|
|
41
41
|
*
|
|
42
42
|
* Demos:
|
|
43
43
|
*
|
|
44
|
-
* - [Stepper](https://mui.com/material-ui/react-stepper/)
|
|
44
|
+
* - [Stepper](https://next.mui.com/material-ui/react-stepper/)
|
|
45
45
|
*
|
|
46
46
|
* API:
|
|
47
47
|
*
|
|
48
|
-
* - [StepIcon API](https://mui.com/material-ui/api/step-icon/)
|
|
48
|
+
* - [StepIcon API](https://next.mui.com/material-ui/api/step-icon/)
|
|
49
49
|
*/
|
|
50
50
|
export default function StepIcon(props: StepIconProps): React.JSX.Element;
|
package/StepLabel/StepLabel.d.ts
CHANGED
|
@@ -86,11 +86,11 @@ export type StepLabelClasskey = keyof NonNullable<StepLabelProps['classes']>;
|
|
|
86
86
|
*
|
|
87
87
|
* Demos:
|
|
88
88
|
*
|
|
89
|
-
* - [Stepper](https://mui.com/material-ui/react-stepper/)
|
|
89
|
+
* - [Stepper](https://next.mui.com/material-ui/react-stepper/)
|
|
90
90
|
*
|
|
91
91
|
* API:
|
|
92
92
|
*
|
|
93
|
-
* - [StepLabel API](https://mui.com/material-ui/api/step-label/)
|
|
93
|
+
* - [StepLabel API](https://next.mui.com/material-ui/api/step-label/)
|
|
94
94
|
*/
|
|
95
95
|
declare const StepLabel: ((props: StepLabelProps) => React.JSX.Element) & {
|
|
96
96
|
muiName: string;
|
package/Stepper/Stepper.d.ts
CHANGED
|
@@ -70,11 +70,11 @@ export type StepperClasskey = keyof NonNullable<StepperProps['classes']>;
|
|
|
70
70
|
*
|
|
71
71
|
* Demos:
|
|
72
72
|
*
|
|
73
|
-
* - [Stepper](https://mui.com/material-ui/react-stepper/)
|
|
73
|
+
* - [Stepper](https://next.mui.com/material-ui/react-stepper/)
|
|
74
74
|
*
|
|
75
75
|
* API:
|
|
76
76
|
*
|
|
77
|
-
* - [Stepper API](https://mui.com/material-ui/api/stepper/)
|
|
77
|
+
* - [Stepper API](https://next.mui.com/material-ui/api/stepper/)
|
|
78
78
|
*/
|
|
79
79
|
declare const Stepper: OverridableComponent<StepperTypeMap>;
|
|
80
80
|
|
package/SvgIcon/SvgIcon.d.ts
CHANGED
|
@@ -94,12 +94,12 @@ export interface SvgIconTypeMap<
|
|
|
94
94
|
*
|
|
95
95
|
* Demos:
|
|
96
96
|
*
|
|
97
|
-
* - [Icons](https://mui.com/material-ui/icons/)
|
|
98
|
-
* - [Material Icons](https://mui.com/material-ui/material-icons/)
|
|
97
|
+
* - [Icons](https://next.mui.com/material-ui/icons/)
|
|
98
|
+
* - [Material Icons](https://next.mui.com/material-ui/material-icons/)
|
|
99
99
|
*
|
|
100
100
|
* API:
|
|
101
101
|
*
|
|
102
|
-
* - [SvgIcon API](https://mui.com/material-ui/api/svg-icon/)
|
|
102
|
+
* - [SvgIcon API](https://next.mui.com/material-ui/api/svg-icon/)
|
|
103
103
|
*/
|
|
104
104
|
declare const SvgIcon: OverridableComponent<SvgIconTypeMap> & { muiName: string };
|
|
105
105
|
|
|
@@ -81,12 +81,12 @@ export interface SwipeableDrawerProps extends Omit<DrawerProps, 'onClose' | 'ope
|
|
|
81
81
|
*
|
|
82
82
|
* Demos:
|
|
83
83
|
*
|
|
84
|
-
* - [Drawer](https://mui.com/material-ui/react-drawer/)
|
|
84
|
+
* - [Drawer](https://next.mui.com/material-ui/react-drawer/)
|
|
85
85
|
*
|
|
86
86
|
* API:
|
|
87
87
|
*
|
|
88
|
-
* - [SwipeableDrawer API](https://mui.com/material-ui/api/swipeable-drawer/)
|
|
89
|
-
* - inherits [Drawer API](https://mui.com/material-ui/api/drawer/)
|
|
88
|
+
* - [SwipeableDrawer API](https://next.mui.com/material-ui/api/swipeable-drawer/)
|
|
89
|
+
* - inherits [Drawer API](https://next.mui.com/material-ui/api/drawer/)
|
|
90
90
|
*/
|
|
91
91
|
declare const SwipeableDrawer: React.JSXElementConstructor<SwipeableDrawerProps>;
|
|
92
92
|
|
|
@@ -4,7 +4,6 @@ import * as React from 'react';
|
|
|
4
4
|
import * as ReactDOM from 'react-dom';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
|
|
7
|
-
import useThemeProps from '@mui/system/useThemeProps';
|
|
8
7
|
import { NoSsr } from '@mui/base';
|
|
9
8
|
import Drawer, { getAnchor, isHorizontal } from '../Drawer/Drawer';
|
|
10
9
|
import useForkRef from '../utils/useForkRef';
|
|
@@ -12,13 +11,14 @@ import ownerDocument from '../utils/ownerDocument';
|
|
|
12
11
|
import ownerWindow from '../utils/ownerWindow';
|
|
13
12
|
import useEventCallback from '../utils/useEventCallback';
|
|
14
13
|
import useEnhancedEffect from '../utils/useEnhancedEffect';
|
|
15
|
-
import useTheme from '../
|
|
14
|
+
import { createUseThemeProps, useTheme } from '../zero-styled';
|
|
16
15
|
import { getTransitionProps } from '../transitions/utils';
|
|
17
16
|
import SwipeArea from './SwipeArea';
|
|
17
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
+
const useThemeProps = createUseThemeProps('MuiSwipeableDrawer');
|
|
18
19
|
|
|
19
20
|
// This value is closed to what browsers are using internally to
|
|
20
21
|
// trigger a native scroll.
|
|
21
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
22
22
|
const UNCERTAINTY_THRESHOLD = 3; // px
|
|
23
23
|
|
|
24
24
|
// This is the part of the drawer displayed on touch start.
|
package/Switch/Switch.d.ts
CHANGED
|
@@ -58,12 +58,12 @@ export interface SwitchProps
|
|
|
58
58
|
*
|
|
59
59
|
* Demos:
|
|
60
60
|
*
|
|
61
|
-
* - [Switch](https://mui.com/material-ui/react-switch/)
|
|
62
|
-
* - [Transfer List](https://mui.com/material-ui/react-transfer-list/)
|
|
61
|
+
* - [Switch](https://next.mui.com/material-ui/react-switch/)
|
|
62
|
+
* - [Transfer List](https://next.mui.com/material-ui/react-transfer-list/)
|
|
63
63
|
*
|
|
64
64
|
* API:
|
|
65
65
|
*
|
|
66
|
-
* - [Switch API](https://mui.com/material-ui/api/switch/)
|
|
67
|
-
* - inherits [IconButton API](https://mui.com/material-ui/api/icon-button/)
|
|
66
|
+
* - [Switch API](https://next.mui.com/material-ui/api/switch/)
|
|
67
|
+
* - inherits [IconButton API](https://next.mui.com/material-ui/api/icon-button/)
|
|
68
68
|
*/
|
|
69
69
|
export default function Switch(props: SwitchProps): React.JSX.Element;
|
package/Tab/Tab.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ export interface TabOwnProps {
|
|
|
28
28
|
/**
|
|
29
29
|
* The icon to display.
|
|
30
30
|
*/
|
|
31
|
-
icon?: string | React.ReactElement<
|
|
31
|
+
icon?: string | React.ReactElement<unknown>;
|
|
32
32
|
/**
|
|
33
33
|
* The position of the icon relative to the label.
|
|
34
34
|
* @default 'top'
|
|
@@ -66,12 +66,12 @@ export type TabTypeMap<
|
|
|
66
66
|
*
|
|
67
67
|
* Demos:
|
|
68
68
|
*
|
|
69
|
-
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
69
|
+
* - [Tabs](https://next.mui.com/material-ui/react-tabs/)
|
|
70
70
|
*
|
|
71
71
|
* API:
|
|
72
72
|
*
|
|
73
|
-
* - [Tab API](https://mui.com/material-ui/api/tab/)
|
|
74
|
-
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
73
|
+
* - [Tab API](https://next.mui.com/material-ui/api/tab/)
|
|
74
|
+
* - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
75
75
|
*/
|
|
76
76
|
declare const Tab: ExtendButtonBase<TabTypeMap>;
|
|
77
77
|
|
package/Tab/Tab.js
CHANGED
|
@@ -35,7 +35,9 @@ const TabRoot = styled(ButtonBase, {
|
|
|
35
35
|
const {
|
|
36
36
|
ownerState
|
|
37
37
|
} = props;
|
|
38
|
-
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped
|
|
38
|
+
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {
|
|
39
|
+
[`& .${tabClasses.iconWrapper}`]: styles.iconWrapper
|
|
40
|
+
}];
|
|
39
41
|
}
|
|
40
42
|
})(({
|
|
41
43
|
theme
|
package/Tab/tabClasses.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface TabClasses {
|
|
|
17
17
|
fullWidth: string;
|
|
18
18
|
/** Styles applied to the root element if `wrapped={true}`. */
|
|
19
19
|
wrapped: string;
|
|
20
|
-
/** Styles applied to the
|
|
20
|
+
/** Styles applied to the `icon` HTML element if both `icon` and `label` are provided. */
|
|
21
21
|
iconWrapper: string;
|
|
22
22
|
}
|
|
23
23
|
export type TabClassKey = keyof TabClasses;
|
|
@@ -69,10 +69,10 @@ export interface TabScrollButtonProps extends ButtonBaseProps {
|
|
|
69
69
|
*
|
|
70
70
|
* Demos:
|
|
71
71
|
*
|
|
72
|
-
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
72
|
+
* - [Tabs](https://next.mui.com/material-ui/react-tabs/)
|
|
73
73
|
*
|
|
74
74
|
* API:
|
|
75
75
|
*
|
|
76
|
-
* - [TabScrollButton API](https://mui.com/material-ui/api/tab-scroll-button/)
|
|
76
|
+
* - [TabScrollButton API](https://next.mui.com/material-ui/api/tab-scroll-button/)
|
|
77
77
|
*/
|
|
78
78
|
export default function TabScrollButton(props: TabScrollButtonProps): React.JSX.Element;
|
package/Table/Table.d.ts
CHANGED
|
@@ -48,11 +48,11 @@ export interface TableTypeMap<
|
|
|
48
48
|
*
|
|
49
49
|
* Demos:
|
|
50
50
|
*
|
|
51
|
-
* - [Table](https://mui.com/material-ui/react-table/)
|
|
51
|
+
* - [Table](https://next.mui.com/material-ui/react-table/)
|
|
52
52
|
*
|
|
53
53
|
* API:
|
|
54
54
|
*
|
|
55
|
-
* - [Table API](https://mui.com/material-ui/api/table/)
|
|
55
|
+
* - [Table API](https://next.mui.com/material-ui/api/table/)
|
|
56
56
|
*/
|
|
57
57
|
declare const Table: OverridableComponent<TableTypeMap>;
|
|
58
58
|
|
package/TableBody/TableBody.d.ts
CHANGED
|
@@ -30,11 +30,11 @@ export interface TableBodyTypeMap<
|
|
|
30
30
|
*
|
|
31
31
|
* Demos:
|
|
32
32
|
*
|
|
33
|
-
* - [Table](https://mui.com/material-ui/react-table/)
|
|
33
|
+
* - [Table](https://next.mui.com/material-ui/react-table/)
|
|
34
34
|
*
|
|
35
35
|
* API:
|
|
36
36
|
*
|
|
37
|
-
* - [TableBody API](https://mui.com/material-ui/api/table-body/)
|
|
37
|
+
* - [TableBody API](https://next.mui.com/material-ui/api/table-body/)
|
|
38
38
|
*/
|
|
39
39
|
declare const TableBody: OverridableComponent<TableBodyTypeMap>;
|
|
40
40
|
|
package/TableCell/TableCell.d.ts
CHANGED
|
@@ -77,10 +77,10 @@ export type SortDirection = 'asc' | 'desc' | false;
|
|
|
77
77
|
*
|
|
78
78
|
* Demos:
|
|
79
79
|
*
|
|
80
|
-
* - [Table](https://mui.com/material-ui/react-table/)
|
|
80
|
+
* - [Table](https://next.mui.com/material-ui/react-table/)
|
|
81
81
|
*
|
|
82
82
|
* API:
|
|
83
83
|
*
|
|
84
|
-
* - [TableCell API](https://mui.com/material-ui/api/table-cell/)
|
|
84
|
+
* - [TableCell API](https://next.mui.com/material-ui/api/table-cell/)
|
|
85
85
|
*/
|
|
86
86
|
export default function TableCell(props: TableCellProps): React.JSX.Element;
|
|
@@ -30,11 +30,11 @@ export interface TableContainerTypeMap<
|
|
|
30
30
|
*
|
|
31
31
|
* Demos:
|
|
32
32
|
*
|
|
33
|
-
* - [Table](https://mui.com/material-ui/react-table/)
|
|
33
|
+
* - [Table](https://next.mui.com/material-ui/react-table/)
|
|
34
34
|
*
|
|
35
35
|
* API:
|
|
36
36
|
*
|
|
37
|
-
* - [TableContainer API](https://mui.com/material-ui/api/table-container/)
|
|
37
|
+
* - [TableContainer API](https://next.mui.com/material-ui/api/table-container/)
|
|
38
38
|
*/
|
|
39
39
|
declare const TableContainer: OverridableComponent<TableContainerTypeMap>;
|
|
40
40
|
|
|
@@ -30,11 +30,11 @@ export interface TableFooterTypeMap<
|
|
|
30
30
|
*
|
|
31
31
|
* Demos:
|
|
32
32
|
*
|
|
33
|
-
* - [Table](https://mui.com/material-ui/react-table/)
|
|
33
|
+
* - [Table](https://next.mui.com/material-ui/react-table/)
|
|
34
34
|
*
|
|
35
35
|
* API:
|
|
36
36
|
*
|
|
37
|
-
* - [TableFooter API](https://mui.com/material-ui/api/table-footer/)
|
|
37
|
+
* - [TableFooter API](https://next.mui.com/material-ui/api/table-footer/)
|
|
38
38
|
*/
|
|
39
39
|
declare const TableFooter: OverridableComponent<TableFooterTypeMap>;
|
|
40
40
|
|
package/TableHead/TableHead.d.ts
CHANGED
|
@@ -30,11 +30,11 @@ export interface TableHeadTypeMap<
|
|
|
30
30
|
*
|
|
31
31
|
* Demos:
|
|
32
32
|
*
|
|
33
|
-
* - [Table](https://mui.com/material-ui/react-table/)
|
|
33
|
+
* - [Table](https://next.mui.com/material-ui/react-table/)
|
|
34
34
|
*
|
|
35
35
|
* API:
|
|
36
36
|
*
|
|
37
|
-
* - [TableHead API](https://mui.com/material-ui/api/table-head/)
|
|
37
|
+
* - [TableHead API](https://next.mui.com/material-ui/api/table-head/)
|
|
38
38
|
*/
|
|
39
39
|
declare const TableHead: OverridableComponent<TableHeadTypeMap>;
|
|
40
40
|
|
|
@@ -166,13 +166,13 @@ export interface TablePaginationTypeMap<AdditionalProps, RootComponent extends R
|
|
|
166
166
|
*
|
|
167
167
|
* Demos:
|
|
168
168
|
*
|
|
169
|
-
* - [Pagination](https://mui.com/material-ui/react-pagination/)
|
|
170
|
-
* - [Table](https://mui.com/material-ui/react-table/)
|
|
169
|
+
* - [Pagination](https://next.mui.com/material-ui/react-pagination/)
|
|
170
|
+
* - [Table](https://next.mui.com/material-ui/react-table/)
|
|
171
171
|
*
|
|
172
172
|
* API:
|
|
173
173
|
*
|
|
174
|
-
* - [TablePagination API](https://mui.com/material-ui/api/table-pagination/)
|
|
175
|
-
* - inherits [TableCell API](https://mui.com/material-ui/api/table-cell/)
|
|
174
|
+
* - [TablePagination API](https://next.mui.com/material-ui/api/table-pagination/)
|
|
175
|
+
* - inherits [TableCell API](https://next.mui.com/material-ui/api/table-cell/)
|
|
176
176
|
*/
|
|
177
177
|
declare const TablePagination: OverridableComponent<
|
|
178
178
|
TablePaginationTypeMap<{}, React.JSXElementConstructor<TablePaginationBaseProps>>
|
package/TableRow/TableRow.d.ts
CHANGED
|
@@ -42,11 +42,11 @@ export interface TableRowTypeMap<
|
|
|
42
42
|
*
|
|
43
43
|
* Demos:
|
|
44
44
|
*
|
|
45
|
-
* - [Table](https://mui.com/material-ui/react-table/)
|
|
45
|
+
* - [Table](https://next.mui.com/material-ui/react-table/)
|
|
46
46
|
*
|
|
47
47
|
* API:
|
|
48
48
|
*
|
|
49
|
-
* - [TableRow API](https://mui.com/material-ui/api/table-row/)
|
|
49
|
+
* - [TableRow API](https://next.mui.com/material-ui/api/table-row/)
|
|
50
50
|
*/
|
|
51
51
|
declare const TableRow: OverridableComponent<TableRowTypeMap>;
|
|
52
52
|
|
|
@@ -55,12 +55,12 @@ export type TableSortLabelTypeMap<
|
|
|
55
55
|
*
|
|
56
56
|
* Demos:
|
|
57
57
|
*
|
|
58
|
-
* - [Table](https://mui.com/material-ui/react-table/)
|
|
58
|
+
* - [Table](https://next.mui.com/material-ui/react-table/)
|
|
59
59
|
*
|
|
60
60
|
* API:
|
|
61
61
|
*
|
|
62
|
-
* - [TableSortLabel API](https://mui.com/material-ui/api/table-sort-label/)
|
|
63
|
-
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
62
|
+
* - [TableSortLabel API](https://next.mui.com/material-ui/api/table-sort-label/)
|
|
63
|
+
* - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
|
|
64
64
|
*/
|
|
65
65
|
declare const TableSortLabel: ExtendButtonBase<TableSortLabelTypeMap>;
|
|
66
66
|
|
package/Tabs/Tabs.d.ts
CHANGED
|
@@ -185,11 +185,11 @@ export interface TabsTypeMap<
|
|
|
185
185
|
*
|
|
186
186
|
* Demos:
|
|
187
187
|
*
|
|
188
|
-
* - [Tabs](https://mui.com/material-ui/react-tabs/)
|
|
188
|
+
* - [Tabs](https://next.mui.com/material-ui/react-tabs/)
|
|
189
189
|
*
|
|
190
190
|
* API:
|
|
191
191
|
*
|
|
192
|
-
* - [Tabs API](https://mui.com/material-ui/api/tabs/)
|
|
192
|
+
* - [Tabs API](https://next.mui.com/material-ui/api/tabs/)
|
|
193
193
|
*/
|
|
194
194
|
declare const Tabs: OverridableComponent<TabsTypeMap>;
|
|
195
195
|
|
package/Tabs/Tabs.js
CHANGED
|
@@ -8,8 +8,7 @@ import refType from '@mui/utils/refType';
|
|
|
8
8
|
import { useSlotProps } from '@mui/base/utils';
|
|
9
9
|
import composeClasses from '@mui/utils/composeClasses';
|
|
10
10
|
import { useRtl } from '@mui/system/RtlProvider';
|
|
11
|
-
import { styled, createUseThemeProps } from '../zero-styled';
|
|
12
|
-
import useTheme from '../styles/useTheme';
|
|
11
|
+
import { styled, createUseThemeProps, useTheme } from '../zero-styled';
|
|
13
12
|
import debounce from '../utils/debounce';
|
|
14
13
|
import animate from '../internal/animate';
|
|
15
14
|
import ScrollbarSize from './ScrollbarSize';
|