Skip to content

Commit

Permalink
->v2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Apr 16, 2018
1 parent 8edcf30 commit 73355be
Show file tree
Hide file tree
Showing 24 changed files with 35 additions and 34 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
build/
demo/
dist/
docs/
node_modules/
examples/
test/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vux",
"version": "2.8.1",
"version": "2.9.0",
"main": "index.js",
"description": "Mobile web UI based on Vue and WeUI",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions src/components/actionsheet/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ events:
en: fires when clicking on mask
zh-CN: 点击遮罩时触发
on-after-show:
version: next
version: v2.9.0
en: fires when show transition ends
zh-CN: 显示动画结束时触发
on-after-hide:
version: next
version: v2.9.0
en: fires when hide transition ends
zh-CN: 隐藏动画结束时触发
changes:
next:
v2.9.0:
en:
- '[feature] add event:on-after-show event:on-after-hide #2465'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/cell/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ slots:
en: title slot
zh-CN: title 插槽,方便自定义样式
changes:
next:
v2.9.0:
en:
- '[fix] fix weui-loading style'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/confirm/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ methods:
en: set input value when show-input is true
zh-CN: 设置输入值,当 show-input 为 true 时有效
changes:
next:
v2.9.0:
en:
- '[fix] fix inputAttrs issue with no-default-value #2618'
- '[fix] fix focus auto-blur issue #2610'
Expand Down
4 changes: 2 additions & 2 deletions src/components/datetime/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ props:
en: 'dynamically set days list, params `({year, month, min, max}, generateRange)`'
zh-CN: '动态设置日期列表,参数为 `({year, month, min, max}, generateRange)`'
order-map:
version: next
version: v2.9.0
type: Object
en: 'set column order, `{year: 1, month: 2, day: 3, hour: 4, minute: 5, noon: 6}`'
zh-CN: '自定义列顺序, 如 `{year: 1, month: 2, day: 3, hour: 4, minute: 5, noon: 6}`'
Expand Down Expand Up @@ -219,7 +219,7 @@ events:
en: fires when confirm button is clicked
zh-CN: 点击确定按钮时触发,等同于事件 on-hide(confirm)
changes:
next:
v2.9.0:
en:
- '[feature] support order-map to customize column orders #2300'
- '[fix] fix mask cause body scroll in iOS #2593'
Expand Down
2 changes: 1 addition & 1 deletion src/components/inline-calendar/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ methods:
en: render with current value's month
zh-CN: 渲染当前值所在月份
changes:
2.7.6:
v2.7.6:
en:
- '[feature] add event:on-select-single-date'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/inline-x-switch/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ events:
en: triggers when value change, params is (currentValue)
zh-CN: 值变化时触发,参数为 (currentValue)
changes:
next:
v2.9.0:
en:
- '[feature] new component #2624'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/loading/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ slots:
en: content area
zh-CN: 提示文字区域
changes:
next:
v2.9.0:
en:
- '[fix] add variable loading-z-index #2484'
- '[enhance] support using empty text to hide loading text #2566'
Expand Down
2 changes: 1 addition & 1 deletion src/components/msg/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ slots:
en: used for custom description
zh-CN: 自定义描述文字内容
changes:
next:
v2.9.0:
en:
- '[change] prop:buttons displays as slot:buttons default content'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/picker/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ methods:
en: get labels of current value
zh-CN: 根据 value 获取字面值
changes:
next:
v2.9.0:
en:
- '[enhance] show warning when picker value is not a string #2568'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/popover/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ events:
en: triggers when popover hides
zh-CN: 弹窗隐藏时触发
changes:
next:
v2.9.0:
en:
- '[fix] fix position in fixed container #2590'
zh-CN:
Expand Down
4 changes: 2 additions & 2 deletions src/components/popup-picker/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ props:
en: popup title
zh-CN: 弹窗标题
disabled:
version: next
version: v2.9.0
type: Boolean
default: false
en: whether disable selecting
Expand Down Expand Up @@ -104,7 +104,7 @@ events:
en: emits when picker value is changed
zh-CN: picker 值变化时触发,即滑动 picker 时触发
changes:
next:
v2.9.0:
en:
- '[feature] add prop:disabled #2594'
zh-CN:
Expand Down
6 changes: 3 additions & 3 deletions src/components/popup/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ props:
en: whether hide popup on deactived event when using keep-alive
zh-CN: 是否在 deactived 事件触发时自动关闭,避免在路由切换时依然显示弹窗
should-rerender-on-show:
version: next
version: v2.9.0
type: Boolean
default: false
en: whether rerender body on show
zh-CN: 是否在显示时重新渲染内容区域(以及滚动到顶部),适用于每次显示弹窗需要重新获取数据初始化的场景
should-scroll-top-on-show:
version: next
version: v2.9.0
type: Boolean
default: false
en: whether scroll top on show,add class vux-scrollable if you customize the scrollable div
Expand All @@ -82,7 +82,7 @@ slots:
en: content body
zh-CN: 弹窗主体内容
changes:
next:
v2.9.0:
en:
- '[feature] support prop:should-rerender-on-show for forcing rerendering #2598'
- '[feature] support prop:should-scroll-top-on-show for forcing scrolling top #2598'
Expand Down
2 changes: 1 addition & 1 deletion src/components/previewer/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ methods:
version: v2.5.10
en: go to previous image
zh-CN: 跳转到上一张
v2.8.1:
next:
version: v2.5.10
en: go to next image
zh-CN: 跳转到下一张
Expand Down
4 changes: 2 additions & 2 deletions src/components/search/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ events:
en: fires when input losts focus
zh-CN: 输入框失去焦点时触发
on-clear:
version: next
version: v2.9.0
en: fires when clicking clear icon
zh-CN: 点击清除按钮时触发
slots:
Expand All @@ -90,7 +90,7 @@ methods:
en: make input lost focus
zh-CN: 手动设置 input 失去焦点,一般用于在 on-submit 事件中实现隐藏手机键盘
changes:
next:
v2.9.0:
en:
- '[feature] add event:on-clear #2251'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/selector/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ methods:
en: get full value including all the props(if option items are object)
zh-CN: 获取当前完整值,在使用了 valueMap 里可以用该方法来获取当前选中值的原始对象
changes:
next:
v2.9.0:
en:
- '[fix] avoid newer-version-vue select value issue #2633 #2587'
- '[enhance] use v-html for title #2615'
Expand Down
4 changes: 2 additions & 2 deletions src/components/sticky/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ props:
en: top distance
zh-CN: '距离顶部高度,在存在头部(如使用了`x-header`)的情况下需要设置一个距离'
disabled:
version: next
version: v2.9.0
type: Boolean
default: false
en: whether disable sticky
Expand Down Expand Up @@ -114,7 +114,7 @@ tips:
相关 issue [#2601](https://github.com/airyland/vux/issues/2601)。
changes:
next:
v2.9.0:
en:
- '[feature] add prop:disabled #2601'
- '[enhance] add development tip if scroll-box doesnot exist'
Expand Down
4 changes: 2 additions & 2 deletions src/components/tab/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ tab:
en: scroll tabs threshold
zh-CN: 滚动阀值,超过可滚动
bar-position:
version: next
version: v2.9.0
type: String
default: bottom
en: bar position, one of [bottom, top]. only works when animate is true.
Expand Down Expand Up @@ -109,7 +109,7 @@ tab-item:
en: emits when current tabItem is clicked
zh-CN: 当前 tabItem 被点击时触发
changes:
next:
v2.9.0:
en:
- '[feature] support prop:bar-position'
zh-CN:
Expand Down
4 changes: 2 additions & 2 deletions src/components/x-address/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ props:
en: popup show (supports the .sync modifier next)
zh-CN: 显示 (支持.sync修饰 next)
disabled:
version: next
version: v2.9.0
type: Boolean
en: whether disabled selecting
zh-CN: 是否禁用选择
Expand All @@ -147,7 +147,7 @@ events:
en: emits when picker value is changed
zh-CN: picker 值变化时触发,即滑动 picker 时触发
changes:
next:
v2.9.0:
en:
- '[feature] add prop:disabled #2641'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/x-button/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ slots:
en: button text
zh-CN: 按钮文字
changes:
next:
v2.9.0:
en:
- '[feature] support plain for warn-button #2478'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/x-circle/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ props:
en: percentage value
zh-CN: 进度百分比
changes:
next:
v2.9.0:
en:
- '[feature] support gradient #2616 @spencer1994'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/x-dialog/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ slots:
en: main content of the dialog
zh-CN: 弹窗的主体内容
changes:
next:
v2.9.0:
en:
- '[feature] support variable dialog-gap-width #2640'
- '[enhance] support dialog-width and dialog-max-width variable #2577'
Expand Down
4 changes: 2 additions & 2 deletions src/components/x-input/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ events:
en: fires when clicking error icon
zh-CN: '点击错误图标时触发,你可以关闭 `should-toast-error` 然后用这个事件来自定义显示错误的提示内容'
on-click-clear-icon:
version: next
version: v2.9.0
en: fires when clicking clear icon
zh-CN: 点击清除按钮时触发
methods:
Expand All @@ -148,7 +148,7 @@ methods:
en: reset input value and clear errors
zh-CN: 重置输入框值,清除错误信息
changes:
next:
v2.9.0:
en:
- '[fix] fix wrong valid when value is empty string #2415'
- '[fix] fix disabled style in iOS #2458'
Expand Down

0 comments on commit 73355be

Please sign in to comment.