@uzum-tech/ui 2.3.6 → 2.3.7

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 (46) hide show
  1. package/dist/index.js +34 -5
  2. package/dist/index.mjs +34 -5
  3. package/dist/index.prod.js +3 -3
  4. package/dist/index.prod.mjs +3 -3
  5. package/es/chat/src/Chat.d.ts +124 -0
  6. package/es/chat/src/ChatListItems.d.ts +48 -0
  7. package/es/chat/src/ChatMainArea.d.ts +48 -0
  8. package/es/chat/src/ChatMessages.d.ts +48 -0
  9. package/es/chat/src/ChatMessages.mjs +2 -0
  10. package/es/chat/src/ChatParts/Sidebar.d.ts +8 -0
  11. package/es/chat/src/interface.d.ts +12 -0
  12. package/es/chat/styles/dark.d.ts +4 -0
  13. package/es/chat/styles/light.d.ts +6 -0
  14. package/es/chat/styles/light.mjs +5 -2
  15. package/es/components.d.ts +244 -0
  16. package/es/message-bubble/src/MessageBubble.d.ts +12 -0
  17. package/es/message-bubble/src/MessageBubble.mjs +4 -0
  18. package/es/message-bubble/src/interface.d.ts +6 -0
  19. package/es/message-bubble/src/styles/index.cssr.mjs +19 -1
  20. package/es/message-bubble/styles/dark.d.ts +2 -0
  21. package/es/message-bubble/styles/light.d.ts +4 -0
  22. package/es/message-bubble/styles/light.mjs +5 -1
  23. package/es/version.d.ts +1 -1
  24. package/es/version.mjs +1 -1
  25. package/lib/chat/src/Chat.d.ts +124 -0
  26. package/lib/chat/src/ChatListItems.d.ts +48 -0
  27. package/lib/chat/src/ChatMainArea.d.ts +48 -0
  28. package/lib/chat/src/ChatMessages.d.ts +48 -0
  29. package/lib/chat/src/ChatMessages.js +1 -1
  30. package/lib/chat/src/ChatParts/Sidebar.d.ts +8 -0
  31. package/lib/chat/src/interface.d.ts +12 -0
  32. package/lib/chat/styles/dark.d.ts +4 -0
  33. package/lib/chat/styles/light.d.ts +6 -0
  34. package/lib/chat/styles/light.js +4 -2
  35. package/lib/components.d.ts +244 -0
  36. package/lib/message-bubble/src/MessageBubble.d.ts +12 -0
  37. package/lib/message-bubble/src/MessageBubble.js +3 -1
  38. package/lib/message-bubble/src/interface.d.ts +6 -0
  39. package/lib/message-bubble/src/styles/index.cssr.js +19 -1
  40. package/lib/message-bubble/styles/dark.d.ts +2 -0
  41. package/lib/message-bubble/styles/light.d.ts +4 -0
  42. package/lib/message-bubble/styles/light.js +4 -2
  43. package/lib/version.d.ts +1 -1
  44. package/lib/version.js +1 -1
  45. package/package.json +1 -1
  46. package/web-types.json +1 -1
@@ -86,6 +86,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
86
86
  markdownQuoteBorderColorOwn: string;
87
87
  markdownQuoteBorderColorOther: string;
88
88
  markdownQuoteTextColor: string;
89
+ markdownQuoteBackgroundColor: string;
90
+ markdownQuoteMarkerColor: string;
89
91
  markdownDividerColorOwn: string;
90
92
  markdownDividerColorOther: string;
91
93
  markdownH1FontSize: string;
@@ -122,6 +124,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
122
124
  markdownQuoteBorderColorOwn: string;
123
125
  markdownQuoteBorderColorOther: string;
124
126
  markdownQuoteTextColor: string;
127
+ markdownQuoteBackgroundColor: string;
128
+ markdownQuoteMarkerColor: string;
125
129
  markdownDividerColorOwn: string;
126
130
  markdownDividerColorOther: string;
127
131
  markdownH1FontSize: string;
@@ -158,6 +162,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
158
162
  markdownQuoteBorderColorOwn: string;
159
163
  markdownQuoteBorderColorOther: string;
160
164
  markdownQuoteTextColor: string;
165
+ markdownQuoteBackgroundColor: string;
166
+ markdownQuoteMarkerColor: string;
161
167
  markdownDividerColorOwn: string;
162
168
  markdownDividerColorOther: string;
163
169
  markdownH1FontSize: string;
@@ -267,6 +273,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
267
273
  markdownQuoteBorderColorOwn: string;
268
274
  markdownQuoteBorderColorOther: string;
269
275
  markdownQuoteTextColor: string;
