@tecsinapse/cortex-core 0.3.2-beta.0 → 0.3.2-beta.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.
|
@@ -12,7 +12,7 @@ const myTV = tailwindVariants.createTV({
|
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
const tagStyles = myTV({
|
|
15
|
-
base: "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex",
|
|
15
|
+
base: "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex gap-1",
|
|
16
16
|
variants: {
|
|
17
17
|
intent: {
|
|
18
18
|
success: "bg-success-medium text-white",
|
|
@@ -10,7 +10,7 @@ const myTV = createTV({
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
const tagStyles = myTV({
|
|
13
|
-
base: "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex",
|
|
13
|
+
base: "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex gap-1",
|
|
14
14
|
variants: {
|
|
15
15
|
intent: {
|
|
16
16
|
success: "bg-success-medium text-white",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { VariantProps } from 'tailwind-variants';
|
|
2
2
|
declare const tagStyles: import("tailwind-variants").TVReturnType<{
|
|
3
3
|
intent: {
|
|
4
4
|
success: string;
|
|
@@ -7,7 +7,7 @@ declare const tagStyles: import("tailwind-variants").TVReturnType<{
|
|
|
7
7
|
info: string;
|
|
8
8
|
white: string;
|
|
9
9
|
};
|
|
10
|
-
}, undefined, "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex", {
|
|
10
|
+
}, undefined, "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex gap-1", {
|
|
11
11
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
12
12
|
intent?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
13
13
|
} | undefined;
|
|
@@ -35,7 +35,7 @@ declare const tagStyles: import("tailwind-variants").TVReturnType<{
|
|
|
35
35
|
info: string;
|
|
36
36
|
white: string;
|
|
37
37
|
};
|
|
38
|
-
}, undefined, "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex", import("tailwind-variants/dist/config").TVConfig<{
|
|
38
|
+
}, undefined, "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex gap-1", import("tailwind-variants/dist/config").TVConfig<{
|
|
39
39
|
intent: {
|
|
40
40
|
success: string;
|
|
41
41
|
primary: string;
|
|
@@ -52,6 +52,8 @@ declare const tagStyles: import("tailwind-variants").TVReturnType<{
|
|
|
52
52
|
white: string;
|
|
53
53
|
};
|
|
54
54
|
}>, unknown, unknown, undefined>>;
|
|
55
|
-
export type TagVariants = VariantProps<typeof tagStyles> &
|
|
56
|
-
|
|
55
|
+
export type TagVariants = VariantProps<typeof tagStyles> & {
|
|
56
|
+
className?: string;
|
|
57
|
+
};
|
|
58
|
+
export declare const tag: (props: TagVariants) => string;
|
|
57
59
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-core",
|
|
3
|
-
"version": "0.3.2-beta.
|
|
3
|
+
"version": "0.3.2-beta.2",
|
|
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": "07dee8a955d9e1d264c118de21f025cd9b1e5c3f"
|
|
36
36
|
}
|