叶枫
502dac12aa
docs: format code ( #48309 )
...
* docs: fix code
* feat: lint
* feat: prettier
* feat: test
* feat: review
* feat: format html
* feat: format html
2024-04-08 14:04:08 +08:00
猫猫
e0e373f301
fix(badge): fix badge number is rtl ( #43998 )
...
* fix(badge): fix badge number is rtl
* test: fix snapshots
* feat: use dir attribute instead of bdi
* test: update snapshots
* test: back of snapshot
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-08-14 19:14:46 +08:00
thinkasany
efa427072a
chore: code style optimization ( #43458 )
2023-07-09 16:47:31 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
lijianan
2f02fe01f0
type: update React.forwardRef type ( #41189 )
...
* type: update React.forwardRef type
* type: revert
2023-03-14 10:54:07 +08:00
二货爱吃白萝卜
e9273abe3d
fix: Badge findDOMNode
warning ( #40347 )
...
* fix: findDOMNode warning
* test: add test case
2023-01-20 21:06:13 +08:00
二货机器人
ac85fbec6f
chore: merge master
2022-11-13 14:33:07 +08:00
lijianan
d292257e47
chore: type optimization ( #38460 )
2022-11-09 17:36:49 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
二货机器人
f1568a656a
Badge number ( #29100 )
...
* init number component
* use single nodes
* clean up
* add current class
* clean up
* fallback
* fix: Safari render issue
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test: fix test case
* test : Update snaposhot
* test : Update cp snaposhot
2021-01-29 14:27:36 +08:00
二货机器人
45013ef472
update demo ( #29089 )
2021-01-28 18:16:05 +08:00
二货机器人
600fc0a9fe
fix: Standalone Badge motion style ( #28240 )
...
* fix: badge motion style
* chore: Clean up related code
* test: Update test case
2020-12-07 21:23:42 +08:00
二货机器人
507b596926
refactor: Replace Badge with rc-motion ( #27848 )
...
* refactor: Replace Badge with rc-motion
* fix: Cache for hidden
* fix: Dot style
* revert demo
* fix demo snapshot
* test: Update snapshot
* test: Update snapshot
2020-11-18 18:32:00 +08:00
Tom Xu
162b6979af
refactor(badge): 🛠 improve code ( #24601 )
...
* refactor(badge): improve code
* refactor(badge): improve code
* increase coverage
2020-05-31 12:38:32 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
...
* update config
* replace react function
* fix alert
2020-05-14 20:54:49 +08:00
Tom Xu
8f30a14790
refactor(badge): rewrite with hook ( #23488 )
...
* refactor(badge): rewrite with hook
* Update ScrollNumber.tsx
2020-04-25 20:53:21 +08:00
偏右
188b96971c
fix(module:badge): fix number transition ( #21834 )
...
* fix(module:badge): fix toggling animation
close #21674
* chore: remove log
* fix: timer leak
* fix: willUnmount
* test: cov
2020-03-05 13:29:53 +08:00
二货机器人
52a1600a01
fix: Badge number style ( #21235 )
...
* fix css priority
* update snapshot
* update snapshot
2020-02-05 13:52:26 +08:00
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
...
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
dian.li
3e1560d753
fix: import multiple times
2019-08-15 09:47:04 +08:00
dian.li
882f343e10
fix: ts compile error with import React fix-ts-1259
2019-08-15 09:28:15 +08:00
orzyyyy
47fd80c8ad
fix: disable next line instead of the whole file
2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
...
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
陈帅
82b85709be
style: run lint-fix ( #17172 )
2019-06-19 19:09:08 +08:00
Zzzen
f1ee189bd2
eliminate any
type in exported interfaces.#14044
2019-06-16 20:51:47 +08:00
afc163
e3565ac110
🚨 Fix lgtm errors
...
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2019-06-16 17:41:25 +08:00
zombieJ
6b2d72e2c1
fix: badge should accept negative number ( #15810 )
...
* fix badge negative number
* support negative as count
2019-04-02 19:01:12 +08:00
afc163
d9ca0d8381
⚡ Optimize badge code again
2019-03-11 17:13:59 +08:00
afc163
f694a1bbb8
⚡ Opatimize badge code
2019-03-11 16:54:29 +08:00
afc163
bd0eb34487
make sure count compare as number
2019-03-08 15:57:07 +08:00
afc163
da6662562b
⚡ refactor some code after #15254
2019-03-08 15:43:46 +08:00
zy410419243
4dc533c202
refactor: update lifecycle method for Badge
2019-03-07 16:03:02 +08:00
ztplz
d30fdf11d7
Fix changing the count of a badge with border-color raises an error ( #14525 )
...
fix #14516
2019-01-24 12:17:38 +08:00
ztplz
b2fed8711e
Support float number for Badge ( #14195 )
...
fix #13815
2019-01-09 22:32:06 +08:00
afc163
b1a67de35e
Merge branch 'master' into feature
...
* master:
📝 fix demo order
Fixes #10576 (#13703 )
doc: update form & layout docs (#13701 )
update doc close #11802
🐛 Fix Badge offset not working when count is ReactNode
2018-12-19 12:09:12 +08:00
afc163
1fb7bac8ca
🐛 Fix Badge offset not working when count is ReactNode
...
close #13694
2018-12-18 18:31:12 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
fc6ac421c2
Refactor Badge and support count as custom component
...
close #11134
close #12140
2018-10-16 15:07:24 +08:00
zongzi531
e29a88b704
fix: badge type error.
2018-07-24 00:01:26 +08:00
Wei Zhu
43537ed368
Fix type error
...
Close #9931
2018-04-04 17:51:51 +08:00
Wei Zhu
db560bb10d
Fix implicit any error for Badge
2017-11-22 11:25:05 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
a0a1bff7fe
Use real count as badge title
2017-08-31 10:55:25 +08:00
afc163
330e1f7a4b
Fix badge title, close #7024
2017-07-31 18:01:45 +08:00
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
2017-07-03 16:57:11 +08:00
Benjy Cui
8e9a2eae38
chore: fix ts lint
2017-06-28 16:49:49 +08:00