Skip to content

Commit

Permalink
->v2.3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Jun 14, 2017
1 parent 45a43f7 commit ae49b37
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 17 deletions.
7 changes: 3 additions & 4 deletions build/pre-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ if (!version) {
}

const pkg = require(getPath('../package.json'))
pkg.version = version.replace('v', '')

fs.writeFileSync(getPath('../package.json'), JSON.stringify(pkg, null, 2))
const pkgContent = fs.readFileSync(getPath('../package.json'), 'utf-8')
fs.writeFileSync(getPath('../package.json'), pkgContent.replace(pkg.version, version.replace('v', '')))

glob(getPath('../src/**/**/metas.yml'), {}, function (err, files) {
let rs = []
Expand All @@ -33,4 +32,4 @@ glob(getPath('../src/**/**/metas.yml'), {}, function (err, files) {
})
fs.writeFileSync(file, content.join('\n'))
})
})
})
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.3.7",
"version": "2.3.8",
"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 @@ -121,7 +121,7 @@ props:
closeOnClickingMenu:
type: Boolean
default: true
version: next
version: v2.3.8
en: if auto hide when clicking on menus
zh-CN: 点击菜单时是否自动隐藏
events:
Expand Down
2 changes: 1 addition & 1 deletion src/components/check-icon/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ tags:
props:
value:
type: Boolean
version: next
version: v2.3.8
en: selected value, use :value.sync
zh-CN: 是否选中的值,使用 :value.sync 双向绑定
2 changes: 1 addition & 1 deletion src/components/checker/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ checker-item:
en: emits when current checker-item is clicked
zh-CN: 当前项被点击时触发
changes:
next:
v2.3.8:
en:
- '[enhance] clear value when selected item is disabled #1479'
zh-CN:
Expand Down
4 changes: 2 additions & 2 deletions src/components/checklist/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ props:
en: label position, can be set to left
zh-CN: label 位置,可以设置为 left
disabled:
version: next
version: v2.3.8
en: if disable user from selecting
zh-CN: 是否禁用操作
events:
Expand All @@ -61,7 +61,7 @@ events:
en: emits when value changes
zh-CN: 值变化时触发,参数为 (value)
changes:
next:
v2.3.8:
en:
- '[feature] Add prop:disabled #1254'
zh-CN:
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 @@ -93,7 +93,7 @@ slots:
en: you can custom how to display each day
zh-CN: 用以自定义每一天的显示渲染,使用该 slot 就不需要 render-function 了
changes:
next:
v2.3.8:
en:
- '[enhance] prevent from clicking invisiable date #1564'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/components/popup-picker/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ events:
en: emits when popup is closed
zh-CN: 弹窗关闭时触发
changes:
next:
v2.3.8:
en:
- '[fix] Fix placeholder missing on iOS9 and iOS8 #1293'
zh-CN:
Expand Down
4 changes: 2 additions & 2 deletions src/components/radio/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ props:
en: label for fill input
zh-CN: 可填写时的label文字
disabled:
version: next
version: v2.3.8
en: disable selecting
zh-CN: 禁用操作
slots:
Expand All @@ -84,7 +84,7 @@ slots:
en: custom how to display each item
zh-CN: 自定义如何显示每一项
changes:
next:
v2.3.8:
en:
- '[feature] Add prop:disabled #1254'
- '[feature] Add less:@radio-checked-icon-color #896'
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 @@ -104,7 +104,7 @@ props:
zh-CN: 'value 对齐方式(text-align), `v2.1.0-rc.49`开始支持'
slots:
title:
version: next
version: v2.3.8
en: title slot
zh-CN: title 插槽,可以使用它来添加 icon 等自定义样式,受控于 group 需要从 scope 里继承 class 和 样式
events:
Expand All @@ -115,7 +115,7 @@ events:
en: emits when being open
zh-CN: 显示时触发
changes:
next:
v2.3.8:
en:
- '[feature] Add slot:title #1389'
zh-CN:
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/datetime/metas.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
changes:
next:
v2.3.8:
zh-CN:
- '[feature] 是的,Datetime 可以作为插件直接调用了'
en:
Expand Down

0 comments on commit ae49b37

Please sign in to comment.