@mui/material 5.1.0 → 5.2.2
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 +1 -1
- package/Accordion/accordionClasses.d.ts +18 -18
- package/Accordion/accordionClasses.js +1 -1
- package/AccordionActions/AccordionActions.js +1 -1
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionActions/accordionActionsClasses.js +1 -1
- package/AccordionDetails/AccordionDetails.js +1 -1
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionDetails/accordionDetailsClasses.js +1 -1
- package/AccordionSummary/AccordionSummary.js +1 -1
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/Alert/Alert.js +1 -1
- package/Alert/alertClasses.d.ts +44 -44
- package/Alert/alertClasses.js +1 -1
- package/AlertTitle/AlertTitle.js +1 -1
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AlertTitle/alertTitleClasses.js +1 -1
- package/AppBar/AppBar.js +1 -1
- package/AppBar/appBarClasses.d.ts +28 -28
- package/AppBar/appBarClasses.js +1 -1
- package/Autocomplete/Autocomplete.d.ts +1 -1
- package/Autocomplete/Autocomplete.js +1 -1
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Autocomplete/autocompleteClasses.js +1 -1
- package/Avatar/Avatar.js +1 -1
- package/Avatar/avatarClasses.d.ts +20 -20
- package/Avatar/avatarClasses.js +1 -1
- package/AvatarGroup/AvatarGroup.js +1 -1
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/AvatarGroup/avatarGroupClasses.js +1 -1
- package/Backdrop/Backdrop.d.ts +1 -1
- package/Backdrop/Backdrop.js +2 -2
- package/Badge/Badge.d.ts +1 -1
- package/Badge/Badge.js +2 -2
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigation/bottomNavigationClasses.js +1 -1
- package/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
- package/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/Breadcrumbs/Breadcrumbs.js +1 -1
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.js +1 -1
- package/Button/Button.js +1 -1
- package/Button/buttonClasses.d.ts +76 -76
- package/Button/buttonClasses.js +1 -1
- package/ButtonBase/ButtonBase.js +1 -1
- 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 +1 -1
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/ButtonGroup/buttonGroupClasses.js +1 -1
- package/CHANGELOG.md +257 -10
- package/Card/Card.js +1 -1
- package/Card/cardClasses.d.ts +8 -8
- package/Card/cardClasses.js +1 -1
- package/CardActionArea/CardActionArea.js +1 -1
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActionArea/cardActionAreaClasses.js +1 -1
- package/CardActions/CardActions.js +1 -1
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardActions/cardActionsClasses.js +1 -1
- package/CardContent/CardContent.js +1 -1
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardContent/cardContentClasses.js +1 -1
- package/CardHeader/CardHeader.js +1 -1
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardHeader/cardHeaderClasses.js +1 -1
- package/CardMedia/CardMedia.js +1 -1
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/CardMedia/cardMediaClasses.js +1 -1
- package/Checkbox/Checkbox.js +1 -1
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Checkbox/checkboxClasses.js +1 -1
- package/Chip/Chip.js +1 -1
- package/Chip/chipClasses.d.ts +80 -80
- package/Chip/chipClasses.js +1 -1
- package/CircularProgress/CircularProgress.js +1 -1
- 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 +1 -1
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Collapse/collapseClasses.js +1 -1
- package/Container/Container.js +1 -1
- package/Container/containerClasses.d.ts +22 -22
- package/Container/containerClasses.js +1 -1
- package/CssBaseline/CssBaseline.d.ts +1 -1
- package/CssBaseline/CssBaseline.js +1 -1
- package/Dialog/Dialog.js +1 -1
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/Dialog/dialogClasses.js +1 -1
- package/DialogActions/DialogActions.js +1 -1
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogActions/dialogActionsClasses.js +1 -1
- package/DialogContent/DialogContent.js +1 -1
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.js +1 -1
- package/DialogContentText/DialogContentText.js +1 -1
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogContentText/dialogContentTextClasses.js +1 -1
- package/DialogTitle/DialogTitle.js +1 -1
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.js +1 -1
- package/Divider/Divider.js +5 -5
- package/Divider/dividerClasses.d.ts +34 -34
- package/Divider/dividerClasses.js +1 -1
- package/Drawer/Drawer.js +1 -1
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Drawer/drawerClasses.js +1 -1
- package/Fab/Fab.js +1 -1
- package/Fab/fabClasses.d.ts +26 -26
- package/Fab/fabClasses.js +1 -1
- package/FilledInput/FilledInput.js +1 -1
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FilledInput/filledInputClasses.js +1 -1
- package/FormControl/FormControl.js +1 -1
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/formControlClasses.js +1 -1
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
- package/FormControlLabel/formControlLabelClasses.js +1 -1
- package/FormGroup/FormGroup.js +1 -1
- package/FormGroup/formGroupClasses.d.ts +10 -10
- package/FormGroup/formGroupClasses.js +1 -1
- package/FormHelperText/FormHelperText.js +1 -1
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormHelperText/formHelperTextClasses.js +1 -1
- package/FormLabel/FormLabel.js +1 -1
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.js +1 -1
- package/Grid/Grid.js +1 -1
- 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 +1 -1
- package/Icon/iconClasses.d.ts +24 -24
- package/Icon/iconClasses.js +1 -1
- package/IconButton/IconButton.js +7 -5
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/IconButton/iconButtonClasses.js +1 -1
- package/ImageList/ImageList.js +1 -1
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageList/imageListClasses.js +1 -1
- package/ImageListItem/ImageListItem.js +1 -1
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItem/imageListItemClasses.js +1 -1
- package/ImageListItemBar/ImageListItemBar.js +1 -1
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/Input/Input.js +1 -1
- package/Input/inputClasses.d.ts +34 -34
- package/Input/inputClasses.js +1 -1
- package/InputAdornment/InputAdornment.js +1 -1
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputAdornment/inputAdornmentClasses.js +1 -1
- package/InputBase/InputBase.js +1 -1
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputBase/inputBaseClasses.js +1 -1
- package/InputLabel/InputLabel.js +1 -1
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/InputLabel/inputLabelClasses.js +1 -1
- package/LinearProgress/LinearProgress.js +1 -1
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/LinearProgress/linearProgressClasses.js +1 -1
- package/Link/Link.js +1 -1
- package/Link/linkClasses.d.ts +18 -18
- package/Link/linkClasses.js +1 -1
- package/List/List.d.ts +12 -2
- package/List/List.js +1 -1
- package/List/listClasses.d.ts +14 -14
- package/List/listClasses.js +1 -1
- package/ListItem/ListItem.js +1 -1
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItem/listItemClasses.js +1 -1
- package/ListItemAvatar/ListItemAvatar.js +1 -1
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemAvatar/listItemAvatarClasses.js +1 -1
- package/ListItemButton/ListItemButton.js +1 -1
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemButton/listItemButtonClasses.js +1 -1
- package/ListItemIcon/ListItemIcon.js +1 -1
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemIcon/listItemIconClasses.js +1 -1
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
- package/ListItemText/ListItemText.js +1 -1
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListItemText/listItemTextClasses.js +1 -1
- package/ListSubheader/ListSubheader.js +1 -1
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.js +1 -1
- package/Menu/Menu.js +1 -1
- package/Menu/menuClasses.d.ts +12 -12
- package/Menu/menuClasses.js +1 -1
- package/MenuItem/MenuItem.js +1 -1
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MenuItem/menuItemClasses.js +1 -1
- package/MenuList/MenuList.d.ts +47 -36
- package/MobileStepper/MobileStepper.js +1 -1
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/MobileStepper/mobileStepperClasses.js +1 -1
- package/Modal/Modal.d.ts +1 -1
- package/Modal/Modal.js +2 -2
- package/Modal/index.d.ts +1 -1
- package/Modal/index.js +1 -1
- package/NativeSelect/NativeSelect.js +1 -1
- 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/OutlinedInput.js +1 -1
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OutlinedInput/outlinedInputClasses.js +1 -1
- package/Pagination/Pagination.js +1 -1
- package/Pagination/paginationClasses.d.ts +14 -14
- package/Pagination/paginationClasses.js +1 -1
- package/PaginationItem/PaginationItem.js +1 -1
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/PaginationItem/paginationItemClasses.js +1 -1
- package/Paper/Paper.js +1 -1
- package/Paper/paperClasses.d.ts +39 -39
- package/Paper/paperClasses.js +1 -1
- package/Popover/Popover.js +1 -1
- 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/README.md +2 -0
- package/Radio/Radio.js +1 -1
- package/Radio/radioClasses.d.ts +16 -16
- package/Radio/radioClasses.js +1 -1
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/Rating.js +1 -1
- package/Rating/ratingClasses.d.ts +40 -40
- package/Rating/ratingClasses.js +1 -1
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +1 -1
- package/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
- package/Select/Select.js +4 -13
- package/Select/SelectInput.js +11 -4
- package/Select/selectClasses.d.ts +30 -30
- package/Select/selectClasses.js +2 -2
- package/Skeleton/Skeleton.js +1 -1
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Skeleton/skeletonClasses.js +1 -1
- package/Slider/Slider.d.ts +1 -1
- package/Slider/Slider.js +2 -2
- package/Snackbar/Snackbar.d.ts +5 -5
- package/Snackbar/Snackbar.js +62 -6
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/Snackbar/snackbarClasses.js +1 -1
- package/SnackbarContent/SnackbarContent.js +1 -1
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SnackbarContent/snackbarContentClasses.js +1 -1
- package/SpeedDial/SpeedDial.js +1 -1
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDial/speedDialClasses.js +1 -1
- package/SpeedDialAction/SpeedDialAction.js +1 -1
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialAction/speedDialActionClasses.js +1 -1
- package/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/SpeedDialIcon/speedDialIconClasses.js +1 -1
- package/Step/Step.js +1 -1
- package/Step/stepClasses.d.ts +16 -16
- package/Step/stepClasses.js +1 -1
- package/StepButton/StepButton.js +1 -1
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepButton/stepButtonClasses.js +1 -1
- package/StepConnector/StepConnector.js +1 -1
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepConnector/stepConnectorClasses.js +1 -1
- package/StepContent/StepContent.js +1 -1
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepContent/stepContentClasses.js +1 -1
- package/StepIcon/StepIcon.js +1 -1
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepIcon/stepIconClasses.js +1 -1
- package/StepLabel/StepLabel.js +1 -1
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/StepLabel/stepLabelClasses.js +1 -1
- package/Stepper/Stepper.js +1 -1
- package/Stepper/stepperClasses.d.ts +14 -14
- package/Stepper/stepperClasses.js +1 -1
- package/SvgIcon/SvgIcon.js +1 -1
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/SvgIcon/svgIconClasses.js +1 -1
- package/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/Switch/Switch.js +1 -1
- package/Switch/switchClasses.d.ts +32 -32
- package/Switch/switchClasses.js +1 -1
- package/Tab/Tab.js +1 -1
- package/Tab/tabClasses.d.ts +26 -26
- package/Tab/tabClasses.js +1 -1
- package/TabScrollButton/TabScrollButton.js +1 -1
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/TabScrollButton/tabScrollButtonClasses.js +1 -1
- package/Table/Table.js +1 -1
- package/Table/tableClasses.d.ts +10 -10
- package/Table/tableClasses.js +1 -1
- package/TableBody/TableBody.js +1 -1
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableBody/tableBodyClasses.js +1 -1
- package/TableCell/TableCell.js +1 -1
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableCell/tableCellClasses.js +1 -1
- package/TableContainer/TableContainer.js +1 -1
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableContainer/tableContainerClasses.js +1 -1
- package/TableFooter/TableFooter.js +1 -1
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.js +1 -1
- package/TableHead/TableHead.js +1 -1
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.js +1 -1
- package/TablePagination/TablePagination.d.ts +1 -1
- package/TablePagination/TablePagination.js +3 -3
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TablePagination/tablePaginationClasses.js +1 -1
- package/TableRow/TableRow.js +1 -1
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableRow/tableRowClasses.js +1 -1
- package/TableSortLabel/TableSortLabel.js +1 -1
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/Tabs/Tabs.js +1 -1
- package/Tabs/tabsClasses.d.ts +32 -32
- package/Tabs/tabsClasses.js +1 -1
- package/TextField/TextField.js +4 -3
- 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 +1 -1
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButton/toggleButtonClasses.js +1 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/Toolbar/Toolbar.js +1 -1
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Toolbar/toolbarClasses.js +1 -1
- package/Tooltip/Tooltip.d.ts +1 -1
- package/Tooltip/Tooltip.js +1 -1
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Tooltip/tooltipClasses.js +1 -1
- package/Typography/Typography.js +1 -1
- 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 +1 -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 +1 -1
- package/legacy/Accordion/accordionClasses.js +1 -1
- package/legacy/AccordionActions/AccordionActions.js +1 -1
- package/legacy/AccordionActions/accordionActionsClasses.js +1 -1
- package/legacy/AccordionDetails/AccordionDetails.js +1 -1
- package/legacy/AccordionDetails/accordionDetailsClasses.js +1 -1
- package/legacy/AccordionSummary/AccordionSummary.js +1 -1
- package/legacy/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/legacy/Alert/Alert.js +1 -1
- package/legacy/Alert/alertClasses.js +1 -1
- package/legacy/AlertTitle/AlertTitle.js +1 -1
- package/legacy/AlertTitle/alertTitleClasses.js +1 -1
- package/legacy/AppBar/AppBar.js +1 -1
- package/legacy/AppBar/appBarClasses.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +1 -1
- package/legacy/Autocomplete/autocompleteClasses.js +1 -1
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/Avatar/avatarClasses.js +1 -1
- package/legacy/AvatarGroup/AvatarGroup.js +1 -1
- package/legacy/AvatarGroup/avatarGroupClasses.js +1 -1
- package/legacy/Backdrop/Backdrop.js +2 -2
- package/legacy/Badge/Badge.js +2 -2
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/BottomNavigation/bottomNavigationClasses.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/legacy/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
- package/legacy/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
- package/legacy/Breadcrumbs/breadcrumbsClasses.js +1 -1
- package/legacy/Button/Button.js +1 -1
- package/legacy/Button/buttonClasses.js +1 -1
- package/legacy/ButtonBase/ButtonBase.js +1 -1
- package/legacy/ButtonBase/buttonBaseClasses.js +1 -1
- package/legacy/ButtonBase/touchRippleClasses.js +1 -1
- package/legacy/ButtonGroup/ButtonGroup.js +1 -1
- package/legacy/ButtonGroup/buttonGroupClasses.js +1 -1
- package/legacy/Card/Card.js +1 -1
- package/legacy/Card/cardClasses.js +1 -1
- package/legacy/CardActionArea/CardActionArea.js +1 -1
- package/legacy/CardActionArea/cardActionAreaClasses.js +1 -1
- package/legacy/CardActions/CardActions.js +1 -1
- package/legacy/CardActions/cardActionsClasses.js +1 -1
- package/legacy/CardContent/CardContent.js +1 -1
- package/legacy/CardContent/cardContentClasses.js +1 -1
- package/legacy/CardHeader/CardHeader.js +1 -1
- package/legacy/CardHeader/cardHeaderClasses.js +1 -1
- package/legacy/CardMedia/CardMedia.js +1 -1
- package/legacy/CardMedia/cardMediaClasses.js +1 -1
- package/legacy/Checkbox/Checkbox.js +1 -1
- package/legacy/Checkbox/checkboxClasses.js +1 -1
- package/legacy/Chip/Chip.js +1 -1
- package/legacy/Chip/chipClasses.js +1 -1
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/CircularProgress/circularProgressClasses.js +1 -1
- package/legacy/ClickAwayListener/index.js +2 -2
- package/legacy/Collapse/Collapse.js +1 -1
- package/legacy/Collapse/collapseClasses.js +1 -1
- package/legacy/Container/Container.js +1 -1
- package/legacy/Container/containerClasses.js +1 -1
- package/legacy/CssBaseline/CssBaseline.js +1 -1
- package/legacy/Dialog/Dialog.js +1 -1
- package/legacy/Dialog/dialogClasses.js +1 -1
- package/legacy/DialogActions/DialogActions.js +1 -1
- package/legacy/DialogActions/dialogActionsClasses.js +1 -1
- package/legacy/DialogContent/DialogContent.js +1 -1
- package/legacy/DialogContent/dialogContentClasses.js +1 -1
- package/legacy/DialogContentText/DialogContentText.js +1 -1
- package/legacy/DialogContentText/dialogContentTextClasses.js +1 -1
- package/legacy/DialogTitle/DialogTitle.js +1 -1
- package/legacy/DialogTitle/dialogTitleClasses.js +1 -1
- package/legacy/Divider/Divider.js +5 -5
- package/legacy/Divider/dividerClasses.js +1 -1
- package/legacy/Drawer/Drawer.js +1 -1
- package/legacy/Drawer/drawerClasses.js +1 -1
- package/legacy/Fab/Fab.js +1 -1
- package/legacy/Fab/fabClasses.js +1 -1
- package/legacy/FilledInput/FilledInput.js +1 -1
- package/legacy/FilledInput/filledInputClasses.js +1 -1
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/FormControl/formControlClasses.js +1 -1
- package/legacy/FormControlLabel/FormControlLabel.js +1 -1
- package/legacy/FormControlLabel/formControlLabelClasses.js +1 -1
- package/legacy/FormGroup/FormGroup.js +1 -1
- package/legacy/FormGroup/formGroupClasses.js +1 -1
- package/legacy/FormHelperText/FormHelperText.js +1 -1
- package/legacy/FormHelperText/formHelperTextClasses.js +1 -1
- package/legacy/FormLabel/FormLabel.js +1 -1
- package/legacy/FormLabel/formLabelClasses.js +1 -1
- package/legacy/Grid/Grid.js +1 -1
- 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 +1 -1
- package/legacy/Icon/iconClasses.js +1 -1
- package/legacy/IconButton/IconButton.js +7 -5
- package/legacy/IconButton/iconButtonClasses.js +1 -1
- package/legacy/ImageList/ImageList.js +1 -1
- package/legacy/ImageList/imageListClasses.js +1 -1
- package/legacy/ImageListItem/ImageListItem.js +1 -1
- package/legacy/ImageListItem/imageListItemClasses.js +1 -1
- package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
- package/legacy/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/legacy/Input/Input.js +1 -1
- package/legacy/Input/inputClasses.js +1 -1
- package/legacy/InputAdornment/InputAdornment.js +1 -1
- package/legacy/InputAdornment/inputAdornmentClasses.js +1 -1
- package/legacy/InputBase/InputBase.js +1 -1
- package/legacy/InputBase/inputBaseClasses.js +1 -1
- package/legacy/InputLabel/InputLabel.js +1 -1
- package/legacy/InputLabel/inputLabelClasses.js +1 -1
- package/legacy/LinearProgress/LinearProgress.js +1 -1
- package/legacy/LinearProgress/linearProgressClasses.js +1 -1
- package/legacy/Link/Link.js +1 -1
- package/legacy/Link/linkClasses.js +1 -1
- package/legacy/List/List.js +1 -1
- package/legacy/List/listClasses.js +1 -1
- package/legacy/ListItem/ListItem.js +1 -1
- package/legacy/ListItem/listItemClasses.js +1 -1
- package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
- package/legacy/ListItemAvatar/listItemAvatarClasses.js +1 -1
- package/legacy/ListItemButton/ListItemButton.js +1 -1
- package/legacy/ListItemButton/listItemButtonClasses.js +1 -1
- package/legacy/ListItemIcon/ListItemIcon.js +1 -1
- package/legacy/ListItemIcon/listItemIconClasses.js +1 -1
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/legacy/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
- package/legacy/ListItemText/ListItemText.js +1 -1
- package/legacy/ListItemText/listItemTextClasses.js +1 -1
- package/legacy/ListSubheader/ListSubheader.js +1 -1
- package/legacy/ListSubheader/listSubheaderClasses.js +1 -1
- package/legacy/Menu/Menu.js +1 -1
- package/legacy/Menu/menuClasses.js +1 -1
- package/legacy/MenuItem/MenuItem.js +1 -1
- package/legacy/MenuItem/menuItemClasses.js +1 -1
- package/legacy/MobileStepper/MobileStepper.js +1 -1
- package/legacy/MobileStepper/mobileStepperClasses.js +1 -1
- package/legacy/Modal/Modal.js +2 -2
- package/legacy/Modal/index.js +1 -1
- package/legacy/NativeSelect/NativeSelect.js +1 -1
- package/legacy/NativeSelect/NativeSelectInput.js +7 -6
- package/legacy/NativeSelect/nativeSelectClasses.js +2 -2
- package/legacy/NoSsr/index.js +1 -1
- package/legacy/OutlinedInput/OutlinedInput.js +1 -1
- package/legacy/OutlinedInput/outlinedInputClasses.js +1 -1
- package/legacy/Pagination/Pagination.js +1 -1
- package/legacy/Pagination/paginationClasses.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +1 -1
- package/legacy/PaginationItem/paginationItemClasses.js +1 -1
- package/legacy/Paper/Paper.js +1 -1
- package/legacy/Paper/paperClasses.js +1 -1
- package/legacy/Popover/Popover.js +1 -1
- 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 +1 -1
- package/legacy/Radio/radioClasses.js +1 -1
- package/legacy/Rating/Rating.js +1 -1
- package/legacy/Rating/ratingClasses.js +1 -1
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
- package/legacy/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
- package/legacy/Select/Select.js +3 -12
- package/legacy/Select/SelectInput.js +12 -5
- package/legacy/Select/selectClasses.js +2 -2
- package/legacy/Skeleton/Skeleton.js +1 -1
- package/legacy/Skeleton/skeletonClasses.js +1 -1
- package/legacy/Slider/Slider.js +2 -2
- package/legacy/Snackbar/Snackbar.js +62 -6
- package/legacy/Snackbar/snackbarClasses.js +1 -1
- package/legacy/SnackbarContent/SnackbarContent.js +1 -1
- package/legacy/SnackbarContent/snackbarContentClasses.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +1 -1
- package/legacy/SpeedDial/speedDialClasses.js +1 -1
- package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
- package/legacy/SpeedDialAction/speedDialActionClasses.js +1 -1
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/legacy/SpeedDialIcon/speedDialIconClasses.js +1 -1
- package/legacy/Step/Step.js +1 -1
- package/legacy/Step/stepClasses.js +1 -1
- package/legacy/StepButton/StepButton.js +1 -1
- package/legacy/StepButton/stepButtonClasses.js +1 -1
- package/legacy/StepConnector/StepConnector.js +1 -1
- package/legacy/StepConnector/stepConnectorClasses.js +1 -1
- package/legacy/StepContent/StepContent.js +1 -1
- package/legacy/StepContent/stepContentClasses.js +1 -1
- package/legacy/StepIcon/StepIcon.js +1 -1
- package/legacy/StepIcon/stepIconClasses.js +1 -1
- package/legacy/StepLabel/StepLabel.js +1 -1
- package/legacy/StepLabel/stepLabelClasses.js +1 -1
- package/legacy/Stepper/Stepper.js +1 -1
- package/legacy/Stepper/stepperClasses.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +1 -1
- package/legacy/SvgIcon/svgIconClasses.js +1 -1
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/legacy/Switch/Switch.js +1 -1
- package/legacy/Switch/switchClasses.js +1 -1
- package/legacy/Tab/Tab.js +1 -1
- package/legacy/Tab/tabClasses.js +1 -1
- package/legacy/TabScrollButton/TabScrollButton.js +1 -1
- package/legacy/TabScrollButton/tabScrollButtonClasses.js +1 -1
- package/legacy/Table/Table.js +1 -1
- package/legacy/Table/tableClasses.js +1 -1
- package/legacy/TableBody/TableBody.js +1 -1
- package/legacy/TableBody/tableBodyClasses.js +1 -1
- package/legacy/TableCell/TableCell.js +1 -1
- package/legacy/TableCell/tableCellClasses.js +1 -1
- package/legacy/TableContainer/TableContainer.js +1 -1
- package/legacy/TableContainer/tableContainerClasses.js +1 -1
- package/legacy/TableFooter/TableFooter.js +1 -1
- package/legacy/TableFooter/tableFooterClasses.js +1 -1
- package/legacy/TableHead/TableHead.js +1 -1
- package/legacy/TableHead/tableHeadClasses.js +1 -1
- package/legacy/TablePagination/TablePagination.js +3 -3
- package/legacy/TablePagination/tablePaginationClasses.js +1 -1
- package/legacy/TableRow/TableRow.js +1 -1
- package/legacy/TableRow/tableRowClasses.js +1 -1
- package/legacy/TableSortLabel/TableSortLabel.js +1 -1
- package/legacy/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/legacy/Tabs/Tabs.js +1 -1
- package/legacy/Tabs/tabsClasses.js +1 -1
- package/legacy/TextField/TextField.js +4 -3
- package/legacy/TextField/textFieldClasses.js +1 -1
- package/legacy/TextareaAutosize/index.js +1 -1
- package/legacy/ToggleButton/ToggleButton.js +1 -1
- package/legacy/ToggleButton/toggleButtonClasses.js +1 -1
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/legacy/Toolbar/Toolbar.js +1 -1
- package/legacy/Toolbar/toolbarClasses.js +1 -1
- package/legacy/Tooltip/Tooltip.js +1 -1
- package/legacy/Tooltip/tooltipClasses.js +1 -1
- package/legacy/Typography/Typography.js +1 -1
- 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/adaptV4Theme.js +1 -1
- package/legacy/styles/createTheme.js +1 -1
- package/legacy/styles/index.js +1 -1
- package/legacy/styles/responsiveFontSizes.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 +1 -1
- package/modern/Accordion/accordionClasses.js +1 -1
- package/modern/AccordionActions/AccordionActions.js +1 -1
- package/modern/AccordionActions/accordionActionsClasses.js +1 -1
- package/modern/AccordionDetails/AccordionDetails.js +1 -1
- package/modern/AccordionDetails/accordionDetailsClasses.js +1 -1
- package/modern/AccordionSummary/AccordionSummary.js +1 -1
- package/modern/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/modern/Alert/Alert.js +1 -1
- package/modern/Alert/alertClasses.js +1 -1
- package/modern/AlertTitle/AlertTitle.js +1 -1
- package/modern/AlertTitle/alertTitleClasses.js +1 -1
- package/modern/AppBar/AppBar.js +1 -1
- package/modern/AppBar/appBarClasses.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +1 -1
- package/modern/Autocomplete/autocompleteClasses.js +1 -1
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/Avatar/avatarClasses.js +1 -1
- package/modern/AvatarGroup/AvatarGroup.js +1 -1
- package/modern/AvatarGroup/avatarGroupClasses.js +1 -1
- package/modern/Backdrop/Backdrop.js +2 -2
- package/modern/Badge/Badge.js +2 -2
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/BottomNavigation/bottomNavigationClasses.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/modern/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
- package/modern/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
- package/modern/Breadcrumbs/breadcrumbsClasses.js +1 -1
- package/modern/Button/Button.js +1 -1
- package/modern/Button/buttonClasses.js +1 -1
- package/modern/ButtonBase/ButtonBase.js +1 -1
- package/modern/ButtonBase/buttonBaseClasses.js +1 -1
- package/modern/ButtonBase/touchRippleClasses.js +1 -1
- package/modern/ButtonGroup/ButtonGroup.js +1 -1
- package/modern/ButtonGroup/buttonGroupClasses.js +1 -1
- package/modern/Card/Card.js +1 -1
- package/modern/Card/cardClasses.js +1 -1
- package/modern/CardActionArea/CardActionArea.js +1 -1
- package/modern/CardActionArea/cardActionAreaClasses.js +1 -1
- package/modern/CardActions/CardActions.js +1 -1
- package/modern/CardActions/cardActionsClasses.js +1 -1
- package/modern/CardContent/CardContent.js +1 -1
- package/modern/CardContent/cardContentClasses.js +1 -1
- package/modern/CardHeader/CardHeader.js +1 -1
- package/modern/CardHeader/cardHeaderClasses.js +1 -1
- package/modern/CardMedia/CardMedia.js +1 -1
- package/modern/CardMedia/cardMediaClasses.js +1 -1
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/Checkbox/checkboxClasses.js +1 -1
- package/modern/Chip/Chip.js +1 -1
- package/modern/Chip/chipClasses.js +1 -1
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/CircularProgress/circularProgressClasses.js +1 -1
- package/modern/ClickAwayListener/index.js +2 -2
- package/modern/Collapse/Collapse.js +1 -1
- package/modern/Collapse/collapseClasses.js +1 -1
- package/modern/Container/Container.js +1 -1
- package/modern/Container/containerClasses.js +1 -1
- package/modern/CssBaseline/CssBaseline.js +1 -1
- package/modern/Dialog/Dialog.js +1 -1
- package/modern/Dialog/dialogClasses.js +1 -1
- package/modern/DialogActions/DialogActions.js +1 -1
- package/modern/DialogActions/dialogActionsClasses.js +1 -1
- package/modern/DialogContent/DialogContent.js +1 -1
- package/modern/DialogContent/dialogContentClasses.js +1 -1
- package/modern/DialogContentText/DialogContentText.js +1 -1
- package/modern/DialogContentText/dialogContentTextClasses.js +1 -1
- package/modern/DialogTitle/DialogTitle.js +1 -1
- package/modern/DialogTitle/dialogTitleClasses.js +1 -1
- package/modern/Divider/Divider.js +5 -5
- package/modern/Divider/dividerClasses.js +1 -1
- package/modern/Drawer/Drawer.js +1 -1
- package/modern/Drawer/drawerClasses.js +1 -1
- package/modern/Fab/Fab.js +1 -1
- package/modern/Fab/fabClasses.js +1 -1
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/FilledInput/filledInputClasses.js +1 -1
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/FormControl/formControlClasses.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +1 -1
- package/modern/FormControlLabel/formControlLabelClasses.js +1 -1
- package/modern/FormGroup/FormGroup.js +1 -1
- package/modern/FormGroup/formGroupClasses.js +1 -1
- package/modern/FormHelperText/FormHelperText.js +1 -1
- package/modern/FormHelperText/formHelperTextClasses.js +1 -1
- package/modern/FormLabel/FormLabel.js +1 -1
- package/modern/FormLabel/formLabelClasses.js +1 -1
- package/modern/Grid/Grid.js +1 -1
- 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 +1 -1
- package/modern/Icon/iconClasses.js +1 -1
- package/modern/IconButton/IconButton.js +7 -5
- package/modern/IconButton/iconButtonClasses.js +1 -1
- package/modern/ImageList/ImageList.js +1 -1
- package/modern/ImageList/imageListClasses.js +1 -1
- package/modern/ImageListItem/ImageListItem.js +1 -1
- package/modern/ImageListItem/imageListItemClasses.js +1 -1
- package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
- package/modern/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/modern/Input/Input.js +1 -1
- package/modern/Input/inputClasses.js +1 -1
- package/modern/InputAdornment/InputAdornment.js +1 -1
- package/modern/InputAdornment/inputAdornmentClasses.js +1 -1
- package/modern/InputBase/InputBase.js +1 -1
- package/modern/InputBase/inputBaseClasses.js +1 -1
- package/modern/InputLabel/InputLabel.js +1 -1
- package/modern/InputLabel/inputLabelClasses.js +1 -1
- package/modern/LinearProgress/LinearProgress.js +1 -1
- package/modern/LinearProgress/linearProgressClasses.js +1 -1
- package/modern/Link/Link.js +1 -1
- package/modern/Link/linkClasses.js +1 -1
- package/modern/List/List.js +1 -1
- package/modern/List/listClasses.js +1 -1
- package/modern/ListItem/ListItem.js +1 -1
- package/modern/ListItem/listItemClasses.js +1 -1
- package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
- package/modern/ListItemAvatar/listItemAvatarClasses.js +1 -1
- package/modern/ListItemButton/ListItemButton.js +1 -1
- package/modern/ListItemButton/listItemButtonClasses.js +1 -1
- package/modern/ListItemIcon/ListItemIcon.js +1 -1
- package/modern/ListItemIcon/listItemIconClasses.js +1 -1
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/modern/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
- package/modern/ListItemText/ListItemText.js +1 -1
- package/modern/ListItemText/listItemTextClasses.js +1 -1
- package/modern/ListSubheader/ListSubheader.js +1 -1
- package/modern/ListSubheader/listSubheaderClasses.js +1 -1
- package/modern/Menu/Menu.js +1 -1
- package/modern/Menu/menuClasses.js +1 -1
- package/modern/MenuItem/MenuItem.js +1 -1
- package/modern/MenuItem/menuItemClasses.js +1 -1
- package/modern/MobileStepper/MobileStepper.js +1 -1
- package/modern/MobileStepper/mobileStepperClasses.js +1 -1
- package/modern/Modal/Modal.js +2 -2
- package/modern/Modal/index.js +1 -1
- package/modern/NativeSelect/NativeSelect.js +1 -1
- package/modern/NativeSelect/NativeSelectInput.js +6 -3
- package/modern/NativeSelect/nativeSelectClasses.js +2 -2
- package/modern/NoSsr/index.js +1 -1
- package/modern/OutlinedInput/OutlinedInput.js +1 -1
- package/modern/OutlinedInput/outlinedInputClasses.js +1 -1
- package/modern/Pagination/Pagination.js +1 -1
- package/modern/Pagination/paginationClasses.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/PaginationItem/paginationItemClasses.js +1 -1
- package/modern/Paper/Paper.js +1 -1
- package/modern/Paper/paperClasses.js +1 -1
- package/modern/Popover/Popover.js +1 -1
- 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 +1 -1
- package/modern/Radio/radioClasses.js +1 -1
- package/modern/Rating/Rating.js +1 -1
- package/modern/Rating/ratingClasses.js +1 -1
- package/modern/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
- package/modern/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
- package/modern/Select/Select.js +4 -13
- package/modern/Select/SelectInput.js +11 -4
- package/modern/Select/selectClasses.js +2 -2
- package/modern/Skeleton/Skeleton.js +1 -1
- package/modern/Skeleton/skeletonClasses.js +1 -1
- package/modern/Slider/Slider.js +2 -2
- package/modern/Snackbar/Snackbar.js +62 -6
- package/modern/Snackbar/snackbarClasses.js +1 -1
- package/modern/SnackbarContent/SnackbarContent.js +1 -1
- package/modern/SnackbarContent/snackbarContentClasses.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +1 -1
- package/modern/SpeedDial/speedDialClasses.js +1 -1
- package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
- package/modern/SpeedDialAction/speedDialActionClasses.js +1 -1
- package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/modern/SpeedDialIcon/speedDialIconClasses.js +1 -1
- package/modern/Step/Step.js +1 -1
- package/modern/Step/stepClasses.js +1 -1
- package/modern/StepButton/StepButton.js +1 -1
- package/modern/StepButton/stepButtonClasses.js +1 -1
- package/modern/StepConnector/StepConnector.js +1 -1
- package/modern/StepConnector/stepConnectorClasses.js +1 -1
- package/modern/StepContent/StepContent.js +1 -1
- package/modern/StepContent/stepContentClasses.js +1 -1
- package/modern/StepIcon/StepIcon.js +1 -1
- package/modern/StepIcon/stepIconClasses.js +1 -1
- package/modern/StepLabel/StepLabel.js +1 -1
- package/modern/StepLabel/stepLabelClasses.js +1 -1
- package/modern/Stepper/Stepper.js +1 -1
- package/modern/Stepper/stepperClasses.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +1 -1
- package/modern/SvgIcon/svgIconClasses.js +1 -1
- package/modern/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/modern/Switch/Switch.js +1 -1
- package/modern/Switch/switchClasses.js +1 -1
- package/modern/Tab/Tab.js +1 -1
- package/modern/Tab/tabClasses.js +1 -1
- package/modern/TabScrollButton/TabScrollButton.js +1 -1
- package/modern/TabScrollButton/tabScrollButtonClasses.js +1 -1
- package/modern/Table/Table.js +1 -1
- package/modern/Table/tableClasses.js +1 -1
- package/modern/TableBody/TableBody.js +1 -1
- package/modern/TableBody/tableBodyClasses.js +1 -1
- package/modern/TableCell/TableCell.js +1 -1
- package/modern/TableCell/tableCellClasses.js +1 -1
- package/modern/TableContainer/TableContainer.js +1 -1
- package/modern/TableContainer/tableContainerClasses.js +1 -1
- package/modern/TableFooter/TableFooter.js +1 -1
- package/modern/TableFooter/tableFooterClasses.js +1 -1
- package/modern/TableHead/TableHead.js +1 -1
- package/modern/TableHead/tableHeadClasses.js +1 -1
- package/modern/TablePagination/TablePagination.js +3 -3
- package/modern/TablePagination/tablePaginationClasses.js +1 -1
- package/modern/TableRow/TableRow.js +1 -1
- package/modern/TableRow/tableRowClasses.js +1 -1
- package/modern/TableSortLabel/TableSortLabel.js +1 -1
- package/modern/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/modern/Tabs/Tabs.js +1 -1
- package/modern/Tabs/tabsClasses.js +1 -1
- package/modern/TextField/TextField.js +4 -3
- package/modern/TextField/textFieldClasses.js +1 -1
- package/modern/TextareaAutosize/index.js +1 -1
- package/modern/ToggleButton/ToggleButton.js +1 -1
- package/modern/ToggleButton/toggleButtonClasses.js +1 -1
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/modern/Toolbar/Toolbar.js +1 -1
- package/modern/Toolbar/toolbarClasses.js +1 -1
- package/modern/Tooltip/Tooltip.js +1 -1
- package/modern/Tooltip/tooltipClasses.js +1 -1
- package/modern/Typography/Typography.js +1 -1
- 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/adaptV4Theme.js +1 -1
- package/modern/styles/createTheme.js +1 -1
- package/modern/styles/index.js +1 -1
- package/modern/styles/responsiveFontSizes.js +1 -1
- package/modern/useAutocomplete/useAutocomplete.js +2 -2
- package/modern/utils/index.js +1 -1
- package/node/Accordion/Accordion.js +2 -2
- package/node/Accordion/accordionClasses.js +3 -3
- package/node/AccordionActions/AccordionActions.js +2 -2
- package/node/AccordionActions/accordionActionsClasses.js +3 -3
- package/node/AccordionDetails/AccordionDetails.js +2 -2
- package/node/AccordionDetails/accordionDetailsClasses.js +3 -3
- package/node/AccordionSummary/AccordionSummary.js +2 -2
- package/node/AccordionSummary/accordionSummaryClasses.js +3 -3
- package/node/Alert/Alert.js +2 -2
- package/node/Alert/alertClasses.js +3 -3
- package/node/AlertTitle/AlertTitle.js +2 -2
- package/node/AlertTitle/alertTitleClasses.js +3 -3
- package/node/AppBar/AppBar.js +2 -2
- package/node/AppBar/appBarClasses.js +3 -3
- package/node/Autocomplete/Autocomplete.js +4 -4
- package/node/Autocomplete/autocompleteClasses.js +3 -3
- package/node/Avatar/Avatar.js +2 -2
- package/node/Avatar/avatarClasses.js +3 -3
- package/node/AvatarGroup/AvatarGroup.js +2 -2
- package/node/AvatarGroup/avatarGroupClasses.js +3 -3
- package/node/Backdrop/Backdrop.js +3 -3
- package/node/Badge/Badge.js +5 -5
- package/node/BottomNavigation/BottomNavigation.js +2 -2
- package/node/BottomNavigation/bottomNavigationClasses.js +3 -3
- package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/node/BottomNavigationAction/bottomNavigationActionClasses.js +3 -3
- package/node/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/node/Breadcrumbs/Breadcrumbs.js +2 -2
- package/node/Breadcrumbs/breadcrumbsClasses.js +3 -3
- package/node/Button/Button.js +2 -2
- package/node/Button/buttonClasses.js +3 -3
- package/node/ButtonBase/ButtonBase.js +1 -1
- package/node/ButtonBase/buttonBaseClasses.js +3 -3
- package/node/ButtonBase/touchRippleClasses.js +3 -3
- package/node/ButtonGroup/ButtonGroup.js +2 -2
- package/node/ButtonGroup/buttonGroupClasses.js +3 -3
- package/node/Card/Card.js +2 -2
- package/node/Card/cardClasses.js +3 -3
- package/node/CardActionArea/CardActionArea.js +2 -2
- package/node/CardActionArea/cardActionAreaClasses.js +3 -3
- package/node/CardActions/CardActions.js +2 -2
- package/node/CardActions/cardActionsClasses.js +3 -3
- package/node/CardContent/CardContent.js +2 -2
- package/node/CardContent/cardContentClasses.js +3 -3
- package/node/CardHeader/CardHeader.js +2 -2
- package/node/CardHeader/cardHeaderClasses.js +3 -3
- package/node/CardMedia/CardMedia.js +2 -2
- package/node/CardMedia/cardMediaClasses.js +3 -3
- package/node/Checkbox/Checkbox.js +2 -2
- package/node/Checkbox/checkboxClasses.js +3 -3
- package/node/Chip/Chip.js +2 -2
- package/node/Chip/chipClasses.js +3 -3
- package/node/CircularProgress/CircularProgress.js +2 -2
- package/node/CircularProgress/circularProgressClasses.js +3 -3
- package/node/ClickAwayListener/index.js +1 -1
- package/node/Collapse/Collapse.js +2 -2
- package/node/Collapse/collapseClasses.js +3 -3
- package/node/Container/Container.js +2 -2
- package/node/Container/containerClasses.js +3 -3
- package/node/CssBaseline/CssBaseline.js +1 -1
- package/node/Dialog/Dialog.js +2 -2
- package/node/Dialog/dialogClasses.js +3 -3
- package/node/DialogActions/DialogActions.js +2 -2
- package/node/DialogActions/dialogActionsClasses.js +3 -3
- package/node/DialogContent/DialogContent.js +2 -2
- package/node/DialogContent/dialogContentClasses.js +3 -3
- package/node/DialogContentText/DialogContentText.js +2 -2
- package/node/DialogContentText/dialogContentTextClasses.js +3 -3
- package/node/DialogTitle/DialogTitle.js +2 -2
- package/node/DialogTitle/dialogTitleClasses.js +3 -3
- package/node/Divider/Divider.js +6 -6
- package/node/Divider/dividerClasses.js +3 -3
- package/node/Drawer/Drawer.js +2 -2
- package/node/Drawer/drawerClasses.js +3 -3
- package/node/Fab/Fab.js +2 -2
- package/node/Fab/fabClasses.js +3 -3
- package/node/FilledInput/FilledInput.js +2 -2
- package/node/FilledInput/filledInputClasses.js +3 -3
- package/node/FormControl/FormControl.js +2 -2
- package/node/FormControl/formControlClasses.js +3 -3
- package/node/FormControlLabel/FormControlLabel.js +2 -2
- package/node/FormControlLabel/formControlLabelClasses.js +3 -3
- package/node/FormGroup/FormGroup.js +2 -2
- package/node/FormGroup/formGroupClasses.js +3 -3
- package/node/FormHelperText/FormHelperText.js +2 -2
- package/node/FormHelperText/formHelperTextClasses.js +3 -3
- package/node/FormLabel/FormLabel.js +2 -2
- package/node/FormLabel/formLabelClasses.js +3 -3
- package/node/Grid/Grid.js +2 -2
- 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 +2 -2
- package/node/Icon/iconClasses.js +3 -3
- package/node/IconButton/IconButton.js +8 -6
- package/node/IconButton/iconButtonClasses.js +3 -3
- package/node/ImageList/ImageList.js +2 -2
- package/node/ImageList/imageListClasses.js +3 -3
- package/node/ImageListItem/ImageListItem.js +2 -2
- package/node/ImageListItem/imageListItemClasses.js +3 -3
- package/node/ImageListItemBar/ImageListItemBar.js +2 -2
- package/node/ImageListItemBar/imageListItemBarClasses.js +3 -3
- package/node/Input/Input.js +2 -2
- package/node/Input/inputClasses.js +3 -3
- package/node/InputAdornment/InputAdornment.js +2 -2
- package/node/InputAdornment/inputAdornmentClasses.js +3 -3
- package/node/InputBase/InputBase.js +5 -5
- package/node/InputBase/inputBaseClasses.js +3 -3
- package/node/InputLabel/InputLabel.js +2 -2
- package/node/InputLabel/inputLabelClasses.js +3 -3
- package/node/LinearProgress/LinearProgress.js +2 -2
- package/node/LinearProgress/linearProgressClasses.js +3 -3
- package/node/Link/Link.js +2 -2
- package/node/Link/linkClasses.js +3 -3
- package/node/List/List.js +2 -2
- package/node/List/listClasses.js +3 -3
- package/node/ListItem/ListItem.js +4 -4
- package/node/ListItem/listItemClasses.js +3 -3
- package/node/ListItemAvatar/ListItemAvatar.js +2 -2
- package/node/ListItemAvatar/listItemAvatarClasses.js +3 -3
- package/node/ListItemButton/ListItemButton.js +2 -2
- package/node/ListItemButton/listItemButtonClasses.js +3 -3
- package/node/ListItemIcon/ListItemIcon.js +2 -2
- package/node/ListItemIcon/listItemIconClasses.js +3 -3
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/node/ListItemSecondaryAction/listItemSecondaryActionClasses.js +3 -3
- package/node/ListItemText/ListItemText.js +2 -2
- package/node/ListItemText/listItemTextClasses.js +3 -3
- package/node/ListSubheader/ListSubheader.js +2 -2
- package/node/ListSubheader/listSubheaderClasses.js +3 -3
- package/node/Menu/Menu.js +2 -2
- package/node/Menu/menuClasses.js +3 -3
- package/node/MenuItem/MenuItem.js +2 -2
- package/node/MenuItem/menuItemClasses.js +3 -3
- package/node/MobileStepper/MobileStepper.js +2 -2
- package/node/MobileStepper/mobileStepperClasses.js +3 -3
- package/node/Modal/Modal.js +3 -3
- package/node/Modal/index.js +1 -1
- package/node/NativeSelect/NativeSelect.js +2 -2
- package/node/NativeSelect/NativeSelectInput.js +7 -4
- package/node/NativeSelect/nativeSelectClasses.js +3 -3
- package/node/NoSsr/index.js +1 -1
- package/node/OutlinedInput/OutlinedInput.js +2 -2
- package/node/OutlinedInput/outlinedInputClasses.js +3 -3
- package/node/Pagination/Pagination.js +2 -2
- package/node/Pagination/paginationClasses.js +3 -3
- package/node/PaginationItem/PaginationItem.js +2 -2
- package/node/PaginationItem/paginationItemClasses.js +3 -3
- package/node/Paper/Paper.js +2 -2
- package/node/Paper/paperClasses.js +3 -3
- package/node/Popover/Popover.js +2 -2
- 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 +2 -2
- package/node/Radio/radioClasses.js +3 -3
- package/node/Rating/Rating.js +2 -2
- package/node/Rating/ratingClasses.js +3 -3
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +3 -3
- package/node/ScopedCssBaseline/scopedCssBaselineClasses.js +3 -3
- package/node/Select/Select.js +4 -13
- package/node/Select/SelectInput.js +12 -5
- package/node/Select/selectClasses.js +3 -3
- package/node/Skeleton/Skeleton.js +2 -2
- package/node/Skeleton/skeletonClasses.js +3 -3
- package/node/Slider/Slider.js +4 -4
- package/node/Snackbar/Snackbar.js +63 -7
- package/node/Snackbar/snackbarClasses.js +3 -3
- package/node/SnackbarContent/SnackbarContent.js +2 -2
- package/node/SnackbarContent/snackbarContentClasses.js +3 -3
- package/node/SpeedDial/SpeedDial.js +2 -2
- package/node/SpeedDial/speedDialClasses.js +3 -3
- package/node/SpeedDialAction/SpeedDialAction.js +2 -2
- package/node/SpeedDialAction/speedDialActionClasses.js +3 -3
- package/node/SpeedDialIcon/SpeedDialIcon.js +2 -2
- package/node/SpeedDialIcon/speedDialIconClasses.js +3 -3
- package/node/Step/Step.js +2 -2
- package/node/Step/stepClasses.js +3 -3
- package/node/StepButton/StepButton.js +2 -2
- package/node/StepButton/stepButtonClasses.js +3 -3
- package/node/StepConnector/StepConnector.js +2 -2
- package/node/StepConnector/stepConnectorClasses.js +3 -3
- package/node/StepContent/StepContent.js +2 -2
- package/node/StepContent/stepContentClasses.js +3 -3
- package/node/StepIcon/StepIcon.js +2 -2
- package/node/StepIcon/stepIconClasses.js +3 -3
- package/node/StepLabel/StepLabel.js +2 -2
- package/node/StepLabel/stepLabelClasses.js +3 -3
- package/node/Stepper/Stepper.js +2 -2
- package/node/Stepper/stepperClasses.js +3 -3
- package/node/SvgIcon/SvgIcon.js +2 -2
- package/node/SvgIcon/svgIconClasses.js +3 -3
- package/node/SwipeableDrawer/SwipeableDrawer.js +2 -2
- package/node/Switch/Switch.js +2 -2
- package/node/Switch/switchClasses.js +3 -3
- package/node/Tab/Tab.js +2 -2
- package/node/Tab/tabClasses.js +3 -3
- package/node/TabScrollButton/TabScrollButton.js +2 -2
- package/node/TabScrollButton/tabScrollButtonClasses.js +3 -3
- package/node/Table/Table.js +2 -2
- package/node/Table/tableClasses.js +3 -3
- package/node/TableBody/TableBody.js +2 -2
- package/node/TableBody/tableBodyClasses.js +3 -3
- package/node/TableCell/TableCell.js +2 -2
- package/node/TableCell/tableCellClasses.js +3 -3
- package/node/TableContainer/TableContainer.js +2 -2
- package/node/TableContainer/tableContainerClasses.js +3 -3
- package/node/TableFooter/TableFooter.js +2 -2
- package/node/TableFooter/tableFooterClasses.js +3 -3
- package/node/TableHead/TableHead.js +2 -2
- package/node/TableHead/tableHeadClasses.js +3 -3
- package/node/TablePagination/TablePagination.js +5 -5
- package/node/TablePagination/tablePaginationClasses.js +3 -3
- package/node/TableRow/TableRow.js +2 -2
- package/node/TableRow/tableRowClasses.js +3 -3
- package/node/TableSortLabel/TableSortLabel.js +2 -2
- package/node/TableSortLabel/tableSortLabelClasses.js +3 -3
- package/node/Tabs/Tabs.js +2 -2
- package/node/Tabs/tabsClasses.js +3 -3
- package/node/TextField/TextField.js +4 -3
- package/node/TextField/textFieldClasses.js +3 -3
- package/node/TextareaAutosize/index.js +1 -1
- package/node/ToggleButton/ToggleButton.js +2 -2
- package/node/ToggleButton/toggleButtonClasses.js +3 -3
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +3 -3
- package/node/Toolbar/Toolbar.js +2 -2
- package/node/Toolbar/toolbarClasses.js +3 -3
- package/node/Tooltip/Tooltip.js +6 -6
- package/node/Tooltip/tooltipClasses.js +3 -3
- package/node/Typography/Typography.js +2 -2
- 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/adaptV4Theme.js +1 -1
- package/node/styles/createTheme.js +2 -2
- package/node/styles/index.js +6 -0
- package/node/styles/responsiveFontSizes.js +1 -1
- package/node/useAutocomplete/useAutocomplete.js +1 -1
- package/node/utils/index.js +2 -2
- package/package.json +6 -6
- package/styles/adaptV4Theme.js +1 -1
- package/styles/createTheme.js +1 -1
- package/styles/index.d.ts +3 -1
- package/styles/index.js +1 -1
- package/styles/responsiveFontSizes.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 +1441 -297
- 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.2
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -497,7 +497,7 @@
|
|
|
497
497
|
};
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
500
|
+
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
501
501
|
|
|
502
502
|
var isPropValid = /* #__PURE__ */memoize$1(function (prop) {
|
|
503
503
|
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
@@ -570,7 +570,13 @@
|
|
|
570
570
|
var before;
|
|
571
571
|
|
|
572
572
|
if (_this.tags.length === 0) {
|
|
573
|
-
|
|
573
|
+
if (_this.insertionPoint) {
|
|
574
|
+
before = _this.insertionPoint.nextSibling;
|
|
575
|
+
} else if (_this.prepend) {
|
|
576
|
+
before = _this.container.firstChild;
|
|
577
|
+
} else {
|
|
578
|
+
before = _this.before;
|
|
579
|
+
}
|
|
574
580
|
} else {
|
|
575
581
|
before = _this.tags[_this.tags.length - 1].nextSibling;
|
|
576
582
|
}
|
|
@@ -588,6 +594,7 @@
|
|
|
588
594
|
this.key = options.key;
|
|
589
595
|
this.container = options.container;
|
|
590
596
|
this.prepend = options.prepend;
|
|
597
|
+
this.insertionPoint = options.insertionPoint;
|
|
591
598
|
this.before = null;
|
|
592
599
|
}
|
|
593
600
|
|
|
@@ -1034,7 +1041,8 @@
|
|
|
1034
1041
|
container: container,
|
|
1035
1042
|
nonce: options.nonce,
|
|
1036
1043
|
speedy: options.speedy,
|
|
1037
|
-
prepend: options.prepend
|
|
1044
|
+
prepend: options.prepend,
|
|
1045
|
+
insertionPoint: options.insertionPoint
|
|
1038
1046
|
}),
|
|
1039
1047
|
nonce: options.nonce,
|
|
1040
1048
|
inserted: inserted,
|
|
@@ -1866,7 +1874,7 @@
|
|
|
1866
1874
|
};
|
|
1867
1875
|
|
|
1868
1876
|
var isBrowser$2 = typeof document !== 'undefined';
|
|
1869
|
-
var hasOwnProperty$1 =
|
|
1877
|
+
var hasOwnProperty$1 = {}.hasOwnProperty;
|
|
1870
1878
|
|
|
1871
1879
|
var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
1872
1880
|
// because this module is primarily intended for the browser and node
|
|
@@ -1925,6 +1933,11 @@
|
|
|
1925
1933
|
|
|
1926
1934
|
var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
|
|
1927
1935
|
var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
|
|
1936
|
+
|
|
1937
|
+
var Noop$2 = function Noop() {
|
|
1938
|
+
return null;
|
|
1939
|
+
};
|
|
1940
|
+
|
|
1928
1941
|
var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
|
|
1929
1942
|
var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
|
|
1930
1943
|
// not passing the registered cache to serializeStyles because it would
|
|
@@ -1967,6 +1980,7 @@
|
|
|
1967
1980
|
newProps.ref = ref;
|
|
1968
1981
|
newProps.className = className;
|
|
1969
1982
|
var ele = /*#__PURE__*/React.createElement(type, newProps);
|
|
1983
|
+
var possiblyStyleElement = /*#__PURE__*/React.createElement(Noop$2, null);
|
|
1970
1984
|
|
|
1971
1985
|
if (!isBrowser$2 && rules !== undefined) {
|
|
1972
1986
|
var _ref;
|
|
@@ -1979,12 +1993,13 @@
|
|
|
1979
1993
|
next = next.next;
|
|
1980
1994
|
}
|
|
1981
1995
|
|
|
1982
|
-
|
|
1996
|
+
possiblyStyleElement = /*#__PURE__*/React.createElement("style", (_ref = {}, _ref["data-emotion"] = cache.key + " " + serializedNames, _ref.dangerouslySetInnerHTML = {
|
|
1983
1997
|
__html: rules
|
|
1984
|
-
}, _ref.nonce = cache.sheet.nonce, _ref))
|
|
1985
|
-
}
|
|
1998
|
+
}, _ref.nonce = cache.sheet.nonce, _ref));
|
|
1999
|
+
} // Need to return the same number of siblings or else `React.useId` will cause hydration mismatches.
|
|
2000
|
+
|
|
1986
2001
|
|
|
1987
|
-
return ele;
|
|
2002
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, possiblyStyleElement, ele);
|
|
1988
2003
|
});
|
|
1989
2004
|
|
|
1990
2005
|
{
|
|
@@ -1993,7 +2008,7 @@
|
|
|
1993
2008
|
|
|
1994
2009
|
var pkg = {
|
|
1995
2010
|
name: "@emotion/react",
|
|
1996
|
-
version: "11.
|
|
2011
|
+
version: "11.7.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.
|
|
2323
2343
|
|
|
2324
|
-
|
|
2344
|
+
|
|
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.
|
|
2519
|
+
|
|
2493
2520
|
|
|
2494
|
-
return ele;
|
|
2521
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, possiblyStyleElement, ele);
|
|
2495
2522
|
});
|
|
2496
2523
|
Styled.displayName = identifierName !== undefined ? identifierName : "Styled(" + (typeof baseTag === 'string' ? baseTag : baseTag.displayName || baseTag.name || 'Component') + ")";
|
|
2497
2524
|
Styled.defaultProps = tag.defaultProps;
|
|
@@ -4632,9 +4659,7 @@
|
|
|
4632
4659
|
}
|
|
4633
4660
|
|
|
4634
4661
|
function isPlainObject(item) {
|
|
4635
|
-
return item !== null && typeof item === 'object' &&
|
|
4636
|
-
// @ts-expect-error
|
|
4637
|
-
item.constructor === Object;
|
|
4662
|
+
return item !== null && typeof item === 'object' && item.constructor === Object;
|
|
4638
4663
|
}
|
|
4639
4664
|
function deepmerge(target, source, options = {
|
|
4640
4665
|
clone: true
|
|
@@ -4973,15 +4998,18 @@
|
|
|
4973
4998
|
const useEnhancedEffect = typeof window !== 'undefined' ? React__namespace.useLayoutEffect : React__namespace.useEffect;
|
|
4974
4999
|
var useEnhancedEffect$1 = useEnhancedEffect;
|
|
4975
5000
|
|
|
5001
|
+
let globalId = 0;
|
|
4976
5002
|
function useId(idOverride) {
|
|
4977
5003
|
const [defaultId, setDefaultId] = React__namespace.useState(idOverride);
|
|
4978
5004
|
const id = idOverride || defaultId;
|
|
4979
5005
|
React__namespace.useEffect(() => {
|
|
4980
5006
|
if (defaultId == null) {
|
|
4981
5007
|
// Fallback to this default id when possible.
|
|
4982
|
-
// Use the
|
|
5008
|
+
// Use the incrementing value for client-side rendering only.
|
|
4983
5009
|
// We can't use it server-side.
|
|
4984
|
-
|
|
5010
|
+
// If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem
|
|
5011
|
+
globalId += 1;
|
|
5012
|
+
setDefaultId(`mui-${globalId}`);
|
|
4985
5013
|
}
|
|
4986
5014
|
}, [defaultId]);
|
|
4987
5015
|
return id;
|
|
@@ -5070,7 +5098,7 @@
|
|
|
5070
5098
|
// based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js
|
|
5071
5099
|
let hadKeyboardEvent = true;
|
|
5072
5100
|
let hadFocusVisibleRecently = false;
|
|
5073
|
-
let hadFocusVisibleRecentlyTimeout
|
|
5101
|
+
let hadFocusVisibleRecentlyTimeout;
|
|
5074
5102
|
const inputTypesWhitelist = {
|
|
5075
5103
|
text: true,
|
|
5076
5104
|
search: true,
|
|
@@ -5481,7 +5509,7 @@
|
|
|
5481
5509
|
function removeUnusedBreakpoints(breakpointKeys, style) {
|
|
5482
5510
|
return breakpointKeys.reduce((acc, key) => {
|
|
5483
5511
|
const breakpointOutput = acc[key];
|
|
5484
|
-
const isBreakpointUnused = Object.keys(breakpointOutput).length === 0;
|
|
5512
|
+
const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
|
|
5485
5513
|
|
|
5486
5514
|
if (isBreakpointUnused) {
|
|
5487
5515
|
delete acc[key];
|
|
@@ -6237,27 +6265,29 @@
|
|
|
6237
6265
|
Object.keys(sxObject).forEach(styleKey => {
|
|
6238
6266
|
const value = callIfFn(sxObject[styleKey], theme);
|
|
6239
6267
|
|
|
6240
|
-
if (
|
|
6241
|
-
if (
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
const breakpointsValues = handleBreakpoints({
|
|
6245
|
-
theme
|
|
6246
|
-
}, value, x => ({
|
|
6247
|
-
[styleKey]: x
|
|
6248
|
-
}));
|
|
6249
|
-
|
|
6250
|
-
if (objectsHaveSameKeys(breakpointsValues, value)) {
|
|
6251
|
-
css[styleKey] = styleFunctionSx({
|
|
6252
|
-
sx: value,
|
|
6253
|
-
theme
|
|
6254
|
-
});
|
|
6268
|
+
if (value !== null && value !== undefined) {
|
|
6269
|
+
if (typeof value === 'object') {
|
|
6270
|
+
if (propToStyleFunction[styleKey]) {
|
|
6271
|
+
css = merge(css, getThemeValue(styleKey, value, theme));
|
|
6255
6272
|
} else {
|
|
6256
|
-
|
|
6273
|
+
const breakpointsValues = handleBreakpoints({
|
|
6274
|
+
theme
|
|
6275
|
+
}, value, x => ({
|
|
6276
|
+
[styleKey]: x
|
|
6277
|
+
}));
|
|
6278
|
+
|
|
6279
|
+
if (objectsHaveSameKeys(breakpointsValues, value)) {
|
|
6280
|
+
css[styleKey] = styleFunctionSx({
|
|
6281
|
+
sx: value,
|
|
6282
|
+
theme
|
|
6283
|
+
});
|
|
6284
|
+
} else {
|
|
6285
|
+
css = merge(css, breakpointsValues);
|
|
6286
|
+
}
|
|
6257
6287
|
}
|
|
6288
|
+
} else {
|
|
6289
|
+
css = merge(css, getThemeValue(styleKey, value, theme));
|
|
6258
6290
|
}
|
|
6259
|
-
} else {
|
|
6260
|
-
css = merge(css, getThemeValue(styleKey, value, theme));
|
|
6261
6291
|
}
|
|
6262
6292
|
});
|
|
6263
6293
|
return removeUnusedBreakpoints(breakpointsKeys, css);
|
|
@@ -6268,7 +6298,7 @@
|
|
|
6268
6298
|
|
|
6269
6299
|
styleFunctionSx.filterProps = ['sx'];
|
|
6270
6300
|
|
|
6271
|
-
const _excluded$
|
|
6301
|
+
const _excluded$2t = ["sx"];
|
|
6272
6302
|
|
|
6273
6303
|
const splitProps = props => {
|
|
6274
6304
|
const result = {
|
|
@@ -6289,7 +6319,7 @@
|
|
|
6289
6319
|
const {
|
|
6290
6320
|
sx: inSx
|
|
6291
6321
|
} = props,
|
|
6292
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6322
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2t);
|
|
6293
6323
|
|
|
6294
6324
|
const {
|
|
6295
6325
|
systemProps,
|
|
@@ -6318,6 +6348,15 @@
|
|
|
6318
6348
|
});
|
|
6319
6349
|
}
|
|
6320
6350
|
|
|
6351
|
+
function sx(styles) {
|
|
6352
|
+
return ({
|
|
6353
|
+
theme
|
|
6354
|
+
}) => styleFunctionSx({
|
|
6355
|
+
sx: styles,
|
|
6356
|
+
theme
|
|
6357
|
+
});
|
|
6358
|
+
}
|
|
6359
|
+
|
|
6321
6360
|
function toVal(mix) {
|
|
6322
6361
|
var k, y, str='';
|
|
6323
6362
|
|
|
@@ -6359,7 +6398,7 @@
|
|
|
6359
6398
|
return str;
|
|
6360
6399
|
}
|
|
6361
6400
|
|
|
6362
|
-
const _excluded$
|
|
6401
|
+
const _excluded$2s = ["values", "unit", "step"];
|
|
6363
6402
|
|
|
6364
6403
|
function createBreakpoints(breakpoints) {
|
|
6365
6404
|
const {
|
|
@@ -6380,7 +6419,7 @@
|
|
|
6380
6419
|
unit = 'px',
|
|
6381
6420
|
step = 5
|
|
6382
6421
|
} = breakpoints,
|
|
6383
|
-
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$
|
|
6422
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2s);
|
|
6384
6423
|
|
|
6385
6424
|
const keys = Object.keys(values);
|
|
6386
6425
|
|
|
@@ -6455,7 +6494,7 @@
|
|
|
6455
6494
|
return spacing;
|
|
6456
6495
|
}
|
|
6457
6496
|
|
|
6458
|
-
const _excluded$
|
|
6497
|
+
const _excluded$2r = ["breakpoints", "palette", "spacing", "shape"];
|
|
6459
6498
|
|
|
6460
6499
|
function createTheme$1(options = {}, ...args) {
|
|
6461
6500
|
const {
|
|
@@ -6464,7 +6503,7 @@
|
|
|
6464
6503
|
spacing: spacingInput,
|
|
6465
6504
|
shape: shapeInput = {}
|
|
6466
6505
|
} = options,
|
|
6467
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
6506
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$2r);
|
|
6468
6507
|
|
|
6469
6508
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
6470
6509
|
const spacing = createSpacing(spacingInput);
|
|
@@ -6586,7 +6625,7 @@
|
|
|
6586
6625
|
return useTheme$2(defaultTheme);
|
|
6587
6626
|
}
|
|
6588
6627
|
|
|
6589
|
-
const _excluded$
|
|
6628
|
+
const _excluded$2q = ["className", "component"];
|
|
6590
6629
|
function createBox(options = {}) {
|
|
6591
6630
|
const {
|
|
6592
6631
|
defaultTheme,
|
|
@@ -6602,7 +6641,7 @@
|
|
|
6602
6641
|
className,
|
|
6603
6642
|
component = 'div'
|
|
6604
6643
|
} = _extendSxProp,
|
|
6605
|
-
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$
|
|
6644
|
+
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2q);
|
|
6606
6645
|
|
|
6607
6646
|
return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
|
|
6608
6647
|
as: component,
|
|
@@ -6633,12 +6672,12 @@
|
|
|
6633
6672
|
/**
|
|
6634
6673
|
* @ignore
|
|
6635
6674
|
*/
|
|
6636
|
-
sx: propTypes.oneOfType([propTypes.object, propTypes.array])
|
|
6675
|
+
sx: propTypes.oneOfType([propTypes.object, propTypes.array, propTypes.func])
|
|
6637
6676
|
} ;
|
|
6638
6677
|
return Box;
|
|
6639
6678
|
}
|
|
6640
6679
|
|
|
6641
|
-
const _excluded$
|
|
6680
|
+
const _excluded$2p = ["variant"];
|
|
6642
6681
|
|
|
6643
6682
|
function isEmpty$2(string) {
|
|
6644
6683
|
return string.length === 0;
|
|
@@ -6654,7 +6693,7 @@
|
|
|
6654
6693
|
const {
|
|
6655
6694
|
variant
|
|
6656
6695
|
} = props,
|
|
6657
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6696
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2p);
|
|
6658
6697
|
|
|
6659
6698
|
let classKey = variant || '';
|
|
6660
6699
|
Object.keys(other).sort().forEach(key => {
|
|
@@ -6667,8 +6706,8 @@
|
|
|
6667
6706
|
return classKey;
|
|
6668
6707
|
}
|
|
6669
6708
|
|
|
6670
|
-
const _excluded$
|
|
6671
|
-
_excluded2$
|
|
6709
|
+
const _excluded$2o = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
|
|
6710
|
+
_excluded2$b = ["theme"],
|
|
6672
6711
|
_excluded3$1 = ["theme"];
|
|
6673
6712
|
|
|
6674
6713
|
function isEmpty$1(obj) {
|
|
@@ -6748,7 +6787,7 @@
|
|
|
6748
6787
|
skipSx: inputSkipSx,
|
|
6749
6788
|
overridesResolver
|
|
6750
6789
|
} = inputOptions,
|
|
6751
|
-
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$
|
|
6790
|
+
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2o); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
|
|
6752
6791
|
|
|
6753
6792
|
|
|
6754
6793
|
const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
|
|
@@ -6785,7 +6824,7 @@
|
|
|
6785
6824
|
let {
|
|
6786
6825
|
theme: themeInput
|
|
6787
6826
|
} = _ref,
|
|
6788
|
-
other = _objectWithoutPropertiesLoose(_ref, _excluded2$
|
|
6827
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded2$b);
|
|
6789
6828
|
|
|
6790
6829
|
return stylesArg(_extends({
|
|
6791
6830
|
theme: isEmpty$1(themeInput) ? defaultTheme : themeInput
|
|
@@ -7250,8 +7289,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7250
7289
|
ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) ;
|
|
7251
7290
|
}
|
|
7252
7291
|
|
|
7253
|
-
const _excluded$
|
|
7254
|
-
_excluded2$
|
|
7292
|
+
const _excluded$2n = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
|
|
7293
|
+
_excluded2$a = ["type", "mode"];
|
|
7255
7294
|
function adaptV4Theme(inputTheme) {
|
|
7256
7295
|
{
|
|
7257
7296
|
console.warn(['MUI: adaptV4Theme() is deprecated.', 'Follow the upgrade guide on https://mui.com/r/migration-v4#theme.'].join('\n'));
|
|
@@ -7265,7 +7304,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7265
7304
|
props = {},
|
|
7266
7305
|
styleOverrides = {}
|
|
7267
7306
|
} = inputTheme,
|
|
7268
|
-
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$
|
|
7307
|
+
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2n);
|
|
7269
7308
|
|
|
7270
7309
|
const theme = _extends({}, other, {
|
|
7271
7310
|
components: {}
|
|
@@ -7281,7 +7320,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7281
7320
|
const componentValue = theme.components[component] || {};
|
|
7282
7321
|
componentValue.defaultProps = props[component];
|
|
7283
7322
|
theme.components[component] = componentValue;
|
|
7284
|
-
}); //
|
|
7323
|
+
}); // CSS overrides
|
|
7285
7324
|
|
|
7286
7325
|
Object.keys(styleOverrides).forEach(component => {
|
|
7287
7326
|
const componentValue = theme.components[component] || {};
|
|
@@ -7316,7 +7355,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7316
7355
|
type: typeInput,
|
|
7317
7356
|
mode: modeInput
|
|
7318
7357
|
} = palette,
|
|
7319
|
-
paletteRest = _objectWithoutPropertiesLoose(palette, _excluded2$
|
|
7358
|
+
paletteRest = _objectWithoutPropertiesLoose(palette, _excluded2$a);
|
|
7320
7359
|
|
|
7321
7360
|
const finalMode = modeInput || typeInput || 'light';
|
|
7322
7361
|
theme.palette = _extends({
|
|
@@ -8436,9 +8475,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8436
8475
|
const backdropUnstyledClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
|
|
8437
8476
|
var backdropUnstyledClasses$1 = backdropUnstyledClasses;
|
|
8438
8477
|
|
|
8439
|
-
const _excluded$
|
|
8478
|
+
const _excluded$2m = ["classes", "className", "invisible", "component", "components", "componentsProps", "theme"];
|
|
8440
8479
|
|
|
8441
|
-
const useUtilityClasses$
|
|
8480
|
+
const useUtilityClasses$1T = ownerState => {
|
|
8442
8481
|
const {
|
|
8443
8482
|
classes,
|
|
8444
8483
|
invisible
|
|
@@ -8461,14 +8500,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8461
8500
|
/* eslint-disable react/prop-types */
|
|
8462
8501
|
theme
|
|
8463
8502
|
} = props,
|
|
8464
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
8503
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2m);
|
|
8465
8504
|
|
|
8466
8505
|
const ownerState = _extends({}, props, {
|
|
8467
8506
|
classes: classesProp,
|
|
8468
8507
|
invisible
|
|
8469
8508
|
});
|
|
8470
8509
|
|
|
8471
|
-
const classes = useUtilityClasses$
|
|
8510
|
+
const classes = useUtilityClasses$1T(ownerState);
|
|
8472
8511
|
const Root = components.Root || component;
|
|
8473
8512
|
const rootProps = componentsProps.root || {};
|
|
8474
8513
|
return /*#__PURE__*/jsxRuntime_1(Root, _extends({
|
|
@@ -8542,9 +8581,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8542
8581
|
const badgeUnstyledClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular', 'invisible']);
|
|
8543
8582
|
var badgeUnstyledClasses$1 = badgeUnstyledClasses;
|
|
8544
8583
|
|
|
8545
|
-
const _excluded$
|
|
8584
|
+
const _excluded$2l = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "overlap", "showZero", "variant", "theme"];
|
|
8546
8585
|
|
|
8547
|
-
const useUtilityClasses$
|
|
8586
|
+
const useUtilityClasses$1S = ownerState => {
|
|
8548
8587
|
const {
|
|
8549
8588
|
variant,
|
|
8550
8589
|
anchorOrigin,
|
|
@@ -8581,7 +8620,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8581
8620
|
/* eslint-disable react/prop-types */
|
|
8582
8621
|
theme
|
|
8583
8622
|
} = props,
|
|
8584
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
8623
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2l);
|
|
8585
8624
|
|
|
8586
8625
|
const prevProps = usePreviousProps$1({
|
|
8587
8626
|
anchorOrigin: anchorOriginProp,
|
|
@@ -8620,7 +8659,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8620
8659
|
displayValue = badgeContent > max ? `${max}+` : badgeContent;
|
|
8621
8660
|
}
|
|
8622
8661
|
|
|
8623
|
-
const classes = useUtilityClasses$
|
|
8662
|
+
const classes = useUtilityClasses$1S(ownerState);
|
|
8624
8663
|
const Root = components.Root || component;
|
|
8625
8664
|
const rootProps = componentsProps.root || {};
|
|
8626
8665
|
const Badge = components.Badge || 'span';
|
|
@@ -8978,9 +9017,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8978
9017
|
});
|
|
8979
9018
|
}
|
|
8980
9019
|
|
|
8981
|
-
const _excluded$
|
|
9020
|
+
const _excluded$2k = ["className", "component", "components", "componentsProps", "children", "disabled", "action", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseLeave"];
|
|
8982
9021
|
|
|
8983
|
-
const useUtilityClasses$
|
|
9022
|
+
const useUtilityClasses$1R = ownerState => {
|
|
8984
9023
|
const {
|
|
8985
9024
|
active,
|
|
8986
9025
|
disabled,
|
|
@@ -9015,7 +9054,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9015
9054
|
children,
|
|
9016
9055
|
action
|
|
9017
9056
|
} = props,
|
|
9018
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9057
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2k);
|
|
9019
9058
|
|
|
9020
9059
|
const buttonRef = React__namespace.useRef();
|
|
9021
9060
|
const handleRef = useForkRef(buttonRef, ref);
|
|
@@ -9041,7 +9080,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9041
9080
|
|
|
9042
9081
|
const ButtonRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
|
|
9043
9082
|
const buttonRootProps = appendOwnerState(ButtonRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
9044
|
-
const classes = useUtilityClasses$
|
|
9083
|
+
const classes = useUtilityClasses$1R(ownerState);
|
|
9045
9084
|
return /*#__PURE__*/jsxRuntime_1(ButtonRoot, _extends({}, getRootProps(), buttonRootProps, {
|
|
9046
9085
|
className: clsx(classes.root, className, buttonRootProps.className),
|
|
9047
9086
|
children: children
|
|
@@ -9131,7 +9170,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9131
9170
|
const formControlUnstyledClasses = generateUtilityClasses('MuiFormControl', ['root', 'disabled']);
|
|
9132
9171
|
var classes$2 = formControlUnstyledClasses;
|
|
9133
9172
|
|
|
9134
|
-
const _excluded$
|
|
9173
|
+
const _excluded$2j = ["defaultValue", "children", "className", "component", "components", "componentsProps", "disabled", "error", "focused", "onChange", "required", "value"];
|
|
9135
9174
|
|
|
9136
9175
|
function hasValue$1(value) {
|
|
9137
9176
|
return value != null && !(Array.isArray(value) && value.length === 0) && value !== '';
|
|
@@ -9181,12 +9220,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9181
9220
|
componentsProps = {},
|
|
9182
9221
|
disabled = false,
|
|
9183
9222
|
error = false,
|
|
9184
|
-
focused: visuallyFocused
|
|
9223
|
+
focused: visuallyFocused,
|
|
9185
9224
|
onChange,
|
|
9186
9225
|
required = false,
|
|
9187
9226
|
value: incomingValue
|
|
9188
9227
|
} = props,
|
|
9189
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9228
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2j);
|
|
9190
9229
|
|
|
9191
9230
|
const [value, setValue] = useControlled({
|
|
9192
9231
|
controlled: incomingValue,
|
|
@@ -9513,7 +9552,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9513
9552
|
};
|
|
9514
9553
|
}
|
|
9515
9554
|
|
|
9516
|
-
const _excluded$
|
|
9555
|
+
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"];
|
|
9517
9556
|
const InputUnstyled = /*#__PURE__*/React__namespace.forwardRef(function InputUnstyled(props, ref) {
|
|
9518
9557
|
var _componentsProps$inpu, _ref, _componentsProps$root, _components$Input, _componentsProps$inpu2;
|
|
9519
9558
|
|
|
@@ -9550,7 +9589,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9550
9589
|
startAdornment,
|
|
9551
9590
|
value
|
|
9552
9591
|
} = props,
|
|
9553
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9592
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2i);
|
|
9554
9593
|
|
|
9555
9594
|
const {
|
|
9556
9595
|
getRootProps,
|
|
@@ -10494,9 +10533,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10494
10533
|
const modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);
|
|
10495
10534
|
var modalUnstyledClasses$1 = modalUnstyledClasses;
|
|
10496
10535
|
|
|
10497
|
-
const _excluded$
|
|
10536
|
+
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"];
|
|
10498
10537
|
|
|
10499
|
-
const useUtilityClasses$
|
|
10538
|
+
const useUtilityClasses$1Q = ownerState => {
|
|
10500
10539
|
const {
|
|
10501
10540
|
open,
|
|
10502
10541
|
exited,
|
|
@@ -10566,7 +10605,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10566
10605
|
onTransitionEnter,
|
|
10567
10606
|
onTransitionExited
|
|
10568
10607
|
} = props,
|
|
10569
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
10608
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2h);
|
|
10570
10609
|
|
|
10571
10610
|
const [exited, setExited] = React__namespace.useState(true);
|
|
10572
10611
|
const modal = React__namespace.useRef({});
|
|
@@ -10643,7 +10682,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10643
10682
|
keepMounted
|
|
10644
10683
|
});
|
|
10645
10684
|
|
|
10646
|
-
const classes = useUtilityClasses$
|
|
10685
|
+
const classes = useUtilityClasses$1Q(ownerState);
|
|
10647
10686
|
|
|
10648
10687
|
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
10649
10688
|
return null;
|
|
@@ -12825,12 +12864,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12825
12864
|
defaultModifiers: defaultModifiers
|
|
12826
12865
|
}); // eslint-disable-next-line import/no-unused-modules
|
|
12827
12866
|
|
|
12828
|
-
const _excluded$
|
|
12829
|
-
_excluded2$
|
|
12830
|
-
|
|
12831
|
-
function flipPlacement(placement, theme) {
|
|
12832
|
-
const direction = theme && theme.direction || 'ltr';
|
|
12867
|
+
const _excluded$2g = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "TransitionProps"],
|
|
12868
|
+
_excluded2$9 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"];
|
|
12833
12869
|
|
|
12870
|
+
function flipPlacement(placement, direction) {
|
|
12834
12871
|
if (direction === 'ltr') {
|
|
12835
12872
|
return placement;
|
|
12836
12873
|
}
|
|
@@ -12864,6 +12901,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12864
12901
|
const {
|
|
12865
12902
|
anchorEl,
|
|
12866
12903
|
children,
|
|
12904
|
+
direction,
|
|
12867
12905
|
disablePortal,
|
|
12868
12906
|
modifiers,
|
|
12869
12907
|
open,
|
|
@@ -12872,7 +12910,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12872
12910
|
popperRef: popperRefProp,
|
|
12873
12911
|
TransitionProps
|
|
12874
12912
|
} = props,
|
|
12875
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
12913
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2g);
|
|
12876
12914
|
|
|
12877
12915
|
const tooltipRef = React__namespace.useRef(null);
|
|
12878
12916
|
const ownRef = useForkRef(tooltipRef, ref);
|
|
@@ -12883,8 +12921,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12883
12921
|
handlePopperRefRef.current = handlePopperRef;
|
|
12884
12922
|
}, [handlePopperRef]);
|
|
12885
12923
|
React__namespace.useImperativeHandle(popperRefProp, () => popperRef.current, []);
|
|
12886
|
-
const
|
|
12887
|
-
const rtlPlacement = flipPlacement(initialPlacement, theme);
|
|
12924
|
+
const rtlPlacement = flipPlacement(initialPlacement, direction);
|
|
12888
12925
|
/**
|
|
12889
12926
|
* placement initialized from prop but can change during lifetime if modifiers.flip.
|
|
12890
12927
|
* modifiers.flip is essentially a flip for controlled/uncontrolled behavior
|
|
@@ -12978,11 +13015,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12978
13015
|
* Poppers rely on the 3rd party library [Popper.js](https://popper.js.org/docs/v2/) for positioning.
|
|
12979
13016
|
*/
|
|
12980
13017
|
|
|
12981
|
-
const
|
|
13018
|
+
const PopperUnstyled = /*#__PURE__*/React__namespace.forwardRef(function PopperUnstyled(props, ref) {
|
|
12982
13019
|
const {
|
|
12983
13020
|
anchorEl,
|
|
12984
13021
|
children,
|
|
12985
13022
|
container: containerProp,
|
|
13023
|
+
direction = 'ltr',
|
|
12986
13024
|
disablePortal = false,
|
|
12987
13025
|
keepMounted = false,
|
|
12988
13026
|
modifiers,
|
|
@@ -12993,7 +13031,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12993
13031
|
style,
|
|
12994
13032
|
transition = false
|
|
12995
13033
|
} = props,
|
|
12996
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
13034
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$9);
|
|
12997
13035
|
|
|
12998
13036
|
const [exited, setExited] = React__namespace.useState(true);
|
|
12999
13037
|
|
|
@@ -13018,6 +13056,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13018
13056
|
container: container,
|
|
13019
13057
|
children: /*#__PURE__*/jsxRuntime_1(PopperTooltip, _extends({
|
|
13020
13058
|
anchorEl: anchorEl,
|
|
13059
|
+
direction: direction,
|
|
13021
13060
|
disablePortal: disablePortal,
|
|
13022
13061
|
modifiers: modifiers,
|
|
13023
13062
|
ref: ref,
|
|
@@ -13043,7 +13082,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13043
13082
|
}))
|
|
13044
13083
|
});
|
|
13045
13084
|
});
|
|
13046
|
-
|
|
13085
|
+
PopperUnstyled.propTypes
|
|
13047
13086
|
/* remove-proptypes */
|
|
13048
13087
|
= {
|
|
13049
13088
|
// ----------------------------- Warning --------------------------------
|
|
@@ -13093,6 +13132,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13093
13132
|
/* @typescript-to-proptypes-ignore */
|
|
13094
13133
|
.oneOfType([HTMLElementType, propTypes.func]),
|
|
13095
13134
|
|
|
13135
|
+
/**
|
|
13136
|
+
* Direction of the text.
|
|
13137
|
+
* @default 'ltr'
|
|
13138
|
+
*/
|
|
13139
|
+
direction: propTypes.oneOf(['ltr', 'rtl']),
|
|
13140
|
+
|
|
13096
13141
|
/**
|
|
13097
13142
|
* The `children` will be under the DOM hierarchy of the parent component.
|
|
13098
13143
|
* @default false
|
|
@@ -13166,7 +13211,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13166
13211
|
*/
|
|
13167
13212
|
transition: propTypes.bool
|
|
13168
13213
|
} ;
|
|
13169
|
-
var
|
|
13214
|
+
var PopperUnstyled$1 = PopperUnstyled;
|
|
13170
13215
|
|
|
13171
13216
|
function getSliderUtilityClass(slot) {
|
|
13172
13217
|
return generateUtilityClass('MuiSlider', slot);
|
|
@@ -13223,7 +13268,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13223
13268
|
value: propTypes.node
|
|
13224
13269
|
} ;
|
|
13225
13270
|
|
|
13226
|
-
const _excluded$
|
|
13271
|
+
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"];
|
|
13227
13272
|
const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
|
|
13228
13273
|
|
|
13229
13274
|
function asc(a, b) {
|
|
@@ -13383,7 +13428,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13383
13428
|
return cachedSupportsTouchActionNone;
|
|
13384
13429
|
}
|
|
13385
13430
|
|
|
13386
|
-
const useUtilityClasses$
|
|
13431
|
+
const useUtilityClasses$1P = ownerState => {
|
|
13387
13432
|
const {
|
|
13388
13433
|
disabled,
|
|
13389
13434
|
dragging,
|
|
@@ -13445,7 +13490,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13445
13490
|
components = {},
|
|
13446
13491
|
componentsProps = {}
|
|
13447
13492
|
} = props,
|
|
13448
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
13493
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2f);
|
|
13449
13494
|
|
|
13450
13495
|
const touchId = React__namespace.useRef(); // We can't use the :active browser pseudo-classes.
|
|
13451
13496
|
// - The active state isn't triggered when clicking on the rail.
|
|
@@ -13875,7 +13920,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13875
13920
|
valueLabelFormat
|
|
13876
13921
|
});
|
|
13877
13922
|
|
|
13878
|
-
const classes = useUtilityClasses$
|
|
13923
|
+
const classes = useUtilityClasses$1P(ownerState);
|
|
13879
13924
|
return /*#__PURE__*/jsxRuntime_2(Root, _extends({
|
|
13880
13925
|
ref: handleRef,
|
|
13881
13926
|
onMouseDown: handleMouseDown
|
|
@@ -14341,7 +14386,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14341
14386
|
const switchUnstyledClasses = generateUtilityClasses('MuiSwitch', ['root', 'input', 'track', 'thumb', 'checked', 'disabled', 'focusVisible', 'readOnly']);
|
|
14342
14387
|
var classes = switchUnstyledClasses;
|
|
14343
14388
|
|
|
14344
|
-
const _excluded$
|
|
14389
|
+
const _excluded$2e = ["checked", "className", "component", "components", "componentsProps", "defaultChecked", "disabled", "onBlur", "onChange", "onFocus", "onFocusVisible", "readOnly", "required"];
|
|
14345
14390
|
|
|
14346
14391
|
/**
|
|
14347
14392
|
* The foundation for building custom-styled switches.
|
|
@@ -14371,7 +14416,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14371
14416
|
onFocusVisible,
|
|
14372
14417
|
readOnly: readOnlyProp
|
|
14373
14418
|
} = props,
|
|
14374
|
-
otherProps = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14419
|
+
otherProps = _objectWithoutPropertiesLoose(props, _excluded$2e);
|
|
14375
14420
|
|
|
14376
14421
|
const useSwitchProps = {
|
|
14377
14422
|
checked: checkedProp,
|
|
@@ -14511,7 +14556,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14511
14556
|
} ;
|
|
14512
14557
|
var SwitchUnstyled$1 = SwitchUnstyled;
|
|
14513
14558
|
|
|
14514
|
-
const _excluded$
|
|
14559
|
+
const _excluded$2d = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
14515
14560
|
|
|
14516
14561
|
function getStyleValue(computedStyle, property) {
|
|
14517
14562
|
return parseInt(computedStyle[property], 10) || 0;
|
|
@@ -14540,7 +14585,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14540
14585
|
style,
|
|
14541
14586
|
value
|
|
14542
14587
|
} = props,
|
|
14543
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14588
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2d);
|
|
14544
14589
|
|
|
14545
14590
|
const {
|
|
14546
14591
|
current: isControlled
|
|
@@ -14726,6 +14771,895 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14726
14771
|
} ;
|
|
14727
14772
|
var TextareaAutosize$1 = TextareaAutosize;
|
|
14728
14773
|
|
|
14774
|
+
function getTabsUnstyledUtilityClass(slot) {
|
|
14775
|
+
return generateUtilityClass('TabsUnstyled', slot);
|
|
14776
|
+
}
|
|
14777
|
+
const tabsUnstyledClasses = generateUtilityClasses('TabsUnstyled', ['root', 'horizontal', 'vertical']);
|
|
14778
|
+
var tabsUnstyledClasses$1 = tabsUnstyledClasses;
|
|
14779
|
+
|
|
14780
|
+
const useTabs = props => {
|
|
14781
|
+
const {
|
|
14782
|
+
value: valueProp,
|
|
14783
|
+
defaultValue,
|
|
14784
|
+
onChange,
|
|
14785
|
+
orientation,
|
|
14786
|
+
direction,
|
|
14787
|
+
selectionFollowsFocus
|
|
14788
|
+
} = props;
|
|
14789
|
+
const [value, setValue] = useControlled({
|
|
14790
|
+
controlled: valueProp,
|
|
14791
|
+
default: defaultValue,
|
|
14792
|
+
name: 'Tabs',
|
|
14793
|
+
state: 'value'
|
|
14794
|
+
});
|
|
14795
|
+
const idPrefix = useId();
|
|
14796
|
+
const onSelected = React__namespace.useCallback((e, newValue) => {
|
|
14797
|
+
setValue(newValue);
|
|
14798
|
+
|
|
14799
|
+
if (onChange) {
|
|
14800
|
+
onChange(e, newValue);
|
|
14801
|
+
}
|
|
14802
|
+
}, [onChange, setValue]);
|
|
14803
|
+
|
|
14804
|
+
const getRootProps = () => {
|
|
14805
|
+
return {};
|
|
14806
|
+
};
|
|
14807
|
+
|
|
14808
|
+
const tabsContextValue = React__namespace.useMemo(() => {
|
|
14809
|
+
return {
|
|
14810
|
+
idPrefix,
|
|
14811
|
+
value,
|
|
14812
|
+
onSelected,
|
|
14813
|
+
orientation,
|
|
14814
|
+
direction,
|
|
14815
|
+
selectionFollowsFocus
|
|
14816
|
+
};
|
|
14817
|
+
}, [idPrefix, value, onSelected, orientation, direction, selectionFollowsFocus]);
|
|
14818
|
+
return {
|
|
14819
|
+
getRootProps,
|
|
14820
|
+
tabsContextValue
|
|
14821
|
+
};
|
|
14822
|
+
};
|
|
14823
|
+
|
|
14824
|
+
var useTabs$1 = useTabs;
|
|
14825
|
+
|
|
14826
|
+
/**
|
|
14827
|
+
* @ignore - internal component.
|
|
14828
|
+
*/
|
|
14829
|
+
const Context = /*#__PURE__*/React__namespace.createContext(null);
|
|
14830
|
+
|
|
14831
|
+
{
|
|
14832
|
+
Context.displayName = 'TabsContext';
|
|
14833
|
+
}
|
|
14834
|
+
/**
|
|
14835
|
+
* @returns {unknown}
|
|
14836
|
+
*/
|
|
14837
|
+
|
|
14838
|
+
|
|
14839
|
+
function useTabContext() {
|
|
14840
|
+
return React__namespace.useContext(Context);
|
|
14841
|
+
}
|
|
14842
|
+
function getPanelId(context, value) {
|
|
14843
|
+
const {
|
|
14844
|
+
idPrefix
|
|
14845
|
+
} = context;
|
|
14846
|
+
|
|
14847
|
+
if (idPrefix === null) {
|
|
14848
|
+
return null;
|
|
14849
|
+
}
|
|
14850
|
+
|
|
14851
|
+
return `${context.idPrefix}-P-${value}`;
|
|
14852
|
+
}
|
|
14853
|
+
function getTabId(context, value) {
|
|
14854
|
+
const {
|
|
14855
|
+
idPrefix
|
|
14856
|
+
} = context;
|
|
14857
|
+
|
|
14858
|
+
if (idPrefix === null) {
|
|
14859
|
+
return null;
|
|
14860
|
+
}
|
|
14861
|
+
|
|
14862
|
+
return `${context.idPrefix}-T-${value}`;
|
|
14863
|
+
}
|
|
14864
|
+
var Context$1 = Context;
|
|
14865
|
+
|
|
14866
|
+
const _excluded$2c = ["children", "className", "value", "defaultValue", "orientation", "direction", "component", "components", "componentsProps", "onChange", "selectionFollowsFocus"];
|
|
14867
|
+
|
|
14868
|
+
const useUtilityClasses$1O = ownerState => {
|
|
14869
|
+
const {
|
|
14870
|
+
orientation
|
|
14871
|
+
} = ownerState;
|
|
14872
|
+
const slots = {
|
|
14873
|
+
root: ['root', orientation]
|
|
14874
|
+
};
|
|
14875
|
+
return composeClasses(slots, getTabsUnstyledUtilityClass, {});
|
|
14876
|
+
};
|
|
14877
|
+
/**
|
|
14878
|
+
*
|
|
14879
|
+
* Demos:
|
|
14880
|
+
*
|
|
14881
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
14882
|
+
*
|
|
14883
|
+
* API:
|
|
14884
|
+
*
|
|
14885
|
+
* - [TabsUnstyled API](https://mui.com/api/tabs-unstyled/)
|
|
14886
|
+
*/
|
|
14887
|
+
|
|
14888
|
+
|
|
14889
|
+
const TabsUnstyled = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
|
|
14890
|
+
var _ref, _componentsProps$root;
|
|
14891
|
+
|
|
14892
|
+
const {
|
|
14893
|
+
children,
|
|
14894
|
+
className,
|
|
14895
|
+
orientation = 'horizontal',
|
|
14896
|
+
direction = 'ltr',
|
|
14897
|
+
component,
|
|
14898
|
+
components = {},
|
|
14899
|
+
componentsProps = {}
|
|
14900
|
+
} = props,
|
|
14901
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2c);
|
|
14902
|
+
|
|
14903
|
+
const {
|
|
14904
|
+
tabsContextValue,
|
|
14905
|
+
getRootProps
|
|
14906
|
+
} = useTabs$1(props);
|
|
14907
|
+
|
|
14908
|
+
const ownerState = _extends({}, props, {
|
|
14909
|
+
orientation,
|
|
14910
|
+
direction
|
|
14911
|
+
});
|
|
14912
|
+
|
|
14913
|
+
const classes = useUtilityClasses$1O(ownerState);
|
|
14914
|
+
const TabsRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
|
|
14915
|
+
const tabsRootProps = appendOwnerState(TabsRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
14916
|
+
return /*#__PURE__*/jsxRuntime_1(TabsRoot, _extends({}, getRootProps(), tabsRootProps, {
|
|
14917
|
+
ref: ref,
|
|
14918
|
+
className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
|
|
14919
|
+
children: /*#__PURE__*/jsxRuntime_1(Context$1.Provider, {
|
|
14920
|
+
value: tabsContextValue,
|
|
14921
|
+
children: children
|
|
14922
|
+
})
|
|
14923
|
+
}));
|
|
14924
|
+
});
|
|
14925
|
+
TabsUnstyled.propTypes
|
|
14926
|
+
/* remove-proptypes */
|
|
14927
|
+
= {
|
|
14928
|
+
// ----------------------------- Warning --------------------------------
|
|
14929
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
14930
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
14931
|
+
// ----------------------------------------------------------------------
|
|
14932
|
+
|
|
14933
|
+
/**
|
|
14934
|
+
* The content of the component.
|
|
14935
|
+
*/
|
|
14936
|
+
children: propTypes.node,
|
|
14937
|
+
|
|
14938
|
+
/**
|
|
14939
|
+
* @ignore
|
|
14940
|
+
*/
|
|
14941
|
+
className: propTypes.string,
|
|
14942
|
+
|
|
14943
|
+
/**
|
|
14944
|
+
* The component used for the root node.
|
|
14945
|
+
* Either a string to use a HTML element or a component.
|
|
14946
|
+
*/
|
|
14947
|
+
component: propTypes.elementType,
|
|
14948
|
+
|
|
14949
|
+
/**
|
|
14950
|
+
* The components used for each slot inside the Tabs.
|
|
14951
|
+
* Either a string to use a HTML element or a component.
|
|
14952
|
+
* @default {}
|
|
14953
|
+
*/
|
|
14954
|
+
components: propTypes.shape({
|
|
14955
|
+
Root: propTypes.elementType
|
|
14956
|
+
}),
|
|
14957
|
+
|
|
14958
|
+
/**
|
|
14959
|
+
* The props used for each slot inside the Tabs.
|
|
14960
|
+
* @default {}
|
|
14961
|
+
*/
|
|
14962
|
+
componentsProps: propTypes.object,
|
|
14963
|
+
|
|
14964
|
+
/**
|
|
14965
|
+
* The default value. Use when the component is not controlled.
|
|
14966
|
+
*/
|
|
14967
|
+
defaultValue: propTypes.oneOfType([propTypes.oneOf([false]), propTypes.number, propTypes.string]),
|
|
14968
|
+
|
|
14969
|
+
/**
|
|
14970
|
+
* The direction of the text.
|
|
14971
|
+
* @default 'ltr'
|
|
14972
|
+
*/
|
|
14973
|
+
direction: propTypes.oneOf(['ltr', 'rtl']),
|
|
14974
|
+
|
|
14975
|
+
/**
|
|
14976
|
+
* Callback invoked when new value is being set.
|
|
14977
|
+
*/
|
|
14978
|
+
onChange: propTypes.func,
|
|
14979
|
+
|
|
14980
|
+
/**
|
|
14981
|
+
* The component orientation (layout flow direction).
|
|
14982
|
+
* @default 'horizontal'
|
|
14983
|
+
*/
|
|
14984
|
+
orientation: propTypes.oneOf(['horizontal', 'vertical']),
|
|
14985
|
+
|
|
14986
|
+
/**
|
|
14987
|
+
* If `true` the selected tab changes on focus. Otherwise it only
|
|
14988
|
+
* changes on activation.
|
|
14989
|
+
*/
|
|
14990
|
+
selectionFollowsFocus: propTypes.bool,
|
|
14991
|
+
|
|
14992
|
+
/**
|
|
14993
|
+
* The value of the currently selected `Tab`.
|
|
14994
|
+
* If you don't want any selected `Tab`, you can set this prop to `false`.
|
|
14995
|
+
*/
|
|
14996
|
+
value: propTypes.oneOfType([propTypes.oneOf([false]), propTypes.number, propTypes.string])
|
|
14997
|
+
} ;
|
|
14998
|
+
var TabsUnstyled$1 = TabsUnstyled;
|
|
14999
|
+
|
|
15000
|
+
function getTabUnstyledUtilityClass(slot) {
|
|
15001
|
+
return generateUtilityClass('TabUnstyled', slot);
|
|
15002
|
+
}
|
|
15003
|
+
const tabUnstyledClasses = generateUtilityClasses('TabUnstyled', ['root', 'selected', 'disabled']);
|
|
15004
|
+
var tabUnstyledClasses$1 = tabUnstyledClasses;
|
|
15005
|
+
|
|
15006
|
+
const _excluded$2b = ["getRootProps"];
|
|
15007
|
+
|
|
15008
|
+
const useTab = props => {
|
|
15009
|
+
const {
|
|
15010
|
+
value: valueProp,
|
|
15011
|
+
onChange,
|
|
15012
|
+
onClick,
|
|
15013
|
+
onFocus
|
|
15014
|
+
} = props;
|
|
15015
|
+
|
|
15016
|
+
const _useButton = useButton(props),
|
|
15017
|
+
{
|
|
15018
|
+
getRootProps: getRootPropsButton
|
|
15019
|
+
} = _useButton,
|
|
15020
|
+
otherButtonProps = _objectWithoutPropertiesLoose(_useButton, _excluded$2b);
|
|
15021
|
+
|
|
15022
|
+
const context = useTabContext();
|
|
15023
|
+
|
|
15024
|
+
if (context === null) {
|
|
15025
|
+
throw new Error('No TabContext provided');
|
|
15026
|
+
}
|
|
15027
|
+
|
|
15028
|
+
const value = valueProp != null ? valueProp : 0;
|
|
15029
|
+
const selected = context.value === value;
|
|
15030
|
+
const selectionFollowsFocus = context.selectionFollowsFocus;
|
|
15031
|
+
const a11yAttributes = {
|
|
15032
|
+
role: 'tab',
|
|
15033
|
+
'aria-controls': getPanelId(context, value),
|
|
15034
|
+
id: getTabId(context, value),
|
|
15035
|
+
'aria-selected': selected,
|
|
15036
|
+
disabled: otherButtonProps.disabled
|
|
15037
|
+
};
|
|
15038
|
+
|
|
15039
|
+
const handleFocus = event => {
|
|
15040
|
+
if (selectionFollowsFocus && !selected) {
|
|
15041
|
+
if (onChange) {
|
|
15042
|
+
onChange(event, value);
|
|
15043
|
+
}
|
|
15044
|
+
|
|
15045
|
+
context.onSelected(event, value);
|
|
15046
|
+
}
|
|
15047
|
+
|
|
15048
|
+
if (onFocus) {
|
|
15049
|
+
onFocus(event);
|
|
15050
|
+
}
|
|
15051
|
+
};
|
|
15052
|
+
|
|
15053
|
+
const handleClick = event => {
|
|
15054
|
+
if (!selected) {
|
|
15055
|
+
if (onChange) {
|
|
15056
|
+
onChange(event, value);
|
|
15057
|
+
}
|
|
15058
|
+
|
|
15059
|
+
context.onSelected(event, value);
|
|
15060
|
+
}
|
|
15061
|
+
|
|
15062
|
+
if (onClick) {
|
|
15063
|
+
onClick(event);
|
|
15064
|
+
}
|
|
15065
|
+
};
|
|
15066
|
+
|
|
15067
|
+
const getRootProps = otherHandlers => {
|
|
15068
|
+
const buttonResolvedProps = getRootPropsButton(_extends({
|
|
15069
|
+
onClick: handleClick,
|
|
15070
|
+
onFocus: handleFocus
|
|
15071
|
+
}, otherHandlers));
|
|
15072
|
+
return _extends({}, buttonResolvedProps, a11yAttributes);
|
|
15073
|
+
};
|
|
15074
|
+
|
|
15075
|
+
return _extends({
|
|
15076
|
+
getRootProps
|
|
15077
|
+
}, otherButtonProps, {
|
|
15078
|
+
selected
|
|
15079
|
+
});
|
|
15080
|
+
};
|
|
15081
|
+
|
|
15082
|
+
var useTab$1 = useTab;
|
|
15083
|
+
|
|
15084
|
+
const _excluded$2a = ["action", "children", "value", "className", "disabled", "onChange", "onClick", "onFocus", "component", "components", "componentsProps"];
|
|
15085
|
+
|
|
15086
|
+
const useUtilityClasses$1N = ownerState => {
|
|
15087
|
+
const {
|
|
15088
|
+
selected,
|
|
15089
|
+
disabled
|
|
15090
|
+
} = ownerState;
|
|
15091
|
+
const slots = {
|
|
15092
|
+
root: ['root', selected && 'selected', disabled && 'disabled']
|
|
15093
|
+
};
|
|
15094
|
+
return composeClasses(slots, getTabUnstyledUtilityClass, {});
|
|
15095
|
+
};
|
|
15096
|
+
/**
|
|
15097
|
+
*
|
|
15098
|
+
* Demos:
|
|
15099
|
+
*
|
|
15100
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
15101
|
+
*
|
|
15102
|
+
* API:
|
|
15103
|
+
*
|
|
15104
|
+
* - [TabUnstyled API](https://mui.com/api/tab-unstyled/)
|
|
15105
|
+
*/
|
|
15106
|
+
|
|
15107
|
+
|
|
15108
|
+
const TabUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabUnstyled(props, ref) {
|
|
15109
|
+
var _ref, _componentsProps$root;
|
|
15110
|
+
|
|
15111
|
+
const {
|
|
15112
|
+
action,
|
|
15113
|
+
children,
|
|
15114
|
+
className,
|
|
15115
|
+
disabled = false,
|
|
15116
|
+
component,
|
|
15117
|
+
components = {},
|
|
15118
|
+
componentsProps = {}
|
|
15119
|
+
} = props,
|
|
15120
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2a);
|
|
15121
|
+
|
|
15122
|
+
const tabRef = React__namespace.useRef();
|
|
15123
|
+
const handleRef = useForkRef(tabRef, ref);
|
|
15124
|
+
const {
|
|
15125
|
+
active,
|
|
15126
|
+
focusVisible,
|
|
15127
|
+
setFocusVisible,
|
|
15128
|
+
selected,
|
|
15129
|
+
getRootProps
|
|
15130
|
+
} = useTab$1(_extends({}, props, {
|
|
15131
|
+
ref: handleRef
|
|
15132
|
+
}));
|
|
15133
|
+
React__namespace.useImperativeHandle(action, () => ({
|
|
15134
|
+
focusVisible: () => {
|
|
15135
|
+
setFocusVisible(true);
|
|
15136
|
+
tabRef.current.focus();
|
|
15137
|
+
}
|
|
15138
|
+
}), [setFocusVisible]);
|
|
15139
|
+
|
|
15140
|
+
const ownerState = _extends({}, props, {
|
|
15141
|
+
active,
|
|
15142
|
+
focusVisible,
|
|
15143
|
+
disabled,
|
|
15144
|
+
selected
|
|
15145
|
+
});
|
|
15146
|
+
|
|
15147
|
+
const classes = useUtilityClasses$1N(ownerState);
|
|
15148
|
+
const TabRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
|
|
15149
|
+
const tabRootProps = appendOwnerState(TabRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
15150
|
+
return /*#__PURE__*/jsxRuntime_1(TabRoot, _extends({}, getRootProps(), tabRootProps, {
|
|
15151
|
+
className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
|
|
15152
|
+
ref: ref,
|
|
15153
|
+
children: children
|
|
15154
|
+
}));
|
|
15155
|
+
});
|
|
15156
|
+
TabUnstyled.propTypes
|
|
15157
|
+
/* remove-proptypes */
|
|
15158
|
+
= {
|
|
15159
|
+
// ----------------------------- Warning --------------------------------
|
|
15160
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15161
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
15162
|
+
// ----------------------------------------------------------------------
|
|
15163
|
+
|
|
15164
|
+
/**
|
|
15165
|
+
* A ref for imperative actions. It currently only supports `focusVisible()` action.
|
|
15166
|
+
*/
|
|
15167
|
+
action: propTypes.oneOfType([propTypes.func, propTypes.shape({
|
|
15168
|
+
current: propTypes.shape({
|
|
15169
|
+
focusVisible: propTypes.func.isRequired
|
|
15170
|
+
})
|
|
15171
|
+
})]),
|
|
15172
|
+
|
|
15173
|
+
/**
|
|
15174
|
+
* @ignore
|
|
15175
|
+
*/
|
|
15176
|
+
children: propTypes.node,
|
|
15177
|
+
|
|
15178
|
+
/**
|
|
15179
|
+
* @ignore
|
|
15180
|
+
*/
|
|
15181
|
+
className: propTypes.string,
|
|
15182
|
+
|
|
15183
|
+
/**
|
|
15184
|
+
* The component used for the root node.
|
|
15185
|
+
* Either a string to use a HTML element or a component.
|
|
15186
|
+
*/
|
|
15187
|
+
component: propTypes.elementType,
|
|
15188
|
+
|
|
15189
|
+
/**
|
|
15190
|
+
* The components used for each slot inside the Tab.
|
|
15191
|
+
* Either a string to use a HTML element or a component.
|
|
15192
|
+
* @default {}
|
|
15193
|
+
*/
|
|
15194
|
+
components: propTypes.shape({
|
|
15195
|
+
Root: propTypes.elementType
|
|
15196
|
+
}),
|
|
15197
|
+
|
|
15198
|
+
/**
|
|
15199
|
+
* The props used for each slot inside the Tab.
|
|
15200
|
+
* @default {}
|
|
15201
|
+
*/
|
|
15202
|
+
componentsProps: propTypes.object,
|
|
15203
|
+
|
|
15204
|
+
/**
|
|
15205
|
+
* If `true`, the component is disabled.
|
|
15206
|
+
* @default false
|
|
15207
|
+
*/
|
|
15208
|
+
disabled: propTypes.bool,
|
|
15209
|
+
|
|
15210
|
+
/**
|
|
15211
|
+
* Callback invoked when new value is being set.
|
|
15212
|
+
*/
|
|
15213
|
+
onChange: propTypes.func,
|
|
15214
|
+
|
|
15215
|
+
/**
|
|
15216
|
+
* @ignore
|
|
15217
|
+
*/
|
|
15218
|
+
onClick: propTypes.func,
|
|
15219
|
+
|
|
15220
|
+
/**
|
|
15221
|
+
* @ignore
|
|
15222
|
+
*/
|
|
15223
|
+
onFocus: propTypes.func,
|
|
15224
|
+
|
|
15225
|
+
/**
|
|
15226
|
+
* You can provide your own value. Otherwise, we fall back to the child position index.
|
|
15227
|
+
*/
|
|
15228
|
+
value: propTypes.oneOfType([propTypes.number, propTypes.string])
|
|
15229
|
+
} ;
|
|
15230
|
+
var TabUnstyled$1 = TabUnstyled;
|
|
15231
|
+
|
|
15232
|
+
function getTabsListUnstyledUtilityClass(slot) {
|
|
15233
|
+
return generateUtilityClass('TabsListUnstyled', slot);
|
|
15234
|
+
}
|
|
15235
|
+
const tabsListUnstyledClasses = generateUtilityClasses('TabsListUnstyled', ['root', 'horizontal', 'vertical']);
|
|
15236
|
+
var tabsListUnstyledClasses$1 = tabsListUnstyledClasses;
|
|
15237
|
+
|
|
15238
|
+
const nextItem$2 = (list, item) => {
|
|
15239
|
+
if (!list) {
|
|
15240
|
+
return null;
|
|
15241
|
+
}
|
|
15242
|
+
|
|
15243
|
+
if (list === item) {
|
|
15244
|
+
return list.firstChild;
|
|
15245
|
+
}
|
|
15246
|
+
|
|
15247
|
+
if (item && item.nextElementSibling) {
|
|
15248
|
+
return item.nextElementSibling;
|
|
15249
|
+
}
|
|
15250
|
+
|
|
15251
|
+
return list.firstChild;
|
|
15252
|
+
};
|
|
15253
|
+
|
|
15254
|
+
const previousItem$2 = (list, item) => {
|
|
15255
|
+
if (!list) {
|
|
15256
|
+
return null;
|
|
15257
|
+
}
|
|
15258
|
+
|
|
15259
|
+
if (list === item) {
|
|
15260
|
+
return list.lastChild;
|
|
15261
|
+
}
|
|
15262
|
+
|
|
15263
|
+
if (item && item.previousElementSibling) {
|
|
15264
|
+
return item.previousElementSibling;
|
|
15265
|
+
}
|
|
15266
|
+
|
|
15267
|
+
return list.lastChild;
|
|
15268
|
+
};
|
|
15269
|
+
|
|
15270
|
+
const moveFocus$2 = (list, currentFocus, traversalFunction) => {
|
|
15271
|
+
let wrappedOnce = false;
|
|
15272
|
+
let nextFocus = traversalFunction(list, currentFocus);
|
|
15273
|
+
|
|
15274
|
+
while (list && nextFocus) {
|
|
15275
|
+
// Prevent infinite loop.
|
|
15276
|
+
if (nextFocus === list.firstChild) {
|
|
15277
|
+
if (wrappedOnce) {
|
|
15278
|
+
return;
|
|
15279
|
+
}
|
|
15280
|
+
|
|
15281
|
+
wrappedOnce = true;
|
|
15282
|
+
} // Same logic as useAutocomplete.js
|
|
15283
|
+
|
|
15284
|
+
|
|
15285
|
+
const nextFocusDisabled = nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';
|
|
15286
|
+
|
|
15287
|
+
if (!nextFocus.hasAttribute('tabindex') || nextFocusDisabled) {
|
|
15288
|
+
// Move to the next element.
|
|
15289
|
+
nextFocus = traversalFunction(list, nextFocus);
|
|
15290
|
+
} else {
|
|
15291
|
+
nextFocus.focus();
|
|
15292
|
+
return;
|
|
15293
|
+
}
|
|
15294
|
+
}
|
|
15295
|
+
};
|
|
15296
|
+
|
|
15297
|
+
const useTabsList = props => {
|
|
15298
|
+
const {
|
|
15299
|
+
'aria-label': ariaLabel,
|
|
15300
|
+
'aria-labelledby': ariaLabelledBy,
|
|
15301
|
+
children,
|
|
15302
|
+
ref
|
|
15303
|
+
} = props;
|
|
15304
|
+
const tabsListRef = /*#__PURE__*/React__namespace.createRef();
|
|
15305
|
+
const handleRef = useForkRef(tabsListRef, ref);
|
|
15306
|
+
const context = useTabContext();
|
|
15307
|
+
|
|
15308
|
+
if (context === null) {
|
|
15309
|
+
throw new Error('No TabContext provided');
|
|
15310
|
+
}
|
|
15311
|
+
|
|
15312
|
+
const {
|
|
15313
|
+
value,
|
|
15314
|
+
orientation = 'horizontal',
|
|
15315
|
+
direction = 'ltr'
|
|
15316
|
+
} = context;
|
|
15317
|
+
const isRtl = direction === 'rtl';
|
|
15318
|
+
|
|
15319
|
+
const handleKeyDown = event => {
|
|
15320
|
+
const list = tabsListRef.current;
|
|
15321
|
+
const currentFocus = ownerDocument(list).activeElement; // Keyboard navigation assumes that [role="tab"] are siblings
|
|
15322
|
+
// though we might warn in the future about nested, interactive elements
|
|
15323
|
+
// as a a11y violation
|
|
15324
|
+
|
|
15325
|
+
const role = currentFocus == null ? void 0 : currentFocus.getAttribute('role');
|
|
15326
|
+
|
|
15327
|
+
if (role !== 'tab') {
|
|
15328
|
+
return;
|
|
15329
|
+
}
|
|
15330
|
+
|
|
15331
|
+
let previousItemKey = orientation === 'horizontal' ? 'ArrowLeft' : 'ArrowUp';
|
|
15332
|
+
let nextItemKey = orientation === 'horizontal' ? 'ArrowRight' : 'ArrowDown';
|
|
15333
|
+
|
|
15334
|
+
if (orientation === 'horizontal' && isRtl) {
|
|
15335
|
+
// swap previousItemKey with nextItemKey
|
|
15336
|
+
previousItemKey = 'ArrowRight';
|
|
15337
|
+
nextItemKey = 'ArrowLeft';
|
|
15338
|
+
}
|
|
15339
|
+
|
|
15340
|
+
switch (event.key) {
|
|
15341
|
+
case previousItemKey:
|
|
15342
|
+
event.preventDefault();
|
|
15343
|
+
moveFocus$2(list, currentFocus, previousItem$2);
|
|
15344
|
+
break;
|
|
15345
|
+
|
|
15346
|
+
case nextItemKey:
|
|
15347
|
+
event.preventDefault();
|
|
15348
|
+
moveFocus$2(list, currentFocus, nextItem$2);
|
|
15349
|
+
break;
|
|
15350
|
+
|
|
15351
|
+
case 'Home':
|
|
15352
|
+
event.preventDefault();
|
|
15353
|
+
moveFocus$2(list, null, nextItem$2);
|
|
15354
|
+
break;
|
|
15355
|
+
|
|
15356
|
+
case 'End':
|
|
15357
|
+
event.preventDefault();
|
|
15358
|
+
moveFocus$2(list, null, previousItem$2);
|
|
15359
|
+
break;
|
|
15360
|
+
}
|
|
15361
|
+
};
|
|
15362
|
+
|
|
15363
|
+
const createHandleKeyDown = otherHandlers => event => {
|
|
15364
|
+
var _otherHandlers$onKeyD;
|
|
15365
|
+
|
|
15366
|
+
handleKeyDown(event);
|
|
15367
|
+
(_otherHandlers$onKeyD = otherHandlers.onKeyDown) == null ? void 0 : _otherHandlers$onKeyD.call(otherHandlers, event);
|
|
15368
|
+
};
|
|
15369
|
+
|
|
15370
|
+
const getRootProps = otherHandlers => {
|
|
15371
|
+
const propsEventHandlers = extractEventHandlers(props);
|
|
15372
|
+
|
|
15373
|
+
const externalEventHandlers = _extends({}, propsEventHandlers, otherHandlers);
|
|
15374
|
+
|
|
15375
|
+
const ownEventHandlers = {
|
|
15376
|
+
onKeyDown: createHandleKeyDown(externalEventHandlers)
|
|
15377
|
+
};
|
|
15378
|
+
|
|
15379
|
+
const mergedEventHandlers = _extends({}, externalEventHandlers, ownEventHandlers);
|
|
15380
|
+
|
|
15381
|
+
return _extends({
|
|
15382
|
+
'aria-label': ariaLabel,
|
|
15383
|
+
'aria-labelledby': ariaLabelledBy,
|
|
15384
|
+
'aria-orientation': orientation === 'vertical' ? 'vertical' : null,
|
|
15385
|
+
role: 'tablist',
|
|
15386
|
+
ref: handleRef
|
|
15387
|
+
}, mergedEventHandlers);
|
|
15388
|
+
};
|
|
15389
|
+
|
|
15390
|
+
const processChildren = React__namespace.useCallback(() => {
|
|
15391
|
+
const valueToIndex = new Map();
|
|
15392
|
+
let childIndex = 0;
|
|
15393
|
+
const processedChildren = React__namespace.Children.map(children, child => {
|
|
15394
|
+
if (! /*#__PURE__*/React__namespace.isValidElement(child)) {
|
|
15395
|
+
return null;
|
|
15396
|
+
}
|
|
15397
|
+
|
|
15398
|
+
{
|
|
15399
|
+
if (reactIs_2(child)) {
|
|
15400
|
+
console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
|
|
15401
|
+
}
|
|
15402
|
+
}
|
|
15403
|
+
|
|
15404
|
+
const childValue = child.props.value === undefined ? childIndex : child.props.value;
|
|
15405
|
+
valueToIndex.set(childValue, childIndex);
|
|
15406
|
+
childIndex += 1;
|
|
15407
|
+
return /*#__PURE__*/React__namespace.cloneElement(child, _extends({
|
|
15408
|
+
value: childValue
|
|
15409
|
+
}, childIndex === 1 && value === false && !child.props.tabIndex || value === childValue ? {
|
|
15410
|
+
tabIndex: 0
|
|
15411
|
+
} : {
|
|
15412
|
+
tabIndex: -1
|
|
15413
|
+
}));
|
|
15414
|
+
});
|
|
15415
|
+
return processedChildren;
|
|
15416
|
+
}, [children, value]);
|
|
15417
|
+
return {
|
|
15418
|
+
isRtl,
|
|
15419
|
+
orientation,
|
|
15420
|
+
value,
|
|
15421
|
+
processChildren,
|
|
15422
|
+
getRootProps
|
|
15423
|
+
};
|
|
15424
|
+
};
|
|
15425
|
+
|
|
15426
|
+
var useTabsList$1 = useTabsList;
|
|
15427
|
+
|
|
15428
|
+
const _excluded$29 = ["className", "children", "component", "components", "componentsProps"];
|
|
15429
|
+
|
|
15430
|
+
const useUtilityClasses$1M = ownerState => {
|
|
15431
|
+
const {
|
|
15432
|
+
orientation
|
|
15433
|
+
} = ownerState;
|
|
15434
|
+
const slots = {
|
|
15435
|
+
root: ['root', orientation]
|
|
15436
|
+
};
|
|
15437
|
+
return composeClasses(slots, getTabsListUnstyledUtilityClass, {});
|
|
15438
|
+
};
|
|
15439
|
+
/**
|
|
15440
|
+
*
|
|
15441
|
+
* Demos:
|
|
15442
|
+
*
|
|
15443
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
15444
|
+
*
|
|
15445
|
+
* API:
|
|
15446
|
+
*
|
|
15447
|
+
* - [TabsListUnstyled API](https://mui.com/api/tabs-list-unstyled/)
|
|
15448
|
+
*/
|
|
15449
|
+
|
|
15450
|
+
|
|
15451
|
+
const TabsListUnstyled = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
|
|
15452
|
+
var _ref, _componentsProps$root;
|
|
15453
|
+
|
|
15454
|
+
const {
|
|
15455
|
+
className,
|
|
15456
|
+
component,
|
|
15457
|
+
components = {},
|
|
15458
|
+
componentsProps = {}
|
|
15459
|
+
} = props,
|
|
15460
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$29);
|
|
15461
|
+
|
|
15462
|
+
const {
|
|
15463
|
+
isRtl,
|
|
15464
|
+
orientation,
|
|
15465
|
+
getRootProps,
|
|
15466
|
+
processChildren
|
|
15467
|
+
} = useTabsList$1(_extends({}, props, {
|
|
15468
|
+
ref
|
|
15469
|
+
}));
|
|
15470
|
+
|
|
15471
|
+
const ownerState = _extends({}, props, {
|
|
15472
|
+
isRtl,
|
|
15473
|
+
orientation
|
|
15474
|
+
});
|
|
15475
|
+
|
|
15476
|
+
const classes = useUtilityClasses$1M(ownerState);
|
|
15477
|
+
const TabsListRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
|
|
15478
|
+
const tabsListRootProps = appendOwnerState(TabsListRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
15479
|
+
const processedChildren = processChildren();
|
|
15480
|
+
return /*#__PURE__*/jsxRuntime_1(TabsListRoot, _extends({}, getRootProps(), tabsListRootProps, {
|
|
15481
|
+
className: clsx(className, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, classes.root),
|
|
15482
|
+
children: processedChildren
|
|
15483
|
+
}));
|
|
15484
|
+
});
|
|
15485
|
+
TabsListUnstyled.propTypes
|
|
15486
|
+
/* remove-proptypes */
|
|
15487
|
+
= {
|
|
15488
|
+
// ----------------------------- Warning --------------------------------
|
|
15489
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15490
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
15491
|
+
// ----------------------------------------------------------------------
|
|
15492
|
+
|
|
15493
|
+
/**
|
|
15494
|
+
* The content of the component.
|
|
15495
|
+
*/
|
|
15496
|
+
children: propTypes.node,
|
|
15497
|
+
|
|
15498
|
+
/**
|
|
15499
|
+
* @ignore
|
|
15500
|
+
*/
|
|
15501
|
+
className: propTypes.string,
|
|
15502
|
+
|
|
15503
|
+
/**
|
|
15504
|
+
* The component used for the root node.
|
|
15505
|
+
* Either a string to use a HTML element or a component.
|
|
15506
|
+
*/
|
|
15507
|
+
component: propTypes.elementType,
|
|
15508
|
+
|
|
15509
|
+
/**
|
|
15510
|
+
* The components used for each slot inside the TabsList.
|
|
15511
|
+
* Either a string to use a HTML element or a component.
|
|
15512
|
+
* @default {}
|
|
15513
|
+
*/
|
|
15514
|
+
components: propTypes.shape({
|
|
15515
|
+
Root: propTypes.elementType
|
|
15516
|
+
}),
|
|
15517
|
+
|
|
15518
|
+
/**
|
|
15519
|
+
* The props used for each slot inside the TabsList.
|
|
15520
|
+
* @default {}
|
|
15521
|
+
*/
|
|
15522
|
+
componentsProps: propTypes.object
|
|
15523
|
+
} ;
|
|
15524
|
+
var TabsListUnstyled$1 = TabsListUnstyled;
|
|
15525
|
+
|
|
15526
|
+
function getTabPanelUnstyledUtilityClass(slot) {
|
|
15527
|
+
return generateUtilityClass('TabPanelUnstyled', slot);
|
|
15528
|
+
}
|
|
15529
|
+
const tabPanelUnstyledClasses = generateUtilityClasses('TabPanelUnstyled', ['root', 'hidden']);
|
|
15530
|
+
var tabPanelUnstyledClasses$1 = tabPanelUnstyledClasses;
|
|
15531
|
+
|
|
15532
|
+
const useTabPanel = props => {
|
|
15533
|
+
const {
|
|
15534
|
+
value
|
|
15535
|
+
} = props;
|
|
15536
|
+
const context = useTabContext();
|
|
15537
|
+
|
|
15538
|
+
if (context === null) {
|
|
15539
|
+
throw new Error('No TabContext provided');
|
|
15540
|
+
}
|
|
15541
|
+
|
|
15542
|
+
const hidden = value !== context.value;
|
|
15543
|
+
const id = getPanelId(context, value);
|
|
15544
|
+
const tabId = getTabId(context, value);
|
|
15545
|
+
|
|
15546
|
+
const getRootProps = () => {
|
|
15547
|
+
return {
|
|
15548
|
+
'aria-labelledby': tabId,
|
|
15549
|
+
hidden,
|
|
15550
|
+
id
|
|
15551
|
+
};
|
|
15552
|
+
};
|
|
15553
|
+
|
|
15554
|
+
return {
|
|
15555
|
+
hidden,
|
|
15556
|
+
getRootProps
|
|
15557
|
+
};
|
|
15558
|
+
};
|
|
15559
|
+
|
|
15560
|
+
var useTabPanel$1 = useTabPanel;
|
|
15561
|
+
|
|
15562
|
+
const _excluded$28 = ["children", "className", "value", "components", "componentsProps", "component"];
|
|
15563
|
+
|
|
15564
|
+
const useUtilityClasses$1L = ownerState => {
|
|
15565
|
+
const {
|
|
15566
|
+
hidden
|
|
15567
|
+
} = ownerState;
|
|
15568
|
+
const slots = {
|
|
15569
|
+
root: ['root', hidden && 'hidden']
|
|
15570
|
+
};
|
|
15571
|
+
return composeClasses(slots, getTabPanelUnstyledUtilityClass, {});
|
|
15572
|
+
};
|
|
15573
|
+
/**
|
|
15574
|
+
*
|
|
15575
|
+
* Demos:
|
|
15576
|
+
*
|
|
15577
|
+
* - [Tabs](https://mui.com/components/tabs/)
|
|
15578
|
+
*
|
|
15579
|
+
* API:
|
|
15580
|
+
*
|
|
15581
|
+
* - [TabPanelUnstyled API](https://mui.com/api/tab-panel-unstyled/)
|
|
15582
|
+
*/
|
|
15583
|
+
|
|
15584
|
+
|
|
15585
|
+
const TabPanelUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabPanelUnstyled(props, ref) {
|
|
15586
|
+
var _ref, _componentsProps$root;
|
|
15587
|
+
|
|
15588
|
+
const {
|
|
15589
|
+
children,
|
|
15590
|
+
className,
|
|
15591
|
+
components = {},
|
|
15592
|
+
componentsProps = {},
|
|
15593
|
+
component
|
|
15594
|
+
} = props,
|
|
15595
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$28);
|
|
15596
|
+
|
|
15597
|
+
const {
|
|
15598
|
+
hidden,
|
|
15599
|
+
getRootProps
|
|
15600
|
+
} = useTabPanel$1(props);
|
|
15601
|
+
|
|
15602
|
+
const ownerState = _extends({}, props, {
|
|
15603
|
+
hidden
|
|
15604
|
+
});
|
|
15605
|
+
|
|
15606
|
+
const classes = useUtilityClasses$1L(ownerState);
|
|
15607
|
+
const TabPanelRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
|
|
15608
|
+
const tabPanelRootProps = appendOwnerState(TabPanelRoot, _extends({}, other, componentsProps.root), ownerState);
|
|
15609
|
+
return /*#__PURE__*/jsxRuntime_1(TabPanelRoot, _extends({}, getRootProps(), {
|
|
15610
|
+
ref: ref,
|
|
15611
|
+
role: "tabpanel"
|
|
15612
|
+
}, tabPanelRootProps, {
|
|
15613
|
+
className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
|
|
15614
|
+
children: !hidden && children
|
|
15615
|
+
}));
|
|
15616
|
+
});
|
|
15617
|
+
TabPanelUnstyled.propTypes
|
|
15618
|
+
/* remove-proptypes */
|
|
15619
|
+
= {
|
|
15620
|
+
// ----------------------------- Warning --------------------------------
|
|
15621
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15622
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
15623
|
+
// ----------------------------------------------------------------------
|
|
15624
|
+
|
|
15625
|
+
/**
|
|
15626
|
+
* The content of the component.
|
|
15627
|
+
*/
|
|
15628
|
+
children: propTypes.node,
|
|
15629
|
+
|
|
15630
|
+
/**
|
|
15631
|
+
* @ignore
|
|
15632
|
+
*/
|
|
15633
|
+
className: propTypes.string,
|
|
15634
|
+
|
|
15635
|
+
/**
|
|
15636
|
+
* The component used for the root node.
|
|
15637
|
+
* Either a string to use a HTML element or a component.
|
|
15638
|
+
*/
|
|
15639
|
+
component: propTypes.elementType,
|
|
15640
|
+
|
|
15641
|
+
/**
|
|
15642
|
+
* The components used for each slot inside the TabPanel.
|
|
15643
|
+
* Either a string to use a HTML element or a component.
|
|
15644
|
+
* @default {}
|
|
15645
|
+
*/
|
|
15646
|
+
components: propTypes.shape({
|
|
15647
|
+
Root: propTypes.elementType
|
|
15648
|
+
}),
|
|
15649
|
+
|
|
15650
|
+
/**
|
|
15651
|
+
* The props used for each slot inside the TabPanel.
|
|
15652
|
+
* @default {}
|
|
15653
|
+
*/
|
|
15654
|
+
componentsProps: propTypes.object,
|
|
15655
|
+
|
|
15656
|
+
/**
|
|
15657
|
+
* The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected.
|
|
15658
|
+
*/
|
|
15659
|
+
value: propTypes.oneOfType([propTypes.number, propTypes.string]).isRequired
|
|
15660
|
+
} ;
|
|
15661
|
+
var TabPanelUnstyled$1 = TabPanelUnstyled;
|
|
15662
|
+
|
|
14729
15663
|
function createMixins(breakpoints, spacing, mixins) {
|
|
14730
15664
|
return _extends({
|
|
14731
15665
|
toolbar: {
|
|
@@ -15499,7 +16433,7 @@ const theme2 = createTheme({ palette: {
|
|
|
15499
16433
|
const theme = _extends({}, themeInput);
|
|
15500
16434
|
|
|
15501
16435
|
theme.typography = _extends({}, theme.typography);
|
|
15502
|
-
const typography = theme.typography; // Convert between
|
|
16436
|
+
const typography = theme.typography; // Convert between CSS lengths e.g. em->px or px->rem
|
|
15503
16437
|
// Set the baseFontSize for your project. Defaults to 16px (also the browser default).
|
|
15504
16438
|
|
|
15505
16439
|
const convert = convertLength(typography.htmlFontSize);
|
|
@@ -19039,7 +19973,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19039
19973
|
color: theme.palette.action.active,
|
|
19040
19974
|
transition: theme.transitions.create('background-color', {
|
|
19041
19975
|
duration: theme.transitions.duration.shortest
|
|
19042
|
-
})
|
|
19976
|
+
})
|
|
19977
|
+
}, !ownerState.disableRipple && {
|
|
19043
19978
|
'&:hover': {
|
|
19044
19979
|
backgroundColor: alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
|
|
19045
19980
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -19056,8 +19991,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19056
19991
|
ownerState
|
|
19057
19992
|
}) => _extends({}, ownerState.color === 'inherit' && {
|
|
19058
19993
|
color: 'inherit'
|
|
19059
|
-
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && {
|
|
19060
|
-
color: theme.palette[ownerState.color].main
|
|
19994
|
+
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends({
|
|
19995
|
+
color: theme.palette[ownerState.color].main
|
|
19996
|
+
}, !ownerState.disableRipple && {
|
|
19061
19997
|
'&:hover': {
|
|
19062
19998
|
backgroundColor: alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
19063
19999
|
// Reset on touch devices, it doesn't add specificity
|
|
@@ -19065,7 +20001,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19065
20001
|
backgroundColor: 'transparent'
|
|
19066
20002
|
}
|
|
19067
20003
|
}
|
|
19068
|
-
}, ownerState.size === 'small' && {
|
|
20004
|
+
}), ownerState.size === 'small' && {
|
|
19069
20005
|
padding: 5,
|
|
19070
20006
|
fontSize: theme.typography.pxToRem(18)
|
|
19071
20007
|
}, ownerState.size === 'large' && {
|
|
@@ -19772,179 +20708,305 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
19772
20708
|
className: propTypes.string,
|
|
19773
20709
|
|
|
19774
20710
|
/**
|
|
19775
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
20711
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
20712
|
+
*/
|
|
20713
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
20714
|
+
} ;
|
|
20715
|
+
var AlertTitle$1 = AlertTitle;
|
|
20716
|
+
|
|
20717
|
+
function getAppBarUtilityClass(slot) {
|
|
20718
|
+
return generateUtilityClass('MuiAppBar', slot);
|
|
20719
|
+
}
|
|
20720
|
+
const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
|
|
20721
|
+
var appBarClasses$1 = appBarClasses;
|
|
20722
|
+
|
|
20723
|
+
const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
|
|
20724
|
+
|
|
20725
|
+
const useUtilityClasses$1y = ownerState => {
|
|
20726
|
+
const {
|
|
20727
|
+
color,
|
|
20728
|
+
position,
|
|
20729
|
+
classes
|
|
20730
|
+
} = ownerState;
|
|
20731
|
+
const slots = {
|
|
20732
|
+
root: ['root', `color${capitalize(color)}`, `position${capitalize(position)}`]
|
|
20733
|
+
};
|
|
20734
|
+
return composeClasses(slots, getAppBarUtilityClass, classes);
|
|
20735
|
+
};
|
|
20736
|
+
|
|
20737
|
+
const AppBarRoot = styled$1(Paper$1, {
|
|
20738
|
+
name: 'MuiAppBar',
|
|
20739
|
+
slot: 'Root',
|
|
20740
|
+
overridesResolver: (props, styles) => {
|
|
20741
|
+
const {
|
|
20742
|
+
ownerState
|
|
20743
|
+
} = props;
|
|
20744
|
+
return [styles.root, styles[`position${capitalize(ownerState.position)}`], styles[`color${capitalize(ownerState.color)}`]];
|
|
20745
|
+
}
|
|
20746
|
+
})(({
|
|
20747
|
+
theme,
|
|
20748
|
+
ownerState
|
|
20749
|
+
}) => {
|
|
20750
|
+
const backgroundColorDefault = theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];
|
|
20751
|
+
return _extends({
|
|
20752
|
+
display: 'flex',
|
|
20753
|
+
flexDirection: 'column',
|
|
20754
|
+
width: '100%',
|
|
20755
|
+
boxSizing: 'border-box',
|
|
20756
|
+
// Prevent padding issue with the Modal and fixed positioned AppBar.
|
|
20757
|
+
flexShrink: 0
|
|
20758
|
+
}, ownerState.position === 'fixed' && {
|
|
20759
|
+
position: 'fixed',
|
|
20760
|
+
zIndex: theme.zIndex.appBar,
|
|
20761
|
+
top: 0,
|
|
20762
|
+
left: 'auto',
|
|
20763
|
+
right: 0,
|
|
20764
|
+
'@media print': {
|
|
20765
|
+
// Prevent the app bar to be visible on each printed page.
|
|
20766
|
+
position: 'absolute'
|
|
20767
|
+
}
|
|
20768
|
+
}, ownerState.position === 'absolute' && {
|
|
20769
|
+
position: 'absolute',
|
|
20770
|
+
zIndex: theme.zIndex.appBar,
|
|
20771
|
+
top: 0,
|
|
20772
|
+
left: 'auto',
|
|
20773
|
+
right: 0
|
|
20774
|
+
}, ownerState.position === 'sticky' && {
|
|
20775
|
+
// ⚠️ sticky is not supported by IE11.
|
|
20776
|
+
position: 'sticky',
|
|
20777
|
+
zIndex: theme.zIndex.appBar,
|
|
20778
|
+
top: 0,
|
|
20779
|
+
left: 'auto',
|
|
20780
|
+
right: 0
|
|
20781
|
+
}, ownerState.position === 'static' && {
|
|
20782
|
+
position: 'static'
|
|
20783
|
+
}, ownerState.position === 'relative' && {
|
|
20784
|
+
position: 'relative'
|
|
20785
|
+
}, ownerState.color === 'default' && {
|
|
20786
|
+
backgroundColor: backgroundColorDefault,
|
|
20787
|
+
color: theme.palette.getContrastText(backgroundColorDefault)
|
|
20788
|
+
}, ownerState.color && ownerState.color !== 'default' && ownerState.color !== 'inherit' && ownerState.color !== 'transparent' && {
|
|
20789
|
+
backgroundColor: theme.palette[ownerState.color].main,
|
|
20790
|
+
color: theme.palette[ownerState.color].contrastText
|
|
20791
|
+
}, ownerState.color === 'inherit' && {
|
|
20792
|
+
color: 'inherit'
|
|
20793
|
+
}, theme.palette.mode === 'dark' && !ownerState.enableColorOnDark && {
|
|
20794
|
+
backgroundColor: null,
|
|
20795
|
+
color: null
|
|
20796
|
+
}, ownerState.color === 'transparent' && _extends({
|
|
20797
|
+
backgroundColor: 'transparent',
|
|
20798
|
+
color: 'inherit'
|
|
20799
|
+
}, theme.palette.mode === 'dark' && {
|
|
20800
|
+
backgroundImage: 'none'
|
|
20801
|
+
}));
|
|
20802
|
+
});
|
|
20803
|
+
const AppBar = /*#__PURE__*/React__namespace.forwardRef(function AppBar(inProps, ref) {
|
|
20804
|
+
const props = useThemeProps({
|
|
20805
|
+
props: inProps,
|
|
20806
|
+
name: 'MuiAppBar'
|
|
20807
|
+
});
|
|
20808
|
+
|
|
20809
|
+
const {
|
|
20810
|
+
className,
|
|
20811
|
+
color = 'primary',
|
|
20812
|
+
enableColorOnDark = false,
|
|
20813
|
+
position = 'fixed'
|
|
20814
|
+
} = props,
|
|
20815
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1S);
|
|
20816
|
+
|
|
20817
|
+
const ownerState = _extends({}, props, {
|
|
20818
|
+
color,
|
|
20819
|
+
position,
|
|
20820
|
+
enableColorOnDark
|
|
20821
|
+
});
|
|
20822
|
+
|
|
20823
|
+
const classes = useUtilityClasses$1y(ownerState);
|
|
20824
|
+
return /*#__PURE__*/jsxRuntime_1(AppBarRoot, _extends({
|
|
20825
|
+
square: true,
|
|
20826
|
+
component: "header",
|
|
20827
|
+
ownerState: ownerState,
|
|
20828
|
+
elevation: 4,
|
|
20829
|
+
className: clsx(classes.root, className, position === 'fixed' && 'mui-fixed'),
|
|
20830
|
+
ref: ref
|
|
20831
|
+
}, other));
|
|
20832
|
+
});
|
|
20833
|
+
AppBar.propTypes
|
|
20834
|
+
/* remove-proptypes */
|
|
20835
|
+
= {
|
|
20836
|
+
// ----------------------------- Warning --------------------------------
|
|
20837
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
20838
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
20839
|
+
// ----------------------------------------------------------------------
|
|
20840
|
+
|
|
20841
|
+
/**
|
|
20842
|
+
* The content of the component.
|
|
20843
|
+
*/
|
|
20844
|
+
children: propTypes.node,
|
|
20845
|
+
|
|
20846
|
+
/**
|
|
20847
|
+
* Override or extend the styles applied to the component.
|
|
20848
|
+
*/
|
|
20849
|
+
classes: propTypes.object,
|
|
20850
|
+
|
|
20851
|
+
/**
|
|
20852
|
+
* @ignore
|
|
20853
|
+
*/
|
|
20854
|
+
className: propTypes.string,
|
|
20855
|
+
|
|
20856
|
+
/**
|
|
20857
|
+
* The color of the component. It supports those theme colors that make sense for this component.
|
|
20858
|
+
* @default 'primary'
|
|
19776
20859
|
*/
|
|
19777
|
-
|
|
19778
|
-
|
|
19779
|
-
|
|
19780
|
-
|
|
19781
|
-
function getAppBarUtilityClass(slot) {
|
|
19782
|
-
return generateUtilityClass('MuiAppBar', slot);
|
|
19783
|
-
}
|
|
19784
|
-
const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
|
|
19785
|
-
var appBarClasses$1 = appBarClasses;
|
|
19786
|
-
|
|
19787
|
-
const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
|
|
19788
|
-
|
|
19789
|
-
const useUtilityClasses$1y = ownerState => {
|
|
19790
|
-
const {
|
|
19791
|
-
color,
|
|
19792
|
-
position,
|
|
19793
|
-
classes
|
|
19794
|
-
} = ownerState;
|
|
19795
|
-
const slots = {
|
|
19796
|
-
root: ['root', `color${capitalize(color)}`, `position${capitalize(position)}`]
|
|
19797
|
-
};
|
|
19798
|
-
return composeClasses(slots, getAppBarUtilityClass, classes);
|
|
19799
|
-
};
|
|
20860
|
+
color: propTypes
|
|
20861
|
+
/* @typescript-to-proptypes-ignore */
|
|
20862
|
+
.oneOfType([propTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), propTypes.string]),
|
|
19800
20863
|
|
|
19801
|
-
|
|
19802
|
-
|
|
19803
|
-
|
|
19804
|
-
|
|
19805
|
-
|
|
19806
|
-
ownerState
|
|
19807
|
-
} = props;
|
|
19808
|
-
return [styles.root, styles[`position${capitalize(ownerState.position)}`], styles[`color${capitalize(ownerState.color)}`]];
|
|
19809
|
-
}
|
|
19810
|
-
})(({
|
|
19811
|
-
theme,
|
|
19812
|
-
ownerState
|
|
19813
|
-
}) => {
|
|
19814
|
-
const backgroundColorDefault = theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];
|
|
19815
|
-
return _extends({
|
|
19816
|
-
display: 'flex',
|
|
19817
|
-
flexDirection: 'column',
|
|
19818
|
-
width: '100%',
|
|
19819
|
-
boxSizing: 'border-box',
|
|
19820
|
-
// Prevent padding issue with the Modal and fixed positioned AppBar.
|
|
19821
|
-
flexShrink: 0
|
|
19822
|
-
}, ownerState.position === 'fixed' && {
|
|
19823
|
-
position: 'fixed',
|
|
19824
|
-
zIndex: theme.zIndex.appBar,
|
|
19825
|
-
top: 0,
|
|
19826
|
-
left: 'auto',
|
|
19827
|
-
right: 0,
|
|
19828
|
-
'@media print': {
|
|
19829
|
-
// Prevent the app bar to be visible on each printed page.
|
|
19830
|
-
position: 'absolute'
|
|
19831
|
-
}
|
|
19832
|
-
}, ownerState.position === 'absolute' && {
|
|
19833
|
-
position: 'absolute',
|
|
19834
|
-
zIndex: theme.zIndex.appBar,
|
|
19835
|
-
top: 0,
|
|
19836
|
-
left: 'auto',
|
|
19837
|
-
right: 0
|
|
19838
|
-
}, ownerState.position === 'sticky' && {
|
|
19839
|
-
// ⚠️ sticky is not supported by IE11.
|
|
19840
|
-
position: 'sticky',
|
|
19841
|
-
zIndex: theme.zIndex.appBar,
|
|
19842
|
-
top: 0,
|
|
19843
|
-
left: 'auto',
|
|
19844
|
-
right: 0
|
|
19845
|
-
}, ownerState.position === 'static' && {
|
|
19846
|
-
position: 'static'
|
|
19847
|
-
}, ownerState.position === 'relative' && {
|
|
19848
|
-
position: 'relative'
|
|
19849
|
-
}, ownerState.color === 'default' && {
|
|
19850
|
-
backgroundColor: backgroundColorDefault,
|
|
19851
|
-
color: theme.palette.getContrastText(backgroundColorDefault)
|
|
19852
|
-
}, ownerState.color && ownerState.color !== 'default' && ownerState.color !== 'inherit' && ownerState.color !== 'transparent' && {
|
|
19853
|
-
backgroundColor: theme.palette[ownerState.color].main,
|
|
19854
|
-
color: theme.palette[ownerState.color].contrastText
|
|
19855
|
-
}, ownerState.color === 'inherit' && {
|
|
19856
|
-
color: 'inherit'
|
|
19857
|
-
}, theme.palette.mode === 'dark' && !ownerState.enableColorOnDark && {
|
|
19858
|
-
backgroundColor: null,
|
|
19859
|
-
color: null
|
|
19860
|
-
}, ownerState.color === 'transparent' && _extends({
|
|
19861
|
-
backgroundColor: 'transparent',
|
|
19862
|
-
color: 'inherit'
|
|
19863
|
-
}, theme.palette.mode === 'dark' && {
|
|
19864
|
-
backgroundImage: 'none'
|
|
19865
|
-
}));
|
|
19866
|
-
});
|
|
19867
|
-
const AppBar = /*#__PURE__*/React__namespace.forwardRef(function AppBar(inProps, ref) {
|
|
19868
|
-
const props = useThemeProps({
|
|
19869
|
-
props: inProps,
|
|
19870
|
-
name: 'MuiAppBar'
|
|
19871
|
-
});
|
|
20864
|
+
/**
|
|
20865
|
+
* If true, the `color` prop is applied in dark mode.
|
|
20866
|
+
* @default false
|
|
20867
|
+
*/
|
|
20868
|
+
enableColorOnDark: propTypes.bool,
|
|
19872
20869
|
|
|
19873
|
-
|
|
19874
|
-
|
|
19875
|
-
|
|
19876
|
-
|
|
19877
|
-
|
|
19878
|
-
|
|
19879
|
-
|
|
20870
|
+
/**
|
|
20871
|
+
* The positioning type. The behavior of the different options is described
|
|
20872
|
+
* [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).
|
|
20873
|
+
* Note: `sticky` is not universally supported and will fall back to `static` when unavailable.
|
|
20874
|
+
* @default 'fixed'
|
|
20875
|
+
*/
|
|
20876
|
+
position: propTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky']),
|
|
19880
20877
|
|
|
19881
|
-
|
|
19882
|
-
|
|
19883
|
-
|
|
19884
|
-
|
|
19885
|
-
|
|
20878
|
+
/**
|
|
20879
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
20880
|
+
*/
|
|
20881
|
+
sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
|
|
20882
|
+
} ;
|
|
20883
|
+
var AppBar$1 = AppBar;
|
|
19886
20884
|
|
|
19887
|
-
|
|
19888
|
-
|
|
19889
|
-
|
|
19890
|
-
|
|
19891
|
-
|
|
19892
|
-
|
|
19893
|
-
|
|
20885
|
+
/**
|
|
20886
|
+
*
|
|
20887
|
+
* Demos:
|
|
20888
|
+
*
|
|
20889
|
+
* - [Autocomplete](https://mui.com/components/autocomplete/)
|
|
20890
|
+
* - [Menus](https://mui.com/components/menus/)
|
|
20891
|
+
* - [Popper](https://mui.com/components/popper/)
|
|
20892
|
+
*
|
|
20893
|
+
* API:
|
|
20894
|
+
*
|
|
20895
|
+
* - [Popper API](https://mui.com/api/popper/)
|
|
20896
|
+
*/
|
|
20897
|
+
const Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(props, ref) {
|
|
20898
|
+
const theme = useTheme$2();
|
|
20899
|
+
return /*#__PURE__*/jsxRuntime_1(PopperUnstyled$1, _extends({
|
|
20900
|
+
direction: theme == null ? void 0 : theme.direction
|
|
20901
|
+
}, props, {
|
|
19894
20902
|
ref: ref
|
|
19895
|
-
}
|
|
20903
|
+
}));
|
|
19896
20904
|
});
|
|
19897
|
-
|
|
20905
|
+
Popper.propTypes
|
|
19898
20906
|
/* remove-proptypes */
|
|
19899
20907
|
= {
|
|
19900
20908
|
// ----------------------------- Warning --------------------------------
|
|
19901
20909
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
19902
|
-
// | To update them edit
|
|
20910
|
+
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
19903
20911
|
// ----------------------------------------------------------------------
|
|
19904
20912
|
|
|
19905
20913
|
/**
|
|
19906
|
-
*
|
|
20914
|
+
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
20915
|
+
* or a function that returns either.
|
|
20916
|
+
* It's used to set the position of the popper.
|
|
20917
|
+
* The return value will passed as the reference object of the Popper instance.
|
|
19907
20918
|
*/
|
|
19908
|
-
|
|
20919
|
+
anchorEl: propTypes
|
|
20920
|
+
/* @typescript-to-proptypes-ignore */
|
|
20921
|
+
.oneOfType([HTMLElementType, propTypes.object, propTypes.func]),
|
|
19909
20922
|
|
|
19910
20923
|
/**
|
|
19911
|
-
*
|
|
20924
|
+
* Popper render function or node.
|
|
19912
20925
|
*/
|
|
19913
|
-
|
|
20926
|
+
children: propTypes
|
|
20927
|
+
/* @typescript-to-proptypes-ignore */
|
|
20928
|
+
.oneOfType([propTypes.node, propTypes.func]),
|
|
19914
20929
|
|
|
19915
20930
|
/**
|
|
19916
|
-
*
|
|
20931
|
+
* An HTML element or function that returns one.
|
|
20932
|
+
* The `container` will have the portal children appended to it.
|
|
20933
|
+
*
|
|
20934
|
+
* By default, it uses the body of the top-level document object,
|
|
20935
|
+
* so it's simply `document.body` most of the time.
|
|
19917
20936
|
*/
|
|
19918
|
-
|
|
20937
|
+
container: propTypes
|
|
20938
|
+
/* @typescript-to-proptypes-ignore */
|
|
20939
|
+
.oneOfType([HTMLElementType, propTypes.func]),
|
|
19919
20940
|
|
|
19920
20941
|
/**
|
|
19921
|
-
* The
|
|
19922
|
-
* @default
|
|
20942
|
+
* The `children` will be under the DOM hierarchy of the parent component.
|
|
20943
|
+
* @default false
|
|
19923
20944
|
*/
|
|
19924
|
-
|
|
19925
|
-
/* @typescript-to-proptypes-ignore */
|
|
19926
|
-
.oneOfType([propTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), propTypes.string]),
|
|
20945
|
+
disablePortal: propTypes.bool,
|
|
19927
20946
|
|
|
19928
20947
|
/**
|
|
19929
|
-
*
|
|
20948
|
+
* Always keep the children in the DOM.
|
|
20949
|
+
* This prop can be useful in SEO situation or
|
|
20950
|
+
* when you want to maximize the responsiveness of the Popper.
|
|
19930
20951
|
* @default false
|
|
19931
20952
|
*/
|
|
19932
|
-
|
|
20953
|
+
keepMounted: propTypes.bool,
|
|
19933
20954
|
|
|
19934
20955
|
/**
|
|
19935
|
-
*
|
|
19936
|
-
*
|
|
19937
|
-
*
|
|
19938
|
-
*
|
|
20956
|
+
* Popper.js is based on a "plugin-like" architecture,
|
|
20957
|
+
* most of its features are fully encapsulated "modifiers".
|
|
20958
|
+
*
|
|
20959
|
+
* A modifier is a function that is called each time Popper.js needs to
|
|
20960
|
+
* compute the position of the popper.
|
|
20961
|
+
* For this reason, modifiers should be very performant to avoid bottlenecks.
|
|
20962
|
+
* To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
|
|
19939
20963
|
*/
|
|
19940
|
-
|
|
20964
|
+
modifiers: propTypes.arrayOf(propTypes.shape({
|
|
20965
|
+
data: propTypes.object,
|
|
20966
|
+
effect: propTypes.func,
|
|
20967
|
+
enabled: propTypes.bool,
|
|
20968
|
+
fn: propTypes.func,
|
|
20969
|
+
name: propTypes.any.isRequired,
|
|
20970
|
+
options: propTypes.object,
|
|
20971
|
+
phase: propTypes.oneOf(['afterMain', 'afterRead', 'afterWrite', 'beforeMain', 'beforeRead', 'beforeWrite', 'main', 'read', 'write']),
|
|
20972
|
+
requires: propTypes.arrayOf(propTypes.string),
|
|
20973
|
+
requiresIfExists: propTypes.arrayOf(propTypes.string)
|
|
20974
|
+
})),
|
|
19941
20975
|
|
|
19942
20976
|
/**
|
|
19943
|
-
*
|
|
20977
|
+
* If `true`, the component is shown.
|
|
19944
20978
|
*/
|
|
19945
|
-
|
|
20979
|
+
open: propTypes.bool.isRequired,
|
|
20980
|
+
|
|
20981
|
+
/**
|
|
20982
|
+
* Popper placement.
|
|
20983
|
+
* @default 'bottom'
|
|
20984
|
+
*/
|
|
20985
|
+
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']),
|
|
20986
|
+
|
|
20987
|
+
/**
|
|
20988
|
+
* Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
|
|
20989
|
+
* @default {}
|
|
20990
|
+
*/
|
|
20991
|
+
popperOptions: propTypes.shape({
|
|
20992
|
+
modifiers: propTypes.array,
|
|
20993
|
+
onFirstUpdate: propTypes.func,
|
|
20994
|
+
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']),
|
|
20995
|
+
strategy: propTypes.oneOf(['absolute', 'fixed'])
|
|
20996
|
+
}),
|
|
20997
|
+
|
|
20998
|
+
/**
|
|
20999
|
+
* A ref that points to the used popper instance.
|
|
21000
|
+
*/
|
|
21001
|
+
popperRef: refType$1,
|
|
21002
|
+
|
|
21003
|
+
/**
|
|
21004
|
+
* Help supporting a react-transition-group/Transition component.
|
|
21005
|
+
* @default false
|
|
21006
|
+
*/
|
|
21007
|
+
transition: propTypes.bool
|
|
19946
21008
|
} ;
|
|
19947
|
-
var
|
|
21009
|
+
var Popper$1 = Popper;
|
|
19948
21010
|
|
|
19949
21011
|
function getListSubheaderUtilityClass(slot) {
|
|
19950
21012
|
return generateUtilityClass('MuiListSubheader', slot);
|
|
@@ -23131,8 +24193,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23131
24193
|
theme
|
|
23132
24194
|
}) => _extends({
|
|
23133
24195
|
display: 'flex',
|
|
23134
|
-
marginLeft: theme.spacing(0.5)
|
|
23135
|
-
marginRight: theme.spacing(0.5)
|
|
24196
|
+
marginLeft: `calc(${theme.spacing(1)} * 0.5)`,
|
|
24197
|
+
marginRight: `calc(${theme.spacing(1)} * 0.5)`
|
|
23136
24198
|
}, theme.palette.mode === 'light' ? {
|
|
23137
24199
|
backgroundColor: theme.palette.grey[100],
|
|
23138
24200
|
color: theme.palette.grey[700]
|
|
@@ -26149,7 +27211,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
26149
27211
|
children: propTypes.node,
|
|
26150
27212
|
|
|
26151
27213
|
/**
|
|
26152
|
-
* Enable `color-scheme`
|
|
27214
|
+
* Enable `color-scheme` CSS property to use `theme.palette.mode`.
|
|
26153
27215
|
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
26154
27216
|
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
26155
27217
|
* @default false
|
|
@@ -27360,11 +28422,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27360
28422
|
ownerState
|
|
27361
28423
|
}) => _extends({
|
|
27362
28424
|
display: 'inline-block',
|
|
27363
|
-
paddingLeft: theme.spacing(1.2)
|
|
27364
|
-
paddingRight: theme.spacing(1.2)
|
|
28425
|
+
paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
|
|
28426
|
+
paddingRight: `calc(${theme.spacing(1)} * 1.2)`
|
|
27365
28427
|
}, ownerState.orientation === 'vertical' && {
|
|
27366
|
-
paddingTop: theme.spacing(1.2)
|
|
27367
|
-
paddingBottom: theme.spacing(1.2)
|
|
28428
|
+
paddingTop: `calc(${theme.spacing(1)} * 1.2)`,
|
|
28429
|
+
paddingBottom: `calc(${theme.spacing(1)} * 1.2)`
|
|
27368
28430
|
}));
|
|
27369
28431
|
const Divider = /*#__PURE__*/React__namespace.forwardRef(function Divider(inProps, ref) {
|
|
27370
28432
|
const props = useThemeProps({
|
|
@@ -27858,7 +28920,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27858
28920
|
var drawerClasses$1 = drawerClasses;
|
|
27859
28921
|
|
|
27860
28922
|
const _excluded$1m = ["BackdropProps"],
|
|
27861
|
-
_excluded2$
|
|
28923
|
+
_excluded2$8 = ["anchor", "BackdropProps", "children", "className", "elevation", "hideBackdrop", "ModalProps", "onClose", "open", "PaperProps", "SlideProps", "TransitionComponent", "transitionDuration", "variant"];
|
|
27862
28924
|
|
|
27863
28925
|
const overridesResolver$5 = (props, styles) => {
|
|
27864
28926
|
const {
|
|
@@ -28001,7 +29063,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
28001
29063
|
variant = 'temporary'
|
|
28002
29064
|
} = props,
|
|
28003
29065
|
ModalProps = _objectWithoutPropertiesLoose(props.ModalProps, _excluded$1m),
|
|
28004
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
29066
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$8);
|
|
28005
29067
|
|
|
28006
29068
|
const theme = useTheme(); // Let's assume that the Drawer will always be rendered on user space.
|
|
28007
29069
|
// We use this state is order to skip the appear transition during the
|
|
@@ -34568,7 +35630,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34568
35630
|
var ListItemSecondaryAction$1 = ListItemSecondaryAction;
|
|
34569
35631
|
|
|
34570
35632
|
const _excluded$Y = ["className"],
|
|
34571
|
-
_excluded2$
|
|
35633
|
+
_excluded2$7 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected"];
|
|
34572
35634
|
const overridesResolver$2 = (props, styles) => {
|
|
34573
35635
|
const {
|
|
34574
35636
|
ownerState
|
|
@@ -34711,7 +35773,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34711
35773
|
selected = false
|
|
34712
35774
|
} = props,
|
|
34713
35775
|
ContainerProps = _objectWithoutPropertiesLoose(props.ContainerProps, _excluded$Y),
|
|
34714
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
35776
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$7);
|
|
34715
35777
|
|
|
34716
35778
|
const context = React__namespace.useContext(ListContext$1);
|
|
34717
35779
|
const childContext = {
|
|
@@ -35650,7 +36712,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35650
36712
|
var popoverClasses$1 = popoverClasses;
|
|
35651
36713
|
|
|
35652
36714
|
const _excluded$T = ["onEntering"],
|
|
35653
|
-
_excluded2$
|
|
36715
|
+
_excluded2$6 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"];
|
|
35654
36716
|
function getOffsetTop(rect, vertical) {
|
|
35655
36717
|
let offset = 0;
|
|
35656
36718
|
|
|
@@ -35752,7 +36814,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
35752
36814
|
} = {}
|
|
35753
36815
|
} = props,
|
|
35754
36816
|
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$T),
|
|
35755
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
36817
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$6);
|
|
35756
36818
|
|
|
35757
36819
|
const paperRef = React__namespace.useRef();
|
|
35758
36820
|
const handlePaperRef = useForkRef(paperRef, PaperProps.ref);
|
|
@@ -36143,7 +37205,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36143
37205
|
var menuClasses$1 = menuClasses;
|
|
36144
37206
|
|
|
36145
37207
|
const _excluded$S = ["onEntering"],
|
|
36146
|
-
_excluded2$
|
|
37208
|
+
_excluded2$5 = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"];
|
|
36147
37209
|
const RTL_ORIGIN = {
|
|
36148
37210
|
vertical: 'top',
|
|
36149
37211
|
horizontal: 'right'
|
|
@@ -36213,7 +37275,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36213
37275
|
variant = 'selectedMenu'
|
|
36214
37276
|
} = props,
|
|
36215
37277
|
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$S),
|
|
36216
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
37278
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$5);
|
|
36217
37279
|
|
|
36218
37280
|
const theme = useTheme();
|
|
36219
37281
|
const isRtl = theme.direction === 'rtl';
|
|
@@ -36903,7 +37965,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36903
37965
|
function getNativeSelectUtilityClasses(slot) {
|
|
36904
37966
|
return generateUtilityClass('MuiNativeSelect', slot);
|
|
36905
37967
|
}
|
|
36906
|
-
const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
|
|
37968
|
+
const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
|
|
36907
37969
|
var nativeSelectClasses$1 = nativeSelectClasses;
|
|
36908
37970
|
|
|
36909
37971
|
const _excluded$P = ["className", "disabled", "IconComponent", "inputRef", "variant"];
|
|
@@ -36913,10 +37975,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36913
37975
|
classes,
|
|
36914
37976
|
variant,
|
|
36915
37977
|
disabled,
|
|
37978
|
+
multiple,
|
|
36916
37979
|
open
|
|
36917
37980
|
} = ownerState;
|
|
36918
37981
|
const slots = {
|
|
36919
|
-
select: ['select', variant, disabled && 'disabled'],
|
|
37982
|
+
select: ['select', variant, disabled && 'disabled', multiple && 'multiple'],
|
|
36920
37983
|
icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled']
|
|
36921
37984
|
};
|
|
36922
37985
|
return composeClasses(slots, getNativeSelectUtilityClasses, classes);
|
|
@@ -36983,7 +38046,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36983
38046
|
const {
|
|
36984
38047
|
ownerState
|
|
36985
38048
|
} = props;
|
|
36986
|
-
return [styles.select, styles[ownerState.variant]
|
|
38049
|
+
return [styles.select, styles[ownerState.variant], {
|
|
38050
|
+
[`&.${nativeSelectClasses$1.multiple}`]: styles.multiple
|
|
38051
|
+
}];
|
|
36987
38052
|
}
|
|
36988
38053
|
})(nativeSelectSelectStyles);
|
|
36989
38054
|
const nativeSelectIconStyles = ({
|
|
@@ -37117,7 +38182,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37117
38182
|
var NativeSelectInput$1 = NativeSelectInput;
|
|
37118
38183
|
|
|
37119
38184
|
const _excluded$O = ["className", "children", "classes", "IconComponent", "input", "inputProps", "variant"],
|
|
37120
|
-
_excluded2$
|
|
38185
|
+
_excluded2$4 = ["root"];
|
|
37121
38186
|
|
|
37122
38187
|
const useUtilityClasses$D = ownerState => {
|
|
37123
38188
|
const {
|
|
@@ -37164,7 +38229,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
37164
38229
|
|
|
37165
38230
|
const classes = useUtilityClasses$D(ownerState);
|
|
37166
38231
|
|
|
37167
|
-
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$
|
|
38232
|
+
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$4);
|
|
37168
38233
|
|
|
37169
38234
|
return /*#__PURE__*/React__namespace.cloneElement(input, _extends({
|
|
37170
38235
|
// Most of the logic is implemented in `NativeSelectInput`.
|
|
@@ -38898,7 +39963,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
38898
39963
|
var ratingClasses$1 = ratingClasses;
|
|
38899
39964
|
|
|
38900
39965
|
const _excluded$G = ["value"],
|
|
38901
|
-
_excluded2$
|
|
39966
|
+
_excluded2$3 = ["className", "defaultValue", "disabled", "emptyIcon", "emptyLabelText", "getLabelText", "highlightSelectedOnly", "icon", "IconContainerComponent", "max", "name", "onChange", "onChangeActive", "onMouseLeave", "onMouseMove", "precision", "readOnly", "size", "value"];
|
|
38902
39967
|
|
|
38903
39968
|
function clamp$1(value, min, max) {
|
|
38904
39969
|
if (value < min) {
|
|
@@ -39198,7 +40263,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39198
40263
|
size = 'medium',
|
|
39199
40264
|
value: valueProp
|
|
39200
40265
|
} = props,
|
|
39201
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$
|
|
40266
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$3);
|
|
39202
40267
|
|
|
39203
40268
|
const name = useId(nameProp);
|
|
39204
40269
|
const [valueDerived, setValueState] = useControlled({
|
|
@@ -39691,7 +40756,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39691
40756
|
component: propTypes.elementType,
|
|
39692
40757
|
|
|
39693
40758
|
/**
|
|
39694
|
-
* Enable `color-scheme`
|
|
40759
|
+
* Enable `color-scheme` CSS property to use `theme.palette.mode`.
|
|
39695
40760
|
* For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
|
|
39696
40761
|
* For browser support, check out https://caniuse.com/?search=color-scheme
|
|
39697
40762
|
*/
|
|
@@ -39702,7 +40767,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39702
40767
|
function getSelectUtilityClasses(slot) {
|
|
39703
40768
|
return generateUtilityClass('MuiSelect', slot);
|
|
39704
40769
|
}
|
|
39705
|
-
const selectClasses = generateUtilityClasses('MuiSelect', ['
|
|
40770
|
+
const selectClasses = generateUtilityClasses('MuiSelect', ['select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'focused', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput']);
|
|
39706
40771
|
var selectClasses$1 = selectClasses;
|
|
39707
40772
|
|
|
39708
40773
|
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"];
|
|
@@ -39718,6 +40783,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39718
40783
|
[`&.${selectClasses$1.select}`]: styles.select
|
|
39719
40784
|
}, {
|
|
39720
40785
|
[`&.${selectClasses$1.select}`]: styles[ownerState.variant]
|
|
40786
|
+
}, {
|
|
40787
|
+
[`&.${selectClasses$1.multiple}`]: styles.multiple
|
|
39721
40788
|
}];
|
|
39722
40789
|
}
|
|
39723
40790
|
})(nativeSelectSelectStyles, {
|
|
@@ -39775,10 +40842,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
39775
40842
|
classes,
|
|
39776
40843
|
variant,
|
|
39777
40844
|
disabled,
|
|
40845
|
+
multiple,
|
|
39778
40846
|
open
|
|
39779
40847
|
} = ownerState;
|
|
39780
40848
|
const slots = {
|
|
39781
|
-
select: ['select', variant, disabled && 'disabled'],
|
|
40849
|
+
select: ['select', variant, disabled && 'disabled', multiple && 'multiple'],
|
|
39782
40850
|
icon: ['icon', `icon${capitalize(variant)}`, open && 'iconOpen', disabled && 'disabled'],
|
|
39783
40851
|
nativeInput: ['nativeInput']
|
|
39784
40852
|
};
|
|
@@ -40054,7 +41122,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40054
41122
|
}
|
|
40055
41123
|
|
|
40056
41124
|
return /*#__PURE__*/React__namespace.cloneElement(child, {
|
|
40057
|
-
'aria-selected': selected ? 'true' :
|
|
41125
|
+
'aria-selected': selected ? 'true' : 'false',
|
|
40058
41126
|
onClick: handleItemClick(child),
|
|
40059
41127
|
onKeyUp: event => {
|
|
40060
41128
|
if (event.key === ' ') {
|
|
@@ -40088,7 +41156,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40088
41156
|
}
|
|
40089
41157
|
|
|
40090
41158
|
if (computeDisplay) {
|
|
40091
|
-
|
|
41159
|
+
if (multiple) {
|
|
41160
|
+
display = displayMultiple.reduce((prev, curr) => [prev, ', ', curr]);
|
|
41161
|
+
} else {
|
|
41162
|
+
display = displaySingle;
|
|
41163
|
+
}
|
|
40092
41164
|
} // Avoid performing a layout computation in the render method.
|
|
40093
41165
|
|
|
40094
41166
|
|
|
@@ -40356,17 +41428,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40356
41428
|
|
|
40357
41429
|
var _Input, _FilledInput;
|
|
40358
41430
|
|
|
40359
|
-
const _excluded$D = ["autoWidth", "children", "classes", "className", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"]
|
|
40360
|
-
_excluded2$3 = ["root"];
|
|
41431
|
+
const _excluded$D = ["autoWidth", "children", "classes", "className", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
|
|
40361
41432
|
|
|
40362
41433
|
const useUtilityClasses$v = ownerState => {
|
|
40363
41434
|
const {
|
|
40364
41435
|
classes
|
|
40365
41436
|
} = ownerState;
|
|
40366
|
-
|
|
40367
|
-
root: ['root']
|
|
40368
|
-
};
|
|
40369
|
-
return composeClasses(slots, getSelectUtilityClasses, classes);
|
|
41437
|
+
return classes;
|
|
40370
41438
|
};
|
|
40371
41439
|
|
|
40372
41440
|
const Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps, ref) {
|
|
@@ -40420,9 +41488,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40420
41488
|
});
|
|
40421
41489
|
|
|
40422
41490
|
const classes = useUtilityClasses$v(ownerState);
|
|
40423
|
-
|
|
40424
|
-
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$3);
|
|
40425
|
-
|
|
40426
41491
|
const inputComponentRef = useForkRef(ref, InputComponent.ref);
|
|
40427
41492
|
return /*#__PURE__*/React__namespace.cloneElement(InputComponent, _extends({
|
|
40428
41493
|
// Most of the logic is implemented in `SelectInput`.
|
|
@@ -40450,13 +41515,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
40450
41515
|
id
|
|
40451
41516
|
}, SelectDisplayProps)
|
|
40452
41517
|
}, inputProps, {
|
|
40453
|
-
classes: inputProps ? deepmerge(
|
|
41518
|
+
classes: inputProps ? deepmerge(classes, inputProps.classes) : classes
|
|
40454
41519
|
}, input ? input.props.inputProps : {})
|
|
40455
41520
|
}, multiple && native && variant === 'outlined' ? {
|
|
40456
41521
|
notched: true
|
|
40457
41522
|
} : {}, {
|
|
40458
41523
|
ref: inputComponentRef,
|
|
40459
|
-
className: clsx(
|
|
41524
|
+
className: clsx(InputComponent.props.className, className)
|
|
40460
41525
|
}, other));
|
|
40461
41526
|
});
|
|
40462
41527
|
Select.propTypes
|
|
@@ -41671,7 +42736,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41671
42736
|
var snackbarClasses$1 = snackbarClasses;
|
|
41672
42737
|
|
|
41673
42738
|
const _excluded$z = ["onEnter", "onExited"],
|
|
41674
|
-
_excluded2$2 = ["action", "anchorOrigin", "autoHideDuration", "children", "className", "ClickAwayListenerProps", "ContentProps", "disableWindowBlurListener", "message", "onClose", "onMouseEnter", "onMouseLeave", "open", "resumeHideDuration", "TransitionComponent", "transitionDuration", "TransitionProps"];
|
|
42739
|
+
_excluded2$2 = ["action", "anchorOrigin", "autoHideDuration", "children", "className", "ClickAwayListenerProps", "ContentProps", "disableWindowBlurListener", "message", "onBlur", "onClose", "onFocus", "onMouseEnter", "onMouseLeave", "open", "resumeHideDuration", "TransitionComponent", "transitionDuration", "TransitionProps"];
|
|
41675
42740
|
|
|
41676
42741
|
const useUtilityClasses$s = ownerState => {
|
|
41677
42742
|
const {
|
|
@@ -41765,7 +42830,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41765
42830
|
ContentProps,
|
|
41766
42831
|
disableWindowBlurListener = false,
|
|
41767
42832
|
message,
|
|
42833
|
+
onBlur,
|
|
41768
42834
|
onClose,
|
|
42835
|
+
onFocus,
|
|
41769
42836
|
onMouseEnter,
|
|
41770
42837
|
onMouseLeave,
|
|
41771
42838
|
open,
|
|
@@ -41835,6 +42902,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41835
42902
|
}
|
|
41836
42903
|
}, [autoHideDuration, resumeHideDuration, setAutoHideTimer]);
|
|
41837
42904
|
|
|
42905
|
+
const handleFocus = event => {
|
|
42906
|
+
if (onFocus) {
|
|
42907
|
+
onFocus(event);
|
|
42908
|
+
}
|
|
42909
|
+
|
|
42910
|
+
handlePause();
|
|
42911
|
+
};
|
|
42912
|
+
|
|
41838
42913
|
const handleMouseEnter = event => {
|
|
41839
42914
|
if (onMouseEnter) {
|
|
41840
42915
|
onMouseEnter(event);
|
|
@@ -41843,6 +42918,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41843
42918
|
handlePause();
|
|
41844
42919
|
};
|
|
41845
42920
|
|
|
42921
|
+
const handleBlur = event => {
|
|
42922
|
+
if (onBlur) {
|
|
42923
|
+
onBlur(event);
|
|
42924
|
+
}
|
|
42925
|
+
|
|
42926
|
+
handleResume();
|
|
42927
|
+
};
|
|
42928
|
+
|
|
41846
42929
|
const handleMouseLeave = event => {
|
|
41847
42930
|
if (onMouseLeave) {
|
|
41848
42931
|
onMouseLeave(event);
|
|
@@ -41885,7 +42968,33 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41885
42968
|
}
|
|
41886
42969
|
|
|
41887
42970
|
return undefined;
|
|
41888
|
-
}, [disableWindowBlurListener, handleResume, open]);
|
|
42971
|
+
}, [disableWindowBlurListener, handleResume, open]);
|
|
42972
|
+
React__namespace.useEffect(() => {
|
|
42973
|
+
if (!open) {
|
|
42974
|
+
return undefined;
|
|
42975
|
+
}
|
|
42976
|
+
/**
|
|
42977
|
+
* @param {KeyboardEvent} nativeEvent
|
|
42978
|
+
*/
|
|
42979
|
+
|
|
42980
|
+
|
|
42981
|
+
function handleKeyDown(nativeEvent) {
|
|
42982
|
+
if (!nativeEvent.defaultPrevented) {
|
|
42983
|
+
// IE11, Edge (prior to using Bink?) use 'Esc'
|
|
42984
|
+
if (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc') {
|
|
42985
|
+
// not calling `preventDefault` since we don't know if people may ignore this event e.g. a permanently open snackbar
|
|
42986
|
+
if (onClose) {
|
|
42987
|
+
onClose(nativeEvent, 'escapeKeyDown');
|
|
42988
|
+
}
|
|
42989
|
+
}
|
|
42990
|
+
}
|
|
42991
|
+
}
|
|
42992
|
+
|
|
42993
|
+
document.addEventListener('keydown', handleKeyDown);
|
|
42994
|
+
return () => {
|
|
42995
|
+
document.removeEventListener('keydown', handleKeyDown);
|
|
42996
|
+
};
|
|
42997
|
+
}, [exited, open, onClose]); // So we only render active snackbars.
|
|
41889
42998
|
|
|
41890
42999
|
if (!open && exited) {
|
|
41891
43000
|
return null;
|
|
@@ -41896,6 +43005,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41896
43005
|
}, ClickAwayListenerProps, {
|
|
41897
43006
|
children: /*#__PURE__*/jsxRuntime_1(SnackbarRoot, _extends({
|
|
41898
43007
|
className: clsx(classes.root, className),
|
|
43008
|
+
onBlur: handleBlur,
|
|
43009
|
+
onFocus: handleFocus,
|
|
41899
43010
|
onMouseEnter: handleMouseEnter,
|
|
41900
43011
|
onMouseLeave: handleMouseLeave,
|
|
41901
43012
|
ownerState: ownerState,
|
|
@@ -41994,6 +43105,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
41994
43105
|
*/
|
|
41995
43106
|
message: propTypes.node,
|
|
41996
43107
|
|
|
43108
|
+
/**
|
|
43109
|
+
* @ignore
|
|
43110
|
+
*/
|
|
43111
|
+
onBlur: propTypes.func,
|
|
43112
|
+
|
|
41997
43113
|
/**
|
|
41998
43114
|
* Callback fired when the component requests to be closed.
|
|
41999
43115
|
* Typically `onClose` is used to set state in the parent component,
|
|
@@ -42001,11 +43117,16 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
42001
43117
|
* The `reason` parameter can optionally be used to control the response to `onClose`,
|
|
42002
43118
|
* for example ignoring `clickaway`.
|
|
42003
43119
|
*
|
|
42004
|
-
* @param {React.SyntheticEvent<any>} event The event source of the callback.
|
|
42005
|
-
* @param {string} reason Can be: `"timeout"` (`autoHideDuration` expired), `"clickaway"`.
|
|
43120
|
+
* @param {React.SyntheticEvent<any> | Event} event The event source of the callback.
|
|
43121
|
+
* @param {string} reason Can be: `"timeout"` (`autoHideDuration` expired), `"clickaway"`, or `"escapeKeyDown"`.
|
|
42006
43122
|
*/
|
|
42007
43123
|
onClose: propTypes.func,
|
|
42008
43124
|
|
|
43125
|
+
/**
|
|
43126
|
+
* @ignore
|
|
43127
|
+
*/
|
|
43128
|
+
onFocus: propTypes.func,
|
|
43129
|
+
|
|
42009
43130
|
/**
|
|
42010
43131
|
* @ignore
|
|
42011
43132
|
*/
|
|
@@ -47816,7 +48937,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
47816
48937
|
to,
|
|
47817
48938
|
count
|
|
47818
48939
|
}) {
|
|
47819
|
-
return `${from}
|
|
48940
|
+
return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
|
|
47820
48941
|
}
|
|
47821
48942
|
|
|
47822
48943
|
function defaultGetAriaLabel(type) {
|
|
@@ -48021,7 +49142,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
48021
49142
|
*
|
|
48022
49143
|
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
48023
49144
|
* @default function defaultLabelDisplayedRows({ from, to, count }) {
|
|
48024
|
-
* return `${from}
|
|
49145
|
+
* return `${from}–${to} of ${count !== -1 ? count : `more than ${to}`}`;
|
|
48025
49146
|
* }
|
|
48026
49147
|
*/
|
|
48027
49148
|
labelDisplayedRows: propTypes.func,
|
|
@@ -49586,7 +50707,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
49586
50707
|
FormHelperTextProps,
|
|
49587
50708
|
fullWidth = false,
|
|
49588
50709
|
helperText,
|
|
49589
|
-
id,
|
|
50710
|
+
id: idOverride,
|
|
49590
50711
|
InputLabelProps,
|
|
49591
50712
|
inputProps,
|
|
49592
50713
|
InputProps,
|
|
@@ -49656,6 +50777,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
49656
50777
|
InputMore['aria-describedby'] = undefined;
|
|
49657
50778
|
}
|
|
49658
50779
|
|
|
50780
|
+
const id = useId(idOverride);
|
|
49659
50781
|
const helperTextId = helperText && id ? `${id}-helper-text` : undefined;
|
|
49660
50782
|
const inputLabelId = label && id ? `${id}-label` : undefined;
|
|
49661
50783
|
const InputComponent = variantComponent[variant];
|
|
@@ -50567,6 +51689,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50567
51689
|
exports.Paper = Paper$1;
|
|
50568
51690
|
exports.Popover = Popover$1;
|
|
50569
51691
|
exports.Popper = Popper$1;
|
|
51692
|
+
exports.PopperUnstyled = PopperUnstyled$1;
|
|
50570
51693
|
exports.Portal = Portal$1;
|
|
50571
51694
|
exports.Radio = Radio$1;
|
|
50572
51695
|
exports.RadioGroup = RadioGroup$1;
|
|
@@ -50604,7 +51727,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50604
51727
|
exports.Switch = Switch$1;
|
|
50605
51728
|
exports.SwitchUnstyled = SwitchUnstyled$1;
|
|
50606
51729
|
exports.Tab = Tab$1;
|
|
51730
|
+
exports.TabPanelUnstyled = TabPanelUnstyled$1;
|
|
50607
51731
|
exports.TabScrollButton = TabScrollButton$1;
|
|
51732
|
+
exports.TabUnstyled = TabUnstyled$1;
|
|
50608
51733
|
exports.Table = Table$1;
|
|
50609
51734
|
exports.TableBody = TableBody$1;
|
|
50610
51735
|
exports.TableCell = TableCell$1;
|
|
@@ -50615,6 +51740,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50615
51740
|
exports.TableRow = TableRow$1;
|
|
50616
51741
|
exports.TableSortLabel = TableSortLabel$1;
|
|
50617
51742
|
exports.Tabs = Tabs$1;
|
|
51743
|
+
exports.TabsContext = Context$1;
|
|
51744
|
+
exports.TabsListUnstyled = TabsListUnstyled$1;
|
|
51745
|
+
exports.TabsUnstyled = TabsUnstyled$1;
|
|
50618
51746
|
exports.TextField = TextField$1;
|
|
50619
51747
|
exports.TextareaAutosize = TextareaAutosize$1;
|
|
50620
51748
|
exports.ThemeProvider = ThemeProvider;
|
|
@@ -50685,6 +51813,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50685
51813
|
exports.easing = easing;
|
|
50686
51814
|
exports.emphasize = emphasize;
|
|
50687
51815
|
exports.experimentalStyled = styled$1;
|
|
51816
|
+
exports.experimental_sx = sx;
|
|
50688
51817
|
exports.extractEventHandlers = extractEventHandlers;
|
|
50689
51818
|
exports.fabClasses = fabClasses$1;
|
|
50690
51819
|
exports.filledInputClasses = filledInputClasses$1;
|
|
@@ -50772,6 +51901,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50772
51901
|
exports.getOutlinedInputUtilityClass = getOutlinedInputUtilityClass;
|
|
50773
51902
|
exports.getPaginationItemUtilityClass = getPaginationItemUtilityClass;
|
|
50774
51903
|
exports.getPaginationUtilityClass = getPaginationUtilityClass;
|
|
51904
|
+
exports.getPanelId = getPanelId;
|
|
50775
51905
|
exports.getPaperUtilityClass = getPaperUtilityClass;
|
|
50776
51906
|
exports.getPopoverUtilityClass = getPopoverUtilityClass;
|
|
50777
51907
|
exports.getRadioUtilityClass = getRadioUtilityClass;
|
|
@@ -50795,7 +51925,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50795
51925
|
exports.getSvgIconUtilityClass = getSvgIconUtilityClass;
|
|
50796
51926
|
exports.getSwitchUnstyledUtilityClass = getSwitchUnstyledUtilityClass;
|
|
50797
51927
|
exports.getSwitchUtilityClass = getSwitchUtilityClass;
|
|
51928
|
+
exports.getTabId = getTabId;
|
|
51929
|
+
exports.getTabPanelUnstyledUtilityClass = getTabPanelUnstyledUtilityClass;
|
|
50798
51930
|
exports.getTabScrollButtonUtilityClass = getTabScrollButtonUtilityClass;
|
|
51931
|
+
exports.getTabUnstyledUtilityClass = getTabUnstyledUtilityClass;
|
|
50799
51932
|
exports.getTabUtilityClass = getTabUtilityClass;
|
|
50800
51933
|
exports.getTableBodyUtilityClass = getTableBodyUtilityClass;
|
|
50801
51934
|
exports.getTableCellUtilityClass = getTableCellUtilityClass;
|
|
@@ -50806,6 +51939,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50806
51939
|
exports.getTableRowUtilityClass = getTableRowUtilityClass;
|
|
50807
51940
|
exports.getTableSortLabelUtilityClass = getTableSortLabelUtilityClass;
|
|
50808
51941
|
exports.getTableUtilityClass = getTableUtilityClass;
|
|
51942
|
+
exports.getTabsListUnstyledUtilityClass = getTabsListUnstyledUtilityClass;
|
|
51943
|
+
exports.getTabsUnstyledUtilityClass = getTabsUnstyledUtilityClass;
|
|
50809
51944
|
exports.getTabsUtilityClass = getTabsUtilityClass;
|
|
50810
51945
|
exports.getTextFieldUtilityClass = getTextFieldUtilityClass;
|
|
50811
51946
|
exports.getToggleButtonGroupUtilityClass = getToggleButtonGroupUtilityClass;
|
|
@@ -50884,7 +52019,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50884
52019
|
exports.switchClasses = switchClasses$1;
|
|
50885
52020
|
exports.switchUnstyledClasses = classes;
|
|
50886
52021
|
exports.tabClasses = tabClasses$1;
|
|
52022
|
+
exports.tabPanelUnstyledClasses = tabPanelUnstyledClasses$1;
|
|
50887
52023
|
exports.tabScrollButtonClasses = tabScrollButtonClasses$1;
|
|
52024
|
+
exports.tabUnstyledClasses = tabUnstyledClasses$1;
|
|
50888
52025
|
exports.tableBodyClasses = tableBodyClasses$1;
|
|
50889
52026
|
exports.tableCellClasses = tableCellClasses$1;
|
|
50890
52027
|
exports.tableClasses = tableClasses$1;
|
|
@@ -50895,6 +52032,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50895
52032
|
exports.tableRowClasses = tableRowClasses$1;
|
|
50896
52033
|
exports.tableSortLabelClasses = tableSortLabelClasses$1;
|
|
50897
52034
|
exports.tabsClasses = tabsClasses$1;
|
|
52035
|
+
exports.tabsListUnstyledClasses = tabsListUnstyledClasses$1;
|
|
52036
|
+
exports.tabsUnstyledClasses = tabsUnstyledClasses$1;
|
|
50898
52037
|
exports.textFieldClasses = textFieldClasses$1;
|
|
50899
52038
|
exports.toggleButtonClasses = toggleButtonClasses$1;
|
|
50900
52039
|
exports.toggleButtonGroupClasses = toggleButtonGroupClasses$1;
|
|
@@ -50924,6 +52063,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50924
52063
|
exports.useRadioGroup = useRadioGroup;
|
|
50925
52064
|
exports.useScrollTrigger = useScrollTrigger;
|
|
50926
52065
|
exports.useSwitch = useSwitch;
|
|
52066
|
+
exports.useTab = useTab$1;
|
|
52067
|
+
exports.useTabContext = useTabContext;
|
|
52068
|
+
exports.useTabPanel = useTabPanel$1;
|
|
52069
|
+
exports.useTabs = useTabs$1;
|
|
52070
|
+
exports.useTabsList = useTabsList$1;
|
|
50927
52071
|
exports.useTheme = useTheme;
|
|
50928
52072
|
exports.useThemeProps = useThemeProps;
|
|
50929
52073
|
exports.withStyles = withStyles;
|