Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

weui

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weui - npm Package Compare versions

Comparing version 2.0.1 to 2.1.1

src/example/fragment/form_checkbox.html

5

.picklogrc.js

@@ -5,2 +5,4 @@ const origin = 'https://github.com/Tencent/weui';

const logs = [];
module.exports = {

@@ -43,2 +45,5 @@ filters: [

result.commits.forEach((commit) => {
if (logs.indexOf(commit.s) > -1) return;
logs.push(commit.s);
output += `* ${commit.s}([${commit.h}](${commitPath}${commit.h}))\n`;

@@ -45,0 +50,0 @@ });

21

CHANGELOG.md

@@ -0,1 +1,18 @@

### [v2.1.1](https://github.com/Tencent/weui/compare/v2.0.1...v2.1.1) (2019-09-16)
#### Features
* feat: 增加模拟选择框([3d081fd](https://github.com/Tencent/weui/commit/3d081fd))
* feat: 升级表单UI,新增form页面模板,cell新增`weui-cells__group`结构,加扩展`weui-cells__group_form`可显示表单新皮肤([59ac11f](https://github.com/Tencent/weui/commit/59ac11f))
#### Style
* style: 增加agree未勾选时的提示动画([33af94c](https://github.com/Tencent/weui/commit/33af94c))
* style: 优化agree UI,更新图标,文字等样式
* style: 优化actionsheet UI([d5b369c](https://github.com/Tencent/weui/commit/d5b369c))
* style: icon实现从字体图标平滑升级为SVG([717b46a](https://github.com/Tencent/weui/commit/717b46a))
* style: 优化toast UI,布局改为`flex`,toast方块宽高单位改成`px`,不再相对当前字号([5a0bee8](https://github.com/Tencent/weui/commit/5a0bee8))
* style: 优化弹窗 UI,自适应规则调整:与屏幕左右各留16px的安全距离,宽度自适应,最大值为320px([0c3b3e5](https://github.com/Tencent/weui/commit/0c3b3e5))
* style: 优化半屏组件UI([5dcca15](https://github.com/Tencent/weui/commit/5dcca15))
### [v2.0.1](https://github.com/Tencent/weui/compare/v2.0.0...v2.0.1) (2019-07-15)

@@ -111,4 +128,4 @@

- 【修复】 解决某些组件的z-index冲突,标准化z-index
- 【修复】 解决`pannel`图标没有对齐的问题
- 【增强】 demo 更新 router
- 【修复】 解决`pannel`图标没有对齐的问题
- 【增强】 demo 更新 router
- 【增强】 autoprefixer 指定浏览器范围

@@ -115,0 +132,0 @@

42

gulpfile.js

@@ -14,6 +14,4 @@ var path = require('path');

var browserSync = require('browser-sync');
var prompt = require('inquirer').prompt;
var childProcess = require('child_process');
var pkg = require('./package.json');
var bower = require('./bower.json');
var yargs = require('yargs').options({

@@ -78,3 +76,4 @@ w: {

zindex: false,
autoprefixer: false
autoprefixer: false,
svgo: false
})

@@ -178,39 +177,2 @@ )

gulp.task('release', function() {
return new Promise(async (resolve) => {
try {
const answers = await prompt({
type: 'input',
name: 'tag',
message: 'Input a tag:',
});
const tag = answers.tag.replace(/^v/, '');
const tagName = `v${tag}`;
pkg.version = tag;
bower.version = tag;
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 4));
fs.writeFileSync('bower.json', JSON.stringify(bower, null, 4));
console.log('Building Project');
await exec(`npm run build && git add . && git commit -m "[release] ${tagName}"`);
console.log(`Setting tag ${tagName}`);
await exec(`git tag ${tagName}`);
console.log('Generating Changelog');
await exec(`npm run changelog && git add . && git commit -m "docs: update changelog"`);
console.log('Pushing Project');
await exec('git push && git push --tag');
console.log('Release Success!');
resolve();
} catch(error) {
throw error;
}
});
});
// 参数说明

@@ -217,0 +179,0 @@ // -w: 实时监听

{
"name": "weui",
"version": "2.0.1",
"version": "2.1.1",
"description": "A UI library by WeChat official design team, includes the most useful widgets/modules in mobile web applications.",

@@ -19,5 +19,6 @@ "keywords": [

"test": "gulp build",
"changelog": "picklog -lw CHANGELOG.md",
"changelog": "picklog -l -w CHANGELOG.md",
"build": "gulp build",
"release": "gulp release"
"version": "npm run build && npm run changelog && git add -A .",
"postversion": "git push && git push --tags"
},

@@ -46,7 +47,6 @@ "author": "wechat ui team",

"gulp-tap": "^0.1.3",
"inquirer": "^6.5.0",
"picklog": "^2.0.1",
"picklog": "^2.1.3",
"postcss-discard-comments": "^2.0.4",
"yargs": "^1.3.3"
}
}
}

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

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

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

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

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

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

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

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc