Skip to content

Commit

Permalink
-> v2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Apr 5, 2017
1 parent baa1cac commit a34893a
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion build/pre-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ glob(getPath('../src/**/**/metas.yml'), {}, function (err, files) {
console.log(line)
if (/next:/.test(line)) {
return line.replace('next', `${version}`)
} else if (/version:\d*next/.test(line)) {
} else if (/version: next/.test(line)) {
return line.replace('next', `${version}`)
}
return line
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.1.1-rc.14",
"version": "2.2.0",
"main": "index.js",
"description": "Mobile web UI based on Vue and WeUI",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/components/actionsheet/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ events:
en: triggers when clicking on the cancel menu
zh-CN: 点击取消菜单时触发
changes:
next:
v2.2.0:
en:
- '[enhance] Donot update handel z-index in Safari when using v-transfer-dom'
zh-CN:
Expand Down
4 changes: 2 additions & 2 deletions src/components/alert/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ props:
en: title
zh-CN: 弹窗标题
content:
version: next
version: v2.2.0
type: String
default: ''
en: alert content, and will be replaced if using slot:default
Expand Down Expand Up @@ -130,7 +130,7 @@ events:
en: emits when dialog shows
zh-CN: 弹窗显示时触发
changes:
next:
v2.2.0:
en:
- '[feature] Add prop:content'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/button-tab/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ button-tab-item:
en: emits when item being clicked
zh-CN: 当前按钮点击时触发
changes:
next:
v2.2.0:
en:
- '[enhance] Update border style(1px)'
zh-CN:
Expand Down
4 changes: 2 additions & 2 deletions src/components/cell-form-preview/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ extra: |
slots:
props:
list:
version: next
version: v2.2.0
type: Array
en: label and value list
zh-CN: 内容列表
changes:
next:
v2.2.0:
en:
- '[feature] new component'
zh-CN:
Expand Down
6 changes: 3 additions & 3 deletions src/components/cell/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ props:
en: "main content area, can be in ['title', 'content']"
zh-CN: "可选值为 ['title', 'content'],对应的div会加上weui_cell_primary类名实现内容宽度自适应"
is-loading:
version: next
version: v2.2.0
type: Boolean
default: false
en: if show loading icon
zh-CN: 是否显示加载图标,适用于异步加载数据的场景
value-align:
version: next
version: v2.2.0
default: left
en: value's text-align,primary will be set to content if value-align value is right
zh-CN: 文字值对齐方式,当设为 right 时,primary 值将会设为 content
Expand All @@ -73,7 +73,7 @@ slots:
en: the child element of the cell, you can add an element with absolute position
zh-CN: cell的直接子元素,因此可以添加一个相对于cell绝对定位的元素
changes:
next:
v2.2.0:
en:
- '[feature] Support prop:is-loading'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/datetime-range/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ events:
en: $emits when value changes, `(newVal)`
zh-CN: 表单值变化时触发, 参数 `(newVal)`
changes:
next:
v2.2.0:
en:
- '[enhance] Use better column width'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/datetime/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ events:
en: $emits when value changes, `(newVal)`
zh-CN: 表单值变化时触发, 参数 `(newVal)`
changes:
next:
v2.2.0:
en:
- '[fix] render picker on nextTick #1180'
zh-CN:
Expand Down
4 changes: 2 additions & 2 deletions src/components/grid/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ grid:
props:
rows:
type: Number
version: next
version: v2.2.0
default: 3
en: rows number
zh-CN: 宫格列数,建议少于`5`
Expand All @@ -48,7 +48,7 @@ grid-item:
en: slot for label, the same func as prop:label
zh-CN: label文字的slot,作用同prop:label
changes:
next:
v2.2.0:
en:
- '[feature] Support dynamic rows'
- '[enhance] Hide slot:icon and slot:label if not being set'
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 @@ -118,7 +118,7 @@ props:
zh-CN: 指定显示多少列,隐藏多余的
column-width:
type: Array
version: next
version: v2.2.0
en: 'custom width for each picker column, for example for a 3-column picker: [1/2, 1/5] '
zh-CN: 定义每一列宽度,只需要定义除最后一列宽度,最后一列自动宽度, 比如对于3列选择,可以这样:[1/2, 1/5]
events:
Expand Down
2 changes: 1 addition & 1 deletion src/components/scroller/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ slots:
en: scroller content, should has only one `div` root
zh-CN: scroller 内容,必须是一个 `div` 元素
changes:
next:
v2.2.0:
en:
- '[fix] Fix issue when redirecting on scrolling #1187'
- '[fix] Fix resize listener not being destroyed #1183'
Expand Down
2 changes: 1 addition & 1 deletion src/components/search/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ events:
en: when input gets focus
zh-CN: 输入框获取到焦点时触发
changes:
next:
v2.2.0:
en:
- '[enhance] emit on-change after input'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/swipeout/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ changes:
- '[fix] Fix left-menu is shown when sliding back and forth #1139'
zh-CN:
- '[fix] 修复来回滑动时左侧菜单可能会被滑出 #1139'
next:
v2.2.0:
en:
- '[fix] Fix cannot scroll when disabled'
- '[fix] Fix unable to trigger click event when disabled on android'
Expand Down
2 changes: 1 addition & 1 deletion src/components/x-address/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ events:
en: emits when being open
zh-CN: 显示时触发
changes:
next:
v2.2.0:
en:
- '[enhance] Upgrade datas #1101'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/x-icon/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ props:
en: icon size
zh-CN: 尺寸大小
changes:
next:
v2.2.0:
en:
- '[enhance] Support all attributes #1147'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/directives/transfer-dom/metas.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
changes:
next:
v2.2.0:
en:
- '[enhance] Support simple entry name: TransferDom'
- '[enhance] Add classname v-transfer-dom'
Expand Down

0 comments on commit a34893a

Please sign in to comment.