@deepnoid/ui 0.1.120 → 0.1.121

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 (108) hide show
  1. package/.turbo/turbo-build.log +178 -178
  2. package/dist/{chunk-IJS5AWD2.mjs → chunk-27K5BTEL.mjs} +1 -1
  3. package/dist/{chunk-EXUHHLSA.mjs → chunk-2IOTRPCS.mjs} +1 -1
  4. package/dist/{chunk-CMMVXFHD.mjs → chunk-3F6OF2QS.mjs} +1 -1
  5. package/dist/{chunk-MIVGSJFF.mjs → chunk-3YT4YJNJ.mjs} +189 -94
  6. package/dist/{chunk-YLHOBT6S.mjs → chunk-5MINOKNM.mjs} +1 -1
  7. package/dist/{chunk-NV5Z6ZUO.mjs → chunk-6JLHCQH7.mjs} +1 -1
  8. package/dist/{chunk-YUS5SELP.mjs → chunk-AT6GNVOQ.mjs} +1 -1
  9. package/dist/{chunk-CTWYY7Z2.mjs → chunk-BG4DIGKH.mjs} +14 -8
  10. package/dist/{chunk-3M6VYLOU.mjs → chunk-D6MHTE5L.mjs} +6 -6
  11. package/dist/{chunk-NMZFSNPE.mjs → chunk-DD6HAIW3.mjs} +1 -1
  12. package/dist/{chunk-OBMO6LRA.mjs → chunk-DLNGJVFS.mjs} +1 -1
  13. package/dist/{chunk-BBQNVDIA.mjs → chunk-HX64P3XQ.mjs} +2 -2
  14. package/dist/{chunk-KCOS2KC6.mjs → chunk-LOYDOCOR.mjs} +2 -2
  15. package/dist/{chunk-Q5634WTM.mjs → chunk-RVFSQFWS.mjs} +3 -3
  16. package/dist/{chunk-MHZ4BO5M.mjs → chunk-UEJJBAHG.mjs} +2 -2
  17. package/dist/{chunk-27WK5334.mjs → chunk-VEBJS4SC.mjs} +2 -2
  18. package/dist/{chunk-RJPBLIEF.mjs → chunk-VOKDAIUY.mjs} +1 -1
  19. package/dist/{chunk-NITERGU5.mjs → chunk-WB7Z54CF.mjs} +4 -4
  20. package/dist/{chunk-SS6EG5JO.mjs → chunk-XOUAUSP4.mjs} +1 -1
  21. package/dist/{chunk-EM2NIGNZ.mjs → chunk-YZ57UYAS.mjs} +1 -1
  22. package/dist/components/avatar/avatar.js +14 -8
  23. package/dist/components/avatar/avatar.mjs +2 -2
  24. package/dist/components/avatar/index.js +14 -8
  25. package/dist/components/avatar/index.mjs +2 -2
  26. package/dist/components/breadcrumb/breadcrumb.js +14 -8
  27. package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
  28. package/dist/components/breadcrumb/index.js +14 -8
  29. package/dist/components/breadcrumb/index.mjs +5 -5
  30. package/dist/components/button/button.js +14 -8
  31. package/dist/components/button/button.mjs +3 -3
  32. package/dist/components/button/icon-button.js +14 -8
  33. package/dist/components/button/icon-button.mjs +3 -3
  34. package/dist/components/button/index.js +14 -8
  35. package/dist/components/button/index.mjs +4 -4
  36. package/dist/components/chip/chip.js +14 -8
  37. package/dist/components/chip/chip.mjs +3 -3
  38. package/dist/components/chip/index.js +14 -8
  39. package/dist/components/chip/index.mjs +3 -3
  40. package/dist/components/fileUpload/fileUpload.js +14 -8
  41. package/dist/components/fileUpload/fileUpload.mjs +6 -6
  42. package/dist/components/fileUpload/index.js +14 -8
  43. package/dist/components/fileUpload/index.mjs +6 -6
  44. package/dist/components/icon/Icon.d.mts +1 -1
  45. package/dist/components/icon/Icon.d.ts +1 -1
  46. package/dist/components/icon/Icon.js +14 -8
  47. package/dist/components/icon/Icon.mjs +2 -2
  48. package/dist/components/icon/index.js +14 -8
  49. package/dist/components/icon/index.mjs +2 -2
  50. package/dist/components/icon/template.d.mts +1 -1
  51. package/dist/components/icon/template.d.ts +1 -1
  52. package/dist/components/icon/template.js +14 -8
  53. package/dist/components/icon/template.mjs +1 -1
  54. package/dist/components/input/index.js +14 -8
  55. package/dist/components/input/index.mjs +3 -3
  56. package/dist/components/input/input.js +14 -8
  57. package/dist/components/input/input.mjs +3 -3
  58. package/dist/components/list/index.js +14 -8
  59. package/dist/components/list/index.mjs +4 -4
  60. package/dist/components/list/listItem.js +14 -8
  61. package/dist/components/list/listItem.mjs +4 -4
  62. package/dist/components/modal/index.js +14 -8
  63. package/dist/components/modal/index.mjs +5 -5
  64. package/dist/components/modal/modal.js +14 -8
  65. package/dist/components/modal/modal.mjs +5 -5
  66. package/dist/components/pagination/index.js +14 -8
  67. package/dist/components/pagination/index.mjs +4 -4
  68. package/dist/components/pagination/pagination.js +14 -8
  69. package/dist/components/pagination/pagination.mjs +4 -4
  70. package/dist/components/picker/datePicker.js +14 -8
  71. package/dist/components/picker/datePicker.mjs +6 -6
  72. package/dist/components/picker/index.js +202 -101
  73. package/dist/components/picker/index.mjs +8 -8
  74. package/dist/components/picker/timePicker.js +202 -101
  75. package/dist/components/picker/timePicker.mjs +4 -4
  76. package/dist/components/select/index.d.mts +3 -0
  77. package/dist/components/select/index.d.ts +3 -0
  78. package/dist/components/select/index.js +202 -101
  79. package/dist/components/select/index.mjs +3 -3
  80. package/dist/components/select/select.d.mts +79 -9
  81. package/dist/components/select/select.d.ts +79 -9
  82. package/dist/components/select/select.js +202 -101
  83. package/dist/components/select/select.mjs +3 -3
  84. package/dist/components/table/definition-table.d.mts +2 -2
  85. package/dist/components/table/definition-table.d.ts +2 -2
  86. package/dist/components/table/definition-table.js +6 -6
  87. package/dist/components/table/definition-table.mjs +1 -1
  88. package/dist/components/table/index.js +20 -14
  89. package/dist/components/table/index.mjs +6 -6
  90. package/dist/components/table/table-body.js +14 -8
  91. package/dist/components/table/table-body.mjs +5 -5
  92. package/dist/components/table/table-head.js +14 -8
  93. package/dist/components/table/table-head.mjs +5 -5
  94. package/dist/components/table/table.js +14 -8
  95. package/dist/components/table/table.mjs +5 -5
  96. package/dist/components/toast/index.js +14 -8
  97. package/dist/components/toast/index.mjs +4 -4
  98. package/dist/components/toast/toast.js +14 -8
  99. package/dist/components/toast/toast.mjs +3 -3
  100. package/dist/components/toast/use-toast.js +14 -8
  101. package/dist/components/toast/use-toast.mjs +4 -4
  102. package/dist/components/tree/index.js +14 -8
  103. package/dist/components/tree/index.mjs +3 -3
  104. package/dist/components/tree/tree.js +14 -8
  105. package/dist/components/tree/tree.mjs +3 -3
  106. package/dist/index.js +208 -107
  107. package/dist/index.mjs +30 -30
  108. package/package.json +1 -1