276
+ markdownQuoteBackgroundColor: string;
277
+ markdownQuoteMarkerColor: string;
270
278
  markdownDividerColorOwn: string;
271
279
  markdownDividerColorOther: string;
272
280
  markdownH1FontSize: string;
@@ -303,6 +311,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
303
311
  markdownQuoteBorderColorOwn: string;
304
312
  markdownQuoteBorderColorOther: string;
305
313
  markdownQuoteTextColor: string;
314
+ markdownQuoteBackgroundColor: string;
315
+ markdownQuoteMarkerColor: string;
306
316
  markdownDividerColorOwn: string;
307
317
  markdownDividerColorOther: string;
308
318
  markdownH1FontSize: string;
@@ -339,6 +349,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
339
349
  markdownQuoteBorderColorOwn: string;
340
350
  markdownQuoteBorderColorOther: string;
341
351
  markdownQuoteTextColor: string;
352
+ markdownQuoteBackgroundColor: string;
353
+ markdownQuoteMarkerColor: string;
342
354
  markdownDividerColorOwn: string;
343
355
  markdownDividerColorOther: string;
344
356
  markdownH1FontSize: string;
@@ -102,6 +102,8 @@ export default defineComponent({
102
102
  markdownQuoteBorderColorOwn,
103
103
  markdownQuoteBorderColorOther,
104
104
  markdownQuoteTextColor,
105
+ markdownQuoteBackgroundColor,
106
+ markdownQuoteMarkerColor,
105
107
  markdownDividerColorOwn,
106
108
  markdownDividerColorOther,
107
109
  markdownH1FontSize,
@@ -131,6 +133,8 @@ export default defineComponent({
131
133
  '--u-message-bubble-markdown-quote-border-color-own': markdownQuoteBorderColorOwn,
132
134
  '--u-message-bubble-markdown-quote-border-color-other': markdownQuoteBorderColorOther,
133
135
  '--u-message-bubble-markdown-quote-text-color': markdownQuoteTextColor,
136
+ '--u-message-bubble-markdown-quote-background-color': markdownQuoteBackgroundColor,
137
+ '--u-message-bubble-markdown-quote-marker-color': markdownQuoteMarkerColor,
134
138
  '--u-message-bubble-markdown-divider-color-own': markdownDividerColorOwn,
135
139
  '--u-message-bubble-markdown-divider-color-other': markdownDividerColorOther,
136
140
  '--u-message-bubble-markdown-h1-font-size': markdownH1FontSize,
@@ -151,6 +151,8 @@ export declare const messageBubbleProps: {
151
151
  markdownQuoteBorderColorOwn: string;
152
152
  markdownQuoteBorderColorOther: string;
153
153
  markdownQuoteTextColor: string;
154
+ markdownQuoteBackgroundColor: string;
155
+ markdownQuoteMarkerColor: string;
154
156
  markdownDividerColorOwn: string;
155
157
  markdownDividerColorOther: string;
156
158
  markdownH1FontSize: string;
@@ -187,6 +189,8 @@ export declare const messageBubbleProps: {
187
189
  markdownQuoteBorderColorOwn: string;
188
190
  markdownQuoteBorderColorOther: string;
189
191
  markdownQuoteTextColor: string;
192
+ markdownQuoteBackgroundColor: string;
193
+ markdownQuoteMarkerColor: string;
190
194
  markdownDividerColorOwn: string;
191
195
  markdownDividerColorOther: string;
192
196
  markdownH1FontSize: string;
@@ -223,6 +227,8 @@ export declare const messageBubbleProps: {
223
227
  markdownQuoteBorderColorOwn: string;
224
228
  markdownQuoteBorderColorOther: string;
225
229
  markdownQuoteTextColor: string;
230
+ markdownQuoteBackgroundColor: string;
231
+ markdownQuoteMarkerColor: string;
226
232
  markdownDividerColorOwn: string;
227
233
  markdownDividerColorOther: string;
228
234
  markdownH1FontSize: string;
@@ -20,6 +20,8 @@ import { c, cB, cE, cM } from "../../../_utils/cssr/index.mjs";
20
20
  // --u-message-bubble-markdown-quote-border-color-own
21
21
  // --u-message-bubble-markdown-quote-border-color-other
22
22
  // --u-message-bubble-markdown-quote-text-color
23
+ // --u-message-bubble-markdown-quote-background-color
24
+ // --u-message-bubble-markdown-quote-marker-color
23
25
  // --u-message-bubble-markdown-divider-color-own
24
26
  // --u-message-bubble-markdown-divider-color-other
25
27
  // --u-message-bubble-markdown-h1-font-size
@@ -78,7 +80,23 @@ export default cB('message-bubble', `
78
80
  `), cE('markdown', `
79
81
  white-space: normal;
80
82
  font-size: var(--u-message-bubble-markdown-text-font-size);
81
- `, [c('h1', 'font-size: var(--u-message-bubble-markdown-h1-font-size);'), c('h2', 'font-size: var(--u-message-bubble-markdown-h2-font-size);'), c('h3', 'font-size: var(--u-message-bubble-markdown-h3-font-size);'), c('& > *:first-child', 'margin-top: 0;'), c('& > *:last-child', 'margin-bottom: 0;')]), cE('after-content', `
83
+ `, [c('h1', 'font-size: var(--u-message-bubble-markdown-h1-font-size);'), c('h2', 'font-size: var(--u-message-bubble-markdown-h2-font-size);'), c('h3', 'font-size: var(--u-message-bubble-markdown-h3-font-size);'), c('ul, ol', 'list-style-position: inside;'), c('blockquote', `
84
+ position: relative;
85
+ border-radius: 4px;
86
+ padding: 0 8px;
87
+ margin: 0;
88
+ background-color: var(--u-message-bubble-markdown-quote-background-color);
89
+ color: var(--u-message-bubble-markdown-quote-text-color);
90
+ `, [c('&::before', `
91
+ content: "";
92
+ width: 2px;
93
+ position: absolute;
94
+ left: 2px;
95
+ top: 2px;
96
+ bottom: 2px;
97
+ border-radius: 30px;
98
+ background-color: var(--u-message-bubble-markdown-quote-marker-color);
99
+ `)]), c('& > *:first-child', 'margin-top: 0;'), c('& > *:last-child', 'margin-bottom: 0;')]), cE('after-content', `
82
100
  white-space: normal;
83
101
  `), cE('meta', `
84
102
  display: flex;
@@ -18,6 +18,8 @@ declare const messageBubbleDark: import("../../_mixins").Theme<"MessageBubble",
18
18
  markdownQuoteBorderColorOwn: string;
19
19
  markdownQuoteBorderColorOther: string;
20
20
  markdownQuoteTextColor: string;
21
+ markdownQuoteBackgroundColor: string;
22
+ markdownQuoteMarkerColor: string;
21
23
  markdownDividerColorOwn: string;
22
24
  markdownDividerColorOther: string;
23
25
  markdownH1FontSize: string;
@@ -19,6 +19,8 @@ export declare function self(vars: ThemeCommonVars): {
19
19
  markdownQuoteBorderColorOwn: string;
20
20
  markdownQuoteBorderColorOther: string;
21
21
  markdownQuoteTextColor: string;
22
+ markdownQuoteBackgroundColor: string;
23
+ markdownQuoteMarkerColor: string;
22
24
  markdownDividerColorOwn: string;
23
25
  markdownDividerColorOther: string;
24
26
  markdownH1FontSize: string;
@@ -46,6 +48,8 @@ declare const messageBubbleLight: import("../../_mixins").Theme<"MessageBubble",
46
48
  markdownQuoteBorderColorOwn: string;
47
49
  markdownQuoteBorderColorOther: string;
48
50
  markdownQuoteTextColor: string;
51
+ markdownQuoteBackgroundColor: string;
52
+ markdownQuoteMarkerColor: string;
49
53
  markdownDividerColorOwn: string;
50
54
  markdownDividerColorOther: string;
51
55
  markdownH1FontSize: string;
@@ -9,7 +9,9 @@ export function self(vars) {
9
9
  textPrimary,
10
10
  textSecondary,
11
11
  textTertiary,
12
+ brandPrimary100,
12
13
  brandPrimary400,
14
+ brandPrimary500,
13
15
  staticGreen,
14
16
  staticRed,
15
17
  staticWhite
@@ -33,7 +35,9 @@ export function self(vars) {
33
35
  messageTitleColor: textPrimary,
34
36
  markdownQuoteBorderColorOwn: textPrimary,
35
37
  markdownQuoteBorderColorOther: textPrimary,
36
- markdownQuoteTextColor: textSecondary,
38
+ markdownQuoteTextColor: textPrimary,
39
+ markdownQuoteBackgroundColor: brandPrimary100,
40
+ markdownQuoteMarkerColor: brandPrimary500,
37
41
  markdownDividerColorOwn: textPrimary,
38
42
  markdownDividerColorOther: textPrimary,
39
43
  markdownH1FontSize: '20px',
package/es/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "2.3.6";
1
+ declare const _default: "2.3.7";
2
2
  export default _default;
package/es/version.mjs CHANGED
@@ -1 +1 @@
1
- export default '2.3.6';
1
+ export default '2.3.7';