@synerise/ds-search-bar 0.6.94 → 0.6.95

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,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
+ ## [0.6.95](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@0.6.94...@synerise/ds-search-bar@0.6.95) (2024-10-28)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-search-bar
9
+
10
+
11
+
12
+
13
+
6
14
  ## [0.6.94](https://github.com/Synerise/synerise-design/compare/@synerise/ds-search-bar@0.6.93...@synerise/ds-search-bar@0.6.94) (2024-10-23)
7
15
 
8
16
  **Note:** Version bump only for package @synerise/ds-search-bar
package/dist/SearchBar.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import React, { useEffect, useState } from 'react';
2
+ import { FormattedMessage } from 'react-intl';
2
3
  import Icon, { Close3M } from '@synerise/ds-icon';
3
4
  import { theme } from '@synerise/ds-core';
4
5
  import Tooltip from '@synerise/ds-tooltip';
5
- import { FormattedMessage } from 'react-intl';
6
6
  import * as S from './SearchBar.styles';
7
7
 
8
8
  var SearchBar = function SearchBar(_ref) {
@@ -1,15 +1,15 @@
1
- import React from 'react';
2
- import { InputProps } from '@synerise/ds-input';
3
- export interface SearchBarProps extends Pick<InputProps, 'handleInputRef'> {
1
+ import type { ReactNode } from 'react';
2
+ import type { InputProps } from '@synerise/ds-input';
3
+ export type SearchBarProps = Pick<InputProps, 'handleInputRef'> & {
4
4
  onSearchChange: (value: string) => void;
5
5
  onClearInput?: () => void;
6
6
  placeholder: string;
7
7
  className?: string;
8
- clearTooltip?: string | React.ReactNode;
8
+ clearTooltip?: ReactNode;
9
9
  value: string;
10
- iconLeft?: React.ReactNode;
10
+ iconLeft?: ReactNode;
11
11
  autofocus?: boolean;
12
12
  autofocusDelay?: number;
13
13
  disabled?: boolean;
14
- borderRadius?: boolean | undefined;
15
- }
14
+ borderRadius?: boolean;
15
+ };
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export { default } from './SearchBar';
2
+ export type { SearchBarProps } from './SearchBar.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-search-bar",
3
- "version": "0.6.94",
3
+ "version": "0.6.95",
4
4
  "description": "SearchBar UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "Synerise/synerise-design",
@@ -34,10 +34,10 @@
34
34
  ],
35
35
  "types": "dist/index.d.ts",
36
36
  "dependencies": {
37
- "@synerise/ds-icon": "^0.66.0",
38
- "@synerise/ds-input": "^0.24.9",
39
- "@synerise/ds-tooltip": "^0.14.44",
40
- "@synerise/ds-utils": "^0.30.0",
37
+ "@synerise/ds-icon": "^0.66.1",
38
+ "@synerise/ds-input": "^0.24.10",
39
+ "@synerise/ds-tooltip": "^0.14.45",
40
+ "@synerise/ds-utils": "^0.30.1",
41
41
  "react-intl": "3.12.0"
42
42
  },
43
43
  "peerDependencies": {
@@ -45,5 +45,5 @@
45
45
  "react": ">=16.9.0 <= 17.0.2",
46
46
  "styled-components": "5.0.1"
47
47
  },
48
- "gitHead": "c45f411bd0eac69ae70b6c948da1c530539b01d6"
48
+ "gitHead": "fbadaa2299668c527b52ecc66d61fc2165528bff"
49
49
  }