@synerise/ds-cruds 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 +19 -0
- package/CLAUDE.md +4 -4
- package/dist/Cruds.styles.js +2 -2
- package/package.json +5 -5
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-cruds@2.1.0...@synerise/ds-cruds@2.1.1) (2026-11-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-cruds
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [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)
|
|
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-cruds@2.0.10...@synerise/ds-cruds@2.0.11) (2026-10-28)
|
|
7
26
|
|
|
8
27
|
**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`.
|
|
107
|
+
Styles live in `Cruds.styles.tsx`. Icon fills use the `--ds-cruds-*` module tokens:
|
|
108
108
|
|
|
109
|
-
- `.add`, `.edit`, `.duplicate`, `.move`, `.moveup`, `.movedown` —
|
|
110
|
-
- `.delete`, `.remove` —
|
|
111
|
-
- `inactive` state —
|
|
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
|
|
package/dist/Cruds.styles.js
CHANGED
|
@@ -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{
|
|
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;
|
|
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.
|
|
3
|
+
"version": "2.1.1",
|
|
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.
|
|
46
|
-
"@synerise/ds-tooltip": "^2.
|
|
47
|
-
"@synerise/ds-utils": "^2.
|
|
45
|
+
"@synerise/ds-icon": "^2.3.1",
|
|
46
|
+
"@synerise/ds-tooltip": "^2.1.1",
|
|
47
|
+
"@synerise/ds-utils": "^2.3.1"
|
|
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": "
|
|
57
|
+
"gitHead": "2d2a540b35fddf8855da45f0dec2f4612c6d87b6"
|
|
58
58
|
}
|