@commercetools-uikit/date-field 13.0.0 → 13.0.1
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.
|
@@ -101,7 +101,7 @@ var DateField = /*#__PURE__*/function (_Component) {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
if (this.props.hintIcon) {
|
|
104
|
-
process.env.NODE_ENV !== "production" ? utils.warning(typeof this.props.hint === 'string' || /*#__PURE__*/react.isValidElement(
|
|
104
|
+
process.env.NODE_ENV !== "production" ? utils.warning(typeof this.props.hint === 'string' || /*#__PURE__*/react.isValidElement(this.props.hint), 'DateField: `hint` is required to be string or ReactNode if hintIcon is present') : void 0;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
return jsxRuntime.jsx(Constraints__default["default"].Horizontal, {
|
|
@@ -182,7 +182,7 @@ DateField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
182
182
|
var DateField$1 = DateField;
|
|
183
183
|
|
|
184
184
|
// NOTE: This string will be replaced on build time with the package version.
|
|
185
|
-
var version = "13.0.
|
|
185
|
+
var version = "13.0.1";
|
|
186
186
|
|
|
187
187
|
exports["default"] = DateField$1;
|
|
188
188
|
exports.version = version;
|
|
@@ -154,7 +154,7 @@ DateField.propTypes = {};
|
|
|
154
154
|
var DateField$1 = DateField;
|
|
155
155
|
|
|
156
156
|
// NOTE: This string will be replaced on build time with the package version.
|
|
157
|
-
var version = "13.0.
|
|
157
|
+
var version = "13.0.1";
|
|
158
158
|
|
|
159
159
|
exports["default"] = DateField$1;
|
|
160
160
|
exports.version = version;
|
|
@@ -76,7 +76,7 @@ var DateField = /*#__PURE__*/function (_Component) {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
if (this.props.hintIcon) {
|
|
79
|
-
process.env.NODE_ENV !== "production" ? warning(typeof this.props.hint === 'string' || /*#__PURE__*/isValidElement(
|
|
79
|
+
process.env.NODE_ENV !== "production" ? warning(typeof this.props.hint === 'string' || /*#__PURE__*/isValidElement(this.props.hint), 'DateField: `hint` is required to be string or ReactNode if hintIcon is present') : void 0;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
return jsx(Constraints.Horizontal, {
|
|
@@ -157,6 +157,6 @@ DateField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
157
157
|
var DateField$1 = DateField;
|
|
158
158
|
|
|
159
159
|
// NOTE: This string will be replaced on build time with the package version.
|
|
160
|
-
var version = "13.0.
|
|
160
|
+
var version = "13.0.1";
|
|
161
161
|
|
|
162
162
|
export { DateField$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/date-field",
|
|
3
3
|
"description": "A controlled date input component for single date, with validation states and a label.",
|
|
4
|
-
"version": "13.0.
|
|
4
|
+
"version": "13.0.1",
|
|
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": "13.0.0",
|
|
25
|
-
"@commercetools-uikit/date-input": "13.0.
|
|
25
|
+
"@commercetools-uikit/date-input": "13.0.1",
|
|
26
26
|
"@commercetools-uikit/design-system": "13.0.0",
|
|
27
27
|
"@commercetools-uikit/field-errors": "13.0.0",
|
|
28
|
-
"@commercetools-uikit/field-label": "13.0.
|
|
29
|
-
"@commercetools-uikit/spacings": "13.0.
|
|
28
|
+
"@commercetools-uikit/field-label": "13.0.1",
|
|
29
|
+
"@commercetools-uikit/spacings": "13.0.1",
|
|
30
30
|
"@commercetools-uikit/utils": "12.2.9",
|
|
31
31
|
"@emotion/react": "^11.4.0",
|
|
32
32
|
"@emotion/styled": "^11.3.0",
|