@entur/dropdown 2.1.2 → 2.2.3

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,35 @@
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
+ ## [2.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.2.2...@entur/dropdown@2.2.3) (2022-02-16)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **dropdown:** add missing styling for truncating searchable dropdown input ([c628982](https://bitbucket.org/enturas/design-system/commits/c628982588035720aab68745c2fbe6f612ec4fde))
11
+
12
+ ## [2.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.2.1...@entur/dropdown@2.2.2) (2022-02-09)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **multiselect:** fix checkboxes bug in multiselect ([5b26980](https://bitbucket.org/enturas/design-system/commits/5b26980596e461621956551ae916bca0e670f695))
17
+ - **multiselect:** fix checkboxes bug in multiselect ([9c59723](https://bitbucket.org/enturas/design-system/commits/9c5972387d693cc83ac8361ee3ace643d9f60959))
18
+
19
+ ## [2.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.2.0...@entur/dropdown@2.2.1) (2022-01-21)
20
+
21
+ **Note:** Version bump only for package @entur/dropdown
22
+
23
+ # [2.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.1.2...@entur/dropdown@2.2.0) (2022-01-05)
24
+
25
+ ### Bug Fixes
26
+
27
+ - **searchable:** adjust position of selected item ([0abed8d](https://bitbucket.org/enturas/design-system/commits/0abed8d3767dead4161d915a71ad94a8f64f600a))
28
+ - **searchable:** align selectedItem with input field ([527e4f4](https://bitbucket.org/enturas/design-system/commits/527e4f4afea961a0f877e81a5b92f4ec0d44f97c))
29
+ - **searchable:** hide placeholder if item is selected ([933a6cb](https://bitbucket.org/enturas/design-system/commits/933a6cb1b4f84346d737b23f36fc9c4252e7ea46))
30
+
31
+ ### Features
32
+
33
+ - **searchable:** improve usability of searchable dropdown ([eb3038f](https://bitbucket.org/enturas/design-system/commits/eb3038fb6fc6db7a55d3cc65541ab1d40a6e87af))
34
+
6
35
  ## [2.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/dropdown@2.1.1...@entur/dropdown@2.1.2) (2021-12-10)
7
36
 
8
37
  **Note:** Version bump only for package @entur/dropdown
@@ -9,6 +9,7 @@ export declare type DownshiftProviderProps = {
9
9
  highlightFirstItemOnOpen?: boolean;
10
10
  className?: string;
11
11
  style?: React.CSSProperties;
12
+ searchable?: boolean;
12
13
  [key: string]: any;
13
14
  };
14
15
  export declare const DownshiftProvider: React.FC<DownshiftProviderProps>;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { NormalizedDropdownItemType } from './useNormalizedItems';
3
+ import './SearchableDropdown.scss';
3
4
  declare type SearchableDropdownProps = {
4
5
  className?: string;
5
6
  disabled?: boolean;