@tecsinapse/cortex-core 0.3.2-beta.2 → 0.3.3-beta.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.
|
@@ -15,16 +15,11 @@ const option = tailwindVariants.tv({
|
|
|
15
15
|
});
|
|
16
16
|
const selectVariants = tailwindVariants.tv({
|
|
17
17
|
slots: {
|
|
18
|
-
button: "flex w-full justify-between items-center bg-white relative min-h-[44px] h-auto flex px-centi py-1.5 text-base font-bold items-center
|
|
18
|
+
button: "disabled:pointer-events-none disabled:text-secondary-light flex w-full justify-between items-center bg-white relative min-h-[44px] h-auto flex px-centi py-1.5 text-base font-bold items-center border border-secondary-light rounded-mili",
|
|
19
19
|
groupedTitle: "font-bold text-secondary-medium mx-centi",
|
|
20
20
|
list: "list-none p-0"
|
|
21
21
|
},
|
|
22
22
|
variants: {
|
|
23
|
-
disabled: {
|
|
24
|
-
true: {
|
|
25
|
-
button: "pointer-events-none text-secondary-light bg-secondary-xlight"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
23
|
intent: {
|
|
29
24
|
error: { button: "border-error-light" },
|
|
30
25
|
default: ""
|
|
@@ -13,16 +13,11 @@ const option = tv({
|
|
|
13
13
|
});
|
|
14
14
|
const selectVariants = tv({
|
|
15
15
|
slots: {
|
|
16
|
-
button: "flex w-full justify-between items-center bg-white relative min-h-[44px] h-auto flex px-centi py-1.5 text-base font-bold items-center
|
|
16
|
+
button: "disabled:pointer-events-none disabled:text-secondary-light flex w-full justify-between items-center bg-white relative min-h-[44px] h-auto flex px-centi py-1.5 text-base font-bold items-center border border-secondary-light rounded-mili",
|
|
17
17
|
groupedTitle: "font-bold text-secondary-medium mx-centi",
|
|
18
18
|
list: "list-none p-0"
|
|
19
19
|
},
|
|
20
20
|
variants: {
|
|
21
|
-
disabled: {
|
|
22
|
-
true: {
|
|
23
|
-
button: "pointer-events-none text-secondary-light bg-secondary-xlight"
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
21
|
intent: {
|
|
27
22
|
error: { button: "border-error-light" },
|
|
28
23
|
default: ""
|
|
@@ -49,11 +49,6 @@ export declare const option: import("tailwind-variants").TVReturnType<{
|
|
|
49
49
|
};
|
|
50
50
|
}>, unknown, unknown, undefined>>;
|
|
51
51
|
export declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
52
|
-
disabled: {
|
|
53
|
-
true: {
|
|
54
|
-
button: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
52
|
intent: {
|
|
58
53
|
error: {
|
|
59
54
|
button: string;
|
|
@@ -65,11 +60,6 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
|
65
60
|
groupedTitle: string;
|
|
66
61
|
list: string;
|
|
67
62
|
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
68
|
-
disabled: {
|
|
69
|
-
true: {
|
|
70
|
-
button: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
63
|
intent: {
|
|
74
64
|
error: {
|
|
75
65
|
button: string;
|
|
@@ -77,11 +67,6 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
|
77
67
|
default: string;
|
|
78
68
|
};
|
|
79
69
|
}, {
|
|
80
|
-
disabled: {
|
|
81
|
-
true: {
|
|
82
|
-
button: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
70
|
intent: {
|
|
86
71
|
error: {
|
|
87
72
|
button: string;
|
|
@@ -89,11 +74,6 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
|
89
74
|
default: string;
|
|
90
75
|
};
|
|
91
76
|
}>, {
|
|
92
|
-
disabled: {
|
|
93
|
-
true: {
|
|
94
|
-
button: string;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
77
|
intent: {
|
|
98
78
|
error: {
|
|
99
79
|
button: string;
|
|
@@ -105,11 +85,6 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
|
105
85
|
groupedTitle: string;
|
|
106
86
|
list: string;
|
|
107
87
|
}, import("tailwind-variants").TVReturnType<{
|
|
108
|
-
disabled: {
|
|
109
|
-
true: {
|
|
110
|
-
button: string;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
88
|
intent: {
|
|
114
89
|
error: {
|
|
115
90
|
button: string;
|
|
@@ -121,11 +96,6 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
|
121
96
|
groupedTitle: string;
|
|
122
97
|
list: string;
|
|
123
98
|
}, undefined, import("tailwind-variants/dist/config").TVConfig<{
|
|
124
|
-
disabled: {
|
|
125
|
-
true: {
|
|
126
|
-
button: string;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
99
|
intent: {
|
|
130
100
|
error: {
|
|
131
101
|
button: string;
|
|
@@ -133,11 +103,6 @@ export declare const selectVariants: import("tailwind-variants").TVReturnType<{
|
|
|
133
103
|
default: string;
|
|
134
104
|
};
|
|
135
105
|
}, {
|
|
136
|
-
disabled: {
|
|
137
|
-
true: {
|
|
138
|
-
button: string;
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
106
|
intent: {
|
|
142
107
|
error: {
|
|
143
108
|
button: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-core",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3-beta.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Core library for tailwindcss based design",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"tailwindcss": ">=3.3.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "4c158be7dcd2d5609a2a84b59189c1d74ca5f04c"
|
|
36
36
|
}
|