@linagora/twake-mui 16.3.0 → 17.0.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 +19 -0
- package/dist/lib/overrides.js +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,22 @@
|
|
|
1
|
+
# @linagora/twake-mui [17.0.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-mui@16.3.0...@linagora/twake-mui@17.0.0) (2026-10-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **twake-mui:** Make native form controls inherit the app font ([3746c36](https://github.com/linagora/twake-ui/commit/3746c36684d01d1b8e39b02cdbd6557797143aeb))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* **twake-mui:** CssBaseline now sets `font: inherit` on button, input,
|
|
12
|
+
optgroup, select and textarea. Controls that set no font of their own
|
|
13
|
+
(raw elements, `Box component="button"`, AccordionSummary) now take the
|
|
14
|
+
font family, size, weight and line-height of their parent instead of
|
|
15
|
+
the browser's. Set a font explicitly on a control to keep its previous
|
|
16
|
+
rendering, or opt out globally by passing to TwakeMuiThemeProvider
|
|
17
|
+
`themeOptions.components.MuiCssBaseline.styleOverrides` set to
|
|
18
|
+
`{ 'button, input, optgroup, select, textarea': { font: 'revert' } }`.
|
|
19
|
+
|
|
1
20
|
# @linagora/twake-mui [16.3.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-mui@16.2.0...@linagora/twake-mui@16.3.0) (2026-10-22)
|
|
2
21
|
|
|
3
22
|
|
package/dist/lib/overrides.js
CHANGED
|
@@ -134,6 +134,12 @@ const listItemRoot = {
|
|
|
134
134
|
]
|
|
135
135
|
};
|
|
136
136
|
export const overrides = {
|
|
137
|
+
MuiCssBaseline: {
|
|
138
|
+
styleOverrides: {
|
|
139
|
+
// Browsers give form controls their own system font instead of the page's
|
|
140
|
+
'button, input, optgroup, select, textarea': { font: 'inherit' }
|
|
141
|
+
}
|
|
142
|
+
},
|
|
137
143
|
MuiAppBar: {
|
|
138
144
|
// MUI otherwise paints every app bar with the paper colour in dark mode
|
|
139
145
|
defaultProps: { color: 'default', enableColorOnDark: true },
|