UNPKG

@mui/x-date-pickers-pro

Version:

The Pro plan edition of the MUI X Date and Time Picker components.

45 lines 2.3 kB
export interface DateRangePickerDayClasses { /** Styles applied to the root element. */ root: string; /** Styles applied to the root element if `isDayOutsideMonth=true` and `showDaysOutsideCurrentMonth=true`. */ dayOutsideMonth: string; /** Styles applied to the root element if `isDayOutsideMonth=true` and `showDaysOutsideCurrentMonth=false`. */ fillerCell: string; /** Styles applied to the root element if `disableHighlightToday=false` and `isDayCurrent=true`. */ today: string; /** State class applied to the root element if `isDayDisabled=true`. */ disabled: string; /** State class applied to the root element if `isDaySelected=true`. */ selected: string; /** Styles applied to the root element if `isDayPreviewStart=true`. */ previewStart: string; /** Styles applied to the root element if `isDayPreviewEnd=true`. */ previewEnd: string; /** Styles applied to the root element if `isDayInsidePreview=true`. */ insidePreviewing: string; /** Styles applied to the root element if `isDaySelectionStart=true`. */ selectionStart: string; /** Styles applied to the root element if `isDaySelectionEnd=true`. */ selectionEnd: string; /** Styles applied to the root element if `isDayInsideSelection=true`. */ insideSelection: string; /** Styles applied to the root element if `isDayStartOfWeek=true`. */ startOfWeek: string; /** Styles applied to the root element if `isDayEndOfWeek=true`. */ endOfWeek: string; /** Styles applied to the root element if `isDayStartOfMonth=true`. */ startOfMonth: string; /** Styles applied to the root element if `isDayEndOfMonth=true`. */ endOfMonth: string; /** Styles applied to the root element if `isDayFirstVisibleCell=true`. */ firstVisibleCell: string; /** Styles applied to the root element if `isDayLastVisibleCell=true`. */ lastVisibleCell: string; /** Styles applied to the root element if `isDayPreviewed=true`. */ previewed: string; /** Styles applied to the root element if `isDayDraggable=true`. */ draggable: string; } export type DateRangePickerDayClassKey = keyof DateRangePickerDayClasses; export declare function getDateRangePickerDayUtilityClass(slot: string): string; export declare const dateRangePickerDayClasses: Record<keyof DateRangePickerDayClasses, string>;