@mui/x-date-pickers 8.0.0-beta.2 → 8.0.0-beta.3

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 (378) hide show
  1. package/CHANGELOG.md +141 -0
  2. package/DateField/DateField.js +4 -4
  3. package/DateTimeField/DateTimeField.js +4 -4
  4. package/DesktopDatePicker/DesktopDatePicker.js +2 -1
  5. package/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -1
  6. package/DesktopTimePicker/DesktopTimePicker.js +2 -1
  7. package/DigitalClock/DigitalClock.js +1 -0
  8. package/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  9. package/LocalizationProvider/LocalizationProvider.js +2 -2
  10. package/MobileDatePicker/MobileDatePicker.js +2 -1
  11. package/MobileDateTimePicker/MobileDateTimePicker.js +9 -1
  12. package/MobileTimePicker/MobileTimePicker.js +2 -1
  13. package/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +1 -0
  14. package/PickersActionBar/PickersActionBar.d.ts +1 -1
  15. package/PickersActionBar/PickersActionBar.js +21 -3
  16. package/StaticDatePicker/StaticDatePicker.js +2 -1
  17. package/StaticDateTimePicker/StaticDateTimePicker.js +9 -1
  18. package/StaticTimePicker/StaticTimePicker.js +2 -1
  19. package/TimeField/TimeField.js +4 -4
  20. package/esm/DateField/DateField.js +4 -4
  21. package/esm/DateTimeField/DateTimeField.js +4 -4
  22. package/esm/DesktopDatePicker/DesktopDatePicker.js +2 -1
  23. package/esm/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -1
  24. package/esm/DesktopTimePicker/DesktopTimePicker.js +2 -1
  25. package/esm/DigitalClock/DigitalClock.js +1 -0
  26. package/esm/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  27. package/esm/LocalizationProvider/LocalizationProvider.js +2 -2
  28. package/esm/MobileDatePicker/MobileDatePicker.js +2 -1
  29. package/esm/MobileDateTimePicker/MobileDateTimePicker.js +9 -1
  30. package/esm/MobileTimePicker/MobileTimePicker.js +2 -1
  31. package/esm/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +1 -0
  32. package/esm/PickersActionBar/PickersActionBar.d.ts +1 -1
  33. package/esm/PickersActionBar/PickersActionBar.js +22 -4
  34. package/esm/StaticDatePicker/StaticDatePicker.js +2 -1
  35. package/esm/StaticDateTimePicker/StaticDateTimePicker.js +9 -1
  36. package/esm/StaticTimePicker/StaticTimePicker.js +2 -1
  37. package/esm/TimeField/TimeField.js +4 -4
  38. package/esm/index.js +1 -1
  39. package/esm/internals/components/PickerProvider.d.ts +9 -0
  40. package/esm/internals/hooks/useDesktopPicker/useDesktopPicker.d.ts +1 -0
  41. package/esm/internals/hooks/useDesktopPicker/useDesktopPicker.js +9 -3
  42. package/esm/internals/hooks/useDesktopPicker/useDesktopPicker.types.d.ts +7 -0
  43. package/esm/internals/hooks/useField/buildSectionsFromFormat.js +1 -1
  44. package/esm/internals/hooks/useMobilePicker/useMobilePicker.d.ts +1 -0
  45. package/esm/internals/hooks/useMobilePicker/useMobilePicker.js +9 -3
  46. package/esm/internals/hooks/useMobilePicker/useMobilePicker.types.d.ts +7 -0
  47. package/esm/internals/hooks/usePicker/usePicker.d.ts +2 -1
  48. package/esm/internals/hooks/usePicker/usePicker.js +14 -4
  49. package/esm/internals/hooks/usePicker/usePicker.types.d.ts +2 -0
  50. package/esm/internals/hooks/useStaticPicker/useStaticPicker.d.ts +1 -0
  51. package/esm/internals/hooks/useStaticPicker/useStaticPicker.js +9 -3
  52. package/esm/internals/hooks/useStaticPicker/useStaticPicker.types.d.ts +7 -0
  53. package/esm/internals/index.d.ts +3 -2
  54. package/esm/internals/index.js +3 -2
  55. package/esm/internals/utils/createNonRangePickerStepNavigation.d.ts +13 -0
  56. package/esm/internals/utils/createNonRangePickerStepNavigation.js +24 -0
  57. package/esm/internals/utils/createStepNavigation.d.ts +32 -0
  58. package/esm/internals/utils/createStepNavigation.js +34 -0
  59. package/esm/internals/utils/date-utils.d.ts +1 -0
  60. package/esm/internals/utils/date-utils.js +2 -2
  61. package/esm/internals/utils/time-utils.d.ts +2 -0
  62. package/esm/internals/utils/time-utils.js +4 -3
  63. package/esm/locales/beBY.d.ts +1 -0
  64. package/esm/locales/beBY.js +1 -0
  65. package/esm/locales/bgBG.d.ts +1 -0
  66. package/esm/locales/bgBG.js +1 -0
  67. package/esm/locales/bnBD.d.ts +1 -0
  68. package/esm/locales/bnBD.js +1 -0
  69. package/esm/locales/caES.d.ts +1 -0
  70. package/esm/locales/caES.js +1 -0
  71. package/esm/locales/csCZ.d.ts +1 -0
  72. package/esm/locales/csCZ.js +1 -0
  73. package/esm/locales/daDK.d.ts +1 -0
  74. package/esm/locales/daDK.js +1 -0
  75. package/esm/locales/deDE.d.ts +1 -0
  76. package/esm/locales/deDE.js +1 -0
  77. package/esm/locales/elGR.d.ts +1 -0
  78. package/esm/locales/elGR.js +1 -0
  79. package/esm/locales/enUS.d.ts +1 -0
  80. package/esm/locales/enUS.js +1 -0
  81. package/esm/locales/esES.d.ts +1 -0
  82. package/esm/locales/esES.js +1 -0
  83. package/esm/locales/eu.d.ts +1 -0
  84. package/esm/locales/eu.js +1 -0
  85. package/esm/locales/faIR.d.ts +1 -0
  86. package/esm/locales/faIR.js +1 -0
  87. package/esm/locales/fiFI.d.ts +1 -0
  88. package/esm/locales/fiFI.js +1 -0
  89. package/esm/locales/frFR.d.ts +1 -0
  90. package/esm/locales/frFR.js +1 -0
  91. package/esm/locales/heIL.d.ts +1 -0
  92. package/esm/locales/heIL.js +1 -0
  93. package/esm/locales/hrHR.d.ts +1 -0
  94. package/esm/locales/hrHR.js +1 -0
  95. package/esm/locales/huHU.d.ts +1 -0
  96. package/esm/locales/huHU.js +1 -0
  97. package/esm/locales/isIS.d.ts +1 -0
  98. package/esm/locales/isIS.js +1 -0
  99. package/esm/locales/itIT.d.ts +1 -0
  100. package/esm/locales/itIT.js +1 -0
  101. package/esm/locales/jaJP.d.ts +1 -0
  102. package/esm/locales/jaJP.js +1 -0
  103. package/esm/locales/koKR.d.ts +1 -0
  104. package/esm/locales/koKR.js +1 -0
  105. package/esm/locales/kzKZ.d.ts +1 -0
  106. package/esm/locales/kzKZ.js +1 -0
  107. package/esm/locales/mk.d.ts +1 -0
  108. package/esm/locales/mk.js +1 -0
  109. package/esm/locales/nbNO.d.ts +1 -0
  110. package/esm/locales/nbNO.js +1 -0
  111. package/esm/locales/nlNL.d.ts +1 -0
  112. package/esm/locales/nlNL.js +1 -0
  113. package/esm/locales/nnNO.d.ts +1 -0
  114. package/esm/locales/nnNO.js +1 -0
  115. package/esm/locales/plPL.d.ts +1 -0
  116. package/esm/locales/plPL.js +1 -0
  117. package/esm/locales/ptBR.d.ts +1 -0
  118. package/esm/locales/ptBR.js +1 -0
  119. package/esm/locales/ptPT.d.ts +1 -0
  120. package/esm/locales/ptPT.js +1 -0
  121. package/esm/locales/roRO.d.ts +1 -0
  122. package/esm/locales/roRO.js +1 -0
  123. package/esm/locales/ruRU.d.ts +1 -0
  124. package/esm/locales/ruRU.js +1 -0
  125. package/esm/locales/skSK.d.ts +1 -0
  126. package/esm/locales/skSK.js +1 -0
  127. package/esm/locales/svSE.d.ts +1 -0
  128. package/esm/locales/svSE.js +1 -0
  129. package/esm/locales/trTR.d.ts +1 -0
  130. package/esm/locales/trTR.js +1 -0
  131. package/esm/locales/ukUA.d.ts +1 -0
  132. package/esm/locales/ukUA.js +1 -0
  133. package/esm/locales/urPK.d.ts +1 -0
  134. package/esm/locales/urPK.js +1 -0
  135. package/esm/locales/utils/getPickersLocalization.d.ts +1 -0
  136. package/esm/locales/utils/pickersLocaleTextApi.d.ts +1 -0
  137. package/esm/locales/viVN.d.ts +1 -0
  138. package/esm/locales/viVN.js +1 -0
  139. package/esm/locales/zhCN.d.ts +1 -0
  140. package/esm/locales/zhCN.js +1 -0
  141. package/esm/locales/zhHK.d.ts +1 -0
  142. package/esm/locales/zhHK.js +1 -0
  143. package/esm/locales/zhTW.d.ts +1 -0
  144. package/esm/locales/zhTW.js +1 -0
  145. package/index.js +1 -1
  146. package/internals/components/PickerProvider.d.ts +9 -0
  147. package/internals/hooks/useDesktopPicker/useDesktopPicker.d.ts +1 -0
  148. package/internals/hooks/useDesktopPicker/useDesktopPicker.js +9 -3
  149. package/internals/hooks/useDesktopPicker/useDesktopPicker.types.d.ts +7 -0
  150. package/internals/hooks/useField/buildSectionsFromFormat.js +1 -1
  151. package/internals/hooks/useMobilePicker/useMobilePicker.d.ts +1 -0
  152. package/internals/hooks/useMobilePicker/useMobilePicker.js +9 -3
  153. package/internals/hooks/useMobilePicker/useMobilePicker.types.d.ts +7 -0
  154. package/internals/hooks/usePicker/usePicker.d.ts +2 -1
  155. package/internals/hooks/usePicker/usePicker.js +14 -4
  156. package/internals/hooks/usePicker/usePicker.types.d.ts +2 -0
  157. package/internals/hooks/useStaticPicker/useStaticPicker.d.ts +1 -0
  158. package/internals/hooks/useStaticPicker/useStaticPicker.js +9 -3
  159. package/internals/hooks/useStaticPicker/useStaticPicker.types.d.ts +7 -0
  160. package/internals/index.d.ts +3 -2
  161. package/internals/index.js +19 -0
  162. package/internals/utils/createNonRangePickerStepNavigation.d.ts +13 -0
  163. package/internals/utils/createNonRangePickerStepNavigation.js +30 -0
  164. package/internals/utils/createStepNavigation.d.ts +32 -0
  165. package/internals/utils/createStepNavigation.js +41 -0
  166. package/internals/utils/date-utils.d.ts +1 -0
  167. package/internals/utils/date-utils.js +3 -3
  168. package/internals/utils/time-utils.d.ts +2 -0
  169. package/internals/utils/time-utils.js +5 -4
  170. package/locales/beBY.d.ts +1 -0
  171. package/locales/beBY.js +1 -0
  172. package/locales/bgBG.d.ts +1 -0
  173. package/locales/bgBG.js +1 -0
  174. package/locales/bnBD.d.ts +1 -0
  175. package/locales/bnBD.js +1 -0
  176. package/locales/caES.d.ts +1 -0
  177. package/locales/caES.js +1 -0
  178. package/locales/csCZ.d.ts +1 -0
  179. package/locales/csCZ.js +1 -0
  180. package/locales/daDK.d.ts +1 -0
  181. package/locales/daDK.js +1 -0
  182. package/locales/deDE.d.ts +1 -0
  183. package/locales/deDE.js +1 -0
  184. package/locales/elGR.d.ts +1 -0
  185. package/locales/elGR.js +1 -0
  186. package/locales/enUS.d.ts +1 -0
  187. package/locales/enUS.js +1 -0
  188. package/locales/esES.d.ts +1 -0
  189. package/locales/esES.js +1 -0
  190. package/locales/eu.d.ts +1 -0
  191. package/locales/eu.js +1 -0
  192. package/locales/faIR.d.ts +1 -0
  193. package/locales/faIR.js +1 -0
  194. package/locales/fiFI.d.ts +1 -0
  195. package/locales/fiFI.js +1 -0
  196. package/locales/frFR.d.ts +1 -0
  197. package/locales/frFR.js +1 -0
  198. package/locales/heIL.d.ts +1 -0
  199. package/locales/heIL.js +1 -0
  200. package/locales/hrHR.d.ts +1 -0
  201. package/locales/hrHR.js +1 -0
  202. package/locales/huHU.d.ts +1 -0
  203. package/locales/huHU.js +1 -0
  204. package/locales/isIS.d.ts +1 -0
  205. package/locales/isIS.js +1 -0
  206. package/locales/itIT.d.ts +1 -0
  207. package/locales/itIT.js +1 -0
  208. package/locales/jaJP.d.ts +1 -0
  209. package/locales/jaJP.js +1 -0
  210. package/locales/koKR.d.ts +1 -0
  211. package/locales/koKR.js +1 -0
  212. package/locales/kzKZ.d.ts +1 -0
  213. package/locales/kzKZ.js +1 -0
  214. package/locales/mk.d.ts +1 -0
  215. package/locales/mk.js +1 -0
  216. package/locales/nbNO.d.ts +1 -0
  217. package/locales/nbNO.js +1 -0
  218. package/locales/nlNL.d.ts +1 -0
  219. package/locales/nlNL.js +1 -0
  220. package/locales/nnNO.d.ts +1 -0
  221. package/locales/nnNO.js +1 -0
  222. package/locales/plPL.d.ts +1 -0
  223. package/locales/plPL.js +1 -0
  224. package/locales/ptBR.d.ts +1 -0
  225. package/locales/ptBR.js +1 -0
  226. package/locales/ptPT.d.ts +1 -0
  227. package/locales/ptPT.js +1 -0
  228. package/locales/roRO.d.ts +1 -0
  229. package/locales/roRO.js +1 -0
  230. package/locales/ruRU.d.ts +1 -0
  231. package/locales/ruRU.js +1 -0
  232. package/locales/skSK.d.ts +1 -0
  233. package/locales/skSK.js +1 -0
  234. package/locales/svSE.d.ts +1 -0
  235. package/locales/svSE.js +1 -0
  236. package/locales/trTR.d.ts +1 -0
  237. package/locales/trTR.js +1 -0
  238. package/locales/ukUA.d.ts +1 -0
  239. package/locales/ukUA.js +1 -0
  240. package/locales/urPK.d.ts +1 -0
  241. package/locales/urPK.js +1 -0
  242. package/locales/utils/getPickersLocalization.d.ts +1 -0
  243. package/locales/utils/pickersLocaleTextApi.d.ts +1 -0
  244. package/locales/viVN.d.ts +1 -0
  245. package/locales/viVN.js +1 -0
  246. package/locales/zhCN.d.ts +1 -0
  247. package/locales/zhCN.js +1 -0
  248. package/locales/zhHK.d.ts +1 -0
  249. package/locales/zhHK.js +1 -0
  250. package/locales/zhTW.d.ts +1 -0
  251. package/locales/zhTW.js +1 -0
  252. package/modern/DateField/DateField.js +4 -4
  253. package/modern/DateTimeField/DateTimeField.js +4 -4
  254. package/modern/DesktopDatePicker/DesktopDatePicker.js +2 -1
  255. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -1
  256. package/modern/DesktopTimePicker/DesktopTimePicker.js +2 -1
  257. package/modern/DigitalClock/DigitalClock.js +1 -0
  258. package/modern/LocalizationProvider/LocalizationProvider.d.ts +1 -1
  259. package/modern/LocalizationProvider/LocalizationProvider.js +2 -2
  260. package/modern/MobileDatePicker/MobileDatePicker.js +2 -1
  261. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +9 -1
  262. package/modern/MobileTimePicker/MobileTimePicker.js +2 -1
  263. package/modern/MultiSectionDigitalClock/MultiSectionDigitalClockSection.js +1 -0
  264. package/modern/PickersActionBar/PickersActionBar.d.ts +1 -1
  265. package/modern/PickersActionBar/PickersActionBar.js +22 -4
  266. package/modern/StaticDatePicker/StaticDatePicker.js +2 -1
  267. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +9 -1
  268. package/modern/StaticTimePicker/StaticTimePicker.js +2 -1
  269. package/modern/TimeField/TimeField.js +4 -4
  270. package/modern/index.js +1 -1
  271. package/modern/internals/components/PickerProvider.d.ts +9 -0
  272. package/modern/internals/hooks/useDesktopPicker/useDesktopPicker.d.ts +1 -0
  273. package/modern/internals/hooks/useDesktopPicker/useDesktopPicker.js +9 -3
  274. package/modern/internals/hooks/useDesktopPicker/useDesktopPicker.types.d.ts +7 -0
  275. package/modern/internals/hooks/useField/buildSectionsFromFormat.js +1 -1
  276. package/modern/internals/hooks/useMobilePicker/useMobilePicker.d.ts +1 -0
  277. package/modern/internals/hooks/useMobilePicker/useMobilePicker.js +9 -3
  278. package/modern/internals/hooks/useMobilePicker/useMobilePicker.types.d.ts +7 -0
  279. package/modern/internals/hooks/usePicker/usePicker.d.ts +2 -1
  280. package/modern/internals/hooks/usePicker/usePicker.js +14 -4
  281. package/modern/internals/hooks/usePicker/usePicker.types.d.ts +2 -0
  282. package/modern/internals/hooks/useStaticPicker/useStaticPicker.d.ts +1 -0
  283. package/modern/internals/hooks/useStaticPicker/useStaticPicker.js +9 -3
  284. package/modern/internals/hooks/useStaticPicker/useStaticPicker.types.d.ts +7 -0
  285. package/modern/internals/index.d.ts +3 -2
  286. package/modern/internals/index.js +3 -2
  287. package/modern/internals/utils/createNonRangePickerStepNavigation.d.ts +13 -0
  288. package/modern/internals/utils/createNonRangePickerStepNavigation.js +24 -0
  289. package/modern/internals/utils/createStepNavigation.d.ts +32 -0
  290. package/modern/internals/utils/createStepNavigation.js +34 -0
  291. package/modern/internals/utils/date-utils.d.ts +1 -0
  292. package/modern/internals/utils/date-utils.js +2 -2
  293. package/modern/internals/utils/time-utils.d.ts +2 -0
  294. package/modern/internals/utils/time-utils.js +4 -3
  295. package/modern/locales/beBY.d.ts +1 -0
  296. package/modern/locales/beBY.js +1 -0
  297. package/modern/locales/bgBG.d.ts +1 -0
  298. package/modern/locales/bgBG.js +1 -0
  299. package/modern/locales/bnBD.d.ts +1 -0
  300. package/modern/locales/bnBD.js +1 -0
  301. package/modern/locales/caES.d.ts +1 -0
  302. package/modern/locales/caES.js +1 -0
  303. package/modern/locales/csCZ.d.ts +1 -0
  304. package/modern/locales/csCZ.js +1 -0
  305. package/modern/locales/daDK.d.ts +1 -0
  306. package/modern/locales/daDK.js +1 -0
  307. package/modern/locales/deDE.d.ts +1 -0
  308. package/modern/locales/deDE.js +1 -0
  309. package/modern/locales/elGR.d.ts +1 -0
  310. package/modern/locales/elGR.js +1 -0
  311. package/modern/locales/enUS.d.ts +1 -0
  312. package/modern/locales/enUS.js +1 -0
  313. package/modern/locales/esES.d.ts +1 -0
  314. package/modern/locales/esES.js +1 -0
  315. package/modern/locales/eu.d.ts +1 -0
  316. package/modern/locales/eu.js +1 -0
  317. package/modern/locales/faIR.d.ts +1 -0
  318. package/modern/locales/faIR.js +1 -0
  319. package/modern/locales/fiFI.d.ts +1 -0
  320. package/modern/locales/fiFI.js +1 -0
  321. package/modern/locales/frFR.d.ts +1 -0
  322. package/modern/locales/frFR.js +1 -0
  323. package/modern/locales/heIL.d.ts +1 -0
  324. package/modern/locales/heIL.js +1 -0
  325. package/modern/locales/hrHR.d.ts +1 -0
  326. package/modern/locales/hrHR.js +1 -0
  327. package/modern/locales/huHU.d.ts +1 -0
  328. package/modern/locales/huHU.js +1 -0
  329. package/modern/locales/isIS.d.ts +1 -0
  330. package/modern/locales/isIS.js +1 -0
  331. package/modern/locales/itIT.d.ts +1 -0
  332. package/modern/locales/itIT.js +1 -0
  333. package/modern/locales/jaJP.d.ts +1 -0
  334. package/modern/locales/jaJP.js +1 -0
  335. package/modern/locales/koKR.d.ts +1 -0
  336. package/modern/locales/koKR.js +1 -0
  337. package/modern/locales/kzKZ.d.ts +1 -0
  338. package/modern/locales/kzKZ.js +1 -0
  339. package/modern/locales/mk.d.ts +1 -0
  340. package/modern/locales/mk.js +1 -0
  341. package/modern/locales/nbNO.d.ts +1 -0
  342. package/modern/locales/nbNO.js +1 -0
  343. package/modern/locales/nlNL.d.ts +1 -0
  344. package/modern/locales/nlNL.js +1 -0
  345. package/modern/locales/nnNO.d.ts +1 -0
  346. package/modern/locales/nnNO.js +1 -0
  347. package/modern/locales/plPL.d.ts +1 -0
  348. package/modern/locales/plPL.js +1 -0
  349. package/modern/locales/ptBR.d.ts +1 -0
  350. package/modern/locales/ptBR.js +1 -0
  351. package/modern/locales/ptPT.d.ts +1 -0
  352. package/modern/locales/ptPT.js +1 -0
  353. package/modern/locales/roRO.d.ts +1 -0
  354. package/modern/locales/roRO.js +1 -0
  355. package/modern/locales/ruRU.d.ts +1 -0
  356. package/modern/locales/ruRU.js +1 -0
  357. package/modern/locales/skSK.d.ts +1 -0
  358. package/modern/locales/skSK.js +1 -0
  359. package/modern/locales/svSE.d.ts +1 -0
  360. package/modern/locales/svSE.js +1 -0
  361. package/modern/locales/trTR.d.ts +1 -0
  362. package/modern/locales/trTR.js +1 -0
  363. package/modern/locales/ukUA.d.ts +1 -0
  364. package/modern/locales/ukUA.js +1 -0
  365. package/modern/locales/urPK.d.ts +1 -0
  366. package/modern/locales/urPK.js +1 -0
  367. package/modern/locales/utils/getPickersLocalization.d.ts +1 -0
  368. package/modern/locales/utils/pickersLocaleTextApi.d.ts +1 -0
  369. package/modern/locales/viVN.d.ts +1 -0
  370. package/modern/locales/viVN.js +1 -0
  371. package/modern/locales/zhCN.d.ts +1 -0
  372. package/modern/locales/zhCN.js +1 -0
  373. package/modern/locales/zhHK.d.ts +1 -0
  374. package/modern/locales/zhHK.js +1 -0
  375. package/modern/locales/zhTW.d.ts +1 -0
  376. package/modern/locales/zhTW.js +1 -0
  377. package/package.json +6 -6
  378. package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,147 @@
