@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,5 +1,5 @@
1
- import { h, defineComponent, computed, Fragment } from 'vue';
2
- import { MessageStatus } from './interface';
1
+ import { h, defineComponent, computed, inject, Fragment } from 'vue';
2
+ import { MessageStatus, ChatMessageType, ChatMarkType, chatInjectionKey } from './interface';
3
3
  import ChatAttachmentComponent from './ChatParts/ChatAttachment';
4
4
  import { UIcon } from '../../icon';
5
5
  import { USkeleton } from '../../skeleton';
@@ -53,10 +53,11 @@ export const chatMessagesProps = Object.assign(Object.assign({}, useTheme.props)
53
53
  export default defineComponent({
54
54
  name: 'ChatMessages',
55
55
  props: chatMessagesProps,
56
- emits: ['message-retry'],
57
- setup(props, { slots, emit }) {
56
+ setup(props, { slots }) {
57
+ var _a;
58
+ const UChat = inject(chatInjectionKey, null);
58
59
  const { mergedClsPrefixRef } = useConfig(props);
59
- const themeRef = useTheme('Chat', '-chat', style, chatLight, props, mergedClsPrefixRef);
60
+ const themeRef = (_a = UChat === null || UChat === void 0 ? void 0 : UChat.mergedThemeRef) !== null && _a !== void 0 ? _a : useTheme('Chat', '-chat', style, chatLight, props, mergedClsPrefixRef);
60
61
  const { localeRef } = useLocale('Chat');
61
62
  const cssVarsRef = computed(() => {
62
63
  const { common: { cubicBezierEaseInOut, brandPrimary500, staticGreen, staticRed, textPrimary, textSecondary, textTertiary }, self: { backgroundColor, borderColor, mainBackgroundColor, headerBackgroundColor, headerBorderColor, headerTitleColor, messageBubbleBackgroundColorOwn, messageBubbleBackgroundColorOther, messageBubbleTextColorOwn, messageBubbleTextColorOther, messageTimeColor, messageStatusColor, attachmentBackgroundColorOwn, attachmentBackgroundColorOther, unreadNotificationBackgroundColor, unreadNotificationTextColor, typingIndicatorColor, dateSeparatorColor, dateSeparatorBackgroundColor, borderRadius, errorColor } } = themeRef.value;
@@ -101,7 +102,6 @@ export default defineComponent({
101
102
  });
102
103
  const handleMessageRetry = (message) => {
103
104
  var _a;
104
- emit('message-retry', message);
105
105
  (_a = props.onMessageRetry) === null || _a === void 0 ? void 0 : _a.call(props, message);
106
106
  };
107
107
  const renderDateSeparator = (date) => {
@@ -117,6 +117,17 @@ export default defineComponent({
117
117
  " ",
118
118
  mergedUnreadNotificationTextRef.value)));
119
119
  };
120
+ const renderMarkMessage = (message) => {
121
+ const markTypeClass = message.markType === ChatMarkType.SYSTEM
122
+ ? 'system'
123
+ : message.markType === ChatMarkType.EVENT
124
+ ? 'event'
125
+ : 'divider';
126
+ return (h("div", { key: message.id, class: [
127
+ `${mergedClsPrefixRef.value}-chat-main__mark`,
128
+ `${mergedClsPrefixRef.value}-chat-main__mark--${markTypeClass}`
129
+ ] }, message.content && h("span", null, message.content)));
130
+ };
120
131
  const renderMessage = (message) => {
121
132
  const isOwn = message.isOwn;
122
133
  const attachments = message.attachment
@@ -157,7 +168,7 @@ export default defineComponent({
157
168
  ] }, message.status === MessageStatus.RETRY ? (h("div", { class: `${mergedClsPrefixRef.value}-chat-main__message-retry`, onClick: () => {
158
169
  handleMessageRetry(message);
159
170
  }, style: { cursor: 'pointer' } },
160
- h(UIcon, { size: 16, component: statusIconMapper[MessageStatus.RETRY], class: `${mergedClsPrefixRef.value}-chat-main__message-retry-icon` }),
171
+ h(UIcon, { size: 16, component: statusIconMapper[MessageStatus.RETRY], class: `${mergedClsPrefixRef.value}-chat-main__message-retry-icon`, theme: themeRef.value.peers.Icon, themeOverrides: themeRef.value.peerOverrides.Icon }),
161
172
  h("span", { class: `${mergedClsPrefixRef.value}-chat-main__message-retry-text` }, mergedRetryTextRef.value))) : (h(Fragment, null,
162
173
  h("span", { class: `${mergedClsPrefixRef.value}-chat-main__message-time` }, message.timestamp),
163
174
  isOwn && message.status && (h("div", { class: `${mergedClsPrefixRef.value}-chat-main__message-status` }, slots.messageStatus
@@ -165,7 +176,7 @@ export default defineComponent({
165
176
  : statusIconMapper[message.status] && (h(UIcon, { size: 16, component: statusIconMapper[message.status], class: [
166
177
  `${mergedClsPrefixRef.value}-chat-main__message-status-icon`,
167
178
  `${mergedClsPrefixRef.value}-chat-main__message-status-icon--${String(message.status)}`
168
- ] }))))))))));
179
+ ], theme: themeRef.value.peers.Icon, themeOverrides: themeRef.value.peerOverrides.Icon }))))))))));
169
180
  };
