@kopexa/theme 17.26.10 → 17.27.1

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 (34) hide show
  1. package/dist/{chunk-5LVKFTZS.mjs → chunk-3UQ6COYP.mjs} +1 -1
  2. package/dist/{chunk-OTETLRUE.mjs → chunk-67MJDO4Q.mjs} +33 -1
  3. package/dist/{chunk-7T563RF7.mjs → chunk-MUMBGMSH.mjs} +10 -1
  4. package/dist/{chunk-7Q2RNHL5.mjs → chunk-N5HAHEII.mjs} +1 -1
  5. package/dist/{chunk-VQ2OAHGP.mjs → chunk-OAG7ADA5.mjs} +1 -1
  6. package/dist/{chunk-D5FKEY7B.mjs → chunk-SNJSK3BQ.mjs} +1 -1
  7. package/dist/{chunk-XQZL7LCP.mjs → chunk-UTKOKSES.mjs} +1 -1
  8. package/dist/chunk-VGHYQHC2.mjs +17 -0
  9. package/dist/components/avatar.js +10 -1
  10. package/dist/components/avatar.mjs +2 -2
  11. package/dist/components/button.d.mts +3 -0
  12. package/dist/components/button.d.ts +3 -0
  13. package/dist/components/button.js +42 -1
  14. package/dist/components/button.mjs +2 -2
  15. package/dist/components/chip.js +10 -1
  16. package/dist/components/chip.mjs +2 -2
  17. package/dist/components/code.js +10 -1
  18. package/dist/components/code.mjs +2 -2
  19. package/dist/components/color-highlight-button.js +5 -9
  20. package/dist/components/color-highlight-button.mjs +1 -1
  21. package/dist/components/index.js +47 -10
  22. package/dist/components/index.mjs +8 -8
  23. package/dist/components/skeleton-avatar.js +10 -1
  24. package/dist/components/skeleton-avatar.mjs +3 -3
  25. package/dist/components/standard-chip.js +10 -1
  26. package/dist/components/standard-chip.mjs +3 -3
  27. package/dist/index.js +47 -10
  28. package/dist/index.mjs +8 -8
  29. package/dist/utils/variants.d.mts +8 -0
  30. package/dist/utils/variants.d.ts +8 -0
  31. package/dist/utils/variants.js +10 -1
  32. package/dist/utils/variants.mjs +1 -1
  33. package/package.json +2 -2
  34. package/dist/chunk-CPERWXKN.mjs +0 -21
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-7T563RF7.mjs";
3
+ } from "./chunk-MUMBGMSH.mjs";
4
4
 
5
5
  // src/components/chip.ts
6
6
  import { tv } from "tailwind-variants";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-7T563RF7.mjs";
3
+ } from "./chunk-MUMBGMSH.mjs";
4
4
  import {
5
5
  focusVisibleClasses
6
6
  } from "./chunk-6IZPAS4O.mjs";
