import { BoxProps, ElementProps, Factory, MantineComponentStaticProperties, StylesApiProps } from '@mantine/core'; import { CalendarLevel, DatePickerType, DateStringValue, PickerBaseProps } from '../../types'; import { CalendarBaseProps } from '../Calendar'; import { DecadeLevelBaseSettings } from '../DecadeLevel'; import { DecadeLevelGroupStylesNames } from '../DecadeLevelGroup'; import { YearLevelBaseSettings } from '../YearLevel'; import { YearLevelGroupStylesNames } from '../YearLevelGroup'; export interface MonthPickerPreset { value: Type extends 'range' ? [DateStringValue | null, DateStringValue | null] : Type extends 'multiple' ? DateStringValue[] : DateStringValue | null; label: React.ReactNode; } export type MonthPickerCssVariables = { monthPickerRoot: '--preset-font-size'; }; export type MonthPickerStylesNames = DecadeLevelGroupStylesNames | YearLevelGroupStylesNames | 'presetsList' | 'presetButton' | 'monthPickerRoot'; type MonthPickerLevel = Exclude; export interface MonthPickerBaseProps extends PickerBaseProps, DecadeLevelBaseSettings, YearLevelBaseSettings, Omit { /** Determines whether level select controls should be rendered as native `