Commit Graph

18233 Commits

Author SHA1 Message Date
二货爱吃白萝卜
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
Yuno
a0a22bdeeb
docs: update color-picker onChage Docs (#50654) 2024-08-30 17:06:12 +08:00
github-actions[bot]
16f9543ba0
chore: auto merge branches (#50641)
chore: sync master to feature
2024-08-29 15:00:27 +00:00
afc163
b27b06250f
style: fix Menu item background transition style (#50624) 2024-08-29 14:05:22 +08:00
thinkasany
df933e94ef
demo(tag): improve import type DragEndEvent for dnd-kit (#50615) 2024-08-28 18:12:02 +08:00
afc163
8a0a0d2da9
style: enhance Badge motion when switch mode (#50607) 2024-08-28 14:55:16 +08:00
afc163
de92a2c363
style: tweak Table column header move transition (#50605) 2024-08-28 13:38:41 +08:00
Andrew Busch
20fbb8e464
chore: Rename ColorPickerProps.onChange string param (#50604) 2024-08-28 11:57:13 +08:00
afc163
9f274a0884
refactor: reimplement Typography code (#50561)
Co-authored-by: lijianan <574980606@qq.com>
2024-08-27 22:08:04 +08:00
Nicolò Zandarin
1cd79e3b0a
fix: Disable the Rate component within Form.Item when the form is disabled (#50594)
Co-authored-by: Nicolò Zandarin <nicolo.zandarin@atroos.com>
2024-08-27 18:56:54 +08:00
Wanpan
730a37f0bd
feat[Collapse]: support classNames and styles (#50557)
* feat[Collapse]: support classNames and styles

* fix: update

* fix: update

* feat[Collapse]: update

* Empty-Commit

* docs: update

* docs: update

* docs: update

* docs: update

* docs: update

---------

Co-authored-by: afc163 <afc163@gmail.com>
2024-08-27 14:07:25 +08:00
github-actions[bot]
6176d3cefe
chore: auto merge branches (#50582)
chore: merge master into feature
2024-08-26 21:56:33 +00:00
🏎️ Imer
ac4b17ada1
Merge branch 'master' into chore/private_export 2024-08-26 01:12:12 -07:00
🏎️ Yumo
be7cf7beff chore: update code comments 2024-08-26 15:46:45 +08:00
afc163
acc10b4fe5
test: remove unused code (#50560) 2024-08-26 12:05:04 +08:00
Chevindu Wickramathilaka
714a6e1679
docs: Improve english translation of Drawer documentation (#50558) 2024-08-23 21:40:13 +08:00
🏎️ Yumo
7548dd0fa1 chore: change private variable export name 2024-08-23 10:36:52 +08:00
🏎️ Yumo
d04f8b2a2e chore: export private variable. 2024-08-22 20:05:45 +08:00
Avan
b734917686
style: float button body border radius unify (#50513) 2024-08-21 17:58:54 +08:00
thinkasany
c2c161f2cd
demo(tree): improve type for virtual-scroll demo (#50518) 2024-08-21 17:56:58 +08:00
二货爱吃白萝卜
b9d5933975
fix: ellipsis check for over (#50514)
* fix: ellipsis check for over

* chore: use another way

* refactor: measure update

* chore: no measure if native

* chore: clean up
2024-08-21 14:27:40 +08:00
thinkasany
53495d6307
test: improve test type (#50515) 2024-08-21 12:41:09 +08:00
栗嘉男
dee90b2509 chore: merge master into feature 2024-08-21 00:00:02 +08:00
qwangry
de5c835d46
docs: fix document typos (#50508) 2024-08-20 23:51:35 +08:00
二货爱吃白萝卜
7edf9315d7
fix: onComplete directly case (#50501) 2024-08-20 17:40:35 +08:00
二货爱吃白萝卜
0b6a2f742e
refactor: use react cycle method (#50500)
* refactor: use react cycle method

* chore: clean up
2024-08-20 17:34:10 +08:00
thinkasany
78a65ef072
demo: improve variant demo (#50495)
* demo(form): improve variant demo

* chore: replace semented
2024-08-20 16:04:11 +08:00
lijianan
c8413cc78f
feat: FloatButton support placement (#50407)
* feat: 不要合并

* fix: fix

* fix: fix

* test: fix test

* test: fix test

* test: fix test

* test: fix test

* Update components/float-button/FloatButtonGroup.tsx

Co-authored-by: MadCcc <madccc@foxmail.com>
Signed-off-by: lijianan <574980606@qq.com>

* Update components/float-button/__tests__/__snapshots__/demo-extend.test.ts.snap

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

* fix: fix

* fix: fix

* test: add test case

* fix: fix

* fix: fix

* site: update site style

* demo: update demo

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <madccc@foxmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-20 10:16:07 +08:00
github-actions[bot]
a33a09ee23
chore: auto merge branches (#50476)
chore: sync master to feature
2024-08-19 03:33:28 +00:00
ice
8a230505b8
type(tag): Optimize ts types (#50427) 2024-08-16 23:39:46 +08:00
imnabid
7481e14dab
docs(typo): chose to choose (#50460) 2024-08-16 22:31:57 +08:00
github-actions[bot]
af11acf1b4
chore: auto merge branches (#50459)
chore: merge master into feature
2024-08-16 14:22:08 +00:00
ice
bda8cb0a76
fix(input-number): without controls suffix style (#50450)
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-16 20:07:26 +08:00
thinkasany
4235d117f2
docs(ConfigProvider): improve component config classnames/styles (#50451) 2024-08-16 18:03:22 +08:00
二货爱吃白萝卜
72fda1a8a0
docs: rm useless demo (#50449) 2024-08-16 16:46:30 +08:00
thinkasany
ae44eb9fe7
docs(carousel): improve dots description (#50446) 2024-08-16 15:51:45 +08:00
daisy
7bcb6ca49a
fix(Table): fixed empty and shadow issues when virtual mode (#50416) 2024-08-16 10:07:52 +08:00
Bruce Mitchener
d1a0fb862e
chore: reduce typo count (#50439) 2024-08-15 22:51:41 +08:00
thinkasany
4f01f225c8
docs: fix typos (#50430) 2024-08-15 15:52:25 +08:00
Aleksey Laguta
879ad6533b
locale: add Transfer.deselectAll to ru_RU and uk_UA (#50429) 2024-08-15 15:08:53 +08:00
Jerryxin
a89bd934d7
site: fix image width issue in markdown (#50399)
Co-authored-by: afc163 <afc163@gmail.com>
2024-08-14 22:52:13 +08:00
ice
97aa299529
docs: add align version (#50418) 2024-08-14 18:59:11 +08:00
thinkasany
7005212e15
docs(list): add semantic dom (#50413) 2024-08-14 17:34:53 +08:00
二货爱吃白萝卜
3b9a1b1123
docs: update form escape (#50412) 2024-08-14 13:47:49 +08:00
github-actions[bot]
ae516f700f
chore: auto merge branches (#50409)
chore: merge master into feature
2024-08-14 01:58:32 +00:00
lijianan
aa60e53d4c
fix: fix incorrect border-radius of trigger (#50408) 2024-08-14 09:17:56 +08:00
github-actions[bot]
63720299d4
chore: auto merge branches (#50403)
chore: merge master into feature
2024-08-13 19:03:30 +00:00
cnjs
533d621950
docs(form): update link (#50401) 2024-08-13 20:47:49 +08:00
Arvin Xu
51d6a9bf38
chore: Add comments to Token related interfaces (#50392) 2024-08-13 18:18:59 +08:00
thinkasany
b3c01de9bc
docs(card): remove unuesd gaps (#50393) 2024-08-13 18:17:38 +08:00
thinkasany
b34d20860c
docs(card): use card semantic-dom instead of table (#50390)
Co-authored-by: codefactor-io <support@codefactor.io>
2024-08-13 15:59:36 +08:00
Arvin Xu
700e0aeebe
chore: Add comments to token interfaces (#50386) 2024-08-13 13:31:10 +08:00
叶枫
7d66a8e5cf
type: revert Table generic with any (#50372)
* fix: table generic default any

* feat: = AnyObject
2024-08-13 10:34:52 +08:00
afc163
7bd9d54a62
fix: Select arrow disappearing when hovering it (#50382) 2024-08-12 22:41:23 +08:00
e188445b22
fix(popover): arrow. pointAtCenter misalignment error (#50260)
* fix(popover): 'arrow. pointAtCenter' misalignment error

* chore: add debug demo

* chore: update snaphots

* chore: update

* chore: Reverse components/popover/demo/basic.tsx

* chore: update snaphots

* chore: skip debug demo test

* chore: update demo

* chore: update snapshot

* chore: skip debug demo test

ref: https://github.com/ant-design/ant-design/pull/50260#discussion_r1708926635
2024-08-12 11:56:29 +08:00
栗嘉男
ec20d455a3 chore: merge master into feature 2024-08-11 17:30:20 +08:00
lijianan
5aa5c3d591
fix(Table): set z-index unit to false (#50357) 2024-08-11 16:18:49 +08:00
lijianan
429cf1b3b2
refactoring: rewrite renderCircle with React Component (#50358) 2024-08-11 16:18:29 +08:00
lijianan
dab9ab69d0
fix(Table): style value should support CSS var (#50355)
* fix(Table): zIndex value should support CSS var

* fix: fix
2024-08-11 15:05:47 +08:00
lijianan
857ee24e38
type(Table): TypeScript improvement (#50351)
* type: Table TypeScript improvement

* type: Table TypeScript improvement

* type: Table TypeScript improvement

* fix: fix demo

* fix: fix demo

* fix: fix type

* fix: fix type

* fix: fix type

* fix: fix type
2024-08-11 10:58:13 +08:00
柚子
f05c3809d5
style: modify z-index value to css token (#50349)
* typo fix

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>

* typo fix

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>

* type: Remove type assertions

* fix: Correct CSS property order and media feature notation

* style: Modify the component style zIndex value to a variable

---------

Signed-off-by: 柚子 <69612382+Yuzu-io@users.noreply.github.com>
2024-08-10 19:49:42 +08:00
github-actions[bot]
a87d532fff
chore: auto merge branches (#50341)
chore: merge master into feature
2024-08-09 14:53:43 +00:00
lijianan
4c2a2b0c0d
feat: FloatButton support dynamic z-index (#50311)
* feat: FloatBtn support dynamic z-index

* feat: FloatBtn support dynamic z-index

* test: fix test case

* fix: fix

* test: add test case

* test: fix test case

* chore: clear
2024-08-09 22:22:45 +08:00
Googleplex
33b4be4851
docs(AutoComplete): add missing options in en-US document (#50340)
Signed-off-by: Googleplex <yyoung2001@gmail.com>
2024-08-09 21:21:43 +08:00
afc163
c9fab94fd3
demo: improve typography copyable demo (#50336) 2024-08-09 19:21:26 +08:00
thinkasany
2fba70d33f
docs(modal): use Record<SemanticDOM> instead of classnames/styles type (#50330) 2024-08-09 17:04:34 +08:00