@nicorp/nui 0.0.6 → 0.0.7
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.cjs.js +20 -20
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.es.js +5892 -7397
- package/dist/index.es.js.map +1 -1
- package/dist/nui.css +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
|
3
3
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
4
4
|
import { ClassProp } from 'class-variance-authority/types';
|
|
5
5
|
import { ClassValue } from 'clsx';
|
|
6
|
-
import { DayPicker } from 'react-day-picker';
|
|
7
6
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
7
|
import { DialogProps } from '@radix-ui/react-dialog';
|
|
9
8
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
@@ -89,13 +88,18 @@ export declare const buttonVariants: (props?: ({
|
|
|
89
88
|
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
90
89
|
} & ClassProp) | undefined) => string;
|
|
91
90
|
|
|
92
|
-
export declare function Calendar({
|
|
91
|
+
export declare function Calendar({ selected, onSelect, className, disabled, }: CalendarProps): JSX.Element;
|
|
93
92
|
|
|
94
93
|
export declare namespace Calendar {
|
|
95
94
|
var displayName: string;
|
|
96
95
|
}
|
|
97
96
|
|
|
98
|
-
export declare
|
|
97
|
+
export declare interface CalendarProps {
|
|
98
|
+
selected?: Date;
|
|
99
|
+
onSelect?: (date: Date | undefined) => void;
|
|
100
|
+
className?: string;
|
|
101
|
+
disabled?: (date: Date) => boolean;
|
|
102
|
+
}
|
|
99
103
|
|
|
100
104
|
export declare const Card: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
|
|
101
105
|
|