@uzum-tech/ui 1.8.0 → 1.8.2

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 (188) hide show
  1. package/dist/index.js +378 -197
  2. package/dist/index.prod.js +3 -3
  3. package/es/_internal/scrollbar/src/Scrollbar.js +1 -1
  4. package/es/button/src/Button.d.ts +72 -0
  5. package/es/button/src/Button.js +13 -7
  6. package/es/button/src/styles/index.cssr.js +1 -2
  7. package/es/button/styles/light.d.ts +8 -0
  8. package/es/button/styles/light.js +7 -7
  9. package/es/calendar/src/Calendar.d.ts +80 -0
  10. package/es/calendar/styles/light.d.ts +8 -0
  11. package/es/chat/index.d.ts +2 -1
  12. package/es/chat/index.js +1 -0
  13. package/es/chat/src/Chat.d.ts +87 -7
  14. package/es/chat/src/Chat.js +12 -12
  15. package/es/chat/src/ChatListItems.d.ts +1847 -4
  16. package/es/chat/src/ChatListItems.js +16 -12
  17. package/es/chat/src/ChatMessages.d.ts +1848 -4
  18. package/es/chat/src/ChatMessages.js +27 -10
  19. package/es/chat/src/ChatParts/MainArea.js +10 -10
  20. package/es/chat/src/ChatParts/Sidebar.js +2 -2
  21. package/es/chat/src/interface.d.ts +4 -0
  22. package/es/chat/src/styles/index.cssr.js +14 -17
  23. package/es/chat/styles/dark.d.ts +8 -0
  24. package/es/chat/styles/light.d.ts +9 -1
  25. package/es/chat/styles/light.js +15 -3
  26. package/es/color-picker/src/ColorInputUnit.d.ts +8 -0
  27. package/es/color-picker/src/ColorPicker.d.ts +72 -0
  28. package/es/color-picker/styles/light.d.ts +8 -0
  29. package/es/data-table/src/DataTable.d.ts +56 -0
  30. package/es/data-table/src/HeaderButton/FilterButton.d.ts +8 -0
  31. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +8 -0
  32. package/es/data-table/src/TableParts/Body.d.ts +8 -0
  33. package/es/data-table/src/TableParts/Header.d.ts +8 -0
  34. package/es/data-table/src/interface.d.ts +24 -0
  35. package/es/data-table/styles/light.d.ts +8 -0
  36. package/es/date-picker/src/DatePicker.d.ts +168 -0
  37. package/es/date-picker/src/panel/date.d.ts +24 -0
  38. package/es/date-picker/src/panel/daterange.d.ts +24 -0
  39. package/es/date-picker/src/panel/datetime.d.ts +24 -0
  40. package/es/date-picker/src/panel/datetimerange.d.ts +24 -0
  41. package/es/date-picker/src/panel/panelMonth.d.ts +48 -0
  42. package/es/date-picker/src/panel/panelMonthContent.d.ts +24 -0
  43. package/es/date-picker/src/panel/panelYear.d.ts +48 -0
  44. package/es/date-picker/src/panel/panelYearContent.d.ts +24 -0
  45. package/es/date-picker/src/panel/use-calendar.d.ts +24 -0
  46. package/es/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
  47. package/es/date-picker/src/panel/use-panel-common.d.ts +24 -0
  48. package/es/date-picker/styles/light.d.ts +16 -0
  49. package/es/dialog/src/Dialog.d.ts +56 -0
  50. package/es/dialog/src/DialogProvider.d.ts +16 -0
  51. package/es/dialog/styles/light.d.ts +8 -0
  52. package/es/dynamic-input/src/DynamicInput.d.ts +80 -0
  53. package/es/dynamic-input/src/InputPreset.d.ts +8 -0
  54. package/es/dynamic-input/src/PairPreset.d.ts +8 -0
  55. package/es/dynamic-input/styles/light.d.ts +8 -0
  56. package/es/dynamic-tags/src/DynamicTags.d.ts +80 -0
  57. package/es/dynamic-tags/styles/light.d.ts +8 -0
  58. package/es/input-number/src/InputNumber.d.ts +80 -0
  59. package/es/input-number/styles/light.d.ts +8 -0
  60. package/es/legacy-transfer/src/Transfer.d.ts +80 -0
  61. package/es/legacy-transfer/src/TransferFilter.d.ts +8 -0
  62. package/es/legacy-transfer/src/TransferList.d.ts +8 -0
  63. package/es/legacy-transfer/src/TransferListItem.d.ts +8 -0
  64. package/es/legacy-transfer/styles/light.d.ts +8 -0
  65. package/es/modal/src/BodyWrapper.d.ts +16 -0
  66. package/es/modal/src/Modal.d.ts +72 -0
  67. package/es/modal/styles/light.d.ts +8 -0
  68. package/es/notification/src/Notification.d.ts +5 -0
  69. package/es/notification/src/Notification.js +16 -6
  70. package/es/notification/src/NotificationContainer.d.ts +12 -0
  71. package/es/notification/src/NotificationProvider.d.ts +108 -0
  72. package/es/notification/src/styles/index.cssr.js +12 -8
  73. package/es/notification/styles/light.d.ts +24 -0
  74. package/es/notification/styles/light.js +9 -8
  75. package/es/popconfirm/src/Popconfirm.d.ts +80 -0
  76. package/es/popconfirm/styles/light.d.ts +8 -0
  77. package/es/time-picker/src/Panel.d.ts +8 -0
  78. package/es/time-picker/src/TimePicker.d.ts +80 -0
  79. package/es/time-picker/styles/light.d.ts +8 -0
  80. package/es/transfer/src/Transfer.d.ts +80 -0
  81. package/es/transfer/src/TransferFilter.d.ts +8 -0
  82. package/es/transfer/src/TransferList.d.ts +8 -0
  83. package/es/transfer/src/TransferListItem.d.ts +8 -0
  84. package/es/transfer/styles/light.d.ts +8 -0
  85. package/es/upload/src/Upload.d.ts +90 -0
  86. package/es/upload/src/Upload.js +2 -1
  87. package/es/upload/src/UploadFile.d.ts +9 -0
  88. package/es/upload/src/UploadProgress.d.ts +9 -0
  89. package/es/upload/src/styles/index.cssr.js +1 -0
  90. package/es/upload/src/useUploadActionsRender.js +5 -1
  91. package/es/upload/styles/light.d.ts +10 -0
  92. package/es/upload/styles/light.js +6 -5
  93. package/es/version.d.ts +1 -1
  94. package/es/version.js +1 -1
  95. package/lib/_internal/scrollbar/src/Scrollbar.js +1 -1
  96. package/lib/button/src/Button.d.ts +72 -0
  97. package/lib/button/src/Button.js +13 -7
  98. package/lib/button/src/styles/index.cssr.js +1 -2
  99. package/lib/button/styles/light.d.ts +8 -0
  100. package/lib/button/styles/light.js +7 -7
  101. package/lib/calendar/src/Calendar.d.ts +80 -0
  102. package/lib/calendar/styles/light.d.ts +8 -0
  103. package/lib/chat/index.d.ts +2 -1
  104. package/lib/chat/index.js +5 -1
  105. package/lib/chat/src/Chat.d.ts +87 -7
  106. package/lib/chat/src/Chat.js +12 -12
  107. package/lib/chat/src/ChatListItems.d.ts +1847 -4
  108. package/lib/chat/src/ChatListItems.js +14 -10
  109. package/lib/chat/src/ChatMessages.d.ts +1848 -4
  110. package/lib/chat/src/ChatMessages.js +25 -8
  111. package/lib/chat/src/ChatParts/MainArea.js +10 -10
  112. package/lib/chat/src/ChatParts/Sidebar.js +2 -2
  113. package/lib/chat/src/interface.d.ts +4 -0
  114. package/lib/chat/src/styles/index.cssr.js +14 -17
  115. package/lib/chat/styles/dark.d.ts +8 -0
  116. package/lib/chat/styles/light.d.ts +9 -1
  117. package/lib/chat/styles/light.js +15 -3
  118. package/lib/color-picker/src/ColorInputUnit.d.ts +8 -0
  119. package/lib/color-picker/src/ColorPicker.d.ts +72 -0
  120. package/lib/color-picker/styles/light.d.ts +8 -0
  121. package/lib/data-table/src/DataTable.d.ts +56 -0
  122. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +8 -0
  123. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +8 -0
  124. package/lib/data-table/src/TableParts/Body.d.ts +8 -0
  125. package/lib/data-table/src/TableParts/Header.d.ts +8 -0
  126. package/lib/data-table/src/interface.d.ts +24 -0
  127. package/lib/data-table/styles/light.d.ts +8 -0
  128. package/lib/date-picker/src/DatePicker.d.ts +168 -0
  129. package/lib/date-picker/src/panel/date.d.ts +24 -0
  130. package/lib/date-picker/src/panel/daterange.d.ts +24 -0
  131. package/lib/date-picker/src/panel/datetime.d.ts +24 -0
  132. package/lib/date-picker/src/panel/datetimerange.d.ts +24 -0
  133. package/lib/date-picker/src/panel/panelMonth.d.ts +48 -0
  134. package/lib/date-picker/src/panel/panelMonthContent.d.ts +24 -0
  135. package/lib/date-picker/src/panel/panelYear.d.ts +48 -0
  136. package/lib/date-picker/src/panel/panelYearContent.d.ts +24 -0
  137. package/lib/date-picker/src/panel/use-calendar.d.ts +24 -0
  138. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
  139. package/lib/date-picker/src/panel/use-panel-common.d.ts +24 -0
  140. package/lib/date-picker/styles/light.d.ts +16 -0
  141. package/lib/dialog/src/Dialog.d.ts +56 -0
  142. package/lib/dialog/src/DialogProvider.d.ts +16 -0
  143. package/lib/dialog/styles/light.d.ts +8 -0
  144. package/lib/dynamic-input/src/DynamicInput.d.ts +80 -0
  145. package/lib/dynamic-input/src/InputPreset.d.ts +8 -0
  146. package/lib/dynamic-input/src/PairPreset.d.ts +8 -0
  147. package/lib/dynamic-input/styles/light.d.ts +8 -0
  148. package/lib/dynamic-tags/src/DynamicTags.d.ts +80 -0
  149. package/lib/dynamic-tags/styles/light.d.ts +8 -0
  150. package/lib/input-number/src/InputNumber.d.ts +80 -0
  151. package/lib/input-number/styles/light.d.ts +8 -0
  152. package/lib/legacy-transfer/src/Transfer.d.ts +80 -0
  153. package/lib/legacy-transfer/src/TransferFilter.d.ts +8 -0
  154. package/lib/legacy-transfer/src/TransferList.d.ts +8 -0
  155. package/lib/legacy-transfer/src/TransferListItem.d.ts +8 -0
  156. package/lib/legacy-transfer/styles/light.d.ts +8 -0
  157. package/lib/modal/src/BodyWrapper.d.ts +16 -0
  158. package/lib/modal/src/Modal.d.ts +72 -0
  159. package/lib/modal/styles/light.d.ts +8 -0
  160. package/lib/notification/src/Notification.d.ts +5 -0
  161. package/lib/notification/src/Notification.js +14 -4
  162. package/lib/notification/src/NotificationContainer.d.ts +12 -0
  163. package/lib/notification/src/NotificationProvider.d.ts +108 -0
  164. package/lib/notification/src/styles/index.cssr.js +12 -8
  165. package/lib/notification/styles/light.d.ts +24 -0
  166. package/lib/notification/styles/light.js +9 -8
  167. package/lib/popconfirm/src/Popconfirm.d.ts +80 -0
  168. package/lib/popconfirm/styles/light.d.ts +8 -0
  169. package/lib/time-picker/src/Panel.d.ts +8 -0
  170. package/lib/time-picker/src/TimePicker.d.ts +80 -0
  171. package/lib/time-picker/styles/light.d.ts +8 -0
  172. package/lib/transfer/src/Transfer.d.ts +80 -0
  173. package/lib/transfer/src/TransferFilter.d.ts +8 -0
  174. package/lib/transfer/src/TransferList.d.ts +8 -0
  175. package/lib/transfer/src/TransferListItem.d.ts +8 -0
  176. package/lib/transfer/styles/light.d.ts +8 -0
  177. package/lib/upload/src/Upload.d.ts +90 -0
  178. package/lib/upload/src/Upload.js +2 -1
  179. package/lib/upload/src/UploadFile.d.ts +9 -0
  180. package/lib/upload/src/UploadProgress.d.ts +9 -0
  181. package/lib/upload/src/styles/index.cssr.js +1 -0
  182. package/lib/upload/src/useUploadActionsRender.js +5 -1
  183. package/lib/upload/styles/light.d.ts +10 -0
  184. package/lib/upload/styles/light.js +6 -5
  185. package/lib/version.d.ts +1 -1
  186. package/lib/version.js +1 -1
  187. package/package.json +1 -1
  188. package/web-types.json +4 -4
