@contentful/experiences-core 1.11.0-dev-20240718T1445-7c1c865.0 → 1.11.0-prerelease-20240723T1849-cedcf84.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/index.js +115 -23
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +1 -16
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -161,18 +161,13 @@ type ExperienceFields = {
|
|
|
161
161
|
type RecursiveDesignTokenDefinition = {
|
|
162
162
|
[key: string]: string | RecursiveDesignTokenDefinition;
|
|
163
163
|
};
|
|
164
|
-
type DesignBorderTokenStyle = 'solid' | 'dashed' | 'dotted';
|
|
165
|
-
/** We are currently in the process of implementing this feature. Do not use this field in your designTokenDefinition. **/
|
|
166
|
-
type DesignTextTokenEmphasis = 'bold' | 'italic' | 'underline' | 'bold italic' | 'bold underline' | 'italic underline' | 'bold italic underline' | 'none';
|
|
167
|
-
/** We are currently in the process of implementing this feature. Do not use this field in your designTokenDefinition. **/
|
|
168
|
-
type DesignTextTokenCase = 'capitalize' | 'uppercase' | 'lowercase' | 'normal';
|
|
169
164
|
type DesignTokensDefinition = {
|
|
170
165
|
spacing?: Record<string, string>;
|
|
171
166
|
sizing?: Record<string, string>;
|
|
172
167
|
color?: Record<string, string>;
|
|
173
168
|
border?: Record<string, {
|
|
174
169
|
width?: string;
|
|
175
|
-
style?:
|
|
170
|
+
style?: 'solid' | 'dashed' | 'dotted';
|
|
176
171
|
color?: string;
|
|
177
172
|
}>;
|
|
178
173
|
borderRadius?: Record<string, string>;
|
|
@@ -180,16 +175,6 @@ type DesignTokensDefinition = {
|
|
|
180
175
|
lineHeight?: Record<string, string>;
|
|
181
176
|
letterSpacing?: Record<string, string>;
|
|
182
177
|
textColor?: Record<string, string>;
|
|
183
|
-
/** We are currently in the process of implementing this feature. Do not use this field in your designTokenDefinition. **/
|
|
184
|
-
text?: Record<string, {
|
|
185
|
-
emphasis?: DesignTextTokenEmphasis;
|
|
186
|
-
fontSize?: string;
|
|
187
|
-
case?: DesignTextTokenCase;
|
|
188
|
-
fontWeight?: string;
|
|
189
|
-
lineHeight?: string;
|
|
190
|
-
letterSpacing?: string;
|
|
191
|
-
color?: string;
|
|
192
|
-
}>;
|
|
193
178
|
} & RecursiveDesignTokenDefinition;
|
|
194
179
|
/** Type of experience entry JSON data structure as returned by CPA/CDA */
|
|
195
180
|
type ExperienceEntry = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/experiences-core",
|
|
3
|
-
"version": "1.11.0-
|
|
3
|
+
"version": "1.11.0-prerelease-20240723T1849-cedcf84.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
"vitest": "^1.0.4"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@contentful/experiences-validators": "1.11.0-
|
|
68
|
+
"@contentful/experiences-validators": "1.11.0-prerelease-20240723T1849-cedcf84.0",
|
|
69
69
|
"@contentful/rich-text-types": "^16.3.0"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"contentful": ">=10.6.0"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "2288a3c435b0adec24be5ac15ed156ffe671e5c9"
|
|
75
75
|
}
|