Commit Graph

594 Commits

Author SHA1 Message Date
Wei Zhu
d2918d2456 Fix rowSelection defauleChecked 2016-12-02 11:36:05 +08:00
Will Chen
6b774a1343 docs: improve docs' detail (#4050) 2016-11-29 17:13:24 +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
13e13f333d fix: Wrap custom filterDropdown by FilterDropdownMenuWrapper, fix #4010 (#4013) 2016-11-25 16:24:24 +08:00
Wei Zhu
86f1fa030a Fix: table columns not update (#4009) 2016-11-25 15:04:25 +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
afc163
6ccaf71841 Add onCellClick API in doc for #3774 2016-11-23 19:45:09 +08:00
Wei Zhu
ccbebe60cc style: Fix jsx alignment, #3966 (#3967) 2016-11-23 17:53:10 +08:00
Albert Zheng
5e1b679dfb chore: Fixed two compiling errors reported by tsc 2.0.10. (#3969) 2016-11-23 17:52:29 +08:00
Wei Zhu
d20572bdab test: demo snapshot testing (#3916)
* Run snapshot testing against all demos

* Split demo tests

* ignore coverage folder

* Upgrade antd-demo-jest

* enable cache

* intergate with coveralls.io

* Add node test

* Set worker to 2

https://github.com/facebook/jest/issues/1742

* config coverage

* Set default supportServerRender to true
2016-11-22 13:43:53 +08:00
Wei Zhu
4b1722e95d fix: wrong select all checkbox displaying when pagination changes (#3904) 2016-11-22 13:42:45 +08:00
Wei Zhu
ed455c01d1 feat: Implement Table.Column and Table.ColumnGroup (#3868)
* Implement Table.Column and Table.ColumnGroup

* Upgrade rc-table
2016-11-22 10:11:12 +08:00
ddcat1115
cd2a1438b7 docs: Table add editable demos (#3922) 2016-11-21 11:29:55 +08:00
afc163
6af5c54e6c unify checkbox and expand icon width of Table 2016-11-20 19:09:46 +08:00
afc163
cc1f1be8bd fix ts error 2016-11-18 11:31:02 +08:00
ddcat1115
18dcc09751 Merge pull request #3837 from ant-design/feat-custom-table-column-filter
controlled filterDropdown props
2016-11-17 23:52:17 +08:00
Bruce Mitchener
36508ffabd Typo fixes. 2016-11-16 20:33:37 +07:00
afc163
9e6439b06c fix title and footer height according to Table[size] 2016-11-15 20:06:41 +08:00
afc163
ab8f8e4506 update table demo 2016-11-15 12:01:06 +08:00
afc163
a6d2de1a7b controlled filterDropdown props, close #3003 2016-11-14 17:53:02 +08:00
afc163
4b2e9bbd23 Fix non-bordered Table column header border radius
https://zos.alipayobjects.com/rmsportal/khxltYwtEiBKtHE.png
2016-11-14 14:37:04 +08:00
afc163
05213a5827 update table demos 2016-11-14 14:26:08 +08:00
Wei Zhu
7dc0328c60 Fix table border when using cell merging (#3806) 2016-11-11 17:57:27 +08:00
Wei Zhu
0e6ac6bc4c Optimize table selection (#3757)
* Extract SelectionRadio, SelectionCheckbox, SelectionCheckboxAll

* Add some tests
2016-11-11 15:26:51 +08:00
afc163
01f5b61982 Add position relative for table cell 2016-11-11 00:57:14 +08:00
Wei Zhu
0fa41ebfb9 Fix small table style (#3761)
* Tweak small table style, fix #3743

* Add checkbox switch to dynamic settings demo

* Add fixed header to dynamic settings demo
2016-11-09 20:16:57 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +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
894a4ceb53 remove unnecessary demo (#3690) 2016-11-04 13:52:30 +08:00
Benjy Cui
81a8b65e6a docs: improve UX of demo 2016-11-03 10:27:34 +08:00
Wei Zhu
e4b6ccf7f0 docs: add dynamic setting demo for table (#3690) 2016-11-02 15:09:54 +08:00
afc163
14cbb03dc1 fix link 2016-11-01 14:47:52 +08:00
Benjy Cui
60ecb3c628 refactor: each message should warn just once 2016-11-01 11:10:11 +08:00
Nathan Wells
d997dc9e1e typo (#3663) 2016-10-31 23:32:16 +08:00
ddcat1115
9d218860b5 修复firefox下无数据且固定表头时ant-table-body占高度的问题 (#3632) 2016-10-28 11:14:37 +08:00
feng zhi hao
90fbd4da51 types: add datasource generics type in Table (#3603) 2016-10-26 18:26:26 +08:00
Marius Ileana
84c4139023 table / index.en-US.md - small updates (#3584)
small typo and updates
2016-10-25 21:10:31 +08:00
Cody Chan
9d2b48b511 docs: Fix 404 error (#3552) 2016-10-24 18:42:18 +08:00
Benjy Cui
08e21e0a2f refactor: close: #3490 2016-10-24 16:30:38 +08:00
afc163
1e5264bad7 fix tslint 2016-10-20 22:10:46 +08:00
yiminghe
c2d3f16dfb update tslint 2016-10-20 19:19:16 +08:00
Benjy Cui
dc78317688 docs: update docs of table, close: #3469 2016-10-20 11:33:53 +08:00
yiminghe
8afe3965c1 upgrade ts 2.0 2016-10-19 17:52:23 +08:00
zilong
6ceef46129 docs: update doc for Table (#3483)
* update Table en doc: fix header content mismatched

* update doc for Table: add description for props related to expand behavior
2016-10-19 14:06:36 +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
512796b7fe update table demo doc 2016-10-17 20:52:27 +08:00
afc163
806df6e912 update table fixed demos 2016-10-17 20:43:00 +08:00
afc163
d92a24d477 Improve overlay border design 2016-10-14 15:40:39 +08:00
feng zhi hao
4b9db4ff87 improve props interface in InputNumber and Table (#3360) 2016-10-10 22:38:47 +08:00
ddcat1115
c6e1d6febc 修复Table 带边框相关的样式问题 (#3340)
close #3301
2016-10-10 22:38:15 +08:00
kvetoslavnovak
7156956685 Table - basic - English translation (#3325)
* Table - basic - English translation

Correction, to same as in line with other examplets

* Update basic.md

* Update basic.md
2016-10-08 15:45:42 +08:00
afc163
20a310aa07 Merge branch 'master' of github.com:ant-design/ant-design 2016-10-06 18:54:50 +08:00
afc163
58d7741709 http => https, close #3303 2016-10-06 18:54:28 +08:00
Benjy Cui
64079f181a docs: update demos text 2016-10-02 08:55:40 +08:00
kvetoslavnovak
b3729806ef docs: Table - Fixed header - English Translation (#3278) 2016-10-02 08:47:42 +08:00
kvetoslavnovak
c2fb8f30a1 docs: Table - ajax - English Translation (#3270) 2016-10-02 08:47:13 +08:00
kvetoslavnovak
8128a94b71 docs: Table - Fixed Columns and Header - English Trans. (#3280) 2016-10-02 08:46:19 +08:00
kvetoslavnovak
d3667b8a58 docs: Table - Selection&operation - English Translation (#3267)
* Table - Selection&operation - English Translation

* Table - Selection&operation - English Translation

* Update row-selection-and-operation.md

* Update row-selection-and-operation.md
2016-10-02 08:41:53 +08:00
kvetoslavnovak
1ff8a020d1 docs: Table - Pagination - English Translation (#3268) 2016-10-02 08:41:41 +08:00
kvetoslavnovak
e76f604e25 docs: Table - Filter and sorter - English Translation (#3269) 2016-10-02 08:39:23 +08:00
kvetoslavnovak
a7b9266e10 docs: Table - size - English Translation (#3272) 2016-10-02 08:38:54 +08:00
kvetoslavnovak
27a53b5c6c docs: Table - No pagination - English Translation (#3271) 2016-10-02 08:38:34 +08:00
kvetoslavnovak
142227d3fa docs: Table - border, title and footer - English Trans. (#3273) 2016-10-02 08:38:16 +08:00
kvetoslavnovak
c0ee38b173 docs: Table - Expandable Row - English Translation (#3274) 2016-10-02 08:37:51 +08:00
kvetoslavnovak
5373f52d27 docs: Table - Loading - English Translation (#3276) 2016-10-02 08:37:14 +08:00
kvetoslavnovak
2e4e159ed8 docs: Table - colSpan and rowSpan - English Translation (#3275) 2016-10-02 08:36:10 +08:00
kvetoslavnovak
e246b99849 docs: Table - Tree data - English Translation (#3277) 2016-10-02 08:35:06 +08:00
kvetoslavnovak
54994bf136 docs: Table - Fixed columns - English Translation (#3279) 2016-10-02 08:32:27 +08:00
kvetoslavnovak
74ae8f4283 docs: Table - Grouping table head - English Translation (#3281)
* Table - Grouping table head - English Translation

* Update grouping-columns.md
2016-10-02 08:32:04 +08:00
kvetoslavnovak
e9ba1e83c7 docs: Table Basic usage - English Translation (#3256) 2016-10-01 08:03:20 +08:00
kvetoslavnovak
7a40f8f200 docs: Table selection - English Translation (#3257) 2016-10-01 08:02:18 +08:00
kvetoslavnovak
5d914d6ba3 docs: Reset filters and sorters - English Translation (#3259) 2016-10-01 08:02:01 +08:00
kvetoslavnovak
94f2d08978 docs: Table Checkbox props - English Translation (#3258) 2016-10-01 08:01:18 +08:00
ImJoeHs
ea5386994d fix table filter type (#3193)
* fix table filter type

* 'fix'

* update
2016-09-28 19:56:12 +08:00
广彬-梁
a7ba9004e1 fix: record key bug (#3166) 2016-09-27 13:41:57 +08:00
Benjy Cui
87753482bf style: update code style to please lint, close: #2811 2016-09-27 10:06:34 +08:00
Benjy Cui
10b24ed77c fix: should pass className to Wrapper, close: #3119 2016-09-22 14:36:22 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
ddcat1115
602000f1a1 feat: Table suport indeterminate checkbox (#3074)
* Table suport indeterminate checkbox

* Table support indeterminate Checkbox
2016-09-20 15:29:31 +08:00
afc163
69cdf22b42 Allow indicate expandIconColumnIndex in Table, close #3055 2016-09-20 13:16:58 +08:00
feng zhi hao
2cf5dc0046 chore: improve declaration (#3078) 2016-09-19 17:35:17 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +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
afc163
9e5061acdc Merge branch "1.x-stable" 2016-09-15 01:25:28 +08:00
Benjy Cui
59093a6586 fix: should pass prefixCls correctly 2016-09-14 16:59:45 +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
c754a3d3d4 chore: add warning for breaking changes 2016-09-14 11:42:06 +08:00
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
Benjy Cui
77a45f0b00 deps: upgrade rc-table (#2958)
* feat: remove Table columns paging, close: #2883

* css: add style for table multi-header

* feat: multi-header supports fitler & sorter and so on

* feat: multi-heaader works with Table[scroll.y]

* feat: multi-header should works with Table[scroll.x]

* style: update code style to please lint
2016-09-09 13:55:41 +08:00
afc163
3f1960f233 fix fixed columns align bug in small Table, close #2933 2016-09-08 21:27:38 +08:00
Benjy Cui
cb367f3f35 site: update site details 2016-09-08 16:53:50 +08:00
Andrew Murray
0d00c5fb6c docs: Fixed typos (#2921) 2016-09-01 18:12:12 +08:00
afc163
497ff0cabb Merge branch "1.x-stable" 2016-08-31 15:00:13 +08:00
ddcat1115
bffdf731cd fix #2812 (#2875) 2016-08-30 17:01:51 +08:00
afc163
e0eb9ae162 Merge branch "1.x-stable" 2016-08-29 21:02:59 +08:00
afc163
9ae07d5bc7 Fix defaultPageSize in Table.pagination, close #2874 2016-08-29 18:19:29 +08:00
afc163
96c9c11b55 Make children sort recursively 2016-08-26 15:04:19 +08:00
Liu Yang
fb66e9c7e3 apply sorter for children 2016-08-25 21:12:23 +08:00
DengYun
43d17eeb3a 补充Table组件缺少的columns的属性类型定义 (#2833)
* 补充Table组件缺少的columns的属性类型定义

* `columns` is required.
2016-08-25 10:58:10 +08:00
afc163
77949bb9e3 upgrade eslint-config, close #2811 2016-08-23 21:00:35 +08:00
afc163
ca906a0f9d Merge branch "1.x-stable" 2016-08-23 18:16:19 +08:00
afc163
37c3de6b83 remove indexForSort (#2501) until another stable sort problem is reported 2016-08-23 18:00:01 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
afc163
0670b05e50 Improve code style 2016-08-17 15:47:29 +08:00
afc163
6a86811e95 Fix table style, close #2723 2016-08-17 14:55:03 +08:00
afc163
24d2973c32 Merge branch "1.x-stable" 2016-08-16 17:54:59 +08:00
Benjy Cui
63941ae665 docs: fix table demo format 2016-08-15 08:07:03 +08:00
偏右
0b3186696c docs: Translate table (#2594) 2016-08-15 07:54:01 +08:00
afc163
ef23ee9d68 Make table styles more percise, fix DatePicker in Table
close #2675
2016-08-14 16:18:12 +08:00
ddcat1115
6b0a3e129c Fix 2663 有 title 时表格 empty 样式错位 (#2679)
* fix #2663

* fix #2663
2016-08-14 15:38:43 +08:00
Marius Ileana
bb0a30d926 docs: table/demo/reset-filter - A little more meaningful filter (#2700) 2016-08-13 09:06:32 +08:00
Benjy Cui
978b9f98e7 refactor: table ts (#2664)
* refactor: table ts

* fix: should pass context to onChange correctly
2016-08-11 15:38:03 +08:00
afc163
bb68245b7f Merge 1.x-stable 2016-08-04 14:06:09 +08:00
afc163
9726122904 selectedRows should match selectedRowKeys, close #2566 2016-08-03 21:27:45 +08:00
afc163
2536dbee78 Improve Table select perfermance 2016-08-03 21:08:13 +08:00
afc163
71d74c30c1 Merge 1.x-stable 2016-07-29 13:57:54 +08:00
afc163
fec500698e fix unknown props in Table dropdown 2016-07-26 17:02:30 +08:00
afc163
0eeca99f02 Merge 1.x-stable 2016-07-26 22:20:33 +08:00
Vincent Zhang
abecc44d38 fix improper prop 'dataSource' change in Table; close #2501 (#2503) 2016-07-26 14:17:41 +08:00
afc163
f4b10a9e7c Fix string rowKey in Table, close #2500
ref #2058
2016-07-26 21:14:13 +08:00
afc163
a72d9ec381 Merge 2016-07-21 18:10:13 +08:00
afc163
dd80613cd1 Merge branch '1.x-stable' of github.com:ant-design/ant-design into 1.x-stable 2016-07-21 18:08:35 +08:00
afc163
a458de0a88 fix prefer-const 2016-07-21 18:05:15 +08:00
ddcat1115
eba54529ca table-title style (#2452) 2016-07-21 15:14:42 +08:00
afc163
5eb52885d6 @background-color-base 2016-07-21 15:02:24 +08:00
afc163
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
afc163
5e5bd6af9e Merge branch '1.x-stable' 2016-07-12 21:36:23 +08:00
afc163
4b29e40089 Fix overflow current state in Table, close #2301 2016-07-12 18:45:45 +08:00
afc163
1029419e95 improve code style 2016-07-12 18:24:16 +08:00
afc163
6dad2b2987 Merge branch '1.x-stable' 2016-07-11 14:57:38 +08:00
afc163
7c595797c0 Improve fixed Table border style 2016-07-11 13:50:15 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
aac35a8757 Merge branch '1.x-stable' 2016-07-05 15:49:36 +08:00
afc163
5109362b04 remove old docs about dataSource 2016-07-05 15:19:22 +08:00
afc163
b42f5efea3 Fix table fixed header align, close #2227 2016-07-05 14:41:21 +08:00
afc163
d280cba481 Merge 1.x-stable 2016-07-04 15:19:35 +08:00
afc163
2780b100df Trigger Table onChange when selected filter items are changed, close #2228 2016-07-04 12:23:43 +08:00
afc163
95351bfffa Merge branch '1.x-stable' 2016-06-27 19:31:38 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +08:00
afc163
cc4cab5b1e Merge 1.x-stable 2016-06-23 23:11:14 +08:00
afc163
c2942fa530 Fix stopImmediatePropagation in IE8, close #2154 2016-06-23 16:00:30 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
afc163
2be285d236 remove nowrap in fixed Table, close #2130 2016-06-22 11:48:11 +08:00
afc163
7d06517846 Fix rowSelection null, close #2127 2016-06-21 19:35:29 +08:00
afc163
00e7eabd4e close #2058 via upgrading rc-table 2016-06-21 19:27:54 +08:00