@mui/lab 5.0.0-alpha.45 → 5.0.0-alpha.49

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 (240) hide show
  1. package/Alert/Alert.js +1 -1
  2. package/AlertTitle/AlertTitle.js +1 -1
  3. package/Autocomplete/Autocomplete.js +1 -1
  4. package/AvatarGroup/AvatarGroup.js +1 -1
  5. package/CHANGELOG.md +337 -48
  6. package/CalendarPicker/CalendarPicker.d.ts +2 -2
  7. package/CalendarPicker/CalendarPicker.js +2 -2
  8. package/CalendarPicker/PickersCalendar.d.ts +1 -1
  9. package/CalendarPicker/PickersCalendarHeader.d.ts +4 -1
  10. package/CalendarPicker/PickersCalendarHeader.js +0 -1
  11. package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +2 -2
  12. package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -4
  13. package/ClockPicker/Clock.js +3 -3
  14. package/ClockPicker/ClockPicker.d.ts +6 -4
  15. package/ClockPicker/ClockPicker.js +3 -3
  16. package/ClockPicker/shared.js +1 -1
  17. package/DatePicker/DatePicker.d.ts +3 -3
  18. package/DatePicker/DatePicker.js +7 -7
  19. package/DateRangePicker/DateRangePicker.d.ts +2 -2
  20. package/DateRangePicker/DateRangePicker.js +5 -5
  21. package/DateRangePicker/DateRangePickerInput.d.ts +1 -1
  22. package/DateRangePickerDay/DateRangePickerDay.d.ts +2 -2
  23. package/DateRangePickerDay/DateRangePickerDay.js +2 -2
  24. package/DateTimePicker/DateTimePicker.d.ts +3 -3
  25. package/DateTimePicker/DateTimePicker.js +9 -9
  26. package/DateTimePicker/DateTimePickerToolbar.js +27 -14
  27. package/DateTimePicker/shared.d.ts +1 -1
  28. package/DesktopDatePicker/DesktopDatePicker.d.ts +2 -2
  29. package/DesktopDatePicker/DesktopDatePicker.js +6 -6
  30. package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +2 -2
  31. package/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -5
  32. package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +2 -2
  33. package/DesktopDateTimePicker/DesktopDateTimePicker.js +8 -8
  34. package/DesktopTimePicker/DesktopTimePicker.d.ts +2 -2
  35. package/DesktopTimePicker/DesktopTimePicker.js +5 -5
  36. package/LoadingButton/LoadingButton.d.ts +3 -3
  37. package/LoadingButton/LoadingButton.js +2 -2
  38. package/Masonry/Masonry.d.ts +2 -2
  39. package/Masonry/Masonry.js +1 -1
  40. package/MasonryItem/MasonryItem.d.ts +2 -2
  41. package/MasonryItem/MasonryItem.js +15 -27
  42. package/MobileDatePicker/MobileDatePicker.d.ts +2 -2
  43. package/MobileDatePicker/MobileDatePicker.js +4 -4
  44. package/MobileDateRangePicker/MobileDateRangePicker.d.ts +2 -2
  45. package/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
  46. package/MobileDateTimePicker/MobileDateTimePicker.d.ts +2 -2
  47. package/MobileDateTimePicker/MobileDateTimePicker.js +6 -6
  48. package/MobileTimePicker/MobileTimePicker.d.ts +2 -2
  49. package/MobileTimePicker/MobileTimePicker.js +3 -3
  50. package/MonthPicker/MonthPicker.d.ts +2 -2
  51. package/MonthPicker/MonthPicker.js +2 -2
  52. package/Pagination/Pagination.js +1 -1
  53. package/PaginationItem/PaginationItem.js +1 -1
  54. package/PickersDay/PickersDay.d.ts +2 -2
  55. package/PickersDay/PickersDay.js +3 -3
  56. package/README.md +11 -7
  57. package/Rating/Rating.js +1 -1
  58. package/Skeleton/Skeleton.js +1 -1
  59. package/SpeedDial/SpeedDial.js +1 -1
  60. package/SpeedDialAction/SpeedDialAction.js +1 -1
  61. package/SpeedDialIcon/SpeedDialIcon.js +1 -1
  62. package/StaticDatePicker/StaticDatePicker.d.ts +2 -2
  63. package/StaticDatePicker/StaticDatePicker.js +4 -4
  64. package/StaticDateRangePicker/StaticDateRangePicker.d.ts +2 -2
  65. package/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
  66. package/StaticDateTimePicker/StaticDateTimePicker.d.ts +2 -2
  67. package/StaticDateTimePicker/StaticDateTimePicker.js +6 -6
  68. package/StaticTimePicker/StaticTimePicker.d.ts +2 -2
  69. package/StaticTimePicker/StaticTimePicker.js +3 -3
  70. package/TabContext/TabContext.d.ts +2 -2
  71. package/TabList/TabList.d.ts +3 -3
  72. package/TabPanel/TabPanel.d.ts +2 -2
  73. package/TimePicker/TimePicker.d.ts +3 -3
  74. package/TimePicker/TimePicker.js +6 -6
  75. package/Timeline/Timeline.d.ts +4 -4
  76. package/Timeline/Timeline.js +4 -4
  77. package/TimelineConnector/TimelineConnector.d.ts +2 -2
  78. package/TimelineContent/TimelineContent.d.ts +3 -3
  79. package/TimelineDot/TimelineDot.d.ts +2 -2
  80. package/TimelineItem/TimelineItem.d.ts +2 -2
  81. package/TimelineOppositeContent/TimelineOppositeContent.d.ts +3 -3
  82. package/TimelineSeparator/TimelineSeparator.d.ts +2 -2
  83. package/ToggleButton/ToggleButton.js +1 -1
  84. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  85. package/TreeItem/TreeItem.d.ts +3 -3
  86. package/TreeItem/TreeItem.js +1 -1
  87. package/TreeView/TreeView.d.ts +2 -2
  88. package/YearPicker/PickersYear.js +1 -1
  89. package/YearPicker/YearPicker.d.ts +2 -2
  90. package/YearPicker/YearPicker.js +2 -2
  91. package/index.js +1 -1
  92. package/internal/pickers/PickersArrowSwitcher.d.ts +3 -3
  93. package/internal/pickers/PickersPopper.d.ts +2 -2
  94. package/internal/pickers/PureDateInput.d.ts +1 -1
  95. package/internal/pickers/hooks/date-helpers-hooks.js +1 -1
  96. package/legacy/Alert/Alert.js +1 -1
  97. package/legacy/AlertTitle/AlertTitle.js +1 -1
  98. package/legacy/Autocomplete/Autocomplete.js +1 -1
  99. package/legacy/AvatarGroup/AvatarGroup.js +1 -1
  100. package/legacy/CalendarPicker/CalendarPicker.js +2 -2
  101. package/legacy/CalendarPicker/PickersCalendarHeader.js +0 -1
  102. package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -4
  103. package/legacy/ClockPicker/Clock.js +3 -3
  104. package/legacy/ClockPicker/ClockPicker.js +3 -3
  105. package/legacy/ClockPicker/shared.js +1 -1
  106. package/legacy/DatePicker/DatePicker.js +7 -7
  107. package/legacy/DateRangePicker/DateRangePicker.js +5 -5
  108. package/legacy/DateRangePickerDay/DateRangePickerDay.js +2 -2
  109. package/legacy/DateTimePicker/DateTimePicker.js +9 -9
  110. package/legacy/DateTimePicker/DateTimePickerToolbar.js +30 -15
  111. package/legacy/DesktopDatePicker/DesktopDatePicker.js +6 -6
  112. package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -5
  113. package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +8 -8
  114. package/legacy/DesktopTimePicker/DesktopTimePicker.js +5 -5
  115. package/legacy/LoadingButton/LoadingButton.js +2 -2
  116. package/legacy/Masonry/Masonry.js +1 -1
  117. package/legacy/MasonryItem/MasonryItem.js +18 -30
  118. package/legacy/MobileDatePicker/MobileDatePicker.js +4 -4
  119. package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
  120. package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +6 -6
  121. package/legacy/MobileTimePicker/MobileTimePicker.js +3 -3
  122. package/legacy/MonthPicker/MonthPicker.js +2 -2
  123. package/legacy/Pagination/Pagination.js +1 -1
  124. package/legacy/PaginationItem/PaginationItem.js +1 -1
  125. package/legacy/PickersDay/PickersDay.js +3 -3
  126. package/legacy/Rating/Rating.js +1 -1
  127. package/legacy/Skeleton/Skeleton.js +1 -1
  128. package/legacy/SpeedDial/SpeedDial.js +1 -1
  129. package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
  130. package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
  131. package/legacy/StaticDatePicker/StaticDatePicker.js +4 -4
  132. package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
  133. package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +6 -6
  134. package/legacy/StaticTimePicker/StaticTimePicker.js +3 -3
  135. package/legacy/TimePicker/TimePicker.js +6 -6
  136. package/legacy/Timeline/Timeline.js +4 -4
  137. package/legacy/ToggleButton/ToggleButton.js +1 -1
  138. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  139. package/legacy/TreeItem/TreeItem.js +1 -1
  140. package/legacy/YearPicker/PickersYear.js +1 -1
  141. package/legacy/YearPicker/YearPicker.js +2 -2
  142. package/legacy/index.js +1 -1
  143. package/legacy/internal/pickers/hooks/date-helpers-hooks.js +1 -1
  144. package/modern/Alert/Alert.js +1 -1
  145. package/modern/AlertTitle/AlertTitle.js +1 -1
  146. package/modern/Autocomplete/Autocomplete.js +1 -1
  147. package/modern/AvatarGroup/AvatarGroup.js +1 -1
  148. package/modern/CalendarPicker/CalendarPicker.js +2 -2
  149. package/modern/CalendarPicker/PickersCalendarHeader.js +0 -1
  150. package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -4
  151. package/modern/ClockPicker/Clock.js +3 -3
  152. package/modern/ClockPicker/ClockPicker.js +3 -3
  153. package/modern/ClockPicker/shared.js +1 -1
  154. package/modern/DatePicker/DatePicker.js +7 -7
  155. package/modern/DateRangePicker/DateRangePicker.js +5 -5
  156. package/modern/DateRangePickerDay/DateRangePickerDay.js +2 -2
  157. package/modern/DateTimePicker/DateTimePicker.js +9 -9
  158. package/modern/DateTimePicker/DateTimePickerToolbar.js +27 -14
  159. package/modern/DesktopDatePicker/DesktopDatePicker.js +6 -6
  160. package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -5
  161. package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +8 -8
  162. package/modern/DesktopTimePicker/DesktopTimePicker.js +5 -5
  163. package/modern/LoadingButton/LoadingButton.js +2 -2
  164. package/modern/Masonry/Masonry.js +1 -1
  165. package/modern/MasonryItem/MasonryItem.js +15 -27
  166. package/modern/MobileDatePicker/MobileDatePicker.js +4 -4
  167. package/modern/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
  168. package/modern/MobileDateTimePicker/MobileDateTimePicker.js +6 -6
  169. package/modern/MobileTimePicker/MobileTimePicker.js +3 -3
  170. package/modern/MonthPicker/MonthPicker.js +2 -2
  171. package/modern/Pagination/Pagination.js +1 -1
  172. package/modern/PaginationItem/PaginationItem.js +1 -1
  173. package/modern/PickersDay/PickersDay.js +3 -3
  174. package/modern/Rating/Rating.js +1 -1
  175. package/modern/Skeleton/Skeleton.js +1 -1
  176. package/modern/SpeedDial/SpeedDial.js +1 -1
  177. package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
  178. package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
  179. package/modern/StaticDatePicker/StaticDatePicker.js +4 -4
  180. package/modern/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
  181. package/modern/StaticDateTimePicker/StaticDateTimePicker.js +6 -6
  182. package/modern/StaticTimePicker/StaticTimePicker.js +3 -3
  183. package/modern/TimePicker/TimePicker.js +6 -6
  184. package/modern/Timeline/Timeline.js +4 -4
  185. package/modern/ToggleButton/ToggleButton.js +1 -1
  186. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  187. package/modern/TreeItem/TreeItem.js +1 -1
  188. package/modern/YearPicker/PickersYear.js +1 -1
  189. package/modern/YearPicker/YearPicker.js +2 -2
  190. package/modern/index.js +1 -1
  191. package/modern/internal/pickers/hooks/date-helpers-hooks.js +1 -1
  192. package/node/Alert/Alert.js +1 -1
  193. package/node/AlertTitle/AlertTitle.js +1 -1
  194. package/node/Autocomplete/Autocomplete.js +1 -1
  195. package/node/AvatarGroup/AvatarGroup.js +1 -1
  196. package/node/CalendarPicker/CalendarPicker.js +2 -2
  197. package/node/CalendarPicker/PickersCalendarHeader.js +0 -1
  198. package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +4 -4
  199. package/node/ClockPicker/Clock.js +3 -3
  200. package/node/ClockPicker/ClockPicker.js +3 -3
  201. package/node/ClockPicker/shared.js +1 -1
  202. package/node/DatePicker/DatePicker.js +7 -7
  203. package/node/DateRangePicker/DateRangePicker.js +5 -5
  204. package/node/DateRangePickerDay/DateRangePickerDay.js +2 -2
  205. package/node/DateTimePicker/DateTimePicker.js +9 -9
  206. package/node/DateTimePicker/DateTimePickerToolbar.js +27 -14
  207. package/node/DesktopDatePicker/DesktopDatePicker.js +6 -6
  208. package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +5 -5
  209. package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +8 -8
  210. package/node/DesktopTimePicker/DesktopTimePicker.js +5 -5
  211. package/node/LoadingButton/LoadingButton.js +2 -2
  212. package/node/Masonry/Masonry.js +1 -1
  213. package/node/MasonryItem/MasonryItem.js +14 -26
  214. package/node/MobileDatePicker/MobileDatePicker.js +4 -4
  215. package/node/MobileDateRangePicker/MobileDateRangePicker.js +3 -3
  216. package/node/MobileDateTimePicker/MobileDateTimePicker.js +6 -6
  217. package/node/MobileTimePicker/MobileTimePicker.js +3 -3
  218. package/node/MonthPicker/MonthPicker.js +2 -2
  219. package/node/Pagination/Pagination.js +1 -1
  220. package/node/PaginationItem/PaginationItem.js +1 -1
  221. package/node/PickersDay/PickersDay.js +3 -3
  222. package/node/Rating/Rating.js +1 -1
  223. package/node/Skeleton/Skeleton.js +1 -1
  224. package/node/SpeedDial/SpeedDial.js +1 -1
  225. package/node/SpeedDialAction/SpeedDialAction.js +1 -1
  226. package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
  227. package/node/StaticDatePicker/StaticDatePicker.js +4 -4
  228. package/node/StaticDateRangePicker/StaticDateRangePicker.js +3 -3
  229. package/node/StaticDateTimePicker/StaticDateTimePicker.js +6 -6
  230. package/node/StaticTimePicker/StaticTimePicker.js +3 -3
  231. package/node/TimePicker/TimePicker.js +6 -6
  232. package/node/Timeline/Timeline.js +4 -4
  233. package/node/ToggleButton/ToggleButton.js +1 -1
  234. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  235. package/node/TreeItem/TreeItem.js +1 -1
  236. package/node/YearPicker/PickersYear.js +1 -1
  237. package/node/YearPicker/YearPicker.js +2 -2
  238. package/node/index.js +1 -1
  239. package/node/internal/pickers/hooks/date-helpers-hooks.js +1 -1
  240. package/package.json +13 -13
