@synerise/ds-search-bar 1.4.1 → 1.4.2
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 +5 -83
- package/dist/SearchBar.d.ts +1 -1
- package/dist/SearchBar.styles.d.ts +2 -18
- package/dist/SearchBar.types.d.ts +4 -2
- package/dist/index.d.ts +1 -1
- package/package.json +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,172 +3,94 @@
|
|
|
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.
|
|
6
|
+
## [1.4.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.4.1...@synerise/ds-search-bar@1.4.2) (2025-12-15)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
9
9
|
|
|
10
|
+
## [1.4.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.4.0...@synerise/ds-search-bar@1.4.1) (2025-11-28)
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
13
13
|
|
|
14
14
|
# [1.4.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.19...@synerise/ds-search-bar@1.4.0) (2025-11-06)
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
### Features
|
|
18
17
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
- **dropdown:** dropdownMenu component ([f0ec827](https://github.com/Synerise/synerise-design/commit/f0ec82792cdcb021fa9a454912f6e7a892e53895))
|
|
24
19
|
|
|
25
20
|
## [1.3.19](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.18...@synerise/ds-search-bar@1.3.19) (2025-10-31)
|
|
26
21
|
|
|
27
22
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
28
23
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
24
|
## [1.3.18](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.17...@synerise/ds-search-bar@1.3.18) (2025-10-22)
|
|
34
25
|
|
|
35
26
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
36
27
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
28
|
## [1.3.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.16...@synerise/ds-search-bar@1.3.17) (2025-10-16)
|
|
42
29
|
|
|
43
|
-
|
|
44
30
|
### Bug Fixes
|
|
45
31
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
32
|
+
- **tags:** adjust tags to table requirements ([fe1aa4d](https://github.com/Synerise/synerise-design/commit/fe1aa4d00f8ad95fb191f866b548af72863a8963))
|
|
51
33
|
|
|
52
34
|
## [1.3.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.15...@synerise/ds-search-bar@1.3.16) (2025-10-10)
|
|
53
35
|
|
|
54
36
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
55
37
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
38
|
## [1.3.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.14...@synerise/ds-search-bar@1.3.15) (2025-10-03)
|
|
61
39
|
|
|
62
40
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
63
41
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
42
|
## [1.3.14](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.13...@synerise/ds-search-bar@1.3.14) (2025-09-25)
|
|
69
43
|
|
|
70
44
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
71
45
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
46
|
## [1.3.13](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.12...@synerise/ds-search-bar@1.3.13) (2025-09-23)
|
|
77
47
|
|
|
78
48
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
79
49
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
50
|
## [1.3.12](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.11...@synerise/ds-search-bar@1.3.12) (2025-09-19)
|
|
85
51
|
|
|
86
52
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
87
53
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
54
|
## [1.3.11](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.10...@synerise/ds-search-bar@1.3.11) (2025-09-16)
|
|
93
55
|
|
|
94
56
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
95
57
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
58
|
## [1.3.10](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.9...@synerise/ds-search-bar@1.3.10) (2025-08-28)
|
|
101
59
|
|
|
102
60
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
103
61
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
62
|
## [1.3.9](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.8...@synerise/ds-search-bar@1.3.9) (2025-08-14)
|
|
109
63
|
|
|
110
64
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
111
65
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
66
|
## [1.3.8](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.7...@synerise/ds-search-bar@1.3.8) (2025-07-24)
|
|
117
67
|
|
|
118
68
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
119
69
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
70
|
## [1.3.7](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.6...@synerise/ds-search-bar@1.3.7) (2025-07-17)
|
|
125
71
|
|
|
126
72
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
127
73
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
74
|
## [1.3.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.5...@synerise/ds-search-bar@1.3.6) (2025-07-15)
|
|
133
75
|
|
|
134
76
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
135
77
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
78
|
## [1.3.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.4...@synerise/ds-search-bar@1.3.5) (2025-07-08)
|
|
141
79
|
|
|
142
80
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
143
81
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
82
|
## [1.3.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.3...@synerise/ds-search-bar@1.3.4) (2025-07-01)
|
|
149
83
|
|
|
150
84
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
151
85
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
86
|
## [1.3.3](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.2...@synerise/ds-search-bar@1.3.3) (2025-06-26)
|
|
157
87
|
|
|
158
88
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
159
89
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
90
|
## [1.3.2](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.1...@synerise/ds-search-bar@1.3.2) (2025-06-24)
|
|
165
91
|
|
|
166
92
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
167
93
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
94
|
## [1.3.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.3.0...@synerise/ds-search-bar@1.3.1) (2025-06-12)
|
|
173
95
|
|
|
174
96
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
package/dist/SearchBar.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const SearchBar: React.ForwardRefExoticComponent<Pick<import("@synerise/ds-input").InputProps, "handleInputRef"
|
|
2
|
+
declare const SearchBar: React.ForwardRefExoticComponent<Partial<Pick<import("@synerise/ds-input").InputProps, "handleInputRef">> & {
|
|
3
3
|
onSearchChange: (value: string) => void;
|
|
4
4
|
onClearInput?: () => void;
|
|
5
5
|
placeholder: React.ReactNode;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type StyledInput } from '@synerise/ds-input';
|
|
1
2
|
export declare const IconLeftWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
3
|
export declare const ValuePrefixWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
4
|
export declare const ValuePrefixTitle: import("styled-components").StyledComponent<({ level, withoutMargin, children, className, ellipsis, ...antdProps }: import("@synerise/ds-typography/dist/Title.types").Props) => React.JSX.Element, any, {}, never>;
|
|
@@ -5,24 +6,7 @@ export declare const ClearInputWrapper: import("styled-components").StyledCompon
|
|
|
5
6
|
export declare const PlaceholderWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
6
7
|
valuePrefixWidth: number;
|
|
7
8
|
}, never>;
|
|
8
|
-
export declare const SearchBar:
|
|
9
|
-
error?: boolean;
|
|
10
|
-
className?: string;
|
|
11
|
-
counterLimit?: number;
|
|
12
|
-
renderCustomCounter?: (count?: number) => React.ReactNode;
|
|
13
|
-
icon1?: React.ReactElement;
|
|
14
|
-
icon1Tooltip?: React.ReactElement;
|
|
15
|
-
icon2?: React.ReactElement;
|
|
16
|
-
icon2Tooltip?: React.ReactElement;
|
|
17
|
-
resetMargin?: boolean;
|
|
18
|
-
handleInputRef?: ((ref: React.MutableRefObject<HTMLInputElement | null>) => void) | undefined;
|
|
19
|
-
prefixel?: React.ReactNode;
|
|
20
|
-
suffixel?: React.ReactNode;
|
|
21
|
-
autoResize?: import("@synerise/ds-input").AutoResizeProp;
|
|
22
|
-
autoResizeProps?: Partial<Pick<import("@synerise/ds-input").AutosizeInputProps, "placeholderIsMinWidth" | "wrapperClassName" | "wrapperStyle" | "extraWidth">>;
|
|
23
|
-
expandable?: boolean;
|
|
24
|
-
expandableTooltip?: React.ReactNode;
|
|
25
|
-
} & Omit<import("@synerise/ds-form-field").ContentAboveProps, "id" | "rightSide"> & import("@synerise/ds-form-field").ContentBelowProps & import("antd/lib/input").InputProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
9
|
+
export declare const SearchBar: StyledInput;
|
|
26
10
|
export declare const SearchBarWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
27
11
|
iconLeft: React.ReactNode;
|
|
28
12
|
isEmpty: boolean;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
1
|
+
import type { ForwardRefExoticComponent, ReactNode, RefAttributes } from 'react';
|
|
2
|
+
import { type StyledComponent } from 'styled-components';
|
|
2
3
|
import type { InputProps } from '@synerise/ds-input';
|
|
3
4
|
import type { TooltipProps } from '@synerise/ds-tooltip';
|
|
4
5
|
import type { WithHTMLAttributes } from '@synerise/ds-utils';
|
|
5
|
-
export type SearchBarProps = WithHTMLAttributes<HTMLDivElement, Pick<InputProps, 'handleInputRef'
|
|
6
|
+
export type SearchBarProps = WithHTMLAttributes<HTMLDivElement, Partial<Pick<InputProps, 'handleInputRef'>> & {
|
|
6
7
|
onSearchChange: (value: string) => void;
|
|
7
8
|
onClearInput?: () => void;
|
|
8
9
|
placeholder: ReactNode;
|
|
@@ -16,3 +17,4 @@ export type SearchBarProps = WithHTMLAttributes<HTMLDivElement, Pick<InputProps,
|
|
|
16
17
|
clearTooltipProps?: Partial<TooltipProps>;
|
|
17
18
|
valuePrefix?: ReactNode;
|
|
18
19
|
}>;
|
|
20
|
+
export type StyledSearchBar<CustomProps extends object = object> = StyledComponent<ForwardRefExoticComponent<SearchBarProps & RefAttributes<HTMLDivElement>>, object, CustomProps, never>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from './SearchBar';
|
|
2
|
-
export type { SearchBarProps } from './SearchBar.types';
|
|
2
|
+
export type { SearchBarProps, StyledSearchBar } from './SearchBar.types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-search-bar",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "SearchBar 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": "
|
|
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,10 +35,11 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-icon": "^1.9.
|
|
39
|
-
"@synerise/ds-input": "^1.5.
|
|
40
|
-
"@synerise/ds-tooltip": "^1.3.
|
|
41
|
-
"@synerise/ds-
|
|
38
|
+
"@synerise/ds-icon": "^1.9.1",
|
|
39
|
+
"@synerise/ds-input": "^1.5.2",
|
|
40
|
+
"@synerise/ds-tooltip": "^1.3.2",
|
|
41
|
+
"@synerise/ds-typography": "^1.0.25",
|
|
42
|
+
"@synerise/ds-utils": "^1.5.1",
|
|
42
43
|
"classnames": "^2.5.1"
|
|
43
44
|
},
|
|
44
45
|
"peerDependencies": {
|
|
@@ -47,5 +48,5 @@
|
|
|
47
48
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
48
49
|
"styled-components": "^5.3.3"
|
|
49
50
|
},
|
|
50
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "b1279d5354132a2bf0b6f0cfa343db4c6c928f72"
|
|
51
52
|
}
|