@edvisor/product-language 0.11.76 → 0.11.78

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,10 +1,10 @@
1
1
  /// <reference types="react" />
2
- import { Props as ReactSelectProps } from 'react-select';
2
+ import { Props as ReactSelectProps } from 'react-select-v5';
3
3
  export interface IReactSelectOption {
4
4
  label: string;
5
5
  value: string | number;
6
6
  }
7
- export type { Props as ReactSelectProps, StylesConfig, GroupBase, OptionProps, SingleValueProps, MultiValueProps, ControlProps, MenuProps, OptionsOrGroups, OnChangeValue, ActionMeta, InputActionMeta, MenuPlacement, MenuPosition } from 'react-select';
7
+ export type { Props as ReactSelectProps, StylesConfig, GroupBase, OptionProps, SingleValueProps, MultiValueProps, ControlProps, MenuProps, OptionsOrGroups, OnChangeValue, ActionMeta, InputActionMeta, MenuPlacement, MenuPosition } from 'react-select-v5';
8
8
  export interface IReactSelectProps<Option = unknown, IsMulti extends boolean = boolean> extends Omit<ReactSelectProps<Option, IsMulti>, never> {
9
9
  showMagnifyingGlass?: boolean;
10
10
  }
@@ -1,4 +1,4 @@
1
- import { GroupBase, StylesConfig } from 'react-select';
1
+ import { GroupBase, StylesConfig } from 'react-select-v5';
2
2
  import { FC } from '@helpers';
3
3
  export interface ISelectOption {
4
4
  value: string;
@@ -30,5 +30,6 @@ export interface ISelectWithGroupsProps {
30
30
  inputValue: string;
31
31
  }) => string;
32
32
  menuPlacement?: 'auto' | 'bottom' | 'top';
33
+ isMulti?: boolean;
33
34
  }
34
35
  export declare const SelectWithGroups: FC<ISelectWithGroupsProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edvisor/product-language",
3
- "version": "0.11.76",
3
+ "version": "0.11.78",
4
4
  "license": "MIT",
5
5
  "description": "Edvisor.io product-language components",
6
6
  "repository": "https://github.com/edvisor-io/front-end/",
@@ -25,6 +25,7 @@
25
25
  "lodash": "^4.17.21",
26
26
  "react-compound-slider": "^3.4.0",
27
27
  "react-multi-date-picker": "^3.3.4",
28
+ "react-select-v5": "npm:react-select@^5.10.2",
28
29
  "react-window": "^1.8.8",
29
30
  "recharts": "^2.1.16"
30
31
  },
@@ -35,8 +36,7 @@
35
36
  "release": "*",
36
37
  "storybook": "*",
37
38
  "styled-components": "*",
38
- "react-markdown": "^5.0.3",
39
- "react-select": "^5.10.2"
39
+ "react-markdown": "^5.0.3"
40
40
  },
41
41
  "release-it": {
42
42
  "git": {