@mui/lab 5.0.0-alpha.63 → 5.0.0-alpha.64

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 (197) hide show
  1. package/AdapterDateFns/index.d.ts +1 -1
  2. package/AdapterDayjs/index.d.ts +1 -1
  3. package/AdapterLuxon/index.d.ts +1 -1
  4. package/AdapterMoment/index.d.ts +1 -1
  5. package/CHANGELOG.md +75 -32
  6. package/CalendarPicker/CalendarPicker.d.ts +106 -106
  7. package/CalendarPicker/PickersCalendar.d.ts +47 -47
  8. package/CalendarPicker/PickersCalendarHeader.d.ts +43 -43
  9. package/CalendarPicker/PickersFadeTransitionGroup.d.ts +12 -12
  10. package/CalendarPicker/PickersSlideTransition.d.ts +16 -16
  11. package/CalendarPicker/index.d.ts +5 -5
  12. package/CalendarPicker/shared.d.ts +1 -1
  13. package/CalendarPicker/useCalendarState.d.ts +32 -32
  14. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +41 -41
  15. package/CalendarPickerSkeleton/index.d.ts +3 -3
  16. package/ClockPicker/Clock.d.ts +28 -28
  17. package/ClockPicker/ClockNumber.d.ts +19 -19
  18. package/ClockPicker/ClockNumbers.d.ts +24 -24
  19. package/ClockPicker/ClockPicker.d.ts +121 -121
  20. package/ClockPicker/ClockPicker.js +4 -1
  21. package/ClockPicker/ClockPickerStandalone.d.ts +28 -28
  22. package/ClockPicker/ClockPointer.d.ts +23 -23
  23. package/ClockPicker/index.d.ts +5 -5
  24. package/ClockPicker/shared.d.ts +5 -5
  25. package/DatePicker/DatePicker.d.ts +27 -27
  26. package/DatePicker/DatePicker.js +5 -1
  27. package/DatePicker/DatePickerToolbar.d.ts +23 -23
  28. package/DatePicker/index.d.ts +2 -2
  29. package/DatePicker/shared.d.ts +45 -45
  30. package/DateRangePicker/DateRangePicker.d.ts +65 -65
  31. package/DateRangePicker/DateRangePicker.js +5 -1
  32. package/DateRangePicker/DateRangePickerInput.d.ts +35 -35
  33. package/DateRangePicker/DateRangePickerToolbar.d.ts +15 -15
  34. package/DateRangePicker/DateRangePickerView.d.ts +44 -44
  35. package/DateRangePicker/DateRangePickerViewDesktop.d.ts +29 -29
  36. package/DateRangePicker/DateRangePickerViewMobile.d.ts +17 -17
  37. package/DateRangePicker/RangeTypes.d.ts +8 -8
  38. package/DateRangePicker/date-range-manager.d.ts +14 -14
  39. package/DateRangePicker/index.d.ts +3 -3
  40. package/DateRangePickerDay/DateRangePickerDay.d.ts +79 -79
  41. package/DateRangePickerDay/index.d.ts +2 -2
  42. package/DateTimePicker/DateTimePicker.d.ts +27 -27
  43. package/DateTimePicker/DateTimePicker.js +5 -1
  44. package/DateTimePicker/DateTimePickerTabs.d.ts +13 -13
  45. package/DateTimePicker/DateTimePickerToolbar.d.ts +7 -7
  46. package/DateTimePicker/index.d.ts +2 -2
  47. package/DateTimePicker/shared.d.ts +67 -67
  48. package/DesktopDatePicker/DesktopDatePicker.d.ts +20 -20
  49. package/DesktopDatePicker/DesktopDatePicker.js +5 -1
  50. package/DesktopDatePicker/index.d.ts +2 -2
  51. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +64 -64
  52. package/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -1
  53. package/DesktopDateRangePicker/index.d.ts +2 -2
  54. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +20 -20
  55. package/DesktopDateTimePicker/DesktopDateTimePicker.js +5 -1
  56. package/DesktopDateTimePicker/index.d.ts +2 -2
  57. package/DesktopTimePicker/DesktopTimePicker.d.ts +20 -20
  58. package/DesktopTimePicker/index.d.ts +2 -2
  59. package/LoadingButton/loadingButtonClasses.d.ts +22 -22
  60. package/LocalizationProvider/LocalizationProvider.d.ts +35 -35
  61. package/LocalizationProvider/index.d.ts +2 -2
  62. package/Masonry/masonryClasses.d.ts +8 -8
  63. package/MobileDatePicker/MobileDatePicker.d.ts +20 -20
  64. package/MobileDatePicker/MobileDatePicker.js +5 -1
  65. package/MobileDatePicker/index.d.ts +2 -2
  66. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +64 -64
  67. package/MobileDateRangePicker/MobileDateRangePicker.js +5 -1
  68. package/MobileDateRangePicker/index.d.ts +2 -2
  69. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +20 -20
  70. package/MobileDateTimePicker/MobileDateTimePicker.js +5 -1
  71. package/MobileDateTimePicker/index.d.ts +2 -2
  72. package/MobileTimePicker/MobileTimePicker.d.ts +20 -20
  73. package/MobileTimePicker/index.d.ts +2 -2
  74. package/MonthPicker/MonthPicker.d.ts +53 -53
  75. package/MonthPicker/PickersMonth.d.ts +15 -15
  76. package/MonthPicker/index.d.ts +3 -3
  77. package/PickersDay/PickersDay.d.ts +93 -93
  78. package/PickersDay/index.d.ts +4 -4
  79. package/StaticDatePicker/StaticDatePicker.d.ts +25 -25
  80. package/StaticDatePicker/StaticDatePicker.js +5 -1
  81. package/StaticDatePicker/index.d.ts +2 -2
  82. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +67 -67
  83. package/StaticDateRangePicker/StaticDateRangePicker.js +5 -1
  84. package/StaticDateRangePicker/index.d.ts +2 -2
  85. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +25 -25
  86. package/StaticDateTimePicker/StaticDateTimePicker.js +5 -1
  87. package/StaticDateTimePicker/index.d.ts +2 -2
  88. package/StaticTimePicker/StaticTimePicker.d.ts +25 -25
  89. package/StaticTimePicker/index.d.ts +2 -2
  90. package/TabPanel/tabPanelClasses.d.ts +8 -8
  91. package/TimePicker/TimePicker.d.ts +27 -27
  92. package/TimePicker/TimePickerToolbar.d.ts +23 -23
  93. package/TimePicker/index.d.ts +2 -2
  94. package/TimePicker/shared.d.ts +36 -36
  95. package/Timeline/Timeline.d.ts +59 -59
  96. package/Timeline/TimelineContext.d.ts +6 -6
  97. package/Timeline/index.d.ts +5 -5
  98. package/Timeline/timelineClasses.d.ts +3 -3
  99. package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
  100. package/TimelineContent/timelineContentClasses.d.ts +14 -14
  101. package/TimelineDot/timelineDotClasses.d.ts +24 -24
  102. package/TimelineItem/timelineItemClasses.d.ts +16 -16
  103. package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
  104. package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
  105. package/TreeItem/treeItemClasses.d.ts +24 -24
  106. package/TreeView/treeViewClasses.d.ts +8 -8
  107. package/YearPicker/PickersYear.d.ts +28 -28
  108. package/YearPicker/YearPicker.d.ts +44 -44
  109. package/YearPicker/index.d.ts +5 -5
  110. package/YearPicker/yearPickerClasses.d.ts +3 -3
  111. package/index.js +1 -1
  112. package/internal/pickers/KeyboardDateInput.d.ts +4 -4
  113. package/internal/pickers/Picker/Picker.d.ts +33 -33
  114. package/internal/pickers/Picker/PickerView.d.ts +3 -3
  115. package/internal/pickers/PickersArrowSwitcher.d.ts +41 -41
  116. package/internal/pickers/PickersModalDialog.d.ts +47 -47
  117. package/internal/pickers/PickersPopper.d.ts +33 -33
  118. package/internal/pickers/PickersToolbar.d.ts +14 -14
  119. package/internal/pickers/PickersToolbarButton.d.ts +13 -13
  120. package/internal/pickers/PickersToolbarText.d.ts +8 -8
  121. package/internal/pickers/PureDateInput.d.ts +80 -80
  122. package/internal/pickers/constants/dimensions.d.ts +4 -4
  123. package/internal/pickers/constants/prop-types.d.ts +1 -1
  124. package/internal/pickers/date-time-utils.d.ts +8 -8
  125. package/internal/pickers/date-utils.d.ts +52 -52
  126. package/internal/pickers/hooks/date-helpers-hooks.d.ts +16 -16
  127. package/internal/pickers/hooks/useIsLandscape.d.ts +4 -4
  128. package/internal/pickers/hooks/useMaskedInput.d.ts +7 -7
  129. package/internal/pickers/hooks/useOpenState.d.ts +10 -10
  130. package/internal/pickers/hooks/usePickerState.d.ts +38 -38
  131. package/internal/pickers/hooks/useUtils.d.ts +7 -7
  132. package/internal/pickers/hooks/useValidation.d.ts +23 -23
  133. package/internal/pickers/hooks/useViews.d.ts +19 -19
  134. package/internal/pickers/text-field-helper.d.ts +11 -11
  135. package/internal/pickers/time-utils.d.ts +33 -33
  136. package/internal/pickers/typings/BasePicker.d.ts +95 -95
  137. package/internal/pickers/typings/Views.d.ts +1 -1
  138. package/internal/pickers/typings/helpers.d.ts +9 -9
  139. package/internal/pickers/utils.d.ts +7 -7
  140. package/internal/pickers/wrappers/DesktopTooltipWrapper.d.ts +4 -4
  141. package/internal/pickers/wrappers/DesktopWrapper.d.ts +16 -16
  142. package/internal/pickers/wrappers/MobileWrapper.d.ts +14 -14
  143. package/internal/pickers/wrappers/PickerStaticWrapper.d.ts +21 -21
  144. package/internal/pickers/wrappers/ResponsiveWrapper.d.ts +23 -23
  145. package/internal/pickers/wrappers/WrapperProps.d.ts +13 -13
  146. package/internal/pickers/wrappers/WrapperVariantContext.d.ts +11 -11
  147. package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
  148. package/internal/svg-icons/ArrowLeft.d.ts +7 -7
  149. package/internal/svg-icons/ArrowRight.d.ts +7 -7
  150. package/internal/svg-icons/Calendar.d.ts +7 -7
  151. package/internal/svg-icons/Clock.d.ts +7 -7
  152. package/internal/svg-icons/DateRange.d.ts +7 -7
  153. package/internal/svg-icons/Pen.d.ts +7 -7
  154. package/internal/svg-icons/Time.d.ts +7 -7
  155. package/legacy/ClockPicker/ClockPicker.js +4 -1
  156. package/legacy/DatePicker/DatePicker.js +5 -1
  157. package/legacy/DateRangePicker/DateRangePicker.js +5 -1
  158. package/legacy/DateTimePicker/DateTimePicker.js +5 -1
  159. package/legacy/DesktopDatePicker/DesktopDatePicker.js +5 -1
  160. package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -1
  161. package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +5 -1
  162. package/legacy/MobileDatePicker/MobileDatePicker.js +5 -1
  163. package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +5 -1
  164. package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +5 -1
  165. package/legacy/StaticDatePicker/StaticDatePicker.js +5 -1
  166. package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +5 -1
  167. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +5 -1
  168. package/legacy/index.js +1 -1
  169. package/modern/ClockPicker/ClockPicker.js +4 -1
  170. package/modern/DatePicker/DatePicker.js +5 -1
  171. package/modern/DateRangePicker/DateRangePicker.js +5 -1
  172. package/modern/DateTimePicker/DateTimePicker.js +5 -1
  173. package/modern/DesktopDatePicker/DesktopDatePicker.js +5 -1
  174. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -1
  175. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +5 -1
  176. package/modern/MobileDatePicker/MobileDatePicker.js +5 -1
  177. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +5 -1
  178. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +5 -1
  179. package/modern/StaticDatePicker/StaticDatePicker.js +5 -1
  180. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +5 -1
  181. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +5 -1
  182. package/modern/index.js +1 -1
  183. package/node/ClockPicker/ClockPicker.js +4 -1
  184. package/node/DatePicker/DatePicker.js +5 -1
  185. package/node/DateRangePicker/DateRangePicker.js +5 -1
  186. package/node/DateTimePicker/DateTimePicker.js +5 -1
  187. package/node/DesktopDatePicker/DesktopDatePicker.js +5 -1
  188. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -1
  189. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +5 -1
  190. package/node/MobileDatePicker/MobileDatePicker.js +5 -1
  191. package/node/MobileDateRangePicker/MobileDateRangePicker.js +5 -1
  192. package/node/MobileDateTimePicker/MobileDateTimePicker.js +5 -1
  193. package/node/StaticDatePicker/StaticDatePicker.js +5 -1
  194. package/node/StaticDateRangePicker/StaticDateRangePicker.js +5 -1
  195. package/node/StaticDateTimePicker/StaticDateTimePicker.js +5 -1
  196. package/node/index.js +1 -1
  197. package/package.json +3 -3
