@umituz/atomic-next 2.0.3 → 2.1.0

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.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ClassValue } from 'clsx';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
- import React$1 from 'react';
3
+ import React, { CSSProperties } from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
6
6
  import Image from 'next/image';
@@ -9,7 +9,6 @@ import Link from 'next/link';
9
9
 
10
10
  /**
11
11
  * CSS Variables for Web/Next.js usage
12
- * These are the only color exports needed for atomic-next package
13
12
  */
14
13
  declare const AtomicColorsCss: {
15
14
  readonly '--atomic-primary': string;
@@ -83,7 +82,6 @@ declare const AtomicSpacingCss: {
83
82
 
84
83
  /**
85
84
  * CSS Variables for Web/Next.js usage
86
- * These are the only typography exports needed for atomic-next package
87
85
  */
88
86
  declare const AtomicTypographyCss: {
89
87
  readonly '--atomic-font-sans': string;
@@ -135,14 +133,14 @@ declare const AtomicShadows: {
135
133
  readonly xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
136
134
  readonly xxl: "0 25px 50px -12px rgb(0 0 0 / 0.25)";
137
135
  readonly inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)";
138
- readonly focusPrimary: "0 0 0 3px rgb(139 92 246 / 0.2)";
139
- readonly focusSecondary: "0 0 0 3px rgb(236 72 153 / 0.2)";
136
+ readonly focusPrimary: "0 0 0 3px rgb(37 99 235 / 0.2)";
137
+ readonly focusSecondary: "0 0 0 3px rgb(13 148 136 / 0.2)";
140
138
  readonly focusSuccess: "0 0 0 3px rgb(16 185 129 / 0.2)";
141
139
  readonly focusWarning: "0 0 0 3px rgb(245 158 11 / 0.2)";
142
140
  readonly focusError: "0 0 0 3px rgb(239 68 68 / 0.2)";
143
141
  readonly focusInfo: "0 0 0 3px rgb(59 130 246 / 0.2)";
144
- readonly glowPrimary: "0 0 20px rgb(139 92 246 / 0.3)";
145
- readonly glowSecondary: "0 0 20px rgb(236 72 153 / 0.3)";
142
+ readonly glowPrimary: "0 0 20px rgb(37 99 235 / 0.3)";
143
+ readonly glowSecondary: "0 0 20px rgb(13 148 136 / 0.3)";
146
144
  readonly glowSuccess: "0 0 20px rgb(16 185 129 / 0.3)";
147
145
  readonly glowWarning: "0 0 20px rgb(245 158 11 / 0.3)";
148
146
  readonly glowError: "0 0 20px rgb(239 68 68 / 0.3)";
@@ -170,14 +168,14 @@ declare const AtomicShadowsCss: {
170
168
  readonly '--atomic-shadow-xl': "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
171
169
  readonly '--atomic-shadow-xxl': "0 25px 50px -12px rgb(0 0 0 / 0.25)";
172
170
  readonly '--atomic-shadow-inner': "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)";
173
- readonly '--atomic-shadow-focus-primary': "0 0 0 3px rgb(139 92 246 / 0.2)";
174
- readonly '--atomic-shadow-focus-secondary': "0 0 0 3px rgb(236 72 153 / 0.2)";
171
+ readonly '--atomic-shadow-focus-primary': "0 0 0 3px rgb(37 99 235 / 0.2)";
172
+ readonly '--atomic-shadow-focus-secondary': "0 0 0 3px rgb(13 148 136 / 0.2)";
175
173
  readonly '--atomic-shadow-focus-success': "0 0 0 3px rgb(16 185 129 / 0.2)";
176
174
  readonly '--atomic-shadow-focus-warning': "0 0 0 3px rgb(245 158 11 / 0.2)";
177
175
  readonly '--atomic-shadow-focus-error': "0 0 0 3px rgb(239 68 68 / 0.2)";
178
176
  readonly '--atomic-shadow-focus-info': "0 0 0 3px rgb(59 130 246 / 0.2)";
179
- readonly '--atomic-shadow-glow-primary': "0 0 20px rgb(139 92 246 / 0.3)";
180
- readonly '--atomic-shadow-glow-secondary': "0 0 20px rgb(236 72 153 / 0.3)";
177
+ readonly '--atomic-shadow-glow-primary': "0 0 20px rgb(37 99 235 / 0.3)";
178
+ readonly '--atomic-shadow-glow-secondary': "0 0 20px rgb(13 148 136 / 0.3)";
181
179
  readonly '--atomic-shadow-glow-success': "0 0 20px rgb(16 185 129 / 0.3)";
182
180
  readonly '--atomic-shadow-glow-warning': "0 0 20px rgb(245 158 11 / 0.3)";
183
181
  readonly '--atomic-shadow-glow-error': "0 0 20px rgb(239 68 68 / 0.3)";
@@ -190,7 +188,7 @@ declare const AtomicShadowsCss: {
190
188
  readonly '--atomic-shadow-tooltip': "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)";
191
189
  };
192
190
  type AtomicShadowKey = keyof typeof AtomicShadows;
193
- type AtomicShadowValue = typeof AtomicShadows[AtomicShadowKey];
191
+ type AtomicShadowValue = (typeof AtomicShadows)[AtomicShadowKey];
194
192
 
195
193
  declare const AtomicBorders: {
196
194
  readonly radius: {
@@ -378,7 +376,7 @@ declare const AnimationUtils: {
378
376
  };
379
377
  duration: (name: keyof typeof AtomicAnimations.duration) => string;
380
378
  easing: (name: keyof typeof AtomicAnimations.easing) => string;
381
- keyframes: (name: string, frames: Record<string, React.CSSProperties>) => string;
379
+ keyframes: (name: string, frames: Record<string, CSSProperties>) => string;
382
380
  };
383
381
  declare const AtomicAnimationPresets: {
384
382
  fadeIn: {
@@ -656,14 +654,14 @@ declare const AtomicDesignTokensCss: {
656
654
  readonly '--atomic-shadow-xl': "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)";
657
655
  readonly '--atomic-shadow-xxl': "0 25px 50px -12px rgb(0 0 0 / 0.25)";
658
656
  readonly '--atomic-shadow-inner': "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)";
659
- readonly '--atomic-shadow-focus-primary': "0 0 0 3px rgb(139 92 246 / 0.2)";
660
- readonly '--atomic-shadow-focus-secondary': "0 0 0 3px rgb(236 72 153 / 0.2)";
657
+ readonly '--atomic-shadow-focus-primary': "0 0 0 3px rgb(37 99 235 / 0.2)";
658
+ readonly '--atomic-shadow-focus-secondary': "0 0 0 3px rgb(13 148 136 / 0.2)";
661
659
  readonly '--atomic-shadow-focus-success': "0 0 0 3px rgb(16 185 129 / 0.2)";
662
660
  readonly '--atomic-shadow-focus-warning': "0 0 0 3px rgb(245 158 11 / 0.2)";
663
661
  readonly '--atomic-shadow-focus-error': "0 0 0 3px rgb(239 68 68 / 0.2)";
664
662
  readonly '--atomic-shadow-focus-info': "0 0 0 3px rgb(59 130 246 / 0.2)";
665
- readonly '--atomic-shadow-glow-primary': "0 0 20px rgb(139 92 246 / 0.3)";
666
- readonly '--atomic-shadow-glow-secondary': "0 0 20px rgb(236 72 153 / 0.3)";
663
+ readonly '--atomic-shadow-glow-primary': "0 0 20px rgb(37 99 235 / 0.3)";
664
+ readonly '--atomic-shadow-glow-secondary': "0 0 20px rgb(13 148 136 / 0.3)";
667
665
  readonly '--atomic-shadow-glow-success': "0 0 20px rgb(16 185 129 / 0.3)";
668
666
  readonly '--atomic-shadow-glow-warning': "0 0 20px rgb(245 158 11 / 0.3)";
669
667
  readonly '--atomic-shadow-glow-error': "0 0 20px rgb(239 68 68 / 0.3)";
@@ -784,19 +782,19 @@ declare const buttonVariants: (props?: ({
784
782
  variant?: "outline" | "primary" | "secondary" | "ghost" | "link" | "destructive" | "default" | "brand" | null | undefined;
785
783
  size?: "sm" | "lg" | "default" | "icon" | null | undefined;
786
784
  } & class_variance_authority_types.ClassProp) | undefined) => string;
787
- interface AtomicButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
785
+ interface AtomicButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
788
786
  /** Render as a different element */
789
787
  asChild?: boolean;
790
788
  /** Show loading spinner */
791
789
  loading?: boolean;
792
790
  /** Icon to display on the left */
793
- leftIcon?: React$1.ReactNode;
791
+ leftIcon?: React.ReactNode;
794
792
  /** Icon to display on the right */
795
- rightIcon?: React$1.ReactNode;
793
+ rightIcon?: React.ReactNode;
796
794
  /** Make button full width */
797
795
  fullWidth?: boolean;
798
796
  }
799
- declare const AtomicButton: React$1.ForwardRefExoticComponent<AtomicButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
797
+ declare const AtomicButton: React.ForwardRefExoticComponent<AtomicButtonProps & React.RefAttributes<HTMLButtonElement>>;
800
798
 
801
799
  declare const textVariants: (props?: ({
802
800
  variant?: "xs" | "sm" | "lg" | "xl" | "small" | "large" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "base" | "2xl" | "3xl" | "lead" | "muted" | "label" | null | undefined;
@@ -804,7 +802,7 @@ declare const textVariants: (props?: ({
804
802
  align?: "left" | "right" | "center" | "justify" | null | undefined;
805
803
  weight?: "thin" | "medium" | "normal" | "light" | "bold" | "black" | "semibold" | "extrabold" | null | undefined;
806
804
  } & class_variance_authority_types.ClassProp) | undefined) => string;
807
- interface AtomicTextProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'color'>, VariantProps<typeof textVariants> {
805
+ interface AtomicTextProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'>, VariantProps<typeof textVariants> {
808
806
  /** Render as a different element */
809
807
  asChild?: boolean;
810
808
  /** HTML element to render */
@@ -814,26 +812,26 @@ interface AtomicTextProps extends Omit<React$1.HTMLAttributes<HTMLElement>, 'col
814
812
  /** Allow text selection */
815
813
  selectable?: boolean;
816
814
  }
817
- declare const AtomicText: React$1.ForwardRefExoticComponent<AtomicTextProps & React$1.RefAttributes<HTMLElement>>;
815
+ declare const AtomicText: React.ForwardRefExoticComponent<AtomicTextProps & React.RefAttributes<HTMLElement>>;
818
816
 
819
817
  declare const avatarVariants: (props?: ({
820
818
  size?: "xs" | "sm" | "lg" | "xl" | "xxl" | "xxxl" | "default" | null | undefined;
821
819
  } & class_variance_authority_types.ClassProp) | undefined) => string;
822
820
  declare const avatarImageVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
823
- interface AtomicAvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
821
+ interface AtomicAvatarProps extends React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
824
822
  src?: string;
825
823
  alt?: string;
826
824
  fallback?: string;
827
- fallbackElement?: React$1.ReactNode;
825
+ fallbackElement?: React.ReactNode;
828
826
  showStatus?: boolean;
829
827
  isOnline?: boolean;
830
828
  statusColor?: string;
831
829
  }
832
- declare const AtomicAvatar: React$1.ForwardRefExoticComponent<AtomicAvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
833
- declare const AtomicAvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
834
- declare const AtomicAvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
830
+ declare const AtomicAvatar: React.ForwardRefExoticComponent<AtomicAvatarProps & React.RefAttributes<HTMLSpanElement>>;
831
+ declare const AtomicAvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
832
+ declare const AtomicAvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
835
833
  size?: "xs" | "sm" | "lg" | "xl" | "xxl" | "xxxl" | "default" | null | undefined;
836
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLSpanElement>>;
834
+ } & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLSpanElement>>;
837
835
 
838
836
  declare const imageVariants: (props?: ({
839
837
  rounded?: "none" | "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
@@ -841,7 +839,7 @@ declare const imageVariants: (props?: ({
841
839
  objectFit?: "none" | "contain" | "fill" | "cover" | "scale-down" | null | undefined;
842
840
  objectPosition?: "bottom" | "left" | "right" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right" | "center" | null | undefined;
843
841
  } & class_variance_authority_types.ClassProp) | undefined) => string;
844
- interface AtomicImageProps extends Omit<React$1.ComponentProps<typeof Image>, 'className' | 'objectFit' | 'objectPosition' | 'placeholder'>, VariantProps<typeof imageVariants> {
842
+ interface AtomicImageProps extends Omit<React.ComponentProps<typeof Image>, 'className' | 'objectFit' | 'objectPosition' | 'placeholder'>, VariantProps<typeof imageVariants> {
845
843
  className?: string;
846
844
  containerClassName?: string;
847
845
  /** Enable blur placeholder while loading */
@@ -849,7 +847,7 @@ interface AtomicImageProps extends Omit<React$1.ComponentProps<typeof Image>, 'c
849
847
  /** Custom placeholder image source */
850
848
  placeholderSrc?: string;
851
849
  }
852
- declare const AtomicImage: React$1.ForwardRefExoticComponent<Omit<AtomicImageProps, "ref"> & React$1.RefAttributes<HTMLImageElement | null>>;
850
+ declare const AtomicImage: React.ForwardRefExoticComponent<Omit<AtomicImageProps, "ref"> & React.RefAttributes<HTMLImageElement | null>>;
853
851
 
854
852
  declare const cardVariants: (props?: ({
855
853
  variant?: "default" | "filled" | "elevated" | "outlined" | null | undefined;
@@ -870,30 +868,30 @@ declare const cardContentVariants: (props?: ({
870
868
  declare const cardFooterVariants: (props?: ({
871
869
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
872
870
  } & class_variance_authority_types.ClassProp) | undefined) => string;
873
- interface AtomicCardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
871
+ interface AtomicCardProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
874
872
  /** Make card interactive with hover effects */
875
873
  interactive?: boolean;
876
874
  /** Make card full width */
877
875
  fullWidth?: boolean;
878
876
  }
879
- interface AtomicCardHeaderProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardHeaderVariants> {
877
+ interface AtomicCardHeaderProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardHeaderVariants> {
880
878
  }
881
- interface AtomicCardTitleProps extends React$1.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof cardTitleVariants> {
879
+ interface AtomicCardTitleProps extends React.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof cardTitleVariants> {
882
880
  /** Render as a different heading element */
883
881
  as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
884
882
  }
885
- interface AtomicCardDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof cardDescriptionVariants> {
883
+ interface AtomicCardDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof cardDescriptionVariants> {
886
884
  }
887
- interface AtomicCardContentProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardContentVariants> {
885
+ interface AtomicCardContentProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardContentVariants> {
888
886
  }
889
- interface AtomicCardFooterProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardFooterVariants> {
887
+ interface AtomicCardFooterProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardFooterVariants> {
890
888
  }
891
- declare const AtomicCard: React$1.ForwardRefExoticComponent<AtomicCardProps & React$1.RefAttributes<HTMLDivElement>>;
892
- declare const AtomicCardHeader: React$1.ForwardRefExoticComponent<AtomicCardHeaderProps & React$1.RefAttributes<HTMLDivElement>>;
893
- declare const AtomicCardTitle: React$1.ForwardRefExoticComponent<AtomicCardTitleProps & React$1.RefAttributes<HTMLHeadingElement>>;
894
- declare const AtomicCardDescription: React$1.ForwardRefExoticComponent<AtomicCardDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>>;
895
- declare const AtomicCardContent: React$1.ForwardRefExoticComponent<AtomicCardContentProps & React$1.RefAttributes<HTMLDivElement>>;
896
- declare const AtomicCardFooter: React$1.ForwardRefExoticComponent<AtomicCardFooterProps & React$1.RefAttributes<HTMLDivElement>>;
889
+ declare const AtomicCard: React.ForwardRefExoticComponent<AtomicCardProps & React.RefAttributes<HTMLDivElement>>;
890
+ declare const AtomicCardHeader: React.ForwardRefExoticComponent<AtomicCardHeaderProps & React.RefAttributes<HTMLDivElement>>;
891
+ declare const AtomicCardTitle: React.ForwardRefExoticComponent<AtomicCardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
892
+ declare const AtomicCardDescription: React.ForwardRefExoticComponent<AtomicCardDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
893
+ declare const AtomicCardContent: React.ForwardRefExoticComponent<AtomicCardContentProps & React.RefAttributes<HTMLDivElement>>;
894
+ declare const AtomicCardFooter: React.ForwardRefExoticComponent<AtomicCardFooterProps & React.RefAttributes<HTMLDivElement>>;
897
895
 
898
896
  type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | number | string;
899
897
  type Color$4 = 'current' | 'black' | 'white' | 'slate-50' | 'slate-100' | 'slate-200' | 'slate-300' | 'slate-400' | 'slate-500' | 'slate-600' | 'slate-700' | 'slate-800' | 'slate-900' | 'gray-50' | 'gray-100' | 'gray-200' | 'gray-300' | 'gray-400' | 'gray-500' | 'gray-600' | 'gray-700' | 'gray-800' | 'gray-900' | 'zinc-50' | 'zinc-100' | 'zinc-200' | 'zinc-300' | 'zinc-400' | 'zinc-500' | 'zinc-600' | 'zinc-700' | 'zinc-800' | 'zinc-900' | 'red-50' | 'red-100' | 'red-200' | 'red-300' | 'red-400' | 'red-500' | 'red-600' | 'red-700' | 'red-800' | 'red-900' | 'orange-50' | 'orange-100' | 'orange-200' | 'orange-300' | 'orange-400' | 'orange-500' | 'orange-600' | 'orange-700' | 'orange-800' | 'orange-900' | 'yellow-50' | 'yellow-100' | 'yellow-200' | 'yellow-300' | 'yellow-400' | 'yellow-500' | 'yellow-600' | 'yellow-700' | 'yellow-800' | 'yellow-900' | 'green-50' | 'green-100' | 'green-200' | 'green-300' | 'green-400' | 'green-500' | 'green-600' | 'green-700' | 'green-800' | 'green-900' | 'blue-50' | 'blue-100' | 'blue-200' | 'blue-300' | 'blue-400' | 'blue-500' | 'blue-600' | 'blue-700' | 'blue-800' | 'blue-900' | 'indigo-50' | 'indigo-100' | 'indigo-200' | 'indigo-300' | 'indigo-400' | 'indigo-500' | 'indigo-600' | 'indigo-700' | 'indigo-800' | 'indigo-900' | 'purple-50' | 'purple-100' | 'purple-200' | 'purple-300' | 'purple-400' | 'purple-500' | 'purple-600' | 'purple-700' | 'purple-800' | 'purple-900' | 'pink-50' | 'pink-100' | 'pink-200' | 'pink-300' | 'pink-400' | 'pink-500' | 'pink-600' | 'pink-700' | 'pink-800' | 'pink-900';
@@ -921,18 +919,18 @@ interface AtomicIconProps extends Omit<LucideProps, 'size' | 'color'> {
921
919
  'aria-label'?: string;
922
920
  'aria-hidden'?: boolean;
923
921
  }
924
- declare const AtomicIcon: React$1.ForwardRefExoticComponent<Omit<AtomicIconProps, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
922
+ declare const AtomicIcon: React.ForwardRefExoticComponent<Omit<AtomicIconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
925
923
 
926
924
  declare const inputVariants: (props?: ({
927
925
  variant?: "outline" | "default" | "filled" | "underlined" | null | undefined;
928
926
  size?: "sm" | "lg" | "default" | null | undefined;
929
927
  state?: "success" | "warning" | "error" | "default" | null | undefined;
930
928
  } & class_variance_authority_types.ClassProp) | undefined) => string;
931
- interface AtomicInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
929
+ interface AtomicInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'>, VariantProps<typeof inputVariants> {
932
930
  /** Left icon or element */
933
- leftIcon?: React$1.ReactNode;
931
+ leftIcon?: React.ReactNode;
934
932
  /** Right icon or element */
935
- rightIcon?: React$1.ReactNode;
933
+ rightIcon?: React.ReactNode;
936
934
  /** Input label */
937
935
  label?: string;
938
936
  /** Helper text */
@@ -956,7 +954,7 @@ interface AtomicInputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEle
956
954
  /** Helper text class name */
957
955
  helperClassName?: string;
958
956
  }
959
- declare const AtomicInput: React$1.ForwardRefExoticComponent<AtomicInputProps & React$1.RefAttributes<HTMLInputElement>>;
957
+ declare const AtomicInput: React.ForwardRefExoticComponent<AtomicInputProps & React.RefAttributes<HTMLInputElement>>;
960
958
 
961
959
  type CheckboxSize = 'sm' | 'md' | 'lg';
962
960
  type Color$3 = 'slate' | 'gray' | 'zinc' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';
@@ -969,7 +967,7 @@ type SpacingObject$3 = {
969
967
  b?: Spacing$3;
970
968
  l?: Spacing$3;
971
969
  };
972
- interface AtomicCheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'color' | 'onChange'> {
970
+ interface AtomicCheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'color' | 'onChange'> {
973
971
  checked?: boolean;
974
972
  indeterminate?: boolean;
975
973
  disabled?: boolean;
@@ -981,10 +979,10 @@ interface AtomicCheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInput
981
979
  description?: string;
982
980
  error?: boolean;
983
981
  errorMessage?: string;
984
- onChange?: (checked: boolean, event: React$1.ChangeEvent<HTMLInputElement>) => void;
985
- onInputChange?: React$1.ChangeEventHandler<HTMLInputElement>;
982
+ onChange?: (checked: boolean, event: React.ChangeEvent<HTMLInputElement>) => void;
983
+ onInputChange?: React.ChangeEventHandler<HTMLInputElement>;
986
984
  }
987
- declare const AtomicCheckbox: React$1.ForwardRefExoticComponent<AtomicCheckboxProps & React$1.RefAttributes<HTMLInputElement>>;
985
+ declare const AtomicCheckbox: React.ForwardRefExoticComponent<AtomicCheckboxProps & React.RefAttributes<HTMLInputElement>>;
988
986
 
989
987
  type SwitchSize = 'sm' | 'md' | 'lg';
990
988
  type Color$2 = 'slate' | 'gray' | 'zinc' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink';
@@ -997,7 +995,7 @@ type SpacingObject$2 = {
997
995
  b?: Spacing$2;
998
996
  l?: Spacing$2;
999
997
  };
1000
- interface AtomicSwitchProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'color' | 'onChange'> {
998
+ interface AtomicSwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size' | 'color' | 'onChange'> {
1001
999
  checked?: boolean;
1002
1000
  disabled?: boolean;
1003
1001
  size?: SwitchSize;
@@ -1008,38 +1006,38 @@ interface AtomicSwitchProps extends Omit<React$1.InputHTMLAttributes<HTMLInputEl
1008
1006
  description?: string;
1009
1007
  labelPosition?: 'left' | 'right';
1010
1008
  loading?: boolean;
1011
- onChange?: (checked: boolean, event: React$1.ChangeEvent<HTMLInputElement>) => void;
1012
- onInputChange?: React$1.ChangeEventHandler<HTMLInputElement>;
1009
+ onChange?: (checked: boolean, event: React.ChangeEvent<HTMLInputElement>) => void;
1010
+ onInputChange?: React.ChangeEventHandler<HTMLInputElement>;
1013
1011
  }
1014
- declare const AtomicSwitch: React$1.ForwardRefExoticComponent<AtomicSwitchProps & React$1.RefAttributes<HTMLInputElement>>;
1012
+ declare const AtomicSwitch: React.ForwardRefExoticComponent<AtomicSwitchProps & React.RefAttributes<HTMLInputElement>>;
1015
1013
 
1016
1014
  declare const spinnerVariants: (props?: ({
1017
1015
  size?: "xs" | "sm" | "lg" | "xl" | "xxl" | "default" | null | undefined;
1018
1016
  color?: "primary" | "secondary" | "success" | "warning" | "error" | "default" | "white" | "muted" | null | undefined;
1019
1017
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1020
- interface AtomicSpinnerProps extends Omit<React$1.SVGProps<SVGSVGElement>, 'color'>, VariantProps<typeof spinnerVariants> {
1018
+ interface AtomicSpinnerProps extends Omit<React.SVGProps<SVGSVGElement>, 'color'>, VariantProps<typeof spinnerVariants> {
1021
1019
  /** Loading text to display alongside spinner */
1022
1020
  label?: string;
1023
1021
  /** Show spinner inline with text */
1024
1022
  inline?: boolean;
1025
1023
  /** Custom spinner icon */
1026
- icon?: React$1.ComponentType<any>;
1024
+ icon?: LucideIcon;
1027
1025
  }
1028
- declare const AtomicSpinner: React$1.ForwardRefExoticComponent<Omit<AtomicSpinnerProps, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
1029
- declare const AtomicButtonSpinner: React$1.ForwardRefExoticComponent<Omit<Omit<AtomicSpinnerProps, "color" | "size">, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
1030
- declare const AtomicPageSpinner: React$1.ForwardRefExoticComponent<Omit<Omit<AtomicSpinnerProps, "size">, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
1031
- declare const AtomicInlineSpinner: React$1.ForwardRefExoticComponent<Omit<Omit<AtomicSpinnerProps, "inline">, "ref"> & React$1.RefAttributes<SVGSVGElement>>;
1026
+ declare const AtomicSpinner: React.ForwardRefExoticComponent<Omit<AtomicSpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
1027
+ declare const AtomicButtonSpinner: React.ForwardRefExoticComponent<Omit<Omit<AtomicSpinnerProps, "color" | "size">, "ref"> & React.RefAttributes<SVGSVGElement>>;
1028
+ declare const AtomicPageSpinner: React.ForwardRefExoticComponent<Omit<Omit<AtomicSpinnerProps, "size">, "ref"> & React.RefAttributes<SVGSVGElement>>;
1029
+ declare const AtomicInlineSpinner: React.ForwardRefExoticComponent<Omit<Omit<AtomicSpinnerProps, "inline">, "ref"> & React.RefAttributes<SVGSVGElement>>;
1032
1030
 
1033
1031
  declare const badgeVariants: (props?: ({
1034
1032
  variant?: "outline" | "secondary" | "success" | "warning" | "info" | "gray" | "destructive" | "default" | null | undefined;
1035
1033
  size?: "sm" | "lg" | "default" | null | undefined;
1036
1034
  shape?: "default" | "square" | "rounded" | null | undefined;
1037
1035
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1038
- interface AtomicBadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
1036
+ interface AtomicBadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
1039
1037
  /** Icon to display on the left */
1040
- leftIcon?: React$1.ReactNode;
1038
+ leftIcon?: React.ReactNode;
1041
1039
  /** Icon to display on the right */
1042
- rightIcon?: React$1.ReactNode;
1040
+ rightIcon?: React.ReactNode;
1043
1041
  /** Show a dot indicator */
1044
1042
  dot?: boolean;
1045
1043
  /** Dot color (overrides variant color) */
@@ -1049,16 +1047,16 @@ interface AtomicBadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, Varia
1049
1047
  /** Callback when remove button is clicked */
1050
1048
  onRemove?: () => void;
1051
1049
  /** Custom remove icon */
1052
- removeIcon?: React$1.ReactNode;
1050
+ removeIcon?: React.ReactNode;
1053
1051
  }
1054
- declare const AtomicBadge: React$1.ForwardRefExoticComponent<AtomicBadgeProps & React$1.RefAttributes<HTMLDivElement>>;
1055
- declare const AtomicStatusBadge: React$1.ForwardRefExoticComponent<Omit<AtomicBadgeProps, "dot"> & {
1052
+ declare const AtomicBadge: React.ForwardRefExoticComponent<AtomicBadgeProps & React.RefAttributes<HTMLDivElement>>;
1053
+ declare const AtomicStatusBadge: React.ForwardRefExoticComponent<Omit<AtomicBadgeProps, "dot"> & {
1056
1054
  status: "online" | "offline" | "busy" | "away";
1057
- } & React$1.RefAttributes<HTMLDivElement>>;
1058
- declare const AtomicCountBadge: React$1.ForwardRefExoticComponent<Omit<AtomicBadgeProps, "children"> & {
1055
+ } & React.RefAttributes<HTMLDivElement>>;
1056
+ declare const AtomicCountBadge: React.ForwardRefExoticComponent<Omit<AtomicBadgeProps, "children"> & {
1059
1057
  count: number;
1060
1058
  max?: number;
1061
- } & React$1.RefAttributes<HTMLDivElement>>;
1059
+ } & React.RefAttributes<HTMLDivElement>>;
1062
1060
 
1063
1061
  type TagVariant = 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'outline' | 'ghost' | 'solid';
1064
1062
  type TagSize = 'xs' | 'sm' | 'md' | 'lg';
@@ -1072,8 +1070,8 @@ type SpacingObject$1 = {
1072
1070
  b?: Spacing$1;
1073
1071
  l?: Spacing$1;
1074
1072
  };
1075
- interface AtomicTagProps extends React$1.HTMLAttributes<HTMLSpanElement> {
1076
- children: React$1.ReactNode;
1073
+ interface AtomicTagProps extends React.HTMLAttributes<HTMLElement> {
1074
+ children: React.ReactNode;
1077
1075
  variant?: TagVariant;
1078
1076
  size?: TagSize;
1079
1077
  color?: Color$1;
@@ -1087,21 +1085,21 @@ interface AtomicTagProps extends React$1.HTMLAttributes<HTMLSpanElement> {
1087
1085
  disabled?: boolean;
1088
1086
  as?: 'span' | 'div' | 'button';
1089
1087
  }
1090
- declare const AtomicTag: React$1.ForwardRefExoticComponent<AtomicTagProps & React$1.RefAttributes<HTMLElement>>;
1088
+ declare const AtomicTag: React.ForwardRefExoticComponent<AtomicTagProps & React.RefAttributes<HTMLElement>>;
1091
1089
 
1092
1090
  declare const linkVariants: (props?: ({
1093
1091
  variant?: "button" | "primary" | "secondary" | "ghost" | "destructive" | "default" | "underline" | "muted" | null | undefined;
1094
1092
  size?: "sm" | "lg" | "xl" | "default" | null | undefined;
1095
1093
  weight?: "medium" | "normal" | "bold" | "semibold" | null | undefined;
1096
1094
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1097
- interface AtomicLinkProps extends Omit<React$1.ComponentProps<typeof Link>, 'className'>, VariantProps<typeof linkVariants> {
1095
+ interface AtomicLinkProps extends Omit<React.ComponentProps<typeof Link>, 'className'>, VariantProps<typeof linkVariants> {
1098
1096
  className?: string;
1099
1097
  external?: boolean;
1100
1098
  showExternalIcon?: boolean;
1101
1099
  prefetch?: boolean;
1102
- externalIcon?: React$1.ReactNode;
1100
+ externalIcon?: React.ReactNode;
1103
1101
  }
1104
- declare const AtomicLink: React$1.ForwardRefExoticComponent<Omit<AtomicLinkProps, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
1102
+ declare const AtomicLink: React.ForwardRefExoticComponent<Omit<AtomicLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
1105
1103
 
1106
1104
  type Display = 'block' | 'inline' | 'inline-block' | 'flex' | 'inline-flex' | 'grid' | 'hidden';
1107
1105
  type AlignItems = 'stretch' | 'start' | 'center' | 'end' | 'baseline';
@@ -1122,7 +1120,7 @@ type Color = 'transparent' | 'current' | 'black' | 'white' | 'slate-50' | 'slate
1122
1120
  type BorderRadius = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full';
1123
1121
  type Shadow = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'inner';
1124
1122
  type Position = 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';
1125
- interface AtomicDivProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'color'> {
1123
+ interface AtomicDivProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {
1126
1124
  d?: Display;
1127
1125
  align?: AlignItems;
1128
1126
  justify?: JustifyContent;
@@ -1152,9 +1150,9 @@ interface AtomicDivProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'c
1152
1150
  left?: Spacing;
1153
1151
  cursor?: 'auto' | 'default' | 'pointer' | 'wait' | 'text' | 'move' | 'help' | 'not-allowed';
1154
1152
  as?: keyof JSX.IntrinsicElements;
1155
- children?: React$1.ReactNode;
1153
+ children?: React.ReactNode;
1156
1154
  }
1157
- declare const AtomicDiv: React$1.ForwardRefExoticComponent<AtomicDivProps & React$1.RefAttributes<HTMLDivElement>>;
1155
+ declare const AtomicDiv: React.ForwardRefExoticComponent<AtomicDivProps & React.RefAttributes<HTMLDivElement>>;
1158
1156
 
1159
1157
  type Theme = 'light' | 'dark' | 'system';
1160
1158
  interface AtomicThemeProviderContextProps {
@@ -1163,7 +1161,7 @@ interface AtomicThemeProviderContextProps {
1163
1161
  actualTheme: 'light' | 'dark';
1164
1162
  }
1165
1163
  interface AtomicThemeProviderProps {
1166
- children: React$1.ReactNode;
1164
+ children: React.ReactNode;
1167
1165
  /** Default theme to use */
1168
1166
  defaultTheme?: Theme;
1169
1167
  /** Storage key for theme persistence */
@@ -1175,9 +1173,9 @@ interface AtomicThemeProviderProps {
1175
1173
  /** Disable theme transitions */
1176
1174
  disableTransitionOnChange?: boolean;
1177
1175
  }
1178
- declare const AtomicThemeProvider: React$1.FC<AtomicThemeProviderProps>;
1176
+ declare const AtomicThemeProvider: React.FC<AtomicThemeProviderProps>;
1179
1177
  declare const useAtomicTheme: () => AtomicThemeProviderContextProps;
1180
1178
 
1181
- declare const VERSION = "2.0.2";
1179
+ declare const VERSION = "2.1.0";
1182
1180
 
1183
- export { AnimationUtils, AtomicAlertType, type AtomicAlertTypeType, AtomicAlignment, type AtomicAlignmentType, type AtomicAnimationDuration, type AtomicAnimationEasing, AtomicAnimationPresets, type AtomicAnimationRotate, type AtomicAnimationScale, AtomicAnimationState, type AtomicAnimationStateType, AtomicAnimations, AtomicAnimationsCss, AtomicAvatar, AtomicAvatarFallback, AtomicAvatarImage, type AtomicAvatarProps, AtomicBadge, type AtomicBadgeProps, type AtomicBorderRadius, type AtomicBorderStyle, type AtomicBorderWidth, AtomicBorders, AtomicBordersCss, AtomicBreakpoint, type AtomicBreakpointType, AtomicButton, type AtomicButtonProps, AtomicButtonSpinner, AtomicButtonVariant, type AtomicButtonVariantType, AtomicCard, AtomicCardContent, type AtomicCardContentProps, AtomicCardDescription, type AtomicCardDescriptionProps, AtomicCardFooter, type AtomicCardFooterProps, AtomicCardHeader, type AtomicCardHeaderProps, type AtomicCardProps, AtomicCardTitle, type AtomicCardTitleProps, AtomicCardVariant, type AtomicCardVariantType, AtomicCheckbox, type AtomicCheckboxProps, AtomicColorVariant, type AtomicColorVariantType, AtomicColorsCss, AtomicCountBadge, AtomicDesignTokensCss, AtomicDirection, type AtomicDirectionType, AtomicDiv, type AtomicDivProps, AtomicEnumUtils, AtomicFormFieldState, type AtomicFormFieldStateType, AtomicIcon, type AtomicIconProps, AtomicImage, type AtomicImageProps, AtomicInlineSpinner, AtomicInput, type AtomicInputProps, AtomicInputVariant, type AtomicInputVariantType, AtomicLink, type AtomicLinkProps, AtomicLoadingState, type AtomicLoadingStateType, AtomicModalSize, type AtomicModalSizeType, AtomicOrientation, type AtomicOrientationType, AtomicPageSpinner, AtomicPosition, type AtomicPositionType, type AtomicShadowKey, type AtomicShadowValue, AtomicShadows, AtomicShadowsCss, AtomicSize, type AtomicSizeType, AtomicSpacingCss, AtomicSpinner, type AtomicSpinnerProps, AtomicStatus, AtomicStatusBadge, type AtomicStatusType, AtomicSwitch, type AtomicSwitchProps, AtomicTag, type AtomicTagProps, AtomicText, type AtomicTextProps, AtomicTextVariant, type AtomicTextVariantType, AtomicThemeMode, type AtomicThemeModeType, AtomicThemeProvider, AtomicTypographyCss, BorderUtils, ShadowUtils, VERSION, avatarImageVariants, avatarVariants, badgeVariants, buttonVariants, cardDescriptionVariants, cardHeaderVariants, cardTitleVariants, cardVariants, cn, inputVariants, linkVariants, spinnerVariants, textVariants, useAtomicTheme };
1181
+ export { AnimationUtils, AtomicAlertType, type AtomicAlertTypeType, AtomicAlignment, type AtomicAlignmentType, type AtomicAnimationDuration, type AtomicAnimationEasing, AtomicAnimationPresets, type AtomicAnimationRotate, type AtomicAnimationScale, AtomicAnimationState, type AtomicAnimationStateType, AtomicAnimations, AtomicAnimationsCss, AtomicAvatar, AtomicAvatarFallback, AtomicAvatarImage, type AtomicAvatarProps, AtomicBadge, type AtomicBadgeProps, type AtomicBorderRadius, type AtomicBorderStyle, type AtomicBorderWidth, AtomicBorders, AtomicBordersCss, AtomicBreakpoint, type AtomicBreakpointType, AtomicButton, type AtomicButtonProps, AtomicButtonSpinner, AtomicButtonVariant, type AtomicButtonVariantType, AtomicCard, AtomicCardContent, type AtomicCardContentProps, AtomicCardDescription, type AtomicCardDescriptionProps, AtomicCardFooter, type AtomicCardFooterProps, AtomicCardHeader, type AtomicCardHeaderProps, type AtomicCardProps, AtomicCardTitle, type AtomicCardTitleProps, AtomicCardVariant, type AtomicCardVariantType, AtomicCheckbox, type AtomicCheckboxProps, AtomicColorVariant, type AtomicColorVariantType, AtomicColorsCss, AtomicCountBadge, AtomicDesignTokensCss, AtomicDirection, type AtomicDirectionType, AtomicDiv, type AtomicDivProps, AtomicEnumUtils, AtomicFormFieldState, type AtomicFormFieldStateType, AtomicIcon, type AtomicIconProps, AtomicImage, type AtomicImageProps, AtomicInlineSpinner, AtomicInput, type AtomicInputProps, AtomicInputVariant, type AtomicInputVariantType, AtomicLink, type AtomicLinkProps, AtomicLoadingState, type AtomicLoadingStateType, AtomicModalSize, type AtomicModalSizeType, AtomicOrientation, type AtomicOrientationType, AtomicPageSpinner, AtomicPosition, type AtomicPositionType, type AtomicShadowKey, type AtomicShadowValue, AtomicShadows, AtomicShadowsCss, AtomicSize, type AtomicSizeType, AtomicSpacingCss, AtomicSpinner, type AtomicSpinnerProps, AtomicStatus, AtomicStatusBadge, type AtomicStatusType, AtomicSwitch, type AtomicSwitchProps, AtomicTag, type AtomicTagProps, AtomicText, type AtomicTextProps, AtomicTextVariant, type AtomicTextVariantType, AtomicThemeMode, type AtomicThemeModeType, AtomicThemeProvider, type AtomicThemeProviderContextProps, AtomicTypographyCss, BorderUtils, ShadowUtils, VERSION, avatarImageVariants, avatarVariants, badgeVariants, buttonVariants, cardDescriptionVariants, cardHeaderVariants, cardTitleVariants, cardVariants, cn, inputVariants, linkVariants, spinnerVariants, textVariants, useAtomicTheme };