@commercetools-uikit/async-select-field 14.0.2 → 14.0.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.
|
@@ -109,7 +109,7 @@ var AsyncSelectField = /*#__PURE__*/function (_Component) {
|
|
|
109
109
|
|
|
110
110
|
if (this.props.isMulti) {
|
|
111
111
|
process.env.NODE_ENV !== "production" ? utils.warning(_Array$isArray__default["default"](this.props.value), 'AsyncSelectField: `value` is expected to be an array of string when isMulti is true') : void 0;
|
|
112
|
-
process.env.NODE_ENV !== "production" ? utils.warning(_Array$isArray__default["default"](this.props.touched), 'AsyncSelectField: `touched` is expected to be an array of boolean when isMulti is true') : void 0;
|
|
112
|
+
process.env.NODE_ENV !== "production" ? utils.warning(typeof this.props.touched === 'undefined' || _Array$isArray__default["default"](this.props.touched), 'AsyncSelectField: `touched` is expected to be an array of boolean when isMulti is true') : void 0;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
return jsxRuntime.jsx(Constraints__default["default"].Horizontal, {
|
|
@@ -227,7 +227,7 @@ AsyncSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
227
227
|
} : {};
|
|
228
228
|
|
|
229
229
|
// NOTE: This string will be replaced on build time with the package version.
|
|
230
|
-
var version = "14.0.
|
|
230
|
+
var version = "14.0.6";
|
|
231
231
|
|
|
232
232
|
exports["default"] = AsyncSelectField;
|
|
233
233
|
exports.version = version;
|
|
@@ -195,7 +195,7 @@ AsyncSelectField.getDerivedStateFromProps = function (props, state) {
|
|
|
195
195
|
AsyncSelectField.propTypes = {};
|
|
196
196
|
|
|
197
197
|
// NOTE: This string will be replaced on build time with the package version.
|
|
198
|
-
var version = "14.0.
|
|
198
|
+
var version = "14.0.6";
|
|
199
199
|
|
|
200
200
|
exports["default"] = AsyncSelectField;
|
|
201
201
|
exports.version = version;
|
|
@@ -83,7 +83,7 @@ var AsyncSelectField = /*#__PURE__*/function (_Component) {
|
|
|
83
83
|
|
|
84
84
|
if (this.props.isMulti) {
|
|
85
85
|
process.env.NODE_ENV !== "production" ? warning(_Array$isArray(this.props.value), 'AsyncSelectField: `value` is expected to be an array of string when isMulti is true') : void 0;
|
|
86
|
-
process.env.NODE_ENV !== "production" ? warning(_Array$isArray(this.props.touched), 'AsyncSelectField: `touched` is expected to be an array of boolean when isMulti is true') : void 0;
|
|
86
|
+
process.env.NODE_ENV !== "production" ? warning(typeof this.props.touched === 'undefined' || _Array$isArray(this.props.touched), 'AsyncSelectField: `touched` is expected to be an array of boolean when isMulti is true') : void 0;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
return jsx(Constraints.Horizontal, {
|
|
@@ -201,6 +201,6 @@ AsyncSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
201
201
|
} : {};
|
|
202
202
|
|
|
203
203
|
// NOTE: This string will be replaced on build time with the package version.
|
|
204
|
-
var version = "14.0.
|
|
204
|
+
var version = "14.0.6";
|
|
205
205
|
|
|
206
206
|
export { AsyncSelectField as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/async-select-field",
|
|
3
3
|
"description": "A controlled input component with validation states and a label getting a selection from an asynchronously loaded list from the user.",
|
|
4
|
-
"version": "14.0.
|
|
4
|
+
"version": "14.0.6",
|
|
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.17.2",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.17.2",
|
|
24
|
-
"@commercetools-uikit/async-select-input": "14.0.
|
|
24
|
+
"@commercetools-uikit/async-select-input": "14.0.6",
|
|
25
25
|
"@commercetools-uikit/constraints": "14.0.1",
|
|
26
26
|
"@commercetools-uikit/design-system": "14.0.0",
|
|
27
27
|
"@commercetools-uikit/field-errors": "14.0.1",
|
|
28
|
-
"@commercetools-uikit/field-label": "14.0.
|
|
29
|
-
"@commercetools-uikit/spacings": "14.0.
|
|
28
|
+
"@commercetools-uikit/field-label": "14.0.6",
|
|
29
|
+
"@commercetools-uikit/spacings": "14.0.6",
|
|
30
30
|
"@commercetools-uikit/utils": "14.0.1",
|
|
31
31
|
"@emotion/react": "^11.4.0",
|
|
32
32
|
"@emotion/styled": "^11.3.0",
|