@@ -1,6 +1,7 @@
1
1
  export { default as UChat } from './src/Chat';
2
2
  export { default as UChatListItems } from './src/ChatListItems';
3
3
  export { default as UChatMessages } from './src/ChatMessages';
4
- export type { ChatId, MessageStatus, ChatMessageType, ChatMarkType, ChatProps, ChatListItemProps, ChatMessageProps, ChatMarkProps, ChatHeaderProps, ChatFooterProps, ChatListHeaderProps, ChatSlots, ChatListItemSlots, ChatMessageSlots, ChatMarkSlots, ChatHeaderSlots, ChatFooterSlots, ChatListItemData, ChatMessageData, ChatAttachment, OnChatSelect, OnMessageSend, OnAttachmentUpload, OnFilterChange, OnLoadMoreChats, OnNetworkError, OnUploadError, OnSendError, ChatInst, ChatListInst, chatInjectionKey } from './src/interface';
4
+ export type { ChatId, ChatProps, ChatListItemProps, ChatMessageProps, ChatMarkProps, ChatHeaderProps, ChatFooterProps, ChatListHeaderProps, ChatSlots, ChatListItemSlots, ChatMessageSlots, ChatMarkSlots, ChatHeaderSlots, ChatFooterSlots, ChatListItemData, ChatMessageData, ChatAttachment, OnChatSelect, OnMessageSend, OnAttachmentUpload, OnFilterChange, OnLoadMoreChats, OnNetworkError, OnUploadError, OnSendError, ChatInst, ChatListInst, chatInjectionKey } from './src/interface';
5
+ export { MessageStatus, ChatMessageType, ChatMarkType } from './src/interface';
5
6
  export type { ChatListItemsProps } from './src/ChatListItems';
