@zohoim/chat-components 1.0.10 → 1.0.11-beta.1

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 (45) hide show
  1. package/README.md +1 -1
  2. package/assets/Appearance/dark/mode/General_DarkMode.module.css +71 -0
  3. package/assets/Appearance/dark/themes/blue/blue_General_DarkTheme.module.css +35 -0
  4. package/assets/Appearance/dark/themes/green/green_General_DarkTheme.module.css +35 -0
  5. package/assets/Appearance/dark/themes/orange/orange_General_DarkTheme.module.css +35 -0
  6. package/assets/Appearance/dark/themes/red/red_General_DarkTheme.module.css +35 -0
  7. package/assets/Appearance/dark/themes/yellow/yellow_General_DarkTheme.module.css +35 -0
  8. package/assets/Appearance/light/mode/General_LightMode.module.css +71 -0
  9. package/assets/Appearance/light/themes/blue/blue_General_LightTheme.module.css +35 -0
  10. package/assets/Appearance/light/themes/green/green_General_LightTheme.module.css +35 -0
  11. package/assets/Appearance/light/themes/orange/orange_General_LightTheme.module.css +35 -0
  12. package/assets/Appearance/light/themes/red/red_General_LightTheme.module.css +35 -0
  13. package/assets/Appearance/light/themes/yellow/yellow_General_LightTheme.module.css +35 -0
  14. package/assets/Appearance/pureDark/mode/General_PureDarkMode.module.css +71 -0
  15. package/assets/Appearance/pureDark/themes/blue/blue_General_PureDarkTheme.module.css +35 -0
  16. package/assets/Appearance/pureDark/themes/green/green_General_PureDarkTheme.module.css +35 -0
  17. package/assets/Appearance/pureDark/themes/orange/orange_General_PureDarkTheme.module.css +35 -0
  18. package/assets/Appearance/pureDark/themes/red/red_General_PureDarkTheme.module.css +35 -0
  19. package/assets/Appearance/pureDark/themes/yellow/yellow_General_PureDarkTheme.module.css +35 -0
  20. package/es/Message/Message.js +9 -6
  21. package/es/Theme/ThemeAssets.js +18 -0
  22. package/es/Theme/ThemeWrapper.js +7 -5
  23. package/es/Theme/utils/getThemeConfigurations.js +1 -55
  24. package/es/im/IMIntegrationIcon/css/IMIntegrationIcon.module.css +2 -2
  25. package/lib/index.js +382 -0
  26. package/package.json +17 -10
  27. package/es/Theme/themeVariables/commonThemeColorVariable.js +0 -17
  28. package/es/Theme/themeVariables/dark/blueTheme.js +0 -116
  29. package/es/Theme/themeVariables/dark/commonColorVariable.js +0 -16
  30. package/es/Theme/themeVariables/dark/greenTheme.js +0 -115
  31. package/es/Theme/themeVariables/dark/orangeTheme.js +0 -115
  32. package/es/Theme/themeVariables/dark/redTheme.js +0 -115
  33. package/es/Theme/themeVariables/dark/yellowTheme.js +0 -115
  34. package/es/Theme/themeVariables/light/blueTheme.js +0 -114
  35. package/es/Theme/themeVariables/light/commonColorVariable.js +0 -35
  36. package/es/Theme/themeVariables/light/greenTheme.js +0 -114
  37. package/es/Theme/themeVariables/light/orangeTheme.js +0 -114
  38. package/es/Theme/themeVariables/light/redTheme.js +0 -114
  39. package/es/Theme/themeVariables/light/yellowTheme.js +0 -114
  40. package/es/Theme/themeVariables/pureDark/blueTheme.js +0 -115
  41. package/es/Theme/themeVariables/pureDark/commonColorVariable.js +0 -18
  42. package/es/Theme/themeVariables/pureDark/greenTheme.js +0 -115
  43. package/es/Theme/themeVariables/pureDark/orangeTheme.js +0 -115
  44. package/es/Theme/themeVariables/pureDark/redTheme.js +0 -115
  45. package/es/Theme/themeVariables/pureDark/yellowTheme.js +0 -115
