@mui/lab 7.0.0-beta.11 → 7.0.0-beta.13

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 (155) hide show
  1. package/CHANGELOG.md +169 -0
  2. package/Masonry/Masonry.js +9 -10
  3. package/TabPanel/TabPanel.d.ts +1 -1
  4. package/TabPanel/TabPanel.js +1 -2
  5. package/Timeline/Timeline.types.d.ts +1 -1
  6. package/TimelineConnector/TimelineConnector.d.ts +1 -1
  7. package/TimelineConnector/TimelineConnector.js +1 -2
  8. package/TimelineContent/TimelineContent.d.ts +2 -1
  9. package/TimelineDot/TimelineDot.d.ts +1 -1
  10. package/TimelineItem/TimelineItem.d.ts +1 -1
  11. package/TimelineOppositeContent/TimelineOppositeContent.d.ts +2 -1
  12. package/TimelineSeparator/TimelineSeparator.d.ts +1 -1
  13. package/TimelineSeparator/TimelineSeparator.js +1 -2
  14. package/esm/Masonry/Masonry.js +4 -5
  15. package/esm/TabPanel/TabPanel.d.ts +1 -1
  16. package/esm/TabPanel/TabPanel.js +1 -2
  17. package/esm/Timeline/Timeline.types.d.ts +1 -1
  18. package/esm/TimelineConnector/TimelineConnector.d.ts +1 -1
  19. package/esm/TimelineConnector/TimelineConnector.js +1 -2
  20. package/esm/TimelineContent/TimelineContent.d.ts +2 -1
  21. package/esm/TimelineDot/TimelineDot.d.ts +1 -1
  22. package/esm/TimelineItem/TimelineItem.d.ts +1 -1
  23. package/esm/TimelineOppositeContent/TimelineOppositeContent.d.ts +2 -1
  24. package/esm/TimelineSeparator/TimelineSeparator.d.ts +1 -1
  25. package/esm/TimelineSeparator/TimelineSeparator.js +1 -2
  26. package/esm/index.js +1 -1
  27. package/esm/internal/svg-icons/ArrowDropDown.d.ts +1 -1
  28. package/esm/internal/svg-icons/ArrowLeft.d.ts +1 -1
  29. package/esm/internal/svg-icons/ArrowRight.d.ts +1 -1
  30. package/esm/internal/svg-icons/Calendar.d.ts +1 -1
  31. package/esm/internal/svg-icons/Clock.d.ts +1 -1
  32. package/esm/internal/svg-icons/DateRange.d.ts +1 -1
  33. package/esm/internal/svg-icons/Pen.d.ts +1 -1
  34. package/esm/internal/svg-icons/Time.d.ts +1 -1
  35. package/index.js +1 -1
  36. package/internal/svg-icons/ArrowDropDown.d.ts +1 -1
  37. package/internal/svg-icons/ArrowLeft.d.ts +1 -1
  38. package/internal/svg-icons/ArrowRight.d.ts +1 -1
  39. package/internal/svg-icons/Calendar.d.ts +1 -1
  40. package/internal/svg-icons/Clock.d.ts +1 -1
  41. package/internal/svg-icons/DateRange.d.ts +1 -1
  42. package/internal/svg-icons/Pen.d.ts +1 -1
  43. package/internal/svg-icons/Time.d.ts +1 -1
  44. package/package.json +10 -9
  45. package/modern/AdapterDateFns/AdapterDateFns.d.ts +0 -6
  46. package/modern/AdapterDateFns/index.d.ts +0 -1
  47. package/modern/AdapterDayjs/AdapterDayjs.d.ts +0 -6
  48. package/modern/AdapterDayjs/index.d.ts +0 -1
  49. package/modern/AdapterLuxon/AdapterLuxon.d.ts +0 -6
  50. package/modern/AdapterLuxon/index.d.ts +0 -1
  51. package/modern/AdapterMoment/AdapterMoment.d.ts +0 -6
  52. package/modern/AdapterMoment/index.d.ts +0 -1
  53. package/modern/CalendarPicker/CalendarPicker.d.ts +0 -15
  54. package/modern/CalendarPicker/index.d.ts +0 -2
  55. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +0 -14
  56. package/modern/CalendarPickerSkeleton/index.d.ts +0 -2
  57. package/modern/ClockPicker/ClockPicker.d.ts +0 -15
  58. package/modern/ClockPicker/index.d.ts +0 -2
  59. package/modern/DatePicker/DatePicker.d.ts +0 -10
  60. package/modern/DatePicker/index.d.ts +0 -2
  61. package/modern/DateRangePicker/DateRangePicker.d.ts +0 -12
  62. package/modern/DateRangePicker/index.d.ts +0 -2
  63. package/modern/DateRangePickerDay/DateRangePickerDay.d.ts +0 -14
  64. package/modern/DateRangePickerDay/index.d.ts +0 -2
  65. package/modern/DateTimePicker/DateTimePicker.d.ts +0 -11
  66. package/modern/DateTimePicker/index.d.ts +0 -2
  67. package/modern/DesktopDatePicker/DesktopDatePicker.d.ts +0 -11
  68. package/modern/DesktopDatePicker/index.d.ts +0 -2
  69. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +0 -11
  70. package/modern/DesktopDateRangePicker/index.d.ts +0 -2
  71. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +0 -11
  72. package/modern/DesktopDateTimePicker/index.d.ts +0 -2
  73. package/modern/DesktopTimePicker/DesktopTimePicker.d.ts +0 -11
  74. package/modern/DesktopTimePicker/index.d.ts +0 -2
  75. package/modern/LoadingButton/LoadingButton.d.ts +0 -3
  76. package/modern/LoadingButton/index.d.ts +0 -2
  77. package/modern/LocalizationProvider/LocalizationProvider.d.ts +0 -11
  78. package/modern/LocalizationProvider/index.d.ts +0 -2
  79. package/modern/Masonry/Masonry.d.ts +0 -62
  80. package/modern/Masonry/index.d.ts +0 -4
  81. package/modern/Masonry/masonryClasses.d.ts +0 -8
  82. package/modern/MobileDatePicker/MobileDatePicker.d.ts +0 -11
  83. package/modern/MobileDatePicker/index.d.ts +0 -2
  84. package/modern/MobileDateRangePicker/MobileDateRangePicker.d.ts +0 -11
  85. package/modern/MobileDateRangePicker/index.d.ts +0 -2
  86. package/modern/MobileDateTimePicker/MobileDateTimePicker.d.ts +0 -11
  87. package/modern/MobileDateTimePicker/index.d.ts +0 -2
  88. package/modern/MobileTimePicker/MobileTimePicker.d.ts +0 -11
  89. package/modern/MobileTimePicker/index.d.ts +0 -2
  90. package/modern/MonthPicker/MonthPicker.d.ts +0 -14
  91. package/modern/MonthPicker/index.d.ts +0 -2
  92. package/modern/PickersDay/PickersDay.d.ts +0 -14
  93. package/modern/PickersDay/index.d.ts +0 -2
  94. package/modern/StaticDatePicker/StaticDatePicker.d.ts +0 -11
  95. package/modern/StaticDatePicker/index.d.ts +0 -2
  96. package/modern/StaticDateRangePicker/StaticDateRangePicker.d.ts +0 -11
  97. package/modern/StaticDateRangePicker/index.d.ts +0 -2
  98. package/modern/StaticDateTimePicker/StaticDateTimePicker.d.ts +0 -11
  99. package/modern/StaticDateTimePicker/index.d.ts +0 -2
  100. package/modern/StaticTimePicker/StaticTimePicker.d.ts +0 -11
  101. package/modern/StaticTimePicker/index.d.ts +0 -2
  102. package/modern/TabContext/TabContext.d.ts +0 -29
  103. package/modern/TabContext/index.d.ts +0 -2
  104. package/modern/TabList/TabList.d.ts +0 -30
  105. package/modern/TabList/index.d.ts +0 -2
  106. package/modern/TabPanel/TabPanel.d.ts +0 -41
  107. package/modern/TabPanel/index.d.ts +0 -4
  108. package/modern/TabPanel/tabPanelClasses.d.ts +0 -10
  109. package/modern/TimePicker/TimePicker.d.ts +0 -11
  110. package/modern/TimePicker/index.d.ts +0 -2
  111. package/modern/Timeline/Timeline.d.ts +0 -24
  112. package/modern/Timeline/Timeline.types.d.ts +0 -27
  113. package/modern/Timeline/TimelineContext.d.ts +0 -6
  114. package/modern/Timeline/index.d.ts +0 -4
  115. package/modern/Timeline/timelineClasses.d.ts +0 -16
  116. package/modern/TimelineConnector/TimelineConnector.d.ts +0 -31
  117. package/modern/TimelineConnector/index.d.ts +0 -4
  118. package/modern/TimelineConnector/timelineConnectorClasses.d.ts +0 -8
  119. package/modern/TimelineContent/TimelineContent.d.ts +0 -32
  120. package/modern/TimelineContent/index.d.ts +0 -4
  121. package/modern/TimelineContent/timelineContentClasses.d.ts +0 -16
  122. package/modern/TimelineDot/TimelineDot.d.ts +0 -44
  123. package/modern/TimelineDot/index.d.ts +0 -4
  124. package/modern/TimelineDot/timelineDotClasses.d.ts +0 -24
  125. package/modern/TimelineItem/TimelineItem.d.ts +0 -35
  126. package/modern/TimelineItem/index.d.ts +0 -4
  127. package/modern/TimelineItem/timelineItemClasses.d.ts +0 -18
  128. package/modern/TimelineOppositeContent/TimelineOppositeContent.d.ts +0 -35
  129. package/modern/TimelineOppositeContent/index.d.ts +0 -4
  130. package/modern/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +0 -16
  131. package/modern/TimelineSeparator/TimelineSeparator.d.ts +0 -31
  132. package/modern/TimelineSeparator/index.d.ts +0 -4
  133. package/modern/TimelineSeparator/timelineSeparatorClasses.d.ts +0 -8
  134. package/modern/TreeItem/TreeItem.d.ts +0 -11
  135. package/modern/TreeItem/index.d.ts +0 -2
  136. package/modern/TreeView/TreeView.d.ts +0 -11
  137. package/modern/TreeView/index.d.ts +0 -2
  138. package/modern/YearPicker/YearPicker.d.ts +0 -15
  139. package/modern/YearPicker/index.d.ts +0 -2
  140. package/modern/index.d.ts +0 -78
  141. package/modern/internal/convertTimelinePositionToClass.d.ts +0 -1
  142. package/modern/internal/svg-icons/ArrowDropDown.d.ts +0 -7
  143. package/modern/internal/svg-icons/ArrowLeft.d.ts +0 -7
  144. package/modern/internal/svg-icons/ArrowRight.d.ts +0 -7
  145. package/modern/internal/svg-icons/Calendar.d.ts +0 -7
  146. package/modern/internal/svg-icons/Clock.d.ts +0 -7
  147. package/modern/internal/svg-icons/DateRange.d.ts +0 -7
  148. package/modern/internal/svg-icons/Pen.d.ts +0 -7
  149. package/modern/internal/svg-icons/Time.d.ts +0 -7
  150. package/modern/themeAugmentation/components.d.ts +0 -63
  151. package/modern/themeAugmentation/index.d.ts +0 -3
  152. package/modern/themeAugmentation/overrides.d.ts +0 -28
  153. package/modern/themeAugmentation/props.d.ts +0 -28
  154. package/modern/useAutocomplete/index.d.ts +0 -1
  155. package/modern/zero-styled/index.d.ts +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,174 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 7.1.1
