@danxbot/ui 21.0.0 → 21.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.js +26 -17
- package/dist/index.js.map +1 -1
- package/dist/types/components/Card.d.ts +25 -1
- package/package.json +1 -1
|
@@ -16,6 +16,14 @@ declare const card: import("tailwind-variants").TVReturnType<{
|
|
|
16
16
|
root: string;
|
|
17
17
|
};
|
|
18
18
|
};
|
|
19
|
+
radius: {
|
|
20
|
+
xl: {
|
|
21
|
+
root: string;
|
|
22
|
+
};
|
|
23
|
+
md: {
|
|
24
|
+
root: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
19
27
|
padding: {
|
|
20
28
|
none: {
|
|
21
29
|
root: string;
|
|
@@ -64,6 +72,14 @@ declare const card: import("tailwind-variants").TVReturnType<{
|
|
|
64
72
|
root: string;
|
|
65
73
|
};
|
|
66
74
|
};
|
|
75
|
+
radius: {
|
|
76
|
+
xl: {
|
|
77
|
+
root: string;
|
|
78
|
+
};
|
|
79
|
+
md: {
|
|
80
|
+
root: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
67
83
|
padding: {
|
|
68
84
|
none: {
|
|
69
85
|
root: string;
|
|
@@ -112,6 +128,14 @@ declare const card: import("tailwind-variants").TVReturnType<{
|
|
|
112
128
|
root: string;
|
|
113
129
|
};
|
|
114
130
|
};
|
|
131
|
+
radius: {
|
|
132
|
+
xl: {
|
|
133
|
+
root: string;
|
|
134
|
+
};
|
|
135
|
+
md: {
|
|
136
|
+
root: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
115
139
|
padding: {
|
|
116
140
|
none: {
|
|
117
141
|
root: string;
|
|
@@ -154,7 +178,7 @@ export interface CardProps extends VariantProps<typeof card> {
|
|
|
154
178
|
ref?: Ref<HTMLElement>;
|
|
155
179
|
onClick?: (event: React.MouseEvent) => void;
|
|
156
180
|
}
|
|
157
|
-
export declare function Card({ variant, padding, interactive, selected, render, className, children, ref, ...props }: CardProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
181
|
+
export declare function Card({ variant, radius, padding, interactive, selected, render, className, children, ref, ...props }: CardProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
|
|
158
182
|
export interface CardHeaderProps {
|
|
159
183
|
title?: ReactNode;
|
|
160
184
|
description?: ReactNode;
|