@synerise/ds-skeleton 2.0.9 → 2.0.11

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,26 @@
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.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-skeleton@2.0.10...@synerise/ds-skeleton@2.0.11) (2026-10-28)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-skeleton
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-skeleton@2.0.9...@synerise/ds-skeleton@2.0.10) (2026-10-26)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * drop vitest peer dependency and bump vulnerable runtime deps ([2467d36](https://github.com/Synerise/synerise-design/commit/2467d3606aa97141a3a2d80c3ef396e78bee285c))
20
+ * remove per-render random keys and guard against them with a Biome plugin ([fcea7c5](https://github.com/Synerise/synerise-design/commit/fcea7c5d60b80c28cbbd191bfa2792379782a0e8))
21
+
22
+
23
+
24
+
25
+
6
26
  ## [2.0.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-skeleton@2.0.8...@synerise/ds-skeleton@2.0.9) (2026-10-22)
7
27
 
8
28
  **Note:** Version bump only for package @synerise/ds-skeleton
package/CLAUDE.md CHANGED
@@ -109,7 +109,6 @@ All components share `BackgroundGradient` from `Skeleton.styles.ts` — a grey-t
109
109
  ## Key dependencies
110
110
 
111
111
  - `@synerise/ds-checkbox` — `CheckboxSkeleton` renders a real `Checkbox` (unchecked, non-interactive) beside the bars
112
- - `uuid` — generates unique `id` per skeleton bar for stable keys
113
112
 
114
113
  ## Implementation notes
115
114
 
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { memo, useMemo } from "react";
3
- import { v4 } from "uuid";
4
3
  import Checkbox from "@synerise/ds-checkbox";
4
+ import { generateUuid } from "@synerise/ds-utils";
5
5
  import { Container, SkeletonWrapper, Wrapper, SkeletonBar } from "./CheckboxSkeleton.styles.js";
6
6
  const CheckboxSkeleton = ({
7
7
  size = "M",
@@ -11,7 +11,7 @@ const CheckboxSkeleton = ({
11
11
  const tiles = useMemo(() => Array.from({
12
12
  length: numberOfSkeletons
13
13
  }, () => ({
14
- id: v4()
14
+ id: generateUuid()
15
15
  })), [numberOfSkeletons]);
16
16
  return /* @__PURE__ */ jsxs(Container, { className, children: [
17
17
  /* @__PURE__ */ jsx(Checkbox, {}),
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { memo, useMemo } from "react";
3
- import { v4 } from "uuid";
3
+ import { generateUuid } from "@synerise/ds-utils";
4
4
  import { Container, Wrapper, SkeletonBar } from "./DropdownSkeleton.styles.js";
5
5
  const DropdownSkeleton = ({
6
6
  size = "M",
@@ -10,7 +10,7 @@ const DropdownSkeleton = ({
10
10
  const tiles = useMemo(() => Array.from({
11
11
  length: numberOfSkeletons
12
12
  }, () => ({
13
- id: v4()
13
+ id: generateUuid()
14
14
  })), [numberOfSkeletons]);
15
15
  return /* @__PURE__ */ jsx(Container, { className, children: tiles.map((tile) => /* @__PURE__ */ jsx(Wrapper, { size, children: /* @__PURE__ */ jsx(SkeletonBar, { size }) }, tile.id)) });
16
16
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
- import { v4 } from "uuid";
3
+ import { generateUuid } from "@synerise/ds-utils";
4
4
  import { Container, Wrapper, SkeletonBar } from "./OrderedListSkeleton.styles.js";
5
5
  const OrderedListSkeleton = ({
6
6
  size = "M",
@@ -10,7 +10,7 @@ const OrderedListSkeleton = ({
10
10
  const tiles = useMemo(() => Array.from({
11
11
  length: numberOfSkeletons
12
12
  }, () => ({
13
- id: v4()
13
+ id: generateUuid()
14
14
  })), [numberOfSkeletons]);
15
15
  return /* @__PURE__ */ jsx(Container, { className, children: /* @__PURE__ */ jsx("div", { children: tiles.map((tile) => /* @__PURE__ */ jsx(Wrapper, { size, children: /* @__PURE__ */ jsx(SkeletonBar, { size }) }, tile.id)) }) });
16
16
  };
package/dist/Skeleton.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
- import { v4 } from "uuid";
3
+ import { generateUuid } from "@synerise/ds-utils";
4
4
  import { Container, Wrapper, SkeletonBar } from "./Skeleton.styles.js";
5
5
  const Skeleton = ({
6
6
  size = "M",
@@ -12,7 +12,7 @@ const Skeleton = ({
12
12
  const tiles = useMemo(() => Array.from({
13
13
  length: numberOfSkeletons
14
14
  }, () => ({
15
- id: v4()
15
+ id: generateUuid()
16
16
  })), [numberOfSkeletons]);
17
17
  return /* @__PURE__ */ jsx(Container, { "data-testid": "ds-skeleton", className, children: tiles.map((tile) => /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx(Wrapper, { className: "ds-skeleton", size, width, height, children: /* @__PURE__ */ jsx(SkeletonBar, { width, size }) }, tile.id) })) });
18
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-skeleton",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
4
4
  "description": "Skeleton UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -42,14 +42,16 @@
42
42
  ],
43
43
  "types": "dist/index.d.ts",
44
44
  "dependencies": {
45
- "@synerise/ds-checkbox": "^2.0.9",
46
- "uuid": "^8.3.2"
45
+ "@synerise/ds-checkbox": "^2.0.11",
46
+ "@synerise/ds-utils": "^2.2.2"
47
+ },
48
+ "devDependencies": {
49
+ "vitest": "4"
47
50
  },
48
51
  "peerDependencies": {
49
52
  "@synerise/ds-core": "*",
50
53
  "react": ">=16.9.0 <= 18.3.1",
51
- "styled-components": "^5.3.3",
52
- "vitest": "4"
54
+ "styled-components": "^5.3.3"
53
55
  },
54
- "gitHead": "953d50843fbcbec956b6252a6185def119652282"
56
+ "gitHead": "c356039703d8826bbbdb6dadcb18bb008fea8bc5"
55
57
  }