@mui/docs 6.3.1 → 6.4.0

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 CHANGED
@@ -1,5 +1,54 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 6.4.0
4
+
5
+ <!-- generated comparing v6.3.1..master -->
6
+
7
+ _Jan 13, 2025_
8
+
9
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - Added [`loading` prop](https://mui.com/material-ui/react-button/#loading-2) to the `Button` and `IconButton` components (#44637) @siriwatknp
12
+
13
+ ### `@mui/material@6.4.0`
14
+
15
+ - [Alert] complete `slots` and `slotProps` (#44971) @siriwatknp
16
+ - [Autocomplete] Sync runtime and TS types for key in grouped options (#44862) @aarongarciah
17
+ - [Button] Add `loading` prop (#44637) @siriwatknp
18
+ - [CardHeader] Deprecate `*TypographyProps` and complete `slots`, `slotProps` (#44729) @siriwatknp
19
+ - [CircularProgress] Improve indeterminate animation to be symmetric and smooth (#44934) @yashdev16
20
+ - [LinearProgress] Deprecate composed classes (#44933) @headironc
21
+ - [Link] Fix error for using custom palette with underline (#44927) @siriwatknp
22
+ - [Select] Do not set `aria-controls` when closed (#44919) @siddhantantil39
23
+ - [Select] Add missing root class (#44928) @sai6855
24
+ - [Slider] Set onChangeCommitted to receive the last argument passed to onChange (#44795) @good-jinu
25
+ - Add `mergeSlotProps` for extending components (#44809) @siriwatknp
26
+ - Update `mergeSlotProps` to merge `style` (#44959) @siriwatknp
27
+ - Fix slots typing for Tooltip and StepLabel (#44985) @siriwatknp
28
+ - Remove unnecessary blank lines (#44980) @sai6855
29
+
30
+ ### Docs
31
+
32
+ - [docs] Fix Dashboard sidenav sroll (#44876) @oliviertassinari
33
+ - [docs] Fix broken anchor link to w3.org (c51af8e) @oliviertassinari
34
+ - [docs] Add details on complementary Menu components (#44957) @samuelsycamore
35
+ - [docs] Remove misleading messaging on MD3 support (#44953) @mnajdova
36
+ - [docs] Fix code copy button obscuring on small screen sizes (#44861) @ZeeshanTamboli
37
+ - [docs] Remove more instances of Adobe XD (#44956) @samuelsycamore
38
+ - [docs] Remove Adobe XD chips, links, and mentions (#44909) @samuelsycamore
39
+ - [docs] Fix incorrect rendering in Typography docs (#44937) @iaziz11
40
+
41
+ ### Core
42
+
43
+ - [core] Remove redundant screenshots (#44877) @oliviertassinari
44
+ - [core] Remove Suspense and clock mocking from regressions and e2e tests (#44935) @DiegoAndai
45
+ - [code-infra] Allow react@18 on `@mui/internal-test-utils` (#45023) @LukasTy
46
+ - [code-infra] Stabilize flaky pigment progressbar tests (#44969) @Janpot
47
+ - [example] Update the CDN example to adapt React 19. (#44979) @IceOfSummer
48
+ - [figma] Clarify that Material UI Sync plugin is experimental (#44975) @oliviertassinari
49
+
50
+ All contributors of this release in alphabetical order: @aarongarciah, @DiegoAndai, @good-jinu, @headironc, @iaziz11, @IceOfSummer, @Janpot, @LukasTy, @mnajdova, @oliviertassinari, @sai6855, @samuelsycamore, @siddhantantil39, @siriwatknp, @yashdev16, @ZeeshanTamboli
51
+
3
52
  ## 6.3.1
4
53
 
5
54
  <!-- generated comparing v6.3.0..master -->
@@ -1,4 +1,4 @@
1
- var _ChatRounded, _BundleSizeIcon, _GitHubIcon, _W3CIcon, _MaterialDesignIcon, _li, _React$Fragment;
1
+ var _ChatRounded, _BundleSizeIcon, _GitHubIcon, _W3CIcon, _MaterialDesignIcon, _li, _li2;
2
2
  import * as React from 'react';
3
3
  import Chip from '@mui/material/Chip';
4
4
  import Tooltip from '@mui/material/Tooltip';
@@ -7,7 +7,6 @@ import GitHubIcon from '@mui/icons-material/GitHub';
7
7
  import { styled } from '@mui/material/styles';
8
8
  import SketchIcon from "../svgIcons/SketchIcon.js";
9
9
  import FigmaIcon from "../svgIcons/FigmaIcon.js";
10
- import AdobeXDIcon from "../svgIcons/AdobeXDIcon.js";
11
10
  import BundleSizeIcon from "../svgIcons/BundleSizeIcon.js";
12
11
  import W3CIcon from "../svgIcons/W3CIcon.js";
13
12
  import MaterialDesignIcon from "../svgIcons/MaterialDesignIcon.js";
@@ -159,40 +158,22 @@ export function ComponentLinkHeader(props) {
159
158
  "data-ga-event-split": "0.1",
160
159
  label: "Figma"
161
160
  })
162
- })), packageName === '@mui/joy' ? null : _React$Fragment || (_React$Fragment = /*#__PURE__*/_jsxs(React.Fragment, {
163
- children: [/*#__PURE__*/_jsx("li", {
164
- children: /*#__PURE__*/_jsx(Chip, {
165
- clickable: true,
166
- role: undefined,
167
- component: "a",
168
- size: "small",
169
- variant: "outlined",
170
- rel: "nofollow",
171
- href: "https://mui.com/store/items/adobe-xd-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
172
- icon: /*#__PURE__*/_jsx(AdobeXDIcon, {}),
173
- "data-ga-event-category": "ComponentLinkHeader",
174
- "data-ga-event-action": "click",
175
- "data-ga-event-label": "Adobe XD",
176
- "data-ga-event-split": "0.1",
177
- label: "Adobe"
178
- })
179
- }), /*#__PURE__*/_jsx("li", {
180
- children: /*#__PURE__*/_jsx(Chip, {
181
- clickable: true,
182
- role: undefined,
183
- component: "a",
184
- size: "small",
185
- variant: "outlined",
186
- rel: "nofollow",
187
- href: "https://mui.com/store/items/sketch-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
188
- icon: /*#__PURE__*/_jsx(SketchIcon, {}),
189
- "data-ga-event-category": "ComponentLinkHeader",
190
- "data-ga-event-action": "click",
191
- "data-ga-event-label": "Sketch",
192
- "data-ga-event-split": "0.1",
193
- label: "Sketch"
194
- })
195
- })]
161
+ })), packageName === '@mui/joy' ? null : _li2 || (_li2 = /*#__PURE__*/_jsx("li", {
162
+ children: /*#__PURE__*/_jsx(Chip, {
163
+ clickable: true,
164
+ role: undefined,
165
+ component: "a",
166
+ size: "small",
167
+ variant: "outlined",
168
+ rel: "nofollow",
169
+ href: "https://mui.com/store/items/sketch-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
170
+ icon: /*#__PURE__*/_jsx(SketchIcon, {}),
171
+ "data-ga-event-category": "ComponentLinkHeader",
172
+ "data-ga-event-action": "click",
173
+ "data-ga-event-label": "Sketch",
174
+ "data-ga-event-split": "0.1",
175
+ label: "Sketch"
176
+ })
196
177
  }))]
197
178
  })]
198
179
  });
@@ -558,6 +558,9 @@ const Root = styled('div')(({
558
558
  transition: theme.transitions.create(['background', 'borderColor', 'display'], {
559
559
  duration: theme.transitions.duration.shortest
560
560
  }),
561
+ '@media (max-width: 640px)': {
562
+ display: 'none'
563
+ },
561
564
  '& .MuiCode-copied-label': {
562
565
  display: 'none'
563
566
  },
@@ -14,13 +14,12 @@ var _GitHub = _interopRequireDefault(require("@mui/icons-material/GitHub"));
14
14
  var _styles = require("@mui/material/styles");
15
15
  var _SketchIcon = _interopRequireDefault(require("../svgIcons/SketchIcon"));
16
16
  var _FigmaIcon = _interopRequireDefault(require("../svgIcons/FigmaIcon"));
17
- var _AdobeXDIcon = _interopRequireDefault(require("../svgIcons/AdobeXDIcon"));
18
17
  var _BundleSizeIcon2 = _interopRequireDefault(require("../svgIcons/BundleSizeIcon"));
19
18
  var _W3CIcon2 = _interopRequireDefault(require("../svgIcons/W3CIcon"));
20
19
  var _MaterialDesignIcon2 = _interopRequireDefault(require("../svgIcons/MaterialDesignIcon"));
21
20
  var _i18n = require("../i18n");
22
21
  var _jsxRuntime = require("react/jsx-runtime");
23
- var _ChatRounded, _BundleSizeIcon, _GitHubIcon, _W3CIcon, _MaterialDesignIcon, _li, _React$Fragment;
22
+ var _ChatRounded, _BundleSizeIcon, _GitHubIcon, _W3CIcon, _MaterialDesignIcon, _li, _li2;
24
23
  const Root = (0, _styles.styled)('ul')(({
25
24
  theme
26
25
  }) => ({
@@ -167,40 +166,22 @@ function ComponentLinkHeader(props) {
167
166
  "data-ga-event-split": "0.1",
168
167
  label: "Figma"
169
168
  })
170
- })), packageName === '@mui/joy' ? null : _React$Fragment || (_React$Fragment = /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
171
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
172
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
173
- clickable: true,
174
- role: undefined,
175
- component: "a",
176
- size: "small",
177
- variant: "outlined",
178
- rel: "nofollow",
179
- href: "https://mui.com/store/items/adobe-xd-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
180
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_AdobeXDIcon.default, {}),
181
- "data-ga-event-category": "ComponentLinkHeader",
182
- "data-ga-event-action": "click",
183
- "data-ga-event-label": "Adobe XD",
184
- "data-ga-event-split": "0.1",
185
- label: "Adobe"
186
- })
187
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
188
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
189
- clickable: true,
190
- role: undefined,
191
- component: "a",
192
- size: "small",
193
- variant: "outlined",
194
- rel: "nofollow",
195
- href: "https://mui.com/store/items/sketch-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
196
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SketchIcon.default, {}),
197
- "data-ga-event-category": "ComponentLinkHeader",
198
- "data-ga-event-action": "click",
199
- "data-ga-event-label": "Sketch",
200
- "data-ga-event-split": "0.1",
201
- label: "Sketch"
202
- })
203
- })]
169
+ })), packageName === '@mui/joy' ? null : _li2 || (_li2 = /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
170
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
171
+ clickable: true,
172
+ role: undefined,
173
+ component: "a",
174
+ size: "small",
175
+ variant: "outlined",
176
+ rel: "nofollow",
177
+ href: "https://mui.com/store/items/sketch-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
178
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SketchIcon.default, {}),
179
+ "data-ga-event-category": "ComponentLinkHeader",
180
+ "data-ga-event-action": "click",
181
+ "data-ga-event-label": "Sketch",
182
+ "data-ga-event-split": "0.1",
183
+ label: "Sketch"
184
+ })
204
185
  }))]
205
186
  })]
206
187
  });
@@ -566,6 +566,9 @@ const Root = (0, _styles.styled)('div')(({
566
566
  transition: theme.transitions.create(['background', 'borderColor', 'display'], {
567
567
  duration: theme.transitions.duration.shortest
568
568
  }),
569
+ '@media (max-width: 640px)': {
570
+ display: 'none'
571
+ },
569
572
  '& .MuiCode-copied-label': {
570
573
  display: 'none'
571
574
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/docs",
3
- "version": "6.3.1",
3
+ "version": "6.4.0",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "MUI Docs - Documentation building blocks.",
@@ -28,7 +28,7 @@
28
28
  "clsx": "^2.1.1",
29
29
  "nprogress": "^0.2.0",
30
30
  "prop-types": "^15.8.1",
31
- "@mui/internal-markdown": "^1.0.24"
31
+ "@mui/internal-markdown": "^1.0.25"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@mui/base": "*",