@zohoim/chat-components 1.0.2 → 1.0.4

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.
@@ -39,9 +39,9 @@ export default function AttachmentBubbleInfo(props) {
39
39
  }, /*#__PURE__*/React.createElement(Box, {
40
40
  className: newStyle.fileName,
41
41
  "data-title": fileName
42
- }, fileName), /*#__PURE__*/React.createElement(Box, {
42
+ }, fileName), fileSize ? /*#__PURE__*/React.createElement(Box, {
43
43
  className: newStyle.fileSize
44
- }, fileSize));
44
+ }, fileSize) : null);
45
45
  }
46
46
  AttachmentBubbleInfo.propTypes = attachmentBubbleInfoPropTypes;
47
47
  AttachmentBubbleInfo.defaultProps = attachmentBubbleInfoDefaultProps;
@@ -9,7 +9,6 @@
9
9
  font-size: var(--attachmentBubbleInfo-fileName_font_size);
10
10
  font-family: var(--attachmentBubbleInfo-fileName_font_family);
11
11
  color: var(--imlib_chat_components_attachmentBubbleInfo_fileName_color);
12
- margin-bottom: var(--zd_size5) ;
13
12
  }
14
13
 
15
14
  .failedAttachmentBubbleInfo .fileName{
@@ -20,6 +19,7 @@
20
19
  composes: varClass;
21
20
  font-size: var(--attachmentBubbleInfo-fileSize_font_size);
22
21
  color: var(--imlib_chat_components_attachmentBubbleInfo_fileSize_color);
22
+ margin-top: var(--zd_size5) ;
23
23
  }
24
24
 
25
25
  .failedAttachmentBubbleInfo .fileSize{
@@ -25,7 +25,7 @@ export const imIntegrationIcon = {
25
25
  wechat_color: '#2dc100',
26
26
  line_color: '#01b901',
27
27
  twillio_color: '#f22f46',
28
- instagram_color: 'red',
28
+ instagram_color: 'linear-gradient(221.05deg,#933ab9 11.59%,#d12f8c 50.45%,#fdbb59 85.46%)',
29
29
  asap_color: '#0a73eb',
30
30
  fb_color: '#006aff'
31
31
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohoim/chat-components",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Chat Components",
5
5
  "main": "es/index.js",
6
6
  "module": "es/index.js",
@@ -36,8 +36,8 @@
36
36
  "@zohodesk/utils": "1.3.13",
37
37
  "@zohodesk/variables": "1.0.0",
38
38
  "@zohodesk/virtualizer": "1.0.13",
39
- "@zohoim/chat-components-hooks": "^1.0.1",
40
- "@zohoim/chat-components-utils": "^1.0.1"
39
+ "@zohoim/chat-components-hooks": "^1.0.2",
40
+ "@zohoim/chat-components-utils": "^1.0.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@zohodesk-private/css-variable-migrator": "1.0.7",
@@ -45,5 +45,5 @@
45
45
  "jsdom": "23.0.0",
46
46
  "react-to-jsx": "1.3.2"
47
47
  },
48
- "gitHead": "8ffee56a3b513ff08f1a9fda6f5a224dbaad0d19"
48
+ "gitHead": "820157836f48ad572306ab081d02d99ff8373527"
49
49
  }