Commit Graph

15 Commits

Author SHA1 Message Date
二货爱吃白萝卜
e12a76b3ab
enhance: Resolve Splitter ssr render view (#51378)
* chore: ssr fix

* test: add test case

* test: fix test logic

* test: update snapshot
2024-10-25 17:23:12 +08:00
Wanpan
fcea6b6691
fix: Splitter token rename (#51223)
Co-authored-by: afc163 <afc163@gmail.com>
2024-10-15 09:51:19 +08:00
二货爱吃白萝卜
9a4e554abe
fix: mix usage should not scroll (#51169) 2024-10-09 19:20:30 +08:00
kiner-tang
e17d7c9a85
fix: fix the issue about throw a warning when Splitter nested in a hidden tab panel (#51109) 2024-10-04 11:57:15 +08:00
kiner-tang
e8b0fc4925
fix(Splitter): fix the issue about Splitter had unexpected gaps in Flex (#51096) 2024-10-02 17:46:22 +08:00
afc163
66222a296b
chore: import rc-util from path (#51087) 2024-10-02 10:43:35 +08:00
sakuraee
05fe556c98
fix: add touch listener to Splitter (#51060)
Co-authored-by: root <root@DESKTOP-CIPQ4R3>
2024-09-28 19:43:46 +08:00
Wanpan
75df10fc07
fix: Splitter.Panel style is invalid (#51032) 2024-09-27 09:33:55 +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
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
lijianan
fa5d758e21
feat: CP should support Splitter className & style (#50855) 2024-09-14 13:57:23 +08:00
Wanpan
8d8bef000d
docs: update cove image (#50809) 2024-09-11 13:51:04 +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
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