@mui/lab 5.0.0-alpha.58 → 5.0.0-alpha.62

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 (119) hide show
  1. package/CHANGELOG.md +271 -0
  2. package/CalendarPicker/CalendarPicker.js +13 -7
  3. package/CalendarPicker/PickersCalendar.js +1 -1
  4. package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -1
  5. package/ClockPicker/ClockPicker.d.ts +1 -1
  6. package/ClockPicker/ClockPicker.js +1 -1
  7. package/DateRangePickerDay/DateRangePickerDay.js +1 -1
  8. package/LoadingButton/LoadingButton.d.ts +2 -0
  9. package/LoadingButton/LoadingButton.js +20 -10
  10. package/Masonry/Masonry.js +1 -1
  11. package/MonthPicker/MonthPicker.js +1 -1
  12. package/PickersDay/PickersDay.js +1 -1
  13. package/StaticDatePicker/StaticDatePicker.d.ts +2 -2
  14. package/StaticDatePicker/StaticDatePicker.js +2 -2
  15. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +2 -2
  16. package/StaticDateRangePicker/StaticDateRangePicker.js +2 -2
  17. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +2 -2
  18. package/StaticDateTimePicker/StaticDateTimePicker.js +2 -2
  19. package/StaticTimePicker/StaticTimePicker.d.ts +2 -2
  20. package/StaticTimePicker/StaticTimePicker.js +2 -2
  21. package/TabPanel/TabPanel.js +1 -1
  22. package/Timeline/Timeline.d.ts +1 -1
  23. package/Timeline/Timeline.js +1 -1
  24. package/TimelineConnector/TimelineConnector.js +1 -1
  25. package/TimelineContent/TimelineContent.js +1 -1
  26. package/TimelineDot/TimelineDot.js +1 -1
  27. package/TimelineItem/TimelineItem.js +1 -1
  28. package/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  29. package/TimelineSeparator/TimelineSeparator.js +1 -1
  30. package/TreeItem/TreeItem.d.ts +1 -1
  31. package/TreeItem/TreeItem.js +2 -2
  32. package/TreeView/TreeView.js +1 -1
  33. package/index.js +1 -1
  34. package/internal/pickers/PickersToolbarText.d.ts +1 -1
  35. package/internal/pickers/wrappers/PickerStaticWrapper.d.ts +21 -0
  36. package/internal/pickers/wrappers/PickerStaticWrapper.js +64 -0
  37. package/legacy/CalendarPicker/CalendarPicker.js +13 -7
  38. package/legacy/CalendarPicker/PickersCalendar.js +1 -1
  39. package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -1
  40. package/legacy/ClockPicker/ClockPicker.js +1 -1
  41. package/legacy/DateRangePickerDay/DateRangePickerDay.js +1 -1
  42. package/legacy/LoadingButton/LoadingButton.js +20 -11
  43. package/legacy/Masonry/Masonry.js +1 -1
  44. package/legacy/MonthPicker/MonthPicker.js +1 -1
  45. package/legacy/PickersDay/PickersDay.js +1 -1
  46. package/legacy/StaticDatePicker/StaticDatePicker.js +2 -2
  47. package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +2 -2
  48. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +2 -2
  49. package/legacy/StaticTimePicker/StaticTimePicker.js +2 -2
  50. package/legacy/TabPanel/TabPanel.js +1 -1
  51. package/legacy/Timeline/Timeline.js +1 -1
  52. package/legacy/TimelineConnector/TimelineConnector.js +1 -1
  53. package/legacy/TimelineContent/TimelineContent.js +1 -1
  54. package/legacy/TimelineDot/TimelineDot.js +1 -1
  55. package/legacy/TimelineItem/TimelineItem.js +1 -1
  56. package/legacy/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  57. package/legacy/TimelineSeparator/TimelineSeparator.js +1 -1
  58. package/legacy/TreeItem/TreeItem.js +2 -2
  59. package/legacy/TreeView/TreeView.js +1 -1
  60. package/legacy/index.js +1 -1
  61. package/legacy/internal/pickers/wrappers/PickerStaticWrapper.js +62 -0
  62. package/modern/CalendarPicker/CalendarPicker.js +13 -7
  63. package/modern/CalendarPicker/PickersCalendar.js +1 -1
  64. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -1
  65. package/modern/ClockPicker/ClockPicker.js +1 -1
  66. package/modern/DateRangePickerDay/DateRangePickerDay.js +1 -1
  67. package/modern/LoadingButton/LoadingButton.js +21 -10
  68. package/modern/Masonry/Masonry.js +1 -1
  69. package/modern/MonthPicker/MonthPicker.js +1 -1
  70. package/modern/PickersDay/PickersDay.js +1 -1
  71. package/modern/StaticDatePicker/StaticDatePicker.js +2 -2
  72. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +2 -2
  73. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +2 -2
  74. package/modern/StaticTimePicker/StaticTimePicker.js +2 -2
  75. package/modern/TabPanel/TabPanel.js +1 -1
  76. package/modern/Timeline/Timeline.js +1 -1
  77. package/modern/TimelineConnector/TimelineConnector.js +1 -1
  78. package/modern/TimelineContent/TimelineContent.js +1 -1
  79. package/modern/TimelineDot/TimelineDot.js +1 -1
  80. package/modern/TimelineItem/TimelineItem.js +1 -1
  81. package/modern/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  82. package/modern/TimelineSeparator/TimelineSeparator.js +1 -1
  83. package/modern/TreeItem/TreeItem.js +2 -2
  84. package/modern/TreeView/TreeView.js +1 -1
  85. package/modern/index.js +1 -1
  86. package/modern/internal/pickers/wrappers/PickerStaticWrapper.js +64 -0
  87. package/node/CalendarPicker/CalendarPicker.js +13 -7
  88. package/node/CalendarPicker/PickersCalendar.js +1 -1
  89. package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -1
  90. package/node/ClockPicker/ClockPicker.js +1 -1
  91. package/node/DateRangePickerDay/DateRangePickerDay.js +1 -1
  92. package/node/LoadingButton/LoadingButton.js +18 -7
  93. package/node/Masonry/Masonry.js +1 -1
  94. package/node/MonthPicker/MonthPicker.js +1 -1
  95. package/node/PickersDay/PickersDay.js +1 -1
  96. package/node/StaticDatePicker/StaticDatePicker.js +2 -2
  97. package/node/StaticDateRangePicker/StaticDateRangePicker.js +2 -2
  98. package/node/StaticDateTimePicker/StaticDateTimePicker.js +2 -2
  99. package/node/StaticTimePicker/StaticTimePicker.js +2 -2
  100. package/node/TabPanel/TabPanel.js +1 -1
  101. package/node/Timeline/Timeline.js +1 -1
  102. package/node/TimelineConnector/TimelineConnector.js +1 -1
  103. package/node/TimelineContent/TimelineContent.js +1 -1
  104. package/node/TimelineDot/TimelineDot.js +1 -1
  105. package/node/TimelineItem/TimelineItem.js +1 -1
  106. package/node/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  107. package/node/TimelineSeparator/TimelineSeparator.js +1 -1
  108. package/node/TreeItem/TreeItem.js +2 -2
  109. package/node/TreeView/TreeView.js +1 -1
  110. package/node/index.js +1 -1
  111. package/node/internal/pickers/wrappers/{StaticWrapper.js → PickerStaticWrapper.js} +46 -9
  112. package/package.json +8 -4
  113. package/themeAugmentation/components.d.ts +5 -0
  114. package/themeAugmentation/overrides.d.ts +2 -0
  115. package/themeAugmentation/props.d.ts +1 -1
  116. package/internal/pickers/wrappers/StaticWrapper.d.ts +0 -10
  117. package/internal/pickers/wrappers/StaticWrapper.js +0 -35
  118. package/legacy/internal/pickers/wrappers/StaticWrapper.js +0 -34
  119. package/modern/internal/pickers/wrappers/StaticWrapper.js +0 -35
