Commit Graph

18298 Commits

Author SHA1 Message Date
ice
36573e2302
fix(select): Incorrect activeBorderColor token when variant is filled (#51054) 2024-09-27 18:49:49 +08:00
Wanpan
75df10fc07
fix: Splitter.Panel style is invalid (#51032) 2024-09-27 09:33:55 +08:00
超级烦
79f2b635b5
docs:Remove duplicate definitions of attributes icon and disabled (#51030) 2024-09-26 17:26:13 +08:00
afc163
d85d99df5e
Revert "feat: Tree add indentWidth token" (#51009) 2024-09-25 11:14:36 +08:00
afc163
9c3478ed77
feat: Tree add indentWidth token (#50989) 2024-09-25 10:33:01 +08:00
Roman Letodiani💠
10ad31faf2
docs: Update index.en-US.md (#51006) 2024-09-25 10:13:05 +08:00
ice
696c9dde02
fix(button): type=link error token & add prefix cls (color/variant) & specificity too high (#50962) 2024-09-24 23:52:50 +08:00
Yaşar Tahir Köse
8537f73e3d
fix: tr value added on filterCheckall keyword (#51000)
Co-authored-by: ytahirkose <yasar.kose@elsitel.com.tr>
2024-09-24 22:50:00 +08:00
二货爱吃白萝卜
6a48219d00
fix: Table in Transfer (#50974) 2024-09-23 19:08:41 +08:00
二货爱吃白萝卜
96e5dfae2f
docs: add desc (#50967) 2024-09-23 14:47:15 +08:00
二货爱吃白萝卜
e3063f244d
docs: blog picker (#50936)
* chore: blog picker

* docs: trigger update

* docs: add ref faq

* docs: update
2024-09-23 11:09:46 +08:00
afc163
ecb099d8d1
docs(🔥): release 5.21.0 with Splitter component and variant buttons (#50948)
Co-authored-by: lijianan <574980606@qq.com>
2024-09-22 23:04:51 +08:00
github-actions[bot]
f08de84914
chore: auto merge branches (#50953)
chore: merge feature to master
2024-09-22 14:54:49 +00:00
afc163
36ddb02301
feat: Pagination showSizeChanger accepts SelectProps now (#50952) 2024-09-22 22:22:09 +08:00
kiner-tang
aa70d29d30
fix(Tour): solve the Tour title will cover the close button at a certain length issue (#50942) 2024-09-22 22:03:33 +08:00
kiner-tang
ff4989ccca
feat: Add some token for Select to customize hover/focus style (#50951)
* feat: add some token in select

* feat: add some token in select
2024-09-22 18:36:05 +08:00
thinkasany
0401475eb4
fix(select): background color appears when allowClear and filled (#50916) 2024-09-22 13:58:56 +08:00
lijianan
14d00df048
chore: fix the Warning of Alert demo (#50946) 2024-09-21 22:46:29 +08:00
github-actions[bot]
119eef9075
chore: auto merge branches (#50945)
chore: merge feature into master
2024-09-21 14:07:01 +00:00
kiner-tang
13530a0ba6
docs: optimize demo style of lunar (#50944) 2024-09-21 20:09:37 +08:00
kiner-tang
a10f4c2ca3
docs: Optimize the operation experience of the demo modal (#50943) 2024-09-21 15:19:53 +08:00
thinkasany
9b7adc1859
demo(form): improve layout demo (#50933) 2024-09-20 11:51:25 +08:00
kiner-tang
9385ed0bc8
docs: Resolve the link redirection error in the Upload (#50929) 2024-09-20 10:44:21 +08:00
2jordan3
8c4fbcdb92
feat(Checkbox): Change html element type for onFocus, onBlur (#50924) 2024-09-19 23:41:00 +08:00
𝑾𝒖𝒙𝒉
c48fc0fb95
fix(SubMenu): popupStyle not working (#50922) 2024-09-19 20:01:03 +08:00
Heap
fac392de60
fix: Repair missing inner spacing (#50917) 2024-09-19 17:56:39 +08:00
afc163
0815f2629e
Revert "fix: remove Icon default fill="currentColor"" (#50918) 2024-09-19 17:47:15 +08:00
renovate[bot]
863f61d908
chore(deps): update dependency eslint to v9 (#50690)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 03:30:19 +08:00
DDDDD12138
9c4d5496bd
fix(input): Input addon text color issue (#50486)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-19 01:45:03 +08:00
github-actions[bot]
9d5f73145e
chore: auto merge branches (#50906)
chore: merge feature to master
2024-09-18 16:35:51 +00:00
Alina Andrieieva
a75c481ddf
feat(modal): Ingested changes from rc-dialog to disable modal close button (#50522)
Co-authored-by: Alina Andrieieva <Alina_Andrieieva@epam.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-18 23:31:06 +08:00
章鱼怪
b5b0918970
feat: Text Button tokens (#47870) 2024-09-18 23:26:56 +08:00
curry
436aa9ad2d
feat: Segmented adds vertical prop (#50708)
Co-authored-by: 梁朝飞 <liangchaofei@guokechuzhi.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: thinkasany <480968828@qq.com>
2024-09-18 23:22:51 +08:00
Heap
296a9dcfd8
fix: Typography ellipsis insufficient width (#50895)
Co-authored-by: 树清 <yezhonghu123@gmail.com>
2024-09-18 10:00:29 +08:00
harapeko
aa48a3cf42
feat: Adds ja_JP locale for shortWeekDays and shortMonths. (#50893) 2024-09-17 20:15:15 +08:00
lijianan
5b467654aa
feat: FloatButton support button htmlType (#50892) 2024-09-17 17:15:26 +08:00
afc163
ef10661dec
Revert "fix(Descriptions): style bordered table overflow" (#50891) 2024-09-17 17:08:32 +08:00
github-actions[bot]
72c0377ab8
chore: auto merge branches (#50883)
chore: merge master into feature
2024-09-16 09:55:50 +00:00
栗嘉男
5db0ecc0b0 chore: merge master into feature 2024-09-16 17:23:52 +08:00
yuanliu
5a2818600c
feat(radio): add 'block' argument for Radio.Group (#50828)
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: liuyuan <yuanliu147@qq.com>
2024-09-16 17:21:55 +08:00
lijianan
eb630d341d
demo: Table demo update (#50876) 2024-09-16 00:08:45 +08:00
lijianan
3b08dea83b
demo: rm ts-nocheck of demo (#50878) 2024-09-15 18:54:20 +08:00
ff69603b40
demo: update top-side-2.tsx (#50865)
* refactor:update top-side-2.tsx

Resolve the warning of console output "Warning: [antd: Breadcrumb] `Breadcrumb.Item and Breadcrumb.Separator` is deprecated. Please use `items` instead."

Signed-off-by: 葉 <86666479+Aimony@users.noreply.github.com>

* Update components/layout/demo/top-side-2.tsx

Signed-off-by: afc163 <afc163@gmail.com>

* Update components/layout/demo/top-side-2.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: afc163 <afc163@gmail.com>

* test(layout): Update components/layout/__tests__/__snapshots__/demo-extend.test.ts.snap

---------

Signed-off-by: 葉 <86666479+Aimony@users.noreply.github.com>
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-09-15 17:30:52 +08:00
lijianan
ef11e1b9a6
demo: update Table demo (#50866) 2024-09-15 10:50:19 +08:00
lijianan
fd8338e76e
site: rm dot of cls (#50869) 2024-09-15 10:49:36 +08:00
huiliangShen
7a521ab908
feat(Checkbox): add onBlur and onFocus in types (#50842)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-14 14:39:53 +08:00
afc163
b2b0d880fe
chore: fix size-limit (#50858) 2024-09-14 14:39:13 +08:00
𝑾𝒖𝒙𝒉
b6edef3af8
fix(Upload): should support name prop drilling (#50652)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-14 14:38:51 +08:00
lijianan
fa5d758e21
feat: CP should support Splitter className & style (#50855) 2024-09-14 13:57:23 +08:00
栗嘉男
0a75dfe6fd chore: merge master into feature 2024-09-14 11:57:40 +08:00
栗嘉男
78c1fca2f0 chore: merge master into feature 2024-09-14 11:50:34 +08:00
NathanLao
b5defa9809
fix: add missing arbric translation to locale (#50851) 2024-09-14 10:04:54 +08:00
二货爱吃白萝卜
ce1356559d
fix: ColorPicker hex precision (#50843)
* test: test driven

* fix: format logic

* chore: comment

* chore: rm useless lint rule

* chore: rm useless lint rule

* chore: rm useless lint rule

* chore: rm useless lint rule
2024-09-13 15:41:53 +08:00
二货爱吃白萝卜
22fb6f67fa
fix: invalid useApp warning (#50829)
* fix: invalid warning

* docs: back of demo
2024-09-12 14:11:43 +08:00
NathanLao
7bf6d60f29
feat: Add missing Greek translation for form and date-picker (#50825) 2024-09-12 10:18:38 +08:00
afc163
884baa1fad
fix: Modal a11y warning issue (#50823)
close #50170
2024-09-12 10:17:33 +08:00
章鱼怪
380cae80bc
feat(Image): add onActive to toolbarRender (#50812)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-11 23:32:37 +08:00
thinkasany
e45146af9e
fix(localse): add tour translation for es_ES (#50805) 2024-09-11 20:18:18 +08:00
二货爱吃白萝卜
3b8ea07a8a
fix: Typography copyable support array children (#50813)
* test: test driven

* test: test driven

* fix: test case
2024-09-11 20:01:10 +08:00
二货爱吃白萝卜
27c5d43bee
fix: otp not accept type (#50811) 2024-09-11 15:32:23 +08:00
afc163
f0910375ea
style: remove Pagination default font family (#50808) 2024-09-11 15:22:10 +08:00
Wanpan
8d8bef000d
docs: update cove image (#50809) 2024-09-11 13:51:04 +08:00
二货爱吃白萝卜
6dd89cd271
demo: use en instead of cn (#50804) 2024-09-11 13:51:00 +08:00
Jerryxin
13f338a9f5
fix(Table): cannot check rows when checkStrictly={false} (#50746) 2024-09-11 12:18:27 +08:00
afc163
94ee36a40c
docs: add version badge for Table hidden demo (#50803) 2024-09-11 11:21:18 +08:00
二货爱吃白萝卜
82b05b209d
refactor: ColorPicker panel free for uncontrolled (#50785)
* refactor: change on drag will change panel color

* docs: update demo

* test: update snapshot

* chore: wrap with useEvent

* fix: order of events

* fix: sync logic
2024-09-11 10:46:30 +08:00
Wanpan
ef1b0e32ab
perf: layout add default value (#50797) 2024-09-11 00:03:02 +08:00
lijianan
01d1b3d492
demo: rewrite render function with React.FC (#50779)
* demo: rewrite render function with React.FC

* demo: rewrite render function with React.FC

* fix: fix snap

* Update components/splitter/Splitter.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: clear

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-10 22:35:32 +08:00
yuanliu
09895d9f03
type: extends HTMLSpanElement for BadgeProps type(#50730) (#50774) 2024-09-10 21:59:23 +08:00
二货爱吃白萝卜
4fffbea08f
fix: Sider support ConfigProvider theme (#50780)
* fix: Sider support cp

* fix: css layout

* chore: size limit
2024-09-10 15:43:58 +08:00
二货爱吃白萝卜
fbf8b10425
docs: update button doc desc (#50770)
Co-authored-by: ice <1597834867@qq.com>
2024-09-09 22:30:49 +08:00
Lansana Diomande
9127cecc12
feat(List): add ref on component (#50772)
Co-authored-by: Lansana DIOMANDE <lansana.diomande@cartier.comm>
2024-09-09 22:27:42 +08:00
Wanpan
742ce37887
feat:🔥New Component: Splitter (#50038)
* feat: SplitPanel init

* feat: SplitPanel update

* feat: SplitPanel update

* feat: splitPanel update useResize

* feat: SplitPanel update

* feat: splitPanel update useResize

* feat: SplitPanel update

* feat: splitPanel demo

* feat: splitPanel update

* feat: splitPanel support complicated combination

* feat: SplitPanel rename to Splitter

* feat: Splitter support onRize

* feat: support collapsible

* feat: support token and collapsible

* feat: update docs

* feat: size defaultSize support string

* feat: min max support string

* feat: update

* feat: support DOM structure

* feat: Optimize UI

* feat: Optimize Code

* fix: Add a default size during initialization to prevent failure to obtain container size

* feat: optimized code

* feat: optimized code

* feat: Optimize Code

* Update components/splitter/demo/layout.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* Update components/splitter/demo/multiple.tsx

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Wanpan <wanpan96@163.com>

* docs: update

* feat: Modify the style and optimize the interface

* feat: use PropsWithChildren

* feat: support rtl

* feat: collapsible supports object types

* fix: when collapsible is boolean not work

* feat: Splitter add test

* feat: update

* test: update snapshots

* docs: update

* test: update snapshots

* test: update

* test: update

* test: update

* test: update

* fix: Removed invalid min and max restrictions when collapsible exists

* test: update

* test: update

* test: update

* test: test coverage

* Revert "test: test coverage"

This reverts commit d247193722.

* test: test coverage

* feat: rename

* feat: optimized code

* ci: lint

* feat: optimized code

* feat: add useag tips

* feat: optimized code

* feat: Modify splitbar layout

* feat: optimized code

* feat: numerical precision

* feat: optimized code

* feat: Optimized trigger region

* feat: Support configuration animation

* fix: Fix Collapsible exception when using multiple panels

* fix: Fixed the issue of drag area overlapping when multiple panels are folded

* feat: optimized code

* feat: annotation

* feAt: optimized code

* fix: bgcolor

* fix: Modify the initial value calculation method

* test: update

* feat: add cover image

* chore: adjust logic

* chore: use items size

* chore: rtl

* chore: limit

* chore: controlled

* docs: update demo

* docs: adjust style

* chore: add split style

* chore: hor collapisble style

* chore: collapse icon

* chore: update warning

* chore: clean up

* chore: collapse logic

* chore: adjust demo

* chore: clean up

* test: adjust logic

* docs: update demo

* docs: rm useless demo

* docs: demo

* test: add demo test

* test: test of them

* test: 100% coverage

* chore: fix lint

* docs: update demo

* refactor: unique resize config

* docs: add demo

* fix: support virtual resiable

* chore: add cursor mask

* test: update snapshot

* test: add test case

* test: update snapshot

* chore: use px base

* chore: rm useless code

---------

Signed-off-by: Wanpan <wanpan96@163.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: ice <49827327+coding-ice@users.noreply.github.com>
2024-09-09 19:23:25 +08:00
yuanliu
5003f0573b
type: narrow Collapse onChange argument to string[] (#50754) 2024-09-08 12:03:30 +08:00
afc163
ac5bb7cbeb
fix: Dropdown cannot wrap correctly when out of screen edge (#50752) 2024-09-07 21:48:09 +08:00
afc163
61e365f313
fix(menu): Improve collapse animation smoothness (#50751) 2024-09-07 18:55:24 +08:00
github-actions[bot]
33533ff22c
chore: auto merge branches (#50748)
chore: merge master into feature
2024-09-07 04:19:01 +00:00
ice
127ccb3bcb
enhance(badge): move out animation (#50743) 2024-09-06 22:30:05 +08:00
afc163
f5b0a98f80
chore: Update virtual-list.tsx (#50741) 2024-09-06 16:13:06 +08:00
huiliangShen
89f55f2985
fix: virtual table display error (#50737) 2024-09-06 15:46:39 +08:00
lijianan
ba023f5849
refactor: use React.useMemo manage the object of ContextProvider value (#50735) 2024-09-06 12:25:41 +08:00
afc163
c5c24aa563
style: fix Input.Search search button radius style (#50734) 2024-09-06 11:30:52 +08:00
DB维一(s.y)
e7bab783fd
docs: fix Select labelRender doc (#50720) 2024-09-06 10:15:14 +08:00
zhiwei liu
ce443fe413
chore: Update Wave component to use WaveComponent type (#50709) 2024-09-05 11:55:41 +08:00
afc163
01da79c25b
Revert "fix: Dropdown menu item get wrapped at edge" (#50718) 2024-09-05 11:54:44 +08:00
二货机器人
d6d7b7ff00 test: update snapshot 2024-09-04 14:21:55 +08:00
二货机器人
9d0e67de28 chore: merge master 2024-09-04 14:11:23 +08:00
Riyad Arafat
c5f4c71a43
docs(FloatButtonGroup): Add onClick prop (#40706)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-04 10:15:59 +08:00
Jerryxin
d19d82544d
fix: make eye icon in Password unclickable when Form is disabled (#50616) 2024-09-03 23:51:01 +08:00
afc163
d1692fb6e5
docs: fix demo typo (#50691) 2024-09-03 22:11:57 +08:00
叶枫
340cbc9ca0
chore: bump rc-cascader (#50695) 2024-09-03 22:07:59 +08:00
二货爱吃白萝卜
e91244f893
enhance: tree perf of large data (#50689)
* enhance: tree perf of large data

* test: update test case

* test: update test case

* test: update test case

* test: update test case
2024-09-03 19:30:44 +08:00
ice
badfbe3cfe
feat(Button): support variant and color (#50051)
* feat(button): variant & color types

* feat: type -> color/variant

* feat: type -> color/variant

* feat: add variant filled

* test: snap

* refactor(button): rename type -> variant

* docs: add demo

* feat: add danger ghost style

* refactor: remove deprecated

* refactor: eslint

* docs: change color&variant

* test: updated snap

* docs: color-variant

* docs: add debug color&variant

* feat: global token

* refactor: remove comment

* docs: add color&variant docs

* docs: remove default

* docs: add space

* docs: code

* test: update snap

* test: fix snap

* test: btn querySelect

* feat: change filled hoverStyle

* test: fix

* feat: support grey wave

* refactor: enhance

* docs: color/variant -> v 5.21

* test: snap

* feat: add token

* test: to do

* test: fix test

* ci: rebuild

* style: remove

* style: space

* docs: add note & FQA

* feat: add componentsToken

* refactor: remove isNotGrey

* test: add case

* docs: tile button

* test: snap

* docs: site & snap

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

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* fix: token color & undef

* docs: site

* docs: responsive

* docs: enhance FAQ

* docs: gap middle

* test: snap

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/theme/interface/maps/colors.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/button/style/token.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update components/button/style/token.ts

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* refactor: rename

* docs: prettier

* chore: eslint

* refactor: cls

* test: add solidTextColor case

* refactor: genVariantButtonStyle

* refactor: genVariantButtonStyle

* refactor: genVariantButtonStyle

* fix: rename

* docs: text

* fix: remove border

* feat: add token colorErrorBgFilledHover

* chore: add size-limit

* refactor: rename

---------

Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2024-09-03 17:39:02 +08:00
二货爱吃白萝卜
71533ff2a3
fix: Typography dead loop (#50688) 2024-09-03 16:20:44 +08:00
ice
eac5b6893d
feat(menu): support extra prop (#50431)
* feat(dropdown): support extra prop

* text: fix items

* Update components/menu/style/index.ts

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* Update package.json

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>

* style: css

* chore: bump rc-menu from 9.15.1 to 9.15.0

* style: classname

* test: clsname

* chore: rc-menu to ^9.15.1

* chore: rc-menu version from ^ to ~

* chore: update deps

* feat: full width

* fix: children is array

* fix: default array

* fix: label

* test: update snap

* test: case

---------

Signed-off-by: ice <49827327+coding-ice@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-09-03 07:15:18 +08:00
ice
b4409727f8
fix: add Transfer.deselectAll to tr_TR (#50672)
* fix(locale): add Transfer.deselectAll to tr_TR

* refactor: position
2024-09-01 19:58:15 +08:00
IsKaros
612d5c0702
docs: Tour gap prop (#50574)
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: KAROS\81948 <chenwenfan@harmonycloud.cn>
2024-08-31 14:44:24 +08:00
ice
cfc07f2985
docs(button): bump from @emotion/css to antd-style (#50662) 2024-08-30 22:27:36 +08:00
ice
33e98788d7
fix(menu): itemPaddingInline inoperative (#50663) 2024-08-30 21:55:09 +08:00
Yuno
3d54838d2a
docs: update color-picker onChage Docs (#50656) 2024-08-30 17:15:24 +08:00