@synerise/ds-card 2.0.9 → 2.0.10

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,18 @@
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.0.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card@2.0.9...@synerise/ds-card@2.0.10) (2026-10-26)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * drop vitest peer dependency and bump vulnerable runtime deps ([2467d36](https://github.com/Synerise/synerise-design/commit/2467d3606aa97141a3a2d80c3ef396e78bee285c))
12
+ * remove per-render random keys and guard against them with a Biome plugin ([fcea7c5](https://github.com/Synerise/synerise-design/commit/fcea7c5d60b80c28cbbd191bfa2792379782a0e8))
13
+
14
+
15
+
16
+
17
+
6
18
  ## [2.0.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-card@2.0.8...@synerise/ds-card@2.0.9) (2026-10-22)
7
19
 
8
20
  **Note:** Version bump only for package @synerise/ds-card
package/CLAUDE.md CHANGED
@@ -146,7 +146,6 @@ import Card, { CardGroup, CardBadge, CardSummary } from '@synerise/ds-card';
146
146
 
147
147
  - `react-animate-height` — animates `children` and `staticContent` show/hide (300ms). The `children` area fades in via a `.card-animation` CSS class that targets `.rah-static--height-auto`.
148
148
  - `react-visibility-sensor` — wraps `headerSideChildren` to detect when the header leaves the viewport; powers `showSideChildrenWhenHeaderHidden`.
149
- - `uuid` — used in `CardSummaryItem` to key `summaryObjects` elements that lack a `.key`.
150
149
 
151
150
  ## Implementation notes
152
151
 
@@ -1,7 +1,6 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useState } from "react";
3
3
  import AnimateHeight from "react-animate-height";
4
- import { v4 } from "uuid";
5
4
  import { AngleDownS } from "@synerise/ds-icon";
6
5
  import { ANIMATION_DURATION } from "../constants.js";
7
6
  import { CardSummaryItemWrapper, CardSummaryItemDetailsWrapper, CardSummaryItemDetails, CardSummaryItemLabelValueWrapper, CardSummaryItemLabel, CardSummaryItemValue, ValueButtonWrapper, CardSummaryItemObjects, CardSummaryItemObject, IconWrapper, Icon } from "./CardSummary.styles.js";
@@ -34,7 +33,7 @@ const CardSummaryItem = ({
34
33
  ] }) }),
35
34
  valueButton && /* @__PURE__ */ jsx(ValueButtonWrapper, { children: valueButton })
36
35
  ] }),
37
- withObjects && /* @__PURE__ */ jsx(AnimateHeight, { duration: ANIMATION_DURATION, height: isOpen ? "auto" : 0, children: /* @__PURE__ */ jsx(CardSummaryItemObjects, { direction: summaryObjectsDirection, children: summaryObjects?.map((object) => /* @__PURE__ */ jsx(CardSummaryItemObject, { direction: summaryObjectsDirection, children: object }, object.key || v4())) }) })
36
+ withObjects && /* @__PURE__ */ jsx(AnimateHeight, { duration: ANIMATION_DURATION, height: isOpen ? "auto" : 0, children: /* @__PURE__ */ jsx(CardSummaryItemObjects, { direction: summaryObjectsDirection, children: summaryObjects?.map((object, index) => /* @__PURE__ */ jsx(CardSummaryItemObject, { direction: summaryObjectsDirection, children: object }, object.key ?? index)) }) })
38
37
  ] });
39
38
  };
40
39
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-card",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "Card UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -42,20 +42,21 @@
42
42
  ],
43
43
  "types": "dist/index.d.ts",
44
44
  "dependencies": {
45
- "@synerise/ds-avatar": "^2.0.9",
46
- "@synerise/ds-icon": "^2.2.2",
47
- "@synerise/ds-tag": "^2.0.9",
48
- "@synerise/ds-typography": "^2.0.9",
49
- "@synerise/ds-utils": "^2.2.1",
45
+ "@synerise/ds-avatar": "^2.0.10",
46
+ "@synerise/ds-icon": "^2.2.3",
47
+ "@synerise/ds-tag": "^2.0.10",
48
+ "@synerise/ds-typography": "^2.0.10",
49
+ "@synerise/ds-utils": "^2.2.2",
50
50
  "react-animate-height": "^2.0.23",
51
- "react-visibility-sensor": "^5.1.1",
52
- "uuid": "^8.3.2"
51
+ "react-visibility-sensor": "^5.1.1"
52
+ },
53
+ "devDependencies": {
54
+ "vitest": "4"
53
55
  },
54
56
  "peerDependencies": {
55
57
  "@synerise/ds-core": "*",
56
58
  "react": ">=16.9.0 <= 18.3.1",
57
- "styled-components": "^5.3.3",
58
- "vitest": "4"
59
+ "styled-components": "^5.3.3"
59
60
  },
60
- "gitHead": "953d50843fbcbec956b6252a6185def119652282"
61
+ "gitHead": "5ac0f7dcb7c3995b402c86c087d8f32770f80a1d"
61
62
  }