diff --git a/CHANGELOG.md b/CHANGELOG.md index 5693e666..86e6aa48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 0.6.13 +- [!] fixed[wxc-overlay](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-dialog/)problem on[wxc-tab-bar](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-tab-bar/) +- [+] add wxc-swipe-action +- [!] [!] Fix [wxc-button](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-button/) displaying style problem, add isHighlight attribute to control whether button is highlighted or not. + ## 0.6.12 - [!] Fixed set transparency issues [wxc-lightbox](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-lightbox/). - [!] Fixed set transparency issues [wxc-mask](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-mask/). diff --git a/CHANGELOG_cn.md b/CHANGELOG_cn.md index 21e215b5..8bd747c9 100644 --- a/CHANGELOG_cn.md +++ b/CHANGELOG_cn.md @@ -1,5 +1,10 @@ # 升级日志 +## 0.6.13 +- [!] 修复[wxc-overlay](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-dialog/)在[wxc-tab-bar](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-tab-bar/)上使用问题 +- [+] 添加wxc-swipe-action侧滑组件 +- [!] 修复[wxc-button](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-button/) 设置display样式问题,添加isHighlight属性控制button是否高亮显示 + ## 0.6.12 - [!] 修复 [wxc-lightbox](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-lightbox/) 设置透明度问题 - [!] 修复 [wxc-mask](https://alibaba.github.io/weex-ui/#/cn/packages/wxc-mask/) 设置透明度问题 diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 1ca30a8c..df08cd9c 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,6 +1,6 @@ -# Weex Ui 0.6.12 +# Weex Ui 0.6.13 > A rich interaction, lightweight, high performance UI library. diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 18173b19..4dea1054 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -9,6 +9,7 @@ - [wxc-popup](packages/wxc-popup/) - [wxc-result](packages/wxc-result/) - [wxc-slide-nav](packages/wxc-slide-nav/) + - [wxc-swipe-action](packages/wxc-swipe-action/) - Navigator - [wxc-minibar](packages/wxc-minibar/) diff --git a/docs/_sidebar_cn.md b/docs/_sidebar_cn.md index f5688b5d..4d1ddec5 100644 --- a/docs/_sidebar_cn.md +++ b/docs/_sidebar_cn.md @@ -9,6 +9,8 @@ - [wxc-popup 弹层](cn/packages/wxc-popup/) - [wxc-result 结果页](cn/packages/wxc-result/) - [wxc-slide-nav 视窗增大](cn/packages/wxc-slide-nav/) + - [wxc-swipe-action 滑动操作 cell](cn/packages/wxc-swipe-action/) + - 导航 - [wxc-minibar 导航栏](cn/packages/wxc-minibar/) diff --git a/example/swipe-action/index.js b/example/swipe-action/index.js new file mode 100644 index 00000000..6191d836 --- /dev/null +++ b/example/swipe-action/index.js @@ -0,0 +1,4 @@ +import entry from './index.vue' + +entry.el = '#root' +export default new Vue(entry) diff --git a/example/swipe-action/index.vue b/example/swipe-action/index.vue new file mode 100644 index 00000000..4ffefd71 --- /dev/null +++ b/example/swipe-action/index.vue @@ -0,0 +1,86 @@ + + + + + + + diff --git a/index.js b/index.js index 72009a4c..09f7c7c2 100644 --- a/index.js +++ b/index.js @@ -40,6 +40,7 @@ import WxcSlideNav from './packages/wxc-slide-nav'; import WxcSliderBar from './packages/wxc-slider-bar'; import WxcSpecialRichText from './packages/wxc-special-rich-text'; import WxcStepper from './packages/wxc-stepper'; +import WxcSwipeAction from './packages/wxc-swipe-action'; import WxcTabBar from './packages/wxc-tab-bar'; import WxcTabPage from './packages/wxc-tab-page'; import WxcTag from './packages/wxc-tag'; @@ -82,6 +83,7 @@ export { WxcSliderBar, WxcSpecialRichText, WxcStepper, + WxcSwipeAction, WxcTabBar, WxcTabPage, WxcTag diff --git a/package.json b/package.json index 532b9809..1db4c8c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "weex-ui", - "version": "0.6.12", + "version": "0.6.13", "description": "A rich interaction, lightweight, high performance UI library based on Weex", "main": "index.js", "lib": "vue", diff --git a/packages/wxc-button/README.md b/packages/wxc-button/README.md index 00c92e87..7610c3f8 100644 --- a/packages/wxc-button/README.md +++ b/packages/wxc-button/README.md @@ -39,6 +39,7 @@ More details can be found in [here](https://github.com/alibaba/weex-ui/blob/mast | **`type`** | `String` | `N` | `red` | can be set to `white`/`red`/`yellow`/`blue`/`green` | | **`size`** | `String` | `N` | `full` | can be set to `full`/`big`/`medium`/`small` | | **`disabled`** | `Boolean` | `N` | `false` | set disabled(*1) | +| **`isHighlight`** | `Boolean` | `N` | `false` | Whether to highlight | | **`btnStyle`** | `Object` | `N` | `{}` | custom style about button(*2) | | **`textStyle`** | `Object` | `N` | `{}` | custom style about text (*3) | diff --git a/packages/wxc-button/README_cn.md b/packages/wxc-button/README_cn.md index 49835293..3b473e9d 100644 --- a/packages/wxc-button/README_cn.md +++ b/packages/wxc-button/README_cn.md @@ -38,6 +38,7 @@ | **`type`** | `String` | `N` | `red` | 类型:`white`/`red`/`yellow`/`blue`/`green` | | **`size`** | `String` | `N` | `full` | 类型:`full`/`big`/`medium`/`small` | | **`disabled`** | `Boolean` | `N` | `false` | 是否 disabled(注1) | +| **`isHighlight`** | `Boolean` | `N` | `false` | 是否高亮显示 | | **`btnStyle`** | `Object` | `N` | `{}` | 按钮的样式对象(注2) | | **`textStyle`** | `Object` | `N` | `{}` | 文字的样式对象(注3) | diff --git a/packages/wxc-button/index.vue b/packages/wxc-button/index.vue index b0150a60..f9cb1dbd 100644 --- a/packages/wxc-button/index.vue +++ b/packages/wxc-button/index.vue @@ -2,7 +2,7 @@