@kopexa/theme 1.7.7 → 2.1.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.
Files changed (161) hide show
  1. package/dist/chunk-2NA54PNL.mjs +43 -0
  2. package/dist/{chunk-EXBKQDH5.mjs → chunk-3PCDCW7G.mjs} +1 -1
  3. package/dist/{chunk-UEMJVVVF.mjs → chunk-5DOB3IBE.mjs} +14 -1
  4. package/dist/{chunk-7O57EDVS.mjs → chunk-63C4SFQK.mjs} +20 -10
  5. package/dist/{chunk-SHHD2WUZ.mjs → chunk-7VZZASRG.mjs} +1 -1
  6. package/dist/{chunk-XAHAVJUM.mjs → chunk-A3F4CV54.mjs} +8 -1
  7. package/dist/chunk-BETLBSSF.mjs +23 -0
  8. package/dist/chunk-CPERWXKN.mjs +21 -0
  9. package/dist/chunk-DI54XTS5.mjs +56 -0
  10. package/dist/{chunk-ZL6FAOXE.mjs → chunk-HHOMDBMZ.mjs} +1 -1
  11. package/dist/chunk-HWEYNK3O.mjs +25 -0
  12. package/dist/{chunk-U32YEQZ5.mjs → chunk-IHITEH7V.mjs} +15 -9
  13. package/dist/chunk-IHW4FWFB.mjs +71 -0
  14. package/dist/{chunk-TJDRYBGW.mjs → chunk-JXQPOORM.mjs} +15 -9
  15. package/dist/{chunk-MWG2OZMD.mjs → chunk-LAJQAXSV.mjs} +7 -9
  16. package/dist/{chunk-VCLXE57S.mjs → chunk-LM7MKBHT.mjs} +7 -1
  17. package/dist/chunk-LMCM4CW2.mjs +22 -0
  18. package/dist/chunk-M3GQ563Q.mjs +33 -0
  19. package/dist/chunk-M4TXKRUU.mjs +7 -0
  20. package/dist/chunk-NFOF75HQ.mjs +106 -0
  21. package/dist/chunk-NUEQ5FLX.mjs +50 -0
  22. package/dist/{chunk-JHKTRIIA.mjs → chunk-RQYYDG26.mjs} +4 -2
  23. package/dist/chunk-SPQE7K66.mjs +18 -0
  24. package/dist/chunk-TVC4THD6.mjs +16 -0
  25. package/dist/chunk-URGRCBNW.mjs +27 -0
  26. package/dist/chunk-VSVGOX3P.mjs +48 -0
  27. package/dist/chunk-WQ446TVH.mjs +39 -0
  28. package/dist/chunk-XGUDXC5P.mjs +26 -0
  29. package/dist/{chunk-755GJHKQ.mjs → chunk-XRKUQMGU.mjs} +1 -1
  30. package/dist/{chunk-JQ74U2S3.mjs → chunk-YH6TDPK7.mjs} +4 -4
  31. package/dist/chunk-Z7D56R5U.mjs +70 -0
  32. package/dist/components/alert-dialog.d.mts +9 -9
  33. package/dist/components/alert-dialog.d.ts +9 -9
  34. package/dist/components/alert-dialog.js +11 -2
  35. package/dist/components/alert-dialog.mjs +1 -1
  36. package/dist/components/autocomplete.d.mts +73 -0
  37. package/dist/components/autocomplete.d.ts +73 -0
  38. package/dist/components/autocomplete.js +173 -0
  39. package/dist/components/autocomplete.mjs +8 -0
  40. package/dist/components/avatar.mjs +2 -2
  41. package/dist/components/button.d.mts +15 -0
  42. package/dist/components/button.d.ts +15 -0
  43. package/dist/components/button.js +12 -6
  44. package/dist/components/button.mjs +2 -2
  45. package/dist/components/callout.d.mts +18 -0
  46. package/dist/components/callout.d.ts +18 -0
  47. package/dist/components/callout.js +8 -1
  48. package/dist/components/callout.mjs +1 -1
  49. package/dist/components/card.d.mts +27 -0
  50. package/dist/components/card.d.ts +27 -0
  51. package/dist/components/card.js +20 -10
  52. package/dist/components/card.mjs +1 -1
  53. package/dist/components/chip.d.mts +3 -0
  54. package/dist/components/chip.d.ts +3 -0
  55. package/dist/components/chip.js +4 -2
  56. package/dist/components/chip.mjs +1 -1
  57. package/dist/components/color-highlight-button.d.mts +36 -0
  58. package/dist/components/color-highlight-button.d.ts +36 -0
  59. package/dist/components/color-highlight-button.js +45 -0
  60. package/dist/components/color-highlight-button.mjs +6 -0
  61. package/dist/components/command.d.mts +9 -9
  62. package/dist/components/command.d.ts +9 -9
  63. package/dist/components/control-extension.d.mts +5 -0
  64. package/dist/components/control-extension.d.ts +5 -0
  65. package/dist/components/control-extension.js +31 -0
  66. package/dist/components/control-extension.mjs +6 -0
  67. package/dist/components/dialog.js +7 -9
  68. package/dist/components/dialog.mjs +1 -1
  69. package/dist/components/drawer.d.mts +3 -3
  70. package/dist/components/drawer.d.ts +3 -3
  71. package/dist/components/drawer.js +21 -17
  72. package/dist/components/drawer.mjs +2 -2
  73. package/dist/components/dropdown-menu.js +1 -1
  74. package/dist/components/dropdown-menu.mjs +1 -1
  75. package/dist/components/editor-basic.d.mts +61 -0
  76. package/dist/components/editor-basic.d.ts +61 -0
  77. package/dist/components/editor-basic.js +74 -0
  78. package/dist/components/editor-basic.mjs +6 -0
  79. package/dist/components/editor-spinner.d.mts +60 -0
  80. package/dist/components/editor-spinner.d.ts +60 -0
  81. package/dist/components/editor-spinner.js +40 -0
  82. package/dist/components/editor-spinner.mjs +6 -0
  83. package/dist/components/hover-card.mjs +2 -2
  84. package/dist/components/index.d.mts +15 -0
  85. package/dist/components/index.d.ts +15 -0
  86. package/dist/components/index.js +787 -209
  87. package/dist/components/index.mjs +111 -51
  88. package/dist/components/input-group.d.mts +5 -0
  89. package/dist/components/input-group.d.ts +5 -0
  90. package/dist/components/input-group.js +49 -0
  91. package/dist/components/input-group.mjs +6 -0
  92. package/dist/components/input-wrapper.d.mts +25 -0
  93. package/dist/components/input-wrapper.d.ts +25 -0
  94. package/dist/components/input-wrapper.js +72 -0
  95. package/dist/components/input-wrapper.mjs +6 -0
  96. package/dist/components/input.d.mts +30 -129
  97. package/dist/components/input.d.ts +30 -129
  98. package/dist/components/input.js +58 -71
  99. package/dist/components/input.mjs +2 -2
  100. package/dist/components/integration-card.d.mts +3 -3
  101. package/dist/components/integration-card.d.ts +3 -3
  102. package/dist/components/kbd.d.mts +35 -0
  103. package/dist/components/kbd.d.ts +35 -0
  104. package/dist/components/kbd.js +47 -0
  105. package/dist/components/kbd.mjs +6 -0
  106. package/dist/components/label.d.mts +22 -0
  107. package/dist/components/label.d.ts +22 -0
  108. package/dist/components/label.js +46 -0
  109. package/dist/components/label.mjs +6 -0
  110. package/dist/components/popover.d.mts +79 -14
  111. package/dist/components/popover.d.ts +79 -14
  112. package/dist/components/popover.js +41 -4
  113. package/dist/components/popover.mjs +2 -2
  114. package/dist/components/scroll-area.d.mts +50 -0
  115. package/dist/components/scroll-area.d.ts +50 -0
  116. package/dist/components/scroll-area.js +42 -0
  117. package/dist/components/scroll-area.mjs +6 -0
  118. package/dist/components/select.d.mts +76 -0
  119. package/dist/components/select.d.ts +76 -0
  120. package/dist/components/select.js +145 -0
  121. package/dist/components/select.mjs +7 -0
  122. package/dist/components/separator.d.mts +2 -2
  123. package/dist/components/separator.d.ts +2 -2
  124. package/dist/components/separator.js +7 -1
  125. package/dist/components/separator.mjs +1 -1
  126. package/dist/components/skeleton-avatar.mjs +3 -3
  127. package/dist/components/slash-dropdown-menu.d.mts +54 -0
  128. package/dist/components/slash-dropdown-menu.d.ts +54 -0
  129. package/dist/components/slash-dropdown-menu.js +55 -0
  130. package/dist/components/slash-dropdown-menu.mjs +7 -0
  131. package/dist/components/standard-chip.d.mts +4 -0
  132. package/dist/components/standard-chip.d.ts +4 -0
  133. package/dist/components/standard-chip.js +4 -2
  134. package/dist/components/standard-chip.mjs +2 -2
  135. package/dist/components/switch.d.mts +62 -0
  136. package/dist/components/switch.d.ts +62 -0
  137. package/dist/components/switch.js +63 -0
  138. package/dist/components/switch.mjs +6 -0
  139. package/dist/components/textarea.d.mts +25 -0
  140. package/dist/components/textarea.d.ts +25 -0
  141. package/dist/components/textarea.js +72 -0
  142. package/dist/components/textarea.mjs +7 -0
  143. package/dist/components/toolbar.d.mts +91 -0
  144. package/dist/components/toolbar.d.ts +91 -0
  145. package/dist/components/toolbar.js +67 -0
  146. package/dist/components/toolbar.mjs +6 -0
  147. package/dist/editor.css +839 -0
  148. package/dist/index.css +28 -1
  149. package/dist/index.d.mts +15 -0
  150. package/dist/index.d.ts +15 -0
  151. package/dist/index.js +787 -209
  152. package/dist/index.mjs +111 -51
  153. package/dist/utils/classes.d.mts +13 -1
  154. package/dist/utils/classes.d.ts +13 -1
  155. package/dist/utils/classes.js +14 -0
  156. package/dist/utils/classes.mjs +3 -1
  157. package/package.json +26 -20
  158. package/dist/chunk-CPEP2RO4.mjs +0 -17
  159. package/dist/chunk-IKJHZT2S.mjs +0 -19
  160. package/dist/chunk-UMSU2ZEG.mjs +0 -96
  161. /package/dist/{chunk-3ZVSVLZD.mjs → chunk-4I5ASWB3.mjs} +0 -0
