@zohoim/chat-components 1.2.1-beta-1 → 1.2.1-beta-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.
@@ -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,11 @@ 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(IconComponent, {
72
+ }, IconComponent ? /*#__PURE__*/React.createElement("div", {
73
+ "data-title": imMessageMetaInfoIconTitle
74
+ }, /*#__PURE__*/React.createElement(IconComponent, {
72
75
  customStyle: iconStyle
73
- }) : null, imMessageMetaInfoContent ? /*#__PURE__*/React.createElement(IMMessageMetaInfo, _extends({
76
+ })) : null, imMessageMetaInfoContent ? /*#__PURE__*/React.createElement(IMMessageMetaInfo, _extends({
74
77
  imMessageMetaInfoContent: imMessageMetaInfoContent,
75
78
  imMessageMetaInfoTitle: imMessageMetaInfoTitle
76
79
  }, 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,11 @@ 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(IconComponent, {
88
+ }, IconComponent ? /*#__PURE__*/_react["default"].createElement("div", {
89
+ "data-title": imMessageMetaInfoIconTitle
90
+ }, /*#__PURE__*/_react["default"].createElement(IconComponent, {
88
91
  customStyle: iconStyle
89
- }) : null, imMessageMetaInfoContent ? /*#__PURE__*/_react["default"].createElement(_IMMessageMetaInfo["default"], _extends({
92
+ })) : null, imMessageMetaInfoContent ? /*#__PURE__*/_react["default"].createElement(_IMMessageMetaInfo["default"], _extends({
90
93
  imMessageMetaInfoContent: imMessageMetaInfoContent,
91
94
  imMessageMetaInfoTitle: imMessageMetaInfoTitle
92
95
  }, 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-1",
3
+ "version": "1.2.1-beta-2",
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-1",
49
- "@zohoim/chat-components-utils": "1.2.1-beta-1",
48
+ "@zohoim/chat-components-hooks": "1.2.1-beta-2",
49
+ "@zohoim/chat-components-utils": "1.2.1-beta-2",
50
50
  "html-to-react": "1.7.0 ",
51
51
  "jsdom": "23.0.0",
52
52
  "react-sortable-hoc": "1.11.0",
@@ -70,5 +70,5 @@
70
70
  "react-sortable-hoc": "1.11.0",
71
71
  "velocity-react": "1.4.3"
72
72
  },
73
- "gitHead": "50bdc5ea9e7cb3447998a75edfe0e28205198b38"
73
+ "gitHead": "f2434674a311d96028e01ee1c5d28ab8733bb705"
74
74
  }