@@ -1 +1 @@
1
- export { default } from '@date-io/date-fns';
1
+ export { default } from '@date-io/date-fns';
@@ -1 +1 @@
1
- export { default } from '@date-io/dayjs';
1
+ export { default } from '@date-io/dayjs';
@@ -1 +1 @@
1
- export { default } from '@date-io/luxon';
1
+ export { default } from '@date-io/luxon';
@@ -1 +1 @@
1
- export { default } from '@date-io/moment';
1
+ export { default } from '@date-io/moment';
package/CHANGELOG.md CHANGED
@@ -1,4 +1,43 @@
1
- ### [Versions](https://mui.com/versions/)
1
+ # [Versions](https://mui.com/versions/)
2
+
3
+ ## 5.2.8
4
+
5
+ <!-- generated comparing v5.2.7..master -->
6
+
7
+ _Jan 10, 2022_
8
+
9
+ A big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - A meaningful number of 🐛 bug fixes and 📚 documentation improvements.
12
+
13
+ ### `@mui/material@5.2.8`
14
+
15
+ - &#8203;<!-- 05 -->[TextField][inputlabel] Remove `pointer-events: none` property (#30493) @hbjORbj
16
+ - &#8203;<!-- 02 -->[Slider] Add `input` slot to components and componentsProps (#30362) @alexandre-lelain
17
+
18
+ ### `@mui/joy@5.0.0-alpha.10`
19
+
20
+ - &#8203;<!-- 04 -->[Joy] Add `Typography` component (#30489) @siriwatknp
21
+ - &#8203;<!-- 03 -->[Joy] Add functional `Switch` component (#30487) @siriwatknp
22
+
23
+ ### Docs
24
+
25
+ - &#8203;<!-- 18 -->[docs] Update markdown parser to remove backticks from description (#30495) @aefox
26
+ - &#8203;<!-- 17 -->[docs] Fix the crash when applying custom colors (#30563) @siriwatknp
27
+ - &#8203;<!-- 16 -->[docs] Location change of Sebastian (#30528) @eps1lon
28
+ - &#8203;<!-- 15 -->[docs] Lint markdown in the CI (#30395) @oliviertassinari
29
+ - &#8203;<!-- 14 -->[docs] Fix `componentsProps` API docs and PropTypes (#30502) @ZeeshanTamboli
30
+ - &#8203;<!-- 13 -->[docs] Codemod doc for overriding styles using tss (#30499) @garronej
31
+ - &#8203;<!-- 12 -->[docs] fix edge case when replacing data-grid url for migration (#30505) @siriwatknp
32
+ - &#8203;<!-- 11 -->[docs] fix replace url for migration (#30503) @siriwatknp
33
+ - &#8203;<!-- 10 -->[docs] Prepare scripts for migrating to new structure (#30386) @siriwatknp
34
+ - &#8203;<!-- 09 -->[docs] Adjust RTL Guide demos to fully support RTL (#30387) @noam-honig
35
+ - &#8203;<!-- 08 -->[docs] Move @eps1lon to community (#30473) @oliviertassinari
36
+ - &#8203;<!-- 07 -->[docs] Fix typo and spelling in the-sx-prop.md (#30482) @aefox
37
+ - &#8203;<!-- 06 -->[docs] More general docs polishing (#30371) @danilo-leal
38
+ - &#8203;<!-- 01 -->[website] Add José on the /about page (#30492) @danilo-leal
39
+
40
+ All contributors of this release in alphabetical order: @aefox, @alexandre-lelain, @danilo-leal, @eps1lon, @garronej, @hbjORbj, @noam-honig, @oliviertassinari, @siriwatknp, @ZeeshanTamboli
2
41
 
