@kopexa/theme 1.6.5 → 1.6.7

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.
Files changed (47) hide show
  1. package/dist/chunk-3SRZALOM.mjs +72 -0
  2. package/dist/chunk-A4KO7QKC.mjs +45 -0
  3. package/dist/{chunk-EACX3NZF.mjs → chunk-VWZTV46T.mjs} +72 -7
  4. package/dist/{chunk-IY7SLI3T.mjs → chunk-W7RJG22S.mjs} +1 -1
  5. package/dist/components/alert-dialog.d.mts +25 -24
  6. package/dist/components/alert-dialog.d.ts +25 -24
  7. package/dist/components/callout.d.mts +202 -0
  8. package/dist/components/callout.d.ts +202 -0
  9. package/dist/components/callout.js +96 -0
  10. package/dist/components/callout.mjs +6 -0
  11. package/dist/components/card.d.mts +183 -6
  12. package/dist/components/card.d.ts +183 -6
  13. package/dist/components/card.js +72 -7
  14. package/dist/components/card.mjs +1 -1
  15. package/dist/components/checkbox.d.mts +38 -29
  16. package/dist/components/checkbox.d.ts +38 -29
  17. package/dist/components/checkbox.js +35 -3
  18. package/dist/components/checkbox.mjs +1 -1
  19. package/dist/components/command.d.mts +43 -42
  20. package/dist/components/command.d.ts +43 -42
  21. package/dist/components/dropdown-menu.d.mts +46 -45
  22. package/dist/components/dropdown-menu.d.ts +46 -45
  23. package/dist/components/hover-card.d.mts +7 -6
  24. package/dist/components/hover-card.d.ts +7 -6
  25. package/dist/components/index.d.mts +2 -0
  26. package/dist/components/index.d.ts +2 -0
  27. package/dist/components/index.js +240 -72
  28. package/dist/components/index.mjs +16 -12
  29. package/dist/components/input.d.mts +10 -9
  30. package/dist/components/input.d.ts +10 -9
  31. package/dist/components/page-header.d.mts +34 -33
  32. package/dist/components/page-header.d.ts +34 -33
  33. package/dist/components/popover.d.mts +7 -6
  34. package/dist/components/popover.d.ts +7 -6
  35. package/dist/components/resizable.d.mts +16 -15
  36. package/dist/components/resizable.d.ts +16 -15
  37. package/dist/components/split-page-layout.js +1 -1
  38. package/dist/components/split-page-layout.mjs +1 -1
  39. package/dist/components/tooltip.d.mts +7 -6
  40. package/dist/components/tooltip.d.ts +7 -6
  41. package/dist/index.d.mts +2 -0
  42. package/dist/index.d.ts +2 -0
  43. package/dist/index.js +240 -72
  44. package/dist/index.mjs +16 -12
  45. package/package.json +2 -2
  46. package/dist/chunk-KPOZFVP6.mjs +0 -13
  47. /package/dist/{chunk-FD464FGG.mjs → chunk-N7T6GTBO.mjs} +0 -0
