Commit Graph

14 Commits

Author SHA1 Message Date
lijianan
db58f19d8c
style: Remove methed of Array push (#36157)
* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization
2022-06-22 10:06:02 +08:00
afc163
2113c25664
feat: Progress steps support custom strokeColor for each step (#35855)
* feat: <Progress steps /> could accept string[] as strokeColor

close #35852
close #26858

* fix: tsx demo

* docs: add version column
2022-06-01 23:00:03 +08:00
afc163
594f138760 resolve conflict between feature and master 2022-05-08 17:01:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
shuaijiumei
63d3c579f9
refactor: Progress rebuild as function component (#35393)
* refactor: Progress rebuild as function component

* refactor: Progress rebuild as function component

* refactor: Progress rebuild as function component

* refactor: Progress rebuild as function component

* refactor: Progress rebuild as function component

* refactor: Progress rebuild as function component

* refactor: Progress rebuild as function component
2022-05-06 18:34:45 +08:00
gaoryrt
d769795aa0
fix: percent={(3 / 9) * 100} steps={9} shows 2 (#28530)
* 🐛  fix bug: percent={(3 / 9) * 100} steps={9} shows 2

*  add test for last commit

*  update jest snapshot

*  add test
2020-12-29 12:20:11 +08:00
偏右
d839cb1af9
fix: Progress steps support trailColor (#26323)
* fix: Progress steps support trailColor

close #26316

* add test case

* add test case
2020-08-22 01:29:48 +08:00
Charlie Jonas
37c894f1a2
fix: Progress steps didn't change when update percent (#24534)
* #24532 Progress with steps does not reverse indicator when moving reducing progress percent

* updating snapshots

* Update components/progress/Steps.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

* fix tsd and add transition

* add default color for Progress steps

* color => background

* @success-color => @info-color

* @progress-default-color

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-05-29 13:43:53 +08:00
偏右
a5efa7a81a
test: increase coverage of Progress/Comment/Avatar/Dropdown (#24439)
* test: increase test case of Progress and Comment

* test: add test case for Avatar

* test: add test case for Dropdown

* fix snapshot

* fix snapshot

* remove console.log

* fix lint

* add avatar
2020-05-25 16:27:02 +08:00
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent (#22691)
* refactor: replace deprecated React.SFC with React.FunctionComponent

* refactoring: use typedef FC
2020-03-28 11:56:57 +08:00
zombiej
e38a88181d chore: Merge 4.0-prepare 2020-01-06 11:13:39 +08:00
ycjcl868
18cba6dd9c fix: version 4.0.0-beta.1 2019-12-26 16:14:56 +08:00
ycjcl868
ca77c02d10 fix: Progress steps item bg 2019-12-25 20:24:40 +08:00
QingLance
2f1c2e1208 Progress bar with steps (#19613)
* feat: Tag add status props

* feat: change solution for status tag

* fix: fix coding specification issues

* fix coding specification issues in demo

* add Steps subcomponent in Progress component

* update doc and demo

* fix lint

* small change for progress api

* fix lint

* fix wrong omit

* update test suites

* fix test failed

* use inline-block

* fix test issue

* fix ci issue

* update demo

* optimize demo

* update progress api

* fix stylelint issue

* remove overflow

* reset some prettier

* reset some prettier again

* fix test failed

* resolve bad code
2019-11-22 10:46:33 +08:00