@commercetools-uikit/creatable-select-input 19.22.1 → 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.
- package/dist/commercetools-uikit-creatable-select-input.cjs.dev.js +2 -1
- package/dist/commercetools-uikit-creatable-select-input.cjs.prod.js +2 -1
- package/dist/commercetools-uikit-creatable-select-input.esm.js +2 -1
- package/dist/declarations/src/creatable-select-input.d.ts +38 -36
- package/package.json +8 -8
|
@@ -223,6 +223,7 @@ CreatableSelectInput.GroupHeading = reactSelect.components.GroupHeading;
|
|
|
223
223
|
CreatableSelectInput.IndicatorSeparator = reactSelect.components.IndicatorSeparator;
|
|
224
224
|
CreatableSelectInput.IndicatorsContainer = reactSelect.components.IndicatorsContainer;
|
|
225
225
|
CreatableSelectInput.Input = reactSelect.components.Input;
|
|
226
|
+
// custom
|
|
226
227
|
CreatableSelectInput.LoadingIndicator = reactSelect.components.LoadingIndicator;
|
|
227
228
|
CreatableSelectInput.LoadingMessage = reactSelect.components.LoadingMessage;
|
|
228
229
|
CreatableSelectInput.Menu = reactSelect.components.Menu;
|
|
@@ -242,7 +243,7 @@ CreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
242
243
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
243
244
|
|
|
244
245
|
// NOTE: This string will be replaced on build time with the package version.
|
|
245
|
-
var version = "19.22.
|
|
246
|
+
var version = "19.22.2";
|
|
246
247
|
|
|
247
248
|
exports["default"] = CreatableSelectInput$1;
|
|
248
249
|
exports.version = version;
|
|
@@ -199,6 +199,7 @@ CreatableSelectInput.GroupHeading = reactSelect.components.GroupHeading;
|
|
|
199
199
|
CreatableSelectInput.IndicatorSeparator = reactSelect.components.IndicatorSeparator;
|
|
200
200
|
CreatableSelectInput.IndicatorsContainer = reactSelect.components.IndicatorsContainer;
|
|
201
201
|
CreatableSelectInput.Input = reactSelect.components.Input;
|
|
202
|
+
// custom
|
|
202
203
|
CreatableSelectInput.LoadingIndicator = reactSelect.components.LoadingIndicator;
|
|
203
204
|
CreatableSelectInput.LoadingMessage = reactSelect.components.LoadingMessage;
|
|
204
205
|
CreatableSelectInput.Menu = reactSelect.components.Menu;
|
|
@@ -218,7 +219,7 @@ CreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
218
219
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
219
220
|
|
|
220
221
|
// NOTE: This string will be replaced on build time with the package version.
|
|
221
|
-
var version = "19.22.
|
|
222
|
+
var version = "19.22.2";
|
|
222
223
|
|
|
223
224
|
exports["default"] = CreatableSelectInput$1;
|
|
224
225
|
exports.version = version;
|
|
@@ -204,6 +204,7 @@ CreatableSelectInput.GroupHeading = components.GroupHeading;
|
|
|
204
204
|
CreatableSelectInput.IndicatorSeparator = components.IndicatorSeparator;
|
|
205
205
|
CreatableSelectInput.IndicatorsContainer = components.IndicatorsContainer;
|
|
206
206
|
CreatableSelectInput.Input = components.Input;
|
|
207
|
+
// custom
|
|
207
208
|
CreatableSelectInput.LoadingIndicator = components.LoadingIndicator;
|
|
208
209
|
CreatableSelectInput.LoadingMessage = components.LoadingMessage;
|
|
209
210
|
CreatableSelectInput.Menu = components.Menu;
|
|
@@ -223,6 +224,6 @@ CreatableSelectInput.ValueContainer = components.ValueContainer;
|
|
|
223
224
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
224
225
|
|
|
225
226
|
// NOTE: This string will be replaced on build time with the package version.
|
|
226
|
-
var version = "19.22.
|
|
227
|
+
var version = "19.22.2";
|
|
227
228
|
|
|
228
229
|
export { CreatableSelectInput$1 as default, version };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import { type
|
|
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 CreatableProps } from 'react-select/creatable';
|
|
4
4
|
type TValue = {
|
|
5
5
|
value: string;
|
|
@@ -274,39 +274,41 @@ declare const CreatableSelectInput: {
|
|
|
274
274
|
/**
|
|
275
275
|
* Expose react-select components for customization purposes.
|
|
276
276
|
*/
|
|
277
|
-
ClearIndicator: {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
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<{}>>>;
|
|
311
313
|
};
|
|
312
314
|
export default CreatableSelectInput;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/creatable-select-input",
|
|
3
3
|
"description": "An input component getting a selection from the user, and where options can also be created by the user.",
|
|
4
|
-
"version": "19.22.
|
|
4
|
+
"version": "19.22.2",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,13 +21,13 @@
|
|
|
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/select-utils": "19.22.
|
|
28
|
-
"@commercetools-uikit/spacings": "19.22.
|
|
29
|
-
"@commercetools-uikit/text": "19.22.
|
|
30
|
-
"@commercetools-uikit/utils": "19.22.
|
|
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/select-utils": "19.22.2",
|
|
28
|
+
"@commercetools-uikit/spacings": "19.22.2",
|
|
29
|
+
"@commercetools-uikit/text": "19.22.2",
|
|
30
|
+
"@commercetools-uikit/utils": "19.22.2",
|
|
31
31
|
"@emotion/react": "^11.10.5",
|
|
32
32
|
"@emotion/styled": "^11.10.5",
|
|
33
33
|
"lodash": "4.17.21",
|