@kopexa/theme 2.0.0 → 13.0.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-NFOF75HQ.mjs → chunk-2N3PG3TK.mjs} +1 -1
- package/dist/chunk-2NA54PNL.mjs +43 -0
- package/dist/{chunk-7O57EDVS.mjs → chunk-63C4SFQK.mjs} +20 -10
- package/dist/{chunk-5DOB3IBE.mjs → chunk-6IZPAS4O.mjs} +5 -0
- package/dist/{chunk-GA6UOB2D.mjs → chunk-7POAXCN2.mjs} +1 -1
- package/dist/{chunk-XAHAVJUM.mjs → chunk-A3F4CV54.mjs} +8 -1
- package/dist/{chunk-M3GQ563Q.mjs → chunk-ARLLAC5V.mjs} +1 -1
- package/dist/{chunk-Z7D56R5U.mjs → chunk-CWAFYX5G.mjs} +2 -2
- package/dist/{chunk-IHITEH7V.mjs → chunk-IX46TOS3.mjs} +1 -1
- package/dist/{chunk-IHW4FWFB.mjs → chunk-K3EVZATS.mjs} +1 -1
- package/dist/chunk-M4TXKRUU.mjs +7 -0
- package/dist/{chunk-URGRCBNW.mjs → chunk-NNKYGAZC.mjs} +1 -1
- package/dist/chunk-NUEQ5FLX.mjs +50 -0
- package/dist/{chunk-HHOMDBMZ.mjs → chunk-SYYY32OX.mjs} +1 -1
- package/dist/{chunk-DI54XTS5.mjs → chunk-TQVRNEIH.mjs} +1 -1
- package/dist/chunk-URVHE3OS.mjs +119 -0
- package/dist/{chunk-XRKUQMGU.mjs → chunk-UTCVHVWF.mjs} +1 -1
- package/dist/{chunk-YH6TDPK7.mjs → chunk-VDMXPFII.mjs} +1 -1
- package/dist/chunk-WQ446TVH.mjs +39 -0
- package/dist/components/autocomplete.js +5 -0
- package/dist/components/autocomplete.mjs +3 -3
- package/dist/components/avatar.mjs +2 -2
- package/dist/components/button.mjs +2 -2
- package/dist/components/callout.d.mts +18 -0
- package/dist/components/callout.d.ts +18 -0
- package/dist/components/callout.js +8 -1
- package/dist/components/callout.mjs +1 -1
- package/dist/components/card.d.mts +27 -0
- package/dist/components/card.d.ts +27 -0
- package/dist/components/card.js +20 -10
- package/dist/components/card.mjs +1 -1
- package/dist/components/combobox.d.mts +142 -0
- package/dist/components/combobox.d.ts +142 -0
- package/dist/components/combobox.js +228 -0
- package/dist/components/combobox.mjs +8 -0
- package/dist/components/command.d.mts +3 -3
- package/dist/components/command.d.ts +3 -3
- package/dist/components/control-extension.d.mts +5 -0
- package/dist/components/control-extension.d.ts +5 -0
- package/dist/components/control-extension.js +31 -0
- package/dist/components/control-extension.mjs +6 -0
- package/dist/components/editor-basic.d.mts +21 -4
- package/dist/components/editor-basic.d.ts +21 -4
- package/dist/components/editor-basic.js +21 -5
- package/dist/components/editor-basic.mjs +1 -1
- package/dist/components/hover-card.mjs +2 -2
- package/dist/components/index.d.mts +4 -1
- package/dist/components/index.d.ts +4 -1
- package/dist/components/index.js +321 -104
- package/dist/components/index.mjs +54 -42
- package/dist/components/input.js +5 -0
- package/dist/components/input.mjs +2 -2
- package/dist/components/integration-card.d.mts +3 -3
- package/dist/components/integration-card.d.ts +3 -3
- package/dist/components/popover.mjs +2 -2
- package/dist/components/select.js +5 -0
- package/dist/components/select.mjs +2 -2
- package/dist/components/sidebar.js +1 -1
- package/dist/components/sidebar.mjs +1 -1
- package/dist/components/skeleton-avatar.mjs +3 -3
- package/dist/components/slash-dropdown-menu.mjs +2 -2
- package/dist/components/switch.d.mts +62 -0
- package/dist/components/switch.d.ts +62 -0
- package/dist/components/switch.js +63 -0
- package/dist/components/switch.mjs +6 -0
- package/dist/components/textarea.js +5 -0
- package/dist/components/textarea.mjs +2 -2
- package/dist/components/toolbar.d.mts +57 -0
- package/dist/components/toolbar.d.ts +57 -0
- package/dist/components/toolbar.js +24 -3
- package/dist/components/toolbar.mjs +1 -1
- package/dist/editor.css +62 -7
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +321 -104
- package/dist/index.mjs +54 -42
- package/dist/utils/classes.d.mts +5 -0
- package/dist/utils/classes.d.ts +5 -0
- package/dist/utils/classes.js +5 -0
- package/dist/utils/classes.mjs +1 -1
- package/package.json +6 -6
- package/dist/chunk-BWB7MWRC.mjs +0 -22
- package/dist/chunk-GRPMKEI2.mjs +0 -34
- /package/dist/{chunk-UWWO4AVU.mjs → chunk-XMLRBNOG.mjs} +0 -0
|
@@ -1,13 +1,28 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-XMLRBNOG.mjs";
|
|
2
|
+
import {
|
|
3
|
+
table
|
|
4
|
+
} from "../chunk-YC2FQDBV.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tabs
|
|
7
|
+
} from "../chunk-I6M4S2KZ.mjs";
|
|
8
|
+
import {
|
|
9
|
+
textarea
|
|
10
|
+
} from "../chunk-ARLLAC5V.mjs";
|
|
2
11
|
import {
|
|
3
12
|
toolbar
|
|
4
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-2NA54PNL.mjs";
|
|
5
14
|
import {
|
|
6
15
|
tooltip
|
|
7
16
|
} from "../chunk-OLYO7UPH.mjs";
|
|
17
|
+
import {
|
|
18
|
+
skeletonAvatar
|
|
19
|
+
} from "../chunk-SYYY32OX.mjs";
|
|
20
|
+
import {
|
|
21
|
+
skeleton
|
|
22
|
+
} from "../chunk-VNQEJU4P.mjs";
|
|
8
23
|
import {
|
|
9
24
|
slashDropdownMenu
|
|
10
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-NNKYGAZC.mjs";
|
|
11
26
|
import {
|
|
12
27
|
spinner
|
|
13
28
|
} from "../chunk-4UDOCFU5.mjs";
|
|
@@ -17,18 +32,18 @@ import {
|
|
|
17
32
|
import {
|
|
18
33
|
standardChip
|
|
19
34
|
} from "../chunk-7VZZASRG.mjs";
|
|
35
|
+
import {
|
|
36
|
+
switchVariants
|
|
37
|
+
} from "../chunk-WQ446TVH.mjs";
|
|
20
38
|
import {
|
|
21
39
|
tabNav
|
|
22
40
|
} from "../chunk-ZLM6Z3W2.mjs";
|
|
23
41
|
import {
|
|
24
|
-
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import {
|
|
27
|
-
tabs
|
|
28
|
-
} from "../chunk-I6M4S2KZ.mjs";
|
|
42
|
+
resizable
|
|
43
|
+
} from "../chunk-RV656WRF.mjs";
|
|
29
44
|
import {
|
|
30
|
-
|
|
31
|
-
} from "../chunk-
|
|
45
|
+
riskBadge
|
|
46
|
+
} from "../chunk-V2J5XG34.mjs";
|
|
32
47
|
import {
|
|
33
48
|
riskIndicator
|
|
34
49
|
} from "../chunk-CZMZHA7U.mjs";
|
|
@@ -40,7 +55,7 @@ import {
|
|
|
40
55
|
} from "../chunk-I4ZIT7EK.mjs";
|
|
41
56
|
import {
|
|
42
57
|
select
|
|
43
|
-
} from "../chunk-
|
|
58
|
+
} from "../chunk-2N3PG3TK.mjs";
|
|
44
59
|
import {
|
|
45
60
|
separator
|
|
46
61
|
} from "../chunk-LM7MKBHT.mjs";
|
|
@@ -48,13 +63,13 @@ import {
|
|
|
48
63
|
sidebar,
|
|
49
64
|
sidebarMenuAction,
|
|
50
65
|
sidebarMenuButton
|
|
51
|
-
} from "../chunk-
|
|
66
|
+
} from "../chunk-7POAXCN2.mjs";
|
|
52
67
|
import {
|
|
53
|
-
|
|
54
|
-
} from "../chunk-
|
|
68
|
+
integrationCard
|
|
69
|
+
} from "../chunk-QOW6FLZ6.mjs";
|
|
55
70
|
import {
|
|
56
|
-
|
|
57
|
-
} from "../chunk-
|
|
71
|
+
kbd
|
|
72
|
+
} from "../chunk-BETLBSSF.mjs";
|
|
58
73
|
import {
|
|
59
74
|
label
|
|
60
75
|
} from "../chunk-LMCM4CW2.mjs";
|
|
@@ -66,7 +81,7 @@ import {
|
|
|
66
81
|
} from "../chunk-OULAICSC.mjs";
|
|
67
82
|
import {
|
|
68
83
|
popover
|
|
69
|
-
} from "../chunk-
|
|
84
|
+
} from "../chunk-TQVRNEIH.mjs";
|
|
70
85
|
import {
|
|
71
86
|
previewCard
|
|
72
87
|
} from "../chunk-WPOYEHD2.mjs";
|
|
@@ -74,17 +89,17 @@ import {
|
|
|
74
89
|
relatedControlChip
|
|
75
90
|
} from "../chunk-7BZAMXH2.mjs";
|
|
76
91
|
import {
|
|
77
|
-
|
|
78
|
-
} from "../chunk-
|
|
92
|
+
editorSpinner
|
|
93
|
+
} from "../chunk-TVC4THD6.mjs";
|
|
79
94
|
import {
|
|
80
|
-
|
|
81
|
-
} from "../chunk-
|
|
95
|
+
frameworkRow
|
|
96
|
+
} from "../chunk-TPFAZH22.mjs";
|
|
82
97
|
import {
|
|
83
98
|
heading
|
|
84
99
|
} from "../chunk-NWKBPO37.mjs";
|
|
85
100
|
import {
|
|
86
101
|
hoverCard
|
|
87
|
-
} from "../chunk-
|
|
102
|
+
} from "../chunk-UTCVHVWF.mjs";
|
|
88
103
|
import {
|
|
89
104
|
inputGroup
|
|
90
105
|
} from "../chunk-HWEYNK3O.mjs";
|
|
@@ -92,11 +107,11 @@ import {
|
|
|
92
107
|
inputWrapper
|
|
93
108
|
} from "../chunk-VSVGOX3P.mjs";
|
|
94
109
|
import {
|
|
95
|
-
|
|
96
|
-
} from "../chunk-
|
|
110
|
+
command
|
|
111
|
+
} from "../chunk-YPHFKGNI.mjs";
|
|
97
112
|
import {
|
|
98
|
-
|
|
99
|
-
} from "../chunk-
|
|
113
|
+
controlExtension
|
|
114
|
+
} from "../chunk-M4TXKRUU.mjs";
|
|
100
115
|
import {
|
|
101
116
|
datagrid
|
|
102
117
|
} from "../chunk-45KIKY4A.mjs";
|
|
@@ -114,22 +129,16 @@ import {
|
|
|
114
129
|
} from "../chunk-3PCDCW7G.mjs";
|
|
115
130
|
import {
|
|
116
131
|
editorBasic
|
|
117
|
-
} from "../chunk-
|
|
118
|
-
import {
|
|
119
|
-
editorSpinner
|
|
120
|
-
} from "../chunk-TVC4THD6.mjs";
|
|
121
|
-
import {
|
|
122
|
-
frameworkRow
|
|
123
|
-
} from "../chunk-TPFAZH22.mjs";
|
|
132
|
+
} from "../chunk-NUEQ5FLX.mjs";
|
|
124
133
|
import {
|
|
125
134
|
calendar
|
|
126
135
|
} from "../chunk-JWF5ABNP.mjs";
|
|
127
136
|
import {
|
|
128
137
|
callout
|
|
129
|
-
} from "../chunk-
|
|
138
|
+
} from "../chunk-A3F4CV54.mjs";
|
|
130
139
|
import {
|
|
131
140
|
card
|
|
132
|
-
} from "../chunk-
|
|
141
|
+
} from "../chunk-63C4SFQK.mjs";
|
|
133
142
|
import {
|
|
134
143
|
checkbox
|
|
135
144
|
} from "../chunk-A4KO7QKC.mjs";
|
|
@@ -143,8 +152,8 @@ import {
|
|
|
143
152
|
colorHighlightButton
|
|
144
153
|
} from "../chunk-CPERWXKN.mjs";
|
|
145
154
|
import {
|
|
146
|
-
|
|
147
|
-
} from "../chunk-
|
|
155
|
+
combobox
|
|
156
|
+
} from "../chunk-URVHE3OS.mjs";
|
|
148
157
|
import {
|
|
149
158
|
accordion
|
|
150
159
|
} from "../chunk-TLCFFCOP.mjs";
|
|
@@ -153,25 +162,25 @@ import {
|
|
|
153
162
|
} from "../chunk-XGUDXC5P.mjs";
|
|
154
163
|
import {
|
|
155
164
|
autocomplete
|
|
156
|
-
} from "../chunk-
|
|
165
|
+
} from "../chunk-CWAFYX5G.mjs";
|
|
157
166
|
import {
|
|
158
167
|
input,
|
|
159
168
|
passwordInput
|
|
160
|
-
} from "../chunk-
|
|
169
|
+
} from "../chunk-K3EVZATS.mjs";
|
|
161
170
|
import {
|
|
162
171
|
avatarGroup
|
|
163
172
|
} from "../chunk-XCLEKBCJ.mjs";
|
|
164
173
|
import {
|
|
165
174
|
avatar
|
|
166
|
-
} from "../chunk-
|
|
175
|
+
} from "../chunk-VDMXPFII.mjs";
|
|
167
176
|
import {
|
|
168
177
|
blankstate
|
|
169
178
|
} from "../chunk-DICHD74Q.mjs";
|
|
170
179
|
import {
|
|
171
180
|
button
|
|
172
|
-
} from "../chunk-
|
|
181
|
+
} from "../chunk-IX46TOS3.mjs";
|
|
173
182
|
import "../chunk-WSEO3MLK.mjs";
|
|
174
|
-
import "../chunk-
|
|
183
|
+
import "../chunk-6IZPAS4O.mjs";
|
|
175
184
|
export {
|
|
176
185
|
accordion,
|
|
177
186
|
alertDialog,
|
|
@@ -187,7 +196,9 @@ export {
|
|
|
187
196
|
chip,
|
|
188
197
|
code,
|
|
189
198
|
colorHighlightButton,
|
|
199
|
+
combobox,
|
|
190
200
|
command,
|
|
201
|
+
controlExtension,
|
|
191
202
|
dataTable,
|
|
192
203
|
datagrid,
|
|
193
204
|
dialog,
|
|
@@ -226,6 +237,7 @@ export {
|
|
|
226
237
|
spinner,
|
|
227
238
|
splitPageLayout,
|
|
228
239
|
standardChip,
|
|
240
|
+
switchVariants,
|
|
229
241
|
tabNav,
|
|
230
242
|
table,
|
|
231
243
|
tabs,
|
package/dist/components/input.js
CHANGED
|
@@ -9,9 +9,9 @@ declare const integrationCard: tailwind_variants.TVReturnType<{
|
|
|
9
9
|
header?: tailwind_merge.ClassNameValue;
|
|
10
10
|
footer?: tailwind_merge.ClassNameValue;
|
|
11
11
|
description?: tailwind_merge.ClassNameValue;
|
|
12
|
+
heading?: tailwind_merge.ClassNameValue;
|
|
12
13
|
headerContent?: tailwind_merge.ClassNameValue;
|
|
13
14
|
headingContainer?: tailwind_merge.ClassNameValue;
|
|
14
|
-
heading?: tailwind_merge.ClassNameValue;
|
|
15
15
|
statusIndicatorContainer?: tailwind_merge.ClassNameValue;
|
|
16
16
|
tagsContainer?: tailwind_merge.ClassNameValue;
|
|
17
17
|
version?: tailwind_merge.ClassNameValue;
|
|
@@ -28,9 +28,9 @@ declare const integrationCard: tailwind_variants.TVReturnType<{
|
|
|
28
28
|
header?: tailwind_merge.ClassNameValue;
|
|
29
29
|
footer?: tailwind_merge.ClassNameValue;
|
|
30
30
|
description?: tailwind_merge.ClassNameValue;
|
|
31
|
+
heading?: tailwind_merge.ClassNameValue;
|
|
31
32
|
headerContent?: tailwind_merge.ClassNameValue;
|
|
32
33
|
headingContainer?: tailwind_merge.ClassNameValue;
|
|
33
|
-
heading?: tailwind_merge.ClassNameValue;
|
|
34
34
|
statusIndicatorContainer?: tailwind_merge.ClassNameValue;
|
|
35
35
|
tagsContainer?: tailwind_merge.ClassNameValue;
|
|
36
36
|
version?: tailwind_merge.ClassNameValue;
|
|
@@ -62,9 +62,9 @@ declare const integrationCard: tailwind_variants.TVReturnType<{
|
|
|
62
62
|
header?: tailwind_merge.ClassNameValue;
|
|
63
63
|
footer?: tailwind_merge.ClassNameValue;
|
|
64
64
|
description?: tailwind_merge.ClassNameValue;
|
|
65
|
+
heading?: tailwind_merge.ClassNameValue;
|
|
65
66
|
headerContent?: tailwind_merge.ClassNameValue;
|
|
66
67
|
headingContainer?: tailwind_merge.ClassNameValue;
|
|
67
|
-
heading?: tailwind_merge.ClassNameValue;
|
|
68
68
|
statusIndicatorContainer?: tailwind_merge.ClassNameValue;
|
|
69
69
|
tagsContainer?: tailwind_merge.ClassNameValue;
|
|
70
70
|
version?: tailwind_merge.ClassNameValue;
|
|
@@ -9,9 +9,9 @@ declare const integrationCard: tailwind_variants.TVReturnType<{
|
|
|
9
9
|
header?: tailwind_merge.ClassNameValue;
|
|
10
10
|
footer?: tailwind_merge.ClassNameValue;
|
|
11
11
|
description?: tailwind_merge.ClassNameValue;
|
|
12
|
+
heading?: tailwind_merge.ClassNameValue;
|
|
12
13
|
headerContent?: tailwind_merge.ClassNameValue;
|
|
13
14
|
headingContainer?: tailwind_merge.ClassNameValue;
|
|
14
|
-
heading?: tailwind_merge.ClassNameValue;
|
|
15
15
|
statusIndicatorContainer?: tailwind_merge.ClassNameValue;
|
|
16
16
|
tagsContainer?: tailwind_merge.ClassNameValue;
|
|
17
17
|
version?: tailwind_merge.ClassNameValue;
|
|
@@ -28,9 +28,9 @@ declare const integrationCard: tailwind_variants.TVReturnType<{
|
|
|
28
28
|
header?: tailwind_merge.ClassNameValue;
|
|
29
29
|
footer?: tailwind_merge.ClassNameValue;
|
|
30
30
|
description?: tailwind_merge.ClassNameValue;
|
|
31
|
+
heading?: tailwind_merge.ClassNameValue;
|
|
31
32
|
headerContent?: tailwind_merge.ClassNameValue;
|
|
32
33
|
headingContainer?: tailwind_merge.ClassNameValue;
|
|
33
|
-
heading?: tailwind_merge.ClassNameValue;
|
|
34
34
|
statusIndicatorContainer?: tailwind_merge.ClassNameValue;
|
|
35
35
|
tagsContainer?: tailwind_merge.ClassNameValue;
|
|
36
36
|
version?: tailwind_merge.ClassNameValue;
|
|
@@ -62,9 +62,9 @@ declare const integrationCard: tailwind_variants.TVReturnType<{
|
|
|
62
62
|
header?: tailwind_merge.ClassNameValue;
|
|
63
63
|
footer?: tailwind_merge.ClassNameValue;
|
|
64
64
|
description?: tailwind_merge.ClassNameValue;
|
|
65
|
+
heading?: tailwind_merge.ClassNameValue;
|
|
65
66
|
headerContent?: tailwind_merge.ClassNameValue;
|
|
66
67
|
headingContainer?: tailwind_merge.ClassNameValue;
|
|
67
|
-
heading?: tailwind_merge.ClassNameValue;
|
|
68
68
|
statusIndicatorContainer?: tailwind_merge.ClassNameValue;
|
|
69
69
|
tagsContainer?: tailwind_merge.ClassNameValue;
|
|
70
70
|
version?: tailwind_merge.ClassNameValue;
|
|
@@ -33,7 +33,7 @@ var sidebar = (0, import_tailwind_variants.tv)({
|
|
|
33
33
|
],
|
|
34
34
|
sidebarWrapper: ["group peer text-sidebar-foreground hidden md:block"],
|
|
35
35
|
sidebar: [
|
|
36
|
-
"bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col"
|
|
36
|
+
"bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col isolate"
|
|
37
37
|
],
|
|
38
38
|
gap: [
|
|
39
39
|
"relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
skeletonAvatar
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-SYYY32OX.mjs";
|
|
4
|
+
import "../chunk-VDMXPFII.mjs";
|
|
5
5
|
import "../chunk-WSEO3MLK.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-6IZPAS4O.mjs";
|
|
7
7
|
export {
|
|
8
8
|
skeletonAvatar
|
|
9
9
|
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
sm: {
|
|
7
|
+
root: string;
|
|
8
|
+
thumb: string;
|
|
9
|
+
};
|
|
10
|
+
md: {
|
|
11
|
+
root: string;
|
|
12
|
+
thumb: string;
|
|
13
|
+
};
|
|
14
|
+
lg: {
|
|
15
|
+
root: string;
|
|
16
|
+
thumb: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
root: string[];
|
|
21
|
+
thumb: string[];
|
|
22
|
+
}, undefined, {
|
|
23
|
+
size: {
|
|
24
|
+
sm: {
|
|
25
|
+
root: string;
|
|
26
|
+
thumb: string;
|
|
27
|
+
};
|
|
28
|
+
md: {
|
|
29
|
+
root: string;
|
|
30
|
+
thumb: string;
|
|
31
|
+
};
|
|
32
|
+
lg: {
|
|
33
|
+
root: string;
|
|
34
|
+
thumb: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
root: string[];
|
|
39
|
+
thumb: string[];
|
|
40
|
+
}, tailwind_variants.TVReturnType<{
|
|
41
|
+
size: {
|
|
42
|
+
sm: {
|
|
43
|
+
root: string;
|
|
44
|
+
thumb: string;
|
|
45
|
+
};
|
|
46
|
+
md: {
|
|
47
|
+
root: string;
|
|
48
|
+
thumb: string;
|
|
49
|
+
};
|
|
50
|
+
lg: {
|
|
51
|
+
root: string;
|
|
52
|
+
thumb: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
root: string[];
|
|
57
|
+
thumb: string[];
|
|
58
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
59
|
+
type SwitchVariantProps = VariantProps<typeof switchVariants>;
|
|
60
|
+
type SwitchSlots = keyof ReturnType<typeof switchVariants>;
|
|
61
|
+
|
|
62
|
+
export { type SwitchSlots, type SwitchVariantProps, switchVariants };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
declare const switchVariants: tailwind_variants.TVReturnType<{
|
|
5
|
+
size: {
|
|
6
|
+
sm: {
|
|
7
|
+
root: string;
|
|
8
|
+
thumb: string;
|
|
9
|
+
};
|
|
10
|
+
md: {
|
|
11
|
+
root: string;
|
|
12
|
+
thumb: string;
|
|
13
|
+
};
|
|
14
|
+
lg: {
|
|
15
|
+
root: string;
|
|
16
|
+
thumb: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}, {
|
|
20
|
+
root: string[];
|
|
21
|
+
thumb: string[];
|
|
22
|
+
}, undefined, {
|
|
23
|
+
size: {
|
|
24
|
+
sm: {
|
|
25
|
+
root: string;
|
|
26
|
+
thumb: string;
|
|
27
|
+
};
|
|
28
|
+
md: {
|
|
29
|
+
root: string;
|
|
30
|
+
thumb: string;
|
|
31
|
+
};
|
|
32
|
+
lg: {
|
|
33
|
+
root: string;
|
|
34
|
+
thumb: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
root: string[];
|
|
39
|
+
thumb: string[];
|
|
40
|
+
}, tailwind_variants.TVReturnType<{
|
|
41
|
+
size: {
|
|
42
|
+
sm: {
|
|
43
|
+
root: string;
|
|
44
|
+
thumb: string;
|
|
45
|
+
};
|
|
46
|
+
md: {
|
|
47
|
+
root: string;
|
|
48
|
+
thumb: string;
|
|
49
|
+
};
|
|
50
|
+
lg: {
|
|
51
|
+
root: string;
|
|
52
|
+
thumb: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
root: string[];
|
|
57
|
+
thumb: string[];
|
|
58
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
59
|
+
type SwitchVariantProps = VariantProps<typeof switchVariants>;
|
|
60
|
+
type SwitchSlots = keyof ReturnType<typeof switchVariants>;
|
|
61
|
+
|
|
62
|
+
export { type SwitchSlots, type SwitchVariantProps, switchVariants };
|
|
@@ -0,0 +1,63 @@
|
|
|
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/switch.ts
|
|
21
|
+
var switch_exports = {};
|
|
22
|
+
__export(switch_exports, {
|
|
23
|
+
switchVariants: () => switchVariants
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(switch_exports);
|
|
26
|
+
var import_tailwind_variants = require("tailwind-variants");
|
|
27
|
+
var switchVariants = (0, import_tailwind_variants.tv)({
|
|
28
|
+
slots: {
|
|
29
|
+
root: [
|
|
30
|
+
"peer data-[checked]:bg-primary data-[unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[unchecked]:bg-input/80",
|
|
31
|
+
"aria-invalid:border-destructive/60 aria-invalid:ring-destructive/10 dark:aria-invalid:border-destructive dark:aria-invalid:ring-destructive/20",
|
|
32
|
+
"inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px]",
|
|
33
|
+
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
34
|
+
],
|
|
35
|
+
thumb: [
|
|
36
|
+
"bg-background dark:data-[unchecked]:bg-foreground dark:data-[checked]:bg-primary-foreground",
|
|
37
|
+
"pointer-events-none rounded-full ring-0 transition-transform flex items-center justify-center"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
variants: {
|
|
41
|
+
size: {
|
|
42
|
+
sm: {
|
|
43
|
+
root: "h-4 w-6",
|
|
44
|
+
thumb: "size-3 data-[checked]:translate-x-[calc(100%-2px)] data-[unchecked]:translate-x-0"
|
|
45
|
+
},
|
|
46
|
+
md: {
|
|
47
|
+
root: "h-5 w-8",
|
|
48
|
+
thumb: "size-4 data-[checked]:translate-x-[calc(100%-2px)] data-[unchecked]:translate-x-0"
|
|
49
|
+
},
|
|
50
|
+
lg: {
|
|
51
|
+
root: "h-6 w-10",
|
|
52
|
+
thumb: "size-5 data-[checked]:translate-x-[calc(100%-2px)] data-[unchecked]:translate-x-0"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
defaultVariants: {
|
|
57
|
+
size: "md"
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
61
|
+
0 && (module.exports = {
|
|
62
|
+
switchVariants
|
|
63
|
+
});
|
|
@@ -3,7 +3,26 @@ import { VariantProps } from 'tailwind-variants';
|
|
|
3
3
|
|
|
4
4
|
declare const toolbar: tailwind_variants.TVReturnType<{
|
|
5
5
|
color: {
|
|
6
|
+
default: {
|
|
7
|
+
root: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
sticky: {
|
|
11
|
+
true: {
|
|
12
|
+
root: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
border: {
|
|
6
16
|
default: string;
|
|
17
|
+
none: string;
|
|
18
|
+
};
|
|
19
|
+
radius: {
|
|
20
|
+
none: {
|
|
21
|
+
root: string;
|
|
22
|
+
};
|
|
23
|
+
md: {
|
|
24
|
+
root: string;
|
|
25
|
+
};
|
|
7
26
|
};
|
|
8
27
|
}, {
|
|
9
28
|
root: string;
|
|
@@ -12,7 +31,26 @@ declare const toolbar: tailwind_variants.TVReturnType<{
|
|
|
12
31
|
group: string;
|
|
13
32
|
}, undefined, {
|
|
14
33
|
color: {
|
|
34
|
+
default: {
|
|
35
|
+
root: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
sticky: {
|
|
39
|
+
true: {
|
|
40
|
+
root: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
border: {
|
|
15
44
|
default: string;
|
|
45
|
+
none: string;
|
|
46
|
+
};
|
|
47
|
+
radius: {
|
|
48
|
+
none: {
|
|
49
|
+
root: string;
|
|
50
|
+
};
|
|
51
|
+
md: {
|
|
52
|
+
root: string;
|
|
53
|
+
};
|
|
16
54
|
};
|
|
17
55
|
}, {
|
|
18
56
|
root: string;
|
|
@@ -21,7 +59,26 @@ declare const toolbar: tailwind_variants.TVReturnType<{
|
|
|
21
59
|
group: string;
|
|
22
60
|
}, tailwind_variants.TVReturnType<{
|
|
23
61
|
color: {
|
|
62
|
+
default: {
|
|
63
|
+
root: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
sticky: {
|
|
67
|
+
true: {
|
|
68
|
+
root: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
border: {
|
|
24
72
|
default: string;
|
|
73
|
+
none: string;
|
|
74
|
+
};
|
|
75
|
+
radius: {
|
|
76
|
+
none: {
|
|
77
|
+
root: string;
|
|
78
|
+
};
|
|
79
|
+
md: {
|
|
80
|
+
root: string;
|
|
81
|
+
};
|
|
25
82
|
};
|
|
26
83
|
}, {
|
|
27
84
|
root: string;
|