@synerise/ds-block 2.0.11 → 2.1.1

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,25 @@
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.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-block@2.1.0...@synerise/ds-block@2.1.1) (2026-11-03)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-block
9
+
10
+
11
+
12
+
13
+
14
+ # [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-block@2.0.11...@synerise/ds-block@2.1.0) (2026-10-29)
15
+
16
+
17
+ ### Features
18
+
19
+ * integrate Token Studio design tokens across the design system ([aabb447](https://github.com/Synerise/synerise-design/commit/aabb447edfb2d0c85e3de1f07e809ef84083453b))
20
+
21
+
22
+
23
+
24
+
6
25
  ## [2.0.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-block@2.0.10...@synerise/ds-block@2.0.11) (2026-10-28)
7
26
 
8
27
  **Note:** Version bump only for package @synerise/ds-block
package/CLAUDE.md CHANGED
@@ -45,10 +45,10 @@ import Block from '@synerise/ds-block';
45
45
 
46
46
  ## Styling
47
47
 
48
- `Block.styles.ts` uses `@synerise/ds-typography` `macro.h200` and `@synerise/ds-core` theme palette tokens:
49
- - Default: grey-050 background, transparent border, grey-600 text.
50
- - Hover: grey-800 text and icon colour.
51
- - `is-dragging`: dashed grey-400 border, icon and label hidden (`display: none`).
48
+ `Block.styles.ts` uses `@synerise/ds-typography` `macro.h200` and `var(--ds-*)` tokens:
49
+ - Default: `--ds-color-background-base-subtle` background, transparent border, `--ds-color-text-base-muted` text.
50
+ - Hover: `--ds-color-text-base-default` text and icon colour.
51
+ - `is-dragging`: dashed `--ds-color-border-base-stronghover` border, icon and label hidden (`display: none`).
52
52
  - `BlockWrapper` uses `flex: 0 0 50%` — designed to sit in a two-column flex grid.
53
53
 
54
54
  ## Implementation notes
@@ -3,15 +3,15 @@ import { macro } from "@synerise/ds-typography";
3
3
  const BlockContent = /* @__PURE__ */ styled.div.withConfig({
4
4
  displayName: "Blockstyles__BlockContent",
5
5
  componentId: "sc-1sx5qhb-0"
6
- })(["display:flex;align-items:center;background-color:", ";border:1px solid transparent;padding:11px;width:100%;border-radius:3px;"], (props) => props.theme.palette["grey-050"]);
6
+ })(["display:flex;align-items:center;background-color:var(--ds-color-background-base-subtle);border:1px solid transparent;padding:11px;width:100%;border-radius:3px;"]);
7
7
  const BlockName = /* @__PURE__ */ styled.div.withConfig({
8
8
  displayName: "Blockstyles__BlockName",
9
9
  componentId: "sc-1sx5qhb-1"
10
- })(["", ";color:", ";padding-left:12px;transition:0.2s ease-in-out;user-select:none;"], macro.h200, (props) => props.theme.palette["grey-600"]);
10
+ })(["", ";color:var(--ds-color-text-base-muted);padding-left:12px;transition:0.2s ease-in-out;user-select:none;"], macro.h200);
11
11
  const BlockWrapper = /* @__PURE__ */ styled.div.withConfig({
12
12
  displayName: "Blockstyles__BlockWrapper",
13
13
  componentId: "sc-1sx5qhb-2"
14
- })(["display:flex;flex:0 0 50%;padding:6px 8px;cursor:pointer;svg{transition:0.2s ease-in-out;}&:hover{", "{color:", ";}svg{color:", ";fill:", ";}}&.is-dragging{", "{border:1px dashed ", ";}", ",svg{display:none;}}"], BlockName, (props) => props.theme.palette["grey-800"], (props) => props.theme.palette["grey-800"], (props) => props.theme.palette["grey-800"], BlockContent, (props) => props.theme.palette["grey-400"], BlockName);
14
+ })(["display:flex;flex:0 0 50%;padding:6px 8px;cursor:pointer;svg{transition:0.2s ease-in-out;}&:hover{", ",", "{color:var(--ds-color-text-base-default);}}&.is-dragging{", "{border:1px dashed var(--ds-color-border-base-stronghover);}", ",svg{display:none;}}"], BlockName, BlockContent, BlockContent, BlockName);
15
15
  export {
16
16
  BlockContent,
17
17
  BlockName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-block",
3
- "version": "2.0.11",
3
+ "version": "2.1.1",
4
4
  "description": "Block UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -42,8 +42,8 @@
42
42
  ],
43
43
  "types": "dist/index.d.ts",
44
44
  "dependencies": {
45
- "@synerise/ds-icon": "^2.2.3",
46
- "@synerise/ds-typography": "^2.0.11"
45
+ "@synerise/ds-icon": "^2.3.1",
46
+ "@synerise/ds-typography": "^2.1.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "vitest": "4"
@@ -53,5 +53,5 @@
53
53
  "react": ">=16.9.0 <= 18.3.1",
54
54
  "styled-components": "^5.3.3"
55
55
  },
56
- "gitHead": "c356039703d8826bbbdb6dadcb18bb008fea8bc5"
56
+ "gitHead": "2d2a540b35fddf8855da45f0dec2f4612c6d87b6"
57
57
  }