package/lib/index.js ADDED
@@ -0,0 +1,382 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+
7
+ var _MessageBubble = require("./MessageBubble");
8
+
9
+ Object.keys(_MessageBubble).forEach(function (key) {
10
+ if (key === "default" || key === "__esModule") return;
11
+ if (key in exports && exports[key] === _MessageBubble[key]) return;
12
+ Object.defineProperty(exports, key, {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _MessageBubble[key];
16
+ }
17
+ });
18
+ });
19
+
20
+ var _MessageActionsWrapper = require("./MessageActionsWrapper");
21
+
22
+ Object.keys(_MessageActionsWrapper).forEach(function (key) {
23
+ if (key === "default" || key === "__esModule") return;
24
+ if (key in exports && exports[key] === _MessageActionsWrapper[key]) return;
25
+ Object.defineProperty(exports, key, {
26
+ enumerable: true,
27
+ get: function get() {
28
+ return _MessageActionsWrapper[key];
29
+ }
30
+ });
31
+ });
32
+
33
+ var _MessageActions = require("./MessageActions");
34
+
35
+ Object.keys(_MessageActions).forEach(function (key) {
36
+ if (key === "default" || key === "__esModule") return;
37
+ if (key in exports && exports[key] === _MessageActions[key]) return;
38
+ Object.defineProperty(exports, key, {
39
+ enumerable: true,
40
+ get: function get() {
41
+ return _MessageActions[key];
42
+ }
43
+ });
44
+ });
45
+
46
+ var _MessageBox = require("./MessageBox");
47
+
48
+ Object.keys(_MessageBox).forEach(function (key) {
49
+ if (key === "default" || key === "__esModule") return;
50
+ if (key in exports && exports[key] === _MessageBox[key]) return;
51
+ Object.defineProperty(exports, key, {
52
+ enumerable: true,
53
+ get: function get() {
54
+ return _MessageBox[key];
55
+ }
56
+ });
57
+ });
58
+
59
+ var _ActionIcon = require("./ActionIcon");
60
+
61
+ Object.keys(_ActionIcon).forEach(function (key) {
62
+ if (key === "default" || key === "__esModule") return;
63
+ if (key in exports && exports[key] === _ActionIcon[key]) return;
64
+ Object.defineProperty(exports, key, {
65
+ enumerable: true,
66
+ get: function get() {
67
+ return _ActionIcon[key];
68
+ }
69
+ });
70
+ });
71
+
72
+ var _ActionIconWrapper = require("./ActionIconWrapper");
73
+
74
+ Object.keys(_ActionIconWrapper).forEach(function (key) {
75
+ if (key === "default" || key === "__esModule") return;
76
+ if (key in exports && exports[key] === _ActionIconWrapper[key]) return;
77
+ Object.defineProperty(exports, key, {
78
+ enumerable: true,
79
+ get: function get() {
80
+ return _ActionIconWrapper[key];
81
+ }
82
+ });
83
+ });
84
+
85
+ var _MessageActionsMore = require("./MessageActionsMore");
86
+
87
+ Object.keys(_MessageActionsMore).forEach(function (key) {
88
+ if (key === "default" || key === "__esModule") return;
89
+ if (key in exports && exports[key] === _MessageActionsMore[key]) return;
90
+ Object.defineProperty(exports, key, {
91
+ enumerable: true,
92
+ get: function get() {
93
+ return _MessageActionsMore[key];
94
+ }
95
+ });
96
+ });
97
+
98
+ var _MessageAvatar = require("./MessageAvatar");
99
+
100
+ Object.keys(_MessageAvatar).forEach(function (key) {
101
+ if (key === "default" || key === "__esModule") return;
102
+ if (key in exports && exports[key] === _MessageAvatar[key]) return;
103
+ Object.defineProperty(exports, key, {
104
+ enumerable: true,
105
+ get: function get() {
106
+ return _MessageAvatar[key];
107
+ }
108
+ });
109
+ });
110
+
111
+ var _MoreActionItem = require("./MoreActionItem");
112
+
113
+ Object.keys(_MoreActionItem).forEach(function (key) {
114
+ if (key === "default" || key === "__esModule") return;
115
+ if (key in exports && exports[key] === _MoreActionItem[key]) return;
116
+ Object.defineProperty(exports, key, {
117
+ enumerable: true,
118
+ get: function get() {
119
+ return _MoreActionItem[key];
120
+ }
121
+ });
122
+ });
123
+
124
+ var _MessageAction = require("./MessageAction");
125
+
126
+ Object.keys(_MessageAction).forEach(function (key) {
127
+ if (key === "default" || key === "__esModule") return;
128
+ if (key in exports && exports[key] === _MessageAction[key]) return;
129
+ Object.defineProperty(exports, key, {
130
+ enumerable: true,
131
+ get: function get() {
132
+ return _MessageAction[key];
133
+ }
134
+ });
135
+ });
136
+
137
+ var _Theme = require("./Theme");
138
+
139
+ Object.keys(_Theme).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (key in exports && exports[key] === _Theme[key]) return;
142
+ Object.defineProperty(exports, key, {
143
+ enumerable: true,
144
+ get: function get() {
145
+ return _Theme[key];
146
+ }
147
+ });
148
+ });
149
+
150
+ var _Message = require("./Message");
151
+
152
+ Object.keys(_Message).forEach(function (key) {
153
+ if (key === "default" || key === "__esModule") return;
154
+ if (key in exports && exports[key] === _Message[key]) return;
155
+ Object.defineProperty(exports, key, {
156
+ enumerable: true,
157
+ get: function get() {
158
+ return _Message[key];
159
+ }
160
+ });
161
+ });
162
+
163
+ var _AudioBubble = require("./AudioBubble");
164
+
165
+ Object.keys(_AudioBubble).forEach(function (key) {
166
+ if (key === "default" || key === "__esModule") return;
167
+ if (key in exports && exports[key] === _AudioBubble[key]) return;
168
+ Object.defineProperty(exports, key, {
169
+ enumerable: true,
170
+ get: function get() {
171
+ return _AudioBubble[key];
172
+ }
173
+ });
174
+ });
175
+
176
+ var _AttachmentBubble = require("./AttachmentBubble");
177
+
178
+ Object.keys(_AttachmentBubble).forEach(function (key) {
179
+ if (key === "default" || key === "__esModule") return;
180
+ if (key in exports && exports[key] === _AttachmentBubble[key]) return;
181
+ Object.defineProperty(exports, key, {
182
+ enumerable: true,
183
+ get: function get() {
184
+ return _AttachmentBubble[key];
185
+ }
186
+ });
187
+ });
188
+
189
+ var _AttachmentIcon = require("./AttachmentIcon");
190
+
191
+ Object.keys(_AttachmentIcon).forEach(function (key) {
192
+ if (key === "default" || key === "__esModule") return;
193
+ if (key in exports && exports[key] === _AttachmentIcon[key]) return;
194
+ Object.defineProperty(exports, key, {
195
+ enumerable: true,
196
+ get: function get() {
197
+ return _AttachmentIcon[key];
198
+ }
199
+ });
200
+ });
201
+
202
+ var _VideoBubble = require("./VideoBubble");
203
+
204
+ Object.keys(_VideoBubble).forEach(function (key) {
205
+ if (key === "default" || key === "__esModule") return;
206
+ if (key in exports && exports[key] === _VideoBubble[key]) return;
207
+ Object.defineProperty(exports, key, {
208
+ enumerable: true,
209
+ get: function get() {
210
+ return _VideoBubble[key];
211
+ }
212
+ });
213
+ });
214
+
215
+ var _ImageBubble = require("./ImageBubble");
216
+
217
+ Object.keys(_ImageBubble).forEach(function (key) {
218
+ if (key === "default" || key === "__esModule") return;
219
+ if (key in exports && exports[key] === _ImageBubble[key]) return;
220
+ Object.defineProperty(exports, key, {
221
+ enumerable: true,
222
+ get: function get() {
223
+ return _ImageBubble[key];
224
+ }
225
+ });
226
+ });
227
+
228
+ var _TextBubble = require("./TextBubble");
229
+
230
+ Object.keys(_TextBubble).forEach(function (key) {
231
+ if (key === "default" || key === "__esModule") return;
232
+ if (key in exports && exports[key] === _TextBubble[key]) return;
233
+ Object.defineProperty(exports, key, {
234
+ enumerable: true,
235
+ get: function get() {
236
+ return _TextBubble[key];
237
+ }
238
+ });
239
+ });
240
+
241
+ var _LocationBubble = require("./LocationBubble");
242
+
243
+ Object.keys(_LocationBubble).forEach(function (key) {
244
+ if (key === "default" || key === "__esModule") return;
245
+ if (key in exports && exports[key] === _LocationBubble[key]) return;
246
+ Object.defineProperty(exports, key, {
247
+ enumerable: true,
248
+ get: function get() {
249
+ return _LocationBubble[key];
250
+ }
251
+ });
252
+ });
253
+
254
+ var _AttachmentBubbleInfo = require("./AttachmentBubbleInfo");
255
+
256
+ Object.keys(_AttachmentBubbleInfo).forEach(function (key) {
257
+ if (key === "default" || key === "__esModule") return;
258
+ if (key in exports && exports[key] === _AttachmentBubbleInfo[key]) return;
259
+ Object.defineProperty(exports, key, {
260
+ enumerable: true,
261
+ get: function get() {
262
+ return _AttachmentBubbleInfo[key];
263
+ }
264
+ });
265
+ });
266
+
267
+ var _Audio = require("./Audio");
268
+
269
+ Object.keys(_Audio).forEach(function (key) {
270
+ if (key === "default" || key === "__esModule") return;
271
+ if (key in exports && exports[key] === _Audio[key]) return;
272
+ Object.defineProperty(exports, key, {
273
+ enumerable: true,
274
+ get: function get() {
275
+ return _Audio[key];
276
+ }
277
+ });
278
+ });
279
+
280
+ var _Video = require("./Video");
281
+
282
+ Object.keys(_Video).forEach(function (key) {
283
+ if (key === "default" || key === "__esModule") return;
284
+ if (key in exports && exports[key] === _Video[key]) return;
285
+ Object.defineProperty(exports, key, {
286
+ enumerable: true,
287
+ get: function get() {
288
+ return _Video[key];
289
+ }
290
+ });
291
+ });
292
+
293
+ var _ReplyBubble = require("./ReplyBubble");
294
+
295
+ Object.keys(_ReplyBubble).forEach(function (key) {
296
+ if (key === "default" || key === "__esModule") return;
297
+ if (key in exports && exports[key] === _ReplyBubble[key]) return;
298
+ Object.defineProperty(exports, key, {
299
+ enumerable: true,
300
+ get: function get() {
301
+ return _ReplyBubble[key];
302
+ }
303
+ });
304
+ });
305
+
306
+ var _ReplyBubbleHeader = require("./ReplyBubbleHeader");
307
+
308
+ Object.keys(_ReplyBubbleHeader).forEach(function (key) {
309
+ if (key === "default" || key === "__esModule") return;
310
+ if (key in exports && exports[key] === _ReplyBubbleHeader[key]) return;
311
+ Object.defineProperty(exports, key, {
312
+ enumerable: true,
313
+ get: function get() {
314
+ return _ReplyBubbleHeader[key];
315
+ }
316
+ });
317
+ });
318
+
319
+ var _LazyLoadImage = require("./LazyLoadImage");
320
+
321
+ Object.keys(_LazyLoadImage).forEach(function (key) {
322
+ if (key === "default" || key === "__esModule") return;
323
+ if (key in exports && exports[key] === _LazyLoadImage[key]) return;
324
+ Object.defineProperty(exports, key, {
325
+ enumerable: true,
326
+ get: function get() {
327
+ return _LazyLoadImage[key];
328
+ }
329
+ });
330
+ });
331
+
332
+ var _ReplyBubbleContent = require("./ReplyBubbleContent");
333
+
334
+ Object.keys(_ReplyBubbleContent).forEach(function (key) {
335
+ if (key === "default" || key === "__esModule") return;
336
+ if (key in exports && exports[key] === _ReplyBubbleContent[key]) return;
337
+ Object.defineProperty(exports, key, {
338
+ enumerable: true,
339
+ get: function get() {
340
+ return _ReplyBubbleContent[key];
341
+ }
342
+ });
343
+ });
344
+
345
+ var _MessageStatus = require("./MessageStatus");
346
+
347
+ Object.keys(_MessageStatus).forEach(function (key) {
348
+ if (key === "default" || key === "__esModule") return;
349
+ if (key in exports && exports[key] === _MessageStatus[key]) return;
350
+ Object.defineProperty(exports, key, {
351
+ enumerable: true,
352
+ get: function get() {
353
+ return _MessageStatus[key];
354
+ }
355
+ });
356
+ });
357
+
358
+ var _im = require("./im");
359
+
360
+ Object.keys(_im).forEach(function (key) {
361
+ if (key === "default" || key === "__esModule") return;
362
+ if (key in exports && exports[key] === _im[key]) return;
363
+ Object.defineProperty(exports, key, {
364
+ enumerable: true,
365
+ get: function get() {
366
+ return _im[key];
367
+ }
368
+ });
369
+ });
370
+
371
+ var _constants = require("./constants");
372
+
373
+ Object.keys(_constants).forEach(function (key) {
374
+ if (key === "default" || key === "__esModule") return;
375
+ if (key in exports && exports[key] === _constants[key]) return;
376
+ Object.defineProperty(exports, key, {
377
+ enumerable: true,
378
+ get: function get() {
379
+ return _constants[key];
380
+ }
381
+ });
382
+ });
package/package.json CHANGED
@@ -1,22 +1,27 @@
1
1
  {
2
2
  "name": "@zohoim/chat-components",
3
- "version": "1.0.10",
3
+ "version": "1.0.11-beta.1",
4
4
  "description": "Chat Components",
5
- "main": "es/index.js",
5
+ "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "scripts": {
8
- "build": "react-cli build:component:es",
9
- "build_watch": "npm run build -- -w",
10
- "clean": "react-cli clean unittest coverage es result.json",
8
+ "build": "npm run build:lib && npm run build:es",
9
+ "build:lib": "react-cli build:component:cmjs",
10
+ "build:es": "react-cli build:library:es",
11
+ "build:local": " npm run build && npm run rtl && npm run cssVariableConvert ",
12
+ "build_watch": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
13
+ "clean": "react-cli clean unittest coverage es result.json && mkdir assets",
11
14
  "rtl": "react-cli rtl ./src ./es",
12
- "prepare": "npm run clean && npm run build && npm run rtl && npm run cssVariableConvert",
15
+ "prepare": "react-cli clean assets && npm run init && npm run build && npm run rtl && npm run cssVariableConvert ",
13
16
  "test": "react-cli test",
14
17
  "test:debug": "react-cli test --runInBand --watch",
15
18
  "create-icons": "node ./src/icons/create-icon-components --sourucePath=./factory --targetPath=./iconSrc",
16
- "cssVariableConvert": "react-cli variableConverter ./es ./es",
19
+ "cssVariableConvert": "react-cli variableConverter ./lib ./lib && react-cli variableConverter ./es ./es",
17
20
  "variable:addignore": "node ../../node_modules/@zohodesk-private/css-variable-migrator/es/variableIgnore.js ./src",
18
21
  "variable:convert": "node ../../node_modules/@zohodesk-private/css-variable-migrator/es/pxParserPostcss.js ./src",
19
- "variable:check": "node ../../node_modules/@zohodesk-private/css-variable-migrator/es/variableErrorCheck.js ./src ../../node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json"
22
+ "variable:check": "node ../../node_modules/@zohodesk-private/css-variable-migrator/es/variableErrorCheck.js ./src ../../node_modules/@zohodesk-private/css-variable-migrator/es/config/cssVariableReplacementOptions.json",
23
+ "build:variables": "react-cli clean ./assets && node ./preprocess/index",
24
+ "init": "npm run clean && npm run build:variables"
20
25
  },
