@mui/material 5.11.14 → 5.11.16
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/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.js +12 -1
- package/Autocomplete/autocompleteClasses.d.ts +56 -56
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/badgeClasses.d.ts +56 -56
- 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 +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +118 -4
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/CardActionArea.js +2 -0
- 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 +2 -3
- package/Chip/chipClasses.d.ts +96 -96
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- 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/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +34 -34
- 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 +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- 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/NativeSelectInput.d.ts +1 -0
- package/NativeSelect/NativeSelectInput.js +12 -5
- package/NativeSelect/nativeSelectClasses.d.ts +34 -32
- package/NativeSelect/nativeSelectClasses.js +1 -1
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +55 -55
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/Select.js +14 -9
- package/Select/SelectInput.d.ts +1 -0
- package/Select/SelectInput.js +14 -4
- package/Select/selectClasses.d.ts +32 -30
- package/Select/selectClasses.js +1 -1
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/Slider.js +6 -6
- package/Slider/SliderValueLabel.d.ts +15 -15
- package/Slider/SliderValueLabel.types.d.ts +24 -24
- package/Slider/sliderClasses.d.ts +58 -58
- 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/Stack/Stack.d.ts +10 -0
- package/Stack/Stack.js +11 -1
- package/Stack/stackClasses.d.ts +6 -6
- package/Step/StepContext.d.ts +20 -20
- 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/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- 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/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2.js +1 -0
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Autocomplete/Autocomplete.js +11 -3
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/CardActionArea/CardActionArea.js +2 -0
- package/legacy/Chip/Chip.js +2 -3
- package/legacy/NativeSelect/NativeSelectInput.js +12 -5
- package/legacy/NativeSelect/nativeSelectClasses.js +1 -1
- package/legacy/Select/Select.js +14 -9
- package/legacy/Select/SelectInput.js +14 -5
- package/legacy/Select/selectClasses.js +1 -1
- package/legacy/Slider/Slider.js +6 -6
- package/legacy/Stack/Stack.js +11 -1
- package/legacy/Unstable_Grid2/Grid2.js +1 -0
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +76 -76
- package/modern/Autocomplete/Autocomplete.js +12 -1
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/CardActionArea/CardActionArea.js +2 -0
- package/modern/Chip/Chip.js +2 -3
- package/modern/NativeSelect/NativeSelectInput.js +12 -5
- package/modern/NativeSelect/nativeSelectClasses.js +1 -1
- package/modern/Select/Select.js +14 -9
- package/modern/Select/SelectInput.js +14 -4
- package/modern/Select/selectClasses.js +1 -1
- package/modern/Slider/Slider.js +6 -6
- package/modern/Stack/Stack.js +11 -1
- package/modern/Unstable_Grid2/Grid2.js +1 -0
- package/modern/index.js +1 -1
- package/node/Autocomplete/Autocomplete.js +12 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/CardActionArea/CardActionArea.js +2 -0
- package/node/Chip/Chip.js +2 -3
- package/node/NativeSelect/NativeSelectInput.js +12 -5
- package/node/NativeSelect/nativeSelectClasses.js +1 -1
- package/node/Select/Select.js +14 -9
- package/node/Select/SelectInput.js +14 -4
- package/node/Select/selectClasses.js +1 -1
- package/node/Slider/Slider.js +6 -6
- package/node/Stack/Stack.js +11 -1
- package/node/Unstable_Grid2/Grid2.js +1 -0
- package/node/index.js +1 -1
- package/package.json +5 -5
- package/styles/CssVarsProvider.d.ts +15 -15
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/shouldSkipGeneratingVar.d.ts +1 -1
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/types/OverridableComponentAugmentation.d.ts +31 -31
- package/umd/material-ui.development.js +142 -102
- package/umd/material-ui.production.min.js +20 -20
- package/useMediaQuery/useMediaQuery.d.ts +46 -46
- 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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,119 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.11.16
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.11.15..master -->
|
|
6
|
+
|
|
7
|
+
_Apr 4, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 💅 Added tabs on API pages of Base UI to switch between component and hook references (#35938) @mnajdova
|
|
12
|
+
- 🐛 bug fixes and 📚 documentation improvements.
|
|
13
|
+
|
|
14
|
+
### `@mui/material@5.11.16`
|
|
15
|
+
|
|
16
|
+
- [Autocomplete] Listen for click on the root element (#36369) @sai6855
|
|
17
|
+
- [Autocomplete] Fix navigation issue on mouse hover (#35196) @sai6855
|
|
18
|
+
- [Card] Fix Card focus effect overflowing parent card (#36329) @mj12albert
|
|
19
|
+
- [Grid] Missing slot (#36765) @siriwatknp
|
|
20
|
+
- [Select] Make error part of the `ownerState` to enable overriding styles with it in theme (#36422) @gitstart
|
|
21
|
+
- [Slider] Fix ValueLabel UI issues comes when size="small" and orientation="vertical (#36738) @yushanwebdev
|
|
22
|
+
|
|
23
|
+
### `@mui/icons-material@5.11.16`
|
|
24
|
+
|
|
25
|
+
- [icons] Do not ignore popular icons (#36608) @michaldudak
|
|
26
|
+
|
|
27
|
+
### `@mui/joy@5.0.0-alpha.74`
|
|
28
|
+
|
|
29
|
+
- [Joy] Add `ModalOverflow` component (#36262) @siriwatknp
|
|
30
|
+
- [Joy] Fix `Checkbox` custom color prop type warning (#36691) @amal-qb
|
|
31
|
+
|
|
32
|
+
### Docs
|
|
33
|
+
|
|
34
|
+
- [docs][base] Add return type for `useFormControlUnstyledContext` hook (#36302) @HeVictor
|
|
35
|
+
- [docs][base] Move styles to the bottom of demos code for `FormControl` (#36579) @gitstart
|
|
36
|
+
- [docs][base] Move styles to the bottom of demos code for `Menu` (#36582) @gitstart
|
|
37
|
+
- [docs][base] Move styles code to bottom in the `Button` demos (#36590) @sai6855
|
|
38
|
+
- [docs][base] Show components & hooks API on the components page (#35938) @mnajdova
|
|
39
|
+
- [docs] Describe slotProps in MUI Base customization doc (#36206) @michaldudak
|
|
40
|
+
- [docs] Fix double API page redirection (#36743) @oliviertassinari
|
|
41
|
+
- [docs] Remove hash property and leverage pathname (#36764) @siriwatknp
|
|
42
|
+
- [docs] Introduce markdown permalink to source (#36729) @oliviertassinari
|
|
43
|
+
- [docs] Tabs API add slots section (#36769) @mnajdova
|
|
44
|
+
- [docs] Update feedbacks management on slack (#36705) @alexfauquette
|
|
45
|
+
- [docs] Fix Joy UI URL to tokens (#36742) @oliviertassinari
|
|
46
|
+
- [docs] Add toggle-button coming soon page (#36618) @siriwatknp
|
|
47
|
+
- [docs] Fix typo on the Joy UI theme builder (#36734) @danilo-leal
|
|
48
|
+
- [docs] Fix small typo (#36727) @RBerthier
|
|
49
|
+
- [docs] Fix Joy UI template broken image loading @oliviertassinari
|
|
50
|
+
- [docs] Hide the default API column if it's empty (#36715) @mnajdova
|
|
51
|
+
- [docs] Update Material UI Related Projects page (#34203) @viclafouch
|
|
52
|
+
- [docs] Revise Joy UI "Circular Progress" page (#36126) @LadyBluenotes
|
|
53
|
+
- [docs] Revise Joy UI "Radio" page (#35893) @DevinCLane
|
|
54
|
+
- [docs] Support Google Analytics 4 (#36123) @alexfauquette
|
|
55
|
+
- [docs][material] Keep consistency in description of classes (#36631) @hbjORbj
|
|
56
|
+
- [docs] Remove redundant files and fix regression (#36775) @ZeeshanTamboli
|
|
57
|
+
|
|
58
|
+
### Core
|
|
59
|
+
|
|
60
|
+
- [blog] Compress images @oliviertassinari
|
|
61
|
+
- [core] Remove unused token (#36722) @oliviertassinari
|
|
62
|
+
|
|
63
|
+
All contributors of this release in alphabetical order: @alexfauquette, @amal-qb, @danilo-leal, @DevinCLane, @gitstart, @hbjORbj, @HeVictor, @LadyBluenotes, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @RBerthier, @sai6855, @siriwatknp, @viclafouch, @yushanwebdev
|
|
64
|
+
|
|
65
|
+
## 5.11.15
|
|
66
|
+
|
|
67
|
+
<!-- generated comparing v5.11.14..master -->
|
|
68
|
+
|
|
69
|
+
_Mar 28, 2023_
|
|
70
|
+
|
|
71
|
+
A big thanks to the 10 contributors who made this release possible. We have one big highlight this week ✨:
|
|
72
|
+
|
|
73
|
+
- @siriwatknp made a [Theme Builder](https://mui.com/joy-ui/customization/theme-builder) for Joy UI 🎨 (#35741)
|
|
74
|
+
|
|
75
|
+
### `@mui/material@5.11.15`
|
|
76
|
+
|
|
77
|
+
- [Chip] Fix error when theme value is a CSS variable (#36654) @siriwatknp
|
|
78
|
+
- [Grid2] Support dynamic nested columns (#36401) @siriwatknp
|
|
79
|
+
|
|
80
|
+
### `@mui/system@5.11.15`
|
|
81
|
+
|
|
82
|
+
- [system] Enable regressions tests & fix regressions (#36611) @mnajdova
|
|
83
|
+
- [Stack] Add `useFlexGap` prop (#36404) @siriwatknp
|
|
84
|
+
|
|
85
|
+
### `@mui/base@5.0.0-alpha.122`
|
|
86
|
+
|
|
87
|
+
- [Autocomplete] Update `autoSelect` prop description (#36280) @sai6855
|
|
88
|
+
- [TablePagination][base] Improve `actions` type in `slotProps` (#36458) @sai6855
|
|
89
|
+
- [Base] Add JSDoc comments for classes of Base components (#36586) @hbjORbj
|
|
90
|
+
- [useSlider][base] Add API docs for the hook parameters and return type (#36576) @varunmulay22
|
|
91
|
+
|
|
92
|
+
### `@mui/joy@5.0.0-alpha.73`
|
|
93
|
+
|
|
94
|
+
- [Joy] Miscellaneous fixes (#36628) @siriwatknp
|
|
95
|
+
- [Joy] Add palette customizer (#35741) @siriwatknp
|
|
96
|
+
|
|
97
|
+
### Docs
|
|
98
|
+
|
|
99
|
+
- Revert "[docs] Use `theme.applyDarkStyles` for the rest of the docs" (#36602) @mnajdova
|
|
100
|
+
- [blog] Improvements on v6 announcement blog (#36505) @joserodolfofreitas
|
|
101
|
+
- [docs] Add `Snackbar` coming soon page (#36604) @danilo-leal
|
|
102
|
+
- [docs] Add accordion coming soon page (#36279) @siriwatknp
|
|
103
|
+
- [docs] Fix palette customizer theme augmentation (#36629) @siriwatknp
|
|
104
|
+
- [docs] Finish migration away from https://reactjs.org/ @oliviertassinari
|
|
105
|
+
- [docs] Remove duplicated slot descriptions (#36621) @hbjORbj
|
|
106
|
+
- [docs] Fix broken example link (#36607) @mnajdova
|
|
107
|
+
- [docs] Use `theme.applyDarkStyles` (#36606) @siriwatknp
|
|
108
|
+
- [docs] Improve API for theme default prop (#36490) @oliviertassinari
|
|
109
|
+
- [docs][Table] Refactor `Sorting & Selecting` table demo (#33236) @IFaniry
|
|
110
|
+
|
|
111
|
+
### Core
|
|
112
|
+
|
|
113
|
+
- [core] Use Netlify function for feedback management (#36472) @alexfauquette
|
|
114
|
+
|
|
115
|
+
All contributors of this release in alphabetical order: @alexfauquette, @danilo-leal, @hbjORbj, @IFaniry, @joserodolfofreitas, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @varunmulay22
|
|
116
|
+
|
|
3
117
|
## 5.11.14
|
|
4
118
|
|
|
5
119
|
<!-- generated comparing v5.11.13..master -->
|
|
@@ -5354,7 +5468,7 @@ _Sep 1, 2021_
|
|
|
5354
5468
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
5355
5469
|
|
|
5356
5470
|
- 🎉 Renamed packages to `@mui/*` as part of rebranding the company, following the strategy of expanding the library scope beyond Material Design. For more details about it, check the [GitHub discussion](https://github.com/mui/material-ui/discussions/27803).
|
|
5357
|
-
- 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/
|
|
5471
|
+
- 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/v5.0.0/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/material-ui/migration/migration-v4/#preset-safe)
|
|
5358
5472
|
- 🧪 Added new `<Mansory>` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj 👏!
|
|
5359
5473
|
|
|
5360
5474
|
### `@mui/material@5.0.0-rc.0`
|
|
@@ -5386,7 +5500,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
5386
5500
|
|
|
5387
5501
|
> **Note**: `@mui/base` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
|
|
5388
5502
|
|
|
5389
|
-
We encourage you to use the [codemod](https://github.com/mui/material-ui/blob/
|
|
5503
|
+
We encourage you to use the [codemod](https://github.com/mui/material-ui/blob/v5.0.0/packages/mui-codemod/README.md#mui-replace) for smooth migration.
|
|
5390
5504
|
|
|
5391
5505
|
#### Changes
|
|
5392
5506
|
|
|
@@ -6521,7 +6635,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
|
|
|
6521
6635
|
|
|
6522
6636
|
- 👩🎤 We have completed the migration to emotion of all the components (`@material-ui/core` and `@material-ui/lab`) @siriwatknp, @mnajdova.
|
|
6523
6637
|
- 📦 Save [10 kB gzipped](https://bundlephobia.com/package/@material-ui/core@5.0.0-alpha.34) by removing the dependency on `@material-ui/styles` (JSS) from the core and the lab (#26377, #26382, #26376) @mnajdova.
|
|
6524
|
-
- ⚒️ Add many new [codemods](https://github.com/mui/material-ui/blob/
|
|
6638
|
+
- ⚒️ Add many new [codemods](https://github.com/mui/material-ui/blob/v5.0.0/packages/mui-codemod/README.md) to automate the migration from v4 to v5 (#24867) @mbrookes.
|
|
6525
6639
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
6526
6640
|
|
|
6527
6641
|
### `@material-ui/core@5.0.0-alpha.35`
|
|
@@ -8789,7 +8903,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
8789
8903
|
|
|
8790
8904
|
- [Box] Remove deprecated props (#23716) @mnajdova
|
|
8791
8905
|
All props are now available under the `sx` prop. A deprecation will be landing in v4.
|
|
8792
|
-
Thanks to @mbrookes developers can automate the migration with a [codemod](https://github.com/mui/material-ui/blob/
|
|
8906
|
+
Thanks to @mbrookes developers can automate the migration with a [codemod](https://github.com/mui/material-ui/blob/v5.0.0/packages/mui-codemod/README.md#box-sx-prop).
|
|
8793
8907
|
|
|
8794
8908
|
```diff
|
|
8795
8909
|
-<Box p={2} bgcolor="primary.main">
|
package/Card/cardClasses.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface CardClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export type CardClassKey = keyof CardClasses;
|
|
6
|
-
export declare function getCardUtilityClass(slot: string): string;
|
|
7
|
-
declare const cardClasses: CardClasses;
|
|
8
|
-
export default cardClasses;
|
|
1
|
+
export interface CardClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type CardClassKey = keyof CardClasses;
|
|
6
|
+
export declare function getCardUtilityClass(slot: string): string;
|
|
7
|
+
declare const cardClasses: CardClasses;
|
|
8
|
+
export default cardClasses;
|
|
@@ -30,6 +30,8 @@ const CardActionAreaRoot = styled(ButtonBase, {
|
|
|
30
30
|
}) => ({
|
|
31
31
|
display: 'block',
|
|
32
32
|
textAlign: 'inherit',
|
|
33
|
+
borderRadius: 'inherit',
|
|
34
|
+
// for Safari to work https://github.com/mui/material-ui/issues/36285.
|
|
33
35
|
width: '100%',
|
|
34
36
|
[`&:hover .${cardActionAreaClasses.focusHighlight}`]: {
|
|
35
37
|
opacity: (theme.vars || theme).palette.action.hoverOpacity,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface CardActionAreaClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the ButtonBase root element if the action area is keyboard focused. */
|
|
5
|
-
focusVisible: string;
|
|
6
|
-
/** Styles applied to the overlay that covers the action area when it is keyboard focused. */
|
|
7
|
-
focusHighlight: string;
|
|
8
|
-
}
|
|
9
|
-
export type CardActionAreaClassKey = keyof CardActionAreaClasses;
|
|
10
|
-
export declare function getCardActionAreaUtilityClass(slot: string): string;
|
|
11
|
-
declare const cardActionAreaClasses: CardActionAreaClasses;
|
|
12
|
-
export default cardActionAreaClasses;
|
|
1
|
+
export interface CardActionAreaClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the ButtonBase root element if the action area is keyboard focused. */
|
|
5
|
+
focusVisible: string;
|
|
6
|
+
/** Styles applied to the overlay that covers the action area when it is keyboard focused. */
|
|
7
|
+
focusHighlight: string;
|
|
8
|
+
}
|
|
9
|
+
export type CardActionAreaClassKey = keyof CardActionAreaClasses;
|
|
10
|
+
export declare function getCardActionAreaUtilityClass(slot: string): string;
|
|
11
|
+
declare const cardActionAreaClasses: CardActionAreaClasses;
|
|
12
|
+
export default cardActionAreaClasses;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface CardActionsClasses {
|
|
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 type CardActionsClassKey = keyof CardActionsClasses;
|
|
8
|
-
export declare function getCardActionsUtilityClass(slot: string): string;
|
|
9
|
-
declare const cardActionsClasses: CardActionsClasses;
|
|
10
|
-
export default cardActionsClasses;
|
|
1
|
+
export interface CardActionsClasses {
|
|
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 type CardActionsClassKey = keyof CardActionsClasses;
|
|
8
|
+
export declare function getCardActionsUtilityClass(slot: string): string;
|
|
9
|
+
declare const cardActionsClasses: CardActionsClasses;
|
|
10
|
+
export default cardActionsClasses;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export interface CardContentClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
}
|
|
5
|
-
export type CardContentClassKey = keyof CardContentClasses;
|
|
6
|
-
export declare function getCardContentUtilityClass(slot: string): string;
|
|
7
|
-
declare const cardContentClasses: CardContentClasses;
|
|
8
|
-
export default cardContentClasses;
|
|
1
|
+
export interface CardContentClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
}
|
|
5
|
+
export type CardContentClassKey = keyof CardContentClasses;
|
|
6
|
+
export declare function getCardContentUtilityClass(slot: string): string;
|
|
7
|
+
declare const cardContentClasses: CardContentClasses;
|
|
8
|
+
export default cardContentClasses;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface CardHeaderClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the avatar element. */
|
|
5
|
-
avatar: string;
|
|
6
|
-
/** Styles applied to the action element. */
|
|
7
|
-
action: string;
|
|
8
|
-
/** Styles applied to the content wrapper element. */
|
|
9
|
-
content: string;
|
|
10
|
-
/** Styles applied to the title Typography element. */
|
|
11
|
-
title: string;
|
|
12
|
-
/** Styles applied to the subheader Typography element. */
|
|
13
|
-
subheader: string;
|
|
14
|
-
}
|
|
15
|
-
export type CardHeaderClassKey = keyof CardHeaderClasses;
|
|
16
|
-
export declare function getCardHeaderUtilityClass(slot: string): string;
|
|
17
|
-
declare const cardHeaderClasses: CardHeaderClasses;
|
|
18
|
-
export default cardHeaderClasses;
|
|
1
|
+
export interface CardHeaderClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the avatar element. */
|
|
5
|
+
avatar: string;
|
|
6
|
+
/** Styles applied to the action element. */
|
|
7
|
+
action: string;
|
|
8
|
+
/** Styles applied to the content wrapper element. */
|
|
9
|
+
content: string;
|
|
10
|
+
/** Styles applied to the title Typography element. */
|
|
11
|
+
title: string;
|
|
12
|
+
/** Styles applied to the subheader Typography element. */
|
|
13
|
+
subheader: string;
|
|
14
|
+
}
|
|
15
|
+
export type CardHeaderClassKey = keyof CardHeaderClasses;
|
|
16
|
+
export declare function getCardHeaderUtilityClass(slot: string): string;
|
|
17
|
+
declare const cardHeaderClasses: CardHeaderClasses;
|
|
18
|
+
export default cardHeaderClasses;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface CardMediaClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `component="video, audio, picture, iframe, or img"`. */
|
|
5
|
-
media: string;
|
|
6
|
-
/** Styles applied to the root element if `component="picture or img"`. */
|
|
7
|
-
img: string;
|
|
8
|
-
}
|
|
9
|
-
export type CardMediaClassKey = keyof CardMediaClasses;
|
|
10
|
-
export declare function getCardMediaUtilityClass(slot: string): string;
|
|
11
|
-
declare const cardMediaClasses: CardMediaClasses;
|
|
12
|
-
export default cardMediaClasses;
|
|
1
|
+
export interface CardMediaClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `component="video, audio, picture, iframe, or img"`. */
|
|
5
|
+
media: string;
|
|
6
|
+
/** Styles applied to the root element if `component="picture or img"`. */
|
|
7
|
+
img: string;
|
|
8
|
+
}
|
|
9
|
+
export type CardMediaClassKey = keyof CardMediaClasses;
|
|
10
|
+
export declare function getCardMediaUtilityClass(slot: string): string;
|
|
11
|
+
declare const cardMediaClasses: CardMediaClasses;
|
|
12
|
+
export default cardMediaClasses;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface CheckboxClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** State class applied to the root element if `checked={true}`. */
|
|
5
|
-
checked: string;
|
|
6
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
-
disabled: string;
|
|
8
|
-
/** State class applied to the root element if `indeterminate={true}`. */
|
|
9
|
-
indeterminate: string;
|
|
10
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
11
|
-
colorPrimary: string;
|
|
12
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
13
|
-
colorSecondary: string;
|
|
14
|
-
}
|
|
15
|
-
export type CheckboxClassKey = keyof CheckboxClasses;
|
|
16
|
-
export declare function getCheckboxUtilityClass(slot: string): string;
|
|
17
|
-
declare const checkboxClasses: CheckboxClasses;
|
|
18
|
-
export default checkboxClasses;
|
|
1
|
+
export interface CheckboxClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** State class applied to the root element if `checked={true}`. */
|
|
5
|
+
checked: string;
|
|
6
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
7
|
+
disabled: string;
|
|
8
|
+
/** State class applied to the root element if `indeterminate={true}`. */
|
|
9
|
+
indeterminate: string;
|
|
10
|
+
/** Styles applied to the root element if `color="primary"`. */
|
|
11
|
+
colorPrimary: string;
|
|
12
|
+
/** Styles applied to the root element if `color="secondary"`. */
|
|
13
|
+
colorSecondary: string;
|
|
14
|
+
}
|
|
15
|
+
export type CheckboxClassKey = keyof CheckboxClasses;
|
|
16
|
+
export declare function getCheckboxUtilityClass(slot: string): string;
|
|
17
|
+
declare const checkboxClasses: CheckboxClasses;
|
|
18
|
+
export default checkboxClasses;
|
package/Chip/Chip.js
CHANGED
|
@@ -77,7 +77,6 @@ const ChipRoot = styled('div', {
|
|
|
77
77
|
theme,
|
|
78
78
|
ownerState
|
|
79
79
|
}) => {
|
|
80
|
-
const deleteIconColor = alpha(theme.palette.text.primary, 0.26);
|
|
81
80
|
const textColor = theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300];
|
|
82
81
|
return _extends({
|
|
83
82
|
maxWidth: '100%',
|
|
@@ -144,12 +143,12 @@ const ChipRoot = styled('div', {
|
|
|
144
143
|
})),
|
|
145
144
|
[`& .${chipClasses.deleteIcon}`]: _extends({
|
|
146
145
|
WebkitTapHighlightColor: 'transparent',
|
|
147
|
-
color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` :
|
|
146
|
+
color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.26)` : alpha(theme.palette.text.primary, 0.26),
|
|
148
147
|
fontSize: 22,
|
|
149
148
|
cursor: 'pointer',
|
|
150
149
|
margin: '0 5px 0 -6px',
|
|
151
150
|
'&:hover': {
|
|
152
|
-
color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(
|
|
151
|
+
color: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / 0.4)` : alpha(theme.palette.text.primary, 0.4)
|
|
153
152
|
}
|
|
154
153
|
}, ownerState.size === 'small' && {
|
|
155
154
|
fontSize: 16,
|
package/Chip/chipClasses.d.ts
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
export interface ChipClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `size="small"`. */
|
|
5
|
-
sizeSmall: string;
|
|
6
|
-
/** Styles applied to the root element if `size="medium"`. */
|
|
7
|
-
sizeMedium: string;
|
|
8
|
-
/** Styles applied to the root element if `color="error"`. */
|
|
9
|
-
colorError: string;
|
|
10
|
-
/** Styles applied to the root element if `color="info"`. */
|
|
11
|
-
colorInfo: string;
|
|
12
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
13
|
-
colorPrimary: string;
|
|
14
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
15
|
-
colorSecondary: string;
|
|
16
|
-
/** Styles applied to the root element if `color="success"`. */
|
|
17
|
-
colorSuccess: string;
|
|
18
|
-
/** Styles applied to the root element if `color="warning"`. */
|
|
19
|
-
colorWarning: string;
|
|
20
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
21
|
-
disabled: string;
|
|
22
|
-
/** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
|
|
23
|
-
clickable: string;
|
|
24
|
-
/** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`. */
|
|
25
|
-
clickableColorPrimary: string;
|
|
26
|
-
/** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`. */
|
|
27
|
-
clickableColorSecondary: string;
|
|
28
|
-
/** Styles applied to the root element if `onDelete` is defined. */
|
|
29
|
-
deletable: string;
|
|
30
|
-
/** Styles applied to the root element if `onDelete` and `color="primary"` is defined. */
|
|
31
|
-
deletableColorPrimary: string;
|
|
32
|
-
/** Styles applied to the root element if `onDelete` and `color="secondary"` is defined. */
|
|
33
|
-
deletableColorSecondary: string;
|
|
34
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
35
|
-
outlined: string;
|
|
36
|
-
/** Styles applied to the root element if `variant="filled"`. */
|
|
37
|
-
filled: string;
|
|
38
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
|
|
39
|
-
outlinedPrimary: string;
|
|
40
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
|
|
41
|
-
outlinedSecondary: string;
|
|
42
|
-
/** Styles applied to the root element if `variant="filled"` and `color="primary"`. */
|
|
43
|
-
filledPrimary: string;
|
|
44
|
-
/** Styles applied to the root element if `variant="filled"` and `color="secondary"`. */
|
|
45
|
-
filledSecondary: string;
|
|
46
|
-
/** Styles applied to the avatar element. */
|
|
47
|
-
avatar: string;
|
|
48
|
-
/** Styles applied to the avatar element if `size="small"`. */
|
|
49
|
-
avatarSmall: string;
|
|
50
|
-
/** Styles applied to the avatar element if `size="medium"`. */
|
|
51
|
-
avatarMedium: string;
|
|
52
|
-
/** Styles applied to the avatar element if `color="primary"`. */
|
|
53
|
-
avatarColorPrimary: string;
|
|
54
|
-
/** Styles applied to the avatar element if `color="secondary"`. */
|
|
55
|
-
avatarColorSecondary: string;
|
|
56
|
-
/** Styles applied to the icon element. */
|
|
57
|
-
icon: string;
|
|
58
|
-
/** Styles applied to the icon element if `size="small"`. */
|
|
59
|
-
iconSmall: string;
|
|
60
|
-
/** Styles applied to the icon element if `size="medium"`. */
|
|
61
|
-
iconMedium: string;
|
|
62
|
-
/** Styles applied to the icon element if `color="primary"`. */
|
|
63
|
-
iconColorPrimary: string;
|
|
64
|
-
/** Styles applied to the icon element if `color="secondary"`. */
|
|
65
|
-
iconColorSecondary: string;
|
|
66
|
-
/** Styles applied to the label `span` element. */
|
|
67
|
-
label: string;
|
|
68
|
-
/** Styles applied to the label `span` element if `size="small"`. */
|
|
69
|
-
labelSmall: string;
|
|
70
|
-
/** Styles applied to the label `span` element if `size="medium"`. */
|
|
71
|
-
labelMedium: string;
|
|
72
|
-
/** Styles applied to the deleteIcon element. */
|
|
73
|
-
deleteIcon: string;
|
|
74
|
-
/** Styles applied to the deleteIcon element if `size="small"`. */
|
|
75
|
-
deleteIconSmall: string;
|
|
76
|
-
/** Styles applied to the deleteIcon element if `size="medium"`. */
|
|
77
|
-
deleteIconMedium: string;
|
|
78
|
-
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
|
|
79
|
-
deleteIconColorPrimary: string;
|
|
80
|
-
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
|
|
81
|
-
deleteIconColorSecondary: string;
|
|
82
|
-
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`. */
|
|
83
|
-
deleteIconOutlinedColorPrimary: string;
|
|
84
|
-
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`. */
|
|
85
|
-
deleteIconOutlinedColorSecondary: string;
|
|
86
|
-
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
|
|
87
|
-
deleteIconFilledColorPrimary: string;
|
|
88
|
-
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
|
|
89
|
-
deleteIconFilledColorSecondary: string;
|
|
90
|
-
/** State class applied to the root element if keyboard focused. */
|
|
91
|
-
focusVisible: string;
|
|
92
|
-
}
|
|
93
|
-
export type ChipClassKey = keyof ChipClasses;
|
|
94
|
-
export declare function getChipUtilityClass(slot: string): string;
|
|
95
|
-
declare const chipClasses: ChipClasses;
|
|
96
|
-
export default chipClasses;
|
|
1
|
+
export interface ChipClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `size="small"`. */
|
|
5
|
+
sizeSmall: string;
|
|
6
|
+
/** Styles applied to the root element if `size="medium"`. */
|
|
7
|
+
sizeMedium: string;
|
|
8
|
+
/** Styles applied to the root element if `color="error"`. */
|
|
9
|
+
colorError: string;
|
|
10
|
+
/** Styles applied to the root element if `color="info"`. */
|
|
11
|
+
colorInfo: string;
|
|
12
|
+
/** Styles applied to the root element if `color="primary"`. */
|
|
13
|
+
colorPrimary: string;
|
|
14
|
+
/** Styles applied to the root element if `color="secondary"`. */
|
|
15
|
+
colorSecondary: string;
|
|
16
|
+
/** Styles applied to the root element if `color="success"`. */
|
|
17
|
+
colorSuccess: string;
|
|
18
|
+
/** Styles applied to the root element if `color="warning"`. */
|
|
19
|
+
colorWarning: string;
|
|
20
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
21
|
+
disabled: string;
|
|
22
|
+
/** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
|
|
23
|
+
clickable: string;
|
|
24
|
+
/** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`. */
|
|
25
|
+
clickableColorPrimary: string;
|
|
26
|
+
/** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`. */
|
|
27
|
+
clickableColorSecondary: string;
|
|
28
|
+
/** Styles applied to the root element if `onDelete` is defined. */
|
|
29
|
+
deletable: string;
|
|
30
|
+
/** Styles applied to the root element if `onDelete` and `color="primary"` is defined. */
|
|
31
|
+
deletableColorPrimary: string;
|
|
32
|
+
/** Styles applied to the root element if `onDelete` and `color="secondary"` is defined. */
|
|
33
|
+
deletableColorSecondary: string;
|
|
34
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
35
|
+
outlined: string;
|
|
36
|
+
/** Styles applied to the root element if `variant="filled"`. */
|
|
37
|
+
filled: string;
|
|
38
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
|
|
39
|
+
outlinedPrimary: string;
|
|
40
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
|
|
41
|
+
outlinedSecondary: string;
|
|
42
|
+
/** Styles applied to the root element if `variant="filled"` and `color="primary"`. */
|
|
43
|
+
filledPrimary: string;
|
|
44
|
+
/** Styles applied to the root element if `variant="filled"` and `color="secondary"`. */
|
|
45
|
+
filledSecondary: string;
|
|
46
|
+
/** Styles applied to the avatar element. */
|
|
47
|
+
avatar: string;
|
|
48
|
+
/** Styles applied to the avatar element if `size="small"`. */
|
|
49
|
+
avatarSmall: string;
|
|
50
|
+
/** Styles applied to the avatar element if `size="medium"`. */
|
|
51
|
+
avatarMedium: string;
|
|
52
|
+
/** Styles applied to the avatar element if `color="primary"`. */
|
|
53
|
+
avatarColorPrimary: string;
|
|
54
|
+
/** Styles applied to the avatar element if `color="secondary"`. */
|
|
55
|
+
avatarColorSecondary: string;
|
|
56
|
+
/** Styles applied to the icon element. */
|
|
57
|
+
icon: string;
|
|
58
|
+
/** Styles applied to the icon element if `size="small"`. */
|
|
59
|
+
iconSmall: string;
|
|
60
|
+
/** Styles applied to the icon element if `size="medium"`. */
|
|
61
|
+
iconMedium: string;
|
|
62
|
+
/** Styles applied to the icon element if `color="primary"`. */
|
|
63
|
+
iconColorPrimary: string;
|
|
64
|
+
/** Styles applied to the icon element if `color="secondary"`. */
|
|
65
|
+
iconColorSecondary: string;
|
|
66
|
+
/** Styles applied to the label `span` element. */
|
|
67
|
+
label: string;
|
|
68
|
+
/** Styles applied to the label `span` element if `size="small"`. */
|
|
69
|
+
labelSmall: string;
|
|
70
|
+
/** Styles applied to the label `span` element if `size="medium"`. */
|
|
71
|
+
labelMedium: string;
|
|
72
|
+
/** Styles applied to the deleteIcon element. */
|
|
73
|
+
deleteIcon: string;
|
|
74
|
+
/** Styles applied to the deleteIcon element if `size="small"`. */
|
|
75
|
+
deleteIconSmall: string;
|
|
76
|
+
/** Styles applied to the deleteIcon element if `size="medium"`. */
|
|
77
|
+
deleteIconMedium: string;
|
|
78
|
+
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
|
|
79
|
+
deleteIconColorPrimary: string;
|
|
80
|
+
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
|
|
81
|
+
deleteIconColorSecondary: string;
|
|
82
|
+
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`. */
|
|
83
|
+
deleteIconOutlinedColorPrimary: string;
|
|
84
|
+
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`. */
|
|
85
|
+
deleteIconOutlinedColorSecondary: string;
|
|
86
|
+
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
|
|
87
|
+
deleteIconFilledColorPrimary: string;
|
|
88
|
+
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
|
|
89
|
+
deleteIconFilledColorSecondary: string;
|
|
90
|
+
/** State class applied to the root element if keyboard focused. */
|
|
91
|
+
focusVisible: string;
|
|
92
|
+
}
|
|
93
|
+
export type ChipClassKey = keyof ChipClasses;
|
|
94
|
+
export declare function getChipUtilityClass(slot: string): string;
|
|
95
|
+
declare const chipClasses: ChipClasses;
|
|
96
|
+
export default chipClasses;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export interface CircularProgressClasses {
|
|
2
|
-
/** Styles applied to the root element. */
|
|
3
|
-
root: string;
|
|
4
|
-
/** Styles applied to the root element if `variant="determinate"`. */
|
|
5
|
-
determinate: string;
|
|
6
|
-
/** Styles applied to the root element if `variant="indeterminate"`. */
|
|
7
|
-
indeterminate: string;
|
|
8
|
-
/** Styles applied to the root element if `color="primary"`. */
|
|
9
|
-
colorPrimary: string;
|
|
10
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
11
|
-
colorSecondary: string;
|
|
12
|
-
/** Styles applied to the svg element. */
|
|
13
|
-
svg: string;
|
|
14
|
-
/** Styles applied to the `circle` svg path. */
|
|
15
|
-
circle: string;
|
|
16
|
-
/** Styles applied to the `circle` svg path if `variant="determinate"`. */
|
|
17
|
-
circleDeterminate: string;
|
|
18
|
-
/** Styles applied to the `circle` svg path if `variant="indeterminate"`. */
|
|
19
|
-
circleIndeterminate: string;
|
|
20
|
-
/** Styles applied to the `circle` svg path if `disableShrink={true}`. */
|
|
21
|
-
circleDisableShrink: string;
|
|
22
|
-
}
|
|
23
|
-
export type CircularProgressClassKey = keyof CircularProgressClasses;
|
|
24
|
-
export declare function getCircularProgressUtilityClass(slot: string): string;
|
|
25
|
-
declare const circularProgressClasses: CircularProgressClasses;
|
|
26
|
-
export default circularProgressClasses;
|
|
1
|
+
export interface CircularProgressClasses {
|
|
2
|
+
/** Styles applied to the root element. */
|
|
3
|
+
root: string;
|
|
4
|
+
/** Styles applied to the root element if `variant="determinate"`. */
|
|
5
|
+
determinate: string;
|
|
6
|
+
/** Styles applied to the root element if `variant="indeterminate"`. */
|
|
7
|
+
indeterminate: string;
|
|
8
|
+
/** Styles applied to the root element if `color="primary"`. */
|
|
9
|
+
colorPrimary: string;
|
|
10
|
+
/** Styles applied to the root element if `color="secondary"`. */
|
|
11
|
+
colorSecondary: string;
|
|
12
|
+
/** Styles applied to the svg element. */
|
|
13
|
+
svg: string;
|
|
14
|
+
/** Styles applied to the `circle` svg path. */
|
|
15
|
+
circle: string;
|
|
16
|
+
/** Styles applied to the `circle` svg path if `variant="determinate"`. */
|
|
17
|
+
circleDeterminate: string;
|
|
18
|
+
/** Styles applied to the `circle` svg path if `variant="indeterminate"`. */
|
|
19
|
+
circleIndeterminate: string;
|
|
20
|
+
/** Styles applied to the `circle` svg path if `disableShrink={true}`. */
|
|
21
|
+
circleDisableShrink: string;
|
|
22
|
+
}
|
|
23
|
+
export type CircularProgressClassKey = keyof CircularProgressClasses;
|
|
24
|
+
export declare function getCircularProgressUtilityClass(slot: string): string;
|
|
25
|
+
declare const circularProgressClasses: CircularProgressClasses;
|
|
26
|
+
export default circularProgressClasses;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default } from '@mui/base/ClickAwayListener';
|
|
2
|
-
export * from '@mui/base/ClickAwayListener';
|
|
1
|
+
export { default } from '@mui/base/ClickAwayListener';
|
|
2
|
+
export * from '@mui/base/ClickAwayListener';
|