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`
2 years ago
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.
2 years ago
Dmitry Cherendieiev
e56184aaa3
doc(contributing): change release schedule link ( #40975 )
2 years ago
MadCcc
3ed967ab4a
fix: arrow shape ( #40971 )
2 years ago
Wuxh
bd13944c4e
docs: locale demo update ( #40930 )
* docs: update local demo
* docs: update
2 years ago
二货爱吃白萝卜
94bf744acd
fix: Layout throw warning of suffixCls ( #40969 )
* fix: Layout throw warning of suffixCls
* chore: fix lint
2 years ago
The 1975
88d5c67594
doc(modal): Update Modal.method() default icon ( #40966 )
* Update index.en-US.md
* Update index.zh-CN.md
2 years ago
originRing
1130bf01ea
feat(watermark): Image loading abnormal display text watermark ( #40770 )
2 years ago
叶枫
4581b706e3
fix: 泛型非必传 ( #40961 )
2 years ago
thinkasany
5007b7df68
docs: Supplementary param type(pageSizeOptions) ( #40962 )
2 years ago
rgumzej
c89640d843
type: TimePicker added hourStep type ( #40947 )
2 years ago
叶枫
c4273ec49b
fix: remove Cascader warning when use displayRender and multiple together ( #40941 )
* fix: 删除多选模不能使用 displayRender 提示
* fix: 删除多选模不能使用 displayRender 提示
2 years ago
JiaQi
e4b8593b72
test: Modify the location of the declaration component ( #40948 )
2 years ago
陈帅
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>
2 years ago
Long Hao (龙濠)
8a25a926c4
fix: 修复 #40288 带来的 draggable track 失效 ( #40938 )
2 years ago
二货爱吃白萝卜
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>
2 years ago
kiner-tang(文辉)
7b051735cc
Merge pull request #40922 from Yuiai01/fix-progress
fix(Progress): Fix percentage does not change with percent
2 years ago
Yuiai01
623f44917f
Merge branch 'master' of github.com:ant-design/ant-design into progress
2 years ago
JiaQi
567ce9886f
chore: update AutoComplete demo ( #40926 )
2 years ago
Jiacheng Dong
11011ba64a
fix: Fix document link jump 404 problem ( #40928 )
* fix: 文档链接访问 404 问题
* fix: 修复文档链接 404 问题
2 years ago
lijianan
895f2591b4
demo: demo update ( #40924 )
2 years ago
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'`
2 years ago
Yuiai01
bd3401f737
fix(Progress): Fix percentage does not change with percent
2 years ago
susuhhhhhh
1a4dc9eb36
style: code style optimization ( #40898 )
2 years ago
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>
2 years ago
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>
2 years ago
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>
2 years ago
lijianan
ed94e03705
docs: update docs ( #40902 )
2 years ago
lijianan
412fe13d0c
refactoring: rewrite useLocale return value ( #40884 )
* refactoring: rewrite useLocale return
* rename
* revert name
2 years ago
lyn
433a73c53b
fix: typos ( #40899 )
2 years ago
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>
2 years ago
MadCcc
6b552d53f6
fix: Segmented item pseudo should not block mouse event ( #40894 )
2 years ago
Majid Sadr
01a6da37a9
Add missing translations for fa_IR ( #40895 )
2 years ago
susuhhhhhh
a89d0f4861
type: optimize type ( #40892 )
2 years ago
Amumu
ea6acbc592
chore: stylelint plugin upgrade ( #40883 )
2 years ago
lijianan
be25ee2a0b
test: simplify rtlTest test case ( #40878 )
2 years ago
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
2 years ago
红果汁
5459bf65b5
fix: getPopupContainer not work inject by ConfigProvider ( #40781 ) ( #40871 )
* fix: getPopupContainer not work inject by ConfigProvider (#40781 )
* test: remove snapshot
* test: fix snapshots
2 years ago
Yurii Brusentsov
40a7e7a142
fix(Descriptions): pass all props to the Descriptions container ( #40859 )
2 years ago
lijianan
f9a38af179
chore: rename internal Affix ( #40838 )
2 years ago
lijianan
bce4245d4f
type: fix type cannot jump ( #40864 )
2 years ago
lijianan
8d09425e2d
type: fix notification type cannot jump ( #40853 )
* type: fix type
* rename
* rename
2 years ago
黑雨
b241900428
fix: fix 'span' to 'li' ( #40867 )
2 years ago
lijianan
f97984e507
docs: add blog ( #40851 )
* docs: add blog
* docs: trans of it
* docs: update
* update demo
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
MadCcc
b9a1e08ba4
fix: focus outline width ( #40839 )
2 years ago
kiner-tang(文辉)
16e90b2301
fix: optimize badge preset color code & fix color display unexpected ( #40848 )
2 years ago
Wuxh
9f64386d0b
chore: update pr-template ( #40850 )
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
2 years ago
linercoder
1fdd45ef10
doc: replace the printed value ( #40847 )
Co-authored-by: linercoder <linjunjie@realibox.com>
2 years ago
JiaQi
7043cadab0
fix(TimeLine): Fixed the Timeline item className error ( #40835 )
2 years ago
linxianxi
6c49fc9422
demo: fix upload drag can not preview ( #40837 )
2 years ago