@synerise/ds-sidebar 1.1.21 → 1.1.23
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 +8 -0
- package/README.md +22 -18
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.1.23](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sidebar@1.1.22...@synerise/ds-sidebar@1.1.23) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-sidebar
|
|
9
|
+
|
|
10
|
+
## [1.1.22](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sidebar@1.1.21...@synerise/ds-sidebar@1.1.22) (2026-03-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-sidebar
|
|
13
|
+
|
|
6
14
|
## [1.1.21](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sidebar@1.1.20...@synerise/ds-sidebar@1.1.21) (2026-02-23)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-sidebar
|
package/README.md
CHANGED
|
@@ -30,26 +30,30 @@ import Sidebar from '@synerise/ds-sidebar'
|
|
|
30
30
|
|
|
31
31
|
#### Sidebar
|
|
32
32
|
|
|
33
|
-
| Property | Description
|
|
34
|
-
| ----------------- |
|
|
35
|
-
| children | Place for Panel element
|
|
36
|
-
| order |
|
|
37
|
-
| onChangeOrder | Called on drag and drop fired
|
|
38
|
-
| defaultActiveKey |
|
|
39
|
-
|
|
|
33
|
+
| Property | Description | Type | Default |
|
|
34
|
+
| ----------------- | ---------------------------------------------------------------------------------------- | ------------------------------------- | ------- |
|
|
35
|
+
| children | Place for Panel element | React.ReactNode | - |
|
|
36
|
+
| order | Panel IDs in display order; enables sortable mode when combined with `onChangeOrder` | string[] | - |
|
|
37
|
+
| onChangeOrder | Called on drag and drop fired; must be set alongside `order` to enable drag mode | (order: string \| string[]) => void | - |
|
|
38
|
+
| defaultActiveKey | Initially open panel IDs | string[] | - |
|
|
39
|
+
| activeKey | Controlled open panels | string \| string[] | - |
|
|
40
|
+
| onChange | Called when panels open/close | (keys: string \| string[]) => void | - |
|
|
41
|
+
| getPopupContainer | Determines where to render the drag overlay | (elem: HTMLDivElement) => HTMLElement | - |
|
|
42
|
+
| className | Added to the Ant Collapse | string | - |
|
|
40
43
|
|
|
41
44
|
#### Panel
|
|
42
45
|
|
|
43
|
-
| Property
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
46
|
+
| Property | Description | Type | Default |
|
|
47
|
+
| ----------- | ---------------------------------------------------- | ------------------------ | ------- |
|
|
48
|
+
| id | Panel unique id (required) | string | - |
|
|
49
|
+
| header | Panel header name | React.ReactNode / string | - |
|
|
50
|
+
| children | Panel content | React.ReactNode / string | - |
|
|
51
|
+
| forceRender | Render body even when collapsed | boolean | - |
|
|
48
52
|
|
|
49
|
-
####
|
|
53
|
+
#### SidebarWithButton
|
|
50
54
|
|
|
51
|
-
| Property | Description | Type
|
|
52
|
-
| ----------- | ----------------------------- |
|
|
53
|
-
|
|
|
54
|
-
|
|
|
55
|
-
|
|
|
55
|
+
| Property | Description | Type | Default |
|
|
56
|
+
| ----------- | ----------------------------- | -------------- | ------- |
|
|
57
|
+
| dataSource | data of all items in dropdown | MenuItemProps[] | - |
|
|
58
|
+
| buttonLabel | prop to show text of button | string | - |
|
|
59
|
+
| title | prop to show title | string | - |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-sidebar",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.23",
|
|
4
4
|
"description": "Sidebar 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-button": "^1.5.
|
|
39
|
-
"@synerise/ds-dropdown": "^1.
|
|
40
|
-
"@synerise/ds-icon": "^1.
|
|
41
|
-
"@synerise/ds-menu": "^1.4.
|
|
42
|
-
"@synerise/ds-sortable": "^1.3.
|
|
43
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-button": "^1.5.17",
|
|
39
|
+
"@synerise/ds-dropdown": "^1.3.1",
|
|
40
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
41
|
+
"@synerise/ds-menu": "^1.4.12",
|
|
42
|
+
"@synerise/ds-sortable": "^1.3.13",
|
|
43
|
+
"@synerise/ds-utils": "^1.7.0",
|
|
44
44
|
"classnames": "^2.5.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"react": ">=16.9.0 <= 18.3.1",
|
|
50
50
|
"styled-components": "^5.3.3"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
53
53
|
}
|