@synerise/ds-search 2.0.3 → 2.0.5
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 +19 -0
- package/dist/Elements/SearchItems/SearchItems.js +1 -0
- package/dist/Elements/index.d.ts +2 -2
- package/dist/Elements/index.js +7 -7
- package/dist/Search.js +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -8
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@2.0.4...@synerise/ds-search@2.0.5) (2026-09-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** move test helpers to a ./testing subpath export ([b38cd82](https://github.com/Synerise/synerise-design/commit/b38cd82c956111d2331d5c1e0efd1935366f1139))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.0.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@2.0.3...@synerise/ds-search@2.0.4) (2026-09-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @synerise/ds-search
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [2.0.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@2.0.2...@synerise/ds-search@2.0.3) (2026-09-16)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-search
|
package/dist/Elements/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as
|
|
1
|
+
export { default as SearchButton } from './SearchButton/SearchButton';
|
|
2
2
|
export { default as SearchHeader } from './SearchHeader/SearchHeader';
|
|
3
|
+
export { default as SearchInput } from './SearchInput/SearchInput';
|
|
3
4
|
export { default as SearchItemList, default as SearchItems, renderSearchList, } from './SearchItems/SearchItems';
|
|
4
|
-
export { default as SearchButton } from './SearchButton/SearchButton';
|
package/dist/Elements/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { default as default2 } from "./
|
|
1
|
+
import { default as default2 } from "./SearchButton/SearchButton.js";
|
|
2
2
|
import { default as default3 } from "./SearchHeader/SearchHeader.js";
|
|
3
|
-
import { default as default4
|
|
4
|
-
import { default as default6 } from "./
|
|
3
|
+
import { default as default4 } from "./SearchInput/SearchInput.js";
|
|
4
|
+
import { default as default5, default as default6, renderSearchList } from "./SearchItems/SearchItems.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
default2 as SearchButton,
|
|
7
7
|
default3 as SearchHeader,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
default4 as SearchInput,
|
|
9
|
+
default5 as SearchItemList,
|
|
10
|
+
default6 as SearchItems,
|
|
11
11
|
renderSearchList
|
|
12
12
|
};
|
package/dist/Search.js
CHANGED
|
@@ -2,17 +2,17 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef, useState, useEffect } from "react";
|
|
3
3
|
import Scrollbar from "@synerise/ds-scrollbar";
|
|
4
4
|
import { useOnClickOutside, focusWithArrowKeys } from "@synerise/ds-utils";
|
|
5
|
-
import
|
|
5
|
+
import { MENU_WIDTH_OFFSET, SCROLLBAR_HEIGHT_OFFSET, INPUT_EXPAND_ANIMATION_DURATION } from "./const.js";
|
|
6
|
+
import "@synerise/ds-button";
|
|
6
7
|
import "@synerise/ds-icon";
|
|
7
|
-
import "@synerise/ds-tooltip";
|
|
8
8
|
import { SearchWrapper, SearchDropdownWrapper, SearchDropdownContent } from "./Search.styles.js";
|
|
9
|
+
import "@synerise/ds-tooltip";
|
|
10
|
+
import SearchInput from "./Elements/SearchInput/SearchInput.js";
|
|
9
11
|
import "react-window";
|
|
10
12
|
import "@synerise/ds-list-item";
|
|
11
|
-
import "@synerise/ds-button";
|
|
12
13
|
import SearchRenderer from "./Elements/SearchRenderer/SearchRenderer.js";
|
|
13
14
|
import { getAllElementsFiltered, hasSomeElement, getParametersScrollTop, hasSomeElementFiltered } from "./Elements/utils/searchUtils.js";
|
|
14
15
|
import { SelectResultDataKeys } from "./Search.types.js";
|
|
15
|
-
import { MENU_WIDTH_OFFSET, SCROLLBAR_HEIGHT_OFFSET, INPUT_EXPAND_ANIMATION_DURATION } from "./const.js";
|
|
16
16
|
function Search({
|
|
17
17
|
divider,
|
|
18
18
|
dropdownMaxHeight,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default } from './Search';
|
|
2
1
|
export * from './Elements';
|
|
3
|
-
export type { SearchProps, SearchLookupConfig } from './Search.types';
|
|
4
2
|
export type { SearchInputProps } from './Elements/SearchInput/SearchInput.types';
|
|
3
|
+
export { default } from './Search';
|
|
4
|
+
export type { SearchLookupConfig, SearchProps } from './Search.types';
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { default as default2 } from "./Elements/SearchInput/SearchInput.js";
|
|
1
|
+
import { default as default2 } from "./Elements/SearchButton/SearchButton.js";
|
|
3
2
|
import { default as default3 } from "./Elements/SearchHeader/SearchHeader.js";
|
|
4
|
-
import { default as default4
|
|
5
|
-
import { default as default6 } from "./Elements/
|
|
3
|
+
import { default as default4 } from "./Elements/SearchInput/SearchInput.js";
|
|
4
|
+
import { default as default5, default as default6, renderSearchList } from "./Elements/SearchItems/SearchItems.js";
|
|
5
|
+
import { Search } from "./Search.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
default2 as SearchButton,
|
|
8
8
|
default3 as SearchHeader,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
default4 as SearchInput,
|
|
10
|
+
default5 as SearchItemList,
|
|
11
|
+
default6 as SearchItems,
|
|
12
12
|
Search as default,
|
|
13
13
|
renderSearchList
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-search",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "Search UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@synerise/ds-button": "^2.0
|
|
46
|
-
"@synerise/ds-icon": "^2.1.
|
|
47
|
-
"@synerise/ds-list-item": "^2.1.
|
|
48
|
-
"@synerise/ds-scrollbar": "^2.0.
|
|
49
|
-
"@synerise/ds-tooltip": "^2.0.
|
|
50
|
-
"@synerise/ds-utils": "^2.
|
|
45
|
+
"@synerise/ds-button": "^2.1.0",
|
|
46
|
+
"@synerise/ds-icon": "^2.1.3",
|
|
47
|
+
"@synerise/ds-list-item": "^2.1.2",
|
|
48
|
+
"@synerise/ds-scrollbar": "^2.0.4",
|
|
49
|
+
"@synerise/ds-tooltip": "^2.0.5",
|
|
50
|
+
"@synerise/ds-utils": "^2.2.0",
|
|
51
51
|
"react-onclickoutside": "^6.9.0",
|
|
52
52
|
"react-window": "^1.8.11"
|
|
53
53
|
},
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"styled-components": "^5.3.3",
|
|
58
58
|
"vitest": "4"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "5e795fa4fd23f6b07277edb517a84bb9b5b6d256"
|
|
61
61
|
}
|