@mui/lab 5.0.0-alpha.50 → 5.0.0-alpha.54

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 (234) hide show
  1. package/CHANGELOG.md +274 -0
  2. package/CalendarPicker/CalendarPicker.d.ts +10 -0
  3. package/CalendarPicker/CalendarPicker.js +12 -0
  4. package/CalendarPicker/PickersCalendar.d.ts +2 -0
  5. package/CalendarPicker/PickersCalendar.js +9 -3
  6. package/CalendarPicker/PickersCalendarHeader.d.ts +1 -0
  7. package/CalendarPicker/PickersCalendarHeader.js +5 -4
  8. package/CalendarPicker/PickersFadeTransitionGroup.js +2 -2
  9. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +2 -1
  10. package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -1
  11. package/DatePicker/DatePicker.js +7 -0
  12. package/DateRangePicker/DateRangePicker.js +7 -0
  13. package/DateRangePickerDay/DateRangePickerDay.js +1 -1
  14. package/DateTimePicker/DateTimePicker.js +7 -0
  15. package/DesktopDatePicker/DesktopDatePicker.js +10 -1
  16. package/DesktopDateRangePicker/DesktopDateRangePicker.js +7 -0
  17. package/DesktopDateTimePicker/DesktopDateTimePicker.js +7 -0
  18. package/DesktopTimePicker/DesktopTimePicker.js +5 -0
  19. package/LoadingButton/LoadingButton.js +37 -7
  20. package/Masonry/Masonry.d.ts +13 -1
  21. package/Masonry/Masonry.js +207 -57
  22. package/MobileDatePicker/MobileDatePicker.js +2 -0
  23. package/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
  24. package/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
  25. package/MonthPicker/MonthPicker.d.ts +4 -0
  26. package/MonthPicker/MonthPicker.js +20 -4
  27. package/PickersDay/PickersDay.js +1 -1
  28. package/StaticDatePicker/StaticDatePicker.js +2 -0
  29. package/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
  30. package/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
  31. package/TabPanel/TabPanel.js +1 -1
  32. package/TimePicker/TimePicker.js +5 -0
  33. package/Timeline/Timeline.js +1 -1
  34. package/TimelineConnector/TimelineConnector.js +1 -1
  35. package/TimelineContent/TimelineContent.js +1 -1
  36. package/TimelineDot/TimelineDot.js +1 -1
  37. package/TimelineItem/TimelineItem.js +1 -1
  38. package/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  39. package/TimelineSeparator/TimelineSeparator.js +1 -1
  40. package/TreeItem/TreeItem.js +1 -1
  41. package/TreeView/TreeView.js +1 -1
  42. package/YearPicker/YearPicker.d.ts +2 -0
  43. package/YearPicker/YearPicker.js +17 -1
  44. package/index.js +1 -1
  45. package/internal/pickers/Picker/Picker.d.ts +1 -1
  46. package/internal/pickers/Picker/PickerView.d.ts +1 -1
  47. package/internal/pickers/PickersArrowSwitcher.d.ts +2 -2
  48. package/internal/pickers/PickersArrowSwitcher.js +1 -3
  49. package/internal/pickers/PickersPopper.d.ts +9 -1
  50. package/internal/pickers/PickersPopper.js +31 -7
  51. package/internal/pickers/test-utils.js +4 -2
  52. package/internal/pickers/wrappers/DesktopWrapper.d.ts +2 -2
  53. package/internal/pickers/wrappers/DesktopWrapper.js +2 -0
  54. package/legacy/CalendarPicker/CalendarPicker.js +12 -0
  55. package/legacy/CalendarPicker/PickersCalendar.js +10 -3
  56. package/legacy/CalendarPicker/PickersCalendarHeader.js +5 -4
  57. package/legacy/CalendarPicker/PickersFadeTransitionGroup.js +3 -5
  58. package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -1
  59. package/legacy/DatePicker/DatePicker.js +7 -0
  60. package/legacy/DateRangePicker/DateRangePicker.js +7 -0
  61. package/legacy/DateRangePickerDay/DateRangePickerDay.js +1 -1
  62. package/legacy/DateTimePicker/DateTimePicker.js +7 -0
  63. package/legacy/DesktopDatePicker/DesktopDatePicker.js +10 -1
  64. package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +7 -0
  65. package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +7 -0
  66. package/legacy/DesktopTimePicker/DesktopTimePicker.js +5 -0
  67. package/legacy/LoadingButton/LoadingButton.js +36 -10
  68. package/legacy/Masonry/Masonry.js +216 -57
  69. package/legacy/MobileDatePicker/MobileDatePicker.js +2 -0
  70. package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
  71. package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
  72. package/legacy/MonthPicker/MonthPicker.js +19 -3
  73. package/legacy/PickersDay/PickersDay.js +1 -1
  74. package/legacy/StaticDatePicker/StaticDatePicker.js +2 -0
  75. package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
  76. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
  77. package/legacy/TabPanel/TabPanel.js +1 -1
  78. package/legacy/TimePicker/TimePicker.js +5 -0
  79. package/legacy/Timeline/Timeline.js +1 -1
  80. package/legacy/TimelineConnector/TimelineConnector.js +1 -1
  81. package/legacy/TimelineContent/TimelineContent.js +1 -1
  82. package/legacy/TimelineDot/TimelineDot.js +1 -1
  83. package/legacy/TimelineItem/TimelineItem.js +1 -1
  84. package/legacy/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  85. package/legacy/TimelineSeparator/TimelineSeparator.js +1 -1
  86. package/legacy/TreeItem/TreeItem.js +1 -1
  87. package/legacy/TreeView/TreeView.js +1 -1
  88. package/legacy/YearPicker/YearPicker.js +17 -1
  89. package/legacy/index.js +1 -1
  90. package/legacy/internal/pickers/PickersArrowSwitcher.js +1 -3
  91. package/legacy/internal/pickers/PickersPopper.js +29 -7
  92. package/legacy/internal/pickers/test-utils.js +3 -2
  93. package/legacy/internal/pickers/wrappers/DesktopWrapper.js +2 -0
  94. package/modern/CalendarPicker/CalendarPicker.js +12 -0
  95. package/modern/CalendarPicker/PickersCalendar.js +9 -3
  96. package/modern/CalendarPicker/PickersCalendarHeader.js +5 -4
  97. package/modern/CalendarPicker/PickersFadeTransitionGroup.js +2 -2
  98. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +1 -1
  99. package/modern/DatePicker/DatePicker.js +7 -0
  100. package/modern/DateRangePicker/DateRangePicker.js +7 -0
  101. package/modern/DateRangePickerDay/DateRangePickerDay.js +1 -1
  102. package/modern/DateTimePicker/DateTimePicker.js +7 -0
  103. package/modern/DesktopDatePicker/DesktopDatePicker.js +10 -1
  104. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +7 -0
  105. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +7 -0
  106. package/modern/DesktopTimePicker/DesktopTimePicker.js +5 -0
  107. package/modern/LoadingButton/LoadingButton.js +37 -7
  108. package/modern/Masonry/Masonry.js +207 -57
  109. package/modern/MobileDatePicker/MobileDatePicker.js +2 -0
  110. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
  111. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
  112. package/modern/MonthPicker/MonthPicker.js +20 -4
  113. package/modern/PickersDay/PickersDay.js +1 -1
  114. package/modern/StaticDatePicker/StaticDatePicker.js +2 -0
  115. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
  116. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
  117. package/modern/TabPanel/TabPanel.js +1 -1
  118. package/modern/TimePicker/TimePicker.js +5 -0
  119. package/modern/Timeline/Timeline.js +1 -1
  120. package/modern/TimelineConnector/TimelineConnector.js +1 -1
  121. package/modern/TimelineContent/TimelineContent.js +1 -1
  122. package/modern/TimelineDot/TimelineDot.js +1 -1
  123. package/modern/TimelineItem/TimelineItem.js +1 -1
  124. package/modern/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  125. package/modern/TimelineSeparator/TimelineSeparator.js +1 -1
  126. package/modern/TreeItem/TreeItem.js +1 -1
  127. package/modern/TreeView/TreeView.js +1 -1
  128. package/modern/YearPicker/YearPicker.js +17 -1
  129. package/modern/index.js +1 -1
  130. package/modern/internal/pickers/PickersArrowSwitcher.js +1 -3
  131. package/modern/internal/pickers/PickersPopper.js +31 -7
  132. package/modern/internal/pickers/test-utils.js +4 -2
  133. package/modern/internal/pickers/wrappers/DesktopWrapper.js +2 -0
  134. package/node/CalendarPicker/CalendarPicker.js +13 -1
  135. package/node/CalendarPicker/PickersCalendar.js +9 -3
  136. package/node/CalendarPicker/PickersCalendarHeader.js +5 -4
  137. package/node/CalendarPicker/PickersFadeTransitionGroup.js +2 -2
  138. package/node/CalendarPicker/PickersSlideTransition.js +1 -1
  139. package/node/CalendarPicker/index.js +4 -4
  140. package/node/CalendarPicker/useCalendarState.js +1 -1
  141. package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +2 -2
  142. package/node/CalendarPickerSkeleton/index.js +4 -4
  143. package/node/ClockPicker/ClockPicker.js +1 -1
  144. package/node/ClockPicker/index.js +4 -4
  145. package/node/ClockPicker/shared.js +1 -1
  146. package/node/DatePicker/DatePicker.js +7 -0
  147. package/node/DatePicker/shared.js +1 -1
  148. package/node/DateRangePicker/DateRangePicker.js +7 -0
  149. package/node/DateRangePickerDay/DateRangePickerDay.js +2 -2
  150. package/node/DateTimePicker/DateTimePicker.js +7 -0
  151. package/node/DesktopDatePicker/DesktopDatePicker.js +10 -1
  152. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +7 -0
  153. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +7 -0
  154. package/node/DesktopTimePicker/DesktopTimePicker.js +5 -0
  155. package/node/LoadingButton/LoadingButton.js +37 -7
  156. package/node/LoadingButton/loadingButtonClasses.js +1 -1
  157. package/node/Masonry/Masonry.js +211 -61
  158. package/node/Masonry/masonryClasses.js +1 -1
  159. package/node/MobileDatePicker/MobileDatePicker.js +2 -0
  160. package/node/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
  161. package/node/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
  162. package/node/MonthPicker/MonthPicker.js +22 -5
  163. package/node/PickersDay/PickersDay.js +3 -2
  164. package/node/PickersDay/index.js +4 -4
  165. package/node/StaticDatePicker/StaticDatePicker.js +2 -0
  166. package/node/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
  167. package/node/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
  168. package/node/TabContext/TabContext.js +1 -1
  169. package/node/TabPanel/TabPanel.js +1 -1
  170. package/node/TabPanel/tabPanelClasses.js +1 -1
  171. package/node/TimePicker/TimePicker.js +5 -0
  172. package/node/TimePicker/TimePickerToolbar.js +2 -1
  173. package/node/Timeline/Timeline.js +1 -1
  174. package/node/Timeline/timelineClasses.js +1 -1
  175. package/node/TimelineConnector/TimelineConnector.js +1 -1
  176. package/node/TimelineConnector/timelineConnectorClasses.js +1 -1
  177. package/node/TimelineContent/TimelineContent.js +1 -1
  178. package/node/TimelineContent/timelineContentClasses.js +1 -1
  179. package/node/TimelineDot/TimelineDot.js +1 -1
  180. package/node/TimelineDot/timelineDotClasses.js +1 -1
  181. package/node/TimelineItem/TimelineItem.js +1 -1
  182. package/node/TimelineItem/timelineItemClasses.js +1 -1
  183. package/node/TimelineOppositeContent/TimelineOppositeContent.js +1 -1
  184. package/node/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
  185. package/node/TimelineSeparator/TimelineSeparator.js +1 -1
  186. package/node/TimelineSeparator/timelineSeparatorClasses.js +1 -1
  187. package/node/TreeItem/TreeItem.js +1 -1
  188. package/node/TreeItem/index.js +4 -4
  189. package/node/TreeItem/treeItemClasses.js +1 -1
  190. package/node/TreeView/TreeView.js +1 -1
  191. package/node/TreeView/descendants.js +1 -1
  192. package/node/TreeView/treeViewClasses.js +1 -1
  193. package/node/YearPicker/PickersYear.js +2 -1
  194. package/node/YearPicker/YearPicker.js +17 -1
  195. package/node/YearPicker/yearPickerClasses.js +1 -1
  196. package/node/index.js +7 -7
  197. package/node/internal/pickers/PickersArrowSwitcher.js +1 -3
  198. package/node/internal/pickers/PickersPopper.js +31 -7
  199. package/node/internal/pickers/constants/dimensions.js +1 -1
  200. package/node/internal/pickers/date-utils.js +2 -1
  201. package/node/internal/pickers/hooks/date-helpers-hooks.js +1 -1
  202. package/node/internal/pickers/hooks/useIsLandscape.js +1 -1
  203. package/node/internal/pickers/hooks/useMaskedInput.js +1 -1
  204. package/node/internal/pickers/hooks/useOpenState.js +1 -1
  205. package/node/internal/pickers/hooks/useUtils.js +1 -1
  206. package/node/internal/pickers/hooks/useValidation.js +3 -3
  207. package/node/internal/pickers/test-utils.js +5 -3
  208. package/node/internal/pickers/text-field-helper.js +3 -2
  209. package/node/internal/pickers/time-utils.js +2 -1
  210. package/node/internal/pickers/utils.js +1 -1
  211. package/node/internal/pickers/wrappers/DesktopWrapper.js +2 -0
  212. package/node/internal/pickers/wrappers/WrapperVariantContext.js +1 -1
  213. package/node/useAutocomplete/index.js +4 -4
  214. package/package.json +8 -7
  215. package/Masonry/MasonryContext.js +0 -12
  216. package/MasonryItem/MasonryItem.d.ts +0 -49
  217. package/MasonryItem/MasonryItem.js +0 -196
  218. package/MasonryItem/index.d.ts +0 -5
  219. package/MasonryItem/index.js +0 -3
  220. package/MasonryItem/masonryItemClasses.d.ts +0 -8
  221. package/MasonryItem/masonryItemClasses.js +0 -6
  222. package/MasonryItem/package.json +0 -6
  223. package/legacy/Masonry/MasonryContext.js +0 -12
  224. package/legacy/MasonryItem/MasonryItem.js +0 -201
  225. package/legacy/MasonryItem/index.js +0 -3
  226. package/legacy/MasonryItem/masonryItemClasses.js +0 -6
  227. package/modern/Masonry/MasonryContext.js +0 -12
  228. package/modern/MasonryItem/MasonryItem.js +0 -196
  229. package/modern/MasonryItem/index.js +0 -3
  230. package/modern/MasonryItem/masonryItemClasses.js +0 -6
  231. package/node/Masonry/MasonryContext.js +0 -24
  232. package/node/MasonryItem/MasonryItem.js +0 -220
  233. package/node/MasonryItem/index.js +0 -42
  234. package/node/MasonryItem/masonryItemClasses.js +0 -17
