@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
38 lines (36 loc) • 1.43 kB
TypeScript
/// <reference types="../../index.d.ts" />
import { PropertyValues } from 'lit';
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
import { HoverRange } from '../../utils/date';
import { DateLocaleData } from '../calcite-date-picker/utils';
import { Scale } from '../interfaces';
import { HeadingLevel } from '../functional/Heading';
import { DatePicker } from '../calcite-date-picker/customElement.js';
export declare class DatePickerMonth extends LitElement {
/** The currently active Date. */
activeDate: Date;
/** End date currently active. */
endDate?: Date;
/** Specifies the number at which section headings should start. */
headingLevel: HeadingLevel;
/** The range of dates currently being hovered. */
hoverRange: HoverRange;
/** Specifies the latest allowed date (`"yyyy-mm-dd"`). */
max: Date;
/** Specifies the earliest allowed date (`"yyyy-mm-dd"`). */
min: Date;
/** Specifies the monthStyle used by the component. */
monthStyle: "abbreviated" | "wide";
/**
* When `true`, activates the component's range mode which renders two calendars for selecting ranges of dates.
*
* @default false
*/
range: boolean;
/** Specifies the size of the component. */
scale: Scale;
/** Already selected date. */
selectedDate: Date;
/** Start date currently active. */
startDate?: Date;
}