diff --git a/packages/ui/report.api.md b/packages/ui/report.api.md index 4856387abf..c0166a0bdb 100644 --- a/packages/ui/report.api.md +++ b/packages/ui/report.api.md @@ -14,6 +14,8 @@ import type { ComponentProps } from 'react'; import type { ComponentPropsWithoutRef } from 'react'; import type { ComponentPropsWithRef } from 'react'; import type { CSSProperties } from 'react'; +import type { DateRangePickerProps as DateRangePickerProps_2 } from 'react-aria-components'; +import type { DateValue } from '@internationalized/date'; import type { DialogTriggerProps as DialogTriggerProps_2 } from 'react-aria-components'; import type { DisclosureGroupProps } from 'react-aria-components'; import type { DisclosurePanelProps } from 'react-aria-components'; @@ -1082,6 +1084,45 @@ export interface CursorResponse { totalCount?: number; } +// @public +export const DateRangePicker: ForwardRefExoticComponent< + DateRangePickerProps & RefAttributes +>; + +// @public +export const DateRangePickerDefinition: { + readonly styles: { + readonly [key: string]: string; + }; + readonly classNames: { + readonly root: 'bui-DateRangePicker'; + }; + readonly propDefs: { + readonly size: { + readonly dataAttribute: true; + readonly default: 'small'; + }; + readonly className: {}; + readonly label: {}; + readonly description: {}; + readonly secondaryLabel: {}; + }; +}; + +// @public (undocumented) +export type DateRangePickerOwnProps = { + size?: 'small' | 'medium' | Partial>; + className?: string; + label?: FieldLabelProps['label']; + description?: FieldLabelProps['description']; + secondaryLabel?: FieldLabelProps['secondaryLabel']; +}; + +// @public (undocumented) +export interface DateRangePickerProps + extends Omit, 'className' | 'children'>, + DateRangePickerOwnProps {} + // @public export const Dialog: ForwardRefExoticComponent< DialogProps & RefAttributes