@synerise/ds-search 1.1.3 → 1.1.4
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 +8 -0
- package/dist/Search.d.ts +0 -1
- package/dist/Search.js +1 -4
- package/dist/Search.styles.js +1 -4
- package/dist/const.d.ts +7 -0
- package/dist/const.js +7 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.1.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.1.3...@synerise/ds-search@1.1.4) (2025-05-07)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-search
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.1.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search@1.1.2...@synerise/ds-search@1.1.3) (2025-04-24)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-search
|
package/dist/Search.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './style/index.less';
|
|
3
3
|
import { SearchProps, SearchState, SelectResultDataKeys, AnyObject } from './Search.types';
|
|
4
|
-
export declare const INPUT_EXPAND_ANIMATION_DURATION = 100;
|
|
5
4
|
declare class Search extends React.PureComponent<SearchProps<AnyObject, AnyObject>, SearchState<AnyObject>> {
|
|
6
5
|
private wrapperRef;
|
|
7
6
|
constructor(props: SearchProps<AnyObject, AnyObject>);
|
package/dist/Search.js
CHANGED
|
@@ -10,10 +10,7 @@ import { hasSomeElement, getAllElementsFiltered, hasSomeElementFiltered } from '
|
|
|
10
10
|
import * as S from './Search.styles';
|
|
11
11
|
import { SelectResultDataKeys } from './Search.types';
|
|
12
12
|
import { SearchHeader, SearchInput, SearchItems } from './Elements';
|
|
13
|
-
|
|
14
|
-
export var INPUT_EXPAND_ANIMATION_DURATION = 100;
|
|
15
|
-
var SCROLLBAR_HEIGHT_OFFSET = 28;
|
|
16
|
-
var LIST_HEADER_HEIGHT = 42;
|
|
13
|
+
import { LIST_HEADER_HEIGHT, MENU_WIDTH_OFFSET, INPUT_EXPAND_ANIMATION_DURATION, SCROLLBAR_HEIGHT_OFFSET } from './const';
|
|
17
14
|
var getParametersScrollTop = function getParametersScrollTop(_ref) {
|
|
18
15
|
var scrollTop = _ref.scrollTop,
|
|
19
16
|
rowHeight = _ref.rowHeight,
|
package/dist/Search.styles.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import styled, { keyframes } from 'styled-components';
|
|
2
|
-
import {
|
|
3
|
-
var LABEL_LEFT_OFFSET = 7;
|
|
4
|
-
var ANIMATION_DURATION = INPUT_EXPAND_ANIMATION_DURATION / 1000;
|
|
5
|
-
var MAX_FILTER_WIDTH = 120;
|
|
2
|
+
import { ANIMATION_DURATION, LABEL_LEFT_OFFSET, MAX_FILTER_WIDTH } from './const';
|
|
6
3
|
export var openDropdownAnimation = keyframes(["0%{opacity:0;overflow:hidden;}50%{opacity:0;overflow:hidden;}100%{opacity:1;}"]);
|
|
7
4
|
export var SearchInputWrapper = styled.div.withConfig({
|
|
8
5
|
displayName: "Searchstyles__SearchInputWrapper",
|
package/dist/const.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const MENU_WIDTH_OFFSET = 17;
|
|
2
|
+
export declare const INPUT_EXPAND_ANIMATION_DURATION = 100;
|
|
3
|
+
export declare const SCROLLBAR_HEIGHT_OFFSET = 28;
|
|
4
|
+
export declare const LIST_HEADER_HEIGHT = 42;
|
|
5
|
+
export declare const LABEL_LEFT_OFFSET = 7;
|
|
6
|
+
export declare const ANIMATION_DURATION: number;
|
|
7
|
+
export declare const MAX_FILTER_WIDTH = 120;
|
package/dist/const.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export var MENU_WIDTH_OFFSET = 17;
|
|
2
|
+
export var INPUT_EXPAND_ANIMATION_DURATION = 100;
|
|
3
|
+
export var SCROLLBAR_HEIGHT_OFFSET = 28;
|
|
4
|
+
export var LIST_HEADER_HEIGHT = 42;
|
|
5
|
+
export var LABEL_LEFT_OFFSET = 7;
|
|
6
|
+
export var ANIMATION_DURATION = INPUT_EXPAND_ANIMATION_DURATION / 1000;
|
|
7
|
+
export var MAX_FILTER_WIDTH = 120;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-search",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Search UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -34,12 +34,12 @@
|
|
|
34
34
|
],
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-button": "^1.
|
|
38
|
-
"@synerise/ds-icon": "^1.4.
|
|
39
|
-
"@synerise/ds-menu": "^1.0.
|
|
40
|
-
"@synerise/ds-scrollbar": "^1.0.
|
|
41
|
-
"@synerise/ds-tooltip": "^1.1.
|
|
42
|
-
"@synerise/ds-utils": "^1.0
|
|
37
|
+
"@synerise/ds-button": "^1.2.0",
|
|
38
|
+
"@synerise/ds-icon": "^1.4.2",
|
|
39
|
+
"@synerise/ds-menu": "^1.0.7",
|
|
40
|
+
"@synerise/ds-scrollbar": "^1.0.7",
|
|
41
|
+
"@synerise/ds-tooltip": "^1.1.6",
|
|
42
|
+
"@synerise/ds-utils": "^1.1.0",
|
|
43
43
|
"react-onclickoutside": "^6.9.0",
|
|
44
44
|
"react-window": "^1.8.5"
|
|
45
45
|
},
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"react": ">=16.9.0 <= 18.3.1",
|
|
50
50
|
"styled-components": "^5.3.3"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "90af7549cf0f556340bdd0deec4bb59bacf3e95e"
|
|
53
53
|
}
|