3
42
  ## 5.2.7
4
43
 
@@ -1225,7 +1264,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
1225
1264
 
1226
1265
  replace `@material-ui/*` prefix with `@mui/*`:
1227
1266
 
1228
- ```
1267
+ ```sh
1229
1268
  @material-ui/system -> @mui/system
1230
1269
  @material-ui/styles -> @mui/styles
1231
1270
  @material-ui/lab -> @mui/lab
@@ -1238,7 +1277,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
1238
1277
 
1239
1278
  except these 3 packages that are renamed.
1240
1279
 
1241
- ```
1280
+ ```sh
1242
1281
  @material-ui/core => @mui/material // represents Material Design components.
1243
1282
  @material-ui/icons => @mui/icons-material // represents Material Design icons.
1244
1283
  @material-ui/unstyled => @mui/base // fully functional components with minimum styles.
@@ -2611,6 +2650,7 @@ A big thanks to the 16 contributors who made this release possible. Here are som
2611
2650
  ```
2612
2651
 
2613
2652
  - &#8203;<!-- 63 -->[Autocomplete] Rename getOptionSelected to isOptionEqualToValue (#26173) @m4theushw
2653
+
2614
2654
  ```diff
2615
2655
  <Autocomplete
2616
2656
  - getOptionSelected={(option, value) => option.title === value.title}
