@commercetools-uikit/search-select-field 14.0.6 → 15.1.1
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 -1
- package/dist/commercetools-uikit-search-select-field.cjs.dev.js +2 -2
- package/dist/commercetools-uikit-search-select-field.cjs.prod.js +2 -2
- package/dist/commercetools-uikit-search-select-field.esm.js +2 -2
- package/dist/declarations/src/search-select-field.d.ts +1 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -87,7 +87,7 @@ export default Example;
|
|
|
87
87
|
| ------------------------ | ----------------------------------------------------------------------------------------------------- | :------: | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
88
88
|
| `horizontalConstraint` | `union`<br/>Possible values:<br/>`, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto'` | | | Horizontal size limit of the input fields. |
|
|
89
89
|
| `aria-label` | `AsyncProps['aria-label']` | | | Aria label (for assistive tech)
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
90
|
-
| `aria-labelledby
|
|
90
|
+
| `aria-labelledby` | `AsyncProps['aria-labelledby']` | | | HTML ID of an element that should be used as the label (for assistive tech)
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
91
91
|
| `id` | `AsyncProps['inputId']` | | | The id of the search input. This forwarded as react-select's "inputId"
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
92
92
|
| `containerId` | `AsyncProps['id']` | | | The id to set on the SelectContainer component. This is forwarded as react-select's "id"
<br>
[Props from React select was used](https://react-select.com/props) |
|
|
93
93
|
| `name` | `AsyncProps['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) |
|
|
@@ -92,7 +92,7 @@ var SearchSelectField = function SearchSelectField(props) {
|
|
|
92
92
|
horizontalConstraint: "scale",
|
|
93
93
|
hasError: hasError,
|
|
94
94
|
"aria-label": props['aria-label'],
|
|
95
|
-
"aria-labelledby": props['aria-labelledby
|
|
95
|
+
"aria-labelledby": props['aria-labelledby'],
|
|
96
96
|
"aria-invalid": hasError,
|
|
97
97
|
"aria-errormessage": sequentialErrorsId,
|
|
98
98
|
isAutofocussed: props.isAutofocussed,
|
|
@@ -177,7 +177,7 @@ SearchSelectField.toFieldErrors = function toFieldErrors(errors) {
|
|
|
177
177
|
var SearchSelectField$1 = SearchSelectField;
|
|
178
178
|
|
|
179
179
|
// NOTE: This string will be replaced on build time with the package version.
|
|
180
|
-
var version = "
|
|
180
|
+
var version = "15.1.1";
|
|
181
181
|
|
|
182
182
|
exports["default"] = SearchSelectField$1;
|
|
183
183
|
exports.version = version;
|
|
@@ -83,7 +83,7 @@ var SearchSelectField = function SearchSelectField(props) {
|
|
|
83
83
|
horizontalConstraint: "scale",
|
|
84
84
|
hasError: hasError,
|
|
85
85
|
"aria-label": props['aria-label'],
|
|
86
|
-
"aria-labelledby": props['aria-labelledby
|
|
86
|
+
"aria-labelledby": props['aria-labelledby'],
|
|
87
87
|
"aria-invalid": hasError,
|
|
88
88
|
"aria-errormessage": sequentialErrorsId,
|
|
89
89
|
isAutofocussed: props.isAutofocussed,
|
|
@@ -143,7 +143,7 @@ SearchSelectField.toFieldErrors = function toFieldErrors(errors) {
|
|
|
143
143
|
var SearchSelectField$1 = SearchSelectField;
|
|
144
144
|
|
|
145
145
|
// NOTE: This string will be replaced on build time with the package version.
|
|
146
|
-
var version = "
|
|
146
|
+
var version = "15.1.1";
|
|
147
147
|
|
|
148
148
|
exports["default"] = SearchSelectField$1;
|
|
149
149
|
exports.version = version;
|
|
@@ -68,7 +68,7 @@ var SearchSelectField = function SearchSelectField(props) {
|
|
|
68
68
|
horizontalConstraint: "scale",
|
|
69
69
|
hasError: hasError,
|
|
70
70
|
"aria-label": props['aria-label'],
|
|
71
|
-
"aria-labelledby": props['aria-labelledby
|
|
71
|
+
"aria-labelledby": props['aria-labelledby'],
|
|
72
72
|
"aria-invalid": hasError,
|
|
73
73
|
"aria-errormessage": sequentialErrorsId,
|
|
74
74
|
isAutofocussed: props.isAutofocussed,
|
|
@@ -153,6 +153,6 @@ SearchSelectField.toFieldErrors = function toFieldErrors(errors) {
|
|
|
153
153
|
var SearchSelectField$1 = SearchSelectField;
|
|
154
154
|
|
|
155
155
|
// NOTE: This string will be replaced on build time with the package version.
|
|
156
|
-
var version = "
|
|
156
|
+
var version = "15.1.1";
|
|
157
157
|
|
|
158
158
|
export { SearchSelectField$1 as default, version };
|
|
@@ -18,7 +18,7 @@ declare type TCustomFormErrors<Values> = {
|
|
|
18
18
|
declare type TSearchSelectFieldProps = {
|
|
19
19
|
horizontalConstraint?: 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 'scale' | 'auto';
|
|
20
20
|
'aria-label'?: ReactSelectAsyncProps['aria-label'];
|
|
21
|
-
'aria-labelledby
|
|
21
|
+
'aria-labelledby'?: ReactSelectAsyncProps['aria-labelledby'];
|
|
22
22
|
id?: ReactSelectAsyncProps['inputId'];
|
|
23
23
|
containerId?: ReactSelectAsyncProps['id'];
|
|
24
24
|
name?: ReactSelectAsyncProps['name'];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/search-select-field",
|
|
3
3
|
"description": "A search select field built on top of search select input, allowing users to asynchronously search for options",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "15.1.1",
|
|
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.17.2",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.17.2",
|
|
24
|
-
"@commercetools-uikit/constraints": "
|
|
25
|
-
"@commercetools-uikit/design-system": "
|
|
26
|
-
"@commercetools-uikit/field-errors": "
|
|
27
|
-
"@commercetools-uikit/field-label": "
|
|
28
|
-
"@commercetools-uikit/hooks": "
|
|
29
|
-
"@commercetools-uikit/search-select-input": "
|
|
30
|
-
"@commercetools-uikit/spacings": "
|
|
31
|
-
"@commercetools-uikit/utils": "
|
|
24
|
+
"@commercetools-uikit/constraints": "15.1.1",
|
|
25
|
+
"@commercetools-uikit/design-system": "15.1.1",
|
|
26
|
+
"@commercetools-uikit/field-errors": "15.1.1",
|
|
27
|
+
"@commercetools-uikit/field-label": "15.1.1",
|
|
28
|
+
"@commercetools-uikit/hooks": "15.1.1",
|
|
29
|
+
"@commercetools-uikit/search-select-input": "15.1.1",
|
|
30
|
+
"@commercetools-uikit/spacings": "15.1.1",
|
|
31
|
+
"@commercetools-uikit/utils": "15.1.1",
|
|
32
32
|
"@emotion/react": "^11.4.0",
|
|
33
33
|
"@emotion/styled": "^11.3.0",
|
|
34
34
|
"prop-types": "15.8.1",
|