@commercetools-uikit/field-errors 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
@@ -76,8 +76,8 @@ export default Example;
76
76
  | `id` | `string` | | | ID of the error field. |
77
77
  | `errors` | `Record` | | | List of errors. Only entries with truthy values will count as active errors. |
78
78
  | `isVisible` | `boolean` | | | `true` when the error messages should be rendered. Usually you'd pass in a `touched` state of fields. |
79
- | `renderError` | `Function`<br/>[See signature.](#signature-renderError) | | | Function which gets called with each error key (from the `errors` prop) and may render an error message or return `null` to hand the error handling off to `renderDefaultError`. |
80
- | `renderDefaultError` | `Function`<br/>[See signature.](#signature-renderDefaultError) | | | Function which gets called with each error key (from the `errors` prop) for which `renderError` returned `null`.&#xA;It may render an error message or return `null` to hand the error handling off to `FieldError`s built-in error handling. |
79
+ | `renderError` | `Function`<br/>[See signature.](#signature-rendererror) | | | Function which gets called with each error key (from the `errors` prop) and may render an error message or return `null` to hand the error handling off to `renderDefaultError`. |
80
+ | `renderDefaultError` | `Function`<br/>[See signature.](#signature-renderdefaulterror) | | | Function which gets called with each error key (from the `errors` prop) for which `renderError` returned `null`.&#xA;It may render an error message or return `null` to hand the error handling off to `FieldError`s built-in error handling. |
81
81
 
82
82
  ## Signatures
83
83
 
@@ -120,7 +120,7 @@ FieldErrors.errorTypes = {
120
120
  var FieldErrors$1 = FieldErrors;
121
121
 
122
122
  // NOTE: This string will be replaced on build time with the package version.
123
- var version = "19.22.5";
123
+ var version = "19.22.6";
124
124
 
125
125
  exports["default"] = FieldErrors$1;
126
126
  exports.version = version;
@@ -113,7 +113,7 @@ FieldErrors.errorTypes = {
113
113
  var FieldErrors$1 = FieldErrors;
114
114
 
115
115
  // NOTE: This string will be replaced on build time with the package version.
116
- var version = "19.22.5";
116
+ var version = "19.22.6";
117
117
 
118
118
  exports["default"] = FieldErrors$1;
119
119
  exports.version = version;
@@ -102,6 +102,6 @@ FieldErrors.errorTypes = {
102
102
  var FieldErrors$1 = FieldErrors;
103
103
 
104
104
  // NOTE: This string will be replaced on build time with the package version.
105
- var version = "19.22.5";
105
+ var version = "19.22.6";
106
106
 
107
107
  export { FieldErrors$1 as default, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/field-errors",
3
3
  "description": "Renders errors based on configuration.",
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,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/messages": "19.22.5",
24
+ "@commercetools-uikit/messages": "19.22.6",
25
25
  "@emotion/react": "^11.10.5",
26
26
  "@emotion/styled": "^11.10.5",
27
27
  "prop-types": "15.8.1"