@@ -26,6 +26,7 @@ var button = tv({
26
26
  solid: "shadow-xs",
27
27
  ghost: "data-[active-state=on]:bg-primary/10",
28
28
  outline: "border-1 bg-transparent",
29
+ dashed: "border border-dashed bg-transparent hover:opacity-100",
29
30
  link: ""
30
31
  },
31
32
  size: {
@@ -170,6 +171,37 @@ var button = tv({
170
171
  color: "default",
171
172
  class: colorVariants.outline.default
172
173
  },
174
+ // dashed color
175
+ {
176
+ variant: "dashed",
177
+ color: "primary",
178
+ class: colorVariants.dashed.primary
179
+ },
180
+ {
181
+ variant: "dashed",
182
+ color: "secondary",
183
+ class: colorVariants.dashed.secondary
184
+ },
185
+ {
186
+ variant: "dashed",
187
+ color: "destructive",
188
+ class: colorVariants.dashed.destructive
189
+ },
190
+ {
191
+ variant: "dashed",
192
+ color: "warning",
193
+ class: colorVariants.dashed.warning
194
+ },
195
+ {
196
+ variant: "dashed",
197
+ color: "success",
198
+ class: colorVariants.dashed.success
199
+ },
200
+ {
201
+ variant: "dashed",
202
+ color: "default",
203
+ class: colorVariants.dashed.default
204
+ },
173
205
  // icon
174
206
  {
175
207
  isIconOnly: true,
@@ -41,12 +41,21 @@ var ghost = {
41
41
  success: "bg-transparent text-success",
42
42
  default: "bg-transparent text-accent-foreground"
43
43
  };
44
+ var dashed = {
45
+ default: "border-muted-foreground/30 text-muted-foreground hover:border-foreground hover:text-foreground hover:bg-accent/50",
46
+ primary: "border-primary/30 text-primary hover:border-primary hover:bg-primary/5",
47
+ secondary: "border-secondary/30 text-secondary hover:border-secondary hover:bg-secondary/5",
48
+ destructive: "border-destructive/30 text-destructive hover:border-destructive hover:bg-destructive/5",
49
+ warning: "border-warning/30 text-warning hover:border-warning hover:bg-warning/5",
50
+ success: "border-success/30 text-success hover:border-success hover:bg-success/5"
51
+ };
44
52
  var colorVariants = {
45
53
  solid,
46
54
  ghost,
47
55
  outline,
48
56
  flat,
49
- faded
57
+ faded,
58
+ dashed
50
59
  };
51
60
 
52
61
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  avatar
3
- } from "./chunk-D5FKEY7B.mjs";
3
+ } from "./chunk-SNJSK3BQ.mjs";
4
4
 
5
5
  // src/components/skeleton-avatar.ts
6
6
  import { tv } from "tailwind-variants";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-7T563RF7.mjs";
3
+ } from "./chunk-MUMBGMSH.mjs";
4
4
 
5
5
  // src/components/code.ts
6
6
  import { tv } from "tailwind-variants";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "./chunk-7T563RF7.mjs";
3
+ } from "./chunk-MUMBGMSH.mjs";
4
4
  import {
5
5
  focusVisibleClasses,
6
6
  translateCenterClasses
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  chip
3
- } from "./chunk-5LVKFTZS.mjs";
3
+ } from "./chunk-3UQ6COYP.mjs";
4
4
 
5
5
  // src/components/standard-chip.ts
6
6
  import { tv } from "tailwind-variants";
@@ -0,0 +1,17 @@
1
+ // src/components/color-highlight-button.ts
2
+ import { tv } from "tailwind-variants";
3
+ var colorHighlightButton = tv({
4
+ slots: {
5
+ button: ["relative min-w-none", "size-5"],
6
+ mark: [
7
+ "absolute inset-0",
8
+ "rounded-[inherit] box-border",
9
+ "border-2 border-transparent",
10
+ "data-[active-state=on]:border-foreground"
11
+ ]
12
+ }
13
+ });
14
+
15
+ export {
16
+ colorHighlightButton
17
+ };
@@ -81,12 +81,21 @@ var ghost = {
81
81
  success: "bg-transparent text-success",
82
82
  default: "bg-transparent text-accent-foreground"
83
83
  };
84
+ var dashed = {
85
+ default: "border-muted-foreground/30 text-muted-foreground hover:border-foreground hover:text-foreground hover:bg-accent/50",
86
+ primary: "border-primary/30 text-primary hover:border-primary hover:bg-primary/5",
87
+ secondary: "border-secondary/30 text-secondary hover:border-secondary hover:bg-secondary/5",
88
+ destructive: "border-destructive/30 text-destructive hover:border-destructive hover:bg-destructive/5",
89
+ warning: "border-warning/30 text-warning hover:border-warning hover:bg-warning/5",
90
+ success: "border-success/30 text-success hover:border-success hover:bg-success/5"
91
+ };
84
92
  var colorVariants = {
85
93
  solid,
86
94
  ghost,
87
95
  outline,
88
96
  flat,
89
- faded
97
+ faded,
98
+ dashed
90
99
  };
91
100
 
92
101
  // src/components/avatar.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  avatar
3
- } from "../chunk-D5FKEY7B.mjs";
4
- import "../chunk-7T563RF7.mjs";
3
+ } from "../chunk-SNJSK3BQ.mjs";
4
+ import "../chunk-MUMBGMSH.mjs";
5
5
  import "../chunk-6IZPAS4O.mjs";
