Skip to content

Releases: vueComponent/ant-design-vue

1.2.3

25 Dec 04:18
Compare
Choose a tag to compare

2018-12-25

  • 📝 Remove Christmas egg.
  • 🐞 Fix some components do not support array type class problem#322
  • 🌟 TreeSelect adds the treeExpandedKeys props and treeExpand event to control the expansion of the tree.
  • 🐞 Fix the Tree component warning duplicate key question when using TreeNode

  • 📝 移除圣诞彩蛋。
  • 🐞 修复部分组件不支持数组类型class问题#322
  • 🌟 TreeSelect 组件新增 treeExpandedKeys 属性和 treeExpand 事件,用于控制树的展开收起。
  • 🐞 修复Tree组件使用TreeNode时报重复Key问题。

1.2.2

19 Dec 14:22
Compare
Choose a tag to compare

2018-12-19

  • 🐞 Datepicker render footer twice question. #315
  • Menu
    • 🐞 menu automatically close up to fit width in horizontal mode.aa1b24
    • 🐞 menu first expand not animation in inline mode. d63935
    • 🐞 flashing problem when change collapse = true and change openKeys=[]3393f0
  • 🐞 Fix form validateStatus icon not work #321
  • 🐞 Upload thumbnail icon broken styles f1e130
  • 🐞 Icon support native event cffef3

  • 🐞 修复Datepicker渲染两次footer问题。#315
  • Menu
    • 🐞 修复在 horizontal 模式下不能自动收起来适应宽度的问题。aa1b24
    • 🐞 修复在 inline 模式下首次展开时没有动画的问题。d63935
    • 🐞 修复Menu组件在collapse=true openKeys=[]时闪动问题。3393f0
  • 🐞 修复 Form 组件在设置validateStatus时缺少Icon问题。 #321
  • 🐞 修复 Upload 缩略图图标样式错误。f1e130
  • 🐞 Icon 支持 native event cffef3

1.2.1

17 Dec 13:50
Compare
Choose a tag to compare

2018-12-17

  • 🐞 Fix Menu flashing problem when scaling under Layout
  • 🐞 Fix Icon report Warning problem

  • 🐞 修复MenuLayout下伸缩时闪动问题
  • 🐞 修复Icon报Warning问题

1.2.0

16 Dec 11:04
Compare
Choose a tag to compare

2018-12-16

Synchronize with antd 3.10.x

  • 🔥🔥🔥 replaced font icons with svg icons which bring benefits below::
    • Complete offline usage of icon, no dependency of alipay cdn font icon file and no more empty square during downloading than no need to deploy icon font files locally either.
    • Much more display accuracy in lower-level screens.
    • Support multiple colors for icon.
    • No need to change built-in icons with overriding styles by providing more props in component.
    • 😓 But at the same time bring the problem that the bundle file is too big, related solutions and discussions can check the React version of ant-design issue.
    • 🌟 Add the theme attribute to set the theme style of the icon.
    • 🌟 Added component attribute, you can externally pass a component to customize the control rendering result.
    • 🌟 The twoToneColor property is added to control the theme color of the two-color icon.
    • 🌟 Added static methods Icon.getTowToneColor() and Icon.setTwoToneColor(...) to globally get and set the theme color of all two-color icons.
    • 🌟 The new static method Icon.createFromIconfontCN({...}) is added to make it easier to use icons hosted on iconfont.cn.
  • 🔥 Added a new component Skeleton.
  • 🔥 Menu will automatically close up to fit width in horizontal mode.
  • 🔥 The placement of the drawer supports top and bottom to accommodate more scenes.
  • 🌟 The following components add a suffixIcon prop, which is used to set the icon behind the input box. For details, please refer to the documentation.
    • Cascader
    • DatePicker
    • Select
    • TreeSelect
    • TimePicker
  • 🌟 Added Modal.open for optional icon dialog.
  • 🌟 Modal.info adds the configuration of getContainer.
  • 🌟 Improve RangePicker footer UI by merging them.
  • 🌟 The Anchor component adds onClick property.
  • 🌟 The Tab component adds the renderTabBar property.
  • 🌟 The Input component adds the select method.
  • 🌟 Steps adds the initial attribute.
  • 🌟 Upload adds openFileDialogOnClick prop to allow setting whether to open the upload dialog when the component is clicked.
  • 🌟 InputNumber adds decimalSeparator prop to allow setting a custom decimal.
  • 🐞 Fix a lot of hidden bugs that have not yet been issued, and then not list them one by one.

