Commit Graph

146 Commits

Author SHA1 Message Date
zombieJ
c386d49b63
fix: Tabs card vertical support scroll (#16825) 2019-05-27 19:57:14 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
Rick Zhou
6a7e8986b8 fix card mode Tabs border style when used with tabPosition="bottom" 2019-04-16 08:21:14 -07:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
zombieJ
049fc177b6
fix: use Tabs overflow hidden instead of display none (#16013)
* fix nest table style

* use overflow hidden instead of display none
2019-04-11 11:28:17 +08:00
Rick Zhou
b1ec61a2da another try of fixing tab style (#15458)
* another try of fixing tab style

* fix card mode tab bottom line animation

#15299
#15297
#15234
2019-03-18 10:41:44 +08:00
Rick Zhou
a0bfe4cc65 fix tabs style in card mode 2019-03-08 22:08:48 -08:00
米老朱
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
2019-02-15 10:48:07 +08:00
afc163
a7597819a2
💄 use disabled cursor on disabled tab, close #13709 2018-12-21 22:38:06 +08:00
杨哲迪
42cd542677 fix(tabs): fix tabs.tabpane disabled style error 2018-12-21 21:33:31 +08:00
黄俊亮
1272ec0e04 refactor: add @tabs-horizontal-padding-{sm,lg} 2018-12-20 11:54:56 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zombieJ
95a76b0436
add tabs additional css (#13118)
fix #13086
2018-11-23 13:39:33 +08:00
zombiej
d20b5fe9f5 update rc-tabs to fix 2 issue:
1. fix non-transform support env ink bar not correct
2. fix tabBarGutter not work in vertical mode. ref #12968
2018-11-13 16:22:15 +08:00
afc163
00c65b046b site: update icon doc translation 2018-11-05 19:04:28 +08:00
afc163
83cc148a7a fix stylelint again by locking version :sad: 2018-10-31 17:51:22 +08:00
zombiej
ca49ecb4be fix tabs ink-bar vertical css
ref #12276
2018-10-16 22:59:55 +08:00
HeskeyBaozi
c76a90b2b7 fix tweak icon 2018-09-07 14:14:23 +08:00
afc163
3cbb5da6c2 tweak icons size 2018-09-03 17:11:20 +08:00
afc163
207bad7b47 Merge branch 'master' into feature-3.9.0 2018-09-01 13:22:06 +08:00
tangjinzhou
c63c971ded fix: Nesting tabs of different sizes, the style does not take effect (#11936) 2018-08-29 11:21:15 +08:00
HeskeyBaozi
b5db75f8ea upgrade svg tabs prev & next icon 2018-08-16 16:13:18 +08:00
HeskeyBaozi
3baec95628 Merge branch 'feature-3.9.0' of https://github.com/ant-design/ant-design into feature/svg-icon 2018-08-13 09:26:33 +08:00
afc163
b6e9646a6a Fix that focusable element in inactive panel cause tabs disappear
close #11261
2018-08-06 18:40:46 +08:00
HeskeyBaozi
ad610e9a27 use svg icon in closable tabs 2018-07-27 17:54:14 +08:00
afc163
8a6b76acde support less vars for tabs title font size 2018-02-28 11:07:26 +08:00
George Gray
22c3097d79 Vars to theme Tabs (#9172) 2018-02-04 02:42:13 -06:00
ryanhoho
42354989e9 修复默认样式和card样式下,tabPosition=bottom时的样式错误 (#9104) (#9165) 2018-02-04 02:40:44 -06:00
afc163
200d6cb11a Fix wrong margin of tabs 2018-01-18 13:42:03 +08:00
afc163
dc5dd90752 fix less var typo 2018-01-13 14:04:31 +08:00
Graeme Yeates
c9d73978dd Add less variables to control the paddings and margins of tabs (#8954) 2018-01-13 01:27:18 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
afc163
2ef2925c8e update card and tabs style 2017-10-24 15:29:10 +08:00
afc163
3bf9c8c4c5 fix tabs style 2017-10-19 20:33:22 +08:00
afc163
ca0504da35 Add size="large" Tabs 2017-10-18 21:17:18 +08:00
偏右
ffffd0f4c5 Fix styles (#7924)
* update demo

* Fix styles

* fix snap

* Fix back-top ci
2017-10-18 17:16:14 +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
偏右
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
2017-09-22 18:33:29 +08:00
ddcat1115
0d4baf302d 调整卡片样式 (#7286)
* 调整卡片样式

* improve
2017-08-23 19:02:27 +08:00
jiang
7a5e11c799 fix: tabs show scroll anim and tag anim ease (#7218)
* fix: tabs show scroll anim and tag anim ease

* update snapshot
2017-08-16 21:05:52 +08:00
偏右
cb8f6a6ef5 Fix tabs extra content (#7090)
* Fix tabBarExtraContent style in vertical tabs

close #6578

* update snap

* fix rc-tabs
2017-08-05 23:01:28 +08:00
afc163
bcda84141e fix stylelint 2017-08-04 22:25:30 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
afc163
255eac9079 Fix vertical tabs arrow style 2017-07-17 15:55:03 +08:00
afc163
ac21152e10 tweak tabs style 2017-07-13 12:14:57 +08:00
afc163
39207efa4d Add @badge-font-size and @tabs-title-font-size 2017-07-12 17:32:31 +08:00
afc163
5aebf27ff1 tweak card close x style 2017-07-03 13:34:06 +08:00
afc163
112231469f tweak tabs prev next button position style 2017-06-30 11:30:27 +08:00
afc163
e977f2435e Tweak tabs style at card top 2017-06-26 20:20:57 +08:00
Benjy Cui
3ce1680ab7 fix: should not affect nested tabs, close: #6431 2017-06-23 15:02:46 +08:00
sadmark
9be44edf26 修复tabs嵌套bug,issue#6431 2017-06-12 16:28:35 +08:00
afc163
d6da30573b Fix inactive tab panel behavious, close #6237 2017-05-23 17:59:27 +08:00
afc163
2129237aa1 Fix card tab pane style, close #5888 2017-05-10 21:29:52 +08:00
liekkas
7ee1e79841 extract new variable @tabs-card-head-background from tabs's card-style.less 2017-05-01 21:58:37 +08:00
liekkas
4cd95d5723 use @card-head-background 2017-05-01 21:40:38 +08:00
Min
6cd05d8be5 fix: the breaking change #5877 (#5886)
* Fix the bug
When tabPostition = 'left' | | 'right, slideButton should be on the up and down, but the actual in left and right

Signed-off-by: Min <dicklwm@163.com>

* fix the break change #5877

Signed-off-by: Min <dicklwm@163.com>
2017-04-25 16:39:37 +08:00
afc163
cfae24084b Fix table content layout, close #5888 2017-04-25 12:52:59 +08:00
Hugo LEHMANN
6d627a9295 Add transition for the ant-tabs-ink-bar width
Currently when Tabs titles have very different width, the ink-bar width change without transition.
2017-04-22 17:59:04 +02:00
Benjy Cui
0a2fb1817f fix: vertical tab bar height should follow tabs height (#5809)
* fix: vertical tab bar height should follow tabs height

* docs: update demo for Tabs
2017-04-22 09:43:32 +08:00
Min
dfad1f887c fix: pre/next's style of Tabs' vertical mode (#5784)
When tabPostition = 'left' | | 'right, slideButton should be on the up and down, but the actual in left and right

Signed-off-by: Min <dicklwm@163.com>
2017-04-19 11:42:32 +08:00
afc163
6e147b7a3d card type Tab should not have any animation 2017-04-15 15:26:35 +08:00
Xie Guanglei
b054a0c2b8 feat: allow disable tabs inkBar animation (#5450)
* fix issue [5089](https://github.com/ant-design/ant-design/issues/5089)

* tabs doc
2017-03-24 14:28:11 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
afc163
34cfe5fd06 tweak less code 2017-03-02 16:11:58 +08:00
Benjy Cui
63476d0bc0 Merge branch 'master' into feature-2.8 2017-02-14 10:56:33 +08:00
lixiaoyang
b88c07f1d5 feat: support Tabs.TabPane[closable] (#4807)
* 为antd的editable-card类型的TabPane增加不可删除属性

* 在tab内部控制样式

* className={} 前后不加空格
2017-02-13 15:43:54 +08:00
afc163
948edb227f fix tabs border radius 2017-02-10 13:24:24 +08:00
afc163
637c479c4c Fix Tabs in IE9, close #4795 2017-02-08 17:16:48 +08:00
Graeme Yeates
1006015ef0 Add border customization variables (#4734)
* Add border customization variables (#4712)

* Make border styles customizable (fixes #4712)
2017-01-31 16:05:10 +08:00
afc163
5b9d8f0e5a Fix style of Tabs[tabPosition&type="card"], close #4669 2017-01-23 14:11:14 +08:00
偏右
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
2017-01-01 22:20:06 +08:00
afc163
215c2fd7af Fix nested Tabs style, close #4317 2016-12-21 12:00:42 +08:00
Benjy Cui
c48d7b557e fix: container component should not use transform, close: #3943 2016-12-07 10:39:26 +08:00
Benjy Cui
932443099a css: use @component-background, ref: #4040 2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc Fix #4039. Replace background-color: #fff with background: @body-background (#4040) 2016-11-29 09:54:54 +08:00
afc163
0ec4276eab @font-size-lg (#1752) 2016-11-08 21:07:01 +08:00
afc163
e4974ac72a use @font-size-base (#1752) 2016-11-08 20:57:07 +08:00
afc163
0a48c62dcb use @text-color 2016-11-08 20:50:59 +08:00
afc163
9b81fe86d9 clear less variables and add @text-color-secondary 2016-11-08 20:48:03 +08:00
afc163
8c68e8f64b improve tabs switch animation 2016-11-01 11:58:43 +08:00
Benjy Cui
a3ec948dcd css: the style should follow design 2016-10-28 15:18:29 +08:00
Wei Zhu
a62c958a15 Hide inactive pane by set opacity to 0, fix #3304 (#3604) 2016-10-26 18:24:53 +08:00
Wei Zhu
0e013fe485 Set height of inavtive TabPane to zero fix #3377 (#3437) 2016-10-15 15:33:41 +08:00
Benjy Cui
dd844b0347 feat: supports Tabs[animated], close: #3324 (#3326) 2016-10-09 14:26:41 +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
偏右
354759cb17 Redesigned icons (#3041)
* redesigned icons

* change iconfont content

* use same icons

* fix missing icons

* improve icon size
2016-09-18 09:54:47 +08:00
马斯特
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
2016-09-14 16:18:33 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
afc163
696233ca07 fix link jump in Firefox 2016-06-17 15:56:00 +08:00
afc163
a9887ad7db update Tabs card demo 2016-06-17 15:45:48 +08:00
afc163
9f132f63aa Fix left & right Tabs, close #2046 2016-06-15 11:19:23 +08:00
afc163
ec21b8bb39 change way to fix #2013, without use table-layout:fixed
also fix #2025
2016-06-13 15:28:35 +08:00
afc163
23e5d18e7c Fix tabs scroll animation 2016-06-12 14:34:33 +08:00
afc163
a56817349e fix vertical tabs style, close #1737 2016-05-18 14:27:18 +08:00
afc163
98998984fe Fix tabs nested style, close #1617 2016-05-10 11:26:48 +08:00
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
2016-04-27 20:44:36 +08:00