@tecsinapse/cortex-core 0.0.2 → 0.0.4
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/modal/modal.js +9 -0
- package/dist/cjs/index.js +2 -0
- package/dist/esm/components/modal/modal.js +7 -0
- package/dist/esm/index.js +1 -0
- package/dist/types/components/badge/badge.d.ts +95 -0
- package/dist/types/components/button/button.d.ts +134 -0
- package/dist/types/components/card/card.d.ts +31 -0
- package/dist/types/components/checkbox/checkbox.d.ts +31 -0
- package/dist/types/components/drawer/drawer.d.ts +67 -0
- package/dist/types/components/hint/hint.d.ts +54 -0
- package/dist/types/components/index.d.ts +14 -0
- package/dist/types/components/input/index.d.ts +111 -0
- package/dist/types/components/modal/modal.d.ts +31 -0
- package/dist/types/components/radio-button/radio-button.d.ts +62 -0
- package/dist/types/components/select/select.d.ts +173 -0
- package/dist/types/components/snackbar/snackbar.d.ts +64 -0
- package/dist/types/components/table/table.d.ts +217 -0
- package/dist/types/components/tag/tag.d.ts +57 -0
- package/dist/types/components/toggle/toggle.d.ts +126 -0
- package/dist/types/components/tooltip/tooltip.d.ts +67 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/preset/index.d.ts +1 -0
- package/dist/types/tokens/definitions.d.ts +105 -0
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tailwindVariants = require('tailwind-variants');
|
|
4
|
+
|
|
5
|
+
const modal = tailwindVariants.tv({
|
|
6
|
+
base: "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"
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
exports.modal = modal;
|
package/dist/cjs/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var radioButton = require('./components/radio-button/radio-button.js');
|
|
|
14
14
|
var table = require('./components/table/table.js');
|
|
15
15
|
var tooltip = require('./components/tooltip/tooltip.js');
|
|
16
16
|
var card = require('./components/card/card.js');
|
|
17
|
+
var modal = require('./components/modal/modal.js');
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
|
|
@@ -57,3 +58,4 @@ exports.tRow = table.tRow;
|
|
|
57
58
|
exports.tooltip = tooltip.tooltip;
|
|
58
59
|
exports.tooltipContainer = tooltip.tooltipContainer;
|
|
59
60
|
exports.card = card.card;
|
|
61
|
+
exports.modal = modal.modal;
|
package/dist/esm/index.js
CHANGED
|
@@ -12,3 +12,4 @@ export { labelRadioButton, radioButton } from './components/radio-button/radio-b
|
|
|
12
12
|
export { hr, tCell, tFoot, tHead, tHeadCell, tRoot, tRow } from './components/table/table.js';
|
|
13
13
|
export { tooltip, tooltipContainer } from './components/tooltip/tooltip.js';
|
|
14
14
|
export { card } from './components/card/card.js';
|
|
15
|
+
export { modal } from './components/modal/modal.js';
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
export declare const badge: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
intent: {
|
|
3
|
+
primary: string;
|
|
4
|
+
secondary: string;
|
|
5
|
+
error: string;
|
|
6
|
+
success: string;
|
|
7
|
+
warning: string;
|
|
8
|
+
info: string;
|
|
9
|
+
};
|
|
10
|
+
}, 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<{
|
|
11
|
+
intent: {
|
|
12
|
+
primary: string;
|
|
13
|
+
secondary: string;
|
|
14
|
+
error: string;
|
|
15
|
+
success: string;
|
|
16
|
+
warning: string;
|
|
17
|
+
info: string;
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
intent: {
|
|
21
|
+
primary: string;
|
|
22
|
+
secondary: string;
|
|
23
|
+
error: string;
|
|
24
|
+
success: string;
|
|
25
|
+
warning: string;
|
|
26
|
+
info: 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
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
38
|
+
intent: {
|
|
39
|
+
primary: string;
|
|
40
|
+
secondary: string;
|
|
41
|
+
error: string;
|
|
42
|
+
success: string;
|
|
43
|
+
warning: string;
|
|
44
|
+
info: string;
|
|
45
|
+
};
|
|
46
|
+
}, 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<{
|
|
47
|
+
intent: {
|
|
48
|
+
primary: string;
|
|
49
|
+
secondary: string;
|
|
50
|
+
error: string;
|
|
51
|
+
success: string;
|
|
52
|
+
warning: string;
|
|
53
|
+
info: string;
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
intent: {
|
|
57
|
+
primary: string;
|
|
58
|
+
secondary: string;
|
|
59
|
+
error: string;
|
|
60
|
+
success: string;
|
|
61
|
+
warning: string;
|
|
62
|
+
info: string;
|
|
63
|
+
};
|
|
64
|
+
}>, unknown, unknown, undefined>>;
|
|
65
|
+
export declare const containerBadge: import("tailwind-variants").TVReturnType<{
|
|
66
|
+
[key: string]: {
|
|
67
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
68
|
+
base?: import("tailwind-variants").ClassValue;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
} | {
|
|
72
|
+
[x: string]: {
|
|
73
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
74
|
+
base?: import("tailwind-variants").ClassValue;
|
|
75
|
+
};
|
|
76
|
+
} | undefined;
|
|
77
|
+
} | {}, undefined, "relative items-center justify-center self-center", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
78
|
+
[key: string]: {
|
|
79
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
80
|
+
base?: import("tailwind-variants").ClassValue;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
} | {}>, {
|
|
84
|
+
[key: string]: {
|
|
85
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
86
|
+
base?: import("tailwind-variants").ClassValue;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "relative items-center justify-center self-center", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
90
|
+
[key: string]: {
|
|
91
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
92
|
+
base?: import("tailwind-variants").ClassValue;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
export declare const button: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
intent: {
|
|
3
|
+
primary: string;
|
|
4
|
+
secondary: string;
|
|
5
|
+
success: string;
|
|
6
|
+
info: string;
|
|
7
|
+
warning: string;
|
|
8
|
+
error: string;
|
|
9
|
+
};
|
|
10
|
+
variant: {
|
|
11
|
+
outline: string;
|
|
12
|
+
text: string;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
15
|
+
default: string;
|
|
16
|
+
small: string;
|
|
17
|
+
square: string;
|
|
18
|
+
circle: string;
|
|
19
|
+
};
|
|
20
|
+
}, 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<{
|
|
21
|
+
intent: {
|
|
22
|
+
primary: string;
|
|
23
|
+
secondary: string;
|
|
24
|
+
success: string;
|
|
25
|
+
info: string;
|
|
26
|
+
warning: string;
|
|
27
|
+
error: string;
|
|
28
|
+
};
|
|
29
|
+
variant: {
|
|
30
|
+
outline: string;
|
|
31
|
+
text: string;
|
|
32
|
+
};
|
|
33
|
+
size: {
|
|
34
|
+
default: string;
|
|
35
|
+
small: string;
|
|
36
|
+
square: string;
|
|
37
|
+
circle: string;
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
intent: {
|
|
41
|
+
primary: string;
|
|
42
|
+
secondary: string;
|
|
43
|
+
success: string;
|
|
44
|
+
info: string;
|
|
45
|
+
warning: string;
|
|
46
|
+
error: string;
|
|
47
|
+
};
|
|
48
|
+
variant: {
|
|
49
|
+
outline: string;
|
|
50
|
+
text: string;
|
|
51
|
+
};
|
|
52
|
+
size: {
|
|
53
|
+
default: string;
|
|
54
|
+
small: string;
|
|
55
|
+
square: string;
|
|
56
|
+
circle: string;
|
|
57
|
+
};
|
|
58
|
+
}>, {
|
|
59
|
+
intent: {
|
|
60
|
+
primary: string;
|
|
61
|
+
secondary: string;
|
|
62
|
+
success: string;
|
|
63
|
+
info: string;
|
|
64
|
+
warning: string;
|
|
65
|
+
error: string;
|
|
66
|
+
};
|
|
67
|
+
variant: {
|
|
68
|
+
outline: string;
|
|
69
|
+
text: string;
|
|
70
|
+
};
|
|
71
|
+
size: {
|
|
72
|
+
default: string;
|
|
73
|
+
small: string;
|
|
74
|
+
square: string;
|
|
75
|
+
circle: string;
|
|
76
|
+
};
|
|
77
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
78
|
+
intent: {
|
|
79
|
+
primary: string;
|
|
80
|
+
secondary: string;
|
|
81
|
+
success: string;
|
|
82
|
+
info: string;
|
|
83
|
+
warning: string;
|
|
84
|
+
error: string;
|
|
85
|
+
};
|
|
86
|
+
variant: {
|
|
87
|
+
outline: string;
|
|
88
|
+
text: string;
|
|
89
|
+
};
|
|
90
|
+
size: {
|
|
91
|
+
default: string;
|
|
92
|
+
small: string;
|
|
93
|
+
square: string;
|
|
94
|
+
circle: string;
|
|
95
|
+
};
|
|
96
|
+
}, 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<{
|
|
97
|
+
intent: {
|
|
98
|
+
primary: string;
|
|
99
|
+
secondary: string;
|
|
100
|
+
success: string;
|
|
101
|
+
info: string;
|
|
102
|
+
warning: string;
|
|
103
|
+
error: string;
|
|
104
|
+
};
|
|
105
|
+
variant: {
|
|
106
|
+
outline: string;
|
|
107
|
+
text: string;
|
|
108
|
+
};
|
|
109
|
+
size: {
|
|
110
|
+
default: string;
|
|
111
|
+
small: string;
|
|
112
|
+
square: string;
|
|
113
|
+
circle: string;
|
|
114
|
+
};
|
|
115
|
+
}, {
|
|
116
|
+
intent: {
|
|
117
|
+
primary: string;
|
|
118
|
+
secondary: string;
|
|
119
|
+
success: string;
|
|
120
|
+
info: string;
|
|
121
|
+
warning: string;
|
|
122
|
+
error: string;
|
|
123
|
+
};
|
|
124
|
+
variant: {
|
|
125
|
+
outline: string;
|
|
126
|
+
text: string;
|
|
127
|
+
};
|
|
128
|
+
size: {
|
|
129
|
+
default: string;
|
|
130
|
+
small: string;
|
|
131
|
+
square: string;
|
|
132
|
+
circle: string;
|
|
133
|
+
};
|
|
134
|
+
}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const card: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
base?: import("tailwind-variants").ClassValue;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
[x: string]: {
|
|
9
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
10
|
+
base?: import("tailwind-variants").ClassValue;
|
|
11
|
+
};
|
|
12
|
+
} | undefined;
|
|
13
|
+
} | {}, undefined, "rounded-mili shadow-default bg-white p-deca", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
14
|
+
[key: string]: {
|
|
15
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
16
|
+
base?: import("tailwind-variants").ClassValue;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
} | {}>, {
|
|
20
|
+
[key: string]: {
|
|
21
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
22
|
+
base?: import("tailwind-variants").ClassValue;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "rounded-mili shadow-default bg-white p-deca", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
26
|
+
[key: string]: {
|
|
27
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
28
|
+
base?: import("tailwind-variants").ClassValue;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const checkbox: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
base?: import("tailwind-variants").ClassValue;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
[x: string]: {
|
|
9
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
10
|
+
base?: import("tailwind-variants").ClassValue;
|
|
11
|
+
};
|
|
12
|
+
} | undefined;
|
|
13
|
+
} | {}, undefined, "accent-primary-medium h-5 w-5 cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
14
|
+
[key: string]: {
|
|
15
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
16
|
+
base?: import("tailwind-variants").ClassValue;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
} | {}>, {
|
|
20
|
+
[key: string]: {
|
|
21
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
22
|
+
base?: import("tailwind-variants").ClassValue;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "accent-primary-medium h-5 w-5 cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
26
|
+
[key: string]: {
|
|
27
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
28
|
+
base?: import("tailwind-variants").ClassValue;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
position: {
|
|
3
|
+
left: string;
|
|
4
|
+
right: string;
|
|
5
|
+
};
|
|
6
|
+
}, 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<{
|
|
7
|
+
position: {
|
|
8
|
+
left: string;
|
|
9
|
+
right: string;
|
|
10
|
+
};
|
|
11
|
+
}, {
|
|
12
|
+
position: {
|
|
13
|
+
left: string;
|
|
14
|
+
right: string;
|
|
15
|
+
};
|
|
16
|
+
}>, {
|
|
17
|
+
position: {
|
|
18
|
+
left: string;
|
|
19
|
+
right: string;
|
|
20
|
+
};
|
|
21
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
22
|
+
position: {
|
|
23
|
+
left: string;
|
|
24
|
+
right: string;
|
|
25
|
+
};
|
|
26
|
+
}, 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<{
|
|
27
|
+
position: {
|
|
28
|
+
left: string;
|
|
29
|
+
right: string;
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
position: {
|
|
33
|
+
left: string;
|
|
34
|
+
right: string;
|
|
35
|
+
};
|
|
36
|
+
}>, unknown, unknown, undefined>>;
|
|
37
|
+
export declare const overlay: import("tailwind-variants").TVReturnType<{
|
|
38
|
+
[key: string]: {
|
|
39
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
40
|
+
base?: import("tailwind-variants").ClassValue;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
} | {
|
|
44
|
+
[x: string]: {
|
|
45
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
46
|
+
base?: import("tailwind-variants").ClassValue;
|
|
47
|
+
};
|
|
48
|
+
} | undefined;
|
|
49
|
+
} | {}, 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, {
|
|
50
|
+
[key: string]: {
|
|
51
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
52
|
+
base?: import("tailwind-variants").ClassValue;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
} | {}>, {
|
|
56
|
+
[key: string]: {
|
|
57
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
58
|
+
base?: import("tailwind-variants").ClassValue;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
} | {}, 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, {
|
|
62
|
+
[key: string]: {
|
|
63
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
64
|
+
base?: import("tailwind-variants").ClassValue;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { VariantProps } from 'tailwind-variants';
|
|
2
|
+
export declare const hint: 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 interface HintVariants extends VariantProps<typeof hint> {
|
|
53
|
+
className?: string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './button/button';
|
|
2
|
+
export * from './tag/tag';
|
|
3
|
+
export * from './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';
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { VariantProps } from 'tailwind-variants';
|
|
2
|
+
export declare const inputBase: 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
|
+
export declare const labelBase: 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 labelBase> {
|
|
103
|
+
className?: string;
|
|
104
|
+
placeholder?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare const labelStyle: ({ intent, placeholder, className }: LabelVariants) => string;
|
|
107
|
+
export interface InputVariants extends VariantProps<typeof inputBase> {
|
|
108
|
+
className?: string;
|
|
109
|
+
}
|
|
110
|
+
export declare const input: ({ className, ...variants }: InputVariants) => string;
|
|
111
|
+
export declare const inputBox: (placeholder?: string, label?: string, className?: string) => string;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const modal: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
base?: import("tailwind-variants").ClassValue;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
[x: string]: {
|
|
9
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
10
|
+
base?: import("tailwind-variants").ClassValue;
|
|
11
|
+
};
|
|
12
|
+
} | undefined;
|
|
13
|
+
} | {}, 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, {
|
|
14
|
+
[key: string]: {
|
|
15
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
16
|
+
base?: import("tailwind-variants").ClassValue;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
} | {}>, {
|
|
20
|
+
[key: string]: {
|
|
21
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
22
|
+
base?: import("tailwind-variants").ClassValue;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} | {}, 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, {
|
|
26
|
+
[key: string]: {
|
|
27
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
28
|
+
base?: import("tailwind-variants").ClassValue;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare const radioButton: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
[key: string]: {
|
|
3
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
|
+
base?: import("tailwind-variants").ClassValue;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
[x: string]: {
|
|
9
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
10
|
+
base?: import("tailwind-variants").ClassValue;
|
|
11
|
+
};
|
|
12
|
+
} | undefined;
|
|
13
|
+
} | {}, undefined, "accent-primary-medium h-5 w-5 cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
14
|
+
[key: string]: {
|
|
15
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
16
|
+
base?: import("tailwind-variants").ClassValue;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
} | {}>, {
|
|
20
|
+
[key: string]: {
|
|
21
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
22
|
+
base?: import("tailwind-variants").ClassValue;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "accent-primary-medium h-5 w-5 cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
26
|
+
[key: string]: {
|
|
27
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
28
|
+
base?: import("tailwind-variants").ClassValue;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
} | {}>, unknown, unknown, undefined>>;
|
|
32
|
+
export declare const labelRadioButton: import("tailwind-variants").TVReturnType<{
|
|
33
|
+
[key: string]: {
|
|
34
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
35
|
+
base?: import("tailwind-variants").ClassValue;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
} | {
|
|
39
|
+
[x: string]: {
|
|
40
|
+
[x: string]: import("tailwind-variants").ClassValue | {
|
|
41
|
+
base?: import("tailwind-variants").ClassValue;
|
|
42
|
+
};
|
|
43
|
+
} | undefined;
|
|
44
|
+
} | {}, undefined, "cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
45
|
+
[key: string]: {
|
|
46
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
47
|
+
base?: import("tailwind-variants").ClassValue;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
} | {}>, {
|
|
51
|
+
[key: string]: {
|
|
52
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
53
|
+
base?: import("tailwind-variants").ClassValue;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "cursor-pointer", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
57
|
+
[key: string]: {
|
|
58
|
+
[key: string]: import("tailwind-variants").ClassValue | {
|
|
59
|
+
base?: import("tailwind-variants").ClassValue;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
} | {}>, unknown, unknown, undefined>>;
|