@kopexa/theme 1.7.6 → 2.0.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 (144) hide show
  1. package/dist/{chunk-EXBKQDH5.mjs → chunk-3PCDCW7G.mjs} +1 -1
  2. package/dist/chunk-45KIKY4A.mjs +140 -0
  3. package/dist/{chunk-UEMJVVVF.mjs → chunk-5DOB3IBE.mjs} +14 -1
  4. package/dist/{chunk-SHHD2WUZ.mjs → chunk-7VZZASRG.mjs} +1 -1
  5. package/dist/chunk-BETLBSSF.mjs +23 -0
  6. package/dist/chunk-BWB7MWRC.mjs +22 -0
  7. package/dist/chunk-CPERWXKN.mjs +21 -0
  8. package/dist/chunk-DI54XTS5.mjs +56 -0
  9. package/dist/chunk-GRPMKEI2.mjs +34 -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-NFOF75HQ.mjs +106 -0
  20. package/dist/{chunk-JHKTRIIA.mjs → chunk-RQYYDG26.mjs} +4 -2
  21. package/dist/chunk-SPQE7K66.mjs +18 -0
  22. package/dist/chunk-TVC4THD6.mjs +16 -0
  23. package/dist/chunk-URGRCBNW.mjs +27 -0
  24. package/dist/chunk-VSVGOX3P.mjs +48 -0
  25. package/dist/chunk-XGUDXC5P.mjs +26 -0
  26. package/dist/{chunk-755GJHKQ.mjs → chunk-XRKUQMGU.mjs} +1 -1
  27. package/dist/{chunk-JQ74U2S3.mjs → chunk-YH6TDPK7.mjs} +4 -4
  28. package/dist/chunk-Z7D56R5U.mjs +70 -0
  29. package/dist/components/alert-dialog.d.mts +9 -9
  30. package/dist/components/alert-dialog.d.ts +9 -9
  31. package/dist/components/alert-dialog.js +11 -2
  32. package/dist/components/alert-dialog.mjs +1 -1
  33. package/dist/components/autocomplete.d.mts +73 -0
  34. package/dist/components/autocomplete.d.ts +73 -0
  35. package/dist/components/autocomplete.js +173 -0
  36. package/dist/components/autocomplete.mjs +8 -0
  37. package/dist/components/avatar.mjs +2 -2
  38. package/dist/components/button.d.mts +15 -0
  39. package/dist/components/button.d.ts +15 -0
  40. package/dist/components/button.js +12 -6
  41. package/dist/components/button.mjs +2 -2
  42. package/dist/components/chip.d.mts +3 -0
  43. package/dist/components/chip.d.ts +3 -0
  44. package/dist/components/chip.js +4 -2
  45. package/dist/components/chip.mjs +1 -1
  46. package/dist/components/color-highlight-button.d.mts +36 -0
  47. package/dist/components/color-highlight-button.d.ts +36 -0
  48. package/dist/components/color-highlight-button.js +45 -0
  49. package/dist/components/color-highlight-button.mjs +6 -0
  50. package/dist/components/command.d.mts +9 -9
  51. package/dist/components/command.d.ts +9 -9
  52. package/dist/components/data-grid.d.mts +325 -0
  53. package/dist/components/data-grid.d.ts +325 -0
  54. package/dist/components/data-grid.js +164 -0
  55. package/dist/components/data-grid.mjs +6 -0
  56. package/dist/components/dialog.js +7 -9
  57. package/dist/components/dialog.mjs +1 -1
  58. package/dist/components/drawer.d.mts +3 -3
  59. package/dist/components/drawer.d.ts +3 -3
  60. package/dist/components/drawer.js +21 -17
  61. package/dist/components/drawer.mjs +2 -2
  62. package/dist/components/dropdown-menu.js +1 -1
  63. package/dist/components/dropdown-menu.mjs +1 -1
  64. package/dist/components/editor-basic.d.mts +44 -0
  65. package/dist/components/editor-basic.d.ts +44 -0
  66. package/dist/components/editor-basic.js +58 -0
  67. package/dist/components/editor-basic.mjs +6 -0
  68. package/dist/components/editor-spinner.d.mts +60 -0
  69. package/dist/components/editor-spinner.d.ts +60 -0
  70. package/dist/components/editor-spinner.js +40 -0
  71. package/dist/components/editor-spinner.mjs +6 -0
  72. package/dist/components/hover-card.mjs +2 -2
  73. package/dist/components/index.d.mts +14 -0
  74. package/dist/components/index.d.ts +14 -0
  75. package/dist/components/index.js +815 -196
  76. package/dist/components/index.mjs +100 -44
  77. package/dist/components/input-group.d.mts +5 -0
  78. package/dist/components/input-group.d.ts +5 -0
  79. package/dist/components/input-group.js +49 -0
  80. package/dist/components/input-group.mjs +6 -0
  81. package/dist/components/input-wrapper.d.mts +25 -0
  82. package/dist/components/input-wrapper.d.ts +25 -0
  83. package/dist/components/input-wrapper.js +72 -0
  84. package/dist/components/input-wrapper.mjs +6 -0
  85. package/dist/components/input.d.mts +30 -129
  86. package/dist/components/input.d.ts +30 -129
  87. package/dist/components/input.js +58 -71
  88. package/dist/components/input.mjs +2 -2
  89. package/dist/components/kbd.d.mts +35 -0
  90. package/dist/components/kbd.d.ts +35 -0
  91. package/dist/components/kbd.js +47 -0
  92. package/dist/components/kbd.mjs +6 -0
  93. package/dist/components/label.d.mts +22 -0
  94. package/dist/components/label.d.ts +22 -0
  95. package/dist/components/label.js +46 -0
  96. package/dist/components/label.mjs +6 -0
  97. package/dist/components/popover.d.mts +79 -14
  98. package/dist/components/popover.d.ts +79 -14
  99. package/dist/components/popover.js +41 -4
  100. package/dist/components/popover.mjs +2 -2
  101. package/dist/components/scroll-area.d.mts +50 -0
  102. package/dist/components/scroll-area.d.ts +50 -0
  103. package/dist/components/scroll-area.js +42 -0
  104. package/dist/components/scroll-area.mjs +6 -0
  105. package/dist/components/select.d.mts +76 -0
  106. package/dist/components/select.d.ts +76 -0
  107. package/dist/components/select.js +145 -0
  108. package/dist/components/select.mjs +7 -0
  109. package/dist/components/separator.d.mts +2 -2
  110. package/dist/components/separator.d.ts +2 -2
  111. package/dist/components/separator.js +7 -1
  112. package/dist/components/separator.mjs +1 -1
  113. package/dist/components/skeleton-avatar.mjs +3 -3
  114. package/dist/components/slash-dropdown-menu.d.mts +54 -0
  115. package/dist/components/slash-dropdown-menu.d.ts +54 -0
  116. package/dist/components/slash-dropdown-menu.js +55 -0
  117. package/dist/components/slash-dropdown-menu.mjs +7 -0
  118. package/dist/components/standard-chip.d.mts +4 -0
  119. package/dist/components/standard-chip.d.ts +4 -0
  120. package/dist/components/standard-chip.js +4 -2
  121. package/dist/components/standard-chip.mjs +2 -2
  122. package/dist/components/textarea.d.mts +25 -0
  123. package/dist/components/textarea.d.ts +25 -0
  124. package/dist/components/textarea.js +72 -0
  125. package/dist/components/textarea.mjs +7 -0
  126. package/dist/components/toolbar.d.mts +34 -0
  127. package/dist/components/toolbar.d.ts +34 -0
  128. package/dist/components/toolbar.js +46 -0
  129. package/dist/components/toolbar.mjs +6 -0
  130. package/dist/editor.css +784 -0
  131. package/dist/index.css +39 -12
  132. package/dist/index.d.mts +14 -0
  133. package/dist/index.d.ts +14 -0
  134. package/dist/index.js +815 -196
  135. package/dist/index.mjs +100 -44
  136. package/dist/utils/classes.d.mts +13 -1
  137. package/dist/utils/classes.d.ts +13 -1
  138. package/dist/utils/classes.js +14 -0
  139. package/dist/utils/classes.mjs +3 -1
  140. package/package.json +24 -18
  141. package/dist/chunk-CPEP2RO4.mjs +0 -17
  142. package/dist/chunk-IKJHZT2S.mjs +0 -19
  143. package/dist/chunk-UMSU2ZEG.mjs +0 -96
  144. /package/dist/{chunk-MA4DKK64.mjs → chunk-UWWO4AVU.mjs} +0 -0
