@reeverdev/ui 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -60,11 +60,11 @@ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefA
|
|
|
60
60
|
|
|
61
61
|
declare const buttonVariants: (props?: ({
|
|
62
62
|
variant?: "solid" | "ghost" | "flat" | "bordered" | "light" | null | undefined;
|
|
63
|
-
|
|
63
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | null | undefined;
|
|
64
64
|
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
65
65
|
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
66
66
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
67
|
-
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
67
|
+
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "color">, VariantProps<typeof buttonVariants> {
|
|
68
68
|
asChild?: boolean;
|
|
69
69
|
href?: string;
|
|
70
70
|
loading?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -60,11 +60,11 @@ declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefA
|
|
|
60
60
|
|
|
61
61
|
declare const buttonVariants: (props?: ({
|
|
62
62
|
variant?: "solid" | "ghost" | "flat" | "bordered" | "light" | null | undefined;
|
|
63
|
-
|
|
63
|
+
color?: "default" | "primary" | "secondary" | "success" | "warning" | "danger" | null | undefined;
|
|
64
64
|
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
65
65
|
radius?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
|
|
66
66
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
67
|
-
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
67
|
+
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "color">, VariantProps<typeof buttonVariants> {
|
|
68
68
|
asChild?: boolean;
|
|
69
69
|
href?: string;
|
|
70
70
|
loading?: boolean;
|