Skip to content

Commit 0089e74

Browse files
committed
Add Input component
1 parent c092bee commit 0089e74

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+26
-588
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
[Breadcrumb 面包屑](http://mvui.savoygu.com/#/breadcrumb
1818
)
1919

20+
[Input 输入框](http://mvui.savoygu.com/#/input
21+
)
22+
2023
...
2124

2225
comming soon

components.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"col": "./packages/col/index.js",
66
"switch": "./packages/switch/index.js",
77
"breadcrumb": "./packages/breadcrumb/index.js",
8-
"breadcrumb-item": "./packages/breadcrumb-item/index.js"
8+
"breadcrumb-item": "./packages/breadcrumb-item/index.js",
9+
"input": "./packages/input/index.js"
910
}

document/docs/input.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
### Events
7878
| 事件名称 | 说明 | 回调参数 |
7979
|---------- |-------- |---------- |
80-
| input | 在输入框值改变时触发 | (value: string | number) |
80+
| input | 在输入框值改变时触发 | (value: string number) |
8181
| change | 在输入框值改变时触发 | (event: Event) |
8282
| focus | 在输入框获得焦点时触发 | (event: Event) |
8383
| blur | 在输入框失去焦点时触发 | (event: Event) |

document/nav.config.json

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@
2424
{
2525
"path": "/breadcrumb",
2626
"title": "Breadcrumb 面包屑"
27+
},
28+
{
29+
"path": "/input",
30+
"title": "Input 输入框"
2731
}
2832
]
2933
}

document/route.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const registerRoute = (navConfig) => {
2626

2727
route.push({
2828
path: '/',
29-
redirect: '/breadcrumb',
29+
redirect: '/input',
3030
component: load('component'),
3131
children: []
3232
})

lib/button.js

-258
This file was deleted.

lib/index.js

-1
This file was deleted.

0 commit comments

Comments
 (0)