Commit Graph

1396 Commits

Author SHA1 Message Date
vagusX
61999d1fe2 test: test visual capture speed 2024-08-08 14:48:38 +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
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
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
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
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
lijianan
9c91bdb9a8
Merge pull request #49425 from ant-design/master
chore: merge master into feature
2024-06-15 16:41:47 +08:00
DerianRambo
b29c314b4c
docs: improved grammar on certain documentation pages (#49374)
* button documentation grammar fixes

* english float button documentation changes

* english documentation grammar changes for icons

* english typography documentation grammar changes

* english divider documenation changes

* english layout documentation fixes

* english cascader documentation improvements

* english color-picker documentation changes

* english date-picker documentation changes

* english form documentation changes

* English documentation changes for select

* English documentation changes for slider

* English documentation changes for time-picker

* English documenation changes for transfer
2024-06-12 14:27:15 +08:00
afc163
ca3d4c0e5e
style: fix DatePicker header text align (#49332)
* style: fix DatePicker header text align

* chore: remove unused style

* Update components/date-picker/style/panel.ts

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-06-11 23:47:26 +08:00
Kazuhiro Kumagai
6ea55a19dc
Remove unnecessary act() calls (#49326)
* refactor(tests): remove unnecessary act() calls

* chore: do npm test -- -u
2024-06-10 10:48:21 +08:00
afc163
539beba6ed
fix: DatePicker/TimePicker placement not working (#49303)
* fix: DatePicker/TimePicker placement not working

* revert demo change
2024-06-08 21:59:21 +08:00
sabitalizade
aa17f703d2
fix: missed translation in az (#49247)
* Added missed translation for Azerbaijani language

* Added missed translation

* Filled changelog

* Revert "Filled changelog"

This reverts commit 4a36eb688f.

* Filled PR content

* Revert "Filled PR content"

This reverts commit 7108e3ae26.

* Test run for jest snapshot

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-06-06 17:13:07 +08:00
huyikai
ea1927cf5b
fix(local): add miss ja_JP (#49155)
Signed-off-by: huyikai <hyk_tiger@foxmail.com>
2024-06-01 11:42:47 +08:00
KumJungMin
e2998063e5
docs: delete needConfirm false option in demo (#48967)
* docs: delete needConfirm false option in demo

* test: update test snapshot

* test: update test snapshot
2024-05-19 15:57:38 +08:00
二货爱吃白萝卜
cf6e9c8b6e
docs: update RangePicker month demo (#48844)
* docs: clean up useless code

* docs: update demo

* docs: fix typo
2024-05-10 09:55:31 +08:00
lijianan
2f304d1e27
Merge pull request #48735 from ant-design/feature
chore: merge feature to master
2024-05-02 17:23:37 +08:00
afc163
15c7e68149
fix: DatePicker flickering issue when closing panel (#48734) 2024-05-02 17:20:35 +08:00
tanghui
d70de6c6e6 Merge branch 'master' into feature-merge-master 2024-04-26 17:20:46 +08:00
二货爱吃白萝卜
8567e55ed0
feat: RangePicker support disabledTime info (#48625) 2024-04-25 15:58:10 +08:00
Jorge Luis Moreno Moller
decfac3540
fix: add Spanish locale in datepicker (#48601)
* Add missing props to es_ES locale

* Unnecessary properties were removed

* test: update snap

* Fix: typo in short week day abbreviation

* test: update snap

* test: update snap

---------

Co-authored-by: 栗嘉男 <574980606@qq.com>
2024-04-25 01:45:19 +08:00
Seb
3f339fc87f
fix: add german locale in datepicker (#48586)
* add german locale datepicker

* only change short weeks and months

* fix

* Update index.test.tsx.snap

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

* Update index.test.tsx.snap

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

* test: update snap

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-04-25 01:01:55 +08:00
lijianan
5c2e6e3651
Merge pull request #48573 from ant-design/master
chore: merge master into feature
2024-04-22 17:09:35 +08:00
二货爱吃白萝卜
4eebc0c142
fix: Select token with paddingXXS (#48574)
* fix: paddingXXS

* docs: update demo

* chore: adjust logic

* chore: fix lint

* fix: datePicker style
2024-04-22 13:50:24 +08:00
afc163
ed127e9418
feat: Carousel support arrows for switching (#48542)
* feat: Carousel support arrows function

* fix: order matters

* feat: Carousel support arrows in vertical mode

* chore: update snapshot

* Apply suggestions from code review

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

* chore: fix lint

* chore: fix lint

* chore: dotMargin => dotGap

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-04-19 17:17:56 +08:00
Edi Kurniawan
1ec5b28c9a
local: transalate Picker to indonesian (#48537)
* feat: translate all to indonesian

I have transalate all to Indonesian

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* fix: use ' instead of "

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>

* feat:  translate to indonesian

* feat: 🌐 transalate date and time picker to indonesian

---------

Signed-off-by: Edi Kurniawan <edikurniawan.dev@gmail.com>
Co-authored-by: vagusX <vagusxl@gmail.com>
2024-04-19 13:38:40 +08:00
希亚的西红柿
5716831849
fix: DatePicker with multiple support placeholder (#48387)
* feat: add placeholder option for multiple datepicker

* fix: update style

* chore: bump rc-picker

* test: update snapshot

---------

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2024-04-16 14:54:19 +08:00
lijianan
fa6f113dde
refactor: use css token replace 4px (#48474) 2024-04-16 11:42:45 +08:00
二货爱吃白萝卜
089514bae9
fix: week selection not have hover style (#48355) 2024-04-09 21:34:49 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
叶枫
14a1e6bd51
feat: tsconfig enable strict (#47998)
* feat: tsconfig enable strict

* feat: add no-explicit-any

* feat: strict

* feat: as THEME

* feat: 优化 keys 类型写法

* feat: demo remove any

* feat: as number

* feat: this any

* feat: add eslint

* feat: cascader

* feat: props any

* feat: remove any

* feat: remove any

* feat: any 提示错误

* feat: remove any

* feat: add eslint

* feat: 允许 T = any 存在

* feat: color funciton

* feat: 恢复 lint

* feat: merge master

* feat: as ReactElement

* feat: type
2024-04-01 15:49:45 +08:00
lijianan
405394a8e4
Merge pull request #48133 from ant-design/master
chore: merge master into feature
2024-03-28 10:54:52 +08:00
afc163
268d6018a8
docs: update DatePicker locale instruction (#48111) 2024-03-27 13:34:35 +08:00