@mui/material 5.14.9 → 5.14.10

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/Avatar/Avatar.js CHANGED
@@ -158,8 +158,8 @@ const Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
158
158
  if (hasImgNotFailing) {
159
159
  children = /*#__PURE__*/_jsx(AvatarImg, _extends({
160
160
  alt: alt,
161
- src: src,
162
161
  srcSet: srcSet,
162
+ src: src,
163
163
  sizes: sizes,
164
164
  ownerState: ownerState,
165
165
  className: classes.img
package/CHANGELOG.md CHANGED
@@ -1,5 +1,60 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.14.10
4
+
5
+ <!-- generated comparing v5.14.9..master -->
6
+
7
+ _Sep 18, 2023_
8
+
9
+ A big thanks to the 16 contributors who made this release possible. This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
10
+
11
+ ### `@mui/material@5.14.10`
12
+
13
+ - &#8203;<!-- 20 -->[Chip] Add cursor CSS property reset (#38984) @DiegoAndai
14
+
15
+ ### `@mui/utils@5.14.10`
16
+
17
+ - &#8203;<!-- 05 -->[utils] Move @types/prop-types back to dependencies (#39030) @Methuselah96
18
+
19
+ ### `@mui/base@5.0.0-beta.16`
20
+
21
+ - &#8203;<!-- 24 -->[NumberInput][base-ui] Warn when changing control mode with `useControlled` (#38757) @sai6855
22
+ - &#8203;<!-- 23 -->[Select][base-ui] Fix Select button layout shift, add placeholder prop (#38796) @mj12albert
23
+ - &#8203;<!-- 22 -->[useList][base-ui] Accept arbitrary external props and forward to root (#38848) @mj12albert
24
+ - &#8203;<!-- 25 -->[Autocomplete][base-ui] Added ref to getInputProps return value (#38919) @DarhkVoyd
25
+
26
+ ### `@mui/joy@5.0.0-beta.7`
27
+
28
+ - &#8203;<!-- 26 -->[AccordionGroup][joy-ui] Fix console warning when using custom color (#38950) @sai6855
29
+ - &#8203;<!-- 07 -->[GlobalStyles][joy-ui] Ensure compatibility with RSC (#38955) @mateuseap
30
+
31
+ ### Docs
32
+
33
+ - &#8203;<!-- 21 -->[docs][base] Add Tailwind CSS + plain CSS demo on the NumberInput page (#38928) @alisasanib
34
+ - &#8203;<!-- 13 -->[docs][Dialog] Add non-modal dialog docs & demo (#38684) @mnajdova
35
+ - &#8203;<!-- 12 -->[docs] Fix number input wrong demo @oliviertassinari
36
+ - &#8203;<!-- 11 -->[docs] Exclude joy-ui LinearProgressCountup from visual regression (#38969) @siriwatknp
37
+ - &#8203;<!-- 09 -->[docs][joy-ui] Revise the Overview page (#38842) @danilo-leal
38
+ - &#8203;<!-- 08 -->[docs][material-ui][Pagination] Add `TablePagination` to the API components list (#38486) @MonstraG
39
+
40
+ ### Core
41
+
42
+ - &#8203;<!-- 19 -->[core] Add more context about useEventCallback @oliviertassinari
43
+ - &#8203;<!-- 18 -->[core] Allow deeper import of @mui/utils (#38806) @oliviertassinari
44
+ - &#8203;<!-- 17 -->[core] Remove react-dom from @mui/utils peerDependencies (#38974) @michaldudak
45
+ - &#8203;<!-- 16 -->[core] Remove react from styled-engine dependencies (#38971) @michaldudak
46
+ - &#8203;<!-- 15 -->[core] Fix image loading bug on Safari @oliviertassinari
47
+ - &#8203;<!-- 14 -->[core] Fix bundle size upload to S3 job (#38956) @Janpot
48
+ - &#8203;<!-- 20 -->[core] Move eslint to peer dependencies of eslint-plugin-material-ui (#39033) @michaldudak
49
+ - &#8203;<!-- 10 -->[docs-infra] Display markdown lists correctly in docs for props description (#38973) @ZeeshanTamboli
50
+ - &#8203;<!-- 04 -->[website] Improve lighthouse score (#39011) @oliviertassinari
51
+ - &#8203;<!-- 03 -->[website] Fix lighthouse issues @oliviertassinari
52
+ - &#8203;<!-- 02 -->[website] Create the `InfoCard` component (#38987) @danilo-leal
53
+ - &#8203;<!-- 01 -->[website] Small tweaks for performance @oliviertassinari
54
+ - &#8203;<!-- 06 -->[zero][next] Setup nextjs plugin package (#38852) @brijeshb42
55
+
56
+ All contributors of this release in alphabetical order: @alisasanib, @brijeshb42, @danilo-leal, @DarhkVoyd, @DiegoAndai, @Janpot, @mateuseap, @Methuselah96, @michaldudak, @mj12albert, @mnajdova, @MonstraG, @oliviertassinari, @sai6855, @siriwatknp, @ZeeshanTamboli
57
+
3
58
  ## 5.14.9
4
59
 
5
60
  <!-- generated comparing v5.14.8..master -->
package/Chip/Chip.js CHANGED
@@ -93,6 +93,8 @@ const ChipRoot = styled('div', {
93
93
  borderRadius: 32 / 2,
94
94
  whiteSpace: 'nowrap',
95
95
  transition: theme.transitions.create(['background-color', 'box-shadow']),
96
+ // reset cursor explicitly in case ButtonBase is used
97
+ cursor: 'unset',
96
98
  // We disable the focus ring for mouse, touch and keyboard users.
97
99
  outline: 0,
98
100
  textDecoration: 'none',
@@ -1,4 +1,4 @@
1
- import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';
1
+ import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
2
2
  import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getListSubheaderUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiListSubheader', slot);
@@ -135,6 +135,7 @@ export interface TablePaginationTypeMap<AdditionalProps, RootComponent extends R
135
135
  *
136
136
  * Demos:
137
137
  *
138
+ * - [Pagination](https://mui.com/material-ui/react-pagination/)
138
139
  * - [Table](https://mui.com/material-ui/react-table/)
139
140
  *
140
141
  * API:
package/Tabs/Tabs.d.ts CHANGED
@@ -155,7 +155,7 @@ export interface TabsOwnProps {
155
155
  *
156
156
  * - `scrollable` will invoke scrolling properties and allow for horizontally
157
157
  * scrolling (or swiping) of the tab bar.
158
- * -`fullWidth` will make the tabs grow to use all the available space,
158
+ * - `fullWidth` will make the tabs grow to use all the available space,
159
159
  * which should be used for small views, like on mobile.
160
160
  * - `standard` will render the default state.
161
161
  * @default 'standard'
package/Tabs/Tabs.js CHANGED
@@ -798,7 +798,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
798
798
  *
799
799
  * - `scrollable` will invoke scrolling properties and allow for horizontally
800
800
  * scrolling (or swiping) of the tab bar.
801
- * -`fullWidth` will make the tabs grow to use all the available space,
801
+ * - `fullWidth` will make the tabs grow to use all the available space,
802
802
  * which should be used for small views, like on mobile.
803
803
  * - `standard` will render the default state.
804
804
  * @default 'standard'
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.9
2
+ * @mui/material v5.14.10
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -159,8 +159,8 @@ var Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
159
159
  if (hasImgNotFailing) {
160
160
  children = /*#__PURE__*/_jsx(AvatarImg, _extends({
161
161
  alt: alt,
162
- src: src,
163
162
  srcSet: srcSet,
163
+ src: src,
164
164
  sizes: sizes,
165
165
  ownerState: ownerState,
166
166
  className: classes.img
@@ -67,6 +67,8 @@ var ChipRoot = styled('div', {
67
67
  borderRadius: 32 / 2,
68
68
  whiteSpace: 'nowrap',
69
69
  transition: theme.transitions.create(['background-color', 'box-shadow']),
70
+ // reset cursor explicitly in case ButtonBase is used
71
+ cursor: 'unset',
70
72
  // We disable the focus ring for mouse, touch and keyboard users.
71
73
  outline: 0,
72
74
  textDecoration: 'none',
@@ -1,4 +1,4 @@
1
- import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';
1
+ import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
2
2
  import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getListSubheaderUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiListSubheader', slot);
@@ -809,7 +809,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
809
809
  *
810
810
  * - `scrollable` will invoke scrolling properties and allow for horizontally
811
811
  * scrolling (or swiping) of the tab bar.
812
- * -`fullWidth` will make the tabs grow to use all the available space,
812
+ * - `fullWidth` will make the tabs grow to use all the available space,
813
813
  * which should be used for small views, like on mobile.
814
814
  * - `standard` will render the default state.
815
815
  * @default 'standard'
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.9
2
+ * @mui/material v5.14.10
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -158,8 +158,8 @@ const Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
158
158
  if (hasImgNotFailing) {
159
159
  children = /*#__PURE__*/_jsx(AvatarImg, _extends({
160
160
  alt: alt,
161
- src: src,
162
161
  srcSet: srcSet,
162
+ src: src,
163
163
  sizes: sizes,
164
164
  ownerState: ownerState,
165
165
  className: classes.img
@@ -93,6 +93,8 @@ const ChipRoot = styled('div', {
93
93
  borderRadius: 32 / 2,
94
94
  whiteSpace: 'nowrap',
95
95
  transition: theme.transitions.create(['background-color', 'box-shadow']),
96
+ // reset cursor explicitly in case ButtonBase is used
97
+ cursor: 'unset',
96
98
  // We disable the focus ring for mouse, touch and keyboard users.
97
99
  outline: 0,
98
100
  textDecoration: 'none',
@@ -1,4 +1,4 @@
1
- import { unstable_generateUtilityClasses as generateUtilityClasses } from '@mui/utils';
1
+ import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
2
2
  import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getListSubheaderUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiListSubheader', slot);
@@ -798,7 +798,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
798
798
  *
799
799
  * - `scrollable` will invoke scrolling properties and allow for horizontally
800
800
  * scrolling (or swiping) of the tab bar.
801
- * -`fullWidth` will make the tabs grow to use all the available space,
801
+ * - `fullWidth` will make the tabs grow to use all the available space,
802
802
  * which should be used for small views, like on mobile.
803
803
  * - `standard` will render the default state.
804
804
  * @default 'standard'
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.9
2
+ * @mui/material v5.14.10
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -166,8 +166,8 @@ const Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
166
166
  if (hasImgNotFailing) {
167
167
  children = /*#__PURE__*/(0, _jsxRuntime.jsx)(AvatarImg, (0, _extends2.default)({
168
168
  alt: alt,
169
- src: src,
170
169
  srcSet: srcSet,
170
+ src: src,
171
171
  sizes: sizes,
172
172
  ownerState: ownerState,
173
173
  className: classes.img
package/node/Chip/Chip.js CHANGED
@@ -100,6 +100,8 @@ const ChipRoot = (0, _styled.default)('div', {
100
100
  borderRadius: 32 / 2,
101
101
  whiteSpace: 'nowrap',
102
102
  transition: theme.transitions.create(['background-color', 'box-shadow']),
103
+ // reset cursor explicitly in case ButtonBase is used
104
+ cursor: 'unset',
103
105
  // We disable the focus ring for mouse, touch and keyboard users.
104
106
  outline: 0,
105
107
  textDecoration: 'none',
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  exports.getListSubheaderUtilityClass = getListSubheaderUtilityClass;
9
- var _utils = require("@mui/utils");
9
+ var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
10
10
  var _generateUtilityClass = _interopRequireDefault(require("../generateUtilityClass"));
11
11
  function getListSubheaderUtilityClass(slot) {
12
12
  return (0, _generateUtilityClass.default)('MuiListSubheader', slot);
13
13
  }
14
- const listSubheaderClasses = (0, _utils.unstable_generateUtilityClasses)('MuiListSubheader', ['root', 'colorPrimary', 'colorInherit', 'gutters', 'inset', 'sticky']);
14
+ const listSubheaderClasses = (0, _generateUtilityClasses.default)('MuiListSubheader', ['root', 'colorPrimary', 'colorInherit', 'gutters', 'inset', 'sticky']);
15
15
  var _default = listSubheaderClasses;
16
16
  exports.default = _default;
package/node/Tabs/Tabs.js CHANGED
@@ -805,7 +805,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
805
805
  *
806
806
  * - `scrollable` will invoke scrolling properties and allow for horizontally
807
807
  * scrolling (or swiping) of the tab bar.
808
- * -`fullWidth` will make the tabs grow to use all the available space,
808
+ * - `fullWidth` will make the tabs grow to use all the available space,
809
809
  * which should be used for small views, like on mobile.
810
810
  * - `standard` will render the default state.
811
811
  * @default 'standard'
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.9
2
+ * @mui/material v5.14.10
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/material",
3
- "version": "5.14.9",
3
+ "version": "5.14.10",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "React components that implement Google's Material Design.",
@@ -28,11 +28,11 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.22.15",
31
- "@mui/base": "5.0.0-beta.15",
32
- "@mui/core-downloads-tracker": "^5.14.9",
33
- "@mui/system": "^5.14.9",
31
+ "@mui/base": "5.0.0-beta.16",
32
+ "@mui/core-downloads-tracker": "^5.14.10",
33
+ "@mui/system": "^5.14.10",
34
34
  "@mui/types": "^7.2.4",
35
- "@mui/utils": "^5.14.9",
35
+ "@mui/utils": "^5.14.10",
36
36
  "@types/react-transition-group": "^4.4.6",
37
37
  "clsx": "^2.0.0",
38
38
  "csstype": "^3.1.2",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.9
2
+ * @mui/material v5.14.10
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -2118,7 +2118,8 @@
2118
2118
  }
2119
2119
 
2120
2120
  /**
2121
- * https://github.com/facebook/react/issues/14099#issuecomment-440013892
2121
+ * Inspired by https://github.com/facebook/react/issues/14099#issuecomment-440013892
2122
+ * See RFC in https://github.com/reactjs/rfcs/pull/220
2122
2123
  */
2123
2124
 
2124
2125
  function useEventCallback(fn) {
@@ -21124,6 +21125,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21124
21125
  borderRadius: 32 / 2,
21125
21126
  whiteSpace: 'nowrap',
21126
21127
  transition: theme.transitions.create(['background-color', 'box-shadow']),
21128
+ // reset cursor explicitly in case ButtonBase is used
21129
+ cursor: 'unset',
21127
21130
  // We disable the focus ring for mouse, touch and keyboard users.
21128
21131
  outline: 0,
21129
21132
  textDecoration: 'none',
@@ -23521,8 +23524,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23521
23524
  if (hasImgNotFailing) {
23522
23525
  children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
23523
23526
  alt: alt,
23524
- src: src,
23525
23527
  srcSet: srcSet,
23528
+ src: src,
23526
23529
  sizes: sizes,
23527
23530
  ownerState: ownerState,
23528
23531
  className: classes.img
@@ -48912,7 +48915,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48912
48915
  *
48913
48916
  * - `scrollable` will invoke scrolling properties and allow for horizontally
48914
48917
  * scrolling (or swiping) of the tab bar.
48915
- * -`fullWidth` will make the tabs grow to use all the available space,
48918
+ * - `fullWidth` will make the tabs grow to use all the available space,
48916
48919
  * which should be used for small views, like on mobile.
48917
48920
  * - `standard` will render the default state.
48918
48921
  * @default 'standard'