@capillarytech/creatives-library 2.0.43 → 2.0.44
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.
|
@@ -12,7 +12,7 @@ import { injectIntl, intlShape, FormattedMessage } from 'react-intl';
|
|
|
12
12
|
import { createStructuredSelector } from 'reselect';
|
|
13
13
|
import { bindActionCreators } from 'redux';
|
|
14
14
|
import styled from 'styled-components';
|
|
15
|
-
import { CapTab, CapCustomCard,
|
|
15
|
+
import { CapTab, CapCustomCard, CapButton, CapHeader, CapSpin, CapIcon } from '@capillarytech/cap-ui-library';
|
|
16
16
|
import { find } from 'lodash';
|
|
17
17
|
import Helmet from 'react-helmet';
|
|
18
18
|
|
|
@@ -24,7 +24,6 @@ import * as actions from './actions';
|
|
|
24
24
|
import Templates from '../Templates';
|
|
25
25
|
import './_templatesV2.scss';
|
|
26
26
|
|
|
27
|
-
const { View } = CapIcons;
|
|
28
27
|
const {CapCustomCardList} = CapCustomCard;
|
|
29
28
|
|
|
30
29
|
const ComponentWrapper = styled.div`
|
|
@@ -75,7 +74,7 @@ export class TemplatesV2 extends React.Component { // eslint-disable-line react/
|
|
|
75
74
|
{
|
|
76
75
|
key: `${currentChannel}-card-${template.name}`,
|
|
77
76
|
title: <span title={template.name} >{template.name}</span>,
|
|
78
|
-
extra: [<
|
|
77
|
+
extra: [<CapIcon type="eye" onClick={() => { if (this.props.isFullMode) { handlers.handlePreviewClick(template); } else { this.props.handlePeviewTemplate(template); } }} />],
|
|
79
78
|
hoverOption: <CapButton onClick={(e) => handlers.handleEditClick(e, template._id)}>{this.props.intl.formatMessage(this.props.isFullMode ? messages.edit : messages.select)}</CapButton>,
|
|
80
79
|
};
|
|
81
80
|
if (currentChannel === "SMS") {
|
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.44",
|
|
5
5
|
"description": "Capillary creatives ui",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"module": "./index.es.js",
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"license": "LicenseRef-LICENSE",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@capillarytech/cap-
|
|
16
|
-
"@capillarytech/cap-ui-library": "^1.0.77",
|
|
15
|
+
"@capillarytech/cap-ui-library": "^1.0.86",
|
|
17
16
|
"antd": "^3.15.0",
|
|
18
17
|
"axios": "^0.16.2",
|
|
19
18
|
"babel-polyfill": "6.20.0",
|