@capillarytech/creatives-library 2.0.11 → 2.0.12
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.
|
@@ -8,13 +8,16 @@ import PropTypes from 'prop-types';
|
|
|
8
8
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
// import styled from 'styled-components';
|
|
11
|
-
import {
|
|
11
|
+
import { CapSpin, CapModal, CapButton, CapPopover, CapInput, CapTree } from '@capillarytech/cap-ui-library';
|
|
12
|
+
import { CapSelect } from '@capillarytech/cap-react-ui-library';
|
|
13
|
+
|
|
12
14
|
import _ from 'lodash';
|
|
13
15
|
// import { CapInput } from '@capillarytech/cap-react-ui-library/basic/input';
|
|
14
16
|
import { injectIntl, intlShape } from 'react-intl';
|
|
15
17
|
import messages from './messages';
|
|
16
18
|
|
|
17
19
|
const {Search} = CapInput;
|
|
20
|
+
const {CapTreeNode} = CapTree;
|
|
18
21
|
class CapTagList extends React.Component { // eslint-disable-line react/prefer-stateless-function
|
|
19
22
|
|
|
20
23
|
constructor(props) {
|
|
@@ -201,7 +204,7 @@ class CapTagList extends React.Component { // eslint-disable-line react/prefer-s
|
|
|
201
204
|
</div>}
|
|
202
205
|
trigger="click"
|
|
203
206
|
placement="bottomRight">
|
|
204
|
-
<CapButton
|
|
207
|
+
<CapButton isAddBtn type="flat">{this.props.label !== '' ? this.props.label : ''}</CapButton>
|
|
205
208
|
</CapPopover>
|
|
206
209
|
<CapModal
|
|
207
210
|
visible={this.state.showModal}
|
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.12",
|
|
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.47",
|
|
17
17
|
"antd": "^3.13.1",
|
|
18
18
|
"axios": "^0.16.2",
|
|
19
19
|
"babel-polyfill": "6.20.0",
|