@mui/material 5.0.5 → 5.2.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.js +2 -2
- package/Accordion/accordionClasses.d.ts +18 -18
- package/Accordion/accordionClasses.js +1 -1
- package/AccordionActions/AccordionActions.js +2 -2
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionActions/accordionActionsClasses.js +1 -1
- package/AccordionDetails/AccordionDetails.js +2 -2
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionDetails/accordionDetailsClasses.js +1 -1
- package/AccordionSummary/AccordionSummary.js +2 -2
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/Alert/Alert.js +2 -2
- package/Alert/alertClasses.d.ts +44 -44
- package/Alert/alertClasses.js +1 -1
- package/AlertTitle/AlertTitle.js +2 -2
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AlertTitle/alertTitleClasses.js +1 -1
- package/AppBar/AppBar.js +2 -2
- package/AppBar/appBarClasses.d.ts +28 -28
- package/AppBar/appBarClasses.js +1 -1
- package/Autocomplete/Autocomplete.d.ts +1 -1
- package/Autocomplete/Autocomplete.js +5 -2
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Autocomplete/autocompleteClasses.js +1 -1
- package/Avatar/Avatar.js +2 -2
- package/Avatar/avatarClasses.d.ts +20 -20
- package/Avatar/avatarClasses.js +1 -1
- package/AvatarGroup/AvatarGroup.js +2 -2
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/AvatarGroup/avatarGroupClasses.js +1 -1
- package/Backdrop/Backdrop.d.ts +1 -1
- package/Backdrop/Backdrop.js +3 -3
- package/Badge/Badge.d.ts +1 -1
- package/Badge/Badge.js +3 -3
- package/BottomNavigation/BottomNavigation.js +2 -2
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigation/bottomNavigationClasses.js +1 -1
- package/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
- package/Box/Box.d.ts +18 -2
- package/Box/Box.js +4 -1
- package/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/Breadcrumbs/Breadcrumbs.js +2 -2
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.js +1 -1
- package/Button/Button.js +41 -10
- package/Button/buttonClasses.d.ts +76 -76
- package/Button/buttonClasses.js +1 -1
- package/ButtonBase/ButtonBase.js +2 -2
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/buttonBaseClasses.js +1 -1
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonBase/touchRippleClasses.js +1 -1
- package/ButtonGroup/ButtonGroup.js +24 -28
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -0
- package/ButtonGroup/ButtonGroupContext.js +12 -0
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/ButtonGroup/buttonGroupClasses.js +1 -1
- package/CHANGELOG.md +302 -9
- package/Card/Card.js +2 -2
- package/Card/cardClasses.d.ts +8 -8
- package/Card/cardClasses.js +1 -1
- package/CardActionArea/CardActionArea.js +2 -2
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActionArea/cardActionAreaClasses.js +1 -1
- package/CardActions/CardActions.js +2 -2
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardActions/cardActionsClasses.js +1 -1
- package/CardContent/CardContent.js +2 -2
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardContent/cardContentClasses.js +1 -1
- package/CardHeader/CardHeader.js +2 -2
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardHeader/cardHeaderClasses.js +1 -1
- package/CardMedia/CardMedia.js +2 -2
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/CardMedia/cardMediaClasses.js +1 -1
- package/Checkbox/Checkbox.js +2 -2
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Checkbox/checkboxClasses.js +1 -1
- package/Chip/Chip.js +2 -2
- package/Chip/chipClasses.d.ts +80 -80
- package/Chip/chipClasses.js +1 -1
- package/CircularProgress/CircularProgress.js +2 -2
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/CircularProgress/circularProgressClasses.js +1 -1
- package/ClickAwayListener/index.d.ts +2 -2
- package/ClickAwayListener/index.js +2 -2
- package/Collapse/Collapse.js +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Collapse/collapseClasses.js +1 -1
- package/Container/Container.js +2 -2
- package/Container/containerClasses.d.ts +22 -22
- package/Container/containerClasses.js +1 -1
- package/CssBaseline/CssBaseline.d.ts +7 -0
- package/CssBaseline/CssBaseline.js +20 -12
- package/Dialog/Dialog.js +2 -2
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/Dialog/dialogClasses.js +1 -1
- package/DialogActions/DialogActions.js +2 -2
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogActions/dialogActionsClasses.js +1 -1
- package/DialogContent/DialogContent.js +2 -2
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.js +1 -1
- package/DialogContentText/DialogContentText.js +2 -2
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogContentText/dialogContentTextClasses.js +1 -1
- package/DialogTitle/DialogTitle.js +2 -2
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.js +1 -1
- package/Divider/Divider.js +6 -6
- package/Divider/dividerClasses.d.ts +34 -34
- package/Divider/dividerClasses.js +1 -1
- package/Drawer/Drawer.js +2 -2
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Drawer/drawerClasses.js +1 -1
- package/Fab/Fab.js +2 -2
- package/Fab/fabClasses.d.ts +26 -26
- package/Fab/fabClasses.js +1 -1
- package/FilledInput/FilledInput.js +2 -2
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FilledInput/filledInputClasses.js +1 -1
- package/FormControl/FormControl.js +2 -2
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/formControlClasses.js +1 -1
- package/FormControlLabel/FormControlLabel.d.ts +2 -2
- package/FormControlLabel/FormControlLabel.js +4 -4
- package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
- package/FormControlLabel/formControlLabelClasses.js +1 -1
- package/FormGroup/FormGroup.js +2 -2
- package/FormGroup/formGroupClasses.d.ts +10 -10
- package/FormGroup/formGroupClasses.js +1 -1
- package/FormHelperText/FormHelperText.js +2 -2
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormHelperText/formHelperTextClasses.js +1 -1
- package/FormLabel/FormLabel.js +2 -2
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.js +1 -1
- package/Grid/Grid.d.ts +31 -11
- package/Grid/Grid.js +57 -25
- package/Grid/gridClasses.d.ts +48 -48
- package/Grid/gridClasses.js +1 -1
- package/Hidden/HiddenCss.js +1 -1
- package/Hidden/hiddenCssClasses.js +1 -1
- package/Icon/Icon.js +2 -2
- package/Icon/iconClasses.d.ts +24 -24
- package/Icon/iconClasses.js +1 -1
- package/IconButton/IconButton.js +8 -6
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/IconButton/iconButtonClasses.js +1 -1
- package/ImageList/ImageList.js +2 -2
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageList/imageListClasses.js +1 -1
- package/ImageListItem/ImageListItem.js +2 -2
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItem/imageListItemClasses.js +1 -1
- package/ImageListItemBar/ImageListItemBar.js +2 -2
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/Input/Input.js +2 -2
- package/Input/inputClasses.d.ts +34 -34
- package/Input/inputClasses.js +1 -1
- package/InputAdornment/InputAdornment.js +2 -2
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputAdornment/inputAdornmentClasses.js +1 -1
- package/InputBase/InputBase.js +4 -5
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputBase/inputBaseClasses.js +1 -1
- package/InputLabel/InputLabel.js +2 -2
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/InputLabel/inputLabelClasses.js +1 -1
- package/LinearProgress/LinearProgress.js +2 -2
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/LinearProgress/linearProgressClasses.js +1 -1
- package/Link/Link.js +2 -2
- package/Link/linkClasses.d.ts +18 -18
- package/Link/linkClasses.js +1 -1
- package/List/List.js +2 -2
- package/List/listClasses.d.ts +14 -14
- package/List/listClasses.js +1 -1
- package/ListItem/ListItem.d.ts +1 -1
- package/ListItem/ListItem.js +2 -2
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItem/listItemClasses.js +1 -1
- package/ListItemAvatar/ListItemAvatar.js +2 -2
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemAvatar/listItemAvatarClasses.js +1 -1
- package/ListItemButton/ListItemButton.d.ts +1 -1
- package/ListItemButton/ListItemButton.js +2 -2
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemButton/listItemButtonClasses.js +1 -1
- package/ListItemIcon/ListItemIcon.js +2 -2
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemIcon/listItemIconClasses.js +1 -1
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
- package/ListItemText/ListItemText.js +2 -2
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListItemText/listItemTextClasses.js +1 -1
- package/ListSubheader/ListSubheader.js +2 -2
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.js +1 -1
- package/Menu/Menu.js +2 -2
- package/Menu/menuClasses.d.ts +12 -12
- package/Menu/menuClasses.js +1 -1
- package/MenuItem/MenuItem.js +2 -2
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MenuItem/menuItemClasses.js +1 -1
- package/MobileStepper/MobileStepper.js +2 -2
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/MobileStepper/mobileStepperClasses.js +1 -1
- package/Modal/Modal.d.ts +1 -1
- package/Modal/Modal.js +3 -3
- package/Modal/index.d.ts +1 -1
- package/Modal/index.js +1 -1
- package/NativeSelect/NativeSelect.js +2 -2
- package/NativeSelect/NativeSelectInput.js +6 -3
- package/NativeSelect/nativeSelectClasses.d.ts +32 -30
- package/NativeSelect/nativeSelectClasses.js +2 -2
- package/NoSsr/index.d.ts +2 -2
- package/NoSsr/index.js +1 -1
- package/OutlinedInput/NotchedOutline.js +6 -1
- package/OutlinedInput/OutlinedInput.js +2 -2
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OutlinedInput/outlinedInputClasses.js +1 -1
- package/Pagination/Pagination.js +2 -2
- package/Pagination/paginationClasses.d.ts +14 -14
- package/Pagination/paginationClasses.js +1 -1
- package/PaginationItem/PaginationItem.d.ts +15 -0
- package/PaginationItem/PaginationItem.js +33 -11
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/PaginationItem/paginationItemClasses.js +1 -1
- package/Paper/Paper.js +2 -2
- package/Paper/paperClasses.d.ts +39 -39
- package/Paper/paperClasses.js +1 -1
- package/Popover/Popover.js +2 -2
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popover/popoverClasses.js +1 -1
- package/Popper/Popper.d.ts +17 -0
- package/Popper/Popper.js +133 -0
- package/Popper/index.d.ts +3 -2
- package/Popper/index.js +1 -1
- package/Portal/index.d.ts +2 -2
- package/Portal/index.js +1 -1
- package/Radio/Radio.js +2 -2
- package/Radio/radioClasses.d.ts +16 -16
- package/Radio/radioClasses.js +1 -1
- package/RadioGroup/RadioGroupContext.d.ts +11 -0
- package/RadioGroup/RadioGroupContext.js +2 -2
- package/RadioGroup/useRadioGroup.d.ts +4 -5
- package/Rating/Rating.js +2 -3
- package/Rating/ratingClasses.d.ts +40 -40
- package/Rating/ratingClasses.js +1 -1
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +6 -0
- package/ScopedCssBaseline/ScopedCssBaseline.js +22 -12
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
- package/Select/Select.js +5 -14
- package/Select/SelectInput.js +6 -3
- package/Select/selectClasses.d.ts +30 -30
- package/Select/selectClasses.js +2 -2
- package/Skeleton/Skeleton.js +2 -2
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Skeleton/skeletonClasses.js +1 -1
- package/Slider/Slider.d.ts +1 -1
- package/Slider/Slider.js +3 -3
- package/Snackbar/Snackbar.d.ts +1 -1
- package/Snackbar/Snackbar.js +3 -3
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/Snackbar/snackbarClasses.js +1 -1
- package/SnackbarContent/SnackbarContent.js +2 -2
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SnackbarContent/snackbarContentClasses.js +1 -1
- package/SpeedDial/SpeedDial.js +2 -2
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDial/speedDialClasses.js +1 -1
- package/SpeedDialAction/SpeedDialAction.js +2 -2
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialAction/speedDialActionClasses.js +1 -1
- package/SpeedDialIcon/SpeedDialIcon.js +2 -2
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/SpeedDialIcon/speedDialIconClasses.js +1 -1
- package/Stack/Stack.js +5 -2
- package/Step/Step.js +2 -2
- package/Step/stepClasses.d.ts +16 -16
- package/Step/stepClasses.js +1 -1
- package/StepButton/StepButton.js +2 -2
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepButton/stepButtonClasses.js +1 -1
- package/StepConnector/StepConnector.js +2 -2
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepConnector/stepConnectorClasses.js +1 -1
- package/StepContent/StepContent.js +2 -2
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepContent/stepContentClasses.js +1 -1
- package/StepIcon/StepIcon.js +2 -2
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepIcon/stepIconClasses.js +1 -1
- package/StepLabel/StepLabel.js +2 -2
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/StepLabel/stepLabelClasses.js +1 -1
- package/Stepper/Stepper.js +2 -2
- package/Stepper/stepperClasses.d.ts +14 -14
- package/Stepper/stepperClasses.js +1 -1
- package/SvgIcon/SvgIcon.js +2 -2
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/SvgIcon/svgIconClasses.js +1 -1
- package/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/Switch/Switch.js +2 -2
- package/Switch/switchClasses.d.ts +32 -32
- package/Switch/switchClasses.js +1 -1
- package/Tab/Tab.js +2 -2
- package/Tab/tabClasses.d.ts +26 -26
- package/Tab/tabClasses.js +1 -1
- package/TabScrollButton/TabScrollButton.js +2 -2
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/TabScrollButton/tabScrollButtonClasses.js +1 -1
- package/Table/Table.js +2 -2
- package/Table/tableClasses.d.ts +10 -10
- package/Table/tableClasses.js +1 -1
- package/TableBody/TableBody.js +2 -2
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableBody/tableBodyClasses.js +1 -1
- package/TableCell/TableCell.js +2 -2
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableCell/tableCellClasses.js +1 -1
- package/TableContainer/TableContainer.js +2 -2
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableContainer/tableContainerClasses.js +1 -1
- package/TableFooter/TableFooter.js +2 -2
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.js +1 -1
- package/TableHead/TableHead.js +2 -2
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.js +1 -1
- package/TablePagination/TablePagination.d.ts +1 -1
- package/TablePagination/TablePagination.js +4 -4
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TablePagination/tablePaginationClasses.js +1 -1
- package/TableRow/TableRow.js +2 -2
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableRow/tableRowClasses.js +1 -1
- package/TableSortLabel/TableSortLabel.js +2 -2
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/Tabs/Tabs.js +2 -2
- package/Tabs/tabsClasses.d.ts +32 -32
- package/Tabs/tabsClasses.js +1 -1
- package/TextField/TextField.js +2 -2
- package/TextField/textFieldClasses.d.ts +8 -8
- package/TextField/textFieldClasses.js +1 -1
- package/TextareaAutosize/index.d.ts +2 -2
- package/TextareaAutosize/index.js +1 -1
- package/ToggleButton/ToggleButton.js +2 -2
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButton/toggleButtonClasses.js +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/Toolbar/Toolbar.js +2 -2
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Toolbar/toolbarClasses.js +1 -1
- package/Tooltip/Tooltip.d.ts +4 -2
- package/Tooltip/Tooltip.js +5 -3
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Tooltip/tooltipClasses.js +1 -1
- package/Typography/Typography.js +2 -2
- package/Typography/typographyClasses.d.ts +50 -50
- package/Typography/typographyClasses.js +1 -1
- package/Unstable_TrapFocus/index.d.ts +2 -2
- package/Unstable_TrapFocus/index.js +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/index.d.ts +4 -1
- package/index.js +2 -2
- package/internal/SwitchBase.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/internal/switchBaseClasses.js +1 -1
- package/legacy/Accordion/Accordion.js +2 -2
- package/legacy/Accordion/accordionClasses.js +1 -1
- package/legacy/AccordionActions/AccordionActions.js +2 -2
- package/legacy/AccordionActions/accordionActionsClasses.js +1 -1
- package/legacy/AccordionDetails/AccordionDetails.js +2 -2
- package/legacy/AccordionDetails/accordionDetailsClasses.js +1 -1
- package/legacy/AccordionSummary/AccordionSummary.js +2 -2
- package/legacy/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/legacy/Alert/Alert.js +2 -2
- package/legacy/Alert/alertClasses.js +1 -1
- package/legacy/AlertTitle/AlertTitle.js +2 -2
- package/legacy/AlertTitle/alertTitleClasses.js +1 -1
- package/legacy/AppBar/AppBar.js +2 -2
- package/legacy/AppBar/appBarClasses.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +5 -3
- package/legacy/Autocomplete/autocompleteClasses.js +1 -1
- package/legacy/Avatar/Avatar.js +2 -2
- package/legacy/Avatar/avatarClasses.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +2 -2
- package/legacy/AvatarGroup/avatarGroupClasses.js +1 -1
- package/legacy/Backdrop/Backdrop.js +3 -3
- package/legacy/Badge/Badge.js +3 -3
- package/legacy/BottomNavigation/BottomNavigation.js +2 -2
- package/legacy/BottomNavigation/bottomNavigationClasses.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/legacy/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
- package/legacy/Box/Box.js +4 -1
- package/legacy/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/legacy/Breadcrumbs/Breadcrumbs.js +2 -2
- package/legacy/Breadcrumbs/breadcrumbsClasses.js +1 -1
- package/legacy/Button/Button.js +41 -17
- package/legacy/Button/buttonClasses.js +1 -1
- package/legacy/ButtonBase/ButtonBase.js +2 -2
- package/legacy/ButtonBase/buttonBaseClasses.js +1 -1
- package/legacy/ButtonBase/touchRippleClasses.js +1 -1
- package/legacy/ButtonGroup/ButtonGroup.js +26 -28
- package/legacy/ButtonGroup/ButtonGroupContext.js +12 -0
- package/legacy/ButtonGroup/buttonGroupClasses.js +1 -1
- package/legacy/Card/Card.js +2 -2
- package/legacy/Card/cardClasses.js +1 -1
- package/legacy/CardActionArea/CardActionArea.js +2 -2
- package/legacy/CardActionArea/cardActionAreaClasses.js +1 -1
- package/legacy/CardActions/CardActions.js +2 -2
- package/legacy/CardActions/cardActionsClasses.js +1 -1
- package/legacy/CardContent/CardContent.js +2 -2
- package/legacy/CardContent/cardContentClasses.js +1 -1
- package/legacy/CardHeader/CardHeader.js +2 -2
- package/legacy/CardHeader/cardHeaderClasses.js +1 -1
- package/legacy/CardMedia/CardMedia.js +2 -2
- package/legacy/CardMedia/cardMediaClasses.js +1 -1
- package/legacy/Checkbox/Checkbox.js +2 -2
- package/legacy/Checkbox/checkboxClasses.js +1 -1
- package/legacy/Chip/Chip.js +2 -2
- package/legacy/Chip/chipClasses.js +1 -1
- package/legacy/CircularProgress/CircularProgress.js +2 -2
- package/legacy/CircularProgress/circularProgressClasses.js +1 -1
- package/legacy/ClickAwayListener/index.js +2 -2
- package/legacy/Collapse/Collapse.js +2 -2
- package/legacy/Collapse/collapseClasses.js +1 -1
- package/legacy/Container/Container.js +2 -2
- package/legacy/Container/containerClasses.js +1 -1
- package/legacy/CssBaseline/CssBaseline.js +38 -20
- package/legacy/Dialog/Dialog.js +2 -2
- package/legacy/Dialog/dialogClasses.js +1 -1
- package/legacy/DialogActions/DialogActions.js +2 -2
- package/legacy/DialogActions/dialogActionsClasses.js +1 -1
- package/legacy/DialogContent/DialogContent.js +2 -2
- package/legacy/DialogContent/dialogContentClasses.js +1 -1
- package/legacy/DialogContentText/DialogContentText.js +2 -2
- package/legacy/DialogContentText/dialogContentTextClasses.js +1 -1
- package/legacy/DialogTitle/DialogTitle.js +2 -2
- package/legacy/DialogTitle/dialogTitleClasses.js +1 -1
- package/legacy/Divider/Divider.js +6 -6
- package/legacy/Divider/dividerClasses.js +1 -1
- package/legacy/Drawer/Drawer.js +2 -2
- package/legacy/Drawer/drawerClasses.js +1 -1
- package/legacy/Fab/Fab.js +2 -2
- package/legacy/Fab/fabClasses.js +1 -1
- package/legacy/FilledInput/FilledInput.js +2 -2
- package/legacy/FilledInput/filledInputClasses.js +1 -1
- package/legacy/FormControl/FormControl.js +2 -2
- package/legacy/FormControl/formControlClasses.js +1 -1
- package/legacy/FormControlLabel/FormControlLabel.js +4 -4
- package/legacy/FormControlLabel/formControlLabelClasses.js +1 -1
- package/legacy/FormGroup/FormGroup.js +2 -2
- package/legacy/FormGroup/formGroupClasses.js +1 -1
- package/legacy/FormHelperText/FormHelperText.js +2 -2
- package/legacy/FormHelperText/formHelperTextClasses.js +1 -1
- package/legacy/FormLabel/FormLabel.js +2 -2
- package/legacy/FormLabel/formLabelClasses.js +1 -1
- package/legacy/Grid/Grid.js +58 -25
- package/legacy/Grid/gridClasses.js +1 -1
- package/legacy/Hidden/HiddenCss.js +1 -1
- package/legacy/Hidden/hiddenCssClasses.js +1 -1
- package/legacy/Icon/Icon.js +2 -2
- package/legacy/Icon/iconClasses.js +1 -1
- package/legacy/IconButton/IconButton.js +8 -6
- package/legacy/IconButton/iconButtonClasses.js +1 -1
- package/legacy/ImageList/ImageList.js +2 -2
- package/legacy/ImageList/imageListClasses.js +1 -1
- package/legacy/ImageListItem/ImageListItem.js +2 -2
- package/legacy/ImageListItem/imageListItemClasses.js +1 -1
- package/legacy/ImageListItemBar/ImageListItemBar.js +2 -2
- package/legacy/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/legacy/Input/Input.js +2 -2
- package/legacy/Input/inputClasses.js +1 -1
- package/legacy/InputAdornment/InputAdornment.js +2 -2
- package/legacy/InputAdornment/inputAdornmentClasses.js +1 -1
- package/legacy/InputBase/InputBase.js +4 -5
- package/legacy/InputBase/inputBaseClasses.js +1 -1
- package/legacy/InputLabel/InputLabel.js +2 -2
- package/legacy/InputLabel/inputLabelClasses.js +1 -1
- package/legacy/LinearProgress/LinearProgress.js +2 -2
- package/legacy/LinearProgress/linearProgressClasses.js +1 -1
- package/legacy/Link/Link.js +2 -2
- package/legacy/Link/linkClasses.js +1 -1
- package/legacy/List/List.js +2 -2
- package/legacy/List/listClasses.js +1 -1
- package/legacy/ListItem/ListItem.js +2 -2
- package/legacy/ListItem/listItemClasses.js +1 -1
- package/legacy/ListItemAvatar/ListItemAvatar.js +2 -2
- package/legacy/ListItemAvatar/listItemAvatarClasses.js +1 -1
- package/legacy/ListItemButton/ListItemButton.js +2 -2
- package/legacy/ListItemButton/listItemButtonClasses.js +1 -1
- package/legacy/ListItemIcon/ListItemIcon.js +2 -2
- package/legacy/ListItemIcon/listItemIconClasses.js +1 -1
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/legacy/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
- package/legacy/ListItemText/ListItemText.js +2 -2
- package/legacy/ListItemText/listItemTextClasses.js +1 -1
- package/legacy/ListSubheader/ListSubheader.js +2 -2
- package/legacy/ListSubheader/listSubheaderClasses.js +1 -1
- package/legacy/Menu/Menu.js +2 -2
- package/legacy/Menu/menuClasses.js +1 -1
- package/legacy/MenuItem/MenuItem.js +2 -2
- package/legacy/MenuItem/menuItemClasses.js +1 -1
- package/legacy/MobileStepper/MobileStepper.js +2 -2
- package/legacy/MobileStepper/mobileStepperClasses.js +1 -1
- package/legacy/Modal/Modal.js +3 -3
- package/legacy/Modal/index.js +1 -1
- package/legacy/NativeSelect/NativeSelect.js +2 -2
- package/legacy/NativeSelect/NativeSelectInput.js +7 -6
- package/legacy/NativeSelect/nativeSelectClasses.js +2 -2
- package/legacy/NoSsr/index.js +1 -1
- package/legacy/OutlinedInput/NotchedOutline.js +6 -1
- package/legacy/OutlinedInput/OutlinedInput.js +2 -2
- package/legacy/OutlinedInput/outlinedInputClasses.js +1 -1
- package/legacy/Pagination/Pagination.js +2 -2
- package/legacy/Pagination/paginationClasses.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +34 -11
- package/legacy/PaginationItem/paginationItemClasses.js +1 -1
- package/legacy/Paper/Paper.js +2 -2
- package/legacy/Paper/paperClasses.js +1 -1
- package/legacy/Popover/Popover.js +2 -2
- package/legacy/Popover/popoverClasses.js +1 -1
- package/legacy/Popper/Popper.js +133 -0
- package/legacy/Popper/index.js +1 -1
- package/legacy/Portal/index.js +1 -1
- package/legacy/Radio/Radio.js +2 -2
- package/legacy/Radio/radioClasses.js +1 -1
- package/legacy/RadioGroup/RadioGroupContext.js +2 -2
- package/legacy/Rating/Rating.js +2 -3
- package/legacy/Rating/ratingClasses.js +1 -1
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +14 -5
- package/legacy/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
- package/legacy/Select/Select.js +4 -13
- package/legacy/Select/SelectInput.js +5 -4
- package/legacy/Select/selectClasses.js +2 -2
- package/legacy/Skeleton/Skeleton.js +2 -2
- package/legacy/Skeleton/skeletonClasses.js +1 -1
- package/legacy/Slider/Slider.js +3 -3
- package/legacy/Snackbar/Snackbar.js +3 -3
- package/legacy/Snackbar/snackbarClasses.js +1 -1
- package/legacy/SnackbarContent/SnackbarContent.js +2 -2
- package/legacy/SnackbarContent/snackbarContentClasses.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +2 -2
- package/legacy/SpeedDial/speedDialClasses.js +1 -1
- package/legacy/SpeedDialAction/SpeedDialAction.js +2 -2
- package/legacy/SpeedDialAction/speedDialActionClasses.js +1 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +2 -2
- package/legacy/SpeedDialIcon/speedDialIconClasses.js +1 -1
- package/legacy/Stack/Stack.js +5 -2
- package/legacy/Step/Step.js +2 -2
- package/legacy/Step/stepClasses.js +1 -1
- package/legacy/StepButton/StepButton.js +2 -2
- package/legacy/StepButton/stepButtonClasses.js +1 -1
- package/legacy/StepConnector/StepConnector.js +2 -2
- package/legacy/StepConnector/stepConnectorClasses.js +1 -1
- package/legacy/StepContent/StepContent.js +2 -2
- package/legacy/StepContent/stepContentClasses.js +1 -1
- package/legacy/StepIcon/StepIcon.js +2 -2
- package/legacy/StepIcon/stepIconClasses.js +1 -1
- package/legacy/StepLabel/StepLabel.js +2 -2
- package/legacy/StepLabel/stepLabelClasses.js +1 -1
- package/legacy/Stepper/Stepper.js +2 -2
- package/legacy/Stepper/stepperClasses.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +2 -2
- package/legacy/SvgIcon/svgIconClasses.js +1 -1
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/legacy/Switch/Switch.js +2 -2
- package/legacy/Switch/switchClasses.js +1 -1
- package/legacy/Tab/Tab.js +2 -2
- package/legacy/Tab/tabClasses.js +1 -1
- package/legacy/TabScrollButton/TabScrollButton.js +2 -2
- package/legacy/TabScrollButton/tabScrollButtonClasses.js +1 -1
- package/legacy/Table/Table.js +2 -2
- package/legacy/Table/tableClasses.js +1 -1
- package/legacy/TableBody/TableBody.js +2 -2
- package/legacy/TableBody/tableBodyClasses.js +1 -1
- package/legacy/TableCell/TableCell.js +2 -2
- package/legacy/TableCell/tableCellClasses.js +1 -1
- package/legacy/TableContainer/TableContainer.js +2 -2
- package/legacy/TableContainer/tableContainerClasses.js +1 -1
- package/legacy/TableFooter/TableFooter.js +2 -2
- package/legacy/TableFooter/tableFooterClasses.js +1 -1
- package/legacy/TableHead/TableHead.js +2 -2
- package/legacy/TableHead/tableHeadClasses.js +1 -1
- package/legacy/TablePagination/TablePagination.js +4 -4
- package/legacy/TablePagination/tablePaginationClasses.js +1 -1
- package/legacy/TableRow/TableRow.js +2 -2
- package/legacy/TableRow/tableRowClasses.js +1 -1
- package/legacy/TableSortLabel/TableSortLabel.js +2 -2
- package/legacy/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/legacy/Tabs/Tabs.js +2 -2
- package/legacy/Tabs/tabsClasses.js +1 -1
- package/legacy/TextField/TextField.js +2 -2
- package/legacy/TextField/textFieldClasses.js +1 -1
- package/legacy/TextareaAutosize/index.js +1 -1
- package/legacy/ToggleButton/ToggleButton.js +2 -2
- package/legacy/ToggleButton/toggleButtonClasses.js +1 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/legacy/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/legacy/Toolbar/Toolbar.js +2 -2
- package/legacy/Toolbar/toolbarClasses.js +1 -1
- package/legacy/Tooltip/Tooltip.js +5 -3
- package/legacy/Tooltip/tooltipClasses.js +1 -1
- package/legacy/Typography/Typography.js +2 -2
- package/legacy/Typography/typographyClasses.js +1 -1
- package/legacy/Unstable_TrapFocus/index.js +1 -1
- package/legacy/index.js +2 -2
- package/legacy/internal/SwitchBase.js +1 -1
- package/legacy/internal/switchBaseClasses.js +1 -1
- package/legacy/locale/index.js +276 -182
- package/legacy/styles/createPalette.js +1 -1
- package/legacy/styles/createTheme.js +1 -1
- package/legacy/useAutocomplete/useAutocomplete.js +2 -2
- package/legacy/useMediaQuery/useMediaQuery.js +83 -31
- package/legacy/utils/index.js +1 -1
- package/locale/index.d.ts +66 -65
- package/locale/index.js +168 -78
- package/modern/Accordion/Accordion.js +2 -2
- package/modern/Accordion/accordionClasses.js +1 -1
- package/modern/AccordionActions/AccordionActions.js +2 -2
- package/modern/AccordionActions/accordionActionsClasses.js +1 -1
- package/modern/AccordionDetails/AccordionDetails.js +2 -2
- package/modern/AccordionDetails/accordionDetailsClasses.js +1 -1
- package/modern/AccordionSummary/AccordionSummary.js +2 -2
- package/modern/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/modern/Alert/Alert.js +2 -2
- package/modern/Alert/alertClasses.js +1 -1
- package/modern/AlertTitle/AlertTitle.js +2 -2
- package/modern/AlertTitle/alertTitleClasses.js +1 -1
- package/modern/AppBar/AppBar.js +2 -2
- package/modern/AppBar/appBarClasses.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +5 -2
- package/modern/Autocomplete/autocompleteClasses.js +1 -1
- package/modern/Avatar/Avatar.js +2 -2
- package/modern/Avatar/avatarClasses.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +2 -2
- package/modern/AvatarGroup/avatarGroupClasses.js +1 -1
- package/modern/Backdrop/Backdrop.js +3 -3
- package/modern/Badge/Badge.js +3 -3
- package/modern/BottomNavigation/BottomNavigation.js +2 -2
- package/modern/BottomNavigation/bottomNavigationClasses.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/modern/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
- package/modern/Box/Box.js +4 -1
- package/modern/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/modern/Breadcrumbs/Breadcrumbs.js +2 -2
- package/modern/Breadcrumbs/breadcrumbsClasses.js +1 -1
- package/modern/Button/Button.js +41 -10
- package/modern/Button/buttonClasses.js +1 -1
- package/modern/ButtonBase/ButtonBase.js +2 -2
- package/modern/ButtonBase/buttonBaseClasses.js +1 -1
- package/modern/ButtonBase/touchRippleClasses.js +1 -1
- package/modern/ButtonGroup/ButtonGroup.js +24 -28
- package/modern/ButtonGroup/ButtonGroupContext.js +12 -0
- package/modern/ButtonGroup/buttonGroupClasses.js +1 -1
- package/modern/Card/Card.js +2 -2
- package/modern/Card/cardClasses.js +1 -1
- package/modern/CardActionArea/CardActionArea.js +2 -2
- package/modern/CardActionArea/cardActionAreaClasses.js +1 -1
- package/modern/CardActions/CardActions.js +2 -2
- package/modern/CardActions/cardActionsClasses.js +1 -1
- package/modern/CardContent/CardContent.js +2 -2
- package/modern/CardContent/cardContentClasses.js +1 -1
- package/modern/CardHeader/CardHeader.js +2 -2
- package/modern/CardHeader/cardHeaderClasses.js +1 -1
- package/modern/CardMedia/CardMedia.js +2 -2
- package/modern/CardMedia/cardMediaClasses.js +1 -1
- package/modern/Checkbox/Checkbox.js +2 -2
- package/modern/Checkbox/checkboxClasses.js +1 -1
- package/modern/Chip/Chip.js +2 -2
- package/modern/Chip/chipClasses.js +1 -1
- package/modern/CircularProgress/CircularProgress.js +2 -2
- package/modern/CircularProgress/circularProgressClasses.js +1 -1
- package/modern/ClickAwayListener/index.js +2 -2
- package/modern/Collapse/Collapse.js +2 -2
- package/modern/Collapse/collapseClasses.js +1 -1
- package/modern/Container/Container.js +2 -2
- package/modern/Container/containerClasses.js +1 -1
- package/modern/CssBaseline/CssBaseline.js +20 -12
- package/modern/Dialog/Dialog.js +2 -2
- package/modern/Dialog/dialogClasses.js +1 -1
- package/modern/DialogActions/DialogActions.js +2 -2
- package/modern/DialogActions/dialogActionsClasses.js +1 -1
- package/modern/DialogContent/DialogContent.js +2 -2
- package/modern/DialogContent/dialogContentClasses.js +1 -1
- package/modern/DialogContentText/DialogContentText.js +2 -2
- package/modern/DialogContentText/dialogContentTextClasses.js +1 -1
- package/modern/DialogTitle/DialogTitle.js +2 -2
- package/modern/DialogTitle/dialogTitleClasses.js +1 -1
- package/modern/Divider/Divider.js +6 -6
- package/modern/Divider/dividerClasses.js +1 -1
- package/modern/Drawer/Drawer.js +2 -2
- package/modern/Drawer/drawerClasses.js +1 -1
- package/modern/Fab/Fab.js +2 -2
- package/modern/Fab/fabClasses.js +1 -1
- package/modern/FilledInput/FilledInput.js +2 -2
- package/modern/FilledInput/filledInputClasses.js +1 -1
- package/modern/FormControl/FormControl.js +2 -2
- package/modern/FormControl/formControlClasses.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +4 -4
- package/modern/FormControlLabel/formControlLabelClasses.js +1 -1
- package/modern/FormGroup/FormGroup.js +2 -2
- package/modern/FormGroup/formGroupClasses.js +1 -1
- package/modern/FormHelperText/FormHelperText.js +2 -2
- package/modern/FormHelperText/formHelperTextClasses.js +1 -1
- package/modern/FormLabel/FormLabel.js +2 -2
- package/modern/FormLabel/formLabelClasses.js +1 -1
- package/modern/Grid/Grid.js +57 -25
- package/modern/Grid/gridClasses.js +1 -1
- package/modern/Hidden/HiddenCss.js +1 -1
- package/modern/Hidden/hiddenCssClasses.js +1 -1
- package/modern/Icon/Icon.js +2 -2
- package/modern/Icon/iconClasses.js +1 -1
- package/modern/IconButton/IconButton.js +8 -6
- package/modern/IconButton/iconButtonClasses.js +1 -1
- package/modern/ImageList/ImageList.js +2 -2
- package/modern/ImageList/imageListClasses.js +1 -1
- package/modern/ImageListItem/ImageListItem.js +2 -2
- package/modern/ImageListItem/imageListItemClasses.js +1 -1
- package/modern/ImageListItemBar/ImageListItemBar.js +2 -2
- package/modern/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/modern/Input/Input.js +2 -2
- package/modern/Input/inputClasses.js +1 -1
- package/modern/InputAdornment/InputAdornment.js +2 -2
- package/modern/InputAdornment/inputAdornmentClasses.js +1 -1
- package/modern/InputBase/InputBase.js +4 -5
- package/modern/InputBase/inputBaseClasses.js +1 -1
- package/modern/InputLabel/InputLabel.js +2 -2
- package/modern/InputLabel/inputLabelClasses.js +1 -1
- package/modern/LinearProgress/LinearProgress.js +2 -2
- package/modern/LinearProgress/linearProgressClasses.js +1 -1
- package/modern/Link/Link.js +2 -2
- package/modern/Link/linkClasses.js +1 -1
- package/modern/List/List.js +2 -2
- package/modern/List/listClasses.js +1 -1
- package/modern/ListItem/ListItem.js +2 -2
- package/modern/ListItem/listItemClasses.js +1 -1
- package/modern/ListItemAvatar/ListItemAvatar.js +2 -2
- package/modern/ListItemAvatar/listItemAvatarClasses.js +1 -1
- package/modern/ListItemButton/ListItemButton.js +2 -2
- package/modern/ListItemButton/listItemButtonClasses.js +1 -1
- package/modern/ListItemIcon/ListItemIcon.js +2 -2
- package/modern/ListItemIcon/listItemIconClasses.js +1 -1
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/modern/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
- package/modern/ListItemText/ListItemText.js +2 -2
- package/modern/ListItemText/listItemTextClasses.js +1 -1
- package/modern/ListSubheader/ListSubheader.js +2 -2
- package/modern/ListSubheader/listSubheaderClasses.js +1 -1
- package/modern/Menu/Menu.js +2 -2
- package/modern/Menu/menuClasses.js +1 -1
- package/modern/MenuItem/MenuItem.js +2 -2
- package/modern/MenuItem/menuItemClasses.js +1 -1
- package/modern/MobileStepper/MobileStepper.js +2 -2
- package/modern/MobileStepper/mobileStepperClasses.js +1 -1
- package/modern/Modal/Modal.js +3 -3
- package/modern/Modal/index.js +1 -1
- package/modern/NativeSelect/NativeSelect.js +2 -2
- package/modern/NativeSelect/NativeSelectInput.js +6 -3
- package/modern/NativeSelect/nativeSelectClasses.js +2 -2
- package/modern/NoSsr/index.js +1 -1
- package/modern/OutlinedInput/NotchedOutline.js +6 -1
- package/modern/OutlinedInput/OutlinedInput.js +2 -2
- package/modern/OutlinedInput/outlinedInputClasses.js +1 -1
- package/modern/Pagination/Pagination.js +2 -2
- package/modern/Pagination/paginationClasses.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +33 -11
- package/modern/PaginationItem/paginationItemClasses.js +1 -1
- package/modern/Paper/Paper.js +2 -2
- package/modern/Paper/paperClasses.js +1 -1
- package/modern/Popover/Popover.js +2 -2
- package/modern/Popover/popoverClasses.js +1 -1
- package/modern/Popper/Popper.js +133 -0
- package/modern/Popper/index.js +1 -1
- package/modern/Portal/index.js +1 -1
- package/modern/Radio/Radio.js +2 -2
- package/modern/Radio/radioClasses.js +1 -1
- package/modern/RadioGroup/RadioGroupContext.js +2 -2
- package/modern/Rating/Rating.js +2 -3
- package/modern/Rating/ratingClasses.js +1 -1
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +22 -12
- package/modern/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
- package/modern/Select/Select.js +5 -14
- package/modern/Select/SelectInput.js +6 -3
- package/modern/Select/selectClasses.js +2 -2
- package/modern/Skeleton/Skeleton.js +2 -2
- package/modern/Skeleton/skeletonClasses.js +1 -1
- package/modern/Slider/Slider.js +3 -3
- package/modern/Snackbar/Snackbar.js +3 -3
- package/modern/Snackbar/snackbarClasses.js +1 -1
- package/modern/SnackbarContent/SnackbarContent.js +2 -2
- package/modern/SnackbarContent/snackbarContentClasses.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +2 -2
- package/modern/SpeedDial/speedDialClasses.js +1 -1
- package/modern/SpeedDialAction/SpeedDialAction.js +2 -2
- package/modern/SpeedDialAction/speedDialActionClasses.js +1 -1
- package/modern/SpeedDialIcon/SpeedDialIcon.js +2 -2
- package/modern/SpeedDialIcon/speedDialIconClasses.js +1 -1
- package/modern/Stack/Stack.js +5 -2
- package/modern/Step/Step.js +2 -2
- package/modern/Step/stepClasses.js +1 -1
- package/modern/StepButton/StepButton.js +2 -2
- package/modern/StepButton/stepButtonClasses.js +1 -1
- package/modern/StepConnector/StepConnector.js +2 -2
- package/modern/StepConnector/stepConnectorClasses.js +1 -1
- package/modern/StepContent/StepContent.js +2 -2
- package/modern/StepContent/stepContentClasses.js +1 -1
- package/modern/StepIcon/StepIcon.js +2 -2
- package/modern/StepIcon/stepIconClasses.js +1 -1
- package/modern/StepLabel/StepLabel.js +2 -2
- package/modern/StepLabel/stepLabelClasses.js +1 -1
- package/modern/Stepper/Stepper.js +2 -2
- package/modern/Stepper/stepperClasses.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +2 -2
- package/modern/SvgIcon/svgIconClasses.js +1 -1
- package/modern/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/modern/Switch/Switch.js +2 -2
- package/modern/Switch/switchClasses.js +1 -1
- package/modern/Tab/Tab.js +2 -2
- package/modern/Tab/tabClasses.js +1 -1
- package/modern/TabScrollButton/TabScrollButton.js +2 -2
- package/modern/TabScrollButton/tabScrollButtonClasses.js +1 -1
- package/modern/Table/Table.js +2 -2
- package/modern/Table/tableClasses.js +1 -1
- package/modern/TableBody/TableBody.js +2 -2
- package/modern/TableBody/tableBodyClasses.js +1 -1
- package/modern/TableCell/TableCell.js +2 -2
- package/modern/TableCell/tableCellClasses.js +1 -1
- package/modern/TableContainer/TableContainer.js +2 -2
- package/modern/TableContainer/tableContainerClasses.js +1 -1
- package/modern/TableFooter/TableFooter.js +2 -2
- package/modern/TableFooter/tableFooterClasses.js +1 -1
- package/modern/TableHead/TableHead.js +2 -2
- package/modern/TableHead/tableHeadClasses.js +1 -1
- package/modern/TablePagination/TablePagination.js +4 -4
- package/modern/TablePagination/tablePaginationClasses.js +1 -1
- package/modern/TableRow/TableRow.js +2 -2
- package/modern/TableRow/tableRowClasses.js +1 -1
- package/modern/TableSortLabel/TableSortLabel.js +2 -2
- package/modern/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/modern/Tabs/Tabs.js +2 -2
- package/modern/Tabs/tabsClasses.js +1 -1
- package/modern/TextField/TextField.js +2 -2
- package/modern/TextField/textFieldClasses.js +1 -1
- package/modern/TextareaAutosize/index.js +1 -1
- package/modern/ToggleButton/ToggleButton.js +2 -2
- package/modern/ToggleButton/toggleButtonClasses.js +1 -1
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/modern/Toolbar/Toolbar.js +2 -2
- package/modern/Toolbar/toolbarClasses.js +1 -1
- package/modern/Tooltip/Tooltip.js +5 -3
- package/modern/Tooltip/tooltipClasses.js +1 -1
- package/modern/Typography/Typography.js +2 -2
- package/modern/Typography/typographyClasses.js +1 -1
- package/modern/Unstable_TrapFocus/index.js +1 -1
- package/modern/index.js +2 -2
- package/modern/internal/SwitchBase.js +1 -1
- package/modern/internal/switchBaseClasses.js +1 -1
- package/modern/locale/index.js +168 -78
- package/modern/styles/createPalette.js +1 -1
- package/modern/styles/createTheme.js +1 -1
- package/modern/useAutocomplete/useAutocomplete.js +2 -2
- package/modern/useMediaQuery/useMediaQuery.js +65 -26
- package/modern/utils/index.js +1 -1
- package/node/Accordion/Accordion.js +3 -3
- package/node/Accordion/accordionClasses.js +3 -3
- package/node/AccordionActions/AccordionActions.js +3 -3
- package/node/AccordionActions/accordionActionsClasses.js +3 -3
- package/node/AccordionDetails/AccordionDetails.js +3 -3
- package/node/AccordionDetails/accordionDetailsClasses.js +3 -3
- package/node/AccordionSummary/AccordionSummary.js +3 -3
- package/node/AccordionSummary/accordionSummaryClasses.js +3 -3
- package/node/Alert/Alert.js +3 -3
- package/node/Alert/alertClasses.js +3 -3
- package/node/AlertTitle/AlertTitle.js +3 -3
- package/node/AlertTitle/alertTitleClasses.js +3 -3
- package/node/AppBar/AppBar.js +3 -3
- package/node/AppBar/appBarClasses.js +3 -3
- package/node/Autocomplete/Autocomplete.js +8 -5
- package/node/Autocomplete/autocompleteClasses.js +3 -3
- package/node/Avatar/Avatar.js +3 -3
- package/node/Avatar/avatarClasses.js +3 -3
- package/node/AvatarGroup/AvatarGroup.js +3 -3
- package/node/AvatarGroup/avatarGroupClasses.js +3 -3
- package/node/Backdrop/Backdrop.js +4 -4
- package/node/Badge/Badge.js +6 -6
- package/node/BottomNavigation/BottomNavigation.js +3 -3
- package/node/BottomNavigation/bottomNavigationClasses.js +3 -3
- package/node/BottomNavigationAction/BottomNavigationAction.js +3 -3
- package/node/BottomNavigationAction/bottomNavigationActionClasses.js +3 -3
- package/node/Box/Box.js +5 -1
- package/node/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/node/Breadcrumbs/Breadcrumbs.js +3 -3
- package/node/Breadcrumbs/breadcrumbsClasses.js +3 -3
- package/node/Button/Button.js +42 -11
- package/node/Button/buttonClasses.js +3 -3
- package/node/ButtonBase/ButtonBase.js +2 -2
- package/node/ButtonBase/buttonBaseClasses.js +3 -3
- package/node/ButtonBase/touchRippleClasses.js +3 -3
- package/node/ButtonGroup/ButtonGroup.js +26 -30
- package/node/ButtonGroup/ButtonGroupContext.js +24 -0
- package/node/ButtonGroup/buttonGroupClasses.js +3 -3
- package/node/Card/Card.js +3 -3
- package/node/Card/cardClasses.js +3 -3
- package/node/CardActionArea/CardActionArea.js +3 -3
- package/node/CardActionArea/cardActionAreaClasses.js +3 -3
- package/node/CardActions/CardActions.js +3 -3
- package/node/CardActions/cardActionsClasses.js +3 -3
- package/node/CardContent/CardContent.js +3 -3
- package/node/CardContent/cardContentClasses.js +3 -3
- package/node/CardHeader/CardHeader.js +3 -3
- package/node/CardHeader/cardHeaderClasses.js +3 -3
- package/node/CardMedia/CardMedia.js +3 -3
- package/node/CardMedia/cardMediaClasses.js +3 -3
- package/node/Checkbox/Checkbox.js +3 -3
- package/node/Checkbox/checkboxClasses.js +3 -3
- package/node/Chip/Chip.js +3 -3
- package/node/Chip/chipClasses.js +3 -3
- package/node/CircularProgress/CircularProgress.js +3 -3
- package/node/CircularProgress/circularProgressClasses.js +3 -3
- package/node/ClickAwayListener/index.js +1 -1
- package/node/Collapse/Collapse.js +3 -3
- package/node/Collapse/collapseClasses.js +3 -3
- package/node/Container/Container.js +3 -3
- package/node/Container/containerClasses.js +3 -3
- package/node/CssBaseline/CssBaseline.js +22 -12
- package/node/Dialog/Dialog.js +3 -3
- package/node/Dialog/dialogClasses.js +3 -3
- package/node/DialogActions/DialogActions.js +3 -3
- package/node/DialogActions/dialogActionsClasses.js +3 -3
- package/node/DialogContent/DialogContent.js +3 -3
- package/node/DialogContent/dialogContentClasses.js +3 -3
- package/node/DialogContentText/DialogContentText.js +3 -3
- package/node/DialogContentText/dialogContentTextClasses.js +3 -3
- package/node/DialogTitle/DialogTitle.js +3 -3
- package/node/DialogTitle/dialogTitleClasses.js +3 -3
- package/node/Divider/Divider.js +7 -7
- package/node/Divider/dividerClasses.js +3 -3
- package/node/Drawer/Drawer.js +3 -3
- package/node/Drawer/drawerClasses.js +3 -3
- package/node/Fab/Fab.js +3 -3
- package/node/Fab/fabClasses.js +3 -3
- package/node/FilledInput/FilledInput.js +3 -3
- package/node/FilledInput/filledInputClasses.js +3 -3
- package/node/FormControl/FormControl.js +3 -3
- package/node/FormControl/formControlClasses.js +3 -3
- package/node/FormControlLabel/FormControlLabel.js +5 -5
- package/node/FormControlLabel/formControlLabelClasses.js +3 -3
- package/node/FormGroup/FormGroup.js +3 -3
- package/node/FormGroup/formGroupClasses.js +3 -3
- package/node/FormHelperText/FormHelperText.js +3 -3
- package/node/FormHelperText/formHelperTextClasses.js +3 -3
- package/node/FormLabel/FormLabel.js +3 -3
- package/node/FormLabel/formLabelClasses.js +3 -3
- package/node/Grid/Grid.js +58 -24
- package/node/Grid/gridClasses.js +3 -3
- package/node/Hidden/HiddenCss.js +2 -2
- package/node/Hidden/hiddenCssClasses.js +3 -3
- package/node/Icon/Icon.js +3 -3
- package/node/Icon/iconClasses.js +3 -3
- package/node/IconButton/IconButton.js +9 -7
- package/node/IconButton/iconButtonClasses.js +3 -3
- package/node/ImageList/ImageList.js +3 -3
- package/node/ImageList/imageListClasses.js +3 -3
- package/node/ImageListItem/ImageListItem.js +3 -3
- package/node/ImageListItem/imageListItemClasses.js +3 -3
- package/node/ImageListItemBar/ImageListItemBar.js +3 -3
- package/node/ImageListItemBar/imageListItemBarClasses.js +3 -3
- package/node/Input/Input.js +3 -3
- package/node/Input/inputClasses.js +3 -3
- package/node/InputAdornment/InputAdornment.js +3 -3
- package/node/InputAdornment/inputAdornmentClasses.js +3 -3
- package/node/InputBase/InputBase.js +8 -9
- package/node/InputBase/inputBaseClasses.js +3 -3
- package/node/InputLabel/InputLabel.js +3 -3
- package/node/InputLabel/inputLabelClasses.js +3 -3
- package/node/LinearProgress/LinearProgress.js +3 -3
- package/node/LinearProgress/linearProgressClasses.js +3 -3
- package/node/Link/Link.js +3 -3
- package/node/Link/linkClasses.js +3 -3
- package/node/List/List.js +3 -3
- package/node/List/listClasses.js +3 -3
- package/node/ListItem/ListItem.js +5 -5
- package/node/ListItem/listItemClasses.js +3 -3
- package/node/ListItemAvatar/ListItemAvatar.js +3 -3
- package/node/ListItemAvatar/listItemAvatarClasses.js +3 -3
- package/node/ListItemButton/ListItemButton.js +3 -3
- package/node/ListItemButton/listItemButtonClasses.js +3 -3
- package/node/ListItemIcon/ListItemIcon.js +3 -3
- package/node/ListItemIcon/listItemIconClasses.js +3 -3
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +3 -3
- package/node/ListItemSecondaryAction/listItemSecondaryActionClasses.js +3 -3
- package/node/ListItemText/ListItemText.js +3 -3
- package/node/ListItemText/listItemTextClasses.js +3 -3
- package/node/ListSubheader/ListSubheader.js +3 -3
- package/node/ListSubheader/listSubheaderClasses.js +3 -3
- package/node/Menu/Menu.js +3 -3
- package/node/Menu/menuClasses.js +3 -3
- package/node/MenuItem/MenuItem.js +3 -3
- package/node/MenuItem/menuItemClasses.js +3 -3
- package/node/MobileStepper/MobileStepper.js +3 -3
- package/node/MobileStepper/mobileStepperClasses.js +3 -3
- package/node/Modal/Modal.js +4 -4
- package/node/Modal/index.js +1 -1
- package/node/NativeSelect/NativeSelect.js +3 -3
- package/node/NativeSelect/NativeSelectInput.js +7 -4
- package/node/NativeSelect/nativeSelectClasses.js +3 -3
- package/node/NoSsr/index.js +1 -1
- package/node/OutlinedInput/NotchedOutline.js +6 -1
- package/node/OutlinedInput/OutlinedInput.js +3 -3
- package/node/OutlinedInput/outlinedInputClasses.js +3 -3
- package/node/Pagination/Pagination.js +3 -3
- package/node/Pagination/paginationClasses.js +3 -3
- package/node/PaginationItem/PaginationItem.js +34 -12
- package/node/PaginationItem/paginationItemClasses.js +3 -3
- package/node/Paper/Paper.js +3 -3
- package/node/Paper/paperClasses.js +3 -3
- package/node/Popover/Popover.js +3 -3
- package/node/Popover/popoverClasses.js +3 -3
- package/node/Popper/Popper.js +153 -0
- package/node/Popper/index.js +1 -1
- package/node/Portal/index.js +1 -1
- package/node/Radio/Radio.js +3 -3
- package/node/Radio/radioClasses.js +3 -3
- package/node/RadioGroup/RadioGroupContext.js +1 -1
- package/node/Rating/Rating.js +3 -4
- package/node/Rating/ratingClasses.js +3 -3
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +23 -13
- package/node/ScopedCssBaseline/scopedCssBaselineClasses.js +3 -3
- package/node/Select/Select.js +5 -14
- package/node/Select/SelectInput.js +7 -4
- package/node/Select/selectClasses.js +3 -3
- package/node/Skeleton/Skeleton.js +3 -3
- package/node/Skeleton/skeletonClasses.js +3 -3
- package/node/Slider/Slider.js +5 -5
- package/node/Snackbar/Snackbar.js +4 -4
- package/node/Snackbar/snackbarClasses.js +3 -3
- package/node/SnackbarContent/SnackbarContent.js +3 -3
- package/node/SnackbarContent/snackbarContentClasses.js +3 -3
- package/node/SpeedDial/SpeedDial.js +3 -3
- package/node/SpeedDial/speedDialClasses.js +3 -3
- package/node/SpeedDialAction/SpeedDialAction.js +3 -3
- package/node/SpeedDialAction/speedDialActionClasses.js +3 -3
- package/node/SpeedDialIcon/SpeedDialIcon.js +3 -3
- package/node/SpeedDialIcon/speedDialIconClasses.js +3 -3
- package/node/Stack/Stack.js +5 -2
- package/node/Step/Step.js +3 -3
- package/node/Step/stepClasses.js +3 -3
- package/node/StepButton/StepButton.js +3 -3
- package/node/StepButton/stepButtonClasses.js +3 -3
- package/node/StepConnector/StepConnector.js +3 -3
- package/node/StepConnector/stepConnectorClasses.js +3 -3
- package/node/StepContent/StepContent.js +3 -3
- package/node/StepContent/stepContentClasses.js +3 -3
- package/node/StepIcon/StepIcon.js +3 -3
- package/node/StepIcon/stepIconClasses.js +3 -3
- package/node/StepLabel/StepLabel.js +3 -3
- package/node/StepLabel/stepLabelClasses.js +3 -3
- package/node/Stepper/Stepper.js +3 -3
- package/node/Stepper/stepperClasses.js +3 -3
- package/node/SvgIcon/SvgIcon.js +3 -3
- package/node/SvgIcon/svgIconClasses.js +3 -3
- package/node/SwipeableDrawer/SwipeableDrawer.js +2 -2
- package/node/Switch/Switch.js +3 -3
- package/node/Switch/switchClasses.js +3 -3
- package/node/Tab/Tab.js +3 -3
- package/node/Tab/tabClasses.js +3 -3
- package/node/TabScrollButton/TabScrollButton.js +3 -3
- package/node/TabScrollButton/tabScrollButtonClasses.js +3 -3
- package/node/Table/Table.js +3 -3
- package/node/Table/tableClasses.js +3 -3
- package/node/TableBody/TableBody.js +3 -3
- package/node/TableBody/tableBodyClasses.js +3 -3
- package/node/TableCell/TableCell.js +3 -3
- package/node/TableCell/tableCellClasses.js +3 -3
- package/node/TableContainer/TableContainer.js +3 -3
- package/node/TableContainer/tableContainerClasses.js +3 -3
- package/node/TableFooter/TableFooter.js +3 -3
- package/node/TableFooter/tableFooterClasses.js +3 -3
- package/node/TableHead/TableHead.js +3 -3
- package/node/TableHead/tableHeadClasses.js +3 -3
- package/node/TablePagination/TablePagination.js +6 -6
- package/node/TablePagination/tablePaginationClasses.js +3 -3
- package/node/TableRow/TableRow.js +3 -3
- package/node/TableRow/tableRowClasses.js +3 -3
- package/node/TableSortLabel/TableSortLabel.js +3 -3
- package/node/TableSortLabel/tableSortLabelClasses.js +3 -3
- package/node/Tabs/Tabs.js +3 -3
- package/node/Tabs/tabsClasses.js +3 -3
- package/node/TextField/TextField.js +3 -3
- package/node/TextField/textFieldClasses.js +3 -3
- package/node/TextareaAutosize/index.js +1 -1
- package/node/ToggleButton/ToggleButton.js +3 -3
- package/node/ToggleButton/toggleButtonClasses.js +3 -3
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +3 -3
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +3 -3
- package/node/Toolbar/Toolbar.js +3 -3
- package/node/Toolbar/toolbarClasses.js +3 -3
- package/node/Tooltip/Tooltip.js +10 -8
- package/node/Tooltip/tooltipClasses.js +3 -3
- package/node/Typography/Typography.js +3 -3
- package/node/Typography/typographyClasses.js +3 -3
- package/node/Unstable_TrapFocus/index.js +1 -1
- package/node/index.js +5 -5
- package/node/internal/SwitchBase.js +2 -2
- package/node/internal/switchBaseClasses.js +3 -3
- package/node/locale/index.js +170 -79
- package/node/styles/createPalette.js +1 -1
- package/node/styles/createTheme.js +2 -2
- package/node/useAutocomplete/useAutocomplete.js +1 -1
- package/node/useMediaQuery/useMediaQuery.js +65 -26
- package/node/utils/index.js +2 -2
- package/package.json +8 -7
- package/styles/createPalette.js +1 -1
- package/styles/createTheme.js +1 -1
- package/styles/variants.d.ts +3 -2
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +14 -14
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +1746 -423
- package/umd/material-ui.production.min.js +21 -21
- package/useAutocomplete/useAutocomplete.d.ts +2 -2
- package/useAutocomplete/useAutocomplete.js +2 -2
- package/useMediaQuery/useMediaQuery.d.ts +31 -27
- package/useMediaQuery/useMediaQuery.js +65 -26
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/index.d.ts +1 -1
- package/utils/index.js +1 -1
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.0
|
|
1
|
+
/** @license MUI v5.2.0
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
};
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
500
|
+
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
501
501
|
|
|
502
502
|
var isPropValid = /* #__PURE__ */memoize$1(function (prop) {
|
|
503
503
|
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
@@ -570,7 +570,13 @@
|
|
|
570
570
|
var before;
|
|
571
571
|
|
|
572
572
|
if (_this.tags.length === 0) {
|
|
573
|
-
|
|
573
|
+
if (_this.insertionPoint) {
|
|
574
|
+
before = _this.insertionPoint.nextSibling;
|
|
575
|
+
} else if (_this.prepend) {
|
|
576
|
+
before = _this.container.firstChild;
|
|
577
|
+
} else {
|
|
578
|
+
before = _this.before;
|
|
579
|
+
}
|
|
574
580
|
} else {
|
|
575
581
|
before = _this.tags[_this.tags.length - 1].nextSibling;
|
|
576
582
|
}
|
|
@@ -588,6 +594,7 @@
|
|
|
588
594
|
this.key = options.key;
|
|
589
595
|
this.container = options.container;
|
|
590
596
|
this.prepend = options.prepend;
|
|
597
|
+
this.insertionPoint = options.insertionPoint;
|
|
591
598
|
this.before = null;
|
|
592
599
|
}
|
|
593
600
|
|
|
@@ -1034,7 +1041,8 @@
|
|
|
1034
1041
|
container: container,
|
|
1035
1042
|
nonce: options.nonce,
|
|
1036
1043
|
speedy: options.speedy,
|
|
1037
|
-
prepend: options.prepend
|
|
1044
|
+
prepend: options.prepend,
|
|
1045
|
+
insertionPoint: options.insertionPoint
|
|
1038
1046
|
}),
|
|
1039
1047
|
nonce: options.nonce,
|
|
1040
1048
|
inserted: inserted,
|
|
@@ -1866,7 +1874,7 @@
|
|
|
1866
1874
|
};
|
|
1867
1875
|
|
|
1868
1876
|
var isBrowser$2 = typeof document !== 'undefined';
|
|
1869
|
-
var hasOwnProperty$1 =
|
|
1877
|
+
var hasOwnProperty$1 = {}.hasOwnProperty;
|
|
1870
1878
|
|
|
1871
1879
|
var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1872
1880
|
// because this module is primarily intended for the browser and node
|
|
@@ -1925,6 +1933,11 @@
|
|
|
1925
1933
|
|
|
1926
1934
|
var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
|
|
1927
1935
|
var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
|
|
1936
|
+
|
|
1937
|
+
var Noop$2 = function Noop() {
|
|
1938
|
+
return null;
|
|
1939
|
+
};
|
|
1940
|
+
|
|
1928
1941
|
var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
|
|
1929
1942
|
var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
|
|
1930
1943
|
// not passing the registered cache to serializeStyles because it would
|
|
@@ -1967,6 +1980,7 @@
|
|
|
1967
1980
|
newProps.ref = ref;
|
|
1968
1981
|
newProps.className = className;
|
|
1969
1982
|
var ele = /*#__PURE__*/React.createElement(type, newProps);
|
|
1983
|
+
var possiblyStyleElement = /*#__PURE__*/React.createElement(Noop$2, null);
|
|
1970
1984
|
|
|
1971
1985
|
if (!isBrowser$2 && rules !== undefined) {
|
|
1972
1986
|
var _ref;
|
|
@@ -1979,12 +1993,13 @@
|
|
|
1979
1993
|
next = next.next;
|
|
1980
1994
|
}
|
|
1981
1995
|
|
|
1982
|
-
|
|
1996
|
+
possiblyStyleElement = /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedNames, _ref.dangerouslySetInnerHTML = {
|
|
1983
1997
|
__html: rules
|
|
1984
|
-
}, _ref.nonce = cache.sheet.nonce, _ref))
|
|
1985
|
-
}
|
|
1998
|
+
}, _ref.nonce = cache.sheet.nonce, _ref));
|
|
1999
|
+
} // Need to return the same number of siblings or else `React.useId` will cause hydration mismatches.
|
|
2000
|
+
|
|
1986
2001
|
|
|
1987
|
-
return ele;
|
|
2002
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, possiblyStyleElement, ele);
|
|
1988
2003
|
});
|
|
1989
2004
|
|
|
1990
2005
|
{
|
|
@@ -1993,7 +2008,7 @@
|
|
|
1993
2008
|
|
|
1994
2009
|
var pkg = {
|
|
1995
2010
|
name: "@emotion/react",
|
|
1996
|
-
version: "11.
|
|
2011
|
+
version: "11.6.0",
|
|
1997
2012
|
main: "dist/emotion-react.cjs.js",
|
|
1998
2013
|
module: "dist/emotion-react.esm.js",
|
|
1999
2014
|
browser: {
|
|
@@ -2006,7 +2021,7 @@
|
|
|
2006
2021
|
"dist",
|
|
2007
2022
|
"jsx-runtime",
|
|
2008
2023
|
"jsx-dev-runtime",
|
|
2009
|
-
"
|
|
2024
|
+
"_isolated-hnrs",
|
|
2010
2025
|
"types/*.d.ts",
|
|
2011
2026
|
"macro.js",
|
|
2012
2027
|
"macro.d.ts",
|
|
@@ -2020,9 +2035,9 @@
|
|
|
2020
2035
|
},
|
|
2021
2036
|
dependencies: {
|
|
2022
2037
|
"@babel/runtime": "^7.13.10",
|
|
2023
|
-
"@emotion/cache": "^11.
|
|
2038
|
+
"@emotion/cache": "^11.6.0",
|
|
2024
2039
|
"@emotion/serialize": "^1.0.2",
|
|
2025
|
-
"@emotion/sheet": "^1.0
|
|
2040
|
+
"@emotion/sheet": "^1.1.0",
|
|
2026
2041
|
"@emotion/utils": "^1.0.0",
|
|
2027
2042
|
"@emotion/weak-memoize": "^0.2.5",
|
|
2028
2043
|
"hoist-non-react-statics": "^3.3.1"
|
|
@@ -2044,7 +2059,7 @@
|
|
|
2044
2059
|
"@emotion/css": "11.5.0",
|
|
2045
2060
|
"@emotion/css-prettifier": "1.0.0",
|
|
2046
2061
|
"@emotion/server": "11.4.0",
|
|
2047
|
-
"@emotion/styled": "11.
|
|
2062
|
+
"@emotion/styled": "11.6.0",
|
|
2048
2063
|
"@types/react": "^16.9.11",
|
|
2049
2064
|
dtslint: "^0.3.0",
|
|
2050
2065
|
"html-tag-names": "^1.1.2",
|
|
@@ -2061,7 +2076,7 @@
|
|
|
2061
2076
|
"./index.js",
|
|
2062
2077
|
"./jsx-runtime.js",
|
|
2063
2078
|
"./jsx-dev-runtime.js",
|
|
2064
|
-
"./
|
|
2079
|
+
"./_isolated-hnrs.js"
|
|
2065
2080
|
],
|
|
2066
2081
|
umdName: "emotionReact"
|
|
2067
2082
|
}
|
|
@@ -2260,6 +2275,10 @@
|
|
|
2260
2275
|
return rawClassName + css(registeredStyles);
|
|
2261
2276
|
}
|
|
2262
2277
|
|
|
2278
|
+
var Noop$1 = function Noop() {
|
|
2279
|
+
return null;
|
|
2280
|
+
};
|
|
2281
|
+
|
|
2263
2282
|
var ClassNames = /* #__PURE__ */withEmotionCache(function (props, cache) {
|
|
2264
2283
|
var rules = '';
|
|
2265
2284
|
var serializedHashes = '';
|
|
@@ -2312,16 +2331,18 @@
|
|
|
2312
2331
|
};
|
|
2313
2332
|
var ele = props.children(content);
|
|
2314
2333
|
hasRendered = true;
|
|
2334
|
+
var possiblyStyleElement = /*#__PURE__*/React.createElement(Noop$1, null);
|
|
2315
2335
|
|
|
2316
2336
|
if (!isBrowser$2 && rules.length !== 0) {
|
|
2317
2337
|
var _ref;
|
|
2318
2338
|
|
|
2319
|
-
|
|
2339
|
+
possiblyStyleElement = /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedHashes.substring(1), _ref.dangerouslySetInnerHTML = {
|
|
2320
2340
|
__html: rules
|
|
2321
|
-
}, _ref.nonce = cache.sheet.nonce, _ref))
|
|
2322
|
-
}
|
|
2341
|
+
}, _ref.nonce = cache.sheet.nonce, _ref));
|
|
2342
|
+
} // Need to return the same number of siblings or else `React.useId` will cause hydration mismatches.
|
|
2343
|
+
|
|
2323
2344
|
|
|
2324
|
-
return ele;
|
|
2345
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, possiblyStyleElement, ele);
|
|
2325
2346
|
});
|
|
2326
2347
|
|
|
2327
2348
|
{
|
|
@@ -2380,6 +2401,10 @@
|
|
|
2380
2401
|
var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
|
|
2381
2402
|
var isBrowser = typeof document !== 'undefined';
|
|
2382
2403
|
|
|
2404
|
+
var Noop = function Noop() {
|
|
2405
|
+
return null;
|
|
2406
|
+
};
|
|
2407
|
+
|
|
2383
2408
|
var createStyled$1 = function createStyled(tag, options) {
|
|
2384
2409
|
{
|
|
2385
2410
|
if (tag === undefined) {
|
|
@@ -2474,6 +2499,7 @@
|
|
|
2474
2499
|
newProps.className = className;
|
|
2475
2500
|
newProps.ref = ref;
|
|
2476
2501
|
var ele = /*#__PURE__*/React.createElement(finalTag, newProps);
|
|
2502
|
+
var possiblyStyleElement = /*#__PURE__*/React.createElement(Noop, null);
|
|
2477
2503
|
|
|
2478
2504
|
if (!isBrowser && rules !== undefined) {
|
|
2479
2505
|
var _ref;
|
|
@@ -2486,12 +2512,13 @@
|
|
|
2486
2512
|
next = next.next;
|
|
2487
2513
|
}
|
|
2488
2514
|
|
|
2489
|
-
|
|
2515
|
+
possiblyStyleElement = /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedNames, _ref.dangerouslySetInnerHTML = {
|
|
2490
2516
|
__html: rules
|
|
2491
|
-
}, _ref.nonce = cache.sheet.nonce, _ref))
|
|
2492
|
-
}
|
|
2517
|
+
}, _ref.nonce = cache.sheet.nonce, _ref));
|
|
2518
|
+
} // Need to return the same number of siblings or else `React.useId` will cause hydration mismatches.
|
|
2493
2519
|
|
|
2494
|
-
|
|
2520
|
+
|
|
2521
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, possiblyStyleElement, ele);
|
|
2495
2522
|
});
|
|
2496
2523
|
Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
|
|
2497
2524
|
Styled.defaultProps = tag.defaultProps;
|
|
@@ -4632,9 +4659,7 @@
|
|
|
4632
4659
|
}
|
|
4633
4660
|
|
|
4634
4661
|
function isPlainObject(item) {
|
|
4635
|
-
return item !== null && typeof item === 'object' &&
|
|
4636
|
-
// @ts-expect-error
|
|
4637
|
-
item.constructor === Object;
|
|
4662
|
+
return item !== null && typeof item === 'object' && item.constructor === Object;
|
|
4638
4663
|
}
|
|
4639
4664
|
function deepmerge(target, source, options = {
|
|
4640
4665
|
clone: true
|
|
@@ -4973,7 +4998,7 @@
|
|
|
4973
4998
|
const useEnhancedEffect = typeof window !== 'undefined' ? React__namespace.useLayoutEffect : React__namespace.useEffect;
|
|
4974
4999
|
var useEnhancedEffect$1 = useEnhancedEffect;
|
|
4975
5000
|
|
|
4976
|
-
function
|
|
5001
|
+
function useRandomId(idOverride) {
|
|
4977
5002
|
const [defaultId, setDefaultId] = React__namespace.useState(idOverride);
|
|
4978
5003
|
const id = idOverride || defaultId;
|
|
4979
5004
|
React__namespace.useEffect(() => {
|
|
@@ -4986,6 +5011,24 @@
|
|
|
4986
5011
|
}, [defaultId]);
|
|
4987
5012
|
return id;
|
|
4988
5013
|
}
|
|
5014
|
+
/**
|
|
5015
|
+
*
|
|
5016
|
+
* @example <div id={useId()} />
|
|
5017
|
+
* @param idOverride
|
|
5018
|
+
* @returns {string}
|
|
5019
|
+
*/
|
|
5020
|
+
|
|
5021
|
+
|
|
5022
|
+
function useReactId(idOverride) {
|
|
5023
|
+
// TODO: Remove `React as any` once `useId` is part of stable types.
|
|
5024
|
+
if (React__namespace.useId !== undefined) {
|
|
5025
|
+
const reactId = React__namespace.useId();
|
|
5026
|
+
return idOverride != null ? idOverride : reactId;
|
|
5027
|
+
} // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.
|
|
5028
|
+
|
|
5029
|
+
|
|
5030
|
+
return useRandomId(idOverride);
|
|
5031
|
+
}
|
|
4989
5032
|
|
|
4990
5033
|
function unsupportedProp(props, propName, componentName, location, propFullName) {
|
|
4991
5034
|
|
|
@@ -5423,12 +5466,12 @@
|
|
|
5423
5466
|
xs: 0,
|
|
5424
5467
|
// phone
|
|
5425
5468
|
sm: 600,
|
|
5426
|
-
//
|
|
5469
|
+
// tablet
|
|
5427
5470
|
md: 900,
|
|
5428
5471
|
// small laptop
|
|
5429
5472
|
lg: 1200,
|
|
5430
5473
|
// desktop
|
|
5431
|
-
xl: 1536 // large
|
|
5474
|
+
xl: 1536 // large screen
|
|
5432
5475
|
|
|
5433
5476
|
};
|
|
5434
5477
|
const defaultBreakpoints = {
|
|
@@ -5481,7 +5524,7 @@
|
|
|
5481
5524
|
function removeUnusedBreakpoints(breakpointKeys, style) {
|
|
5482
5525
|
return breakpointKeys.reduce((acc, key) => {
|
|
5483
5526
|
const breakpointOutput = acc[key];
|
|
5484
|
-
const isBreakpointUnused = Object.keys(breakpointOutput).length === 0;
|
|
5527
|
+
const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
|
|
5485
5528
|
|
|
5486
5529
|
if (isBreakpointUnused) {
|
|
5487
5530
|
delete acc[key];
|
|
@@ -5490,10 +5533,40 @@
|
|
|
5490
5533
|
return acc;
|
|
5491
5534
|
}, style);
|
|
5492
5535
|
}
|
|
5536
|
+
// [1,2,3] => {xs: true, sm: true, md: true}
|
|
5537
|
+
// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}
|
|
5538
|
+
|
|
5539
|
+
function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
|
|
5540
|
+
// fixed value
|
|
5541
|
+
if (typeof breakpointValues !== 'object') {
|
|
5542
|
+
return {};
|
|
5543
|
+
}
|
|
5544
|
+
|
|
5545
|
+
const base = {};
|
|
5546
|
+
const breakpointsKeys = Object.keys(themeBreakpoints);
|
|
5547
|
+
|
|
5548
|
+
if (Array.isArray(breakpointValues)) {
|
|
5549
|
+
breakpointsKeys.forEach((breakpoint, i) => {
|
|
5550
|
+
if (i < breakpointValues.length) {
|
|
5551
|
+
base[breakpoint] = true;
|
|
5552
|
+
}
|
|
5553
|
+
});
|
|
5554
|
+
} else {
|
|
5555
|
+
breakpointsKeys.forEach(breakpoint => {
|
|
5556
|
+
if (breakpointValues[breakpoint] != null) {
|
|
5557
|
+
base[breakpoint] = true;
|
|
5558
|
+
}
|
|
5559
|
+
});
|
|
5560
|
+
}
|
|
5561
|
+
|
|
5562
|
+
return base;
|
|
5563
|
+
}
|
|
5493
5564
|
function resolveBreakpointValues({
|
|
5494
5565
|
values: breakpointValues,
|
|
5495
|
-
|
|
5566
|
+
breakpoints: themeBreakpoints,
|
|
5567
|
+
base: customBase
|
|
5496
5568
|
}) {
|
|
5569
|
+
const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);
|
|
5497
5570
|
const keys = Object.keys(base);
|
|
5498
5571
|
|
|
5499
5572
|
if (keys.length === 0) {
|
|
@@ -5501,14 +5574,15 @@
|
|
|
5501
5574
|
}
|
|
5502
5575
|
|
|
5503
5576
|
let previous;
|
|
5504
|
-
return keys.reduce((acc, breakpoint) => {
|
|
5505
|
-
if (
|
|
5506
|
-
acc[breakpoint] = breakpointValues[
|
|
5577
|
+
return keys.reduce((acc, breakpoint, i) => {
|
|
5578
|
+
if (Array.isArray(breakpointValues)) {
|
|
5579
|
+
acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];
|
|
5580
|
+
previous = i;
|
|
5507
5581
|
} else {
|
|
5508
|
-
acc[breakpoint] = breakpointValues;
|
|
5582
|
+
acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous] || breakpointValues;
|
|
5583
|
+
previous = breakpoint;
|
|
5509
5584
|
}
|
|
5510
5585
|
|
|
5511
|
-
previous = breakpoint;
|
|
5512
5586
|
return acc;
|
|
5513
5587
|
}, {});
|
|
5514
5588
|
}
|
|
@@ -6176,58 +6250,70 @@
|
|
|
6176
6250
|
|
|
6177
6251
|
function styleFunctionSx(props) {
|
|
6178
6252
|
const {
|
|
6179
|
-
sx
|
|
6253
|
+
sx,
|
|
6180
6254
|
theme = {}
|
|
6181
6255
|
} = props || {};
|
|
6182
6256
|
|
|
6183
|
-
if (!
|
|
6184
|
-
return null;
|
|
6257
|
+
if (!sx) {
|
|
6258
|
+
return null; // emotion & styled-components will neglect null
|
|
6185
6259
|
}
|
|
6260
|
+
/*
|
|
6261
|
+
* Receive `sxInput` as object or callback
|
|
6262
|
+
* and then recursively check keys & values to create media query object styles.
|
|
6263
|
+
* (the result will be used in `styled`)
|
|
6264
|
+
*/
|
|
6186
6265
|
|
|
6187
|
-
let stylesObject = styles;
|
|
6188
6266
|
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
} else if (typeof styles !== 'object') {
|
|
6192
|
-
// value
|
|
6193
|
-
return styles;
|
|
6194
|
-
}
|
|
6267
|
+
function traverse(sxInput) {
|
|
6268
|
+
let sxObject = sxInput;
|
|
6195
6269
|
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6270
|
+
if (typeof sxInput === 'function') {
|
|
6271
|
+
sxObject = sxInput(theme);
|
|
6272
|
+
} else if (typeof sxInput !== 'object') {
|
|
6273
|
+
// value
|
|
6274
|
+
return sxInput;
|
|
6275
|
+
}
|
|
6201
6276
|
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
theme
|
|
6208
|
-
}, value, x => ({
|
|
6209
|
-
[styleKey]: x
|
|
6210
|
-
}));
|
|
6277
|
+
const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);
|
|
6278
|
+
const breakpointsKeys = Object.keys(emptyBreakpoints);
|
|
6279
|
+
let css = emptyBreakpoints;
|
|
6280
|
+
Object.keys(sxObject).forEach(styleKey => {
|
|
6281
|
+
const value = callIfFn(sxObject[styleKey], theme);
|
|
6211
6282
|
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
theme
|
|
6216
|
-
}
|
|
6283
|
+
if (value !== null && value !== undefined) {
|
|
6284
|
+
if (typeof value === 'object') {
|
|
6285
|
+
if (propToStyleFunction[styleKey]) {
|
|
6286
|
+
css = merge(css, getThemeValue(styleKey, value, theme));
|
|
6287
|
+
} else {
|
|
6288
|
+
const breakpointsValues = handleBreakpoints({
|
|
6289
|
+
theme
|
|
6290
|
+
}, value, x => ({
|
|
6291
|
+
[styleKey]: x
|
|
6292
|
+
}));
|
|
6293
|
+
|
|
6294
|
+
if (objectsHaveSameKeys(breakpointsValues, value)) {
|
|
6295
|
+
css[styleKey] = styleFunctionSx({
|
|
6296
|
+
sx: value,
|
|
6297
|
+
theme
|
|
6298
|
+
});
|
|
6299
|
+
} else {
|
|
6300
|
+
css = merge(css, breakpointsValues);
|
|
6301
|
+
}
|
|
6302
|
+
}
|
|
6217
6303
|
} else {
|
|
6218
|
-
css = merge(css,
|
|
6304
|
+
css = merge(css, getThemeValue(styleKey, value, theme));
|
|
6219
6305
|
}
|
|
6220
6306
|
}
|
|
6221
|
-
}
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
return
|
|
6307
|
+
});
|
|
6308
|
+
return removeUnusedBreakpoints(breakpointsKeys, css);
|
|
6309
|
+
}
|
|
6310
|
+
|
|
6311
|
+
return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
|
|
6226
6312
|
}
|
|
6227
6313
|
|
|
6228
6314
|
styleFunctionSx.filterProps = ['sx'];
|
|
6229
6315
|
|
|
6230
|
-
const _excluded$
|
|
6316
|
+
const _excluded$2t = ["sx"];
|
|
6231
6317
|
|
|
6232
6318
|
const splitProps = props => {
|
|
6233
6319
|
const result = {
|
|
@@ -6248,14 +6334,32 @@
|
|
|
6248
6334
|
const {
|
|
6249
6335
|
sx: inSx
|
|
6250
6336
|
} = props,
|
|
6251
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6337
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2t);
|
|
6252
6338
|
|
|
6253
6339
|
const {
|
|
6254
6340
|
systemProps,
|
|
6255
6341
|
otherProps
|
|
6256
6342
|
} = splitProps(other);
|
|
6343
|
+
let finalSx;
|
|
6344
|
+
|
|
6345
|
+
if (Array.isArray(inSx)) {
|
|
6346
|
+
finalSx = [systemProps, ...inSx];
|
|
6347
|
+
} else if (typeof inSx === 'function') {
|
|
6348
|
+
finalSx = (...args) => {
|
|
6349
|
+
const result = inSx(...args);
|
|
6350
|
+
|
|
6351
|
+
if (!isPlainObject(result)) {
|
|
6352
|
+
return systemProps;
|
|
6353
|
+
}
|
|
6354
|
+
|
|
6355
|
+
return _extends({}, systemProps, result);
|
|
6356
|
+
};
|
|
6357
|
+
} else {
|
|
6358
|
+
finalSx = _extends({}, systemProps, inSx);
|
|
6359
|
+
}
|
|
6360
|
+
|
|
6257
6361
|
return _extends({}, otherProps, {
|
|
6258
|
-
sx:
|
|
6362
|
+
sx: finalSx
|
|
6259
6363
|
});
|
|
6260
6364
|
}
|
|
6261
6365
|
|
|
@@ -6300,7 +6404,7 @@
|
|
|
6300
6404
|
return str;
|
|
6301
6405
|
}
|
|
6302
6406
|
|
|
6303
|
-
const _excluded$
|
|
6407
|
+
const _excluded$2s = ["values", "unit", "step"];
|
|
6304
6408
|
|
|
6305
6409
|
function createBreakpoints(breakpoints) {
|
|
6306
6410
|
const {
|
|
@@ -6310,18 +6414,18 @@
|
|
|
6310
6414
|
xs: 0,
|
|
6311
6415
|
// phone
|
|
6312
6416
|
sm: 600,
|
|
6313
|
-
//
|
|
6417
|
+
// tablet
|
|
6314
6418
|
md: 900,
|
|
6315
6419
|
// small laptop
|
|
6316
6420
|
lg: 1200,
|
|
6317
6421
|
// desktop
|
|
6318
|
-
xl: 1536 // large
|
|
6422
|
+
xl: 1536 // large screen
|
|
6319
6423
|
|
|
6320
6424
|
},
|
|
6321
6425
|
unit = 'px',
|
|
6322
6426
|
step = 5
|
|
6323
6427
|
} = breakpoints,
|
|
6324
|
-
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$
|
|
6428
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2s);
|
|
6325
6429
|
|
|
6326
6430
|
const keys = Object.keys(values);
|
|
6327
6431
|
|
|
@@ -6396,7 +6500,7 @@
|
|
|
6396
6500
|
return spacing;
|
|
6397
6501
|
}
|
|
6398
6502
|
|
|
6399
|
-
const _excluded$
|
|
6503
|
+
const _excluded$2r = ["breakpoints", "palette", "spacing", "shape"];
|
|
6400
6504
|
|
|
6401
6505
|
function createTheme$1(options = {}, ...args) {
|
|
6402
6506
|
const {
|
|
@@ -6405,7 +6509,7 @@
|
|
|
6405
6509
|
spacing: spacingInput,
|
|
6406
6510
|
shape: shapeInput = {}
|
|
6407
6511
|
} = options,
|
|
6408
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
6512
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$2r);
|
|
6409
6513
|
|
|
6410
6514
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
6411
6515
|
const spacing = createSpacing(spacingInput);
|
|
@@ -6527,10 +6631,12 @@
|
|
|
6527
6631
|
return useTheme$2(defaultTheme);
|
|
6528
6632
|
}
|
|
6529
6633
|
|
|
6530
|
-
const _excluded$
|
|
6634
|
+
const _excluded$2q = ["className", "component"];
|
|
6531
6635
|
function createBox(options = {}) {
|
|
6532
6636
|
const {
|
|
6533
|
-
defaultTheme
|
|
6637
|
+
defaultTheme,
|
|
6638
|
+
defaultClassName = 'MuiBox-root',
|
|
6639
|
+
generateClassName
|
|
6534
6640
|
} = options;
|
|
6535
6641
|
const BoxRoot = styled$2('div')(styleFunctionSx);
|
|
6536
6642
|
const Box = /*#__PURE__*/React__namespace.forwardRef(function Box(inProps, ref) {
|
|
@@ -6541,12 +6647,12 @@
|
|
|
6541
6647
|
className,
|
|
6542
6648
|
component = 'div'
|
|
6543
6649
|
} = _extendSxProp,
|
|
6544
|
-
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$
|
|
6650
|
+
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2q);
|
|
6545
6651
|
|
|
6546
6652
|
return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
|
|
6547
6653
|
as: component,
|
|
6548
6654
|
ref: ref,
|
|
6549
|
-
className: clsx(className,
|
|
6655
|
+
className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
|
|
6550
6656
|
theme: theme
|
|
6551
6657
|
}, other));
|
|
6552
6658
|
});
|
|
@@ -6572,12 +6678,12 @@
|
|
|
6572
6678
|
/**
|
|
6573
6679
|
* @ignore
|
|
6574
6680
|
*/
|
|
6575
|
-
sx: propTypes.object
|
|
6681
|
+
sx: propTypes.oneOfType([propTypes.object, propTypes.array, propTypes.func])
|
|
6576
6682
|
} ;
|
|
6577
6683
|
return Box;
|
|
6578
6684
|
}
|
|
6579
6685
|
|
|
6580
|
-
const _excluded$
|
|
6686
|
+
const _excluded$2p = ["variant"];
|
|
6581
6687
|
|
|
6582
6688
|
function isEmpty$2(string) {
|
|
6583
6689
|
return string.length === 0;
|
|
@@ -6593,7 +6699,7 @@
|
|
|
6593
6699
|
const {
|
|
6594
6700
|
variant
|
|
6595
6701
|
} = props,
|
|
6596
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6702
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2p);
|
|
6597
6703
|
|
|
6598
6704
|
let classKey = variant || '';
|
|
6599
6705
|
Object.keys(other).sort().forEach(key => {
|
|
@@ -6606,8 +6712,8 @@
|
|
|
6606
6712
|
return classKey;
|
|
6607
6713
|
}
|
|
6608
6714
|
|
|
6609
|
-
const _excluded$
|
|
6610
|
-
_excluded2$
|
|
6715
|
+
const _excluded$2o = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
|
|
6716
|
+
_excluded2$b = ["theme"],
|
|
6611
6717
|
_excluded3$1 = ["theme"];
|
|
6612
6718
|
|
|
6613
6719
|
function isEmpty$1(obj) {
|
|
@@ -6687,7 +6793,7 @@
|
|
|
6687
6793
|
skipSx: inputSkipSx,
|
|
6688
6794
|
overridesResolver
|
|
6689
6795
|
} = inputOptions,
|
|
6690
|
-
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$
|
|
6796
|
+
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2o); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
|
|
6691
6797
|
|
|
6692
6798
|
|
|
6693
6799
|
const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
|
|
@@ -6716,11 +6822,15 @@
|
|
|
6716
6822
|
|
|
6717
6823
|
const muiStyledResolver = (styleArg, ...expressions) => {
|
|
6718
6824
|
const expressionsWithDefaultTheme = expressions ? expressions.map(stylesArg => {
|
|
6719
|
-
|
|
6825
|
+
// On the server emotion doesn't use React.forwardRef for creating components, so the created
|
|
6826
|
+
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
6827
|
+
// which are basically components used as a selectors.
|
|
6828
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
6829
|
+
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? _ref => {
|
|
6720
6830
|
let {
|
|
6721
6831
|
theme: themeInput
|
|
6722
6832
|
} = _ref,
|
|
6723
|
-
other = _objectWithoutPropertiesLoose(_ref, _excluded2$
|
|
6833
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded2$b);
|
|
6724
6834
|
|
|
6725
6835
|
return stylesArg(_extends({
|
|
6726
6836
|
theme: isEmpty$1(themeInput) ? defaultTheme : themeInput
|
|
@@ -7185,8 +7295,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7185
7295
|
ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) ;
|
|
7186
7296
|
}
|
|
7187
7297
|
|
|
7188
|
-
const _excluded$
|
|
7189
|
-
_excluded2$
|
|
7298
|
+
const _excluded$2n = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
|
|
7299
|
+
_excluded2$a = ["type", "mode"];
|
|
7190
7300
|
function adaptV4Theme(inputTheme) {
|
|
7191
7301
|
{
|
|
7192
7302
|
console.warn(['MUI: adaptV4Theme() is deprecated.', 'Follow the upgrade guide on https://mui.com/r/migration-v4#theme.'].join('\n'));
|
|
@@ -7200,7 +7310,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7200
7310
|
props = {},
|
|
7201
7311
|
styleOverrides = {}
|
|
7202
7312
|
} = inputTheme,
|
|
7203
|
-
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$
|
|
7313
|
+
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2n);
|
|
7204
7314
|
|
|
7205
7315
|
const theme = _extends({}, other, {
|
|
7206
7316
|
components: {}
|
|
@@ -7251,7 +7361,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7251
7361
|
type: typeInput,
|
|
7252
7362
|
mode: modeInput
|
|
7253
7363
|
} = palette,
|
|
7254
|
-
paletteRest = _objectWithoutPropertiesLoose(palette, _excluded2$
|
|
7364
|
+
paletteRest = _objectWithoutPropertiesLoose(palette, _excluded2$a);
|
|
7255
7365
|
|
|
7256
7366
|
const finalMode = modeInput || typeInput || 'light';
|
|
7257
7367
|
theme.palette = _extends({
|
|
@@ -7366,7 +7476,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7366
7476
|
selectOnFocus = !props.freeSolo,
|
|
7367
7477
|
value: valueProp
|
|
7368
7478
|
} = props;
|
|
7369
|
-
const id =
|
|
7479
|
+
const id = useReactId(idProp);
|
|
7370
7480
|
let getOptionLabel = getOptionLabelProp;
|
|
7371
7481
|
|
|
7372
7482
|
getOptionLabel = option => {
|
|
@@ -7405,6 +7515,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7405
7515
|
});
|
|
7406
7516
|
const [focused, setFocused] = React__namespace.useState(false);
|
|
7407
7517
|
const resetInputValue = React__namespace.useCallback((event, newValue) => {
|
|
7518
|
+
// retain current `inputValue` if new option isn't selected and `clearOnBlur` is false
|
|
7519
|
+
// When `multiple` is enabled, `newValue` is an array of all selected items including the newly selected item
|
|
7520
|
+
const isOptionSelected = multiple ? value.length < newValue.length : newValue !== null;
|
|
7521
|
+
|
|
7522
|
+
if (!isOptionSelected && !clearOnBlur) {
|
|
7523
|
+
return;
|
|
7524
|
+
}
|
|
7525
|
+
|
|
7408
7526
|
let newInputValue;
|
|
7409
7527
|
|
|
7410
7528
|
if (multiple) {
|
|
@@ -7425,7 +7543,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7425
7543
|
if (onInputChange) {
|
|
7426
7544
|
onInputChange(event, newInputValue, 'reset');
|
|
7427
7545
|
}
|
|
7428
|
-
}, [getOptionLabel, inputValue, multiple, onInputChange, setInputValueState]);
|
|
7546
|
+
}, [getOptionLabel, inputValue, multiple, onInputChange, setInputValueState, clearOnBlur, value]);
|
|
7429
7547
|
const prevValue = React__namespace.useRef();
|
|
7430
7548
|
React__namespace.useEffect(() => {
|
|
7431
7549
|
const valueChange = value !== prevValue.current;
|
|
@@ -8363,9 +8481,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8363
8481
|
const backdropUnstyledClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
|
|
8364
8482
|
var backdropUnstyledClasses$1 = backdropUnstyledClasses;
|
|
8365
8483
|
|
|
8366
|
-
const _excluded$
|
|
8484
|
+
const _excluded$2m = ["classes", "className", "invisible", "component", "components", "componentsProps", "theme"];
|
|
8367
8485
|
|
|
8368
|
-
const useUtilityClasses$
|
|
8486
|
+
const useUtilityClasses$1T = ownerState => {
|
|
8369
8487
|
const {
|
|
8370
8488
|
classes,
|
|
8371
8489
|
invisible
|
|
@@ -8388,14 +8506,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8388
8506
|
/* eslint-disable react/prop-types */
|
|
8389
8507
|
theme
|
|
8390
8508
|
} = props,
|
|
8391
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
8509
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2m);
|
|
8392
8510
|
|
|
8393
8511
|
const ownerState = _extends({}, props, {
|
|
8394
8512
|
classes: classesProp,
|
|
8395
8513
|
invisible
|
|
8396
8514
|
});
|
|
8397
8515
|
|
|
8398
|
-
const classes = useUtilityClasses$
|
|
8516
|
+
const classes = useUtilityClasses$1T(ownerState);
|
|
8399
8517
|
const Root = components.Root || component;
|
|
8400
8518
|
const rootProps = componentsProps.root || {};
|
|
8401
8519
|
return /*#__PURE__*/jsxRuntime_1(Root, _extends({
|
|
@@ -8469,9 +8587,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8469
8587
|
const badgeUnstyledClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular', 'invisible']);
|
|
8470
8588
|
var badgeUnstyledClasses$1 = badgeUnstyledClasses;
|
|
8471
8589
|
|
|
8472
|
-
const _excluded$
|
|
8590
|
+
const _excluded$2l = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "overlap", "showZero", "variant", "theme"];
|
|
8473
8591
|
|
|
8474
|
-
const useUtilityClasses$
|
|
8592
|
+
const useUtilityClasses$1S = ownerState => {
|
|
8475
8593
|
const {
|
|
8476
8594
|
variant,
|
|
8477
8595
|
anchorOrigin,
|
|
@@ -8508,7 +8626,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8508
8626
|
/* eslint-disable react/prop-types */
|
|
8509
8627
|
theme
|
|
8510
8628
|
} = props,
|
|
8511
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
8629
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2l);
|
|
8512
8630
|
|
|
8513
8631
|
const prevProps = usePreviousProps$1({
|
|
8514
8632
|
anchorOrigin: anchorOriginProp,
|
|
@@ -8547,7 +8665,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8547
8665
|
displayValue = badgeContent > max ? `${max}+` : badgeContent;
|
|
8548
8666
|
}
|
|
8549
8667
|
|
|
8550
|
-
const classes = useUtilityClasses$
|
|
8668
|
+
const classes = useUtilityClasses$1S(ownerState);
|
|
8551
8669
|
const Root = components.Root || component;
|
|
8552
8670
|
const rootProps = componentsProps.root || {};
|
|
8553
8671
|
const Badge = components.Badge || 'span';
|
|
@@ -8905,9 +9023,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8905
9023
|
});
|
|
8906
9024
|
}
|
|
8907
9025
|
|
|
8908
|
-
const _excluded$
|
|
9026
|
+
const _excluded$2k = ["className", "component", "components", "componentsProps", "children", "disabled", "action", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseLeave"];
|
|
8909
9027
|
|
|
8910
|
-
const useUtilityClasses$
|
|
9028
|
+
const useUtilityClasses$1R = ownerState => {
|
|
8911
9029
|
const {
|
|
8912
9030
|
active,
|
|
8913
9031
|
disabled,
|
|
@@ -8942,7 +9060,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8942
9060
|
children,
|
|
8943
9061
|
action
|
|
8944
9062
|
} = props,
|
|
8945
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9063
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2k);
|
|
8946
9064
|
|
|
8947
9065
|
const buttonRef = React__namespace.useRef();
|
|
8948
9066
|
const handleRef = useForkRef(buttonRef, ref);
|
|
@@ -8968,7 +9086,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8968
9086
|
|
|
8969
9087
|
const ButtonRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
|
|
8970
9088
|
const buttonRootProps = appendOwnerState(ButtonRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
8971
|
-
const classes = useUtilityClasses$
|
|
9089
|
+
const classes = useUtilityClasses$1R(ownerState);
|
|
8972
9090
|
return /*#__PURE__*/jsxRuntime_1(ButtonRoot, _extends({}, getRootProps(), buttonRootProps, {
|
|
8973
9091
|
className: clsx(classes.root, className, buttonRootProps.className),
|
|
8974
9092
|
children: children
|
|
@@ -9058,7 +9176,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9058
9176
|
const formControlUnstyledClasses = generateUtilityClasses('MuiFormControl', ['root', 'disabled']);
|
|
9059
9177
|
var classes$2 = formControlUnstyledClasses;
|
|
9060
9178
|
|
|
9061
|
-
const _excluded$
|
|
9179
|
+
const _excluded$2j = ["defaultValue", "children", "className", "component", "components", "componentsProps", "disabled", "error", "focused", "onChange", "required", "value"];
|
|
9062
9180
|
|
|
9063
9181
|
function hasValue$1(value) {
|
|
9064
9182
|
return value != null && !(Array.isArray(value) && value.length === 0) && value !== '';
|
|
@@ -9108,12 +9226,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9108
9226
|
componentsProps = {},
|
|
9109
9227
|
disabled = false,
|
|
9110
9228
|
error = false,
|
|
9111
|
-
focused: visuallyFocused
|
|
9229
|
+
focused: visuallyFocused,
|
|
9112
9230
|
onChange,
|
|
9113
9231
|
required = false,
|
|
9114
9232
|
value: incomingValue
|
|
9115
9233
|
} = props,
|
|
9116
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9234
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2j);
|
|
9117
9235
|
|
|
9118
9236
|
const [value, setValue] = useControlled({
|
|
9119
9237
|
controlled: incomingValue,
|
|
@@ -9440,7 +9558,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9440
9558
|
};
|
|
9441
9559
|
}
|
|
9442
9560
|
|
|
9443
|
-
const _excluded$
|
|
9561
|
+
const _excluded$2i = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "component", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "id", "maxRows", "minRows", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "rows", "type", "startAdornment", "value"];
|
|
9444
9562
|
const InputUnstyled = /*#__PURE__*/React__namespace.forwardRef(function InputUnstyled(props, ref) {
|
|
9445
9563
|
var _componentsProps$inpu, _ref, _componentsProps$root, _components$Input, _componentsProps$inpu2;
|
|
9446
9564
|
|
|
@@ -9477,7 +9595,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9477
9595
|
startAdornment,
|
|
9478
9596
|
value
|
|
9479
9597
|
} = props,
|
|
9480
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9598
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2i);
|
|
9481
9599
|
|
|
9482
9600
|
const {
|
|
9483
9601
|
getRootProps,
|
|
@@ -10421,9 +10539,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10421
10539
|
const modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);
|
|
10422
10540
|
var modalUnstyledClasses$1 = modalUnstyledClasses;
|
|
10423
10541
|
|
|
10424
|
-
const _excluded$
|
|
10542
|
+
const _excluded$2h = ["BackdropComponent", "BackdropProps", "children", "classes", "className", "closeAfterTransition", "component", "components", "componentsProps", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "theme", "onTransitionEnter", "onTransitionExited"];
|
|
10425
10543
|
|
|
10426
|
-
const useUtilityClasses$
|
|
10544
|
+
const useUtilityClasses$1Q = ownerState => {
|
|
10427
10545
|
const {
|
|
10428
10546
|
open,
|
|
10429
10547
|
exited,
|
|
@@ -10493,7 +10611,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10493
10611
|
onTransitionEnter,
|
|
10494
10612
|
onTransitionExited
|
|
10495
10613
|
} = props,
|
|
10496
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
10614
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2h);
|
|
10497
10615
|
|
|
10498
10616
|
const [exited, setExited] = React__namespace.useState(true);
|
|
10499
10617
|
const modal = React__namespace.useRef({});
|
|
@@ -10570,7 +10688,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10570
10688
|
keepMounted
|
|
10571
10689
|
});
|
|
10572
10690
|
|
|
10573
|
-
const classes = useUtilityClasses$
|
|
10691
|
+
const classes = useUtilityClasses$1Q(ownerState);
|
|
10574
10692
|
|
|
10575
10693
|
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
10576
10694
|
return null;
|
|
@@ -12752,12 +12870,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12752
12870
|
defaultModifiers: defaultModifiers
|
|
12753
12871
|
}); // eslint-disable-next-line import/no-unused-modules
|
|
12754
12872
|
|
|
12755
|
-
const _excluded$
|
|
12756
|
-
_excluded2$
|
|
12757
|
-
|
|
12758
|
-
function flipPlacement(placement, theme) {
|
|
12759
|
-
const direction = theme && theme.direction || 'ltr';
|
|
12873
|
+
const _excluded$2g = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "TransitionProps"],
|
|
12874
|
+
_excluded2$9 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"];
|
|
12760
12875
|
|
|
12876
|
+
function flipPlacement(placement, direction) {
|
|
12761
12877
|
if (direction === 'ltr') {
|
|
12762
12878
|
return placement;
|
|
12763
12879
|
}
|
|
@@ -12791,6 +12907,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12791
12907
|
const {
|
|
12792
12908
|
anchorEl,
|
|
12793
12909
|
children,
|
|
12910
|
+
direction,
|
|
12794
12911
|
disablePortal,
|
|
12795
12912
|
modifiers,
|
|
12796
12913
|
open,
|
|
@@ -12799,7 +12916,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12799
12916
|
popperRef: popperRefProp,
|
|
12800
12917
|
TransitionProps
|
|
12801
12918
|
} = props,
|
|
12802
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
12919
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2g);
|
|
12803
12920
|
|
|
12804
12921
|
const tooltipRef = React__namespace.useRef(null);
|
|
12805
12922
|
const ownRef = useForkRef(tooltipRef, ref);
|
|
@@ -12810,8 +12927,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12810
12927
|
handlePopperRefRef.current = handlePopperRef;
|
|
12811
12928
|
}, [handlePopperRef]);
|
|
12812
12929
|
React__namespace.useImperativeHandle(popperRefProp, () => popperRef.current, []);
|
|
12813
|
-
const
|
|
12814
|
-
const rtlPlacement = flipPlacement(initialPlacement, theme);
|
|
12930
|
+
const rtlPlacement = flipPlacement(initialPlacement, direction);
|
|
12815
12931
|
/**
|
|
12816
12932
|
* placement initialized from prop but can change during lifetime if modifiers.flip.
|
|
12817
12933
|
* modifiers.flip is essentially a flip for controlled/uncontrolled behavior
|
|
@@ -12905,11 +13021,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12905
13021
|
* Poppers rely on the 3rd party library [Popper.js](https://popper.js.org/docs/v2/) for positioning.
|
|
12906
13022
|
*/
|
|
12907
13023
|
|
|
12908
|
-
const
|
|
13024
|
+
const PopperUnstyled = /*#__PURE__*/React__namespace.forwardRef(function PopperUnstyled(props, ref) {
|
|
12909
13025
|
const {
|
|
12910
13026
|
anchorEl,
|
|
12911
13027
|
children,
|
|
12912
13028
|
container: containerProp,
|
|
13029
|
+
direction = 'ltr',
|
|
12913
13030
|
disablePortal = false,
|
|
12914
13031
|
keepMounted = false,
|
|
12915
13032
|
modifiers,
|
|
@@ -12920,7 +13037,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12920
13037
|
style,
|
|
12921
13038
|
transition = false
|
|
12922
13039
|
} = props,
|
|
12923
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
13040
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$9);
|
|
12924
13041
|
|
|
12925
13042
|
const [exited, setExited] = React__namespace.useState(true);
|
|
12926
13043
|
|
|
@@ -12945,6 +13062,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12945
13062
|
container: container,
|
|
12946
13063
|
children: /*#__PURE__*/jsxRuntime_1(PopperTooltip, _extends({
|
|
12947
13064
|
anchorEl: anchorEl,
|
|
13065
|
+
direction: direction,
|
|
12948
13066
|
disablePortal: disablePortal,
|
|
12949
13067
|
modifiers: modifiers,
|
|
12950
13068
|
ref: ref,
|
|
@@ -12970,7 +13088,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12970
13088
|
}))
|
|
12971
13089
|
});
|
|
12972
13090
|
});
|
|
12973
|
-
|
|
13091
|
+
PopperUnstyled.propTypes
|
|
12974
13092
|
/* remove-proptypes */
|
|
12975
13093
|
= {
|
|
12976
13094
|
// ----------------------------- Warning --------------------------------
|
|
@@ -13020,6 +13138,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13020
13138
|
/* @typescript-to-proptypes-ignore */
|
|
13021
13139
|
.oneOfType([HTMLElementType, propTypes.func]),
|
|
13022
13140
|
|
|
13141
|
+
/**
|
|
13142
|
+
* Direction of the text.
|
|
13143
|
+
* @default 'ltr'
|
|
13144
|
+
*/
|
|
13145
|
+
direction: propTypes.oneOf(['ltr', 'rtl']),
|
|
13146
|
+
|
|
13023
13147
|
/**
|
|
13024
13148
|
* The `children` will be under the DOM hierarchy of the parent component.
|
|
13025
13149
|
* @default false
|
|
@@ -13093,7 +13217,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13093
13217
|
*/
|
|
13094
13218
|
transition: propTypes.bool
|
|
13095
13219
|
} ;
|
|
13096
|
-
var
|
|
13220
|
+
var PopperUnstyled$1 = PopperUnstyled;
|
|
13097
13221
|
|
|
13098
13222
|
function getSliderUtilityClass(slot) {
|
|
13099
13223
|
return generateUtilityClass('MuiSlider', slot);
|
|
@@ -13150,7 +13274,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13150
13274
|
value: propTypes.node
|
|
13151
13275
|
} ;
|
|
13152
13276
|
|
|
13153
|
-
const _excluded$
|
|
13277
|
+
const _excluded$2f = ["aria-label", "aria-labelledby", "aria-valuetext", "className", "component", "classes", "defaultValue", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "onMouseDown", "orientation", "scale", "step", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat", "isRtl", "components", "componentsProps"];
|
|
13154
13278
|
const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
|
|
13155
13279
|
|
|
13156
13280
|
function asc(a, b) {
|
|
@@ -13310,7 +13434,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13310
13434
|
return cachedSupportsTouchActionNone;
|
|
13311
13435
|
}
|
|
13312
13436
|
|
|
13313
|
-
const useUtilityClasses$
|
|
13437
|
+
const useUtilityClasses$1P = ownerState => {
|
|
13314
13438
|
const {
|
|
13315
13439
|
disabled,
|
|
13316
13440
|
dragging,
|
|
@@ -13372,7 +13496,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13372
13496
|
components = {},
|
|
13373
13497
|
componentsProps = {}
|
|
13374
13498
|
} = props,
|
|
13375
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
13499
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2f);
|
|
13376
13500
|
|
|
13377
13501
|
const touchId = React__namespace.useRef(); // We can't use the :active browser pseudo-classes.
|
|
13378
13502
|
// - The active state isn't triggered when clicking on the rail.
|
|
@@ -13802,7 +13926,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13802
13926
|
valueLabelFormat
|
|
13803
13927
|
});
|
|
13804
13928
|
|
|
13805
|
-
const classes = useUtilityClasses$
|
|
13929
|
+
const classes = useUtilityClasses$1P(ownerState);
|
|
13806
13930
|
return /*#__PURE__*/jsxRuntime_2(Root, _extends({
|
|
13807
13931
|
ref: handleRef,
|
|
13808
13932
|
onMouseDown: handleMouseDown
|
|
@@ -14268,7 +14392,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14268
14392
|
const switchUnstyledClasses = generateUtilityClasses('MuiSwitch', ['root', 'input', 'track', 'thumb', 'checked', 'disabled', 'focusVisible', 'readOnly']);
|
|
14269
14393
|
var classes = switchUnstyledClasses;
|
|
14270
14394
|
|
|
14271
|
-
const _excluded$
|
|
14395
|
+
const _excluded$2e = ["checked", "className", "component", "components", "componentsProps", "defaultChecked", "disabled", "onBlur", "onChange", "onFocus", "onFocusVisible", "readOnly", "required"];
|
|
14272
14396
|
|
|
14273
14397
|
/**
|
|
14274
14398
|
* The foundation for building custom-styled switches.
|
|
@@ -14298,7 +14422,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14298
14422
|
onFocusVisible,
|
|
14299
14423
|
readOnly: readOnlyProp
|
|
14300
14424
|
} = props,
|
|
14301
|
-
otherProps = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14425
|
+
otherProps = _objectWithoutPropertiesLoose(props, _excluded$2e);
|
|
14302
14426
|
|
|
14303
14427
|
const useSwitchProps = {
|
|
14304
14428
|
checked: checkedProp,
|
|
@@ -14438,7 +14562,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14438
14562
|
} ;
|
|
14439
14563
|
var SwitchUnstyled$1 = SwitchUnstyled;
|
|
14440
14564
|
|
|
14441
|
-
const _excluded$
|
|
14565
|
+
const _excluded$2d = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
14442
14566
|
|
|
14443
14567
|
function getStyleValue(computedStyle, property) {
|
|
14444
14568
|
return parseInt(computedStyle[property], 10) || 0;
|
|
@@ -14467,7 +14591,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14467
14591
|
style,
|
|
14468
14592
|
value
|
|
14469
14593
|
} = props,
|
|
14470
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14594
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2d);
|
|
14471
14595
|
|
|
14472
14596
|
const {
|
|
14473
14597
|
current: isControlled
|
|
@@ -14653,6 +14777,895 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14653
14777
|
} ;
|
|
14654
14778
|
var TextareaAutosize$1 = TextareaAutosize;
|
|
14655
14779
|
|
|
14780
|
+
function getTabsUnstyledUtilityClass(slot) {
|
|
14781
|
+
return generateUtilityClass('TabsUnstyled', slot);
|
|
14782
|
+
}
|
|
14783
|
+
const tabsUnstyledClasses = generateUtilityClasses('TabsUnstyled', ['root', 'horizontal', 'vertical']);
|
|
14784
|
+
var tabsUnstyledClasses$1 = tabsUnstyledClasses;
|
|
14785
|
+
|
|
14786
|
+
const useTabs = props => {
|
|
14787
|
+
const {
|
|
14788
|
+
value: valueProp,
|
|
14789
|
+
defaultValue,
|
|
14790
|
+
onChange,
|
|
14791
|
+
orientation,
|
|
14792
|
+
direction,
|
|
14793
|
+
selectionFollowsFocus
|
|
14794
|
+
} = props;
|
|
14795
|
+
const [value, setValue] = useControlled({
|
|
14796
|
+
controlled: valueProp,
|
|
14797
|
+
default: defaultValue,
|
|
14798
|
+
name: 'Tabs',
|
|
14799
|
+
state: 'value'
|
|
14800
|
+
});
|
|
14801
|
+
const idPrefix = useReactId();
|
|
14802
|
+
const onSelected = React__namespace.useCallback((e, newValue) => {
|
|
14803
|
+
setValue(newValue);
|
|
14804
|
+
|
|
14805
|
+
if (onChange) {
|
|
14806
|
+
onChange(e, newValue);
|
|
14807
|
+
}
|
|
14808
|
+
}, [onChange, setValue]);
|
|
14809
|
+
|
|
14810
|
+
const getRootProps = () => {
|
|
14811
|
+
return {};
|
|
14812
|
+
};
|
|
14813
|
+
|
|
14814
|
+
const tabsContextValue = React__namespace.useMemo(() => {
|
|
14815
|
+
return {
|
|
14816
|
+
idPrefix,
|
|
14817
|
+
value,
|
|
14818
|
+
onSelected,
|
|
14819
|
+
orientation,
|
|
14820
|
+
direction,
|
|
14821
|
+
selectionFollowsFocus
|
|
14822
|
+
};
|
|
14823
|
+
}, [idPrefix, value, onSelected, orientation, direction, selectionFollowsFocus]);
|
|
14824
|
+
return {
|
|
14825
|
+
getRootProps,
|
|
14826
|
+
tabsContextValue
|
|
14827
|
+
};
|
|
14828
|
+
};
|
|
14829
|
+
|
|
14830
|
+
var useTabs$1 = useTabs;
|
|
14831
|
+
|
|
14832
|
+
/**
|
|
14833
|
+
* @ignore - internal component.
|
|
14834
|
+
*/
|
|
14835
|
+
const Context = /*#__PURE__*/React__namespace.createContext(null);
|
|
14836
|
+
|
|
14837
|
+
{
|
|
14838
|
+
Context.displayName = 'TabsContext';
|
|
14839
|
+
}
|
|
14840
|
+
/**
|
|
14841
|
+
* @returns {unknown}
|
|
14842
|
+
*/
|
|
14843
|
+
|
|
14844
|
+
|
|
14845
|
+
function useTabContext() {
|
|
14846
|
+
return React__namespace.useContext(Context);
|
|
14847
|
+
}
|
|
14848
|
+
function getPanelId(context, value) {
|
|
14849
|
+
const {
|
|
14850
|
+
idPrefix
|
|
14851
|
+
} = context;
|
|
14852
|
+
|
|
14853
|
+
if (idPrefix === null) {
|
|
14854
|
+
return null;
|
|
14855
|
+
}
|
|
14856
|
+
|
|
14857
|
+
return `${context.idPrefix}-P-${value}`;
|
|
14858
|
+
}
|
|
14859
|
+
function getTabId(context, value) {
|
|
14860
|
+
const {
|
|
14861
|
+
idPrefix
|
|
14862
|
+
} = context;
|
|
14863
|
+
|
|
14864
|
+
if (idPrefix === null) {
|
|
14865
|
+
return null;
|
|
14866
|
+
}
|
|
14867
|
+
|
|
14868
|
+
return `${context.idPrefix}-T-${value}`;
|
|
14869
|
+
}
|
|
14870
|
+
var Context$1 = Context;
|
|
14871
|
+
|
|
14872
|
+
const _excluded$2c = ["children", "className", "value", "defaultValue", "orientation", "direction", "component", "components", "componentsProps", "onChange", "selectionFollowsFocus"];
|
|
14873
|
+
|
|
14874
|
+
const useUtilityClasses$1O = ownerState => {
|
|
14875
|
+
const {
|
|
14876
|
+
orientation
|
|
14877
|
+
} = ownerState;
|
|
14878
|
+
const slots = {
|
|
14879
|
+
root: ['root', orientation]
|
|
14880
|
+
};
|
|
14881
|
+
return composeClasses(slots, getTabsUnstyledUtilityClass, {});
|
|
14882
|
+
};
|
|
14883
|
+
/**
|
|
14884
|
+
*
|
|
14885
|
+
* Demos:
|
|
14886
|
+
*
|
|
14887
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
14888
|
+
*
|
|
14889
|
+
* API:
|
|
14890
|
+
*
|
|
14891
|
+
* - [TabsUnstyled API](https://mui.com/api/tabs-unstyled/)
|
|
14892
|
+
*/
|
|
14893
|
+
|
|
14894
|
+
|
|
14895
|
+
const TabsUnstyled = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
|
|
14896
|
+
var _ref, _componentsProps$root;
|
|
14897
|
+
|
|
14898
|
+
const {
|
|
14899
|
+
children,
|
|
14900
|
+
className,
|
|
14901
|
+
orientation = 'horizontal',
|
|
14902
|
+
direction = 'ltr',
|
|
14903
|
+
component,
|
|
14904
|
+
components = {},
|
|
14905
|
+
componentsProps = {}
|
|
14906
|
+
} = props,
|
|
14907
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2c);
|
|
14908
|
+
|
|
14909
|
+
const {
|
|
14910
|
+
tabsContextValue,
|
|
14911
|
+
getRootProps
|
|
14912
|
+
} = useTabs$1(props);
|
|
14913
|
+
|
|
14914
|
+
const ownerState = _extends({}, props, {
|
|
14915
|
+
orientation,
|
|
14916
|
+
direction
|
|
14917
|
+
});
|
|
14918
|
+
|
|
14919
|
+
const classes = useUtilityClasses$1O(ownerState);
|
|
14920
|
+
const TabsRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
|
|
14921
|
+
const tabsRootProps = appendOwnerState(TabsRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
14922
|
+
return /*#__PURE__*/jsxRuntime_1(TabsRoot, _extends({}, getRootProps(), tabsRootProps, {
|
|
14923
|
+
ref: ref,
|
|
14924
|
+
className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
|
|
14925
|
+
children: /*#__PURE__*/jsxRuntime_1(Context$1.Provider, {
|
|
14926
|
+
value: tabsContextValue,
|
|
14927
|
+
children: children
|
|
14928
|
+
})
|
|
14929
|
+
}));
|
|
14930
|
+
});
|
|
14931
|
+
TabsUnstyled.propTypes
|
|
14932
|
+
/* remove-proptypes */
|
|
14933
|
+
= {
|
|
14934
|
+
// ----------------------------- Warning --------------------------------
|
|
14935
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
14936
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
14937
|
+
// ----------------------------------------------------------------------
|
|
14938
|
+
|
|
14939
|
+
/**
|
|
14940
|
+
* The content of the component.
|
|
14941
|
+
*/
|
|
14942
|
+
children: propTypes.node,
|
|
14943
|
+
|
|
14944
|
+
/**
|
|
14945
|
+
* @ignore
|
|
14946
|
+
*/
|
|
14947
|
+
className: propTypes.string,
|
|
14948
|
+
|
|
14949
|
+
/**
|
|
14950
|
+
* The component used for the root node.
|
|
14951
|
+
* Either a string to use a HTML element or a component.
|
|
14952
|
+
*/
|
|
14953
|
+
component: propTypes.elementType,
|
|
14954
|
+
|
|
14955
|
+
/**
|
|
14956
|
+
* The components used for each slot inside the Tabs.
|
|
14957
|
+
* Either a string to use a HTML element or a component.
|
|
14958
|
+
* @default {}
|
|
14959
|
+
*/
|
|
14960
|
+
components: propTypes.shape({
|
|
14961
|
+
Root: propTypes.elementType
|
|
14962
|
+
}),
|
|
14963
|
+
|
|
14964
|
+
/**
|
|
14965
|
+
* The props used for each slot inside the Tabs.
|
|
14966
|
+
* @default {}
|
|
14967
|
+
*/
|
|
14968
|
+
componentsProps: propTypes.object,
|
|
14969
|
+
|
|
14970
|
+
/**
|
|
14971
|
+
* The default value. Use when the component is not controlled.
|
|
14972
|
+
*/
|
|
14973
|
+
defaultValue: propTypes.oneOfType([propTypes.oneOf([false]), propTypes.number, propTypes.string]),
|
|
14974
|
+
|
|
14975
|
+
/**
|
|
14976
|
+
* The direction of the text.
|
|
14977
|
+
* @default 'ltr'
|
|
14978
|
+
*/
|
|
14979
|
+
direction: propTypes.oneOf(['ltr', 'rtl']),
|
|
14980
|
+
|
|
14981
|
+
/**
|
|
14982
|
+
* Callback invoked when new value is being set.
|
|
14983
|
+
*/
|
|
14984
|
+
onChange: propTypes.func,
|
|
14985
|
+
|
|
14986
|
+
/**
|
|
14987
|
+
* The component orientation (layout flow direction).
|
|
14988
|
+
* @default 'horizontal'
|
|
14989
|
+
*/
|
|
14990
|
+
orientation: propTypes.oneOf(['horizontal', 'vertical']),
|
|
14991
|
+
|
|
14992
|
+
/**
|
|
14993
|
+
* If `true` the selected tab changes on focus. Otherwise it only
|
|
14994
|
+
* changes on activation.
|
|
14995
|
+
*/
|
|
14996
|
+
selectionFollowsFocus: propTypes.bool,
|
|
14997
|
+
|
|
14998
|
+
/**
|
|
14999
|
+
* The value of the currently selected `Tab`.
|
|
15000
|
+
* If you don't want any selected `Tab`, you can set this prop to `false`.
|
|
15001
|
+
*/
|
|
15002
|
+
value: propTypes.oneOfType([propTypes.oneOf([false]), propTypes.number, propTypes.string])
|
|
15003
|
+
} ;
|
|
15004
|
+
var TabsUnstyled$1 = TabsUnstyled;
|
|
15005
|
+
|
|
15006
|
+
function getTabUnstyledUtilityClass(slot) {
|
|
15007
|
+
return generateUtilityClass('TabUnstyled', slot);
|
|
15008
|
+
}
|
|
15009
|
+
const tabUnstyledClasses = generateUtilityClasses('TabUnstyled', ['root', 'selected', 'disabled']);
|
|
15010
|
+
var tabUnstyledClasses$1 = tabUnstyledClasses;
|
|
15011
|
+
|
|
15012
|
+
const _excluded$2b = ["getRootProps"];
|
|
15013
|
+
|
|
15014
|
+
const useTab = props => {
|
|
15015
|
+
const {
|
|
15016
|
+
value: valueProp,
|
|
15017
|
+
onChange,
|
|
15018
|
+
onClick,
|
|
15019
|
+
onFocus
|
|
15020
|
+
} = props;
|
|
15021
|
+
|
|
15022
|
+
const _useButton = useButton(props),
|
|
15023
|
+
{
|
|
15024
|
+
getRootProps: getRootPropsButton
|
|
15025
|
+
} = _useButton,
|
|
15026
|
+
otherButtonProps = _objectWithoutPropertiesLoose(_useButton, _excluded$2b);
|
|
15027
|
+
|
|
15028
|
+
const context = useTabContext();
|
|
15029
|
+
|
|
15030
|
+
if (context === null) {
|
|
15031
|
+
throw new Error('No TabContext provided');
|
|
15032
|
+
}
|
|
15033
|
+
|
|
15034
|
+
const value = valueProp != null ? valueProp : 0;
|
|
15035
|
+
const selected = context.value === value;
|
|
15036
|
+
const selectionFollowsFocus = context.selectionFollowsFocus;
|
|
15037
|
+
const a11yAttributes = {
|
|
15038
|
+
role: 'tab',
|
|
15039
|
+
'aria-controls': getPanelId(context, value),
|
|
15040
|
+
id: getTabId(context, value),
|
|
15041
|
+
'aria-selected': selected,
|
|
15042
|
+
disabled: otherButtonProps.disabled
|
|
15043
|
+
};
|
|
15044
|
+
|
|
15045
|
+
const handleFocus = event => {
|
|
15046
|
+
if (selectionFollowsFocus && !selected) {
|
|
15047
|
+
if (onChange) {
|
|
15048
|
+
onChange(event, value);
|
|
15049
|
+
}
|
|
15050
|
+
|
|
15051
|
+
context.onSelected(event, value);
|
|
15052
|
+
}
|
|
15053
|
+
|
|
15054
|
+
if (onFocus) {
|
|
15055
|
+
onFocus(event);
|
|
15056
|
+
}
|
|
15057
|
+
};
|
|
15058
|
+
|
|
15059
|
+
const handleClick = event => {
|
|
15060
|
+
if (!selected) {
|
|
15061
|
+
if (onChange) {
|
|
15062
|
+
onChange(event, value);
|
|
15063
|
+
}
|
|
15064
|
+
|
|
15065
|
+
context.onSelected(event, value);
|
|
15066
|
+
}
|
|
15067
|
+
|
|
15068
|
+
if (onClick) {
|
|
15069
|
+
onClick(event);
|
|
15070
|
+
}
|
|
15071
|
+
};
|
|
15072
|
+
|
|
15073
|
+
const getRootProps = otherHandlers => {
|
|
15074
|
+
const buttonResolvedProps = getRootPropsButton(_extends({
|
|
15075
|
+
onClick: handleClick,
|
|
15076
|
+
onFocus: handleFocus
|
|
15077
|
+
}, otherHandlers));
|
|
15078
|
+
return _extends({}, buttonResolvedProps, a11yAttributes);
|
|
15079
|
+
};
|
|
15080
|
+
|
|
15081
|
+
return _extends({
|
|
15082
|
+
getRootProps
|
|
15083
|
+
}, otherButtonProps, {
|
|
15084
|
+
selected
|
|
15085
|
+
});
|
|
15086
|
+
};
|
|
15087
|
+
|
|
15088
|
+
var useTab$1 = useTab;
|
|
15089
|
+
|
|
15090
|
+
const _excluded$2a = ["action", "children", "value", "className", "disabled", "onChange", "onClick", "onFocus", "component", "components", "componentsProps"];
|
|
15091
|
+
|
|
15092
|
+
const useUtilityClasses$1N = ownerState => {
|
|
15093
|
+
const {
|
|
15094
|
+
selected,
|
|
15095
|
+
disabled
|
|
15096
|
+
} = ownerState;
|
|
15097
|
+
const slots = {
|
|
15098
|
+
root: ['root', selected && 'selected', disabled && 'disabled']
|
|
15099
|
+
};
|
|
15100
|
+
return composeClasses(slots, getTabUnstyledUtilityClass, {});
|
|
15101
|
+
};
|
|
15102
|
+
/**
|
|
15103
|
+
*
|
|
15104
|
+
* Demos:
|
|
15105
|
+
*
|
|
15106
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
15107
|
+
*
|
|
15108
|
+
* API:
|
|
15109
|
+
*
|
|
15110
|
+
* - [TabUnstyled API](https://mui.com/api/tab-unstyled/)
|
|
15111
|
+
*/
|
|
15112
|
+
|
|
15113
|
+
|
|
15114
|
+
const TabUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabUnstyled(props, ref) {
|
|
15115
|
+
var _ref, _componentsProps$root;
|
|
15116
|
+
|
|
15117
|
+
const {
|
|
15118
|
+
action,
|
|
15119
|
+
children,
|
|
15120
|
+
className,
|
|
15121
|
+
disabled = false,
|
|
15122
|
+
component,
|
|
15123
|
+
components = {},
|
|
15124
|
+
componentsProps = {}
|
|
15125
|
+
} = props,
|
|
15126
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2a);
|
|
15127
|
+
|
|
15128
|
+
const tabRef = React__namespace.useRef();
|
|
15129
|
+
const handleRef = useForkRef(tabRef, ref);
|
|
15130
|
+
const {
|
|
15131
|
+
active,
|
|
15132
|
+
focusVisible,
|
|
15133
|
+
setFocusVisible,
|
|
15134
|
+
selected,
|
|
15135
|
+
getRootProps
|
|
15136
|
+
} = useTab$1(_extends({}, props, {
|
|
15137
|
+
ref: handleRef
|
|
15138
|
+
}));
|
|
15139
|
+
React__namespace.useImperativeHandle(action, () => ({
|
|
15140
|
+
focusVisible: () => {
|
|
15141
|
+
setFocusVisible(true);
|
|
15142
|
+
tabRef.current.focus();
|
|
15143
|
+
}
|
|
15144
|
+
}), [setFocusVisible]);
|
|
15145
|
+
|
|
15146
|
+
const ownerState = _extends({}, props, {
|
|
15147
|
+
active,
|
|
15148
|
+
focusVisible,
|
|
15149
|
+
disabled,
|
|
15150
|
+
selected
|
|
15151
|
+
});
|
|
15152
|
+
|
|
15153
|
+
const classes = useUtilityClasses$1N(ownerState);
|
|
15154
|
+
const TabRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
|
|
15155
|
+
const tabRootProps = appendOwnerState(TabRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
15156
|
+
return /*#__PURE__*/jsxRuntime_1(TabRoot, _extends({}, getRootProps(), tabRootProps, {
|
|
15157
|
+
className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
|
|
15158
|
+
ref: ref,
|
|
15159
|
+
children: children
|
|
15160
|
+
}));
|
|
15161
|
+
});
|
|
15162
|
+
TabUnstyled.propTypes
|
|
15163
|
+
/* remove-proptypes */
|
|
15164
|
+
= {
|
|
15165
|
+
// ----------------------------- Warning --------------------------------
|
|
15166
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15167
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
15168
|
+
// ----------------------------------------------------------------------
|
|
15169
|
+
|
|
15170
|
+
/**
|
|
15171
|
+
* A ref for imperative actions. It currently only supports `focusVisible()` action.
|
|
15172
|
+
*/
|
|
15173
|
+
action: propTypes.oneOfType([propTypes.func, propTypes.shape({
|
|
15174
|
+
current: propTypes.shape({
|
|
15175
|
+
focusVisible: propTypes.func.isRequired
|
|
15176
|
+
})
|
|
15177
|
+
})]),
|
|
15178
|
+
|
|
15179
|
+
/**
|
|
15180
|
+
* @ignore
|
|
15181
|
+
*/
|
|
15182
|
+
children: propTypes.node,
|
|
15183
|
+
|
|
15184
|
+
/**
|
|
15185
|
+
* @ignore
|
|
15186
|
+
*/
|
|
15187
|
+
className: propTypes.string,
|
|
15188
|
+
|
|
15189
|
+
/**
|
|
15190
|
+
* The component used for the root node.
|
|
15191
|
+
* Either a string to use a HTML element or a component.
|
|
15192
|
+
*/
|
|
15193
|
+
component: propTypes.elementType,
|
|
15194
|
+
|
|
15195
|
+
/**
|
|
15196
|
+
* The components used for each slot inside the Tab.
|
|
15197
|
+
* Either a string to use a HTML element or a component.
|
|
15198
|
+
* @default {}
|
|
15199
|
+
*/
|
|
15200
|
+
components: propTypes.shape({
|
|
15201
|
+
Root: propTypes.elementType
|
|
15202
|
+
}),
|
|
15203
|
+
|
|
15204
|
+
/**
|
|
15205
|
+
* The props used for each slot inside the Tab.
|
|
15206
|
+
* @default {}
|
|
15207
|
+
*/
|
|
15208
|
+
componentsProps: propTypes.object,
|
|
15209
|
+
|
|
15210
|
+
/**
|
|
15211
|
+
* If `true`, the component is disabled.
|
|
15212
|
+
* @default false
|
|
15213
|
+
*/
|
|
15214
|
+
disabled: propTypes.bool,
|
|
15215
|
+
|
|
15216
|
+
/**
|
|
15217
|
+
* Callback invoked when new value is being set.
|
|
15218
|
+
*/
|
|
15219
|
+
onChange: propTypes.func,
|
|
15220
|
+
|
|
15221
|
+
/**
|
|
15222
|
+
* @ignore
|
|
15223
|
+
*/
|
|
15224
|
+
onClick: propTypes.func,
|
|
15225
|
+
|
|
15226
|
+
/**
|
|
15227
|
+
* @ignore
|
|
15228
|
+
*/
|
|
15229
|
+
onFocus: propTypes.func,
|
|
15230
|
+
|
|
15231
|
+
/**
|
|
15232
|
+
* You can provide your own value. Otherwise, we fall back to the child position index.
|
|
15233
|
+
*/
|
|
15234
|
+
value: propTypes.oneOfType([propTypes.number, propTypes.string])
|
|
15235
|
+
} ;
|
|
15236
|
+
var TabUnstyled$1 = TabUnstyled;
|
|
15237
|
+
|
|
15238
|
+
function getTabsListUnstyledUtilityClass(slot) {
|
|
15239
|
+
return generateUtilityClass('TabsListUnstyled', slot);
|
|
15240
|
+
}
|
|
15241
|
+
const tabsListUnstyledClasses = generateUtilityClasses('TabsListUnstyled', ['root', 'horizontal', 'vertical']);
|
|
15242
|
+
var tabsListUnstyledClasses$1 = tabsListUnstyledClasses;
|
|
15243
|
+
|
|
15244
|
+
const nextItem$2 = (list, item) => {
|
|
15245
|
+
if (!list) {
|
|
15246
|
+
return null;
|
|
15247
|
+
}
|
|
15248
|
+
|
|
15249
|
+
if (list === item) {
|
|
15250
|
+
return list.firstChild;
|
|
15251
|
+
}
|
|
15252
|
+
|
|
15253
|
+
if (item && item.nextElementSibling) {
|
|
15254
|
+
return item.nextElementSibling;
|
|
15255
|
+
}
|
|
15256
|
+
|
|
15257
|
+
return list.firstChild;
|
|
15258
|
+
};
|
|
15259
|
+
|
|
15260
|
+
const previousItem$2 = (list, item) => {
|
|
15261
|
+
if (!list) {
|
|
15262
|
+
return null;
|
|
15263
|
+
}
|
|
15264
|
+
|
|
15265
|
+
if (list === item) {
|
|
15266
|
+
return list.lastChild;
|
|
15267
|
+
}
|
|
15268
|
+
|
|
15269
|
+
if (item && item.previousElementSibling) {
|
|
15270
|
+
return item.previousElementSibling;
|
|
15271
|
+
}
|
|
15272
|
+
|
|
15273
|
+
return list.lastChild;
|
|
15274
|
+
};
|
|
15275
|
+
|
|
15276
|
+
const moveFocus$2 = (list, currentFocus, traversalFunction) => {
|
|
15277
|
+
let wrappedOnce = false;
|
|
15278
|
+
let nextFocus = traversalFunction(list, currentFocus);
|
|
15279
|
+
|
|
15280
|
+
while (list && nextFocus) {
|
|
15281
|
+
// Prevent infinite loop.
|
|
15282
|
+
if (nextFocus === list.firstChild) {
|
|
15283
|
+
if (wrappedOnce) {
|
|
15284
|
+
return;
|
|
15285
|
+
}
|
|
15286
|
+
|
|
15287
|
+
wrappedOnce = true;
|
|
15288
|
+
} // Same logic as useAutocomplete.js
|
|
15289
|
+
|
|
15290
|
+
|
|
15291
|
+
const nextFocusDisabled = nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';
|
|
15292
|
+
|
|
15293
|
+
if (!nextFocus.hasAttribute('tabindex') || nextFocusDisabled) {
|
|
15294
|
+
// Move to the next element.
|
|
15295
|
+
nextFocus = traversalFunction(list, nextFocus);
|
|
15296
|
+
} else {
|
|
15297
|
+
nextFocus.focus();
|
|
15298
|
+
return;
|
|
15299
|
+
}
|
|
15300
|
+
}
|
|
15301
|
+
};
|
|
15302
|
+
|
|
15303
|
+
const useTabsList = props => {
|
|
15304
|
+
const {
|
|
15305
|
+
'aria-label': ariaLabel,
|
|
15306
|
+
'aria-labelledby': ariaLabelledBy,
|
|
15307
|
+
children,
|
|
15308
|
+
ref
|
|
15309
|
+
} = props;
|
|
15310
|
+
const tabsListRef = /*#__PURE__*/React__namespace.createRef();
|
|
15311
|
+
const handleRef = useForkRef(tabsListRef, ref);
|
|
15312
|
+
const context = useTabContext();
|
|
15313
|
+
|
|
15314
|
+
if (context === null) {
|
|
15315
|
+
throw new Error('No TabContext provided');
|
|
15316
|
+
}
|
|
15317
|
+
|
|
15318
|
+
const {
|
|
15319
|
+
value,
|
|
15320
|
+
orientation = 'horizontal',
|
|
15321
|
+
direction = 'ltr'
|
|
15322
|
+
} = context;
|
|
15323
|
+
const isRtl = direction === 'rtl';
|
|
15324
|
+
|
|
15325
|
+
const handleKeyDown = event => {
|
|
15326
|
+
const list = tabsListRef.current;
|
|
15327
|
+
const currentFocus = ownerDocument(list).activeElement; // Keyboard navigation assumes that [role="tab"] are siblings
|
|
15328
|
+
// though we might warn in the future about nested, interactive elements
|
|
15329
|
+
// as a a11y violation
|
|
15330
|
+
|
|
15331
|
+
const role = currentFocus == null ? void 0 : currentFocus.getAttribute('role');
|
|
15332
|
+
|
|
15333
|
+
if (role !== 'tab') {
|
|
15334
|
+
return;
|
|
15335
|
+
}
|
|
15336
|
+
|
|
15337
|
+
let previousItemKey = orientation === 'horizontal' ? 'ArrowLeft' : 'ArrowUp';
|
|
15338
|
+
let nextItemKey = orientation === 'horizontal' ? 'ArrowRight' : 'ArrowDown';
|
|
15339
|
+
|
|
15340
|
+
if (orientation === 'horizontal' && isRtl) {
|
|
15341
|
+
// swap previousItemKey with nextItemKey
|
|
15342
|
+
previousItemKey = 'ArrowRight';
|
|
15343
|
+
nextItemKey = 'ArrowLeft';
|
|
15344
|
+
}
|
|
15345
|
+
|
|
15346
|
+
switch (event.key) {
|
|
15347
|
+
case previousItemKey:
|
|
15348
|
+
event.preventDefault();
|
|
15349
|
+
moveFocus$2(list, currentFocus, previousItem$2);
|
|
15350
|
+
break;
|
|
15351
|
+
|
|
15352
|
+
case nextItemKey:
|
|
15353
|
+
event.preventDefault();
|
|
15354
|
+
moveFocus$2(list, currentFocus, nextItem$2);
|
|
15355
|
+
break;
|
|
15356
|
+
|
|
15357
|
+
case 'Home':
|
|
15358
|
+
event.preventDefault();
|
|
15359
|
+
moveFocus$2(list, null, nextItem$2);
|
|
15360
|
+
break;
|
|
15361
|
+
|
|
15362
|
+
case 'End':
|
|
15363
|
+
event.preventDefault();
|
|
15364
|
+
moveFocus$2(list, null, previousItem$2);
|
|
15365
|
+
break;
|
|
15366
|
+
}
|
|
15367
|
+
};
|
|
15368
|
+
|
|
15369
|
+
const createHandleKeyDown = otherHandlers => event => {
|
|
15370
|
+
var _otherHandlers$onKeyD;
|
|
15371
|
+
|
|
15372
|
+
handleKeyDown(event);
|
|
15373
|
+
(_otherHandlers$onKeyD = otherHandlers.onKeyDown) == null ? void 0 : _otherHandlers$onKeyD.call(otherHandlers, event);
|
|
15374
|
+
};
|
|
15375
|
+
|
|
15376
|
+
const getRootProps = otherHandlers => {
|
|
15377
|
+
const propsEventHandlers = extractEventHandlers(props);
|
|
15378
|
+
|
|
15379
|
+
const externalEventHandlers = _extends({}, propsEventHandlers, otherHandlers);
|
|
15380
|
+
|
|
15381
|
+
const ownEventHandlers = {
|
|
15382
|
+
onKeyDown: createHandleKeyDown(externalEventHandlers)
|
|
15383
|
+
};
|
|
15384
|
+
|
|
15385
|
+
const mergedEventHandlers = _extends({}, externalEventHandlers, ownEventHandlers);
|
|
15386
|
+
|
|
15387
|
+
return _extends({
|
|
15388
|
+
'aria-label': ariaLabel,
|
|
15389
|
+
'aria-labelledby': ariaLabelledBy,
|
|
15390
|
+
'aria-orientation': orientation === 'vertical' ? 'vertical' : null,
|
|
15391
|
+
role: 'tablist',
|
|
15392
|
+
ref: handleRef
|
|
15393
|
+
}, mergedEventHandlers);
|
|
15394
|
+
};
|
|
15395
|
+
|
|
15396
|
+
const processChildren = React__namespace.useCallback(() => {
|
|
15397
|
+
const valueToIndex = new Map();
|
|
15398
|
+
let childIndex = 0;
|
|
15399
|
+
const processedChildren = React__namespace.Children.map(children, child => {
|
|
15400
|
+
if (! /*#__PURE__*/React__namespace.isValidElement(child)) {
|
|
15401
|
+
return null;
|
|
15402
|
+
}
|
|
15403
|
+
|
|
15404
|
+
{
|
|
15405
|
+
if (reactIs_2(child)) {
|
|
15406
|
+
console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
|
|
15407
|
+
}
|
|
15408
|
+
}
|
|
15409
|
+
|
|
15410
|
+
const childValue = child.props.value === undefined ? childIndex : child.props.value;
|
|
15411
|
+
valueToIndex.set(childValue, childIndex);
|
|
15412
|
+
childIndex += 1;
|
|
15413
|
+
return /*#__PURE__*/React__namespace.cloneElement(child, _extends({
|
|
15414
|
+
value: childValue
|
|
15415
|
+
}, childIndex === 1 && value === false && !child.props.tabIndex || value === childValue ? {
|
|
15416
|
+
tabIndex: 0
|
|
15417
|
+
} : {
|
|
15418
|
+
tabIndex: -1
|
|
15419
|
+
}));
|
|
15420
|
+
});
|
|
15421
|
+
return processedChildren;
|
|
15422
|
+
}, [children, value]);
|
|
15423
|
+
return {
|
|
15424
|
+
isRtl,
|
|
15425
|
+
orientation,
|
|
15426
|
+
value,
|
|
15427
|
+
processChildren,
|
|
15428
|
+
getRootProps
|
|
15429
|
+
};
|
|
15430
|
+
};
|
|
15431
|
+
|
|
15432
|
+
var useTabsList$1 = useTabsList;
|
|
15433
|
+
|
|
15434
|
+
const _excluded$29 = ["className", "children", "component", "components", "componentsProps"];
|
|
15435
|
+
|
|
15436
|
+
const useUtilityClasses$1M = ownerState => {
|
|
15437
|
+
const {
|
|
15438
|
+
orientation
|
|
15439
|
+
} = ownerState;
|
|
15440
|
+
const slots = {
|
|
15441
|
+
root: ['root', orientation]
|
|
15442
|
+
};
|
|
15443
|
+
return composeClasses(slots, getTabsListUnstyledUtilityClass, {});
|
|
15444
|
+
};
|
|
15445
|
+
/**
|
|
15446
|
+
*
|
|
15447
|
+
* Demos:
|
|
15448
|
+
*
|
|
15449
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
15450
|
+
*
|
|
15451
|
+
* API:
|
|
15452
|
+
*
|
|
15453
|
+
* - [TabsListUnstyled API](https://mui.com/api/tabs-list-unstyled/)
|
|
15454
|
+
*/
|
|
15455
|
+
|
|
15456
|
+
|
|
15457
|
+
const TabsListUnstyled = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
|
|
15458
|
+
var _ref, _componentsProps$root;
|
|
15459
|
+
|
|
15460
|
+
const {
|
|
15461
|
+
className,
|
|
15462
|
+
component,
|
|
15463
|
+
components = {},
|
|
15464
|
+
componentsProps = {}
|
|
15465
|
+
} = props,
|
|
15466
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$29);
|
|
15467
|
+
|
|
15468
|
+
const {
|
|
15469
|
+
isRtl,
|
|
15470
|
+
orientation,
|
|
15471
|
+
getRootProps,
|
|
15472
|
+
processChildren
|
|
15473
|
+
} = useTabsList$1(_extends({}, props, {
|
|
15474
|
+
ref
|
|
15475
|
+
}));
|
|
15476
|
+
|
|
15477
|
+
const ownerState = _extends({}, props, {
|
|
15478
|
+
isRtl,
|
|
15479
|
+
orientation
|
|
15480
|
+
});
|
|
15481
|
+
|
|
15482
|
+
const classes = useUtilityClasses$1M(ownerState);
|
|
15483
|
+
const TabsListRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
|
|
15484
|
+
const tabsListRootProps = appendOwnerState(TabsListRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
15485
|
+
const processedChildren = processChildren();
|
|
15486
|
+
return /*#__PURE__*/jsxRuntime_1(TabsListRoot, _extends({}, getRootProps(), tabsListRootProps, {
|
|
15487
|
+
className: clsx(className, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, classes.root),
|
|
15488
|
+
children: processedChildren
|
|
15489
|
+
}));
|
|
15490
|
+
});
|
|
15491
|
+
TabsListUnstyled.propTypes
|
|
15492
|
+
/* remove-proptypes */
|
|
15493
|
+
= {
|
|
15494
|
+
// ----------------------------- Warning --------------------------------
|
|
15495
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15496
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
15497
|
+
// ----------------------------------------------------------------------
|
|
15498
|
+
|
|
15499
|
+
/**
|
|
15500
|
+
* The content of the component.
|
|
15501
|
+
*/
|
|
15502
|
+
children: propTypes.node,
|
|
15503
|
+
|
|
15504
|
+
/**
|
|
15505
|
+
* @ignore
|
|
15506
|
+
*/
|
|
15507
|
+
className: propTypes.string,
|
|
15508
|
+
|
|
15509
|
+
/**
|
|
15510
|
+
* The component used for the root node.
|
|
15511
|
+
* Either a string to use a HTML element or a component.
|
|
15512
|
+
*/
|
|
15513
|
+
component: propTypes.elementType,
|
|
15514
|
+
|
|
15515
|
+
/**
|
|
15516
|
+
* The components used for each slot inside the TabsList.
|
|
15517
|
+
* Either a string to use a HTML element or a component.
|
|
15518
|
+
* @default {}
|
|
15519
|
+
*/
|
|
15520
|
+
components: propTypes.shape({
|
|
15521
|
+
Root: propTypes.elementType
|
|
15522
|
+
}),
|
|
15523
|
+
|
|
15524
|
+
/**
|
|
15525
|
+
* The props used for each slot inside the TabsList.
|
|
15526
|
+
* @default {}
|
|
15527
|
+
*/
|
|
15528
|
+
componentsProps: propTypes.object
|
|
15529
|
+
} ;
|
|
15530
|
+
var TabsListUnstyled$1 = TabsListUnstyled;
|
|
15531
|
+
|
|
15532
|
+
function getTabPanelUnstyledUtilityClass(slot) {
|
|
15533
|
+
return generateUtilityClass('TabPanelUnstyled', slot);
|
|
15534
|
+
}
|
|
15535
|
+
const tabPanelUnstyledClasses = generateUtilityClasses('TabPanelUnstyled', ['root', 'hidden']);
|
|
15536
|
+
var tabPanelUnstyledClasses$1 = tabPanelUnstyledClasses;
|
|
15537
|
+
|
|
15538
|
+
const useTabPanel = props => {
|
|
15539
|
+
const {
|
|
15540
|
+
value
|
|
15541
|
+
} = props;
|
|
15542
|
+
const context = useTabContext();
|
|
15543
|
+
|
|
15544
|
+
if (context === null) {
|
|
15545
|
+
throw new Error('No TabContext provided');
|
|
15546
|
+
}
|
|
15547
|
+
|
|
15548
|
+
const hidden = value !== context.value;
|
|
15549
|
+
const id = getPanelId(context, value);
|
|
15550
|
+
const tabId = getTabId(context, value);
|
|
15551
|
+
|
|
15552
|
+
const getRootProps = () => {
|
|
15553
|
+
return {
|
|
15554
|
+
'aria-labelledby': tabId,
|
|
15555
|
+
hidden,
|
|
15556
|
+
id
|
|
15557
|
+
};
|
|
15558
|
+
};
|
|
15559
|
+
|
|
15560
|
+
return {
|
|
15561
|
+
hidden,
|
|
15562
|
+
getRootProps
|
|
15563
|
+
};
|
|
15564
|
+
};
|
|
15565
|
+
|
|
15566
|
+
var useTabPanel$1 = useTabPanel;
|
|
15567
|
+
|
|
15568
|
+
const _excluded$28 = ["children", "className", "value", "components", "componentsProps", "component"];
|
|
15569
|
+
|
|
15570
|
+
const useUtilityClasses$1L = ownerState => {
|
|
15571
|
+
const {
|
|
15572
|
+
hidden
|
|
15573
|
+
} = ownerState;
|
|
15574
|
+
const slots = {
|
|
15575
|
+
root: ['root', hidden && 'hidden']
|
|
15576
|
+
};
|
|
15577
|
+
return composeClasses(slots, getTabPanelUnstyledUtilityClass, {});
|
|
15578
|
+
};
|
|
15579
|
+
/**
|
|
15580
|
+
*
|
|
15581
|
+
* Demos:
|
|
15582
|
+
*
|
|
15583
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
15584
|
+
*
|
|
15585
|
+
* API:
|
|
15586
|
+
*
|
|
15587
|
+
* - [TabPanelUnstyled API](https://mui.com/api/tab-panel-unstyled/)
|
|
15588
|
+
*/
|
|
15589
|
+
|
|
15590
|
+
|
|
15591
|
+
const TabPanelUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabPanelUnstyled(props, ref) {
|
|
15592
|
+
var _ref, _componentsProps$root;
|
|
15593
|
+
|
|
15594
|
+
const {
|
|
15595
|
+
children,
|
|
15596
|
+
className,
|
|
15597
|
+
components = {},
|
|
15598
|
+
componentsProps = {},
|
|
15599
|
+
component
|
|
15600
|
+
} = props,
|
|
15601
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$28);
|
|
15602
|
+
|
|
15603
|
+
const {
|
|
15604
|
+
hidden,
|
|
15605
|
+
getRootProps
|
|
15606
|
+
} = useTabPanel$1(props);
|
|
15607
|
+
|
|
15608
|
+
const ownerState = _extends({}, props, {
|
|
15609
|
+
hidden
|
|
15610
|
+
});
|
|
15611
|
+
|
|
15612
|
+
const classes = useUtilityClasses$1L(ownerState);
|
|
15613
|
+
const TabPanelRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
|
|
15614
|
+
const tabPanelRootProps = appendOwnerState(TabPanelRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
15615
|
+
return /*#__PURE__*/jsxRuntime_1(TabPanelRoot, _extends({}, getRootProps(), {
|
|
15616
|
+
ref: ref,
|
|
15617
|
+
role: "tabpanel"
|
|
15618
|
+
}, tabPanelRootProps, {
|
|
15619
|
+
className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
|
|
15620
|
+
children: !hidden && children
|
|
15621
|
+
}));
|
|
15622
|
+
});
|
|
15623
|
+
TabPanelUnstyled.propTypes
|
|
15624
|
+
/* remove-proptypes */
|
|
15625
|
+
= {
|
|
15626
|
+
// ----------------------------- Warning --------------------------------
|
|
15627
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15628
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
15629
|
+
// ----------------------------------------------------------------------
|
|
15630
|
+
|
|
15631
|
+
/**
|
|
15632
|
+
* The content of the component.
|
|
15633
|
+
*/
|
|
15634
|
+
children: propTypes.node,
|
|
15635
|
+
|
|
15636
|
+
/**
|
|
15637
|
+
* @ignore
|
|
15638
|
+
*/
|
|
15639
|
+
className: propTypes.string,
|
|
15640
|
+
|
|
15641
|
+
/**
|
|
15642
|
+
* The component used for the root node.
|
|
15643
|
+
* Either a string to use a HTML element or a component.
|
|
15644
|
+
*/
|
|
15645
|
+
component: propTypes.elementType,
|
|
15646
|
+
|
|
15647
|
+
/**
|
|
15648
|
+
* The components used for each slot inside the TabPanel.
|
|
15649
|
+
* Either a string to use a HTML element or a component.
|
|
15650
|
+
* @default {}
|
|
15651
|
+
*/
|
|
15652
|
+
components: propTypes.shape({
|
|
15653
|
+
Root: propTypes.elementType
|
|
15654
|
+
}),
|
|
15655
|
+
|
|
15656
|
+
/**
|
|
15657
|
+
* The props used for each slot inside the TabPanel.
|
|
15658
|
+
* @default {}
|
|
15659
|
+
*/
|
|
15660
|
+
componentsProps: propTypes.object,
|
|
15661
|
+
|
|
15662
|
+
/**
|
|
15663
|
+
* The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected.
|
|
15664
|
+
*/
|
|
15665
|
+
value: propTypes.oneOfType([propTypes.number, propTypes.string]).isRequired
|
|
15666
|
+
} ;
|
|
15667
|
+
var TabPanelUnstyled$1 = TabPanelUnstyled;
|
|
15668
|
+
|
|
14656
15669
|
function createMixins(breakpoints, spacing, mixins) {
|
|
14657
15670
|
return _extends({
|
|
14658
15671
|
toolbar: {
|
|
@@ -14838,7 +15851,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14838
15851
|
}
|
|
14839
15852
|
|
|
14840
15853
|
return {
|
|
14841
|
-
main: '#
|
|
15854
|
+
main: '#ed6c02',
|
|
14842
15855
|
// closest to orange[800] that pass 3:1.
|
|
14843
15856
|
light: orange$1[500],
|
|
14844
15857
|
dark: orange$1[900]
|
|
@@ -15693,7 +16706,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
15693
16706
|
/**
|
|
15694
16707
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
15695
16708
|
*/
|
|
15696
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
16709
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
15697
16710
|
|
|
15698
16711
|
/**
|
|
15699
16712
|
* Provides a human-readable title for the element that contains it.
|
|
@@ -17117,7 +18130,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
17117
18130
|
/**
|
|
17118
18131
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17119
18132
|
*/
|
|
17120
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
18133
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
17121
18134
|
|
|
17122
18135
|
/**
|
|
17123
18136
|
* The duration for the transition, in milliseconds.
|
|
@@ -17289,7 +18302,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
17289
18302
|
/**
|
|
17290
18303
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17291
18304
|
*/
|
|
17292
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
18305
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
17293
18306
|
|
|
17294
18307
|
/**
|
|
17295
18308
|
* The variant to use.
|
|
@@ -17566,7 +18579,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
17566
18579
|
/**
|
|
17567
18580
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17568
18581
|
*/
|
|
17569
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
18582
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
17570
18583
|
|
|
17571
18584
|
/**
|
|
17572
18585
|
* The component used for the transition.
|
|
@@ -17678,7 +18691,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
17678
18691
|
/**
|
|
17679
18692
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17680
18693
|
*/
|
|
17681
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
18694
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
17682
18695
|
} ;
|
|
17683
18696
|
var AccordionActions$1 = AccordionActions;
|
|
17684
18697
|
|
|
@@ -17754,7 +18767,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
17754
18767
|
/**
|
|
17755
18768
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17756
18769
|
*/
|
|
17757
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
18770
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
17758
18771
|
} ;
|
|
17759
18772
|
var AccordionDetails$1 = AccordionDetails;
|
|
17760
18773
|
|
|
@@ -18693,7 +19706,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
18693
19706
|
/**
|
|
18694
19707
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
18695
19708
|
*/
|
|
18696
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
19709
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
18697
19710
|
|
|
18698
19711
|
/**
|
|
18699
19712
|
* @default 0
|
|
@@ -18911,7 +19924,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
18911
19924
|
/**
|
|
18912
19925
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
18913
19926
|
*/
|
|
18914
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
19927
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
18915
19928
|
} ;
|
|
18916
19929
|
var AccordionSummary$1 = AccordionSummary;
|
|
18917
19930
|
|
|
@@ -18966,7 +19979,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
18966
19979
|
color: theme.palette.action.active,
|
|
18967
19980
|
transition: theme.transitions.create('background-color', {
|
|
18968
19981
|
duration: theme.transitions.duration.shortest
|
|
18969
|
-
})
|
|
19982
|
+
})
|
|
19983
|
+
}, !ownerState.disableRipple && {
|
|
18970
19984
|
'&:hover': {
|
|
18971
19985
|
backgroundColor: alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
|
|
18972
19986
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -18983,8 +19997,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
18983
19997
|
ownerState
|
|
18984
19998
|
}) => _extends({}, ownerState.color === 'inherit' && {
|
|
18985
19999
|
color: 'inherit'
|
|
18986
|
-
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && {
|
|
18987
|
-
color: theme.palette[ownerState.color].main
|
|
20000
|
+
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends({
|
|
20001
|
+
color: theme.palette[ownerState.color].main
|
|
20002
|
+
}, !ownerState.disableRipple && {
|
|
18988
20003
|
'&:hover': {
|
|
18989
20004
|
backgroundColor: alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
18990
20005
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -18992,7 +20007,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
18992
20007
|
backgroundColor: 'transparent'
|
|
18993
20008
|
}
|
|
18994
20009
|
}
|
|
18995
|
-
}, ownerState.size === 'small' && {
|
|
20010
|
+
}), ownerState.size === 'small' && {
|
|
18996
20011
|
padding: 5,
|
|
18997
20012
|
fontSize: theme.typography.pxToRem(18)
|
|
18998
20013
|
}, ownerState.size === 'large' && {
|
|
@@ -19127,7 +20142,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19127
20142
|
/**
|
|
19128
20143
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
19129
20144
|
*/
|
|
19130
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
20145
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
19131
20146
|
} ;
|
|
19132
20147
|
var IconButton$1 = IconButton;
|
|
19133
20148
|
|
|
@@ -19401,7 +20416,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19401
20416
|
/**
|
|
19402
20417
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
19403
20418
|
*/
|
|
19404
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
20419
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
19405
20420
|
|
|
19406
20421
|
/**
|
|
19407
20422
|
* The variant to use.
|
|
@@ -19589,7 +20604,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19589
20604
|
/**
|
|
19590
20605
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
19591
20606
|
*/
|
|
19592
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
20607
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
19593
20608
|
|
|
19594
20609
|
/**
|
|
19595
20610
|
* Applies the theme typography styles.
|
|
@@ -19701,7 +20716,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19701
20716
|
/**
|
|
19702
20717
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
19703
20718
|
*/
|
|
19704
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
20719
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
19705
20720
|
} ;
|
|
19706
20721
|
var AlertTitle$1 = AlertTitle;
|
|
19707
20722
|
|
|
@@ -19869,10 +20884,136 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19869
20884
|
/**
|
|
19870
20885
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
19871
20886
|
*/
|
|
19872
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
20887
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
19873
20888
|
} ;
|
|
19874
20889
|
var AppBar$1 = AppBar;
|
|
19875
20890
|
|
|
20891
|
+
/**
|
|
20892
|
+
*
|
|
20893
|
+
* Demos:
|
|
20894
|
+
*
|
|
20895
|
+
* - [Autocomplete](https://mui.com/components/autocomplete/)
|
|
20896
|
+
* - [Menus](https://mui.com/components/menus/)
|
|
20897
|
+
* - [Popper](https://mui.com/components/popper/)
|
|
20898
|
+
*
|
|
20899
|
+
* API:
|
|
20900
|
+
*
|
|
20901
|
+
* - [Popper API](https://mui.com/api/popper/)
|
|
20902
|
+
*/
|
|
20903
|
+
const Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(props, ref) {
|
|
20904
|
+
const theme = useTheme$2();
|
|
20905
|
+
return /*#__PURE__*/jsxRuntime_1(PopperUnstyled$1, _extends({
|
|
20906
|
+
direction: theme == null ? void 0 : theme.direction
|
|
20907
|
+
}, props, {
|
|
20908
|
+
ref: ref
|
|
20909
|
+
}));
|
|
20910
|
+
});
|
|
20911
|
+
Popper.propTypes
|
|
20912
|
+
/* remove-proptypes */
|
|
20913
|
+
= {
|
|
20914
|
+
// ----------------------------- Warning --------------------------------
|
|
20915
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
20916
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
20917
|
+
// ----------------------------------------------------------------------
|
|
20918
|
+
|
|
20919
|
+
/**
|
|
20920
|
+
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
20921
|
+
* or a function that returns either.
|
|
20922
|
+
* It's used to set the position of the popper.
|
|
20923
|
+
* The return value will passed as the reference object of the Popper instance.
|
|
20924
|
+
*/
|
|
20925
|
+
anchorEl: propTypes
|
|
20926
|
+
/* @typescript-to-proptypes-ignore */
|
|
20927
|
+
.oneOfType([HTMLElementType, propTypes.object, propTypes.func]),
|
|
20928
|
+
|
|
20929
|
+
/**
|
|
20930
|
+
* Popper render function or node.
|
|
20931
|
+
*/
|
|
20932
|
+
children: propTypes
|
|
20933
|
+
/* @typescript-to-proptypes-ignore */
|
|
20934
|
+
.oneOfType([propTypes.node, propTypes.func]),
|
|
20935
|
+
|
|
20936
|
+
/**
|
|
20937
|
+
* An HTML element or function that returns one.
|
|
20938
|
+
* The `container` will have the portal children appended to it.
|
|
20939
|
+
*
|
|
20940
|
+
* By default, it uses the body of the top-level document object,
|
|
20941
|
+
* so it's simply `document.body` most of the time.
|
|
20942
|
+
*/
|
|
20943
|
+
container: propTypes
|
|
20944
|
+
/* @typescript-to-proptypes-ignore */
|
|
20945
|
+
.oneOfType([HTMLElementType, propTypes.func]),
|
|
20946
|
+
|
|
20947
|
+
/**
|
|
20948
|
+
* The `children` will be under the DOM hierarchy of the parent component.
|
|
20949
|
+
* @default false
|
|
20950
|
+
*/
|
|
20951
|
+
disablePortal: propTypes.bool,
|
|
20952
|
+
|
|
20953
|
+
/**
|
|
20954
|
+
* Always keep the children in the DOM.
|
|
20955
|
+
* This prop can be useful in SEO situation or
|
|
20956
|
+
* when you want to maximize the responsiveness of the Popper.
|
|
20957
|
+
* @default false
|
|
20958
|
+
*/
|
|
20959
|
+
keepMounted: propTypes.bool,
|
|
20960
|
+
|
|
20961
|
+
/**
|
|
20962
|
+
* Popper.js is based on a "plugin-like" architecture,
|
|
20963
|
+
* most of its features are fully encapsulated "modifiers".
|
|
20964
|
+
*
|
|
20965
|
+
* A modifier is a function that is called each time Popper.js needs to
|
|
20966
|
+
* compute the position of the popper.
|
|
20967
|
+
* For this reason, modifiers should be very performant to avoid bottlenecks.
|
|
20968
|
+
* To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
|
|
20969
|
+
*/
|
|
20970
|
+
modifiers: propTypes.arrayOf(propTypes.shape({
|
|
20971
|
+
data: propTypes.object,
|
|
20972
|
+
effect: propTypes.func,
|
|
20973
|
+
enabled: propTypes.bool,
|
|
20974
|
+
fn: propTypes.func,
|
|
20975
|
+
name: propTypes.any.isRequired,
|
|
20976
|
+
options: propTypes.object,
|
|
20977
|
+
phase: propTypes.oneOf(['afterMain', 'afterRead', 'afterWrite', 'beforeMain', 'beforeRead', 'beforeWrite', 'main', 'read', 'write']),
|
|
20978
|
+
requires: propTypes.arrayOf(propTypes.string),
|
|
20979
|
+
requiresIfExists: propTypes.arrayOf(propTypes.string)
|
|
20980
|
+
})),
|
|
20981
|
+
|
|
20982
|
+
/**
|
|
20983
|
+
* If `true`, the component is shown.
|
|
20984
|
+
*/
|
|
20985
|
+
open: propTypes.bool.isRequired,
|
|
20986
|
+
|
|
20987
|
+
/**
|
|
20988
|
+
* Popper placement.
|
|
20989
|
+
* @default 'bottom'
|
|
20990
|
+
*/
|
|
20991
|
+
placement: propTypes.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
|
|
20992
|
+
|
|
20993
|
+
/**
|
|
20994
|
+
* Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
|
|
20995
|
+
* @default {}
|
|
20996
|
+
*/
|
|
20997
|
+
popperOptions: propTypes.shape({
|
|
20998
|
+
modifiers: propTypes.array,
|
|
20999
|
+
onFirstUpdate: propTypes.func,
|
|
21000
|
+
placement: propTypes.oneOf(['auto-end', 'auto-start', 'auto', 'bottom-end', 'bottom-start', 'bottom', 'left-end', 'left-start', 'left', 'right-end', 'right-start', 'right', 'top-end', 'top-start', 'top']),
|
|
21001
|
+
strategy: propTypes.oneOf(['absolute', 'fixed'])
|
|
21002
|
+
}),
|
|
21003
|
+
|
|
21004
|
+
/**
|
|
21005
|
+
* A ref that points to the used popper instance.
|
|
21006
|
+
*/
|
|
21007
|
+
popperRef: refType$1,
|
|
21008
|
+
|
|
21009
|
+
/**
|
|
21010
|
+
* Help supporting a react-transition-group/Transition component.
|
|
21011
|
+
* @default false
|
|
21012
|
+
*/
|
|
21013
|
+
transition: propTypes.bool
|
|
21014
|
+
} ;
|
|
21015
|
+
var Popper$1 = Popper;
|
|
21016
|
+
|
|
19876
21017
|
function getListSubheaderUtilityClass(slot) {
|
|
19877
21018
|
return generateUtilityClass('MuiListSubheader', slot);
|
|
19878
21019
|
}
|
|
@@ -20018,7 +21159,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
20018
21159
|
/**
|
|
20019
21160
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
20020
21161
|
*/
|
|
20021
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
21162
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
20022
21163
|
} ;
|
|
20023
21164
|
var ListSubheader$1 = ListSubheader;
|
|
20024
21165
|
|
|
@@ -20532,7 +21673,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
20532
21673
|
/**
|
|
20533
21674
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
20534
21675
|
*/
|
|
20535
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
21676
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
20536
21677
|
|
|
20537
21678
|
/**
|
|
20538
21679
|
* The variant to use.
|
|
@@ -20730,6 +21871,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
20730
21871
|
padding: '2.5px 4px'
|
|
20731
21872
|
}
|
|
20732
21873
|
},
|
|
21874
|
+
[`& .${inputBaseClasses$1.hiddenLabel}`]: {
|
|
21875
|
+
paddingTop: 8
|
|
21876
|
+
},
|
|
20733
21877
|
[`& .${autocompleteClasses$1.input}`]: _extends({
|
|
20734
21878
|
flexGrow: 1,
|
|
20735
21879
|
textOverflow: 'ellipsis',
|
|
@@ -21596,7 +22740,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
21596
22740
|
/**
|
|
21597
22741
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
21598
22742
|
*/
|
|
21599
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
22743
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
21600
22744
|
|
|
21601
22745
|
/**
|
|
21602
22746
|
* The value of the autocomplete.
|
|
@@ -21870,7 +23014,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
21870
23014
|
/**
|
|
21871
23015
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
21872
23016
|
*/
|
|
21873
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
23017
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
21874
23018
|
|
|
21875
23019
|
/**
|
|
21876
23020
|
* The shape of the avatar.
|
|
@@ -22042,7 +23186,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
22042
23186
|
/**
|
|
22043
23187
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
22044
23188
|
*/
|
|
22045
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
23189
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
22046
23190
|
|
|
22047
23191
|
/**
|
|
22048
23192
|
* The variant to use.
|
|
@@ -22404,7 +23548,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
22404
23548
|
/**
|
|
22405
23549
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
22406
23550
|
*/
|
|
22407
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
23551
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
22408
23552
|
|
|
22409
23553
|
/**
|
|
22410
23554
|
* The duration for the transition, in milliseconds.
|
|
@@ -22706,7 +23850,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
22706
23850
|
/**
|
|
22707
23851
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
22708
23852
|
*/
|
|
22709
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
23853
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
22710
23854
|
|
|
22711
23855
|
/**
|
|
22712
23856
|
* The variant to use.
|
|
@@ -22844,7 +23988,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
22844
23988
|
/**
|
|
22845
23989
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
22846
23990
|
*/
|
|
22847
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
23991
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
22848
23992
|
|
|
22849
23993
|
/**
|
|
22850
23994
|
* The value of the currently selected `BottomNavigationAction`.
|
|
@@ -23024,7 +24168,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23024
24168
|
/**
|
|
23025
24169
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23026
24170
|
*/
|
|
23027
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
24171
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
23028
24172
|
|
|
23029
24173
|
/**
|
|
23030
24174
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
@@ -23039,7 +24183,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23039
24183
|
*/
|
|
23040
24184
|
|
|
23041
24185
|
const Box = createBox({
|
|
23042
|
-
defaultTheme
|
|
24186
|
+
defaultTheme,
|
|
24187
|
+
defaultClassName: 'MuiBox-root',
|
|
24188
|
+
generateClassName: ClassNameGenerator$1.generate
|
|
23043
24189
|
});
|
|
23044
24190
|
var Box$1 = Box;
|
|
23045
24191
|
|
|
@@ -23053,8 +24199,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23053
24199
|
theme
|
|
23054
24200
|
}) => _extends({
|
|
23055
24201
|
display: 'flex',
|
|
23056
|
-
marginLeft: theme.spacing(0.5)
|
|
23057
|
-
marginRight: theme.spacing(0.5)
|
|
24202
|
+
marginLeft: `calc(${theme.spacing(1)} * 0.5)`,
|
|
24203
|
+
marginRight: `calc(${theme.spacing(1)} * 0.5)`
|
|
23058
24204
|
}, theme.palette.mode === 'light' ? {
|
|
23059
24205
|
backgroundColor: theme.palette.grey[100],
|
|
23060
24206
|
color: theme.palette.grey[700]
|
|
@@ -23331,7 +24477,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23331
24477
|
/**
|
|
23332
24478
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23333
24479
|
*/
|
|
23334
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
24480
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
23335
24481
|
} ;
|
|
23336
24482
|
var Breadcrumbs$1 = Breadcrumbs;
|
|
23337
24483
|
|
|
@@ -23341,7 +24487,18 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23341
24487
|
const buttonClasses = generateUtilityClasses('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);
|
|
23342
24488
|
var buttonClasses$1 = buttonClasses;
|
|
23343
24489
|
|
|
23344
|
-
|
|
24490
|
+
/**
|
|
24491
|
+
* @ignore - internal component.
|
|
24492
|
+
*/
|
|
24493
|
+
const ButtonGroupContext = /*#__PURE__*/React__namespace.createContext({});
|
|
24494
|
+
|
|
24495
|
+
{
|
|
24496
|
+
ButtonGroupContext.displayName = 'ButtonGroupContext';
|
|
24497
|
+
}
|
|
24498
|
+
|
|
24499
|
+
var ButtonGroupContext$1 = ButtonGroupContext;
|
|
24500
|
+
|
|
24501
|
+
const _excluded$1G = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
23345
24502
|
|
|
23346
24503
|
const useUtilityClasses$1p = ownerState => {
|
|
23347
24504
|
const {
|
|
@@ -23546,24 +24703,47 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23546
24703
|
props: inProps,
|
|
23547
24704
|
name: 'MuiButton'
|
|
23548
24705
|
});
|
|
24706
|
+
const {
|
|
24707
|
+
className: classNameContext,
|
|
24708
|
+
color: colorContext,
|
|
24709
|
+
disabled: disabledContext,
|
|
24710
|
+
disableElevation: disableElevationContext,
|
|
24711
|
+
disableFocusRipple: disableFocusRippleContext,
|
|
24712
|
+
disableRipple: disableRippleContext,
|
|
24713
|
+
fullWidth: fullWidthContext,
|
|
24714
|
+
size: sizeContext,
|
|
24715
|
+
variant: variantContext
|
|
24716
|
+
} = React__namespace.useContext(ButtonGroupContext$1);
|
|
23549
24717
|
|
|
23550
24718
|
const {
|
|
23551
24719
|
children,
|
|
23552
|
-
|
|
24720
|
+
className,
|
|
24721
|
+
color: colorProp,
|
|
23553
24722
|
component = 'button',
|
|
23554
|
-
disabled
|
|
23555
|
-
disableElevation
|
|
23556
|
-
disableFocusRipple
|
|
24723
|
+
disabled: disabledProp,
|
|
24724
|
+
disableElevation: disableElevationProp,
|
|
24725
|
+
disableFocusRipple: disableFocusRippleProp,
|
|
24726
|
+
disableRipple: disableRippleProp,
|
|
23557
24727
|
endIcon: endIconProp,
|
|
23558
24728
|
focusVisibleClassName,
|
|
23559
|
-
fullWidth
|
|
23560
|
-
size
|
|
24729
|
+
fullWidth: fullWidthProp,
|
|
24730
|
+
size: sizeProp,
|
|
23561
24731
|
startIcon: startIconProp,
|
|
23562
24732
|
type,
|
|
23563
|
-
variant
|
|
24733
|
+
variant: variantProp
|
|
23564
24734
|
} = props,
|
|
23565
24735
|
other = _objectWithoutPropertiesLoose(props, _excluded$1G);
|
|
23566
24736
|
|
|
24737
|
+
const color = colorProp || colorContext || 'primary'; // TODO v6: Use nullish coalescing (??) instead of OR operator for these boolean props so that these boolean props for Button with ButtonGroup context take priority. See conversation from https://github.com/mui-org/material-ui/pull/28645#discussion_r738380902.
|
|
24738
|
+
|
|
24739
|
+
const disabled = disabledProp || disabledContext || false;
|
|
24740
|
+
const disableElevation = disableElevationProp || disableElevationContext || false;
|
|
24741
|
+
const disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
|
|
24742
|
+
const fullWidth = fullWidthProp || fullWidthContext || false;
|
|
24743
|
+
const size = sizeProp || sizeContext || 'medium';
|
|
24744
|
+
const variant = variantProp || variantContext || 'text';
|
|
24745
|
+
const disableRipple = disableRippleProp || disableRippleContext || false;
|
|
24746
|
+
|
|
23567
24747
|
const ownerState = _extends({}, props, {
|
|
23568
24748
|
color,
|
|
23569
24749
|
component,
|
|
@@ -23592,8 +24772,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23592
24772
|
|
|
23593
24773
|
return /*#__PURE__*/jsxRuntime_2(ButtonRoot, _extends({
|
|
23594
24774
|
ownerState: ownerState,
|
|
24775
|
+
className: clsx(className, classNameContext),
|
|
23595
24776
|
component: component,
|
|
23596
24777
|
disabled: disabled,
|
|
24778
|
+
disableRipple: disableRipple,
|
|
23597
24779
|
focusRipple: !disableFocusRipple,
|
|
23598
24780
|
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
23599
24781
|
ref: ref,
|
|
@@ -23621,6 +24803,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23621
24803
|
*/
|
|
23622
24804
|
classes: propTypes.object,
|
|
23623
24805
|
|
|
24806
|
+
/**
|
|
24807
|
+
* @ignore
|
|
24808
|
+
*/
|
|
24809
|
+
className: propTypes.string,
|
|
24810
|
+
|
|
23624
24811
|
/**
|
|
23625
24812
|
* The color of the component. It supports those theme colors that make sense for this component.
|
|
23626
24813
|
* @default 'primary'
|
|
@@ -23701,7 +24888,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23701
24888
|
/**
|
|
23702
24889
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23703
24890
|
*/
|
|
23704
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
24891
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
23705
24892
|
|
|
23706
24893
|
/**
|
|
23707
24894
|
* @ignore
|
|
@@ -23820,10 +25007,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23820
25007
|
}
|
|
23821
25008
|
}, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
23822
25009
|
borderColor: theme.palette[ownerState.color].dark
|
|
25010
|
+
}, {
|
|
25011
|
+
'&:hover': _extends({}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
|
|
25012
|
+
borderRightColor: 'currentColor'
|
|
25013
|
+
}, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
|
|
25014
|
+
borderBottomColor: 'currentColor'
|
|
25015
|
+
})
|
|
23823
25016
|
}),
|
|
23824
|
-
'&:hover': _extends({}, ownerState.variant === '
|
|
23825
|
-
borderColor: theme.palette[ownerState.color].main
|
|
23826
|
-
}, ownerState.variant === 'contained' && {
|
|
25017
|
+
'&:hover': _extends({}, ownerState.variant === 'contained' && {
|
|
23827
25018
|
boxShadow: 'none'
|
|
23828
25019
|
})
|
|
23829
25020
|
}, ownerState.variant === 'contained' && {
|
|
@@ -23866,6 +25057,17 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23866
25057
|
});
|
|
23867
25058
|
|
|
23868
25059
|
const classes = useUtilityClasses$1o(ownerState);
|
|
25060
|
+
const context = React__namespace.useMemo(() => ({
|
|
25061
|
+
className: classes.grouped,
|
|
25062
|
+
color,
|
|
25063
|
+
disabled,
|
|
25064
|
+
disableElevation,
|
|
25065
|
+
disableFocusRipple,
|
|
25066
|
+
disableRipple,
|
|
25067
|
+
fullWidth,
|
|
25068
|
+
size,
|
|
25069
|
+
variant
|
|
25070
|
+
}), [color, disabled, disableElevation, disableFocusRipple, disableRipple, fullWidth, size, variant, classes.grouped]);
|
|
23869
25071
|
return /*#__PURE__*/jsxRuntime_1(ButtonGroupRoot, _extends({
|
|
23870
25072
|
as: component,
|
|
23871
25073
|
role: "group",
|
|
@@ -23873,28 +25075,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23873
25075
|
ref: ref,
|
|
23874
25076
|
ownerState: ownerState
|
|
23875
25077
|
}, other, {
|
|
23876
|
-
children:
|
|
23877
|
-
|
|
23878
|
-
|
|
23879
|
-
}
|
|
23880
|
-
|
|
23881
|
-
{
|
|
23882
|
-
if (reactIs_2(child)) {
|
|
23883
|
-
console.error(["MUI: The ButtonGroup component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
|
|
23884
|
-
}
|
|
23885
|
-
}
|
|
23886
|
-
|
|
23887
|
-
return /*#__PURE__*/React__namespace.cloneElement(child, {
|
|
23888
|
-
className: clsx(classes.grouped, child.props.className),
|
|
23889
|
-
color: child.props.color || color,
|
|
23890
|
-
disabled: child.props.disabled || disabled,
|
|
23891
|
-
disableElevation: child.props.disableElevation || disableElevation,
|
|
23892
|
-
disableFocusRipple,
|
|
23893
|
-
disableRipple,
|
|
23894
|
-
fullWidth,
|
|
23895
|
-
size: child.props.size || size,
|
|
23896
|
-
variant: child.props.variant || variant
|
|
23897
|
-
});
|
|
25078
|
+
children: /*#__PURE__*/jsxRuntime_1(ButtonGroupContext$1.Provider, {
|
|
25079
|
+
value: context,
|
|
25080
|
+
children: children
|
|
23898
25081
|
})
|
|
23899
25082
|
}));
|
|
23900
25083
|
});
|
|
@@ -23983,7 +25166,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23983
25166
|
/**
|
|
23984
25167
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23985
25168
|
*/
|
|
23986
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
25169
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
23987
25170
|
|
|
23988
25171
|
/**
|
|
23989
25172
|
* The variant to use.
|
|
@@ -24084,7 +25267,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24084
25267
|
/**
|
|
24085
25268
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24086
25269
|
*/
|
|
24087
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
25270
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
24088
25271
|
} ;
|
|
24089
25272
|
var Card$1 = Card;
|
|
24090
25273
|
|
|
@@ -24206,7 +25389,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24206
25389
|
/**
|
|
24207
25390
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24208
25391
|
*/
|
|
24209
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
25392
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
24210
25393
|
} ;
|
|
24211
25394
|
var CardActionArea$1 = CardActionArea;
|
|
24212
25395
|
|
|
@@ -24304,7 +25487,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24304
25487
|
/**
|
|
24305
25488
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24306
25489
|
*/
|
|
24307
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
25490
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
24308
25491
|
} ;
|
|
24309
25492
|
var CardActions$1 = CardActions;
|
|
24310
25493
|
|
|
@@ -24394,7 +25577,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24394
25577
|
/**
|
|
24395
25578
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24396
25579
|
*/
|
|
24397
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
25580
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
24398
25581
|
} ;
|
|
24399
25582
|
var CardContent$1 = CardContent;
|
|
24400
25583
|
|
|
@@ -24597,7 +25780,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24597
25780
|
/**
|
|
24598
25781
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24599
25782
|
*/
|
|
24600
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
25783
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
24601
25784
|
|
|
24602
25785
|
/**
|
|
24603
25786
|
* The content of the component.
|
|
@@ -24757,7 +25940,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24757
25940
|
/**
|
|
24758
25941
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24759
25942
|
*/
|
|
24760
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
25943
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
24761
25944
|
} ;
|
|
24762
25945
|
var CardMedia$1 = CardMedia;
|
|
24763
25946
|
|
|
@@ -25303,7 +26486,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25303
26486
|
/**
|
|
25304
26487
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
25305
26488
|
*/
|
|
25306
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
26489
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
25307
26490
|
|
|
25308
26491
|
/**
|
|
25309
26492
|
* The value of the component. The DOM API casts this to a string.
|
|
@@ -25555,7 +26738,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25555
26738
|
/**
|
|
25556
26739
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
25557
26740
|
*/
|
|
25558
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
26741
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
25559
26742
|
|
|
25560
26743
|
/**
|
|
25561
26744
|
* The thickness of the circle.
|
|
@@ -25923,7 +27106,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25923
27106
|
/**
|
|
25924
27107
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
25925
27108
|
*/
|
|
25926
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
27109
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
25927
27110
|
} ;
|
|
25928
27111
|
var Container$1 = Container;
|
|
25929
27112
|
|
|
@@ -25949,8 +27132,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25949
27132
|
}), propTypes.string, propTypes.bool])
|
|
25950
27133
|
} ;
|
|
25951
27134
|
|
|
25952
|
-
|
|
25953
|
-
const html = {
|
|
27135
|
+
const html = (theme, enableColorScheme) => _extends({
|
|
25954
27136
|
WebkitFontSmoothing: 'antialiased',
|
|
25955
27137
|
// Antialiasing.
|
|
25956
27138
|
MozOsxFontSmoothing: 'grayscale',
|
|
@@ -25960,7 +27142,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25960
27142
|
boxSizing: 'border-box',
|
|
25961
27143
|
// Fix font resize problem in iOS
|
|
25962
27144
|
WebkitTextSizeAdjust: '100%'
|
|
25963
|
-
}
|
|
27145
|
+
}, enableColorScheme && {
|
|
27146
|
+
colorScheme: theme.palette.mode
|
|
27147
|
+
});
|
|
25964
27148
|
const body = theme => _extends({
|
|
25965
27149
|
color: theme.palette.text.primary
|
|
25966
27150
|
}, theme.typography.body1, {
|
|
@@ -25970,11 +27154,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25970
27154
|
backgroundColor: theme.palette.common.white
|
|
25971
27155
|
}
|
|
25972
27156
|
});
|
|
25973
|
-
const styles$3 = theme => {
|
|
27157
|
+
const styles$3 = (theme, enableColorScheme = false) => {
|
|
25974
27158
|
var _theme$components, _theme$components$Mui;
|
|
25975
27159
|
|
|
25976
27160
|
let defaultStyles = {
|
|
25977
|
-
html,
|
|
27161
|
+
html: html(theme, enableColorScheme),
|
|
25978
27162
|
'*, *::before, *::after': {
|
|
25979
27163
|
boxSizing: 'inherit'
|
|
25980
27164
|
},
|
|
@@ -26009,12 +27193,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26009
27193
|
name: 'MuiCssBaseline'
|
|
26010
27194
|
});
|
|
26011
27195
|
const {
|
|
26012
|
-
children
|
|
27196
|
+
children,
|
|
27197
|
+
enableColorScheme = false
|
|
26013
27198
|
} = props;
|
|
26014
27199
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
26015
|
-
children: [
|
|
26016
|
-
styles: styles$3
|
|
26017
|
-
})
|
|
27200
|
+
children: [/*#__PURE__*/jsxRuntime_1(GlobalStyles, {
|
|
27201
|
+
styles: theme => styles$3(theme, enableColorScheme)
|
|
27202
|
+
}), children]
|
|
26018
27203
|
});
|
|
26019
27204
|
}
|
|
26020
27205
|
|
|
@@ -26029,7 +27214,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26029
27214
|
/**
|
|
26030
27215
|
* You can wrap a node.
|
|
26031
27216
|
*/
|
|
26032
|
-
children: propTypes.node
|
|
27217
|
+
children: propTypes.node,
|
|
27218
|
+
|
|
27219
|
+
/**
|
|
27220
|
+
* Enable `color-scheme` css property to use `theme.palette.mode`.
|
|
27221
|
+
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
27222
|
+
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
27223
|
+
* @default false
|
|
27224
|
+
*/
|
|
27225
|
+
enableColorScheme: propTypes.bool
|
|
26033
27226
|
} ;
|
|
26034
27227
|
|
|
26035
27228
|
// track, thumb and active are derieved from macOS 10.15.7
|
|
@@ -26329,7 +27522,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26329
27522
|
/**
|
|
26330
27523
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26331
27524
|
*/
|
|
26332
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
27525
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
26333
27526
|
} ;
|
|
26334
27527
|
var Modal$1 = Modal;
|
|
26335
27528
|
|
|
@@ -26548,7 +27741,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26548
27741
|
}
|
|
26549
27742
|
};
|
|
26550
27743
|
|
|
26551
|
-
const ariaLabelledby =
|
|
27744
|
+
const ariaLabelledby = useReactId(ariaLabelledbyProp);
|
|
26552
27745
|
const dialogContextValue = React__namespace.useMemo(() => {
|
|
26553
27746
|
return {
|
|
26554
27747
|
titleId: ariaLabelledby
|
|
@@ -26718,7 +27911,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26718
27911
|
/**
|
|
26719
27912
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26720
27913
|
*/
|
|
26721
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
27914
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
26722
27915
|
|
|
26723
27916
|
/**
|
|
26724
27917
|
* The component used for the transition.
|
|
@@ -26842,7 +28035,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26842
28035
|
/**
|
|
26843
28036
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26844
28037
|
*/
|
|
26845
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
28038
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
26846
28039
|
} ;
|
|
26847
28040
|
var DialogActions$1 = DialogActions;
|
|
26848
28041
|
|
|
@@ -26953,7 +28146,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26953
28146
|
/**
|
|
26954
28147
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26955
28148
|
*/
|
|
26956
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
28149
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
26957
28150
|
} ;
|
|
26958
28151
|
var DialogContent$1 = DialogContent;
|
|
26959
28152
|
|
|
@@ -27022,7 +28215,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27022
28215
|
/**
|
|
27023
28216
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
27024
28217
|
*/
|
|
27025
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
28218
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
27026
28219
|
} ;
|
|
27027
28220
|
var DialogContentText$1 = DialogContentText;
|
|
27028
28221
|
|
|
@@ -27103,7 +28296,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27103
28296
|
/**
|
|
27104
28297
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
27105
28298
|
*/
|
|
27106
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
28299
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
27107
28300
|
} ;
|
|
27108
28301
|
var DialogTitle$1 = DialogTitle;
|
|
27109
28302
|
|
|
@@ -27235,11 +28428,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27235
28428
|
ownerState
|
|
27236
28429
|
}) => _extends({
|
|
27237
28430
|
display: 'inline-block',
|
|
27238
|
-
paddingLeft: theme.spacing(1.2)
|
|
27239
|
-
paddingRight: theme.spacing(1.2)
|
|
28431
|
+
paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
|
|
28432
|
+
paddingRight: `calc(${theme.spacing(1)} * 1.2)`
|
|
27240
28433
|
}, ownerState.orientation === 'vertical' && {
|
|
27241
|
-
paddingTop: theme.spacing(1.2)
|
|
27242
|
-
paddingBottom: theme.spacing(1.2)
|
|
28434
|
+
paddingTop: `calc(${theme.spacing(1)} * 1.2)`,
|
|
28435
|
+
paddingBottom: `calc(${theme.spacing(1)} * 1.2)`
|
|
27243
28436
|
}));
|
|
27244
28437
|
const Divider = /*#__PURE__*/React__namespace.forwardRef(function Divider(inProps, ref) {
|
|
27245
28438
|
const props = useThemeProps({
|
|
@@ -27351,7 +28544,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27351
28544
|
/**
|
|
27352
28545
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
27353
28546
|
*/
|
|
27354
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
28547
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
27355
28548
|
|
|
27356
28549
|
/**
|
|
27357
28550
|
* The text alignment.
|
|
@@ -27733,7 +28926,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27733
28926
|
var drawerClasses$1 = drawerClasses;
|
|
27734
28927
|
|
|
27735
28928
|
const _excluded$1m = ["BackdropProps"],
|
|
27736
|
-
_excluded2$
|
|
28929
|
+
_excluded2$8 = ["anchor", "BackdropProps", "children", "className", "elevation", "hideBackdrop", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "TransitionComponent", "transitionDuration", "variant"];
|
|
27737
28930
|
|
|
27738
28931
|
const overridesResolver$5 = (props, styles) => {
|
|
27739
28932
|
const {
|
|
@@ -27876,7 +29069,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27876
29069
|
variant = 'temporary'
|
|
27877
29070
|
} = props,
|
|
27878
29071
|
ModalProps = _objectWithoutPropertiesLoose(props.ModalProps, _excluded$1m),
|
|
27879
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
29072
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$8);
|
|
27880
29073
|
|
|
27881
29074
|
const theme = useTheme(); // Let's assume that the Drawer will always be rendered on user space.
|
|
27882
29075
|
// We use this state is order to skip the appear transition during the
|
|
@@ -28030,7 +29223,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
28030
29223
|
/**
|
|
28031
29224
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
28032
29225
|
*/
|
|
28033
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
29226
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
28034
29227
|
|
|
28035
29228
|
/**
|
|
28036
29229
|
* The duration for the transition, in milliseconds.
|
|
@@ -28285,7 +29478,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
28285
29478
|
/**
|
|
28286
29479
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
28287
29480
|
*/
|
|
28288
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
29481
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
28289
29482
|
|
|
28290
29483
|
/**
|
|
28291
29484
|
* The variant to use.
|
|
@@ -28505,8 +29698,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
28505
29698
|
paddingTop: 0
|
|
28506
29699
|
}, ownerState.type === 'search' && {
|
|
28507
29700
|
// Improve type search style.
|
|
28508
|
-
MozAppearance: 'textfield'
|
|
28509
|
-
WebkitAppearance: 'textfield'
|
|
29701
|
+
MozAppearance: 'textfield'
|
|
28510
29702
|
});
|
|
28511
29703
|
});
|
|
28512
29704
|
|
|
@@ -28809,7 +30001,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
28809
30001
|
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
28810
30002
|
}, {
|
|
28811
30003
|
ref: handleInputRef,
|
|
28812
|
-
className: clsx(classes.input, inputProps.className
|
|
30004
|
+
className: clsx(classes.input, inputProps.className),
|
|
28813
30005
|
onBlur: handleBlur,
|
|
28814
30006
|
onChange: handleChange,
|
|
28815
30007
|
onFocus: handleFocus
|
|
@@ -29035,7 +30227,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29035
30227
|
/**
|
|
29036
30228
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29037
30229
|
*/
|
|
29038
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
30230
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
29039
30231
|
|
|
29040
30232
|
/**
|
|
29041
30233
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
@@ -29429,7 +30621,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29429
30621
|
/**
|
|
29430
30622
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29431
30623
|
*/
|
|
29432
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
30624
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
29433
30625
|
|
|
29434
30626
|
/**
|
|
29435
30627
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
@@ -29753,7 +30945,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29753
30945
|
/**
|
|
29754
30946
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29755
30947
|
*/
|
|
29756
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
30948
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
29757
30949
|
|
|
29758
30950
|
/**
|
|
29759
30951
|
* The variant to use.
|
|
@@ -29941,9 +31133,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29941
31133
|
inputRef: refType$1,
|
|
29942
31134
|
|
|
29943
31135
|
/**
|
|
29944
|
-
*
|
|
31136
|
+
* A text or an element to be used in an enclosing label element.
|
|
29945
31137
|
*/
|
|
29946
|
-
label: propTypes.
|
|
31138
|
+
label: propTypes.oneOfType([propTypes.element, propTypes.number, propTypes.string]).isRequired,
|
|
29947
31139
|
|
|
29948
31140
|
/**
|
|
29949
31141
|
* The position of the label.
|
|
@@ -29967,7 +31159,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29967
31159
|
/**
|
|
29968
31160
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29969
31161
|
*/
|
|
29970
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
31162
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
29971
31163
|
|
|
29972
31164
|
/**
|
|
29973
31165
|
* The value of the component.
|
|
@@ -30074,7 +31266,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30074
31266
|
/**
|
|
30075
31267
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
30076
31268
|
*/
|
|
30077
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
31269
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
30078
31270
|
} ;
|
|
30079
31271
|
var FormGroup$1 = FormGroup;
|
|
30080
31272
|
|
|
@@ -30251,7 +31443,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30251
31443
|
/**
|
|
30252
31444
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
30253
31445
|
*/
|
|
30254
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
31446
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
30255
31447
|
|
|
30256
31448
|
/**
|
|
30257
31449
|
* The variant to use.
|
|
@@ -30432,7 +31624,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30432
31624
|
/**
|
|
30433
31625
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
30434
31626
|
*/
|
|
30435
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
31627
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
30436
31628
|
} ;
|
|
30437
31629
|
var FormLabel$1 = FormLabel;
|
|
30438
31630
|
|
|
@@ -30496,10 +31688,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30496
31688
|
} else {
|
|
30497
31689
|
const columnsBreakpointValues = resolveBreakpointValues({
|
|
30498
31690
|
values: ownerState.columns,
|
|
30499
|
-
|
|
30500
|
-
});
|
|
31691
|
+
breakpoints: theme.breakpoints.values
|
|
31692
|
+
});
|
|
31693
|
+
const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues; // Keep 7 significant numbers.
|
|
30501
31694
|
|
|
30502
|
-
const width = `${Math.round(size /
|
|
31695
|
+
const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
|
|
30503
31696
|
let more = {};
|
|
30504
31697
|
|
|
30505
31698
|
if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
|
|
@@ -30535,9 +31728,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30535
31728
|
theme,
|
|
30536
31729
|
ownerState
|
|
30537
31730
|
}) {
|
|
31731
|
+
const directionValues = resolveBreakpointValues({
|
|
31732
|
+
values: ownerState.direction,
|
|
31733
|
+
breakpoints: theme.breakpoints.values
|
|
31734
|
+
});
|
|
30538
31735
|
return handleBreakpoints({
|
|
30539
31736
|
theme
|
|
30540
|
-
},
|
|
31737
|
+
}, directionValues, propValue => {
|
|
30541
31738
|
const output = {
|
|
30542
31739
|
flexDirection: propValue
|
|
30543
31740
|
};
|
|
@@ -30551,7 +31748,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30551
31748
|
return output;
|
|
30552
31749
|
});
|
|
30553
31750
|
}
|
|
30554
|
-
|
|
30555
31751
|
function generateRowGap({
|
|
30556
31752
|
theme,
|
|
30557
31753
|
ownerState
|
|
@@ -30563,9 +31759,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30563
31759
|
let styles = {};
|
|
30564
31760
|
|
|
30565
31761
|
if (container && rowSpacing !== 0) {
|
|
31762
|
+
const rowSpacingValues = resolveBreakpointValues({
|
|
31763
|
+
values: rowSpacing,
|
|
31764
|
+
breakpoints: theme.breakpoints.values
|
|
31765
|
+
});
|
|
30566
31766
|
styles = handleBreakpoints({
|
|
30567
31767
|
theme
|
|
30568
|
-
},
|
|
31768
|
+
}, rowSpacingValues, propValue => {
|
|
30569
31769
|
const themeSpacing = theme.spacing(propValue);
|
|
30570
31770
|
|
|
30571
31771
|
if (themeSpacing !== '0px') {
|
|
@@ -30594,9 +31794,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30594
31794
|
let styles = {};
|
|
30595
31795
|
|
|
30596
31796
|
if (container && columnSpacing !== 0) {
|
|
31797
|
+
const columnSpacingValues = resolveBreakpointValues({
|
|
31798
|
+
values: columnSpacing,
|
|
31799
|
+
breakpoints: theme.breakpoints.values
|
|
31800
|
+
});
|
|
30597
31801
|
styles = handleBreakpoints({
|
|
30598
31802
|
theme
|
|
30599
|
-
},
|
|
31803
|
+
}, columnSpacingValues, propValue => {
|
|
30600
31804
|
const themeSpacing = theme.spacing(propValue);
|
|
30601
31805
|
|
|
30602
31806
|
if (themeSpacing !== '0px') {
|
|
@@ -30814,18 +32018,26 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30814
32018
|
item: propTypes.bool,
|
|
30815
32019
|
|
|
30816
32020
|
/**
|
|
30817
|
-
*
|
|
30818
|
-
* It'
|
|
32021
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
32022
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
32023
|
+
* If 'auto', the grid item's width matches its content.
|
|
32024
|
+
* If false, the prop is ignored.
|
|
32025
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
32026
|
+
* The value is applied for the `lg` breakpoint and wider screens if not overridden.
|
|
30819
32027
|
* @default false
|
|
30820
32028
|
*/
|
|
30821
|
-
lg: propTypes.oneOfType([propTypes.oneOf(['auto'
|
|
32029
|
+
lg: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
|
|
30822
32030
|
|
|
30823
32031
|
/**
|
|
30824
|
-
*
|
|
30825
|
-
* It'
|
|
32032
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
32033
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
32034
|
+
* If 'auto', the grid item's width matches its content.
|
|
32035
|
+
* If false, the prop is ignored.
|
|
32036
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
32037
|
+
* The value is applied for the `md` breakpoint and wider screens if not overridden.
|
|
30826
32038
|
* @default false
|
|
30827
32039
|
*/
|
|
30828
|
-
md: propTypes.oneOfType([propTypes.oneOf(['auto'
|
|
32040
|
+
md: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
|
|
30829
32041
|
|
|
30830
32042
|
/**
|
|
30831
32043
|
* Defines the vertical space between the type `item` components.
|
|
@@ -30834,11 +32046,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30834
32046
|
rowSpacing: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.number, propTypes.string])), propTypes.number, propTypes.object, propTypes.string]),
|
|
30835
32047
|
|
|
30836
32048
|
/**
|
|
30837
|
-
*
|
|
30838
|
-
* It'
|
|
32049
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
32050
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
32051
|
+
* If 'auto', the grid item's width matches its content.
|
|
32052
|
+
* If false, the prop is ignored.
|
|
32053
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
32054
|
+
* The value is applied for the `sm` breakpoint and wider screens if not overridden.
|
|
30839
32055
|
* @default false
|
|
30840
32056
|
*/
|
|
30841
|
-
sm: propTypes.oneOfType([propTypes.oneOf(['auto'
|
|
32057
|
+
sm: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
|
|
30842
32058
|
|
|
30843
32059
|
/**
|
|
30844
32060
|
* Defines the space between the type `item` components.
|
|
@@ -30850,7 +32066,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30850
32066
|
/**
|
|
30851
32067
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
30852
32068
|
*/
|
|
30853
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
32069
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
30854
32070
|
|
|
30855
32071
|
/**
|
|
30856
32072
|
* Defines the `flex-wrap` style property.
|
|
@@ -30860,18 +32076,26 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30860
32076
|
wrap: propTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
|
|
30861
32077
|
|
|
30862
32078
|
/**
|
|
30863
|
-
*
|
|
30864
|
-
* It'
|
|
32079
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
32080
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
32081
|
+
* If 'auto', the grid item's width matches its content.
|
|
32082
|
+
* If false, the prop is ignored.
|
|
32083
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
32084
|
+
* The value is applied for the `xl` breakpoint and wider screens if not overridden.
|
|
30865
32085
|
* @default false
|
|
30866
32086
|
*/
|
|
30867
|
-
xl: propTypes.oneOfType([propTypes.oneOf(['auto'
|
|
32087
|
+
xl: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
|
|
30868
32088
|
|
|
30869
32089
|
/**
|
|
30870
|
-
*
|
|
30871
|
-
* It'
|
|
32090
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
32091
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
32092
|
+
* If 'auto', the grid item's width matches its content.
|
|
32093
|
+
* If false, the prop is ignored.
|
|
32094
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
32095
|
+
* The value is applied for all the screen sizes with the lowest priority.
|
|
30872
32096
|
* @default false
|
|
30873
32097
|
*/
|
|
30874
|
-
xs: propTypes.oneOfType([propTypes.oneOf(['auto'
|
|
32098
|
+
xs: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
|
|
30875
32099
|
|
|
30876
32100
|
/**
|
|
30877
32101
|
* If `true`, it sets `min-width: 0` on the item.
|
|
@@ -31173,32 +32397,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
31173
32397
|
* @deprecated Not used internally. Use `MediaQueryListEvent` from lib.dom.d.ts instead.
|
|
31174
32398
|
*/
|
|
31175
32399
|
|
|
31176
|
-
function
|
|
31177
|
-
const theme = useTheme$2(); // Wait for jsdom to support the match media feature.
|
|
31178
|
-
// All the browsers MUI support have this built-in.
|
|
31179
|
-
// This defensive check is here for simplicity.
|
|
31180
|
-
// Most of the time, the match media logic isn't central to people tests.
|
|
31181
|
-
|
|
32400
|
+
function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
|
|
31182
32401
|
const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';
|
|
31183
|
-
const {
|
|
31184
|
-
defaultMatches = false,
|
|
31185
|
-
matchMedia = supportMatchMedia ? window.matchMedia : null,
|
|
31186
|
-
noSsr = false,
|
|
31187
|
-
ssrMatchMedia = null
|
|
31188
|
-
} = getThemeProps({
|
|
31189
|
-
name: 'MuiUseMediaQuery',
|
|
31190
|
-
props: options,
|
|
31191
|
-
theme
|
|
31192
|
-
});
|
|
31193
|
-
|
|
31194
|
-
{
|
|
31195
|
-
if (typeof queryInput === 'function' && theme === null) {
|
|
31196
|
-
console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
|
|
31197
|
-
}
|
|
31198
|
-
}
|
|
31199
|
-
|
|
31200
|
-
let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;
|
|
31201
|
-
query = query.replace(/^@media( ?)/m, '');
|
|
31202
32402
|
const [match, setMatch] = React__namespace.useState(() => {
|
|
31203
32403
|
if (noSsr && supportMatchMedia) {
|
|
31204
32404
|
return matchMedia(query).matches;
|
|
@@ -31230,13 +32430,76 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
31230
32430
|
}
|
|
31231
32431
|
};
|
|
31232
32432
|
|
|
31233
|
-
updateMatch();
|
|
32433
|
+
updateMatch(); // TODO: Use `addEventListener` once support for Safari < 14 is dropped
|
|
32434
|
+
|
|
31234
32435
|
queryList.addListener(updateMatch);
|
|
31235
32436
|
return () => {
|
|
31236
32437
|
active = false;
|
|
31237
32438
|
queryList.removeListener(updateMatch);
|
|
31238
32439
|
};
|
|
31239
32440
|
}, [query, matchMedia, supportMatchMedia]);
|
|
32441
|
+
return match;
|
|
32442
|
+
}
|
|
32443
|
+
|
|
32444
|
+
function useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia) {
|
|
32445
|
+
const getDefaultSnapshot = React__namespace.useCallback(() => defaultMatches, [defaultMatches]);
|
|
32446
|
+
const getServerSnapshot = React__namespace.useMemo(() => {
|
|
32447
|
+
if (ssrMatchMedia !== null) {
|
|
32448
|
+
const {
|
|
32449
|
+
matches
|
|
32450
|
+
} = ssrMatchMedia(query);
|
|
32451
|
+
return () => matches;
|
|
32452
|
+
}
|
|
32453
|
+
|
|
32454
|
+
return getDefaultSnapshot;
|
|
32455
|
+
}, [getDefaultSnapshot, query, ssrMatchMedia]);
|
|
32456
|
+
const [getSnapshot, subscribe] = React__namespace.useMemo(() => {
|
|
32457
|
+
if (matchMedia === null) {
|
|
32458
|
+
return [getDefaultSnapshot, () => () => {}];
|
|
32459
|
+
}
|
|
32460
|
+
|
|
32461
|
+
const mediaQueryList = matchMedia(query);
|
|
32462
|
+
return [() => mediaQueryList.matches, notify => {
|
|
32463
|
+
// TODO: Use `addEventListener` once support for Safari < 14 is dropped
|
|
32464
|
+
mediaQueryList.addListener(notify);
|
|
32465
|
+
return () => {
|
|
32466
|
+
mediaQueryList.removeListener(notify);
|
|
32467
|
+
};
|
|
32468
|
+
}];
|
|
32469
|
+
}, [getDefaultSnapshot, matchMedia, query]);
|
|
32470
|
+
const match = React__namespace.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
32471
|
+
return match;
|
|
32472
|
+
}
|
|
32473
|
+
|
|
32474
|
+
function useMediaQuery(queryInput, options = {}) {
|
|
32475
|
+
const theme = useTheme$2(); // Wait for jsdom to support the match media feature.
|
|
32476
|
+
// All the browsers MUI support have this built-in.
|
|
32477
|
+
// This defensive check is here for simplicity.
|
|
32478
|
+
// Most of the time, the match media logic isn't central to people tests.
|
|
32479
|
+
|
|
32480
|
+
const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';
|
|
32481
|
+
const {
|
|
32482
|
+
defaultMatches = false,
|
|
32483
|
+
matchMedia = supportMatchMedia ? window.matchMedia : null,
|
|
32484
|
+
ssrMatchMedia = null,
|
|
32485
|
+
noSsr
|
|
32486
|
+
} = getThemeProps({
|
|
32487
|
+
name: 'MuiUseMediaQuery',
|
|
32488
|
+
props: options,
|
|
32489
|
+
theme
|
|
32490
|
+
});
|
|
32491
|
+
|
|
32492
|
+
{
|
|
32493
|
+
if (typeof queryInput === 'function' && theme === null) {
|
|
32494
|
+
console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
|
|
32495
|
+
}
|
|
32496
|
+
}
|
|
32497
|
+
|
|
32498
|
+
let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;
|
|
32499
|
+
query = query.replace(/^@media( ?)/m, ''); // TODO: Drop `useMediaQueryOld` and use `use-sync-external-store` shim in `useMediaQueryNew` once the package is stable
|
|
32500
|
+
|
|
32501
|
+
const useMediaQueryImplementation = React__namespace.useSyncExternalStore !== undefined ? useMediaQueryNew : useMediaQueryOld;
|
|
32502
|
+
const match = useMediaQueryImplementation(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr);
|
|
31240
32503
|
|
|
31241
32504
|
{
|
|
31242
32505
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
@@ -32003,7 +33266,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
32003
33266
|
/**
|
|
32004
33267
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32005
33268
|
*/
|
|
32006
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
33269
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
32007
33270
|
} ;
|
|
32008
33271
|
Icon.muiName = 'Icon';
|
|
32009
33272
|
var Icon$1 = Icon;
|
|
@@ -32180,7 +33443,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
32180
33443
|
/**
|
|
32181
33444
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32182
33445
|
*/
|
|
32183
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
33446
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
32184
33447
|
|
|
32185
33448
|
/**
|
|
32186
33449
|
* The variant to use.
|
|
@@ -32368,7 +33631,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
32368
33631
|
/**
|
|
32369
33632
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32370
33633
|
*/
|
|
32371
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
33634
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
32372
33635
|
} ;
|
|
32373
33636
|
var ImageListItem$1 = ImageListItem;
|
|
32374
33637
|
|
|
@@ -32594,7 +33857,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
32594
33857
|
/**
|
|
32595
33858
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32596
33859
|
*/
|
|
32597
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
33860
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
32598
33861
|
|
|
32599
33862
|
/**
|
|
32600
33863
|
* Title to be displayed.
|
|
@@ -32909,7 +34172,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
32909
34172
|
/**
|
|
32910
34173
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32911
34174
|
*/
|
|
32912
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
34175
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
32913
34176
|
|
|
32914
34177
|
/**
|
|
32915
34178
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
@@ -33104,7 +34367,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
33104
34367
|
/**
|
|
33105
34368
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
33106
34369
|
*/
|
|
33107
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
34370
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
33108
34371
|
|
|
33109
34372
|
/**
|
|
33110
34373
|
* The variant to use.
|
|
@@ -33317,7 +34580,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
33317
34580
|
/**
|
|
33318
34581
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
33319
34582
|
*/
|
|
33320
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
34583
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
33321
34584
|
|
|
33322
34585
|
/**
|
|
33323
34586
|
* The variant to use.
|
|
@@ -33666,7 +34929,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
33666
34929
|
/**
|
|
33667
34930
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
33668
34931
|
*/
|
|
33669
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
34932
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
33670
34933
|
|
|
33671
34934
|
/**
|
|
33672
34935
|
* The value of the progress indicator for the determinate and buffer variants.
|
|
@@ -33899,7 +35162,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
33899
35162
|
/**
|
|
33900
35163
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
33901
35164
|
*/
|
|
33902
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
35165
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
33903
35166
|
|
|
33904
35167
|
/**
|
|
33905
35168
|
* `classes` prop applied to the [`Typography`](/api/typography/) element.
|
|
@@ -34067,7 +35330,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34067
35330
|
/**
|
|
34068
35331
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
34069
35332
|
*/
|
|
34070
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
35333
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
34071
35334
|
} ;
|
|
34072
35335
|
var List$1 = List;
|
|
34073
35336
|
|
|
@@ -34310,7 +35573,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34310
35573
|
/**
|
|
34311
35574
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
34312
35575
|
*/
|
|
34313
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
35576
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
34314
35577
|
} ;
|
|
34315
35578
|
var ListItemButton$1 = ListItemButton;
|
|
34316
35579
|
|
|
@@ -34406,13 +35669,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34406
35669
|
/**
|
|
34407
35670
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
34408
35671
|
*/
|
|
34409
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
35672
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
34410
35673
|
} ;
|
|
34411
35674
|
ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
|
|
34412
35675
|
var ListItemSecondaryAction$1 = ListItemSecondaryAction;
|
|
34413
35676
|
|
|
34414
35677
|
const _excluded$Y = ["className"],
|
|
34415
|
-
_excluded2$
|
|
35678
|
+
_excluded2$7 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected"];
|
|
34416
35679
|
const overridesResolver$2 = (props, styles) => {
|
|
34417
35680
|
const {
|
|
34418
35681
|
ownerState
|
|
@@ -34555,7 +35818,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34555
35818
|
selected = false
|
|
34556
35819
|
} = props,
|
|
34557
35820
|
ContainerProps = _objectWithoutPropertiesLoose(props.ContainerProps, _excluded$Y),
|
|
34558
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
35821
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$7);
|
|
34559
35822
|
|
|
34560
35823
|
const context = React__namespace.useContext(ListContext$1);
|
|
34561
35824
|
const childContext = {
|
|
@@ -34807,7 +36070,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34807
36070
|
/**
|
|
34808
36071
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
34809
36072
|
*/
|
|
34810
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
36073
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
34811
36074
|
} ;
|
|
34812
36075
|
var ListItem$1 = ListItem;
|
|
34813
36076
|
|
|
@@ -34901,7 +36164,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34901
36164
|
/**
|
|
34902
36165
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
34903
36166
|
*/
|
|
34904
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
36167
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
34905
36168
|
} ;
|
|
34906
36169
|
var ListItemAvatar$1 = ListItemAvatar;
|
|
34907
36170
|
|
|
@@ -34999,7 +36262,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34999
36262
|
/**
|
|
35000
36263
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
35001
36264
|
*/
|
|
35002
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
36265
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
35003
36266
|
} ;
|
|
35004
36267
|
var ListItemIcon$1 = ListItemIcon;
|
|
35005
36268
|
|
|
@@ -35181,7 +36444,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35181
36444
|
/**
|
|
35182
36445
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
35183
36446
|
*/
|
|
35184
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
36447
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
35185
36448
|
} ;
|
|
35186
36449
|
var ListItemText$1 = ListItemText;
|
|
35187
36450
|
|
|
@@ -35494,7 +36757,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35494
36757
|
var popoverClasses$1 = popoverClasses;
|
|
35495
36758
|
|
|
35496
36759
|
const _excluded$T = ["onEntering"],
|
|
35497
|
-
_excluded2$
|
|
36760
|
+
_excluded2$6 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"];
|
|
35498
36761
|
function getOffsetTop(rect, vertical) {
|
|
35499
36762
|
let offset = 0;
|
|
35500
36763
|
|
|
@@ -35596,7 +36859,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35596
36859
|
} = {}
|
|
35597
36860
|
} = props,
|
|
35598
36861
|
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$T),
|
|
35599
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
36862
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$6);
|
|
35600
36863
|
|
|
35601
36864
|
const paperRef = React__namespace.useRef();
|
|
35602
36865
|
const handlePaperRef = useForkRef(paperRef, PaperProps.ref);
|
|
@@ -35935,7 +37198,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35935
37198
|
/**
|
|
35936
37199
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
35937
37200
|
*/
|
|
35938
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
37201
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
35939
37202
|
|
|
35940
37203
|
/**
|
|
35941
37204
|
* This is the point on the popover which
|
|
@@ -35987,7 +37250,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35987
37250
|
var menuClasses$1 = menuClasses;
|
|
35988
37251
|
|
|
35989
37252
|
const _excluded$S = ["onEntering"],
|
|
35990
|
-
_excluded2$
|
|
37253
|
+
_excluded2$5 = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"];
|
|
35991
37254
|
const RTL_ORIGIN = {
|
|
35992
37255
|
vertical: 'top',
|
|
35993
37256
|
horizontal: 'right'
|
|
@@ -36057,7 +37320,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36057
37320
|
variant = 'selectedMenu'
|
|
36058
37321
|
} = props,
|
|
36059
37322
|
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$S),
|
|
36060
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
37323
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$5);
|
|
36061
37324
|
|
|
36062
37325
|
const theme = useTheme();
|
|
36063
37326
|
const isRtl = theme.direction === 'rtl';
|
|
@@ -36238,7 +37501,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36238
37501
|
/**
|
|
36239
37502
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
36240
37503
|
*/
|
|
36241
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
37504
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
36242
37505
|
|
|
36243
37506
|
/**
|
|
36244
37507
|
* The length of the transition in `ms`, or 'auto'
|
|
@@ -36521,7 +37784,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36521
37784
|
/**
|
|
36522
37785
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
36523
37786
|
*/
|
|
36524
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
37787
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
36525
37788
|
|
|
36526
37789
|
/**
|
|
36527
37790
|
* @default 0
|
|
@@ -36734,7 +37997,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36734
37997
|
/**
|
|
36735
37998
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
36736
37999
|
*/
|
|
36737
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
38000
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
36738
38001
|
|
|
36739
38002
|
/**
|
|
36740
38003
|
* The variant to use.
|
|
@@ -36747,7 +38010,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36747
38010
|
function getNativeSelectUtilityClasses(slot) {
|
|
36748
38011
|
return generateUtilityClass('MuiNativeSelect', slot);
|
|
36749
38012
|
}
|
|
36750
|
-
const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
|
|
38013
|
+
const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
|
|
36751
38014
|
var nativeSelectClasses$1 = nativeSelectClasses;
|
|
36752
38015
|
|
|
36753
38016
|
const _excluded$P = ["className", "disabled", "IconComponent", "inputRef", "variant"];
|
|
@@ -36757,10 +38020,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36757
38020
|
classes,
|
|
36758
38021
|
variant,
|
|
36759
38022
|
disabled,
|
|
38023
|
+
multiple,
|
|
36760
38024
|
open
|
|
36761
38025
|
} = ownerState;
|
|
36762
38026
|
const slots = {
|
|
36763
|
-
select: ['select', variant, disabled && 'disabled'],
|
|
38027
|
+
select: ['select', variant, disabled && 'disabled', multiple && 'multiple'],
|
|
36764
38028
|
icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled']
|
|
36765
38029
|
};
|
|
36766
38030
|
return composeClasses(slots, getNativeSelectUtilityClasses, classes);
|
|
@@ -36827,7 +38091,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36827
38091
|
const {
|
|
36828
38092
|
ownerState
|
|
36829
38093
|
} = props;
|
|
36830
|
-
return [styles.select, styles[ownerState.variant]
|
|
38094
|
+
return [styles.select, styles[ownerState.variant], {
|
|
38095
|
+
[`&.${nativeSelectClasses$1.multiple}`]: styles.multiple
|
|
38096
|
+
}];
|
|
36831
38097
|
}
|
|
36832
38098
|
})(nativeSelectSelectStyles);
|
|
36833
38099
|
const nativeSelectIconStyles = ({
|
|
@@ -36961,7 +38227,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36961
38227
|
var NativeSelectInput$1 = NativeSelectInput;
|
|
36962
38228
|
|
|
36963
38229
|
const _excluded$O = ["className", "children", "classes", "IconComponent", "input", "inputProps", "variant"],
|
|
36964
|
-
_excluded2$
|
|
38230
|
+
_excluded2$4 = ["root"];
|
|
36965
38231
|
|
|
36966
38232
|
const useUtilityClasses$D = ownerState => {
|
|
36967
38233
|
const {
|
|
@@ -37008,7 +38274,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37008
38274
|
|
|
37009
38275
|
const classes = useUtilityClasses$D(ownerState);
|
|
37010
38276
|
|
|
37011
|
-
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$
|
|
38277
|
+
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$4);
|
|
37012
38278
|
|
|
37013
38279
|
return /*#__PURE__*/React__namespace.cloneElement(input, _extends({
|
|
37014
38280
|
// Most of the logic is implemented in `NativeSelectInput`.
|
|
@@ -37079,7 +38345,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37079
38345
|
/**
|
|
37080
38346
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
37081
38347
|
*/
|
|
37082
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
38348
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
37083
38349
|
|
|
37084
38350
|
/**
|
|
37085
38351
|
* The `input` value. The DOM API casts this to a string.
|
|
@@ -37116,7 +38382,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37116
38382
|
})(({
|
|
37117
38383
|
ownerState,
|
|
37118
38384
|
theme
|
|
37119
|
-
}) => _extends({
|
|
38385
|
+
}) => _extends({
|
|
38386
|
+
float: 'unset'
|
|
38387
|
+
}, ownerState.label === undefined && {
|
|
37120
38388
|
padding: 0,
|
|
37121
38389
|
lineHeight: '11px',
|
|
37122
38390
|
// sync with `height` in `legend` styles
|
|
@@ -37126,7 +38394,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37126
38394
|
})
|
|
37127
38395
|
}, ownerState.label !== undefined && _extends({
|
|
37128
38396
|
display: 'block',
|
|
38397
|
+
// Fix conflict with normalize.css and sanitize.css
|
|
37129
38398
|
width: 'auto',
|
|
38399
|
+
// Fix conflict with bootstrap
|
|
37130
38400
|
padding: 0,
|
|
37131
38401
|
height: 11,
|
|
37132
38402
|
// sync with `lineHeight` in `legend` styles
|
|
@@ -37137,6 +38407,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37137
38407
|
duration: 50,
|
|
37138
38408
|
easing: theme.transitions.easing.easeOut
|
|
37139
38409
|
}),
|
|
38410
|
+
whiteSpace: 'nowrap',
|
|
37140
38411
|
'& > span': {
|
|
37141
38412
|
paddingLeft: 5,
|
|
37142
38413
|
paddingRight: 5,
|
|
@@ -37522,7 +38793,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37522
38793
|
/**
|
|
37523
38794
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
37524
38795
|
*/
|
|
37525
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
38796
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
37526
38797
|
|
|
37527
38798
|
/**
|
|
37528
38799
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
@@ -37674,7 +38945,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37674
38945
|
d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
37675
38946
|
}), 'NavigateNext');
|
|
37676
38947
|
|
|
37677
|
-
const _excluded$K = ["className", "color", "component", "disabled", "page", "selected", "shape", "size", "type", "variant"];
|
|
38948
|
+
const _excluded$K = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "type", "variant"];
|
|
37678
38949
|
|
|
37679
38950
|
const overridesResolver = (props, styles) => {
|
|
37680
38951
|
const {
|
|
@@ -37873,6 +39144,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37873
39144
|
className,
|
|
37874
39145
|
color = 'standard',
|
|
37875
39146
|
component,
|
|
39147
|
+
components = {
|
|
39148
|
+
first: FirstPageIcon,
|
|
39149
|
+
last: LastPageIcon,
|
|
39150
|
+
next: NavigateNextIcon,
|
|
39151
|
+
previous: NavigateBeforeIcon
|
|
39152
|
+
},
|
|
37876
39153
|
disabled = false,
|
|
37877
39154
|
page,
|
|
37878
39155
|
selected = false,
|
|
@@ -37896,15 +39173,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37896
39173
|
const theme = useTheme();
|
|
37897
39174
|
const classes = useUtilityClasses$B(ownerState);
|
|
37898
39175
|
const normalizedIcons = theme.direction === 'rtl' ? {
|
|
37899
|
-
previous: NavigateNextIcon,
|
|
37900
|
-
next: NavigateBeforeIcon,
|
|
37901
|
-
last: FirstPageIcon,
|
|
37902
|
-
first: LastPageIcon
|
|
39176
|
+
previous: components.next || NavigateNextIcon,
|
|
39177
|
+
next: components.previous || NavigateBeforeIcon,
|
|
39178
|
+
last: components.first || FirstPageIcon,
|
|
39179
|
+
first: components.last || LastPageIcon
|
|
37903
39180
|
} : {
|
|
37904
|
-
previous: NavigateBeforeIcon,
|
|
37905
|
-
next: NavigateNextIcon,
|
|
37906
|
-
first: FirstPageIcon,
|
|
37907
|
-
last: LastPageIcon
|
|
39181
|
+
previous: components.previous || NavigateBeforeIcon,
|
|
39182
|
+
next: components.next || NavigateNextIcon,
|
|
39183
|
+
first: components.first || FirstPageIcon,
|
|
39184
|
+
last: components.last || LastPageIcon
|
|
37908
39185
|
};
|
|
37909
39186
|
const Icon = normalizedIcons[type];
|
|
37910
39187
|
return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsxRuntime_1(PaginationItemEllipsis, {
|
|
@@ -37963,6 +39240,22 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37963
39240
|
*/
|
|
37964
39241
|
component: propTypes.elementType,
|
|
37965
39242
|
|
|
39243
|
+
/**
|
|
39244
|
+
* The components used for first, last, next & previous item type
|
|
39245
|
+
* @default {
|
|
39246
|
+
* first: FirstPageIcon,
|
|
39247
|
+
* last: LastPageIcon,
|
|
39248
|
+
* next: NavigateNextIcon,
|
|
39249
|
+
* previous: NavigateBeforeIcon,
|
|
39250
|
+
* }
|
|
39251
|
+
*/
|
|
39252
|
+
components: propTypes.shape({
|
|
39253
|
+
first: propTypes.elementType,
|
|
39254
|
+
last: propTypes.elementType,
|
|
39255
|
+
next: propTypes.elementType,
|
|
39256
|
+
previous: propTypes.elementType
|
|
39257
|
+
}),
|
|
39258
|
+
|
|
37966
39259
|
/**
|
|
37967
39260
|
* If `true`, the component is disabled.
|
|
37968
39261
|
* @default false
|
|
@@ -37997,7 +39290,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37997
39290
|
/**
|
|
37998
39291
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
37999
39292
|
*/
|
|
38000
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
39293
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
38001
39294
|
|
|
38002
39295
|
/**
|
|
38003
39296
|
* The type of pagination item.
|
|
@@ -38263,7 +39556,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38263
39556
|
/**
|
|
38264
39557
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
38265
39558
|
*/
|
|
38266
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
39559
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
38267
39560
|
|
|
38268
39561
|
/**
|
|
38269
39562
|
* The variant to use.
|
|
@@ -38365,8 +39658,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38365
39658
|
/**
|
|
38366
39659
|
* @ignore - internal component.
|
|
38367
39660
|
*/
|
|
38368
|
-
|
|
38369
|
-
const RadioGroupContext = /*#__PURE__*/React__namespace.createContext();
|
|
39661
|
+
const RadioGroupContext = /*#__PURE__*/React__namespace.createContext(undefined);
|
|
38370
39662
|
|
|
38371
39663
|
{
|
|
38372
39664
|
RadioGroupContext.displayName = 'RadioGroupContext';
|
|
@@ -38594,7 +39886,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38594
39886
|
/**
|
|
38595
39887
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
38596
39888
|
*/
|
|
38597
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
39889
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
38598
39890
|
|
|
38599
39891
|
/**
|
|
38600
39892
|
* The value of the component. The DOM API casts this to a string.
|
|
@@ -38646,7 +39938,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38646
39938
|
}
|
|
38647
39939
|
};
|
|
38648
39940
|
|
|
38649
|
-
const name =
|
|
39941
|
+
const name = useReactId(nameProp);
|
|
38650
39942
|
return /*#__PURE__*/jsxRuntime_1(RadioGroupContext$1.Provider, {
|
|
38651
39943
|
value: {
|
|
38652
39944
|
name,
|
|
@@ -38716,7 +40008,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38716
40008
|
var ratingClasses$1 = ratingClasses;
|
|
38717
40009
|
|
|
38718
40010
|
const _excluded$G = ["value"],
|
|
38719
|
-
_excluded2$
|
|
40011
|
+
_excluded2$3 = ["className", "defaultValue", "disabled", "emptyIcon", "emptyLabelText", "getLabelText", "highlightSelectedOnly", "icon", "IconContainerComponent", "max", "name", "onChange", "onChangeActive", "onMouseLeave", "onMouseMove", "precision", "readOnly", "size", "value"];
|
|
38720
40012
|
|
|
38721
40013
|
function clamp$1(value, min, max) {
|
|
38722
40014
|
if (value < min) {
|
|
@@ -38904,7 +40196,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38904
40196
|
const isHovered = itemValue <= hover;
|
|
38905
40197
|
const isFocused = itemValue <= focus;
|
|
38906
40198
|
const isChecked = itemValue === ratingValueRounded;
|
|
38907
|
-
const id =
|
|
40199
|
+
const id = useReactId();
|
|
38908
40200
|
|
|
38909
40201
|
const container = /*#__PURE__*/jsxRuntime_1(RatingIcon, {
|
|
38910
40202
|
as: IconContainerComponent,
|
|
@@ -39016,9 +40308,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39016
40308
|
size = 'medium',
|
|
39017
40309
|
value: valueProp
|
|
39018
40310
|
} = props,
|
|
39019
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
40311
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$3);
|
|
39020
40312
|
|
|
39021
|
-
const name =
|
|
40313
|
+
const name = useReactId(nameProp);
|
|
39022
40314
|
const [valueDerived, setValueState] = useControlled({
|
|
39023
40315
|
controlled: valueProp,
|
|
39024
40316
|
default: defaultValue,
|
|
@@ -39237,7 +40529,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39237
40529
|
style: items.length - 1 === indexDecimal ? {} : {
|
|
39238
40530
|
width: itemDecimalValue === value ? `${(indexDecimal + 1) * precision * 100}%` : '0%',
|
|
39239
40531
|
overflow: 'hidden',
|
|
39240
|
-
zIndex: 1,
|
|
39241
40532
|
position: 'absolute'
|
|
39242
40533
|
}
|
|
39243
40534
|
}
|
|
@@ -39412,7 +40703,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39412
40703
|
/**
|
|
39413
40704
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
39414
40705
|
*/
|
|
39415
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
40706
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
39416
40707
|
|
|
39417
40708
|
/**
|
|
39418
40709
|
* The rating value.
|
|
@@ -39427,7 +40718,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39427
40718
|
const scopedCssBaselineClasses = generateUtilityClasses('MuiScopedCssBaseline', ['root']);
|
|
39428
40719
|
var scopedCssBaselineClasses$1 = scopedCssBaselineClasses;
|
|
39429
40720
|
|
|
39430
|
-
const _excluded$F = ["className", "component"];
|
|
40721
|
+
const _excluded$F = ["className", "component", "enableColorScheme"];
|
|
39431
40722
|
|
|
39432
40723
|
const useUtilityClasses$x = ownerState => {
|
|
39433
40724
|
const {
|
|
@@ -39444,15 +40735,18 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39444
40735
|
slot: 'Root',
|
|
39445
40736
|
overridesResolver: (props, styles) => styles.root
|
|
39446
40737
|
})(({
|
|
39447
|
-
theme
|
|
39448
|
-
|
|
39449
|
-
|
|
39450
|
-
|
|
39451
|
-
|
|
39452
|
-
|
|
39453
|
-
|
|
39454
|
-
|
|
39455
|
-
|
|
40738
|
+
theme,
|
|
40739
|
+
ownerState
|
|
40740
|
+
}) => {
|
|
40741
|
+
return _extends({}, html(theme, ownerState.enableColorScheme), body(theme), {
|
|
40742
|
+
'& *, & *::before, & *::after': {
|
|
40743
|
+
boxSizing: 'inherit'
|
|
40744
|
+
},
|
|
40745
|
+
'& strong, & b': {
|
|
40746
|
+
fontWeight: theme.typography.fontWeightBold
|
|
40747
|
+
}
|
|
40748
|
+
});
|
|
40749
|
+
});
|
|
39456
40750
|
const ScopedCssBaseline = /*#__PURE__*/React__namespace.forwardRef(function ScopedCssBaseline(inProps, ref) {
|
|
39457
40751
|
const props = useThemeProps({
|
|
39458
40752
|
props: inProps,
|
|
@@ -39504,14 +40798,21 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39504
40798
|
* The component used for the root node.
|
|
39505
40799
|
* Either a string to use a HTML element or a component.
|
|
39506
40800
|
*/
|
|
39507
|
-
component: propTypes.elementType
|
|
40801
|
+
component: propTypes.elementType,
|
|
40802
|
+
|
|
40803
|
+
/**
|
|
40804
|
+
* Enable `color-scheme` css property to use `theme.palette.mode`.
|
|
40805
|
+
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
40806
|
+
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
40807
|
+
*/
|
|
40808
|
+
enableColorScheme: propTypes.bool
|
|
39508
40809
|
} ;
|
|
39509
40810
|
var ScopedCssBaseline$1 = ScopedCssBaseline;
|
|
39510
40811
|
|
|
39511
40812
|
function getSelectUtilityClasses(slot) {
|
|
39512
40813
|
return generateUtilityClass('MuiSelect', slot);
|
|
39513
40814
|
}
|
|
39514
|
-
const selectClasses = generateUtilityClasses('MuiSelect', ['
|
|
40815
|
+
const selectClasses = generateUtilityClasses('MuiSelect', ['select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
|
|
39515
40816
|
var selectClasses$1 = selectClasses;
|
|
39516
40817
|
|
|
39517
40818
|
const _excluded$E = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultValue", "disabled", "displayEmpty", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
|
|
@@ -39527,6 +40828,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39527
40828
|
[`&.${selectClasses$1.select}`]: styles.select
|
|
39528
40829
|
}, {
|
|
39529
40830
|
[`&.${selectClasses$1.select}`]: styles[ownerState.variant]
|
|
40831
|
+
}, {
|
|
40832
|
+
[`&.${selectClasses$1.multiple}`]: styles.multiple
|
|
39530
40833
|
}];
|
|
39531
40834
|
}
|
|
39532
40835
|
})(nativeSelectSelectStyles, {
|
|
@@ -39584,10 +40887,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39584
40887
|
classes,
|
|
39585
40888
|
variant,
|
|
39586
40889
|
disabled,
|
|
40890
|
+
multiple,
|
|
39587
40891
|
open
|
|
39588
40892
|
} = ownerState;
|
|
39589
40893
|
const slots = {
|
|
39590
|
-
select: ['select', variant, disabled && 'disabled'],
|
|
40894
|
+
select: ['select', variant, disabled && 'disabled', multiple && 'multiple'],
|
|
39591
40895
|
icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled'],
|
|
39592
40896
|
nativeInput: ['nativeInput']
|
|
39593
40897
|
};
|
|
@@ -39863,7 +41167,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39863
41167
|
}
|
|
39864
41168
|
|
|
39865
41169
|
return /*#__PURE__*/React__namespace.cloneElement(child, {
|
|
39866
|
-
'aria-selected': selected ? 'true' :
|
|
41170
|
+
'aria-selected': selected ? 'true' : 'false',
|
|
39867
41171
|
onClick: handleItemClick(child),
|
|
39868
41172
|
onKeyUp: event => {
|
|
39869
41173
|
if (event.key === ' ') {
|
|
@@ -40165,17 +41469,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40165
41469
|
|
|
40166
41470
|
var _Input, _FilledInput;
|
|
40167
41471
|
|
|
40168
|
-
const _excluded$D = ["autoWidth", "children", "classes", "className", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"]
|
|
40169
|
-
_excluded2$3 = ["root"];
|
|
41472
|
+
const _excluded$D = ["autoWidth", "children", "classes", "className", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
|
|
40170
41473
|
|
|
40171
41474
|
const useUtilityClasses$v = ownerState => {
|
|
40172
41475
|
const {
|
|
40173
41476
|
classes
|
|
40174
41477
|
} = ownerState;
|
|
40175
|
-
|
|
40176
|
-
root: ['root']
|
|
40177
|
-
};
|
|
40178
|
-
return composeClasses(slots, getSelectUtilityClasses, classes);
|
|
41478
|
+
return classes;
|
|
40179
41479
|
};
|
|
40180
41480
|
|
|
40181
41481
|
const Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps, ref) {
|
|
@@ -40229,9 +41529,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40229
41529
|
});
|
|
40230
41530
|
|
|
40231
41531
|
const classes = useUtilityClasses$v(ownerState);
|
|
40232
|
-
|
|
40233
|
-
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$3);
|
|
40234
|
-
|
|
40235
41532
|
const inputComponentRef = useForkRef(ref, InputComponent.ref);
|
|
40236
41533
|
return /*#__PURE__*/React__namespace.cloneElement(InputComponent, _extends({
|
|
40237
41534
|
// Most of the logic is implemented in `SelectInput`.
|
|
@@ -40259,13 +41556,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40259
41556
|
id
|
|
40260
41557
|
}, SelectDisplayProps)
|
|
40261
41558
|
}, inputProps, {
|
|
40262
|
-
classes: inputProps ? deepmerge(
|
|
41559
|
+
classes: inputProps ? deepmerge(classes, inputProps.classes) : classes
|
|
40263
41560
|
}, input ? input.props.inputProps : {})
|
|
40264
41561
|
}, multiple && native && variant === 'outlined' ? {
|
|
40265
41562
|
notched: true
|
|
40266
41563
|
} : {}, {
|
|
40267
41564
|
ref: inputComponentRef,
|
|
40268
|
-
className: clsx(
|
|
41565
|
+
className: clsx(InputComponent.props.className, className)
|
|
40269
41566
|
}, other));
|
|
40270
41567
|
});
|
|
40271
41568
|
Select.propTypes
|
|
@@ -40418,7 +41715,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40418
41715
|
/**
|
|
40419
41716
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
40420
41717
|
*/
|
|
40421
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
41718
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
40422
41719
|
|
|
40423
41720
|
/**
|
|
40424
41721
|
* The `input` value. Providing an empty string will select no options.
|
|
@@ -40648,7 +41945,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40648
41945
|
/**
|
|
40649
41946
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
40650
41947
|
*/
|
|
40651
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
41948
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
40652
41949
|
|
|
40653
41950
|
/**
|
|
40654
41951
|
* The type of content that will be rendered.
|
|
@@ -41287,7 +42584,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41287
42584
|
/**
|
|
41288
42585
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
41289
42586
|
*/
|
|
41290
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
42587
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
41291
42588
|
|
|
41292
42589
|
/**
|
|
41293
42590
|
* Tab index attribute of the hidden `input` element.
|
|
@@ -41469,7 +42766,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41469
42766
|
/**
|
|
41470
42767
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
41471
42768
|
*/
|
|
41472
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
42769
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
41473
42770
|
} ;
|
|
41474
42771
|
var SnackbarContent$1 = SnackbarContent;
|
|
41475
42772
|
|
|
@@ -41841,7 +43138,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41841
43138
|
/**
|
|
41842
43139
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
41843
43140
|
*/
|
|
41844
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
43141
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
41845
43142
|
|
|
41846
43143
|
/**
|
|
41847
43144
|
* The component used for the transition.
|
|
@@ -42607,7 +43904,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
42607
43904
|
/**
|
|
42608
43905
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
42609
43906
|
*/
|
|
42610
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
43907
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
42611
43908
|
|
|
42612
43909
|
/**
|
|
42613
43910
|
* The component used for the transition.
|
|
@@ -42902,7 +44199,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
42902
44199
|
}, [title, childNode, isControlled]);
|
|
42903
44200
|
}
|
|
42904
44201
|
|
|
42905
|
-
const id =
|
|
44202
|
+
const id = useReactId(idProp);
|
|
42906
44203
|
const prevUserSelect = React__namespace.useRef();
|
|
42907
44204
|
const stopTouchInteraction = React__namespace.useCallback(() => {
|
|
42908
44205
|
if (prevUserSelect.current !== undefined) {
|
|
@@ -43232,7 +44529,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43232
44529
|
id: id,
|
|
43233
44530
|
transition: true
|
|
43234
44531
|
}, interactiveWrapperListeners, popperProps, {
|
|
43235
|
-
className: clsx(classes.popper, (_componentsProps$popp = componentsProps.popper) == null ? void 0 : _componentsProps$popp.className),
|
|
44532
|
+
className: clsx(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_componentsProps$popp = componentsProps.popper) == null ? void 0 : _componentsProps$popp.className),
|
|
43236
44533
|
popperOptions: popperOptions,
|
|
43237
44534
|
children: ({
|
|
43238
44535
|
TransitionProps: TransitionPropsInner
|
|
@@ -43297,6 +44594,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43297
44594
|
|
|
43298
44595
|
/**
|
|
43299
44596
|
* The props used for each slot inside the Tooltip.
|
|
44597
|
+
* Note that `componentsProps.popper` prop values win over `PopperProps`
|
|
44598
|
+
* and `componentsProps.transition` prop values win over `TransitionProps` if both are applied.
|
|
43300
44599
|
* @default {}
|
|
43301
44600
|
*/
|
|
43302
44601
|
componentsProps: propTypes.object,
|
|
@@ -43417,7 +44716,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43417
44716
|
/**
|
|
43418
44717
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
43419
44718
|
*/
|
|
43420
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
44719
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
43421
44720
|
|
|
43422
44721
|
/**
|
|
43423
44722
|
* Tooltip title. Zero-length titles string are never displayed.
|
|
@@ -43676,7 +44975,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43676
44975
|
/**
|
|
43677
44976
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
43678
44977
|
*/
|
|
43679
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
44978
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
43680
44979
|
|
|
43681
44980
|
/**
|
|
43682
44981
|
* `classes` prop applied to the [`Tooltip`](/api/tooltip/) element.
|
|
@@ -43846,7 +45145,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43846
45145
|
/**
|
|
43847
45146
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
43848
45147
|
*/
|
|
43849
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
45148
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
43850
45149
|
} ;
|
|
43851
45150
|
SpeedDialIcon.muiName = 'SpeedDialIcon';
|
|
43852
45151
|
var SpeedDialIcon$1 = SpeedDialIcon;
|
|
@@ -43885,7 +45184,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43885
45184
|
display: 'flex'
|
|
43886
45185
|
}, handleBreakpoints({
|
|
43887
45186
|
theme
|
|
43888
|
-
},
|
|
45187
|
+
}, resolveBreakpointValues({
|
|
45188
|
+
values: ownerState.direction,
|
|
45189
|
+
breakpoints: theme.breakpoints.values
|
|
45190
|
+
}), propValue => ({
|
|
43889
45191
|
flexDirection: propValue
|
|
43890
45192
|
})));
|
|
43891
45193
|
|
|
@@ -43998,7 +45300,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43998
45300
|
/**
|
|
43999
45301
|
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
|
44000
45302
|
*/
|
|
44001
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
45303
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44002
45304
|
} ;
|
|
44003
45305
|
var Stack$1 = Stack;
|
|
44004
45306
|
|
|
@@ -44196,7 +45498,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44196
45498
|
/**
|
|
44197
45499
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
44198
45500
|
*/
|
|
44199
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
45501
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44200
45502
|
} ;
|
|
44201
45503
|
var Step$1 = Step;
|
|
44202
45504
|
|
|
@@ -44375,7 +45677,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44375
45677
|
/**
|
|
44376
45678
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
44377
45679
|
*/
|
|
44378
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
45680
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44379
45681
|
} ;
|
|
44380
45682
|
var StepIcon$1 = StepIcon;
|
|
44381
45683
|
|
|
@@ -44609,7 +45911,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44609
45911
|
/**
|
|
44610
45912
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
44611
45913
|
*/
|
|
44612
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
45914
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44613
45915
|
} ;
|
|
44614
45916
|
StepLabel.muiName = 'StepLabel';
|
|
44615
45917
|
var StepLabel$1 = StepLabel;
|
|
@@ -44743,7 +46045,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44743
46045
|
/**
|
|
44744
46046
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
44745
46047
|
*/
|
|
44746
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
46048
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44747
46049
|
} ;
|
|
44748
46050
|
var StepButton$1 = StepButton;
|
|
44749
46051
|
|
|
@@ -44878,7 +46180,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44878
46180
|
/**
|
|
44879
46181
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
44880
46182
|
*/
|
|
44881
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
46183
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44882
46184
|
} ;
|
|
44883
46185
|
var StepConnector$1 = StepConnector;
|
|
44884
46186
|
|
|
@@ -45014,7 +46316,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
45014
46316
|
/**
|
|
45015
46317
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
45016
46318
|
*/
|
|
45017
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
46319
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
45018
46320
|
|
|
45019
46321
|
/**
|
|
45020
46322
|
* The component used for the transition.
|
|
@@ -45194,7 +46496,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
45194
46496
|
/**
|
|
45195
46497
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
45196
46498
|
*/
|
|
45197
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
46499
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
45198
46500
|
} ;
|
|
45199
46501
|
var Stepper$1 = Stepper;
|
|
45200
46502
|
|
|
@@ -46205,7 +47507,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
46205
47507
|
/**
|
|
46206
47508
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
46207
47509
|
*/
|
|
46208
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
47510
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
46209
47511
|
|
|
46210
47512
|
/**
|
|
46211
47513
|
* The value of the component. The DOM API casts this to a string.
|
|
@@ -46480,7 +47782,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
46480
47782
|
/**
|
|
46481
47783
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
46482
47784
|
*/
|
|
46483
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
47785
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
46484
47786
|
|
|
46485
47787
|
/**
|
|
46486
47788
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
@@ -46647,7 +47949,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
46647
47949
|
/**
|
|
46648
47950
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
46649
47951
|
*/
|
|
46650
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
47952
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
46651
47953
|
} ;
|
|
46652
47954
|
var Table$1 = Table;
|
|
46653
47955
|
|
|
@@ -46752,7 +48054,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
46752
48054
|
/**
|
|
46753
48055
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
46754
48056
|
*/
|
|
46755
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
48057
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
46756
48058
|
} ;
|
|
46757
48059
|
var TableBody$1 = TableBody;
|
|
46758
48060
|
|
|
@@ -46972,7 +48274,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
46972
48274
|
/**
|
|
46973
48275
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
46974
48276
|
*/
|
|
46975
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
48277
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
46976
48278
|
|
|
46977
48279
|
/**
|
|
46978
48280
|
* Specify the cell type.
|
|
@@ -47064,7 +48366,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47064
48366
|
/**
|
|
47065
48367
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47066
48368
|
*/
|
|
47067
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
48369
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
47068
48370
|
} ;
|
|
47069
48371
|
var TableContainer$1 = TableContainer;
|
|
47070
48372
|
|
|
@@ -47157,7 +48459,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47157
48459
|
/**
|
|
47158
48460
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47159
48461
|
*/
|
|
47160
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
48462
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
47161
48463
|
} ;
|
|
47162
48464
|
var TableFooter$1 = TableFooter;
|
|
47163
48465
|
|
|
@@ -47250,7 +48552,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47250
48552
|
/**
|
|
47251
48553
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47252
48554
|
*/
|
|
47253
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
48555
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
47254
48556
|
} ;
|
|
47255
48557
|
var TableHead$1 = TableHead;
|
|
47256
48558
|
|
|
@@ -47370,7 +48672,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47370
48672
|
/**
|
|
47371
48673
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47372
48674
|
*/
|
|
47373
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
48675
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
47374
48676
|
|
|
47375
48677
|
/**
|
|
47376
48678
|
* The variant to use.
|
|
@@ -47620,7 +48922,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47620
48922
|
to,
|
|
47621
48923
|
count
|
|
47622
48924
|
}) {
|
|
47623
|
-
return `${from}
|
|
48925
|
+
return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
|
|
47624
48926
|
}
|
|
47625
48927
|
|
|
47626
48928
|
function defaultGetAriaLabel(type) {
|
|
@@ -47687,8 +48989,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47687
48989
|
colSpan = colSpanProp || 1000; // col-span over everything
|
|
47688
48990
|
}
|
|
47689
48991
|
|
|
47690
|
-
const selectId =
|
|
47691
|
-
const labelId =
|
|
48992
|
+
const selectId = useReactId(SelectProps.id);
|
|
48993
|
+
const labelId = useReactId(SelectProps.labelId);
|
|
47692
48994
|
|
|
47693
48995
|
const getLabelDisplayedRowsTo = () => {
|
|
47694
48996
|
if (count === -1) {
|
|
@@ -47825,7 +49127,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47825
49127
|
*
|
|
47826
49128
|
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
47827
49129
|
* @default function defaultLabelDisplayedRows({ from, to, count }) {
|
|
47828
|
-
* return `${from}
|
|
49130
|
+
* return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
|
|
47829
49131
|
* }
|
|
47830
49132
|
*/
|
|
47831
49133
|
labelDisplayedRows: propTypes.func,
|
|
@@ -47920,7 +49222,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47920
49222
|
/**
|
|
47921
49223
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47922
49224
|
*/
|
|
47923
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
49225
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
47924
49226
|
} ;
|
|
47925
49227
|
var TablePagination$1 = TablePagination;
|
|
47926
49228
|
|
|
@@ -48056,7 +49358,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
48056
49358
|
/**
|
|
48057
49359
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
48058
49360
|
*/
|
|
48059
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
49361
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
48060
49362
|
} ;
|
|
48061
49363
|
var TableRow$1 = TableRow;
|
|
48062
49364
|
|
|
@@ -48237,7 +49539,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
48237
49539
|
/**
|
|
48238
49540
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
48239
49541
|
*/
|
|
48240
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
49542
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
48241
49543
|
} ;
|
|
48242
49544
|
var TableSortLabel$1 = TableSortLabel;
|
|
48243
49545
|
|
|
@@ -48470,7 +49772,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
48470
49772
|
/**
|
|
48471
49773
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
48472
49774
|
*/
|
|
48473
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
49775
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
48474
49776
|
} ;
|
|
48475
49777
|
var TabScrollButton$1 = TabScrollButton;
|
|
48476
49778
|
|
|
@@ -49264,7 +50566,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
49264
50566
|
/**
|
|
49265
50567
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
49266
50568
|
*/
|
|
49267
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
50569
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
49268
50570
|
|
|
49269
50571
|
/**
|
|
49270
50572
|
* Props applied to the tab indicator element.
|
|
@@ -49711,7 +51013,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
49711
51013
|
/**
|
|
49712
51014
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
49713
51015
|
*/
|
|
49714
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
51016
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
49715
51017
|
|
|
49716
51018
|
/**
|
|
49717
51019
|
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
|
|
@@ -49953,7 +51255,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
49953
51255
|
/**
|
|
49954
51256
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
49955
51257
|
*/
|
|
49956
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
51258
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
49957
51259
|
|
|
49958
51260
|
/**
|
|
49959
51261
|
* The value to associate with the button when selected in a
|
|
@@ -50215,7 +51517,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50215
51517
|
/**
|
|
50216
51518
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
50217
51519
|
*/
|
|
50218
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
51520
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
50219
51521
|
|
|
50220
51522
|
/**
|
|
50221
51523
|
* The currently selected value within the group or an array of selected
|
|
@@ -50371,6 +51673,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50371
51673
|
exports.Paper = Paper$1;
|
|
50372
51674
|
exports.Popover = Popover$1;
|
|
50373
51675
|
exports.Popper = Popper$1;
|
|
51676
|
+
exports.PopperUnstyled = PopperUnstyled$1;
|
|
50374
51677
|
exports.Portal = Portal$1;
|
|
50375
51678
|
exports.Radio = Radio$1;
|
|
50376
51679
|
exports.RadioGroup = RadioGroup$1;
|
|
@@ -50408,7 +51711,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50408
51711
|
exports.Switch = Switch$1;
|
|
50409
51712
|
exports.SwitchUnstyled = SwitchUnstyled$1;
|
|
50410
51713
|
exports.Tab = Tab$1;
|
|
51714
|
+
exports.TabPanelUnstyled = TabPanelUnstyled$1;
|
|
50411
51715
|
exports.TabScrollButton = TabScrollButton$1;
|
|
51716
|
+
exports.TabUnstyled = TabUnstyled$1;
|
|
50412
51717
|
exports.Table = Table$1;
|
|
50413
51718
|
exports.TableBody = TableBody$1;
|
|
50414
51719
|
exports.TableCell = TableCell$1;
|
|
@@ -50419,6 +51724,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50419
51724
|
exports.TableRow = TableRow$1;
|
|
50420
51725
|
exports.TableSortLabel = TableSortLabel$1;
|
|
50421
51726
|
exports.Tabs = Tabs$1;
|
|
51727
|
+
exports.TabsContext = Context$1;
|
|
51728
|
+
exports.TabsListUnstyled = TabsListUnstyled$1;
|
|
51729
|
+
exports.TabsUnstyled = TabsUnstyled$1;
|
|
50422
51730
|
exports.TextField = TextField$1;
|
|
50423
51731
|
exports.TextareaAutosize = TextareaAutosize$1;
|
|
50424
51732
|
exports.ThemeProvider = ThemeProvider;
|
|
@@ -50576,6 +51884,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50576
51884
|
exports.getOutlinedInputUtilityClass = getOutlinedInputUtilityClass;
|
|
50577
51885
|
exports.getPaginationItemUtilityClass = getPaginationItemUtilityClass;
|
|
50578
51886
|
exports.getPaginationUtilityClass = getPaginationUtilityClass;
|
|
51887
|
+
exports.getPanelId = getPanelId;
|
|
50579
51888
|
exports.getPaperUtilityClass = getPaperUtilityClass;
|
|
50580
51889
|
exports.getPopoverUtilityClass = getPopoverUtilityClass;
|
|
50581
51890
|
exports.getRadioUtilityClass = getRadioUtilityClass;
|
|
@@ -50599,7 +51908,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50599
51908
|
exports.getSvgIconUtilityClass = getSvgIconUtilityClass;
|
|
50600
51909
|
exports.getSwitchUnstyledUtilityClass = getSwitchUnstyledUtilityClass;
|
|
50601
51910
|
exports.getSwitchUtilityClass = getSwitchUtilityClass;
|
|
51911
|
+
exports.getTabId = getTabId;
|
|
51912
|
+
exports.getTabPanelUnstyledUtilityClass = getTabPanelUnstyledUtilityClass;
|
|
50602
51913
|
exports.getTabScrollButtonUtilityClass = getTabScrollButtonUtilityClass;
|
|
51914
|
+
exports.getTabUnstyledUtilityClass = getTabUnstyledUtilityClass;
|
|
50603
51915
|
exports.getTabUtilityClass = getTabUtilityClass;
|
|
50604
51916
|
exports.getTableBodyUtilityClass = getTableBodyUtilityClass;
|
|
50605
51917
|
exports.getTableCellUtilityClass = getTableCellUtilityClass;
|
|
@@ -50610,6 +51922,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50610
51922
|
exports.getTableRowUtilityClass = getTableRowUtilityClass;
|
|
50611
51923
|
exports.getTableSortLabelUtilityClass = getTableSortLabelUtilityClass;
|
|
50612
51924
|
exports.getTableUtilityClass = getTableUtilityClass;
|
|
51925
|
+
exports.getTabsListUnstyledUtilityClass = getTabsListUnstyledUtilityClass;
|
|
51926
|
+
exports.getTabsUnstyledUtilityClass = getTabsUnstyledUtilityClass;
|
|
50613
51927
|
exports.getTabsUtilityClass = getTabsUtilityClass;
|
|
50614
51928
|
exports.getTextFieldUtilityClass = getTextFieldUtilityClass;
|
|
50615
51929
|
exports.getToggleButtonGroupUtilityClass = getToggleButtonGroupUtilityClass;
|
|
@@ -50688,7 +52002,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50688
52002
|
exports.switchClasses = switchClasses$1;
|
|
50689
52003
|
exports.switchUnstyledClasses = classes;
|
|
50690
52004
|
exports.tabClasses = tabClasses$1;
|
|
52005
|
+
exports.tabPanelUnstyledClasses = tabPanelUnstyledClasses$1;
|
|
50691
52006
|
exports.tabScrollButtonClasses = tabScrollButtonClasses$1;
|
|
52007
|
+
exports.tabUnstyledClasses = tabUnstyledClasses$1;
|
|
50692
52008
|
exports.tableBodyClasses = tableBodyClasses$1;
|
|
50693
52009
|
exports.tableCellClasses = tableCellClasses$1;
|
|
50694
52010
|
exports.tableClasses = tableClasses$1;
|
|
@@ -50699,6 +52015,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50699
52015
|
exports.tableRowClasses = tableRowClasses$1;
|
|
50700
52016
|
exports.tableSortLabelClasses = tableSortLabelClasses$1;
|
|
50701
52017
|
exports.tabsClasses = tabsClasses$1;
|
|
52018
|
+
exports.tabsListUnstyledClasses = tabsListUnstyledClasses$1;
|
|
52019
|
+
exports.tabsUnstyledClasses = tabsUnstyledClasses$1;
|
|
50702
52020
|
exports.textFieldClasses = textFieldClasses$1;
|
|
50703
52021
|
exports.toggleButtonClasses = toggleButtonClasses$1;
|
|
50704
52022
|
exports.toggleButtonGroupClasses = toggleButtonGroupClasses$1;
|
|
@@ -50712,7 +52030,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50712
52030
|
exports.unstable_getUnit = getUnit;
|
|
50713
52031
|
exports.unstable_toUnitless = toUnitless;
|
|
50714
52032
|
exports.unstable_useEnhancedEffect = useEnhancedEffect$1;
|
|
50715
|
-
exports.unstable_useId =
|
|
52033
|
+
exports.unstable_useId = useReactId;
|
|
50716
52034
|
exports.unsupportedProp = unsupportedProp;
|
|
50717
52035
|
exports.useAutocomplete = useAutocomplete;
|
|
50718
52036
|
exports.useButton = useButton;
|
|
@@ -50728,6 +52046,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50728
52046
|
exports.useRadioGroup = useRadioGroup;
|
|
50729
52047
|
exports.useScrollTrigger = useScrollTrigger;
|
|
50730
52048
|
exports.useSwitch = useSwitch;
|
|
52049
|
+
exports.useTab = useTab$1;
|
|
52050
|
+
exports.useTabContext = useTabContext;
|
|
52051
|
+
exports.useTabPanel = useTabPanel$1;
|
|
52052
|
+
exports.useTabs = useTabs$1;
|
|
52053
|
+
exports.useTabsList = useTabsList$1;
|
|
50731
52054
|
exports.useTheme = useTheme;
|
|
50732
52055
|
exports.useThemeProps = useThemeProps;
|
|
50733
52056
|
exports.withStyles = withStyles;
|