@commercetools-uikit/creatable-select-input 19.22.4 → 19.22.6
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/README.md
CHANGED
|
@@ -82,8 +82,8 @@ export default Example;
|
|
|
82
82
|
| `closeMenuOnSelect` | `CreatableProps['closeMenuOnSelect']` | | | Whether the menu should close after a value is selected. Defaults to `true`.
<br>
[Props from React select was used](https://react-select.com/props#creatable-props) |
|
|
83
83
|
| `name` | `CreatableProps['name']` | | | Name of the HTML Input (optional - without this, no input will be rendered)
<br>
[Props from React select was used](https://react-select.com/props#creatable-props) |
|
|
84
84
|
| `noOptionsMessage` | `CreatableProps['noOptionsMessage']` | | | Can be used to render a custom value when there are no options (either because of no search results, or all options have been used, or there were none in the first place). Gets called with `{ inputValue: String }`. `inputValue` will be an empty string when no search text is present.
<br>
[Props from React select was used](https://react-select.com/props#creatable-props) |
|
|
85
|
-
| `onBlur` | `Function`<br/>[See signature.](#signature-
|
|
86
|
-
| `onChange` | `Function`<br/>[See signature.](#signature-
|
|
85
|
+
| `onBlur` | `Function`<br/>[See signature.](#signature-onblur) | | | Handle blur events on the control |
|
|
86
|
+
| `onChange` | `Function`<br/>[See signature.](#signature-onchange) | | | Called with a fake event when value changes. The event's `target.name` will be the `name` supplied in props. The event's `target.value` will hold the value. The value will be the selected option, or an array of options in case `isMulti` is `true`. |
|
|
87
87
|
| `onFocus` | `CreatableProps['onFocus']` | | | Handle focus events on the control
<br>
[Props from React select was used](https://react-select.com/props#creatable-props) |
|
|
88
88
|
| `onInputChange` | `CreatableProps['onInputChange']` | | | Handle change events on the input
<br>
[Props from React select was used](https://react-select.com/props#creatable-props) |
|
|
89
89
|
| `options` | `union`<br/>Possible values:<br/>`TValue[] , { options: TValue[] }[]` | | | Array of options that populate the select menu |
|
|
@@ -245,7 +245,7 @@ CreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
245
245
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
246
246
|
|
|
247
247
|
// NOTE: This string will be replaced on build time with the package version.
|
|
248
|
-
var version = "19.22.
|
|
248
|
+
var version = "19.22.6";
|
|
249
249
|
|
|
250
250
|
exports["default"] = CreatableSelectInput$1;
|
|
251
251
|
exports.version = version;
|
|
@@ -221,7 +221,7 @@ CreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer;
|
|
|
221
221
|
var CreatableSelectInput$1 = CreatableSelectInput;
|
|
222
222
|
|
|
223
223
|
// NOTE: This string will be replaced on build time with the package version.
|
|
224
|
-
var version = "19.22.
|
|
224
|
+
var version = "19.22.6";
|
|
225
225
|
|
|
226
226
|
exports["default"] = CreatableSelectInput$1;
|
|
227
227
|
exports.version = version;
|
|
@@ -226,6 +226,6 @@ CreatableSelectInput.ValueContainer = 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 = "19.22.
|
|
229
|
+
var version = "19.22.6";
|
|
230
230
|
|
|
231
231
|
export { CreatableSelectInput$1 as default, version };
|
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.6",
|
|
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.6",
|
|
25
|
+
"@commercetools-uikit/design-system": "19.22.6",
|
|
26
|
+
"@commercetools-uikit/icons": "19.22.6",
|
|
27
|
+
"@commercetools-uikit/select-utils": "19.22.6",
|
|
28
|
+
"@commercetools-uikit/spacings": "19.22.6",
|
|
29
|
+
"@commercetools-uikit/text": "19.22.6",
|
|
30
|
+
"@commercetools-uikit/utils": "19.22.6",
|
|
31
31
|
"@emotion/react": "^11.10.5",
|
|
32
32
|
"@emotion/styled": "^11.10.5",
|
|
33
33
|
"lodash": "4.17.21",
|