@mui/styled-engine 5.10.5 → 5.10.7

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,158 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.10.7
4
+
5
+ <!-- generated comparing v5.10.6..master -->
6
+
7
+ _Sep 26, 2022_
8
+
9
+ A big thanks to the 21 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🚀 [Divider](https://mui.com/joy-ui/react-divider/) component is added to Joy UI (#34403) @siriwatknp
12
+
13
+ ### `@mui/material@5.10.7`
14
+
15
+ - [CssVarsProvider] Exclude dark mode variables from `:root` stylesheet (#34131) @siriwatknp
16
+ - [Chip] Add chip classes (#33801) @pratikkarad
17
+ - [Slider] Fix typo in the comments in the source (#34452) @HexM7
18
+ - [SvgIcon] Fix passing an ownerState to SvgIcon changes the font size (#34429) @ZeeshanTamboli
19
+ - [Stepper] Fix optional label is not centered when `alternativeLabel` is used (#34335) @ZeeshanTamboli
20
+ - [Tooltip] Add undefined, null or false in `title` (#34289) @abhinav-22-tech
21
+ - Make @emotion/\* fully supported in all Material UI components (#34451) @garronej
22
+
23
+ ### `@mui/system@5.10.7`
24
+
25
+ - [system] Fix parsing of hsla colors in getLuminance (#34437) @ptrfrncsmrph
26
+ - [system] Fix incorrect type of `shape.borderRadius` in theme (#34076) @ZeeshanTamboli
27
+ - [system] Replace `enableSystem` with `defaultMode` (#33960) @siriwatknp
28
+
29
+ ### `@mui/material@5.0.0-alpha.101`
30
+
31
+ - [deps] Move @mui/types to dependencies (#34384) @Methuselah96
32
+
33
+ ### `@mui/base@5.0.0-alpha.99`
34
+
35
+ #### Breaking changes
36
+
37
+ - [TrapFocus] Rename TrapFocus to FocusTrap (#34216) @kabernardes
38
+
39
+ ```diff
40
+ - import TrapFocus from ‘@mui/base/TrapFocus’;
41
+ + import FocusTrap from ‘@mui/base/FocusTrap’;
42
+ ```
43
+
44
+ #### Changes
45
+
46
+ - [MultiSelect] Require a single tap to select an item on mobile Chrome (#33932) @michaldudak
47
+
48
+ ### `@mui/joy@5.0.0-alpha.47`
49
+
50
+ - [Checkbox] spread `value`, `required`, and `readOnly` to input (#34477) @siriwatknp
51
+ - [Chip] Fix unbinded `onClick` prop (#34455) @HexM7
52
+ - [Divider] Add `Divider` component (#34403) @siriwatknp
53
+ - [Radio] spread `readOnly` and `required` to input (#34478) @siriwatknp
54
+
55
+ ### Docs
56
+
57
+ - [blog] MUI Base announcement typo fixed (#34409) @prakhargupta1
58
+ - [blog] Fix typo in date-pickers v5 stable (#34386) @alexfauquette
59
+ - [blog] Update date on date pickers v5 release blog post (#34406) @joserodolfofreitas
60
+ - [docs] Update `useMenu` and `useMenuItem` hooks demo (#34166) @ZeeshanTamboli
61
+ - [docs] Update the guide for migrating to TSS (#34417) @garronej
62
+ - [docs] Fix typo in `Grid` docs (#34475) @Dustin-Digitar
63
+ - [docs] Fix typo in `Back to top` section in AppBar docs (#34479) @Dustin-Digitar
64
+ - [docs] Standardize all MUI Core "Installation" pages (#34168) @samuelsycamore
65
+ - [docs] Fix webpack file name to the standard: `webpack.config.js` (#34446) @CodingItWrong
66
+ - [docs] Fix Select `onChange` call (#34408) @siriwatknp
67
+ - [docs] Notification for pickers blog - v5 stable (#34400) @joserodolfofreitas
68
+ - [docs] Improve social sharing of docs pages (#34346) @oliviertassinari
69
+ - [docs] Refine the use of MUI vs. Material UI (#34345) @oliviertassinari
70
+ - [docs] Send feedback directly to a dedicated slack channel (#34196) @alexfauquette
71
+ - [website] Adds Bilal to about page (#34412) @MBilalShafi
72
+ - [website] Add date range picker to pricing table (#34399) @joserodolfofreitas
73
+
74
+ ### Core
75
+
76
+ - [core] Document some types in @mui/styled-engine-sc (#34413) @mnajdova
77
+ - [core] Add yml support to prettier (#33980) @Janpot
78
+
79
+ All contributors of this release in alphabetical order: @abhinav-22-tech, @alexfauquette, @CodingItWrong, @Dustin-Digitar, @garronej, @HexM7, @howlettt, @Janpot, @joserodolfofreitas, @kabernardes, @MBilalShafi, @Methuselah96, @michaldudak, @mnajdova, @oliviertassinari, @prakhargupta1, @pratikkarad, @ptrfrncsmrph, @samuelsycamore, @siriwatknp, @ZeeshanTamboli
80
+
81
+ ## 5.10.6
82
+
83
+ <!-- generated comparing v5.10.5..master -->
84
+
85
+ _Sep 19, 2022_
86
+
87
+ A big thanks to the 11 contributors who made this release possible.
88
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
89
+
90
+ ### `@mui/material@5.10.6`
91
+
92
+ - [TextField] Fix conflict with `Bootstrap` even when label is not defined (#34343) @ZeeshanTamboli
93
+
94
+ ### `@mui/joy@5.0.0-alpha.46`
95
+
96
+ #### Breaking changes
97
+
98
+ - [button][joy] Replace `start/endIcon` prop with `start/endDecorator` (#34288) @hbjORbj
99
+
100
+ **BREAKING CHANGE**: replace `start/endIcon` with `start/endDecorator`.
101
+
102
+ ```jsx
103
+ // before
104
+ <Button startIcon={...} endIcon={...} />
105
+
106
+ // after
107
+ <Button startDecorator={...} endDecorator={...} />
108
+ ```
109
+
110
+ #### Changes
111
+
112
+ - [Joy] Adjust the `Input` and `Textarea` styles (#34281) @siriwatknp
113
+ - [menu][joy] Set disablePortal default to false (#34283) @tomasz-sodzawiczny
114
+
115
+ ### `@mui/base@5.0.0-alpha.98`
116
+
117
+ #### Breaking changes
118
+
119
+ - [Select][base] Add event parameter to the onChange callback (#34158) @michaldudak
120
+
121
+ The SelectUnstyled and MultiSelectUnstyled `onChange` callbacks did not have event as the first parameter, leading to inconsistency with other components and native HTML elements.
122
+ This PR adds the event parameter as the first one and moves the newly selected value to the second position. Because of this, it's a breaking change.
123
+ This also affects Select from Joy UI.
124
+
125
+ ```jsx
126
+ // before
127
+ <SelectUnstyled onChange={(newValue) => { /* ... */ }} />
128
+
129
+ // after
130
+ <SelectUnstyled onChange={(event, newValue) => { /* ... */ }} />
131
+ ```
132
+
133
+ ### Docs
134
+
135
+ - [blog] The Date Pickers gets a stable v5 release (#34152) @alexfauquette
136
+ - [blog] Improve image handling (#34222) @oliviertassinari
137
+ - [blog] Correct 2021 survey data interpretation (#34291) @samuelsycamore
138
+ - [docs] Remove expired AospExtended showcase @oliviertassinari
139
+ - [docs] Link the OpenSSF Best Practices card (#34331) @oliviertassinari
140
+ - [docs] Fix 301 link to external projects @oliviertassinari
141
+ - [docs] Move 12 component names to Title Case (#34188) @oliviertassinari
142
+ - [docs] Fix broken links (#34320) @alexfauquette
143
+ - [docs] Add notification for MUI Base announcement post (#34295) @samuelsycamore
144
+ - [website] Fix MUI X subscribe email border style (#34330) @oliviertassinari
145
+ - [website] Improve security header @oliviertassinari
146
+
147
+ ### Core
148
+
149
+ - [core] Lock file maintenance (#34161) @renovate[bot]
150
+ - [core] Issue template: move reproduction steps to the top (#34279) @Janpot
151
+ - [core] Create shared Next.js baseline config (#34259) @oliviertassinari
152
+ - [core] In `typescript-to-proptypes`, respect the value pass to the generic (#34311) @flaviendelangle
153
+
154
+ All contributors of this release in alphabetical order: @alexfauquette, @flaviendelangle, @hbjORbj, @Janpot, @michaldudak, @oliviertassinari, @renovate[bot], @samuelsycamore, @siriwatknp, @tomasz-sodzawiczny, @ZeeshanTamboli
155
+
3
156
  ## 5.10.5
4
157
 
5
158
  <!-- generated comparing v5.10.4..master -->
package/index.d.ts CHANGED
@@ -31,8 +31,13 @@ export type CSSProperties = CSS.PropertiesFallback<number | string>;
31
31
  export type CSSPropertiesWithMultiValues = {
32
32
  [K in keyof CSSProperties]: CSSProperties[K] | Array<Extract<CSSProperties[K], string>>;
33
33
  };
34
+
35
+ // TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
36
+ // For more info on why it was added, see https://github.com/mui/material-ui/pull/26228
34
37
  export type CSSPseudos = { [K in CSS.Pseudos]?: unknown | CSSObject };
35
38
 
39
+ // TODO v6 - check if we can drop the unknown, as it breaks the autocomplete
40
+ // For more info on why it was added, see https://github.com/mui/material-ui/pull/26228
36
41
  export interface CSSOthersObject {
37
42
  [propertiesName: string]: unknown | CSSInterpolation;
38
43
  }
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.10.5
1
+ /** @license MUI v5.10.7
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/legacy/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.10.5
1
+ /** @license MUI v5.10.7
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/modern/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.10.5
1
+ /** @license MUI v5.10.7
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.10.5
1
+ /** @license MUI v5.10.7
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/styled-engine",
3
- "version": "5.10.5",
3
+ "version": "5.10.7",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "styled() API wrapper package for emotion.",
@@ -26,9 +26,9 @@
26
26
  "url": "https://opencollective.com/mui"
27
27
  },
28
28
  "dependencies": {
29
- "@babel/runtime": "^7.18.9",
29
+ "@babel/runtime": "^7.19.0",
30
30
  "@emotion/cache": "^11.10.3",
31
- "csstype": "^3.1.0",
31
+ "csstype": "^3.1.1",
32
32
  "prop-types": "^15.8.1"
33
33
  },
34
34
  "peerDependencies": {