@umami/react-zen 0.111.0 → 0.113.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -355,16 +355,15 @@ declare module '@umami/react-zen/Button' {
355
355
  }
356
356
 
357
357
  declare module '@umami/react-zen/Calendar' {
358
- import { CalendarProps } from 'react-aria-components';
359
- function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, ...props }: CalendarProps<any> & {
358
+ import { CalendarProps as AriaCalendarProps } from 'react-aria-components';
359
+ export interface CalendarProps extends Omit<AriaCalendarProps<any>, 'value' | 'minValue' | 'maxValue' | 'defaultValue' | 'onChange'> {
360
360
  value: Date;
361
361
  minValue?: Date;
362
362
  maxValue?: Date;
363
363
  defaultValue?: Date;
364
- onChange?: (value?: Date) => void;
365
- }): import("react").JSX.Element;
366
- export { Calendar };
367
- export type { CalendarProps };
364
+ onChange?: (date: Date) => void;
365
+ }
366
+ export function Calendar({ className, value, minValue, maxValue, defaultValue, onChange, ...props }: CalendarProps): import("react").JSX.Element;
368
367
  }
369
368
 
370
369
  declare module '@umami/react-zen/Checkbox' {