@linagora/twake-mui 5.2.0 → 6.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 CHANGED
@@ -1,3 +1,19 @@
1
+ # @linagora/twake-mui [6.0.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-mui@5.2.0...@linagora/twake-mui@6.0.0) (2026-09-08)
2
+
3
+
4
+ ### Features
5
+
6
+ * **twake-mui:** Drop app-specific overrides from the theme ([b67cec4](https://github.com/linagora/twake-ui/commit/b67cec4bd20ebc9c04d998966e0f8c00c72830e1))
7
+ * **twake-mui:** Remove inert rules from light overrides ([d50595c](https://github.com/linagora/twake-ui/commit/d50595c35ac30e6e2a32be74a0cde5b45798cc44))
8
+
9
+
10
+ ### BREAKING CHANGES
11
+
12
+ * **twake-mui:** Custom style for `Popover`, `Backdrop`,
13
+ `SwipeableDrawer` and `ListItem inside Accordion` has been
14
+ removed
15
+ * **twake-mui:** size="large" no longer typechecks on TextField and InputBase.
16
+
1
17
  # @linagora/twake-mui [5.2.0](https://github.com/linagora/twake-ui/compare/@linagora/twake-mui@5.1.1...@linagora/twake-mui@5.2.0) (2026-09-08)
2
18
 
3
19
 
@@ -104,21 +104,6 @@ export const lightOverrides = {
104
104
  })
105
105
  }
106
106
  },
107
- MuiTextField: {
108
- defaultProps: {
109
- size: 'medium'
110
- },
111
- styleOverrides: {
112
- root: {
113
- '& .MuiOutlinedInput-root': {
114
- borderRadius: radius.sm,
115
- '& fieldset': {
116
- borderRadius: radius.sm
117
- }
118
- }
119
- }
120
- }
121
- },
122
107
  MuiOutlinedInput: {
123
108
  styleOverrides: {
124
109
  root: ({ theme }) => ({
@@ -151,25 +136,6 @@ export const lightOverrides = {
151
136
  }
152
137
  ]
153
138
  }
154
- },
155
- variants: [
156
- {
157
- props: { size: 'large' },
158
- style: {
159
- '& .MuiOutlinedInput-input': {
160
- padding: '14px 16px' // Large: 54px height
161
- }
162
- }
163
- }
164
- ]
165
- },
166
- MuiInputBase: {
167
- styleOverrides: {
168
- root: {
169
- '&.MuiInputBase-sizeLarge': {
170
- fontSize: '16px'
171
- }
172
- }
173
139
  }
174
140
  },
175
141
  MuiSelect: {
@@ -261,14 +227,6 @@ export const lightOverrides = {
261
227
  }
262
228
  }
263
229
  },
264
- MuiPopover: {
265
- styleOverrides: {
266
- paper: {
267
- borderRadius: radius.md,
268
- boxShadow: '0 1px 3px 0 rgba(0, 0, 0, 0.30), 0 4px 8px 3px rgba(0, 0, 0, 0.15)'
269
- }
270
- }
271
- },
272
230
  MuiChip: {
273
231
  styleOverrides: {
274
232
  root: {
@@ -422,20 +380,6 @@ export const lightOverrides = {
422
380
  }
423
381
  }
424
382
  },
425
- MuiBackdrop: {
426
- styleOverrides: {
427
- root: {
428
- variants: [
429
- {
430
- props: { invisible: false },
431
- style: ({ theme }) => ({
432
- backgroundColor: alpha(theme.palette.text.primary, theme.palette.action.focusOpacity)
433
- })
434
- }
435
- ]
436
- }
437
- }
438
- },
439
383
  MuiAccordion: {
440
384
  styleOverrides: {
441
385
  root: {
@@ -556,23 +500,6 @@ export const lightOverrides = {
556
500
  })
557
501
  }
558
502
  },
559
- MuiCssBaseline: {
560
- styleOverrides: theme => ({
561
- '.MuiAccordion-root .MuiListItem-root': {
562
- padding: '0',
563
- borderRadius: '4px',
564
- '&:hover': {
565
- backgroundColor: alpha(theme.palette.grey[900], 0.04)
566
- }
567
- },
568
- '.MuiAccordion-root .MuiListItem-root label': {
569
- fontSize: '14px',
570
- fontStyle: 'normal',
571
- fontWeight: 400,
572
- color: alpha(theme.palette.grey[900], 0.9)
573
- }
574
- })
575
- },
576
503
  MuiMenuItem: {
577
504
  styleOverrides: {
578
505
  root: ({ theme }) => ({
@@ -589,26 +516,5 @@ export const lightOverrides = {
589
516
  }
590
517
  })
591
518
  }
592
- },
593
- MuiSwipeableDrawer: {
594
- defaultProps: {
595
- sx: theme => ({
596
- '& .MuiDrawer-paper': {
597
- borderTopLeftRadius: radius.md,
598
- borderTopRightRadius: radius.md,
599
- '&::before': {
600
- content: '""',
601
- display: 'block',
602
- width: '64px',
603
- height: '4px',
604
- backgroundColor: theme.palette.action.disabledBackground,
605
- borderRadius: radius.md,
606
- margin: '12px auto',
607
- marginTop: '30px',
608
- flexShrink: 0
609
- }
610
- }
611
- })
612
- }
613
519
  }
614
520
  };
@@ -72,16 +72,6 @@ export interface PaletteJson {
72
72
  Common: CommonColor;
73
73
  }
74
74
  export type TypographyOptions = TypographyVariantsOptions;
75
- declare module '@mui/material/TextField' {
76
- interface TextFieldPropsSizeOverrides {
77
- large: true;
78
- }
79
- }
80
- declare module '@mui/material/InputBase' {
81
- interface InputBasePropsSizeOverrides {
82
- large: true;
83
- }
84
- }
85
75
  export interface TypographyConfig {
86
76
  fontFamily?: string;
87
77
  fontSize?: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@linagora/twake-mui",
3
3
  "type": "module",
4
- "version": "5.2.0",
4
+ "version": "6.0.0",
5
5
  "description": "MUI v9 theme system for Twake applications",
6
6
  "author": "Twake",
7
7
  "license": "MIT",