@@ -0,0 +1,202 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const callout: tailwind_variants.TVReturnType<{
5
+ radius: {
6
+ none: {
7
+ root: string;
8
+ };
9
+ sm: {
10
+ root: string;
11
+ };
12
+ md: {
13
+ root: string;
14
+ };
15
+ lg: {
16
+ root: string;
17
+ };
18
+ };
19
+ size: {
20
+ sm: {
21
+ root: string;
22
+ icon: string;
23
+ title: string;
24
+ };
25
+ md: {
26
+ root: string;
27
+ icon: string;
28
+ };
29
+ lg: {
30
+ root: string;
31
+ icon: string;
32
+ title: string;
33
+ };
34
+ };
35
+ variant: {
36
+ default: {
37
+ root: string;
38
+ icon: string;
39
+ title: string;
40
+ };
41
+ info: {
42
+ root: string;
43
+ icon: string;
44
+ title: string;
45
+ };
46
+ success: {
47
+ root: string;
48
+ icon: string;
49
+ title: string;
50
+ };
51
+ warning: {
52
+ root: string;
53
+ icon: string;
54
+ title: string;
55
+ };
56
+ destructive: {
57
+ root: string;
58
+ icon: string;
59
+ title: string;
60
+ };
61
+ };
62
+ }, {
63
+ root: string[];
64
+ iconContainer: string;
65
+ icon: string;
66
+ title: string;
67
+ content: string;
68
+ closeButton: string;
69
+ }, undefined, {
70
+ radius: {
71
+ none: {
72
+ root: string;
73
+ };
74
+ sm: {
75
+ root: string;
76
+ };
77
+ md: {
78
+ root: string;
79
+ };
80
+ lg: {
81
+ root: string;
82
+ };
83
+ };
84
+ size: {
85
+ sm: {
86
+ root: string;
87
+ icon: string;
88
+ title: string;
89
+ };
90
+ md: {
91
+ root: string;
92
+ icon: string;
93
+ };
94
+ lg: {
95
+ root: string;
96
+ icon: string;
97
+ title: string;
98
+ };
99
+ };
100
+ variant: {
101
+ default: {
102
+ root: string;
103
+ icon: string;
104
+ title: string;
105
+ };
106
+ info: {
107
+ root: string;
108
+ icon: string;
109
+ title: string;
110
+ };
111
+ success: {
112
+ root: string;
113
+ icon: string;
114
+ title: string;
115
+ };
116
+ warning: {
117
+ root: string;
118
+ icon: string;
119
+ title: string;
120
+ };
121
+ destructive: {
122
+ root: string;
123
+ icon: string;
124
+ title: string;
125
+ };
126
+ };
127
+ }, {
128
+ root: string[];
129
+ iconContainer: string;
130
+ icon: string;
131
+ title: string;
132
+ content: string;
133
+ closeButton: string;
134
+ }, tailwind_variants.TVReturnType<{
135
+ radius: {
136
+ none: {
137
+ root: string;
138
+ };
139
+ sm: {
140
+ root: string;
141
+ };
142
+ md: {
143
+ root: string;
144
+ };
145
+ lg: {
146
+ root: string;
147
+ };
148
+ };
149
+ size: {
150
+ sm: {
151
+ root: string;
152
+ icon: string;
153
+ title: string;
154
+ };
155
+ md: {
156
+ root: string;
157
+ icon: string;
158
+ };
159
+ lg: {
160
+ root: string;
161
+ icon: string;
162
+ title: string;
163
+ };
164
+ };
165
+ variant: {
166
+ default: {
167
+ root: string;
168
+ icon: string;
169
+ title: string;
170
+ };
171
+ info: {
172
+ root: string;
173
+ icon: string;
174
+ title: string;
175
+ };
176
+ success: {
177
+ root: string;
178
+ icon: string;
179
+ title: string;
180
+ };
181
+ warning: {
182
+ root: string;
183
+ icon: string;
184
+ title: string;
185
+ };
186
+ destructive: {
187
+ root: string;
188
+ icon: string;
189
+ title: string;
190
+ };
191
+ };
192
+ }, {
193
+ root: string[];
194
+ iconContainer: string;
195
+ icon: string;
196
+ title: string;
197
+ content: string;
198
+ closeButton: string;
199
+ }, undefined, unknown, unknown, undefined>>;
200
+ type CalloutVariantProps = VariantProps<typeof callout>;
201
+
202
+ export { type CalloutVariantProps, callout };
@@ -0,0 +1,96 @@
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/callout.ts
21
+ var callout_exports = {};
22
+ __export(callout_exports, {
23
+ callout: () => callout
24
+ });
25
+ module.exports = __toCommonJS(callout_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var callout = (0, import_tailwind_variants.tv)({
28
+ slots: {
29
+ root: ["flex items-start gap-3 w-full", "border", "relative"],
30
+ iconContainer: "flex-shrink-0 mt-0.5",
31
+ icon: "h-5 w-5",
32
+ title: "font-semibold leading-none tracking-tight mb-2",
33
+ content: "text-sm/6",
34
+ closeButton: "absolute top-2 right-2 opacity-70 hover:opacity-100 transition-opacity focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2"
35
+ },
36
+ variants: {
37
+ radius: {
38
+ none: { root: "rounded-none" },
39
+ sm: { root: "rounded-sm" },
40
+ md: { root: "rounded-md" },
41
+ lg: { root: "rounded-lg" }
42
+ },
43
+ size: {
44
+ sm: {
45
+ root: "p-3 text-sm",
46
+ icon: "h-4 w-4",
47
+ title: "text-sm mb-1"
48
+ },
49
+ md: {
50
+ root: "p-4",
51
+ icon: "h-5 w-5"
52
+ },
53
+ lg: {
54
+ root: "p-6",
55
+ icon: "h-6 w-6",
56
+ title: "text-lg mb-3"
57
+ }
58
+ },
59
+ variant: {
60
+ default: {
61
+ root: "bg-muted/50 text-foreground border-border",
62
+ icon: "text-foreground",
63
+ title: "text-foreground"
64
+ },
65
+ info: {
66
+ root: "bg-blue-50 dark:bg-blue-950/50 text-blue-900 dark:text-blue-200 border-blue-200 dark:border-blue-800/50",
67
+ icon: "text-blue-500 dark:text-blue-400",
68
+ title: "text-blue-900 dark:text-blue-200"
69
+ },
70
+ success: {
71
+ root: "bg-green-50 dark:bg-green-950/50 text-green-900 dark:text-green-200 border-green-200 dark:border-green-800/50",
72
+ icon: "text-green-500 dark:text-green-400",
73
+ title: "text-green-900 dark:text-green-200"
74
+ },
75
+ warning: {
76
+ root: "bg-orange-50 dark:bg-orange-950/50 text-orange-900 dark:text-orange-200 border-orange-200 dark:border-orange-800/50",
77
+ icon: "text-orange-500 dark:text-orange-400",
78
+ title: "text-orange-900 dark:text-orange-200"
79
+ },
80
+ destructive: {
81
+ root: "bg-red-50 dark:bg-red-950/50 text-red-900 dark:text-red-200 border-red-200 dark:border-red-800/50",
82
+ icon: "text-red-500 dark:text-red-400",
83
+ title: "text-red-900 dark:text-red-200"
84
+ }
85
+ }
86
+ },
87
+ defaultVariants: {
88
+ variant: "default",
89
+ radius: "md",
90
+ size: "md"
91
+ }
92
+ });
93
+ // Annotate the CommonJS export names for ESM import in node:
94
+ 0 && (module.exports = {
95
+ callout
96
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ callout
3
+ } from "../chunk-3SRZALOM.mjs";
4
+ export {
5
+ callout
6
+ };
@@ -2,6 +2,14 @@ import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
 
4
4
  declare const card: tailwind_variants.TVReturnType<{
5
+ variant: {
6
+ default: {
7
+ root: string;
8
+ };
9
+ muted: {
10
+ root: string;
11
+ };
12
+ };
5
13
  shadow: {
6
14
  none: {
7
15
  root: string;
@@ -20,7 +28,13 @@ declare const card: tailwind_variants.TVReturnType<{
20
28
  };
21
29
  };
22
30
  border: {
23
- true: {
31
+ none: {
32
+ root: string;
33
+ };
34
+ default: {
35
+ root: string;
36
+ };
37
+ emphasized: {
24
38
  root: string;
25
39
  };
26
40
  };
@@ -53,7 +67,7 @@ declare const card: tailwind_variants.TVReturnType<{
53
67
  };
54
68
  isHoverable: {
55
69
  true: {
56
- root: string;
70
+ root: string[];
57
71
  };
58
72
  };
59
73
  isPressable: {
@@ -71,12 +85,65 @@ declare const card: tailwind_variants.TVReturnType<{
71
85
  root: string;
72
86
  };
73
87
  };
88
+ bleed: {
89
+ none: {};
90
+ sm: {
91
+ body: string;
92
+ header: string;
93
+ footer: string;
94
+ };
95
+ md: {
96
+ body: string;
97
+ header: string;
98
+ footer: string;
99
+ };
100
+ lg: {
101
+ body: string;
102
+ header: string;
103
+ footer: string;
104
+ };
105
+ content: {
106
+ body: string;
107
+ header: string;
108
+ footer: string;
109
+ };
110
+ };
111
+ spacing: {
112
+ sm: {
113
+ body: string;
114
+ header: string;
115
+ footer: string;
116
+ };
117
+ md: {
118
+ body: string;
119
+ header: string;
120
+ footer: string;
121
+ };
122
+ lg: {
123
+ body: string;
124
+ header: string;
125
+ footer: string;
126
+ };
127
+ xl: {
128
+ body: string;
129
+ header: string;
130
+ footer: string;
131
+ };
132
+ };
74
133
  }, {
75
134
  root: string[];
76
135
  header: string[];
77
136
  body: string[];
78
137
  footer: string[];
79
138
  }, undefined, {
139
+ variant: {
140
+ default: {
141
+ root: string;
142
+ };
143
+ muted: {
144
+ root: string;
145
+ };
146
+ };
80
147
  shadow: {
81
148
  none: {
82
149
  root: string;
@@ -95,7 +162,13 @@ declare const card: tailwind_variants.TVReturnType<{
95
162
  };
96
163
  };
97
164
  border: {
98
- true: {
165
+ none: {
166
+ root: string;
167
+ };
168
+ default: {
169
+ root: string;
170
+ };
171
+ emphasized: {
99
172
  root: string;
100
173
  };
101
174
  };
@@ -128,7 +201,7 @@ declare const card: tailwind_variants.TVReturnType<{
128
201
  };
129
202
  isHoverable: {
130
203
  true: {
131
- root: string;
204
+ root: string[];
132
205
  };
133
206
  };
134
207
  isPressable: {
@@ -146,12 +219,65 @@ declare const card: tailwind_variants.TVReturnType<{
146
219
  root: string;
147
220
  };
148
221
  };
222
+ bleed: {
223
+ none: {};
224
+ sm: {
225
+ body: string;
226
+ header: string;
227
+ footer: string;
228
+ };
229
+ md: {
230
+ body: string;
231
+ header: string;
232
+ footer: string;
233
+ };
234
+ lg: {
235
+ body: string;
236
+ header: string;
237
+ footer: string;
238
+ };
239
+ content: {
240
+ body: string;
241
+ header: string;
242
+ footer: string;
243
+ };
244
+ };
245
+ spacing: {
246
+ sm: {
247
+ body: string;
248
+ header: string;
249
+ footer: string;
250
+ };
251
+ md: {
252
+ body: string;
253
+ header: string;
254
+ footer: string;
255
+ };
256
+ lg: {
257
+ body: string;
258
+ header: string;
259
+ footer: string;
260
+ };
261
+ xl: {
262
+ body: string;
263
+ header: string;
264
+ footer: string;
265
+ };
266
+ };
149
267
  }, {
150
268
  root: string[];
151
269
  header: string[];
152
270
  body: string[];
153
271
  footer: string[];
154
272
  }, tailwind_variants.TVReturnType<{
273
+ variant: {
274
+ default: {
275
+ root: string;
276
+ };
277
+ muted: {
278
+ root: string;
279
+ };
280
+ };
155
281
  shadow: {
156
282
  none: {
157
283
  root: string;
@@ -170,7 +296,13 @@ declare const card: tailwind_variants.TVReturnType<{
170
296
  };
171
297
  };
172
298
  border: {
173
- true: {
299
+ none: {
300
+ root: string;
301
+ };
302
+ default: {
303
+ root: string;
304
+ };
305
+ emphasized: {
174
306
  root: string;
175
307
  };
176
308
  };
@@ -203,7 +335,7 @@ declare const card: tailwind_variants.TVReturnType<{
203
335
  };
204
336
  isHoverable: {
205
337
  true: {
206
- root: string;
338
+ root: string[];
207
339
  };
208
340
  };
209
341
  isPressable: {
@@ -221,6 +353,51 @@ declare const card: tailwind_variants.TVReturnType<{
221
353
  root: string;
222
354
  };
223
355
  };
356
+ bleed: {
357
+ none: {};
358
+ sm: {
359
+ body: string;
360
+ header: string;
361
+ footer: string;
362
+ };
363
+ md: {
364
+ body: string;
365
+ header: string;
366
+ footer: string;
367
+ };
368
+ lg: {
369
+ body: string;
370
+ header: string;
371
+ footer: string;
372
+ };
373
+ content: {
374
+ body: string;
375
+ header: string;
376
+ footer: string;
377
+ };
378
+ };
379
+ spacing: {
380
+ sm: {
381
+ body: string;
382
+ header: string;
383
+ footer: string;
384
+ };
385
+ md: {
386
+ body: string;
387
+ header: string;
388
+ footer: string;
389
+ };
390
+ lg: {
391
+ body: string;
392
+ header: string;
393
+ footer: string;
394
+ };
395
+ xl: {
396
+ body: string;
397
+ header: string;
398
+ footer: string;
399
+ };
400
+ };
224
401
  }, {
225
402
  root: string[];
226
403
  header: string[];