@commercetools-uikit/select-input 15.8.0 → 15.10.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.
@@ -258,7 +258,7 @@ SelectInput.ValueContainer = Select.components.ValueContainer;
258
258
  var SelectInput$1 = SelectInput;
259
259
 
260
260
  // NOTE: This string will be replaced on build time with the package version.
261
- var version = "15.8.0";
261
+ var version = "15.10.0";
262
262
 
263
263
  exports["default"] = SelectInput$1;
264
264
  exports.version = version;
@@ -237,7 +237,7 @@ SelectInput.ValueContainer = Select.components.ValueContainer;
237
237
  var SelectInput$1 = SelectInput;
238
238
 
239
239
  // NOTE: This string will be replaced on build time with the package version.
240
- var version = "15.8.0";
240
+ var version = "15.10.0";
241
241
 
242
242
  exports["default"] = SelectInput$1;
243
243
  exports.version = version;
@@ -235,6 +235,6 @@ SelectInput.ValueContainer = components.ValueContainer;
235
235
  var SelectInput$1 = SelectInput;
236
236
 
237
237
  // NOTE: This string will be replaced on build time with the package version.
238
- var version = "15.8.0";
238
+ var version = "15.10.0";
239
239
 
240
240
  export { SelectInput$1 as default, version };
@@ -1,14 +1,14 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import { type Props as ReactSelectProps } from 'react-select';
3
- declare type TOption = {
3
+ type TOption = {
4
4
  value: string;
5
5
  label?: ReactNode;
6
6
  };
7
- declare type TOptionObject = {
7
+ type TOptionObject = {
8
8
  options: TOption[];
9
9
  };
10
- declare type TOptions = TOption[] | TOptionObject[];
11
- declare type TCustomEvent = {
10
+ type TOptions = TOption[] | TOptionObject[];
11
+ type TCustomEvent = {
12
12
  target: {
13
13
  id?: ReactSelectProps['inputId'];
14
14
  name?: ReactSelectProps['name'];
@@ -16,7 +16,7 @@ declare type TCustomEvent = {
16
16
  };
17
17
  persist: () => void;
18
18
  };
19
- declare type TSelectInputProps = {
19
+ type TSelectInputProps = {
20
20
  horizontalConstraint?: 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 'scale' | 'auto';
21
21
  hasError?: boolean;
22
22
  isReadOnly?: boolean;
@@ -95,7 +95,7 @@ declare const SelectInput: {
95
95
  };
96
96
  Menu: <Option_9, IsMulti_9 extends boolean, Group_9 extends import("react-select").GroupBase<Option_9>>(props: import("react-select").MenuProps<Option_9, IsMulti_9, Group_9>) => import("@emotion/react").jsx.JSX.Element;
97
97
  MenuList: <Option_10, IsMulti_10 extends boolean, Group_10 extends import("react-select").GroupBase<Option_10>>(props: import("react-select").MenuListProps<Option_10, IsMulti_10, Group_10>) => import("@emotion/react").jsx.JSX.Element;
98
- MenuPortal: <Option_11, IsMulti_11 extends boolean, Group_11 extends import("react-select").GroupBase<Option_11>>({ appendTo, children, className, controlElement, cx, innerProps, menuPlacement, menuPosition, getStyles, }: import("react-select/dist/declarations/src/components/Menu").MenuPortalProps<Option_11, IsMulti_11, Group_11>) => import("@emotion/react").jsx.JSX.Element | null;
98
+ MenuPortal: <Option_11, IsMulti_11 extends boolean, Group_11 extends import("react-select").GroupBase<Option_11>>(props: import("react-select/dist/declarations/src/components/Menu").MenuPortalProps<Option_11, IsMulti_11, Group_11>) => import("@emotion/react").jsx.JSX.Element | null;
99
99
  MultiValue: <Option_14, IsMulti_14 extends boolean, Group_14 extends import("react-select").GroupBase<Option_14>>(props: import("react-select").MultiValueProps<Option_14, IsMulti_14, Group_14>) => import("@emotion/react").jsx.JSX.Element;
100
100
  MultiValueContainer: <Option_15, IsMulti_15 extends boolean, Group_15 extends import("react-select").GroupBase<Option_15>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_15, IsMulti_15, Group_15>) => import("@emotion/react").jsx.JSX.Element;
101
101
  MultiValueLabel: <Option_15_1, IsMulti_15_1 extends boolean, Group_15_1 extends import("react-select").GroupBase<Option_15_1>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_15_1, IsMulti_15_1, Group_15_1>) => import("@emotion/react").jsx.JSX.Element;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/select-input",
3
3
  "description": "An input component getting a selection from the user.",
4
- "version": "15.8.0",
4
+ "version": "15.10.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.19.0",
23
23
  "@babel/runtime-corejs3": "^7.19.1",
24
- "@commercetools-uikit/constraints": "15.8.0",
25
- "@commercetools-uikit/design-system": "15.8.0",
26
- "@commercetools-uikit/icons": "15.8.0",
27
- "@commercetools-uikit/select-utils": "15.8.0",
28
- "@commercetools-uikit/utils": "15.8.0",
24
+ "@commercetools-uikit/constraints": "15.10.0",
25
+ "@commercetools-uikit/design-system": "15.10.0",
26
+ "@commercetools-uikit/icons": "15.10.0",
27
+ "@commercetools-uikit/select-utils": "15.10.0",
28
+ "@commercetools-uikit/utils": "15.10.0",
29
29
  "@emotion/is-prop-valid": "1.2.0",
30
30
  "@emotion/react": "^11.4.0",
31
31
  "@emotion/styled": "^11.3.0",
32
32
  "lodash": "4.17.21",
33
33
  "prop-types": "15.8.1",
34
- "react-select": "5.5.2"
34
+ "react-select": "5.7.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "react": "17.0.2",