@@ -4184,7 +4224,7 @@ All contributors of this release in alphabetical order: @artola, @CyanoFresh, @d
4184
4224
 
4185
4225
  ## 5.0.0-alpha.23
4186
4226
 
4187
- ###### _Jan 14, 2021_
4227
+ _Jan 14, 2021_
4188
4228
 
4189
4229
  A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
4190
4230
 
@@ -4299,7 +4339,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
4299
4339
 
4300
4340
  ## 5.0.0-alpha.22
4301
4341
 
4302
- ###### _Jan 4, 2021_
4342
+ _Jan 4, 2021_
4303
4343
 
4304
4344
  A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
4305
4345
 
@@ -4351,7 +4391,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
4351
4391
 
4352
4392
  ## 5.0.0-alpha.21
4353
4393
 
4354
- ###### _Dec 30, 2020_
4394
+ _Dec 30, 2020_
4355
4395
 
4356
4396
  A big thanks to the 14 contributors who made this release possible. Here are some highlights ✨:
4357
4397
 
@@ -4424,7 +4464,7 @@ A big thanks to the 14 contributors who made this release possible. Here are som
4424
4464
 
4425
4465
  ## 5.0.0-alpha.20
4426
4466
 
4427
- ###### _Dec 21, 2020_
4467
+ _Dec 21, 2020_
4428
4468
 
4429
4469
  A big thanks to the 13 contributors who made this release possible. Here are some highlights ✨:
4430
4470
 
@@ -4502,7 +4542,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
4502
4542
 
4503
4543
  ## 5.0.0-alpha.19
4504
4544
 
4505
- ###### _Dec 13, 2020_
4545
+ _Dec 13, 2020_
4506
4546
 
4507
4547
  A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
4508
4548
 
@@ -4630,7 +4670,7 @@ A big thanks to the 24 contributors who made this release possible. Here are som
4630
4670
 
4631
4671
  ## 5.0.0-alpha.18
4632
4672
 
4633
- ###### _Dec 3, 2020_
4673
+ _Dec 3, 2020_
4634
4674
 
4635
4675
  A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
4636
4676
 
@@ -4722,7 +4762,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
4722
4762
 
4723
4763
  ## 5.0.0-alpha.17
4724
4764
 
4725
- ###### _Nov 23, 2020_
4765
+ _Nov 23, 2020_
4726
4766
 
4727
4767
  A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
4728
4768
 
@@ -4889,7 +4929,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
4889
4929
 
4890
4930
  ## 5.0.0-alpha.16
4891
4931
 
4892
- ###### _Nov 14, 2020_
4932
+ _Nov 14, 2020_
4893
4933
 
4894
4934
  A big thanks to the 34 contributors who made this release possible. Here are some highlights ✨:
4895
4935
 
@@ -4993,7 +5033,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
4993
5033
 
4994
5034
  ## 5.0.0-alpha.15
4995
5035
 
4996
- ###### _Nov 4, 2020_
5036
+ _Nov 4, 2020_
4997
5037
 
4998
5038
  A big thanks to the 20 contributors who made this release possible. Here are some highlights ✨:
4999
5039
 
@@ -5105,7 +5145,7 @@ A big thanks to the 20 contributors who made this release possible. Here are som
5105
5145
 
5106
5146
  ## 5.0.0-alpha.14
5107
5147
 
5108
- ###### _Oct 23, 2020_
5148
+ _Oct 23, 2020_
5109
5149
 
