@synerise/ds-search 1.3.11 → 1.3.12

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,186 +3,102 @@
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.3.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.10...@synerise/ds-search@1.3.11) (2025-11-28)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * **search:** fix types ([44042fa](https://github.com/Synerise/synerise-design/commit/44042fa0e22f04800969f5a25ea6335b4552f4ab))
12
- * **search:** refactor search component from class to function ([16e3c0c](https://github.com/Synerise/synerise-design/commit/16e3c0c2b04082e811cdd625f564321faf8811ed))
6
+ ## [1.3.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.11...@synerise/ds-search@1.3.12) (2025-12-15)
13
7
 
8
+ **Note:** Version bump only for package @synerise/ds-search
14
9
 
10
+ ## [1.3.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.10...@synerise/ds-search@1.3.11) (2025-11-28)
15
11
 
12
+ ### Bug Fixes
16
13
 
14
+ - **search:** fix types ([44042fa](https://github.com/Synerise/synerise-design/commit/44042fa0e22f04800969f5a25ea6335b4552f4ab))
15
+ - **search:** refactor search component from class to function ([16e3c0c](https://github.com/Synerise/synerise-design/commit/16e3c0c2b04082e811cdd625f564321faf8811ed))
17
16
 
18
17
  ## [1.3.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.9...@synerise/ds-search@1.3.10) (2025-11-06)
19
18
 
20
19
  **Note:** Version bump only for package @synerise/ds-search
21
20
 
22
-
23
-
24
-
25
-
26
21
  ## [1.3.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.8...@synerise/ds-search@1.3.9) (2025-10-22)
27
22
 
28
23
  **Note:** Version bump only for package @synerise/ds-search
29
24
 
30
-
31
-
32
-
33
-
34
25
  ## [1.3.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.7...@synerise/ds-search@1.3.8) (2025-10-16)
35
26
 
36
27
  **Note:** Version bump only for package @synerise/ds-search
37
28
 
38
-
39
-
40
-
41
-
42
29
  ## [1.3.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.6...@synerise/ds-search@1.3.7) (2025-10-10)
43
30
 
44
31
  **Note:** Version bump only for package @synerise/ds-search
45
32
 
46
-
47
-
48
-
49
-
50
33
  ## [1.3.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.5...@synerise/ds-search@1.3.6) (2025-10-08)
51
34
 
52
35
  **Note:** Version bump only for package @synerise/ds-search
53
36
 
54
-
55
-
56
-
57
-
58
37
  ## [1.3.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.4...@synerise/ds-search@1.3.5) (2025-09-30)
59
38
 
60
39
  **Note:** Version bump only for package @synerise/ds-search
61
40
 
62
-
63
-
64
-
65
-
66
41
  ## [1.3.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.3...@synerise/ds-search@1.3.4) (2025-09-30)
67
42
 
68
43
  **Note:** Version bump only for package @synerise/ds-search
69
44
 
70
-
71
-
72
-
73
-
74
45
  ## [1.3.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.2...@synerise/ds-search@1.3.3) (2025-09-25)
75
46
 
76
47
  **Note:** Version bump only for package @synerise/ds-search
77
48
 
78
-
79
-
80
-
81
-
82
49
  ## [1.3.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.1...@synerise/ds-search@1.3.2) (2025-09-19)
83
50
 
84
51
  **Note:** Version bump only for package @synerise/ds-search
85
52
 
86
-
87
-
88
-
89
-
90
53
  ## [1.3.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.3.0...@synerise/ds-search@1.3.1) (2025-09-16)
91
54
 
92
55
  **Note:** Version bump only for package @synerise/ds-search
93
56
 
94
-
95
-
96
-
97
-
98
57
  # [1.3.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.2.8...@synerise/ds-search@1.3.0) (2025-08-28)
99
58
 
100
-
101
59
  ### Features
102
60
 
103
- * **search:** allow custom dropdown width ([0555d9d](https://github.com/Synerise/synerise-design/commit/0555d9d39abc49868a490e5b559184c720e4d8d3))
104
-
105
-
106
-
107
-
61
+ - **search:** allow custom dropdown width ([0555d9d](https://github.com/Synerise/synerise-design/commit/0555d9d39abc49868a490e5b559184c720e4d8d3))
108
62
 
109
63
  ## [1.2.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.2.7...@synerise/ds-search@1.2.8) (2025-08-20)
110
64
 
111
65
  **Note:** Version bump only for package @synerise/ds-search
112
66
 
113
-
114
-
115
-
116
-
117
67
  ## [1.2.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.2.6...@synerise/ds-search@1.2.7) (2025-08-14)
118
68
 
119
69
  **Note:** Version bump only for package @synerise/ds-search
120
70
 
121
-
122
-
123
-
124
-
125
71
  ## [1.2.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.2.5...@synerise/ds-search@1.2.6) (2025-07-24)
126
72
 
127
73
  **Note:** Version bump only for package @synerise/ds-search
128
74
 
129
-
130
-
131
-
132
-
133
75
  ## [1.2.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.2.4...@synerise/ds-search@1.2.5) (2025-07-17)
134
76
 
135
77
  **Note:** Version bump only for package @synerise/ds-search
136
78
 
137
-
138
-
139
-
140
-
141
79
  ## [1.2.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.2.3...@synerise/ds-search@1.2.4) (2025-07-15)
142
80
 
143
81
  **Note:** Version bump only for package @synerise/ds-search
144
82
 
145
-
146
-
147
-
148
-
149
83
  ## [1.2.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.2.2...@synerise/ds-search@1.2.3) (2025-07-08)
150
84
 
151
85
  **Note:** Version bump only for package @synerise/ds-search
152
86
 
153
-
154
-
155
-
156
-
157
87
  ## [1.2.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.2.1...@synerise/ds-search@1.2.2) (2025-07-01)
158
88
 
159
-
160
89
  ### Bug Fixes
161
90
 
162
- * **search:** fix list virtualisation ([29ce3e2](https://github.com/Synerise/synerise-design/commit/29ce3e21adf61ece235d4eca87251df77ceaf6bb))
163
-
164
-
165
-
166
-
91
+ - **search:** fix list virtualisation ([29ce3e2](https://github.com/Synerise/synerise-design/commit/29ce3e21adf61ece235d4eca87251df77ceaf6bb))
167
92
 
168
93
  ## [1.2.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.2.0...@synerise/ds-search@1.2.1) (2025-06-26)
169
94
 
170
95
  **Note:** Version bump only for package @synerise/ds-search
171
96
 
172
-
173
-
174
-
175
-
176
97
  # [1.2.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.1.8...@synerise/ds-search@1.2.0) (2025-06-24)
177
98
 
178
-
179
99
  ### Features
180
100
 
181
- * **factors:** array factor type ([195d328](https://github.com/Synerise/synerise-design/commit/195d3286e98b5f07fc9c1e56001e6ae844b7a080))
182
-
183
-
184
-
185
-
101
+ - **factors:** array factor type ([195d328](https://github.com/Synerise/synerise-design/commit/195d3286e98b5f07fc9c1e56001e6ae844b7a080))
186
102
 
187
103
  ## [1.1.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.1.7...@synerise/ds-search@1.1.8) (2025-06-05)
188
104
 
package/dist/Search.js CHANGED
@@ -74,12 +74,12 @@ export function Search(_ref) {
74
74
  var _useState9 = useState(0),
75
75
  scrollbarScrollTop = _useState9[0],
76
76
  setScrollbarScrollTop = _useState9[1];
77
- var _useState10 = useState(true),
78
- moveCursorToEnd = _useState10[0],
79
- setMoveCursorToEnd = _useState10[1];
80
- var _useState11 = useState(width || searchWidth ? (width || searchWidth) - MENU_WIDTH_OFFSET : 0),
81
- itemsListWidth = _useState11[0],
82
- setItemsListWidth = _useState11[1];
77
+ var _useState0 = useState(true),
78
+ moveCursorToEnd = _useState0[0],
79
+ setMoveCursorToEnd = _useState0[1];
80
+ var _useState1 = useState(width || searchWidth ? (width || searchWidth) - MENU_WIDTH_OFFSET : 0),
81
+ itemsListWidth = _useState1[0],
82
+ setItemsListWidth = _useState1[1];
83
83
  useEffect(function () {
84
84
  if (parameterValue) {
85
85
  var _ref3;
@@ -157,9 +157,9 @@ export function Search(_ref) {
157
157
  }
158
158
  return 0;
159
159
  };
160
- var _useState12 = useState(false),
161
- isOpen = _useState12[0],
162
- setIsOpen = _useState12[1];
160
+ var _useState10 = useState(false),
161
+ isOpen = _useState10[0],
162
+ setIsOpen = _useState10[1];
163
163
  useOnClickOutside(wrapperRef, function () {
164
164
  if (isOpen && !value && !label && !alwaysExpanded) {
165
165
  setToggleInputTrigger(function (prev) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-search",
3
- "version": "1.3.11",
3
+ "version": "1.3.12",
4
4
  "description": "Search UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -21,7 +21,7 @@
21
21
  "build:js": "babel --delete-dir-on-start --root-mode upward src --out-dir dist --extensions '.js,.ts,.tsx'",
22
22
  "build:watch": "npm run build:js -- --watch",
23
23
  "defs": "tsc --declaration --outDir dist/ --emitDeclarationOnly",
24
- "pack:ci": "npm pack --pack-destination ../../storybook/storybook-static/static",
24
+ "pack:ci": "pnpm pack --pack-destination ../../storybook/storybook-static/static",
25
25
  "prepublish": "npm run build",
26
26
  "test": "jest",
27
27
  "test:watch": "npm run test -- --watchAll",
@@ -35,12 +35,12 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-button": "^1.5.1",
39
- "@synerise/ds-icon": "^1.9.0",
40
- "@synerise/ds-menu": "^1.2.1",
41
- "@synerise/ds-scrollbar": "^1.2.1",
42
- "@synerise/ds-tooltip": "^1.3.1",
43
- "@synerise/ds-utils": "^1.5.0",
38
+ "@synerise/ds-button": "^1.5.2",
39
+ "@synerise/ds-icon": "^1.9.1",
40
+ "@synerise/ds-menu": "^1.2.2",
41
+ "@synerise/ds-scrollbar": "^1.2.2",
42
+ "@synerise/ds-tooltip": "^1.3.2",
43
+ "@synerise/ds-utils": "^1.5.1",
44
44
  "react-onclickoutside": "^6.9.0",
45
45
  "react-window": "^1.8.11"
46
46
  },
@@ -50,5 +50,5 @@
50
50
  "react": ">=16.9.0 <= 18.3.1",
51
51
  "styled-components": "^5.3.3"
52
52
  },
53
- "gitHead": "d5bd7fbc9d840ac30e2b79b36c451b486e178445"
53
+ "gitHead": "b1279d5354132a2bf0b6f0cfa343db4c6c928f72"
54
54
  }