优化

  • Select 新增 picker-show, picker-hide 事件
  • Checkbox, Radio 增加镂空样式
  • Rate 增加 justify 自适应容器宽度,填补空白的方式
  • Input 增加密码 eye 配置,控制密码显示隐藏 #107

Breaking Changes

  • Radio, Checkbox 默认白色背景色去掉,只有对应的 Group 组件默认会有白色背景色
  • Radio, Checkbox 状态控制 class 移到组件根元素上
  • RateItem 默认大小改为 32px 并自动改变高度使得高度和宽度一定相等
  • RateItem & Input 的 active class 变为 cube-rate-item_active, cube-input_active
  • Rate 组件根元素 class 由 cube-rate-wrapper 变为 cube-rate
  • Input 组件根元素 class 由 cube-input-wrapper 变为 cube-input

依赖


Improvements

  • Select: add picker-show, picker-hide events
  • Checkbox, Radio: add hollow style ui
  • Rate: add justify to auto justify rate items
  • Input: add eye prop to control password content's visibility

Breaking Changes

  • Radio, Checkbox: removed default white background-color, only their Group components have default white background-color now
  • Radio, Checkbox: state classes moved to its root element
  • RateItem: changed default size to 32px and auto justify item height to its width
  • RateItem & Input: changed active classes to cube-rate-item_active, cube-input_active
  • Rate: changed its root element class cube-rate-wrapper to cube-rate
  • Input: changed its root element class cube-input-wrapper to cube-input

Dependencies

项目简介

🔶 A fantastic mobile ui lib implement by Vue

🚀 Github 镜像仓库 🚀

源项目地址

https://github.com/didi/cube-ui

发行版本 76

v1.12.38

全部发行版

贡献者 36

全部贡献者

开发语言

  • JavaScript 90.8 %
  • Vue 8.4 %
  • TypeScript 0.4 %
  • Stylus 0.3 %
  • HTML 0.0 %