Comparing version 0.0.29 to 0.0.30
@@ -22,2 +22,3 @@ 'use strict'; | ||
require('./chart.scss'); | ||
// require('./list.scss'); | ||
@@ -71,3 +72,6 @@ var UnfoldIcon = function (_React$Component) { | ||
}, | ||
series: [] | ||
series: [], | ||
legend: { | ||
data: [] | ||
} | ||
}; | ||
@@ -155,2 +159,3 @@ | ||
this.option.series = data.series; | ||
this.option.legend = data.legend; | ||
if (this.props.theme === 'radio') { | ||
@@ -157,0 +162,0 @@ this.option.series[0].itemStyle = { |
@@ -121,8 +121,2 @@ 'use strict'; | ||
}, { | ||
key: 'componentWillUnmount', | ||
value: function componentWillUnmount() { | ||
this.hideTip(); | ||
console.log(1); | ||
} | ||
}, { | ||
key: 'showTip', | ||
@@ -129,0 +123,0 @@ value: function showTip(x, y, txt) { |
@@ -100,3 +100,3 @@ 'use strict'; | ||
this.setState({ | ||
listShow: false | ||
ctiyBoxShow: false | ||
}); | ||
@@ -103,0 +103,0 @@ } |
{ | ||
"name": "hui-ui", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"description": "hui-ui", | ||
@@ -8,3 +8,4 @@ "main": "index.js", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "webpack" | ||
"dev": "webpack", | ||
"pub": "babel lib-src -d lib" | ||
}, | ||
@@ -11,0 +12,0 @@ "repository": { |
@@ -9,31 +9,31 @@ /** | ||
module.exports = { | ||
entry: { | ||
'list/list': './src/list/list.jsx', | ||
'list/list-table': './src/list/list-table.jsx', | ||
'chart/chart': './src/chart/chart.jsx', | ||
'option/option': './src/option/option.jsx' | ||
// vendor: ['react', 'react-dom'] | ||
}, | ||
output: { | ||
filename: './dist/[name].js', | ||
// publicPath: 'dist/demo' | ||
}, | ||
module: { | ||
rules: [ | ||
// dafa | ||
{ | ||
test: /.jsx?$/, | ||
loader: 'babel-loader' | ||
}, | ||
// { | ||
// test: /\.scss$/, | ||
// loaders: ['style-loader', 'css-loader', 'sass-loader'] | ||
// }, | ||
// { | ||
// test: /\.less$/, | ||
// loaders: ['style-loader', 'css-loader', 'less-loader'] | ||
// } | ||
] | ||
entry: { | ||
'list/list': './src/list/list.jsx', | ||
'list/list-table': './src/list/list-table.jsx', | ||
'chart/chart': './src/chart/chart.jsx', | ||
'option/option': './src/option/option.jsx' | ||
// vendor: ['react', 'react-dom'] | ||
}, | ||
output: { | ||
filename: './dist/[name].js', | ||
// publicPath: 'dist/demo' | ||
}, | ||
module: { | ||
rules: [ | ||
// dafa | ||
{ | ||
test: /.jsx?$/, | ||
loader: 'babel-loader' | ||
}, | ||
watch: true || env !== 'production' | ||
}; | ||
{ | ||
test: /\.scss$/, | ||
loaders: ['style-loader', 'css-loader', 'sass-loader'] | ||
}, | ||
// { | ||
// test: /\.less$/, | ||
// loaders: ['style-loader', 'css-loader', 'less-loader'] | ||
// } | ||
] | ||
}, | ||
watch: true || env !== 'production' | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
610536
19
7433
1