@mui/material 5.8.0 → 5.8.3
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.js +4 -1
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- 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 +76 -76
- package/ButtonBase/TouchRipple.js +5 -5
- 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 +203 -6
- 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/Checkbox.js +4 -4
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +80 -80
- 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/Fab.js +3 -1
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- 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/Grow/Grow.js +4 -3
- 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.d.ts +5 -0
- package/InputLabel/InputLabel.js +6 -0
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- 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/ListItemButton.js +7 -1
- 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/MenuList/MenuList.d.ts +1 -1
- package/MenuList/MenuList.js +1 -1
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/Paper.js +20 -15
- package/Paper/index.d.ts +1 -1
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +29 -29
- package/README.md +7 -3
- package/Radio/Radio.js +4 -4
- 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/SelectInput.js +2 -2
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Slider/Slider.js +21 -12
- 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/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 +24 -24
- 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/Tabs.js +2 -2
- 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/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Alert/Alert.js +4 -1
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/ButtonBase/TouchRipple.js +5 -5
- package/legacy/Checkbox/Checkbox.js +4 -4
- package/legacy/Fab/Fab.js +3 -1
- package/legacy/Grow/Grow.js +4 -3
- package/legacy/InputLabel/InputLabel.js +6 -0
- package/legacy/ListItemButton/ListItemButton.js +7 -1
- package/legacy/MenuList/MenuList.js +1 -1
- package/legacy/Paper/Paper.js +10 -7
- package/legacy/Radio/Radio.js +4 -4
- package/legacy/Select/SelectInput.js +2 -2
- package/legacy/Slider/Slider.js +21 -17
- package/legacy/Tabs/Tabs.js +2 -2
- package/legacy/index.js +1 -1
- package/legacy/styles/CssVarsProvider.js +3 -0
- package/legacy/styles/createMixins.js +4 -2
- package/legacy/styles/experimental_extendTheme.js +22 -3
- package/locale/index.d.ts +71 -71
- package/modern/Alert/Alert.js +4 -1
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/ButtonBase/TouchRipple.js +5 -5
- package/modern/Checkbox/Checkbox.js +4 -4
- package/modern/Fab/Fab.js +3 -1
- package/modern/Grow/Grow.js +4 -3
- package/modern/InputLabel/InputLabel.js +6 -0
- package/modern/ListItemButton/ListItemButton.js +7 -1
- package/modern/MenuList/MenuList.js +1 -1
- package/modern/Paper/Paper.js +8 -7
- package/modern/Radio/Radio.js +4 -4
- package/modern/Select/SelectInput.js +2 -2
- package/modern/Slider/Slider.js +21 -12
- package/modern/Tabs/Tabs.js +2 -2
- package/modern/index.js +1 -1
- package/modern/styles/CssVarsProvider.js +3 -0
- package/modern/styles/createMixins.js +4 -2
- package/modern/styles/experimental_extendTheme.js +18 -2
- package/node/Alert/Alert.js +4 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/ButtonBase/TouchRipple.js +5 -5
- package/node/Checkbox/Checkbox.js +4 -4
- package/node/Fab/Fab.js +3 -1
- package/node/Grow/Grow.js +4 -3
- package/node/InputLabel/InputLabel.js +6 -0
- package/node/ListItemButton/ListItemButton.js +7 -1
- package/node/MenuList/MenuList.js +1 -1
- package/node/Paper/Paper.js +22 -14
- package/node/Radio/Radio.js +4 -4
- package/node/Select/SelectInput.js +2 -2
- package/node/Slider/Slider.js +21 -12
- package/node/Tabs/Tabs.js +2 -2
- package/node/index.js +1 -1
- package/node/styles/CssVarsProvider.js +3 -0
- package/node/styles/createMixins.js +4 -2
- package/node/styles/experimental_extendTheme.js +20 -3
- package/package.json +4 -4
- package/styles/CssVarsProvider.js +3 -0
- package/styles/createMixins.js +4 -2
- package/styles/createPalette.d.ts +1 -1
- package/styles/experimental_extendTheme.d.ts +30 -0
- package/styles/experimental_extendTheme.js +19 -3
- package/styles/index.d.ts +1 -0
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +346 -268
- package/umd/material-ui.production.min.js +13 -13
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- 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,202 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.8.3
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.8.2..master -->
|
|
6
|
+
|
|
7
|
+
_Jun 7, 2022_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 15 contributors who made this release possible.
|
|
10
|
+
This release is mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
11
|
+
|
|
12
|
+
## `@mui/material@5.8.3`
|
|
13
|
+
|
|
14
|
+
- [Alert] Constrain message width and allow overflow (#32747) @Janpot
|
|
15
|
+
- [Checkbox] Add support for CSS variables (#32579) @haneenmahd
|
|
16
|
+
- [Slider] Fix positioning of tooltips on vertical slider (#32919) @abhinav-22-tech
|
|
17
|
+
|
|
18
|
+
## `@mui/system@5.8.3`
|
|
19
|
+
|
|
20
|
+
- [system] Configurable attributes for libraries (#32971) @siriwatknp
|
|
21
|
+
|
|
22
|
+
## `@mui/codemod@5.8.3
|
|
23
|
+
|
|
24
|
+
- [codemod] Fix infinite loop in jss-to-tss-react and add TODO (#33048) @ryancogswell
|
|
25
|
+
|
|
26
|
+
## `@mui/lab@5.0.0-alpha.85`
|
|
27
|
+
|
|
28
|
+
- [pickers] Add deprecations when importing pickers from the lab (#32950) @flaviendelangle
|
|
29
|
+
|
|
30
|
+
## `@mui/joy@5.0.0-alpha.31`
|
|
31
|
+
|
|
32
|
+
- [Joy] Add `Slider` component and demos (#32694) @hbjORbj
|
|
33
|
+
- [Joy] Add articles about customization approaches (#32887) @siriwatknp
|
|
34
|
+
- [Joy] Add automatic adjustment page to core features (#32980) @siriwatknp
|
|
35
|
+
- [Joy] Add docs about dark mode (#33002) @siriwatknp
|
|
36
|
+
- [Joy] Add template UIs & first look blog post (#32791) @danilo-leal
|
|
37
|
+
|
|
38
|
+
## `@mui/base@5.0.0-alpha.84`
|
|
39
|
+
|
|
40
|
+
- [base] Remove @mui/system in tests (#32945) @kevinji
|
|
41
|
+
- [ButtonUnstyled] Accept callbacks in componentsProps (#32991) @michaldudak
|
|
42
|
+
- [SwitchUnstyled] Accept callbacks in componentsProps (#32993) @michaldudak
|
|
43
|
+
- [TablePaginationUnstyled] Define ownerState and slot props' types (#32905) @michaldudak
|
|
44
|
+
- [TabPanelUnstyled] Define ownerState and slot props' types (#32928) @michaldudak
|
|
45
|
+
- [TabsListUnstyled] Define ownerState and slot props' types (#32925) @michaldudak
|
|
46
|
+
|
|
47
|
+
## Docs
|
|
48
|
+
|
|
49
|
+
- [blog] Fix anchor link scroll (#32994) @oliviertassinari
|
|
50
|
+
- [docs] Add "Migration" section to sidebar and revise v4-v5 content (#32740) @samuelsycamore
|
|
51
|
+
- [docs] Add What doesn't count as a breaking change? (#32850) @oliviertassinari
|
|
52
|
+
- [docs] Fix 301 link @oliviertassinari
|
|
53
|
+
- [docs] Fix icon color in `BadgeUnstyled` docs (#32976) @ZeeshanTamboli
|
|
54
|
+
- [docs] Improve product identifier (#32707) @danilo-leal
|
|
55
|
+
- [docs] Improve UX with back to top (#32896) @oliviertassinari
|
|
56
|
+
- [docs] Polish overview page to Material UI (#32954) @oliviertassinari
|
|
57
|
+
- [docs] Redirect older URLs (#33037) @oliviertassinari
|
|
58
|
+
- [docs] Remove pickers page from the Lab section (#32961) @DanailH
|
|
59
|
+
- [docs] Show product identifier on updated MUI X Introduction pages (#32966) @samuelsycamore
|
|
60
|
+
- [docs] Throw on 301 links (#32939) @oliviertassinari
|
|
61
|
+
- [website] Add Gerda to the about page (#33038) @danilo-leal
|
|
62
|
+
- [website] Polish the pricing page (#32811) @oliviertassinari
|
|
63
|
+
- [website] Remove unnecessary `address` dependency (#32957) @michaldudak
|
|
64
|
+
|
|
65
|
+
## Core
|
|
66
|
+
|
|
67
|
+
- [core] Improve icon synonyms (#32742) @oliviertassinari
|
|
68
|
+
- [core] Prepare Next.js config for React 18 (#32963) @michaldudak
|
|
69
|
+
- [core] Remove dead logic (#32940) @oliviertassinari
|
|
70
|
+
- [core] Update dependencies to fix security vulnerabilities (#32947) @michaldudak
|
|
71
|
+
- Add security link to README for Tidelift @mbrookes
|
|
72
|
+
|
|
73
|
+
All contributors of this release in alphabetical order: @abhinav-22-tech, @DanailH, @danilo-leal, @flaviendelangle, @haneenmahd, @hbjORbj, @Janpot, @kevinji, @mbrookes, @michaldudak, @oliviertassinari, @ryancogswell, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
|
|
74
|
+
|
|
75
|
+
## 5.8.2
|
|
76
|
+
|
|
77
|
+
<!-- generated comparing v5.8.1..master -->
|
|
78
|
+
|
|
79
|
+
_May 30, 2022_
|
|
80
|
+
|
|
81
|
+
A big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
82
|
+
|
|
83
|
+
- 🐛 bug fixes and 📚 documentation improvements.
|
|
84
|
+
|
|
85
|
+
### `@mui/system@5.8.2`
|
|
86
|
+
|
|
87
|
+
- ​<!-- 04 -->[system] Add `getColorSchemeSelector` util (#32868) @siriwatknp
|
|
88
|
+
|
|
89
|
+
### `@mui/lab@5.0.0-alpha.84`
|
|
90
|
+
|
|
91
|
+
- ​<!-- 07 -->[Masonry] Place items to the left when there are less objects than specified in `column` prop (#32873) @hbjORbj
|
|
92
|
+
|
|
93
|
+
### `@mui/base@5.0.0-alpha.83`
|
|
94
|
+
|
|
95
|
+
- ​<!-- 24 -->[BadgeUnstyled] Define ownerState and slot props' types (#32750) @michaldudak
|
|
96
|
+
- ​<!-- 06 -->[SliderUnstyled] Define ownerState and slot props' types (#32739) @michaldudak
|
|
97
|
+
- ​<!-- 05 -->[SwitchUnstyled] Define ownerState and slot props' types (#32573) @michaldudak
|
|
98
|
+
- ​<!-- 03 -->[TabsUnstyled] Define ownerState and slot props' types (#32918) @michaldudak
|
|
99
|
+
- ​<!-- 02 -->[TabUnstyled] Define ownerState and slot props' types (#32915) @michaldudak
|
|
100
|
+
|
|
101
|
+
### `@mui/joy@5.0.0-alpha.30`
|
|
102
|
+
|
|
103
|
+
- ​<!-- 13 -->[Joy] use `textColor` prop for Typography and Link (#32938) @siriwatknp
|
|
104
|
+
- ​<!-- 12 -->[Joy] Make variants for more flexible (#32931) @siriwatknp
|
|
105
|
+
- ​<!-- 11 -->[Joy] Improve automatic adjustment (#32923) @siriwatknp
|
|
106
|
+
- ​<!-- 10 -->[Joy] Add `Chip` doc (#32819) @hbjORbj
|
|
107
|
+
- ​<!-- 09 -->[Joy] Add `AspectRatio` demos (#32848) @siriwatknp
|
|
108
|
+
- ​<!-- 08 -->[Joy] Fix wrong urls (#32883) @siriwatknp
|
|
109
|
+
|
|
110
|
+
### Docs
|
|
111
|
+
|
|
112
|
+
- ​<!-- 24 -->[docs] Iterate on the job ad for React engineer in Core (#32900) @mnajdova
|
|
113
|
+
- ​<!-- 23 -->[blog] Fix avatar image resolution (#32890) @oliviertassinari
|
|
114
|
+
- ​<!-- 19 -->[docs] Link the first page of the product (#32943) @oliviertassinari
|
|
115
|
+
- ​<!-- 18 -->[docs] Batch small changes (#32170) @michaldudak
|
|
116
|
+
- ​<!-- 17 -->[docs] Allow function prop to return undefined (#32766) @m4theushw
|
|
117
|
+
- ​<!-- 16 -->[docs] Fix wrong link to Material Icons (#32847) @oliviertassinari
|
|
118
|
+
- ​<!-- 15 -->[docs] Fix ClassNameGenerator content (#32800) @siriwatknp
|
|
119
|
+
- ​<!-- 14 -->[docs] Fix navigation links (#32851) @oliviertassinari
|
|
120
|
+
- ​<!-- 14 -->[docs] Document the `size` prop for InputLabel (#32936) @romelperez
|
|
121
|
+
- ​<!-- 21 -->[docs] Add note about transparent background on the outlined Alert variant (#32810) @aaarichter
|
|
122
|
+
- ​<!-- 01 -->[website] Update the careers's page with the new roles (#32535) @oliviertassinari
|
|
123
|
+
|
|
124
|
+
### Core
|
|
125
|
+
|
|
126
|
+
- ​<!-- 22 -->[core] Improve the incomplete issues workflow (#32878) @mnajdova
|
|
127
|
+
- ​<!-- 21 -->[core] Add CI check that the PR has label (#32886) @mnajdova
|
|
128
|
+
- ​<!-- 20 -->[core] Avoid leaking @babel/runtime (#32874) @oliviertassinari
|
|
129
|
+
|
|
130
|
+
All contributors of this release in alphabetical order: @aaarichter, @hbjORbj, @m4theushw, @michaldudak, @mnajdova, @oliviertassinari, @romelperez, @siriwatknp
|
|
131
|
+
|
|
132
|
+
## 5.8.1
|
|
133
|
+
|
|
134
|
+
<!-- generated comparing v5.8.0..master -->
|
|
135
|
+
|
|
136
|
+
_May 23, 2022_
|
|
137
|
+
|
|
138
|
+
A big thanks to the 21 contributors who made this release possible. Here are some highlights ✨:
|
|
139
|
+
|
|
140
|
+
- 💅 Added CSS variables support for two more Material UI components by @diggis00 and @alisasanib
|
|
141
|
+
- And more 🐛 bug fixes and 📚 documentation improvements.
|
|
142
|
+
|
|
143
|
+
### `@mui/material@5.8.1`
|
|
144
|
+
|
|
145
|
+
- ​<!-- 33 -->[Alert] Fix missing `ownerState` on the `action` slot (#32801) @mnajdova
|
|
146
|
+
- ​<!-- 20 -->[Fab] Make the `color` prop type extendable (#31830) @paales
|
|
147
|
+
- ​<!-- 14 -->[ListItemButton] Render as link if href specified (#32403) @o-dubrovskyi
|
|
148
|
+
- ​<!-- 13 -->[Paper] Add support for CSS variables (#32570) @diggis00
|
|
149
|
+
- ​<!-- 11 -->[Radio] Add support for CSS variables (#32599) @alisasanib
|
|
150
|
+
- ​<!-- 10 -->[Slider] Prevent rendering for marks that are out of the min & max bounds (#32436) @abriginets
|
|
151
|
+
- ​<!-- 09 -->[Slider] Slider having marks should be customizable in theme (#32816) @ZeeshanTamboli
|
|
152
|
+
- ​<!-- 03 -->[TouchRipple] Allows call imperative methods without event (#31955) @alexfauquette
|
|
153
|
+
|
|
154
|
+
### `@mui/system@5.8.1`
|
|
155
|
+
|
|
156
|
+
- ​<!-- 07 -->[system] Simplify stylesheet injection logic (#32869) @siriwatknp
|
|
157
|
+
- ​<!-- 06 -->[system] Fix color scheme specificity (#32628) @siriwatknp
|
|
158
|
+
- ​<!-- 05 -->[system] Fix `borderRadius` errors when used inside `CssVarsProvider` (#32817) @mnajdova
|
|
159
|
+
- ​<!-- 04 -->[system] Fix toolbar media query mixin getting merged in wrong order (#32713) @ZeeshanTamboli
|
|
160
|
+
|
|
161
|
+
### `@mui/lab@5.0.0-alpha.83`
|
|
162
|
+
|
|
163
|
+
- ​<!-- 15 -->[lab] Add missing `peerDependencies` (#32623) @nate-summercook
|
|
164
|
+
- ​<!-- 12 -->[pickers] Update @mui/x-date-pickers to be usable with React 18 (#32828) @flaviendelangle
|
|
165
|
+
|
|
166
|
+
### `@mui/base@5.0.0-alpha.82`
|
|
167
|
+
|
|
168
|
+
- ​<!-- 08 -->[SliderUnstyled] Fix `disabledSwap` not being respected in `onChangeCommitted` (#32647) @JeanPetrov
|
|
169
|
+
|
|
170
|
+
### `@mui/joy@5.0.0-alpha.29`
|
|
171
|
+
|
|
172
|
+
- ​<!-- 19 -->[Joy] Show Joy pages on master (#32866) @siriwatknp
|
|
173
|
+
- ​<!-- 18 -->[Joy] Add an overview page (#32836) @danilo-leal
|
|
174
|
+
- ​<!-- 17 -->[Joy] Add doc for the card components (#32825) @siriwatknp
|
|
175
|
+
- ​<!-- 16 -->[Joy] Miscellaneous fixes (#32815) @siriwatknp
|
|
176
|
+
|
|
177
|
+
### Docs
|
|
178
|
+
|
|
179
|
+
- ​<!-- 31 -->[docs] Simplify header DOM structure (#32844) @oliviertassinari
|
|
180
|
+
- ​<!-- 30 -->[docs] Fix CodeSandbox & StackBlitz generation (#32726) @siriwatknp
|
|
181
|
+
- ​<!-- 29 -->[docs] Fix urls to columns pages in pricing table (#32842) @alexfauquette
|
|
182
|
+
- ​<!-- 28 -->[docs] Fix Tailwind CSS integration docs (#32512) @robertwt7
|
|
183
|
+
- ​<!-- 27 -->[docs] Fixed wrong command for the `link-underline-hover` codemod (#32793) @veronikaslc
|
|
184
|
+
- ​<!-- 26 -->[docs] Fixed broken link on the icons page (#32780) @SamuelMaddox
|
|
185
|
+
- ​<!-- 25 -->[docs] Add "back to top" button (#30441) @VibhorJaiswal
|
|
186
|
+
- ​<!-- 24 -->[docs] Fix typo in notifications @mbrookes
|
|
187
|
+
- ​<!-- 32 -->[docs] New WAI-ARIA guidelines location (#32865) @oliviertassinari
|
|
188
|
+
- ​<!-- 23 -->[docs] Mention the ESLint plugin for detecting unused classes in tss-react (#32666) @garronej
|
|
189
|
+
- ​<!-- 22 -->[docs] Update `useAutocomplete` demos to use `Mui-focused` class (#32757) @ZeeshanTamboli
|
|
190
|
+
- ​<!-- 21 -->[examples] Fix `NextLinkComposedProps` gives a TypeScript error (#32655) @ZeeshanTamboli
|
|
191
|
+
- ​<!-- 01 -->[website] Add Pedro to About Us page (#32803) @apedroferreira
|
|
192
|
+
|
|
193
|
+
### Core
|
|
194
|
+
|
|
195
|
+
- ​<!-- 32 -->[core] Upgrade MUI X dependency (#32824) @oliviertassinari
|
|
196
|
+
- ​<!-- 02 -->[typescript] Allow module augmentation for `Mixins` (#32798) @mnajdova
|
|
197
|
+
|
|
198
|
+
All contributors of this release in alphabetical order: @abriginets, @alexfauquette, @alisasanib, @apedroferreira, @danilo-leal, @diggis00, @flaviendelangle, @garronej, @JeanPetrov, @mbrookes, @mnajdova, @nate-summercook, @o-dubrovskyi, @oliviertassinari, @paales, @robertwt7, @SamuelMaddox, @siriwatknp, @veronikaslc, @VibhorJaiswal, @ZeeshanTamboli
|
|
199
|
+
|
|
3
200
|
## 5.8.0
|
|
4
201
|
|
|
5
202
|
<!-- generated comparing v5.7.0..master -->
|
|
@@ -923,7 +1120,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
923
1120
|
- [docs] Fix force redirection to a different locale (#30967) @oliviertassinari
|
|
924
1121
|
- [docs] Add live Tailwind CSS demo (#30966) @oliviertassinari
|
|
925
1122
|
- [website] Add banner for promoting priority open roles (#31076) @danilo-leal
|
|
926
|
-
- [website] Open Full-stack Engineer role for studio (#31038) @
|
|
1123
|
+
- [website] Open Full-stack Engineer role for studio (#31038) @prakhargupta1
|
|
927
1124
|
- [website] Minor security improvements (#31062) @oliviertassinari
|
|
928
1125
|
- [website] Improve title of open roles (#30963) @DanailH
|
|
929
1126
|
- [website] Add BIMI avatar (#30444) @oliviertassinari
|
|
@@ -938,7 +1135,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
938
1135
|
- [test] Test if certain Base members are exported from Material UI (#31067) @michaldudak
|
|
939
1136
|
- [core] Remove dead code (#31064) @oliviertassinari
|
|
940
1137
|
|
|
941
|
-
All contributors of this release in alphabetical order: @agauravdev, @alisasanib, @DanailH, @danilo-leal, @huyenltnguyen, @l10nbot, @liradb2000, @mbrookes, @michaldudak, @mnajdova, @
|
|
1138
|
+
All contributors of this release in alphabetical order: @agauravdev, @alisasanib, @DanailH, @danilo-leal, @huyenltnguyen, @l10nbot, @liradb2000, @mbrookes, @michaldudak, @mnajdova, @prakhargupta1, @oliviertassinari, @ryohey, @samuelsycamore, @siriwatknp, @sydneyjodon-wk
|
|
942
1139
|
|
|
943
1140
|
## 5.4.1
|
|
944
1141
|
|
|
@@ -1648,14 +1845,14 @@ This is an early release to fix `export 'useId' (imported as 'React') was not fo
|
|
|
1648
1845
|
- ​<!-- 9 -->[core] Fix PR run detection in test_bundle_size_monitor (#29879) @eps1lon
|
|
1649
1846
|
- ​<!-- 8 -->[core] Move bundle size monitoring to CircleCI (#29876) @eps1lon
|
|
1650
1847
|
- ​<!-- 7 -->[docs] Add keys to Responsive AppBar demo (#29884) @mbrookes
|
|
1651
|
-
- ​<!-- 6 -->[docs] MUI's 2021 Developer survey (#29765) @
|
|
1848
|
+
- ​<!-- 6 -->[docs] MUI's 2021 Developer survey (#29765) @prakhargupta1
|
|
1652
1849
|
- ​<!-- 5 -->[docs] Smoother image loading UX (#29858) @oliviertassinari
|
|
1653
1850
|
- ​<!-- 4 -->[Select] Fix select display value with React Nodes (#29836) @kegi
|
|
1654
1851
|
- ​<!-- 3 -->[system] Add `experimental_sx` utility (#29833) @mnajdova
|
|
1655
1852
|
- ​<!-- 2 -->[test] Ignore "detected multiple renderers" warning for now (#29854) @eps1lon
|
|
1656
1853
|
- ​<!-- 1 -->[useMediaQuery][utils] Remove usage of React 18 APIs (#29870) @eps1lon
|
|
1657
1854
|
|
|
1658
|
-
All contributors of this release in alphabetical order: @eps1lon, @karakib2k18, @kegi, @mbrookes, @mnajdova, @
|
|
1855
|
+
All contributors of this release in alphabetical order: @eps1lon, @karakib2k18, @kegi, @mbrookes, @mnajdova, @prakhargupta1, @oliviertassinari
|
|
1659
1856
|
|
|
1660
1857
|
## 5.2.0
|
|
1661
1858
|
|
|
@@ -2473,7 +2670,7 @@ _Sep 1, 2021_
|
|
|
2473
2670
|
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
2474
2671
|
|
|
2475
2672
|
- 🎉 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).
|
|
2476
|
-
- 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/material-ui/
|
|
2673
|
+
- 🛠 Added `mui-replace` codemod for migrating `@material-ui/*` to new packages `@mui/*`. Check out this [codemod detail](https://github.com/mui/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) or head to [migration guide](https://mui.com/material-ui/migration/migration-v4/#preset-safe)
|
|
2477
2674
|
- 🧪 Added new `<Mansory>` component to the lab, [check it out](https://mui.com/components/masonry/). It has been crafted by our first intern, @hbjORbj 👏!
|
|
2478
2675
|
|
|
2479
2676
|
### `@mui/material@5.0.0-rc.0`
|
|
@@ -3878,7 +4075,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
|
|
|
3878
4075
|
/>
|
|
3879
4076
|
```
|
|
3880
4077
|
|
|
3881
|
-
> Follow [this link](https://mui.com/material-ui/
|
|
4078
|
+
> Follow [this link](https://mui.com/material-ui/migration/migration-v4/) for full migration from v4 => v5
|
|
3882
4079
|
|
|
3883
4080
|
#### Changes
|
|
3884
4081
|
|
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 declare 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 declare type CardClassKey = keyof CardClasses;
|
|
6
|
+
export declare function getCardUtilityClass(slot: string): string;
|
|
7
|
+
declare const cardClasses: CardClasses;
|
|
8
|
+
export default cardClasses;
|
|
@@ -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 declare 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 declare 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 declare 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 declare 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 declare 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 declare 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 declare 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 declare 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 declare 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 declare type CardMediaClassKey = keyof CardMediaClasses;
|
|
10
|
+
export declare function getCardMediaUtilityClass(slot: string): string;
|
|
11
|
+
declare const cardMediaClasses: CardMediaClasses;
|
|
12
|
+
export default cardMediaClasses;
|
package/Checkbox/Checkbox.js
CHANGED
|
@@ -43,10 +43,10 @@ const CheckboxRoot = styled(SwitchBase, {
|
|
|
43
43
|
theme,
|
|
44
44
|
ownerState
|
|
45
45
|
}) => _extends({
|
|
46
|
-
color: theme.palette.text.secondary
|
|
46
|
+
color: (theme.vars || theme).palette.text.secondary
|
|
47
47
|
}, !ownerState.disableRipple && {
|
|
48
48
|
'&:hover': {
|
|
49
|
-
backgroundColor: alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
49
|
+
backgroundColor: theme.vars ? `rgba(${ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
50
50
|
// Reset on touch devices, it doesn't add specificity
|
|
51
51
|
'@media (hover: none)': {
|
|
52
52
|
backgroundColor: 'transparent'
|
|
@@ -54,10 +54,10 @@ const CheckboxRoot = styled(SwitchBase, {
|
|
|
54
54
|
}
|
|
55
55
|
}, ownerState.color !== 'default' && {
|
|
56
56
|
[`&.${checkboxClasses.checked}, &.${checkboxClasses.indeterminate}`]: {
|
|
57
|
-
color: theme.palette[ownerState.color].main
|
|
57
|
+
color: (theme.vars || theme).palette[ownerState.color].main
|
|
58
58
|
},
|
|
59
59
|
[`&.${checkboxClasses.disabled}`]: {
|
|
60
|
-
color: theme.palette.action.disabled
|
|
60
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
61
61
|
}
|
|
62
62
|
}));
|
|
63
63
|
|
|
@@ -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 declare 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 declare type CheckboxClassKey = keyof CheckboxClasses;
|
|
16
|
+
export declare function getCheckboxUtilityClass(slot: string): string;
|
|
17
|
+
declare const checkboxClasses: CheckboxClasses;
|
|
18
|
+
export default checkboxClasses;
|
package/Chip/chipClasses.d.ts
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
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="primary"`. */
|
|
9
|
-
colorPrimary: string;
|
|
10
|
-
/** Styles applied to the root element if `color="secondary"`. */
|
|
11
|
-
colorSecondary: string;
|
|
12
|
-
/** State class applied to the root element if `disabled={true}`. */
|
|
13
|
-
disabled: string;
|
|
14
|
-
/** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
|
|
15
|
-
clickable: string;
|
|
16
|
-
/** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`. */
|
|
17
|
-
clickableColorPrimary: string;
|
|
18
|
-
/** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`. */
|
|
19
|
-
clickableColorSecondary: string;
|
|
20
|
-
/** Styles applied to the root element if `onDelete` is defined. */
|
|
21
|
-
deletable: string;
|
|
22
|
-
/** Styles applied to the root element if `onDelete` and `color="primary"` is defined. */
|
|
23
|
-
deletableColorPrimary: string;
|
|
24
|
-
/** Styles applied to the root element if `onDelete` and `color="secondary"` is defined. */
|
|
25
|
-
deletableColorSecondary: string;
|
|
26
|
-
/** Styles applied to the root element if `variant="outlined"`. */
|
|
27
|
-
outlined: string;
|
|
28
|
-
/** Styles applied to the root element if `variant="filled"`. */
|
|
29
|
-
filled: string;
|
|
30
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
|
|
31
|
-
outlinedPrimary: string;
|
|
32
|
-
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
|
|
33
|
-
outlinedSecondary: string;
|
|
34
|
-
/** Styles applied to the avatar element. */
|
|
35
|
-
avatar: string;
|
|
36
|
-
/** Styles applied to the avatar element if `size="small"`. */
|
|
37
|
-
avatarSmall: string;
|
|
38
|
-
/** Styles applied to the avatar element if `size="medium"`. */
|
|
39
|
-
avatarMedium: string;
|
|
40
|
-
/** Styles applied to the avatar element if `color="primary"`. */
|
|
41
|
-
avatarColorPrimary: string;
|
|
42
|
-
/** Styles applied to the avatar element if `color="secondary"`. */
|
|
43
|
-
avatarColorSecondary: string;
|
|
44
|
-
/** Styles applied to the icon element. */
|
|
45
|
-
icon: string;
|
|
46
|
-
/** Styles applied to the icon element if `size="small"`. */
|
|
47
|
-
iconSmall: string;
|
|
48
|
-
/** Styles applied to the icon element if `size="medium"`. */
|
|
49
|
-
iconMedium: string;
|
|
50
|
-
/** Styles applied to the icon element if `color="primary"`. */
|
|
51
|
-
iconColorPrimary: string;
|
|
52
|
-
/** Styles applied to the icon element if `color="secondary"`. */
|
|
53
|
-
iconColorSecondary: string;
|
|
54
|
-
/** Styles applied to the label `span` element. */
|
|
55
|
-
label: string;
|
|
56
|
-
/** Styles applied to the label `span` element if `size="small"`. */
|
|
57
|
-
labelSmall: string;
|
|
58
|
-
/** Styles applied to the label `span` element if `size="medium"`. */
|
|
59
|
-
labelMedium: string;
|
|
60
|
-
/** Styles applied to the deleteIcon element. */
|
|
61
|
-
deleteIcon: string;
|
|
62
|
-
/** Styles applied to the deleteIcon element if `size="small"`. */
|
|
63
|
-
deleteIconSmall: string;
|
|
64
|
-
/** Styles applied to the deleteIcon element if `size="medium"`. */
|
|
65
|
-
deleteIconMedium: string;
|
|
66
|
-
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
|
|
67
|
-
deleteIconColorPrimary: string;
|
|
68
|
-
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
|
|
69
|
-
deleteIconColorSecondary: string;
|
|
70
|
-
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`. */
|
|
71
|
-
deleteIconOutlinedColorPrimary: string;
|
|
72
|
-
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`. */
|
|
73
|
-
deleteIconOutlinedColorSecondary: string;
|
|
74
|
-
/** State class applied to the root element if keyboard focused. */
|
|
75
|
-
focusVisible: string;
|
|
76
|
-
}
|
|
77
|
-
export declare type ChipClassKey = keyof ChipClasses;
|
|
78
|
-
export declare function getChipUtilityClass(slot: string): string;
|
|
79
|
-
declare const chipClasses: ChipClasses;
|
|
80
|
-
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="primary"`. */
|
|
9
|
+
colorPrimary: string;
|
|
10
|
+
/** Styles applied to the root element if `color="secondary"`. */
|
|
11
|
+
colorSecondary: string;
|
|
12
|
+
/** State class applied to the root element if `disabled={true}`. */
|
|
13
|
+
disabled: string;
|
|
14
|
+
/** Styles applied to the root element if `onClick` is defined or `clickable={true}`. */
|
|
15
|
+
clickable: string;
|
|
16
|
+
/** Styles applied to the root element if `onClick` and `color="primary"` is defined or `clickable={true}`. */
|
|
17
|
+
clickableColorPrimary: string;
|
|
18
|
+
/** Styles applied to the root element if `onClick` and `color="secondary"` is defined or `clickable={true}`. */
|
|
19
|
+
clickableColorSecondary: string;
|
|
20
|
+
/** Styles applied to the root element if `onDelete` is defined. */
|
|
21
|
+
deletable: string;
|
|
22
|
+
/** Styles applied to the root element if `onDelete` and `color="primary"` is defined. */
|
|
23
|
+
deletableColorPrimary: string;
|
|
24
|
+
/** Styles applied to the root element if `onDelete` and `color="secondary"` is defined. */
|
|
25
|
+
deletableColorSecondary: string;
|
|
26
|
+
/** Styles applied to the root element if `variant="outlined"`. */
|
|
27
|
+
outlined: string;
|
|
28
|
+
/** Styles applied to the root element if `variant="filled"`. */
|
|
29
|
+
filled: string;
|
|
30
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="primary"`. */
|
|
31
|
+
outlinedPrimary: string;
|
|
32
|
+
/** Styles applied to the root element if `variant="outlined"` and `color="secondary"`. */
|
|
33
|
+
outlinedSecondary: string;
|
|
34
|
+
/** Styles applied to the avatar element. */
|
|
35
|
+
avatar: string;
|
|
36
|
+
/** Styles applied to the avatar element if `size="small"`. */
|
|
37
|
+
avatarSmall: string;
|
|
38
|
+
/** Styles applied to the avatar element if `size="medium"`. */
|
|
39
|
+
avatarMedium: string;
|
|
40
|
+
/** Styles applied to the avatar element if `color="primary"`. */
|
|
41
|
+
avatarColorPrimary: string;
|
|
42
|
+
/** Styles applied to the avatar element if `color="secondary"`. */
|
|
43
|
+
avatarColorSecondary: string;
|
|
44
|
+
/** Styles applied to the icon element. */
|
|
45
|
+
icon: string;
|
|
46
|
+
/** Styles applied to the icon element if `size="small"`. */
|
|
47
|
+
iconSmall: string;
|
|
48
|
+
/** Styles applied to the icon element if `size="medium"`. */
|
|
49
|
+
iconMedium: string;
|
|
50
|
+
/** Styles applied to the icon element if `color="primary"`. */
|
|
51
|
+
iconColorPrimary: string;
|
|
52
|
+
/** Styles applied to the icon element if `color="secondary"`. */
|
|
53
|
+
iconColorSecondary: string;
|
|
54
|
+
/** Styles applied to the label `span` element. */
|
|
55
|
+
label: string;
|
|
56
|
+
/** Styles applied to the label `span` element if `size="small"`. */
|
|
57
|
+
labelSmall: string;
|
|
58
|
+
/** Styles applied to the label `span` element if `size="medium"`. */
|
|
59
|
+
labelMedium: string;
|
|
60
|
+
/** Styles applied to the deleteIcon element. */
|
|
61
|
+
deleteIcon: string;
|
|
62
|
+
/** Styles applied to the deleteIcon element if `size="small"`. */
|
|
63
|
+
deleteIconSmall: string;
|
|
64
|
+
/** Styles applied to the deleteIcon element if `size="medium"`. */
|
|
65
|
+
deleteIconMedium: string;
|
|
66
|
+
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="filled"`. */
|
|
67
|
+
deleteIconColorPrimary: string;
|
|
68
|
+
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="filled"`. */
|
|
69
|
+
deleteIconColorSecondary: string;
|
|
70
|
+
/** Styles applied to the deleteIcon element if `color="primary"` and `variant="outlined"`. */
|
|
71
|
+
deleteIconOutlinedColorPrimary: string;
|
|
72
|
+
/** Styles applied to the deleteIcon element if `color="secondary"` and `variant="outlined"`. */
|
|
73
|
+
deleteIconOutlinedColorSecondary: string;
|
|
74
|
+
/** State class applied to the root element if keyboard focused. */
|
|
75
|
+
focusVisible: string;
|
|
76
|
+
}
|
|
77
|
+
export declare type ChipClassKey = keyof ChipClasses;
|
|
78
|
+
export declare function getChipUtilityClass(slot: string): string;
|
|
79
|
+
declare const chipClasses: ChipClasses;
|
|
80
|
+
export default chipClasses;
|