Commit Graph

1923 Commits

Author SHA1 Message Date
afc163
99c2c2ff0b
refactor: use optional chaining instead of if (#29368)
* refactor: use optional chaining instead of if

* revert some code
2021-02-19 18:26:53 +08:00
诸岳
9a44a7e915 Merge branch 'master' of github.com:ant-design/ant-design into feature-merge-master-branch 2021-02-11 00:00:25 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix (#29268)
* feat: add prefix

* fix: 剩余

* fix: test

* fix: test

* fix: test

* fix: test

* fix: 传了 name 则使用传的

* fix: pop 添加 prefix

* fix: Ok OK ?

* fix: modal confirm

* fix: select

* fix: test
2021-02-08 17:09:13 +08:00
mumiao
d83e5fdd0a
fix: pagination componnet is not displayed at the position is none of… (#29256)
* fix: pagination componnet is not displayed at the position is none of array

* docs: update table/pagination position column typeValue

* fix: named invalid column

* fix: delete unless code

* refactor: refactor pagination position logic

* ci: fix lint error

* ci: fix lint error

* test: update snapshot
2021-02-07 20:23:40 +08:00
mumiao
b5d7670391
fix: fix confirm paramter ts type error (#29241) 2021-02-05 11:19:57 +08:00
afc163
f6683ebfc3
style: make Table expand icon same size as checkbox (#29214)
close #29207
2021-02-03 22:36:44 +08:00
afc163
b69c3351b1
fix: Table pagination current change logic (#29184)
* refactor: code style

* fix: Table pagination current when pageSize changed

close #29175

* fix current when have pagination.total
2021-02-03 11:42:11 +08:00
陈帅
a4f0957576
docs: add 4.12.0 changelog (#29131)
* docs: add 4.11.3 changelog

* update docs

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* update docs

* add 4.12.0 changelog

* update docs

* fix typo

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* fix changelog

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* update docs

* Update CHANGELOG.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>

* fix typo

* fix typo

* Update CHANGELOG.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: einq7 <50612752+AlanCutFlim@users.noreply.github.com>
2021-02-02 22:05:31 +08:00
陈帅
40f9be9417
megre Feature into master (#29141)
* feat: Allow user to configure the Tooltip in the Table header (#29002)

* feat: Table header supports tooltipPlacement

* docs: add Table tooltipPlacement

* feat: Allow user to configure the Tooltip in the Table header

* fix: fix jsx and use old code style

* fix: replace if blocks with ternary operator

* docs: fix url

Co-authored-by: 偏右 <afc163@gmail.com>

* docs: fix url

Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>

* fix: Row with gutter has additional gap (#29059)

* chore: init gutter

* feat: col support gap

* chore: Update playground

* fix: Safari padding

* test: fix test case

* test: More test case

* docs: Update demo

* test: Update coverage

* test: Update test hack

* feat(input-number): add keyboard prop to support disable keyboard (#29110)

Co-authored-by: Ant Design GitHub Bot <yesmeck+ant-design-bot@gmail.com>
Co-authored-by: Harrison <stlebea@foxmail.com>
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
2021-02-01 10:15:39 +08:00
xrkffgg
dcc0ffa016
chore : prettier code (#29123)
* style: prettier code

* update

* Update index.less
2021-01-30 19:39:02 +08:00
Kermit
47732b8a14
refactor: optimize calling sequence of onChange and onSelectAll in rowSelection of Table (#29079)
* chore: optimize order of onChange and onSelect in rowSelection of Table

* chore: add test case

* chore: trigger ci

* ci: trigger
2021-01-29 13:22:42 +08:00
Benjamin Schuch
45f4f46483
docs: fix onHeaderRow documentation (#29103) 2021-01-29 09:50:49 +08:00
二货机器人
08f25f0c8f
chore: Update Table ts definition (#29084)
* chore: bump rc-table ver

* chore: Fix ts definition

* docs: fix doc
2021-01-28 01:21:58 +08:00
afc163
e6b4708f04 resolve merge confilct 2021-01-24 17:55:57 +08:00
zhuguibiao
8d5a1fe449
docs: Table scroll properties X and Y are missing type string (#28964) 2021-01-21 15:55:41 +08:00
偏右
16ecb15be1
Merge pull request #28894 from ant-design/master
chore: merge master into feature
2021-01-18 09:55:46 +08:00
xrkffgg
dd62098beb
style: add @table-border-color (#28903) 2021-01-18 09:34:22 +08:00
Meowu
0f0dc1577f
fix: custom table filterDropdown (#28850)
* fix: get origin keys from nested filters.

* fix: unexpected transformed filteredKyes with custom filterDropdown.

* fix: simplify code.
2021-01-15 22:51:03 +08:00
偏右
ec6f198b0d
fix: Empty description validateDOMNesting warning (#28862)
* fix: Empty description validateDOMNesting warning

close #28860

* update snapshot
2021-01-14 16:29:48 +08:00
afc163
ea9c71a94e Merge branch 'feature' into master-to-merge-feature 2021-01-14 14:26:09 +08:00
二货机器人
4315ac567c
chore: replace omit (#28846)
* chore: Replace omit.js with rc-util omit

* chore: Replace omit.js with rc-util omit

* fix ts

* fix ts

* fix ts
2021-01-13 21:00:30 +08:00
afc163
68f594e9d6 docs: fix Table rowSelection.columnWidth default value
close #28837

ref #28073
2021-01-13 17:15:21 +08:00
偏右
b913b26374
Update index.en-US.md 2021-01-13 16:14:51 +08:00
limingxin
3f30db32f7
Update index.zh-CN.md (#28835)
update  expandable markdown
2021-01-13 16:13:11 +08:00
Alek Ye
9d334e776e
chore: remove console log (#28816)
Co-authored-by: alek.ye <alek.ye@meehealth.com>
2021-01-11 17:56:26 +08:00
偏右
a0eb9d31de
chore: merge master into feature (#28751)
* fix: Transfer dataSource cannot be immutable (#28675)

close #28662

* docs: fix errors in example code (#28677)

* ci: expand ie check (#28673)

* ci: expand ie check

* Update issue-open-check.yml

* perf(📦): reduce @babel/runtime package size (#28678)

* perf(📦): reduce @babel/runtime package size

04cd73dea1

* chore(🆙): upgrade @ant-design/react-slick to esm support version

* upgrade @ant-design/tools

* ci: add open condition (#28682)

* fix(Slider): forcePopupAlign null when unmounted (#28699)

* docs: Update overview.zh-CN.md (#28703)

* docs: Update resources.en-US.md (#28701)

* chore: bump rc-select to 12.1.0 (#28715)

* fix: stylelint plugin (#28730)

* Update package.json

* perf(📦): upgrade rc-image to 5.x (#28727)

* refactor: upgrade rc-image to 5.x

reduce bundle size

* upgrade rc-image

* upgrade @ant-design/tools

https://github.com/ant-design/antd-tools/pull/226

* rc-image 5.0.0

* fix image preview icon missing

* refactor code

* docs: example of synchronous rc-tree (#28648)

* ci: fix outputs type

过程中的使用 string。奇怪啊,之前测试过的,今天点的时候发现不行了

* Update package.json

* fix: site overflow cause sticky invalid (#28741)

* fix: site overflow cause sticky invalid

* disable auto scroll

* chore: upgrade rc-dialog and rc-drawer (#28749)

* chore: upgrade rc-dialog and rc-drawer (#28687)

* chore: upgrade rc-dialog and rc-drawer

* upgrade rc-util

* update snapshots

* upgrade rc-util

* upgrade rc-util

* update snapshots

* upgrade rc-dialog

* perf: remove duplicated rc-dialog

Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>

Co-authored-by: bigbigbo <zxb141242@163.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Yann Pringault <yann.pringault@gmail.com>
Co-authored-by: godfather <greenday.wj@foxmail.com>
Co-authored-by: Mateusz Wierzbicki <22788841+mateusz-wierzbicki@users.noreply.github.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: AkiJoey <akijoey1010635951@gmail.com>
Co-authored-by: qqabcv520 <605655316@qq.com>
Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
2021-01-08 10:14:01 +08:00
骗你是小猫咪
d0de9aa92c
fix: site overflow cause sticky invalid (#28741)
* fix: site overflow cause sticky invalid

* disable auto scroll
2021-01-07 16:16:54 +08:00
Alek Ye
168db12e3f
feat: filter without close dropdown (#28652) (#28688)
* feat: filter without close dropdown (#28652)

* Change confirm parameter type

* Update components/table/demo/custom-filter-panel.md

Co-authored-by: 偏右 <afc163@gmail.com>

Co-authored-by: alek.ye <alek.ye@meehealth.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2021-01-05 15:54:36 +08:00
Meowu
3ed44114ac
fix: no need to filter filterdKeys for custom filterDropdown. (#28627)
* fix: no need to filter filterdKeys for custom filterDropdown.

* fix: only transform array of filterdValue to string.
2021-01-04 11:17:27 +08:00
Ant Design GitHub Bot
6f80272516
Merge pull request #28626 from ant-design/master 2020-12-31 14:57:34 +08:00
afc163
84c65582c7 docs: hide resizable column demo 2020-12-29 14:54:27 +08:00
Ant Design GitHub Bot
98b90c3685
Merge pull request #28585 from ant-design/master 2020-12-29 12:22:43 +08:00
不吃猫的鱼
5119d2a9e1
feat: add select none functionality (#28580) 2020-12-29 10:38:43 +08:00
偏右
8e4eab68b1
fix: Table selection behavior when inside Checkbox.Group (#28576)
close #28044
2020-12-28 18:54:02 +08:00
afc163
f2188064b2 merge feature into master 2020-12-28 15:32:03 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc (#28551) 2020-12-28 15:30:18 +08:00
二货机器人
076f5f1f00
fix: Table childColumnName should support checkStrictly (#28568) 2020-12-28 15:18:04 +08:00
zombiej
99d5451dba chore: merge master 2020-12-26 23:11:46 +08:00
偏右
0223e2ed5a
chore(🆙): upgrade less to 4.0.0 (#28466)
* chore(🆙): upgrade less to 4.0.0

* chore(🆙): upgrade bisheng to 3.0.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix for less 4.0

* fix progress font size
2020-12-25 14:31:44 +08:00
二货机器人
7bef3090d8
docs: Fix drag sorter handler (#28475) 2020-12-22 16:46:52 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
Tom Xu
c00755f9ec Merge branch 'feature' into merge 2020-12-17 15:27:42 +08:00
二货机器人
55e0d13234
chore: Add demo tsx check (#28389)
* chore: Add demo tsx check

* chore: Prettier

* chore: Fix lint

* fix: Upload ts definition

* chore: Demo onlt

* docs: Fix demo

* chore: Add CI action

* chore: Use real name

* chore: fix ts define

* chore: fix more ts

* chore: fix more ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: More ts

* chore: Update all rest TS demo

* fix test case
2020-12-17 15:09:18 +08:00
Tom Xu
db7c425663
Merge pull request #28381 from ant-design/master
chore: merge master into feature
2020-12-16 15:24:20 +08:00
二货机器人
857cbe1b23
fix: Fixed columns z-index issue (#28346)
* fix: Fixed columns z-index issue

* fix lint
2020-12-14 16:04:23 +08:00
偏右
474dce90dc
Merge pull request #28273 from ant-design/master
chore: merge master into feature
2020-12-09 17:54:36 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 (#28253)
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* chore: fix eslint style

* chore: prettier code style

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
偏右
50e8e7d9e1
feat: Table support expandable.columnWidth (#28249)
close https://github.com/ant-design/ant-design/issues/28147
2020-12-09 14:35:41 +08:00
Meowu
b3354d4581
fix: Table filter value type (#28220)
* fix: onChange event receives correct type of filters value.

* fix: related checkbox should be checked if any filters set as filterValue.

* fix: typing.
2020-12-09 14:34:49 +08:00
desperado
e22e27dbae
fix: SelectionSelectFn selectedRows to T generic type (#28206)
close #28204
2020-12-04 19:47:30 +08:00
琚致远
d692d655c7
fix: typo in test (#28195) 2020-12-04 15:27:23 +08:00
yanguoyu
4790ef59a2
fix: 防止手动设置 selectedRowKeys 为 undefined 时,derivedSelectedKeys 为 undefined,导致 js crash。 (#28193)
* 1:防止手动设置 selectedRowKeys 为 undefined 时,derivedSelectedKeys 为 undefined,导致 js crash。

* fixed: 防止手动设置 selectedRowKeys 为 undefined 时,derivedSelectedKeys 为 undefined,导致 js crash。
2020-12-04 14:26:23 +08:00
二货机器人
af56eb0a15
fix: Table selection position (#28173) 2020-12-03 17:52:47 +08:00
二货机器人
2b22743a9a
chore: Narrow selection width (#28073)
* chore: Narrow selection width

* chore: Adjust rtl style
2020-11-30 16:14:44 +08:00
陈帅
4f811cbe82
docs: add a little pro-compents advertising (#28043)
* docs: add a little pro-compents advertising

* docs: add a little pro-compents advertising
2020-11-27 18:29:21 +08:00
偏右
e7bed7cff7
perf(📦): upgrade @ant-design/colors and remove rc-trigger from deps (#27761)
* perf(📦): upgrade @ant-design/colors

* move rc-trigger to devDeps

* fix lint

* update snapshot

* update snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
einq7
3357fccf0e
docs: format inline code (#27634) 2020-11-08 15:04:02 +08:00
Yuan
d01aa2539e
fix: filters in column.children should render (#27435)
* fix: filters in column.children should render 

when a column has filter and it's children also have filters, all these filters in children can not render. this problem can not be found when use sorter.

* test: add test for this fix

* Update components/table/__tests__/Table.filter.test.js

Co-authored-by: 偏右 <afc163@gmail.com>
2020-11-04 15:44:13 +08:00
afc163
2a08383a22 test(): update table snapshot 2020-10-30 21:09:08 +08:00
偏右
cc8ec58ab1
fix: Table onShowSizeChange trigger twice (#27417)
close #26100
close #27392
2020-10-28 12:56:05 +08:00
二货机器人
39333253d9
fix: Not merge additional data (#27412) 2020-10-27 23:02:52 +08:00
realEago
1ceaa3a87f
docs: table doc childrenColumnName property type (#27329)
Co-authored-by: zhaiyuanhang <zhaiyuanhang@xylink.com>
2020-10-23 19:32:29 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +08:00
Michał Jasikowski
ea251a50fa
docs: ✍️ Corrected "onFilter" definition for Table Column in docs 2020-10-16 22:29:00 +08:00
偏右
18c4b085ba
style: 💄 fix Pickers wrong animation direction (#27101)
* style: fix Pickers wrong animation direction

* style: reduce css bundle size
2020-10-12 15:50:02 +08:00
二货机器人
dcd97ca46e
Merge pull request #27055 from ant-design/master
chore: Feature merge master
2020-10-09 17:28:17 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs (#27038) 2020-10-09 10:08:52 +08:00
Lim Shang Yi
fa3c00ce1a
fix: undefined in filterDropdown in Table should not render dropdown filter icon. (#27002)
close #26988
2020-10-04 21:56:29 +08:00
骗你是小猫咪
bd62870258
chore: upgrade rc-table (#26973)
* chore: upgrade rc-table

* improve doc
2020-09-30 20:41:34 +08:00
偏右
83ddfb807e
test: Enable transition and animation in jest (#26571)
* test:  add test cases to increase coverage

* test: fix snapshot

* fix: test node envioronment

* fix: test node envioronment

* fix test case

* test: refactor menu test cases

* test: update test code style

* test: add more menu test cases

* add comment

* test: update snapshot

* fix: alert test case

* fix: form onLeaveEnd test cov

* test: fix button click wave test cases

* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
John Bear
5b5518acfb
fix: table sticky zindex calculation (#26800) 2020-09-17 23:01:34 +08:00
二货机器人
fec45cb6fe
docs: Update virtual list demo (#26786) 2020-09-17 16:05:08 +08:00
zombiej
780ada065b chore: Update snapshot 2020-09-16 12:10:18 +08:00
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint (#26600)
* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* chore: 🆙 upgrade typescript-eslint

* fix some lint

* fix: some eslint errors

* Update package.json

* fix no use before define

* Update package.json

* fix lint

Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-09-16 11:43:55 +08:00
afc163
58a57224a8 test: fix test snapshot change 2020-09-14 18:19:36 +08:00
Dave
5507641331
fix(table-pagination): make pagination.position work (#26678) 2020-09-11 16:49:15 +08:00
偏右
0472da5a40
fix: sorter compare and multiple should be optional (#26686)
close #26085
2020-09-11 12:25:22 +08:00
偏右
39b40b573d
fix: Menu not support React.Fragment (#26656)
* fix: Menu support React.Fragment

* chore: tweak menu demo

* fix: React key warning
2020-09-09 16:52:04 +08:00
Tom Xu
498d48c6b1
docs: fix pro table link (#26637) 2020-09-08 13:14:35 +08:00
二货机器人
c58135fd46
fix: Align motion match (#26628)
* fix: Align motion match

* bump rc-motion

* lock rc-trigger version

* update snapshot
2020-09-08 11:34:29 +08:00
偏右
ce6d89e93a
fix: Table pagination missing when position is top (#26618)
close #26617
2020-09-07 16:52:10 +08:00
willc001
79b681d27c
fix: restrict nested table styles to only apply to direct children of td (#26568)
Co-authored-by: William Cai <williamcai@easyops.cn>
2020-09-06 13:21:40 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00
偏右
c630a6de69
fix: Table clear both style (#26599)
* fix: Table clear both style

close #26595

* Update index.less
2020-09-05 17:24:18 +08:00
偏右
a8dea916b2
fix: Search autocomplele list in Chrome (#26590)
* fix: 🆙 upgrade rc-select to 11.2.x

* style: fix input search clear button

* test: update snapshot
2020-09-05 00:38:39 +08:00
偏右
a409f3126f
test: add test cases to increase coverage (#26559)
* test:  add test cases to increase coverage

* chore: remove console
2020-09-03 13:36:23 +08:00
偏右
c88fd34e9a
chore: 🆙 upgrade react-resizable (#26524)
* chore: 🆙 upgrade react-resizable

* test: fix snapshot

* code style improve
2020-09-02 10:51:04 +08:00
xrkffgg
2005546d22
test: update snap (#26467) 2020-08-28 21:43:44 +08:00
zhangchen
c47bfb0c91
fix: Table topPaginationNode display logic should same with bottomPaginationNode (#26143)
* fix: Tree bottomPaginationNode display logic should same with bottomPaginationNode

* update: test
2020-08-28 15:48:19 +08:00
偏右
e11da52bf7
fix: 🐛 Table Expand Icon size issue (#26409)
* - https://github.com/ant-design/ant-design/issues/24719
Expand Icon

* - https://github.com/ant-design/ant-design/issues/24719
Expand Icon

Co-authored-by: Gary Wei <wgz@tip-lab.com>
2020-08-26 13:43:48 +08:00
xrkffgg
73f4b9bcd7
docs: complete expandedRowClassName (#26397) 2020-08-25 22:54:29 +08:00
Bosseskompis
19606b375c
docs: Add expandedRowClassName to Table.expandable (#26392)
* Add expandedRowClassName to Table.expandable docs

* Use alphabetical order
2020-08-25 20:26:04 +08:00
zombiej
55c1dd02c2 chore: Merge master 2020-08-20 17:31:03 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle (#26270) 2020-08-19 09:50:04 +08:00
xrkffgg
61e01e7c60
chore: merge master into feature 2020-08-13 09:06:53 +08:00
偏右
077ea950d4
demo: fix Table filter dropdown select behavior
close #26144
2020-08-12 11:44:40 +08:00
QoVoQ
f65013994f
fix: #26126 use mergedData instead of pageData to decide if render bottom pagination (#26133)
Co-authored-by: Zhongxian Liang <zhongxian.liang@shopee.com>
2020-08-11 16:18:34 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
骗你是小猫咪
bd02b83da4
feat: Table new sticky prop (#25939)
* feat: Table new sticky prop

* add example

* update snapshots

* fix typo

* fix example and improve less

* rename to @zindex-table-fixed-column

* fix compile error

* fix header z-index

* upgrade rc-table and add active style

* improve less var

* upgrade rc-table and remove hover style

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-07 17:53:23 +08:00
陈帅
f928baf52a
fix: Optimize the display of elements of the block type. (#25903)
* add flex style

* add new demo

* update snapshot

* Merge branch feature into fix-descriptions

* update snapshot

* update snapshot
2020-08-06 14:32:13 +08:00
偏右
9a67f3571d
fix: Table crash when dataSource contains number (#26042)
close #26039
2020-08-05 22:29:38 +08:00
xrkffgg
b0536c2a43
docs: update table demo action (#26010) 2020-08-04 17:49:31 +08:00
偏右
8d7cbbdb0f
fix: Table empty filters throw warning (#26001)
close #25979
2020-08-04 11:43:11 +08:00
xrkffgg
f1154d4f09
fix: table nested table rtl style (#25938) 2020-07-31 17:19:51 +08:00
偏右
43189ed43a
docs: 📖 update Table TypeScript usage (#25928)
* Update index.zh-CN.md

* Update index.en-US.md
2020-07-31 14:01:28 +08:00
Omri Grossman
8800b56e47
fix: The 'indentSize' in the Table component couldn't be zero value (#25890)
* - Fixed the indentSize prop of Table.tsx to also accept 0 values

* - Undo Cascader component test snapshots

* - Added test case
- Used check with typeof === number instead of `undefined` and `null`

Co-authored-by: omri.g <omri.g@alibaba-inc.com>
2020-07-30 10:16:44 +08:00
afc163
9e104292a2 docs: 📝 update table locale API 2020-07-25 14:32:45 +08:00
07akioni
29da624411
fix: Table getCheckboxProps indeterminate not working (#25649)
* fix: Table getCheckboxProps indeterminate not working

* feat: Table warn when set halfChecked using  getCheckboxProps

* chore: rename expand-chidren.md to tree-data.md
2020-07-24 18:46:56 +08:00
zombiej
c5f3ea7b62 chore: Remove useless test case
ref #25736
2020-07-22 13:53:27 +08:00
zombiej
2742596b46 chore: Update snapshot 2020-07-22 13:02:25 +08:00
偏右
b466db56a7
Revert "docs: remove unnecessary code (#25738)" (#25740)
This reverts commit 6e8a14d62a.
2020-07-22 10:43:36 +08:00
hoho2017
6e8a14d62a
docs: remove unnecessary code (#25738)
Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
2020-07-22 10:05:44 +08:00
hoho2017
da25fd1b38
docs: remove unused className (#25718)
Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
2020-07-21 10:38:30 +08:00
hoho2017
0222d4e7fe
chore: className here is unnecessary (#25701)
Co-authored-by: zhanghaoqiang <zhanghaoqiang@focusmedia.cn>
2020-07-20 15:35:15 +08:00
偏右
8fa79d7eab
update pagination snapshot (#25656) 2020-07-16 14:02:00 +08:00
xrk
8a18a85922
docs: fix table.md (#25629) 2020-07-15 15:09:50 +08:00
偏右
b69d012da8
style: fix Descriptions breaks Table width when (#25593)
inside of expandedRowRender

close #25573
2020-07-13 11:26:15 +08:00
xrk
ad7a37b836
docs: fix type in demo (#25590) 2020-07-12 18:14:35 +08:00
Yunfly
f0efeeb451
docs: fix drag table not correct (#25585)
Co-authored-by: Yunfly <qinfy@knownsec.com>
2020-07-12 14:47:59 +08:00
zombiej
ba3f84f5c5 docs: Update table resize demo desc
ref #14647
2020-07-10 22:56:16 +08:00
zhangchen
d04bd2fabc
fix: Table onChange event is triggered twice (#25520)
* fix: Table onChange event is triggered twice

* fix: Table onChange event is triggered twice

* test: should call onChange when change pagination size

* update: code style
2020-07-10 15:17:15 +08:00
偏右
9febbca3fe
docs: 📔 Update customize-theme.zh-CN.md (#25540)
* Update customize-theme.zh-CN.md

* test:  update snapshot
2020-07-09 15:16:49 +08:00
yeshan333
1a692de9e2
docs: Update components/table/demo/custom-filter-panel.md (#25502)
Improved the quality of the sample code.  Considered the case when the data does not exist. If the user searches, an error will be reported.
2020-07-08 18:10:15 +08:00
偏右
0c5f3cce7a
fix: nested Table cell background (#25498)
close #25480
2020-07-08 14:48:11 +08:00
07akioni
0ba2f830ac
test: update snapshots (#25469) 2020-07-07 15:38:09 +08:00
Kermit Xuan
e4bbc8fcb3
refactor(menu): move feature to rc-menu(#24975) (#25369)
* refactor(menu): move feature to rc-menu(#24975)

* fix(table-useFilter): fix types;

* chore(menu): upgrade to 8.4.1
2020-07-06 11:40:52 +08:00
zombiej
645bbacfd6 docs: Add Table expandIconColumnIndex -1 desc 2020-07-04 13:39:16 +08:00
afc163
61eb92f8d2 fix Table test snapshot 2020-07-03 12:07:00 +08:00
xrkffgg
af2cc506da
docs: format api table/tabs/tag (#25384) 2020-07-02 14:07:52 +08:00
偏右
879bcd1479
style: Fix Table header extra border of right column (#25378) 2020-07-02 11:47:47 +08:00
Justin Schuldt
b9e9e238a1
fixed Typescript type in Table example (#25337)
`columns` should not be an array. Here is the `columns` type that Table takes: https://github.com/ant-design/ant-design/blob/master/components/table/Table.tsx#L74

Thanks!
2020-07-01 20:53:55 +08:00
Colder
50ae25d0c7
docs: fix typo resizable (#25279) 2020-06-29 15:37:36 +08:00
陈帅
523b74e3b6
merge master into Feature (#25262)
* feat: add successColor for Progress (#24655)

* feat: add successColor for Progress

* feat: update

* fix: update test

* remove snap

* feat: add test case

* refactor success

* feat: adjust styyle

* feat: add DevWarning

* feat: Support rowSelection.dirty (#24718)

* feat: Support rowSelection.dirty

* rename to reserveKeys

* preserveKeys will keep record also

* to preserveSelectedRowKeys

* feat: add ghost prop for collapse (#24734)

* feat: add ghost prop for collapse

* doc: version of collapse's ghost prop

* refactor: make ghost collapse's less code to a nested style

* chore: remove redundant codes in ghost collapse's less & doc

* doc: add a background wrapper for ghost collapse demo

* doc: dark-theme wrapper bg-color for ghost collapse demo

* test: update snapshot of ghost collapse

* doc: use softer bg-color on ghost collapse demo

* doc: remove disabled panel in ghost collapse demo

* feat: form instance support getFieldInstance (#24711)

* support getFieldInstance

* update doc

* fix lint

* move func

* move into hooks

* update ref logic

* fix lint

* rm only

* fix docs

* feat: dropdown support arrow (#23869)

* feat: dropdown support arrow prop

close #22758

* test: update snapshot

* fix: fix dropdown cls names

* test: update snapshot

* test: update snapshot

* doc: update demo

* test: update demo snapshot

* demo

* fix: snapshot

* chore: change the style of ghost collapse & demo modified (#24762)

* refactor: reduce content padding in ghost collapse

* doc: remove the wrapper outside ghost collapse

Designer want the demo differs from other demos

* refactor: remove redundant .less code in collapse

* feat: cascader dropdown-render prop (#24812)

* feat: cascader dropdown-render prop

* fix: update Cascader dropdownRender type annotation

* fix: set rc-cascader semver from ^ to ~

* docs: fix coding style in cascader/custom-dropdown

* feat: 🆕 support Drawer closeIcon (#24842)

* feat: 🆕 support Drawer closeIcon

close #19283
close #19153

* add test case

* update docs

* feat: 🆕 Cascader expandIcon (#24865)

* feat: cascader expandIcon

* fix: snap

* refactor: reduce CSS size (#24846)

* refactor: reduce button css size

* refactor: remove redundant button .less code

* feat: add Table onChange an action param (#24697)

* Working on tests

* created TableAction type

* changed TableActions to tuple

* removed chinese documentation line

* refactor TableActions

* fix documentation

* Moved action into extra param

* minor doc change

* feat: add closeIcon customize tag close (#24885)

* feat: add closeIcon customize tag close

* docs fix

* update snap

* fix: css name

* update snapshot

* snapshot

* feat: add radio `optionType` api to set radio option type (#24809)

* feat: radio component

* docs: update md

* fix: snap

* test components

* fix: use optionType

* fix name

* add warning

* fix

* feat: expand rate character (#24903)

* feat: expand rate character

* fix: demo

* fix: snap

* Update components/rate/index.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>

* fix

Co-authored-by: 偏右 <afc163@gmail.com>

* Refactor demo code box actions (#24887)

* refactor: refine the styling of actions part of demo code-box

* fix: lint style

* refactor: move Result children to end (#24945)

* feat: remove content max-width on dot-step (#24907)

* feat: add Skeleton-Image (#24805)

* feat: add Skeleton-Image

* feat: add docs

* fix: adjust skeleton

* feat: adjust Image Component

* feat: rebase

* feat: adjust style

* fix: lint

* feat: remove size

* feat: delete md

* feat: fix style

*  feat: Mentions support autoSize (#24961)

close #17746

* chore: replace textarea with rc-textarea (#24966)

* feat: update pagination@2.3.0 support onChange called when pageSize change (#24964)

* feat: update pagination@2.5.0 and add test case to relative component

* fix: lint

* delete

* feat: add test case for pagination

* adjust test case

* feat: Implement centered prop in Tabs (#24958)

* Implement centered in Tabs along with its tests and docs

* Fix build error

* Add Chinese translations and remove test case

Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>

* feat: Add modal style parameter (#24773)

* add some paramters in default.less

* Update components/style/themes/default.less

Co-authored-by: Amumu <yoyo837@hotmail.com>

* change parameter in compact.less

Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>

* feat: export Tabs addIcon (#25006)

* feat: export Tabs addIcon

* update snapshot

* feat: showNow on timepicker and datetimepicker (#25032)

* feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component (#25035)

* feat: update rc-picker@1.7.1

* delete

* add

* feat: expand rate support props (#24993)

* docs: 📝 Add Form.Item hidden in doc (#25108)

close #25101

* fix: ⌨️ Improve Pagination accessibility issue (#25119)

* ⌨️ Improve Pagination a11y by fixing a W3C error

https://github.com/react-component/pagination/issues/280

* update snapshot

* 🆙 rc-pagination to 2.4.1

* feat: support triggerSubMenuAction for <Menu /> (#25127)

* feat(menu): add triggerSubMenuAction for Menu

* feat(menu): test cases

* chore: Adjust picker logic (#25135)

* chore: update rc-picker 1.10.0 (#25174)

* feat: table row check strictly (#24931)

* feat: add checkStrictly on Table.rowSelection

* fix: LGTM warnings

* test: table rowSelection.checkStrictly

* test: add cov [wip]

* refactor: tree.rowSelection.checkStrictly [wip]

* test: table.rowSelection.checkStrictly basic case

* feat: support rowKey on checkStrictly table

* feat: Table checkStrictly support getCheckboxProps

* docs: Table checkStrictly

* chore: typo

* chore: remove useless comment

* chore: update snapshot

* chore: update snapshot

* fix: fire selectAll on selection dropdown menu & changeRows incorrect in selectAll callback

* docs: typo

* chore

* chore

* fix: expand buttons of leaf rows in tree data are not hidden

* feat: Table warning about rowKey index parameter

* perf: only generate keyEntities when not checkStrictly

* refactor: remove useless parseCheckedKeys

* refactor: get derived selected & half selected keys from selectedRowKeys

* chore: remove env condition stmt

* chore: revert index usage & code formatting

* chore: rerun ci

* docs: table tree-data checkstrictly

* test: update snapshots

* refactor: use useMergedState hook

* chore: rerun ci

* chore: rerun ci 2

* chore: revert selection select all behavior

* refactor: refactor code based on feature

* chore: revert table code format

* chore: revert table code format

* fix: useMemo deps

* fix: useMemo deps

* fix: useMemo deps

* feat: support preserve (#25186)

* docs: add responsibly order for Col (#25139)

* feat: add type

* feat: add responsibly order cols

* feat: add docs

* feat: add test case

* fix test

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: zoomdong <1344492820@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: wendellhu <wendellhu95@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Neto Braghetto <netow93@gmail.com>
Co-authored-by: Kermit Xuan <kermitlx@outlook.com>
Co-authored-by: Ashkan Pourghasem <64011067+ashkan-pm@users.noreply.github.com>
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
Co-authored-by: hicrystal <295247343@qq.com>
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Li Ming <armyiljfe@gmail.com>
2020-06-28 22:41:59 +08:00
大猫
1ca1bb08a6
docs: add protable recommendation (#25043)
* Update index.zh-CN.md

add protable recommendation

* docs: move protable recommand to api

docs: move protable recommand to api

* Update components/table/index.zh-CN.md

Co-authored-by: 偏右 <afc163@gmail.com>

Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-06-28 22:26:32 +08:00
二货机器人
67513cc71b
fix: Select icon interactive (#25212)
* fix: Select icon interactive

* updat snasphot
2020-06-24 23:28:54 +08:00
偏右
47c25fa470
fix: Table expand icon still interative when hide (#25170) 2020-06-23 12:19:25 +08:00
xrkffgg
cd01eb03ab
fix: Table nested style in rtl (#25156) 2020-06-22 19:48:54 +08:00
xrkffgg
af20068287
fix: Table filter title in rtl (#25152) 2020-06-22 19:47:54 +08:00
二货机器人
a421d6fca3
docs: Update Table sorter default prevent (#25105) 2020-06-19 10:18:45 +08:00
xrkffgg
7450c3fd8d
style: fix rtl.less missing variable (#25088) 2020-06-19 10:13:19 +08:00
JinXin
5e658c2082
docs: fix table-demo data create (#25075) 2020-06-18 13:42:21 +08:00
偏右
1b64eb39bc
style: Add empty style for Table empty filters menu (#25073)
close #25068
2020-06-18 11:38:43 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
xrkffgg
7392c7491a
docs: remove unnecessary (#25026)
* docs: remove unnecessary

* fix: div
2020-06-17 14:48:26 +08:00
07akioni
8dc16037d0
fix: nested unbordered table inside a bordered table has border. (#24995)
* fix: nested unbordered table inside a bordered table has border.

* docs: debug nested bordered table

* test: update snapshot

* fix: nested table border overlap

* test: update snapshot
2020-06-16 20:57:09 +08:00
07akioni
e2337e0021
fix: reduce table filter dropdown max-height (#25001) 2020-06-16 11:27:08 +08:00
Martin Cermak
638a37832b docs: Table sorting with handle using react-sortable-hoc 2020-06-15 18:37:20 +08:00
hehe
ae49280ca0
chore: rm incorrect table props (emptyText) (#24948) 2020-06-13 02:29:20 +08:00
二货机器人
8a2ccae477
fix: Table shouldCellUpdate (#24963) 2020-06-12 22:14:42 +08:00