偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
6 years ago
zombieJ
75cd91a966
Badge support customize color ( #15764 )
* popout
* update snapshot
* update doc
* update def
6 years ago
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
6 years ago
afc163
7105cbb552
🐛 revert tag wrap style
revert for https://github.com/ant-design/ant-design/pull/15526#issuecomment-477043058
6 years ago
kapiroska
73c4bd6c3d
Long Tag component is wrapped if it is longer than screen size
6 years ago
zombieJ
3a16708765
update snapshot ( #15108 )
6 years ago
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
6 years ago
米老朱
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
6 years ago
tangjinzhou
13ee0ad52f
should not call afterClose when change visible from false to true
6 years ago
zombiej
0a67272ae4
add locale update
6 years ago
zombiej
12af9a9dca
icon add aria-label support
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
amedora
0aeb9a356b
use color definitions insted of numbers
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
afc163
c7b9eee709
⚡ improve getDerivedStateFromProps return value
6 years ago
afc163
213693e333
🌐 site: transition component category, close #11629
6 years ago
HeskeyBaozi
976f6969f4
update test snapshot
6 years ago
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
6 years ago
HeskeyBaozi
74798b8911
upgdate test snapshot
6 years ago
HeskeyBaozi
d6131fe18d
update test snapshot
6 years ago
HeskeyBaozi
0c9465aaf9
upgrade icons library
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
28e2117c68
use cross
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
HeskeyBaozi
796de6390b
update test snapshot
6 years ago
HeskeyBaozi
35974d67b2
update test snap shot
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
HeskeyBaozi
4a553a2006
upgrade test cases
6 years ago
HeskeyBaozi
8df086f022
update test cases
6 years ago
HeskeyBaozi
9338f33c1c
update test cases
6 years ago
afc163
009ed08580
upgrade eslint-config-airbnb
7 years ago
Wei Zhu
c96805254f
More tests
7 years ago
Wei Zhu
7958860c95
Add snapshot
7 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
afc163
c0b7bdb9f3
Tweak components style detail
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
afc163
9b552087cd
Fix tag test case
7 years ago
chaofeis
c168a92f18
docs: add missing key prop for controlled tag demo ( #1 ) ( #8147 )
7 years ago
偏右
bdceb5f083
Review fix ( #8125 )
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
7 years ago
ddcat1115
b7a7758f37
try to fix ci
7 years ago