tangjinzhou
13ee0ad52f
should not call afterClose when change visible from false to true
6 years ago
ztplz
08ce714db2
update dep ( #14131 )
6 years ago
zombieJ
2164c58198
New Component: Empty ( #13651 )
6 years ago
afc163
b828741dc0
🔨 Refactor Tag 🔨
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
c7b9eee709
⚡ improve getDerivedStateFromProps return value
6 years ago
陈帅
266a6ad817
Fix line breaks caused by div ( #11888 )
* Fix line breaks caused by div
* fix tag test
* use span replace null
6 years ago
HeskeyBaozi
ee1d2469a8
upgrade test snapshot
6 years ago
Junbin Huang
4622dce879
fix: tags initially hidden, closing #11757 ( #11761 )
* fix: tags initially hidden, closing #11757
* update snapshots
6 years ago
afc163
589415ed95
Fix Tag with wave effect
6 years ago
afc163
9cf6ae6010
Refactor and apply wave click animation to more components
now support Button, Tag, Radio.Button and switch
6 years ago
Wei Zhu
1c2385de98
Add polyfill
7 years ago
Wei Zhu
4ac0277813
Add Tag[visible]
7 years ago
Wei Zhu
1ed9fed2cf
Improve Button and Tag types
7 years ago
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
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
afc163
e2c4ad3ba7
More preseted colors of tag
7 years ago
ChaXinyu
14e2a56b75
export components interface ( #7654 )
* export components interface
* export specific props
* fix formItem missed import
7 years ago
Randy
35ae41f618
remove `any` type in Tag ( #7015 )
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
afc163
fd625ef1a0
upgrade and fix tslint problems
8 years ago
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
8 years ago
偏右
10396419b5
Add preset color Tag ( #4571 )
* Add preset color Tag, close #4528
* Use color back over presetColor
* fix snap
* simplify isPresetColor
8 years ago
Benjy Cui
77801ff436
fix: CI failed and ts null check
8 years ago
Benjy Cui
1351b5da5d
refactor: remove splitObject
8 years ago
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
8 years ago
Wei Zhu
bd55d21f83
style: Fix jsx-no-multiline-js ( #3994 )
* Fix jsx-no-multiline-js
* TimePicker addon test
* Transfer search test
8 years ago
Benjy Cui
e64f04cee5
feat: CheckableTag, close : #3560
8 years ago
Benjy Cui
8dcdd12bef
feat: bring Tag[color] back, close : #3773
8 years ago
afc163
5aafe0d8de
Fix tag[style] not working ( #3773 )
8 years ago
Benjy Cui
60ecb3c628
refactor: each message should warn just once
8 years ago
Benjy Cui
b2e6bdcf94
feat: deprecate Tag[color], ref: #3560
8 years ago
Benjy Cui
08e21e0a2f
refactor: close : #3490
8 years ago
afc163
1e5264bad7
fix tslint
8 years ago
yiminghe
c2d3f16dfb
update tslint
8 years ago
afc163
466aea3ea5
fix some components style detail
8 years ago
Benjy Cui
672ebecf47
deps: upgrade dependencies ( #3017 )
* deps: upgrade dependencies
* fix: backward compatibility
* fix: replace cross with close
8 years ago
Benjy Cui
1dac1370de
deps: replace obejct.omit with omit.js, close : #2988 ( #2994 )
8 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
afc163
2e41e35cc6
Fix more tslint problems
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago
bang
c36cf9e07e
update tag
9 years ago
yiminghe
94706f1d2c
fix ts
9 years ago
bang88
c198beef85
refactor(Tag): rewrite Tag
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
afc163
6ee804cc66
update tag demo
9 years ago