Skip to content

Commit

Permalink
breaking change: remove SwitchCell component (#1968)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Sep 5, 2019
1 parent ae0c00d commit 02ade87
Show file tree
Hide file tree
Showing 26 changed files with 9 additions and 525 deletions.
1 change: 0 additions & 1 deletion dist/switch-cell/index.d.ts

This file was deleted.

42 changes: 0 additions & 42 deletions dist/switch-cell/index.js

This file was deleted.

7 changes: 0 additions & 7 deletions dist/switch-cell/index.json

This file was deleted.

25 changes: 0 additions & 25 deletions dist/switch-cell/index.wxml

This file was deleted.

1 change: 0 additions & 1 deletion dist/switch-cell/index.wxss

This file was deleted.

9 changes: 9 additions & 0 deletions docs/markdown/changelog.md
Expand Up @@ -18,6 +18,11 @@

- `transitionEnd`事件重命名为`transitionend`

##### SwitchCell

- 移除了`SwitchCell`组件,请使用`Cell``Switch`组件代替


#### 新特性

##### Area
Expand Down Expand Up @@ -47,3 +52,7 @@
- 新增`round`属性
- 新增`closeable`属性
- 新增`close-icon`属性

##### Steps

- 新增`active-icon`属性
2 changes: 0 additions & 2 deletions example/app.json
Expand Up @@ -33,7 +33,6 @@
"pages/stepper/index",
"pages/steps/index",
"pages/switch/index",
"pages/switch-cell/index",
"pages/search/index",
"pages/slider/index",
"pages/sidebar/index",
Expand Down Expand Up @@ -98,7 +97,6 @@
"van-submit-bar": "./dist/submit-bar/index",
"van-swipe-cell": "./dist/swipe-cell/index",
"van-switch": "./dist/switch/index",
"van-switch-cell": "./dist/switch-cell/index",
"van-tab": "./dist/tab/index",
"van-tabs": "./dist/tabs/index",
"van-tabbar": "./dist/tabbar/index",
Expand Down
4 changes: 0 additions & 4 deletions example/config.js
Expand Up @@ -72,10 +72,6 @@ export default [
{
path: '/switch',
title: 'Switch 开关'
},
{
path: '/switch-cell',
title: 'SwitchCell 开关单元格'
}
]
},
Expand Down
11 changes: 0 additions & 11 deletions example/pages/switch-cell/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions example/pages/switch-cell/index.json

This file was deleted.

31 changes: 0 additions & 31 deletions example/pages/switch-cell/index.wxml

This file was deleted.

1 change: 0 additions & 1 deletion example/pages/switch-cell/index.wxss

This file was deleted.

111 changes: 0 additions & 111 deletions lib/swipe-cell/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions lib/swipe-cell/index.json

This file was deleted.

20 changes: 0 additions & 20 deletions lib/swipe-cell/index.wxml

This file was deleted.

1 change: 0 additions & 1 deletion lib/swipe-cell/index.wxss

This file was deleted.

44 changes: 0 additions & 44 deletions lib/switch-cell/index.js

This file was deleted.

7 changes: 0 additions & 7 deletions lib/switch-cell/index.json

This file was deleted.

25 changes: 0 additions & 25 deletions lib/switch-cell/index.wxml

This file was deleted.

0 comments on commit 02ade87

Please sign in to comment.