Releases: freshesx/humans
Releases · freshesx/humans
v2.7.3
/suites/carousel/carousel
- 【新增】循环轮播方法 this.refs.carousel.autoplay(true)
- 【新增】修改 item 长度的方法 this.refs.carousel.setLength(3)
- 【新增】setIndex, nextIndex, prevIndex 三个方案
- 【新增】点击 carousel 时,实现左右切换
v2.7.2
/suites/image/image
- 【修复】允许 image source 为空,依然显示占位符
v2.7.1
/suites/core
- 【补充】将 image 组件加入 core suites
v2.7.0
/suites/image/image
- 【重构】重构 image 组件,实现预占位,和加载过渡
/suites/message/message
- 【样式】box-shadow 被覆盖
- 【修复】缺少 z-index
/utils/Element
- 【更新】新增 Element.prototype.insert 方法,兼容 vue 2.5
v2.6.11
/suites/input/input
/suites/link/link
- 【结构】将 link 组件从 button 组件目录下独立
- 【功能】link 组件未设定 href 和 to 值时,默认设置 javascript:void(0)
/utils/Query
- 【辅助】新增 merge 方法
- 【辅助】将 Query.sync 方法标记为即将删除
v2.6.0
- 重构弹出层部分的设计,使用 Layer 和 Shade 代替 Popup 和 Mask,实现更方便的扩展能力。Message、Confirm、Alert、Datetime、DatetimeRange、SideBar、Modal、ActionSheet 组件均有些变化。需要通过 beforeDestroyed 移除相应的弹出层。
- 删除 SlideBar 组件。
- 删除 Row 组件。
- 将 Switch 改名为 Turn。
v2.5.11
Fixed
- 为 MnMessage 组件新增 success type,#131 ;
- MnLink 组件的 “to” 属性可以传递 Object 类型,#152 ;
- 为 MnSideBarMenu 组件内的 item 添加 “external”、“link” 字段,允许打开外部链接, #133 。
v2.5.10
Fixed
- 赋予 MnCardBody 与 cardPrefix 一样的 action,muted 等属性;
- 为 MnInput 添加 size 属性,
size="lg"
;
- 修改 MnSwitch 的实现方法,兼容 Firefox,Edge 等游览器;
- 修复 scroller 的滚动条在 Edge,IE 11 以上游览器中隐藏。
v2.5.9
建议直接使用最新版 v2.5.9
Vue Human 经过多个版本的迭代,API 目前已经稳定。