Commit Graph

987 Commits

Author SHA1 Message Date
afc163
6458280cb3 site: add alt to images 2018-05-21 23:42:57 +08:00
Zheeeng
59fe98a194 Add position config for List pagination (#10581) 2018-05-21 21:52:18 +08:00
jim
d6a554823f Rollback ci modification 2018-05-20 21:38:29 +08:00
jim
fd1d9661c0 update snap fix ci 2018-05-20 15:49:56 +08:00
Wei Zhu
aa87fcb01e Update snapshot 2018-05-18 18:53:26 +08:00
afc163
7c4f6e8b2a fix: Revert checkbox z-index
fix #10480

ref #10452

reverted for #10385
2018-05-18 15:36:54 +08:00
Wei Zhu
c7c85e3d5d docs: Revert unexpected modify 2018-05-15 12:11:21 +08:00
Wei Zhu
78af67a057 docs: fix table custom search panel demo
close #10494
2018-05-15 11:58:02 +08:00
picodoth
030c745e1b fix: checkbox trigger twice
regression introduced from d93cfde
2018-05-10 19:04:37 +08:00
afc163
6eef4d0a42 chore: code style 2018-05-10 11:01:58 +08:00
Wei Zhu
04ee8526ab Revert "Fix table scroll x (#9704)"
This reverts commit 0d9dcb1714.
2018-05-08 16:23:10 +08:00
陈帅
d5c5219111 new edit Table demo (#10119)
* new edit Table demo

* fix test error

* fix ci

* typo

* Skip edit-row test for React 15

* Set column width

* Update snapshot
2018-05-07 20:50:43 +08:00
Wei Zhu
8a6d9b92b7 Improve table types
Fix #10374
2018-05-07 12:32:26 +08:00
Christian
f4b8a58480 fixes #10289 and #10209: lost of user selection on table data updates (#10332)
* fixes #10289 and #10209: lost of user selection on table data updates

* adds shallowequal check
2018-05-04 14:51:15 +08:00
Wei Zhu
3fd9397174 Keep text align center
Fix prev commit
2018-05-04 14:33:06 +08:00
Wei Zhu
f1e38a1573 Fix table merged header cell border
Fix #10359
2018-05-04 14:30:21 +08:00
愚道
013df45a70 merge https://github.com/ant-design/ant-design/pull/10306 from feature-3.5.0 2018-05-03 16:58:50 +08:00
afc163
b5a52d26f2 fix snapshot 2018-05-02 14:28:16 +08:00
Junbin Huang
3a3d550b54 chore: upgrade menu (#10305)
* chore: upgrade menu and select

* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
Ash Kumar
013932e6d3 Feature: (Issue 10213): Column 'sorter' function is passed 'sortOrder' as param (#10306)
* Table Column's sorter prop can now be provided a fn to which 'sortOrder' is passed as param

* head.md: added documentation for new use of 'sorter' prop function
2018-04-29 22:08:28 +08:00
afc163
d9053a2526 Tweak sort position again 2018-04-26 16:15:04 +08:00
Samuel Gaus
4bc28ac471 Update jsx.md (#10203)
Made it clear that you can't use components other than Column or ColumnGroup as children to Table.
2018-04-23 21:57:43 +08:00
afc163
15c6d58796 Table getCheckboxProps should be updated when rerender
close #10133
2018-04-22 15:19:04 +08:00
Albert 理斯特
b7411febce A: 新增关于 childrenColumnName 的文档,fix #9035 (#10062) 2018-04-16 13:26:33 +08:00
afc163
3612144c6d site: avoid hash jump in demo 2018-04-11 15:15:24 +08:00
afc163
bf6e91be3a Tweak table sorter icon click area again 2018-04-03 11:33:37 +08:00
Nokecy
98d56b2dd0 Fixed typescript definition and add table props onHeaderRow (#9902) 2018-04-02 17:15:17 +08:00
Wei Zhu
c4698154b4 Merge branch 'master' into feature-3.4.0 2018-03-30 15:09:38 +08:00
Wei Zhu
70ea209857 docs: Clarify Table[scroll] useage
Related issue:

https://github.com/ant-design/ant-design/issues/2203
https://github.com/ant-design/ant-design/issues/2130
2018-03-27 17:46:01 +08:00
afc163
99e030cc4c Merge branch 'master' into feature-3.4.0 2018-03-25 01:39:27 +08:00
meesvandongen
2c5231f0ed Made expanded row background (table) a less variable. (#9789) 2018-03-24 13:18:38 +08:00
Sangle
eb338425fe docs: fix syntax error (#9764) 2018-03-22 14:54:46 +08:00
诸岳
aadba9b0e3 docs: add align prop description (#9749) 2018-03-21 17:42:19 +08:00
Wei Zhu
1c0b5ed21e Revert "Update snapshot"
This reverts commit 98356e87ff.
2018-03-21 12:01:58 +08:00
zhuyue
98356e87ff Update snapshot 2018-03-21 10:51:52 +08:00
Wei Zhu
0d9dcb1714
Fix table scroll x (#9704) 2018-03-18 12:58:33 +08:00
Wei Zhu
381b88e9b0
Tweak table border radius (#9674)
Close #6750
2018-03-18 11:14:31 +08:00
afc163
554dec3bab update table demo 2018-03-15 14:30:01 +08:00
afc163
8db3b1f46f update snapshot 2018-03-15 11:42:42 +08:00
nestoralonso
43d7be5478 Update fixed-columns.md (#9680)
Fix typo scoll.x => scroll.x
2018-03-15 10:30:23 +08:00
Terence
4458f3dde1 Fix missing key of column.title in Table (#9658) (#9670) 2018-03-14 17:46:56 +08:00
afc163
eb2290a87f Tweak table sort icons position 2018-03-14 11:54:32 +08:00
zhuyue
ed70ba694e Merge branch 'feature-3.3.0' 2018-03-11 14:50:25 +08:00
Camol
2aed46012e [feature]: add native Event - related to #9368 (#9376)
* [feature]: add native Event - related to #9368

* update tests and rc-checkbox's version
2018-03-09 15:16:57 +08:00
Wei Zhu
f78e0098fa Improve Radio/Checkbox type definition
Close #9574
2018-03-08 20:39:34 +08:00
愚道
59b7195c06 Merge branch 'master' into feature-3.3.0 2018-03-07 14:17:43 +08:00
SimpleFrontend
9073237e70 Added selectionColumnWidth to TableRowSelection (#9474)
* Added selectionColumnWidth to TableRowSelection

* Updated documents

* Renamed selectionColumnWidth to columnWidth
2018-03-05 18:23:01 +08:00
afc163
af8e54f1d6 Fix table radius in chrome 2018-03-03 16:42:48 +08:00
Wei Zhu
5e7bff8b5e Update snapshot 2018-03-02 14:12:30 +08:00
Wei Zhu
a4fea8f22c docs: Add Table pagination position to demo 2018-03-02 12:35:25 +08:00
Camol
ae2990e241 feature: [Table] Pagination on the top in addition to the bottom. fix… (#9357)
* feature: [Table] Pagination on the top in addition to the bottom. fix (#9346)

* refactor pagination of table (#9357)

* specify the position of pagination when using table  - add test

* specify the position of pagination when using table - update API docs

* update api docs

* fix error

* add TablePaginationConfig extends PaginationProps
2018-03-02 12:00:28 +08:00
Wei Zhu
5df04e6827 Fix lint 2018-02-26 17:24:55 +08:00
Wei Zhu
54242e968f Set Table filter dropdown menu popup container
Fix #9209
2018-02-26 16:45:26 +08:00
Wei Zhu
c28d6f1624 Remove table overflow:hidden, fix #7799 2018-02-24 11:46:46 +08:00
Wei Zhu
f1fd85780e Revert "fix type of column dataIndex (#9298)"
This reverts commit f8e996ee8e.

Close #9393
2018-02-22 15:56:37 +08:00
Wei Zhu
a6ffd332fa docs: fix parameter 2018-02-16 15:20:25 +08:00
Wei Zhu
a438b9b33f Add spin dot className to custom indicator 2018-02-14 12:56:22 +08:00
Wei Zhu
7d5db31e67 Fix table custom spin indicator
Fix #9355
2018-02-14 12:56:22 +08:00
afc163
e3f115dd3d update snapshot 2018-02-11 11:48:59 +08:00
afc163
2909e5f651 Fix sorter icon click area overflow in Table
close #8979
2018-02-09 15:50:08 +08:00
Wei Zhu
b5f88c0005 Fix table padding close #9319 2018-02-09 14:58:03 +08:00
Wei Zhu
7d3ff69e12 Fix small bordered table style
Fix #8980
2018-02-08 16:14:45 +08:00
afc163
875024cd1e update onRow usage 2018-02-08 14:25:49 +08:00
afc163
3ed3a078e1 Document for Table onRow, ref #355 2018-02-08 14:14:46 +08:00
Leo
f8e996ee8e fix type of column dataIndex (#9298) 2018-02-07 20:26:03 -06:00
Wei Zhu
ca6a8d13bd site: Update Table drag demo
Close #9255
2018-02-05 11:08:16 +08:00
Wei Zhu
49c2a6220b Merge branch 'feature-3.2' 2018-02-04 17:24:16 +08:00
Wei Zhu
aa88c656f1 docs: remove expaned row hover background color
Close #8775
2018-02-02 14:07:57 +08:00
Evert Bouw
0c69d721de Fix(Typings): Add OnHeaderCell property to ColumnProps (#9223)
* Fix(Typings): Add OnHeaderCell property to ColumnProps

* onHeaderCell actually receives the ColumnProps object
2018-02-01 04:54:50 -06:00
mgrdevport
5fd741bf21 Pass name prop down to the table selection input (#9054) 2018-01-31 01:07:53 -06:00
ryanhoho
b93e33c535 table size padding use @table-padding-vertical & @table-padding-horiz… (#9106) 2018-01-29 21:05:37 -06:00
sallen450
a9562e75fe Fix(Table): Hide emptyType in Table when loading prop is true (#9095)
* fix(Table): Hide text in  when  prop is true

* test(Table): renders empty table without emptyText when loading

* refactor: code style
2018-01-26 09:30:11 -06:00
Qingrong Ke
b50ca50bad docs: update head.md of Table (#9133) 2018-01-26 10:39:22 +08:00
niko
f2ba99978d
upgrade snapshots (#9127) 2018-01-25 18:24:59 +08:00
ddcat1115
4286131735 fix doc error 2018-01-20 12:46:30 +08:00
afc163
f95cb04585 Add demo for row-click selection 2018-01-15 17:24:40 +08:00
afc163
365bf6d781 fix snapshot 2018-01-12 19:15:29 +08:00
afc163
63c620240b emptyText should support function, close #8871 2018-01-11 23:17:44 +08:00
Wei Zhu
999d6184ad docs: Sort api table 2017-12-29 20:22:58 +08:00
Cam Song
1af1534592 Add hideOnSinglePage to Pagination (#8615) 2017-12-29 20:14:53 +08:00
afc163
67df1cd979 Fix test case 2017-12-28 13:20:12 +08:00
afc163
1c557f43a8 Fix extra padding in Table small with fixed columns, close #8724 2017-12-27 12:20:04 +08:00
afc163
294db783e1 Fix table size of fixed column, close #8660 2017-12-20 22:01:25 +08:00
afc163
0eac8aa1c6 Fix table title/footer/size style, close #8577 2017-12-13 11:19:52 +08:00
afc163
913daa2668 Tweak table head icons style 2017-12-10 16:36:59 +08:00
afc163
a3271d9a03 update demo code style 2017-12-10 16:20:31 +08:00
afc163
eae1a0044c Fix nested Table size style, close #8525 2017-12-10 16:20:02 +08:00
Dane David
e8d3be5dc2 Make Table props optional (#8515) 2017-12-08 15:36:32 +08:00
Dane David
687b058dc0 Add missing type definitions for table #8507 (#8511) 2017-12-08 14:24:34 +08:00
Wei Zhu
43628b9848 docs: document Table[expandRowByClick] 2017-12-07 15:14:41 +08:00
Dane David
a1ada4f4f6 Add expandRowByClick API to Table docs (#8490) 2017-12-07 15:11:39 +08:00
afc163
dd3f7f2da1 Revert table responsive code, close #8465 2017-12-06 19:58:21 +08:00
Wei Zhu
4d7ce541cd docs: TableColumnConfig has been renamed to ColumnProps
Close #8438
2017-12-05 09:50:23 +08:00
afc163
59cb320a7b Fix searchInput undefined in demo 2017-12-03 19:10:18 +08:00
afc163
81472aaf3b Fix custom filter dropdown focus issue, close #8411 2017-12-03 19:09:39 +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
bd9fba9f45 Better responsive style of Table 2017-11-28 14:35:46 +08:00
ChrisF
cd7a04a069 change children prop of TableProps to React.ReactNode (#8317)
* make children prop of RadioGroupProps optional

* change children prop of TableProps to React.ReactNode
2017-11-27 10:53:55 +08:00
Wei Zhu
a64337748a Fix table row create on every render.
Fix #8283
2017-11-22 17:27:32 +08:00
Wei Zhu
5cb5a2ae9d Fix implicit any error for Table 2017-11-21 14:22:35 +08:00
afc163
81fc6d613c Merge branch 'master' into antd-3.0 2017-11-21 10:19:39 +08:00
afc163
9dd858cc62 Fix selector priority, close #8245 2017-11-21 10:19:11 +08:00
Wei Zhu
2de0a6a522
Add use in TypeScript instruction (#8230) 2017-11-19 22:00:44 +08:00
Wei Zhu
22e5c0d954
Allow fix table selection column (#8195) 2017-11-18 23:46:24 +08:00
Wei Zhu
633708fee9 export BodyRowClass 2017-11-18 00:54:54 +08:00
Wei Zhu
67336fca7b Rename TableRow to BodyRow 2017-11-18 00:36:22 +08:00
Wei Zhu
5970dbb1ec Fix table row selected className
Close #8074 #8075
2017-11-18 00:03:30 +08:00
Wei Zhu
f78d33ed59
Update rc-table (#8187)
* Update rc-table

* Add table drag sorting demo
2017-11-17 18:53:07 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Wei Zhu
fbafe9eac1 Add table filter test 2017-11-13 22:36:50 +08:00
Wei Zhu
55c85f77a1
Update dependendies (#8150)
* deps: upgrade rc-menu, and close: #2837

* test: update snapshots

* Update rc-calendar

* Update rc-cascader

* Update rc-dialog

* Update dropdown

* Update rc-select@7.1.0

* Update rc-slider

* Update rc-time-picker

* Update rc-tooltip

* Update rc-tree-select

* Mock rc-trigger and Portal

* Fix animation warning when inlineCollapsed changes

* fix: should use SubMenu[popupClassName]

* Fix typescript error

* Fix lint

* fix: style for menu

* Mock rc-trigger for React 15

* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
afc163
4022374f33 Fix snapshot 2017-11-09 19:49:40 +08:00
afc163
856ecd4ae3 Merge branch 'master' into antd-3.0 2017-11-09 19:45:06 +08:00
afc163
97a889da00 Fix snapshot 2017-11-09 19:38:04 +08:00
Graeme Yeates
8395de01a2 Add support for column defaultSortOrder (#6449) (#8111)
Fixes #6449
2017-11-09 19:30:24 +08:00
afc163
2d17d8a768 refactor edit-row demo, close #8026 2017-11-07 21:03:14 +08:00
afc163
091b84008f update demo 2017-10-26 20:39:58 +08:00
Benjy Cui
e5699aff68 fix: should not import moment while useless, close: #8013 2017-10-26 10:50:18 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
Wei Zhu
7776cf62a7 Merge branch 'master' into antd-3.0 2017-10-25 10:25:02 +08:00
Wei Zhu
f28d0d4d82 docs: Document onRowContextMenu
close #7820
2017-10-25 10:00:44 +08:00
afc163
c472ed27f8 Merge branch 'master' into antd-3.0 2017-10-23 19:40:14 +08:00
Wei Zhu
d829f6c008 docs: expandedRowRender can not be boolean 2017-10-23 11:21:05 +08:00
afc163
3f57d5f56d Merge branch 'master' into antd-3.0 2017-10-23 10:41:51 +08:00
ddcat1115
12819130ec fix Table filter can't show after remove fixed setting. (#7962)
* fix Table filter can't show after remove fixed setting.
close #7909

* improve
2017-10-22 02:54:12 -05:00
afc163
8e09745def Fix #7969 2017-10-22 15:23:34 +08:00
afc163
86da4a95ce Fix lint 2017-10-21 20:06:12 +08:00
afc163
529f9fa933 use @heading-color again 2017-10-20 15:49:28 +08:00
Benjy Cui
7ea572bfc8 refactor: extract common locale logic (#7915) 2017-10-20 14:54:38 +08:00
afc163
7ef4771ddf update style 2017-10-19 16:38:12 +08:00
偏右
ffffd0f4c5 Fix styles (#7924)
* update demo

* Fix styles

* fix snap

* Fix back-top ci
2017-10-18 17:16:14 +08:00
afc163
5f37d9df24 doc: fix expandedRowRender type, close #7901 2017-10-17 15:01:21 +08:00
afc163
fda3f6ddcd doc: fix expandedRowRender type, close #7901 2017-10-16 21:22:16 +08:00
Benjy Cui
e5edb4ac0f test: update snapshot 2017-10-10 16:06:49 +08:00
afc163
d3b98d311a Merge branch 'master' into antd-3.0 2017-10-10 14:09:03 +08:00
afc163
712451acf7 Fix codepen demo 2017-10-10 11:35:50 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
afc163
a4a0816e5a code indent 2017-10-08 17:58:42 +08:00
afc163
7a8a1a8ee3 Merge branch 'master' into antd-3.0 2017-09-30 21:31:29 +08:00
afc163
819e55e968 update snap 2017-09-29 23:10:27 +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
afc163
a3c7d6611c Merge branch 'master' into antd-3.0 2017-09-27 20:13:44 +08:00
afc163
d7eca4e151 Fix table's filter dropdown style 2017-09-27 20:03:26 +08:00
Benjy Cui
829b5f87bf feat: make default locale to enUS (#7553)
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
ChaXinyu
14e2a56b75 export components interface (#7654)
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14:49 +08:00
afc163
ca8ff1c27a Fix column sorter icons style 2017-09-25 21:35:56 +08:00
afc163
8026020dd4 Fix column sorter icons style 2017-09-25 21:24:43 +08:00