@contentful/experiences-core 1.8.1-dev-20240624T0806-08e6902.0 → 1.8.1-prerelease-20240624T1502-6dcdc44.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/communication/sendMessage.d.ts +3 -2
- package/dist/constants.d.ts +41 -40
- package/dist/constants.js +3 -2
- package/dist/constants.js.map +1 -1
- package/dist/exports.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +1 -175
- package/dist/utils/validations.d.ts +8 -3
- package/package.json +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PostMessageMethods } from '../constants.js';
|
|
2
|
+
import { OutgoingEvent } from '../types.js';
|
|
2
3
|
|
|
3
|
-
declare const sendMessage:
|
|
4
|
+
declare const sendMessage: (eventType: OutgoingEvent | PostMessageMethods, data?: unknown) => void;
|
|
4
5
|
|
|
5
6
|
export { sendMessage };
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
declare const SCROLL_STATES: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
Start: string;
|
|
3
|
+
IsScrolling: string;
|
|
4
|
+
End: string;
|
|
5
5
|
};
|
|
6
6
|
declare const OUTGOING_EVENTS: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
7
|
+
Connected: string;
|
|
8
|
+
DesignTokens: string;
|
|
9
|
+
RegisteredBreakpoints: string;
|
|
10
|
+
HoveredSection: string;
|
|
11
|
+
MouseMove: string;
|
|
12
|
+
NewHoveredElement: string;
|
|
13
|
+
ComponentSelected: string;
|
|
14
|
+
RegisteredComponents: string;
|
|
15
|
+
RequestComponentTreeUpdate: string;
|
|
16
|
+
ComponentDragCanceled: string;
|
|
17
|
+
ComponentDropped: string;
|
|
18
|
+
ComponentMoved: string;
|
|
19
|
+
CanvasReload: string;
|
|
20
|
+
UpdateSelectedComponentCoordinates: string;
|
|
21
|
+
UpdateHoveredComponentCoordinates: string;
|
|
22
|
+
CanvasScroll: string;
|
|
23
|
+
CanvasError: string;
|
|
24
|
+
ComponentMoveStarted: string;
|
|
25
|
+
ComponentMoveEnded: string;
|
|
26
|
+
OutsideCanvasClick: string;
|
|
27
|
+
SDKFeatures: string;
|
|
27
28
|
};
|
|
28
29
|
declare const INCOMING_EVENTS: {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
30
|
+
RequestEditorMode: string;
|
|
31
|
+
ExperienceUpdated: string;
|
|
32
|
+
ComponentDraggingChanged: string;
|
|
33
|
+
ComponentDragCanceled: string;
|
|
34
|
+
ComponentDragStarted: string;
|
|
35
|
+
ComponentDragEnded: string;
|
|
36
|
+
ComponentMoveEnded: string;
|
|
37
|
+
CanvasResized: string;
|
|
38
|
+
SelectComponent: string;
|
|
39
|
+
HoverComponent: string;
|
|
40
|
+
UpdatedEntity: string;
|
|
41
|
+
AssembliesAdded: string;
|
|
42
|
+
AssembliesRegistered: string;
|
|
43
|
+
InitEditor: string;
|
|
44
|
+
MouseMove: string;
|
|
44
45
|
};
|
|
45
46
|
declare const INTERNAL_EVENTS: {
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
ComponentsRegistered: string;
|
|
48
|
+
VisualEditorInitialize: string;
|
|
48
49
|
};
|
|
49
50
|
declare const VISUAL_EDITOR_EVENTS: {
|
|
50
51
|
Ready: string;
|
package/dist/constants.js
CHANGED
|
@@ -7,6 +7,7 @@ const OUTGOING_EVENTS = {
|
|
|
7
7
|
Connected: 'connected',
|
|
8
8
|
DesignTokens: 'registerDesignTokens',
|
|
9
9
|
RegisteredBreakpoints: 'registeredBreakpoints',
|
|
10
|
+
HoveredSection: 'hoveredSection',
|
|
10
11
|
MouseMove: 'mouseMove',
|
|
11
12
|
NewHoveredElement: 'newHoveredElement',
|
|
12
13
|
ComponentSelected: 'componentSelected',
|
|
@@ -17,13 +18,13 @@ const OUTGOING_EVENTS = {
|
|
|
17
18
|
ComponentMoved: 'componentMoved',
|
|
18
19
|
CanvasReload: 'canvasReload',
|
|
19
20
|
UpdateSelectedComponentCoordinates: 'updateSelectedComponentCoordinates',
|
|
21
|
+
UpdateHoveredComponentCoordinates: 'updateHoveredComponentCoordinates',
|
|
20
22
|
CanvasScroll: 'canvasScrolling',
|
|
21
23
|
CanvasError: 'canvasError',
|
|
22
24
|
ComponentMoveStarted: 'componentMoveStarted',
|
|
23
25
|
ComponentMoveEnded: 'componentMoveEnded',
|
|
24
26
|
OutsideCanvasClick: 'outsideCanvasClick',
|
|
25
27
|
SDKFeatures: 'sdkFeatures',
|
|
26
|
-
RequestEntities: 'REQUEST_ENTITIES',
|
|
27
28
|
};
|
|
28
29
|
const INCOMING_EVENTS = {
|
|
29
30
|
RequestEditorMode: 'requestEditorMode',
|
|
@@ -39,8 +40,8 @@ const INCOMING_EVENTS = {
|
|
|
39
40
|
UpdatedEntity: 'updatedEntity',
|
|
40
41
|
AssembliesAdded: 'assembliesAdded',
|
|
41
42
|
AssembliesRegistered: 'assembliesRegistered',
|
|
43
|
+
InitEditor: 'initEditor',
|
|
42
44
|
MouseMove: 'mouseMove',
|
|
43
|
-
RequestedEntities: 'REQUESTED_ENTITIES',
|
|
44
45
|
};
|
|
45
46
|
const INTERNAL_EVENTS = {
|
|
46
47
|
ComponentsRegistered: 'cfComponentsRegistered',
|
package/dist/constants.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sources":["../src/constants.ts"],"sourcesContent":["export const SCROLL_STATES = {\n Start: 'scrollStart',\n IsScrolling: 'isScrolling',\n End: 'scrollEnd',\n}
|
|
1
|
+
{"version":3,"file":"constants.js","sources":["../src/constants.ts"],"sourcesContent":["export const SCROLL_STATES = {\n Start: 'scrollStart',\n IsScrolling: 'isScrolling',\n End: 'scrollEnd',\n};\n\nexport const OUTGOING_EVENTS = {\n Connected: 'connected',\n DesignTokens: 'registerDesignTokens',\n RegisteredBreakpoints: 'registeredBreakpoints',\n HoveredSection: 'hoveredSection',\n MouseMove: 'mouseMove',\n NewHoveredElement: 'newHoveredElement',\n ComponentSelected: 'componentSelected',\n RegisteredComponents: 'registeredComponents',\n RequestComponentTreeUpdate: 'requestComponentTreeUpdate',\n ComponentDragCanceled: 'componentDragCanceled',\n ComponentDropped: 'componentDropped',\n ComponentMoved: 'componentMoved',\n CanvasReload: 'canvasReload',\n UpdateSelectedComponentCoordinates: 'updateSelectedComponentCoordinates',\n UpdateHoveredComponentCoordinates: 'updateHoveredComponentCoordinates',\n CanvasScroll: 'canvasScrolling',\n CanvasError: 'canvasError',\n ComponentMoveStarted: 'componentMoveStarted',\n ComponentMoveEnded: 'componentMoveEnded',\n OutsideCanvasClick: 'outsideCanvasClick',\n SDKFeatures: 'sdkFeatures',\n};\n\nexport const INCOMING_EVENTS = {\n RequestEditorMode: 'requestEditorMode',\n ExperienceUpdated: 'componentTreeUpdated',\n ComponentDraggingChanged: 'componentDraggingChanged',\n ComponentDragCanceled: 'componentDragCanceled',\n ComponentDragStarted: 'componentDragStarted',\n ComponentDragEnded: 'componentDragEnded',\n ComponentMoveEnded: 'componentMoveEnded',\n CanvasResized: 'canvasResized',\n SelectComponent: 'selectComponent',\n HoverComponent: 'hoverComponent',\n UpdatedEntity: 'updatedEntity',\n AssembliesAdded: 'assembliesAdded',\n AssembliesRegistered: 'assembliesRegistered',\n InitEditor: 'initEditor',\n MouseMove: 'mouseMove',\n};\n\nexport const INTERNAL_EVENTS = {\n ComponentsRegistered: 'cfComponentsRegistered',\n VisualEditorInitialize: 'cfVisualEditorInitialize',\n};\n\nexport const VISUAL_EDITOR_EVENTS = {\n Ready: 'cfVisualEditorReady',\n};\n\nexport const VISUAL_EDITOR_CONTAINER_ID = 'cf-visual-editor';\nexport const CONTENTFUL_COMPONENT_CATEGORY = 'contentful-component';\nexport const CONTENTFUL_DEFAULT_CATEGORY = 'Contentful';\n\nexport const CONTENTFUL_COMPONENTS = {\n section: {\n id: 'contentful-section',\n name: 'Section',\n },\n container: {\n id: 'contentful-container',\n name: 'Container',\n },\n columns: {\n id: 'contentful-columns',\n name: 'Columns',\n },\n singleColumn: {\n id: 'contentful-single-column',\n name: 'Column',\n },\n button: {\n id: 'contentful-button',\n name: 'Button',\n },\n heading: {\n id: 'contentful-heading',\n name: 'Heading',\n },\n image: {\n id: 'contentful-image',\n name: 'Image',\n },\n richText: {\n id: 'contentful-richText',\n name: 'Rich Text',\n },\n text: {\n id: 'contentful-text',\n name: 'Text',\n },\n divider: {\n id: 'contentful-divider',\n name: 'Divider',\n },\n};\n\nexport const ASSEMBLY_NODE_TYPE = 'assembly';\nexport const ASSEMBLY_DEFAULT_CATEGORY = 'Assemblies';\nexport const ASSEMBLY_BLOCK_NODE_TYPE = 'assemblyBlock';\nexport const ASSEMBLY_NODE_TYPES = [ASSEMBLY_NODE_TYPE, ASSEMBLY_BLOCK_NODE_TYPE];\nexport const LATEST_SCHEMA_VERSION = '2023-09-28';\nexport const CF_STYLE_ATTRIBUTES = [\n 'cfHorizontalAlignment',\n 'cfVerticalAlignment',\n 'cfMargin',\n 'cfPadding',\n 'cfBackgroundColor',\n 'cfWidth',\n 'cfMaxWidth',\n 'cfHeight',\n 'cfImageAsset',\n 'cfImageOptions',\n 'cfBackgroundImageUrl',\n 'cfBackgroundImageOptions',\n 'cfFlexDirection',\n 'cfFlexWrap',\n 'cfBorder',\n 'cfBorderRadius',\n 'cfGap',\n 'cfFontSize',\n 'cfFontWeight',\n 'cfLineHeight',\n 'cfLetterSpacing',\n 'cfTextColor',\n 'cfTextAlign',\n 'cfTextTransform',\n 'cfTextBold',\n 'cfTextItalic',\n 'cfTextUnderline',\n // For backwards compatibility\n // we need to keep those in this constant array\n // so that omit() in <VisualEditorBlock> and <CompositionBlock>\n // can filter them out and not pass as props\n 'cfBackgroundImageScaling',\n 'cfBackgroundImageAlignment',\n 'cfBackgroundImageAlignmentVertical',\n 'cfBackgroundImageAlignmentHorizontal',\n];\n\nexport const EMPTY_CONTAINER_HEIGHT = '80px';\n\nexport const HYPERLINK_DEFAULT_PATTERN = `/{locale}/{entry.fields.slug}/`;\n\nexport const DEFAULT_IMAGE_WIDTH = '500px';\n\nexport enum PostMessageMethods {\n REQUEST_ENTITIES = 'REQUEST_ENTITIES',\n REQUESTED_ENTITIES = 'REQUESTED_ENTITIES',\n}\n\nexport const SUPPORTED_IMAGE_FORMATS = ['jpg', 'png', 'webp', 'gif', 'avif'] as const;\n"],"names":[],"mappings":"AAAa,MAAA,aAAa,GAAG;AAC3B,IAAA,KAAK,EAAE,aAAa;AACpB,IAAA,WAAW,EAAE,aAAa;AAC1B,IAAA,GAAG,EAAE,WAAW;EAChB;AAEW,MAAA,eAAe,GAAG;AAC7B,IAAA,SAAS,EAAE,WAAW;AACtB,IAAA,YAAY,EAAE,sBAAsB;AACpC,IAAA,qBAAqB,EAAE,uBAAuB;AAC9C,IAAA,cAAc,EAAE,gBAAgB;AAChC,IAAA,SAAS,EAAE,WAAW;AACtB,IAAA,iBAAiB,EAAE,mBAAmB;AACtC,IAAA,iBAAiB,EAAE,mBAAmB;AACtC,IAAA,oBAAoB,EAAE,sBAAsB;AAC5C,IAAA,0BAA0B,EAAE,4BAA4B;AACxD,IAAA,qBAAqB,EAAE,uBAAuB;AAC9C,IAAA,gBAAgB,EAAE,kBAAkB;AACpC,IAAA,cAAc,EAAE,g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IAChB,sBAAsB;IACtB,0BAA0B;IAC1B,iBAAiB;IACjB,YAAY;IACZ,UAAU;IACV,gBAAgB;IAChB,OAAO;IACP,YAAY;IACZ,cAAc;IACd,cAAc;IACd,iBAAiB;IACjB,aAAa;IACb,aAAa;IACb,iBAAiB;IACjB,YAAY;IACZ,cAAc;IACd,iBAAiB;;;;;IAKjB,0BAA0B;IAC1B,4BAA4B;IAC5B,oCAAoC;IACpC,sCAAsC;EACtC;AAEK,MAAM,sBAAsB,GAAG,OAAO;AAEtC,MAAM,yBAAyB,GAAG,iCAAiC;AAEnE,MAAM,mBAAmB,GAAG,QAAQ;IAE/B,mBAGX;AAHD,CAAA,UAAY,kBAAkB,EAAA;AAC5B,IAAA,kBAAA,CAAA,kBAAA,CAAA,GAAA,kBAAqC,CAAA;AACrC,IAAA,kBAAA,CAAA,oBAAA,CAAA,GAAA,oBAAyC,CAAA;AAC3C,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,GAG7B,EAAA,CAAA,CAAA,CAAA;AAEM,MAAM,uBAAuB,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;;;;"}
|
package/dist/exports.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { ASSEMBLY_BLOCK_NODE_TYPE, ASSEMBLY_DEFAULT_CATEGORY, ASSEMBLY_NODE_TYPE, ASSEMBLY_NODE_TYPES, CF_STYLE_ATTRIBUTES, CONTENTFUL_COMPONENTS, CONTENTFUL_COMPONENT_CATEGORY, CONTENTFUL_DEFAULT_CATEGORY, DEFAULT_IMAGE_WIDTH, EMPTY_CONTAINER_HEIGHT, HYPERLINK_DEFAULT_PATTERN, INCOMING_EVENTS, INTERNAL_EVENTS, LATEST_SCHEMA_VERSION, OUTGOING_EVENTS, PostMessageMethods, SCROLL_STATES, SUPPORTED_IMAGE_FORMATS, VISUAL_EDITOR_CONTAINER_ID, VISUAL_EDITOR_EVENTS } from './constants.js';
|
|
2
|
-
export {
|
|
2
|
+
export { BackgroundImageAlignmentOption, BackgroundImageOptions, BackgroundImageScalingOption, Binding, BindingMap, BindingMapByBlockId, BoundComponentPropertyTypes, CSSProperties, ComponentBinding, ComponentDefinition, ComponentDefinitionVariable, ComponentDefinitionVariableBase, ComponentDefinitionVariableValidation, ComponentRegistration, ComponentRegistrationOptions, ContainerStyleVariableName, Coordinates, DataSourceEntryValueType, DesignTokensDefinition, Experience, ExperienceEntry, ExperienceFields, ExperienceTree, ExperienceTreeNode, ExternalSDKMode, HoveredElement, ImageLoadingOption, ImageObjectFitOption, ImageObjectPositionOption, ImageOptions, IncomingEvent, InternalEvent, InternalSDKMode, Link, ManagementEntity, OptimizedBackgroundImageAsset, OptimizedImageAsset, OutgoingEvent, RawCoordinates, RecursiveDesignTokenDefinition, RequestEntitiesMessage, RequestedEntitiesMessage, ResolveDesignValueType, ScrollState, StyleProps, ValidationOption, VariableFormats } from './types.js';
|
|
3
3
|
export { BoundValue, Breakpoint, ComponentDefinitionPropertyType as ComponentDefinitionVariableType, ComponentPropertyValue, ComponentTreeNode, ComponentValue, DesignValue, ExperienceComponentSettings, ExperienceDataSource, ExperienceUnboundValues, PrimitiveValue, SchemaVersions, UnboundValue, ValuesByBreakpoint } from '@contentful/experiences-validators';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { isComponentAllowedOnRoot, isContentfulStructureComponent, isStructureWithRelativeHeight } from './utils/components.js';
|
|
2
2
|
export { findOutermostCoordinates, getElementCoordinates } from './utils/domValues.js';
|
|
3
|
-
export { doesMismatchMessageSchema, tryParseMessage, validateExperienceBuilderConfig } from './utils/validations.js';
|
|
3
|
+
export { VisualEditorMessagePayload, doesMismatchMessageSchema, tryParseMessage, validateExperienceBuilderConfig } from './utils/validations.js';
|
|
4
4
|
export { buildCfStyles, buildStyleTag, calculateNodeDefaultHeight, toCSSAttribute } from './utils/styleUtils/stylesUtils.js';
|
|
5
5
|
export { detachExperienceStyles, flattenDesignTokenRegistry, indexByBreakpoint, isCfStyleAttribute, maybePopulateDesignTokenValue, resolveBackgroundImageBinding, toCSSString, toMediaQuery } from './utils/styleUtils/ssrStyles.js';
|
|
6
6
|
export { transformBoundContentValue } from './utils/transformers/transformBoundContentValue.js';
|
package/dist/index.js
CHANGED
|
@@ -17,8 +17,8 @@ const INCOMING_EVENTS = {
|
|
|
17
17
|
UpdatedEntity: 'updatedEntity',
|
|
18
18
|
AssembliesAdded: 'assembliesAdded',
|
|
19
19
|
AssembliesRegistered: 'assembliesRegistered',
|
|
20
|
+
InitEditor: 'initEditor',
|
|
20
21
|
MouseMove: 'mouseMove',
|
|
21
|
-
RequestedEntities: 'REQUESTED_ENTITIES',
|
|
22
22
|
};
|
|
23
23
|
const CONTENTFUL_COMPONENT_CATEGORY = 'contentful-component';
|
|
24
24
|
const CONTENTFUL_DEFAULT_CATEGORY = 'Contentful';
|