@mui/material 5.14.15 → 5.14.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/CHANGELOG.md +61 -0
- package/GlobalStyles/index.js +0 -2
- package/OutlinedInput/NotchedOutline.js +7 -3
- package/Radio/RadioButtonIcon.js +4 -2
- package/SwipeableDrawer/SwipeArea.js +4 -2
- package/index.js +3 -2
- package/internal/SwitchBase.js +4 -2
- package/legacy/GlobalStyles/index.js +0 -2
- package/legacy/OutlinedInput/NotchedOutline.js +7 -3
- package/legacy/Radio/RadioButtonIcon.js +4 -2
- package/legacy/SwipeableDrawer/SwipeArea.js +4 -2
- package/legacy/index.js +3 -2
- package/legacy/internal/SwitchBase.js +4 -2
- package/modern/GlobalStyles/index.js +0 -2
- package/modern/OutlinedInput/NotchedOutline.js +7 -3
- package/modern/Radio/RadioButtonIcon.js +4 -2
- package/modern/SwipeableDrawer/SwipeArea.js +4 -2
- package/modern/index.js +3 -2
- package/modern/internal/SwitchBase.js +4 -2
- package/node/GlobalStyles/index.js +0 -1
- package/node/OutlinedInput/NotchedOutline.js +7 -3
- package/node/Radio/RadioButtonIcon.js +4 -2
- package/node/SwipeableDrawer/SwipeArea.js +4 -2
- package/node/index.js +1 -8
- package/node/internal/SwitchBase.js +4 -2
- package/package.json +7 -7
- package/umd/material-ui.development.js +17 -7
- package/umd/material-ui.production.min.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.14.16
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.14.15..master -->
|
|
6
|
+
|
|
7
|
+
_Oct 31, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- ✨ New highly requested Joy UI component: [Snackbar](https://mui.com/joy-ui/react-snackbar) (#38801) @ZeeshanTamboli
|
|
12
|
+
|
|
13
|
+
### `@mui/material@5.14.16`
|
|
14
|
+
|
|
15
|
+
- ​<!-- 03 -->Fix ownerstate being propagated to DOM node when using styled-components v6 (#39586) @mnajdova
|
|
16
|
+
|
|
17
|
+
### `@mui/base@5.0.0-beta.22`
|
|
18
|
+
|
|
19
|
+
- ​<!-- 28 -->[Autocomplete] Standardize box shadow on demos (#39519) @zanivan
|
|
20
|
+
- ​<!-- 27 -->[useSelect] Support browser autofill (#39595) @DiegoAndai
|
|
21
|
+
- ​<!-- 30 -->[base-ui] Fix mergeSlotProps className join order (#39616) @mj12albert
|
|
22
|
+
|
|
23
|
+
### `@mui/joy@5.0.0-beta.13`
|
|
24
|
+
|
|
25
|
+
- ​<!-- 29 -->[Accordion] Add type button to accordion
|
|
26
|
+
- ​<!-- 28 -->[Card] Fix CardOverflow in nested cards (#39668) @siriwatknp summary (#39532) @Popppins
|
|
27
|
+
- ​<!-- 08 -->[Menu] Fix closing of listbox in `MenuList` demo (#39459) @sai6855
|
|
28
|
+
- ​<!-- 07 -->[Progress] Revamp Linear and Circular progress variants (#39492) @zanivan
|
|
29
|
+
- ​<!-- 06 -->[Select] Support selection of `multiple` options (#39454) @sai6855
|
|
30
|
+
- ​<!-- 05 -->[Textarea] Add ref usage instructions (#39615) @danilo-leal
|
|
31
|
+
- ​<!-- 10 --> Fix sticky hover media query issue on mobile (#37467) @gitstart
|
|
32
|
+
- ​<!-- 09 --> Add Snackbar component (#38801) @ZeeshanTamboli
|
|
33
|
+
|
|
34
|
+
### `@mui/material-next@6.0.0-alpha.108`
|
|
35
|
+
|
|
36
|
+
- ​<!-- 04 -->[theme] Update Material You typescale tokens (#39514) @mj12albert
|
|
37
|
+
|
|
38
|
+
### Docs
|
|
39
|
+
|
|
40
|
+
- ​<!-- 22 -->Fix 301 link to Primer design system @oliviertassinari
|
|
41
|
+
- ​<!-- 19 -->[joy-ui] Revise the CSS vars page (#39335) @danilo-leal
|
|
42
|
+
- ​<!-- 18 -->[joy-ui] Add docs for changing styles based on states (#39597) @siriwatknp
|
|
43
|
+
- ​<!-- 17 -->[joy-ui] Fix wrong messages (#39602) @siriwatknp
|
|
44
|
+
- ​<!-- 16 -->[material-ui] Include link to bundler how-to for Styled Components users (#39620) @jcoyle37
|
|
45
|
+
- ​<!-- 15 -->[material-ui] Improve Dialog demos (#39642) @ZeeshanTamboli
|
|
46
|
+
- ​<!-- 14 -->[material-ui] Add stray design fine-tuning to the example collection (#39581) @danilo-leal
|
|
47
|
+
- ​<!-- 13 -->[system] Clean up `@mui/styles` docs and discourage users from installing it (#39644) @samuelsycamore
|
|
48
|
+
- ​<!-- 12 -->[examples] Upgrade Remix to v2 (#39229) @Nkzn
|
|
49
|
+
- ​<!-- 11 -->[examples][material-ui] Remove hardcoded `color="black"` from Next.js App Router layout (#39577) @samuelsycamore
|
|
50
|
+
|
|
51
|
+
### Core
|
|
52
|
+
|
|
53
|
+
- ​<!-- 26 -->[core] Setup vale for enforcing style guides (#39633) @alexfauquette
|
|
54
|
+
- ​<!-- 25 -->[core] Remove unused use client (#38967) @oliviertassinari
|
|
55
|
+
- ​<!-- 24 -->[core] Remove duplicate export (#39346) @oliviertassinari
|
|
56
|
+
- ​<!-- 23 -->[core] Remove not used `@types/loader-utils` package from `zero-next-plugin` (#39609) @ZeeshanTamboli
|
|
57
|
+
- ​<!-- 21 -->[docs-infra] Add meta charset in codesandbox examples (#39424) @Janpot
|
|
58
|
+
- ​<!-- 20 -->[docs-infra] Fix settings drawer accessibility issues (#39589) @emamoah
|
|
59
|
+
- ​<!-- 02 -->[website] Add stray adjustments and clean-ups (#39673) @danilo-leal
|
|
60
|
+
- ​<!-- 01 -->[website] Open the `Design Engineer - xGrid` role (#39375) @DanailH
|
|
61
|
+
|
|
62
|
+
All contributors of this release in alphabetical order: @alexfauquette, @Best-Sardar, @DanailH, @danilo-leal, @DiegoAndai, @emamoah, @gitstart, @Janpot, @jcoyle37, @mj12albert, @mnajdova, @Nkzn, @oliviertassinari, @Popppins, @sai6855, @samuelsycamore, @siriwatknp, @zanivan, @ZeeshanTamboli
|
|
63
|
+
|
|
3
64
|
## 5.14.15
|
|
4
65
|
|
|
5
66
|
<!-- generated comparing v5.14.14..master -->
|
package/GlobalStyles/index.js
CHANGED
|
@@ -6,9 +6,11 @@ var _span;
|
|
|
6
6
|
const _excluded = ["children", "classes", "className", "label", "notched"];
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import styled from '../styles/styled';
|
|
9
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
const NotchedOutlineRoot = styled('fieldset'
|
|
11
|
+
const NotchedOutlineRoot = styled('fieldset', {
|
|
12
|
+
shouldForwardProp: rootShouldForwardProp
|
|
13
|
+
})({
|
|
12
14
|
textAlign: 'left',
|
|
13
15
|
position: 'absolute',
|
|
14
16
|
bottom: 0,
|
|
@@ -24,7 +26,9 @@ const NotchedOutlineRoot = styled('fieldset')({
|
|
|
24
26
|
overflow: 'hidden',
|
|
25
27
|
minWidth: '0%'
|
|
26
28
|
});
|
|
27
|
-
const NotchedOutlineLegend = styled('legend'
|
|
29
|
+
const NotchedOutlineLegend = styled('legend', {
|
|
30
|
+
shouldForwardProp: rootShouldForwardProp
|
|
31
|
+
})(({
|
|
28
32
|
ownerState,
|
|
29
33
|
theme
|
|
30
34
|
}) => _extends({
|
package/Radio/RadioButtonIcon.js
CHANGED
|
@@ -5,10 +5,12 @@ import * as React from 'react';
|
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import RadioButtonUncheckedIcon from '../internal/svg-icons/RadioButtonUnchecked';
|
|
7
7
|
import RadioButtonCheckedIcon from '../internal/svg-icons/RadioButtonChecked';
|
|
8
|
-
import styled from '../styles/styled';
|
|
8
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
const RadioButtonIconRoot = styled('span'
|
|
11
|
+
const RadioButtonIconRoot = styled('span', {
|
|
12
|
+
shouldForwardProp: rootShouldForwardProp
|
|
13
|
+
})({
|
|
12
14
|
position: 'relative',
|
|
13
15
|
display: 'flex'
|
|
14
16
|
});
|
|
@@ -6,11 +6,13 @@ const _excluded = ["anchor", "classes", "className", "width", "style"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import styled from '../styles/styled';
|
|
9
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
10
10
|
import capitalize from '../utils/capitalize';
|
|
11
11
|
import { isHorizontal } from '../Drawer/Drawer';
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
const SwipeAreaRoot = styled('div'
|
|
13
|
+
const SwipeAreaRoot = styled('div', {
|
|
14
|
+
shouldForwardProp: rootShouldForwardProp
|
|
15
|
+
})(({
|
|
14
16
|
theme,
|
|
15
17
|
ownerState
|
|
16
18
|
}) => _extends({
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.14.
|
|
2
|
+
* @mui/material v5.14.16
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
import * as colors from './colors';
|
|
12
12
|
export { colors };
|
|
13
13
|
export * from './styles';
|
|
14
|
+
|
|
15
|
+
// TODO remove, import directly from Base UI or create one folder per module
|
|
14
16
|
export * from './utils';
|
|
15
17
|
export { default as Accordion } from './Accordion';
|
|
16
18
|
export * from './Accordion';
|
|
@@ -281,7 +283,6 @@ export * from './Zoom';
|
|
|
281
283
|
export { default as useAutocomplete } from './useAutocomplete';
|
|
282
284
|
export { default as GlobalStyles } from './GlobalStyles';
|
|
283
285
|
export * from './GlobalStyles';
|
|
284
|
-
export { StyledEngineProvider } from './styles';
|
|
285
286
|
export { unstable_composeClasses } from '@mui/base/composeClasses';
|
|
286
287
|
export { default as generateUtilityClass } from './generateUtilityClass';
|
|
287
288
|
export * from './generateUtilityClass';
|
package/internal/SwitchBase.js
CHANGED
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import { refType } from '@mui/utils';
|
|
10
10
|
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
|
-
import styled from '../styles/styled';
|
|
12
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
13
13
|
import useControlled from '../utils/useControlled';
|
|
14
14
|
import useFormControl from '../FormControl/useFormControl';
|
|
15
15
|
import ButtonBase from '../ButtonBase';
|
|
@@ -39,7 +39,9 @@ const SwitchBaseRoot = styled(ButtonBase)(({
|
|
|
39
39
|
}, ownerState.edge === 'end' && {
|
|
40
40
|
marginRight: ownerState.size === 'small' ? -3 : -12
|
|
41
41
|
}));
|
|
42
|
-
const SwitchBaseInput = styled('input'
|
|
42
|
+
const SwitchBaseInput = styled('input', {
|
|
43
|
+
shouldForwardProp: rootShouldForwardProp
|
|
44
|
+
})({
|
|
43
45
|
cursor: 'inherit',
|
|
44
46
|
position: 'absolute',
|
|
45
47
|
opacity: 0,
|
|
@@ -5,9 +5,11 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
5
5
|
var _span;
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
|
-
import styled from '../styles/styled';
|
|
8
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
var NotchedOutlineRoot = styled('fieldset'
|
|
10
|
+
var NotchedOutlineRoot = styled('fieldset', {
|
|
11
|
+
shouldForwardProp: rootShouldForwardProp
|
|
12
|
+
})({
|
|
11
13
|
textAlign: 'left',
|
|
12
14
|
position: 'absolute',
|
|
13
15
|
bottom: 0,
|
|
@@ -23,7 +25,9 @@ var NotchedOutlineRoot = styled('fieldset')({
|
|
|
23
25
|
overflow: 'hidden',
|
|
24
26
|
minWidth: '0%'
|
|
25
27
|
});
|
|
26
|
-
var NotchedOutlineLegend = styled('legend'
|
|
28
|
+
var NotchedOutlineLegend = styled('legend', {
|
|
29
|
+
shouldForwardProp: rootShouldForwardProp
|
|
30
|
+
})(function (_ref) {
|
|
27
31
|
var ownerState = _ref.ownerState,
|
|
28
32
|
theme = _ref.theme;
|
|
29
33
|
return _extends({
|
|
@@ -5,10 +5,12 @@ import * as React from 'react';
|
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import RadioButtonUncheckedIcon from '../internal/svg-icons/RadioButtonUnchecked';
|
|
7
7
|
import RadioButtonCheckedIcon from '../internal/svg-icons/RadioButtonChecked';
|
|
8
|
-
import styled from '../styles/styled';
|
|
8
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
var RadioButtonIconRoot = styled('span'
|
|
11
|
+
var RadioButtonIconRoot = styled('span', {
|
|
12
|
+
shouldForwardProp: rootShouldForwardProp
|
|
13
|
+
})({
|
|
12
14
|
position: 'relative',
|
|
13
15
|
display: 'flex'
|
|
14
16
|
});
|
|
@@ -6,11 +6,13 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import styled from '../styles/styled';
|
|
9
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
10
10
|
import capitalize from '../utils/capitalize';
|
|
11
11
|
import { isHorizontal } from '../Drawer/Drawer';
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
var SwipeAreaRoot = styled('div'
|
|
13
|
+
var SwipeAreaRoot = styled('div', {
|
|
14
|
+
shouldForwardProp: rootShouldForwardProp
|
|
15
|
+
})(function (_ref) {
|
|
14
16
|
var theme = _ref.theme,
|
|
15
17
|
ownerState = _ref.ownerState;
|
|
16
18
|
return _extends({
|
package/legacy/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.14.
|
|
2
|
+
* @mui/material v5.14.16
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
import * as colors from './colors';
|
|
12
12
|
export { colors };
|
|
13
13
|
export * from './styles';
|
|
14
|
+
|
|
15
|
+
// TODO remove, import directly from Base UI or create one folder per module
|
|
14
16
|
export * from './utils';
|
|
15
17
|
export { default as Accordion } from './Accordion';
|
|
16
18
|
export * from './Accordion';
|
|
@@ -281,7 +283,6 @@ export * from './Zoom';
|
|
|
281
283
|
export { default as useAutocomplete } from './useAutocomplete';
|
|
282
284
|
export { default as GlobalStyles } from './GlobalStyles';
|
|
283
285
|
export * from './GlobalStyles';
|
|
284
|
-
export { StyledEngineProvider } from './styles';
|
|
285
286
|
export { unstable_composeClasses } from '@mui/base/composeClasses';
|
|
286
287
|
export { default as generateUtilityClass } from './generateUtilityClass';
|
|
287
288
|
export * from './generateUtilityClass';
|
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import { refType } from '@mui/utils';
|
|
10
10
|
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
|
-
import styled from '../styles/styled';
|
|
12
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
13
13
|
import useControlled from '../utils/useControlled';
|
|
14
14
|
import useFormControl from '../FormControl/useFormControl';
|
|
15
15
|
import ButtonBase from '../ButtonBase';
|
|
@@ -38,7 +38,9 @@ var SwitchBaseRoot = styled(ButtonBase)(function (_ref) {
|
|
|
38
38
|
marginRight: ownerState.size === 'small' ? -3 : -12
|
|
39
39
|
});
|
|
40
40
|
});
|
|
41
|
-
var SwitchBaseInput = styled('input'
|
|
41
|
+
var SwitchBaseInput = styled('input', {
|
|
42
|
+
shouldForwardProp: rootShouldForwardProp
|
|
43
|
+
})({
|
|
42
44
|
cursor: 'inherit',
|
|
43
45
|
position: 'absolute',
|
|
44
46
|
opacity: 0,
|
|
@@ -6,9 +6,11 @@ var _span;
|
|
|
6
6
|
const _excluded = ["children", "classes", "className", "label", "notched"];
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import styled from '../styles/styled';
|
|
9
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
const NotchedOutlineRoot = styled('fieldset'
|
|
11
|
+
const NotchedOutlineRoot = styled('fieldset', {
|
|
12
|
+
shouldForwardProp: rootShouldForwardProp
|
|
13
|
+
})({
|
|
12
14
|
textAlign: 'left',
|
|
13
15
|
position: 'absolute',
|
|
14
16
|
bottom: 0,
|
|
@@ -24,7 +26,9 @@ const NotchedOutlineRoot = styled('fieldset')({
|
|
|
24
26
|
overflow: 'hidden',
|
|
25
27
|
minWidth: '0%'
|
|
26
28
|
});
|
|
27
|
-
const NotchedOutlineLegend = styled('legend'
|
|
29
|
+
const NotchedOutlineLegend = styled('legend', {
|
|
30
|
+
shouldForwardProp: rootShouldForwardProp
|
|
31
|
+
})(({
|
|
28
32
|
ownerState,
|
|
29
33
|
theme
|
|
30
34
|
}) => _extends({
|
|
@@ -5,10 +5,12 @@ import * as React from 'react';
|
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import RadioButtonUncheckedIcon from '../internal/svg-icons/RadioButtonUnchecked';
|
|
7
7
|
import RadioButtonCheckedIcon from '../internal/svg-icons/RadioButtonChecked';
|
|
8
|
-
import styled from '../styles/styled';
|
|
8
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
const RadioButtonIconRoot = styled('span'
|
|
11
|
+
const RadioButtonIconRoot = styled('span', {
|
|
12
|
+
shouldForwardProp: rootShouldForwardProp
|
|
13
|
+
})({
|
|
12
14
|
position: 'relative',
|
|
13
15
|
display: 'flex'
|
|
14
16
|
});
|
|
@@ -6,11 +6,13 @@ const _excluded = ["anchor", "classes", "className", "width", "style"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import styled from '../styles/styled';
|
|
9
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
10
10
|
import capitalize from '../utils/capitalize';
|
|
11
11
|
import { isHorizontal } from '../Drawer/Drawer';
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
const SwipeAreaRoot = styled('div'
|
|
13
|
+
const SwipeAreaRoot = styled('div', {
|
|
14
|
+
shouldForwardProp: rootShouldForwardProp
|
|
15
|
+
})(({
|
|
14
16
|
theme,
|
|
15
17
|
ownerState
|
|
16
18
|
}) => _extends({
|
package/modern/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.14.
|
|
2
|
+
* @mui/material v5.14.16
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
import * as colors from './colors';
|
|
12
12
|
export { colors };
|
|
13
13
|
export * from './styles';
|
|
14
|
+
|
|
15
|
+
// TODO remove, import directly from Base UI or create one folder per module
|
|
14
16
|
export * from './utils';
|
|
15
17
|
export { default as Accordion } from './Accordion';
|
|
16
18
|
export * from './Accordion';
|
|
@@ -281,7 +283,6 @@ export * from './Zoom';
|
|
|
281
283
|
export { default as useAutocomplete } from './useAutocomplete';
|
|
282
284
|
export { default as GlobalStyles } from './GlobalStyles';
|
|
283
285
|
export * from './GlobalStyles';
|
|
284
|
-
export { StyledEngineProvider } from './styles';
|
|
285
286
|
export { unstable_composeClasses } from '@mui/base/composeClasses';
|
|
286
287
|
export { default as generateUtilityClass } from './generateUtilityClass';
|
|
287
288
|
export * from './generateUtilityClass';
|
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import { refType } from '@mui/utils';
|
|
10
10
|
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
|
-
import styled from '../styles/styled';
|
|
12
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
13
13
|
import useControlled from '../utils/useControlled';
|
|
14
14
|
import useFormControl from '../FormControl/useFormControl';
|
|
15
15
|
import ButtonBase from '../ButtonBase';
|
|
@@ -39,7 +39,9 @@ const SwitchBaseRoot = styled(ButtonBase)(({
|
|
|
39
39
|
}, ownerState.edge === 'end' && {
|
|
40
40
|
marginRight: ownerState.size === 'small' ? -3 : -12
|
|
41
41
|
}));
|
|
42
|
-
const SwitchBaseInput = styled('input'
|
|
42
|
+
const SwitchBaseInput = styled('input', {
|
|
43
|
+
shouldForwardProp: rootShouldForwardProp
|
|
44
|
+
})({
|
|
43
45
|
cursor: 'inherit',
|
|
44
46
|
position: 'absolute',
|
|
45
47
|
opacity: 0,
|
|
@@ -10,13 +10,15 @@ var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runt
|
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
var _styled =
|
|
13
|
+
var _styled = _interopRequireWildcard(require("../styles/styled"));
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
var _span;
|
|
16
16
|
const _excluded = ["children", "classes", "className", "label", "notched"];
|
|
17
17
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
18
18
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
19
|
-
const NotchedOutlineRoot = (0, _styled.default)('fieldset'
|
|
19
|
+
const NotchedOutlineRoot = (0, _styled.default)('fieldset', {
|
|
20
|
+
shouldForwardProp: _styled.rootShouldForwardProp
|
|
21
|
+
})({
|
|
20
22
|
textAlign: 'left',
|
|
21
23
|
position: 'absolute',
|
|
22
24
|
bottom: 0,
|
|
@@ -32,7 +34,9 @@ const NotchedOutlineRoot = (0, _styled.default)('fieldset')({
|
|
|
32
34
|
overflow: 'hidden',
|
|
33
35
|
minWidth: '0%'
|
|
34
36
|
});
|
|
35
|
-
const NotchedOutlineLegend = (0, _styled.default)('legend'
|
|
37
|
+
const NotchedOutlineLegend = (0, _styled.default)('legend', {
|
|
38
|
+
shouldForwardProp: _styled.rootShouldForwardProp
|
|
39
|
+
})(({
|
|
36
40
|
ownerState,
|
|
37
41
|
theme
|
|
38
42
|
}) => (0, _extends2.default)({
|
|
@@ -11,11 +11,13 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
12
12
|
var _RadioButtonUnchecked = _interopRequireDefault(require("../internal/svg-icons/RadioButtonUnchecked"));
|
|
13
13
|
var _RadioButtonChecked = _interopRequireDefault(require("../internal/svg-icons/RadioButtonChecked"));
|
|
14
|
-
var _styled =
|
|
14
|
+
var _styled = _interopRequireWildcard(require("../styles/styled"));
|
|
15
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
|
-
const RadioButtonIconRoot = (0, _styled.default)('span'
|
|
18
|
+
const RadioButtonIconRoot = (0, _styled.default)('span', {
|
|
19
|
+
shouldForwardProp: _styled.rootShouldForwardProp
|
|
20
|
+
})({
|
|
19
21
|
position: 'relative',
|
|
20
22
|
display: 'flex'
|
|
21
23
|
});
|
|
@@ -11,14 +11,16 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
13
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
14
|
-
var _styled =
|
|
14
|
+
var _styled = _interopRequireWildcard(require("../styles/styled"));
|
|
15
15
|
var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
|
|
16
16
|
var _Drawer = require("../Drawer/Drawer");
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
18
|
const _excluded = ["anchor", "classes", "className", "width", "style"];
|
|
19
19
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
20
20
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
21
|
-
const SwipeAreaRoot = (0, _styled.default)('div'
|
|
21
|
+
const SwipeAreaRoot = (0, _styled.default)('div', {
|
|
22
|
+
shouldForwardProp: _styled.rootShouldForwardProp
|
|
23
|
+
})(({
|
|
22
24
|
theme,
|
|
23
25
|
ownerState
|
|
24
26
|
}) => (0, _extends2.default)({
|
package/node/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.14.
|
|
2
|
+
* @mui/material v5.14.16
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -15,7 +15,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
15
15
|
});
|
|
16
16
|
var _exportNames = {
|
|
17
17
|
colors: true,
|
|
18
|
-
StyledEngineProvider: true,
|
|
19
18
|
Accordion: true,
|
|
20
19
|
AccordionActions: true,
|
|
21
20
|
AccordionDetails: true,
|
|
@@ -785,12 +784,6 @@ Object.defineProperty(exports, "Stepper", {
|
|
|
785
784
|
return _Stepper.default;
|
|
786
785
|
}
|
|
787
786
|
});
|
|
788
|
-
Object.defineProperty(exports, "StyledEngineProvider", {
|
|
789
|
-
enumerable: true,
|
|
790
|
-
get: function () {
|
|
791
|
-
return _styles.StyledEngineProvider;
|
|
792
|
-
}
|
|
793
|
-
});
|
|
794
787
|
Object.defineProperty(exports, "SvgIcon", {
|
|
795
788
|
enumerable: true,
|
|
796
789
|
get: function () {
|
|
@@ -14,7 +14,7 @@ var _clsx = _interopRequireDefault(require("clsx"));
|
|
|
14
14
|
var _utils = require("@mui/utils");
|
|
15
15
|
var _composeClasses = require("@mui/base/composeClasses");
|
|
16
16
|
var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
|
|
17
|
-
var _styled =
|
|
17
|
+
var _styled = _interopRequireWildcard(require("../styles/styled"));
|
|
18
18
|
var _useControlled = _interopRequireDefault(require("../utils/useControlled"));
|
|
19
19
|
var _useFormControl = _interopRequireDefault(require("../FormControl/useFormControl"));
|
|
20
20
|
var _ButtonBase = _interopRequireDefault(require("../ButtonBase"));
|
|
@@ -46,7 +46,9 @@ const SwitchBaseRoot = (0, _styled.default)(_ButtonBase.default)(({
|
|
|
46
46
|
}, ownerState.edge === 'end' && {
|
|
47
47
|
marginRight: ownerState.size === 'small' ? -3 : -12
|
|
48
48
|
}));
|
|
49
|
-
const SwitchBaseInput = (0, _styled.default)('input'
|
|
49
|
+
const SwitchBaseInput = (0, _styled.default)('input', {
|
|
50
|
+
shouldForwardProp: _styled.rootShouldForwardProp
|
|
51
|
+
})({
|
|
50
52
|
cursor: 'inherit',
|
|
51
53
|
position: 'absolute',
|
|
52
54
|
opacity: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material",
|
|
3
|
-
"version": "5.14.
|
|
3
|
+
"version": "5.14.16",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "React components that implement Google's Material Design.",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@babel/runtime": "^7.23.2",
|
|
31
|
-
"@mui/base": "5.0.0-beta.
|
|
32
|
-
"@mui/core-downloads-tracker": "^5.14.
|
|
33
|
-
"@mui/system": "^5.14.
|
|
34
|
-
"@mui/types": "^7.2.
|
|
35
|
-
"@mui/utils": "^5.14.
|
|
36
|
-
"@types/react-transition-group": "^4.4.
|
|
31
|
+
"@mui/base": "5.0.0-beta.22",
|
|
32
|
+
"@mui/core-downloads-tracker": "^5.14.16",
|
|
33
|
+
"@mui/system": "^5.14.16",
|
|
34
|
+
"@mui/types": "^7.2.8",
|
|
35
|
+
"@mui/utils": "^5.14.16",
|
|
36
|
+
"@types/react-transition-group": "^4.4.8",
|
|
37
37
|
"clsx": "^2.0.0",
|
|
38
38
|
"csstype": "^3.1.2",
|
|
39
39
|
"prop-types": "^15.8.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.14.
|
|
2
|
+
* @mui/material v5.14.16
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -15484,7 +15484,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15484
15484
|
if (!getSlotProps) {
|
|
15485
15485
|
// The simpler case - getSlotProps is not defined, so no internal event handlers are defined,
|
|
15486
15486
|
// so we can simply merge all the props without having to worry about extracting event handlers.
|
|
15487
|
-
const joinedClasses = clsx(
|
|
15487
|
+
const joinedClasses = clsx(additionalProps == null ? void 0 : additionalProps.className, className, externalForwardedProps == null ? void 0 : externalForwardedProps.className, externalSlotProps == null ? void 0 : externalSlotProps.className);
|
|
15488
15488
|
const mergedStyle = _extends({}, additionalProps == null ? void 0 : additionalProps.style, externalForwardedProps == null ? void 0 : externalForwardedProps.style, externalSlotProps == null ? void 0 : externalSlotProps.style);
|
|
15489
15489
|
const props = _extends({}, additionalProps, externalForwardedProps, externalSlotProps);
|
|
15490
15490
|
if (joinedClasses.length > 0) {
|
|
@@ -26645,7 +26645,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26645
26645
|
}, ownerState.edge === 'end' && {
|
|
26646
26646
|
marginRight: ownerState.size === 'small' ? -3 : -12
|
|
26647
26647
|
}));
|
|
26648
|
-
const SwitchBaseInput = styled$1('input'
|
|
26648
|
+
const SwitchBaseInput = styled$1('input', {
|
|
26649
|
+
shouldForwardProp: rootShouldForwardProp
|
|
26650
|
+
})({
|
|
26649
26651
|
cursor: 'inherit',
|
|
26650
26652
|
position: 'absolute',
|
|
26651
26653
|
opacity: 0,
|
|
@@ -37571,7 +37573,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37571
37573
|
|
|
37572
37574
|
var _span$1;
|
|
37573
37575
|
const _excluded$M = ["children", "classes", "className", "label", "notched"];
|
|
37574
|
-
const NotchedOutlineRoot$1 = styled$1('fieldset'
|
|
37576
|
+
const NotchedOutlineRoot$1 = styled$1('fieldset', {
|
|
37577
|
+
shouldForwardProp: rootShouldForwardProp
|
|
37578
|
+
})({
|
|
37575
37579
|
textAlign: 'left',
|
|
37576
37580
|
position: 'absolute',
|
|
37577
37581
|
bottom: 0,
|
|
@@ -37587,7 +37591,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37587
37591
|
overflow: 'hidden',
|
|
37588
37592
|
minWidth: '0%'
|
|
37589
37593
|
});
|
|
37590
|
-
const NotchedOutlineLegend = styled$1('legend'
|
|
37594
|
+
const NotchedOutlineLegend = styled$1('legend', {
|
|
37595
|
+
shouldForwardProp: rootShouldForwardProp
|
|
37596
|
+
})(({
|
|
37591
37597
|
ownerState,
|
|
37592
37598
|
theme
|
|
37593
37599
|
}) => _extends({
|
|
@@ -38747,7 +38753,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38747
38753
|
d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"
|
|
38748
38754
|
}), 'RadioButtonChecked');
|
|
38749
38755
|
|
|
38750
|
-
const RadioButtonIconRoot = styled$1('span'
|
|
38756
|
+
const RadioButtonIconRoot = styled$1('span', {
|
|
38757
|
+
shouldForwardProp: rootShouldForwardProp
|
|
38758
|
+
})({
|
|
38751
38759
|
position: 'relative',
|
|
38752
38760
|
display: 'flex'
|
|
38753
38761
|
});
|
|
@@ -45234,7 +45242,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45234
45242
|
var Stepper$1 = Stepper;
|
|
45235
45243
|
|
|
45236
45244
|
const _excluded$l = ["anchor", "classes", "className", "width", "style"];
|
|
45237
|
-
const SwipeAreaRoot = styled$1('div'
|
|
45245
|
+
const SwipeAreaRoot = styled$1('div', {
|
|
45246
|
+
shouldForwardProp: rootShouldForwardProp
|
|
45247
|
+
})(({
|
|
45238
45248
|
theme,
|
|
45239
45249
|
ownerState
|
|
45240
45250
|
}) => _extends({
|