@@ -3,11 +3,15 @@ import { VariantProps } from 'tailwind-variants';
3
3
  import * as react from 'react';
4
4
  import { ComponentPropsWithRef } from 'react';
5
5
  import { SlotsToClasses } from '../../utils/types.mjs';
6
+ import { IconName } from '../icon/Icon.mjs';
7
+ import 'react/jsx-runtime';
8
+ import '../icon/template.mjs';
6
9
 
7
10
  interface SelectOption {
8
11
  label: string;
9
12
  value: string | number;
10
13
  }
14
+ type OptionIconPlacement = "start" | "end";
11
15
  interface Props extends Omit<ComponentPropsWithRef<"input">, "onChange" | keyof SelectVariantProps> {
12
16
  options: SelectOption[];
13
17
  value?: string | number;
@@ -18,20 +22,40 @@ interface Props extends Omit<ComponentPropsWithRef<"input">, "onChange" | keyof
18
22
  classNames?: SlotsToClasses<SelectSlots>;
19
23
  onChange?: (options: SelectOption[]) => void;
20
24
  multiple?: boolean;
25
+ dropdownIconName?: IconName;
26
+ optionIconName?: IconName;
27
+ optionIconPlacement?: OptionIconPlacement;
21
28
  }
22
29
  type SelectProps = Props & SelectVariantProps;
