@mui/material 5.0.6 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +299 -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/LICENSE +21 -21
- 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 +3 -4
- package/Rating/Rating.js +2 -2
- 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 +11 -4
- 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 -2
- 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 +12 -5
- 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/styles/index.js +1 -1
- package/legacy/useAutocomplete/useAutocomplete.js +2 -2
- 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 -2
- 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 +11 -4
- 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/styles/index.js +1 -1
- package/modern/useAutocomplete/useAutocomplete.js +2 -2
- 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 -3
- 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 +12 -5
- 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/styles/index.js +6 -0
- package/node/useAutocomplete/useAutocomplete.js +1 -1
- 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/index.d.ts +1 -0
- package/styles/index.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 +1790 -521
- 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 +27 -27
- 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.
|
|
1
|
+
/** @license MUI v5.2.1
|
|
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.
|
|
1986
2000
|
|
|
1987
|
-
|
|
2001
|
+
|
|
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
|
|
@@ -5423,12 +5448,12 @@
|
|
|
5423
5448
|
xs: 0,
|
|
5424
5449
|
// phone
|
|
5425
5450
|
sm: 600,
|
|
5426
|
-
//
|
|
5451
|
+
// tablet
|
|
5427
5452
|
md: 900,
|
|
5428
5453
|
// small laptop
|
|
5429
5454
|
lg: 1200,
|
|
5430
5455
|
// desktop
|
|
5431
|
-
xl: 1536 // large
|
|
5456
|
+
xl: 1536 // large screen
|
|
5432
5457
|
|
|
5433
5458
|
};
|
|
5434
5459
|
const defaultBreakpoints = {
|
|
@@ -5481,7 +5506,7 @@
|
|
|
5481
5506
|
function removeUnusedBreakpoints(breakpointKeys, style) {
|
|
5482
5507
|
return breakpointKeys.reduce((acc, key) => {
|
|
5483
5508
|
const breakpointOutput = acc[key];
|
|
5484
|
-
const isBreakpointUnused = Object.keys(breakpointOutput).length === 0;
|
|
5509
|
+
const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
|
|
5485
5510
|
|
|
5486
5511
|
if (isBreakpointUnused) {
|
|
5487
5512
|
delete acc[key];
|
|
@@ -5490,10 +5515,40 @@
|
|
|
5490
5515
|
return acc;
|
|
5491
5516
|
}, style);
|
|
5492
5517
|
}
|
|
5518
|
+
// [1,2,3] => {xs: true, sm: true, md: true}
|
|
5519
|
+
// {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}
|
|
5520
|
+
|
|
5521
|
+
function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
|
|
5522
|
+
// fixed value
|
|
5523
|
+
if (typeof breakpointValues !== 'object') {
|
|
5524
|
+
return {};
|
|
5525
|
+
}
|
|
5526
|
+
|
|
5527
|
+
const base = {};
|
|
5528
|
+
const breakpointsKeys = Object.keys(themeBreakpoints);
|
|
5529
|
+
|
|
5530
|
+
if (Array.isArray(breakpointValues)) {
|
|
5531
|
+
breakpointsKeys.forEach((breakpoint, i) => {
|
|
5532
|
+
if (i < breakpointValues.length) {
|
|
5533
|
+
base[breakpoint] = true;
|
|
5534
|
+
}
|
|
5535
|
+
});
|
|
5536
|
+
} else {
|
|
5537
|
+
breakpointsKeys.forEach(breakpoint => {
|
|
5538
|
+
if (breakpointValues[breakpoint] != null) {
|
|
5539
|
+
base[breakpoint] = true;
|
|
5540
|
+
}
|
|
5541
|
+
});
|
|
5542
|
+
}
|
|
5543
|
+
|
|
5544
|
+
return base;
|
|
5545
|
+
}
|
|
5493
5546
|
function resolveBreakpointValues({
|
|
5494
5547
|
values: breakpointValues,
|
|
5495
|
-
|
|
5548
|
+
breakpoints: themeBreakpoints,
|
|
5549
|
+
base: customBase
|
|
5496
5550
|
}) {
|
|
5551
|
+
const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);
|
|
5497
5552
|
const keys = Object.keys(base);
|
|
5498
5553
|
|
|
5499
5554
|
if (keys.length === 0) {
|
|
@@ -5501,14 +5556,15 @@
|
|
|
5501
5556
|
}
|
|
5502
5557
|
|
|
5503
5558
|
let previous;
|
|
5504
|
-
return keys.reduce((acc, breakpoint) => {
|
|
5505
|
-
if (
|
|
5506
|
-
acc[breakpoint] = breakpointValues[
|
|
5559
|
+
return keys.reduce((acc, breakpoint, i) => {
|
|
5560
|
+
if (Array.isArray(breakpointValues)) {
|
|
5561
|
+
acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];
|
|
5562
|
+
previous = i;
|
|
5507
5563
|
} else {
|
|
5508
|
-
acc[breakpoint] = breakpointValues;
|
|
5564
|
+
acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous] || breakpointValues;
|
|
5565
|
+
previous = breakpoint;
|
|
5509
5566
|
}
|
|
5510
5567
|
|
|
5511
|
-
previous = breakpoint;
|
|
5512
5568
|
return acc;
|
|
5513
5569
|
}, {});
|
|
5514
5570
|
}
|
|
@@ -6176,58 +6232,70 @@
|
|
|
6176
6232
|
|
|
6177
6233
|
function styleFunctionSx(props) {
|
|
6178
6234
|
const {
|
|
6179
|
-
sx
|
|
6235
|
+
sx,
|
|
6180
6236
|
theme = {}
|
|
6181
6237
|
} = props || {};
|
|
6182
6238
|
|
|
6183
|
-
if (!
|
|
6184
|
-
return null;
|
|
6239
|
+
if (!sx) {
|
|
6240
|
+
return null; // emotion & styled-components will neglect null
|
|
6185
6241
|
}
|
|
6242
|
+
/*
|
|
6243
|
+
* Receive `sxInput` as object or callback
|
|
6244
|
+
* and then recursively check keys & values to create media query object styles.
|
|
6245
|
+
* (the result will be used in `styled`)
|
|
6246
|
+
*/
|
|
6186
6247
|
|
|
6187
|
-
let stylesObject = styles;
|
|
6188
6248
|
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
} else if (typeof styles !== 'object') {
|
|
6192
|
-
// value
|
|
6193
|
-
return styles;
|
|
6194
|
-
}
|
|
6249
|
+
function traverse(sxInput) {
|
|
6250
|
+
let sxObject = sxInput;
|
|
6195
6251
|
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6252
|
+
if (typeof sxInput === 'function') {
|
|
6253
|
+
sxObject = sxInput(theme);
|
|
6254
|
+
} else if (typeof sxInput !== 'object') {
|
|
6255
|
+
// value
|
|
6256
|
+
return sxInput;
|
|
6257
|
+
}
|
|
6201
6258
|
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
theme
|
|
6208
|
-
}, value, x => ({
|
|
6209
|
-
[styleKey]: x
|
|
6210
|
-
}));
|
|
6259
|
+
const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);
|
|
6260
|
+
const breakpointsKeys = Object.keys(emptyBreakpoints);
|
|
6261
|
+
let css = emptyBreakpoints;
|
|
6262
|
+
Object.keys(sxObject).forEach(styleKey => {
|
|
6263
|
+
const value = callIfFn(sxObject[styleKey], theme);
|
|
6211
6264
|
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
theme
|
|
6216
|
-
}
|
|
6265
|
+
if (value !== null && value !== undefined) {
|
|
6266
|
+
if (typeof value === 'object') {
|
|
6267
|
+
if (propToStyleFunction[styleKey]) {
|
|
6268
|
+
css = merge(css, getThemeValue(styleKey, value, theme));
|
|
6269
|
+
} else {
|
|
6270
|
+
const breakpointsValues = handleBreakpoints({
|
|
6271
|
+
theme
|
|
6272
|
+
}, value, x => ({
|
|
6273
|
+
[styleKey]: x
|
|
6274
|
+
}));
|
|
6275
|
+
|
|
6276
|
+
if (objectsHaveSameKeys(breakpointsValues, value)) {
|
|
6277
|
+
css[styleKey] = styleFunctionSx({
|
|
6278
|
+
sx: value,
|
|
6279
|
+
theme
|
|
6280
|
+
});
|
|
6281
|
+
} else {
|
|
6282
|
+
css = merge(css, breakpointsValues);
|
|
6283
|
+
}
|
|
6284
|
+
}
|
|
6217
6285
|
} else {
|
|
6218
|
-
css = merge(css,
|
|
6286
|
+
css = merge(css, getThemeValue(styleKey, value, theme));
|
|
6219
6287
|
}
|
|
6220
6288
|
}
|
|
6221
|
-
}
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
return
|
|
6289
|
+
});
|
|
6290
|
+
return removeUnusedBreakpoints(breakpointsKeys, css);
|
|
6291
|
+
}
|
|
6292
|
+
|
|
6293
|
+
return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
|
|
6226
6294
|
}
|
|
6227
6295
|
|
|
6228
6296
|
styleFunctionSx.filterProps = ['sx'];
|
|
6229
6297
|
|
|
6230
|
-
const _excluded$
|
|
6298
|
+
const _excluded$2t = ["sx"];
|
|
6231
6299
|
|
|
6232
6300
|
const splitProps = props => {
|
|
6233
6301
|
const result = {
|
|
@@ -6248,14 +6316,41 @@
|
|
|
6248
6316
|
const {
|
|
6249
6317
|
sx: inSx
|
|
6250
6318
|
} = props,
|
|
6251
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6319
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2t);
|
|
6252
6320
|
|
|
6253
6321
|
const {
|
|
6254
6322
|
systemProps,
|
|
6255
6323
|
otherProps
|
|
6256
6324
|
} = splitProps(other);
|
|
6325
|
+
let finalSx;
|
|
6326
|
+
|
|
6327
|
+
if (Array.isArray(inSx)) {
|
|
6328
|
+
finalSx = [systemProps, ...inSx];
|
|
6329
|
+
} else if (typeof inSx === 'function') {
|
|
6330
|
+
finalSx = (...args) => {
|
|
6331
|
+
const result = inSx(...args);
|
|
6332
|
+
|
|
6333
|
+
if (!isPlainObject(result)) {
|
|
6334
|
+
return systemProps;
|
|
6335
|
+
}
|
|
6336
|
+
|
|
6337
|
+
return _extends({}, systemProps, result);
|
|
6338
|
+
};
|
|
6339
|
+
} else {
|
|
6340
|
+
finalSx = _extends({}, systemProps, inSx);
|
|
6341
|
+
}
|
|
6342
|
+
|
|
6257
6343
|
return _extends({}, otherProps, {
|
|
6258
|
-
sx:
|
|
6344
|
+
sx: finalSx
|
|
6345
|
+
});
|
|
6346
|
+
}
|
|
6347
|
+
|
|
6348
|
+
function sx(styles) {
|
|
6349
|
+
return ({
|
|
6350
|
+
theme
|
|
6351
|
+
}) => styleFunctionSx({
|
|
6352
|
+
sx: styles,
|
|
6353
|
+
theme
|
|
6259
6354
|
});
|
|
6260
6355
|
}
|
|
6261
6356
|
|
|
@@ -6300,7 +6395,7 @@
|
|
|
6300
6395
|
return str;
|
|
6301
6396
|
}
|
|
6302
6397
|
|
|
6303
|
-
const _excluded$
|
|
6398
|
+
const _excluded$2s = ["values", "unit", "step"];
|
|
6304
6399
|
|
|
6305
6400
|
function createBreakpoints(breakpoints) {
|
|
6306
6401
|
const {
|
|
@@ -6310,18 +6405,18 @@
|
|
|
6310
6405
|
xs: 0,
|
|
6311
6406
|
// phone
|
|
6312
6407
|
sm: 600,
|
|
6313
|
-
//
|
|
6408
|
+
// tablet
|
|
6314
6409
|
md: 900,
|
|
6315
6410
|
// small laptop
|
|
6316
6411
|
lg: 1200,
|
|
6317
6412
|
// desktop
|
|
6318
|
-
xl: 1536 // large
|
|
6413
|
+
xl: 1536 // large screen
|
|
6319
6414
|
|
|
6320
6415
|
},
|
|
6321
6416
|
unit = 'px',
|
|
6322
6417
|
step = 5
|
|
6323
6418
|
} = breakpoints,
|
|
6324
|
-
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$
|
|
6419
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2s);
|
|
6325
6420
|
|
|
6326
6421
|
const keys = Object.keys(values);
|
|
6327
6422
|
|
|
@@ -6396,7 +6491,7 @@
|
|
|
6396
6491
|
return spacing;
|
|
6397
6492
|
}
|
|
6398
6493
|
|
|
6399
|
-
const _excluded$
|
|
6494
|
+
const _excluded$2r = ["breakpoints", "palette", "spacing", "shape"];
|
|
6400
6495
|
|
|
6401
6496
|
function createTheme$1(options = {}, ...args) {
|
|
6402
6497
|
const {
|
|
@@ -6405,7 +6500,7 @@
|
|
|
6405
6500
|
spacing: spacingInput,
|
|
6406
6501
|
shape: shapeInput = {}
|
|
6407
6502
|
} = options,
|
|
6408
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
6503
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$2r);
|
|
6409
6504
|
|
|
6410
6505
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
6411
6506
|
const spacing = createSpacing(spacingInput);
|
|
@@ -6527,10 +6622,12 @@
|
|
|
6527
6622
|
return useTheme$2(defaultTheme);
|
|
6528
6623
|
}
|
|
6529
6624
|
|
|
6530
|
-
const _excluded$
|
|
6625
|
+
const _excluded$2q = ["className", "component"];
|
|
6531
6626
|
function createBox(options = {}) {
|
|
6532
6627
|
const {
|
|
6533
|
-
defaultTheme
|
|
6628
|
+
defaultTheme,
|
|
6629
|
+
defaultClassName = 'MuiBox-root',
|
|
6630
|
+
generateClassName
|
|
6534
6631
|
} = options;
|
|
6535
6632
|
const BoxRoot = styled$2('div')(styleFunctionSx);
|
|
6536
6633
|
const Box = /*#__PURE__*/React__namespace.forwardRef(function Box(inProps, ref) {
|
|
@@ -6541,12 +6638,12 @@
|
|
|
6541
6638
|
className,
|
|
6542
6639
|
component = 'div'
|
|
6543
6640
|
} = _extendSxProp,
|
|
6544
|
-
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$
|
|
6641
|
+
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2q);
|
|
6545
6642
|
|
|
6546
6643
|
return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
|
|
6547
6644
|
as: component,
|
|
6548
6645
|
ref: ref,
|
|
6549
|
-
className: clsx(className,
|
|
6646
|
+
className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
|
|
6550
6647
|
theme: theme
|
|
6551
6648
|
}, other));
|
|
6552
6649
|
});
|
|
@@ -6572,12 +6669,12 @@
|
|
|
6572
6669
|
/**
|
|
6573
6670
|
* @ignore
|
|
6574
6671
|
*/
|
|
6575
|
-
sx: propTypes.object
|
|
6672
|
+
sx: propTypes.oneOfType([propTypes.object, propTypes.array, propTypes.func])
|
|
6576
6673
|
} ;
|
|
6577
6674
|
return Box;
|
|
6578
6675
|
}
|
|
6579
6676
|
|
|
6580
|
-
const _excluded$
|
|
6677
|
+
const _excluded$2p = ["variant"];
|
|
6581
6678
|
|
|
6582
6679
|
function isEmpty$2(string) {
|
|
6583
6680
|
return string.length === 0;
|
|
@@ -6593,7 +6690,7 @@
|
|
|
6593
6690
|
const {
|
|
6594
6691
|
variant
|
|
6595
6692
|
} = props,
|
|
6596
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6693
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2p);
|
|
6597
6694
|
|
|
6598
6695
|
let classKey = variant || '';
|
|
6599
6696
|
Object.keys(other).sort().forEach(key => {
|
|
@@ -6606,8 +6703,8 @@
|
|
|
6606
6703
|
return classKey;
|
|
6607
6704
|
}
|
|
6608
6705
|
|
|
6609
|
-
const _excluded$
|
|
6610
|
-
_excluded2$
|
|
6706
|
+
const _excluded$2o = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
|
|
6707
|
+
_excluded2$b = ["theme"],
|
|
6611
6708
|
_excluded3$1 = ["theme"];
|
|
6612
6709
|
|
|
6613
6710
|
function isEmpty$1(obj) {
|
|
@@ -6687,7 +6784,7 @@
|
|
|
6687
6784
|
skipSx: inputSkipSx,
|
|
6688
6785
|
overridesResolver
|
|
6689
6786
|
} = inputOptions,
|
|
6690
|
-
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$
|
|
6787
|
+
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2o); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
|
|
6691
6788
|
|
|
6692
6789
|
|
|
6693
6790
|
const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
|
|
@@ -6724,7 +6821,7 @@
|
|
|
6724
6821
|
let {
|
|
6725
6822
|
theme: themeInput
|
|
6726
6823
|
} = _ref,
|
|
6727
|
-
other = _objectWithoutPropertiesLoose(_ref, _excluded2$
|
|
6824
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded2$b);
|
|
6728
6825
|
|
|
6729
6826
|
return stylesArg(_extends({
|
|
6730
6827
|
theme: isEmpty$1(themeInput) ? defaultTheme : themeInput
|
|
@@ -7189,8 +7286,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7189
7286
|
ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) ;
|
|
7190
7287
|
}
|
|
7191
7288
|
|
|
7192
|
-
const _excluded$
|
|
7193
|
-
_excluded2$
|
|
7289
|
+
const _excluded$2n = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
|
|
7290
|
+
_excluded2$a = ["type", "mode"];
|
|
7194
7291
|
function adaptV4Theme(inputTheme) {
|
|
7195
7292
|
{
|
|
7196
7293
|
console.warn(['MUI: adaptV4Theme() is deprecated.', 'Follow the upgrade guide on https://mui.com/r/migration-v4#theme.'].join('\n'));
|
|
@@ -7204,7 +7301,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7204
7301
|
props = {},
|
|
7205
7302
|
styleOverrides = {}
|
|
7206
7303
|
} = inputTheme,
|
|
7207
|
-
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$
|
|
7304
|
+
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2n);
|
|
7208
7305
|
|
|
7209
7306
|
const theme = _extends({}, other, {
|
|
7210
7307
|
components: {}
|
|
@@ -7255,7 +7352,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7255
7352
|
type: typeInput,
|
|
7256
7353
|
mode: modeInput
|
|
7257
7354
|
} = palette,
|
|
7258
|
-
paletteRest = _objectWithoutPropertiesLoose(palette, _excluded2$
|
|
7355
|
+
paletteRest = _objectWithoutPropertiesLoose(palette, _excluded2$a);
|
|
7259
7356
|
|
|
7260
7357
|
const finalMode = modeInput || typeInput || 'light';
|
|
7261
7358
|
theme.palette = _extends({
|
|
@@ -8375,9 +8472,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8375
8472
|
const backdropUnstyledClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
|
|
8376
8473
|
var backdropUnstyledClasses$1 = backdropUnstyledClasses;
|
|
8377
8474
|
|
|
8378
|
-
const _excluded$
|
|
8475
|
+
const _excluded$2m = ["classes", "className", "invisible", "component", "components", "componentsProps", "theme"];
|
|
8379
8476
|
|
|
8380
|
-
const useUtilityClasses$
|
|
8477
|
+
const useUtilityClasses$1T = ownerState => {
|
|
8381
8478
|
const {
|
|
8382
8479
|
classes,
|
|
8383
8480
|
invisible
|
|
@@ -8400,14 +8497,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8400
8497
|
/* eslint-disable react/prop-types */
|
|
8401
8498
|
theme
|
|
8402
8499
|
} = props,
|
|
8403
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
8500
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2m);
|
|
8404
8501
|
|
|
8405
8502
|
const ownerState = _extends({}, props, {
|
|
8406
8503
|
classes: classesProp,
|
|
8407
8504
|
invisible
|
|
8408
8505
|
});
|
|
8409
8506
|
|
|
8410
|
-
const classes = useUtilityClasses$
|
|
8507
|
+
const classes = useUtilityClasses$1T(ownerState);
|
|
8411
8508
|
const Root = components.Root || component;
|
|
8412
8509
|
const rootProps = componentsProps.root || {};
|
|
8413
8510
|
return /*#__PURE__*/jsxRuntime_1(Root, _extends({
|
|
@@ -8481,9 +8578,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8481
8578
|
const badgeUnstyledClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular', 'invisible']);
|
|
8482
8579
|
var badgeUnstyledClasses$1 = badgeUnstyledClasses;
|
|
8483
8580
|
|
|
8484
|
-
const _excluded$
|
|
8581
|
+
const _excluded$2l = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "overlap", "showZero", "variant", "theme"];
|
|
8485
8582
|
|
|
8486
|
-
const useUtilityClasses$
|
|
8583
|
+
const useUtilityClasses$1S = ownerState => {
|
|
8487
8584
|
const {
|
|
8488
8585
|
variant,
|
|
8489
8586
|
anchorOrigin,
|
|
@@ -8520,7 +8617,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8520
8617
|
/* eslint-disable react/prop-types */
|
|
8521
8618
|
theme
|
|
8522
8619
|
} = props,
|
|
8523
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
8620
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2l);
|
|
8524
8621
|
|
|
8525
8622
|
const prevProps = usePreviousProps$1({
|
|
8526
8623
|
anchorOrigin: anchorOriginProp,
|
|
@@ -8559,7 +8656,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8559
8656
|
displayValue = badgeContent > max ? `${max}+` : badgeContent;
|
|
8560
8657
|
}
|
|
8561
8658
|
|
|
8562
|
-
const classes = useUtilityClasses$
|
|
8659
|
+
const classes = useUtilityClasses$1S(ownerState);
|
|
8563
8660
|
const Root = components.Root || component;
|
|
8564
8661
|
const rootProps = componentsProps.root || {};
|
|
8565
8662
|
const Badge = components.Badge || 'span';
|
|
@@ -8917,9 +9014,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8917
9014
|
});
|
|
8918
9015
|
}
|
|
8919
9016
|
|
|
8920
|
-
const _excluded$
|
|
9017
|
+
const _excluded$2k = ["className", "component", "components", "componentsProps", "children", "disabled", "action", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseLeave"];
|
|
8921
9018
|
|
|
8922
|
-
const useUtilityClasses$
|
|
9019
|
+
const useUtilityClasses$1R = ownerState => {
|
|
8923
9020
|
const {
|
|
8924
9021
|
active,
|
|
8925
9022
|
disabled,
|
|
@@ -8954,7 +9051,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8954
9051
|
children,
|
|
8955
9052
|
action
|
|
8956
9053
|
} = props,
|
|
8957
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9054
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2k);
|
|
8958
9055
|
|
|
8959
9056
|
const buttonRef = React__namespace.useRef();
|
|
8960
9057
|
const handleRef = useForkRef(buttonRef, ref);
|
|
@@ -8980,7 +9077,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8980
9077
|
|
|
8981
9078
|
const ButtonRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
|
|
8982
9079
|
const buttonRootProps = appendOwnerState(ButtonRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
8983
|
-
const classes = useUtilityClasses$
|
|
9080
|
+
const classes = useUtilityClasses$1R(ownerState);
|
|
8984
9081
|
return /*#__PURE__*/jsxRuntime_1(ButtonRoot, _extends({}, getRootProps(), buttonRootProps, {
|
|
8985
9082
|
className: clsx(classes.root, className, buttonRootProps.className),
|
|
8986
9083
|
children: children
|
|
@@ -9070,7 +9167,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9070
9167
|
const formControlUnstyledClasses = generateUtilityClasses('MuiFormControl', ['root', 'disabled']);
|
|
9071
9168
|
var classes$2 = formControlUnstyledClasses;
|
|
9072
9169
|
|
|
9073
|
-
const _excluded$
|
|
9170
|
+
const _excluded$2j = ["defaultValue", "children", "className", "component", "components", "componentsProps", "disabled", "error", "focused", "onChange", "required", "value"];
|
|
9074
9171
|
|
|
9075
9172
|
function hasValue$1(value) {
|
|
9076
9173
|
return value != null && !(Array.isArray(value) && value.length === 0) && value !== '';
|
|
@@ -9120,12 +9217,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9120
9217
|
componentsProps = {},
|
|
9121
9218
|
disabled = false,
|
|
9122
9219
|
error = false,
|
|
9123
|
-
focused: visuallyFocused
|
|
9220
|
+
focused: visuallyFocused,
|
|
9124
9221
|
onChange,
|
|
9125
9222
|
required = false,
|
|
9126
9223
|
value: incomingValue
|
|
9127
9224
|
} = props,
|
|
9128
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9225
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2j);
|
|
9129
9226
|
|
|
9130
9227
|
const [value, setValue] = useControlled({
|
|
9131
9228
|
controlled: incomingValue,
|
|
@@ -9452,7 +9549,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9452
9549
|
};
|
|
9453
9550
|
}
|
|
9454
9551
|
|
|
9455
|
-
const _excluded$
|
|
9552
|
+
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"];
|
|
9456
9553
|
const InputUnstyled = /*#__PURE__*/React__namespace.forwardRef(function InputUnstyled(props, ref) {
|
|
9457
9554
|
var _componentsProps$inpu, _ref, _componentsProps$root, _components$Input, _componentsProps$inpu2;
|
|
9458
9555
|
|
|
@@ -9489,7 +9586,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9489
9586
|
startAdornment,
|
|
9490
9587
|
value
|
|
9491
9588
|
} = props,
|
|
9492
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9589
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2i);
|
|
9493
9590
|
|
|
9494
9591
|
const {
|
|
9495
9592
|
getRootProps,
|
|
@@ -10433,9 +10530,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10433
10530
|
const modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);
|
|
10434
10531
|
var modalUnstyledClasses$1 = modalUnstyledClasses;
|
|
10435
10532
|
|
|
10436
|
-
const _excluded$
|
|
10533
|
+
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"];
|
|
10437
10534
|
|
|
10438
|
-
const useUtilityClasses$
|
|
10535
|
+
const useUtilityClasses$1Q = ownerState => {
|
|
10439
10536
|
const {
|
|
10440
10537
|
open,
|
|
10441
10538
|
exited,
|
|
@@ -10505,7 +10602,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10505
10602
|
onTransitionEnter,
|
|
10506
10603
|
onTransitionExited
|
|
10507
10604
|
} = props,
|
|
10508
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
10605
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2h);
|
|
10509
10606
|
|
|
10510
10607
|
const [exited, setExited] = React__namespace.useState(true);
|
|
10511
10608
|
const modal = React__namespace.useRef({});
|
|
@@ -10582,7 +10679,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10582
10679
|
keepMounted
|
|
10583
10680
|
});
|
|
10584
10681
|
|
|
10585
|
-
const classes = useUtilityClasses$
|
|
10682
|
+
const classes = useUtilityClasses$1Q(ownerState);
|
|
10586
10683
|
|
|
10587
10684
|
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
10588
10685
|
return null;
|
|
@@ -12764,12 +12861,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12764
12861
|
defaultModifiers: defaultModifiers
|
|
12765
12862
|
}); // eslint-disable-next-line import/no-unused-modules
|
|
12766
12863
|
|
|
12767
|
-
const _excluded$
|
|
12768
|
-
_excluded2$
|
|
12769
|
-
|
|
12770
|
-
function flipPlacement(placement, theme) {
|
|
12771
|
-
const direction = theme && theme.direction || 'ltr';
|
|
12864
|
+
const _excluded$2g = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "TransitionProps"],
|
|
12865
|
+
_excluded2$9 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"];
|
|
12772
12866
|
|
|
12867
|
+
function flipPlacement(placement, direction) {
|
|
12773
12868
|
if (direction === 'ltr') {
|
|
12774
12869
|
return placement;
|
|
12775
12870
|
}
|
|
@@ -12803,6 +12898,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12803
12898
|
const {
|
|
12804
12899
|
anchorEl,
|
|
12805
12900
|
children,
|
|
12901
|
+
direction,
|
|
12806
12902
|
disablePortal,
|
|
12807
12903
|
modifiers,
|
|
12808
12904
|
open,
|
|
@@ -12811,7 +12907,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12811
12907
|
popperRef: popperRefProp,
|
|
12812
12908
|
TransitionProps
|
|
12813
12909
|
} = props,
|
|
12814
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
12910
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2g);
|
|
12815
12911
|
|
|
12816
12912
|
const tooltipRef = React__namespace.useRef(null);
|
|
12817
12913
|
const ownRef = useForkRef(tooltipRef, ref);
|
|
@@ -12822,8 +12918,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12822
12918
|
handlePopperRefRef.current = handlePopperRef;
|
|
12823
12919
|
}, [handlePopperRef]);
|
|
12824
12920
|
React__namespace.useImperativeHandle(popperRefProp, () => popperRef.current, []);
|
|
12825
|
-
const
|
|
12826
|
-
const rtlPlacement = flipPlacement(initialPlacement, theme);
|
|
12921
|
+
const rtlPlacement = flipPlacement(initialPlacement, direction);
|
|
12827
12922
|
/**
|
|
12828
12923
|
* placement initialized from prop but can change during lifetime if modifiers.flip.
|
|
12829
12924
|
* modifiers.flip is essentially a flip for controlled/uncontrolled behavior
|
|
@@ -12917,11 +13012,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12917
13012
|
* Poppers rely on the 3rd party library [Popper.js](https://popper.js.org/docs/v2/) for positioning.
|
|
12918
13013
|
*/
|
|
12919
13014
|
|
|
12920
|
-
const
|
|
13015
|
+
const PopperUnstyled = /*#__PURE__*/React__namespace.forwardRef(function PopperUnstyled(props, ref) {
|
|
12921
13016
|
const {
|
|
12922
13017
|
anchorEl,
|
|
12923
13018
|
children,
|
|
12924
13019
|
container: containerProp,
|
|
13020
|
+
direction = 'ltr',
|
|
12925
13021
|
disablePortal = false,
|
|
12926
13022
|
keepMounted = false,
|
|
12927
13023
|
modifiers,
|
|
@@ -12932,7 +13028,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12932
13028
|
style,
|
|
12933
13029
|
transition = false
|
|
12934
13030
|
} = props,
|
|
12935
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
13031
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$9);
|
|
12936
13032
|
|
|
12937
13033
|
const [exited, setExited] = React__namespace.useState(true);
|
|
12938
13034
|
|
|
@@ -12957,6 +13053,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12957
13053
|
container: container,
|
|
12958
13054
|
children: /*#__PURE__*/jsxRuntime_1(PopperTooltip, _extends({
|
|
12959
13055
|
anchorEl: anchorEl,
|
|
13056
|
+
direction: direction,
|
|
12960
13057
|
disablePortal: disablePortal,
|
|
12961
13058
|
modifiers: modifiers,
|
|
12962
13059
|
ref: ref,
|
|
@@ -12982,7 +13079,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12982
13079
|
}))
|
|
12983
13080
|
});
|
|
12984
13081
|
});
|
|
12985
|
-
|
|
13082
|
+
PopperUnstyled.propTypes
|
|
12986
13083
|
/* remove-proptypes */
|
|
12987
13084
|
= {
|
|
12988
13085
|
// ----------------------------- Warning --------------------------------
|
|
@@ -13032,6 +13129,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13032
13129
|
/* @typescript-to-proptypes-ignore */
|
|
13033
13130
|
.oneOfType([HTMLElementType, propTypes.func]),
|
|
13034
13131
|
|
|
13132
|
+
/**
|
|
13133
|
+
* Direction of the text.
|
|
13134
|
+
* @default 'ltr'
|
|
13135
|
+
*/
|
|
13136
|
+
direction: propTypes.oneOf(['ltr', 'rtl']),
|
|
13137
|
+
|
|
13035
13138
|
/**
|
|
13036
13139
|
* The `children` will be under the DOM hierarchy of the parent component.
|
|
13037
13140
|
* @default false
|
|
@@ -13105,7 +13208,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13105
13208
|
*/
|
|
13106
13209
|
transition: propTypes.bool
|
|
13107
13210
|
} ;
|
|
13108
|
-
var
|
|
13211
|
+
var PopperUnstyled$1 = PopperUnstyled;
|
|
13109
13212
|
|
|
13110
13213
|
function getSliderUtilityClass(slot) {
|
|
13111
13214
|
return generateUtilityClass('MuiSlider', slot);
|
|
@@ -13162,7 +13265,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13162
13265
|
value: propTypes.node
|
|
13163
13266
|
} ;
|
|
13164
13267
|
|
|
13165
|
-
const _excluded$
|
|
13268
|
+
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"];
|
|
13166
13269
|
const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
|
|
13167
13270
|
|
|
13168
13271
|
function asc(a, b) {
|
|
@@ -13322,7 +13425,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13322
13425
|
return cachedSupportsTouchActionNone;
|
|
13323
13426
|
}
|
|
13324
13427
|
|
|
13325
|
-
const useUtilityClasses$
|
|
13428
|
+
const useUtilityClasses$1P = ownerState => {
|
|
13326
13429
|
const {
|
|
13327
13430
|
disabled,
|
|
13328
13431
|
dragging,
|
|
@@ -13384,7 +13487,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13384
13487
|
components = {},
|
|
13385
13488
|
componentsProps = {}
|
|
13386
13489
|
} = props,
|
|
13387
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
13490
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2f);
|
|
13388
13491
|
|
|
13389
13492
|
const touchId = React__namespace.useRef(); // We can't use the :active browser pseudo-classes.
|
|
13390
13493
|
// - The active state isn't triggered when clicking on the rail.
|
|
@@ -13814,7 +13917,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13814
13917
|
valueLabelFormat
|
|
13815
13918
|
});
|
|
13816
13919
|
|
|
13817
|
-
const classes = useUtilityClasses$
|
|
13920
|
+
const classes = useUtilityClasses$1P(ownerState);
|
|
13818
13921
|
return /*#__PURE__*/jsxRuntime_2(Root, _extends({
|
|
13819
13922
|
ref: handleRef,
|
|
13820
13923
|
onMouseDown: handleMouseDown
|
|
@@ -14280,7 +14383,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14280
14383
|
const switchUnstyledClasses = generateUtilityClasses('MuiSwitch', ['root', 'input', 'track', 'thumb', 'checked', 'disabled', 'focusVisible', 'readOnly']);
|
|
14281
14384
|
var classes = switchUnstyledClasses;
|
|
14282
14385
|
|
|
14283
|
-
const _excluded$
|
|
14386
|
+
const _excluded$2e = ["checked", "className", "component", "components", "componentsProps", "defaultChecked", "disabled", "onBlur", "onChange", "onFocus", "onFocusVisible", "readOnly", "required"];
|
|
14284
14387
|
|
|
14285
14388
|
/**
|
|
14286
14389
|
* The foundation for building custom-styled switches.
|
|
@@ -14310,7 +14413,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14310
14413
|
onFocusVisible,
|
|
14311
14414
|
readOnly: readOnlyProp
|
|
14312
14415
|
} = props,
|
|
14313
|
-
otherProps = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14416
|
+
otherProps = _objectWithoutPropertiesLoose(props, _excluded$2e);
|
|
14314
14417
|
|
|
14315
14418
|
const useSwitchProps = {
|
|
14316
14419
|
checked: checkedProp,
|
|
@@ -14450,7 +14553,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14450
14553
|
} ;
|
|
14451
14554
|
var SwitchUnstyled$1 = SwitchUnstyled;
|
|
14452
14555
|
|
|
14453
|
-
const _excluded$
|
|
14556
|
+
const _excluded$2d = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
14454
14557
|
|
|
14455
14558
|
function getStyleValue(computedStyle, property) {
|
|
14456
14559
|
return parseInt(computedStyle[property], 10) || 0;
|
|
@@ -14479,7 +14582,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14479
14582
|
style,
|
|
14480
14583
|
value
|
|
14481
14584
|
} = props,
|
|
14482
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14585
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2d);
|
|
14483
14586
|
|
|
14484
14587
|
const {
|
|
14485
14588
|
current: isControlled
|
|
@@ -14665,6 +14768,895 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14665
14768
|
} ;
|
|
14666
14769
|
var TextareaAutosize$1 = TextareaAutosize;
|
|
14667
14770
|
|
|
14771
|
+
function getTabsUnstyledUtilityClass(slot) {
|
|
14772
|
+
return generateUtilityClass('TabsUnstyled', slot);
|
|
14773
|
+
}
|
|
14774
|
+
const tabsUnstyledClasses = generateUtilityClasses('TabsUnstyled', ['root', 'horizontal', 'vertical']);
|
|
14775
|
+
var tabsUnstyledClasses$1 = tabsUnstyledClasses;
|
|
14776
|
+
|
|
14777
|
+
const useTabs = props => {
|
|
14778
|
+
const {
|
|
14779
|
+
value: valueProp,
|
|
14780
|
+
defaultValue,
|
|
14781
|
+
onChange,
|
|
14782
|
+
orientation,
|
|
14783
|
+
direction,
|
|
14784
|
+
selectionFollowsFocus
|
|
14785
|
+
} = props;
|
|
14786
|
+
const [value, setValue] = useControlled({
|
|
14787
|
+
controlled: valueProp,
|
|
14788
|
+
default: defaultValue,
|
|
14789
|
+
name: 'Tabs',
|
|
14790
|
+
state: 'value'
|
|
14791
|
+
});
|
|
14792
|
+
const idPrefix = useId();
|
|
14793
|
+
const onSelected = React__namespace.useCallback((e, newValue) => {
|
|
14794
|
+
setValue(newValue);
|
|
14795
|
+
|
|
14796
|
+
if (onChange) {
|
|
14797
|
+
onChange(e, newValue);
|
|
14798
|
+
}
|
|
14799
|
+
}, [onChange, setValue]);
|
|
14800
|
+
|
|
14801
|
+
const getRootProps = () => {
|
|
14802
|
+
return {};
|
|
14803
|
+
};
|
|
14804
|
+
|
|
14805
|
+
const tabsContextValue = React__namespace.useMemo(() => {
|
|
14806
|
+
return {
|
|
14807
|
+
idPrefix,
|
|
14808
|
+
value,
|
|
14809
|
+
onSelected,
|
|
14810
|
+
orientation,
|
|
14811
|
+
direction,
|
|
14812
|
+
selectionFollowsFocus
|
|
14813
|
+
};
|
|
14814
|
+
}, [idPrefix, value, onSelected, orientation, direction, selectionFollowsFocus]);
|
|
14815
|
+
return {
|
|
14816
|
+
getRootProps,
|
|
14817
|
+
tabsContextValue
|
|
14818
|
+
};
|
|
14819
|
+
};
|
|
14820
|
+
|
|
14821
|
+
var useTabs$1 = useTabs;
|
|
14822
|
+
|
|
14823
|
+
/**
|
|
14824
|
+
* @ignore - internal component.
|
|
14825
|
+
*/
|
|
14826
|
+
const Context = /*#__PURE__*/React__namespace.createContext(null);
|
|
14827
|
+
|
|
14828
|
+
{
|
|
14829
|
+
Context.displayName = 'TabsContext';
|
|
14830
|
+
}
|
|
14831
|
+
/**
|
|
14832
|
+
* @returns {unknown}
|
|
14833
|
+
*/
|
|
14834
|
+
|
|
14835
|
+
|
|
14836
|
+
function useTabContext() {
|
|
14837
|
+
return React__namespace.useContext(Context);
|
|
14838
|
+
}
|
|
14839
|
+
function getPanelId(context, value) {
|
|
14840
|
+
const {
|
|
14841
|
+
idPrefix
|
|
14842
|
+
} = context;
|
|
14843
|
+
|
|
14844
|
+
if (idPrefix === null) {
|
|
14845
|
+
return null;
|
|
14846
|
+
}
|
|
14847
|
+
|
|
14848
|
+
return `${context.idPrefix}-P-${value}`;
|
|
14849
|
+
}
|
|
14850
|
+
function getTabId(context, value) {
|
|
14851
|
+
const {
|
|
14852
|
+
idPrefix
|
|
14853
|
+
} = context;
|
|
14854
|
+
|
|
14855
|
+
if (idPrefix === null) {
|
|
14856
|
+
return null;
|
|
14857
|
+
}
|
|
14858
|
+
|
|
14859
|
+
return `${context.idPrefix}-T-${value}`;
|
|
14860
|
+
}
|
|
14861
|
+
var Context$1 = Context;
|
|
14862
|
+
|
|
14863
|
+
const _excluded$2c = ["children", "className", "value", "defaultValue", "orientation", "direction", "component", "components", "componentsProps", "onChange", "selectionFollowsFocus"];
|
|
14864
|
+
|
|
14865
|
+
const useUtilityClasses$1O = ownerState => {
|
|
14866
|
+
const {
|
|
14867
|
+
orientation
|
|
14868
|
+
} = ownerState;
|
|
14869
|
+
const slots = {
|
|
14870
|
+
root: ['root', orientation]
|
|
14871
|
+
};
|
|
14872
|
+
return composeClasses(slots, getTabsUnstyledUtilityClass, {});
|
|
14873
|
+
};
|
|
14874
|
+
/**
|
|
14875
|
+
*
|
|
14876
|
+
* Demos:
|
|
14877
|
+
*
|
|
14878
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
14879
|
+
*
|
|
14880
|
+
* API:
|
|
14881
|
+
*
|
|
14882
|
+
* - [TabsUnstyled API](https://mui.com/api/tabs-unstyled/)
|
|
14883
|
+
*/
|
|
14884
|
+
|
|
14885
|
+
|
|
14886
|
+
const TabsUnstyled = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
|
|
14887
|
+
var _ref, _componentsProps$root;
|
|
14888
|
+
|
|
14889
|
+
const {
|
|
14890
|
+
children,
|
|
14891
|
+
className,
|
|
14892
|
+
orientation = 'horizontal',
|
|
14893
|
+
direction = 'ltr',
|
|
14894
|
+
component,
|
|
14895
|
+
components = {},
|
|
14896
|
+
componentsProps = {}
|
|
14897
|
+
} = props,
|
|
14898
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2c);
|
|
14899
|
+
|
|
14900
|
+
const {
|
|
14901
|
+
tabsContextValue,
|
|
14902
|
+
getRootProps
|
|
14903
|
+
} = useTabs$1(props);
|
|
14904
|
+
|
|
14905
|
+
const ownerState = _extends({}, props, {
|
|
14906
|
+
orientation,
|
|
14907
|
+
direction
|
|
14908
|
+
});
|
|
14909
|
+
|
|
14910
|
+
const classes = useUtilityClasses$1O(ownerState);
|
|
14911
|
+
const TabsRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
|
|
14912
|
+
const tabsRootProps = appendOwnerState(TabsRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
14913
|
+
return /*#__PURE__*/jsxRuntime_1(TabsRoot, _extends({}, getRootProps(), tabsRootProps, {
|
|
14914
|
+
ref: ref,
|
|
14915
|
+
className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
|
|
14916
|
+
children: /*#__PURE__*/jsxRuntime_1(Context$1.Provider, {
|
|
14917
|
+
value: tabsContextValue,
|
|
14918
|
+
children: children
|
|
14919
|
+
})
|
|
14920
|
+
}));
|
|
14921
|
+
});
|
|
14922
|
+
TabsUnstyled.propTypes
|
|
14923
|
+
/* remove-proptypes */
|
|
14924
|
+
= {
|
|
14925
|
+
// ----------------------------- Warning --------------------------------
|
|
14926
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
14927
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
14928
|
+
// ----------------------------------------------------------------------
|
|
14929
|
+
|
|
14930
|
+
/**
|
|
14931
|
+
* The content of the component.
|
|
14932
|
+
*/
|
|
14933
|
+
children: propTypes.node,
|
|
14934
|
+
|
|
14935
|
+
/**
|
|
14936
|
+
* @ignore
|
|
14937
|
+
*/
|
|
14938
|
+
className: propTypes.string,
|
|
14939
|
+
|
|
14940
|
+
/**
|
|
14941
|
+
* The component used for the root node.
|
|
14942
|
+
* Either a string to use a HTML element or a component.
|
|
14943
|
+
*/
|
|
14944
|
+
component: propTypes.elementType,
|
|
14945
|
+
|
|
14946
|
+
/**
|
|
14947
|
+
* The components used for each slot inside the Tabs.
|
|
14948
|
+
* Either a string to use a HTML element or a component.
|
|
14949
|
+
* @default {}
|
|
14950
|
+
*/
|
|
14951
|
+
components: propTypes.shape({
|
|
14952
|
+
Root: propTypes.elementType
|
|
14953
|
+
}),
|
|
14954
|
+
|
|
14955
|
+
/**
|
|
14956
|
+
* The props used for each slot inside the Tabs.
|
|
14957
|
+
* @default {}
|
|
14958
|
+
*/
|
|
14959
|
+
componentsProps: propTypes.object,
|
|
14960
|
+
|
|
14961
|
+
/**
|
|
14962
|
+
* The default value. Use when the component is not controlled.
|
|
14963
|
+
*/
|
|
14964
|
+
defaultValue: propTypes.oneOfType([propTypes.oneOf([false]), propTypes.number, propTypes.string]),
|
|
14965
|
+
|
|
14966
|
+
/**
|
|
14967
|
+
* The direction of the text.
|
|
14968
|
+
* @default 'ltr'
|
|
14969
|
+
*/
|
|
14970
|
+
direction: propTypes.oneOf(['ltr', 'rtl']),
|
|
14971
|
+
|
|
14972
|
+
/**
|
|
14973
|
+
* Callback invoked when new value is being set.
|
|
14974
|
+
*/
|
|
14975
|
+
onChange: propTypes.func,
|
|
14976
|
+
|
|
14977
|
+
/**
|
|
14978
|
+
* The component orientation (layout flow direction).
|
|
14979
|
+
* @default 'horizontal'
|
|
14980
|
+
*/
|
|
14981
|
+
orientation: propTypes.oneOf(['horizontal', 'vertical']),
|
|
14982
|
+
|
|
14983
|
+
/**
|
|
14984
|
+
* If `true` the selected tab changes on focus. Otherwise it only
|
|
14985
|
+
* changes on activation.
|
|
14986
|
+
*/
|
|
14987
|
+
selectionFollowsFocus: propTypes.bool,
|
|
14988
|
+
|
|
14989
|
+
/**
|
|
14990
|
+
* The value of the currently selected `Tab`.
|
|
14991
|
+
* If you don't want any selected `Tab`, you can set this prop to `false`.
|
|
14992
|
+
*/
|
|
14993
|
+
value: propTypes.oneOfType([propTypes.oneOf([false]), propTypes.number, propTypes.string])
|
|
14994
|
+
} ;
|
|
14995
|
+
var TabsUnstyled$1 = TabsUnstyled;
|
|
14996
|
+
|
|
14997
|
+
function getTabUnstyledUtilityClass(slot) {
|
|
14998
|
+
return generateUtilityClass('TabUnstyled', slot);
|
|
14999
|
+
}
|
|
15000
|
+
const tabUnstyledClasses = generateUtilityClasses('TabUnstyled', ['root', 'selected', 'disabled']);
|
|
15001
|
+
var tabUnstyledClasses$1 = tabUnstyledClasses;
|
|
15002
|
+
|
|
15003
|
+
const _excluded$2b = ["getRootProps"];
|
|
15004
|
+
|
|
15005
|
+
const useTab = props => {
|
|
15006
|
+
const {
|
|
15007
|
+
value: valueProp,
|
|
15008
|
+
onChange,
|
|
15009
|
+
onClick,
|
|
15010
|
+
onFocus
|
|
15011
|
+
} = props;
|
|
15012
|
+
|
|
15013
|
+
const _useButton = useButton(props),
|
|
15014
|
+
{
|
|
15015
|
+
getRootProps: getRootPropsButton
|
|
15016
|
+
} = _useButton,
|
|
15017
|
+
otherButtonProps = _objectWithoutPropertiesLoose(_useButton, _excluded$2b);
|
|
15018
|
+
|
|
15019
|
+
const context = useTabContext();
|
|
15020
|
+
|
|
15021
|
+
if (context === null) {
|
|
15022
|
+
throw new Error('No TabContext provided');
|
|
15023
|
+
}
|
|
15024
|
+
|
|
15025
|
+
const value = valueProp != null ? valueProp : 0;
|
|
15026
|
+
const selected = context.value === value;
|
|
15027
|
+
const selectionFollowsFocus = context.selectionFollowsFocus;
|
|
15028
|
+
const a11yAttributes = {
|
|
15029
|
+
role: 'tab',
|
|
15030
|
+
'aria-controls': getPanelId(context, value),
|
|
15031
|
+
id: getTabId(context, value),
|
|
15032
|
+
'aria-selected': selected,
|
|
15033
|
+
disabled: otherButtonProps.disabled
|
|
15034
|
+
};
|
|
15035
|
+
|
|
15036
|
+
const handleFocus = event => {
|
|
15037
|
+
if (selectionFollowsFocus && !selected) {
|
|
15038
|
+
if (onChange) {
|
|
15039
|
+
onChange(event, value);
|
|
15040
|
+
}
|
|
15041
|
+
|
|
15042
|
+
context.onSelected(event, value);
|
|
15043
|
+
}
|
|
15044
|
+
|
|
15045
|
+
if (onFocus) {
|
|
15046
|
+
onFocus(event);
|
|
15047
|
+
}
|
|
15048
|
+
};
|
|
15049
|
+
|
|
15050
|
+
const handleClick = event => {
|
|
15051
|
+
if (!selected) {
|
|
15052
|
+
if (onChange) {
|
|
15053
|
+
onChange(event, value);
|
|
15054
|
+
}
|
|
15055
|
+
|
|
15056
|
+
context.onSelected(event, value);
|
|
15057
|
+
}
|
|
15058
|
+
|
|
15059
|
+
if (onClick) {
|
|
15060
|
+
onClick(event);
|
|
15061
|
+
}
|
|
15062
|
+
};
|
|
15063
|
+
|
|
15064
|
+
const getRootProps = otherHandlers => {
|
|
15065
|
+
const buttonResolvedProps = getRootPropsButton(_extends({
|
|
15066
|
+
onClick: handleClick,
|
|
15067
|
+
onFocus: handleFocus
|
|
15068
|
+
}, otherHandlers));
|
|
15069
|
+
return _extends({}, buttonResolvedProps, a11yAttributes);
|
|
15070
|
+
};
|
|
15071
|
+
|
|
15072
|
+
return _extends({
|
|
15073
|
+
getRootProps
|
|
15074
|
+
}, otherButtonProps, {
|
|
15075
|
+
selected
|
|
15076
|
+
});
|
|
15077
|
+
};
|
|
15078
|
+
|
|
15079
|
+
var useTab$1 = useTab;
|
|
15080
|
+
|
|
15081
|
+
const _excluded$2a = ["action", "children", "value", "className", "disabled", "onChange", "onClick", "onFocus", "component", "components", "componentsProps"];
|
|
15082
|
+
|
|
15083
|
+
const useUtilityClasses$1N = ownerState => {
|
|
15084
|
+
const {
|
|
15085
|
+
selected,
|
|
15086
|
+
disabled
|
|
15087
|
+
} = ownerState;
|
|
15088
|
+
const slots = {
|
|
15089
|
+
root: ['root', selected && 'selected', disabled && 'disabled']
|
|
15090
|
+
};
|
|
15091
|
+
return composeClasses(slots, getTabUnstyledUtilityClass, {});
|
|
15092
|
+
};
|
|
15093
|
+
/**
|
|
15094
|
+
*
|
|
15095
|
+
* Demos:
|
|
15096
|
+
*
|
|
15097
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
15098
|
+
*
|
|
15099
|
+
* API:
|
|
15100
|
+
*
|
|
15101
|
+
* - [TabUnstyled API](https://mui.com/api/tab-unstyled/)
|
|
15102
|
+
*/
|
|
15103
|
+
|
|
15104
|
+
|
|
15105
|
+
const TabUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabUnstyled(props, ref) {
|
|
15106
|
+
var _ref, _componentsProps$root;
|
|
15107
|
+
|
|
15108
|
+
const {
|
|
15109
|
+
action,
|
|
15110
|
+
children,
|
|
15111
|
+
className,
|
|
15112
|
+
disabled = false,
|
|
15113
|
+
component,
|
|
15114
|
+
components = {},
|
|
15115
|
+
componentsProps = {}
|
|
15116
|
+
} = props,
|
|
15117
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2a);
|
|
15118
|
+
|
|
15119
|
+
const tabRef = React__namespace.useRef();
|
|
15120
|
+
const handleRef = useForkRef(tabRef, ref);
|
|
15121
|
+
const {
|
|
15122
|
+
active,
|
|
15123
|
+
focusVisible,
|
|
15124
|
+
setFocusVisible,
|
|
15125
|
+
selected,
|
|
15126
|
+
getRootProps
|
|
15127
|
+
} = useTab$1(_extends({}, props, {
|
|
15128
|
+
ref: handleRef
|
|
15129
|
+
}));
|
|
15130
|
+
React__namespace.useImperativeHandle(action, () => ({
|
|
15131
|
+
focusVisible: () => {
|
|
15132
|
+
setFocusVisible(true);
|
|
15133
|
+
tabRef.current.focus();
|
|
15134
|
+
}
|
|
15135
|
+
}), [setFocusVisible]);
|
|
15136
|
+
|
|
15137
|
+
const ownerState = _extends({}, props, {
|
|
15138
|
+
active,
|
|
15139
|
+
focusVisible,
|
|
15140
|
+
disabled,
|
|
15141
|
+
selected
|
|
15142
|
+
});
|
|
15143
|
+
|
|
15144
|
+
const classes = useUtilityClasses$1N(ownerState);
|
|
15145
|
+
const TabRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
|
|
15146
|
+
const tabRootProps = appendOwnerState(TabRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
15147
|
+
return /*#__PURE__*/jsxRuntime_1(TabRoot, _extends({}, getRootProps(), tabRootProps, {
|
|
15148
|
+
className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
|
|
15149
|
+
ref: ref,
|
|
15150
|
+
children: children
|
|
15151
|
+
}));
|
|
15152
|
+
});
|
|
15153
|
+
TabUnstyled.propTypes
|
|
15154
|
+
/* remove-proptypes */
|
|
15155
|
+
= {
|
|
15156
|
+
// ----------------------------- Warning --------------------------------
|
|
15157
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15158
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
15159
|
+
// ----------------------------------------------------------------------
|
|
15160
|
+
|
|
15161
|
+
/**
|
|
15162
|
+
* A ref for imperative actions. It currently only supports `focusVisible()` action.
|
|
15163
|
+
*/
|
|
15164
|
+
action: propTypes.oneOfType([propTypes.func, propTypes.shape({
|
|
15165
|
+
current: propTypes.shape({
|
|
15166
|
+
focusVisible: propTypes.func.isRequired
|
|
15167
|
+
})
|
|
15168
|
+
})]),
|
|
15169
|
+
|
|
15170
|
+
/**
|
|
15171
|
+
* @ignore
|
|
15172
|
+
*/
|
|
15173
|
+
children: propTypes.node,
|
|
15174
|
+
|
|
15175
|
+
/**
|
|
15176
|
+
* @ignore
|
|
15177
|
+
*/
|
|
15178
|
+
className: propTypes.string,
|
|
15179
|
+
|
|
15180
|
+
/**
|
|
15181
|
+
* The component used for the root node.
|
|
15182
|
+
* Either a string to use a HTML element or a component.
|
|
15183
|
+
*/
|
|
15184
|
+
component: propTypes.elementType,
|
|
15185
|
+
|
|
15186
|
+
/**
|
|
15187
|
+
* The components used for each slot inside the Tab.
|
|
15188
|
+
* Either a string to use a HTML element or a component.
|
|
15189
|
+
* @default {}
|
|
15190
|
+
*/
|
|
15191
|
+
components: propTypes.shape({
|
|
15192
|
+
Root: propTypes.elementType
|
|
15193
|
+
}),
|
|
15194
|
+
|
|
15195
|
+
/**
|
|
15196
|
+
* The props used for each slot inside the Tab.
|
|
15197
|
+
* @default {}
|
|
15198
|
+
*/
|
|
15199
|
+
componentsProps: propTypes.object,
|
|
15200
|
+
|
|
15201
|
+
/**
|
|
15202
|
+
* If `true`, the component is disabled.
|
|
15203
|
+
* @default false
|
|
15204
|
+
*/
|
|
15205
|
+
disabled: propTypes.bool,
|
|
15206
|
+
|
|
15207
|
+
/**
|
|
15208
|
+
* Callback invoked when new value is being set.
|
|
15209
|
+
*/
|
|
15210
|
+
onChange: propTypes.func,
|
|
15211
|
+
|
|
15212
|
+
/**
|
|
15213
|
+
* @ignore
|
|
15214
|
+
*/
|
|
15215
|
+
onClick: propTypes.func,
|
|
15216
|
+
|
|
15217
|
+
/**
|
|
15218
|
+
* @ignore
|
|
15219
|
+
*/
|
|
15220
|
+
onFocus: propTypes.func,
|
|
15221
|
+
|
|
15222
|
+
/**
|
|
15223
|
+
* You can provide your own value. Otherwise, we fall back to the child position index.
|
|
15224
|
+
*/
|
|
15225
|
+
value: propTypes.oneOfType([propTypes.number, propTypes.string])
|
|
15226
|
+
} ;
|
|
15227
|
+
var TabUnstyled$1 = TabUnstyled;
|
|
15228
|
+
|
|
15229
|
+
function getTabsListUnstyledUtilityClass(slot) {
|
|
15230
|
+
return generateUtilityClass('TabsListUnstyled', slot);
|
|
15231
|
+
}
|
|
15232
|
+
const tabsListUnstyledClasses = generateUtilityClasses('TabsListUnstyled', ['root', 'horizontal', 'vertical']);
|
|
15233
|
+
var tabsListUnstyledClasses$1 = tabsListUnstyledClasses;
|
|
15234
|
+
|
|
15235
|
+
const nextItem$2 = (list, item) => {
|
|
15236
|
+
if (!list) {
|
|
15237
|
+
return null;
|
|
15238
|
+
}
|
|
15239
|
+
|
|
15240
|
+
if (list === item) {
|
|
15241
|
+
return list.firstChild;
|
|
15242
|
+
}
|
|
15243
|
+
|
|
15244
|
+
if (item && item.nextElementSibling) {
|
|
15245
|
+
return item.nextElementSibling;
|
|
15246
|
+
}
|
|
15247
|
+
|
|
15248
|
+
return list.firstChild;
|
|
15249
|
+
};
|
|
15250
|
+
|
|
15251
|
+
const previousItem$2 = (list, item) => {
|
|
15252
|
+
if (!list) {
|
|
15253
|
+
return null;
|
|
15254
|
+
}
|
|
15255
|
+
|
|
15256
|
+
if (list === item) {
|
|
15257
|
+
return list.lastChild;
|
|
15258
|
+
}
|
|
15259
|
+
|
|
15260
|
+
if (item && item.previousElementSibling) {
|
|
15261
|
+
return item.previousElementSibling;
|
|
15262
|
+
}
|
|
15263
|
+
|
|
15264
|
+
return list.lastChild;
|
|
15265
|
+
};
|
|
15266
|
+
|
|
15267
|
+
const moveFocus$2 = (list, currentFocus, traversalFunction) => {
|
|
15268
|
+
let wrappedOnce = false;
|
|
15269
|
+
let nextFocus = traversalFunction(list, currentFocus);
|
|
15270
|
+
|
|
15271
|
+
while (list && nextFocus) {
|
|
15272
|
+
// Prevent infinite loop.
|
|
15273
|
+
if (nextFocus === list.firstChild) {
|
|
15274
|
+
if (wrappedOnce) {
|
|
15275
|
+
return;
|
|
15276
|
+
}
|
|
15277
|
+
|
|
15278
|
+
wrappedOnce = true;
|
|
15279
|
+
} // Same logic as useAutocomplete.js
|
|
15280
|
+
|
|
15281
|
+
|
|
15282
|
+
const nextFocusDisabled = nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';
|
|
15283
|
+
|
|
15284
|
+
if (!nextFocus.hasAttribute('tabindex') || nextFocusDisabled) {
|
|
15285
|
+
// Move to the next element.
|
|
15286
|
+
nextFocus = traversalFunction(list, nextFocus);
|
|
15287
|
+
} else {
|
|
15288
|
+
nextFocus.focus();
|
|
15289
|
+
return;
|
|
15290
|
+
}
|
|
15291
|
+
}
|
|
15292
|
+
};
|
|
15293
|
+
|
|
15294
|
+
const useTabsList = props => {
|
|
15295
|
+
const {
|
|
15296
|
+
'aria-label': ariaLabel,
|
|
15297
|
+
'aria-labelledby': ariaLabelledBy,
|
|
15298
|
+
children,
|
|
15299
|
+
ref
|
|
15300
|
+
} = props;
|
|
15301
|
+
const tabsListRef = /*#__PURE__*/React__namespace.createRef();
|
|
15302
|
+
const handleRef = useForkRef(tabsListRef, ref);
|
|
15303
|
+
const context = useTabContext();
|
|
15304
|
+
|
|
15305
|
+
if (context === null) {
|
|
15306
|
+
throw new Error('No TabContext provided');
|
|
15307
|
+
}
|
|
15308
|
+
|
|
15309
|
+
const {
|
|
15310
|
+
value,
|
|
15311
|
+
orientation = 'horizontal',
|
|
15312
|
+
direction = 'ltr'
|
|
15313
|
+
} = context;
|
|
15314
|
+
const isRtl = direction === 'rtl';
|
|
15315
|
+
|
|
15316
|
+
const handleKeyDown = event => {
|
|
15317
|
+
const list = tabsListRef.current;
|
|
15318
|
+
const currentFocus = ownerDocument(list).activeElement; // Keyboard navigation assumes that [role="tab"] are siblings
|
|
15319
|
+
// though we might warn in the future about nested, interactive elements
|
|
15320
|
+
// as a a11y violation
|
|
15321
|
+
|
|
15322
|
+
const role = currentFocus == null ? void 0 : currentFocus.getAttribute('role');
|
|
15323
|
+
|
|
15324
|
+
if (role !== 'tab') {
|
|
15325
|
+
return;
|
|
15326
|
+
}
|
|
15327
|
+
|
|
15328
|
+
let previousItemKey = orientation === 'horizontal' ? 'ArrowLeft' : 'ArrowUp';
|
|
15329
|
+
let nextItemKey = orientation === 'horizontal' ? 'ArrowRight' : 'ArrowDown';
|
|
15330
|
+
|
|
15331
|
+
if (orientation === 'horizontal' && isRtl) {
|
|
15332
|
+
// swap previousItemKey with nextItemKey
|
|
15333
|
+
previousItemKey = 'ArrowRight';
|
|
15334
|
+
nextItemKey = 'ArrowLeft';
|
|
15335
|
+
}
|
|
15336
|
+
|
|
15337
|
+
switch (event.key) {
|
|
15338
|
+
case previousItemKey:
|
|
15339
|
+
event.preventDefault();
|
|
15340
|
+
moveFocus$2(list, currentFocus, previousItem$2);
|
|
15341
|
+
break;
|
|
15342
|
+
|
|
15343
|
+
case nextItemKey:
|
|
15344
|
+
event.preventDefault();
|
|
15345
|
+
moveFocus$2(list, currentFocus, nextItem$2);
|
|
15346
|
+
break;
|
|
15347
|
+
|
|
15348
|
+
case 'Home':
|
|
15349
|
+
event.preventDefault();
|
|
15350
|
+
moveFocus$2(list, null, nextItem$2);
|
|
15351
|
+
break;
|
|
15352
|
+
|
|
15353
|
+
case 'End':
|
|
15354
|
+
event.preventDefault();
|
|
15355
|
+
moveFocus$2(list, null, previousItem$2);
|
|
15356
|
+
break;
|
|
15357
|
+
}
|
|
15358
|
+
};
|
|
15359
|
+
|
|
15360
|
+
const createHandleKeyDown = otherHandlers => event => {
|
|
15361
|
+
var _otherHandlers$onKeyD;
|
|
15362
|
+
|
|
15363
|
+
handleKeyDown(event);
|
|
15364
|
+
(_otherHandlers$onKeyD = otherHandlers.onKeyDown) == null ? void 0 : _otherHandlers$onKeyD.call(otherHandlers, event);
|
|
15365
|
+
};
|
|
15366
|
+
|
|
15367
|
+
const getRootProps = otherHandlers => {
|
|
15368
|
+
const propsEventHandlers = extractEventHandlers(props);
|
|
15369
|
+
|
|
15370
|
+
const externalEventHandlers = _extends({}, propsEventHandlers, otherHandlers);
|
|
15371
|
+
|
|
15372
|
+
const ownEventHandlers = {
|
|
15373
|
+
onKeyDown: createHandleKeyDown(externalEventHandlers)
|
|
15374
|
+
};
|
|
15375
|
+
|
|
15376
|
+
const mergedEventHandlers = _extends({}, externalEventHandlers, ownEventHandlers);
|
|
15377
|
+
|
|
15378
|
+
return _extends({
|
|
15379
|
+
'aria-label': ariaLabel,
|
|
15380
|
+
'aria-labelledby': ariaLabelledBy,
|
|
15381
|
+
'aria-orientation': orientation === 'vertical' ? 'vertical' : null,
|
|
15382
|
+
role: 'tablist',
|
|
15383
|
+
ref: handleRef
|
|
15384
|
+
}, mergedEventHandlers);
|
|
15385
|
+
};
|
|
15386
|
+
|
|
15387
|
+
const processChildren = React__namespace.useCallback(() => {
|
|
15388
|
+
const valueToIndex = new Map();
|
|
15389
|
+
let childIndex = 0;
|
|
15390
|
+
const processedChildren = React__namespace.Children.map(children, child => {
|
|
15391
|
+
if (! /*#__PURE__*/React__namespace.isValidElement(child)) {
|
|
15392
|
+
return null;
|
|
15393
|
+
}
|
|
15394
|
+
|
|
15395
|
+
{
|
|
15396
|
+
if (reactIs_2(child)) {
|
|
15397
|
+
console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
|
|
15398
|
+
}
|
|
15399
|
+
}
|
|
15400
|
+
|
|
15401
|
+
const childValue = child.props.value === undefined ? childIndex : child.props.value;
|
|
15402
|
+
valueToIndex.set(childValue, childIndex);
|
|
15403
|
+
childIndex += 1;
|
|
15404
|
+
return /*#__PURE__*/React__namespace.cloneElement(child, _extends({
|
|
15405
|
+
value: childValue
|
|
15406
|
+
}, childIndex === 1 && value === false && !child.props.tabIndex || value === childValue ? {
|
|
15407
|
+
tabIndex: 0
|
|
15408
|
+
} : {
|
|
15409
|
+
tabIndex: -1
|
|
15410
|
+
}));
|
|
15411
|
+
});
|
|
15412
|
+
return processedChildren;
|
|
15413
|
+
}, [children, value]);
|
|
15414
|
+
return {
|
|
15415
|
+
isRtl,
|
|
15416
|
+
orientation,
|
|
15417
|
+
value,
|
|
15418
|
+
processChildren,
|
|
15419
|
+
getRootProps
|
|
15420
|
+
};
|
|
15421
|
+
};
|
|
15422
|
+
|
|
15423
|
+
var useTabsList$1 = useTabsList;
|
|
15424
|
+
|
|
15425
|
+
const _excluded$29 = ["className", "children", "component", "components", "componentsProps"];
|
|
15426
|
+
|
|
15427
|
+
const useUtilityClasses$1M = ownerState => {
|
|
15428
|
+
const {
|
|
15429
|
+
orientation
|
|
15430
|
+
} = ownerState;
|
|
15431
|
+
const slots = {
|
|
15432
|
+
root: ['root', orientation]
|
|
15433
|
+
};
|
|
15434
|
+
return composeClasses(slots, getTabsListUnstyledUtilityClass, {});
|
|
15435
|
+
};
|
|
15436
|
+
/**
|
|
15437
|
+
*
|
|
15438
|
+
* Demos:
|
|
15439
|
+
*
|
|
15440
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
15441
|
+
*
|
|
15442
|
+
* API:
|
|
15443
|
+
*
|
|
15444
|
+
* - [TabsListUnstyled API](https://mui.com/api/tabs-list-unstyled/)
|
|
15445
|
+
*/
|
|
15446
|
+
|
|
15447
|
+
|
|
15448
|
+
const TabsListUnstyled = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
|
|
15449
|
+
var _ref, _componentsProps$root;
|
|
15450
|
+
|
|
15451
|
+
const {
|
|
15452
|
+
className,
|
|
15453
|
+
component,
|
|
15454
|
+
components = {},
|
|
15455
|
+
componentsProps = {}
|
|
15456
|
+
} = props,
|
|
15457
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$29);
|
|
15458
|
+
|
|
15459
|
+
const {
|
|
15460
|
+
isRtl,
|
|
15461
|
+
orientation,
|
|
15462
|
+
getRootProps,
|
|
15463
|
+
processChildren
|
|
15464
|
+
} = useTabsList$1(_extends({}, props, {
|
|
15465
|
+
ref
|
|
15466
|
+
}));
|
|
15467
|
+
|
|
15468
|
+
const ownerState = _extends({}, props, {
|
|
15469
|
+
isRtl,
|
|
15470
|
+
orientation
|
|
15471
|
+
});
|
|
15472
|
+
|
|
15473
|
+
const classes = useUtilityClasses$1M(ownerState);
|
|
15474
|
+
const TabsListRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
|
|
15475
|
+
const tabsListRootProps = appendOwnerState(TabsListRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
15476
|
+
const processedChildren = processChildren();
|
|
15477
|
+
return /*#__PURE__*/jsxRuntime_1(TabsListRoot, _extends({}, getRootProps(), tabsListRootProps, {
|
|
15478
|
+
className: clsx(className, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, classes.root),
|
|
15479
|
+
children: processedChildren
|
|
15480
|
+
}));
|
|
15481
|
+
});
|
|
15482
|
+
TabsListUnstyled.propTypes
|
|
15483
|
+
/* remove-proptypes */
|
|
15484
|
+
= {
|
|
15485
|
+
// ----------------------------- Warning --------------------------------
|
|
15486
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15487
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
15488
|
+
// ----------------------------------------------------------------------
|
|
15489
|
+
|
|
15490
|
+
/**
|
|
15491
|
+
* The content of the component.
|
|
15492
|
+
*/
|
|
15493
|
+
children: propTypes.node,
|
|
15494
|
+
|
|
15495
|
+
/**
|
|
15496
|
+
* @ignore
|
|
15497
|
+
*/
|
|
15498
|
+
className: propTypes.string,
|
|
15499
|
+
|
|
15500
|
+
/**
|
|
15501
|
+
* The component used for the root node.
|
|
15502
|
+
* Either a string to use a HTML element or a component.
|
|
15503
|
+
*/
|
|
15504
|
+
component: propTypes.elementType,
|
|
15505
|
+
|
|
15506
|
+
/**
|
|
15507
|
+
* The components used for each slot inside the TabsList.
|
|
15508
|
+
* Either a string to use a HTML element or a component.
|
|
15509
|
+
* @default {}
|
|
15510
|
+
*/
|
|
15511
|
+
components: propTypes.shape({
|
|
15512
|
+
Root: propTypes.elementType
|
|
15513
|
+
}),
|
|
15514
|
+
|
|
15515
|
+
/**
|
|
15516
|
+
* The props used for each slot inside the TabsList.
|
|
15517
|
+
* @default {}
|
|
15518
|
+
*/
|
|
15519
|
+
componentsProps: propTypes.object
|
|
15520
|
+
} ;
|
|
15521
|
+
var TabsListUnstyled$1 = TabsListUnstyled;
|
|
15522
|
+
|
|
15523
|
+
function getTabPanelUnstyledUtilityClass(slot) {
|
|
15524
|
+
return generateUtilityClass('TabPanelUnstyled', slot);
|
|
15525
|
+
}
|
|
15526
|
+
const tabPanelUnstyledClasses = generateUtilityClasses('TabPanelUnstyled', ['root', 'hidden']);
|
|
15527
|
+
var tabPanelUnstyledClasses$1 = tabPanelUnstyledClasses;
|
|
15528
|
+
|
|
15529
|
+
const useTabPanel = props => {
|
|
15530
|
+
const {
|
|
15531
|
+
value
|
|
15532
|
+
} = props;
|
|
15533
|
+
const context = useTabContext();
|
|
15534
|
+
|
|
15535
|
+
if (context === null) {
|
|
15536
|
+
throw new Error('No TabContext provided');
|
|
15537
|
+
}
|
|
15538
|
+
|
|
15539
|
+
const hidden = value !== context.value;
|
|
15540
|
+
const id = getPanelId(context, value);
|
|
15541
|
+
const tabId = getTabId(context, value);
|
|
15542
|
+
|
|
15543
|
+
const getRootProps = () => {
|
|
15544
|
+
return {
|
|
15545
|
+
'aria-labelledby': tabId,
|
|
15546
|
+
hidden,
|
|
15547
|
+
id
|
|
15548
|
+
};
|
|
15549
|
+
};
|
|
15550
|
+
|
|
15551
|
+
return {
|
|
15552
|
+
hidden,
|
|
15553
|
+
getRootProps
|
|
15554
|
+
};
|
|
15555
|
+
};
|
|
15556
|
+
|
|
15557
|
+
var useTabPanel$1 = useTabPanel;
|
|
15558
|
+
|
|
15559
|
+
const _excluded$28 = ["children", "className", "value", "components", "componentsProps", "component"];
|
|
15560
|
+
|
|
15561
|
+
const useUtilityClasses$1L = ownerState => {
|
|
15562
|
+
const {
|
|
15563
|
+
hidden
|
|
15564
|
+
} = ownerState;
|
|
15565
|
+
const slots = {
|
|
15566
|
+
root: ['root', hidden && 'hidden']
|
|
15567
|
+
};
|
|
15568
|
+
return composeClasses(slots, getTabPanelUnstyledUtilityClass, {});
|
|
15569
|
+
};
|
|
15570
|
+
/**
|
|
15571
|
+
*
|
|
15572
|
+
* Demos:
|
|
15573
|
+
*
|
|
15574
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
15575
|
+
*
|
|
15576
|
+
* API:
|
|
15577
|
+
*
|
|
15578
|
+
* - [TabPanelUnstyled API](https://mui.com/api/tab-panel-unstyled/)
|
|
15579
|
+
*/
|
|
15580
|
+
|
|
15581
|
+
|
|
15582
|
+
const TabPanelUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabPanelUnstyled(props, ref) {
|
|
15583
|
+
var _ref, _componentsProps$root;
|
|
15584
|
+
|
|
15585
|
+
const {
|
|
15586
|
+
children,
|
|
15587
|
+
className,
|
|
15588
|
+
components = {},
|
|
15589
|
+
componentsProps = {},
|
|
15590
|
+
component
|
|
15591
|
+
} = props,
|
|
15592
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$28);
|
|
15593
|
+
|
|
15594
|
+
const {
|
|
15595
|
+
hidden,
|
|
15596
|
+
getRootProps
|
|
15597
|
+
} = useTabPanel$1(props);
|
|
15598
|
+
|
|
15599
|
+
const ownerState = _extends({}, props, {
|
|
15600
|
+
hidden
|
|
15601
|
+
});
|
|
15602
|
+
|
|
15603
|
+
const classes = useUtilityClasses$1L(ownerState);
|
|
15604
|
+
const TabPanelRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
|
|
15605
|
+
const tabPanelRootProps = appendOwnerState(TabPanelRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
15606
|
+
return /*#__PURE__*/jsxRuntime_1(TabPanelRoot, _extends({}, getRootProps(), {
|
|
15607
|
+
ref: ref,
|
|
15608
|
+
role: "tabpanel"
|
|
15609
|
+
}, tabPanelRootProps, {
|
|
15610
|
+
className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
|
|
15611
|
+
children: !hidden && children
|
|
15612
|
+
}));
|
|
15613
|
+
});
|
|
15614
|
+
TabPanelUnstyled.propTypes
|
|
15615
|
+
/* remove-proptypes */
|
|
15616
|
+
= {
|
|
15617
|
+
// ----------------------------- Warning --------------------------------
|
|
15618
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15619
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
15620
|
+
// ----------------------------------------------------------------------
|
|
15621
|
+
|
|
15622
|
+
/**
|
|
15623
|
+
* The content of the component.
|
|
15624
|
+
*/
|
|
15625
|
+
children: propTypes.node,
|
|
15626
|
+
|
|
15627
|
+
/**
|
|
15628
|
+
* @ignore
|
|
15629
|
+
*/
|
|
15630
|
+
className: propTypes.string,
|
|
15631
|
+
|
|
15632
|
+
/**
|
|
15633
|
+
* The component used for the root node.
|
|
15634
|
+
* Either a string to use a HTML element or a component.
|
|
15635
|
+
*/
|
|
15636
|
+
component: propTypes.elementType,
|
|
15637
|
+
|
|
15638
|
+
/**
|
|
15639
|
+
* The components used for each slot inside the TabPanel.
|
|
15640
|
+
* Either a string to use a HTML element or a component.
|
|
15641
|
+
* @default {}
|
|
15642
|
+
*/
|
|
15643
|
+
components: propTypes.shape({
|
|
15644
|
+
Root: propTypes.elementType
|
|
15645
|
+
}),
|
|
15646
|
+
|
|
15647
|
+
/**
|
|
15648
|
+
* The props used for each slot inside the TabPanel.
|
|
15649
|
+
* @default {}
|
|
15650
|
+
*/
|
|
15651
|
+
componentsProps: propTypes.object,
|
|
15652
|
+
|
|
15653
|
+
/**
|
|
15654
|
+
* The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected.
|
|
15655
|
+
*/
|
|
15656
|
+
value: propTypes.oneOfType([propTypes.number, propTypes.string]).isRequired
|
|
15657
|
+
} ;
|
|
15658
|
+
var TabPanelUnstyled$1 = TabPanelUnstyled;
|
|
15659
|
+
|
|
14668
15660
|
function createMixins(breakpoints, spacing, mixins) {
|
|
14669
15661
|
return _extends({
|
|
14670
15662
|
toolbar: {
|
|
@@ -14850,7 +15842,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14850
15842
|
}
|
|
14851
15843
|
|
|
14852
15844
|
return {
|
|
14853
|
-
main: '#
|
|
15845
|
+
main: '#ed6c02',
|
|
14854
15846
|
// closest to orange[800] that pass 3:1.
|
|
14855
15847
|
light: orange$1[500],
|
|
14856
15848
|
dark: orange$1[900]
|
|
@@ -15705,7 +16697,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
15705
16697
|
/**
|
|
15706
16698
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
15707
16699
|
*/
|
|
15708
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
16700
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
15709
16701
|
|
|
15710
16702
|
/**
|
|
15711
16703
|
* Provides a human-readable title for the element that contains it.
|
|
@@ -17129,7 +18121,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
17129
18121
|
/**
|
|
17130
18122
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17131
18123
|
*/
|
|
17132
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
18124
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
17133
18125
|
|
|
17134
18126
|
/**
|
|
17135
18127
|
* The duration for the transition, in milliseconds.
|
|
@@ -17301,7 +18293,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
17301
18293
|
/**
|
|
17302
18294
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17303
18295
|
*/
|
|
17304
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
18296
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
17305
18297
|
|
|
17306
18298
|
/**
|
|
17307
18299
|
* The variant to use.
|
|
@@ -17578,7 +18570,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
17578
18570
|
/**
|
|
17579
18571
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17580
18572
|
*/
|
|
17581
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
18573
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
17582
18574
|
|
|
17583
18575
|
/**
|
|
17584
18576
|
* The component used for the transition.
|
|
@@ -17690,7 +18682,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
17690
18682
|
/**
|
|
17691
18683
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17692
18684
|
*/
|
|
17693
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
18685
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
17694
18686
|
} ;
|
|
17695
18687
|
var AccordionActions$1 = AccordionActions;
|
|
17696
18688
|
|
|
@@ -17766,7 +18758,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
17766
18758
|
/**
|
|
17767
18759
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
17768
18760
|
*/
|
|
17769
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
18761
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
17770
18762
|
} ;
|
|
17771
18763
|
var AccordionDetails$1 = AccordionDetails;
|
|
17772
18764
|
|
|
@@ -18705,7 +19697,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
18705
19697
|
/**
|
|
18706
19698
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
18707
19699
|
*/
|
|
18708
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
19700
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
18709
19701
|
|
|
18710
19702
|
/**
|
|
18711
19703
|
* @default 0
|
|
@@ -18923,7 +19915,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
18923
19915
|
/**
|
|
18924
19916
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
18925
19917
|
*/
|
|
18926
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
19918
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
18927
19919
|
} ;
|
|
18928
19920
|
var AccordionSummary$1 = AccordionSummary;
|
|
18929
19921
|
|
|
@@ -18978,7 +19970,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
18978
19970
|
color: theme.palette.action.active,
|
|
18979
19971
|
transition: theme.transitions.create('background-color', {
|
|
18980
19972
|
duration: theme.transitions.duration.shortest
|
|
18981
|
-
})
|
|
19973
|
+
})
|
|
19974
|
+
}, !ownerState.disableRipple && {
|
|
18982
19975
|
'&:hover': {
|
|
18983
19976
|
backgroundColor: alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
|
|
18984
19977
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -18995,8 +19988,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
18995
19988
|
ownerState
|
|
18996
19989
|
}) => _extends({}, ownerState.color === 'inherit' && {
|
|
18997
19990
|
color: 'inherit'
|
|
18998
|
-
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && {
|
|
18999
|
-
color: theme.palette[ownerState.color].main
|
|
19991
|
+
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends({
|
|
19992
|
+
color: theme.palette[ownerState.color].main
|
|
19993
|
+
}, !ownerState.disableRipple && {
|
|
19000
19994
|
'&:hover': {
|
|
19001
19995
|
backgroundColor: alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
19002
19996
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -19004,7 +19998,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19004
19998
|
backgroundColor: 'transparent'
|
|
19005
19999
|
}
|
|
19006
20000
|
}
|
|
19007
|
-
}, ownerState.size === 'small' && {
|
|
20001
|
+
}), ownerState.size === 'small' && {
|
|
19008
20002
|
padding: 5,
|
|
19009
20003
|
fontSize: theme.typography.pxToRem(18)
|
|
19010
20004
|
}, ownerState.size === 'large' && {
|
|
@@ -19139,7 +20133,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19139
20133
|
/**
|
|
19140
20134
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
19141
20135
|
*/
|
|
19142
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
20136
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
19143
20137
|
} ;
|
|
19144
20138
|
var IconButton$1 = IconButton;
|
|
19145
20139
|
|
|
@@ -19413,7 +20407,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19413
20407
|
/**
|
|
19414
20408
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
19415
20409
|
*/
|
|
19416
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
20410
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
19417
20411
|
|
|
19418
20412
|
/**
|
|
19419
20413
|
* The variant to use.
|
|
@@ -19601,7 +20595,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19601
20595
|
/**
|
|
19602
20596
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
19603
20597
|
*/
|
|
19604
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
20598
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
19605
20599
|
|
|
19606
20600
|
/**
|
|
19607
20601
|
* Applies the theme typography styles.
|
|
@@ -19711,179 +20705,305 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19711
20705
|
className: propTypes.string,
|
|
19712
20706
|
|
|
19713
20707
|
/**
|
|
19714
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
20708
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
20709
|
+
*/
|
|
20710
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
20711
|
+
} ;
|
|
20712
|
+
var AlertTitle$1 = AlertTitle;
|
|
20713
|
+
|
|
20714
|
+
function getAppBarUtilityClass(slot) {
|
|
20715
|
+
return generateUtilityClass('MuiAppBar', slot);
|
|
20716
|
+
}
|
|
20717
|
+
const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
|
|
20718
|
+
var appBarClasses$1 = appBarClasses;
|
|
20719
|
+
|
|
20720
|
+
const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
|
|
20721
|
+
|
|
20722
|
+
const useUtilityClasses$1y = ownerState => {
|
|
20723
|
+
const {
|
|
20724
|
+
color,
|
|
20725
|
+
position,
|
|
20726
|
+
classes
|
|
20727
|
+
} = ownerState;
|
|
20728
|
+
const slots = {
|
|
20729
|
+
root: ['root', `color${capitalize(color)}`, `position${capitalize(position)}`]
|
|
20730
|
+
};
|
|
20731
|
+
return composeClasses(slots, getAppBarUtilityClass, classes);
|
|
20732
|
+
};
|
|
20733
|
+
|
|
20734
|
+
const AppBarRoot = styled$1(Paper$1, {
|
|
20735
|
+
name: 'MuiAppBar',
|
|
20736
|
+
slot: 'Root',
|
|
20737
|
+
overridesResolver: (props, styles) => {
|
|
20738
|
+
const {
|
|
20739
|
+
ownerState
|
|
20740
|
+
} = props;
|
|
20741
|
+
return [styles.root, styles[`position${capitalize(ownerState.position)}`], styles[`color${capitalize(ownerState.color)}`]];
|
|
20742
|
+
}
|
|
20743
|
+
})(({
|
|
20744
|
+
theme,
|
|
20745
|
+
ownerState
|
|
20746
|
+
}) => {
|
|
20747
|
+
const backgroundColorDefault = theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];
|
|
20748
|
+
return _extends({
|
|
20749
|
+
display: 'flex',
|
|
20750
|
+
flexDirection: 'column',
|
|
20751
|
+
width: '100%',
|
|
20752
|
+
boxSizing: 'border-box',
|
|
20753
|
+
// Prevent padding issue with the Modal and fixed positioned AppBar.
|
|
20754
|
+
flexShrink: 0
|
|
20755
|
+
}, ownerState.position === 'fixed' && {
|
|
20756
|
+
position: 'fixed',
|
|
20757
|
+
zIndex: theme.zIndex.appBar,
|
|
20758
|
+
top: 0,
|
|
20759
|
+
left: 'auto',
|
|
20760
|
+
right: 0,
|
|
20761
|
+
'@media print': {
|
|
20762
|
+
// Prevent the app bar to be visible on each printed page.
|
|
20763
|
+
position: 'absolute'
|
|
20764
|
+
}
|
|
20765
|
+
}, ownerState.position === 'absolute' && {
|
|
20766
|
+
position: 'absolute',
|
|
20767
|
+
zIndex: theme.zIndex.appBar,
|
|
20768
|
+
top: 0,
|
|
20769
|
+
left: 'auto',
|
|
20770
|
+
right: 0
|
|
20771
|
+
}, ownerState.position === 'sticky' && {
|
|
20772
|
+
// ⚠️ sticky is not supported by IE11.
|
|
20773
|
+
position: 'sticky',
|
|
20774
|
+
zIndex: theme.zIndex.appBar,
|
|
20775
|
+
top: 0,
|
|
20776
|
+
left: 'auto',
|
|
20777
|
+
right: 0
|
|
20778
|
+
}, ownerState.position === 'static' && {
|
|
20779
|
+
position: 'static'
|
|
20780
|
+
}, ownerState.position === 'relative' && {
|
|
20781
|
+
position: 'relative'
|
|
20782
|
+
}, ownerState.color === 'default' && {
|
|
20783
|
+
backgroundColor: backgroundColorDefault,
|
|
20784
|
+
color: theme.palette.getContrastText(backgroundColorDefault)
|
|
20785
|
+
}, ownerState.color && ownerState.color !== 'default' && ownerState.color !== 'inherit' && ownerState.color !== 'transparent' && {
|
|
20786
|
+
backgroundColor: theme.palette[ownerState.color].main,
|
|
20787
|
+
color: theme.palette[ownerState.color].contrastText
|
|
20788
|
+
}, ownerState.color === 'inherit' && {
|
|
20789
|
+
color: 'inherit'
|
|
20790
|
+
}, theme.palette.mode === 'dark' && !ownerState.enableColorOnDark && {
|
|
20791
|
+
backgroundColor: null,
|
|
20792
|
+
color: null
|
|
20793
|
+
}, ownerState.color === 'transparent' && _extends({
|
|
20794
|
+
backgroundColor: 'transparent',
|
|
20795
|
+
color: 'inherit'
|
|
20796
|
+
}, theme.palette.mode === 'dark' && {
|
|
20797
|
+
backgroundImage: 'none'
|
|
20798
|
+
}));
|
|
20799
|
+
});
|
|
20800
|
+
const AppBar = /*#__PURE__*/React__namespace.forwardRef(function AppBar(inProps, ref) {
|
|
20801
|
+
const props = useThemeProps({
|
|
20802
|
+
props: inProps,
|
|
20803
|
+
name: 'MuiAppBar'
|
|
20804
|
+
});
|
|
20805
|
+
|
|
20806
|
+
const {
|
|
20807
|
+
className,
|
|
20808
|
+
color = 'primary',
|
|
20809
|
+
enableColorOnDark = false,
|
|
20810
|
+
position = 'fixed'
|
|
20811
|
+
} = props,
|
|
20812
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1S);
|
|
20813
|
+
|
|
20814
|
+
const ownerState = _extends({}, props, {
|
|
20815
|
+
color,
|
|
20816
|
+
position,
|
|
20817
|
+
enableColorOnDark
|
|
20818
|
+
});
|
|
20819
|
+
|
|
20820
|
+
const classes = useUtilityClasses$1y(ownerState);
|
|
20821
|
+
return /*#__PURE__*/jsxRuntime_1(AppBarRoot, _extends({
|
|
20822
|
+
square: true,
|
|
20823
|
+
component: "header",
|
|
20824
|
+
ownerState: ownerState,
|
|
20825
|
+
elevation: 4,
|
|
20826
|
+
className: clsx(classes.root, className, position === 'fixed' && 'mui-fixed'),
|
|
20827
|
+
ref: ref
|
|
20828
|
+
}, other));
|
|
20829
|
+
});
|
|
20830
|
+
AppBar.propTypes
|
|
20831
|
+
/* remove-proptypes */
|
|
20832
|
+
= {
|
|
20833
|
+
// ----------------------------- Warning --------------------------------
|
|
20834
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
20835
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
20836
|
+
// ----------------------------------------------------------------------
|
|
20837
|
+
|
|
20838
|
+
/**
|
|
20839
|
+
* The content of the component.
|
|
20840
|
+
*/
|
|
20841
|
+
children: propTypes.node,
|
|
20842
|
+
|
|
20843
|
+
/**
|
|
20844
|
+
* Override or extend the styles applied to the component.
|
|
20845
|
+
*/
|
|
20846
|
+
classes: propTypes.object,
|
|
20847
|
+
|
|
20848
|
+
/**
|
|
20849
|
+
* @ignore
|
|
20850
|
+
*/
|
|
20851
|
+
className: propTypes.string,
|
|
20852
|
+
|
|
20853
|
+
/**
|
|
20854
|
+
* The color of the component. It supports those theme colors that make sense for this component.
|
|
20855
|
+
* @default 'primary'
|
|
19715
20856
|
*/
|
|
19716
|
-
|
|
19717
|
-
|
|
19718
|
-
|
|
19719
|
-
|
|
19720
|
-
function getAppBarUtilityClass(slot) {
|
|
19721
|
-
return generateUtilityClass('MuiAppBar', slot);
|
|
19722
|
-
}
|
|
19723
|
-
const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
|
|
19724
|
-
var appBarClasses$1 = appBarClasses;
|
|
19725
|
-
|
|
19726
|
-
const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
|
|
19727
|
-
|
|
19728
|
-
const useUtilityClasses$1y = ownerState => {
|
|
19729
|
-
const {
|
|
19730
|
-
color,
|
|
19731
|
-
position,
|
|
19732
|
-
classes
|
|
19733
|
-
} = ownerState;
|
|
19734
|
-
const slots = {
|
|
19735
|
-
root: ['root', `color${capitalize(color)}`, `position${capitalize(position)}`]
|
|
19736
|
-
};
|
|
19737
|
-
return composeClasses(slots, getAppBarUtilityClass, classes);
|
|
19738
|
-
};
|
|
20857
|
+
color: propTypes
|
|
20858
|
+
/* @typescript-to-proptypes-ignore */
|
|
20859
|
+
.oneOfType([propTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), propTypes.string]),
|
|
19739
20860
|
|
|
19740
|
-
|
|
19741
|
-
|
|
19742
|
-
|
|
19743
|
-
|
|
19744
|
-
|
|
19745
|
-
ownerState
|
|
19746
|
-
} = props;
|
|
19747
|
-
return [styles.root, styles[`position${capitalize(ownerState.position)}`], styles[`color${capitalize(ownerState.color)}`]];
|
|
19748
|
-
}
|
|
19749
|
-
})(({
|
|
19750
|
-
theme,
|
|
19751
|
-
ownerState
|
|
19752
|
-
}) => {
|
|
19753
|
-
const backgroundColorDefault = theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];
|
|
19754
|
-
return _extends({
|
|
19755
|
-
display: 'flex',
|
|
19756
|
-
flexDirection: 'column',
|
|
19757
|
-
width: '100%',
|
|
19758
|
-
boxSizing: 'border-box',
|
|
19759
|
-
// Prevent padding issue with the Modal and fixed positioned AppBar.
|
|
19760
|
-
flexShrink: 0
|
|
19761
|
-
}, ownerState.position === 'fixed' && {
|
|
19762
|
-
position: 'fixed',
|
|
19763
|
-
zIndex: theme.zIndex.appBar,
|
|
19764
|
-
top: 0,
|
|
19765
|
-
left: 'auto',
|
|
19766
|
-
right: 0,
|
|
19767
|
-
'@media print': {
|
|
19768
|
-
// Prevent the app bar to be visible on each printed page.
|
|
19769
|
-
position: 'absolute'
|
|
19770
|
-
}
|
|
19771
|
-
}, ownerState.position === 'absolute' && {
|
|
19772
|
-
position: 'absolute',
|
|
19773
|
-
zIndex: theme.zIndex.appBar,
|
|
19774
|
-
top: 0,
|
|
19775
|
-
left: 'auto',
|
|
19776
|
-
right: 0
|
|
19777
|
-
}, ownerState.position === 'sticky' && {
|
|
19778
|
-
// ⚠️ sticky is not supported by IE11.
|
|
19779
|
-
position: 'sticky',
|
|
19780
|
-
zIndex: theme.zIndex.appBar,
|
|
19781
|
-
top: 0,
|
|
19782
|
-
left: 'auto',
|
|
19783
|
-
right: 0
|
|
19784
|
-
}, ownerState.position === 'static' && {
|
|
19785
|
-
position: 'static'
|
|
19786
|
-
}, ownerState.position === 'relative' && {
|
|
19787
|
-
position: 'relative'
|
|
19788
|
-
}, ownerState.color === 'default' && {
|
|
19789
|
-
backgroundColor: backgroundColorDefault,
|
|
19790
|
-
color: theme.palette.getContrastText(backgroundColorDefault)
|
|
19791
|
-
}, ownerState.color && ownerState.color !== 'default' && ownerState.color !== 'inherit' && ownerState.color !== 'transparent' && {
|
|
19792
|
-
backgroundColor: theme.palette[ownerState.color].main,
|
|
19793
|
-
color: theme.palette[ownerState.color].contrastText
|
|
19794
|
-
}, ownerState.color === 'inherit' && {
|
|
19795
|
-
color: 'inherit'
|
|
19796
|
-
}, theme.palette.mode === 'dark' && !ownerState.enableColorOnDark && {
|
|
19797
|
-
backgroundColor: null,
|
|
19798
|
-
color: null
|
|
19799
|
-
}, ownerState.color === 'transparent' && _extends({
|
|
19800
|
-
backgroundColor: 'transparent',
|
|
19801
|
-
color: 'inherit'
|
|
19802
|
-
}, theme.palette.mode === 'dark' && {
|
|
19803
|
-
backgroundImage: 'none'
|
|
19804
|
-
}));
|
|
19805
|
-
});
|
|
19806
|
-
const AppBar = /*#__PURE__*/React__namespace.forwardRef(function AppBar(inProps, ref) {
|
|
19807
|
-
const props = useThemeProps({
|
|
19808
|
-
props: inProps,
|
|
19809
|
-
name: 'MuiAppBar'
|
|
19810
|
-
});
|
|
20861
|
+
/**
|
|
20862
|
+
* If true, the `color` prop is applied in dark mode.
|
|
20863
|
+
* @default false
|
|
20864
|
+
*/
|
|
20865
|
+
enableColorOnDark: propTypes.bool,
|
|
19811
20866
|
|
|
19812
|
-
|
|
19813
|
-
|
|
19814
|
-
|
|
19815
|
-
|
|
19816
|
-
|
|
19817
|
-
|
|
19818
|
-
|
|
20867
|
+
/**
|
|
20868
|
+
* The positioning type. The behavior of the different options is described
|
|
20869
|
+
* [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).
|
|
20870
|
+
* Note: `sticky` is not universally supported and will fall back to `static` when unavailable.
|
|
20871
|
+
* @default 'fixed'
|
|
20872
|
+
*/
|
|
20873
|
+
position: propTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky']),
|
|
19819
20874
|
|
|
19820
|
-
|
|
19821
|
-
|
|
19822
|
-
|
|
19823
|
-
|
|
19824
|
-
|
|
20875
|
+
/**
|
|
20876
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
20877
|
+
*/
|
|
20878
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
20879
|
+
} ;
|
|
20880
|
+
var AppBar$1 = AppBar;
|
|
19825
20881
|
|
|
19826
|
-
|
|
19827
|
-
|
|
19828
|
-
|
|
19829
|
-
|
|
19830
|
-
|
|
19831
|
-
|
|
19832
|
-
|
|
20882
|
+
/**
|
|
20883
|
+
*
|
|
20884
|
+
* Demos:
|
|
20885
|
+
*
|
|
20886
|
+
* - [Autocomplete](https://mui.com/components/autocomplete/)
|
|
20887
|
+
* - [Menus](https://mui.com/components/menus/)
|
|
20888
|
+
* - [Popper](https://mui.com/components/popper/)
|
|
20889
|
+
*
|
|
20890
|
+
* API:
|
|
20891
|
+
*
|
|
20892
|
+
* - [Popper API](https://mui.com/api/popper/)
|
|
20893
|
+
*/
|
|
20894
|
+
const Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(props, ref) {
|
|
20895
|
+
const theme = useTheme$2();
|
|
20896
|
+
return /*#__PURE__*/jsxRuntime_1(PopperUnstyled$1, _extends({
|
|
20897
|
+
direction: theme == null ? void 0 : theme.direction
|
|
20898
|
+
}, props, {
|
|
19833
20899
|
ref: ref
|
|
19834
|
-
}
|
|
20900
|
+
}));
|
|
19835
20901
|
});
|
|
19836
|
-
|
|
20902
|
+
Popper.propTypes
|
|
19837
20903
|
/* remove-proptypes */
|
|
19838
20904
|
= {
|
|
19839
20905
|
// ----------------------------- Warning --------------------------------
|
|
19840
20906
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
19841
|
-
// | To update them edit
|
|
20907
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
19842
20908
|
// ----------------------------------------------------------------------
|
|
19843
20909
|
|
|
19844
20910
|
/**
|
|
19845
|
-
*
|
|
20911
|
+
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
20912
|
+
* or a function that returns either.
|
|
20913
|
+
* It's used to set the position of the popper.
|
|
20914
|
+
* The return value will passed as the reference object of the Popper instance.
|
|
19846
20915
|
*/
|
|
19847
|
-
|
|
20916
|
+
anchorEl: propTypes
|
|
20917
|
+
/* @typescript-to-proptypes-ignore */
|
|
20918
|
+
.oneOfType([HTMLElementType, propTypes.object, propTypes.func]),
|
|
19848
20919
|
|
|
19849
20920
|
/**
|
|
19850
|
-
*
|
|
20921
|
+
* Popper render function or node.
|
|
19851
20922
|
*/
|
|
19852
|
-
|
|
20923
|
+
children: propTypes
|
|
20924
|
+
/* @typescript-to-proptypes-ignore */
|
|
20925
|
+
.oneOfType([propTypes.node, propTypes.func]),
|
|
19853
20926
|
|
|
19854
20927
|
/**
|
|
19855
|
-
*
|
|
20928
|
+
* An HTML element or function that returns one.
|
|
20929
|
+
* The `container` will have the portal children appended to it.
|
|
20930
|
+
*
|
|
20931
|
+
* By default, it uses the body of the top-level document object,
|
|
20932
|
+
* so it's simply `document.body` most of the time.
|
|
19856
20933
|
*/
|
|
19857
|
-
|
|
20934
|
+
container: propTypes
|
|
20935
|
+
/* @typescript-to-proptypes-ignore */
|
|
20936
|
+
.oneOfType([HTMLElementType, propTypes.func]),
|
|
19858
20937
|
|
|
19859
20938
|
/**
|
|
19860
|
-
* The
|
|
19861
|
-
* @default
|
|
20939
|
+
* The `children` will be under the DOM hierarchy of the parent component.
|
|
20940
|
+
* @default false
|
|
19862
20941
|
*/
|
|
19863
|
-
|
|
19864
|
-
/* @typescript-to-proptypes-ignore */
|
|
19865
|
-
.oneOfType([propTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), propTypes.string]),
|
|
20942
|
+
disablePortal: propTypes.bool,
|
|
19866
20943
|
|
|
19867
20944
|
/**
|
|
19868
|
-
*
|
|
20945
|
+
* Always keep the children in the DOM.
|
|
20946
|
+
* This prop can be useful in SEO situation or
|
|
20947
|
+
* when you want to maximize the responsiveness of the Popper.
|
|
19869
20948
|
* @default false
|
|
19870
20949
|
*/
|
|
19871
|
-
|
|
20950
|
+
keepMounted: propTypes.bool,
|
|
19872
20951
|
|
|
19873
20952
|
/**
|
|
19874
|
-
*
|
|
19875
|
-
*
|
|
19876
|
-
*
|
|
19877
|
-
*
|
|
20953
|
+
* Popper.js is based on a "plugin-like" architecture,
|
|
20954
|
+
* most of its features are fully encapsulated "modifiers".
|
|
20955
|
+
*
|
|
20956
|
+
* A modifier is a function that is called each time Popper.js needs to
|
|
20957
|
+
* compute the position of the popper.
|
|
20958
|
+
* For this reason, modifiers should be very performant to avoid bottlenecks.
|
|
20959
|
+
* To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
|
|
19878
20960
|
*/
|
|
19879
|
-
|
|
20961
|
+
modifiers: propTypes.arrayOf(propTypes.shape({
|
|
20962
|
+
data: propTypes.object,
|
|
20963
|
+
effect: propTypes.func,
|
|
20964
|
+
enabled: propTypes.bool,
|
|
20965
|
+
fn: propTypes.func,
|
|
20966
|
+
name: propTypes.any.isRequired,
|
|
20967
|
+
options: propTypes.object,
|
|
20968
|
+
phase: propTypes.oneOf(['afterMain', 'afterRead', 'afterWrite', 'beforeMain', 'beforeRead', 'beforeWrite', 'main', 'read', 'write']),
|
|
20969
|
+
requires: propTypes.arrayOf(propTypes.string),
|
|
20970
|
+
requiresIfExists: propTypes.arrayOf(propTypes.string)
|
|
20971
|
+
})),
|
|
19880
20972
|
|
|
19881
20973
|
/**
|
|
19882
|
-
*
|
|
20974
|
+
* If `true`, the component is shown.
|
|
19883
20975
|
*/
|
|
19884
|
-
|
|
20976
|
+
open: propTypes.bool.isRequired,
|
|
20977
|
+
|
|
20978
|
+
/**
|
|
20979
|
+
* Popper placement.
|
|
20980
|
+
* @default 'bottom'
|
|
20981
|
+
*/
|
|
20982
|
+
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']),
|
|
20983
|
+
|
|
20984
|
+
/**
|
|
20985
|
+
* Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
|
|
20986
|
+
* @default {}
|
|
20987
|
+
*/
|
|
20988
|
+
popperOptions: propTypes.shape({
|
|
20989
|
+
modifiers: propTypes.array,
|
|
20990
|
+
onFirstUpdate: propTypes.func,
|
|
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
|
+
strategy: propTypes.oneOf(['absolute', 'fixed'])
|
|
20993
|
+
}),
|
|
20994
|
+
|
|
20995
|
+
/**
|
|
20996
|
+
* A ref that points to the used popper instance.
|
|
20997
|
+
*/
|
|
20998
|
+
popperRef: refType$1,
|
|
20999
|
+
|
|
21000
|
+
/**
|
|
21001
|
+
* Help supporting a react-transition-group/Transition component.
|
|
21002
|
+
* @default false
|
|
21003
|
+
*/
|
|
21004
|
+
transition: propTypes.bool
|
|
19885
21005
|
} ;
|
|
19886
|
-
var
|
|
21006
|
+
var Popper$1 = Popper;
|
|
19887
21007
|
|
|
19888
21008
|
function getListSubheaderUtilityClass(slot) {
|
|
19889
21009
|
return generateUtilityClass('MuiListSubheader', slot);
|
|
@@ -20030,7 +21150,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
20030
21150
|
/**
|
|
20031
21151
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
20032
21152
|
*/
|
|
20033
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
21153
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
20034
21154
|
} ;
|
|
20035
21155
|
var ListSubheader$1 = ListSubheader;
|
|
20036
21156
|
|
|
@@ -20544,7 +21664,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
20544
21664
|
/**
|
|
20545
21665
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
20546
21666
|
*/
|
|
20547
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
21667
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
20548
21668
|
|
|
20549
21669
|
/**
|
|
20550
21670
|
* The variant to use.
|
|
@@ -20742,6 +21862,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
20742
21862
|
padding: '2.5px 4px'
|
|
20743
21863
|
}
|
|
20744
21864
|
},
|
|
21865
|
+
[`& .${inputBaseClasses$1.hiddenLabel}`]: {
|
|
21866
|
+
paddingTop: 8
|
|
21867
|
+
},
|
|
20745
21868
|
[`& .${autocompleteClasses$1.input}`]: _extends({
|
|
20746
21869
|
flexGrow: 1,
|
|
20747
21870
|
textOverflow: 'ellipsis',
|
|
@@ -21608,7 +22731,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
21608
22731
|
/**
|
|
21609
22732
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
21610
22733
|
*/
|
|
21611
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
22734
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
21612
22735
|
|
|
21613
22736
|
/**
|
|
21614
22737
|
* The value of the autocomplete.
|
|
@@ -21882,7 +23005,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
21882
23005
|
/**
|
|
21883
23006
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
21884
23007
|
*/
|
|
21885
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
23008
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
21886
23009
|
|
|
21887
23010
|
/**
|
|
21888
23011
|
* The shape of the avatar.
|
|
@@ -22054,7 +23177,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
22054
23177
|
/**
|
|
22055
23178
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
22056
23179
|
*/
|
|
22057
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
23180
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
22058
23181
|
|
|
22059
23182
|
/**
|
|
22060
23183
|
* The variant to use.
|
|
@@ -22416,7 +23539,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
22416
23539
|
/**
|
|
22417
23540
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
22418
23541
|
*/
|
|
22419
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
23542
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
22420
23543
|
|
|
22421
23544
|
/**
|
|
22422
23545
|
* The duration for the transition, in milliseconds.
|
|
@@ -22718,7 +23841,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
22718
23841
|
/**
|
|
22719
23842
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
22720
23843
|
*/
|
|
22721
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
23844
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
22722
23845
|
|
|
22723
23846
|
/**
|
|
22724
23847
|
* The variant to use.
|
|
@@ -22856,7 +23979,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
22856
23979
|
/**
|
|
22857
23980
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
22858
23981
|
*/
|
|
22859
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
23982
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
22860
23983
|
|
|
22861
23984
|
/**
|
|
22862
23985
|
* The value of the currently selected `BottomNavigationAction`.
|
|
@@ -23036,7 +24159,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23036
24159
|
/**
|
|
23037
24160
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23038
24161
|
*/
|
|
23039
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
24162
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
23040
24163
|
|
|
23041
24164
|
/**
|
|
23042
24165
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
@@ -23051,7 +24174,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23051
24174
|
*/
|
|
23052
24175
|
|
|
23053
24176
|
const Box = createBox({
|
|
23054
|
-
defaultTheme
|
|
24177
|
+
defaultTheme,
|
|
24178
|
+
defaultClassName: 'MuiBox-root',
|
|
24179
|
+
generateClassName: ClassNameGenerator$1.generate
|
|
23055
24180
|
});
|
|
23056
24181
|
var Box$1 = Box;
|
|
23057
24182
|
|
|
@@ -23065,8 +24190,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23065
24190
|
theme
|
|
23066
24191
|
}) => _extends({
|
|
23067
24192
|
display: 'flex',
|
|
23068
|
-
marginLeft: theme.spacing(0.5)
|
|
23069
|
-
marginRight: theme.spacing(0.5)
|
|
24193
|
+
marginLeft: `calc(${theme.spacing(1)} * 0.5)`,
|
|
24194
|
+
marginRight: `calc(${theme.spacing(1)} * 0.5)`
|
|
23070
24195
|
}, theme.palette.mode === 'light' ? {
|
|
23071
24196
|
backgroundColor: theme.palette.grey[100],
|
|
23072
24197
|
color: theme.palette.grey[700]
|
|
@@ -23343,7 +24468,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23343
24468
|
/**
|
|
23344
24469
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23345
24470
|
*/
|
|
23346
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
24471
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
23347
24472
|
} ;
|
|
23348
24473
|
var Breadcrumbs$1 = Breadcrumbs;
|
|
23349
24474
|
|
|
@@ -23353,7 +24478,18 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23353
24478
|
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']);
|
|
23354
24479
|
var buttonClasses$1 = buttonClasses;
|
|
23355
24480
|
|
|
23356
|
-
|
|
24481
|
+
/**
|
|
24482
|
+
* @ignore - internal component.
|
|
24483
|
+
*/
|
|
24484
|
+
const ButtonGroupContext = /*#__PURE__*/React__namespace.createContext({});
|
|
24485
|
+
|
|
24486
|
+
{
|
|
24487
|
+
ButtonGroupContext.displayName = 'ButtonGroupContext';
|
|
24488
|
+
}
|
|
24489
|
+
|
|
24490
|
+
var ButtonGroupContext$1 = ButtonGroupContext;
|
|
24491
|
+
|
|
24492
|
+
const _excluded$1G = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
23357
24493
|
|
|
23358
24494
|
const useUtilityClasses$1p = ownerState => {
|
|
23359
24495
|
const {
|
|
@@ -23558,24 +24694,47 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23558
24694
|
props: inProps,
|
|
23559
24695
|
name: 'MuiButton'
|
|
23560
24696
|
});
|
|
24697
|
+
const {
|
|
24698
|
+
className: classNameContext,
|
|
24699
|
+
color: colorContext,
|
|
24700
|
+
disabled: disabledContext,
|
|
24701
|
+
disableElevation: disableElevationContext,
|
|
24702
|
+
disableFocusRipple: disableFocusRippleContext,
|
|
24703
|
+
disableRipple: disableRippleContext,
|
|
24704
|
+
fullWidth: fullWidthContext,
|
|
24705
|
+
size: sizeContext,
|
|
24706
|
+
variant: variantContext
|
|
24707
|
+
} = React__namespace.useContext(ButtonGroupContext$1);
|
|
23561
24708
|
|
|
23562
24709
|
const {
|
|
23563
24710
|
children,
|
|
23564
|
-
|
|
24711
|
+
className,
|
|
24712
|
+
color: colorProp,
|
|
23565
24713
|
component = 'button',
|
|
23566
|
-
disabled
|
|
23567
|
-
disableElevation
|
|
23568
|
-
disableFocusRipple
|
|
24714
|
+
disabled: disabledProp,
|
|
24715
|
+
disableElevation: disableElevationProp,
|
|
24716
|
+
disableFocusRipple: disableFocusRippleProp,
|
|
24717
|
+
disableRipple: disableRippleProp,
|
|
23569
24718
|
endIcon: endIconProp,
|
|
23570
24719
|
focusVisibleClassName,
|
|
23571
|
-
fullWidth
|
|
23572
|
-
size
|
|
24720
|
+
fullWidth: fullWidthProp,
|
|
24721
|
+
size: sizeProp,
|
|
23573
24722
|
startIcon: startIconProp,
|
|
23574
24723
|
type,
|
|
23575
|
-
variant
|
|
24724
|
+
variant: variantProp
|
|
23576
24725
|
} = props,
|
|
23577
24726
|
other = _objectWithoutPropertiesLoose(props, _excluded$1G);
|
|
23578
24727
|
|
|
24728
|
+
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.
|
|
24729
|
+
|
|
24730
|
+
const disabled = disabledProp || disabledContext || false;
|
|
24731
|
+
const disableElevation = disableElevationProp || disableElevationContext || false;
|
|
24732
|
+
const disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
|
|
24733
|
+
const fullWidth = fullWidthProp || fullWidthContext || false;
|
|
24734
|
+
const size = sizeProp || sizeContext || 'medium';
|
|
24735
|
+
const variant = variantProp || variantContext || 'text';
|
|
24736
|
+
const disableRipple = disableRippleProp || disableRippleContext || false;
|
|
24737
|
+
|
|
23579
24738
|
const ownerState = _extends({}, props, {
|
|
23580
24739
|
color,
|
|
23581
24740
|
component,
|
|
@@ -23604,8 +24763,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23604
24763
|
|
|
23605
24764
|
return /*#__PURE__*/jsxRuntime_2(ButtonRoot, _extends({
|
|
23606
24765
|
ownerState: ownerState,
|
|
24766
|
+
className: clsx(className, classNameContext),
|
|
23607
24767
|
component: component,
|
|
23608
24768
|
disabled: disabled,
|
|
24769
|
+
disableRipple: disableRipple,
|
|
23609
24770
|
focusRipple: !disableFocusRipple,
|
|
23610
24771
|
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
23611
24772
|
ref: ref,
|
|
@@ -23633,6 +24794,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23633
24794
|
*/
|
|
23634
24795
|
classes: propTypes.object,
|
|
23635
24796
|
|
|
24797
|
+
/**
|
|
24798
|
+
* @ignore
|
|
24799
|
+
*/
|
|
24800
|
+
className: propTypes.string,
|
|
24801
|
+
|
|
23636
24802
|
/**
|
|
23637
24803
|
* The color of the component. It supports those theme colors that make sense for this component.
|
|
23638
24804
|
* @default 'primary'
|
|
@@ -23713,7 +24879,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23713
24879
|
/**
|
|
23714
24880
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23715
24881
|
*/
|
|
23716
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
24882
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
23717
24883
|
|
|
23718
24884
|
/**
|
|
23719
24885
|
* @ignore
|
|
@@ -23832,10 +24998,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23832
24998
|
}
|
|
23833
24999
|
}, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
23834
25000
|
borderColor: theme.palette[ownerState.color].dark
|
|
25001
|
+
}, {
|
|
25002
|
+
'&:hover': _extends({}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
|
|
25003
|
+
borderRightColor: 'currentColor'
|
|
25004
|
+
}, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
|
|
25005
|
+
borderBottomColor: 'currentColor'
|
|
25006
|
+
})
|
|
23835
25007
|
}),
|
|
23836
|
-
'&:hover': _extends({}, ownerState.variant === '
|
|
23837
|
-
borderColor: theme.palette[ownerState.color].main
|
|
23838
|
-
}, ownerState.variant === 'contained' && {
|
|
25008
|
+
'&:hover': _extends({}, ownerState.variant === 'contained' && {
|
|
23839
25009
|
boxShadow: 'none'
|
|
23840
25010
|
})
|
|
23841
25011
|
}, ownerState.variant === 'contained' && {
|
|
@@ -23878,6 +25048,17 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23878
25048
|
});
|
|
23879
25049
|
|
|
23880
25050
|
const classes = useUtilityClasses$1o(ownerState);
|
|
25051
|
+
const context = React__namespace.useMemo(() => ({
|
|
25052
|
+
className: classes.grouped,
|
|
25053
|
+
color,
|
|
25054
|
+
disabled,
|
|
25055
|
+
disableElevation,
|
|
25056
|
+
disableFocusRipple,
|
|
25057
|
+
disableRipple,
|
|
25058
|
+
fullWidth,
|
|
25059
|
+
size,
|
|
25060
|
+
variant
|
|
25061
|
+
}), [color, disabled, disableElevation, disableFocusRipple, disableRipple, fullWidth, size, variant, classes.grouped]);
|
|
23881
25062
|
return /*#__PURE__*/jsxRuntime_1(ButtonGroupRoot, _extends({
|
|
23882
25063
|
as: component,
|
|
23883
25064
|
role: "group",
|
|
@@ -23885,28 +25066,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23885
25066
|
ref: ref,
|
|
23886
25067
|
ownerState: ownerState
|
|
23887
25068
|
}, other, {
|
|
23888
|
-
children:
|
|
23889
|
-
|
|
23890
|
-
|
|
23891
|
-
}
|
|
23892
|
-
|
|
23893
|
-
{
|
|
23894
|
-
if (reactIs_2(child)) {
|
|
23895
|
-
console.error(["MUI: The ButtonGroup component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
|
|
23896
|
-
}
|
|
23897
|
-
}
|
|
23898
|
-
|
|
23899
|
-
return /*#__PURE__*/React__namespace.cloneElement(child, {
|
|
23900
|
-
className: clsx(classes.grouped, child.props.className),
|
|
23901
|
-
color: child.props.color || color,
|
|
23902
|
-
disabled: child.props.disabled || disabled,
|
|
23903
|
-
disableElevation: child.props.disableElevation || disableElevation,
|
|
23904
|
-
disableFocusRipple,
|
|
23905
|
-
disableRipple,
|
|
23906
|
-
fullWidth,
|
|
23907
|
-
size: child.props.size || size,
|
|
23908
|
-
variant: child.props.variant || variant
|
|
23909
|
-
});
|
|
25069
|
+
children: /*#__PURE__*/jsxRuntime_1(ButtonGroupContext$1.Provider, {
|
|
25070
|
+
value: context,
|
|
25071
|
+
children: children
|
|
23910
25072
|
})
|
|
23911
25073
|
}));
|
|
23912
25074
|
});
|
|
@@ -23995,7 +25157,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23995
25157
|
/**
|
|
23996
25158
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
23997
25159
|
*/
|
|
23998
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
25160
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
23999
25161
|
|
|
24000
25162
|
/**
|
|
24001
25163
|
* The variant to use.
|
|
@@ -24096,7 +25258,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24096
25258
|
/**
|
|
24097
25259
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24098
25260
|
*/
|
|
24099
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
25261
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
24100
25262
|
} ;
|
|
24101
25263
|
var Card$1 = Card;
|
|
24102
25264
|
|
|
@@ -24218,7 +25380,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24218
25380
|
/**
|
|
24219
25381
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24220
25382
|
*/
|
|
24221
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
25383
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
24222
25384
|
} ;
|
|
24223
25385
|
var CardActionArea$1 = CardActionArea;
|
|
24224
25386
|
|
|
@@ -24316,7 +25478,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24316
25478
|
/**
|
|
24317
25479
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24318
25480
|
*/
|
|
24319
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
25481
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
24320
25482
|
} ;
|
|
24321
25483
|
var CardActions$1 = CardActions;
|
|
24322
25484
|
|
|
@@ -24406,7 +25568,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24406
25568
|
/**
|
|
24407
25569
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24408
25570
|
*/
|
|
24409
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
25571
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
24410
25572
|
} ;
|
|
24411
25573
|
var CardContent$1 = CardContent;
|
|
24412
25574
|
|
|
@@ -24609,7 +25771,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24609
25771
|
/**
|
|
24610
25772
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24611
25773
|
*/
|
|
24612
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
25774
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
24613
25775
|
|
|
24614
25776
|
/**
|
|
24615
25777
|
* The content of the component.
|
|
@@ -24769,7 +25931,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24769
25931
|
/**
|
|
24770
25932
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
24771
25933
|
*/
|
|
24772
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
25934
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
24773
25935
|
} ;
|
|
24774
25936
|
var CardMedia$1 = CardMedia;
|
|
24775
25937
|
|
|
@@ -25315,7 +26477,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25315
26477
|
/**
|
|
25316
26478
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
25317
26479
|
*/
|
|
25318
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
26480
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
25319
26481
|
|
|
25320
26482
|
/**
|
|
25321
26483
|
* The value of the component. The DOM API casts this to a string.
|
|
@@ -25567,7 +26729,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25567
26729
|
/**
|
|
25568
26730
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
25569
26731
|
*/
|
|
25570
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
26732
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
25571
26733
|
|
|
25572
26734
|
/**
|
|
25573
26735
|
* The thickness of the circle.
|
|
@@ -25935,7 +27097,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25935
27097
|
/**
|
|
25936
27098
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
25937
27099
|
*/
|
|
25938
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
27100
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
25939
27101
|
} ;
|
|
25940
27102
|
var Container$1 = Container;
|
|
25941
27103
|
|
|
@@ -25961,8 +27123,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25961
27123
|
}), propTypes.string, propTypes.bool])
|
|
25962
27124
|
} ;
|
|
25963
27125
|
|
|
25964
|
-
|
|
25965
|
-
const html = {
|
|
27126
|
+
const html = (theme, enableColorScheme) => _extends({
|
|
25966
27127
|
WebkitFontSmoothing: 'antialiased',
|
|
25967
27128
|
// Antialiasing.
|
|
25968
27129
|
MozOsxFontSmoothing: 'grayscale',
|
|
@@ -25972,7 +27133,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25972
27133
|
boxSizing: 'border-box',
|
|
25973
27134
|
// Fix font resize problem in iOS
|
|
25974
27135
|
WebkitTextSizeAdjust: '100%'
|
|
25975
|
-
}
|
|
27136
|
+
}, enableColorScheme && {
|
|
27137
|
+
colorScheme: theme.palette.mode
|
|
27138
|
+
});
|
|
25976
27139
|
const body = theme => _extends({
|
|
25977
27140
|
color: theme.palette.text.primary
|
|
25978
27141
|
}, theme.typography.body1, {
|
|
@@ -25982,11 +27145,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
25982
27145
|
backgroundColor: theme.palette.common.white
|
|
25983
27146
|
}
|
|
25984
27147
|
});
|
|
25985
|
-
const styles$3 = theme => {
|
|
27148
|
+
const styles$3 = (theme, enableColorScheme = false) => {
|
|
25986
27149
|
var _theme$components, _theme$components$Mui;
|
|
25987
27150
|
|
|
25988
27151
|
let defaultStyles = {
|
|
25989
|
-
html,
|
|
27152
|
+
html: html(theme, enableColorScheme),
|
|
25990
27153
|
'*, *::before, *::after': {
|
|
25991
27154
|
boxSizing: 'inherit'
|
|
25992
27155
|
},
|
|
@@ -26021,12 +27184,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26021
27184
|
name: 'MuiCssBaseline'
|
|
26022
27185
|
});
|
|
26023
27186
|
const {
|
|
26024
|
-
children
|
|
27187
|
+
children,
|
|
27188
|
+
enableColorScheme = false
|
|
26025
27189
|
} = props;
|
|
26026
27190
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
26027
|
-
children: [
|
|
26028
|
-
styles: styles$3
|
|
26029
|
-
})
|
|
27191
|
+
children: [/*#__PURE__*/jsxRuntime_1(GlobalStyles, {
|
|
27192
|
+
styles: theme => styles$3(theme, enableColorScheme)
|
|
27193
|
+
}), children]
|
|
26030
27194
|
});
|
|
26031
27195
|
}
|
|
26032
27196
|
|
|
@@ -26041,7 +27205,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26041
27205
|
/**
|
|
26042
27206
|
* You can wrap a node.
|
|
26043
27207
|
*/
|
|
26044
|
-
children: propTypes.node
|
|
27208
|
+
children: propTypes.node,
|
|
27209
|
+
|
|
27210
|
+
/**
|
|
27211
|
+
* Enable `color-scheme` css property to use `theme.palette.mode`.
|
|
27212
|
+
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
27213
|
+
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
27214
|
+
* @default false
|
|
27215
|
+
*/
|
|
27216
|
+
enableColorScheme: propTypes.bool
|
|
26045
27217
|
} ;
|
|
26046
27218
|
|
|
26047
27219
|
// track, thumb and active are derieved from macOS 10.15.7
|
|
@@ -26341,7 +27513,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26341
27513
|
/**
|
|
26342
27514
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26343
27515
|
*/
|
|
26344
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
27516
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
26345
27517
|
} ;
|
|
26346
27518
|
var Modal$1 = Modal;
|
|
26347
27519
|
|
|
@@ -26730,7 +27902,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26730
27902
|
/**
|
|
26731
27903
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26732
27904
|
*/
|
|
26733
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
27905
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
26734
27906
|
|
|
26735
27907
|
/**
|
|
26736
27908
|
* The component used for the transition.
|
|
@@ -26854,7 +28026,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26854
28026
|
/**
|
|
26855
28027
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26856
28028
|
*/
|
|
26857
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
28029
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
26858
28030
|
} ;
|
|
26859
28031
|
var DialogActions$1 = DialogActions;
|
|
26860
28032
|
|
|
@@ -26965,7 +28137,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26965
28137
|
/**
|
|
26966
28138
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
26967
28139
|
*/
|
|
26968
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
28140
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
26969
28141
|
} ;
|
|
26970
28142
|
var DialogContent$1 = DialogContent;
|
|
26971
28143
|
|
|
@@ -27034,7 +28206,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27034
28206
|
/**
|
|
27035
28207
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
27036
28208
|
*/
|
|
27037
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
28209
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
27038
28210
|
} ;
|
|
27039
28211
|
var DialogContentText$1 = DialogContentText;
|
|
27040
28212
|
|
|
@@ -27115,7 +28287,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27115
28287
|
/**
|
|
27116
28288
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
27117
28289
|
*/
|
|
27118
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
28290
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
27119
28291
|
} ;
|
|
27120
28292
|
var DialogTitle$1 = DialogTitle;
|
|
27121
28293
|
|
|
@@ -27247,11 +28419,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27247
28419
|
ownerState
|
|
27248
28420
|
}) => _extends({
|
|
27249
28421
|
display: 'inline-block',
|
|
27250
|
-
paddingLeft: theme.spacing(1.2)
|
|
27251
|
-
paddingRight: theme.spacing(1.2)
|
|
28422
|
+
paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
|
|
28423
|
+
paddingRight: `calc(${theme.spacing(1)} * 1.2)`
|
|
27252
28424
|
}, ownerState.orientation === 'vertical' && {
|
|
27253
|
-
paddingTop: theme.spacing(1.2)
|
|
27254
|
-
paddingBottom: theme.spacing(1.2)
|
|
28425
|
+
paddingTop: `calc(${theme.spacing(1)} * 1.2)`,
|
|
28426
|
+
paddingBottom: `calc(${theme.spacing(1)} * 1.2)`
|
|
27255
28427
|
}));
|
|
27256
28428
|
const Divider = /*#__PURE__*/React__namespace.forwardRef(function Divider(inProps, ref) {
|
|
27257
28429
|
const props = useThemeProps({
|
|
@@ -27363,7 +28535,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27363
28535
|
/**
|
|
27364
28536
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
27365
28537
|
*/
|
|
27366
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
28538
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
27367
28539
|
|
|
27368
28540
|
/**
|
|
27369
28541
|
* The text alignment.
|
|
@@ -27745,7 +28917,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27745
28917
|
var drawerClasses$1 = drawerClasses;
|
|
27746
28918
|
|
|
27747
28919
|
const _excluded$1m = ["BackdropProps"],
|
|
27748
|
-
_excluded2$
|
|
28920
|
+
_excluded2$8 = ["anchor", "BackdropProps", "children", "className", "elevation", "hideBackdrop", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "TransitionComponent", "transitionDuration", "variant"];
|
|
27749
28921
|
|
|
27750
28922
|
const overridesResolver$5 = (props, styles) => {
|
|
27751
28923
|
const {
|
|
@@ -27888,7 +29060,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27888
29060
|
variant = 'temporary'
|
|
27889
29061
|
} = props,
|
|
27890
29062
|
ModalProps = _objectWithoutPropertiesLoose(props.ModalProps, _excluded$1m),
|
|
27891
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
29063
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$8);
|
|
27892
29064
|
|
|
27893
29065
|
const theme = useTheme(); // Let's assume that the Drawer will always be rendered on user space.
|
|
27894
29066
|
// We use this state is order to skip the appear transition during the
|
|
@@ -28042,7 +29214,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
28042
29214
|
/**
|
|
28043
29215
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
28044
29216
|
*/
|
|
28045
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
29217
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
28046
29218
|
|
|
28047
29219
|
/**
|
|
28048
29220
|
* The duration for the transition, in milliseconds.
|
|
@@ -28297,7 +29469,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
28297
29469
|
/**
|
|
28298
29470
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
28299
29471
|
*/
|
|
28300
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
29472
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
28301
29473
|
|
|
28302
29474
|
/**
|
|
28303
29475
|
* The variant to use.
|
|
@@ -28517,8 +29689,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
28517
29689
|
paddingTop: 0
|
|
28518
29690
|
}, ownerState.type === 'search' && {
|
|
28519
29691
|
// Improve type search style.
|
|
28520
|
-
MozAppearance: 'textfield'
|
|
28521
|
-
WebkitAppearance: 'textfield'
|
|
29692
|
+
MozAppearance: 'textfield'
|
|
28522
29693
|
});
|
|
28523
29694
|
});
|
|
28524
29695
|
|
|
@@ -28821,7 +29992,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
28821
29992
|
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
28822
29993
|
}, {
|
|
28823
29994
|
ref: handleInputRef,
|
|
28824
|
-
className: clsx(classes.input, inputProps.className
|
|
29995
|
+
className: clsx(classes.input, inputProps.className),
|
|
28825
29996
|
onBlur: handleBlur,
|
|
28826
29997
|
onChange: handleChange,
|
|
28827
29998
|
onFocus: handleFocus
|
|
@@ -29047,7 +30218,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29047
30218
|
/**
|
|
29048
30219
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29049
30220
|
*/
|
|
29050
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
30221
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
29051
30222
|
|
|
29052
30223
|
/**
|
|
29053
30224
|
* 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).
|
|
@@ -29441,7 +30612,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29441
30612
|
/**
|
|
29442
30613
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29443
30614
|
*/
|
|
29444
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
30615
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
29445
30616
|
|
|
29446
30617
|
/**
|
|
29447
30618
|
* 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).
|
|
@@ -29765,7 +30936,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29765
30936
|
/**
|
|
29766
30937
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29767
30938
|
*/
|
|
29768
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
30939
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
29769
30940
|
|
|
29770
30941
|
/**
|
|
29771
30942
|
* The variant to use.
|
|
@@ -29953,9 +31124,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29953
31124
|
inputRef: refType$1,
|
|
29954
31125
|
|
|
29955
31126
|
/**
|
|
29956
|
-
*
|
|
31127
|
+
* A text or an element to be used in an enclosing label element.
|
|
29957
31128
|
*/
|
|
29958
|
-
label: propTypes.
|
|
31129
|
+
label: propTypes.oneOfType([propTypes.element, propTypes.number, propTypes.string]).isRequired,
|
|
29959
31130
|
|
|
29960
31131
|
/**
|
|
29961
31132
|
* The position of the label.
|
|
@@ -29979,7 +31150,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
29979
31150
|
/**
|
|
29980
31151
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29981
31152
|
*/
|
|
29982
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
31153
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
29983
31154
|
|
|
29984
31155
|
/**
|
|
29985
31156
|
* The value of the component.
|
|
@@ -30086,7 +31257,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30086
31257
|
/**
|
|
30087
31258
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
30088
31259
|
*/
|
|
30089
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
31260
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
30090
31261
|
} ;
|
|
30091
31262
|
var FormGroup$1 = FormGroup;
|
|
30092
31263
|
|
|
@@ -30263,7 +31434,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30263
31434
|
/**
|
|
30264
31435
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
30265
31436
|
*/
|
|
30266
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
31437
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
30267
31438
|
|
|
30268
31439
|
/**
|
|
30269
31440
|
* The variant to use.
|
|
@@ -30444,7 +31615,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30444
31615
|
/**
|
|
30445
31616
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
30446
31617
|
*/
|
|
30447
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
31618
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
30448
31619
|
} ;
|
|
30449
31620
|
var FormLabel$1 = FormLabel;
|
|
30450
31621
|
|
|
@@ -30508,10 +31679,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30508
31679
|
} else {
|
|
30509
31680
|
const columnsBreakpointValues = resolveBreakpointValues({
|
|
30510
31681
|
values: ownerState.columns,
|
|
30511
|
-
|
|
30512
|
-
});
|
|
31682
|
+
breakpoints: theme.breakpoints.values
|
|
31683
|
+
});
|
|
31684
|
+
const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues; // Keep 7 significant numbers.
|
|
30513
31685
|
|
|
30514
|
-
const width = `${Math.round(size /
|
|
31686
|
+
const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
|
|
30515
31687
|
let more = {};
|
|
30516
31688
|
|
|
30517
31689
|
if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
|
|
@@ -30547,9 +31719,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30547
31719
|
theme,
|
|
30548
31720
|
ownerState
|
|
30549
31721
|
}) {
|
|
31722
|
+
const directionValues = resolveBreakpointValues({
|
|
31723
|
+
values: ownerState.direction,
|
|
31724
|
+
breakpoints: theme.breakpoints.values
|
|
31725
|
+
});
|
|
30550
31726
|
return handleBreakpoints({
|
|
30551
31727
|
theme
|
|
30552
|
-
},
|
|
31728
|
+
}, directionValues, propValue => {
|
|
30553
31729
|
const output = {
|
|
30554
31730
|
flexDirection: propValue
|
|
30555
31731
|
};
|
|
@@ -30563,7 +31739,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30563
31739
|
return output;
|
|
30564
31740
|
});
|
|
30565
31741
|
}
|
|
30566
|
-
|
|
30567
31742
|
function generateRowGap({
|
|
30568
31743
|
theme,
|
|
30569
31744
|
ownerState
|
|
@@ -30575,9 +31750,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30575
31750
|
let styles = {};
|
|
30576
31751
|
|
|
30577
31752
|
if (container && rowSpacing !== 0) {
|
|
31753
|
+
const rowSpacingValues = resolveBreakpointValues({
|
|
31754
|
+
values: rowSpacing,
|
|
31755
|
+
breakpoints: theme.breakpoints.values
|
|
31756
|
+
});
|
|
30578
31757
|
styles = handleBreakpoints({
|
|
30579
31758
|
theme
|
|
30580
|
-
},
|
|
31759
|
+
}, rowSpacingValues, propValue => {
|
|
30581
31760
|
const themeSpacing = theme.spacing(propValue);
|
|
30582
31761
|
|
|
30583
31762
|
if (themeSpacing !== '0px') {
|
|
@@ -30606,9 +31785,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30606
31785
|
let styles = {};
|
|
30607
31786
|
|
|
30608
31787
|
if (container && columnSpacing !== 0) {
|
|
31788
|
+
const columnSpacingValues = resolveBreakpointValues({
|
|
31789
|
+
values: columnSpacing,
|
|
31790
|
+
breakpoints: theme.breakpoints.values
|
|
31791
|
+
});
|
|
30609
31792
|
styles = handleBreakpoints({
|
|
30610
31793
|
theme
|
|
30611
|
-
},
|
|
31794
|
+
}, columnSpacingValues, propValue => {
|
|
30612
31795
|
const themeSpacing = theme.spacing(propValue);
|
|
30613
31796
|
|
|
30614
31797
|
if (themeSpacing !== '0px') {
|
|
@@ -30826,18 +32009,26 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30826
32009
|
item: propTypes.bool,
|
|
30827
32010
|
|
|
30828
32011
|
/**
|
|
30829
|
-
*
|
|
30830
|
-
* It'
|
|
32012
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
32013
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
32014
|
+
* If 'auto', the grid item's width matches its content.
|
|
32015
|
+
* If false, the prop is ignored.
|
|
32016
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
32017
|
+
* The value is applied for the `lg` breakpoint and wider screens if not overridden.
|
|
30831
32018
|
* @default false
|
|
30832
32019
|
*/
|
|
30833
|
-
lg: propTypes.oneOfType([propTypes.oneOf(['auto'
|
|
32020
|
+
lg: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
|
|
30834
32021
|
|
|
30835
32022
|
/**
|
|
30836
|
-
*
|
|
30837
|
-
* It'
|
|
32023
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
32024
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
32025
|
+
* If 'auto', the grid item's width matches its content.
|
|
32026
|
+
* If false, the prop is ignored.
|
|
32027
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
32028
|
+
* The value is applied for the `md` breakpoint and wider screens if not overridden.
|
|
30838
32029
|
* @default false
|
|
30839
32030
|
*/
|
|
30840
|
-
md: propTypes.oneOfType([propTypes.oneOf(['auto'
|
|
32031
|
+
md: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
|
|
30841
32032
|
|
|
30842
32033
|
/**
|
|
30843
32034
|
* Defines the vertical space between the type `item` components.
|
|
@@ -30846,11 +32037,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30846
32037
|
rowSpacing: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.number, propTypes.string])), propTypes.number, propTypes.object, propTypes.string]),
|
|
30847
32038
|
|
|
30848
32039
|
/**
|
|
30849
|
-
*
|
|
30850
|
-
* It'
|
|
32040
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
32041
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
32042
|
+
* If 'auto', the grid item's width matches its content.
|
|
32043
|
+
* If false, the prop is ignored.
|
|
32044
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
32045
|
+
* The value is applied for the `sm` breakpoint and wider screens if not overridden.
|
|
30851
32046
|
* @default false
|
|
30852
32047
|
*/
|
|
30853
|
-
sm: propTypes.oneOfType([propTypes.oneOf(['auto'
|
|
32048
|
+
sm: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
|
|
30854
32049
|
|
|
30855
32050
|
/**
|
|
30856
32051
|
* Defines the space between the type `item` components.
|
|
@@ -30862,7 +32057,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30862
32057
|
/**
|
|
30863
32058
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
30864
32059
|
*/
|
|
30865
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
32060
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
30866
32061
|
|
|
30867
32062
|
/**
|
|
30868
32063
|
* Defines the `flex-wrap` style property.
|
|
@@ -30872,18 +32067,26 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30872
32067
|
wrap: propTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
|
|
30873
32068
|
|
|
30874
32069
|
/**
|
|
30875
|
-
*
|
|
30876
|
-
* It'
|
|
32070
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
32071
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
32072
|
+
* If 'auto', the grid item's width matches its content.
|
|
32073
|
+
* If false, the prop is ignored.
|
|
32074
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
32075
|
+
* The value is applied for the `xl` breakpoint and wider screens if not overridden.
|
|
30877
32076
|
* @default false
|
|
30878
32077
|
*/
|
|
30879
|
-
xl: propTypes.oneOfType([propTypes.oneOf(['auto'
|
|
32078
|
+
xl: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
|
|
30880
32079
|
|
|
30881
32080
|
/**
|
|
30882
|
-
*
|
|
30883
|
-
* It'
|
|
32081
|
+
* If a number, it sets the number of columns the grid item uses.
|
|
32082
|
+
* It can't be greater than the total number of columns of the container (12 by default).
|
|
32083
|
+
* If 'auto', the grid item's width matches its content.
|
|
32084
|
+
* If false, the prop is ignored.
|
|
32085
|
+
* If true, the grid item's width grows to use the space available in the grid container.
|
|
32086
|
+
* The value is applied for all the screen sizes with the lowest priority.
|
|
30884
32087
|
* @default false
|
|
30885
32088
|
*/
|
|
30886
|
-
xs: propTypes.oneOfType([propTypes.oneOf(['auto'
|
|
32089
|
+
xs: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
|
|
30887
32090
|
|
|
30888
32091
|
/**
|
|
30889
32092
|
* If `true`, it sets `min-width: 0` on the item.
|
|
@@ -32015,7 +33218,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
32015
33218
|
/**
|
|
32016
33219
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32017
33220
|
*/
|
|
32018
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
33221
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
32019
33222
|
} ;
|
|
32020
33223
|
Icon.muiName = 'Icon';
|
|
32021
33224
|
var Icon$1 = Icon;
|
|
@@ -32192,7 +33395,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
32192
33395
|
/**
|
|
32193
33396
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32194
33397
|
*/
|
|
32195
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
33398
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
32196
33399
|
|
|
32197
33400
|
/**
|
|
32198
33401
|
* The variant to use.
|
|
@@ -32380,7 +33583,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
32380
33583
|
/**
|
|
32381
33584
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32382
33585
|
*/
|
|
32383
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
33586
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
32384
33587
|
} ;
|
|
32385
33588
|
var ImageListItem$1 = ImageListItem;
|
|
32386
33589
|
|
|
@@ -32606,7 +33809,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
32606
33809
|
/**
|
|
32607
33810
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32608
33811
|
*/
|
|
32609
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
33812
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
32610
33813
|
|
|
32611
33814
|
/**
|
|
32612
33815
|
* Title to be displayed.
|
|
@@ -32921,7 +34124,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
32921
34124
|
/**
|
|
32922
34125
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
32923
34126
|
*/
|
|
32924
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
34127
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
32925
34128
|
|
|
32926
34129
|
/**
|
|
32927
34130
|
* 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).
|
|
@@ -33116,7 +34319,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
33116
34319
|
/**
|
|
33117
34320
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
33118
34321
|
*/
|
|
33119
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
34322
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
33120
34323
|
|
|
33121
34324
|
/**
|
|
33122
34325
|
* The variant to use.
|
|
@@ -33329,7 +34532,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
33329
34532
|
/**
|
|
33330
34533
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
33331
34534
|
*/
|
|
33332
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
34535
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
33333
34536
|
|
|
33334
34537
|
/**
|
|
33335
34538
|
* The variant to use.
|
|
@@ -33678,7 +34881,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
33678
34881
|
/**
|
|
33679
34882
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
33680
34883
|
*/
|
|
33681
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
34884
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
33682
34885
|
|
|
33683
34886
|
/**
|
|
33684
34887
|
* The value of the progress indicator for the determinate and buffer variants.
|
|
@@ -33911,7 +35114,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
33911
35114
|
/**
|
|
33912
35115
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
33913
35116
|
*/
|
|
33914
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
35117
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
33915
35118
|
|
|
33916
35119
|
/**
|
|
33917
35120
|
* `classes` prop applied to the [`Typography`](/api/typography/) element.
|
|
@@ -34079,7 +35282,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34079
35282
|
/**
|
|
34080
35283
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
34081
35284
|
*/
|
|
34082
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
35285
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
34083
35286
|
} ;
|
|
34084
35287
|
var List$1 = List;
|
|
34085
35288
|
|
|
@@ -34322,7 +35525,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34322
35525
|
/**
|
|
34323
35526
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
34324
35527
|
*/
|
|
34325
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
35528
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
34326
35529
|
} ;
|
|
34327
35530
|
var ListItemButton$1 = ListItemButton;
|
|
34328
35531
|
|
|
@@ -34418,13 +35621,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34418
35621
|
/**
|
|
34419
35622
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
34420
35623
|
*/
|
|
34421
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
35624
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
34422
35625
|
} ;
|
|
34423
35626
|
ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
|
|
34424
35627
|
var ListItemSecondaryAction$1 = ListItemSecondaryAction;
|
|
34425
35628
|
|
|
34426
35629
|
const _excluded$Y = ["className"],
|
|
34427
|
-
_excluded2$
|
|
35630
|
+
_excluded2$7 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected"];
|
|
34428
35631
|
const overridesResolver$2 = (props, styles) => {
|
|
34429
35632
|
const {
|
|
34430
35633
|
ownerState
|
|
@@ -34567,7 +35770,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34567
35770
|
selected = false
|
|
34568
35771
|
} = props,
|
|
34569
35772
|
ContainerProps = _objectWithoutPropertiesLoose(props.ContainerProps, _excluded$Y),
|
|
34570
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
35773
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$7);
|
|
34571
35774
|
|
|
34572
35775
|
const context = React__namespace.useContext(ListContext$1);
|
|
34573
35776
|
const childContext = {
|
|
@@ -34819,7 +36022,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34819
36022
|
/**
|
|
34820
36023
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
34821
36024
|
*/
|
|
34822
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
36025
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
34823
36026
|
} ;
|
|
34824
36027
|
var ListItem$1 = ListItem;
|
|
34825
36028
|
|
|
@@ -34913,7 +36116,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34913
36116
|
/**
|
|
34914
36117
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
34915
36118
|
*/
|
|
34916
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
36119
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
34917
36120
|
} ;
|
|
34918
36121
|
var ListItemAvatar$1 = ListItemAvatar;
|
|
34919
36122
|
|
|
@@ -35011,7 +36214,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35011
36214
|
/**
|
|
35012
36215
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
35013
36216
|
*/
|
|
35014
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
36217
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
35015
36218
|
} ;
|
|
35016
36219
|
var ListItemIcon$1 = ListItemIcon;
|
|
35017
36220
|
|
|
@@ -35193,7 +36396,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35193
36396
|
/**
|
|
35194
36397
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
35195
36398
|
*/
|
|
35196
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
36399
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
35197
36400
|
} ;
|
|
35198
36401
|
var ListItemText$1 = ListItemText;
|
|
35199
36402
|
|
|
@@ -35506,7 +36709,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35506
36709
|
var popoverClasses$1 = popoverClasses;
|
|
35507
36710
|
|
|
35508
36711
|
const _excluded$T = ["onEntering"],
|
|
35509
|
-
_excluded2$
|
|
36712
|
+
_excluded2$6 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"];
|
|
35510
36713
|
function getOffsetTop(rect, vertical) {
|
|
35511
36714
|
let offset = 0;
|
|
35512
36715
|
|
|
@@ -35608,7 +36811,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35608
36811
|
} = {}
|
|
35609
36812
|
} = props,
|
|
35610
36813
|
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$T),
|
|
35611
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
36814
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$6);
|
|
35612
36815
|
|
|
35613
36816
|
const paperRef = React__namespace.useRef();
|
|
35614
36817
|
const handlePaperRef = useForkRef(paperRef, PaperProps.ref);
|
|
@@ -35947,7 +37150,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35947
37150
|
/**
|
|
35948
37151
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
35949
37152
|
*/
|
|
35950
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
37153
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
35951
37154
|
|
|
35952
37155
|
/**
|
|
35953
37156
|
* This is the point on the popover which
|
|
@@ -35999,7 +37202,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35999
37202
|
var menuClasses$1 = menuClasses;
|
|
36000
37203
|
|
|
36001
37204
|
const _excluded$S = ["onEntering"],
|
|
36002
|
-
_excluded2$
|
|
37205
|
+
_excluded2$5 = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"];
|
|
36003
37206
|
const RTL_ORIGIN = {
|
|
36004
37207
|
vertical: 'top',
|
|
36005
37208
|
horizontal: 'right'
|
|
@@ -36069,7 +37272,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36069
37272
|
variant = 'selectedMenu'
|
|
36070
37273
|
} = props,
|
|
36071
37274
|
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$S),
|
|
36072
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
37275
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$5);
|
|
36073
37276
|
|
|
36074
37277
|
const theme = useTheme();
|
|
36075
37278
|
const isRtl = theme.direction === 'rtl';
|
|
@@ -36250,7 +37453,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36250
37453
|
/**
|
|
36251
37454
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
36252
37455
|
*/
|
|
36253
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
37456
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
36254
37457
|
|
|
36255
37458
|
/**
|
|
36256
37459
|
* The length of the transition in `ms`, or 'auto'
|
|
@@ -36533,7 +37736,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36533
37736
|
/**
|
|
36534
37737
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
36535
37738
|
*/
|
|
36536
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
37739
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
36537
37740
|
|
|
36538
37741
|
/**
|
|
36539
37742
|
* @default 0
|
|
@@ -36746,7 +37949,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36746
37949
|
/**
|
|
36747
37950
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
36748
37951
|
*/
|
|
36749
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
37952
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
36750
37953
|
|
|
36751
37954
|
/**
|
|
36752
37955
|
* The variant to use.
|
|
@@ -36759,7 +37962,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36759
37962
|
function getNativeSelectUtilityClasses(slot) {
|
|
36760
37963
|
return generateUtilityClass('MuiNativeSelect', slot);
|
|
36761
37964
|
}
|
|
36762
|
-
const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
|
|
37965
|
+
const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
|
|
36763
37966
|
var nativeSelectClasses$1 = nativeSelectClasses;
|
|
36764
37967
|
|
|
36765
37968
|
const _excluded$P = ["className", "disabled", "IconComponent", "inputRef", "variant"];
|
|
@@ -36769,10 +37972,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36769
37972
|
classes,
|
|
36770
37973
|
variant,
|
|
36771
37974
|
disabled,
|
|
37975
|
+
multiple,
|
|
36772
37976
|
open
|
|
36773
37977
|
} = ownerState;
|
|
36774
37978
|
const slots = {
|
|
36775
|
-
select: ['select', variant, disabled && 'disabled'],
|
|
37979
|
+
select: ['select', variant, disabled && 'disabled', multiple && 'multiple'],
|
|
36776
37980
|
icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled']
|
|
36777
37981
|
};
|
|
36778
37982
|
return composeClasses(slots, getNativeSelectUtilityClasses, classes);
|
|
@@ -36839,7 +38043,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36839
38043
|
const {
|
|
36840
38044
|
ownerState
|
|
36841
38045
|
} = props;
|
|
36842
|
-
return [styles.select, styles[ownerState.variant]
|
|
38046
|
+
return [styles.select, styles[ownerState.variant], {
|
|
38047
|
+
[`&.${nativeSelectClasses$1.multiple}`]: styles.multiple
|
|
38048
|
+
}];
|
|
36843
38049
|
}
|
|
36844
38050
|
})(nativeSelectSelectStyles);
|
|
36845
38051
|
const nativeSelectIconStyles = ({
|
|
@@ -36973,7 +38179,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36973
38179
|
var NativeSelectInput$1 = NativeSelectInput;
|
|
36974
38180
|
|
|
36975
38181
|
const _excluded$O = ["className", "children", "classes", "IconComponent", "input", "inputProps", "variant"],
|
|
36976
|
-
_excluded2$
|
|
38182
|
+
_excluded2$4 = ["root"];
|
|
36977
38183
|
|
|
36978
38184
|
const useUtilityClasses$D = ownerState => {
|
|
36979
38185
|
const {
|
|
@@ -37020,7 +38226,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37020
38226
|
|
|
37021
38227
|
const classes = useUtilityClasses$D(ownerState);
|
|
37022
38228
|
|
|
37023
|
-
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$
|
|
38229
|
+
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$4);
|
|
37024
38230
|
|
|
37025
38231
|
return /*#__PURE__*/React__namespace.cloneElement(input, _extends({
|
|
37026
38232
|
// Most of the logic is implemented in `NativeSelectInput`.
|
|
@@ -37091,7 +38297,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37091
38297
|
/**
|
|
37092
38298
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
37093
38299
|
*/
|
|
37094
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
38300
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
37095
38301
|
|
|
37096
38302
|
/**
|
|
37097
38303
|
* The `input` value. The DOM API casts this to a string.
|
|
@@ -37128,7 +38334,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37128
38334
|
})(({
|
|
37129
38335
|
ownerState,
|
|
37130
38336
|
theme
|
|
37131
|
-
}) => _extends({
|
|
38337
|
+
}) => _extends({
|
|
38338
|
+
float: 'unset'
|
|
38339
|
+
}, ownerState.label === undefined && {
|
|
37132
38340
|
padding: 0,
|
|
37133
38341
|
lineHeight: '11px',
|
|
37134
38342
|
// sync with `height` in `legend` styles
|
|
@@ -37138,7 +38346,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37138
38346
|
})
|
|
37139
38347
|
}, ownerState.label !== undefined && _extends({
|
|
37140
38348
|
display: 'block',
|
|
38349
|
+
// Fix conflict with normalize.css and sanitize.css
|
|
37141
38350
|
width: 'auto',
|
|
38351
|
+
// Fix conflict with bootstrap
|
|
37142
38352
|
padding: 0,
|
|
37143
38353
|
height: 11,
|
|
37144
38354
|
// sync with `lineHeight` in `legend` styles
|
|
@@ -37149,6 +38359,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37149
38359
|
duration: 50,
|
|
37150
38360
|
easing: theme.transitions.easing.easeOut
|
|
37151
38361
|
}),
|
|
38362
|
+
whiteSpace: 'nowrap',
|
|
37152
38363
|
'& > span': {
|
|
37153
38364
|
paddingLeft: 5,
|
|
37154
38365
|
paddingRight: 5,
|
|
@@ -37534,7 +38745,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37534
38745
|
/**
|
|
37535
38746
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
37536
38747
|
*/
|
|
37537
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
38748
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
37538
38749
|
|
|
37539
38750
|
/**
|
|
37540
38751
|
* 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).
|
|
@@ -37686,7 +38897,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37686
38897
|
d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
37687
38898
|
}), 'NavigateNext');
|
|
37688
38899
|
|
|
37689
|
-
const _excluded$K = ["className", "color", "component", "disabled", "page", "selected", "shape", "size", "type", "variant"];
|
|
38900
|
+
const _excluded$K = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "type", "variant"];
|
|
37690
38901
|
|
|
37691
38902
|
const overridesResolver = (props, styles) => {
|
|
37692
38903
|
const {
|
|
@@ -37885,6 +39096,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37885
39096
|
className,
|
|
37886
39097
|
color = 'standard',
|
|
37887
39098
|
component,
|
|
39099
|
+
components = {
|
|
39100
|
+
first: FirstPageIcon,
|
|
39101
|
+
last: LastPageIcon,
|
|
39102
|
+
next: NavigateNextIcon,
|
|
39103
|
+
previous: NavigateBeforeIcon
|
|
39104
|
+
},
|
|
37888
39105
|
disabled = false,
|
|
37889
39106
|
page,
|
|
37890
39107
|
selected = false,
|
|
@@ -37908,15 +39125,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37908
39125
|
const theme = useTheme();
|
|
37909
39126
|
const classes = useUtilityClasses$B(ownerState);
|
|
37910
39127
|
const normalizedIcons = theme.direction === 'rtl' ? {
|
|
37911
|
-
previous: NavigateNextIcon,
|
|
37912
|
-
next: NavigateBeforeIcon,
|
|
37913
|
-
last: FirstPageIcon,
|
|
37914
|
-
first: LastPageIcon
|
|
39128
|
+
previous: components.next || NavigateNextIcon,
|
|
39129
|
+
next: components.previous || NavigateBeforeIcon,
|
|
39130
|
+
last: components.first || FirstPageIcon,
|
|
39131
|
+
first: components.last || LastPageIcon
|
|
37915
39132
|
} : {
|
|
37916
|
-
previous: NavigateBeforeIcon,
|
|
37917
|
-
next: NavigateNextIcon,
|
|
37918
|
-
first: FirstPageIcon,
|
|
37919
|
-
last: LastPageIcon
|
|
39133
|
+
previous: components.previous || NavigateBeforeIcon,
|
|
39134
|
+
next: components.next || NavigateNextIcon,
|
|
39135
|
+
first: components.first || FirstPageIcon,
|
|
39136
|
+
last: components.last || LastPageIcon
|
|
37920
39137
|
};
|
|
37921
39138
|
const Icon = normalizedIcons[type];
|
|
37922
39139
|
return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsxRuntime_1(PaginationItemEllipsis, {
|
|
@@ -37975,6 +39192,22 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37975
39192
|
*/
|
|
37976
39193
|
component: propTypes.elementType,
|
|
37977
39194
|
|
|
39195
|
+
/**
|
|
39196
|
+
* The components used for first, last, next & previous item type
|
|
39197
|
+
* @default {
|
|
39198
|
+
* first: FirstPageIcon,
|
|
39199
|
+
* last: LastPageIcon,
|
|
39200
|
+
* next: NavigateNextIcon,
|
|
39201
|
+
* previous: NavigateBeforeIcon,
|
|
39202
|
+
* }
|
|
39203
|
+
*/
|
|
39204
|
+
components: propTypes.shape({
|
|
39205
|
+
first: propTypes.elementType,
|
|
39206
|
+
last: propTypes.elementType,
|
|
39207
|
+
next: propTypes.elementType,
|
|
39208
|
+
previous: propTypes.elementType
|
|
39209
|
+
}),
|
|
39210
|
+
|
|
37978
39211
|
/**
|
|
37979
39212
|
* If `true`, the component is disabled.
|
|
37980
39213
|
* @default false
|
|
@@ -38009,7 +39242,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38009
39242
|
/**
|
|
38010
39243
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
38011
39244
|
*/
|
|
38012
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
39245
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
38013
39246
|
|
|
38014
39247
|
/**
|
|
38015
39248
|
* The type of pagination item.
|
|
@@ -38275,7 +39508,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38275
39508
|
/**
|
|
38276
39509
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
38277
39510
|
*/
|
|
38278
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
39511
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
38279
39512
|
|
|
38280
39513
|
/**
|
|
38281
39514
|
* The variant to use.
|
|
@@ -38377,8 +39610,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38377
39610
|
/**
|
|
38378
39611
|
* @ignore - internal component.
|
|
38379
39612
|
*/
|
|
38380
|
-
|
|
38381
|
-
const RadioGroupContext = /*#__PURE__*/React__namespace.createContext();
|
|
39613
|
+
const RadioGroupContext = /*#__PURE__*/React__namespace.createContext(undefined);
|
|
38382
39614
|
|
|
38383
39615
|
{
|
|
38384
39616
|
RadioGroupContext.displayName = 'RadioGroupContext';
|
|
@@ -38606,7 +39838,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38606
39838
|
/**
|
|
38607
39839
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
38608
39840
|
*/
|
|
38609
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
39841
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
38610
39842
|
|
|
38611
39843
|
/**
|
|
38612
39844
|
* The value of the component. The DOM API casts this to a string.
|
|
@@ -38728,7 +39960,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38728
39960
|
var ratingClasses$1 = ratingClasses;
|
|
38729
39961
|
|
|
38730
39962
|
const _excluded$G = ["value"],
|
|
38731
|
-
_excluded2$
|
|
39963
|
+
_excluded2$3 = ["className", "defaultValue", "disabled", "emptyIcon", "emptyLabelText", "getLabelText", "highlightSelectedOnly", "icon", "IconContainerComponent", "max", "name", "onChange", "onChangeActive", "onMouseLeave", "onMouseMove", "precision", "readOnly", "size", "value"];
|
|
38732
39964
|
|
|
38733
39965
|
function clamp$1(value, min, max) {
|
|
38734
39966
|
if (value < min) {
|
|
@@ -39028,7 +40260,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39028
40260
|
size = 'medium',
|
|
39029
40261
|
value: valueProp
|
|
39030
40262
|
} = props,
|
|
39031
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
40263
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$3);
|
|
39032
40264
|
|
|
39033
40265
|
const name = useId(nameProp);
|
|
39034
40266
|
const [valueDerived, setValueState] = useControlled({
|
|
@@ -39423,7 +40655,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39423
40655
|
/**
|
|
39424
40656
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
39425
40657
|
*/
|
|
39426
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
40658
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
39427
40659
|
|
|
39428
40660
|
/**
|
|
39429
40661
|
* The rating value.
|
|
@@ -39438,7 +40670,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39438
40670
|
const scopedCssBaselineClasses = generateUtilityClasses('MuiScopedCssBaseline', ['root']);
|
|
39439
40671
|
var scopedCssBaselineClasses$1 = scopedCssBaselineClasses;
|
|
39440
40672
|
|
|
39441
|
-
const _excluded$F = ["className", "component"];
|
|
40673
|
+
const _excluded$F = ["className", "component", "enableColorScheme"];
|
|
39442
40674
|
|
|
39443
40675
|
const useUtilityClasses$x = ownerState => {
|
|
39444
40676
|
const {
|
|
@@ -39455,15 +40687,18 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39455
40687
|
slot: 'Root',
|
|
39456
40688
|
overridesResolver: (props, styles) => styles.root
|
|
39457
40689
|
})(({
|
|
39458
|
-
theme
|
|
39459
|
-
|
|
39460
|
-
|
|
39461
|
-
|
|
39462
|
-
|
|
39463
|
-
|
|
39464
|
-
|
|
39465
|
-
|
|
39466
|
-
|
|
40690
|
+
theme,
|
|
40691
|
+
ownerState
|
|
40692
|
+
}) => {
|
|
40693
|
+
return _extends({}, html(theme, ownerState.enableColorScheme), body(theme), {
|
|
40694
|
+
'& *, & *::before, & *::after': {
|
|
40695
|
+
boxSizing: 'inherit'
|
|
40696
|
+
},
|
|
40697
|
+
'& strong, & b': {
|
|
40698
|
+
fontWeight: theme.typography.fontWeightBold
|
|
40699
|
+
}
|
|
40700
|
+
});
|
|
40701
|
+
});
|
|
39467
40702
|
const ScopedCssBaseline = /*#__PURE__*/React__namespace.forwardRef(function ScopedCssBaseline(inProps, ref) {
|
|
39468
40703
|
const props = useThemeProps({
|
|
39469
40704
|
props: inProps,
|
|
@@ -39515,14 +40750,21 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39515
40750
|
* The component used for the root node.
|
|
39516
40751
|
* Either a string to use a HTML element or a component.
|
|
39517
40752
|
*/
|
|
39518
|
-
component: propTypes.elementType
|
|
40753
|
+
component: propTypes.elementType,
|
|
40754
|
+
|
|
40755
|
+
/**
|
|
40756
|
+
* Enable `color-scheme` css property to use `theme.palette.mode`.
|
|
40757
|
+
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
40758
|
+
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
40759
|
+
*/
|
|
40760
|
+
enableColorScheme: propTypes.bool
|
|
39519
40761
|
} ;
|
|
39520
40762
|
var ScopedCssBaseline$1 = ScopedCssBaseline;
|
|
39521
40763
|
|
|
39522
40764
|
function getSelectUtilityClasses(slot) {
|
|
39523
40765
|
return generateUtilityClass('MuiSelect', slot);
|
|
39524
40766
|
}
|
|
39525
|
-
const selectClasses = generateUtilityClasses('MuiSelect', ['
|
|
40767
|
+
const selectClasses = generateUtilityClasses('MuiSelect', ['select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
|
|
39526
40768
|
var selectClasses$1 = selectClasses;
|
|
39527
40769
|
|
|
39528
40770
|
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"];
|
|
@@ -39538,6 +40780,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39538
40780
|
[`&.${selectClasses$1.select}`]: styles.select
|
|
39539
40781
|
}, {
|
|
39540
40782
|
[`&.${selectClasses$1.select}`]: styles[ownerState.variant]
|
|
40783
|
+
}, {
|
|
40784
|
+
[`&.${selectClasses$1.multiple}`]: styles.multiple
|
|
39541
40785
|
}];
|
|
39542
40786
|
}
|
|
39543
40787
|
})(nativeSelectSelectStyles, {
|
|
@@ -39595,10 +40839,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39595
40839
|
classes,
|
|
39596
40840
|
variant,
|
|
39597
40841
|
disabled,
|
|
40842
|
+
multiple,
|
|
39598
40843
|
open
|
|
39599
40844
|
} = ownerState;
|
|
39600
40845
|
const slots = {
|
|
39601
|
-
select: ['select', variant, disabled && 'disabled'],
|
|
40846
|
+
select: ['select', variant, disabled && 'disabled', multiple && 'multiple'],
|
|
39602
40847
|
icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled'],
|
|
39603
40848
|
nativeInput: ['nativeInput']
|
|
39604
40849
|
};
|
|
@@ -39874,7 +41119,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39874
41119
|
}
|
|
39875
41120
|
|
|
39876
41121
|
return /*#__PURE__*/React__namespace.cloneElement(child, {
|
|
39877
|
-
'aria-selected': selected ? 'true' :
|
|
41122
|
+
'aria-selected': selected ? 'true' : 'false',
|
|
39878
41123
|
onClick: handleItemClick(child),
|
|
39879
41124
|
onKeyUp: event => {
|
|
39880
41125
|
if (event.key === ' ') {
|
|
@@ -39908,7 +41153,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39908
41153
|
}
|
|
39909
41154
|
|
|
39910
41155
|
if (computeDisplay) {
|
|
39911
|
-
|
|
41156
|
+
if (multiple) {
|
|
41157
|
+
display = displayMultiple.reduce((prev, curr) => [prev, ', ', curr]);
|
|
41158
|
+
} else {
|
|
41159
|
+
display = displaySingle;
|
|
41160
|
+
}
|
|
39912
41161
|
} // Avoid performing a layout computation in the render method.
|
|
39913
41162
|
|
|
39914
41163
|
|
|
@@ -40176,17 +41425,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40176
41425
|
|
|
40177
41426
|
var _Input, _FilledInput;
|
|
40178
41427
|
|
|
40179
|
-
const _excluded$D = ["autoWidth", "children", "classes", "className", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"]
|
|
40180
|
-
_excluded2$3 = ["root"];
|
|
41428
|
+
const _excluded$D = ["autoWidth", "children", "classes", "className", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
|
|
40181
41429
|
|
|
40182
41430
|
const useUtilityClasses$v = ownerState => {
|
|
40183
41431
|
const {
|
|
40184
41432
|
classes
|
|
40185
41433
|
} = ownerState;
|
|
40186
|
-
|
|
40187
|
-
root: ['root']
|
|
40188
|
-
};
|
|
40189
|
-
return composeClasses(slots, getSelectUtilityClasses, classes);
|
|
41434
|
+
return classes;
|
|
40190
41435
|
};
|
|
40191
41436
|
|
|
40192
41437
|
const Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps, ref) {
|
|
@@ -40240,9 +41485,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40240
41485
|
});
|
|
40241
41486
|
|
|
40242
41487
|
const classes = useUtilityClasses$v(ownerState);
|
|
40243
|
-
|
|
40244
|
-
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$3);
|
|
40245
|
-
|
|
40246
41488
|
const inputComponentRef = useForkRef(ref, InputComponent.ref);
|
|
40247
41489
|
return /*#__PURE__*/React__namespace.cloneElement(InputComponent, _extends({
|
|
40248
41490
|
// Most of the logic is implemented in `SelectInput`.
|
|
@@ -40270,13 +41512,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40270
41512
|
id
|
|
40271
41513
|
}, SelectDisplayProps)
|
|
40272
41514
|
}, inputProps, {
|
|
40273
|
-
classes: inputProps ? deepmerge(
|
|
41515
|
+
classes: inputProps ? deepmerge(classes, inputProps.classes) : classes
|
|
40274
41516
|
}, input ? input.props.inputProps : {})
|
|
40275
41517
|
}, multiple && native && variant === 'outlined' ? {
|
|
40276
41518
|
notched: true
|
|
40277
41519
|
} : {}, {
|
|
40278
41520
|
ref: inputComponentRef,
|
|
40279
|
-
className: clsx(
|
|
41521
|
+
className: clsx(InputComponent.props.className, className)
|
|
40280
41522
|
}, other));
|
|
40281
41523
|
});
|
|
40282
41524
|
Select.propTypes
|
|
@@ -40429,7 +41671,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40429
41671
|
/**
|
|
40430
41672
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
40431
41673
|
*/
|
|
40432
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
41674
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
40433
41675
|
|
|
40434
41676
|
/**
|
|
40435
41677
|
* The `input` value. Providing an empty string will select no options.
|
|
@@ -40659,7 +41901,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40659
41901
|
/**
|
|
40660
41902
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
40661
41903
|
*/
|
|
40662
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
41904
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
40663
41905
|
|
|
40664
41906
|
/**
|
|
40665
41907
|
* The type of content that will be rendered.
|
|
@@ -41298,7 +42540,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41298
42540
|
/**
|
|
41299
42541
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
41300
42542
|
*/
|
|
41301
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
42543
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
41302
42544
|
|
|
41303
42545
|
/**
|
|
41304
42546
|
* Tab index attribute of the hidden `input` element.
|
|
@@ -41480,7 +42722,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41480
42722
|
/**
|
|
41481
42723
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
41482
42724
|
*/
|
|
41483
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
42725
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
41484
42726
|
} ;
|
|
41485
42727
|
var SnackbarContent$1 = SnackbarContent;
|
|
41486
42728
|
|
|
@@ -41852,7 +43094,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41852
43094
|
/**
|
|
41853
43095
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
41854
43096
|
*/
|
|
41855
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
43097
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
41856
43098
|
|
|
41857
43099
|
/**
|
|
41858
43100
|
* The component used for the transition.
|
|
@@ -42618,7 +43860,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
42618
43860
|
/**
|
|
42619
43861
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
42620
43862
|
*/
|
|
42621
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
43863
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
42622
43864
|
|
|
42623
43865
|
/**
|
|
42624
43866
|
* The component used for the transition.
|
|
@@ -43243,7 +44485,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43243
44485
|
id: id,
|
|
43244
44486
|
transition: true
|
|
43245
44487
|
}, interactiveWrapperListeners, popperProps, {
|
|
43246
|
-
className: clsx(classes.popper, (_componentsProps$popp = componentsProps.popper) == null ? void 0 : _componentsProps$popp.className),
|
|
44488
|
+
className: clsx(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_componentsProps$popp = componentsProps.popper) == null ? void 0 : _componentsProps$popp.className),
|
|
43247
44489
|
popperOptions: popperOptions,
|
|
43248
44490
|
children: ({
|
|
43249
44491
|
TransitionProps: TransitionPropsInner
|
|
@@ -43308,6 +44550,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43308
44550
|
|
|
43309
44551
|
/**
|
|
43310
44552
|
* The props used for each slot inside the Tooltip.
|
|
44553
|
+
* Note that `componentsProps.popper` prop values win over `PopperProps`
|
|
44554
|
+
* and `componentsProps.transition` prop values win over `TransitionProps` if both are applied.
|
|
43311
44555
|
* @default {}
|
|
43312
44556
|
*/
|
|
43313
44557
|
componentsProps: propTypes.object,
|
|
@@ -43428,7 +44672,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43428
44672
|
/**
|
|
43429
44673
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
43430
44674
|
*/
|
|
43431
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
44675
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
43432
44676
|
|
|
43433
44677
|
/**
|
|
43434
44678
|
* Tooltip title. Zero-length titles string are never displayed.
|
|
@@ -43687,7 +44931,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43687
44931
|
/**
|
|
43688
44932
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
43689
44933
|
*/
|
|
43690
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
44934
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
43691
44935
|
|
|
43692
44936
|
/**
|
|
43693
44937
|
* `classes` prop applied to the [`Tooltip`](/api/tooltip/) element.
|
|
@@ -43857,7 +45101,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43857
45101
|
/**
|
|
43858
45102
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
43859
45103
|
*/
|
|
43860
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
45104
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
43861
45105
|
} ;
|
|
43862
45106
|
SpeedDialIcon.muiName = 'SpeedDialIcon';
|
|
43863
45107
|
var SpeedDialIcon$1 = SpeedDialIcon;
|
|
@@ -43896,7 +45140,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
43896
45140
|
display: 'flex'
|
|
43897
45141
|
}, handleBreakpoints({
|
|
43898
45142
|
theme
|
|
43899
|
-
},
|
|
45143
|
+
}, resolveBreakpointValues({
|
|
45144
|
+
values: ownerState.direction,
|
|
45145
|
+
breakpoints: theme.breakpoints.values
|
|
45146
|
+
}), propValue => ({
|
|
43900
45147
|
flexDirection: propValue
|
|
43901
45148
|
})));
|
|
43902
45149
|
|
|
@@ -44009,7 +45256,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44009
45256
|
/**
|
|
44010
45257
|
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
|
44011
45258
|
*/
|
|
44012
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
45259
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44013
45260
|
} ;
|
|
44014
45261
|
var Stack$1 = Stack;
|
|
44015
45262
|
|
|
@@ -44207,7 +45454,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44207
45454
|
/**
|
|
44208
45455
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
44209
45456
|
*/
|
|
44210
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
45457
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44211
45458
|
} ;
|
|
44212
45459
|
var Step$1 = Step;
|
|
44213
45460
|
|
|
@@ -44386,7 +45633,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44386
45633
|
/**
|
|
44387
45634
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
44388
45635
|
*/
|
|
44389
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
45636
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44390
45637
|
} ;
|
|
44391
45638
|
var StepIcon$1 = StepIcon;
|
|
44392
45639
|
|
|
@@ -44620,7 +45867,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44620
45867
|
/**
|
|
44621
45868
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
44622
45869
|
*/
|
|
44623
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
45870
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44624
45871
|
} ;
|
|
44625
45872
|
StepLabel.muiName = 'StepLabel';
|
|
44626
45873
|
var StepLabel$1 = StepLabel;
|
|
@@ -44754,7 +46001,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44754
46001
|
/**
|
|
44755
46002
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
44756
46003
|
*/
|
|
44757
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
46004
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44758
46005
|
} ;
|
|
44759
46006
|
var StepButton$1 = StepButton;
|
|
44760
46007
|
|
|
@@ -44889,7 +46136,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44889
46136
|
/**
|
|
44890
46137
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
44891
46138
|
*/
|
|
44892
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
46139
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
44893
46140
|
} ;
|
|
44894
46141
|
var StepConnector$1 = StepConnector;
|
|
44895
46142
|
|
|
@@ -45025,7 +46272,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
45025
46272
|
/**
|
|
45026
46273
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
45027
46274
|
*/
|
|
45028
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
46275
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
45029
46276
|
|
|
45030
46277
|
/**
|
|
45031
46278
|
* The component used for the transition.
|
|
@@ -45205,7 +46452,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
45205
46452
|
/**
|
|
45206
46453
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
45207
46454
|
*/
|
|
45208
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
46455
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
45209
46456
|
} ;
|
|
45210
46457
|
var Stepper$1 = Stepper;
|
|
45211
46458
|
|
|
@@ -46216,7 +47463,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
46216
47463
|
/**
|
|
46217
47464
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
46218
47465
|
*/
|
|
46219
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
47466
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
46220
47467
|
|
|
46221
47468
|
/**
|
|
46222
47469
|
* The value of the component. The DOM API casts this to a string.
|
|
@@ -46491,7 +47738,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
46491
47738
|
/**
|
|
46492
47739
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
46493
47740
|
*/
|
|
46494
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
47741
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
46495
47742
|
|
|
46496
47743
|
/**
|
|
46497
47744
|
* You can provide your own value. Otherwise, we fallback to the child position index.
|
|
@@ -46658,7 +47905,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
46658
47905
|
/**
|
|
46659
47906
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
46660
47907
|
*/
|
|
46661
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
47908
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
46662
47909
|
} ;
|
|
46663
47910
|
var Table$1 = Table;
|
|
46664
47911
|
|
|
@@ -46763,7 +48010,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
46763
48010
|
/**
|
|
46764
48011
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
46765
48012
|
*/
|
|
46766
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
48013
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
46767
48014
|
} ;
|
|
46768
48015
|
var TableBody$1 = TableBody;
|
|
46769
48016
|
|
|
@@ -46983,7 +48230,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
46983
48230
|
/**
|
|
46984
48231
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
46985
48232
|
*/
|
|
46986
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
48233
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
46987
48234
|
|
|
46988
48235
|
/**
|
|
46989
48236
|
* Specify the cell type.
|
|
@@ -47075,7 +48322,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47075
48322
|
/**
|
|
47076
48323
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47077
48324
|
*/
|
|
47078
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
48325
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
47079
48326
|
} ;
|
|
47080
48327
|
var TableContainer$1 = TableContainer;
|
|
47081
48328
|
|
|
@@ -47168,7 +48415,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47168
48415
|
/**
|
|
47169
48416
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47170
48417
|
*/
|
|
47171
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
48418
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
47172
48419
|
} ;
|
|
47173
48420
|
var TableFooter$1 = TableFooter;
|
|
47174
48421
|
|
|
@@ -47261,7 +48508,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47261
48508
|
/**
|
|
47262
48509
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47263
48510
|
*/
|
|
47264
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
48511
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
47265
48512
|
} ;
|
|
47266
48513
|
var TableHead$1 = TableHead;
|
|
47267
48514
|
|
|
@@ -47381,7 +48628,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47381
48628
|
/**
|
|
47382
48629
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47383
48630
|
*/
|
|
47384
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
48631
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
47385
48632
|
|
|
47386
48633
|
/**
|
|
47387
48634
|
* The variant to use.
|
|
@@ -47631,7 +48878,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47631
48878
|
to,
|
|
47632
48879
|
count
|
|
47633
48880
|
}) {
|
|
47634
|
-
return `${from}
|
|
48881
|
+
return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
|
|
47635
48882
|
}
|
|
47636
48883
|
|
|
47637
48884
|
function defaultGetAriaLabel(type) {
|
|
@@ -47836,7 +49083,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47836
49083
|
*
|
|
47837
49084
|
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
47838
49085
|
* @default function defaultLabelDisplayedRows({ from, to, count }) {
|
|
47839
|
-
* return `${from}
|
|
49086
|
+
* return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
|
|
47840
49087
|
* }
|
|
47841
49088
|
*/
|
|
47842
49089
|
labelDisplayedRows: propTypes.func,
|
|
@@ -47931,7 +49178,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47931
49178
|
/**
|
|
47932
49179
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
47933
49180
|
*/
|
|
47934
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
49181
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
47935
49182
|
} ;
|
|
47936
49183
|
var TablePagination$1 = TablePagination;
|
|
47937
49184
|
|
|
@@ -48067,7 +49314,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
48067
49314
|
/**
|
|
48068
49315
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
48069
49316
|
*/
|
|
48070
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
49317
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
48071
49318
|
} ;
|
|
48072
49319
|
var TableRow$1 = TableRow;
|
|
48073
49320
|
|
|
@@ -48248,7 +49495,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
48248
49495
|
/**
|
|
48249
49496
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
48250
49497
|
*/
|
|
48251
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
49498
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
48252
49499
|
} ;
|
|
48253
49500
|
var TableSortLabel$1 = TableSortLabel;
|
|
48254
49501
|
|
|
@@ -48481,7 +49728,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
48481
49728
|
/**
|
|
48482
49729
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
48483
49730
|
*/
|
|
48484
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object])
|
|
49731
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
48485
49732
|
} ;
|
|
48486
49733
|
var TabScrollButton$1 = TabScrollButton;
|
|
48487
49734
|
|
|
@@ -49275,7 +50522,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
49275
50522
|
/**
|
|
49276
50523
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
49277
50524
|
*/
|
|
49278
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
50525
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
49279
50526
|
|
|
49280
50527
|
/**
|
|
49281
50528
|
* Props applied to the tab indicator element.
|
|
@@ -49722,7 +50969,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
49722
50969
|
/**
|
|
49723
50970
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
49724
50971
|
*/
|
|
49725
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
50972
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
49726
50973
|
|
|
49727
50974
|
/**
|
|
49728
50975
|
* 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).
|
|
@@ -49964,7 +51211,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
49964
51211
|
/**
|
|
49965
51212
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
49966
51213
|
*/
|
|
49967
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
51214
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
49968
51215
|
|
|
49969
51216
|
/**
|
|
49970
51217
|
* The value to associate with the button when selected in a
|
|
@@ -50226,7 +51473,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50226
51473
|
/**
|
|
50227
51474
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
50228
51475
|
*/
|
|
50229
|
-
sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
|
|
51476
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
|
|
50230
51477
|
|
|
50231
51478
|
/**
|
|
50232
51479
|
* The currently selected value within the group or an array of selected
|
|
@@ -50382,6 +51629,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50382
51629
|
exports.Paper = Paper$1;
|
|
50383
51630
|
exports.Popover = Popover$1;
|
|
50384
51631
|
exports.Popper = Popper$1;
|
|
51632
|
+
exports.PopperUnstyled = PopperUnstyled$1;
|
|
50385
51633
|
exports.Portal = Portal$1;
|
|
50386
51634
|
exports.Radio = Radio$1;
|
|
50387
51635
|
exports.RadioGroup = RadioGroup$1;
|
|
@@ -50419,7 +51667,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50419
51667
|
exports.Switch = Switch$1;
|
|
50420
51668
|
exports.SwitchUnstyled = SwitchUnstyled$1;
|
|
50421
51669
|
exports.Tab = Tab$1;
|
|
51670
|
+
exports.TabPanelUnstyled = TabPanelUnstyled$1;
|
|
50422
51671
|
exports.TabScrollButton = TabScrollButton$1;
|
|
51672
|
+
exports.TabUnstyled = TabUnstyled$1;
|
|
50423
51673
|
exports.Table = Table$1;
|
|
50424
51674
|
exports.TableBody = TableBody$1;
|
|
50425
51675
|
exports.TableCell = TableCell$1;
|
|
@@ -50430,6 +51680,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50430
51680
|
exports.TableRow = TableRow$1;
|
|
50431
51681
|
exports.TableSortLabel = TableSortLabel$1;
|
|
50432
51682
|
exports.Tabs = Tabs$1;
|
|
51683
|
+
exports.TabsContext = Context$1;
|
|
51684
|
+
exports.TabsListUnstyled = TabsListUnstyled$1;
|
|
51685
|
+
exports.TabsUnstyled = TabsUnstyled$1;
|
|
50433
51686
|
exports.TextField = TextField$1;
|
|
50434
51687
|
exports.TextareaAutosize = TextareaAutosize$1;
|
|
50435
51688
|
exports.ThemeProvider = ThemeProvider;
|
|
@@ -50500,6 +51753,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50500
51753
|
exports.easing = easing;
|
|
50501
51754
|
exports.emphasize = emphasize;
|
|
50502
51755
|
exports.experimentalStyled = styled$1;
|
|
51756
|
+
exports.experimental_sx = sx;
|
|
50503
51757
|
exports.extractEventHandlers = extractEventHandlers;
|
|
50504
51758
|
exports.fabClasses = fabClasses$1;
|
|
50505
51759
|
exports.filledInputClasses = filledInputClasses$1;
|
|
@@ -50587,6 +51841,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50587
51841
|
exports.getOutlinedInputUtilityClass = getOutlinedInputUtilityClass;
|
|
50588
51842
|
exports.getPaginationItemUtilityClass = getPaginationItemUtilityClass;
|
|
50589
51843
|
exports.getPaginationUtilityClass = getPaginationUtilityClass;
|
|
51844
|
+
exports.getPanelId = getPanelId;
|
|
50590
51845
|
exports.getPaperUtilityClass = getPaperUtilityClass;
|
|
50591
51846
|
exports.getPopoverUtilityClass = getPopoverUtilityClass;
|
|
50592
51847
|
exports.getRadioUtilityClass = getRadioUtilityClass;
|
|
@@ -50610,7 +51865,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50610
51865
|
exports.getSvgIconUtilityClass = getSvgIconUtilityClass;
|
|
50611
51866
|
exports.getSwitchUnstyledUtilityClass = getSwitchUnstyledUtilityClass;
|
|
50612
51867
|
exports.getSwitchUtilityClass = getSwitchUtilityClass;
|
|
51868
|
+
exports.getTabId = getTabId;
|
|
51869
|
+
exports.getTabPanelUnstyledUtilityClass = getTabPanelUnstyledUtilityClass;
|
|
50613
51870
|
exports.getTabScrollButtonUtilityClass = getTabScrollButtonUtilityClass;
|
|
51871
|
+
exports.getTabUnstyledUtilityClass = getTabUnstyledUtilityClass;
|
|
50614
51872
|
exports.getTabUtilityClass = getTabUtilityClass;
|
|
50615
51873
|
exports.getTableBodyUtilityClass = getTableBodyUtilityClass;
|
|
50616
51874
|
exports.getTableCellUtilityClass = getTableCellUtilityClass;
|
|
@@ -50621,6 +51879,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50621
51879
|
exports.getTableRowUtilityClass = getTableRowUtilityClass;
|
|
50622
51880
|
exports.getTableSortLabelUtilityClass = getTableSortLabelUtilityClass;
|
|
50623
51881
|
exports.getTableUtilityClass = getTableUtilityClass;
|
|
51882
|
+
exports.getTabsListUnstyledUtilityClass = getTabsListUnstyledUtilityClass;
|
|
51883
|
+
exports.getTabsUnstyledUtilityClass = getTabsUnstyledUtilityClass;
|
|
50624
51884
|
exports.getTabsUtilityClass = getTabsUtilityClass;
|
|
50625
51885
|
exports.getTextFieldUtilityClass = getTextFieldUtilityClass;
|
|
50626
51886
|
exports.getToggleButtonGroupUtilityClass = getToggleButtonGroupUtilityClass;
|
|
@@ -50699,7 +51959,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50699
51959
|
exports.switchClasses = switchClasses$1;
|
|
50700
51960
|
exports.switchUnstyledClasses = classes;
|
|
50701
51961
|
exports.tabClasses = tabClasses$1;
|
|
51962
|
+
exports.tabPanelUnstyledClasses = tabPanelUnstyledClasses$1;
|
|
50702
51963
|
exports.tabScrollButtonClasses = tabScrollButtonClasses$1;
|
|
51964
|
+
exports.tabUnstyledClasses = tabUnstyledClasses$1;
|
|
50703
51965
|
exports.tableBodyClasses = tableBodyClasses$1;
|
|
50704
51966
|
exports.tableCellClasses = tableCellClasses$1;
|
|
50705
51967
|
exports.tableClasses = tableClasses$1;
|
|
@@ -50710,6 +51972,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50710
51972
|
exports.tableRowClasses = tableRowClasses$1;
|
|
50711
51973
|
exports.tableSortLabelClasses = tableSortLabelClasses$1;
|
|
50712
51974
|
exports.tabsClasses = tabsClasses$1;
|
|
51975
|
+
exports.tabsListUnstyledClasses = tabsListUnstyledClasses$1;
|
|
51976
|
+
exports.tabsUnstyledClasses = tabsUnstyledClasses$1;
|
|
50713
51977
|
exports.textFieldClasses = textFieldClasses$1;
|
|
50714
51978
|
exports.toggleButtonClasses = toggleButtonClasses$1;
|
|
50715
51979
|
exports.toggleButtonGroupClasses = toggleButtonGroupClasses$1;
|
|
@@ -50739,6 +52003,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50739
52003
|
exports.useRadioGroup = useRadioGroup;
|
|
50740
52004
|
exports.useScrollTrigger = useScrollTrigger;
|
|
50741
52005
|
exports.useSwitch = useSwitch;
|
|
52006
|
+
exports.useTab = useTab$1;
|
|
52007
|
+
exports.useTabContext = useTabContext;
|
|
52008
|
+
exports.useTabPanel = useTabPanel$1;
|
|
52009
|
+
exports.useTabs = useTabs$1;
|
|
52010
|
+
exports.useTabsList = useTabsList$1;
|
|
50742
52011
|
exports.useTheme = useTheme;
|
|
50743
52012
|
exports.useThemeProps = useThemeProps;
|
|
50744
52013
|
exports.withStyles = withStyles;
|