@uzum-tech/ui 1.12.22 → 1.13.0

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 (83) hide show
  1. package/dist/index.js +2749 -506
  2. package/dist/index.prod.js +4 -4
  3. package/es/_styles/common/dark.js +1 -1
  4. package/es/_styles/common/light.d.ts +1 -0
  5. package/es/_styles/common/light.js +1 -1
  6. package/es/chat/src/ChatMessages.js +6 -1
  7. package/es/chat/src/styles/index.cssr.js +5 -1
  8. package/es/components.d.ts +1 -0
  9. package/es/components.js +1 -0
  10. package/es/config-provider/src/internal-interface.d.ts +3 -0
  11. package/es/date-picker-v2/index.d.ts +5 -0
  12. package/es/date-picker-v2/index.js +2 -0
  13. package/es/date-picker-v2/src/DatePickerV2.d.ts +4765 -0
  14. package/es/date-picker-v2/src/DatePickerV2.js +750 -0
  15. package/es/date-picker-v2/src/composables/useCalendarScroll.d.ts +1133 -0
  16. package/es/date-picker-v2/src/composables/useCalendarScroll.js +61 -0
  17. package/es/date-picker-v2/src/config.d.ts +14 -0
  18. package/es/date-picker-v2/src/config.js +34 -0
  19. package/es/date-picker-v2/src/interface.d.ts +42 -0
  20. package/es/date-picker-v2/src/interface.js +1 -0
  21. package/es/date-picker-v2/src/panel/CalendarPanel.d.ts +1222 -0
  22. package/es/date-picker-v2/src/panel/CalendarPanel.js +186 -0
  23. package/es/date-picker-v2/src/panel/CalendarRangePanel.d.ts +1246 -0
  24. package/es/date-picker-v2/src/panel/CalendarRangePanel.js +205 -0
  25. package/es/date-picker-v2/src/styles/index.cssr.d.ts +2 -0
  26. package/es/date-picker-v2/src/styles/index.cssr.js +190 -0
  27. package/es/date-picker-v2/src/utils.d.ts +12 -0
  28. package/es/date-picker-v2/src/utils.js +92 -0
  29. package/es/date-picker-v2/styles/dark.d.ts +447 -0
  30. package/es/date-picker-v2/styles/dark.js +19 -0
  31. package/es/date-picker-v2/styles/index.d.ts +3 -0
  32. package/es/date-picker-v2/styles/index.js +2 -0
  33. package/es/date-picker-v2/styles/light.d.ts +477 -0
  34. package/es/date-picker-v2/styles/light.js +56 -0
  35. package/es/dialog/src/DialogProvider.d.ts +2 -0
  36. package/es/locales/common/enUS.js +1 -1
  37. package/es/theme-editor/src/ThemeEditor.d.ts +1 -0
  38. package/es/themes/dark.js +2 -0
  39. package/es/themes/light.js +2 -0
  40. package/es/version.d.ts +1 -1
  41. package/es/version.js +1 -1
  42. package/lib/_styles/common/dark.js +1 -1
  43. package/lib/_styles/common/light.d.ts +1 -0
  44. package/lib/_styles/common/light.js +1 -1
  45. package/lib/chat/src/ChatMessages.js +6 -1
  46. package/lib/chat/src/styles/index.cssr.js +5 -1
  47. package/lib/components.d.ts +1 -0
  48. package/lib/components.js +1 -0
  49. package/lib/config-provider/src/internal-interface.d.ts +3 -0
  50. package/lib/date-picker-v2/index.d.ts +5 -0
  51. package/lib/date-picker-v2/index.js +11 -0
  52. package/lib/date-picker-v2/src/DatePickerV2.d.ts +4765 -0
  53. package/lib/date-picker-v2/src/DatePickerV2.js +756 -0
  54. package/lib/date-picker-v2/src/composables/useCalendarScroll.d.ts +1133 -0
  55. package/lib/date-picker-v2/src/composables/useCalendarScroll.js +64 -0
  56. package/lib/date-picker-v2/src/config.d.ts +14 -0
  57. package/lib/date-picker-v2/src/config.js +37 -0
  58. package/lib/date-picker-v2/src/interface.d.ts +42 -0
  59. package/lib/date-picker-v2/src/interface.js +4 -0
  60. package/lib/date-picker-v2/src/panel/CalendarPanel.d.ts +1222 -0
  61. package/lib/date-picker-v2/src/panel/CalendarPanel.js +188 -0
  62. package/lib/date-picker-v2/src/panel/CalendarRangePanel.d.ts +1246 -0
  63. package/lib/date-picker-v2/src/panel/CalendarRangePanel.js +207 -0
  64. package/lib/date-picker-v2/src/styles/index.cssr.d.ts +2 -0
  65. package/lib/date-picker-v2/src/styles/index.cssr.js +195 -0
  66. package/lib/date-picker-v2/src/utils.d.ts +12 -0
  67. package/lib/date-picker-v2/src/utils.js +101 -0
  68. package/lib/date-picker-v2/styles/dark.d.ts +447 -0
  69. package/lib/date-picker-v2/styles/dark.js +21 -0
  70. package/lib/date-picker-v2/styles/index.d.ts +3 -0
  71. package/lib/date-picker-v2/styles/index.js +10 -0
  72. package/lib/date-picker-v2/styles/light.d.ts +477 -0
  73. package/lib/date-picker-v2/styles/light.js +60 -0
  74. package/lib/dialog/src/DialogProvider.d.ts +2 -0
  75. package/lib/locales/common/enUS.js +1 -1
  76. package/lib/theme-editor/src/ThemeEditor.d.ts +1 -0
  77. package/lib/themes/dark.js +2 -0
  78. package/lib/themes/light.js +2 -0
  79. package/lib/version.d.ts +1 -1
  80. package/lib/version.js +1 -1
  81. package/package.json +1 -1
  82. package/volar.d.ts +1 -0
  83. package/web-types.json +146 -1
