@umami/react-zen 0.112.0 → 0.114.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 +5 -6
- package/dist/index.js +2121 -1879
- package/dist/index.mjs +1032 -790
- package/package.json +7 -8
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
|
-
|
|
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?: (
|
|
365
|
-
}
|
|
366
|
-
export
|
|
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' {
|