Commit Graph

869 Commits

Author SHA1 Message Date
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
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00
afc163
2f7b75562c Merge branch 'master' into antd-3.0 2017-09-20 17:13:32 +08:00
afc163
30abcdf992 Fix table head height, close #7663 2017-09-20 15:42:31 +08:00
afc163
fe7c85fece Merge branch 'master' into antd-3.0 2017-09-19 16:12:18 +08:00
feng zhi hao
58fd54e978 fix: Table not trigger custom selection onSelect when hideDefaultSelections is true (#7653) 2017-09-18 20:56:19 -05:00
Khalifa Lame
f3c35941ec docs: update Table english doc (#7643)
Fixed typos.
2017-09-18 10:28:05 +08:00
nikogu
abf18b9ec4 merge master 2017-09-18 10:13:48 +08:00
爱but的苍蝇
644891f8f6 add Table scroll typings (#7640) 2017-09-17 15:44:01 +08:00
afc163
823e07bc75 Merge branch 'master' into antd-3.0 2017-09-15 21:44:39 +08:00
afc163
6236641c74 Fix broken collapsed MenuGroup, close #7109 2017-09-15 20:37:11 +08:00
Wei Zhu
250c7a9c68 Revert "Mock rc-trigger"
This reverts commit 9d2c91598b.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b Mock rc-trigger
Ref #5522
2017-09-15 16:14:26 +08:00
afc163
2e8e9ccf61 Merge branch 'master' into antd-3.0 2017-09-13 14:29:01 +08:00
afc163
f321596e04 Revert empty style of table
ref #7142

close https://github.com/react-component/table/issues/163
2017-09-13 14:26:02 +08:00
jiang
2570ba8fe6 Menu anim (#7567)
* update menu icon animate

* add padding !important, restore menu retraction animate

* update dropdown arrow
2017-09-12 16:46:33 +08:00
afc163
b24483545c Merge branch 'master' into antd-3.0 2017-09-12 09:41:51 +08:00
afc163
33a71eb8fb Fix #7555 2017-09-11 11:46:09 +08:00
Xiaohan Lee
d490a027bb Docs: update docs for Table's undocumented apis (#7525)
* onRowMouseEnter
* onRowMouseLeave
2017-09-10 21:38:25 +08:00
afc163
7bee69a9df Merge from master 2017-09-08 16:49:58 +08:00
afc163
072d860f8a Fix empty style of small table with fixed columns
close #7509
2017-09-07 21:08:05 +08:00
afc163
cdac7cd28a fix demo snapshot 2017-09-05 16:35:05 +08:00
afc163
0f778d2a4a Merge from master 2017-09-05 16:19:34 +08:00
afc163
8cc1943b77 test: update snap 2017-09-05 15:58:49 +08:00
afc163
cb1e0bfe8e Fix table empty data scroll style
close #7457
2017-09-05 15:57:34 +08:00
Khalifa Lame
99a998afb5 docs: update Table english doc (#7432)
Fixed numerous typos
2017-09-04 10:47:37 +08:00
afc163
07dfac18f7 Tweak table small border style 2017-09-01 18:30:47 +08:00
Wei Zhu
1547b889b7 Revert "Add support for table default sort order" (#7414) 2017-09-01 14:40:29 +08:00
afc163
843d82f6bd fix demo sanpshot 2017-08-30 14:24:47 +08:00
nikogu
e4860bfac0 update snapshots again 2017-08-30 13:51:27 +08:00
afc163
96dd7132e8 Merge branch 'master' into feature-2.13 2017-08-30 13:22:38 +08:00
nikogu
0a9e28226b update snapshots 2017-08-30 11:53:46 +08:00
afc163
c23afb05d0 Fix test case 2017-08-29 19:41:59 +08:00
afc163
fe09eec9aa improve empty cell style 2017-08-29 17:55:50 +08:00
afc163
5a971b24ad Merge from master 2017-08-27 19:32:02 +08:00
afc163
1e48ec0c6a Merge branch 'master' into feature-2.13 2017-08-27 19:31:09 +08:00
afc163
a94e3ab3e0 Add test case for empty table 2017-08-27 17:30:29 +08:00
afc163
6527f9cdb0 More elegant empty style for fixed-columns Table
close #7298

close #7142
2017-08-27 17:30:29 +08:00
偏右
a7200c906c Add hideDefaultSelections (#7342)
close #7295
2017-08-27 15:44:22 +08:00
afc163
ef8beaffde Merge from master 2017-08-25 22:51:14 +08:00
ddcat1115
83a02a6050 fix demo (#7327) 2017-08-25 16:37:00 +08:00
afc163
2d9b374a76 Merge branch 'antd-3.0' of github.com:ant-design/ant-design into antd-3.0 2017-08-21 21:05:41 +08:00
afc163
dc7dfd38c6 Merge from master 2017-08-21 21:02:57 +08:00
山客
ac07dcefb0 Update Table Document (#7268)
Fix syntax errors(markdown table).
2017-08-20 15:15:38 +08:00
afc163
d4171badfd Merge from master 2017-08-19 12:40:40 +08:00
偏右
3b59a03c00 New component divider (#7261)
* Add Divider

* use Divider in table demos

* update demo instruction

* upgrade snapshots
2017-08-19 12:39:11 +08:00
afc163
b84b17d981 Merge branch 'master' into antd-3.0 2017-08-17 18:03:28 +08:00
LeezQ
d329d191dd docs: interface define error (#7241)
fix: interface Properties should be separated by semicolons
2017-08-17 16:24:18 +08:00
nikogu
ecef5887b6 merge master 2017-08-15 17:26:56 +08:00
afc163
749b6e7242 Tweak table sorter style 2017-08-15 15:14:02 +08:00
乐仪
314c095fbf Merge remote-tracking branch 'origin/master' into antd-3.0 2017-08-15 00:13:40 +08:00
nikogu
7d49cc18a9 Merge branch 'master' into feature-2.13 2017-08-12 11:16:33 +08:00
Xiaohan Lee
c23c0a6b16 Update docs for Table.render and Upload.onChange (#7180)
* Docs: fix invalid link in docs of Table.render

* Docs: add link for "onChange" in docs of Upload.onChange
2017-08-11 17:05:58 +08:00
afc163
b48f749e26 Merge branch 'feature-2.13' into antd-3.0 2017-08-10 16:33:18 +08:00
afc163
1f18c93d7f Fix empty table scrollbar, close #7142 2017-08-09 21:55:38 +08:00
Dmitry Bolotin
ba0d2598fe Object cloning in flatArray performed only if object has childrenName field. (#7072) 2017-08-07 15:33:18 +08:00
Graeme Yeates
d21523ef8c Use classNames to set ant-column-sort Table attribute 2017-08-07 10:40:34 +08:00
Graeme Yeates
75a6a562a0 Update table head.md snapshot 2017-08-07 10:40:34 +08:00
Graeme Yeates
40e94945d9 Add support for table default sort order (#6449) 2017-08-07 10:40:34 +08:00
afc163
6a17efcbf1 upgrade some devDeps and fix stylelint 2017-08-04 18:01:40 +08:00
afc163
2fe4ac1a30 update document for #7023 2017-07-31 16:55:05 +08:00
Benjy Cui
119d498935 chore: replace http with https, close: #6893 2017-07-19 14:00:11 +08:00
hansnow
6bc57e450c Update table documents 2017-07-07 18:00:34 +08:00
paranoidjk
ba168b826f refactor: use spread operator replace object-assign (#6677) 2017-07-03 16:57:11 +08:00
afc163
dbdd5d5126 update table doc 2017-07-01 14:38:11 +08:00
偏右
963560d33b Merge pull request #6667 from yurtaev/patch-1
Add `onRowDoubleClick` into Table documentation
2017-07-01 14:36:32 +08:00
偏右
0ce61df3da Merge pull request #6599 from megawac/table-sort-select-bg
Use background-color-active for table sort and selected backgrounds
2017-06-30 12:00:16 +08:00
afc163
4f0b3cad2a Fix expanded area background of fixed header table, close #6657 2017-06-30 11:30:27 +08:00
Egor Yurtaev
777e4adeb0 Add onRowDoubleClick into Table documentation 2017-06-29 18:30:07 +06:00
Graeme Yeates
5d8a3f6f66 Use background-color-active for table sort and selected backgrounds 2017-06-23 12:43:40 -04:00
Wei Zhu
7be75f59fd Tweak table icons 2017-06-23 20:53:07 +08:00
sojournerc
e2a99f53f7 add ClickEvent to Table.props.onRowClick interface 2017-06-20 17:29:46 -06:00
Jordan Hornblow
51655e2e7c Allow Number type table keys. Make notification success, error, info, warn and warning non-optional (#6434)
* Allow Number type table keys. Make notification success, error, info, warn and warning non-optional

* Fix build error
2017-06-13 14:43:19 +08:00
Wei Zhu
847153d998 docs: Document Table column[key] can be ignored.
Related #6436
2017-06-12 15:52:13 +08:00
Wei Zhu
baa8e23280 Pass className to table's pagination
fix #6416
2017-06-12 11:35:29 +08:00
Wei Zhu
e6ef5b5707 User static variable for element type detection 2017-06-01 15:07:37 +08:00
Wei Zhu
fd7ef2407c Don't need extends from rc-table
Fix #6313
2017-06-01 14:49:25 +08:00
Benjy Cui
4e75347d35 deps: upgrade rc-pagination 2017-06-01 10:44:00 +08:00
Jordan Hornblow
ba65f9429e Add onCellClick prop to ColumnProps interface 2017-05-29 20:17:01 +10:00
Jordan Hornblow
acdc563a54 Add filterDropdownVisible and onFilterDropdownVisibleChange to ColumnProps interface 2017-05-24 19:38:39 +10:00
afc163
f28c328442 update code style 2017-05-24 16:19:10 +08:00
afc163
55fc44aba4 fix table wrapper node null, #6245 2017-05-24 16:16:42 +08:00
afc163
54c6b63e9f Fix table filter menu overflow issue, close #6245 2017-05-24 12:17:40 +08:00
afc163
42c3665517 filter dropdown should be render inside td 2017-05-19 16:02:21 +08:00
Benjy Cui
0b332f0fb8 test: update snapshot for pagination 2017-05-17 11:11:01 +08:00
afc163
29e54c2339 fix lint in demo 2017-05-15 16:40:10 +08:00
Benjy Cui
12a6060304 docs: fix code style 2017-05-15 14:37:22 +08:00
afc163
f5d371f6e9 tweak selection style 2017-05-03 16:23:08 +08:00
afc163
93f7fd1c98 update table selection text and add select all demo 2017-05-03 16:19:12 +08:00
afc163
c6efc4db27 Adjust dropdown item padding, close #5088 2017-05-02 16:07:16 +08:00
绯一
80de0127f4 feat: add table padding parameters for customizing (#5795) 2017-04-26 10:16:26 +08:00
afc163
1be0936cb8 fix snapshots 2017-04-12 20:44:57 +08:00
afc163
04af6d5c7f improve table demo style, close #5697 2017-04-12 20:31:31 +08:00
Manjit Kumar
4e055ed5d0 use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
 - Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
 - Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
afc163
92b8e8534e change variable names #5711 2017-04-11 17:56:38 +08:00
Sanjay Kumar
692ccf85e7 Adding less variables for table head background color and table row hover 2017-04-11 17:08:09 +08:00
mArker
cb67059dd0 add min-width
selection-column and expand-icon-th
if the width total of your columns >= 100%, must have `min-width`.
2017-04-10 13:03:24 +08:00
afc163
aaf28299ce fix table column align in demo 2017-04-05 11:51:21 +08:00
Wei Zhu
1a8e738142 Set snapshotSerializers 2017-04-02 18:09:23 +08:00
afc163
ef27e6d200 Merge branch 'master' into feature-2.9 2017-03-30 14:26:15 +08:00
afc163
51f1403e14 align table head in demo 2017-03-30 13:52:42 +08:00
Wei Zhu
aa23606166 Update snapshot 2017-03-30 00:24:41 +08:00
afc163
f77f020517 update table filter demo, close #5439 2017-03-29 20:37:20 +08:00
afc163
4f89e54cb2 Merge from branch "master" 2017-03-28 15:58:41 +08:00
afc163
03c5689db6 tweak code style 2017-03-28 15:00:19 +08:00
HJin.me
47589ba92c fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type (#5528) 2017-03-28 13:20:05 +08:00
陆离
15e6133867 Filter Icon of Table (#5293)
*  Filter Icon of Table

+ close #5287
+ add `isFiltered` props for mark dataSource is filterd
+ improve CustomFilter Demo

* fix doc

* update

* custome filter icon

* custome filter icon
2017-03-27 17:38:14 +08:00
feng zhi hao
8dfdce50f9 fix: improve rowSelection.selections of Table (#5409)
* improve rowSelection.selections of Table

* fix classNames spell error

* update class name
2017-03-27 10:09:38 +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
afc163
77b382fb1c update table demo 2017-03-27 10:09:06 +08:00
afc163
8eb472a466 Fix Table selectAll behavious inside Popover, close #5407 2017-03-27 10:09:06 +08:00
feng zhi hao
78bdbbfe93 fix: improve rowSelection.selections of Table (#5409)
* improve rowSelection.selections of Table

* fix classNames spell error

* update class name
2017-03-24 11:44:36 +08:00
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
106d9a70e2 update table demo 2017-03-22 20:24:48 +08:00
afc163
fd7b5bdcf4 Fix Table selectAll behavious inside Popover, close #5407 2017-03-21 16:31:45 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
8f81594f91 Refactor: introduce injectLocale (#5289)
* refactor: extract injectLocale and refactor Pagination, ref: #5103

* refactor: use injectLocale in Popconfirm, ref: #5103

* refactor: use injectLocale in TimePicker

* refactor: use injectLocale in Transfer

* refactor: use injectLocale in TreeSelect

* refactor: remove useless code in AutoComplete

* test: update snapshot
2017-03-17 15:23:25 +08:00
一喵呜
e72cc5e742 Update index.less (#5341) 2017-03-16 23:36:35 +08:00
Wei Zhu
fee429909f Change to correct page when table data changes (#5277)
Fix #5259
2017-03-16 23:01:13 +08:00