@commercetools-uikit/async-select-input 19.22.0 → 19.22.2

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.
@@ -274,7 +274,7 @@ AsyncSelectInput.ValueContainer = reactSelect.components.ValueContainer;
274
274
  var AsyncSelectInput$1 = AsyncSelectInput;
275
275
 
276
276
  // NOTE: This string will be replaced on build time with the package version.
277
- var version = "19.22.0";
277
+ var version = "19.22.2";
278
278
 
279
279
  exports["default"] = AsyncSelectInput$1;
280
280
  exports.version = version;
@@ -254,7 +254,7 @@ AsyncSelectInput.ValueContainer = reactSelect.components.ValueContainer;
254
254
  var AsyncSelectInput$1 = AsyncSelectInput;
255
255
 
256
256
  // NOTE: This string will be replaced on build time with the package version.
257
- var version = "19.22.0";
257
+ var version = "19.22.2";
258
258
 
259
259
  exports["default"] = AsyncSelectInput$1;
260
260
  exports.version = version;
@@ -254,6 +254,6 @@ AsyncSelectInput.ValueContainer = components.ValueContainer;
254
254
  var AsyncSelectInput$1 = AsyncSelectInput;
255
255
 
256
256
  // NOTE: This string will be replaced on build time with the package version.
257
- var version = "19.22.0";
257
+ var version = "19.22.2";
258
258
 
259
259
  export { AsyncSelectInput$1 as default, version };
@@ -1,5 +1,5 @@
1
- import type { ReactNode } from 'react';
2
- import { type ActionMeta, type GroupBase, type OptionsOrGroups } from 'react-select';
1
+ import type { ReactNode, ComponentType } from 'react';
2
+ import { type ActionMeta, type GroupBase, type OptionsOrGroups, type ClearIndicatorProps, type ContainerProps, type ControlProps, type DropdownIndicatorProps, type GroupHeadingProps, type GroupProps, type IndicatorsContainerProps, type InputProps, type MenuListProps, type MultiValueGenericProps, type MultiValueProps, type MultiValueRemoveProps, type NoticeProps, type OptionProps, type PlaceholderProps, type SingleValueProps, type ValueContainerProps, type LoadingIndicatorProps, type MenuProps, type CommonPropsAndClassName, type MenuPlacement, type MenuPosition } from 'react-select';
3
3
  import { type AsyncProps } from 'react-select/async';