170
181
  const renderTypingIndicator = () => {
171
182
  return (h("div", { class: [
@@ -210,7 +221,9 @@ export default defineComponent({
210
221
  };
211
222
  return {
212
223
  mergedClsPrefixRef,
224
+ mergedTheme: themeRef,
213
225
  renderMessage,
226
+ renderMarkMessage,
214
227
  renderTypingIndicator,
215
228
  renderSkeletonMessage,
216
229
  renderDateSeparator,
@@ -223,7 +236,7 @@ export default defineComponent({
223
236
  render() {
224
237
  var _a, _b, _c;
225
238
  (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
226
- const { mergedClsPrefixRef, renderMessage, renderTypingIndicator, renderSkeletonMessage, renderDateSeparator, renderUnreadNotification } = this;
239
+ const { mergedClsPrefixRef, renderMessage, renderMarkMessage, renderTypingIndicator, renderSkeletonMessage, renderDateSeparator, renderUnreadNotification } = this;
227
240
  if (this.loading) {
228
241
  return (h("div", { class: [`${mergedClsPrefixRef}-chat`, this.themeClass], style: this.cssVars },
229
242
  h("div", { class: `${mergedClsPrefixRef}-chat-main`, style: {
@@ -301,7 +314,11 @@ export default defineComponent({
301
314
  if (item.type === 'unread-notification') {
302
315
  return renderUnreadNotification();
303
316
  }
304
- return renderMessage(item);
317
+ const message = item;
318
+ if (message.type === ChatMessageType.MARK) {
319
+ return renderMarkMessage(message);
320
+ }
321
+ return renderMessage(message);
305
322
  }),
306
323
  isTyping && renderTypingIndicator()))));
307
324
  }
@@ -24,7 +24,7 @@ const SENDING_DELAY = 100;
24
24
  export default defineComponent({
25
25
  name: 'ChatMainArea',
26
26
  setup(_, { slots }) {
27
- const { mergedClsPrefixRef, selectedChatRef, messagesRef, typingChatIdsRef, messagesLoadingRef, messagesLoadingCountRef, headerButtonPropsRef, headerIconPropsRef, messageUploadPropsRef, footerInputPropsRef, footerButtonPropsRef, footerUploadPropsRef, footerIconPropsRef, inputPlaceholderRef, retryTextRef, typingTextRef, closeButtonTextRef, unreadNotificationTextRef, notificationsShownSetRef, unreadCountsBeforeReadRef, markNotificationShown, handleMessageSend, handleMessageRetry, onChatClose, onChatShare, onUserProfile
27
+ const { mergedClsPrefixRef, mergedThemeRef, selectedChatRef, messagesRef, typingChatIdsRef, messagesLoadingRef, messagesLoadingCountRef, headerButtonPropsRef, headerIconPropsRef, messageUploadPropsRef, footerInputPropsRef, footerButtonPropsRef, footerUploadPropsRef, footerIconPropsRef, inputPlaceholderRef, retryTextRef, typingTextRef, closeButtonTextRef, unreadNotificationTextRef, notificationsShownSetRef, unreadCountsBeforeReadRef, markNotificationShown, handleMessageSend, handleMessageRetry, onChatClose, onChatShare, onUserProfile
28
28
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
29
29
  } = inject(chatInjectionKey);
30
30
  const messagesBodyRef = ref();
@@ -131,22 +131,22 @@ export default defineComponent({
131
131
  return (h("div", { class: `${mergedClsPrefixRef.value}-chat-main__header` },
132
132
  h(UFlex, { justify: "space-between", align: "flex-start" }, {
133
133
  default: () => (h(Fragment, null,
134
- h(UText, { variant: "heading-s-bold", class: `${mergedClsPrefixRef.value}-chat-main__header-title` }, {
134
+ h(UText, { variant: "heading-s-bold", class: `${mergedClsPrefixRef.value}-chat-main__header-title`, theme: mergedThemeRef.value.peers.Typography, themeOverrides: mergedThemeRef.value.peerOverrides.Typography }, {
135
135
  default: () => { var _a; return ((_a = selectedChatRef.value) === null || _a === void 0 ? void 0 : _a.title) || 'Select a chat'; }
136
136
  }),
137
137
  h(UFlex, { align: "center", size: "small", class: `${mergedClsPrefixRef.value}-chat-main__header-actions` }, {
138
138
  default: () => resolveSlot(slots.headerActions, () => [
139
- h(UButton, Object.assign({ secondary: true, circle: true, size: "large" }, headerButtonPropsRef.value, { onClick: () => { var _a; return (_a = onChatShare === null || onChatShare === void 0 ? void 0 : onChatShare.value) === null || _a === void 0 ? void 0 : _a.call(onChatShare); } }), {
140
- default: () => (h(UIcon, Object.assign({ size: 20 }, headerIconPropsRef.value), {
139
+ h(UButton, Object.assign({ secondary: true, circle: true, size: "large" }, headerButtonPropsRef.value, { theme: mergedThemeRef.value.peers.Button, themeOverrides: mergedThemeRef.value.peerOverrides.Button, onClick: () => { var _a; return (_a = onChatShare === null || onChatShare === void 0 ? void 0 : onChatShare.value) === null || _a === void 0 ? void 0 : _a.call(onChatShare); } }), {
140
+ default: () => (h(UIcon, Object.assign({ size: 20 }, headerIconPropsRef.value, { theme: mergedThemeRef.value.peers.Icon, themeOverrides: mergedThemeRef.value.peerOverrides.Icon }), {
141
141
  default: () => h(ArrowHookUpRight, null)
142
142
  }))
143
143
  }),
144
- h(UButton, Object.assign({ secondary: true, circle: true, size: "large" }, headerButtonPropsRef.value, { onClick: () => { var _a; return (_a = onUserProfile === null || onUserProfile === void 0 ? void 0 : onUserProfile.value) === null || _a === void 0 ? void 0 : _a.call(onUserProfile); } }), {
145
- default: () => (h(UIcon, Object.assign({ size: 20 }, headerIconPropsRef.value), {
144
+ h(UButton, Object.assign({ secondary: true, circle: true, size: "large" }, headerButtonPropsRef.value, { theme: mergedThemeRef.value.peers.Button, themeOverrides: mergedThemeRef.value.peerOverrides.Button, onClick: () => { var _a; return (_a = onUserProfile === null || onUserProfile === void 0 ? void 0 : onUserProfile.value) === null || _a === void 0 ? void 0 : _a.call(onUserProfile); } }), {
145
+ default: () => (h(UIcon, Object.assign({ size: 20 }, headerIconPropsRef.value, { theme: mergedThemeRef.value.peers.Icon, themeOverrides: mergedThemeRef.value.peerOverrides.Icon }), {
146
146
  default: () => h(PersonNote, null)
147
147
  }))
148
148
  }),
149
- h(UButton, Object.assign({ type: "primary", size: "large", round: true }, headerButtonPropsRef.value, { onClick: () => { var _a; return (_a = onChatClose === null || onChatClose === void 0 ? void 0 : onChatClose.value) === null || _a === void 0 ? void 0 : _a.call(onChatClose); } }), {
149
+ h(UButton, Object.assign({ type: "primary", size: "large", round: true }, headerButtonPropsRef.value, { theme: mergedThemeRef.value.peers.Button, themeOverrides: mergedThemeRef.value.peerOverrides.Button, onClick: () => { var _a; return (_a = onChatClose === null || onChatClose === void 0 ? void 0 : onChatClose.value) === null || _a === void 0 ? void 0 : _a.call(onChatClose); } }), {
150
150
  default: () => closeButtonTextRef.value
151
151
  })
152
152
  ])
@@ -257,13 +257,13 @@ export default defineComponent({
257
257
  default: () => (h(UFlex, { align: "center", size: "small", class: `${mergedClsPrefixRef.value}-chat-main__input-container` }, {
258
258
  default: () => (h(Fragment, null,
259
259
  h(UUploadTrigger, { abstract: true }, {
260
- default: ({ handleClick }) => (h(UButton, Object.assign({ secondary: true, size: "large", class: `${mergedClsPrefixRef.value}-chat-main__attach-btn` }, footerButtonPropsRef.value, { onClick: handleClick }), {
261
- default: () => (h(UIcon, Object.assign({ size: 24 }, footerIconPropsRef.value), {
260
+ default: ({ handleClick }) => (h(UButton, Object.assign({ secondary: true, size: "large", class: `${mergedClsPrefixRef.value}-chat-main__attach-btn` }, footerButtonPropsRef.value, { theme: mergedThemeRef.value.peers.Button, themeOverrides: mergedThemeRef.value.peerOverrides.Button, onClick: handleClick }), {
261
+ default: () => (h(UIcon, Object.assign({ size: 24 }, footerIconPropsRef.value, { theme: mergedThemeRef.value.peers.Icon, themeOverrides: mergedThemeRef.value.peerOverrides.Icon }), {
262
262
  default: () => h(AttachIcon, null)
263
263
  }))
264
264
  }))
265
265
  }),
266
- h(UInput, Object.assign({ ref: "inputRef", value: inputValue.value, placeholder: inputPlaceholderRef.value, class: `${mergedClsPrefixRef.value}-chat-main__input` }, footerInputPropsRef.value, { onUpdateValue: (value) => {
266
+ h(UInput, Object.assign({ ref: "inputRef", value: inputValue.value, placeholder: inputPlaceholderRef.value, class: `${mergedClsPrefixRef.value}-chat-main__input` }, footerInputPropsRef.value, { theme: mergedThemeRef.value.peers.Input, themeOverrides: mergedThemeRef.value.peerOverrides.Input, onUpdateValue: (value) => {
267
267
  inputValue.value = value;
268
268
  if (selectedChatRef.value) {
269
269
  chatInputs.value[selectedChatRef.value.id] = value;
@@ -10,7 +10,7 @@ export default defineComponent({
10
10
  },
11
11
  render() {
12
12
  const { slots } = this;
13
- const { mergedClsPrefixRef, chatItemsRef, chatItemsLoadingRef, chatItemsLoadingCountRef, listEmptyPropsRef, selectedChatIdRef, typingChatIdsRef, typingTextRef, listItemAvatarPropsRef, listItemBadgePropsRef, notificationsShownSetRef, handleChatSelect
13
+ const { mergedClsPrefixRef, mergedThemeRef, chatItemsRef, chatItemsLoadingRef, chatItemsLoadingCountRef, listEmptyPropsRef, selectedChatIdRef, typingChatIdsRef, typingTextRef, listItemAvatarPropsRef, listItemBadgePropsRef, notificationsShownSetRef, handleChatSelect
14
14
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
15
15
  } = inject(chatInjectionKey);
16
16
  const renderListHeader = () => {
@@ -19,7 +19,7 @@ export default defineComponent({
19
19
  default: () => {
20
20
  var _a, _b;
21
21
  return (h(Fragment, null,
22
- h("div", { class: `${mergedClsPrefixRef.value}-chat-sidebar__header-main` }, ((_a = slots.sidebarHeaderMain) === null || _a === void 0 ? void 0 : _a.call(slots)) || (h(USelect, { round: true, size: "small" }))),
22
+ h("div", { class: `${mergedClsPrefixRef.value}-chat-sidebar__header-main` }, ((_a = slots.sidebarHeaderMain) === null || _a === void 0 ? void 0 : _a.call(slots)) || (h(USelect, { round: true, size: "tiny", theme: mergedThemeRef.value.peers.Select, themeOverrides: mergedThemeRef.value.peerOverrides.Select }))),
23
23
  h("div", { class: `${mergedClsPrefixRef.value}-chat-sidebar__header-actions` }, (_b = slots.sidebarHeaderActions) === null || _b === void 0 ? void 0 : _b.call(slots))));
24
24
  }
25
25
  })));
@@ -6,6 +6,8 @@ import type { IconProps } from '../../icon';
6
6
  import type { BadgeProps } from '../../badge';
7
7
  import { EmptyProps } from '../../empty';
8
8
  import { InputProps } from '../../input';
9
+ import type { ChatTheme } from '../styles';
10
+ import type { MergedTheme } from '../../_mixins';
9
11
  export declare enum MessageStatus {
10
12
  READ = "read",
11
13
  UNREAD = "unread",
@@ -69,6 +71,7 @@ export interface ChatMessageData {
69
71
  uploadProps?: Partial<UploadProps>;
70
72
  senderAvatar?: string | (() => VNodeChild);
71
73
  senderName?: string | (() => VNodeChild);
74
+ markType?: ChatMarkType;
72
75
  }
73
76
  export interface ChatMessageProps {
74
77
  id: ChatId;
@@ -241,6 +244,7 @@ export interface ChatListInst {
241
244
  }
242
245
  export declare const chatInjectionKey: InjectionKey<{
243
246
  mergedClsPrefixRef: Ref<string>;
247
+ mergedThemeRef: Ref<MergedTheme<ChatTheme>>;
244
248
  chatItemsRef: Ref<ChatListItemData[] | undefined>;
245
249
  selectedChatIdRef: Ref<ChatId | undefined>;
246
250
  selectedChatRef: Ref<ChatListItemData | undefined>;
@@ -1,10 +1,7 @@
1
1
  import { c, cB, cE, cM } from '../../../_utils/cssr';
2
2
  export default cB('chat', `
3
3
  height: 100%;
4
- max-height: 100%;
5
- min-height: 0;
6
- display: flex;
7
- overflow: hidden;
4
+ background-color: transparent;
8
5
  box-sizing: border-box;
9
6
  .u-list-item__text {
10
7
  grid-template-columns: 1fr !important;
@@ -13,7 +10,6 @@ export default cB('chat', `
13
10
  height: 100%;
14
11
  max-height: 100%;
15
12
  min-height: 0;
16
- overflow: hidden;
17
13
  }
18
14
  `, [cB('chat-sidebar', `
19
15
  max-width: 388px;
@@ -24,7 +20,6 @@ export default cB('chat', `
24
20
  background-color: var(--u-sidebar-background-color);
25
21
  border: 1px solid var(--u-sidebar-border-color);
26
22
  border-radius: 20px;
27
- overflow: hidden;
28
23
  `, [cE('header', `
29
24
  flex-shrink: 0;
30
25
  `), cE('header-container', `
@@ -138,7 +133,6 @@ export default cB('chat', `
138
133
  `), cE('item-status sup', `
139
134
  padding: 2px 6px 2px 5px;
140
135
  height: 22px;
141
- --u-color: var(--u-unread-notification-background-color);
142
136
  `), cE('item-status-icon', `
143
137
  color: var(--u-sidebar-item-time-color);
144
138
  `, [cM('read', `
@@ -160,7 +154,6 @@ export default cB('chat', `
160
154
  height: 100%;
161
155
  max-height: 100%;
162
156
  min-height: 0;
163
- overflow: hidden;
164
157
  `, [cE('header', `
165
158
  border-bottom: 1px solid var(--u-border-color);
166
159
  width: 100%;
@@ -176,7 +169,7 @@ export default cB('chat', `
176
169
  color: var(--u-unread-notification-text-color);
177
170
  padding: 6px 12px;
178
171
  text-align: center;
179
- font-size: 12px;
172
+ font-size: 14px;
180
173
  font-weight: 500;
181
174
  margin: 8px 0;
182
175
  display: flex;
@@ -210,8 +203,19 @@ export default cB('chat', `
210
203
  color: var(--u-date-separator-color);
211
204
  padding: 4px 12px;
212
205
  border-radius: 12px;
213
- font-size: 12px;
206
+ font-size: 14px;
214
207
  font-weight: 500;
208
+ `)]), cE('mark', `
209
+ display: flex;
210
+ justify-content: center;
211
+ margin: 12px 0;
212
+ width: 100%;
213
+ `, [c('span', `
214
+ padding: 6px 12px;
215
+ border-radius: 8px;
216
+ color: var(--u-text-color-secondary);
217
+ background-color: var(--u-date-separator-background-color);
218
+ text-align: center;
215
219
  `)]), cE('message', `
216
220
  display: flex;
217
221
  margin-bottom: 8px;
@@ -327,13 +331,6 @@ export default cB('chat', `
327
331
  `), cE('input', `
328
332
  flex: 1;
329
333
  margin-right: 4px;
330
- --u-color: #F3F4F6 !important;
331
- --u-color-focus: #F3F4F6 !important;
332
- --u-border: none !important;
333
- --u-border-focus: none !important;
334
- --u-border-hover: none !important;
335
- --u-box-shadow: none !important;
336
- --u-box-shadow-focus: none !important;
337
334
  `), cE('attach-btn', `
338
335
  margin-left: 4px;
339
336
  flex-shrink: 0;
@@ -353,16 +353,24 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
353
353
  colorSecondary: string;
354
354
  colorSecondaryHover: string;
355
355
  colorSecondaryPressed: string;
356
+ colorSecondaryFocus: string;
357
+ colorSecondaryDisabled: string;
358
+ textColorSecondaryDisabled: string;
356
359
  waveColorSecondary: string;
357
360
  colorTertiary: string;
358
361
  colorTertiaryHover: string;
359
362
  colorTertiaryPressed: string;
363
+ colorTertiaryFocus: string;
360
364
  colorTertiaryDisalbed: string;
361
365
  waveColorTertiary: string;
362
366
  textColorTextTertiary: string;
367
+ rippleColorTertiary: string;
363
368
  colorQuaternary: string;
364
369
  colorQuaternaryHover: string;
365
370
  colorQuaternaryPressed: string;
371
+ colorQuaternaryFocus: string;
372
+ rippleColorQuaternary: string;
373
+ waveColorQuaternary: string;
366
374
  color: string;
367
375
  colorHover: string;
368
376
  colorPressed: string;
@@ -35,7 +35,6 @@ export declare const self: (vars: ThemeCommonVars) => {
35
35
  borderRadius: string;
36
36
  errorColor: string;
37
37
  };
38
- export type ChatThemeVars = ReturnType<typeof self>;
39
38
  declare const chatLight: import("../../_mixins").Theme<"Chat", {
40
39
  backgroundColor: string;
41
40
  borderColor: string;
@@ -391,16 +390,24 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
391
390
  colorSecondary: string;
392
391
  colorSecondaryHover: string;
393
392
  colorSecondaryPressed: string;
393
+ colorSecondaryFocus: string;
394
+ colorSecondaryDisabled: string;
395
+ textColorSecondaryDisabled: string;
394
396
  waveColorSecondary: string;
395
397
  colorTertiary: string;
396
398
  colorTertiaryHover: string;
397
399
  colorTertiaryPressed: string;
400
+ colorTertiaryFocus: string;
398
401
  colorTertiaryDisalbed: string;
399
402
  waveColorTertiary: string;
400
403
  textColorTextTertiary: string;
404
+ rippleColorTertiary: string;
401
405
  colorQuaternary: string;
402
406
  colorQuaternaryHover: string;
403
407
  colorQuaternaryPressed: string;
408
+ colorQuaternaryFocus: string;
409
+ rippleColorQuaternary: string;
410
+ waveColorQuaternary: string;
404
411
  color: string;
405
412
  colorHover: string;
406
413
  colorPressed: string;
@@ -686,4 +693,5 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
686
693
  }, any>;
687
694
  }>;
688
695
  export default chatLight;
696
+ export type ChatThemeVars = ReturnType<typeof self>;
689
697
  export type ChatTheme = typeof chatLight;
@@ -1,14 +1,26 @@
1
1
  import { inputLight } from '../../input/styles';
2
+ import { self as inputSelf } from '../../input/styles/light';
2
3
  import { emptyLight } from '../../empty/styles';
3
4
  import { selectLight } from '../../select/styles';
4
5
  import { avatarLight } from '../../avatar/styles';
5
6
  import { badgeLight } from '../../badge/styles';
7
+ import { self as badgeSelf } from '../../badge/styles/light';
6
8
  import { buttonLight } from '../../button/styles';
7
9
  import { iconLight } from '../../icon/styles';
8
10
  import { listLight } from '../../list/styles';
9
11
  import { typographyLight } from '../../typography/styles';
10
12
  import { commonLight } from '../../_styles/common';
11
13
  import { createTheme } from '../../_mixins';
14
+ const chatInputLight = Object.assign(Object.assign({}, inputLight), { self(vars) {
15
+ const originalInputSelf = inputSelf(vars);
16
+ const { elementsTertiary } = vars;
17
+ return Object.assign(Object.assign({}, originalInputSelf), { color: elementsTertiary, colorFocus: elementsTertiary, border: 'none', borderFocus: 'none', borderHover: 'none', boxShadow: 'none', boxShadowFocus: 'none' });
18
+ } });
19
+ const chatBadgeLight = Object.assign(Object.assign({}, badgeLight), { self(vars) {
20
+ const originalBadgeSelf = badgeSelf(vars);
21
+ const { brandPrimary400, elementsSecondary } = vars;
22
+ return Object.assign(Object.assign({}, originalBadgeSelf), { color: brandPrimary400, textColor: elementsSecondary });
23
+ } });
12
24
  export const self = (vars) => {
13
25
  const { borderRadiusLarge, elementsQuaternary, elementsTertiary, textTertiary, textPrimary, textSecondary, surfacePrimary, brandPrimary500, brandPrimary400, transparencySecondary, elementsSecondary, elementsDarkQuinary, staticRed, staticWhite } = vars;
14
26
  return {
@@ -43,7 +55,7 @@ export const self = (vars) => {
43
55
  unreadNotificationTextColor: elementsSecondary,
44
56
  typingIndicatorColor: textSecondary,
45
57
  dateSeparatorColor: textTertiary,
46
- dateSeparatorBackgroundColor: elementsTertiary,
58
+ dateSeparatorBackgroundColor: 'transparent',
47
59
  borderRadius: borderRadiusLarge,
48
60
  errorColor: staticRed
49
61
  };
@@ -52,11 +64,11 @@ const chatLight = createTheme({
52
64
  name: 'Chat',
53
65
  common: commonLight,
54
66
  peers: {
55
- Input: inputLight,
67
+ Input: chatInputLight,
56
68
  Empty: emptyLight,
57
69
  Select: selectLight,
58
70
  Avatar: avatarLight,
59
- Badge: badgeLight,
71
+ Badge: chatBadgeLight,
60
72
  Button: buttonLight,
61
73
  Icon: iconLight,
62
74
  List: listLight,
@@ -122,16 +122,24 @@ declare const _default: import("vue").DefineComponent<{
122
122
  colorSecondary: string;
123
123
  colorSecondaryHover: string;
124
124
  colorSecondaryPressed: string;
125
+ colorSecondaryFocus: string;
126
+ colorSecondaryDisabled: string;
127
+ textColorSecondaryDisabled: string;
125
128
  waveColorSecondary: string;
126
129
  colorTertiary: string;
127
130
  colorTertiaryHover: string;
128
131
  colorTertiaryPressed: string;
132
+ colorTertiaryFocus: string;
129
133
  colorTertiaryDisalbed: string;
130
134
  waveColorTertiary: string;
131
135
  textColorTextTertiary: string;
136
+ rippleColorTertiary: string;
132
137
  colorQuaternary: string;
133
138
  colorQuaternaryHover: string;
134
139
  colorQuaternaryPressed: string;
140
+ colorQuaternaryFocus: string;
141
+ rippleColorQuaternary: string;
142
+ waveColorQuaternary: string;
135
143
  color: string;
136
144
  colorHover: string;
137
145
  colorPressed: string;
@@ -152,16 +152,24 @@ export declare const colorPickerProps: {
152
152
  colorSecondary: string;
153
153
  colorSecondaryHover: string;
154
154
  colorSecondaryPressed: string;
155
+ colorSecondaryFocus: string;
156
+ colorSecondaryDisabled: string;
157
+ textColorSecondaryDisabled: string;
155
158
  waveColorSecondary: string;
156
159
  colorTertiary: string;
157
160
  colorTertiaryHover: string;
158
161
  colorTertiaryPressed: string;
162
+ colorTertiaryFocus: string;
159
163
  colorTertiaryDisalbed: string;
160
164
  waveColorTertiary: string;
161
165
  textColorTextTertiary: string;
166
+ rippleColorTertiary: string;
162
167
  colorQuaternary: string;
163
168
  colorQuaternaryHover: string;
164
169
  colorQuaternaryPressed: string;
170
+ colorQuaternaryFocus: string;
171
+ rippleColorQuaternary: string;
172
+ waveColorQuaternary: string;
165
173
  color: string;
166
174
  colorHover: string;
167
175
  colorPressed: string;
@@ -448,16 +456,24 @@ export declare const colorPickerProps: {
448
456
  colorSecondary: string;
449
457
  colorSecondaryHover: string;
450
458
  colorSecondaryPressed: string;
459
+ colorSecondaryFocus: string;
460
+ colorSecondaryDisabled: string;
461
+ textColorSecondaryDisabled: string;
451
462
  waveColorSecondary: string;
452
463
  colorTertiary: string;
453
464
  colorTertiaryHover: string;
454
465
  colorTertiaryPressed: string;
466
+ colorTertiaryFocus: string;
455
467
  colorTertiaryDisalbed: string;
456
468
  waveColorTertiary: string;
457
469
  textColorTextTertiary: string;
470
+ rippleColorTertiary: string;
458
471
  colorQuaternary: string;
459
472
  colorQuaternaryHover: string;
460
473
  colorQuaternaryPressed: string;
474
+ colorQuaternaryFocus: string;
475
+ rippleColorQuaternary: string;
476
+ waveColorQuaternary: string;
461
477
  color: string;
462
478
  colorHover: string;
463
479
  colorPressed: string;
@@ -744,16 +760,24 @@ export declare const colorPickerProps: {
744
760
  colorSecondary: string;
745
761
  colorSecondaryHover: string;
746
762
  colorSecondaryPressed: string;
763
+ colorSecondaryFocus: string;
764
+ colorSecondaryDisabled: string;
765
+ textColorSecondaryDisabled: string;
747
766
  waveColorSecondary: string;
748
767
  colorTertiary: string;
749
768
  colorTertiaryHover: string;
750
769
  colorTertiaryPressed: string;
770
+ colorTertiaryFocus: string;
751
771
  colorTertiaryDisalbed: string;
752
772
  waveColorTertiary: string;
753
773
  textColorTextTertiary: string;
774
+ rippleColorTertiary: string;
754
775
  colorQuaternary: string;
755
776
  colorQuaternaryHover: string;
756
777
  colorQuaternaryPressed: string;
778
+ colorQuaternaryFocus: string;
779
+ rippleColorQuaternary: string;
780
+ waveColorQuaternary: string;
757
781
  color: string;
758
782
  colorHover: string;
759
783
  colorPressed: string;
@@ -1085,16 +1109,24 @@ declare const _default: import("vue").DefineComponent<{
1085
1109
  colorSecondary: string;
1086
1110
  colorSecondaryHover: string;
1087
1111
  colorSecondaryPressed: string;
1112
+ colorSecondaryFocus: string;
1113
+ colorSecondaryDisabled: string;
1114
+ textColorSecondaryDisabled: string;
1088
1115
  waveColorSecondary: string;
1089
1116
  colorTertiary: string;
1090
1117
  colorTertiaryHover: string;
1091
1118
  colorTertiaryPressed: string;
1119
+ colorTertiaryFocus: string;
1092
1120
  colorTertiaryDisalbed: string;
1093
1121
  waveColorTertiary: string;
1094
1122
  textColorTextTertiary: string;
1123
+ rippleColorTertiary: string;
1095
1124
  colorQuaternary: string;
1096
1125
  colorQuaternaryHover: string;
1097
1126
  colorQuaternaryPressed: string;
1127
+ colorQuaternaryFocus: string;
1128
+ rippleColorQuaternary: string;
1129
+ waveColorQuaternary: string;
1098
1130
  color: string;
1099
1131
  colorHover: string;
1100
1132
  colorPressed: string;
@@ -1381,16 +1413,24 @@ declare const _default: import("vue").DefineComponent<{
1381
1413
  colorSecondary: string;
1382
1414
  colorSecondaryHover: string;
1383
1415
  colorSecondaryPressed: string;
1416
+ colorSecondaryFocus: string;
1417
+ colorSecondaryDisabled: string;
1418
+ textColorSecondaryDisabled: string;
1384
1419
  waveColorSecondary: string;
1385
1420
  colorTertiary: string;
1386
1421
  colorTertiaryHover: string;
1387
1422
  colorTertiaryPressed: string;
1423
+ colorTertiaryFocus: string;
1388
1424
  colorTertiaryDisalbed: string;
1389
1425
  waveColorTertiary: string;
1390
1426
  textColorTextTertiary: string;
1427
+ rippleColorTertiary: string;
1391
1428
  colorQuaternary: string;
1392
1429
  colorQuaternaryHover: string;
1393
1430
  colorQuaternaryPressed: string;
1431
+ colorQuaternaryFocus: string;
1432
+ rippleColorQuaternary: string;
1433
+ waveColorQuaternary: string;
1394
1434
  color: string;
1395
1435
  colorHover: string;
1396
1436
  colorPressed: string;
@@ -1677,16 +1717,24 @@ declare const _default: import("vue").DefineComponent<{
1677
1717
  colorSecondary: string;
1678
1718
  colorSecondaryHover: string;
1679
1719
  colorSecondaryPressed: string;
1720
+ colorSecondaryFocus: string;
1721
+ colorSecondaryDisabled: string;
1722
+ textColorSecondaryDisabled: string;
1680
1723
  waveColorSecondary: string;
1681
1724
  colorTertiary: string;
1682
1725
  colorTertiaryHover: string;
1683
1726
  colorTertiaryPressed: string;
1727
+ colorTertiaryFocus: string;
1684
1728
  colorTertiaryDisalbed: string;
1685
1729
  waveColorTertiary: string;
1686
1730
  textColorTextTertiary: string;
1731
+ rippleColorTertiary: string;
1687
1732
  colorQuaternary: string;
1688
1733
  colorQuaternaryHover: string;
1689
1734
  colorQuaternaryPressed: string;
1735
+ colorQuaternaryFocus: string;
1736
+ rippleColorQuaternary: string;
1737
+ waveColorQuaternary: string;
1690
1738
  color: string;
1691
1739
  colorHover: string;
1692
1740
  colorPressed: string;
@@ -2047,16 +2095,24 @@ declare const _default: import("vue").DefineComponent<{
2047
2095
  colorSecondary: string;
2048
2096
  colorSecondaryHover: string;
2049
2097
  colorSecondaryPressed: string;
2098
+ colorSecondaryFocus: string;
2099
+ colorSecondaryDisabled: string;
2100
+ textColorSecondaryDisabled: string;
2050
2101
  waveColorSecondary: string;
2051
2102
  colorTertiary: string;
2052
2103
  colorTertiaryHover: string;
2053
2104
  colorTertiaryPressed: string;
2105
+ colorTertiaryFocus: string;
2054
2106
  colorTertiaryDisalbed: string;
2055
2107
  waveColorTertiary: string;
2056
2108
  textColorTextTertiary: string;
2109
+ rippleColorTertiary: string;
2057
2110
  colorQuaternary: string;
2058
2111
  colorQuaternaryHover: string;
2059
2112
  colorQuaternaryPressed: string;
2113
+ colorQuaternaryFocus: string;
2114
+ rippleColorQuaternary: string;
2115
+ waveColorQuaternary: string;
2060
2116
  color: string;
2061
2117
  colorHover: string;
2062
2118
  colorPressed: string;
@@ -2343,16 +2399,24 @@ declare const _default: import("vue").DefineComponent<{
2343
2399
  colorSecondary: string;
2344
2400
  colorSecondaryHover: string;
2345
2401
  colorSecondaryPressed: string;
2402
+ colorSecondaryFocus: string;
2403
+ colorSecondaryDisabled: string;
2404
+ textColorSecondaryDisabled: string;
2346
2405
  waveColorSecondary: string;
2347
2406
  colorTertiary: string;
2348
2407
  colorTertiaryHover: string;
2349
2408
  colorTertiaryPressed: string;
2409
+ colorTertiaryFocus: string;
2350
2410
  colorTertiaryDisalbed: string;
2351
2411
  waveColorTertiary: string;
2352
2412
  textColorTextTertiary: string;
2413
+ rippleColorTertiary: string;
2353
2414
  colorQuaternary: string;
2354
2415
  colorQuaternaryHover: string;
2355
2416
  colorQuaternaryPressed: string;
2417
+ colorQuaternaryFocus: string;
2418
+ rippleColorQuaternary: string;
2419
+ waveColorQuaternary: string;
2356
2420
  color: string;
2357
2421
  colorHover: string;
2358
2422
  colorPressed: string;
@@ -2639,16 +2703,24 @@ declare const _default: import("vue").DefineComponent<{
2639
2703
  colorSecondary: string;
2640
2704
  colorSecondaryHover: string;
2641
2705
  colorSecondaryPressed: string;
2706
+ colorSecondaryFocus: string;
2707
+ colorSecondaryDisabled: string;
2708
+ textColorSecondaryDisabled: string;
2642
2709
  waveColorSecondary: string;
2643
2710
  colorTertiary: string;
2644
2711
  colorTertiaryHover: string;
2645
2712
  colorTertiaryPressed: string;
2713
+ colorTertiaryFocus: string;
2646
2714
  colorTertiaryDisalbed: string;
2647
2715
  waveColorTertiary: string;
2648
2716
  textColorTextTertiary: string;
2717
+ rippleColorTertiary: string;
2649
2718
  colorQuaternary: string;
2650
2719
  colorQuaternaryHover: string;
2651
2720
  colorQuaternaryPressed: string;
2721
+ colorQuaternaryFocus: string;
2722
+ rippleColorQuaternary: string;
2723
+ waveColorQuaternary: string;
2652
2724
  color: string;
2653
2725
  colorHover: string;
2654
2726
  colorPressed: string;