@commercetools-uikit/field-errors 16.12.1 → 17.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.
package/README.md CHANGED
@@ -46,7 +46,7 @@ const Example = () => (
46
46
  renderError={(key) => {
47
47
  switch (key) {
48
48
  case 'duplicate':
49
- return 'This thing is already in use. It must be unique.';
49
+ return 'This is already in use. It must be unique.';
50
50
  default:
51
51
  // When null is returned then the default error handling from
52
52
  // renderDefaultError will kick in for that error.
@@ -56,7 +56,7 @@ const Example = () => (
56
56
  renderDefaultError={(key) => {
57
57
  switch (key) {
58
58
  case 'minLength':
59
- return 'This thing is too short.';
59
+ return 'This is too short.';
60
60
  default:
61
61
  // When null is returned then the error handling defined in
62
62
  // FieldError itself will kick in
@@ -1,3 +1,3 @@
1
1
  export * from "./declarations/src/index";
2
2
  export { default } from "./declarations/src/index";
3
- //# sourceMappingURL=commercetools-uikit-field-errors.cjs.d.ts.map
3
+ //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tbWVyY2V0b29scy11aWtpdC1maWVsZC1lcnJvcnMuY2pzLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuL2RlY2xhcmF0aW9ucy9zcmMvaW5kZXguZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSJ9
@@ -123,7 +123,7 @@ FieldErrors.errorTypes = {
123
123
  var FieldErrors$1 = FieldErrors;
124
124
 
125
125
  // NOTE: This string will be replaced on build time with the package version.
126
- var version = "16.12.1";
126
+ var version = "17.0.1";
127
127
 
128
128
  exports["default"] = FieldErrors$1;
129
129
  exports.version = version;
@@ -116,7 +116,7 @@ FieldErrors.errorTypes = {
116
116
  var FieldErrors$1 = FieldErrors;
117
117
 
118
118
  // NOTE: This string will be replaced on build time with the package version.
119
- var version = "16.12.1";
119
+ var version = "17.0.1";
120
120
 
121
121
  exports["default"] = FieldErrors$1;
122
122
  exports.version = version;
@@ -105,6 +105,6 @@ FieldErrors.errorTypes = {
105
105
  var FieldErrors$1 = FieldErrors;
106
106
 
107
107
  // NOTE: This string will be replaced on build time with the package version.
108
- var version = "16.12.1";
108
+ var version = "17.0.1";
109
109
 
110
110
  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": "16.12.1",
4
+ "version": "17.0.1",
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": "16.12.1",
24
+ "@commercetools-uikit/messages": "17.0.1",
25
25
  "@emotion/react": "^11.10.5",
26
26
  "@emotion/styled": "^11.10.5",
27
27
  "prop-types": "15.8.1"
@@ -1 +0,0 @@
1
- {"version":3,"file":"commercetools-uikit-field-errors.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}