@map-colonies/react-components 4.8.0 → 4.8.1

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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { GroupBase, StylesConfig } from 'react-select';
2
+ import { GroupBase, StylesConfig as rcStylesConfig } from 'react-select';
3
3
  export type MultiSelectOption = {
4
4
  value: string;
5
5
  label: string;
@@ -11,7 +11,8 @@ interface IPropsMultiSelection {
11
11
  values?: MultiSelectOption[];
12
12
  onChange?: (data: any) => void;
13
13
  placeholder?: string;
14
- styles?: StylesConfig<unknown, false, GroupBase<unknown>>;
14
+ styles?: StylesConfig;
15
15
  }
16
16
  export declare const MultiSelection: (props: IPropsMultiSelection) => React.JSX.Element;
17
- export default MultiSelection;
17
+ export type StylesConfig = rcStylesConfig<unknown, false, GroupBase<unknown>> | undefined;
18
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@map-colonies/react-components",
3
- "version": "4.8.0",
3
+ "version": "4.8.1",
4
4
  "main": "./dist/@map-colonies/react-components.umd.js",
5
5
  "module": "./dist/@map-colonies/react-components.es.js",
6
6
  "types": "./dist/index.d.ts",
@@ -73,5 +73,5 @@
73
73
  "files": [
74
74
  "dist"
75
75
  ],
76
- "gitHead": "0a4eeb11d90bedd49ca6cd2b55e60c373fbad936"
76
+ "gitHead": "a7c6229ccc82f0d6744f9653d5a31792c56d667a"
77
77
  }