Commit Graph

1737 Commits

Author SHA1 Message Date
二货机器人
701f35d0eb
chore: Adjust table col className priority (#23914)
* adjust col class

* update snapshot
2020-05-06 22:15:29 +08:00
偏右
4cb70b6f16
Merge pull request #23893 from ant-design/master
chore: merge master into feature
2020-05-06 10:58:50 +08:00
二货机器人
0d46d07ad1
test: Add test coverage (#23884) 2020-05-05 21:08:56 +08:00
二货机器人
3a28f31fca
feat: Cell support shouldCellUpdate (#23872) 2020-05-05 15:03:22 +08:00
二货机器人
72bb377628
fix: Textarea height (#23835)
* fix: Textarea height

* update snapshot
2020-05-03 20:32:34 +08:00
afc163
39456263b5 🎬 improve table demo 2020-05-03 19:46:52 +08:00
二货机器人
74645b7baf
docs: Add table render cache faq (#23833) 2020-05-03 16:10:37 +08:00
二货机器人
5f2874b292
fix: Table selection col width not correct (#23806)
* update snapshot

* Update package.json

* update snapshot
2020-05-01 16:02:32 +08:00
二货机器人
9cd8f79366
fix snapshot (#23760) 2020-04-29 21:41:58 +08:00
二货机器人
e1299bfcc9
Merge pull request #23758 from ant-design/feature
chore: Merge feature into master
2020-04-29 20:42:52 +08:00
xrkffgg
f606ca23f4
site: optimize site of components 2 (#23731)
* docs: optimize site of component 2

* add demo

* fix snap

* remove class
2020-04-29 16:21:56 +08:00
xrkffgg
6391df163b
fix: table pagination position in rtl (#23747) 2020-04-29 12:12:54 +08:00
zombiej
2c531a827d merge master 2020-04-29 11:29:26 +08:00
二货机器人
53a76f0bf7
fix: Table should not crash pageSize is undefined (#23724)
* fix: Table crash when pageSize is undefined

* test case

* fix test case
2020-04-28 20:29:34 +08:00
偏右
c3c2c157d0
fix: correct Button type="danger" TypeScript definition (#23709)
* fix: remove Button type danger in TypeScript

close #23708

* docs: fix Table dataSource type in document

close #23697

* add warning about type="danger"

* reverse button type warning logic
2020-04-28 16:14:38 +08:00
xrkffgg
f6d12c5d88
style: optimize table rtl style (#23706) 2020-04-28 14:48:42 +08:00
xrkffgg
156ff7652c
fix: table filter dropdown in rtl (#23695) 2020-04-28 12:16:37 +08:00
zefeng
14417f1614
feat(theme): adjust font-size in compact mode (#23135)
* feat(theme): adjust font-size in compact mode

With compact theme mode, we adjust default font-size from 14px to 12px.

Closes #23015

* patch: update docs min font-size

* patch

* patch

* patch

* patch

* patch

* patch
2020-04-28 11:16:01 +08:00
xrkffgg
5183592ece
style: fix table row select style in rtl (#23690) 2020-04-28 09:55:16 +08:00
Tom Xu
a9d44593b3
fix: Table pagination position ts typo (#23681)
* fix: Table pagination postion ts typo

* fix
2020-04-27 23:45:14 +08:00
Tom Xu
5f1d5a17de
fix: Table demo dynamic settings pagination (#23679)
* fix: Table demo dynamic settings pagination

* fix test
2020-04-27 21:48:13 +08:00
二货机器人
2da7e29198
feat: Table summary support fixed columns (#23647)
* feat: Summary support fixed column

* update snapshot

* update demo
2020-04-27 15:08:54 +08:00
诸岳
eda0064e83 fix(ci): lint error 2020-04-26 16:25:42 +08:00
诸岳
f955620601 chore: Merge master branch and fix conflicts 2020-04-26 13:34:11 +08:00
afc163
c9c44c173f fix demo snapshot 2020-04-26 11:00:13 +08:00
Tom Xu
60f3e775d0
style: fix table size nest table margin (#23602) 2020-04-26 10:42:05 +08:00
诸岳
454a02b4d9 chore(test): Update snapshots 2020-04-25 22:54:11 +08:00
偏右
d860358f94
chore: 🎬 optimize Table demo code (#23560)
* 🎬 optimize Table demo code

*  fix demo snapshot

* 🐛 Fix Table warning when pageSize is changed

close #23554

* remove console.log

* optimize demo code
2020-04-24 17:16:44 +08:00
Vitaly Budovski
f09686d3df
feat: Responsive table columns (#23298) 2020-04-24 12:17:42 +08:00
xiaoxintang
937beba421
fix: Table selections type when use Table.SELECTION_ALL or Table.SELECTION_INVERT (#23462)
* fix:selections type when use SELECTION_ALL | SELECTION_INVERT

* fix: Table selections type when use Table.SELECTION_ALL or Table.SELECTION_INVERT

* fix: Table selections type when use Table.SELECTION_ALL or Table.SELECTION_INVERT

* Update useSelection.tsx

* Update type.test.tsx

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-04-22 21:59:18 +08:00
偏右
02faa4bcf1
💄 tweak Table selected row hover background (#23313) 2020-04-21 16:53:06 +08:00
kenve
edcd1b2609
docs(components): improve link (#23355) 2020-04-17 17:56:42 +08:00
二货机器人
c2a1fe5b1f
docs: Update Table edit row example (#23270) 2020-04-15 10:39:16 +08:00
二货机器人
8c11676afa
fix: Table selection childrenColumnName not work (#23205)
* fix childrenPropName

* test case

* update test case
2020-04-13 22:56:26 +08:00
Eric Wang
436d4b1be5
improvement: Fix types in form item (#22962)
* Fix types in form item

* use jsx.element
2020-04-13 21:30:55 +08:00
HouXiancheng
8c3081788c
fix: table fixed bug (#23181) 2020-04-13 19:32:50 +08:00
二货机器人
12ce6aba06
fix: Safari12 fixed column (#23161)
* fix: Safari12 fixed column

* fix lint
2020-04-12 17:55:30 +08:00
afc163
89ce33f5d8 update snapshot 2020-04-12 12:55:42 +08:00
Chris Young
ca616647ce
modify table size.less to accomodate size prop for footer padding (#23140) 2020-04-11 16:11:28 +08:00
二货机器人
d968fce4dc
chore: Add warning for async (#23118) 2020-04-10 14:13:14 +08:00
二货机器人
a106319934
fix: Table selection style (#23110) 2020-04-10 12:08:10 +08:00
xrkffgg
e652eef04c
style: add rtl base (#22857)
* style: add rtl base

* fix: add test snap
2020-04-09 12:39:10 +08:00
二货机器人
3c7626ede2
docs: update pagination related doc (#23046)
* update pagination related doc

* Update components/pagination/index.en-US.md

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-09 10:52:02 +08:00
二货机器人
f9713bf988
chore: Remove uesless event handler (#23036) 2020-04-08 16:52:37 +08:00
zombiej
1ca45ac8fe chore: Update snapshot 2020-04-08 16:11:01 +08:00
Yu
e852433ef3
fix: FilterDropdownProps TypeScript definition update (#22895) 2020-04-03 20:15:27 +08:00
二货机器人
75524df190
fix jsx filter not work (#22888) 2020-04-03 16:32:50 +08:00
二货机器人
1e5c527146
fix: Table header columns size with filter or sorter (#22872)
* fix size columns

* update snapshot

* more test code

* patch

* force ci

* fix hover small style

* adjust less
2020-04-03 13:42:57 +08:00
二货机器人
14cd2dc434
adjust nest table logic (#22868) 2020-04-02 22:22:34 +08:00
二货机器人
b28b2007be
fix: Center not work in Table (#22858)
* fix: Center not work in Table

* update snapshot

* fix test case
2020-04-02 18:53:49 +08:00
二货机器人
9aa61b78e1
support undefined remove filter icon (#22833) 2020-04-01 22:19:32 +08:00
二货机器人
f2a3ef5926
fix: Table expanded logic (#22832)
* update rc-table deps

* fix style mapping

* snapshot
2020-04-01 20:57:35 +08:00
afc163
c38324e863 docs: 📖 Add FAQ about table filter logic 2020-04-01 19:15:30 +08:00
afc163
ddb0ac46ba fix: 🐛 Table unchanged filter should not trigger onChange
ref https://github.com/ant-design/ant-design/issues/22819#issuecomment-607171024
2020-04-01 19:15:30 +08:00
Michael Shing
06f29d0caa
fix: support table getPopupContainer on row selections (#22787)
* fix: support table getPopupContainer on row selections

* move top to before right

* Add cursor to dropdown arrow

* Feedback suggestion

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: Michael Shing <mshing@datto.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-01 17:14:53 +08:00
二货机器人
63e0ce6597
fix: Safari shadow bug (#22794) 2020-03-31 22:04:03 +08:00
偏右
faa71fd7bd
fix: Table loading compatibility (#22739)
* 🐛 Fix Table loading not working when no spinning field

close #22733

*  improve table test case
2020-03-30 15:45:14 +08:00
偏右
db3a81ab19
feat: 🔢 improve default pagination switch experience (#22711)
* 🆙 rc-pagination to 2.1.0

*  update snapshot and fix ci

* 🆙 rc-pagination to 2.2.0

*  update snapshot

Co-authored-by: zombiej <smith3816@gmail.com>
2020-03-29 20:15:05 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
zombiej
913204282b merge master 2020-03-28 16:31:17 +08:00
zombiej
9e38928379 chore: Update snapshot 2020-03-27 22:43:39 +08:00
二货机器人
c9ab023d39
fix: Safari render bug (#22680) 2020-03-27 22:36:27 +08:00
Tom Xu
fa030a6511
feat: Table pagination position add more option (#22647)
* feat: Table pagination position add more option

* table upate snap

* Table pagination demo remove not use code

* update snap
2020-03-27 15:48:42 +08:00
zombiej
7878fb6edc fix test case 2020-03-27 13:25:18 +08:00
zombiej
73562d878c merge master 2020-03-27 13:12:37 +08:00
二货机器人
0fa8e4cfab
fix: Table nest style (#22643) 2020-03-26 23:39:16 +08:00
zombiej
9316f180ca chore: Update snapshot 2020-03-26 23:18:17 +08:00
Tom Xu
f5c0eacf6f
fix: Table rowSelection event bubbling (#22566)
* fix: Table rowSelection event bubbling

* test: Table should onRowClick not called when checkbox clicked
2020-03-25 10:51:49 +08:00
Tom Xu
c7add36de6
fix: 4.0 Table with emptyText is not centered (#22548)
* fix #22176

* update table test
2020-03-24 19:51:34 +08:00
afc163
e0c1863108 fix snapshot 2020-03-24 12:24:23 +08:00
afc163
e12e2971d8 merge feature into master-to-merge-feature 2020-03-23 15:02:22 +08:00
二货机器人
3459bfc0be
docs: 4.0.4 changelog (#22505)
* docs: Init changelog

* order

* grouping

* clean up
2020-03-23 10:57:37 +08:00
二货机器人
9dbd41a853
fix: Table column group with controlled sorter (#22450)
* update interface

* support group sorterOrder controlled

* add test case

* fix test case
2020-03-20 23:33:14 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
Akshat Mittal
fff1f5b7ae
Fix Ant Table Border Radius (#22413) 2020-03-20 10:57:23 +08:00
Rainy
53e9ca20b6
fix: Omit 'checked' for getCheckboxProps return type (#22391)
* Omit 'checked' for getCheckboxProps return type

* Update interface.tsx

* Update interface.tsx
2020-03-19 23:58:25 +08:00
xrkffgg
10d97bf346
style: add rtl.less of Table (#22402) 2020-03-19 17:21:41 +08:00
偏右
b80788556d
Merge pull request #22381 from ant-design/master
chore: 🔀 merge master into feature
2020-03-19 12:10:07 +08:00
xrkffgg
e0942ace80
fix: Table less lint (#22374) 2020-03-19 10:06:56 +08:00
二货机器人
2215c7e17a
fix: Table row height (#22367)
* fix style

* rtl support
2020-03-18 22:13:12 +08:00
BugHiding
38c72f279e
fix: Table row expand icon show error in ipad (#22334)
* update table-row-expand-icon style

* change code position
2020-03-18 13:09:03 +08:00
Xudong Huang
8fb9db174d
fix: Table column filter value type could be any (#22277)
* fix: Table column filter value type could be any

* Update components/table/interface.tsx

Co-Authored-By: 偏右 <afc163@gmail.com>

* fix: Solve modification type failed CI check

Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-18 11:20:21 +08:00
二货机器人
f4d3dc4306
fix: Table onFilter only should work (#22317)
* adjust table logic

* test case
2020-03-17 21:50:01 +08:00
afc163
46a8cf7dc7 merge feature into master-to-merge-feature 2020-03-16 15:52:39 +08:00
偏右
9a5cea7302
fix: Table filter sub menu max height with many items (#22230)
close #22228
2020-03-15 20:50:02 +08:00
偏右
313f71a3c1
Update index.en-US.md (#22188) 2020-03-13 14:36:21 +08:00
Rainy
e60f18ce0b
Update index.zh-CN.md (#22187) 2020-03-13 14:36:14 +08:00
Rainy
caf6143c1a
Update index.en-US.md 2020-03-13 14:16:06 +08:00
偏右
71c8fac72f
Merge branch 'feature' into master-to-merge-feature 2020-03-13 11:52:28 +08:00
afc163
e2029e398e update snapshots 2020-03-13 11:48:56 +08:00
二货机器人
6a563ff49c
docs: Update Table resize demo (#22165)
* update demo

* update snapshot
2020-03-12 21:30:08 +08:00
二货机器人
f44f6f38cf
fix: Table dropdown prefix cls (#22133)
* fix: Table dropdownPrefixCls

* update snapshot

* update snapshot
2020-03-11 23:58:32 +08:00
二货机器人
7ec2b771d4
fix: Table expandable with fixed column style (#22131) 2020-03-11 22:08:07 +08:00
afc163
d03ac85f36 🔀 merge master into feature 2020-03-11 15:41:51 +08:00
Amumu
5d9d1ef31b
remove non-null assertion (#22096) 2020-03-11 11:22:46 +08:00
二货机器人
33e726f874
fix: Should also fix expand col when selection fixed (#22087) 2020-03-10 23:12:37 +08:00
afc163
c5c1b6d9f9 fix missing style dep and uncomment test case 2020-03-10 22:16:18 +08:00
骗你是小猫咪
924f1cfd3a
fix: Table filter menu reset not working (#22079)
* fix: Table filter menu reset not working

* use setFilteredKeysSync
2020-03-10 21:24:41 +08:00
afc163
ebd31cdfc8 test: fix test cases 2020-03-10 20:43:19 +08:00
Saeed Rahimi
5787f3e8b2
fix: FixedColumns issue in rtl (#21914)
* fix: FixedColumns issue in rtl

* update rc-table version
2020-03-10 20:30:31 +08:00
afc163
a68db2da20 💄 update Table filter menu UI 2020-03-10 18:07:11 +08:00
afc163
77d3a993fa 🔨 Merge master into feature 2020-03-09 17:18:32 +08:00
二货机器人
bbe9e346e4
fix: Table className & style in wrong place (#21974)
* fix: Table className style work position

* update snapshot
2020-03-07 23:17:28 +08:00
zombiej
bde335c761 merge master 2020-03-06 18:12:39 +08:00
二货机器人
6e1661db27
docs: 🎬 Update demo ts define (#21931) 2020-03-06 12:50:45 +08:00
二货机器人
e8876d5817
fix: MenuItem with icon only will still have additional margin (#21925)
* fix: MenuItem with icon only will still have additional margin

* update snapshot

* fix snapshot
2020-03-06 11:53:09 +08:00
二货机器人
36c05ddd8a
fix: Table expandIconColumnIndex with rowSelect (#21915)
* fix: Table expandedIcon order

* update test case

* update test case
2020-03-06 00:58:26 +08:00
偏右
164a4ac3b4
🐛 Fix Table overflow layout (#21905)
unscrollable table should not have overflow style

close #21879 by revert #20705
2020-03-05 19:07:55 +08:00
偏右
e01abd2309
Merge pull request #21849 from ant-design/master
chore: Merge master to feature
2020-03-04 13:52:34 +08:00
zombiej
e7c2ee5be6 docs: Add Table missing expandIconColumnIndex in doc
close #21803
2020-03-03 22:52:58 +08:00
zefeng
453c681881
docs: rewrite drag-drop demo by react-dnd hooks (#21836) 2020-03-03 22:19:19 +08:00
二货机器人
8fe701b892
fix: Fix table column filtered not work (#21825)
* fix: Table miss filtered

* add test case
2020-03-03 18:18:19 +08:00
偏右
5d63040837
Merge pull request #21818 from ant-design/master
chore: merge master into feature
2020-03-03 16:44:21 +08:00
二货机器人
60f77cef23
fix: table locale not work (#21772)
* fix: Table locale not work

* add test case
2020-03-02 17:15:39 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking (#21752)
* alert

* more icons

* another grouping

* all done
2020-03-02 12:09:38 +08:00
二货机器人
e868c87530
fix: Table.Column sortOrder is not working in JSX mode (#21719)
* fix: Table.Column sortOrder is not working in JSX mode

* clean up

* update snapshot
2020-03-01 13:11:28 +08:00
二货机器人
6ba42db314
feat: Selection column also support render node (#21711)
* support customize selection cell

* update snapshot

* update docs

* fix lint

* to debug
2020-02-29 23:11:02 +08:00
zefeng
e262d14c2b
feat: more obviously tips for next sort (#21631) 2020-02-29 22:01:13 +08:00
zefeng
30574b9632
chore: improve table docs (#21667) 2020-02-28 12:11:16 +08:00
zefeng
8a50a2cb77
chore: use react internel optimize code style (#21659) 2020-02-28 11:11:00 +08:00
偏右
b86e9fea14
docs: 🎬 fix expandIcon demo link (#21661)
* 🎬 fix expandIcon demo link

close #21657

* Update index.en-US.md
2020-02-28 11:09:17 +08:00
偏右
8e367cc6d5
chore: 🆙 upgrade rc-pagination to 2.0 (#21650)
* 🆙 upgrade rc-pagination to 2.0.0

*  update pagination snapshots

* 🆙 upgrade rc-pagination to 2.0.1
2020-02-27 21:58:11 +08:00
偏右
0154154c9b
🐛 Table filter menu should have max-height (#21602)
close #19542
2020-02-26 14:53:02 +08:00
信鑫-King
c17b40ae70
fix: dark background in different container (#21299)
* fix: comment and input

* fix: add @pagination-item-input-bg

* feat: add @list-customize-card-bg for dark hook component

* feat: add dark hook

* fix: checkbox color

* fix: popover-customize-border-color

* fix: table

* fix: style lint

* fix: debug

* fix: color

* fix: update colors

* fix: demo

* feat: popover container bg use mixins utils

* fix: less dark

* fix: table bg in dark

* fix: fixed table

* fix: lint

* fix: lint

* feat: add @table-expand-icon-bg

* fix: notification bg

* fix: remove dark.md

* fix: dropdown

* fix: table

* fix: data lint

* fix: style

* fix: dark less style

* fix: @steps-background

* fix: add thead dark style

* fix: unused styles
2020-02-24 22:44:29 +08:00
shmilyKang
6b9e7fc9dd
完善Table Api的Scroll的说明 (#21540)
提示scroll也可以修改滚动区域的宽高。
2020-02-23 13:36:02 +08:00
二货机器人
4358f48abd
fix table selection with empty children error (#21528) 2020-02-22 22:19:33 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size (#21476)
* fix: Form item has default height align with form size

* fix lint

* update snapshot
2020-02-19 22:04:25 +08:00
taichiyi
cd19fa595a
docs: fix table rowSelection (#21368) 2020-02-13 18:32:35 +08:00
偏右
291ba0c4be
🆙 pass disabled to custom prev and next buttons (#21361)
close #21351
2020-02-13 13:31:37 +08:00
Artin
297c3961ea fix: table export ColumnProps (#21321) 2020-02-10 17:43:45 +08:00
佛门耶稣
06de637163 no overwrite expandIconColumnIndex if set (#21315) 2020-02-10 15:04:22 +08:00
二货机器人
3080611883
feat: Notification support hooks for context (#21275)
* use promise for getInstance

* passing hooks

* hooks support

* move hooks out of fiel

* adjust style

* update snapshot

* fix test & add test case

* update hooks test

* fix style lint

* update doc

* update demo desc & eslitn rules

* fix lint

* docs add faq

* fix less
2020-02-07 17:55:26 +08:00
afc163
e03209c7d4 update snapshot
close #20779
2020-02-04 17:42:18 +08:00
二货机器人
6d685c7e8a
fix: Table customize filter update (#21218)
* fix: useSyncState logic

* add test case
2020-02-04 17:30:41 +08:00
二货机器人
b4519407b8
fix: Table.Column should correct handle sorter state (#21194) 2020-02-03 16:48:13 +08:00
二货机器人
d96ab1c985
fix: Table expandIcon should work (#21169)
* test driven

* fix logic
2020-02-01 22:50:58 +08:00
二货机器人
58133bcabd
update demo (#21069) 2020-01-22 12:11:49 +08:00
骗你是小猫咪
6378d16e19 chore: upgrade rc-table (#21053) 2020-01-21 20:43:52 +08:00
二货机器人
9aee6d62d8
fix: Table locale emptyText should work (#21024) 2020-01-20 15:12:49 +08:00
zombiej
2584635d73 chore: Update snapshot & clean typo of Table scroll desc 2020-01-19 16:57:04 +08:00
xrkffgg
4388a96c32 docs: Format string notation of all components (#20970) 2020-01-17 17:23:47 +08:00
二货机器人
ddfce71532
fix: Table selectAll should not checked when all the checkbox is disabled (#20968) 2020-01-17 14:02:07 +08:00
zombiej
ff079e7d2a chore: Update Table related snapshot 2020-01-16 15:43:45 +08:00
二货机器人
d231d24300
update docs & table version (#20892) 2020-01-14 16:23:47 +08:00
二货机器人
f470f3e1e4
fix: Table onChange return cached data (#20858) 2020-01-13 15:04:27 +08:00
二货机器人
00aab562a0
fix: Table expand icon not clickable when expandRowByClick is set (#20808) 2020-01-09 22:44:31 +08:00
二货机器人
078498058a
fix: Update table deps & fix bordered placeholder missing border right (#20805) 2020-01-09 21:46:55 +08:00
二货机器人
1bea19b1dc
fix: Move table-bg less variable into table background instead of td (#20794) 2020-01-09 14:22:34 +08:00
二货机器人
12c8750488
chore: Add missing Table export interface (#20789)
* chore: Add missing Table export interface

* fix lint
2020-01-09 13:47:30 +08:00
偏右
117495e28f
🐛 Fix .iconfont-size-under-12px not working (#20765)
Fix InputNumber and Other components icon size

close #20752
2020-01-08 16:31:25 +08:00