二货机器人
0f83e0a4ee
fix: should work in old version react ( #19262 )
...
* fix: should work in old version react
* update ci config
* add version log
2019-10-17 16:01:46 +08:00
二货机器人
7d32f99283
fix: Add missing typescript define ( #19251 )
...
* fix: Add missing typescript define
* remove withStore
* fix lint
2019-10-16 22:12:52 +08:00
zombiej
c75bbbd13d
merge master
2019-10-16 10:44:56 +08:00
yoyo837
59685afeeb
Provide additional args for onChange sorter when unsorting
2019-10-15 16:04:38 +08:00
zombiej
e129e8dc7e
merge master
2019-10-08 15:04:00 +08:00
afc163
47dee4c7d7
✅ fix eslint problems
2019-10-05 18:02:16 +08:00
afc163
d41b5be377
✅ increase Table test coverage
2019-09-28 19:11:10 +08:00
afc163
66ca4a8b25
✅ more test cases
2019-09-28 19:11:10 +08:00
afc163
650d44e8a7
🐛 fix React.createElement undefined
2019-09-28 19:11:10 +08:00
afc163
bbc8800cb8
⚡ optimize Table components compare logic
2019-09-28 19:11:10 +08:00
afc163
3acbc941a6
🔨 react-lifecycles-compat for Table
2019-09-28 19:11:10 +08:00
afc163
3f7b7dedd6
💄 improve code style
2019-09-28 19:11:10 +08:00
kristof0425
18017d6ea5
fix(Table): correct lint errors
2019-09-28 19:11:10 +08:00
kristof0425
3274c55bdf
refactor(Table): make row work like a class property
2019-09-28 19:11:10 +08:00
kristof0425
2875933c99
fix(Table): prevent reusing row from previous render
2019-09-28 19:11:10 +08:00
kristof0425
2228e91b01
refactor(Table): move filter updating to getDerivedStateFromProps
2019-09-28 19:11:10 +08:00
kristof0425
4cc5fcdb24
refactor(Table): move columns to state to set in getDerivedState
2019-09-28 19:11:10 +08:00
kristof0425
948d0bd7bb
fix(Table): move rowSelection logic to getDerivedStateFromProps
2019-09-28 19:11:10 +08:00
kristof0425
8a60e19b8e
fix(Table): rm commented line
2019-09-28 19:11:10 +08:00
kristof0425
8bae8bf27d
refactor(Table): move createComponents outside of class, eliminate cWRP
2019-09-28 19:11:10 +08:00
kristof0425
1d5bd4a7aa
fix(Table, SelectionCheckboxAll): add eslint comment
2019-09-28 19:11:10 +08:00
kristof0425
0be5e334e4
refactor(Table): rename cWRP to UNSAFE_cWRP
2019-09-28 19:11:10 +08:00
swillis12
2c864b9bc6
Add sortColumn to title render ( #19012 )
...
Update docs
Update TS interface
Add null
Fix lint error
2019-09-26 14:02:08 +08:00
MrHeer
4a5b0e1669
✨ Flipping table to automatically scroll to the top
...
👌 apply it in handleFilter and toggleSortOrder
👌 ref instead of findDOMNode
✅ update test for scroll to first row
close #18623
2019-09-26 12:14:28 +08:00
诸岳
f8af6972ba
Merge branch 'master' of github.com:ant-design/ant-design into feature
2019-09-07 00:23:09 +08:00
afc163
49a37d10c7
🔨 remove useless default value of tableLayout
2019-09-05 13:39:06 +08:00
afc163
7c180a7f31
🆙 upgrade rc-table
2019-09-05 13:39:06 +08:00
afc163
577bc87bba
Add Table tableLayout
prop
2019-09-05 13:39:06 +08:00
zombiej
43b3da9eae
Merge remote-tracking branch 'origin/master' into 4.0-prepare
2019-09-04 16:20:28 +08:00
yoyo837
1e830d782c
slice
2019-09-04 15:54:09 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
paranoidjk
f3244d6ae0
fix(Table): apply props.style to container div ( #18494 )
...
* fix(Table): apply props.style to container div
* fix: ci
2019-08-27 16:44:53 +08:00
He Linming
af39b46595
fix: Prop style is getting duplicated on Table ( #18315 ) ( #18330 )
2019-08-19 11:14:48 +08:00
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
...
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
2019-08-13 14:07:17 +08:00
zombiej
b30dc1c3bc
merge master
2019-08-06 17:46:53 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
zombieJ
81d8eb8afe
feat: ConfigProvider support locale ( #17816 )
...
* ConfigProvider support locale
* update docs
* update category
* clean up
* moving locale
* update check script
* update related code
* add test case
* demo link
* update doc
* hide one rule of md with eslint
* update error link
2019-07-24 10:34:55 +08:00
afc163
2a5a8415be
🐛 ConfigProvider getPopupContainer for Table
2019-07-23 11:48:34 +08:00
afc163
173859e49c
✨ Add Table getPopupContainer
...
close #17548
close #16876
close #14864
close #14426
2019-07-22 21:30:45 +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
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
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
偏右
9fdc408cd0
Merge branch 'master' into bugfix
2019-06-04 18:59:20 +08:00
afc163
c4128c0d14
🐛 Fix selectedRows missing when there is childrenColumnName in Table
...
close #16614
2019-05-16 14:50:24 +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
偏右
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
bdc3ad431d
fix align right not work
2019-04-06 12:56:07 +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
偏右
9e0aa5cb94
🐛 Fix empty missing when Table is loading ( #15583 )
...
close #15582
2019-03-22 16:21:58 +08:00
zombieJ
3fbeff3fcc
add warning when use getCheckboxProps ( #15231 )
2019-03-06 16:48:14 +08:00
chenlong
fc88005c9c
Add fault-tolerant processing for rowSelection.getCheckboxProps
2019-03-06 13:58:04 +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
a3bd55b79a
revert #14608 ( #14898 )
...
* revert #14608
* add test case
2019-02-18 18:05:27 +08:00
zombieJ
d2c17cd747
only set getPopupContainer when scroll provides ( #14864 )
...
* only set getPopupContainer when scroll provides
* adjust
2019-02-16 11:49:15 +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
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
sdli
18262297da
fix table.pagination bug - when pageSize is larger than data source length
2019-01-28 22:43:03 +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
ycjcl868
3b55f63ef5
🐛 strictNullCheck with defaultProps
2019-01-08 20:20:16 +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
zombiej
b5fc19632b
merge master
2018-12-26 14:23:40 +08:00
afc163
30fe9918d8
Merge branch 'master' into feature
...
* master:
📝 Add bodyStyle and style of Drawer in documentation, #13850
🐛 Fix Drawer style not working
🐛 fix markStyle affset style
Update Santa.jsx
update changelog
bump 3.11.6
revert Christmas egg
[type] make type of components compatible with ComponentType<P>
bump 3.11.5
✨ site: make document side bar sticky
2018-12-25 16:28:50 +08:00
Wei Zhu
96e1d770ec
Revert "fix"
...
This reverts commit 839d0dcb09
.
2018-12-25 16:27:46 +08:00
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
2018-12-25 01:10:00 +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
afc163
879784c665
Merge branch "master" into "feature"
2018-12-20 17:43:00 +08:00
yibu.wang
839d0dcb09
fix
2018-12-20 17:18:12 +08:00
Sam Lanning
e56e1a71c3
[chore] fix useless assignments to local variables
...
This commit addresses all the instances of useless assignments to
local variables, as found by LGTM.com
2018-12-20 17:16:00 +08:00
zy410419243
2bfc23b6f1
fix: render correctly when set childrenColumnName
2018-12-20 17:05:27 +08:00
zombiej
cdf4c1e6b8
merge origin/master
2018-12-18 19:18:08 +08:00
zombieJ
68ad468938
move sorter logic from div to th cell ( #13669 )
...
fix #13467
2018-12-17 22:42:16 +08:00
afc163
50617e7ebe
Merge branch 'master' into feature
2018-12-13 22:53:15 +08:00
afc163
860809f173
✅ fix invalid title in div
2018-12-13 22:51:53 +08:00
陈帅
daca08b6f1
merge master
2018-12-13 22:03:12 +08:00
陈广亮
1e0400704b
fix getColumnTitle bug
...
title: <div>
<span>title</span>
null
</div>
2018-12-10 16:19:22 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
df356a586c
Merge branch 'master' into feature
2018-12-07 18:52:13 +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
4b6d2ede2f
pref: fix codecov problem
2018-12-05 19:45:38 +08:00
zy410419243
ddec8a4db6
test: update snapshots
2018-12-05 19:45:38 +08:00
zy410419243
32d1f2852a
fix: add title type
2018-12-05 19:45:38 +08:00
zy410419243
20de214c49
pref: fix ci problem
2018-12-05 19:45:38 +08:00
zy410419243
374c831822
pref: fix lint problem
2018-12-05 19:45:38 +08:00
zy410419243
4354e0aec4
fix : #13312
2018-12-05 19:45:38 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
Laith
2bf0fadb11
Starting sort order with 'ascend', then 'descend', then undefined. ( #13069 )
2018-11-21 00:27:11 +08:00
zombiej
8fbfa1f876
should check more strict to avoid shallow compare miss match
...
fix #13028
2018-11-15 23:34:13 +08:00
ztplz
6ad23c370e
Fix CI
2018-11-10 22:09:29 +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
f1d1d87de0
Fix unexpected column title in unsorted columns
2018-10-10 14:50:59 +08:00
afc163
688f4ec8d6
Fix sort state not change when columns in render
...
close #12571
2018-10-10 11:23:44 +08:00
afc163
419287de2b
Fix sort event on every columns when sorter is true
...
close #12515
2018-10-06 18:21:30 +08:00
Wei Zhu
ff0595733f
refactor: use instanceof instead typeof
2018-09-30 17:04:05 +08:00
Wei Zhu
2bf2bb5af4
fix: type error
2018-09-30 16:58:25 +08:00