Skip to content

Releases: didi/cube-ui

v1.5.0

22 Feb 09:50
Compare
Choose a tag to compare

新增

  • Input 组件
  • Textarea 组件
  • Rate 组件
  • Select 组件
  • Validator 组件
  • Swipe 组件

优化

  • 支持 SSR
  • Picker 类组件支持 swipeTime 配置滚轮惯性滑动的时长

修复

  • Switch 修复 #102

依赖


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

Dependencies

v1.4.3

06 Feb 07:01
Compare
Choose a tag to compare

新增

  • 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

19 Jan 08:59
Compare
Choose a tag to compare

优化

  • Upload: 当文件数达到max值的时候,隐藏上传按钮

Improvements

  • Upload: hidden upload button when files's length equal max

v1.3.0

18 Jan 11:56
Compare
Choose a tag to compare

新增

  • Radio 组件
  • Upload 组件

优化

  • CheckboxGroup 新增 options 配置
  • Slide 支持自动 refresh

Fixes

  • Slide , Fix #66

New Features

  • New Radio component
  • New Upload component

Improvements

  • CheckboxGroup add new options prop
  • Slide support auto refresh

Fixes

  • Slide , Fix #66

v1.2.6

04 Jan 08:34
Compare
Choose a tag to compare

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

04 Jan 03:08
Compare
Choose a tag to compare

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

03 Jan 10:14
Compare
Choose a tag to compare

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

29 Dec 08:14
Compare
Choose a tag to compare

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

26 Dec 10:02
Compare
Choose a tag to compare

优化

  • 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

22 Dec 08:20
Compare
Choose a tag to compare

优化

  • IndexList 支持插槽 #43

  • CascadePicker 增加 cancelTxt & confirmTxt prop #50

Fixes

  • Checkbox warn, #49

BetterScroll 从 1.6.0 升级到 1.6.2, 参见 https://github.com/ustbhuangyi/better-scroll/releases

Improvements

  • IndexList support slot #43

  • CascadePicker add cancelTxt & confirmTxt prop #50

Fixes

  • Checkbox warn, #49

BetterScroll 1.6.0 to 1.6.2, see changes https://github.com/ustbhuangyi/better-scroll/releases