Commit Graph

649 Commits

Author SHA1 Message Date
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
Wei Zhu
ae021260dd Revert "docs: Document argument order swap in sorter function. (#5343)"
This reverts commit ac2e611168.
2017-03-16 22:35:52 +08:00
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