@commercetools-uikit/localized-text-field 18.1.0 → 18.3.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.
|
@@ -189,14 +189,14 @@ LocalizedTextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
189
189
|
isDisabled: _pt__default["default"].bool,
|
|
190
190
|
isReadOnly: _pt__default["default"].bool,
|
|
191
191
|
placeholder: _pt__default["default"].objectOf(_pt__default["default"].string),
|
|
192
|
-
errorsByLanguage: _pt__default["default"].objectOf(_pt__default["default"].
|
|
192
|
+
errorsByLanguage: _pt__default["default"].objectOf(_pt__default["default"].node),
|
|
193
193
|
title: _pt__default["default"].node.isRequired,
|
|
194
194
|
hint: _pt__default["default"].node
|
|
195
195
|
} : {};
|
|
196
196
|
var LocalizedTextField$1 = LocalizedTextField;
|
|
197
197
|
|
|
198
198
|
// NOTE: This string will be replaced on build time with the package version.
|
|
199
|
-
var version = "18.
|
|
199
|
+
var version = "18.3.0";
|
|
200
200
|
|
|
201
201
|
exports["default"] = LocalizedTextField$1;
|
|
202
202
|
exports.version = version;
|
|
@@ -163,7 +163,7 @@ LocalizedTextField.propTypes = {};
|
|
|
163
163
|
var LocalizedTextField$1 = LocalizedTextField;
|
|
164
164
|
|
|
165
165
|
// NOTE: This string will be replaced on build time with the package version.
|
|
166
|
-
var version = "18.
|
|
166
|
+
var version = "18.3.0";
|
|
167
167
|
|
|
168
168
|
exports["default"] = LocalizedTextField$1;
|
|
169
169
|
exports.version = version;
|
|
@@ -164,13 +164,13 @@ LocalizedTextField.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
164
164
|
isDisabled: _pt.bool,
|
|
165
165
|
isReadOnly: _pt.bool,
|
|
166
166
|
placeholder: _pt.objectOf(_pt.string),
|
|
167
|
-
errorsByLanguage: _pt.objectOf(_pt.
|
|
167
|
+
errorsByLanguage: _pt.objectOf(_pt.node),
|
|
168
168
|
title: _pt.node.isRequired,
|
|
169
169
|
hint: _pt.node
|
|
170
170
|
} : {};
|
|
171
171
|
var LocalizedTextField$1 = LocalizedTextField;
|
|
172
172
|
|
|
173
173
|
// NOTE: This string will be replaced on build time with the package version.
|
|
174
|
-
var version = "18.
|
|
174
|
+
var version = "18.3.0";
|
|
175
175
|
|
|
176
176
|
export { LocalizedTextField$1 as default, version };
|
|
@@ -34,7 +34,7 @@ export type TLocalizedTextFieldProps = {
|
|
|
34
34
|
isDisabled?: boolean;
|
|
35
35
|
isReadOnly?: boolean;
|
|
36
36
|
placeholder?: Record<string, string>;
|
|
37
|
-
errorsByLanguage?: Record<string,
|
|
37
|
+
errorsByLanguage?: Record<string, ReactNode>;
|
|
38
38
|
title: ReactNode;
|
|
39
39
|
hint?: ReactNode;
|
|
40
40
|
description?: ReactNode;
|
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": "18.
|
|
4
|
+
"version": "18.3.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": "18.
|
|
25
|
-
"@commercetools-uikit/design-system": "18.
|
|
26
|
-
"@commercetools-uikit/field-errors": "18.
|
|
27
|
-
"@commercetools-uikit/field-label": "18.
|
|
28
|
-
"@commercetools-uikit/field-warnings": "18.
|
|
29
|
-
"@commercetools-uikit/localized-text-input": "18.
|
|
30
|
-
"@commercetools-uikit/spacings": "18.
|
|
31
|
-
"@commercetools-uikit/utils": "18.
|
|
24
|
+
"@commercetools-uikit/constraints": "18.3.0",
|
|
25
|
+
"@commercetools-uikit/design-system": "18.3.0",
|
|
26
|
+
"@commercetools-uikit/field-errors": "18.3.0",
|
|
27
|
+
"@commercetools-uikit/field-label": "18.3.0",
|
|
28
|
+
"@commercetools-uikit/field-warnings": "18.3.0",
|
|
29
|
+
"@commercetools-uikit/localized-text-input": "18.3.0",
|
|
30
|
+
"@commercetools-uikit/spacings": "18.3.0",
|
|
31
|
+
"@commercetools-uikit/utils": "18.3.0",
|
|
32
32
|
"@emotion/react": "^11.10.5",
|
|
33
33
|
"@emotion/styled": "^11.10.5",
|
|
34
34
|
"prop-types": "15.8.1",
|