@@ -0,0 +1,73 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const autocomplete: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ input: (string | string[])[];
8
+ };
9
+ md: {
10
+ input: (string | string[])[];
11
+ };
12
+ lg: {
13
+ input: (string | string[])[];
14
+ };
15
+ };
16
+ }, {
17
+ input: string[];
18
+ content: string;
19
+ positioner: string;
20
+ popup: string[];
21
+ empty: string[];
22
+ list: string;
23
+ item: string[];
24
+ clear: string[];
25
+ control: string;
26
+ }, undefined, {
27
+ size: {
28
+ sm: {
29
+ input: (string | string[])[];
30
+ };
31
+ md: {
32
+ input: (string | string[])[];
33
+ };
34
+ lg: {
35
+ input: (string | string[])[];
36
+ };
37
+ };
38
+ }, {
39
+ input: string[];
40
+ content: string;
41
+ positioner: string;
42
+ popup: string[];
43
+ empty: string[];
44
+ list: string;
45
+ item: string[];
46
+ clear: string[];
47
+ control: string;
48
+ }, tailwind_variants.TVReturnType<{
49
+ size: {
50
+ sm: {
51
+ input: (string | string[])[];
52
+ };
53
+ md: {
54
+ input: (string | string[])[];
55
+ };
56
+ lg: {
57
+ input: (string | string[])[];
58
+ };
59
+ };
60
+ }, {
61
+ input: string[];
62
+ content: string;
63
+ positioner: string;
64
+ popup: string[];
65
+ empty: string[];
66
+ list: string;
67
+ item: string[];
68
+ clear: string[];
69
+ control: string;
70
+ }, undefined, unknown, unknown, undefined>>;
71
+ type AutocompleteVariantProps = VariantProps<typeof autocomplete>;
72
+
73
+ export { type AutocompleteVariantProps, autocomplete };
@@ -0,0 +1,73 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const autocomplete: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: {
7
+ input: (string | string[])[];
8
+ };
9
+ md: {
10
+ input: (string | string[])[];
11
+ };
12
+ lg: {
13
+ input: (string | string[])[];
14
+ };
15
+ };
16
+ }, {
17
+ input: string[];
18
+ content: string;
19
+ positioner: string;
20
+ popup: string[];
21
+ empty: string[];
22
+ list: string;
23
+ item: string[];
24
+ clear: string[];
25
+ control: string;
26
+ }, undefined, {
27
+ size: {
28
+ sm: {
29
+ input: (string | string[])[];
30
+ };
31
+ md: {
32
+ input: (string | string[])[];
33
+ };
34
+ lg: {
35
+ input: (string | string[])[];
36
+ };
37
+ };
38
+ }, {
39
+ input: string[];
40
+ content: string;
41
+ positioner: string;
42
+ popup: string[];
43
+ empty: string[];
44
+ list: string;
45
+ item: string[];
46
+ clear: string[];
47
+ control: string;
48
+ }, tailwind_variants.TVReturnType<{
49
+ size: {
50
+ sm: {
51
+ input: (string | string[])[];
52
+ };
53
+ md: {
54
+ input: (string | string[])[];
55
+ };
56
+ lg: {
57
+ input: (string | string[])[];
58
+ };
59
+ };
60
+ }, {
61
+ input: string[];
62
+ content: string;
63
+ positioner: string;
64
+ popup: string[];
65
+ empty: string[];
66
+ list: string;
67
+ item: string[];
68
+ clear: string[];
69
+ control: string;
70
+ }, undefined, unknown, unknown, undefined>>;
71
+ type AutocompleteVariantProps = VariantProps<typeof autocomplete>;
72
+
73
+ export { type AutocompleteVariantProps, autocomplete };
@@ -0,0 +1,173 @@
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/autocomplete.ts
21
+ var autocomplete_exports = {};
22
+ __export(autocomplete_exports, {
23
+ autocomplete: () => autocomplete
24
+ });
25
+ module.exports = __toCommonJS(autocomplete_exports);
26
+ var import_tailwind_variants2 = require("tailwind-variants");
27
+
28
+ // src/utils/classes.ts
29
+ var focusVisibleClasses = [
30
+ "focus-visible:outline-2 focus-visible:outline-ring focus-visible:outline-offset-2"
31
+ //"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
32
+ ];
33
+ var popoverContentClasses = [
34
+ "bg-popover text-popover-foreground z-50",
35
+ "rounded-md border p-4 shadow-md outline-hidden"
36
+ ];
37
+ var inputClasses = {
38
+ radius: {
39
+ sm: "rounded-sm",
40
+ md: "rounded-md",
41
+ lg: "rounded-lg"
42
+ },
43
+ height: {
44
+ sm: "h-7 min-h-7",
45
+ md: "h-8.5 min-h-8.5",
46
+ lg: "h-10 min-h-10"
47
+ }
48
+ };
49
+
50
+ // src/components/input.ts
51
+ var import_tailwind_variants = require("tailwind-variants");
52
+ var passwordInput = (0, import_tailwind_variants.tv)({
53
+ slots: {
54
+ button: "focus:outline-hidden",
55
+ icon: "pointer-events-none text-muted-foreground"
56
+ }
57
+ });
58
+ var input = (0, import_tailwind_variants.tv)({
59
+ base: [
60
+ "w-full inline-flex bg-background text-foreground",
61
+ "border-input border",
62
+ "shadow-xs placeholder:text-muted-foreground",
63
+ ...focusVisibleClasses,
64
+ "disabled:cursor-not-allowed disabled:opacity-60",
65
+ "[&[readonly]]:bg-muted/80 [&[readonly]]:cursor-not-allowed",
66
+ "w-full font-normal outline-hidden focus-visible:outline-hidden",
67
+ "data-[has-start-content=true]:ps-1.5",
68
+ "data-[has-end-content=true]:pe-1.5",
69
+ "file:cursor-pointer file:bg-transparent file:border-0",
70
+ "autofill:bg-transparent bg-clip-text",
71
+ // legacy
72
+ "selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground",
73
+ "flex",
74
+ // file
75
+ "file:text-foreground file:inline-flex file:text-sm file:font-medium",
76
+ "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
77
+ ],
78
+ variants: {
79
+ size: {
80
+ sm: [
81
+ inputClasses.radius.sm,
82
+ inputClasses.height.sm,
83
+ "px-2.5 [&_svg]:size-4",
84
+ "text-sm file:h-6"
85
+ ],
86
+ md: [
87
+ inputClasses.radius.md,
88
+ inputClasses.height.md,
89
+ "px-3 [&_svg]:size-4",
90
+ "text-base md:text-sm file:h-8"
91
+ ],
92
+ lg: [
93
+ inputClasses.radius.lg,
94
+ inputClasses.height.md,
95
+ "px-4 [&_svg]:size-4",
96
+ "text-base file:h-10"
97
+ ]
98
+ },
99
+ radius: {
100
+ none: "rounded-none",
101
+ sm: "rounded-sm",
102
+ md: "rounded-md",
103
+ lg: "rounded-lg",
104
+ full: "rounded-full"
105
+ }
106
+ },
107
+ defaultVariants: {
108
+ size: "md"
109
+ }
110
+ });
111
+
112
+ // src/components/autocomplete.ts
113
+ var autocomplete = (0, import_tailwind_variants2.tv)({
114
+ slots: {
115
+ input: input.base,
116
+ content: "",
117
+ positioner: "outline-none",
118
+ popup: [
119
+ ...popoverContentClasses,
120
+ "p-0 py-1 w-[var(--anchor-width)] max-h-[min(var(--available-height),23rem)] max-w-[var(--available-width)]",
121
+ "overflow-y-auto scroll-pt-2 scroll-pb-2 overscroll-contain bg-[canvas]",
122
+ "shadow-black/5",
123
+ "origin-[var(--transform-origin)] transition-[transform,scale,opacity] data-[ending-style]:scale-90",
124
+ "data-[ending-style]:opacity-0 data-[starting-style]:scale-90 data-[starting-style]:opacity-0"
125
+ ],
126
+ empty: ["px-2 py-1.5 text-sm text-muted-foreground empty:m-0 empty:p-0"],
127
+ list: "space-y-0.5",
128
+ item: [
129
+ "text-foreground relative flex cursor-default select-none items-center gap-2 rounded-md px-4 py-2 text-sm outline-hidden transition-colors",
130
+ "data-disabled:pointer-events-none data-disabled:opacity-50",
131
+ "[&_svg]:pointer-events-none [&_svg:not([role=img]):not([class*=text-])]:opacity-60 [&_svg:not([class*=size-])]:size-4 [&_svg]:shrink-0",
132
+ "data-[highlighted]:relative data-[highlighted]:z-0 data-[highlighted]:text-foreground data-[highlighted]:before:absolute",
133
+ "data-[highlighted]:before:inset-x-1 data-[highlighted]:before:inset-y-0 data-[highlighted]:before:z-[-1] data-[highlighted]:before:rounded-sm data-[highlighted]:before:bg-accent"
134
+ ],
135
+ clear: [
136
+ "absolute cursor-pointer top-1/2 -translate-y-1/2",
137
+ "rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100",
138
+ "focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
139
+ "data-[disabled]:pointer-events-none",
140
+ "[&_svg]:size-3.5"
141
+ ],
142
+ control: "relative"
143
+ },
144
+ variants: {
145
+ size: {
146
+ sm: {
147
+ input: [
148
+ input.variants.size.sm,
149
+ "[&~[data-slot=autocomplete-clear]]:end-1.75"
150
+ ]
151
+ },
152
+ md: {
153
+ input: [
154
+ input.variants.size.md,
155
+ "[&~[data-slot=autocomplete-clear]]:end-2"
156
+ ]
157
+ },
158
+ lg: {
159
+ input: [
160
+ input.variants.size.lg,
161
+ "[&~[data-slot=autocomplete-clear]]:end-2.5"
162
+ ]
163
+ }
164
+ }
165
+ },
166
+ defaultVariants: {
167
+ size: "md"
168
+ }
169
+ });
170
+ // Annotate the CommonJS export names for ESM import in node:
171
+ 0 && (module.exports = {
172
+ autocomplete
173
+ });
@@ -0,0 +1,8 @@
1
+ import {
2
+ autocomplete
3
+ } from "../chunk-Z7D56R5U.mjs";
4
+ import "../chunk-IHW4FWFB.mjs";
5
+ import "../chunk-5DOB3IBE.mjs";
6
+ export {
7
+ autocomplete
8
+ };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  avatar
3
- } from "../chunk-JQ74U2S3.mjs";
4
- import "../chunk-UEMJVVVF.mjs";
3
+ } from "../chunk-YH6TDPK7.mjs";
5
4
  import "../chunk-WSEO3MLK.mjs";
