@capillarytech/creatives-library 7.17.47 → 7.17.48

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.
@@ -70,4 +70,5 @@ export const PROMO_ENGINE_RELATED_TAGS = [
70
70
  "promotion_expiry_date",
71
71
  ];
72
72
 
73
- export const CUSTOMER_BARCODE_TAG = "customer_barcode";
73
+ export const CUSTOMER_BARCODE_TAG = "customer_barcode";
74
+ export const COPY_OF = "Copy of";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.17.47",
4
+ "version": "7.17.48",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -11,7 +11,7 @@ import moment from 'moment';
11
11
  import { FONT_COLOR_05 } from '@capillarytech/cap-ui-library/styled/variables';
12
12
  // import styled from 'styled-components';
13
13
  import { CapSpin, CapModal, CapButton, CapPopover, CapInput, CapTree, CapSelect, CapTooltip, CapLink, CapIcon } from '@capillarytech/cap-ui-library';
14
-
14
+ import './style.scss';
15
15
  import _ from 'lodash';
16
16
  import { FormattedMessage, injectIntl, intlShape } from 'react-intl';
17
17
  import { createStructuredSelector } from 'reselect';
@@ -0,0 +1,5 @@
1
+ @media (max-height: 25rem) {
2
+ .ant-tree.cap-tree-v2.ant-tree-icon-hide {
3
+ height: 8.5714rem;
4
+ }
5
+ }
@@ -54,7 +54,7 @@ import { convert } from 'html-to-text';
54
54
  import { AI_SUGGESTION_API_URL } from './constants';
55
55
  import { GET_TRANSLATION_MAPPED } from '../../containers/TagList/constants';
56
56
  import moment from 'moment';
57
- import { CUSTOMER_BARCODE_TAG } from '../../containers/App/constants';
57
+ import { CUSTOMER_BARCODE_TAG , COPY_OF} from '../../containers/App/constants';
58
58
  const TabPane = Tabs.TabPane;
59
59
  const {Column} = Table;
60
60
  const {TextArea} = CapInput;
@@ -1669,7 +1669,7 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
1669
1669
  } else {
1670
1670
  const tempTab = ifError ? currentTab : this.state.currentTab;
1671
1671
  const version = `Version ${this.state.currentTab}`;
1672
- formData[tabCount].name = `${this.props?.intl?.formatMessage(globalMessages.copyOf)} ${formData[tempTab - 1].name ? formData[tempTab - 1].name : version}`;
1672
+ formData[tabCount].name = `${COPY_OF} ${formData[tempTab - 1].name ? formData[tempTab - 1].name : version}`;
1673
1673
  formData[tabCount].base = false;
1674
1674
  const initialTab = this.state.currentTab;
1675
1675
  this.setState({formData, tabCount: tabCount + 1, currentTab: tabCount + 1, tabKey: formData[tabCount].tabKey}, () => {
@@ -2554,7 +2554,7 @@ export class Email extends React.Component { // eslint-disable-line react/prefer
2554
2554
  <CapInput
2555
2555
  className="search-text"
2556
2556
  style={{width: '210px'}}
2557
- placeholder="Search"
2557
+ placeholder={`${this.props.intl.formatMessage(messages.searchText)}`}
2558
2558
  prefix={<i className="material-icons" style={{color: '#707070', fontSize: '16px'}}>search</i>}
2559
2559
  value={this.state.searchText}
2560
2560
  onChange={(e) => this.searchAsset(e.target.value)}