buildgrid-ui 1.7.3 → 1.8.2
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/blocks/index.d.ts +2 -0
- package/dist/blocks/lazy-image-gallery/index.d.ts +1 -0
- package/dist/blocks/lazy-image-gallery/lazy-image-gallery.d.ts +12 -0
- package/dist/buildgrid-ui.es.js +3272 -3139
- package/dist/buildgrid-ui.umd.js +34 -34
- package/dist/components/button/button.types.d.ts +12 -2
- package/package.json +2 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DeepPartial } from '@/lib/types/ts-utilities';
|
|
2
2
|
export declare const buttonThemeDefaults: {
|
|
3
|
-
base: string;
|
|
3
|
+
base: string[];
|
|
4
4
|
variants: {
|
|
5
5
|
variant: {
|
|
6
6
|
default: string;
|
|
@@ -17,10 +17,14 @@ export declare const buttonThemeDefaults: {
|
|
|
17
17
|
xl: string;
|
|
18
18
|
icon: string;
|
|
19
19
|
};
|
|
20
|
+
rounded: {
|
|
21
|
+
true: string;
|
|
22
|
+
};
|
|
20
23
|
};
|
|
21
24
|
defaultVariants: {
|
|
22
25
|
variant: "default";
|
|
23
26
|
size: "md";
|
|
27
|
+
rounded: boolean;
|
|
24
28
|
};
|
|
25
29
|
};
|
|
26
30
|
export declare const buttonVariants: ((arg?: (({
|
|
@@ -32,22 +36,28 @@ export declare const buttonVariants: ((arg?: (({
|
|
|
32
36
|
}) & {
|
|
33
37
|
size?: "icon" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
34
38
|
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | undefined;
|
|
39
|
+
rounded?: boolean | undefined;
|
|
35
40
|
}) | undefined) => string) & {
|
|
36
41
|
variants: {
|
|
37
42
|
size: readonly ("icon" | "sm" | "md" | "lg" | "xl")[];
|
|
38
43
|
variant: readonly ("link" | "default" | "destructive" | "outline" | "secondary" | "ghost")[];
|
|
44
|
+
rounded: readonly boolean[];
|
|
39
45
|
};
|
|
40
46
|
};
|
|
41
47
|
export interface ButtonThemeVariants {
|
|
42
48
|
size?: (typeof buttonVariants)['variants']['size'][0];
|
|
49
|
+
rounded?: boolean;
|
|
43
50
|
variant?: (typeof buttonVariants)['variants']['variant'][0];
|
|
44
51
|
}
|
|
45
52
|
export interface ButtonTheme {
|
|
46
|
-
base: string;
|
|
53
|
+
base: string | string[];
|
|
47
54
|
variants: {
|
|
48
55
|
size: {
|
|
49
56
|
[key in (typeof buttonVariants)['variants']['size'][0]]: string;
|
|
50
57
|
};
|
|
58
|
+
rounded: {
|
|
59
|
+
true: string;
|
|
60
|
+
};
|
|
51
61
|
variant: {
|
|
52
62
|
[key in (typeof buttonVariants)['variants']['variant'][0]]: string;
|
|
53
63
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buildgrid-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"homepage": "http://adrianomaringolo.github.io/buildgrid-ui",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -117,6 +117,7 @@
|
|
|
117
117
|
"storybook": "^8.4.7",
|
|
118
118
|
"storybook-deployer": "^2.8.12",
|
|
119
119
|
"tailwindcss": "^3.4.17",
|
|
120
|
+
"tailwindcss-animated": "^2.0.0",
|
|
120
121
|
"typescript": "^5.7.2",
|
|
121
122
|
"vite-plugin-dts": "^4.5.0",
|
|
122
123
|
"vitest": "^2.1.8"
|