@mui/material 5.14.15 → 5.14.17

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.
File without changes
package/CHANGELOG.md CHANGED
@@ -1,5 +1,128 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.14.17
4
+
5
+ <!-- generated comparing v5.14.16..master -->
6
+
7
+ _Nov 6, 2023_
8
+
9
+ A big thanks to the 12 contributors who made this release possible.
10
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
11
+
12
+ ### `@mui/material@5.14.17`
13
+
14
+ - [Dialog] Should not close until the IME is cancelled (#39713) @megos
15
+ - [InputBase] Add `sx` type to `input` and `root` slot (#39569) @sai6855
16
+
17
+ ### `@mui/joy@5.0.0-beta.13`
18
+
19
+ - [ModalDialog] Remove redundant code (#39719) @sai6855
20
+ - [ToggleButtonGroup] Fix toggling button state when `Button` is not immediate children (#39571) @sai6855
21
+
22
+ ### `@mui/base@5.0.0-beta.23`
23
+
24
+ - Make list components more reliable (#39380) @michaldudak
25
+
26
+ ### `@mui/material-next@6.0.0-alpha.109`
27
+
28
+ - [InputBase] InputBase slotProps accepts sx type (#39714) @mj12albert
29
+ - [OutlinedInput] Copy v5 OutlinedInput (#39698) @mj12albert
30
+
31
+ ### `@mui/lab@5.0.0-alpha.152`
32
+
33
+ - [TreeView] Remove tree view import from @mui/lab (#39685) @alexfauquette
34
+
35
+ ### Docs
36
+
37
+ - Update Taiwan country name in demos (#39729) @chiahao
38
+ - Update release doc for unchanged packages (#39487) @brijeshb42
39
+ - [joy-ui] Make code readable to set next color in color inversion demos (#39669) @ZeeshanTamboli
40
+ - [material-ui] Remove numeric input workaround from TextField docs (#39629) @mj12albert
41
+ - [material-ui] Add comment about code to be removed from Drawer demo (#39678) @samuelsycamore
42
+
43
+ ### Core
44
+
45
+ - [docs-infra] Fix path bloat client-side (#39708) @oliviertassinari
46
+ - [docs-infra] Render footer in SSR (#39710) @oliviertassinari
47
+ - [docs-infra] Simplify footer (#39709) @oliviertassinari
48
+ - [docs-infra] Fix dark theme color (#39720) @alexfauquette
49
+ - [docs-infra] Remove the design feedback alert (#39691) @danilo-leal
50
+ - [docs-infra] Bring back scroll gradient in API page with table (#39689) @alexfauquette
51
+ - [docs-infra] Clarify the content of the ads @oliviertassinari
52
+ - [docs-infra] Link to ScaffoldHub v2 @oliviertassinari
53
+ - [docs-infra] Improve access to the component demos via the API page (#39690) @danilo-leal
54
+ - [docs-infra] Add appropriate aria-label to docs buttons (#39638) @danilo-leal
55
+ - [docs-infra] Fix crawler on API pages (#39490) @alexfauquette
56
+ - [docs–infra] Small polish on API toggle (#39704) @oliviertassinari
57
+ - [core] Speed up the CI by removing the second build (#39684) @michaldudak
58
+ - [core][docs] Fix broken MUI System link in README.md (#39734) @samuelsycamore
59
+ - [website] List benefits for sponsors (#39640) @oliviertassinari
60
+ - [website] Add Vadym teamMember card to 'About' (#39701) @hasdfa
61
+ - [test] Fix flaky screenshot (#39711) @oliviertassinari
62
+
63
+ All contributors of this release in alphabetical order: @alexfauquette, @brijeshb42, @chiahao, @danilo-leal, @hasdfa, @megos, @michaldudak, @mj12albert, @oliviertassinari, @sai6855, @samuelsycamore, @ZeeshanTamboli
64
+
65
+ ## 5.14.16
66
+
67
+ <!-- generated comparing v5.14.15..master -->
68
+
69
+ _Oct 31, 2023_
70
+
71
+ A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
72
+
73
+ - ✨ New highly requested Joy UI component: [Snackbar](https://mui.com/joy-ui/react-snackbar) (#38801) @ZeeshanTamboli
74
+
75
+ ### `@mui/material@5.14.16`
76
+
77
+ - &#8203;<!-- 03 -->Fix ownerstate being propagated to DOM node when using styled-components v6 (#39586) @mnajdova
78
+
79
+ ### `@mui/base@5.0.0-beta.22`
80
+
81
+ - &#8203;<!-- 28 -->[Autocomplete] Standardize box shadow on demos (#39519) @zanivan
82
+ - &#8203;<!-- 27 -->[useSelect] Support browser autofill (#39595) @DiegoAndai
83
+ - &#8203;<!-- 30 -->[base-ui] Fix mergeSlotProps className join order (#39616) @mj12albert
84
+
85
+ ### `@mui/joy@5.0.0-beta.13`
86
+
87
+ - &#8203;<!-- 29 -->[Accordion] Add type button to accordion
88
+ - &#8203;<!-- 28 -->[Card] Fix CardOverflow in nested cards (#39668) @siriwatknp summary (#39532) @Popppins
89
+ - &#8203;<!-- 08 -->[Menu] Fix closing of listbox in `MenuList` demo (#39459) @sai6855
90
+ - &#8203;<!-- 07 -->[Progress] Revamp Linear and Circular progress variants (#39492) @zanivan
91
+ - &#8203;<!-- 06 -->[Select] Support selection of `multiple` options (#39454) @sai6855
92
+ - &#8203;<!-- 05 -->[Textarea] Add ref usage instructions (#39615) @danilo-leal
93
+ - &#8203;<!-- 10 --> Fix sticky hover media query issue on mobile (#37467) @gitstart
94
+ - &#8203;<!-- 09 --> Add Snackbar component (#38801) @ZeeshanTamboli
95
+
96
+ ### `@mui/material-next@6.0.0-alpha.108`
97
+
98
+ - &#8203;<!-- 04 -->[theme] Update Material You typescale tokens (#39514) @mj12albert
99
+
100
+ ### Docs
101
+
102
+ - &#8203;<!-- 22 -->Fix 301 link to Primer design system @oliviertassinari
103
+ - &#8203;<!-- 19 -->[joy-ui] Revise the CSS vars page (#39335) @danilo-leal
104
+ - &#8203;<!-- 18 -->[joy-ui] Add docs for changing styles based on states (#39597) @siriwatknp
105
+ - &#8203;<!-- 17 -->[joy-ui] Fix wrong messages (#39602) @siriwatknp
106
+ - &#8203;<!-- 16 -->[material-ui] Include link to bundler how-to for Styled Components users (#39620) @jcoyle37
107
+ - &#8203;<!-- 15 -->[material-ui] Improve Dialog demos (#39642) @ZeeshanTamboli
108
+ - &#8203;<!-- 14 -->[material-ui] Add stray design fine-tuning to the example collection (#39581) @danilo-leal
109
+ - &#8203;<!-- 13 -->[system] Clean up `@mui/styles` docs and discourage users from installing it (#39644) @samuelsycamore
110
+ - &#8203;<!-- 12 -->[examples] Upgrade Remix to v2 (#39229) @Nkzn
111
+ - &#8203;<!-- 11 -->[examples][material-ui] Remove hardcoded `color="black"` from Next.js App Router layout (#39577) @samuelsycamore
112
+
113
+ ### Core
114
+
115
+ - &#8203;<!-- 26 -->[core] Setup vale for enforcing style guides (#39633) @alexfauquette
116
+ - &#8203;<!-- 25 -->[core] Remove unused use client (#38967) @oliviertassinari
117
+ - &#8203;<!-- 24 -->[core] Remove duplicate export (#39346) @oliviertassinari
118
+ - &#8203;<!-- 23 -->[core] Remove not used `@types/loader-utils` package from `zero-next-plugin` (#39609) @ZeeshanTamboli
119
+ - &#8203;<!-- 21 -->[docs-infra] Add meta charset in codesandbox examples (#39424) @Janpot
120
+ - &#8203;<!-- 20 -->[docs-infra] Fix settings drawer accessibility issues (#39589) @emamoah
121
+ - &#8203;<!-- 02 -->[website] Add stray adjustments and clean-ups (#39673) @danilo-leal
122
+ - &#8203;<!-- 01 -->[website] Open the `Design Engineer - xGrid` role (#39375) @DanailH
123
+
124
+ 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
125
+
3
126
  ## 5.14.15
4
127
 
5
128
  <!-- generated comparing v5.14.14..master -->
@@ -3159,7 +3282,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
3159
3282
  - [docs] Improve line-height readability (#35387) @oliviertassinari
3160
3283
  - [docs] Improve a bit the Composition docs (#35329) @oliviertassinari
3161
3284
  - [docs] Refactor `ToggleButtonSizes` demo (#35375) @Armanio
3162
- - [docs] Standardize the usage of callouts in the MUI Core docs (#35361) @samuelsycamore
3285
+ - [docs] Standardize the usage of callouts in the docs (#35361) @samuelsycamore
3163
3286
  - [docs] Format feedback to add a link to the commented section (#35381) @alexfauquette
3164
3287
  - [docs] Direct users from Material UI to Base UI for duplicated components (#35293) @samuelsycamore
3165
3288
  - [docs] Fix typo in FormControl API docs (#35449) @Spanishiwa
@@ -3525,7 +3648,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
3525
3648
  - &#8203;<!-- 16 -->[docs] Fix typo in docs title (#34926) @PunitSoniME
3526
3649
  - &#8203;<!-- 25 -->[docs] Fix missing emotion prefixes (#34958) @oliviertassinari
3527
3650
  - &#8203;<!-- 26 -->[docs] Improve UI display for copy code (#34950) @oliviertassinari
3528
- - &#8203;<!-- 15 -->[docs] Standardize all MUI Core "Usage" pages (#34183) @samuelsycamore
3651
+ - &#8203;<!-- 15 -->[docs] Standardize all "Usage" pages (#34183) @samuelsycamore
3529
3652
  - &#8203;<!-- 14 -->[docs] Update templates' readme files to include required dependencies (#34757) @michaldudak
3530
3653
  - &#8203;<!-- 13 -->[docs] Fix inconsistent theme colors when applying custom colors in playground (#34866) @cherniavskii
3531
3654
  - &#8203;<!-- 12 -->[docs] Fix typo in bottom-navigation.md (#34884) @RoodyCode
@@ -3891,7 +4014,7 @@ A big thanks to the 21 contributors who made this release possible. Here are som
3891
4014
  - [docs] Update the guide for migrating to TSS (#34417) @garronej
3892
4015
  - [docs] Fix typo in `Grid` docs (#34475) @Dustin-Digitar
3893
4016
  - [docs] Fix typo in `Back to top` section in AppBar docs (#34479) @Dustin-Digitar
3894
- - [docs] Standardize all MUI Core "Installation" pages (#34168) @samuelsycamore
4017
+ - [docs] Standardize all "Installation" pages (#34168) @samuelsycamore
3895
4018
  - [docs] Fix webpack file name to the standard: `webpack.config.js` (#34446) @CodingItWrong
3896
4019
  - [docs] Fix Select `onChange` call (#34408) @siriwatknp
3897
4020
  - [docs] Notification for pickers blog - v5 stable (#34400) @joserodolfofreitas
@@ -1,3 +1 @@
1
- 'use client';
2
-
3
1
  export { default } from './GlobalStyles';
@@ -209,8 +209,10 @@ export interface InputBaseProps
209
209
  * @default {}
210
210
  */
211
211
  slotProps?: {
212
- root?: React.HTMLAttributes<HTMLDivElement> & InputBaseComponentsPropsOverrides;
213
- input?: React.InputHTMLAttributes<HTMLInputElement> & InputBaseComponentsPropsOverrides;
212
+ root?: React.HTMLAttributes<HTMLDivElement> &
213
+ InputBaseComponentsPropsOverrides & { sx?: SxProps<Theme> };
214
+ input?: React.InputHTMLAttributes<HTMLInputElement> &
215
+ InputBaseComponentsPropsOverrides & { sx?: SxProps<Theme> };
214
216
  };
215
217
  /**
216
218
  * The components used for each slot inside.
@@ -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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.15
2
+ * @mui/material v5.14.17
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,
File without changes
@@ -1,3 +1 @@
1
- 'use client';
2
-
3
1
  export { default } from './GlobalStyles';
@@ -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')(function (_ref) {
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')(function (_ref) {
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.15
2
+ * @mui/material v5.14.17
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,
File without changes
@@ -1,3 +1 @@
1
- 'use client';
2
-
3
1
  export { default } from './GlobalStyles';
@@ -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.15
2
+ * @mui/material v5.14.17
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,
File without changes
@@ -1,5 +1,4 @@
1
1
  "use strict";
2
- 'use client';
3
2
 
4
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
4
  Object.defineProperty(exports, "__esModule", {
@@ -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 = _interopRequireDefault(require("../styles/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 = _interopRequireDefault(require("../styles/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 = _interopRequireDefault(require("../styles/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.15
2
+ * @mui/material v5.14.17
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 = _interopRequireDefault(require("../styles/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,