@synerise/ds-step-card 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 +1 -1
- package/dist/StepCard.styles.js +6 -6
- package/package.json +8 -8
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-step-card@2.1.0...@synerise/ds-step-card@2.1.1) (2026-11-03)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-step-card
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [2.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-step-card@2.0.11...@synerise/ds-step-card@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-step-card@2.0.10...@synerise/ds-step-card@2.0.11) (2026-10-28)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-step-card
|
package/CLAUDE.md
CHANGED
|
@@ -103,7 +103,7 @@ Merges user-provided `Partial<StepCardTexts>` with `react-intl` defaults via `us
|
|
|
103
103
|
## Styling
|
|
104
104
|
|
|
105
105
|
Styles in `StepCard.styles.ts`. Key states:
|
|
106
|
-
- `isDragged`: body hidden (`visibility: hidden`),
|
|
106
|
+
- `isDragged`: body hidden (`visibility: hidden`), `DragPlaceholder` shown with the `dropLabel` in `var(--ds-color-text-brand-default)` (no border/background of its own). Height collapses to 100px.
|
|
107
107
|
- `isDragOverlay`: content height fixed at 76px, body/footer hidden, cursor `grabbing`.
|
|
108
108
|
- Cruds (delete/duplicate) are hidden by default (`opacity: 0; visibility: hidden`) and revealed on header hover.
|
|
109
109
|
|
package/dist/StepCard.styles.js
CHANGED
|
@@ -8,15 +8,15 @@ const DragPlaceholder = /* @__PURE__ */ styled.div.withConfig({
|
|
|
8
8
|
const DragPlaceholderContent = /* @__PURE__ */ styled.div.withConfig({
|
|
9
9
|
displayName: "StepCardstyles__DragPlaceholderContent",
|
|
10
10
|
componentId: "sc-45dbps-1"
|
|
11
|
-
})(["position:absolute;left:0;top:0;width:100%;height:calc(100% - 24px);display:flex;align-items:center;justify-content:center;color:
|
|
11
|
+
})(["position:absolute;left:0;top:0;width:100%;height:calc(100% - 24px);display:flex;align-items:center;justify-content:center;color:var(--ds-color-text-brand-default);"]);
|
|
12
12
|
const DragPlaceholderTag = /* @__PURE__ */ styled.div.withConfig({
|
|
13
13
|
displayName: "StepCardstyles__DragPlaceholderTag",
|
|
14
14
|
componentId: "sc-45dbps-2"
|
|
15
|
-
})(["position:absolute;right:24px;top:22px;opacity:
|
|
15
|
+
})(["position:absolute;right:24px;top:22px;opacity:var(--ds-opacity-disabled);"]);
|
|
16
16
|
const Content = /* @__PURE__ */ styled.div.withConfig({
|
|
17
17
|
displayName: "StepCardstyles__Content",
|
|
18
18
|
componentId: "sc-45dbps-3"
|
|
19
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:
|
|
19
|
+
})(["display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;background-color:var(--ds-color-background-base-default);box-shadow:var(--ds-shadows-shadow-1);border-radius:3px;"]);
|
|
20
20
|
const Container = /* @__PURE__ */ styled.div.withConfig({
|
|
21
21
|
displayName: "StepCardstyles__Container",
|
|
22
22
|
componentId: "sc-45dbps-4"
|
|
@@ -38,7 +38,7 @@ const MoveByOffsetLabel = /* @__PURE__ */ styled.span.withConfig({
|
|
|
38
38
|
const CountDownSpinner = /* @__PURE__ */ styled.g.withConfig({
|
|
39
39
|
displayName: "StepCardstyles__CountDownSpinner",
|
|
40
40
|
componentId: "sc-45dbps-8"
|
|
41
|
-
})(["stroke:
|
|
41
|
+
})(["stroke:var(--ds-color-icon-base-subtle);stroke-width:2px;stroke-dasharray:75;transition:stroke-dashoffset ", "s linear;"], (props) => props.duration);
|
|
42
42
|
const MoveByOffset = /* @__PURE__ */ styled.span.withConfig({
|
|
43
43
|
displayName: "StepCardstyles__MoveByOffset",
|
|
44
44
|
componentId: "sc-45dbps-9"
|
|
@@ -82,11 +82,11 @@ const Body = /* @__PURE__ */ styled.div.withConfig({
|
|
|
82
82
|
const AdditionalFields = /* @__PURE__ */ styled.div.withConfig({
|
|
83
83
|
displayName: "StepCardstyles__AdditionalFields",
|
|
84
84
|
componentId: "sc-45dbps-18"
|
|
85
|
-
})(["width:100%;padding:24px 24px 12px;border-top:1px solid
|
|
85
|
+
})(["width:100%;padding:24px 24px 12px;border-top:1px solid var(--ds-color-border-base-default);"]);
|
|
86
86
|
const Footer = /* @__PURE__ */ styled.div.withConfig({
|
|
87
87
|
displayName: "StepCardstyles__Footer",
|
|
88
88
|
componentId: "sc-45dbps-19"
|
|
89
|
-
})(["background-color:
|
|
89
|
+
})(["background-color:var(--ds-color-background-base-subtle);border-top:1px solid var(--ds-color-border-base-subtle);padding:16px 24px;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;width:100%;> *{margin-left:8px;}"]);
|
|
90
90
|
export {
|
|
91
91
|
AdditionalFields,
|
|
92
92
|
Body,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-step-card",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "StepCard UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@synerise/ds-cruds": "^2.
|
|
46
|
-
"@synerise/ds-icon": "^2.
|
|
47
|
-
"@synerise/ds-inline-alert": "^2.
|
|
48
|
-
"@synerise/ds-logic": "^2.
|
|
49
|
-
"@synerise/ds-sortable": "^2.
|
|
50
|
-
"@synerise/ds-typography": "^2.
|
|
45
|
+
"@synerise/ds-cruds": "^2.1.1",
|
|
46
|
+
"@synerise/ds-icon": "^2.3.1",
|
|
47
|
+
"@synerise/ds-inline-alert": "^2.1.1",
|
|
48
|
+
"@synerise/ds-logic": "^2.1.1",
|
|
49
|
+
"@synerise/ds-sortable": "^2.1.1",
|
|
50
|
+
"@synerise/ds-typography": "^2.1.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"vitest": "4"
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
59
59
|
"styled-components": "^5.3.3"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "2d2a540b35fddf8855da45f0dec2f4612c6d87b6"
|
|
62
62
|
}
|