@mui/docs 6.1.7 → 6.1.9

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/Ad/Ad.js CHANGED
@@ -219,7 +219,6 @@ export function Ad() {
219
219
  "data-ga-event-category": "ad",
220
220
  "data-ga-event-action": "click",
221
221
  "data-ga-event-label": eventLabel,
222
- className: "Ad-root",
223
222
  children: /*#__PURE__*/_jsx(AdErrorBoundary, {
224
223
  eventLabel: eventLabel,
225
224
  children: children
package/CHANGELOG.md CHANGED
@@ -1,5 +1,104 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 6.1.9
4
+
5
+ <!-- generated comparing v6.1.8..master -->
6
+
7
+ _Nov 27, 2024_
8
+
9
+ A big thanks to the 8 contributors who made this release possible.
10
+
11
+ ### `@mui/material@6.1.9`
12
+
13
+ - [Select] Omit `placeholder` from props (#44502) @Juneezee
14
+ - [Grid2] Add container class to `Grid2Classes` (#44562) @sai6855
15
+
16
+ ### `@mui/system@6.1.9`
17
+
18
+ - Add ThemeProvider `noSsr` to prevent double rendering (#44451) @siriwatknp
19
+
20
+ ### `@mui/codemod@6.1.9`
21
+
22
+ - [codemod] Fix handling of computed `paragraph` props (#44195) @joshkel
23
+
24
+ ### `@mui/material-pigment-css@6.1.9`
25
+
26
+ - Make @pigment-css/react as peer dependency (#44498) @brijeshb42
27
+
28
+ ### Docs
29
+
30
+ - [material-ui] Add missing required dependencies in dashboard template README (#44476) @mesqueeb
31
+ - [material-ui] Add missing Roboto import to Next.js integration docs (#44462) @StaceyD22
32
+ - [material-ui][Dialog] Fix padding in SimpleDialog demo (#44467) @oliviertassinari
33
+ - Fix template page issues (#44466) @oliviertassinari
34
+ - [examples] Add dark mode example for Material UI + Pigment CSS (#44480) @mnajdova
35
+
36
+ ### Core
37
+
38
+ - Remove TODO line in the changelog (#44484) @mnajdova
39
+ - Polish image display (418e888) @oliviertassinari
40
+ - [core-infra] Add no-relative-packages (#44489) @oliviertassinari
41
+ - [docs-infra] Support CSS variables API info (#44559) @mnajdova
42
+ - [docs-infra] Fix display when ad-block triggers (#44567) @oliviertassinari
43
+ - [docs-infra] Improve locator finding using visible option (#44541) @siriwatknp
44
+ - [docs-infra] Correctly flatten the pages tree (#44514) @oliviertassinari
45
+ - [docs-infra] Fix Sponsor design regression (#44515) @oliviertassinari
46
+ - [test] Remove React.ReactElement<any> from describeConformance.tsx (#44318) @sai6855
47
+ - [test] Do not enforce the presence of `ownerState.className` in `describeConformance` (#44479) @flaviendelangle
48
+
49
+ All contributors of this release in alphabetical order: @brijeshb42, @flaviendelangle, @joshkel, @Juneezee, @mesqueeb, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp, @StaceyD22
50
+
51
+ ## v6.1.8
52
+
53
+ <!-- generated comparing v6.1.7..master -->
54
+
55
+ _Nov 20, 2024_
56
+
57
+ A big thanks to the 10 contributors who made this release possible.
58
+
59
+ ### `@mui/material@6.1.8`
60
+
61
+ - [Autocomplete] Use `ul` element for the listbox (#44422) @DiegoAndai
62
+ - [Grid2] Remove item and zeroMinWidth classes from grid2Classes (#44419) @sai6855
63
+ - [StepIcon] Add SvgIconOwnProps type to StepIcon props (#44337) @sai6855
64
+ - Add generic back to `useMediaQuery` to prevent a breaking change (#44455) @siriwatknp
65
+ - [Tooltip] Deprecate `*Component` and `*Props` for v6 (#44350) @siriwatknp
66
+
67
+ ### `@mui/system@6.1.8`
68
+
69
+ - Warn when calling `setMode` without configuring `colorSchemeSelector` (#43783) @siriwatknp
70
+
71
+ ### `@mui/styled-engine@6.1.8`
72
+
73
+ - Add back removed internal function (#44421) @mnajdova
74
+
75
+ ### `@mui/utils@6.1.8`
76
+
77
+ - Skip deep clone React element (#44400) @siriwatknp
78
+ - Add documentation to `useForkRef` (#44410) @JCQuintas
79
+
80
+ ### Docs
81
+
82
+ - [Accordion] Replace hardcoded classes with constants in demos (#44453) @ZeeshanTamboli
83
+ - [material-ui][Autocomplete] Fix virtualization demo (#44382) @DiegoAndai
84
+ - Revert #44388 (#44454) @prakhargupta1
85
+ - Add App starters in related-projects.md (#44315) @oliviertassinari
86
+ - Bring back `*Component` and `*Props` codemods and deprecation messages (#44383) @DiegoAndai
87
+ - [docs] Copyedit Templates page (#44461) @samuelsycamore
88
+
89
+ ### Core
90
+
91
+ - Remove `stylis-plugin-rtl-sc` (#44447) @renovate[bot]
92
+ - [test][Autocomplete] Make virtualize regression screenshots deterministic (#44425) @DiegoAndai
93
+ - [blog] Fix reference to subdomain on MUI X v8 alpha zero post (#44416) @joserodolfofreitas
94
+ - [blog] MUI X v8 alpha zero blog post (#44377) @joserodolfofreitas
95
+ - [code-infra] Use vitest-compatible skip in `describeConformance` (#44412) @JCQuintas
96
+ - Keep OpenSSF badge up-to-date (aef2bf2) @oliviertassinari
97
+ - Polish useForkRef docs (#44424) @oliviertassinari
98
+ - [infra] Upgrade Cherry-pick workflow to latest (#44448) @oliviertassinari
99
+
100
+ All contributors of this release in alphabetical order: @DiegoAndai, @JCQuintas, @joserodolfofreitas, @mnajdova, @oliviertassinari, @prakhargupta1, @sai6855, samuelsycamore, @siriwatknp, @ZeeshanTamboli
101
+
3
102
  ## v6.1.7
4
103
 
5
104
  <!-- generated comparing v6.1.6..master -->
@@ -13,8 +13,11 @@ import W3CIcon from "../svgIcons/W3CIcon.js";
13
13
  import MaterialDesignIcon from "../svgIcons/MaterialDesignIcon.js";
14
14
  import { useTranslate } from "../i18n/index.js";
15
15
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
- const Root = styled('ul')({
16
+ const Root = styled('ul')(({
17
+ theme
18
+ }) => ({
17
19
  margin: 0,
20
+ marginTop: theme.spacing(2),
18
21
  padding: 0,
19
22
  listStyle: 'none',
20
23
  display: 'flex',
@@ -32,7 +35,7 @@ const Root = styled('ul')({
32
35
  fontSize: 14
33
36
  }
34
37
  }
35
- });
38
+ }));
36
39
  const defaultPackageNames = {
37
40
  'material-ui': '@mui/material',
38
41
  'joy-ui': '@mui/joy',
@@ -140,7 +140,7 @@ const Root = styled('div')(({
140
140
  // Allows to remove link arrows for images
141
141
  display: 'none'
142
142
  },
143
- '& .Ad-root a::after': {
143
+ '& .ad.description a::after': {
144
144
  // Remove link arrow for ads
145
145
  display: 'none'
146
146
  },
@@ -421,7 +421,7 @@ export function getThemedComponents() {
421
421
  transition: 'all 100ms ease-in',
422
422
  '&:focus-visible': {
423
423
  outline: `3px solid ${alpha(theme.palette.primary[500], 0.5)}`,
424
- outlineOffset: '2px'
424
+ outlineOffset: 2
425
425
  }
426
426
  })
427
427
  }
@@ -975,7 +975,7 @@ export function getThemedComponents() {
975
975
  },
976
976
  '&:focus-visible': {
977
977
  outline: `3px solid ${alpha(theme.palette.primary[500], 0.5)}`,
978
- outlineOffset: '2px'
978
+ outlineOffset: 2
979
979
  }
980
980
  })
981
981
  },
@@ -1269,7 +1269,7 @@ export function getThemedComponents() {
1269
1269
  },
1270
1270
  '&:focus-visible': {
1271
1271
  outline: `3px solid ${alpha(theme.palette.primary[500], 0.5)}`,
1272
- outlineOffset: '2px'
1272
+ outlineOffset: 2
1273
1273
  }
1274
1274
  },
1275
1275
  ':is(a&), :is(button&)': {
@@ -1388,17 +1388,24 @@ export function getThemedComponents() {
1388
1388
  },
1389
1389
  MuiSwitch: {
1390
1390
  styleOverrides: {
1391
- root: {
1391
+ root: ({
1392
+ theme
1393
+ }) => ({
1392
1394
  width: 32,
1393
1395
  height: 20,
1394
1396
  padding: 0,
1397
+ borderRadius: 10,
1398
+ '&:has(input:focus-visible)': {
1399
+ outline: `3px solid ${alpha(theme.palette.primary[500], 0.5)}`,
1400
+ outlineOffset: 2
1401
+ },
1395
1402
  '& .MuiSwitch-switchBase': {
1396
1403
  '&.Mui-checked': {
1397
1404
  transform: 'translateX(12px)',
1398
1405
  color: '#fff'
1399
1406
  }
1400
1407
  }
1401
- },
1408
+ }),
1402
1409
  switchBase: {
1403
1410
  height: 20,
1404
1411
  width: 20,
package/node/Ad/Ad.js CHANGED
@@ -228,7 +228,6 @@ function Ad() {
228
228
  "data-ga-event-category": "ad",
229
229
  "data-ga-event-action": "click",
230
230
  "data-ga-event-label": eventLabel,
231
- className: "Ad-root",
232
231
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(AdErrorBoundary, {
233
232
  eventLabel: eventLabel,
234
233
  children: children
@@ -21,8 +21,11 @@ var _MaterialDesignIcon2 = _interopRequireDefault(require("../svgIcons/MaterialD
21
21
  var _i18n = require("../i18n");
22
22
  var _jsxRuntime = require("react/jsx-runtime");
23
23
  var _ChatRounded, _BundleSizeIcon, _GitHubIcon, _W3CIcon, _MaterialDesignIcon, _li, _React$Fragment;
24
- const Root = (0, _styles.styled)('ul')({
24
+ const Root = (0, _styles.styled)('ul')(({
25
+ theme
26
+ }) => ({
25
27
  margin: 0,
28
+ marginTop: theme.spacing(2),
26
29
  padding: 0,
27
30
  listStyle: 'none',
28
31
  display: 'flex',
@@ -40,7 +43,7 @@ const Root = (0, _styles.styled)('ul')({
40
43
  fontSize: 14
41
44
  }
42
45
  }
43
- });
46
+ }));
44
47
  const defaultPackageNames = {
45
48
  'material-ui': '@mui/material',
46
49
  'joy-ui': '@mui/joy',
@@ -148,7 +148,7 @@ const Root = (0, _styles.styled)('div')(({
148
148
  // Allows to remove link arrows for images
149
149
  display: 'none'
150
150
  },
151
- '& .Ad-root a::after': {
151
+ '& .ad.description a::after': {
152
152
  // Remove link arrow for ads
153
153
  display: 'none'
154
154
  },
@@ -432,7 +432,7 @@ function getThemedComponents() {
432
432
  transition: 'all 100ms ease-in',
433
433
  '&:focus-visible': {
434
434
  outline: `3px solid ${(0, _styles.alpha)(theme.palette.primary[500], 0.5)}`,
435
- outlineOffset: '2px'
435
+ outlineOffset: 2
436
436
  }
437
437
  })
438
438
  }
@@ -986,7 +986,7 @@ function getThemedComponents() {
986
986
  },
987
987
  '&:focus-visible': {
988
988
  outline: `3px solid ${(0, _styles.alpha)(theme.palette.primary[500], 0.5)}`,
989
- outlineOffset: '2px'
989
+ outlineOffset: 2
990
990
  }
991
991
  })
992
992
  },
@@ -1280,7 +1280,7 @@ function getThemedComponents() {
1280
1280
  },
1281
1281
  '&:focus-visible': {
1282
1282
  outline: `3px solid ${(0, _styles.alpha)(theme.palette.primary[500], 0.5)}`,
1283
- outlineOffset: '2px'
1283
+ outlineOffset: 2
1284
1284
  }
1285
1285
  },
1286
1286
  ':is(a&), :is(button&)': {
@@ -1399,17 +1399,24 @@ function getThemedComponents() {
1399
1399
  },
1400
1400
  MuiSwitch: {
1401
1401
  styleOverrides: {
1402
- root: {
1402
+ root: ({
1403
+ theme
1404
+ }) => ({
1403
1405
  width: 32,
1404
1406
  height: 20,
1405
1407
  padding: 0,
1408
+ borderRadius: 10,
1409
+ '&:has(input:focus-visible)': {
1410
+ outline: `3px solid ${(0, _styles.alpha)(theme.palette.primary[500], 0.5)}`,
1411
+ outlineOffset: 2
1412
+ },
1406
1413
  '& .MuiSwitch-switchBase': {
1407
1414
  '&.Mui-checked': {
1408
1415
  transform: 'translateX(12px)',
1409
1416
  color: '#fff'
1410
1417
  }
1411
1418
  }
1412
- },
1419
+ }),
1413
1420
  switchBase: {
1414
1421
  height: 20,
1415
1422
  width: 20,
@@ -66,7 +66,7 @@
66
66
  "joy-variant": "To learn how to add your own variants, check out <a href='/joy-ui/customization/themed-components/#extend-variants'>Themed components—Extend variants</a>."
67
67
  }
68
68
  },
69
- "marketingPageDescr": "A responsive marketing page layout with common sections found in marketing pages.",
69
+ "marketingPageDescr": "A responsive marketing page layout with sections for product features, testimonials, pricing, and FAQs.",
70
70
  "marketingPageTitle": "Marketing page",
71
71
  "searchButton": "Search…",
72
72
  "algoliaSearch": "What are you looking for?",
@@ -80,13 +80,13 @@
80
80
  },
81
81
  "backToTop": "Scroll back to top",
82
82
  "backToOpenRoles": "Back to open roles",
83
- "blogDescr": "A polished blog page layout. Markdown support is courtesy of markdown-to-jsx.",
83
+ "blogDescr": "A sleek, modern blog homepage layout with Markdown support via markdown-to-jsx.",
84
84
  "blogTitle": "Blog",
85
85
  "bundleSize": "Bundle size",
86
86
  "bundleSizeTooltip": "Scroll down to 'Exports Analysis' for a more detailed report.",
87
87
  "cancel": "Cancel",
88
88
  "cdn": "or use a CDN.",
89
- "checkoutDescr": "A step-by-step checkout flow with an adaptable (or optional) number of steps.",
89
+ "checkoutDescr": "A sophisticated checkout flow with fully customizable steps.",
90
90
  "checkoutTitle": "Checkout",
91
91
  "clickToCopy": "Click to copy",
92
92
  "close": "Close",
@@ -97,7 +97,7 @@
97
97
  "copySource": "Copy the source",
98
98
  "copySourceLinkJS": "Copy link to JavaScript source",
99
99
  "copySourceLinkTS": "Copy link to TypeScript source",
100
- "dashboardDescr": "A collection of charts and complex components in a responsive dashboard layout.",
100
+ "dashboardDescr": "A complex data visualization dashboard featuring the MUI X Data Grid and Charts.",
101
101
  "dashboardTitle": "Dashboard",
102
102
  "decreaseSpacing": "decrease spacing",
103
103
  "demoToolbarLabel": "demo source",
@@ -180,11 +180,11 @@
180
180
  "showJSSource": "Show JavaScript source",
181
181
  "showSource": "Show code",
182
182
  "showTSSource": "Show TypeScript source",
183
- "signInDescr": "A simple sign-in page using text fields, buttons, checkboxes, links, and more.",
184
- "signInSideDescr": "A sign-in page with a two-column layout using text fields, buttons, and more.",
183
+ "signInDescr": "A clean and efficient sign-in page, ready for your favorite auth provider.",
184
+ "signInSideDescr": "A responsive, two-column sign-in page for adding content alongside the form.",
185
185
  "signInSideTitle": "Sign-in side",
186
186
  "signInTitle": "Sign-in",
187
- "signUpDescr": "A simple sign-up page using text fields, buttons, checkboxes, links, and more.",
187
+ "signUpDescr": "A clean and efficient sign-up page, perfect for pairing with a sign-in template.",
188
188
  "signUpTitle": "Sign-up",
189
189
  "sourceCode": "Source code",
190
190
  "spacingUnit": "Spacing unit",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/docs",
3
- "version": "6.1.7",
3
+ "version": "6.1.9",
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.20"
31
+ "@mui/internal-markdown": "^1.0.21"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@mui/base": "*",
@@ -66,7 +66,7 @@
66
66
  "joy-variant": "To learn how to add your own variants, check out <a href='/joy-ui/customization/themed-components/#extend-variants'>Themed components—Extend variants</a>."
67
67
  }
68
68
  },
69
- "marketingPageDescr": "A responsive marketing page layout with common sections found in marketing pages.",
69
+ "marketingPageDescr": "A responsive marketing page layout with sections for product features, testimonials, pricing, and FAQs.",
70
70
  "marketingPageTitle": "Marketing page",
71
71
  "searchButton": "Search…",
72
72
  "algoliaSearch": "What are you looking for?",
@@ -80,13 +80,13 @@
80
80
  },
81
81
  "backToTop": "Scroll back to top",
82
82
  "backToOpenRoles": "Back to open roles",
83
- "blogDescr": "A polished blog page layout. Markdown support is courtesy of markdown-to-jsx.",
83
+ "blogDescr": "A sleek, modern blog homepage layout with Markdown support via markdown-to-jsx.",
84
84
  "blogTitle": "Blog",
85
85
  "bundleSize": "Bundle size",
86
86
  "bundleSizeTooltip": "Scroll down to 'Exports Analysis' for a more detailed report.",
87
87
  "cancel": "Cancel",
88
88
  "cdn": "or use a CDN.",
89
- "checkoutDescr": "A step-by-step checkout flow with an adaptable (or optional) number of steps.",
89
+ "checkoutDescr": "A sophisticated checkout flow with fully customizable steps.",
90
90
  "checkoutTitle": "Checkout",
91
91
  "clickToCopy": "Click to copy",
92
92
  "close": "Close",
@@ -97,7 +97,7 @@
97
97
  "copySource": "Copy the source",
98
98
  "copySourceLinkJS": "Copy link to JavaScript source",
99
99
  "copySourceLinkTS": "Copy link to TypeScript source",
100
- "dashboardDescr": "A collection of charts and complex components in a responsive dashboard layout.",
100
+ "dashboardDescr": "A complex data visualization dashboard featuring the MUI X Data Grid and Charts.",
101
101
  "dashboardTitle": "Dashboard",
102
102
  "decreaseSpacing": "decrease spacing",
103
103
  "demoToolbarLabel": "demo source",
@@ -180,11 +180,11 @@
180
180
  "showJSSource": "Show JavaScript source",
181
181
  "showSource": "Show code",
182
182
  "showTSSource": "Show TypeScript source",
183
- "signInDescr": "A simple sign-in page using text fields, buttons, checkboxes, links, and more.",
184
- "signInSideDescr": "A sign-in page with a two-column layout using text fields, buttons, and more.",
183
+ "signInDescr": "A clean and efficient sign-in page, ready for your favorite auth provider.",
184
+ "signInSideDescr": "A responsive, two-column sign-in page for adding content alongside the form.",
185
185
  "signInSideTitle": "Sign-in side",
186
186
  "signInTitle": "Sign-in",
187
- "signUpDescr": "A simple sign-up page using text fields, buttons, checkboxes, links, and more.",
187
+ "signUpDescr": "A clean and efficient sign-up page, perfect for pairing with a sign-in template.",
188
188
  "signUpTitle": "Sign-up",
189
189
  "sourceCode": "Source code",
190
190
  "spacingUnit": "Spacing unit",