@synerise/ds-collector 1.3.17 → 1.4.0

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,17 @@
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
+ # [1.4.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@1.3.17...@synerise/ds-collector@1.4.0) (2025-10-10)
7
+
8
+
9
+ ### Features
10
+
11
+ * **list-item:** submenu and header ([71fa4bf](https://github.com/Synerise/synerise-design/commit/71fa4bfadd5fdb52d61dfe8fe87a9e47567e5d16))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.3.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-collector@1.3.16...@synerise/ds-collector@1.3.17) (2025-10-08)
7
18
 
8
19
  **Note:** Version bump only for package @synerise/ds-collector
package/dist/Collector.js CHANGED
@@ -86,11 +86,13 @@ var Collector = function Collector(_ref) {
86
86
  return (lookupConfig == null ? void 0 : lookupConfig.display) || 'text';
87
87
  }, [lookupConfig]);
88
88
  var focusInput = useCallback(function () {
89
- if (inputRef != null && inputRef.current) {
90
- inputRef.current.focus({
91
- preventScroll: true
92
- });
93
- }
89
+ setTimeout(function () {
90
+ if (inputRef != null && inputRef.current) {
91
+ inputRef.current.focus({
92
+ preventScroll: true
93
+ });
94
+ }
95
+ }, 0);
94
96
  }, [inputRef]);
95
97
  var suggestionsIncludesItem = useCallback(function (item) {
96
98
  return filteredSuggestions.some(function (suggestion) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-collector",
3
- "version": "1.3.17",
3
+ "version": "1.4.0",
4
4
  "description": "Collector UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -35,14 +35,14 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-button": "^1.4.13",
39
- "@synerise/ds-divider": "^1.1.3",
40
- "@synerise/ds-icon": "^1.7.2",
41
- "@synerise/ds-input": "^1.3.13",
42
- "@synerise/ds-list-item": "^1.0.24",
43
- "@synerise/ds-scrollbar": "^1.1.8",
44
- "@synerise/ds-search": "^1.3.6",
45
- "@synerise/ds-utils": "^1.4.2",
38
+ "@synerise/ds-button": "^1.4.14",
39
+ "@synerise/ds-divider": "^1.2.0",
40
+ "@synerise/ds-icon": "^1.7.3",
41
+ "@synerise/ds-input": "^1.4.0",
42
+ "@synerise/ds-list-item": "^1.1.0",
43
+ "@synerise/ds-scrollbar": "^1.1.9",
44
+ "@synerise/ds-search": "^1.3.7",
45
+ "@synerise/ds-utils": "^1.5.0",
46
46
  "classnames": "^2.5.1",
47
47
  "lodash.isequal": "^4.5.0"
48
48
  },
@@ -56,5 +56,5 @@
56
56
  "devDependencies": {
57
57
  "@types/lodash.isequal": "^4.5.8"
58
58
  },
59
- "gitHead": "b93cc50e96540d3174fcf1c673d424d0ff57c5ef"
59
+ "gitHead": "4e09fc37fa21ff2e27655e7bb305b136db0ca199"
60
60
  }