5110
5150
  A big thanks to the 23 contributors who made this release possible.
5111
5151
  Here are some highlights ✨:
@@ -5156,12 +5196,14 @@ Here are some highlights ✨:
5156
5196
  You can read [their migration guide](https://popper.js.org/docs/v2/migration-guide/) or the following summary:
5157
5197
 
5158
5198
  - The CSS prefixes have changed:
5199
+
5159
5200
  ```diff
5160
5201
  popper: {
5161
5202
  zIndex: 1,
5162
5203
  - '&[x-placement*="bottom"] $arrow': {
5163
5204
  + '&[data-popper-placement*="bottom"] $arrow': {
5164
5205
  ```
5206
+
5165
5207
  - Method names have changed.
5166
5208
 
5167
5209
  ```diff
@@ -5276,7 +5318,7 @@ Here are some highlights ✨:
5276
5318
 
5277
5319
  ## 5.0.0-alpha.13
5278
5320
 
5279
- ###### _Oct 17, 2020_
5321
+ _Oct 17, 2020_
5280
5322
 
5281
5323
  A big thanks to the 25 contributors who made this release possible.
5282
5324
  Here are some highlights ✨:
@@ -5402,7 +5444,7 @@ Here are some highlights ✨:
5402
5444
 
5403
5445
  ## 5.0.0-alpha.12
5404
5446
 
5405
- ###### _Oct 11, 2020_
5447
+ _Oct 11, 2020_
5406
5448
 
5407
5449
  A big thanks to the 45 contributors who made this release possible.
5408
5450
  Here are some highlights ✨:
@@ -5626,7 +5668,7 @@ Here are some highlights ✨:
5626
5668
 
5627
5669
  ## 5.0.0-alpha.11
5628
5670
 
5629
- ###### _Sep 26, 2020_
5671
+ _Sep 26, 2020_
5630
5672
 
5631
5673
  A big thanks to the 29 contributors who made this release possible.
5632
5674
  Here are some highlights ✨:
@@ -5860,7 +5902,7 @@ More documentation are coming.
5860
5902
 
5861
5903
  ## 5.0.0-alpha.10
5862
5904
 
5863
- ###### _Sep 15, 2020_
5905
+ _Sep 15, 2020_
5864
5906
 
5865
5907
  A big thanks to the 16 contributors who made this release possible.
5866
5908
  Here are some highlights ✨:
@@ -5925,13 +5967,13 @@ Here are some highlights ✨:
5925
5967
 
5926
5968
  Before:
5927
5969
 
5928
- ```
5970
+ ```sh
5929
5971
  theme.spacing(2) => 16
5930
5972
  ```
5931
5973
 
5932
5974
  After:
5933
5975
 
5934
- ```
5976
+ ```sh
5935
5977
  theme.spacing(2) => '16px'
5936
5978
  ```
5937
5979
 
@@ -5990,7 +6032,7 @@ Here are some highlights ✨:
5990
6032
 
5991
6033
  ## 5.0.0-alpha.9
5992
6034
 
5993
- ###### _Sep 6, 2020_
6035
+ _Sep 6, 2020_
5994
6036
 
5995
6037
  A big thanks to the 14 contributors who made this release possible.
5996
6038
  Here are some highlights ✨:
@@ -6043,7 +6085,7 @@ Here are some highlights ✨:
6043
6085
 
6044
6086
  ## 5.0.0-alpha.8
6045
6087
 
6046
- ###### _Aug 31, 2020_
6088
+ _Aug 31, 2020_
6047
6089
 
6048
6090
  A big thanks to the 19 contributors who made this release possible.
6049
6091
  Here are some highlights ✨:
@@ -6219,7 +6261,7 @@ const theme = createMuiTheme({
6219
6261
 
6220
6262
  ## 5.0.0-alpha.7
6221
6263
 
6222
- ###### _Aug 22, 2020_
6264
+ _Aug 22, 2020_
6223
6265
 
6224
6266
  A big thanks to the 22 contributors who made this release possible.
6225
6267
  Here are some highlights ✨:
@@ -6349,7 +6391,7 @@ Here are some highlights ✨:
6349
6391
 
6350
6392
  ## 5.0.0-alpha.6
6351
6393
 
6352
- ###### _Aug 13, 2020_
6394
+ _Aug 13, 2020_
6353
6395
 
6354
6396
  A big thanks to the 26 contributors who made this release possible.
6355
6397
  Here are some highlights ✨:
@@ -6392,7 +6434,7 @@ Here are some highlights ✨:
6392
6434
 
6393
6435
  ### `@material-ui/core@v5.0.0-alpha.6`
6394
6436
 
6395
- ### Breaking changes
6437
+ #### Breaking changes
6396
6438
 
6397
6439
  - [Avatar] Rename variant circle -> circular for consistency (#22015) @kodai3
6398
6440
  Rename `circle` to `circular` for consistency. The possible values should be adjectives, not nouns:
@@ -6551,7 +6593,7 @@ Here are some highlights ✨:
6551
6593
  +},
6552
6594
  ```
6553
6595
 
6554
- ### Changes
6596
+ #### Changes
6555
6597
 
6556
6598
  - [Avatar] Custom variant (#22139) @mnajdova
6557
6599
  - [Badge] Add missing class key (#22095) @kodai3
@@ -6571,7 +6613,7 @@ Here are some highlights ✨:
6571
6613
 
6572
6614
  ### `@material-ui/lab@v5.0.0-alpha.6`
6573
6615
 
6574
- ### Breaking changes
6616
+ #### Breaking changes
6575
6617
 
6576
6618
  - [Skeleton] Rename variant circle -> circular and rect -> rectangular for consistency (#22053) @kodai3
6577
6619
  Rename `circle` to `circular` and `rect` to `rectangular` for consistency. The possible values should be adjectives, not nouns:
@@ -6583,7 +6625,7 @@ Here are some highlights ✨:
6583
6625
  +<Skeleton variant="rectangular">
6584
6626
  ```
6585
6627
 
6586
- ### Changes
6628
+ #### Changes
6587
6629
 
6588
6630
  - [Autocomplete] Add support for "{label: string}" data type as a default for "options" (#21992) @DanailH
6589
6631
  - [TreeView] Add disabled prop (#20133) @netochaves
@@ -6635,7 +6677,7 @@ Here are some highlights ✨:
6635
6677
 
6636
6678
  ## 5.0.0-alpha.5
6637
6679
 
6638
- ###### _July 28, 2020_
6680
+ _July 28, 2020_
6639
6681
 
6640
6682
  A big thanks to the 18 contributors who made this release possible.
6641
6683
 
@@ -6706,7 +6748,7 @@ A big thanks to the 18 contributors who made this release possible.
6706
6748
 
6707
6749
  ## 5.0.0-alpha.4
6708
6750
 
6709
- ###### _July 19, 2020_
6751
+ _July 19, 2020_
6710
6752
 
6711
6753
  A big thanks to the 11 contributors who made this release possible.
6712
6754
 
@@ -6748,7 +6790,7 @@ A big thanks to the 11 contributors who made this release possible.
6748
6790
 
6749
6791
  ## 5.0.0-alpha.3
6750
6792
 
6751
- ###### _July 12, 2020_
6793
+ _July 12, 2020_
6752
6794
 
6753
6795
  A big thanks to the 14 contributors who made this release possible.
6754
6796
 
@@ -6797,7 +6839,7 @@ A big thanks to the 14 contributors who made this release possible.
6797
6839
 
6798
6840
  ## 5.0.0-alpha.2
6799
6841
 
6800
- ###### _July 4, 2020_
6842
+ _July 4, 2020_
6801
6843
 
6802
6844
  A big thanks to the 16 contributors who made this release possible.
6803
6845
 
@@ -6859,7 +6901,7 @@ A big thanks to the 16 contributors who made this release possible.
6859
6901
 
6860
6902
  ## 5.0.0-alpha.1
6861
6903
 
6862
- ###### _June 27, 2020_
6904
+ _June 27, 2020_
6863
6905
 
6864
6906
  A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
6865
6907
 
@@ -6975,6 +7017,7 @@ A big thanks to the 33 contributors who made this release possible. Here are som
6975
7017
  ```
6976
7018
 
6977
7019
  - [Accordion] typescript: The `event` in `onChange` is no longer typed as a `React.ChangeEvent` but `React.SyntheticEvent`.
7020
+
6978
7021
  ```diff
6979
7022
  -<Accordion onChange={(event: React.ChangeEvent<{}>, expanded: boolean) => {}} />
6980
7023
  +<Accordion onChange={(event: React.SyntheticEvent, expanded: boolean) => {}} />
@@ -1,106 +1,106 @@
1
- import * as React from 'react';
2
- import { ExportedCalendarProps } from './PickersCalendar';
3
- import { PickerOnChangeFn } from '../internal/pickers/hooks/useViews';
4
- import { ExportedCalendarHeaderProps } from './PickersCalendarHeader';
5
- import { ExportedYearPickerProps } from '../YearPicker/YearPicker';
6
- import { CalendarPickerView } from './shared';
7
- export interface CalendarPickerClasses {
8
- /** Styles applied to the root element. */
9
- root: string;
10
- /** Styles applied to the transition group element. */
11
- viewTransitionContainer: string;
12
- }
13
- export declare type CalendarPickerClassKey = keyof CalendarPickerClasses;
14
- export interface CalendarPickerProps<TDate> extends ExportedCalendarProps<TDate>, ExportedYearPickerProps<TDate>, ExportedCalendarHeaderProps<TDate> {
15
- className?: string;
16
- date: TDate | null;
17
- /**
18
- * Default calendar month displayed when `value={null}`.
19
- */
20
- defaultCalendarMonth?: TDate;
21
- /**
22
- * If `true`, the picker and text field are disabled.
23
- * @default false
24
- */
25
- disabled?: boolean;
26
- /**
27
- * @default false
28
- */
29
- disableFuture?: boolean;
30
- /**
31
- * @default false
32
- */
33
- disablePast?: boolean;
34
- /**
35
- * Max selectable date. @DateIOType
36
- */
37
- maxDate?: TDate;
38
- /**
39
- * Min selectable date. @DateIOType
40
- */
41
- minDate?: TDate;
42
- /**
43
- * Callback fired on view change.
44
- */
45
- onViewChange?: (view: CalendarPickerView) => void;
46
- /**
47
- * Callback fired on date change
48
- */
49
- onChange: PickerOnChangeFn<TDate>;
50
- /**
51
- * Callback firing on month change. @DateIOType
52
- */
53
- onMonthChange?: (date: TDate) => void;
54
- /**
55
- * Initially open view.
56
- * @default 'day'
57
- */
58
- openTo?: CalendarPickerView;
59
- /**
60
- * Make picker read only.
61
- * @default false
62
- */
63
- readOnly?: boolean;
64
- /**
65
- * Disable heavy animations.
66
- * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
67
- */
68
- reduceAnimations?: boolean;
69
- /**
70
- * Component displaying when passed `loading` true.
71
- * @default () => <span data-mui-test="loading-progress">...</span>
72
- */
73
- renderLoading?: () => React.ReactNode;
74
- /**
75
- * Disable specific date. @DateIOType
76
- */
77
- shouldDisableDate?: (day: TDate) => boolean;
78
- /**
79
- * Controlled open view.
80
- */
81
- view?: CalendarPickerView;
82
- /**
83
- * Views for calendar picker.
84
- * @default ['year', 'day']
85
- */
86
- views?: readonly CalendarPickerView[];
87
- }
88
- export declare type ExportedCalendarPickerProps<TDate> = Omit<CalendarPickerProps<TDate>, 'date' | 'view' | 'views' | 'openTo' | 'onChange' | 'changeView' | 'slideDirection' | 'currentMonth' | 'className'>;
89
- interface CalendarPickerPropsWithClasses<TDate> extends CalendarPickerProps<TDate> {
90
- classes?: Partial<CalendarPickerClasses>;
91
- }
92
- export declare function getCalendarPickerUtilityClass(slot: string): string;
93
- export declare const calendarPickerClasses: CalendarPickerClasses;
94
- export declare const defaultReduceAnimations: boolean;
95
- declare const _default: <TDate>(props: CalendarPickerPropsWithClasses<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
96
- /**
97
- *
98
- * Demos:
99
- *
100
- * - [Date Picker](https://mui.com/components/date-picker/)
101
- *
102
- * API:
103
- *
104
- * - [CalendarPicker API](https://mui.com/api/calendar-picker/)
105
- */
106
- export default _default;
1
+ import * as React from 'react';
2
+ import { ExportedCalendarProps } from './PickersCalendar';
3
+ import { PickerOnChangeFn } from '../internal/pickers/hooks/useViews';
4
+ import { ExportedCalendarHeaderProps } from './PickersCalendarHeader';
5
+ import { ExportedYearPickerProps } from '../YearPicker/YearPicker';
6
+ import { CalendarPickerView } from './shared';
7
+ export interface CalendarPickerClasses {
8
+ /** Styles applied to the root element. */
9
+ root: string;
10
+ /** Styles applied to the transition group element. */
11
+ viewTransitionContainer: string;
12
+ }
13
+ export declare type CalendarPickerClassKey = keyof CalendarPickerClasses;
14
+ export interface CalendarPickerProps<TDate> extends ExportedCalendarProps<TDate>, ExportedYearPickerProps<TDate>, ExportedCalendarHeaderProps<TDate> {
15
+ className?: string;
16
+ date: TDate | null;
17
+ /**
18
+ * Default calendar month displayed when `value={null}`.
19
+ */
20
+ defaultCalendarMonth?: TDate;
21
+ /**
22
+ * If `true`, the picker and text field are disabled.
23
+ * @default false
24
+ */
25
+ disabled?: boolean;
26
+ /**
27
+ * @default false
28
+ */
29
+ disableFuture?: boolean;
30
+ /**
31
+ * @default false
32
+ */
33
+ disablePast?: boolean;
34
+ /**
35
+ * Max selectable date. @DateIOType
36
+ */
37
+ maxDate?: TDate;
38
+ /**
39
+ * Min selectable date. @DateIOType
40
+ */
41
+ minDate?: TDate;
42
+ /**
43
+ * Callback fired on view change.
44
+ */
45
+ onViewChange?: (view: CalendarPickerView) => void;
46
+ /**
47
+ * Callback fired on date change
48
+ */
49
+ onChange: PickerOnChangeFn<TDate>;
50
+ /**
51
+ * Callback firing on month change. @DateIOType
52
+ */
53
+ onMonthChange?: (date: TDate) => void;
54
+ /**
55
+ * Initially open view.
56
+ * @default 'day'
57
+ */
58
+ openTo?: CalendarPickerView;
59
+ /**
60
+ * Make picker read only.
61
+ * @default false
62
+ */
63
+ readOnly?: boolean;
64
+ /**
65
+ * Disable heavy animations.
66
+ * @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
67
+ */
68
+ reduceAnimations?: boolean;
69
+ /**
70
+ * Component displaying when passed `loading` true.
71
+ * @default () => <span data-mui-test="loading-progress">...</span>
72
+ */
73
+ renderLoading?: () => React.ReactNode;
74
+ /**
75
+ * Disable specific date. @DateIOType
76
+ */
77
+ shouldDisableDate?: (day: TDate) => boolean;
78
+ /**
79
+ * Controlled open view.
80
+ */
81
+ view?: CalendarPickerView;
82
+ /**
83
+ * Views for calendar picker.
84
+ * @default ['year', 'day']
85
+ */
86
+ views?: readonly CalendarPickerView[];
87
+ }
88
+ export declare type ExportedCalendarPickerProps<TDate> = Omit<CalendarPickerProps<TDate>, 'date' | 'view' | 'views' | 'openTo' | 'onChange' | 'changeView' | 'slideDirection' | 'currentMonth' | 'className'>;
89
+ interface CalendarPickerPropsWithClasses<TDate> extends CalendarPickerProps<TDate> {
90
+ classes?: Partial<CalendarPickerClasses>;
91
+ }
92
+ export declare function getCalendarPickerUtilityClass(slot: string): string;
93
+ export declare const calendarPickerClasses: CalendarPickerClasses;
94
+ export declare const defaultReduceAnimations: boolean;
95
+ declare const _default: <TDate>(props: CalendarPickerPropsWithClasses<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
96
+ /**
97
+ *
98
+ * Demos:
99
+ *
100
+ * - [Date Picker](https://mui.com/components/date-picker/)
101
+ *
102
+ * API:
103
+ *
104
+ * - [CalendarPicker API](https://mui.com/api/calendar-picker/)
105
+ */
106
+ export default _default;
@@ -1,47 +1,47 @@
1
- import * as React from 'react';
2
- import { PickersDayProps } from '../PickersDay/PickersDay';
3
- import { PickerOnChangeFn } from '../internal/pickers/hooks/useViews';
4
- import { SlideDirection, SlideTransitionProps } from './PickersSlideTransition';
5
- export interface ExportedCalendarProps<TDate> extends Pick<PickersDayProps<TDate>, 'disableHighlightToday' | 'showDaysOutsideCurrentMonth' | 'allowSameDateSelection'> {
6
- autoFocus?: boolean;
7
- /**
8
- * If `true` renders `LoadingComponent` in calendar instead of calendar view.
9
- * Can be used to preload information and show it in calendar.
10
- * @default false
11
- */
12
- loading?: boolean;
13
- /**
14
- * Calendar onChange.
15
- */
16
- onChange: PickerOnChangeFn<TDate>;
17
- /**
18
- * Custom renderer for day. Check the [PickersDay](https://mui.com/api/pickers-day/) component.
19
- */
20
- renderDay?: (day: TDate, selectedDates: Array<TDate | null>, pickersDayProps: PickersDayProps<TDate>) => JSX.Element;
21
- /**
22
- * Component displaying when passed `loading` true.
23
- * @default () => "..."
24
- */
25
- renderLoading?: () => React.ReactNode;
26
- }
27
- export interface PickersCalendarProps<TDate> extends ExportedCalendarProps<TDate> {
28
- autoFocus?: boolean;
29
- className?: string;
30
- currentMonth: TDate;
31
- date: TDate | [TDate | null, TDate | null] | null;
32
- disabled?: boolean;
33
- focusedDay: TDate | null;
34
- isDateDisabled: (day: TDate) => boolean;
35
- isMonthSwitchingAnimating: boolean;
36
- onFocusedDayChange: (newFocusedDay: TDate) => void;
37
- onMonthSwitchingAnimationEnd: () => void;
38
- readOnly?: boolean;
39
- reduceAnimations: boolean;
40
- slideDirection: SlideDirection;
41
- TransitionProps?: Partial<SlideTransitionProps>;
42
- }
43
- /**
44
- * @ignore - do not document.
45
- */
46
- declare function PickersCalendar<TDate>(props: PickersCalendarProps<TDate>): JSX.Element;
47
- export default PickersCalendar;
1
+ import * as React from 'react';
2
+ import { PickersDayProps } from '../PickersDay/PickersDay';
3
+ import { PickerOnChangeFn } from '../internal/pickers/hooks/useViews';
4
+ import { SlideDirection, SlideTransitionProps } from './PickersSlideTransition';
5
+ export interface ExportedCalendarProps<TDate> extends Pick<PickersDayProps<TDate>, 'disableHighlightToday' | 'showDaysOutsideCurrentMonth' | 'allowSameDateSelection'> {
6
+ autoFocus?: boolean;
7
+ /**
8
+ * If `true` renders `LoadingComponent` in calendar instead of calendar view.
9
+ * Can be used to preload information and show it in calendar.
10
+ * @default false
11
+ */
12
+ loading?: boolean;
13
+ /**
14
+ * Calendar onChange.
15
+ */
16
+ onChange: PickerOnChangeFn<TDate>;
17
+ /**
18
+ * Custom renderer for day. Check the [PickersDay](https://mui.com/api/pickers-day/) component.
19
+ */
20
+ renderDay?: (day: TDate, selectedDates: Array<TDate | null>, pickersDayProps: PickersDayProps<TDate>) => JSX.Element;
21
+ /**
22
+ * Component displaying when passed `loading` true.
23
+ * @default () => "..."
24
+ */
25
+ renderLoading?: () => React.ReactNode;
26
+ }
27
+ export interface PickersCalendarProps<TDate> extends ExportedCalendarProps<TDate> {
28
+ autoFocus?: boolean;
29
+ className?: string;
30
+ currentMonth: TDate;
31
+ date: TDate | [TDate | null, TDate | null] | null;
32
+ disabled?: boolean;
33
+ focusedDay: TDate | null;
34
+ isDateDisabled: (day: TDate) => boolean;
35
+ isMonthSwitchingAnimating: boolean;
36
+ onFocusedDayChange: (newFocusedDay: TDate) => void;
37
+ onMonthSwitchingAnimationEnd: () => void;
38
+ readOnly?: boolean;
39
+ reduceAnimations: boolean;
40
+ slideDirection: SlideDirection;
41
+ TransitionProps?: Partial<SlideTransitionProps>;
42
+ }
43
+ /**
44
+ * @ignore - do not document.
45
+ */
46
+ declare function PickersCalendar<TDate>(props: PickersCalendarProps<TDate>): JSX.Element;
47
+ export default PickersCalendar;