5
5
  All notable changes to this project will be documented in this file.
6
6
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
7
 
8
+ ## 8.0.0-beta.3
9
+
10
+ _Apr 3, 2025_
11
+
12
+ We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
13
+
14
+ - 🚫 Removed `react-spring` as a dependency of `@mui/x-charts`
15
+ - 📦 Data Grid list view feature is now stable
16
+ - 💫 Support title in Data Grid
17
+ - 📚 Documentation improvements
18
+ - 🐞 Bugfixes
19
+
20
+ Team members who have contributed to this release:
21
+ @bernardobelchior, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @noraleonte, @romgrk, @alexfauquette.
22
+
23
+ <!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
24
+
25
+ ### Data Grid
26
+
27
+ #### Breaking changes
28
+
29
+ - The list view feature and its related props are now stable.
30
+
31
+ The `unstable_listColumn` prop has been renamed to `listViewColumn`.
32
+
33
+ The `GridListColDef` type has been renamed to `GridListViewColDef`.
34
+
35
+ ```diff
36
+ -const listViewColDef: GridListColDef = {
37
+ +const listViewColDef: GridListViewColDef = {
38
+ field: 'listColumn',
39
+ renderCell: ListViewCell,
40
+ };
41
+
42
+ <DataGridPro
43
+ - unstable_listView
44
+ - unstable_listColumn={listViewColDef}
45
+ + listView
46
+ + listViewColumn={listViewColDef}
47
+ />
48
+ ```
49
+
50
+ - The `useGridApiEventHandler()` hook has been renamed to `useGridEvent()`.
51
+ - The `useGridApiOptionHandler()` hook has been renamed to `useGridEventPriority()`.
52
+
53
+ #### `@mui/x-data-grid@8.0.0-beta.3`
54
+
55
+ - [DataGrid] Fix "is any of" autocomplete rendering (#17226) @KenanYusuf
56
+ - [DataGrid] Rename `useGridApiEventHandler()` to `useGridEvent()` (#17159) @romgrk
57
+ - [DataGrid] Support adding a label to the grid (#17147) @KenanYusuf
58
+ - [DataGrid] Refactor: remove material typings (#17119) @romgrk
59
+
60
+ #### `@mui/x-data-grid-pro@8.0.0-beta.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
61
+
62
+ Same changes as in `@mui/x-data-grid@8.0.0-beta.3`, plus:
63
+
64
+ - [DataGridPro] Make list view feature stable (#17217) @KenanYusuf
65
+ - [DataGridPro] Always refetch lazy-loading rows (#16827) @MBilalShafi
66
+
67
+ #### `@mui/x-data-grid-premium@8.0.0-beta.3` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
68
+
69
+ Same changes as in `@mui/x-data-grid-pro@8.0.0-beta.3`.
70
+
71
+ ### Date and Time Pickers
72
+
73
+ #### `@mui/x-date-pickers@8.0.0-beta.3`
74
+
75
+ - [pickers] Add new `nextOrAccept` action bar action (#17037) @flaviendelangle
76
+ - [pickers] Improve the Multi Section Digital Clock scrollbar thickness (#16774) @oliviertassinari
77
+ - [TimePicker] Align the Digital Clock scrollbar thickness (#17203) @LukasTy
78
+
79
+ #### `@mui/x-date-pickers-pro@8.0.0-beta.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
80
+
81
+ Same changes as in `@mui/x-date-pickers@8.0.0-beta.3`.
82
+
83
+ ### Charts
84
+
85
+ #### Breaking changes
86
+
87
+ - Removed `react-spring` as a dependency of `@mui/x-charts`.
88
+ A consequence of this change is that the props of some slots have been changed because the `SpringValue` wrapper has been removed. The affected slots and props are:
89
+
90
+ - the type of the `x`, `y`, `width` and `height` props of the `bar` slot are now `number`;
91
+ - the type of `startAngle`, `endAngle`, `innerRadius`, `outerRadius`, `arcLabelRadius`, `cornerRadius` and `paddingAngle` props of `pieArc` and `pieArcLabel` slot are now `number`.
92
+
93
+ Additionally, the `pieArc` slot now receives a `skipAnimation` prop to configure whether animations should be enabled or disabled.
94
+
95
+ - Tick labels in the y-axis of cartesian charts will now have an ellipsis applied to prevent overflow.
96
+ If your tick labels are being clipped sooner than you would like, you can increase the y-axis size by increasing its width property.
97
+
98
+ - The tooltip DOM structure is modified to improve accessibility. If you relied on it to apply some style or run tests, you might be impacted by this modification.
99
+ - The axis tooltip displays a table per axis with the axis value in a caption.
100
+ - Cells containing the series label and the color mark got merged in a th cell.
101
+
102
+ #### `@mui/x-charts@8.0.0-beta.3`
103
+
104
+ - [charts] Adjust color palettes (#17209) @noraleonte
105
+ - [charts] Allow multiple axes in the tooltip (#17058) @alexfauquette
106
+ - [charts] Improve custom legend docs (#17231) @JCQuintas
107
+ - [charts] Fix crash when item shown in tooltip is unmounted (#17169) @bernardobelchior
108
+ - [charts] Migrate some animations from `react-spring` (#16961) @bernardobelchior
109
+ - [charts] Remove `react-spring` (#17123) @bernardobelchior
110
+ - [charts] Fix y-axis tick label overflow (#16846) @bernardobelchior
111
+
112
+ #### `@mui/x-charts-pro@8.0.0-beta.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
113
+
114
+ Same changes as in `@mui/x-charts@8.0.0-beta.3`.
115
+
116
+ ### Tree View
117
+
118
+ #### `@mui/x-tree-view@8.0.0-beta.3`
119
+
120
+ Internal changes.
121
+
122
+ #### `@mui/x-tree-view-pro@8.0.0-beta.3` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
123
+
124
+ Same changes as in `@mui/x-tree-view@8.0.0-beta.3`.
125
+
126
+ ### `@mui/x-codemod@8.0.0-beta.3`
127
+
128
+ - [codemod] Add `listView` prop rename codemod (#17220) @MBilalShafi
129
+
130
+ ### Docs
131
+
132
+ - [docs] Add "Usage with Material UI v5/v6" guide (#17164) @cherniavskii
133
+ - [docs] Fix 301 link @oliviertassinari
134
+ - [docs] Fix redirection getting-started (#17200) @oliviertassinari
135
+ - [docs] Sync Stack Overflow docs with reality (#17198) @oliviertassinari
136
+ - [docs] Update Localization Provider JSDoc link (#17207) @LukasTy
137
+
138
+ ### Core
139
+
140
+ - [core] Cleanup `@mui` dependency versions (#17160) @LukasTy
141
+ - [core] Sync scorecards.yml across codebase @oliviertassinari
142
+ - [core] Revert upgrade to React 19.1 (#17206) @bernardobelchior
143
+ - [code-infra] Fix `test:unit` warning (#17224) @JCQuintas
144
+ - [code-infra] Fix pickers failing test after clock=fake removal (#17202) @JCQuintas
145
+ - [code-infra] Remove clock=fake from `describeValidation` (#17150) @JCQuintas
146
+ - [code-infra] Remove clock=fake from `describeValue` (#17199) @JCQuintas
147
+ - [infra] Add write permission for actions in issue status label handler (#17161) @michelengelen
148
+
8
149
  ## 8.0.0-beta.2
9
150
 
10
151
  _Mar 27, 2025_
@@ -120,7 +120,7 @@ process.env.NODE_ENV !== "production" ? DateField.propTypes = {
120
120
  formatDensity: _propTypes.default.oneOf(['dense', 'spacious']),
121
121
  /**
122
122
  * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
123
- * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
123
+ * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
124
124
  */
125
125
  FormHelperTextProps: _propTypes.default.object,
126
126
  /**
@@ -147,12 +147,12 @@ process.env.NODE_ENV !== "production" ? DateField.propTypes = {
147
147
  /**
148
148
  * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
149
149
  * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
150
- * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
150
+ * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
151
151
  */
152
152
  InputLabelProps: _propTypes.default.object,
153
153
  /**
154
154
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
155
- * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
155
+ * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
156
156
  */
157
157
  inputProps: _propTypes.default.object,
158
158
  /**
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? DateField.propTypes = {
160
160
  * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
161
161
  * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
162
162
  * component depending on the `variant` prop value.
163
- * @deprecated Use `slotProps.input` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
163
+ * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
164
164
  */
165
165
  InputProps: _propTypes.default.object,
166
166
  /**
@@ -130,7 +130,7 @@ process.env.NODE_ENV !== "production" ? DateTimeField.propTypes = {
130
130
  formatDensity: _propTypes.default.oneOf(['dense', 'spacious']),
131
131
  /**
132
132
  * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
133
- * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
133
+ * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
134
134
  */
135
135
  FormHelperTextProps: _propTypes.default.object,
136
136
  /**
@@ -157,12 +157,12 @@ process.env.NODE_ENV !== "production" ? DateTimeField.propTypes = {
157
157
  /**
158
158
  * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
159
159
  * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
160
- * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
160
+ * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
161
161
  */
162
162
  InputLabelProps: _propTypes.default.object,
163
163
  /**
164
164
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
165
- * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
165
+ * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
166
166
  */
167
167
  inputProps: _propTypes.default.object,
168
168
  /**
@@ -170,7 +170,7 @@ process.env.NODE_ENV !== "production" ? DateTimeField.propTypes = {
170
170
  * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
171
171
  * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
172
172
  * component depending on the `variant` prop value.
173
- * @deprecated Use `slotProps.input` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
173
+ * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
174
174
  */
175
175
  InputProps: _propTypes.default.object,
176
176
  /**
@@ -69,7 +69,8 @@ const DesktopDatePicker = exports.DesktopDatePicker = /*#__PURE__*/React.forward
69
69
  props,
70
70
  valueManager: _valueManagers.singleItemValueManager,
71
71
  valueType: 'date',
72
- validator: _validation.validateDate
72
+ validator: _validation.validateDate,
73
+ steps: null
73
74
  });
74
75
  return renderPicker();
75
76
  });
@@ -143,7 +143,8 @@ const DesktopDateTimePicker = exports.DesktopDateTimePicker = /*#__PURE__*/React
143
143
  valueManager: _valueManagers.singleItemValueManager,
144
144
  valueType: 'date-time',
145
145
  validator: _validation.validateDateTime,
146
- rendererInterceptor
146
+ rendererInterceptor,
147
+ steps: null
147
148
  });
148
149
  return renderPicker();
149
150
  });
@@ -80,7 +80,8 @@ const DesktopTimePicker = exports.DesktopTimePicker = /*#__PURE__*/React.forward
80
80
  props,
81
81
  valueManager: _valueManagers.singleItemValueManager,
82
82
  valueType: 'time',
83
- validator: _validation.validateTime
83
+ validator: _validation.validateTime,
84
+ steps: null
84
85
  });
85
86
  return renderPicker();
86
87
  });
@@ -48,6 +48,7 @@ const DigitalClockRoot = (0, _styles.styled)(_PickerViewRoot.PickerViewRoot, {
48
48
  })({
49
49
  overflowY: 'auto',
50
50
  width: '100%',
51
+ scrollbarWidth: 'thin',
51
52
  '@media (prefers-reduced-motion: no-preference)': {
52
53
  scrollBehavior: 'auto'
53
54
  },
@@ -15,7 +15,7 @@ export interface LocalizationProviderProps<TLocale> {
15
15
  children?: React.ReactNode;
16
16
  /**
17
17
  * Date library adapter class function.
18
- * @see See the localization provider {@link https://mui.com/x/react-date-pickers/getting-started/#setup-your-date-library-adapter date adapter setup section} for more details.
18
+ * @see See the localization provider {@link https://next.mui.com/x/react-date-pickers/quickstart/#integrate-provider-and-adapter date adapter setup section} for more details.
19
19
  */
20
20
  dateAdapter?: new (...args: any) => MuiPickersAdapter<TLocale>;
21
21
  /** Formats that are used for any child pickers */
@@ -70,7 +70,7 @@ const LocalizationProvider = exports.LocalizationProvider = function Localizatio
70
70
  instance: dateLibInstance
71
71
  });
72
72
  if (!adapter.isMUIAdapter) {
73
- throw new Error(['MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`', "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", 'More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation'].join(`\n`));
73
+ throw new Error(['MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`', "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", 'More information on the installation documentation: https://mui.com/x/react-date-pickers/quickstart/#installation'].join(`\n`));
74
74
  }
75
75
  return adapter;
76
76
  }, [DateAdapter, adapterLocale, dateFormats, dateLibInstance, parentUtils]);
@@ -107,7 +107,7 @@ process.env.NODE_ENV !== "production" ? LocalizationProvider.propTypes = {
107
107
  children: _propTypes.default.node,
108
108
  /**
109
109
  * Date library adapter class function.
110
- * @see See the localization provider {@link https://mui.com/x/react-date-pickers/getting-started/#setup-your-date-library-adapter date adapter setup section} for more details.
110
+ * @see See the localization provider {@link https://next.mui.com/x/react-date-pickers/quickstart/#integrate-provider-and-adapter date adapter setup section} for more details.
111
111
  */
112
112
  dateAdapter: _propTypes.default.func,
113
113
  /**
@@ -62,7 +62,8 @@ const MobileDatePicker = exports.MobileDatePicker = /*#__PURE__*/React.forwardRe
62
62
  props,
63
63
  valueManager: _valueManagers.singleItemValueManager,
64
64
  valueType: 'date',
65
- validator: _validation.validateDate
65
+ validator: _validation.validateDate,
66
+ steps: null
66
67
  });
67
68
  return renderPicker();
68
69
  });
@@ -25,6 +25,13 @@ var _dimensions = require("../internals/constants/dimensions");
25
25
  var _MultiSectionDigitalClock = require("../MultiSectionDigitalClock");
26
26
  var _utils2 = require("../internals/utils/utils");
27
27
  var _DigitalClock = require("../DigitalClock");
28
+ var _timeUtils = require("../internals/utils/time-utils");
29
+ var _dateUtils = require("../internals/utils/date-utils");
30
+ const STEPS = [{
31
+ views: _dateUtils.DATE_VIEWS
32
+ }, {
33
+ views: _timeUtils.EXPORTED_TIME_VIEWS
34
+ }];
28
35
  /**
29
36
  * Demos:
30
37
  *
@@ -105,7 +112,8 @@ const MobileDateTimePicker = exports.MobileDateTimePicker = /*#__PURE__*/React.f
105
112
  props,
106
113
  valueManager: _valueManagers.singleItemValueManager,
107
114
  valueType: 'date-time',
108
- validator: _validation.validateDateTime
115
+ validator: _validation.validateDateTime,
116
+ steps: STEPS
109
117
  });
110
118
  return renderPicker();
111
119
  });
@@ -65,7 +65,8 @@ const MobileTimePicker = exports.MobileTimePicker = /*#__PURE__*/React.forwardRe
65
65
  props,
66
66
  valueManager: _valueManagers.singleItemValueManager,
67
67
  valueType: 'time',
68
- validator: _validation.validateTime
68
+ validator: _validation.validateTime,
69
+ steps: null
69
70
  });
70
71
  return renderPicker();
71
72
  });
@@ -40,6 +40,7 @@ const MultiSectionDigitalClockSectionRoot = (0, _styles.styled)(_MenuList.defaul
40
40
  width: 56,
41
41
  padding: 0,
42
42
  overflow: 'hidden',
43
+ scrollbarWidth: 'thin',
43
44
  '@media (prefers-reduced-motion: no-preference)': {
44
45
  scrollBehavior: 'auto'
45
46
  },
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { DialogActionsProps } from '@mui/material/DialogActions';
3
- export type PickersActionBarAction = 'clear' | 'cancel' | 'accept' | 'today';
3
+ export type PickersActionBarAction = 'clear' | 'cancel' | 'accept' | 'today' | 'next' | 'nextOrAccept';
4
4
  export interface PickersActionBarProps extends DialogActionsProps {
5
5
  /**
6
6
  * Ordered array of actions to display.
@@ -44,8 +44,10 @@ function PickersActionBarComponent(props) {
44
44
  clearValue,
45
45
  setValueToToday,
46
46
  acceptValueChanges,
47
- cancelValueChanges
48
- } = (0, _hooks.usePickerActionsContext)();
47
+ cancelValueChanges,
48
+ goToNextStep,
49
+ hasNextStep
50
+ } = (0, _hooks.usePickerContext)();
49
51
  if (actions == null || actions.length === 0) {
50
52
  return null;
51
53
  }
@@ -71,6 +73,22 @@ function PickersActionBarComponent(props) {
71
73
  onClick: setValueToToday,
72
74
  children: translations.todayButtonLabel
73
75
  }, actionType);
76
+ case 'next':
77
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
78
+ onClick: goToNextStep,
79
+ children: translations.nextStepButtonLabel
80
+ }, actionType);
81
+ case 'nextOrAccept':
82
+ if (hasNextStep) {
83
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
84
+ onClick: goToNextStep,
85
+ children: translations.nextStepButtonLabel
86
+ }, actionType);
87
+ }
88
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
89
+ onClick: acceptValueChanges,
90
+ children: translations.okButtonLabel
91
+ }, actionType);
74
92
  default:
75
93
  return null;
76
94
  }
@@ -91,7 +109,7 @@ process.env.NODE_ENV !== "production" ? PickersActionBarComponent.propTypes = {
91
109
  * - `[]` for Desktop Date Picker and Desktop Date Range Picker
92
110
  * - `['cancel', 'accept']` for all other Pickers
93
111
  */
94
- actions: _propTypes.default.arrayOf(_propTypes.default.oneOf(['accept', 'cancel', 'clear', 'today']).isRequired),
112
+ actions: _propTypes.default.arrayOf(_propTypes.default.oneOf(['accept', 'cancel', 'clear', 'next', 'nextOrAccept', 'today']).isRequired),
95
113
  /**
96
114
  * If `true`, the actions do not have additional margin.
97
115
  * @default false
@@ -52,7 +52,8 @@ const StaticDatePicker = exports.StaticDatePicker = /*#__PURE__*/React.forwardRe
52
52
  props,
53
53
  valueManager: _valueManagers.singleItemValueManager,
54
54
  valueType: 'date',
55
- validator: _validation.validateDate
55
+ validator: _validation.validateDate,
56
+ steps: null
56
57
  });
57
58
  return renderPicker();
58
59
  });
@@ -20,6 +20,13 @@ var _utils = require("../internals/utils/utils");
20
20
  var _MultiSectionDigitalClock = require("../MultiSectionDigitalClock");
21
21
  var _dimensions = require("../internals/constants/dimensions");
22
22
  var _DigitalClock = require("../DigitalClock");
23
+ var _dateUtils = require("../internals/utils/date-utils");
24
+ var _timeUtils = require("../internals/utils/time-utils");
25
+ const STEPS = [{
26
+ views: _dateUtils.DATE_VIEWS
27
+ }, {
28
+ views: _timeUtils.EXPORTED_TIME_VIEWS
29
+ }];
23
30
  /**
24
31
  * Demos:
25
32
  *
@@ -94,7 +101,8 @@ const StaticDateTimePicker = exports.StaticDateTimePicker = /*#__PURE__*/React.f
94
101
  props,
95
102
  valueManager: _valueManagers.singleItemValueManager,
96
103
  valueType: 'date-time',
97
- validator: _validation.validateDateTime
104
+ validator: _validation.validateDateTime,
105
+ steps: STEPS
98
106
  });
99
107
  return renderPicker();
100
108
  });
