Skip to content

Releases: didi/cube-ui

v1.11.2

21 Oct 15:18
Compare
Choose a tag to compare

Fixes

  • Scroll: 修复嵌套场景下,一些 case 会变成 disable 状态

Fixes

  • Scroll: Fix some nested cases will be disabled scroll

Deprecated, use 1.12

12 Oct 05:52
Compare
Choose a tag to compare

新增

  • Checker: 选择组件
  • Locale: 国际化支持

优化

  • Scroll: 支持双层嵌套滚动
  • createAPI: 使用 vue-create-api 实现
  • Toast: 支持 txt 类型,无 icon
  • Input: 支持离焦自动隐藏清除按钮
  • Upload: 支持动态 target, headers, datacheckSuccess 支持异步,Upload 组件支持传入 multiple, accept 两个 Prop
  • Swipe: 使用插槽时内置处理 active 逻辑,而不需要自己手工处理
  • Button: 只有 outlinedisabled 式按钮会有1px border 处理,其他情况无 1px border
  • Dialog: 支持 typeprompt 提示输入框类型
  • CheckboxGroup: 支持 min, max 配置控制选择个数

Fixes

  • DatePicker: 不能触发 onChange 回调 bug #323

New Features

  • Checker: Checker selection component
  • Locale: i18n support

Improvements

  • Scroll: support nested case
  • createAPI: depend on vue-create-api
  • Toast: support type txt, no icon style
  • Input: support hiden clear btn when blured
  • Upload: support dynamictarget, headers, data. checkSuccess support async (callback). Upload component new multiple and accept Prop
  • Swipe: Auto handle active logic when use slots, do not need to handle active logic by user
  • Button: Only outline and disabled style button have 1px borders now
  • Dialog: Support type='prompt'
  • CheckboxGroup: Support min and max props to control min and max selected count

Fixes

  • DatePicker: can not trigger onChange handler #323

v1.10.16

08 Oct 06:30
Compare
Choose a tag to compare

Fixes

  • ImagePreview: #313

优化

  • ImagePreview: 新增 preventDefault Prop 作为 BetterScroll 的配置项
  • 构建:单独的模块也支持 UMD,类似于 cube['action-sheet']

Fixes

  • ImagePreview: #313

Improvements

  • ImagePreview: new preventDefault Prop to BetterScroll option
  • build lib: build modules support UMD, like cube['action-sheet']

v1.10.15

27 Sep 04:20
Compare
Choose a tag to compare

Fixes

  • Autoprefixer: 新增对 "iOS >= 8" 的兼容前缀
  • ImagePreview: small width image need device width

Fixes

  • Autoprefixer: add the css prefix for "iOS >= 8"
  • ImagePreview: small width image need device width

v1.10.14

31 Aug 06:53
Compare
Choose a tag to compare

Fixes

  • Slide: 给slide container增加overflow样式
  • TabBar: 异步场景初始化tab-panels样式问题 #299

Fixes

  • Slide: add overflow style to Slide container
  • TabBar: tab-panels style problem in asynchronous scene #299

v1.10.11

21 Aug 09:51
Compare
Choose a tag to compare

Fixes

  • Slide: 不触发scrollEnd回调函数问题 #278
  • Radio:不触发选中的问题 #292

Fixes

  • Slide: do not trigger the issue of the scrollEnd callback function #278
  • Radio: can not be selected #292

v1.10.10

03 Aug 11:11
Compare
Choose a tag to compare

Fixes

  • ImagePreview: #270

优化

  • Slide: 新增 refreshResetCurrent Prop 控制当刷新时是否重置索引 #269

Fixes

  • ImagePreview: #270

Improvements

  • Slide: New refreshResetCurrent Prop to control whether reset index when refresh #269

v1.10.9

31 Jul 07:42
Compare
Choose a tag to compare

Fixes

  • DatePicker: 修复 $updateProps 更新 min 失效的 bug

Fixes

  • DatePicker: fix the bug when using $updateProps to update min.

v1.10.7

23 Jul 06:45
Compare
Choose a tag to compare

Fixes

  • 修复 CascadePicker、DatePicker、TimePicker、SegmentPicker 组件 MaskClosable 无效

Fixes

  • Fix CascadePicker、DatePicker、TimePicker、SegmentPicker MaskClosable Prop no effect

v1.10.6

17 Jul 08:56
Compare
Choose a tag to compare

优化

  • TimePicker: minuteStep 支持对象配置,添加规则
  • Sticky: 修复 append 元素后需要刷新

Improvements

  • TimePicker: minuteStep support Object - new rule config
  • Sticky: fix ele height after appended