zombieJ
41316e69e8
update snapshot ( #16017 )
6 years ago
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
6 years ago
偏右
4da56cd06c
Refactor Avatar scale calculate logic ( #15503 )
* 🐛 Refactor Avatar scale calculate logic
close #15351
close #15468
* ✅ Fix infinite loop
* 🐛 Fix avatar size change logic
* ✅ Fix snapshot
* ✅ Add test cases for Avatar setScale
* 🐛 getBoundingClientRect => offsetWidth
* ✅ Fix snapshot
6 years ago
afc163
18d070d2d4
🆙 upgrade es6-shim version
6 years ago
ppbl
98b10a7cf8
🐛 Fix: avatar cannot calculate the offset when display: none ( #15351 )
6 years ago
米老朱
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
6 years ago
zy410419243
bf4560cf37
docs: fix wrong usage of comma
6 years ago
Ahmed AlSammany
52846791b5
fix for https://github.com/ant-design/ant-design/issues/14650
6 years ago
Ahmed AlSammany
5ed909c9c8
🐛 Fixed src prop for Avatar not effective after image load error
* fix for https://github.com/ant-design/ant-design/issues/14605 , reset isImgExist state on src prop update
* add TC for https://github.com/ant-design/ant-design/issues/14605
6 years ago
zombiej
0a67272ae4
add locale update
6 years ago
zombiej
12af9a9dca
icon add aria-label support
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
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
c2e2518e41
💄 fix Avatar[size=20] style, close #13408
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
c88784a61c
use class property of this.state
6 years ago
afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
afc163
bc3d8c5826
Fix Avatar children wrong align in Popover
close #10917
6 years ago
zombiej
1bea23cabd
add chinese desc of avatar srcSet
6 years ago
Philip Oliver
afc66b81df
added attribute srcSet to Avatar component
6 years ago
zombiej
bdaf422d2d
update avatar size desc in zh_CN.md
6 years ago
HeskeyBaozi
976f6969f4
update test snapshot
6 years ago
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
6 years ago
HeskeyBaozi
74798b8911
upgdate test snapshot
6 years ago
HeskeyBaozi
d6131fe18d
update test snapshot
6 years ago
afc163
b84d515969
site: add promote badge
6 years ago
carrie-tanminyi
720b5f792c
Update index.zh-CN.md ( #11941 )
6 years ago
HeskeyBaozi
0c9465aaf9
upgrade icons library
6 years ago
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
HeskeyBaozi
796de6390b
update test snapshot
6 years ago
HeskeyBaozi
35974d67b2
update test snap shot
6 years ago
HeskeyBaozi
0a8f964935
update test snap shot
6 years ago
Emerson Laurentino
0f9da43522
Avatar custom size ( #11419 )
* add avatar support custom size
* me added to author list and sorting alphabetically
* fix avatar sizeChildrenStyle preference
* fix authors
* fix snapshots
6 years ago
paranoidjk
ecff4997d9
feat(Avatar): expose onError ( #11285 )
* feat(Avatar): expose onError
* refactor: test case coverage
6 years ago
HeskeyBaozi
4a553a2006
upgrade test cases
6 years ago
HeskeyBaozi
8df086f022
update test cases
6 years ago
HeskeyBaozi
9338f33c1c
update test cases
6 years ago
afc163
e1e6523452
Fix border radius when avatar has custom size
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
陈帅
2025a10a06
avatar img add "alt" prop ( #10798 )
7 years ago
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
7 years ago
Jin ZHANG
a95209cf55
scale fallback string ( #10184 )
7 years ago
Wei Zhu
2a5479a524
Fix type errors
Close #9988
7 years ago
Andreas Cederström
f1bd8d0d11
proper class on avatar when image doesnt exist ( #9278 )
7 years ago
afc163
2759460908
Improve avatar style
7 years ago
afc163
c0b7bdb9f3
Tweak components style detail
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
Wei Zhu
36227a10db
docs: sort api table
7 years ago