@commercetools-uikit/async-select-field 19.11.0 → 19.12.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.
@@ -69,7 +69,6 @@ const hasWarnings = warnings => {
69
69
  return warnings && _someInstanceProperty__default["default"](_context2 = _Object$values__default["default"](warnings)).call(_context2, Boolean);
70
70
  };
71
71
  let AsyncSelectField = /*#__PURE__*/function (_Component) {
72
- _inherits(AsyncSelectField, _Component);
73
72
  function AsyncSelectField() {
74
73
  var _this;
75
74
  _classCallCheck(this, AsyncSelectField);
@@ -84,7 +83,8 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
84
83
  };
85
84
  return _this;
86
85
  }
87
- _createClass(AsyncSelectField, [{
86
+ _inherits(AsyncSelectField, _Component);
87
+ return _createClass(AsyncSelectField, [{
88
88
  key: "render",
89
89
  value: function render() {
90
90
  const hasError = AsyncSelectInput__default["default"].isTouched(this.props.touched) && hasErrors(this.props.errors);
@@ -183,7 +183,6 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
183
183
  return errors;
184
184
  }
185
185
  }]);
186
- return AsyncSelectField;
187
186
  }(react.Component);
188
187
  AsyncSelectField.displayName = 'AsyncSelectField';
189
188
  AsyncSelectField.defaultProps = {
@@ -67,7 +67,6 @@ const hasWarnings = warnings => {
67
67
  return warnings && _someInstanceProperty__default["default"](_context2 = _Object$values__default["default"](warnings)).call(_context2, Boolean);
68
68
  };
69
69
  let AsyncSelectField = /*#__PURE__*/function (_Component) {
70
- _inherits(AsyncSelectField, _Component);
71
70
  function AsyncSelectField() {
72
71
  var _this;
73
72
  _classCallCheck(this, AsyncSelectField);
@@ -82,7 +81,8 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
82
81
  };
83
82
  return _this;
84
83
  }
85
- _createClass(AsyncSelectField, [{
84
+ _inherits(AsyncSelectField, _Component);
85
+ return _createClass(AsyncSelectField, [{
86
86
  key: "render",
87
87
  value: function render() {
88
88
  const hasError = AsyncSelectInput__default["default"].isTouched(this.props.touched) && hasErrors(this.props.errors);
@@ -174,7 +174,6 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
174
174
  return errors;
175
175
  }
176
176
  }]);
177
- return AsyncSelectField;
178
177
  }(react.Component);
179
178
  AsyncSelectField.displayName = 'AsyncSelectField';
180
179
  AsyncSelectField.defaultProps = {
@@ -43,7 +43,6 @@ const hasWarnings = warnings => {
43
43
  return warnings && _someInstanceProperty(_context2 = _Object$values(warnings)).call(_context2, Boolean);
44
44
  };
45
45
  let AsyncSelectField = /*#__PURE__*/function (_Component) {
46
- _inherits(AsyncSelectField, _Component);
47
46
  function AsyncSelectField() {
48
47
  var _this;
49
48
  _classCallCheck(this, AsyncSelectField);
@@ -58,7 +57,8 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
58
57
  };
59
58
  return _this;
60
59
  }
61
- _createClass(AsyncSelectField, [{
60
+ _inherits(AsyncSelectField, _Component);
61
+ return _createClass(AsyncSelectField, [{
62
62
  key: "render",
63
63
  value: function render() {
64
64
  const hasError = AsyncSelectInput.isTouched(this.props.touched) && hasErrors(this.props.errors);
@@ -157,7 +157,6 @@ let AsyncSelectField = /*#__PURE__*/function (_Component) {
157
157
  return errors;
158
158
  }
159
159
  }]);
160
- return AsyncSelectField;
161
160
  }(Component);
162
161
  AsyncSelectField.displayName = 'AsyncSelectField';
163
162
  AsyncSelectField.defaultProps = {
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": "19.11.0",
4
+ "version": "19.12.0",
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.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/async-select-input": "19.11.0",
25
- "@commercetools-uikit/constraints": "19.11.0",
26
- "@commercetools-uikit/design-system": "19.11.0",
27
- "@commercetools-uikit/field-errors": "19.11.0",
28
- "@commercetools-uikit/field-label": "19.11.0",
29
- "@commercetools-uikit/field-warnings": "19.11.0",
30
- "@commercetools-uikit/spacings": "19.11.0",
31
- "@commercetools-uikit/utils": "19.11.0",
24
+ "@commercetools-uikit/async-select-input": "19.12.0",
25
+ "@commercetools-uikit/constraints": "19.12.0",
26
+ "@commercetools-uikit/design-system": "19.12.0",
27
+ "@commercetools-uikit/field-errors": "19.12.0",
28
+ "@commercetools-uikit/field-label": "19.12.0",
29
+ "@commercetools-uikit/field-warnings": "19.12.0",
30
+ "@commercetools-uikit/spacings": "19.12.0",
31
+ "@commercetools-uikit/utils": "19.12.0",
32
32
  "@emotion/react": "^11.10.5",
33
33
  "@emotion/styled": "^11.10.5",
34
34
  "prop-types": "15.8.1",