@@ -1,4 +1,22 @@
1
- import "../chunk-MA4DKK64.mjs";
1
+ import "../chunk-UWWO4AVU.mjs";
2
+ import {
3
+ toolbar
4
+ } from "../chunk-BWB7MWRC.mjs";
5
+ import {
6
+ tooltip
7
+ } from "../chunk-OLYO7UPH.mjs";
8
+ import {
9
+ slashDropdownMenu
10
+ } from "../chunk-URGRCBNW.mjs";
11
+ import {
12
+ spinner
13
+ } from "../chunk-4UDOCFU5.mjs";
14
+ import {
15
+ splitPageLayout
16
+ } from "../chunk-W7RJG22S.mjs";
17
+ import {
18
+ standardChip
19
+ } from "../chunk-7VZZASRG.mjs";
2
20
  import {
3
21
  tabNav
4
22
  } from "../chunk-ZLM6Z3W2.mjs";
@@ -9,14 +27,23 @@ import {
9
27
  tabs
10
28
  } from "../chunk-I6M4S2KZ.mjs";
11
29
  import {
12
- tooltip
13
- } from "../chunk-OLYO7UPH.mjs";
30
+ textarea
31
+ } from "../chunk-M3GQ563Q.mjs";
32
+ import {
33
+ riskIndicator
34
+ } from "../chunk-CZMZHA7U.mjs";
35
+ import {
36
+ scrollArea
37
+ } from "../chunk-SPQE7K66.mjs";
14
38
  import {
15
39
  sectionRow
16
40
  } from "../chunk-I4ZIT7EK.mjs";
41
+ import {
42
+ select
43
+ } from "../chunk-NFOF75HQ.mjs";
17
44
  import {
18
45
  separator
19
- } from "../chunk-VCLXE57S.mjs";
46
+ } from "../chunk-LM7MKBHT.mjs";
20
47
  import {
21
48
  sidebar,
22
49
  sidebarMenuAction,
@@ -24,19 +51,13 @@ import {
24
51
  } from "../chunk-GA6UOB2D.mjs";
25
52
  import {
26
53
  skeletonAvatar
27
- } from "../chunk-ZL6FAOXE.mjs";
54
+ } from "../chunk-HHOMDBMZ.mjs";
28
55
  import {
29
56
  skeleton
30
57
  } from "../chunk-VNQEJU4P.mjs";
31
58
  import {
32
- spinner
33
- } from "../chunk-4UDOCFU5.mjs";
34
- import {
35
- splitPageLayout
36
- } from "../chunk-W7RJG22S.mjs";
37
- import {
38
- standardChip
39
- } from "../chunk-SHHD2WUZ.mjs";
59
+ label
60
+ } from "../chunk-LMCM4CW2.mjs";
40
61
  import {
41
62
  pageHeader
42
63
  } from "../chunk-HAVJ6EQ6.mjs";
@@ -45,7 +66,7 @@ import {
45
66
  } from "../chunk-OULAICSC.mjs";
46
67
  import {
47
68
  popover
48
- } from "../chunk-IKJHZT2S.mjs";
69
+ } from "../chunk-DI54XTS5.mjs";
49
70
  import {
50
71
  previewCard
51
72
  } from "../chunk-WPOYEHD2.mjs";
@@ -58,31 +79,51 @@ import {
58
79
  import {
59
80
  riskBadge
60
81
  } from "../chunk-V2J5XG34.mjs";
61
- import {
62
- riskIndicator
63
- } from "../chunk-CZMZHA7U.mjs";
64
- import {
65
- drawer
66
- } from "../chunk-TJDRYBGW.mjs";
67
- import {
68
- dropdownMenu
69
- } from "../chunk-EXBKQDH5.mjs";
70
- import {
71
- frameworkRow
72
- } from "../chunk-TPFAZH22.mjs";
73
82
  import {
74
83
  heading
75
84
  } from "../chunk-NWKBPO37.mjs";
76
85
  import {
77
86
  hoverCard
78
- } from "../chunk-755GJHKQ.mjs";
87
+ } from "../chunk-XRKUQMGU.mjs";
79
88
  import {
80
- input,
81
- passwordInput
82
- } from "../chunk-UMSU2ZEG.mjs";
89
+ inputGroup
90
+ } from "../chunk-HWEYNK3O.mjs";
91
+ import {
92
+ inputWrapper
93
+ } from "../chunk-VSVGOX3P.mjs";
83
94
  import {
84
95
  integrationCard
85
96
  } from "../chunk-QOW6FLZ6.mjs";
