@mui/system 5.14.1 → 5.14.4

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.
Files changed (49) hide show
  1. package/Box/Box.d.ts +15 -9
  2. package/CHANGELOG.md +253 -4
  3. package/Container/Container.d.ts +13 -13
  4. package/Container/ContainerProps.d.ts +40 -40
  5. package/Container/containerClasses.d.ts +22 -22
  6. package/Container/createContainer.d.ts +18 -18
  7. package/GlobalStyles/GlobalStyles.d.ts +13 -13
  8. package/GlobalStyles/index.d.ts +2 -2
  9. package/Stack/Stack.d.ts +14 -14
  10. package/Stack/StackProps.d.ts +53 -53
  11. package/Stack/createStack.d.ts +21 -21
  12. package/Stack/createStack.js +5 -1
  13. package/Stack/index.d.ts +5 -5
  14. package/Stack/stackClasses.d.ts +8 -8
  15. package/Unstable_Grid/Grid.d.ts +12 -12
  16. package/Unstable_Grid/Grid.js +23 -0
  17. package/Unstable_Grid/GridProps.d.ts +185 -185
  18. package/Unstable_Grid/createGrid.d.ts +11 -11
  19. package/Unstable_Grid/gridClasses.d.ts +20 -20
  20. package/Unstable_Grid/gridGenerator.d.ts +33 -33
  21. package/Unstable_Grid/index.d.ts +6 -6
  22. package/Unstable_Grid/traverseBreakpoints.d.ts +7 -7
  23. package/createStyled.d.ts +6 -6
  24. package/createStyled.js +23 -4
  25. package/createTheme/createSpacing.d.ts +10 -10
  26. package/cssVars/createCssVarsTheme.d.ts +15 -15
  27. package/cssVars/createGetCssVar.d.ts +5 -5
  28. package/cssVars/cssVarsParser.d.ts +64 -64
  29. package/cssVars/getInitColorSchemeScript.d.ts +42 -42
  30. package/cssVars/index.d.ts +5 -5
  31. package/cssVars/prepareCssVars.d.ts +16 -16
  32. package/cssVars/useCurrentColorScheme.d.ts +53 -53
  33. package/esm/Stack/createStack.js +5 -1
  34. package/esm/Unstable_Grid/Grid.js +23 -0
  35. package/esm/createStyled.js +24 -5
  36. package/esm/styleFunctionSx/styleFunctionSx.js +2 -0
  37. package/index.js +1 -1
  38. package/legacy/Stack/createStack.js +5 -2
  39. package/legacy/Unstable_Grid/Grid.js +23 -0
  40. package/legacy/createStyled.js +25 -5
  41. package/legacy/index.js +1 -1
  42. package/legacy/styleFunctionSx/styleFunctionSx.js +2 -0
  43. package/modern/Stack/createStack.js +5 -1
  44. package/modern/Unstable_Grid/Grid.js +23 -0
  45. package/modern/createStyled.js +24 -5
  46. package/modern/index.js +1 -1
  47. package/modern/styleFunctionSx/styleFunctionSx.js +2 -0
  48. package/package.json +4 -4
  49. package/styleFunctionSx/styleFunctionSx.js +2 -0
