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