@capillarytech/creatives-library 2.0.1 → 2.0.2

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.
@@ -11,7 +11,7 @@ import { connect } from 'react-redux';
11
11
  import { FormattedMessage, injectIntl } from 'react-intl';
12
12
  import { createStructuredSelector } from 'reselect';
13
13
  import { bindActionCreators } from 'redux';
14
- import { CapTab, CapCard, CapIcons, CapSpin, CapButton } from '@capillarytech/cap-ui-library';
14
+ import { CapTab, CapCustomCard, CapIcons, CapSpin, CapButton } from '@capillarytech/cap-ui-library';
15
15
  import { find } from 'lodash';
16
16
  import { UserIsAuthenticated } from '../../utils/authWrapper';
17
17
  import { makeSelectTemplates, makeSelectTemplatesResponse } from '../Templates/selectors';
@@ -21,7 +21,7 @@ import * as actions from './actions';
21
21
  import * as commonUtil from '../../utils/common';
22
22
  import PreviewSideBar from '../../components/PreviewSideBar';
23
23
  import Templates from '../Templates';
24
- const { CapCardGrid } = CapCard;
24
+ const { CapCustomCardGrid } = CapCustomCard;
25
25
  const { Message, View } = CapIcons;
26
26
 
27
27
  export class TemplatesV2 extends React.Component { // eslint-disable-line react/prefer-stateless-function
@@ -48,7 +48,7 @@ export class TemplatesV2 extends React.Component { // eslint-disable-line react/
48
48
  options: <View onClick={() => { this.props.isFullMode ? handlers.handlePreviewClick(template) : this.props.handlePeviewTemplate(template); }} />,
49
49
  hoverOption: <CapButton onClick={(e) => handlers.handleEditClick(e, template._id)}>{this.props.intl.formatMessage(this.props.isFullMode ? messages.edit : messages.select)}</CapButton>,
50
50
  }));
51
- return <CapCardGrid cardDataList={cardDataList} />;
51
+ return <CapCustomCardGrid cardDataList={cardDataList} />;
52
52
  }
53
53
  getTemplatesComponent(channel) {
54
54
  const notFoundMessage = `No ${channel} templates found`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "2.0.1",
4
+ "version": "2.0.2",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -13,7 +13,7 @@
13
13
  "license": "LicenseRef-LICENSE",
14
14
  "dependencies": {
15
15
  "@capillarytech/cap-react-ui-library": "latest",
16
- "@capillarytech/cap-ui-library": "^1.0.14",
16
+ "@capillarytech/cap-ui-library": "^1.0.29",
17
17
  "antd": "^3.13.1",
18
18
  "axios": "^0.16.2",
19
19
  "babel-polyfill": "6.20.0",
@@ -65,4 +65,4 @@
65
65
  "warning": "3.0.0",
66
66
  "whatwg-fetch": "2.0.1"
67
67
  }
68
- }
68
+ }