@synerise/ds-subject 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 +20 -0
- package/dist/SubjectList/SubjectList.js +2 -3
- package/package.json +13 -12
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-subject@2.0.10...@synerise/ds-subject@2.0.11) (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
|
+
|
|
18
|
+
## [2.0.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-subject@2.0.9...@synerise/ds-subject@2.0.10) (2026-10-22)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @synerise/ds-subject
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [2.0.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-subject@2.0.8...@synerise/ds-subject@2.0.9) (2026-10-20)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @synerise/ds-subject
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import { v4 } from "uuid";
|
|
4
3
|
import Dropdown from "@synerise/ds-dropdown";
|
|
5
4
|
import Icon, { SearchM } from "@synerise/ds-icon";
|
|
6
5
|
import Result from "@synerise/ds-result";
|
|
7
6
|
import Scrollbar from "@synerise/ds-scrollbar";
|
|
8
|
-
import { focusWithArrowKeys } from "@synerise/ds-utils";
|
|
7
|
+
import { generateUuid, focusWithArrowKeys } from "@synerise/ds-utils";
|
|
9
8
|
import { ItemsList } from "./SubjectList.styles.js";
|
|
10
9
|
import SubjectListItem from "./SubjectListItem.js";
|
|
11
10
|
const SubjectList = ({
|
|
@@ -18,7 +17,7 @@ const SubjectList = ({
|
|
|
18
17
|
const overlayRef = React.useRef(null);
|
|
19
18
|
const [searchInputCanBeFocused, setSearchInputFocus] = React.useState(true);
|
|
20
19
|
const classNames = React.useMemo(() => {
|
|
21
|
-
return `ds-subject-item ds-subject-item-${
|
|
20
|
+
return `ds-subject-item ds-subject-item-${generateUuid()}`;
|
|
22
21
|
}, []);
|
|
23
22
|
const renderItems = React.useMemo(() => {
|
|
24
23
|
return items.filter((item) => item.name.toLowerCase().includes(searchQuery.toLowerCase())).map((item) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-subject",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "Subject UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -41,20 +41,21 @@
|
|
|
41
41
|
],
|
|
42
42
|
"types": "dist/index.d.ts",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@synerise/ds-button": "^2.1.
|
|
45
|
-
"@synerise/ds-dropdown": "^2.1.
|
|
46
|
-
"@synerise/ds-icon": "^2.2.
|
|
47
|
-
"@synerise/ds-list-item": "^2.2.
|
|
48
|
-
"@synerise/ds-result": "^2.0.
|
|
49
|
-
"@synerise/ds-scrollbar": "^2.0.
|
|
50
|
-
"@synerise/ds-utils": "^2.2.
|
|
51
|
-
|
|
44
|
+
"@synerise/ds-button": "^2.1.5",
|
|
45
|
+
"@synerise/ds-dropdown": "^2.1.7",
|
|
46
|
+
"@synerise/ds-icon": "^2.2.3",
|
|
47
|
+
"@synerise/ds-list-item": "^2.2.3",
|
|
48
|
+
"@synerise/ds-result": "^2.0.10",
|
|
49
|
+
"@synerise/ds-scrollbar": "^2.0.9",
|
|
50
|
+
"@synerise/ds-utils": "^2.2.2"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"vitest": "4"
|
|
52
54
|
},
|
|
53
55
|
"peerDependencies": {
|
|
54
56
|
"@synerise/ds-core": "*",
|
|
55
57
|
"react": ">=16.9.0 <= 18.3.1",
|
|
56
|
-
"styled-components": "^5.3.3"
|
|
57
|
-
"vitest": "4"
|
|
58
|
+
"styled-components": "^5.3.3"
|
|
58
59
|
},
|
|
59
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "5ac0f7dcb7c3995b402c86c087d8f32770f80a1d"
|
|
60
61
|
}
|