@reeverdev/ui 0.2.171 → 0.2.173
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 +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2609,7 +2609,11 @@ declare const fullCalendarVariants: (props?: ({
|
|
|
2609
2609
|
variant?: "bordered" | "default" | "ghost" | null | undefined;
|
|
2610
2610
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2611
2611
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2612
|
-
type CalendarView = "month" | "week" | "day";
|
|
2612
|
+
type CalendarView = "month" | "week" | "day" | (string & {});
|
|
2613
|
+
interface CalendarViewOption {
|
|
2614
|
+
value: string;
|
|
2615
|
+
label: string;
|
|
2616
|
+
}
|
|
2613
2617
|
interface CalendarEvent {
|
|
2614
2618
|
id: string;
|
|
2615
2619
|
title: string;
|
|
@@ -2626,6 +2630,8 @@ interface FullCalendarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
2626
2630
|
view?: CalendarView;
|
|
2627
2631
|
/** Callback when view changes */
|
|
2628
2632
|
onViewChange?: (view: CalendarView) => void;
|
|
2633
|
+
/** View options for the dropdown */
|
|
2634
|
+
viewOptions?: CalendarViewOption[];
|
|
2629
2635
|
/** Current date */
|
|
2630
2636
|
date?: Date;
|
|
2631
2637
|
/** Callback when date changes */
|
package/dist/index.d.ts
CHANGED
|
@@ -2609,7 +2609,11 @@ declare const fullCalendarVariants: (props?: ({
|
|
|
2609
2609
|
variant?: "bordered" | "default" | "ghost" | null | undefined;
|
|
2610
2610
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2611
2611
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2612
|
-
type CalendarView = "month" | "week" | "day";
|
|
2612
|
+
type CalendarView = "month" | "week" | "day" | (string & {});
|
|
2613
|
+
interface CalendarViewOption {
|
|
2614
|
+
value: string;
|
|
2615
|
+
label: string;
|
|
2616
|
+
}
|
|
2613
2617
|
interface CalendarEvent {
|
|
2614
2618
|
id: string;
|
|
2615
2619
|
title: string;
|
|
@@ -2626,6 +2630,8 @@ interface FullCalendarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
2626
2630
|
view?: CalendarView;
|
|
2627
2631
|
/** Callback when view changes */
|
|
2628
2632
|
onViewChange?: (view: CalendarView) => void;
|
|
2633
|
+
/** View options for the dropdown */
|
|
2634
|
+
viewOptions?: CalendarViewOption[];
|
|
2629
2635
|
/** Current date */
|
|
2630
2636
|
date?: Date;
|
|
2631
2637
|
/** Callback when date changes */
|