@synerise/ds-tray 1.1.25 → 1.1.26
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 +11 -11
- package/package.json +7 -7
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.1.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tray@1.1.25...@synerise/ds-tray@1.1.26) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-tray
|
|
9
|
+
|
|
6
10
|
## [1.1.25](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tray@1.1.24...@synerise/ds-tray@1.1.25) (2026-03-09)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @synerise/ds-tray
|
package/README.md
CHANGED
|
@@ -78,19 +78,19 @@ const Demo = () => {
|
|
|
78
78
|
## API
|
|
79
79
|
|
|
80
80
|
Tray component props
|
|
81
|
-
| Property | Description | Type | Required |
|
|
82
|
-
|
|
83
|
-
| `id` | Identifier used to bind the tray to provider state | `string
|
|
84
|
-
| any other HTML div attributes | `className`, `style`, `data-*`, etc. | `HTMLDivElement` attributes | no |
|
|
81
|
+
| Property | Description | Type | Required |
|
|
82
|
+
|-------------------------------|----------------------------------------------------|-----------------------------|----------|
|
|
83
|
+
| `id` | Identifier used to bind the tray to provider state | `string` | yes |
|
|
84
|
+
| any other HTML div attributes | `className`, `style`, `data-*`, etc. | `HTMLDivElement` attributes | no |
|
|
85
85
|
|
|
86
86
|
Tray data (passed to `open(id, data)`) — [`TrayData`](packages/components/tray/src/components/TrayProvider.tsx)
|
|
87
|
-
| Property | Description | Type | |
|
|
88
|
-
|
|
89
|
-
| `content` | Main content to render inside the tray | `ReactNode` | |
|
|
90
|
-
| `title` | Header title (node) | `ReactNode` | |
|
|
91
|
-
| `headerRightSide` | Node rendered in header to the right of title | `ReactNode` | |
|
|
92
|
-
| `footer` | Footer node rendered at bottom of tray | `ReactNode` | |
|
|
93
|
-
| `onClose` | Callback invoked when tray close action occurs | `(id: string
|
|
87
|
+
| Property | Description | Type | Required |
|
|
88
|
+
|-------------------|------------------------------------------------|---------------------------------|----------|
|
|
89
|
+
| `content` | Main content to render inside the tray | `ReactNode` | yes |
|
|
90
|
+
| `title` | Header title (node) | `ReactNode` | yes |
|
|
91
|
+
| `headerRightSide` | Node rendered in header to the right of title | `ReactNode` | no |
|
|
92
|
+
| `footer` | Footer node rendered at bottom of tray | `ReactNode` | no |
|
|
93
|
+
| `onClose` | Callback invoked when tray close action occurs | `(id: string) => void` | no |
|
|
94
94
|
|
|
95
95
|
Notes
|
|
96
96
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-tray",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.26",
|
|
4
4
|
"description": "Tray UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-button": "^1.5.
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
39
|
-
"@synerise/ds-scrollbar": "^1.2.
|
|
40
|
-
"@synerise/ds-typography": "^1.1.
|
|
41
|
-
"@synerise/ds-utils": "^1.
|
|
37
|
+
"@synerise/ds-button": "^1.5.17",
|
|
38
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
39
|
+
"@synerise/ds-scrollbar": "^1.2.16",
|
|
40
|
+
"@synerise/ds-typography": "^1.1.12",
|
|
41
|
+
"@synerise/ds-utils": "^1.7.0"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@synerise/ds-core": "*",
|
|
45
45
|
"react": ">=16.9.0 <= 18.3.1",
|
|
46
46
|
"styled-components": "^5.3.3"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
49
49
|
}
|