@tecsinapse/cortex-core 0.1.1 → 0.1.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/cjs/components/badge/badge.js +1 -1
- package/dist/esm/components/badge/badge.js +1 -1
- package/dist/types/components/badge/badge.d.ts +3 -3
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/snackbar/snackbar.d.ts +1 -1
- package/dist/types/components/tag/tag.d.ts +1 -1
- package/package.json +2 -2
|
@@ -19,7 +19,7 @@ const badgeStyles = tailwindVariants.tv({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
const containerBadge = tailwindVariants.tv({
|
|
22
|
-
base: "relative items-center justify-center self-center"
|
|
22
|
+
base: "relative items-center justify-center self-center w-fit"
|
|
23
23
|
});
|
|
24
24
|
const badge = (props) => badgeStyles(props);
|
|
25
25
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VariantProps } from 'tailwind-variants';
|
|
1
|
+
import { VariantProps, ClassProp } from 'tailwind-variants';
|
|
2
2
|
declare const badgeStyles: import("tailwind-variants").TVReturnType<{
|
|
3
3
|
intent: {
|
|
4
4
|
primary: string;
|
|
@@ -63,7 +63,7 @@ declare const badgeStyles: import("tailwind-variants").TVReturnType<{
|
|
|
63
63
|
info: string;
|
|
64
64
|
};
|
|
65
65
|
}>, unknown, unknown, undefined>>;
|
|
66
|
-
export declare const containerBadge: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative items-center justify-center self-center", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "relative items-center justify-center self-center", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
67
|
-
export type BadgeVariants = VariantProps<typeof badgeStyles
|
|
66
|
+
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>>;
|
|
67
|
+
export type BadgeVariants = VariantProps<typeof badgeStyles> & ClassProp;
|
|
68
68
|
export declare const badge: (props?: BadgeVariants) => string;
|
|
69
69
|
export {};
|
|
@@ -106,7 +106,7 @@ export interface LabelVariants extends VariantProps<typeof labelBaseStyles> {
|
|
|
106
106
|
export declare const labelStyle: ({ intent, placeholder, className }: LabelVariants) => string;
|
|
107
107
|
export declare const inputBox: (placeholder?: string, label?: string, className?: string) => string;
|
|
108
108
|
export type InputBaseVariants = VariantProps<typeof inputBaseStyles> & ClassProp;
|
|
109
|
-
export declare const input: (props
|
|
109
|
+
export declare const input: (props?: InputBaseVariants) => string;
|
|
110
110
|
export type LabelBaseVariants = ClassProp & VariantProps<typeof labelBaseStyles> & {
|
|
111
111
|
placeholder?: string;
|
|
112
112
|
};
|
|
@@ -63,6 +63,6 @@ declare const snackbarStyles: import("tailwind-variants").TVReturnType<{
|
|
|
63
63
|
warning: string;
|
|
64
64
|
};
|
|
65
65
|
}>, unknown, unknown, undefined>>;
|
|
66
|
-
type SnackbarVariants = VariantProps<typeof snackbarStyles> & ClassProp;
|
|
66
|
+
export type SnackbarVariants = VariantProps<typeof snackbarStyles> & ClassProp;
|
|
67
67
|
export declare const snackbar: (props?: SnackbarVariants) => string;
|
|
68
68
|
export {};
|
|
@@ -57,5 +57,5 @@ declare const tagStyles: import("tailwind-variants").TVReturnType<{
|
|
|
57
57
|
};
|
|
58
58
|
}>, unknown, unknown, undefined>>;
|
|
59
59
|
export type TagVariants = VariantProps<typeof tagStyles> & ClassProp;
|
|
60
|
-
export declare const tag: (props
|
|
60
|
+
export declare const tag: (props?: TagVariants) => string;
|
|
61
61
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"tailwind-merge": "^2.0.0",
|
|
21
21
|
"tailwind-variants": "^0.1.18"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "dfdf993b5ed292d922dd8f7c1e1bc7e7057e194a"
|
|
24
24
|
}
|