@zohoim/chat-components 1.2.1-beta-1 → 1.2.1-beta-10
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.
|
@@ -43,7 +43,8 @@ export default function IMMessageMeta(props) {
|
|
|
43
43
|
const {
|
|
44
44
|
imMessageMetaInfoTitle,
|
|
45
45
|
imMessageMetaInfoContent,
|
|
46
|
-
imMessageMetaInfoIcon
|
|
46
|
+
imMessageMetaInfoIcon,
|
|
47
|
+
imMessageMetaInfoIconTitle
|
|
47
48
|
} = useIMMessageMeta({
|
|
48
49
|
messageMetaInfoI18N,
|
|
49
50
|
autoMessageType,
|
|
@@ -68,9 +69,12 @@ export default function IMMessageMeta(props) {
|
|
|
68
69
|
return /*#__PURE__*/React.createElement(React.Fragment, null, imMessageMetaInfoContent || time ? /*#__PURE__*/React.createElement(Container, {
|
|
69
70
|
alignBox: "row",
|
|
70
71
|
className: imMessageMetaClass
|
|
71
|
-
}, IconComponent ? /*#__PURE__*/React.createElement(
|
|
72
|
+
}, IconComponent ? /*#__PURE__*/React.createElement("div", {
|
|
73
|
+
className: newStyle.iconWrapper,
|
|
74
|
+
"data-title": imMessageMetaInfoIconTitle
|
|
75
|
+
}, /*#__PURE__*/React.createElement(IconComponent, {
|
|
72
76
|
customStyle: iconStyle
|
|
73
|
-
}) : null, imMessageMetaInfoContent ? /*#__PURE__*/React.createElement(IMMessageMetaInfo, _extends({
|
|
77
|
+
})) : null, imMessageMetaInfoContent ? /*#__PURE__*/React.createElement(IMMessageMetaInfo, _extends({
|
|
74
78
|
imMessageMetaInfoContent: imMessageMetaInfoContent,
|
|
75
79
|
imMessageMetaInfoTitle: imMessageMetaInfoTitle
|
|
76
80
|
}, imMessageMetaInfoProps)) : null, imMessageMetaInfoContent && time ? /*#__PURE__*/React.createElement("div", {
|
|
@@ -62,7 +62,8 @@ function IMMessageMeta(props) {
|
|
|
62
62
|
}),
|
|
63
63
|
imMessageMetaInfoTitle = _useIMMessageMeta.imMessageMetaInfoTitle,
|
|
64
64
|
imMessageMetaInfoContent = _useIMMessageMeta.imMessageMetaInfoContent,
|
|
65
|
-
imMessageMetaInfoIcon = _useIMMessageMeta.imMessageMetaInfoIcon
|
|
65
|
+
imMessageMetaInfoIcon = _useIMMessageMeta.imMessageMetaInfoIcon,
|
|
66
|
+
imMessageMetaInfoIconTitle = _useIMMessageMeta.imMessageMetaInfoIconTitle;
|
|
66
67
|
/* External CSS Customization */
|
|
67
68
|
|
|
68
69
|
|
|
@@ -84,9 +85,12 @@ function IMMessageMeta(props) {
|
|
|
84
85
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, imMessageMetaInfoContent || time ? /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
85
86
|
alignBox: "row",
|
|
86
87
|
className: imMessageMetaClass
|
|
87
|
-
}, IconComponent ? /*#__PURE__*/_react["default"].createElement(
|
|
88
|
+
}, IconComponent ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
89
|
+
className: newStyle.iconWrapper,
|
|
90
|
+
"data-title": imMessageMetaInfoIconTitle
|
|
91
|
+
}, /*#__PURE__*/_react["default"].createElement(IconComponent, {
|
|
88
92
|
customStyle: iconStyle
|
|
89
|
-
}) : null, imMessageMetaInfoContent ? /*#__PURE__*/_react["default"].createElement(_IMMessageMetaInfo["default"], _extends({
|
|
93
|
+
})) : null, imMessageMetaInfoContent ? /*#__PURE__*/_react["default"].createElement(_IMMessageMetaInfo["default"], _extends({
|
|
90
94
|
imMessageMetaInfoContent: imMessageMetaInfoContent,
|
|
91
95
|
imMessageMetaInfoTitle: imMessageMetaInfoTitle
|
|
92
96
|
}, imMessageMetaInfoProps)) : null, imMessageMetaInfoContent && time ? /*#__PURE__*/_react["default"].createElement("div", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohoim/chat-components",
|
|
3
|
-
"version": "1.2.1-beta-
|
|
3
|
+
"version": "1.2.1-beta-10",
|
|
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.1-beta-
|
|
49
|
-
"@zohoim/chat-components-utils": "1.2.1-beta-
|
|
48
|
+
"@zohoim/chat-components-hooks": "1.2.1-beta-10",
|
|
49
|
+
"@zohoim/chat-components-utils": "1.2.1-beta-10",
|
|
50
50
|
"html-to-react": "1.7.0 ",
|
|
51
51
|
"jsdom": "23.0.0",
|
|
52
52
|
"react-sortable-hoc": "1.11.0",
|
|
@@ -65,10 +65,9 @@
|
|
|
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.1",
|
|
69
|
-
"@zohoim/chat-components-utils": "1.2.1",
|
|
68
|
+
"@zohoim/chat-components-hooks": "1.2.1-beta-10",
|
|
69
|
+
"@zohoim/chat-components-utils": "1.2.1-beta-10",
|
|
70
70
|
"react-sortable-hoc": "1.11.0",
|
|
71
71
|
"velocity-react": "1.4.3"
|
|
72
|
-
}
|
|
73
|
-
"gitHead": "50bdc5ea9e7cb3447998a75edfe0e28205198b38"
|
|
72
|
+
}
|
|
74
73
|
}
|