Skip to content

Releases: didi/cube-ui

v1.10.4

13 Jul 09:09
Compare
Choose a tag to compare

优化

  • Picker: 增加销毁逻辑
  • style: border-1x-px 移除translateZ

Improvements

  • Picker: add destroy logic
  • style: remove translateZ from border-1x-px

v1.10.2

06 Jul 04:38
Compare
Choose a tag to compare

优化

  • ImagePreview: 优化缩放拖动效果

Improvements

  • ImagePreview: Optimize drag and zoom

v1.10.0

02 Jul 08:55
Compare
Choose a tag to compare

新增

  • TabBar: TabBar & TabPanels 组件
  • ImagePreview: 图片预览组件
  • Sticky: 吸附组件
  • ScrollNavBar: 滚动导航条组件
  • ScrollNav: 滚动导航组件

优化

  • Textarea: 新增 indicator Prop 控制标识器
  • TimePicker: 支持 format Prop 控制时间格式
  • createAPI: 新增通过 $xx 支持所有的 render data 配置xx 就是配置的 key

New Features

  • TabBar: TabBar & TabPanels components
  • ImagePreview: Images preview component
  • Sticky: Sticky eles component
  • ScrollNavBar: Scroll navigation bar component, like DiDi business navigation
  • ScrollNav: Scroll navigation component, you can use it to sticky your navigation bar and content

Improvements

  • Textarea: new indicator Prop to control the indicator
  • TimePicker: new format Prop to control value format
  • createAPI: new $xx support all render data config, xx is the config key

v1.9.9

20 Jun 03:33
Compare
Choose a tag to compare

优化

  • Picker: 每项属性 text 支持传入 HTML 内容,#233 Thanks @NikolaLohinski
  • ActionSheet: 支持 cancelTxt 属性,配置取消文案

Improvements

  • Picker: the property text of each option support passing HTML content. #233 Thanks @NikolaLohinski
  • ActionSheet: support property cancelTxt to configure cancel text.

v1.9.8

14 Jun 03:38
Compare
Choose a tag to compare

优化

  • IndexList: 新增 options 属性,支持完整 BetterScroll 配置项

Fixes

  • Toolbar: 修复点击区太小的问题

Improvements

  • IndexList: Add property options to support all the config of BetterScroll

Fixes

  • Toolbar: Fix the problem of click area

v1.9.7

06 Jun 10:13
Compare
Choose a tag to compare

优化

  • Popup: 新增 position & mask-closable Prop #221
  • Toast: 新增 icon Prop
  • ActionSheet: title Prop 默认值从 ' ' 改为 ''
  • ActionSheet Dialog Picker(所有Picker类) Toast:同样新增 mask-closable Prop
  • Scroll: 主动获取下拉元素的height值作为下拉刷新配置的 stop 值
  • Swipe: btn-click 事件新增第三个参数 item

better-scroll to 1.12.0 https://github.com/ustbhuangyi/better-scroll/releases


Improvements

  • Popup: new position & mask-closable Prop #221
  • Toast: new icon Prop
  • ActionSheet: changed title Prop default value - from ' ' to ''
  • ActionSheet Dialog Picker(All Picker components) Toast:new mask-closable Prop
  • Scroll: use pulldown element's height as pulldown option's stop value
  • Swipe: btn-click event add new param - item

better-scroll to 1.12.0 https://github.com/ustbhuangyi/better-scroll/releases

v1.9.5

31 May 03:28
Compare
Choose a tag to compare

优化

  • Radio: v-model 支持 Number. #203
  • Toast: txt 支持传入 HTML 内容
  • Picker: title and subtitle 支持传入 HTML 内容
  • DatePicker: 减少初始化数据的时耗,#197
  • IndexList: 支持 pullup、pulldown 插槽

Fixes

  • Picker: 修复按钮标题栏样式bug
  • Select: 修复 placeholder 的颜色bug #204
  • Input, Form, Switch: 修复 iOS 8 flex bug.
  • Radio: 修复 iOS 8 currentColor bug.
  • TimePicker: 修复delay 超过一天时日期不对的 bug.
  • Style: 修复 box-sizing 问题 #216

Improvements

  • Radio: v-model support number. #203
  • Toast: Support HTML txt content.
  • Picker: Support HTML title and subtitle content.
  • DatePicker: Reduce the time of generating data. #197
  • IndexList: Support the slot of pullup and pulldown.

Fixes

  • Picker: Fix the style bug of button and title.
  • Select: Fix placeholder color. #204
  • Input, Form, Switch: Fix iOS 8 flex bug.
  • Radio: fix iOS 8 currentColor bug.
  • TimePicker: Fix day filter bug.
  • Style: Fix box-sizing bug. #216

v1.9.3

19 May 06:19
Compare
Choose a tag to compare

Fixes

  • Compile: 修复普通编译按需引入时,字体文件路径 bug

Fixes

  • Compile: Fix the bug of .ttf path resolving when using by normal compile and part import.

v1.9.2

15 May 08:33
Compare
Choose a tag to compare

优化

  • Style: 支持更多常用图标

Improvements

  • Style: Support more common icons.

v1.9.1

14 May 08:50
Compare
Choose a tag to compare

Fixes

  • Scroll: 先后兼容 listenScrolllistenBeforeScroll
  • Slide: 先后兼容,默认无边界回弹,options.bounce 默认值,应为 false

Fixes

  • Scroll: Compatible the deprecated properties listenScroll and listenBeforeScroll.
  • Slide: The default value of options.bounce should be false.