HeskeyBaozi
28e2117c68
use cross
6 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
偏右
bdceb5f083
Review fix ( #8125 )
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
7 years ago
afc163
91ffaea060
fix tag radius
7 years ago
偏右
ffffd0f4c5
Fix styles ( #7924 )
* update demo
* Fix styles
* fix snap
* Fix back-top ci
7 years ago
afc163
fe44e33689
Tweak tag styles
7 years ago
afc163
e2c4ad3ba7
More preseted colors of tag
7 years ago
afc163
934c4c0de1
finish whole color pallate
7 years ago
偏右
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 👻
7 years ago
偏右
759b0bb821
seperate reset styles ( #7682 )
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
7 years ago
jiang
7a5e11c799
fix: tabs show scroll anim and tag anim ease ( #7218 )
* fix: tabs show scroll anim and tag anim ease
* update snapshot
7 years ago
afc163
d98d7a451c
Add @tag-font-size
7 years ago
afc163
8f98ae80bd
Tweak CheckableTag style
7 years ago
Graeme Yeates
adfca8ae78
Use @tag-default-bg for multiselect tags
8 years ago
Graeme Yeates
694f73d060
Add variable to control tag default color ( #6039 )
8 years ago
Graeme Yeates
5841746ec9
Decompose @background-color-base into several variables
8 years ago
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
8 years ago
afc163
a183ee8ede
Adjust Tag vertical-align and margin
8 years ago
afc163
b2ee5b2319
Adjust Tag vertical-align and margin
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
偏右
d811ebee5c
New color system ( #4426 )
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
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
0a48c62dcb
use @text-color
8 years ago
afc163
466aea3ea5
fix some components style detail
8 years ago
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
8 years ago
afc163
5eb52885d6
@background-color-base
8 years ago
jiang
d5d7aa48b3
Alert tag animate ( #2209 )
* fix alert animation
* improve code
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
f3bf7fc375
update tag style
9 years ago
afc163
95e754ad60
fix Tag border ( #1912 )
9 years ago
RaoHai
ea93dabefc
update background and border style
9 years ago
RaoHai
8b6153686e
Add border style for default Tag
+ border-color: @border-color-split ;
9 years ago
afc163
ea5e74b348
Fix tag closable with link, close #1862
9 years ago
afc163
607e5729e5
Change Tag appear animation
9 years ago
afc163
0ca6a1c24a
css modularize ( #1448 )
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
9 years ago