6
6
  export {
7
7
  avatar
@@ -23,6 +23,7 @@ declare const button: tailwind_variants.TVReturnType<{
23
23
  solid: string;
24
24
  ghost: string;
25
25
  outline: string;
26
+ dashed: string;
26
27
  link: string;
27
28
  };
28
29
  size: {
@@ -64,6 +65,7 @@ declare const button: tailwind_variants.TVReturnType<{
64
65
  solid: string;
65
66
  ghost: string;
66
67
  outline: string;
68
+ dashed: string;
67
69
  link: string;
68
70
  };
69
71
  size: {
@@ -105,6 +107,7 @@ declare const button: tailwind_variants.TVReturnType<{
105
107
  solid: string;
106
108
  ghost: string;
107
109
  outline: string;
110
+ dashed: string;
108
111
  link: string;
109
112
  };
110
113
  size: {
@@ -23,6 +23,7 @@ declare const button: tailwind_variants.TVReturnType<{
23
23
  solid: string;
24
24
  ghost: string;
25
25
  outline: string;
26
+ dashed: string;
26
27
  link: string;
27
28
  };
28
29
  size: {
@@ -64,6 +65,7 @@ declare const button: tailwind_variants.TVReturnType<{
64
65
  solid: string;
65
66
  ghost: string;
66
67
  outline: string;
68
+ dashed: string;
67
69
  link: string;
68
70
  };
69
71
  size: {
@@ -105,6 +107,7 @@ declare const button: tailwind_variants.TVReturnType<{
105
107
  solid: string;
106
108
  ghost: string;
107
109
  outline: string;
110
+ dashed: string;
108
111
  link: string;
109
112
  };
110
113
  size: {
@@ -74,12 +74,21 @@ var ghost = {
74
74
  success: "bg-transparent text-success",
75
75
  default: "bg-transparent text-accent-foreground"
76
76
  };
77
+ var dashed = {
78
+ default: "border-muted-foreground/30 text-muted-foreground hover:border-foreground hover:text-foreground hover:bg-accent/50",
79
+ primary: "border-primary/30 text-primary hover:border-primary hover:bg-primary/5",
80
+ secondary: "border-secondary/30 text-secondary hover:border-secondary hover:bg-secondary/5",
81
+ destructive: "border-destructive/30 text-destructive hover:border-destructive hover:bg-destructive/5",
82
+ warning: "border-warning/30 text-warning hover:border-warning hover:bg-warning/5",
83
+ success: "border-success/30 text-success hover:border-success hover:bg-success/5"
84
+ };
77
85
  var colorVariants = {
78
86
  solid,
79
87
  ghost,
80
88
  outline,
81
89
  flat,
82
- faded
90
+ faded,
91
+ dashed
83
92
  };
84
93
 
85
94
  // src/components/button.ts
@@ -102,6 +111,7 @@ var button = (0, import_tailwind_variants.tv)({
102
111
  solid: "shadow-xs",
103
112
  ghost: "data-[active-state=on]:bg-primary/10",
104
113
  outline: "border-1 bg-transparent",
114
+ dashed: "border border-dashed bg-transparent hover:opacity-100",
105
115
  link: ""
106
116
  },
107
117
  size: {
@@ -246,6 +256,37 @@ var button = (0, import_tailwind_variants.tv)({
246
256
  color: "default",
247
257
  class: colorVariants.outline.default
248
258
  },
259
+ // dashed color
260
+ {
261
+ variant: "dashed",
262
+ color: "primary",
263
+ class: colorVariants.dashed.primary
264
+ },
265
+ {
266
+ variant: "dashed",
267
+ color: "secondary",
268
+ class: colorVariants.dashed.secondary
269
+ },
270
+ {
271
+ variant: "dashed",
272
+ color: "destructive",
273
+ class: colorVariants.dashed.destructive
274
+ },
275
+ {
276
+ variant: "dashed",
277
+ color: "warning",
278
+ class: colorVariants.dashed.warning
279
+ },
280
+ {
281
+ variant: "dashed",
282
+ color: "success",
283
+ class: colorVariants.dashed.success
284
+ },
285
+ {
286
+ variant: "dashed",
287
+ color: "default",
288
+ class: colorVariants.dashed.default
289
+ },
249
290
  // icon
250
291
  {
251
292
  isIconOnly: true,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  button
3
- } from "../chunk-OTETLRUE.mjs";
4
- import "../chunk-7T563RF7.mjs";
3
+ } from "../chunk-67MJDO4Q.mjs";
4
+ import "../chunk-MUMBGMSH.mjs";
5
5
  import "../chunk-6IZPAS4O.mjs";
6
6
  export {
7
7
  button
@@ -68,12 +68,21 @@ var ghost = {
68
68
  success: "bg-transparent text-success",
69
69
  default: "bg-transparent text-accent-foreground"
70
70
  };
71
+ var dashed = {
72
+ default: "border-muted-foreground/30 text-muted-foreground hover:border-foreground hover:text-foreground hover:bg-accent/50",
73
+ primary: "border-primary/30 text-primary hover:border-primary hover:bg-primary/5",
74
+ secondary: "border-secondary/30 text-secondary hover:border-secondary hover:bg-secondary/5",
75
+ destructive: "border-destructive/30 text-destructive hover:border-destructive hover:bg-destructive/5",
76
+ warning: "border-warning/30 text-warning hover:border-warning hover:bg-warning/5",
77
+ success: "border-success/30 text-success hover:border-success hover:bg-success/5"
78
+ };
71
79
  var colorVariants = {
72
80
  solid,
73
81
  ghost,
74
82
  outline,
75
83
  flat,
76
- faded
84
+ faded,
85
+ dashed
77
86
  };
78
87
 
79
88
  // src/components/chip.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  chip
3
- } from "../chunk-5LVKFTZS.mjs";
4
- import "../chunk-7T563RF7.mjs";
3
+ } from "../chunk-3UQ6COYP.mjs";
4
+ import "../chunk-MUMBGMSH.mjs";
5
5
  export {
6
6
  chip
7
7
  };
@@ -68,12 +68,21 @@ var ghost = {
68
68
  success: "bg-transparent text-success",
69
69
  default: "bg-transparent text-accent-foreground"
70
70
  };
71
+ var dashed = {
72
+ default: "border-muted-foreground/30 text-muted-foreground hover:border-foreground hover:text-foreground hover:bg-accent/50",
73
+ primary: "border-primary/30 text-primary hover:border-primary hover:bg-primary/5",
74
+ secondary: "border-secondary/30 text-secondary hover:border-secondary hover:bg-secondary/5",
75
+ destructive: "border-destructive/30 text-destructive hover:border-destructive hover:bg-destructive/5",
76
+ warning: "border-warning/30 text-warning hover:border-warning hover:bg-warning/5",
77
+ success: "border-success/30 text-success hover:border-success hover:bg-success/5"
78
+ };
71
79
  var colorVariants = {
72
80
  solid,
73
81
  ghost,
74
82
  outline,
75
83
  flat,
76
- faded
84
+ faded,
85
+ dashed
77
86
  };
78
87
 
79
88
  // src/components/code.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  code
3
- } from "../chunk-VQ2OAHGP.mjs";
4
- import "../chunk-7T563RF7.mjs";
3
+ } from "../chunk-OAG7ADA5.mjs";
4
+ import "../chunk-MUMBGMSH.mjs";
5
5
  export {
6
6
  code
7
7
  };
@@ -26,16 +26,12 @@ module.exports = __toCommonJS(color_highlight_button_exports);
26
26
  var import_tailwind_variants = require("tailwind-variants");
27
27
  var colorHighlightButton = (0, import_tailwind_variants.tv)({
28
28
  slots: {
29
- button: [
30
- "relative min-w-none",
31
- "hover:bg-",
32
- "size-5 bg-[var(--highlight-color)]"
33
- ],
29
+ button: ["relative min-w-none", "size-5"],
34
30
  mark: [
35
- "absolute size- left-0 top-0",
36
- "border border-[var(--highlight-color)]",
37
- "rounded-[inherit] box-border brightness-95 mix-blend-multiply",
38
- "data-[active-state=on]:brightness-140"
31
+ "absolute inset-0",
32
+ "rounded-[inherit] box-border",
33
+ "border-2 border-transparent",
34
+ "data-[active-state=on]:border-foreground"
39
35
  ]
40
36
  }
41
37
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorHighlightButton
3
- } from "../chunk-CPERWXKN.mjs";
3
+ } from "../chunk-VGHYQHC2.mjs";
4
4
  export {
5
5
  colorHighlightButton
6
6
  };
@@ -459,12 +459,21 @@ var ghost = {
459
459
  success: "bg-transparent text-success",
460
460
  default: "bg-transparent text-accent-foreground"
461
461
  };
462
+ var dashed = {
463
+ default: "border-muted-foreground/30 text-muted-foreground hover:border-foreground hover:text-foreground hover:bg-accent/50",
464
+ primary: "border-primary/30 text-primary hover:border-primary hover:bg-primary/5",
465
+ secondary: "border-secondary/30 text-secondary hover:border-secondary hover:bg-secondary/5",
466
+ destructive: "border-destructive/30 text-destructive hover:border-destructive hover:bg-destructive/5",
467
+ warning: "border-warning/30 text-warning hover:border-warning hover:bg-warning/5",
468
+ success: "border-success/30 text-success hover:border-success hover:bg-success/5"
469
+ };
462
470
  var colorVariants = {
463
471
  solid,
464
472
  ghost,
465
473
  outline,
466
474
  flat,
467
- faded
475
+ faded,
476
+ dashed
468
477
  };
469
478
 
470
479
  // src/components/avatar.ts
@@ -756,6 +765,7 @@ var button = (0, import_tailwind_variants10.tv)({
756
765
  solid: "shadow-xs",
757
766
  ghost: "data-[active-state=on]:bg-primary/10",
758
767
  outline: "border-1 bg-transparent",
768
+ dashed: "border border-dashed bg-transparent hover:opacity-100",
759
769
  link: ""
760
770
  },
761
771
  size: {
@@ -900,6 +910,37 @@ var button = (0, import_tailwind_variants10.tv)({
900
910
  color: "default",
901
911
  class: colorVariants.outline.default
902
912
  },
913
+ // dashed color
914
+ {
915
+ variant: "dashed",
916
+ color: "primary",
917
+ class: colorVariants.dashed.primary
918
+ },
919
+ {
920
+ variant: "dashed",
921
+ color: "secondary",
922
+ class: colorVariants.dashed.secondary
923
+ },
924
+ {
925
+ variant: "dashed",
926
+ color: "destructive",
927
+ class: colorVariants.dashed.destructive
928
+ },
929
+ {
930
+ variant: "dashed",
931
+ color: "warning",
932
+ class: colorVariants.dashed.warning
933
+ },
934
+ {
935
+ variant: "dashed",
936
+ color: "success",
937
+ class: colorVariants.dashed.success
938
+ },
939
+ {
940
+ variant: "dashed",
941
+ color: "default",
942
+ class: colorVariants.dashed.default
943
+ },
903
944
  // icon
904
945
  {
905
946
  isIconOnly: true,
@@ -1660,16 +1701,12 @@ var code = (0, import_tailwind_variants16.tv)({
1660
1701
  var import_tailwind_variants17 = require("tailwind-variants");
1661
1702
  var colorHighlightButton = (0, import_tailwind_variants17.tv)({
1662
1703
  slots: {
1663
- button: [
1664
- "relative min-w-none",
1665
- "hover:bg-",
1666
- "size-5 bg-[var(--highlight-color)]"
1667
- ],
1704
+ button: ["relative min-w-none", "size-5"],
1668
1705
  mark: [
1669
- "absolute size- left-0 top-0",
1670
- "border border-[var(--highlight-color)]",
1671
- "rounded-[inherit] box-border brightness-95 mix-blend-multiply",
1672
- "data-[active-state=on]:brightness-140"
1706
+ "absolute inset-0",
1707
+ "rounded-[inherit] box-border",
1708
+ "border-2 border-transparent",
1709
+ "data-[active-state=on]:border-foreground"
1673
1710
  ]
1674
1711
  }
1675
1712
  });
@@ -37,7 +37,7 @@ import {
37
37
  } from "../chunk-B5JVXVSG.mjs";
38
38
  import {
39
39
  standardChip
40
- } from "../chunk-XQZL7LCP.mjs";
40
+ } from "../chunk-UTKOKSES.mjs";
41
41
  import {
42
42
  stat
43
43
  } from "../chunk-RTWYV4TJ.mjs";
@@ -72,7 +72,7 @@ import {
72
72
  } from "../chunk-2Z4QAY6O.mjs";
73
73
  import {
74
74
  skeletonAvatar
75
- } from "../chunk-7Q2RNHL5.mjs";
75
+ } from "../chunk-N5HAHEII.mjs";
76
76
  import {
77
77
  pageHeader
78
78
  } from "../chunk-HAVJ6EQ6.mjs";
@@ -166,7 +166,7 @@ import {
166
166
  } from "../chunk-QGL2OK4B.mjs";
167
167
  import {
168
168
  colorHighlightButton
169
- } from "../chunk-CPERWXKN.mjs";
169
+ } from "../chunk-VGHYQHC2.mjs";
170
170
  import {
171
171
  combobox
172
172
  } from "../chunk-3T7EOMXR.mjs";
@@ -193,7 +193,7 @@ import {
193
193
  } from "../chunk-W6TZSSAU.mjs";
194
194
  import {
195
195
  button
196
- } from "../chunk-OTETLRUE.mjs";
196
+ } from "../chunk-67MJDO4Q.mjs";
197
197
  import {
198
198
  calendar
199
199
  } from "../chunk-JWF5ABNP.mjs";
@@ -208,10 +208,10 @@ import {
208
208
  } from "../chunk-ZUKWFD2M.mjs";
209
209
  import {
210
210
  chip
211
- } from "../chunk-5LVKFTZS.mjs";
211
+ } from "../chunk-3UQ6COYP.mjs";
212
212
  import {
213
213
  code
214
- } from "../chunk-VQ2OAHGP.mjs";
214
+ } from "../chunk-OAG7ADA5.mjs";
215
215
  import {
216
216
  accordion
217
217
  } from "../chunk-AEWKHJEI.mjs";
@@ -233,8 +233,8 @@ import {
233
233
  } from "../chunk-XCLEKBCJ.mjs";
234
234
  import {
235
235
  avatar
236
- } from "../chunk-D5FKEY7B.mjs";
237
- import "../chunk-7T563RF7.mjs";
236
+ } from "../chunk-SNJSK3BQ.mjs";
237
+ import "../chunk-MUMBGMSH.mjs";
238
238
  import "../chunk-6IZPAS4O.mjs";
239
239
  import {
240
240
  blankstate
@@ -84,12 +84,21 @@ var ghost = {
84
84
  success: "bg-transparent text-success",
85
85
  default: "bg-transparent text-accent-foreground"
86
86
  };
87
+ var dashed = {
88
+ default: "border-muted-foreground/30 text-muted-foreground hover:border-foreground hover:text-foreground hover:bg-accent/50",
89
+ primary: "border-primary/30 text-primary hover:border-primary hover:bg-primary/5",
90
+ secondary: "border-secondary/30 text-secondary hover:border-secondary hover:bg-secondary/5",
91
+ destructive: "border-destructive/30 text-destructive hover:border-destructive hover:bg-destructive/5",
92
+ warning: "border-warning/30 text-warning hover:border-warning hover:bg-warning/5",
93
+ success: "border-success/30 text-success hover:border-success hover:bg-success/5"
94
+ };
87
95
  var colorVariants = {
88
96
  solid,
89
97
  ghost,
90
98
  outline,
91
99
  flat,
92
- faded
100
+ faded,
101
+ dashed
93
102
  };
94
103
 
95
104
  // src/components/avatar.ts
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  skeletonAvatar
3
- } from "../chunk-7Q2RNHL5.mjs";
4
- import "../chunk-D5FKEY7B.mjs";
5
- import "../chunk-7T563RF7.mjs";
3
+ } from "../chunk-N5HAHEII.mjs";
4
+ import "../chunk-SNJSK3BQ.mjs";
5
+ import "../chunk-MUMBGMSH.mjs";
6
6
  import "../chunk-6IZPAS4O.mjs";
7
7
  export {
8
8
  skeletonAvatar
@@ -71,12 +71,21 @@ var ghost = {
71
71
  success: "bg-transparent text-success",
72
72
  default: "bg-transparent text-accent-foreground"
73
73
  };
74
+ var dashed = {
75
+ default: "border-muted-foreground/30 text-muted-foreground hover:border-foreground hover:text-foreground hover:bg-accent/50",
76
+ primary: "border-primary/30 text-primary hover:border-primary hover:bg-primary/5",
77
+ secondary: "border-secondary/30 text-secondary hover:border-secondary hover:bg-secondary/5",
78
+ destructive: "border-destructive/30 text-destructive hover:border-destructive hover:bg-destructive/5",
79
+ warning: "border-warning/30 text-warning hover:border-warning hover:bg-warning/5",
80
+ success: "border-success/30 text-success hover:border-success hover:bg-success/5"
81
+ };
74
82
  var colorVariants = {
75
83
  solid,
76
84
  ghost,
77
85
  outline,
78
86
  flat,
79
- faded
87
+ faded,
88
+ dashed
80
89
  };
81
90
 
82
91
  // src/components/chip.ts
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  standardChip
3
- } from "../chunk-XQZL7LCP.mjs";
4
- import "../chunk-5LVKFTZS.mjs";
5
- import "../chunk-7T563RF7.mjs";
3
+ } from "../chunk-UTKOKSES.mjs";
4
+ import "../chunk-3UQ6COYP.mjs";
5
+ import "../chunk-MUMBGMSH.mjs";
6
6
  export {
7
7
  standardChip
8
8
  };
package/dist/index.js CHANGED
@@ -459,12 +459,21 @@ var ghost = {
459
459
  success: "bg-transparent text-success",
460
460
  default: "bg-transparent text-accent-foreground"
461
461
  };
462
+ var dashed = {
463
+ default: "border-muted-foreground/30 text-muted-foreground hover:border-foreground hover:text-foreground hover:bg-accent/50",
464
+ primary: "border-primary/30 text-primary hover:border-primary hover:bg-primary/5",
465
+ secondary: "border-secondary/30 text-secondary hover:border-secondary hover:bg-secondary/5",
466
+ destructive: "border-destructive/30 text-destructive hover:border-destructive hover:bg-destructive/5",
467
+ warning: "border-warning/30 text-warning hover:border-warning hover:bg-warning/5",
468
+ success: "border-success/30 text-success hover:border-success hover:bg-success/5"
469
+ };
462
470
  var colorVariants = {
463
471
  solid,
464
472
  ghost,
465
473
  outline,
466
474
  flat,
467
- faded
475
+ faded,
476
+ dashed
468
477
  };
469
478
 
470
479
  // src/components/avatar.ts
@@ -756,6 +765,7 @@ var button = (0, import_tailwind_variants10.tv)({
756
765
  solid: "shadow-xs",
757
766
  ghost: "data-[active-state=on]:bg-primary/10",
758
767
  outline: "border-1 bg-transparent",
768
+ dashed: "border border-dashed bg-transparent hover:opacity-100",
759
769
  link: ""
760
770
  },
761
771
  size: {
@@ -900,6 +910,37 @@ var button = (0, import_tailwind_variants10.tv)({
900
910
  color: "default",
901
911
  class: colorVariants.outline.default
902
912
  },
913
+ // dashed color
914
+ {
915
+ variant: "dashed",
916
+ color: "primary",
917
+ class: colorVariants.dashed.primary
918
+ },
919
+ {
920
+ variant: "dashed",
921
+ color: "secondary",
922
+ class: colorVariants.dashed.secondary
923
+ },
924
+ {
925
+ variant: "dashed",
926
+ color: "destructive",
927
+ class: colorVariants.dashed.destructive
928
+ },
929
+ {
930
+ variant: "dashed",
931
+ color: "warning",
932
+ class: colorVariants.dashed.warning
933
+ },
934
+ {
935
+ variant: "dashed",
936
+ color: "success",
937
+ class: colorVariants.dashed.success
938
+ },
939
+ {
940
+ variant: "dashed",
941
+ color: "default",
942
+ class: colorVariants.dashed.default
943
+ },
903
944
  // icon
904
945
  {
905
946
  isIconOnly: true,
@@ -1660,16 +1701,12 @@ var code = (0, import_tailwind_variants16.tv)({
1660
1701
  var import_tailwind_variants17 = require("tailwind-variants");
1661
1702
  var colorHighlightButton = (0, import_tailwind_variants17.tv)({
1662
1703
  slots: {
1663
- button: [
1664
- "relative min-w-none",
1665
- "hover:bg-",
1666
- "size-5 bg-[var(--highlight-color)]"
1667
- ],
1704
+ button: ["relative min-w-none", "size-5"],
1668
1705
  mark: [
1669
- "absolute size- left-0 top-0",
1670
- "border border-[var(--highlight-color)]",
1671
- "rounded-[inherit] box-border brightness-95 mix-blend-multiply",
1672
- "data-[active-state=on]:brightness-140"
1706
+ "absolute inset-0",
1707
+ "rounded-[inherit] box-border",
1708
+ "border-2 border-transparent",
1709
+ "data-[active-state=on]:border-foreground"
1673
1710
  ]
1674
1711
  }
1675
1712
  });
package/dist/index.mjs CHANGED
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-B5JVXVSG.mjs";
39
39
  import {
40
40
  standardChip
41
- } from "./chunk-XQZL7LCP.mjs";
41
+ } from "./chunk-UTKOKSES.mjs";
42
42
  import {
43
43
  stat
44
44
  } from "./chunk-RTWYV4TJ.mjs";
@@ -73,7 +73,7 @@ import {
73
73
  } from "./chunk-2Z4QAY6O.mjs";
74
74
  import {
75
75
  skeletonAvatar
76
- } from "./chunk-7Q2RNHL5.mjs";
76
+ } from "./chunk-N5HAHEII.mjs";
77
77
  import {
78
78
  pageHeader
79
79
  } from "./chunk-HAVJ6EQ6.mjs";
@@ -167,7 +167,7 @@ import {
167
167
  } from "./chunk-QGL2OK4B.mjs";
168
168
  import {
169
169
  colorHighlightButton
170
- } from "./chunk-CPERWXKN.mjs";
170
+ } from "./chunk-VGHYQHC2.mjs";
171
171
  import {
172
172
  combobox
173
173
  } from "./chunk-3T7EOMXR.mjs";
@@ -194,7 +194,7 @@ import {
194
194
  } from "./chunk-W6TZSSAU.mjs";
195
195
  import {
196
196
  button
197
- } from "./chunk-OTETLRUE.mjs";
197
+ } from "./chunk-67MJDO4Q.mjs";
198
198
  import {
199
199
  calendar
200
200
  } from "./chunk-JWF5ABNP.mjs";
@@ -209,10 +209,10 @@ import {
209
209
  } from "./chunk-ZUKWFD2M.mjs";
210
210
  import {
211
211
  chip
212
- } from "./chunk-5LVKFTZS.mjs";
212
+ } from "./chunk-3UQ6COYP.mjs";
213
213
  import {
214
214
  code
215
- } from "./chunk-VQ2OAHGP.mjs";
215
+ } from "./chunk-OAG7ADA5.mjs";
216
216
  import {
217
217
  accordion
218
218
  } from "./chunk-AEWKHJEI.mjs";
@@ -234,8 +234,8 @@ import {
234
234
  } from "./chunk-XCLEKBCJ.mjs";
235
235
  import {
236
236
  avatar
237
- } from "./chunk-D5FKEY7B.mjs";
238
- import "./chunk-7T563RF7.mjs";
237
+ } from "./chunk-SNJSK3BQ.mjs";
238
+ import "./chunk-MUMBGMSH.mjs";
239
239
  import "./chunk-6IZPAS4O.mjs";
240
240
  import {
241
241
  blankstate
@@ -41,6 +41,14 @@ declare const colorVariants: {
41
41
  destructive: string;
42
42
  foreground: string;
43
43
  };
44
+ dashed: {
45
+ default: string;
46
+ primary: string;
47
+ secondary: string;
48
+ destructive: string;
49
+ warning: string;
50
+ success: string;
51
+ };
44
52
  };
45
53
 
46
54
  export { colorVariants };
@@ -41,6 +41,14 @@ declare const colorVariants: {
41
41
  destructive: string;
42
42
  foreground: string;
43
43
  };
44
+ dashed: {
45
+ default: string;
46
+ primary: string;
47
+ secondary: string;
48
+ destructive: string;
49
+ warning: string;
50
+ success: string;
51
+ };
44
52
  };
45
53
 
46
54
  export { colorVariants };
@@ -65,12 +65,21 @@ var ghost = {
65
65
  success: "bg-transparent text-success",
66
66
  default: "bg-transparent text-accent-foreground"
67
67
  };
68
+ var dashed = {
69
+ default: "border-muted-foreground/30 text-muted-foreground hover:border-foreground hover:text-foreground hover:bg-accent/50",
70
+ primary: "border-primary/30 text-primary hover:border-primary hover:bg-primary/5",
71
+ secondary: "border-secondary/30 text-secondary hover:border-secondary hover:bg-secondary/5",
72
+ destructive: "border-destructive/30 text-destructive hover:border-destructive hover:bg-destructive/5",
73
+ warning: "border-warning/30 text-warning hover:border-warning hover:bg-warning/5",
74
+ success: "border-success/30 text-success hover:border-success hover:bg-success/5"
75
+ };
68
76
  var colorVariants = {
69
77
  solid,
70
78
  ghost,
71
79
  outline,
72
80
  flat,
73
- faded
81
+ faded,
82
+ dashed
74
83
  };
75
84
  // Annotate the CommonJS export names for ESM import in node:
76
85
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colorVariants
3
- } from "../chunk-7T563RF7.mjs";
3
+ } from "../chunk-MUMBGMSH.mjs";
4
4
  export {
5
5
  colorVariants
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/theme",
3
- "version": "17.26.10",
3
+ "version": "17.27.1",
4
4
  "description": "The default theme for Kopexa components",
5
5
  "keywords": [
6
6
  "theme",
@@ -66,7 +66,7 @@
66
66
  "tailwind-merge": "^3.5.0",
67
67
  "tailwind-variants": "^3.2.2",
68
68
  "tw-animate-css": "^1.4.0",
69
- "@kopexa/shared-utils": "17.0.73"
69
+ "@kopexa/shared-utils": "17.0.75"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "tailwindcss": ">=4.0.0"
@@ -1,21 +0,0 @@
1
- // src/components/color-highlight-button.ts
2
- import { tv } from "tailwind-variants";
3
- var colorHighlightButton = tv({
4
- slots: {
5
- button: [
6
- "relative min-w-none",
7
- "hover:bg-",
8
- "size-5 bg-[var(--highlight-color)]"
9
- ],
10
- mark: [
11
- "absolute size- left-0 top-0",
12
- "border border-[var(--highlight-color)]",
13
- "rounded-[inherit] box-border brightness-95 mix-blend-multiply",
14
- "data-[active-state=on]:brightness-140"
15
- ]
16
- }
17
- });
18
-
19
- export {
20
- colorHighlightButton
21
- };