@@ -54,7 +54,8 @@ const StaticTimePicker = exports.StaticTimePicker = /*#__PURE__*/React.forwardRe
54
54
  props,
55
55
  valueManager: _valueManagers.singleItemValueManager,
56
56
  valueType: 'time',
57
- validator: _validation.validateTime
57
+ validator: _validation.validateTime,
58
+ steps: null
58
59
  });
59
60
  return renderPicker();
60
61
  });
@@ -130,7 +130,7 @@ process.env.NODE_ENV !== "production" ? TimeField.propTypes = {
130
130
  formatDensity: _propTypes.default.oneOf(['dense', 'spacious']),
131
131
  /**
132
132
  * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
133
- * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
133
+ * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
134
134
  */
135
135
  FormHelperTextProps: _propTypes.default.object,
136
136
  /**
@@ -157,12 +157,12 @@ process.env.NODE_ENV !== "production" ? TimeField.propTypes = {
157
157
  /**
158
158
  * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
159
159
  * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
160
- * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
160
+ * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
161
161
  */
162
162
  InputLabelProps: _propTypes.default.object,
163
163
  /**
164
164
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
165
- * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
165
+ * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
166
166
  */
167
167
  inputProps: _propTypes.default.object,
168
168
  /**
@@ -170,7 +170,7 @@ process.env.NODE_ENV !== "production" ? TimeField.propTypes = {
170
170
  * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
171
171
  * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
172
172
  * component depending on the `variant` prop value.
173
- * @deprecated Use `slotProps.input` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
173
+ * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
174
174
  */
175
175
  InputProps: _propTypes.default.object,
176
176
  /**
@@ -113,7 +113,7 @@ process.env.NODE_ENV !== "production" ? DateField.propTypes = {
113
113
  formatDensity: PropTypes.oneOf(['dense', 'spacious']),
114
114
  /**
115
115
  * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
116
- * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
116
+ * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
117
117
  */
118
118
  FormHelperTextProps: PropTypes.object,
119
119
  /**
@@ -140,12 +140,12 @@ process.env.NODE_ENV !== "production" ? DateField.propTypes = {
140
140
  /**
141
141
  * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
142
142
  * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
143
- * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
143
+ * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
144
144
  */
145
145
  InputLabelProps: PropTypes.object,
146
146
  /**
147
147
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
148
- * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
148
+ * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
149
149
  */
150
150
  inputProps: PropTypes.object,
151
151
  /**
@@ -153,7 +153,7 @@ process.env.NODE_ENV !== "production" ? DateField.propTypes = {
153
153
  * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
154
154
  * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
155
155
  * component depending on the `variant` prop value.
156
- * @deprecated Use `slotProps.input` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
156
+ * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
157
157
  */
158
158
  InputProps: PropTypes.object,
159
159
  /**
@@ -123,7 +123,7 @@ process.env.NODE_ENV !== "production" ? DateTimeField.propTypes = {
123
123
  formatDensity: PropTypes.oneOf(['dense', 'spacious']),
124
124
  /**
125
125
  * Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
126
- * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
126
+ * @deprecated Use `slotProps.formHelperText` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
127
127
  */
128
128
  FormHelperTextProps: PropTypes.object,
129
129
  /**
@@ -150,12 +150,12 @@ process.env.NODE_ENV !== "production" ? DateTimeField.propTypes = {
150
150
  /**
151
151
  * Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
152
152
  * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
153
- * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
153
+ * @deprecated Use `slotProps.inputLabel` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
154
154
  */
155
155
  InputLabelProps: PropTypes.object,
156
156
  /**
157
157
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
158
- * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
158
+ * @deprecated Use `slotProps.htmlInput` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
159
159
  */
160
160
  inputProps: PropTypes.object,
161
161
  /**
@@ -163,7 +163,7 @@ process.env.NODE_ENV !== "production" ? DateTimeField.propTypes = {
163
163
  * It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
164
164
  * [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
165
165
  * component depending on the `variant` prop value.
166
- * @deprecated Use `slotProps.input` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
166
+ * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
167
167
  */
168
168
  InputProps: PropTypes.object,
169
169
  /**
@@ -62,7 +62,8 @@ const DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DesktopDatePick
62
62
  props,
63
63
  valueManager: singleItemValueManager,
64
64
  valueType: 'date',
65
- validator: validateDate
65
+ validator: validateDate,
66
+ steps: null
66
67
  });
67
68
  return renderPicker();
68
69
  });
@@ -136,7 +136,8 @@ const DesktopDateTimePicker = /*#__PURE__*/React.forwardRef(function DesktopDate
136
136
  valueManager: singleItemValueManager,
137
137
  valueType: 'date-time',
138
138
  validator: validateDateTime,
139
- rendererInterceptor
139
+ rendererInterceptor,
140
+ steps: null
140
141
  });
