@commercetools-uikit/localized-text-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.
|
@@ -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 LocalizedTextField = /*#__PURE__*/function (_Component) {
|
|
70
|
-
_inherits(LocalizedTextField, _Component);
|
|
71
70
|
function LocalizedTextField() {
|
|
72
71
|
var _this;
|
|
73
72
|
_classCallCheck(this, LocalizedTextField);
|
|
@@ -82,7 +81,8 @@ let LocalizedTextField = /*#__PURE__*/function (_Component) {
|
|
|
82
81
|
};
|
|
83
82
|
return _this;
|
|
84
83
|
}
|
|
85
|
-
|
|
84
|
+
_inherits(LocalizedTextField, _Component);
|
|
85
|
+
return _createClass(LocalizedTextField, [{
|
|
86
86
|
key: "render",
|
|
87
87
|
value: function render() {
|
|
88
88
|
const hasError = this.props.touched && hasErrors(this.props.errors);
|
|
@@ -156,7 +156,6 @@ let LocalizedTextField = /*#__PURE__*/function (_Component) {
|
|
|
156
156
|
return errors;
|
|
157
157
|
}
|
|
158
158
|
}]);
|
|
159
|
-
return LocalizedTextField;
|
|
160
159
|
}(react.Component);
|
|
161
160
|
LocalizedTextField.displayName = 'LocalizedTextField';
|
|
162
161
|
LocalizedTextField.defaultProps = {
|
|
@@ -66,7 +66,6 @@ const hasWarnings = warnings => {
|
|
|
66
66
|
return warnings && _someInstanceProperty__default["default"](_context2 = _Object$values__default["default"](warnings)).call(_context2, Boolean);
|
|
67
67
|
};
|
|
68
68
|
let LocalizedTextField = /*#__PURE__*/function (_Component) {
|
|
69
|
-
_inherits(LocalizedTextField, _Component);
|
|
70
69
|
function LocalizedTextField() {
|
|
71
70
|
var _this;
|
|
72
71
|
_classCallCheck(this, LocalizedTextField);
|
|
@@ -81,7 +80,8 @@ let LocalizedTextField = /*#__PURE__*/function (_Component) {
|
|
|
81
80
|
};
|
|
82
81
|
return _this;
|
|
83
82
|
}
|
|
84
|
-
|
|
83
|
+
_inherits(LocalizedTextField, _Component);
|
|
84
|
+
return _createClass(LocalizedTextField, [{
|
|
85
85
|
key: "render",
|
|
86
86
|
value: function render() {
|
|
87
87
|
const hasError = this.props.touched && hasErrors(this.props.errors);
|
|
@@ -151,7 +151,6 @@ let LocalizedTextField = /*#__PURE__*/function (_Component) {
|
|
|
151
151
|
return errors;
|
|
152
152
|
}
|
|
153
153
|
}]);
|
|
154
|
-
return LocalizedTextField;
|
|
155
154
|
}(react.Component);
|
|
156
155
|
LocalizedTextField.displayName = 'LocalizedTextField';
|
|
157
156
|
LocalizedTextField.defaultProps = {
|
|
@@ -42,7 +42,6 @@ const hasWarnings = warnings => {
|
|
|
42
42
|
return warnings && _someInstanceProperty(_context2 = _Object$values(warnings)).call(_context2, Boolean);
|
|
43
43
|
};
|
|
44
44
|
let LocalizedTextField = /*#__PURE__*/function (_Component) {
|
|
45
|
-
_inherits(LocalizedTextField, _Component);
|
|
46
45
|
function LocalizedTextField() {
|
|
47
46
|
var _this;
|
|
48
47
|
_classCallCheck(this, LocalizedTextField);
|
|
@@ -57,7 +56,8 @@ let LocalizedTextField = /*#__PURE__*/function (_Component) {
|
|
|
57
56
|
};
|
|
58
57
|
return _this;
|
|
59
58
|
}
|
|
60
|
-
|
|
59
|
+
_inherits(LocalizedTextField, _Component);
|
|
60
|
+
return _createClass(LocalizedTextField, [{
|
|
61
61
|
key: "render",
|
|
62
62
|
value: function render() {
|
|
63
63
|
const hasError = this.props.touched && hasErrors(this.props.errors);
|
|
@@ -131,7 +131,6 @@ let LocalizedTextField = /*#__PURE__*/function (_Component) {
|
|
|
131
131
|
return errors;
|
|
132
132
|
}
|
|
133
133
|
}]);
|
|
134
|
-
return LocalizedTextField;
|
|
135
134
|
}(Component);
|
|
136
135
|
LocalizedTextField.displayName = 'LocalizedTextField';
|
|
137
136
|
LocalizedTextField.defaultProps = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/localized-text-field",
|
|
3
3
|
"description": "A controlled text input component for localized single-line strings with validation states.",
|
|
4
|
-
"version": "19.
|
|
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.
|
|
25
|
-
"@commercetools-uikit/design-system": "19.
|
|
26
|
-
"@commercetools-uikit/field-errors": "19.
|
|
27
|
-
"@commercetools-uikit/field-label": "19.
|
|
28
|
-
"@commercetools-uikit/field-warnings": "19.
|
|
29
|
-
"@commercetools-uikit/localized-text-input": "19.
|
|
30
|
-
"@commercetools-uikit/spacings": "19.
|
|
31
|
-
"@commercetools-uikit/utils": "19.
|
|
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/localized-text-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
|
"prop-types": "15.8.1",
|