@commercetools-uikit/time-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 TimeField = /*#__PURE__*/function (_Component) {
|
|
70
|
-
_inherits(TimeField, _Component);
|
|
71
70
|
function TimeField() {
|
|
72
71
|
var _this;
|
|
73
72
|
_classCallCheck(this, TimeField);
|
|
@@ -82,7 +81,8 @@ let TimeField = /*#__PURE__*/function (_Component) {
|
|
|
82
81
|
};
|
|
83
82
|
return _this;
|
|
84
83
|
}
|
|
85
|
-
|
|
84
|
+
_inherits(TimeField, _Component);
|
|
85
|
+
return _createClass(TimeField, [{
|
|
86
86
|
key: "render",
|
|
87
87
|
value: function render() {
|
|
88
88
|
const hasError = this.props.touched && hasErrors(this.props.errors);
|
|
@@ -151,7 +151,6 @@ let TimeField = /*#__PURE__*/function (_Component) {
|
|
|
151
151
|
return errors;
|
|
152
152
|
}
|
|
153
153
|
}]);
|
|
154
|
-
return TimeField;
|
|
155
154
|
}(react.Component);
|
|
156
155
|
TimeField.displayName = 'TimeField';
|
|
157
156
|
TimeField.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 TimeField = /*#__PURE__*/function (_Component) {
|
|
69
|
-
_inherits(TimeField, _Component);
|
|
70
69
|
function TimeField() {
|
|
71
70
|
var _this;
|
|
72
71
|
_classCallCheck(this, TimeField);
|
|
@@ -81,7 +80,8 @@ let TimeField = /*#__PURE__*/function (_Component) {
|
|
|
81
80
|
};
|
|
82
81
|
return _this;
|
|
83
82
|
}
|
|
84
|
-
|
|
83
|
+
_inherits(TimeField, _Component);
|
|
84
|
+
return _createClass(TimeField, [{
|
|
85
85
|
key: "render",
|
|
86
86
|
value: function render() {
|
|
87
87
|
const hasError = this.props.touched && hasErrors(this.props.errors);
|
|
@@ -146,7 +146,6 @@ let TimeField = /*#__PURE__*/function (_Component) {
|
|
|
146
146
|
return errors;
|
|
147
147
|
}
|
|
148
148
|
}]);
|
|
149
|
-
return TimeField;
|
|
150
149
|
}(react.Component);
|
|
151
150
|
TimeField.displayName = 'TimeField';
|
|
152
151
|
TimeField.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 TimeField = /*#__PURE__*/function (_Component) {
|
|
45
|
-
_inherits(TimeField, _Component);
|
|
46
45
|
function TimeField() {
|
|
47
46
|
var _this;
|
|
48
47
|
_classCallCheck(this, TimeField);
|
|
@@ -57,7 +56,8 @@ let TimeField = /*#__PURE__*/function (_Component) {
|
|
|
57
56
|
};
|
|
58
57
|
return _this;
|
|
59
58
|
}
|
|
60
|
-
|
|
59
|
+
_inherits(TimeField, _Component);
|
|
60
|
+
return _createClass(TimeField, [{
|
|
61
61
|
key: "render",
|
|
62
62
|
value: function render() {
|
|
63
63
|
const hasError = this.props.touched && hasErrors(this.props.errors);
|
|
@@ -126,7 +126,6 @@ let TimeField = /*#__PURE__*/function (_Component) {
|
|
|
126
126
|
return errors;
|
|
127
127
|
}
|
|
128
128
|
}]);
|
|
129
|
-
return TimeField;
|
|
130
129
|
}(Component);
|
|
131
130
|
TimeField.displayName = 'TimeField';
|
|
132
131
|
TimeField.defaultProps = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/time-field",
|
|
3
3
|
"description": "A controlled date input component for single date.",
|
|
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/spacings-stack": "19.
|
|
30
|
-
"@commercetools-uikit/time-input": "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/spacings-stack": "19.12.0",
|
|
30
|
+
"@commercetools-uikit/time-input": "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",
|