@synerise/ds-sidebar-object 1.1.22 → 1.1.24
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 +28 -23
- package/package.json +15 -15
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.24](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sidebar-object@1.1.23...@synerise/ds-sidebar-object@1.1.24) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-sidebar-object
|
|
9
|
+
|
|
10
|
+
## [1.1.23](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sidebar-object@1.1.22...@synerise/ds-sidebar-object@1.1.23) (2026-03-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-sidebar-object
|
|
13
|
+
|
|
6
14
|
## [1.1.22](https://github.com/Synerise/synerise-design/compare/@synerise/ds-sidebar-object@1.1.21...@synerise/ds-sidebar-object@1.1.22) (2026-02-23)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-sidebar-object
|
package/README.md
CHANGED
|
@@ -28,26 +28,31 @@ import SidebarObject from '@synerise/ds-sidebar-object'
|
|
|
28
28
|
|
|
29
29
|
## API
|
|
30
30
|
|
|
31
|
-
| Property | Description
|
|
32
|
-
| -------------------- |
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
|
|
|
36
|
-
|
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
|
40
|
-
|
|
|
41
|
-
|
|
|
42
|
-
|
|
|
43
|
-
|
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
|
|
|
49
|
-
|
|
|
50
|
-
|
|
|
51
|
-
|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
31
|
+
| Property | Description | Type | Default |
|
|
32
|
+
| -------------------- | ------------------------------------------------------------------------------------------ | ------------------------------- | ------------ |
|
|
33
|
+
| headerTabs | Tab definitions; `content` is the tab body rendered in the scrollable area | TabItem[] | - |
|
|
34
|
+
| inputObject | Object whose keys are displayed in ObjectSummary | object | - |
|
|
35
|
+
| texts | Header labels (button texts, icon tooltips, etc.) | Partial\<HeaderTexts\> | - |
|
|
36
|
+
| name | Object name shown in the title | string | - |
|
|
37
|
+
| activeTab | Index of the active tab | number | `0` |
|
|
38
|
+
| headerType | `’editable’` renders InlineEdit for title; `’readonly’` renders plain text | ‘readonly’ / ‘editable’ | `’readonly’` |
|
|
39
|
+
| typeButtons | `’withNavigation’`: up/down + options + close. `’twoButtons’`: cancel + apply | ‘twoButtons’ / ‘withNavigation’ | - |
|
|
40
|
+
| avatar | Avatar element of the sidebar | React.ReactNode | - |
|
|
41
|
+
| headerPreffix | Element rendered on the left side of the header | React.ReactNode | - |
|
|
42
|
+
| additionalNode | Extra content rendered below the title bar but above tabs | React.ReactNode | - |
|
|
43
|
+
| inlineEditInputProps | Extra props for the InlineEdit input (only when `headerType=’editable’`) | Partial\<InputProps\> | - |
|
|
44
|
+
| inputObjectIdKey | Key in `inputObject` used as the "Copy ID" value | string | `’id’` |
|
|
45
|
+
| onEdit | Shows "Edit" in options dropdown; called with `inputObject` | (inputObject: object) => void | - |
|
|
46
|
+
| onDuplicate | Shows "Duplicate" in options dropdown; called with `inputObject` | (inputObject: object) => void | - |
|
|
47
|
+
| onMove | Shows "Move" in options dropdown; called with `inputObject` | (inputObject: object) => void | - |
|
|
48
|
+
| onDelete | Shows "Delete" in options dropdown; called with `inputObject` | (inputObject: object) => void | - |
|
|
49
|
+
| onId | Shows "Copy ID" in options dropdown; called with `inputObject` | (inputObject: object) => void | - |
|
|
50
|
+
| onRename | Called when inline edit value changes (only when `headerType=’editable’`) | (name: string) => void | - |
|
|
51
|
+
| onCloseClick | Close button handler (shown in `withNavigation` mode) | () => void | - |
|
|
52
|
+
| onCancelClick | Cancel button handler (shown in `twoButtons` mode) | () => void | - |
|
|
53
|
+
| onApplyClick | Apply button handler (shown in `twoButtons` mode) | () => void | - |
|
|
54
|
+
| onArrowUp | Up navigation button handler (shown in `withNavigation` mode when provided) | () => void | - |
|
|
55
|
+
| onArrowDown | Down navigation button handler (shown in `withNavigation` mode when provided) | () => void | - |
|
|
56
|
+
| withScrollbar | Enables vertical scroll on content area | boolean | - |
|
|
57
|
+
| handleTabClick | Called when a tab is clicked | (index: number) => void | - |
|
|
58
|
+
| footer | Footer rendered at the bottom outside the scroll area | React.ReactNode | - |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-sidebar-object",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.24",
|
|
4
4
|
"description": "SidebarObject UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-button": "^1.5.
|
|
39
|
-
"@synerise/ds-description": "^1.
|
|
40
|
-
"@synerise/ds-drawer": "^1.
|
|
41
|
-
"@synerise/ds-dropdown": "^1.
|
|
42
|
-
"@synerise/ds-icon": "^1.
|
|
43
|
-
"@synerise/ds-inline-edit": "^1.1.
|
|
44
|
-
"@synerise/ds-menu": "^1.4.
|
|
45
|
-
"@synerise/ds-result": "^1.0.
|
|
46
|
-
"@synerise/ds-scrollbar": "^1.2.
|
|
47
|
-
"@synerise/ds-subtle-form": "^1.1.
|
|
48
|
-
"@synerise/ds-tabs": "^1.1.
|
|
49
|
-
"@synerise/ds-typography": "^1.1.
|
|
50
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-button": "^1.5.17",
|
|
39
|
+
"@synerise/ds-description": "^1.3.1",
|
|
40
|
+
"@synerise/ds-drawer": "^1.1.1",
|
|
41
|
+
"@synerise/ds-dropdown": "^1.3.1",
|
|
42
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
43
|
+
"@synerise/ds-inline-edit": "^1.1.23",
|
|
44
|
+
"@synerise/ds-menu": "^1.4.12",
|
|
45
|
+
"@synerise/ds-result": "^1.0.48",
|
|
46
|
+
"@synerise/ds-scrollbar": "^1.2.16",
|
|
47
|
+
"@synerise/ds-subtle-form": "^1.1.58",
|
|
48
|
+
"@synerise/ds-tabs": "^1.1.23",
|
|
49
|
+
"@synerise/ds-typography": "^1.1.12",
|
|
50
|
+
"@synerise/ds-utils": "^1.7.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@synerise/ds-core": "*",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"react": ">=16.9.0 <= 18.3.1",
|
|
56
56
|
"styled-components": "^5.3.3"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
59
59
|
}
|