@tecsinapse/cortex-core 0.4.9 → 1.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/cjs/components/button/button.js +3 -2
- package/dist/esm/components/button/button.js +3 -2
- package/dist/types/components/badge/badge.d.ts +3 -55
- package/dist/types/components/button/button.d.ts +9 -84
- package/dist/types/components/card/card.d.ts +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/common/common.d.ts +2 -22
- package/dist/types/components/divider/divider.d.ts +1 -1
- package/dist/types/components/drawer/drawer.d.ts +2 -38
- package/dist/types/components/hint/hint.d.ts +2 -30
- package/dist/types/components/input/input.d.ts +4 -60
- package/dist/types/components/modal/modal.d.ts +2 -22
- package/dist/types/components/popover/popover.d.ts +2 -2
- package/dist/types/components/radio-button/radio-button.d.ts +2 -26
- package/dist/types/components/select/select.d.ts +4 -60
- package/dist/types/components/snackbar/snackbar.d.ts +2 -38
- package/dist/types/components/table/table.d.ts +7 -7
- package/dist/types/components/tag/tag.d.ts +1 -33
- package/dist/types/components/toggle/toggle.d.ts +4 -40
- package/dist/types/components/tooltip/tooltip.d.ts +3 -23
- package/package.json +4 -5
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tailwindVariants = require('tailwind-variants');
|
|
4
4
|
|
|
5
5
|
const buttonStyles = tailwindVariants.tv({
|
|
6
|
-
base: "
|
|
6
|
+
base: "text-base h-fit font-bold disabled:text-white enabled:active:scale-95 transform transition hover:text-white text-white cursor-pointer items-center flex justify-center",
|
|
7
7
|
variants: {
|
|
8
8
|
intent: {
|
|
9
9
|
primary: "bg-primary-medium disabled:bg-primary-light active:bg-primary-dark enabled:hover:border-primary-dark hover:bg-primary-dark",
|
|
@@ -22,7 +22,8 @@ const buttonStyles = tailwindVariants.tv({
|
|
|
22
22
|
default: "px-kilo rounded-mili py-mili min-h-[44px]",
|
|
23
23
|
small: "px-deca rounded-mili py-mili min-h-[34px]",
|
|
24
24
|
square: "p-[14px] rounded-mili min-h-fit aspect-square",
|
|
25
|
-
circle: "p-[14px] rounded-full min-h-fit"
|
|
25
|
+
circle: "p-[14px] rounded-full min-h-fit",
|
|
26
|
+
base: ""
|
|
26
27
|
}
|
|
27
28
|
},
|
|
28
29
|
compoundVariants: [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tv } from 'tailwind-variants';
|
|
2
2
|
|
|
3
3
|
const buttonStyles = tv({
|
|
4
|
-
base: "
|
|
4
|
+
base: "text-base h-fit font-bold disabled:text-white enabled:active:scale-95 transform transition hover:text-white text-white cursor-pointer items-center flex justify-center",
|
|
5
5
|
variants: {
|
|
6
6
|
intent: {
|
|
7
7
|
primary: "bg-primary-medium disabled:bg-primary-light active:bg-primary-dark enabled:hover:border-primary-dark hover:bg-primary-dark",
|
|
@@ -20,7 +20,8 @@ const buttonStyles = tv({
|
|
|
20
20
|
default: "px-kilo rounded-mili py-mili min-h-[44px]",
|
|
21
21
|
small: "px-deca rounded-mili py-mili min-h-[34px]",
|
|
22
22
|
square: "p-[14px] rounded-mili min-h-fit aspect-square",
|
|
23
|
-
circle: "p-[14px] rounded-full min-h-fit"
|
|
23
|
+
circle: "p-[14px] rounded-full min-h-fit",
|
|
24
|
+
base: ""
|
|
24
25
|
}
|
|
25
26
|
},
|
|
26
27
|
compoundVariants: [
|
|
@@ -12,33 +12,7 @@ declare const badgeStyles: import("tailwind-variants").TVReturnType<{
|
|
|
12
12
|
true: string;
|
|
13
13
|
false: string;
|
|
14
14
|
};
|
|
15
|
-
}, undefined, "text-sub text-white font-bold rounded-pill",
|
|
16
|
-
intent: {
|
|
17
|
-
primary: string;
|
|
18
|
-
secondary: string;
|
|
19
|
-
error: string;
|
|
20
|
-
success: string;
|
|
21
|
-
warning: string;
|
|
22
|
-
info: string;
|
|
23
|
-
};
|
|
24
|
-
isAnchor: {
|
|
25
|
-
true: string;
|
|
26
|
-
false: string;
|
|
27
|
-
};
|
|
28
|
-
}, {
|
|
29
|
-
intent: {
|
|
30
|
-
primary: string;
|
|
31
|
-
secondary: string;
|
|
32
|
-
error: string;
|
|
33
|
-
success: string;
|
|
34
|
-
warning: string;
|
|
35
|
-
info: string;
|
|
36
|
-
};
|
|
37
|
-
isAnchor: {
|
|
38
|
-
true: string;
|
|
39
|
-
false: string;
|
|
40
|
-
};
|
|
41
|
-
}>, {
|
|
15
|
+
}, undefined, "text-sub text-white font-bold rounded-pill", {
|
|
42
16
|
intent: {
|
|
43
17
|
primary: string;
|
|
44
18
|
secondary: string;
|
|
@@ -64,34 +38,8 @@ declare const badgeStyles: import("tailwind-variants").TVReturnType<{
|
|
|
64
38
|
true: string;
|
|
65
39
|
false: string;
|
|
66
40
|
};
|
|
67
|
-
}, undefined, "text-sub text-white font-bold rounded-pill",
|
|
68
|
-
|
|
69
|
-
primary: string;
|
|
70
|
-
secondary: string;
|
|
71
|
-
error: string;
|
|
72
|
-
success: string;
|
|
73
|
-
warning: string;
|
|
74
|
-
info: string;
|
|
75
|
-
};
|
|
76
|
-
isAnchor: {
|
|
77
|
-
true: string;
|
|
78
|
-
false: string;
|
|
79
|
-
};
|
|
80
|
-
}, {
|
|
81
|
-
intent: {
|
|
82
|
-
primary: string;
|
|
83
|
-
secondary: string;
|
|
84
|
-
error: string;
|
|
85
|
-
success: string;
|
|
86
|
-
warning: string;
|
|
87
|
-
info: string;
|
|
88
|
-
};
|
|
89
|
-
isAnchor: {
|
|
90
|
-
true: string;
|
|
91
|
-
false: string;
|
|
92
|
-
};
|
|
93
|
-
}>, unknown, unknown, undefined>>;
|
|
94
|
-
export declare const containerBadge: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative items-center justify-center self-center w-fit", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "relative items-center justify-center self-center w-fit", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
41
|
+
}, undefined, "text-sub text-white font-bold rounded-pill", unknown, unknown, undefined>>;
|
|
42
|
+
export declare const containerBadge: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative items-center justify-center self-center w-fit", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "relative items-center justify-center self-center w-fit", unknown, unknown, undefined>>;
|
|
95
43
|
export type BadgeVariants = VariantProps<typeof badgeStyles> & ClassProp;
|
|
96
44
|
export declare const badge: (props?: BadgeVariants) => string;
|
|
97
45
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps
|
|
1
|
+
import { VariantProps } from 'tailwind-variants';
|
|
2
2
|
export declare const buttonStyles: import("tailwind-variants").TVReturnType<{
|
|
3
3
|
intent: {
|
|
4
4
|
primary: string;
|
|
@@ -18,48 +18,9 @@ export declare const buttonStyles: import("tailwind-variants").TVReturnType<{
|
|
|
18
18
|
small: string;
|
|
19
19
|
square: string;
|
|
20
20
|
circle: string;
|
|
21
|
+
base: string;
|
|
21
22
|
};
|
|
22
|
-
}, undefined, "
|
|
23
|
-
intent: {
|
|
24
|
-
primary: string;
|
|
25
|
-
secondary: string;
|
|
26
|
-
success: string;
|
|
27
|
-
info: string;
|
|
28
|
-
warning: string;
|
|
29
|
-
error: string;
|
|
30
|
-
};
|
|
31
|
-
variant: {
|
|
32
|
-
outline: string;
|
|
33
|
-
text: string;
|
|
34
|
-
filled: string;
|
|
35
|
-
};
|
|
36
|
-
size: {
|
|
37
|
-
default: string;
|
|
38
|
-
small: string;
|
|
39
|
-
square: string;
|
|
40
|
-
circle: string;
|
|
41
|
-
};
|
|
42
|
-
}, {
|
|
43
|
-
intent: {
|
|
44
|
-
primary: string;
|
|
45
|
-
secondary: string;
|
|
46
|
-
success: string;
|
|
47
|
-
info: string;
|
|
48
|
-
warning: string;
|
|
49
|
-
error: string;
|
|
50
|
-
};
|
|
51
|
-
variant: {
|
|
52
|
-
outline: string;
|
|
53
|
-
text: string;
|
|
54
|
-
filled: string;
|
|
55
|
-
};
|
|
56
|
-
size: {
|
|
57
|
-
default: string;
|
|
58
|
-
small: string;
|
|
59
|
-
square: string;
|
|
60
|
-
circle: string;
|
|
61
|
-
};
|
|
62
|
-
}>, {
|
|
23
|
+
}, undefined, "text-base h-fit font-bold disabled:text-white enabled:active:scale-95 transform transition hover:text-white text-white cursor-pointer items-center flex justify-center", {
|
|
63
24
|
intent: {
|
|
64
25
|
primary: string;
|
|
65
26
|
secondary: string;
|
|
@@ -78,6 +39,7 @@ export declare const buttonStyles: import("tailwind-variants").TVReturnType<{
|
|
|
78
39
|
small: string;
|
|
79
40
|
square: string;
|
|
80
41
|
circle: string;
|
|
42
|
+
base: string;
|
|
81
43
|
};
|
|
82
44
|
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
83
45
|
intent: {
|
|
@@ -98,47 +60,10 @@ export declare const buttonStyles: import("tailwind-variants").TVReturnType<{
|
|
|
98
60
|
small: string;
|
|
99
61
|
square: string;
|
|
100
62
|
circle: string;
|
|
63
|
+
base: string;
|
|
101
64
|
};
|
|
102
|
-
}, undefined, "
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
success: string;
|
|
107
|
-
info: string;
|
|
108
|
-
warning: string;
|
|
109
|
-
error: string;
|
|
110
|
-
};
|
|
111
|
-
variant: {
|
|
112
|
-
outline: string;
|
|
113
|
-
text: string;
|
|
114
|
-
filled: string;
|
|
115
|
-
};
|
|
116
|
-
size: {
|
|
117
|
-
default: string;
|
|
118
|
-
small: string;
|
|
119
|
-
square: string;
|
|
120
|
-
circle: string;
|
|
121
|
-
};
|
|
122
|
-
}, {
|
|
123
|
-
intent: {
|
|
124
|
-
primary: string;
|
|
125
|
-
secondary: string;
|
|
126
|
-
success: string;
|
|
127
|
-
info: string;
|
|
128
|
-
warning: string;
|
|
129
|
-
error: string;
|
|
130
|
-
};
|
|
131
|
-
variant: {
|
|
132
|
-
outline: string;
|
|
133
|
-
text: string;
|
|
134
|
-
filled: string;
|
|
135
|
-
};
|
|
136
|
-
size: {
|
|
137
|
-
default: string;
|
|
138
|
-
small: string;
|
|
139
|
-
square: string;
|
|
140
|
-
circle: string;
|
|
141
|
-
};
|
|
142
|
-
}>, unknown, unknown, undefined>>;
|
|
143
|
-
export type ButtonVariants = VariantProps<typeof buttonStyles> & ClassProp;
|
|
65
|
+
}, undefined, "text-base h-fit font-bold disabled:text-white enabled:active:scale-95 transform transition hover:text-white text-white cursor-pointer items-center flex justify-center", unknown, unknown, undefined>>;
|
|
66
|
+
export type ButtonVariants = VariantProps<typeof buttonStyles> & {
|
|
67
|
+
className?: string;
|
|
68
|
+
};
|
|
144
69
|
export declare const button: (props?: ButtonVariants) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const card: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "rounded-mili shadow-default bg-white p-deca",
|
|
1
|
+
export declare const card: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "rounded-mili shadow-default bg-white p-deca", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "rounded-mili shadow-default bg-white p-deca", unknown, unknown, undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const checkbox: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "accent-primary-medium h-5 w-5 cursor-pointer",
|
|
1
|
+
export declare const checkbox: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "accent-primary-medium h-5 w-5 cursor-pointer", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "accent-primary-medium h-5 w-5 cursor-pointer", unknown, unknown, undefined>>;
|
|
@@ -3,17 +3,7 @@ export declare const overlay: import("tailwind-variants").TVReturnType<{
|
|
|
3
3
|
true: string;
|
|
4
4
|
false: string;
|
|
5
5
|
};
|
|
6
|
-
}, undefined, "fixed",
|
|
7
|
-
show: {
|
|
8
|
-
true: string;
|
|
9
|
-
false: string;
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
show: {
|
|
13
|
-
true: string;
|
|
14
|
-
false: string;
|
|
15
|
-
};
|
|
16
|
-
}>, {
|
|
6
|
+
}, undefined, "fixed", {
|
|
17
7
|
show: {
|
|
18
8
|
true: string;
|
|
19
9
|
false: string;
|
|
@@ -23,14 +13,4 @@ export declare const overlay: import("tailwind-variants").TVReturnType<{
|
|
|
23
13
|
true: string;
|
|
24
14
|
false: string;
|
|
25
15
|
};
|
|
26
|
-
}, undefined, "fixed",
|
|
27
|
-
show: {
|
|
28
|
-
true: string;
|
|
29
|
-
false: string;
|
|
30
|
-
};
|
|
31
|
-
}, {
|
|
32
|
-
show: {
|
|
33
|
-
true: string;
|
|
34
|
-
false: string;
|
|
35
|
-
};
|
|
36
|
-
}>, unknown, unknown, undefined>>;
|
|
16
|
+
}, undefined, "fixed", unknown, unknown, undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const divider: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "border-solid border-t border-secondary-light w-full",
|
|
1
|
+
export declare const divider: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "border-solid border-t border-secondary-light w-full", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "border-solid border-t border-secondary-light w-full", unknown, unknown, undefined>>;
|
|
@@ -8,25 +8,7 @@ declare const drawerStyles: import("tailwind-variants").TVReturnType<{
|
|
|
8
8
|
true: string;
|
|
9
9
|
false: string;
|
|
10
10
|
};
|
|
11
|
-
}, undefined, "bg-white fixed top-0 h-full p-deca shadow-lg transition-all duration-500 transform overflow-y-scroll",
|
|
12
|
-
position: {
|
|
13
|
-
left: string;
|
|
14
|
-
right: string;
|
|
15
|
-
};
|
|
16
|
-
open: {
|
|
17
|
-
true: string;
|
|
18
|
-
false: string;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
position: {
|
|
22
|
-
left: string;
|
|
23
|
-
right: string;
|
|
24
|
-
};
|
|
25
|
-
open: {
|
|
26
|
-
true: string;
|
|
27
|
-
false: string;
|
|
28
|
-
};
|
|
29
|
-
}>, {
|
|
11
|
+
}, undefined, "bg-white fixed top-0 h-full p-deca shadow-lg transition-all duration-500 transform overflow-y-scroll", {
|
|
30
12
|
position: {
|
|
31
13
|
left: string;
|
|
32
14
|
right: string;
|
|
@@ -44,25 +26,7 @@ declare const drawerStyles: import("tailwind-variants").TVReturnType<{
|
|
|
44
26
|
true: string;
|
|
45
27
|
false: string;
|
|
46
28
|
};
|
|
47
|
-
}, undefined, "bg-white fixed top-0 h-full p-deca shadow-lg transition-all duration-500 transform overflow-y-scroll",
|
|
48
|
-
position: {
|
|
49
|
-
left: string;
|
|
50
|
-
right: string;
|
|
51
|
-
};
|
|
52
|
-
open: {
|
|
53
|
-
true: string;
|
|
54
|
-
false: string;
|
|
55
|
-
};
|
|
56
|
-
}, {
|
|
57
|
-
position: {
|
|
58
|
-
left: string;
|
|
59
|
-
right: string;
|
|
60
|
-
};
|
|
61
|
-
open: {
|
|
62
|
-
true: string;
|
|
63
|
-
false: string;
|
|
64
|
-
};
|
|
65
|
-
}>, unknown, unknown, undefined>>;
|
|
29
|
+
}, undefined, "bg-white fixed top-0 h-full p-deca shadow-lg transition-all duration-500 transform overflow-y-scroll", unknown, unknown, undefined>>;
|
|
66
30
|
export type DrawerVariants = VariantProps<typeof drawerStyles> & ClassProp;
|
|
67
31
|
export declare const drawer: (props: DrawerVariants) => string;
|
|
68
32
|
export {};
|
|
@@ -6,21 +6,7 @@ declare const hintStyles: import("tailwind-variants").TVReturnType<{
|
|
|
6
6
|
warning: string;
|
|
7
7
|
error: string;
|
|
8
8
|
};
|
|
9
|
-
}, undefined, "text-label font-bold flex items-center",
|
|
10
|
-
intent: {
|
|
11
|
-
default: string;
|
|
12
|
-
success: string;
|
|
13
|
-
warning: string;
|
|
14
|
-
error: string;
|
|
15
|
-
};
|
|
16
|
-
}, {
|
|
17
|
-
intent: {
|
|
18
|
-
default: string;
|
|
19
|
-
success: string;
|
|
20
|
-
warning: string;
|
|
21
|
-
error: string;
|
|
22
|
-
};
|
|
23
|
-
}>, {
|
|
9
|
+
}, undefined, "text-label font-bold flex items-center", {
|
|
24
10
|
intent: {
|
|
25
11
|
default: string;
|
|
26
12
|
success: string;
|
|
@@ -34,21 +20,7 @@ declare const hintStyles: import("tailwind-variants").TVReturnType<{
|
|
|
34
20
|
warning: string;
|
|
35
21
|
error: string;
|
|
36
22
|
};
|
|
37
|
-
}, undefined, "text-label font-bold flex items-center",
|
|
38
|
-
intent: {
|
|
39
|
-
default: string;
|
|
40
|
-
success: string;
|
|
41
|
-
warning: string;
|
|
42
|
-
error: string;
|
|
43
|
-
};
|
|
44
|
-
}, {
|
|
45
|
-
intent: {
|
|
46
|
-
default: string;
|
|
47
|
-
success: string;
|
|
48
|
-
warning: string;
|
|
49
|
-
error: string;
|
|
50
|
-
};
|
|
51
|
-
}>, unknown, unknown, undefined>>;
|
|
23
|
+
}, undefined, "text-label font-bold flex items-center", unknown, unknown, undefined>>;
|
|
52
24
|
export type HintVariants = VariantProps<typeof hintStyles> & ClassProp;
|
|
53
25
|
export declare const hint: (props?: HintVariants) => string;
|
|
54
26
|
export {};
|
|
@@ -6,21 +6,7 @@ export declare const inputBaseStyles: import("tailwind-variants").TVReturnType<{
|
|
|
6
6
|
warning: string[];
|
|
7
7
|
error: string[];
|
|
8
8
|
};
|
|
9
|
-
}, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent",
|
|
10
|
-
intent: {
|
|
11
|
-
default: string[];
|
|
12
|
-
success: string[];
|
|
13
|
-
warning: string[];
|
|
14
|
-
error: string[];
|
|
15
|
-
};
|
|
16
|
-
}, {
|
|
17
|
-
intent: {
|
|
18
|
-
default: string[];
|
|
19
|
-
success: string[];
|
|
20
|
-
warning: string[];
|
|
21
|
-
error: string[];
|
|
22
|
-
};
|
|
23
|
-
}>, {
|
|
9
|
+
}, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent", {
|
|
24
10
|
intent: {
|
|
25
11
|
default: string[];
|
|
26
12
|
success: string[];
|
|
@@ -34,21 +20,7 @@ export declare const inputBaseStyles: import("tailwind-variants").TVReturnType<{
|
|
|
34
20
|
warning: string[];
|
|
35
21
|
error: string[];
|
|
36
22
|
};
|
|
37
|
-
}, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent",
|
|
38
|
-
intent: {
|
|
39
|
-
default: string[];
|
|
40
|
-
success: string[];
|
|
41
|
-
warning: string[];
|
|
42
|
-
error: string[];
|
|
43
|
-
};
|
|
44
|
-
}, {
|
|
45
|
-
intent: {
|
|
46
|
-
default: string[];
|
|
47
|
-
success: string[];
|
|
48
|
-
warning: string[];
|
|
49
|
-
error: string[];
|
|
50
|
-
};
|
|
51
|
-
}>, unknown, unknown, undefined>>;
|
|
23
|
+
}, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 bg-white focus-within:outline focus-within:outline-1 text-base font-bold items-center border rounded-mili has-[:disabled]:bg-transparent", unknown, unknown, undefined>>;
|
|
52
24
|
declare const labelBaseStyles: import("tailwind-variants").TVReturnType<{
|
|
53
25
|
intent: {
|
|
54
26
|
default: string[];
|
|
@@ -56,21 +28,7 @@ declare const labelBaseStyles: import("tailwind-variants").TVReturnType<{
|
|
|
56
28
|
warning: string[];
|
|
57
29
|
error: string[];
|
|
58
30
|
};
|
|
59
|
-
}, undefined, "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max peer-autofill:scale-[0.72] peer-autofill:-translate-y-2 peer-autofill:top-2.5",
|
|
60
|
-
intent: {
|
|
61
|
-
default: string[];
|
|
62
|
-
success: string[];
|
|
63
|
-
warning: string[];
|
|
64
|
-
error: string[];
|
|
65
|
-
};
|
|
66
|
-
}, {
|
|
67
|
-
intent: {
|
|
68
|
-
default: string[];
|
|
69
|
-
success: string[];
|
|
70
|
-
warning: string[];
|
|
71
|
-
error: string[];
|
|
72
|
-
};
|
|
73
|
-
}>, {
|
|
31
|
+
}, undefined, "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max peer-autofill:scale-[0.72] peer-autofill:-translate-y-2 peer-autofill:top-2.5", {
|
|
74
32
|
intent: {
|
|
75
33
|
default: string[];
|
|
76
34
|
success: string[];
|
|
@@ -84,21 +42,7 @@ declare const labelBaseStyles: import("tailwind-variants").TVReturnType<{
|
|
|
84
42
|
warning: string[];
|
|
85
43
|
error: string[];
|
|
86
44
|
};
|
|
87
|
-
}, undefined, "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max peer-autofill:scale-[0.72] peer-autofill:-translate-y-2 peer-autofill:top-2.5",
|
|
88
|
-
intent: {
|
|
89
|
-
default: string[];
|
|
90
|
-
success: string[];
|
|
91
|
-
warning: string[];
|
|
92
|
-
error: string[];
|
|
93
|
-
};
|
|
94
|
-
}, {
|
|
95
|
-
intent: {
|
|
96
|
-
default: string[];
|
|
97
|
-
success: string[];
|
|
98
|
-
warning: string[];
|
|
99
|
-
error: string[];
|
|
100
|
-
};
|
|
101
|
-
}>, unknown, unknown, undefined>>;
|
|
45
|
+
}, undefined, "absolute duration-300 -translate-y-2 scale-[0.72] top-2.5 z-10 origin-[0] peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-0 peer-focus:scale-[0.72] peer-focus:-translate-y-2 peer-focus:top-2.5 font-bold text-base peer-disabled:text-secondary-light select-none w-max peer-autofill:scale-[0.72] peer-autofill:-translate-y-2 peer-autofill:top-2.5", unknown, unknown, undefined>>;
|
|
102
46
|
export interface LabelVariants extends VariantProps<typeof labelBaseStyles> {
|
|
103
47
|
className?: string;
|
|
104
48
|
placeholder?: string;
|
|
@@ -3,17 +3,7 @@ export declare const modal: import("tailwind-variants").TVReturnType<{
|
|
|
3
3
|
true: string;
|
|
4
4
|
false: string;
|
|
5
5
|
};
|
|
6
|
-
}, undefined, "fixed rounded-micro p-kilo bg-white shadow-default flex transition inset-0 z-modal",
|
|
7
|
-
open: {
|
|
8
|
-
true: string;
|
|
9
|
-
false: string;
|
|
10
|
-
};
|
|
11
|
-
}, {
|
|
12
|
-
open: {
|
|
13
|
-
true: string;
|
|
14
|
-
false: string;
|
|
15
|
-
};
|
|
16
|
-
}>, {
|
|
6
|
+
}, undefined, "fixed rounded-micro p-kilo bg-white shadow-default flex transition inset-0 z-modal", {
|
|
17
7
|
open: {
|
|
18
8
|
true: string;
|
|
19
9
|
false: string;
|
|
@@ -23,14 +13,4 @@ export declare const modal: import("tailwind-variants").TVReturnType<{
|
|
|
23
13
|
true: string;
|
|
24
14
|
false: string;
|
|
25
15
|
};
|
|
26
|
-
}, undefined, "fixed rounded-micro p-kilo bg-white shadow-default flex transition inset-0 z-modal",
|
|
27
|
-
open: {
|
|
28
|
-
true: string;
|
|
29
|
-
false: string;
|
|
30
|
-
};
|
|
31
|
-
}, {
|
|
32
|
-
open: {
|
|
33
|
-
true: string;
|
|
34
|
-
false: string;
|
|
35
|
-
};
|
|
36
|
-
}>, unknown, unknown, undefined>>;
|
|
16
|
+
}, undefined, "fixed rounded-micro p-kilo bg-white shadow-default flex transition inset-0 z-modal", unknown, unknown, undefined>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClassProp, VariantProps } from 'tailwind-variants';
|
|
2
|
-
export declare const popoverContainer: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "group relative inline-block",
|
|
3
|
-
export declare const popoverStyles: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "border border-gray-200 bg-black text-white p-4 rounded-md shadow-lg z-50",
|
|
2
|
+
export declare const popoverContainer: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "group relative inline-block", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "group relative inline-block", unknown, unknown, undefined>>;
|
|
3
|
+
export declare const popoverStyles: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "border border-gray-200 bg-black text-white p-4 rounded-md shadow-lg z-50", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "border border-gray-200 bg-black text-white p-4 rounded-md shadow-lg z-50", unknown, unknown, undefined>>;
|
|
4
4
|
export type popoverVariants = VariantProps<typeof popoverStyles> & ClassProp;
|
|
5
5
|
export declare const popover: (props: popoverVariants) => string;
|
|
@@ -8,19 +8,7 @@ export declare const radioButtonStyles: import("tailwind-variants").TVReturnType
|
|
|
8
8
|
container: string;
|
|
9
9
|
label: string;
|
|
10
10
|
input: string;
|
|
11
|
-
}, undefined,
|
|
12
|
-
reversed: {
|
|
13
|
-
true: {
|
|
14
|
-
container: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
}, {
|
|
18
|
-
reversed: {
|
|
19
|
-
true: {
|
|
20
|
-
container: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
}>, {
|
|
11
|
+
}, undefined, {
|
|
24
12
|
reversed: {
|
|
25
13
|
true: {
|
|
26
14
|
container: string;
|
|
@@ -40,16 +28,4 @@ export declare const radioButtonStyles: import("tailwind-variants").TVReturnType
|
|
|
40
28
|
container: string;
|
|
41
29
|
label: string;
|
|
42
30
|
input: string;
|
|
43
|
-
}, undefined,
|
|
44
|
-
reversed: {
|
|
45
|
-
true: {
|
|
46
|
-
container: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
}, {
|
|
50
|
-
reversed: {
|
|
51
|
-
true: {
|
|
52
|
-
container: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
}>, unknown, unknown, undefined>>;
|
|
31
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -5,21 +5,7 @@ export declare const option: import("tailwind-variants").TVReturnType<{
|
|
|
5
5
|
grouped: {
|
|
6
6
|
true: string;
|
|
7
7
|
};
|
|
8
|
-
}, undefined, "flex flex-row gap-x-deca items-center text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium",
|
|
9
|
-
selected: {
|
|
10
|
-
true: string;
|
|
11
|
-
};
|
|
12
|
-
grouped: {
|
|
13
|
-
true: string;
|
|
14
|
-
};
|
|
15
|
-
}, {
|
|
16
|
-
selected: {
|
|
17
|
-
true: string;
|
|
18
|
-
};
|
|
19
|
-
grouped: {
|
|
20
|
-
true: string;
|
|
21
|
-
};
|
|
22
|
-
}>, {
|
|
8
|
+
}, undefined, "flex flex-row gap-x-deca items-center text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium", {
|
|
23
9
|
selected: {
|
|
24
10
|
true: string;
|
|
25
11
|
};
|
|
@@ -33,21 +19,7 @@ export declare const option: import("tailwind-variants").TVReturnType<{
|
|
|
33
19
|
grouped: {
|
|
34
20
|
true: string;
|
|
35
21
|
};
|
|
36
|
-
}, undefined, "flex flex-row gap-x-deca items-center text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium",
|
|
37
|
-
selected: {
|
|
38
|
-
true: string;
|
|
39
|
-
};
|
|
40
|
-
grouped: {
|
|
41
|
-
true: string;
|
|
42
|
-
};
|
|
43
|
-
}, {
|
|
44
|
-
selected: {
|
|
45
|
-
true: string;
|
|
46
|
-
};
|
|
47
|
-
grouped: {
|
|
48
|
-
true: string;
|
|
49
|
-
};
|
|
50
|
-
}>, unknown, unknown, undefined>>;
|
|
22
|
+
}, undefined, "flex flex-row gap-x-deca items-center text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium", unknown, unknown, undefined>>;
|
|
51
23
|
export declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
52
24
|
intent: {
|
|
53
25
|
error: {
|
|
@@ -59,21 +31,7 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
|
59
31
|
button: string;
|
|
60
32
|
groupedTitle: string;
|
|
61
33
|
list: string;
|
|
62
|
-
}, undefined,
|
|
63
|
-
intent: {
|
|
64
|
-
error: {
|
|
65
|
-
button: string;
|
|
66
|
-
};
|
|
67
|
-
default: string;
|
|
68
|
-
};
|
|
69
|
-
}, {
|
|
70
|
-
intent: {
|
|
71
|
-
error: {
|
|
72
|
-
button: string;
|
|
73
|
-
};
|
|
74
|
-
default: string;
|
|
75
|
-
};
|
|
76
|
-
}>, {
|
|
34
|
+
}, undefined, {
|
|
77
35
|
intent: {
|
|
78
36
|
error: {
|
|
79
37
|
button: string;
|
|
@@ -95,18 +53,4 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
|
95
53
|
button: string;
|
|
96
54
|
groupedTitle: string;
|
|
97
55
|
list: string;
|
|
98
|
-
}, undefined,
|
|
99
|
-
intent: {
|
|
100
|
-
error: {
|
|
101
|
-
button: string;
|
|
102
|
-
};
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
}, {
|
|
106
|
-
intent: {
|
|
107
|
-
error: {
|
|
108
|
-
button: string;
|
|
109
|
-
};
|
|
110
|
-
default: string;
|
|
111
|
-
};
|
|
112
|
-
}>, unknown, unknown, undefined>>;
|
|
56
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -8,25 +8,7 @@ declare const snackbarStyles: import("tailwind-variants").TVReturnType<{
|
|
|
8
8
|
info: string;
|
|
9
9
|
warning: string;
|
|
10
10
|
};
|
|
11
|
-
}, undefined, "animate-opacity flex flex-1 shadow-default text-base font-bold p-mili rounded-mili",
|
|
12
|
-
intent: {
|
|
13
|
-
default: string;
|
|
14
|
-
secondary: string;
|
|
15
|
-
success: string;
|
|
16
|
-
error: string;
|
|
17
|
-
info: string;
|
|
18
|
-
warning: string;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
intent: {
|
|
22
|
-
default: string;
|
|
23
|
-
secondary: string;
|
|
24
|
-
success: string;
|
|
25
|
-
error: string;
|
|
26
|
-
info: string;
|
|
27
|
-
warning: string;
|
|
28
|
-
};
|
|
29
|
-
}>, {
|
|
11
|
+
}, undefined, "animate-opacity flex flex-1 shadow-default text-base font-bold p-mili rounded-mili", {
|
|
30
12
|
intent: {
|
|
31
13
|
default: string;
|
|
32
14
|
secondary: string;
|
|
@@ -44,25 +26,7 @@ declare const snackbarStyles: import("tailwind-variants").TVReturnType<{
|
|
|
44
26
|
info: string;
|
|
45
27
|
warning: string;
|
|
46
28
|
};
|
|
47
|
-
}, undefined, "animate-opacity flex flex-1 shadow-default text-base font-bold p-mili rounded-mili",
|
|
48
|
-
intent: {
|
|
49
|
-
default: string;
|
|
50
|
-
secondary: string;
|
|
51
|
-
success: string;
|
|
52
|
-
error: string;
|
|
53
|
-
info: string;
|
|
54
|
-
warning: string;
|
|
55
|
-
};
|
|
56
|
-
}, {
|
|
57
|
-
intent: {
|
|
58
|
-
default: string;
|
|
59
|
-
secondary: string;
|
|
60
|
-
success: string;
|
|
61
|
-
error: string;
|
|
62
|
-
info: string;
|
|
63
|
-
warning: string;
|
|
64
|
-
};
|
|
65
|
-
}>, unknown, unknown, undefined>>;
|
|
29
|
+
}, undefined, "animate-opacity flex flex-1 shadow-default text-base font-bold p-mili rounded-mili", unknown, unknown, undefined>>;
|
|
66
30
|
export type SnackbarVariants = VariantProps<typeof snackbarStyles> & ClassProp;
|
|
67
31
|
export declare const snackbar: (props?: SnackbarVariants) => string;
|
|
68
32
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const tHead: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "[&>tr]:rounded-none [&>tr]:shadow-none",
|
|
2
|
-
export declare const tRow: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "rounded-mili shadow-default",
|
|
3
|
-
export declare const tHeadCell: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "truncate px-deca py-centi text-start text-sub font-bold text-medium",
|
|
4
|
-
export declare const tCell: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "p-deca text-base font-bold text-dark",
|
|
5
|
-
export declare const tFoot: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "[&>tr]:rounded-none [&>tr]:shadow-none",
|
|
6
|
-
export declare const tRoot: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "min-w-fit border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white shadow-default",
|
|
7
|
-
export declare const hr: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "-mx-[24px] -mb-[4px] -mt-[50px] h-[42px] border-0 bg-secondary-xlight",
|
|
1
|
+
export declare const tHead: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "[&>tr]:rounded-none [&>tr]:shadow-none", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "[&>tr]:rounded-none [&>tr]:shadow-none", unknown, unknown, undefined>>;
|
|
2
|
+
export declare const tRow: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "rounded-mili shadow-default", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "rounded-mili shadow-default", unknown, unknown, undefined>>;
|
|
3
|
+
export declare const tHeadCell: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "truncate px-deca py-centi text-start text-sub font-bold text-medium", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "truncate px-deca py-centi text-start text-sub font-bold text-medium", unknown, unknown, undefined>>;
|
|
4
|
+
export declare const tCell: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "p-deca text-base font-bold text-dark", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "p-deca text-base font-bold text-dark", unknown, unknown, undefined>>;
|
|
5
|
+
export declare const tFoot: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "[&>tr]:rounded-none [&>tr]:shadow-none", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "[&>tr]:rounded-none [&>tr]:shadow-none", unknown, unknown, undefined>>;
|
|
6
|
+
export declare const tRoot: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "min-w-fit border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white shadow-default", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "min-w-fit border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white shadow-default", unknown, unknown, undefined>>;
|
|
7
|
+
export declare const hr: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "-mx-[24px] -mb-[4px] -mt-[50px] h-[42px] border-0 bg-secondary-xlight", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "-mx-[24px] -mb-[4px] -mt-[50px] h-[42px] border-0 bg-secondary-xlight", unknown, unknown, undefined>>;
|
|
@@ -10,18 +10,6 @@ declare const tagStyles: import("tailwind-variants").TVReturnType<{
|
|
|
10
10
|
white: string;
|
|
11
11
|
};
|
|
12
12
|
}, undefined, "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex gap-1", {
|
|
13
|
-
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
14
|
-
intent?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
15
|
-
} | undefined;
|
|
16
|
-
} & import("tailwind-variants/dist/config").TWMConfig & {
|
|
17
|
-
twMergeConfig: {
|
|
18
|
-
classGroups: {
|
|
19
|
-
'font-size': {
|
|
20
|
-
text: string[];
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
}, {
|
|
25
13
|
intent: {
|
|
26
14
|
primary: string;
|
|
27
15
|
secondary: string;
|
|
@@ -41,27 +29,7 @@ declare const tagStyles: import("tailwind-variants").TVReturnType<{
|
|
|
41
29
|
error: string;
|
|
42
30
|
white: string;
|
|
43
31
|
};
|
|
44
|
-
}, undefined, "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex gap-1",
|
|
45
|
-
intent: {
|
|
46
|
-
primary: string;
|
|
47
|
-
secondary: string;
|
|
48
|
-
info: string;
|
|
49
|
-
success: string;
|
|
50
|
-
warning: string;
|
|
51
|
-
error: string;
|
|
52
|
-
white: string;
|
|
53
|
-
};
|
|
54
|
-
}, {
|
|
55
|
-
intent: {
|
|
56
|
-
primary: string;
|
|
57
|
-
secondary: string;
|
|
58
|
-
info: string;
|
|
59
|
-
success: string;
|
|
60
|
-
warning: string;
|
|
61
|
-
error: string;
|
|
62
|
-
white: string;
|
|
63
|
-
};
|
|
64
|
-
}>, unknown, unknown, undefined>>;
|
|
32
|
+
}, undefined, "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex gap-1", unknown, unknown, undefined>>;
|
|
65
33
|
export type TagVariants = VariantProps<typeof tagStyles> & {
|
|
66
34
|
className?: string;
|
|
67
35
|
};
|
|
@@ -8,25 +8,7 @@ declare const toggleStyles: import("tailwind-variants").TVReturnType<{
|
|
|
8
8
|
warning: string;
|
|
9
9
|
error: string;
|
|
10
10
|
};
|
|
11
|
-
}, undefined, "peer h-[22px] w-[40px] rounded-full bg-secondary-light after:absolute after:left-micro after:top-[3px] after:h-deca after:w-deca after:rounded-full after:border after:border-white after:bg-white after:transition-all after:content-[''] peer-checked:after:translate-x-full peer-checked:after:border-white peer-focus:outline-none",
|
|
12
|
-
intent: {
|
|
13
|
-
primary: string;
|
|
14
|
-
secondary: string;
|
|
15
|
-
info: string;
|
|
16
|
-
success: string;
|
|
17
|
-
warning: string;
|
|
18
|
-
error: string;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
intent: {
|
|
22
|
-
primary: string;
|
|
23
|
-
secondary: string;
|
|
24
|
-
info: string;
|
|
25
|
-
success: string;
|
|
26
|
-
warning: string;
|
|
27
|
-
error: string;
|
|
28
|
-
};
|
|
29
|
-
}>, {
|
|
11
|
+
}, undefined, "peer h-[22px] w-[40px] rounded-full bg-secondary-light after:absolute after:left-micro after:top-[3px] after:h-deca after:w-deca after:rounded-full after:border after:border-white after:bg-white after:transition-all after:content-[''] peer-checked:after:translate-x-full peer-checked:after:border-white peer-focus:outline-none", {
|
|
30
12
|
intent: {
|
|
31
13
|
primary: string;
|
|
32
14
|
secondary: string;
|
|
@@ -44,27 +26,9 @@ declare const toggleStyles: import("tailwind-variants").TVReturnType<{
|
|
|
44
26
|
warning: string;
|
|
45
27
|
error: string;
|
|
46
28
|
};
|
|
47
|
-
}, undefined, "peer h-[22px] w-[40px] rounded-full bg-secondary-light after:absolute after:left-micro after:top-[3px] after:h-deca after:w-deca after:rounded-full after:border after:border-white after:bg-white after:transition-all after:content-[''] peer-checked:after:translate-x-full peer-checked:after:border-white peer-focus:outline-none",
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
secondary: string;
|
|
51
|
-
info: string;
|
|
52
|
-
success: string;
|
|
53
|
-
warning: string;
|
|
54
|
-
error: string;
|
|
55
|
-
};
|
|
56
|
-
}, {
|
|
57
|
-
intent: {
|
|
58
|
-
primary: string;
|
|
59
|
-
secondary: string;
|
|
60
|
-
info: string;
|
|
61
|
-
success: string;
|
|
62
|
-
warning: string;
|
|
63
|
-
error: string;
|
|
64
|
-
};
|
|
65
|
-
}>, unknown, unknown, undefined>>;
|
|
66
|
-
export declare const styleLabelElement: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative inline-flex cursor-pointer items-center", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "relative inline-flex cursor-pointer items-center", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
67
|
-
export declare const styleInputElement: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "peer sr-only", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "peer sr-only", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
29
|
+
}, undefined, "peer h-[22px] w-[40px] rounded-full bg-secondary-light after:absolute after:left-micro after:top-[3px] after:h-deca after:w-deca after:rounded-full after:border after:border-white after:bg-white after:transition-all after:content-[''] peer-checked:after:translate-x-full peer-checked:after:border-white peer-focus:outline-none", unknown, unknown, undefined>>;
|
|
30
|
+
export declare const styleLabelElement: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative inline-flex cursor-pointer items-center", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "relative inline-flex cursor-pointer items-center", unknown, unknown, undefined>>;
|
|
31
|
+
export declare const styleInputElement: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "peer sr-only", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "peer sr-only", unknown, unknown, undefined>>;
|
|
68
32
|
type ToggleVariants = VariantProps<typeof toggleStyles> & ClassProp;
|
|
69
33
|
export declare const toggle: (props?: ToggleVariants) => string;
|
|
70
34
|
export {};
|
|
@@ -1,21 +1,11 @@
|
|
|
1
1
|
import { ClassProp, VariantProps } from 'tailwind-variants';
|
|
2
|
-
export declare const tooltipContainer: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "group relative inline-block",
|
|
2
|
+
export declare const tooltipContainer: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "group relative inline-block", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "group relative inline-block", unknown, unknown, undefined>>;
|
|
3
3
|
declare const tooltipStyles: import("tailwind-variants").TVReturnType<{
|
|
4
4
|
position: {
|
|
5
5
|
bottom: string[];
|
|
6
6
|
top: string[];
|
|
7
7
|
};
|
|
8
|
-
}, undefined, "h-8 mt-deca w-max h-fit invisible group-hover:visible opacity-0 group-hover:opacity-100 bg-secondary-dark text-white px-centi py-micro rounded-mili absolute",
|
|
9
|
-
position: {
|
|
10
|
-
bottom: string[];
|
|
11
|
-
top: string[];
|
|
12
|
-
};
|
|
13
|
-
}, {
|
|
14
|
-
position: {
|
|
15
|
-
bottom: string[];
|
|
16
|
-
top: string[];
|
|
17
|
-
};
|
|
18
|
-
}>, {
|
|
8
|
+
}, undefined, "h-8 mt-deca w-max h-fit invisible group-hover:visible opacity-0 group-hover:opacity-100 bg-secondary-dark text-white px-centi py-micro rounded-mili absolute", {
|
|
19
9
|
position: {
|
|
20
10
|
bottom: string[];
|
|
21
11
|
top: string[];
|
|
@@ -25,17 +15,7 @@ declare const tooltipStyles: import("tailwind-variants").TVReturnType<{
|
|
|
25
15
|
bottom: string[];
|
|
26
16
|
top: string[];
|
|
27
17
|
};
|
|
28
|
-
}, undefined, "h-8 mt-deca w-max h-fit invisible group-hover:visible opacity-0 group-hover:opacity-100 bg-secondary-dark text-white px-centi py-micro rounded-mili absolute",
|
|
29
|
-
position: {
|
|
30
|
-
bottom: string[];
|
|
31
|
-
top: string[];
|
|
32
|
-
};
|
|
33
|
-
}, {
|
|
34
|
-
position: {
|
|
35
|
-
bottom: string[];
|
|
36
|
-
top: string[];
|
|
37
|
-
};
|
|
38
|
-
}>, unknown, unknown, undefined>>;
|
|
18
|
+
}, undefined, "h-8 mt-deca w-max h-fit invisible group-hover:visible opacity-0 group-hover:opacity-100 bg-secondary-dark text-white px-centi py-micro rounded-mili absolute", unknown, unknown, undefined>>;
|
|
39
19
|
export type TooltipVariants = VariantProps<typeof tooltipStyles> & ClassProp;
|
|
40
20
|
export declare const tooltip: (props: TooltipVariants) => string;
|
|
41
21
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Core library for tailwindcss based design",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -16,9 +16,8 @@
|
|
|
16
16
|
"build:dts": "tsc --project tsconfig.build.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"clsx": "
|
|
20
|
-
"tailwind-
|
|
21
|
-
"tailwind-variants": "^0.2.1"
|
|
19
|
+
"clsx": "2.1.1",
|
|
20
|
+
"tailwind-variants": "1.0.0"
|
|
22
21
|
},
|
|
23
22
|
"repository": {
|
|
24
23
|
"type": "git",
|
|
@@ -32,5 +31,5 @@
|
|
|
32
31
|
"peerDependencies": {
|
|
33
32
|
"tailwindcss": ">=3.3.0"
|
|
34
33
|
},
|
|
35
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "e2db119fd66716080671d57c50c277f4dff667d4"
|
|
36
35
|
}
|