21
26
  "author": "ZohoDesk - IM Team",
22
27
  "license": "ISC",
@@ -26,6 +31,7 @@
26
31
  },
27
32
  "files": [
28
33
  "es",
34
+ "assets",
29
35
  "!**/__tests__"
30
36
  ],
31
37
  "dependencies": {
@@ -36,14 +42,15 @@
36
42
  "@zohodesk/utils": "1.3.13",
37
43
  "@zohodesk/variables": "1.0.0",
38
44
  "@zohodesk/virtualizer": "1.0.13",
39
- "@zohoim/chat-components-hooks": "1.0.4-beta.8",
45
+ "@zohoim/chat-components-hooks": "1.0.5-beta.1",
40
46
  "@zohoim/chat-components-utils": "1.0.4"
41
47
  },
42
48
  "devDependencies": {
49
+ "@zohodesk-private/color-variable-preprocessor": "1.2.1",
43
50
  "@zohodesk-private/css-variable-migrator": "1.0.7",
44
51
  "html-to-react": "1.7.0 ",
45
52
  "jsdom": "23.0.0",
46
53
  "react-to-jsx": "1.3.2"
47
54
  },
48
- "gitHead": "f3bead5ed7cfdbb215ec470df77ef0f3cff6f7a3"
55
+ "gitHead": "7873aeee4583e0177179ed66b92b65f497589d96"
49
56
  }
