Commit Graph

24656 Commits

Author SHA1 Message Date
lijianan
0322964b75
chore: delete log (#40993) 2023-03-01 18:52:48 +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
plainnany
059042b2cd
fix(Form): typo in md (#40991)
Co-authored-by: munan <munan@tsign.cn>
2023-03-01 17:48:36 +08:00
afc163
986718c81f
docs: fix antd version in codesandbox preview link (#40983)
- Update dependencies to latest versions
- Replace `FormattedMessage` with `useSiteData`
- Add `Badge`
- Update `useLocation` to include `useSiteData`
- Update `versionOptions` to include `pkg.version`
- Update `defaultValue` of `Select` to `pkg.version`
- Update `arrow` prop of `Popover` to include `arrowPointAtCenter`

[.dumi/theme/builtins/Previewer/CodePreviewer.tsx]
- Replace `FormattedMessage` with `useSiteData`
- Update `antd` version in dependencies
- Update `@ant-design/icons` version in dependencies
- Update `react` version in dependencies
- Update `react-dom` version in dependencies
- Update `dayjs` version in dependencies
- Update `react-router-dom` version in dependencies
- Update `react-router` version in dependencies
- Add `Badge.
[.dumi/theme/slots/Header/index.tsx]
- Change import of `useLocation` to include `useSiteData`
- Add `pkg` to `useSiteData`
- Update `versionOptions` to include `pkg.version`
- Update `defaultValue` of `Select` to `pkg.version`
- Update `arrow` prop of `Popover` to include `arrowPointAtCenter`
2023-03-01 13:40:19 +08:00
zahgboat
849dd97456
fix(form): fix useFormItemStatus get access to window error when sever-side-rendering (#40977)
* fix(form): fix `useFormItemStatus` get access to window error when sever-side-rendering

* fix(form): use official doc in `useFormItemStatus`

fix(form): replace the string literal by official doc in `useFormItemStatus` warning message.

* fix(form): use official doc in  warning

- Remove unnecessary client check
- Use official i18n doc href.
2023-03-01 11:52:37 +08:00
Dmitry Cherendieiev
e56184aaa3
doc(contributing): change release schedule link (#40975) 2023-03-01 09:54:42 +08:00
MadCcc
3ed967ab4a
fix: arrow shape (#40971) 2023-02-28 17:51:16 +08:00
Wuxh
bd13944c4e
docs: locale demo update (#40930)
* docs: update local demo

* docs: update
2023-02-28 16:32:49 +08:00
二货爱吃白萝卜
94bf744acd
fix: Layout throw warning of suffixCls (#40969)
* fix: Layout throw warning of suffixCls

* chore: fix lint
2023-02-28 16:26:21 +08:00
The 1975
88d5c67594
doc(modal): Update Modal.method() default icon (#40966)
* Update index.en-US.md

* Update index.zh-CN.md
2023-02-28 16:12:05 +08:00
originRing
1130bf01ea
feat(watermark): Image loading abnormal display text watermark (#40770) 2023-02-28 11:20:15 +08:00
叶枫
4581b706e3
fix: 泛型非必传 (#40961) 2023-02-28 11:03:09 +08:00
thinkasany
5007b7df68
docs: Supplementary param type(pageSizeOptions) (#40962) 2023-02-28 10:56:06 +08:00
rgumzej
c89640d843
type: TimePicker added hourStep type (#40947) 2023-02-27 19:51:16 +08:00
叶枫
c4273ec49b
fix: remove Cascader warning when use displayRender and multiple together (#40941)
* fix: 删除多选模不能使用 displayRender 提示

* fix: 删除多选模不能使用 displayRender 提示
2023-02-27 19:48:07 +08:00
JiaQi
e4b8593b72
test: Modify the location of the declaration component (#40948) 2023-02-27 19:33:03 +08:00
陈帅
c3f7783a89
docs: add 5.2.3 changelog (#40931)
* docs: add  5.2.3 changelog

* Update CHANGELOG.en-US.md

* docs: add  5.2.3 changelog

* docs: add  5.2.3 changelog

* fix doc error

* fix doc error

---------

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
2023-02-27 16:39:58 +08:00
Long Hao (龙濠)
8a25a926c4
fix: 修复 #40288 带来的 draggable track 失效 (#40938) 2023-02-27 16:26:19 +08:00
二货爱吃白萝卜
ab83c1b6cb
fix: Fix token of Layout.colorBgHeader not work when single use Layout.Header directly (#40933)
* docs: fix typos

* Update index.zh-CN.md

* test: update snapshot

* docs: fix demo ref

* chore: force trigger ci

* chore: force trigger ci

* chore: bump dumi ver

* fix: Layout.Header token not work as expect

---------

Co-authored-by: Lioness100 <jchickmm2@gmail.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
2023-02-27 15:35:22 +08:00
kiner-tang(文辉)
7b051735cc
Merge pull request #40922 from Yuiai01/fix-progress
fix(Progress): Fix percentage does not change with percent
2023-02-27 14:28:17 +08:00
Yuiai01
623f44917f Merge branch 'master' of github.com:ant-design/ant-design into progress 2023-02-27 11:42:03 +08:00
JiaQi
567ce9886f
chore: update AutoComplete demo (#40926) 2023-02-27 10:40:25 +08:00
Jiacheng Dong
11011ba64a
fix: Fix document link jump 404 problem (#40928)
* fix: 文档链接访问 404 问题

* fix: 修复文档链接 404 问题
2023-02-27 10:13:41 +08:00
lijianan
895f2591b4
demo: demo update (#40924) 2023-02-27 10:12:32 +08:00
afc163
f217bc3361
style: fix Image mask preview action icon alignment (#40911)
[components/image/style/index.ts]
- Add a `svg` style to the image mask with `verticalAlign: 'baseline'`
2023-02-27 10:11:29 +08:00
Yuiai01
bd3401f737 fix(Progress): Fix percentage does not change with percent 2023-02-26 18:48:12 +08:00
susuhhhhhh
1a4dc9eb36
style: code style optimization (#40898) 2023-02-24 22:35:22 +08:00
Wuxh
b82710fe9e
fix: fix ConfigProvider form validation message order (#40533)
* test: add case

* fix: fix the default format error of form check message

* docs: update docs

* fix

* chore: remove redundancy logic

* perf: add validateMessage memorization

* chore: update useMemo

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

Co-authored-by: afc163 <afc163@gmail.com>

* docs: update docs

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-02-24 18:22:48 +08:00
Martijn
947f86f178
type: Add placement to NotificationConfig (#40908)
* Add placement to NotificationConfig

* Update useNotification.tsx

---------

Co-authored-by: Martijn Dormans <martijn.dormans@whyellow.nl>
Co-authored-by: Wuxh <wxh16144@qq.com>
2023-02-24 18:13:49 +08:00
Rafael Martins
14dd2cdcdb
fix: confirm modal firing onOk event twice (#40719)
* fix: confirm modal firing onOk event twice (#40272)

* fix: use loading state instead using disabled

* test: update test to use mock timer

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-24 16:59:57 +08:00
lijianan
ed94e03705
docs: update docs (#40902) 2023-02-24 14:19:40 +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
lyn
433a73c53b
fix: typos (#40899) 2023-02-24 09:04:03 +08:00
Lioness100
fd0d8b6031
docs: fix typos (#40791)
* docs: fix typos

* Update index.zh-CN.md

* test: update snapshot

* docs: fix demo ref

* chore: force trigger ci

* chore: force trigger ci

* chore: bump dumi ver

---------

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-23 21:56:43 +08:00
MadCcc
6b552d53f6
fix: Segmented item pseudo should not block mouse event (#40894) 2023-02-23 17:26:02 +08:00
Majid Sadr
01a6da37a9
Add missing translations for fa_IR (#40895) 2023-02-23 17:15:24 +08:00
susuhhhhhh
a89d0f4861
type: optimize type (#40892) 2023-02-23 16:38:06 +08:00
Amumu
ea6acbc592
chore: stylelint plugin upgrade (#40883) 2023-02-23 12:01:25 +08:00
lijianan
be25ee2a0b
test: simplify rtlTest test case (#40878) 2023-02-22 19:49:06 +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
红果汁
5459bf65b5
fix: getPopupContainer not work inject by ConfigProvider (#40781) (#40871)
* fix: getPopupContainer not work inject by ConfigProvider (#40781)

* test: remove snapshot

* test: fix snapshots
2023-02-22 17:22:50 +08:00
Yurii Brusentsov
40a7e7a142
fix(Descriptions): pass all props to the Descriptions container (#40859) 2023-02-22 16:17:21 +08:00
lijianan
f9a38af179
chore: rename internal Affix (#40838) 2023-02-22 10:42:25 +08:00
lijianan
bce4245d4f
type: fix type cannot jump (#40864) 2023-02-22 10:41:43 +08:00
lijianan
8d09425e2d
type: fix notification type cannot jump (#40853)
* type: fix type

* rename

* rename
2023-02-22 10:41:06 +08:00
黑雨
b241900428
fix: fix 'span' to 'li' (#40867) 2023-02-22 10:40:08 +08:00
lijianan
f97984e507
docs: add blog (#40851)
* docs: add blog

* docs: trans of it

* docs: update

* update demo

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-02-22 10:39:36 +08:00
MadCcc
b9a1e08ba4
fix: focus outline width (#40839) 2023-02-22 10:34:51 +08:00
kiner-tang(文辉)
16e90b2301
fix: optimize badge preset color code & fix color display unexpected (#40848) 2023-02-21 18:22:49 +08:00
Wuxh
9f64386d0b
chore: update pr-template (#40850)
* Update PULL_REQUEST_TEMPLATE.md

* Update pr_cn.md
2023-02-21 18:19:44 +08:00