@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
@@ -1,7 +1,34 @@
1
- import "../chunk-3ZVSVLZD.mjs";
1
+ import "../chunk-4I5ASWB3.mjs";
2
+ import {
3
+ tabs
4
+ } from "../chunk-I6M4S2KZ.mjs";
5
+ import {
6
+ textarea
7
+ } from "../chunk-M3GQ563Q.mjs";
8
+ import {
9
+ toolbar
10
+ } from "../chunk-2NA54PNL.mjs";
11
+ import {
12
+ tooltip
13
+ } from "../chunk-OLYO7UPH.mjs";
14
+ import {
15
+ skeleton
16
+ } from "../chunk-VNQEJU4P.mjs";
17
+ import {
18
+ slashDropdownMenu
19
+ } from "../chunk-URGRCBNW.mjs";
20
+ import {
21
+ spinner
22
+ } from "../chunk-4UDOCFU5.mjs";
23
+ import {
24
+ splitPageLayout
25
+ } from "../chunk-W7RJG22S.mjs";
2
26
  import {
3
27
  standardChip
4
- } from "../chunk-SHHD2WUZ.mjs";
28
+ } from "../chunk-7VZZASRG.mjs";
29
+ import {
30
+ switchVariants
31
+ } from "../chunk-WQ446TVH.mjs";
5
32
  import {
6
33
  tabNav
7
34
  } from "../chunk-ZLM6Z3W2.mjs";
@@ -9,20 +36,23 @@ import {
9
36
  table
10
37
  } from "../chunk-YC2FQDBV.mjs";
11
38
  import {
12
- tabs
13
- } from "../chunk-I6M4S2KZ.mjs";
14
- import {
15
- tooltip
16
- } from "../chunk-OLYO7UPH.mjs";
39
+ riskBadge
40
+ } from "../chunk-V2J5XG34.mjs";
17
41
  import {
18
42
  riskIndicator
19
43
  } from "../chunk-CZMZHA7U.mjs";
44
+ import {
45
+ scrollArea
46
+ } from "../chunk-SPQE7K66.mjs";
20
47
  import {
21
48
  sectionRow
22
49
  } from "../chunk-I4ZIT7EK.mjs";
50
+ import {
51
+ select
52
+ } from "../chunk-NFOF75HQ.mjs";
23
53
  import {
24
54
  separator
25
- } from "../chunk-VCLXE57S.mjs";
55
+ } from "../chunk-LM7MKBHT.mjs";
26
56
  import {
27
57
  sidebar,
28
58
  sidebarMenuAction,
@@ -30,19 +60,13 @@ import {
30
60
  } from "../chunk-GA6UOB2D.mjs";
31
61
  import {
32
62
  skeletonAvatar
33
- } from "../chunk-ZL6FAOXE.mjs";
63
+ } from "../chunk-HHOMDBMZ.mjs";
34
64
  import {
35
- skeleton
36
- } from "../chunk-VNQEJU4P.mjs";
65
+ kbd
66
+ } from "../chunk-BETLBSSF.mjs";
37
67
  import {
38
- spinner
39
- } from "../chunk-4UDOCFU5.mjs";
40
- import {
41
- splitPageLayout
42
- } from "../chunk-W7RJG22S.mjs";
43
- import {
44
- integrationCard
45
- } from "../chunk-QOW6FLZ6.mjs";
68
+ label
69
+ } from "../chunk-LMCM4CW2.mjs";
46
70
  import {
47
71
  pageHeader
48
72
  } from "../chunk-HAVJ6EQ6.mjs";
@@ -51,7 +75,7 @@ import {
51
75
  } from "../chunk-OULAICSC.mjs";
52
76
  import {
53
77
  popover
54
- } from "../chunk-IKJHZT2S.mjs";
78
+ } from "../chunk-DI54XTS5.mjs";
55
79
  import {
56
80
  previewCard
57
81
  } from "../chunk-WPOYEHD2.mjs";
