@synerise/ds-search-bar 1.4.0 → 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 CHANGED
@@ -3,164 +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.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)
7
-
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)
8
7
 
9
- ### Features
8
+ **Note:** Version bump only for package @synerise/ds-search-bar
10
9
 
11
- * **dropdown:** dropdownMenu component ([f0ec827](https://github.com/Synerise/synerise-design/commit/f0ec82792cdcb021fa9a454912f6e7a892e53895))
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)
12
11
 
12
+ **Note:** Version bump only for package @synerise/ds-search-bar
13
13
 
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)
14
15
 
16
+ ### Features
15
17
 
18
+ - **dropdown:** dropdownMenu component ([f0ec827](https://github.com/Synerise/synerise-design/commit/f0ec82792cdcb021fa9a454912f6e7a892e53895))
16
19
 
17
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)
18
21
 
19
22
  **Note:** Version bump only for package @synerise/ds-search-bar
20
23
 
21
-
22
-
23
-
24
-
25
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)
26
25
 
27
26
  **Note:** Version bump only for package @synerise/ds-search-bar
28
27
 
29
-
30
-
31
-
32
-
33
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)
34
29
 
35
-
36
30
  ### Bug Fixes
37
31
 
38
- * **tags:** adjust tags to table requirements ([fe1aa4d](https://github.com/Synerise/synerise-design/commit/fe1aa4d00f8ad95fb191f866b548af72863a8963))
39
-
40
-
41
-
42
-
32
+ - **tags:** adjust tags to table requirements ([fe1aa4d](https://github.com/Synerise/synerise-design/commit/fe1aa4d00f8ad95fb191f866b548af72863a8963))
43
33
 
44
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)
45
35
 
46
36
  **Note:** Version bump only for package @synerise/ds-search-bar
47
37
 
48
-
49
-
50
-
51
-
52
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)
53
39
 
54
40
  **Note:** Version bump only for package @synerise/ds-search-bar
55
41
 
56
-
57
-
58
-
59
-
60
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)
61
43
 
62
44
  **Note:** Version bump only for package @synerise/ds-search-bar
63
45
 
64
-
65
-
66
-
67
-
68
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)
69
47
 
70
48
  **Note:** Version bump only for package @synerise/ds-search-bar
71
49
 
72
-
73
-
74
-
75
-
76
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)
77
51
 
78
52
  **Note:** Version bump only for package @synerise/ds-search-bar
79
53
 
80
-
81
-
82
-
83
-
84
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)
85
55
 
86
56
  **Note:** Version bump only for package @synerise/ds-search-bar
87
57
 
88
-
89
-
90
-
91
-
92
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)
93
59
 
94
60
  **Note:** Version bump only for package @synerise/ds-search-bar
95
61
 
96
-
97
-
98
-
99
-
100
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)
101
63
 
102
64
  **Note:** Version bump only for package @synerise/ds-search-bar
103
65
 
104
-
105
-
106
-
107
-
108
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)
109
67
 
110
68
  **Note:** Version bump only for package @synerise/ds-search-bar
111
69
 
112
-
113
-
114
-
115
-
116
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)
117
71
 
118
72
  **Note:** Version bump only for package @synerise/ds-search-bar
119
73
 
120
-
121
-
122
-
123
-
124
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)
125
75
 
126
76
  **Note:** Version bump only for package @synerise/ds-search-bar
127
77
 
128
-
129
-
130
-
131
-
132
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)
133
79
 
134
80
  **Note:** Version bump only for package @synerise/ds-search-bar
135
81
 
136
-
137
-
138
-
139
-
140
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)
141
83
 
142
84
  **Note:** Version bump only for package @synerise/ds-search-bar
143
85
 
144
-
145
-
146
-
147
-
148
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)
149
87
 
150
88
  **Note:** Version bump only for package @synerise/ds-search-bar
151
89
 
152
-
153
-
154
-
155
-
156
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)
157
91
 
158
92
  **Note:** Version bump only for package @synerise/ds-search-bar
159
93
 
160
-
161
-
162
-
163
-
164
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)
165
95
 
166
96
  **Note:** Version bump only for package @synerise/ds-search-bar
@@ -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: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
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.0",
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": "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,10 +35,11 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-icon": "^1.8.0",
39
- "@synerise/ds-input": "^1.5.0",
40
- "@synerise/ds-tooltip": "^1.3.0",
41
- "@synerise/ds-utils": "^1.5.0",
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": "cbbb7d9f155735bcc4035d8fd8a7813878d6e051"
51
+ "gitHead": "b1279d5354132a2bf0b6f0cfa343db4c6c928f72"
51
52
  }