@zohoim/chat-components 1.2.1-beta-13 → 1.2.3-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.
package/README.md
CHANGED
|
@@ -10,6 +10,10 @@ In this Library, We Provide Some Basic Message Components to Build Your Chat App
|
|
|
10
10
|
|
|
11
11
|
> import MessageBubble from '@zohoim/chat-components/es/MessageBubble/MessageBubble’;
|
|
12
12
|
|
|
13
|
+
# 1.2.3
|
|
14
|
+
|
|
15
|
+
- The IMMessageMeta component has been updated to improve icon handling and display capabilities.
|
|
16
|
+
|
|
13
17
|
# 1.2.1
|
|
14
18
|
|
|
15
19
|
- The direction constant has been updated from "IN/OUT" to "in/out".
|
|
@@ -21,7 +21,8 @@ const {
|
|
|
21
21
|
TWILLIO,
|
|
22
22
|
LINE,
|
|
23
23
|
FACEBOOKMESSENGER,
|
|
24
|
-
INSTAGRAM
|
|
24
|
+
INSTAGRAM,
|
|
25
|
+
WECOM
|
|
25
26
|
} = integrationConstants;
|
|
26
27
|
const fontIconMap = {
|
|
27
28
|
[TWILLIO]: 'ZD-TT-imtwillio',
|
|
@@ -31,7 +32,8 @@ const fontIconMap = {
|
|
|
31
32
|
[LINE]: 'ZD-TT-imLine',
|
|
32
33
|
[IM_TALK]: 'ZD-TT-imASAP',
|
|
33
34
|
[FACEBOOKMESSENGER]: 'ZD-TT-fbMessanger',
|
|
34
|
-
[INSTAGRAM]: 'ZD-TT-instagram'
|
|
35
|
+
[INSTAGRAM]: 'ZD-TT-instagram',
|
|
36
|
+
[WECOM]: 'ZD-TT-weCom'
|
|
35
37
|
};
|
|
36
38
|
export default function IMIntegrationIcon(props) {
|
|
37
39
|
const {
|
|
@@ -40,8 +40,9 @@ var WHATSAPP = _integrationConstants["default"].WHATSAPP,
|
|
|
40
40
|
TWILLIO = _integrationConstants["default"].TWILLIO,
|
|
41
41
|
LINE = _integrationConstants["default"].LINE,
|
|
42
42
|
FACEBOOKMESSENGER = _integrationConstants["default"].FACEBOOKMESSENGER,
|
|
43
|
-
INSTAGRAM = _integrationConstants["default"].INSTAGRAM
|
|
44
|
-
|
|
43
|
+
INSTAGRAM = _integrationConstants["default"].INSTAGRAM,
|
|
44
|
+
WECOM = _integrationConstants["default"].WECOM;
|
|
45
|
+
var fontIconMap = (_fontIconMap = {}, _defineProperty(_fontIconMap, TWILLIO, 'ZD-TT-imtwillio'), _defineProperty(_fontIconMap, WHATSAPP, 'ZD-TT-whatsApp'), _defineProperty(_fontIconMap, TELEGRAM, 'ZD-TT-imTelegram'), _defineProperty(_fontIconMap, WECHAT, 'ZD-TT-imWeChat'), _defineProperty(_fontIconMap, LINE, 'ZD-TT-imLine'), _defineProperty(_fontIconMap, IM_TALK, 'ZD-TT-imASAP'), _defineProperty(_fontIconMap, FACEBOOKMESSENGER, 'ZD-TT-fbMessanger'), _defineProperty(_fontIconMap, INSTAGRAM, 'ZD-TT-instagram'), _defineProperty(_fontIconMap, WECOM, 'ZD-TT-weCom'), _fontIconMap);
|
|
45
46
|
|
|
46
47
|
function IMIntegrationIcon(props) {
|
|
47
48
|
var customStyle = props.customStyle,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohoim/chat-components",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3-beta-1",
|
|
4
4
|
"description": "Chat Components",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"@zohodesk/utils": "1.3.14",
|
|
46
46
|
"@zohodesk/variables": "1.0.0",
|
|
47
47
|
"@zohodesk/virtualizer": "1.0.13",
|
|
48
|
-
"@zohoim/chat-components-hooks": "1.2.
|
|
49
|
-
"@zohoim/chat-components-utils": "1.2.
|
|
48
|
+
"@zohoim/chat-components-hooks": "1.2.3-beta-2",
|
|
49
|
+
"@zohoim/chat-components-utils": "1.2.3-beta-1",
|
|
50
50
|
"html-to-react": "1.7.0 ",
|
|
51
51
|
"jsdom": "23.0.0",
|
|
52
52
|
"react-sortable-hoc": "1.11.0",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"@zohodesk/utils": "1.3.14",
|
|
66
66
|
"@zohodesk/variables": "1.0.0",
|
|
67
67
|
"@zohodesk/virtualizer": "1.0.13",
|
|
68
|
-
"@zohoim/chat-components-hooks": "1.2.
|
|
69
|
-
"@zohoim/chat-components-utils": "1.2.
|
|
68
|
+
"@zohoim/chat-components-hooks": "1.2.3-beta-2",
|
|
69
|
+
"@zohoim/chat-components-utils": "1.2.3-beta-1",
|
|
70
70
|
"react-sortable-hoc": "1.11.0",
|
|
71
71
|
"velocity-react": "1.4.3"
|
|
72
72
|
}
|