@synerise/ds-tray 2.0.11 → 2.1.0

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 CHANGED
@@ -3,6 +3,17 @@
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
+ # [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tray@2.0.11...@synerise/ds-tray@2.1.0) (2026-10-29)
7
+
8
+
9
+ ### Features
10
+
11
+ * integrate Token Studio design tokens across the design system ([aabb447](https://github.com/Synerise/synerise-design/commit/aabb447edfb2d0c85e3de1f07e809ef84083453b))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [2.0.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-tray@2.0.10...@synerise/ds-tray@2.0.11) (2026-10-28)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-tray
package/CLAUDE.md CHANGED
@@ -126,9 +126,9 @@ All styles are in `Tray.styles.ts`. Key layout:
126
126
  - `TrayWrapper`: `position: fixed; top: 0; right: 0; width: 400px; max-height: 562px; z-index: zindex-tooltip`. Override via `className`/`style`.
127
127
  - `TrayHeader`: fixed height `56px`, `padding-left: 18px`, flex row with space-between.
128
128
  - `TrayContent`: flex `1 1 auto`, wraps a `@synerise/ds-scrollbar` in `absolute` mode.
129
- - `TrayFooter`: fixed height `48px`, `grey-050` background, only rendered when `footer` is provided.
129
+ - `TrayFooter`: fixed height `48px`, `var(--ds-modal-footer-bg)` background, only rendered when `footer` is provided.
130
130
 
131
- All colours and shadow come from `@synerise/ds-core` theme tokens (`grey-050`, `grey-100`, `grey-200`, `white`, `box-shadow-2`, `zindex-tooltip`).
131
+ Colours and shadow come from the `var(--ds-modal-*)` tokens (`container-bg`, `container-shadow`, `header-border-color`, `footer-bg`, `footer-border-color`); `z-index` still reads `theme.variables['zindex-tooltip']`.
132
132
 
133
133
  ## Custom hooks
134
134
 
@@ -13,11 +13,11 @@ const TrayScrollbar = /* @__PURE__ */ styled(Scrollbar).withConfig({
13
13
  const TrayWrapper = /* @__PURE__ */ styled.div.withConfig({
14
14
  displayName: "Traystyles__TrayWrapper",
15
15
  componentId: "sc-1v5sbw5-2"
16
- })(["position:fixed;top:0;right:0;z-index:", ";box-shadow:", ";width:400px;border-radius:3px;max-height:", "px;display:flex;flex-direction:column;background:", ";"], (props) => props.theme.variables["zindex-tooltip"], (props) => props.theme.variables["box-shadow-2"], WRAPPER_HEIGHT, (props) => props.theme.palette.white);
16
+ })(["position:fixed;top:0;right:0;z-index:", ";box-shadow:var(--ds-modal-container-shadow);width:400px;border-radius:3px;max-height:", "px;display:flex;flex-direction:column;background:var(--ds-modal-container-bg);"], (props) => props.theme.variables["zindex-tooltip"], WRAPPER_HEIGHT);
17
17
  const TrayHeader = /* @__PURE__ */ styled.div.withConfig({
18
18
  displayName: "Traystyles__TrayHeader",
19
19
  componentId: "sc-1v5sbw5-3"
20
- })(["height:", "px;flex:0 0 ", "px;padding-left:18px;padding-right:12px;border-bottom:solid 1px ", ";display:flex;align-items:center;justify-content:space-between;"], HEADER_HEIGHT, HEADER_HEIGHT, (props) => props.theme.palette["grey-200"]);
20
+ })(["height:", "px;flex:0 0 ", "px;padding-left:18px;padding-right:12px;border-bottom:solid 1px var(--ds-modal-header-border-color);display:flex;align-items:center;justify-content:space-between;"], HEADER_HEIGHT, HEADER_HEIGHT);
21
21
  const TrayHeaderLeft = /* @__PURE__ */ styled.div.withConfig({
22
22
  displayName: "Traystyles__TrayHeaderLeft",
23
23
  componentId: "sc-1v5sbw5-4"
@@ -29,7 +29,7 @@ const TrayHeaderRight = /* @__PURE__ */ styled.div.withConfig({
29
29
  const TrayFooter = /* @__PURE__ */ styled.div.withConfig({
30
30
  displayName: "Traystyles__TrayFooter",
31
31
  componentId: "sc-1v5sbw5-6"
32
- })(["border-top:solid 1px ", ";background:", ";height:", "px;display:flex;align-items:center;padding:0 8px;flex:0 0 ", "px;"], (props) => props.theme.palette["grey-100"], (props) => props.theme.palette["grey-050"], FOOTER_HEIGHT, FOOTER_HEIGHT);
32
+ })(["border-top:solid 1px var(--ds-modal-footer-border-color);background:var(--ds-modal-footer-bg);height:", "px;display:flex;align-items:center;padding:0 8px;flex:0 0 ", "px;"], FOOTER_HEIGHT, FOOTER_HEIGHT);
33
33
  const TrayTitle = /* @__PURE__ */ styled(Title).withConfig({
34
34
  displayName: "Traystyles__TrayTitle",
35
35
  componentId: "sc-1v5sbw5-7"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-tray",
3
- "version": "2.0.11",
3
+ "version": "2.1.0",
4
4
  "description": "Tray UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -41,11 +41,11 @@
41
41
  ],
42
42
  "types": "dist/index.d.ts",
43
43
  "dependencies": {
44
- "@synerise/ds-button": "^2.1.6",
45
- "@synerise/ds-icon": "^2.2.3",
46
- "@synerise/ds-scrollbar": "^2.0.9",
47
- "@synerise/ds-typography": "^2.0.11",
48
- "@synerise/ds-utils": "^2.2.2"
44
+ "@synerise/ds-button": "^2.2.0",
45
+ "@synerise/ds-icon": "^2.3.0",
46
+ "@synerise/ds-scrollbar": "^2.1.0",
47
+ "@synerise/ds-typography": "^2.1.0",
48
+ "@synerise/ds-utils": "^2.3.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "vitest": "4"
@@ -55,5 +55,5 @@
55
55
  "react": ">=16.9.0 <= 18.3.1",
56
56
  "styled-components": "^5.3.3"
57
57
  },
58
- "gitHead": "c356039703d8826bbbdb6dadcb18bb008fea8bc5"
58
+ "gitHead": "5c3d61e30289486d14c7d6becb682e2d4a08ce41"
59
59
  }