Commit Graph

28195 Commits

Author SHA1 Message Date
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
MadCcc
a5d308b408
feat: select sort support search (#49352)
* feat: select filter support sort param

* docs: update demo to fix lint

---------

Co-authored-by: 闲夕 <shizexian.szx@antgroup.com>
2024-06-21 09:52:07 +08:00
github-actions[bot]
a873ed7755
chore: upgrade deps (#49532)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-06-21 02:44:15 +08:00
lijianan
666f38d756
refactor: add ContextIsolator component (#49438)
* refactor: add ContextIsolator component

* fix: fix

* fix: fix

* test: fix test case

* test: add test case

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-06-21 02:10:21 +08:00
RoxanneF
4b08667a3f
docs: fix progress text (#49530) 2024-06-20 23:34:13 +08:00
Mateusz Wierzbicki
c4a258c16c
docs: Update resources.en-US.md (#49522)
Signed-off-by: Mateusz Wierzbicki <wierzbicki.mateusz27@gmail.com>
2024-06-20 15:36:12 +08:00
叶枫
5e4019f90d
chore: fix table ajax demo (#49513)
* chroe: fix table ajax demo

* chroe: demo

* feat: deps 写法

* feat: add filters

* feat: remvoe console

* Update components/table/demo/ajax.tsx

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-20 15:07:32 +08:00
duqigit
b7208603ee
docs: update zh-CN demo ref link (#49501)
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-06-20 14:22:00 +08:00
Wanpan
73f7b80388
docs: update zh-CN demo ref link (#49500) 2024-06-20 14:21:08 +08:00