@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,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CSSTransitionProps } from 'react-transition-group/CSSTransition';
|
|
3
|
-
import { PickersSlideTransitionClasses } from "./pickersSlideTransitionClasses.js";
|
|
4
|
-
import { PickerOwnerState } from "../models/pickers.js";
|
|
2
|
+
import type { CSSTransitionProps } from 'react-transition-group/CSSTransition';
|
|
3
|
+
import type { PickersSlideTransitionClasses } from "./pickersSlideTransitionClasses.js";
|
|
4
|
+
import type { PickerOwnerState } from "../models/pickers.js";
|
|
5
5
|
export type SlideDirection = 'right' | 'left';
|
|
6
6
|
export interface PickerSlideTransitionOwnerState extends PickerOwnerState {
|
|
7
7
|
slideDirection: SlideDirection;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SlideDirection } from "./PickersSlideTransition.mjs";
|
|
2
|
-
import { PickersTimezone, PickerValidDate } from "../models/index.mjs";
|
|
3
|
-
import { DateCalendarDefaultizedProps } from "./DateCalendar.types.mjs";
|
|
1
|
+
import type { SlideDirection } from "./PickersSlideTransition.mjs";
|
|
2
|
+
import type { PickersTimezone, PickerValidDate } from "../models/index.mjs";
|
|
3
|
+
import type { DateCalendarDefaultizedProps } from "./DateCalendar.types.mjs";
|
|
4
4
|
interface CalendarState {
|
|
5
5
|
currentMonth: PickerValidDate;
|
|
6
6
|
focusedDay: PickerValidDate | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SlideDirection } from "./PickersSlideTransition.js";
|
|
2
|
-
import { PickersTimezone, PickerValidDate } from "../models/index.js";
|
|
3
|
-
import { DateCalendarDefaultizedProps } from "./DateCalendar.types.js";
|
|
1
|
+
import type { SlideDirection } from "./PickersSlideTransition.js";
|
|
2
|
+
import type { PickersTimezone, PickerValidDate } from "../models/index.js";
|
|
3
|
+
import type { DateCalendarDefaultizedProps } from "./DateCalendar.types.js";
|
|
4
4
|
interface CalendarState {
|
|
5
5
|
currentMonth: PickerValidDate;
|
|
6
6
|
focusedDay: PickerValidDate | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
2
|
-
import { ValidateDateProps } from "../validation/index.mjs";
|
|
3
|
-
import { PickerValidDate, TimezoneProps } from "../models/index.mjs";
|
|
1
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
2
|
+
import type { ValidateDateProps } from "../validation/index.mjs";
|
|
3
|
+
import type { PickerValidDate, TimezoneProps } from "../models/index.mjs";
|
|
4
4
|
export declare const useIsDateDisabled: ({
|
|
5
5
|
shouldDisableDate,
|
|
6
6
|
shouldDisableMonth,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
2
|
-
import { ValidateDateProps } from "../validation/index.js";
|
|
3
|
-
import { PickerValidDate, TimezoneProps } from "../models/index.js";
|
|
1
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
2
|
+
import type { ValidateDateProps } from "../validation/index.js";
|
|
3
|
+
import type { PickerValidDate, TimezoneProps } from "../models/index.js";
|
|
4
4
|
export declare const useIsDateDisabled: ({
|
|
5
5
|
shouldDisableDate,
|
|
6
6
|
shouldDisableMonth,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateFieldProps } from "./DateField.types.mjs";
|
|
2
|
+
import type { DateFieldProps } from "./DateField.types.mjs";
|
|
3
3
|
type DateFieldComponent = ((props: DateFieldProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
package/DateField/DateField.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateFieldProps } from "./DateField.types.js";
|
|
2
|
+
import type { DateFieldProps } from "./DateField.types.js";
|
|
3
3
|
type DateFieldComponent = ((props: DateFieldProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
package/DateField/DateField.js
CHANGED
|
@@ -211,6 +211,7 @@ process.env.NODE_ENV !== "production" ? DateField.propTypes /* remove-proptypes
|
|
|
211
211
|
onFocus: _propTypes.default.func,
|
|
212
212
|
onInput: _propTypes.default.func,
|
|
213
213
|
onKeyDown: _propTypes.default.func,
|
|
214
|
+
onMouseDown: _propTypes.default.func,
|
|
214
215
|
onPaste: _propTypes.default.func,
|
|
215
216
|
/**
|
|
216
217
|
* Callback fired when the selected sections change.
|
package/DateField/DateField.mjs
CHANGED
|
@@ -204,6 +204,7 @@ process.env.NODE_ENV !== "production" ? DateField.propTypes /* remove-proptypes
|
|
|
204
204
|
onFocus: PropTypes.func,
|
|
205
205
|
onInput: PropTypes.func,
|
|
206
206
|
onKeyDown: PropTypes.func,
|
|
207
|
+
onMouseDown: PropTypes.func,
|
|
207
208
|
onPaste: PropTypes.func,
|
|
208
209
|
/**
|
|
209
210
|
* Callback fired when the selected sections change.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
-
import { DateValidationError, BuiltInFieldTextFieldProps } from "../models/index.mjs";
|
|
3
|
-
import { UseFieldInternalProps } from "../internals/hooks/useField/index.mjs";
|
|
4
|
-
import { ExportedValidateDateProps } from "../validation/validateDate.mjs";
|
|
5
|
-
import { PickerValue } from "../internals/models/index.mjs";
|
|
6
|
-
import { ExportedPickerFieldUIProps, PickerFieldUISlotProps, PickerFieldUISlots } from "../internals/components/PickerFieldUI.mjs";
|
|
1
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
+
import type { DateValidationError, BuiltInFieldTextFieldProps } from "../models/index.mjs";
|
|
3
|
+
import type { UseFieldInternalProps } from "../internals/hooks/useField/index.mjs";
|
|
4
|
+
import type { ExportedValidateDateProps } from "../validation/validateDate.mjs";
|
|
5
|
+
import type { PickerValue } from "../internals/models/index.mjs";
|
|
6
|
+
import type { ExportedPickerFieldUIProps, PickerFieldUISlotProps, PickerFieldUISlots } from "../internals/components/PickerFieldUI.mjs";
|
|
7
7
|
export interface UseDateFieldProps extends MakeOptional<UseFieldInternalProps<PickerValue, DateValidationError>, 'format'>, ExportedValidateDateProps, ExportedPickerFieldUIProps {}
|
|
8
8
|
export type DateFieldProps = UseDateFieldProps & Omit<BuiltInFieldTextFieldProps, keyof UseDateFieldProps> & {
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
-
import { DateValidationError, BuiltInFieldTextFieldProps } from "../models/index.js";
|
|
3
|
-
import { UseFieldInternalProps } from "../internals/hooks/useField/index.js";
|
|
4
|
-
import { ExportedValidateDateProps } from "../validation/validateDate.js";
|
|
5
|
-
import { PickerValue } from "../internals/models/index.js";
|
|
6
|
-
import { ExportedPickerFieldUIProps, PickerFieldUISlotProps, PickerFieldUISlots } from "../internals/components/PickerFieldUI.js";
|
|
1
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
+
import type { DateValidationError, BuiltInFieldTextFieldProps } from "../models/index.js";
|
|
3
|
+
import type { UseFieldInternalProps } from "../internals/hooks/useField/index.js";
|
|
4
|
+
import type { ExportedValidateDateProps } from "../validation/validateDate.js";
|
|
5
|
+
import type { PickerValue } from "../internals/models/index.js";
|
|
6
|
+
import type { ExportedPickerFieldUIProps, PickerFieldUISlotProps, PickerFieldUISlots } from "../internals/components/PickerFieldUI.js";
|
|
7
7
|
export interface UseDateFieldProps extends MakeOptional<UseFieldInternalProps<PickerValue, DateValidationError>, 'format'>, ExportedValidateDateProps, ExportedPickerFieldUIProps {}
|
|
8
8
|
export type DateFieldProps = UseDateFieldProps & Omit<BuiltInFieldTextFieldProps, keyof UseDateFieldProps> & {
|
|
9
9
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UseDateFieldProps } from "./DateField.types.mjs";
|
|
1
|
+
import type { UseDateFieldProps } from "./DateField.types.mjs";
|
|
2
2
|
export declare const useDateField: <TProps extends UseDateFieldProps>(props: TProps) => import("../internals/index.mjs").UseFieldReturnValue<TProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UseDateFieldProps } from "./DateField.types.js";
|
|
1
|
+
import type { UseDateFieldProps } from "./DateField.types.js";
|
|
2
2
|
export declare const useDateField: <TProps extends UseDateFieldProps>(props: TProps) => import("../internals/index.js").UseFieldReturnValue<TProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DatePickerProps } from "./DatePicker.types.mjs";
|
|
2
|
+
import type { DatePickerProps } from "./DatePicker.types.mjs";
|
|
3
3
|
type DatePickerComponent = ((props: DatePickerProps & 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 { DatePickerProps } from "./DatePicker.types.js";
|
|
2
|
+
import type { DatePickerProps } from "./DatePicker.types.js";
|
|
3
3
|
type DatePickerComponent = ((props: DatePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DesktopDatePickerProps, DesktopDatePickerSlots, DesktopDatePickerSlotProps } from "../DesktopDatePicker/index.mjs";
|
|
2
|
-
import { BaseSingleInputFieldProps } from "../internals/models/index.mjs";
|
|
3
|
-
import { MobileDatePickerProps, MobileDatePickerSlots, MobileDatePickerSlotProps } from "../MobileDatePicker/index.mjs";
|
|
4
|
-
import { ValidateDateProps } from "../validation/validateDate.mjs";
|
|
1
|
+
import type { DesktopDatePickerProps, DesktopDatePickerSlots, DesktopDatePickerSlotProps } from "../DesktopDatePicker/index.mjs";
|
|
2
|
+
import type { BaseSingleInputFieldProps } from "../internals/models/index.mjs";
|
|
3
|
+
import type { MobileDatePickerProps, MobileDatePickerSlots, MobileDatePickerSlotProps } from "../MobileDatePicker/index.mjs";
|
|
4
|
+
import type { ValidateDateProps } from "../validation/validateDate.mjs";
|
|
5
5
|
export interface DatePickerSlots extends DesktopDatePickerSlots, MobileDatePickerSlots {}
|
|
6
6
|
export interface DatePickerSlotProps extends DesktopDatePickerSlotProps, MobileDatePickerSlotProps {}
|
|
7
7
|
export interface DatePickerProps extends DesktopDatePickerProps, MobileDatePickerProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DesktopDatePickerProps, DesktopDatePickerSlots, DesktopDatePickerSlotProps } from "../DesktopDatePicker/index.js";
|
|
2
|
-
import { BaseSingleInputFieldProps } from "../internals/models/index.js";
|
|
3
|
-
import { MobileDatePickerProps, MobileDatePickerSlots, MobileDatePickerSlotProps } from "../MobileDatePicker/index.js";
|
|
4
|
-
import { ValidateDateProps } from "../validation/validateDate.js";
|
|
1
|
+
import type { DesktopDatePickerProps, DesktopDatePickerSlots, DesktopDatePickerSlotProps } from "../DesktopDatePicker/index.js";
|
|
2
|
+
import type { BaseSingleInputFieldProps } from "../internals/models/index.js";
|
|
3
|
+
import type { MobileDatePickerProps, MobileDatePickerSlots, MobileDatePickerSlotProps } from "../MobileDatePicker/index.js";
|
|
4
|
+
import type { ValidateDateProps } from "../validation/validateDate.js";
|
|
5
5
|
export interface DatePickerSlots extends DesktopDatePickerSlots, MobileDatePickerSlots {}
|
|
6
6
|
export interface DatePickerSlotProps extends DesktopDatePickerSlotProps, MobileDatePickerSlotProps {}
|
|
7
7
|
export interface DatePickerProps extends DesktopDatePickerProps, MobileDatePickerProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.mjs";
|
|
3
|
-
import { DatePickerToolbarClasses } from "./datePickerToolbarClasses.mjs";
|
|
2
|
+
import type { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.mjs";
|
|
3
|
+
import type { DatePickerToolbarClasses } from "./datePickerToolbarClasses.mjs";
|
|
4
4
|
export interface DatePickerToolbarProps extends BaseToolbarProps, ExportedDatePickerToolbarProps {}
|
|
5
5
|
export interface ExportedDatePickerToolbarProps extends ExportedBaseToolbarProps {
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.js";
|
|
3
|
-
import { DatePickerToolbarClasses } from "./datePickerToolbarClasses.js";
|
|
2
|
+
import type { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.js";
|
|
3
|
+
import type { DatePickerToolbarClasses } from "./datePickerToolbarClasses.js";
|
|
4
4
|
export interface DatePickerToolbarProps extends BaseToolbarProps, ExportedDatePickerToolbarProps {}
|
|
5
5
|
export interface ExportedDatePickerToolbarProps extends ExportedBaseToolbarProps {
|
|
6
6
|
/**
|
package/DatePicker/shared.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
-
import { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.mjs";
|
|
4
|
-
import { DateValidationError, DateView } from "../models/index.mjs";
|
|
5
|
-
import { BasePickerInputProps } from "../internals/models/props/basePickerProps.mjs";
|
|
6
|
-
import { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.mjs";
|
|
7
|
-
import { DatePickerToolbarProps, ExportedDatePickerToolbarProps } from "./DatePickerToolbar.mjs";
|
|
8
|
-
import { PickerViewRendererLookup } from "../internals/hooks/usePicker/index.mjs";
|
|
9
|
-
import { DateViewRendererProps } from "../dateViewRenderers/index.mjs";
|
|
10
|
-
import { PickerValue } from "../internals/models/index.mjs";
|
|
11
|
-
import { ValidateDatePropsToDefault } from "../validation/validateDate.mjs";
|
|
2
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.mjs";
|
|
4
|
+
import type { DateValidationError, DateView } from "../models/index.mjs";
|
|
5
|
+
import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.mjs";
|
|
6
|
+
import type { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.mjs";
|
|
7
|
+
import type { DatePickerToolbarProps, ExportedDatePickerToolbarProps } from "./DatePickerToolbar.mjs";
|
|
8
|
+
import type { PickerViewRendererLookup } from "../internals/hooks/usePicker/index.mjs";
|
|
9
|
+
import type { DateViewRendererProps } from "../dateViewRenderers/index.mjs";
|
|
10
|
+
import type { PickerValue } from "../internals/models/index.mjs";
|
|
11
|
+
import type { ValidateDatePropsToDefault } from "../validation/validateDate.mjs";
|
|
12
12
|
export interface BaseDatePickerSlots extends DateCalendarSlots {
|
|
13
13
|
/**
|
|
14
14
|
* Custom component for the toolbar rendered above the views.
|
package/DatePicker/shared.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
-
import { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.js";
|
|
4
|
-
import { DateValidationError, DateView } from "../models/index.js";
|
|
5
|
-
import { BasePickerInputProps } from "../internals/models/props/basePickerProps.js";
|
|
6
|
-
import { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.js";
|
|
7
|
-
import { DatePickerToolbarProps, ExportedDatePickerToolbarProps } from "./DatePickerToolbar.js";
|
|
8
|
-
import { PickerViewRendererLookup } from "../internals/hooks/usePicker/index.js";
|
|
9
|
-
import { DateViewRendererProps } from "../dateViewRenderers/index.js";
|
|
10
|
-
import { PickerValue } from "../internals/models/index.js";
|
|
11
|
-
import { ValidateDatePropsToDefault } from "../validation/validateDate.js";
|
|
2
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.js";
|
|
4
|
+
import type { DateValidationError, DateView } from "../models/index.js";
|
|
5
|
+
import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.js";
|
|
6
|
+
import type { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.js";
|
|
7
|
+
import type { DatePickerToolbarProps, ExportedDatePickerToolbarProps } from "./DatePickerToolbar.js";
|
|
8
|
+
import type { PickerViewRendererLookup } from "../internals/hooks/usePicker/index.js";
|
|
9
|
+
import type { DateViewRendererProps } from "../dateViewRenderers/index.js";
|
|
10
|
+
import type { PickerValue } from "../internals/models/index.js";
|
|
11
|
+
import type { ValidateDatePropsToDefault } from "../validation/validateDate.js";
|
|
12
12
|
export interface BaseDatePickerSlots extends DateCalendarSlots {
|
|
13
13
|
/**
|
|
14
14
|
* Custom component for the toolbar rendered above the views.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateTimeFieldProps } from "./DateTimeField.types.mjs";
|
|
2
|
+
import type { DateTimeFieldProps } from "./DateTimeField.types.mjs";
|
|
3
3
|
type DateTimeFieldComponent = ((props: DateTimeFieldProps & 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 { DateTimeFieldProps } from "./DateTimeField.types.js";
|
|
2
|
+
import type { DateTimeFieldProps } from "./DateTimeField.types.js";
|
|
3
3
|
type DateTimeFieldComponent = ((props: DateTimeFieldProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -244,6 +244,7 @@ process.env.NODE_ENV !== "production" ? DateTimeField.propTypes /* remove-propty
|
|
|
244
244
|
onFocus: _propTypes.default.func,
|
|
245
245
|
onInput: _propTypes.default.func,
|
|
246
246
|
onKeyDown: _propTypes.default.func,
|
|
247
|
+
onMouseDown: _propTypes.default.func,
|
|
247
248
|
onPaste: _propTypes.default.func,
|
|
248
249
|
/**
|
|
249
250
|
* Callback fired when the selected sections change.
|
|
@@ -237,6 +237,7 @@ process.env.NODE_ENV !== "production" ? DateTimeField.propTypes /* remove-propty
|
|
|
237
237
|
onFocus: PropTypes.func,
|
|
238
238
|
onInput: PropTypes.func,
|
|
239
239
|
onKeyDown: PropTypes.func,
|
|
240
|
+
onMouseDown: PropTypes.func,
|
|
240
241
|
onPaste: PropTypes.func,
|
|
241
242
|
/**
|
|
242
243
|
* Callback fired when the selected sections change.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
-
import { DateTimeValidationError, BuiltInFieldTextFieldProps } from "../models/index.mjs";
|
|
3
|
-
import { UseFieldInternalProps } from "../internals/hooks/useField/index.mjs";
|
|
4
|
-
import { ExportedValidateDateTimeProps } from "../validation/validateDateTime.mjs";
|
|
5
|
-
import { AmPmProps } from "../internals/models/props/time.mjs";
|
|
6
|
-
import { PickerValue } from "../internals/models/index.mjs";
|
|
7
|
-
import { ExportedPickerFieldUIProps, PickerFieldUISlotProps, PickerFieldUISlots } from "../internals/components/PickerFieldUI.mjs";
|
|
1
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
+
import type { DateTimeValidationError, BuiltInFieldTextFieldProps } from "../models/index.mjs";
|
|
3
|
+
import type { UseFieldInternalProps } from "../internals/hooks/useField/index.mjs";
|
|
4
|
+
import type { ExportedValidateDateTimeProps } from "../validation/validateDateTime.mjs";
|
|
5
|
+
import type { AmPmProps } from "../internals/models/props/time.mjs";
|
|
6
|
+
import type { PickerValue } from "../internals/models/index.mjs";
|
|
7
|
+
import type { ExportedPickerFieldUIProps, PickerFieldUISlotProps, PickerFieldUISlots } from "../internals/components/PickerFieldUI.mjs";
|
|
8
8
|
export interface UseDateTimeFieldProps extends MakeOptional<UseFieldInternalProps<PickerValue, DateTimeValidationError>, 'format'>, ExportedValidateDateTimeProps, ExportedPickerFieldUIProps, AmPmProps {}
|
|
9
9
|
export type DateTimeFieldProps = UseDateTimeFieldProps & Omit<BuiltInFieldTextFieldProps, keyof UseDateTimeFieldProps> & {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
-
import { DateTimeValidationError, BuiltInFieldTextFieldProps } from "../models/index.js";
|
|
3
|
-
import { UseFieldInternalProps } from "../internals/hooks/useField/index.js";
|
|
4
|
-
import { ExportedValidateDateTimeProps } from "../validation/validateDateTime.js";
|
|
5
|
-
import { AmPmProps } from "../internals/models/props/time.js";
|
|
6
|
-
import { PickerValue } from "../internals/models/index.js";
|
|
7
|
-
import { ExportedPickerFieldUIProps, PickerFieldUISlotProps, PickerFieldUISlots } from "../internals/components/PickerFieldUI.js";
|
|
1
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
+
import type { DateTimeValidationError, BuiltInFieldTextFieldProps } from "../models/index.js";
|
|
3
|
+
import type { UseFieldInternalProps } from "../internals/hooks/useField/index.js";
|
|
4
|
+
import type { ExportedValidateDateTimeProps } from "../validation/validateDateTime.js";
|
|
5
|
+
import type { AmPmProps } from "../internals/models/props/time.js";
|
|
6
|
+
import type { PickerValue } from "../internals/models/index.js";
|
|
7
|
+
import type { ExportedPickerFieldUIProps, PickerFieldUISlotProps, PickerFieldUISlots } from "../internals/components/PickerFieldUI.js";
|
|
8
8
|
export interface UseDateTimeFieldProps extends MakeOptional<UseFieldInternalProps<PickerValue, DateTimeValidationError>, 'format'>, ExportedValidateDateTimeProps, ExportedPickerFieldUIProps, AmPmProps {}
|
|
9
9
|
export type DateTimeFieldProps = UseDateTimeFieldProps & Omit<BuiltInFieldTextFieldProps, keyof UseDateTimeFieldProps> & {
|
|
10
10
|
/**
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UseDateTimeFieldProps } from "./DateTimeField.types.mjs";
|
|
1
|
+
import type { UseDateTimeFieldProps } from "./DateTimeField.types.mjs";
|
|
2
2
|
export declare const useDateTimeField: <TProps extends UseDateTimeFieldProps>(props: TProps) => import("../internals/index.mjs").UseFieldReturnValue<TProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { UseDateTimeFieldProps } from "./DateTimeField.types.js";
|
|
1
|
+
import type { UseDateTimeFieldProps } from "./DateTimeField.types.js";
|
|
2
2
|
export declare const useDateTimeField: <TProps extends UseDateTimeFieldProps>(props: TProps) => import("../internals/index.js").UseFieldReturnValue<TProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateTimePickerProps } from "./DateTimePicker.types.mjs";
|
|
2
|
+
import type { DateTimePickerProps } from "./DateTimePicker.types.mjs";
|
|
3
3
|
type DateTimePickerComponent = ((props: DateTimePickerProps & 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 { DateTimePickerProps } from "./DateTimePicker.types.js";
|
|
2
|
+
import type { DateTimePickerProps } from "./DateTimePicker.types.js";
|
|
3
3
|
type DateTimePickerComponent = ((props: DateTimePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DesktopDateTimePickerProps, DesktopDateTimePickerSlots, DesktopDateTimePickerSlotProps } from "../DesktopDateTimePicker/index.mjs";
|
|
2
|
-
import { BaseSingleInputFieldProps } from "../internals/models/index.mjs";
|
|
3
|
-
import { MobileDateTimePickerProps, MobileDateTimePickerSlots, MobileDateTimePickerSlotProps } from "../MobileDateTimePicker/index.mjs";
|
|
4
|
-
import { ValidateDateTimeProps } from "../validation/index.mjs";
|
|
5
|
-
import { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.mjs";
|
|
1
|
+
import type { DesktopDateTimePickerProps, DesktopDateTimePickerSlots, DesktopDateTimePickerSlotProps } from "../DesktopDateTimePicker/index.mjs";
|
|
2
|
+
import type { BaseSingleInputFieldProps } from "../internals/models/index.mjs";
|
|
3
|
+
import type { MobileDateTimePickerProps, MobileDateTimePickerSlots, MobileDateTimePickerSlotProps } from "../MobileDateTimePicker/index.mjs";
|
|
4
|
+
import type { ValidateDateTimeProps } from "../validation/index.mjs";
|
|
5
|
+
import type { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.mjs";
|
|
6
6
|
export interface DateTimePickerSlots extends DesktopDateTimePickerSlots, MobileDateTimePickerSlots {}
|
|
7
7
|
export interface DateTimePickerSlotProps extends DesktopDateTimePickerSlotProps, MobileDateTimePickerSlotProps {}
|
|
8
8
|
export interface DateTimePickerProps extends DesktopDateTimePickerProps, ExportedYearCalendarProps, Omit<MobileDateTimePickerProps, 'views'> {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DesktopDateTimePickerProps, DesktopDateTimePickerSlots, DesktopDateTimePickerSlotProps } from "../DesktopDateTimePicker/index.js";
|
|
2
|
-
import { BaseSingleInputFieldProps } from "../internals/models/index.js";
|
|
3
|
-
import { MobileDateTimePickerProps, MobileDateTimePickerSlots, MobileDateTimePickerSlotProps } from "../MobileDateTimePicker/index.js";
|
|
4
|
-
import { ValidateDateTimeProps } from "../validation/index.js";
|
|
5
|
-
import { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.js";
|
|
1
|
+
import type { DesktopDateTimePickerProps, DesktopDateTimePickerSlots, DesktopDateTimePickerSlotProps } from "../DesktopDateTimePicker/index.js";
|
|
2
|
+
import type { BaseSingleInputFieldProps } from "../internals/models/index.js";
|
|
3
|
+
import type { MobileDateTimePickerProps, MobileDateTimePickerSlots, MobileDateTimePickerSlotProps } from "../MobileDateTimePicker/index.js";
|
|
4
|
+
import type { ValidateDateTimeProps } from "../validation/index.js";
|
|
5
|
+
import type { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.js";
|
|
6
6
|
export interface DateTimePickerSlots extends DesktopDateTimePickerSlots, MobileDateTimePickerSlots {}
|
|
7
7
|
export interface DateTimePickerSlotProps extends DesktopDateTimePickerSlotProps, MobileDateTimePickerSlotProps {}
|
|
8
8
|
export interface DateTimePickerProps extends DesktopDateTimePickerProps, ExportedYearCalendarProps, Omit<MobileDateTimePickerProps, 'views'> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateTimePickerTabsClasses } from "./dateTimePickerTabsClasses.mjs";
|
|
3
|
-
import { ExportedBaseTabsProps } from "../internals/models/props/tabs.mjs";
|
|
2
|
+
import type { DateTimePickerTabsClasses } from "./dateTimePickerTabsClasses.mjs";
|
|
3
|
+
import type { ExportedBaseTabsProps } from "../internals/models/props/tabs.mjs";
|
|
4
4
|
export interface DateTimePickerTabsProps extends ExportedBaseTabsProps {
|
|
5
5
|
/**
|
|
6
6
|
* Toggles visibility of the tabs allowing view switching.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DateTimePickerTabsClasses } from "./dateTimePickerTabsClasses.js";
|
|
3
|
-
import { ExportedBaseTabsProps } from "../internals/models/props/tabs.js";
|
|
2
|
+
import type { DateTimePickerTabsClasses } from "./dateTimePickerTabsClasses.js";
|
|
3
|
+
import type { ExportedBaseTabsProps } from "../internals/models/props/tabs.js";
|
|
4
4
|
export interface DateTimePickerTabsProps extends ExportedBaseTabsProps {
|
|
5
5
|
/**
|
|
6
6
|
* Toggles visibility of the tabs allowing view switching.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.mjs";
|
|
3
|
-
import { DateTimePickerToolbarClasses } from "./dateTimePickerToolbarClasses.mjs";
|
|
4
|
-
import { DateOrTimeViewWithMeridiem, PickerValue } from "../internals/models/index.mjs";
|
|
5
|
-
import { DateTimeValidationError } from "../models/index.mjs";
|
|
6
|
-
import { SetValueActionOptions } from "../internals/components/PickerProvider.mjs";
|
|
2
|
+
import type { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.mjs";
|
|
3
|
+
import type { DateTimePickerToolbarClasses } from "./dateTimePickerToolbarClasses.mjs";
|
|
4
|
+
import type { DateOrTimeViewWithMeridiem, PickerValue } from "../internals/models/index.mjs";
|
|
5
|
+
import type { DateTimeValidationError } from "../models/index.mjs";
|
|
6
|
+
import type { SetValueActionOptions } from "../internals/components/PickerProvider.mjs";
|
|
7
7
|
export interface ExportedDateTimePickerToolbarProps extends ExportedBaseToolbarProps {
|
|
8
8
|
/**
|
|
9
9
|
* Override or extend the styles applied to the component.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.js";
|
|
3
|
-
import { DateTimePickerToolbarClasses } from "./dateTimePickerToolbarClasses.js";
|
|
4
|
-
import { DateOrTimeViewWithMeridiem, PickerValue } from "../internals/models/index.js";
|
|
5
|
-
import { DateTimeValidationError } from "../models/index.js";
|
|
6
|
-
import { SetValueActionOptions } from "../internals/components/PickerProvider.js";
|
|
2
|
+
import type { BaseToolbarProps, ExportedBaseToolbarProps } from "../internals/models/props/toolbar.js";
|
|
3
|
+
import type { DateTimePickerToolbarClasses } from "./dateTimePickerToolbarClasses.js";
|
|
4
|
+
import type { DateOrTimeViewWithMeridiem, PickerValue } from "../internals/models/index.js";
|
|
5
|
+
import type { DateTimeValidationError } from "../models/index.js";
|
|
6
|
+
import type { SetValueActionOptions } from "../internals/components/PickerProvider.js";
|
|
7
7
|
export interface ExportedDateTimePickerToolbarProps extends ExportedBaseToolbarProps {
|
|
8
8
|
/**
|
|
9
9
|
* Override or extend the styles applied to the component.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
-
import { DateOrTimeView, DateTimeValidationError } from "../models/index.mjs";
|
|
4
|
-
import { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.mjs";
|
|
5
|
-
import { BasePickerInputProps } from "../internals/models/props/basePickerProps.mjs";
|
|
6
|
-
import { DateTimePickerTabsProps } from "./DateTimePickerTabs.mjs";
|
|
7
|
-
import { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.mjs";
|
|
8
|
-
import { DateTimePickerToolbarProps, ExportedDateTimePickerToolbarProps } from "./DateTimePickerToolbar.mjs";
|
|
9
|
-
import { PickerViewRendererLookup } from "../internals/hooks/usePicker/index.mjs";
|
|
10
|
-
import { DateViewRendererProps } from "../dateViewRenderers/index.mjs";
|
|
11
|
-
import { TimeViewRendererProps } from "../timeViewRenderers/index.mjs";
|
|
12
|
-
import { BaseClockProps, DigitalTimePickerProps } from "../internals/models/props/time.mjs";
|
|
13
|
-
import { DateOrTimeViewWithMeridiem, PickerValue, TimeViewWithMeridiem } from "../internals/models/index.mjs";
|
|
14
|
-
import { ExportedValidateDateTimeProps, ValidateDateTimePropsToDefault } from "../validation/validateDateTime.mjs";
|
|
15
|
-
import { DigitalClockSlotProps, DigitalClockSlots } from "../DigitalClock/index.mjs";
|
|
16
|
-
import { MultiSectionDigitalClockSlotProps, MultiSectionDigitalClockSlots } from "../MultiSectionDigitalClock/index.mjs";
|
|
2
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { DateOrTimeView, DateTimeValidationError } from "../models/index.mjs";
|
|
4
|
+
import type { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.mjs";
|
|
5
|
+
import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.mjs";
|
|
6
|
+
import type { DateTimePickerTabsProps } from "./DateTimePickerTabs.mjs";
|
|
7
|
+
import type { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.mjs";
|
|
8
|
+
import type { DateTimePickerToolbarProps, ExportedDateTimePickerToolbarProps } from "./DateTimePickerToolbar.mjs";
|
|
9
|
+
import type { PickerViewRendererLookup } from "../internals/hooks/usePicker/index.mjs";
|
|
10
|
+
import type { DateViewRendererProps } from "../dateViewRenderers/index.mjs";
|
|
11
|
+
import type { TimeViewRendererProps } from "../timeViewRenderers/index.mjs";
|
|
12
|
+
import type { BaseClockProps, DigitalTimePickerProps } from "../internals/models/props/time.mjs";
|
|
13
|
+
import type { DateOrTimeViewWithMeridiem, PickerValue, TimeViewWithMeridiem } from "../internals/models/index.mjs";
|
|
14
|
+
import type { ExportedValidateDateTimeProps, ValidateDateTimePropsToDefault } from "../validation/validateDateTime.mjs";
|
|
15
|
+
import type { DigitalClockSlotProps, DigitalClockSlots } from "../DigitalClock/index.mjs";
|
|
16
|
+
import type { MultiSectionDigitalClockSlotProps, MultiSectionDigitalClockSlots } from "../MultiSectionDigitalClock/index.mjs";
|
|
17
17
|
export interface BaseDateTimePickerSlots extends DateCalendarSlots, DigitalClockSlots, MultiSectionDigitalClockSlots {
|
|
18
18
|
/**
|
|
19
19
|
* Tabs enabling toggling between date and time pickers.
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
-
import { DateOrTimeView, DateTimeValidationError } from "../models/index.js";
|
|
4
|
-
import { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.js";
|
|
5
|
-
import { BasePickerInputProps } from "../internals/models/props/basePickerProps.js";
|
|
6
|
-
import { DateTimePickerTabsProps } from "./DateTimePickerTabs.js";
|
|
7
|
-
import { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.js";
|
|
8
|
-
import { DateTimePickerToolbarProps, ExportedDateTimePickerToolbarProps } from "./DateTimePickerToolbar.js";
|
|
9
|
-
import { PickerViewRendererLookup } from "../internals/hooks/usePicker/index.js";
|
|
10
|
-
import { DateViewRendererProps } from "../dateViewRenderers/index.js";
|
|
11
|
-
import { TimeViewRendererProps } from "../timeViewRenderers/index.js";
|
|
12
|
-
import { BaseClockProps, DigitalTimePickerProps } from "../internals/models/props/time.js";
|
|
13
|
-
import { DateOrTimeViewWithMeridiem, PickerValue, TimeViewWithMeridiem } from "../internals/models/index.js";
|
|
14
|
-
import { ExportedValidateDateTimeProps, ValidateDateTimePropsToDefault } from "../validation/validateDateTime.js";
|
|
15
|
-
import { DigitalClockSlotProps, DigitalClockSlots } from "../DigitalClock/index.js";
|
|
16
|
-
import { MultiSectionDigitalClockSlotProps, MultiSectionDigitalClockSlots } from "../MultiSectionDigitalClock/index.js";
|
|
2
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { DateOrTimeView, DateTimeValidationError } from "../models/index.js";
|
|
4
|
+
import type { DateCalendarSlots, DateCalendarSlotProps, ExportedDateCalendarProps } from "../DateCalendar/DateCalendar.types.js";
|
|
5
|
+
import type { BasePickerInputProps } from "../internals/models/props/basePickerProps.js";
|
|
6
|
+
import type { DateTimePickerTabsProps } from "./DateTimePickerTabs.js";
|
|
7
|
+
import type { LocalizedComponent } from "../locales/utils/pickersLocaleTextApi.js";
|
|
8
|
+
import type { DateTimePickerToolbarProps, ExportedDateTimePickerToolbarProps } from "./DateTimePickerToolbar.js";
|
|
9
|
+
import type { PickerViewRendererLookup } from "../internals/hooks/usePicker/index.js";
|
|
10
|
+
import type { DateViewRendererProps } from "../dateViewRenderers/index.js";
|
|
11
|
+
import type { TimeViewRendererProps } from "../timeViewRenderers/index.js";
|
|
12
|
+
import type { BaseClockProps, DigitalTimePickerProps } from "../internals/models/props/time.js";
|
|
13
|
+
import type { DateOrTimeViewWithMeridiem, PickerValue, TimeViewWithMeridiem } from "../internals/models/index.js";
|
|
14
|
+
import type { ExportedValidateDateTimeProps, ValidateDateTimePropsToDefault } from "../validation/validateDateTime.js";
|
|
15
|
+
import type { DigitalClockSlotProps, DigitalClockSlots } from "../DigitalClock/index.js";
|
|
16
|
+
import type { MultiSectionDigitalClockSlotProps, MultiSectionDigitalClockSlots } from "../MultiSectionDigitalClock/index.js";
|
|
17
17
|
export interface BaseDateTimePickerSlots extends DateCalendarSlots, DigitalClockSlots, MultiSectionDigitalClockSlots {
|
|
18
18
|
/**
|
|
19
19
|
* Tabs enabling toggling between date and time pickers.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { SxProps } from '@mui/system';
|
|
4
|
-
import { DayCalendarSkeletonClasses } from "./dayCalendarSkeletonClasses.mjs";
|
|
2
|
+
import type { Theme } from '@mui/material/styles';
|
|
3
|
+
import type { SxProps } from '@mui/system';
|
|
4
|
+
import type { DayCalendarSkeletonClasses } from "./dayCalendarSkeletonClasses.mjs";
|
|
5
5
|
type HTMLDivProps = React.JSX.IntrinsicElements['div'];
|
|
6
6
|
export interface DayCalendarSkeletonProps extends HTMLDivProps {
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { SxProps } from '@mui/system';
|
|
4
|
-
import { DayCalendarSkeletonClasses } from "./dayCalendarSkeletonClasses.js";
|
|
2
|
+
import type { Theme } from '@mui/material/styles';
|
|
3
|
+
import type { SxProps } from '@mui/system';
|
|
4
|
+
import type { DayCalendarSkeletonClasses } from "./dayCalendarSkeletonClasses.js";
|
|
5
5
|
type HTMLDivProps = React.JSX.IntrinsicElements['div'];
|
|
6
6
|
export interface DayCalendarSkeletonProps extends HTMLDivProps {
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DesktopDatePickerProps } from "./DesktopDatePicker.types.mjs";
|
|
2
|
+
import type { DesktopDatePickerProps } from "./DesktopDatePicker.types.mjs";
|
|
3
3
|
type DesktopDatePickerComponent = ((props: DesktopDatePickerProps & 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 { DesktopDatePickerProps } from "./DesktopDatePicker.types.js";
|
|
2
|
+
import type { DesktopDatePickerProps } from "./DesktopDatePicker.types.js";
|
|
3
3
|
type DesktopDatePickerComponent = ((props: DesktopDatePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
-
import { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.mjs";
|
|
3
|
-
import { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.mjs";
|
|
4
|
-
import { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.mjs";
|
|
1
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
+
import type { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.mjs";
|
|
3
|
+
import type { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.mjs";
|
|
4
|
+
import type { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.mjs";
|
|
5
5
|
export interface DesktopDatePickerSlots extends BaseDatePickerSlots, MakeOptional<UseDesktopPickerSlots, 'field' | 'openPickerIcon'> {}
|
|
6
6
|
export interface DesktopDatePickerSlotProps extends BaseDatePickerSlotProps, ExportedUseDesktopPickerSlotProps {}
|
|
7
7
|
export interface DesktopDatePickerProps extends BaseDatePickerProps, DesktopOnlyPickerProps, ExportedYearCalendarProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
-
import { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.js";
|
|
3
|
-
import { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.js";
|
|
4
|
-
import { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.js";
|
|
1
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
+
import type { UseDesktopPickerSlots, ExportedUseDesktopPickerSlotProps, DesktopOnlyPickerProps } from "../internals/hooks/useDesktopPicker/index.js";
|
|
3
|
+
import type { BaseDatePickerProps, BaseDatePickerSlots, BaseDatePickerSlotProps } from "../DatePicker/shared.js";
|
|
4
|
+
import type { ExportedYearCalendarProps } from "../YearCalendar/YearCalendar.types.js";
|
|
5
5
|
export interface DesktopDatePickerSlots extends BaseDatePickerSlots, MakeOptional<UseDesktopPickerSlots, 'field' | 'openPickerIcon'> {}
|
|
6
6
|
export interface DesktopDatePickerSlotProps extends BaseDatePickerSlotProps, ExportedUseDesktopPickerSlotProps {}
|
|
7
7
|
export interface DesktopDatePickerProps extends BaseDatePickerProps, DesktopOnlyPickerProps, ExportedYearCalendarProps {
|