Commit Graph

26610 Commits

Author SHA1 Message Date
红果汁
fc5610653e
feat: Implement optionRender API (#45529)
* feat: implement optionRender api

* chore: bump rc-cascader

* chore: bump rc-tree-select

* docs: update demo

* Update components/select/demo/option-render.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* Update components/select/demo/option-render.md

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

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

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>

* docs: fix doc

* test: update snap

* docs: rename prop

---------

Signed-off-by: 红果汁 <pingfj77@gmail.com>
Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-31 10:26:53 +08:00
陈帅
768504d83f
docs: add 5.10.3 changelog (#45578)
* docs: add changelog

* docs: add changelog

* add

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 陈帅 <qixian.cs@outlook.com>

* add

* add

* fix lint

* add

---------

Signed-off-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-10-30 19:57:36 +08:00
afc163
67c8e8b259
demo: simplify demos (#45585) 2023-10-30 15:02:00 +08:00
MadCcc
31393135a0
fix: optimize TimePicker scrollbar style (#45586) 2023-10-30 14:48:15 +08:00
afc163
7e284736a8
demo: improve popconfirm/popover/tootlip placement demo code style (#45581) 2023-10-30 13:57:57 +08:00
afc163
2dbc6abce8
style: fix Typography code broken border when ellipsis (#45575) 2023-10-30 10:02:02 +08:00
Amumu
ee311ac05d
chore: bump rc-* (#45579) 2023-10-30 09:50:45 +08:00
lijianan
77f16cf5b1
type: unlock @types/react version (#45573)
* chore: Unlock @types/react & typescript version

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-10-29 15:22:35 +08:00
KotoriK
1b0c6be4b4
chore(jest): transformIgnorePatterns break on Windows or with pnpm (#45557)
* chore(jest): ignore rules break on Windows or with pnpm

* Update .jest.js

Co-authored-by: Amumu <yoyo837@hotmail.com>
Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>

* Update .jest.js

Co-authored-by: Amumu <yoyo837@hotmail.com>
Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>

---------

Signed-off-by: KotoriK <52659125+KotoriK@users.noreply.github.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
2023-10-29 14:53:59 +08:00
lijianan
99d7bcfd04
docs: Update Next.js documentation (#45574)
* site: Update Next.js documentation

* Update use-with-next.en-US.md

Signed-off-by: lijianan <574980606@qq.com>

* Update use-with-next.zh-CN.md

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-10-29 14:51:39 +08:00
github-actions[bot]
cd60418531
chore: auto merge branches (#45572)
chore: merge master into feature
2023-10-29 06:41:04 +00:00
栗嘉男
661f3e8323 Merge branch 'master' into feature-merge-master 2023-10-29 14:04:47 +08:00
renovate[bot]
b61cb0163d
chore(deps): update dependency size-limit to v10 (#45571)
* chore(deps): update dependency size-limit to v10

* Update package.json

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-10-29 13:45:20 +08:00
renovate[bot]
c930ac5618
chore(deps): update cimg/node docker tag to v21.1 (#45568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 13:02:40 +08:00
lijianan
4b99c4ed31
demo: update Button demo layout to Flex Component (#45566) 2023-10-29 02:11:17 +08:00
Tao Zhou
a559a90049
docs: fix minor errors and improve readability (#45565)
* docs: improve readability in use-with-umi.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in introduce.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in getting-started.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix typos in customize-theme.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in compatible-style.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in contributing.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

---------

Signed-off-by: Tao Zhou <taozhou@umich.edu>
2023-10-28 12:47:44 +08:00
George H
8c45c73222
style(data-picker): add time-picker scrollbar styles (#45478)
* style(data-picker): add time-picker scrollbar styles

Signed-off-by: George H <default_hyn@163.com>

* style(data-picker): add time-picker scrollbar styles

Signed-off-by: George H <default_hyn@163.com>

* style(time-picker) :Compatible with firefox

---------

Signed-off-by: George H <default_hyn@163.com>
2023-10-27 10:17:17 +08:00
afc163
670cdf4ed9
docs: Update Table sorter description (#45552)
* docs: Update Table sorter description

Signed-off-by: afc163 <afc163@gmail.com>

* Update index.zh-CN.md

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-10-26 22:32:10 +08:00
Leslie Wu
e9dcc4fea3
docs: update doc for table sorter (#45548)
Co-authored-by: leslie-home <wwwsuonggg@gmail.com>
2023-10-26 21:51:25 +08:00
dependabot[bot]
b4ec2e7f59
chore(deps-dev): bump @types/react from 18.2.31 to 18.2.33 (#45545)
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.31 to 18.2.33.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 21:21:06 +08:00
lijianan
017c04c8a3
feat: BackTop ref support nativeElement (#45547) 2023-10-26 21:00:35 +08:00
MadCcc
2dbcd200db
feat: Pagination support combine simple and pageSizeChanger (#45538) 2023-10-26 16:15:18 +08:00
MadCcc
62bb2faae9
fix: add default value for gap (#45537) 2023-10-26 15:49:15 +08:00
kyriewen
5a45276565
feat: Add useMultipleSelect hooks, transfer supports multiple select by holding down the shift key. (#45285)
* feat: add useMultipleSelect hooks

* docs: update README

* chore: update size limit

* refactor:  prevSelectedIndex ref to state、initial value

* refactor: useMultipleSelect

* refactor: reset last select key after deselect

* chore: useMultipleSelect params type

* refactor: should params key be in useMultipleSelect hooks

* feat: getKey must be required

* chore: useless code

* refactor: remove useless code

* feat: onItemSelect params event must be required

* feat: remove params event

* chore: remove onItemSelect params event; refactor transfer listBody onClick fnName

* revert(modal): revert modal demo dark

* refactor: props onItemSelect

* refactor: onItemSelect fn name

* refactor: transfer children type

* refactor: renderList props

* test: add test case

* chore: args -> arguments

* test(transfer): add test case

---------

Signed-off-by: kyriewen <64134946+zbw-zbw@users.noreply.github.com>
Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
2023-10-26 11:46:22 +08:00
Vyacheslav Sedykh
f3cf13a466
fix(Dropdown): Prevented closing if menu is in multiple mode (#45513)
* fix(Dropdown): Prevented closing if menu is in multiple mode

* Update components/dropdown/dropdown.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: Vyacheslav Sedykh <zlav24va@mail.ru>

* test: Added test for dropdown in multiple mode

---------

Signed-off-by: Vyacheslav Sedykh <zlav24va@mail.ru>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-26 10:21:54 +08:00
dependabot[bot]
41b34091b9
chore(deps-dev): bump @argos-ci/core from 0.12.0 to 1.0.0 (#45531)
Bumps [@argos-ci/core](https://github.com/argos-ci/argos-javascript/tree/HEAD/packages/core) from 0.12.0 to 1.0.0.
- [Release notes](https://github.com/argos-ci/argos-javascript/releases)
- [Changelog](https://github.com/argos-ci/argos-javascript/blob/main/packages/core/CHANGELOG.md)
- [Commits](https://github.com/argos-ci/argos-javascript/commits/@argos-ci/core@1.0.0/packages/core)

---
updated-dependencies:
- dependency-name: "@argos-ci/core"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-25 23:19:16 +08:00
afc163
15acef53d7
chore: tweet when release is published (#45526) 2023-10-25 18:45:10 +08:00
kiner-tang(文辉)
90c4fab779
Merge pull request #45512 from ant-design/refactor-z-index-context
feat: Support zIndexContext to manage popup's zIndex in Pop-up container
2023-10-25 15:57:34 +08:00
MadCcc
6a525ccbec
docs: fix banner blur (#45504) 2023-10-25 10:54:42 +08:00
Tao Zhou
2e9354c3b3
docs: fix minor errors and improve readability (#45514)
* docs: replace an abbreviation with a better word in direct.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in lightweight.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: replace unnecessary abbreviations with translations in invitation.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix a typo, remove an extra space and replace an unnecessary abbreviation in transition.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in visualization-page.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix a typo and improve readability in detail-page.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in research-form.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in research-list.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix a typo in research-result.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix a wrong img tag in research-navigation.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: improve readability in research-empty.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix punctuation inconsistency and improve readability in visual.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix typos and improve readability in motion.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix punctuation errors and improve readability in illustration.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

---------

Signed-off-by: Tao Zhou <taozhou@umich.edu>
2023-10-25 09:30:25 +08:00
kiner-tang(文辉)
bceb2e2504 Merge branch 'feature' into refactor-z-index-context 2023-10-24 22:28:30 +08:00
kiner-tang(文辉)
de442ca964
feat: menu support z-index manager (#45498)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

* feat: DatePicker & TimePicker support z-index manager

* feat: menu support z-index manager

* feat: update snap

* feat: update snap

* feat: update snap

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 22:25:32 +08:00
kiner-tang(文辉)
3ec0ec23ee
feat: DatePicker & TimePicker support z-index manager (#45497)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

* feat: DatePicker & TimePicker support z-index manager

* feat: update snap

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 21:54:36 +08:00
kiner-tang(文辉)
e7109d31b0
feat: ColorPicker support z-index manager (#45496)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

* feat: ColorPicker support z-index manager

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 21:17:16 +08:00
afc163
8ffa721412
chore: IconSearch ts errors (#45506)
* chore: IconSearch ts errors

* Apply suggestions from code review

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
2023-10-24 16:11:01 +08:00
AlanQtten
41fabbc0be
chore: remove useless code in Form (#45295)
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-24 16:05:45 +08:00
Zhou Bill
a29a0796ae
feat: columnTitle render props (#41937)
* feat: columnTitle render props

* feat: 添加测试

* docs: 修改table rowSelection interface

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-24 16:05:29 +08:00
kiner-tang(文辉)
3cb273803b
feat: SelectLike components support z-index manager (#45494)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code

* feat: SelectLike components support z-index manager

* feat: ColorPicker support z-index manager

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
2023-10-24 11:49:30 +08:00
Tao Zhou
bc7853eb2d
docs: fix minor errors and improve readability (#45505)
* docs: fix some grammatical mistakes in values.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix punctuation inconsistency and improve readability in icon.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix punctuation errors in shadow.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix punctuation inconsistency in overview.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix an incorrect example in data-format.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: fix punctuation inconsistency and typos in copywriting.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

* docs: add spaces around ampersand and fix punctuation inconsistency in buttons.zh-CN.md

Signed-off-by: Tao Zhou <taozhou@umich.edu>

---------

Signed-off-by: Tao Zhou <taozhou@umich.edu>
2023-10-24 11:04:46 +08:00
Tao Zhou
355793c1ec
docs: fix some grammatical mistakes in introduce.zh-CN.md (#45503)
Signed-off-by: Tao Zhou <taozhou@umich.edu>
2023-10-24 10:39:30 +08:00
Chen_Z
d04e9efe16
feat: config-provider support rangePicker className and style (#45479)
* feat: config-provider support rangePicker className and style properties

* test: add rangepicker className & style test

* chore: change props  verison

* feat:RangePicker className and style properties

---------

Co-authored-by: lijianan <574980606@qq.com>
2023-10-24 00:57:38 +08:00
github-actions[bot]
2940f626d4
chore: auto merge branches (#45501)
chore: merge master into feature
2023-10-23 16:26:10 +00:00
MadCcc
91f77ee6b7
fix: notification blur (#45500) 2023-10-23 23:30:42 +08:00
MadCcc
67165a78fc
docs: live demo (#45383)
* docs: live demo

* chore: bump dumi

* chore: fix lint

* chore: fix lint

* chore: update demo

* chore: bump dumi

* docs: enhance live demo

* docs: update text
2023-10-23 22:49:49 +08:00
lijianan
c41eb668e8
chore: update size-limit (#45499) 2023-10-23 21:43:40 +08:00
kiner-tang(文辉)
6d9db9fd99
feat: dropdown support z-index manager (#45486)
* feat: dropdown support z-index manager

* feat: update snap

* feat: optimize code
2023-10-23 06:46:08 -05:00
kiner-tang(文辉)
e7402691c1
feat: z-index container opt (#45490)
* feat: container opt

* feat: container opt

* feat: container opt

* feat: container opt
2023-10-23 04:16:41 -05:00
MadCcc
5f50a9e92a
fix: notification duplicate style (#45487) 2023-10-23 16:32:40 +08:00
afc163
9dd9db079b
chore: fix banner style in safari (#45485) 2023-10-23 15:02:51 +08:00
kiner-tang(文辉)
a340566cd3
feat: update document about modal (#45483) 2023-10-23 11:19:46 +08:00