@mui/x-date-pickers 9.5.0 → 9.7.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 +15 -13
- package/AdapterMomentHijri/AdapterMomentHijri.d.ts +15 -13
- package/AdapterMomentHijri/AdapterMomentHijri.js +3 -0
- package/AdapterMomentHijri/AdapterMomentHijri.mjs +4 -0
- package/AdapterMomentJalaali/AdapterMomentJalaali.d.mts +13 -12
- package/AdapterMomentJalaali/AdapterMomentJalaali.d.ts +13 -12
- package/AdapterMomentJalaali/AdapterMomentJalaali.mjs +1 -0
- package/CHANGELOG.md +261 -0
- package/DateCalendar/DateCalendar.d.mts +1 -1
- package/DateCalendar/DateCalendar.d.ts +1 -1
- package/DateCalendar/DateCalendar.js +1 -1
- package/DateCalendar/DateCalendar.mjs +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/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 +2 -1
- package/DateField/DateField.mjs +2 -1
- 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.js +1 -1
- package/DatePicker/DatePicker.mjs +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/DatePickerToolbar.js +1 -1
- package/DatePicker/DatePickerToolbar.mjs +1 -1
- 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 +2 -1
- package/DateTimeField/DateTimeField.mjs +2 -1
- 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.js +1 -1
- package/DateTimePicker/DateTimePicker.mjs +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/DateTimePickerTabs.js +1 -1
- package/DateTimePicker/DateTimePickerTabs.mjs +1 -1
- package/DateTimePicker/DateTimePickerToolbar.d.mts +5 -5
- package/DateTimePicker/DateTimePickerToolbar.d.ts +5 -5
- package/DateTimePicker/DateTimePickerToolbar.js +1 -1
- package/DateTimePicker/DateTimePickerToolbar.mjs +1 -1
- 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/DayCalendarSkeleton/DayCalendarSkeleton.js +1 -1
- package/DayCalendarSkeleton/DayCalendarSkeleton.mjs +1 -1
- package/DesktopDatePicker/DesktopDatePicker.d.mts +1 -1
- package/DesktopDatePicker/DesktopDatePicker.d.ts +1 -1
- package/DesktopDatePicker/DesktopDatePicker.js +2 -2
- package/DesktopDatePicker/DesktopDatePicker.mjs +2 -2
- 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.js +2 -2
- package/DesktopDateTimePicker/DesktopDateTimePicker.mjs +2 -2
- 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/DesktopDateTimePicker/DesktopDateTimePickerLayout.js +1 -1
- package/DesktopDateTimePicker/DesktopDateTimePickerLayout.mjs +1 -1
- package/DesktopTimePicker/DesktopTimePicker.d.mts +1 -1
- package/DesktopTimePicker/DesktopTimePicker.d.ts +1 -1
- package/DesktopTimePicker/DesktopTimePicker.js +2 -2
- package/DesktopTimePicker/DesktopTimePicker.mjs +2 -2
- 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.js +1 -1
- package/DigitalClock/DigitalClock.mjs +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/LocalizationProvider/LocalizationProvider.js +1 -1
- package/LocalizationProvider/LocalizationProvider.mjs +1 -1
- package/MobileDatePicker/MobileDatePicker.d.mts +1 -1
- package/MobileDatePicker/MobileDatePicker.d.ts +1 -1
- package/MobileDatePicker/MobileDatePicker.js +2 -2
- package/MobileDatePicker/MobileDatePicker.mjs +2 -2
- 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.js +2 -2
- package/MobileDateTimePicker/MobileDateTimePicker.mjs +2 -2
- 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.js +2 -2
- package/MobileTimePicker/MobileTimePicker.mjs +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.js +1 -1
- package/MonthCalendar/MonthCalendar.mjs +1 -1
- package/MonthCalendar/MonthCalendar.types.d.mts +8 -8
- package/MonthCalendar/MonthCalendar.types.d.ts +8 -8
- package/MonthCalendar/MonthCalendarButton.d.mts +3 -3
- package/MonthCalendar/MonthCalendarButton.d.ts +3 -3
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.d.mts +1 -1
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.d.ts +1 -1
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.js +1 -1
- package/MultiSectionDigitalClock/MultiSectionDigitalClock.mjs +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.js +1 -1
- package/PickerDay/PickerDay.mjs +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/PickersActionBar/PickersActionBar.js +1 -1
- package/PickersActionBar/PickersActionBar.mjs +1 -1
- package/PickersCalendarHeader/PickersCalendarHeader.d.mts +1 -1
- package/PickersCalendarHeader/PickersCalendarHeader.d.ts +1 -1
- package/PickersCalendarHeader/PickersCalendarHeader.js +1 -1
- package/PickersCalendarHeader/PickersCalendarHeader.mjs +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.js +1 -1
- package/PickersLayout/PickersLayout.mjs +1 -1
- 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.js +2 -2
- package/PickersSectionList/PickersSectionList.mjs +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/PickersShortcuts/PickersShortcuts.js +1 -1
- package/PickersShortcuts/PickersShortcuts.mjs +1 -1
- package/PickersTextField/PickersFilledInput/PickersFilledInput.d.mts +2 -2
- package/PickersTextField/PickersFilledInput/PickersFilledInput.d.ts +2 -2
- package/PickersTextField/PickersFilledInput/PickersFilledInput.js +2 -1
- package/PickersTextField/PickersFilledInput/PickersFilledInput.mjs +2 -1
- 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 +2 -1
- package/PickersTextField/PickersInput/PickersInput.mjs +2 -1
- 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 +17 -2
- package/PickersTextField/PickersInputBase/PickersInputBase.mjs +17 -2
- 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 +13 -9
- package/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.mjs +13 -9
- package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.mts +1 -1
- package/PickersTextField/PickersOutlinedInput/pickersOutlinedInputClasses.d.ts +1 -1
- package/PickersTextField/PickersTextField.js +5 -2
- package/PickersTextField/PickersTextField.mjs +5 -2
- 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.js +2 -2
- package/StaticDatePicker/StaticDatePicker.mjs +2 -2
- 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.js +2 -2
- package/StaticDateTimePicker/StaticDateTimePicker.mjs +2 -2
- 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.js +2 -2
- package/StaticTimePicker/StaticTimePicker.mjs +2 -2
- 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.js +1 -1
- package/TimeClock/TimeClock.mjs +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 +2 -1
- package/TimeField/TimeField.mjs +2 -1
- 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.js +1 -1
- package/TimePicker/TimePicker.mjs +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/TimePickerToolbar.js +1 -1
- package/TimePicker/TimePickerToolbar.mjs +1 -1
- 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.js +1 -1
- package/YearCalendar/YearCalendar.mjs +1 -1
- package/YearCalendar/YearCalendar.types.d.mts +8 -8
- package/YearCalendar/YearCalendar.types.d.ts +8 -8
- package/YearCalendar/YearCalendarButton.d.mts +3 -3
- package/YearCalendar/YearCalendarButton.d.ts +3 -3
- 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/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 -4
- package/internals/hooks/useField/useField.utils.d.ts +3 -4
- package/internals/hooks/useField/useField.utils.js +1 -3
- package/internals/hooks/useField/useField.utils.mjs +0 -1
- 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 +3 -1
- package/internals/hooks/useField/useFieldSectionContentProps.mjs +3 -1
- 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/faIR.js +21 -22
- package/locales/faIR.mjs +21 -22
- 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/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 +6 -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
|
@@ -120,7 +120,7 @@ const MobileDateTimePicker = exports.MobileDateTimePicker = /*#__PURE__*/React.f
|
|
|
120
120
|
return renderPicker();
|
|
121
121
|
});
|
|
122
122
|
if (process.env.NODE_ENV !== "production") MobileDateTimePicker.displayName = "MobileDateTimePicker";
|
|
123
|
-
MobileDateTimePicker.propTypes = {
|
|
123
|
+
process.env.NODE_ENV !== "production" ? MobileDateTimePicker.propTypes /* remove-proptypes */ = {
|
|
124
124
|
// ----------------------------- Warning --------------------------------
|
|
125
125
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
126
126
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -512,4 +512,4 @@ MobileDateTimePicker.propTypes = {
|
|
|
512
512
|
* @default 3
|
|
513
513
|
*/
|
|
514
514
|
yearsPerRow: _propTypes.default.oneOf([3, 4])
|
|
515
|
-
};
|
|
515
|
+
} : void 0;
|
|
@@ -113,7 +113,7 @@ const MobileDateTimePicker = /*#__PURE__*/React.forwardRef(function MobileDateTi
|
|
|
113
113
|
return renderPicker();
|
|
114
114
|
});
|
|
115
115
|
if (process.env.NODE_ENV !== "production") MobileDateTimePicker.displayName = "MobileDateTimePicker";
|
|
116
|
-
MobileDateTimePicker.propTypes = {
|
|
116
|
+
process.env.NODE_ENV !== "production" ? MobileDateTimePicker.propTypes /* remove-proptypes */ = {
|
|
117
117
|
// ----------------------------- Warning --------------------------------
|
|
118
118
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
119
119
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -505,5 +505,5 @@ MobileDateTimePicker.propTypes = {
|
|
|
505
505
|
* @default 3
|
|
506
506
|
*/
|
|
507
507
|
yearsPerRow: PropTypes.oneOf([3, 4])
|
|
508
|
-
};
|
|
508
|
+
} : void 0;
|
|
509
509
|
export { MobileDateTimePicker };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
-
import { UseMobilePickerSlots, ExportedUseMobilePickerSlotProps, MobileOnlyPickerProps } from "../internals/hooks/useMobilePicker/index.mjs";
|
|
3
|
-
import { BaseDateTimePickerProps, BaseDateTimePickerSlots, BaseDateTimePickerSlotProps } from "../DateTimePicker/shared.mjs";
|
|
1
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
+
import type { UseMobilePickerSlots, ExportedUseMobilePickerSlotProps, MobileOnlyPickerProps } from "../internals/hooks/useMobilePicker/index.mjs";
|
|
3
|
+
import type { BaseDateTimePickerProps, BaseDateTimePickerSlots, BaseDateTimePickerSlotProps } from "../DateTimePicker/shared.mjs";
|
|
4
4
|
export interface MobileDateTimePickerSlots extends BaseDateTimePickerSlots, MakeOptional<UseMobilePickerSlots, 'field'> {}
|
|
5
5
|
export interface MobileDateTimePickerSlotProps extends BaseDateTimePickerSlotProps, ExportedUseMobilePickerSlotProps {}
|
|
6
6
|
export interface MobileDateTimePickerProps extends BaseDateTimePickerProps, MobileOnlyPickerProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
-
import { UseMobilePickerSlots, ExportedUseMobilePickerSlotProps, MobileOnlyPickerProps } from "../internals/hooks/useMobilePicker/index.js";
|
|
3
|
-
import { BaseDateTimePickerProps, BaseDateTimePickerSlots, BaseDateTimePickerSlotProps } from "../DateTimePicker/shared.js";
|
|
1
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
+
import type { UseMobilePickerSlots, ExportedUseMobilePickerSlotProps, MobileOnlyPickerProps } from "../internals/hooks/useMobilePicker/index.js";
|
|
3
|
+
import type { BaseDateTimePickerProps, BaseDateTimePickerSlots, BaseDateTimePickerSlotProps } from "../DateTimePicker/shared.js";
|
|
4
4
|
export interface MobileDateTimePickerSlots extends BaseDateTimePickerSlots, MakeOptional<UseMobilePickerSlots, 'field'> {}
|
|
5
5
|
export interface MobileDateTimePickerSlotProps extends BaseDateTimePickerSlotProps, ExportedUseMobilePickerSlotProps {}
|
|
6
6
|
export interface MobileDateTimePickerProps extends BaseDateTimePickerProps, MobileOnlyPickerProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MobileTimePickerProps } from "./MobileTimePicker.types.mjs";
|
|
3
|
-
import { TimeView } from "../models/index.mjs";
|
|
2
|
+
import type { MobileTimePickerProps } from "./MobileTimePicker.types.mjs";
|
|
3
|
+
import type { TimeView } from "../models/index.mjs";
|
|
4
4
|
type MobileTimePickerComponent = ((props: MobileTimePickerProps<TimeView> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
5
5
|
propTypes?: any;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MobileTimePickerProps } from "./MobileTimePicker.types.js";
|
|
3
|
-
import { TimeView } from "../models/index.js";
|
|
2
|
+
import type { MobileTimePickerProps } from "./MobileTimePicker.types.js";
|
|
3
|
+
import type { TimeView } from "../models/index.js";
|
|
4
4
|
type MobileTimePickerComponent = ((props: MobileTimePickerProps<TimeView> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
5
5
|
propTypes?: any;
|
|
6
6
|
};
|
|
@@ -71,7 +71,7 @@ const MobileTimePicker = exports.MobileTimePicker = /*#__PURE__*/React.forwardRe
|
|
|
71
71
|
return renderPicker();
|
|
72
72
|
});
|
|
73
73
|
if (process.env.NODE_ENV !== "production") MobileTimePicker.displayName = "MobileTimePicker";
|
|
74
|
-
MobileTimePicker.propTypes = {
|
|
74
|
+
process.env.NODE_ENV !== "production" ? MobileTimePicker.propTypes /* remove-proptypes */ = {
|
|
75
75
|
// ----------------------------- Warning --------------------------------
|
|
76
76
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
77
77
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -329,4 +329,4 @@ MobileTimePicker.propTypes = {
|
|
|
329
329
|
* Available views.
|
|
330
330
|
*/
|
|
331
331
|
views: _propTypes.default.arrayOf(_propTypes.default.oneOf(['hours', 'minutes', 'seconds']).isRequired)
|
|
332
|
-
};
|
|
332
|
+
} : void 0;
|
|
@@ -64,7 +64,7 @@ const MobileTimePicker = /*#__PURE__*/React.forwardRef(function MobileTimePicker
|
|
|
64
64
|
return renderPicker();
|
|
65
65
|
});
|
|
66
66
|
if (process.env.NODE_ENV !== "production") MobileTimePicker.displayName = "MobileTimePicker";
|
|
67
|
-
MobileTimePicker.propTypes = {
|
|
67
|
+
process.env.NODE_ENV !== "production" ? MobileTimePicker.propTypes /* remove-proptypes */ = {
|
|
68
68
|
// ----------------------------- Warning --------------------------------
|
|
69
69
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
70
70
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -322,5 +322,5 @@ MobileTimePicker.propTypes = {
|
|
|
322
322
|
* Available views.
|
|
323
323
|
*/
|
|
324
324
|
views: PropTypes.arrayOf(PropTypes.oneOf(['hours', 'minutes', 'seconds']).isRequired)
|
|
325
|
-
};
|
|
325
|
+
} : void 0;
|
|
326
326
|
export { MobileTimePicker };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
-
import { UseMobilePickerSlots, ExportedUseMobilePickerSlotProps, MobileOnlyPickerProps } from "../internals/hooks/useMobilePicker/index.mjs";
|
|
3
|
-
import { BaseTimePickerProps, BaseTimePickerSlots, BaseTimePickerSlotProps } from "../TimePicker/shared.mjs";
|
|
4
|
-
import { TimeView } from "../models/index.mjs";
|
|
5
|
-
import { TimeViewWithMeridiem } from "../internals/models/index.mjs";
|
|
1
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
+
import type { UseMobilePickerSlots, ExportedUseMobilePickerSlotProps, MobileOnlyPickerProps } from "../internals/hooks/useMobilePicker/index.mjs";
|
|
3
|
+
import type { BaseTimePickerProps, BaseTimePickerSlots, BaseTimePickerSlotProps } from "../TimePicker/shared.mjs";
|
|
4
|
+
import type { TimeView } from "../models/index.mjs";
|
|
5
|
+
import type { TimeViewWithMeridiem } from "../internals/models/index.mjs";
|
|
6
6
|
export interface MobileTimePickerSlots extends BaseTimePickerSlots, MakeOptional<UseMobilePickerSlots, 'field'> {}
|
|
7
7
|
export interface MobileTimePickerSlotProps extends BaseTimePickerSlotProps, ExportedUseMobilePickerSlotProps {}
|
|
8
8
|
export interface MobileTimePickerProps<TView extends TimeViewWithMeridiem = TimeView> extends BaseTimePickerProps<TView>, MobileOnlyPickerProps {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
-
import { UseMobilePickerSlots, ExportedUseMobilePickerSlotProps, MobileOnlyPickerProps } from "../internals/hooks/useMobilePicker/index.js";
|
|
3
|
-
import { BaseTimePickerProps, BaseTimePickerSlots, BaseTimePickerSlotProps } from "../TimePicker/shared.js";
|
|
4
|
-
import { TimeView } from "../models/index.js";
|
|
5
|
-
import { TimeViewWithMeridiem } from "../internals/models/index.js";
|
|
1
|
+
import type { MakeOptional } from '@mui/x-internals/types';
|
|
2
|
+
import type { UseMobilePickerSlots, ExportedUseMobilePickerSlotProps, MobileOnlyPickerProps } from "../internals/hooks/useMobilePicker/index.js";
|
|
3
|
+
import type { BaseTimePickerProps, BaseTimePickerSlots, BaseTimePickerSlotProps } from "../TimePicker/shared.js";
|
|
4
|
+
import type { TimeView } from "../models/index.js";
|
|
5
|
+
import type { TimeViewWithMeridiem } from "../internals/models/index.js";
|
|
6
6
|
export interface MobileTimePickerSlots extends BaseTimePickerSlots, MakeOptional<UseMobilePickerSlots, 'field'> {}
|
|
7
7
|
export interface MobileTimePickerSlotProps extends BaseTimePickerSlotProps, ExportedUseMobilePickerSlotProps {}
|
|
8
8
|
export interface MobileTimePickerProps<TView extends TimeViewWithMeridiem = TimeView> extends BaseTimePickerProps<TView>, MobileOnlyPickerProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
-
import { MonthCalendarProps } from "./MonthCalendar.types.mjs";
|
|
2
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { MonthCalendarProps } from "./MonthCalendar.types.mjs";
|
|
4
4
|
export declare function useMonthCalendarDefaultizedProps(props: MonthCalendarProps, name: string): DefaultizedProps<MonthCalendarProps, 'minDate' | 'maxDate' | 'disableFuture' | 'disablePast' | 'monthsPerRow'>;
|
|
5
5
|
type MonthCalendarComponent = ((props: MonthCalendarProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
6
6
|
propTypes?: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
-
import { MonthCalendarProps } from "./MonthCalendar.types.js";
|
|
2
|
+
import type { DefaultizedProps } from '@mui/x-internals/types';
|
|
3
|
+
import type { MonthCalendarProps } from "./MonthCalendar.types.js";
|
|
4
4
|
export declare function useMonthCalendarDefaultizedProps(props: MonthCalendarProps, name: string): DefaultizedProps<MonthCalendarProps, 'minDate' | 'maxDate' | 'disableFuture' | 'disablePast' | 'monthsPerRow'>;
|
|
5
5
|
type MonthCalendarComponent = ((props: MonthCalendarProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
6
6
|
propTypes?: any;
|
|
@@ -275,7 +275,7 @@ const MonthCalendar = exports.MonthCalendar = /*#__PURE__*/React.forwardRef(func
|
|
|
275
275
|
}));
|
|
276
276
|
});
|
|
277
277
|
if (process.env.NODE_ENV !== "production") MonthCalendar.displayName = "MonthCalendar";
|
|
278
|
-
process.env.NODE_ENV !== "production" ? MonthCalendar.propTypes = {
|
|
278
|
+
process.env.NODE_ENV !== "production" ? MonthCalendar.propTypes /* remove-proptypes */ = {
|
|
279
279
|
// ----------------------------- Warning --------------------------------
|
|
280
280
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
281
281
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -267,7 +267,7 @@ export const MonthCalendar = /*#__PURE__*/React.forwardRef(function MonthCalenda
|
|
|
267
267
|
}));
|
|
268
268
|
});
|
|
269
269
|
if (process.env.NODE_ENV !== "production") MonthCalendar.displayName = "MonthCalendar";
|
|
270
|
-
process.env.NODE_ENV !== "production" ? MonthCalendar.propTypes = {
|
|
270
|
+
process.env.NODE_ENV !== "production" ? MonthCalendar.propTypes /* remove-proptypes */ = {
|
|
271
271
|
// ----------------------------- Warning --------------------------------
|
|
272
272
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
273
273
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import { SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
5
|
-
import { MonthCalendarClasses } from "./monthCalendarClasses.mjs";
|
|
6
|
-
import { BaseDateValidationProps, MonthValidationProps } from "../internals/models/validation.mjs";
|
|
7
|
-
import { PickerOwnerState, PickerValidDate, TimezoneProps } from "../models/index.mjs";
|
|
8
|
-
import { FormProps } from "../internals/models/formProps.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 { SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
5
|
+
import type { MonthCalendarClasses } from "./monthCalendarClasses.mjs";
|
|
6
|
+
import type { BaseDateValidationProps, MonthValidationProps } from "../internals/models/validation.mjs";
|
|
7
|
+
import type { PickerOwnerState, PickerValidDate, TimezoneProps } from "../models/index.mjs";
|
|
8
|
+
import type { FormProps } from "../internals/models/formProps.mjs";
|
|
9
9
|
export interface MonthButtonOwnerState extends PickerOwnerState {
|
|
10
10
|
isMonthSelected: boolean;
|
|
11
11
|
isMonthDisabled: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SxProps } from '@mui/system';
|
|
3
|
-
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import { SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
5
|
-
import { MonthCalendarClasses } from "./monthCalendarClasses.js";
|
|
6
|
-
import { BaseDateValidationProps, MonthValidationProps } from "../internals/models/validation.js";
|
|
7
|
-
import { PickerOwnerState, PickerValidDate, TimezoneProps } from "../models/index.js";
|
|
8
|
-
import { FormProps } from "../internals/models/formProps.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 { SlotComponentPropsFromProps } from '@mui/x-internals/types';
|
|
5
|
+
import type { MonthCalendarClasses } from "./monthCalendarClasses.js";
|
|
6
|
+
import type { BaseDateValidationProps, MonthValidationProps } from "../internals/models/validation.js";
|
|
7
|
+
import type { PickerOwnerState, PickerValidDate, TimezoneProps } from "../models/index.js";
|
|
8
|
+
import type { FormProps } from "../internals/models/formProps.js";
|
|
9
9
|
export interface MonthButtonOwnerState extends PickerOwnerState {
|
|
10
10
|
isMonthSelected: boolean;
|
|
11
11
|
isMonthDisabled: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MonthCalendarSlotProps, MonthCalendarSlots } from "./MonthCalendar.types.mjs";
|
|
3
|
-
import { MonthCalendarClasses } from "./monthCalendarClasses.mjs";
|
|
2
|
+
import type { MonthCalendarSlotProps, MonthCalendarSlots } from "./MonthCalendar.types.mjs";
|
|
3
|
+
import type { MonthCalendarClasses } from "./monthCalendarClasses.mjs";
|
|
4
4
|
export interface MonthCalendarButtonProps {
|
|
5
5
|
value: number;
|
|
6
6
|
tabIndex: number;
|
|
@@ -21,4 +21,4 @@ export interface MonthCalendarButtonProps {
|
|
|
21
21
|
/**
|
|
22
22
|
* @ignore - do not document.
|
|
23
23
|
*/
|
|
24
|
-
export declare const MonthCalendarButton: React.
|
|
24
|
+
export declare const MonthCalendarButton: React.MemoExoticComponent<(props: MonthCalendarButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MonthCalendarSlotProps, MonthCalendarSlots } from "./MonthCalendar.types.js";
|
|
3
|
-
import { MonthCalendarClasses } from "./monthCalendarClasses.js";
|
|
2
|
+
import type { MonthCalendarSlotProps, MonthCalendarSlots } from "./MonthCalendar.types.js";
|
|
3
|
+
import type { MonthCalendarClasses } from "./monthCalendarClasses.js";
|
|
4
4
|
export interface MonthCalendarButtonProps {
|
|
5
5
|
value: number;
|
|
6
6
|
tabIndex: number;
|
|
@@ -21,4 +21,4 @@ export interface MonthCalendarButtonProps {
|
|
|
21
21
|
/**
|
|
22
22
|
* @ignore - do not document.
|
|
23
23
|
*/
|
|
24
|
-
export declare const MonthCalendarButton: React.
|
|
24
|
+
export declare const MonthCalendarButton: React.MemoExoticComponent<(props: MonthCalendarButtonProps) => import("react/jsx-runtime").JSX.Element>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MultiSectionDigitalClockProps } from "./MultiSectionDigitalClock.types.mjs";
|
|
2
|
+
import type { MultiSectionDigitalClockProps } from "./MultiSectionDigitalClock.types.mjs";
|
|
3
3
|
type MultiSectionDigitalClockComponent = ((props: MultiSectionDigitalClockProps & 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 { MultiSectionDigitalClockProps } from "./MultiSectionDigitalClock.types.js";
|
|
2
|
+
import type { MultiSectionDigitalClockProps } from "./MultiSectionDigitalClock.types.js";
|
|
3
3
|
type MultiSectionDigitalClockComponent = ((props: MultiSectionDigitalClockProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -352,7 +352,7 @@ const MultiSectionDigitalClock = exports.MultiSectionDigitalClock = /*#__PURE__*
|
|
|
352
352
|
}));
|
|
353
353
|
});
|
|
354
354
|
if (process.env.NODE_ENV !== "production") MultiSectionDigitalClock.displayName = "MultiSectionDigitalClock";
|
|
355
|
-
process.env.NODE_ENV !== "production" ? MultiSectionDigitalClock.propTypes = {
|
|
355
|
+
process.env.NODE_ENV !== "production" ? MultiSectionDigitalClock.propTypes /* remove-proptypes */ = {
|
|
356
356
|
// ----------------------------- Warning --------------------------------
|
|
357
357
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
358
358
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -345,7 +345,7 @@ export const MultiSectionDigitalClock = /*#__PURE__*/React.forwardRef(function M
|
|
|
345
345
|
}));
|
|
346
346
|
});
|
|
347
347
|
if (process.env.NODE_ENV !== "production") MultiSectionDigitalClock.displayName = "MultiSectionDigitalClock";
|
|
348
|
-
process.env.NODE_ENV !== "production" ? MultiSectionDigitalClock.propTypes = {
|
|
348
|
+
process.env.NODE_ENV !== "production" ? MultiSectionDigitalClock.propTypes /* remove-proptypes */ = {
|
|
349
349
|
// ----------------------------- Warning --------------------------------
|
|
350
350
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
351
351
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
4
|
-
import { MultiSectionDigitalClockClasses } from "./multiSectionDigitalClockClasses.mjs";
|
|
5
|
-
import { BaseClockProps, ExportedBaseClockProps, MultiSectionDigitalClockOnlyProps } from "../internals/models/props/time.mjs";
|
|
6
|
-
import { MultiSectionDigitalClockSectionProps } from "./MultiSectionDigitalClockSection.mjs";
|
|
7
|
-
import { TimeViewWithMeridiem } from "../internals/models/index.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
+
import type MenuItem from '@mui/material/MenuItem';
|
|
4
|
+
import type { MultiSectionDigitalClockClasses } from "./multiSectionDigitalClockClasses.mjs";
|
|
5
|
+
import type { BaseClockProps, ExportedBaseClockProps, MultiSectionDigitalClockOnlyProps } from "../internals/models/props/time.mjs";
|
|
6
|
+
import type { MultiSectionDigitalClockSectionProps } from "./MultiSectionDigitalClockSection.mjs";
|
|
7
|
+
import type { TimeViewWithMeridiem } from "../internals/models/index.mjs";
|
|
8
8
|
export interface MultiSectionDigitalClockOption<TSectionValue extends number | string> {
|
|
9
9
|
isDisabled?: (value: TSectionValue) => boolean;
|
|
10
10
|
isSelected: (value: TSectionValue) => boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
-
import MenuItem from '@mui/material/MenuItem';
|
|
4
|
-
import { MultiSectionDigitalClockClasses } from "./multiSectionDigitalClockClasses.js";
|
|
5
|
-
import { BaseClockProps, ExportedBaseClockProps, MultiSectionDigitalClockOnlyProps } from "../internals/models/props/time.js";
|
|
6
|
-
import { MultiSectionDigitalClockSectionProps } from "./MultiSectionDigitalClockSection.js";
|
|
7
|
-
import { TimeViewWithMeridiem } from "../internals/models/index.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
+
import type MenuItem from '@mui/material/MenuItem';
|
|
4
|
+
import type { MultiSectionDigitalClockClasses } from "./multiSectionDigitalClockClasses.js";
|
|
5
|
+
import type { BaseClockProps, ExportedBaseClockProps, MultiSectionDigitalClockOnlyProps } from "../internals/models/props/time.js";
|
|
6
|
+
import type { MultiSectionDigitalClockSectionProps } from "./MultiSectionDigitalClockSection.js";
|
|
7
|
+
import type { TimeViewWithMeridiem } from "../internals/models/index.js";
|
|
8
8
|
export interface MultiSectionDigitalClockOption<TSectionValue extends number | string> {
|
|
9
9
|
isDisabled?: (value: TSectionValue) => boolean;
|
|
10
10
|
isSelected: (value: TSectionValue) => boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MuiPickersAdapter, PickerValidDate } from "../models/index.mjs";
|
|
2
|
-
import { MultiSectionDigitalClockOption } from "./MultiSectionDigitalClock.types.mjs";
|
|
1
|
+
import type { MuiPickersAdapter, PickerValidDate } from "../models/index.mjs";
|
|
2
|
+
import type { MultiSectionDigitalClockOption } from "./MultiSectionDigitalClock.types.mjs";
|
|
3
3
|
interface GetHoursSectionOptionsParameters {
|
|
4
4
|
now: PickerValidDate;
|
|
5
5
|
value: PickerValidDate | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MuiPickersAdapter, PickerValidDate } from "../models/index.js";
|
|
2
|
-
import { MultiSectionDigitalClockOption } from "./MultiSectionDigitalClock.types.js";
|
|
1
|
+
import type { MuiPickersAdapter, PickerValidDate } from "../models/index.js";
|
|
2
|
+
import type { MultiSectionDigitalClockOption } from "./MultiSectionDigitalClock.types.js";
|
|
3
3
|
interface GetHoursSectionOptionsParameters {
|
|
4
4
|
now: PickerValidDate;
|
|
5
5
|
value: PickerValidDate | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MultiSectionDigitalClockSectionClasses } from "./multiSectionDigitalClockSectionClasses.mjs";
|
|
2
|
+
import type { MultiSectionDigitalClockSectionClasses } from "./multiSectionDigitalClockSectionClasses.mjs";
|
|
3
3
|
import type { MultiSectionDigitalClockOption, MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from "./MultiSectionDigitalClock.types.mjs";
|
|
4
|
-
import { FormProps } from "../internals/models/formProps.mjs";
|
|
5
|
-
import { PickerOwnerState } from "../models/pickers.mjs";
|
|
4
|
+
import type { FormProps } from "../internals/models/formProps.mjs";
|
|
5
|
+
import type { PickerOwnerState } from "../models/pickers.mjs";
|
|
6
6
|
export interface ExportedMultiSectionDigitalClockSectionProps {
|
|
7
7
|
className?: string;
|
|
8
8
|
classes?: Partial<MultiSectionDigitalClockSectionClasses>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MultiSectionDigitalClockSectionClasses } from "./multiSectionDigitalClockSectionClasses.js";
|
|
2
|
+
import type { MultiSectionDigitalClockSectionClasses } from "./multiSectionDigitalClockSectionClasses.js";
|
|
3
3
|
import type { MultiSectionDigitalClockOption, MultiSectionDigitalClockSlots, MultiSectionDigitalClockSlotProps } from "./MultiSectionDigitalClock.types.js";
|
|
4
|
-
import { FormProps } from "../internals/models/formProps.js";
|
|
5
|
-
import { PickerOwnerState } from "../models/pickers.js";
|
|
4
|
+
import type { FormProps } from "../internals/models/formProps.js";
|
|
5
|
+
import type { PickerOwnerState } from "../models/pickers.js";
|
|
6
6
|
export interface ExportedMultiSectionDigitalClockSectionProps {
|
|
7
7
|
className?: string;
|
|
8
8
|
classes?: Partial<MultiSectionDigitalClockSectionClasses>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PickerDayProps } from "./PickerDay.types.mjs";
|
|
2
|
+
import type { PickerDayProps } from "./PickerDay.types.mjs";
|
|
3
3
|
type PickerDayComponent = ((props: PickerDayProps & React.RefAttributes<HTMLButtonElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
package/PickerDay/PickerDay.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PickerDayProps } from "./PickerDay.types.js";
|
|
2
|
+
import type { PickerDayProps } from "./PickerDay.types.js";
|
|
3
3
|
type PickerDayComponent = ((props: PickerDayProps & React.RefAttributes<HTMLButtonElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
package/PickerDay/PickerDay.js
CHANGED
|
@@ -228,7 +228,7 @@ const PickerDayRaw = /*#__PURE__*/React.forwardRef(function PickerDay(inProps, f
|
|
|
228
228
|
}));
|
|
229
229
|
});
|
|
230
230
|
if (process.env.NODE_ENV !== "production") PickerDayRaw.displayName = "PickerDayRaw";
|
|
231
|
-
process.env.NODE_ENV !== "production" ? PickerDayRaw.propTypes = {
|
|
231
|
+
process.env.NODE_ENV !== "production" ? PickerDayRaw.propTypes /* remove-proptypes */ = {
|
|
232
232
|
// ----------------------------- Warning --------------------------------
|
|
233
233
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
234
234
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
package/PickerDay/PickerDay.mjs
CHANGED
|
@@ -221,7 +221,7 @@ const PickerDayRaw = /*#__PURE__*/React.forwardRef(function PickerDay(inProps, f
|
|
|
221
221
|
}));
|
|
222
222
|
});
|
|
223
223
|
if (process.env.NODE_ENV !== "production") PickerDayRaw.displayName = "PickerDayRaw";
|
|
224
|
-
process.env.NODE_ENV !== "production" ? PickerDayRaw.propTypes = {
|
|
224
|
+
process.env.NODE_ENV !== "production" ? PickerDayRaw.propTypes /* remove-proptypes */ = {
|
|
225
225
|
// ----------------------------- Warning --------------------------------
|
|
226
226
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
227
227
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ButtonBaseProps } from '@mui/material/ButtonBase';
|
|
2
|
-
import { MuiEvent } from '@mui/x-internals/types';
|
|
3
|
-
import { PickerValidDate } from "../models/index.mjs";
|
|
4
|
-
import { PickerDayClasses } from "./pickerDayClasses.mjs";
|
|
5
|
-
import { PickerDayOwnerState as PickerDayOwnerStateBase } from "../internals/hooks/PickerDay.types.mjs";
|
|
1
|
+
import type { ButtonBaseProps } from '@mui/material/ButtonBase';
|
|
2
|
+
import type { MuiEvent } from '@mui/x-internals/types';
|
|
3
|
+
import type { PickerValidDate } from "../models/index.mjs";
|
|
4
|
+
import type { PickerDayClasses } from "./pickerDayClasses.mjs";
|
|
5
|
+
import type { PickerDayOwnerState as PickerDayOwnerStateBase } from "../internals/hooks/PickerDay.types.mjs";
|
|
6
6
|
export interface ExportedPickerDayProps {
|
|
7
7
|
/**
|
|
8
8
|
* If `true`, today's day is not highlighted.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ButtonBaseProps } from '@mui/material/ButtonBase';
|
|
2
|
-
import { MuiEvent } from '@mui/x-internals/types';
|
|
3
|
-
import { PickerValidDate } from "../models/index.js";
|
|
4
|
-
import { PickerDayClasses } from "./pickerDayClasses.js";
|
|
5
|
-
import { PickerDayOwnerState as PickerDayOwnerStateBase } from "../internals/hooks/PickerDay.types.js";
|
|
1
|
+
import type { ButtonBaseProps } from '@mui/material/ButtonBase';
|
|
2
|
+
import type { MuiEvent } from '@mui/x-internals/types';
|
|
3
|
+
import type { PickerValidDate } from "../models/index.js";
|
|
4
|
+
import type { PickerDayClasses } from "./pickerDayClasses.js";
|
|
5
|
+
import type { PickerDayOwnerState as PickerDayOwnerStateBase } from "../internals/hooks/PickerDay.types.js";
|
|
6
6
|
export interface ExportedPickerDayProps {
|
|
7
7
|
/**
|
|
8
8
|
* If `true`, today's day is not highlighted.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DialogActionsProps } from '@mui/material/DialogActions';
|
|
2
|
+
import type { DialogActionsProps } from '@mui/material/DialogActions';
|
|
3
3
|
export type PickersActionBarAction = 'clear' | 'cancel' | 'accept' | 'today' | 'next' | 'nextOrAccept';
|
|
4
4
|
export interface PickersActionBarProps extends DialogActionsProps {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { DialogActionsProps } from '@mui/material/DialogActions';
|
|
2
|
+
import type { DialogActionsProps } from '@mui/material/DialogActions';
|
|
3
3
|
export type PickersActionBarAction = 'clear' | 'cancel' | 'accept' | 'today' | 'next' | 'nextOrAccept';
|
|
4
4
|
export interface PickersActionBarProps extends DialogActionsProps {
|
|
5
5
|
/**
|
|
@@ -96,7 +96,7 @@ function PickersActionBarComponent(props) {
|
|
|
96
96
|
children: buttons
|
|
97
97
|
}));
|
|
98
98
|
}
|
|
99
|
-
process.env.NODE_ENV !== "production" ? PickersActionBarComponent.propTypes = {
|
|
99
|
+
process.env.NODE_ENV !== "production" ? PickersActionBarComponent.propTypes /* remove-proptypes */ = {
|
|
100
100
|
// ----------------------------- Warning --------------------------------
|
|
101
101
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
102
102
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -89,7 +89,7 @@ function PickersActionBarComponent(props) {
|
|
|
89
89
|
children: buttons
|
|
90
90
|
}));
|
|
91
91
|
}
|
|
92
|
-
process.env.NODE_ENV !== "production" ? PickersActionBarComponent.propTypes = {
|
|
92
|
+
process.env.NODE_ENV !== "production" ? PickersActionBarComponent.propTypes /* remove-proptypes */ = {
|
|
93
93
|
// ----------------------------- Warning --------------------------------
|
|
94
94
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
95
95
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PickersCalendarHeaderProps } from "./PickersCalendarHeader.types.mjs";
|
|
2
|
+
import type { PickersCalendarHeaderProps } from "./PickersCalendarHeader.types.mjs";
|
|
3
3
|
type PickersCalendarHeaderComponent = ((props: PickersCalendarHeaderProps & 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 { PickersCalendarHeaderProps } from "./PickersCalendarHeader.types.js";
|
|
2
|
+
import type { PickersCalendarHeaderProps } from "./PickersCalendarHeader.types.js";
|
|
3
3
|
type PickersCalendarHeaderComponent = ((props: PickersCalendarHeaderProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
4
4
|
propTypes?: any;
|
|
5
5
|
};
|
|
@@ -234,7 +234,7 @@ const PickersCalendarHeader = exports.PickersCalendarHeader = /*#__PURE__*/React
|
|
|
234
234
|
}));
|
|
235
235
|
});
|
|
236
236
|
if (process.env.NODE_ENV !== "production") PickersCalendarHeader.displayName = "PickersCalendarHeader";
|
|
237
|
-
process.env.NODE_ENV !== "production" ? PickersCalendarHeader.propTypes = {
|
|
237
|
+
process.env.NODE_ENV !== "production" ? PickersCalendarHeader.propTypes /* remove-proptypes */ = {
|
|
238
238
|
// ----------------------------- Warning --------------------------------
|
|
239
239
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
240
240
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -227,7 +227,7 @@ const PickersCalendarHeader = /*#__PURE__*/React.forwardRef(function PickersCale
|
|
|
227
227
|
}));
|
|
228
228
|
});
|
|
229
229
|
if (process.env.NODE_ENV !== "production") PickersCalendarHeader.displayName = "PickersCalendarHeader";
|
|
230
|
-
process.env.NODE_ENV !== "production" ? PickersCalendarHeader.propTypes = {
|
|
230
|
+
process.env.NODE_ENV !== "production" ? PickersCalendarHeader.propTypes /* remove-proptypes */ = {
|
|
231
231
|
// ----------------------------- Warning --------------------------------
|
|
232
232
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
233
233
|
// | To update them edit the TypeScript types and run "pnpm proptypes" |
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
-
import IconButton from '@mui/material/IconButton';
|
|
4
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
|
-
import { SxProps, Theme } from '@mui/material/styles';
|
|
6
|
-
import { ExportedPickersArrowSwitcherProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps } from "../internals/components/PickersArrowSwitcher/index.mjs";
|
|
7
|
-
import { MonthValidationOptions } from "../internals/hooks/date-helpers-hooks.mjs";
|
|
8
|
-
import { PickerValidDate, DateView, PickerOwnerState } from "../models/index.mjs";
|
|
9
|
-
import { PickersCalendarHeaderClasses } from "./pickersCalendarHeaderClasses.mjs";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
+
import type IconButton from '@mui/material/IconButton';
|
|
4
|
+
import type SvgIcon from '@mui/material/SvgIcon';
|
|
5
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
6
|
+
import type { ExportedPickersArrowSwitcherProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps } from "../internals/components/PickersArrowSwitcher/index.mjs";
|
|
7
|
+
import type { MonthValidationOptions } from "../internals/hooks/date-helpers-hooks.mjs";
|
|
8
|
+
import type { PickerValidDate, DateView, PickerOwnerState } from "../models/index.mjs";
|
|
9
|
+
import type { PickersCalendarHeaderClasses } from "./pickersCalendarHeaderClasses.mjs";
|
|
10
10
|
export interface PickersCalendarHeaderSlots extends PickersArrowSwitcherSlots {
|
|
11
11
|
/**
|
|
12
12
|
* Button displayed to switch between different calendar views.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
-
import IconButton from '@mui/material/IconButton';
|
|
4
|
-
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
|
-
import { SxProps, Theme } from '@mui/material/styles';
|
|
6
|
-
import { ExportedPickersArrowSwitcherProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps } from "../internals/components/PickersArrowSwitcher/index.js";
|
|
7
|
-
import { MonthValidationOptions } from "../internals/hooks/date-helpers-hooks.js";
|
|
8
|
-
import { PickerValidDate, DateView, PickerOwnerState } from "../models/index.js";
|
|
9
|
-
import { PickersCalendarHeaderClasses } from "./pickersCalendarHeaderClasses.js";
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { SlotComponentProps } from '@mui/utils/types';
|
|
3
|
+
import type IconButton from '@mui/material/IconButton';
|
|
4
|
+
import type SvgIcon from '@mui/material/SvgIcon';
|
|
5
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
6
|
+
import type { ExportedPickersArrowSwitcherProps, PickersArrowSwitcherSlots, PickersArrowSwitcherSlotProps } from "../internals/components/PickersArrowSwitcher/index.js";
|
|
7
|
+
import type { MonthValidationOptions } from "../internals/hooks/date-helpers-hooks.js";
|
|
8
|
+
import type { PickerValidDate, DateView, PickerOwnerState } from "../models/index.js";
|
|
9
|
+
import type { PickersCalendarHeaderClasses } from "./pickersCalendarHeaderClasses.js";
|
|
10
10
|
export interface PickersCalendarHeaderSlots extends PickersArrowSwitcherSlots {
|
|
11
11
|
/**
|
|
12
12
|
* Button displayed to switch between different calendar views.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PickerLayoutOwnerState, PickersLayoutProps } from "./PickersLayout.types.mjs";
|
|
3
|
-
import { PickerValidValue } from "../internals/models/index.mjs";
|
|
2
|
+
import type { PickerLayoutOwnerState, PickersLayoutProps } from "./PickersLayout.types.mjs";
|
|
3
|
+
import type { PickerValidValue } from "../internals/models/index.mjs";
|
|
4
4
|
export declare const PickersLayoutRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
5
|
ownerState: PickerLayoutOwnerState;
|
|
6
6
|
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { PickerLayoutOwnerState, PickersLayoutProps } from "./PickersLayout.types.js";
|
|
3
|
-
import { PickerValidValue } from "../internals/models/index.js";
|
|
2
|
+
import type { PickerLayoutOwnerState, PickersLayoutProps } from "./PickersLayout.types.js";
|
|
3
|
+
import type { PickerValidValue } from "../internals/models/index.js";
|
|
4
4
|
export declare const PickersLayoutRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
5
|
ownerState: PickerLayoutOwnerState;
|
|
6
6
|
}, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.HTMLAttributes<HTMLDivElement> | keyof React.ClassAttributes<HTMLDivElement>>, {}>;
|