Commit Graph

28446 Commits

Author SHA1 Message Date
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 d247193722b5736df92b3f33d93b475eb1df9eff.

* 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
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
github-actions[bot]
5697b040d8
chore: auto merge branches (#50707)
chore: feature merge master
2024-09-04 06:46:25 +00: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
github-actions[bot]
389626a789
chore: upgrade deps (#50705)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-09-04 09:06:54 +08:00
Necati Özmen
9748a0e73a
docs: add refine with antd (#49280)
Co-authored-by: afc163 <afc163@gmail.com>
2024-09-03 23:53:50 +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
dependabot[bot]
bb14742be1
chore(deps): bump peter-evans/create-pull-request from 6 to 7 (#50700)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-03 22:00:38 +08:00
二货爱吃白萝卜
962b6d5224
docs: bump 5.20.5 (#50701) 2024-09-03 21:09:57 +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
renovate[bot]
38e3cc6edc
chore(deps): update dependency puppeteer to v23 (#50354)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 17:35:29 +08:00
二货爱吃白萝卜
71533ff2a3
fix: Typography dead loop (#50688) 2024-09-03 16:20:44 +08:00
afc163
afabec60c3
docs: Update css-variables.md (#50686) 2024-09-03 16:07:57 +08:00
github-actions[bot]
b66ca04828
chore: upgrade deps (#50680)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-09-03 07:15:53 +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
afc163
b8046fcceb
docs: update dingtalk group qrcode image (#50675) 2024-09-02 23:51:59 +08:00
二货爱吃白萝卜
89322ab52a
chore: add biome config (#50676) 2024-09-02 14:37:18 +08:00
二货爱吃白萝卜
bdb2cd2192
docs: changelog of 5.20.4 (#50674) 2024-09-02 11:29:30 +08:00
sakuraee
d80b9568e9
docs: tweak ColorPicker usage in customize theme doc (#50673) 2024-09-02 09:50:59 +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
afc163
9570ae03a4
chore: upgrade deps (#50667)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-08-31 11:31:01 +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
c2ee092439
test: fix codecov comment (#50640) 2024-08-29 16:42:29 +08:00
afc163
b27b06250f
style: fix Menu item background transition style (#50624) 2024-08-29 14:05:22 +08:00
afc163
bfd2c06987
docs: tweak document content area width (#50625) 2024-08-29 14:05:07 +08:00
afc163
a3616a5cf6
Revert "test: make a strict codecov rule" (#50613) 2024-08-29 14:01:28 +08:00
github-actions[bot]
06738b8e1e
chore: upgrade deps (#50631)
Co-authored-by: afc163 <507615+afc163@users.noreply.github.com>
2024-08-29 07:50:30 +08:00
thinkasany
df933e94ef
demo(tag): improve import type DragEndEvent for dnd-kit (#50615) 2024-08-28 18:12:02 +08:00
lijianan
911ea14ec0
Revert "chore(deps-dev): bump tsx from 4.11.2 to 4.19.0" (#50614) 2024-08-28 17:38:20 +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
dependabot[bot]
2945441bbe
chore(deps-dev): bump tsx from 4.11.2 to 4.19.0 (#50598)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-28 12:02:17 +08:00