Commit Graph

8 Commits

Author SHA1 Message Date
zombiej
271d201fbc merge master 2019-02-18 11:17:24 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
zombieJ
5ad9469434
Countdown support onFinish (#14791)
* support onFinish

* clean up

* update test case
2019-02-12 17:16:49 +08:00
ztplz
b46b79c771 Remove useless asign 2019-02-11 21:42:07 +08:00
偏右
1daec4eacb 🐛 Statistic should support negetive numbers (#14695)
close #14692
2019-02-02 21:55:46 +08:00
zombiej
8f9f5843eb update snapshot 2019-01-10 21:55:21 +08:00
zombieJ
8ef4d72633
add groupSeparator prop (#14251) 2019-01-10 17:04:14 +08:00
zombieJ
ff13ac0f5e
New component Statistic / Countdown (#14154)
* init

* number format

* add Countdown

*  Try something ts stuff

* move out Countdown

* add format

* support countdown

* add prefix & suffix

* Move Number to Statistic

* adjust ts

* clean up

* roll back of lodash

* update doc & style

* variable of the less style

* add demo test

* full coverage

* hide title if not need

* update snapshot

* update accessiblity

* update color

* stop countdown when time is out

* formatTimeStr adjust

* use reset class

* add miss tab index

* update doc

* update title prop & snapshot

* rm additional aria. It's over design

* use card sample on unit demo

* sfc

* adjust demo
2019-01-09 20:38:09 +08:00