Commit Graph

968 Commits

Author SHA1 Message Date
Jesper We
ac2e611168 docs: Document argument order swap in sorter function. (#5343) 2017-03-16 20:31:55 +08:00
Wei Zhu
80043581c5 docs: Add a link to Array.sort 2017-03-16 20:07:40 +08:00
Wei Zhu
557f40aec4 Use a constant to avoid creating new object
Ref #5300
2017-03-14 19:52:59 +08:00
afc163
83df2c98af pagination in demo should be immuatable, ref #5300 2017-03-14 18:51:11 +08:00
Wei Zhu
f567342d95 Fix grouping column table sort and filter in controlled mode (#5211)
Close #5158
2017-03-10 14:52:28 +08:00
afc163
82b54ad42a update table th text color 2017-03-09 22:41:45 +08:00
afc163
977aa62d94 Fix small table border, close #5237 2017-03-09 21:49:10 +08:00
afc163
54984d6d4c Fix td hover bg transition 2017-03-09 14:44:06 +08:00
afc163
4f845afa46 tweak table select all style 2017-03-09 12:09:39 +08:00
Colton Pierson
47d107bb2a fix implicit type any in checkbox props by item values getCheckboxPropsByItem and getRecordKey (#5207) 2017-03-08 16:12:33 +08:00
Wei Zhu
5b1a4dabaf Tweak Table style
1. Fix expand cell width to 50px;
2. Fix select all cell width in different size.
2017-03-06 18:13:05 +08:00
Wei Zhu
c037abab6a Align table checkbox (#5183)
* Align table checkbox

* Don't select Item

* I18n selection text

* Update snapshot
2017-03-06 17:14:34 +08:00
afc163
bae042b29f Fix small table fixed header border, close #5182 2017-03-06 16:09:02 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
偏右
3cf056b010 percise the rowKey warning message 2017-03-05 18:35:49 +08:00
afc163
261a31aeea Fix Table title padding 2017-03-02 17:51:28 +08:00
Wei Zhu
570e2ce1dc Check if Table[pagination] exist
When pagination is null, a error "Cannot use 'in' operator to search for 'current' in null"
will raise.
2017-03-02 11:31:56 +08:00
Wei Zhu
8bfbe9b6df update snapshot 2017-03-02 11:01:12 +08:00
Benjy Cui
fb8f90c102 feat: form (#5063)
* feat: support Form[layout], close: #5056

* feat: Form should be responsive, close: #5055

* test: update snapshot

* fix: resolve conflict betwen layout defaultValue and inline & vertical
2017-03-02 10:49:06 +08:00
afc163
5eef3fa467 fix snapshot test 2017-03-01 13:33:17 +08:00
Benjy Cui
758559f718 test: update snapshots 2017-02-28 16:14:53 +08:00
Wei Zhu
2fb52944e4 Setting table row hover bg on td (#5077)
Related issue #5067
2017-02-28 11:31:01 +08:00
afc163
376806dab8 Merge from "master" 2017-02-26 18:45:16 +08:00
afc163
cf4ad5ddb8 fix test case 2017-02-26 00:23:46 +08:00
afc163
f6715df3b5 closest => dom-closest, fix ssr 2017-02-25 02:09:18 +08:00
afc163
6ea75c4d85 Filter dropdown menu inside scroll body should never be shown, close #5010 2017-02-25 01:36:45 +08:00
afc163
5076b6045c fix snap 2017-02-25 00:17:44 +08:00
afc163
139d95022c prefer stateless function 2017-02-24 20:29:24 +08:00
feng zhi hao
6d903a6ba5 add custom selection in Table (#4962)
* add custom selection in Table

* update snapshots

* update snapshots again

* optimize selection in Table

* update test

* update snapshots

* improve test

* fix test
2017-02-23 19:29:47 +08:00
afc163
dded4bcde4 fix snap for rc-table@5.2.12 2017-02-23 14:57:48 +08:00
afc163
a7c6c027ce Fix ts definition of Table & RangePicker
close https://segmentfault.com/q/1010000008423156
2017-02-23 12:51:40 +08:00
afc163
0f46eed370 fix lint 2017-02-23 11:45:48 +08:00
afc163
922a57dfde fix snap for react-component/table#125 2017-02-23 11:30:54 +08:00
afc163
90699b0c42 clean up document 2017-02-22 12:33:23 +08:00
afc163
79f222b86c fix snap, seems to be a jsdom bugfix 2017-02-21 22:17:35 +08:00
afc163
9fff177bbc update table fixed column demo description 2017-02-21 17:11:30 +08:00
afc163
fbb6cb007f max-height should not work on submenu filter, close #4975, ref #4916 2017-02-21 15:54:14 +08:00
afc163
23cb11fef3 update document, ref #4965 2017-02-20 17:58:51 +08:00
feng zhi hao
5303bd0a38 docs: rewrite Table demos to ES6 component (#4954) 2017-02-20 14:04:36 +08:00
afc163
a9a564779e Merge from "master" 2017-02-20 12:18:41 +08:00
afc163
3308bce9b9 fix snapshot test 2017-02-20 11:36:57 +08:00
afc163
c1f3b58b28 Fix table wrapper float layout, close #4945 2017-02-20 11:36:56 +08:00
Benjy Cui
b7519a65c0 fix: should clear float, close: #4945 2017-02-20 11:31:51 +08:00
afc163
18ec5933b7 fix old react documentation links 2017-02-19 17:02:58 +08:00
afc163
e289ce8b31 Fix Table fixed column z-index issue, close #4937 2017-02-19 14:26:30 +08:00
afc163
673969d0ba fix table snapshot for react-component/table#121 2017-02-19 14:04:22 +08:00
afc163
6e4fae0e29 remove onChange functions in Table.onChange(pagination) 2017-02-19 13:55:36 +08:00
afc163
b34557ef17 Fix Table pagination.onChange arguments
react-component/pagination#58
2017-02-19 13:50:20 +08:00
afc163
8194793f9b Update demo documentation 2017-02-18 16:49:34 +08:00
afc163
86981114a7 give up #4637 and fix #4936 2017-02-18 15:50:42 +08:00
afc163
bd6bc70302 Rollback #4869 for better loading animation, close #4934 2017-02-18 14:58:47 +08:00
afc163
2d02792da7 Add max-height for table filter dropdown menu, close #4916 2017-02-17 17:41:23 +08:00
偏右
4c0af2ba1f refactor: reduce table nested level (#4869)
* reduce table nested level, #4868

* update table snapshot
2017-02-16 15:36:34 +08:00
afc163
af62254597 fix #4637 again 2017-02-16 13:27:43 +08:00
afc163
8941990e74 revert 1490a40, ref #4637, close #4899 2017-02-16 12:00:00 +08:00
Wei Zhu
2258f41f6b docs: add nested Table demo (#4887)
* Remove Table pagination demo

* Add nested table
2017-02-16 10:04:55 +08:00
Wei Zhu
972c2cfa95 fix: empty table placehoder style (#4851)
* Remove redundant border

* Fix empty table placehoder style
2017-02-15 12:08:17 +08:00
Benjy Cui
63476d0bc0 Merge branch 'master' into feature-2.8 2017-02-14 10:56:33 +08:00
zilong
597e020a45 chore: add class ant-form-item-control-wrapper for formItem wrapper (#4856) 2017-02-14 10:46:54 +08:00
afc163
1490a40fc6 Fix #4637 webkit only 2017-02-13 18:32:05 +08:00
afc163
e2c46b78bf revert commit fb421f1 in #4637, close #4850 2017-02-13 17:56:36 +08:00
lixiaoyang
d05a03fe00 feat: Table的loading可以使用Spin的属性 (#4824)
* Table的loading可以使用Spin的属性

* Test

* Fix

* test
2017-02-13 15:48:08 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Warren Seymour
7010dd018d Add 'middle' as a valid value for Table.props.size (#4819) 2017-02-09 22:43:58 +08:00
Wei Zhu
f84dfbbaa9 Fix table filter in JSX (#4765)
Fix #4759
2017-02-08 14:43:00 +08:00
afc163
a07c71165a demo: update table demo code style 2017-02-08 14:42:33 +08:00
afc163
93e152268c remove it.only, ref #4779 2017-02-07 21:21:51 +08:00
afc163
a585f603d0 Fix Table selection page-jumping issue, close #4779 2017-02-07 21:09:51 +08:00
afc163
94f5a07f68 Add rowKey link into console warning message 2017-02-07 15:32:44 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
afc163
8775e7de5e Fix scroll Table lagging issue in IE, close #4522 2017-02-04 17:58:48 +08:00
afc163
fb421f10e0 Change another approach to fix #4637
avoid issues like #4750 and #4753 caused by old way
2017-02-03 19:01:06 +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
e5a735e888 fix ts error, ref #4675 2017-01-24 15:10:04 +08:00
afc163
2d2534321a Fix Table fixed header align issue, close #4637 2017-01-22 11:15: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
Wei Zhu
823ac6c139 fix TableColumnConfig exporting, #4660 2017-01-20 16:08:20 +08:00
afc163
e245facb48 Fix table snapshots 2017-01-20 13:43:39 +08:00
afc163
fae7fd1658 Fix default value of Table showHeader, close #4658 2017-01-20 11:34:08 +08:00
Wei Zhu
fd861d6c0d Tweak empty table border (#4650) 2017-01-19 22:40:30 +08:00
afc163
ddc7054751 Fix fixed column table border radius 2017-01-19 21:51:53 +08:00
afc163
1db0e06bc4 Fix Table[small]'s title and footer border, close #4647 2017-01-19 21:49:03 +08:00
afc163
fe5f8910dd Hide scroll bar in fixed header of table, close #4637 2017-01-19 16:08:21 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
Wei Zhu
c09cf95daa Fix Table filter test 2017-01-13 23:30:39 +08:00
Wei Zhu
65d1f721d3 Fix Table multiple levels filter menu (#4548)
fix #4541
2017-01-13 21:13:31 +08:00
afc163
de544ad21b fix useless className 2017-01-12 20:38:20 +08:00
Wei Zhu
0ff50fc79d docs: Update Table JSX api note 2017-01-12 00:03:35 +08:00
Wei Zhu
8a2b3470ef Document using Table in TypeScript (#4568)
* Allow any valid ReactElement as Table.Column

* Document using Table in TypeScript
2017-01-11 19:52:43 +08:00
afc163
3f5aebe85b Fix Table column.filteredValue null problem, ref #4550 2017-01-10 20:52:53 +08:00
afc163
6af0842be8 fix table demo snapshot 2017-01-10 14:10:44 +08:00
afc163
088ecf18a4 cleaner demo 2017-01-10 14:09:19 +08:00
afc163
75b50e9731 wider the selection column and expand column of Table 2017-01-10 14:03:04 +08:00
afc163
1042681bcd Fix Table filter dropdown style 2017-01-10 13:46:52 +08:00
afc163
452aa84d9d fix table test case typo 2017-01-09 21:06:04 +08:00
afc163
1c493ad798 Fix error when Table[pagination] change, close #4532 2017-01-09 20:49:00 +08:00
afc163
7548f2068f remove comment 2017-01-09 19:35:41 +08:00
Wei Zhu
f6c0e69af5 cleanup npm scripts (#4499)
* Cleanup npm scripts

* Lint fix

* Don't need ignore js files

* Upgrade jest

* Add components index.tsx test
2017-01-08 17:04:09 +08:00
陆离
e36039acf8 chore: Spinning Pagination of table while loading (#4462)
*  Spinning Pagination of table while loading

 - close #4461

* update snapshots of table
2017-01-04 18:43:11 +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
Wei Zhu
29e4717fe3 Fallback table record key to data index. (#4397)
In last PR #4185, we removed data index from record key, it
leads to inconformity behavior.
2016-12-30 13:50:11 +08:00
Wei Zhu
42f98e6779 docs: fix typo. 2016-12-29 21:41:46 +08:00
可乐
2e4e1fcaef 避免 value 正好是数字 0 (#4401) 2016-12-29 13:42:14 +08:00
afc163
869fc54cf7 fix snapshots 2016-12-27 19:32:36 +08:00
afc163
668c481110 Fix table radius without column header, close #4373 2016-12-27 18:24:30 +08:00
afc163
e91f4f2335 improve style code 2016-12-27 17:57:17 +08:00
afc163
3e00fa8e64 update dynamic-settings table demo 2016-12-27 17:47:27 +08:00
afc163
d81c425588 fix snapshot 2016-12-26 18:24:00 +08:00
Wei Zhu
8018529582 Ensure checkbox props cache is cleared after dataSource changes. (#4288)
Fix #4245
2016-12-19 21:10:06 +08:00
Benjy Cui
62c22f31a9 docs: update demo for table 2016-12-19 16:45:58 +08:00
Sergio Crisostomo
7bc43493c1 docs: Add info about how to turn off pagination (#4285) 2016-12-19 16:37:29 +08:00
Benjy Cui
1351b5da5d refactor: remove splitObject 2016-12-19 15:19:15 +08:00
Wei Zhu
d7a110552b Don't use index as row key. (#4185)
* Ensure warning if key is undefined.

* Ensure getRecordKey receives index

* Remove rowKey's second parameter from doc.
2016-12-16 17:53:08 +08:00
Wei Zhu
666e80a1ba tests: Fix table import 2016-12-14 15:38:26 +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
Wei Zhu
66f7b050eb Read initial visible state from column.filterDropdownVisible if it's available. (#4182)
fix #4162
2016-12-08 11:18:35 +08:00
afc163
fcdc375f77 update table demo detail style 2016-12-04 17:47:45 +08:00
afc163
779a62093d group column header should be text align centered 2016-12-04 17:43:24 +08:00
afc163
2ba1e8f3ef clean table demo 2016-12-03 17:50:41 +08:00
afc163
82902855db fix ts error 2016-12-03 15:51:44 +08:00
afc163
bf562c95f1 Fix fixed table empty z-index, close #4016 2016-12-03 15:43:26 +08:00
Wei Zhu
65b2429ed2 Fix grouping column filter. (#4113) 2016-12-03 15:13:10 +08:00
Benjy Cui
c4d8c4770c Add upgrade warning (#4028)
* chore: add upgrade warning for time related value

* chore: update warning

* chore: update demo url
2016-12-02 15:07:33 +08:00
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
afc163
f12d5aea9c improve Table header height and scrollbar style (#2107) 2016-06-21 12:18:25 +08:00
afc163
56f7f9926c fix fixed header height 2016-06-20 17:38:14 +08:00
afc163
d9f2b7ea32 Add filterDropdown for Table column, close #1736 2016-06-20 16:36:37 +08:00
afc163
f5c60541f3 improve code style 2016-06-20 16:25:35 +08:00
Benjy Cui
09bbd51551 refactor: rename table/index.jsx to table/Table.jsx 2016-06-19 10:56:42 +08:00
afc163
500f3e1b30 Improve getCheckboxProps perf via caches, close ant-design/ant-design#2086 2016-06-17 17:23:48 +08:00
afc163
e385b56821 Header can be scroll in fixed-columns Table, close ant-design/ant-design#2068 2016-06-16 21:56:13 +08:00
afc163
7d8a2e0612 Fix fixed-header small Table style, close #2023 2016-06-16 16:43:45 +08:00
afc163
dd0a4c7f22 Add paging columns table demo but hidden 2016-06-13 15:29:02 +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
9961605c5a fix pagination change bug in Table 2016-06-12 18:16:24 +08:00
afc163
a69b7b70a1 Fix Tabs nested in expanded Table, close #2013 2016-06-12 15:31:34 +08:00
afc163
5cc87ede0b Move stopPropagation to wrapper, fix #1470 again 2016-06-07 16:27:55 +08:00
afc163
57ab8dfdfe use arrow function 2016-06-07 16:16:34 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
afc163
4a08e0188d Fix some wrap misplace issues in fixed table (#1829) 2016-06-02 17:35:25 +08:00
afc163
28d0cf86ea upgrade rc-table for nested dataIndex and fix #1898
nested dataIndex https://github.com/react-component/table/issues/46
2016-06-01 14:45:07 +08:00
afc163
af83b2aade fix some table style detail 2016-06-01 12:07:11 +08:00
afc163
1688a8724b Use Radio in filter menu filterMultiple=false, close #1880 2016-06-01 11:46:27 +08:00
afc163
680a5b7120 improve code style 2016-06-01 11:37:13 +08:00
afc163
d8ad0b1993 Fix extra Spin in Table 2016-05-27 21:06:45 +08:00
afc163
5a87d219d7 use remote api for demo 2016-05-27 13:35:49 +08:00
Leon Shi
dbdd5c5da0 fix: throws error when filtering data with pagination set to false, close #1842 2016-05-26 15:01:50 +08:00
RaoHai
25d996d666 fix rowSelection display while some columns fixed left
+ close #1829
2016-05-25 11:37:16 +08:00
afc163
3ee8c0b604 remove table layout fixed (#1819) 2016-05-23 18:59:27 +08:00
afc163
43cf39d9a0 put icon into emptyText, close #1759 2016-05-21 18:53:49 +08:00
afc163
6944a8e7c1 Fix fixed Table align and bordered style, close #1740 2016-05-21 18:08:09 +08:00
Leon Shi
0ff91b4135 Fix Table pagination after filter, close #1669 (#1715) 2016-05-17 10:58:01 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
22af4a9592 Fix Table data.length without specifing pagination, close #1683 2016-05-13 13:49:08 +08:00
afc163
f368fdda3b Fix table className and style wrapper node 2016-05-11 14:23:06 +08:00
RaoHai
f7c9e64416 repair radio type of rowSelection in Table
close #1627
2016-05-11 11:21:00 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
d84b92926c fix table spin debounce 2016-05-09 16:11:54 +08:00
afc163
0dbf42a59c update demo 2016-05-06 20:59:09 +08:00
afc163
a1058db8df fix bordered Table 2016-05-05 16:21:51 +08:00
afc163
300e2d3121 Merge branch master into develop-1.0.0 2016-05-05 16:02:03 +08:00
afc163
154d5e028a Add expandedRowKeys for docs 2016-05-03 17:35:21 +08:00
afc163
26785a4c7d improve code style 2016-05-03 14:15:29 +08:00
Leon Shi
2228e201cc fix typo (#1548) 2016-04-29 12:15:16 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +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
Leon Shi
baac12d1c4 fix lint (#1513)
* fix lint `prefer-stateless-function`

* fix lint `arrow-body-style`
2016-04-26 14:09:19 +08:00
afc163
293812098a Merge branch master into develop-1.0.0 2016-04-25 19:34:01 +08:00
afc163
14f857b7ac prevent propagation of Table rowSelection controls, close #1470, close #1507 2016-04-25 17:55:45 +08:00
afc163
f9153e7b88 Merge branch master into develop-1.0.0 2016-04-25 13:51:18 +08:00
afc163
d7ee4bffa1 Fix initial selectedRowKeys, close #1501 2016-04-25 13:47:08 +08:00
Benjy Cui
12331ea57c style: enable react/prefer-stateless-function in demo 2016-04-21 11:36:51 +08:00
afc163
d2ffb0978f Merge branch master into develop-1.0.0 2016-04-16 17:10:10 +08:00
afc163
6a14de411d Fix uncontrolled table issue
close #1433 #1434
2016-04-16 17:07:39 +08:00
afc163
8a9a1d2334 fix checkbox style 2016-04-15 23:34:40 +08:00
afc163
4835471210 update Table initial current page 2016-04-14 14:47:39 +08:00
Benjy Cui
3677339646 fix: revert 2016-04-14 14:20:18 +08:00
Benjy Cui
9d95313d03 chore: suppress warning 2016-04-14 11:22:53 +08:00
Benjy Cui
0ebf6c2ecc style: enable react/prefer-es6-class 2016-04-13 17:23:14 +08:00
afc163
87f8d1f334 Change current to defaultCurrent 2016-04-13 11:39:56 +08:00
afc163
960ea425b9 Merge branch master into develop-1.0.0 2016-04-12 19:44:38 +08:00
afc163
9a7a620ec7 Fix filter menu value type 2016-04-12 19:43:10 +08:00
afc163
9774181979 Fix Table pagination.size, close #1396 2016-04-12 18:19:27 +08:00
afc163
76935c9630 a little perfermance 2016-04-09 16:30:53 +08:00
afc163
0a55eb8c43 reuse getColumnKey 2016-04-09 15:30:24 +08:00
afc163
e46d60cc2a Merge branch master into develop-1.0.0 2016-04-06 23:58:14 +08:00
afc163
79f817466e fix(table): radio selection can not be controlled
close #1346
2016-04-06 23:29:32 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
afc163
84b731df0f Merge branch master into develop-1.0.0 2016-04-01 01:09:24 +08:00
afc163
29ceb8862d fix: controlled pagination.current should not respond user interaction
ref #1311
2016-04-01 00:57:03 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
afc163
578605f230 Merge pull request #1294 from ant-design/feat-controlled-filter-and-soter
Feat controlled filters and sorter
2016-03-30 18:51:51 +08:00
afc163
b4a75ddcc9 fix sort and filter perf 2016-03-30 17:56:37 +08:00
afc163
2651d80fc2 Individual controlled filter 2016-03-30 17:49:36 +08:00
Benjy Cui
fd3406bd03 style: enable react/jsx-no-bind 2016-03-30 17:06:19 +08:00
afc163
ae9f8d0365 Add docs for sortOrder & filteredValue 2016-03-30 14:39:21 +08:00
afc163
137d57da08 controlled filters 2016-03-30 14:39:21 +08:00
afc163
0dbc69ea8e sorted => sortOrder 2016-03-30 14:39:21 +08:00
afc163
94234a7749 Fix sort state 2016-03-30 14:39:21 +08:00
afc163
6d2b9b249c Make column.sorted be a controlled prop 2016-03-30 14:39:21 +08:00
afc163
5ce99d7c07 get initial sorted state from columns 2016-03-30 14:39:21 +08:00
afc163
4ee09de3b9 Add demo, confirm related API 2016-03-30 14:39:21 +08:00
afc163
ba8d9b7dc3 Merge branch 'master' into develop-1.0.0 2016-03-29 17:36:58 +08:00
afc163
ec6ac78e15 simplify table demo 2016-03-29 17:32:03 +08:00
afc163
7692bf3d42 update site style 2016-03-28 19:12:51 +08:00
afc163
fbda3c7b88 Merge master into develop-1.0.0 2016-03-28 16:15:36 +08:00
afc163
bc2bafff54 update table demo code style 2016-03-28 16:00:58 +08:00
afc163
127f893619 Add Table rowClassName into document 2016-03-28 13:44:50 +08:00
Benjy Cui
5e4786440d deps: remove object-assign 2016-03-25 18:16:48 +08:00
afc163
61f9ba1fd7 Fix table footer style 2016-03-25 16:12:29 +08:00
afc163
4760d0b54c Add scroll and column.fixed document 2016-03-25 16:12:29 +08:00
afc163
0243afb7c5 fix scroll bar style 2016-03-25 16:12:29 +08:00
afc163
15f576020b Add fixed columns demos 2016-03-25 16:12:29 +08:00
afc163
0534c53db5 Merge master into develop-1.0.0 2016-03-25 12:18:51 +08:00
afc163
963d073f1d improve api table style 2016-03-24 21:30:33 +08:00
Bruce Mitchener
11c0a6a203 Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.

The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00
Benjy Cui
1f7a30c99c Merge branch 'master' of github.com:ant-design/ant-design into spa-new-design-language 2016-03-18 11:12:51 +08:00
afc163
60cd7ed85e Fix current page when Table pageSize changed 2016-03-17 15:13:48 +08:00
afc163
f247297f01 Fix children row selection, close #1212 2016-03-16 16:39:53 +08:00
afc163
0a1d3bdd3b fix onChange argument 2016-03-16 16:35:41 +08:00
afc163
5e1f0960a2 Fix rowSelection.onChange selectedRows when specify rowKey 2016-03-16 16:03:16 +08:00
afc163
884c92d7ec pageSize change should trigger Table.onChange, close #1206 2016-03-16 14:26:21 +08:00
afc163
50fd241648 Fix missing code of a222b38 2016-03-15 19:31:56 +08:00
Benjy Cui
ebab622add Merge branch 'master' of github.com:ant-design/ant-design into develop-1.0.0 2016-03-15 09:47:55 +08:00
afc163
1929f7db97 fix dataSource undefined 2016-03-14 11:19:13 +08:00
afc163
1e08883315 update table selection demo 2016-03-10 16:55:02 +08:00
afc163
2482140d2f Change context locale name 2016-03-10 10:32:50 +08:00
afc163
99b58e67ec Add other component for locale 2016-03-10 10:32:49 +08:00
yiminghe
3e0d11043b fix pagination in table 2016-03-08 20:29:18 +08:00
afc163
e2c42a87d0 Add docs for #1139 2016-03-06 22:44:58 +08:00
afc163
f4995b7f67 Add foot and showHeader for Table 2016-03-06 00:08:53 +08:00
afc163
9cdee3434a typo fix #1113 2016-03-04 11:39:58 +08:00
afc163
8daabfced8 docs: update table 2016-03-03 15:32:16 +08:00
afc163
3e9a5afa90 docs: table locale, ref #1110 2016-03-03 12:08:53 +08:00
afc163
7d151514e3 Fix rowSelection.onSelectAll, bump 0.12.7, ref #1105 2016-03-02 23:42:44 +08:00
afc163
fe750d365d improve rowSelect arguments, ref #1105 2016-03-02 21:58:41 +08:00
afc163
c91bf93a38 Fix docs 2016-03-02 21:12:52 +08:00
afc163
9b09e54df5 Fix columns[0] undefined bug in Table 2016-03-02 16:01:36 +08:00
afc163
3738eb3b73 update code style 2016-03-02 14:52:24 +08:00
afc163
7ea67b6e37 stable sort in table
http://jsperf.com/chrome-stable-sort
2016-02-26 16:31:33 +08:00
afc163
17b9d85f44 update demo title 2016-02-26 11:07:50 +08:00
afc163
3ab72afc44 Fix pagination size in table 2016-02-25 15:40:35 +08:00
afc163
08e04e0b14 Hide selection component in children data 2016-02-22 18:52:14 +08:00
Benjy Cui
c1659c2ce3 style: update code style to please lint 2016-02-22 10:52:30 +08:00
Benjy Cui
29825f20c8 style: update code style to please lint 2016-02-17 18:04:42 +08:00
haoxin
6c4998621e doc: fix Table onSelectAll params 2016-02-17 16:59:13 +08:00
Benjy Cui
9d022ff84c style: update code style to please lint 2016-02-17 15:57:33 +08:00
Guan Hao
8726ebfdb6 Fix a typo in components/table documentation. 2016-02-14 13:34:05 +08:00
afc163
e5108f6b00 Fix menu import bug in rc-menu@0.10.x, close #982 2016-02-02 16:48:16 +08:00