@mui/material 6.0.0-rc.0 → 6.0.0
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 +5 -5
- package/Accordion/Accordion.js +9 -9
- package/Accordion/index.js +3 -3
- package/AccordionActions/AccordionActions.d.ts +2 -2
- package/AccordionActions/AccordionActions.js +3 -3
- package/AccordionActions/index.js +3 -3
- package/AccordionDetails/AccordionDetails.d.ts +2 -2
- package/AccordionDetails/AccordionDetails.js +4 -4
- package/AccordionDetails/index.js +3 -3
- package/AccordionSummary/AccordionSummary.d.ts +3 -3
- package/AccordionSummary/AccordionSummary.js +6 -6
- package/AccordionSummary/index.js +3 -3
- package/Alert/Alert.d.ts +3 -3
- package/Alert/Alert.js +13 -13
- package/Alert/index.js +3 -3
- package/AlertTitle/AlertTitle.d.ts +3 -3
- package/AlertTitle/AlertTitle.js +5 -5
- package/AlertTitle/index.js +3 -3
- package/AppBar/AppBar.d.ts +3 -3
- package/AppBar/AppBar.js +6 -6
- package/AppBar/index.js +3 -3
- package/Autocomplete/Autocomplete.d.ts +2 -2
- package/Autocomplete/Autocomplete.js +18 -18
- package/Autocomplete/index.js +3 -3
- package/Avatar/Avatar.d.ts +2 -2
- package/Avatar/Avatar.js +6 -6
- package/Avatar/index.js +3 -3
- package/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/AvatarGroup/AvatarGroup.js +6 -6
- package/AvatarGroup/index.js +3 -3
- package/Backdrop/Backdrop.d.ts +5 -5
- package/Backdrop/Backdrop.js +5 -5
- package/Backdrop/index.js +3 -3
- package/Badge/Badge.d.ts +3 -3
- package/Badge/Badge.js +6 -6
- package/Badge/index.js +3 -3
- package/Badge/useBadge.d.ts +2 -2
- package/Badge/useBadge.js +2 -2
- package/BottomNavigation/BottomNavigation.d.ts +2 -2
- package/BottomNavigation/BottomNavigation.js +4 -4
- package/BottomNavigation/index.js +3 -3
- package/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
- package/BottomNavigationAction/BottomNavigationAction.js +6 -6
- package/BottomNavigationAction/index.js +3 -3
- package/Box/Box.d.ts +2 -2
- package/Box/Box.js +4 -4
- package/Box/index.js +3 -3
- package/Breadcrumbs/BreadcrumbCollapsed.js +4 -4
- package/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/Breadcrumbs/Breadcrumbs.js +5 -5
- package/Breadcrumbs/index.js +3 -3
- package/Button/Button.d.ts +4 -4
- package/Button/Button.js +9 -9
- package/Button/index.js +3 -3
- package/ButtonBase/ButtonBase.d.ts +2 -2
- package/ButtonBase/ButtonBase.js +7 -7
- package/ButtonBase/TouchRipple.js +4 -4
- package/ButtonBase/index.js +5 -5
- package/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/ButtonGroup/ButtonGroup.js +7 -7
- package/ButtonGroup/index.js +5 -5
- package/CHANGELOG.md +46 -0
- package/Card/Card.d.ts +3 -3
- package/Card/Card.js +4 -4
- package/Card/index.js +3 -3
- package/CardActionArea/CardActionArea.d.ts +3 -3
- package/CardActionArea/CardActionArea.js +5 -5
- package/CardActionArea/index.js +3 -3
- package/CardActions/CardActions.d.ts +2 -2
- package/CardActions/CardActions.js +3 -3
- package/CardActions/index.js +3 -3
- package/CardContent/CardContent.d.ts +2 -2
- package/CardContent/CardContent.js +3 -3
- package/CardContent/index.js +3 -3
- package/CardHeader/CardHeader.d.ts +2 -2
- package/CardHeader/CardHeader.js +4 -4
- package/CardHeader/index.js +3 -3
- package/CardMedia/CardMedia.d.ts +2 -2
- package/CardMedia/CardMedia.js +3 -3
- package/CardMedia/index.js +3 -3
- package/Checkbox/Checkbox.d.ts +4 -4
- package/Checkbox/Checkbox.js +10 -10
- package/Checkbox/index.js +3 -3
- package/Chip/Chip.d.ts +2 -2
- package/Chip/Chip.js +9 -9
- package/Chip/index.js +3 -3
- package/CircularProgress/CircularProgress.d.ts +2 -2
- package/CircularProgress/CircularProgress.js +5 -5
- package/CircularProgress/index.js +3 -3
- package/ClickAwayListener/ClickAwayListener.d.ts +3 -3
- package/ClickAwayListener/ClickAwayListener.js +3 -3
- package/ClickAwayListener/index.js +1 -1
- package/Collapse/Collapse.d.ts +5 -5
- package/Collapse/Collapse.js +7 -7
- package/Collapse/index.js +3 -3
- package/Container/Container.d.ts +2 -2
- package/Container/Container.js +3 -3
- package/Container/index.js +3 -3
- package/CssBaseline/CssBaseline.d.ts +2 -2
- package/CssBaseline/CssBaseline.js +2 -2
- package/CssBaseline/index.js +1 -1
- package/DefaultPropsProvider/index.js +1 -1
- package/Dialog/Dialog.d.ts +4 -4
- package/Dialog/Dialog.js +10 -10
- package/Dialog/index.js +3 -3
- package/DialogActions/DialogActions.d.ts +2 -2
- package/DialogActions/DialogActions.js +3 -3
- package/DialogActions/index.js +3 -3
- package/DialogContent/DialogContent.d.ts +2 -2
- package/DialogContent/DialogContent.js +5 -5
- package/DialogContent/index.js +3 -3
- package/DialogContentText/DialogContentText.d.ts +3 -3
- package/DialogContentText/DialogContentText.js +5 -5
- package/DialogContentText/index.js +3 -3
- package/DialogTitle/DialogTitle.d.ts +3 -3
- package/DialogTitle/DialogTitle.js +5 -5
- package/DialogTitle/index.js +3 -3
- package/Divider/Divider.d.ts +3 -3
- package/Divider/Divider.js +4 -4
- package/Divider/index.js +3 -3
- package/Drawer/Drawer.d.ts +3 -3
- package/Drawer/Drawer.js +9 -9
- package/Drawer/index.js +3 -3
- package/Fab/Fab.d.ts +3 -3
- package/Fab/Fab.js +7 -7
- package/Fab/index.js +3 -3
- package/Fade/Fade.d.ts +4 -4
- package/Fade/Fade.js +3 -3
- package/Fade/index.js +1 -1
- package/FilledInput/FilledInput.d.ts +3 -3
- package/FilledInput/FilledInput.js +8 -8
- package/FilledInput/filledInputClasses.js +1 -1
- package/FilledInput/index.js +3 -3
- package/FormControl/FormControl.d.ts +6 -6
- package/FormControl/FormControl.js +7 -7
- package/FormControl/index.js +4 -4
- package/FormControl/useFormControl.js +1 -1
- package/FormControlLabel/FormControlLabel.d.ts +5 -5
- package/FormControlLabel/FormControlLabel.js +9 -9
- package/FormControlLabel/index.js +3 -3
- package/FormGroup/FormGroup.d.ts +3 -3
- package/FormGroup/FormGroup.js +5 -5
- package/FormGroup/index.js +3 -3
- package/FormHelperText/FormHelperText.d.ts +2 -2
- package/FormHelperText/FormHelperText.js +7 -7
- package/FormHelperText/index.js +3 -3
- package/FormLabel/FormLabel.d.ts +4 -4
- package/FormLabel/FormLabel.js +7 -7
- package/FormLabel/index.js +4 -4
- package/GlobalStyles/GlobalStyles.d.ts +2 -2
- package/GlobalStyles/GlobalStyles.js +2 -2
- package/GlobalStyles/index.js +1 -1
- package/Grid/Grid.d.ts +3 -3
- package/Grid/Grid.js +7 -7
- package/Grid/index.js +3 -3
- package/Grid2/Grid2.d.ts +2 -2
- package/Grid2/Grid2.js +3 -3
- package/Grid2/index.js +4 -4
- package/Grow/Grow.d.ts +6 -6
- package/Grow/Grow.js +3 -3
- package/Grow/index.js +1 -1
- package/Hidden/Hidden.d.ts +2 -2
- package/Hidden/Hidden.js +2 -2
- package/Hidden/HiddenCss.js +4 -4
- package/Hidden/HiddenJs.js +2 -2
- package/Hidden/index.js +1 -1
- package/Hidden/withWidth.js +3 -3
- package/Icon/Icon.d.ts +3 -3
- package/Icon/Icon.js +5 -5
- package/Icon/index.js +3 -3
- package/IconButton/IconButton.d.ts +4 -4
- package/IconButton/IconButton.js +6 -6
- package/IconButton/index.js +3 -3
- package/ImageList/ImageList.d.ts +2 -2
- package/ImageList/ImageList.js +4 -4
- package/ImageList/index.js +3 -3
- package/ImageListItem/ImageListItem.d.ts +2 -2
- package/ImageListItem/ImageListItem.js +5 -5
- package/ImageListItem/index.js +3 -3
- package/ImageListItemBar/ImageListItemBar.d.ts +2 -2
- package/ImageListItemBar/ImageListItemBar.js +5 -5
- package/ImageListItemBar/index.js +3 -3
- package/InitColorSchemeScript/index.js +1 -1
- package/Input/Input.d.ts +3 -3
- package/Input/Input.js +7 -7
- package/Input/index.js +3 -3
- package/Input/inputClasses.js +1 -1
- package/InputAdornment/InputAdornment.d.ts +2 -2
- package/InputAdornment/InputAdornment.js +8 -8
- package/InputAdornment/index.js +3 -3
- package/InputBase/InputBase.d.ts +2 -2
- package/InputBase/InputBase.js +13 -13
- package/InputBase/index.js +3 -3
- package/InputLabel/InputLabel.d.ts +3 -3
- package/InputLabel/InputLabel.js +9 -9
- package/InputLabel/index.js +3 -3
- package/LinearProgress/LinearProgress.d.ts +2 -2
- package/LinearProgress/LinearProgress.js +5 -5
- package/LinearProgress/index.js +3 -3
- package/Link/Link.d.ts +4 -4
- package/Link/Link.js +7 -7
- package/Link/index.js +3 -3
- package/List/List.d.ts +3 -3
- package/List/List.js +4 -4
- package/List/index.js +3 -3
- package/ListItem/ListItem.d.ts +3 -3
- package/ListItem/ListItem.js +10 -10
- package/ListItem/index.js +3 -3
- package/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/ListItemAvatar/ListItemAvatar.js +4 -4
- package/ListItemAvatar/index.js +3 -3
- package/ListItemButton/ListItemButton.d.ts +3 -3
- package/ListItemButton/ListItemButton.js +9 -9
- package/ListItemButton/index.js +3 -3
- package/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/ListItemIcon/ListItemIcon.js +5 -5
- package/ListItemIcon/index.js +3 -3
- package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/ListItemSecondaryAction/index.js +3 -3
- package/ListItemText/ListItemText.d.ts +2 -2
- package/ListItemText/ListItemText.js +5 -5
- package/ListItemText/index.js +3 -3
- package/ListSubheader/ListSubheader.d.ts +2 -2
- package/ListSubheader/ListSubheader.js +5 -5
- package/ListSubheader/index.js +3 -3
- package/Menu/Menu.d.ts +4 -4
- package/Menu/Menu.js +6 -6
- package/Menu/index.js +3 -3
- package/MenuItem/MenuItem.d.ts +3 -3
- package/MenuItem/MenuItem.js +12 -12
- package/MenuItem/index.js +3 -3
- package/MenuList/MenuList.d.ts +4 -4
- package/MenuList/MenuList.js +5 -5
- package/MenuList/index.js +1 -1
- package/MobileStepper/MobileStepper.d.ts +3 -3
- package/MobileStepper/MobileStepper.js +8 -8
- package/MobileStepper/index.js +3 -3
- package/Modal/Modal.d.ts +7 -7
- package/Modal/Modal.js +10 -10
- package/Modal/index.js +4 -4
- package/Modal/useModal.d.ts +2 -2
- package/Modal/useModal.js +3 -3
- package/NativeSelect/NativeSelect.d.ts +4 -4
- package/NativeSelect/NativeSelect.js +7 -7
- package/NativeSelect/NativeSelectInput.js +4 -4
- package/NativeSelect/index.js +3 -3
- package/NoSsr/NoSsr.d.ts +2 -2
- package/NoSsr/NoSsr.js +2 -2
- package/NoSsr/index.js +1 -1
- package/OutlinedInput/NotchedOutline.js +3 -3
- package/OutlinedInput/OutlinedInput.d.ts +3 -3
- package/OutlinedInput/OutlinedInput.js +9 -9
- package/OutlinedInput/index.js +3 -3
- package/OutlinedInput/outlinedInputClasses.js +1 -1
- package/Pagination/Pagination.d.ts +9 -5
- package/Pagination/Pagination.js +7 -7
- package/Pagination/index.js +3 -3
- package/PaginationItem/PaginationItem.d.ts +2 -2
- package/PaginationItem/PaginationItem.js +11 -11
- package/PaginationItem/index.js +3 -3
- package/Paper/Paper.d.ts +3 -3
- package/Paper/Paper.js +5 -5
- package/Paper/index.js +3 -3
- package/PigmentContainer/PigmentContainer.d.ts +2 -2
- package/PigmentContainer/PigmentContainer.js +2 -2
- package/PigmentContainer/index.js +3 -3
- package/PigmentGrid/PigmentGrid.d.ts +2 -2
- package/PigmentGrid/PigmentGrid.js +2 -2
- package/PigmentGrid/index.js +3 -3
- package/PigmentHidden/PigmentHidden.d.ts +2 -2
- package/PigmentHidden/PigmentHidden.js +5 -5
- package/PigmentHidden/index.js +2 -2
- package/PigmentStack/PigmentStack.d.ts +2 -2
- package/PigmentStack/PigmentStack.js +2 -2
- package/PigmentStack/index.js +3 -3
- package/Popover/Popover.d.ts +5 -5
- package/Popover/Popover.js +12 -12
- package/Popover/index.js +4 -4
- package/Popper/BasePopper.js +2 -2
- package/Popper/Popper.d.ts +4 -4
- package/Popper/Popper.js +7 -7
- package/Popper/index.js +2 -2
- package/Portal/Portal.d.ts +2 -2
- package/Portal/Portal.js +2 -2
- package/Portal/index.js +1 -1
- package/README.md +1 -1
- package/Radio/Radio.d.ts +3 -3
- package/Radio/Radio.js +10 -10
- package/Radio/RadioButtonIcon.js +5 -5
- package/Radio/index.js +3 -3
- package/RadioGroup/RadioGroup.d.ts +3 -3
- package/RadioGroup/RadioGroup.js +6 -6
- package/RadioGroup/index.js +4 -4
- package/RadioGroup/useRadioGroup.js +1 -1
- package/Rating/Rating.d.ts +2 -2
- package/Rating/Rating.js +8 -8
- package/Rating/index.js +3 -3
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
- package/ScopedCssBaseline/ScopedCssBaseline.js +5 -5
- package/ScopedCssBaseline/index.js +3 -3
- package/Select/Select.d.ts +4 -4
- package/Select/Select.js +12 -12
- package/Select/SelectInput.js +10 -10
- package/Select/index.js +3 -3
- package/Skeleton/Skeleton.d.ts +2 -2
- package/Skeleton/Skeleton.js +5 -5
- package/Skeleton/index.js +3 -3
- package/Slide/Slide.d.ts +5 -5
- package/Slide/Slide.js +5 -5
- package/Slide/index.js +1 -1
- package/Slider/Slider.d.ts +2 -2
- package/Slider/Slider.js +10 -10
- package/Slider/SliderValueLabel.js +1 -1
- package/Slider/index.js +4 -4
- package/Slider/useSlider.d.ts +2 -2
- package/Slider/useSlider.js +3 -3
- package/Snackbar/Snackbar.d.ts +4 -4
- package/Snackbar/Snackbar.js +9 -9
- package/Snackbar/index.js +3 -3
- package/Snackbar/useSnackbar.d.ts +2 -2
- package/Snackbar/useSnackbar.js +2 -2
- package/SnackbarContent/SnackbarContent.d.ts +3 -3
- package/SnackbarContent/SnackbarContent.js +5 -5
- package/SnackbarContent/index.js +3 -3
- package/SpeedDial/SpeedDial.d.ts +3 -3
- package/SpeedDial/SpeedDial.js +11 -11
- package/SpeedDial/index.js +3 -3
- package/SpeedDialAction/SpeedDialAction.d.ts +3 -3
- package/SpeedDialAction/SpeedDialAction.js +7 -7
- package/SpeedDialAction/index.js +3 -3
- package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
- package/SpeedDialIcon/SpeedDialIcon.js +5 -5
- package/SpeedDialIcon/index.js +3 -3
- package/Stack/Stack.d.ts +2 -2
- package/Stack/Stack.js +2 -2
- package/Stack/index.js +2 -2
- package/Step/Step.d.ts +2 -2
- package/Step/Step.js +5 -5
- package/Step/index.js +5 -5
- package/StepButton/StepButton.d.ts +3 -3
- package/StepButton/StepButton.js +8 -8
- package/StepButton/index.js +3 -3
- package/StepConnector/StepConnector.d.ts +2 -2
- package/StepConnector/StepConnector.js +7 -7
- package/StepConnector/index.js +3 -3
- package/StepContent/StepContent.d.ts +3 -3
- package/StepContent/StepContent.js +7 -7
- package/StepContent/index.js +3 -3
- package/StepIcon/StepIcon.d.ts +2 -2
- package/StepIcon/StepIcon.js +7 -7
- package/StepIcon/index.js +3 -3
- package/StepLabel/StepLabel.d.ts +2 -2
- package/StepLabel/StepLabel.js +8 -8
- package/StepLabel/index.js +3 -3
- package/Stepper/Stepper.d.ts +3 -3
- package/Stepper/Stepper.js +5 -5
- package/Stepper/index.js +5 -5
- package/SvgIcon/SvgIcon.d.ts +3 -3
- package/SvgIcon/SvgIcon.js +5 -5
- package/SvgIcon/index.js +3 -3
- package/SwipeableDrawer/SwipeArea.js +5 -5
- package/SwipeableDrawer/SwipeableDrawer.d.ts +3 -3
- package/SwipeableDrawer/SwipeableDrawer.js +11 -11
- package/SwipeableDrawer/index.js +1 -1
- package/Switch/Switch.d.ts +4 -4
- package/Switch/Switch.js +6 -6
- package/Switch/index.js +3 -3
- package/Tab/Tab.d.ts +3 -3
- package/Tab/Tab.js +7 -7
- package/Tab/index.js +3 -3
- package/TabScrollButton/TabScrollButton.d.ts +2 -2
- package/TabScrollButton/TabScrollButton.js +6 -6
- package/TabScrollButton/index.js +3 -3
- package/Table/Table.d.ts +2 -2
- package/Table/Table.js +5 -5
- package/Table/index.js +3 -3
- package/TableBody/TableBody.d.ts +2 -2
- package/TableBody/TableBody.js +4 -4
- package/TableBody/index.js +3 -3
- package/TableCell/TableCell.d.ts +2 -2
- package/TableCell/TableCell.js +7 -7
- package/TableCell/index.js +3 -3
- package/TableContainer/TableContainer.d.ts +2 -2
- package/TableContainer/TableContainer.js +3 -3
- package/TableContainer/index.js +3 -3
- package/TableFooter/TableFooter.d.ts +2 -2
- package/TableFooter/TableFooter.js +4 -4
- package/TableFooter/index.js +3 -3
- package/TableHead/TableHead.d.ts +2 -2
- package/TableHead/TableHead.js +4 -4
- package/TableHead/index.js +3 -3
- package/TablePagination/TablePagination.d.ts +4 -4
- package/TablePagination/TablePagination.js +12 -12
- package/TablePagination/TablePaginationActions.js +5 -5
- package/TablePagination/index.js +3 -3
- package/TableRow/TableRow.d.ts +2 -2
- package/TableRow/TableRow.js +5 -5
- package/TableRow/index.js +3 -3
- package/TableSortLabel/TableSortLabel.d.ts +3 -3
- package/TableSortLabel/TableSortLabel.js +7 -7
- package/TableSortLabel/index.js +3 -3
- package/Tabs/ScrollbarSize.js +2 -2
- package/Tabs/Tabs.d.ts +2 -2
- package/Tabs/Tabs.js +11 -11
- package/Tabs/index.js +3 -3
- package/TextField/TextField.d.ts +10 -10
- package/TextField/TextField.js +11 -11
- package/TextField/index.js +3 -3
- package/TextareaAutosize/TextareaAutosize.d.ts +2 -2
- package/TextareaAutosize/TextareaAutosize.js +2 -2
- package/TextareaAutosize/index.js +1 -1
- package/ToggleButton/ToggleButton.d.ts +3 -3
- package/ToggleButton/ToggleButton.js +9 -9
- package/ToggleButton/index.js +3 -3
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/ToggleButtonGroup/ToggleButtonGroup.js +8 -8
- package/ToggleButtonGroup/index.js +3 -3
- package/Toolbar/Toolbar.d.ts +2 -2
- package/Toolbar/Toolbar.js +4 -4
- package/Toolbar/index.js +3 -3
- package/Tooltip/Tooltip.d.ts +4 -4
- package/Tooltip/Tooltip.js +11 -11
- package/Tooltip/index.js +3 -3
- package/Typography/Typography.d.ts +3 -3
- package/Typography/Typography.js +5 -5
- package/Typography/index.js +3 -3
- package/Unstable_TrapFocus/FocusTrap.types.d.ts +1 -1
- package/Unstable_TrapFocus/index.js +1 -1
- package/Zoom/Zoom.d.ts +4 -4
- package/Zoom/Zoom.js +3 -3
- package/Zoom/index.js +1 -1
- package/colors/index.js +20 -20
- package/index.js +275 -275
- package/internal/SwitchBase.js +7 -7
- package/internal/svg-icons/Add.js +1 -1
- package/internal/svg-icons/ArrowDownward.js +1 -1
- package/internal/svg-icons/ArrowDropDown.js +1 -1
- package/internal/svg-icons/Cancel.js +1 -1
- package/internal/svg-icons/CheckBox.js +1 -1
- package/internal/svg-icons/CheckBoxOutlineBlank.js +1 -1
- package/internal/svg-icons/CheckCircle.js +1 -1
- package/internal/svg-icons/Close.js +1 -1
- package/internal/svg-icons/ErrorOutline.js +1 -1
- package/internal/svg-icons/FirstPage.js +1 -1
- package/internal/svg-icons/IndeterminateCheckBox.js +1 -1
- package/internal/svg-icons/InfoOutlined.js +1 -1
- package/internal/svg-icons/KeyboardArrowLeft.js +1 -1
- package/internal/svg-icons/KeyboardArrowRight.js +1 -1
- package/internal/svg-icons/LastPage.js +1 -1
- package/internal/svg-icons/MoreHoriz.js +1 -1
- package/internal/svg-icons/NavigateBefore.js +1 -1
- package/internal/svg-icons/NavigateNext.js +1 -1
- package/internal/svg-icons/Person.js +1 -1
- package/internal/svg-icons/RadioButtonChecked.js +1 -1
- package/internal/svg-icons/RadioButtonUnchecked.js +1 -1
- package/internal/svg-icons/ReportProblemOutlined.js +1 -1
- package/internal/svg-icons/Star.js +1 -1
- package/internal/svg-icons/StarBorder.js +1 -1
- package/internal/svg-icons/SuccessOutlined.js +1 -1
- package/internal/svg-icons/Warning.js +1 -1
- package/modern/Accordion/Accordion.js +9 -9
- package/modern/Accordion/index.js +3 -3
- package/modern/AccordionActions/AccordionActions.js +3 -3
- package/modern/AccordionActions/index.js +3 -3
- package/modern/AccordionDetails/AccordionDetails.js +4 -4
- package/modern/AccordionDetails/index.js +3 -3
- package/modern/AccordionSummary/AccordionSummary.js +6 -6
- package/modern/AccordionSummary/index.js +3 -3
- package/modern/Alert/Alert.js +13 -13
- package/modern/Alert/index.js +3 -3
- package/modern/AlertTitle/AlertTitle.js +5 -5
- package/modern/AlertTitle/index.js +3 -3
- package/modern/AppBar/AppBar.js +6 -6
- package/modern/AppBar/index.js +3 -3
- package/modern/Autocomplete/Autocomplete.js +18 -18
- package/modern/Autocomplete/index.js +3 -3
- package/modern/Avatar/Avatar.js +6 -6
- package/modern/Avatar/index.js +3 -3
- package/modern/AvatarGroup/AvatarGroup.js +6 -6
- package/modern/AvatarGroup/index.js +3 -3
- package/modern/Backdrop/Backdrop.js +5 -5
- package/modern/Backdrop/index.js +3 -3
- package/modern/Badge/Badge.js +6 -6
- package/modern/Badge/index.js +3 -3
- package/modern/Badge/useBadge.js +2 -2
- package/modern/BottomNavigation/BottomNavigation.js +4 -4
- package/modern/BottomNavigation/index.js +3 -3
- package/modern/BottomNavigationAction/BottomNavigationAction.js +6 -6
- package/modern/BottomNavigationAction/index.js +3 -3
- package/modern/Box/Box.js +4 -4
- package/modern/Box/index.js +3 -3
- package/modern/Breadcrumbs/BreadcrumbCollapsed.js +4 -4
- package/modern/Breadcrumbs/Breadcrumbs.js +5 -5
- package/modern/Breadcrumbs/index.js +3 -3
- package/modern/Button/Button.js +9 -9
- package/modern/Button/index.js +3 -3
- package/modern/ButtonBase/ButtonBase.js +7 -7
- package/modern/ButtonBase/TouchRipple.js +4 -4
- package/modern/ButtonBase/index.js +5 -5
- package/modern/ButtonGroup/ButtonGroup.js +7 -7
- package/modern/ButtonGroup/index.js +5 -5
- package/modern/Card/Card.js +4 -4
- package/modern/Card/index.js +3 -3
- package/modern/CardActionArea/CardActionArea.js +5 -5
- package/modern/CardActionArea/index.js +3 -3
- package/modern/CardActions/CardActions.js +3 -3
- package/modern/CardActions/index.js +3 -3
- package/modern/CardContent/CardContent.js +3 -3
- package/modern/CardContent/index.js +3 -3
- package/modern/CardHeader/CardHeader.js +4 -4
- package/modern/CardHeader/index.js +3 -3
- package/modern/CardMedia/CardMedia.js +3 -3
- package/modern/CardMedia/index.js +3 -3
- package/modern/Checkbox/Checkbox.js +10 -10
- package/modern/Checkbox/index.js +3 -3
- package/modern/Chip/Chip.js +9 -9
- package/modern/Chip/index.js +3 -3
- package/modern/CircularProgress/CircularProgress.js +5 -5
- package/modern/CircularProgress/index.js +3 -3
- package/modern/ClickAwayListener/ClickAwayListener.js +3 -3
- package/modern/ClickAwayListener/index.js +1 -1
- package/modern/Collapse/Collapse.js +7 -7
- package/modern/Collapse/index.js +3 -3
- package/modern/Container/Container.js +3 -3
- package/modern/Container/index.js +3 -3
- package/modern/CssBaseline/CssBaseline.js +2 -2
- package/modern/CssBaseline/index.js +1 -1
- package/modern/DefaultPropsProvider/index.js +1 -1
- package/modern/Dialog/Dialog.js +10 -10
- package/modern/Dialog/index.js +3 -3
- package/modern/DialogActions/DialogActions.js +3 -3
- package/modern/DialogActions/index.js +3 -3
- package/modern/DialogContent/DialogContent.js +5 -5
- package/modern/DialogContent/index.js +3 -3
- package/modern/DialogContentText/DialogContentText.js +5 -5
- package/modern/DialogContentText/index.js +3 -3
- package/modern/DialogTitle/DialogTitle.js +5 -5
- package/modern/DialogTitle/index.js +3 -3
- package/modern/Divider/Divider.js +4 -4
- package/modern/Divider/index.js +3 -3
- package/modern/Drawer/Drawer.js +9 -9
- package/modern/Drawer/index.js +3 -3
- package/modern/Fab/Fab.js +7 -7
- package/modern/Fab/index.js +3 -3
- package/modern/Fade/Fade.js +3 -3
- package/modern/Fade/index.js +1 -1
- package/modern/FilledInput/FilledInput.js +8 -8
- package/modern/FilledInput/filledInputClasses.js +1 -1
- package/modern/FilledInput/index.js +3 -3
- package/modern/FormControl/FormControl.js +7 -7
- package/modern/FormControl/index.js +4 -4
- package/modern/FormControl/useFormControl.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +9 -9
- package/modern/FormControlLabel/index.js +3 -3
- package/modern/FormGroup/FormGroup.js +5 -5
- package/modern/FormGroup/index.js +3 -3
- package/modern/FormHelperText/FormHelperText.js +7 -7
- package/modern/FormHelperText/index.js +3 -3
- package/modern/FormLabel/FormLabel.js +7 -7
- package/modern/FormLabel/index.js +4 -4
- package/modern/GlobalStyles/GlobalStyles.js +2 -2
- package/modern/GlobalStyles/index.js +1 -1
- package/modern/Grid/Grid.js +7 -7
- package/modern/Grid/index.js +3 -3
- package/modern/Grid2/Grid2.js +3 -3
- package/modern/Grid2/index.js +4 -4
- package/modern/Grow/Grow.js +3 -3
- package/modern/Grow/index.js +1 -1
- package/modern/Hidden/Hidden.js +2 -2
- package/modern/Hidden/HiddenCss.js +4 -4
- package/modern/Hidden/HiddenJs.js +2 -2
- package/modern/Hidden/index.js +1 -1
- package/modern/Hidden/withWidth.js +3 -3
- package/modern/Icon/Icon.js +5 -5
- package/modern/Icon/index.js +3 -3
- package/modern/IconButton/IconButton.js +6 -6
- package/modern/IconButton/index.js +3 -3
- package/modern/ImageList/ImageList.js +4 -4
- package/modern/ImageList/index.js +3 -3
- package/modern/ImageListItem/ImageListItem.js +5 -5
- package/modern/ImageListItem/index.js +3 -3
- package/modern/ImageListItemBar/ImageListItemBar.js +5 -5
- package/modern/ImageListItemBar/index.js +3 -3
- package/modern/InitColorSchemeScript/index.js +1 -1
- package/modern/Input/Input.js +7 -7
- package/modern/Input/index.js +3 -3
- package/modern/Input/inputClasses.js +1 -1
- package/modern/InputAdornment/InputAdornment.js +8 -8
- package/modern/InputAdornment/index.js +3 -3
- package/modern/InputBase/InputBase.js +13 -13
- package/modern/InputBase/index.js +3 -3
- package/modern/InputLabel/InputLabel.js +9 -9
- package/modern/InputLabel/index.js +3 -3
- package/modern/LinearProgress/LinearProgress.js +5 -5
- package/modern/LinearProgress/index.js +3 -3
- package/modern/Link/Link.js +7 -7
- package/modern/Link/index.js +3 -3
- package/modern/List/List.js +4 -4
- package/modern/List/index.js +3 -3
- package/modern/ListItem/ListItem.js +10 -10
- package/modern/ListItem/index.js +3 -3
- package/modern/ListItemAvatar/ListItemAvatar.js +4 -4
- package/modern/ListItemAvatar/index.js +3 -3
- package/modern/ListItemButton/ListItemButton.js +9 -9
- package/modern/ListItemButton/index.js +3 -3
- package/modern/ListItemIcon/ListItemIcon.js +5 -5
- package/modern/ListItemIcon/index.js +3 -3
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/modern/ListItemSecondaryAction/index.js +3 -3
- package/modern/ListItemText/ListItemText.js +5 -5
- package/modern/ListItemText/index.js +3 -3
- package/modern/ListSubheader/ListSubheader.js +5 -5
- package/modern/ListSubheader/index.js +3 -3
- package/modern/Menu/Menu.js +6 -6
- package/modern/Menu/index.js +3 -3
- package/modern/MenuItem/MenuItem.js +12 -12
- package/modern/MenuItem/index.js +3 -3
- package/modern/MenuList/MenuList.js +5 -5
- package/modern/MenuList/index.js +1 -1
- package/modern/MobileStepper/MobileStepper.js +8 -8
- package/modern/MobileStepper/index.js +3 -3
- package/modern/Modal/Modal.js +10 -10
- package/modern/Modal/index.js +4 -4
- package/modern/Modal/useModal.js +3 -3
- package/modern/NativeSelect/NativeSelect.js +7 -7
- package/modern/NativeSelect/NativeSelectInput.js +4 -4
- package/modern/NativeSelect/index.js +3 -3
- package/modern/NoSsr/NoSsr.js +2 -2
- package/modern/NoSsr/index.js +1 -1
- package/modern/OutlinedInput/NotchedOutline.js +3 -3
- package/modern/OutlinedInput/OutlinedInput.js +9 -9
- package/modern/OutlinedInput/index.js +3 -3
- package/modern/OutlinedInput/outlinedInputClasses.js +1 -1
- package/modern/Pagination/Pagination.js +7 -7
- package/modern/Pagination/index.js +3 -3
- package/modern/PaginationItem/PaginationItem.js +11 -11
- package/modern/PaginationItem/index.js +3 -3
- package/modern/Paper/Paper.js +5 -5
- package/modern/Paper/index.js +3 -3
- package/modern/PigmentContainer/PigmentContainer.js +2 -2
- package/modern/PigmentContainer/index.js +3 -3
- package/modern/PigmentGrid/PigmentGrid.js +2 -2
- package/modern/PigmentGrid/index.js +3 -3
- package/modern/PigmentHidden/PigmentHidden.js +5 -5
- package/modern/PigmentHidden/index.js +2 -2
- package/modern/PigmentStack/PigmentStack.js +2 -2
- package/modern/PigmentStack/index.js +3 -3
- package/modern/Popover/Popover.js +12 -12
- package/modern/Popover/index.js +4 -4
- package/modern/Popper/BasePopper.js +2 -2
- package/modern/Popper/Popper.js +7 -7
- package/modern/Popper/index.js +2 -2
- package/modern/Portal/Portal.js +2 -2
- package/modern/Portal/index.js +1 -1
- package/modern/Radio/Radio.js +10 -10
- package/modern/Radio/RadioButtonIcon.js +5 -5
- package/modern/Radio/index.js +3 -3
- package/modern/RadioGroup/RadioGroup.js +6 -6
- package/modern/RadioGroup/index.js +4 -4
- package/modern/RadioGroup/useRadioGroup.js +1 -1
- package/modern/Rating/Rating.js +8 -8
- package/modern/Rating/index.js +3 -3
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +5 -5
- package/modern/ScopedCssBaseline/index.js +3 -3
- package/modern/Select/Select.js +12 -12
- package/modern/Select/SelectInput.js +10 -10
- package/modern/Select/index.js +3 -3
- package/modern/Skeleton/Skeleton.js +5 -5
- package/modern/Skeleton/index.js +3 -3
- package/modern/Slide/Slide.js +5 -5
- package/modern/Slide/index.js +1 -1
- package/modern/Slider/Slider.js +10 -10
- package/modern/Slider/SliderValueLabel.js +1 -1
- package/modern/Slider/index.js +4 -4
- package/modern/Slider/useSlider.js +3 -3
- package/modern/Snackbar/Snackbar.js +9 -9
- package/modern/Snackbar/index.js +3 -3
- package/modern/Snackbar/useSnackbar.js +2 -2
- package/modern/SnackbarContent/SnackbarContent.js +5 -5
- package/modern/SnackbarContent/index.js +3 -3
- package/modern/SpeedDial/SpeedDial.js +11 -11
- package/modern/SpeedDial/index.js +3 -3
- package/modern/SpeedDialAction/SpeedDialAction.js +7 -7
- package/modern/SpeedDialAction/index.js +3 -3
- package/modern/SpeedDialIcon/SpeedDialIcon.js +5 -5
- package/modern/SpeedDialIcon/index.js +3 -3
- package/modern/Stack/Stack.js +2 -2
- package/modern/Stack/index.js +2 -2
- package/modern/Step/Step.js +5 -5
- package/modern/Step/index.js +5 -5
- package/modern/StepButton/StepButton.js +8 -8
- package/modern/StepButton/index.js +3 -3
- package/modern/StepConnector/StepConnector.js +7 -7
- package/modern/StepConnector/index.js +3 -3
- package/modern/StepContent/StepContent.js +7 -7
- package/modern/StepContent/index.js +3 -3
- package/modern/StepIcon/StepIcon.js +7 -7
- package/modern/StepIcon/index.js +3 -3
- package/modern/StepLabel/StepLabel.js +8 -8
- package/modern/StepLabel/index.js +3 -3
- package/modern/Stepper/Stepper.js +5 -5
- package/modern/Stepper/index.js +5 -5
- package/modern/SvgIcon/SvgIcon.js +5 -5
- package/modern/SvgIcon/index.js +3 -3
- package/modern/SwipeableDrawer/SwipeArea.js +5 -5
- package/modern/SwipeableDrawer/SwipeableDrawer.js +11 -11
- package/modern/SwipeableDrawer/index.js +1 -1
- package/modern/Switch/Switch.js +6 -6
- package/modern/Switch/index.js +3 -3
- package/modern/Tab/Tab.js +7 -7
- package/modern/Tab/index.js +3 -3
- package/modern/TabScrollButton/TabScrollButton.js +6 -6
- package/modern/TabScrollButton/index.js +3 -3
- package/modern/Table/Table.js +5 -5
- package/modern/Table/index.js +3 -3
- package/modern/TableBody/TableBody.js +4 -4
- package/modern/TableBody/index.js +3 -3
- package/modern/TableCell/TableCell.js +7 -7
- package/modern/TableCell/index.js +3 -3
- package/modern/TableContainer/TableContainer.js +3 -3
- package/modern/TableContainer/index.js +3 -3
- package/modern/TableFooter/TableFooter.js +4 -4
- package/modern/TableFooter/index.js +3 -3
- package/modern/TableHead/TableHead.js +4 -4
- package/modern/TableHead/index.js +3 -3
- package/modern/TablePagination/TablePagination.js +12 -12
- package/modern/TablePagination/TablePaginationActions.js +5 -5
- package/modern/TablePagination/index.js +3 -3
- package/modern/TableRow/TableRow.js +5 -5
- package/modern/TableRow/index.js +3 -3
- package/modern/TableSortLabel/TableSortLabel.js +7 -7
- package/modern/TableSortLabel/index.js +3 -3
- package/modern/Tabs/ScrollbarSize.js +2 -2
- package/modern/Tabs/Tabs.js +11 -11
- package/modern/Tabs/index.js +3 -3
- package/modern/TextField/TextField.js +11 -11
- package/modern/TextField/index.js +3 -3
- package/modern/TextareaAutosize/TextareaAutosize.js +2 -2
- package/modern/TextareaAutosize/index.js +1 -1
- package/modern/ToggleButton/ToggleButton.js +9 -9
- package/modern/ToggleButton/index.js +3 -3
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +8 -8
- package/modern/ToggleButtonGroup/index.js +3 -3
- package/modern/Toolbar/Toolbar.js +4 -4
- package/modern/Toolbar/index.js +3 -3
- package/modern/Tooltip/Tooltip.js +11 -11
- package/modern/Tooltip/index.js +3 -3
- package/modern/Typography/Typography.js +5 -5
- package/modern/Typography/index.js +3 -3
- package/modern/Unstable_TrapFocus/index.js +1 -1
- package/modern/Zoom/Zoom.js +3 -3
- package/modern/Zoom/index.js +1 -1
- package/modern/colors/index.js +20 -20
- package/modern/index.js +275 -275
- package/modern/internal/SwitchBase.js +7 -7
- package/modern/internal/svg-icons/Add.js +1 -1
- package/modern/internal/svg-icons/ArrowDownward.js +1 -1
- package/modern/internal/svg-icons/ArrowDropDown.js +1 -1
- package/modern/internal/svg-icons/Cancel.js +1 -1
- package/modern/internal/svg-icons/CheckBox.js +1 -1
- package/modern/internal/svg-icons/CheckBoxOutlineBlank.js +1 -1
- package/modern/internal/svg-icons/CheckCircle.js +1 -1
- package/modern/internal/svg-icons/Close.js +1 -1
- package/modern/internal/svg-icons/ErrorOutline.js +1 -1
- package/modern/internal/svg-icons/FirstPage.js +1 -1
- package/modern/internal/svg-icons/IndeterminateCheckBox.js +1 -1
- package/modern/internal/svg-icons/InfoOutlined.js +1 -1
- package/modern/internal/svg-icons/KeyboardArrowLeft.js +1 -1
- package/modern/internal/svg-icons/KeyboardArrowRight.js +1 -1
- package/modern/internal/svg-icons/LastPage.js +1 -1
- package/modern/internal/svg-icons/MoreHoriz.js +1 -1
- package/modern/internal/svg-icons/NavigateBefore.js +1 -1
- package/modern/internal/svg-icons/NavigateNext.js +1 -1
- package/modern/internal/svg-icons/Person.js +1 -1
- package/modern/internal/svg-icons/RadioButtonChecked.js +1 -1
- package/modern/internal/svg-icons/RadioButtonUnchecked.js +1 -1
- package/modern/internal/svg-icons/ReportProblemOutlined.js +1 -1
- package/modern/internal/svg-icons/Star.js +1 -1
- package/modern/internal/svg-icons/StarBorder.js +1 -1
- package/modern/internal/svg-icons/SuccessOutlined.js +1 -1
- package/modern/internal/svg-icons/Warning.js +1 -1
- package/modern/styles/ThemeProvider.js +3 -3
- package/modern/styles/ThemeProviderNoVars.js +1 -1
- package/modern/styles/ThemeProviderWithVars.js +4 -4
- package/modern/styles/createColorScheme.js +2 -2
- package/modern/styles/createGetSelector.js +1 -1
- package/modern/styles/createMuiStrictModeTheme.js +1 -1
- package/modern/styles/createPalette.js +8 -8
- package/modern/styles/createTheme.js +4 -4
- package/modern/styles/createThemeNoVars.js +6 -6
- package/modern/styles/createThemeWithVars.js +5 -5
- package/modern/styles/defaultTheme.js +1 -1
- package/modern/styles/experimental_extendTheme.js +1 -1
- package/modern/styles/index.js +25 -25
- package/modern/styles/responsiveFontSizes.js +1 -1
- package/modern/styles/rootShouldForwardProp.js +1 -1
- package/modern/styles/styled.js +5 -5
- package/modern/styles/useTheme.js +2 -2
- package/modern/styles/useThemeProps.js +2 -2
- package/modern/transitions/index.js +1 -1
- package/modern/useAutocomplete/index.js +1 -1
- package/modern/useLazyRipple/index.js +1 -1
- package/modern/usePagination/index.js +1 -1
- package/modern/useScrollTrigger/index.js +1 -1
- package/modern/utils/createSvgIcon.js +1 -1
- package/modern/utils/index.js +17 -16
- package/modern/utils/shouldSpreadAdditionalProps.js +1 -1
- package/modern/version/index.js +3 -3
- package/modern/zero-styled/index.js +3 -3
- package/node/Badge/useBadge.js +2 -2
- package/node/ClickAwayListener/ClickAwayListener.js +3 -3
- package/node/Grid/Grid.js +1 -1
- package/node/Grid2/Grid2.js +2 -2
- package/node/Modal/useModal.js +2 -2
- package/node/NoSsr/NoSsr.js +2 -2
- package/node/Pagination/Pagination.js +2 -2
- package/node/PigmentContainer/PigmentContainer.js +2 -2
- package/node/PigmentGrid/PigmentGrid.js +2 -2
- package/node/PigmentHidden/PigmentHidden.js +2 -2
- package/node/PigmentStack/PigmentStack.js +2 -2
- package/node/Popper/Popper.js +4 -4
- package/node/Portal/Portal.js +2 -2
- package/node/Slider/useSlider.js +2 -2
- package/node/Snackbar/useSnackbar.js +2 -2
- package/node/TextareaAutosize/TextareaAutosize.js +2 -2
- package/node/index.js +1 -1
- package/node/utils/index.js +7 -0
- package/node/version/index.js +3 -3
- package/package.json +6 -6
- package/styles/ThemeProvider.js +3 -3
- package/styles/ThemeProviderNoVars.js +1 -1
- package/styles/ThemeProviderWithVars.js +4 -4
- package/styles/createColorScheme.js +2 -2
- package/styles/createGetSelector.js +1 -1
- package/styles/createMuiStrictModeTheme.js +1 -1
- package/styles/createPalette.js +8 -8
- package/styles/createTheme.js +4 -4
- package/styles/createThemeNoVars.js +6 -6
- package/styles/createThemeWithVars.js +5 -5
- package/styles/defaultTheme.js +1 -1
- package/styles/experimental_extendTheme.js +1 -1
- package/styles/index.js +25 -25
- package/styles/responsiveFontSizes.js +1 -1
- package/styles/rootShouldForwardProp.js +1 -1
- package/styles/styled.js +5 -5
- package/styles/useTheme.js +2 -2
- package/styles/useThemeProps.js +2 -2
- package/transitions/index.js +1 -1
- package/useAutocomplete/index.js +1 -1
- package/useAutocomplete/useAutocomplete.d.ts +2 -2
- package/useLazyRipple/index.js +1 -1
- package/usePagination/index.js +1 -1
- package/useScrollTrigger/index.js +1 -1
- package/utils/createSvgIcon.js +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/index.js +17 -16
- package/utils/shouldSpreadAdditionalProps.js +1 -1
- package/version/index.js +3 -3
- package/zero-styled/index.js +3 -3
package/MenuItem/MenuItem.d.ts
CHANGED
|
@@ -60,12 +60,12 @@ export type MenuItemTypeMap<
|
|
|
60
60
|
*
|
|
61
61
|
* Demos:
|
|
62
62
|
*
|
|
63
|
-
* - [Menu](https://
|
|
63
|
+
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
64
64
|
*
|
|
65
65
|
* API:
|
|
66
66
|
*
|
|
67
|
-
* - [MenuItem API](https://
|
|
68
|
-
* - inherits [ButtonBase API](https://
|
|
67
|
+
* - [MenuItem API](https://mui.com/material-ui/api/menu-item/)
|
|
68
|
+
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
|
|
69
69
|
*/
|
|
70
70
|
declare const MenuItem: ExtendButtonBase<MenuItemTypeMap>;
|
|
71
71
|
|
package/MenuItem/MenuItem.js
CHANGED
|
@@ -5,18 +5,18 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import { alpha } from '@mui/system/colorManipulator';
|
|
8
|
-
import rootShouldForwardProp from
|
|
9
|
-
import { styled } from
|
|
10
|
-
import memoTheme from
|
|
11
|
-
import { useDefaultProps } from
|
|
12
|
-
import ListContext from
|
|
13
|
-
import ButtonBase from
|
|
14
|
-
import useEnhancedEffect from
|
|
15
|
-
import useForkRef from
|
|
16
|
-
import { dividerClasses } from
|
|
17
|
-
import { listItemIconClasses } from
|
|
18
|
-
import { listItemTextClasses } from
|
|
19
|
-
import menuItemClasses, { getMenuItemUtilityClass } from
|
|
8
|
+
import rootShouldForwardProp from "../styles/rootShouldForwardProp.js";
|
|
9
|
+
import { styled } from "../zero-styled/index.js";
|
|
10
|
+
import memoTheme from "../utils/memoTheme.js";
|
|
11
|
+
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
|
|
12
|
+
import ListContext from "../List/ListContext.js";
|
|
13
|
+
import ButtonBase from "../ButtonBase/index.js";
|
|
14
|
+
import useEnhancedEffect from "../utils/useEnhancedEffect.js";
|
|
15
|
+
import useForkRef from "../utils/useForkRef.js";
|
|
16
|
+
import { dividerClasses } from "../Divider/index.js";
|
|
17
|
+
import { listItemIconClasses } from "../ListItemIcon/index.js";
|
|
18
|
+
import { listItemTextClasses } from "../ListItemText/index.js";
|
|
19
|
+
import menuItemClasses, { getMenuItemUtilityClass } from "./menuItemClasses.js";
|
|
20
20
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
21
21
|
export const overridesResolver = (props, styles) => {
|
|
22
22
|
const {
|
package/MenuItem/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
export { default } from
|
|
4
|
-
export * from
|
|
5
|
-
export { default as menuItemClasses } from
|
|
3
|
+
export { default } from "./MenuItem.js";
|
|
4
|
+
export * from "./menuItemClasses.js";
|
|
5
|
+
export { default as menuItemClasses } from "./menuItemClasses.js";
|
package/MenuList/MenuList.d.ts
CHANGED
|
@@ -48,18 +48,18 @@ export type MenuListClassKey = keyof NonNullable<MenuListTypeMap['props']['class
|
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* A permanently displayed menu following https://www.w3.org/WAI/ARIA/apg/patterns/menu-button/.
|
|
51
|
-
* It's exposed to help customization of the [`Menu`](https://
|
|
51
|
+
* It's exposed to help customization of the [`Menu`](https://mui.com/material-ui/api/menu/) component if you
|
|
52
52
|
* use it separately you need to move focus into the component manually. Once
|
|
53
53
|
* the focus is placed inside the component it is fully keyboard accessible.
|
|
54
54
|
*
|
|
55
55
|
* Demos:
|
|
56
56
|
*
|
|
57
|
-
* - [Menu](https://
|
|
57
|
+
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
58
58
|
*
|
|
59
59
|
* API:
|
|
60
60
|
*
|
|
61
|
-
* - [MenuList API](https://
|
|
62
|
-
* - inherits [List API](https://
|
|
61
|
+
* - [MenuList API](https://mui.com/material-ui/api/menu-list/)
|
|
62
|
+
* - inherits [List API](https://mui.com/material-ui/api/list/)
|
|
63
63
|
*/
|
|
64
64
|
declare const MenuList: ExtendList<MenuListTypeMap>;
|
|
65
65
|
|
package/MenuList/MenuList.js
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { isFragment } from 'react-is';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import ownerDocument from
|
|
7
|
-
import List from
|
|
8
|
-
import getScrollbarSize from
|
|
9
|
-
import useForkRef from
|
|
10
|
-
import useEnhancedEffect from
|
|
6
|
+
import ownerDocument from "../utils/ownerDocument.js";
|
|
7
|
+
import List from "../List/index.js";
|
|
8
|
+
import getScrollbarSize from "../utils/getScrollbarSize.js";
|
|
9
|
+
import useForkRef from "../utils/useForkRef.js";
|
|
10
|
+
import useEnhancedEffect from "../utils/useEnhancedEffect.js";
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
function nextItem(list, item, disableListWrap) {
|
|
13
13
|
if (list === item) {
|
package/MenuList/index.js
CHANGED
|
@@ -52,11 +52,11 @@ export interface MobileStepperProps extends StandardProps<PaperProps, 'children'
|
|
|
52
52
|
*
|
|
53
53
|
* Demos:
|
|
54
54
|
*
|
|
55
|
-
* - [Stepper](https://
|
|
55
|
+
* - [Stepper](https://mui.com/material-ui/react-stepper/)
|
|
56
56
|
*
|
|
57
57
|
* API:
|
|
58
58
|
*
|
|
59
|
-
* - [MobileStepper API](https://
|
|
60
|
-
* - inherits [Paper API](https://
|
|
59
|
+
* - [MobileStepper API](https://mui.com/material-ui/api/mobile-stepper/)
|
|
60
|
+
* - inherits [Paper API](https://mui.com/material-ui/api/paper/)
|
|
61
61
|
*/
|
|
62
62
|
export default function MobileStepper(props: MobileStepperProps): React.JSX.Element;
|
|
@@ -5,14 +5,14 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import integerPropType from '@mui/utils/integerPropType';
|
|
7
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
8
|
-
import Paper from
|
|
9
|
-
import capitalize from
|
|
10
|
-
import LinearProgress from
|
|
11
|
-
import { styled } from
|
|
12
|
-
import memoTheme from
|
|
13
|
-
import { useDefaultProps } from
|
|
14
|
-
import slotShouldForwardProp from
|
|
15
|
-
import { getMobileStepperUtilityClass } from
|
|
8
|
+
import Paper from "../Paper/index.js";
|
|
9
|
+
import capitalize from "../utils/capitalize.js";
|
|
10
|
+
import LinearProgress from "../LinearProgress/index.js";
|
|
11
|
+
import { styled } from "../zero-styled/index.js";
|
|
12
|
+
import memoTheme from "../utils/memoTheme.js";
|
|
13
|
+
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
|
|
14
|
+
import slotShouldForwardProp from "../styles/slotShouldForwardProp.js";
|
|
15
|
+
import { getMobileStepperUtilityClass } from "./mobileStepperClasses.js";
|
|
16
16
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
const useUtilityClasses = ownerState => {
|
|
18
18
|
const {
|
package/MobileStepper/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
export { default } from
|
|
4
|
-
export { default as mobileStepperClasses } from
|
|
5
|
-
export * from
|
|
3
|
+
export { default } from "./MobileStepper.js";
|
|
4
|
+
export { default as mobileStepperClasses } from "./mobileStepperClasses.js";
|
|
5
|
+
export * from "./mobileStepperClasses.js";
|
package/Modal/Modal.d.ts
CHANGED
|
@@ -211,23 +211,23 @@ export declare const ModalRoot: React.FC<ModalRootProps>;
|
|
|
211
211
|
/**
|
|
212
212
|
* Modal is a lower-level construct that is leveraged by the following components:
|
|
213
213
|
*
|
|
214
|
-
* * [Dialog](https://
|
|
215
|
-
* * [Drawer](https://
|
|
216
|
-
* * [Menu](https://
|
|
217
|
-
* * [Popover](https://
|
|
214
|
+
* * [Dialog](https://mui.com/material-ui/api/dialog/)
|
|
215
|
+
* * [Drawer](https://mui.com/material-ui/api/drawer/)
|
|
216
|
+
* * [Menu](https://mui.com/material-ui/api/menu/)
|
|
217
|
+
* * [Popover](https://mui.com/material-ui/api/popover/)
|
|
218
218
|
*
|
|
219
|
-
* If you are creating a modal dialog, you probably want to use the [Dialog](https://
|
|
219
|
+
* If you are creating a modal dialog, you probably want to use the [Dialog](https://mui.com/material-ui/api/dialog/) component
|
|
220
220
|
* rather than directly using Modal.
|
|
221
221
|
*
|
|
222
222
|
* This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).
|
|
223
223
|
*
|
|
224
224
|
* Demos:
|
|
225
225
|
*
|
|
226
|
-
* - [Modal](https://
|
|
226
|
+
* - [Modal](https://mui.com/material-ui/react-modal/)
|
|
227
227
|
*
|
|
228
228
|
* API:
|
|
229
229
|
*
|
|
230
|
-
* - [Modal API](https://
|
|
230
|
+
* - [Modal API](https://mui.com/material-ui/api/modal/)
|
|
231
231
|
*/
|
|
232
232
|
declare const Modal: OverridableComponent<ModalTypeMap>;
|
|
233
233
|
|
package/Modal/Modal.js
CHANGED
|
@@ -6,16 +6,16 @@ import clsx from 'clsx';
|
|
|
6
6
|
import HTMLElementType from '@mui/utils/HTMLElementType';
|
|
7
7
|
import elementAcceptingRef from '@mui/utils/elementAcceptingRef';
|
|
8
8
|
import composeClasses from '@mui/utils/composeClasses';
|
|
9
|
-
import FocusTrap from
|
|
10
|
-
import Portal from
|
|
11
|
-
import { styled } from
|
|
12
|
-
import memoTheme from
|
|
13
|
-
import { useDefaultProps } from
|
|
14
|
-
import Backdrop from
|
|
15
|
-
import useModal from
|
|
16
|
-
import { getModalUtilityClass } from
|
|
17
|
-
import useSlot from
|
|
18
|
-
import { useForkRef } from
|
|
9
|
+
import FocusTrap from "../Unstable_TrapFocus/index.js";
|
|
10
|
+
import Portal from "../Portal/index.js";
|
|
11
|
+
import { styled } from "../zero-styled/index.js";
|
|
12
|
+
import memoTheme from "../utils/memoTheme.js";
|
|
13
|
+
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
|
|
14
|
+
import Backdrop from "../Backdrop/index.js";
|
|
15
|
+
import useModal from "./useModal.js";
|
|
16
|
+
import { getModalUtilityClass } from "./modalClasses.js";
|
|
17
|
+
import useSlot from "../utils/useSlot.js";
|
|
18
|
+
import { useForkRef } from "../utils/index.js";
|
|
19
19
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
20
|
const useUtilityClasses = ownerState => {
|
|
21
21
|
const {
|
package/Modal/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
export { ModalManager } from
|
|
4
|
-
export { default } from
|
|
5
|
-
export { default as modalClasses } from
|
|
6
|
-
export * from
|
|
3
|
+
export { ModalManager } from "./ModalManager.js";
|
|
4
|
+
export { default } from "./Modal.js";
|
|
5
|
+
export { default as modalClasses } from "./modalClasses.js";
|
|
6
|
+
export * from "./modalClasses.js";
|
package/Modal/useModal.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ import { UseModalParameters, UseModalReturnValue } from './useModal.types';
|
|
|
3
3
|
*
|
|
4
4
|
* Demos:
|
|
5
5
|
*
|
|
6
|
-
* - [Modal](https://
|
|
6
|
+
* - [Modal](https://mui.com/base-ui/react-modal/#hook)
|
|
7
7
|
*
|
|
8
8
|
* API:
|
|
9
9
|
*
|
|
10
|
-
* - [useModal API](https://
|
|
10
|
+
* - [useModal API](https://mui.com/base-ui/react-modal/hooks-api/#use-modal)
|
|
11
11
|
*/
|
|
12
12
|
declare function useModal(parameters: UseModalParameters): UseModalReturnValue;
|
|
13
13
|
export default useModal;
|
package/Modal/useModal.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { unstable_ownerDocument as ownerDocument, unstable_useForkRef as useForkRef, unstable_useEventCallback as useEventCallback, unstable_createChainedFunction as createChainedFunction } from '@mui/utils';
|
|
5
5
|
import extractEventHandlers from '@mui/utils/extractEventHandlers';
|
|
6
|
-
import { ModalManager, ariaHidden } from
|
|
6
|
+
import { ModalManager, ariaHidden } from "./ModalManager.js";
|
|
7
7
|
function getContainer(container) {
|
|
8
8
|
return typeof container === 'function' ? container() : container;
|
|
9
9
|
}
|
|
@@ -18,11 +18,11 @@ const defaultManager = new ModalManager();
|
|
|
18
18
|
*
|
|
19
19
|
* Demos:
|
|
20
20
|
*
|
|
21
|
-
* - [Modal](https://
|
|
21
|
+
* - [Modal](https://mui.com/base-ui/react-modal/#hook)
|
|
22
22
|
*
|
|
23
23
|
* API:
|
|
24
24
|
*
|
|
25
|
-
* - [useModal API](https://
|
|
25
|
+
* - [useModal API](https://mui.com/base-ui/react-modal/hooks-api/#use-modal)
|
|
26
26
|
*/
|
|
27
27
|
function useModal(parameters) {
|
|
28
28
|
const {
|
|
@@ -26,7 +26,7 @@ export interface NativeSelectProps
|
|
|
26
26
|
* An `Input` element; does not have to be a material-ui specific `Input`.
|
|
27
27
|
* @default <Input />
|
|
28
28
|
*/
|
|
29
|
-
input?: React.ReactElement<
|
|
29
|
+
input?: React.ReactElement<unknown, any>;
|
|
30
30
|
/**
|
|
31
31
|
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attributes) applied to the `select` element.
|
|
32
32
|
*/
|
|
@@ -57,12 +57,12 @@ export interface NativeSelectProps
|
|
|
57
57
|
*
|
|
58
58
|
* Demos:
|
|
59
59
|
*
|
|
60
|
-
* - [Select](https://
|
|
60
|
+
* - [Select](https://mui.com/material-ui/react-select/)
|
|
61
61
|
*
|
|
62
62
|
* API:
|
|
63
63
|
*
|
|
64
|
-
* - [NativeSelect API](https://
|
|
65
|
-
* - inherits [Input API](https://
|
|
64
|
+
* - [NativeSelect API](https://mui.com/material-ui/api/native-select/)
|
|
65
|
+
* - inherits [Input API](https://mui.com/material-ui/api/input/)
|
|
66
66
|
*/
|
|
67
67
|
declare const NativeSelect: ((props: NativeSelectProps) => React.JSX.Element) & { muiName: string };
|
|
68
68
|
|
|
@@ -4,13 +4,13 @@ import * as React from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
|
-
import NativeSelectInput from
|
|
8
|
-
import formControlState from
|
|
9
|
-
import useFormControl from
|
|
10
|
-
import ArrowDropDownIcon from
|
|
11
|
-
import Input from
|
|
12
|
-
import useThemeProps from
|
|
13
|
-
import { getNativeSelectUtilityClasses } from
|
|
7
|
+
import NativeSelectInput from "./NativeSelectInput.js";
|
|
8
|
+
import formControlState from "../FormControl/formControlState.js";
|
|
9
|
+
import useFormControl from "../FormControl/useFormControl.js";
|
|
10
|
+
import ArrowDropDownIcon from "../internal/svg-icons/ArrowDropDown.js";
|
|
11
|
+
import Input from "../Input/index.js";
|
|
12
|
+
import useThemeProps from "../styles/useThemeProps.js";
|
|
13
|
+
import { getNativeSelectUtilityClasses } from "./nativeSelectClasses.js";
|
|
14
14
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
15
|
const useUtilityClasses = ownerState => {
|
|
16
16
|
const {
|
|
@@ -5,10 +5,10 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import refType from '@mui/utils/refType';
|
|
7
7
|
import composeClasses from '@mui/utils/composeClasses';
|
|
8
|
-
import capitalize from
|
|
9
|
-
import nativeSelectClasses, { getNativeSelectUtilityClasses } from
|
|
10
|
-
import { styled } from
|
|
11
|
-
import rootShouldForwardProp from
|
|
8
|
+
import capitalize from "../utils/capitalize.js";
|
|
9
|
+
import nativeSelectClasses, { getNativeSelectUtilityClasses } from "./nativeSelectClasses.js";
|
|
10
|
+
import { styled } from "../zero-styled/index.js";
|
|
11
|
+
import rootShouldForwardProp from "../styles/rootShouldForwardProp.js";
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
const useUtilityClasses = ownerState => {
|
|
14
14
|
const {
|
package/NativeSelect/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
export { default } from
|
|
4
|
-
export { default as nativeSelectClasses } from
|
|
5
|
-
export * from
|
|
3
|
+
export { default } from "./NativeSelect.js";
|
|
4
|
+
export { default as nativeSelectClasses } from "./nativeSelectClasses.js";
|
|
5
|
+
export * from "./nativeSelectClasses.js";
|
package/NoSsr/NoSsr.d.ts
CHANGED
|
@@ -12,11 +12,11 @@ import { NoSsrProps } from './NoSsr.types';
|
|
|
12
12
|
*
|
|
13
13
|
* Demos:
|
|
14
14
|
*
|
|
15
|
-
* - [No SSR](https://
|
|
15
|
+
* - [No SSR](https://mui.com/material-ui/react-no-ssr/)
|
|
16
16
|
*
|
|
17
17
|
* API:
|
|
18
18
|
*
|
|
19
|
-
* - [NoSsr API](https://
|
|
19
|
+
* - [NoSsr API](https://mui.com/material-ui/api/no-ssr/)
|
|
20
20
|
*/
|
|
21
21
|
declare function NoSsr(props: NoSsrProps): React.JSX.Element;
|
|
22
22
|
declare namespace NoSsr {
|
package/NoSsr/NoSsr.js
CHANGED
|
@@ -16,11 +16,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
16
16
|
*
|
|
17
17
|
* Demos:
|
|
18
18
|
*
|
|
19
|
-
* - [No SSR](https://
|
|
19
|
+
* - [No SSR](https://mui.com/material-ui/react-no-ssr/)
|
|
20
20
|
*
|
|
21
21
|
* API:
|
|
22
22
|
*
|
|
23
|
-
* - [NoSsr API](https://
|
|
23
|
+
* - [NoSsr API](https://mui.com/material-ui/api/no-ssr/)
|
|
24
24
|
*/
|
|
25
25
|
function NoSsr(props) {
|
|
26
26
|
const {
|
package/NoSsr/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from
|
|
1
|
+
export { default } from "./NoSsr.js";
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var _span;
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
-
import rootShouldForwardProp from
|
|
7
|
-
import { styled } from
|
|
8
|
-
import memoTheme from
|
|
6
|
+
import rootShouldForwardProp from "../styles/rootShouldForwardProp.js";
|
|
7
|
+
import { styled } from "../zero-styled/index.js";
|
|
8
|
+
import memoTheme from "../utils/memoTheme.js";
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
const NotchedOutlineRoot = styled('fieldset', {
|
|
11
11
|
shouldForwardProp: rootShouldForwardProp
|
|
@@ -28,12 +28,12 @@ export interface OutlinedInputProps extends StandardProps<InputBaseProps> {
|
|
|
28
28
|
*
|
|
29
29
|
* Demos:
|
|
30
30
|
*
|
|
31
|
-
* - [Text Field](https://
|
|
31
|
+
* - [Text Field](https://mui.com/material-ui/react-text-field/)
|
|
32
32
|
*
|
|
33
33
|
* API:
|
|
34
34
|
*
|
|
35
|
-
* - [OutlinedInput API](https://
|
|
36
|
-
* - inherits [InputBase API](https://
|
|
35
|
+
* - [OutlinedInput API](https://mui.com/material-ui/api/outlined-input/)
|
|
36
|
+
* - inherits [InputBase API](https://mui.com/material-ui/api/input-base/)
|
|
37
37
|
*/
|
|
38
38
|
declare const OutlinedInput: ((props: OutlinedInputProps) => React.JSX.Element) & {
|
|
39
39
|
muiName: string;
|
|
@@ -4,15 +4,15 @@ import * as React from 'react';
|
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
5
|
import refType from '@mui/utils/refType';
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
|
-
import NotchedOutline from
|
|
8
|
-
import useFormControl from
|
|
9
|
-
import formControlState from
|
|
10
|
-
import rootShouldForwardProp from
|
|
11
|
-
import { styled } from
|
|
12
|
-
import memoTheme from
|
|
13
|
-
import { useDefaultProps } from
|
|
14
|
-
import outlinedInputClasses, { getOutlinedInputUtilityClass } from
|
|
15
|
-
import InputBase, { rootOverridesResolver as inputBaseRootOverridesResolver, inputOverridesResolver as inputBaseInputOverridesResolver, InputBaseRoot, InputBaseInput } from
|
|
7
|
+
import NotchedOutline from "./NotchedOutline.js";
|
|
8
|
+
import useFormControl from "../FormControl/useFormControl.js";
|
|
9
|
+
import formControlState from "../FormControl/formControlState.js";
|
|
10
|
+
import rootShouldForwardProp from "../styles/rootShouldForwardProp.js";
|
|
11
|
+
import { styled } from "../zero-styled/index.js";
|
|
12
|
+
import memoTheme from "../utils/memoTheme.js";
|
|
13
|
+
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
|
|
14
|
+
import outlinedInputClasses, { getOutlinedInputUtilityClass } from "./outlinedInputClasses.js";
|
|
15
|
+
import InputBase, { rootOverridesResolver as inputBaseRootOverridesResolver, inputOverridesResolver as inputBaseInputOverridesResolver, InputBaseRoot, InputBaseInput } from "../InputBase/InputBase.js";
|
|
16
16
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
|
17
17
|
const useUtilityClasses = ownerState => {
|
|
18
18
|
const {
|
package/OutlinedInput/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
export { default } from
|
|
4
|
-
export { default as outlinedInputClasses } from
|
|
5
|
-
export * from
|
|
3
|
+
export { default } from "./OutlinedInput.js";
|
|
4
|
+
export { default as outlinedInputClasses } from "./outlinedInputClasses.js";
|
|
5
|
+
export * from "./outlinedInputClasses.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
2
2
|
import generateUtilityClass from '@mui/utils/generateUtilityClass';
|
|
3
|
-
import { inputBaseClasses } from
|
|
3
|
+
import { inputBaseClasses } from "../InputBase/index.js";
|
|
4
4
|
export function getOutlinedInputUtilityClass(slot) {
|
|
5
5
|
return generateUtilityClass('MuiOutlinedInput', slot);
|
|
6
6
|
}
|
|
@@ -42,11 +42,15 @@ export interface PaginationProps
|
|
|
42
42
|
*
|
|
43
43
|
* For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).
|
|
44
44
|
* @param {string} type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous' | 'start-ellipsis' | 'end-ellipsis'). Defaults to 'page'.
|
|
45
|
-
* @param {number} page The page number to format.
|
|
46
|
-
* @param {
|
|
45
|
+
* @param {number | null} page The page number to format.
|
|
46
|
+
* @param {boolean} selected If true, the current page is selected.
|
|
47
47
|
* @returns {string}
|
|
48
48
|
*/
|
|
49
|
-
getItemAriaLabel?: (
|
|
49
|
+
getItemAriaLabel?: (
|
|
50
|
+
type: UsePaginationItem['type'],
|
|
51
|
+
page: UsePaginationItem['page'],
|
|
52
|
+
selected: UsePaginationItem['selected'],
|
|
53
|
+
) => string;
|
|
50
54
|
|
|
51
55
|
/**
|
|
52
56
|
* Render the item.
|
|
@@ -80,10 +84,10 @@ export interface PaginationProps
|
|
|
80
84
|
*
|
|
81
85
|
* Demos:
|
|
82
86
|
*
|
|
83
|
-
* - [Pagination](https://
|
|
87
|
+
* - [Pagination](https://mui.com/material-ui/react-pagination/)
|
|
84
88
|
*
|
|
85
89
|
* API:
|
|
86
90
|
*
|
|
87
|
-
* - [Pagination API](https://
|
|
91
|
+
* - [Pagination API](https://mui.com/material-ui/api/pagination/)
|
|
88
92
|
*/
|
|
89
93
|
export default function Pagination(props: PaginationProps): React.JSX.Element;
|
package/Pagination/Pagination.js
CHANGED
|
@@ -5,11 +5,11 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import integerPropType from '@mui/utils/integerPropType';
|
|
8
|
-
import { getPaginationUtilityClass } from
|
|
9
|
-
import usePagination from
|
|
10
|
-
import PaginationItem from
|
|
11
|
-
import { styled } from
|
|
12
|
-
import { useDefaultProps } from
|
|
8
|
+
import { getPaginationUtilityClass } from "./paginationClasses.js";
|
|
9
|
+
import usePagination from "../usePagination/index.js";
|
|
10
|
+
import PaginationItem from "../PaginationItem/index.js";
|
|
11
|
+
import { styled } from "../zero-styled/index.js";
|
|
12
|
+
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
const useUtilityClasses = ownerState => {
|
|
15
15
|
const {
|
|
@@ -174,8 +174,8 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes /* remove-proptypes
|
|
|
174
174
|
*
|
|
175
175
|
* For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).
|
|
176
176
|
* @param {string} type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous' | 'start-ellipsis' | 'end-ellipsis'). Defaults to 'page'.
|
|
177
|
-
* @param {number} page The page number to format.
|
|
178
|
-
* @param {
|
|
177
|
+
* @param {number | null} page The page number to format.
|
|
178
|
+
* @param {boolean} selected If true, the current page is selected.
|
|
179
179
|
* @returns {string}
|
|
180
180
|
*/
|
|
181
181
|
getItemAriaLabel: PropTypes.func,
|
package/Pagination/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
export { default } from
|
|
4
|
-
export { default as paginationClasses } from
|
|
5
|
-
export * from
|
|
3
|
+
export { default } from "./Pagination.js";
|
|
4
|
+
export { default as paginationClasses } from "./paginationClasses.js";
|
|
5
|
+
export * from "./paginationClasses.js";
|
|
@@ -118,11 +118,11 @@ export interface PaginationItemTypeMap<
|
|
|
118
118
|
*
|
|
119
119
|
* Demos:
|
|
120
120
|
*
|
|
121
|
-
* - [Pagination](https://
|
|
121
|
+
* - [Pagination](https://mui.com/material-ui/react-pagination/)
|
|
122
122
|
*
|
|
123
123
|
* API:
|
|
124
124
|
*
|
|
125
|
-
* - [PaginationItem API](https://
|
|
125
|
+
* - [PaginationItem API](https://mui.com/material-ui/api/pagination-item/)
|
|
126
126
|
*/
|
|
127
127
|
declare const PaginationItem: OverridableComponent<PaginationItemTypeMap>;
|
|
128
128
|
|
|
@@ -6,17 +6,17 @@ import clsx from 'clsx';
|
|
|
6
6
|
import composeClasses from '@mui/utils/composeClasses';
|
|
7
7
|
import { alpha } from '@mui/system/colorManipulator';
|
|
8
8
|
import { useRtl } from '@mui/system/RtlProvider';
|
|
9
|
-
import paginationItemClasses, { getPaginationItemUtilityClass } from
|
|
10
|
-
import ButtonBase from
|
|
11
|
-
import capitalize from
|
|
12
|
-
import FirstPageIcon from
|
|
13
|
-
import LastPageIcon from
|
|
14
|
-
import NavigateBeforeIcon from
|
|
15
|
-
import NavigateNextIcon from
|
|
16
|
-
import useSlot from
|
|
17
|
-
import { styled } from
|
|
18
|
-
import memoTheme from
|
|
19
|
-
import { useDefaultProps } from
|
|
9
|
+
import paginationItemClasses, { getPaginationItemUtilityClass } from "./paginationItemClasses.js";
|
|
10
|
+
import ButtonBase from "../ButtonBase/index.js";
|
|
11
|
+
import capitalize from "../utils/capitalize.js";
|
|
12
|
+
import FirstPageIcon from "../internal/svg-icons/FirstPage.js";
|
|
13
|
+
import LastPageIcon from "../internal/svg-icons/LastPage.js";
|
|
14
|
+
import NavigateBeforeIcon from "../internal/svg-icons/NavigateBefore.js";
|
|
15
|
+
import NavigateNextIcon from "../internal/svg-icons/NavigateNext.js";
|
|
16
|
+
import useSlot from "../utils/useSlot.js";
|
|
17
|
+
import { styled } from "../zero-styled/index.js";
|
|
18
|
+
import memoTheme from "../utils/memoTheme.js";
|
|
19
|
+
import { useDefaultProps } from "../DefaultPropsProvider/index.js";
|
|
20
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
21
|
const overridesResolver = (props, styles) => {
|
|
22
22
|
const {
|
package/PaginationItem/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
export { default } from
|
|
4
|
-
export { default as paginationItemClasses } from
|
|
5
|
-
export * from
|
|
3
|
+
export { default } from "./PaginationItem.js";
|
|
4
|
+
export { default as paginationItemClasses } from "./paginationItemClasses.js";
|
|
5
|
+
export * from "./paginationItemClasses.js";
|
package/Paper/Paper.d.ts
CHANGED
|
@@ -50,12 +50,12 @@ export interface PaperTypeMap<
|
|
|
50
50
|
*
|
|
51
51
|
* Demos:
|
|
52
52
|
*
|
|
53
|
-
* - [Card](https://
|
|
54
|
-
* - [Paper](https://
|
|
53
|
+
* - [Card](https://mui.com/material-ui/react-card/)
|
|
54
|
+
* - [Paper](https://mui.com/material-ui/react-paper/)
|
|
55
55
|
*
|
|
56
56
|
* API:
|
|
57
57
|
*
|
|
58
|
-
* - [Paper API](https://
|
|
58
|
+
* - [Paper API](https://mui.com/material-ui/api/paper/)
|
|
59
59
|
*/
|
|
60
60
|
declare const Paper: OverridableComponent<PaperTypeMap>;
|
|
61
61
|
|