@mui/x-date-pickers 9.6.0 → 9.8.0
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/AdapterDateFns.d.mts +2 -2
- package/AdapterDateFns/AdapterDateFns.d.ts +2 -2
- package/AdapterDateFnsBase/AdapterDateFnsBase.d.mts +2 -2
- package/AdapterDateFnsBase/AdapterDateFnsBase.d.ts +2 -2
- package/AdapterDateFnsJalali/AdapterDateFnsJalali.d.mts +2 -2
- package/AdapterDateFnsJalali/AdapterDateFnsJalali.d.ts +2 -2
- package/AdapterDateFnsJalaliV2/AdapterDateFnsJalaliV2.d.mts +1 -1
- package/AdapterDateFnsJalaliV2/AdapterDateFnsJalaliV2.d.ts +1 -1
- package/AdapterDateFnsV2/AdapterDateFnsV2.d.mts +1 -1
- package/AdapterDateFnsV2/AdapterDateFnsV2.d.ts +1 -1
- package/AdapterDayjs/AdapterDayjs.d.mts +29 -29
- package/AdapterDayjs/AdapterDayjs.d.ts +29 -29
- package/AdapterDayjs/AdapterDayjs.mjs +1 -0
- package/AdapterDayjsBuddhist/AdapterDayjsBuddhist.d.mts +4 -4
- package/AdapterDayjsBuddhist/AdapterDayjsBuddhist.d.ts +4 -4
- package/AdapterDayjsBuddhist/AdapterDayjsBuddhist.mjs +1 -0
- package/AdapterLuxon/AdapterLuxon.d.mts +1 -1
- package/AdapterLuxon/AdapterLuxon.d.ts +1 -1
- package/AdapterMoment/AdapterMoment.d.mts +29 -28
- package/AdapterMoment/AdapterMoment.d.ts +29 -28
- package/AdapterMomentHijri/AdapterMomentHijri.d.mts +14 -13
- package/AdapterMomentHijri/AdapterMomentHijri.d.ts +14 -13
- package/AdapterMomentHijri/AdapterMomentHijri.js +2 -2
- package/AdapterMomentHijri/AdapterMomentHijri.mjs +3 -2
- package/AdapterMomentJalaali/AdapterMomentJalaali.d.mts +13 -12
- package/AdapterMomentJalaali/AdapterMomentJalaali.d.ts +13 -12
- package/AdapterMomentJalaali/AdapterMomentJalaali.js +2 -2
- package/AdapterMomentJalaali/AdapterMomentJalaali.mjs +3 -2
- package/CHANGELOG.md +241 -2
- package/DateCalendar/DateCalendar.d.mts +1 -1
- package/DateCalendar/DateCalendar.d.ts +1 -1
- package/DateCalendar/DateCalendar.types.d.mts +16 -16
- package/DateCalendar/DateCalendar.types.d.ts +16 -16
- package/DateCalendar/DayCalendar.d.mts +9 -9
- package/DateCalendar/DayCalendar.d.ts +9 -9
- package/DateCalendar/DayCalendar.js +5 -4
- package/DateCalendar/DayCalendar.mjs +5 -4
- package/DateCalendar/PickersFadeTransitionGroup.d.mts +1 -1
- package/DateCalendar/PickersFadeTransitionGroup.d.ts +1 -1
- package/DateCalendar/PickersSlideTransition.d.mts +3 -3
- package/DateCalendar/PickersSlideTransition.d.ts +3 -3
- package/DateCalendar/useCalendarState.d.mts +3 -3
- package/DateCalendar/useCalendarState.d.ts +3 -3
- package/DateCalendar/useIsDateDisabled.d.mts +3 -3
- package/DateCalendar/useIsDateDisabled.d.ts +3 -3
- package/DateField/DateField.d.mts +1 -1
- package/DateField/DateField.d.ts +1 -1
- package/DateField/DateField.js +1 -0
- package/DateField/DateField.mjs +1 -0
- package/DateField/DateField.types.d.mts +6 -6
- package/DateField/DateField.types.d.ts +6 -6
- package/DateField/useDateField.d.mts +1 -1
- package/DateField/useDateField.d.ts +1 -1
- package/DatePicker/DatePicker.d.mts +1 -1
- package/DatePicker/DatePicker.d.ts +1 -1
- package/DatePicker/DatePicker.types.d.mts +4 -4
- package/DatePicker/DatePicker.types.d.ts +4 -4
- package/DatePicker/DatePickerToolbar.d.mts +2 -2
- package/DatePicker/DatePickerToolbar.d.ts +2 -2
- package/DatePicker/shared.d.mts +10 -10
- package/DatePicker/shared.d.ts +10 -10
- package/DateTimeField/DateTimeField.d.mts +1 -1
- package/DateTimeField/DateTimeField.d.ts +1 -1
- package/DateTimeField/DateTimeField.js +1 -0
- package/DateTimeField/DateTimeField.mjs +1 -0
- package/DateTimeField/DateTimeField.types.d.mts +7 -7
- package/DateTimeField/DateTimeField.types.d.ts +7 -7
- package/DateTimeField/useDateTimeField.d.mts +1 -1
- package/DateTimeField/useDateTimeField.d.ts +1 -1
- package/DateTimePicker/DateTimePicker.d.mts +1 -1
- package/DateTimePicker/DateTimePicker.d.ts +1 -1
- package/DateTimePicker/DateTimePicker.types.d.mts +5 -5
- package/DateTimePicker/DateTimePicker.types.d.ts +5 -5
- package/DateTimePicker/DateTimePickerTabs.d.mts +2 -2
- package/DateTimePicker/DateTimePickerTabs.d.ts +2 -2
- package/DateTimePicker/DateTimePickerToolbar.d.mts +5 -5
- package/DateTimePicker/DateTimePickerToolbar.d.ts +5 -5
- package/DateTimePicker/shared.d.mts +15 -15
- package/DateTimePicker/shared.d.ts +15 -15
- package/DayCalendarSkeleton/DayCalendarSkeleton.d.mts +3 -3
- package/DayCalendarSkeleton/DayCalendarSkeleton.d.ts +3 -3
- package/DesktopDatePicker/DesktopDatePicker.d.mts +1 -1
- package/DesktopDatePicker/DesktopDatePicker.d.ts +1 -1
- package/DesktopDatePicker/DesktopDatePicker.types.d.mts +4 -4
- package/DesktopDatePicker/DesktopDatePicker.types.d.ts +4 -4
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.mts +1 -1
- package/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +1 -1
- package/DesktopDateTimePicker/DesktopDateTimePicker.types.d.mts +6 -6
- package/DesktopDateTimePicker/DesktopDateTimePicker.types.d.ts +6 -6
- package/DesktopDateTimePicker/DesktopDateTimePickerLayout.d.mts +2 -2
- package/DesktopDateTimePicker/DesktopDateTimePickerLayout.d.ts +2 -2
- package/DesktopTimePicker/DesktopTimePicker.d.mts +1 -1
- package/DesktopTimePicker/DesktopTimePicker.d.ts +1 -1
- package/DesktopTimePicker/DesktopTimePicker.types.d.mts +8 -8
- package/DesktopTimePicker/DesktopTimePicker.types.d.ts +8 -8
- package/DigitalClock/DigitalClock.d.mts +1 -1
- package/DigitalClock/DigitalClock.d.ts +1 -1
- package/DigitalClock/DigitalClock.types.d.mts +6 -6
- package/DigitalClock/DigitalClock.types.d.ts +6 -6
- package/LocalizationProvider/LocalizationProvider.d.mts +2 -2
- package/LocalizationProvider/LocalizationProvider.d.ts +2 -2
- package/MobileDatePicker/MobileDatePicker.d.mts +1 -1
- package/MobileDatePicker/MobileDatePicker.d.ts +1 -1
- package/MobileDatePicker/MobileDatePicker.types.d.mts +3 -3
- package/MobileDatePicker/MobileDatePicker.types.d.ts +3 -3
- package/MobileDateTimePicker/MobileDateTimePicker.d.mts +1 -1
- package/MobileDateTimePicker/MobileDateTimePicker.d.ts +1 -1
- package/MobileDateTimePicker/MobileDateTimePicker.types.d.mts +3 -3
- package/MobileDateTimePicker/MobileDateTimePicker.types.d.ts +3 -3
- package/MobileTimePicker/MobileTimePicker.d.mts +2 -2
- package/MobileTimePicker/MobileTimePicker.d.ts +2 -2
- package/MobileTimePicker/MobileTimePicker.types.d.mts +5 -5
- package/MobileTimePicker/MobileTimePicker.types.d.ts +5 -5
- package/MonthCalendar/MonthCalendar.d.mts +2 -2
- package/MonthCalendar/MonthCalendar.d.ts +2 -2
- package/MonthCalendar/MonthCalendar.types.d.mts +8 -8
- package/MonthCalendar/MonthCalendar.types.d.ts +8 -8
- package/MonthCalendar/MonthCalendarButton.d.mts +2 -2
- package/MonthCalendar/MonthCalendarButton.d.ts +2 -2
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.d.mts +1 -1
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.d.ts +1 -1
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.types.d.mts +7 -7
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.types.d.ts +7 -7
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.utils.d.mts +2 -2
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.utils.d.ts +2 -2
- package/MultiSectionDigitalClock/MultiSectionDigitalClockSection.d.mts +3 -3
- package/MultiSectionDigitalClock/MultiSectionDigitalClockSection.d.ts +3 -3
- package/PickerDay/PickerDay.d.mts +1 -1
- package/PickerDay/PickerDay.d.ts +1 -1
- package/PickerDay/PickerDay.types.d.mts +5 -5
- package/PickerDay/PickerDay.types.d.ts +5 -5
- package/PickersActionBar/PickersActionBar.d.mts +1 -1
- package/PickersActionBar/PickersActionBar.d.ts +1 -1
- package/PickersCalendarHeader/PickersCalendarHeader.d.mts +1 -1
- package/PickersCalendarHeader/PickersCalendarHeader.d.ts +1 -1
- package/PickersCalendarHeader/PickersCalendarHeader.types.d.mts +9 -9
- package/PickersCalendarHeader/PickersCalendarHeader.types.d.ts +9 -9
- package/PickersLayout/PickersLayout.d.mts +2 -2
- package/PickersLayout/PickersLayout.d.ts +2 -2
- package/PickersLayout/PickersLayout.types.d.mts +11 -11
- package/PickersLayout/PickersLayout.types.d.ts +11 -11
- package/PickersLayout/usePickerLayout.d.mts +2 -2
- package/PickersLayout/usePickerLayout.d.ts +2 -2
- package/PickersSectionList/PickersSectionList.types.d.mts +4 -4
- package/PickersSectionList/PickersSectionList.types.d.ts +4 -4
- package/PickersShortcuts/PickersShortcuts.d.mts +3 -3
- package/PickersShortcuts/PickersShortcuts.d.ts +3 -3
- package/PickersTextField/PickersFilledInput/PickersFilledInput.d.mts +2 -2
- package/PickersTextField/PickersFilledInput/PickersFilledInput.d.ts +2 -2
- package/PickersTextField/PickersFilledInput/PickersFilledInput.js +1 -0
- package/PickersTextField/PickersFilledInput/PickersFilledInput.mjs +1 -0
- package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.mts +1 -1
- package/PickersTextField/PickersFilledInput/pickersFilledInputClasses.d.ts +1 -1
- package/PickersTextField/PickersInput/PickersInput.d.mts +2 -2
- package/PickersTextField/PickersInput/PickersInput.d.ts +2 -2
- package/PickersTextField/PickersInput/PickersInput.js +1 -0
- package/PickersTextField/PickersInput/PickersInput.mjs +1 -0
- package/PickersTextField/PickersInput/pickersInputClasses.d.mts +1 -1
- package/PickersTextField/PickersInput/pickersInputClasses.d.ts +1 -1
- package/PickersTextField/PickersInputBase/PickersInputBase.d.mts +2 -2
- package/PickersTextField/PickersInputBase/PickersInputBase.d.ts +2 -2
- package/PickersTextField/PickersInputBase/PickersInputBase.js +16 -1
- package/PickersTextField/PickersInputBase/PickersInputBase.mjs +16 -1
- package/PickersTextField/PickersInputBase/PickersInputBase.types.d.mts +6 -5
- package/PickersTextField/PickersInputBase/PickersInputBase.types.d.ts +6 -5
- package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.d.mts +1 -1
- package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.d.ts +1 -1
- package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.js +12 -8
- package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.mjs +12 -8
- package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.mts +1 -1
- package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.ts +1 -1
- package/PickersTextField/PickersTextField.js +4 -1
- package/PickersTextField/PickersTextField.mjs +4 -1
- package/PickersTextField/PickersTextField.types.d.mts +6 -6
- package/PickersTextField/PickersTextField.types.d.ts +6 -6
- package/PickersTextField/usePickerTextFieldOwnerState.d.mts +1 -1
- package/PickersTextField/usePickerTextFieldOwnerState.d.ts +1 -1
- package/StaticDatePicker/StaticDatePicker.d.mts +1 -1
- package/StaticDatePicker/StaticDatePicker.d.ts +1 -1
- package/StaticDatePicker/StaticDatePicker.types.d.mts +3 -3
- package/StaticDatePicker/StaticDatePicker.types.d.ts +3 -3
- package/StaticDateTimePicker/StaticDateTimePicker.d.mts +1 -1
- package/StaticDateTimePicker/StaticDateTimePicker.d.ts +1 -1
- package/StaticDateTimePicker/StaticDateTimePicker.types.d.mts +3 -3
- package/StaticDateTimePicker/StaticDateTimePicker.types.d.ts +3 -3
- package/StaticTimePicker/StaticTimePicker.d.mts +1 -1
- package/StaticTimePicker/StaticTimePicker.d.ts +1 -1
- package/StaticTimePicker/StaticTimePicker.types.d.mts +4 -4
- package/StaticTimePicker/StaticTimePicker.types.d.ts +4 -4
- package/TimeClock/Clock.d.mts +5 -5
- package/TimeClock/Clock.d.ts +5 -5
- package/TimeClock/Clock.js +76 -30
- package/TimeClock/Clock.mjs +76 -30
- package/TimeClock/ClockNumber.d.mts +2 -2
- package/TimeClock/ClockNumber.d.ts +2 -2
- package/TimeClock/ClockNumbers.d.mts +1 -1
- package/TimeClock/ClockNumbers.d.ts +1 -1
- package/TimeClock/ClockPointer.d.mts +2 -2
- package/TimeClock/ClockPointer.d.ts +2 -2
- package/TimeClock/TimeClock.d.mts +1 -1
- package/TimeClock/TimeClock.d.ts +1 -1
- package/TimeClock/TimeClock.types.d.mts +5 -5
- package/TimeClock/TimeClock.types.d.ts +5 -5
- package/TimeField/TimeField.d.mts +1 -1
- package/TimeField/TimeField.d.ts +1 -1
- package/TimeField/TimeField.js +1 -0
- package/TimeField/TimeField.mjs +1 -0
- package/TimeField/TimeField.types.d.mts +7 -7
- package/TimeField/TimeField.types.d.ts +7 -7
- package/TimeField/useTimeField.d.mts +1 -1
- package/TimeField/useTimeField.d.ts +1 -1
- package/TimePicker/TimePicker.d.mts +1 -1
- package/TimePicker/TimePicker.d.ts +1 -1
- package/TimePicker/TimePicker.types.d.mts +4 -4
- package/TimePicker/TimePicker.types.d.ts +4 -4
- package/TimePicker/TimePickerToolbar.d.mts +2 -2
- package/TimePicker/TimePickerToolbar.d.ts +2 -2
- package/TimePicker/shared.d.mts +11 -11
- package/TimePicker/shared.d.ts +11 -11
- package/YearCalendar/YearCalendar.d.mts +1 -1
- package/YearCalendar/YearCalendar.d.ts +1 -1
- package/YearCalendar/YearCalendar.types.d.mts +8 -8
- package/YearCalendar/YearCalendar.types.d.ts +8 -8
- package/YearCalendar/YearCalendarButton.d.mts +2 -2
- package/YearCalendar/YearCalendarButton.d.ts +2 -2
- package/dateViewRenderers/dateViewRenderers.d.mts +3 -3
- package/dateViewRenderers/dateViewRenderers.d.ts +3 -3
- package/hooks/useIsValidValue.d.mts +1 -1
- package/hooks/useIsValidValue.d.ts +1 -1
- package/hooks/usePickerActionsContext.d.mts +2 -2
- package/hooks/usePickerActionsContext.d.ts +2 -2
- package/hooks/usePickerAdapter.d.mts +2 -2
- package/hooks/usePickerAdapter.d.ts +2 -2
- package/hooks/usePickerContext.d.mts +1 -1
- package/hooks/usePickerContext.d.ts +1 -1
- package/hooks/useSplitFieldProps.d.mts +1 -1
- package/hooks/useSplitFieldProps.d.ts +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/internals/components/PickerFieldUI.d.mts +7 -7
- package/internals/components/PickerFieldUI.d.ts +7 -7
- package/internals/components/PickerPopper/PickerPopper.d.mts +7 -7
- package/internals/components/PickerPopper/PickerPopper.d.ts +7 -7
- package/internals/components/PickerPopper/PickerPopper.js +1 -1
- package/internals/components/PickerPopper/PickerPopper.mjs +1 -1
- package/internals/components/PickerProvider.d.mts +6 -6
- package/internals/components/PickerProvider.d.ts +6 -6
- package/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.d.mts +1 -1
- package/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.d.ts +1 -1
- package/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.types.d.mts +6 -6
- package/internals/components/PickersArrowSwitcher/PickersArrowSwitcher.types.d.ts +6 -6
- package/internals/components/PickersModalDialog.d.mts +3 -3
- package/internals/components/PickersModalDialog.d.ts +3 -3
- package/internals/components/PickersToolbar.d.mts +2 -2
- package/internals/components/PickersToolbar.d.ts +2 -2
- package/internals/components/PickersToolbarButton.d.mts +4 -4
- package/internals/components/PickersToolbarButton.d.ts +4 -4
- package/internals/components/PickersToolbarText.d.mts +2 -2
- package/internals/components/PickersToolbarText.d.ts +2 -2
- package/internals/demo/DemoContainer.d.mts +2 -2
- package/internals/demo/DemoContainer.d.ts +2 -2
- package/internals/hooks/PickerDay.types.d.mts +1 -1
- package/internals/hooks/PickerDay.types.d.ts +1 -1
- package/internals/hooks/date-helpers-hooks.d.mts +3 -3
- package/internals/hooks/date-helpers-hooks.d.ts +3 -3
- package/internals/hooks/useClockReferenceDate.d.mts +2 -2
- package/internals/hooks/useClockReferenceDate.d.ts +2 -2
- package/internals/hooks/useControlledValue.d.mts +2 -3
- package/internals/hooks/useControlledValue.d.ts +2 -3
- package/internals/hooks/useDesktopPicker/useDesktopPicker.d.mts +2 -2
- package/internals/hooks/useDesktopPicker/useDesktopPicker.d.ts +2 -2
- package/internals/hooks/useDesktopPicker/useDesktopPicker.types.d.mts +10 -10
- package/internals/hooks/useDesktopPicker/useDesktopPicker.types.d.ts +10 -10
- package/internals/hooks/useField/buildSectionsFromFormat.d.mts +2 -2
- package/internals/hooks/useField/buildSectionsFromFormat.d.ts +2 -2
- package/internals/hooks/useField/syncSelectionToDOM.d.mts +3 -3
- package/internals/hooks/useField/syncSelectionToDOM.d.ts +3 -3
- package/internals/hooks/useField/useField.d.mts +2 -2
- package/internals/hooks/useField/useField.d.ts +2 -2
- package/internals/hooks/useField/useField.js +18 -0
- package/internals/hooks/useField/useField.mjs +18 -0
- package/internals/hooks/useField/useField.types.d.mts +5 -4
- package/internals/hooks/useField/useField.types.d.ts +5 -4
- package/internals/hooks/useField/useField.utils.d.mts +3 -5
- package/internals/hooks/useField/useField.utils.d.ts +3 -5
- package/internals/hooks/useField/useField.utils.js +2 -4
- package/internals/hooks/useField/useField.utils.mjs +1 -2
- package/internals/hooks/useField/useFieldCharacterEditing.d.mts +2 -2
- package/internals/hooks/useField/useFieldCharacterEditing.d.ts +2 -2
- package/internals/hooks/useField/useFieldHiddenInputProps.d.mts +2 -2
- package/internals/hooks/useField/useFieldHiddenInputProps.d.ts +2 -2
- package/internals/hooks/useField/useFieldInternalPropsWithDefaults.d.mts +1 -1
- package/internals/hooks/useField/useFieldInternalPropsWithDefaults.d.ts +1 -1
- package/internals/hooks/useField/useFieldRootProps.d.mts +5 -4
- package/internals/hooks/useField/useFieldRootProps.d.ts +5 -4
- package/internals/hooks/useField/useFieldRootProps.js +95 -8
- package/internals/hooks/useField/useFieldRootProps.mjs +95 -8
- package/internals/hooks/useField/useFieldSectionContainerProps.d.mts +2 -2
- package/internals/hooks/useField/useFieldSectionContainerProps.d.ts +2 -2
- package/internals/hooks/useField/useFieldSectionContainerProps.js +35 -4
- package/internals/hooks/useField/useFieldSectionContainerProps.mjs +34 -4
- package/internals/hooks/useField/useFieldSectionContentProps.d.mts +6 -6
- package/internals/hooks/useField/useFieldSectionContentProps.d.ts +6 -6
- package/internals/hooks/useField/useFieldSectionContentProps.js +17 -12
- package/internals/hooks/useField/useFieldSectionContentProps.mjs +17 -12
- package/internals/hooks/useField/useFieldState.d.mts +3 -3
- package/internals/hooks/useField/useFieldState.d.ts +3 -3
- package/internals/hooks/useFieldOwnerState.d.mts +2 -2
- package/internals/hooks/useFieldOwnerState.d.ts +2 -2
- package/internals/hooks/useMobilePicker/useMobilePicker.d.mts +2 -2
- package/internals/hooks/useMobilePicker/useMobilePicker.d.ts +2 -2
- package/internals/hooks/useMobilePicker/useMobilePicker.types.d.mts +10 -10
- package/internals/hooks/useMobilePicker/useMobilePicker.types.d.ts +10 -10
- package/internals/hooks/useNullableFieldPrivateContext.d.mts +2 -2
- package/internals/hooks/useNullableFieldPrivateContext.d.ts +2 -2
- package/internals/hooks/usePicker/hooks/useOrientation.d.mts +1 -1
- package/internals/hooks/usePicker/hooks/useOrientation.d.ts +1 -1
- package/internals/hooks/usePicker/hooks/useValueAndOpenStates.d.mts +5 -5
- package/internals/hooks/usePicker/hooks/useValueAndOpenStates.d.ts +5 -5
- package/internals/hooks/usePicker/usePicker.d.mts +2 -2
- package/internals/hooks/usePicker/usePicker.d.ts +2 -2
- package/internals/hooks/usePicker/usePicker.types.d.mts +10 -10
- package/internals/hooks/usePicker/usePicker.types.d.ts +10 -10
- package/internals/hooks/usePickerDayOwnerState.d.mts +2 -2
- package/internals/hooks/usePickerDayOwnerState.d.ts +2 -2
- package/internals/hooks/useReduceAnimations.js +4 -1
- package/internals/hooks/useReduceAnimations.mjs +4 -1
- package/internals/hooks/useStaticPicker/useStaticPicker.d.mts +2 -2
- package/internals/hooks/useStaticPicker/useStaticPicker.d.ts +2 -2
- package/internals/hooks/useStaticPicker/useStaticPicker.types.d.mts +5 -5
- package/internals/hooks/useStaticPicker/useStaticPicker.types.d.ts +5 -5
- package/internals/hooks/useToolbarOwnerState.d.mts +1 -1
- package/internals/hooks/useToolbarOwnerState.d.ts +1 -1
- package/internals/hooks/useUtils.d.mts +1 -1
- package/internals/hooks/useUtils.d.ts +1 -1
- package/internals/hooks/useViews.d.mts +4 -4
- package/internals/hooks/useViews.d.ts +4 -4
- package/internals/models/common.d.mts +1 -1
- package/internals/models/common.d.ts +1 -1
- package/internals/models/fields.d.mts +1 -1
- package/internals/models/fields.d.ts +1 -1
- package/internals/models/helpers.d.mts +2 -2
- package/internals/models/helpers.d.ts +2 -2
- package/internals/models/manager.d.mts +1 -1
- package/internals/models/manager.d.ts +1 -1
- package/internals/models/props/basePickerProps.d.mts +7 -8
- package/internals/models/props/basePickerProps.d.ts +7 -8
- package/internals/models/props/tabs.d.mts +2 -2
- package/internals/models/props/tabs.d.ts +2 -2
- package/internals/models/props/time.d.mts +6 -6
- package/internals/models/props/time.d.ts +6 -6
- package/internals/models/props/toolbar.d.mts +3 -3
- package/internals/models/props/toolbar.d.ts +3 -3
- package/internals/models/value.d.mts +1 -1
- package/internals/models/value.d.ts +1 -1
- package/internals/utils/createNonRangePickerStepNavigation.d.mts +1 -1
- package/internals/utils/createNonRangePickerStepNavigation.d.ts +1 -1
- package/internals/utils/createStepNavigation.d.mts +1 -1
- package/internals/utils/createStepNavigation.d.ts +1 -1
- package/internals/utils/date-time-utils.d.mts +4 -4
- package/internals/utils/date-time-utils.d.ts +4 -4
- package/internals/utils/date-utils.d.mts +2 -2
- package/internals/utils/date-utils.d.ts +2 -2
- package/internals/utils/getDefaultReferenceDate.d.mts +1 -1
- package/internals/utils/getDefaultReferenceDate.d.ts +1 -1
- package/internals/utils/time-utils.d.mts +2 -2
- package/internals/utils/time-utils.d.ts +2 -2
- package/internals/utils/utils.d.mts +3 -3
- package/internals/utils/utils.d.ts +3 -3
- package/internals/utils/valueManagers.d.mts +2 -3
- package/internals/utils/valueManagers.d.ts +2 -3
- package/internals/utils/views.d.mts +1 -1
- package/internals/utils/views.d.ts +1 -1
- package/locales/beBY.d.mts +1 -1
- package/locales/beBY.d.ts +1 -1
- package/locales/bgBG.d.mts +1 -1
- package/locales/bgBG.d.ts +1 -1
- package/locales/bnBD.d.mts +1 -1
- package/locales/bnBD.d.ts +1 -1
- package/locales/caES.d.mts +1 -1
- package/locales/caES.d.ts +1 -1
- package/locales/csCZ.d.mts +1 -1
- package/locales/csCZ.d.ts +1 -1
- package/locales/daDK.d.mts +1 -1
- package/locales/daDK.d.ts +1 -1
- package/locales/deDE.d.mts +1 -1
- package/locales/deDE.d.ts +1 -1
- package/locales/elGR.d.mts +1 -1
- package/locales/elGR.d.ts +1 -1
- package/locales/enUS.d.mts +1 -1
- package/locales/enUS.d.ts +1 -1
- package/locales/esES.d.mts +1 -1
- package/locales/esES.d.ts +1 -1
- package/locales/eu.d.mts +1 -1
- package/locales/eu.d.ts +1 -1
- package/locales/faIR.d.mts +1 -1
- package/locales/faIR.d.ts +1 -1
- package/locales/fiFI.d.mts +1 -1
- package/locales/fiFI.d.ts +1 -1
- package/locales/frFR.d.mts +1 -1
- package/locales/frFR.d.ts +1 -1
- package/locales/heIL.d.mts +1 -1
- package/locales/heIL.d.ts +1 -1
- package/locales/hrHR.d.mts +1 -1
- package/locales/hrHR.d.ts +1 -1
- package/locales/huHU.d.mts +1 -1
- package/locales/huHU.d.ts +1 -1
- package/locales/isIS.d.mts +1 -1
- package/locales/isIS.d.ts +1 -1
- package/locales/itIT.d.mts +1 -1
- package/locales/itIT.d.ts +1 -1
- package/locales/jaJP.d.mts +1 -1
- package/locales/jaJP.d.ts +1 -1
- package/locales/koKR.d.mts +1 -1
- package/locales/koKR.d.ts +1 -1
- package/locales/kzKZ.d.mts +1 -1
- package/locales/kzKZ.d.ts +1 -1
- package/locales/nbNO.d.mts +1 -1
- package/locales/nbNO.d.ts +1 -1
- package/locales/nlNL.d.mts +1 -1
- package/locales/nlNL.d.ts +1 -1
- package/locales/nnNO.d.mts +1 -1
- package/locales/nnNO.d.ts +1 -1
- package/locales/plPL.d.mts +1 -1
- package/locales/plPL.d.ts +1 -1
- package/locales/ptBR.d.mts +1 -1
- package/locales/ptBR.d.ts +1 -1
- package/locales/ptPT.d.mts +1 -1
- package/locales/ptPT.d.ts +1 -1
- package/locales/roRO.d.mts +1 -1
- package/locales/roRO.d.ts +1 -1
- package/locales/roRO.js +2 -3
- package/locales/roRO.mjs +2 -3
- package/locales/ruRU.d.mts +1 -1
- package/locales/ruRU.d.ts +1 -1
- package/locales/skSK.d.mts +1 -1
- package/locales/skSK.d.ts +1 -1
- package/locales/svSE.d.mts +1 -1
- package/locales/svSE.d.ts +1 -1
- package/locales/thTH.d.mts +1 -1
- package/locales/thTH.d.ts +1 -1
- package/locales/trTR.d.mts +1 -1
- package/locales/trTR.d.ts +1 -1
- package/locales/ukUA.d.mts +1 -1
- package/locales/ukUA.d.ts +1 -1
- package/locales/urPK.d.mts +1 -1
- package/locales/urPK.d.ts +1 -1
- package/locales/utils/getPickersLocalization.d.mts +1 -1
- package/locales/utils/getPickersLocalization.d.ts +1 -1
- package/locales/utils/pickersLocaleTextApi.d.mts +2 -2
- package/locales/utils/pickersLocaleTextApi.d.ts +2 -2
- package/locales/viVN.d.mts +1 -1
- package/locales/viVN.d.ts +1 -1
- package/locales/zhCN.d.mts +1 -1
- package/locales/zhCN.d.ts +1 -1
- package/locales/zhHK.d.mts +1 -1
- package/locales/zhHK.d.ts +1 -1
- package/locales/zhTW.d.mts +1 -1
- package/locales/zhTW.d.ts +1 -1
- package/managers/useDateManager.d.mts +4 -4
- package/managers/useDateManager.d.ts +4 -4
- package/managers/useDateTimeManager.d.mts +5 -5
- package/managers/useDateTimeManager.d.ts +5 -5
- package/managers/useTimeManager.d.mts +5 -5
- package/managers/useTimeManager.d.ts +5 -5
- package/models/adapters.d.mts +3 -3
- package/models/adapters.d.ts +3 -3
- package/models/fields.d.mts +4 -4
- package/models/fields.d.ts +4 -4
- package/models/pickers.d.mts +1 -1
- package/models/pickers.d.ts +1 -1
- package/package.json +3 -3
- package/themeAugmentation/components.d.mts +16 -16
- package/themeAugmentation/components.d.ts +16 -16
- package/themeAugmentation/overrides.d.mts +20 -20
- package/themeAugmentation/overrides.d.ts +20 -20
- package/themeAugmentation/props.d.mts +38 -38
- package/themeAugmentation/props.d.ts +38 -38
- package/timeViewRenderers/timeViewRenderers.d.mts +6 -6
- package/timeViewRenderers/timeViewRenderers.d.ts +6 -6
- package/validation/extractValidationProps.d.mts +1 -1
- package/validation/extractValidationProps.d.ts +1 -1
- package/validation/useValidation.d.mts +2 -3
- package/validation/useValidation.d.ts +2 -3
- package/validation/validateDate.d.mts +4 -4
- package/validation/validateDate.d.ts +4 -4
- package/validation/validateDateTime.d.mts +6 -6
- package/validation/validateDateTime.d.ts +6 -6
- package/validation/validateTime.d.mts +4 -4
- package/validation/validateTime.d.ts +4 -4
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _formatErrorMessage from "@mui/x-internals/formatErrorMessage";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
/* v8 ignore next */
|
|
4
|
+
|
|
4
5
|
import defaultHMoment from 'moment-hijri';
|
|
5
6
|
import { AdapterMoment } from "../AdapterMoment/index.mjs";
|
|
6
7
|
// From https://momentjs.com/docs/#/displaying/format/
|
|
@@ -82,10 +83,10 @@ const defaultFormats = {
|
|
|
82
83
|
meridiem: 'A',
|
|
83
84
|
minutes: 'mm',
|
|
84
85
|
seconds: 'ss',
|
|
85
|
-
fullDate: 'iYYYY, iMMMM
|
|
86
|
+
fullDate: 'iYYYY, iMMMM iD',
|
|
86
87
|
shortDate: 'iD iMMM',
|
|
87
88
|
normalDate: 'dddd, iD iMMM',
|
|
88
|
-
normalDateWithWeekday: '
|
|
89
|
+
normalDateWithWeekday: 'ddd, iD iMMMM',
|
|
89
90
|
fullTime12h: 'hh:mm A',
|
|
90
91
|
fullTime24h: 'HH:mm',
|
|
91
92
|
keyboardDate: 'iYYYY/iMM/iDD',
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { Moment } from 'moment-jalaali';
|
|
2
|
+
import defaultJMoment from 'moment-jalaali';
|
|
2
3
|
import { AdapterMoment } from "../AdapterMoment/index.mjs";
|
|
3
|
-
import { AdapterOptions, DateBuilderReturnType, FieldFormatTokenMap, MuiPickersAdapter } from "../models/index.mjs";
|
|
4
|
+
import type { AdapterOptions, DateBuilderReturnType, FieldFormatTokenMap, MuiPickersAdapter } from "../models/index.mjs";
|
|
4
5
|
declare module '@mui/x-date-pickers/models' {
|
|
5
6
|
interface PickerValidDateLookup {
|
|
6
7
|
'moment-jalaali': Moment;
|
|
@@ -43,24 +44,24 @@ export declare class AdapterMomentJalaali extends AdapterMoment implements MuiPi
|
|
|
43
44
|
date: <T extends string | null | undefined>(value?: T) => DateBuilderReturnType<T>;
|
|
44
45
|
getTimezone: () => string;
|
|
45
46
|
setTimezone: (value: Moment) => Moment;
|
|
46
|
-
parse: (value: string, format: string) =>
|
|
47
|
+
parse: (value: string, format: string) => Moment | null;
|
|
47
48
|
formatNumber: (numberToFormat: string) => string;
|
|
48
49
|
isSameYear: (value: Moment, comparing: Moment) => boolean;
|
|
49
50
|
isSameMonth: (value: Moment, comparing: Moment) => boolean;
|
|
50
51
|
isAfterYear: (value: Moment, comparing: Moment) => boolean;
|
|
51
52
|
isBeforeYear: (value: Moment, comparing: Moment) => boolean;
|
|
52
|
-
startOfYear: (value: Moment) =>
|
|
53
|
-
startOfMonth: (value: Moment) =>
|
|
54
|
-
endOfYear: (value: Moment) =>
|
|
55
|
-
endOfMonth: (value: Moment) =>
|
|
56
|
-
addYears: (value: Moment, amount: number) =>
|
|
57
|
-
addMonths: (value: Moment, amount: number) =>
|
|
53
|
+
startOfYear: (value: Moment) => Moment;
|
|
54
|
+
startOfMonth: (value: Moment) => Moment;
|
|
55
|
+
endOfYear: (value: Moment) => Moment;
|
|
56
|
+
endOfMonth: (value: Moment) => Moment;
|
|
57
|
+
addYears: (value: Moment, amount: number) => Moment;
|
|
58
|
+
addMonths: (value: Moment, amount: number) => Moment;
|
|
58
59
|
getYear: (value: Moment) => number;
|
|
59
60
|
getMonth: (value: Moment) => number;
|
|
60
61
|
getDate: (value: Moment) => number;
|
|
61
62
|
getDaysInMonth: (value: Moment) => number;
|
|
62
|
-
setYear: (value: Moment, year: number) =>
|
|
63
|
-
setMonth: (value: Moment, month: number) =>
|
|
64
|
-
setDate: (value: Moment, date: number) =>
|
|
63
|
+
setYear: (value: Moment, year: number) => Moment;
|
|
64
|
+
setMonth: (value: Moment, month: number) => Moment;
|
|
65
|
+
setDate: (value: Moment, date: number) => Moment;
|
|
65
66
|
getWeekNumber: (value: Moment) => number;
|
|
66
67
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { Moment } from 'moment-jalaali';
|
|
2
|
+
import defaultJMoment from 'moment-jalaali';
|
|
2
3
|
import { AdapterMoment } from "../AdapterMoment/index.js";
|
|
3
|
-
import { AdapterOptions, DateBuilderReturnType, FieldFormatTokenMap, MuiPickersAdapter } from "../models/index.js";
|
|
4
|
+
import type { AdapterOptions, DateBuilderReturnType, FieldFormatTokenMap, MuiPickersAdapter } from "../models/index.js";
|
|
4
5
|
declare module '@mui/x-date-pickers/models' {
|
|
5
6
|
interface PickerValidDateLookup {
|
|
6
7
|
'moment-jalaali': Moment;
|
|
@@ -43,24 +44,24 @@ export declare class AdapterMomentJalaali extends AdapterMoment implements MuiPi
|
|
|
43
44
|
date: <T extends string | null | undefined>(value?: T) => DateBuilderReturnType<T>;
|
|
44
45
|
getTimezone: () => string;
|
|
45
46
|
setTimezone: (value: Moment) => Moment;
|
|
46
|
-
parse: (value: string, format: string) =>
|
|
47
|
+
parse: (value: string, format: string) => Moment | null;
|
|
47
48
|
formatNumber: (numberToFormat: string) => string;
|
|
48
49
|
isSameYear: (value: Moment, comparing: Moment) => boolean;
|
|
49
50
|
isSameMonth: (value: Moment, comparing: Moment) => boolean;
|
|
50
51
|
isAfterYear: (value: Moment, comparing: Moment) => boolean;
|
|
51
52
|
isBeforeYear: (value: Moment, comparing: Moment) => boolean;
|
|
52
|
-
startOfYear: (value: Moment) =>
|
|
53
|
-
startOfMonth: (value: Moment) =>
|
|
54
|
-
endOfYear: (value: Moment) =>
|
|
55
|
-
endOfMonth: (value: Moment) =>
|
|
56
|
-
addYears: (value: Moment, amount: number) =>
|
|
57
|
-
addMonths: (value: Moment, amount: number) =>
|
|
53
|
+
startOfYear: (value: Moment) => Moment;
|
|
54
|
+
startOfMonth: (value: Moment) => Moment;
|
|
55
|
+
endOfYear: (value: Moment) => Moment;
|
|
56
|
+
endOfMonth: (value: Moment) => Moment;
|
|
57
|
+
addYears: (value: Moment, amount: number) => Moment;
|
|
58
|
+
addMonths: (value: Moment, amount: number) => Moment;
|
|
58
59
|
getYear: (value: Moment) => number;
|
|
59
60
|
getMonth: (value: Moment) => number;
|
|
60
61
|
getDate: (value: Moment) => number;
|
|
61
62
|
getDaysInMonth: (value: Moment) => number;
|
|
62
|
-
setYear: (value: Moment, year: number) =>
|
|
63
|
-
setMonth: (value: Moment, month: number) =>
|
|
64
|
-
setDate: (value: Moment, date: number) =>
|
|
63
|
+
setYear: (value: Moment, year: number) => Moment;
|
|
64
|
+
setMonth: (value: Moment, month: number) => Moment;
|
|
65
|
+
setDate: (value: Moment, date: number) => Moment;
|
|
65
66
|
getWeekNumber: (value: Moment) => number;
|
|
66
67
|
}
|
|
@@ -87,11 +87,11 @@ const defaultFormats = {
|
|
|
87
87
|
meridiem: 'A',
|
|
88
88
|
minutes: 'mm',
|
|
89
89
|
seconds: 'ss',
|
|
90
|
-
fullDate: 'jYYYY, jMMMM
|
|
90
|
+
fullDate: 'jYYYY, jMMMM jD',
|
|
91
91
|
keyboardDate: 'jYYYY/jMM/jDD',
|
|
92
92
|
shortDate: 'jD jMMM',
|
|
93
93
|
normalDate: 'dddd, jD jMMM',
|
|
94
|
-
normalDateWithWeekday: '
|
|
94
|
+
normalDateWithWeekday: 'ddd, jD jMMMM',
|
|
95
95
|
fullTime12h: 'hh:mm A',
|
|
96
96
|
fullTime24h: 'HH:mm',
|
|
97
97
|
keyboardDateTime12h: 'jYYYY/jMM/jDD hh:mm A',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
2
|
/* v8 ignore next */
|
|
3
|
+
|
|
3
4
|
import defaultJMoment from 'moment-jalaali';
|
|
4
5
|
import { AdapterMoment } from "../AdapterMoment/index.mjs";
|
|
5
6
|
// From https://momentjs.com/docs/#/displaying/format/
|
|
@@ -79,11 +80,11 @@ const defaultFormats = {
|
|
|
79
80
|
meridiem: 'A',
|
|
80
81
|
minutes: 'mm',
|
|
81
82
|
seconds: 'ss',
|
|
82
|
-
fullDate: 'jYYYY, jMMMM
|
|
83
|
+
fullDate: 'jYYYY, jMMMM jD',
|
|
83
84
|
keyboardDate: 'jYYYY/jMM/jDD',
|
|
84
85
|
shortDate: 'jD jMMM',
|
|
85
86
|
normalDate: 'dddd, jD jMMM',
|
|
86
|
-
normalDateWithWeekday: '
|
|
87
|
+
normalDateWithWeekday: 'ddd, jD jMMMM',
|
|
87
88
|
fullTime12h: 'hh:mm A',
|
|
88
89
|
fullTime24h: 'HH:mm',
|
|
89
90
|
keyboardDateTime12h: 'jYYYY/jMM/jDD hh:mm A',
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,245 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 9.8.0
|
|
4
|
+
|
|
5
|
+
_Jul 2, 2026_
|
|
6
|
+
|
|
7
|
+
We'd like to extend a big thank you to the 18 contributors who made this release possible. Here are some highlights ✨:
|
|
8
|
+
|
|
9
|
+
- 🗺️ New [`MapImagePlot`](https://mui.com/x/react-charts/map/) for rendering raster base maps, with `onItemClick` support on map shapes (Premium)
|
|
10
|
+
- 📊 New [`usePolarGeometry`](https://mui.com/x/react-charts/hooks/use-polar-geometry/) hook to build custom radial overlays
|
|
11
|
+
- 🐞 Bugfixes
|
|
12
|
+
- 📚 Documentation improvements
|
|
13
|
+
|
|
14
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
15
|
+
@Anexus5919, @aromanio, @greymoth-jp, @mustafajw07, @timbuckley, @voidmatcha
|
|
16
|
+
|
|
17
|
+
The following team members contributed to this release:
|
|
18
|
+
@alexfauquette, @arminmeh, @cherniavskii, @flaviendelangle, @Janpot, @JCQuintas, @joserodolfofreitas, @LukasTy, @mapache-salvaje, @michelengelen, @rita-codes, @sai6855
|
|
19
|
+
|
|
20
|
+
### Data Grid
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid@9.8.0`
|
|
23
|
+
|
|
24
|
+
- [DataGrid] Prevent cell editing from resurrecting a deleted row (#22958) @Anexus5919
|
|
25
|
+
- [DataGrid] Avoid reading `type` of `undefined` in `gridRowUtils` (#21808) @timbuckley
|
|
26
|
+
- [DataGrid] Improved get started tutorial (#22911) @joserodolfofreitas
|
|
27
|
+
- [l10n] Improve Japanese (ja-JP) locale (#23001) @greymoth-jp
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid-pro@9.8.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
30
|
+
|
|
31
|
+
Same changes as in `@mui/x-data-grid@9.8.0`.
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-premium@9.8.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid-pro@9.8.0`, plus:
|
|
36
|
+
|
|
37
|
+
- [DataGridPremium] Escape `singleSelect` values in Excel export with `escapeFormulas` enabled (#22851) @Anexus5919
|
|
38
|
+
|
|
39
|
+
### Date and Time Pickers
|
|
40
|
+
|
|
41
|
+
#### `@mui/x-date-pickers@9.8.0`
|
|
42
|
+
|
|
43
|
+
- [pickers] Fix localized digit crash (#22995) @alexfauquette
|
|
44
|
+
- [pickers] Flag the first and last visible day cell across year boundaries (#22981) @Anexus5919
|
|
45
|
+
- [pickers] Use calendar day tokens in `AdapterMomentHijri` and `AdapterMomentJalaali` formats (#22974) @Anexus5919
|
|
46
|
+
- [pickers] Use the Hijri day token in `AdapterMomentHijri` `normalDateWithWeekday` (#22972) @Anexus5919
|
|
47
|
+
- [l10n] Improve Romanian (ro-RO) locale (#22969) @aromanio
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-date-pickers-pro@9.8.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
50
|
+
|
|
51
|
+
Same changes as in `@mui/x-date-pickers@9.8.0`, plus:
|
|
52
|
+
|
|
53
|
+
- [DateRangeCalendar] Fix auto month-switch across the year boundary (#22987) @Anexus5919
|
|
54
|
+
|
|
55
|
+
### Charts
|
|
56
|
+
|
|
57
|
+
#### `@mui/x-charts@9.8.0`
|
|
58
|
+
|
|
59
|
+
- [charts] Decouple `d3-geo` from the universal tooltip (#23011) @sai6855
|
|
60
|
+
- [charts] Deduplicate `getGroupingConfig` (#22889) @sai6855
|
|
61
|
+
- [charts] Expose `usePolarGeometry` hook for radial overlays (#22892) @mustafajw07
|
|
62
|
+
|
|
63
|
+
#### `@mui/x-charts-pro@9.8.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
64
|
+
|
|
65
|
+
Same changes as in `@mui/x-charts@9.8.0`.
|
|
66
|
+
|
|
67
|
+
#### `@mui/x-charts-premium@9.8.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
68
|
+
|
|
69
|
+
Same changes as in `@mui/x-charts-pro@9.8.0`, plus:
|
|
70
|
+
|
|
71
|
+
- [charts-premium] Add `onItemClick` support for the Map shapes (#22876) @sai6855
|
|
72
|
+
- [charts-premium] Replace `dataIndex` with `name` in map identifier (#22891) @sai6855
|
|
73
|
+
- [charts-premium] Share helper function (#23030) @alexfauquette
|
|
74
|
+
- [charts-premium] Extract shared WebGL utilities across bar/scatter/heatmap renderers (#22466) @sai6855
|
|
75
|
+
- [charts-premium] Add `MapImagePlot` for raster base maps (#22977) @JCQuintas
|
|
76
|
+
|
|
77
|
+
### Tree View
|
|
78
|
+
|
|
79
|
+
#### `@mui/x-tree-view@9.8.0`
|
|
80
|
+
|
|
81
|
+
- [TreeView] Fix extra selection event when clicking a collapsed parent item (#22249) @michelengelen
|
|
82
|
+
- [TreeView] Enforce top-level type imports (#23034) @Janpot
|
|
83
|
+
|
|
84
|
+
#### `@mui/x-tree-view-pro@9.8.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
85
|
+
|
|
86
|
+
Same changes as in `@mui/x-tree-view@9.8.0`.
|
|
87
|
+
|
|
88
|
+
### Scheduler
|
|
89
|
+
|
|
90
|
+
#### `@mui/x-scheduler@9.0.0-beta.4`
|
|
91
|
+
|
|
92
|
+
- [scheduler] Enforce top-level type imports (#22931) @Janpot
|
|
93
|
+
- [scheduler] Keep the occurrence date when editing only one recurring event (#23007) @Anexus5919
|
|
94
|
+
- [scheduler] Track bundle size of scheduler packages (#22682) @flaviendelangle
|
|
95
|
+
- [scheduler] Add `viewConfig` prop to limit displayed hours in the day and week views (#22929) @flaviendelangle
|
|
96
|
+
|
|
97
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.4` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
98
|
+
|
|
99
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.4`, plus:
|
|
100
|
+
|
|
101
|
+
- [scheduler] Collapsible resources in the timeline (#22920) @rita-codes
|
|
102
|
+
|
|
103
|
+
### Codemod
|
|
104
|
+
|
|
105
|
+
#### `@mui/x-codemod@9.8.0`
|
|
106
|
+
|
|
107
|
+
Internal changes.
|
|
108
|
+
|
|
109
|
+
### Docs
|
|
110
|
+
|
|
111
|
+
- [docs] Add recipe for conditional master-detail panels (#22971) @michelengelen
|
|
112
|
+
- [docs] Add recipe for describing active filters in the toolbar (#22970) @michelengelen
|
|
113
|
+
- [docs] Add recipe for triggering clipboard copy from a button (#22967) @michelengelen
|
|
114
|
+
- [docs] Clarify that `fieldRef.current.focusField()` is the canonical way to focus a field (#22937) @michelengelen
|
|
115
|
+
- [docs][scheduler] Another copyediting pass across the Scheduler docs (#22619) @mapache-salvaje
|
|
116
|
+
- [docs][charts] Add map example for arbitrary GeoJSON shapes (#22976) @JCQuintas
|
|
117
|
+
- [docs][charts] Double point count in `ScatterAsyncRenderer` demo (#22906) @JCQuintas
|
|
118
|
+
|
|
119
|
+
### Core
|
|
120
|
+
|
|
121
|
+
- [code-infra] Fix tracking branch bug in release script (#22956) @michelengelen
|
|
122
|
+
- [code-infra] Remove mark-duplicate workflow (#22994) @cherniavskii
|
|
123
|
+
- [code-infra] Revert `nanoid@3.3.15` `minimumReleaseAge` exemption (#22953) @LukasTy
|
|
124
|
+
|
|
125
|
+
### Miscellaneous
|
|
126
|
+
|
|
127
|
+
- [internals] Fix `ERR_UNSUPPORTED_DIR_IMPORT` for `core-js-pure` in Node ESM (#22985) @michelengelen
|
|
128
|
+
- [internals] Harden `useDisposable` React internals read with safeReact (#22986) @rita-codes
|
|
129
|
+
- [internals] Replace core-js `DisposableStack` ponyfill with a minimal fallback (#23002) @sai6855
|
|
130
|
+
- [test] Assert the edited `dateTime` cell value in the e2e edit test (#22982) @voidmatcha
|
|
131
|
+
- [virtualizer] Remeasure scrollbars when layout changes (#22914) @arminmeh
|
|
132
|
+
|
|
133
|
+
## 9.7.0
|
|
134
|
+
|
|
135
|
+
_Jun 25, 2026_
|
|
136
|
+
|
|
137
|
+
We'd like to extend a big thank you to the 13 contributors who made this release possible. Here are some highlights ✨:
|
|
138
|
+
|
|
139
|
+
- 🐞 Bugfixes
|
|
140
|
+
- 📚 Documentation improvements
|
|
141
|
+
|
|
142
|
+
Special thanks go out to these community members for their valuable contributions:
|
|
143
|
+
@Anexus5919, @mustafajw07
|
|
144
|
+
|
|
145
|
+
The following team members contributed to this release:
|
|
146
|
+
@alexfauquette, @arminmeh, @brijeshb42, @Janpot, @JCQuintas, @LukasTy, @MBilalShafi, @michelengelen, @romgrk, @sai6855, @siriwatknp
|
|
147
|
+
|
|
148
|
+
### Data Grid
|
|
149
|
+
|
|
150
|
+
#### `@mui/x-data-grid@9.7.0`
|
|
151
|
+
|
|
152
|
+
- [DataGrid] Fix `CustomColumnMenuGrid` demo crashing (#22897) @sai6855
|
|
153
|
+
- [DataGrid] Fix crash in `getRowValue` when `colDef` is `undefined` (#22838) @LukasTy
|
|
154
|
+
- [DataGrid] Fix `longText` expand button submitting surrounding form (#22450) @siriwatknp
|
|
155
|
+
- [DataGrid] Remove filename ignore list from `removePropTypesPlugin` in Babel config (#22727) @sai6855
|
|
156
|
+
- [DataGrid] Deduplicate scroll-preserving focus logic (#22916) @sai6855
|
|
157
|
+
- [DataGrid] Fix `singleSelect` clearing to use empty string instead of `null` (#22881) @michelengelen
|
|
158
|
+
- [DataGrid] Wait for rows before reacting on `autosizeOnMount` (#22698) @MBilalShafi
|
|
159
|
+
|
|
160
|
+
#### `@mui/x-data-grid-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
161
|
+
|
|
162
|
+
Same changes as in `@mui/x-data-grid@9.7.0`.
|
|
163
|
+
|
|
164
|
+
#### `@mui/x-data-grid-premium@9.7.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
165
|
+
|
|
166
|
+
Same changes as in `@mui/x-data-grid-pro@9.7.0`.
|
|
167
|
+
|
|
168
|
+
### Date and Time Pickers
|
|
169
|
+
|
|
170
|
+
#### `@mui/x-date-pickers@9.7.0`
|
|
171
|
+
|
|
172
|
+
- [fields] Announce cardinal day in the day section `aria-valuetext` (#22922) @LukasTy
|
|
173
|
+
- [fields] Avoid focusing the field on blank space clicks (#22285) @LukasTy
|
|
174
|
+
- [pickers] Commit `TimeClock` value when the drag ends outside the clock (#22877) @LukasTy
|
|
175
|
+
- [pickers] Respect explicit `notched` prop on the outlined PickersTextField (#22875) @LukasTy
|
|
176
|
+
|
|
177
|
+
#### `@mui/x-date-pickers-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
178
|
+
|
|
179
|
+
Same changes as in `@mui/x-date-pickers@9.7.0`.
|
|
180
|
+
|
|
181
|
+
### Charts
|
|
182
|
+
|
|
183
|
+
#### `@mui/x-charts@9.7.0`
|
|
184
|
+
|
|
185
|
+
- [charts] Add demo for displaying the sum of all values from the stacked series on top of the stacked bars (#22879) @sai6855
|
|
186
|
+
- [charts] Add `zAxis` custom scatter component demo (#22746) @mustafajw07
|
|
187
|
+
- [charts] Apply axis `colorMap` to radial bar fill (#22800) @JCQuintas
|
|
188
|
+
- [charts] Simplify classes type (#22626) @alexfauquette
|
|
189
|
+
- [charts] Stable progressive scatter batching + responsive zoom/pan (#22862) @JCQuintas
|
|
190
|
+
- [charts] Strip dev-only console diagnostics from production (#22917) @sai6855
|
|
191
|
+
- [docs] Fix scatter renderer table blocking column (#22904) @JCQuintas
|
|
192
|
+
- [docs] Make `ScatterAsyncRenderer` button bar responsive (#22905) @JCQuintas
|
|
193
|
+
|
|
194
|
+
#### `@mui/x-charts-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
195
|
+
|
|
196
|
+
Same changes as in `@mui/x-charts@9.7.0`.
|
|
197
|
+
|
|
198
|
+
#### `@mui/x-charts-premium@9.7.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
199
|
+
|
|
200
|
+
Same changes as in `@mui/x-charts-pro@9.7.0`.
|
|
201
|
+
|
|
202
|
+
### Tree View
|
|
203
|
+
|
|
204
|
+
#### `@mui/x-tree-view@9.7.0`
|
|
205
|
+
|
|
206
|
+
Internal changes.
|
|
207
|
+
|
|
208
|
+
#### `@mui/x-tree-view-pro@9.7.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
209
|
+
|
|
210
|
+
Same changes as in `@mui/x-tree-view@9.7.0`.
|
|
211
|
+
|
|
212
|
+
### Scheduler
|
|
213
|
+
|
|
214
|
+
#### `@mui/x-scheduler@9.0.0-beta.3`
|
|
215
|
+
|
|
216
|
+
- [scheduler] Highlight only the edited occurrence of a recurring event (#22873) @Anexus5919
|
|
217
|
+
|
|
218
|
+
#### `@mui/x-scheduler-premium@9.0.0-beta.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
219
|
+
|
|
220
|
+
Same changes as in `@mui/x-scheduler@9.0.0-beta.3`.
|
|
221
|
+
|
|
222
|
+
### Codemod
|
|
223
|
+
|
|
224
|
+
#### `@mui/x-codemod@9.7.0`
|
|
225
|
+
|
|
226
|
+
Internal changes.
|
|
227
|
+
|
|
228
|
+
### Core
|
|
229
|
+
|
|
230
|
+
- [code-infra] Fix react@^18 CI failing on nanoid trust-downgrade (#22923) @LukasTy
|
|
231
|
+
- [code-infra] Reduce Netlify build parallelism to 2 (#22925) @LukasTy
|
|
232
|
+
- [code-infra] Use Turbopack for docs in dev (#22882) @brijeshb42
|
|
233
|
+
- [docs-infra] Pre-render API page descriptions (#22919) @brijeshb42
|
|
234
|
+
- [internal] Use `@base-ui/utils/platform` for platform detection (#22710) @romgrk
|
|
235
|
+
- [internal] Enforce top-level type imports (#22679) @Janpot
|
|
236
|
+
|
|
237
|
+
### Miscellaneous
|
|
238
|
+
|
|
239
|
+
- [internal] Enable mui/no-floating-cleanup and fix leaks (#22872) @romgrk
|
|
240
|
+
- [infra] Update `.gitignore` to exclude `.claude` sub-directories (#22435) @michelengelen
|
|
241
|
+
- [virtualizer] Improve the dimensions' initial state (#22885) @arminmeh
|
|
242
|
+
|
|
3
243
|
## 9.6.0
|
|
4
244
|
|
|
5
245
|
_Jun 18, 2026_
|
|
@@ -68,7 +308,6 @@ Same changes as in `@mui/x-charts-pro@9.6.0`, plus:
|
|
|
68
308
|
- [charts-premium] Support maps tooltip positioned on items (#22648) @alexfauquette
|
|
69
309
|
- [docs] Show how to export maps (#22837) @alexfauquette
|
|
70
310
|
|
|
71
|
-
|
|
72
311
|
### Tree View
|
|
73
312
|
|
|
74
313
|
#### `@mui/x-tree-view@9.6.0`
|
|
@@ -115,7 +354,7 @@ Same changes as in `@mui/x-scheduler@9.0.0-beta.2`, plus:
|
|
|
115
354
|
|
|
116
355
|
- [scheduler-premium] Expose premium model types through public API (#22798) @mustafajw07
|
|
117
356
|
- [scheduler-premium] Remove non-functional `onPreferencesChange` prop from `EventTimelinePremium` (#22777) @rita-codes
|
|
118
|
-
- [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
|
|
357
|
+
- [scheduler-premium] Validate the `FREQ` value in `parseRRule`] (#22786) @rita-codes
|
|
119
358
|
|
|
120
359
|
### Codemod
|
|
121
360
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateCalendarProps } from "./DateCalendar.types.mjs";
|
|
2
|
+
import type { DateCalendarProps } from "./DateCalendar.types.mjs";
|
|
3
3
|
type DateCalendarComponent = ((props: DateCalendarProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateCalendarProps } from "./DateCalendar.types.js";
|
|
2
|
+
import type { DateCalendarProps } from "./DateCalendar.types.js";
|
|
3
3
|
type DateCalendarComponent = ((props: DateCalendarProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
5
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
6
|
-
import { PickersCalendarHeader, PickersCalendarHeaderProps, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from "../PickersCalendarHeader/index.mjs";
|
|
7
|
-
import { DayCalendarSlots, DayCalendarSlotProps, ExportedDayCalendarProps } from "./DayCalendar.mjs";
|
|
8
|
-
import { DateCalendarClasses } from "./dateCalendarClasses.mjs";
|
|
9
|
-
import { BaseDateValidationProps } from "../internals/models/validation.mjs";
|
|
10
|
-
import { ExportedUseViewsOptions } from "../internals/hooks/useViews.mjs";
|
|
11
|
-
import { DateView, PickerOwnerState, PickerValidDate, TimezoneProps } from "../models/index.mjs";
|
|
12
|
-
import { ExportedYearCalendarProps, YearCalendarSlots, YearCalendarSlotProps } from "../YearCalendar/YearCalendar.types.mjs";
|
|
13
|
-
import { ExportedMonthCalendarProps, MonthCalendarSlots, MonthCalendarSlotProps } from "../MonthCalendar/MonthCalendar.types.mjs";
|
|
14
|
-
import { ExportedValidateDateProps } from "../validation/validateDate.mjs";
|
|
15
|
-
import { FormProps } from "../internals/models/formProps.mjs";
|
|
16
|
-
import { PickerValue } from "../internals/models/index.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SxProps } from '@mui/system';
|
|
3
|
+
import type { Theme } from '@mui/material/styles';
|
|
4
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
5
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
6
|
+
import type { PickersCalendarHeader, PickersCalendarHeaderProps, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from "../PickersCalendarHeader/index.mjs";
|
|
7
|
+
import type { DayCalendarSlots, DayCalendarSlotProps, ExportedDayCalendarProps } from "./DayCalendar.mjs";
|
|
8
|
+
import type { DateCalendarClasses } from "./dateCalendarClasses.mjs";
|
|
9
|
+
import type { BaseDateValidationProps } from "../internals/models/validation.mjs";
|
|
10
|
+
import type { ExportedUseViewsOptions } from "../internals/hooks/useViews.mjs";
|
|
11
|
+
import type { DateView, PickerOwnerState, PickerValidDate, TimezoneProps } from "../models/index.mjs";
|
|
12
|
+
import type { ExportedYearCalendarProps, YearCalendarSlots, YearCalendarSlotProps } from "../YearCalendar/YearCalendar.types.mjs";
|
|
13
|
+
import type { ExportedMonthCalendarProps, MonthCalendarSlots, MonthCalendarSlotProps } from "../MonthCalendar/MonthCalendar.types.mjs";
|
|
14
|
+
import type { ExportedValidateDateProps } from "../validation/validateDate.mjs";
|
|
15
|
+
import type { FormProps } from "../internals/models/formProps.mjs";
|
|
16
|
+
import type { PickerValue } from "../internals/models/index.mjs";
|
|
17
17
|
export interface DateCalendarSlots extends PickersCalendarHeaderSlots, DayCalendarSlots, MonthCalendarSlots, YearCalendarSlots {
|
|
18
18
|
/**
|
|
19
19
|
* Custom component for calendar header.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
5
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
6
|
-
import { PickersCalendarHeader, PickersCalendarHeaderProps, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from "../PickersCalendarHeader/index.js";
|
|
7
|
-
import { DayCalendarSlots, DayCalendarSlotProps, ExportedDayCalendarProps } from "./DayCalendar.js";
|
|
8
|
-
import { DateCalendarClasses } from "./dateCalendarClasses.js";
|
|
9
|
-
import { BaseDateValidationProps } from "../internals/models/validation.js";
|
|
10
|
-
import { ExportedUseViewsOptions } from "../internals/hooks/useViews.js";
|
|
11
|
-
import { DateView, PickerOwnerState, PickerValidDate, TimezoneProps } from "../models/index.js";
|
|
12
|
-
import { ExportedYearCalendarProps, YearCalendarSlots, YearCalendarSlotProps } from "../YearCalendar/YearCalendar.types.js";
|
|
13
|
-
import { ExportedMonthCalendarProps, MonthCalendarSlots, MonthCalendarSlotProps } from "../MonthCalendar/MonthCalendar.types.js";
|
|
14
|
-
import { ExportedValidateDateProps } from "../validation/validateDate.js";
|
|
15
|
-
import { FormProps } from "../internals/models/formProps.js";
|
|
16
|
-
import { PickerValue } from "../internals/models/index.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SxProps } from '@mui/system';
|
|
3
|
+
import type { Theme } from '@mui/material/styles';
|
|
4
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
5
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
6
|
+
import type { PickersCalendarHeader, PickersCalendarHeaderProps, PickersCalendarHeaderSlots, PickersCalendarHeaderSlotProps } from "../PickersCalendarHeader/index.js";
|
|
7
|
+
import type { DayCalendarSlots, DayCalendarSlotProps, ExportedDayCalendarProps } from "./DayCalendar.js";
|
|
8
|
+
import type { DateCalendarClasses } from "./dateCalendarClasses.js";
|
|
9
|
+
import type { BaseDateValidationProps } from "../internals/models/validation.js";
|
|
10
|
+
import type { ExportedUseViewsOptions } from "../internals/hooks/useViews.js";
|
|
11
|
+
import type { DateView, PickerOwnerState, PickerValidDate, TimezoneProps } from "../models/index.js";
|
|
12
|
+
import type { ExportedYearCalendarProps, YearCalendarSlots, YearCalendarSlotProps } from "../YearCalendar/YearCalendar.types.js";
|
|
13
|
+
import type { ExportedMonthCalendarProps, MonthCalendarSlots, MonthCalendarSlotProps } from "../MonthCalendar/MonthCalendar.types.js";
|
|
14
|
+
import type { ExportedValidateDateProps } from "../validation/validateDate.js";
|
|
15
|
+
import type { FormProps } from "../internals/models/formProps.js";
|
|
16
|
+
import type { PickerValue } from "../internals/models/index.js";
|
|
17
17
|
export interface DateCalendarSlots extends PickersCalendarHeaderSlots, DayCalendarSlots, MonthCalendarSlots, YearCalendarSlots {
|
|
18
18
|
/**
|
|
19
19
|
* Custom component for calendar header.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps, SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
3
|
-
import { PickerDayOwnerStateBase, PickerDayProps } from "../PickerDay/index.mjs";
|
|
4
|
-
import { ExportedPickerDayProps } from "../PickerDay/PickerDay.types.mjs";
|
|
5
|
-
import { PickerOnChangeFn } from "../internals/hooks/useViews.mjs";
|
|
6
|
-
import { SlideDirection, SlideTransitionProps } from "./PickersSlideTransition.mjs";
|
|
7
|
-
import { BaseDateValidationProps, DayValidationProps, MonthValidationProps, YearValidationProps } from "../internals/models/validation.mjs";
|
|
8
|
-
import { DayCalendarClasses } from "./dayCalendarClasses.mjs";
|
|
9
|
-
import { PickerValidDate, TimezoneProps } from "../models/index.mjs";
|
|
10
|
-
import { FormProps } from "../internals/models/formProps.mjs";
|
|
2
|
+
import type { DefaultizedProps, SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { PickerDayOwnerStateBase, PickerDayProps } from "../PickerDay/index.mjs";
|
|
4
|
+
import type { ExportedPickerDayProps } from "../PickerDay/PickerDay.types.mjs";
|
|
5
|
+
import type { PickerOnChangeFn } from "../internals/hooks/useViews.mjs";
|
|
6
|
+
import type { SlideDirection, SlideTransitionProps } from "./PickersSlideTransition.mjs";
|
|
7
|
+
import type { BaseDateValidationProps, DayValidationProps, MonthValidationProps, YearValidationProps } from "../internals/models/validation.mjs";
|
|
8
|
+
import type { DayCalendarClasses } from "./dayCalendarClasses.mjs";
|
|
9
|
+
import type { PickerValidDate, TimezoneProps } from "../models/index.mjs";
|
|
10
|
+
import type { FormProps } from "../internals/models/formProps.mjs";
|
|
11
11
|
export interface DayCalendarSlots {
|
|
12
12
|
/**
|
|
13
13
|
* Custom component for day.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps, SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
3
|
-
import { PickerDayOwnerStateBase, PickerDayProps } from "../PickerDay/index.js";
|
|
4
|
-
import { ExportedPickerDayProps } from "../PickerDay/PickerDay.types.js";
|
|
5
|
-
import { PickerOnChangeFn } from "../internals/hooks/useViews.js";
|
|
6
|
-
import { SlideDirection, SlideTransitionProps } from "./PickersSlideTransition.js";
|
|
7
|
-
import { BaseDateValidationProps, DayValidationProps, MonthValidationProps, YearValidationProps } from "../internals/models/validation.js";
|
|
8
|
-
import { DayCalendarClasses } from "./dayCalendarClasses.js";
|
|
9
|
-
import { PickerValidDate, TimezoneProps } from "../models/index.js";
|
|
10
|
-
import { FormProps } from "../internals/models/formProps.js";
|
|
2
|
+
import type { DefaultizedProps, SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { PickerDayOwnerStateBase, PickerDayProps } from "../PickerDay/index.js";
|
|
4
|
+
import type { ExportedPickerDayProps } from "../PickerDay/PickerDay.types.js";
|
|
5
|
+
import type { PickerOnChangeFn } from "../internals/hooks/useViews.js";
|
|
6
|
+
import type { SlideDirection, SlideTransitionProps } from "./PickersSlideTransition.js";
|
|
7
|
+
import type { BaseDateValidationProps, DayValidationProps, MonthValidationProps, YearValidationProps } from "../internals/models/validation.js";
|
|
8
|
+
import type { DayCalendarClasses } from "./dayCalendarClasses.js";
|
|
9
|
+
import type { PickerValidDate, TimezoneProps } from "../models/index.js";
|
|
10
|
+
import type { FormProps } from "../internals/models/formProps.js";
|
|
11
11
|
export interface DayCalendarSlots {
|
|
12
12
|
/**
|
|
13
13
|
* Custom component for day.
|
|
@@ -143,6 +143,7 @@ function WrappedDay(_ref) {
|
|
|
143
143
|
} = _ref,
|
|
144
144
|
other = (0, _objectWithoutPropertiesLoose2.default)(_ref, _excluded);
|
|
145
145
|
const {
|
|
146
|
+
currentMonth,
|
|
146
147
|
disabled,
|
|
147
148
|
disableHighlightToday,
|
|
148
149
|
isMonthSwitchingAnimating,
|
|
@@ -189,19 +190,19 @@ function WrappedDay(_ref) {
|
|
|
189
190
|
}),
|
|
190
191
|
dayProps = (0, _objectWithoutPropertiesLoose2.default)(_useSlotProps, _excluded2);
|
|
191
192
|
const isFirstVisibleCell = React.useMemo(() => {
|
|
192
|
-
const startOfMonth = adapter.startOfMonth(
|
|
193
|
+
const startOfMonth = adapter.startOfMonth(currentMonth);
|
|
193
194
|
if (!showDaysOutsideCurrentMonth) {
|
|
194
195
|
return adapter.isSameDay(day, startOfMonth);
|
|
195
196
|
}
|
|
196
197
|
return adapter.isSameDay(day, adapter.startOfWeek(startOfMonth));
|
|
197
|
-
}, [
|
|
198
|
+
}, [currentMonth, day, showDaysOutsideCurrentMonth, adapter]);
|
|
198
199
|
const isLastVisibleCell = React.useMemo(() => {
|
|
199
|
-
const endOfMonth = adapter.endOfMonth(
|
|
200
|
+
const endOfMonth = adapter.endOfMonth(currentMonth);
|
|
200
201
|
if (!showDaysOutsideCurrentMonth) {
|
|
201
202
|
return adapter.isSameDay(day, endOfMonth);
|
|
202
203
|
}
|
|
203
204
|
return adapter.isSameDay(day, adapter.endOfWeek(endOfMonth));
|
|
204
|
-
}, [
|
|
205
|
+
}, [currentMonth, day, showDaysOutsideCurrentMonth, adapter]);
|
|
205
206
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Day, (0, _extends2.default)({}, dayProps, {
|
|
206
207
|
day: day,
|
|
207
208
|
disabled: isDisabled,
|
|
@@ -136,6 +136,7 @@ function WrappedDay(_ref) {
|
|
|
136
136
|
} = _ref,
|
|
137
137
|
other = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
138
138
|
const {
|
|
139
|
+
currentMonth,
|
|
139
140
|
disabled,
|
|
140
141
|
disableHighlightToday,
|
|
141
142
|
isMonthSwitchingAnimating,
|
|
@@ -182,19 +183,19 @@ function WrappedDay(_ref) {
|
|
|
182
183
|
}),
|
|
183
184
|
dayProps = _objectWithoutPropertiesLoose(_useSlotProps, _excluded2);
|
|
184
185
|
const isFirstVisibleCell = React.useMemo(() => {
|
|
185
|
-
const startOfMonth = adapter.startOfMonth(
|
|
186
|
+
const startOfMonth = adapter.startOfMonth(currentMonth);
|
|
186
187
|
if (!showDaysOutsideCurrentMonth) {
|
|
187
188
|
return adapter.isSameDay(day, startOfMonth);
|
|
188
189
|
}
|
|
189
190
|
return adapter.isSameDay(day, adapter.startOfWeek(startOfMonth));
|
|
190
|
-
}, [
|
|
191
|
+
}, [currentMonth, day, showDaysOutsideCurrentMonth, adapter]);
|
|
191
192
|
const isLastVisibleCell = React.useMemo(() => {
|
|
192
|
-
const endOfMonth = adapter.endOfMonth(
|
|
193
|
+
const endOfMonth = adapter.endOfMonth(currentMonth);
|
|
193
194
|
if (!showDaysOutsideCurrentMonth) {
|
|
194
195
|
return adapter.isSameDay(day, endOfMonth);
|
|
195
196
|
}
|
|
196
197
|
return adapter.isSameDay(day, adapter.endOfWeek(endOfMonth));
|
|
197
|
-
}, [
|
|
198
|
+
}, [currentMonth, day, showDaysOutsideCurrentMonth, adapter]);
|
|
198
199
|
return /*#__PURE__*/_jsx(Day, _extends({}, dayProps, {
|
|
199
200
|
day: day,
|
|
200
201
|
disabled: isDisabled,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PickersFadeTransitionGroupClasses } from "./pickersFadeTransitionGroupClasses.mjs";
|
|
2
|
+
import type { PickersFadeTransitionGroupClasses } from "./pickersFadeTransitionGroupClasses.mjs";
|
|
3
3
|
export interface ExportedPickersFadeTransitionGroupProps {
|
|
4
4
|
className?: string;
|
|
5
5
|
reduceAnimations: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PickersFadeTransitionGroupClasses } from "./pickersFadeTransitionGroupClasses.js";
|
|
2
|
+
import type { PickersFadeTransitionGroupClasses } from "./pickersFadeTransitionGroupClasses.js";
|
|
3
3
|
export interface ExportedPickersFadeTransitionGroupProps {
|
|
4
4
|
className?: string;
|
|
5
5
|
reduceAnimations: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CSSTransitionProps } from 'react-transition-group/CSSTransition';
|
|
3
|
-
import { PickersSlideTransitionClasses } from "./pickersSlideTransitionClasses.mjs";
|
|
4
|
-
import { PickerOwnerState } from "../models/pickers.mjs";
|
|
2
|
+
import type { CSSTransitionProps } from 'react-transition-group/CSSTransition';
|
|
3
|
+
import type { PickersSlideTransitionClasses } from "./pickersSlideTransitionClasses.mjs";
|
|
4
|
+
import type { PickerOwnerState } from "../models/pickers.mjs";
|
|
5
5
|
export type SlideDirection = 'right' | 'left';
|
|
6
6
|
export interface PickerSlideTransitionOwnerState extends PickerOwnerState {
|
|
7
7
|
slideDirection: SlideDirection;
|