@tecsinapse/cortex-core 0.0.11 → 0.1.1
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/snackbar/snackbar.js +1 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/preset/index.js +7 -5
- package/dist/esm/components/snackbar/snackbar.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/preset/index.js +7 -5
- package/dist/types/components/badge/badge.d.ts +69 -0
- package/dist/types/components/button/button.d.ts +137 -0
- package/dist/types/components/card/card.d.ts +1 -0
- package/dist/types/components/checkbox/checkbox.d.ts +1 -0
- package/dist/types/components/drawer/drawer.d.ts +41 -0
- package/dist/types/components/hint/hint.d.ts +54 -0
- package/dist/types/components/index.d.ts +15 -0
- package/dist/types/components/input/input.d.ts +114 -0
- package/dist/types/components/modal/modal.d.ts +1 -0
- package/dist/types/components/radio-button/radio-button.d.ts +2 -0
- package/dist/types/components/select/select.d.ts +137 -0
- package/dist/types/components/snackbar/snackbar.d.ts +68 -0
- package/dist/types/components/table/table.d.ts +7 -0
- package/dist/types/components/tag/tag.d.ts +61 -0
- package/dist/types/components/toggle/toggle.d.ts +70 -0
- package/dist/types/components/tooltip/tooltip.d.ts +41 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/preset/index.d.ts +124 -0
- package/dist/types/tokens/definitions.d.ts +105 -0
- package/package.json +4 -5
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tailwindVariants = require('tailwind-variants');
|
|
4
4
|
|
|
5
5
|
const snackbarStyles = tailwindVariants.tv({
|
|
6
|
-
base: "animate-
|
|
6
|
+
base: "animate-opacity fixed left-1/2 translate-x-[-50%] translate-y-[-50%] bottom-deca my-0 mx-auto max-w-[600px] shadow-default text-base font-bold p-mili rounded-mili",
|
|
7
7
|
variants: {
|
|
8
8
|
intent: {
|
|
9
9
|
primary: "bg-primary-xlight text-primary-medium",
|
package/dist/cjs/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var tooltip = require('./components/tooltip/tooltip.js');
|
|
|
16
16
|
var card = require('./components/card/card.js');
|
|
17
17
|
var modal = require('./components/modal/modal.js');
|
|
18
18
|
var snackbar = require('./components/snackbar/snackbar.js');
|
|
19
|
-
require('./preset/index.js');
|
|
19
|
+
var index = require('./preset/index.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
@@ -63,3 +63,4 @@ exports.tooltipContainer = tooltip.tooltipContainer;
|
|
|
63
63
|
exports.card = card.card;
|
|
64
64
|
exports.modal = modal.modal;
|
|
65
65
|
exports.snackbar = snackbar.snackbar;
|
|
66
|
+
exports.preset = index;
|
package/dist/cjs/preset/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var definitions = require('../tokens/definitions.js');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const preset = {
|
|
6
6
|
theme: {
|
|
7
7
|
fontFamily: definitions.fontFamily,
|
|
8
8
|
extend: {
|
|
@@ -15,14 +15,16 @@ module.exports = {
|
|
|
15
15
|
boxShadow: definitions.boxShadow,
|
|
16
16
|
borderColor: definitions.borderColor,
|
|
17
17
|
keyframes: {
|
|
18
|
-
|
|
19
|
-
"0%": { opacity: 0
|
|
20
|
-
"100%": { opacity: 1
|
|
18
|
+
opacity: {
|
|
19
|
+
"0%": { opacity: 0 },
|
|
20
|
+
"100%": { opacity: 1 }
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
animation: {
|
|
24
|
-
|
|
24
|
+
opacity: "opacity 1s ease-in-out"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
+
|
|
30
|
+
module.exports = preset;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { tv } from 'tailwind-variants';
|
|
2
2
|
|
|
3
3
|
const snackbarStyles = tv({
|
|
4
|
-
base: "animate-
|
|
4
|
+
base: "animate-opacity fixed left-1/2 translate-x-[-50%] translate-y-[-50%] bottom-deca my-0 mx-auto max-w-[600px] shadow-default text-base font-bold p-mili rounded-mili",
|
|
5
5
|
variants: {
|
|
6
6
|
intent: {
|
|
7
7
|
primary: "bg-primary-xlight text-primary-medium",
|
package/dist/esm/index.js
CHANGED
|
@@ -14,4 +14,4 @@ export { tooltip, tooltipContainer } from './components/tooltip/tooltip.js';
|
|
|
14
14
|
export { card } from './components/card/card.js';
|
|
15
15
|
export { modal } from './components/modal/modal.js';
|
|
16
16
|
export { snackbar } from './components/snackbar/snackbar.js';
|
|
17
|
-
|
|
17
|
+
export { default as preset } from './preset/index.js';
|
package/dist/esm/preset/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { fontFamily, colors, textColor, spacing, borderRadius, borderWidth, fontSize, boxShadow, borderColor } from '../tokens/definitions.js';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const preset = {
|
|
4
4
|
theme: {
|
|
5
5
|
fontFamily,
|
|
6
6
|
extend: {
|
|
@@ -13,14 +13,16 @@ module.exports = {
|
|
|
13
13
|
boxShadow,
|
|
14
14
|
borderColor,
|
|
15
15
|
keyframes: {
|
|
16
|
-
|
|
17
|
-
"0%": { opacity: 0
|
|
18
|
-
"100%": { opacity: 1
|
|
16
|
+
opacity: {
|
|
17
|
+
"0%": { opacity: 0 },
|
|
18
|
+
"100%": { opacity: 1 }
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
animation: {
|
|
22
|
-
|
|
22
|
+
opacity: "opacity 1s ease-in-out"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
+
|
|
28
|
+
export { preset as default };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { VariantProps } from 'tailwind-variants';
|
|
2
|
+
declare const badgeStyles: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
intent: {
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
error: string;
|
|
7
|
+
success: string;
|
|
8
|
+
warning: string;
|
|
9
|
+
info: string;
|
|
10
|
+
};
|
|
11
|
+
}, undefined, "text-sub text-white font-bold rounded-pill absolute items-center flex justify-center w-[1rem] h-[1rem] -top-1 -right-1 px-[5px] py-[2px]", import("tailwind-variants/dist/config").TVConfig<{
|
|
12
|
+
intent: {
|
|
13
|
+
primary: string;
|
|
14
|
+
secondary: string;
|
|
15
|
+
error: string;
|
|
16
|
+
success: string;
|
|
17
|
+
warning: string;
|
|
18
|
+
info: string;
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
intent: {
|
|
22
|
+
primary: string;
|
|
23
|
+
secondary: string;
|
|
24
|
+
error: string;
|
|
25
|
+
success: string;
|
|
26
|
+
warning: string;
|
|
27
|
+
info: string;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
intent: {
|
|
31
|
+
primary: string;
|
|
32
|
+
secondary: string;
|
|
33
|
+
error: string;
|
|
34
|
+
success: string;
|
|
35
|
+
warning: string;
|
|
36
|
+
info: string;
|
|
37
|
+
};
|
|
38
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
39
|
+
intent: {
|
|
40
|
+
primary: string;
|
|
41
|
+
secondary: string;
|
|
42
|
+
error: string;
|
|
43
|
+
success: string;
|
|
44
|
+
warning: string;
|
|
45
|
+
info: string;
|
|
46
|
+
};
|
|
47
|
+
}, undefined, "text-sub text-white font-bold rounded-pill absolute items-center flex justify-center w-[1rem] h-[1rem] -top-1 -right-1 px-[5px] py-[2px]", import("tailwind-variants/dist/config").TVConfig<{
|
|
48
|
+
intent: {
|
|
49
|
+
primary: string;
|
|
50
|
+
secondary: string;
|
|
51
|
+
error: string;
|
|
52
|
+
success: string;
|
|
53
|
+
warning: string;
|
|
54
|
+
info: string;
|
|
55
|
+
};
|
|
56
|
+
}, {
|
|
57
|
+
intent: {
|
|
58
|
+
primary: string;
|
|
59
|
+
secondary: string;
|
|
60
|
+
error: string;
|
|
61
|
+
success: string;
|
|
62
|
+
warning: string;
|
|
63
|
+
info: string;
|
|
64
|
+
};
|
|
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>;
|
|
68
|
+
export declare const badge: (props?: BadgeVariants) => string;
|
|
69
|
+
export {};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { VariantProps, ClassProp } from 'tailwind-variants';
|
|
2
|
+
export declare const buttonStyles: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
intent: {
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
success: string;
|
|
7
|
+
info: string;
|
|
8
|
+
warning: string;
|
|
9
|
+
error: string;
|
|
10
|
+
};
|
|
11
|
+
variant: {
|
|
12
|
+
outline: string;
|
|
13
|
+
text: string;
|
|
14
|
+
};
|
|
15
|
+
size: {
|
|
16
|
+
default: string;
|
|
17
|
+
small: string;
|
|
18
|
+
square: string;
|
|
19
|
+
circle: string;
|
|
20
|
+
};
|
|
21
|
+
}, undefined, "p-deca rounded-mili 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", import("tailwind-variants/dist/config").TVConfig<{
|
|
22
|
+
intent: {
|
|
23
|
+
primary: string;
|
|
24
|
+
secondary: string;
|
|
25
|
+
success: string;
|
|
26
|
+
info: string;
|
|
27
|
+
warning: string;
|
|
28
|
+
error: string;
|
|
29
|
+
};
|
|
30
|
+
variant: {
|
|
31
|
+
outline: string;
|
|
32
|
+
text: string;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
default: string;
|
|
36
|
+
small: string;
|
|
37
|
+
square: string;
|
|
38
|
+
circle: string;
|
|
39
|
+
};
|
|
40
|
+
}, {
|
|
41
|
+
intent: {
|
|
42
|
+
primary: string;
|
|
43
|
+
secondary: string;
|
|
44
|
+
success: string;
|
|
45
|
+
info: string;
|
|
46
|
+
warning: string;
|
|
47
|
+
error: string;
|
|
48
|
+
};
|
|
49
|
+
variant: {
|
|
50
|
+
outline: string;
|
|
51
|
+
text: string;
|
|
52
|
+
};
|
|
53
|
+
size: {
|
|
54
|
+
default: string;
|
|
55
|
+
small: string;
|
|
56
|
+
square: string;
|
|
57
|
+
circle: string;
|
|
58
|
+
};
|
|
59
|
+
}>, {
|
|
60
|
+
intent: {
|
|
61
|
+
primary: string;
|
|
62
|
+
secondary: string;
|
|
63
|
+
success: string;
|
|
64
|
+
info: string;
|
|
65
|
+
warning: string;
|
|
66
|
+
error: string;
|
|
67
|
+
};
|
|
68
|
+
variant: {
|
|
69
|
+
outline: string;
|
|
70
|
+
text: string;
|
|
71
|
+
};
|
|
72
|
+
size: {
|
|
73
|
+
default: string;
|
|
74
|
+
small: string;
|
|
75
|
+
square: string;
|
|
76
|
+
circle: string;
|
|
77
|
+
};
|
|
78
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
79
|
+
intent: {
|
|
80
|
+
primary: string;
|
|
81
|
+
secondary: string;
|
|
82
|
+
success: string;
|
|
83
|
+
info: string;
|
|
84
|
+
warning: string;
|
|
85
|
+
error: string;
|
|
86
|
+
};
|
|
87
|
+
variant: {
|
|
88
|
+
outline: string;
|
|
89
|
+
text: string;
|
|
90
|
+
};
|
|
91
|
+
size: {
|
|
92
|
+
default: string;
|
|
93
|
+
small: string;
|
|
94
|
+
square: string;
|
|
95
|
+
circle: string;
|
|
96
|
+
};
|
|
97
|
+
}, undefined, "p-deca rounded-mili 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", import("tailwind-variants/dist/config").TVConfig<{
|
|
98
|
+
intent: {
|
|
99
|
+
primary: string;
|
|
100
|
+
secondary: string;
|
|
101
|
+
success: string;
|
|
102
|
+
info: string;
|
|
103
|
+
warning: string;
|
|
104
|
+
error: string;
|
|
105
|
+
};
|
|
106
|
+
variant: {
|
|
107
|
+
outline: string;
|
|
108
|
+
text: string;
|
|
109
|
+
};
|
|
110
|
+
size: {
|
|
111
|
+
default: string;
|
|
112
|
+
small: string;
|
|
113
|
+
square: string;
|
|
114
|
+
circle: string;
|
|
115
|
+
};
|
|
116
|
+
}, {
|
|
117
|
+
intent: {
|
|
118
|
+
primary: string;
|
|
119
|
+
secondary: string;
|
|
120
|
+
success: string;
|
|
121
|
+
info: string;
|
|
122
|
+
warning: string;
|
|
123
|
+
error: string;
|
|
124
|
+
};
|
|
125
|
+
variant: {
|
|
126
|
+
outline: string;
|
|
127
|
+
text: string;
|
|
128
|
+
};
|
|
129
|
+
size: {
|
|
130
|
+
default: string;
|
|
131
|
+
small: string;
|
|
132
|
+
square: string;
|
|
133
|
+
circle: string;
|
|
134
|
+
};
|
|
135
|
+
}>, unknown, unknown, undefined>>;
|
|
136
|
+
export type ButtonVariants = VariantProps<typeof buttonStyles> & ClassProp;
|
|
137
|
+
export declare const button: (props?: ButtonVariants) => string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const card: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "rounded-mili shadow-default bg-white p-deca", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "rounded-mili shadow-default bg-white p-deca", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const checkbox: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "accent-primary-medium h-5 w-5 cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "accent-primary-medium h-5 w-5 cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ClassProp, VariantProps } from 'tailwind-variants';
|
|
2
|
+
declare const drawerStyles: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
position: {
|
|
4
|
+
left: string;
|
|
5
|
+
right: string;
|
|
6
|
+
};
|
|
7
|
+
}, undefined, "bg-white fixed top-0 h-full p-deca shadow-lg transition-all duration-500 transform peer-checked:translate-x-0", import("tailwind-variants/dist/config").TVConfig<{
|
|
8
|
+
position: {
|
|
9
|
+
left: string;
|
|
10
|
+
right: string;
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
position: {
|
|
14
|
+
left: string;
|
|
15
|
+
right: string;
|
|
16
|
+
};
|
|
17
|
+
}>, {
|
|
18
|
+
position: {
|
|
19
|
+
left: string;
|
|
20
|
+
right: string;
|
|
21
|
+
};
|
|
22
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
23
|
+
position: {
|
|
24
|
+
left: string;
|
|
25
|
+
right: string;
|
|
26
|
+
};
|
|
27
|
+
}, undefined, "bg-white fixed top-0 h-full p-deca shadow-lg transition-all duration-500 transform peer-checked:translate-x-0", import("tailwind-variants/dist/config").TVConfig<{
|
|
28
|
+
position: {
|
|
29
|
+
left: string;
|
|
30
|
+
right: string;
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
position: {
|
|
34
|
+
left: string;
|
|
35
|
+
right: string;
|
|
36
|
+
};
|
|
37
|
+
}>, unknown, unknown, undefined>>;
|
|
38
|
+
export declare const overlay: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "fixed h-full w-full left-0 top-0 transition peer-checked:bg-black peer-checked:bg-opacity-50 z-[-1] peer-checked:z-[0] peer-checked:cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "fixed h-full w-full left-0 top-0 transition peer-checked:bg-black peer-checked:bg-opacity-50 z-[-1] peer-checked:z-[0] peer-checked:cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
39
|
+
export type DrawerVariants = VariantProps<typeof drawerStyles> & ClassProp;
|
|
40
|
+
export declare const drawer: (props: DrawerVariants) => string;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ClassProp, VariantProps } from 'tailwind-variants';
|
|
2
|
+
declare const hintStyles: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
intent: {
|
|
4
|
+
default: string;
|
|
5
|
+
success: string;
|
|
6
|
+
warning: string;
|
|
7
|
+
error: string;
|
|
8
|
+
};
|
|
9
|
+
}, undefined, "text-label font-bold flex items-center", import("tailwind-variants/dist/config").TVConfig<{
|
|
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
|
+
}>, {
|
|
24
|
+
intent: {
|
|
25
|
+
default: string;
|
|
26
|
+
success: string;
|
|
27
|
+
warning: string;
|
|
28
|
+
error: string;
|
|
29
|
+
};
|
|
30
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
31
|
+
intent: {
|
|
32
|
+
default: string;
|
|
33
|
+
success: string;
|
|
34
|
+
warning: string;
|
|
35
|
+
error: string;
|
|
36
|
+
};
|
|
37
|
+
}, undefined, "text-label font-bold flex items-center", import("tailwind-variants/dist/config").TVConfig<{
|
|
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>>;
|
|
52
|
+
export type HintVariants = VariantProps<typeof hintStyles> & ClassProp;
|
|
53
|
+
export declare const hint: (props?: HintVariants) => string;
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './button/button';
|
|
2
|
+
export * from './tag/tag';
|
|
3
|
+
export * from './input/input';
|
|
4
|
+
export * from './hint/hint';
|
|
5
|
+
export * from './toggle/toggle';
|
|
6
|
+
export * from './drawer/drawer';
|
|
7
|
+
export * from './select/select';
|
|
8
|
+
export * from './checkbox/checkbox';
|
|
9
|
+
export * from './badge/badge';
|
|
10
|
+
export * from './radio-button/radio-button';
|
|
11
|
+
export * from './table/table';
|
|
12
|
+
export * from './tooltip/tooltip';
|
|
13
|
+
export * from './card/card';
|
|
14
|
+
export * from './modal/modal';
|
|
15
|
+
export * from './snackbar/snackbar';
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { ClassProp, VariantProps } from 'tailwind-variants';
|
|
2
|
+
export declare const inputBaseStyles: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
intent: {
|
|
4
|
+
default: string[];
|
|
5
|
+
success: string[];
|
|
6
|
+
warning: string[];
|
|
7
|
+
error: string[];
|
|
8
|
+
};
|
|
9
|
+
}, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 focus-within:outline focus-within:outline-1 text-base font-bold items-center bg-transparent border rounded-mili", import("tailwind-variants/dist/config").TVConfig<{
|
|
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
|
+
}>, {
|
|
24
|
+
intent: {
|
|
25
|
+
default: string[];
|
|
26
|
+
success: string[];
|
|
27
|
+
warning: string[];
|
|
28
|
+
error: string[];
|
|
29
|
+
};
|
|
30
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
31
|
+
intent: {
|
|
32
|
+
default: string[];
|
|
33
|
+
success: string[];
|
|
34
|
+
warning: string[];
|
|
35
|
+
error: string[];
|
|
36
|
+
};
|
|
37
|
+
}, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 focus-within:outline focus-within:outline-1 text-base font-bold items-center bg-transparent border rounded-mili", import("tailwind-variants/dist/config").TVConfig<{
|
|
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>>;
|
|
52
|
+
declare const labelBaseStyles: import("tailwind-variants").TVReturnType<{
|
|
53
|
+
intent: {
|
|
54
|
+
default: string[];
|
|
55
|
+
success: string[];
|
|
56
|
+
warning: string[];
|
|
57
|
+
error: string[];
|
|
58
|
+
};
|
|
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", import("tailwind-variants/dist/config").TVConfig<{
|
|
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
|
+
}>, {
|
|
74
|
+
intent: {
|
|
75
|
+
default: string[];
|
|
76
|
+
success: string[];
|
|
77
|
+
warning: string[];
|
|
78
|
+
error: string[];
|
|
79
|
+
};
|
|
80
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
81
|
+
intent: {
|
|
82
|
+
default: string[];
|
|
83
|
+
success: string[];
|
|
84
|
+
warning: string[];
|
|
85
|
+
error: string[];
|
|
86
|
+
};
|
|
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", import("tailwind-variants/dist/config").TVConfig<{
|
|
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>>;
|
|
102
|
+
export interface LabelVariants extends VariantProps<typeof labelBaseStyles> {
|
|
103
|
+
className?: string;
|
|
104
|
+
placeholder?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare const labelStyle: ({ intent, placeholder, className }: LabelVariants) => string;
|
|
107
|
+
export declare const inputBox: (placeholder?: string, label?: string, className?: string) => string;
|
|
108
|
+
export type InputBaseVariants = VariantProps<typeof inputBaseStyles> & ClassProp;
|
|
109
|
+
export declare const input: (props: InputBaseVariants) => string;
|
|
110
|
+
export type LabelBaseVariants = ClassProp & VariantProps<typeof labelBaseStyles> & {
|
|
111
|
+
placeholder?: string;
|
|
112
|
+
};
|
|
113
|
+
export declare const label: (props: LabelBaseVariants) => string;
|
|
114
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const modal: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "inset-x-0 fixed mx-auto rounded-micro p-kilo bg-white shadow-default flex transition fixed invisible peer-checked:visible scale-0 peer-checked:scale-100", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "inset-x-0 fixed mx-auto rounded-micro p-kilo bg-white shadow-default flex transition fixed invisible peer-checked:visible scale-0 peer-checked:scale-100", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const radioButton: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "accent-primary-medium h-5 w-5 cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "accent-primary-medium h-5 w-5 cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
2
|
+
export declare const labelRadioButton: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { ClassProp, type VariantProps } from 'tailwind-variants';
|
|
2
|
+
export declare const buttonSelect: import("tailwind-variants").TVReturnType<{} | {
|
|
3
|
+
intent: {
|
|
4
|
+
default: import("tailwind-variants").ClassValue | {
|
|
5
|
+
base?: import("tailwind-variants").ClassValue;
|
|
6
|
+
};
|
|
7
|
+
success: import("tailwind-variants").ClassValue | {
|
|
8
|
+
base?: import("tailwind-variants").ClassValue;
|
|
9
|
+
};
|
|
10
|
+
warning: import("tailwind-variants").ClassValue | {
|
|
11
|
+
base?: import("tailwind-variants").ClassValue;
|
|
12
|
+
};
|
|
13
|
+
error: import("tailwind-variants").ClassValue | {
|
|
14
|
+
base?: import("tailwind-variants").ClassValue;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
}, undefined, "w-full justify-between bg-white gap-[200px]", import("tailwind-variants/dist/config").TVConfig<{} | {
|
|
18
|
+
intent: {
|
|
19
|
+
default: import("tailwind-variants").ClassValue | {
|
|
20
|
+
base?: import("tailwind-variants").ClassValue;
|
|
21
|
+
};
|
|
22
|
+
success: import("tailwind-variants").ClassValue | {
|
|
23
|
+
base?: import("tailwind-variants").ClassValue;
|
|
24
|
+
};
|
|
25
|
+
warning: import("tailwind-variants").ClassValue | {
|
|
26
|
+
base?: import("tailwind-variants").ClassValue;
|
|
27
|
+
};
|
|
28
|
+
error: import("tailwind-variants").ClassValue | {
|
|
29
|
+
base?: import("tailwind-variants").ClassValue;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
}, {
|
|
33
|
+
intent: {
|
|
34
|
+
default: string[];
|
|
35
|
+
success: string[];
|
|
36
|
+
warning: string[];
|
|
37
|
+
error: string[];
|
|
38
|
+
};
|
|
39
|
+
}>, {
|
|
40
|
+
intent: {
|
|
41
|
+
default: string[];
|
|
42
|
+
success: string[];
|
|
43
|
+
warning: string[];
|
|
44
|
+
error: string[];
|
|
45
|
+
};
|
|
46
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
47
|
+
intent: {
|
|
48
|
+
default: string[];
|
|
49
|
+
success: string[];
|
|
50
|
+
warning: string[];
|
|
51
|
+
error: string[];
|
|
52
|
+
};
|
|
53
|
+
}, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 focus-within:outline focus-within:outline-1 text-base font-bold items-center bg-transparent border rounded-mili", import("tailwind-variants/dist/config").TVConfig<{
|
|
54
|
+
intent: {
|
|
55
|
+
default: string[];
|
|
56
|
+
success: string[];
|
|
57
|
+
warning: string[];
|
|
58
|
+
error: string[];
|
|
59
|
+
};
|
|
60
|
+
}, {
|
|
61
|
+
intent: {
|
|
62
|
+
default: string[];
|
|
63
|
+
success: string[];
|
|
64
|
+
warning: string[];
|
|
65
|
+
error: string[];
|
|
66
|
+
};
|
|
67
|
+
}>, {
|
|
68
|
+
intent: {
|
|
69
|
+
default: string[];
|
|
70
|
+
success: string[];
|
|
71
|
+
warning: string[];
|
|
72
|
+
error: string[];
|
|
73
|
+
};
|
|
74
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
75
|
+
intent: {
|
|
76
|
+
default: string[];
|
|
77
|
+
success: string[];
|
|
78
|
+
warning: string[];
|
|
79
|
+
error: string[];
|
|
80
|
+
};
|
|
81
|
+
}, undefined, "relative min-h-[44px] h-auto flex px-centi py-1.5 focus-within:outline focus-within:outline-1 text-base font-bold items-center bg-transparent border rounded-mili", import("tailwind-variants/dist/config").TVConfig<{
|
|
82
|
+
intent: {
|
|
83
|
+
default: string[];
|
|
84
|
+
success: string[];
|
|
85
|
+
warning: string[];
|
|
86
|
+
error: string[];
|
|
87
|
+
};
|
|
88
|
+
}, {
|
|
89
|
+
intent: {
|
|
90
|
+
default: string[];
|
|
91
|
+
success: string[];
|
|
92
|
+
warning: string[];
|
|
93
|
+
error: string[];
|
|
94
|
+
};
|
|
95
|
+
}>, unknown, unknown, undefined>>>;
|
|
96
|
+
export declare const option: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "text-base py-mili px-deca font-bold hover:bg-primary-xlight hover:text-primary-medium cursor-pointer active:text-primary-medium", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
97
|
+
declare const dropDownStyles: import("tailwind-variants").TVReturnType<{
|
|
98
|
+
open: {
|
|
99
|
+
true: string;
|
|
100
|
+
false: string;
|
|
101
|
+
};
|
|
102
|
+
}, undefined, "text-base max-h-[200px] w-full bg-white mt-mili rounded-mili overflow-y-scroll py-mili transition-all duration-300 origin-top-left", import("tailwind-variants/dist/config").TVConfig<{
|
|
103
|
+
open: {
|
|
104
|
+
true: string;
|
|
105
|
+
false: string;
|
|
106
|
+
};
|
|
107
|
+
}, {
|
|
108
|
+
open: {
|
|
109
|
+
true: string;
|
|
110
|
+
false: string;
|
|
111
|
+
};
|
|
112
|
+
}>, {
|
|
113
|
+
open: {
|
|
114
|
+
true: string;
|
|
115
|
+
false: string;
|
|
116
|
+
};
|
|
117
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
118
|
+
open: {
|
|
119
|
+
true: string;
|
|
120
|
+
false: string;
|
|
121
|
+
};
|
|
122
|
+
}, undefined, "text-base max-h-[200px] w-full bg-white mt-mili rounded-mili overflow-y-scroll py-mili transition-all duration-300 origin-top-left", import("tailwind-variants/dist/config").TVConfig<{
|
|
123
|
+
open: {
|
|
124
|
+
true: string;
|
|
125
|
+
false: string;
|
|
126
|
+
};
|
|
127
|
+
}, {
|
|
128
|
+
open: {
|
|
129
|
+
true: string;
|
|
130
|
+
false: string;
|
|
131
|
+
};
|
|
132
|
+
}>, unknown, unknown, undefined>>;
|
|
133
|
+
type DropDownVariants = VariantProps<typeof dropDownStyles> & ClassProp;
|
|
134
|
+
export interface DropDownProps extends Omit<DropDownVariants, 'open'>, Required<Pick<DropDownVariants, 'open'>> {
|
|
135
|
+
}
|
|
136
|
+
export declare const dropdown: (props: DropDownVariants) => string;
|
|
137
|
+
export {};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { ClassProp, VariantProps } from 'tailwind-variants';
|
|
2
|
+
declare const snackbarStyles: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
intent: {
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
success: string;
|
|
7
|
+
error: string;
|
|
8
|
+
info: string;
|
|
9
|
+
warning: string;
|
|
10
|
+
};
|
|
11
|
+
}, undefined, "animate-opacity fixed left-1/2 translate-x-[-50%] translate-y-[-50%] bottom-deca my-0 mx-auto max-w-[600px] shadow-default text-base font-bold p-mili rounded-mili", import("tailwind-variants/dist/config").TVConfig<{
|
|
12
|
+
intent: {
|
|
13
|
+
primary: string;
|
|
14
|
+
secondary: string;
|
|
15
|
+
success: string;
|
|
16
|
+
error: string;
|
|
17
|
+
info: string;
|
|
18
|
+
warning: string;
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
intent: {
|
|
22
|
+
primary: string;
|
|
23
|
+
secondary: string;
|
|
24
|
+
success: string;
|
|
25
|
+
error: string;
|
|
26
|
+
info: string;
|
|
27
|
+
warning: string;
|
|
28
|
+
};
|
|
29
|
+
}>, {
|
|
30
|
+
intent: {
|
|
31
|
+
primary: string;
|
|
32
|
+
secondary: string;
|
|
33
|
+
success: string;
|
|
34
|
+
error: string;
|
|
35
|
+
info: string;
|
|
36
|
+
warning: string;
|
|
37
|
+
};
|
|
38
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
39
|
+
intent: {
|
|
40
|
+
primary: string;
|
|
41
|
+
secondary: string;
|
|
42
|
+
success: string;
|
|
43
|
+
error: string;
|
|
44
|
+
info: string;
|
|
45
|
+
warning: string;
|
|
46
|
+
};
|
|
47
|
+
}, undefined, "animate-opacity fixed left-1/2 translate-x-[-50%] translate-y-[-50%] bottom-deca my-0 mx-auto max-w-[600px] shadow-default text-base font-bold p-mili rounded-mili", import("tailwind-variants/dist/config").TVConfig<{
|
|
48
|
+
intent: {
|
|
49
|
+
primary: string;
|
|
50
|
+
secondary: string;
|
|
51
|
+
success: string;
|
|
52
|
+
error: string;
|
|
53
|
+
info: string;
|
|
54
|
+
warning: string;
|
|
55
|
+
};
|
|
56
|
+
}, {
|
|
57
|
+
intent: {
|
|
58
|
+
primary: string;
|
|
59
|
+
secondary: string;
|
|
60
|
+
success: string;
|
|
61
|
+
error: string;
|
|
62
|
+
info: string;
|
|
63
|
+
warning: string;
|
|
64
|
+
};
|
|
65
|
+
}>, unknown, unknown, undefined>>;
|
|
66
|
+
type SnackbarVariants = VariantProps<typeof snackbarStyles> & ClassProp;
|
|
67
|
+
export declare const snackbar: (props?: SnackbarVariants) => string;
|
|
68
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const tHead: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "[&>tr]:rounded-none [&>tr]:shadow-none", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "[&>tr]:rounded-none [&>tr]:shadow-none", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
2
|
+
export declare const tRow: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "rounded-mili shadow-default", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "rounded-mili shadow-default", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, 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", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "truncate px-deca py-centi text-start text-sub font-bold text-medium", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
4
|
+
export declare const tCell: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "p-deca text-base font-bold text-dark", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "p-deca text-base font-bold text-dark", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
5
|
+
export declare const tFoot: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "[&>tr]:rounded-none [&>tr]:shadow-none", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "[&>tr]:rounded-none [&>tr]:shadow-none", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
6
|
+
export declare const tRoot: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white shadow-default", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "border-separate border-spacing-x-[22px] border-spacing-y-mili rounded-mili bg-white shadow-default", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, 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", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "-mx-[24px] -mb-[4px] -mt-[50px] h-[42px] border-0 bg-secondary-xlight", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ClassProp, VariantProps } from 'tailwind-variants';
|
|
2
|
+
declare const tagStyles: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
intent: {
|
|
4
|
+
success: string;
|
|
5
|
+
primary: string;
|
|
6
|
+
secondary: string;
|
|
7
|
+
info: string;
|
|
8
|
+
white: string;
|
|
9
|
+
};
|
|
10
|
+
}, undefined, "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex", import("tailwind-variants/dist/config").TVConfig<{
|
|
11
|
+
intent: {
|
|
12
|
+
success: string;
|
|
13
|
+
primary: string;
|
|
14
|
+
secondary: string;
|
|
15
|
+
info: string;
|
|
16
|
+
white: string;
|
|
17
|
+
};
|
|
18
|
+
}, {
|
|
19
|
+
intent: {
|
|
20
|
+
success: string;
|
|
21
|
+
primary: string;
|
|
22
|
+
secondary: string;
|
|
23
|
+
info: string;
|
|
24
|
+
white: string;
|
|
25
|
+
};
|
|
26
|
+
}>, {
|
|
27
|
+
intent: {
|
|
28
|
+
success: string;
|
|
29
|
+
primary: string;
|
|
30
|
+
secondary: string;
|
|
31
|
+
info: string;
|
|
32
|
+
white: string;
|
|
33
|
+
};
|
|
34
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
35
|
+
intent: {
|
|
36
|
+
success: string;
|
|
37
|
+
primary: string;
|
|
38
|
+
secondary: string;
|
|
39
|
+
info: string;
|
|
40
|
+
white: string;
|
|
41
|
+
};
|
|
42
|
+
}, undefined, "rounded-micro px-micro py-nano w-fit font-bold text-label items-center flex", import("tailwind-variants/dist/config").TVConfig<{
|
|
43
|
+
intent: {
|
|
44
|
+
success: string;
|
|
45
|
+
primary: string;
|
|
46
|
+
secondary: string;
|
|
47
|
+
info: string;
|
|
48
|
+
white: string;
|
|
49
|
+
};
|
|
50
|
+
}, {
|
|
51
|
+
intent: {
|
|
52
|
+
success: string;
|
|
53
|
+
primary: string;
|
|
54
|
+
secondary: string;
|
|
55
|
+
info: string;
|
|
56
|
+
white: string;
|
|
57
|
+
};
|
|
58
|
+
}>, unknown, unknown, undefined>>;
|
|
59
|
+
export type TagVariants = VariantProps<typeof tagStyles> & ClassProp;
|
|
60
|
+
export declare const tag: (props: TagVariants) => string;
|
|
61
|
+
export {};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ClassProp, VariantProps } from 'tailwind-variants';
|
|
2
|
+
declare const toggleStyles: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
intent: {
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
info: string;
|
|
7
|
+
success: string;
|
|
8
|
+
warning: string;
|
|
9
|
+
error: string;
|
|
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", import("tailwind-variants/dist/config").TVConfig<{
|
|
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
|
+
}>, {
|
|
30
|
+
intent: {
|
|
31
|
+
primary: string;
|
|
32
|
+
secondary: string;
|
|
33
|
+
info: string;
|
|
34
|
+
success: string;
|
|
35
|
+
warning: string;
|
|
36
|
+
error: string;
|
|
37
|
+
};
|
|
38
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
39
|
+
intent: {
|
|
40
|
+
primary: string;
|
|
41
|
+
secondary: string;
|
|
42
|
+
info: string;
|
|
43
|
+
success: string;
|
|
44
|
+
warning: string;
|
|
45
|
+
error: string;
|
|
46
|
+
};
|
|
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", import("tailwind-variants/dist/config").TVConfig<{
|
|
48
|
+
intent: {
|
|
49
|
+
primary: string;
|
|
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>>;
|
|
68
|
+
type ToggleVariants = VariantProps<typeof toggleStyles> & ClassProp;
|
|
69
|
+
export declare const toggle: (props?: ToggleVariants) => string;
|
|
70
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ClassProp, VariantProps } from 'tailwind-variants';
|
|
2
|
+
export declare const tooltipContainer: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "group relative inline-block", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "group relative inline-block", import("tailwind-variants/dist/config").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
|
|
3
|
+
declare const tooltipStyles: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
position: {
|
|
5
|
+
bottom: string[];
|
|
6
|
+
top: string[];
|
|
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", import("tailwind-variants/dist/config").TVConfig<{
|
|
9
|
+
position: {
|
|
10
|
+
bottom: string[];
|
|
11
|
+
top: string[];
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
position: {
|
|
15
|
+
bottom: string[];
|
|
16
|
+
top: string[];
|
|
17
|
+
};
|
|
18
|
+
}>, {
|
|
19
|
+
position: {
|
|
20
|
+
bottom: string[];
|
|
21
|
+
top: string[];
|
|
22
|
+
};
|
|
23
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
24
|
+
position: {
|
|
25
|
+
bottom: string[];
|
|
26
|
+
top: string[];
|
|
27
|
+
};
|
|
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", import("tailwind-variants/dist/config").TVConfig<{
|
|
29
|
+
position: {
|
|
30
|
+
bottom: string[];
|
|
31
|
+
top: string[];
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
position: {
|
|
35
|
+
bottom: string[];
|
|
36
|
+
top: string[];
|
|
37
|
+
};
|
|
38
|
+
}>, unknown, unknown, undefined>>;
|
|
39
|
+
type TooltipVariants = VariantProps<typeof tooltipStyles> & ClassProp;
|
|
40
|
+
export declare const tooltip: (props: TooltipVariants) => string;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
declare const preset: {
|
|
2
|
+
theme: {
|
|
3
|
+
fontFamily: {
|
|
4
|
+
sans: string[];
|
|
5
|
+
mono: string;
|
|
6
|
+
};
|
|
7
|
+
extend: {
|
|
8
|
+
colors: {
|
|
9
|
+
primary: {
|
|
10
|
+
xlight: string;
|
|
11
|
+
light: string;
|
|
12
|
+
medium: string;
|
|
13
|
+
dark: string;
|
|
14
|
+
xdark: string;
|
|
15
|
+
};
|
|
16
|
+
secondary: {
|
|
17
|
+
xlight: string;
|
|
18
|
+
light: string;
|
|
19
|
+
medium: string;
|
|
20
|
+
dark: string;
|
|
21
|
+
xdark: string;
|
|
22
|
+
};
|
|
23
|
+
info: {
|
|
24
|
+
xlight: string;
|
|
25
|
+
light: string;
|
|
26
|
+
medium: string;
|
|
27
|
+
dark: string;
|
|
28
|
+
xdark: string;
|
|
29
|
+
};
|
|
30
|
+
success: {
|
|
31
|
+
xlight: string;
|
|
32
|
+
light: string;
|
|
33
|
+
medium: string;
|
|
34
|
+
dark: string;
|
|
35
|
+
xdark: string;
|
|
36
|
+
};
|
|
37
|
+
warning: {
|
|
38
|
+
xlight: string;
|
|
39
|
+
light: string;
|
|
40
|
+
medium: string;
|
|
41
|
+
dark: string;
|
|
42
|
+
xdark: string;
|
|
43
|
+
};
|
|
44
|
+
error: {
|
|
45
|
+
xlight: string;
|
|
46
|
+
light: string;
|
|
47
|
+
medium: string;
|
|
48
|
+
dark: string;
|
|
49
|
+
xdark: string;
|
|
50
|
+
};
|
|
51
|
+
miscellaneous: {
|
|
52
|
+
body: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
textColor: {
|
|
56
|
+
light: string;
|
|
57
|
+
medium: string;
|
|
58
|
+
dark: string;
|
|
59
|
+
orange: string;
|
|
60
|
+
};
|
|
61
|
+
spacing: {
|
|
62
|
+
nano: string;
|
|
63
|
+
micro: string;
|
|
64
|
+
mili: string;
|
|
65
|
+
centi: string;
|
|
66
|
+
deca: string;
|
|
67
|
+
kilo: string;
|
|
68
|
+
mega: string;
|
|
69
|
+
giga: string;
|
|
70
|
+
tera: string;
|
|
71
|
+
peta: string;
|
|
72
|
+
hexa: string;
|
|
73
|
+
};
|
|
74
|
+
borderRadius: {
|
|
75
|
+
nano: string;
|
|
76
|
+
micro: string;
|
|
77
|
+
mili: string;
|
|
78
|
+
centi: string;
|
|
79
|
+
deca: string;
|
|
80
|
+
pill: string;
|
|
81
|
+
};
|
|
82
|
+
borderWidth: {
|
|
83
|
+
pico: string;
|
|
84
|
+
nano: string;
|
|
85
|
+
};
|
|
86
|
+
fontSize: {
|
|
87
|
+
h5: string[];
|
|
88
|
+
h4: string[];
|
|
89
|
+
h3: string[];
|
|
90
|
+
h2: string[];
|
|
91
|
+
h1: string[];
|
|
92
|
+
base: string[];
|
|
93
|
+
sub: string[];
|
|
94
|
+
label: string[];
|
|
95
|
+
micro: string;
|
|
96
|
+
mili: string;
|
|
97
|
+
centi: string;
|
|
98
|
+
deca: string;
|
|
99
|
+
kilo: string;
|
|
100
|
+
mega: string;
|
|
101
|
+
};
|
|
102
|
+
boxShadow: {
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
borderColor: {
|
|
106
|
+
'success-light': string;
|
|
107
|
+
};
|
|
108
|
+
keyframes: {
|
|
109
|
+
opacity: {
|
|
110
|
+
'0%': {
|
|
111
|
+
opacity: number;
|
|
112
|
+
};
|
|
113
|
+
'100%': {
|
|
114
|
+
opacity: number;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
animation: {
|
|
119
|
+
opacity: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export default preset;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
declare const colors: {
|
|
2
|
+
primary: {
|
|
3
|
+
xlight: string;
|
|
4
|
+
light: string;
|
|
5
|
+
medium: string;
|
|
6
|
+
dark: string;
|
|
7
|
+
xdark: string;
|
|
8
|
+
};
|
|
9
|
+
secondary: {
|
|
10
|
+
xlight: string;
|
|
11
|
+
light: string;
|
|
12
|
+
medium: string;
|
|
13
|
+
dark: string;
|
|
14
|
+
xdark: string;
|
|
15
|
+
};
|
|
16
|
+
info: {
|
|
17
|
+
xlight: string;
|
|
18
|
+
light: string;
|
|
19
|
+
medium: string;
|
|
20
|
+
dark: string;
|
|
21
|
+
xdark: string;
|
|
22
|
+
};
|
|
23
|
+
success: {
|
|
24
|
+
xlight: string;
|
|
25
|
+
light: string;
|
|
26
|
+
medium: string;
|
|
27
|
+
dark: string;
|
|
28
|
+
xdark: string;
|
|
29
|
+
};
|
|
30
|
+
warning: {
|
|
31
|
+
xlight: string;
|
|
32
|
+
light: string;
|
|
33
|
+
medium: string;
|
|
34
|
+
dark: string;
|
|
35
|
+
xdark: string;
|
|
36
|
+
};
|
|
37
|
+
error: {
|
|
38
|
+
xlight: string;
|
|
39
|
+
light: string;
|
|
40
|
+
medium: string;
|
|
41
|
+
dark: string;
|
|
42
|
+
xdark: string;
|
|
43
|
+
};
|
|
44
|
+
miscellaneous: {
|
|
45
|
+
body: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
declare const spacing: {
|
|
49
|
+
nano: string;
|
|
50
|
+
micro: string;
|
|
51
|
+
mili: string;
|
|
52
|
+
centi: string;
|
|
53
|
+
deca: string;
|
|
54
|
+
kilo: string;
|
|
55
|
+
mega: string;
|
|
56
|
+
giga: string;
|
|
57
|
+
tera: string;
|
|
58
|
+
peta: string;
|
|
59
|
+
hexa: string;
|
|
60
|
+
};
|
|
61
|
+
declare const borderRadius: {
|
|
62
|
+
nano: string;
|
|
63
|
+
micro: string;
|
|
64
|
+
mili: string;
|
|
65
|
+
centi: string;
|
|
66
|
+
deca: string;
|
|
67
|
+
pill: string;
|
|
68
|
+
};
|
|
69
|
+
declare const borderWidth: {
|
|
70
|
+
pico: string;
|
|
71
|
+
nano: string;
|
|
72
|
+
};
|
|
73
|
+
declare const fontSize: {
|
|
74
|
+
h5: string[];
|
|
75
|
+
h4: string[];
|
|
76
|
+
h3: string[];
|
|
77
|
+
h2: string[];
|
|
78
|
+
h1: string[];
|
|
79
|
+
base: string[];
|
|
80
|
+
sub: string[];
|
|
81
|
+
label: string[];
|
|
82
|
+
micro: string;
|
|
83
|
+
mili: string;
|
|
84
|
+
centi: string;
|
|
85
|
+
deca: string;
|
|
86
|
+
kilo: string;
|
|
87
|
+
mega: string;
|
|
88
|
+
};
|
|
89
|
+
declare const boxShadow: {
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
declare const borderColor: {
|
|
93
|
+
'success-light': string;
|
|
94
|
+
};
|
|
95
|
+
declare const fontFamily: {
|
|
96
|
+
sans: string[];
|
|
97
|
+
mono: string;
|
|
98
|
+
};
|
|
99
|
+
declare const textColor: {
|
|
100
|
+
light: string;
|
|
101
|
+
medium: string;
|
|
102
|
+
dark: string;
|
|
103
|
+
orange: string;
|
|
104
|
+
};
|
|
105
|
+
export { colors, textColor, borderColor, borderWidth, boxShadow, borderRadius, spacing, fontSize, fontFamily, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
"dist"
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
|
-
"
|
|
13
|
-
"dev": "yarn build:es --watch",
|
|
12
|
+
"dev": "rollup --config --watch",
|
|
14
13
|
"build:es": "rollup --config",
|
|
15
|
-
"build:
|
|
14
|
+
"build:dts": "tsc --project tsconfig.build.json"
|
|
16
15
|
},
|
|
17
16
|
"author": "ryancarloscorrea",
|
|
18
17
|
"license": "ISC",
|
|
@@ -21,5 +20,5 @@
|
|
|
21
20
|
"tailwind-merge": "^2.0.0",
|
|
22
21
|
"tailwind-variants": "^0.1.18"
|
|
23
22
|
},
|
|
24
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "c990b8df085b943b02ce3d1aa7fb63c0b8aa6910"
|
|
25
24
|
}
|