@mui/lab 5.0.0-alpha.53 → 5.0.0-alpha.57
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.
- package/AdapterDateFns/index.d.ts +1 -1
- package/AdapterDayjs/index.d.ts +1 -1
- package/AdapterLuxon/index.d.ts +1 -1
- package/AdapterMoment/index.d.ts +1 -1
- package/CHANGELOG.md +299 -9
- package/CalendarPicker/CalendarPicker.d.ts +106 -96
- package/CalendarPicker/CalendarPicker.js +13 -1
- package/CalendarPicker/PickersCalendar.d.ts +47 -45
- package/CalendarPicker/PickersCalendar.js +9 -3
- package/CalendarPicker/PickersCalendarHeader.d.ts +43 -42
- package/CalendarPicker/PickersCalendarHeader.js +5 -4
- package/CalendarPicker/PickersFadeTransitionGroup.d.ts +12 -12
- package/CalendarPicker/PickersFadeTransitionGroup.js +1 -1
- package/CalendarPicker/PickersSlideTransition.d.ts +16 -16
- package/CalendarPicker/PickersSlideTransition.js +1 -1
- package/CalendarPicker/index.d.ts +5 -5
- package/CalendarPicker/shared.d.ts +1 -1
- package/CalendarPicker/useCalendarState.d.ts +32 -32
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +41 -41
- package/CalendarPickerSkeleton/CalendarPickerSkeleton.js +2 -2
- package/CalendarPickerSkeleton/index.d.ts +3 -3
- package/ClockPicker/Clock.d.ts +28 -28
- package/ClockPicker/ClockNumber.d.ts +19 -19
- package/ClockPicker/ClockNumber.js +1 -1
- package/ClockPicker/ClockNumbers.d.ts +24 -24
- package/ClockPicker/ClockPicker.d.ts +121 -121
- package/ClockPicker/ClockPicker.js +1 -1
- package/ClockPicker/ClockPickerStandalone.d.ts +28 -28
- package/ClockPicker/ClockPointer.d.ts +23 -23
- package/ClockPicker/index.d.ts +5 -5
- package/ClockPicker/shared.d.ts +5 -5
- package/DatePicker/DatePicker.d.ts +27 -27
- package/DatePicker/DatePicker.js +2 -0
- package/DatePicker/DatePickerToolbar.d.ts +23 -23
- package/DatePicker/DatePickerToolbar.js +1 -1
- package/DatePicker/index.d.ts +2 -2
- package/DatePicker/shared.d.ts +45 -45
- package/DateRangePicker/DateRangePicker.d.ts +65 -65
- package/DateRangePicker/DateRangePicker.js +2 -0
- package/DateRangePicker/DateRangePickerInput.d.ts +35 -35
- package/DateRangePicker/DateRangePickerToolbar.d.ts +15 -15
- package/DateRangePicker/DateRangePickerToolbar.js +1 -1
- package/DateRangePicker/DateRangePickerView.d.ts +44 -44
- package/DateRangePicker/DateRangePickerViewDesktop.d.ts +29 -29
- package/DateRangePicker/DateRangePickerViewMobile.d.ts +17 -17
- package/DateRangePicker/RangeTypes.d.ts +8 -8
- package/DateRangePicker/date-range-manager.d.ts +14 -14
- package/DateRangePicker/index.d.ts +3 -3
- package/DateRangePickerDay/DateRangePickerDay.d.ts +79 -79
- package/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/DateRangePickerDay/index.d.ts +2 -2
- package/DateTimePicker/DateTimePicker.d.ts +27 -27
- package/DateTimePicker/DateTimePicker.js +2 -0
- package/DateTimePicker/DateTimePickerTabs.d.ts +13 -13
- package/DateTimePicker/DateTimePickerToolbar.d.ts +7 -7
- package/DateTimePicker/DateTimePickerToolbar.js +1 -1
- package/DateTimePicker/index.d.ts +2 -2
- package/DateTimePicker/shared.d.ts +67 -67
- package/DesktopDatePicker/DesktopDatePicker.d.ts +20 -20
- package/DesktopDatePicker/DesktopDatePicker.js +2 -0
- package/DesktopDatePicker/index.d.ts +2 -2
- package/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +64 -64
- package/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -0
- package/DesktopDateRangePicker/index.d.ts +2 -2
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +20 -20
- package/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -0
- package/DesktopDateTimePicker/index.d.ts +2 -2
- package/DesktopTimePicker/DesktopTimePicker.d.ts +20 -20
- package/DesktopTimePicker/index.d.ts +2 -2
- package/LICENSE +21 -21
- package/LoadingButton/LoadingButton.js +20 -7
- package/LoadingButton/loadingButtonClasses.d.ts +22 -22
- package/LoadingButton/loadingButtonClasses.js +1 -1
- package/LocalizationProvider/LocalizationProvider.d.ts +35 -35
- package/LocalizationProvider/index.d.ts +2 -2
- package/Masonry/Masonry.js +83 -98
- package/Masonry/masonryClasses.d.ts +8 -8
- package/Masonry/masonryClasses.js +1 -1
- package/MobileDatePicker/MobileDatePicker.d.ts +20 -20
- package/MobileDatePicker/MobileDatePicker.js +2 -0
- package/MobileDatePicker/index.d.ts +2 -2
- package/MobileDateRangePicker/MobileDateRangePicker.d.ts +64 -64
- package/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
- package/MobileDateRangePicker/index.d.ts +2 -2
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +20 -20
- package/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
- package/MobileDateTimePicker/index.d.ts +2 -2
- package/MobileTimePicker/MobileTimePicker.d.ts +20 -20
- package/MobileTimePicker/index.d.ts +2 -2
- package/MonthPicker/MonthPicker.d.ts +53 -49
- package/MonthPicker/MonthPicker.js +23 -6
- package/MonthPicker/PickersMonth.d.ts +15 -15
- package/MonthPicker/PickersMonth.js +19 -14
- package/MonthPicker/index.d.ts +3 -3
- package/PickersDay/PickersDay.d.ts +93 -93
- package/PickersDay/PickersDay.js +2 -2
- package/PickersDay/index.d.ts +4 -4
- package/StaticDatePicker/StaticDatePicker.d.ts +25 -25
- package/StaticDatePicker/StaticDatePicker.js +2 -0
- package/StaticDatePicker/index.d.ts +2 -2
- package/StaticDateRangePicker/StaticDateRangePicker.d.ts +67 -67
- package/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
- package/StaticDateRangePicker/index.d.ts +2 -2
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +25 -25
- package/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
- package/StaticDateTimePicker/index.d.ts +2 -2
- package/StaticTimePicker/StaticTimePicker.d.ts +25 -25
- package/StaticTimePicker/index.d.ts +2 -2
- package/TabPanel/TabPanel.js +2 -2
- package/TabPanel/tabPanelClasses.d.ts +8 -8
- package/TabPanel/tabPanelClasses.js +1 -1
- package/TimePicker/TimePicker.d.ts +27 -27
- package/TimePicker/TimePickerToolbar.d.ts +23 -23
- package/TimePicker/TimePickerToolbar.js +1 -1
- package/TimePicker/index.d.ts +2 -2
- package/TimePicker/shared.d.ts +36 -36
- package/Timeline/Timeline.d.ts +59 -59
- package/Timeline/Timeline.js +2 -2
- package/Timeline/TimelineContext.d.ts +6 -6
- package/Timeline/index.d.ts +5 -5
- package/Timeline/timelineClasses.d.ts +3 -3
- package/Timeline/timelineClasses.js +1 -1
- package/TimelineConnector/TimelineConnector.js +2 -2
- package/TimelineConnector/timelineConnectorClasses.d.ts +8 -8
- package/TimelineConnector/timelineConnectorClasses.js +1 -1
- package/TimelineContent/TimelineContent.js +2 -2
- package/TimelineContent/timelineContentClasses.d.ts +14 -14
- package/TimelineContent/timelineContentClasses.js +1 -1
- package/TimelineDot/TimelineDot.js +2 -2
- package/TimelineDot/timelineDotClasses.d.ts +24 -24
- package/TimelineDot/timelineDotClasses.js +1 -1
- package/TimelineItem/TimelineItem.js +2 -2
- package/TimelineItem/timelineItemClasses.d.ts +16 -16
- package/TimelineItem/timelineItemClasses.js +1 -1
- package/TimelineOppositeContent/TimelineOppositeContent.js +2 -2
- package/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +14 -14
- package/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
- package/TimelineSeparator/TimelineSeparator.js +2 -2
- package/TimelineSeparator/timelineSeparatorClasses.d.ts +8 -8
- package/TimelineSeparator/timelineSeparatorClasses.js +1 -1
- package/TreeItem/TreeItem.js +2 -2
- package/TreeItem/treeItemClasses.d.ts +24 -24
- package/TreeItem/treeItemClasses.js +1 -1
- package/TreeView/TreeView.js +2 -2
- package/TreeView/treeViewClasses.d.ts +8 -8
- package/TreeView/treeViewClasses.js +1 -1
- package/YearPicker/PickersYear.d.ts +28 -28
- package/YearPicker/PickersYear.js +2 -2
- package/YearPicker/YearPicker.d.ts +44 -42
- package/YearPicker/YearPicker.js +18 -2
- package/YearPicker/index.d.ts +5 -5
- package/YearPicker/yearPickerClasses.d.ts +3 -3
- package/YearPicker/yearPickerClasses.js +1 -1
- package/index.d.ts +3 -0
- package/index.js +4 -2
- package/internal/pickers/KeyboardDateInput.d.ts +4 -4
- package/internal/pickers/Picker/Picker.d.ts +33 -33
- package/internal/pickers/Picker/PickerView.d.ts +3 -3
- package/internal/pickers/PickersArrowSwitcher.d.ts +41 -41
- package/internal/pickers/PickersModalDialog.d.ts +47 -47
- package/internal/pickers/PickersPopper.d.ts +33 -33
- package/internal/pickers/PickersToolbar.d.ts +14 -14
- package/internal/pickers/PickersToolbar.js +1 -1
- package/internal/pickers/PickersToolbarButton.d.ts +13 -13
- package/internal/pickers/PickersToolbarText.d.ts +8 -8
- package/internal/pickers/PickersToolbarText.js +1 -1
- package/internal/pickers/PureDateInput.d.ts +80 -80
- package/internal/pickers/constants/dimensions.d.ts +4 -4
- package/internal/pickers/constants/prop-types.d.ts +1 -1
- package/internal/pickers/date-time-utils.d.ts +8 -8
- package/internal/pickers/date-utils.d.ts +52 -52
- package/internal/pickers/hooks/date-helpers-hooks.d.ts +16 -16
- package/internal/pickers/hooks/useIsLandscape.d.ts +4 -4
- package/internal/pickers/hooks/useMaskedInput.d.ts +7 -7
- package/internal/pickers/hooks/useOpenState.d.ts +10 -10
- package/internal/pickers/hooks/usePickerState.d.ts +38 -38
- package/internal/pickers/hooks/useUtils.d.ts +7 -7
- package/internal/pickers/hooks/useValidation.d.ts +23 -23
- package/internal/pickers/hooks/useViews.d.ts +19 -19
- package/internal/pickers/test-utils.js +17 -7
- package/internal/pickers/text-field-helper.d.ts +11 -11
- package/internal/pickers/time-utils.d.ts +33 -33
- package/internal/pickers/typings/BasePicker.d.ts +95 -95
- package/internal/pickers/typings/Views.d.ts +1 -1
- package/internal/pickers/typings/helpers.d.ts +9 -9
- package/internal/pickers/utils.d.ts +7 -7
- package/internal/pickers/wrappers/DesktopTooltipWrapper.d.ts +4 -4
- package/internal/pickers/wrappers/DesktopWrapper.d.ts +16 -16
- package/internal/pickers/wrappers/MobileWrapper.d.ts +14 -14
- package/internal/pickers/wrappers/ResponsiveWrapper.d.ts +23 -23
- package/internal/pickers/wrappers/StaticWrapper.d.ts +10 -10
- package/internal/pickers/wrappers/WrapperProps.d.ts +13 -13
- package/internal/pickers/wrappers/WrapperVariantContext.d.ts +11 -11
- package/internal/svg-icons/ArrowDropDown.d.ts +7 -7
- package/internal/svg-icons/ArrowLeft.d.ts +7 -7
- package/internal/svg-icons/ArrowRight.d.ts +7 -7
- package/internal/svg-icons/Calendar.d.ts +7 -7
- package/internal/svg-icons/Clock.d.ts +7 -7
- package/internal/svg-icons/DateRange.d.ts +7 -7
- package/internal/svg-icons/Pen.d.ts +7 -7
- package/internal/svg-icons/Time.d.ts +7 -7
- package/legacy/CalendarPicker/CalendarPicker.js +13 -1
- package/legacy/CalendarPicker/PickersCalendar.js +10 -3
- package/legacy/CalendarPicker/PickersCalendarHeader.js +5 -4
- package/legacy/CalendarPicker/PickersFadeTransitionGroup.js +1 -1
- package/legacy/CalendarPicker/PickersSlideTransition.js +1 -1
- package/legacy/CalendarPickerSkeleton/CalendarPickerSkeleton.js +2 -2
- package/legacy/ClockPicker/ClockNumber.js +1 -1
- package/legacy/ClockPicker/ClockPicker.js +1 -1
- package/legacy/DatePicker/DatePicker.js +2 -0
- package/legacy/DatePicker/DatePickerToolbar.js +1 -1
- package/legacy/DateRangePicker/DateRangePicker.js +2 -0
- package/legacy/DateRangePicker/DateRangePickerToolbar.js +1 -1
- package/legacy/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/legacy/DateTimePicker/DateTimePicker.js +2 -0
- package/legacy/DateTimePicker/DateTimePickerToolbar.js +1 -1
- package/legacy/DesktopDatePicker/DesktopDatePicker.js +2 -0
- package/legacy/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -0
- package/legacy/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -0
- package/legacy/LoadingButton/LoadingButton.js +20 -6
- package/legacy/LoadingButton/loadingButtonClasses.js +1 -1
- package/legacy/Masonry/Masonry.js +83 -96
- package/legacy/Masonry/masonryClasses.js +1 -1
- package/legacy/MobileDatePicker/MobileDatePicker.js +2 -0
- package/legacy/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
- package/legacy/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
- package/legacy/MonthPicker/MonthPicker.js +22 -5
- package/legacy/MonthPicker/PickersMonth.js +20 -15
- package/legacy/PickersDay/PickersDay.js +2 -2
- package/legacy/StaticDatePicker/StaticDatePicker.js +2 -0
- package/legacy/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
- package/legacy/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
- package/legacy/TabPanel/TabPanel.js +2 -2
- package/legacy/TabPanel/tabPanelClasses.js +1 -1
- package/legacy/TimePicker/TimePickerToolbar.js +1 -1
- package/legacy/Timeline/Timeline.js +2 -2
- package/legacy/Timeline/timelineClasses.js +1 -1
- package/legacy/TimelineConnector/TimelineConnector.js +2 -2
- package/legacy/TimelineConnector/timelineConnectorClasses.js +1 -1
- package/legacy/TimelineContent/TimelineContent.js +2 -2
- package/legacy/TimelineContent/timelineContentClasses.js +1 -1
- package/legacy/TimelineDot/TimelineDot.js +2 -2
- package/legacy/TimelineDot/timelineDotClasses.js +1 -1
- package/legacy/TimelineItem/TimelineItem.js +2 -2
- package/legacy/TimelineItem/timelineItemClasses.js +1 -1
- package/legacy/TimelineOppositeContent/TimelineOppositeContent.js +2 -2
- package/legacy/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
- package/legacy/TimelineSeparator/TimelineSeparator.js +2 -2
- package/legacy/TimelineSeparator/timelineSeparatorClasses.js +1 -1
- package/legacy/TreeItem/TreeItem.js +2 -2
- package/legacy/TreeItem/treeItemClasses.js +1 -1
- package/legacy/TreeView/TreeView.js +2 -2
- package/legacy/TreeView/treeViewClasses.js +1 -1
- package/legacy/YearPicker/PickersYear.js +2 -2
- package/legacy/YearPicker/YearPicker.js +18 -2
- package/legacy/YearPicker/yearPickerClasses.js +1 -1
- package/legacy/index.js +4 -2
- package/legacy/internal/pickers/PickersToolbar.js +1 -1
- package/legacy/internal/pickers/PickersToolbarText.js +1 -1
- package/legacy/internal/pickers/test-utils.js +13 -8
- package/legacy/useAutocomplete/index.js +1 -1
- package/modern/CalendarPicker/CalendarPicker.js +13 -1
- package/modern/CalendarPicker/PickersCalendar.js +9 -3
- package/modern/CalendarPicker/PickersCalendarHeader.js +5 -4
- package/modern/CalendarPicker/PickersFadeTransitionGroup.js +1 -1
- package/modern/CalendarPicker/PickersSlideTransition.js +1 -1
- package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.js +2 -2
- package/modern/ClockPicker/ClockNumber.js +1 -1
- package/modern/ClockPicker/ClockPicker.js +1 -1
- package/modern/DatePicker/DatePicker.js +2 -0
- package/modern/DatePicker/DatePickerToolbar.js +1 -1
- package/modern/DateRangePicker/DateRangePicker.js +2 -0
- package/modern/DateRangePicker/DateRangePickerToolbar.js +1 -1
- package/modern/DateRangePickerDay/DateRangePickerDay.js +2 -2
- package/modern/DateTimePicker/DateTimePicker.js +2 -0
- package/modern/DateTimePicker/DateTimePickerToolbar.js +1 -1
- package/modern/DesktopDatePicker/DesktopDatePicker.js +2 -0
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -0
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -0
- package/modern/LoadingButton/LoadingButton.js +20 -7
- package/modern/LoadingButton/loadingButtonClasses.js +1 -1
- package/modern/Masonry/Masonry.js +79 -98
- package/modern/Masonry/masonryClasses.js +1 -1
- package/modern/MobileDatePicker/MobileDatePicker.js +2 -0
- package/modern/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
- package/modern/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
- package/modern/MonthPicker/MonthPicker.js +23 -6
- package/modern/MonthPicker/PickersMonth.js +19 -14
- package/modern/PickersDay/PickersDay.js +2 -2
- package/modern/StaticDatePicker/StaticDatePicker.js +2 -0
- package/modern/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
- package/modern/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
- package/modern/TabPanel/TabPanel.js +2 -2
- package/modern/TabPanel/tabPanelClasses.js +1 -1
- package/modern/TimePicker/TimePickerToolbar.js +1 -1
- package/modern/Timeline/Timeline.js +2 -2
- package/modern/Timeline/timelineClasses.js +1 -1
- package/modern/TimelineConnector/TimelineConnector.js +2 -2
- package/modern/TimelineConnector/timelineConnectorClasses.js +1 -1
- package/modern/TimelineContent/TimelineContent.js +2 -2
- package/modern/TimelineContent/timelineContentClasses.js +1 -1
- package/modern/TimelineDot/TimelineDot.js +2 -2
- package/modern/TimelineDot/timelineDotClasses.js +1 -1
- package/modern/TimelineItem/TimelineItem.js +2 -2
- package/modern/TimelineItem/timelineItemClasses.js +1 -1
- package/modern/TimelineOppositeContent/TimelineOppositeContent.js +2 -2
- package/modern/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -1
- package/modern/TimelineSeparator/TimelineSeparator.js +2 -2
- package/modern/TimelineSeparator/timelineSeparatorClasses.js +1 -1
- package/modern/TreeItem/TreeItem.js +2 -2
- package/modern/TreeItem/treeItemClasses.js +1 -1
- package/modern/TreeView/TreeView.js +2 -2
- package/modern/TreeView/treeViewClasses.js +1 -1
- package/modern/YearPicker/PickersYear.js +2 -2
- package/modern/YearPicker/YearPicker.js +18 -2
- package/modern/YearPicker/yearPickerClasses.js +1 -1
- package/modern/index.js +4 -2
- package/modern/internal/pickers/PickersToolbar.js +1 -1
- package/modern/internal/pickers/PickersToolbarText.js +1 -1
- package/modern/internal/pickers/test-utils.js +17 -7
- package/modern/useAutocomplete/index.js +1 -1
- package/node/CalendarPicker/CalendarPicker.js +16 -4
- package/node/CalendarPicker/PickersCalendar.js +9 -3
- package/node/CalendarPicker/PickersCalendarHeader.js +5 -4
- package/node/CalendarPicker/PickersFadeTransitionGroup.js +2 -2
- package/node/CalendarPicker/PickersSlideTransition.js +2 -2
- package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +5 -5
- package/node/ClockPicker/ClockNumber.js +2 -2
- package/node/ClockPicker/ClockPicker.js +4 -4
- package/node/DatePicker/DatePicker.js +2 -0
- package/node/DatePicker/DatePickerToolbar.js +2 -2
- package/node/DateRangePicker/DateRangePicker.js +2 -0
- package/node/DateRangePicker/DateRangePickerToolbar.js +2 -2
- package/node/DateRangePickerDay/DateRangePickerDay.js +5 -5
- package/node/DateTimePicker/DateTimePicker.js +2 -0
- package/node/DateTimePicker/DateTimePickerToolbar.js +2 -2
- package/node/DesktopDatePicker/DesktopDatePicker.js +2 -0
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +2 -0
- package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +2 -0
- package/node/LoadingButton/LoadingButton.js +21 -8
- package/node/LoadingButton/loadingButtonClasses.js +3 -3
- package/node/Masonry/Masonry.js +88 -100
- package/node/Masonry/masonryClasses.js +3 -3
- package/node/MobileDatePicker/MobileDatePicker.js +2 -0
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +2 -0
- package/node/MobileDateTimePicker/MobileDateTimePicker.js +2 -0
- package/node/MonthPicker/MonthPicker.js +26 -9
- package/node/MonthPicker/PickersMonth.js +20 -15
- package/node/PickersDay/PickersDay.js +5 -5
- package/node/StaticDatePicker/StaticDatePicker.js +2 -0
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +2 -0
- package/node/StaticDateTimePicker/StaticDateTimePicker.js +2 -0
- package/node/TabPanel/TabPanel.js +3 -3
- package/node/TabPanel/tabPanelClasses.js +3 -3
- package/node/TimePicker/TimePickerToolbar.js +4 -4
- package/node/Timeline/Timeline.js +3 -3
- package/node/Timeline/timelineClasses.js +3 -3
- package/node/TimelineConnector/TimelineConnector.js +3 -3
- package/node/TimelineConnector/timelineConnectorClasses.js +3 -3
- package/node/TimelineContent/TimelineContent.js +3 -3
- package/node/TimelineContent/timelineContentClasses.js +3 -3
- package/node/TimelineDot/TimelineDot.js +3 -3
- package/node/TimelineDot/timelineDotClasses.js +3 -3
- package/node/TimelineItem/TimelineItem.js +3 -3
- package/node/TimelineItem/timelineItemClasses.js +3 -3
- package/node/TimelineOppositeContent/TimelineOppositeContent.js +3 -3
- package/node/TimelineOppositeContent/timelineOppositeContentClasses.js +3 -3
- package/node/TimelineSeparator/TimelineSeparator.js +3 -3
- package/node/TimelineSeparator/timelineSeparatorClasses.js +3 -3
- package/node/TreeItem/TreeItem.js +3 -3
- package/node/TreeItem/treeItemClasses.js +3 -3
- package/node/TreeView/TreeView.js +3 -3
- package/node/TreeView/treeViewClasses.js +3 -3
- package/node/YearPicker/PickersYear.js +5 -5
- package/node/YearPicker/YearPicker.js +19 -3
- package/node/YearPicker/yearPickerClasses.js +3 -3
- package/node/index.js +23 -2
- package/node/internal/pickers/PickersToolbar.js +2 -2
- package/node/internal/pickers/PickersToolbarText.js +2 -2
- package/node/internal/pickers/test-utils.js +17 -7
- package/node/useAutocomplete/index.js +3 -3
- package/package.json +7 -6
- package/themeAugmentation/components.d.ts +10 -0
- package/useAutocomplete/index.d.ts +1 -1
- package/useAutocomplete/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@date-io/date-fns';
|
|
1
|
+
export { default } from '@date-io/date-fns';
|
package/AdapterDayjs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@date-io/dayjs';
|
|
1
|
+
export { default } from '@date-io/dayjs';
|
package/AdapterLuxon/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@date-io/luxon';
|
|
1
|
+
export { default } from '@date-io/luxon';
|
package/AdapterMoment/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@date-io/moment';
|
|
1
|
+
export { default } from '@date-io/moment';
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,295 @@
|
|
|
1
1
|
### [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.2.1
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.2.0..master -->
|
|
6
|
+
|
|
7
|
+
_Nov 25, 2021_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
This is an early release to fix `export 'useId' (imported as 'React') was not found in 'react'` when bundling code depending on MUI Core.
|
|
12
|
+
|
|
13
|
+
- ​<!-- 10 -->[AppBar][docs] Add a fully responsive demo to docs (#29829) @karakib2k18
|
|
14
|
+
- ​<!-- 9 -->[core] Fix PR run detection in test_bundle_size_monitor (#29879) @eps1lon
|
|
15
|
+
- ​<!-- 8 -->[core] Move bundle size monitoring to CircleCI (#29876) @eps1lon
|
|
16
|
+
- ​<!-- 7 -->[docs] Add keys to Responsive AppBar demo (#29884) @mbrookes
|
|
17
|
+
- ​<!-- 6 -->[docs] MUI's 2021 Developer survey (#29765) @newguy-123
|
|
18
|
+
- ​<!-- 5 -->[docs] Smoother image loading UX (#29858) @oliviertassinari
|
|
19
|
+
- ​<!-- 4 -->[Select] Fix select display value with React Nodes (#29836) @kegi
|
|
20
|
+
- ​<!-- 3 -->[system] Add `experimental_sx` utility (#29833) @mnajdova
|
|
21
|
+
- ​<!-- 2 -->[test] Ignore "detected multiple renderers" warning for now (#29854) @eps1lon
|
|
22
|
+
- ​<!-- 1 -->[useMediaQuery][utils] Remove usage of React 18 APIs (#29870) @eps1lon
|
|
23
|
+
|
|
24
|
+
All contributors of this release in alphabetical order: @eps1lon, @karakib2k18, @kegi, @mbrookes, @mnajdova, @newguy-123, @oliviertassinari
|
|
25
|
+
|
|
26
|
+
## 5.2.0
|
|
27
|
+
|
|
28
|
+
<!-- generated comparing v5.1.1..master -->
|
|
29
|
+
|
|
30
|
+
_Nov 23, 2021_
|
|
31
|
+
|
|
32
|
+
A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
33
|
+
|
|
34
|
+
- 🧪 Created another unstyled component: [TabsUnstyled](https://mui.com/components/tabs/#unstyled) (#29597) @mnajdova.
|
|
35
|
+
- 🎉 Updated the Material Icons set with the latest changes from Google (#29328) @michaldudak / (#29818) @chao813.
|
|
36
|
+
This update adds 200 new icons and tweaks the appearance of many more.
|
|
37
|
+
With it, we're getting close to having 2000 icons in our set.
|
|
38
|
+
- 🐛 Fixed bugs and improved the infrastructure and documentation 📚.
|
|
39
|
+
|
|
40
|
+
### `@mui/material@5.2.0`
|
|
41
|
+
|
|
42
|
+
- [IconButton] Remove on hover effect when `disableRipple` is set (#29298) @adamfitzgibbon
|
|
43
|
+
- [i18n] Add the amharic language (#29153) @NatiG100
|
|
44
|
+
- [material] Fix types for `variants.style` to accept callbacks (#29610) @mnajdova
|
|
45
|
+
- [Popper] Simplify prop types (#29680) @michaldudak
|
|
46
|
+
- [Select] Include aria-selected=false when option not selected (#29695) @michaldudak
|
|
47
|
+
- [useMediaQuery] Fix crash in Safari < 14 and IE 11 (#29776) @eps1lon
|
|
48
|
+
- [useMediaQuery] Ensure no tearing in React 18 (#28491) @eps1lon
|
|
49
|
+
|
|
50
|
+
### `@mui/codemod@5.2.0`
|
|
51
|
+
|
|
52
|
+
- [codemod] Fix `jss-to-styled` to support multiple withStyles (#29824) @siriwatknp
|
|
53
|
+
|
|
54
|
+
### `@mui/icons-material@5.2.0`
|
|
55
|
+
|
|
56
|
+
- [icons] Sync new Google Material Icons (#29818) @chao813
|
|
57
|
+
- [icons] Sync recent Material Icons from Google (#29328) @michaldudak
|
|
58
|
+
|
|
59
|
+
### `@mui/system@5.2.0`
|
|
60
|
+
|
|
61
|
+
- [Box] Fix `sx` prop runtime issue when used as function (#29830) @mnajdova
|
|
62
|
+
- [system] Fix `sx` throw error when value is `null` or `undefined` (#29756) @siriwatknp
|
|
63
|
+
- [system] Fix minor CssVars issues (#29747) @siriwatknp
|
|
64
|
+
|
|
65
|
+
### `@mui/styled-engine@5.2.0`
|
|
66
|
+
|
|
67
|
+
- [styled-engine] Fix props inference in styled-engine (#29739) @Janpot
|
|
68
|
+
|
|
69
|
+
### `@mui/base@5.0.0-alpha.56`
|
|
70
|
+
|
|
71
|
+
- [FormControlUnstyled] `focused` is always false unless explicitly set to `true` @mwilkins91
|
|
72
|
+
- [TabsUnstyled] Introduce new component (#29597) @mnajdova
|
|
73
|
+
|
|
74
|
+
### `@mui/lab@5.0.0-alpha.56`
|
|
75
|
+
|
|
76
|
+
- [DatePicker][timepicker] Add missing component declarations (#29517) @longzheng
|
|
77
|
+
- [Masonry] exports from root package (#29754) @abhinav-22-tech
|
|
78
|
+
- [pickers] Widen accepted `luxon` version range (#29761) @eps1lon
|
|
79
|
+
|
|
80
|
+
### Docs
|
|
81
|
+
|
|
82
|
+
- [blog] MUI X v5 blog post (#29590) @DanailH
|
|
83
|
+
- [blog] Polish the Benny Joo joins MUI post (#29697) @oliviertassinari
|
|
84
|
+
- [CHANGELOG] Explain why we do breaking changes @oliviertassinari
|
|
85
|
+
- [core] Update latest issue template for codesandbox CI (#29783) @eps1lon
|
|
86
|
+
- [core] Ensure `@mui/core` is an alias for `@mui/base` (#29762) @eps1lon
|
|
87
|
+
- [docs] Fix broken Next and Previous links (#29711) @scallaway
|
|
88
|
+
- [docs] Add a note that ToggleButton exclusive does not enforce selection (#29812) @mmacu
|
|
89
|
+
- [docs] Update the list of supported locales (#29831) @michaldudak
|
|
90
|
+
- [docs] Update tooltip doc to better define touch action (#29717) @gnowland
|
|
91
|
+
- [website] Standardize the background color from the MUI team photos (#29738) @danilo-leal
|
|
92
|
+
- [website] Add Bharat to the About Us Page (#29714) @bharatkashyap
|
|
93
|
+
- [website] Add about page entry for jan (#29701) @Janpot
|
|
94
|
+
- [website] Adding Prakhar to the about page (#29737) @danilo-leal
|
|
95
|
+
|
|
96
|
+
### Core
|
|
97
|
+
|
|
98
|
+
- [test] Allow debugging with Chrome and VSCode inspector (#29777) @eps1lon
|
|
99
|
+
- [test] Use renderer clock instead of custom useFakeTimers call (#29778) @eps1lon
|
|
100
|
+
- [test] Only mock Date in regression tests (#29763) @eps1lon
|
|
101
|
+
- [test] Disable nightly integration tests on `next` branch (#29748) @eps1lon
|
|
102
|
+
- [test] Allow configuring clock directly from `createRenderer` (#29684) @eps1lon
|
|
103
|
+
- [test] Accept backslashes as path separators in test CLI (#29694) @michaldudak
|
|
104
|
+
- [utils] Use built-in hook when available for useId (#26489) @eps1lon
|
|
105
|
+
|
|
106
|
+
All contributors of this release in alphabetical order: @abhinav-22-tech, @adamfitzgibbon, @bharatkashyap, @chao813, @DanailH, @danilo-leal, @eps1lon, @gnowland, @Janpot, @longzheng, @michaldudak, @mmacu, @mnajdova, @mwilkins91, @NatiG100, @oliviertassinari, @scallaway, @siriwatknp
|
|
107
|
+
|
|
108
|
+
## 5.1.1
|
|
109
|
+
|
|
110
|
+
<!-- generated comparing v5.1.0..master -->
|
|
111
|
+
|
|
112
|
+
_Nov 16, 2021_
|
|
113
|
+
|
|
114
|
+
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
115
|
+
|
|
116
|
+
- 🛠 Renamed `@mui/core` to `@mui/base` (#29585) @michaldudak.
|
|
117
|
+
- And many more 🐛 bug fixes and 📚 improvements.
|
|
118
|
+
|
|
119
|
+
### `@mui/material@5.1.1`
|
|
120
|
+
|
|
121
|
+
- ​<!-- 34 -->[Breadcrumbs][divider] Replace decimal spacing values with integers and css calc (#29526) @anikcreative
|
|
122
|
+
- ​<!-- 10 -->[Select][nativeselect] Add `multiple` class (#29566) @aaronholla
|
|
123
|
+
- ​<!-- 09 -->[Popper] Split into PopperUnstyled and Popper (#29488) @michaldudak
|
|
124
|
+
- ​<!-- 08 -->[Select] Make it clear that `Select` is not a root component (#29593) @hbjORbj
|
|
125
|
+
- ​<!-- 13 -->[l10n] Improved Dutch (nl-NL) locale (#29592) @flipvrijn
|
|
126
|
+
- ​<!-- 10 -->[Table] Improve pagination range, use "en dash" over "hyphen" (#29579) @narekmal
|
|
127
|
+
|
|
128
|
+
### `@mui/base@5.0.0-alpha.55`
|
|
129
|
+
|
|
130
|
+
#### Breaking changes
|
|
131
|
+
|
|
132
|
+
- ​<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
|
|
133
|
+
|
|
134
|
+
Based on the results of the [poll](https://twitter.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
|
|
135
|
+
|
|
136
|
+
The new name better reflects the purpose of the package: it contains unstyled components, hooks, and utilities that serve as a **base** to build on.
|
|
137
|
+
|
|
138
|
+
```diff
|
|
139
|
+
-import { useSwitch } from '@mui/core/SwitchUnstyled';
|
|
140
|
+
+import { useSwitch } from '@mui/base/SwitchUnstyled';
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
### `@mui/lab@5.0.0-alpha.55`
|
|
144
|
+
|
|
145
|
+
- ​<!-- 12 -->[LoadingButton] Text variant spacing fixed for both start and end (#29194) @joshua-lawrence
|
|
146
|
+
- ​<!-- 11 -->[Masonry] Check if container or child exists to prevent error (#29452) @hbjORbj
|
|
147
|
+
|
|
148
|
+
### Docs
|
|
149
|
+
|
|
150
|
+
- ​<!-- 25 -->[docs] Correct bundler configuration for using legacy MUI build (#29146) @petermikitsh
|
|
151
|
+
- ​<!-- 24 -->[docs] Fix typo on autocomplete.md (#29570) @netizer
|
|
152
|
+
- ​<!-- 23 -->[docs] Fix dark mode on branding pages (#29611) @alexfauquette
|
|
153
|
+
- ​<!-- 22 -->[docs] Do not render CSS section in API docs navbar if there are no CSS classes (#29622) @ZeeshanTamboli
|
|
154
|
+
- ​<!-- 21 -->[docs] Fix link locale handling (#29624) @oliviertassinari
|
|
155
|
+
- ​<!-- 20 -->[docs] Fix Search navigation (#29623) @oliviertassinari
|
|
156
|
+
- ​<!-- 19 -->[docs] Fix broken link & update MUI packages explanation (#29583) @siriwatknp
|
|
157
|
+
- ​<!-- 18 -->[docs] Do not repeat language snippet in url in Algolia search (#29483) @hbjORbj
|
|
158
|
+
- ​<!-- 17 -->[docs] Update `ThemeProvider` API link (#29573) @siriwatknp
|
|
159
|
+
- ​<!-- 16 -->[docs] Remove svg logos from the Support page (#29431) @oliviertassinari
|
|
160
|
+
- ​<!-- 15 -->[docs] Link UXPin integration (#29422) @oliviertassinari
|
|
161
|
+
- ​<!-- 14 -->[docs] Link to the new public roadmap for the design kits (#29433) @oliviertassinari
|
|
162
|
+
- ​<!-- 28 -->[docs] correct bundler configuration for using legacy MUI build (#29146) @petermikitsh
|
|
163
|
+
- ​<!-- 01 -->[website] Fix premium plan release date (#29430) @oliviertassinari
|
|
164
|
+
- ​<!-- 02 -->[website] Add GitHub icon button to the navbar (#29640) @danilo-leal
|
|
165
|
+
- ​<!-- 39 -->[blog] Support many authors in markdown pages (#29633) @m4theushw
|
|
166
|
+
|
|
167
|
+
### Core
|
|
168
|
+
|
|
169
|
+
- ​<!-- 33 -->[core] Add `experiments` index page (#29582) @siriwatknp
|
|
170
|
+
- ​<!-- 32 -->[core] Move s3 bucket ownership to mui-org (#29609) @eps1lon
|
|
171
|
+
- ​<!-- 31 -->[core] Improve support request message (#29614) @mnajdova
|
|
172
|
+
- ​<!-- 30 -->[core] Use support request Github Action (#29594) @mnajdova
|
|
173
|
+
- ​<!-- 29 -->[core] Remove unused `getJsxPreview` util (#29586) @ZeeshanTamboli
|
|
174
|
+
- ​<!-- 28 -->[core] Use GitHub issue forms (#28038) @oliviertassinari
|
|
175
|
+
- ​<!-- 26 -->[core] Add playground (#29423) @oliviertassinari
|
|
176
|
+
- ​<!-- 07 -->[test] Correctly identify what the `raf` helper is for (#29683) @eps1lon
|
|
177
|
+
- ​<!-- 06 -->[test] Verify a quilted ImageList is created as test title suggests (#29565) @daniel-sachs
|
|
178
|
+
- ​<!-- 05 -->[test] Replace `createServerRender` with `createRenderer` (#29503) @eps1lon
|
|
179
|
+
- ​<!-- 04 -->[test] Always ignore "useLayoutEffect has no effect on the server"-warning (#29502) @eps1lon
|
|
180
|
+
- ​<!-- 03 -->[test] Restore StrictMode by default (#29589) @eps1lon
|
|
181
|
+
- ​<!-- 02 -->[test] createPickerRender -> createPickerRenderer (#29575) @eps1lon
|
|
182
|
+
- ​<!-- 09 -->[test] Allow experimental CLI to run exact test (#29685) @eps1lon
|
|
183
|
+
|
|
184
|
+
All contributors of this release in alphabetical order: @aaronholla, @alexfauquette, @anikcreative, @daniel-sachs, @eps1lon, @flipvrijn, @hbjORbj, @joshua-lawrence, @michaldudak, @mnajdova, @netizer, @oliviertassinari, @petermikitsh, @siriwatknp, @ZeeshanTamboli
|
|
185
|
+
|
|
186
|
+
## 5.1.0
|
|
187
|
+
|
|
188
|
+
<!-- generated comparing v5.0.6..master -->
|
|
189
|
+
|
|
190
|
+
_Nov 8, 2021_
|
|
191
|
+
|
|
192
|
+
A big thanks to the 33 contributors who made this release possible. Here are some highlights ✨:
|
|
193
|
+
|
|
194
|
+
- 🎉 Support custom elements under `ButtonGroup` (#28645) @ZeeshanTamboli
|
|
195
|
+
- 🛠 Add support for arrays in the `sx` prop (#29297) @siriwatknp
|
|
196
|
+
- And many more 🐛 bug fixes and 📚 improvements.
|
|
197
|
+
|
|
198
|
+
### `@mui/material@5.1.0`
|
|
199
|
+
|
|
200
|
+
- ​<!-- 68 -->[Autocomplete] Fix `hiddenLabel` prop of `TextField variant={filled}` inside Autocomplete (#29234) @jatinsandilya
|
|
201
|
+
- ​<!-- 67 -->[Box] Support generateClassName and defaultClassName (#29347) @siriwatknp
|
|
202
|
+
- ​<!-- 66 -->[ButtonGroup] Fix variant outlined always has primary color borders on hover (#29487) @ZeeshanTamboli
|
|
203
|
+
- ​<!-- 65 -->[ButtonGroup] Support different elements under ButtonGroup (#28645) @ZeeshanTamboli
|
|
204
|
+
- ​<!-- 62 -->[CssBaseline] Add `enableColorScheme` prop so enable using `color-scheme` property to deal with dark mode (#29454) @alexfauquette
|
|
205
|
+
- ​<!-- 29 -->[FormControlLabel] Narrow the label type (#29324) @michaldudak
|
|
206
|
+
- ​<!-- 28 -->[Grid] Fix usage when columns > 12 (#29196) @tanay123456789
|
|
207
|
+
- ​<!-- 27 -->[InputBase] Do not repeat the same classname (#29353) @hbjORbj
|
|
208
|
+
- ​<!-- 30 -->[InputBase] Remove WebkitAppearance from search type (#29383) @nicbarajas
|
|
209
|
+
- ​<!-- 25 -->[ListItem] Add missing exports (#29571) @robcaldecott
|
|
210
|
+
- ​<!-- 22 -->[Pagination] Allow customization of icons (#29336) @mbeltramin
|
|
211
|
+
- ​<!-- 11 -->[TextField] Fix bootstrap, normalize.css, sanitize.css conflicts (#28674) @ChrisClaude
|
|
212
|
+
- ​<!-- 10 -->[TextField] Fix invisible wrap within notched inputs (#29088) @DASPRiD
|
|
213
|
+
- ​<!-- 09 -->[Tooltip] `open` prop in `componentsProps.popper` can be optional (#29370) @ZeeshanTamboli
|
|
214
|
+
- ​<!-- 08 -->[Tooltip] Fix `className` not getting applied from PopperProps (#29023) @ZeeshanTamboli
|
|
215
|
+
- ​<!-- 07 -->[useRadioGroup] Convert to TypeScript (#29326) @eps1lon
|
|
216
|
+
|
|
217
|
+
### `@mui/system@5.1.0`
|
|
218
|
+
|
|
219
|
+
- ​<!-- 21 -->[system] Introduce `mode` to CssVarsProvider (#29418) @siriwatknp
|
|
220
|
+
- ​<!-- 20 -->[system] Improve breakpoints resolver function (#29300) @hbjORbj
|
|
221
|
+
- ​<!-- 19 -->[system] Add array support for `sx` prop (#29297) @siriwatknp
|
|
222
|
+
|
|
223
|
+
### `@mui/codemod@5.1.0`
|
|
224
|
+
|
|
225
|
+
- ​<!-- 64 -->[codemod] Add codemod parser flag (#29059) (#29229) @ElonVolo
|
|
226
|
+
|
|
227
|
+
### `@mui/lab@5.0.0-alpha.54`
|
|
228
|
+
|
|
229
|
+
- ​<!-- 52 -->[DatePicker] Fix disabled/readOnly for view components (#28815) @adamfitzgibbon
|
|
230
|
+
- ​<!-- 24 -->[Masonry] Fix crash on unmount when using React 18 (#29358) @eps1lon
|
|
231
|
+
- ​<!-- 23 -->[Masonry] Improve height computation and detect changes in `children` (#29351) @hbjORbj
|
|
232
|
+
|
|
233
|
+
### `@mui/joy@5.0.0-alpha.0`
|
|
234
|
+
|
|
235
|
+
- ​<!-- 28 -->[Joy] Update default theme (#29478) @siriwatknp
|
|
236
|
+
- ​<!-- 26 -->[Joy] Export CssVarsProvider with default theme (#29150) @siriwatknp
|
|
237
|
+
- ​<!-- 25 -->[Joy] Remove `private` to leverage CodeSandbox (#29280) @siriwatknp
|
|
238
|
+
|
|
239
|
+
### Docs
|
|
240
|
+
|
|
241
|
+
- ​<!-- 51 -->[docs] Add differences between styled and sx (#28685) @eric-burel
|
|
242
|
+
- ​<!-- 50 -->[docs] Track usage of dark mode in Google Analytics (#29419) @oliviertassinari
|
|
243
|
+
- ​<!-- 49 -->[docs] Remove create-mui-theme as it is no longer working (#29472) @IPJT
|
|
244
|
+
- ​<!-- 48 -->[docs] Fix warnings in AppSearch (#29459) @eps1lon
|
|
245
|
+
- ​<!-- 47 -->[docs] Add framework example for ClassNameGenerator (#29453) @siriwatknp
|
|
246
|
+
- ​<!-- 46 -->[docs] Fix layout shift when scrolling (#29436) @oliviertassinari
|
|
247
|
+
- ​<!-- 45 -->[docs] Fix layout-shift on id='main-content' (#29425) @oliviertassinari
|
|
248
|
+
- ​<!-- 44 -->[docs] Remove usage of `process.browser` (#29438) @oliviertassinari
|
|
249
|
+
- ​<!-- 43 -->[docs] Add instruction on how to use the child selector API with emotion (#29350) @mnajdova
|
|
250
|
+
- ​<!-- 42 -->[docs] Fix small typos (#29424) @oliviertassinari
|
|
251
|
+
- ​<!-- 41 -->[docs] Fix TOC highlighting logic (#29435) @oliviertassinari
|
|
252
|
+
- ​<!-- 40 -->[docs] Fix about page flags (#29314) @mbrookes
|
|
253
|
+
- ​<!-- 39 -->[docs] Fix Box JS docs (#29282) @Pablion
|
|
254
|
+
- ​<!-- 38 -->[docs] Update storybook section in migration to v5 docs (#28800) @siriwatknp
|
|
255
|
+
- ​<!-- 37 -->[docs] Document how to enable color on dark mode (#29340) @Wimukti
|
|
256
|
+
- ​<!-- 36 -->[docs] Display search functionality in all viewports (#28819) @eps1lon
|
|
257
|
+
- ​<!-- 35 -->[docs] Query heading for ToC on demand (#29204) @eps1lon
|
|
258
|
+
- ​<!-- 34 -->[docs] Add next.js styled-component guide and update links to example (#29118) @Jareechang
|
|
259
|
+
- ​<!-- 33 -->[docs] Fix overriding `MuiTextField`'s default props in the migration guide (#29174) @tm1000
|
|
260
|
+
- ​<!-- 32 -->[docs] Fix "clickable" and "deletable" typos (#28702) @jacklaurencegaray
|
|
261
|
+
- ​<!-- 31 -->[docs] Update migration-v4 docs for wrong import path (#29042) @busches
|
|
262
|
+
- ​<!-- 30 -->[docs] Add GitHub icon change to "Migration from v4 to v5" guide (#29182) @dan-mba
|
|
263
|
+
- ​<!-- 06 -->[website] Benny Joo joining MUI (#29499) @mnajdova
|
|
264
|
+
- ​<!-- 05 -->[website] Update the `Print export` feature info on the pricing page (#29484) @DanailH
|
|
265
|
+
- ​<!-- 04 -->[website] Improve the dev rel role description (#29477) @oliviertassinari
|
|
266
|
+
- ​<!-- 03 -->[website] Add customers section on Design Kits and Templates marketing pages (#29168) @danilo-leal
|
|
267
|
+
- ​<!-- 02 -->[website] Improvements to the /core product page @danilo-leal
|
|
268
|
+
- ​<!-- 01 -->[website] Fix typo on the About Page (#29286) @gssakash
|
|
269
|
+
|
|
270
|
+
### Core
|
|
271
|
+
|
|
272
|
+
- ​<!-- 63 -->[core] Handle RecordType and FieldType in generatePropDescription.ts (#29467) @flaviendelangle
|
|
273
|
+
- ​<!-- 61 -->[core] Convert a named color to lowercase (#29465) @ainatenhi
|
|
274
|
+
- ​<!-- 60 -->[core] Allow to reuse functions from `docs:api` (#28828) @m4theushw
|
|
275
|
+
- ​<!-- 59 -->[core] Commit new nextjs 12 tsconfig (#29458) @eps1lon
|
|
276
|
+
- ​<!-- 58 -->[core] Settle on MUI X for the official name (#29420) @oliviertassinari
|
|
277
|
+
- ​<!-- 57 -->[core] Add mui as a npm keyword (#29427) @oliviertassinari
|
|
278
|
+
- ​<!-- 56 -->[core] Fix issue template redirection (#29432) @oliviertassinari
|
|
279
|
+
- ​<!-- 55 -->[core] Remove unecessary destructuration (#29354) @oliviertassinari
|
|
280
|
+
- ​<!-- 54 -->[core] Use cross-env to set env variables in material-icons scripts (#29327) @michaldudak
|
|
281
|
+
- ​<!-- 53 -->[core] Don't bump peer dependency ranges on dependency updates (#29303) @eps1lon
|
|
282
|
+
- ​<!-- 18 -->[test] Fix browser tests (#29505) @eps1lon
|
|
283
|
+
- ​<!-- 69 -->[test] Fix missing act warnings in latest React 18 alpha (#29357) @eps1lon
|
|
284
|
+
- ​<!-- 17 -->[test] Replace `createClientRender` with new `createRenderer` API (#29471) @eps1lon
|
|
285
|
+
- ​<!-- 16 -->[test] Fix possible "missing act" warning (#29463) @eps1lon
|
|
286
|
+
- ​<!-- 15 -->[test] Remove render#baseElement (#29462) @eps1lon
|
|
287
|
+
- ​<!-- 14 -->[test] Expose `AbortController` on global (#29360) @eps1lon
|
|
288
|
+
- ​<!-- 13 -->[test] Add internal test for uniqe `name` in `Rating` (#29329) @eps1lon
|
|
289
|
+
- ​<!-- 12 -->[test] Fix browser tests (#29305) @eps1lon
|
|
290
|
+
|
|
291
|
+
All contributors of this release in alphabetical order: @adamfitzgibbon, @ainatenhi, @alexfauquette, @busches, @ChrisClaude, @dan-mba, @DanailH, @danilo-leal, @DASPRiD, @ElonVolo, @eps1lon, @eric-burel, @flaviendelangle, @gssakash, @hbjORbj, @IPJT, @jacklaurencegaray, @Jareechang, @jatinsandilya, @m4theushw, @mbeltramin, @mbrookes, @michaldudak, @mnajdova, @nicbarajas, @oliviertassinari, @Pablion, @robcaldecott, @siriwatknp, @tanay123456789, @tm1000, @Wimukti, @ZeeshanTamboli
|
|
292
|
+
|
|
3
293
|
## 5.0.6
|
|
4
294
|
|
|
5
295
|
<!-- generated comparing v5.0.5..master -->
|
|
@@ -35,16 +325,16 @@ _Oct 26, 2021_
|
|
|
35
325
|
A big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
|
|
36
326
|
|
|
37
327
|
- 🔧 Implement `Masonry` using Flexbox by @hbjORbj.
|
|
38
|
-
- 🧪 Add three components to `@mui/
|
|
328
|
+
- 🧪 Add three components to `@mui/base` by @rebeccahongsf and @hbjORbj.
|
|
39
329
|
|
|
40
330
|
### `@mui/codemod@5.0.5`
|
|
41
331
|
|
|
42
332
|
- ​<!-- 38 -->[codemod] Support new package name in `link-underline-hover` transformer (#29214) @siriwatknp
|
|
43
333
|
|
|
44
|
-
### `@mui/
|
|
334
|
+
### `@mui/base@5.0.0-alpha.52`
|
|
45
335
|
|
|
46
336
|
- ​<!-- 39 -->[ClickAwayListener] Move to the core package (#29186) @hbjORbj
|
|
47
|
-
- ​<!-- 13 -->[Popper] Move from mui-material to mui-
|
|
337
|
+
- ​<!-- 13 -->[Popper] Move from mui-material to mui-base (#28923) @rebeccahongsf
|
|
48
338
|
- ​<!-- 04 -->[TextareaAutosize] Move to the core package (#29148) @hbjORbj
|
|
49
339
|
|
|
50
340
|
### `@mui/lab@5.0.0-alpha.52`
|
|
@@ -113,7 +403,7 @@ _Oct 14, 2021_
|
|
|
113
403
|
|
|
114
404
|
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
115
405
|
|
|
116
|
-
- 🧪 Added `UnstyledInput` and `useInput` hook in the the first component in @mui/
|
|
406
|
+
- 🧪 Added `UnstyledInput` and `useInput` hook in the the first component in @mui/base package @michaldudak (#28053)
|
|
117
407
|
- 🐛 Fixed many bugs and improved the documentation 📚.
|
|
118
408
|
|
|
119
409
|
### `@mui/material@5.0.4`
|
|
@@ -128,7 +418,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
|
|
|
128
418
|
|
|
129
419
|
- ​<!-- 05 -->[system] Update typing for `style` function (#28744) @hbjORbj
|
|
130
420
|
|
|
131
|
-
### `@mui/
|
|
421
|
+
### `@mui/base@5.0.0-alpha.51`
|
|
132
422
|
|
|
133
423
|
- ​<!-- 07 -->[InputUnstyled] Create unstyled input and useInput hook (#28053) @michaldudak
|
|
134
424
|
|
|
@@ -197,7 +487,7 @@ A big thanks to the 19 contributors who made this release possible. Here are som
|
|
|
197
487
|
|
|
198
488
|
- ​<!-- 42 -->Don't allow styled-components APIs on mui styled function (#28807) @hbjORbj
|
|
199
489
|
|
|
200
|
-
### `@mui/
|
|
490
|
+
### `@mui/base@5.0.0-alpha.50`
|
|
201
491
|
|
|
202
492
|
- ​<!-- 38 -->[ButtonUnstyled] Don't set redundant role=button (#28488) @michaldudak
|
|
203
493
|
- ​<!-- 43 -->[SliderUnstyled] Prevent unknown-prop error when using marks prop (#28868) @hbjORbj
|
|
@@ -576,10 +866,10 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
576
866
|
```
|
|
577
867
|
@material-ui/core => @mui/material // represents Material Design components.
|
|
578
868
|
@material-ui/icons => @mui/icons-material // represents Material Design icons.
|
|
579
|
-
@material-ui/unstyled => @mui/
|
|
869
|
+
@material-ui/unstyled => @mui/base // fully functional components with minimum styles.
|
|
580
870
|
```
|
|
581
871
|
|
|
582
|
-
> **Note**: `@mui/
|
|
872
|
+
> **Note**: `@mui/base` (previously `@material-ui/unstyled`) is not the same as `@material-ui/core`.
|
|
583
873
|
|
|
584
874
|
We encourage you to use the [codemod](https://github.com/mui-org/material-ui/blob/next/packages/mui-codemod/README.md#mui-replace) for smooth migration.
|
|
585
875
|
|
|
@@ -594,7 +884,7 @@ A big thanks to the 18 contributors who made this release possible. Here are som
|
|
|
594
884
|
- ​<!-- 05 -->[ToggleButtonGroup] Add "disabled" prop (#27998) @chetas411
|
|
595
885
|
- ​<!-- 34 -->[core] Export types for module augmentation (#28078) @m4theushw
|
|
596
886
|
|
|
597
|
-
### `@mui/
|
|
887
|
+
### `@mui/base@5.0.0-alpha.45`
|
|
598
888
|
|
|
599
889
|
- ​<!-- 38 -->[Button] Create ButtonUnstyled and useButton (#27600) @michaldudak
|
|
600
890
|
|
|
@@ -1,96 +1,106 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ExportedCalendarProps } from './PickersCalendar';
|
|
3
|
-
import { PickerOnChangeFn } from '../internal/pickers/hooks/useViews';
|
|
4
|
-
import { ExportedCalendarHeaderProps } from './PickersCalendarHeader';
|
|
5
|
-
import { ExportedYearPickerProps } from '../YearPicker/YearPicker';
|
|
6
|
-
import { CalendarPickerView } from './shared';
|
|
7
|
-
export interface CalendarPickerClasses {
|
|
8
|
-
/** Styles applied to the root element. */
|
|
9
|
-
root: string;
|
|
10
|
-
/** Styles applied to the transition group element. */
|
|
11
|
-
viewTransitionContainer: string;
|
|
12
|
-
}
|
|
13
|
-
export declare type CalendarPickerClassKey = keyof CalendarPickerClasses;
|
|
14
|
-
export interface CalendarPickerProps<TDate> extends ExportedCalendarProps<TDate>, ExportedYearPickerProps<TDate>, ExportedCalendarHeaderProps<TDate> {
|
|
15
|
-
className?: string;
|
|
16
|
-
date: TDate | null;
|
|
17
|
-
/**
|
|
18
|
-
* Default calendar month displayed when `value={null}`.
|
|
19
|
-
*/
|
|
20
|
-
defaultCalendarMonth?: TDate;
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
* @
|
|
52
|
-
*/
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @default
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @default
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Disable
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ExportedCalendarProps } from './PickersCalendar';
|
|
3
|
+
import { PickerOnChangeFn } from '../internal/pickers/hooks/useViews';
|
|
4
|
+
import { ExportedCalendarHeaderProps } from './PickersCalendarHeader';
|
|
5
|
+
import { ExportedYearPickerProps } from '../YearPicker/YearPicker';
|
|
6
|
+
import { CalendarPickerView } from './shared';
|
|
7
|
+
export interface CalendarPickerClasses {
|
|
8
|
+
/** Styles applied to the root element. */
|
|
9
|
+
root: string;
|
|
10
|
+
/** Styles applied to the transition group element. */
|
|
11
|
+
viewTransitionContainer: string;
|
|
12
|
+
}
|
|
13
|
+
export declare type CalendarPickerClassKey = keyof CalendarPickerClasses;
|
|
14
|
+
export interface CalendarPickerProps<TDate> extends ExportedCalendarProps<TDate>, ExportedYearPickerProps<TDate>, ExportedCalendarHeaderProps<TDate> {
|
|
15
|
+
className?: string;
|
|
16
|
+
date: TDate | null;
|
|
17
|
+
/**
|
|
18
|
+
* Default calendar month displayed when `value={null}`.
|
|
19
|
+
*/
|
|
20
|
+
defaultCalendarMonth?: TDate;
|
|
21
|
+
/**
|
|
22
|
+
* If `true`, the picker and text field are disabled.
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
disableFuture?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* @default false
|
|
32
|
+
*/
|
|
33
|
+
disablePast?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Max selectable date. @DateIOType
|
|
36
|
+
*/
|
|
37
|
+
maxDate?: TDate;
|
|
38
|
+
/**
|
|
39
|
+
* Min selectable date. @DateIOType
|
|
40
|
+
*/
|
|
41
|
+
minDate?: TDate;
|
|
42
|
+
/**
|
|
43
|
+
* Callback fired on view change.
|
|
44
|
+
*/
|
|
45
|
+
onViewChange?: (view: CalendarPickerView) => void;
|
|
46
|
+
/**
|
|
47
|
+
* Callback fired on date change
|
|
48
|
+
*/
|
|
49
|
+
onChange: PickerOnChangeFn<TDate>;
|
|
50
|
+
/**
|
|
51
|
+
* Callback firing on month change. @DateIOType
|
|
52
|
+
*/
|
|
53
|
+
onMonthChange?: (date: TDate) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Initially open view.
|
|
56
|
+
* @default 'day'
|
|
57
|
+
*/
|
|
58
|
+
openTo?: CalendarPickerView;
|
|
59
|
+
/**
|
|
60
|
+
* Make picker read only.
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
63
|
+
readOnly?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Disable heavy animations.
|
|
66
|
+
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
|
|
67
|
+
*/
|
|
68
|
+
reduceAnimations?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Component displaying when passed `loading` true.
|
|
71
|
+
* @default () => <span data-mui-test="loading-progress">...</span>
|
|
72
|
+
*/
|
|
73
|
+
renderLoading?: () => React.ReactNode;
|
|
74
|
+
/**
|
|
75
|
+
* Disable specific date. @DateIOType
|
|
76
|
+
*/
|
|
77
|
+
shouldDisableDate?: (day: TDate) => boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Controlled open view.
|
|
80
|
+
*/
|
|
81
|
+
view?: CalendarPickerView;
|
|
82
|
+
/**
|
|
83
|
+
* Views for calendar picker.
|
|
84
|
+
* @default ['year', 'day']
|
|
85
|
+
*/
|
|
86
|
+
views?: readonly CalendarPickerView[];
|
|
87
|
+
}
|
|
88
|
+
export declare type ExportedCalendarPickerProps<TDate> = Omit<CalendarPickerProps<TDate>, 'date' | 'view' | 'views' | 'openTo' | 'onChange' | 'changeView' | 'slideDirection' | 'currentMonth' | 'className'>;
|
|
89
|
+
interface CalendarPickerPropsWithClasses<TDate> extends CalendarPickerProps<TDate> {
|
|
90
|
+
classes?: Partial<CalendarPickerClasses>;
|
|
91
|
+
}
|
|
92
|
+
export declare function getCalendarPickerUtilityClass(slot: string): string;
|
|
93
|
+
export declare const calendarPickerClasses: CalendarPickerClasses;
|
|
94
|
+
export declare const defaultReduceAnimations: boolean;
|
|
95
|
+
declare const _default: <TDate>(props: CalendarPickerPropsWithClasses<TDate> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* Demos:
|
|
99
|
+
*
|
|
100
|
+
* - [Date Picker](https://mui.com/components/date-picker/)
|
|
101
|
+
*
|
|
102
|
+
* API:
|
|
103
|
+
*
|
|
104
|
+
* - [CalendarPicker API](https://mui.com/api/calendar-picker/)
|
|
105
|
+
*/
|
|
106
|
+
export default _default;
|
|
@@ -8,7 +8,7 @@ import * as React from 'react';
|
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
10
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
11
|
-
import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/
|
|
11
|
+
import { unstable_composeClasses as composeClasses, generateUtilityClass, generateUtilityClasses } from '@mui/base';
|
|
12
12
|
import MonthPicker from '../MonthPicker/MonthPicker';
|
|
13
13
|
import { useCalendarState } from './useCalendarState';
|
|
14
14
|
import { useDefaultDates, useUtils } from '../internal/pickers/hooks/useUtils';
|
|
@@ -230,6 +230,12 @@ process.env.NODE_ENV !== "production" ? CalendarPicker.propTypes
|
|
|
230
230
|
*/
|
|
231
231
|
defaultCalendarMonth: PropTypes.any,
|
|
232
232
|
|
|
233
|
+
/**
|
|
234
|
+
* If `true`, the picker and text field are disabled.
|
|
235
|
+
* @default false
|
|
236
|
+
*/
|
|
237
|
+
disabled: PropTypes.bool,
|
|
238
|
+
|
|
233
239
|
/**
|
|
234
240
|
* @default false
|
|
235
241
|
*/
|
|
@@ -278,6 +284,12 @@ process.env.NODE_ENV !== "production" ? CalendarPicker.propTypes
|
|
|
278
284
|
*/
|
|
279
285
|
openTo: PropTypes.oneOf(['day', 'month', 'year']),
|
|
280
286
|
|
|
287
|
+
/**
|
|
288
|
+
* Make picker read only.
|
|
289
|
+
* @default false
|
|
290
|
+
*/
|
|
291
|
+
readOnly: PropTypes.bool,
|
|
292
|
+
|
|
281
293
|
/**
|
|
282
294
|
* Disable heavy animations.
|
|
283
295
|
* @default typeof navigator !== 'undefined' && /(android)/i.test(navigator.userAgent)
|