4
+
5
+ <!-- generated comparing v7.1.0..master -->
6
+
7
+ _May 30, 2025_
8
+
9
+ A big thanks to the 15 contributors who made this release possible.
10
+
11
+ ### `@mui/material@7.1.1`
12
+
13
+ - [Autocomplete] Fix label shrink issue when `renderValue` is used with empty array in multiple mode (#46047) @ZeeshanTamboli
14
+ - [Autocomplete] Prevent `renderValue` from being skipped when value is 0 (#46145) @LakshitAgarwal
15
+ - [Autocomplete] Add note in JSDoc for non-TextField components in `renderInput` (#46141) @khllbnomrn
16
+ - [Chip] Add slots and slotProps (#46098) @sai6855
17
+ - [Menu] Remove depreacted `MenuListProps` from demos (#46144) @sai6855
18
+ - [TablePaginationActions] Export TablePaginationActions as new component (#46149) @sai6855
19
+ - [SnackbarContent] Fix `square` prop not working (#46196) @0210shivam
20
+ - [SnackbarContent] Fix error when theme value is CSS variable (#46198) @0210shivam
21
+
22
+ ### `@mui/codemod@7.1.1`
23
+
24
+ - Add package name option (#45977) @siriwatknp
25
+
26
+ ### `@mui/system@7.1.1`
27
+
28
+ - Skip styled component from being transformed (#46129) @siriwatknp
29
+ - Update the type for borderRadius (#46154) @codiini
30
+
31
+ ### `@mui/styled-engine@7.1.1`
32
+
33
+ - Fix variant props callback type to spread `ownerState` (#46187) @siriwatknp
34
+
35
+ ### `@mui/stylis-plugin-rtl@7.1.1`
36
+
37
+ - Fix RTL does not work with CSS layer with a new package (#46230) @siriwatknp
38
+
39
+ ### Docs
40
+
41
+ - [Dialog] Remove deprecated TransitionComponent from demo (#46185) @sai6855
42
+ - [Grid] Remove direction `column` and `column-reverse` from the demo (#46127) @0210shivam
43
+ - [Grid] Update grid migration guide (#46057) @sai6855
44
+ - [templates] Fix rendering of logos in dark mode (#46221) @sai6855
45
+ - [ToggleButtonGroup] Add spacing demo (#46058) @sai6855
46
+ - Fix typo in dark mode docs (#46229) @ZeeshanTamboli
47
+ - Clarify Next.js + Tailwind CSS v3 integration requirements (#46176) @chaitanyasharma1011
48
+ - Fix GridLegacy docs order (#46135) @oliviertassinari
49
+ - Update upgrade guide for resolution of `react-is` (#46002) @siriwatknp
50
+ - Remove oudated scaffoldhub ad (#46090) @oliviertassinari
51
+ - Show how to target global state classes with CSS Modules (#45992) @RubemMazzetto
52
+
53
+ ### Core
54
+
55
+ - [code-infra] Add plugin to check for index file access (#46178) @Janpot
56
+ - [code-infra] Bump eslint to v9 (#46222) @brijeshb42
57
+ - [code-infra] Move packages to mui/mui-public (#46155) @Janpot
58
+ - [code-infra] Move `chai` to peerDep (#46227) @JCQuintas
59
+ - [code-infra] Avoid loading barrel file during type checking (#46177) @Janpot
60
+ - [code-infra] Remove unnecessary ref from `HighlightedCode` component (#46151) @ZeeshanTamboli
61
+ - [code-infra] Import mocha type instead of global (#46108) @JCQuintas
62
+ - [code-infra] Dependabot also create branches (795a481) @oliviertassinari
63
+ - [code-infra] Avoid running continuous release on forks (#46103) @Janpot
64
+ - [code-infra] Remove checkout job altogether (#46100) @Janpot
65
+ - [code-infra] Remove required checkout workflows in circleci (#46099) @Janpot
66
+ - Run pnpm docs:sync-team (c8f1da5) @oliviertassinari
67
+ - Upgrade MUI X packages to v8 (#45990) @KenanYusuf
68
+ - Minor detail to reduce confusion (4c64b72) @oliviertassinari
69
+ - Update security.md (#45839) @DiegoAndai
70
+ - Apply yml convention, blank line only at top level (f273220) @oliviertassinari
71
+ - Add comment that lab should be in alpha (#45999) @oliviertassinari
72
+
73
+ All contributors of this release in alphabetical order: @0210shivam, @brijeshb42, @chaitanyasharma1011, @codiini, @DiegoAndai, @Janpot, @JCQuintas, @KenanYusuf, @khllbnomrn, @LakshitAgarwal, @oliviertassinari, @RubemMazzetto, @sai6855, @siriwatknp, @ZeeshanTamboli
74
+
75
+ ## 7.1.0
76
+
77
+ <!-- generated comparing v7.0.2..master -->
78
+
79
+ _May 6, 2025_
80
+
81
+ A big thanks to the 21 contributors who made this release possible. Here are some highlights ✨:
82
+
83
+ - 🎉 Material UI now works with **Tailwind CSS v4**! Check out the [setup guide](https://mui.com/material-ui/integrations/tailwindcss/tailwindcss-v4/).
84
+
85
+ ### `@mui/material@7.1.0`
86
+
87
+ - [InputBase] Text cursor jumps several lines up when inserting text fragment with new line at the end (#45246) @yermartee
88
+ - [OutlinedInput] Add missing `notchedOutline` slot (#45917) @siriwatknp
89
+ - [Snackbar] Skip default `onClickAway` behavior when `defaultMuiPrevented` is provided (#45629) @sai6855
90
+ - [Avatar] Fix img slot types and add missing slots (#45483) @siriwatknp
91
+ - [Badge] Replace useSlotProps with useSlot hook (#45871) @sai6855
92
+ - [BottomNavigationAction] Add slots and slotProps (#45776) @sai6855
93
+ - [CardActionArea] Add slots and slotProps (#45866) @sai6855
94
+ - [useMediaQuery] Add warning and docs for using `useMediaQuery('print')` (#44790) @good-jinu
95
+ - Remove unnecessary clsx usages (#46084) @sai6855
96
+ - Corrected generic type definition in `SelectChangeEvent` (#45941) @SuyashShukla0007
97
+ - Fix theme object changes between renders (#45863) @siriwatknp
98
+
99
+ ### `@mui/material-nextjs@7.1.0`
100
+
101
+ - Add option to enable CSS layers for pages router (#45596) @siriwatknp
102
+ - Do not wrap `@layer` order rules in App Router (#45864) @Nayeem-XTREME
103
+
104
+ ### `@mui/system@7.1.0`
105
+
106
+ - Fix `@mui/system` types organization (#45860) @Janpot
107
+
108
+ ### `@mui/styled-engine@7.1.0`
109
+
110
+ - Infer `ownerState` from props in `styled` (#46083) @siriwatknp
111
+ - Fix style overrides variants type (#45478) @siriwatknp
112
+
113
+ ### Docs
114
+
115
+ - [Avatar] Add avatar upload demo (#45986) @Demianeen
116
+ - [Dialog] Remove deprecated props usage in demos (#45923) @sai6855
117
+ - [Menu] Update `paper` slot JSDoc default from `Paper` to `PopoverPaper` (#45722) @andreachiera
118
+ - [examples] Remove create-react-app usages (#45426) @CodeLeom
119
+ - Add `AccordionSummary` to the v5 breaking change migration (#45947) @siriwatknp
120
+ - Update CSS variable usage in migration guide for Pigment CSS (#46033) @sai6855
121
+ - Fix docs API dark mode color (#46086) @alexfauquette
122
+ - Add a guide for extending Material UI classes in Tailwind CSS (#46039) @siriwatknp
123
+ - Add `InitColorSchemeScript` docs and API (#45927) @siriwatknp
124
+ - Add Tailwind CSS v4 integration guide (#45906) @siriwatknp
125
+ - Fix 301 links to the system v6 (#45931) @oliviertassinari
126
+ - Add notification for MUI X v8 announcement (#45942) @joserodolfofreitas
127
+ - Fix som 301 redirections (ae84b35) @oliviertassinari
128
+ - Fix some 301 redirections (057384e) @oliviertassinari
129
+ - Fix logo is not centered on small screens (#45920) @crabsim
130
+ - Fix line break typo (a2a62d5) @oliviertassinari
131
+ - Fix markdown typo in templates.md (#45914) @scyzoryck
132
+ - Add Next.js App Router guide for custom classnames (#45852) @siriwatknp
133
+
134
+ ### Core
135
+
136
+ - [code-infra] Give a stable name to dev tool app (3889ded) @oliviertassinari
137
+ - [code-infra] Normalize author package in org (8135638) @oliviertassinari
138
+ - [code-infra] Correct some manually curated .d.ts files (#46054) @Janpot
139
+ - [code-infra] Align deps versions (#46048) @Janpot
140
+ - [code-infra] Fix dynamic import in imports resolver (#46046) @Janpot
141
+ - [code-infra] Eliminate `@mui/utils` deep imports (#46004) @Janpot
142
+ - [code-infra] Expand renovate.json for react types (#45935) @Janpot
143
+ - [code-infra] Make Argos upload script reusable (#45883) @Janpot
144
+ - [code-infra] Disallow redundant window prefixes for globals (#45880) @Janpot
145
+ - [code-infra] Remove type generation of modern build (#45912) @Janpot
146
+ - [code-infra] Clean up bundle size checker (#45622) @Janpot
147
+ - [code-infra] Fix `StrictMode` effects not being called twice in React 19 tests (#45812) @bernardobelchior
148
+ - [code-infra] Convert `@mui/utils` to typescript (#45671) @Janpot
149
+ - [docs-infra] Improve export into sandbox package.json (#46044) @oliviertassinari
150
+ - [docs-infra] Update feedback Node.js to v22 (#46064) @oliviertassinari
151
+ - [docs-infra] Normalize netlify.toml in org (b101d5c) @oliviertassinari
152
+ - [docs-infra] Uniformize Vale between repositories (0f79796) @oliviertassinari
153
+ - [docs-infra] Fix Vale no longer working (#46029) @oliviertassinari
154
+ - [docs-infra] Remove demo styling switch (#45926) @Janpot
155
+ - [docs-infra] StackBlitz WebContainer demos (#45924) @Janpot
156
+ - [docs-infra] Fix feedback management (#45872) @alexfauquette
157
+ - [test] Replace `playwright` with `@playwright/test` (#45998) @ZeeshanTamboli
158
+ - Fix internal version duplication (#46051) @oliviertassinari
159
+ - Avoid the need for `@mui/material/themeCssVarsAugmentation` (#46053) @Janpot
160
+ - Add security label to dependabot PRs (0a5c027) @oliviertassinari
161
+ - Remove unecessary versions (#46034) @oliviertassinari
162
+ - Remove redundant overrides resolver (#45970) @romgrk
163
+ - Fix duplicate branch reference (#45915) @oliviertassinari
164
+ - Fix outdated <link rel="shortcut icon" (#45916) @oliviertassinari
165
+ - Fix redirection chains (#45930) @oliviertassinari
166
+ - Run pnpm docs:sync-team (beee09f) @oliviertassinari
167
+ - Add `pkg.pr.new` publishing (#42984) @Aslemammad
168
+ - Remove @mui/base from the master branch (#45857) @mnajdova
169
+
170
+ All contributors of this release in alphabetical order: @alexfauquette, @andreachiera, @Aslemammad, @bernardobelchior, @CodeLeom, @crabsim, @Demianeen, @good-jinu, @Janpot, @joserodolfofreitas, @mnajdova, @Nayeem-XTREME, @oliviertassinari, @renovate[bot], @romgrk, @sai6855, @scyzoryck, @siriwatknp, @SuyashShukla0007, @yermartee, @ZeeshanTamboli
171
+
3
172
  ## 7.0.2
4
173
 
5
174
  _Apr 9, 2025_
@@ -11,7 +11,9 @@ var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"
11
11
  var ReactDOM = _interopRequireWildcard(require("react-dom"));
12
12
  var _styles = require("@mui/material/styles");
13
13
  var _system = require("@mui/system");
14
- var _utils = require("@mui/utils");
14
+ var _useForkRef = _interopRequireDefault(require("@mui/utils/useForkRef"));
15
+ var _useEnhancedEffect = _interopRequireDefault(require("@mui/utils/useEnhancedEffect"));
16
+ var _deepmerge = _interopRequireDefault(require("@mui/utils/deepmerge"));
15
17
  var _clsx = _interopRequireDefault(require("clsx"));
16
18
  var _propTypes = _interopRequireDefault(require("prop-types"));
17
19
  var React = _interopRequireWildcard(require("react"));
@@ -97,7 +99,7 @@ const getStyle = ({
97
99
  })
98
100
  };
99
101
  };
100
- styles = (0, _utils.deepmerge)(styles, (0, _system.handleBreakpoints)({
102
+ styles = (0, _deepmerge.default)(styles, (0, _system.handleBreakpoints)({
101
103
  theme
102
104
  }, spacingValues, spacingStyleFromPropValue));
103
105
  const columnValues = (0, _system.unstable_resolveBreakpointValues)({
@@ -114,13 +116,13 @@ const getStyle = ({
114
116
  }
115
117
  };
116
118
  };
117
- styles = (0, _utils.deepmerge)(styles, (0, _system.handleBreakpoints)({
119
+ styles = (0, _deepmerge.default)(styles, (0, _system.handleBreakpoints)({
118
120
  theme
119
121
  }, columnValues, columnStyleFromPropValue));
120
122
 
121
123
  // configure width for responsive spacing values
122
124
  if (typeof spacingValues === 'object') {
123
- styles = (0, _utils.deepmerge)(styles, (0, _system.handleBreakpoints)({
125
+ styles = (0, _deepmerge.default)(styles, (0, _system.handleBreakpoints)({
124
126
  theme
125
127
  }, spacingValues, (propValue, breakpoint) => {
126
128
  if (breakpoint) {
@@ -143,10 +145,7 @@ const getStyle = ({
143
145
  exports.getStyle = getStyle;
144
146
  const MasonryRoot = (0, _styles.styled)('div', {
145
147
  name: 'MuiMasonry',
146
- slot: 'Root',
147
- overridesResolver: (props, styles) => {
148
- return [styles.root];
149
- }
148
+ slot: 'Root'
150
149
  })(getStyle);
151
150
  const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
152
151
  const props = (0, _styles.useThemeProps)({
@@ -246,7 +245,7 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
246
245
  });
247
246
  }
248
247
  }, [sequential]);
249
- (0, _utils.unstable_useEnhancedEffect)(() => {
248
+ (0, _useEnhancedEffect.default)(() => {
250
249
  // IE and old browsers are not supported
251
250
  if (typeof ResizeObserver === 'undefined') {
252
251
  return undefined;
@@ -270,7 +269,7 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
270
269
  }
271
270
  };
272
271
  }, [columns, spacing, children, handleResize]);
273
- const handleRef = (0, _utils.unstable_useForkRef)(ref, masonryRef);
272
+ const handleRef = (0, _useForkRef.default)(ref, masonryRef);
274
273
 
275
274
  // columns are likely to have different heights and hence can start to merge;
276
275
  // a line break at the end of each column prevents columns from merging
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { InternalStandardProps as StandardProps } from '@mui/material';
2
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
3
3
  import { Theme } from '@mui/material/styles';
4
4
  import { SxProps } from '@mui/system';
5
5
  import { TabPanelClasses } from "./tabPanelClasses.js";
@@ -27,8 +27,7 @@ const useUtilityClasses = ownerState => {
27
27
  };
28
28
  const TabPanelRoot = (0, _styles.styled)('div', {
29
29
  name: 'MuiTabPanel',
30
- slot: 'Root',
31
- overridesResolver: (props, styles) => styles.root
30
+ slot: 'Root'
32
31
  })(({
33
32
  theme
34
33
  }) => ({
@@ -1,4 +1,4 @@
1
- import { InternalStandardProps as StandardProps } from '@mui/material';
1
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
2
2
  import { Theme } from '@mui/material/styles';
3
3
  import { SxProps } from '@mui/system';
4
4
  import { TimelineClasses } from "./timelineClasses.js";
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { InternalStandardProps as StandardProps } from '@mui/material';
2
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
3
3
  import { Theme } from '@mui/material/styles';
4
4
  import { SxProps } from '@mui/system';
5
5
  import { TimelineConnectorClasses } from "./timelineConnectorClasses.js";
@@ -25,8 +25,7 @@ const useUtilityClasses = ownerState => {
25
25
  };
26
26
  const TimelineConnectorRoot = (0, _styles.styled)('span', {
27
27
  name: 'MuiTimelineConnector',
28
- slot: 'Root',
29
- overridesResolver: (props, styles) => styles.root
28
+ slot: 'Root'
30
29
  })(({
31
30
  theme
32
31
  }) => {
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from '@mui/material/styles';
4
- import { InternalStandardProps as StandardProps, TypographyProps } from '@mui/material';
4
+ import { TypographyProps } from '@mui/material/Typography';
5
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
5
6
  import { TimelineContentClasses } from "./timelineContentClasses.js";
6
7
  export interface TimelineContentProps extends StandardProps<TypographyProps> {
7
8
  /**
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { OverridableStringUnion } from '@mui/types';
3
3
  import { SxProps } from '@mui/system';
4
4
  import { Theme } from '@mui/material/styles';
5
- import { InternalStandardProps as StandardProps } from '@mui/material';
5
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
6
6
  import { TimelineDotClasses } from "./timelineDotClasses.js";
7
7
  export interface TimelineDotPropsVariantOverrides {}
8
8
  export interface TimelineDotPropsColorOverrides {}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from '@mui/material/styles';
4
- import { InternalStandardProps as StandardProps } from '@mui/material';
4
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
5
5
  import { TimelineItemClasses } from "./timelineItemClasses.js";
6
6
  export interface TimelineItemProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
7
7
  /**
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from '@mui/material/styles';
4
- import { InternalStandardProps as StandardProps, TypographyProps } from '@mui/material';
4
+ import { TypographyProps } from '@mui/material/Typography';
5
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
5
6
  import { TimelineOppositeContentClasses } from "./timelineOppositeContentClasses.js";
6
7
  export interface TimelineOppositeContentProps extends StandardProps<TypographyProps> {
7
8
  /**
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { InternalStandardProps as StandardProps } from '@mui/material';
2
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
3
3
  import { Theme } from '@mui/material/styles';
4
4
  import { SxProps } from '@mui/system';
5
5
  import { TimelineSeparatorClasses } from "./timelineSeparatorClasses.js";
@@ -25,8 +25,7 @@ const useUtilityClasses = ownerState => {
25
25
  };
26
26
  const TimelineSeparatorRoot = (0, _styles.styled)('div', {
27
27
  name: 'MuiTimelineSeparator',
28
- slot: 'Root',
29
- overridesResolver: (props, styles) => styles.root
28
+ slot: 'Root'
30
29
  })({
31
30
  display: 'flex',
32
31
  flexDirection: 'column',
@@ -4,7 +4,9 @@ import composeClasses from '@mui/utils/composeClasses';
4
4
  import * as ReactDOM from 'react-dom';
5
5
  import { styled, useThemeProps } from '@mui/material/styles';
6
6
  import { createUnarySpacing, getValue, handleBreakpoints, unstable_resolveBreakpointValues as resolveBreakpointValues } from '@mui/system';
7
- import { deepmerge, unstable_useForkRef as useForkRef, unstable_useEnhancedEffect as useEnhancedEffect } from '@mui/utils';
7
+ import useForkRef from '@mui/utils/useForkRef';
8
+ import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
9
+ import deepmerge from '@mui/utils/deepmerge';
8
10
  import clsx from 'clsx';
9
11
  import PropTypes from 'prop-types';
10
12
  import * as React from 'react';
@@ -134,10 +136,7 @@ export const getStyle = ({
134
136
  };
135
137
  const MasonryRoot = styled('div', {
136
138
  name: 'MuiMasonry',
137
- slot: 'Root',
138
- overridesResolver: (props, styles) => {
139
- return [styles.root];
140
- }
139
+ slot: 'Root'
141
140
  })(getStyle);
142
141
  const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
143
142
  const props = useThemeProps({
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { InternalStandardProps as StandardProps } from '@mui/material';
2
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
3
3
  import { Theme } from '@mui/material/styles';
4
4
  import { SxProps } from '@mui/system';
5
5
  import { TabPanelClasses } from "./tabPanelClasses.js";
@@ -20,8 +20,7 @@ const useUtilityClasses = ownerState => {
20
20
  };
21
21
  const TabPanelRoot = styled('div', {
22
22
  name: 'MuiTabPanel',
23
- slot: 'Root',
24
- overridesResolver: (props, styles) => styles.root
23
+ slot: 'Root'
25
24
  })(({
26
25
  theme
27
26
  }) => ({
@@ -1,4 +1,4 @@
1
- import { InternalStandardProps as StandardProps } from '@mui/material';
1
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
2
2
  import { Theme } from '@mui/material/styles';
3
3
  import { SxProps } from '@mui/system';
4
4
  import { TimelineClasses } from "./timelineClasses.js";
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { InternalStandardProps as StandardProps } from '@mui/material';
2
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
3
3
  import { Theme } from '@mui/material/styles';
4
4
  import { SxProps } from '@mui/system';
5
5
  import { TimelineConnectorClasses } from "./timelineConnectorClasses.js";
@@ -18,8 +18,7 @@ const useUtilityClasses = ownerState => {
18
18
  };
19
19
  const TimelineConnectorRoot = styled('span', {
20
20
  name: 'MuiTimelineConnector',
21
- slot: 'Root',
22
- overridesResolver: (props, styles) => styles.root
21
+ slot: 'Root'
23
22
  })(({
24
23
  theme
25
24
  }) => {
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from '@mui/material/styles';
4
- import { InternalStandardProps as StandardProps, TypographyProps } from '@mui/material';
4
+ import { TypographyProps } from '@mui/material/Typography';
5
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
5
6
  import { TimelineContentClasses } from "./timelineContentClasses.js";
6
7
  export interface TimelineContentProps extends StandardProps<TypographyProps> {
7
8
  /**
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { OverridableStringUnion } from '@mui/types';
3
3
  import { SxProps } from '@mui/system';
4
4
  import { Theme } from '@mui/material/styles';
5
- import { InternalStandardProps as StandardProps } from '@mui/material';
5
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
6
6
  import { TimelineDotClasses } from "./timelineDotClasses.js";
7
7
  export interface TimelineDotPropsVariantOverrides {}
8
8
  export interface TimelineDotPropsColorOverrides {}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from '@mui/material/styles';
4
- import { InternalStandardProps as StandardProps } from '@mui/material';
4
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
5
5
  import { TimelineItemClasses } from "./timelineItemClasses.js";
6
6
  export interface TimelineItemProps extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
7
7
  /**
@@ -1,7 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { Theme } from '@mui/material/styles';
4
- import { InternalStandardProps as StandardProps, TypographyProps } from '@mui/material';
4
+ import { TypographyProps } from '@mui/material/Typography';
5
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
5
6
  import { TimelineOppositeContentClasses } from "./timelineOppositeContentClasses.js";
6
7
  export interface TimelineOppositeContentProps extends StandardProps<TypographyProps> {
7
8
  /**
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { InternalStandardProps as StandardProps } from '@mui/material';
2
+ import { InternalStandardProps as StandardProps } from '@mui/material/internal';
3
3
  import { Theme } from '@mui/material/styles';
4
4
  import { SxProps } from '@mui/system';
5
5
  import { TimelineSeparatorClasses } from "./timelineSeparatorClasses.js";
@@ -18,8 +18,7 @@ const useUtilityClasses = ownerState => {
18
18
  };
19
19
  const TimelineSeparatorRoot = styled('div', {
20
20
  name: 'MuiTimelineSeparator',
21
- slot: 'Root',
22
- overridesResolver: (props, styles) => styles.root
21
+ slot: 'Root'
23
22
  })({
24
23
  display: 'flex',
25
24
  flexDirection: 'column',
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v7.0.0-beta.11
2
+ * @mui/lab v7.0.0-beta.13
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/lab v7.0.0-beta.11
2
+ * @mui/lab v7.0.0-beta.13
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @ignore - internal component.
3
3
  */
4
- declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
4
+ declare const _default: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material/SvgIcon").SvgIconTypeMap<{}, "svg">> & {
5
5
  muiName: string;
6
6
  };
7
7
  export default _default;