@commercetools-uikit/creatable-select-input 15.2.2 → 15.2.4
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 +3 -3
- package/dist/commercetools-uikit-creatable-select-input.cjs.prod.js +1 -1
- package/dist/commercetools-uikit-creatable-select-input.esm.js +3 -3
- package/dist/declarations/src/creatable-select-input.d.ts +1 -1
- package/package.json +11 -11
|
@@ -195,11 +195,11 @@ CreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
195
195
|
onChange: _pt__default["default"].func,
|
|
196
196
|
options: _pt__default["default"].oneOfType([_pt__default["default"].arrayOf(_pt__default["default"].shape({
|
|
197
197
|
value: _pt__default["default"].string.isRequired,
|
|
198
|
-
label: _pt__default["default"].
|
|
198
|
+
label: _pt__default["default"].node
|
|
199
199
|
})), _pt__default["default"].arrayOf(_pt__default["default"].shape({
|
|
200
200
|
options: _pt__default["default"].arrayOf(_pt__default["default"].shape({
|
|
201
201
|
value: _pt__default["default"].string.isRequired,
|
|
202
|
-
label: _pt__default["default"].
|
|
202
|
+
label: _pt__default["default"].node
|
|
203
203
|
})).isRequired
|
|
204
204
|
}))]),
|
|
205
205
|
showOptionGroupDivider: _pt__default["default"].bool
|
|
@@ -251,7 +251,7 @@ CreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
251
251
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
252
252
|
|
|
253
253
|
// NOTE: This string will be replaced on build time with the package version.
|
|
254
|
-
var version = "15.2.
|
|
254
|
+
var version = "15.2.4";
|
|
255
255
|
|
|
256
256
|
exports["default"] = CreatableSelectInput$1;
|
|
257
257
|
exports.version = version;
|
|
@@ -228,7 +228,7 @@ CreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
228
228
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
229
229
|
|
|
230
230
|
// NOTE: This string will be replaced on build time with the package version.
|
|
231
|
-
var version = "15.2.
|
|
231
|
+
var version = "15.2.4";
|
|
232
232
|
|
|
233
233
|
exports["default"] = CreatableSelectInput$1;
|
|
234
234
|
exports.version = version;
|
|
@@ -176,11 +176,11 @@ CreatableSelectInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
176
176
|
onChange: _pt.func,
|
|
177
177
|
options: _pt.oneOfType([_pt.arrayOf(_pt.shape({
|
|
178
178
|
value: _pt.string.isRequired,
|
|
179
|
-
label: _pt.
|
|
179
|
+
label: _pt.node
|
|
180
180
|
})), _pt.arrayOf(_pt.shape({
|
|
181
181
|
options: _pt.arrayOf(_pt.shape({
|
|
182
182
|
value: _pt.string.isRequired,
|
|
183
|
-
label: _pt.
|
|
183
|
+
label: _pt.node
|
|
184
184
|
})).isRequired
|
|
185
185
|
}))]),
|
|
186
186
|
showOptionGroupDivider: _pt.bool
|
|
@@ -232,6 +232,6 @@ CreatableSelectInput.ValueContainer = components.ValueContainer;
|
|
|
232
232
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
233
233
|
|
|
234
234
|
// NOTE: This string will be replaced on build time with the package version.
|
|
235
|
-
var version = "15.2.
|
|
235
|
+
var version = "15.2.4";
|
|
236
236
|
|
|
237
237
|
export { CreatableSelectInput$1 as default, version };
|
|
@@ -3,7 +3,7 @@ import { type GroupBase, type ActionMeta } from 'react-select';
|
|
|
3
3
|
import { type CreatableProps } from 'react-select/creatable';
|
|
4
4
|
declare type TValue = {
|
|
5
5
|
value: string;
|
|
6
|
-
label
|
|
6
|
+
label?: ReactNode;
|
|
7
7
|
};
|
|
8
8
|
declare type TOptions = TValue[] | {
|
|
9
9
|
options: TValue[];
|
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.2.
|
|
4
|
+
"version": "15.2.4",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"module": "dist/commercetools-uikit-creatable-select-input.esm.js",
|
|
20
20
|
"files": ["dist"],
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@babel/runtime": "^7.
|
|
23
|
-
"@babel/runtime-corejs3": "^7.
|
|
24
|
-
"@commercetools-uikit/constraints": "15.2.
|
|
25
|
-
"@commercetools-uikit/design-system": "15.2.
|
|
26
|
-
"@commercetools-uikit/icons": "15.2.
|
|
27
|
-
"@commercetools-uikit/select-utils": "15.2.
|
|
28
|
-
"@commercetools-uikit/spacings": "15.2.
|
|
29
|
-
"@commercetools-uikit/text": "15.2.
|
|
30
|
-
"@commercetools-uikit/utils": "15.2.
|
|
22
|
+
"@babel/runtime": "^7.19.0",
|
|
23
|
+
"@babel/runtime-corejs3": "^7.19.1",
|
|
24
|
+
"@commercetools-uikit/constraints": "15.2.4",
|
|
25
|
+
"@commercetools-uikit/design-system": "15.2.4",
|
|
26
|
+
"@commercetools-uikit/icons": "15.2.4",
|
|
27
|
+
"@commercetools-uikit/select-utils": "15.2.4",
|
|
28
|
+
"@commercetools-uikit/spacings": "15.2.4",
|
|
29
|
+
"@commercetools-uikit/text": "15.2.4",
|
|
30
|
+
"@commercetools-uikit/utils": "15.2.4",
|
|
31
31
|
"@emotion/react": "^11.4.0",
|
|
32
32
|
"@emotion/styled": "^11.3.0",
|
|
33
33
|
"lodash": "4.17.21",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"react": "17.0.2",
|
|
39
39
|
"react-dom": "17.0.2",
|
|
40
|
-
"react-intl": "^5.
|
|
40
|
+
"react-intl": "^5.25.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "17.x",
|