@reeverdev/ui 0.2.9 → 0.2.10
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 +27 -16
- package/dist/index.d.ts +27 -16
- 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
|
@@ -3682,29 +3682,40 @@ declare const bottomNavigationVariants: (props?: ({
|
|
|
3682
3682
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3683
3683
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3684
3684
|
interface BottomNavigationItem {
|
|
3685
|
+
/** Unique identifier for the item */
|
|
3685
3686
|
key: string;
|
|
3686
|
-
|
|
3687
|
+
/** Icon to display */
|
|
3687
3688
|
icon: React$1.ReactNode;
|
|
3689
|
+
/** Active state icon (optional) */
|
|
3688
3690
|
activeIcon?: React$1.ReactNode;
|
|
3689
|
-
|
|
3691
|
+
/** Label text */
|
|
3692
|
+
label?: string;
|
|
3693
|
+
/** Badge count (0 or undefined to hide) */
|
|
3694
|
+
badge?: number;
|
|
3695
|
+
/** Show dot badge instead of count */
|
|
3696
|
+
showDot?: boolean;
|
|
3697
|
+
/** Disabled state */
|
|
3698
|
+
disabled?: boolean;
|
|
3699
|
+
/** Custom href for navigation */
|
|
3690
3700
|
href?: string;
|
|
3691
|
-
onClick?: () => void;
|
|
3692
3701
|
}
|
|
3693
|
-
interface BottomNavigationProps extends
|
|
3702
|
+
interface BottomNavigationProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof bottomNavigationVariants> {
|
|
3694
3703
|
/** Navigation items */
|
|
3695
3704
|
items: BottomNavigationItem[];
|
|
3696
|
-
/**
|
|
3697
|
-
|
|
3698
|
-
/** Default active key */
|
|
3699
|
-
|
|
3700
|
-
/**
|
|
3701
|
-
|
|
3702
|
-
/**
|
|
3703
|
-
|
|
3704
|
-
/**
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3705
|
+
/** Currently active item key (controlled) */
|
|
3706
|
+
value?: string;
|
|
3707
|
+
/** Default active item key (uncontrolled) */
|
|
3708
|
+
defaultValue?: string;
|
|
3709
|
+
/** Callback when active item changes */
|
|
3710
|
+
onValueChange?: (value: string) => void;
|
|
3711
|
+
/** Hide labels, show only icons */
|
|
3712
|
+
hideLabels?: boolean;
|
|
3713
|
+
/** Show labels only for active item */
|
|
3714
|
+
showActiveLabel?: boolean;
|
|
3715
|
+
/** Custom render for navigation item */
|
|
3716
|
+
renderItem?: (item: BottomNavigationItem, isActive: boolean) => React$1.ReactNode;
|
|
3717
|
+
}
|
|
3718
|
+
declare const BottomNavigation: React$1.ForwardRefExoticComponent<BottomNavigationProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3708
3719
|
|
|
3709
3720
|
declare const actionSheetItemVariants: (props?: ({
|
|
3710
3721
|
variant?: "default" | "destructive" | null | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -3682,29 +3682,40 @@ declare const bottomNavigationVariants: (props?: ({
|
|
|
3682
3682
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3683
3683
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
3684
3684
|
interface BottomNavigationItem {
|
|
3685
|
+
/** Unique identifier for the item */
|
|
3685
3686
|
key: string;
|
|
3686
|
-
|
|
3687
|
+
/** Icon to display */
|
|
3687
3688
|
icon: React$1.ReactNode;
|
|
3689
|
+
/** Active state icon (optional) */
|
|
3688
3690
|
activeIcon?: React$1.ReactNode;
|
|
3689
|
-
|
|
3691
|
+
/** Label text */
|
|
3692
|
+
label?: string;
|
|
3693
|
+
/** Badge count (0 or undefined to hide) */
|
|
3694
|
+
badge?: number;
|
|
3695
|
+
/** Show dot badge instead of count */
|
|
3696
|
+
showDot?: boolean;
|
|
3697
|
+
/** Disabled state */
|
|
3698
|
+
disabled?: boolean;
|
|
3699
|
+
/** Custom href for navigation */
|
|
3690
3700
|
href?: string;
|
|
3691
|
-
onClick?: () => void;
|
|
3692
3701
|
}
|
|
3693
|
-
interface BottomNavigationProps extends
|
|
3702
|
+
interface BottomNavigationProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof bottomNavigationVariants> {
|
|
3694
3703
|
/** Navigation items */
|
|
3695
3704
|
items: BottomNavigationItem[];
|
|
3696
|
-
/**
|
|
3697
|
-
|
|
3698
|
-
/** Default active key */
|
|
3699
|
-
|
|
3700
|
-
/**
|
|
3701
|
-
|
|
3702
|
-
/**
|
|
3703
|
-
|
|
3704
|
-
/**
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3705
|
+
/** Currently active item key (controlled) */
|
|
3706
|
+
value?: string;
|
|
3707
|
+
/** Default active item key (uncontrolled) */
|
|
3708
|
+
defaultValue?: string;
|
|
3709
|
+
/** Callback when active item changes */
|
|
3710
|
+
onValueChange?: (value: string) => void;
|
|
3711
|
+
/** Hide labels, show only icons */
|
|
3712
|
+
hideLabels?: boolean;
|
|
3713
|
+
/** Show labels only for active item */
|
|
3714
|
+
showActiveLabel?: boolean;
|
|
3715
|
+
/** Custom render for navigation item */
|
|
3716
|
+
renderItem?: (item: BottomNavigationItem, isActive: boolean) => React$1.ReactNode;
|
|
3717
|
+
}
|
|
3718
|
+
declare const BottomNavigation: React$1.ForwardRefExoticComponent<BottomNavigationProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
3708
3719
|
|
|
3709
3720
|
declare const actionSheetItemVariants: (props?: ({
|
|
3710
3721
|
variant?: "default" | "destructive" | null | undefined;
|