@mui/x-date-pickers-pro
Version:
The Pro plan edition of the Date and Time Picker components (MUI X).
42 lines (41 loc) • 2.21 kB
TypeScript
export interface DateRangePickerDayClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to the root element if `isHighlighting=true`. */
rangeIntervalDayHighlight: string;
/** Styles applied to the root element if `isStartOfHighlighting=true`. */
rangeIntervalDayHighlightStart: string;
/** Styles applied to the root element if `isEndOfHighlighting=true`. */
rangeIntervalDayHighlightEnd: string;
/** Styles applied to the preview element. */
rangeIntervalPreview: string;
/** Styles applied to the root element if `isPreviewing=true`. */
rangeIntervalDayPreview: string;
/** Styles applied to the root element if `isStartOfPreviewing=true`. */
rangeIntervalDayPreviewStart: string;
/** Styles applied to the root element if `isEndOfPreviewing=true`. */
rangeIntervalDayPreviewEnd: string;
/** Styles applied to the root element if `outsideCurrentMonth=true` */
outsideCurrentMonth: string;
/** Styles applied to the root element if `day` is the start of the month. */
startOfMonth: string;
/** Styles applied to the root element if `day` is the end of the month. */
endOfMonth: string;
/** Styles applied to the root element if `day` is the first visible cell of the month. */
firstVisibleCell: string;
/** Styles applied to the root element if `day` is the last visible cell of the month. */
lastVisibleCell: string;
/** Styles applied to the root element if it is an empty cell used to fill the week. */
hiddenDayFiller: string;
/** Styles applied to the day element. */
day: string;
/** Styles applied to the day element if `isHighlighting=false`. */
dayOutsideRangeInterval: string;
/** Styles applied to the day element if `selected=false` and `isHighlighting=true`. */
dayInsideRangeInterval: string;
/** Styles applied to the day element if `selected=false`. */
notSelectedDate: string;
}
export type DateRangePickerDayClassKey = keyof DateRangePickerDayClasses;
export declare function getDateRangePickerDayUtilityClass(slot: string): string;
export declare const dateRangePickerDayClasses: DateRangePickerDayClasses;