@reeverdev/ui 0.1.48 → 0.1.49

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
@@ -398,8 +398,24 @@ interface SpinnerProps extends React$1.HTMLAttributes<SVGSVGElement>, VariantPro
398
398
  }
399
399
  declare const Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.RefAttributes<SVGSVGElement>>;
400
400
 
401
- type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
402
- declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
401
+ type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
402
+ /**
403
+ * Show month and year picker dropdowns instead of text.
404
+ * @default false
405
+ */
406
+ showMonthAndYearPickers?: boolean;
407
+ /**
408
+ * The start year for the year picker dropdown.
409
+ * @default 1900
410
+ */
411
+ startYear?: number;
412
+ /**
413
+ * The end year for the year picker dropdown.
414
+ * @default current year + 50
415
+ */
416
+ endYear?: number;
417
+ };
418
+ declare function Calendar({ className, classNames, showOutsideDays, showMonthAndYearPickers, startYear, endYear, components: userComponents, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
403
419
  declare namespace Calendar {
404
420
  var displayName: string;
405
421
  }
@@ -1574,6 +1590,7 @@ declare const TreeView: React$1.ForwardRefExoticComponent<TreeViewProps & React$
1574
1590
 
1575
1591
  declare const autocompleteInputVariants: (props?: ({
1576
1592
  size?: "sm" | "md" | "lg" | null | undefined;
1593
+ fullWidth?: boolean | null | undefined;
1577
1594
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1578
1595
  interface AutocompleteOption {
1579
1596
  value: string;
@@ -1611,6 +1628,11 @@ interface AutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEl
1611
1628
  maxHeight?: number;
1612
1629
  /** Whether to highlight matching text */
1613
1630
  highlightMatch?: boolean;
1631
+ /**
1632
+ * Whether the input should take full width
1633
+ * @default false
1634
+ */
1635
+ fullWidth?: boolean;
1614
1636
  }
1615
1637
  declare const Autocomplete: React$1.ForwardRefExoticComponent<AutocompleteProps & React$1.RefAttributes<HTMLInputElement>>;
1616
1638
 
package/dist/index.d.ts CHANGED
@@ -398,8 +398,24 @@ interface SpinnerProps extends React$1.HTMLAttributes<SVGSVGElement>, VariantPro
398
398
  }
399
399
  declare const Spinner: React$1.ForwardRefExoticComponent<SpinnerProps & React$1.RefAttributes<SVGSVGElement>>;
400
400
 
401
- type CalendarProps = React$1.ComponentProps<typeof DayPicker>;
402
- declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
401
+ type CalendarProps = React$1.ComponentProps<typeof DayPicker> & {
402
+ /**
403
+ * Show month and year picker dropdowns instead of text.
404
+ * @default false
405
+ */
406
+ showMonthAndYearPickers?: boolean;
407
+ /**
408
+ * The start year for the year picker dropdown.
409
+ * @default 1900
410
+ */
411
+ startYear?: number;
412
+ /**
413
+ * The end year for the year picker dropdown.
414
+ * @default current year + 50
415
+ */
416
+ endYear?: number;
417
+ };
418
+ declare function Calendar({ className, classNames, showOutsideDays, showMonthAndYearPickers, startYear, endYear, components: userComponents, ...props }: CalendarProps): react_jsx_runtime.JSX.Element;
403
419
  declare namespace Calendar {
404
420
  var displayName: string;
405
421
  }
@@ -1574,6 +1590,7 @@ declare const TreeView: React$1.ForwardRefExoticComponent<TreeViewProps & React$
1574
1590
 
1575
1591
  declare const autocompleteInputVariants: (props?: ({
1576
1592
  size?: "sm" | "md" | "lg" | null | undefined;
1593
+ fullWidth?: boolean | null | undefined;
1577
1594
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1578
1595
  interface AutocompleteOption {
1579
1596
  value: string;
@@ -1611,6 +1628,11 @@ interface AutocompleteProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEl
1611
1628
  maxHeight?: number;
1612
1629
  /** Whether to highlight matching text */
1613
1630
  highlightMatch?: boolean;
1631
+ /**
1632
+ * Whether the input should take full width
1633
+ * @default false
1634
+ */
1635
+ fullWidth?: boolean;
1614
1636
  }
1615
1637
  declare const Autocomplete: React$1.ForwardRefExoticComponent<AutocompleteProps & React$1.RefAttributes<HTMLInputElement>>;
1616
1638