与antd 3.10.x同步

  • 🔥🔥🔥 使用了 svg 图标替换了原先的 font 图标,从而带来了以下优势:
    • 可以离线化使用,不需要从支付宝 cdn 下载字体文件,图标不会因为网络问题呈现方块,也无需字体文件本地部署。
    • 在低端设备上 svg 有更好的清晰度。
    • 支持多色图标。
    • 对于内建图标的更换可以提供更多 API,而不需要进行样式覆盖。
    • 😓 但同时带来打包文件过大问题,相关解决方案和讨论可以查看 React 版 ant-design issue
    • 🌟 新增 theme 属性,可以设置图标的主题风格。
    • 🌟 新增 component 属性,可以外部传入一个组件来自定义控制渲染结果。
    • 🌟 新增 twoToneColor 属性,可以控制双色图标的主题色。
    • 🌟 新增静态方法 Icon.getTowToneColor()Icon.setTwoToneColor(...),可以全局性的获取和设置所有双色图标的主题色。
    • 🌟 新增静态方法 Icon.createFromIconfontCN({...}),可以更加方便地使用 iconfont.cn 上托管的图标。
  • 🔥 增加了一个新组件Skeleton
  • 🔥 Menu 在 horizontal 模式下会自动收起来适应宽度。
  • 🔥 Drawer 的 placement 支持 topbottom,可以适应更多场景。
  • 🌟 以下组件均新增了 suffixIcon 属性,用于设置输入框后面的图标,具体用法可以参考文档。
    • Cascader
    • DatePicker
    • Select
    • TreeSelect
    • TimePicker
  • 🌟 新增 Modal.open 方法,用于可自定义图标的快捷对话框。
  • 🌟 Modal.info 增加 getContainer 的配置。
  • 🌟 合并优化了 RangePicker 的日历页脚 UI。
  • 🌟 Anchor 组件增加 click 事件。
  • 🌟 Tab 组件增加 renderTabBar 属性。
  • 🌟 Input 组件增加 select 方法。
  • 🌟 Steps 增加 initial 属性。
  • 🌟 Upload 组件新增 openFileDialogOnClick 属性,用于设置点击组件时是否打开上传对话框。
  • 🌟 InputNumber 组件新增 decimalSeparator 属性,用于设置自定义的小数点。
  • 🐞 修复众多隐蔽暂未提issue的bug,再此不在一一列出

1.1.10

07 Dec 13:39
Compare
Choose a tag to compare

2018-12-7

  • 🔥🔥🔥 In the 1.1.10 version, the Form component better supports the single-file tempalte syntax. In previous versions, complex component requirements were required to be implemented using JSX. In order to better use the automatic collection and validation of Form forms in the template, we have optimized the way components are used. All Demo files are refactored using the latest syntax.
    However, for the previous API, continue to support, you can not worry about the API changes, resulting in problems in the existing system.
<template>
  <a-form :form="form">
    <a-form-item>
      <a-input v-decorator="[id, options]">
    </a-form-item>
  </a-form>
