@mui/material 5.15.19 → 5.15.20
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/Autocomplete/Autocomplete.js +9 -17
- package/CHANGELOG.md +43 -2
- package/Tab/Tab.js +3 -1
- package/Tab/tabClasses.d.ts +1 -1
- package/index.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +5 -9
- package/legacy/Tab/Tab.js +5 -5
- package/legacy/index.js +1 -1
- package/modern/Autocomplete/Autocomplete.js +9 -17
- package/modern/Tab/Tab.js +3 -1
- package/modern/index.js +1 -1
- package/node/Autocomplete/Autocomplete.js +9 -17
- package/node/Tab/Tab.js +3 -1
- package/node/index.js +1 -1
- package/package.json +6 -6
- package/umd/material-ui.development.js +13 -19
- package/umd/material-ui.production.min.js +3 -3
|
@@ -92,6 +92,15 @@ const AutocompleteRoot = styled('div', {
|
|
|
92
92
|
}, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
93
93
|
}
|
|
94
94
|
})({
|
|
95
|
+
[`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]: {
|
|
96
|
+
visibility: 'visible'
|
|
97
|
+
},
|
|
98
|
+
/* Avoid double tap issue on iOS */
|
|
99
|
+
'@media (pointer: fine)': {
|
|
100
|
+
[`&:hover .${autocompleteClasses.clearIndicator}`]: {
|
|
101
|
+
visibility: 'visible'
|
|
102
|
+
}
|
|
103
|
+
},
|
|
95
104
|
[`& .${autocompleteClasses.tag}`]: {
|
|
96
105
|
margin: 3,
|
|
97
106
|
maxWidth: 'calc(100% - 6px)'
|
|
@@ -108,23 +117,6 @@ const AutocompleteRoot = styled('div', {
|
|
|
108
117
|
minWidth: 30
|
|
109
118
|
}
|
|
110
119
|
},
|
|
111
|
-
[`&.${autocompleteClasses.focused}`]: {
|
|
112
|
-
[`& .${autocompleteClasses.clearIndicator}`]: {
|
|
113
|
-
visibility: 'visible'
|
|
114
|
-
},
|
|
115
|
-
[`& .${autocompleteClasses.input}`]: {
|
|
116
|
-
minWidth: 0
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
/* Avoid double tap issue on iOS */
|
|
120
|
-
'@media (pointer: fine)': {
|
|
121
|
-
[`&:hover .${autocompleteClasses.clearIndicator}`]: {
|
|
122
|
-
visibility: 'visible'
|
|
123
|
-
},
|
|
124
|
-
[`&:hover .${autocompleteClasses.input}`]: {
|
|
125
|
-
minWidth: 0
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
120
|
[`& .${inputClasses.root}`]: {
|
|
129
121
|
paddingBottom: 1,
|
|
130
122
|
'& .MuiInput-input': {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## v5.15.20
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.15.19..master -->
|
|
6
|
+
|
|
7
|
+
_Jun 12, 2024_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 9 contributors who made this release possible.
|
|
10
|
+
|
|
11
|
+
### `@mui/material@5.15.20`
|
|
12
|
+
|
|
13
|
+
- ​<!-- 17 -->[Autocomplete] Shouldn't resize when hovering (@ZeeshanTamboli) (#42535) @ZeeshanTamboli
|
|
14
|
+
- ​<!-- 07 -->[Tab] Fix applying `iconWrapper` styles from theme and update its description (@sai6855) (#42570) @sai6855
|
|
15
|
+
|
|
16
|
+
### `@mui/utils@5.15.15`
|
|
17
|
+
|
|
18
|
+
- ​<!-- 06 -->Allow passing `NaN` as `defaultValue` to `useControlled` (@iammminzzy) (#42571) @iammminzzy
|
|
19
|
+
- ​<!-- 17 -->Fix GitHub-reported prototype pollution vulnerability in `deepmerge` (#41652) (#42608) @DiegoAndai
|
|
20
|
+
|
|
21
|
+
### Docs
|
|
22
|
+
|
|
23
|
+
- ​<!-- 16 -->[docs] Add Pigment CSS and Base UI logos SVGs (#42513) @danilo-leal
|
|
24
|
+
- ​<!-- 15 -->[docs] Update twitter.com to x.com @oliviertassinari
|
|
25
|
+
- ​<!-- 14 -->[docs] Simplify Example projects page @oliviertassinari
|
|
26
|
+
- ​<!-- 13 -->[material-ui] Add docs for complementary stepper components (@anle9650) (#42613) @anle9650
|
|
27
|
+
- ​<!-- 12 -->[docs] Add changelog section to the design kits page (@danilo-leal) (#42463) @danilo-leal
|
|
28
|
+
- ​<!-- 11 -->[material-ui] Fix sentence in the All components page (@danilo-leal) (#42462) @danilo-leal
|
|
29
|
+
- ​<!-- 10 -->[material-ui] Update Figma design kit doc redirect link (@danilo-leal) (#42456) @danilo-leal
|
|
30
|
+
- ​<!-- 09 -->[system] Add "dynamic values" section to sx prop page (@aarongarciah) (#42453) @aarongarciah
|
|
31
|
+
|
|
32
|
+
### Core
|
|
33
|
+
|
|
34
|
+
- ​<!-- 18 -->[website] Move the `React Engineer - X` role to future roles (#42532) @DanailH
|
|
35
|
+
- ​<!-- 08 -->[examples] Remove Pigment CSS examples (#42538) @sai6855
|
|
36
|
+
- ​<!-- 05 -->[website] Close Developer Advocate / Content Engineer role @oliviertassinari
|
|
37
|
+
- ​<!-- 04 -->[website] Update DoiT description and link in Sponsors section (@erezstmn-doit) (#42511) @erezstmn-doit
|
|
38
|
+
- ​<!-- 03 -->[website] Clean up the docs-infra job ad (@danilo-leal) (#42509) @danilo-leal
|
|
39
|
+
- ​<!-- 02 -->[website] Open the Docs-infra engineer role (@danilo-leal) (#42496) @danilo-leal
|
|
40
|
+
- ​<!-- 01 -->[website] Fix locationCountry in about page @oliviertassinari
|
|
41
|
+
|
|
42
|
+
All contributors of this release in alphabetical order: @aarongarciah, @anle9650, @DanailH, @danilo-leal, @erezstmn-doit, @iammminzzy, @oliviertassinari, @sai6855, @ZeeshanTamboli
|
|
43
|
+
|
|
3
44
|
## v5.15.19
|
|
4
45
|
|
|
5
46
|
<!-- generated comparing v5.15.18..master -->
|
|
@@ -8376,7 +8417,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
|
|
|
8376
8417
|
|
|
8377
8418
|
- ​<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
|
|
8378
8419
|
|
|
8379
|
-
Based on the results of the [poll](https://
|
|
8420
|
+
Based on the results of the [poll](https://x.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
|
|
8380
8421
|
|
|
8381
8422
|
The new name better reflects the purpose of the package: it contains unstyled components, hooks, and utilities that serve as a **base** to build on.
|
|
8382
8423
|
|
|
@@ -12793,7 +12834,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
|
|
|
12793
12834
|
```
|
|
12794
12835
|
|
|
12795
12836
|
- [Autocomplete] Remove `debug` in favor of `open` and dev tools (#23377) @eps1lon
|
|
12796
|
-
There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://
|
|
12837
|
+
There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://x.com/sulco/status/1305841873945272321), or React devtools props.
|
|
12797
12838
|
|
|
12798
12839
|
#### Changes
|
|
12799
12840
|
|
package/Tab/Tab.js
CHANGED
|
@@ -38,7 +38,9 @@ const TabRoot = styled(ButtonBase, {
|
|
|
38
38
|
const {
|
|
39
39
|
ownerState
|
|
40
40
|
} = props;
|
|
41
|
-
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped
|
|
41
|
+
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {
|
|
42
|
+
[`& .${tabClasses.iconWrapper}`]: styles.iconWrapper
|
|
43
|
+
}];
|
|
42
44
|
}
|
|
43
45
|
})(({
|
|
44
46
|
theme,
|
package/Tab/tabClasses.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface TabClasses {
|
|
|
17
17
|
fullWidth: string;
|
|
18
18
|
/** Styles applied to the root element if `wrapped={true}`. */
|
|
19
19
|
wrapped: string;
|
|
20
|
-
/** Styles applied to the
|
|
20
|
+
/** Styles applied to the `icon` HTML element if both `icon` and `label` are provided. */
|
|
21
21
|
iconWrapper: string;
|
|
22
22
|
}
|
|
23
23
|
export type TabClassKey = keyof TabClasses;
|
package/index.js
CHANGED
|
@@ -72,7 +72,11 @@ var AutocompleteRoot = styled('div', {
|
|
|
72
72
|
size = ownerState.size;
|
|
73
73
|
return [_defineProperty({}, "& .".concat(autocompleteClasses.tag), styles.tag), _defineProperty({}, "& .".concat(autocompleteClasses.tag), styles["tagSize".concat(capitalize(size))]), _defineProperty({}, "& .".concat(autocompleteClasses.inputRoot), styles.inputRoot), _defineProperty({}, "& .".concat(autocompleteClasses.input), styles.input), _defineProperty({}, "& .".concat(autocompleteClasses.input), inputFocused && styles.inputFocused), styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
74
74
|
}
|
|
75
|
-
})((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "
|
|
75
|
+
})((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "&.".concat(autocompleteClasses.focused, " .").concat(autocompleteClasses.clearIndicator), {
|
|
76
|
+
visibility: 'visible'
|
|
77
|
+
}), '@media (pointer: fine)', _defineProperty({}, "&:hover .".concat(autocompleteClasses.clearIndicator), {
|
|
78
|
+
visibility: 'visible'
|
|
79
|
+
})), "& .".concat(autocompleteClasses.tag), {
|
|
76
80
|
margin: 3,
|
|
77
81
|
maxWidth: 'calc(100% - 6px)'
|
|
78
82
|
}), "& .".concat(autocompleteClasses.inputRoot), _defineProperty(_defineProperty(_defineProperty({}, ".".concat(autocompleteClasses.hasPopupIcon, "&, .").concat(autocompleteClasses.hasClearIcon, "&"), {
|
|
@@ -82,14 +86,6 @@ var AutocompleteRoot = styled('div', {
|
|
|
82
86
|
}), "& .".concat(autocompleteClasses.input), {
|
|
83
87
|
width: 0,
|
|
84
88
|
minWidth: 30
|
|
85
|
-
})), "&.".concat(autocompleteClasses.focused), _defineProperty(_defineProperty({}, "& .".concat(autocompleteClasses.clearIndicator), {
|
|
86
|
-
visibility: 'visible'
|
|
87
|
-
}), "& .".concat(autocompleteClasses.input), {
|
|
88
|
-
minWidth: 0
|
|
89
|
-
})), '@media (pointer: fine)', _defineProperty(_defineProperty({}, "&:hover .".concat(autocompleteClasses.clearIndicator), {
|
|
90
|
-
visibility: 'visible'
|
|
91
|
-
}), "&:hover .".concat(autocompleteClasses.input), {
|
|
92
|
-
minWidth: 0
|
|
93
89
|
})), "& .".concat(inputClasses.root), {
|
|
94
90
|
paddingBottom: 1,
|
|
95
91
|
'& .MuiInput-input': {
|
package/legacy/Tab/Tab.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
4
|
-
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
5
4
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
5
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
@@ -34,11 +34,11 @@ var TabRoot = styled(ButtonBase, {
|
|
|
34
34
|
slot: 'Root',
|
|
35
35
|
overridesResolver: function overridesResolver(props, styles) {
|
|
36
36
|
var ownerState = props.ownerState;
|
|
37
|
-
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles["textColor".concat(capitalize(ownerState.textColor))], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped];
|
|
37
|
+
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles["textColor".concat(capitalize(ownerState.textColor))], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, _defineProperty({}, "& .".concat(tabClasses.iconWrapper), styles.iconWrapper)];
|
|
38
38
|
}
|
|
39
|
-
})(function (
|
|
40
|
-
var theme =
|
|
41
|
-
ownerState =
|
|
39
|
+
})(function (_ref2) {
|
|
40
|
+
var theme = _ref2.theme,
|
|
41
|
+
ownerState = _ref2.ownerState;
|
|
42
42
|
return _extends({}, theme.typography.button, {
|
|
43
43
|
maxWidth: 360,
|
|
44
44
|
minWidth: 90,
|
package/legacy/index.js
CHANGED
|
@@ -92,6 +92,15 @@ const AutocompleteRoot = styled('div', {
|
|
|
92
92
|
}, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
93
93
|
}
|
|
94
94
|
})({
|
|
95
|
+
[`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]: {
|
|
96
|
+
visibility: 'visible'
|
|
97
|
+
},
|
|
98
|
+
/* Avoid double tap issue on iOS */
|
|
99
|
+
'@media (pointer: fine)': {
|
|
100
|
+
[`&:hover .${autocompleteClasses.clearIndicator}`]: {
|
|
101
|
+
visibility: 'visible'
|
|
102
|
+
}
|
|
103
|
+
},
|
|
95
104
|
[`& .${autocompleteClasses.tag}`]: {
|
|
96
105
|
margin: 3,
|
|
97
106
|
maxWidth: 'calc(100% - 6px)'
|
|
@@ -108,23 +117,6 @@ const AutocompleteRoot = styled('div', {
|
|
|
108
117
|
minWidth: 30
|
|
109
118
|
}
|
|
110
119
|
},
|
|
111
|
-
[`&.${autocompleteClasses.focused}`]: {
|
|
112
|
-
[`& .${autocompleteClasses.clearIndicator}`]: {
|
|
113
|
-
visibility: 'visible'
|
|
114
|
-
},
|
|
115
|
-
[`& .${autocompleteClasses.input}`]: {
|
|
116
|
-
minWidth: 0
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
/* Avoid double tap issue on iOS */
|
|
120
|
-
'@media (pointer: fine)': {
|
|
121
|
-
[`&:hover .${autocompleteClasses.clearIndicator}`]: {
|
|
122
|
-
visibility: 'visible'
|
|
123
|
-
},
|
|
124
|
-
[`&:hover .${autocompleteClasses.input}`]: {
|
|
125
|
-
minWidth: 0
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
120
|
[`& .${inputClasses.root}`]: {
|
|
129
121
|
paddingBottom: 1,
|
|
130
122
|
'& .MuiInput-input': {
|
package/modern/Tab/Tab.js
CHANGED
|
@@ -38,7 +38,9 @@ const TabRoot = styled(ButtonBase, {
|
|
|
38
38
|
const {
|
|
39
39
|
ownerState
|
|
40
40
|
} = props;
|
|
41
|
-
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped
|
|
41
|
+
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${capitalize(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {
|
|
42
|
+
[`& .${tabClasses.iconWrapper}`]: styles.iconWrapper
|
|
43
|
+
}];
|
|
42
44
|
}
|
|
43
45
|
})(({
|
|
44
46
|
theme,
|
package/modern/index.js
CHANGED
|
@@ -105,6 +105,15 @@ const AutocompleteRoot = (0, _zeroStyled.styled)('div', {
|
|
|
105
105
|
}, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
106
106
|
}
|
|
107
107
|
})({
|
|
108
|
+
[`&.${_autocompleteClasses.default.focused} .${_autocompleteClasses.default.clearIndicator}`]: {
|
|
109
|
+
visibility: 'visible'
|
|
110
|
+
},
|
|
111
|
+
/* Avoid double tap issue on iOS */
|
|
112
|
+
'@media (pointer: fine)': {
|
|
113
|
+
[`&:hover .${_autocompleteClasses.default.clearIndicator}`]: {
|
|
114
|
+
visibility: 'visible'
|
|
115
|
+
}
|
|
116
|
+
},
|
|
108
117
|
[`& .${_autocompleteClasses.default.tag}`]: {
|
|
109
118
|
margin: 3,
|
|
110
119
|
maxWidth: 'calc(100% - 6px)'
|
|
@@ -121,23 +130,6 @@ const AutocompleteRoot = (0, _zeroStyled.styled)('div', {
|
|
|
121
130
|
minWidth: 30
|
|
122
131
|
}
|
|
123
132
|
},
|
|
124
|
-
[`&.${_autocompleteClasses.default.focused}`]: {
|
|
125
|
-
[`& .${_autocompleteClasses.default.clearIndicator}`]: {
|
|
126
|
-
visibility: 'visible'
|
|
127
|
-
},
|
|
128
|
-
[`& .${_autocompleteClasses.default.input}`]: {
|
|
129
|
-
minWidth: 0
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
/* Avoid double tap issue on iOS */
|
|
133
|
-
'@media (pointer: fine)': {
|
|
134
|
-
[`&:hover .${_autocompleteClasses.default.clearIndicator}`]: {
|
|
135
|
-
visibility: 'visible'
|
|
136
|
-
},
|
|
137
|
-
[`&:hover .${_autocompleteClasses.default.input}`]: {
|
|
138
|
-
minWidth: 0
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
133
|
[`& .${_inputClasses.default.root}`]: {
|
|
142
134
|
paddingBottom: 1,
|
|
143
135
|
'& .MuiInput-input': {
|
package/node/Tab/Tab.js
CHANGED
|
@@ -46,7 +46,9 @@ const TabRoot = (0, _styled.default)(_ButtonBase.default, {
|
|
|
46
46
|
const {
|
|
47
47
|
ownerState
|
|
48
48
|
} = props;
|
|
49
|
-
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${(0, _capitalize.default)(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped
|
|
49
|
+
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles[`textColor${(0, _capitalize.default)(ownerState.textColor)}`], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, {
|
|
50
|
+
[`& .${_tabClasses.default.iconWrapper}`]: styles.iconWrapper
|
|
51
|
+
}];
|
|
50
52
|
}
|
|
51
53
|
})(({
|
|
52
54
|
theme,
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material",
|
|
3
|
-
"version": "5.15.
|
|
3
|
+
"version": "5.15.20",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"prop-types": "^15.8.1",
|
|
35
35
|
"react-is": "^18.2.0",
|
|
36
36
|
"react-transition-group": "^4.4.5",
|
|
37
|
-
"@mui/
|
|
38
|
-
"@mui/
|
|
39
|
-
"@mui/
|
|
40
|
-
"@mui/
|
|
41
|
-
"@mui/
|
|
37
|
+
"@mui/system": "^5.15.20",
|
|
38
|
+
"@mui/types": "^7.2.14",
|
|
39
|
+
"@mui/utils": "^5.15.20",
|
|
40
|
+
"@mui/core-downloads-tracker": "^5.15.20",
|
|
41
|
+
"@mui/base": "5.0.0-beta.40"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@emotion/react": "^11.5.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.15.
|
|
2
|
+
* @mui/material v5.15.20
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -5065,11 +5065,9 @@
|
|
|
5065
5065
|
var output = options.clone ? _extends({}, target) : target;
|
|
5066
5066
|
if (isPlainObject(target) && isPlainObject(source)) {
|
|
5067
5067
|
Object.keys(source).forEach(function (key) {
|
|
5068
|
+
if (isPlainObject(source[key]) &&
|
|
5068
5069
|
// Avoid prototype pollution
|
|
5069
|
-
|
|
5070
|
-
return;
|
|
5071
|
-
}
|
|
5072
|
-
if (isPlainObject(source[key]) && key in target && isPlainObject(target[key])) {
|
|
5070
|
+
Object.prototype.hasOwnProperty.call(target, key) && isPlainObject(target[key])) {
|
|
5073
5071
|
// Since `output` is a clone of `target` and we have narrowed `target` in this block we can cast to the same type.
|
|
5074
5072
|
output[key] = deepmerge(target[key], source[key], options);
|
|
5075
5073
|
} else if (options.clone) {
|
|
@@ -7978,7 +7976,7 @@
|
|
|
7978
7976
|
var _React$useRef2 = React__namespace.useRef(defaultProp),
|
|
7979
7977
|
defaultValue = _React$useRef2.current;
|
|
7980
7978
|
React__namespace.useEffect(function () {
|
|
7981
|
-
if (!isControlled && defaultValue
|
|
7979
|
+
if (!isControlled && !Object.is(defaultValue, defaultProp)) {
|
|
7982
7980
|
console.error(["MUI: A component is changing the default ".concat(state, " state of an uncontrolled ").concat(name, " after being initialized. ") + "To suppress this warning opt to use a controlled ".concat(name, ".")].join('\n'));
|
|
7983
7981
|
}
|
|
7984
7982
|
}, [JSON.stringify(defaultProp)]);
|
|
@@ -23048,7 +23046,11 @@
|
|
|
23048
23046
|
size = ownerState.size;
|
|
23049
23047
|
return [_defineProperty({}, "& .".concat(autocompleteClasses$1.tag), styles.tag), _defineProperty({}, "& .".concat(autocompleteClasses$1.tag), styles["tagSize".concat(capitalize(size))]), _defineProperty({}, "& .".concat(autocompleteClasses$1.inputRoot), styles.inputRoot), _defineProperty({}, "& .".concat(autocompleteClasses$1.input), styles.input), _defineProperty({}, "& .".concat(autocompleteClasses$1.input), inputFocused && styles.inputFocused), styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
23050
23048
|
}
|
|
23051
|
-
})((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "
|
|
23049
|
+
})((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "&.".concat(autocompleteClasses$1.focused, " .").concat(autocompleteClasses$1.clearIndicator), {
|
|
23050
|
+
visibility: 'visible'
|
|
23051
|
+
}), '@media (pointer: fine)', _defineProperty({}, "&:hover .".concat(autocompleteClasses$1.clearIndicator), {
|
|
23052
|
+
visibility: 'visible'
|
|
23053
|
+
})), "& .".concat(autocompleteClasses$1.tag), {
|
|
23052
23054
|
margin: 3,
|
|
23053
23055
|
maxWidth: 'calc(100% - 6px)'
|
|
23054
23056
|
}), "& .".concat(autocompleteClasses$1.inputRoot), _defineProperty(_defineProperty(_defineProperty({}, ".".concat(autocompleteClasses$1.hasPopupIcon, "&, .").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
@@ -23058,14 +23060,6 @@
|
|
|
23058
23060
|
}), "& .".concat(autocompleteClasses$1.input), {
|
|
23059
23061
|
width: 0,
|
|
23060
23062
|
minWidth: 30
|
|
23061
|
-
})), "&.".concat(autocompleteClasses$1.focused), _defineProperty(_defineProperty({}, "& .".concat(autocompleteClasses$1.clearIndicator), {
|
|
23062
|
-
visibility: 'visible'
|
|
23063
|
-
}), "& .".concat(autocompleteClasses$1.input), {
|
|
23064
|
-
minWidth: 0
|
|
23065
|
-
})), '@media (pointer: fine)', _defineProperty(_defineProperty({}, "&:hover .".concat(autocompleteClasses$1.clearIndicator), {
|
|
23066
|
-
visibility: 'visible'
|
|
23067
|
-
}), "&:hover .".concat(autocompleteClasses$1.input), {
|
|
23068
|
-
minWidth: 0
|
|
23069
23063
|
})), "& .".concat(inputClasses$1.root), {
|
|
23070
23064
|
paddingBottom: 1,
|
|
23071
23065
|
'& .MuiInput-input': {
|
|
@@ -46846,11 +46840,11 @@
|
|
|
46846
46840
|
slot: 'Root',
|
|
46847
46841
|
overridesResolver: function overridesResolver(props, styles) {
|
|
46848
46842
|
var ownerState = props.ownerState;
|
|
46849
|
-
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles["textColor".concat(capitalize(ownerState.textColor))], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped];
|
|
46843
|
+
return [styles.root, ownerState.label && ownerState.icon && styles.labelIcon, styles["textColor".concat(capitalize(ownerState.textColor))], ownerState.fullWidth && styles.fullWidth, ownerState.wrapped && styles.wrapped, _defineProperty({}, "& .".concat(tabClasses$1.iconWrapper), styles.iconWrapper)];
|
|
46850
46844
|
}
|
|
46851
|
-
})(function (
|
|
46852
|
-
var theme =
|
|
46853
|
-
ownerState =
|
|
46845
|
+
})(function (_ref2) {
|
|
46846
|
+
var theme = _ref2.theme,
|
|
46847
|
+
ownerState = _ref2.ownerState;
|
|
46854
46848
|
return _extends({}, theme.typography.button, {
|
|
46855
46849
|
maxWidth: 360,
|
|
46856
46850
|
minWidth: 90,
|