4
4
  type TCustomEvent = {
5
5
  target: {
@@ -274,42 +274,41 @@ declare const AsyncSelectInput: {
274
274
  /**
275
275
  * Expose react-select components for customization purposes.
276
276
  */
277
- ClearIndicator: {
278
- (props: import("@commercetools-uikit/select-utils").TClearIndicatorProps): import("@emotion/react/jsx-runtime").JSX.Element;
279
- displayName: string;
280
- };
281
- Control: <Option_1, IsMulti_1 extends boolean, Group_1 extends GroupBase<Option_1>>(props: import("react-select").ControlProps<Option_1, IsMulti_1, Group_1>) => import("@emotion/react").jsx.JSX.Element;
282
- CrossIcon: (props: import("react-select/dist/declarations/src/components/indicators").CrossIconProps) => import("@emotion/react").jsx.JSX.Element;
283
- DownChevron: (props: import("react-select/dist/declarations/src/components/indicators").DownChevronProps) => import("@emotion/react").jsx.JSX.Element;
284
- DropdownIndicator: {
285
- (props: import("react-select").DropdownIndicatorProps): import("@emotion/react/jsx-runtime").JSX.Element;
286
- displayName: string;
287
- };
288
- Group: <Option_3, IsMulti_3 extends boolean, Group_3 extends GroupBase<Option_3>>(props: import("react-select").GroupProps<Option_3, IsMulti_3, Group_3>) => import("@emotion/react").jsx.JSX.Element;
289
- GroupHeading: <Option_4, IsMulti_4 extends boolean, Group_4 extends GroupBase<Option_4>>(props: import("react-select").GroupHeadingProps<Option_4, IsMulti_4, Group_4>) => import("@emotion/react").jsx.JSX.Element;
290
- IndicatorSeparator: <Option_6, IsMulti_6 extends boolean, Group_6 extends GroupBase<Option_6>>(props: import("react-select").IndicatorSeparatorProps<Option_6, IsMulti_6, Group_6>) => import("@emotion/react").jsx.JSX.Element;
291
- IndicatorsContainer: <Option_5, IsMulti_5 extends boolean, Group_5 extends GroupBase<Option_5>>(props: import("react-select").IndicatorsContainerProps<Option_5, IsMulti_5, Group_5>) => import("@emotion/react").jsx.JSX.Element;
292
- Input: <Option_7, IsMulti_7 extends boolean, Group_7 extends GroupBase<Option_7>>(props: import("react-select").InputProps<Option_7, IsMulti_7, Group_7>) => import("@emotion/react").jsx.JSX.Element;
293
- LoadingIndicator: {
294
- (): import("@emotion/react/jsx-runtime").JSX.Element;
295
- displayName: string;
296
- };
297
- LoadingMessage: <Option_12, IsMulti_12 extends boolean, Group_12 extends GroupBase<Option_12>>({ children, innerProps, ...restProps }: import("react-select").NoticeProps<Option_12, IsMulti_12, Group_12>) => import("@emotion/react").jsx.JSX.Element;
298
- Menu: <Option_9, IsMulti_9 extends boolean, Group_9 extends GroupBase<Option_9>>(props: import("react-select").MenuProps<Option_9, IsMulti_9, Group_9>) => import("@emotion/react").jsx.JSX.Element;
299
- MenuList: <Option_10, IsMulti_10 extends boolean, Group_10 extends GroupBase<Option_10>>(props: import("react-select").MenuListProps<Option_10, IsMulti_10, Group_10>) => import("@emotion/react").jsx.JSX.Element;
300
- MenuPortal: <Option_11, IsMulti_11 extends boolean, Group_11 extends 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;
301
- MultiValue: <Option_14, IsMulti_14 extends boolean, Group_14 extends GroupBase<Option_14>>(props: import("react-select").MultiValueProps<Option_14, IsMulti_14, Group_14>) => import("@emotion/react").jsx.JSX.Element;
302
- MultiValueContainer: <Option_15, IsMulti_15 extends boolean, Group_15 extends GroupBase<Option_15>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_15, IsMulti_15, Group_15>) => import("@emotion/react").jsx.JSX.Element;
303
- MultiValueLabel: <Option_15, IsMulti_15 extends boolean, Group_15 extends GroupBase<Option_15>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_15, IsMulti_15, Group_15>) => import("@emotion/react").jsx.JSX.Element;
304
- MultiValueRemove: {
305
- (props: import("@commercetools-uikit/select-utils").TTagRemoveProps): import("@emotion/react/jsx-runtime").JSX.Element;
306
- displayName: string;
307
- };
308
- NoOptionsMessage: <Option_13, IsMulti_13 extends boolean, Group_13 extends GroupBase<Option_13>>({ children, innerProps, ...restProps }: import("react-select").NoticeProps<Option_13, IsMulti_13, Group_13>) => import("@emotion/react").jsx.JSX.Element;
309
- Option: <Option_16, IsMulti_16 extends boolean, Group_16 extends GroupBase<Option_16>>(props: import("react-select").OptionProps<Option_16, IsMulti_16, Group_16>) => import("@emotion/react").jsx.JSX.Element;
310
- Placeholder: <Option_17, IsMulti_17 extends boolean, Group_17 extends GroupBase<Option_17>>(props: import("react-select").PlaceholderProps<Option_17, IsMulti_17, Group_17>) => import("@emotion/react").jsx.JSX.Element;
311
- SelectContainer: <Option_18, IsMulti_18 extends boolean, Group_18 extends GroupBase<Option_18>>(props: import("react-select").ContainerProps<Option_18, IsMulti_18, Group_18>) => import("@emotion/react").jsx.JSX.Element;
312
- SingleValue: <Option_19, IsMulti_19 extends boolean, Group_19 extends GroupBase<Option_19>>(props: import("react-select").SingleValueProps<Option_19, IsMulti_19, Group_19>) => import("@emotion/react").jsx.JSX.Element;
313
- ValueContainer: <Option_20, IsMulti_20 extends boolean, Group_20 extends GroupBase<Option_20>>(props: import("react-select").ValueContainerProps<Option_20, IsMulti_20, Group_20>) => import("@emotion/react").jsx.JSX.Element;
277
+ ClearIndicator: ComponentType<ClearIndicatorProps<{}, false, GroupBase<{}>>>;
278
+ Control: ComponentType<ControlProps<{}, false, GroupBase<{}>>>;
279
+ CrossIcon: ComponentType<import("react").SVGProps<SVGSVGElement> & {
280
+ size?: number;
281
+ }>;
282
+ DownChevron: ComponentType<import("react").SVGProps<SVGSVGElement> & {
283
+ size?: number;
284
+ }>;
285
+ DropdownIndicator: ComponentType<DropdownIndicatorProps<{}, false, GroupBase<{}>>>;
286
+ Group: ComponentType<GroupProps<{}, false, GroupBase<{}>>>;
287
+ GroupHeading: ComponentType<GroupHeadingProps<{}, false, GroupBase<{}>>>;
288
+ IndicatorSeparator: ComponentType<LoadingIndicatorProps<{}, false, GroupBase<{}>>>;
289
+ IndicatorsContainer: ComponentType<IndicatorsContainerProps<{}, false, GroupBase<{}>>>;
290
+ Input: ComponentType<InputProps<{}, false, GroupBase<{}>>>;
291
+ LoadingIndicator: ComponentType<LoadingIndicatorProps<{}, false, GroupBase<{}>>>;
292
+ LoadingMessage: ComponentType<NoticeProps<{}, false, GroupBase<{}>>>;
293
+ Menu: ComponentType<MenuProps<{}, false, GroupBase<{}>>>;
294
+ MenuList: ComponentType<MenuListProps<{}, false, GroupBase<{}>>>;
295
+ MenuPortal: ComponentType<CommonPropsAndClassName<{}, false, GroupBase<{}>> & {
296
+ appendTo: HTMLElement | undefined;
297
+ children: ReactNode;
298
+ controlElement: HTMLDivElement | null;
299
+ innerProps: JSX.IntrinsicElements["div"];
300
+ menuPlacement: MenuPlacement;
301
+ menuPosition: MenuPosition;
302
+ }>;
303
+ MultiValue: ComponentType<MultiValueProps<{}, false, GroupBase<{}>>>;
304
+ MultiValueContainer: ComponentType<MultiValueGenericProps<{}, false, GroupBase<{}>>>;
305
+ MultiValueLabel: ComponentType<MultiValueGenericProps<{}, false, GroupBase<{}>>>;
306
+ MultiValueRemove: ComponentType<MultiValueRemoveProps<{}, false, GroupBase<{}>>>;
307
+ NoOptionsMessage: ComponentType<NoticeProps<{}, false, GroupBase<{}>>>;
308
+ Option: ComponentType<OptionProps<{}, false, GroupBase<{}>>>;
309
+ Placeholder: ComponentType<PlaceholderProps<{}, false, GroupBase<{}>>>;
310
+ SelectContainer: ComponentType<ContainerProps<{}, false, GroupBase<{}>>>;
311
+ SingleValue: ComponentType<SingleValueProps<{}, false, GroupBase<{}>>>;
312
+ ValueContainer: ComponentType<ValueContainerProps<{}, false, GroupBase<{}>>>;
314
313
  };
