@commercetools-uikit/money-field 19.10.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 MoneyField = /*#__PURE__*/function (_Component) {
72
- _inherits(MoneyField, _Component);
73
72
  function MoneyField() {
74
73
  var _this;
75
74
  _classCallCheck(this, MoneyField);
@@ -84,7 +83,8 @@ let MoneyField = /*#__PURE__*/function (_Component) {
84
83
  };
85
84
  return _this;
86
85
  }
87
- _createClass(MoneyField, [{
86
+ _inherits(MoneyField, _Component);
87
+ return _createClass(MoneyField, [{
88
88
  key: "render",
89
89
  value: function render() {
90
90
  // MoneyInput.isTouched() ensures both fields have been touched.
@@ -160,7 +160,6 @@ let MoneyField = /*#__PURE__*/function (_Component) {
160
160
  return errors;
161
161
  }
162
162
  }]);
163
- return MoneyField;
164
163
  }(react.Component);
165
164
  MoneyField.displayName = 'MoneyField';
166
165
  MoneyField.defaultProps = {
@@ -205,7 +204,7 @@ MoneyField.propTypes = process.env.NODE_ENV !== "production" ? {
205
204
  var MoneyField$1 = MoneyField;
206
205
 
207
206
  // NOTE: This string will be replaced on build time with the package version.
208
- var version = "19.10.0";
207
+ var version = "19.11.0";
209
208
 
210
209
  exports["default"] = MoneyField$1;
211
210
  exports.version = version;
@@ -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 MoneyField = /*#__PURE__*/function (_Component) {
70
- _inherits(MoneyField, _Component);
71
70
  function MoneyField() {
72
71
  var _this;
73
72
  _classCallCheck(this, MoneyField);
@@ -82,7 +81,8 @@ let MoneyField = /*#__PURE__*/function (_Component) {
82
81
  };
83
82
  return _this;
84
83
  }
85
- _createClass(MoneyField, [{
84
+ _inherits(MoneyField, _Component);
85
+ return _createClass(MoneyField, [{
86
86
  key: "render",
87
87
  value: function render() {
88
88
  // MoneyInput.isTouched() ensures both fields have been touched.
@@ -153,7 +153,6 @@ let MoneyField = /*#__PURE__*/function (_Component) {
153
153
  return errors;
154
154
  }
155
155
  }]);
156
- return MoneyField;
157
156
  }(react.Component);
158
157
  MoneyField.displayName = 'MoneyField';
159
158
  MoneyField.defaultProps = {
@@ -166,7 +165,7 @@ MoneyField.propTypes = {};
166
165
  var MoneyField$1 = MoneyField;
167
166
 
168
167
  // NOTE: This string will be replaced on build time with the package version.
169
- var version = "19.10.0";
168
+ var version = "19.11.0";
170
169
 
171
170
  exports["default"] = MoneyField$1;
172
171
  exports.version = version;
@@ -43,7 +43,6 @@ const hasWarnings = warnings => {
43
43
  return warnings && _someInstanceProperty(_context2 = _Object$values(warnings)).call(_context2, Boolean);
44
44
  };
45
45
  let MoneyField = /*#__PURE__*/function (_Component) {
46
- _inherits(MoneyField, _Component);
47
46
  function MoneyField() {
48
47
  var _this;
49
48
  _classCallCheck(this, MoneyField);
@@ -58,7 +57,8 @@ let MoneyField = /*#__PURE__*/function (_Component) {
58
57
  };
59
58
  return _this;
60
59
  }
61
- _createClass(MoneyField, [{
60
+ _inherits(MoneyField, _Component);
61
+ return _createClass(MoneyField, [{
62
62
  key: "render",
63
63
  value: function render() {
64
64
  // MoneyInput.isTouched() ensures both fields have been touched.
@@ -134,7 +134,6 @@ let MoneyField = /*#__PURE__*/function (_Component) {
134
134
  return errors;
135
135
  }
136
136
  }]);
137
- return MoneyField;
138
137
  }(Component);
139
138
  MoneyField.displayName = 'MoneyField';
140
139
  MoneyField.defaultProps = {
@@ -179,6 +178,6 @@ MoneyField.propTypes = process.env.NODE_ENV !== "production" ? {
179
178
  var MoneyField$1 = MoneyField;
180
179
 
181
180
  // NOTE: This string will be replaced on build time with the package version.
182
- var version = "19.10.0";
181
+ var version = "19.11.0";
183
182
 
184
183
  export { MoneyField$1 as default, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/money-field",
3
3
  "description": "A controlled input component for money values with validation states and a label.",
4
- "version": "19.10.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/constraints": "19.10.0",
25
- "@commercetools-uikit/design-system": "19.10.0",
26
- "@commercetools-uikit/field-errors": "19.10.0",
27
- "@commercetools-uikit/field-label": "19.10.0",
28
- "@commercetools-uikit/field-warnings": "19.10.0",
29
- "@commercetools-uikit/money-input": "19.10.0",
30
- "@commercetools-uikit/spacings": "19.10.0",
31
- "@commercetools-uikit/utils": "19.10.0",
24
+ "@commercetools-uikit/constraints": "19.12.0",
25
+ "@commercetools-uikit/design-system": "19.12.0",
26
+ "@commercetools-uikit/field-errors": "19.12.0",
27
+ "@commercetools-uikit/field-label": "19.12.0",
28
+ "@commercetools-uikit/field-warnings": "19.12.0",
29
+ "@commercetools-uikit/money-input": "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
  "lodash": "4.17.21",