@commercetools-uikit/async-creatable-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.
@@ -256,7 +256,7 @@ AsyncCreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer
256
256
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
257
257
 
258
258
  // NOTE: This string will be replaced on build time with the package version.
259
- var version = "19.22.0";
259
+ var version = "19.22.2";
260
260
 
261
261
  exports["default"] = AsyncCreatableSelectInput$1;
262
262
  exports.version = version;
@@ -238,7 +238,7 @@ AsyncCreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer
238
238
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
239
239
 
240
240
  // NOTE: This string will be replaced on build time with the package version.
241
- var version = "19.22.0";
241
+ var version = "19.22.2";
242
242
 
243
243
  exports["default"] = AsyncCreatableSelectInput$1;
244
244
  exports.version = version;
@@ -235,6 +235,6 @@ AsyncCreatableSelectInput.ValueContainer = components.ValueContainer;
235
235
  var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
236
236
 
237
237
  // NOTE: This string will be replaced on build time with the package version.
238
- var version = "19.22.0";
238
+ var version = "19.22.2";
239
239
 
240
240
  export { AsyncCreatableSelectInput$1 as default, version };
@@ -1,5 +1,5 @@
1
- import type { ReactNode } from 'react';
2
- import { type ActionMeta, type GroupBase } from 'react-select';
1
+ import type { ComponentType, ReactNode } from 'react';
2
+ import { 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 ActionMeta, type GroupBase, type LoadingIndicatorProps, type MenuProps, type CommonPropsAndClassName, type MenuPlacement, type MenuPosition } from 'react-select';
3
3
  import { type AsyncCreatableProps } from 'react-select/async-creatable';
4
4
  type TCustomEvent = {
5
5
  target: {
@@ -281,46 +281,41 @@ declare const AsyncCreatableSelectInput: {
281
281
  /**
282
282
  * Expose react-select components for customization purposes.
283
283
  */
284
- ClearIndicator: {
285
- (props: import("@commercetools-uikit/select-utils").TClearIndicatorProps): import("@emotion/react/jsx-runtime").JSX.Element;
286
- displayName: string;
287
- };
288
- 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;
289
- CrossIcon: (props: import("react-select/dist/declarations/src/components/indicators").CrossIconProps) => import("@emotion/react").jsx.JSX.Element;
290
- DownChevron: (props: import("react-select/dist/declarations/src/components/indicators").DownChevronProps) => import("@emotion/react").jsx.JSX.Element;
291
- DropdownIndicator: {
292
- (props: import("react-select").DropdownIndicatorProps): import("@emotion/react/jsx-runtime").JSX.Element;
293
- displayName: string;
294
- };
295
- 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;
296
- 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;
297
- 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;
298
- 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;
299
- 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" /**
300
- * Is the select value clearable
301
- * <br>
302
- * [Props from React select was used](https://react-select.com/props)
303
- */).jsx.JSX.Element;
304
- LoadingIndicator: {
305
- (): import("@emotion/react/jsx-runtime").JSX.Element;
306
- displayName: string;
307
- };
308
- 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;
309
- 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;
310
- 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;
311
- 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;
312
- 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;
313
- 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;
314
- 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;
315
- MultiValueRemove: {
316
- (props: import("@commercetools-uikit/select-utils").TTagRemoveProps): import("@emotion/react/jsx-runtime").JSX.Element;
317
- displayName: string;
318
- };
319
- 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;
320
- 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;
321
- 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;
322
- 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;
323
- 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;
324
- 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;
284
+ ClearIndicator: ComponentType<ClearIndicatorProps<{}, false, GroupBase<{}>>>;
285
+ Control: ComponentType<ControlProps<{}, false, GroupBase<{}>>>;
286
+ CrossIcon: ComponentType<import("react").SVGProps<SVGSVGElement> & {
287
+ size?: number;
288
+ }>;
289
+ DownChevron: ComponentType<import("react").SVGProps<SVGSVGElement> & {
290
+ size?: number;
291
+ }>;
292
+ DropdownIndicator: ComponentType<DropdownIndicatorProps<{}, false, GroupBase<{}>>>;
293
+ Group: ComponentType<GroupProps<{}, false, GroupBase<{}>>>;
294
+ GroupHeading: ComponentType<GroupHeadingProps<{}, false, GroupBase<{}>>>;
295
+ IndicatorSeparator: ComponentType<LoadingIndicatorProps<{}, false, GroupBase<{}>>>;
296
+ IndicatorsContainer: ComponentType<IndicatorsContainerProps<{}, false, GroupBase<{}>>>;
297
+ Input: ComponentType<InputProps<{}, false, GroupBase<{}>>>;
298
+ LoadingIndicator: ComponentType<LoadingIndicatorProps<{}, false, GroupBase<{}>>>;
299
+ LoadingMessage: ComponentType<NoticeProps<{}, false, GroupBase<{}>>>;
300
+ Menu: ComponentType<MenuProps<{}, false, GroupBase<{}>>>;
301
+ MenuList: ComponentType<MenuListProps<{}, false, GroupBase<{}>>>;
302
+ MenuPortal: ComponentType<CommonPropsAndClassName<{}, false, GroupBase<{}>> & {
303
+ appendTo: HTMLElement | undefined;
304
+ children: ReactNode;
305
+ controlElement: HTMLDivElement | null;
306
+ innerProps: JSX.IntrinsicElements["div"];
307
+ menuPlacement: MenuPlacement;
308
+ menuPosition: MenuPosition;
309
+ }>;
310
+ MultiValue: ComponentType<MultiValueProps<{}, false, GroupBase<{}>>>;
311
+ MultiValueContainer: ComponentType<MultiValueGenericProps<{}, false, GroupBase<{}>>>;
312
+ MultiValueLabel: ComponentType<MultiValueGenericProps<{}, false, GroupBase<{}>>>;
313
+ MultiValueRemove: ComponentType<MultiValueRemoveProps<{}, false, GroupBase<{}>>>;
314
+ NoOptionsMessage: ComponentType<NoticeProps<{}, false, GroupBase<{}>>>;
315
+ Option: ComponentType<OptionProps<{}, false, GroupBase<{}>>>;
316
+ Placeholder: ComponentType<PlaceholderProps<{}, false, GroupBase<{}>>>;
317
+ SelectContainer: ComponentType<ContainerProps<{}, false, GroupBase<{}>>>;
318
+ SingleValue: ComponentType<SingleValueProps<{}, false, GroupBase<{}>>>;
319
+ ValueContainer: ComponentType<ValueContainerProps<{}, false, GroupBase<{}>>>;
325
320
  };
326
321
  export default AsyncCreatableSelectInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/async-creatable-select-input",
3
3
  "description": "An input component getting a selection from an asynchronously loaded list from the user, and where options can be created by 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/is-prop-valid": "1.3.1",
33
33
  "@emotion/react": "^11.10.5",
34
34
  "@emotion/styled": "^11.10.5",