@synerise/ds-search 1.5.26 → 1.5.27

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,12 @@
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.5.27](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.5.26...@synerise/ds-search@1.5.27) (2026-05-27)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **search:** search with value closing on click outside ([1ddcab3](https://github.com/Synerise/synerise-design/commit/1ddcab3fcd2341d226b40b5d5afed5fcb58b53cd))
11
+
6
12
  ## [1.5.26](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.5.25...@synerise/ds-search@1.5.26) (2026-05-26)
7
13
 
8
14
  **Note:** Version bump only for package @synerise/ds-search
package/dist/Search.js CHANGED
@@ -143,8 +143,8 @@ function Search({
143
143
  pendingCloseCleanupRef.current = null;
144
144
  if (isOpen && !value && !label && !alwaysExpanded) {
145
145
  setToggleInputTrigger((prev) => !prev);
146
+ setIsOpen(false);
146
147
  }
147
- setIsOpen(false);
148
148
  setIsListVisible(false);
149
149
  setScrollbarScrollTop(0);
150
150
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-search",
3
- "version": "1.5.26",
3
+ "version": "1.5.27",
4
4
  "description": "Search UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -58,5 +58,5 @@
58
58
  "styled-components": "^5.3.3",
59
59
  "vitest": "4"
60
60
  },
61
- "gitHead": "be94b7e7ec28b566a3279e24248e610d87d8c0a5"
61
+ "gitHead": "b95ec2ba9c2c12116a41d82cedfe2b973c370449"
62
62
  }