@commercetools-uikit/text-field 19.16.0 → 19.17.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.
|
@@ -130,9 +130,7 @@ let TextField = /*#__PURE__*/function (_Component) {
|
|
|
130
130
|
/* ARIA */
|
|
131
131
|
"aria-invalid": hasError,
|
|
132
132
|
"aria-errormessage": errorsContainerId
|
|
133
|
-
})),
|
|
134
|
-
message: this.props.additionalInfo
|
|
135
|
-
}), jsxRuntime.jsx(FieldErrors__default["default"], {
|
|
133
|
+
})), jsxRuntime.jsx(FieldErrors__default["default"], {
|
|
136
134
|
id: errorsContainerId,
|
|
137
135
|
errors: this.props.errors,
|
|
138
136
|
isVisible: hasError,
|
|
@@ -142,6 +140,8 @@ let TextField = /*#__PURE__*/function (_Component) {
|
|
|
142
140
|
warnings: this.props.warnings,
|
|
143
141
|
isVisible: hasWarning,
|
|
144
142
|
renderWarning: this.props.renderWarning
|
|
143
|
+
}), this.props.additionalInfo && jsxRuntime.jsx(messages.AdditionalInfoMessage, {
|
|
144
|
+
message: this.props.additionalInfo
|
|
145
145
|
})]
|
|
146
146
|
})
|
|
147
147
|
});
|
|
@@ -196,7 +196,7 @@ TextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
196
196
|
var TextField$1 = TextField;
|
|
197
197
|
|
|
198
198
|
// NOTE: This string will be replaced on build time with the package version.
|
|
199
|
-
var version = "19.
|
|
199
|
+
var version = "19.17.0";
|
|
200
200
|
|
|
201
201
|
exports["default"] = TextField$1;
|
|
202
202
|
exports.version = version;
|
|
@@ -125,9 +125,7 @@ let TextField = /*#__PURE__*/function (_Component) {
|
|
|
125
125
|
/* ARIA */
|
|
126
126
|
"aria-invalid": hasError,
|
|
127
127
|
"aria-errormessage": errorsContainerId
|
|
128
|
-
})),
|
|
129
|
-
message: this.props.additionalInfo
|
|
130
|
-
}), jsxRuntime.jsx(FieldErrors__default["default"], {
|
|
128
|
+
})), jsxRuntime.jsx(FieldErrors__default["default"], {
|
|
131
129
|
id: errorsContainerId,
|
|
132
130
|
errors: this.props.errors,
|
|
133
131
|
isVisible: hasError,
|
|
@@ -137,6 +135,8 @@ let TextField = /*#__PURE__*/function (_Component) {
|
|
|
137
135
|
warnings: this.props.warnings,
|
|
138
136
|
isVisible: hasWarning,
|
|
139
137
|
renderWarning: this.props.renderWarning
|
|
138
|
+
}), this.props.additionalInfo && jsxRuntime.jsx(messages.AdditionalInfoMessage, {
|
|
139
|
+
message: this.props.additionalInfo
|
|
140
140
|
})]
|
|
141
141
|
})
|
|
142
142
|
});
|
|
@@ -165,7 +165,7 @@ TextField.propTypes = {};
|
|
|
165
165
|
var TextField$1 = TextField;
|
|
166
166
|
|
|
167
167
|
// NOTE: This string will be replaced on build time with the package version.
|
|
168
|
-
var version = "19.
|
|
168
|
+
var version = "19.17.0";
|
|
169
169
|
|
|
170
170
|
exports["default"] = TextField$1;
|
|
171
171
|
exports.version = version;
|
|
@@ -105,9 +105,7 @@ let TextField = /*#__PURE__*/function (_Component) {
|
|
|
105
105
|
/* ARIA */
|
|
106
106
|
"aria-invalid": hasError,
|
|
107
107
|
"aria-errormessage": errorsContainerId
|
|
108
|
-
})),
|
|
109
|
-
message: this.props.additionalInfo
|
|
110
|
-
}), jsx(FieldErrors, {
|
|
108
|
+
})), jsx(FieldErrors, {
|
|
111
109
|
id: errorsContainerId,
|
|
112
110
|
errors: this.props.errors,
|
|
113
111
|
isVisible: hasError,
|
|
@@ -117,6 +115,8 @@ let TextField = /*#__PURE__*/function (_Component) {
|
|
|
117
115
|
warnings: this.props.warnings,
|
|
118
116
|
isVisible: hasWarning,
|
|
119
117
|
renderWarning: this.props.renderWarning
|
|
118
|
+
}), this.props.additionalInfo && jsx(AdditionalInfoMessage, {
|
|
119
|
+
message: this.props.additionalInfo
|
|
120
120
|
})]
|
|
121
121
|
})
|
|
122
122
|
});
|
|
@@ -171,6 +171,6 @@ TextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
171
171
|
var TextField$1 = TextField;
|
|
172
172
|
|
|
173
173
|
// NOTE: This string will be replaced on build time with the package version.
|
|
174
|
-
var version = "19.
|
|
174
|
+
var version = "19.17.0";
|
|
175
175
|
|
|
176
176
|
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": "19.
|
|
4
|
+
"version": "19.17.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,15 +21,15 @@
|
|
|
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/messages": "19.
|
|
30
|
-
"@commercetools-uikit/spacings-stack": "19.
|
|
31
|
-
"@commercetools-uikit/text-input": "19.
|
|
32
|
-
"@commercetools-uikit/utils": "19.
|
|
24
|
+
"@commercetools-uikit/constraints": "19.17.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "19.17.0",
|
|
26
|
+
"@commercetools-uikit/field-errors": "19.17.0",
|
|
27
|
+
"@commercetools-uikit/field-label": "19.17.0",
|
|
28
|
+
"@commercetools-uikit/field-warnings": "19.17.0",
|
|
29
|
+
"@commercetools-uikit/messages": "19.17.0",
|
|
30
|
+
"@commercetools-uikit/spacings-stack": "19.17.0",
|
|
31
|
+
"@commercetools-uikit/text-input": "19.17.0",
|
|
32
|
+
"@commercetools-uikit/utils": "19.17.0",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|
|
35
35
|
"prop-types": "15.8.1",
|