Commit Graph

15921 Commits

Author SHA1 Message Date
lijianan
5ed7da0ed4
type: add ref type (#41104) 2023-03-07 16:41:43 +08:00
lijianan
c38108a63c
fix: Upload in React 18 sync problem (#41082)
* fix: Upload in React 18 sync problem

* test: add test case
2023-03-06 16:38:46 +08:00
MadCcc
7a7305ce5a
Merge pull request #41075 from ant-design/feature
chore: merge feature into feature
2023-03-06 00:22:27 +08:00
MadCcc
1d923e5daf
chore: update snapshot (#41074) 2023-03-05 23:30:14 +08:00
二货爱吃白萝卜
6c32399bd4
chore: Select like component always showArrow (#41028)
* chore: always showArrow

* test: update snapshot

* fix: autoComplete arrow logic

* test: update snapshot

* test: update snapshot

* test: update snapshot

* test: update snapshot
2023-03-05 23:29:03 +08:00
JiaQi
2e9d14f282
fix(select): Fix Typography component is not centered in the Select component (#40422)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-03-05 21:00:06 +08:00
黑雨
413e44a170
feat: breadcrumb support items (#40543)
* feat: breadCrumb support  items

* feat: update snap

* feat: 删除部分不支持的test case

* feat: update snap

* feat: update snap

* feat: update snap

* feat: update ts

* feat: update ts

* feat: update ts

* feat: update for reviewer

* doc: update for doc

* doc: update for doc

* doc: replace breadcrumbName to title

* doc: replace breadcrumbName to title

* doc: replace breadcrumbName to title

* chore: adjust separator logic

* refactor: use items

* chore: update logic

* chore: fix routes logic

* chore: fix logic

* chore: clean up

* chore: adjust warning info

* doc: edit test case

* feat: update snap

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-03-05 20:57:49 +08:00
kiner-tang(文辉)
2aa1e2b7e5
docs: update qrcode doc (#41062) 2023-03-05 20:55:16 +08:00
MadCcc
8467428528
refactor: rename preset colors in token (#41071)
* refactor: rename preset colors in Design Token

* feat: rename preset color in token
2023-03-05 20:49:26 +08:00
MadCcc
8ae56f2371
feat: tooltip support arrow.pointAtCenter (#40989)
* feat: tooltip support arrow.pointAtCenter

* test: rm only

* fix: Popover

* fix: rm popover arrow logic

* test: update test

* chore: skip debug demo test
2023-03-05 17:51:19 +08:00
github-actions[bot]
9c45647556
chore: auto merge branches (#41065)
chore: merge master into feature
2023-03-05 09:39:23 +00:00
JiaQi
673d8a029b
fix(message): Enables the message to support colorText (#41047) 2023-03-05 16:39:43 +08:00
lijianan
d7378a09ba
chore: adjust parameter order (#41036) 2023-03-03 14:56:12 +08:00
lijianan
39c645bbb7
chore: adjust parameter order (#41037) 2023-03-03 14:55:46 +08:00
二货爱吃白萝卜
9d546ed51a
chore: bump select tree-select cascader version (#41013)
* chore: bump select tree-select cascader version

* chore: adjust align prepare style

* chore: bump trigger version

* test: update snapshot
2023-03-02 22:09:02 +08:00
JiaQi
a268fdde8f
style(Table): Add the rowScope style (#40304)
* Add the rowScope style

* doc(table): add demo about rowScope

* update snapshot

---------

Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
Co-authored-by: muxinFeng <434980373@qq.com>
2023-03-02 20:51:40 +08:00
栗嘉男
745015ef09 resovl CONFLICT 2023-03-02 00:48:00 +08:00
lijianan
f8b1e96448
fix: FloatButton support rtl (#40990) 2023-03-01 19:00:17 +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
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