@commercetools-uikit/creatable-select-input 15.9.0 → 15.10.0
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 +1 -1
- package/dist/commercetools-uikit-creatable-select-input.cjs.prod.js +1 -1
- package/dist/commercetools-uikit-creatable-select-input.esm.js +1 -1
- package/dist/declarations/src/creatable-select-input.d.ts +6 -6
- package/package.json +9 -9
|
@@ -249,7 +249,7 @@ CreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
249
249
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
250
250
|
|
|
251
251
|
// NOTE: This string will be replaced on build time with the package version.
|
|
252
|
-
var version = "15.
|
|
252
|
+
var version = "15.10.0";
|
|
253
253
|
|
|
254
254
|
exports["default"] = CreatableSelectInput$1;
|
|
255
255
|
exports.version = version;
|
|
@@ -226,7 +226,7 @@ CreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
226
226
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
227
227
|
|
|
228
228
|
// NOTE: This string will be replaced on build time with the package version.
|
|
229
|
-
var version = "15.
|
|
229
|
+
var version = "15.10.0";
|
|
230
230
|
|
|
231
231
|
exports["default"] = CreatableSelectInput$1;
|
|
232
232
|
exports.version = version;
|
|
@@ -230,6 +230,6 @@ CreatableSelectInput.ValueContainer = components.ValueContainer;
|
|
|
230
230
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
231
231
|
|
|
232
232
|
// NOTE: This string will be replaced on build time with the package version.
|
|
233
|
-
var version = "15.
|
|
233
|
+
var version = "15.10.0";
|
|
234
234
|
|
|
235
235
|
export { CreatableSelectInput$1 as default, version };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
import { type GroupBase, type ActionMeta } from 'react-select';
|
|
3
3
|
import { type CreatableProps } from 'react-select/creatable';
|
|
4
|
-
|
|
4
|
+
type TValue = {
|
|
5
5
|
value: string;
|
|
6
6
|
label?: ReactNode;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type TOptions = TValue[] | {
|
|
9
9
|
options: TValue[];
|
|
10
10
|
}[];
|
|
11
|
-
|
|
11
|
+
type TCustomEvent = {
|
|
12
12
|
target: {
|
|
13
13
|
id?: string;
|
|
14
14
|
name?: string;
|
|
@@ -16,8 +16,8 @@ declare type TCustomEvent = {
|
|
|
16
16
|
};
|
|
17
17
|
persist?: () => void;
|
|
18
18
|
};
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
type ReactSelectCreatableProps = CreatableProps<unknown, boolean, GroupBase<unknown>>;
|
|
20
|
+
type TCreatableSelectInputProps = {
|
|
21
21
|
horizontalConstraint?: 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 'scale' | 'auto';
|
|
22
22
|
hasError?: boolean;
|
|
23
23
|
hasWarning?: boolean;
|
|
@@ -102,7 +102,7 @@ declare const CreatableSelectInput: {
|
|
|
102
102
|
};
|
|
103
103
|
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;
|
|
104
104
|
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;
|
|
105
|
-
MenuPortal: <Option_11, IsMulti_11 extends boolean, Group_11 extends GroupBase<Option_11>>(
|
|
105
|
+
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;
|
|
106
106
|
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;
|
|
107
107
|
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;
|
|
108
108
|
MultiValueLabel: <Option_15_1, IsMulti_15_1 extends boolean, Group_15_1 extends GroupBase<Option_15_1>>({ children, innerProps, }: import("react-select").MultiValueGenericProps<Option_15_1, IsMulti_15_1, Group_15_1>) => import("@emotion/react").jsx.JSX.Element;
|
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": "15.
|
|
4
|
+
"version": "15.10.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.19.0",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.19.1",
|
|
24
|
-
"@commercetools-uikit/constraints": "15.
|
|
25
|
-
"@commercetools-uikit/design-system": "15.
|
|
26
|
-
"@commercetools-uikit/icons": "15.
|
|
27
|
-
"@commercetools-uikit/select-utils": "15.
|
|
28
|
-
"@commercetools-uikit/spacings": "15.
|
|
29
|
-
"@commercetools-uikit/text": "15.
|
|
30
|
-
"@commercetools-uikit/utils": "15.
|
|
24
|
+
"@commercetools-uikit/constraints": "15.10.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "15.10.0",
|
|
26
|
+
"@commercetools-uikit/icons": "15.10.0",
|
|
27
|
+
"@commercetools-uikit/select-utils": "15.10.0",
|
|
28
|
+
"@commercetools-uikit/spacings": "15.10.0",
|
|
29
|
+
"@commercetools-uikit/text": "15.10.0",
|
|
30
|
+
"@commercetools-uikit/utils": "15.10.0",
|
|
31
31
|
"@emotion/react": "^11.4.0",
|
|
32
32
|
"@emotion/styled": "^11.3.0",
|
|
33
33
|
"lodash": "4.17.21",
|
|
34
34
|
"prop-types": "15.8.1",
|
|
35
|
-
"react-select": "5.
|
|
35
|
+
"react-select": "5.7.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"react": "17.0.2",
|