@mui/docs 6.1.6 → 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/Ad/ad.styles.d.ts CHANGED
@@ -2,14 +2,16 @@ import { Theme } from '@mui/material/styles';
2
2
  export declare const adBodyImageStyles: (theme: Theme) => {
3
3
  root: {
4
4
  [x: string]: string | number | {
5
- padding: string;
5
+ padding: number;
6
+ paddingLeft: number;
6
7
  };
7
8
  display: string;
8
9
  overflow: string;
9
10
  border: string;
10
11
  borderColor: string;
11
12
  borderRadius: number;
12
- padding: string;
13
+ padding: number;
14
+ paddingLeft: number;
13
15
  };
14
16
  imgWrapper: {
15
17
  float: string;
package/Ad/ad.styles.js CHANGED
@@ -6,9 +6,11 @@ export const adBodyImageStyles = theme => ({
6
6
  border: '1px dashed',
7
7
  borderColor: theme.palette.divider,
8
8
  borderRadius: theme.shape.borderRadius,
9
- padding: '8px 8px 8px calc(8px + 130px)',
9
+ padding: 8,
10
+ paddingLeft: 8 + 130,
10
11
  [theme.breakpoints.up('sm')]: {
11
- padding: '12px 12px 12px calc(12px + 130px)'
12
+ padding: 12,
13
+ paddingLeft: 12 + 130
12
14
  }
13
15
  },
14
16
  imgWrapper: {
package/CHANGELOG.md CHANGED
@@ -1,6 +1,113 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
- ## 6.1.6
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
+
56
+ ## v6.1.7
57
+
58
+ <!-- generated comparing v6.1.6..master -->
59
+
60
+ _Nov 13, 2024_
61
+
62
+ A big thanks to the 13 contributors who made this release possible.
63
+ This release includes fixes as well as documentation improvements.
64
+
65
+ ### `@mui/material@6.1.7`
66
+
67
+ - Fix default props theme scoping (#44340) @siriwatknp
68
+ - Support theme scoping in `useMediaQuery` (#44339) @siriwatknp
69
+ - [Grid] Fix regression spacing prop with string value (#44376) @siriwatknp
70
+
71
+ ### `@mui/styled-engine-sc@6.1.7`
72
+
73
+ - Fix missing `@types/hoist-non-react-statics` causing `styled` returns any (#44397) @megos
74
+
75
+ ### Docs
76
+
77
+ - Replace 'Experimental APIs - Toolpad' with 'Toolpad (Beta)' (#44388) @prakhargupta1
78
+ - Fix Pigment CSS install (#44353) @oliviertassinari
79
+ - Fix dashboard menu warning (#44317) @siriwatknp
80
+ - Add runtime theme section for Material Pigment CSS (#44137) @siriwatknp
81
+ - Add hash to `key` to remove noise from console (#44289) @sai6855
82
+ - Revise Example Projects and Related Projects pages (#44191) @samuelsycamore
83
+ - [material-ui] Fix typo in typography theme set up for templates (#44338) @navedqb
84
+ - [material-ui] Add StackBlitz/CodeSandbox buttons to template cards (#44253) @zanivan
85
+ - [material-ui] Fix Sign-in/Sign-up templates layout (#44281) @zanivan
86
+ - [material-ui] Remove noise in template (#44260) @oliviertassinari
87
+ - [material-ui][Rating] Add uncontrolled example to Basic Rating demo (#44386) @sai6855
88
+ - [material-ui][TextField] Replace InputProps with slotProps.input in demo (#44288) @sai6855
89
+
90
+ ### Core
91
+
92
+ - [blog] Follow media asset guidelines (#44374) @oliviertassinari
93
+ - [code-infra] Changes for test util to work in `vitest` (#43625) @JCQuintas
94
+ - Remove old marked JS options (#44375) @ZeeshanTamboli
95
+ - Fix webpack capitalization (#44352) @oliviertassinari
96
+ - Fix Next.js link 404 (710cd95) @oliviertassinari
97
+ - Update Gold sponsoring backlinks (#44316) @oliviertassinari
98
+ - Fix tools-public.mui.com redirection (9196fa5) @oliviertassinari
99
+ - Remove blank AlertTitle test file (#44282) @ZeeshanTamboli
100
+ - [docs-infra] Fix ad in RTL (#44345) @oliviertassinari
101
+ - [docs-infra] Enforce punctuation on descriptions (#44292) @oliviertassinari
102
+ - [docs-infra] Add CodeSandbox and StackBlitz to vale vocab (6db477a) @oliviertassinari
103
+ - [docs-infra] Fix correct spelling of VS Code (#44277) @oliviertassinari
104
+ - [docs-infra] Add a `rawDescriptions` option (#44390) @vladmoroz
105
+ - [examples] Add missing `clsx` dependency (#43526) @Janpot
106
+ - [infra] Fix @renovate[bot] appearing in changelog (#44275) @mnajdova
107
+
108
+ All contributors of this release in alphabetical order: @Janpot, @JCQuintas, @megos, @mnajdova, @navedqb, @oliviertassinari, @prakhargupta1, @sai6855, @samuelsycamore, @siriwatknp, @vladmoroz, @zanivan, @ZeeshanTamboli
109
+
110
+ ## v6.1.6
4
111
 
5
112
  <!-- generated comparing v6.1.5..master -->
6
113
 
@@ -52,7 +159,7 @@ A big thanks to the 13 contributors who made this release possible.
52
159
 
53
160
  All contributors of this release in alphabetical order: @aarongarciah, @blackcow1987, @DiegoAndai, @jimmycallin, @joshkel, @mnajdova, @navedqb, @nphmuller, @o-alexandrov, @oliviertassinari, @prakhargupta1, @sai6855, @siriwatknp
54
161
 
55
- ## 6.1.5
162
+ ## v6.1.5
56
163
 
57
164
  <!-- generated comparing v6.1.4..master -->
58
165
 
@@ -84,7 +191,7 @@ A big thanks to the 9 contributors who made this release possible.
84
191
  - [material-ui][TextField] Dynamically modify the eye password button aria-label (#44122) @ChinoUkaegbu
85
192
  - [icons] Run pnpm docs:mdicons:synonyms (#44098) @oliviertassinari
86
193
  - [joy-ui] Update Overview copy to match Readme (#44136) @samuelsycamore
87
- - Add CodeSandbox/Stackblitz to the rest of the templates (#43708) @siriwatknp
194
+ - Add CodeSandbox/StackBlitz to the rest of the templates (#43708) @siriwatknp
88
195
  - Update Figma link to fix 301 (a7b7d9c) @oliviertassinari
89
196
  - Link Toolpad from Core repo (#44111) @prakhargupta1
90
197
  - Remove HighlightedCode max-width (#43731) @Janpot
@@ -254,7 +361,7 @@ A big thanks to the 13 contributors who made this release possible.
254
361
  - Uniformity in version range @oliviertassinari
255
362
  - Replace `toBeAriaHidden` matcher with `toBeInaccessible` in tests (#43870) @ZeeshanTamboli
256
363
  - [docs-infra] Strengthen CSP (#43711) @oliviertassinari
257
- - [docs-infra] Open Codesandbox demo with fontsize=12 (#43860) @siriwatknp
364
+ - [docs-infra] Open CodeSandbox demo with fontsize=12 (#43860) @siriwatknp
258
365
  - [icons] Reduce Material Icon page size (#43911) @oliviertassinari
259
366
  - [test] Point Istanbul to correct URL (#43935) @sai6855
260
367
  - [test] Sync React.version parse logic with codebase (#43820) @oliviertassinari
@@ -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,
@@ -12,9 +12,11 @@ const adBodyImageStyles = theme => ({
12
12
  border: '1px dashed',
13
13
  borderColor: theme.palette.divider,
14
14
  borderRadius: theme.shape.borderRadius,
15
- padding: '8px 8px 8px calc(8px + 130px)',
15
+ padding: 8,
16
+ paddingLeft: 8 + 130,
16
17
  [theme.breakpoints.up('sm')]: {
17
- padding: '12px 12px 12px calc(12px + 130px)'
18
+ padding: 12,
19
+ paddingLeft: 12 + 130
18
20
  }
19
21
  },
20
22
  imgWrapper: {
@@ -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.6",
3
+ "version": "6.1.8",
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.19"
31
+ "@mui/internal-markdown": "^1.0.20"
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",