@reeverdev/ui 0.2.170 → 0.2.172
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 +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -3
- package/dist/index.d.ts +10 -3
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -60,7 +60,7 @@ declare const TextBadge: React$1.ForwardRefExoticComponent<TextBadgeProps & Reac
|
|
|
60
60
|
declare const buttonVariants: (props?: ({
|
|
61
61
|
variant?: "solid" | "bordered" | "flat" | "light" | "ghost" | null | undefined;
|
|
62
62
|
color?: "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
63
|
-
size?: "sm" | "md" | "lg" |
|
|
63
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
64
64
|
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
65
65
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
66
66
|
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "color">, VariantProps<typeof buttonVariants> {
|
|
@@ -894,9 +894,10 @@ declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.
|
|
|
894
894
|
declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
895
895
|
type PaginationLinkProps = {
|
|
896
896
|
isActive?: boolean;
|
|
897
|
+
isIconOnly?: boolean;
|
|
897
898
|
} & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
|
|
898
899
|
declare const PaginationLink: {
|
|
899
|
-
({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
900
|
+
({ className, isActive, size, isIconOnly, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
900
901
|
displayName: string;
|
|
901
902
|
};
|
|
902
903
|
declare const PaginationPrevious: {
|
|
@@ -2608,7 +2609,11 @@ declare const fullCalendarVariants: (props?: ({
|
|
|
2608
2609
|
variant?: "bordered" | "default" | "ghost" | null | undefined;
|
|
2609
2610
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2610
2611
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2611
|
-
type CalendarView = "month" | "week" | "day";
|
|
2612
|
+
type CalendarView = "month" | "week" | "day" | (string & {});
|
|
2613
|
+
interface CalendarViewOption {
|
|
2614
|
+
value: string;
|
|
2615
|
+
label: string;
|
|
2616
|
+
}
|
|
2612
2617
|
interface CalendarEvent {
|
|
2613
2618
|
id: string;
|
|
2614
2619
|
title: string;
|
|
@@ -2625,6 +2630,8 @@ interface FullCalendarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
2625
2630
|
view?: CalendarView;
|
|
2626
2631
|
/** Callback when view changes */
|
|
2627
2632
|
onViewChange?: (view: CalendarView) => void;
|
|
2633
|
+
/** View options for the dropdown */
|
|
2634
|
+
viewOptions?: CalendarViewOption[];
|
|
2628
2635
|
/** Current date */
|
|
2629
2636
|
date?: Date;
|
|
2630
2637
|
/** Callback when date changes */
|
package/dist/index.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ declare const TextBadge: React$1.ForwardRefExoticComponent<TextBadgeProps & Reac
|
|
|
60
60
|
declare const buttonVariants: (props?: ({
|
|
61
61
|
variant?: "solid" | "bordered" | "flat" | "light" | "ghost" | null | undefined;
|
|
62
62
|
color?: "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
63
|
-
size?: "sm" | "md" | "lg" |
|
|
63
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
64
64
|
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
65
65
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
66
66
|
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "color">, VariantProps<typeof buttonVariants> {
|
|
@@ -894,9 +894,10 @@ declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.
|
|
|
894
894
|
declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
895
895
|
type PaginationLinkProps = {
|
|
896
896
|
isActive?: boolean;
|
|
897
|
+
isIconOnly?: boolean;
|
|
897
898
|
} & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
|
|
898
899
|
declare const PaginationLink: {
|
|
899
|
-
({ className, isActive, size, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
900
|
+
({ className, isActive, size, isIconOnly, ...props }: PaginationLinkProps): react_jsx_runtime.JSX.Element;
|
|
900
901
|
displayName: string;
|
|
901
902
|
};
|
|
902
903
|
declare const PaginationPrevious: {
|
|
@@ -2608,7 +2609,11 @@ declare const fullCalendarVariants: (props?: ({
|
|
|
2608
2609
|
variant?: "bordered" | "default" | "ghost" | null | undefined;
|
|
2609
2610
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2610
2611
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2611
|
-
type CalendarView = "month" | "week" | "day";
|
|
2612
|
+
type CalendarView = "month" | "week" | "day" | (string & {});
|
|
2613
|
+
interface CalendarViewOption {
|
|
2614
|
+
value: string;
|
|
2615
|
+
label: string;
|
|
2616
|
+
}
|
|
2612
2617
|
interface CalendarEvent {
|
|
2613
2618
|
id: string;
|
|
2614
2619
|
title: string;
|
|
@@ -2625,6 +2630,8 @@ interface FullCalendarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>,
|
|
|
2625
2630
|
view?: CalendarView;
|
|
2626
2631
|
/** Callback when view changes */
|
|
2627
2632
|
onViewChange?: (view: CalendarView) => void;
|
|
2633
|
+
/** View options for the dropdown */
|
|
2634
|
+
viewOptions?: CalendarViewOption[];
|
|
2628
2635
|
/** Current date */
|
|
2629
2636
|
date?: Date;
|
|
2630
2637
|
/** Callback when date changes */
|