nexoreui 1.8.1 → 1.8.3

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