@@ -16,8 +16,8 @@ export interface ExportedArrowSwitcherProps {
16
16
  * @default {}
17
17
  */
18
18
  componentsProps?: {
19
- leftArrowButton?: any;
20
- rightArrowButton?: any;
19
+ leftArrowButton?: Record<string, any>;
20
+ rightArrowButton?: Record<string, any>;
21
21
  };
22
22
  /**
23
23
  * Left arrow icon aria-label text.
@@ -37,5 +37,5 @@ interface ArrowSwitcherProps extends ExportedArrowSwitcherProps, React.HTMLProps
37
37
  onLeftClick: () => void;
38
38
  onRightClick: () => void;
39
39
  }
40
- declare const PickersArrowSwitcher: React.ForwardRefExoticComponent<Pick<Omit<ArrowSwitcherProps, "as">, "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "hidden" | "selected" | "color" | "width" | "height" | "content" | "translate" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "disabled" | "step" | "start" | "default" | "wrap" | "size" | "open" | "multiple" | "value" | "components" | "componentsProps" | "leftArrowButtonText" | "rightArrowButtonText" | "action" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "max" | "method" | "min" | "crossOrigin" | "classID" | "useMap" | "wmode" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "acceptCharset" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "integrity" | "charSet" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "async" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "isLeftDisabled" | "isLeftHidden" | "isRightDisabled" | "isRightHidden" | "onLeftClick" | "onRightClick"> & React.RefAttributes<HTMLDivElement>>;
40
+ declare const PickersArrowSwitcher: React.ForwardRefExoticComponent<Pick<Omit<ArrowSwitcherProps, "as">, "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "hidden" | "selected" | "color" | "width" | "height" | "content" | "translate" | "className" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "list" | "disabled" | "step" | "start" | "size" | "default" | "wrap" | "open" | "multiple" | "value" | "name" | "components" | "componentsProps" | "leftArrowButtonText" | "rightArrowButtonText" | "action" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "max" | "method" | "min" | "crossOrigin" | "classID" | "useMap" | "wmode" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "acceptCharset" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "integrity" | "charSet" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "async" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "isLeftDisabled" | "isLeftHidden" | "isRightDisabled" | "isRightHidden" | "onLeftClick" | "onRightClick"> & React.RefAttributes<HTMLDivElement>>;
41
41
  export default PickersArrowSwitcher;
@@ -5,11 +5,11 @@ import { TrapFocusProps as MuiTrapFocusProps } from '@mui/material/Unstable_Trap
5
5
  import { TransitionProps as MuiTransitionProps } from '@mui/material/transitions';
6
6
  export interface ExportedPickerPopperProps {
7
7
  /**
8
- * Popper props passed down to [Popper](https://material-ui.com/api/popper/) component.
8
+ * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
9
9
  */
10
10
  PopperProps?: Partial<MuiPopperProps>;
11
11
  /**
12
- * Custom component for popper [Transition](https://material-ui.com/components/transitions/#transitioncomponent-prop).
12
+ * Custom component for popper [Transition](https://mui.com/components/transitions/#transitioncomponent-prop).
13
13
  */
14
14
  TransitionComponent?: React.JSXElementConstructor<MuiTransitionProps>;
15
15
  }
