🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

uxcore-collapse

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uxcore-collapse - npm Package Compare versions

Comparing version

to
1.0.1

13

gulpfile.js

@@ -33,12 +33,2 @@ // https://github.com/gulpjs/gulp/tree/master/docs

gulp.task('less_component', function(cb) {
gulp.src(['./src/**/*.less'])
.pipe(sourcemaps.init())
.pipe(less())
.pipe(sourcemaps.write('.'))
.pipe(gulp.dest('./src'));
console.info('###### less_component done ######');
cb();
});
gulp.task('less_demo', function(cb) {

@@ -73,3 +63,2 @@ gulp.src(['./demo/**/*.less'])

'pack_demo',
'less_component',
'less_demo'

@@ -86,3 +75,3 @@ ], function() {

gulp.watch('src/**/*.less', ['reload_by_component_css']);
gulp.watch('src/**/*.less', ['reload_by_demo_css']);

@@ -89,0 +78,0 @@ gulp.watch('demo/**/*.less', ['reload_by_demo_css']);

3

HISTORY.md

@@ -5,3 +5,6 @@ # History

## 1.0.1
`UPGRADE` upgrade to rc-collapse@1.4.3
## 1.0.0
`NEW` first commit
{
"name": "uxcore-collapse",
"version": "1.0.0",
"version": "1.0.1",
"description": "uxcore-collapse component for uxcore.",

@@ -39,3 +39,3 @@ "repository": "https://github.com/uxcore/uxcore-collapse.git",

"object-assign": "^2.0.0",
"rc-collapse": "^1.3.2"
"rc-collapse": "^1.4.0"
},

@@ -42,0 +42,0 @@ "contributors": [],

@@ -47,5 +47,6 @@ ---

|---|---|---|---|---|
|activeKey | 当前激活 tab 面板的 key | Array or String | 默认无,accordion模式下默认第一个元素 |
|defaultActiveKey | 初始化选中面板的 key | String | 无 |
|onChange | 切换面板的回调 | Function | 无 |
|activeKey | array|string | the first panel key | 当前激活 tab 面板的 key 默认无,accordion模式下默认第一个元素 |
|defaultActiveKey | array|string | null | 初始化选中面板的 key |
|accordion | Boolean | false | 手风琴模式 |
|onChange | Function | 无 | 切换面板的回调 |

@@ -56,3 +57,3 @@ ### Collapse.Panel

|---|---|---|---|---|
|key | 对应 activeKey | String | 无 |
|header | 面板头内容 | React.Element or String | 无 |
|key | String | 无 | 对应 activeKey |
|header | React.Element or String | 无 | 面板头内容 |

@@ -37,3 +37,3 @@ var fs = require('fs');

var isNpmModule = !!path.match(/node_modules/);
var isUxcore = !!path.match(/node_modules\/uxcore/);
var isUxcore = !!path.match(/node_modules\/uxcore/) || !!path.match(/node_modules\/@ali\/uxcore/);
return isNpmModule & !isUxcore;

@@ -49,3 +49,4 @@ },

externals: {
react: 'var React' // 相当于把全局的React作为模块的返回 module.exports = React;
react: 'var React', // 相当于把全局的React作为模块的返回 module.exports = React;
'react-dom': 'var ReactDOM'
},

@@ -52,0 +53,0 @@ plugins: [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet