Commit Graph

18019 Commits

Author SHA1 Message Date
二货爱吃白萝卜
31efa5a6c3
test: update snapshot (#50136) 2024-07-29 21:22:13 +08:00
lijianan
2e4b9cb098
site: rewrite with CSS logical properties again (#50113)
* 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

* site: rewrite with CSS logical properties

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-29 01:33:18 +08:00
lijianan
836d1bbbad
type: code optimization (#50116) 2024-07-29 01:31:25 +08:00
lijianan
525e33737d
type: use DirectionType (#50117) 2024-07-29 01:30:35 +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
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
thinkasany
5f917554db
docs: fix typos (#50096)
* docs: fix typos

* fix
2024-07-26 16:40:48 +08:00
lijianan
ea9549ab7e
refactor: rewrite Overlay of PurePanel (#50097) 2024-07-26 16:40:45 +08:00
LLmoskk
1fe95ecffa
fix: should not display overlay when the content is null/undefined (#50064)
* fix: content结果为null的情况不显示overlay

* fix: 兼容undefined与null

* Update index.tsx

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

* Update getRenderPropValue.ts

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

* chore: update snap

* Update index.test.tsx

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

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: H JY <huangjunyi@ama-auto.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-07-26 13:38:55 +08:00
afc163
11b81ff1ca
fix: Tour mobile view (#50082)
* fix: Tour mobile view

* Update .husky/pre-commit

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-07-26 11:50:32 +08:00
afc163
4ee1cc9a4e
fix: Checkbox indeterminate style (#50083) 2024-07-26 11:50:24 +08:00
thinkasany
02d331b60d
type: improve ts type for transfer (#50018)
* type: improve ts type for transfer

* revert as any

* fix type
2024-07-25 18:58:06 +08:00
Jacco Goris
902aa2e313
fix: the tour component had no translations in the Belgian locales (#50058) 2024-07-25 17:17:22 +08:00
thinkasany
020848437d
fix(empty): fix opacityImage token failed by unitless (#50066) 2024-07-25 16:48:30 +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
🏎️ Imer
6fa9ee15fa
Merge pull request #50030 from ant-design/refactor/cssinjs-utils
refactor(theme): Migrate style utils to `@ant-design/cssinjs-utils`
2024-07-24 00:38:24 -07:00
Rin
9f733993f1
docs: replace the deprecated dropdownMatchSelectWidth (#50027)
* docs: replace the deprecated dropdownMatchSelectWidth

* docs: replace dropdownMatchSelectWidth in config-provider

* revert config-provider

* test: update snapshot

* test: update snapshot and revert config-provider test
2024-07-24 15:16:35 +08:00
🏎️ Yumo
b71752ffb0 Merge branch 'master' into refactor/cssinjs-utils 2024-07-24 12:44:44 +08:00
🏎️ Yumo
edb1b38fb3 refactor: add getCompUnitless for genStyleUtils 2024-07-24 11:28:17 +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
Vasilii A
f6e9f8540c
docs: Update components/notification/index.*.md (#50035)
Signed-off-by: Vasilii A <3757319+vsn4ik@users.noreply.github.com>
2024-07-23 20:15:15 +08:00
🏎️ Yumo
98b17f8761 fix: type error when use @ant-design/cssinjs-utils@1.0.2 2024-07-23 19:27:06 +08:00
🏎️ Yumo
14b1f56435 chore: delete unuse file and test 2024-07-23 19:24:33 +08:00
🏎️ Yumo
c5c58d7662 refactor(theme): migrate and refactor genStyleHooks genComponentStyleHook genSubStyleComponent.
[RFC](https://github.com/ant-design/ant-design/discussions/49748)
2024-07-23 18:55:48 +08:00
🏎️ Yumo
b3ddb0e498 fix(theme): DerivativeToken to AliasToken 2024-07-23 17:54:26 +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
965b68cfea refactor(theme): migrate and refactor statistic.ts by @ant-design/cssinjs-utils 2024-07-23 17:40:45 +08:00
Mikola
55cfeef56f
docs: Update link to english Mozilla Docs in Table index.en-US.md (#50029)
Signed-off-by: Mikola <34740585+ptaberg@users.noreply.github.com>
2024-07-23 17:28:23 +08:00
🏎️ Yumo
35a0297f94 refactor(theme): migrate and refactor mergeToken by @ant-design/cssinjs-utils 2024-07-23 17:28:13 +08:00
🏎️ Yumo
adbda3d846 refactor(theme): migrate and refactor genCalc by @ant-design/cssinjs-utils 2024-07-23 17:25:18 +08:00
🏎️ Yumo
9e8a550218 refactor(theme): migrate and refactor type CSSUtil by @ant-design/cssinjs-utils 2024-07-23 17:23:43 +08:00
🏎️ Yumo
3ec77d32b0 refactor(theme): migrate and refactor type GenStyleFn by @ant-design/cssinjs-utils 2024-07-23 17:15:39 +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
00660bc7e9 refactor(theme): migrate and refactor type OverrideComponent by @ant-design/cssinjs-utils 2024-07-23 17:06:15 +08:00
Wanpan
8a0fc4c22e
Revert "fix: Form.Item input-content no horizontal alignment (#49635)" (#50020)
This reverts commit 5b184d4709.
2024-07-23 17:02:45 +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
c057cb2113 refactor(theme): migrate and refactor type OverrideToken by @ant-design/cssinjs-utils 2024-07-23 16:53: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
afc163
43dca4875d
demo: refactor form login demo (#50010)
* demo: refactor form login demo

* demo: refactor form login demo

* remove site-form-item-icon
2024-07-22 20:45:30 +08:00
afc163
1fce22a534
docs: fix Tabs moreProps link (#49986)
* docs: fix Tabs moreprops link

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

* Update index.en-US.md

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

* Update components/tabs/index.zh-CN.md

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

---------

Signed-off-by: afc163 <afc163@gmail.com>
2024-07-20 16:32:47 +08: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
thinkasany
ad4e522724
docs: supplement type for classnames and styles (#49984)
* docs(modal): supplement type for classnames and styles

* fix
2024-07-20 09:19:05 +08:00
空谷
2efbdbfe25
fix(Descriptions): style bordered table overflow (#49946)
Co-authored-by: lidong01 <lidong01@corp.netease.com>
2024-07-20 09:00:48 +08:00
f0bc8b5021
chore(color-picker): improve TS type (#49949)
* chore(color-picker): improve TS type

* Update components/color-picker/index.en-US.md

Co-authored-by: thinkasany <480968828@qq.com>
Signed-off-by: 红 <wxh16144@qq.com>

---------

Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-07-19 11:04:46 +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
zyf
ebc3a999bd
fix(table):sorter value exception (#49533)
* fix(module:table):列属性为动态时,onchange函数sorter值异常问题

* 测试用例补充

* Update components/table/hooks/useSorter.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>

* Update Sorter.value.test.tsx

去除当前测试用例中的window.requestAnimationFrame和window.cancelAnimationFrame

Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>

* 格式调整

* 格式调整

* 格式调整

* button增加type适配lint规范

* 重新调整过滤条件,修复sorter值异常问题

* 去除无用参数

* 格式修改

* Update components/table/__tests__/Sorter.value.test.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>

* 去除无用注释,代码优化

* 去除无用注释,代码优化

---------

Signed-off-by: zyf <81416635+Zyf665@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-07-18 21:38:17 +08:00
叶枫
290d10c8a2
docs: fix Description colon (#49940) 2024-07-18 18:32:22 +08:00
afc163
ad70505a10
fix: Pagination token.itemBg not working (#49933) 2024-07-18 10:56:57 +08:00
ice
abca9a8baf
fix(list): pagination's default alignment is at the end (#49925) 2024-07-17 19:01:15 +08:00