@commercetools-uikit/select-input 15.13.2 → 15.14.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.
@@ -264,7 +264,7 @@ SelectInput.ValueContainer = Select.components.ValueContainer;
264
264
  var SelectInput$1 = SelectInput;
265
265
 
266
266
  // NOTE: This string will be replaced on build time with the package version.
267
- var version = "15.13.2";
267
+ var version = "15.14.0";
268
268
 
269
269
  exports["default"] = SelectInput$1;
270
270
  exports.version = version;
@@ -243,7 +243,7 @@ SelectInput.ValueContainer = Select.components.ValueContainer;
243
243
  var SelectInput$1 = SelectInput;
244
244
 
245
245
  // NOTE: This string will be replaced on build time with the package version.
246
- var version = "15.13.2";
246
+ var version = "15.14.0";
247
247
 
248
248
  exports["default"] = SelectInput$1;
249
249
  exports.version = version;
@@ -241,6 +241,6 @@ SelectInput.ValueContainer = components.ValueContainer;
241
241
  var SelectInput$1 = SelectInput;
242
242
 
243
243
  // NOTE: This string will be replaced on build time with the package version.
244
- var version = "15.13.2";
244
+ var version = "15.14.0";
245
245
 
246
246
  export { SelectInput$1 as default, version };
@@ -0,0 +1,3 @@
1
+ import type { TSelectInputProps as SelectInputProps, TOption as Option } from './select-input';
2
+ export type TSelectInputProps = SelectInputProps;
3
+ export type TOption = Option;
@@ -1,2 +1,3 @@
1
1
  export { default } from './select-input';
2
2
  export { default as version } from './version';
3
+ export * from './export-types';
@@ -1,6 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import { type Props as ReactSelectProps } from 'react-select';
3
- type TOption = {
3
+ export type TOption = {
4
4
  value: string;
5
5
  label?: ReactNode;
6
6
  };
@@ -16,7 +16,7 @@ type TCustomEvent = {
16
16
  };
17
17
  persist: () => void;
18
18
  };
19
- type TSelectInputProps = {
19
+ export 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;
@@ -62,11 +62,7 @@ declare const SelectInput: {
62
62
  defaultProps: Pick<TSelectInputProps, "maxMenuHeight" | "menuPortalZIndex">;
63
63
  isTouched(touched: boolean | unknown[]): boolean;
64
64
  ClearIndicator: {
65
- (props: {
66
- innerProps: {
67
- ref: import("react").LegacyRef<HTMLButtonElement>;
68
- } & import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement>;
69
- } & import("react-select").ClearIndicatorProps<unknown, boolean, import("react-select").GroupBase<unknown>>): import("@emotion/react/jsx-runtime").JSX.Element;
65
+ (props: import("@commercetools-uikit/select-utils/src/clear-indicator/clear-indicator").TClearIndicator): import("@emotion/react/jsx-runtime").JSX.Element;
70
66
  displayName: string;
71
67
  };
72
68
  Control: <Option_1, IsMulti_1 extends boolean, Group_1 extends import("react-select").GroupBase<Option_1>>(props: import("react-select").ControlProps<Option_1, IsMulti_1, Group_1>) => import("@emotion/react").jsx.JSX.Element;
@@ -100,11 +96,7 @@ declare const SelectInput: {
100
96
  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
97
  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;
102
98
  MultiValueRemove: {
103
- (props: {
104
- selectProps: {
105
- isReadOnly: boolean;
106
- } & import("react-select/dist/declarations/src/Select").Props<unknown, boolean, import("react-select").GroupBase<unknown>>;
107
- } & import("react-select").MultiValueGenericProps<unknown, boolean, import("react-select").GroupBase<unknown>>): import("@emotion/react/jsx-runtime").JSX.Element;
99
+ (props: import("@commercetools-uikit/select-utils/src/tag-remove/tag-remove").TTagRemoveProps): import("@emotion/react/jsx-runtime").JSX.Element;
108
100
  displayName: string;
109
101
  };
110
102
  NoOptionsMessage: {
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.13.2",
4
+ "version": "15.14.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,11 +21,11 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/constraints": "15.13.2",
25
- "@commercetools-uikit/design-system": "15.13.2",
26
- "@commercetools-uikit/icons": "15.13.2",
27
- "@commercetools-uikit/select-utils": "15.13.2",
28
- "@commercetools-uikit/utils": "15.13.2",
24
+ "@commercetools-uikit/constraints": "15.14.0",
25
+ "@commercetools-uikit/design-system": "15.14.0",
26
+ "@commercetools-uikit/icons": "15.14.0",
27
+ "@commercetools-uikit/select-utils": "15.14.0",
28
+ "@commercetools-uikit/utils": "15.14.0",
29
29
  "@emotion/is-prop-valid": "1.2.0",
30
30
  "@emotion/react": "^11.10.5",
31
31
  "@emotion/styled": "^11.10.5",