陈帅
7b98df8075
fix: better typescript code, use svg components ( #18036 )
...
* better typescript code, use svg components
fix #18017
* snapshots updated
* snapshots updated
2019-08-02 21:37:26 +08:00
啸生
4c23bc2543
Feature ( #18049 )
...
Feature
2019-08-02 17:38:50 +08:00
zombiej
f56955846c
merge master
2019-07-30 19:24:34 +08:00
afc163
4374514252
✅ fix snapshot and test case
2019-07-30 11:58:45 +08:00
zombiej
514ee9bef9
Merge remote-tracking branch 'origin/master' into 4.0-prepare
2019-07-29 14:35:15 +08:00
afc163
ce7ab240cf
🐛 Fix Table filterDropdown always trigger onChange
...
close #17833
2019-07-24 16:06:51 +08:00
afc163
efecf5eafd
✅ add test snapshot
2019-07-23 11:58:05 +08:00
afc163
abcfe77b5b
✅ Add snapshot test for Table getPopupContainer
2019-07-22 21:36:57 +08:00
zombieJ
42468b6ad7
feat: Enhance accessibility of Table expanded icon ( #17781 )
...
* use icon instead of css
* update snapshot
* clean up
* update style
* update snapshot
* add click test case
* clean up
* update snapshot
2019-07-22 19:28:23 +08:00
zombiej
735996ce35
merge master
2019-07-16 11:42:55 +08:00
zombieJ
bed07392fd
update snapshot ( #17656 )
2019-07-15 19:32:46 +08:00
vagusX
eac30ec8e4
Feat/remove deprecated ( #17510 )
...
* feat: remove warnings for linkRender, nameRender in Breadcrumb
* feat: remove warnings for onOpen, onClose in Menu
* feat: remove warnings for overlay in Popover
* feat: remove warnings for columnsPageRange, columnsPageSize in Table
* feat: remove warnings for afterClose in Tag
* feat: remove warnings for notFoundContent, searchPlaceholder, body, onSearchChange in Transfer
* fix: types in Transfer
* feat: update test cases in Transfer
* feat: add additional test cases for removed deprecated apis
2019-07-09 11:46:21 +08:00
zombieJ
4cdf37bedb
feat: New Form ( #17327 )
...
* init form
* first demo
* add normal login
* add style
* webit
* support nest errors
* beauti form errors
* use onReset
* modal demo
* add list demo
* match key of errors logic
* date demo
* customize component
* moving style
* add status style
* without form create
* add demos
* add inline style
* clean up legacy
* fix drawer demo
* mention
* fix edit-row
* editable table cell
* update mentions demo
* fix some test case
* fix upload test
* fix lint
* part of doc
* fix ts
* doc update
* rm react 15
* rm config
* enhance test coverage
* clean up
* fix FormItem context pass logic
* add more demo
* en to build
* update demo
* update demo & snapshot
* more doc
* update list doc
* update doc
* update demo to display condition render
* update snapshot
* add provider doc
* support configProvider
* more doc about validateMessages
* more description
* more and more doc
* fix typo
* en doc
* Form.List doc
* m v3 -> v4
* add skip
2019-07-03 20:14:39 +08:00
zombieJ
b77dbd331d
fix: Table crash when filter dynamic change ( #17141 )
...
* update test case
* fix: Table change filter should not crash
* rm focus test
2019-06-17 18:50:38 +08:00
afc163
b585751e49
✅ update snapshots
2019-06-12 11:44:44 +08:00
zombieJ
e67270cd59
fix: Table with sort should reset to first page ( #17020 )
...
* sort reset pagination
* add test case
2019-06-10 11:59:46 +08:00
afc163
e5e22e2f9a
✅ Fix test snapshots
2019-06-07 18:18:29 +08:00
afc163
1d1339e302
✅ update snapshots
2019-06-04 16:11:01 +08:00
afc163
c4128c0d14
🐛 Fix selectedRows missing when there is childrenColumnName in Table
...
close #16614
2019-05-16 14:50:24 +08:00
afc163
be75d125b6
✅ Fix snapshots
2019-05-14 16:26:21 +08:00
zombieJ
399778ce2b
update snapshot ( #16556 )
2019-05-13 15:58:22 +08:00
zombieJ
73188ac497
fix: Table rowSelection.columnWidth
should work ( #16180 )
...
* set row col width instead of check cecll width
* use rc-table internal hook
* update snapshot
2019-04-21 13:54:15 +08:00
zombieJ
21c0ba5bbd
udpate warning ( #16138 )
2019-04-17 17:31:39 +08:00
zombieJ
38f701cc90
fix: Empty in IE not fully render ( #16016 )
...
* fix viewBox
* update snapshot
2019-04-11 13:49:57 +08:00
zombieJ
41316e69e8
update snapshot ( #16017 )
2019-04-11 12:48:36 +08:00
偏右
d922c377cb
refactor: Optimize default selection column width implement ( #15990 )
...
* 🔨 Optimize default selection column width implement
make it be able to overrided in css
close #15968
* ✅ update snapshots
2019-04-11 00:54:46 +08:00
zombiej
961b081939
update snapshot
2019-04-06 13:07:32 +08:00
zombieJ
89dd827b7f
fix: Refactor Menu related components life cycle methods ( #15868 )
...
* use state instead
* rollback demo markdown
* clean test
* sider context should be clean
* update test case
* fix test
* update debug desc
* add siderCollapsed into omit
* rm useless code
2019-04-05 16:15:01 +08:00
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
2019-04-03 15:54:26 +08:00
zombiej
f206a923be
rm only in test
2019-04-03 13:45:32 +08:00
zombieJ
87a9c421a2
fix: Fix Table filter display issue when use non-string type ( #15817 )
...
* fix filter display logic
* update test case
2019-04-02 22:06:51 +08:00
zombiej
2c693ee95b
merge feature
2019-04-01 10:22:43 +08:00
afc163
95bd4d6903
🐛 Fix col element missing relative style
...
close #15626
2019-03-31 20:25:41 +08:00
zombieJ
aebb781000
Table style update. Move sort button after title ( #15758 )
...
* update style of sort icon
* update snapshot
* micro adjust
* little offset of arrow
2019-03-31 14:01:24 +08:00
afc163
47084696b9
✅ Fix snapshot
2019-03-28 12:25:44 +08:00
afc163
a462c2ddf4
✅ Fix react-dnd demo broken in react 15
2019-03-26 12:27:32 +08:00
偏右
9e0aa5cb94
🐛 Fix empty missing when Table is loading ( #15583 )
...
close #15582
2019-03-22 16:21:58 +08:00
zombieJ
0f356fb151
update snapshot ( #15247 )
...
* update snapshot
* downgrade to node 10
2019-03-07 14:41:17 +08:00
zombieJ
3fbeff3fcc
add warning when use getCheckboxProps ( #15231 )
2019-03-06 16:48:14 +08:00
zombieJ
4d1a998246
add component param in warning ( #15078 )
...
* add component param in warning
* update snapshot
2019-02-27 15:32:29 +08:00
zombieJ
a802a72d56
Fix Table filter can not support other type of value ( #15046 )
...
* use new life cycle
* filter support inner value maps
* update snapshot
* update test case
* simple code
2019-02-26 14:26:08 +08:00
zombieJ
c29323b448
Revert to remove FormItem explain-holder ( #14937 )
...
* Revert "Adjust style to be similar with origin (#14886 )"
This reverts commit 735175e3cf
.
* Revert "sync form item (#14778 )"
This reverts commit 5ac674e698
.
2019-02-19 23:24:07 +08:00
zombieJ
a3bd55b79a
revert #14608 ( #14898 )
...
* revert #14608
* add test case
2019-02-18 18:05:27 +08:00
zombieJ
735175e3cf
Adjust style to be similar with origin ( #14886 )
...
* adjust style to be similar with origin
* update snapshot
* add missing extra logic
* adjust tiny
* fix margin
* use element to keep the place
* update snapshot
2019-02-18 16:42:02 +08:00
Wei Zhu
32a61d8596
fix: handle true for Table[pagination] properly
...
`pagination` is not designed to accept `true` value,
but in practice, many people assign `true` to `pagination`,
since they thought `pagination` accepts boolean value.
2019-02-14 17:48:35 +08:00
zombieJ
5ac674e698
sync form item ( #14778 )
...
* sync form item
* update snapshot
* use before
2019-02-13 21:45:47 +08:00
zombieJ
67ad35bc26
fix additional className ( #14770 )
2019-02-11 01:00:33 +08:00
何乐
b3834e48b1
Table: fix showing only first page ( #14724 )
...
* Table: fix showing only first page
* correct condition of pagination in Table
* correct test file
* handle changes
* improve test case
2019-02-05 23:11:08 +08:00
afc163
c563bc1d10
🐛 Table should pick pageSize over defaultPageSize in priority
...
close #14320
2019-02-02 22:44:46 +08:00
afc163
305041a79d
💄 update table demo
2019-01-29 18:26:21 +08:00
sdli
18262297da
fix table.pagination bug - when pageSize is larger than data source length
2019-01-28 22:43:03 +08:00
诸岳
307c877a02
Merge master branch
2019-01-13 21:18:38 +08:00
zombiej
0a67272ae4
add locale update
2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca
icon add aria-label support
2019-01-10 21:55:21 +08:00
afc163
a9c8874854
🐛 Fix custom filterDropdown trigger sorter
...
close #14238
2019-01-10 21:54:36 +08:00
zombieJ
5cec6b56fb
Table sorter tooltip ( #14208 )
...
close #14168
2019-01-09 14:10:30 +08:00
zombiej
6777635120
add warning when user both use expandedRowRender
& scroll
on Table
2019-01-08 21:23:04 +08:00
zombiej
3d92443f85
update snapshot
2019-01-07 15:48:35 +08:00
zombiej
9b256b03d4
use inline svg of antd-tools
2019-01-07 14:43:51 +08:00
Junbin Huang
d78c0f2707
Chore/fix master conflict ( #14126 )
...
* adjust table fixed column z-index (#14036 )
fix #13930
* 📝 Add instruction for one column without width left in fixed table
* Add full PR template link in template (#14061 )
* add full tmpl link
* adjust
* simplify it
* add cn link
* Fix Affix flickering when scrolling
* update
* fix: top border disappeared under some ie9
* fix calendar month range display (#14049 )
* Fix tslint warning
* Correct typescript usage (#14074 )
* 🐛 Fix steps style under IE9
close #14001
* 🐛 tweak style for not affecting vertical steps
* 📝 enhance upload documentation
* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010
* 🐛 Fix disabled button style in DatePicker panel
https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
* 📝 site: fix BackTop been covered by footer
close #14093
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
* 🐛 Fix nested Timeline last item missing line (#14110 )
close #14108
* init Spin should also support delay trigger (#14105 )
fix #14100
* Update table docs
* bugfix
* Format
* update snapshot
* test: fix spin test
2019-01-06 13:25:59 +08:00
zombieJ
2164c58198
New Component: Empty ( #13651 )
2018-12-26 16:01:00 +08:00
afc163
9c8f6bdb56
Merge branch 'master' into feature
2018-12-22 19:37:03 +08:00
afc163
88615024b1
✅ Fix test snapshots
2018-12-22 19:36:46 +08:00
Harlan
6b6ec278cc
Table: add prop sortDirections
for table and column ( #13773 )
...
* Table: add prop `sortMethods`
with `sortMethods` user can change table sort methods and its order
* Table: `sortMethods` can be set on column prop
* rename `sortMethods` to `sortDirections`
2018-12-22 18:16:02 +08:00
zy410419243
2bfc23b6f1
fix: render correctly when set childrenColumnName
2018-12-20 17:05:27 +08:00
afc163
7abf528b96
💄 Optimize custom filter demo of Table
2018-12-18 18:19:27 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zombiej
821ced5e30
fix filtered record miss selectedRows
...
fix #11384
2018-12-06 11:06:10 +08:00
zy410419243
cac8e97854
try: to find whether there is something wrong with test case
2018-12-05 19:45:38 +08:00
zy410419243
ddec8a4db6
test: update snapshots
2018-12-05 19:45:38 +08:00
zy410419243
e0b3b28e9f
pref: add test case
2018-12-05 19:45:38 +08:00
zy410419243
0f9788911e
revert: head.MD
2018-12-05 19:45:38 +08:00
zy410419243
24e6556f08
pref: fix ci problem
2018-12-05 19:45:38 +08:00
zy410419243
4354e0aec4
fix : #13312
2018-12-05 19:45:38 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
Laith
2bf0fadb11
Starting sort order with 'ascend', then 'descend', then undefined. ( #13069 )
2018-11-21 00:27:11 +08:00
wa1k3r
eac1c2482f
update checkbox wrapper-state-class snap
2018-11-20 22:06:00 +08:00
zombiej
8fbfa1f876
should check more strict to avoid shallow compare miss match
...
fix #13028
2018-11-15 23:34:13 +08:00
afc163
a7f17b4cde
Fix sort order broken issue when columns were put in render
...
will handle these situation
- with 'key'
- with function has same stringify value
close #12870
close #12737
2018-11-01 13:44:48 +08:00
afc163
68c177cdc1
update snapshot
2018-10-10 15:12:06 +08:00
afc163
688f4ec8d6
Fix sort state not change when columns in render
...
close #12571
2018-10-10 11:23:44 +08:00
Wei Zhu
a3ce6678cb
Update snapshot
2018-10-01 23:57:45 +08:00
zombieJ
2cd0ca3225
Get the filtered data after executing the filter function on the dataSource ( #12369 )
...
* update testcase
* rename as currentDataSource
2018-09-30 11:17:39 +08:00
Wei Zhu
fcb546ea57
Update snapshot
2018-09-29 16:41:56 +08:00
ycjcl868
4d1e46e03d
Merge master into feature
2018-09-23 01:43:35 +08:00
zombiej
2906b456ce
update test case
2018-09-22 14:53:45 +08:00
afc163
8d3cb85142
fix sort state when toggle between multiple columns
2018-09-21 19:06:38 +08:00
Wei Zhu
d5a77eff0b
Update snapshot
2018-09-21 17:32:35 +08:00
偏右
85749c94fb
test: remove it.only
2018-09-21 15:55:00 +08:00
afc163
f0974e0da7
support column.title as render props
...
```jsx
columns={[{
title: (filters, sortOrder) => <div>Title</div>,
}]}
```
close #11246
2018-09-21 13:41:08 +08:00
afc163
71316d6baa
update table snapshot
2018-09-21 13:41:08 +08:00
afc163
8feb15ea72
fix test case
2018-09-21 13:41:08 +08:00
zombiej
2b22d6b19c
bump rc-switch & update test case
2018-09-13 19:47:28 +08:00
HeskeyBaozi
976f6969f4
update test snapshot
2018-09-07 14:14:23 +08:00
zombiej
0ea5d6af70
adjust time picker default width since font number to be laregr
2018-09-06 19:16:37 +08:00
HeskeyBaozi
24568f61ff
use the whole svg icons
2018-09-02 23:39:58 +08:00
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911
upgdate test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
359191abeb
update test snapshot
2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d
update test snapshot
2018-09-02 20:59:37 +08:00