@synerise/ds-search-bar 1.4.17 → 1.4.19
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/README.md +7 -2
- package/package.json +7 -7
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.4.19](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.4.18...@synerise/ds-search-bar@1.4.19) (2026-03-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
9
|
+
|
|
10
|
+
## [1.4.18](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.4.17...@synerise/ds-search-bar@1.4.18) (2026-03-09)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @synerise/ds-search-bar
|
|
13
|
+
|
|
6
14
|
## [1.4.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@1.4.16...@synerise/ds-search-bar@1.4.17) (2026-02-23)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @synerise/ds-search-bar
|
package/README.md
CHANGED
|
@@ -11,6 +11,8 @@ SearchBar UI Component
|
|
|
11
11
|
npm i @synerise/ds-search-bar
|
|
12
12
|
or
|
|
13
13
|
yarn add @synerise/ds-search-bar
|
|
14
|
+
or
|
|
15
|
+
pnpm add @synerise/ds-search-bar
|
|
14
16
|
```
|
|
15
17
|
|
|
16
18
|
## Usage
|
|
@@ -35,9 +37,12 @@ import SearchBar from '@synerise/ds-search-bar'
|
|
|
35
37
|
| clearTooltip | Tooltip description above clear button | string / React.ReactNode | - |
|
|
36
38
|
| disabled | Whether the input is disabled. | boolean | - |
|
|
37
39
|
| iconLeft | Place for optional icon on the left side | React.ReactNode | - |
|
|
38
|
-
| onSearchChange | Callback when user input | () => void
|
|
40
|
+
| onSearchChange | Callback when user input | (value: string) => void | - |
|
|
39
41
|
| onClearInput | Callback when user press clear button | () => void | - |
|
|
40
42
|
| placeholder | Placeholder | React.ReactNode | - |
|
|
41
43
|
| value | The input content value | string | - |
|
|
42
|
-
| autofocusDelay | Delay (ms) of the focus on search input | number |
|
|
44
|
+
| autofocusDelay | Delay (ms) of the focus on search input | number | - |
|
|
45
|
+
| borderRadius | Adds 3px border-radius to the wrapper | boolean | - |
|
|
46
|
+
| clearTooltipProps | Extra props for the clear icon tooltip | Partial\<TooltipProps\> | - |
|
|
47
|
+
| handleInputRef | Callback to access the inner input element | (ref: MutableRefObject\<HTMLInputElement \| null\>) => void | - |
|
|
43
48
|
| valuePrefix | An element displayed before the value | ReactNode | - |
|
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.19",
|
|
4
4
|
"description": "SearchBar UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
],
|
|
36
36
|
"types": "dist/index.d.ts",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@synerise/ds-icon": "^1.
|
|
39
|
-
"@synerise/ds-input": "^1.6.
|
|
40
|
-
"@synerise/ds-tooltip": "^1.4.
|
|
41
|
-
"@synerise/ds-typography": "^1.1.
|
|
42
|
-
"@synerise/ds-utils": "^1.
|
|
38
|
+
"@synerise/ds-icon": "^1.15.0",
|
|
39
|
+
"@synerise/ds-input": "^1.6.9",
|
|
40
|
+
"@synerise/ds-tooltip": "^1.4.9",
|
|
41
|
+
"@synerise/ds-typography": "^1.1.12",
|
|
42
|
+
"@synerise/ds-utils": "^1.7.0",
|
|
43
43
|
"classnames": "^2.5.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
49
49
|
"styled-components": "^5.3.3"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "8efc031fa688c0b87c7b3915bae93546bb63bcac"
|
|
52
52
|
}
|