Releases: didi/cube-ui
Releases · didi/cube-ui
v1.10.4
v1.10.2
v1.10.0
新增
- 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
优化
- 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
v1.9.7
优化
- 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
优化
- 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.