nexoreui 1.8.0 → 1.8.2

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.mts CHANGED
@@ -14,7 +14,6 @@ export { toast } from 'sonner';
14
14
  import * as ProgressPrimitive from '@radix-ui/react-progress';
15
15
  import * as SliderPrimitive from '@radix-ui/react-slider';
16
16
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
17
- import { HTMLMotionProps } from 'framer-motion';
18
17
  import { LucideIcon } from 'lucide-react';
19
18
  import { ClassValue } from 'clsx';
20
19
 
@@ -848,7 +847,7 @@ declare const FloatingNavbar: () => React$1.JSX.Element;
848
847
  declare const SidebarMenu: () => React$1.JSX.Element;
849
848
  declare const BottomNav: () => React$1.JSX.Element;
850
849
  declare const BreadcrumbTrail: () => React$1.JSX.Element;
851
- declare const StepIndicator: ({ current }: any) => React$1.JSX.Element;
850
+ declare const StepIndicator: () => React$1.JSX.Element;
852
851
  declare const TabMenu: () => React$1.JSX.Element;
853
852
  declare const DropdownMenuVisual: () => React$1.JSX.Element;
854
853
 
@@ -952,7 +951,7 @@ declare function TypingAnimation({ texts, speed, deleteSpeed, pauseDuration, loo
952
951
  /**
953
952
  * Props for the BlurFade component
954
953
  */
955
- interface BlurFadeProps extends Omit<HTMLMotionProps<"div">, "ref"> {
954
+ interface BlurFadeProps extends React$1.HTMLAttributes<HTMLDivElement> {
956
955
  /**
957
956
  * Children components to animate
958
957
  */
@@ -1082,7 +1081,7 @@ interface AnimatedNumberProps {
1082
1081
  duration?: number;
1083
1082
  formatFn?: (v: number) => string;
1084
1083
  }
1085
- declare function AnimatedNumber({ value, className, duration, formatFn, }: AnimatedNumberProps): React$1.JSX.Element;
1084
+ declare function AnimatedNumber({ value, className, duration: _duration, formatFn, }: AnimatedNumberProps): React$1.JSX.Element;
1086
1085
 
1087
1086
  type RatingVariant = "amber" | "primary" | "emerald" | "rose" | "cyan";
1088
1087
  type RatingIconType = "star" | "heart" | "thumb" | "flame" | "trophy" | "smile";
@@ -1755,7 +1754,7 @@ declare const PaginationPro: () => React$1.JSX.Element;
1755
1754
 
1756
1755
  declare const ConfettiSuccess: () => React$1.JSX.Element;
1757
1756
  declare const ActionToast: () => React$1.JSX.Element;
1758
- declare const MultiStepProgress: ({ current }: any) => React$1.JSX.Element;
1757
+ declare const MultiStepProgress: () => React$1.JSX.Element;
1759
1758
  declare const SkeletonList: () => React$1.JSX.Element;
1760
1759
  declare const EmptyStatePro: () => React$1.JSX.Element;
1761
1760
  declare const TooltipForm: () => React$1.JSX.Element;
@@ -1870,7 +1869,7 @@ declare function ColorPickerInput({ value: initial, label, className, onChange }
1870
1869
  declare const RadioCard: ({ title, description, checked, onChange, value, name }: any) => React$1.JSX.Element;
1871
1870
  declare const ColorSwatch: ({ color, selected, onClick }: any) => React$1.JSX.Element;
1872
1871
  declare const NumberStepper: ({ value, onChange, min, max }: any) => React$1.JSX.Element;
1873
- declare const FileDropzone: ({ onDrop }: any) => React$1.JSX.Element;
1872
+ declare const FileDropzone: ({ onDrop: _onDrop }: any) => React$1.JSX.Element;
1874
1873
  declare const RatingStars: ({ rating, max, onRate }: any) => React$1.JSX.Element;
1875
1874
  declare const ToggleGroupItemWrapper: ({ children, active, onClick }: any) => React$1.JSX.Element;
1876
1875
  declare const ToggleGroupWrapper: ({ children }: any) => React$1.JSX.Element;
@@ -2197,7 +2196,7 @@ declare function ImageCarousel({ images, autoPlay, interval, className }: {
2197
2196
  interval?: number;
2198
2197
  className?: string;
2199
2198
  }): React$1.JSX.Element;
2200
- declare function VideoPlayer({ title, duration, thumbnail, className }: {
2199
+ declare function VideoPlayer({ title, duration, thumbnail: _thumbnail, className }: {
2201
2200
  title?: string;
2202
2201
  duration?: string;
2203
2202
  thumbnail?: string;
@@ -2803,46 +2802,13 @@ interface BentoGridProps extends React$1.HTMLAttributes<HTMLDivElement> {
2803
2802
  }
2804
2803
  declare function BentoGrid({ children, className, ...props }: BentoGridProps): React$1.JSX.Element;
2805
2804
  interface BentoCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
2806
- /**
2807
- * Описание для title
2808
- * @default undefined
2809
- */
2810
2805
  title: string;
2811
- /**
2812
- * Описание для description
2813
- * @default undefined
2814
- */
2815
2806
  description: string;
2816
- /**
2817
- * Описание для header
2818
- * @default undefined
2819
- */
2820
2807
  header?: React$1.ReactNode;
2821
- /**
2822
- * Описание для icon
2823
- * @default undefined
2824
- */
2825
2808
  icon?: React$1.ReactNode;
2826
- /**
2827
- * Описание для children
2828
- * @default undefined
2829
- */
2830
2809
  children?: React$1.ReactNode;
2831
- /**
2832
- * Описание для span
2833
- * @default undefined
2834
- */
2835
2810
  span?: string;
2836
- /**
2837
- * Описание для delay
2838
- * @default undefined
2839
- */
2840
2811
  delay?: number;
2841
- /**
2842
- * Описание для className
2843
- * @default undefined
2844
- */
2845
- className?: string;
2846
2812
  }
2847
2813
  declare function BentoCard({ title, description, header, icon, children, span, className, delay, ...props }: BentoCardProps): React$1.JSX.Element;
2848
2814
 
@@ -2897,7 +2863,7 @@ type MorphingShape = 'pill' | 'circle' | 'square' | 'squircle' | 'custom';
2897
2863
  type MorphingVariant = 'gradient' | 'aurora' | 'neon' | 'glass' | 'outline' | 'subtle';
2898
2864
  type MorphingColor = 'violet' | 'cyan' | 'emerald' | 'rose' | 'amber' | 'rainbow' | 'mono';
2899
2865
  type MorphingSize = 'sm' | 'md' | 'lg' | 'xl' | 'custom';
2900
- interface MorphingGeometryProps extends Omit<HTMLMotionProps<'div'>, 'children'> {
2866
+ interface MorphingGeometryProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'children'> {
2901
2867
  /** Shape geometry preset */
2902
2868
  shape?: MorphingShape;
2903
2869
  /** Explicit corner radius (in pixels or css string) when shape is custom or morphed */
@@ -2929,7 +2895,7 @@ interface MorphingGeometryProps extends Omit<HTMLMotionProps<'div'>, 'children'>
2929
2895
  * An interactive geometric entity with fluid corner transitions, dynamic physics,
2930
2896
  * luminous glow, and continuous ambient rotational states.
2931
2897
  */
2932
- declare const MorphingGeometry: React$1.ForwardRefExoticComponent<Omit<MorphingGeometryProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2898
+ declare const MorphingGeometry: React$1.ForwardRefExoticComponent<MorphingGeometryProps & React$1.RefAttributes<HTMLDivElement>>;
2933
2899
 
2934
2900
  type CodeBlockTheme = 'dark' | 'aurora' | 'neon' | 'glass' | 'midnight';
2935
2901
  interface InteractiveCodeBlockProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onCopy'> {
@@ -3074,7 +3040,7 @@ interface DarkModeToggleProps {
3074
3040
  onChange?: (theme: "light" | "dark" | "system") => void;
3075
3041
  className?: string;
3076
3042
  }
3077
- declare function DarkModeToggle({ theme: controlledTheme, variant, size, showLabel, onChange, className, }: DarkModeToggleProps): React__default.JSX.Element;
3043
+ declare function DarkModeToggle({ theme: controlledTheme, variant, size, showLabel, onChange, className, }: DarkModeToggleProps): React$1.JSX.Element;
3078
3044
 
3079
3045
  declare function cn(...inputs: ClassValue[]): string;
3080
3046
 
package/dist/index.d.ts CHANGED
@@ -14,7 +14,6 @@ export { toast } from 'sonner';
14
14
  import * as ProgressPrimitive from '@radix-ui/react-progress';
15
15
  import * as SliderPrimitive from '@radix-ui/react-slider';
16
16
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
17
- import { HTMLMotionProps } from 'framer-motion';
18
17
  import { LucideIcon } from 'lucide-react';
19
18
  import { ClassValue } from 'clsx';
20
19
 
@@ -848,7 +847,7 @@ declare const FloatingNavbar: () => React$1.JSX.Element;
848
847
  declare const SidebarMenu: () => React$1.JSX.Element;
849
848
  declare const BottomNav: () => React$1.JSX.Element;
850
849
  declare const BreadcrumbTrail: () => React$1.JSX.Element;
851
- declare const StepIndicator: ({ current }: any) => React$1.JSX.Element;
850
+ declare const StepIndicator: () => React$1.JSX.Element;
852
851
  declare const TabMenu: () => React$1.JSX.Element;
853
852
  declare const DropdownMenuVisual: () => React$1.JSX.Element;
854
853
 
@@ -952,7 +951,7 @@ declare function TypingAnimation({ texts, speed, deleteSpeed, pauseDuration, loo
952
951
  /**
953
952
  * Props for the BlurFade component
954
953
  */
955
- interface BlurFadeProps extends Omit<HTMLMotionProps<"div">, "ref"> {
954
+ interface BlurFadeProps extends React$1.HTMLAttributes<HTMLDivElement> {
956
955
  /**
957
956
  * Children components to animate
958
957
  */
@@ -1082,7 +1081,7 @@ interface AnimatedNumberProps {
1082
1081
  duration?: number;
1083
1082
  formatFn?: (v: number) => string;
1084
1083
  }
1085
- declare function AnimatedNumber({ value, className, duration, formatFn, }: AnimatedNumberProps): React$1.JSX.Element;
1084
+ declare function AnimatedNumber({ value, className, duration: _duration, formatFn, }: AnimatedNumberProps): React$1.JSX.Element;
1086
1085
 
1087
1086
  type RatingVariant = "amber" | "primary" | "emerald" | "rose" | "cyan";
1088
1087
  type RatingIconType = "star" | "heart" | "thumb" | "flame" | "trophy" | "smile";
@@ -1755,7 +1754,7 @@ declare const PaginationPro: () => React$1.JSX.Element;
1755
1754
 
1756
1755
  declare const ConfettiSuccess: () => React$1.JSX.Element;
1757
1756
  declare const ActionToast: () => React$1.JSX.Element;
1758
- declare const MultiStepProgress: ({ current }: any) => React$1.JSX.Element;
1757
+ declare const MultiStepProgress: () => React$1.JSX.Element;
1759
1758
  declare const SkeletonList: () => React$1.JSX.Element;
1760
1759
  declare const EmptyStatePro: () => React$1.JSX.Element;
1761
1760
  declare const TooltipForm: () => React$1.JSX.Element;
@@ -1870,7 +1869,7 @@ declare function ColorPickerInput({ value: initial, label, className, onChange }
1870
1869
  declare const RadioCard: ({ title, description, checked, onChange, value, name }: any) => React$1.JSX.Element;
1871
1870
  declare const ColorSwatch: ({ color, selected, onClick }: any) => React$1.JSX.Element;
1872
1871
  declare const NumberStepper: ({ value, onChange, min, max }: any) => React$1.JSX.Element;
1873
- declare const FileDropzone: ({ onDrop }: any) => React$1.JSX.Element;
1872
+ declare const FileDropzone: ({ onDrop: _onDrop }: any) => React$1.JSX.Element;
1874
1873
  declare const RatingStars: ({ rating, max, onRate }: any) => React$1.JSX.Element;
1875
1874
  declare const ToggleGroupItemWrapper: ({ children, active, onClick }: any) => React$1.JSX.Element;
1876
1875
  declare const ToggleGroupWrapper: ({ children }: any) => React$1.JSX.Element;
@@ -2197,7 +2196,7 @@ declare function ImageCarousel({ images, autoPlay, interval, className }: {
2197
2196
  interval?: number;
2198
2197
  className?: string;
2199
2198
  }): React$1.JSX.Element;
2200
- declare function VideoPlayer({ title, duration, thumbnail, className }: {
2199
+ declare function VideoPlayer({ title, duration, thumbnail: _thumbnail, className }: {
2201
2200
  title?: string;
2202
2201
  duration?: string;
2203
2202
  thumbnail?: string;
@@ -2803,46 +2802,13 @@ interface BentoGridProps extends React$1.HTMLAttributes<HTMLDivElement> {
2803
2802
  }
2804
2803
  declare function BentoGrid({ children, className, ...props }: BentoGridProps): React$1.JSX.Element;
2805
2804
  interface BentoCardProps extends React$1.HTMLAttributes<HTMLDivElement> {
2806
- /**
2807
- * Описание для title
2808
- * @default undefined
2809
- */
2810
2805
  title: string;
2811
- /**
2812
- * Описание для description
2813
- * @default undefined
2814
- */
2815
2806
  description: string;
2816
- /**
2817
- * Описание для header
2818
- * @default undefined
2819
- */
2820
2807
  header?: React$1.ReactNode;
2821
- /**
2822
- * Описание для icon
2823
- * @default undefined
2824
- */
2825
2808
  icon?: React$1.ReactNode;
2826
- /**
2827
- * Описание для children
2828
- * @default undefined
2829
- */
2830
2809
  children?: React$1.ReactNode;
2831
- /**
2832
- * Описание для span
2833
- * @default undefined
2834
- */
2835
2810
  span?: string;
2836
- /**
2837
- * Описание для delay
2838
- * @default undefined
2839
- */
2840
2811
  delay?: number;
2841
- /**
2842
- * Описание для className
2843
- * @default undefined
2844
- */
2845
- className?: string;
2846
2812
  }
2847
2813
  declare function BentoCard({ title, description, header, icon, children, span, className, delay, ...props }: BentoCardProps): React$1.JSX.Element;
2848
2814
 
@@ -2897,7 +2863,7 @@ type MorphingShape = 'pill' | 'circle' | 'square' | 'squircle' | 'custom';
2897
2863
  type MorphingVariant = 'gradient' | 'aurora' | 'neon' | 'glass' | 'outline' | 'subtle';
2898
2864
  type MorphingColor = 'violet' | 'cyan' | 'emerald' | 'rose' | 'amber' | 'rainbow' | 'mono';
2899
2865
  type MorphingSize = 'sm' | 'md' | 'lg' | 'xl' | 'custom';
2900
- interface MorphingGeometryProps extends Omit<HTMLMotionProps<'div'>, 'children'> {
2866
+ interface MorphingGeometryProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'children'> {
2901
2867
  /** Shape geometry preset */
2902
2868
  shape?: MorphingShape;
2903
2869
  /** Explicit corner radius (in pixels or css string) when shape is custom or morphed */
@@ -2929,7 +2895,7 @@ interface MorphingGeometryProps extends Omit<HTMLMotionProps<'div'>, 'children'>
2929
2895
  * An interactive geometric entity with fluid corner transitions, dynamic physics,
2930
2896
  * luminous glow, and continuous ambient rotational states.
2931
2897
  */
2932
- declare const MorphingGeometry: React$1.ForwardRefExoticComponent<Omit<MorphingGeometryProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
2898
+ declare const MorphingGeometry: React$1.ForwardRefExoticComponent<MorphingGeometryProps & React$1.RefAttributes<HTMLDivElement>>;
2933
2899
 
2934
2900
  type CodeBlockTheme = 'dark' | 'aurora' | 'neon' | 'glass' | 'midnight';
2935
2901
  interface InteractiveCodeBlockProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'onCopy'> {
@@ -3074,7 +3040,7 @@ interface DarkModeToggleProps {
3074
3040
  onChange?: (theme: "light" | "dark" | "system") => void;
3075
3041
  className?: string;
3076
3042
  }
3077
- declare function DarkModeToggle({ theme: controlledTheme, variant, size, showLabel, onChange, className, }: DarkModeToggleProps): React__default.JSX.Element;
3043
+ declare function DarkModeToggle({ theme: controlledTheme, variant, size, showLabel, onChange, className, }: DarkModeToggleProps): React$1.JSX.Element;
3078
3044
 
3079
3045
  declare function cn(...inputs: ClassValue[]): string;
3080
3046
 
package/dist/index.js CHANGED
@@ -3073,7 +3073,7 @@ var BreadcrumbTrail = () => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("nav"
3073
3073
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react8.ChevronRight, { className: "w-4 h-4" }),
3074
3074
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "text-foreground font-medium", children: "Laptop" })
3075
3075
  ] });
3076
- var StepIndicator = ({ current = 2 }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex items-center w-full max-w-sm", children: [
3076
+ var StepIndicator = () => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex items-center w-full max-w-sm", children: [
3077
3077
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "flex items-center text-primary", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "w-8 h-8 rounded-full border-2 border-primary bg-primary text-primary-foreground flex items-center justify-center font-bold text-sm", children: "1" }) }),
3078
3078
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "flex-1 h-[2px] bg-primary mx-2" }),
3079
3079
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "flex items-center text-primary", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "w-8 h-8 rounded-full border-2 border-primary bg-background flex items-center justify-center font-bold text-sm", children: "2" }) }),
@@ -3417,7 +3417,7 @@ var NumberTicker = React19.forwardRef(
3417
3417
  });
3418
3418
  React19.useEffect(() => {
3419
3419
  if (inView) {
3420
- const animation = motionValue.set(value);
3420
+ motionValue.set(value);
3421
3421
  }
3422
3422
  }, [inView, value, motionValue]);
3423
3423
  return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
@@ -3442,7 +3442,7 @@ NumberTicker.displayName = "NumberTicker";
3442
3442
  function AnimatedNumber({
3443
3443
  value,
3444
3444
  className,
3445
- duration = 0.5,
3445
+ duration: _duration = 0.5,
3446
3446
  formatFn
3447
3447
  }) {
3448
3448
  const motionValue = (0, import_framer_motion13.useMotionValue)(value);
@@ -6451,7 +6451,7 @@ var ActionToast = () => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", {
6451
6451
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("button", { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react22.X, { className: "w-4 h-4 text-muted" }) })
6452
6452
  ] })
6453
6453
  ] });
6454
- var MultiStepProgress = ({ current = 2 }) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "w-full", children: [
6454
+ var MultiStepProgress = () => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "w-full", children: [
6455
6455
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex justify-between mb-2 text-sm font-medium", children: [
6456
6456
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-primary", children: "Cart" }),
6457
6457
  /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "text-primary", children: "Shipping" }),
@@ -7274,7 +7274,7 @@ var NumberStepper = ({ value = 0, onChange, min = 0, max = 100 }) => /* @__PURE_
7274
7274
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "w-8 text-center font-medium text-sm", children: value }),
7275
7275
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("button", { type: "button", onClick: () => onChange(Math.min(max, value + 1)), className: "p-1 rounded hover:bg-muted text-muted-foreground transition-colors", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_lucide_react26.Plus, { className: "h-4 w-4" }) })
7276
7276
  ] });
7277
- var FileDropzone = ({ onDrop }) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex flex-col items-center justify-center w-full h-40 border-2 border-dashed border-muted-foreground/25 rounded-xl bg-card hover:bg-accent/50 transition-colors cursor-pointer group", children: [
7277
+ var FileDropzone = ({ onDrop: _onDrop }) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex flex-col items-center justify-center w-full h-40 border-2 border-dashed border-muted-foreground/25 rounded-xl bg-card hover:bg-accent/50 transition-colors cursor-pointer group", children: [
7278
7278
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "p-4 rounded-full bg-muted group-hover:bg-background transition-colors mb-2", children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_lucide_react26.Upload, { className: "h-6 w-6 text-muted-foreground group-hover:text-primary transition-colors" }) }),
7279
7279
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-sm font-medium", children: "Click or drag file to this area to upload" }),
7280
7280
  /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("p", { className: "text-xs text-muted-foreground mt-1", children: "Support for a single or bulk upload." })
@@ -7962,7 +7962,7 @@ function ImageCarousel({ images, autoPlay = true, interval = 4e3, className }) {
7962
7962
  )) })
7963
7963
  ] });
7964
7964
  }
7965
- function VideoPlayer({ title, duration = "3:45", thumbnail, className }) {
7965
+ function VideoPlayer({ title, duration = "3:45", thumbnail: _thumbnail, className }) {
7966
7966
  const [playing, setPlaying] = React37.useState(false);
7967
7967
  return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: cn("relative overflow-hidden rounded-xl bg-muted group cursor-pointer", className), children: [
7968
7968
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "aspect-video bg-gradient-to-br from-slate-800 to-slate-900 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
@@ -8050,7 +8050,7 @@ function EmbedCard({ title, description, domain, favicon, className }) {
8050
8050
  }
8051
8051
  function MusicPlayer({ title, artist, album, className }) {
8052
8052
  const [playing, setPlaying] = React37.useState(false);
8053
- const [progress, setProgress] = React37.useState(35);
8053
+ const [progress] = React37.useState(35);
8054
8054
  return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: cn("rounded-2xl border border-border bg-card p-5 w-full max-w-sm", className), children: [
8055
8055
  /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center gap-4 mb-4", children: [
8056
8056
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
@@ -8578,7 +8578,7 @@ function ModernAreaChart({
8578
8578
  return `${acc} C ${cp1x} ${cp1y}, ${cp2x} ${cp2y}, ${p.x} ${p.y}`;
8579
8579
  }, "");
8580
8580
  const areaD = points.length > 0 ? `${pathD} L ${points[points.length - 1].x} ${padding.top + chartHeight} L ${points[0].x} ${padding.top + chartHeight} Z` : "";
8581
- const activePoint = hoverIndex !== null ? points[hoverIndex] : points[points.length - 1] || { label: "", value: 0 };
8581
+ const activePoint = hoverIndex !== null ? points[hoverIndex] : points[points.length - 1] || { label: "", value: 0, x: 0, y: 0 };
8582
8582
  return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: cn("relative w-full select-none", className), children: [
8583
8583
  /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
8584
8584
  "svg",
@@ -9101,6 +9101,7 @@ var ChatInputSubmit = React39.forwardRef(
9101
9101
  ({ disabled = false, className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
9102
9102
  import_framer_motion32.motion.button,
9103
9103
  {
9104
+ ref,
9104
9105
  whileTap: { scale: disabled ? 1 : 0.92 },
9105
9106
  disabled,
9106
9107
  className: cn(
@@ -9278,6 +9279,7 @@ var UserProfileFollowButton = React39.forwardRef(
9278
9279
  ({ following = false, className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
9279
9280
  import_framer_motion32.motion.button,
9280
9281
  {
9282
+ ref,
9281
9283
  whileTap: { scale: 0.95 },
9282
9284
  className: cn(
9283
9285
  "px-4 py-1.5 rounded-full text-xs font-semibold transition-all duration-200 cursor-pointer shadow-xs",
@@ -10666,7 +10668,6 @@ function BentoCard({
10666
10668
 
10667
10669
  // src/components/aurora-border-fx.tsx
10668
10670
  var React42 = __toESM(require("react"));
10669
- var import_framer_motion35 = require("framer-motion");
10670
10671
  var import_lucide_react31 = require("lucide-react");
10671
10672
  var import_jsx_runtime55 = require("react/jsx-runtime");
10672
10673
  var defaultAuroraColors = [
@@ -10715,7 +10716,6 @@ var AuroraBorderFX = React42.forwardRef(
10715
10716
  children,
10716
10717
  ...props
10717
10718
  }, ref) => {
10718
- const shouldReduceMotion = (0, import_framer_motion35.useReducedMotion)();
10719
10719
  const resolvedInitialColor = colorPresetMap[color] || color || "#8b5cf6";
10720
10720
  const [internalColor, setInternalColor] = React42.useState(resolvedInitialColor);
10721
10721
  React42.useEffect(() => {
@@ -10864,7 +10864,7 @@ AuroraBorderFX.displayName = "AuroraBorderFX";
10864
10864
 
10865
10865
  // src/components/morphing-geometry.tsx
10866
10866
  var React43 = __toESM(require("react"));
10867
- var import_framer_motion36 = require("framer-motion");
10867
+ var import_framer_motion35 = require("framer-motion");
10868
10868
  var import_lucide_react32 = require("lucide-react");
10869
10869
  var import_jsx_runtime56 = require("react/jsx-runtime");
10870
10870
  var sizeMap3 = {
@@ -10945,7 +10945,6 @@ var MorphingGeometry = React43.forwardRef(
10945
10945
  ...props
10946
10946
  }, ref) => {
10947
10947
  const [currentShape, setCurrentShape] = React43.useState(shape);
10948
- const [isHovered, setIsHovered] = React43.useState(false);
10949
10948
  React43.useEffect(() => {
10950
10949
  setCurrentShape(shape);
10951
10950
  }, [shape]);
@@ -10976,7 +10975,7 @@ var MorphingGeometry = React43.forwardRef(
10976
10975
  variantClasses = `bg-muted/60 border border-border text-foreground`;
10977
10976
  }
10978
10977
  return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
10979
- import_framer_motion36.motion.div,
10978
+ import_framer_motion35.motion.div,
10980
10979
  {
10981
10980
  ref,
10982
10981
  animate: spin ? { rotate: [0, 90, 180, 270, 360] } : { rotate: 0 },
@@ -10990,8 +10989,6 @@ var MorphingGeometry = React43.forwardRef(
10990
10989
  },
10991
10990
  whileHover: { scale: 1.04 },
10992
10991
  whileTap: { scale: 0.96 },
10993
- onHoverStart: () => setIsHovered(true),
10994
- onHoverEnd: () => setIsHovered(false),
10995
10992
  onClick: handleInteractiveClick,
10996
10993
  className: cn(
10997
10994
  "relative flex items-center justify-center select-none overflow-hidden transition-all duration-300",
@@ -11245,7 +11242,6 @@ var AuroraSearchPill = React45.forwardRef(
11245
11242
  const [uncontrolledSearching, setUncontrolledSearching] = React45.useState(defaultSearching);
11246
11243
  const active = isControlled ? controlledSearching : uncontrolledSearching;
11247
11244
  const [isHovered, setIsHovered] = React45.useState(false);
11248
- const instanceId = React45.useId().replace(/:/g, "");
11249
11245
  const activeSources = React45.useMemo(() => {
11250
11246
  if (sourceAvatars && sourceAvatars.length > 0) {
11251
11247
  return sourceAvatars.map((url, i) => ({
@@ -11291,11 +11287,19 @@ var AuroraSearchPill = React45.forwardRef(
11291
11287
  const glowAlpha = GLOW_OPACITY[glowIntensity] ?? GLOW_OPACITY.medium;
11292
11288
  const bodyThemeClass = theme === "light" ? "bg-white text-slate-900 border-white/60 shadow-sm" : theme === "dark" ? "bg-[#090d16] text-white border-white/10 shadow-lg shadow-black/40" : "bg-white text-slate-900 dark:bg-[#090d16] dark:text-white border-white/60 dark:border-white/10 shadow-sm dark:shadow-black/40";
11293
11289
  const dotsColorClass = theme === "light" ? "bg-slate-900" : theme === "dark" ? "bg-white" : "bg-slate-900 dark:bg-white";
11290
+ const {
11291
+ onKeyDown,
11292
+ ...restProps
11293
+ } = props;
11294
11294
  return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
11295
11295
  "div",
11296
11296
  {
11297
11297
  ref,
11298
- onClick: handleToggle,
11298
+ ...restProps,
11299
+ onClick: (e) => {
11300
+ onClick?.(e);
11301
+ handleToggle(e);
11302
+ },
11299
11303
  onMouseEnter: (e) => {
11300
11304
  setIsHovered(true);
11301
11305
  onMouseEnter?.(e);
@@ -11309,6 +11313,7 @@ var AuroraSearchPill = React45.forwardRef(
11309
11313
  "aria-pressed": active,
11310
11314
  "aria-label": active ? `Searching: ${searchLabel}` : "Activate AI Search",
11311
11315
  onKeyDown: (e) => {
11316
+ onKeyDown?.(e);
11312
11317
  if (e.key === "Enter" || e.key === " ") {
11313
11318
  e.preventDefault();
11314
11319
  handleToggle(e);
@@ -11319,7 +11324,6 @@ var AuroraSearchPill = React45.forwardRef(
11319
11324
  "transition-transform duration-200 ease-out active:scale-[0.96] focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-offset-2",
11320
11325
  className
11321
11326
  ),
11322
- ...props,
11323
11327
  children: [
11324
11328
  /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("style", { dangerouslySetInnerHTML: {
11325
11329
  __html: `
@@ -11472,7 +11476,7 @@ AuroraSearchPill.displayName = "AuroraSearchPill";
11472
11476
 
11473
11477
  // src/components/dock.tsx
11474
11478
  var import_react = require("react");
11475
- var import_framer_motion37 = require("framer-motion");
11479
+ var import_framer_motion36 = require("framer-motion");
11476
11480
  var import_jsx_runtime59 = require("react/jsx-runtime");
11477
11481
  function Dock({
11478
11482
  items,
@@ -11480,11 +11484,11 @@ function Dock({
11480
11484
  magnification = 60,
11481
11485
  distance = 140
11482
11486
  }) {
11483
- const mouseX = (0, import_framer_motion37.useMotionValue)(Infinity);
11487
+ const mouseX = (0, import_framer_motion36.useMotionValue)(Infinity);
11484
11488
  const numMagnification = Number(magnification) || 60;
11485
11489
  const numDistance = Number(distance) || 140;
11486
11490
  return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
11487
- import_framer_motion37.motion.div,
11491
+ import_framer_motion36.motion.div,
11488
11492
  {
11489
11493
  onMouseMove: (e) => mouseX.set(e.clientX),
11490
11494
  onMouseLeave: () => mouseX.set(Infinity),
@@ -11507,22 +11511,22 @@ function DockIcon({
11507
11511
  const ref = (0, import_react.useRef)(null);
11508
11512
  const numDistance = Number(distance) || 140;
11509
11513
  const numMagnification = Number(magnification) || 60;
11510
- const distanceVal = (0, import_framer_motion37.useTransform)(mouseX, (val) => {
11514
+ const distanceVal = (0, import_framer_motion36.useTransform)(mouseX, (val) => {
11511
11515
  const bounds = ref.current?.getBoundingClientRect() ?? { x: 0, width: 0 };
11512
11516
  return val - bounds.x - bounds.width / 2;
11513
11517
  });
11514
- const widthSync = (0, import_framer_motion37.useTransform)(
11518
+ const widthSync = (0, import_framer_motion36.useTransform)(
11515
11519
  distanceVal,
11516
11520
  [-numDistance, 0, numDistance],
11517
11521
  [40, numMagnification, 40]
11518
11522
  );
11519
- const width = (0, import_framer_motion37.useSpring)(widthSync, {
11523
+ const width = (0, import_framer_motion36.useSpring)(widthSync, {
11520
11524
  mass: 0.1,
11521
11525
  stiffness: 150,
11522
11526
  damping: 12
11523
11527
  });
11524
11528
  return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
11525
- import_framer_motion37.motion.div,
11529
+ import_framer_motion36.motion.div,
11526
11530
  {
11527
11531
  ref,
11528
11532
  style: { width },
@@ -11539,7 +11543,7 @@ function DockIcon({
11539
11543
 
11540
11544
  // src/components/dark-mode.tsx
11541
11545
  var import_react2 = require("react");
11542
- var import_framer_motion38 = require("framer-motion");
11546
+ var import_framer_motion37 = require("framer-motion");
11543
11547
  var import_lucide_react35 = require("lucide-react");
11544
11548
  var import_jsx_runtime60 = require("react/jsx-runtime");
11545
11549
  function DarkModeToggle({
@@ -11580,7 +11584,7 @@ function DarkModeToggle({
11580
11584
  title: `Switch to ${isDark ? "light" : "dark"} theme`,
11581
11585
  "aria-label": "Toggle theme",
11582
11586
  children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
11583
- import_framer_motion38.motion.div,
11587
+ import_framer_motion37.motion.div,
11584
11588
  {
11585
11589
  initial: { rotate: -90, scale: 0.8, opacity: 0 },
11586
11590
  animate: { rotate: 0, scale: 1, opacity: 1 },
@@ -11640,7 +11644,7 @@ function DarkModeToggle({
11640
11644
  title: `Switch to ${isDark ? "light" : "dark"} mode`,
11641
11645
  "aria-label": "Toggle dark mode",
11642
11646
  children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
11643
- import_framer_motion38.motion.div,
11647
+ import_framer_motion37.motion.div,
11644
11648
  {
11645
11649
  animate: {
11646
11650
  x: isDark ? size === "sm" ? 20 : size === "lg" ? 28 : 25 : 0