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

antd

Package Overview
Dependencies
Maintainers
4
Versions
852
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

antd - npm Package Compare versions

Comparing version 0.9.1-beta11 to 0.9.1-beta12

18

CHANGELOG.md

@@ -7,2 +7,20 @@ # 更新日志

## 0.9.1 `not ready`
* 添加 Pagination pageSize 发生变化的回调。
* 升级依赖 rc-upload 到 1.6.x,修复 IE8/9 下的兼容性问题。
* 升级依赖 rc-steps 到 1.3.x。
* 新增 current 属性,方便配置当前的步骤。[#290](https://github.com/ant-design/ant-design/issues/290)
* 修复因滚动条影响页面宽度导致的错位问题。
* 升级依赖 rc-menu 到 1.5.x。
* 新增 onSelect 回调中返回参数 keyPath,从而支持只展开当前父级菜单的交互方式。[demo](http://ant.design/components/menu/#demo-sider-current)
* 修复 hover 类型的弹出菜单能响应点击事件的问题。[react-component/menu#14](https://github.com/react-component/menu/issues/14)
* 修复一个 Table 的分页无法正确展示的问题。[#253](https://github.com/ant-design/ant-design/issues/253)
* 修复一个 combobox 选择框无法选中的问题。[0435ca6](https://github.com/ant-design/ant-design/commit/0435ca60e3b574bac3808a10ba3db62f482335fd)
* 修复 Radio.Button 在 IE 8 下不可用的问题。[#321](https://github.com/ant-design/ant-design/issues/321)
* 适配 breadcrumb 面包屑组件和 `react-router@1.0.0-rc1`。
* 修复只能同时弹出一个 Modal 通知框的问题。[d6a4094](https://github.com/ant-design/ant-design/commit/d6a4094bc4c72acd05be001c7e46dbd17092001a)
* 部分组件交互和视觉效果修正。
## 0.9.0 `2015-09-14`

@@ -9,0 +27,0 @@

2

lib/index.js

@@ -54,2 +54,2 @@ require('./index.css');

antd.version = '0.9.1-beta11';
antd.version = '0.9.1-beta12';

@@ -63,12 +63,14 @@ 'use strict';

componentWillReceiveProps: function componentWillReceiveProps(nextProps) {
var newState = {};
if ('visible' in nextProps) {
var newState = {
visible: nextProps.visible
};
// 隐藏后去除按钮 loading 效果
newState.visible = nextProps.visible;
// 隐藏后默认去除按钮 loading 效果
if (!nextProps.visible) {
newState.confirmLoading = false;
}
this.setState(newState);
}
if ('confirmLoading' in nextProps) {
newState.confirmLoading = nextProps.confirmLoading;
}
this.setState(newState);
},

@@ -75,0 +77,0 @@

@@ -370,2 +370,9 @@ 'use strict';

handleShowSizeChange: function handleShowSizeChange(current, pageSize) {
var pagination = (0, _objectAssign3['default'])(this.state.pagination, {
pageSize: pageSize
});
this.fetch({ pagination: pagination });
},
renderPagination: function renderPagination() {

@@ -387,3 +394,4 @@ // 强制不需要分页

total: total,
pageSize: 10
pageSize: 10,
onShowSizeChange: this.handleShowSizeChange
}, this.state.pagination)) : null;

@@ -390,0 +398,0 @@ },

{
"name": "antd",
"version": "0.9.1-beta11",
"version": "0.9.1-beta12",
"stableVersion": "0.9.0",

@@ -5,0 +5,0 @@ "title": "Ant Design",

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