@commercetools-uikit/selectable-search-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
|
@@ -65,12 +65,12 @@ export default Example;
|
|
|
65
65
|
| `aria-errormessage` | `string` | | | HTML ID of an element containing an error message related to the input. |
|
|
66
66
|
| `name` | `string` | | | Used as HTML name of the input component property. |
|
|
67
67
|
| `value` | `Object`<br/>[See signature.](#signature-value) | ✅ | | Value of the input. Consists of text input and selected option. |
|
|
68
|
-
| `_experimentalValue` | `Object`<br/>[See signature.](#signature-
|
|
69
|
-
| `onChange` | `Function`<br/>[See signature.](#signature-
|
|
70
|
-
| `onBlur` | `Function`<br/>[See signature.](#signature-
|
|
71
|
-
| `onFocus` | `Function`<br/>[See signature.](#signature-
|
|
72
|
-
| `onSubmit` | `Function`<br/>[See signature.](#signature-
|
|
73
|
-
| `onReset` | `Function`<br/>[See signature.](#signature-
|
|
68
|
+
| `_experimentalValue` | `Object`<br/>[See signature.](#signature-_experimentalvalue) | | | |
|
|
69
|
+
| `onChange` | `Function`<br/>[See signature.](#signature-onchange) | | | Called with the event of the input or dropdown when either the selectable dropdown or the text input have changed.
The change event from the text input has a suffix of `.textInput` and the change event from the dropdown has a suffix of `.dropdown`. |
|
|
70
|
+
| `onBlur` | `Function`<br/>[See signature.](#signature-onblur) | | | Called when input is blurred |
|
|
71
|
+
| `onFocus` | `Function`<br/>[See signature.](#signature-onfocus) | | | Called when input is focused |
|
|
72
|
+
| `onSubmit` | `Function`<br/>[See signature.](#signature-onsubmit) | ✅ | | Handler when the search button is clicked. |
|
|
73
|
+
| `onReset` | `Function`<br/>[See signature.](#signature-onreset) | | | Handler when the clear button is clicked. |
|
|
74
74
|
| `isAutofocussed` | `boolean` | | | Focus the input on initial render |
|
|
75
75
|
| `isDisabled` | `boolean` | | | Indicates that the input cannot be modified (e.g not authorized, or changes currently saving). |
|
|
76
76
|
| `isReadOnly` | `boolean` | | | Indicates that the field is displaying read-only content |
|
|
@@ -80,7 +80,7 @@ export default Example;
|
|
|
80
80
|
| `isClearable` | `boolean` | | `true` | Indicates if the input should be cleared when the clear button is clicked.
Defaults to true. |
|
|
81
81
|
| `isCondensed` | `boolean` | | | Use this property to reduce the paddings of the component for a ui compact variant |
|
|
82
82
|
| `horizontalConstraint` | `union`<br/>Possible values:<br/>`10 , 11 , 12 , 13 , 14 , 15 , 16 , 'scale' , 'auto'` | | `'scale'` | Horizontal size limit of the input fields. |
|
|
83
|
-
| `options` | `union`<br/>Possible values:<br/>`TOption[] , TOptionObject[]` |
|
|
83
|
+
| `options` | `union`<br/>Possible values:<br/>`TOption[] , TOptionObject[]` | ✅ | | Array of options that populate the select menu |
|
|
84
84
|
| `menuPortalZIndex` | `number` | | `1` | z-index value for the menu portal
<br>
Use in conjunction with `menuPortalTarget` |
|
|
85
85
|
| `menuPortalTarget` | `ReactSelectProps['menuPortalTarget']` | | | Dom element to portal the select menu to
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
86
86
|
| `menuShouldBlockScroll` | `ReactSelectProps['menuShouldBlockScroll']` | | | whether the menu should block scroll while open
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
@@ -588,7 +588,7 @@ SelectableSearchInput.getDropdownId = getDropdownName;
|
|
|
588
588
|
var SelectableSearchInput$1 = SelectableSearchInput;
|
|
589
589
|
|
|
590
590
|
// NOTE: This string will be replaced on build time with the package version.
|
|
591
|
-
var version = "19.22.
|
|
591
|
+
var version = "19.22.6";
|
|
592
592
|
|
|
593
593
|
exports["default"] = SelectableSearchInput$1;
|
|
594
594
|
exports.version = version;
|
|
@@ -523,7 +523,7 @@ SelectableSearchInput.getDropdownId = getDropdownName;
|
|
|
523
523
|
var SelectableSearchInput$1 = SelectableSearchInput;
|
|
524
524
|
|
|
525
525
|
// NOTE: This string will be replaced on build time with the package version.
|
|
526
|
-
var version = "19.22.
|
|
526
|
+
var version = "19.22.6";
|
|
527
527
|
|
|
528
528
|
exports["default"] = SelectableSearchInput$1;
|
|
529
529
|
exports.version = version;
|
|
@@ -561,6 +561,6 @@ SelectableSearchInput.getDropdownId = getDropdownName;
|
|
|
561
561
|
var SelectableSearchInput$1 = SelectableSearchInput;
|
|
562
562
|
|
|
563
563
|
// NOTE: This string will be replaced on build time with the package version.
|
|
564
|
-
var version = "19.22.
|
|
564
|
+
var version = "19.22.6";
|
|
565
565
|
|
|
566
566
|
export { SelectableSearchInput$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/selectable-search-input",
|
|
3
3
|
"description": "A controlled selectable search input component for single-line strings with validation states.",
|
|
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,15 +21,15 @@
|
|
|
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/hooks": "19.22.
|
|
27
|
-
"@commercetools-uikit/icon-button": "19.22.
|
|
28
|
-
"@commercetools-uikit/icons": "19.22.
|
|
29
|
-
"@commercetools-uikit/input-utils": "19.22.
|
|
30
|
-
"@commercetools-uikit/secondary-icon-button": "19.22.
|
|
31
|
-
"@commercetools-uikit/select-utils": "19.22.
|
|
32
|
-
"@commercetools-uikit/utils": "19.22.
|
|
24
|
+
"@commercetools-uikit/constraints": "19.22.6",
|
|
25
|
+
"@commercetools-uikit/design-system": "19.22.6",
|
|
26
|
+
"@commercetools-uikit/hooks": "19.22.6",
|
|
27
|
+
"@commercetools-uikit/icon-button": "19.22.6",
|
|
28
|
+
"@commercetools-uikit/icons": "19.22.6",
|
|
29
|
+
"@commercetools-uikit/input-utils": "19.22.6",
|
|
30
|
+
"@commercetools-uikit/secondary-icon-button": "19.22.6",
|
|
31
|
+
"@commercetools-uikit/select-utils": "19.22.6",
|
|
32
|
+
"@commercetools-uikit/utils": "19.22.6",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|
|
35
35
|
"lodash": "4.17.21",
|