Commit Graph

418 Commits

Author SHA1 Message Date
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
Benjy Cui
68b51e298d style: update code style for space-before-function-paren 2016-01-27 17:00:58 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
afc163
e0925a20a8 Add useFixedHeader, #918 2016-01-24 15:40:14 +08:00
afc163
5d9978e6bb remove some hidden demos 2016-01-23 15:02:34 +08:00
afc163
b855525615 Feature: support paging columns, ref #708 2016-01-20 17:15:39 +08:00
afc163
4b5e09de8d Merge branch 'master' into develop-0.12.0 2016-01-16 14:58:05 +08:00
afc163
341ad18eb6 fix table select all 2016-01-15 17:44:19 +08:00
afc163
7f5735b968 update table demo 2016-01-15 17:21:50 +08:00
afc163
3ed9ce3cb5 Do not empty selection when change dataSource now
eh... empty behavious will trigger a infinite loop when sapecify
immutable dataSource

You need to empty manully when change data or current page
2016-01-15 16:07:59 +08:00
afc163
c732855902 rm alert 2016-01-12 14:25:33 +08:00
afc163
0f72c80e79 Merge pull request #829 from ant-design/upgrade-eslint-config
Upgrade eslint config
2016-01-12 11:54:07 +08:00
afc163
cf92a79529 merge master 2016-01-12 11:44:02 +08:00
绯一
1ca51cbd5c [update] hide onRowClick 2016-01-11 12:09:12 +08:00
绯一
502ae06f9d [feat] add rowClick demo and doc 2016-01-11 11:37:36 +08:00
Benjy Cui
7f394da335 style: update code style to please lint 2016-01-11 10:10:32 +08:00
Benjy Cui
aa5c4f9595 style: update code style to please lint 2016-01-11 09:49:31 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
Benjy Cui
209170e813 style: update demo code style to please lint 2016-01-11 09:49:30 +08:00
Benjy Cui
711d2d7413 style: update code style to please lint 2016-01-11 09:49:30 +08:00
afc163
a222b3898b support submenu in table filter menu, ref #708 2016-01-10 21:10:10 +08:00
Benjy Cui
b58142081c feat: add defaultValue for onChange onShowSizeChange 2016-01-08 16:53:25 +08:00
Benjy Cui
64cde2e905 fix: Pagination.onChange should be called #824 2016-01-08 15:29:34 +08:00
zilong
bdd47786af Update index.md
fix typo. key should be `address`
2016-01-03 14:00:50 +08:00
afc163
663e3c4231 update table demo title 2016-01-03 01:17:49 +08:00
afc163
a570b25e0a update table API doc 2016-01-01 22:55:25 +08:00
afc163
7866f177cc update table selection demo 2016-01-01 22:51:26 +08:00
afc163
76aa90f67b update document for table selection change 2016-01-01 22:38:19 +08:00
afc163
34f9ab05b0 make selected item can be controlled, #793 2016-01-01 22:34:59 +08:00
afc163
ceeae97eb8 Add rowSelection API documentation 2016-01-01 20:18:38 +08:00
afc163
28b75ce8da Add rowSelection onChange, #786 2016-01-01 20:08:30 +08:00
afc163
27908bf42e Fix disabled checkbox logic in table rowSelection 2016-01-01 19:49:02 +08:00
afc163
b276ca65fc checkAll should be disabled when every checkbox is disabled 2016-01-01 19:07:28 +08:00
afc163
01468cdc54 improve getDefaultSelection code implementation 2016-01-01 19:00:34 +08:00
afc163
092e2e1ac6 empty selectedRowKeys when dataSource changed, ref #793 2016-01-01 18:53:57 +08:00
afc163
253da716f3 change table default indentSize 2015-12-29 14:36:38 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
yiminghe
d7e4578b89 fix pageSize 2015-12-28 15:42:16 +08:00
afc163
c45c6877f8 fix lint problems 2015-12-27 16:20:59 +08:00
afc163
ac337976be update table demo 2015-12-26 00:58:05 +08:00
afc163
6fa32a81b8 update demos title 2015-12-26 00:52:30 +08:00
Benjy Cui
9ef865e25e docs: update demo and documentation 2015-12-25 15:50:41 +08:00
Benjy Cui
38083e5a9f feat: expose onShowSizeChange 2015-12-24 10:12:31 +08:00
Benjy Cui
d1c73231a1 fix: rowKey should work with Radio #697 2015-12-18 16:33:37 +08:00
afc163
e064af5eb9 update table index.md 2015-12-16 18:27:38 +08:00
afc163
e20111d918 Add table locale emptyText 2015-12-16 18:14:22 +08:00
afc163
76ecce0942 Add column key for table demo 2015-12-16 16:35:56 +08:00
afc163
5d0287615d update table index 2015-12-16 15:53:46 +08:00
Benjy Cui
74fc3fd710 fix: uncheck when all the data are disabled #682 2015-12-16 10:32:32 +08:00
afc163
41c60f6469 Add propTypes 2015-12-10 15:26:45 +08:00
afc163
58845101c2 update table demos 2015-12-10 15:16:33 +08:00