package/CHANGELOG.md CHANGED
@@ -1,5 +1,279 @@
1
1
  ### [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.1.0
4
+
5
+ <!-- generated comparing v5.0.6..master -->
6
+
7
+ _Nov 8, 2021_
8
+
9
+ A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🎉 Support custom elements under `ButtonGroup` (#28645) @ZeeshanTamboli
12
+ - 🛠 Add support for arrays in the `sx` prop (#29297) @siriwatknp
13
+ - And many more 🐛 bug fixes and 📚 improvements.
14
+
15
+ ### `@mui/material@5.1.0`
16
+
17
+ - &#8203;<!-- 68 -->[Autocomplete] Fix `hiddenLabel` prop of `TextField variant={filled}` inside Autocomplete (#29234) @jatinsandilya
18
+ - &#8203;<!-- 67 -->[Box] Support generateClassName and defaultClassName (#29347) @siriwatknp
19
+ - &#8203;<!-- 66 -->[ButtonGroup] Fix variant outlined always has primary color borders on hover (#29487) @ZeeshanTamboli
20
+ - &#8203;<!-- 65 -->[ButtonGroup] Support different elements under ButtonGroup (#28645) @ZeeshanTamboli
21
+ - &#8203;<!-- 62 -->[CssBaseline] Add `enableColorScheme` prop so enable using `color-scheme` property to deal with dark mode (#29454) @alexfauquette
22
+ - &#8203;<!-- 29 -->[FormControlLabel] Narrow the label type (#29324) @michaldudak
23
+ - &#8203;<!-- 28 -->[Grid] Fix usage when columns > 12 (#29196) @tanay123456789
24
+ - &#8203;<!-- 27 -->[InputBase] Do not repeat the same classname (#29353) @hbjORbj
25
+ - &#8203;<!-- 30 -->[InputBase] Remove WebkitAppearance from search type (#29383) @nicbarajas
26
+ - &#8203;<!-- 25 -->[ListItem] Add missing exports (#29571) @robcaldecott
27
+ - &#8203;<!-- 22 -->[Pagination] Allow customization of icons (#29336) @mbeltramin
28
+ - &#8203;<!-- 11 -->[TextField] Fix bootstrap, normalize.css, sanitize.css conflicts (#28674) @ChrisClaude
29
+ - &#8203;<!-- 10 -->[TextField] Fix invisible wrap within notched inputs (#29088) @DASPRiD
30
+ - &#8203;<!-- 09 -->[Tooltip] `open` prop in `componentsProps.popper` can be optional (#29370) @ZeeshanTamboli
31
+ - &#8203;<!-- 08 -->[Tooltip] Fix `className` not getting applied from PopperProps (#29023) @ZeeshanTamboli
32
+ - &#8203;<!-- 07 -->[useRadioGroup] Convert to TypeScript (#29326) @eps1lon
33
+
34
+ ### `@mui/system@5.1.0`
35
+
36
+ - &#8203;<!-- 21 -->[system] Introduce `mode` to CssVarsProvider (#29418) @siriwatknp
37
+ - &#8203;<!-- 20 -->[system] Improve breakpoints resolver function (#29300) @hbjORbj
38
+ - &#8203;<!-- 19 -->[system] Add array support for `sx` prop (#29297) @siriwatknp
39
+
40
+ ### `@mui/codemod@5.1.0`
41
+
42
+ - &#8203;<!-- 64 -->[codemod] Add codemod parser flag (#29059) (#29229) @ElonVolo
43
+
44
+ ### `@mui/lab@5.0.0-alpha.54`
45
+
46
+ - &#8203;<!-- 52 -->[DatePicker] Fix disabled/readOnly for view components (#28815) @adamfitzgibbon
47
+ - &#8203;<!-- 24 -->[Masonry] Fix crash on unmount when using React 18 (#29358) @eps1lon
48
+ - &#8203;<!-- 23 -->[Masonry] Improve height computation and detect changes in `children` (#29351) @hbjORbj
49
+
50
+ ### `@mui/joy@5.0.0-alpha.0`
51
+
52
+ - &#8203;<!-- 28 -->[Joy] Update default theme (#29478) @siriwatknp
53
+ - &#8203;<!-- 26 -->[Joy] Export CssVarsProvider with default theme (#29150) @siriwatknp
54
+ - &#8203;<!-- 25 -->[Joy] Remove `private` to leverage CodeSandbox (#29280) @siriwatknp
55
+
56
+ ### Docs
57
+
58
+ - &#8203;<!-- 51 -->[docs] Add differences between styled and sx (#28685) @eric-burel
59
+ - &#8203;<!-- 50 -->[docs] Track usage of dark mode in Google Analytics (#29419) @oliviertassinari
60
+ - &#8203;<!-- 49 -->[docs] Remove create-mui-theme as it is no longer working (#29472) @IPJT
61
+ - &#8203;<!-- 48 -->[docs] Fix warnings in AppSearch (#29459) @eps1lon
62
+ - &#8203;<!-- 47 -->[docs] Add framework example for ClassNameGenerator (#29453) @siriwatknp
63
+ - &#8203;<!-- 46 -->[docs] Fix layout shift when scrolling (#29436) @oliviertassinari
64
+ - &#8203;<!-- 45 -->[docs] Fix layout-shift on id='main-content' (#29425) @oliviertassinari
65
+ - &#8203;<!-- 44 -->[docs] Remove usage of `process.browser` (#29438) @oliviertassinari
66
+ - &#8203;<!-- 43 -->[docs] Add instruction on how to use the child selector API with emotion (#29350) @mnajdova
67
+ - &#8203;<!-- 42 -->[docs] Fix small typos (#29424) @oliviertassinari
68
+ - &#8203;<!-- 41 -->[docs] Fix TOC highlighting logic (#29435) @oliviertassinari
69
+ - &#8203;<!-- 40 -->[docs] Fix about page flags (#29314) @mbrookes
70
+ - &#8203;<!-- 39 -->[docs] Fix Box JS docs (#29282) @Pablion
71
+ - &#8203;<!-- 38 -->[docs] Update storybook section in migration to v5 docs (#28800) @siriwatknp
72
+ - &#8203;<!-- 37 -->[docs] Document how to enable color on dark mode (#29340) @Wimukti
73
+ - &#8203;<!-- 36 -->[docs] Display search functionality in all viewports (#28819) @eps1lon
74
+ - &#8203;<!-- 35 -->[docs] Query heading for ToC on demand (#29204) @eps1lon
75
+ - &#8203;<!-- 34 -->[docs] Add next.js styled-component guide and update links to example (#29118) @Jareechang
76
+ - &#8203;<!-- 33 -->[docs] Fix overriding `MuiTextField`'s default props in the migration guide (#29174) @tm1000
77
+ - &#8203;<!-- 32 -->[docs] Fix "clickable" and "deletable" typos (#28702) @jacklaurencegaray
78
+ - &#8203;<!-- 31 -->[docs] Update migration-v4 docs for wrong import path (#29042) @busches
79
+ - &#8203;<!-- 30 -->[docs] Add GitHub icon change to "Migration from v4 to v5" guide (#29182) @dan-mba
80
+ - &#8203;<!-- 06 -->[website] Benny Joo joining MUI (#29499) @mnajdova
81
+ - &#8203;<!-- 05 -->[website] Update the `Print export` feature info on the pricing page (#29484) @DanailH
82
+ - &#8203;<!-- 04 -->[website] Improve the dev rel role description (#29477) @oliviertassinari
83
+ - &#8203;<!-- 03 -->[website] Add customers section on Design Kits and Templates marketing pages (#29168) @danilo-leal
84
+ - &#8203;<!-- 02 -->[website] Improvements to the /core product page @danilo-leal
85
+ - &#8203;<!-- 01 -->[website] Fix typo on the About Page (#29286) @gssakash
86
+
87
+ ### Core
88
+
89
+ - &#8203;<!-- 63 -->[core] Handle RecordType and FieldType in generatePropDescription.ts (#29467) @flaviendelangle
90
+ - &#8203;<!-- 61 -->[core] Convert a named color to lowercase (#29465) @ainatenhi
91
+ - &#8203;<!-- 60 -->[core] Allow to reuse functions from `docs:api` (#28828) @m4theushw
92
+ - &#8203;<!-- 59 -->[core] Commit new nextjs 12 tsconfig (#29458) @eps1lon
93
+ - &#8203;<!-- 58 -->[core] Settle on MUI X for the official name (#29420) @oliviertassinari
94
+ - &#8203;<!-- 57 -->[core] Add mui as a npm keyword (#29427) @oliviertassinari
95
+ - &#8203;<!-- 56 -->[core] Fix issue template redirection (#29432) @oliviertassinari
96
+ - &#8203;<!-- 55 -->[core] Remove unecessary destructuration (#29354) @oliviertassinari
97
+ - &#8203;<!-- 54 -->[core] Use cross-env to set env variables in material-icons scripts (#29327) @michaldudak
98
+ - &#8203;<!-- 53 -->[core] Don't bump peer dependency ranges on dependency updates (#29303) @eps1lon
99
+ - &#8203;<!-- 18 -->[test] Fix browser tests (#29505) @eps1lon
100
+ - &#8203;<!-- 69 -->[test] Fix missing act warnings in latest React 18 alpha (#29357) @eps1lon
101
+ - &#8203;<!-- 17 -->[test] Replace `createClientRender` with new `createRenderer` API (#29471) @eps1lon
102
+ - &#8203;<!-- 16 -->[test] Fix possible "missing act" warning (#29463) @eps1lon
103
+ - &#8203;<!-- 15 -->[test] Remove render#baseElement (#29462) @eps1lon
104
+ - &#8203;<!-- 14 -->[test] Expose `AbortController` on global (#29360) @eps1lon
105
+ - &#8203;<!-- 13 -->[test] Add internal test for uniqe `name` in `Rating` (#29329) @eps1lon
106
+ - &#8203;<!-- 12 -->[test] Fix browser tests (#29305) @eps1lon
107
+
108
+ All contributors of this release in alphabetical order: @adamfitzgibbon, @ainatenhi, @alexfauquette, @busches, @ChrisClaude, @dan-mba, @DanailH, @danilo-leal, @DASPRiD, @ElonVolo, @eps1lon, @eric-burel, @flaviendelangle, @gssakash, @hbjORbj, @IPJT, @jacklaurencegaray, @Jareechang, @jatinsandilya, @m4theushw, @mbeltramin, @mbrookes, @michaldudak, @mnajdova, @nicbarajas, @oliviertassinari, @Pablion, @robcaldecott, @siriwatknp, @tanay123456789, @tm1000, @Wimukti, @ZeeshanTamboli
109
+
110
+ ## 5.0.6
111
+
112
+ <!-- generated comparing v5.0.5..master -->
113
+
114
+ _Oct 27, 2021_
115
+
116
+ A big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
117
+
118
+ - 🔧 Fix reported TypeScript issues on the `@mui/system` package because some packages were not released
119
+
120
+ ### `@mui/material@5.0.6`
121
+
122
+ - &#8203;<!-- 4 -->[Autocomplete] Fix `clearOnBlur` prop (#29208) @hbjORbj
123
+ - &#8203;<!-- 2 -->[Rating] Remove z-index from decimal stars (#29295) @williamhaley
124
+
125
+ ### `@mui/system@5.0.6`
126
+
127
+ - &#8203;<!-- 5 -->[system] Fix various issues reported by using @mui/styled-engine-sc (#29035) @mnajdova
128
+ - &#8203;<!-- 1 -->[system] Fix executing server-side Emotion component as function interpolation (#29290) @Andarist
129
+
130
+ ### Docs
131
+
132
+ - &#8203;<!-- 3 -->[blog] Q3 2021 Update (#28970) @oliviertassinari
133
+
134
+ All contributors of this release in alphabetical order: @Andarist, @hbjORbj, @oliviertassinari, @williamhaley
135
+
136
+ ## 5.0.5
137
+
138
+ <!-- generated comparing v5.0.4..master -->
139
+
140
+ _Oct 26, 2021_
141
+
142
+ A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
143
+
144
+ - 🔧 Implement `Masonry` using Flexbox by @hbjORbj.
145
+ - 🧪 Add three components to `@mui/core` by @rebeccahongsf and @hbjORbj.
146
+
147
+ ### `@mui/codemod@5.0.5`
148
+
149
+ - &#8203;<!-- 38 -->[codemod] Support new package name in `link-underline-hover` transformer (#29214) @siriwatknp
150
+
151
+ ### `@mui/core@5.0.0-alpha.52`
152
+
153
+ - &#8203;<!-- 39 -->[ClickAwayListener] Move to the core package (#29186) @hbjORbj
154
+ - &#8203;<!-- 13 -->[Popper] Move from mui-material to mui-core (#28923) @rebeccahongsf
155
+ - &#8203;<!-- 04 -->[TextareaAutosize] Move to the core package (#29148) @hbjORbj
156
+
157
+ ### `@mui/lab@5.0.0-alpha.52`
158
+
159
+ - &#8203;<!-- 16 -->[Masonry] Improve demo styles (#29218) @hbjORbj
160
+ - &#8203;<!-- 15 -->[Masonry] Implement Masonry using Flexbox (#28059) @hbjORbj
161
+
162
+ ### `@mui/icons@5.0.5`
163
+
164
+ - &#8203;<!-- 19 -->[icons] Add TipsAndUpdates icon (#29004) @hbjORbj
165
+
166
+ ### `@mui/material@5.0.5`
167
+
168
+ - &#8203;<!-- 40 -->[CardMedia] Apply specified `img` role instead of custom `image` role (#29172) @eps1lon
169
+ - &#8203;<!-- 32 -->[CSSBaseline] Remove incorrect @deprecated annotation (#29069) @adamfitzgibbon
170
+ - &#8203;<!-- 20 -->[Grid] Support custom columns with nested grid (#28743) @Devesh21700Kumar
171
+ - &#8203;<!-- 18 -->[InputBase] Remove wrong theme overriding with MUI's default theme (#29157) @hbjORbj
172
+ - &#8203;<!-- 17 -->[LoadingButton] Fix `fullWidth` styling (#28652) @nikitabobers
173
+ - &#8203;<!-- 16 -->[Popper] make Popper display:none whenever it's closed (#29233) @adamfitzgibbon
174
+ - &#8203;<!-- 14 -->[Menu] Reduce min-height & padding in menu-item with dense property (#29180) @jatinsandilya
175
+ - &#8203;<!-- 07 -->[Tab] `iconPosition` prop added in Tab (#28764) @deepanshu2506
176
+ - &#8203;<!-- 03 -->[Tooltip] Correct inconsistent prop precedence (#29132) @michaldudak
177
+
178
+ ### `@mui/system@5.0.5`
179
+
180
+ - &#8203;<!-- 11 -->[system] Allow function type for `sx` prop (#29198) @hbjORbj
181
+ - &#8203;<!-- 10 -->[system] Fix various issues reported by using @mui/styled-engine-sc (#29035) @mnajdova
182
+ - &#8203;<!-- 09 -->[system] Fix `colorScheme` conflict between application (#29139) @siriwatknp
183
+ - &#8203;<!-- 08 -->[system] Add `unstable_createCssVarsProvider` api (#28965) @siriwatknp
184
+
185
+ ### Documentation
186
+
187
+ - &#8203;<!-- 31 -->[docs] Fix path to `DataGrid` CSV export options page (#29220) @DanailH
188
+ - &#8203;<!-- 30 -->[docs] Give anonymous components a name (#29189) @eps1lon
189
+ - &#8203;<!-- 29 -->[docs] Add deploy context variables (#29195) @siriwatknp
190
+ - &#8203;<!-- 28 -->[docs] Add MUI packages explanation (#29073) @siriwatknp
191
+ - &#8203;<!-- 27 -->[docs] Fix typo in CSP policy (#29187) @JuliaNeumann
192
+ - &#8203;<!-- 26 -->[docs] Dark mode conditional content rendering (#28665) @michal-perlakowski
193
+ - &#8203;<!-- 25 -->[docs] Fix ClassNameGenerator introduced version #29177 @siriwatknp
194
+ - &#8203;<!-- 24 -->[docs] Add missing `justifyContent` values and update box styling (#29117) @omarmosid
195
+ - &#8203;<!-- 23 -->[docs] Make landing page hero section scrollable (#29141) @waxidiotic
196
+ - &#8203;<!-- 22 -->[docs] Discourage importing different bundles directly (#29133) @eps1lon
197
+ - &#8203;<!-- 21 -->[docs] Update module augmentation reference url (#29064) @gnowland
198
+ - &#8203;<!-- 12 -->[pricing] Add tooltip to pricing icon (#28959) @siriwatknp
199
+ - &#8203;<!-- 07 -->[Team] Add Alexandre in the about page (#29289)
200
+ - &#8203;<!-- 02 -->[website] Fix status label overflow in AdvancedShowcase (#29143) @LorenzHenk
201
+ - &#8203;<!-- 01 -->[website] Update legacy logos (#28908) @michaldudak
202
+
203
+ ### Core
204
+
205
+ - &#8203;<!-- 37 -->[core] Order repro methods by preference (#29156) @eps1lon
206
+ - &#8203;<!-- 36 -->[core] Remove unnecessary usages of `useEventCallback` (#28910) @NMinhNguyen
207
+ - &#8203;<!-- 35 -->[core] add `unstable_ClassNameGenerator` API (#29051) @siriwatknp
208
+ - &#8203;<!-- 34 -->[core] Fix issues when using styled-components (#29048) @mnajdova
209
+ - &#8203;<!-- 33 -->[core] replace hard-coded classname with classes (#29070) @siriwatknp
210
+ - &#8203;<!-- 06 -->[test] Add documentation for visual regression tests (#29154) @eps1lon
211
+ - &#8203;<!-- 05 -->[test] Enable "missing act" warnings using new proposal (#29167) @eps1lon
212
+
213
+ All contributors of this release in alphabetical order: @adamfitzgibbon, @DanailH, @deepanshu2506, @Devesh21700Kumar, @eps1lon, @gnowland, @hbjORbj, @jatinsandilya, @JuliaNeumann, @LorenzHenk, @michal-perlakowski, @michaldudak, @mnajdova, @nikitabobers, @NMinhNguyen, @omarmosid, @rebeccahongsf, @siriwatknp, @waxidiotic
214
+
215
+ ## 5.0.4
216
+
217
+ <!-- generated comparing v5.0.3..master -->
218
+
219
+ _Oct 14, 2021_
220
+
221
+ A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
222
+
223
+ - 🧪 Added `UnstyledInput` and `useInput` hook in the the first component in @mui/core package @michaldudak (#28053)
224
+ - 🐛 Fixed many bugs and improved the documentation 📚.
225
+
226
+ ### `@mui/material@5.0.4`
227
+
228
+ - &#8203;<!-- 31 -->[Chip] disable ripple only if onDelete is present. (#29034) @mottox2
229
+ - &#8203;<!-- 06 -->[Pagination] Fix clicking on `...` triggering `onChange` with page value `null` (#28884) @ZeeshanTamboli
230
+ - &#8203;<!-- 04 -->[Tabs] Alternative way to disable ":first-child is unsafe" error (#28982) @hbjORbj
231
+ - &#8203;<!-- 03 -->[Tabs] Fix ":first-child is potentially unsafe" error (#28890) @hbjORbj
232
+ - &#8203;<!-- 01 -->[transitions] Mark `children` as required where nullish `children` would crash at runtime (#29028) @eps1lon
233
+
234
+ ### `@mui/system@5.0.4`
235
+
236
+ - &#8203;<!-- 05 -->[system] Update typing for `style` function (#28744) @hbjORbj
237
+
238
+ ### `@mui/core@5.0.0-alpha.51`
239
+
240
+ - &#8203;<!-- 07 -->[InputUnstyled] Create unstyled input and useInput hook (#28053) @michaldudak
241
+
242
+ ### `@mui/lab@5.0.0-alpha.51`
243
+
244
+ - &#8203;<!-- 25 -->[DesktopDatePicker] add Paper props to pass down to Paper component (#28865) @amen-souissi
245
+
246
+ ### Docs
247
+
248
+ - &#8203;<!-- 24 -->[docs] Add JSDoc to `theme.breakpoints` (#29039) @eps1lon
249
+ - &#8203;<!-- 23 -->[docs] Rename broken package names in docs pointing to `@mui/material` (#29006) @visualfanatic
250
+ - &#8203;<!-- 22 -->[docs] Add troubleshooting guide for unexpected styles (#28907) @mnajdova
251
+ - &#8203;<!-- 21 -->[docs] Fix issues reported by ahref (#28986) @mnajdova
252
+ - &#8203;<!-- 20 -->[docs] Remove json translations for dropped locales (#28987) @mnajdova
253
+ - &#8203;<!-- 19 -->[docs] Fix type signature of renderGroup in Autocomplete (#28876) @tanyabouman
254
+ - &#8203;<!-- 18 -->[docs] Minor typo in v4-v5 migration docs (#28995) @kgregory
255
+ - &#8203;<!-- 17 -->[docs] Add `mui-image` related project (#28621) @benmneb
256
+ - &#8203;<!-- 16 -->[docs] Update Getting Started Templates' Source URIs (#28929) @epodol
257
+ - &#8203;<!-- 15 -->[docs] Improve search experience (#28801) @siriwatknp
258
+ - &#8203;<!-- 14 -->[docs] Fix demo of the responsive drawer (#28226) @goncalovf
259
+ - &#8203;<!-- 13 -->[docs] Fix global theme link demo (#28974) @ZeeshanTamboli
260
+ - &#8203;<!-- 12 -->[docs] Update box example to use 'backgroundColor' rather than 'bgColor' (#28958) @Jareechang
261
+ - &#8203;<!-- 11 -->[docs] corrected `Box` import for `sx-prop` example (#28873) @phudekar
262
+ - &#8203;<!-- 10 -->[docs] Fix footnote ID links in CONTRIBUTING.md (#28849) @officialpiyush
263
+ - &#8203;<!-- 09 -->[docs] Fix color & density playground (#28803) @siriwatknp
264
+ - &#8203;<!-- 08 -->[docs] Improve visibility of styled engine configuration section in installation guide (#28903) @Jareechang
265
+
266
+ ### Core
267
+
268
+ - &#8203;<!-- 30 -->[core] Prevent yarn cache growing infinitely (#29040) @eps1lon
269
+ - &#8203;<!-- 29 -->[core] Update browserslist (#29025) @eps1lon
270
+ - &#8203;<!-- 28 -->[core] Update `peerDependencies` to require `latest` instead of `next` (#29007) @eps1lon
271
+ - &#8203;<!-- 27 -->[core] Increase memory limit for size:snapshot (#29005) @eps1lon
272
+ - &#8203;<!-- 26 -->[core] Init `private` Joy package (#28957) @siriwatknp
273
+ - &#8203;<!-- 02 -->[test] Remove a11y snapshot tests (#28887) @eps1lon
274
+
275
+ All contributors of this release in alphabetical order: @amen-souissi, @benmneb, @epodol, @eps1lon, @goncalovf, @hbjORbj, @Jareechang, @kgregory, @michaldudak, @mnajdova, @mottox2, @officialpiyush, @phudekar, @siriwatknp, @tanyabouman, @visualfanatic, @ZeeshanTamboli
276
+
3
277
  ## 5.0.3
4
278
 
5
279
  <!-- generated comparing v5.0.2..master -->
@@ -18,6 +18,11 @@ export interface CalendarPickerProps<TDate> extends ExportedCalendarProps<TDate>
18
18
  * Default calendar month displayed when `value={null}`.
19
19
  */
20
20
  defaultCalendarMonth?: TDate;
21
+ /**
22
+ * If `true`, the picker and text field are disabled.
23
+ * @default false
24
+ */
25
+ disabled?: boolean;
21
26
  /**
22
27
  * @default false
23
28
  */
@@ -51,6 +56,11 @@ export interface CalendarPickerProps<TDate> extends ExportedCalendarProps<TDate>
51
56
  * @default 'day'
52
57
  */
53
58
  openTo?: CalendarPickerView;
59
+ /**
60
+ * Make picker read only.
61
+ * @default false
62
+ */
63
+ readOnly?: boolean;
54
64
  /**
55
65
  * Disable heavy animations.
56
66
  * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
@@ -230,6 +230,12 @@ process.env.NODE_ENV !== "production" ? CalendarPicker.propTypes
230
230
  */
231
231
  defaultCalendarMonth: PropTypes.any,
232
232
 
233
+ /**
234
+ * If `true`, the picker and text field are disabled.
235
+ * @default false
236
+ */
237
+ disabled: PropTypes.bool,
238
+
233
239
  /**
234
240
  * @default false
235
241
  */
@@ -278,6 +284,12 @@ process.env.NODE_ENV !== "production" ? CalendarPicker.propTypes
278
284
  */
279
285
  openTo: PropTypes.oneOf(['day', 'month', 'year']),
280
286
 
287
+ /**
288
+ * Make picker read only.
289
+ * @default false
290
+ */
291
+ readOnly: PropTypes.bool,
292
+
281
293
  /**
282
294
  * Disable heavy animations.
283
295
  * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
@@ -29,11 +29,13 @@ export interface PickersCalendarProps<TDate> extends ExportedCalendarProps<TDate
29
29
  className?: string;
30
30
  currentMonth: TDate;
31
31
  date: TDate | [TDate | null, TDate | null] | null;
32
+ disabled?: boolean;
32
33
  focusedDay: TDate | null;
33
34
  isDateDisabled: (day: TDate) => boolean;
34
35
  isMonthSwitchingAnimating: boolean;
35
36
  onFocusedDayChange: (newFocusedDay: TDate) => void;
36
37
  onMonthSwitchingAnimationEnd: () => void;
38
+ readOnly?: boolean;
37
39
  reduceAnimations: boolean;
38
40
  slideDirection: SlideDirection;
39
41
  TransitionProps?: Partial<SlideTransitionProps>;
@@ -70,6 +70,7 @@ function PickersCalendar(props) {
70
70
  className,
71
71
  currentMonth,
72
72
  date,
73
+ disabled,
73
74
  disableHighlightToday,
74
75
  focusedDay,
75
76
  isDateDisabled,
@@ -77,6 +78,7 @@ function PickersCalendar(props) {
77
78
  loading,
78
79
  onChange,
79
80
  onMonthSwitchingAnimationEnd,
81
+ readOnly,
80
82
  reduceAnimations,
81
83
  renderDay,
82
84
  renderLoading = () => _span || (_span = /*#__PURE__*/_jsx("span", {
@@ -89,10 +91,14 @@ function PickersCalendar(props) {
89
91
  const now = useNow();
90
92
  const utils = useUtils();
91
93
  const handleDaySelect = React.useCallback((day, isFinish = 'finish') => {
92
- // TODO possibly buggy line figure out and add tests
94
+ if (readOnly) {
95
+ return;
96
+ } // TODO possibly buggy line figure out and add tests
97
+
98
+
93
99
  const finalDate = Array.isArray(date) ? day : utils.mergeDateAndTime(day, date || now);
94
100
  onChange(finalDate, isFinish);
95
- }, [date, now, onChange, utils]);
101
+ }, [date, now, onChange, readOnly, utils]);
96
102
  const currentMonthNumber = utils.getMonth(currentMonth);
97
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.
98
104
 
@@ -126,7 +132,7 @@ function PickersCalendar(props) {
126
132
  key: day == null ? void 0 : day.toString(),
127
133
  day,
128
134
  isAnimating: isMonthSwitchingAnimating,
129
- disabled: isDateDisabled(day),
135
+ disabled: disabled || isDateDisabled(day),
130
136
  allowSameDateSelection,
131
137
  autoFocus: autoFocus && focusedDay !== null && utils.isSameDay(day, focusedDay),
132
138
  today: utils.isSameDay(day, now),
@@ -25,6 +25,7 @@ export interface PickersCalendarHeaderProps<TDate> extends ExportedArrowSwitcher
25
25
  switchViewButton?: React.ComponentPropsWithRef<typeof IconButton> & PickersCalendarHeaderComponentsPropsOverides;
26
26
  };
27
27
  currentMonth: TDate;
28
+ disabled?: boolean;
28
29
  views: readonly CalendarPickerView[];
29
30
  /**
30
31
  * Get aria-label text for switching between views button.
@@ -74,6 +74,7 @@ function PickersCalendarHeader(props) {
74
74
  components = {},
75
75
  componentsProps = {},
76
76
  currentMonth: month,
77
+ disabled,
77
78
  disableFuture,
78
79
  disablePast,
79
80
  getViewSwitchingButtonText = getSwitchingViewAriaText,
@@ -95,16 +96,16 @@ function PickersCalendarHeader(props) {
95
96
  const selectPreviousMonth = () => onMonthChange(utils.getPreviousMonth(month), 'right');
96
97
 
97
98
  const isNextMonthDisabled = useNextMonthDisabled(month, {
98
- disableFuture,
99
+ disableFuture: disableFuture || disabled,
99
100
  maxDate
100
101
  });
101
102
  const isPreviousMonthDisabled = usePreviousMonthDisabled(month, {
102
- disablePast,
103
+ disablePast: disablePast || disabled,
103
104
  minDate
104
105
  });
105
106
 
106
107
  const handleToggleView = () => {
107
- if (views.length === 1 || !onViewChange) {
108
+ if (views.length === 1 || !onViewChange || disabled) {
108
109
  return;
109
110
  }
110
111
 
@@ -145,7 +146,7 @@ function PickersCalendarHeader(props) {
145
146
  ownerState: ownerState,
146
147
  children: utils.format(month, 'year')
147
148
  })
148
- }), views.length > 1 && /*#__PURE__*/_jsx(PickersCalendarHeaderSwitchViewButton, _extends({
149
+ }), views.length > 1 && !disabled && /*#__PURE__*/_jsx(PickersCalendarHeaderSwitchViewButton, _extends({
149
150
  size: "small",
150
151
  as: components.SwitchViewButton,
151
152
  "aria-label": getViewSwitchingButtonText(currentView)
@@ -9,10 +9,10 @@ const classes = generateUtilityClasses('PrivatePickersFadeTransitionGroup', ['ro
9
9
  const animationDuration = 500;
10
10
  const PickersFadeTransitionGroupRoot = styled(TransitionGroup, {
11
11
  skipSx: true
12
- })(() => ({
12
+ })({
13
13
  display: 'block',
14
14
  position: 'relative'
15
- }));
15
+ });
16
16
  /**
17
17
  * @ignore - do not document.
18
18
  */
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import { Theme } from '@mui/material/styles';
3
3
  import { SxProps } from '@mui/system';
4
4
  declare type HTMLDivProps = JSX.IntrinsicElements['div'];
@@ -19,6 +19,7 @@ export interface CalendarPickerSkeletonProps extends HTMLDivProps {
19
19
  * The system prop that allows defining system overrides as well as additional CSS styles.
20
20
  */
21
21
  sx?: SxProps<Theme>;
22
+ ref?: React.Ref<HTMLDivElement>;
22
23
  }
23
24
  export declare type CalendarPickerSkeletonClassKey = keyof CalendarPickerSkeletonClasses;
24
25
  export declare function getCalendarPickerSkeletonUtilityClass(slot: string): string;
@@ -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.object
147
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
148
148
  } : void 0;
149
149
  export default CalendarPickerSkeleton;
@@ -155,6 +155,7 @@ process.env.NODE_ENV !== "production" ? DatePicker.propTypes
155
155
 
156
156
  /**
157
157
  * If `true`, the picker and text field are disabled.
158
+ * @default false
158
159
  */
159
160
  disabled: PropTypes.bool,
160
161
 
@@ -334,6 +335,11 @@ process.env.NODE_ENV !== "production" ? DatePicker.propTypes
334
335
  */
335
336
  orientation: PropTypes.oneOf(['landscape', 'portrait']),
336
337
 
338
+ /**
339
+ * Paper props passed down to [Paper](https://mui.com/api/paper/) component.
340
+ */
341
+ PaperProps: PropTypes.object,
342
+
337
343
  /**
338
344
  * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
339
345
  */
@@ -341,6 +347,7 @@ process.env.NODE_ENV !== "production" ? DatePicker.propTypes
341
347
 
342
348
  /**
343
349
  * Make picker read only.
350
+ * @default false
344
351
  */
345
352
  readOnly: PropTypes.bool,
346
353
 
@@ -209,6 +209,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes
209
209
 
210
210
  /**
211
211
  * If `true`, the picker and text field are disabled.
212
+ * @default false
212
213
  */
213
214
  disabled: PropTypes.bool,
214
215
 
@@ -387,6 +388,11 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes
387
388
  */
388
389
  orientation: PropTypes.oneOf(['landscape', 'portrait']),
389
390
 
391
+ /**
392
+ * Paper props passed down to [Paper](https://mui.com/api/paper/) component.
393
+ */
394
+ PaperProps: PropTypes.object,
395
+
390
396
  /**
391
397
  * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
392
398
  */
@@ -394,6 +400,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes
394
400
 
395
401
  /**
396
402
  * Make picker read only.
403
+ * @default false
397
404
  */
398
405
  readOnly: PropTypes.bool,
399
406
 
@@ -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.object
231
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
232
232
  } : void 0;
233
233
  /**
234
234
  *
@@ -172,6 +172,7 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
172
172
 
173
173
  /**
174
174
  * If `true`, the picker and text field are disabled.
175
+ * @default false
175
176
  */
176
177
  disabled: PropTypes.bool,
177
178
 
@@ -403,6 +404,11 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
403
404
  */
404
405
  orientation: PropTypes.oneOf(['landscape', 'portrait']),
405
406
 
407
+ /**
408
+ * Paper props passed down to [Paper](https://mui.com/api/paper/) component.
409
+ */
410
+ PaperProps: PropTypes.object,
411
+
406
412
  /**
407
413
  * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
408
414
  */
@@ -410,6 +416,7 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
410
416
 
411
417
  /**
412
418
  * Make picker read only.
419
+ * @default false
413
420
  */
414
421
  readOnly: PropTypes.bool,
415
422
 
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
- const _excluded = ["onChange", "PopperProps", "ToolbarComponent", "TransitionComponent", "value"];
3
+ const _excluded = ["onChange", "PopperProps", "PaperProps", "ToolbarComponent", "TransitionComponent", "value"];
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { useDatePickerDefaultizedProps } from '../DatePicker/shared';
@@ -40,6 +40,7 @@ const DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DesktopDatePick
40
40
 
41
41
  const {
42
42
  PopperProps,
43
+ PaperProps,
43
44
  ToolbarComponent = DatePickerToolbar,
44
45
  TransitionComponent
45
46
  } = props,
@@ -54,6 +55,7 @@ const DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DesktopDatePick
54
55
  DateInputProps: AllDateInputProps,
55
56
  KeyboardDateInputComponent: KeyboardDateInput,
56
57
  PopperProps: PopperProps,
58
+ PaperProps: PaperProps,
57
59
  TransitionComponent: TransitionComponent,
58
60
  children: /*#__PURE__*/_jsx(Picker, _extends({}, pickerProps, {
59
61
  autoFocus: true,
@@ -132,6 +134,7 @@ process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes
132
134
 
133
135
  /**
134
136
  * If `true`, the picker and text field are disabled.
137
+ * @default false
135
138
  */
136
139
  disabled: PropTypes.bool,
137
140
 
@@ -305,6 +308,11 @@ process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes
305
308
  */
306
309
  orientation: PropTypes.oneOf(['landscape', 'portrait']),
307
310
 
311
+ /**
312
+ * Paper props passed down to [Paper](https://mui.com/api/paper/) component.
313
+ */
314
+ PaperProps: PropTypes.object,
315
+
308
316
  /**
309
317
  * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
310
318
  */
@@ -312,6 +320,7 @@ process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes
312
320
 
313
321
  /**
314
322
  * Make picker read only.
323
+ * @default false
315
324
  */
316
325
  readOnly: PropTypes.bool,
317
326
 
@@ -181,6 +181,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes
181
181
 
182
182
  /**
183
183
  * If `true`, the picker and text field are disabled.
184
+ * @default false
184
185
  */
185
186
  disabled: PropTypes.bool,
186
187
 
@@ -353,6 +354,11 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes
353
354
  */
354
355
  orientation: PropTypes.oneOf(['landscape', 'portrait']),
355
356
 
357
+ /**
358
+ * Paper props passed down to [Paper](https://mui.com/api/paper/) component.
359
+ */
360
+ PaperProps: PropTypes.object,
361
+
356
362
  /**
357
363
  * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
358
364
  */
@@ -360,6 +366,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes
360
366
 
361
367
  /**
362
368
  * Make picker read only.
369
+ * @default false
363
370
  */
364
371
  readOnly: PropTypes.bool,
365
372