Releases: didi/cube-ui
v1.5.0
新增
- Input 组件
- Textarea 组件
- Rate 组件
- Select 组件
- Validator 组件
- Swipe 组件
优化
- 支持 SSR
- Picker 类组件支持 swipeTime 配置滚轮惯性滑动的时长
修复
- Switch 修复 #102
依赖
- 升级 BetterScroll 到 v1.8.1,具体更新可见 https://github.com/ustbhuangyi/better-scroll/releases
New Features
- Add Input component
- Add Textarea component
- Add Rate component
- Add Select component
- Add Validator component
- Add Swipe component
Improvements
- Support SSR
- Picker series components support swipeTime to configure the duration of the momentum animation
Fixes
- Switch fix #102
Dependencies
- Update BetterScroll to v1.8.1, see changes https://github.com/ustbhuangyi/better-scroll/releases
v1.4.3
新增
- Switch 组件
优化
- [ Breaking Change ] Radio 拆分为 RadioGroup 和 Radio
- Radio 支持插槽
- Checkbox 新增 option 属性,便于用一个属性完成对 value, label,disabled 的配置
New Features
- New Switch component
Improvements
- [ Breaking Change ] Radio is divided into RadioGroup and Radio
- Radio add the support of slot
- Checkbox add the property of option, which include the config of value, label and disabled
v1.3.1
v1.3.0
v1.2.6
Fixs
- Scroll: 修复某些特殊情况下,上拉加载多次触发的问题
Fixs
- Scroll: fix the repetition of pullingUp in some extreme cases.
BetterScroll 1.7.0 to 1.7.2, see changes https://github.com/ustbhuangyi/better-scroll/releases
v1.2.5
Fixs
- Scroll: 修复上拉加载时,refresh 打断动画的问题
Fixs
- Scroll: fix the interrupt of animation caused by refresh when pull-up-load.
BetterScroll 1.6.3 to 1.7.0, see changes https://github.com/ustbhuangyi/better-scroll/releases
v1.2.4
Fixes
- IndexList: 修复 data改变时,subTitleHeight没有更新的问题
- Checkbox: 修复 position right 位置不正确 bug
优化
- IndexList: 样式优化,去掉 box-shadow,给导航列表的元素加类名,便于改写
- Scroll: 优化默认的上拉加载动画,增加对无文案情况的处理
- Scroll: 在 refresh 时,重新计算列表容器的 minHeight
Fixes
- IndexList: subTitleHeight should be recalculated when data changed.
- Checkbox: fix position right UI error
Improvements
- IndexList: optimize style by removing box-shadow and adding class names for the elements of navigator list.
- Scroll: optimize the default animation of pull up load and deal the situation of non-text
- Scroll: recalculate the minHeight of listWrapper when refresh.
v1.2.3
Fixes
- border 1px 的单位 1px 不应该被 rem 转换,改为 1PX
- Vue.use(Cube) 不应该被 install 多次
- Dialog 组件按钮按压态背景色颜色变量错误
- IndexList 组件的插槽更新,使得插槽样式更容易控制
- CascadePicker 当数据中有 children 但是长度为 0 时依旧当做一列
Fixes
- border 1px unit : change 1px to 1PX for rem
- Vue.use(Cube) should not installed again
- Dialog: button active backgound color variable error
- IndexList: slot update: control style more easily
- CascadePicker: if children's length is 0, then it should be visible
v1.2.2
优化
-
Picker & CascadePicker 支持 alias 配置数据的 value 和 text #57
-
Slide 支持 allowVertical prop 用于控制是否可竖直方向上保留原生滚动
-
Slide 去掉回弹效果
BetterScroll 从 1.6.2 升级到 1.6.3, 参见 https://github.com/ustbhuangyi/better-scroll/releases
Improvements
-
Picker & CascadePicker support data alias prop #57
-
Slide support allowVertical prop
-
Slide removed bounce effect
BetterScroll 1.6.2 to 1.6.3, see changes https://github.com/ustbhuangyi/better-scroll/releases
v1.2.1
优化
Fixes
- Checkbox warn, #49
BetterScroll 从 1.6.0 升级到 1.6.2, 参见 https://github.com/ustbhuangyi/better-scroll/releases
Improvements
Fixes
- Checkbox warn, #49
BetterScroll 1.6.0 to 1.6.2, see changes https://github.com/ustbhuangyi/better-scroll/releases