Commit Graph

1428 Commits

Author SHA1 Message Date
Wanpan
32ac8e874d Merge branch feature into next-merge-feature 2025-01-14 10:33:19 +08:00
Guo Yunhe
d7512d5190
feat: add label classname for Checkbox & Radio (#52322)
Co-authored-by: thinkasany <480968828@qq.com>
2025-01-13 15:02:51 +08:00
Jony J
97849d969e
chore(deps): add @rc-component/tooltip and remove rc-tooltip from dependencies (#52352)
* chore(deps): add @rc-component/tooltip and remove rc-tooltip from dependencies

* test: update snapshot
2025-01-13 11:47:22 +08:00
github-actions[bot]
d4f5e911b5
chore: auto merge branches (#52372)
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
chore: merge master into feature
2025-01-12 16:08:57 +00:00
github-actions[bot]
90f86844da
chore: auto merge branches (#52373)
Some checks are pending
Publish Any Commit / build (push) Waiting to run
✅ test v6 / lint (push) Waiting to run
✅ test v6 / test-react-legacy (18, 1/2) (push) Waiting to run
✅ test v6 / test-react-legacy (18, 2/2) (push) Waiting to run
✅ test v6 / test-node (push) Waiting to run
✅ test v6 / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test v6 / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test v6 / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test v6 / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test v6 / test-coverage (push) Blocked by required conditions
✅ test v6 / build (push) Waiting to run
✅ test v6 / test lib/es module (es, 1/2) (push) Waiting to run
✅ test v6 / test lib/es module (es, 2/2) (push) Waiting to run
✅ test v6 / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test v6 / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
chore: merge master into next
2025-01-12 16:08:48 +00:00
afc163
e8cf2acf8e
fix: DatePicker prev/next buttons should be hidden when value is null (#52327) 2025-01-10 16:23:38 +08:00
Jony J
1fe4dab6e6
chore: update rc-tooltip version to 6.4.0 in package.json (#52293)
Some checks failed
Publish Any Commit / build (push) Has been cancelled
🔀 Sync mirror to Gitee / mirror (push) Has been cancelled
✅ test / lint (push) Has been cancelled
✅ test / test-react-legacy (16, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (16, 2/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 1/2) (push) Has been cancelled
✅ test / test-react-legacy (17, 2/2) (push) Has been cancelled
✅ test / test-node (push) Has been cancelled
✅ test / test-react-latest (dom, 1/2) (push) Has been cancelled
✅ test / test-react-latest (dom, 2/2) (push) Has been cancelled
✅ test / build (push) Has been cancelled
✅ test / test lib/es module (es, 1/2) (push) Has been cancelled
✅ test / test lib/es module (es, 2/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 1/2) (push) Has been cancelled
✅ test / test lib/es module (lib, 2/2) (push) Has been cancelled
👁️ Visual Regression Persist Start / test image (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist, 2/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Has been cancelled
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Has been cancelled
✅ test / test-coverage (push) Has been cancelled
* chore: update rc-tooltip version to 6.4.0 in package.json

* chore: trigger CI build

* test: update snapshot

* chore: trigger CI build
2025-01-08 16:42:46 +08:00
kiner-tang(星河)
d9681b28e7
feat: [v6] Retire deprecated api for date-picker (#52232)
* feat: [v6] Retire deprecated api for date-picker

* feat: [v6] Retire deprecated api for date-picker

* feat: [v6] Retire deprecated api for date-picker
2025-01-07 11:34:18 +08:00
github-actions[bot]
ca7bd277e6
chore: auto merge branches (#52177)
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
chore: sync master to feature
2024-12-30 09:43:28 +00:00
afc163
513f22784d
demo: disable auto adjust placement in DatePicker design panel (#52113)
* demo: disable auto adjust placement in DatePicker design panel

* demo: disable auto adjust placement in DatePicker design panel

* demo: disable auto adjust placement in DatePicker design panel

* demo: disable auto adjust placement in DatePicker design panel

* fix

---------

Co-authored-by: lijianan <574980606@qq.com>
2024-12-30 13:19:56 +08:00
Jony J
39d9c1c6bf
chore: replace TinyColor with FastColor across the codebase (#52157)
* chore: replace TinyColor with FastColor across the codebase

* test: update snapshot
2024-12-30 10:02:44 +08:00
Jony J
dfc20acd0c
feat: add default name generation for RadioGroup component better a11y (#52076)
* feat: add default name generation for RadioGroup component better a11y

* feat(radio): implement useStableId hook for consistent ID generation in RadioGroup

* test: update snapshot

* chore: remove unused demo code snippet from form documentation

* test: enhance demo testing by adding ignoreAttributes option for snapshot matching

* fix(tests): correct logic for skipping tests and enhance snapshot matching for demo tests

* Revert "test: enhance demo testing by adding ignoreAttributes option for snapshot matching"

* test: mock useId for stable ID generation in snapshot tests

* chore: trigger CI build

* docs(radio): update name property description to clarify fallback behavior for RadioGroup

* Update index.zh-CN.md

Signed-off-by: Jony J <1844749591@qq.com>

---------

Signed-off-by: Jony J <1844749591@qq.com>
2024-12-23 10:55:45 +08:00
MyeongHyun Lew
808bd83ac4
feat(i18n): expand Korean translations in ko_KR.ts (#51983)
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
2024-12-11 22:37:57 +08:00
yoyo837
3f6d70c05e Merge branch 'master' into master-merge-feature 2024-11-08 18:38:17 +08:00
afc163
fad7df0e00
fix: RangePicker flickering issue when hover between cells (#51533) 2024-11-08 12:01:06 +08:00
DctMaZiYo
48b28e5269
refactor: remove redundant code(#50845) (#51507)
Co-authored-by: liangjunqi <liangjunqi@hmntech.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-11-08 10:31:20 +08:00
afc163
8a64ec6a9e chore: merge branch 2024-11-07 16:51:58 +08:00
二货爱吃白萝卜
4f1e56f31c
docs: fix docs mistake (#51491) 2024-11-05 15:19:03 +08:00
二货爱吃白萝卜
718609102b
fix: TimePanel not scrollable (#51481) 2024-11-04 17:18:03 +08:00
Guo Yunhe
02fc70eb4b
DatePicker and TimePicker support prefix props (#51335)
* feat(DatePicker): DatePicker supports prefix prop

* feat(TimePicker): TimePicker supports prefix prop
2024-10-23 15:00:35 +08:00
thinkasany
4c71116efd
docs(DatePicker): add showWeek version (#51338) 2024-10-22 16:00:58 +08:00
叶枫
53dcfb20a6
docs: week add doc (#51334) 2024-10-22 13:09:00 +08:00
github-actions[bot]
9f77bc576b
chore: auto merge branches (#51331)
chore: sync master to feature
2024-10-22 01:31:28 +00:00
ajenkins-mparticle
44d3d2d95d
fix: remove pointer-events: 'none' for disabled items in date-picker panel (#51294)
Co-authored-by: afc163 <afc163@gmail.com>
2024-10-21 11:39:08 +08:00
Guo Yunhe
015740d1eb
feat(Select): Select supports prefix prop (#51186) 2024-10-16 18:04:38 +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
二货爱吃白萝卜
e3063f244d
docs: blog picker (#50936)
* chore: blog picker

* docs: trigger update

* docs: add ref faq

* docs: update
2024-09-23 11:09:46 +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
github-actions[bot]
9d5f73145e
chore: auto merge branches (#50906)
chore: merge feature to master
2024-09-18 16:35:51 +00:00
harapeko
aa48a3cf42
feat: Adds ja_JP locale for shortWeekDays and shortMonths. (#50893) 2024-09-17 20:15:15 +08:00
栗嘉男
78c1fca2f0 chore: merge master into feature 2024-09-14 11:50:34 +08:00
NathanLao
7bf6d60f29
feat: Add missing Greek translation for form and date-picker (#50825) 2024-09-12 10:18:38 +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
二货爱吃白萝卜
f662194e4d
docs: fix limit demo (#50287) 2024-08-07 16:51:35 +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
Andrii Milishchuk
4b09f30e8e
fix: add missed translation in uk_UA (#50178)
* Update uk_UA.ts

Signed-off-by: Andrii Milishchuk <andrewmilishchuk@gmail.com>

* Update index.test.tsx.snap

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

---------

Signed-off-by: Andrii Milishchuk <andrewmilishchuk@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-08-03 12:35:05 +08:00
Aleksander Marek
be3d440959
fix: add missed translation in pl_PL (#50023)
* Update pl_PL.ts

Added most translations for polish language

Signed-off-by: Aleksander Marek <45952400+ang33l@users.noreply.github.com>

* Update pl_PL.ts

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

* Update index.test.tsx.snap

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

---------

Signed-off-by: Aleksander Marek <45952400+ang33l@users.noreply.github.com>
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-28 10:00:48 +08:00
lijianan
f56fee1333
site: update site/demo style (#50107)
* site: update site/demo style

* fix: fix lint
2024-07-27 16:13:25 +08:00
Avan
e70ed089f5
style: antd-picker-content set direction ltr (#50045)
* style: antd-picker-content set direction ltr

* style: add style constraints
2024-07-24 21:58:39 +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
5019af42b5 refactor(theme): migrate and refactor type TokenWithCommonCls by @ant-design/cssinjs-utils 2024-07-23 17:49:35 +08:00
🏎️ Yumo
a3cba98064 refactor(theme): migrate and refactor type GetDefaultToken by @ant-design/cssinjs-utils 2024-07-23 17:09:22 +08:00
🏎️ Yumo
1c6c625ba3 refactor(theme): migrate and refactor type FullToken by @ant-design/cssinjs-utils 2024-07-23 17:01:58 +08:00
🏎️ Yumo
64f26bd970 refactor(theme): migrate and refactor type GlobalToken by @ant-design/cssinjs-utils 2024-07-23 16:45:02 +08:00
Ahmed Samir
ef6767d6f2
fix: missed translation in ar (#49852)
* fix: missed translation in ar

* feat(i18n): add changelog

* fix: missed translation in ar

* fix: rebase master

* fix: remove changelog

* Update CHANGELOG.en-US.md

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

* Update ar_EG.ts

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

* Update index.test.tsx.snap

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-19 06:28:53 +08:00
lijianan
a9d3939136
chore: code optimization (#49894) 2024-07-16 10:06:43 +08:00
lijianan
fe3378f644
type: code optimization (#49864)
* type: code optimization

* fix: fix
2024-07-15 09:21:54 +08:00
Neeraj Pal
57d2cd4087
fix: Add missing translations for Kannada language (kn_IN) (#49860)
* feat: add missing kn_IN translations

* chore: update kn_IN translations snapshots
2024-07-14 21:38:45 +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