@@ -0,0 +1,477 @@
1
+ import { ThemeCommonVars } from '../../_styles/common';
2
+ export declare const self: (vars: ThemeCommonVars) => {
3
+ panelColor: string;
4
+ panelBoxShadow: string;
5
+ panelBorderRadius: string;
6
+ panelTextColor: string;
7
+ dividerColor: string;
8
+ itemTextColor: string;
9
+ itemTextColorOtherMonth: string;
10
+ itemTextColorDisabled: string;
11
+ itemColorHover: string;
12
+ itemColorActive: string;
13
+ itemColorIncluded: string;
14
+ itemTextColorActive: string;
15
+ itemBorderRadius: string;
16
+ iconColor: string;
17
+ iconColorDisabled: string;
18
+ weekdayTextColor: string;
19
+ weekendTextColor: string;
20
+ monthItemHeight: string;
21
+ monthItemColorHover: string;
22
+ monthItemColorActive: string;
23
+ monthItemTextColorActive: string;
24
+ yearTriggerColor: string;
25
+ yearTriggerColorHover: string;
26
+ yearTriggerTextColor: string;
27
+ currentDateIndicatorColor: string;
28
+ };
29
+ export type DatePickerV2ThemeVars = ReturnType<typeof self>;
30
+ declare const datePickerV2Light: import("../../_mixins").Theme<"DatePickerV2", {
31
+ panelColor: string;
32
+ panelBoxShadow: string;
33
+ panelBorderRadius: string;
34
+ panelTextColor: string;
35
+ dividerColor: string;
36
+ itemTextColor: string;
37
+ itemTextColorOtherMonth: string;
38
+ itemTextColorDisabled: string;
39
+ itemColorHover: string;
40
+ itemColorActive: string;
41
+ itemColorIncluded: string;
42
+ itemTextColorActive: string;
43
+ itemBorderRadius: string;
44
+ iconColor: string;
45
+ iconColorDisabled: string;
46
+ weekdayTextColor: string;
47
+ weekendTextColor: string;
48
+ monthItemHeight: string;
49
+ monthItemColorHover: string;
50
+ monthItemColorActive: string;
51
+ monthItemTextColorActive: string;
52
+ yearTriggerColor: string;
53
+ yearTriggerColorHover: string;
54
+ yearTriggerTextColor: string;
55
+ currentDateIndicatorColor: string;
56
+ }, {
57
+ Button: import("../../_mixins").Theme<"Button", {
58
+ heightTiny: string;
59
+ heightSmall: string;
60
+ heightMedium: string;
61
+ heightLarge: string;
62
+ borderRadiusTiny: string;
63
+ borderRadiusSmall: string;
64
+ borderRadiusMedium: string;
65
+ borderRadiusLarge: string;
66
+ fontSizeTiny: string;
67
+ fontSizeSmall: string;
68
+ fontSizeMedium: string;
69
+ fontSizeLarge: string;
70
+ opacityDisabled: string;
71
+ colorOpacitySecondary: string;
72
+ colorOpacitySecondaryHover: string;
73
+ colorOpacitySecondaryPressed: string;
74
+ colorOpacitySecondaryFocus: string;
75
+ colorSecondary: string;
76
+ colorSecondaryHover: string;
77
+ colorSecondaryPressed: string;
78
+ colorSecondaryFocus: string;
79
+ colorSecondaryDisabled: string;
80
+ textColorSecondaryDisabled: string;
81
+ waveColorSecondary: string;
82
+ colorTertiary: string;
83
+ colorTertiaryHover: string;
84
+ colorTertiaryPressed: string;
85
+ colorTertiaryFocus: string;
86
+ colorTertiaryDisalbed: string;
87
+ waveColorTertiary: string;
88
+ textColorTextTertiary: string;
89
+ rippleColorTertiary: string;
90
+ colorQuaternary: string;
91
+ colorQuaternaryHover: string;
92
+ colorQuaternaryPressed: string;
93
+ colorQuaternaryFocus: string;
94
+ rippleColorQuaternary: string;
95
+ waveColorQuaternary: string;
96
+ color: string;
97
+ colorHover: string;
98
+ colorPressed: string;
99
+ colorFocus: string;
100
+ colorDisabled: string;
101
+ textColor: string;
102
+ textTertiary: string;
103
+ textColorTertiary: string;
104
+ textColorHover: string;
105
+ textColorPressed: string;
106
+ textColorFocus: string;
107
+ textColorDisabled: string;
108
+ textColorText: string;
109
+ textColorTextHover: string;
110
+ textColorTextPressed: string;
111
+ textColorTextFocus: string;
112
+ textColorTextDisabled: string;
113
+ textColorGhost: string;
114
+ textColorGhostHover: string;
115
+ textColorGhostPressed: string;
116
+ textColorGhostFocus: string;
117
+ textColorGhostDisabled: string;
118
+ border: string;
119
+ borderHover: string;
120
+ borderPressed: string;
121
+ borderFocus: string;
122
+ borderDisabled: string;
123
+ rippleColor: string;
124
+ colorPrimary: string;
125
+ colorHoverPrimary: string;
126
+ colorPressedPrimary: string;
127
+ colorFocusPrimary: string;
128
+ colorDisabledPrimary: string;
129
+ waveColorPrimary: string;
130
+ textColorPrimary: string;
131
+ textColorHoverPrimary: string;
132
+ textColorPressedPrimary: string;
133
+ textColorFocusPrimary: string;
134
+ textColorDisabledPrimary: string;
135
+ textColorTextPrimary: string;
136
+ textColorTextHoverPrimary: string;
137
+ textColorTextPressedPrimary: string;
138
+ textColorTextFocusPrimary: string;
139
+ textColorTextDisabledPrimary: string;
140
+ textColorGhostPrimary: string;
141
+ textColorGhostHoverPrimary: string;
142
+ textColorGhostPressedPrimary: string;
143
+ textColorGhostFocusPrimary: string;
144
+ textColorGhostDisabledPrimary: string;
145
+ borderPrimary: string;
146
+ borderHoverPrimary: string;
147
+ borderPressedPrimary: string;
148
+ borderFocusPrimary: string;
149
+ borderDisabledPrimary: string;
150
+ rippleColorPrimary: string;
151
+ colorInfo: string;
152
+ colorHoverInfo: string;
153
+ colorPressedInfo: string;
154
+ colorFocusInfo: string;
155
+ colorDisabledInfo: string;
156
+ textColorInfo: string;
157
+ textColorHoverInfo: string;
158
+ textColorPressedInfo: string;
159
+ textColorFocusInfo: string;
160
+ textColorDisabledInfo: string;
161
+ textColorTextInfo: string;
162
+ textColorTextHoverInfo: string;
163
+ textColorTextPressedInfo: string;
164
+ textColorTextFocusInfo: string;
165
+ textColorTextDisabledInfo: string;
166
+ textColorGhostInfo: string;
167
+ textColorGhostHoverInfo: string;
168
+ textColorGhostPressedInfo: string;
169
+ textColorGhostFocusInfo: string;
170
+ textColorGhostDisabledInfo: string;
171
+ borderInfo: string;
172
+ borderHoverInfo: string;
173
+ borderPressedInfo: string;
174
+ borderFocusInfo: string;
175
+ borderDisabledInfo: string;
176
+ rippleColorInfo: string;
177
+ colorSuccess: string;
178
+ colorHoverSuccess: string;
179
+ colorPressedSuccess: string;
180
+ colorFocusSuccess: string;
181
+ colorDisabledSuccess: string;
182
+ textColorSuccess: string;
183
+ textColorHoverSuccess: string;
184
+ textColorPressedSuccess: string;
185
+ textColorFocusSuccess: string;
186
+ textColorDisabledSuccess: string;
187
+ textColorTextSuccess: string;
188
+ textColorTextHoverSuccess: string;
189
+ textColorTextPressedSuccess: string;
190
+ textColorTextFocusSuccess: string;
191
+ textColorTextDisabledSuccess: string;
192
+ textColorGhostSuccess: string;
193
+ textColorGhostHoverSuccess: string;
194
+ textColorGhostPressedSuccess: string;
195
+ textColorGhostFocusSuccess: string;
196
+ textColorGhostDisabledSuccess: string;
197
+ borderSuccess: string;
198
+ borderHoverSuccess: string;
199
+ borderPressedSuccess: string;
200
+ borderFocusSuccess: string;
201
+ borderDisabledSuccess: string;
202
+ rippleColorSuccess: string;
203
+ colorWarning: string;
204
+ colorHoverWarning: string;
205
+ colorPressedWarning: string;
206
+ colorFocusWarning: string;
207
+ colorDisabledWarning: string;
208
+ textColorWarning: string;
209
+ textColorHoverWarning: string;
210
+ textColorPressedWarning: string;
211
+ textColorFocusWarning: string;
212
+ textColorDisabledWarning: string;
213
+ textColorTextWarning: string;
214
+ textColorTextHoverWarning: string;
215
+ textColorTextPressedWarning: string;
216
+ textColorTextFocusWarning: string;
217
+ textColorTextDisabledWarning: string;
218
+ textColorGhostWarning: string;
219
+ textColorGhostHoverWarning: string;
220
+ textColorGhostPressedWarning: string;
221
+ textColorGhostFocusWarning: string;
222
+ textColorGhostDisabledWarning: string;
223
+ borderWarning: string;
224
+ borderHoverWarning: string;
225
+ borderPressedWarning: string;
226
+ borderFocusWarning: string;
227
+ borderDisabledWarning: string;
228
+ rippleColorWarning: string;
229
+ colorError: string;
230
+ colorHoverError: string;
231
+ colorPressedError: string;
232
+ colorFocusError: string;
233
+ colorDisabledError: string;
234
+ textColorError: string;
235
+ textColorHoverError: string;
236
+ textColorPressedError: string;
237
+ textColorFocusError: string;
238
+ textColorDisabledError: string;
239
+ textColorTextError: string;
240
+ textColorTextHoverError: string;
241
+ textColorTextPressedError: string;
242
+ textColorTextFocusError: string;
243
+ textColorTextDisabledError: string;
244
+ textColorGhostError: string;
245
+ textColorGhostHoverError: string;
246
+ textColorGhostPressedError: string;
247
+ textColorGhostFocusError: string;
248
+ textColorGhostDisabledError: string;
249
+ borderError: string;
250
+ borderHoverError: string;
251
+ borderPressedError: string;
252
+ borderFocusError: string;
253
+ borderDisabledError: string;
254
+ rippleColorError: string;
255
+ waveOpacity: string;
256
+ fontWeight: string;
257
+ fontWeightStrong: string;
258
+ paddingTiny: string;
259
+ paddingSmall: string;
260
+ paddingMedium: string;
261
+ paddingLarge: string;
262
+ paddingRoundTiny: string;
263
+ paddingRoundSmall: string;
264
+ paddingRoundMedium: string;
265
+ paddingRoundLarge: string;
266
+ iconMarginTiny: string;
267
+ iconMarginSmall: string;
268
+ iconMarginMedium: string;
269
+ iconMarginLarge: string;
270
+ iconSizeTiny: string;
271
+ iconSizeSmall: string;
272
+ iconSizeMedium: string;
273
+ iconSizeLarge: string;
274
+ rippleDuration: string;
275
+ }, any>;
276
+ Input: import("../../_mixins").Theme<"Input", {
277
+ paddingTiny: string;
278
+ paddingSmall: string;
279
+ paddingMedium: string;
280
+ paddingLarge: string;
281
+ paddingHuge: string;
282
+ clearSize: string;
283
+ countTextColorDisabled: string;
284
+ countTextColor: string;
285
+ heightTiny: string;
286
+ heightSmall: string;
287
+ heightMedium: string;
288
+ heightLarge: string;
289
+ heightHuge: string;
290
+ fontSizeTiny: string;
291
+ fontSizeSmall: string;
292
+ fontSizeMedium: string;
293
+ fontSizeLarge: string;
294
+ fontSizeHuge: string;
295
+ lineHeight: string;
296
+ lineHeightTextarea: string;
297
+ borderRadius: string;
298
+ iconSize: string;
299
+ groupLabelTextColor: string;
300
+ textColor: string;
301
+ textColorDisabled: string;
302
+ textDecorationColor: string;
303
+ caretColor: string;
304
+ placeholderColor: string;
305
+ placeholderColorDisabled: string;
306
+ color: string;
307
+ colorDisabled: string;
308
+ colorFocus: string;
309
+ groupLabelBorder: string;
310
+ border: string;
311
+ borderHover: string;
312
+ borderDisabled: string;
313
+ borderFocus: string;
314
+ boxShadowFocus: string;
315
+ loadingColor: string;
316
+ loadingColorWarning: string;
317
+ borderWarning: string;
318
+ borderHoverWarning: string;
319
+ colorFocusWarning: string;
320
+ borderFocusWarning: string;
321
+ boxShadowFocusWarning: string;
322
+ caretColorWarning: string;
323
+ loadingColorError: string;
324
+ borderError: string;
325
+ borderHoverError: string;
326
+ colorFocusError: string;
327
+ borderFocusError: string;
328
+ boxShadowFocusError: string;
329
+ caretColorError: string;
330
+ clearColor: string;
331
+ clearColorHover: string;
332
+ clearColorPressed: string;
333
+ iconColor: string;
334
+ iconColorDisabled: string;
335
+ iconColorHover: string;
336
+ iconColorPressed: string;
337
+ suffixTextColor: string;
338
+ selectionColor: string;
339
+ }, any>;
340
+ Select: import("../../_mixins").Theme<"InternalSelection", {
341
+ paddingTiny: string;
342
+ paddingSmall: string;
343
+ paddingMedium: string;
344
+ paddingLarge: string;
345
+ paddingHuge: string;
346
+ clearSizeTiny: string;
347
+ clearSizeSmall: string;
348
+ clearSizeMedium: string;
349
+ clearSizeLarge: string;
350
+ clearSizeHuge: string;
351
+ arrowSizeTiny: string;
352
+ arrowSizeSmall: string;
353
+ arrowSizeMedium: string;
354
+ arrowSizeLarge: string;
355
+ arrowSizeHuge: string;
356
+ fontSizeTiny: string;
357
+ fontSizeSmall: string;
358
+ fontSizeMedium: string;
359
+ fontSizeLarge: string;
360
+ fontSizeHuge: string;
361
+ lineHeightTiny: string;
362
+ lineHeightSmall: string;
363
+ lineHeightMedium: string;
364
+ lineHeightLarge: string;
365
+ lineHeightHuge: string;
366
+ heightTiny: string;
367
+ heightSmall: string;
368
+ heightMedium: string;
369
+ heightLarge: string;
370
+ heightHuge: string;
371
+ borderRadiusTiny: string;
372
+ borderRadiusSmall: string;
373
+ borderRadiusMedium: string;
374
+ borderRadiusLarge: string;
375
+ borderRadiusHuge: string;
376
+ textColor: string;
377
+ textColorDisabled: string;
378
+ placeholderColor: string;
379
+ placeholderColorDisabled: string;
380
+ color: string;
381
+ colorFilled: string;
382
+ colorDisabled: string;
383
+ colorActive: string;
384
+ border: string;
385
+ borderFilled: string;
386
+ borderHover: string;
387
+ borderActive: string;
388
+ borderFocus: string;
389
+ borderDisabled: string;
390
+ boxShadowHover: string;
391
+ boxShadowActive: string;
392
+ boxShadowFocus: string;
393
+ caretColor: string;
394
+ arrowColor: string;
395
+ arrowColorHover: string;
396
+ arrowColorDisabled: string;
397
+ loadingColor: string;
398
+ borderWarning: string;
399
+ borderHoverWarning: string;
400
+ borderActiveWarning: string;
401
+ borderFocusWarning: string;
402
+ boxShadowHoverWarning: string;
403
+ boxShadowActiveWarning: string;
404
+ boxShadowFocusWarning: string;
405
+ colorActiveWarning: string;
406
+ caretColorWarning: string;
407
+ borderError: string;
408
+ borderHoverError: string;
409
+ borderActiveError: string;
410
+ borderFocusError: string;
411
+ boxShadowHoverError: string;
412
+ boxShadowActiveError: string;
413
+ boxShadowFocusError: string;
414
+ colorActiveError: string;
415
+ caretColorError: string;
416
+ clearColor: string;
417
+ clearColorHover: string;
418
+ clearColorPressed: string;
419
+ caretColorSecondary: string;
420
+ filterCounterTextColor: string;
421
+ filterCounterTextColorDisabled: string;
422
+ arrowColorSecondary: string;
423
+ clearColorSecondary: string;
424
+ colorSecondary: string;
425
+ textColorSecondary: string;
426
+ borderSecondary: string;
427
+ arrowColorDisabledSecondary: string;
428
+ clearColorDisabledSecondary: string;
429
+ colorDisabledSecondary: string;
430
+ textColorDisabledSecondary: string;
431
+ borderDisabledSecondary: string;
432
+ arrowColorHoverSecondary: string;
433
+ clearColorHoverSecondary: string;
434
+ colorHoverSecondary: string;
435
+ textColorHoverSecondary: string;
436
+ borderHoverSecondary: string;
437
+ arrowColorFocusSecondary: string;
438
+ clearColorFocusSecondary: string;
439
+ colorFocusSecondary: string;
440
+ textColorFocusSecondary: string;
441
+ borderFocusSecondary: string;
442
+ arrowColorActiveSecondary: string;
443
+ clearColorActiveSecondary: string;
444
+ colorActiveSecondary: string;
445
+ textColorActiveSecondary: string;
446
+ borderActiveSecondary: string;
447
+ }, {
448
+ Popover: import("../../_mixins").Theme<"Popover", {
449
+ space: string;
450
+ spaceArrow: string;
451
+ arrowOffset: string;
452
+ arrowOffsetVertical: string;
453
+ arrowHeight: string;
454
+ padding: string;
455
+ fontSize: string;
456
+ borderRadius: string;
457
+ color: string;
458
+ dividerColor: string;
459
+ textColor: string;
460
+ boxShadow: string;
461
+ }, any>;
462
+ }>;
463
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
464
+ height: string;
465
+ width: string;
466
+ borderRadius: string;
467
+ color: string;
468
+ colorHover: string;
469
+ railInsetHorizontalBottom: string;
470
+ railInsetHorizontalTop: string;
471
+ railInsetVerticalRight: string;
472
+ railInsetVerticalLeft: string;
473
+ railColor: string;
474
+ }, any>;
475
+ }>;
476
+ export default datePickerV2Light;
477
+ export type DatePickerV2Theme = typeof datePickerV2Light;
@@ -0,0 +1,56 @@
1
+ import { inputLight } from '../../input/styles';
2
+ import { buttonLight } from '../../button/styles';
3
+ import { internalSelectionLight } from '../../_internal/selection/styles';
4
+ import { commonLight } from '../../_styles/common';
5
+ import { scrollbarLight } from '../../_internal/scrollbar/styles';
6
+ import { createTheme } from '../../_mixins';
7
+ export const self = (vars) => {
8
+ const { brandPrimary100, brandPrimary500, transparencySecondary, elementsTertiary, elementsQuaternary, textPrimary, textSecondary, borderRadiusSmall, borderRadiusLarge, containerPrimary, elementsPrimary, shadowDepth2, brandQuinary500, brandPrimary10 } = vars;
9
+ return {
10
+ // Panel
11
+ panelColor: containerPrimary,
12
+ panelBoxShadow: shadowDepth2,
13
+ panelBorderRadius: borderRadiusLarge,
14
+ panelTextColor: textPrimary,
15
+ // Divider
16
+ dividerColor: elementsQuaternary,
17
+ // Item (date cell)
18
+ itemTextColor: textPrimary,
19
+ itemTextColorOtherMonth: textSecondary,
20
+ itemTextColorDisabled: transparencySecondary,
21
+ itemColorHover: elementsTertiary,
22
+ itemColorActive: brandPrimary100,
23
+ itemColorIncluded: brandPrimary10,
24
+ itemTextColorActive: textPrimary,
25
+ itemBorderRadius: borderRadiusSmall,
26
+ // Icons
27
+ iconColor: elementsPrimary,
28
+ iconColorDisabled: transparencySecondary,
29
+ // Weekdays
30
+ weekdayTextColor: textPrimary,
31
+ weekendTextColor: brandQuinary500,
32
+ // Month items
33
+ monthItemHeight: '48px',
34
+ monthItemColorHover: elementsTertiary,
35
+ monthItemColorActive: brandPrimary100,
36
+ monthItemTextColorActive: brandPrimary500,
37
+ // Year trigger
38
+ yearTriggerColor: elementsTertiary,
39
+ yearTriggerColorHover: elementsQuaternary,
40
+ yearTriggerTextColor: textSecondary,
41
+ // Current date indicator
42
+ currentDateIndicatorColor: textPrimary
43
+ };
44
+ };
45
+ const datePickerV2Light = createTheme({
46
+ name: 'DatePickerV2',
47
+ common: commonLight,
48
+ peers: {
49
+ Button: buttonLight,
50
+ Input: inputLight,
51
+ Select: internalSelectionLight,
52
+ Scrollbar: scrollbarLight
53
+ },
54
+ self
55
+ });
56
+ export default datePickerV2Light;
@@ -288,6 +288,7 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
288
288
  brand150: string;
