Commit Graph

15813 Commits

Author SHA1 Message Date
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
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
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
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
linercoder
1fdd45ef10
doc: replace the printed value (#40847)
Co-authored-by: linercoder <linjunjie@realibox.com>
2023-02-21 17:59:18 +08: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
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
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
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
红果汁
c4f83649ae
fix: add Tour french locale (#40750) 2023-02-16 12:17:55 +08:00
slotDumpling
6234509d18
fix: active skeleton safari problem (#40692) 2023-02-15 16:52:48 +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
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
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