@deepnoid/ui 0.1.115 → 0.1.117
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 +180 -175
- package/dist/{chunk-UNYKQTEP.mjs → chunk-3ZH6PWFC.mjs} +2 -2
- package/dist/chunk-4DESGO3D.mjs +54 -0
- package/dist/{chunk-BKYNB52Z.mjs → chunk-676Y7NKV.mjs} +1 -1
- package/dist/{chunk-AHBBUMPX.mjs → chunk-6VNOOJDQ.mjs} +2 -2
- package/dist/{chunk-NEBMBSKV.mjs → chunk-CUCLHYCE.mjs} +3 -3
- package/dist/{chunk-L3WKBOWY.mjs → chunk-ER3SUAE2.mjs} +1 -1
- package/dist/{chunk-AX3FVJMY.mjs → chunk-F7PC2JAF.mjs} +1 -1
- package/dist/{chunk-CEMBGO4V.mjs → chunk-HD2PTCE6.mjs} +2 -2
- package/dist/{chunk-FU4CDBVG.mjs → chunk-HLYTCS7L.mjs} +1 -1
- package/dist/{chunk-DDJ2EU3P.mjs → chunk-LCWEO4U6.mjs} +40 -14
- package/dist/chunk-LIHZG4KM.mjs +315 -0
- package/dist/{chunk-WKMBRUGX.mjs → chunk-LZRBMVT7.mjs} +1 -1
- package/dist/{chunk-MTQGHQ7Z.mjs → chunk-MG5E5YZ7.mjs} +1 -1
- package/dist/{chunk-BFZ6OTVA.mjs → chunk-PHWTRXOL.mjs} +2 -2
- package/dist/{chunk-5AEN7QTL.mjs → chunk-PMSUPDDW.mjs} +1 -1
- package/dist/{chunk-QREBEXKF.mjs → chunk-RSD67ORA.mjs} +1 -1
- package/dist/{chunk-TMHYS2DC.mjs → chunk-TO6OPRBH.mjs} +1 -1
- package/dist/{chunk-EDAREIAN.mjs → chunk-TRNL3IXF.mjs} +1 -1
- package/dist/{chunk-MLD6EZAE.mjs → chunk-UPPNTDNG.mjs} +1 -1
- package/dist/{chunk-7YCUFFKZ.mjs → chunk-VPGJ4HZ7.mjs} +1 -1
- package/dist/components/avatar/avatar.js +40 -14
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +40 -14
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +40 -14
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
- package/dist/components/breadcrumb/index.js +40 -14
- package/dist/components/breadcrumb/index.mjs +5 -5
- package/dist/components/button/button.js +40 -14
- package/dist/components/button/button.mjs +3 -3
- package/dist/components/button/icon-button.js +40 -14
- package/dist/components/button/icon-button.mjs +3 -3
- package/dist/components/button/index.js +40 -14
- package/dist/components/button/index.mjs +4 -4
- package/dist/components/chip/chip.js +40 -14
- package/dist/components/chip/chip.mjs +3 -3
- package/dist/components/chip/index.js +40 -14
- package/dist/components/chip/index.mjs +3 -3
- package/dist/components/fileUpload/fileUpload.js +40 -14
- package/dist/components/fileUpload/fileUpload.mjs +6 -6
- package/dist/components/fileUpload/index.js +40 -14
- package/dist/components/fileUpload/index.mjs +6 -6
- package/dist/components/icon/Icon.d.mts +8 -4
- package/dist/components/icon/Icon.d.ts +8 -4
- package/dist/components/icon/Icon.js +40 -14
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +40 -14
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +2 -1
- package/dist/components/icon/template.d.ts +2 -1
- package/dist/components/icon/template.js +40 -14
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +40 -14
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.js +40 -14
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.js +40 -14
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/listItem.js +40 -14
- package/dist/components/list/listItem.mjs +4 -4
- package/dist/components/modal/index.js +40 -14
- package/dist/components/modal/index.mjs +5 -5
- package/dist/components/modal/modal.js +40 -14
- package/dist/components/modal/modal.mjs +5 -5
- package/dist/components/pagination/index.js +40 -14
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.js +40 -14
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/picker/datePicker.d.mts +53 -172
- package/dist/components/picker/datePicker.d.ts +53 -172
- package/dist/components/picker/datePicker.js +1752 -399
- package/dist/components/picker/datePicker.mjs +14 -3
- package/dist/components/picker/day.d.mts +94 -0
- package/dist/components/picker/day.d.ts +94 -0
- package/dist/components/picker/day.js +414 -0
- package/dist/components/picker/day.mjs +12 -0
- package/dist/components/picker/index.d.mts +1 -0
- package/dist/components/picker/index.d.ts +1 -0
- package/dist/components/picker/index.js +2341 -984
- package/dist/components/picker/index.mjs +20 -6
- package/dist/components/picker/timePicker.js +40 -14
- package/dist/components/picker/timePicker.mjs +4 -4
- package/dist/components/select/index.js +40 -14
- package/dist/components/select/index.mjs +3 -3
- package/dist/components/select/select.js +40 -14
- package/dist/components/select/select.mjs +3 -3
- package/dist/components/table/index.js +40 -14
- package/dist/components/table/index.mjs +5 -5
- package/dist/components/table/table-body.js +40 -14
- package/dist/components/table/table-body.mjs +5 -5
- package/dist/components/table/table-head.js +40 -14
- package/dist/components/table/table-head.mjs +5 -5
- package/dist/components/table/table.js +40 -14
- package/dist/components/table/table.mjs +5 -5
- package/dist/components/toast/index.js +40 -14
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.js +40 -14
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.js +40 -14
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tree/index.js +40 -14
- package/dist/components/tree/index.mjs +3 -3
- package/dist/components/tree/tree.js +40 -14
- package/dist/components/tree/tree.mjs +3 -3
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +413 -456
- package/dist/index.mjs +28 -24
- package/package.json +1 -1
- package/dist/chunk-2VQM2ZBF.mjs +0 -408
- /package/dist/{chunk-ZG4WRZOU.mjs → chunk-4VWG4726.mjs} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ComponentProps } from 'react';
|
|
4
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
5
6
|
|
|
6
7
|
interface DatePickerProps extends Omit<ComponentProps<"input">, "size" | "color" | "onChange">, VariantProps<typeof datePickerStyle> {
|
|
@@ -11,233 +12,113 @@ interface DatePickerProps extends Omit<ComponentProps<"input">, "size" | "color"
|
|
|
11
12
|
classNames?: SlotsToClasses<DatePickerSlots>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
format?: "YYYY-MM-DD" | "MM/DD/YYYY" | "DD/MM/YYYY";
|
|
14
|
-
highlightWeekend?: boolean;
|
|
15
|
-
calendarColor?: "primary" | "secondary";
|
|
16
15
|
locale?: string;
|
|
17
16
|
daysOfWeek?: string[];
|
|
18
17
|
monthYearFormat?: (year: number, month: number) => string;
|
|
18
|
+
variant?: "solid" | "outline" | "underline";
|
|
19
|
+
color?: "primary" | "secondary";
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
helperMessage?: string;
|
|
22
|
+
resetTitle: string;
|
|
23
|
+
todayTitle: string;
|
|
24
|
+
cancelTitle: string;
|
|
25
|
+
confirmTitle: string;
|
|
19
26
|
}
|
|
20
|
-
declare const DatePicker:
|
|
27
|
+
declare const DatePicker: react.ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
21
28
|
|
|
22
29
|
declare const datePickerStyle: tailwind_variants.TVReturnType<{
|
|
23
30
|
color: {
|
|
24
|
-
primary: {
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
secondary: {
|
|
28
|
-
icon: string[];
|
|
29
|
-
};
|
|
31
|
+
primary: {};
|
|
32
|
+
secondary: {};
|
|
30
33
|
};
|
|
31
34
|
size: {
|
|
32
|
-
sm: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
inputWrapper: string[];
|
|
37
|
-
input: string[];
|
|
38
|
-
icon: string[];
|
|
39
|
-
errorMessage: string[];
|
|
40
|
-
};
|
|
41
|
-
md: {
|
|
42
|
-
base: string[];
|
|
43
|
-
label: string[];
|
|
44
|
-
wrapper: string[];
|
|
45
|
-
inputWrapper: string[];
|
|
46
|
-
input: string[];
|
|
47
|
-
icon: string[];
|
|
48
|
-
errorMessage: string[];
|
|
49
|
-
};
|
|
50
|
-
lg: {
|
|
51
|
-
base: string[];
|
|
52
|
-
label: string[];
|
|
53
|
-
wrapper: string[];
|
|
54
|
-
inputWrapper: string[];
|
|
55
|
-
input: string[];
|
|
56
|
-
icon: string[];
|
|
57
|
-
errorMessage: string[];
|
|
58
|
-
};
|
|
59
|
-
xl: {
|
|
60
|
-
base: string[];
|
|
61
|
-
label: string[];
|
|
62
|
-
wrapper: string[];
|
|
63
|
-
inputWrapper: string[];
|
|
64
|
-
input: string[];
|
|
65
|
-
icon: string[];
|
|
66
|
-
errorMessage: string[];
|
|
67
|
-
};
|
|
35
|
+
sm: {};
|
|
36
|
+
md: {};
|
|
37
|
+
lg: {};
|
|
38
|
+
xl: {};
|
|
68
39
|
};
|
|
69
40
|
full: {
|
|
70
41
|
true: {
|
|
71
42
|
base: string[];
|
|
72
|
-
wrapper: string[];
|
|
73
|
-
inputWrapper: string[];
|
|
74
43
|
};
|
|
75
44
|
};
|
|
76
45
|
disabled: {
|
|
77
46
|
true: {
|
|
78
47
|
base: string[];
|
|
79
|
-
label: string[];
|
|
80
|
-
inputWrapper: string[];
|
|
81
|
-
input: string[];
|
|
82
|
-
icon: string[];
|
|
83
|
-
errorMessage: string[];
|
|
84
48
|
};
|
|
85
49
|
};
|
|
86
50
|
}, {
|
|
87
51
|
base: string[];
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
errorMessage:
|
|
52
|
+
calendarWrapper: string[];
|
|
53
|
+
calendarHead: string[];
|
|
54
|
+
inputBase: never[];
|
|
55
|
+
inputWrapper: never[];
|
|
56
|
+
input: never[];
|
|
57
|
+
label: never[];
|
|
58
|
+
errorMessage: never[];
|
|
59
|
+
helperMessage: never[];
|
|
95
60
|
}, undefined, {
|
|
96
61
|
color: {
|
|
97
|
-
primary: {
|
|
98
|
-
|
|
99
|
-
};
|
|
100
|
-
secondary: {
|
|
101
|
-
icon: string[];
|
|
102
|
-
};
|
|
62
|
+
primary: {};
|
|
63
|
+
secondary: {};
|
|
103
64
|
};
|
|
104
65
|
size: {
|
|
105
|
-
sm: {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
inputWrapper: string[];
|
|
110
|
-
input: string[];
|
|
111
|
-
icon: string[];
|
|
112
|
-
errorMessage: string[];
|
|
113
|
-
};
|
|
114
|
-
md: {
|
|
115
|
-
base: string[];
|
|
116
|
-
label: string[];
|
|
117
|
-
wrapper: string[];
|
|
118
|
-
inputWrapper: string[];
|
|
119
|
-
input: string[];
|
|
120
|
-
icon: string[];
|
|
121
|
-
errorMessage: string[];
|
|
122
|
-
};
|
|
123
|
-
lg: {
|
|
124
|
-
base: string[];
|
|
125
|
-
label: string[];
|
|
126
|
-
wrapper: string[];
|
|
127
|
-
inputWrapper: string[];
|
|
128
|
-
input: string[];
|
|
129
|
-
icon: string[];
|
|
130
|
-
errorMessage: string[];
|
|
131
|
-
};
|
|
132
|
-
xl: {
|
|
133
|
-
base: string[];
|
|
134
|
-
label: string[];
|
|
135
|
-
wrapper: string[];
|
|
136
|
-
inputWrapper: string[];
|
|
137
|
-
input: string[];
|
|
138
|
-
icon: string[];
|
|
139
|
-
errorMessage: string[];
|
|
140
|
-
};
|
|
66
|
+
sm: {};
|
|
67
|
+
md: {};
|
|
68
|
+
lg: {};
|
|
69
|
+
xl: {};
|
|
141
70
|
};
|
|
142
71
|
full: {
|
|
143
72
|
true: {
|
|
144
73
|
base: string[];
|
|
145
|
-
wrapper: string[];
|
|
146
|
-
inputWrapper: string[];
|
|
147
74
|
};
|
|
148
75
|
};
|
|
149
76
|
disabled: {
|
|
150
77
|
true: {
|
|
151
78
|
base: string[];
|
|
152
|
-
label: string[];
|
|
153
|
-
inputWrapper: string[];
|
|
154
|
-
input: string[];
|
|
155
|
-
icon: string[];
|
|
156
|
-
errorMessage: string[];
|
|
157
79
|
};
|
|
158
80
|
};
|
|
159
81
|
}, {
|
|
160
82
|
base: string[];
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
errorMessage:
|
|
83
|
+
calendarWrapper: string[];
|
|
84
|
+
calendarHead: string[];
|
|
85
|
+
inputBase: never[];
|
|
86
|
+
inputWrapper: never[];
|
|
87
|
+
input: never[];
|
|
88
|
+
label: never[];
|
|
89
|
+
errorMessage: never[];
|
|
90
|
+
helperMessage: never[];
|
|
168
91
|
}, tailwind_variants.TVReturnType<{
|
|
169
92
|
color: {
|
|
170
|
-
primary: {
|
|
171
|
-
|
|
172
|
-
};
|
|
173
|
-
secondary: {
|
|
174
|
-
icon: string[];
|
|
175
|
-
};
|
|
93
|
+
primary: {};
|
|
94
|
+
secondary: {};
|
|
176
95
|
};
|
|
177
96
|
size: {
|
|
178
|
-
sm: {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
inputWrapper: string[];
|
|
183
|
-
input: string[];
|
|
184
|
-
icon: string[];
|
|
185
|
-
errorMessage: string[];
|
|
186
|
-
};
|
|
187
|
-
md: {
|
|
188
|
-
base: string[];
|
|
189
|
-
label: string[];
|
|
190
|
-
wrapper: string[];
|
|
191
|
-
inputWrapper: string[];
|
|
192
|
-
input: string[];
|
|
193
|
-
icon: string[];
|
|
194
|
-
errorMessage: string[];
|
|
195
|
-
};
|
|
196
|
-
lg: {
|
|
197
|
-
base: string[];
|
|
198
|
-
label: string[];
|
|
199
|
-
wrapper: string[];
|
|
200
|
-
inputWrapper: string[];
|
|
201
|
-
input: string[];
|
|
202
|
-
icon: string[];
|
|
203
|
-
errorMessage: string[];
|
|
204
|
-
};
|
|
205
|
-
xl: {
|
|
206
|
-
base: string[];
|
|
207
|
-
label: string[];
|
|
208
|
-
wrapper: string[];
|
|
209
|
-
inputWrapper: string[];
|
|
210
|
-
input: string[];
|
|
211
|
-
icon: string[];
|
|
212
|
-
errorMessage: string[];
|
|
213
|
-
};
|
|
97
|
+
sm: {};
|
|
98
|
+
md: {};
|
|
99
|
+
lg: {};
|
|
100
|
+
xl: {};
|
|
214
101
|
};
|
|
215
102
|
full: {
|
|
216
103
|
true: {
|
|
217
104
|
base: string[];
|
|
218
|
-
wrapper: string[];
|
|
219
|
-
inputWrapper: string[];
|
|
220
105
|
};
|
|
221
106
|
};
|
|
222
107
|
disabled: {
|
|
223
108
|
true: {
|
|
224
109
|
base: string[];
|
|
225
|
-
label: string[];
|
|
226
|
-
inputWrapper: string[];
|
|
227
|
-
input: string[];
|
|
228
|
-
icon: string[];
|
|
229
|
-
errorMessage: string[];
|
|
230
110
|
};
|
|
231
111
|
};
|
|
232
112
|
}, {
|
|
233
113
|
base: string[];
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
errorMessage:
|
|
114
|
+
calendarWrapper: string[];
|
|
115
|
+
calendarHead: string[];
|
|
116
|
+
inputBase: never[];
|
|
117
|
+
inputWrapper: never[];
|
|
118
|
+
input: never[];
|
|
119
|
+
label: never[];
|
|
120
|
+
errorMessage: never[];
|
|
121
|
+
helperMessage: never[];
|
|
241
122
|
}, undefined, unknown, unknown, undefined>>;
|
|
242
123
|
type DatePickerSlots = keyof ReturnType<typeof datePickerStyle>;
|
|
243
124
|
|