5
+ import "../chunk-5DOB3IBE.mjs";
6
6
  export {
7
7
  avatar
8
8
  };
@@ -46,6 +46,11 @@ declare const button: tailwind_variants.TVReturnType<{
46
46
  true: string;
47
47
  false: string;
48
48
  };
49
+ spacing: {
50
+ default: string;
51
+ between: string;
52
+ start: string;
53
+ };
49
54
  }, undefined, string[], {
50
55
  variant: {
51
56
  solid: string;
@@ -74,6 +79,11 @@ declare const button: tailwind_variants.TVReturnType<{
74
79
  true: string;
75
80
  false: string;
76
81
  };
82
+ spacing: {
83
+ default: string;
84
+ between: string;
85
+ start: string;
86
+ };
77
87
  }, undefined, tailwind_variants.TVReturnType<{
78
88
  variant: {
79
89
  solid: string;
@@ -102,6 +112,11 @@ declare const button: tailwind_variants.TVReturnType<{
102
112
  true: string;
103
113
  false: string;
104
114
  };
115
+ spacing: {
116
+ default: string;
117
+ between: string;
118
+ start: string;
119
+ };
105
120
  }, undefined, string[], unknown, unknown, undefined>>;
106
121
  type ButtonVariantProps = VariantProps<typeof button>;
107
122
 
@@ -46,6 +46,11 @@ declare const button: tailwind_variants.TVReturnType<{
46
46
  true: string;
47
47
  false: string;
48
48
  };
49
+ spacing: {
50
+ default: string;
51
+ between: string;
52
+ start: string;
53
+ };
49
54
  }, undefined, string[], {
50
55
  variant: {
51
56
  solid: string;
@@ -74,6 +79,11 @@ declare const button: tailwind_variants.TVReturnType<{
74
79
  true: string;
75
80
  false: string;
76
81
  };
82
+ spacing: {
83
+ default: string;
84
+ between: string;
85
+ start: string;
86
+ };
77
87
  }, undefined, tailwind_variants.TVReturnType<{
78
88
  variant: {
79
89
  solid: string;
@@ -102,6 +112,11 @@ declare const button: tailwind_variants.TVReturnType<{
102
112
  true: string;
103
113
  false: string;
104
114
  };
115
+ spacing: {
116
+ default: string;
117
+ between: string;
118
+ start: string;
119
+ };
105
120
  }, undefined, string[], unknown, unknown, undefined>>;
106
121
  type ButtonVariantProps = VariantProps<typeof button>;
107
122
 
@@ -92,6 +92,7 @@ var button = (0, import_tailwind_variants.tv)({
92
92
  ...focusVisibleClasses,
93
93
  // shadcn below
94
94
  "disabled:pointer-events-none disabled:opacity-50",
95
+ "data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50",
95
96
  "shrink-0 [&_svg]:shrink-0",
96
97
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
97
98
  "text-sm font-medium"
@@ -99,14 +100,14 @@ var button = (0, import_tailwind_variants.tv)({
99
100
  variants: {
100
101
  variant: {
101
102
  solid: "shadow-xs",
102
- ghost: "data-[active-state=on]:bg-accent/70",
103
+ ghost: "data-[active-state=on]:bg-primary/10",
103
104
  outline: "border-1 bg-transparent",
104
105
  link: ""
105
106
  },
106
107
  size: {
107
- sm: "px-3 min-w-16 h-8 text-xs gap-2 rounded-sm has-[>svg]:px-2.5 [&_svg]:size-3",
108
- md: "px-4 min-w-20 h-10 text-sm gap-2 rounded-md has-[>svg]:px-3 [&_svg]:size-4",
109
- lg: "px-6 min-w-24 h-12 text-base gap-3 rounded-lg has-[>svg]:px-4 [&_svg]:size-4"
108
+ sm: "px-3 min-w-16 h-7 text-xs gap-2 rounded-sm has-[>svg]:px-2.5 [&_svg]:size-3",
109
+ md: "px-4 min-w-20 h-8.5 text-sm gap-2 rounded-sm has-[>svg]:px-3 [&_svg]:size-4",
110
+ lg: "px-6 min-w-24 h-10 text-base gap-3 rounded-lg has-[>svg]:px-4 [&_svg]:size-4"
110
111
  },
111
112
  color: {
112
113
  primary: "",
@@ -123,10 +124,15 @@ var button = (0, import_tailwind_variants.tv)({
123
124
  isIconOnly: {
124
125
  true: "px-0 !gap-0",
125
126
  false: "[&>svg]:max-w-[theme(spacing.8)]"
127
+ },
128
+ spacing: {
129
+ default: "",
130
+ between: "justify-between",
131
+ start: "justify-start"
126
132
  }
127
133
  },
128
134
  defaultVariants: {
129
- size: "sm",
135
+ size: "md",
130
136
  variant: "solid",
131
137
  color: "primary",
132
138
  fullWidth: false,
@@ -193,7 +199,7 @@ var button = (0, import_tailwind_variants.tv)({
193
199
  {
194
200
  variant: "ghost",
195
201
  color: "default",
196
- class: colorVariants.ghost.default
202
+ class: [colorVariants.ghost.default, "hover:bg-accent/50"]
197
203
  },
198
204
  // outline color
199
205
  {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  button
3
- } from "../chunk-U32YEQZ5.mjs";
4
- import "../chunk-UEMJVVVF.mjs";
3
+ } from "../chunk-IHITEH7V.mjs";
5
4
  import "../chunk-WSEO3MLK.mjs";
5
+ import "../chunk-5DOB3IBE.mjs";
6
6
  export {
7
7
  button
8
8
  };
@@ -2,6 +2,12 @@ import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
 
4
4
  declare const callout: tailwind_variants.TVReturnType<{
5
+ print: {
6
+ true: {};
7
+ false: {
8
+ root: string;
9
+ };
10
+ };
5
11
  radius: {
6
12
  none: {
7
13
  root: string;
@@ -67,6 +73,12 @@ declare const callout: tailwind_variants.TVReturnType<{
67
73
  content: string;
68
74
  closeButton: string;
69
75
  }, undefined, {
76
+ print: {
77
+ true: {};
78
+ false: {
79
+ root: string;
80
+ };
81
+ };
70
82
  radius: {
71
83
  none: {
72
84
  root: string;
@@ -132,6 +144,12 @@ declare const callout: tailwind_variants.TVReturnType<{
132
144
  content: string;
133
145
  closeButton: string;
134
146
  }, tailwind_variants.TVReturnType<{
147
+ print: {
148
+ true: {};
149
+ false: {
150
+ root: string;
151
+ };
152
+ };
135
153
  radius: {
136
154
  none: {
137
155
  root: string;
@@ -2,6 +2,12 @@ import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
 
4
4
  declare const callout: tailwind_variants.TVReturnType<{
5
+ print: {
6
+ true: {};
7
+ false: {
8
+ root: string;
9
+ };
10
+ };
5
11
  radius: {
6
12
  none: {
7
13
  root: string;
@@ -67,6 +73,12 @@ declare const callout: tailwind_variants.TVReturnType<{
67
73
  content: string;
68
74
  closeButton: string;
69
75
  }, undefined, {
76
+ print: {
77
+ true: {};
78
+ false: {
79
+ root: string;
80
+ };
81
+ };
70
82
  radius: {
71
83
  none: {
72
84
  root: string;
@@ -132,6 +144,12 @@ declare const callout: tailwind_variants.TVReturnType<{
132
144
  content: string;
133
145
  closeButton: string;
134
146
  }, tailwind_variants.TVReturnType<{
147
+ print: {
148
+ true: {};
149
+ false: {
150
+ root: string;
151
+ };
152
+ };
135
153
  radius: {
136
154
  none: {
137
155
  root: string;
@@ -34,6 +34,12 @@ var callout = (0, import_tailwind_variants.tv)({
34
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
35
  },
36
36
  variants: {
37
+ print: {
38
+ true: {},
39
+ false: {
40
+ root: "print:hidden"
41
+ }
42
+ },
37
43
  radius: {
38
44
  none: { root: "rounded-none" },
39
45
  sm: { root: "rounded-sm" },
@@ -87,7 +93,8 @@ var callout = (0, import_tailwind_variants.tv)({
87
93
  defaultVariants: {
88
94
  variant: "default",
89
95
  radius: "md",
90
- size: "md"
96
+ size: "md",
97
+ print: true
91
98
  }
92
99
  });
93
100
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  callout
3
- } from "../chunk-XAHAVJUM.mjs";
3
+ } from "../chunk-A3F4CV54.mjs";
4
4
  export {
5
5
  callout
6
6
  };
@@ -9,6 +9,11 @@ declare const card: tailwind_variants.TVReturnType<{
9
9
  muted: {
10
10
  root: string;
11
11
  };
12
+ accent: {
13
+ root: string;
14
+ header: string;
15
+ body: string;
16
+ };
12
17
  };
13
18
  shadow: {
14
19
  none: {
@@ -33,9 +38,11 @@ declare const card: tailwind_variants.TVReturnType<{
33
38
  };
34
39
  default: {
35
40
  root: string;
41
+ header: string;
36
42
  };
37
43
  emphasized: {
38
44
  root: string;
45
+ header: string;
39
46
  };
40
47
  };
41
48
  radius: {
@@ -133,6 +140,8 @@ declare const card: tailwind_variants.TVReturnType<{
133
140
  }, {
134
141
  root: string[];
135
142
  header: string[];
143
+ heading: string;
144
+ toolbar: string;
136
145
  body: string[];
137
146
  footer: string[];
138
147
  }, undefined, {
@@ -143,6 +152,11 @@ declare const card: tailwind_variants.TVReturnType<{
143
152
  muted: {
144
153
  root: string;
145
154
  };
155
+ accent: {
156
+ root: string;
157
+ header: string;
158
+ body: string;
159
+ };
146
160
  };
147
161
  shadow: {
148
162
  none: {
@@ -167,9 +181,11 @@ declare const card: tailwind_variants.TVReturnType<{
167
181
  };
168
182
  default: {
169
183
  root: string;
184
+ header: string;
170
185
  };
171
186
  emphasized: {
172
187
  root: string;
188
+ header: string;
173
189
  };
174
190
  };
175
191
  radius: {
@@ -267,6 +283,8 @@ declare const card: tailwind_variants.TVReturnType<{
267
283
  }, {
268
284
  root: string[];
269
285
  header: string[];
286
+ heading: string;
287
+ toolbar: string;
270
288
  body: string[];
271
289
  footer: string[];
272
290
  }, tailwind_variants.TVReturnType<{
@@ -277,6 +295,11 @@ declare const card: tailwind_variants.TVReturnType<{
277
295
  muted: {
278
296
  root: string;
279
297
  };
298
+ accent: {
299
+ root: string;
300
+ header: string;
301
+ body: string;
302
+ };
280
303
  };
281
304
  shadow: {
282
305
  none: {
@@ -301,9 +324,11 @@ declare const card: tailwind_variants.TVReturnType<{
301
324
  };
302
325
  default: {
303
326
  root: string;
327
+ header: string;
304
328
  };
305
329
  emphasized: {
306
330
  root: string;
331
+ header: string;
307
332
  };
308
333
  };
309
334
  radius: {
@@ -401,6 +426,8 @@ declare const card: tailwind_variants.TVReturnType<{
401
426
  }, {
402
427
  root: string[];
403
428
  header: string[];
429
+ heading: string;
430
+ toolbar: string;
404
431
  body: string[];
405
432
  footer: string[];
406
433
  }, undefined, unknown, unknown, undefined>>;