@reeverdev/ui 0.2.6 → 0.2.8

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
@@ -1418,14 +1418,27 @@ interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, Var
1418
1418
  declare const Link: React$1.ForwardRefExoticComponent<LinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
1419
1419
 
1420
1420
  declare const backTopVariants: (props?: ({
1421
- variant?: "solid" | "ghost" | "outline" | "soft" | "surface" | null | undefined;
1422
- size?: "sm" | "md" | "lg" | null | undefined;
1421
+ position?: "bottom-right" | "bottom-left" | "bottom-center" | null | undefined;
1423
1422
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1424
1423
  interface BackTopProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof backTopVariants> {
1425
- visibilityHeight?: number;
1426
- smooth?: boolean;
1424
+ /** Scroll threshold in pixels to show the button */
1425
+ threshold?: number;
1426
+ /** Custom icon to display */
1427
1427
  icon?: React$1.ReactNode;
1428
- duration?: number;
1428
+ /** Scroll behavior */
1429
+ behavior?: ScrollBehavior;
1430
+ /** Button variant */
1431
+ variant?: "solid" | "bordered" | "light" | "flat" | "ghost";
1432
+ /** Button color */
1433
+ color?: "default" | "success" | "warning" | "danger" | "info";
1434
+ /** Button size */
1435
+ size?: "sm" | "md" | "lg";
1436
+ /** Button radius */
1437
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1438
+ /** Custom scroll target (default: window) */
1439
+ target?: React$1.RefObject<HTMLElement | null>;
1440
+ /** Callback when visibility changes */
1441
+ onVisibilityChange?: (visible: boolean) => void;
1429
1442
  }
1430
1443
  declare const BackTop: React$1.ForwardRefExoticComponent<BackTopProps & React$1.RefAttributes<HTMLButtonElement>>;
1431
1444
 
@@ -2127,7 +2140,7 @@ declare const ModalBody: {
2127
2140
  displayName: string;
2128
2141
  };
2129
2142
  declare const ModalFooter: {
2130
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
2143
+ ({ className, children, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
2131
2144
  displayName: string;
2132
2145
  };
2133
2146
  declare const ModalTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
package/dist/index.d.ts CHANGED
@@ -1418,14 +1418,27 @@ interface LinkProps extends React$1.AnchorHTMLAttributes<HTMLAnchorElement>, Var
1418
1418
  declare const Link: React$1.ForwardRefExoticComponent<LinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
1419
1419
 
1420
1420
  declare const backTopVariants: (props?: ({
1421
- variant?: "solid" | "ghost" | "outline" | "soft" | "surface" | null | undefined;
1422
- size?: "sm" | "md" | "lg" | null | undefined;
1421
+ position?: "bottom-right" | "bottom-left" | "bottom-center" | null | undefined;
1423
1422
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1424
1423
  interface BackTopProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof backTopVariants> {
1425
- visibilityHeight?: number;
1426
- smooth?: boolean;
1424
+ /** Scroll threshold in pixels to show the button */
1425
+ threshold?: number;
1426
+ /** Custom icon to display */
1427
1427
  icon?: React$1.ReactNode;
1428
- duration?: number;
1428
+ /** Scroll behavior */
1429
+ behavior?: ScrollBehavior;
1430
+ /** Button variant */
1431
+ variant?: "solid" | "bordered" | "light" | "flat" | "ghost";
1432
+ /** Button color */
1433
+ color?: "default" | "success" | "warning" | "danger" | "info";
1434
+ /** Button size */
1435
+ size?: "sm" | "md" | "lg";
1436
+ /** Button radius */
1437
+ radius?: "none" | "sm" | "md" | "lg" | "full";
1438
+ /** Custom scroll target (default: window) */
1439
+ target?: React$1.RefObject<HTMLElement | null>;
1440
+ /** Callback when visibility changes */
1441
+ onVisibilityChange?: (visible: boolean) => void;
1429
1442
  }
1430
1443
  declare const BackTop: React$1.ForwardRefExoticComponent<BackTopProps & React$1.RefAttributes<HTMLButtonElement>>;
1431
1444
 
@@ -2127,7 +2140,7 @@ declare const ModalBody: {
2127
2140
  displayName: string;
2128
2141
  };
2129
2142
  declare const ModalFooter: {
2130
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
2143
+ ({ className, children, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
2131
2144
  displayName: string;
2132
2145
  };
2133
2146
  declare const ModalTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;