lijianan
364bcc74d1
type: export components SemanticName type ( #56494 )
...
* types: export components SemanticName type
* update
* update
* update
* update
* update
2026-01-08 09:25:17 +08:00
lijianan
5c52fea0bf
refactor(types): derive SemanticName from semantic maps ( #56389 )
...
* refactor(types): derive SemanticName from semantic maps
* update type
2025-12-27 18:12:44 +08:00
lijianan
c3f41c19ba
refactor(types): replace Record with explicit object for better DX ( #56298 )
2025-12-22 10:47:06 +08:00
lijianan
6cc19c10fc
chore: merge feature into next
2025-10-26 18:20:12 +08:00
thinkasany
c10d1a6a1c
chore: sync feature into next
2025-10-09 20:33:30 +08:00
ug
76fe1be8a6
feat(splitter): Support onCollapse event ( #54673 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com >
Co-authored-by: liuqiang <qiang.liu@xinjifamily.com >
Co-authored-by: Wanpan <wanpan96@163.com >
Co-authored-by: 遇见同学 <1875694521@qq.com >
2025-10-09 17:11:38 +08:00
lijianan
03ce2b26aa
refactor(type): use SemanticClassNamesType & SemanticStylesType ( #55240 )
2025-10-08 10:40:12 +08:00
hcjlxl
8b20c13a3e
feat(splitter): Support better customization with semantic classNames/styles as function ( #55013 )
...
* feat(splitter): Support better customization with semantic classNames/styles as function
* fix: remove inline styles from splitter style-class demo and add comprehensive unit tests
* fix: update splitter style-class.md
* refactor(splitter): simplify SplitterClassNamesType definition and update docs
* remove useMemo
* Update components/splitter/Splitter.tsx
Co-authored-by: lijianan <574980606@qq.com >
Signed-off-by: 遇见同学 <1875694521@qq.com >
* refactor(splitter): unify semantic class names type definition
* Update components/splitter/demo/style-class.md
Signed-off-by: 遇见同学 <1875694521@qq.com >
* Update components/splitter/demo/style-class.md
Signed-off-by: 遇见同学 <1875694521@qq.com >
* update demo
* update demo
* docs: adjust demo
* adjust lint
---------
Signed-off-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: hcjlxl <lxl@xiaolongdeMac-mini.local >
Co-authored-by: lijianan <574980606@qq.com >
Co-authored-by: 遇见同学 <1875694521@qq.com >
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2025-09-23 15:22:07 +08:00
thinkasany
98b61efe74
chore: sync feature into next
2025-06-25 11:58:12 +08:00
x1ngYu
b2be2f38b4
feat: add showCollapsibleIcon API to splitter component ( #53540 ) ( #54154 )
2025-06-23 14:12:49 +08:00
EmilyyyLiu
e2dfec3994
feat(Splitter): unify orientation attribute usage ( #53670 )
...
* feat[Splitter]: Unified use of orientation attribute
* docs: change text
* feat: change useOrientation params
* feat: use useOrientation and change doc
* feat: Sort attribute names in the document ,add warning
* feat: devUseWarning not need if
* test: update snapshots
* test :reset snapshots
* docs: @deprecated please use `orientation`
---------
Co-authored-by: 刘欢 <lh01217311@antgroup.com >
2025-05-19 14:34:55 +08:00
二货爱吃白萝卜
0a50c71d59
refactor: Align the structure of semantic interface ( #53453 )
...
* chore: looper
* refactor: merge logic
* chore: comment
* chore: image semantic
* test: fix test case
* chore: fix lint
* chore: fix lint
* chore: show the strcture
* chore: desc update
2025-04-09 17:58:16 +08:00
Wanpan
e278f15337
feat: Splitter support classNames and styles ( #53225 )
...
* feat: Splitter support classNames and styles
* feat: update
* feat: suuport ConfigProvider
* feat: typo
* feat: update
* feat: update
* feat: typo
* chore: tmp of merging
* chore: fin the merge logic
* chore: fix merge logic
* test: update test case
* chore: update snap
* chore: typo
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com >
2025-03-20 21:46:07 +08:00
Wanpan
0df33b2442
feat: Add customize icon ( #52216 )
...
* feat: custom icon
* feat: add style
* feat: add collapsibleIcon
* feat: custom icon
* feat: add style
* feat: add collapsibleIcon
* feat: add test
* feat: update snap
* feat: update doc
* feat: update snap
* feat: rename
* fix: default icon
* Update components/splitter/SplitBar.tsx
Co-authored-by: lijianan <574980606@qq.com >
Signed-off-by: Wanpan <wanpan96@163.com >
* feat: update type
* feat: update test
* feat: update test
* feat: update version
* feat: update type
* Update components/splitter/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com >
Signed-off-by: Wanpan <wanpan96@163.com >
* Update components/splitter/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com >
Signed-off-by: Wanpan <wanpan96@163.com >
* feat: code optimization
* feat: update
* test: update
* feat: rename
* test: update
* feat: update draggerIcon
* test: update
---------
Signed-off-by: Wanpan <wanpan96@163.com >
Co-authored-by: lijianan <574980606@qq.com >
2025-01-15 23:03:54 +08:00
Oyster Lee
67738152fe
feat(Splitter): add lazy mode ( #51557 )
...
Co-authored-by: afc163 <afc163@gmail.com >
Co-authored-by: lijianan <574980606@qq.com >
2024-11-14 09:54:20 +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