@commercetools-uikit/creatable-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 CreatableSelectField = /*#__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), 'CreatableSelectField: `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), 'CreatableSelectField: `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), 'CreatableSelectField: `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, {
@@ -233,7 +233,7 @@ CreatableSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
233
233
  } : {};
234
234
 
235
235
  // NOTE: This string will be replaced on build time with the package version.
236
- var version = "14.0.2";
236
+ var version = "14.0.6";
237
237
 
238
238
  exports["default"] = CreatableSelectField;
239
239
  exports.version = version;
@@ -197,7 +197,7 @@ CreatableSelectField.getDerivedStateFromProps = function (props, state) {
197
197
  CreatableSelectField.propTypes = {};
198
198
 
199
199
  // NOTE: This string will be replaced on build time with the package version.
200
- var version = "14.0.2";
200
+ var version = "14.0.6";
201
201
 
202
202
  exports["default"] = CreatableSelectField;
203
203
  exports.version = version;
@@ -83,7 +83,7 @@ var CreatableSelectField = /*#__PURE__*/function (_Component) {
83
83
 
84
84
  if (this.props.isMulti) {
85
85
  process.env.NODE_ENV !== "production" ? warning(_Array$isArray(this.props.value), 'CreatableSelectField: `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), 'CreatableSelectField: `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), 'CreatableSelectField: `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, {
@@ -207,6 +207,6 @@ CreatableSelectField.propTypes = process.env.NODE_ENV !== "production" ? {
207
207
  } : {};
208
208
 
209
209
  // NOTE: This string will be replaced on build time with the package version.
210
- var version = "14.0.2";
210
+ var version = "14.0.6";
211
211
 
212
212
  export { CreatableSelectField as default, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/creatable-select-field",
3
3
  "description": "A controlled input component with validation states and a label getting a selection from the user, and where options can also be created by the user.",
4
- "version": "14.0.2",
4
+ "version": "14.0.6",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -22,11 +22,11 @@
22
22
  "@babel/runtime": "^7.17.2",
23
23
  "@babel/runtime-corejs3": "^7.17.2",
24
24
  "@commercetools-uikit/constraints": "14.0.1",
25
- "@commercetools-uikit/creatable-select-input": "14.0.2",
25
+ "@commercetools-uikit/creatable-select-input": "14.0.6",
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.2",
29
- "@commercetools-uikit/spacings": "14.0.1",
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",