@deepnoid/ui 0.1.30 → 0.1.31

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 (46) hide show
  1. package/.turbo/turbo-build.log +136 -136
  2. package/dist/chunk-62X5AX5B.mjs +297 -0
  3. package/dist/{chunk-VCVQMPC7.mjs → chunk-AIIMJZ7L.mjs} +69 -39
  4. package/dist/{chunk-NKH3OF6I.mjs → chunk-BCMVEGJG.mjs} +1 -1
  5. package/dist/{chunk-QM4ZSQYX.mjs → chunk-CVQM3T2X.mjs} +1 -1
  6. package/dist/{chunk-GLMM253Q.mjs → chunk-EBRCE7XY.mjs} +2 -2
  7. package/dist/{chunk-272FMLIL.mjs → chunk-IEJRE6LT.mjs} +7 -4
  8. package/dist/{chunk-CEZQCD6Z.mjs → chunk-LWRK5TPZ.mjs} +12 -11
  9. package/dist/components/fileUpload/fileUpload.js +62 -39
  10. package/dist/components/fileUpload/fileUpload.mjs +2 -2
  11. package/dist/components/fileUpload/index.js +62 -39
  12. package/dist/components/fileUpload/index.mjs +2 -2
  13. package/dist/components/input/index.js +62 -39
  14. package/dist/components/input/index.mjs +1 -1
  15. package/dist/components/input/input.d.mts +21 -14
  16. package/dist/components/input/input.d.ts +21 -14
  17. package/dist/components/input/input.js +62 -39
  18. package/dist/components/input/input.mjs +1 -1
  19. package/dist/components/pagination/index.js +62 -39
  20. package/dist/components/pagination/index.mjs +2 -2
  21. package/dist/components/pagination/pagination.js +62 -39
  22. package/dist/components/pagination/pagination.mjs +2 -2
  23. package/dist/components/select/index.js +7 -4
  24. package/dist/components/select/index.mjs +1 -1
  25. package/dist/components/select/select.d.mts +9 -0
  26. package/dist/components/select/select.d.ts +9 -0
  27. package/dist/components/select/select.js +7 -4
  28. package/dist/components/select/select.mjs +1 -1
  29. package/dist/components/table/index.js +74 -50
  30. package/dist/components/table/index.mjs +4 -4
  31. package/dist/components/table/table-body.js +12 -11
  32. package/dist/components/table/table-body.mjs +1 -1
  33. package/dist/components/table/table.d.mts +2 -1
  34. package/dist/components/table/table.d.ts +2 -1
  35. package/dist/components/table/table.js +74 -50
  36. package/dist/components/table/table.mjs +4 -4
  37. package/dist/components/textarea/index.js +255 -138
  38. package/dist/components/textarea/index.mjs +2 -1
  39. package/dist/components/textarea/textarea.d.mts +157 -150
  40. package/dist/components/textarea/textarea.d.ts +157 -150
  41. package/dist/components/textarea/textarea.js +255 -138
  42. package/dist/components/textarea/textarea.mjs +2 -1
  43. package/dist/index.js +296 -192
  44. package/dist/index.mjs +7 -7
  45. package/package.json +1 -1
  46. 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
- textareaWrapper: string[];
19
+ textarea: string[];
20
+ readonlyWrapper: string[];
19
21
  };
20
- line: {
21
- textareaWrapper: string[];
22
+ outline: {
23
+ textarea: string[];
24
+ readonlyWrapper: string[];
22
25
  };
23
26
  };
24
27
  color: {
25
- primary: {};
26
- secondary: {};
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
- textareaWrapper: string;
32
- textarea: string;
33
- label: string;
34
- errorMessage: string;
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
- textareaWrapper: string;
39
- textarea: string;
40
- label: string;
41
- errorMessage: string;
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
- textareaWrapper: string;
46
- textarea: string;
47
- label: string;
48
- errorMessage: string;
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
- textareaWrapper: string;
53
- textarea: string;
54
- label: string;
55
- errorMessage: string;
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
- fullWidth: {
70
- true: {
71
- base: string;
72
- textareaWrapper: string;
73
- textarea: string;
74
- };
71
+ direction: {
72
+ vertical: string;
73
+ horizon: string;
75
74
  };
76
- isDisabled: {
75
+ full: {
77
76
  true: {
78
77
  base: string[];
79
- textareaWrapper: string[];
78
+ wrapper: string[];
80
79
  textarea: string[];
81
- label: string[];
82
- errorMessage: string;
83
80
  };
84
81
  };
85
- isRequired: {
82
+ disabled: {
86
83
  true: {
87
- label: string[];
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
- innerWrapper: string[];
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
- textareaWrapper: string[];
103
+ textarea: string[];
104
+ readonlyWrapper: string[];
101
105
  };
102
- line: {
103
- textareaWrapper: string[];
106
+ outline: {
107
+ textarea: string[];
108
+ readonlyWrapper: string[];
104
109
  };
105
110
  };
106
111
  color: {
107
- primary: {};
108
- secondary: {};
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
- textareaWrapper: string;
114
- textarea: string;
115
- label: string;
116
- errorMessage: string;
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
- textareaWrapper: string;
121
- textarea: string;
122
- label: string;
123
- errorMessage: string;
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
- textareaWrapper: string;
128
- textarea: string;
129
- label: string;
130
- errorMessage: string;
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
- textareaWrapper: string;
135
- textarea: string;
136
- label: string;
137
- errorMessage: string;
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
- fullWidth: {
152
- true: {
153
- base: string;
154
- textareaWrapper: string;
155
- textarea: string;
156
- };
155
+ direction: {
156
+ vertical: string;
157
+ horizon: string;
157
158
  };
158
- isDisabled: {
159
+ full: {
159
160
  true: {
160
161
  base: string[];
161
- textareaWrapper: string[];
162
+ wrapper: string[];
162
163
  textarea: string[];
163
- label: string[];
164
- errorMessage: string;
165
164
  };
166
165
  };
167
- isRequired: {
166
+ disabled: {
168
167
  true: {
169
- label: string[];
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
- innerWrapper: string[];
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
- textareaWrapper: string[];
187
+ textarea: string[];
188
+ readonlyWrapper: string[];
183
189
  };
184
- line: {
185
- textareaWrapper: string[];
190
+ outline: {
191
+ textarea: string[];
192
+ readonlyWrapper: string[];
186
193
  };
187
194
  };
188
195
  color: {
189
- primary: {};
190
- secondary: {};
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
- textareaWrapper: string;
196
- textarea: string;
197
- label: string;
198
- errorMessage: string;
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
- textareaWrapper: string;
203
- textarea: string;
204
- label: string;
205
- errorMessage: string;
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
- textareaWrapper: string;
210
- textarea: string;
211
- label: string;
212
- errorMessage: string;
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
- textareaWrapper: string;
217
- textarea: string;
218
- label: string;
219
- errorMessage: string;
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
- fullWidth: {
234
- true: {
235
- base: string;
236
- textareaWrapper: string;
237
- textarea: string;
238
- };
239
+ direction: {
240
+ vertical: string;
241
+ horizon: string;
239
242
  };
240
- isDisabled: {
243
+ full: {
241
244
  true: {
242
245
  base: string[];
243
- textareaWrapper: string[];
246
+ wrapper: string[];
244
247
  textarea: string[];
245
- label: string[];
246
- errorMessage: string;
247
248
  };
248
249
  };
249
- isRequired: {
250
+ disabled: {
250
251
  true: {
251
- label: string[];
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
- innerWrapper: string[];
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>;