@capillarytech/creatives-library 3.6.7 → 3.6.8

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.
@@ -13,7 +13,7 @@ import _ from 'lodash';
13
13
  import SlideBox from '../../SlideBox';
14
14
  import './_wechatRichmediaTemplatePrev.scss';
15
15
  import messages from './messages';
16
- const wechatBody = require('./../assets/images/wechat_mobile-android.png');
16
+ const wechatBody = require('../assets/images/wechat_mobile_android.svg');
17
17
 
18
18
  class WechatRichmediaTemplatePreview extends React.PureComponent { // eslint-disable-line react/prefer-stateless-function
19
19
  preparePreviewData = (mediaList) => {
@@ -1,4 +1,4 @@
1
- @import "@capillarytech/cap-ui-library/styles/_variables.scss";
1
+ @import "~@capillarytech/cap-ui-library/styles/_variables.scss";
2
2
 
3
3
  .shell-lock-screen-ios{
4
4
  display: flex;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "3.6.7",
4
+ "version": "3.6.8",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -63,6 +63,7 @@ export class CallTask extends React.Component { // eslint-disable-line react/pre
63
63
  const templateIntlText = formatMessage(messages.template);
64
64
  const templateText = isFullMode ? templateIntlText : '';
65
65
  return {
66
+ buttonClassName: 'new-call-task-button',
66
67
  buttonLabel: formatMessage(messages.newCallTaskTemplate, { templateText }),
67
68
  onClick: showContentInSlidebox ? this.showNewCallTask : onCreateNew,
68
69
  illustrationImage: calltaskIllustration,
@@ -251,7 +251,7 @@ const Facebook = (props) => {
251
251
  {!socialRemoteCampaignId && onChange && (
252
252
  <CapButton
253
253
  type="flat"
254
- className="marketingObjective-change-button"
254
+ className="marketingObjective-change-button facebook-marketing-objective-change"
255
255
  onClick={onChange}
256
256
  >
257
257
  <FormattedMessage {...messages.fbChange} />
@@ -321,6 +321,7 @@ const Facebook = (props) => {
321
321
  </div>
322
322
  </div>
323
323
  <CapButton
324
+ className="facebook-confirm-button"
324
325
  type="primary"
325
326
  onClick={() =>
326
327
  onFacebookSubmit({ channel: "FACEBOOK", selectedMarketingObjective, accountId })