Commit Graph

28053 Commits

Author SHA1 Message Date
Pinaki Raj
218e1cea3d
feat: adding variant props to divider (#49654)
The divider border style can be either solid, dashed or
dotted based on the variant props. The default value is
solid.

Signed-off-by: Pinaki Raj <pinakiraj15@gmail.com>
2024-07-01 23:17:48 +08:00
800c3fcbdb
feat(table-filter): support custom Empty (#49613)
* fix: Table empty node in filter dropdown not following ConfigProvider renderEmpty (#49548)

* 修复自定义全局组件,过滤里面没有生效

* 新增测试用例

* 重新提交测试用例

* 测试用例添加断言判断

* update Table.filter.test.tsx

* commit snapshot

* update Table.filter.test.tsx

* update Table.filter.test.tsx

* update Table.filter.test.tsx

(cherry picked from commit 7790934b0b)

* chore: update case

* feat(table-filter): support custom Empty

* chore(type): improve TS type definition (#49602)

(cherry picked from commit a15fcfa1dc)

* fixup! feat(table-filter): support custom Empty

* Squashed commit of the following:

commit 1b9706f22d
Merge: e76e386966 cc54bef826
Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Date:   Wed Jun 26 10:10:48 2024 +0000

    chore: auto merge branches (#49609)

    chore: sync master to feature

commit cc54bef826
Author: 照明胧 <25151442+mmmml-zhao@users.noreply.github.com>
Date:   Wed Jun 26 14:19:22 2024 +0800

    fix: The emptyText field of the table (#49599)

    * fix: The emptyText field of the table
    when emptyText is null

    * test: update test case(#49599)

commit ff7fea18f3
Author: afc163 <afc163@gmail.com>
Date:   Wed Jun 26 12:40:24 2024 +0800

    Revert "bug: fix-table-bug ref filters" (#49600)

    This reverts commit 7790934b0b.

commit a15fcfa1dc
Author: 红 <wxh1220@gmail.com>
Date:   Wed Jun 26 12:40:11 2024 +0800

    chore(type): improve TS type definition (#49602)

commit 9ce5cbcf64
Author: Andrey <aaa144855@gmail.com>
Date:   Wed Jun 26 06:05:39 2024 +0300

    fix: remove redundant transformations in ```UploadList```, which led to decrease in performance (#49598)

    * fix: remove unnecessary transformations for upload list with previews

    * chore: revert miss convert

    ---------

    Co-authored-by: 二货机器人 <smith3816@gmail.com>

commit 4145305b16
Author: MadCcc <madccc@foxmail.com>
Date:   Tue Jun 25 16:59:30 2024 +0800

    docs: fix site FOUC (#49595)

commit 44e96b7b06
Author: enhongchen <106970098+enhongchen@users.noreply.github.com>
Date:   Tue Jun 25 14:24:14 2024 +0800

    docs: Update use-with-rsbuild.zh-CN.md (#49592)

    https://ant.design/docs/react/use-with-rsbuild-cn?theme=happy-work#%E5%AE%89%E8%A3%85%E5%92%8C%E5%88%9D%E5%A7%8B%E5%8C%96

    Signed-off-by: enhongchen <106970098+enhongchen@users.noreply.github.com>

commit 6a0af781d1
Author: 红 <wxh1220@gmail.com>
Date:   Tue Jun 25 13:34:28 2024 +0800

    chore: improve tabs demo (#49590)

    ref: https://docs.dndkit.com/presets/sortable#collision-detection-algorithm

commit 7127603b76
Author: Tantatorn Suksangwarn <timefear007@gmail.com>
Date:   Tue Jun 25 12:32:59 2024 +0700

    fix: add missing Thai translations (#49588)

commit 7790934b0b
Author: duqigit <916475145@qq.com>
Date:   Tue Jun 25 10:44:43 2024 +0800

    fix: Table empty node in filter dropdown not following ConfigProvider renderEmpty (#49548)

    * 修复自定义全局组件,过滤里面没有生效

    * 新增测试用例

    * 重新提交测试用例

    * 测试用例添加断言判断

    * update Table.filter.test.tsx

    * commit snapshot

    * update Table.filter.test.tsx

    * update Table.filter.test.tsx

    * update Table.filter.test.tsx

commit b09913db06
Author: lijianan <574980606@qq.com>
Date:   Tue Jun 25 10:42:19 2024 +0800

    test: update test case code (#49585)

commit b420c57354
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Tue Jun 25 10:39:47 2024 +0800

    chore(deps): bump oven-sh/setup-bun from 1 to 2 (#49578)

    Bumps [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun) from 1 to 2.
    - [Release notes](https://github.com/oven-sh/setup-bun/releases)
    - [Commits](https://github.com/oven-sh/setup-bun/compare/v1...v2)

    ---
    updated-dependencies:
    - dependency-name: oven-sh/setup-bun
      dependency-type: direct:production
      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>

commit a81603d720
Author: afc163 <afc163@gmail.com>
Date:   Mon Jun 24 13:33:56 2024 +0800

    docs: fix nav menu cannot click (#49569)

* chore: remove

* test: add more unit test

* chore: lint

* chore: fix legacy16 bug

* chore: update logic

* test: update unit test

---------

Co-authored-by: duqigit <916475145@qq.com>
2024-07-01 17:47:59 +08:00
陈帅
09b86845a7
Revert "feat: Add okButtonProps to time picker (#49657)" (#49663)
This reverts commit 6c656c85f7.

Co-authored-by: 二货爱吃白萝卜 <smith3816@gmail.com>
2024-07-01 15:23:07 +08:00
lijianan
a8e739848e
Merge pull request #49659 from ant-design/master
merge master to feature
2024-07-01 00:18:21 +08:00
陈帅
b243d1d3e2
Merge branch 'feature' into master 2024-06-30 08:56:53 -07:00
Tantatorn Suksangwarn
6c656c85f7
feat: Add okButtonProps to time picker (#49657)
* feat: add `okButtonProps` to pickers' props

* doc: add okButtonProps to date, time picker documentation

* test: add new test case for TimePicker
2024-06-30 23:17:14 +08:00
Pinaki Raj
158ff27cf9
test: adding the testcase for dashed props of Divider (#49653)
Signed-off-by: Pinaki Raj <pinakiraj15@gmail.com>
2024-06-30 17:09:51 +08:00
renovate[bot]
5021b4181f
chore(deps): update dependency pixelmatch to v6 (#49656)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 14:25:21 +08:00
afc163
e71b223523
chore: remove @types/ora (#49650)
This is a stub types definition. ora provides its own type definitions, so you do not need this installed.

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-29 13:13:50 +08:00
afc163
1050541c0a
fix: Dropdown should respect trigger's disabled prop (#47363)
* fix: Dropdown should respect trigger's disabled prop

* chore: update code

* Update components/dropdown/dropdown.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-29 12:46:03 +08:00
afc163
b419f10460
chore: add pkg.pr.new (#49647)
* Create pkg.pr.new.yml

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

* Update pkg.pr.new.yml

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

* Update pkg.pr.new.yml

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

* Update pkg.pr.new.yml

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

* Update .github/workflows/pkg.pr.new.yml

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-29 11:27:56 +08:00
Wanpan
c4928586af
chore: InputNumber add usage tips (#49648) 2024-06-28 23:19:58 +08:00
afc163
7dd7f714f3
style: Slider tweak active handler style (#49630)
* style: Slider add outline to active handler

* Apply suggestions from code review

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-28 22:10:15 +08:00
Wanpan
abe483d7d0
fix(dropdown): Modify the initialization style (#49643) 2024-06-28 20:34:51 +08:00
github-actions[bot]
dccb38d747
chore: auto merge branches (#49639)
chore: sync master to feature
2024-06-28 08:17:32 +00:00
afc163
8e3cbfe018
chore: ignore generate-token-meta warning (#49637) 2024-06-28 15:02:59 +08:00
Hannnnnnnnnnnnnnnn
f6c01fef84
fix: Tour nl_NL locales (#49612) 2024-06-28 13:41:37 +08:00
Jinbao1001
3952fd8312
fix: dom crash with ssr hydrate error (#49576)
* fix: ssr hydrate error

* deps: lock react and react-dom

* chore: script react/react-dom --nosave

* chore(deps): update dumi version

* chore: back #49595

* chore(deps): update dumi
2024-06-28 10:26:05 +08:00
二货爱吃白萝卜
3e98f7cf47
fix: typography ellipsis button style (#49620) 2024-06-27 16:54:57 +08:00
gin-lsl
381df56fd8
docs: fix pro-components link broken (#49614) 2024-06-27 11:34:03 +08:00
二货爱吃白萝卜
8890eff05e
ehance: borderless status (#49608)
* fix: borderless status

* test: update snapshot
2024-06-26 21:35:12 +08:00
github-actions[bot]
1b9706f22d
chore: auto merge branches (#49609)
chore: sync master to feature
2024-06-26 10:10:48 +00:00
照明胧
cc54bef826
fix: The emptyText field of the table (#49599)
* fix: The emptyText field of the table
when emptyText is null

* test: update test case(#49599)
2024-06-26 14:19:22 +08:00
afc163
ff7fea18f3
Revert "bug: fix-table-bug ref filters" (#49600)
This reverts commit 7790934b0b.
2024-06-26 12:40:24 +08:00
a15fcfa1dc
chore(type): improve TS type definition (#49602) 2024-06-26 12:40:11 +08:00
Andrey
9ce5cbcf64
fix: remove redundant transformations in ``UploadList``, which led to decrease in performance (#49598)
* fix: remove unnecessary transformations for upload list with previews

* chore: revert miss convert

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-06-26 11:05:39 +08:00
ice
e76e386966
feat(Pagination): simple prop extend to object & add align prop (#49562)
* feat(pagination): simple prop extend to object

* feat(pagination): add align prop

* Update components/pagination/Pagination.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* refactor: remove useless types

* refactor(List): align prop

---------

Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-25 21:27:11 +08:00
MadCcc
4145305b16
docs: fix site FOUC (#49595) 2024-06-25 16:59:30 +08:00
enhongchen
44e96b7b06
docs: Update use-with-rsbuild.zh-CN.md (#49592)
https://ant.design/docs/react/use-with-rsbuild-cn?theme=happy-work#%E5%AE%89%E8%A3%85%E5%92%8C%E5%88%9D%E5%A7%8B%E5%8C%96

Signed-off-by: enhongchen <106970098+enhongchen@users.noreply.github.com>
2024-06-25 14:24:14 +08:00
6a0af781d1
chore: improve tabs demo (#49590)
ref: https://docs.dndkit.com/presets/sortable#collision-detection-algorithm
2024-06-25 13:34:28 +08:00
Tantatorn Suksangwarn
7127603b76
fix: add missing Thai translations (#49588) 2024-06-25 13:32:59 +08:00
duqigit
7790934b0b
fix: Table empty node in filter dropdown not following ConfigProvider renderEmpty (#49548)
* 修复自定义全局组件,过滤里面没有生效

* 新增测试用例

* 重新提交测试用例

* 测试用例添加断言判断

* update Table.filter.test.tsx

* commit snapshot

* update Table.filter.test.tsx

* update Table.filter.test.tsx

* update Table.filter.test.tsx
2024-06-25 10:44:43 +08:00
lijianan
b09913db06
test: update test case code (#49585) 2024-06-25 10:42:19 +08:00
dependabot[bot]
b420c57354
chore(deps): bump oven-sh/setup-bun from 1 to 2 (#49578)
Bumps [oven-sh/setup-bun](https://github.com/oven-sh/setup-bun) from 1 to 2.
- [Release notes](https://github.com/oven-sh/setup-bun/releases)
- [Commits](https://github.com/oven-sh/setup-bun/compare/v1...v2)

---
updated-dependencies:
- dependency-name: oven-sh/setup-bun
  dependency-type: direct:production
  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>
2024-06-25 10:39:47 +08:00
afc163
a81603d720
docs: fix nav menu cannot click (#49569) 2024-06-24 13:33:56 +08:00
github-actions[bot]
ee40b3d44b
chore: auto merge branches (#49564)
chore: merge master into feature
2024-06-23 07:51:56 +00:00
renovate[bot]
1a5308a826
chore(deps): update dependency typescript to ~5.5.0 (#49559)
* chore(deps): update dependency typescript to ~5.5.0

* fix: fix lint error

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 栗嘉男 <574980606@qq.com>
2024-06-23 14:57:41 +08:00
renovate[bot]
2af11fa862
chore(deps): update dependency typedoc to ^0.26.0 (#49558)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-23 12:24:17 +08:00
kiner-tang
87d85c2c19
chore: update contributors.json (#49560) 2024-06-23 12:23:48 +08:00
lijianan
2b629ef391
type: rm useless type of reducer (#49555)
* type: rm useless type of reducer

* Update components/_util/ActionButton.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-06-22 23:57:39 +08:00
github-actions[bot]
05d107ce4d
chore: auto merge branches (#49556)
chore: sync master to feature
2024-06-22 15:30:17 +00:00
afc163
59ad48476b
refactor: add boime lint and fix lint errrors (#49536)
* chore: add boime lint

* fix lint

* use files ignore

* revert change

* ignore clarity.js

* fix some errors

* fix some errors

* fix some errors

* fix some errors

* add yml file

* Update clarity.js

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

* add npm run lint:biome

* add npm run lint:biome

* fix test case

* fix ts errors

* fix ts errors

* fix lint and add .lintstagedrc

* shorten prop name

* chore: update package.json

* update biome.json

* chore: remove stylelint

* chore: useOptionalChain

* fix lint

* biome format

* prettier all code

* prettier all code

* fix site test

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-22 21:59:12 +08:00
kiner-tang
d8c98e18ab
demo: Add svg qrcode download demo (#49553)
* feat: add download qrcode when render type is svg

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: optimize code
2024-06-22 17:33:06 +08:00
afc163
c5114b3f87
docs: fix change-log button position (#49552)
* docs: fix changelog button position

* fix lint
2024-06-22 16:51:41 +08:00
dependabot[bot]
7e74c79bdd
chore(deps-dev): bump @octokit/rest (#49545)
* chore(deps-dev): bump the dev-dependencies group with 4 updates

Bumps the dev-dependencies group with 4 updates: [@antv/g6](https://github.com/antvis/g6), [@octokit/rest](https://github.com/octokit/rest.js), [eslint-plugin-lodash](https://github.com/idok/eslint-plugin-lodash) and [typescript](https://github.com/Microsoft/TypeScript).


Updates `@antv/g6` from 4.8.24 to 5.0.2
- [Release notes](https://github.com/antvis/g6/releases)
- [Changelog](https://github.com/antvis/G6/blob/v5/CHANGELOG.md)
- [Commits](https://github.com/antvis/g6/commits)

Updates `@octokit/rest` from 20.1.1 to 21.0.0
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v20.1.1...v21.0.0)

Updates `eslint-plugin-lodash` from 7.4.0 to 8.0.0
- [Changelog](https://github.com/idok/eslint-plugin-lodash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/idok/eslint-plugin-lodash/commits/v8.0.0)

Updates `typescript` from 5.4.5 to 5.5.2
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.2)

---
updated-dependencies:
- dependency-name: "@antv/g6"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: "@octokit/rest"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-lodash
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

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

* Update package.json

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

* Update package.json

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

* Update package.json

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-22 16:26:37 +08:00
afc163
d329fc3ac1
chore: revert to dumi 2.3.x (#49550)
* chore: turn off mako build

* chore: revert to dumi 2.3.x
2024-06-22 15:39:23 +08:00
MadCcc
010f82bd1a
feat: ConfigProvider support variant (#49535)
* feat: ConfigProvider support variant

* docs: add docs for variant

* feat: support config all components variant

* chore: fix lint

* chore: add test

* test: add test
2024-06-21 17:47:09 +08:00
thinkasany
1b3c25af9a
chore(style): backticks to single quotes (#49540) 2024-06-21 15:50:01 +08:00
kiner-tang
ff12f47d18
feat: use rc-qrcode instead of qrcode.react (#49454)
* feat: use rc-qrcode instead of qrcode.react

* feat: optimize code

* feat: update test case

---------

Signed-off-by: kiner-tang <1127031143@qq.com>
2024-06-21 11:42:21 +08:00
Jinbao1001
bd40dec8d9
fix: link crossorigin use anonymous instead of bool true (#49525) 2024-06-21 10:10:27 +08:00