@mui/material 5.0.0 → 5.0.4
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/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/Alert.d.ts +2 -1
- package/Alert/Alert.js +1 -0
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.d.ts +1 -1
- package/Autocomplete/Autocomplete.js +1 -1
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/Avatar.d.ts +1 -1
- package/Avatar/Avatar.js +1 -1
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +76 -76
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +278 -2
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/Chip.js +5 -4
- package/Chip/chipClasses.d.ts +80 -80
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/ClickAwayListener.d.ts +47 -47
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/Collapse.js +16 -3
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +22 -22
- package/Dialog/Dialog.d.ts +1 -1
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/Fade/Fade.d.ts +1 -1
- package/Fade/Fade.js +19 -2
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
- package/FormGroup/formGroupClasses.d.ts +10 -10
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Grow/Grow.d.ts +1 -1
- package/Grow/Grow.js +17 -4
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/InputLabel.js +1 -1
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LICENSE +21 -21
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/NativeSelect.d.ts +1 -1
- package/NativeSelect/NativeSelect.js +1 -1
- package/NativeSelect/nativeSelectClasses.d.ts +30 -30
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/PaginationItem.js +3 -4
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/Popover.d.ts +1 -1
- package/Popover/popoverClasses.d.ts +10 -10
- package/README.md +8 -3
- package/Radio/Radio.js +10 -1
- package/Radio/radioClasses.d.ts +16 -16
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/SelectInput.js +2 -1
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Slide/Slide.d.ts +1 -1
- package/Slide/Slide.js +19 -2
- package/Snackbar/Snackbar.d.ts +1 -1
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/Switch.js +3 -1
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/Tab.js +8 -4
- package/Tab/tabClasses.d.ts +26 -24
- package/Tab/tabClasses.js +1 -1
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/Tooltip.d.ts +29 -2
- package/Tooltip/Tooltip.js +56 -24
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Zoom/Zoom.d.ts +1 -1
- package/Zoom/Zoom.js +19 -2
- package/colors/amber.d.ts +15 -15
- package/colors/blue.d.ts +15 -15
- package/colors/blueGrey.d.ts +15 -15
- package/colors/brown.d.ts +15 -15
- package/colors/common.d.ts +3 -3
- package/colors/cyan.d.ts +15 -15
- package/colors/deepOrange.d.ts +15 -15
- package/colors/deepPurple.d.ts +15 -15
- package/colors/green.d.ts +15 -15
- package/colors/grey.d.ts +15 -15
- package/colors/indigo.d.ts +15 -15
- package/colors/lightBlue.d.ts +15 -15
- package/colors/lightGreen.d.ts +15 -15
- package/colors/lime.d.ts +15 -15
- package/colors/orange.d.ts +15 -15
- package/colors/pink.d.ts +15 -15
- package/colors/purple.d.ts +15 -15
- package/colors/red.d.ts +15 -15
- package/colors/teal.d.ts +15 -15
- package/colors/yellow.d.ts +15 -15
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/SwitchBase.js +3 -2
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Alert/Alert.js +1 -0
- package/legacy/Autocomplete/Autocomplete.js +1 -1
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Chip/Chip.js +5 -4
- package/legacy/Collapse/Collapse.js +17 -4
- package/legacy/Fade/Fade.js +20 -3
- package/legacy/Grow/Grow.js +18 -5
- package/legacy/InputLabel/InputLabel.js +1 -1
- package/legacy/NativeSelect/NativeSelect.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +3 -4
- package/legacy/Radio/Radio.js +11 -1
- package/legacy/Select/SelectInput.js +2 -1
- package/legacy/Slide/Slide.js +20 -3
- package/legacy/Switch/Switch.js +22 -22
- package/legacy/Tab/Tab.js +8 -4
- package/legacy/Tab/tabClasses.js +1 -1
- package/legacy/Tooltip/Tooltip.js +55 -24
- package/legacy/Zoom/Zoom.js +20 -3
- package/legacy/index.js +1 -1
- package/legacy/internal/SwitchBase.js +2 -1
- package/legacy/useMediaQuery/useMediaQuery.js +23 -21
- package/locale/index.d.ts +65 -65
- package/modern/Alert/Alert.js +1 -0
- package/modern/Autocomplete/Autocomplete.js +1 -1
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Chip/Chip.js +5 -4
- package/modern/Collapse/Collapse.js +16 -3
- package/modern/Fade/Fade.js +19 -2
- package/modern/Grow/Grow.js +17 -4
- package/modern/InputLabel/InputLabel.js +1 -1
- package/modern/NativeSelect/NativeSelect.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +3 -4
- package/modern/Radio/Radio.js +10 -1
- package/modern/Select/SelectInput.js +2 -1
- package/modern/Slide/Slide.js +19 -2
- package/modern/Switch/Switch.js +3 -1
- package/modern/Tab/Tab.js +8 -4
- package/modern/Tab/tabClasses.js +1 -1
- package/modern/Tooltip/Tooltip.js +47 -21
- package/modern/Zoom/Zoom.js +19 -2
- package/modern/index.js +1 -1
- package/modern/internal/SwitchBase.js +3 -2
- package/modern/useMediaQuery/useMediaQuery.js +18 -18
- package/node/Accordion/accordionClasses.js +1 -1
- package/node/Accordion/index.js +4 -4
- package/node/AccordionActions/accordionActionsClasses.js +1 -1
- package/node/AccordionActions/index.js +4 -4
- package/node/AccordionDetails/accordionDetailsClasses.js +1 -1
- package/node/AccordionDetails/index.js +4 -4
- package/node/AccordionSummary/accordionSummaryClasses.js +1 -1
- package/node/AccordionSummary/index.js +4 -4
- package/node/Alert/Alert.js +1 -0
- package/node/Alert/alertClasses.js +1 -1
- package/node/Alert/index.js +4 -4
- package/node/AlertTitle/alertTitleClasses.js +1 -1
- package/node/AlertTitle/index.js +4 -4
- package/node/AppBar/appBarClasses.js +1 -1
- package/node/AppBar/index.js +4 -4
- package/node/Autocomplete/Autocomplete.js +1 -1
- package/node/Autocomplete/autocompleteClasses.js +1 -1
- package/node/Autocomplete/index.js +4 -4
- package/node/Avatar/Avatar.js +1 -1
- package/node/Avatar/avatarClasses.js +1 -1
- package/node/Avatar/index.js +4 -4
- package/node/AvatarGroup/avatarGroupClasses.js +1 -1
- package/node/AvatarGroup/index.js +4 -4
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/BottomNavigation/bottomNavigationClasses.js +1 -1
- package/node/BottomNavigation/index.js +4 -4
- package/node/BottomNavigationAction/bottomNavigationActionClasses.js +1 -1
- package/node/BottomNavigationAction/index.js +4 -4
- package/node/Breadcrumbs/breadcrumbsClasses.js +1 -1
- package/node/Breadcrumbs/index.js +4 -4
- package/node/Button/buttonClasses.js +1 -1
- package/node/Button/index.js +4 -4
- package/node/ButtonBase/TouchRipple.js +1 -1
- package/node/ButtonBase/buttonBaseClasses.js +1 -1
- package/node/ButtonBase/index.js +4 -4
- package/node/ButtonBase/touchRippleClasses.js +1 -1
- package/node/ButtonGroup/buttonGroupClasses.js +1 -1
- package/node/ButtonGroup/index.js +4 -4
- package/node/Card/cardClasses.js +1 -1
- package/node/Card/index.js +4 -4
- package/node/CardActionArea/cardActionAreaClasses.js +1 -1
- package/node/CardActionArea/index.js +4 -4
- package/node/CardActions/cardActionsClasses.js +1 -1
- package/node/CardActions/index.js +4 -4
- package/node/CardContent/cardContentClasses.js +1 -1
- package/node/CardContent/index.js +4 -4
- package/node/CardHeader/cardHeaderClasses.js +1 -1
- package/node/CardHeader/index.js +4 -4
- package/node/CardMedia/cardMediaClasses.js +1 -1
- package/node/CardMedia/index.js +4 -4
- package/node/Checkbox/checkboxClasses.js +1 -1
- package/node/Checkbox/index.js +4 -4
- package/node/Chip/Chip.js +5 -4
- package/node/Chip/chipClasses.js +1 -1
- package/node/Chip/index.js +4 -4
- package/node/CircularProgress/circularProgressClasses.js +1 -1
- package/node/CircularProgress/index.js +4 -4
- package/node/Collapse/Collapse.js +16 -3
- package/node/Collapse/collapseClasses.js +1 -1
- package/node/Collapse/index.js +4 -4
- package/node/Container/containerClasses.js +1 -1
- package/node/Container/index.js +4 -4
- package/node/CssBaseline/CssBaseline.js +1 -1
- package/node/Dialog/dialogClasses.js +1 -1
- package/node/DialogActions/dialogActionsClasses.js +1 -1
- package/node/DialogContent/dialogContentClasses.js +1 -1
- package/node/DialogContentText/dialogContentTextClasses.js +1 -1
- package/node/DialogTitle/dialogTitleClasses.js +1 -1
- package/node/Divider/dividerClasses.js +1 -1
- package/node/Drawer/Drawer.js +2 -2
- package/node/Drawer/drawerClasses.js +1 -1
- package/node/Fab/fabClasses.js +1 -1
- package/node/Fade/Fade.js +19 -2
- package/node/FilledInput/filledInputClasses.js +1 -1
- package/node/FormControl/formControlClasses.js +1 -1
- package/node/FormControl/index.js +4 -4
- package/node/FormControlLabel/formControlLabelClasses.js +1 -1
- package/node/FormGroup/formGroupClasses.js +1 -1
- package/node/FormHelperText/formHelperTextClasses.js +1 -1
- package/node/FormLabel/formLabelClasses.js +1 -1
- package/node/Grid/Grid.js +2 -2
- package/node/Grid/gridClasses.js +1 -1
- package/node/Grow/Grow.js +17 -4
- package/node/Hidden/hiddenCssClasses.js +1 -1
- package/node/Hidden/withWidth.js +1 -1
- package/node/Icon/iconClasses.js +1 -1
- package/node/IconButton/iconButtonClasses.js +1 -1
- package/node/ImageList/imageListClasses.js +1 -1
- package/node/ImageListItem/imageListItemClasses.js +1 -1
- package/node/ImageListItemBar/imageListItemBarClasses.js +1 -1
- package/node/Input/inputClasses.js +1 -1
- package/node/InputAdornment/inputAdornmentClasses.js +1 -1
- package/node/InputBase/InputBase.js +1 -1
- package/node/InputBase/inputBaseClasses.js +1 -1
- package/node/InputBase/utils.js +1 -1
- package/node/InputLabel/InputLabel.js +1 -1
- package/node/InputLabel/inputLabelClasses.js +1 -1
- package/node/LinearProgress/linearProgressClasses.js +1 -1
- package/node/Link/linkClasses.js +1 -1
- package/node/List/listClasses.js +1 -1
- package/node/ListItem/ListItem.js +1 -1
- package/node/ListItem/listItemClasses.js +1 -1
- package/node/ListItemAvatar/listItemAvatarClasses.js +1 -1
- package/node/ListItemButton/ListItemButton.js +1 -1
- package/node/ListItemButton/listItemButtonClasses.js +1 -1
- package/node/ListItemIcon/listItemIconClasses.js +1 -1
- package/node/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -1
- package/node/ListItemText/listItemTextClasses.js +1 -1
- package/node/ListSubheader/listSubheaderClasses.js +1 -1
- package/node/Menu/menuClasses.js +1 -1
- package/node/MenuItem/MenuItem.js +1 -1
- package/node/MenuItem/menuItemClasses.js +1 -1
- package/node/MobileStepper/mobileStepperClasses.js +1 -1
- package/node/Modal/Modal.js +1 -1
- package/node/NativeSelect/NativeSelect.js +1 -1
- package/node/NativeSelect/NativeSelectInput.js +1 -1
- package/node/NativeSelect/nativeSelectClasses.js +1 -1
- package/node/OutlinedInput/outlinedInputClasses.js +1 -1
- package/node/Pagination/paginationClasses.js +1 -1
- package/node/PaginationItem/PaginationItem.js +3 -4
- package/node/PaginationItem/paginationItemClasses.js +1 -1
- package/node/Paper/paperClasses.js +1 -1
- package/node/Popover/Popover.js +2 -2
- package/node/Popover/popoverClasses.js +1 -1
- package/node/Radio/Radio.js +11 -1
- package/node/Radio/radioClasses.js +1 -1
- package/node/Rating/ratingClasses.js +1 -1
- package/node/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -1
- package/node/Select/SelectInput.js +2 -1
- package/node/Select/selectClasses.js +1 -1
- package/node/Skeleton/skeletonClasses.js +1 -1
- package/node/Slide/Slide.js +20 -3
- package/node/Slider/Slider.js +1 -1
- package/node/Snackbar/snackbarClasses.js +1 -1
- package/node/SnackbarContent/snackbarContentClasses.js +1 -1
- package/node/SpeedDial/speedDialClasses.js +1 -1
- package/node/SpeedDialAction/speedDialActionClasses.js +1 -1
- package/node/SpeedDialIcon/speedDialIconClasses.js +1 -1
- package/node/Stack/Stack.js +1 -1
- package/node/Step/stepClasses.js +1 -1
- package/node/StepButton/stepButtonClasses.js +1 -1
- package/node/StepConnector/stepConnectorClasses.js +1 -1
- package/node/StepContent/stepContentClasses.js +1 -1
- package/node/StepIcon/stepIconClasses.js +1 -1
- package/node/StepLabel/stepLabelClasses.js +1 -1
- package/node/Stepper/stepperClasses.js +1 -1
- package/node/SvgIcon/svgIconClasses.js +1 -1
- package/node/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/node/Switch/Switch.js +3 -1
- package/node/Switch/switchClasses.js +1 -1
- package/node/Tab/Tab.js +8 -4
- package/node/Tab/tabClasses.js +2 -2
- package/node/TabScrollButton/tabScrollButtonClasses.js +1 -1
- package/node/Table/tableClasses.js +1 -1
- package/node/TableBody/tableBodyClasses.js +1 -1
- package/node/TableCell/tableCellClasses.js +1 -1
- package/node/TableContainer/tableContainerClasses.js +1 -1
- package/node/TableFooter/tableFooterClasses.js +1 -1
- package/node/TableHead/tableHeadClasses.js +1 -1
- package/node/TablePagination/tablePaginationClasses.js +1 -1
- package/node/TableRow/tableRowClasses.js +1 -1
- package/node/TableSortLabel/tableSortLabelClasses.js +1 -1
- package/node/Tabs/tabsClasses.js +1 -1
- package/node/TextField/textFieldClasses.js +1 -1
- package/node/ToggleButton/toggleButtonClasses.js +1 -1
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/node/Toolbar/toolbarClasses.js +1 -1
- package/node/Tooltip/Tooltip.js +56 -24
- package/node/Tooltip/tooltipClasses.js +1 -1
- package/node/Typography/typographyClasses.js +1 -1
- package/node/Zoom/Zoom.js +19 -2
- package/node/colors/index.js +40 -40
- package/node/index.js +32 -32
- package/node/internal/SwitchBase.js +3 -2
- package/node/internal/switchBaseClasses.js +1 -1
- package/node/locale/index.js +1 -1
- package/node/styles/createPalette.js +2 -1
- package/node/styles/createTransitions.js +1 -1
- package/node/styles/cssUtils.js +4 -4
- package/node/styles/index.js +56 -56
- package/node/styles/styled.js +1 -1
- package/node/useAutocomplete/index.js +4 -4
- package/node/useMediaQuery/useMediaQuery.js +14 -17
- package/package.json +7 -7
- package/styles/components.d.ts +4 -0
- package/styles/props.d.ts +2 -0
- package/styles/styled.d.ts +4 -0
- 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 +848 -595
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.d.ts +21 -16
- package/useMediaQuery/useMediaQuery.js +18 -18
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export interface ContainerClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `disableGutters={true}`. */
|
|
5
|
-
disableGutters: string;
|
|
6
|
-
/** Styles applied to the root element if `fixed={true}`. */
|
|
7
|
-
fixed: string;
|
|
8
|
-
/** Styles applied to the root element if `maxWidth="xs"`. */
|
|
9
|
-
maxWidthXs: string;
|
|
10
|
-
/** Styles applied to the root element if `maxWidth="sm"`. */
|
|
11
|
-
maxWidthSm: string;
|
|
12
|
-
/** Styles applied to the root element if `maxWidth="md"`. */
|
|
13
|
-
maxWidthMd: string;
|
|
14
|
-
/** Styles applied to the root element if `maxWidth="lg"`. */
|
|
15
|
-
maxWidthLg: string;
|
|
16
|
-
/** Styles applied to the root element if `maxWidth="xl"`. */
|
|
17
|
-
maxWidthXl: string;
|
|
18
|
-
}
|
|
19
|
-
export declare type ContainerClassKey = keyof ContainerClasses;
|
|
20
|
-
export declare function getContainerUtilityClass(slot: string): string;
|
|
21
|
-
declare const containerClasses: ContainerClasses;
|
|
22
|
-
export default containerClasses;
|
|
1
|
+
export interface ContainerClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `disableGutters={true}`. */
|
|
5
|
+
disableGutters: string;
|
|
6
|
+
/** Styles applied to the root element if `fixed={true}`. */
|
|
7
|
+
fixed: string;
|
|
8
|
+
/** Styles applied to the root element if `maxWidth="xs"`. */
|
|
9
|
+
maxWidthXs: string;
|
|
10
|
+
/** Styles applied to the root element if `maxWidth="sm"`. */
|
|
11
|
+
maxWidthSm: string;
|
|
12
|
+
/** Styles applied to the root element if `maxWidth="md"`. */
|
|
13
|
+
maxWidthMd: string;
|
|
14
|
+
/** Styles applied to the root element if `maxWidth="lg"`. */
|
|
15
|
+
maxWidthLg: string;
|
|
16
|
+
/** Styles applied to the root element if `maxWidth="xl"`. */
|
|
17
|
+
maxWidthXl: string;
|
|
18
|
+
}
|
|
19
|
+
export declare type ContainerClassKey = keyof ContainerClasses;
|
|
20
|
+
export declare function getContainerUtilityClass(slot: string): string;
|
|
21
|
+
declare const containerClasses: ContainerClasses;
|
|
22
|
+
export default containerClasses;
|
package/Dialog/Dialog.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export interface DialogProps extends StandardProps<ModalProps, 'children'> {
|
|
|
87
87
|
* @default Fade
|
|
88
88
|
*/
|
|
89
89
|
TransitionComponent?: React.JSXElementConstructor<
|
|
90
|
-
TransitionProps & { children
|
|
90
|
+
TransitionProps & { children: React.ReactElement<any, any> }
|
|
91
91
|
>;
|
|
92
92
|
/**
|
|
93
93
|
* The duration for the transition, in milliseconds.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
interface DialogContextValue {
|
|
3
|
-
titleId?: string;
|
|
4
|
-
}
|
|
5
|
-
declare const DialogContext: import("react").Context<DialogContextValue>;
|
|
6
|
-
export default DialogContext;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface DialogContextValue {
|
|
3
|
+
titleId?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const DialogContext: import("react").Context<DialogContextValue>;
|
|
6
|
+
export default DialogContext;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export interface DialogClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the container element if `scroll="paper"`. */
|
|
5
|
-
scrollPaper: string;
|
|
6
|
-
/** Styles applied to the container element if `scroll="body"`. */
|
|
7
|
-
scrollBody: string;
|
|
8
|
-
/** Styles applied to the container element. */
|
|
9
|
-
container: string;
|
|
10
|
-
/** Styles applied to the Paper component. */
|
|
11
|
-
paper: string;
|
|
12
|
-
/** Styles applied to the Paper component if `scroll="paper"`. */
|
|
13
|
-
paperScrollPaper: string;
|
|
14
|
-
/** Styles applied to the Paper component if `scroll="body"`. */
|
|
15
|
-
paperScrollBody: string;
|
|
16
|
-
/** Styles applied to the Paper component if `maxWidth=false`. */
|
|
17
|
-
paperWidthFalse: string;
|
|
18
|
-
/** Styles applied to the Paper component if `maxWidth="xs"`. */
|
|
19
|
-
paperWidthXs: string;
|
|
20
|
-
/** Styles applied to the Paper component if `maxWidth="sm"`. */
|
|
21
|
-
paperWidthSm: string;
|
|
22
|
-
/** Styles applied to the Paper component if `maxWidth="md"`. */
|
|
23
|
-
paperWidthMd: string;
|
|
24
|
-
/** Styles applied to the Paper component if `maxWidth="lg"`. */
|
|
25
|
-
paperWidthLg: string;
|
|
26
|
-
/** Styles applied to the Paper component if `maxWidth="xl"`. */
|
|
27
|
-
paperWidthXl: string;
|
|
28
|
-
/** Styles applied to the Paper component if `fullWidth={true}`. */
|
|
29
|
-
paperFullWidth: string;
|
|
30
|
-
/** Styles applied to the Paper component if `fullScreen={true}`. */
|
|
31
|
-
paperFullScreen: string;
|
|
32
|
-
}
|
|
33
|
-
export declare type DialogClassKey = keyof DialogClasses;
|
|
34
|
-
export declare function getDialogUtilityClass(slot: string): string;
|
|
35
|
-
declare const dialogClasses: DialogClasses;
|
|
36
|
-
export default dialogClasses;
|
|
1
|
+
export interface DialogClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the container element if `scroll="paper"`. */
|
|
5
|
+
scrollPaper: string;
|
|
6
|
+
/** Styles applied to the container element if `scroll="body"`. */
|
|
7
|
+
scrollBody: string;
|
|
8
|
+
/** Styles applied to the container element. */
|
|
9
|
+
container: string;
|
|
10
|
+
/** Styles applied to the Paper component. */
|
|
11
|
+
paper: string;
|
|
12
|
+
/** Styles applied to the Paper component if `scroll="paper"`. */
|
|
13
|
+
paperScrollPaper: string;
|
|
14
|
+
/** Styles applied to the Paper component if `scroll="body"`. */
|
|
15
|
+
paperScrollBody: string;
|
|
16
|
+
/** Styles applied to the Paper component if `maxWidth=false`. */
|
|
17
|
+
paperWidthFalse: string;
|
|
18
|
+
/** Styles applied to the Paper component if `maxWidth="xs"`. */
|
|
19
|
+
paperWidthXs: string;
|
|
20
|
+
/** Styles applied to the Paper component if `maxWidth="sm"`. */
|
|
21
|
+
paperWidthSm: string;
|
|
22
|
+
/** Styles applied to the Paper component if `maxWidth="md"`. */
|
|
23
|
+
paperWidthMd: string;
|
|
24
|
+
/** Styles applied to the Paper component if `maxWidth="lg"`. */
|
|
25
|
+
paperWidthLg: string;
|
|
26
|
+
/** Styles applied to the Paper component if `maxWidth="xl"`. */
|
|
27
|
+
paperWidthXl: string;
|
|
28
|
+
/** Styles applied to the Paper component if `fullWidth={true}`. */
|
|
29
|
+
paperFullWidth: string;
|
|
30
|
+
/** Styles applied to the Paper component if `fullScreen={true}`. */
|
|
31
|
+
paperFullScreen: string;
|
|
32
|
+
}
|
|
33
|
+
export declare type DialogClassKey = keyof DialogClasses;
|
|
34
|
+
export declare function getDialogUtilityClass(slot: string): string;
|
|
35
|
+
declare const dialogClasses: DialogClasses;
|
|
36
|
+
export default dialogClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface DialogActionsClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element unless `disableSpacing={true}`. */
|
|
5
|
-
spacing: string;
|
|
6
|
-
}
|
|
7
|
-
export declare type DialogActionsClassKey = keyof DialogActionsClasses;
|
|
8
|
-
export declare function getDialogActionsUtilityClass(slot: string): string;
|
|
9
|
-
declare const dialogActionsClasses: DialogActionsClasses;
|
|
10
|
-
export default dialogActionsClasses;
|
|
1
|
+
export interface DialogActionsClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element unless `disableSpacing={true}`. */
|
|
5
|
+
spacing: string;
|
|
6
|
+
}
|
|
7
|
+
export declare type DialogActionsClassKey = keyof DialogActionsClasses;
|
|
8
|
+
export declare function getDialogActionsUtilityClass(slot: string): string;
|
|
9
|
+
declare const dialogActionsClasses: DialogActionsClasses;
|
|
10
|
+
export default dialogActionsClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface DialogContentClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `dividers={true}`. */
|
|
5
|
-
dividers: string;
|
|
6
|
-
}
|
|
7
|
-
export declare type DialogContentClassKey = keyof DialogContentClasses;
|
|
8
|
-
export declare function getDialogContentUtilityClass(slot: string): string;
|
|
9
|
-
declare const dialogContentClasses: DialogContentClasses;
|
|
10
|
-
export default dialogContentClasses;
|
|
1
|
+
export interface DialogContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `dividers={true}`. */
|
|
5
|
+
dividers: string;
|
|
6
|
+
}
|
|
7
|
+
export declare type DialogContentClassKey = keyof DialogContentClasses;
|
|
8
|
+
export declare function getDialogContentUtilityClass(slot: string): string;
|
|
9
|
+
declare const dialogContentClasses: DialogContentClasses;
|
|
10
|
+
export default dialogContentClasses;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface DialogContentTextClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type DialogContentTextClassKey = keyof DialogContentTextClasses;
|
|
6
|
-
export declare function getDialogContentTextUtilityClass(slot: string): string;
|
|
7
|
-
declare const dialogContentTextClasses: DialogContentTextClasses;
|
|
8
|
-
export default dialogContentTextClasses;
|
|
1
|
+
export interface DialogContentTextClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type DialogContentTextClassKey = keyof DialogContentTextClasses;
|
|
6
|
+
export declare function getDialogContentTextUtilityClass(slot: string): string;
|
|
7
|
+
declare const dialogContentTextClasses: DialogContentTextClasses;
|
|
8
|
+
export default dialogContentTextClasses;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface DialogTitleClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type DialogTitleClassKey = keyof DialogTitleClasses;
|
|
6
|
-
export declare function getDialogTitleUtilityClass(slot: string): string;
|
|
7
|
-
declare const dialogTitleClasses: DialogTitleClasses;
|
|
8
|
-
export default dialogTitleClasses;
|
|
1
|
+
export interface DialogTitleClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type DialogTitleClassKey = keyof DialogTitleClasses;
|
|
6
|
+
export declare function getDialogTitleUtilityClass(slot: string): string;
|
|
7
|
+
declare const dialogTitleClasses: DialogTitleClasses;
|
|
8
|
+
export default dialogTitleClasses;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export interface DividerClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `absolute={true}`. */
|
|
5
|
-
absolute: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="inset"`. */
|
|
7
|
-
inset: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="fullWidth"`. */
|
|
9
|
-
fullWidth: string;
|
|
10
|
-
/** Styles applied to the root element if `light={true}`. */
|
|
11
|
-
light: string;
|
|
12
|
-
/** Styles applied to the root element if `variant="middle"`. */
|
|
13
|
-
middle: string;
|
|
14
|
-
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
15
|
-
vertical: string;
|
|
16
|
-
/** Styles applied to the root element if `flexItem={true}`. */
|
|
17
|
-
flexItem: string;
|
|
18
|
-
/** Styles applied to the root element if divider have text. */
|
|
19
|
-
withChildren: string;
|
|
20
|
-
/** Styles applied to the root element if divider have text and `orientation="vertical"`. */
|
|
21
|
-
withChildrenVertical: string;
|
|
22
|
-
/** Styles applied to the root element if `textAlign="right" orientation="horizontal"`. */
|
|
23
|
-
textAlignRight: string;
|
|
24
|
-
/** Styles applied to the root element if `textAlign="left" orientation="horizontal"`. */
|
|
25
|
-
textAlignLeft: string;
|
|
26
|
-
/** Styles applied to the span children element if `orientation="horizontal"`. */
|
|
27
|
-
wrapper: string;
|
|
28
|
-
/** Styles applied to the span children element if `orientation="vertical"`. */
|
|
29
|
-
wrapperVertical: string;
|
|
30
|
-
}
|
|
31
|
-
export declare type DividerClassKey = keyof DividerClasses;
|
|
32
|
-
export declare function getDividerUtilityClass(slot: string): string;
|
|
33
|
-
declare const dividerClasses: DividerClasses;
|
|
34
|
-
export default dividerClasses;
|
|
1
|
+
export interface DividerClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `absolute={true}`. */
|
|
5
|
+
absolute: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="inset"`. */
|
|
7
|
+
inset: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="fullWidth"`. */
|
|
9
|
+
fullWidth: string;
|
|
10
|
+
/** Styles applied to the root element if `light={true}`. */
|
|
11
|
+
light: string;
|
|
12
|
+
/** Styles applied to the root element if `variant="middle"`. */
|
|
13
|
+
middle: string;
|
|
14
|
+
/** Styles applied to the root element if `orientation="vertical"`. */
|
|
15
|
+
vertical: string;
|
|
16
|
+
/** Styles applied to the root element if `flexItem={true}`. */
|
|
17
|
+
flexItem: string;
|
|
18
|
+
/** Styles applied to the root element if divider have text. */
|
|
19
|
+
withChildren: string;
|
|
20
|
+
/** Styles applied to the root element if divider have text and `orientation="vertical"`. */
|
|
21
|
+
withChildrenVertical: string;
|
|
22
|
+
/** Styles applied to the root element if `textAlign="right" orientation="horizontal"`. */
|
|
23
|
+
textAlignRight: string;
|
|
24
|
+
/** Styles applied to the root element if `textAlign="left" orientation="horizontal"`. */
|
|
25
|
+
textAlignLeft: string;
|
|
26
|
+
/** Styles applied to the span children element if `orientation="horizontal"`. */
|
|
27
|
+
wrapper: string;
|
|
28
|
+
/** Styles applied to the span children element if `orientation="vertical"`. */
|
|
29
|
+
wrapperVertical: string;
|
|
30
|
+
}
|
|
31
|
+
export declare type DividerClassKey = keyof DividerClasses;
|
|
32
|
+
export declare function getDividerUtilityClass(slot: string): string;
|
|
33
|
+
declare const dividerClasses: DividerClasses;
|
|
34
|
+
export default dividerClasses;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
export interface DrawerClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="permanent or persistent"`. */
|
|
5
|
-
docked: string;
|
|
6
|
-
/** Styles applied to the Paper component. */
|
|
7
|
-
paper: string;
|
|
8
|
-
/** Styles applied to the Paper component if `anchor="left"`. */
|
|
9
|
-
paperAnchorLeft: string;
|
|
10
|
-
/** Styles applied to the Paper component if `anchor="right"`. */
|
|
11
|
-
paperAnchorRight: string;
|
|
12
|
-
/** Styles applied to the Paper component if `anchor="top"`. */
|
|
13
|
-
paperAnchorTop: string;
|
|
14
|
-
/** Styles applied to the Paper component if `anchor="bottom"`. */
|
|
15
|
-
paperAnchorBottom: string;
|
|
16
|
-
/** Styles applied to the Paper component if `anchor="left"` and `variant` is not "temporary". */
|
|
17
|
-
paperAnchorDockedLeft: string;
|
|
18
|
-
/** Styles applied to the Paper component if `anchor="top"` and `variant` is not "temporary". */
|
|
19
|
-
paperAnchorDockedTop: string;
|
|
20
|
-
/** Styles applied to the Paper component if `anchor="right"` and `variant` is not "temporary". */
|
|
21
|
-
paperAnchorDockedRight: string;
|
|
22
|
-
/** Styles applied to the Paper component if `anchor="bottom"` and `variant` is not "temporary". */
|
|
23
|
-
paperAnchorDockedBottom: string;
|
|
24
|
-
/** Styles applied to the Modal component. */
|
|
25
|
-
modal: string;
|
|
26
|
-
}
|
|
27
|
-
export declare type DrawerClassKey = keyof DrawerClasses;
|
|
28
|
-
export declare function getDrawerUtilityClass(slot: string): string;
|
|
29
|
-
declare const drawerClasses: DrawerClasses;
|
|
30
|
-
export default drawerClasses;
|
|
1
|
+
export interface DrawerClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="permanent or persistent"`. */
|
|
5
|
+
docked: string;
|
|
6
|
+
/** Styles applied to the Paper component. */
|
|
7
|
+
paper: string;
|
|
8
|
+
/** Styles applied to the Paper component if `anchor="left"`. */
|
|
9
|
+
paperAnchorLeft: string;
|
|
10
|
+
/** Styles applied to the Paper component if `anchor="right"`. */
|
|
11
|
+
paperAnchorRight: string;
|
|
12
|
+
/** Styles applied to the Paper component if `anchor="top"`. */
|
|
13
|
+
paperAnchorTop: string;
|
|
14
|
+
/** Styles applied to the Paper component if `anchor="bottom"`. */
|
|
15
|
+
paperAnchorBottom: string;
|
|
16
|
+
/** Styles applied to the Paper component if `anchor="left"` and `variant` is not "temporary". */
|
|
17
|
+
paperAnchorDockedLeft: string;
|
|
18
|
+
/** Styles applied to the Paper component if `anchor="top"` and `variant` is not "temporary". */
|
|
19
|
+
paperAnchorDockedTop: string;
|
|
20
|
+
/** Styles applied to the Paper component if `anchor="right"` and `variant` is not "temporary". */
|
|
21
|
+
paperAnchorDockedRight: string;
|
|
22
|
+
/** Styles applied to the Paper component if `anchor="bottom"` and `variant` is not "temporary". */
|
|
23
|
+
paperAnchorDockedBottom: string;
|
|
24
|
+
/** Styles applied to the Modal component. */
|
|
25
|
+
modal: string;
|
|
26
|
+
}
|
|
27
|
+
export declare type DrawerClassKey = keyof DrawerClasses;
|
|
28
|
+
export declare function getDrawerUtilityClass(slot: string): string;
|
|
29
|
+
declare const drawerClasses: DrawerClasses;
|
|
30
|
+
export default drawerClasses;
|
package/Fab/fabClasses.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export interface FabClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
5
|
-
primary: string;
|
|
6
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
7
|
-
secondary: string;
|
|
8
|
-
/** Styles applied to the root element if `variant="extended"`. */
|
|
9
|
-
extended: string;
|
|
10
|
-
/** Styles applied to the root element if `variant="circular"`. */
|
|
11
|
-
circular: string;
|
|
12
|
-
/** State class applied to the ButtonBase root element if the button is keyboard focused. */
|
|
13
|
-
focusVisible: string;
|
|
14
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
15
|
-
disabled: string;
|
|
16
|
-
/** Styles applied to the root element if `color="inherit"`. */
|
|
17
|
-
colorInherit: string;
|
|
18
|
-
/** Styles applied to the root element if `size="small"``. */
|
|
19
|
-
sizeSmall: string;
|
|
20
|
-
/** Styles applied to the root element if `size="medium"``. */
|
|
21
|
-
sizeMedium: string;
|
|
22
|
-
}
|
|
23
|
-
export declare type FabClassKey = keyof FabClasses;
|
|
24
|
-
export declare function getFabUtilityClass(slot: string): string;
|
|
25
|
-
declare const fabClasses: FabClasses;
|
|
26
|
-
export default fabClasses;
|
|
1
|
+
export interface FabClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `color="primary"`. */
|
|
5
|
+
primary: string;
|
|
6
|
+
/** Styles applied to the root element if `color="secondary"`. */
|
|
7
|
+
secondary: string;
|
|
8
|
+
/** Styles applied to the root element if `variant="extended"`. */
|
|
9
|
+
extended: string;
|
|
10
|
+
/** Styles applied to the root element if `variant="circular"`. */
|
|
11
|
+
circular: string;
|
|
12
|
+
/** State class applied to the ButtonBase root element if the button is keyboard focused. */
|
|
13
|
+
focusVisible: string;
|
|
14
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
15
|
+
disabled: string;
|
|
16
|
+
/** Styles applied to the root element if `color="inherit"`. */
|
|
17
|
+
colorInherit: string;
|
|
18
|
+
/** Styles applied to the root element if `size="small"``. */
|
|
19
|
+
sizeSmall: string;
|
|
20
|
+
/** Styles applied to the root element if `size="medium"``. */
|
|
21
|
+
sizeMedium: string;
|
|
22
|
+
}
|
|
23
|
+
export declare type FabClassKey = keyof FabClasses;
|
|
24
|
+
export declare function getFabUtilityClass(slot: string): string;
|
|
25
|
+
declare const fabClasses: FabClasses;
|
|
26
|
+
export default fabClasses;
|
package/Fade/Fade.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface FadeProps extends Omit<TransitionProps, 'children'> {
|
|
|
11
11
|
/**
|
|
12
12
|
* A single child content element.
|
|
13
13
|
*/
|
|
14
|
-
children
|
|
14
|
+
children: React.ReactElement<any, any>;
|
|
15
15
|
/**
|
|
16
16
|
* The transition timing function.
|
|
17
17
|
* You may specify a single easing or a object containing enter and exit values.
|
package/Fade/Fade.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
3
|
-
const _excluded = ["appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
3
|
+
const _excluded = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { Transition } from 'react-transition-group';
|
|
@@ -29,6 +29,7 @@ const defaultTimeout = {
|
|
|
29
29
|
|
|
30
30
|
const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
31
31
|
const {
|
|
32
|
+
addEndListener,
|
|
32
33
|
appear = true,
|
|
33
34
|
children,
|
|
34
35
|
easing,
|
|
@@ -100,6 +101,14 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
|
100
101
|
}
|
|
101
102
|
});
|
|
102
103
|
const handleExited = normalizedTransitionCallback(onExited);
|
|
104
|
+
|
|
105
|
+
const handleAddEndListener = next => {
|
|
106
|
+
if (addEndListener) {
|
|
107
|
+
// Old call signature before `react-transition-group` implemented `nodeRef`
|
|
108
|
+
addEndListener(nodeRef.current, next);
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
|
|
103
112
|
return /*#__PURE__*/_jsx(TransitionComponent, _extends({
|
|
104
113
|
appear: appear,
|
|
105
114
|
in: inProp,
|
|
@@ -110,6 +119,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
|
110
119
|
onExit: handleExit,
|
|
111
120
|
onExited: handleExited,
|
|
112
121
|
onExiting: handleExiting,
|
|
122
|
+
addEndListener: handleAddEndListener,
|
|
113
123
|
timeout: timeout
|
|
114
124
|
}, other, {
|
|
115
125
|
children: (state, childProps) => {
|
|
@@ -131,6 +141,13 @@ process.env.NODE_ENV !== "production" ? Fade.propTypes
|
|
|
131
141
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
132
142
|
// ----------------------------------------------------------------------
|
|
133
143
|
|
|
144
|
+
/**
|
|
145
|
+
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
146
|
+
* node and a done callback. Allows for more fine grained transition end
|
|
147
|
+
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
148
|
+
*/
|
|
149
|
+
addEndListener: PropTypes.func,
|
|
150
|
+
|
|
134
151
|
/**
|
|
135
152
|
* Perform the enter transition when it first mounts if `in` is also `true`.
|
|
136
153
|
* Set this to `false` to disable this behavior.
|
|
@@ -141,7 +158,7 @@ process.env.NODE_ENV !== "production" ? Fade.propTypes
|
|
|
141
158
|
/**
|
|
142
159
|
* A single child content element.
|
|
143
160
|
*/
|
|
144
|
-
children: elementAcceptingRef,
|
|
161
|
+
children: elementAcceptingRef.isRequired,
|
|
145
162
|
|
|
146
163
|
/**
|
|
147
164
|
* The transition timing function.
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
export interface FilledInputClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if color secondary. */
|
|
5
|
-
colorSecondary: string;
|
|
6
|
-
/** Styles applied to the root element unless `disableUnderline={true}`. */
|
|
7
|
-
underline: string;
|
|
8
|
-
/** State class applied to the root element if the component is focused. */
|
|
9
|
-
focused: string;
|
|
10
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
11
|
-
disabled: string;
|
|
12
|
-
/** Styles applied to the root element if `startAdornment` is provided. */
|
|
13
|
-
adornedStart: string;
|
|
14
|
-
/** Styles applied to the root element if `endAdornment` is provided. */
|
|
15
|
-
adornedEnd: string;
|
|
16
|
-
/** State class applied to the root element if `error={true}`. */
|
|
17
|
-
error: string;
|
|
18
|
-
/** Styles applied to the input element if `size="small"`. */
|
|
19
|
-
sizeSmall: string;
|
|
20
|
-
/** Styles applied to the root element if `multiline={true}`. */
|
|
21
|
-
multiline: string;
|
|
22
|
-
/** Styles applied to the root element if `hiddenLabel={true}`. */
|
|
23
|
-
hiddenLabel: string;
|
|
24
|
-
/** Styles applied to the input element. */
|
|
25
|
-
input: string;
|
|
26
|
-
/** Styles applied to the input element if `size="small"`. */
|
|
27
|
-
inputSizeSmall: string;
|
|
28
|
-
/** Styles applied to the `input` if in `<FormControl hiddenLabel />`. */
|
|
29
|
-
inputHiddenLabel: string;
|
|
30
|
-
/** Styles applied to the input element if `multiline={true}`. */
|
|
31
|
-
inputMultiline: string;
|
|
32
|
-
/** Styles applied to the input element if `startAdornment` is provided. */
|
|
33
|
-
inputAdornedStart: string;
|
|
34
|
-
/** Styles applied to the input element if `endAdornment` is provided. */
|
|
35
|
-
inputAdornedEnd: string;
|
|
36
|
-
}
|
|
37
|
-
export declare type FilledInputClassKey = keyof FilledInputClasses;
|
|
38
|
-
export declare function getFilledInputUtilityClass(slot: string): string;
|
|
39
|
-
declare const filledInputClasses: FilledInputClasses;
|
|
40
|
-
export default filledInputClasses;
|
|
1
|
+
export interface FilledInputClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if color secondary. */
|
|
5
|
+
colorSecondary: string;
|
|
6
|
+
/** Styles applied to the root element unless `disableUnderline={true}`. */
|
|
7
|
+
underline: string;
|
|
8
|
+
/** State class applied to the root element if the component is focused. */
|
|
9
|
+
focused: string;
|
|
10
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
11
|
+
disabled: string;
|
|
12
|
+
/** Styles applied to the root element if `startAdornment` is provided. */
|
|
13
|
+
adornedStart: string;
|
|
14
|
+
/** Styles applied to the root element if `endAdornment` is provided. */
|
|
15
|
+
adornedEnd: string;
|
|
16
|
+
/** State class applied to the root element if `error={true}`. */
|
|
17
|
+
error: string;
|
|
18
|
+
/** Styles applied to the input element if `size="small"`. */
|
|
19
|
+
sizeSmall: string;
|
|
20
|
+
/** Styles applied to the root element if `multiline={true}`. */
|
|
21
|
+
multiline: string;
|
|
22
|
+
/** Styles applied to the root element if `hiddenLabel={true}`. */
|
|
23
|
+
hiddenLabel: string;
|
|
24
|
+
/** Styles applied to the input element. */
|
|
25
|
+
input: string;
|
|
26
|
+
/** Styles applied to the input element if `size="small"`. */
|
|
27
|
+
inputSizeSmall: string;
|
|
28
|
+
/** Styles applied to the `input` if in `<FormControl hiddenLabel />`. */
|
|
29
|
+
inputHiddenLabel: string;
|
|
30
|
+
/** Styles applied to the input element if `multiline={true}`. */
|
|
31
|
+
inputMultiline: string;
|
|
32
|
+
/** Styles applied to the input element if `startAdornment` is provided. */
|
|
33
|
+
inputAdornedStart: string;
|
|
34
|
+
/** Styles applied to the input element if `endAdornment` is provided. */
|
|
35
|
+
inputAdornedEnd: string;
|
|
36
|
+
}
|
|
37
|
+
export declare type FilledInputClassKey = keyof FilledInputClasses;
|
|
38
|
+
export declare function getFilledInputUtilityClass(slot: string): string;
|
|
39
|
+
declare const filledInputClasses: FilledInputClasses;
|
|
40
|
+
export default filledInputClasses;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface FormControlClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `margin="normal"`. */
|
|
5
|
-
marginNormal: string;
|
|
6
|
-
/** Styles applied to the root element if `margin="dense"`. */
|
|
7
|
-
marginDense: string;
|
|
8
|
-
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
9
|
-
fullWidth: string;
|
|
10
|
-
}
|
|
11
|
-
export declare type FormControlClassKey = keyof FormControlClasses;
|
|
12
|
-
export declare function getFormControlUtilityClasses(slot: string): string;
|
|
13
|
-
declare const formControlClasses: FormControlClasses;
|
|
14
|
-
export default formControlClasses;
|
|
1
|
+
export interface FormControlClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `margin="normal"`. */
|
|
5
|
+
marginNormal: string;
|
|
6
|
+
/** Styles applied to the root element if `margin="dense"`. */
|
|
7
|
+
marginDense: string;
|
|
8
|
+
/** Styles applied to the root element if `fullWidth={true}`. */
|
|
9
|
+
fullWidth: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type FormControlClassKey = keyof FormControlClasses;
|
|
12
|
+
export declare function getFormControlUtilityClasses(slot: string): string;
|
|
13
|
+
declare const formControlClasses: FormControlClasses;
|
|
14
|
+
export default formControlClasses;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface FormControlLabelClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `labelPlacement="start"`. */
|
|
5
|
-
labelPlacementStart: string;
|
|
6
|
-
/** Styles applied to the root element if `labelPlacement="top"`. */
|
|
7
|
-
labelPlacementTop: string;
|
|
8
|
-
/** Styles applied to the root element if `labelPlacement="bottom"`. */
|
|
9
|
-
labelPlacementBottom: string;
|
|
10
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
11
|
-
disabled: string;
|
|
12
|
-
/** Styles applied to the label's Typography component. */
|
|
13
|
-
label: string;
|
|
14
|
-
}
|
|
15
|
-
export declare type FormControlLabelClassKey = keyof FormControlLabelClasses;
|
|
16
|
-
export declare function getFormControlLabelUtilityClasses(slot: string): string;
|
|
17
|
-
declare const formControlLabelClasses: FormControlLabelClasses;
|
|
18
|
-
export default formControlLabelClasses;
|
|
1
|
+
export interface FormControlLabelClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `labelPlacement="start"`. */
|
|
5
|
+
labelPlacementStart: string;
|
|
6
|
+
/** Styles applied to the root element if `labelPlacement="top"`. */
|
|
7
|
+
labelPlacementTop: string;
|
|
8
|
+
/** Styles applied to the root element if `labelPlacement="bottom"`. */
|
|
9
|
+
labelPlacementBottom: string;
|
|
10
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
11
|
+
disabled: string;
|
|
12
|
+
/** Styles applied to the label's Typography component. */
|
|
13
|
+
label: string;
|
|
14
|
+
}
|
|
15
|
+
export declare type FormControlLabelClassKey = keyof FormControlLabelClasses;
|
|
16
|
+
export declare function getFormControlLabelUtilityClasses(slot: string): string;
|
|
17
|
+
declare const formControlLabelClasses: FormControlLabelClasses;
|
|
18
|
+
export default formControlLabelClasses;
|