Commit Graph

2009 Commits

Author SHA1 Message Date
zombiej
a8010d5422 chore: next merge master 2022-04-15 15:44:02 +08:00
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot warning in React 18 (#35030)
* chore: bump notification version

* test: notification test case

* test: more test case

* test: part message test

* test: rest message test

* test: notification config test
2022-04-14 18:09:19 +08:00
afc163
c421383d02
Update index.en-US.md 2022-04-12 22:25:47 +08:00
afc163
cf44a6bde9
docs: recommend S2 and ProTable in table documentation (#34998)
* docs: recommend S2 and ProTable in table documentation

* Update index.en-US.md
2022-04-12 22:22:01 +08:00
zombiej
d907338d79 chore: merge feature 2022-04-12 15:59:36 +08:00
zombiej
a0d1440050 chore: merge conflict 2022-04-11 17:41:54 +08:00
afc163
494c55df30
fix: small size of Table style problem (#34963)
close #34949
2022-04-11 13:07:48 +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
二货机器人
a67c0d28d3
fix: react 18 test fixing (#34787)
* fix: try fix

* chore: ci

* test: recover

* test: more test case

* test: more and mote

* test: btn test

* fix: react 18 compitable

* chore: more test

* test: all confirm test

* chore: tmp

* chore: test lib

* chore: tmp

* chore: tmp

* test: back of part

* test: back of menu index test

* test: more test

* test: form test

* test: rm IE11 test case

* chore: fix compatible

* chore: clean up

* chore: back of all test case

* test: ignore 18 lines

* chore: remove render test of enzyme in upload

* test: back of IE11 test case to fit 100% coverage

* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
MadCcc
6776bb8916
docs: demo support react18 (#34843)
* docs: update demo

* chore: add script

* test: fix demo test

* docs: convert demos

* chore: move script

* test: remove react-dom import

* chore: update deps

* docs: update riddle js

* test: fix image test

* docs: fix riddle demo
2022-04-03 23:27:45 +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
MadCcc
0de1e66ff1
refactor: move override code in form (#34694)
* refactor: move override code in form

* refactor: radio and checkbox

* chore: code clean

* test: fix lint

* test: fix lint
2022-03-24 21:54:20 +08:00
github-actions[bot]
2a35f74d74
chore: auto merge branchs (#34684)
chore: feature merge master
2022-03-24 04:30:35 +00:00
黑雨
d4acc661da
feat: add filterResetToDefaultFilteredValue api (#34355)
* feat: add filterResetToDefaultFilteredValue api

* feat: fix lint

* feat: update test case

* feat: update doc
2022-03-23 19:29:05 +08:00
huangkairan
d0be21ed8f
fix(table) filterSearch TypeScript declaration (#34671)
* fix: types declaration

* fix(table): filterSearch TypeScript declaration
2022-03-23 18:30:30 +08:00
二货机器人
a67d39cd6c
feat: Menu support items (#34559)
* docs: Update Menu cn doc

* chore: update ts def

* chore: support convert

* docs: more demo

* docs: more demo

* docs: all menu demos

* docs: dropdown demo

* docs: dropdown all demos

* docs: update demo

* test: coverage

* docs: more demo

* docs: layout demo

* docs: all demo

* chore: fix ts lint

* docs: fix doc

* docs: all docs
2022-03-18 15:20:35 +08:00
github-actions[bot]
78705e34f0
chore: auto merge branchs (#34527)
chore: sync master into feature
2022-03-16 03:38:49 +00:00
黑雨
e45fa77eb8
feat: add aria-* to Spin (#34408)
* feat: add aria

* feat: update other snap

* feat: update logic
2022-03-11 15:49:33 +08:00
zqran
86415ef8a2
docs(Table): replace the link of TableComponents prop with rc-table type (#34423) 2022-03-11 09:52:16 +08:00
afc163
1df2ecd66e
fix: Tree filter select all behavior (#34295)
ref https://github.com/ant-design/ant-design/issues/34280
2022-03-04 15:36:18 +08:00
MadCcc
bfebb88bdb
feat: introduce rc-input (#34206)
* feat: introduce rc-input

* fix: export InputRef alias

* docs: fix demo

* chore: code clean

* test: fix lint

* test: test coverage

* chore: code clean

* chore: code clean

* test: update snapshot
2022-03-01 14:17:48 +08:00
黑雨
2c56927ae9
feat: table filterSearch supports function (#34085)
* feat: table filterSearch supports function

* feat: update for test

* feat: update document
2022-02-25 16:05:18 +08:00
黑雨
086e5d8e60
feat: table FilterDropdown support clearFilters({ confirm: false, closeDropdown: false }) (#34120)
* feat: table FilterDropdown support `clearFilters({ confirm: boolean })`

* feat: update `clearFilters` and `confirm`

* feat: add FilterRestProps,update document

* feat: update onReset params order

* feat: add test case
2022-02-25 16:03:22 +08:00
afc163
34a63e6892 chore: merge feature into master 2022-02-23 17:11:11 +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
MadCcc
76ad890deb Merge branch 'master' into feature-merge-master 2022-02-15 14:05:33 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls (#34013) 2022-02-11 15:02:59 +08:00
MadCcc
222ee1f3ad Revert "revert: Revert "Merge branch 'feature' into master" (#33903)"
This reverts commit 6b1a48d5ed.
2022-01-30 15:49:24 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" (#33903)
This reverts commit 40433f357d, reversing
changes made to 27a498e021.
2022-01-30 15:21:41 +08:00
MadCcc
40433f357d
Merge branch 'feature' into master 2022-01-30 14:46:13 +08:00
MadCcc
27a498e021
fix: update dropdown version to 3.2.5 (#33895)
* fix: update dropdown version to 3.2.5

* test: update snapshot
2022-01-30 12:31:35 +08:00
github-actions[bot]
d81ac2d5a9
chore: auto merge branchs (#33823)
chore: sync master into feature
2022-01-24 08:16:00 +00:00
afc163
578aaad7f2 test: fix lint 2022-01-24 11:26:26 +08:00
github-actions[bot]
5a93cc024d
chore: auto merge branchs (#33745)
chore: sync master into feature
2022-01-18 03:16:08 +00:00
yanm1ng
54ef44be97
docs(table): upgrade react-sortable-hoc usage (#33729)
Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com>
2022-01-14 18:50:02 +08:00
Dan Greene
a39ddcf798
feat: resolves issue 33572 re aria-sort on tables (#33603)
* feat: resolves issue 33572 re aria-sort on tables

* fixing snapshots

* removing code that can't be hit anyway
2022-01-11 13:18:42 +08:00
afc163
0976e9e6a4
test: add test case for #33487 (#33492) 2021-12-31 10:44:16 +08:00
afc163
9ec2709b16
Revert "fix: The current change of pagination triggers onChange (#33411)" (#33489)
This reverts commit 629caccaae.
2021-12-30 15:15:00 +08:00
Garrick Crouch
d53e16fe76
docs: Update index.en-US.md (#33464)
provide correct hash link for row selection docs to selection config anchor tag
2021-12-29 11:44:59 +08:00
2724635499
629caccaae
fix: The current change of pagination triggers onChange (#33411)
* fix: table pagination onChange error (#33374)

* test: add  test case for this (#33374)
2021-12-27 21:59:16 +08:00
zombiej
7ae451729f test: update snapshot 2021-12-27 10:58:29 +08:00
zombiej
6ed4d855b1 Merge remote-tracking branch 'origin/master' into feature-merge-master 2021-12-27 10:45:42 +08:00
二货机器人
2df11184f4
test: Demo check popup content (#33378)
* auto demo

* chore: update demo snapshot

* fix: trigger mock ref logic

* chore: try 2 test case

* chore: more snapshot

* chore: update snapshot

* chore: fix ts

* chore: split test

* test: Update test case

* chore: fix test order
2021-12-23 11:51:10 +08:00
二货机器人
ff88851c4c
chore: Bump Select related deps (#33364)
* chore: bump select related version

* test: Fix test case

* chore: bump rc-select version

* test: Update snapshot

* chore: Update Select ts

* test: Update snapshot

* test: Update snapshot

* test: Update snapshot

* chore: Update ts definition

* chore: fix internal ts def

* test: update auto complete snapshot

* chore: update snapshot

* chore: bump version

* chore: fix demo ts

* chore: Move ValueType to the first place

* test: Update test case
2021-12-21 21:38:11 +08:00
xrkffgg
a04a4efc8b
Merge pull request #33163 from ant-design/master
chore: merge master into feature
2021-12-05 15:22:48 +08:00
afc163
b34f72b1b6
test: fix ci warnings (#33160) 2021-12-04 17:06:36 +08:00
afc163
ef8179e6b5 chore: remove react-virtualized from demo 2021-12-04 00:01:20 +08:00
二货机器人
4cc055749d
refactor: Move Table rowSpan & colSpan demo to onCell instead (#33114)
* docs: change doc of span demo

* docs: clear render props
2021-12-02 10:35:18 +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
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 (#32824)
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0

Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases)
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0)

---
updated-dependencies:
- dependency-name: eslint-config-airbnb
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* chore: code style

* memoize-one

* add comment

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* fix lint

* improve useMemo deps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-11-26 12:18:21 +08:00
二货机器人
870b72af88
docs: 4.17.0 changelog (#32859)
* docs: 4.17.0 changelog

* test: Update snapshot

* docs: Update desc

* docs: merge changelog
2021-11-15 19:35:25 +08:00
二货机器人
ce006bd44e
docs: Version Robin (#32830) 2021-11-12 11:46:42 +08:00
Pob Ch
a73f4a324f
docs: Fix the link in Table's API doc (#32779)
- Fix FilterDropdownProps link in table/index.en-US.md
- Fix FilterDropdownProps link in table/index.zh-CN.md
2021-11-08 16:28:16 +08:00
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 (#32609)
* chore(deps): update dependency stylelint to v14

* Update package.json

* fix some stylelint

* fix some stylelint

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

* fix some stylelint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-22 13:35:36 +08:00
二货机器人
2bb9407f5f
chore: table support rowSpan hover (#32557) 2021-10-19 15:27:37 +08:00
renovate[bot]
94b21979e0
chore(deps): update dependency @typescript-eslint/parser to v5 (#32500)
* chore(deps): update dependency @typescript-eslint/parser to v5

* fix md lint

* fix eslint errors

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-15 09:30:56 +08:00
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 (#32451)
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2

Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases)
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2)

---
updated-dependencies:
- dependency-name: stylelint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

* chore: autofix stylelint errors

* chore: autofix stylelint errors

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2021-10-13 15:38:59 +08:00
二货机器人
ec9ecde052
fix: Table ts definition (#32358)
* fix: Table ts definition

* fix: backof default rowKey
2021-09-30 11:43:42 +08:00
Gourav Saini
b786f25918
fix: Table selection arrow get covered by fixed column (#32276)
* added higher z-index to selection column fixes #32268

* suggested changes
2021-09-28 18:36:55 +08:00
xrkffgg
8d407f90dd
style: optimized Table action position in rtl (#32283) 2021-09-24 16:53:13 +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
afc163
4ef0ef5bc5
fix: Table sorter icon should has margin (#32172)
close #32165
2021-09-15 11:07:59 +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
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error (#32063)
* chore: create additional entry

* fix: rm recv call

* chore: Add default.less as index.less

* chore: update entry

* fix: row should also translate

* chore: rename index-default to index and add index-pure instead

* fix: missing transfer customize styl
2021-09-07 16:14:20 +08:00
xrkffgg
3d81a10d61
Merge pull request #32036 from ant-design/master
branch: merge master into feature
2021-09-06 15:25:15 +08:00
Sushant Gulati
4a23e3569f
docs: fix typo in drag-sorting-handler.md (#32035) 2021-09-06 09:45:24 +08:00
二货机器人
04d140d7a6
fix: Table preset SELECTION can modify disabled record (#32027)
* fix: tbl select opt affact disabled

* test: add disabled test case
2021-09-03 19:47:23 +08:00
afc163
9c17f94cab
feat: Table filterMode and filterSearch functions (#31809)
* feat: Table supports filterMode="tree-select"

* add tree component

* fix detail

* use tree

* add @table-filter-dropdown-max-height

* feat: add check all to filter tree

* feat: add search

* feat: use filterTreeNode

* fix code style

* fix style

* style: tree node selected bg

* fix demo

* feat: add filterSearch

* fix: clear search value after close filter dropdown

* update snapshot

* code style

* fix test case

* chore: new FilterDropdown.tsx file

* chore: searchValueMatched function

* add test case

* test: add test cases

* feat: reset only works on dropdown state now

* chore: add table locales

* fix search input width

* tweak style

* style: update transfer search input style

* perf: improve table perf

* fix: filterMuiltiple={false}

* test: add test for selecting

* chore: fix table filter selection

* fix lint

* remove unused code

* fix: style dependencies

* test: turn off bail config for duplidated-package-plugin in feature branch

* Update components/table/hooks/useFilter/FilterSearch.tsx

Co-authored-by: Peach <scdzwyxst@gmail.com>

* fix locale link

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Peach <scdzwyxst@gmail.com>
2021-09-01 10:49:52 +08:00
afc163
7085e22a96 merge feature into master 2021-08-31 13:35:13 +08:00
afc163
af805c098b
test: fix eslint errors (#31961)
* test: fix eslint errors

* test: fix eslint errors
2021-08-30 13:04:21 +08:00
Connor White
ae77287bcb
fix: Revert change to sticky z-index calc (#31874) 2021-08-29 15:51:29 +08:00
afc163
b56f6110fa merge feature into master 2021-08-16 14:42:04 +08:00
afc163
5cb47f76f4
chore: upgrade array-move (#31786) 2021-08-13 17:33:09 +08:00
afc163
a1c550ef7b
docs: Update drag-sorting.md (#31634) 2021-08-03 18:18:38 +08:00
afc163
85935e18c0 chore: merge feature into master 2021-08-02 18:36:27 +08:00
Kim, Harim
71af741173
docs: fix typo dragable to draggable 2021-07-29 19:37:38 +08:00
github-actions[bot]
563ebe1982
chore: auto merge branchs (#31454)
chore: merge master into feature
2021-07-20 07:32:16 +00:00
afc163
c1d52d3b9b
fix: Table sticky header background (#31373)
close #31362
2021-07-13 12:03:19 +08:00
Peach
972e3c2edd
fix: top border of the table summary row (#31363)
* fix: top border of the table summary row (#31337)

* refactor: return to use container box-shadow for summary

* refactor: revert shadow container of table summary
2021-07-13 11:47:30 +08:00
github-actions[bot]
442ef88a91
chore: auto merge branchs (#31308)
chore: sync master into feature
2021-07-08 05:42:19 +00:00
Map1en_
44313997da
fix(Table): incomplete display of the top border of table when the window is small (#31298)
close #31279
2021-07-08 09:39:09 +08:00
xrkffgg
d3405a9add
Merge pull request #31243 from ant-design/master
chore: sync master to feature
2021-07-04 20:00:59 +08:00
Kermit
5ea0628f53
fix(table): selectedRows of rowSelection should always keep sync (#31224)
* fix(table): selectedRows of row selection should always keep sync

* chore: update comment
2021-07-02 13:37:55 +08:00
afc163
4e12007441 demo: update components/table/demo/edit-cell.md 2021-06-30 11:15:12 +08:00
Ricardo Morais
d6b623633a
fix(Table): Fixed filtering in columns with children (#30815)
* Fixed filtering in columns with children.

* Added entries to the changelog files.

* Revert "Added entries to the changelog files."

This reverts commit 26a08bdc

Co-authored-by: moraispgsi <moraispgis@gmail.com>
2021-06-29 17:07:47 +08:00
github-actions[bot]
2cf0d23413
chore: auto merge branchs (#31001)
chore: merge master into feature
2021-06-16 05:29:20 +00:00
afc163
d1bd9093db fix: table resize demo snapshot 2021-06-16 12:04:17 +08:00
github-actions[bot]
2f605218d3
chore: auto merge branchs (#30986)
chore: merge master into feature
2021-06-15 07:19:32 +00:00
afc163
4cdd24f4ec
chore: should use @{table-prefix-cls} (#30983) 2021-06-15 14:52:00 +08:00
afc163
7ae9b947ea
fix: Table fixed column header hover background (#30972)
close #30969
2021-06-14 12:39:45 +08:00
github-actions[bot]
827d34db1f
chore: auto merge branchs (#30926)
chore: sync master into feature
2021-06-09 06:18:09 +00:00
Wendell
748be64337
chore: Table warn about miss matched filter key (#30882)
* fix: warn about miss matched filter key

close #28107

* fix: add sortBy for correct array equal

* fix: fix warning message

* fix: fix lint
2021-06-09 12:19:31 +08:00
afc163
73102377af fix: demo snapshot 2021-06-09 12:09:53 +08:00
afc163
16599d498c
Revert "docs: Update head.md (#30881)" (#30886)
This reverts commit 921315f582.
2021-06-07 11:05:17 +08:00
Diego Villacís
921315f582
docs: Update head.md (#30881) 2021-06-07 10:46:30 +08:00
afc163
8fe1cc9da5 merge feature into master 2021-06-05 13:30:36 +08:00
Kermit
f6b09a79b0
chore(table): optimize select all checkbox display logic (#30811) 2021-06-02 12:15:00 +08:00
afc163
01d126b8d6
fix: Table column title styles (#30799)
* fix: Table column.title onClick

close #30787

* fix: Table ellipsis when has filters or sorters

close #27959
2021-06-01 11:36:56 +08:00
github-actions[bot]
6fa59e718c
chore: auto merge branchs (#30798)
chore: merge master into feature
2021-06-01 02:50:09 +00:00