New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mini-ali-ui-rpx

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mini-ali-ui-rpx - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

12

CHANGELOG.md

@@ -0,1 +1,13 @@

## 1.1.3
`2020-07-30`
* **Fixed**
* steps 组件水平方向新增高亮以及支持更多的 slot;
* button组件胶囊圆角调整;
* amount-input 组件的清除 icon 控制方式调整;
* 对 list 组件中的 loading 组件源码做调整;
* verify-code 组件可设置加载时主动触发发送按钮;
* CSS token 优化调整;
* **Feature**
* title support custom operation ([#39](https://github.com/Alibaba-mp/mini-ali-ui/pull/39))
## 1.1.2

@@ -2,0 +14,0 @@ `2020-07-16`

16

es/amount-input/index.js

@@ -9,3 +9,5 @@ import fmtEvent from '../_util/fmtEvent';

value: '',
controlled: false
controlled: false,
showClear: false,
focusAfterClear: true
},

@@ -63,4 +65,3 @@ data: {

_focus: false
}); // my.alert({ content: '_focus: ' + this.data._focus });
});
var event = fmtEvent(this.props, e);

@@ -73,6 +74,7 @@

onClearTap: function onClearTap() {
// my.alert({ content: 'manually focus' });
this.setData({
_focus: true
});
if (this.props.focusAfterClear) {
this.setData({
_focus: true
});
}

@@ -79,0 +81,0 @@ if (this.props.onClear) {

{
"component": true,
"usingComponents": {
"loading": "../loading/index"
}
"component": true
}

@@ -9,4 +9,6 @@ Component({

items: [],
showStepNumber: false
showStepNumber: false,
horizHighlight: false // 用于控制水平方向是否启用高亮展示 title
}
});

@@ -20,8 +20,6 @@ import fmtEvent from '../_util/fmtEvent';

onClick: function onClick(e) {
var _this$props = this.props,
type = _this$props.type,
onActionTap = _this$props.onActionTap;
var onActionTap = this.props.onActionTap;
var event = fmtEvent(this.props, e);
if ((type === 'arrow' || type === 'more' || type === 'close') && typeof onActionTap === 'function') {
if (typeof onActionTap === 'function') {
onActionTap(event);

@@ -28,0 +26,0 @@ }

@@ -26,2 +26,4 @@ import fmtEvent from '../_util/fmtEvent';

isInitialActive: true,
initActive: false,
// 是否自动触发点击发送事件
onInput: function onInput() {},

@@ -49,3 +51,11 @@ onConfirm: function onConfirm() {},

actedBefore: false
});
}); // 在组件加载的时候是否主动触发点击发送验证码事件
if (this.props.initActive) {
this.onTapSend();
} else {
this.setData({
_actionActive: !this.props.initActive
});
}
},

@@ -52,0 +62,0 @@ didUnmount: function didUnmount() {

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

{"name":"mini-ali-ui-rpx","version":"1.1.2","description":"小程序版AntUI rpx 版本","repository":{"type":"git","url":"git@github.com:Alibaba-mp/mini-ali-ui.git"},"files":["es"],"keywords":["antui","mini-program","mini-ali-ui","ali-ui"],"license":"MIT","devDependencies":{"@babel/core":"^7.6.4","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.6.3","@babel/preset-typescript":"^7.6.0","@typescript-eslint/parser":"^2.17.0","alipay-style":"^0.1.0","eslint":"^5.16.0","eslint-config-ali":"^3.1.0","eslint-plugin-import":"^2.11.0","eslint-plugin-typescript":"^0.14.0","gulp":"^4.0.0","gulp-babel":"^8.0.0","gulp-clean-css":"^4.0.0","gulp-if":"^2.0.2","gulp-inject-envs":"^1.1.1","gulp-less":"^4.0.1","gulp-rename":"^1.2.3","lint-staged":"^8.2.0","mini-types":"^0.0.1","pre-commit":"^1.2.2","stylelint":"^10.1.0","stylelint-config-standard":"^18.2.0","typescript":"^3.6.4"},"scripts":{"lint-staged":"lint-staged","build":"yarn && NODE_ENV=production node scripts/compiler.js","pub":"npm run build && node scripts/pub.js","dev":"yarn && node scripts/compiler.js","build:rpx":"yarn && NODE_ENV=production node scripts/compiler.js --rpx","pub:rpx":"npm run build:rpx && node scripts/pub.js --rpx","dev:rpx":"yarn && node scripts/compiler.js --rpx"},"pre-commit":["lint-staged"],"lint-staged":{"*.ts":["eslint --ext .ts","git add"],"*.js":["eslint","git add"],"*.less":["stylelint --syntax less"]}}
{"name":"mini-ali-ui-rpx","version":"1.1.3","description":"小程序版AntUI rpx 版本","repository":{"type":"git","url":"git@github.com:Alibaba-mp/mini-ali-ui.git"},"files":["es"],"keywords":["antui","mini-program","mini-ali-ui","ali-ui"],"license":"MIT","devDependencies":{"@babel/core":"^7.6.4","@babel/plugin-syntax-dynamic-import":"^7.0.0","@babel/preset-env":"^7.6.3","@babel/preset-typescript":"^7.6.0","@typescript-eslint/parser":"^2.17.0","alipay-style":"^0.1.0","eslint":"^5.16.0","eslint-config-ali":"^3.1.0","eslint-plugin-import":"^2.11.0","eslint-plugin-typescript":"^0.14.0","gulp":"^4.0.0","gulp-babel":"^8.0.0","gulp-clean-css":"^4.0.0","gulp-if":"^2.0.2","gulp-inject-envs":"^1.1.1","gulp-less":"^4.0.1","gulp-rename":"^1.2.3","lint-staged":"^8.2.0","mini-types":"^0.0.1","pre-commit":"^1.2.2","stylelint":"^10.1.0","stylelint-config-standard":"^18.2.0","typescript":"^3.6.4"},"scripts":{"lint-staged":"lint-staged","build":"yarn && NODE_ENV=production node scripts/compiler.js","pub":"npm run build && node scripts/pub.js","dev":"yarn && node scripts/compiler.js","build:rpx":"yarn && NODE_ENV=production node scripts/compiler.js --rpx","pub:rpx":"npm run build:rpx && node scripts/pub.js --rpx","dev:rpx":"yarn && node scripts/compiler.js --rpx"},"pre-commit":["lint-staged"],"lint-staged":{"*.ts":["eslint --ext .ts","git add"],"*.js":["eslint","git add"],"*.less":["stylelint --syntax less"]}}

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