@capillarytech/creatives-library 2.0.39 → 2.0.40

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.
@@ -3,6 +3,13 @@
3
3
  $classPrefix: add-creatives-section;
4
4
 
5
5
  .#{$classPrefix} {
6
+ &.creatives-library-mode{
7
+ .sms-create-container, .sms-email-container{
8
+ .ant-tabs-top-bar{
9
+ display: none;
10
+ }
11
+ }
12
+ }
6
13
  .#{$classPrefix}-footer {
7
14
  position: absolute;
8
15
  bottom: 0;
@@ -21,7 +21,6 @@ import FormBuilder from '../../../components/FormBuilder';
21
21
  import * as actions from './actions';
22
22
  import messages from './messages';
23
23
  import * as charCount from '../../../utils/smsCharCount';
24
- import { checkUnicode} from '../../../utils/smsCharCountV2';
25
24
  import * as globalActions from '../../../containers/Cap/actions';
26
25
  import {getMessageObject} from '../../../utils/messageUtils';
27
26
  import * as creativesContainerActions from '../../CreativesContainer/actions';
@@ -924,7 +923,7 @@ export class Create extends React.Component { // eslint-disable-line react/prefe
924
923
  tags = this.props.supportedTags; // if get default tags is not present and supported tags is present use that inlbrary mode
925
924
  }
926
925
  return (
927
- <div>
926
+ <div className="sms-create-container">
928
927
  <Spin spinning={spinning}>
929
928
  {/*<\Row style={{marginBottom: '16px', marginLeft: '-40px'}}>
930
929
  <Col offset={1}>
@@ -911,7 +911,7 @@ export class Edit extends React.Component { // eslint-disable-line react/prefer-
911
911
  tags = this.props.supportedTags;
912
912
  }
913
913
  return (
914
- <div>
914
+ <div className="sms-email-container">
915
915
  <Spin tip={tipText} spinning={spinning}>
916
916
  {/*<Row style={{marginBottom: '16px', marginLeft: '-40px'}}>
917
917
  <Col offset={1}>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "2.0.39",
4
+ "version": "2.0.40",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",