@mui/docs 6.1.7 → 6.1.8

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,58 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v6.1.8
4
+
5
+ <!-- generated comparing v6.1.7..master -->
6
+
7
+ _Nov 20, 2024_
8
+
9
+ A big thanks to the 10 contributors who made this release possible.
10
+
11
+ TODO INSERT HIGHLIGHTS
12
+
13
+ ### `@mui/material@6.1.8`
14
+
15
+ - [Autocomplete] Use `ul` element for the listbox (#44422) @DiegoAndai
16
+ - [Grid2] Remove item and zeroMinWidth classes from grid2Classes (#44419) @sai6855
17
+ - [StepIcon] Add SvgIconOwnProps type to StepIcon props (#44337) @sai6855
18
+ - Add generic back to `useMediaQuery` to prevent a breaking change (#44455) @siriwatknp
19
+ - [Tooltip] Deprecate `*Component` and `*Props` for v6 (#44350) @siriwatknp
20
+
21
+ ### `@mui/system@6.1.8`
22
+
23
+ - Warn when calling `setMode` without configuring `colorSchemeSelector` (#43783) @siriwatknp
24
+
25
+ ### `@mui/styled-engine@6.1.8`
26
+
27
+ - Add back removed internal function (#44421) @mnajdova
28
+
29
+ ### `@mui/utils@6.1.8`
30
+
31
+ - Skip deep clone React element (#44400) @siriwatknp
32
+ - Add documentation to `useForkRef` (#44410) @JCQuintas
33
+
34
+ ### Docs
35
+
36
+ - [Accordion] Replace hardcoded classes with constants in demos (#44453) @ZeeshanTamboli
37
+ - [material-ui][Autocomplete] Fix virtualization demo (#44382) @DiegoAndai
38
+ - Revert #44388 (#44454) @prakhargupta1
39
+ - Add App starters in related-projects.md (#44315) @oliviertassinari
40
+ - Bring back `*Component` and `*Props` codemods and deprecation messages (#44383) @DiegoAndai
41
+ - [docs] Copyedit Templates page (#44461) @samuelsycamore
42
+
43
+ ### Core
44
+
45
+ - Remove `stylis-plugin-rtl-sc` (#44447) @renovate[bot]
46
+ - [test][Autocomplete] Make virtualize regression screenshots deterministic (#44425) @DiegoAndai
47
+ - [blog] Fix reference to subdomain on MUI X v8 alpha zero post (#44416) @joserodolfofreitas
48
+ - [blog] MUI X v8 alpha zero blog post (#44377) @joserodolfofreitas
49
+ - [code-infra] Use vitest-compatible skip in `describeConformance` (#44412) @JCQuintas
50
+ - Keep OpenSSF badge up-to-date (aef2bf2) @oliviertassinari
51
+ - Polish useForkRef docs (#44424) @oliviertassinari
52
+ - [infra] Upgrade Cherry-pick workflow to latest (#44448) @oliviertassinari
53
+
54
+ All contributors of this release in alphabetical order: @DiegoAndai, @JCQuintas, @joserodolfofreitas, @mnajdova, @oliviertassinari, @prakhargupta1, @sai6855, samuelsycamore, @siriwatknp, @ZeeshanTamboli
55
+
3
56
  ## v6.1.7
4
57
 
5
58
  <!-- generated comparing v6.1.6..master -->
@@ -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,
@@ -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.8",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "MUI Docs - Documentation building blocks.",
@@ -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",