@deepnoid/ui 0.1.111 → 0.1.113

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 (133) hide show
  1. package/.turbo/turbo-build.log +188 -178
  2. package/dist/{chunk-46SXEYRN.mjs → chunk-2PZRTIRD.mjs} +1 -1
  3. package/dist/{chunk-3I35VMMV.mjs → chunk-3ER5WNGC.mjs} +3 -3
  4. package/dist/{chunk-J5K7RN5X.mjs → chunk-3KWZHPVV.mjs} +4 -4
  5. package/dist/{chunk-Q36C7WNH.mjs → chunk-4NVZMJGS.mjs} +1 -1
  6. package/dist/{chunk-U3O7RIXM.mjs → chunk-77EXMT5I.mjs} +5 -5
  7. package/dist/{chunk-7K463ANW.mjs → chunk-BKYNB52Z.mjs} +1 -1
  8. package/dist/{chunk-XEEDMB5O.mjs → chunk-DDJ2EU3P.mjs} +39 -39
  9. package/dist/{chunk-33DLD2L6.mjs → chunk-FU4CDBVG.mjs} +1 -1
  10. package/dist/chunk-FWFEKWWD.mjs +18 -0
  11. package/dist/{chunk-UOP7XLYB.mjs → chunk-H6G6INED.mjs} +2 -2
  12. package/dist/{chunk-ANM4RNDF.mjs → chunk-I7QMOYZO.mjs} +4 -4
  13. package/dist/{chunk-X67ELNP6.mjs → chunk-JFWWH3LL.mjs} +1 -1
  14. package/dist/chunk-K4XJAP6G.mjs +408 -0
  15. package/dist/{chunk-HBEPQQOM.mjs → chunk-KOELCZTB.mjs} +4 -4
  16. package/dist/{chunk-CV6IVDL6.mjs → chunk-LXDKYJ5H.mjs} +25 -16
  17. package/dist/{chunk-EQWU2F5T.mjs → chunk-MLD6EZAE.mjs} +1 -1
  18. package/dist/{chunk-KPNIWFLU.mjs → chunk-OMVVASRP.mjs} +4 -4
  19. package/dist/{chunk-XRYETYWI.mjs → chunk-PYCIG6N3.mjs} +4 -4
  20. package/dist/{chunk-YCLB7ZNK.mjs → chunk-S6ZXK2UP.mjs} +4 -4
  21. package/dist/{chunk-GDKDD2MW.mjs → chunk-TLOKYBIC.mjs} +5 -5
  22. package/dist/components/avatar/avatar.js +39 -39
  23. package/dist/components/avatar/avatar.mjs +2 -2
  24. package/dist/components/avatar/index.js +39 -39
  25. package/dist/components/avatar/index.mjs +2 -2
  26. package/dist/components/backdrop/backdrop.mjs +2 -2
  27. package/dist/components/backdrop/index.mjs +2 -2
  28. package/dist/components/breadcrumb/breadcrumb.js +39 -39
  29. package/dist/components/breadcrumb/breadcrumb.mjs +7 -7
  30. package/dist/components/breadcrumb/index.js +39 -39
  31. package/dist/components/breadcrumb/index.mjs +7 -7
  32. package/dist/components/button/button.js +39 -39
  33. package/dist/components/button/button.mjs +3 -3
  34. package/dist/components/button/icon-button.js +39 -39
  35. package/dist/components/button/icon-button.mjs +3 -3
  36. package/dist/components/button/index.js +39 -39
  37. package/dist/components/button/index.mjs +6 -6
  38. package/dist/components/button/text-button.mjs +2 -2
  39. package/dist/components/checkbox/checkbox.mjs +2 -2
  40. package/dist/components/checkbox/index.mjs +2 -2
  41. package/dist/components/chip/chip.js +39 -39
  42. package/dist/components/chip/chip.mjs +3 -3
  43. package/dist/components/chip/index.js +39 -39
  44. package/dist/components/chip/index.mjs +3 -3
  45. package/dist/components/drawer/drawer.mjs +2 -2
  46. package/dist/components/drawer/index.mjs +2 -2
  47. package/dist/components/fileUpload/fileUpload.js +39 -39
  48. package/dist/components/fileUpload/fileUpload.mjs +10 -10
  49. package/dist/components/fileUpload/index.js +39 -39
  50. package/dist/components/fileUpload/index.mjs +10 -10
  51. package/dist/components/icon/Icon.d.mts +4 -4
  52. package/dist/components/icon/Icon.d.ts +4 -4
  53. package/dist/components/icon/Icon.js +39 -39
  54. package/dist/components/icon/Icon.mjs +2 -2
  55. package/dist/components/icon/index.js +39 -39
  56. package/dist/components/icon/index.mjs +2 -2
  57. package/dist/components/icon/template.d.mts +1 -1
  58. package/dist/components/icon/template.d.ts +1 -1
  59. package/dist/components/icon/template.js +39 -39
  60. package/dist/components/icon/template.mjs +1 -1
  61. package/dist/components/input/index.js +39 -39
  62. package/dist/components/input/index.mjs +4 -4
  63. package/dist/components/input/input.js +39 -39
  64. package/dist/components/input/input.mjs +4 -4
  65. package/dist/components/list/index.js +39 -39
  66. package/dist/components/list/index.mjs +4 -4
  67. package/dist/components/list/listItem.js +39 -39
  68. package/dist/components/list/listItem.mjs +4 -4
  69. package/dist/components/modal/index.js +39 -39
  70. package/dist/components/modal/index.mjs +8 -8
  71. package/dist/components/modal/modal.js +39 -39
  72. package/dist/components/modal/modal.mjs +8 -8
  73. package/dist/components/pagination/index.js +39 -39
  74. package/dist/components/pagination/index.mjs +5 -5
  75. package/dist/components/pagination/pagination.js +39 -39
  76. package/dist/components/pagination/pagination.mjs +5 -5
  77. package/dist/components/picker/datePicker.d.mts +244 -0
  78. package/dist/components/picker/datePicker.d.ts +244 -0
  79. package/dist/components/picker/datePicker.js +5452 -0
  80. package/dist/components/picker/datePicker.mjs +17 -0
  81. package/dist/components/picker/index.d.mts +1 -0
  82. package/dist/components/picker/index.d.ts +1 -0
  83. package/dist/components/picker/index.js +526 -120
  84. package/dist/components/picker/index.mjs +11 -6
  85. package/dist/components/picker/timePicker.js +59 -53
  86. package/dist/components/picker/timePicker.mjs +5 -5
  87. package/dist/components/picker/utils.d.mts +4 -0
  88. package/dist/components/picker/utils.d.ts +4 -0
  89. package/dist/components/picker/utils.js +42 -0
  90. package/dist/components/picker/utils.mjs +10 -0
  91. package/dist/components/progress/index.mjs +2 -2
  92. package/dist/components/progress/progress.mjs +2 -2
  93. package/dist/components/radio/index.mjs +2 -2
  94. package/dist/components/radio/radio.mjs +2 -2
  95. package/dist/components/select/index.js +39 -39
  96. package/dist/components/select/index.mjs +4 -4
  97. package/dist/components/select/select.js +39 -39
  98. package/dist/components/select/select.mjs +4 -4
  99. package/dist/components/table/definition-table.mjs +2 -2
  100. package/dist/components/table/index.js +39 -39
  101. package/dist/components/table/index.mjs +10 -10
  102. package/dist/components/table/table-body.js +39 -39
  103. package/dist/components/table/table-body.mjs +7 -7
  104. package/dist/components/table/table-head.js +39 -39
  105. package/dist/components/table/table-head.mjs +7 -7
  106. package/dist/components/table/table.js +39 -39
  107. package/dist/components/table/table.mjs +7 -7
  108. package/dist/components/textarea/index.mjs +2 -2
  109. package/dist/components/textarea/textarea.mjs +2 -2
  110. package/dist/components/toast/index.js +39 -39
  111. package/dist/components/toast/index.mjs +5 -5
  112. package/dist/components/toast/toast.js +39 -39
  113. package/dist/components/toast/toast.mjs +4 -4
  114. package/dist/components/toast/use-toast.js +39 -39
  115. package/dist/components/toast/use-toast.mjs +5 -5
  116. package/dist/components/tree/index.js +39 -39
  117. package/dist/components/tree/index.mjs +4 -4
  118. package/dist/components/tree/tree.js +39 -39
  119. package/dist/components/tree/tree.mjs +4 -4
  120. package/dist/index.d.mts +2 -1
  121. package/dist/index.d.ts +2 -1
  122. package/dist/index.js +608 -200
  123. package/dist/index.mjs +47 -42
  124. package/package.json +1 -1
  125. package/dist/{chunk-3CRSSRCH.mjs → chunk-3HXNAVAN.mjs} +3 -3
  126. package/dist/{chunk-FF56E2UQ.mjs → chunk-AS2CSVBQ.mjs} +3 -3
  127. package/dist/{chunk-2CLPU5LR.mjs → chunk-AZ5SQYZE.mjs} +3 -3
  128. package/dist/{chunk-3M6VYLOU.mjs → chunk-KY3W7MBV.mjs} +3 -3
  129. package/dist/{chunk-S7Y7XUBL.mjs → chunk-NO6RDCY7.mjs} +3 -3
  130. package/dist/{chunk-AF4I7ZQS.mjs → chunk-NUELPELQ.mjs} +3 -3
  131. package/dist/{chunk-H6JGLPPF.mjs → chunk-TMI3QBKD.mjs} +3 -3
  132. package/dist/{chunk-Q364C3FI.mjs → chunk-XHSTRFLS.mjs} +3 -3
  133. /package/dist/{chunk-BG7VAVOX.mjs → chunk-ZG4WRZOU.mjs} +0 -0
