@commercetools-uikit/async-creatable-select-field 14.0.2 → 15.1.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.
@@ -109,7 +109,7 @@ var AsyncCreatableSelectField = /*#__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), 'AsyncCreatableSelectField: `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), 'AsyncCreatableSelectField: `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), 'AsyncCreatableSelectField: `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, {
@@ -230,7 +230,7 @@ AsyncCreatableSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
230
230
  } : {};
231
231
 
232
232
  // NOTE: This string will be replaced on build time with the package version.
233
- var version = "14.0.2";
233
+ var version = "15.1.0";
234
234
 
235
235
  exports["default"] = AsyncCreatableSelectField;
236
236
  exports.version = version;
@@ -201,7 +201,7 @@ AsyncCreatableSelectField.getDerivedStateFromProps = function (props, state) {
201
201
  AsyncCreatableSelectField.propTypes = {};
202
202
 
203
203
  // NOTE: This string will be replaced on build time with the package version.
204
- var version = "14.0.2";
204
+ var version = "15.1.0";
205
205
 
206
206
  exports["default"] = AsyncCreatableSelectField;
207
207
  exports.version = version;
@@ -83,7 +83,7 @@ var AsyncCreatableSelectField = /*#__PURE__*/function (_Component) {
83
83
 
84
84
  if (this.props.isMulti) {
85
85
  process.env.NODE_ENV !== "production" ? warning(_Array$isArray(this.props.value), 'AsyncCreatableSelectField: `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), 'AsyncCreatableSelectField: `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), 'AsyncCreatableSelectField: `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, {
@@ -204,6 +204,6 @@ AsyncCreatableSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
204
204
  } : {};
205
205
 
206
206
  // NOTE: This string will be replaced on build time with the package version.
207
- var version = "14.0.2";
207
+ var version = "15.1.0";
208
208
 
209
209
  export { AsyncCreatableSelectField as default, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/async-creatable-select-field",
3
3
  "description": "An input component with validation states and a label getting a selection from an asynchronously loaded list from the user, and where options can be created by the user.",
4
- "version": "14.0.2",
4
+ "version": "15.1.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,13 +21,13 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.17.2",
23
23
  "@babel/runtime-corejs3": "^7.17.2",
24
- "@commercetools-uikit/async-creatable-select-input": "14.0.2",
25
- "@commercetools-uikit/constraints": "14.0.1",
26
- "@commercetools-uikit/design-system": "14.0.0",
27
- "@commercetools-uikit/field-errors": "14.0.1",
28
- "@commercetools-uikit/field-label": "14.0.2",
29
- "@commercetools-uikit/spacings": "14.0.1",
30
- "@commercetools-uikit/utils": "14.0.1",
24
+ "@commercetools-uikit/async-creatable-select-input": "15.1.0",
25
+ "@commercetools-uikit/constraints": "15.1.0",
26
+ "@commercetools-uikit/design-system": "15.1.0",
27
+ "@commercetools-uikit/field-errors": "15.1.0",
28
+ "@commercetools-uikit/field-label": "15.1.0",
29
+ "@commercetools-uikit/spacings": "15.1.0",
30
+ "@commercetools-uikit/utils": "15.1.0",
31
31
  "@emotion/react": "^11.4.0",
32
32
  "@emotion/styled": "^11.3.0",
33
33
  "prop-types": "15.8.1",