@@ -1,17 +0,0 @@
1
- export const imIntegrationIcon = {
2
- path0_color: '#ffffff40',
3
- path1_color: '#fff',
4
- whatsapp_color: '#24d366',
5
- telegram_color: '#4fa7d8',
6
- wechat_color: '#2dc100',
7
- line_color: '#01b901',
8
- twillio_color: '#f22f46',
9
- instagram_color: 'linear-gradient(221.05deg,#933ab9 11.59%,#d12f8c 50.45%,#fdbb59 85.46%)',
10
- asap_color: 'linear-gradient(180deg, #A375FF 0%, #7732FF 100%)',
11
- fb_color: '#006aff'
12
- };
13
- export const imTtIcon = {
14
- path0_color: '#ffffff40',
15
- path1_color: '#fff'
16
- };
17
- export const messagetextColor = '#e2e4e6';
@@ -1,116 +0,0 @@
1
- /* eslint-disable camelcase */
2
- import { incomingBubbleBgColor, bubbleActiveBgColor, actionIconWrapperColor, messageStatusSendColor, messageStatusFailedColor, primaryBlue, failedBgWrapper, failedBg, failedBdr, failedLine, failedColor, failedUrlColor } from "./commonColorVariable";
3
- import { imIntegrationIcon, imTtIcon, messagetextColor } from "../commonThemeColorVariable";
4
- export default {
5
- library: 'chat_components',
6
- variables: {
7
- actionIconWrapper: {
8
- color: actionIconWrapperColor,
9
- bg_color: '#2c3b4d',
10
- border_color: '#3f536b'
11
- },
12
- attachmentBubble: {
13
- bg_color: '#232b38',
14
- bg_color_failed: failedBg,
15
- border_color: '#2d3748',
16
- border_color_failed: failedBdr
17
- },
18
- attachmentBubbleInfo: {
19
- fileName_color: '#e2e4e6',
20
- fileName_color_failed: failedColor,
21
- fileSize_color: '#788190',
22
- fileSize_color_failed: '#788190'
23
- },
24
- articleBubble: {
25
- bg_color: '#232b38',
26
- bg_color_failed: failedBg,
27
- border_color: '#2d3748',
28
- border_color_failed: failedBdr,
29
- title_color: '#e2e4e6',
30
- title_color_failed: failedColor,
31
- summary_color: '#e2e4e6',
32
- summary_color_failed: failedColor
33
- },
34
- imAutoMessageInfo: {
35
- text_color: '#828994'
36
- },
37
- imIntegrationIcon,
38
- imTtIcon,
39
- imMessageContent: {
40
- text_color: '#a8b0bd'
41
- },
42
- imMessageMeta: {
43
- time_color: '#a8b0bd'
44
- },
45
- imPermaLink: {
46
- url_color: '#479dff'
47
- },
48
- imageBubble: {
49
- bg_color: '#232b38',
50
- bg_color_failed: failedBg,
51
- alt_text_color: '#e2e4e6',
52
- alt_text_color_failed: failedColor,
53
- border_color: '#2d3748',
54
- border_color_failed: failedBdr
55
- },
56
- locationBubble: {
57
- bg_color: '#232b38',
58
- bg_color_failed: failedBg,
59
- border_color: '#2d3748',
60
- border_color_failed: failedBdr,
61
- url_color: primaryBlue,
62
- url_color_failed: failedUrlColor
63
- },
64
- messageBox: {
65
- incoming_bg_color: incomingBubbleBgColor,
66
- outgoing_bg_color: '#2c3b4d',
67
- bg_color: '#f1f7fe',
68
- failed_bg_color: failedBgWrapper,
69
- text_color: messagetextColor,
70
- failed_text_color: '#000'
71
- },
72
- messageBubble: {
73
- active_bg_color: bubbleActiveBgColor,
74
- messageBox_footer_text_color: '#5a616f'
75
- },
76
- messageStatus: {
77
- send_color: messageStatusSendColor,
78
- read_color: '#479dff',
79
- failed_color: messageStatusFailedColor
80
- },
81
- replyBubble: {
82
- border_color: '#2d3748',
83
- border_color_failed: failedBdr
84
- },
85
- replyBubbleContent: {
86
- bg_color: '#232b38',
87
- bg_color_failed: failedBg,
88
- border_color: '#2d3748',
89
- border_color_failed: failedBdr,
90
- line_color: '#cddbf2',
91
- line_color_failed: failedLine,
92
- sender_color: '#e2e4e6',
93
- sender_color_failed: failedColor,
94
- content_color: '#e2e4e6',
95
- content_color_failed: failedColor
96
- },
97
- replyBubbleHeader: {
98
- text_color: '#e2e4e6',
99
- text_color_failed: failedColor,
100
- time_color: '#828994',
101
- time_color_failed: failedColor
102
- },
103
- textBubble: {
104
- text_color: '#e2e4e6',
105
- text_color_failed: failedColor,
106
- see_more_color: primaryBlue,
107
- see_more_color_failed: failedUrlColor,
108
- url_color: primaryBlue,
109
- url_color_failed: failedUrlColor
110
- },
111
- videoBubble: {
112
- border_color: '#2d3748',
113
- border_color_failed: failedBdr
114
- }
115
- }
116
- };
@@ -1,16 +0,0 @@
1
- export const incomingBubbleBgColor = '#232b38';
2
- export const bubbleActiveBgColor = '#1b2e33';
3
- export const actionIconWrapperColor = '#e2e4e6';
4
- export const messageStatusSendColor = '#61667a';
5
- export const messageStatusFailedColor = '#de3535';
6
- export const primaryBlue = '#479dff';
7
- export const primaryGreen = '#45a159';
8
- export const primaryOrange = '#ff801f';
9
- export const primaryRed = '#e94f4f';
10
- export const primaryYellow = '#d79835';
11
- export const failedBgWrapper = '#f4b5bc';
12
- export const failedBg = '#f6dcdf';
13
- export const failedBdr = '#eb9ea7';
14
- export const failedLine = '#eb9ea7';
15
- export const failedColor = '#000';
16
- export const failedUrlColor = '#0a73eb';