@deepnoid/ui 0.1.30 → 0.1.32
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/.turbo/turbo-build.log +135 -135
- package/dist/chunk-62X5AX5B.mjs +297 -0
- package/dist/{chunk-VCVQMPC7.mjs → chunk-AIIMJZ7L.mjs} +69 -39
- package/dist/{chunk-NKH3OF6I.mjs → chunk-BCMVEGJG.mjs} +1 -1
- package/dist/{chunk-QM4ZSQYX.mjs → chunk-CVQM3T2X.mjs} +1 -1
- package/dist/{chunk-272FMLIL.mjs → chunk-IEJRE6LT.mjs} +7 -4
- package/dist/{chunk-CEZQCD6Z.mjs → chunk-LWRK5TPZ.mjs} +12 -11
- package/dist/{chunk-GLMM253Q.mjs → chunk-P67LLF3G.mjs} +5 -5
- package/dist/components/fileUpload/fileUpload.js +62 -39
- package/dist/components/fileUpload/fileUpload.mjs +2 -2
- package/dist/components/fileUpload/index.js +62 -39
- package/dist/components/fileUpload/index.mjs +2 -2
- package/dist/components/input/index.js +62 -39
- package/dist/components/input/index.mjs +1 -1
- package/dist/components/input/input.d.mts +21 -14
- package/dist/components/input/input.d.ts +21 -14
- package/dist/components/input/input.js +62 -39
- package/dist/components/input/input.mjs +1 -1
- package/dist/components/pagination/index.js +62 -39
- package/dist/components/pagination/index.mjs +2 -2
- package/dist/components/pagination/pagination.js +62 -39
- package/dist/components/pagination/pagination.mjs +2 -2
- package/dist/components/select/index.js +7 -4
- package/dist/components/select/index.mjs +1 -1
- package/dist/components/select/select.d.mts +9 -0
- package/dist/components/select/select.d.ts +9 -0
- package/dist/components/select/select.js +7 -4
- package/dist/components/select/select.mjs +1 -1
- package/dist/components/table/index.js +77 -53
- package/dist/components/table/index.mjs +4 -4
- package/dist/components/table/table-body.js +12 -11
- package/dist/components/table/table-body.mjs +1 -1
- package/dist/components/table/table.d.mts +2 -1
- package/dist/components/table/table.d.ts +2 -1
- package/dist/components/table/table.js +77 -53
- package/dist/components/table/table.mjs +4 -4
- package/dist/components/textarea/index.js +255 -138
- package/dist/components/textarea/index.mjs +2 -1
- package/dist/components/textarea/textarea.d.mts +157 -150
- package/dist/components/textarea/textarea.d.ts +157 -150
- package/dist/components/textarea/textarea.js +255 -138
- package/dist/components/textarea/textarea.mjs +2 -1
- package/dist/index.js +299 -195
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
- package/dist/chunk-BKE6QF6W.mjs +0 -209
|
@@ -6,6 +6,7 @@ import { SlotsToClasses } from '../../utils/types.js';
|
|
|
6
6
|
|
|
7
7
|
interface Props extends Omit<ComponentProps<"textarea">, "size"> {
|
|
8
8
|
label?: string;
|
|
9
|
+
helperMessage?: string;
|
|
9
10
|
errorMessage?: string;
|
|
10
11
|
classNames?: SlotsToClasses<TextareaSlots>;
|
|
11
12
|
}
|
|
@@ -15,249 +16,255 @@ declare const Textarea: react.ForwardRefExoticComponent<Omit<TextareaProps, "ref
|
|
|
15
16
|
declare const textareaStyle: tailwind_variants.TVReturnType<{
|
|
16
17
|
variant: {
|
|
17
18
|
solid: {
|
|
18
|
-
|
|
19
|
+
textarea: string[];
|
|
20
|
+
readonlyWrapper: string[];
|
|
19
21
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
outline: {
|
|
23
|
+
textarea: string[];
|
|
24
|
+
readonlyWrapper: string[];
|
|
22
25
|
};
|
|
23
26
|
};
|
|
24
27
|
color: {
|
|
25
|
-
primary: {
|
|
26
|
-
|
|
28
|
+
primary: {
|
|
29
|
+
helperMessage: string[];
|
|
30
|
+
readonly: string[];
|
|
31
|
+
};
|
|
32
|
+
secondary: {
|
|
33
|
+
helperMessage: string[];
|
|
34
|
+
readonly: string[];
|
|
35
|
+
};
|
|
27
36
|
};
|
|
28
37
|
size: {
|
|
29
38
|
sm: {
|
|
30
|
-
base: string;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
39
|
+
base: string[];
|
|
40
|
+
label: string[];
|
|
41
|
+
wrapper: string[];
|
|
42
|
+
textarea: string[];
|
|
43
|
+
helperMessage: string[];
|
|
44
|
+
errorMessage: string[];
|
|
35
45
|
};
|
|
36
46
|
md: {
|
|
37
|
-
base: string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
47
|
+
base: string[];
|
|
48
|
+
label: string[];
|
|
49
|
+
wrapper: string[];
|
|
50
|
+
textarea: string[];
|
|
51
|
+
helperMessage: string[];
|
|
52
|
+
errorMessage: string[];
|
|
42
53
|
};
|
|
43
54
|
lg: {
|
|
44
|
-
base: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
base: string[];
|
|
56
|
+
label: string[];
|
|
57
|
+
wrapper: string[];
|
|
58
|
+
textarea: string[];
|
|
59
|
+
helperMessage: string[];
|
|
60
|
+
errorMessage: string[];
|
|
49
61
|
};
|
|
50
62
|
xl: {
|
|
51
|
-
base: string;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
};
|
|
58
|
-
radius: {
|
|
59
|
-
default: {};
|
|
60
|
-
none: {
|
|
61
|
-
textareaWrapper: string;
|
|
62
|
-
textarea: string;
|
|
63
|
-
};
|
|
64
|
-
full: {
|
|
65
|
-
textareaWrapper: string;
|
|
66
|
-
textarea: string;
|
|
63
|
+
base: string[];
|
|
64
|
+
label: string[];
|
|
65
|
+
wrapper: string[];
|
|
66
|
+
textarea: string[];
|
|
67
|
+
helperMessage: string[];
|
|
68
|
+
errorMessage: string[];
|
|
67
69
|
};
|
|
68
70
|
};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
textareaWrapper: string;
|
|
73
|
-
textarea: string;
|
|
74
|
-
};
|
|
71
|
+
direction: {
|
|
72
|
+
vertical: string;
|
|
73
|
+
horizon: string;
|
|
75
74
|
};
|
|
76
|
-
|
|
75
|
+
full: {
|
|
77
76
|
true: {
|
|
78
77
|
base: string[];
|
|
79
|
-
|
|
78
|
+
wrapper: string[];
|
|
80
79
|
textarea: string[];
|
|
81
|
-
label: string[];
|
|
82
|
-
errorMessage: string;
|
|
83
80
|
};
|
|
84
81
|
};
|
|
85
|
-
|
|
82
|
+
disabled: {
|
|
86
83
|
true: {
|
|
87
|
-
|
|
84
|
+
textarea: string[];
|
|
85
|
+
helperMessage: string[];
|
|
86
|
+
errorMessage: string[];
|
|
88
87
|
};
|
|
89
88
|
};
|
|
90
89
|
}, {
|
|
91
90
|
base: string[];
|
|
91
|
+
vertical: string[];
|
|
92
|
+
horizon: string[];
|
|
92
93
|
label: string[];
|
|
93
|
-
|
|
94
|
-
textareaWrapper: string[];
|
|
94
|
+
wrapper: string[];
|
|
95
95
|
textarea: string[];
|
|
96
|
+
helperMessage: string[];
|
|
96
97
|
errorMessage: string[];
|
|
98
|
+
readonlyWrapper: string[];
|
|
99
|
+
readonly: never[];
|
|
97
100
|
}, undefined, {
|
|
98
101
|
variant: {
|
|
99
102
|
solid: {
|
|
100
|
-
|
|
103
|
+
textarea: string[];
|
|
104
|
+
readonlyWrapper: string[];
|
|
101
105
|
};
|
|
102
|
-
|
|
103
|
-
|
|
106
|
+
outline: {
|
|
107
|
+
textarea: string[];
|
|
108
|
+
readonlyWrapper: string[];
|
|
104
109
|
};
|
|
105
110
|
};
|
|
106
111
|
color: {
|
|
107
|
-
primary: {
|
|
108
|
-
|
|
112
|
+
primary: {
|
|
113
|
+
helperMessage: string[];
|
|
114
|
+
readonly: string[];
|
|
115
|
+
};
|
|
116
|
+
secondary: {
|
|
117
|
+
helperMessage: string[];
|
|
118
|
+
readonly: string[];
|
|
119
|
+
};
|
|
109
120
|
};
|
|
110
121
|
size: {
|
|
111
122
|
sm: {
|
|
112
|
-
base: string;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
123
|
+
base: string[];
|
|
124
|
+
label: string[];
|
|
125
|
+
wrapper: string[];
|
|
126
|
+
textarea: string[];
|
|
127
|
+
helperMessage: string[];
|
|
128
|
+
errorMessage: string[];
|
|
117
129
|
};
|
|
118
130
|
md: {
|
|
119
|
-
base: string;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
131
|
+
base: string[];
|
|
132
|
+
label: string[];
|
|
133
|
+
wrapper: string[];
|
|
134
|
+
textarea: string[];
|
|
135
|
+
helperMessage: string[];
|
|
136
|
+
errorMessage: string[];
|
|
124
137
|
};
|
|
125
138
|
lg: {
|
|
126
|
-
base: string;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
139
|
+
base: string[];
|
|
140
|
+
label: string[];
|
|
141
|
+
wrapper: string[];
|
|
142
|
+
textarea: string[];
|
|
143
|
+
helperMessage: string[];
|
|
144
|
+
errorMessage: string[];
|
|
131
145
|
};
|
|
132
146
|
xl: {
|
|
133
|
-
base: string;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
};
|
|
140
|
-
radius: {
|
|
141
|
-
default: {};
|
|
142
|
-
none: {
|
|
143
|
-
textareaWrapper: string;
|
|
144
|
-
textarea: string;
|
|
145
|
-
};
|
|
146
|
-
full: {
|
|
147
|
-
textareaWrapper: string;
|
|
148
|
-
textarea: string;
|
|
147
|
+
base: string[];
|
|
148
|
+
label: string[];
|
|
149
|
+
wrapper: string[];
|
|
150
|
+
textarea: string[];
|
|
151
|
+
helperMessage: string[];
|
|
152
|
+
errorMessage: string[];
|
|
149
153
|
};
|
|
150
154
|
};
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
textareaWrapper: string;
|
|
155
|
-
textarea: string;
|
|
156
|
-
};
|
|
155
|
+
direction: {
|
|
156
|
+
vertical: string;
|
|
157
|
+
horizon: string;
|
|
157
158
|
};
|
|
158
|
-
|
|
159
|
+
full: {
|
|
159
160
|
true: {
|
|
160
161
|
base: string[];
|
|
161
|
-
|
|
162
|
+
wrapper: string[];
|
|
162
163
|
textarea: string[];
|
|
163
|
-
label: string[];
|
|
164
|
-
errorMessage: string;
|
|
165
164
|
};
|
|
166
165
|
};
|
|
167
|
-
|
|
166
|
+
disabled: {
|
|
168
167
|
true: {
|
|
169
|
-
|
|
168
|
+
textarea: string[];
|
|
169
|
+
helperMessage: string[];
|
|
170
|
+
errorMessage: string[];
|
|
170
171
|
};
|
|
171
172
|
};
|
|
172
173
|
}, {
|
|
173
174
|
base: string[];
|
|
175
|
+
vertical: string[];
|
|
176
|
+
horizon: string[];
|
|
174
177
|
label: string[];
|
|
175
|
-
|
|
176
|
-
textareaWrapper: string[];
|
|
178
|
+
wrapper: string[];
|
|
177
179
|
textarea: string[];
|
|
180
|
+
helperMessage: string[];
|
|
178
181
|
errorMessage: string[];
|
|
182
|
+
readonlyWrapper: string[];
|
|
183
|
+
readonly: never[];
|
|
179
184
|
}, tailwind_variants.TVReturnType<{
|
|
180
185
|
variant: {
|
|
181
186
|
solid: {
|
|
182
|
-
|
|
187
|
+
textarea: string[];
|
|
188
|
+
readonlyWrapper: string[];
|
|
183
189
|
};
|
|
184
|
-
|
|
185
|
-
|
|
190
|
+
outline: {
|
|
191
|
+
textarea: string[];
|
|
192
|
+
readonlyWrapper: string[];
|
|
186
193
|
};
|
|
187
194
|
};
|
|
188
195
|
color: {
|
|
189
|
-
primary: {
|
|
190
|
-
|
|
196
|
+
primary: {
|
|
197
|
+
helperMessage: string[];
|
|
198
|
+
readonly: string[];
|
|
199
|
+
};
|
|
200
|
+
secondary: {
|
|
201
|
+
helperMessage: string[];
|
|
202
|
+
readonly: string[];
|
|
203
|
+
};
|
|
191
204
|
};
|
|
192
205
|
size: {
|
|
193
206
|
sm: {
|
|
194
|
-
base: string;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
207
|
+
base: string[];
|
|
208
|
+
label: string[];
|
|
209
|
+
wrapper: string[];
|
|
210
|
+
textarea: string[];
|
|
211
|
+
helperMessage: string[];
|
|
212
|
+
errorMessage: string[];
|
|
199
213
|
};
|
|
200
214
|
md: {
|
|
201
|
-
base: string;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
215
|
+
base: string[];
|
|
216
|
+
label: string[];
|
|
217
|
+
wrapper: string[];
|
|
218
|
+
textarea: string[];
|
|
219
|
+
helperMessage: string[];
|
|
220
|
+
errorMessage: string[];
|
|
206
221
|
};
|
|
207
222
|
lg: {
|
|
208
|
-
base: string;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
223
|
+
base: string[];
|
|
224
|
+
label: string[];
|
|
225
|
+
wrapper: string[];
|
|
226
|
+
textarea: string[];
|
|
227
|
+
helperMessage: string[];
|
|
228
|
+
errorMessage: string[];
|
|
213
229
|
};
|
|
214
230
|
xl: {
|
|
215
|
-
base: string;
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
};
|
|
222
|
-
radius: {
|
|
223
|
-
default: {};
|
|
224
|
-
none: {
|
|
225
|
-
textareaWrapper: string;
|
|
226
|
-
textarea: string;
|
|
227
|
-
};
|
|
228
|
-
full: {
|
|
229
|
-
textareaWrapper: string;
|
|
230
|
-
textarea: string;
|
|
231
|
+
base: string[];
|
|
232
|
+
label: string[];
|
|
233
|
+
wrapper: string[];
|
|
234
|
+
textarea: string[];
|
|
235
|
+
helperMessage: string[];
|
|
236
|
+
errorMessage: string[];
|
|
231
237
|
};
|
|
232
238
|
};
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
textareaWrapper: string;
|
|
237
|
-
textarea: string;
|
|
238
|
-
};
|
|
239
|
+
direction: {
|
|
240
|
+
vertical: string;
|
|
241
|
+
horizon: string;
|
|
239
242
|
};
|
|
240
|
-
|
|
243
|
+
full: {
|
|
241
244
|
true: {
|
|
242
245
|
base: string[];
|
|
243
|
-
|
|
246
|
+
wrapper: string[];
|
|
244
247
|
textarea: string[];
|
|
245
|
-
label: string[];
|
|
246
|
-
errorMessage: string;
|
|
247
248
|
};
|
|
248
249
|
};
|
|
249
|
-
|
|
250
|
+
disabled: {
|
|
250
251
|
true: {
|
|
251
|
-
|
|
252
|
+
textarea: string[];
|
|
253
|
+
helperMessage: string[];
|
|
254
|
+
errorMessage: string[];
|
|
252
255
|
};
|
|
253
256
|
};
|
|
254
257
|
}, {
|
|
255
258
|
base: string[];
|
|
259
|
+
vertical: string[];
|
|
260
|
+
horizon: string[];
|
|
256
261
|
label: string[];
|
|
257
|
-
|
|
258
|
-
textareaWrapper: string[];
|
|
262
|
+
wrapper: string[];
|
|
259
263
|
textarea: string[];
|
|
264
|
+
helperMessage: string[];
|
|
260
265
|
errorMessage: string[];
|
|
266
|
+
readonlyWrapper: string[];
|
|
267
|
+
readonly: never[];
|
|
261
268
|
}, undefined, unknown, unknown, undefined>>;
|
|
262
269
|
type TextareaVariantProps = VariantProps<typeof textareaStyle>;
|
|
263
270
|
type TextareaSlots = keyof ReturnType<typeof textareaStyle>;
|