@deepnoid/ui 0.1.29 → 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.
- package/.turbo/turbo-build.log +183 -173
- package/dist/chunk-62X5AX5B.mjs +297 -0
- package/dist/chunk-6PN3DGOE.mjs +77 -0
- package/dist/{chunk-EHRFXDSN.mjs → chunk-AIIMJZ7L.mjs} +72 -42
- package/dist/{chunk-3KVZDFMV.mjs → chunk-BCMVEGJG.mjs} +3 -3
- package/dist/{chunk-QJJKJYNR.mjs → chunk-BFOK4HVC.mjs} +2 -2
- package/dist/{chunk-KXA73VTJ.mjs → chunk-CVQM3T2X.mjs} +4 -4
- package/dist/{chunk-RCJOJPRS.mjs → chunk-EBRCE7XY.mjs} +40 -30
- package/dist/{chunk-III2QUWF.mjs → chunk-G67WUZO3.mjs} +1 -1
- package/dist/{chunk-BB7MFKNQ.mjs → chunk-IBI3OVQI.mjs} +1 -1
- package/dist/{chunk-LR3SWRB4.mjs → chunk-IC25OKBJ.mjs} +5 -5
- package/dist/{chunk-KLUC2BV6.mjs → chunk-IEJRE6LT.mjs} +10 -7
- package/dist/{chunk-ECMBAKSJ.mjs → chunk-K7V4VE7R.mjs} +5 -5
- package/dist/chunk-LWRK5TPZ.mjs +80 -0
- package/dist/chunk-MZ76AA76.mjs +1 -0
- package/dist/{chunk-X4F7JYBA.mjs → chunk-NFQMXW4Z.mjs} +36 -14
- package/dist/chunk-P7YYNA6L.mjs +67 -0
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
- package/dist/components/breadcrumb/index.mjs +5 -5
- package/dist/components/button/button.mjs +2 -2
- package/dist/components/button/icon-button.mjs +2 -2
- package/dist/components/button/index.mjs +4 -4
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.mjs +2 -2
- package/dist/components/chip/index.mjs +2 -2
- package/dist/components/dateTimePicker/calendar.mjs +2 -2
- package/dist/components/dateTimePicker/dateTimePicker.mjs +6 -6
- package/dist/components/dateTimePicker/index.mjs +6 -6
- package/dist/components/dateTimePicker/timePicker.mjs +4 -4
- package/dist/components/fileUpload/fileUpload.js +62 -39
- package/dist/components/fileUpload/fileUpload.mjs +6 -6
- package/dist/components/fileUpload/index.js +62 -39
- package/dist/components/fileUpload/index.mjs +6 -6
- package/dist/components/input/index.js +62 -39
- package/dist/components/input/index.mjs +2 -2
- 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 +2 -2
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.mjs +2 -2
- package/dist/components/modal/index.mjs +6 -6
- package/dist/components/modal/modal.mjs +6 -6
- package/dist/components/pagination/index.js +62 -39
- package/dist/components/pagination/index.mjs +3 -3
- package/dist/components/pagination/pagination.js +62 -39
- package/dist/components/pagination/pagination.mjs +3 -3
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/select/index.js +7 -4
- package/dist/components/select/index.mjs +2 -2
- 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 +2 -2
- package/dist/components/skeleton/index.d.mts +2 -0
- package/dist/components/skeleton/index.d.ts +2 -0
- package/dist/components/skeleton/index.js +141 -0
- package/dist/components/skeleton/index.mjs +10 -0
- package/dist/components/skeleton/skeleton.d.mts +14 -0
- package/dist/components/skeleton/skeleton.d.ts +14 -0
- package/dist/components/skeleton/skeleton.js +135 -0
- package/dist/components/skeleton/skeleton.mjs +9 -0
- package/dist/components/table/index.js +748 -646
- package/dist/components/table/index.mjs +11 -9
- package/dist/components/table/table-body.d.mts +6 -4
- package/dist/components/table/table-body.d.ts +6 -4
- package/dist/components/table/table-body.js +115 -63
- package/dist/components/table/table-body.mjs +5 -3
- package/dist/components/table/table-head.d.mts +3 -1
- package/dist/components/table/table-head.d.ts +3 -1
- package/dist/components/table/table-head.js +107 -21
- package/dist/components/table/table-head.mjs +5 -3
- package/dist/components/table/table.d.mts +3 -1
- package/dist/components/table/table.d.ts +3 -1
- package/dist/components/table/table.js +739 -637
- package/dist/components/table/table.mjs +9 -7
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.mjs +2 -2
- 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/components/toast/index.mjs +3 -3
- package/dist/components/toast/toast.mjs +2 -2
- package/dist/components/toast/use-toast.mjs +3 -3
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.js +33 -11
- package/dist/components/tree/index.mjs +2 -2
- package/dist/components/tree/tree.d.mts +10 -8
- package/dist/components/tree/tree.d.ts +10 -8
- package/dist/components/tree/tree.js +33 -11
- package/dist/components/tree/tree.mjs +2 -2
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +799 -593
- package/dist/index.mjs +52 -47
- package/package.json +1 -1
- package/dist/chunk-26MNALVL.mjs +0 -47
- package/dist/chunk-A5KQHWS3.mjs +0 -94
- package/dist/chunk-BKE6QF6W.mjs +0 -209
- package/dist/{chunk-SSMMWMQC.mjs → chunk-2YMAKIZ6.mjs} +3 -3
- package/dist/{chunk-6K3E5BVO.mjs → chunk-7TAGGLNY.mjs} +3 -3
- package/dist/{chunk-X6D7C7QZ.mjs → chunk-A7RU3FU5.mjs} +3 -3
- package/dist/{chunk-YLRYHUTW.mjs → chunk-D6QI3DJG.mjs} +3 -3
- package/dist/{chunk-UFVQPPPW.mjs → chunk-HIVPDIEP.mjs} +3 -3
- package/dist/{chunk-P5QCU457.mjs → chunk-LL6F3WDX.mjs} +3 -3
- package/dist/{chunk-7W2ZI2DD.mjs → chunk-MEY4IL7D.mjs} +3 -3
- package/dist/{chunk-33LANVZV.mjs → chunk-QIRL6HY6.mjs} +3 -3
- package/dist/{chunk-W45H2ZMW.mjs → chunk-RT3S3VVJ.mjs} +3 -3
- package/dist/{chunk-7J3KVOTS.mjs → chunk-UB4YBFOT.mjs} +3 -3
- package/dist/{chunk-2PKM7SLZ.mjs → chunk-WFMFC7R6.mjs} +3 -3
- package/dist/{chunk-Y6XQTWB5.mjs → chunk-WLNLVX7Q.mjs} +3 -3
- package/dist/{chunk-IL5ENWCR.mjs → chunk-Z2537DF6.mjs} +3 -3
|
@@ -6,6 +6,7 @@ import { SlotsToClasses } from '../../utils/types.mjs';
|
|
|
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>;
|