@reeverdev/ui 0.1.2 → 0.1.4

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.cts CHANGED
@@ -52,6 +52,7 @@ declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAt
52
52
 
53
53
  declare const badgeVariants: (props?: ({
54
54
  variant?: "solid" | "outline" | "ghost" | "soft" | "surface" | "destructive" | null | undefined;
55
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
55
56
  } & class_variance_authority_types.ClassProp) | undefined) => string;
56
57
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
57
58
  }
@@ -60,13 +61,19 @@ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefA
60
61
  declare const buttonVariants: (props?: ({
61
62
  variant?: "solid" | "outline" | "ghost" | "soft" | "surface" | "destructive" | "link" | null | undefined;
62
63
  size?: "sm" | "md" | "lg" | "icon" | null | undefined;
64
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
63
65
  } & class_variance_authority_types.ClassProp) | undefined) => string;
64
66
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
65
67
  asChild?: boolean;
66
68
  }
67
69
  declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
68
70
 
69
- declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
71
+ declare const cardVariants: (props?: ({
72
+ radius?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
73
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
74
+ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
75
+ }
76
+ declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
70
77
  declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
71
78
  declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
72
79
  declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
@@ -92,7 +99,10 @@ declare const DialogFooter: {
92
99
  declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
93
100
  declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
94
101
 
95
- interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
102
+ declare const inputVariants: (props?: ({
103
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
104
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
105
+ interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
96
106
  }
97
107
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
98
108
 
@@ -102,7 +112,10 @@ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimiti
102
112
 
103
113
  declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
104
114
 
105
- interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
115
+ declare const textareaVariants: (props?: ({
116
+ radius?: "none" | "sm" | "md" | "lg" | null | undefined;
117
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
118
+ interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textareaVariants> {
106
119
  }
107
120
  declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
108
121
 
@@ -113,7 +126,13 @@ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantP
113
126
  }
114
127
  declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
115
128
 
116
- declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
129
+ declare const avatarVariants: (props?: ({
130
+ size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
131
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
132
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
133
+ interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
134
+ }
135
+ declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
117
136
  declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
118
137
  declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
119
138
 
@@ -789,6 +808,7 @@ declare const chipVariants: (props?: ({
789
808
  variant?: "solid" | "outline" | "ghost" | "soft" | "surface" | null | undefined;
790
809
  color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | null | undefined;
791
810
  size?: "sm" | "md" | "lg" | null | undefined;
811
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
792
812
  clickable?: boolean | null | undefined;
793
813
  } & class_variance_authority_types.ClassProp) | undefined) => string;
794
814
  interface ChipProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "color">, VariantProps<typeof chipVariants> {
@@ -1949,7 +1969,7 @@ interface InfiniteScrollProps extends React$1.HTMLAttributes<HTMLDivElement>, Va
1949
1969
  declare const InfiniteScroll: React$1.ForwardRefExoticComponent<InfiniteScrollProps & React$1.RefAttributes<HTMLDivElement>>;
1950
1970
 
1951
1971
  declare const modalContentVariants: (props?: ({
1952
- size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
1972
+ size?: "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
1953
1973
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1954
1974
  interface ModalProps extends VariantProps<typeof modalContentVariants> {
1955
1975
  open?: boolean;
@@ -1972,7 +1992,7 @@ declare const ModalPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
1972
1992
  declare const ModalClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
1973
1993
  declare const ModalOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1974
1994
  declare const ModalContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
1975
- size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
1995
+ size?: "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
1976
1996
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
1977
1997
  showCloseButton?: boolean;
1978
1998
  } & React$1.RefAttributes<HTMLDivElement>>;
@@ -3226,8 +3246,8 @@ interface GridProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps
3226
3246
  }
3227
3247
  declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLDivElement>>;
3228
3248
  declare const gridItemVariants: (props?: ({
3229
- colSpan?: 1 | 2 | 4 | 3 | 5 | "full" | 6 | 7 | 10 | 12 | 8 | 9 | 11 | null | undefined;
3230
- rowSpan?: 1 | 2 | 4 | 3 | 5 | "full" | 6 | null | undefined;
3249
+ colSpan?: 1 | "full" | 2 | 4 | 3 | 5 | 6 | 7 | 10 | 12 | 8 | 9 | 11 | null | undefined;
3250
+ rowSpan?: 1 | "full" | 2 | 4 | 3 | 5 | 6 | null | undefined;
3231
3251
  colStart?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | 10 | 12 | 8 | 9 | 11 | 13 | null | undefined;
3232
3252
  colEnd?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | 10 | 12 | 8 | 9 | 11 | 13 | null | undefined;
3233
3253
  rowStart?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | null | undefined;
@@ -3250,7 +3270,7 @@ declare const SimpleGrid: React$1.ForwardRefExoticComponent<Omit<GridProps, "col
3250
3270
  declare const wellVariants: (props?: ({
3251
3271
  variant?: "outline" | "default" | "filled" | "subtle" | "sunken" | null | undefined;
3252
3272
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
3253
- radius?: "none" | "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
3273
+ radius?: "none" | "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
3254
3274
  } & class_variance_authority_types.ClassProp) | undefined) => string;
3255
3275
  interface WellProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof wellVariants> {
3256
3276
  /** Element to render as */
package/dist/index.d.ts CHANGED
@@ -52,6 +52,7 @@ declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAt
52
52
 
53
53
  declare const badgeVariants: (props?: ({
54
54
  variant?: "solid" | "outline" | "ghost" | "soft" | "surface" | "destructive" | null | undefined;
55
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
55
56
  } & class_variance_authority_types.ClassProp) | undefined) => string;
56
57
  interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
57
58
  }
@@ -60,13 +61,19 @@ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefA
60
61
  declare const buttonVariants: (props?: ({
61
62
  variant?: "solid" | "outline" | "ghost" | "soft" | "surface" | "destructive" | "link" | null | undefined;
62
63
  size?: "sm" | "md" | "lg" | "icon" | null | undefined;
64
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
63
65
  } & class_variance_authority_types.ClassProp) | undefined) => string;
64
66
  interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
65
67
  asChild?: boolean;
66
68
  }
67
69
  declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
68
70
 
69
- declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
71
+ declare const cardVariants: (props?: ({
72
+ radius?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
73
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
74
+ interface CardProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof cardVariants> {
75
+ }
76
+ declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>>;
70
77
  declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
71
78
  declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
72
79
  declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
@@ -92,7 +99,10 @@ declare const DialogFooter: {
92
99
  declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
93
100
  declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
94
101
 
95
- interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
102
+ declare const inputVariants: (props?: ({
103
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
104
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
105
+ interface InputProps extends React$1.InputHTMLAttributes<HTMLInputElement>, VariantProps<typeof inputVariants> {
96
106
  }
97
107
  declare const Input: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
98
108
 
@@ -102,7 +112,10 @@ declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimiti
102
112
 
103
113
  declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
104
114
 
105
- interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement> {
115
+ declare const textareaVariants: (props?: ({
116
+ radius?: "none" | "sm" | "md" | "lg" | null | undefined;
117
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
118
+ interface TextareaProps extends React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textareaVariants> {
106
119
  }
107
120
  declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
108
121
 
@@ -113,7 +126,13 @@ interface SkeletonProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantP
113
126
  }
114
127
  declare const Skeleton: React$1.ForwardRefExoticComponent<SkeletonProps & React$1.RefAttributes<HTMLDivElement>>;
115
128
 
116
- declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
129
+ declare const avatarVariants: (props?: ({
130
+ size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
131
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
132
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
133
+ interface AvatarProps extends React$1.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
134
+ }
135
+ declare const Avatar: React$1.ForwardRefExoticComponent<AvatarProps & React$1.RefAttributes<HTMLSpanElement>>;
117
136
  declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
118
137
  declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
119
138
 
@@ -789,6 +808,7 @@ declare const chipVariants: (props?: ({
789
808
  variant?: "solid" | "outline" | "ghost" | "soft" | "surface" | null | undefined;
790
809
  color?: "primary" | "secondary" | "success" | "warning" | "danger" | "info" | null | undefined;
791
810
  size?: "sm" | "md" | "lg" | null | undefined;
811
+ radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
792
812
  clickable?: boolean | null | undefined;
793
813
  } & class_variance_authority_types.ClassProp) | undefined) => string;
794
814
  interface ChipProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "color">, VariantProps<typeof chipVariants> {
@@ -1949,7 +1969,7 @@ interface InfiniteScrollProps extends React$1.HTMLAttributes<HTMLDivElement>, Va
1949
1969
  declare const InfiniteScroll: React$1.ForwardRefExoticComponent<InfiniteScrollProps & React$1.RefAttributes<HTMLDivElement>>;
1950
1970
 
1951
1971
  declare const modalContentVariants: (props?: ({
1952
- size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
1972
+ size?: "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
1953
1973
  } & class_variance_authority_types.ClassProp) | undefined) => string;
1954
1974
  interface ModalProps extends VariantProps<typeof modalContentVariants> {
1955
1975
  open?: boolean;
@@ -1972,7 +1992,7 @@ declare const ModalPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
1972
1992
  declare const ModalClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
1973
1993
  declare const ModalOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1974
1994
  declare const ModalContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
1975
- size?: "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
1995
+ size?: "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
1976
1996
  } & class_variance_authority_types.ClassProp) | undefined) => string> & {
1977
1997
  showCloseButton?: boolean;
1978
1998
  } & React$1.RefAttributes<HTMLDivElement>>;
@@ -3226,8 +3246,8 @@ interface GridProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps
3226
3246
  }
3227
3247
  declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLDivElement>>;
3228
3248
  declare const gridItemVariants: (props?: ({
3229
- colSpan?: 1 | 2 | 4 | 3 | 5 | "full" | 6 | 7 | 10 | 12 | 8 | 9 | 11 | null | undefined;
3230
- rowSpan?: 1 | 2 | 4 | 3 | 5 | "full" | 6 | null | undefined;
3249
+ colSpan?: 1 | "full" | 2 | 4 | 3 | 5 | 6 | 7 | 10 | 12 | 8 | 9 | 11 | null | undefined;
3250
+ rowSpan?: 1 | "full" | 2 | 4 | 3 | 5 | 6 | null | undefined;
3231
3251
  colStart?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | 10 | 12 | 8 | 9 | 11 | 13 | null | undefined;
3232
3252
  colEnd?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | 10 | 12 | 8 | 9 | 11 | 13 | null | undefined;
3233
3253
  rowStart?: 1 | "auto" | 2 | 4 | 3 | 5 | 6 | 7 | null | undefined;
@@ -3250,7 +3270,7 @@ declare const SimpleGrid: React$1.ForwardRefExoticComponent<Omit<GridProps, "col
3250
3270
  declare const wellVariants: (props?: ({
3251
3271
  variant?: "outline" | "default" | "filled" | "subtle" | "sunken" | null | undefined;
3252
3272
  size?: "sm" | "md" | "lg" | "xl" | null | undefined;
3253
- radius?: "none" | "sm" | "md" | "lg" | "xl" | "full" | null | undefined;
3273
+ radius?: "none" | "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
3254
3274
  } & class_variance_authority_types.ClassProp) | undefined) => string;
3255
3275
  interface WellProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof wellVariants> {
3256
3276
  /** Element to render as */