@@ -0,0 +1,244 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+ import react__default, { ComponentProps } from 'react';
4
+ import { SlotsToClasses } from '../../utils/types.js';
5
+
6
+ interface DatePickerProps extends Omit<ComponentProps<"input">, "size" | "color" | "onChange">, VariantProps<typeof datePickerStyle> {
7
+ label?: string;
8
+ errorMessage?: string;
9
+ onChange?: (date: string) => void;
10
+ value?: string;
11
+ classNames?: SlotsToClasses<DatePickerSlots>;
12
+ placeholder?: string;
13
+ format?: "YYYY-MM-DD" | "MM/DD/YYYY" | "DD/MM/YYYY";
14
+ highlightWeekend?: boolean;
15
+ calendarColor?: "primary" | "secondary";
16
+ locale?: string;
17
+ daysOfWeek?: string[];
18
+ monthYearFormat?: (year: number, month: number) => string;
19
+ }
20
+ declare const DatePicker: react__default.ForwardRefExoticComponent<Omit<DatePickerProps, "ref"> & react__default.RefAttributes<HTMLInputElement>>;
21
+
22
+ declare const datePickerStyle: tailwind_variants.TVReturnType<{
23
+ color: {
24
+ primary: {
25
+ icon: string[];
26
+ };
27
+ secondary: {
28
+ icon: string[];
29
+ };
30
+ };
31
+ size: {
32
+ sm: {
33
+ base: string[];
34
+ label: string[];
35
+ wrapper: string[];
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
+ };
68
+ };
69
+ full: {
70
+ true: {
71
+ base: string[];
72
+ wrapper: string[];
73
+ inputWrapper: string[];
74
+ };
75
+ };
76
+ disabled: {
77
+ true: {
78
+ base: string[];
79
+ label: string[];
80
+ inputWrapper: string[];
81
+ input: string[];
82
+ icon: string[];
83
+ errorMessage: string[];
84
+ };
85
+ };
86
+ }, {
87
+ base: string[];
88
+ label: string[];
89
+ wrapper: string[];
90
+ inputWrapper: string[];
91
+ input: string[];
92
+ icon: string[];
93
+ optionsWrapper: string[];
94
+ errorMessage: string[];
95
+ }, undefined, {
96
+ color: {
97
+ primary: {
98
+ icon: string[];
99
+ };
100
+ secondary: {
101
+ icon: string[];
102
+ };
103
+ };
104
+ size: {
105
+ sm: {
106
+ base: string[];
107
+ label: string[];
108
+ wrapper: string[];
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
+ };
141
+ };
142
+ full: {
143
+ true: {
144
+ base: string[];
145
+ wrapper: string[];
146
+ inputWrapper: string[];
147
+ };
148
+ };
149
+ disabled: {
150
+ true: {
151
+ base: string[];
152
+ label: string[];
153
+ inputWrapper: string[];
154
+ input: string[];
155
+ icon: string[];
156
+ errorMessage: string[];
157
+ };
158
+ };
159
+ }, {
160
+ base: string[];
161
+ label: string[];
162
+ wrapper: string[];
163
+ inputWrapper: string[];
164
+ input: string[];
165
+ icon: string[];
166
+ optionsWrapper: string[];
167
+ errorMessage: string[];
168
+ }, tailwind_variants.TVReturnType<{
169
+ color: {
170
+ primary: {
171
+ icon: string[];
172
+ };
173
+ secondary: {
174
+ icon: string[];
175
+ };
176
+ };
177
+ size: {
178
+ sm: {
179
+ base: string[];
180
+ label: string[];
181
+ wrapper: string[];
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
+ };
214
+ };
215
+ full: {
216
+ true: {
217
+ base: string[];
218
+ wrapper: string[];
219
+ inputWrapper: string[];
220
+ };
221
+ };
222
+ disabled: {
223
+ true: {
224
+ base: string[];
225
+ label: string[];
226
+ inputWrapper: string[];
227
+ input: string[];
228
+ icon: string[];
229
+ errorMessage: string[];
230
+ };
231
+ };
232
+ }, {
233
+ base: string[];
234
+ label: string[];
235
+ wrapper: string[];
236
+ inputWrapper: string[];
237
+ input: string[];
238
+ icon: string[];
239
+ optionsWrapper: string[];
240
+ errorMessage: string[];
241
+ }, undefined, unknown, unknown, undefined>>;
242
+ type DatePickerSlots = keyof ReturnType<typeof datePickerStyle>;
243
+
244
+ export { type DatePickerProps, type DatePickerSlots, datePickerStyle, DatePicker as default };