@commercetools-uikit/text-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.
|
@@ -99,7 +99,7 @@ var TextField = /*#__PURE__*/function (_Component) {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
if (this.props.hintIcon) {
|
|
102
|
-
process.env.NODE_ENV !== "production" ? utils.warning(typeof this.props.hint === 'string' || /*#__PURE__*/react.isValidElement(
|
|
102
|
+
process.env.NODE_ENV !== "production" ? utils.warning(typeof this.props.hint === 'string' || /*#__PURE__*/react.isValidElement(this.props.hint), 'TextField: `hint` is required to be string or ReactNode if hintIcon is present') : void 0;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
var hasError = this.props.touched && hasErrors(this.props.errors);
|
|
@@ -181,7 +181,7 @@ TextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
181
181
|
var TextField$1 = TextField;
|
|
182
182
|
|
|
183
183
|
// NOTE: This string will be replaced on build time with the package version.
|
|
184
|
-
var version = "13.0.
|
|
184
|
+
var version = "13.0.1";
|
|
185
185
|
|
|
186
186
|
exports["default"] = TextField$1;
|
|
187
187
|
exports.version = version;
|
|
@@ -153,7 +153,7 @@ TextField.propTypes = {};
|
|
|
153
153
|
var TextField$1 = TextField;
|
|
154
154
|
|
|
155
155
|
// NOTE: This string will be replaced on build time with the package version.
|
|
156
|
-
var version = "13.0.
|
|
156
|
+
var version = "13.0.1";
|
|
157
157
|
|
|
158
158
|
exports["default"] = TextField$1;
|
|
159
159
|
exports.version = version;
|
|
@@ -74,7 +74,7 @@ var TextField = /*#__PURE__*/function (_Component) {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
if (this.props.hintIcon) {
|
|
77
|
-
process.env.NODE_ENV !== "production" ? warning(typeof this.props.hint === 'string' || /*#__PURE__*/isValidElement(
|
|
77
|
+
process.env.NODE_ENV !== "production" ? warning(typeof this.props.hint === 'string' || /*#__PURE__*/isValidElement(this.props.hint), 'TextField: `hint` is required to be string or ReactNode if hintIcon is present') : void 0;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
var hasError = this.props.touched && hasErrors(this.props.errors);
|
|
@@ -156,6 +156,6 @@ TextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
156
156
|
var TextField$1 = TextField;
|
|
157
157
|
|
|
158
158
|
// NOTE: This string will be replaced on build time with the package version.
|
|
159
|
-
var version = "13.0.
|
|
159
|
+
var version = "13.0.1";
|
|
160
160
|
|
|
161
161
|
export { TextField$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/text-field",
|
|
3
3
|
"description": "A controlled text input component for single-line strings with validation states.",
|
|
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",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@commercetools-uikit/constraints": "13.0.0",
|
|
25
25
|
"@commercetools-uikit/design-system": "13.0.0",
|
|
26
26
|
"@commercetools-uikit/field-errors": "13.0.0",
|
|
27
|
-
"@commercetools-uikit/field-label": "13.0.
|
|
28
|
-
"@commercetools-uikit/spacings-stack": "13.0.
|
|
27
|
+
"@commercetools-uikit/field-label": "13.0.1",
|
|
28
|
+
"@commercetools-uikit/spacings-stack": "13.0.1",
|
|
29
29
|
"@commercetools-uikit/text-input": "13.0.0",
|
|
30
30
|
"@commercetools-uikit/utils": "12.2.9",
|
|
31
31
|
"@emotion/react": "^11.4.0",
|