@commercetools-uikit/async-creatable-select-input 19.22.1 → 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.
- package/dist/commercetools-uikit-async-creatable-select-input.cjs.dev.js +4 -1
- package/dist/commercetools-uikit-async-creatable-select-input.cjs.prod.js +4 -1
- package/dist/commercetools-uikit-async-creatable-select-input.esm.js +4 -1
- package/dist/declarations/src/async-creatable-select-input.d.ts +22 -11
- package/package.json +9 -9
|
@@ -227,7 +227,9 @@ AsyncCreatableSelectInput.isTouched = touched => Boolean(touched);
|
|
|
227
227
|
// custom
|
|
228
228
|
AsyncCreatableSelectInput.ClearIndicator = customizedComponents.ClearIndicator;
|
|
229
229
|
AsyncCreatableSelectInput.Control = reactSelect.components.Control;
|
|
230
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
230
231
|
AsyncCreatableSelectInput.CrossIcon = reactSelect.components.CrossIcon;
|
|
232
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
231
233
|
AsyncCreatableSelectInput.DownChevron = reactSelect.components.DownChevron;
|
|
232
234
|
// custom
|
|
233
235
|
AsyncCreatableSelectInput.DropdownIndicator = customizedComponents.DropdownIndicator;
|
|
@@ -241,6 +243,7 @@ AsyncCreatableSelectInput.LoadingIndicator = customizedComponents.LoadingIndicat
|
|
|
241
243
|
AsyncCreatableSelectInput.LoadingMessage = reactSelect.components.LoadingMessage;
|
|
242
244
|
AsyncCreatableSelectInput.Menu = reactSelect.components.Menu;
|
|
243
245
|
AsyncCreatableSelectInput.MenuList = reactSelect.components.MenuList;
|
|
246
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
244
247
|
AsyncCreatableSelectInput.MenuPortal = reactSelect.components.MenuPortal;
|
|
245
248
|
AsyncCreatableSelectInput.MultiValue = reactSelect.components.MultiValue;
|
|
246
249
|
AsyncCreatableSelectInput.MultiValueContainer = reactSelect.components.MultiValueContainer;
|
|
@@ -256,7 +259,7 @@ AsyncCreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer
|
|
|
256
259
|
var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
|
|
257
260
|
|
|
258
261
|
// NOTE: This string will be replaced on build time with the package version.
|
|
259
|
-
var version = "19.22.
|
|
262
|
+
var version = "19.22.3";
|
|
260
263
|
|
|
261
264
|
exports["default"] = AsyncCreatableSelectInput$1;
|
|
262
265
|
exports.version = version;
|
|
@@ -209,7 +209,9 @@ AsyncCreatableSelectInput.isTouched = touched => Boolean(touched);
|
|
|
209
209
|
// custom
|
|
210
210
|
AsyncCreatableSelectInput.ClearIndicator = customizedComponents.ClearIndicator;
|
|
211
211
|
AsyncCreatableSelectInput.Control = reactSelect.components.Control;
|
|
212
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
212
213
|
AsyncCreatableSelectInput.CrossIcon = reactSelect.components.CrossIcon;
|
|
214
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
213
215
|
AsyncCreatableSelectInput.DownChevron = reactSelect.components.DownChevron;
|
|
214
216
|
// custom
|
|
215
217
|
AsyncCreatableSelectInput.DropdownIndicator = customizedComponents.DropdownIndicator;
|
|
@@ -223,6 +225,7 @@ AsyncCreatableSelectInput.LoadingIndicator = customizedComponents.LoadingIndicat
|
|
|
223
225
|
AsyncCreatableSelectInput.LoadingMessage = reactSelect.components.LoadingMessage;
|
|
224
226
|
AsyncCreatableSelectInput.Menu = reactSelect.components.Menu;
|
|
225
227
|
AsyncCreatableSelectInput.MenuList = reactSelect.components.MenuList;
|
|
228
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
226
229
|
AsyncCreatableSelectInput.MenuPortal = reactSelect.components.MenuPortal;
|
|
227
230
|
AsyncCreatableSelectInput.MultiValue = reactSelect.components.MultiValue;
|
|
228
231
|
AsyncCreatableSelectInput.MultiValueContainer = reactSelect.components.MultiValueContainer;
|
|
@@ -238,7 +241,7 @@ AsyncCreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer
|
|
|
238
241
|
var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
|
|
239
242
|
|
|
240
243
|
// NOTE: This string will be replaced on build time with the package version.
|
|
241
|
-
var version = "19.22.
|
|
244
|
+
var version = "19.22.3";
|
|
242
245
|
|
|
243
246
|
exports["default"] = AsyncCreatableSelectInput$1;
|
|
244
247
|
exports.version = version;
|
|
@@ -206,7 +206,9 @@ AsyncCreatableSelectInput.isTouched = touched => Boolean(touched);
|
|
|
206
206
|
// custom
|
|
207
207
|
AsyncCreatableSelectInput.ClearIndicator = customizedComponents.ClearIndicator;
|
|
208
208
|
AsyncCreatableSelectInput.Control = components.Control;
|
|
209
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
209
210
|
AsyncCreatableSelectInput.CrossIcon = components.CrossIcon;
|
|
211
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
210
212
|
AsyncCreatableSelectInput.DownChevron = components.DownChevron;
|
|
211
213
|
// custom
|
|
212
214
|
AsyncCreatableSelectInput.DropdownIndicator = customizedComponents.DropdownIndicator;
|
|
@@ -220,6 +222,7 @@ AsyncCreatableSelectInput.LoadingIndicator = customizedComponents.LoadingIndicat
|
|
|
220
222
|
AsyncCreatableSelectInput.LoadingMessage = components.LoadingMessage;
|
|
221
223
|
AsyncCreatableSelectInput.Menu = components.Menu;
|
|
222
224
|
AsyncCreatableSelectInput.MenuList = components.MenuList;
|
|
225
|
+
//https://github.com/commercetools/ui-kit/pull/3054/files#r1943026570
|
|
223
226
|
AsyncCreatableSelectInput.MenuPortal = components.MenuPortal;
|
|
224
227
|
AsyncCreatableSelectInput.MultiValue = components.MultiValue;
|
|
225
228
|
AsyncCreatableSelectInput.MultiValueContainer = components.MultiValueContainer;
|
|
@@ -235,6 +238,6 @@ AsyncCreatableSelectInput.ValueContainer = components.ValueContainer;
|
|
|
235
238
|
var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
|
|
236
239
|
|
|
237
240
|
// NOTE: This string will be replaced on build time with the package version.
|
|
238
|
-
var version = "19.22.
|
|
241
|
+
var version = "19.22.3";
|
|
239
242
|
|
|
240
243
|
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 ActionMeta, type CommonPropsAndClassName, type GroupBase, type MenuPlacement, type MenuPosition } from 'react-select';
|
|
3
3
|
import { type AsyncCreatableProps } from 'react-select/async-creatable';
|
|
4
4
|
type TCustomEvent = {
|
|
5
5
|
target: {
|
|
@@ -285,9 +285,17 @@ declare const AsyncCreatableSelectInput: {
|
|
|
285
285
|
(props: import("@commercetools-uikit/select-utils").TClearIndicatorProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
286
286
|
displayName: string;
|
|
287
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"
|
|
289
|
-
|
|
290
|
-
|
|
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" /**
|
|
289
|
+
* Remove the currently focused option when the user presses backspace
|
|
290
|
+
* <br>
|
|
291
|
+
* [Props from React select was used](https://react-select.com/props)
|
|
292
|
+
*/).jsx.JSX.Element;
|
|
293
|
+
CrossIcon: ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
294
|
+
size?: number;
|
|
295
|
+
}>;
|
|
296
|
+
DownChevron: ComponentType<import("react").SVGProps<SVGSVGElement> & {
|
|
297
|
+
size?: number;
|
|
298
|
+
}>;
|
|
291
299
|
DropdownIndicator: {
|
|
292
300
|
(props: import("react-select").DropdownIndicatorProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
293
301
|
displayName: string;
|
|
@@ -296,11 +304,7 @@ declare const AsyncCreatableSelectInput: {
|
|
|
296
304
|
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
305
|
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
306
|
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;
|
|
307
|
+
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;
|
|
304
308
|
LoadingIndicator: {
|
|
305
309
|
(): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
306
310
|
displayName: string;
|
|
@@ -308,7 +312,14 @@ declare const AsyncCreatableSelectInput: {
|
|
|
308
312
|
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
313
|
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
314
|
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: <
|
|
315
|
+
MenuPortal: ComponentType<CommonPropsAndClassName<unknown, false, GroupBase<unknown>> & {
|
|
316
|
+
appendTo: HTMLElement | undefined;
|
|
317
|
+
children: ReactNode;
|
|
318
|
+
controlElement: HTMLDivElement | null;
|
|
319
|
+
innerProps: JSX.IntrinsicElements["div"];
|
|
320
|
+
menuPlacement: MenuPlacement;
|
|
321
|
+
menuPosition: MenuPosition;
|
|
322
|
+
}>;
|
|
312
323
|
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
324
|
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
325
|
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;
|
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.
|
|
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/is-prop-valid": "1.3.1",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|