Commit Graph

1818 Commits

Author SHA1 Message Date
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
二货机器人
4068f3d190
fix: RowSelection fixed should work (#20735) 2020-01-07 19:17:37 +08:00
二货机器人
182dcf5606
fix: Chrome scale 125% should not display y-scrollbar (#20705) 2020-01-07 10:48:42 +08:00
二货机器人
1c1a4a773d
fix: Table should not crash with empty column children (#20703) 2020-01-06 20:28:47 +08:00
二货机器人
6017b3f025
fix: Table ts define (#20695) 2020-01-06 17:28:28 +08:00
zombiej
e38a88181d chore: Merge 4.0-prepare 2020-01-06 11:13:39 +08:00
信鑫-King
cb528da8ed
fix: dark theme in 4.0 (#20642)
* fix: rtl direction bug

* 📝 dark theme usage docs

* fix: sketch download

* fix: theme dark

* 📝 empty image

* fix: dark form with mixture components like picker, input

* 📝 update sketch release download

* fix: remove inline-menu sub shadow
2020-01-03 19:00:01 +08:00
二货机器人
493e987f16
fix: add IE 11 css hack (#20643) 2020-01-03 16:17:28 +08:00
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size (#20570)
* feat: Support form & ConfigProvider set component size

* update snapshot

* fix lint

* rm only

* update doc

* Table & Card support sizing

* Update snapshot

* fix lint

* update snapshot

* flush rest snapshot
2020-01-03 13:38:16 +08:00
Saeed Rahimi
676de29eb4 feat: added rtl direction to all of ant-design components (#19380)
* rtl demo change en-us description

* change bundlesize css limit

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* fix pagination.tsx compile error

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* fix select component arrow issue

* RTL: form component

* add pagination rtl test

* fix test lint error

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* some fixes to RTL components

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* fix switch component text rtl issue

* fix table grouped header text-align

* add rtl support to whole demo with RTL button

* Update rtl demo responsive

* RTL: page-header component

* RTL: typography component

* RTL: Dropdown (Partial)

* update config-provider doc

* RTL: input component

* RTL: select component

* RTL: switch component

* RTL: tree component

* fix rtl demo lint

* rtl demo change en-us description

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* RTL: form component

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* fix lost changes after rebase

* fix lint errors

* RTL: Transfer Component

* RTL: upload component

* RTL: update avatar demo

* RTL: comment component

* RTL: collapse component

* RTL: carousel component

* update snapshots

* RTL: Card component

* RTL: descriptions component

* RTL:  Empty component

* RTL: list component

* RTL: slider component

* slider component import/order

* add shared rtlTest

* RTL: Statistic component

* RTL: tooltip components

* RTL: popover component

* RTL: timeline component

* RTL: tag component

* RTL: alert component

* RTL: drawer component

* RTL: Tab component

* change direction definition

* RTL: progress component

* input.tsx, remove duplicate after rebase

* fix demo.less after rebase

* fix ant-row-rtl after rebase

* fix upload issues in rtl

* badge rtl demo margin fix

* fix: tabs with icon margin

* fix: radio-wrapper margin

* fix: table component after rebase

* fix: centered modal text-align

* update slider snapshot

* RTL: popconfirm component

* RTL: back-top component

* RTL: spin component

* RTL: result component

* RTL: skeleton component

* RTL: menu component

* RTL: time-picker component

* RTL: calendar component

* RTL: date-picker component

* RTL: home page

* update snapshots

* test: add auto-complete rtl test

* test: add avatar component rtl tests

* test: add badge component rtl tests

* test: add breadcrumb component rtl tests

* test: add button components rtl tests

* test: add card component rtl tests

* test: add carousel component rtl tests

* test: add cascader component rtl tests

* test: add checkbox component rtl tests

* test: add collapse component rtl tests

* test: add comment component rtl tests

* test: add dropdown component rtl tests

* test: add empty component rtl tests

* test: add form component rtl tests

* test: add grid component rtl tests

* test: add input component rtl tests

* test: add search component rtl tests

* test: add input-number component rtl tests

* test: add layout component rtl tests

* test: add list component rtl tests

* test: add mentions component rtl tests

* test: add modal component rtl tests

* test: add page-header component rtl tests

* test: add pagination component rtl tests

* test: add radio component rtl tests

* test: add rate component rtl tests

* test: add select component rtl tests

* test: add slider component rtl tests

* test: add steps component rtl tests

* test: add switch component rtl tests

* test: add table component rtl tests

* test: add transfer component rtl tests

* test: add tree component rtl tests

* test: add tree-select component rtl tests

* test: add typography component rtl tests

* test: add upload component rtl tests

* test: add affix component rtl tests

* update calendar tests

* increase css file maxSize

* update snapshots

* remove workflows to allow push

* remove duplicate reverse prop from slider

* fix: remove table demo from config-provider

* fix: remove table demo from config-provider

* fix lint error

* Added direction property to ConfigProvider

* cascader rtl tests added

* update config-provider doc

* RTL: grid system

* RTL: input component

* RTL: switch component

* fix rtl demo lint

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* fix pagination.tsx compile error

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* RTL: form component

* add pagination rtl test

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* RTL: input component

* RTL: select component

* RTL: switch component

* RTL: tree component

* fix rtl demo lint

* rtl demo change en-us description

* RTL: modal component (exclude confirm)

* RTL: table component

* RTL: pagination component

* cleanup rtl demo

* RTL: button and button-group

* RTL: Steps component

* fix rtl demo style

* fix input suffix icon alignment

* RTL: form component

* RTL: rate component

* RTL: radio and radio group components

* RTL: tree-select component

* RTL: badge component

* fix rtl issue in inline form

* fix input component rtl padding issue

* add rtl support to whole demo with RTL button

* input.tsx, remove duplicate after rebase

* fix ant-row-rtl after rebase

* update snapshots

* test: add cascader component rtl tests

* test: add pagination component rtl tests

* update calendar tests

* update snapshots

* fix: remove table demo from config-provider

* fix: remove table demo from config-provider

* fix lint error

* update direction.md icons

* dropdown and cascader default placement in rtl

* update snapshots

* fix lint errors

* remove duplicate import

* update snapshots

* update snapshot

* update calendar snapshot

* update snapshots

* integrate with new rc-picker

* update snapshots

* fix lint errors

* update snapshot

* update snapshots

* update snapshots

* update snapshots :|

* update snapshots

* fix compile error.

* fix typo after rebase

* update snapshots

* remove workflows to allow push

* update snapshots

* update snapshots

* fix dist error

* front-page css fix

* update snapshots

* fix lint and test issues

* restore cascader index.less

* update snapshots

* fix logo in rtl and demo controls

* ci errors

* resolve steps/index.tsx conflicts

* tooltip family demo remove inline style

* resolve table/Table.tsx conflicts

* resolve modal/Modal.tsx conflicts

* resolve cascader/index.tsx conflicts

* add workflows from upstream

* update snapshots

* revert logo to default

* fix codebox demo direction of placements

* resolve tooltip overlayClassName conflicts

* update snapshots

* update popover test

* fix: cascader miss popupClassName

* fix: fix select missing dropdownClassName

* chore: Update snapshot

* chore: Adjust menu use rtl logic

* docs: Update demo line color

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
ycjcl868
f230ac58d6 fix: site dark, tweak style 2019-12-31 15:12:18 +08:00
偏右
d8cea7489d
💄 fix stylelint warnings and errors (#20562) 2019-12-31 15:04:00 +08:00
zombiej
530db658bc chore: Merge master 2019-12-30 16:43:34 +08:00
二货机器人
f2fdf490de
fix: Table with invalidate pagination totol should ignore (#20532) 2019-12-30 15:35:53 +08:00
偏右
df8f34309f revert Table page return 1 after sort (#20507)
close #16978
close #17770
close #17648
close #18099
close #17075
close #19369
2019-12-28 21:52:09 +08:00
二货机器人
695b67b045
fix getPopupContainer not work (#20509) 2019-12-28 12:55:03 +08:00
偏右
4fc544e023
Merge branch '4.0-prepare' into master-for-merge-4.x 2019-12-27 12:34:40 +08:00
偏右
2f72e472e5
🐛 Fix Table header text align when colspan=1 (#20463)
https://github.com/ant-design/ant-design/issues/20126#issuecomment-563307001
2019-12-26 16:07:01 +08:00
ycjcl868
f36b4deaaa Merge origin/4.0-prepare into feat-dark-palette 2019-12-26 15:31:05 +08:00
二货机器人
abf215a982
docs: Update 4.0 site (#20290)
* init recommend block

* init design pages

* home frames

* add background banner

* hello, Hitu makes the animation

* add media query

* add images

* update types

* add declare

* preload support

* update ignore

* additional ignore site Home lint

* update ignore

* add hover effect

* adjust alt of bannber

* adjust lang & card shadow

* fix typo

* adjust desc

* hitu in english

* article add link

* Certainty is hitu

* Meaning Hitu

* Growth with Hitu

* Natural Hitu

* slow down of Natural

* adjust speed of icons

* New Meaning animation

* adjust animation duration

* update card link

* update link

* values doc

* replace images

* faster Growth

* update values

* fix lint

* all slow down

* adjust padding

* update icons

* adjust margin

* update images

* adjust montion

* adjust by designer

* update pages

* update design prod

* update articles

* update site style

* update doc

* update images

* update style

* lint fix

* adjust liner color

* github text color update

* adjust margin of title

* mobile design

* update design sub card

* update style

* less lint

* update images

* design card auto height

* update img

* update logo transition

* adjust card style

* adjust style to fix 184

* adjust nav style

* category it

* slow down of logo

* update style

* hide video link

* hitu article

* use img of hitu

* update docs

* style lint

* update Hitu layout doc

* update images

* speed up logo

* update link

* clean up

* clean up

* update doc

* adjust doc

* update images
2019-12-26 15:27:52 +08:00
ycjcl868
e9c5667596 Merge origin/4.0-prepare into feat-dark-palette 2019-12-26 11:28:05 +08:00
vagusX
a0beb0f8df feat: update to @ant-design/icons@4.0.0-alpha.16 (#20451) 2019-12-26 00:27:59 +08:00
ycjcl868
bd2633d303 Merge 4.0-prepare into feat-dark-palette 2019-12-25 21:13:07 +08:00
zombiej
80359a15b1 clean up 2019-12-25 20:19:33 +08:00
zombiej
6dc5a8c2f4 update snapshot 2019-12-25 20:07:10 +08:00
ycjcl868
4dc860decf Merge origin/4.0-prepare into feat-dark-palette 2019-12-25 19:32:38 +08:00
zombiej
9e8ce489e9 merge master 2019-12-25 19:09:17 +08:00
ycjcl868
c100b892ba fix: table dark theme style 2019-12-25 15:59:16 +08:00
ycjcl868
839ed3ed05 fix: table site dark style 2019-12-25 15:14:34 +08:00
vagusX
46e1ad1b51 feat: update @ant-design/icons@4.0.0-alpha.13 (#20427) 2019-12-25 11:17:14 +08:00
二货机器人
bfe1294562
4.0 table (#20350)
* chore: Update table style

* chore: diff table filter hover color

* style lint
2019-12-19 17:48:56 +08:00
He Linming
ea9e9fb410 🐛 (Table): fix filters define in onChange (#20337)
close #20270
2019-12-19 10:42:19 +08:00
陈小聪
53bed3ffa8 fix: 4.0 table demo ts to js no work (#20298) 2019-12-17 17:54:10 +08:00
二货机器人
b07d95b0dd
docs: Update Table scroll docs (#20204) 2019-12-12 11:14:43 +08:00
zombiej
50b82ca509 test: Update test case snapshot 2019-12-11 18:32:07 +08:00
Olivier Louvignes
3ef0a402b5 feat(table): Add defaultFilteredValues to table columns (#20088) 2019-12-11 15:15:23 +08:00
二货机器人
7b4123258b
fix: table should not show sorter when sorter is falsy (#20187)
fix #20096
2019-12-11 14:14:52 +08:00
ycjcl868
1641e5a37b fix: lint 2019-12-07 10:38:14 +08:00
ycjcl868
bb42770da7 fix: rename @gray-11 to @popover-background 2019-12-07 10:21:05 +08:00
Kim, Harim
850a5b4567 Docs: fix table demo typing error (#20115)
* Docs: fix table demo typing error

* test: update snapshots (#20115)

* test: update snapshots (#20115)
2019-12-06 14:22:54 +08:00
zombiej
3d8b076b83 fix: table fixed columns should not overlap other z-index element
fix #20098
2019-12-05 19:31:24 +08:00
骗你是小猫咪
114fdd9333
fix: upgrade rc-tooltip lint fail (#19408)
* fix: upgrade rc-tooltip lint fail

* fix tooltip typescript type

* rebase and update snapshots

* update tests

* change trigger mock export

* upgrade rc-trigger

* fix type error

* upgrade dependencies

* update snapshots

* upgrade rc-calendar and test use sleep

* update snapshots

* fix test fail

* update snapshots
2019-12-05 16:15:10 +08:00
偏右
89a6593c44
🐛 Fix Table column align in windows chrome (#19986)
close #19952
2019-12-05 10:55:45 +08:00
ycjcl868
dfab3c4ab5 fix: border-color in popover component 2019-12-04 11:58:48 +08:00
ycjcl868
7b826879de fix: @link hover,active color 2019-12-03 21:14:16 +08:00
ycjcl868
62952a89b5 fix: empty prefix className, update snapshot 2019-12-03 20:17:13 +08:00
afc163
811d562527 update snapshots 2019-12-03 12:19:49 +08:00
afc163
16ac3b31df 🐛 Fix filterIcon Tooltip title is not working
close #20049
2019-12-03 12:19:49 +08:00
afc163
85b6744bf6 🐛 Fix filterIcon render string cause Table broken 2019-12-03 12:19:49 +08:00
afc163
0ab55ce884 🐛 fix footer style in small table 2019-12-02 19:18:53 +08:00
afc163
ecce1e4aba update snapshots 2019-12-02 19:02:33 +08:00
afc163
6096f6e281 🐛 fix small table header border issue
close #20030
close #18762
2019-12-02 18:07:22 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
zombiej
1d516d7f7f merge feature 2019-12-01 15:29:53 +08:00
ycjcl868
f47a22e888 feat: add @table-bg 2019-11-29 09:04:39 +00:00
ycjcl868
6ca5628417 Merge 4.0-prepare into fix-button-demo 2019-11-29 14:27:47 +08:00
二货机器人
5ef6b04554
fix: Table ajax pagination should work (#19980) 2019-11-28 14:46:49 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
afc163
3fa135023f 💄 Add @table-header-bg-sm and fix footer style
close #19936
2019-11-26 15:33:14 +08:00
jeessy2
221d404986 fix: 4.0 table filters value may be previous (#19873)
* fix: 4.0 table filters value may be previous

* create a sync variable to resolve async 'setFilteredKeys'

* useSyncState to fix 'setFilteredKeys' async

* new line

* new line

* add ,

* removed 'setFilteredKeys' and re-render useSyncState

* menu must be a array
2019-11-26 14:25:33 +08:00
zombiej
b37b317b69 chore: merge master 2019-11-25 15:16:59 +08:00
ycjcl868
1d0f97d0a9 fix: lint 2019-11-25 07:02:24 +00:00
ycjcl868
37a85366f3 feat: add Button danger 2019-11-25 07:02:24 +00:00
ycjcl868
4f23bbcdc6 fix: Table demo actions margin 16px 2019-11-25 07:02:24 +00:00
mbotnari
fb4ed9a638 chore(Table): Update custom-filter-panel.md demo (#19899)
* Update custom-filter-panel.md

In order to decrease the confusion during search created by highlighted text in all the columns, the proposal is to highlight searched text in the searched column exclusively.

* chore(Table): Update demo.test.js.snap

Snapshot update according to update in components/table/demo/custom-filter-panel.md

* chore(Table): Update custom-filter-panel.md demo

Missing trailing comma comma-dangle
2019-11-24 19:10:29 +08:00
陈小聪
e71a4ef10f docs: Removed version column in 4.0 (#19832) 2019-11-20 17:46:50 +08:00
二货机器人
efd3b35830
feat: Col support flex prop (#16635)
* feat: Col support `flex` prop

* update snapshot

* update doc

* row component use flex type by default

* revert grid flex layout doc

* remove float style

* remove doc old FAQ

* revert .make-row

* col style use flex and max-width

* remove useless Col style and imorove base doc for a single Col

* update snapshots

* fix flex mode pseudo

* update snapshots

* back to old flex mode demo gray background color

* set default col flex => 1 auto

* change grid about flex mode description

* update snapshots

* improve grid introduce and fix with gutter bug

* update snapshots

* remove version
2019-11-20 11:13:24 +08:00
信鑫-King
9da09ffb2a
Merge pull request #19719 from ant-design/4.0-less-token-tweak
tweak: 4.0 less token
2019-11-19 17:40:15 +08:00
jeessy2
23f74eccbe fix: typescript define (#19780)
* ColumnGroupType should be antd's

* columns should not be from rc-table
2019-11-19 10:03:03 +08:00
Martin Litvaj
bb92b01ae0 Update link to latest ColumnProps (#19789)
* Update link to latest ColumnProps

* update CN docs
2019-11-18 23:02:33 +08:00
ycjcl868
d91ed3e428 Merge 4.0-prepare into 4.0-less-token-tweak 2019-11-18 10:20:14 +08:00
二货机器人
5d98667687
chore: Export some useful define (#19770) 2019-11-17 17:57:35 +08:00
Olivier Louvignes
103920e4f5 Add defaultFilteredValues to table columns (#18925) 2019-11-16 18:58:23 +08:00
二货机器人
72a7ba618f
New Table (#19678)
* chore: update rc-table

* add basic table style

* checked all logic

* checkbox support disabled

* selection style

* selection support radio

* add selections support

* selection extra style

* select all locale

* sorter logic

* add more desc

* init Filter hooks

* init filter hooks

* update style

* filter style

* filter style

* fix filter

* sort control

* ajax it

* add expandedable css

* expandable view style

* fixed style

* border style

* empty style

* fix pagination style

* add fixed demo

* un-comment

* clean up

* fix filter check logic

* fix overflow & ellipsis conflict

* fix tes

* adjust scroll shadow

* fix border fixed style

* add part of test case

* add filter test part

* more test case

* issue related test

* filter test

* adjust pagination logic

* fix pagination test case

* all selection test case

* table sorter test case

* table basic test

* fix test case

* update faq

* update expandable doc

* add v4 doc

* add summary docs

* more demo

* fix selection

* update snapshot

* update test case

* fix ff styling

* update rc-table

* update snapshot

* update snapshot

* fix lint

* fix style lint

* fix style

* update snapshot

* update desc

* fix missing icon
2019-11-15 14:35:25 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
ShuYu Wang
68603366eb fix: add missing null option type (#19722)
See-also: https://ant.design/components/table/#components-table-demo-reset-filter
2019-11-14 10:18:03 +08:00
zombiej
2ba81538d8 chore: Merge master 2019-11-13 11:48:20 +08:00
Dean van Niekerk
af2dd379c2 Fixed typing issue in Table > filterDropdown (#19701) 2019-11-13 07:51:53 +08:00
afc163
91fcf98741
🐛 fix error for typescript@3.7.2 2019-11-10 18:05:43 +08:00
骗你是小猫咪
0ee4a531a1 refactor: upgrade rc-dropdown (#19498)
* refator: upgrade rc-dropdown

* upgrade rc-dropdown version

* update snapshots
2019-11-06 14:49:20 +08:00
zombiej
9bea463638 chore: fix ts define 2019-11-06 11:18:11 +08:00
zombiej
3c26ac9a54 chore: merge master 2019-11-06 10:34:53 +08:00
afc163
fd573acdec 🐛 Fix Table border missing in fixed columns 2019-11-05 01:58:56 +08:00
afc163
b697ef1213 🐛 Fix Table Column defaultSortOrder not working 2019-11-05 01:34:42 +08:00
afc163
0bdf682a80 🐛 Fix Table inifinite loop issue 2019-11-05 01:34:42 +08:00
He Linming
3d8b9df423 fix: table does not automatically scroll to the top when change page size (#19465)
* 🐛 (Table): fix scrollToFirstRow

fix table does not automatically scroll to the top when change page size
close #19464

*  (Table): add test case for scrollToFirstRow

* 👌 (Table): change Trigger to .ant-select

Co-Authored-By: 骗你是小猫咪 <darryshaw@gmail.com>
2019-11-02 17:18:44 +08:00
afc163
92caa2d02c docs: improve table demo description 2019-11-01 10:41:07 +08:00
zombiej
7a12b2b1ae merge master 2019-10-30 16:28:28 +08:00
afc163
99d8f07607 🐛 Fix sort order of columns in render
array value of columns

close #19398
2019-10-27 00:20:24 +08:00
二货机器人
25788e69a8
omit withstore (#19343) 2019-10-22 11:54:03 +08:00
afc163
b919c23d08 🐛 Fix small table bottom border radius issue
https://github.com/ant-design/ant-design/issues/19287#issuecomment-544368967
2019-10-22 11:16:39 +08:00
afc163
6b74a1e944 update table snapshot 2019-10-21 14:28:16 +08:00
afc163
185d2c41e8 🐛 fix small table border radius issue
close #19287
2019-10-20 19:12:59 +08:00
二货机器人
b9b239ec08 test: add test case for ref test (#19302)
* add test case for ref test

* update test case
2019-10-19 22:48:13 +08:00
afc163
13d219c439 🐛 Fix Table scroll.x max-content not working 2019-10-18 18:34:26 +08:00
二货机器人
40aca57453
chore: Remove React function polyfill (#19279)
* chore: Remove polyfill

* add more skip
2019-10-18 11:29:34 +08:00
二货机器人
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
fb2bafbfdc upgrade snapshot 2019-10-15 19:13:38 +08:00
yoyo837
5a07b85d9e upgrade fires change event test case 2019-10-15 16:33:37 +08:00
yoyo837
0522d55f26 snapshot 2019-10-15 16:33:17 +08:00
yoyo837
59685afeeb Provide additional args for onChange sorter when unsorting 2019-10-15 16:04:38 +08:00
Wei Zhu
a72f43b2c1
Merge pull request #19206 from ant-design/feature
Merge features
2019-10-15 14:36:41 +08:00
yoyo837
6db3711876 upgrade table demo : onChange add args extra 2019-10-15 10:00:16 +08:00
zombiej
218798cfb4 merge master 2019-10-14 17:21:22 +08:00
yoyo837
453c01aaae tuple for column fixed prop types 2019-10-14 16:10:22 +08:00
二货机器人
e75fa039ef
refactor: Use CSSMotion (#19205)
* refactor: Use CSSMotion

* fix lint

* update rc-menu deps

* fix test case

* clean up

* more test case

* fix lint
2019-10-14 15:01:16 +08:00
zombiej
04a27deb2b merge master 2019-10-14 10:53:35 +08:00
zombiej
28a6358439 merge master 2019-10-11 11:51:55 +08:00
shao
41bbcfe180 docs: probably better phrased as Table component 2019-10-09 14:21:14 +08:00
Leon Koole
4aa81e576c Clear up confusing language about dataSource keys 2019-10-08 22:53:16 +08:00
zombiej
e129e8dc7e merge master 2019-10-08 15:04:00 +08:00
orzyyyy
54cf1a924d fix: lint 2019-10-06 07:17:52 +08:00
afc163
47dee4c7d7 fix eslint problems 2019-10-05 18:02:16 +08:00
afc163
916c0659bd increase Table test coverage 2019-09-28 19:11:10 +08:00
afc163
fb913f4f47 💄 fix lint 2019-09-28 19:11:10 +08:00
afc163
e1a4f2891e 🐛 Fix Table filter submenu checkbox margin
https://user-images.githubusercontent.com/507615/65814464-a5c6c000-e214-11e9-8085-2c6fb1f5c6f2.png
2019-09-28 19:11:10 +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