@@ -62,7 +62,7 @@ export interface DateInputProps<TInputValue = ParseableDate<unknown>, TDateValue
62
62
  readOnly?: boolean;
63
63
  /**
64
64
  * The `renderInput` prop allows you to customize the rendered input.
65
- * The `props` argument of this render prop contains props of [TextField](https://material-ui.com/api/text-field/#textfield-api) that you need to forward.
65
+ * The `props` argument of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api) that you need to forward.
66
66
  * Pay specific attention to the `ref` and `inputProps` keys.
67
67
  * @example ```jsx
68
68
  * renderInput={props => <TextField {...props} />}
@@ -28,7 +28,7 @@ export function useMeridiemMode(date, ampm, onChange) {
28
28
  const meridiemMode = getMeridiem(date, utils);
29
29
  const handleMeridiemChange = React.useCallback(mode => {
30
30
  const timeWithMeridiem = convertToMeridiem(date, mode, Boolean(ampm), utils);
31
- onChange(timeWithMeridiem, 'shallow');
31
+ onChange(timeWithMeridiem, 'partial');
32
32
  }, [ampm, date, onChange, utils]);
33
33
  return {
34
34
  meridiemMode,
@@ -9,7 +9,7 @@ var warnedOnce = false;
9
9
 
10
10
  export default /*#__PURE__*/React.forwardRef(function DeprecatedAlert(props, ref) {
11
11
  if (!warnedOnce) {
12
- console.warn(['Material-UI: The Alert component was moved from the lab to the core.', '', "You should use `import { Alert } from '@mui/material'`", "or `import Alert from '@mui/material/Alert'`"].join('\n'));
12
+ console.warn(['MUI: The Alert component was moved from the lab to the core.', '', "You should use `import { Alert } from '@mui/material'`", "or `import Alert from '@mui/material/Alert'`"].join('\n'));
13
13
  warnedOnce = true;
14
14
  }
15
15
 
@@ -9,7 +9,7 @@ var warnedOnce = false;
9
9
 
10
10
  export default /*#__PURE__*/React.forwardRef(function DeprecatedAlertTitle(props, ref) {
11
11
  if (!warnedOnce) {
12
- console.warn(['Material-UI: The AlertTitle component was moved from the lab to the core.', '', "You should use `import { AlertTitle } from '@mui/material'`", "or `import AlertTitle from '@mui/material/AlertTitle'`"].join('\n'));
12
+ console.warn(['MUI: The AlertTitle component was moved from the lab to the core.', '', "You should use `import { AlertTitle } from '@mui/material'`", "or `import AlertTitle from '@mui/material/AlertTitle'`"].join('\n'));
13
13
  warnedOnce = true;
14
14
  }
15
15
 
@@ -9,7 +9,7 @@ var warnedOnce = false;
9
9
 
10
10
  export default /*#__PURE__*/React.forwardRef(function DeprecatedAutocomplete(props, ref) {
11
11
  if (!warnedOnce) {
12
- console.warn(['Material-UI: The Autocomplete component was moved from the lab to the core.', '', "You should use `import { Autocomplete } from '@mui/material'`", "or `import Autocomplete from '@mui/material/Autocomplete'`"].join('\n'));
12
+ console.warn(['MUI: The Autocomplete component was moved from the lab to the core.', '', "You should use `import { Autocomplete } from '@mui/material'`", "or `import Autocomplete from '@mui/material/Autocomplete'`"].join('\n'));
13
13
  warnedOnce = true;
14
14
  }
15
15
 
@@ -9,7 +9,7 @@ var warnedOnce = false;
9
9
 
10
10
  export default /*#__PURE__*/React.forwardRef(function DeprecatedAvatarGroup(props, ref) {
11
11
  if (!warnedOnce) {
12
- console.warn(['Material-UI: The AvatarGroup component was moved from the lab to the core.', '', "You should use `import { AvatarGroup } from '@mui/material'`", "or `import AvatarGroup from '@mui/material/AvatarGroup'`"].join('\n'));
12
+ console.warn(['MUI: The AvatarGroup component was moved from the lab to the core.', '', "You should use `import { AvatarGroup } from '@mui/material'`", "or `import AvatarGroup from '@mui/material/AvatarGroup'`"].join('\n'));
13
13
  warnedOnce = true;
14
14
  }
15
15
 
@@ -327,11 +327,11 @@ process.env.NODE_ENV !== "production" ? CalendarPicker.propTypes
327
327
  *
328
328
  * Demos:
329
329
  *
330
- * - [Date Picker](https://material-ui.com/components/date-picker/)
330
+ * - [Date Picker](https://mui.com/components/date-picker/)
331
331
  *
332
332
  * API:
333
333
  *
334
- * - [CalendarPicker API](https://material-ui.com/api/calendar-picker/)
334
+ * - [CalendarPicker API](https://mui.com/api/calendar-picker/)
335
335
  */
336
336
 
337
337
  export default CalendarPicker;
@@ -161,7 +161,6 @@ function PickersCalendarHeader(props) {
161
161
  as: components.SwitchViewButton,
162
162
  "aria-label": getViewSwitchingButtonText(currentView)
163
163
  }, switchViewButtonProps, {
164
- ownerState: _extends({}, ownerState, switchViewButtonProps),
165
164
  children: /*#__PURE__*/_jsx(PickersCalendarHeaderSwitchView, {
166
165
  as: components.SwitchViewIcon,
167
166
  ownerState: ownerState
@@ -80,11 +80,11 @@ var monthMap = [[0, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1,
80
80
  *
81
81
  * Demos:
82
82
  *
83
- * - [Date Picker](https://material-ui.com/components/date-picker/)
83
+ * - [Date Picker](https://mui.com/components/date-picker/)
84
84
  *
85
85
  * API:
86
86
  *
87
- * - [CalendarPickerSkeleton API](https://material-ui.com/api/calendar-picker-skeleton/)
87
+ * - [CalendarPickerSkeleton API](https://mui.com/api/calendar-picker-skeleton/)
88
88
  */
89
89
 
90
90
  function CalendarPickerSkeleton(props) {
@@ -121,11 +121,11 @@ function CalendarPickerSkeleton(props) {
121
121
  *
122
122
  * Demos:
123
123
  *
124
- * - [Date Picker](https://material-ui.com/components/date-picker/)
124
+ * - [Date Picker](https://mui.com/components/date-picker/)
125
125
  *
126
126
  * API:
127
127
  *
128
- * - [CalendarPickerSkeleton API](https://material-ui.com/api/calendar-picker-skeleton/)
128
+ * - [CalendarPickerSkeleton API](https://mui.com/api/calendar-picker-skeleton/)
129
129
  */
130
130
 
131
131
 
@@ -77,7 +77,7 @@ var ClockAmButton = styled(IconButton, {
77
77
  return _extends({
78
78
  zIndex: 1,
79
79
  position: 'absolute',
80
- bottom: 8,
80
+ bottom: ownerState.ampmInClock ? 64 : 8,
81
81
  left: 8
82
82
  }, ownerState.meridiemMode === 'am' && {
83
83
  backgroundColor: theme.palette.primary.main,
@@ -95,7 +95,7 @@ var ClockPmButton = styled(IconButton, {
95
95
  return _extends({
96
96
  zIndex: 1,
97
97
  position: 'absolute',
98
- bottom: 8,
98
+ bottom: ownerState.ampmInClock ? 64 : 8,
99
99
  right: 8
100
100
  }, ownerState.meridiemMode === 'pm' && {
101
101
  backgroundColor: theme.palette.primary.main,
@@ -195,7 +195,7 @@ function Clock(props) {
195
195
 
196
196
  useEnhancedEffect(function () {
197
197
  if (autoFocus) {
198
- // The ref not being resolved would be a bug in Material-UI.
198
+ // The ref not being resolved would be a bug in MUI.
199
199
  listboxRef.current.focus();
200
200
  }
201
201
  }, [autoFocus]);
@@ -57,7 +57,7 @@ var defaultGetSecondsClockNumberText = function defaultGetSecondsClockNumberText
57
57
  *
58
58
  * API:
59
59
  *
60
- * - [ClockPicker API](https://material-ui.com/api/clock-picker/)
60
+ * - [ClockPicker API](https://mui.com/api/clock-picker/)
61
61
  */
62
62
 
63
63
 
@@ -424,11 +424,11 @@ process.env.NODE_ENV !== "production" ? ClockPicker.propTypes
424
424
  *
425
425
  * Demos:
426
426
  *
427
- * - [Time Picker](https://material-ui.com/components/time-picker/)
427
+ * - [Time Picker](https://mui.com/components/time-picker/)
428
428
  *
429
429
  * API:
430
430
  *
431
- * - [ClockPicker API](https://material-ui.com/api/clock-picker/)
431
+ * - [ClockPicker API](https://mui.com/api/clock-picker/)
432
432
  */
433
433
 
434
434
  export default ClockPicker;
@@ -49,7 +49,7 @@ export var getHours = function getHours(offsetX, offsetY, ampm) {
49
49
  var hour = value || 12;
50
50
 
51
51
  if (!ampm) {
52
- if (distance < 90) {
52
+ if (distance < CLOCK_WIDTH / 2 - CLOCK_HOUR_WIDTH) {
53
53
  hour += 12;
54
54
  hour %= 24;
55
55
  }
@@ -12,12 +12,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
12
12
  *
13
13
  * Demos:
14
14
  *
15
- * - [Date Picker](https://material-ui.com/components/date-picker/)
16
- * - [Pickers](https://material-ui.com/components/pickers/)
15
+ * - [Date Picker](https://mui.com/components/date-picker/)
16
+ * - [Pickers](https://mui.com/components/pickers/)
17
17
  *
18
18
  * API:
19
19
  *
20
- * - [DatePicker API](https://material-ui.com/api/date-picker/)
20
+ * - [DatePicker API](https://mui.com/api/date-picker/)
21
21
  */
22
22
  var DatePicker = /*#__PURE__*/React.forwardRef(function DatePicker(inProps, ref) {
23
23
  var props = useThemeProps({
@@ -333,7 +333,7 @@ process.env.NODE_ENV !== "production" ? DatePicker.propTypes
333
333
  orientation: PropTypes.oneOf(['landscape', 'portrait']),
334
334
 
335
335
  /**
336
- * Popper props passed down to [Popper](https://material-ui.com/api/popper/) component.
336
+ * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
337
337
  */
338
338
  PopperProps: PropTypes.object,
339
339
 
@@ -349,13 +349,13 @@ process.env.NODE_ENV !== "production" ? DatePicker.propTypes
349
349
  reduceAnimations: PropTypes.bool,
350
350
 
351
351
  /**
352
- * Custom renderer for day. Check the [PickersDay](https://material-ui.com/api/pickers-day/) component.
352
+ * Custom renderer for day. Check the [PickersDay](https://mui.com/api/pickers-day/) component.
353
353
  */
354
354
  renderDay: PropTypes.func,
355
355
 
356
356
  /**
357
357
  * The `renderInput` prop allows you to customize the rendered input.
358
- * The `props` argument of this render prop contains props of [TextField](https://material-ui.com/api/text-field/#textfield-api) that you need to forward.
358
+ * The `props` argument of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api) that you need to forward.
359
359
  * Pay specific attention to the `ref` and `inputProps` keys.
360
360
  * @example ```jsx
361
361
  * renderInput={props => <TextField {...props} />}
@@ -437,7 +437,7 @@ process.env.NODE_ENV !== "production" ? DatePicker.propTypes
437
437
  toolbarTitle: PropTypes.node,
438
438
 
439
439
  /**
440
- * Custom component for popper [Transition](https://material-ui.com/components/transitions/#transitioncomponent-prop).
440
+ * Custom component for popper [Transition](https://mui.com/components/transitions/#transitioncomponent-prop).
441
441
  */
442
442
  TransitionComponent: PropTypes.elementType,
443
443
 
@@ -25,11 +25,11 @@ var rangePickerValueManager = {
25
25
  *
26
26
  * Demos:
27
27
  *
28
- * - [Date Range Picker](https://material-ui.com/components/date-range-picker/)
28
+ * - [Date Range Picker](https://mui.com/components/date-range-picker/)
29
29
  *
30
30
  * API:
31
31
  *
32
- * - [DateRangePicker API](https://material-ui.com/api/date-range-picker/)
32
+ * - [DateRangePicker API](https://mui.com/api/date-range-picker/)
33
33
  */
34
34
  var DateRangePicker = /*#__PURE__*/React.forwardRef(function DateRangePicker(inProps, ref) {
35
35
  var props = useThemeProps({
@@ -394,7 +394,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes
394
394
  orientation: PropTypes.oneOf(['landscape', 'portrait']),
395
395
 
396
396
  /**
397
- * Popper props passed down to [Popper](https://material-ui.com/api/popper/) component.
397
+ * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
398
398
  */
399
399
  PopperProps: PropTypes.object,
400
400
 
@@ -417,7 +417,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes
417
417
 
418
418
  /**
419
419
  * The `renderInput` prop allows you to customize the rendered input.
420
- * The `startProps` and `endProps` arguments of this render prop contains props of [TextField](https://material-ui.com/api/text-field/#textfield-api),
420
+ * The `startProps` and `endProps` arguments of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api),
421
421
  * that you need to forward to the range start/end inputs respectively.
422
422
  * Pay specific attention to the `ref` and `inputProps` keys.
423
423
  * @example
@@ -514,7 +514,7 @@ process.env.NODE_ENV !== "production" ? DateRangePicker.propTypes
514
514
  toolbarTitle: PropTypes.node,
515
515
 
516
516
  /**
517
- * Custom component for popper [Transition](https://material-ui.com/components/transitions/#transitioncomponent-prop).
517
+ * Custom component for popper [Transition](https://mui.com/components/transitions/#transitioncomponent-prop).
518
518
  */
519
519
  TransitionComponent: PropTypes.elementType,
520
520
 
@@ -239,11 +239,11 @@ process.env.NODE_ENV !== "production" ? DateRangePickerDay.propTypes
239
239
  *
240
240
  * Demos:
241
241
  *
242
- * - [Date Range Picker](https://material-ui.com/components/date-range-picker/)
242
+ * - [Date Range Picker](https://mui.com/components/date-range-picker/)
243
243
  *
244
244
  * API:
245
245
  *
246
- * - [DateRangePickerDay API](https://material-ui.com/api/date-range-picker-day/)
246
+ * - [DateRangePickerDay API](https://mui.com/api/date-range-picker-day/)
247
247
  */
248
248
 
249
249
  export default /*#__PURE__*/React.memo(DateRangePickerDay, function (prevProps, nextProps) {
@@ -12,12 +12,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
12
12
  *
13
13
  * Demos:
14
14
  *
15
- * - [Date Time Picker](https://material-ui.com/components/date-time-picker/)
16
- * - [Pickers](https://material-ui.com/components/pickers/)
15
+ * - [Date Time Picker](https://mui.com/components/date-time-picker/)
16
+ * - [Pickers](https://mui.com/components/pickers/)
17
17
  *
18
18
  * API:
19
19
  *
20
- * - [DateTimePicker API](https://material-ui.com/api/date-time-picker/)
20
+ * - [DateTimePicker API](https://mui.com/api/date-time-picker/)
21
21
  */
22
22
  var DateTimePicker = /*#__PURE__*/React.forwardRef(function DateTimePicker(inProps, ref) {
23
23
  var props = useThemeProps({
@@ -394,7 +394,7 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
394
394
  /**
395
395
  * First view to show.
396
396
  */
397
- openTo: PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'year']),
397
+ openTo: PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'seconds', 'year']),
398
398
 
399
399
  /**
400
400
  * Force rendering in particular orientation.
@@ -402,7 +402,7 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
402
402
  orientation: PropTypes.oneOf(['landscape', 'portrait']),
403
403
 
404
404
  /**
405
- * Popper props passed down to [Popper](https://material-ui.com/api/popper/) component.
405
+ * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
406
406
  */
407
407
  PopperProps: PropTypes.object,
408
408
 
@@ -418,13 +418,13 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
418
418
  reduceAnimations: PropTypes.bool,
419
419
 
420
420
  /**
421
- * Custom renderer for day. Check the [PickersDay](https://material-ui.com/api/pickers-day/) component.
421
+ * Custom renderer for day. Check the [PickersDay](https://mui.com/api/pickers-day/) component.
422
422
  */
423
423
  renderDay: PropTypes.func,
424
424
 
425
425
  /**
426
426
  * The `renderInput` prop allows you to customize the rendered input.
427
- * The `props` argument of this render prop contains props of [TextField](https://material-ui.com/api/text-field/#textfield-api) that you need to forward.
427
+ * The `props` argument of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api) that you need to forward.
428
428
  * Pay specific attention to the `ref` and `inputProps` keys.
429
429
  * @example ```jsx
430
430
  * renderInput={props => <TextField {...props} />}
@@ -517,7 +517,7 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
517
517
  toolbarTitle: PropTypes.node,
518
518
 
519
519
  /**
520
- * Custom component for popper [Transition](https://material-ui.com/components/transitions/#transitioncomponent-prop).
520
+ * Custom component for popper [Transition](https://mui.com/components/transitions/#transitioncomponent-prop).
521
521
  */
522
522
  TransitionComponent: PropTypes.elementType,
523
523
 
@@ -529,6 +529,6 @@ process.env.NODE_ENV !== "production" ? DateTimePicker.propTypes
529
529
  /**
530
530
  * Array of views to show.
531
531
  */
532
- views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'year']).isRequired)
532
+ views: PropTypes.arrayOf(PropTypes.oneOf(['day', 'hours', 'minutes', 'month', 'seconds', 'year']).isRequired)
533
533
  } : void 0;
534
534
  export default DateTimePicker;
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
3
3
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
4
4
 
5
- var _DateTimePickerToolba;
5
+ var _DateTimePickerToolba, _DateTimePickerToolba2;
6
6
 
7
7
  import * as React from 'react';
8
8
  import { styled } from '@mui/material/styles';
@@ -65,7 +65,8 @@ var DateTimePickerToolbar = function DateTimePickerToolbar(props) {
65
65
  toolbarPlaceholder = _props$toolbarPlaceho === void 0 ? '––' : _props$toolbarPlaceho,
66
66
  _props$toolbarTitle = props.toolbarTitle,
67
67
  toolbarTitle = _props$toolbarTitle === void 0 ? 'Select date & time' : _props$toolbarTitle,
68
- other = _objectWithoutProperties(props, ["ampm", "date", "dateRangeIcon", "hideTabs", "isMobileKeyboardViewOpen", "onChange", "openView", "setOpenView", "timeIcon", "toggleMobileKeyboardView", "toolbarFormat", "toolbarPlaceholder", "toolbarTitle"]);
68
+ views = props.views,
69
+ other = _objectWithoutProperties(props, ["ampm", "date", "dateRangeIcon", "hideTabs", "isMobileKeyboardViewOpen", "onChange", "openView", "setOpenView", "timeIcon", "toggleMobileKeyboardView", "toolbarFormat", "toolbarPlaceholder", "toolbarTitle", "views"]);
69
70
 
70
71
  var utils = useUtils();
71
72
  var wrapperVariant = React.useContext(WrapperVariantContext);
@@ -95,7 +96,7 @@ var DateTimePickerToolbar = function DateTimePickerToolbar(props) {
95
96
  }, other, {
96
97
  isLandscape: false,
97
98
  children: [/*#__PURE__*/_jsxs(DateTimePickerToolbarDateContainer, {
98
- children: [/*#__PURE__*/_jsx(PickersToolbarButton, {
99
+ children: [views.includes('year') && /*#__PURE__*/_jsx(PickersToolbarButton, {
99
100
  tabIndex: -1,
100
101
  variant: "subtitle1",
101
102
  onClick: function onClick() {
@@ -103,7 +104,7 @@ var DateTimePickerToolbar = function DateTimePickerToolbar(props) {
103
104
  },
104
105
  selected: openView === 'year',
105
106
  value: date ? utils.format(date, 'year') : '–'
106
- }), /*#__PURE__*/_jsx(PickersToolbarButton, {
107
+ }), views.includes('day') && /*#__PURE__*/_jsx(PickersToolbarButton, {
107
108
  tabIndex: -1,
108
109
  variant: "h4",
109
110
  onClick: function onClick() {
@@ -113,23 +114,37 @@ var DateTimePickerToolbar = function DateTimePickerToolbar(props) {
113
114
  value: dateText
114
115
  })]
115
116
  }), /*#__PURE__*/_jsxs(DateTimePickerToolbarTimeContainer, {
116
- children: [/*#__PURE__*/_jsx(PickersToolbarButton, {
117
+ children: [views.includes('hours') && /*#__PURE__*/_jsx(PickersToolbarButton, {
117
118
  variant: "h3",
118
119
  onClick: function onClick() {
119
120
  return setOpenView('hours');
120
121
  },
121
122
  selected: openView === 'hours',
122
123
  value: date ? formatHours(date) : '--'
123
- }), _DateTimePickerToolba || (_DateTimePickerToolba = /*#__PURE__*/_jsx(DateTimePickerToolbarSeparator, {
124
- variant: "h3",
125
- value: ":"
126
- })), /*#__PURE__*/_jsx(PickersToolbarButton, {
127
- variant: "h3",
128
- onClick: function onClick() {
129
- return setOpenView('minutes');
130
- },
131
- selected: openView === 'minutes',
132
- value: date ? utils.format(date, 'minutes') : '--'
124
+ }), views.includes('minutes') && /*#__PURE__*/_jsxs(React.Fragment, {
125
+ children: [_DateTimePickerToolba || (_DateTimePickerToolba = /*#__PURE__*/_jsx(DateTimePickerToolbarSeparator, {
126
+ variant: "h3",
127
+ value: ":"
128
+ })), /*#__PURE__*/_jsx(PickersToolbarButton, {
129
+ variant: "h3",
130
+ onClick: function onClick() {
131
+ return setOpenView('minutes');
132
+ },
133
+ selected: openView === 'minutes',
134
+ value: date ? utils.format(date, 'minutes') : '--'
135
+ })]
136
+ }), views.includes('seconds') && /*#__PURE__*/_jsxs(React.Fragment, {
137
+ children: [_DateTimePickerToolba2 || (_DateTimePickerToolba2 = /*#__PURE__*/_jsx(DateTimePickerToolbarSeparator, {
138
+ variant: "h3",
139
+ value: ":"
140
+ })), /*#__PURE__*/_jsx(PickersToolbarButton, {
141
+ variant: "h3",
142
+ onClick: function onClick() {
143
+ return setOpenView('seconds');
144
+ },
145
+ selected: openView === 'seconds',
146
+ value: date ? utils.format(date, 'seconds') : '--'
147
+ })]
133
148
  })]
134
149
  })]
135
150
  })), showTabs && /*#__PURE__*/_jsx(DateTimePickerTabs, {
@@ -23,11 +23,11 @@ var valueManager = {
23
23
  *
24
24
  * Demos:
25
25
  *
26
- * - [Date Picker](https://material-ui.com/components/date-picker/)
26
+ * - [Date Picker](https://mui.com/components/date-picker/)
27
27
  *
28
28
  * API:
29
29
  *
30
- * - [DesktopDatePicker API](https://material-ui.com/api/desktop-date-picker/)
30
+ * - [DesktopDatePicker API](https://mui.com/api/desktop-date-picker/)
31
31
  */
32
32
  var DesktopDatePicker = /*#__PURE__*/React.forwardRef(function DesktopDatePicker(inProps, ref) {
33
33
  // TODO: TDate needs to be instantiated at every usage.
@@ -308,7 +308,7 @@ process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes
308
308
  orientation: PropTypes.oneOf(['landscape', 'portrait']),
309
309
 
310
310
  /**
311
- * Popper props passed down to [Popper](https://material-ui.com/api/popper/) component.
311
+ * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
312
312
  */
313
313
  PopperProps: PropTypes.object,
314
314
 
@@ -324,13 +324,13 @@ process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes
324
324
  reduceAnimations: PropTypes.bool,
325
325
 
326
326
  /**
327
- * Custom renderer for day. Check the [PickersDay](https://material-ui.com/api/pickers-day/) component.
327
+ * Custom renderer for day. Check the [PickersDay](https://mui.com/api/pickers-day/) component.
328
328
  */
329
329
  renderDay: PropTypes.func,
330
330
 
331
331
  /**
332
332
  * The `renderInput` prop allows you to customize the rendered input.
333
- * The `props` argument of this render prop contains props of [TextField](https://material-ui.com/api/text-field/#textfield-api) that you need to forward.
333
+ * The `props` argument of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api) that you need to forward.
334
334
  * Pay specific attention to the `ref` and `inputProps` keys.
335
335
  * @example ```jsx
336
336
  * renderInput={props => <TextField {...props} />}
@@ -400,7 +400,7 @@ process.env.NODE_ENV !== "production" ? DesktopDatePicker.propTypes
400
400
  toolbarTitle: PropTypes.node,
401
401
 
402
402
  /**
403
- * Custom component for popper [Transition](https://material-ui.com/components/transitions/#transitioncomponent-prop).
403
+ * Custom component for popper [Transition](https://mui.com/components/transitions/#transitioncomponent-prop).
404
404
  */
405
405
  TransitionComponent: PropTypes.elementType,
406
406
 
@@ -24,11 +24,11 @@ var rangePickerValueManager = {
24
24
  *
25
25
  * Demos:
26
26
  *
27
- * - [Date Range Picker](https://material-ui.com/components/date-range-picker/)
27
+ * - [Date Range Picker](https://mui.com/components/date-range-picker/)
28
28
  *
29
29
  * API:
30
30
  *
31
- * - [DesktopDateRangePicker API](https://material-ui.com/api/desktop-date-range-picker/)
31
+ * - [DesktopDateRangePicker API](https://mui.com/api/desktop-date-range-picker/)
32
32
  */
33
33
  var DesktopDateRangePicker = /*#__PURE__*/React.forwardRef(function DesktopDateRangePicker(inProps, ref) {
34
34
  var props = useThemeProps({
@@ -360,7 +360,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes
360
360
  orientation: PropTypes.oneOf(['landscape', 'portrait']),
361
361
 
362
362
  /**
363
- * Popper props passed down to [Popper](https://material-ui.com/api/popper/) component.
363
+ * Popper props passed down to [Popper](https://mui.com/api/popper/) component.
364
364
  */
365
365
  PopperProps: PropTypes.object,
366
366
 
@@ -383,7 +383,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes
383
383
 
384
384
  /**
385
385
  * The `renderInput` prop allows you to customize the rendered input.
386
- * The `startProps` and `endProps` arguments of this render prop contains props of [TextField](https://material-ui.com/api/text-field/#textfield-api),
386
+ * The `startProps` and `endProps` arguments of this render prop contains props of [TextField](https://mui.com/api/text-field/#textfield-api),
387
387
  * that you need to forward to the range start/end inputs respectively.
388
388
  * Pay specific attention to the `ref` and `inputProps` keys.
389
389
  * @example
@@ -468,7 +468,7 @@ process.env.NODE_ENV !== "production" ? DesktopDateRangePicker.propTypes
468
468
  toolbarTitle: PropTypes.node,
469
469
 
470
470
  /**
471
- * Custom component for popper [Transition](https://material-ui.com/components/transitions/#transitioncomponent-prop).
471
+ * Custom component for popper [Transition](https://mui.com/components/transitions/#transitioncomponent-prop).
472
472
  */
473
473
  TransitionComponent: PropTypes.elementType,
474
474