package/Box/Box.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { OverridableComponent, OverrideProps } from '@mui/types';
3
- import { Theme } from '../createTheme';
3
+ import { Theme as SystemTheme } from '../createTheme';
4
4
  import {
5
5
  SxProps,
6
6
  AllSystemCSSProperties,
@@ -170,9 +170,13 @@ export type SystemProps<Theme extends object = {}> = {
170
170
  | ((theme: Theme) => ResponsiveStyleValue<AllSystemCSSProperties[K]>);
171
171
  };
172
172
 
173
- export interface BoxTypeMap<P = {}, D extends React.ElementType = 'div', T extends object = Theme> {
174
- props: P &
175
- SystemProps<T> & {
173
+ export interface BoxTypeMap<
174
+ AdditionalProps = {},
175
+ RootComponent extends React.ElementType = 'div',
176
+ Theme extends object = SystemTheme,
177
+ > {
178
+ props: AdditionalProps &
179
+ SystemProps<Theme> & {
176
180
  children?: React.ReactNode;
177
181
  /**
178
182
  * The component used for the root node.
@@ -183,9 +187,9 @@ export interface BoxTypeMap<P = {}, D extends React.ElementType = 'div', T exten
183
187
  /**
184
188
  * The system prop that allows defining system overrides as well as additional CSS styles.
185
189
  */
186
- sx?: SxProps<T>;
190
+ sx?: SxProps<Theme>;
187
191
  };
188
- defaultComponent: D;
192
+ defaultComponent: RootComponent;
189
193
  }
190
194
  /**
191
195
  *
@@ -201,8 +205,10 @@ export interface BoxTypeMap<P = {}, D extends React.ElementType = 'div', T exten
201
205
  declare const Box: OverridableComponent<BoxTypeMap>;
202
206
 
203
207
  export type BoxProps<
204
- D extends React.ElementType = BoxTypeMap['defaultComponent'],
205
- P = {},
206
- > = OverrideProps<BoxTypeMap<P, D>, D>;
208
+ RootComponent extends React.ElementType = BoxTypeMap['defaultComponent'],
209
+ AdditionalProps = {},
210
+ > = OverrideProps<BoxTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
211
+ component?: React.ElementType;
212
+ };
207
213
 
208
214
  export default Box;
package/CHANGELOG.md CHANGED
@@ -1,5 +1,254 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.14.4
4
+
5
+ <!-- generated comparing v5.14.3..master -->
6
+
7
+ _Aug 8, 2023_
8
+
9
+ A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🎉 Added [Number input](https://mui.com/base-ui/react-number-input) component & [useNumberInput](https://mui.com/base-ui/react-number-input#hook) hook in [Base UI](https://mui.com/base-ui/getting-started/) @mj12albert
12
+
13
+ ### `@mui/material@5.14.4`
14
+
15
+ - &#8203;<!-- 25 -->[Checkbox][material] Add size classes (#38182) @michaldudak
16
+ - &#8203;<!-- 03 -->[Typography] Improve inherit variant logic (#38123) @ZeeshanTamboli
17
+
18
+ ### `@mui/system@5.14.4`
19
+
20
+ - &#8203;<!-- 34 -->Revert "[Box] Remove `component` from TypeMap (#38168)" (#38356) @michaldudak
21
+
22
+ ### `@mui/base@5.0.0-beta.10`
23
+
24
+ #### Breaking changes
25
+
26
+ - &#8203;<!-- 32 -->[base] Ban default exports (#38200) @michaldudak
27
+
28
+ Base UI default exports were changed to named ones. Previously we had a mix of default and named ones.
29
+ This was changed to improve consistency and avoid problems some bundlers have with default exports.
30
+ See https://github.com/mui/material-ui/issues/21862 for more context.
31
+
32
+ ```diff
33
+ - import Button, { buttonClasses } from '@mui/base/Button';
34
+ + import { Button, buttonClasses } from '@mui/base/Button';
35
+ - import BaseMenu from '@mui/base/Menu';
36
+ + import { Menu as BaseMenu } from '@mui/base/Menu';
37
+ ```
38
+
39
+ Additionally, the `ClassNameGenerator` has been moved to the directory matching its name:
40
+
41
+ ```diff
42
+ - import ClassNameGenerator from '@mui/base/className';
43
+ + import { ClassNameGenerator } from '@mui/base/ClassNameGenerator';
44
+ ```
45
+
46
+ A codemod is provided to help with the migration:
47
+
48
+ ```bash
49
+ npx @mui/codemod v5.0.0/base-use-named-imports <path>
50
+ ```
51
+
52
+ #### Changes
53
+
54
+ - &#8203;<!-- 31 -->[base] Create useNumberInput and NumberInput (#36119) @mj12albert
55
+ - &#8203;<!-- 28 -->[Select][base] Fix flicker on click of controlled Select button (#37855) @VishruthR
56
+ - &#8203;<!-- 09 -->[Dropdown] Fix imports of types (#38296) @yash-thakur
57
+
58
+ ### `@mui/joy@5.0.0-beta.1`
59
+
60
+ - &#8203;<!-- 06 -->[joy-ui][MenuButton] Fix disable of `MenuButton` (#38342) @sai6855
61
+
62
+ ### Docs
63
+
64
+ - &#8203;<!-- 33 -->[docs][AppBar] Fix `ResponsiveAppBar` demo logo href (#38346) @iownthegame
65
+ - &#8203;<!-- 30 -->[docs][base] Add Tailwind CSS + plain CSS demo on the Button page (#38240) @alisasanib
66
+ - &#8203;<!-- 29 -->[docs][Menu][base] Remove `Unstyled` prefix from demos' function names (#38270) @sai6855
67
+ - &#8203;<!-- 22 -->[docs] Add themeable component guide (#37908) @siriwatknp
68
+ - &#8203;<!-- 21 -->[docs] Fix Joy UI demo background color (#38307) @oliviertassinari
69
+ - &#8203;<!-- 20 -->[docs] Update API docs for Number Input component (#38301) @ZeeshanTamboli
70
+ - &#8203;<!-- 14 -->[docs][joy-ui] Revise the theme typography page (#38285) @danilo-leal
71
+ - &#8203;<!-- 13 -->[docs][joy-ui] Add TS demo for Menu Bar (#38308) @sai6855
72
+ - &#8203;<!-- 10 -->[docs][joy-ui] Updated Typography callout at getting started (#38289) @zanivan
73
+ - &#8203;<!-- 12 -->[docs][joy-ui] Fix the Inter font installation instructions (#38284) @danilo-leal
74
+ - &#8203;<!-- 11 -->[docs][material] Add note to Autocomplete about ref forwarding (#38305) @samuelsycamore
75
+ - &#8203;<!-- 05 -->[docs][Skeleton] Make the demos feel more realistic (#38212) @oliviertassinari
76
+
77
+ - &#8203;<!-- 08 -->[examples] Swap Next.js examples between App Router and Pages Router; update naming convention (#38204) @samuelsycamore
78
+ - &#8203;<!-- 07 -->[examples][material-ui] Add Material UI + Next.js (App Router) example in JS (#38323) @samuelsycamore
79
+ - &#8203;<!-- 27 -->[blog] Discord announcement blog (#38258) @richbustos
80
+ - &#8203;<!-- 26 -->[blog] Fix 301 links to Toolpad @oliviertassinari
81
+ - &#8203;<!-- 04 -->[website] Updating Charts demo with real charts usage for MUI X marketing page (#38317) @richbustos
82
+ - &#8203;<!-- 03 -->[website] Adjust styles of the Product section on the homepage (#38366) @danilo-leal
83
+ - &#8203;<!-- 02 -->[website] Add Nora teamMember card to 'About' (#38358) @noraleonte
84
+ - &#8203;<!-- 01 -->[website] Fix image layout shift (#38326) @oliviertassinari
85
+
86
+ ### Core
87
+
88
+ - &#8203;<!-- 24 -->[core] Fix docs demo export function consistency (#38191) @oliviertassinari
89
+ - &#8203;<!-- 23 -->[core] Fix the link-check script on Windows (#38276) @michaldudak
90
+ - &#8203;<!-- 26 -->[core] Use @testing-library/user-event direct API (#38325) @mj12albert
91
+ - &#8203;<!-- 29 -->[core] Port GitHub workflow for ensuring triage label is present (#38312) @DanailH
92
+ - &#8203;<!-- 19 -->[docs-infra] Consider files ending with .types.ts as props files (#37533) @mnajdova
93
+ - &#8203;<!-- 18 -->[docs-infra] Fix skip to content design (#38304) @oliviertassinari
94
+ - &#8203;<!-- 17 -->[docs-infra] Add a general round of polish to the API content display (#38282) @danilo-leal
95
+ - &#8203;<!-- 16 -->[docs-infra] Make the side nav collapse animation snappier (#38259) @danilo-leal
96
+ - &#8203;<!-- 15 -->[docs-infra] New Component API design followup (#38183) @cherniavskii
97
+ - &#8203;<!-- 06 -->[test] Remove unnecessary `async` keyword from test (#38373) @ZeeshanTamboli
98
+
99
+ All contributors of this release in alphabetical order: @alisasanib, @cherniavskii, @DanailH, @danilo-leal, @iownthegame, @michaldudak, @mj12albert, @mnajdova, @noraleonte, @oliviertassinari, @richbustos, @sai6855, @samuelsycamore, @siriwatknp, @VishruthR, @yash-thakur, @zanivan, @ZeeshanTamboli
100
+
101
+ ## 5.14.3
102
+
103
+ <!-- generated comparing v5.14.2..master -->
104
+
105
+ _Jul 31, 2023_
106
+
107
+ A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
108
+
109
+ - 🚀 [Joy UI](https://mui.com/joy-ui/getting-started/) is now in Beta
110
+ - ✨ Refine [Joy UI](https://mui.com/joy-ui/getting-started/)'s default theme @siriwatknp @zanivan
111
+ - 🎉 Added Dropdown higher-level menu component [Base UI](https://mui.com/base-ui/getting-started/) @michaldudak
112
+ - 💫 Added Material You [Badge](https://mui.com/material-ui/react-badge/#material-you-version) to `material-next` (#37850) @DiegoAndai
113
+
114
+ ### `@mui/material@5.14.3`
115
+
116
+ - &#8203;<!-- 36 -->[Autocomplete][material][joy] Add default `getOptionLabel` prop in ownerState (#38100) @DSK9012
117
+ - &#8203;<!-- 26 -->[Menu][Divider][material] Do not allow focus on Divider when inside Menu list (#38102) @divyammadhok
118
+ - &#8203;<!-- 06 -->[typescript][material] Rename one letter type parameters (#38155) @michaldudak
119
+ - &#8203;<!-- 08 -->[Menu][material] Fixes slots and slotProps overriding defaults completely (#37902) @gitstart
120
+ - &#8203;<!-- 07 -->[Theme][material] Add missing styleOverrides type for theme MuiStack (#38189) @DiegoAndai
121
+ - &#8203;<!-- 04 -->[typescript][material] Add `component` field to `*Props` types (#38084) @michaldudak
122
+
123
+ ### `@mui/base@5.0.0-beta.9`
124
+
125
+ #### Breaking changes
126
+
127
+ - &#8203;<!-- 11 -->[Dropdown][base][joy] Introduce higher-level menu component (#37667) @michaldudak
128
+
129
+ #### Other changes
130
+
131
+ - &#8203;<!-- 33 -->[typescript][base] Rename one letter type parameters (#38171) @michaldudak
132
+
133
+ ### `@mui/joy@5.0.0-beta.0`
134
+
135
+ - &#8203;<!-- 10 -->[joy] Refine the default theme (#36843) @siriwatknp
136
+
137
+ ### `@mui/material-next@6.0.0-alpha.95`
138
+
139
+ - &#8203;<!-- 35 -->[Badge][material-next] Add Badge component (#37850) @DiegoAndai
140
+ - &#8203;<!-- 30 -->[Chip][material-next] Copy chip component from material (#38053) @DiegoAndai
141
+ - &#8203;<!-- 09 -->[typescript][material-next] Rename one letter type parameters (#38172) @michaldudak
142
+
143
+ ### `@mui/system@5.14.3`
144
+
145
+ - &#8203;<!-- 32 -->[Box][system] Remove `component` from TypeMap (#38168) @michaldudak
146
+ - &#8203;<!-- 05 -->[Stack][system] Fix CSS selector (#37525) @sai6855
147
+
148
+ ### Docs
149
+
150
+ - &#8203;<!-- 49 -->[docs] Update Joy UI's package README (#38262) @ZeeshanTamboli
151
+ - &#8203;<!-- 48 -->[docs][base-ui] Add new batch of coming soon pages (#38025) @danilo-leal
152
+ - &#8203;<!-- 44 -->[docs] fix links to standardized examples (#38193) @emmanuel-ferdman
153
+ - &#8203;<!-- 43 -->[docs-infra] Small design polish to the Diamond Sponsor container (#38257) @danilo-leal
154
+ - &#8203;<!-- 42 -->[docs-infra] Show props in the table of content (#38173) @alexfauquette
155
+ - &#8203;<!-- 41 -->[docs-infra] Polish API page design (#38196) @oliviertassinari
156
+ - &#8203;<!-- 40 -->[docs-infra] Search with productCategory when product is missing (#38239) @oliviertassinari
157
+ - &#8203;<!-- 39 -->[docs][material] Revise and update Examples doc (#38205) @samuelsycamore
158
+ - &#8203;<!-- 38 -->[docs] Fix typo in notifications.json @mbrookes
159
+ - &#8203;<!-- 37 -->[docs-infra] Remove leftover standardNavIcon (#38252) @DiegoAndai
160
+ - &#8203;<!-- 34 -->[docs][base] Add Tailwind CSS & plain CSS demos on the Popper page (#37953) @zanivan
161
+ - &#8203;<!-- 31 -->[docs][Button][joy] Improve `loading` prop documentation (#38156) @sai6855
162
+ - &#8203;<!-- 25 -->[docs] Prepare docs infra for Tree View migration to X (#38202) @flaviendelangle
163
+ - &#8203;<!-- 24 -->[docs] Fix SEO issues reported by ahrefs @oliviertassinari
164
+ - &#8203;<!-- 23 -->[docs] Fix palette pages - live edit not working (#38195) @oliviertassinari
165
+ - &#8203;<!-- 22 -->[docs] Add Google Analytics action for the styling menu (#38085) @mnajdova
166
+ - &#8203;<!-- 21 -->[docs] Fix Discord redirection chain @oliviertassinari
167
+ - &#8203;<!-- 20 -->[docs] Cover pnpm in more places (#38161) @oliviertassinari
168
+ - &#8203;<!-- 19 -->[docs] Avoid broken link (#38154) @oliviertassinari
169
+ - &#8203;<!-- 18 -->[docs] Add notification for beta release of Toolpad (#38152) @prakhargupta1
170
+ - &#8203;<!-- 17 -->[docs-infra] Remove sidenav icons (#38174) @oliviertassinari
171
+ - &#8203;<!-- 16 -->[docs-infra] Fix search ranking when no productId (#38162) @oliviertassinari
172
+ - &#8203;<!-- 15 -->[docs-infra] Adjust the side nav for deeper nested items (#38047) @cherniavskii
173
+ - &#8203;<!-- 14 -->[docs][joy] Update TS file of adding more typography levels demo to match the corresponding JS file's styles (#38232) @ZeeshanTamboli
174
+ - &#8203;<!-- 13 -->[docs][joy] Add TS demo for reusable component section in approaches page (#38210) @sai6855
175
+ - &#8203;<!-- 12 -->[docs][joy] Add TS demo for theme typography new level customization (#38199) @sai6855
176
+
177
+ ### Core
178
+
179
+ - &#8203;<!-- 47 -->[blog] Fix blog post slug Base UI (#38254) @oliviertassinari
180
+ - &#8203;<!-- 46 -->[core] Use native Node's fetch instead of node-fetch package (#38263) @michaldudak
181
+ - &#8203;<!-- 45 -->[core] Remove dead code @oliviertassinari
182
+ - &#8203;<!-- 29 -->[core] Polish Stack test to closer CSS injection order @oliviertassinari
183
+ - &#8203;<!-- 28 -->[core] Remove unnecessary `Required` utility type from Typography font style type (#38203) @ZeeshanTamboli
184
+ - &#8203;<!-- 27 -->[core] Fix generate Proptypes script skipping unstable items (#38198) @mj12albert
185
+ - &#8203;<!-- 03 -->[website] Adding Rich Bustos Twitter handle in bio (#38213) @richbustos
186
+ - &#8203;<!-- 02 -->[website] Prepare importing data from HiBob (#38238) @oliviertassinari
187
+ - &#8203;<!-- 01 -->[website] Sync team member with HiBob, add Raffaella (#38201) @rluzists1
188
+
189
+ All contributors of this release in alphabetical order: @cherniavskii, @DiegoAndai, @divyammadhok, @DSK9012, @flaviendelangle, @gitstart, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @prakhargupta1, @richbustos, @rluzists1, @sai6855, @siriwatknp, @zanivan, @ZeeshanTamboli
190
+
191
+ ## 5.14.2
192
+
193
+ <!-- generated comparing v5.14.1..master -->
194
+
195
+ _Jul 25, 2023_
196
+
197
+ A big thanks to the 23 contributors who made this release possible.
198
+
199
+ ### @mui/material@5.14.2
200
+
201
+ - &#8203;<!-- 39 -->Revert "[core] Adds `component` prop to `OverrideProps` type (#35924)" (#38150) @michaldudak
202
+ - &#8203;<!-- 32 -->[Chip][material] Fix base cursor style to be "auto" not "default" (#38076) @DiegoAndai
203
+ - &#8203;<!-- 12 -->[Tabs] Refactor IntersectionObserver logic (#38133) @ZeeshanTamboli
204
+ - &#8203;<!-- 11 -->[Tabs] Fix and improve visibility of tab scroll buttons using the IntersectionObserver API (#36071) @SaidMarar
205
+
206
+ ### @mui/joy@5.0.0-alpha.89
207
+
208
+ - &#8203;<!-- 15 -->[Joy] Replace leftover `Joy-` prefix with `Mui-` (#38086) @siriwatknp
209
+ - &#8203;<!-- 14 -->[Skeleton][joy] Fix WebkitMaskImage CSS property (#38077) @Bestwebdesign
210
+ - &#8203;<!-- 13 -->[Link][Joy UI] Fix font inherit (#38124) @oliviertassinari
211
+
212
+ ### Docs
213
+
214
+ - &#8203;<!-- 37 -->[docs] Add listbox placement demo for Select (#38130) @sai6855
215
+ - &#8203;<!-- 36 -->[docs][base] Add Tailwind CSS & plain CSS demo on the Tabs page (#37910) @mnajdova
216
+ - &#8203;<!-- 35 -->[docs][base] Add Tailwind CSS & plain CSS demos on the Textarea page (#37943) @zanivan
217
+ - &#8203;<!-- 29 -->[docs] Fix Joy UI menu example (#38140) @harikrishnanp
218
+ - &#8203;<!-- 28 -->[docs] Remove translations section from contributing guide (#38125) @nikohoffren
219
+ - &#8203;<!-- 27 -->[docs] Fix Base UI Button Tailwind CSS padding @oliviertassinari
220
+ - &#8203;<!-- 26 -->[docs] Mention in hompage hero that Core is free (#38075) @mbrookes
221
+ - &#8203;<!-- 25 -->[docs] Fix a typo in notifications.json (#38078) @mbrookes
222
+ - &#8203;<!-- 24 -->[docs] Add Tailwind CSS & plain CSS demo on the table pagination page (#37937) @mnajdova
223
+ - &#8203;<!-- 23 -->[docs] Implement the new API display design (#37405) @alexfauquette
224
+ - &#8203;<!-- 22 -->[docs] Update migration installation code blocks (#38028) @danilo-leal
225
+ - &#8203;<!-- 21 -->[docs][joy] Revise the Joy UI Link page (#37829) @danilo-leal
226
+ - &#8203;<!-- 20 -->[docs][joy] Add playground for Card component (#37820) @Studio384
227
+ - &#8203;<!-- 19 -->[docs][joy] Add adjustments to the color inversion page (#37143) @danilo-leal
228
+ - &#8203;<!-- 18 -->[docs][material] Improve documentation about adding custom colors (#37743) @DiegoAndai
229
+ - &#8203;<!-- 17 -->[examples] Fix Joy UI Next.js App Router font loading (#38095) @IgnacioUtrilla
230
+ - &#8203;<!-- 16 -->[examples] Fix material-next Font Usage with next/font (#38026) @onderonur
231
+
232
+ ### Core
233
+
234
+ - &#8203;<!-- 34 -->[blog] Update Discord invite link in Toolpad beta announcement (#38143) @samuelsycamore
235
+ - &#8203;<!-- 33 -->[blog] Update discord server link (#38131) @prakhargupta1
236
+ - &#8203;<!-- 31 -->[core] Fix rsc-builder removing the first line (#38134) @michaldudak
237
+ - &#8203;<!-- 30 -->[core] Remove the deprecation rule in tslint (#38087) @michaldudak
238
+ - &#8203;<!-- 09 -->[website] Mobile navigation: Toolpad to Beta (#38146) @bharatkashyap
239
+ - &#8203;<!-- 08 -->[website] Fix typo on pricing page @oliviertassinari
240
+ - &#8203;<!-- 07 -->[website] Fix a few regression (#38050) @oliviertassinari
241
+ - &#8203;<!-- 06 -->[website] Update Demo footers on MUI X landing page (#38027) @richbustos
242
+ - &#8203;<!-- 05 -->[website] Fix 301 redirection to base index page @oliviertassinari
243
+ - &#8203;<!-- 04 -->[website] Fix Cell selection feature name (#38029) @oliviertassinari
244
+ - &#8203;<!-- 03 -->[website] Improve button look (#38052) @oliviertassinari
245
+ - &#8203;<!-- 02 -->[website] Link new core page to new Base UI landing page (#38030) @mj12albert
246
+ - &#8203;<!-- 01 -->[website] Polish pricing page (#37975) @oliviertassinari
247
+ - &#8203;<!-- 10 -->[test] Fail the CI when new unexpected files are created (#38039) @oliviertassinari
248
+ - &#8203;<!-- 09 -->[test] Fix linting error by matching main component demo name to filename (#38122) @ZeeshanTamboli
249
+
250
+ All contributors of this release in alphabetical order: @alexfauquette, @Bestwebdesign, @bharatkashyap, @danilo-leal, @DiegoAndai, @harikrishnanp, @IgnacioUtrilla, @mbrookes, @michaldudak, @mj12albert, @mnajdova, @nikohoffren, @oliviertassinari, @onderonur, @prakhargupta1, @richbustos, @sai6855, @SaidMarar, @samuelsycamore, @siriwatknp, @Studio384, @zanivan, @ZeeshanTamboli
251
+
3
252
  ## 5.14.1
4
253
 
5
254
  <!-- generated comparing v5.14.0..master -->
@@ -250,7 +499,7 @@ _Jun 21, 2023_
250
499
  A big thanks to the 25 contributors who made this release possible. Here are some highlights ✨:
251
500
 
252
501
  - 💫 Added [Slider](https://mui.com/material-ui/react-slider/#material-you-version) component using the new Material You design language (#37520) @DiegoAndai.
253
- - 📚 Added [examples](https://github.com/mui/material-ui/tree/master/examples/material-next-app-router-ts) showcasing how you can use Material UI with next.js's app directory (#37315) @smo043
502
+ - 📚 Added [examples](https://github.com/mui/material-ui/tree/master/examples/material-ui-nextjs-ts) showcasing how you can use Material UI with next.js's app directory (#37315) @smo043
254
503
 
255
504
  ### `@mui/material@5.13.6`
256
505
 
@@ -311,7 +560,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
311
560
  - &#8203;<!-- 19 -->[docs-infra] Add analyticsTags to Algolia (#37600) @Janpot
312
561
  - &#8203;<!-- 18 -->[docs-infra] Simplify product id handling (#37593) @oliviertassinari
313
562
  - &#8203;<!-- 35 -->[CHANGELOG] Add missing release date for v5.13.5 @oliviertassinari
314
- - &#8203;<!-- 16 -->[examples] Shell command fix in the readme file of material-next-app-router-ts example (#37675) @bablukpik
563
+ - &#8203;<!-- 16 -->[examples] Shell command fix in the readme file of material-next-ts example (#37675) @bablukpik
315
564
  - &#8203;<!-- 15 -->[examples] Next.js v13 app router with Material UI (#37315) @smo043
316
565
 
317
566
  ### Core
@@ -2889,7 +3138,7 @@ _Sep 12, 2022_
2889
3138
 
2890
3139
  A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
2891
3140
 
2892
- - 🚀 [Blog post](https://mui.com/blog/introducing-mui-base/) for announcing the release of the Base UI package is out thanks to @michaldudak.
3141
+ - 🚀 [Blog post](https://mui.com/blog/introducing-base-ui/) for announcing the release of the Base UI package is out thanks to @michaldudak.
2893
3142
  - 🚀 Added [`Alert`](https://mui.com/joy-ui/react-alert/), [`Modal`](https://mui.com/joy-ui/react-modal/), [`ListSubheader`](https://mui.com/joy-ui/react-list-subheader/), [`FormControl`](https://mui.com/joy-ui/react-form-control/), [`CircularProgress`](https://mui.com/joy-ui/react-circular-progress/) components to Joy UI (#33859) @hbjORbj @siriwatknp
2894
3143
  - And more 🐛 bug fixes and 📚 documentation improvements.
2895
3144
 
@@ -4958,7 +5207,7 @@ _Feb 1, 2022_
4958
5207
 
4959
5208
  A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
4960
5209
 
4961
- - 🛠 @goncalovf added an example project using [Material UI with Vite.js](https://github.com/mui/material-ui/tree/master/examples/material-vite) (#28241)
5210
+ - 🛠 @goncalovf added an example project using [Material UI with Vite.js](https://github.com/mui/material-ui/tree/master/examples/material-ui-vite) (#28241)
4962
5211
  - Number of 🐛 bug fixes and 📚 documentation improvements.
4963
5212
 
4964
5213
  ### `@mui/material@5.4.0`
@@ -1,13 +1,13 @@
1
- /**
2
- *
3
- * Demos:
4
- *
5
- * - [Container (Material UI)](https://mui.com/material-ui/react-container/)
6
- * - [Container (MUI System)](https://mui.com/system/react-container/)
7
- *
8
- * API:
9
- *
10
- * - [Container API](https://mui.com/system/api/container/)
11
- */
12
- declare const Container: import("@mui/types").OverridableComponent<import("./ContainerProps").ContainerTypeMap<{}, "div">>;
13
- export default Container;
1
+ /**
2
+ *
3
+ * Demos:
4
+ *
5
+ * - [Container (Material UI)](https://mui.com/material-ui/react-container/)
6
+ * - [Container (MUI System)](https://mui.com/system/react-container/)
7
+ *
8
+ * API:
9
+ *
10
+ * - [Container API](https://mui.com/system/api/container/)
11
+ */
12
+ declare const Container: import("@mui/types").OverridableComponent<import("./ContainerProps").ContainerTypeMap<{}, "div">>;
13
+ export default Container;
@@ -1,40 +1,40 @@
1
- import * as React from 'react';
2
- import { OverrideProps } from '@mui/types';
3
- import { SxProps } from '../styleFunctionSx';
4
- import { Theme, Breakpoint } from '../createTheme';
5
- import { ContainerClasses } from './containerClasses';
6
- export interface ContainerTypeMap<P = {}, D extends React.ElementType = 'div'> {
7
- props: P & {
8
- children?: React.ReactNode;
9
- /**
10
- * Override or extend the styles applied to the component.
11
- */
12
- classes?: Partial<ContainerClasses>;
13
- /**
14
- * If `true`, the left and right padding is removed.
15
- * @default false
16
- */
17
- disableGutters?: boolean;
18
- /**
19
- * Set the max-width to match the min-width of the current breakpoint.
20
- * This is useful if you'd prefer to design for a fixed set of sizes
21
- * instead of trying to accommodate a fully fluid viewport.
22
- * It's fluid by default.
23
- * @default false
24
- */
25
- fixed?: boolean;
26
- /**
27
- * Determine the max-width of the container.
28
- * The container width grows with the size of the screen.
29
- * Set to `false` to disable `maxWidth`.
30
- * @default 'lg'
31
- */
32
- maxWidth?: Breakpoint | false;
33
- /**
34
- * The system prop that allows defining system overrides as well as additional CSS styles.
35
- */
36
- sx?: SxProps<Theme>;
37
- };
38
- defaultComponent: D;
39
- }
40
- export type ContainerProps<D extends React.ElementType = ContainerTypeMap['defaultComponent'], P = {}> = OverrideProps<ContainerTypeMap<P, D>, D>;
1
+ import * as React from 'react';
2
+ import { OverrideProps } from '@mui/types';
3
+ import { SxProps } from '../styleFunctionSx';
4
+ import { Theme, Breakpoint } from '../createTheme';
5
+ import { ContainerClasses } from './containerClasses';
6
+ export interface ContainerTypeMap<AdditionalProps = {}, DefaultComponent extends React.ElementType = 'div'> {
7
+ props: AdditionalProps & {
8
+ children?: React.ReactNode;
9
+ /**
10
+ * Override or extend the styles applied to the component.
11
+ */
12
+ classes?: Partial<ContainerClasses>;
13
+ /**
14
+ * If `true`, the left and right padding is removed.
15
+ * @default false
16
+ */
17
+ disableGutters?: boolean;
18
+ /**
19
+ * Set the max-width to match the min-width of the current breakpoint.
20
+ * This is useful if you'd prefer to design for a fixed set of sizes
21
+ * instead of trying to accommodate a fully fluid viewport.
22
+ * It's fluid by default.
23
+ * @default false
24
+ */
25
+ fixed?: boolean;
26
+ /**
27
+ * Determine the max-width of the container.
28
+ * The container width grows with the size of the screen.
29
+ * Set to `false` to disable `maxWidth`.
30
+ * @default 'lg'
31
+ */
32
+ maxWidth?: Breakpoint | false;
33
+ /**
34
+ * The system prop that allows defining system overrides as well as additional CSS styles.
35
+ */
36
+ sx?: SxProps<Theme>;
37
+ };
38
+ defaultComponent: DefaultComponent;
39
+ }
40
+ export type ContainerProps<RootComponent extends React.ElementType = ContainerTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<ContainerTypeMap<AdditionalProps, RootComponent>, RootComponent>;
@@ -1,22 +1,22 @@
1
- export interface ContainerClasses {
2
- /** Styles applied to the root element. */
3
- root: string;
4
- /** Styles applied to the root element if `disableGutters={true}`. */
5
- disableGutters: string;
6
- /** Styles applied to the root element if `fixed={true}`. */
7
- fixed: string;
8
- /** Styles applied to the root element if `maxWidth="xs"`. */
9
- maxWidthXs: string;
10
- /** Styles applied to the root element if `maxWidth="sm"`. */
11
- maxWidthSm: string;
12
- /** Styles applied to the root element if `maxWidth="md"`. */
13
- maxWidthMd: string;
14
- /** Styles applied to the root element if `maxWidth="lg"`. */
15
- maxWidthLg: string;
16
- /** Styles applied to the root element if `maxWidth="xl"`. */
17
- maxWidthXl: string;
18
- }
19
- export type ContainerClassKey = keyof ContainerClasses;
20
- export declare function getContainerUtilityClass(slot: string): string;
21
- declare const containerClasses: ContainerClasses;
22
- export default containerClasses;
1
+ export interface ContainerClasses {
2
+ /** Styles applied to the root element. */
3
+ root: string;
4
+ /** Styles applied to the root element if `disableGutters={true}`. */
5
+ disableGutters: string;
6
+ /** Styles applied to the root element if `fixed={true}`. */
7
+ fixed: string;
8
+ /** Styles applied to the root element if `maxWidth="xs"`. */
9
+ maxWidthXs: string;
10
+ /** Styles applied to the root element if `maxWidth="sm"`. */
11
+ maxWidthSm: string;
12
+ /** Styles applied to the root element if `maxWidth="md"`. */
13
+ maxWidthMd: string;
14
+ /** Styles applied to the root element if `maxWidth="lg"`. */
15
+ maxWidthLg: string;
16
+ /** Styles applied to the root element if `maxWidth="xl"`. */
17
+ maxWidthXl: string;
18
+ }
19
+ export type ContainerClassKey = keyof ContainerClasses;
20
+ export declare function getContainerUtilityClass(slot: string): string;
21
+ declare const containerClasses: ContainerClasses;
22
+ export default containerClasses;
@@ -1,18 +1,18 @@
1
- import * as React from 'react';
2
- import { Interpolation, StyledComponent } from '@mui/styled-engine';
3
- import { OverridableComponent } from '@mui/types';
4
- import { ContainerProps, ContainerTypeMap } from './ContainerProps';
5
- import { Theme as DefaultTheme } from '../createTheme';
6
- interface StyleFnProps<Theme> extends ContainerProps {
7
- theme: Theme;
8
- ownerState: ContainerProps;
9
- }
10
- type RequiredThemeStructure = Pick<DefaultTheme, 'breakpoints' | 'spacing'>;
11
- export default function createContainer<Theme extends RequiredThemeStructure = DefaultTheme>(options?: {
12
- createStyledComponent?: (...styles: Array<Interpolation<StyleFnProps<Theme>>>) => StyledComponent<ContainerProps>;
13
- useThemeProps?: (inProps: ContainerProps) => ContainerProps & {
14
- component?: React.ElementType;
15
- };
16
- componentName?: string;
17
- }): OverridableComponent<ContainerTypeMap<{}, "div">>;
18
- export {};
1
+ import * as React from 'react';
2
+ import { Interpolation, StyledComponent } from '@mui/styled-engine';
3
+ import { OverridableComponent } from '@mui/types';
4
+ import { ContainerProps, ContainerTypeMap } from './ContainerProps';
5
+ import { Theme as DefaultTheme } from '../createTheme';
6
+ interface StyleFnProps<Theme> extends ContainerProps {
7
+ theme: Theme;
8
+ ownerState: ContainerProps;
9
+ }
10
+ type RequiredThemeStructure = Pick<DefaultTheme, 'breakpoints' | 'spacing'>;
11
+ export default function createContainer<Theme extends RequiredThemeStructure = DefaultTheme>(options?: {
12
+ createStyledComponent?: (...styles: Array<Interpolation<StyleFnProps<Theme>>>) => StyledComponent<ContainerProps>;
13
+ useThemeProps?: (inProps: ContainerProps) => ContainerProps & {
14
+ component?: React.ElementType;
15
+ };
16
+ componentName?: string;
17
+ }): OverridableComponent<ContainerTypeMap<{}, "div">>;
18
+ export {};
@@ -1,13 +1,13 @@
1
- import * as React from 'react';
2
- import { Interpolation } from '@mui/styled-engine';
3
- import { Theme as SystemTheme } from '../createTheme';
4
- export interface GlobalStylesProps<Theme = SystemTheme> {
5
- styles: Interpolation<Theme>;
6
- defaultTheme?: object;
7
- themeId?: string;
8
- }
9
- declare function GlobalStyles<Theme = SystemTheme>({ styles, themeId, defaultTheme, }: GlobalStylesProps<Theme>): React.JSX.Element;
10
- declare namespace GlobalStyles {
11
- var propTypes: any;
12
- }
13
- export default GlobalStyles;
1
+ import * as React from 'react';
2
+ import { Interpolation } from '@mui/styled-engine';
3
+ import { Theme as SystemTheme } from '../createTheme';
4
+ export interface GlobalStylesProps<Theme = SystemTheme> {
5
+ styles: Interpolation<Theme>;
6
+ defaultTheme?: object;
7
+ themeId?: string;
8
+ }
9
+ declare function GlobalStyles<Theme = SystemTheme>({ styles, themeId, defaultTheme, }: GlobalStylesProps<Theme>): React.JSX.Element;
10
+ declare namespace GlobalStyles {
11
+ var propTypes: any;
12
+ }
13
+ export default GlobalStyles;
@@ -1,2 +1,2 @@
1
- export { default } from './GlobalStyles';
2
- export * from './GlobalStyles';
1
+ export { default } from './GlobalStyles';
2
+ export * from './GlobalStyles';
package/Stack/Stack.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- /**
2
- *
3
- * Demos:
4
- *
5
- * - [Stack (Joy UI)](https://mui.com/joy-ui/react-stack/)
6
- * - [Stack (Material UI)](https://mui.com/material-ui/react-stack/)
7
- * - [Stack (MUI System)](https://mui.com/system/react-stack/)
8
- *
9
- * API:
10
- *
11
- * - [Stack API](https://mui.com/system/api/stack/)
12
- */
13
- declare const Stack: import("@mui/types").OverridableComponent<import("./StackProps").StackTypeMap<{}, "div">>;
14
- export default Stack;
1
+ /**
2
+ *
3
+ * Demos:
4
+ *
5
+ * - [Stack (Joy UI)](https://mui.com/joy-ui/react-stack/)
6
+ * - [Stack (Material UI)](https://mui.com/material-ui/react-stack/)
7
+ * - [Stack (MUI System)](https://mui.com/system/react-stack/)
8
+ *
9
+ * API:
10
+ *
11
+ * - [Stack API](https://mui.com/system/api/stack/)
12
+ */
13
+ declare const Stack: import("@mui/types").OverridableComponent<import("./StackProps").StackTypeMap<{}, "div">>;
14
+ export default Stack;