@kopexa/theme 1.0.0 → 1.2.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.
@@ -0,0 +1,274 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const spinner: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ wrapper: string;
8
+ circle1: string;
9
+ circle2: string;
10
+ dots: string;
11
+ label: string;
12
+ };
13
+ md: {
14
+ wrapper: string;
15
+ circle1: string;
16
+ circle2: string;
17
+ dots: string;
18
+ label: string;
19
+ };
20
+ lg: {
21
+ wrapper: string;
22
+ circle1: string;
23
+ circle2: string;
24
+ dots: string;
25
+ label: string;
26
+ };
27
+ };
28
+ color: {
29
+ current: {
30
+ circle1: string;
31
+ circle2: string;
32
+ dots: string;
33
+ spinnerBars: string;
34
+ };
35
+ white: {
36
+ circle1: string;
37
+ circle2: string;
38
+ dots: string;
39
+ spinnerBars: string;
40
+ };
41
+ primary: {
42
+ circle1: string;
43
+ circle2: string;
44
+ dots: string;
45
+ spinnerBars: string;
46
+ };
47
+ secondary: {
48
+ circle1: string;
49
+ circle2: string;
50
+ dots: string;
51
+ spinnerBars: string;
52
+ };
53
+ success: {
54
+ circle1: string;
55
+ circle2: string;
56
+ dots: string;
57
+ spinnerBars: string;
58
+ };
59
+ warning: {
60
+ circle1: string;
61
+ circle2: string;
62
+ dots: string;
63
+ spinnerBars: string;
64
+ };
65
+ danger: {
66
+ circle1: string;
67
+ circle2: string;
68
+ dots: string;
69
+ spinnerBars: string;
70
+ };
71
+ };
72
+ variant: {
73
+ default: {
74
+ circle1: string[];
75
+ circle2: string[];
76
+ };
77
+ wave: {
78
+ wrapper: string;
79
+ dots: string[];
80
+ };
81
+ dots: {
82
+ wrapper: string;
83
+ dots: string[];
84
+ };
85
+ };
86
+ }, {
87
+ base: string;
88
+ wrapper: string;
89
+ label: string;
90
+ circle1: string;
91
+ circle2: string;
92
+ dots: string;
93
+ }, undefined, {
94
+ size: {
95
+ sm: {
96
+ wrapper: string;
97
+ circle1: string;
98
+ circle2: string;
99
+ dots: string;
100
+ label: string;
101
+ };
102
+ md: {
103
+ wrapper: string;
104
+ circle1: string;
105
+ circle2: string;
106
+ dots: string;
107
+ label: string;
108
+ };
109
+ lg: {
110
+ wrapper: string;
111
+ circle1: string;
112
+ circle2: string;
113
+ dots: string;
114
+ label: string;
115
+ };
116
+ };
117
+ color: {
118
+ current: {
119
+ circle1: string;
120
+ circle2: string;
121
+ dots: string;
122
+ spinnerBars: string;
123
+ };
124
+ white: {
125
+ circle1: string;
126
+ circle2: string;
127
+ dots: string;
128
+ spinnerBars: string;
129
+ };
130
+ primary: {
131
+ circle1: string;
132
+ circle2: string;
133
+ dots: string;
134
+ spinnerBars: string;
135
+ };
136
+ secondary: {
137
+ circle1: string;
138
+ circle2: string;
139
+ dots: string;
140
+ spinnerBars: string;
141
+ };
142
+ success: {
143
+ circle1: string;
144
+ circle2: string;
145
+ dots: string;
146
+ spinnerBars: string;
147
+ };
148
+ warning: {
149
+ circle1: string;
150
+ circle2: string;
151
+ dots: string;
152
+ spinnerBars: string;
153
+ };
154
+ danger: {
155
+ circle1: string;
156
+ circle2: string;
157
+ dots: string;
158
+ spinnerBars: string;
159
+ };
160
+ };
161
+ variant: {
162
+ default: {
163
+ circle1: string[];
164
+ circle2: string[];
165
+ };
166
+ wave: {
167
+ wrapper: string;
168
+ dots: string[];
169
+ };
170
+ dots: {
171
+ wrapper: string;
172
+ dots: string[];
173
+ };
174
+ };
175
+ }, {
176
+ base: string;
177
+ wrapper: string;
178
+ label: string;
179
+ circle1: string;
180
+ circle2: string;
181
+ dots: string;
182
+ }, tailwind_variants.TVReturnType<{
183
+ size: {
184
+ sm: {
185
+ wrapper: string;
186
+ circle1: string;
187
+ circle2: string;
188
+ dots: string;
189
+ label: string;
190
+ };
191
+ md: {
192
+ wrapper: string;
193
+ circle1: string;
194
+ circle2: string;
195
+ dots: string;
196
+ label: string;
197
+ };
198
+ lg: {
199
+ wrapper: string;
200
+ circle1: string;
201
+ circle2: string;
202
+ dots: string;
203
+ label: string;
204
+ };
205
+ };
206
+ color: {
207
+ current: {
208
+ circle1: string;
209
+ circle2: string;
210
+ dots: string;
211
+ spinnerBars: string;
212
+ };
213
+ white: {
214
+ circle1: string;
215
+ circle2: string;
216
+ dots: string;
217
+ spinnerBars: string;
218
+ };
219
+ primary: {
220
+ circle1: string;
221
+ circle2: string;
222
+ dots: string;
223
+ spinnerBars: string;
224
+ };
225
+ secondary: {
226
+ circle1: string;
227
+ circle2: string;
228
+ dots: string;
229
+ spinnerBars: string;
230
+ };
231
+ success: {
232
+ circle1: string;
233
+ circle2: string;
234
+ dots: string;
235
+ spinnerBars: string;
236
+ };
237
+ warning: {
238
+ circle1: string;
239
+ circle2: string;
240
+ dots: string;
241
+ spinnerBars: string;
242
+ };
243
+ danger: {
244
+ circle1: string;
245
+ circle2: string;
246
+ dots: string;
247
+ spinnerBars: string;
248
+ };
249
+ };
250
+ variant: {
251
+ default: {
252
+ circle1: string[];
253
+ circle2: string[];
254
+ };
255
+ wave: {
256
+ wrapper: string;
257
+ dots: string[];
258
+ };
259
+ dots: {
260
+ wrapper: string;
261
+ dots: string[];
262
+ };
263
+ };
264
+ }, {
265
+ base: string;
266
+ wrapper: string;
267
+ label: string;
268
+ circle1: string;
269
+ circle2: string;
270
+ dots: string;
271
+ }, undefined, unknown, unknown, undefined>>;
272
+ type SpinnerVariants = VariantProps<typeof spinner>;
273
+
274
+ export { type SpinnerVariants, spinner };
@@ -0,0 +1,274 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const spinner: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ wrapper: string;
8
+ circle1: string;
9
+ circle2: string;
10
+ dots: string;
11
+ label: string;
12
+ };
13
+ md: {
14
+ wrapper: string;
15
+ circle1: string;
16
+ circle2: string;
17
+ dots: string;
18
+ label: string;
19
+ };
20
+ lg: {
21
+ wrapper: string;
22
+ circle1: string;
23
+ circle2: string;
24
+ dots: string;
25
+ label: string;
26
+ };
27
+ };
28
+ color: {
29
+ current: {
30
+ circle1: string;
31
+ circle2: string;
32
+ dots: string;
33
+ spinnerBars: string;
34
+ };
35
+ white: {
36
+ circle1: string;
37
+ circle2: string;
38
+ dots: string;
39
+ spinnerBars: string;
40
+ };
41
+ primary: {
42
+ circle1: string;
43
+ circle2: string;
44
+ dots: string;
45
+ spinnerBars: string;
46
+ };
47
+ secondary: {
48
+ circle1: string;
49
+ circle2: string;
50
+ dots: string;
51
+ spinnerBars: string;
52
+ };
53
+ success: {
54
+ circle1: string;
55
+ circle2: string;
56
+ dots: string;
57
+ spinnerBars: string;
58
+ };
59
+ warning: {
60
+ circle1: string;
61
+ circle2: string;
62
+ dots: string;
63
+ spinnerBars: string;
64
+ };
65
+ danger: {
66
+ circle1: string;
67
+ circle2: string;
68
+ dots: string;
69
+ spinnerBars: string;
70
+ };
71
+ };
72
+ variant: {
73
+ default: {
74
+ circle1: string[];
75
+ circle2: string[];
76
+ };
77
+ wave: {
78
+ wrapper: string;
79
+ dots: string[];
80
+ };
81
+ dots: {
82
+ wrapper: string;
83
+ dots: string[];
84
+ };
85
+ };
86
+ }, {
87
+ base: string;
88
+ wrapper: string;
89
+ label: string;
90
+ circle1: string;
91
+ circle2: string;
92
+ dots: string;
93
+ }, undefined, {
94
+ size: {
95
+ sm: {
96
+ wrapper: string;
97
+ circle1: string;
98
+ circle2: string;
99
+ dots: string;
100
+ label: string;
101
+ };
102
+ md: {
103
+ wrapper: string;
104
+ circle1: string;
105
+ circle2: string;
106
+ dots: string;
107
+ label: string;
108
+ };
109
+ lg: {
110
+ wrapper: string;
111
+ circle1: string;
112
+ circle2: string;
113
+ dots: string;
114
+ label: string;
115
+ };
116
+ };
117
+ color: {
118
+ current: {
119
+ circle1: string;
120
+ circle2: string;
121
+ dots: string;
122
+ spinnerBars: string;
123
+ };
124
+ white: {
125
+ circle1: string;
126
+ circle2: string;
127
+ dots: string;
128
+ spinnerBars: string;
129
+ };
130
+ primary: {
131
+ circle1: string;
132
+ circle2: string;
133
+ dots: string;
134
+ spinnerBars: string;
135
+ };
136
+ secondary: {
137
+ circle1: string;
138
+ circle2: string;
139
+ dots: string;
140
+ spinnerBars: string;
141
+ };
142
+ success: {
143
+ circle1: string;
144
+ circle2: string;
145
+ dots: string;
146
+ spinnerBars: string;
147
+ };
148
+ warning: {
149
+ circle1: string;
150
+ circle2: string;
151
+ dots: string;
152
+ spinnerBars: string;
153
+ };
154
+ danger: {
155
+ circle1: string;
156
+ circle2: string;
157
+ dots: string;
158
+ spinnerBars: string;
159
+ };
160
+ };
161
+ variant: {
162
+ default: {
163
+ circle1: string[];
164
+ circle2: string[];
165
+ };
166
+ wave: {
167
+ wrapper: string;
168
+ dots: string[];
169
+ };
170
+ dots: {
171
+ wrapper: string;
172
+ dots: string[];
173
+ };
174
+ };
175
+ }, {
176
+ base: string;
177
+ wrapper: string;
178
+ label: string;
179
+ circle1: string;
180
+ circle2: string;
181
+ dots: string;
182
+ }, tailwind_variants.TVReturnType<{
183
+ size: {
184
+ sm: {
185
+ wrapper: string;
186
+ circle1: string;
187
+ circle2: string;
188
+ dots: string;
189
+ label: string;
190
+ };
191
+ md: {
192
+ wrapper: string;
193
+ circle1: string;
194
+ circle2: string;
195
+ dots: string;
196
+ label: string;
197
+ };
198
+ lg: {
199
+ wrapper: string;
200
+ circle1: string;
201
+ circle2: string;
202
+ dots: string;
203
+ label: string;
204
+ };
205
+ };
206
+ color: {
207
+ current: {
208
+ circle1: string;
209
+ circle2: string;
210
+ dots: string;
211
+ spinnerBars: string;
212
+ };
213
+ white: {
214
+ circle1: string;
215
+ circle2: string;
216
+ dots: string;
217
+ spinnerBars: string;
218
+ };
219
+ primary: {
220
+ circle1: string;
221
+ circle2: string;
222
+ dots: string;
223
+ spinnerBars: string;
224
+ };
225
+ secondary: {
226
+ circle1: string;
227
+ circle2: string;
228
+ dots: string;
229
+ spinnerBars: string;
230
+ };
231
+ success: {
232
+ circle1: string;
233
+ circle2: string;
234
+ dots: string;
235
+ spinnerBars: string;
236
+ };
237
+ warning: {
238
+ circle1: string;
239
+ circle2: string;
240
+ dots: string;
241
+ spinnerBars: string;
242
+ };
243
+ danger: {
244
+ circle1: string;
245
+ circle2: string;
246
+ dots: string;
247
+ spinnerBars: string;
248
+ };
249
+ };
250
+ variant: {
251
+ default: {
252
+ circle1: string[];
253
+ circle2: string[];
254
+ };
255
+ wave: {
256
+ wrapper: string;
257
+ dots: string[];
258
+ };
259
+ dots: {
260
+ wrapper: string;
261
+ dots: string[];
262
+ };
263
+ };
264
+ }, {
265
+ base: string;
266
+ wrapper: string;
267
+ label: string;
268
+ circle1: string;
269
+ circle2: string;
270
+ dots: string;
271
+ }, undefined, unknown, unknown, undefined>>;
272
+ type SpinnerVariants = VariantProps<typeof spinner>;
273
+
274
+ export { type SpinnerVariants, spinner };
@@ -0,0 +1,138 @@
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/spinner.ts
21
+ var spinner_exports = {};
22
+ __export(spinner_exports, {
23
+ spinner: () => spinner
24
+ });
25
+ module.exports = __toCommonJS(spinner_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var spinner = (0, import_tailwind_variants.tv)({
28
+ slots: {
29
+ base: "relative inline-flex flex-col gap-2 items-center justify-center",
30
+ wrapper: "relative flex",
31
+ label: "text-foreground font-regular",
32
+ circle1: "absolute w-full h-full rounded-full",
33
+ circle2: "absolute w-full h-full rounded-full",
34
+ dots: "relative rounded-full mx-auto"
35
+ },
36
+ variants: {
37
+ size: {
38
+ sm: {
39
+ wrapper: "w-5 h-5",
40
+ circle1: "border-2",
41
+ circle2: "border-2",
42
+ dots: "size-1",
43
+ label: "text-small"
44
+ },
45
+ md: {
46
+ wrapper: "w-8 h-8",
47
+ circle1: "border-3",
48
+ circle2: "border-3",
49
+ dots: "size-1.5",
50
+ label: "text-medium"
51
+ },
52
+ lg: {
53
+ wrapper: "w-10 h-10",
54
+ circle1: "border-3",
55
+ circle2: "border-3",
56
+ dots: "size-2",
57
+ label: "text-large"
58
+ }
59
+ },
60
+ color: {
61
+ current: {
62
+ circle1: "border-b-current",
63
+ circle2: "border-b-current",
64
+ dots: "bg-current",
65
+ spinnerBars: "bg-current"
66
+ },
67
+ white: {
68
+ circle1: "border-b-white",
69
+ circle2: "border-b-white",
70
+ dots: "bg-white",
71
+ spinnerBars: "bg-white"
72
+ },
73
+ primary: {
74
+ circle1: "border-b-primary",
75
+ circle2: "border-b-primary",
76
+ dots: "bg-primary",
77
+ spinnerBars: "bg-primary"
78
+ },
79
+ secondary: {
80
+ circle1: "border-b-secondary",
81
+ circle2: "border-b-secondary",
82
+ dots: "bg-secondary",
83
+ spinnerBars: "bg-secondary"
84
+ },
85
+ success: {
86
+ circle1: "border-b-success",
87
+ circle2: "border-b-success",
88
+ dots: "bg-success",
89
+ spinnerBars: "bg-success"
90
+ },
91
+ warning: {
92
+ circle1: "border-b-warning",
93
+ circle2: "border-b-warning",
94
+ dots: "bg-warning",
95
+ spinnerBars: "bg-warning"
96
+ },
97
+ danger: {
98
+ circle1: "border-b-destructive",
99
+ circle2: "border-b-destructive",
100
+ dots: "bg-destructive",
101
+ spinnerBars: "bg-destructive"
102
+ }
103
+ },
104
+ variant: {
105
+ default: {
106
+ circle1: [
107
+ "animate-spinner-ease-spin",
108
+ "border-solid border-t-transparent border-l-transparent border-r-transparent"
109
+ ],
110
+ circle2: [
111
+ "opacity-75",
112
+ "animate-spinner-linear-spin",
113
+ "border-dotted",
114
+ "border-t-transparent",
115
+ "border-l-transparent",
116
+ "border-r-transparent"
117
+ ]
118
+ },
119
+ wave: {
120
+ wrapper: "translate-y-3/4",
121
+ dots: ["animate-sway", "spinner-dot-animation"]
122
+ },
123
+ dots: {
124
+ wrapper: "translate-y-2/4",
125
+ dots: ["animate-blink", "spinner-dot-blink-animation"]
126
+ }
127
+ }
128
+ },
129
+ defaultVariants: {
130
+ size: "md",
131
+ color: "current",
132
+ variant: "default"
133
+ }
134
+ });
135
+ // Annotate the CommonJS export names for ESM import in node:
136
+ 0 && (module.exports = {
137
+ spinner
138
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ spinner
3
+ } from "../chunk-IL3JFLE2.mjs";
4
+ export {
5
+ spinner
6
+ };
@@ -0,0 +1,31 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const tooltip: tailwind_variants.TVReturnType<{
5
+ [key: string]: {
6
+ [key: string]: tailwind_variants.ClassValue | {
7
+ content?: tailwind_variants.ClassValue;
8
+ };
9
+ };
10
+ } | {
11
+ [x: string]: {
12
+ [x: string]: tailwind_variants.ClassValue | {
13
+ content?: tailwind_variants.ClassValue;
14
+ };
15
+ };
16
+ } | {}, {
17
+ content: string[];
18
+ }, undefined, {
19
+ [key: string]: {
20
+ [key: string]: tailwind_variants.ClassValue | {
21
+ content?: tailwind_variants.ClassValue;
22
+ };
23
+ };
24
+ } | {}, {
25
+ content: string[];
26
+ }, tailwind_variants.TVReturnType<unknown, {
27
+ content: string[];
28
+ }, undefined, unknown, unknown, undefined>>;
29
+ type TooltipVariants = VariantProps<typeof tooltip>;
30
+
31
+ export { type TooltipVariants, tooltip };