feat(datetime): add calendar picker (#23416)

resolves #19423

BREAKING CHANGE: The `ion-datetime` component has been revamped to use a new calendar style. As a result, some APIs have been removed. See https://github.com/ionic-team/ionic-framework/blob/master/BREAKING.md for more details.
This commit is contained in:
Liam DeBeasi
2021-06-16 15:54:15 -04:00
committed by GitHub
parent c842dd88c9
commit 932d3ca62f
63 changed files with 6056 additions and 3379 deletions

View File

@ -1,7 +1,18 @@
import { PickerOptions } from '../../interface';
export type DatetimeOptions = Partial<PickerOptions>;
export interface DatetimeOptions {
tmp?: string;
}
export interface DatetimeChangeEventDetail {
value: string | undefined | null;
value?: string | null;
}
export interface DatetimeParts {
month: number;
day: number | null;
year: number;
dayOfWeek?: number | null;
hour?: number;
minute?: number;
ampm?: 'am' | 'pm';
tzOffset?: number;
}