forked from didi/mand-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 36c6454
Showing
481 changed files
with
34,110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"presets": [ | ||
["env", { | ||
"modules": false, | ||
"targets": { | ||
"browsers": ["iOS >= 8", "Android >= 4"] | ||
} | ||
}] | ||
], | ||
"plugins": ["transform-object-rest-spread"], | ||
"env": { | ||
"test": { | ||
"presets": [["env", { | ||
"modules": false | ||
}], "stage-2"], | ||
"plugins": ["istanbul"] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
build/*.js | ||
config/*.js | ||
lib/* | ||
output/* | ||
examples/* | ||
site/* | ||
**/*.spec.* | ||
**/demo/data/** | ||
scroller.js | ||
animate.js | ||
gulpfile.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module.exports = { | ||
parserOptions: {ecmaVersion: 8, sourceType: 'module', ecmaFeatures: {jsx: true, experimentalObjectRestSpread: true}}, | ||
env: {es6: true, node: true, browser: true}, | ||
plugins: ['html', 'json'], | ||
extends: ['eslint-config-aesir-mandatory'], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.DS_Store | ||
node_modules/ | ||
dist/ | ||
lib/ | ||
output/ | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
test/unit/coverage | ||
test/e2e/reports | ||
selenium-debug.log | ||
site/public | ||
site/dist | ||
site/build/bin/algolia-key.js | ||
|
||
docs/ | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
title: 更新日志 | ||
--- | ||
|
||
<!-- CUTOFF --> | ||
### 0.4.13 | ||
|
||
`2018-01-19` | ||
|
||
- **Feature** | ||
- `ActionBar`属性`has-text`默认值为是否存在`slot`,即如果使用插槽可忽略`has-text` | ||
|
||
- **Fix** | ||
- 修复`DatePicker`月份`undefined` #26 | ||
- 修复`Icon`部分安卓机无法展示内置SVG问题 #27 | ||
- 修复`ActionBar`的`Props`默认值设置无效 #28 | ||
- 修复`TabPicker`在安卓`6.1`异步级联滑动问题 | ||
|
||
|
||
### 0.4.8 | ||
|
||
`2018-01-16` | ||
|
||
- **Feature** | ||
|
||
- 新增组件`Codebox`, `Cashier`, `Chart` | ||
- `FieldItem`的属性`customized`默认值为是否存在`slot`,即如果使用插槽可忽略`customized` #23 | ||
- `InputItem`新增属性`is-title-latent`用于支持表单标题延迟显示 | ||
- `Radio`的`v-model`绑定由`options: Array<{text, value}>`中的`text`修改为`value` | ||
- `NumberKeyboard`新增属性`type`和`is-view`用于支持不同主题和键盘页面内嵌展示 | ||
|
||
- **Fix** | ||
- 修复`PopupTitleBar`无法引入 | ||
- 修复`ImageViewer`部分安卓机无法关闭问题 #20 | ||
- 修复`Picker`的`refresh`方法导致列表滚动异常 #24 | ||
- 修复`InputItem`输入汉字异常 #25 | ||
|
||
|
||
<!-- CUTOFF --> | ||
### 0.3.0 | ||
|
||
`2017-12-18` | ||
|
||
- **Feature** | ||
|
||
- `Radio`, `Selector`, `DropMenu`, `Tabs`, `TabPicker`支持`slot-scope` | ||
- `TabPicker`新增`data-struct`,`asyncFunc`支持普通,级联和异步三种数据结构 | ||
- `Tip`新增`show/hide`事件 | ||
- `Picker`新增`initial`事件 | ||
- `DatePicker`新增`text-render`钩子方法满足列项内容自定义 | ||
|
||
- **Fix** | ||
- 修复`SwiperItem`无法引入错误 | ||
- 修复`InputItem`, `NumberKeyboard`双向绑定异常 | ||
- 修复`Popup`动画监听异常导致`hide`事件可能不会触发 | ||
- 修复`Dialog`和`Toast`被遮盖问题 | ||
- 修复`FieldItem`, `Tag`样式问题 | ||
|
||
### 0.2.0 | ||
|
||
`2017-11-28` | ||
|
||
- **Feature** | ||
|
||
- 新增组件`Radio`, `DatePicker`, `Captcha` | ||
- `Field`新增`solid`属性用来固定布局 | ||
- `Steps`新增配置`icon`属性 | ||
- `Agree`新增`slot`用来展示文案 | ||
|
||
- **Fix** | ||
- 修复部分文档,样式和错误 | ||
|
||
<!-- CUTOFF --> | ||
### 0.1.0 | ||
|
||
`2017-11-21` | ||
|
||
- **Feature** | ||
|
||
- 完成开发版开发,用于内部体验和测试 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Contribution Guideline | ||
|
||
Thanks for considering to contribute this project. All issues and pull requests are highly appreciated. | ||
|
||
## Pull Requests | ||
|
||
Before sending pull request to this project, please read and follow guidelines below. | ||
|
||
1. Branch: We only accept pull request on `dev` branch. | ||
2. Coding style: Follow the coding style used in mand-mobile. | ||
3. Commit message: Use English and be aware of your spelling. | ||
4. Test: Make sure to test your code. | ||
|
||
Add device mode, API version, related log, screenshots and other related information in your pull request if possible. | ||
|
||
NOTE: We assume all your contribution can be licensed under the [Apache License 2.0](https://github.com/didi/mand-mobile/blob/master/LICENSE). | ||
|
||
## Issues | ||
|
||
We love clearly described issues. :) | ||
|
||
Following information can help us to resolve issues faster. | ||
|
||
* Device mode and hardware information. | ||
* API version. | ||
* Logs. | ||
* Screenshots. | ||
* Steps to reproduce the issue. |
Oops, something went wrong.