plainnany
059042b2cd
fix(Form): typo in md ( #40991 )
...
Co-authored-by: munan <munan@tsign.cn>
2023-03-01 17:48:36 +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
kiner-tang(文辉)
da3babbe39
refactor(progress): progress size ( #40903 )
...
* feat: progress size
* feat: update snapshots
* feat: update demo
* feat: update demo
* docs: fix lint
* feat: update demo
* feat: update demo
* docs: update doc
* feat: update snapshots
* docs: update doc
* docs: update doc
* docs: update doc
* Update components/progress/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
* Update components/progress/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* Update components/progress/utils.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* feat: optimize code
* Update components/progress/Circle.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: optimize code
* feat: optimize code
* docs: update doc
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-01 11:49:42 +08:00
kiner-tang(文辉)
e7acb487f3
feat(tour): tour support custom zIndex ( #40982 )
...
* feat: tour support custom zIndex
* feat: update snapshots
2023-03-01 11:14:10 +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
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
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
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
黑雨
51c615dd42
refactor: Breadcrumb separator use li
instead span
( #40887 )
...
* fix: fix 'span' to 'li'
* fix: fix 'span' to 'li'
* fix: update snap
* fix: update span to li
* feat: update snap
* feat: update snap
* feat: update snap
* feat: breadCrumb support items
* feat: update snap
* feat: update snap
* feat: update snap
2023-02-24 18:20:28 +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
栗嘉男
cd9ad445ea
chore: merge master into feature
2023-02-23 15:05:18 +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
kiner-tang(文辉)
36b47f6233
refactor: update @rc-component/tour version ( #40872 )
2023-02-22 15:54:57 +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
MadCcc
b9a1e08ba4
fix: focus outline width ( #40839 )
2023-02-22 10:34:51 +08:00
MadCcc
e5930e61ed
feat: add lineWidthFocus ( #40840 )
...
* feat: add lineWidthFocus
* feat: apply token
* chore: code clean
2023-02-22 10:34:38 +08:00
kiner-tang(文辉)
42e2b73cdf
feat(image): Image.PreviewGroup support preview.onChange callback ( #40857 )
...
* feat: imageGroup support onChange callback
* feat: reset code
2023-02-21 21:21: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
linercoder
1fdd45ef10
doc: replace the printed value ( #40847 )
...
Co-authored-by: linercoder <linjunjie@realibox.com>
2023-02-21 17:59:18 +08:00
github-actions[bot]
6fc08687ae
chore: auto merge branches ( #40843 )
...
chore: feature merge master
2023-02-21 07:55:49 +00:00
JiaQi
7043cadab0
fix(TimeLine): Fixed the Timeline item className error ( #40835 )
2023-02-21 12:09:01 +08:00
linxianxi
6c49fc9422
demo: fix upload drag can not preview ( #40837 )
2023-02-21 11:13:00 +08:00
JiaQi
f76e5bb954
style(rate): fix the rate interaction style under disabled ( #40836 )
2023-02-21 10:25:46 +08:00
二货爱吃白萝卜
8f7f3608f8
fix: safari align ( #40818 )
2023-02-20 14:48:59 +08:00
二货爱吃白萝卜
4bb102474e
fix: Week style ( #40801 )
2023-02-20 11:51:01 +08:00
github-actions[bot]
da441ae35f
chore: auto merge branches ( #40808 )
...
chore: feature merge master
2023-02-20 03:18:59 +00:00
MadCcc
853283b7e4
docs: DatePicker design tab ( #40745 )
...
* docs: DatePicker design tab
* docs: add design demo
* docs: add anchor for design demo
* docs: init g6
* docs: behavior map
* test: fix test cov
* docs: behavior map comp
* docs: add map title
* docs: fix ssr
* docs: update demo
* docs: optimize copy ux
* docs: update demo
* chore: code clean
2023-02-20 10:51:18 +08:00
lijianan
33275b6e80
demo: fixed the avatars are all the same picture ( #40809 )
...
* demo: update demo
* update snap
* update snap
* update snap
2023-02-20 10:24:40 +08:00
afc163
c32e5e38ef
style: fix List item padding when enable grid
( #40806 )
...
- Reduce the horizontal padding of list items from `${token.paddingContentHorizontalLG}px` to `0`
[components/list/style/index.ts]
- Reduce the horizontal padding of list items from `${token.paddingContentHorizontalLG}px` to `0`
2023-02-19 21:43:23 +08:00
afc163
3b2cd725cb
style: fix Upload picture card style alignment ( #40805 )
...
- Align SVG elements in the picture card style
- Update components/upload/style/picture.ts
[components/upload/style/picture.ts]
- Add vertical alignment for SVG elements in the picture card style
2023-02-19 21:40:05 +08:00
JiaQi
e142e2436d
style(DatePicker): fix hover style error when checked again ( #40785 )
2023-02-19 21:27:46 +08:00
afc163
9b25304c29
style: fix Table dropdown radius style ( #40802 )
2023-02-19 20:35:36 +08:00
Lukáš Licek
6fa4c2e59f
demo: Example checkbox does not disable Form ( #40740 )
...
* fix: Example checkbox does not disable Form
In this demo, the example checkbox disables the form, which should be the functionality of the "Form disabled" checkbox and only that one.
* Update disabled.tsx
---------
Co-authored-by: afc163 <afc163@gmail.com>
2023-02-19 16:59:20 +08:00
Jungzl
76dc87f1c3
fix: adjust onBackground outputs to support semi-transparent colors ( #40729 )
...
* chore(deps): bump @ctrl/tinycolor from 3.4.0 to 3.6.0
* fix: adjust onBackground outputs to support semi-transparent colors
2023-02-19 16:24:20 +08:00
Ritesh Makan
54d3a738f6
demo: Fix broken avatars ( #40793 )
...
* Update links from https://joeschmoe.io to https://joesch.moe
* updated snapshots
2023-02-19 14:20:01 +08:00
红果汁
0a24676845
fix: use loading delay not delay at first time ( #40751 ) ( #40759 )
...
* fix: use loading delay not delay at first time
* perf: test code
* refactor: optimization code
* fix: lint problem
* refactor: prefer code
* refactor: prefer code
* refactor: prefer code
2023-02-19 12:48:28 +08:00
二货爱吃白萝卜
108129641f
feat: WeekPicker support hover style ( #40772 )
...
* feat: support range hover style
* chore: adjust hover style
* chore: cleanup
* chore: update style
* test: update snapshot
* chore: fix style
* chore: cleanup
* chore: cleanup
2023-02-19 12:33:09 +08:00
lijianan
de82a15b22
type: simplify getPlacement return type ( #40775 )
2023-02-17 22:11:06 +08:00
shitian9
51200e7732
demo: fix lazy.tsx type ( #40778 )
...
Demo 有问题,会在 VSCode中 引用 `loadData`、`onChange` 时 会报错
2023-02-17 22:10:23 +08:00
lijianan
5199344d09
docs: fix unsupported syntax ( #40779 )
2023-02-17 18:27:35 +08:00
carla-cn
fd2db7614f
fix: diabled Input abbdon should not have status style ( #40744 )
...
Co-authored-by: zhouling <zhouling@kezaihui.com>
2023-02-17 15:45:29 +08:00
MadCcc
1ebdfb7049
Merge pull request #40771 from ant-design/master
...
chore: feature merge master
2023-02-17 14:47:27 +08:00
MadCcc
40abef340a
fix: update DatePicker style ( #40768 )
2023-02-17 12:04:35 +08:00
JiaQi
12a734adac
fix(Radio): Handle nesting correctly ( #40741 )
2023-02-17 10:23:34 +08:00
muxin
03ef8225cf
docs: add description of maxTagTextLength api ( #40757 )
...
close 40755
2023-02-16 19:20:23 +08:00
二货爱吃白萝卜
0c0faaa9e1
docs: Update Tooltip docs ( #40754 )
...
* chore: update pkg
* docs: update doc
2023-02-16 16:08:03 +08:00
红果汁
c4f83649ae
fix: add Tour french locale ( #40750 )
2023-02-16 12:17:55 +08:00
lijianan
c53330d90e
feat: App support style props ( #40708 )
...
* feat: App support style props and export props type
* test: add test case
* Conflicting
2023-02-15 18:32:40 +08:00
slotDumpling
6234509d18
fix: active skeleton safari problem ( #40692 )
2023-02-15 16:52:48 +08:00
luo3house
9f98fc243e
feat(App): add message & notification options ( #40456 ) ( #40458 )
...
* feat(App): add message & notification options
* chore: test
* docs: App docs
* feat: config inherit in nest app
* feat: provide & consume config context internally
* docs(App): property literal
* fix(App): repect config from props in priority
* Update components/app/index.en-US.md
* Update components/app/index.zh-CN.md
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-02-15 15:05:21 +08:00
二货爱吃白萝卜
5c1162a140
docs: update demo ( #40732 )
...
* docs: update demo
* test: update snapshot
* test: update snapshot
* chore: fix lint
2023-02-15 14:56:22 +08:00
JiaQi
910d0fc340
fix: inconsistency between checkbox and radio in table when Form is disabled ( #40728 )
2023-02-15 13:21:53 +08:00
二货爱吃白萝卜
86b5c50cb4
refactor: Tooltip support auto arrow & auto shift ( #40632 )
...
* chore: adjust doc
* chore: simplify arrow offset
* chore: auto adjust shift
* docs: adjust demo
* chore: update snapshot
* chore: provide ref
* test: prepare
* chore: update deps
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: fix part test
* test: update snapshot
* fix: missing pure render
* fix: Popover pure panel
* test: update snapshot
* test: update tour snapshot
* chore: bump trigger ver
* test: fix render ssr logic
* test: skip unnecessary case
* test: fix test case
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: fix test case
* test: fix test case
* chore: clean up useless warning
* test: add check for placement
* chore: ignore default
2023-02-15 10:21:28 +08:00
MadCcc
185c276c01
Merge branch 'master' into feature-merge-master
2023-02-14 21:15:39 +08:00
Wade
213efa2cf1
demo: lose input focus when add new tag in animation demo ( #40722 )
...
Co-authored-by: wen-wei-feng <wen-wei.feng@hp.com>
2023-02-14 17:43:53 +08:00
xliez
0d67bde239
feat: add useConfig hook to ConfigProvider ( #40215 )
...
* feat: add useConfig hook to ConfigProvider
* docs: format config-provide markdown
* doc: add available version
* test: add useConfig test
* docs: add debug
* chore: fix lint error
* fix: getter dead loop
* test: promote useConfig test coverage
* docs(ConfigProvider): update available version
2023-02-14 17:39:35 +08:00
lyn
d823f60edf
docs: fix docs error ( #40714 )
2023-02-14 10:15:30 +08:00
Jung Min O
2c694258d2
Update ko_KR.ts ( #40716 )
2023-02-14 09:20:45 +08:00
@linhf2023
fb5305d4c6
fix(TimeLine): Correct className ( #40700 )
...
Co-authored-by: WB780012 <wb-lhf780012@antgroup.com>
2023-02-13 15:41:47 +08:00
lijianan
c885a42e3b
refactor: rewrite panelRender function to funtion component ( #40670 )
...
* fix: Indicators support number 0
* fix
* fix
* fix
* fix
* fix
* refactoring: rewrite panelRender function to funtion component
* restart ci
* fix
* fix
* fix
* Update index.test.tsx
* Update index.en-US.md
* Update components/tour/panelRender.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* raname
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-02-13 14:30:08 +08:00
Long Hao (龙濠)
4299a0b28b
fix: 修复滑动条中 dot 的触发范围异常 ( #40679 )
2023-02-13 10:58:11 +08:00
RamonEspinosa
9632b36b04
type: fix drag sorting demo typos ( #40697 )
2023-02-13 10:49:44 +08:00
JiaQi
f646ba9c3a
fix(DatePicker): Fixed incorrect cursor when Picker of DatePicker is month and quarter ( #40607 )
...
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-02-13 10:42:05 +08:00
linxianxi
c48c712371
demo: remove react-dnd, use dnd-kit ( #40674 )
...
* demo: remove react-dnd, use dnd-kit
* change type
2023-02-13 10:29:12 +08:00
lijianan
774bd8e6aa
fix: Indicators support number 0、null、undefined ( #40631 )
...
* fix: Indicators support number 0
* fix
* fix
* fix
* fix
* fix
* Update components/tour/__tests__/index.test.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* test: add test
* Update index.zh-CN.md
* Update index.en-US.md
* fix: update test
* test case
* Update components/tour/__tests__/index.test.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tour/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* fix style
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2023-02-13 10:21:45 +08:00
藤原托漆
766e7f8f6b
docs: fix docs file name error ( #40683 )
2023-02-10 23:15:54 +08:00
MadCcc
c5dc6a4b92
fix: steps custom icon size ( #40672 )
2023-02-10 17:31:30 +08:00
Sunny-117
3cd756a514
chore(test): replace toEqual with toBe for boolean results ( #40673 )
2023-02-10 16:15:16 +08:00
afc163
e11ef765a1
feat: Image support flip function and fix fallback ( #40660 )
...
* bump rc-image 5.15.1
* add flix support
* chore: update snapshot
2023-02-10 00:12:18 +08:00
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
...
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2023-02-09 22:17:31 +08:00
Eldar Mirzabekov
31cbbce825
fix: add missing translations for ru_RU and uk_UA ( #40656 )
2023-02-09 16:41:22 +08:00