lijianan
d292257e47
chore: type optimization ( #38460 )
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
二货机器人
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
4 years ago
二货机器人
45013ef472
update demo ( #29089 )
4 years ago
二货机器人
600fc0a9fe
fix: Standalone Badge motion style ( #28240 )
* fix: badge motion style
* chore: Clean up related code
* test: Update test case
4 years ago
二货机器人
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
4 years ago
Tom Xu
162b6979af
refactor(badge): 🛠 improve code ( #24601 )
* refactor(badge): improve code
* refactor(badge): improve code
* increase coverage
5 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
Tom Xu
8f30a14790
refactor(badge): rewrite with hook ( #23488 )
* refactor(badge): rewrite with hook
* Update ScrollNumber.tsx
5 years ago
偏右
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
5 years ago
二货机器人
52a1600a01
fix: Badge number style ( #21235 )
* fix css priority
* update snapshot
* update snapshot
5 years ago
偏右
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
5 years ago
dian.li
3e1560d753
fix: import multiple times
5 years ago
dian.li
882f343e10
fix: ts compile error with import React fix-ts-1259
5 years ago
orzyyyy
47fd80c8ad
fix: disable next line instead of the whole file
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
陈帅
82b85709be
style: run lint-fix ( #17172 )
6 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
afc163
e3565ac110
🚨 Fix lgtm errors
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
6 years ago
zombieJ
6b2d72e2c1
fix: badge should accept negative number ( #15810 )
* fix badge negative number
* support negative as count
6 years ago
afc163
d9ca0d8381
⚡ Optimize badge code again
6 years ago
afc163
f694a1bbb8
⚡ Opatimize badge code
6 years ago
afc163
bd0eb34487
make sure count compare as number
6 years ago
afc163
da6662562b
⚡ refactor some code after #15254
6 years ago
zy410419243
4dc533c202
refactor: update lifecycle method for Badge
6 years ago
ztplz
d30fdf11d7
Fix changing the count of a badge with border-color raises an error ( #14525 )
fix #14516
6 years ago
ztplz
b2fed8711e
Support float number for Badge ( #14195 )
fix #13815
6 years ago
afc163
1fb7bac8ca
🐛 Fix Badge offset not working when count is ReactNode
close #13694
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
fc6ac421c2
Refactor Badge and support count as custom component
close #11134
close #12140
6 years ago
zongzi531
e29a88b704
fix: badge type error.
6 years ago
Wei Zhu
43537ed368
Fix type error
Close #9931
7 years ago
Wei Zhu
db560bb10d
Fix implicit any error for Badge
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
afc163
a0a1bff7fe
Use real count as badge title
7 years ago
afc163
330e1f7a4b
Fix badge title, close #7024
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
Benjy Cui
8e9a2eae38
chore: fix ts lint
8 years ago
Benjy Cui
a4a26797ec
fix: mention should support `.focus`, close : #6135
8 years ago
afc163
ee2f025585
Fix badge style in Maxthon, close #5477
8 years ago
偏右
0308138974
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
b090dec8e0
Fix badge style in Maxthon, close #5477
8 years ago
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
8 years ago
afc163
70a0cc0940
fix badge borderColor
8 years ago
偏右
f786f607cf
Fix misplace Badge when browser zoom above 100% ( #4749 )
close #4747 #4290 #4176
8 years ago
Benjy Cui
4b08601f0f
style: update code style
8 years ago
Benjy Cui
1351b5da5d
refactor: remove splitObject
8 years ago
Benjy Cui
e9111a855f
refactor: remove propTypes in private components
8 years ago