zombieJ
3a16708765
update snapshot ( #15108 )
2019-02-28 14:42:11 +08:00
Wei Zhu
07ec7d9f53
test: use mockReset
...
According to the document of jest, mockRestore only works when mock was
created with `jestSpyOn`.
https://jestjs.io/docs/en/mock-function-api#mockfnmockrestore
2019-02-18 00:26:19 +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
诸岳
307c877a02
Merge master branch
2019-01-13 21:18:38 +08:00
tangjinzhou
13ee0ad52f
should not call afterClose when change visible from false to true
2019-01-10 21:56:27 +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
ztplz
08ce714db2
update dep ( #14131 )
2019-01-07 09:40:55 +08:00
zombieJ
2164c58198
New Component: Empty ( #13651 )
2018-12-26 16:01:00 +08:00
afc163
24bcace0ce
🔨 Merge master into feature
2018-12-22 19:30:50 +08:00
afc163
b828741dc0
🔨 Refactor Tag 🔨
2018-12-22 19:20:38 +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
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
afc163
c7b9eee709
⚡ improve getDerivedStateFromProps return value
2018-11-13 18:03:57 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +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
陈帅
c73ad8021d
Merge pull request #11894 from ant-design/feature/svg-icon
...
Hotfix(Icon) fix SVG element style
2018-08-29 18:40:04 +08:00
afc163
bf2f7e9c33
Merge branch 'master' into feature-3.9.0
2018-08-28 18:09:01 +08:00
HeskeyBaozi
0c9465aaf9
upgrade icons library
2018-08-27 20:40:11 +08:00
陈帅
266a6ad817
Fix line breaks caused by div ( #11888 )
...
* Fix line breaks caused by div
* fix tag test
* use span replace null
2018-08-27 11:20:05 +08:00
HeskeyBaozi
28e2117c68
use cross
2018-08-24 19:00:06 +08:00
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
2018-08-24 18:36:08 +08:00
HeskeyBaozi
65600c8a95
upgrade to 3.8.2
2018-08-20 14:00:51 +08:00
Junbin Huang
4622dce879
fix: tags initially hidden, closing #11757 ( #11761 )
...
* fix: tags initially hidden, closing #11757
* update snapshots
2018-08-18 14:29:25 +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
afc163
589415ed95
Fix Tag with wave effect
2018-08-11 15:46:45 +08:00
afc163
9cf6ae6010
Refactor and apply wave click animation to more components
...
now support Button, Tag, Radio.Button and switch
2018-08-11 15: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
afc163
56020cda39
Merge branch 'master' into feature-3.7.0
2018-06-27 16:14:14 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
Wei Zhu
c96805254f
More tests
2018-06-15 11:14:15 +08:00
Wei Zhu
7958860c95
Add snapshot
2018-06-15 11:14:15 +08:00
Wei Zhu
1c2385de98
Add polyfill
2018-06-15 11:14:15 +08:00
Wei Zhu
4ac0277813
Add Tag[visible]
2018-06-15 11:14:15 +08:00
Wei Zhu
1ed9fed2cf
Improve Button and Tag types
2018-05-18 18:22:33 +08:00
Zheeeng
24e373a812
Remove span.ant-tag-text in Tag, and remove type casting in Dropdown ( #9055 )
...
* Remove span.ant-tag-text
Warp React.ReactNode with span element is not suggested. It may cause anti-specification problem: `<span><span>I'm spec breaker</span></span>`. span is not a general tags container.
Another benefit from this change is keeping the same structure with CheckableTag.
After inspecting the removing of the style of .ant-tag-text, seems bringing no problems. The old example employeed this css class has gone long long time ago. See: 0635877a51
* Use React.Children.only api to supress type casting
By codes, the children and the overlay of Dropdown must be **single** and **valid React.ReactElement**. React.Children.only takes it and report more friendly React internal built error messages.
* Revert hack CSS styles: filling .ant-tag's block area with orphan child anchor
2018-02-04 01:29:56 -06:00
afc163
c0b7bdb9f3
Tweak components style detail
2017-11-27 14:51:46 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
1e1c6d1c72
Merge branch 'master' into antd-3.0
2017-11-16 19:58:20 +08:00
afc163
9b552087cd
Fix tag test case
2017-11-15 15:00:29 +08:00
afc163
856ecd4ae3
Merge branch 'master' into antd-3.0
2017-11-09 19:45:06 +08:00