Skip to content

2.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 Nov 13:06
· 1730 commits to main since this release
448986d

2021-11-05

💎 Performance

  • tree-select: The clickable range of options occupies the entire row by default (#90)
  • tabs: Optimize the scrolling method of the tab bar (#87)
  • trigger: Move the outsideClickHandler to the document (#76)

🆕 Feature

  • table: Add the #title slot in table-column (#95)
  • form: Add hideAsterisk prop (#94)
  • input: Add wordLength prop (#91)
  • spin: Add size prop and icon & element slot (#86)
  • image: Add a slot named error-icon to support custom error status icon (#85)
  • Add Japanese support (#13)

🐛 BugFix

  • slider: Fixed the problem that the right click did not release the drag event (#97)
  • select: Fix the issue of #empty slot loss (#96)
  • input-number: Fix the problem of invalid accuracy (#93)
  • input-tag: Fix the problem that the width of the input box is calculated incorrectly (#89)
  • input: Remove preventDefault of keyDown event (#84)
  • table: Fix the issue that #column slot cannot support Fragment (#83)
  • table: Fix the problem that scroll.x does not take effect when used alone (#83)
  • textarea: Fix the problem of inaccurate automatic height adjustment (#78)
  • input: Fix the issue that the a-input-number component model-value does not take effect when the default value is 0 (#75)
  • input: Fix the problem that input-search and input-password do not support slot (#63)
  • input: Fix the problem that the cursor position is lost when input-password is switched to the visible state of the password (#63)

💅 Style

  • input: Modify the style of clear-btn to solve the problem that select-view may jitter (#70)

2021-11-05

💎 性能优化

  • tree-select: 选项的可点击范围默认占满一行 (#90)
  • tabs: 优化标签栏滚动方法 (#87)
  • trigger: 将外部关闭事件移到 document 上 (#76)

🆕 新增功能

  • table: 添加 table-column 中的 #title 插槽 (#95)
  • form: 增加 hideAsterisk 功能 (#94)
  • input: 增加 wordLength 属性 (#91)
  • spin: 增加 size 属性和 #icon & #element 插槽 (#86)
  • image: 增加一个名为 error-icon 的 slot 用于支持定制错误状态的图标 (#85)
  • 增加 日文 支持 (#13)

🐛 问题修复

  • slider: 修复点击右键没有释放拖拽事件的问题 (#97)
  • select: 修复 #empty 插槽丢失的问题 (#96)
  • input-number: 修复精度失效的问题 (#93)
  • input-tag: 修复输入框宽度计算错误的问题 (#89)
  • input: 移除 keydown 事件的阻止默认行为 (#84)
  • table: 修复 #column 插槽不能支持Fragment的问题 (#83)
  • table: 修复 scroll.x 单独使用不生效的问题 (#83)
  • textarea: 修复自动高度调整不准的问题 (#78)
  • input: 修复 a-input-number 组件 model-value 默认值为 0 时不生效的问题 (#75)
  • input: 修复 input-searchinput-password 不支持 slot 的问题 (#63)
  • input: 修复 input-password 切换密码可见状态时光标位置丢失的问题 (#63)

💅 样式更新

  • input: 修改 clear-btn 样式,解决 select-view 可能会抖动的问题 (#70)