@@ -62,80 +86,102 @@ import {
62
86
  resizable
63
87
  } from "../chunk-RV656WRF.mjs";
64
88
  import {
65
- riskBadge
66
- } from "../chunk-V2J5XG34.mjs";
89
+ frameworkRow
90
+ } from "../chunk-TPFAZH22.mjs";
91
+ import {
92
+ heading
93
+ } from "../chunk-NWKBPO37.mjs";
94
+ import {
95
+ hoverCard
96
+ } from "../chunk-XRKUQMGU.mjs";
97
+ import {
98
+ inputGroup
99
+ } from "../chunk-HWEYNK3O.mjs";
100
+ import {
101
+ inputWrapper
102
+ } from "../chunk-VSVGOX3P.mjs";
103
+ import {
104
+ integrationCard
105
+ } from "../chunk-QOW6FLZ6.mjs";
106
+ import {
107
+ controlExtension
108
+ } from "../chunk-M4TXKRUU.mjs";
109
+ import {
110
+ datagrid
111
+ } from "../chunk-45KIKY4A.mjs";
112
+ import {
113
+ dataTable
114
+ } from "../chunk-GNYTZGE5.mjs";
67
115
  import {
68
116
  drawer
69
- } from "../chunk-TJDRYBGW.mjs";
117
+ } from "../chunk-JXQPOORM.mjs";
70
118
  import {
71
119
  dialog
72
- } from "../chunk-MWG2OZMD.mjs";
120
+ } from "../chunk-LAJQAXSV.mjs";
73
121
  import {
74
122
  dropdownMenu
75
- } from "../chunk-EXBKQDH5.mjs";
123
+ } from "../chunk-3PCDCW7G.mjs";
76
124
  import {
77
- frameworkRow
78
- } from "../chunk-TPFAZH22.mjs";
125
+ editorBasic
126
+ } from "../chunk-NUEQ5FLX.mjs";
79
127
  import {
80
- heading
81
- } from "../chunk-NWKBPO37.mjs";
128
+ editorSpinner
129
+ } from "../chunk-TVC4THD6.mjs";
82
130
  import {
83
- hoverCard
84
- } from "../chunk-755GJHKQ.mjs";
85
- import {
86
- input,
87
- passwordInput
88
- } from "../chunk-UMSU2ZEG.mjs";
131
+ calendar
132
+ } from "../chunk-JWF5ABNP.mjs";
89
133
  import {
90
134
  callout
91
- } from "../chunk-XAHAVJUM.mjs";
135
+ } from "../chunk-A3F4CV54.mjs";
92
136
  import {
93
137
  card
94
- } from "../chunk-7O57EDVS.mjs";
138
+ } from "../chunk-63C4SFQK.mjs";
95
139
  import {
96
140
  checkbox
97
141
  } from "../chunk-A4KO7QKC.mjs";
98
142
  import {
99
143
  chip
100
- } from "../chunk-JHKTRIIA.mjs";
144
+ } from "../chunk-RQYYDG26.mjs";
101
145
  import {
102
146
  code
103
147
  } from "../chunk-ROZ24JVQ.mjs";
148
+ import {
149
+ colorHighlightButton
150
+ } from "../chunk-CPERWXKN.mjs";
104
151
  import {
105
152
  command
106
153
  } from "../chunk-YPHFKGNI.mjs";
107
- import {
108
- datagrid
109
- } from "../chunk-45KIKY4A.mjs";
110
- import {
111
- dataTable
112
- } from "../chunk-GNYTZGE5.mjs";
113
154
  import {
114
155
  accordion
115
156
  } from "../chunk-TLCFFCOP.mjs";