</template>
<script>
export default {
  beforeCreate () {
    this.form = this.$form.createForm(this, options)
  },
}
</script>
  • 🐞 Fix Steps component labelPlacement does not work #281
  • 🐞 Fix the Timeline component style problem, add reverse mode props #8e37cd
  • Tree
    • 🐞 Fix treeDefaultExpandedKeys does not work #284
    • 🐞 Fixes the component not update when other array attributes such as expandedKeys selectedKeys changed by array’s mutation methods. #239

  • 🔥🔥🔥 在1.1.10版本中Form组件更好地支持单文件tempalte语法,在以往版本中,对于复杂的组件需求,需要使用JSX才可以实现。为了更好地在template中使用Form表单的自动收集校验功能,我们优化了组件的使用方式。文档全部Demo使用最新语法重构。
    不过对于以往API,还是继续支持,你可以不用担心API的改变,导致已有系统出现问题。
<template>
  <a-form :form="form">
    <a-form-item>
      <a-input v-decorator="[id, options]">
    </a-form-item>
  </a-form>
</template>
<script>
export default {
  beforeCreate () {
    this.form = this.$form.createForm(this, options)
  },
}
</script>
  • 🐞 修复Steps组件labelPlacement不生效问题 #281
  • 🐞 修复Timeline组件样式问题,添加reverse mode属性 #8e37cd
  • Tree
    • 🐞 修复treeDefaultExpandedKeys不生效问题 #284
    • 🐞 修复expandedKeys selectedKeys等其它数组属性通过组件变异方法改变时组件不更新问题 #239

1.1.9

26 Nov 14:46
Compare
Choose a tag to compare

2018-11-26

  • 🐞 Fix the TreeSelect component getPopupContainer does not work #265
  • 🐞 Fix Carousel component on-demand loading does not work #271
  • 🐞 Fix Upload component remove event no return value problem #259

  • 🐞 修复TreeSelect组件getPopupContainer不生效问题 #265
  • 🐞 修复Carousel组件按需加载不生效问题 #271
  • 🐞 修复Upload组件remove事件无返回值问题 #259

1.1.8

11 Nov 11:16
Compare
Choose a tag to compare

2018-11-11

  • Progress
    • 🐞 Fix circle type does not support strokeColor problem #238
    • 🐞 Add normal type #257
  • 🐞 Fix Cascader component does not support getPopupContainer problem #257
  • 🌟 Tooltip support align #252

  • Progress
    • 🐞 修复circle类型不支持strokeColor问题 #238
    • 🐞 添加normal类型 #257
  • 🐞 修复Cascader组件getPopupContainer不生效问题 #257
  • 🌟 Tooltip支持align #252

1.1.7

27 Oct 09:46
Compare
Choose a tag to compare

2018-10-27

  • 🐞 Fix Cascader component type error problem #219
  • 🐞 Fix Tree component custom Icon the callback parameter order error #223
  • 🐞 Fix Table pagination trigger multiple change events when showSizeChange=true #228
  • 🌟 Optimize the Tabs component to add tabs to the visible area by default #215
  • 🐞 Fix RadioGroup component does not support number 0 problem #226
  • 🐞 Fix Slider component When setting zoom is not 1, the position error problem, some browsers need visualViewport Polyfill #227

  • 🐞 修复Cascader组件类型错误问题 #219
  • 🐞 修复Tree组件自定义Icon时回调参数顺序错误问题 #223
  • 🐞 修复Table组件多次触发翻页回调问题 #228
  • 🌟 优化Tabs组件新增tab默认滚动到可视区域 #215
  • 🐞 修复RadioGroup组件不支持数字0问题 #226
  • 🐞 修复Slider组件当设置zoom不为1时,位置错误问题,部分浏览器需要visualViewport Polyfill #227

1.1.6

10 Oct 07:23
Compare
Choose a tag to compare

2018-10-10

  • 🐞 Fix Select component keyboard event error #217
  • 🐞 Fix the Drawer component children update issue #209

  • 🐞 修复Select组件键盘事件报错问题 #217
  • 🐞 修复Drawer组件children更新问题 #209

1.1.5

10 Oct 06:37
Compare
Choose a tag to compare
1.1.5 Pre-release
Pre-release
bump 1.1.5