Skip to content

Releases: airyland/vux

v2.6.4

23 Sep 03:49
Compare
Choose a tag to compare

Alert

  • [feature] support prop:mask-z-index

Calendar

  • [feature] support prop:display-format #2023

Cell

  • [feature] support prop:align-items

Checklist

  • [feature] support method:getFullValue #2022

Confirm

  • [feature] support prop:mask-z-index

Previewer

  • [feature] automatically update view if one slide is deleted

XDialog

  • [feature] support prop:mask-z-index

CloseDialogs

  • [feature] new plugin for closing all dialogs #2025

Alert

  • [feature] 支持属性 mask-z-index 设置遮罩 z-index

Calendar

  • [feature] 支持格式化值显示 #2023

Cell

  • [feature] 支持属性 align-items

Checklist

  • [feature] 添加方法 getFullValue 获取值和对应的显示文字 #2022

Confirm

  • [feature] 支持属性 mask-z-index 设置遮罩 z-index

Previewer

  • [feature] 方便删除操作,绑定数据减少一张时自动更新示图,有更多图片时切换到下一张,没有时将自动关闭预览

XDialog

  • [feature] 支持属性 mask-z-index 设置遮罩 z-index

CloseDialogs

  • [feature] 新插件,用于在路由切换时自动关闭所有 plugin 形式打开的弹窗,包括 alert confirm toast loading datetime #2025

v2.6.3

21 Sep 09:04
Compare
Choose a tag to compare

Checker

  • [feature] support prop:radio-required #2004

Checklist

  • [fix] now on-change params has labels as second param #2018

Previewer

  • [fix] fix method name starts with _ will get vue(2.4.4) warning #2001
  • [feature] add method:getCurrentIndex
  • [feature] add slot:button-before slot:button-after

Search

  • [feature] add event:on-blur

Toast

  • [fix] fix no padding when using slot and type === text

XInput

  • [enhance] toast error when clicking error icon #2009

Checker

  • [feature] 支持属性 radio-required 强制单选模式下必选一项 #2004

Checklist

  • [fix] on-change 参数支持 labels #2018

Previewer

  • [fix] 修复组件函数名字以下划线开头将会被 Vue(2.4.4) 警告的问题 #2001
  • [feature] 添加 getCurrentIndex 方法
  • [feature] 添加 slot:button-before 和 slot:button-after

Search

  • [feature] 添加事件 on-blur

Toast

  • [fix] 修复 type 为 text 时使用 slot 缺失 padding 样式的问题

XInput

  • [enhance] 点击错误图标时显示错误内容 #2009

v2.6.2

18 Sep 10:20
Compare
Choose a tag to compare

Checklist

  • [feature] Support radio mode(max = 1) #1996

Picker

  • [enhance] scroll distance respects html[data-dpr] #1979

XAddress

  • [fix] update address data #2000

Checklist

  • [feature] 支持 max=1 交互为单选模式 #1996

Picker

  • [enhance] 滚动距离支持从 html[data-dpr] 换算 #1979

XAddress

  • [fix] 更新地址数据 #2000

v2.6.1

18 Sep 03:32
Compare
Choose a tag to compare

Datetime

  • [feature] support prop:compute-days-function for dynamically setting days #1992

Grid

  • [feature] add cols props

Scroller

  • [change] call reset in updated hook

XInput

  • [enhance] set label for attribute #1983
  • [feature] support prop:mask

Datetime

  • [feature] 支持属性 compute-days-function 用以动态设置日期 #1992

Grid

  • [feature] 添加 cols 属性,自定义列数

Scroller

  • [change] 在updated 钩子中调用reset

XInput

  • [enhance] 为 label 设置 for 属性 #1983
  • [feature] 支持属性 mask 对输入值进行格式化

v2.6.0

15 Sep 02:37
Compare
Choose a tag to compare

Calendar

  • [feature] support prop:show-popup-header

Checker

  • [fix] Fix event:on-change do not fire when using :value binding instead of v-model #1945

Datetime

  • [fix] fix i18n for cancel_text confirm_text

Grid

  • [change] prop:rows is deprecated #1971

InlineCalendar

  • [feature] (beta) Support prop:marks to style specified date item
  • [fix] fix i18n for days

LoadMore

  • [feature] support less variable @load-more-tip-background-color

Panel

  • [enhance] support list prop:fallbackSrc #1923

PopupRadio

  • [fix] fix placeholder logic #1964

Swiper

  • [enhance] support fallbackImg for prop:list #1923

XDialog

  • [fix] fix body still scrolls when scrolling on dialog

XImg

  • [fix] re-initialize when src is changed #1901

Calendar

  • [feature] 支持显示弹窗头部(取消,确定)

Checker

  • [fix] 修复 on-change 事件 在使用 :value 绑定的情况下不触发 #1945

Datetime

  • [fix] 修复取消文字、确认文字国际化显示问题

Grid

  • [change] rows 属性已经废弃,使用自动计算 #1971

InlineCalendar

  • [feature] (beta) 支持属性 marks 用以自定义特定日期显示样式
  • [fix] 修复星期文字 i18n

LoadMore

  • [feature] 支持 @load-more-tip-background-color 全局设置文字背景颜色

