Commit Graph

999 Commits

Author SHA1 Message Date
afc163
491a20ff58
fix: TreeSelect content being cut due to wrong height calculation (#51567)
Some checks are pending
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-11-11 15:07:15 +08:00
hongzzz
868d344d90
fix: The form item margin should appear below extraDom. (#51254)
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-11-07 18:26:24 +08:00
afc163
8a64ec6a9e chore: merge branch 2024-11-07 16:51:58 +08:00
二货爱吃白萝卜
1c7613b27f
fix: use locale of empty img title (#51368) 2024-10-24 20:48:36 +08:00
afc163
f724fcdc01
chore: upgrade rc-tree and rc-tree-select and rc-cascader (#51251) 2024-10-16 21:17:56 +08:00
Guo Yunhe
015740d1eb
feat(Select): Select supports prefix prop (#51186) 2024-10-16 18:04:38 +08:00
Roman Letodiani💠
10ad31faf2
docs: Update index.en-US.md (#51006) 2024-09-25 10:13:05 +08:00
ice
696c9dde02
fix(button): type=link error token & add prefix cls (color/variant) & specificity too high (#50962) 2024-09-24 23:52:50 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 (#50690)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
𝑾𝒖𝒙𝒉
b6edef3af8
fix(Upload): should support name prop drilling (#50652)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-14 14:38:51 +08:00
lijianan
fa5d758e21
feat: CP should support Splitter className & style (#50855) 2024-09-14 13:57:23 +08:00
afc163
884baa1fad
fix: Modal a11y warning issue (#50823)
close #50170
2024-09-12 10:17:33 +08:00
ice
badfbe3cfe
feat(Button): support variant and color (#50051)
* feat(button): variant & color types

* feat: type -> color/variant

* feat: type -> color/variant

* feat: add variant filled

* test: snap

* refactor(button): rename type -> variant

* docs: add demo

* feat: add danger ghost style

* refactor: remove deprecated

* refactor: eslint

* docs: change color&variant

* test: updated snap

* docs: color-variant

* docs: add debug color&variant

* feat: global token

* refactor: remove comment

* docs: add color&variant docs

* docs: remove default

* docs: add space

* docs: code

* test: update snap

* test: fix snap

* test: btn querySelect

* feat: change filled hoverStyle

* test: fix

* feat: support grey wave

* refactor: enhance

* docs: color/variant -> v 5.21

* test: snap

* feat: add token

* test: to do

* test: fix test

* ci: rebuild

* style: remove

* style: space

* docs: add note & FQA

* feat: add componentsToken

* refactor: remove isNotGrey

* test: add case

* docs: tile button

* test: snap

* docs: site & snap

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

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* fix: token color & undef

* docs: site

* docs: responsive

* docs: enhance FAQ

* docs: gap middle

* test: snap

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/button/style/token.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/button/style/token.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* refactor: rename

* docs: prettier

* chore: eslint

* refactor: cls

* test: add solidTextColor case

* refactor: genVariantButtonStyle

* refactor: genVariantButtonStyle

* refactor: genVariantButtonStyle

* fix: rename

* docs: text

* fix: remove border

* feat: add token colorErrorBgFilledHover

* chore: add size-limit

* refactor: rename

---------

Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2024-09-03 17:39:02 +08:00
Nicolò Zandarin
1cd79e3b0a
fix: Disable the Rate component within Form.Item when the form is disabled (#50594)
Co-authored-by: Nicolò Zandarin <nicolo.zandarin@atroos.com>
2024-08-27 18:56:54 +08:00
thinkasany
4235d117f2
docs(ConfigProvider): improve component config classnames/styles (#50451) 2024-08-16 18:03:22 +08:00
renovate[bot]
7fdfb299eb
chore(deps): update dependency @typescript-eslint/parser to v8 (#50228)
* chore(deps): update dependency @typescript-eslint/parser to v8

* Update package.json

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

* fix eslint errors

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-04 12:24:35 +08:00
ice
2a6d88489d
feat(spin): configProvider support indicator prop (#50183) 2024-08-01 15:07:35 +08:00
二货爱吃白萝卜
832cffcdf9
feat: ColorPicker support gradient color (#50050)
* refactor: support type update

* chore: update clear style

* chore: bump color picker

* chore: use slider

* chore: bump color picker

* chore: range slider

* chore: layout

* chore: useModeColor

* chore: simplify

* chore: bump color picker

* refactor: event

* chore: tmp lock check

* chore: of it

* chore: update ts def

* chore: update ts def

* chore: remove useless ts

* chore: linear

* chore: adjust style

* chore: rm useless code

* chore: fill color

* chore: basic linear

* chore: support toStr

* chore: limit minCount

* chore: use cache

* chore: drag support:

* chore: yes

* chore: update demo

* chore: useLayoutEffect instead

* chore: fix click to add point

* chore: add smmoth

* chore: support of locale

* chore: add locale

* chore: fix lint

* chore: adjust style

* chore: fix lint

* chore: fix style

* test: fix test case

* chore: fix popover

* test: fix test case

* chore: fix test

* test: clean up

* chore: fix lint

* chore: fix lint

* chore: fix lint

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* test: coverage

* chore: fix docs

* docs: update demo desc

* chore: enhance hover range

* fix: delete not working

* chore: fix lint

* test: coverage

* test: coverage

* chore: clean up

* chore: adjust

* chore: highlight

* chore: adjust style

* chore: fix lint

* chore: update demo

* chore: memo perf

* refactor: up to down colors

* test: update snapshot
2024-07-29 16:38:50 +08:00
栗嘉男
049915566d Merge branch 'master' into master-merge-feature 2024-07-29 01:39:20 +08:00
lijianan
e8fa5938ab
site: rewrite with CSS logical properties (#50109)
* site: use CSS logical properties

* Update components/anchor/demo/targetOffset.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

* fix: fix

* chore: fix

* fix: add more

* fix: add more

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-28 10:43:45 +08:00
栗嘉男
d5207c1e23 Merge branch 'master' into feature-merge-master 2024-07-26 10:18:06 +08:00
🏎️ Yumo
b71752ffb0 Merge branch 'master' into refactor/cssinjs-utils 2024-07-24 12:44:44 +08:00
vagusX
38cf5e8a75
docs: unify component export file as index.tsx (#50013)
* docs: unify component export file as index.tsx

* docs: compatible with old anchors

* chore: clean

* test: update snapshot

* fix: window env

---------

Co-authored-by: Peach <scdzwyxst@gmail.com>
2024-07-23 22:22:24 +08:00
🏎️ Yumo
64f26bd970 refactor(theme): migrate and refactor type GlobalToken by @ant-design/cssinjs-utils 2024-07-23 16:45:02 +08:00
github-actions[bot]
0681d6c7a2
chore: auto merge branches (#50005)
chore: merge master into feature
2024-07-22 08:39:11 +00:00
lijianan
2584ce6d50
chore: replace "ant" with defaultPrefixCls (#49985)
* chore: replace ant with defaultPrefixCls

* chore: fix lint
2024-07-20 14:17:11 +08:00
github-actions[bot]
3dcf2cbc58
chore: auto merge branches (#49834)
chore: merge master into feature
2024-07-11 22:07:47 +00:00
lijianan
a96cc5d47e
refactor: use defaultPrefixCls instead ant (#49818) 2024-07-11 14:21:05 +08:00
dd9070998a
docs(Table): add custom empty status demo (#49691)
* chore: fix typo

ref: https://github.com/ant-design/ant-design/issues/49690

* chore: add demo

* chore: update snapshots

* chore: update
2024-07-03 22:54:21 +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
github-actions[bot]
1b9706f22d
chore: auto merge branches (#49609)
chore: sync master to feature
2024-06-26 10:10:48 +00:00
a15fcfa1dc
chore(type): improve TS type definition (#49602) 2024-06-26 12:40:11 +08:00
lijianan
b09913db06
test: update test case code (#49585) 2024-06-25 10:42:19 +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
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
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
github-actions[bot]
3d29c9e2a6
chore: auto merge branches (#49511)
chore: merge master into feature
2024-06-20 02:20:00 +00:00
afc163
fad1497ef7
fix: RangePicker missing arrow (#49333)
* bump rc-picker

* chore: update snapshot

* chore: update snapshot

* fix: arrow style

* fix: arrow transition style

* 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>

* Update package.json

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

* fix: rtl style

* Update package.json

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

* fix rtl style

* chore: update snapshot

* fix rtl style

* Update package.json

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

* Update package.json

Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
2024-06-18 23:59:23 +08:00
叶枫
ee4aff6cb1
feat: add filterOption demo (#49441) 2024-06-17 10:40:36 +08:00
lijianan
31b2e53755
chore: replace "ant-" with ${defaultPrefixCls} (#49390)
* fix: classname of the Radio & Checkbox would not follow CP

* test: add test case

* test: add test case

* test: update path

* fix: fix

* chore: revert

* chore: revert

* chore: revert

* chore: revert

* chore: revert
2024-06-15 15:41:58 +08:00
Wanpan
329a346473
fix: Collapse expandIcon aria-label adds semantic attribute value (#49395)
* fix: Collapse expandIcon aria-label adds semantic attribute value

* test: update snap

* test: update test case

* test: update snap
2024-06-13 15:14:48 +08:00
二货爱吃白萝卜
0352b2fd2e
feat: Spin support percent (#48657)
* feat: spin support ptg

* chore: ptg

* chore: update demo

* chore: popout component

* chore: adjust logic

* test: update snapshot

* test: update snapshot

* docs: update docs

* test: update snapshot

* test: update snapshot

* test: update snapshot

* chore: back of snapshot

* chore: clean up

* test: fix test case

* chore: fix types

* test: update snapshot

* chore: opt

* test: update testcase

* test: coverage

* test: update snapshot
2024-06-03 11:30:27 +08:00
Wanpan
f3000ed746
feat: list.item support styles & classNames (#49154)
* feat: list.item support styles

* feat: update

* feat: update

* feat: optimized code

* feat: adding classNames

* feat: supprt ConfigProvider styles classNames

* Update components/list/Item.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* chore: update type

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-06-03 11:24:39 +08:00
afc163
38050d6ada
Merge pull request #49145 from ant-design/master
chore: feature merge master
2024-05-31 12:20:03 +08:00
ice
e0786bac27
type: remove unnecessary types (#49146) 2024-05-31 10:14:37 +08:00
LonelySnowman
5098e6e209
feat: progress add inside and bottom text position (#48157)
* feat: progress add inside and bottom text position

* feat: change progress percent position api

* fix: change to follow coding standards

* docs: reset i18n zh file

* fix: change to follow coding standards

* fix: change to follow coding standards

* docs: reset i18n file

* fix: change to follow coding standards

* docs: reset i18n file

* feat: progress inner text get brighten color

* feat: update progress snapshots

* fix: progress bottom layout center

* feat: update steps snapshots

* feat: update progress snapshots

* feat: update config provider snapshots

* feat: progress inner text add negate color

* feat: update progress snapshots

* feat: progress inner text add light bg color

* feat: progress inner text add light bg color

* feat: change progress percentPosition api

* feat: change progress component test

* feat: update progress line component snapshot

* feat: progress component outer start layout text adapt

* feat: progress line change to flex layout

* feat: update progress snapshots

* feat: update progress line style

* feat: update progress line style

* fix: progress line reset height use inline block

* fix: change progress is line type

* fix: change progress is line type

* fix: delete progress outer styles

* fix: change progress line type layout

* fix: progress add outer style

* feat: update progress snapshots

* fix: change progress text bright color

* fix: optimized code volume

* fix: progress delete after style on inner layout

* fix: update progress test file

---------

Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-05-10 10:22:32 +08:00
thinkasany
b6b96d2d1d
demo(ConfigProvider): replace 'popupPlacement' and 'TabPane' (#48797) 2024-05-07 12:18:24 +08:00
lijianan
ba5f9fe2f8
Merge pull request #48677 from ant-design/master
chore: merge master into feature
2024-04-28 14:02:49 +08:00