@synerise/ds-panels-resizer 1.0.35 → 1.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +9 -8
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.36](https://github.com/Synerise/synerise-design/compare/@synerise/ds-panels-resizer@1.0.35...@synerise/ds-panels-resizer@1.0.36) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-panels-resizer
|
|
9
|
+
|
|
6
10
|
## [1.0.35](https://github.com/Synerise/synerise-design/compare/@synerise/ds-panels-resizer@1.0.34...@synerise/ds-panels-resizer@1.0.35) (2026-02-26)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -3,9 +3,9 @@ id: panels-resizer
|
|
|
3
3
|
title: PanelResizer
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
The `PanelsResizer` component allows you to create a layout with resizable
|
|
6
|
+
The `PanelsResizer` component allows you to create a layout with two resizable panels separated by a draggable resizer. Panels can be arranged side-by-side (default) or stacked top-and-bottom via the `isHorizontal` prop.
|
|
7
7
|
|
|
8
|
-
Users can adjust the
|
|
8
|
+
Users can adjust the size of the panels by dragging the resizer, providing a flexible and customizable interface.
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
@@ -37,9 +37,10 @@ const App = () => (
|
|
|
37
37
|
|
|
38
38
|
## API
|
|
39
39
|
|
|
40
|
-
| Property
|
|
41
|
-
|
|
|
42
|
-
| leftPanel
|
|
43
|
-
| rightPanel
|
|
44
|
-
| initial
|
|
45
|
-
| scrollable
|
|
40
|
+
| Property | Description | Type | Default |
|
|
41
|
+
| ------------ | ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- | ------- |
|
|
42
|
+
| leftPanel | The content to display in the left (or top, when `isHorizontal`) panel. | React.ReactNode | --- |
|
|
43
|
+
| rightPanel | The content to display in the right (or bottom, when `isHorizontal`) panel. | React.ReactNode | --- |
|
|
44
|
+
| initial | Initial size of one panel in pixels. Converted to an offset from 50% at mount time. | { leftPanel: number } \| { rightPanel: number } | --- |
|
|
45
|
+
| scrollable | Whether the panels should be scrollable when their content overflows. | boolean | --- |
|
|
46
|
+
| isHorizontal | When `true`, panels are stacked top-and-bottom with a horizontal divider instead of the default side-by-side layout. | boolean | false |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-panels-resizer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.36",
|
|
4
4
|
"description": "PanelResizer UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
38
|
+
"@synerise/ds-icon": "^1.15.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@synerise/ds-core": "*",
|
|
42
42
|
"react": ">=16.9.0 <= 18.3.1",
|
|
43
43
|
"styled-components": "^5.3.3"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
46
46
|
}
|