@commercetools-uikit/text-field 19.22.5 → 19.22.6

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.
package/README.md CHANGED
@@ -47,8 +47,8 @@ export default Example;
47
47
  | `horizontalConstraint` | `union`<br/>Possible values:<br/>`, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 'scale', 'auto'` | | `'scale'` | Horizontal size limit of the input fields. |
48
48
  | `errors` | `Record` | | | A map of errors. Error messages for known errors are rendered automatically.&#xA;<br/>&#xA;Unknown errors will be forwarded to renderError. |
49
49
  | `warnings` | `Record` | | | A map of warnings. Warning messages for known warnings are rendered automatically.&#xA;<br/>&#xA;Unknown warnings will be forwarded to renderWarning. |
50
- | `renderError` | `Function`<br/>[See signature.](#signature-renderError) | | | This function can return a message which will be wrapped in an ErrorMessage. It can also return null to show no error. |
51
- | `renderWarning` | `Function`<br/>[See signature.](#signature-renderWarning) | | | Called with custom warnings, as renderWarning(key, warning). This function can return a message which will be wrapped in a WarningMessage.&#xA;<br />&#xA;It can also return null to show no warning. |
50
+ | `renderError` | `Function`<br/>[See signature.](#signature-rendererror) | | | This function can return a message which will be wrapped in an ErrorMessage. It can also return null to show no error. |
51
+ | `renderWarning` | `Function`<br/>[See signature.](#signature-renderwarning) | | | Called with custom warnings, as renderWarning(key, warning). This function can return a message which will be wrapped in a WarningMessage.&#xA;<br />&#xA;It can also return null to show no warning. |
52
52
  | `isRequired` | `boolean` | | | Indicates if the value is required. Shows an the "required asterisk" if so. |
53
53
  | `touched` | `boolean` | | | Indicates whether the field was touched. Errors will only be shown when the field was touched. |
54
54
  | `autoComplete` | `string` | | | Used as HTML autocomplete property |
@@ -65,7 +65,7 @@ export default Example;
65
65
  | `title` | `union`<br/>Possible values:<br/>`string , ReactNode` | ✅ | | Title of the label |
66
66
  | `hint` | `union`<br/>Possible values:<br/>`string , ReactNode` | | | Hint for the label. Provides a supplementary but important information regarding the behaviour of the input (e.g warn about uniqueness of a field, when it can only be set once), whereas description can describe it in more depth. Can also receive a hintIcon. |
67
67
  | `description` | `union`<br/>Possible values:<br/>`string , ReactNode` | | | Provides a description for the title. |
68
- | `onInfoButtonClick` | `Function`<br/>[See signature.](#signature-onInfoButtonClick) | | | Function called when info button is pressed. Info button will only be visible when this prop is passed. |
68
+ | `onInfoButtonClick` | `Function`<br/>[See signature.](#signature-oninfobuttonclick) | | | Function called when info button is pressed. Info button will only be visible when this prop is passed. |
69
69
  | `hintIcon` | `ReactElement` | | | Icon to be displayed beside the hint text. Will only get rendered when hint is passed as well. |
70
70
  | `badge` | `ReactNode` | | | Badge to be displayed beside the label. Might be used to display additional information about the content of the field (E.g verified email) |
71
71
  | `maxLength` | `number` | | | Maximum number of characters allowed in the input. if this prop is used, It is recommended to inform the user about this limit in the InputField description, or otherwise |
@@ -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.22.5";
199
+ var version = "19.22.6";
200
200
 
201
201
  exports["default"] = TextField$1;
202
202
  exports.version = version;
@@ -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.22.5";
168
+ var version = "19.22.6";
169
169
 
170
170
  exports["default"] = TextField$1;
171
171
  exports.version = version;
@@ -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.22.5";
174
+ var version = "19.22.6";
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.22.5",
4
+ "version": "19.22.6",
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.22.5",
25
- "@commercetools-uikit/design-system": "19.22.5",
26
- "@commercetools-uikit/field-errors": "19.22.5",
27
- "@commercetools-uikit/field-label": "19.22.5",
28
- "@commercetools-uikit/field-warnings": "19.22.5",
29
- "@commercetools-uikit/messages": "19.22.5",
30
- "@commercetools-uikit/spacings-stack": "19.22.5",
31
- "@commercetools-uikit/text-input": "19.22.5",
32
- "@commercetools-uikit/utils": "19.22.5",
24
+ "@commercetools-uikit/constraints": "19.22.6",
25
+ "@commercetools-uikit/design-system": "19.22.6",
26
+ "@commercetools-uikit/field-errors": "19.22.6",
27
+ "@commercetools-uikit/field-label": "19.22.6",
28
+ "@commercetools-uikit/field-warnings": "19.22.6",
29
+ "@commercetools-uikit/messages": "19.22.6",
30
+ "@commercetools-uikit/spacings-stack": "19.22.6",
31
+ "@commercetools-uikit/text-input": "19.22.6",
32
+ "@commercetools-uikit/utils": "19.22.6",
33
33
  "@emotion/react": "^11.10.5",
34
34
  "@emotion/styled": "^11.10.5",
35
35
  "prop-types": "15.8.1",