@commercetools-uikit/async-select-input 19.22.2 → 19.22.3
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.
|
@@ -245,7 +245,9 @@ AsyncSelectInput.isTouched = touched => Boolean(touched);
|
|
|
245
245
|
// custom
|
|
246
246
|
AsyncSelectInput.ClearIndicator = customizedComponents.ClearIndicator;
|
|
247
247
|
AsyncSelectInput.Control = reactSelect.components.Control;
|
|
248
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
248
249
|
AsyncSelectInput.CrossIcon = reactSelect.components.CrossIcon;
|
|
250
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
249
251
|
AsyncSelectInput.DownChevron = reactSelect.components.DownChevron;
|
|
250
252
|
// custom
|
|
251
253
|
AsyncSelectInput.DropdownIndicator = customizedComponents.DropdownIndicator;
|
|
@@ -259,6 +261,7 @@ AsyncSelectInput.LoadingIndicator = customizedComponents.LoadingIndicator;
|
|
|
259
261
|
AsyncSelectInput.LoadingMessage = reactSelect.components.LoadingMessage;
|
|
260
262
|
AsyncSelectInput.Menu = reactSelect.components.Menu;
|
|
261
263
|
AsyncSelectInput.MenuList = reactSelect.components.MenuList;
|
|
264
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
262
265
|
AsyncSelectInput.MenuPortal = reactSelect.components.MenuPortal;
|
|
263
266
|
AsyncSelectInput.MultiValue = reactSelect.components.MultiValue;
|
|
264
267
|
AsyncSelectInput.MultiValueContainer = reactSelect.components.MultiValueContainer;
|
|
@@ -274,7 +277,7 @@ AsyncSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
274
277
|
var AsyncSelectInput$1 = AsyncSelectInput;
|
|
275
278
|
|
|
276
279
|
// NOTE: This string will be replaced on build time with the package version.
|
|
277
|
-
var version = "19.22.
|
|
280
|
+
var version = "19.22.3";
|
|
278
281
|
|
|
279
282
|
exports["default"] = AsyncSelectInput$1;
|
|
280
283
|
exports.version = version;
|
|
@@ -225,7 +225,9 @@ AsyncSelectInput.isTouched = touched => Boolean(touched);
|
|
|
225
225
|
// custom
|
|
226
226
|
AsyncSelectInput.ClearIndicator = customizedComponents.ClearIndicator;
|
|
227
227
|
AsyncSelectInput.Control = reactSelect.components.Control;
|
|
228
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
228
229
|
AsyncSelectInput.CrossIcon = reactSelect.components.CrossIcon;
|
|
230
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
229
231
|
AsyncSelectInput.DownChevron = reactSelect.components.DownChevron;
|
|
230
232
|
// custom
|
|
231
233
|
AsyncSelectInput.DropdownIndicator = customizedComponents.DropdownIndicator;
|
|
@@ -239,6 +241,7 @@ AsyncSelectInput.LoadingIndicator = customizedComponents.LoadingIndicator;
|
|
|
239
241
|
AsyncSelectInput.LoadingMessage = reactSelect.components.LoadingMessage;
|
|
240
242
|
AsyncSelectInput.Menu = reactSelect.components.Menu;
|
|
241
243
|
AsyncSelectInput.MenuList = reactSelect.components.MenuList;
|
|
244
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
242
245
|
AsyncSelectInput.MenuPortal = reactSelect.components.MenuPortal;
|
|
243
246
|
AsyncSelectInput.MultiValue = reactSelect.components.MultiValue;
|
|
244
247
|
AsyncSelectInput.MultiValueContainer = reactSelect.components.MultiValueContainer;
|
|
@@ -254,7 +257,7 @@ AsyncSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
254
257
|
var AsyncSelectInput$1 = AsyncSelectInput;
|
|
255
258
|
|
|
256
259
|
// NOTE: This string will be replaced on build time with the package version.
|
|
257
|
-
var version = "19.22.
|
|
260
|
+
var version = "19.22.3";
|
|
258
261
|
|
|
259
262
|
exports["default"] = AsyncSelectInput$1;
|
|
260
263
|
exports.version = version;
|
|
@@ -225,7 +225,9 @@ AsyncSelectInput.isTouched = touched => Boolean(touched);
|
|
|
225
225
|
// custom
|
|
226
226
|
AsyncSelectInput.ClearIndicator = customizedComponents.ClearIndicator;
|
|
227
227
|
AsyncSelectInput.Control = components.Control;
|
|
228
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
228
229
|
AsyncSelectInput.CrossIcon = components.CrossIcon;
|
|
230
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
229
231
|
AsyncSelectInput.DownChevron = components.DownChevron;
|
|
230
232
|
// custom
|
|
231
233
|
AsyncSelectInput.DropdownIndicator = customizedComponents.DropdownIndicator;
|
|
@@ -239,6 +241,7 @@ AsyncSelectInput.LoadingIndicator = customizedComponents.LoadingIndicator;
|
|
|
239
241
|
AsyncSelectInput.LoadingMessage = components.LoadingMessage;
|
|
240
242
|
AsyncSelectInput.Menu = components.Menu;
|
|
241
243
|
AsyncSelectInput.MenuList = components.MenuList;
|
|
244
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
242
245
|
AsyncSelectInput.MenuPortal = components.MenuPortal;
|
|
243
246
|
AsyncSelectInput.MultiValue = components.MultiValue;
|
|
244
247
|
AsyncSelectInput.MultiValueContainer = components.MultiValueContainer;
|
|
@@ -254,6 +257,6 @@ AsyncSelectInput.ValueContainer = components.ValueContainer;
|
|
|
254
257
|
var AsyncSelectInput$1 = AsyncSelectInput;
|
|
255
258
|
|
|
256
259
|
// NOTE: This string will be replaced on build time with the package version.
|
|
257
|
-
var version = "19.22.
|
|
260
|
+
var version = "19.22.3";
|
|
258
261
|
|
|
259
262
|
export { AsyncSelectInput$1 as default, version };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ReactNode, ComponentType } from 'react';
|
|
2
|
-
import { type ActionMeta, type GroupBase, type OptionsOrGroups, type
|
|
2
|
+
import { type ActionMeta, type GroupBase, type OptionsOrGroups, 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,25 +274,34 @@ declare const AsyncSelectInput: {
|
|
|
274
274
|
/**
|
|
275
275
|
* Expose react-select components for customization purposes.
|
|
276
276
|
*/
|
|
277
|
-
ClearIndicator:
|
|
278
|
-
|
|
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;
|
|
279
282
|
CrossIcon: ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
280
283
|
size?: number;
|
|
281
284
|
}>;
|
|
282
285
|
DownChevron: ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
283
286
|
size?: number;
|
|
284
287
|
}>;
|
|
285
|
-
DropdownIndicator:
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
288
|
+
DropdownIndicator: {
|
|
289
|
+
(props: import("react-select").DropdownIndicatorProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
290
|
+
displayName: string;
|
|
291
|
+
};
|
|
292
|
+
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;
|
|
293
|
+
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;
|
|
294
|
+
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;
|
|
295
|
+
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;
|
|
296
|
+
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;
|
|
297
|
+
LoadingIndicator: {
|
|
298
|
+
(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
299
|
+
displayName: string;
|
|
300
|
+
};
|
|
301
|
+
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;
|
|
302
|
+
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;
|
|
303
|
+
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;
|
|
304
|
+
MenuPortal: ComponentType<CommonPropsAndClassName<unknown, false, GroupBase<unknown>> & {
|
|
296
305
|
appendTo: HTMLElement | undefined;
|
|
297
306
|
children: ReactNode;
|
|
298
307
|
controlElement: HTMLDivElement | null;
|
|
@@ -300,15 +309,18 @@ declare const AsyncSelectInput: {
|
|
|
300
309
|
menuPlacement: MenuPlacement;
|
|
301
310
|
menuPosition: MenuPosition;
|
|
302
311
|
}>;
|
|
303
|
-
MultiValue:
|
|
304
|
-
MultiValueContainer:
|
|
305
|
-
MultiValueLabel:
|
|
306
|
-
MultiValueRemove:
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
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;
|
|
313
325
|
};
|
|
314
326
|
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.
|
|
4
|
+
"version": "19.22.3",
|
|
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.
|
|
25
|
-
"@commercetools-uikit/design-system": "19.22.
|
|
26
|
-
"@commercetools-uikit/icons": "19.22.
|
|
27
|
-
"@commercetools-uikit/loading-spinner": "19.22.
|
|
28
|
-
"@commercetools-uikit/select-utils": "19.22.
|
|
29
|
-
"@commercetools-uikit/spacings": "19.22.
|
|
30
|
-
"@commercetools-uikit/text": "19.22.
|
|
31
|
-
"@commercetools-uikit/utils": "19.22.
|
|
24
|
+
"@commercetools-uikit/constraints": "19.22.3",
|
|
25
|
+
"@commercetools-uikit/design-system": "19.22.3",
|
|
26
|
+
"@commercetools-uikit/icons": "19.22.3",
|
|
27
|
+
"@commercetools-uikit/loading-spinner": "19.22.3",
|
|
28
|
+
"@commercetools-uikit/select-utils": "19.22.3",
|
|
29
|
+
"@commercetools-uikit/spacings": "19.22.3",
|
|
30
|
+
"@commercetools-uikit/text": "19.22.3",
|
|
31
|
+
"@commercetools-uikit/utils": "19.22.3",
|
|
32
32
|
"@emotion/react": "^11.10.5",
|
|
33
33
|
"@emotion/styled": "^11.10.5",
|
|
34
34
|
"lodash": "4.17.21",
|