Panel

  • [enhance] 支持列表 fallbackSrc 属性在图片加载失败后显示 #1923

PopupRadio

  • [fix] 修复 placeholder 显示逻辑 #1964

Swiper

  • [enhance] 支持 list.fallbackImg 属性在图片加载失败时显示预设图片 #1923

XDialog

  • [fix] 修复弹窗滑动时 body 区域依然会滚动的问题

XImg

  • [fix] 当 src 变化时重新初始化 #1901

v2.5.12

10 Sep 04:56
Compare
Choose a tag to compare

FormPreview

  • [fix] Fix layout issue when header-value is empty #1935

InlineCalendar

  • [feature] add method:switchViewToToday switchViewToMonth
  • [feature] support event:on-view-change

Popup

  • [fix] clean vux-modal-open on beforeDestroy and deactivated #1921

XDialog

Datetime

  • [fix] Fix datetime show multiple times #1927

FormPreview

  • [fix] 修复 header-value 为空时的错位问题 #1935

InlineCalendar

  • [feature] 支持 switchViewToToday, switchViewToMonth 等手动渲染方法
  • [feature] 支持事件 on-view-change,方便切换月份时请求数据

Popup

  • [fix] 在 beforeDestroy 和 deactivated 事件中清除设置于 body 上的 vux-modal-open 类名 #1921

XDialog

  • [change] 属性 scroll 已经废弃,仅对配置为 100% 布局的情况实现阻止滚动 #1858 #1877

Datetime

  • [fix] 修复多次调用重复显示的问题 #1927

v2.5.11

05 Sep 10:23
Compare
Choose a tag to compare

Datetime

  • [fix] fix :show.syc="false" do no work #1918
  • [fix] fix prop:compute-hours-function not working when month is changed

InlineCalendar

  • [feature] support method:getDates
  • [feature] support less variable @calendar-bg-color

Popup

  • [fix] add vux-modal-open only when global config:$layout is VIEW_BOX #1893

Datetime

  • [fix] 修复 :show.sync 设为 false 无效 #1918
  • [fix] 修复特定情况下月份变化不会触发小时重新渲染的问题

InlineCalendar

  • [feature] 支持方法 getDates 用于需要获取渲染日期列表的场合
  • [feature] 支持 less 变量 @calendar-bg-color

Popup

  • [fix] 仅在全局配置 $layout = VIEW_BOX 时用 fixed body 的形式阻止页面滚动 #1893

v2.5.10

30 Aug 23:38
Compare
Choose a tag to compare

Calendar

  • [feature] Support prop:placeholder

Datetime

  • [feature] support @cell-value-color #1874

Marquee

  • [feature] Support prop:item-height #1885

PopupPicker

  • [feature] support @cell-value-color #1874

PopupRadio

  • [feature] support @cell-value-color #1874

Popup

  • [fix] Fix class helper typo issue #1893

Previewer

  • [enhance] Support method:goTo #1888

Calendar

  • [feature] 支持 prop:placeholder

Datetime

  • [feature] 值文字颜色受控于 @cell-value-color #1874

Marquee

  • [feature] 支持 prop:item-height #1885

PopupPicker

  • [feature] 值文字颜色受控于 @cell-value-color #1874

PopupRadio

  • [feature] 值文字颜色受控于 @cell-value-color #1874

Popup

  • [fix] 修复 class 工具函数拼写错误 #1893

Previewer

  • [enhance] 支持 goTo 方法 #1888

v2.5.9

29 Aug 06:10
Compare
Choose a tag to compare

Datetime

  • [fix] fix error when format is YYYY #1861

InlineCalendar

  • [fix] donot set value to empty string when clicking on current selected item #1862

PopupHeader

  • [fix] fix wrong slot name

Popup

  • [fix] Fix layout errors when body not set 100% width #1867

Sticky

  • [fix] Fix scrollTop always return 0 #1827

XAddress

  • [feature] prop:show supports the .sync modifier

Datetime

  • [fix] 修复格式为 YYYY 时的报错 #1861

InlineCalendar

  • [fix] 点击当前日期项时不把值置为空 #1862

PopupHeader

  • [fix] 修复错误的 slot 名字

Popup

  • [feature] 修复当body没有设置100%宽度时出现的布局错乱问题 #1867

Sticky

  • [fix] 修复 scrollTop 总是返回0的问题 #1827

XAddress

  • [feature] prop:show 支持.sync修饰

v2.5.8

16 Aug 08:00
Compare
Choose a tag to compare

Confirm

  • [feature] Support method:setInputValue for plugin #1846

InlineCalendar

  • [fix] fix on-change event fires twice #1847

PopupPicker

  • [fix] prevent background scrolling when popup is show #1830

Toast

  • [fix] Toast's zIndex should be higher than XDialog's #1820

XAddress

  • [feature] Add prop:show to control visibility

Confirm

  • [feature] 插件支持 setInputValue 方法 #1846

InlineCalendar

  • [fix] 修复 on-change 事件触发两次问题 #1847

PopupPicker

  • [fix] popup显示时阻止背景滚动 #1830

Toast

  • [fix] zIndex 值应该比 XDialog 大 #1820

XAddress

  • [feature] 新增 prop:show 控制是否显示