Commit Graph

232 Commits

Author SHA1 Message Date
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
73ca5a9d0e Fix tabs snapshots 2017-04-17 12:01:21 +08:00
afc163
6e147b7a3d card type Tab should not have any animation 2017-04-15 15:26:35 +08:00
Mitchell Demler
0e806bbec5 Fixed muckup (#5621) 2017-04-05 10:14:03 +08:00
mitchell.demler
1febbbc2c9 Added type for click event 2017-04-04 16:36:40 +12:00
Benjy Cui
8409cff8db style: update code style to please lint 2017-03-27 11:00:11 +08:00
偏右
0308138974 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-27 10:09:38 +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
Benjy Cui
d24a647392 feat: Tabs[onNextClick] Tabs[onPrevClick], close: #4395 (#5412) 2017-03-21 23:42:16 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
d0353eeb1b tweak docs style 2017-03-13 11:13:12 +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
Wei Zhu
3d3abe8662 Add Tabs tests 2017-03-02 00:16:37 +08:00
偏右
0120008cbd Add tabBarStyle, close #4966 (#4970) 2017-02-21 14:43:48 +08:00
afc163
a9a564779e Merge from "master" 2017-02-20 12:18:41 +08:00
bang
b90237ee6f fix: Tabs snapshot tests 2017-02-19 21:23:31 +07:00
bang
6bcd88f5c0 docs: Rewrite Tabs demos to ES6 component 2017-02-19 21:07:45 +07: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
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
afc163
948edb227f fix tabs border radius 2017-02-10 13:24:24 +08:00
afc163
ac23cca8b3 Fix missing ts types for TabPane, close #4776 2017-02-09 16:25:16 +08:00
afc163
637c479c4c Fix Tabs in IE9, close #4795 2017-02-08 17:16:48 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
afc163
1a5f0f9fa7 remove whitespaces 2017-02-04 01:13:35 +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
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +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
ba0dce98f5 chore: add warning for invalid usage, ref: #4274 2016-12-16 17:12:48 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00
Benjy Cui
c48d7b557e fix: container component should not use transform, close: #3943 2016-12-07 10:39:26 +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
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
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
Wei Zhu
ccbebe60cc style: Fix jsx alignment, #3966 (#3967) 2016-11-23 17:53:10 +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
ebe2379a95 fix radio-button doc link 2016-11-06 15:45:39 +08:00
afc163
8c68e8f64b improve tabs switch animation 2016-11-01 11:58:43 +08:00
feng zhi hao
edb41f4420 update types in Tabs and FormItem (#3653)
* update types in Tabs and FormItem

* remove children prop in FormItem and Tabs
2016-10-31 13:15:13 +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
Benjy Cui
08e21e0a2f refactor: close: #3490 2016-10-24 16:30:38 +08:00
Albert Zheng
23dd825afd 【Please review】Fixes for supporting TypeScript 2.0.3 (#3439)
* Fixes for supporting TypeScript 2.0.3

* Fixes for supporting TypeScript 2.0.3. Issue is #3358
2016-10-18 11:55:00 +08:00
afc163
db4e50308f fix demo typo 2016-10-15 15:34:09 +08:00
Wei Zhu
0e013fe485 Set height of inavtive TabPane to zero fix #3377 (#3437) 2016-10-15 15:33:41 +08:00
Catalin Miron
0b38ced351 Update card-top (#3356)
Fix typo
2016-10-10 16:21:41 +08:00
Catalin Miron
114d78a1a6 Update card.md (#3355)
Fix typo
2016-10-10 16:21:04 +08:00
Benjy Cui
dd844b0347 feat: supports Tabs[animated], close: #3324 (#3326) 2016-10-09 14:26:41 +08:00
kvetoslavnovak
dded174ece Tabs - Card - Typo correction (#3289) 2016-10-06 18:57:40 +08:00
kvetoslavnovak
fc0b8e5431 Tabs - Custom Trigger - Typo correction (#3290) 2016-10-06 18:57:34 +08:00
kvetoslavnovak
70fa956301 Tabs - Container of Card - Typo trigger (#3291) 2016-10-06 18:57:25 +08:00
kvetoslavnovak
e5fab55d6b Tabs - Basic - Typo correction (#3292) 2016-10-06 18:56:57 +08:00
feng zhi hao
c0527f8b66 chore: complete declaration in Tabs and Select (#3183) 2016-09-28 16:58:14 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
ddcat1115
3958eb4771 fix #3076 (#3086)
fix demolint
2016-09-20 13:49:38 +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
Marius Ileana
691a4d5766 docs: English translation of tab's position demo (#3050)
Just a small update of a label.
2016-09-18 09:26:39 +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
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
Shawn Sit
374328bca9 docs: fix misspelled (#2990) 2016-09-10 14:17:11 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
Benjy Cui
0ec8c7ba86 docs: fix demoe' format, close: #2822 2016-08-24 10:33:25 +08:00
Shawn Sit
2e0424d3b2 Translation tab title (#2815)
* translated doc of tab title

* fixs: misspell

* fixs: misspell

* remove full stop
2016-08-23 14:15:34 +08:00
Benjy Cui
e6280a7ea6 Merge branch '1.x-stable' 2016-08-22 17:05:37 +08:00
afc163
1f670b84a9 fix Tabs children again (#2559) 2016-08-16 23:13:31 +08:00
afc163
471743f4c7 Fix editable Tabs key error
close #2721 & #2725
2016-08-17 15:17:10 +08:00
afc163
10e1b8b269 Fix some ts errors 2016-08-16 18:07:37 +08:00
afc163
24d2973c32 Merge branch "1.x-stable" 2016-08-16 17:54:59 +08:00
afc163
da6b65f7f0 Merge 1.x-stable 2016-08-12 14:47:01 +08:00
afc163
42298b60d4 Fix editable-card Tabs children map bug, close #2658 2016-08-11 16:36:12 +08:00
Shawn Sit
c04ba5b39b docs: Traslation tabs (#2587) 2016-08-03 10:39:20 +08:00
afc163
da6d511567 Merge branch '1.x-stable' 2016-08-02 12:03:11 +08:00
陆离
4fbc909ac1 fix: children should be an array, close #2559 (#2563) 2016-08-01 13:53:11 +08:00
afc163
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +08:00
bang
817bfe9681 update tabs 2016-07-09 10:50:51 +08:00
afc163
487b40815f Merge 1.x-stable 2016-07-07 15:13:01 +08:00
afc163
b38f4368b3 Fix new Tab demo 2016-07-06 17:41:04 +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
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
ddcat1115
bed556e900 fix #1750 2016-05-24 14:35:21 +08:00