Commit Graph

16062 Commits

Author SHA1 Message Date
Wuxh
32f8134f4f
feat: improve noStyle validation message display logic (#41698)
* test: add case

* feat: improve `noStyle` validation message display logic

When `noStyle=true` and `help=false`, the error message is blocked from being passed up

* test: update test case

* Revert "test: update test case"

This reverts commit a3e5d84ea620becb9e72b6b71766c01114add9ae.

* chore(type): update typo

* Revert "chore(type): update typo"

This reverts commit e13ec3ba5267394e8112fb742ec9bc9d4afdef5b.

* test(deps): DO NOT MERGE

* test: DO NOT MERGE

* Revert "test: DO NOT MERGE"

This reverts commit 2f4ea8e0ce64f88ab690c6e54b86034a92bcb55f.

* Revert "test(deps): DO NOT MERGE"

This reverts commit 48e700ef4aaa4675f29d3fbd23156bd8f692949e.
2023-04-10 12:03:11 +08:00
Wuxh
0e65dad8e9
chore: Form.Item should not support requiredMark (#41725)
* test: add case

* chore: Form.Item does not support requiredMark
2023-04-10 12:02:06 +08:00
afc163
9619c8c37e
style: remove Space font style (#40326)
* refactor: simplify code

* style: fix Space font style

* demo: fix Select demo
2023-04-10 10:29:26 +08:00
lijianan
862ce2eba5
fix: fix hover style (#41685)
* fix: fix hover style

* fix

* fix
2023-04-10 09:43:03 +08:00
lijianan
117203b05b
test: update snap fix CI (#41701)
* test: update snap fix ci

* test: update snapshot

---------

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2023-04-08 21:26:15 +08:00
JiaQi
1688d5995f
chore: Update random image sources (#41704)
* chore: update demo

* chore: update test case

* chore: update snap
2023-04-08 21:01:51 +08:00
Chinnawat Chimdee
09430623b5
fix: add missing Thai locale config (#41697) 2023-04-08 16:24:24 +08:00
acyza
3b60671fb9
fix: switcherIcon cannot be hidden (#41708)
* fix: switcherIcon cannot be hidden

* fix: switcherIcon cannot be hidden

* chore: update

* chore: add test case

* chore: fix test
2023-04-08 09:54:20 +08:00
JiaQi
b483ef8c3f
style(List.Item.Meta): Avatar and title are not aligned (#41688)
* fix(List.Item.Meta):Avatar and title are not aligned

* chore: add test case
2023-04-07 23:39:23 +08:00
Rinku Chaudhari
4dc86da9e5
chore: code comment english (#41706)
* translations: cn to en

* docs: grammar fix and ts definitions translated to english

* scripts change revert
2023-04-07 23:27:50 +08:00
JiaQi
bebc05196d
fix(Grid): Row justify setting space-evenly does not work (#41679) 2023-04-06 19:43:32 +08:00
lijianan
3b22b89e6d
type: fix type error (#41650)
* type: fix type error

* fix
2023-04-06 17:33:14 +08:00
Jiehui
820abee5f7
docs(Notification): completing descriptions of missing props (#41671)
* docs(Notification): completing descriptions of missing props.

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

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

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-04-06 17:28:21 +08:00
lijianan
326d7a1074
fix: add col width, fix table width error (#41626)
* Update useSelection.tsx

* Update useSelection.tsx

* fix

* fix

* fix

* add demo
2023-04-06 17:16:27 +08:00
muxin
fc24f382fc
style: remove fixed height in badge.ribbon (#41661)
* style: remove fixed height in badge.ribbon

* docs: update demo

* test: update snapshot
2023-04-06 16:41:03 +08:00
afc163
c0fb6236a2
style: fix Mentions dropdown style (#41660) 2023-04-06 14:31:35 +08:00
ChuTao Zhang
abdb770683
demo: demo bug of draggable modal (#41630)
该值默认false时,弹出窗口,鼠标不经过modal 的header(即绕过header,从左/右/下方进入modal的body),鼠标左键在body区域按下=着不放并移动,modal也会跟着移动,有时需要选中复制body内文字时,modal一直跟着移动而造成无法选择文字
2023-04-05 11:17:29 +08:00
Wxh16144
ef8b824ef1
chore: improve Form.Item on Require judgment logic (#41623)
* test: add case

* chore: improve `Form.Item` on Require judgment logic
2023-04-04 15:23:43 +08:00
二货爱吃白萝卜
4299d774ac
chore: optimize Select like component popup logic (#41619)
* chore: bump trigger ver

* chore: support auto flip + shift

* test: update snapshot

* chore: use in TreeSelect & Cascader
2023-04-04 13:43:53 +08:00
二货爱吃白萝卜
1a1fdf0cee
docs: Update QR Code basic demo (#41614)
* docs: Update qr code demo

* docs: update demo
2023-04-03 22:34:05 +08:00
Amumu
bf9eff66d7
chore: merge feature into master (#41598)
* 🦄️ refactor(DatePicker,Calendar): dateRender,monthRender => cellRender (#41584)

* refactor: dateRender => cellRender

* feat: update snapshots

* feat: update snapshots

* docs: update docs

* docs: update docs

* docs: update docs

* docs: update docs

* feat: update test case

* docs: update docs

* feat: optimize code

* feat: optimize code

* feat: update test case

* feat: update test case

* test: fix lint error (#41596) (#41600)

* test: fix lint error

* chore: fix lint

---------

* feat: Picker luxon support (#41580)

* chore: add luxon english documentation

* chore: add draft chinese documentation

This documentation was auto-generated based on the english version so it is only a rough draft and will most likely need to be refined.

* fix: improve documentation phrasing

---------

Co-authored-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: Sylvain Boulade <sboulade@gmail.com>
2023-04-03 11:21:24 +08:00
JiaQi
f414abc96d
fix(Form): Feedback does not automatically deduce the correct state (#41594)
* fix(form): Feedback does not automatically deduce the correct state

* rerunning
2023-04-02 17:53:29 +08:00
afc163
bc7fc713bc test: update checkbox snapshot 2023-04-01 21:20:04 +08:00
afc163
468f806e03 Merge branch 'feature' into master-merge-feature 2023-04-01 21:17:17 +08:00
lijianan
fd4cab792b
🦄️ refactor: renderSwitcherIcon => React.FC (#41556) 2023-04-01 13:38:34 +08:00
acyza
4792b879ca
fix: double arrow (#41578)
* fix: double arrow

* chore: fix test
2023-04-01 01:20:47 +08:00
二货爱吃白萝卜
3c28b3eb9e
fix: Checkbox align style (#41566)
* chore: use flex align center instead

* test: update test case

* chore: adjust space align

* chore: fix missing selector

* chore: revert space modify

* chore: offset cal
2023-03-31 14:30:50 +08:00
JiaQi
6e29fdd319
Fix Form.Item not rendering correctly in Modal when it has help (#40519)
Co-authored-by: Yuiai01 <dujiaqi@kezaihui.com>
2023-03-31 14:27:55 +08:00
JiaQi
b73b37eee9
feat(Form.Item): useStatus supports get error messages and warning messages (#41554)
* feat: useStatus supports get error messages

* feat: useStatus supports get warning messages

* chore: update example

* chore: add test case
2023-03-31 11:42:34 +08:00
Star
fb4029c17f
doc: fix Scroll To Top (#41436)
Co-authored-by: star <a@qqfav.com>
2023-03-30 23:23:04 +08:00
originRing
21a99873e6
docs(Breadcrumb): update index.zh-CN.md & index.en-US.md (#41558) 2023-03-30 16:37:52 +08:00
lijianan
65224d357d
🦄️ refactor: use React.useMemo replace function (#41550)
* 🦄️ refactor: use React.useMemo replace function

* add

* fix

* add

* add
2023-03-30 14:55:34 +08:00
muxin
76b6909c2d
fix: forcePopupAlign is align to forceAlign instead (#41540)
* fix: forcePopupAlign is align to forceAlign instead

* test: add test

* test: update test
2023-03-30 14:45:15 +08:00
lijianan
6aa21567d5
docs: update demo (#41534) 2023-03-30 10:23:57 +08:00
MadCcc
f6523f48a9
docs: update input semantic dom doc (#41524)
* 📝 docs: update input semantic dom doc

* chore: format

* docs: update

* docs: update
2023-03-29 20:32:01 +08:00
lijianan
d840f6a87a
🦄️ refactor: use React.useMemo replace function (#41533)
* 🦄️refactor: use React.useMemo replace function

* rename
2023-03-29 20:30:50 +08:00
二货机器人
d6a73f3c6b chore: feature merge master 2023-03-29 14:44:41 +08:00
二货机器人
5ad2a13b1b Merge remote-tracking branch 'origin/master' into feature-merge-master 2023-03-29 14:22:47 +08:00
二货爱吃白萝卜
25816b8604
fix: Table checkbox top border will not work (#41519) 2023-03-29 10:21:35 +08:00
JiaQi
dcf25ae1c1
chore: update de_DE locale (#41521) 2023-03-29 10:02:02 +08:00
栗嘉男
de2dde6613 Merge branch master into master-merge-feature 2023-03-28 22:01:23 +08:00
lijianan
3c454496ef
📃 docs: update docs (#41511) 2023-03-28 18:14:53 +08:00
MadCcc
3ef08ed0ef
fix: dropdown down icon size (#41501) 2023-03-28 13:20:59 +08:00
MadCcc
86b26e6935
fix: fix cycle-deps (#41499) 2023-03-28 12:12:36 +08:00
Andrew Blakey
0c555265b9
fix: Table filter do not persist filter status when filter dropdown is visible (#41445)
* Fix 36946 by memoizing a hook dependency to remain stable.

* Update Table.filter.test.tsx

* Update Table.filter.test.tsx
2023-03-28 11:03:47 +08:00
MadCcc
72a03efead
feat: input semantic dom (#41493)
* feat: input semantic dom

* chore: update deps

* docs: add toc
2023-03-28 09:57:55 +08:00
二货爱吃白萝卜
f0d3e43faa
fix: CP nonce should work on cssinjs (#41482) 2023-03-27 23:00:56 +08:00
lijianan
d1e1607287
🌈 style: update demo (#41489) 2023-03-27 20:02:01 +08:00
二货爱吃白萝卜
2a9f5ea1ab
docs: more token info (#41475) 2023-03-27 15:33:22 +08:00
MadCcc
06035500d5
refactor: textarea showCount in suffix (#41450)
* refactor: textarea showCount in suffix

* test: update snapshot

* test: update

* chore: update rc-input
2023-03-27 10:33:52 +08:00
JiaQi
87c436cccc
fix: render correct theme (#41465) 2023-03-27 10:08:22 +08:00
lijianan
c18a0ff8bc
🐞 fix: pagination hover and active style error when size=small (#41462) 2023-03-26 23:51:33 +08:00
vaakian X
022274d088
type(Grid): enhance autocompletion for Col (#41453)
* fix: better autocompletion

* chore: fix lint
2023-03-26 23:37:46 +08:00
Danial Soheili
16dc06cfe6
Update fa_IR.ts (#41455) 2023-03-26 17:19:26 +08:00
lijianan
13dfc7d765
🐞 fix: pagination hover style error when size=small (#41458)
* 🐞 fix: style error

* fix

* fix
2023-03-26 13:07:31 +08:00
lijianan
b352bad62a
🧪 test: fix master ci fail (#41451) 2023-03-26 12:01:14 +08:00
JiaQi
950f7cf2c1
refactor(Breadcrumb): Support for customized key (#41434) 2023-03-25 14:00:20 +08:00
lijianan
87543e52f1
chore: TypeScript definition optimization (#41415)
* Update usePagination.ts

* Update InternalTable.tsx

* Update Table.tsx
2023-03-25 13:59:21 +08:00
luo3house
4f819ea4ef
fix(useModal): forward modal config (#41422) 2023-03-24 17:23:39 +08:00
JiaQi
5d514fe1ab
docs: Optimize demo (#41423) 2023-03-24 13:47:21 +08:00
Denys Halenok
a41fba22c5
fix: add missing translations for sv_SE (#41424) 2023-03-23 19:15:09 +08:00
二货爱吃白萝卜
67a94febee
docs: more token info (#41421) 2023-03-23 17:17:28 +08:00
kiner-tang(文辉)
bf8a36be8f
fix(form): resolve the problem of validation states changing out of sequence (#41412)
* fix: reolve FormItem's validate status trigger unexpected issue

* feat: add test case

* feat: optimize code

* feat: optimize code

* feat: optimize code

* style: format code

* git

* feat: optimize code

* feat: optimize code

* feat: optimize code

* feat: react version

* style: format code

* refactor: refactor code

* refactor: refactor code

* refactor: refactor code
2023-03-23 16:40:53 +08:00
breeze
6a2cad277e
fix: fixed Form component layout exceptions when set props layout="inline" (#41140)
* fix: 修复form组件在行内布局下展示异常

* fix: 修复form组件在行内布局下展示异常

---------

Co-authored-by: 丁奎 <dingkui02@meituan.com>
2023-03-23 11:36:21 +08:00
Mateusz Burzyński
676a170383
type: fixed InternalTreeSelect's generic signature (#41386) 2023-03-22 17:48:03 +08:00
MadCcc
f9c31435ec
fix: Tabs border should not overlay with other border (#41381)
* fix: Tabs border should not overlay with other border

* fix: more border
2023-03-22 11:24:13 +08:00
二货爱吃白萝卜
c6de488432
fix: BreadcrumbItem menu type (#41373)
* fix: BreadcrumbItem menu type

* Update components/breadcrumb/BreadcrumbItem.tsx

Co-authored-by: acyza <101238421+acyza@users.noreply.github.com>

---------

Co-authored-by: acyza <101238421+acyza@users.noreply.github.com>
2023-03-21 16:00:28 +08:00
github-actions[bot]
719019ebc7
chore: auto merge branches (#41372)
chore: merge master into feature
2023-03-21 07:14:39 +00:00
lijianan
5157943050
feat: badge support size prop (#41371) 2023-03-21 14:11:39 +08:00
lijianan
1005d5c5a9
test: add test case (#41369)
* test: add test case

* update docs

* Update components/float-button/index.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/float-button/index.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* fix

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-21 13:18:30 +08:00
lijianan
f6c235462e
chore: Remove locale-provider (#41289)
* chore: rm locale-receiver

* chore: export useLocale in locale

* chore: comment

* chore: rm locale-provider dir

* docs: rm locale-provider in migration document

* chore: fix regexp

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-21 13:08:43 +08:00
lijianan
f829e40110
feat: Tag support borderless (#41305)
* feat: Tag support borderless

* update demo

* update colorFillSecondary

* update color

* fix

* update demo size
2023-03-21 13:02:27 +08:00
MadCcc
a5c0dbba07
docs: make Calendar demo client-only (#41359) 2023-03-21 13:00:34 +08:00
左耳咚
2ece2c6b63
Feature: Burmese translation (#41366)
* feat:  Burmese translation

* fix: fix Burmese - MYANMAR locale typo

* Update components/locale/my_MM.ts

Co-authored-by: Amumu <yoyo837@hotmail.com>

* fix: 🐞 modify package version

* fix: 🐞 add locale snap

* docs: 📃 update docs

---------

Co-authored-by: Amumu <yoyo837@hotmail.com>
2023-03-21 11:56:06 +08:00
lijianan
fb5ed95853
chore(deps): bump typescript to v5 (#41301)
* chore(deps): bump typescript to v5

* fix

* fix

* type fix

* Update components/statistic/demo/countdown.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* Update components/statistic/demo/countdown.tsx

Co-authored-by: MadCcc <1075746765@qq.com>

* fix

* fix type

* update demo

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-20 14:52:35 +08:00
Duy Pham
58d9cbd3d3
fix: wrong vietname translate text (#41345)
Co-authored-by: Duy Pham <duy.pham@salto.vn>
2023-03-20 13:10:50 +08:00
github-actions[bot]
a64f73a83d
chore: auto merge branches (#41344)
chore: merge master into feature
2023-03-20 04:54:05 +00:00
lijianan
e0c79ec5dc
type: export CountdownProps type (#41341) 2023-03-20 11:23:46 +08:00
Luyiin
d5ef496bb6
demo(date-picker-demo): fix select-in-range demo (#41161) 2023-03-20 10:49:08 +08:00
lijianan
51b973d9d5
feat: FloatButton support Badge (#41040)
* feat: FloatButton support internal Badge

* update docs

* style

* update docs

* test: update snap

* fix

* update demo

* test: update snap

* update style

* test: update snap

* test: update snap

* add docs

* fix: update style

* update

* fix

* fix

* fix

* update style

* fix

* update demo

* add

* add docs

* snap

* test: add test case

* Update components/float-button/demo/badge.md

Co-authored-by: MadCcc <1075746765@qq.com>

* fix

* docs: add debug demo

* docs: add debug demo

* test: update snap

* fix border-radius

* update snap

* fix

* fix

* rename

* style: use paddingXXS

* fix

* update demo

* update snap

* demo: add demo

---------

Co-authored-by: MadCcc <1075746765@qq.com>
2023-03-20 10:28:20 +08:00
ZivHe
b915094498
style: fix Anchor horizontal direction style (#41336) 2023-03-19 23:28:34 +08:00
Amumu
ec33f75bc0
chore: code style improve (#41335) 2023-03-19 23:20:16 +08:00
JiaQi
41c4386181
fix(Grid): small screen with offset when switching large screen offset is not overwritten (#41309) 2023-03-19 16:18:27 +08:00
acyza
16f0b576a7
fix(anchor): ink correct switch direction (#41317)
* fix(anchor): ink correct switch direction

* chore(anchor): fix test error

* chore(anchor): fix test error

* chore: test

* chore: test

* chore: test

* chore: update
2023-03-19 16:17:08 +08:00
Danial Soheili
00bbd66064
fix: missing rtl className for Input count (#41319) 2023-03-19 16:14:48 +08:00
lijianan
20816a2184
refactor: adjust refresh Button logic (#41323) 2023-03-19 16:13:41 +08:00
lijianan
49c932a102
chore: delete useless comment (#41327) 2023-03-19 16:13:04 +08:00
maomao
241b9465c8
type: optimization type (#41326) 2023-03-18 23:17:41 +08:00
PhosphorusP
37353e0ef3
fix: <Tabs /> shows wrong more icon color in #41312 (#41313)
Co-authored-by: David <oncwnuI2Sf77R0KOdSUCh_ieKUzM@git.weixin.qq.com>
2023-03-18 19:24:41 +08:00
Tai Nguyen Trong
f06220d756
fix(locale): add missing vietnamese translation (#41320) 2023-03-18 19:11:17 +08:00
Arvin Xu
de04b0d183
docs: add most alias token meta info by gpt3.5 (#41297) 2023-03-17 14:21:42 +08:00
JiaQi
6c02a0e14c
fix(button): Focus outline being blocked by other elements (#41282) 2023-03-17 11:56:34 +08:00
acyza
6c8082a474
fix: BreadcrumbItemType missing onClick func (#41283)
* feat: BreadcrumbItemType add onClick

* chore: update

* fix: 补充className

* chore: update
2023-03-17 11:26:36 +08:00
github-actions[bot]
de28d09854
chore: auto merge branches (#41292)
chore: merge feature into master
2023-03-16 18:27:38 +00:00
Amumu
39adae8e5c
chore: bump @rc-component/trigger & update snapshot (#41287)
* chore: bump @rc-component/trigger & update snapshot

* test: try fix ci
2023-03-17 01:37:45 +08:00
野迂迂
844905774a
docs: improve FieldData type on Form (#41278) 2023-03-16 20:15:00 +08:00
Wxh16144
74e2e9850f
docs(date-picker): improve format docs (#41266)
* docs(date-picker): improve format docs

* chore: update en-US docs
2023-03-16 11:16:26 +08:00
JiaQi
8b07ec33b7
feat(image): Preview support rootClassName (#41265) 2023-03-16 09:53:57 +08:00
muxin
2a7541b682
docs: update description of afterOpenChange api (#41263) 2023-03-15 21:32:20 +08:00
muxin
0ecb3caa61
chore: bump rc-dialog & rc-image version (#41253) 2023-03-15 19:55:24 +08:00