package/CHANGELOG.md CHANGED
@@ -1,5 +1,276 @@
1
1
  ### [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.2.6
4
+
5
+ <!-- generated comparing v5.2.5..master -->
6
+
7
+ _Dec 27, 2021_
8
+
9
+ A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 📓 The Norwegian Bokmål (nb-NO) locale was added (#27520) @wogsland
12
+ - 🛠 Introduced a new `useBadge` hook in the `@mui/base` package (#30246) @mnajdova
13
+ - And more 🐛 bug fixes and 📚 documentation improvements.
14
+
15
+ ### `@mui/material@5.2.6`
16
+
17
+ - &#8203;<!-- 24 -->[ButtonGroup] Fix typo in ButtonGroupContext's interface (#30376) @kealjones-wk
18
+ - &#8203;<!-- 03 -->[l10n] Add Norwegian Bokmål (nb-NO) locale (#27520) @wogsland
19
+
20
+ ### `@mui/base@5.0.0-alpha.62`
21
+
22
+ - &#8203;<!-- 26 -->[BadgeUnstyled] Add useBadge hook (#30246) @mnajdova
23
+
24
+ ### `@mui/joy@5.0.0-alpha.8`
25
+
26
+ - &#8203;<!-- 04 -->[Joy] Button API (#29962) @siriwatknp
27
+
28
+ ### Docs
29
+
30
+ - &#8203;<!-- 27 -->[docs] Fix color coercion (#30319) @Janpot
31
+ - &#8203;<!-- 25 -->[blog] Fix file import conflict resolution (#30391) @oliviertassinari
32
+ - &#8203;<!-- 21 -->[docs] Fix crash on Safari because of unsupported lookahead feature (#30345) @cherniavskii
33
+ - &#8203;<!-- 20 -->[docs] Update to new website domain (#30396) @ryota-murakami
34
+ - &#8203;<!-- 19 -->[docs] Fix text from material-ui to @mui to reflect v5 name changes (#30393) @pupudu
35
+ - &#8203;<!-- 18 -->[docs] Fix a11y in Menu demos (#30378) @ZeeshanTamboli
36
+ - &#8203;<!-- 17 -->[docs] Document how to unmount transition child (#30382) @oliviertassinari
37
+ - &#8203;<!-- 16 -->[docs] The current standard for quotes is QUOTATION MARK @oliviertassinari
38
+ - &#8203;<!-- 15 -->[docs] Fix 404 links (#30380) @oliviertassinari
39
+ - &#8203;<!-- 14 -->[docs] Fix Breadcrumb description (#30307) @jamesmelzer
40
+ - &#8203;<!-- 13 -->[docs] Modify injection order for Gatsby and SSR examples (#30358) @ShuPink
41
+ - &#8203;<!-- 12 -->[docs] Improve the translation experience (#30373) @oliviertassinari
42
+ - &#8203;<!-- 11 -->[docs] Sync translations with Crowdin (#30176) @l10nbot
43
+ - &#8203;<!-- 10 -->[docs] Fix link to /size-snapshot (#30363) @oliviertassinari
44
+ - &#8203;<!-- 09 -->[docs] Fix incorrect aria label in SpeedDial demo (#30354) @chwallen
45
+ - &#8203;<!-- 08 -->[docs] Fix incorrect number of breakpoint helpers (#30353) @chwallen
46
+ - &#8203;<!-- 07 -->[docs] Update outdated links (#30260) @oliviertassinari
47
+ - &#8203;<!-- 06 -->[docs] Support redirects from old urls to /material/\* (#30286) @siriwatknp
48
+ - &#8203;<!-- 05 -->[examples] Fix CSS modules integration (#30381) @oliviertassinari
49
+ - &#8203;<!-- 02 -->[website] Fix SEO issues (#30372) @oliviertassinari
50
+ - &#8203;<!-- 01 -->[website] Sync sponsors (#30259) @oliviertassinari
51
+
52
+ ### Core
53
+
54
+ - &#8203;<!-- 28 -->[core] Rename Material-UI to MUI (#30338) @ZeeshanTamboli
55
+ - &#8203;<!-- 23 -->[core] Fix warning in dev mode (#30368) @oliviertassinari
56
+ - &#8203;<!-- 22 -->[core] Update `buildApi` script to support new structure (#30245) @siriwatknp
57
+
58
+ All contributors of this release in alphabetical order: @cherniavskii, @chwallen, @jamesmelzer, @Janpot, @kealjones-wk, @l10nbot, @mnajdova, @oliviertassinari, @pupudu, @ryota-murakami, @ShuPink, @siriwatknp, @wogsland, @ZeeshanTamboli
59
+
60
+ ## 5.2.5
61
+
62
+ <!-- generated comparing v5.2.4..master -->
63
+
64
+ _Dec 20, 2021_
65
+
66
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
67
+
68
+ - 🛠 This release mostly improves what's behind the scenes: infrastructure and tests
69
+ - 📓 Danish (da-DK) locale was added (#29485) @mikk5829
70
+ - 🖌 Polished the design of Base components (#30149) and the docs in general (#29994) @danilo-leal
71
+ - 📚 Many additions and improvements to the documentation were made
72
+
73
+ ### `@mui/material@5.2.5`
74
+
75
+ - [l10n] Add Danish (da-DK) locale (#29485) @mikk5829
76
+ - [LoadingButton] Label progressbar by the LoadingButton (#30002) @eps1lon
77
+ - [Tabs] Remove unnecessary `Partial<>` type around TabIndicatorProps type (#30254) @ZeeshanTamboli
78
+
79
+ ### `@mui/system@5.2.5`
80
+
81
+ - [system] Use `useEnhancedEffect` to prevent flicker (#30216) @hbjORbj
82
+
83
+ ### `@mui/lab@5.0.0-alpha.61`
84
+
85
+ - [pickers] Fix the wrong MuiClockPicker's ArrowSwitcher slot name (#30226) @rejetto
86
+
87
+ ### Docs
88
+
89
+ - [docs] Run JS compiler on markdown output (#29732) @Janpot
90
+ - [Badge] Add tests for `anchorOrigin` prop (#30147) @daniel-sachs
91
+ - [docs] Add cssmodule injection order comments to Nextjs example (#30213) @ShuPink
92
+ - [docs] Remove extra word in Select component code example comments (#30281) @KThompso
93
+ - [docs] Improve the description of the Accordion (#30253) @jamesmelzer
94
+ - [docs] Heading capitalization convention @oliviertassinari
95
+ - [docs] Rename remaining 'unstyled' references to 'base' (#30206) @michaldudak
96
+ - [docs] Add to migration doc about ref type specificity (#30114) @hbjORbj
97
+ - [docs] Add script to clone pages (#30107) @siriwatknp
98
+ - [docs] Correct colors in breakpoints documentation (#30219) @michaldudak
99
+ - [docs] Sync icon search UI state with the url (#30075) @Janpot
100
+ - [docs] Base components demos design polish (#30149) @danilo-leal
101
+ - [docs] General documentation polish (#29994) @danilo-leal
102
+ - [examples] Fix typo in the remix example's README (#30289) @lemol
103
+ - [website] Remove expired gold sponsor (#30222) @oliviertassinari
104
+ - [website] Remove broken showcase links (#30217) @mnajdova
105
+
106
+ ### Core
107
+
108
+ - [test] Reduce bundle size comparison memory consumption (#30195) @Janpot
109
+ - [core] make snapshot comparison more resilient (#30183) @Janpot
110
+ - [core] update formatted ts demo to support new structure (#30248) @siriwatknp
111
+ - [core] cache dependencies in github actions (#30211) @siriwatknp
112
+ - [core] fix root package version (#30204) @siriwatknp
113
+ - [core] Fail the build when the dangerjs script errors (#30186) @Janpot
114
+ - [test] Add E2E website tests (#30128) @siriwatknp
115
+
116
+ All contributors of this release in alphabetical order: @daniel-sachs, @danilo-leal, @eps1lon, @hbjORbj, @jamesmelzer, @Janpot, @KThompso, @lemol, @michaldudak, @mikk5829, @mnajdova, @oliviertassinari, @rejetto, @ShuPink, @siriwatknp, @ZeeshanTamboli
117
+
118
+ ## 5.2.4
119
+
120
+ <!-- generated comparing v5.2.3..master -->
121
+
122
+ _Dec 14, 2021_
123
+
124
+ A big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
125
+
126
+ - ✨ Add `not` operator to `theme.breakpoints` (#29311) @Philipp000
127
+
128
+ ```js
129
+ const styles = (theme) => ({
130
+ root: {
131
+ backgroundColor: 'blue',
132
+ // Match [xs, md) and [md + 1, ∞)
133
+ // [xs, md) and [lg, ∞)
134
+ // [0px, 900px) and [1200px, ∞)
135
+ [theme.breakpoints.not('md')]: {
136
+ backgroundColor: 'red',
137
+ },
138
+ },
139
+ });
140
+ ```
141
+
142
+ - And many more 🐛 bug fixes and 📚 improvements.
143
+
144
+ ### `@mui/material@5.2.4`
145
+
146
+ - &#8203;<!-- 14 -->[esm] Correct a styles imports (#29976) @Janpot
147
+ - &#8203;<!-- 12 -->[GlobalStyles] Fix `theme` type (#30072) @mnajdova
148
+ - &#8203;<!-- 11 -->[Grid] Fix grid items to respond to the container's responsive columns (#29715) @kkorach
149
+ - &#8203;<!-- 04 -->[TextField] Fix missing space before asterisk in `OutlinedInput`'s label (#29630) @alisasanib
150
+ - &#8203;<!-- 03 -->[Transition] Allow any valid HTML attribute to be passed (#29888) @Janpot
151
+ - &#8203;<!-- 02 -->[types] Fix discrepancy between core and system `ThemeOptions` (#30095) @fmeum
152
+ - &#8203;<!-- 09 -->[InputBase] Add prop for disabling global styles (#29213) @bryan-hunter
153
+ - &#8203;<!-- 08 -->[Select] Improve multiple logic (#30135) @ladygo93
154
+
155
+ ### `@mui/system@5.2.4`
156
+
157
+ - &#8203;<!-- 06 -->[system] Don't transition when re-appearing (#30108) @eps1lon
158
+ - &#8203;<!-- 05 -->[system] Add `not` operator to `breakpoints` (#29311) @Philipp000
159
+
160
+ ### `@mui/base@5.0.0-alpha.60`
161
+
162
+ - &#8203;<!-- 25 -->[BadgeUnstyled] Make it conformant with other base components (#30141) @mnajdova
163
+
164
+ ### `@mui/icons-material@5.2.4`
165
+
166
+ - &#8203;<!-- 10 -->[icons] Correct location of icon download folder (#29839) @yaboi
167
+
168
+ ### Docs
169
+
170
+ - &#8203;<!-- 22 -->[docs] Explain the use of Select's label in FormControl (#30189) @michaldudak
171
+ - &#8203;<!-- 21 -->[docs] Don't run nprogress on shallow routing (#30087) @Janpot
172
+ - &#8203;<!-- 20 -->[docs] Add Data Driven Forms to related projects (#30078) @rvsia
173
+ - &#8203;<!-- 19 -->[docs] Sync translations with Crowdin (#30067) @l10nbot
174
+ - &#8203;<!-- 18 -->[docs] Fix link on "Custom variables" section in the Theming page #30100 @danilo-leal
175
+ - &#8203;<!-- 17 -->[docs] Fix justifyContent option in the Grid interactive demo (#30117) @danilo-leal
176
+ - &#8203;<!-- 16 -->[docs] Add tip to help access the docs of a previous version when finding answers in StackOverflow (#30101) @danilo-leal
177
+ - &#8203;<!-- 15 -->[docs] Fix import example inside Unstyled Backdrop section (#30098) @TheodosiouTh
178
+ - &#8203;<!-- 01 -->[website] Column pinning and Tree data are out (#30136) @oliviertassinari
179
+ - &#8203;<!-- 07 -->[survey] Remove survey promotion items (#30122) @danilo-leal
180
+
181
+ ### Core
182
+
183
+ - &#8203;<!-- 23 -->[core] Fix link to Open Collective @oliviertassinari
184
+ - &#8203;<!-- 26 -->[core] Update snapshots and s3 fallback (#30134) @Janpot
185
+ - &#8203;<!-- 24 -->[ci] Update CI bucket (#30080) @Janpot
186
+ - &#8203;<!-- 13 -->[fix] size:snapshot for mui-material-next and mui-joy components (#30106) @Janpot
187
+
188
+ All contributors of this release in alphabetical order: @alisasanib, @bryan-hunter, @danilo-leal, @eps1lon, @fmeum, @Janpot, @kkorach, @l10nbot, @ladygo93, @michaldudak, @mnajdova, @oliviertassinari, @Philipp000, @rvsia, @TheodosiouTh, @yaboi
189
+
190
+ ## 5.2.3
191
+
192
+ <!-- generated comparing v5.2.2..master -->
193
+
194
+ _Dec 6, 2021_
195
+
196
+ A big thanks to the 25 contributors who made this release possible. Here are some highlights ✨:
197
+
198
+ - ✨ We have introduced a new unstyled component in `@mui/base`: `TablePagination` (#29759) @mnajdova
199
+
200
+ <a href="https://mui.com/components/tables/#unstyled-table"><img width="800" alt="unstyled table" src="https://user-images.githubusercontent.com/4512430/144862194-584356ef-7d9d-462c-a631-186a7e716193.png"></a>
201
+
202
+ You can follow our progress with unstyled components at https://github.com/mui-org/material-ui/issues/27170.
203
+
204
+ - 🎉 We have added an example of how to use MUI with [Remix](https://remix.run/) (#29952) @mnajdova
205
+
206
+ - And many more 🐛 bug fixes and 📚 improvements.
207
+
208
+ ### `@mui/material@5.2.3`
209
+
210
+ - &#8203;<!-- 33 -->[Accordion] Add a test for handling `square` prop (#29972) @daniel-sachs
211
+ - &#8203;<!-- 32 -->[Alert] Fix `square` Paper prop (#30027) @ZeeshanTamboli
212
+ - &#8203;<!-- 31 -->[AvatarGroup] Allow specifying total number of avatars (#29898) @eduardomcv
213
+ - &#8203;<!-- 29 -->[Button] Fix regression from context API (#29982) @siriwatknp
214
+ - &#8203;<!-- 13 -->[Grid] Fix generated classes for `spacing` prop when the value is object (#29880) @jayeclark
215
+ - &#8203;<!-- 10 -->[Select] Should not crash when an empty array is passed with `multiple` enabled (#29957) @Domino987
216
+
217
+ ### `@mui/system@5.2.3`
218
+
219
+ - &#8203;<!-- 06 -->[system] Fix return type of `createBox` (#29989) @mnajdova
220
+ - &#8203;<!-- 05 -->[system] Support boolean values in typescript for the `sx` prop when used as array (#29911) @tasugi
221
+
222
+ ### `@mui/utils@5.2.3`
223
+
224
+ - &#8203;<!-- 03 -->[utils] Add typings for `@mui-material/styles/cssUtils` (#29621) @Semigradsky
225
+
226
+ ### `@mui/icons-material@5.2.1`
227
+
228
+ - &#8203;<!-- 12 -->[icons] Consolidate ignored icons into one list (#29843) @chao813
229
+
230
+ ### `@mui/base@5.0.0-alpha.59`
231
+
232
+ - &#8203;<!-- 30 -->[base] Fix missing ClickAwayListener barrel index export (#30000) @oliviertassinari
233
+ - &#8203;<!-- 04 -->[TablePaginationUnstyled] Introduce new component (#29759) @mnajdova
234
+
235
+ ### `@mui/lab@5.0.0-alpha.59`
236
+
237
+ - &#8203;<!-- 27 -->[DateRangePicker] Fix `DateRangePickerDayProps` interface (#29067) @jonathanrtuck
238
+ - &#8203;<!-- 10 -->[Pickers] Remove propagation of custom props to the `MonthPicker` component's DOM element (#30021) @ZeeshanTamboli
239
+ - &#8203;<!-- 08 -->[StaticDatePicker] Add className and slot to PickerStaticWrapper (#29619) @kkorach
240
+
241
+ ### `@mui/joy@5.0.0-alpha.5`
242
+
243
+ - &#8203;<!-- 11 -->[Joy] Theme setup (#29846) @siriwatknp
244
+
245
+ ### Docs
246
+
247
+ - &#8203;<!-- 34 -->[docs] Fix link in TypeScript doc page (#30044) @genzyy
248
+ - &#8203;<!-- 26 -->[docs] Remove the 'WIP' icon from the 'Group & Pivot' page title (#30077) @flaviendelangle
249
+ - &#8203;<!-- 25 -->[docs] Add warning that `@mui/styled-engine-sc` does not work in SSR (#30026) @mnajdova
250
+ - &#8203;<!-- 24 -->[docs] Add section for CSS specificity in the migration guide (#30008) @hbjORbj
251
+ - &#8203;<!-- 28 -->[docs] Clarify comment in migration doc (#30076) @hbjORbj
252
+ - &#8203;<!-- 23 -->[docs] Sync translations with Crowdin (#30041) @l10nbot
253
+ - &#8203;<!-- 22 -->[docs] Explain how Paper changes shade in dark mode (#30003) @michaldudak
254
+ - &#8203;<!-- 21 -->[docs] Update nextjs-typescript-example (#29974) @huydhoang
255
+ - &#8203;<!-- 20 -->[docs] Add missing global state classes to API docs generator (#29945) @michaldudak
256
+ - &#8203;<!-- 19 -->[docs] Fix benchmarks folder link (#29981) @fourjr
257
+ - &#8203;<!-- 18 -->[docs] Improve wording in StackOverflow section of support page (#29956) @ronwarner
258
+ - &#8203;<!-- 17 -->[docs] Remove Black Friday sale notification (#29936) @mbrookes
259
+ - &#8203;<!-- 16 -->[examples] Fix typos in the Remix example (#30071) @MichaelDeBoey
260
+ - &#8203;<!-- 15 -->[examples] Add Remix example (#29952) @mnajdova
261
+ - &#8203;<!-- 14 -->[examples] Fix lint issue for displayName missing in the Next.js examples (#29985) @ZeeshanTamboli
262
+ - &#8203;<!-- 09 -->[Stack] Document system props in Stack API (#30069) @ThewBear
263
+ - &#8203;<!-- 07 -->[survey] Add a banner and card for promoting the 2021 survey (#29950) @danilo-leal
264
+ - &#8203;<!-- 02 -->[website] Correct the Careers page description (#30073) @michaldudak
265
+ - &#8203;<!-- 01 -->[website] Fix 301 links (#30040) @oliviertassinari
266
+
267
+ ### Core
268
+
269
+ - &#8203;<!-- 31 -->[core] Batch small changes (#30042) @oliviertassinari
270
+ - &#8203;<!-- 28 -->[core] Transition to a new StackOverflow tag (#29967) @oliviertassinari
271
+
272
+ All contributors of this release in alphabetical order: @chao813, @daniel-sachs, @danilo-leal, @Domino987, @eduardomcv, @flaviendelangle, @fourjr, @genzyy, @hbjORbj, @huydhoang, @jayeclark, @jonathanrtuck, @kkorach, @l10nbot, @mbrookes, @MichaelDeBoey, @michaldudak, @mnajdova, @oliviertassinari, @ronwarner, @Semigradsky, @siriwatknp, @tasugi, @ThewBear, @ZeeshanTamboli
273
+
3
274
  ## 5.2.2
4
275
 
5
276
  <!-- generated comparing v5.2.1..master -->
@@ -141,6 +141,18 @@ const CalendarPicker = /*#__PURE__*/React.forwardRef(function CalendarPicker(inP
141
141
 
142
142
  const ownerState = props;
143
143
  const classes = useUtilityClasses(ownerState);
144
+ const monthPickerProps = {
145
+ className,
146
+ date,
147
+ disabled: other.disabled,
148
+ disablePast,
149
+ disableFuture,
150
+ onChange,
151
+ minDate,
152
+ maxDate,
153
+ onMonthChange,
154
+ readOnly: other.readOnly
155
+ };
144
156
  return /*#__PURE__*/_jsxs(CalendarPickerRoot, {
145
157
  ref: ref,
146
158
  className: clsx(classes.root, className),
@@ -176,13 +188,7 @@ const CalendarPicker = /*#__PURE__*/React.forwardRef(function CalendarPicker(inP
176
188
  isDateDisabled: isDateDisabled,
177
189
  shouldDisableYear: shouldDisableYear,
178
190
  onFocusedDayChange: changeFocusedDay
179
- })), openView === 'month' && /*#__PURE__*/_jsx(MonthPicker, _extends({}, other, {
180
- date: date,
181
- onChange: onChange,
182
- minDate: minDate,
183
- maxDate: maxDate,
184
- onMonthChange: onMonthChange
185
- })), openView === 'day' && /*#__PURE__*/_jsx(PickersCalendar, _extends({}, other, calendarState, {
191
+ })), openView === 'month' && /*#__PURE__*/_jsx(MonthPicker, _extends({}, monthPickerProps)), openView === 'day' && /*#__PURE__*/_jsx(PickersCalendar, _extends({}, other, calendarState, {
186
192
  autoFocus: autoFocus,
187
193
  onMonthSwitchingAnimationEnd: onMonthSwitchingAnimationEnd,
188
194
  onFocusedDayChange: changeFocusedDay,
@@ -100,7 +100,7 @@ function PickersCalendar(props) {
100
100
  onChange(finalDate, isFinish);
101
101
  }, [date, now, onChange, readOnly, utils]);
102
102
  const currentMonthNumber = utils.getMonth(currentMonth);
103
- const selectedDates = (Array.isArray(date) ? date : [date]).filter(Boolean).map(selectedDateItem => selectedDateItem && utils.startOfDay(selectedDateItem)); // need a new ref whenever the `key` of the transition changes: https://reactcommunity.org/react-transition-group/transition#Transition-prop-nodeRef.
103
+ const selectedDates = (Array.isArray(date) ? date : [date]).filter(Boolean).map(selectedDateItem => selectedDateItem && utils.startOfDay(selectedDateItem)); // need a new ref whenever the `key` of the transition changes: http://reactcommunity.org/react-transition-group/transition/#Transition-prop-nodeRef.
104
104
 
105
105
  const transitionKey = currentMonthNumber; // eslint-disable-next-line react-hooks/exhaustive-deps
106
106
 
@@ -144,6 +144,6 @@ process.env.NODE_ENV !== "production" ? CalendarPickerSkeleton.propTypes
144
144
  /**
145
145
  * The system prop that allows defining system overrides as well as additional CSS styles.
146
146
  */
147
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
147
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
148
148
  } : void 0;
149
149
  export default CalendarPickerSkeleton;
@@ -4,7 +4,7 @@ import { TimeValidationProps } from '../internal/pickers/time-utils';
4
4
  import { PickerOnChangeFn } from '../internal/pickers/hooks/useViews';
5
5
  import { ClockView } from './shared';
6
6
  export interface ClockPickerClasses {
7
- /** Styles applied to the arrowSwticher element. */
7
+ /** Styles applied to the arrowSwitcher element. */
8
8
  arrowSwitcher: string;
9
9
  }
10
10
  export declare type ClockPickerClassKey = keyof ClockPickerClasses;
@@ -30,7 +30,7 @@ const useUtilityClasses = ownerState => {
30
30
 
31
31
  const ClockPickerArrowSwitcher = styled(PickersArrowSwitcher, {
32
32
  name: 'MuiClockPicker',
33
- slot: 'ArrowSwticher',
33
+ slot: 'ArrowSwitcher',
34
34
  overridesResolver: (props, styles) => styles.arrowSwitcher
35
35
  })({
36
36
  position: 'absolute',
@@ -228,7 +228,7 @@ process.env.NODE_ENV !== "production" ? DateRangePickerDay.propTypes
228
228
  /**
229
229
  * The system prop that allows defining system overrides as well as additional CSS styles.
230
230
  */
231
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
231
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
232
232
  } : void 0;
233
233
  /**
234
234
  *
@@ -36,6 +36,8 @@ export type LoadingButtonTypeMap<
36
36
  loading?: boolean;
37
37
  /**
38
38
  * Element placed before the children if the button is in loading state.
39
+ * The node should contain an element with `role="progressbar"` with an accessible name.
40
+ * By default we render a `CircularProgress` that is labelled by the button itself.
39
41
  * @default <CircularProgress color="inherit" size={16} />
40
42
  */
41
43
  loadingIndicator?: React.ReactNode;
@@ -1,10 +1,10 @@
1
1
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
2
2
  import _extends from "@babel/runtime/helpers/esm/extends";
3
- const _excluded = ["children", "disabled", "loading", "loadingIndicator", "loadingPosition", "variant"];
3
+ const _excluded = ["children", "disabled", "id", "loading", "loadingIndicator", "loadingPosition", "variant"];
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { chainPropTypes } from '@mui/utils';
7
- import { capitalize } from '@mui/material/utils';
7
+ import { capitalize, unstable_useId as useId } from '@mui/material/utils';
8
8
  import { unstable_composeClasses as composeClasses } from '@mui/base';
9
9
  import { styled, useThemeProps } from '@mui/material/styles';
10
10
  import Button from '@mui/material/Button';
@@ -112,12 +112,6 @@ const LoadingButtonLoadingIndicator = styled('div', {
112
112
  position: 'relative',
113
113
  right: -10
114
114
  }));
115
-
116
- const LoadingIndicator = /*#__PURE__*/_jsx(CircularProgress, {
117
- color: "inherit",
118
- size: 16
119
- });
120
-
121
115
  const LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inProps, ref) {
122
116
  const props = useThemeProps({
123
117
  props: inProps,
@@ -127,13 +121,21 @@ const LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inPro
127
121
  const {
128
122
  children,
129
123
  disabled = false,
124
+ id: idProp,
130
125
  loading = false,
131
- loadingIndicator = LoadingIndicator,
126
+ loadingIndicator: loadingIndicatorProp,
132
127
  loadingPosition = 'center',
133
128
  variant = 'text'
134
129
  } = props,
135
130
  other = _objectWithoutPropertiesLoose(props, _excluded);
136
131
 
132
+ const id = useId(idProp);
133
+ const loadingIndicator = loadingIndicatorProp != null ? loadingIndicatorProp : /*#__PURE__*/_jsx(CircularProgress, {
134
+ "aria-labelledby": id,
135
+ color: "inherit",
136
+ size: 16
137
+ });
138
+
137
139
  const ownerState = _extends({}, props, {
138
140
  disabled,
139
141
  loading,
@@ -145,6 +147,7 @@ const LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inPro
145
147
  const classes = useUtilityClasses(ownerState);
146
148
  return /*#__PURE__*/_jsx(LoadingButtonRoot, _extends({
147
149
  disabled: disabled || loading,
150
+ id: id,
148
151
  ref: ref
149
152
  }, other, {
150
153
  variant: variant,
@@ -189,6 +192,11 @@ process.env.NODE_ENV !== "production" ? LoadingButton.propTypes
189
192
  */
190
193
  disabled: PropTypes.bool,
191
194
 
195
+ /**
196
+ * @ignore
197
+ */
198
+ id: PropTypes.string,
199
+
192
200
  /**
193
201
  * If `true`, the loading indicator is shown.
194
202
  * @default false
@@ -197,6 +205,8 @@ process.env.NODE_ENV !== "production" ? LoadingButton.propTypes
197
205
 
198
206
  /**
199
207
  * Element placed before the children if the button is in loading state.
208
+ * The node should contain an element with `role="progressbar"` with an accessible name.
209
+ * By default we render a `CircularProgress` that is labelled by the button itself.
200
210
  * @default <CircularProgress color="inherit" size={16} />
201
211
  */
202
212
  loadingIndicator: PropTypes.node,
@@ -220,7 +230,7 @@ process.env.NODE_ENV !== "production" ? LoadingButton.propTypes
220
230
  /**
221
231
  * The system prop that allows defining system overrides as well as additional CSS styles.
222
232
  */
223
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
233
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
224
234
 
225
235
  /**
226
236
  * The variant to use.
@@ -352,6 +352,6 @@ process.env.NODE_ENV !== "production" ? Masonry.propTypes
352
352
  /**
353
353
  * Allows defining system overrides as well as additional CSS styles.
354
354
  */
355
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
355
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
356
356
  } : void 0;
357
357
  export default Masonry;
@@ -166,7 +166,7 @@ process.env.NODE_ENV !== "production" ? MonthPicker.propTypes
166
166
  /**
167
167
  * The system prop that allows defining system overrides as well as additional CSS styles.
168
168
  */
169
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
169
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
170
170
  } : void 0;
171
171
  /**
172
172
  *
@@ -374,7 +374,7 @@ process.env.NODE_ENV !== "production" ? PickersDay.propTypes
374
374
  /**
375
375
  * The system prop that allows defining system overrides as well as additional CSS styles.
376
376
  */
377
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
377
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
378
378
 
379
379
  /**
380
380
  * If `true`, renders as today date.
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { BaseDatePickerProps } from '../DatePicker/shared';
3
- import { StaticWrapperProps } from '../internal/pickers/wrappers/StaticWrapper';
3
+ import { PickerStaticWrapperProps } from '../internal/pickers/wrappers/PickerStaticWrapper';
4
4
  export interface StaticDatePickerProps<TDate = unknown> extends BaseDatePickerProps<TDate> {
5
5
  /**
6
6
  * Force static wrapper inner components to be rendered in mobile or desktop mode.
7
7
  * @default 'mobile'
8
8
  */
9
- displayStaticWrapperAs?: StaticWrapperProps['displayStaticWrapperAs'];
9
+ displayStaticWrapperAs?: PickerStaticWrapperProps['displayStaticWrapperAs'];
10
10
  }
11
11
  declare type StaticDatePickerComponent = (<TDate>(props: StaticDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
12
12
  propTypes?: any;
@@ -5,7 +5,7 @@ import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { useDatePickerDefaultizedProps } from '../DatePicker/shared';
7
7
  import DatePickerToolbar from '../DatePicker/DatePickerToolbar';
8
- import StaticWrapper from '../internal/pickers/wrappers/StaticWrapper';
8
+ import PickerStaticWrapper from '../internal/pickers/wrappers/PickerStaticWrapper';
9
9
  import Picker from '../internal/pickers/Picker/Picker';
10
10
  import { useDateValidation } from '../internal/pickers/hooks/useValidation';
11
11
  import { parsePickerInputValue } from '../internal/pickers/date-utils';
@@ -48,7 +48,7 @@ const StaticDatePicker = /*#__PURE__*/React.forwardRef(function StaticDatePicker
48
48
  validationError
49
49
  });
50
50
 
51
- return /*#__PURE__*/_jsx(StaticWrapper, {
51
+ return /*#__PURE__*/_jsx(PickerStaticWrapper, {
52
52
  displayStaticWrapperAs: displayStaticWrapperAs,
53
53
  children: /*#__PURE__*/_jsx(Picker, _extends({}, pickerProps, {
54
54
  toolbarTitle: props.label || props.toolbarTitle,
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { StaticWrapperProps } from '../internal/pickers/wrappers/StaticWrapper';
2
+ import { PickerStaticWrapperProps } from '../internal/pickers/wrappers/PickerStaticWrapper';
3
3
  import { RangeInput, DateRange } from '../DateRangePicker/RangeTypes';
4
4
  import { DateRangeValidationError, ValidationProps } from '../internal/pickers/hooks/useValidation';
5
5
  import { ExportedDateRangePickerViewProps } from '../DateRangePicker/DateRangePickerView';
@@ -48,7 +48,7 @@ export interface StaticDateRangePickerProps<TDate = unknown> extends BaseDateRan
48
48
  * Force static wrapper inner components to be rendered in mobile or desktop mode.
49
49
  * @default 'mobile'
50
50
  */
51
- displayStaticWrapperAs?: StaticWrapperProps['displayStaticWrapperAs'];
51
+ displayStaticWrapperAs?: PickerStaticWrapperProps['displayStaticWrapperAs'];
52
52
  }
53
53
  declare type StaticDateRangePickerComponent = (<TDate>(props: StaticDateRangePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
54
54
  propTypes: unknown;
@@ -4,7 +4,7 @@ const _excluded = ["calendars", "displayStaticWrapperAs", "value", "onChange", "
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { useThemeProps } from '@mui/material/styles';
7
- import StaticWrapper from '../internal/pickers/wrappers/StaticWrapper';
7
+ import PickerStaticWrapper from '../internal/pickers/wrappers/PickerStaticWrapper';
8
8
  import { useDefaultDates, useUtils } from '../internal/pickers/hooks/useUtils';
9
9
  import { useDateRangeValidation } from '../internal/pickers/hooks/useValidation';
10
10
  import { usePickerState } from '../internal/pickers/hooks/usePickerState';
@@ -81,7 +81,7 @@ const StaticDateRangePicker = /*#__PURE__*/React.forwardRef(function StaticDateR
81
81
  ref
82
82
  });
83
83
 
84
- return /*#__PURE__*/_jsx(StaticWrapper, {
84
+ return /*#__PURE__*/_jsx(PickerStaticWrapper, {
85
85
  displayStaticWrapperAs: displayStaticWrapperAs,
86
86
  children: /*#__PURE__*/_jsx(DateRangePickerView, _extends({
87
87
  open: wrapperProps.open,
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { BaseDateTimePickerProps } from '../DateTimePicker/shared';
3
- import { StaticWrapperProps } from '../internal/pickers/wrappers/StaticWrapper';
3
+ import { PickerStaticWrapperProps } from '../internal/pickers/wrappers/PickerStaticWrapper';
4
4
  export interface StaticDateTimePickerProps<TDate = unknown> extends BaseDateTimePickerProps<TDate> {
5
5
  /**
6
6
  * Force static wrapper inner components to be rendered in mobile or desktop mode.
7
7
  * @default 'mobile'
8
8
  */
9
- displayStaticWrapperAs?: StaticWrapperProps['displayStaticWrapperAs'];
9
+ displayStaticWrapperAs?: PickerStaticWrapperProps['displayStaticWrapperAs'];
10
10
  }
11
11
  declare type StaticDateTimePickerComponent = (<TDate>(props: StaticDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
12
12
  propTypes?: any;
@@ -5,7 +5,7 @@ import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { useDateTimePickerDefaultizedProps } from '../DateTimePicker/shared';
7
7
  import DateTimePickerToolbar from '../DateTimePicker/DateTimePickerToolbar';
8
- import StaticWrapper from '../internal/pickers/wrappers/StaticWrapper';
8
+ import PickerStaticWrapper from '../internal/pickers/wrappers/PickerStaticWrapper';
9
9
  import Picker from '../internal/pickers/Picker/Picker';
10
10
  import { useDateTimeValidation } from '../internal/pickers/hooks/useValidation';
11
11
  import { parsePickerInputValue } from '../internal/pickers/date-utils';
@@ -48,7 +48,7 @@ const StaticDateTimePicker = /*#__PURE__*/React.forwardRef(function StaticDateTi
48
48
  validationError
49
49
  });
50
50
 
51
- return /*#__PURE__*/_jsx(StaticWrapper, {
51
+ return /*#__PURE__*/_jsx(PickerStaticWrapper, {
52
52
  displayStaticWrapperAs: displayStaticWrapperAs,
53
53
  children: /*#__PURE__*/_jsx(Picker, _extends({}, pickerProps, {
54
54
  toolbarTitle: props.label || props.toolbarTitle,
@@ -1,12 +1,12 @@
1
1
  import * as React from 'react';
2
2
  import { BaseTimePickerProps } from '../TimePicker/shared';
3
- import { StaticWrapperProps } from '../internal/pickers/wrappers/StaticWrapper';
3
+ import { PickerStaticWrapperProps } from '../internal/pickers/wrappers/PickerStaticWrapper';
4
4
  export interface StaticTimePickerProps<TDate = unknown> extends BaseTimePickerProps<TDate> {
5
5
  /**
6
6
  * Force static wrapper inner components to be rendered in mobile or desktop mode.
7
7
  * @default 'mobile'
8
8
  */
9
- displayStaticWrapperAs?: StaticWrapperProps['displayStaticWrapperAs'];
9
+ displayStaticWrapperAs?: PickerStaticWrapperProps['displayStaticWrapperAs'];
10
10
  }
11
11
  declare type StaticTimePickerComponent = (<TDate>(props: StaticTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element) & {
12
12
  propTypes?: any;
@@ -5,7 +5,7 @@ import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { useTimePickerDefaultizedProps } from '../TimePicker/shared';
7
7
  import TimePickerToolbar from '../TimePicker/TimePickerToolbar';
8
- import StaticWrapper from '../internal/pickers/wrappers/StaticWrapper';
8
+ import PickerStaticWrapper from '../internal/pickers/wrappers/PickerStaticWrapper';
9
9
  import Picker from '../internal/pickers/Picker/Picker';
10
10
  import { useTimeValidation } from '../internal/pickers/hooks/useValidation';
11
11
  import { parsePickerInputValue } from '../internal/pickers/date-utils';
@@ -47,7 +47,7 @@ const StaticTimePicker = /*#__PURE__*/React.forwardRef(function StaticTimePicker
47
47
  validationError
48
48
  });
49
49
 
50
- return /*#__PURE__*/_jsx(StaticWrapper, {
50
+ return /*#__PURE__*/_jsx(PickerStaticWrapper, {
51
51
  displayStaticWrapperAs: displayStaticWrapperAs,
52
52
  children: /*#__PURE__*/_jsx(Picker, _extends({}, pickerProps, {
53
53
  toolbarTitle: props.label || props.toolbarTitle,
@@ -91,7 +91,7 @@ process.env.NODE_ENV !== "production" ? TabPanel.propTypes
91
91
  /**
92
92
  * The system prop that allows defining system overrides as well as additional CSS styles.
93
93
  */
94
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
94
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
95
95
 
96
96
  /**
97
97
  * The `value` of the corresponding `Tab`. Must use the index of the `Tab` when