Commit Graph

345 Commits

Author SHA1 Message Date
MadCcc
242b1713f5 Merge branch 'master' into next-merge-master 2022-10-26 14:56:44 +08:00
lijianan
3d33c34010
chore: use includes instead indexOf (#38139)
* chore: use includes instead indexOf

* fix: fix
2022-10-21 11:45:55 +08:00
MadCcc
4490d9dbdc Merge branch 'master' into next-merge-master 2022-10-14 11:35:18 +08:00
lijianan
768ab54426
fix: delete defaultprops (#37966) 2022-10-12 11:39:06 +08:00
MadCcc
03a1ae427d Merge branch 'feature' into next-merge-feature 2022-10-11 20:29:55 +08:00
lijianan
ddaead6777
fix: delete defaultprops (#37822)
* fix: delete defaultprops

* fix: delete defaultprops
2022-09-30 17:44:24 +08:00
MadCcc
eb9179464b Merge branch 'master' into next-merge-master 2022-09-22 11:47:05 +08:00
二货爱吃白萝卜
09b6032ec4
fix: Table column.title missing filters prop (#37629)
* fix: Table title missing filter data

* test: add test case
2022-09-19 15:29:26 +08:00
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this (#37422)
* chore: tags deprecated support

* chore: Slider Tooltip test

* chore: Table dropdown visible legacy

* chore: drawer warning of legacy

* chore: Modal legacy prop

* chore: dropdown open legacy prop

* chore: Tooltiop visible legacy info

* fix: format logic

* test: Update test for 18

* chore: fix lint
2022-09-06 21:46:49 +08:00
yykoypj
a2605f757d
feat: switch filterDropdownVisible to filterDropdownOpen for Table (#36747)
* feat: change filterDropdownVisible to filterDropdownOpen for Table

* docs: resolve conflict

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-22 15:37:51 +08:00
github-actions[bot]
19acac6f80
chore: auto merge branches (#37173)
chore: next merge feature
2022-08-22 04:14:58 +00:00
yykoypj
f0e4963187
feat: switch filterDropdownVisible to filterDropdownOpen for Table (#37026)
* feat: table filterDropdownVisible to filterDropdownOpen

* chore: adjust prosp pass

* test: Update test case

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-22 11:19:53 +08:00
二货机器人
25e001f8b5 chore: next merge feature 2022-08-18 17:24:39 +08:00
MadCcc
0124f24595 Revert "fix(Table): onChange sorter param types (#36710)"
This reverts commit 9e7e32b60c.
2022-08-17 10:13:25 +08:00
二货机器人
d970d80fa0 chore: next merge feature 2022-08-05 15:23:36 +08:00
kalykun
9e7e32b60c
fix(Table): onChange sorter param types (#36710)
* fix(types): fixes `sorter` param types

* chore: add test case

* Update type.test.tsx

* Update type.test.tsx
2022-08-04 11:16:24 +08:00
zombiej
8749c1ae04 chore: merge master 2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
afc163
9b95a30ec9
refactor: Table to CSS-IN-JS (#35584)
* style: add basic styles of table

* style: add basic border styles of table

* style: add more styles of table

* style: add more styles of table

* style: add pagination and summary styles

* add more styles

* style: add cell-ellipsis styles

* style: add Radius style

* style: add basic styles of table

* style: add basic border styles of table

* style: add more styles of table

* style: add more styles of table

* style: add pagination and summary styles

* add more styles

* style: add cell-ellipsis styles

* style: add Radius style

* style: add sorter style

* style: add sorter style

* style: add filter style

* style: add filter style

* style: add filter style

* style: fix filter and sort style

* style: fix bordered style

* style: fix bordered style

* style: fix bordered style

* style: add size style

* style: fix size style

* style: add selection style

* style: format code

* style: add sticky code

* style: add expand code

* style: add expand code

* style: add expand code

* style: add fixed code

* add fixed style

* style: fix diff place

* style: use number as px string

* chore: improve function name

* chore: use token

* style: rtl styles

* chore: fix marigin and padding logical properties

* fix: rtl styles

* fix: table filter dropdown style

* chore: remove useStyle

* chore: revert classNames

* fix: test case

* fix shadow in rtl

* Apply suggestions from code review

* chore: sub filter tree

* style: fix tree dropdown padding

Co-authored-by: zombiej <smith3816@gmail.com>
2022-05-31 10:10:35 +08:00
zombiej
8613d2ff2e chore: merge feature 2022-05-16 17:16:52 +08:00
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps (#35570)
* chore: rm in root

* chore: fix ts

* test: Update snapshot

* chore: ignore part
2022-05-16 16:34:42 +08:00
afc163
84a969e5e0 chore: sync master into next branch 2022-05-11 15:36:22 +08:00
Karott
338ec7dad7
perf: refactor devWarning for production code size (#35411)
* pref: better code style for production

* refactor `devWarning`

* don't use `useEffect` only wrap `devWarning`

* chore: add 'noop' to coverage

* chore: add test cases for devWarning

* chore: add test case

* chore: update test cases for devWarning

* chore: restore test script command

* fix: remove 'throw new Error'

* should not use `throw` for browser

* chore: update test case for AutoComplete

* perf: add prefix for `devWarning`

* update RegExp for UMD

* add prefix for ES and CJS

* chore: better code style

* perf:

* upgrade antd-tools

* remove `injectWarningCondition`

* rename `devWarning` to `warning`

* chore: better code style

* chore: better code style

* chore: restore hasValidName
2022-05-10 15:43:29 +08:00
MadCcc
1f5e271eb6 Merge branch 'master' into next-merge-master 2022-05-09 21:26:25 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
d907338d79 chore: merge feature 2022-04-12 15:59:36 +08:00
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 (#34937)
* chore: bump types def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: part ts def

* chore: free --legacy-peer-deps

* chore: ignore peer

* chore: fix ts logic

* chore: use fork docsearch

* chore: fix demo ts
2022-04-08 22:55:42 +08:00
Zack Chang
c8b2b28c95
Refactor/spin cssinjs (#34653)
* TODO: fix test case

* TODO: 样式、test文件的import

* TODO: 伪类不生效

* temp changed

* fix: disable eslint

* chore: update snapshots

* chore: 解决伪类不生效

* chore: update token prop name

* TODO: mark FIXME

* fix: recover snapshot

* fix: recover snapshot again

* chore: update snapshot

Co-authored-by: Zack Chang <zackchangjx@foxmail.com>
2022-03-25 14:26:09 +08:00
二货机器人
9f602aa710
fix: Table render twice on first mount (#34106)
* fix: Table render twice

* chore: clean up

* test: Fix test case
2022-02-17 18:11:33 +08:00
二货机器人
2b152b0c22
feat: Support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN (#33026)
* feat: Table support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN

* docs: Update docs
2021-11-26 17:50:41 +08:00
二货机器人
ec9ecde052
fix: Table ts definition (#32358)
* fix: Table ts definition

* fix: backof default rowKey
2021-09-30 11:43:42 +08:00
JounQin
15d55bc3e9
feat: support ref for Table (#32136)
* feat: support ref/prefix/suffix for Table

close #25306

* docs: documentat Table prefix/suffix props

* chore: fix lint error

* refactor: remove prefix/suffix props
2021-09-17 11:17:29 +08:00
JounQin
b5fffcab87
feat: inherit rc-pagination props, more customizable (#32132)
* feat: inherit rc-pagination props, more customizable

close #32128, #32129

* chore: CustomSelect.Option is required by rc-pagination

* fix: LocaleReceivier types issue

* fix: lint issue, pageSize must be presented
2021-09-13 12:15:18 +08:00
JounQin
a9951d8421
fix: preserve table pagination className (#32131)
close #32130
2021-09-11 21:44:03 +08:00
wadezhan
d9c67cec59
fix(Table): Add warning when Table current is negative number 2021-04-21 13:47:05 +08:00
afc163
76434a15df
chore(🆙): upgrade devDeps (#29418)
* chore(🆙): upgrade devDeps

* prettier code

* fix dnd demo

* fix react-dnd demo

* fix npm start and demo tsx compile

* fix snapshot
2021-02-23 10:45:11 +08:00
mumiao
dc100b17c5
fix(table): optimize type declaration about filter (#29385) 2021-02-20 16:32:59 +08:00
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
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
陈帅
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
二货机器人
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
二货机器人
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
不吃猫的鱼
5119d2a9e1
feat: add select none functionality (#28580) 2020-12-29 10:38:43 +08:00
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc (#28551) 2020-12-28 15:30:18 +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
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
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +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
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