@kopexa/theme 1.5.8 → 1.6.0
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/{chunk-FLD2CUFZ.mjs → chunk-3IIJVON7.mjs} +11 -8
- package/dist/chunk-CZMZHA7U.mjs +37 -0
- package/dist/{chunk-UI2M2MFB.mjs → chunk-DH3KNPAO.mjs} +3 -1
- package/dist/{chunk-4VKJFW6Y.mjs → chunk-EACX3NZF.mjs} +11 -2
- package/dist/chunk-GA6UOB2D.mjs +166 -0
- package/dist/{chunk-32L6KXLV.mjs → chunk-HOQ2LD24.mjs} +1 -1
- package/dist/chunk-I6M4S2KZ.mjs +41 -0
- package/dist/chunk-IRKCLWJD.mjs +15 -0
- package/dist/{chunk-3M5JSM7Y.mjs → chunk-MGYGD5BF.mjs} +1 -1
- package/dist/{chunk-I2NMD23O.mjs → chunk-OMS3433R.mjs} +1 -1
- package/dist/{chunk-CDTKWCOH.mjs → chunk-SU53TZN7.mjs} +34 -2
- package/dist/chunk-UPTG533L.mjs +87 -0
- package/dist/{chunk-67PPUTSS.mjs → chunk-UVT775TU.mjs} +1 -1
- package/dist/{chunk-5BIGFSZK.mjs → chunk-WSX3HKVE.mjs} +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.js +1 -1
- package/dist/components/button.mjs +2 -2
- package/dist/components/card.d.mts +24 -0
- package/dist/components/card.d.ts +24 -0
- package/dist/components/card.js +11 -2
- package/dist/components/card.mjs +1 -1
- package/dist/components/chip.js +1 -1
- package/dist/components/chip.mjs +2 -2
- package/dist/components/code.js +1 -1
- package/dist/components/code.mjs +2 -2
- package/dist/components/drawer.d.mts +9 -3
- package/dist/components/drawer.d.ts +9 -3
- package/dist/components/drawer.js +3 -1
- package/dist/components/drawer.mjs +1 -1
- package/dist/components/index.d.mts +5 -0
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +411 -22
- package/dist/components/index.mjs +39 -15
- package/dist/components/page-layout.d.mts +9 -0
- package/dist/components/page-layout.d.ts +9 -0
- package/dist/components/page-layout.js +11 -8
- package/dist/components/page-layout.mjs +1 -1
- package/dist/components/risk-indicator.d.mts +76 -0
- package/dist/components/risk-indicator.d.ts +76 -0
- package/dist/components/risk-indicator.js +61 -0
- package/dist/components/risk-indicator.mjs +6 -0
- package/dist/components/separator.d.mts +22 -0
- package/dist/components/separator.d.ts +22 -0
- package/dist/components/separator.js +39 -0
- package/dist/components/separator.mjs +6 -0
- package/dist/components/sidebar.d.mts +206 -0
- package/dist/components/sidebar.d.ts +206 -0
- package/dist/components/sidebar.js +192 -0
- package/dist/components/sidebar.mjs +10 -0
- package/dist/components/tab-nav.d.mts +101 -0
- package/dist/components/tab-nav.d.ts +101 -0
- package/dist/components/tab-nav.js +111 -0
- package/dist/components/tab-nav.mjs +6 -0
- package/dist/components/table.d.mts +54 -0
- package/dist/components/table.d.ts +54 -0
- package/dist/components/table.js +34 -2
- package/dist/components/table.mjs +1 -1
- package/dist/components/tabs.d.mts +43 -0
- package/dist/components/tabs.d.ts +43 -0
- package/dist/components/tabs.js +65 -0
- package/dist/components/tabs.mjs +6 -0
- package/dist/index.css +23 -11
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +411 -22
- package/dist/index.mjs +39 -15
- package/dist/utils/variants.js +1 -1
- package/dist/utils/variants.mjs +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-FWB233VZ.mjs → chunk-EOJ6MEGH.mjs} +0 -0
|
@@ -51,6 +51,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
51
51
|
content: string;
|
|
52
52
|
pane: string;
|
|
53
53
|
footerContent: string;
|
|
54
|
+
bleed: string[];
|
|
54
55
|
};
|
|
55
56
|
normal: {
|
|
56
57
|
wrapper: string;
|
|
@@ -58,6 +59,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
58
59
|
content: string;
|
|
59
60
|
pane: string;
|
|
60
61
|
footerContent: string;
|
|
62
|
+
bleed: string[];
|
|
61
63
|
};
|
|
62
64
|
};
|
|
63
65
|
inModal: {
|
|
@@ -79,6 +81,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
79
81
|
pane: string;
|
|
80
82
|
contentWrapper: string;
|
|
81
83
|
content: string;
|
|
84
|
+
bleed: never[];
|
|
82
85
|
}, undefined, {
|
|
83
86
|
gap: {
|
|
84
87
|
none: string;
|
|
@@ -129,6 +132,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
129
132
|
content: string;
|
|
130
133
|
pane: string;
|
|
131
134
|
footerContent: string;
|
|
135
|
+
bleed: string[];
|
|
132
136
|
};
|
|
133
137
|
normal: {
|
|
134
138
|
wrapper: string;
|
|
@@ -136,6 +140,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
136
140
|
content: string;
|
|
137
141
|
pane: string;
|
|
138
142
|
footerContent: string;
|
|
143
|
+
bleed: string[];
|
|
139
144
|
};
|
|
140
145
|
};
|
|
141
146
|
inModal: {
|
|
@@ -157,6 +162,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
157
162
|
pane: string;
|
|
158
163
|
contentWrapper: string;
|
|
159
164
|
content: string;
|
|
165
|
+
bleed: never[];
|
|
160
166
|
}, tailwind_variants.TVReturnType<{
|
|
161
167
|
gap: {
|
|
162
168
|
none: string;
|
|
@@ -207,6 +213,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
207
213
|
content: string;
|
|
208
214
|
pane: string;
|
|
209
215
|
footerContent: string;
|
|
216
|
+
bleed: string[];
|
|
210
217
|
};
|
|
211
218
|
normal: {
|
|
212
219
|
wrapper: string;
|
|
@@ -214,6 +221,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
214
221
|
content: string;
|
|
215
222
|
pane: string;
|
|
216
223
|
footerContent: string;
|
|
224
|
+
bleed: string[];
|
|
217
225
|
};
|
|
218
226
|
};
|
|
219
227
|
inModal: {
|
|
@@ -235,6 +243,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
235
243
|
pane: string;
|
|
236
244
|
contentWrapper: string;
|
|
237
245
|
content: string;
|
|
246
|
+
bleed: never[];
|
|
238
247
|
}, undefined, unknown, unknown, undefined>>;
|
|
239
248
|
type PageLayoutVariantProps = VariantProps<typeof pageLayout>;
|
|
240
249
|
type PageLayoutSlots = keyof ReturnType<typeof pageLayout>;
|
|
@@ -51,6 +51,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
51
51
|
content: string;
|
|
52
52
|
pane: string;
|
|
53
53
|
footerContent: string;
|
|
54
|
+
bleed: string[];
|
|
54
55
|
};
|
|
55
56
|
normal: {
|
|
56
57
|
wrapper: string;
|
|
@@ -58,6 +59,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
58
59
|
content: string;
|
|
59
60
|
pane: string;
|
|
60
61
|
footerContent: string;
|
|
62
|
+
bleed: string[];
|
|
61
63
|
};
|
|
62
64
|
};
|
|
63
65
|
inModal: {
|
|
@@ -79,6 +81,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
79
81
|
pane: string;
|
|
80
82
|
contentWrapper: string;
|
|
81
83
|
content: string;
|
|
84
|
+
bleed: never[];
|
|
82
85
|
}, undefined, {
|
|
83
86
|
gap: {
|
|
84
87
|
none: string;
|
|
@@ -129,6 +132,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
129
132
|
content: string;
|
|
130
133
|
pane: string;
|
|
131
134
|
footerContent: string;
|
|
135
|
+
bleed: string[];
|
|
132
136
|
};
|
|
133
137
|
normal: {
|
|
134
138
|
wrapper: string;
|
|
@@ -136,6 +140,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
136
140
|
content: string;
|
|
137
141
|
pane: string;
|
|
138
142
|
footerContent: string;
|
|
143
|
+
bleed: string[];
|
|
139
144
|
};
|
|
140
145
|
};
|
|
141
146
|
inModal: {
|
|
@@ -157,6 +162,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
157
162
|
pane: string;
|
|
158
163
|
contentWrapper: string;
|
|
159
164
|
content: string;
|
|
165
|
+
bleed: never[];
|
|
160
166
|
}, tailwind_variants.TVReturnType<{
|
|
161
167
|
gap: {
|
|
162
168
|
none: string;
|
|
@@ -207,6 +213,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
207
213
|
content: string;
|
|
208
214
|
pane: string;
|
|
209
215
|
footerContent: string;
|
|
216
|
+
bleed: string[];
|
|
210
217
|
};
|
|
211
218
|
normal: {
|
|
212
219
|
wrapper: string;
|
|
@@ -214,6 +221,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
214
221
|
content: string;
|
|
215
222
|
pane: string;
|
|
216
223
|
footerContent: string;
|
|
224
|
+
bleed: string[];
|
|
217
225
|
};
|
|
218
226
|
};
|
|
219
227
|
inModal: {
|
|
@@ -235,6 +243,7 @@ declare const pageLayout: tailwind_variants.TVReturnType<{
|
|
|
235
243
|
pane: string;
|
|
236
244
|
contentWrapper: string;
|
|
237
245
|
content: string;
|
|
246
|
+
bleed: never[];
|
|
238
247
|
}, undefined, unknown, unknown, undefined>>;
|
|
239
248
|
type PageLayoutVariantProps = VariantProps<typeof pageLayout>;
|
|
240
249
|
type PageLayoutSlots = keyof ReturnType<typeof pageLayout>;
|
|
@@ -27,7 +27,7 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
27
27
|
var pageLayout = (0, import_tailwind_variants.tv)({
|
|
28
28
|
slots: {
|
|
29
29
|
root: "",
|
|
30
|
-
wrapper: "flex
|
|
30
|
+
wrapper: "flex flex-wrap w-full",
|
|
31
31
|
baseContent: "flex flex-1 flex-wrap max-w-full",
|
|
32
32
|
header: "w-full grow-0 shrink-0",
|
|
33
33
|
footerWrapper: "w-full",
|
|
@@ -46,7 +46,8 @@ var pageLayout = (0, import_tailwind_variants.tv)({
|
|
|
46
46
|
],
|
|
47
47
|
pane: "w-[var(--pane-width-size)] md:overflow-auto",
|
|
48
48
|
contentWrapper: "flex min-w-px flex-col basis-0 grow shrink",
|
|
49
|
-
content: "w-full mx-auto grow h-full"
|
|
49
|
+
content: "w-full mx-auto grow h-full",
|
|
50
|
+
bleed: []
|
|
50
51
|
},
|
|
51
52
|
variants: {
|
|
52
53
|
gap: {
|
|
@@ -74,14 +75,14 @@ var pageLayout = (0, import_tailwind_variants.tv)({
|
|
|
74
75
|
content: "max-w-full"
|
|
75
76
|
},
|
|
76
77
|
md: {
|
|
77
|
-
wrapper: "max-w-3xl",
|
|
78
|
+
wrapper: "max-w-3xl mx-auto",
|
|
78
79
|
content: "max-w-3xl"
|
|
79
80
|
},
|
|
80
81
|
lg: {
|
|
81
|
-
wrapper: "max-w-5xl"
|
|
82
|
+
wrapper: "max-w-5xl mx-auto"
|
|
82
83
|
},
|
|
83
84
|
xl: {
|
|
84
|
-
wrapper: "max-w-8xl",
|
|
85
|
+
wrapper: "max-w-8xl mx-auto",
|
|
85
86
|
content: "max-w-8xl"
|
|
86
87
|
}
|
|
87
88
|
},
|
|
@@ -103,7 +104,8 @@ var pageLayout = (0, import_tailwind_variants.tv)({
|
|
|
103
104
|
header: "p-4",
|
|
104
105
|
content: "p-4",
|
|
105
106
|
pane: "p-4",
|
|
106
|
-
footerContent: "p-4"
|
|
107
|
+
footerContent: "p-4",
|
|
108
|
+
bleed: ["-mx-4 p-4"]
|
|
107
109
|
},
|
|
108
110
|
// 1.5rem
|
|
109
111
|
normal: {
|
|
@@ -111,7 +113,8 @@ var pageLayout = (0, import_tailwind_variants.tv)({
|
|
|
111
113
|
header: "p-2 md:p-3",
|
|
112
114
|
content: "p-2 md:p-3",
|
|
113
115
|
pane: "p-2 md:p-3",
|
|
114
|
-
footerContent: "p-2 md:p-3"
|
|
116
|
+
footerContent: "p-2 md:p-3",
|
|
117
|
+
bleed: ["-mx-2 md:-mx-3 p-2 md:p-3"]
|
|
115
118
|
}
|
|
116
119
|
},
|
|
117
120
|
inModal: {
|
|
@@ -126,7 +129,7 @@ var pageLayout = (0, import_tailwind_variants.tv)({
|
|
|
126
129
|
defaultVariants: {
|
|
127
130
|
width: "xl",
|
|
128
131
|
spacing: "normal",
|
|
129
|
-
paneWidth: "
|
|
132
|
+
paneWidth: "lg",
|
|
130
133
|
gap: "normal"
|
|
131
134
|
}
|
|
132
135
|
});
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const riskIndicator: tailwind_variants.TVReturnType<{
|
|
5
|
+
level: {
|
|
6
|
+
none: string;
|
|
7
|
+
low: string;
|
|
8
|
+
medium: string;
|
|
9
|
+
high: string;
|
|
10
|
+
};
|
|
11
|
+
size: {
|
|
12
|
+
sm: string;
|
|
13
|
+
md: string;
|
|
14
|
+
lg: string;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
base: string;
|
|
18
|
+
bar: string;
|
|
19
|
+
barLow: string;
|
|
20
|
+
barMedium: string;
|
|
21
|
+
barHigh: string;
|
|
22
|
+
barInactive: string;
|
|
23
|
+
barHeight1: string;
|
|
24
|
+
barHeight2: string;
|
|
25
|
+
barHeight3: string;
|
|
26
|
+
barWidth: string;
|
|
27
|
+
}, undefined, {
|
|
28
|
+
level: {
|
|
29
|
+
none: string;
|
|
30
|
+
low: string;
|
|
31
|
+
medium: string;
|
|
32
|
+
high: string;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
sm: string;
|
|
36
|
+
md: string;
|
|
37
|
+
lg: string;
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
base: string;
|
|
41
|
+
bar: string;
|
|
42
|
+
barLow: string;
|
|
43
|
+
barMedium: string;
|
|
44
|
+
barHigh: string;
|
|
45
|
+
barInactive: string;
|
|
46
|
+
barHeight1: string;
|
|
47
|
+
barHeight2: string;
|
|
48
|
+
barHeight3: string;
|
|
49
|
+
barWidth: string;
|
|
50
|
+
}, tailwind_variants.TVReturnType<{
|
|
51
|
+
level: {
|
|
52
|
+
none: string;
|
|
53
|
+
low: string;
|
|
54
|
+
medium: string;
|
|
55
|
+
high: string;
|
|
56
|
+
};
|
|
57
|
+
size: {
|
|
58
|
+
sm: string;
|
|
59
|
+
md: string;
|
|
60
|
+
lg: string;
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
base: string;
|
|
64
|
+
bar: string;
|
|
65
|
+
barLow: string;
|
|
66
|
+
barMedium: string;
|
|
67
|
+
barHigh: string;
|
|
68
|
+
barInactive: string;
|
|
69
|
+
barHeight1: string;
|
|
70
|
+
barHeight2: string;
|
|
71
|
+
barHeight3: string;
|
|
72
|
+
barWidth: string;
|
|
73
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
74
|
+
type RiskIndicatorVariantProps = VariantProps<typeof riskIndicator>;
|
|
75
|
+
|
|
76
|
+
export { type RiskIndicatorVariantProps, riskIndicator };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const riskIndicator: tailwind_variants.TVReturnType<{
|
|
5
|
+
level: {
|
|
6
|
+
none: string;
|
|
7
|
+
low: string;
|
|
8
|
+
medium: string;
|
|
9
|
+
high: string;
|
|
10
|
+
};
|
|
11
|
+
size: {
|
|
12
|
+
sm: string;
|
|
13
|
+
md: string;
|
|
14
|
+
lg: string;
|
|
15
|
+
};
|
|
16
|
+
}, {
|
|
17
|
+
base: string;
|
|
18
|
+
bar: string;
|
|
19
|
+
barLow: string;
|
|
20
|
+
barMedium: string;
|
|
21
|
+
barHigh: string;
|
|
22
|
+
barInactive: string;
|
|
23
|
+
barHeight1: string;
|
|
24
|
+
barHeight2: string;
|
|
25
|
+
barHeight3: string;
|
|
26
|
+
barWidth: string;
|
|
27
|
+
}, undefined, {
|
|
28
|
+
level: {
|
|
29
|
+
none: string;
|
|
30
|
+
low: string;
|
|
31
|
+
medium: string;
|
|
32
|
+
high: string;
|
|
33
|
+
};
|
|
34
|
+
size: {
|
|
35
|
+
sm: string;
|
|
36
|
+
md: string;
|
|
37
|
+
lg: string;
|
|
38
|
+
};
|
|
39
|
+
}, {
|
|
40
|
+
base: string;
|
|
41
|
+
bar: string;
|
|
42
|
+
barLow: string;
|
|
43
|
+
barMedium: string;
|
|
44
|
+
barHigh: string;
|
|
45
|
+
barInactive: string;
|
|
46
|
+
barHeight1: string;
|
|
47
|
+
barHeight2: string;
|
|
48
|
+
barHeight3: string;
|
|
49
|
+
barWidth: string;
|
|
50
|
+
}, tailwind_variants.TVReturnType<{
|
|
51
|
+
level: {
|
|
52
|
+
none: string;
|
|
53
|
+
low: string;
|
|
54
|
+
medium: string;
|
|
55
|
+
high: string;
|
|
56
|
+
};
|
|
57
|
+
size: {
|
|
58
|
+
sm: string;
|
|
59
|
+
md: string;
|
|
60
|
+
lg: string;
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
base: string;
|
|
64
|
+
bar: string;
|
|
65
|
+
barLow: string;
|
|
66
|
+
barMedium: string;
|
|
67
|
+
barHigh: string;
|
|
68
|
+
barInactive: string;
|
|
69
|
+
barHeight1: string;
|
|
70
|
+
barHeight2: string;
|
|
71
|
+
barHeight3: string;
|
|
72
|
+
barWidth: string;
|
|
73
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
74
|
+
type RiskIndicatorVariantProps = VariantProps<typeof riskIndicator>;
|
|
75
|
+
|
|
76
|
+
export { type RiskIndicatorVariantProps, riskIndicator };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/risk-indicator.ts
|
|
21
|
+
var risk_indicator_exports = {};
|
|
22
|
+
__export(risk_indicator_exports, {
|
|
23
|
+
riskIndicator: () => riskIndicator
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(risk_indicator_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var riskIndicator = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
base: "flex items-end gap-0.5",
|
|
30
|
+
bar: "rounded-sm",
|
|
31
|
+
barLow: "bg-green-500",
|
|
32
|
+
barMedium: "bg-yellow-500",
|
|
33
|
+
barHigh: "bg-red-500",
|
|
34
|
+
barInactive: "bg-gray-200",
|
|
35
|
+
barHeight1: "h-1/3",
|
|
36
|
+
barHeight2: "h-2/3",
|
|
37
|
+
barHeight3: "h-full",
|
|
38
|
+
barWidth: "w-1"
|
|
39
|
+
},
|
|
40
|
+
variants: {
|
|
41
|
+
level: {
|
|
42
|
+
none: "",
|
|
43
|
+
low: "",
|
|
44
|
+
medium: "",
|
|
45
|
+
high: ""
|
|
46
|
+
},
|
|
47
|
+
size: {
|
|
48
|
+
sm: "h-3",
|
|
49
|
+
md: "h-4",
|
|
50
|
+
lg: "h-5"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
defaultVariants: {
|
|
54
|
+
level: "none",
|
|
55
|
+
size: "md"
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
59
|
+
0 && (module.exports = {
|
|
60
|
+
riskIndicator
|
|
61
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const separator: tailwind_variants.TVReturnType<{
|
|
5
|
+
orientation: {
|
|
6
|
+
vertical: string;
|
|
7
|
+
horizontal: string;
|
|
8
|
+
};
|
|
9
|
+
}, undefined, "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", {
|
|
10
|
+
orientation: {
|
|
11
|
+
vertical: string;
|
|
12
|
+
horizontal: string;
|
|
13
|
+
};
|
|
14
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
15
|
+
orientation: {
|
|
16
|
+
vertical: string;
|
|
17
|
+
horizontal: string;
|
|
18
|
+
};
|
|
19
|
+
}, undefined, "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", unknown, unknown, undefined>>;
|
|
20
|
+
type SeparatorVariantProps = VariantProps<typeof separator>;
|
|
21
|
+
|
|
22
|
+
export { type SeparatorVariantProps, separator };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const separator: tailwind_variants.TVReturnType<{
|
|
5
|
+
orientation: {
|
|
6
|
+
vertical: string;
|
|
7
|
+
horizontal: string;
|
|
8
|
+
};
|
|
9
|
+
}, undefined, "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", {
|
|
10
|
+
orientation: {
|
|
11
|
+
vertical: string;
|
|
12
|
+
horizontal: string;
|
|
13
|
+
};
|
|
14
|
+
}, undefined, tailwind_variants.TVReturnType<{
|
|
15
|
+
orientation: {
|
|
16
|
+
vertical: string;
|
|
17
|
+
horizontal: string;
|
|
18
|
+
};
|
|
19
|
+
}, undefined, "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", unknown, unknown, undefined>>;
|
|
20
|
+
type SeparatorVariantProps = VariantProps<typeof separator>;
|
|
21
|
+
|
|
22
|
+
export { type SeparatorVariantProps, separator };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/components/separator.ts
|
|
21
|
+
var separator_exports = {};
|
|
22
|
+
__export(separator_exports, {
|
|
23
|
+
separator: () => separator
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(separator_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var separator = (0, import_tailwind_variants.tv)({
|
|
28
|
+
base: "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
29
|
+
variants: {
|
|
30
|
+
orientation: {
|
|
31
|
+
vertical: "",
|
|
32
|
+
horizontal: ""
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
separator
|
|
39
|
+
});
|