import Component from '../../components/date-picker/date-picker.component.js'; import { type EventName } from '@lit/react'; import type { CwChangeEvent } from '../../events/events.js'; import type { CwClearEvent } from '../../events/events.js'; import type { CwInputEvent } from '../../events/events.js'; import type { CwFocusEvent } from '../../events/events.js'; import type { CwBlurEvent } from '../../events/events.js'; import type { CwShowEvent } from '../../events/events.js'; import type { CwAfterShowEvent } from '../../events/events.js'; import type { CwHideEvent } from '../../events/events.js'; import type { CwAfterHideEvent } from '../../events/events.js'; import type { CwInvalidEvent } from '../../events/events.js'; export type { CwChangeEvent } from '../../events/events.js'; export type { CwClearEvent } from '../../events/events.js'; export type { CwInputEvent } from '../../events/events.js'; export type { CwFocusEvent } from '../../events/events.js'; export type { CwBlurEvent } from '../../events/events.js'; export type { CwShowEvent } from '../../events/events.js'; export type { CwAfterShowEvent } from '../../events/events.js'; export type { CwHideEvent } from '../../events/events.js'; export type { CwAfterHideEvent } from '../../events/events.js'; export type { CwInvalidEvent } from '../../events/events.js'; /** * @summary Date pickers let users select a date from a calendar. * @documentation https://cw-elements-b0c7e5.gitlab.io/components/date-picker * @status experimental * @since 1.1 * * @dependency cw-icon * @dependency cw-icon-button * @dependency cw-popup * * @slot label - The input's label. Alternatively, you can use the `label` attribute. * @slot prefix - Used to prepend a presentational icon or similar element to the combobox. * @slot suffix - Used to append a presentational icon or similar element to the combobox. * @slot clear-icon - An icon to use in lieu of the default clear icon. * @slot expand-icon - The icon to show when the control is expanded and collapsed. * @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute. * * @event cw-change - Emitted when the control's value changes. * @event cw-clear - Emitted when the control's value is cleared. * @event cw-input - Emitted when the control receives input. * @event cw-focus - Emitted when the control gains focus. * @event cw-blur - Emitted when the control loses focus. * @event cw-show - Emitted when the date picker's calendar opens. * @event cw-after-show - Emitted after the date picker's calendar opens and all animations are complete. * @event cw-hide - Emitted when the date picker's calendar closes. * @event cw-after-hide - Emitted after the date picker's calendar closes and all animations are complete. * @event cw-invalid - Emitted when the form control has been checked for validity and its constraints aren't satisfied. * * @csspart form-control - The form control that wraps the label, input, and help text. * @csspart form-control-label - The label's wrapper. * @csspart form-control-input - The date picker's wrapper. * @csspart form-control-help-text - The help text's wrapper. * @csspart combobox - The container the wraps the prefix, suffix, display input, clear icon, and expand icon. * @csspart prefix - The container that wraps the prefix slot. * @csspart suffix - The container that wraps the suffix slot. * @csspart display-input - The element that displays the selected date, an `` element. * @csspart calendar - The calendar container where the header and date grid are rendered. * @csspart header - The calendar's header containing the previous/next buttons and heading. * @csspart heading - The heading that displays the focused month and year. * @csspart previous-button - The button that navigates to the previous month. * @csspart next-button - The button that navigates to the next month. * @csspart grid - The grid that contains the weekday headers and days. * @csspart day - An individual day within the grid. * @csspart clear-button - The clear button. * @csspart expand-icon - The container that wraps the expand icon. */ declare const reactWrapper: import("@lit/react").ReactWebComponent; onCwClear: EventName; onCwInput: EventName; onCwFocus: EventName; onCwBlur: EventName; onCwShow: EventName; onCwAfterShow: EventName; onCwHide: EventName; onCwAfterHide: EventName; onCwInvalid: EventName; }>; export default reactWrapper;