141
142
  return renderPicker();
142
143
  });
@@ -73,7 +73,8 @@ const DesktopTimePicker = /*#__PURE__*/React.forwardRef(function DesktopTimePick
73
73
  props,
74
74
  valueManager: singleItemValueManager,
75
75
  valueType: 'time',
76
- validator: validateTime
76
+ validator: validateTime,
77
+ steps: null
77
78
  });
78
79
  return renderPicker();
79
80
  });
@@ -41,6 +41,7 @@ const DigitalClockRoot = styled(PickerViewRoot, {
41
41
  })({
42
42
  overflowY: 'auto',
43
43
  width: '100%',
44
+ scrollbarWidth: 'thin',
44
45
  '@media (prefers-reduced-motion: no-preference)': {
45
46
  scrollBehavior: 'auto'
46
47
  },
@@ -15,7 +15,7 @@ export interface LocalizationProviderProps<TLocale> {
15
15
  children?: React.ReactNode;
16
16
  /**
17
17
  * Date library adapter class function.
18
- * @see See the localization provider {@link https://mui.com/x/react-date-pickers/getting-started/#setup-your-date-library-adapter date adapter setup section} for more details.
18
+ * @see See the localization provider {@link https://next.mui.com/x/react-date-pickers/quickstart/#integrate-provider-and-adapter date adapter setup section} for more details.
19
19
  */
20
20
  dateAdapter?: new (...args: any) => MuiPickersAdapter<TLocale>;
21
21
  /** Formats that are used for any child pickers */
@@ -63,7 +63,7 @@ export const LocalizationProvider = function LocalizationProvider(inProps) {
63
63
  instance: dateLibInstance
64
64
  });
65
65
  if (!adapter.isMUIAdapter) {
66
- throw new Error(['MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`', "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", 'More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation'].join(`\n`));
66
+ throw new Error(['MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`', "For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`", 'More information on the installation documentation: https://mui.com/x/react-date-pickers/quickstart/#installation'].join(`\n`));
67
67
  }
68
68
  return adapter;
69
69
  }, [DateAdapter, adapterLocale, dateFormats, dateLibInstance, parentUtils]);
@@ -100,7 +100,7 @@ process.env.NODE_ENV !== "production" ? LocalizationProvider.propTypes = {
100
100
  children: PropTypes.node,
101
101
  /**
102
102
  * Date library adapter class function.
103
- * @see See the localization provider {@link https://mui.com/x/react-date-pickers/getting-started/#setup-your-date-library-adapter date adapter setup section} for more details.
103
+ * @see See the localization provider {@link https://next.mui.com/x/react-date-pickers/quickstart/#integrate-provider-and-adapter date adapter setup section} for more details.
104
104
  */
105
105
  dateAdapter: PropTypes.func,
106
106
  /**
@@ -55,7 +55,8 @@ const MobileDatePicker = /*#__PURE__*/React.forwardRef(function MobileDatePicker
55
55
  props,
56
56
  valueManager: singleItemValueManager,
57
57
  valueType: 'date',
58
- validator: validateDate
58
+ validator: validateDate,
59
+ steps: null
59
60
  });
60
61
  return renderPicker();
61
62
  });