@synerise/ds-cruds 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-cruds@2.0.11...@synerise/ds-cruds@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-cruds@2.0.10...@synerise/ds-cruds@2.0.11) (2026-10-28)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-cruds
package/CLAUDE.md CHANGED
@@ -104,11 +104,11 @@ import { Settings2S } from '@synerise/ds-icon';
104
104
 
105
105
  ## Styling
106
106
 
107
- Styles live in `Cruds.styles.tsx`. Uses `theme.palette` from `@synerise/ds-core` (requires styled-components `ThemeProvider`):
107
+ Styles live in `Cruds.styles.tsx`. Icon fills use the `--ds-cruds-*` module tokens:
108
108
 
109
- - `.add`, `.edit`, `.duplicate`, `.move`, `.moveup`, `.movedown` — `grey-600` fill, `blue-600` on hover
110
- - `.delete`, `.remove` — `red-600` fill (no hover change)
111
- - `inactive` state — `grey-300` fill, `cursor: default`, pointer-events disabled
109
+ - `.add`, `.edit`, `.duplicate`, `.preview`, `.move`, `.moveup`, `.movedown` — `--ds-cruds-default-idle` fill, `--ds-cruds-default-hover` on hover
110
+ - `.delete`, `.remove` — `--ds-cruds-danger-idle` fill (no hover change)
111
+ - `inactive` state — `--ds-cruds-default-disabled` fill, `cursor: default`, pointer-events disabled
112
112
 
113
113
  The root `CrudsContainer` has `className="ds-cruds"` applied unconditionally.
114
114
 
@@ -2,11 +2,11 @@ import styled, { css } from "styled-components";
2
2
  const CrudsContainer = /* @__PURE__ */ styled.div.withConfig({
3
3
  displayName: "Crudsstyles__CrudsContainer",
4
4
  componentId: "sc-14u9591-0"
5
- })(["display:flex;height:24px;cursor:pointer;.add,.duplicate,.edit,.move,.moveup,.movedown{svg{fill:", ";}}.add:hover,.duplicate:hover,.edit:hover,.move:hover,.moveup:hover,.movedown:hover{svg{fill:", ";}}.delete,.remove{svg{fill:", ";}}"], (props) => props.theme.palette["grey-600"], (props) => props.theme.palette["blue-600"], (props) => props.theme.palette["red-600"]);
5
+ })(["display:flex;height:24px;cursor:pointer;.add,.duplicate,.edit,.preview,.move,.moveup,.movedown{color:var(--ds-cruds-default-idle);}.add:hover,.duplicate:hover,.edit:hover,.preview:hover,.move:hover,.moveup:hover,.movedown:hover{color:var(--ds-cruds-default-hover);}.delete,.remove{color:var(--ds-cruds-danger-idle);}"]);
6
6
  const IconWrapper = /* @__PURE__ */ styled.div.withConfig({
7
7
  displayName: "Crudsstyles__IconWrapper",
8
8
  componentId: "sc-14u9591-1"
9
- })(["", ""], (props) => Boolean(props.inactive) && css(["&&,&&:hover{cursor:default;svg{pointer-events:none;fill:", ";}}"], props.theme.palette["grey-300"]));
9
+ })(["", ""], (props) => Boolean(props.inactive) && css(["&&,&&:hover{cursor:default;color:var(--ds-cruds-default-disabled);svg{pointer-events:none;}}"]));
10
10
  export {
11
11
  CrudsContainer,
12
12
  IconWrapper
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-cruds",
3
- "version": "2.0.11",
3
+ "version": "2.1.0",
4
4
  "description": "Cruds UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -42,9 +42,9 @@
42
42
  ],
43
43
  "types": "dist/index.d.ts",
44
44
  "dependencies": {
45
- "@synerise/ds-icon": "^2.2.3",
46
- "@synerise/ds-tooltip": "^2.0.11",
47
- "@synerise/ds-utils": "^2.2.2"
45
+ "@synerise/ds-icon": "^2.3.0",
46
+ "@synerise/ds-tooltip": "^2.1.0",
47
+ "@synerise/ds-utils": "^2.3.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "vitest": "4"
@@ -54,5 +54,5 @@
54
54
  "react": ">=16.9.0 <= 18.3.1",
55
55
  "styled-components": "^5.3.3"
56
56
  },
57
- "gitHead": "c356039703d8826bbbdb6dadcb18bb008fea8bc5"
57
+ "gitHead": "5c3d61e30289486d14c7d6becb682e2d4a08ce41"
58
58
  }