@reeverdev/ui 0.2.7 → 0.2.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.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -5
- package/dist/index.d.ts +18 -5
- 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
|
@@ -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
|
-
|
|
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
|
-
|
|
1426
|
-
|
|
1424
|
+
/** Scroll threshold in pixels to show the button */
|
|
1425
|
+
threshold?: number;
|
|
1426
|
+
/** Custom icon to display */
|
|
1427
1427
|
icon?: React$1.ReactNode;
|
|
1428
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
1426
|
-
|
|
1424
|
+
/** Scroll threshold in pixels to show the button */
|
|
1425
|
+
threshold?: number;
|
|
1426
|
+
/** Custom icon to display */
|
|
1427
1427
|
icon?: React$1.ReactNode;
|
|
1428
|
-
|
|
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
|
|