Skip to content

v1.6.0

Compare
Choose a tag to compare
@dolymood dolymood released this 09 Mar 07:50
· 2071 commits to master since this release

优化

  • Select 新增 picker-show, picker-hide 事件
  • Checkbox, Radio 增加镂空样式
  • Rate 增加 justify 自适应容器宽度,填补空白的方式
  • Input 增加密码 eye 配置,控制密码显示隐藏 #107

Breaking Changes

  • Radio, Checkbox 默认白色背景色去掉,只有对应的 Group 组件默认会有白色背景色
  • Radio, Checkbox 状态控制 class 移到组件根元素上
  • RateItem 默认大小改为 32px 并自动改变高度使得高度和宽度一定相等
  • RateItem & Input 的 active class 变为 cube-rate-item_active, cube-input_active
  • Rate 组件根元素 class 由 cube-rate-wrapper 变为 cube-rate
  • Input 组件根元素 class 由 cube-input-wrapper 变为 cube-input

依赖


Improvements

  • Select: add picker-show, picker-hide events
  • Checkbox, Radio: add hollow style ui
  • Rate: add justify to auto justify rate items
  • Input: add eye prop to control password content's visibility

Breaking Changes

  • Radio, Checkbox: removed default white background-color, only their Group components have default white background-color now
  • Radio, Checkbox: state classes moved to its root element
  • RateItem: changed default size to 32px and auto justify item height to its width
  • RateItem & Input: changed active classes to cube-rate-item_active, cube-input_active
  • Rate: changed its root element class cube-rate-wrapper to cube-rate
  • Input: changed its root element class cube-input-wrapper to cube-input

Dependencies