@contentful/experience-design-system-types 2.41.1-dev-build-3a724687.0 → 2.41.1-dev-build-36ec74af.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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-types",
3
- "version": "2.41.1-dev-build-3a724687.0",
3
+ "version": "2.41.1-dev-build-36ec74af.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/src/index.js",
@@ -84,7 +84,6 @@ export declare const cdfJsonSchema: {
84
84
  };
85
85
  readonly '$token.kind': {
86
86
  readonly type: "string";
87
- readonly minLength: 1;
88
87
  };
89
88
  readonly '$token.allowed': {
90
89
  readonly type: "array";
@@ -93,19 +92,6 @@ export declare const cdfJsonSchema: {
93
92
  };
94
93
  };
95
94
  };
96
- readonly if: {
97
- readonly type: "object";
98
- readonly properties: {
99
- readonly $type: {
100
- readonly const: "token";
101
- };
102
- };
103
- readonly required: readonly ["$type"];
104
- };
105
- readonly then: {
106
- readonly type: "object";
107
- readonly required: readonly ["$token.kind"];
108
- };
109
95
  readonly additionalProperties: false;
110
96
  };
111
97
  readonly slot: {
@@ -49,12 +49,9 @@ export const cdfJsonSchema = {
49
49
  $required: { type: 'boolean' },
50
50
  $default: {},
51
51
  $values: { type: 'array', items: { type: 'string' } },
52
- '$token.kind': { type: 'string', minLength: 1 },
52
+ '$token.kind': { type: 'string' },
53
53
  '$token.allowed': { type: 'array', items: { type: 'string' } },
54
54
  },
55
- // The API rejects a token property that does not say which kind of token it takes.
56
- if: { type: 'object', properties: { $type: { const: 'token' } }, required: ['$type'] },
57
- then: { type: 'object', required: ['$token.kind'] },
58
55
  additionalProperties: false,
59
56
  },
60
57
  slot: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experience-design-system-types",
3
- "version": "2.41.1-dev-build-3a724687.0",
3
+ "version": "2.41.1-dev-build-36ec74af.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "./dist/src/index.js",