23
30
  declare const Select: react.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
24
31
 
25
32
  declare const select: tailwind_variants.TVReturnType<{
33
+ variant: {
34
+ solid: {
35
+ selectWrapper: string[];
36
+ option: never[];
37
+ readonlyWrapper: string[];
38
+ };
39
+ outline: {
40
+ selectWrapper: string[];
41
+ option: never[];
42
+ readonlyWrapper: string[];
43
+ };
44
+ underline: {
45
+ selectWrapper: string[];
46
+ option: string[];
47
+ readonlyWrapper: string[];
48
+ };
49
+ };
26
50
  color: {
27
51
  primary: {
28
52
  selectWrapper: string[];
29
- option: string[];
53
+ option: never[];
30
54
  helperMessage: string[];
31
55
  };
32
56
  secondary: {
33
57
  selectWrapper: string[];
34
- option: string[];
58
+ option: never[];
35
59
  helperMessage: string[];
36
60
  };
37
61
  };
@@ -42,6 +66,7 @@ declare const select: tailwind_variants.TVReturnType<{
42
66
  wrapper: string[];
43
67
  selectWrapper: string[];
44
68
  select: string[];
69
+ optionsWrapper: string[];
45
70
  option: string[];
46
71
  helperMessage: string[];
47
72
  errorMessage: string[];
@@ -52,6 +77,7 @@ declare const select: tailwind_variants.TVReturnType<{
52
77
  wrapper: string[];
53
78
  selectWrapper: string[];
54
79
  select: string[];
80
+ optionsWrapper: string[];
55
81
  option: string[];
56
82
  helperMessage: string[];
57
83
  errorMessage: string[];
@@ -62,6 +88,7 @@ declare const select: tailwind_variants.TVReturnType<{
62
88
  wrapper: string[];
63
89
  selectWrapper: string[];
64
90
  select: string[];
91
+ optionsWrapper: string[];
65
92
  option: string[];
66
93
  helperMessage: string[];
67
94
  errorMessage: string[];
@@ -72,7 +99,8 @@ declare const select: tailwind_variants.TVReturnType<{
72
99
  wrapper: string[];
73
100
  selectWrapper: string[];
74
101
  select: string[];
75
- option: string[];
102
+ optionsWrapper: string[];
103
+ option: (string | undefined)[];
76
104
  helperMessage: string[];
77
105
  errorMessage: string[];
78
106
  };
@@ -115,15 +143,32 @@ declare const select: tailwind_variants.TVReturnType<{
115
143
  errorMessage: string[];
116
144
  readonly: string[];
117
145
  }, undefined, {
146
+ variant: {
147
+ solid: {
148
+ selectWrapper: string[];
149
+ option: never[];
150
+ readonlyWrapper: string[];
151
+ };
152
+ outline: {
153
+ selectWrapper: string[];
154
+ option: never[];
155
+ readonlyWrapper: string[];
156
+ };
157
+ underline: {
158
+ selectWrapper: string[];
159
+ option: string[];
160
+ readonlyWrapper: string[];
161
+ };
162
+ };
118
163
  color: {
119
164
  primary: {
120
165
  selectWrapper: string[];
121
- option: string[];
166
+ option: never[];
122
167
  helperMessage: string[];
123
168
  };
124
169
  secondary: {
125
170
  selectWrapper: string[];
126
- option: string[];
171
+ option: never[];
127
172
  helperMessage: string[];
128
173
  };
129
174
  };
@@ -134,6 +179,7 @@ declare const select: tailwind_variants.TVReturnType<{
134
179
  wrapper: string[];
135
180
  selectWrapper: string[];
136
181
  select: string[];
182
+ optionsWrapper: string[];
137
183
  option: string[];
138
184
  helperMessage: string[];
139
185
  errorMessage: string[];
@@ -144,6 +190,7 @@ declare const select: tailwind_variants.TVReturnType<{
144
190
  wrapper: string[];
145
191
  selectWrapper: string[];
146
192
  select: string[];
193
+ optionsWrapper: string[];
147
194
  option: string[];
148
195
  helperMessage: string[];
149
196
  errorMessage: string[];
@@ -154,6 +201,7 @@ declare const select: tailwind_variants.TVReturnType<{
154
201
  wrapper: string[];
155
202
  selectWrapper: string[];
156
203
  select: string[];
204
+ optionsWrapper: string[];
157
205
  option: string[];
158
206
  helperMessage: string[];
159
207
  errorMessage: string[];
@@ -164,7 +212,8 @@ declare const select: tailwind_variants.TVReturnType<{
164
212
  wrapper: string[];
165
213
  selectWrapper: string[];
166
214
  select: string[];
167
- option: string[];
215
+ optionsWrapper: string[];
216
+ option: (string | undefined)[];
168
217
  helperMessage: string[];
169
218
  errorMessage: string[];
170
219
  };
@@ -207,15 +256,32 @@ declare const select: tailwind_variants.TVReturnType<{
207
256
  errorMessage: string[];
208
257
  readonly: string[];
209
258
  }, tailwind_variants.TVReturnType<{
259
+ variant: {
260
+ solid: {
261
+ selectWrapper: string[];
262
+ option: never[];
263
+ readonlyWrapper: string[];
264
+ };
265
+ outline: {
266
+ selectWrapper: string[];
267
+ option: never[];
268
+ readonlyWrapper: string[];
269
+ };
270
+ underline: {
271
+ selectWrapper: string[];
272
+ option: string[];
273
+ readonlyWrapper: string[];
274
+ };
275
+ };
210
276
  color: {
211
277
  primary: {
212
278
  selectWrapper: string[];
213
- option: string[];
279
+ option: never[];
214
280
  helperMessage: string[];
215
281
  };
216
282
  secondary: {
217
283
  selectWrapper: string[];
218
- option: string[];
284
+ option: never[];
219
285
  helperMessage: string[];
220
286
  };
221
287
  };
@@ -226,6 +292,7 @@ declare const select: tailwind_variants.TVReturnType<{
226
292
  wrapper: string[];
227
293
  selectWrapper: string[];
228
294
  select: string[];
295
+ optionsWrapper: string[];
229
296
  option: string[];
230
297
  helperMessage: string[];
231
298
  errorMessage: string[];
@@ -236,6 +303,7 @@ declare const select: tailwind_variants.TVReturnType<{
236
303
  wrapper: string[];
237
304
  selectWrapper: string[];
238
305
  select: string[];
306
+ optionsWrapper: string[];
239
307
  option: string[];
240
308
  helperMessage: string[];
241
309
  errorMessage: string[];
@@ -246,6 +314,7 @@ declare const select: tailwind_variants.TVReturnType<{
246
314
  wrapper: string[];
247
315
  selectWrapper: string[];
248
316
  select: string[];
317
+ optionsWrapper: string[];
249
318
  option: string[];
250
319
  helperMessage: string[];
251
320
  errorMessage: string[];
@@ -256,7 +325,8 @@ declare const select: tailwind_variants.TVReturnType<{
256
325
  wrapper: string[];
257
326
  selectWrapper: string[];
258
327
  select: string[];
259
- option: string[];
328
+ optionsWrapper: string[];
329
+ option: (string | undefined)[];
260
330
  helperMessage: string[];
261
331
  errorMessage: string[];
262
332
  };
@@ -3,11 +3,15 @@ import { VariantProps } from 'tailwind-variants';
3
3
  import * as react from 'react';
4
4
  import { ComponentPropsWithRef } from 'react';
5
5
  import { SlotsToClasses } from '../../utils/types.js';
6
+ import { IconName } from '../icon/Icon.js';
7
+ import 'react/jsx-runtime';
8
+ import '../icon/template.js';
6
9
 
7
10
  interface SelectOption {
8
11
  label: string;
9
12
  value: string | number;
10
13
  }
14
+ type OptionIconPlacement = "start" | "end";
11
15
  interface Props extends Omit<ComponentPropsWithRef<"input">, "onChange" | keyof SelectVariantProps> {
12
16
  options: SelectOption[];
13
17
  value?: string | number;
@@ -18,20 +22,40 @@ interface Props extends Omit<ComponentPropsWithRef<"input">, "onChange" | keyof
18
22
  classNames?: SlotsToClasses<SelectSlots>;
19
23
  onChange?: (options: SelectOption[]) => void;
20
24
  multiple?: boolean;
25
+ dropdownIconName?: IconName;
26
+ optionIconName?: IconName;
27
+ optionIconPlacement?: OptionIconPlacement;
21
28
  }
22
29
  type SelectProps = Props & SelectVariantProps;
23
30
  declare const Select: react.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
24
31
 
25
32
  declare const select: tailwind_variants.TVReturnType<{
33
+ variant: {
34
+ solid: {
35
+ selectWrapper: string[];
36
+ option: never[];
37
+ readonlyWrapper: string[];
38
+ };
39
+ outline: {
40
+ selectWrapper: string[];
41
+ option: never[];
42
+ readonlyWrapper: string[];
43
+ };
44
+ underline: {
45
+ selectWrapper: string[];
46
+ option: string[];
47
+ readonlyWrapper: string[];
48
+ };
49
+ };
26
50
  color: {
27
51
  primary: {
28
52
  selectWrapper: string[];
29
- option: string[];
53
+ option: never[];
30
54
  helperMessage: string[];
31
55
  };
32
56
  secondary: {
33
57
  selectWrapper: string[];
34
- option: string[];
58
+ option: never[];
35
59
  helperMessage: string[];
36
60
  };
37
61
  };
@@ -42,6 +66,7 @@ declare const select: tailwind_variants.TVReturnType<{
42
66
  wrapper: string[];
43
67
  selectWrapper: string[];
44
68
  select: string[];
69
+ optionsWrapper: string[];
45
70
  option: string[];
46
71
  helperMessage: string[];
47
72
  errorMessage: string[];
@@ -52,6 +77,7 @@ declare const select: tailwind_variants.TVReturnType<{
52
77
  wrapper: string[];
53
78
  selectWrapper: string[];
54
79
  select: string[];
80
+ optionsWrapper: string[];
55
81
  option: string[];
56
82
  helperMessage: string[];
57
83
  errorMessage: string[];
@@ -62,6 +88,7 @@ declare const select: tailwind_variants.TVReturnType<{
62
88
  wrapper: string[];
63
89
  selectWrapper: string[];
64
90
  select: string[];
91
+ optionsWrapper: string[];
65
92
  option: string[];
66
93
  helperMessage: string[];
67
94
  errorMessage: string[];
@@ -72,7 +99,8 @@ declare const select: tailwind_variants.TVReturnType<{
72
99
  wrapper: string[];
73
100
  selectWrapper: string[];
74
101
  select: string[];
75
- option: string[];
102
+ optionsWrapper: string[];
103
+ option: (string | undefined)[];
76
104
  helperMessage: string[];
77
105
  errorMessage: string[];
78
106
  };
@@ -115,15 +143,32 @@ declare const select: tailwind_variants.TVReturnType<{
115
143
  errorMessage: string[];
116
144
  readonly: string[];
117
145
  }, undefined, {
146
+ variant: {
147
+ solid: {
148
+ selectWrapper: string[];
149
+ option: never[];
150
+ readonlyWrapper: string[];
151
+ };
152
+ outline: {
153
+ selectWrapper: string[];
154
+ option: never[];
155
+ readonlyWrapper: string[];
156
+ };
157
+ underline: {
158
+ selectWrapper: string[];
159
+ option: string[];
160
+ readonlyWrapper: string[];
161
+ };
162
+ };
118
163
  color: {
119
164
  primary: {
120
165
  selectWrapper: string[];
121
- option: string[];
166
+ option: never[];
122
167
  helperMessage: string[];
123
168
  };
124
169
  secondary: {
125
170
  selectWrapper: string[];
126
- option: string[];
171
+ option: never[];
127
172
  helperMessage: string[];
128
173
  };
129
174
  };
@@ -134,6 +179,7 @@ declare const select: tailwind_variants.TVReturnType<{
134
179
  wrapper: string[];
135
180
  selectWrapper: string[];
136
181
  select: string[];
182
+ optionsWrapper: string[];
137
183
  option: string[];
138
184
  helperMessage: string[];
139
185
  errorMessage: string[];
@@ -144,6 +190,7 @@ declare const select: tailwind_variants.TVReturnType<{
144
190
  wrapper: string[];
145
191
  selectWrapper: string[];
146
192
  select: string[];
193
+ optionsWrapper: string[];
147
194
  option: string[];
148
195
  helperMessage: string[];
149
196
  errorMessage: string[];
@@ -154,6 +201,7 @@ declare const select: tailwind_variants.TVReturnType<{
154
201
  wrapper: string[];
155
202
  selectWrapper: string[];
156
203
  select: string[];
204
+ optionsWrapper: string[];
157
205
  option: string[];
158
206
  helperMessage: string[];
159
207
  errorMessage: string[];
@@ -164,7 +212,8 @@ declare const select: tailwind_variants.TVReturnType<{
164
212
  wrapper: string[];
165
213
  selectWrapper: string[];
166
214
  select: string[];
167
- option: string[];
215
+ optionsWrapper: string[];
216
+ option: (string | undefined)[];
168
217
  helperMessage: string[];
169
218
  errorMessage: string[];
170
219
  };
@@ -207,15 +256,32 @@ declare const select: tailwind_variants.TVReturnType<{
207
256
  errorMessage: string[];
208
257
  readonly: string[];
209
258
  }, tailwind_variants.TVReturnType<{
259
+ variant: {
260
+ solid: {
261
+ selectWrapper: string[];
262
+ option: never[];
263
+ readonlyWrapper: string[];
264
+ };
265
+ outline: {
266
+ selectWrapper: string[];
267
+ option: never[];
268
+ readonlyWrapper: string[];
269
+ };
270
+ underline: {
271
+ selectWrapper: string[];
272
+ option: string[];
273
+ readonlyWrapper: string[];
274
+ };
275
+ };
210
276
  color: {
211
277
  primary: {
212
278
  selectWrapper: string[];
213
- option: string[];
279
+ option: never[];
214
280
  helperMessage: string[];
215
281
  };
216
282
  secondary: {
217
283
  selectWrapper: string[];
218
- option: string[];
284
+ option: never[];
219
285
  helperMessage: string[];
220
286
  };
221
287
  };
@@ -226,6 +292,7 @@ declare const select: tailwind_variants.TVReturnType<{
226
292
  wrapper: string[];
227
293
  selectWrapper: string[];
228
294
  select: string[];
295
+ optionsWrapper: string[];
229
296
  option: string[];
230
297
  helperMessage: string[];
231
298
  errorMessage: string[];
@@ -236,6 +303,7 @@ declare const select: tailwind_variants.TVReturnType<{
236
303
  wrapper: string[];
237
304
  selectWrapper: string[];
238
305
  select: string[];
306
+ optionsWrapper: string[];
239
307
  option: string[];
240
308
  helperMessage: string[];
241
309
  errorMessage: string[];
@@ -246,6 +314,7 @@ declare const select: tailwind_variants.TVReturnType<{
246
314
  wrapper: string[];
247
315
  selectWrapper: string[];
248
316
  select: string[];
317
+ optionsWrapper: string[];
249
318
  option: string[];
250
319
  helperMessage: string[];
251
320
  errorMessage: string[];
@@ -256,7 +325,8 @@ declare const select: tailwind_variants.TVReturnType<{
256
325
  wrapper: string[];
257
326
  selectWrapper: string[];
258
327
  select: string[];
259
- option: string[];
328
+ optionsWrapper: string[];
329
+ option: (string | undefined)[];
260
330
  helperMessage: string[];
261
331
  errorMessage: string[];
262
332
  };