@tecsinapse/cortex-core 0.0.10 → 0.0.11
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 +23 -0
- package/dist/cjs/index.js +2 -0
- package/dist/esm/components/snackbar/snackbar.js +21 -0
- package/dist/esm/index.js +1 -0
- package/package.json +2 -2
- package/dist/types/components/badge/badge.d.ts +0 -99
- package/dist/types/components/button/button.d.ts +0 -137
- package/dist/types/components/card/card.d.ts +0 -31
- package/dist/types/components/checkbox/checkbox.d.ts +0 -31
- package/dist/types/components/drawer/drawer.d.ts +0 -71
- package/dist/types/components/hint/hint.d.ts +0 -54
- package/dist/types/components/index.d.ts +0 -14
- package/dist/types/components/input/input.d.ts +0 -114
- package/dist/types/components/modal/modal.d.ts +0 -31
- package/dist/types/components/radio-button/radio-button.d.ts +0 -62
- package/dist/types/components/select/select.d.ts +0 -179
- package/dist/types/components/snackbar/snackbar.d.ts +0 -68
- package/dist/types/components/table/table.d.ts +0 -217
- package/dist/types/components/tag/tag.d.ts +0 -61
- package/dist/types/components/toggle/toggle.d.ts +0 -130
- package/dist/types/components/tooltip/tooltip.d.ts +0 -71
- package/dist/types/index.d.ts +0 -3
- package/dist/types/preset/index.d.ts +0 -1
- package/dist/types/tokens/definitions.d.ts +0 -105
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tailwindVariants = require('tailwind-variants');
|
|
4
|
+
|
|
5
|
+
const snackbarStyles = tailwindVariants.tv({
|
|
6
|
+
base: "animate-bottomToTop text-base font-bold p-mili flex justify-between fixed rounded-mili left-[50%] bottom-deca",
|
|
7
|
+
variants: {
|
|
8
|
+
intent: {
|
|
9
|
+
primary: "bg-primary-xlight text-primary-medium",
|
|
10
|
+
secondary: "bg-secondary-xlight text-secondary-medium",
|
|
11
|
+
success: "bg-success-xlight text-success-medium",
|
|
12
|
+
error: "bg-error-xlight text-error-medium",
|
|
13
|
+
info: "bg-info-xlight text-info-medium",
|
|
14
|
+
warning: "bg-warning-xlight text-warning-medium"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
defaultVariants: {
|
|
18
|
+
intent: "primary"
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
const snackbar = (props) => snackbarStyles(props);
|
|
22
|
+
|
|
23
|
+
exports.snackbar = snackbar;
|
package/dist/cjs/index.js
CHANGED
|
@@ -15,6 +15,7 @@ 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
17
|
var modal = require('./components/modal/modal.js');
|
|
18
|
+
var snackbar = require('./components/snackbar/snackbar.js');
|
|
18
19
|
require('./preset/index.js');
|
|
19
20
|
|
|
20
21
|
|
|
@@ -61,3 +62,4 @@ exports.tooltip = tooltip.tooltip;
|
|
|
61
62
|
exports.tooltipContainer = tooltip.tooltipContainer;
|
|
62
63
|
exports.card = card.card;
|
|
63
64
|
exports.modal = modal.modal;
|
|
65
|
+
exports.snackbar = snackbar.snackbar;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { tv } from 'tailwind-variants';
|
|
2
|
+
|
|
3
|
+
const snackbarStyles = tv({
|
|
4
|
+
base: "animate-bottomToTop text-base font-bold p-mili flex justify-between fixed rounded-mili left-[50%] bottom-deca",
|
|
5
|
+
variants: {
|
|
6
|
+
intent: {
|
|
7
|
+
primary: "bg-primary-xlight text-primary-medium",
|
|
8
|
+
secondary: "bg-secondary-xlight text-secondary-medium",
|
|
9
|
+
success: "bg-success-xlight text-success-medium",
|
|
10
|
+
error: "bg-error-xlight text-error-medium",
|
|
11
|
+
info: "bg-info-xlight text-info-medium",
|
|
12
|
+
warning: "bg-warning-xlight text-warning-medium"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
defaultVariants: {
|
|
16
|
+
intent: "primary"
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
const snackbar = (props) => snackbarStyles(props);
|
|
20
|
+
|
|
21
|
+
export { snackbar };
|
package/dist/esm/index.js
CHANGED
|
@@ -13,4 +13,5 @@ export { hr, tCell, tFoot, tHead, tHeadCell, tRoot, tRow } from './components/ta
|
|
|
13
13
|
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
|
+
export { snackbar } from './components/snackbar/snackbar.js';
|
|
16
17
|
import './preset/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tecsinapse/cortex-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"tailwind-merge": "^2.0.0",
|
|
22
22
|
"tailwind-variants": "^0.1.18"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "0f89f7320ecbcee514b03329d97f224171d51933"
|
|
25
25
|
}
|
|
@@ -1,99 +0,0 @@
|
|
|
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<{
|
|
67
|
-
[key: string]: {
|
|
68
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
69
|
-
base?: import("tailwind-variants").ClassValue;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
} | {
|
|
73
|
-
[x: string]: {
|
|
74
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
75
|
-
base?: import("tailwind-variants").ClassValue;
|
|
76
|
-
};
|
|
77
|
-
} | undefined;
|
|
78
|
-
} | {}, undefined, "relative items-center justify-center self-center", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
79
|
-
[key: string]: {
|
|
80
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
81
|
-
base?: import("tailwind-variants").ClassValue;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
} | {}>, {
|
|
85
|
-
[key: string]: {
|
|
86
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
87
|
-
base?: import("tailwind-variants").ClassValue;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "relative items-center justify-center self-center", import("tailwind-variants/dist/config").TVConfig<unknown, {
|
|
91
|
-
[key: string]: {
|
|
92
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
93
|
-
base?: import("tailwind-variants").ClassValue;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
97
|
-
export type BadgeVariants = VariantProps<typeof badgeStyles>;
|
|
98
|
-
export declare const badge: (props?: BadgeVariants) => string;
|
|
99
|
-
export {};
|
|
@@ -1,137 +0,0 @@
|
|
|
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;
|
|
@@ -1,31 +0,0 @@
|
|
|
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>>;
|
|
@@ -1,31 +0,0 @@
|
|
|
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>>;
|
|
@@ -1,71 +0,0 @@
|
|
|
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<{
|
|
39
|
-
[key: string]: {
|
|
40
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
41
|
-
base?: import("tailwind-variants").ClassValue;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
} | {
|
|
45
|
-
[x: string]: {
|
|
46
|
-
[x: string]: import("tailwind-variants").ClassValue | {
|
|
47
|
-
base?: import("tailwind-variants").ClassValue;
|
|
48
|
-
};
|
|
49
|
-
} | undefined;
|
|
50
|
-
} | {}, 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, {
|
|
51
|
-
[key: string]: {
|
|
52
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
53
|
-
base?: import("tailwind-variants").ClassValue;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
} | {}>, {
|
|
57
|
-
[key: string]: {
|
|
58
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
59
|
-
base?: import("tailwind-variants").ClassValue;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
} | {}, 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, {
|
|
63
|
-
[key: string]: {
|
|
64
|
-
[key: string]: import("tailwind-variants").ClassValue | {
|
|
65
|
-
base?: import("tailwind-variants").ClassValue;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
} | {}>, unknown, unknown, undefined>>;
|
|
69
|
-
export type DrawerVariants = VariantProps<typeof drawerStyles> & ClassProp;
|
|
70
|
-
export declare const drawer: (props: DrawerVariants) => string;
|
|
71
|
-
export {};
|
|
@@ -1,54 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,14 +0,0 @@
|
|
|
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';
|
|
@@ -1,114 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,31 +0,0 @@
|
|
|
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>>;
|