@reeverdev/ui 0.3.7 → 0.3.9

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.cts CHANGED
@@ -894,7 +894,13 @@ interface SpinnerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "col
894
894
  }
895
895
  declare const Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.RefAttributes<HTMLDivElement>>;
896
896
 
897
+ type CalendarSize = "sm" | "md" | "lg";
897
898
  type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
899
+ /**
900
+ * Size of the calendar
901
+ * @default "md"
902
+ */
903
+ size?: CalendarSize;
898
904
  /**
899
905
  * Show month and year picker dropdowns instead of text.
900
906
  * @default false
@@ -911,7 +917,7 @@ type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
911
917
  */
912
918
  endYear?: number;
913
919
  };
914
- declare function Calendar({ className, classNames, showOutsideDays, showMonthAndYearPickers, startYear, endYear, components: userComponents, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
920
+ declare function Calendar({ className, classNames, showOutsideDays, showMonthAndYearPickers, startYear, endYear, size, components: userComponents, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
915
921
  declare namespace Calendar {
916
922
  var displayName: string;
917
923
  }
package/dist/index.d.ts CHANGED
@@ -894,7 +894,13 @@ interface SpinnerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "col
894
894
  }
895
895
  declare const Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.RefAttributes<HTMLDivElement>>;
896
896
 
897
+ type CalendarSize = "sm" | "md" | "lg";
897
898
  type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
899
+ /**
900
+ * Size of the calendar
901
+ * @default "md"
902
+ */
903
+ size?: CalendarSize;
898
904
  /**
899
905
  * Show month and year picker dropdowns instead of text.
900
906
  * @default false
@@ -911,7 +917,7 @@ type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
911
917
  */
912
918
  endYear?: number;
913
919
  };
914
- declare function Calendar({ className, classNames, showOutsideDays, showMonthAndYearPickers, startYear, endYear, components: userComponents, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
920
+ declare function Calendar({ className, classNames, showOutsideDays, showMonthAndYearPickers, startYear, endYear, size, components: userComponents, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
915
921
  declare namespace Calendar {
916
922
  var displayName: string;
917
923
  }