Commit Graph

5 Commits

Author SHA1 Message Date
thinkasany
35e92b80dd chore: sync feature into next 2025-04-14 14:41:16 +08:00
mr-chenguang
bd13b3442b
feat: new component Statistic.Timer (#53401)
* feat: add reverse for countdown

* refactor var

* remove unuse logic

* feat: support timer component

* revert delete countdown

* Update components/statistic/utils.ts

Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>

* update snapshots

* refactor countdown

* fix md

* fix test:site

* fix: deprecated & refactor

* refactor

* add version

* refactor: inline of effect

* test: update test case

* test: back of part

* test: back of part

* test: back of part

* add tests & fix md

* fix md& add devusewarnning

* fix warning and add test

* remove console

* remove countdown md

---------

Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2025-04-11 16:11:31 +08:00
vagusX
2aca1fff22
feat: make statistic component support html role and data-* and aria-* attributes (#47149)
* feat: make statistic component support html attributes

* fix: types

* chore: improve

* feat: use pickAttrs for data-* and aria-* and role
2024-01-26 15:27:02 +08:00
afc163
755682c317
docs: add animated number demo for Statistic (#40027)
* docs: add animated number demo for Statistic

* style: update demo

* add back countdownValueType

* type: fix demo type
2023-01-05 14:07:33 +08:00
lijianan
fa6c9c15f4
refactor: delete legacy function withConfigConsumer (#39798)
* chore: delete legacy function withConfigConsumer

* fix

* fix
2022-12-25 22:54:56 +08:00