init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

View File

@@ -0,0 +1,20 @@
import { ColorVariant } from '../../../types/ColorVariants';
export declare type DateEvent = Date | DetailedDateEvent;
export interface DetailedDateEvent {
date: Date;
variant: ColorVariant;
}
export declare type EventIndicator = 'dots' | 'bars';
export declare const DEFAULT_DAY_NAMES: string[];
export declare const DEFAULT_MONTH_NAMES: string[];
export declare type MonthNumber = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
export interface DateCell {
date: Date;
number: number;
ariaLabel: string;
isDisabled: boolean;
isSelected: boolean;
events: DetailedDateEvent[];
hasEvents: boolean;
classes: object;
}