315
314
  export default AsyncSelectInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/async-select-input",
3
3
  "description": "An input component getting a selection from an asynchronously loaded list from the user.",
4
- "version": "19.22.0",
4
+ "version": "19.22.2",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,14 +21,14 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/constraints": "19.22.0",
25
- "@commercetools-uikit/design-system": "19.22.0",
26
- "@commercetools-uikit/icons": "19.22.0",
27
- "@commercetools-uikit/loading-spinner": "19.22.0",
28
- "@commercetools-uikit/select-utils": "19.22.0",
29
- "@commercetools-uikit/spacings": "19.22.0",
30
- "@commercetools-uikit/text": "19.22.0",
31
- "@commercetools-uikit/utils": "19.22.0",
24
+ "@commercetools-uikit/constraints": "19.22.2",
25
+ "@commercetools-uikit/design-system": "19.22.2",
26
+ "@commercetools-uikit/icons": "19.22.2",
27
+ "@commercetools-uikit/loading-spinner": "19.22.2",
28
+ "@commercetools-uikit/select-utils": "19.22.2",
29
+ "@commercetools-uikit/spacings": "19.22.2",
30
+ "@commercetools-uikit/text": "19.22.2",
31
+ "@commercetools-uikit/utils": "19.22.2",
32
32
  "@emotion/react": "^11.10.5",
33
33
  "@emotion/styled": "^11.10.5",
34
34
  "lodash": "4.17.21",