289
289
  brand350: string;
290
290
  brand550: string;
291
+ brandPrimary10: string;
291
292
  brandPrimary50: string;
292
293
  brandPrimary100: string;
293
294
  brandPrimary200: string;
@@ -656,6 +657,7 @@ export declare const UDialogProvider: import("vue").DefineComponent<{
656
657
  brand150: string;
657
658
  brand350: string;
658
659
  brand550: string;
660
+ brandPrimary10: string;
659
661
  brandPrimary50: string;
660
662
  brandPrimary100: string;
661
663
  brandPrimary200: string;
@@ -21,7 +21,7 @@ const enUS = {
21
21
  },
22
22
  DatePicker: {
23
23
  yearFormat: 'yyyy',
24
- monthFormat: 'MMM',
24
+ monthFormat: 'MMMM',
25
25
  dayFormat: 'eeeeee',
26
26
  yearTypeFormat: 'yyyy',
27
27
  monthTypeFormat: 'yyyy-MM',
@@ -20,6 +20,7 @@ declare const _default: import("vue").DefineComponent<{}, {
20
20
  brand150: string;
21
21
  brand350: string;
22
22
  brand550: string;
23
+ brandPrimary10: string;
23
24
  brandPrimary50: string;
24
25
  brandPrimary100: string;
25
26
  brandPrimary200: string;
package/es/themes/dark.js CHANGED
@@ -94,6 +94,7 @@ import safeTopScrollbarDark from '../_internal/safe-top-scrollbar/styles/dark';
94
94
  import { headerDark } from '../header/styles';
95
95
  import { iconBarDark } from '../icon-bar/styles';
96
96
  import { qrcodeDark } from '../qr-code/styles';
97
+ import { datePickerV2Dark } from '../components';
97
98
  export const darkTheme = {
98
99
  name: 'dark',
99
100
  common: commonDark,
@@ -121,6 +122,7 @@ export const darkTheme = {
121
122
  ColorPicker: colorPickerDark,
122
123
  DataTable: dataTableDark,
123
124
  DatePicker: datePickerDark,
125
+ DatePickerV2: datePickerV2Dark,
124
126
  Descriptions: descriptionsDark,
125
127
  Dialog: dialogDark,
126
128
  Divider: dividerDark,
@@ -96,6 +96,7 @@ import { qrcodeLight } from '../qr-code/styles';
96
96
  import safeTopScrollbarLight from '../_internal/safe-top-scrollbar/styles/light';
97
97
  import { headerLight } from '../header/styles';
98
98
  import { iconBarLight } from '../icon-bar/styles';
99
+ import { datePickerV2Light } from '../components';
99
100
  export const lightTheme = {
100
101
  name: 'light',
101
102
  common: commonLight,
@@ -123,6 +124,7 @@ export const lightTheme = {
123
124
  ColorPicker: colorPickerLight,
124
125
  DataTable: dataTableLight,
125
126
  DatePicker: datePickerLight,
127
+ DatePickerV2: datePickerV2Light,
126
128
  Descriptions: descriptionsLight,
127
129
  Dialog: dialogLight,
128
130
  Divider: dividerLight,
package/es/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.12.22";
1
+ declare const _default: "1.13.0";
2
2
  export default _default;
package/es/version.js CHANGED
@@ -1 +1 @@
1
- export default '1.12.22';
1
+ export default '1.13.0';
@@ -4,6 +4,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const _common_1 = __importDefault(require("./_common"));
7
- const derived = Object.assign(Object.assign({ name: 'common' }, _common_1.default), { scrollbarColor: 'rgba(255, 255, 255, 0.25)', scrollbarColorHover: 'rgba(255, 255, 255, 0.4)', scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', opacityDisabled: '0.5', brand150: '#FFF3D3', brand350: '#F1F9DF', brand550: '#FFF3F4', brandPrimary50: '#2B204E', brandPrimary100: '#412A89', brandPrimary200: '#6A40ED', brandPrimary300: '#BBA2FD', brandPrimary400: '#7748F1', brandPrimary500: '#8967F1', brandPrimary550: '#6607DF', brandPrimary600: '#5D46A6', brandSecondary400: '#FFF8E3', brandSecondary500: '#FFFF54', brandSecondary300: '#FDF5A6', brandSecondary600: '#F9DE6D', brandTertiary500: '#C4ED70', brandTertiary300: '#DCF0AF', brandTertiary600: '#9DED70', brandQuaternary500: '#90DDFB', brandQuaternary300: '#C5ECFD', brandQuaternary600: '#54B8F9', brandQuinary500: '#EC616A', brandQuinary300: '#F19EDA', brandQuinary600: '#EA3E68', brandQuinary100: '#FAD6D9', surfacePrimary: '#101010', surfaceSecondary: '#1D1D1D', containerPrimary: '#1D1D1D', containerSecondary: '#313135', textPrimary: '#F3F4F6', textSecondary: '#808080', textTertiary: '#999999', textQuaternary: '#101010', textBrand: '#F3F4F6', elementsPrimary: '#F3F4F6', elementsSecondary: '#101010', elementsTertiary: '#222222', elementsQuaternary: '#424247', elementsQuinary: '#707479', elementsDarkQuinary: '#919396', elementsSenary: '#DFDFDF', elementsOnContainer: '#101010', transparencyPrimary: 'rgba(255, 255, 255, 0.1)', transparencySecondary: 'rgba(255, 255, 255, 0.07)', transparencyTertiary: 'rgba(255, 255, 255, 0.16)', transparencyQuinary: 'rgba(255, 255, 255, 0.32)', transparencyModal: 'rgba(0, 0, 0, 0.75)', staticBlack: '#101010', staticDarkGrey: '#2C2C2D', staticWhite: '#FFFFFF', staticRed: '#F24835', staticOrange: '#F48C2C', staticGreen: '#09B849', staticDeepBlue: '#2F53CD', staticErrorAccent: '#CB0000', shadowDepth2: '0 0 0 1px #424247', shadowDepth: '0px 8px 8px 0px rgba(255, 255, 255, 0.25)' // В дизайне тень вообще отсутствует, пока что пусть побудет визуально как border
7
+ const derived = Object.assign(Object.assign({ name: 'common' }, _common_1.default), { scrollbarColor: 'rgba(255, 255, 255, 0.25)', scrollbarColorHover: 'rgba(255, 255, 255, 0.4)', scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', opacityDisabled: '0.5', brand150: '#FFF3D3', brand350: '#F1F9DF', brand550: '#FFF3F4', brandPrimary10: '#F3F2F9', brandPrimary50: '#2B204E', brandPrimary100: '#412A89', brandPrimary200: '#6A40ED', brandPrimary300: '#BBA2FD', brandPrimary400: '#7748F1', brandPrimary500: '#8967F1', brandPrimary550: '#6607DF', brandPrimary600: '#5D46A6', brandSecondary400: '#FFF8E3', brandSecondary500: '#FFFF54', brandSecondary300: '#FDF5A6', brandSecondary600: '#F9DE6D', brandTertiary500: '#C4ED70', brandTertiary300: '#DCF0AF', brandTertiary600: '#9DED70', brandQuaternary500: '#90DDFB', brandQuaternary300: '#C5ECFD', brandQuaternary600: '#54B8F9', brandQuinary500: '#EC616A', brandQuinary300: '#F19EDA', brandQuinary600: '#EA3E68', brandQuinary100: '#FAD6D9', surfacePrimary: '#101010', surfaceSecondary: '#1D1D1D', containerPrimary: '#1D1D1D', containerSecondary: '#313135', textPrimary: '#F3F4F6', textSecondary: '#808080', textTertiary: '#999999', textQuaternary: '#101010', textBrand: '#F3F4F6', elementsPrimary: '#F3F4F6', elementsSecondary: '#101010', elementsTertiary: '#222222', elementsQuaternary: '#424247', elementsQuinary: '#707479', elementsDarkQuinary: '#919396', elementsSenary: '#DFDFDF', elementsOnContainer: '#101010', transparencyPrimary: 'rgba(255, 255, 255, 0.1)', transparencySecondary: 'rgba(255, 255, 255, 0.07)', transparencyTertiary: 'rgba(255, 255, 255, 0.16)', transparencyQuinary: 'rgba(255, 255, 255, 0.32)', transparencyModal: 'rgba(0, 0, 0, 0.75)', staticBlack: '#101010', staticDarkGrey: '#2C2C2D', staticWhite: '#FFFFFF', staticRed: '#F24835', staticOrange: '#F48C2C', staticGreen: '#09B849', staticDeepBlue: '#2F53CD', staticErrorAccent: '#CB0000', shadowDepth2: '0 0 0 1px #424247', shadowDepth: '0px 8px 8px 0px rgba(255, 255, 255, 0.25)' // В дизайне тень вообще отсутствует, пока что пусть побудет визуально как border
8
8
  });
9
9
  exports.default = derived;
@@ -8,6 +8,7 @@ declare const derived: {
8
8
  brand150: string;
9
9
  brand350: string;
10
10
  brand550: string;
11
+ brandPrimary10: string;
11
12
  brandPrimary50: string;
12
13
  brandPrimary100: string;
13
14
  brandPrimary200: string;
@@ -4,5 +4,5 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const _common_1 = __importDefault(require("./_common"));
7
- const derived = Object.assign(Object.assign({ name: 'common' }, _common_1.default), { scrollbarColor: 'rgba(0, 0, 0, 0.25)', scrollbarColorHover: 'rgba(0, 0, 0, 0.4)', scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', opacityDisabled: '0.5', brand150: '#FFF3D3', brand350: '#F1F9DF', brand550: '#FFF3F4', brandPrimary50: '#F8F2FF', brandPrimary100: '#EAE2FF', brandPrimary200: '#DACCFF', brandPrimary300: '#BBA2FD', brandPrimary400: '#7748F1', brandPrimary500: '#7000FF', brandPrimary550: '#6607DF', brandPrimary600: '#5B34C1', brandSecondary400: '#FFF8E3', brandSecondary500: '#FFFF54', brandSecondary300: '#FDF5A6', brandSecondary600: '#F9DE6D', brandTertiary500: '#C4ED70', brandTertiary300: '#DCF0AF', brandTertiary600: '#9DED70', brandQuaternary500: '#90DDFB', brandQuaternary300: '#C5ECFD', brandQuaternary600: '#54B8F9', brandQuinary500: '#EC616A', brandQuinary300: '#F19EDA', brandQuinary600: '#EA3E68', brandQuinary100: '#FAD6D9', surfacePrimary: '#fff', surfaceSecondary: '#1d1d1d', containerPrimary: '#fff', containerSecondary: '#F3F4F6', textPrimary: '#101010', textSecondary: '#808080', textTertiary: '#999999', textQuaternary: '#FFFFFF', textBrand: '#7000FF', elementsPrimary: '#101010', elementsSecondary: '#fff', elementsTertiary: '#F3F4F6', elementsQuaternary: '#E7E8EA', elementsQuinary: '#C5C7CA', elementsDarkQuinary: '#919396', elementsSenary: '#4E4D4D', elementsOnContainer: '#fff', transparencyPrimary: 'rgba(0, 0, 0, 0.35)', transparencySecondary: 'rgba(0, 0, 0, 0.07)', transparencyTertiary: 'rgba(255, 255, 255, 0.16)', transparencyQuinary: 'rgba(255, 255, 255, 0.32)', transparencyModal: 'rgba(0, 0, 0, 0.40)', staticBlack: '#101010', staticDarkGrey: '#2C2C2D', staticWhite: '#FFFFFF', staticRed: '#F24835', staticOrange: '#F48C2C', staticGreen: '#09B849', staticDeepBlue: '#2F53CD', staticErrorAccent: '#CB0000', shadowDepth2: '0px 20px 80px 0px rgba(0, 0, 0, 0.07)', shadowDepth: '0px 8px 8px 0px rgba(0, 0, 0, 0.25)' });
7
+ const derived = Object.assign(Object.assign({ name: 'common' }, _common_1.default), { scrollbarColor: 'rgba(0, 0, 0, 0.25)', scrollbarColorHover: 'rgba(0, 0, 0, 0.4)', scrollbarWidth: '5px', scrollbarHeight: '5px', scrollbarBorderRadius: '5px', opacityDisabled: '0.5', brand150: '#FFF3D3', brand350: '#F1F9DF', brand550: '#FFF3F4', brandPrimary10: '#F3F2F9', brandPrimary50: '#F8F2FF', brandPrimary100: '#EAE2FF', brandPrimary200: '#DACCFF', brandPrimary300: '#BBA2FD', brandPrimary400: '#7748F1', brandPrimary500: '#7000FF', brandPrimary550: '#6607DF', brandPrimary600: '#5B34C1', brandSecondary400: '#FFF8E3', brandSecondary500: '#FFFF54', brandSecondary300: '#FDF5A6', brandSecondary600: '#F9DE6D', brandTertiary500: '#C4ED70', brandTertiary300: '#DCF0AF', brandTertiary600: '#9DED70', brandQuaternary500: '#90DDFB', brandQuaternary300: '#C5ECFD', brandQuaternary600: '#54B8F9', brandQuinary500: '#EC616A', brandQuinary300: '#F19EDA', brandQuinary600: '#EA3E68', brandQuinary100: '#FAD6D9', surfacePrimary: '#fff', surfaceSecondary: '#1d1d1d', containerPrimary: '#fff', containerSecondary: '#F3F4F6', textPrimary: '#101010', textSecondary: '#808080', textTertiary: '#999999', textQuaternary: '#FFFFFF', textBrand: '#7000FF', elementsPrimary: '#101010', elementsSecondary: '#fff', elementsTertiary: '#F3F4F6', elementsQuaternary: '#E7E8EA', elementsQuinary: '#C5C7CA', elementsDarkQuinary: '#919396', elementsSenary: '#4E4D4D', elementsOnContainer: '#fff', transparencyPrimary: 'rgba(0, 0, 0, 0.35)', transparencySecondary: 'rgba(0, 0, 0, 0.07)', transparencyTertiary: 'rgba(255, 255, 255, 0.16)', transparencyQuinary: 'rgba(255, 255, 255, 0.32)', transparencyModal: 'rgba(0, 0, 0, 0.40)', staticBlack: '#101010', staticDarkGrey: '#2C2C2D', staticWhite: '#FFFFFF', staticRed: '#F24835', staticOrange: '#F48C2C', staticGreen: '#09B849', staticDeepBlue: '#2F53CD', staticErrorAccent: '#CB0000', shadowDepth2: '0px 20px 80px 0px rgba(0, 0, 0, 0.07)', shadowDepth: '0px 8px 8px 0px rgba(0, 0, 0, 0.25)' });
8
8
  exports.default = derived;
@@ -214,7 +214,12 @@ exports.default = (0, vue_1.defineComponent)({
214
214
  ? `${mergedClsPrefixRef.value}-chat-main__message--own`
215
215
  : `${mergedClsPrefixRef.value}-chat-main__message--other`
216
216
  ] },
217
- (0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__message-wrapper` },
217
+ (0, vue_1.h)("div", { class: [
218
+ `${mergedClsPrefixRef.value}-chat-main__message-wrapper`,
219
+ isOwn
220
+ ? `${mergedClsPrefixRef.value}-chat-main__message-wrapper--own`
221
+ : `${mergedClsPrefixRef.value}-chat-main__message-wrapper--other`
222
+ ] },
218
223
  hasBubbleActionsSlot ? ((0, vue_1.h)("div", { onContextmenu: (e) => {
219
224
  e.preventDefault();
220
225
  contextMenuShow.value = false;
@@ -229,7 +229,11 @@ exports.default = (0, cssr_1.cB)('chat', `
229
229
  flex-direction: column;
230
230
  gap: 4px;
231
231
  flex-shrink: 0;
232
- `), (0, cssr_1.cE)('message-bubble', `
232
+ `, [(0, cssr_1.cM)('own', `
233
+ align-items: flex-end;
234
+ `), (0, cssr_1.cM)('other', `
235
+ align-items: flex-start;
236
+ `)]), (0, cssr_1.cE)('message-bubble', `
233
237
  border-radius: 18px;
234
238
  font-size: 14px;
235
239
  line-height: 20px;