Commit Graph

62 Commits

Author SHA1 Message Date
orzyyyy
b054ce3874 chore: adjust indent & revert demo & fix lint problem 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
afc163
f15c08a898 Tag should be span than a div semantically
close #17963
2019-07-30 11:46:10 +08:00
ztplz
351cf5960c Update 2019-04-10 21:42:35 +08:00
ztplz
0183bbe4fb Remove Wave on Tag 2019-04-09 22:35:21 +08:00
zombiej
2c693ee95b merge feature 2019-04-01 10:22:43 +08:00
zombieJ
75cd91a966
Badge support customize color (#15764)
* popout

* update snapshot

* update doc

* update def
2019-03-31 20:21:20 +08:00
jiang
e2495fafe0 Rm tag anim (#15233)
* rm tag default anim, add animate demo

* rm InnerTag

* rm animate

* rm afterClose test

* update warning

* update animation demo

* fix typo

* update wraning

* fix tag test

* rebase master, test tag

* update tag to Tag

* update animation explanation

* update en-us
2019-03-30 20:36:35 +08:00
tangjinzhou
13ee0ad52f should not call afterClose when change visible from false to true 2019-01-10 21:56:27 +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
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
c7b9eee709 improve getDerivedStateFromProps return value 2018-11-13 18:03:57 +08:00
afc163
bf2f7e9c33 Merge branch 'master' into feature-3.9.0 2018-08-28 18:09:01 +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
ee1d2469a8 upgrade test snapshot 2018-08-24 18:36:08 +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
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
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
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
afc163
e2c4ad3ba7 More preseted colors of tag 2017-10-16 15:38:34 +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
Randy
35ae41f618 remove any type in Tag (#7015) 2017-07-31 00:42:25 +08:00
paranoidjk
ba168b826f refactor: use spread operator replace object-assign (#6677) 2017-07-03 16:57:11 +08:00
afc163
fd625ef1a0 upgrade and fix tslint problems 2017-05-31 15:48:35 +08:00
Benjy Cui
0e5431d21b deps: upgrade antd-tools and code style 2017-05-25 16:54:15 +08:00
偏右
10396419b5 Add preset color Tag (#4571)
* Add preset color Tag, close #4528

* Use color back over presetColor

* fix snap

* simplify isPresetColor
2017-01-13 21:25:55 +08:00
Benjy Cui
77801ff436 fix: CI failed and ts null check 2016-12-20 10:23:25 +08:00
Benjy Cui
1351b5da5d refactor: remove splitObject 2016-12-19 15:19:15 +08:00
Andrey G
a307a7acf7 refactor: remove unnecessary computed props for classNames (#4055)
* remove unnecessary computed props for classNames

* rollback autocomplete optimization for possible css style order issue

* update snapshots

* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
Wei Zhu
bd55d21f83 style: Fix jsx-no-multiline-js (#3994)
* Fix jsx-no-multiline-js

* TimePicker addon test

* Transfer search test
2016-11-25 12:03:39 +08:00
Benjy Cui
e64f04cee5 feat: CheckableTag, close: #3560 2016-11-10 11:20:52 +08:00
Benjy Cui
8dcdd12bef feat: bring Tag[color] back, close: #3773 2016-11-10 11:12:09 +08:00
afc163
5aafe0d8de Fix tag[style] not working (#3773) 2016-11-09 17:10:05 +08:00
Benjy Cui
60ecb3c628 refactor: each message should warn just once 2016-11-01 11:10:11 +08:00
Benjy Cui
b2e6bdcf94 feat: deprecate Tag[color], ref: #3560 2016-10-31 17:58:12 +08:00
Benjy Cui
08e21e0a2f refactor: close: #3490 2016-10-24 16:30:38 +08:00
afc163
1e5264bad7 fix tslint 2016-10-20 22:10:46 +08:00
yiminghe
c2d3f16dfb update tslint 2016-10-20 19:19:16 +08:00
afc163
466aea3ea5 fix some components style detail 2016-09-30 11:30:51 +08:00
Benjy Cui
672ebecf47 deps: upgrade dependencies (#3017)
* deps: upgrade dependencies

* fix: backward compatibility

* fix: replace cross with close
2016-09-18 10:12:21 +08:00
Benjy Cui
1dac1370de deps: replace obejct.omit with omit.js, close: #2988 (#2994) 2016-09-10 17:17:55 +08:00