6
7
  export type { ChatMessagesProps } from './src/ChatMessages';
package/es/chat/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export { default as UChat } from './src/Chat';
2
2
  export { default as UChatListItems } from './src/ChatListItems';
3
3
  export { default as UChatMessages } from './src/ChatMessages';
4
+ export { MessageStatus, ChatMessageType, ChatMarkType } from './src/interface';
@@ -135,9 +135,9 @@ export declare const chatProps: {
135
135
  type: PropType<ChatPropsType["messagesLoadingCount"]>;
136
136
  default: number;
137
137
  };
138
- maxHeight: {
138
+ height: {
139
139
  type: PropType<string | number>;
140
- default: undefined;
140
+ default: number;
141
141
  };
142
142
  onChatSelect: {
143
143
  type: PropType<ChatPropsType["onChatSelect"]>;
@@ -538,16 +538,24 @@ export declare const chatProps: {
538
538
  colorSecondary: string;
539
539
  colorSecondaryHover: string;
540
540
  colorSecondaryPressed: string;
541
+ colorSecondaryFocus: string;
542
+ colorSecondaryDisabled: string;
543
+ textColorSecondaryDisabled: string;
541
544
  waveColorSecondary: string;
542
545
  colorTertiary: string;
543
546
  colorTertiaryHover: string;
544
547
  colorTertiaryPressed: string;
548
+ colorTertiaryFocus: string;
545
549
  colorTertiaryDisalbed: string;
546
550
  waveColorTertiary: string;
547
551
  textColorTextTertiary: string;
552
+ rippleColorTertiary: string;
548
553
  colorQuaternary: string;
549
554
  colorQuaternaryHover: string;
550
555
  colorQuaternaryPressed: string;
556
+ colorQuaternaryFocus: string;
557
+ rippleColorQuaternary: string;
558
+ waveColorQuaternary: string;
551
559
  color: string;
552
560
  colorHover: string;
553
561
  colorPressed: string;
@@ -1187,16 +1195,24 @@ export declare const chatProps: {
1187
1195
  colorSecondary: string;
1188
1196
  colorSecondaryHover: string;
1189
1197
  colorSecondaryPressed: string;
1198
+ colorSecondaryFocus: string;
1199
+ colorSecondaryDisabled: string;
1200
+ textColorSecondaryDisabled: string;
1190
1201
  waveColorSecondary: string;
1191
1202
  colorTertiary: string;
1192
1203
  colorTertiaryHover: string;
1193
1204
  colorTertiaryPressed: string;
1205
+ colorTertiaryFocus: string;
1194
1206
  colorTertiaryDisalbed: string;
1195
1207
  waveColorTertiary: string;
1196
1208
  textColorTextTertiary: string;
1209
+ rippleColorTertiary: string;
1197
1210
  colorQuaternary: string;
1198
1211
  colorQuaternaryHover: string;
1199
1212
  colorQuaternaryPressed: string;
1213
+ colorQuaternaryFocus: string;
1214
+ rippleColorQuaternary: string;
1215
+ waveColorQuaternary: string;
1200
1216
  color: string;
1201
1217
  colorHover: string;
1202
1218
  colorPressed: string;
@@ -1836,16 +1852,24 @@ export declare const chatProps: {
1836
1852
  colorSecondary: string;
1837
1853
  colorSecondaryHover: string;
1838
1854
  colorSecondaryPressed: string;
1855
+ colorSecondaryFocus: string;
1856
+ colorSecondaryDisabled: string;
1857
+ textColorSecondaryDisabled: string;
1839
1858
  waveColorSecondary: string;
1840
1859
  colorTertiary: string;
1841
1860
  colorTertiaryHover: string;
1842
1861
  colorTertiaryPressed: string;
1862
+ colorTertiaryFocus: string;
1843
1863
  colorTertiaryDisalbed: string;
1844
1864
  waveColorTertiary: string;
1845
1865
  textColorTextTertiary: string;
1866
+ rippleColorTertiary: string;
1846
1867
  colorQuaternary: string;
1847
1868
  colorQuaternaryHover: string;
1848
1869
  colorQuaternaryPressed: string;
1870
+ colorQuaternaryFocus: string;
1871
+ rippleColorQuaternary: string;
1872
+ waveColorQuaternary: string;
1849
1873
  color: string;
1850
1874
  colorHover: string;
1851
1875
  colorPressed: string;
@@ -2265,9 +2289,9 @@ declare const _default: import("vue").DefineComponent<{
2265
2289
  type: PropType<ChatPropsType["messagesLoadingCount"]>;
2266
2290
  default: number;
2267
2291
  };
2268
- maxHeight: {
2292
+ height: {
2269
2293
  type: PropType<string | number>;
2270
- default: undefined;
2294
+ default: number;
2271
2295
  };
2272
2296
  onChatSelect: {
2273
2297
  type: PropType<ChatPropsType["onChatSelect"]>;
@@ -2668,16 +2692,24 @@ declare const _default: import("vue").DefineComponent<{
2668
2692
  colorSecondary: string;
2669
2693
  colorSecondaryHover: string;
2670
2694
  colorSecondaryPressed: string;
2695
+ colorSecondaryFocus: string;
2696
+ colorSecondaryDisabled: string;
2697
+ textColorSecondaryDisabled: string;
2671
2698
  waveColorSecondary: string;
2672
2699
  colorTertiary: string;
2673
2700
  colorTertiaryHover: string;
2674
2701
  colorTertiaryPressed: string;
2702
+ colorTertiaryFocus: string;
2675
2703
  colorTertiaryDisalbed: string;
2676
2704
  waveColorTertiary: string;
2677
2705
  textColorTextTertiary: string;
2706
+ rippleColorTertiary: string;
2678
2707
  colorQuaternary: string;
2679
2708
  colorQuaternaryHover: string;
2680
2709
  colorQuaternaryPressed: string;
2710
+ colorQuaternaryFocus: string;
2711
+ rippleColorQuaternary: string;
2712
+ waveColorQuaternary: string;
2681
2713
  color: string;
2682
2714
  colorHover: string;
2683
2715
  colorPressed: string;
@@ -3317,16 +3349,24 @@ declare const _default: import("vue").DefineComponent<{
3317
3349
  colorSecondary: string;
3318
3350
  colorSecondaryHover: string;
3319
3351
  colorSecondaryPressed: string;
3352
+ colorSecondaryFocus: string;
3353
+ colorSecondaryDisabled: string;
3354
+ textColorSecondaryDisabled: string;
3320
3355
  waveColorSecondary: string;
3321
3356
  colorTertiary: string;
3322
3357
  colorTertiaryHover: string;
3323
3358
  colorTertiaryPressed: string;
3359
+ colorTertiaryFocus: string;
3324
3360
  colorTertiaryDisalbed: string;
3325
3361
  waveColorTertiary: string;
3326
3362
  textColorTextTertiary: string;
3363
+ rippleColorTertiary: string;
3327
3364
  colorQuaternary: string;
3328
3365
  colorQuaternaryHover: string;
3329
3366
  colorQuaternaryPressed: string;
3367
+ colorQuaternaryFocus: string;
3368
+ rippleColorQuaternary: string;
3369
+ waveColorQuaternary: string;
3330
3370
  color: string;
3331
3371
  colorHover: string;
3332
3372
  colorPressed: string;
@@ -3966,16 +4006,24 @@ declare const _default: import("vue").DefineComponent<{
3966
4006
  colorSecondary: string;
3967
4007
  colorSecondaryHover: string;
3968
4008
  colorSecondaryPressed: string;
4009
+ colorSecondaryFocus: string;
4010
+ colorSecondaryDisabled: string;
4011
+ textColorSecondaryDisabled: string;
3969
4012
  waveColorSecondary: string;
3970
4013
  colorTertiary: string;
3971
4014
  colorTertiaryHover: string;
3972
4015
  colorTertiaryPressed: string;
4016
+ colorTertiaryFocus: string;
3973
4017
  colorTertiaryDisalbed: string;
3974
4018
  waveColorTertiary: string;
3975
4019
  textColorTextTertiary: string;
4020
+ rippleColorTertiary: string;
3976
4021
  colorQuaternary: string;
3977
4022
  colorQuaternaryHover: string;
3978
4023
  colorQuaternaryPressed: string;
4024
+ colorQuaternaryFocus: string;
4025
+ rippleColorQuaternary: string;
4026
+ waveColorQuaternary: string;
3979
4027
  color: string;
3980
4028
  colorHover: string;
3981
4029
  colorPressed: string;
@@ -4620,16 +4668,24 @@ declare const _default: import("vue").DefineComponent<{
4620
4668
  colorSecondary: string;
4621
4669
  colorSecondaryHover: string;
4622
4670
  colorSecondaryPressed: string;
4671
+ colorSecondaryFocus: string;
4672
+ colorSecondaryDisabled: string;
4673
+ textColorSecondaryDisabled: string;
4623
4674
  waveColorSecondary: string;
4624
4675
  colorTertiary: string;
4625
4676
  colorTertiaryHover: string;
4626
4677
  colorTertiaryPressed: string;
4678
+ colorTertiaryFocus: string;
4627
4679
  colorTertiaryDisalbed: string;
4628
4680
  waveColorTertiary: string;
4629
4681
  textColorTextTertiary: string;
4682
+ rippleColorTertiary: string;
4630
4683
  colorQuaternary: string;
4631
4684
  colorQuaternaryHover: string;
4632
4685
  colorQuaternaryPressed: string;
4686
+ colorQuaternaryFocus: string;
4687
+ rippleColorQuaternary: string;
4688
+ waveColorQuaternary: string;
4633
4689
  color: string;
4634
4690
  colorHover: string;
4635
4691
  colorPressed: string;
@@ -5313,9 +5369,9 @@ declare const _default: import("vue").DefineComponent<{
5313
5369
  type: PropType<ChatPropsType["messagesLoadingCount"]>;
5314
5370
  default: number;
5315
5371
  };
5316
- maxHeight: {
5372
+ height: {
5317
5373
  type: PropType<string | number>;
5318
- default: undefined;
5374
+ default: number;
5319
5375
  };
5320
5376
  onChatSelect: {
5321
5377
  type: PropType<ChatPropsType["onChatSelect"]>;
@@ -5716,16 +5772,24 @@ declare const _default: import("vue").DefineComponent<{
5716
5772
  colorSecondary: string;
5717
5773
  colorSecondaryHover: string;
5718
5774
  colorSecondaryPressed: string;
5775
+ colorSecondaryFocus: string;
5776
+ colorSecondaryDisabled: string;
5777
+ textColorSecondaryDisabled: string;
5719
5778
  waveColorSecondary: string;
5720
5779
  colorTertiary: string;
5721
5780
  colorTertiaryHover: string;
5722
5781
  colorTertiaryPressed: string;
5782
+ colorTertiaryFocus: string;
5723
5783
  colorTertiaryDisalbed: string;
5724
5784
  waveColorTertiary: string;
5725
5785
  textColorTextTertiary: string;
5786
+ rippleColorTertiary: string;
5726
5787
  colorQuaternary: string;
5727
5788
  colorQuaternaryHover: string;
5728
5789
  colorQuaternaryPressed: string;
5790
+ colorQuaternaryFocus: string;
5791
+ rippleColorQuaternary: string;
5792
+ waveColorQuaternary: string;
5729
5793
  color: string;
5730
5794
  colorHover: string;
5731
5795
  colorPressed: string;
@@ -6365,16 +6429,24 @@ declare const _default: import("vue").DefineComponent<{
6365
6429
  colorSecondary: string;
6366
6430
  colorSecondaryHover: string;
6367
6431
  colorSecondaryPressed: string;
6432
+ colorSecondaryFocus: string;
6433
+ colorSecondaryDisabled: string;
6434
+ textColorSecondaryDisabled: string;
6368
6435
  waveColorSecondary: string;
6369
6436
  colorTertiary: string;
6370
6437
  colorTertiaryHover: string;
6371
6438
  colorTertiaryPressed: string;
6439
+ colorTertiaryFocus: string;
6372
6440
  colorTertiaryDisalbed: string;
6373
6441
  waveColorTertiary: string;
6374
6442
  textColorTextTertiary: string;
6443
+ rippleColorTertiary: string;
6375
6444
  colorQuaternary: string;
6376
6445
  colorQuaternaryHover: string;
6377
6446
  colorQuaternaryPressed: string;
6447
+ colorQuaternaryFocus: string;
6448
+ rippleColorQuaternary: string;
6449
+ waveColorQuaternary: string;
6378
6450
  color: string;
6379
6451
  colorHover: string;
6380
6452
  colorPressed: string;
@@ -7014,16 +7086,24 @@ declare const _default: import("vue").DefineComponent<{
7014
7086
  colorSecondary: string;
7015
7087
  colorSecondaryHover: string;
7016
7088
  colorSecondaryPressed: string;
7089
+ colorSecondaryFocus: string;
7090
+ colorSecondaryDisabled: string;
7091
+ textColorSecondaryDisabled: string;
7017
7092
  waveColorSecondary: string;
7018
7093
  colorTertiary: string;
7019
7094
  colorTertiaryHover: string;
7020
7095
  colorTertiaryPressed: string;
7096
+ colorTertiaryFocus: string;
7021
7097
  colorTertiaryDisalbed: string;
7022
7098
  waveColorTertiary: string;
7023
7099
  textColorTextTertiary: string;
7100
+ rippleColorTertiary: string;
7024
7101
  colorQuaternary: string;
7025
7102
  colorQuaternaryHover: string;
7026
7103
  colorQuaternaryPressed: string;
7104
+ colorQuaternaryFocus: string;
7105
+ rippleColorQuaternary: string;
7106
+ waveColorQuaternary: string;
7027
7107
  color: string;
7028
7108
  colorHover: string;
7029
7109
  colorPressed: string;
@@ -7325,7 +7405,7 @@ declare const _default: import("vue").DefineComponent<{
7325
7405
  retryText: string | undefined;
7326
7406
  closeButtonText: string | undefined;
7327
7407
  unreadNotificationText: string | undefined;
7328
- maxHeight: string | number;
7408
+ height: string | number;
7329
7409
  emptyProps: Partial<Partial<import("../..").EmptyProps> | undefined>;
7330
7410
  chatItems: ChatListItemData[] | undefined;
7331
7411
  selectedChatId: import("./interface").ChatId | undefined;
@@ -106,9 +106,9 @@ export const chatProps = Object.assign(Object.assign({}, useTheme.props), { chat
106
106
  }, messagesLoadingCount: {
107
107
  type: Number,
108
108
  default: 10
109
- }, maxHeight: {
109
+ }, height: {
110
110
  type: [String, Number],
111
- default: undefined
111
+ default: 800
112
112
  }, onChatSelect: {
113
113
  type: Function,
114
114
  default: undefined
@@ -317,6 +317,7 @@ export default defineComponent({
317
317
  const mergedUnreadNotificationTextRef = computed(() => { var _a; return (_a = props.unreadNotificationText) !== null && _a !== void 0 ? _a : localeRef.value.unreadNotificationText; });
318
318
  provide(chatInjectionKey, {
319
319
  mergedClsPrefixRef,
320
+ mergedThemeRef: themeRef,
320
321
  chatItemsRef: toRef(props, 'chatItems'),
321
322
  selectedChatIdRef: mergedSelectedChatIdRef,
322
323
  selectedChatRef,
@@ -375,14 +376,12 @@ export default defineComponent({
375
376
  var _a;
376
377
  const { $slots } = this;
377
378
  (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
378
- const maxHeightStyle = this.maxHeight
379
+ const heightStyle = this.height
379
380
  ? {
380
- maxHeight: typeof this.maxHeight === 'number'
381
- ? `${this.maxHeight}px`
382
- : this.maxHeight
381
+ height: typeof this.height === 'number' ? `${this.height}px` : this.height
383
382
  }
384
383
  : {};
385
- return (h("div", { class: [`${this.mergedClsPrefix}-chat`, this.themeClass], style: Object.assign(Object.assign({}, maxHeightStyle), this.cssVars) },
384
+ return (h("div", { class: [`${this.mergedClsPrefix}-chat`, this.themeClass], style: Object.assign(Object.assign({}, heightStyle), this.cssVars) },
386
385
  h(UFlex, { wrap: false, size: [20, 20], style: { width: '100%' } }, {
387
386
  default: () => (h(Fragment, null,
388
387
  resolveSlot($slots.sidebar, () => [
@@ -391,11 +390,12 @@ export default defineComponent({
391
390
  sidebarHeaderActions: $slots.sidebarHeaderActions
392
391
  })
393
392
  ]),
394
- resolveSlot($slots.default, () => [
395
- h(ChatMainArea, null, {
396
- headerActions: $slots.headerActions
397
- })
398
- ])))
393
+ this.selectedChatId &&
394
+ resolveSlot($slots.default, () => [
395
+ h(ChatMainArea, null, {
396
+ headerActions: $slots.headerActions
397
+ })
398
+ ])))
399
399
  })));
400
400
  }
401
401
  });