97
+ import {
98
+ kbd
99
+ } from "../chunk-BETLBSSF.mjs";
100
+ import {
101
+ datagrid
102
+ } from "../chunk-45KIKY4A.mjs";
103
+ import {
104
+ dataTable
105
+ } from "../chunk-GNYTZGE5.mjs";
106
+ import {
107
+ drawer
108
+ } from "../chunk-JXQPOORM.mjs";
109
+ import {
110
+ dialog
111
+ } from "../chunk-LAJQAXSV.mjs";
112
+ import {
113
+ dropdownMenu
114
+ } from "../chunk-3PCDCW7G.mjs";
115
+ import {
116
+ editorBasic
117
+ } from "../chunk-GRPMKEI2.mjs";
118
+ import {
119
+ editorSpinner
120
+ } from "../chunk-TVC4THD6.mjs";
121
+ import {
122
+ frameworkRow
123
+ } from "../chunk-TPFAZH22.mjs";
124
+ import {
125
+ calendar
126
+ } from "../chunk-JWF5ABNP.mjs";
86
127
  import {
87
128
  callout
88
129
  } from "../chunk-XAHAVJUM.mjs";
@@ -94,45 +135,47 @@ import {
94
135
  } from "../chunk-A4KO7QKC.mjs";
95
136
  import {
96
137
  chip
97
- } from "../chunk-JHKTRIIA.mjs";
138
+ } from "../chunk-RQYYDG26.mjs";
98
139
  import {
99
140
  code
100
141
  } from "../chunk-ROZ24JVQ.mjs";
142
+ import {
143
+ colorHighlightButton
144
+ } from "../chunk-CPERWXKN.mjs";
101
145
  import {
102
146
  command
103
147
  } from "../chunk-YPHFKGNI.mjs";
104
- import {
105
- dataTable
106
- } from "../chunk-GNYTZGE5.mjs";
107
- import {
108
- dialog
109
- } from "../chunk-MWG2OZMD.mjs";
110
148
  import {
111
149
  accordion
112
150
  } from "../chunk-TLCFFCOP.mjs";
113
151
  import {
114
152
  alertDialog
115
- } from "../chunk-CPEP2RO4.mjs";
153
+ } from "../chunk-XGUDXC5P.mjs";
154
+ import {
155
+ autocomplete
156
+ } from "../chunk-Z7D56R5U.mjs";
157
+ import {
158
+ input,
159
+ passwordInput
160
+ } from "../chunk-IHW4FWFB.mjs";
116
161
  import {
117
162
  avatarGroup
118
163
  } from "../chunk-XCLEKBCJ.mjs";
119
164
  import {
120
165
  avatar
121
- } from "../chunk-JQ74U2S3.mjs";
166
+ } from "../chunk-YH6TDPK7.mjs";
122
167
  import {
123
168
  blankstate
124
169
  } from "../chunk-DICHD74Q.mjs";
125
170
  import {
126
171
  button
127
- } from "../chunk-U32YEQZ5.mjs";
128
- import "../chunk-UEMJVVVF.mjs";
172
+ } from "../chunk-IHITEH7V.mjs";
129
173
  import "../chunk-WSEO3MLK.mjs";
130
- import {
131
- calendar
132
- } from "../chunk-JWF5ABNP.mjs";
174
+ import "../chunk-5DOB3IBE.mjs";
133
175
  export {
134
176
  accordion,
135
177
  alertDialog,
178
+ autocomplete,
136
179
  avatar,
137
180
  avatarGroup,
138
181
  blankstate,
@@ -143,16 +186,24 @@ export {
143
186
  checkbox,
144
187
  chip,
145
188
  code,
189
+ colorHighlightButton,
146
190
  command,
147
191
  dataTable,
192
+ datagrid,
148
193
  dialog,
149
194
  drawer,
150
195
  dropdownMenu,
196
+ editorBasic,
197
+ editorSpinner,
151
198
  frameworkRow,
152
199
  heading,
153
200
  hoverCard,
154
201
  input,
202
+ inputGroup,
203
+ inputWrapper,
155
204
  integrationCard,
205
+ kbd,
206
+ label,
156
207
  pageHeader,
157
208
  pageLayout,
158
209
  passwordInput,
@@ -162,18 +213,23 @@ export {
162
213
  resizable,
163
214
  riskBadge,
164
215
  riskIndicator,
216
+ scrollArea,
165
217
  sectionRow,
218
+ select,
166
219
  separator,
167
220
  sidebar,
168
221
  sidebarMenuAction,
169
222
  sidebarMenuButton,
170
223
  skeleton,
171
224
  skeletonAvatar,
225
+ slashDropdownMenu,
172
226
  spinner,
173
227
  splitPageLayout,
174
228
  standardChip,
175
229
  tabNav,
176
230
  table,
177
231
  tabs,
232
+ textarea,
233
+ toolbar,
178
234
  tooltip
179
235
  };
@@ -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