优化
- 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
依赖
- 升级 BetterScroll 到 v1.8.4,具体更新可见 https://github.com/ustbhuangyi/better-scroll/releases
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 tocube-rate-item_active
,cube-input_active
- Rate: changed its root element class
cube-rate-wrapper
tocube-rate
- Input: changed its root element class
cube-input-wrapper
tocube-input
Dependencies
- Update BetterScroll to v1.8.4, see changes https://github.com/ustbhuangyi/better-scroll/releases