Commit Graph

203 Commits

Author SHA1 Message Date
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +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
chaofeis
c168a92f18 docs: add missing key prop for controlled tag demo (#1) (#8147) 2017-11-08 23:46:24 -06:00
偏右
bdceb5f083
Review fix (#8125)
* Fix style

* Fix style

* fix lint

* Fix more styles

* Fix more styles

* update snap
2017-11-06 21:28:51 +08:00
ddcat1115
b7a7758f37 try to fix ci 2017-10-27 16:33:24 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
afc163
91ffaea060 fix tag radius 2017-10-18 21:01:09 +08:00
偏右
ffffd0f4c5 Fix styles (#7924)
* update demo

* Fix styles

* fix snap

* Fix back-top ci
2017-10-18 17:16:14 +08:00
afc163
fe44e33689 Tweak tag styles 2017-10-16 16:13:35 +08:00
afc163
e2c4ad3ba7 More preseted colors of tag 2017-10-16 15:38:34 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
89c507c4ba pink => magenta 2017-10-09 18:26:11 +08:00
afc163
934c4c0de1 finish whole color pallate 2017-10-09 18:24:12 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
ChaXinyu
14e2a56b75 export components interface (#7654)
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14:49 +08:00