Commit Graph

220 Commits

Author SHA1 Message Date
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest (#42506)" (#42900)
This reverts commit 6759887c44.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest (#42506)
* chore: migrate to vitest

* chore: update ci

* fix: test correctly

* test: support puppeteer

* chore: update coverage

* chore: update include/exclude

* chore: update config

* test: update incorrect tests

* chore: update script

* chore: update

* fix: should close browser at the ended

* chore: improve

* fix: test cause tsc error

* fix: eslint error

* chore: exclude correctly

* test: update snap and fix some tests

* chore: update test config

* fix: countup.js

* fix: incorrect test

* chore: update reference

* test: update

* fix: countup.js

* fix: timeout

* chore: update site test

* fix: fixed countup version

* chore: remove unsed code

* test: update

* test: update demo timeout

* test: update timeout

* chore: update image test

* chore: update threads

* fix: image/svg+xml test failed

* chore: limits threads

* test: update test coverage include

* chore: remove jest files

* chore: rename jest to vi

* chore: update document

* chore: fix missing @types/jsdom

* chore: update coverage

* chore: update snap

* fix:watermark test cases are incorrect

* feat: update ignore comment

* test: fix test case

* test: reset body scrollTop

* test: clean up

* test: use vi

* test: update snapshot

* test: update snapshot

* test: fix dropdown test failed

* fix: toHaveStyle cause test fail

* test: improve test case

* test: fix

* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560

* test: fix

* test: fix

* test: fix circular import

* test: revert

* ci: coverage failed

* test: fix c8 ignore comment

* chore: incorrect config

* chore: fix ignore ci

* test: revert svg+xml

* test: fix realTimers

* feat: rc-trigger should be remove

* test: fix some failed test

* chore: remove unused deps and configure eslint-plugin-vitest

* test: update snap

* chore: remove jest

* test: fix lint error

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
afc163
6e52b6f0f9
refactor: use rc-util/lib/pickAttrs and upgrade rc-rate and rc-pagination (#42688)
* refactor: use rc-util/lib/pickAttrs

* chore: upgrade rc-pagination

* chore: upgrade rc-rate

* type: fix ref type

* test: update pagination snapshot

* Update package.json
2023-05-28 21:32:45 +08:00
github-actions[bot]
a8bc13e77b
chore: auto merge branches (#42668)
chore: feature merge master
2023-05-27 03:42:37 +00:00
Digital-512
a4876c6476
chore: Update Lithuanian locale (#42664)
* Update lt_LT.ts

What has been changed:
- Missing translations added
- Several translation errors corrected and minor improvements

* Update lt_LT.ts

Added missing translation rangeQuarterPlaceholder: ['Pradžios ketvirtis', 'Pabaigos ketvirtis']
2023-05-27 10:57:49 +08:00
afc163
8fb97df92c
feat: Pagination size change select component is searchable (#42608)
* feat: Paginaition size change select enable search

close https://github.com/ant-design/ant-design/issues/27684

* test: update snapshot

* test: update snapshot
2023-05-25 19:26:47 +08:00
MadCcc
5e2732a03c Merge branch 'master' into feature-merge-master 2023-05-23 17:02:34 +08:00
Ariunbat Ulambayar
91c16381be
fix: add missing translation in mn_MN.ts (#42512)
* Update mn_MN.ts

added OK text translation in MN

added OK text translation in MN

Revert "added OK text translation in MN"

This reverts commit 7958ac3d4ea190160fadef04ad54328d90a198ef.

* updated locale test
2023-05-22 13:34:55 +08:00
afc163
7271b7cb91
fix: Popconfirm margin problem when icon is null (#42433)
* fix: Popconfirm margin issue when icon is null

* test: update snapshot

* demo: update snapshot

* chore: improve code

* demo: update snapshot

* refactor: remove used css

* demo: update snapshot
2023-05-17 14:49:42 +08:00
红果汁
b95d5674fa
feat: new component ColorPicker (#41990)
* feat: color picker

* chore: improve component logic

* test: update snapshots

* test: update snapshots

* fix: remove unuse code

* fix: adjusting the UI

* fix: hairy edge in dark mode

* fix: demo case

* chore: rollback file

* fix: improve code logic

* perf: improve code

* test: add test case

* refactor: trigger use Popover instead

* test: add test case

* refactor: improve code logic

* test: update snapshots

* refactor: improve code

* docs: add overview img

* feat: style

* chore: update snapshot

* chore: code clean

* chore: code clean

* chore: fix lint

* chore: update snapshot

* feat: color block

* chore: pure render

* refactor: hex input number reduced to 6 digits

* fix: rename React to react

* refactor:  trigger demo

* docs: remove disabled demo

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-05-12 14:43:48 +08:00
二货机器人
4e311f0d95 test: update snapshot 2023-05-08 23:47:41 +08:00
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point (#42225)
* chore: align motion follow popup point

* test: update snapshot
2023-05-08 23:28:13 +08:00
yoyo837
8426446e4c Merge branch 'master' into feature-merge-master 2023-05-08 18:43:14 +08:00
tangzixuan
9d52c5810e
feat: add form i18n about bg language (#42203) 2023-05-08 10:22:14 +08:00
yoyo837
7f5042c4fe Merge branch 'master' into feature-merge-master 2023-05-06 19:03:11 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method (#42149)" (#42180)
This reverts commit ea8ed28209.
2023-05-06 15:49:37 +08:00
二货机器人
252f516a5e chore: merge master 2023-05-06 11:40:31 +08:00
lijianan
ea8ed28209
chore: unified import method (#42149)
* chore: unified import method

* fix lint
2023-05-05 20:52:44 +08:00
MadCcc
1babfef998 Merge branch 'master' into feature-merge-master 2023-04-17 19:38:12 +08:00
aaarichter
816e250c8f
fix: typo in deDE (#41780)
Co-authored-by: Andreas Richter <andreas.richter2@qbeyond.de>
2023-04-12 22:25:07 +08:00
Eldar Mirzabekov
e36dfde87d
fix: add missing translations for de_DE (#41747) 2023-04-11 16:33:10 +08:00
黑雨
41ed9bd430
feat: Button semantic dom (#41456)
* feat: add semantic doc

* 🔀 feat: rebase feature

* feat: update for code reviewer

* feat: update snap

* feat: update snap

* 🐛 bug: update for cov

* Message

* bug: update snap

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* 💄 style: update style

* ♻️ feat: ref code

* 🩺 feat: update for review

* 💄 style: update style

* 📝 doc: update doc

* 💄  style: update style

* 💄  style: update style

* 💄 style: update style

* 💄  style: update style

* 💄  style: update style

* 💄  style: update style

* 💄  style: update style

* 📸 feat:update snap

* 🚧 feat: clean up

* 🚧 feat: clean up

* feat: icon wrapper

* test: update snapshot

* chore: code clean

* fix: icon only font size

* chore: rollback unexpected commit

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-04-11 11:37:31 +08:00
Chinnawat Chimdee
09430623b5
fix: add missing Thai locale config (#41697) 2023-04-08 16:24:24 +08:00
二货机器人
d6a73f3c6b chore: feature merge master 2023-03-29 14:44:41 +08:00
栗嘉男
de2dde6613 Merge branch master into master-merge-feature 2023-03-28 22:01:23 +08:00
Denys Halenok
a41fba22c5
fix: add missing translations for sv_SE (#41424) 2023-03-23 19:15:09 +08:00
lijianan
f6c235462e
chore: Remove locale-provider (#41289)
* chore: rm locale-receiver

* chore: export useLocale in locale

* chore: comment

* chore: rm locale-provider dir

* docs: rm locale-provider in migration document

* chore: fix regexp

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-21 13:08:43 +08:00
左耳咚
2ece2c6b63
Feature: Burmese translation (#41366)
* feat:  Burmese translation

* fix: fix Burmese - MYANMAR locale typo

* Update components/locale/my_MM.ts

Co-authored-by: Amumu <yoyo837@hotmail.com>

* fix: 🐞 modify package version

* fix: 🐞 add locale snap

* docs: 📃 update docs

---------

Co-authored-by: Amumu <yoyo837@hotmail.com>
2023-03-21 11:56:06 +08:00
Tai Nguyen Trong
f06220d756
fix(locale): add missing vietnamese translation (#41320) 2023-03-18 19:11:17 +08:00
lamvananh
b896d0ede9
Update locale vi_VN adding Vietnamese translation for Form component validation (#40992)
* add vietnamese form translate

* Update vi_VN.ts

add vietnamese form translate 2
2023-03-01 18:21:52 +08:00
lijianan
412fe13d0c
refactoring: rewrite useLocale return value (#40884)
* refactoring: rewrite useLocale return

* rename

* revert name
2023-02-24 10:51:59 +08:00
Majid Sadr
01a6da37a9
Add missing translations for fa_IR (#40895) 2023-02-23 17:15:24 +08:00
lijianan
288b10bd10
refactoring: use hook replace LocaleReceiver (#40870)
* chore: rename useLocaleReceiver => useLocale

* refactoring: use hook replace LocaleReceiver

* fix

* update snap

* fix

* update snap

* fix

* rename
2023-02-22 18:18:26 +08:00
红果汁
c4f83649ae
fix: add Tour french locale (#40750) 2023-02-16 12:17:55 +08:00
Jung Min O
2c694258d2
Update ko_KR.ts (#40716) 2023-02-14 09:20:45 +08:00
Eldar Mirzabekov
31cbbce825
fix: add missing translations for ru_RU and uk_UA (#40656) 2023-02-09 16:41:22 +08:00
Rafael Carvalho
e13c8ad877
fix: missing translation for Brazilian Portuguese (#40270)
Add translation for  filterCheckall, filterSearchPlaceholder and Tour
2023-01-16 22:50:35 +08:00
lijianan
8501adbd84
fix: add displayName (#40092)
* fix: add displayName

* rerun ci

* rerun ci
2023-01-08 21:30:41 +08:00
Kirubashankar K
d66b2f5a65
feat: add missing ta_IN translations (#39936)
Co-authored-by: kirubashankar <kirubashankar@ghoshak.com>
2022-12-31 19:14:48 +08:00
lijianan
9aec72c395
chore: remove useless tsx support (#39890)
* chore: remove useless tsx support

* add

* add

* style

* fix lint

* fix lint

* fix lint

* update locale entry

* update locale entry

* update locale entry

* delete useless style
2022-12-29 18:33:13 +08:00
Gabriel Schneider
753172b0df
fix(QRCode): improve en_US locale (#39751) 2022-12-23 12:22:47 +08:00
azro352
a50b4dc189
feat: Update fr_BE internationalization (#39415)
* Add missing fr_BE internationalization

* Fix snapshot due to correction
2022-12-09 15:13:21 +08:00
Amumu
d689c7b855
feat: Remove locale-provider (#39373)
* feat: remove locale-provider

* chore: fix lint

* Empty-Commit

* test: remove test

* Revert "test: remove test"

This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.

* chore: 阶段性兼容

* fix lint

* fix: fix lint

* fix: add index

* docs: update docs

* docs: update

* docs: update

* docs: update
2022-12-09 15:04:08 +08:00
azro352
221e8bd804
feat: add missing fr_CA internationalization (#39416) 2022-12-09 12:47:44 +08:00
Ian-Inizias
c2afa97ca1
feat: Basque (eu-ES) translation (#39371)
* Added basque (eu-ES) translation

* Update components/locale/eu_ES.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update docs/react/i18n.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* added test cases

Co-authored-by: Amumu <yoyo837@hotmail.com>
2022-12-08 11:04:12 +08:00
github-actions[bot]
cd8840bf56
chore: auto merge branches (#39295)
chore: feature merge master
2022-12-06 08:55:00 +00:00
Nghiệp
cadab499e1
chore: fix vietnamese typos (#39279)
* chore: fix vietnamese typos

* Update snapshots
2022-12-06 15:32:20 +08:00
Ran Sagy
cfc3aae452
fixed he-il mistakes (#39280) 2022-12-06 10:20:27 +08:00
lijianan
240210a281
feat: New Component QRCode (#38948)
* feat: qrcode

* chore: code clean

* feat: New Component Qr-Code (#38891)

* feat: QrCode

* fix

* fix

* fix: fix bug

* fix: fix bug

* fix

* fix

* fix

* delete

* delete

* test case

* fix lint

* bundlesize

* demo

* fix: fix test

* remove dep

* update snap

* en docs

* refactor: rename tests dir

* Update components/qr-code/demo/base.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qr-code/demo/base.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qr-code/demo/download.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qr-code/demo/download.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qr-code/demo/download.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qr-code/demo/logo.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qr-code/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qr-code/style/index.ts

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qr-code/style/index.ts

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qr-code/demo/logo.md

Co-authored-by: MadCcc <1075746765@qq.com>

* rename

* fix

* adjust text

* rename

* fix title

* rename

* rename

* fix: snap

* fix

* bundlesize

* update demo

* update docs

* add demo

* add docs

* add docs

* test: add warning

* update demo

* bundlesize

* update test case

* update demo

* feat: add onRefresh、add status

* fix: fix demo

* fix: fix demo

* add locale

* add locale

* add test case

* update snap

* fix demo

* update demo

* update demo

* update demo

* Update components/qrcode/style/index.ts

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qrcode/style/index.ts

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qrcode/style/index.ts

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qrcode/style/index.ts

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qrcode/style/index.ts

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qrcode/interface.ts

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/qrcode/style/index.ts

Co-authored-by: MadCcc <1075746765@qq.com>

* fix

* Update components/qrcode/index.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* fix

* fix

* fix

* add decs

* fix

* fix

* fix type

* fix

* fix demo

* fix lint

* fix lint

* add test case for bordered

* prettier-ignore

Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: 栗嘉男 <lijianan@lijianandeMacBook-Pro.local>
2022-12-05 14:15:26 +08:00
二货机器人
d5cfd195dd chore: merge master 2022-11-07 23:32:46 +08:00