@entur/dropdown 5.2.0 → 5.3.0

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/dist/index.d.ts CHANGED
@@ -5,3 +5,4 @@ export * from './SearchableDropdown';
5
5
  export * from './MultiSelect';
6
6
  export * from './Dropdown';
7
7
  export * from './NativeDropdown';
8
+ export * from './types';
package/dist/styles.css CHANGED
@@ -1,3 +1,10 @@
1
+ .eds-inline-spinner {
2
+ align-items: center;
3
+ display: flex;
4
+ justify-content: center;
5
+ height: 100%;
6
+ width: 100%;
7
+ }
1
8
  /* DO NOT CHANGE!*/
2
9
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
10
  .eds-dropdown__searchable-selected-item {
@@ -81,13 +88,6 @@
81
88
  .eds-contrast .eds-form-control-wrapper--disabled .eds-dropdown__divider {
82
89
  background-color: #8285a8;
83
90
  }
84
- .eds-inline-spinner {
85
- align-items: center;
86
- display: flex;
87
- justify-content: center;
88
- height: 100%;
89
- width: 100%;
90
- }
91
91
  /* DO NOT CHANGE!*/
92
92
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
93
93
  .eds-dropdown-list {
package/dist/utils.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { A11yRemovalMessage, A11yStatusMessageOptions } from 'downshift';
2
2
  import { NormalizedDropdownItemType } from './types';
3
- import React from 'react';
4
3
  export declare const EMPTY_INPUT = "";
5
4
  export declare function lowerCaseFilterTest(item: NormalizedDropdownItemType<any>, input: string | undefined): boolean;
6
5
  export declare function noFilter<ValueType>(item: NormalizedDropdownItemType<ValueType>, input: string | undefined): boolean;
@@ -43,8 +42,4 @@ type getA11yRemovalMessageType<Item> = A11yRemovalMessage<Item> & {
43
42
  removedItem?: NormalizedDropdownItemType<any>;
44
43
  };
45
44
  export declare function getA11yRemovalMessage(options: getA11yRemovalMessageType<NormalizedDropdownItemType<any>>): string;
46
- /**A VoiceOver click is always preformed in the center of the clicked element.
47
- This functions expolits that to check if the performed click likely is
48
- made by VoiceOver. */
49
- export declare const isVoiceOverClick: (clickEvent: React.MouseEvent) => boolean;
50
45
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/dropdown",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/dropdown.esm.js",
@@ -27,17 +27,17 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.75",
31
- "@entur/button": "^3.2.10",
32
- "@entur/chip": "^0.6.65",
33
- "@entur/form": "^7.0.37",
34
- "@entur/icons": "^6.15.0",
35
- "@entur/loader": "^0.4.54",
36
- "@entur/tokens": "^3.12.0",
37
- "@entur/tooltip": "^2.6.46",
30
+ "@entur/a11y": "^0.2.76",
31
+ "@entur/button": "^3.2.11",
32
+ "@entur/chip": "^0.6.66",
33
+ "@entur/form": "^7.0.38",
34
+ "@entur/icons": "^6.15.1",
35
+ "@entur/loader": "^0.4.55",
36
+ "@entur/tokens": "^3.13.0",
37
+ "@entur/tooltip": "^2.6.47",
38
38
  "@entur/utils": "^0.10.0",
39
39
  "classnames": "^2.3.1",
40
- "downshift": "^7.6.1"
40
+ "downshift": "^8.3.3"
41
41
  },
42
- "gitHead": "9e39bec18ebcbc0ea7b8c07239646eb766c8e23a"
42
+ "gitHead": "907373a47cc81ae12be266bac1d10522033f8b49"
43
43
  }