@commercetools-uikit/search-select-input 16.9.0 → 16.11.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/README.md +1 -0
- package/dist/commercetools-uikit-search-select-input.cjs.dev.js +1 -1
- package/dist/commercetools-uikit-search-select-input.cjs.prod.js +1 -1
- package/dist/commercetools-uikit-search-select-input.esm.js +1 -1
- package/dist/declarations/src/search-select-input.d.ts +1 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -85,6 +85,7 @@ export default Example;
|
|
|
85
85
|
| `isMulti` | `AsyncProps['isMulti']` | | | Support multiple selected options
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
86
86
|
| `isAutofocussed` | `boolean` | | | Focus the control when it is mounted. Renamed autoFocus of react-select |
|
|
87
87
|
| `noOptionsMessage` | `AsyncProps['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) |
|
|
88
|
+
| `menuIsOpen` | `AsyncProps['menuIsOpen']` | | | Can be used to enforce the select input to be opened
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
88
89
|
| `maxMenuHeight` | `AsyncProps['maxMenuHeight']` | | `220` | Maximum height of the menu before scrolling
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
89
90
|
| `menuPortalTarget` | `AsyncProps['menuPortalTarget']` | | | Dom element to portal the select menu to
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
90
91
|
| `menuPortalZIndex` | `number` | | `1` | z-index value for the menu portal
<br>
Use in conjunction with `menuPortalTarget` |
|
|
@@ -130,7 +130,7 @@ SearchSelectInput.displayName = 'SearchSelectInput';
|
|
|
130
130
|
var SearchSelectInput$1 = SearchSelectInput;
|
|
131
131
|
|
|
132
132
|
// NOTE: This string will be replaced on build time with the package version.
|
|
133
|
-
var version = "16.
|
|
133
|
+
var version = "16.11.0";
|
|
134
134
|
|
|
135
135
|
exports["default"] = SearchSelectInput$1;
|
|
136
136
|
exports.version = version;
|
|
@@ -109,7 +109,7 @@ SearchSelectInput.displayName = 'SearchSelectInput';
|
|
|
109
109
|
var SearchSelectInput$1 = SearchSelectInput;
|
|
110
110
|
|
|
111
111
|
// NOTE: This string will be replaced on build time with the package version.
|
|
112
|
-
var version = "16.
|
|
112
|
+
var version = "16.11.0";
|
|
113
113
|
|
|
114
114
|
exports["default"] = SearchSelectInput$1;
|
|
115
115
|
exports.version = version;
|
|
@@ -111,6 +111,6 @@ SearchSelectInput.displayName = 'SearchSelectInput';
|
|
|
111
111
|
var SearchSelectInput$1 = SearchSelectInput;
|
|
112
112
|
|
|
113
113
|
// NOTE: This string will be replaced on build time with the package version.
|
|
114
|
-
var version = "16.
|
|
114
|
+
var version = "16.11.0";
|
|
115
115
|
|
|
116
116
|
export { SearchSelectInput$1 as default, version };
|
|
@@ -34,6 +34,7 @@ export type TSearchSelectInputProps = {
|
|
|
34
34
|
isMulti?: ReactSelectAsyncProps['isMulti'];
|
|
35
35
|
isAutofocussed?: boolean;
|
|
36
36
|
noOptionsMessage?: ReactSelectAsyncProps['noOptionsMessage'];
|
|
37
|
+
menuIsOpen?: ReactSelectAsyncProps['menuIsOpen'];
|
|
37
38
|
maxMenuHeight?: ReactSelectAsyncProps['maxMenuHeight'];
|
|
38
39
|
menuPortalTarget?: ReactSelectAsyncProps['menuPortalTarget'];
|
|
39
40
|
menuPortalZIndex: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/search-select-input",
|
|
3
3
|
"description": "A search select input component built on top of `@commercetools-uikit/async-select-input` to asynchronously load results (options) using the keyword that the user has entered.",
|
|
4
|
-
"version": "16.
|
|
4
|
+
"version": "16.11.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.20.13",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
24
|
-
"@commercetools-uikit/async-select-input": "16.
|
|
25
|
-
"@commercetools-uikit/design-system": "16.
|
|
26
|
-
"@commercetools-uikit/select-utils": "16.
|
|
27
|
-
"@commercetools-uikit/spacings": "16.
|
|
28
|
-
"@commercetools-uikit/text": "16.
|
|
29
|
-
"@commercetools-uikit/utils": "16.
|
|
24
|
+
"@commercetools-uikit/async-select-input": "16.11.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "16.11.0",
|
|
26
|
+
"@commercetools-uikit/select-utils": "16.11.0",
|
|
27
|
+
"@commercetools-uikit/spacings": "16.11.0",
|
|
28
|
+
"@commercetools-uikit/text": "16.11.0",
|
|
29
|
+
"@commercetools-uikit/utils": "16.11.0",
|
|
30
30
|
"@emotion/react": "^11.10.5",
|
|
31
31
|
"@emotion/styled": "^11.10.5",
|
|
32
32
|
"prop-types": "15.8.1"
|