Commit Graph

78 Commits

Author SHA1 Message Date
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
偏右
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
2019-03-21 10:07:56 +08:00
afc163
18d070d2d4
🆙 upgrade es6-shim version 2019-03-18 15:34:33 +08:00
ppbl
98b10a7cf8 🐛 Fix: avatar cannot calculate the offset when display: none (#15351) 2019-03-13 19:30:47 +08:00
米老朱
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
2019-02-15 10:48:07 +08:00
zy410419243
bf4560cf37 docs: fix wrong usage of comma 2019-02-07 13:59:32 +08:00
Ahmed AlSammany
52846791b5 fix for https://github.com/ant-design/ant-design/issues/14650 2019-01-31 11:00:14 +08:00
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
2019-01-29 21:11:46 +08:00
zombiej
0a67272ae4 add locale update 2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
* master:
  📝 Add bodyStyle and style of Drawer in documentation, #13850
  🐛 Fix Drawer style not working
  🐛 fix markStyle affset style
  Update Santa.jsx
  update changelog
  bump 3.11.6
  revert Christmas egg
  [type] make type of components compatible with ComponentType<P>
  bump 3.11.5
   site: make document side bar sticky
2018-12-25 16:28:50 +08:00
frezc
5f9b376456 [type] make type of components compatible with ComponentType<P> 2018-12-25 01:10:00 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
df356a586c Merge branch 'master' into feature 2018-12-07 18:52:13 +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
c2e2518e41
💄 fix Avatar[size=20] style, close #13408 2018-12-04 00:11:49 +08:00
zombiej
9f5d421cd6 merge master 2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
zombiej
bc380a7d31 Merge remote-tracking branch 'origin/master' into feature 2018-11-06 23:48:29 +08:00
afc163
c88784a61c use class property of this.state 2018-11-06 16:23:53 +08:00
afc163
ad0f9b28ec Merge branch 'master' into feature
* master:
  site: add Community discusstion links
  🌐 site: transition component category, close #11629
  Fix Collapse Panel id definition, close #12357
  Fix style overlap with sorter when long text in Table column header
  Add more recommendation
  adjust datepick reset logic
  reset showDate when picker is closed fix #12929
2018-11-04 17:15:29 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
Wei Zhu
af54f500eb Merge branch 'master' into feature 2018-10-29 19:40:08 +08:00
afc163
bc3d8c5826 Fix Avatar children wrong align in Popover
close #10917
2018-10-28 23:45:36 +08:00
zombiej
1bea23cabd add chinese desc of avatar srcSet 2018-10-08 10:08:03 +08:00
Philip Oliver
afc66b81df added attribute srcSet to Avatar component 2018-10-06 12:25:45 +02:00
zombiej
bdaf422d2d update avatar size desc in zh_CN.md 2018-09-26 11:19:46 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
afc163
207bad7b47 Merge branch 'master' into feature-3.9.0 2018-09-01 13:22:06 +08:00
afc163
b84d515969 site: add promote badge 2018-08-31 17:03:27 +08:00
carrie-tanminyi
720b5f792c Update index.zh-CN.md (#11941) 2018-08-29 10:51:21 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +08:00
HeskeyBaozi
796de6390b update test snapshot 2018-08-14 15:32:29 +08:00
HeskeyBaozi
35974d67b2 update test snap shot 2018-08-13 20:51:01 +08:00
HeskeyBaozi
0a8f964935 update test snap shot 2018-08-13 14:46:55 +08:00
HeskeyBaozi
ccdff565de Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-03 15:54:57 +08:00
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
2018-08-02 20:25:14 +08:00
HeskeyBaozi
768af40c4c Merge branch 'feature-3.8.0' of https://github.com/ant-design/ant-design into feature/svg-icon
# Conflicts:
#	components/drawer/__tests__/__snapshots__/Drawer.test.js.snap
#	components/drawer/__tests__/__snapshots__/DrawerEvent.test.js.snap
#	components/drawer/index.tsx
2018-07-25 12:03:00 +08:00
paranoidjk
ecff4997d9 feat(Avatar): expose onError (#11285)
* feat(Avatar): expose onError

* refactor: test case coverage
2018-07-24 12:14:34 +08:00
HeskeyBaozi
4a553a2006 upgrade test cases 2018-07-19 20:37:47 +08:00
HeskeyBaozi
8df086f022 update test cases 2018-07-18 13:39:02 +08:00
HeskeyBaozi
9338f33c1c update test cases 2018-07-18 10:33:54 +08:00
陈帅
125d0df3e0 Merge branch 'master' into feature-3.7.0 2018-07-14 12:15:00 +08:00
afc163
e1e6523452 Fix border radius when avatar has custom size 2018-07-13 10:36:01 +08:00