@capillarytech/creatives-library 8.0.233 → 8.0.234

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "8.0.233",
4
+ "version": "8.0.234",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -171,7 +171,7 @@ const InlineDiv = styled.div`
171
171
  `;
172
172
  const AccountScrollDiv = styled.div`
173
173
  overflow: scroll;
174
- height: calc(100vh - 300px);
174
+ height: calc(100vh - 18.75rem);
175
175
  `;
176
176
  const ACCOUNT_SELECTION_MODE = "accountSelectionMode";
177
177
  const ACCOUNT_CHANGE_MODE = 'accountChangeMode';
@@ -3072,7 +3072,6 @@ return (<div>
3072
3072
  if (channel === WECHAT && !commonUtil.hasWechatFeatureEnabled()) {
3073
3073
  showNoAccountHeader = true;
3074
3074
  }
3075
- console.log('accountOptions: ', accountOptions)
3076
3075
  return (<CapSkeleton loading={fetchingWeCrmAccounts || isDomainPropertiesLoading} active paragraph={{ rows: 10 }}>
3077
3076
  {showNoAccountHeader ? <FormattedMessage {...noAccountHeader} /> :
3078
3077
  <div style={{ overflowX: "auto", paddingBottom: CAP_SPACE_16 }}>
@@ -3087,8 +3086,8 @@ return (<div>
3087
3086
  className="select-account"
3088
3087
  onChange={this.onAccountSelect}
3089
3088
  panes={accountOptions}
3090
- cardHeight="48px"
3091
- cardWidth="276px"
3089
+ cardHeight="3rem"
3090
+ cardWidth="17.25rem"
3092
3091
  size="small"
3093
3092
  defaultValue={selectedAccount}
3094
3093
  selected={selectedAccount}
@@ -47,8 +47,8 @@ exports[`Test Templates container Should render correct component for whatsapp c
47
47
  />
48
48
  <Templates__AccountScrollDiv>
49
49
  <CapRadioCard
50
- cardHeight="48px"
51
- cardWidth="276px"
50
+ cardHeight="3rem"
51
+ cardWidth="17.25rem"
52
52
  className="select-account"
53
53
  defaultValue=""
54
54
  onChange={[Function]}
@@ -105,8 +105,8 @@ exports[`Test Templates container Should render correct component for zalo chann
105
105
  />
106
106
  <Templates__AccountScrollDiv>
107
107
  <CapRadioCard
108
- cardHeight="48px"
109
- cardWidth="276px"
108
+ cardHeight="3rem"
109
+ cardWidth="17.25rem"
110
110
  className="select-account"
111
111
  defaultValue=""
112
112
  onChange={[Function]}
@@ -120,7 +120,7 @@ exports[`Test Templates container Should render correct component for zalo chann
120
120
  text="c"
121
121
  width="auto"
122
122
  />,
123
- "key": "fa66f53ca2bb4b93b02dfc5bd265e2fd",
123
+ "key": "mock-zalo-account-uuid-001",
124
124
  "title": "capillary_zns",
125
125
  "value": "capillary_zns",
126
126
  },
@@ -338,8 +338,8 @@ exports[`Test Templates container Should render temlates when Zalo templates are
338
338
  />
339
339
  <Templates__AccountScrollDiv>
340
340
  <CapRadioCard
341
- cardHeight="48px"
342
- cardWidth="276px"
341
+ cardHeight="3rem"
342
+ cardWidth="17.25rem"
343
343
  className="select-account"
344
344
  defaultValue=""
345
345
  onChange={[Function]}
@@ -353,7 +353,7 @@ exports[`Test Templates container Should render temlates when Zalo templates are
353
353
  text="c"
354
354
  width="auto"
355
355
  />,
356
- "key": "fa66f53ca2bb4b93b02dfc5bd265e2fd",
356
+ "key": "mock-zalo-account-uuid-001",
357
357
  "title": "capillary_zns",
358
358
  "value": "capillary_zns",
359
359
  },
@@ -984,8 +984,8 @@ exports[`Test Templates container Should render temlates when zalo templates are
984
984
  />
985
985
  <Templates__AccountScrollDiv>
986
986
  <CapRadioCard
987
- cardHeight="48px"
988
- cardWidth="276px"
987
+ cardHeight="3rem"
988
+ cardWidth="17.25rem"
989
989
  className="select-account"
990
990
  defaultValue=""
991
991
  onChange={[Function]}
@@ -999,7 +999,7 @@ exports[`Test Templates container Should render temlates when zalo templates are
999
999
  text="c"
1000
1000
  width="auto"
1001
1001
  />,
1002
- "key": "fa66f53ca2bb4b93b02dfc5bd265e2fd",
1002
+ "key": "mock-zalo-account-uuid-001",
1003
1003
  "title": "capillary_zns",
1004
1004
  "value": "capillary_zns",
1005
1005
  },
@@ -18,7 +18,7 @@ export default css`
18
18
  margin-top: ${CAP_SPACE_16}
19
19
  }
20
20
  ` : `.cap-tab-v2 {
21
- height: calc(100vh - 180px);
21
+ height: calc(100vh - 11.25rem);
22
22
  } `}
23
23
  }
24
24
  `;
@@ -1877,7 +1877,7 @@ export default {
1877
1877
  hostName: "",
1878
1878
  toMirror: true,
1879
1879
  id: 85,
1880
- uuid: "fa66f53ca2bb4b93b02dfc5bd265e2fd",
1880
+ uuid: "mock-zalo-account-uuid-001",
1881
1881
  sourceAccountIdentifier: "4404293319006178133",
1882
1882
  commChannels: ["zalo"],
1883
1883
  },
@@ -1901,7 +1901,7 @@ export default {
1901
1901
  },
1902
1902
  toMirror: true,
1903
1903
  id: 85,
1904
- uuid: "fa66f53ca2bb4b93b02dfc5bd265e2fd",
1904
+ uuid: "mock-zalo-account-uuid-001",
1905
1905
  sourceAccountIdentifier: "4404293319006178133",
1906
1906
  commChannels: ["zalo"],
1907
1907
  },