@capillarytech/creatives-library 2.0.7 → 2.0.9
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 { injectIntl, intlShape } from 'react-intl';
|
|
12
12
|
import { createStructuredSelector } from 'reselect';
|
|
13
13
|
import { bindActionCreators } from 'redux';
|
|
14
|
-
import { CapTab,
|
|
14
|
+
import { CapTab, CapCustomCard, CapIcons, 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';
|
|
@@ -19,7 +19,7 @@ import messages from './messages';
|
|
|
19
19
|
import * as actions from './actions';
|
|
20
20
|
import Templates from '../Templates';
|
|
21
21
|
const { View } = CapIcons;
|
|
22
|
-
|
|
22
|
+
const {CapCustomCardList} = CapCustomCard;
|
|
23
23
|
export class TemplatesV2 extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
|
24
24
|
constructor(props) {
|
|
25
25
|
super(props);
|
|
@@ -44,7 +44,7 @@ export class TemplatesV2 extends React.Component { // eslint-disable-line react/
|
|
|
44
44
|
}));
|
|
45
45
|
return (<div>
|
|
46
46
|
{filterContent}
|
|
47
|
-
<
|
|
47
|
+
<CapCustomCardList cardList={cardDataList} type="SMS" />
|
|
48
48
|
</div>);
|
|
49
49
|
}
|
|
50
50
|
getTemplatesComponent(channel) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capillarytech/creatives-library",
|
|
3
3
|
"author": "meharaj",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.9",
|
|
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.
|
|
16
|
+
"@capillarytech/cap-ui-library": "^1.0.44",
|
|
17
17
|
"antd": "^3.13.1",
|
|
18
18
|
"axios": "^0.16.2",
|
|
19
19
|
"babel-polyfill": "6.20.0",
|