116
157
  import {
117
158
  alertDialog
118
- } from "../chunk-CPEP2RO4.mjs";
159
+ } from "../chunk-XGUDXC5P.mjs";
160
+ import {
161
+ autocomplete
162
+ } from "../chunk-Z7D56R5U.mjs";
163
+ import {
164
+ input,
165
+ passwordInput
166
+ } from "../chunk-IHW4FWFB.mjs";
119
167
  import {
120
168
  avatarGroup
121
169
  } from "../chunk-XCLEKBCJ.mjs";
122
170
  import {
123
171
  avatar
124
- } from "../chunk-JQ74U2S3.mjs";
172
+ } from "../chunk-YH6TDPK7.mjs";
125
173
  import {
126
174
  blankstate
127
175
  } from "../chunk-DICHD74Q.mjs";
128
176
  import {
129
177
  button
130
- } from "../chunk-U32YEQZ5.mjs";
131
- import "../chunk-UEMJVVVF.mjs";
178
+ } from "../chunk-IHITEH7V.mjs";
132
179
  import "../chunk-WSEO3MLK.mjs";
133
- import {
134
- calendar
135
- } from "../chunk-JWF5ABNP.mjs";
180
+ import "../chunk-5DOB3IBE.mjs";
136
181
  export {
137
182
  accordion,
138
183
  alertDialog,
184
+ autocomplete,
139
185
  avatar,
140
186
  avatarGroup,
141
187
  blankstate,
@@ -146,17 +192,25 @@ export {
146
192
  checkbox,
147
193
  chip,
148
194
  code,
195
+ colorHighlightButton,
149
196
  command,
197
+ controlExtension,
150
198
  dataTable,
151
199
  datagrid,
152
200
  dialog,
153
201
  drawer,
154
202
  dropdownMenu,
203
+ editorBasic,
204
+ editorSpinner,
155
205
  frameworkRow,
156
206
  heading,
157
207
  hoverCard,
158
208
  input,
209
+ inputGroup,
210
+ inputWrapper,
159
211
  integrationCard,
212
+ kbd,
213
+ label,
160
214
  pageHeader,
161
215
  pageLayout,
162
216
  passwordInput,
@@ -166,18 +220,24 @@ export {
166
220
  resizable,
167
221
  riskBadge,
168
222
  riskIndicator,
223
+ scrollArea,
169
224
  sectionRow,
225
+ select,
170
226
  separator,
171
227
  sidebar,
172
228
  sidebarMenuAction,
173
229
  sidebarMenuButton,
174
230
  skeleton,
175
231
  skeletonAvatar,
232
+ slashDropdownMenu,
176
233
  spinner,
177
234
  splitPageLayout,
178
235
  standardChip,
236
+ switchVariants,
179
237
  tabNav,
180
238
  table,
181
239
  tabs,
240
+ textarea,
241
+ toolbar,
182
242
  tooltip
183
243
  };
@@ -0,0 +1,5 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+
3
+ declare const inputGroup: tailwind_variants.TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
4
+
5
+ export { inputGroup };
@@ -0,0 +1,5 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+
3
+ declare const inputGroup: tailwind_variants.TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
4
+
5
+ export { inputGroup };
@@ -0,0 +1,49 @@
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/input-group.ts
21
+ var input_group_exports = {};
22
+ __export(input_group_exports, {
23
+ inputGroup: () => inputGroup
24
+ });
25
+ module.exports = __toCommonJS(input_group_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var inputGroup = (0, import_tailwind_variants.tv)({
28
+ base: [
29
+ "flex items-stretch",
30
+ "[&_[data-slot=input]]:grow",
31
+ "[&_[data-slot=input-addon]:has(+[data-slot=input])]:rounded-e-none [&_[data-slot=input-addon]:has(+[data-slot=input])]:border-e-0",
32
+ "[&_[data-slot=input-addon]:has(+[data-slot=datefield])]:rounded-e-none [&_[data-slot=input-addon]:has(+[data-slot=datefield])]:border-e-0",
33
+ "[&_[data-slot=input]+[data-slot=input-addon]]:rounded-s-none [&_[data-slot=input]+[data-slot=input-addon]]:border-s-0",
34
+ "[&_[data-slot=input-addon]:has(+[data-slot=button])]:rounded-e-none",
35
+ "[&_[data-slot=input]+[data-slot=button]]:rounded-s-none",
36
+ "[&_[data-slot=button]+[data-slot=input]]:rounded-s-none",
37
+ "[&_[data-slot=input-addon]+[data-slot=input]]:rounded-s-none",
38
+ "[&_[data-slot=input-addon]+[data-slot=datefield]]:[&_[data-slot=input]]:rounded-s-none",
39
+ "[&_[data-slot=datefield]:has(+[data-slot=input-addon])]:[&_[data-slot=input]]:rounded-e-none",
40
+ "[&_[data-slot=input]:has(+[data-slot=button])]:rounded-e-none",
41
+ "[&_[data-slot=input]:has(+[data-slot=input-addon])]:rounded-e-none",
42
+ "[&_[data-slot=datefield]]:grow",
43
+ "[&_[data-slot=datefield]+[data-slot=input-addon]]:rounded-s-none [&_[data-slot=datefield]+[data-slot=input-addon]]:border-s-0"
44
+ ]
45
+ });
46
+ // Annotate the CommonJS export names for ESM import in node:
47
+ 0 && (module.exports = {
48
+ inputGroup
49
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ inputGroup
3
+ } from "../chunk-HWEYNK3O.mjs";
4
+ export {
5
+ inputGroup
6
+ };
@@ -0,0 +1,25 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const inputWrapper: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: string;
7
+ md: string;
8
+ lg: string;
9
+ };
10
+ }, undefined, string[], {
11
+ size: {
12
+ sm: string;
13
+ md: string;
14
+ lg: string;
15
+ };
16
+ }, undefined, tailwind_variants.TVReturnType<{
17
+ size: {
18
+ sm: string;
19
+ md: string;
20
+ lg: string;
21
+ };
22
+ }, undefined, string[], unknown, unknown, undefined>>;
23
+ type InputWrapperVariantProps = VariantProps<typeof inputWrapper>;
24
+
25
+ export { type InputWrapperVariantProps, inputWrapper };
@@ -0,0 +1,25 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const inputWrapper: tailwind_variants.TVReturnType<{
5
+ size: {
6
+ sm: string;
7
+ md: string;
8
+ lg: string;
9
+ };
10
+ }, undefined, string[], {
11
+ size: {
12
+ sm: string;
13
+ md: string;
14
+ lg: string;
15
+ };
16
+ }, undefined, tailwind_variants.TVReturnType<{
17
+ size: {
18
+ sm: string;
19
+ md: string;
20
+ lg: string;
21
+ };
22
+ }, undefined, string[], unknown, unknown, undefined>>;
23
+ type InputWrapperVariantProps = VariantProps<typeof inputWrapper>;
24
+
25
+ export { type InputWrapperVariantProps, inputWrapper };
@@ -0,0 +1,72 @@
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/input-wrapper.ts
21
+ var input_wrapper_exports = {};
22
+ __export(input_wrapper_exports, {
23
+ inputWrapper: () => inputWrapper
24
+ });
25
+ module.exports = __toCommonJS(input_wrapper_exports);
26
+ var import_tailwind_variants = require("tailwind-variants");
27
+ var inputWrapper = (0, import_tailwind_variants.tv)({
28
+ base: [
29
+ "flex items-center gap-1.5",
30
+ "has-[:focus-visible]:ring-ring/30",
31
+ "has-[:focus-visible]:border-ring",
32
+ "has-[:focus-visible]:outline-none",
33
+ "has-[:focus-visible]:ring-[3px]",
34
+ "[&_[data-slot=datefield]]:grow",
35
+ "[&_[data-slot=input]]:data-focus-within:ring-transparent",
36
+ "[&_[data-slot=input]]:data-focus-within:ring-0",
37
+ "[&_[data-slot=input]]:data-focus-within:border-0",
38
+ "[&_[data-slot=input]]:flex",
39
+ "[&_[data-slot=input]]:w-full",
40
+ "[&_[data-slot=input]]:outline-none",
41
+ "[&_[data-slot=input]]:transition-colors",
42
+ "[&_[data-slot=input]]:text-foreground",
43
+ "[&_[data-slot=input]]:placeholder:text-muted-foreground",
44
+ "[&_[data-slot=input]]:border-0 ",
45
+ "[&_[data-slot=input]]:bg-transparent",
46
+ "[&_[data-slot=input]]:p-0",
47
+ "[&_[data-slot=input]]:shadow-none",
48
+ "[&_[data-slot=input]]:focus-visible:ring-0",
49
+ "[&_[data-slot=input]]:h-auto ",
50
+ "[&_[data-slot=input]]:disabled:cursor-not-allowed",
51
+ "[&_[data-slot=input]]:disabled:opacity-50",
52
+ "[&_svg]:text-muted-foreground",
53
+ "has-[[aria-invalid=true]]:border-destructive/60 ",
54
+ "has-[[aria-invalid=true]]:ring-destructive/10 ",
55
+ "dark:has-[[aria-invalid=true]]:border-destructive",
56
+ "dark:has-[[aria-invalid=true]]:ring-destructive/20 "
57
+ ],
58
+ variants: {
59
+ size: {
60
+ sm: "gap-1.25 [&_svg:not([class*=size-])]:size-3.5",
61
+ md: "gap-1.5 [&_svg:not([class*=size-])]:size-4",
62
+ lg: "gap-1.5 [&_svg:not([class*=size-])]:size-4"
63
+ }
64
+ },
65
+ defaultVariants: {
66
+ size: "md"
67
+ }
68
+ });
69
+ // Annotate the CommonJS export names for ESM import in node:
70
+ 0 && (module.exports = {
71
+ inputWrapper
72
+ });
@@ -0,0 +1,6 @@
1
+ import {
2
+ inputWrapper
3
+ } from "../chunk-VSVGOX3P.mjs";
4
+ export {
5
+ inputWrapper
6
+ };
@@ -5,15 +5,15 @@ import * as tailwind_merge from 'tailwind-merge';
5
5
  declare const passwordInput: tailwind_variants.TVReturnType<{
6
6
  [key: string]: {
7
7
  [key: string]: tailwind_merge.ClassNameValue | {
8
- icon?: tailwind_merge.ClassNameValue;
9
8
  button?: tailwind_merge.ClassNameValue;
9
+ icon?: tailwind_merge.ClassNameValue;
10
10
  };
11
11
  };
12
12
  } | {
13
13
  [x: string]: {
14
14
  [x: string]: tailwind_merge.ClassNameValue | {
15
- icon?: tailwind_merge.ClassNameValue;
16
15
  button?: tailwind_merge.ClassNameValue;
16
+ icon?: tailwind_merge.ClassNameValue;
17
17
  };
18
18
  };
19
19
  } | {}, {
@@ -22,8 +22,8 @@ declare const passwordInput: tailwind_variants.TVReturnType<{
22
22
  }, undefined, {
23
23
  [key: string]: {
24
24
  [key: string]: tailwind_merge.ClassNameValue | {
25
- icon?: tailwind_merge.ClassNameValue;
26
25
  button?: tailwind_merge.ClassNameValue;
26
+ icon?: tailwind_merge.ClassNameValue;
27
27
  };
28
28
  };
29
29
  } | {}, {
@@ -35,143 +35,44 @@ declare const passwordInput: tailwind_variants.TVReturnType<{
35
35
  }, undefined, unknown, unknown, undefined>>;
36
36
  declare const input: tailwind_variants.TVReturnType<{
37
37
  size: {
38
- sm: {
39
- inputWrapper: string[];
40
- input: string;
41
- };
42
- md: {
43
- inputWrapper: string;
44
- input: string;
45
- clearButton: string;
46
- };
47
- lg: {
48
- inputWrapper: string;
49
- input: string;
50
- clearButton: string;
51
- };
38
+ sm: string[];
39
+ md: string[];
40
+ lg: string[];
52
41
  };
53
42
  radius: {
54
- none: {
55
- inputWrapper: string;
56
- };
57
- sm: {
58
- inputWrapper: string;
59
- };
60
- md: {
61
- inputWrapper: string;
62
- };
63
- lg: {
64
- inputWrapper: string;
65
- };
66
- full: {
67
- inputWrapper: string;
68
- };
43
+ none: string;
44
+ sm: string;
45
+ md: string;
46
+ lg: string;
47
+ full: string;
69
48
  };
70
- isClearable: {
71
- true: {
72
- input: string;
73
- clearButton: string[];
74
- };
75
- false: {};
76
- };
77
- }, {
78
- inputWrapper: string[];
79
- innerWrapper: string;
80
- input: string[];
81
- clearButton: string[];
82
- }, never[], {
49
+ }, undefined, string[], {
83
50
  size: {
84
- sm: {
85
- inputWrapper: string[];
86
- input: string;
87
- };
88
- md: {
89
- inputWrapper: string;
90
- input: string;
91
- clearButton: string;
92
- };
93
- lg: {
94
- inputWrapper: string;
95
- input: string;
96
- clearButton: string;
97
- };
51
+ sm: string[];
52
+ md: string[];
53
+ lg: string[];
98
54
  };
99
55
  radius: {
100
- none: {
101
- inputWrapper: string;
102
- };
103
- sm: {
104
- inputWrapper: string;
105
- };
106
- md: {
107
- inputWrapper: string;
108
- };
109
- lg: {
110
- inputWrapper: string;
111
- };
112
- full: {
113
- inputWrapper: string;
114
- };
115
- };
116
- isClearable: {
117
- true: {
118
- input: string;
119
- clearButton: string[];
120
- };
121
- false: {};
56
+ none: string;
57
+ sm: string;
58
+ md: string;
59
+ lg: string;
60
+ full: string;
122
61
  };
123
- }, {
124
- inputWrapper: string[];
125
- innerWrapper: string;
126
- input: string[];
127
- clearButton: string[];
128
- }, tailwind_variants.TVReturnType<{
62
+ }, undefined, tailwind_variants.TVReturnType<{
129
63
  size: {
130
- sm: {
131
- inputWrapper: string[];
132
- input: string;
133
- };
134
- md: {
135
- inputWrapper: string;
136
- input: string;
137
- clearButton: string;
138
- };
139
- lg: {
140
- inputWrapper: string;
141
- input: string;
142
- clearButton: string;
143
- };
64
+ sm: string[];
65
+ md: string[];
66
+ lg: string[];
144
67
  };
145
68
  radius: {
146
- none: {
147
- inputWrapper: string;
148
- };
149
- sm: {
150
- inputWrapper: string;
151
- };
152
- md: {
153
- inputWrapper: string;
154
- };
155
- lg: {
156
- inputWrapper: string;
157
- };
158
- full: {
159
- inputWrapper: string;
160
- };
161
- };
162
- isClearable: {
163
- true: {
164
- input: string;
165
- clearButton: string[];
166
- };
167
- false: {};
69
+ none: string;
70
+ sm: string;
71
+ md: string;
72
+ lg: string;
73
+ full: string;
168
74
  };
169
- }, {
170
- inputWrapper: string[];
171
- innerWrapper: string;
172
- input: string[];
173
- clearButton: string[];
174
- }, never[], unknown, unknown, undefined>>;
75
+ }, undefined, string[], unknown, unknown, undefined>>;
175
76
  type InputVariantProps = VariantProps<typeof input>;
176
77
  type InputSlots = keyof ReturnType<typeof input>;
177
78