@commercetools-uikit/async-creatable-select-input 19.22.5 → 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` | `AsyncCreatableProps['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) |
|
|
83
83
|
| `name` | `AsyncCreatableProps['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) |
|
|
84
84
|
| `noOptionsMessage` | `AsyncCreatableProps['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) |
|
|
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` | `AsyncCreatableProps['onFocus']` | | | Handle focus events on the control
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
88
88
|
| `onInputChange` | `AsyncCreatableProps['onInputChange']` | | | Handle change events on the input
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
89
89
|
| `placeholder` | `AsyncCreatableProps['placeholder']` | | | Placeholder text for the select value
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
@@ -259,7 +259,7 @@ AsyncCreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer
|
|
|
259
259
|
var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
|
|
260
260
|
|
|
261
261
|
// NOTE: This string will be replaced on build time with the package version.
|
|
262
|
-
var version = "19.22.
|
|
262
|
+
var version = "19.22.6";
|
|
263
263
|
|
|
264
264
|
exports["default"] = AsyncCreatableSelectInput$1;
|
|
265
265
|
exports.version = version;
|
|
@@ -241,7 +241,7 @@ AsyncCreatableSelectInput.ValueContainer = reactSelect.components.ValueContainer
|
|
|
241
241
|
var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
|
|
242
242
|
|
|
243
243
|
// NOTE: This string will be replaced on build time with the package version.
|
|
244
|
-
var version = "19.22.
|
|
244
|
+
var version = "19.22.6";
|
|
245
245
|
|
|
246
246
|
exports["default"] = AsyncCreatableSelectInput$1;
|
|
247
247
|
exports.version = version;
|
|
@@ -238,6 +238,6 @@ AsyncCreatableSelectInput.ValueContainer = components.ValueContainer;
|
|
|
238
238
|
var AsyncCreatableSelectInput$1 = AsyncCreatableSelectInput;
|
|
239
239
|
|
|
240
240
|
// NOTE: This string will be replaced on build time with the package version.
|
|
241
|
-
var version = "19.22.
|
|
241
|
+
var version = "19.22.6";
|
|
242
242
|
|
|
243
243
|
export { AsyncCreatableSelectInput$1 as default, version };
|
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.6",
|
|
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.6",
|
|
25
|
+
"@commercetools-uikit/design-system": "19.22.6",
|
|
26
|
+
"@commercetools-uikit/icons": "19.22.6",
|
|
27
|
+
"@commercetools-uikit/loading-spinner": "19.22.6",
|
|
28
|
+
"@commercetools-uikit/select-utils": "19.22.6",
|
|
29
|
+
"@commercetools-uikit/spacings": "19.22.6",
|
|
30
|
+
"@commercetools-uikit/text": "19.22.6",
|
|
31
|
+
"@commercetools-uikit/utils": "19.22.6",
|
|
32
32
|
"@emotion/is-prop-valid": "1.3.1",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|