@contentful/experiences-core 1.14.1-dev-20240911T0616-ea0d046.0 → 1.15.0-beta.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/types.d.ts CHANGED
@@ -405,6 +405,7 @@ type ComponentDraggingChangedPayload = {
405
405
  type IncomingComponentDragCanceledPayload = undefined;
406
406
  type ComponentDragStartedPayload = {
407
407
  id: string;
408
+ isAssembly: boolean;
408
409
  };
409
410
  type ComponentDragEndedPayload = undefined;
410
411
  type IncomingComponentMoveEndedPayload = {
@@ -7,6 +7,6 @@ declare const mediaQueryMatcher: (breakpoints: Breakpoint[]) => [{
7
7
  }[], Record<string, boolean>];
8
8
  declare const getActiveBreakpointIndex: (breakpoints: Breakpoint[], mediaQueryMatches: Record<string, boolean>, fallbackBreakpointIndex: number) => number;
9
9
  declare const getFallbackBreakpointIndex: (breakpoints: Breakpoint[]) => number;
10
- declare const getValueForBreakpoint: (valuesByBreakpoint: ValuesByBreakpoint, breakpoints: Breakpoint[], activeBreakpointIndex: number, variableName: string) => string | number | boolean | Record<any, any> | undefined;
10
+ declare const getValueForBreakpoint: (valuesByBreakpoint: ValuesByBreakpoint, breakpoints: Breakpoint[], activeBreakpointIndex: number, variableName: string, resolveDesignTokens?: boolean) => string | number | boolean | Record<any, any> | undefined;
11
11
 
12
12
  export { MEDIA_QUERY_REGEXP, getActiveBreakpointIndex, getFallbackBreakpointIndex, getValueForBreakpoint, mediaQueryMatcher };
@@ -6,7 +6,7 @@ declare const buildStyleTag: ({ styles, nodeId }: {
6
6
  styles: CSSProperties;
7
7
  nodeId?: string;
8
8
  }) => string[];
9
- declare const buildCfStyles: ({ cfHorizontalAlignment, cfVerticalAlignment, cfFlexDirection, cfFlexWrap, cfMargin, cfPadding, cfBackgroundColor, cfWidth, cfHeight, cfMaxWidth, cfBorder, cfBorderRadius, cfGap, cfBackgroundImageUrl, cfBackgroundImageOptions, cfFontSize, cfFontWeight, cfImageOptions, cfLineHeight, cfLetterSpacing, cfTextColor, cfTextAlign, cfTextTransform, cfTextBold, cfTextItalic, cfTextUnderline, cfColumnSpan, }: Partial<StyleProps>) => CSSProperties;
9
+ declare const buildCfStyles: ({ cfHorizontalAlignment, cfVerticalAlignment, cfFlexDirection, cfFlexWrap, cfMargin, cfPadding, cfBackgroundColor, cfWidth, cfHeight, cfMaxWidth, cfBorder, cfBorderRadius, cfGap, cfBackgroundImageUrl, cfBackgroundImageOptions, cfFontSize, cfFontWeight, cfImageOptions, cfLineHeight, cfLetterSpacing, cfTextColor, cfTextAlign, cfTextTransform, cfTextBold, cfTextItalic, cfTextUnderline, cfColumnSpan, cfVisibility, }: Partial<StyleProps>) => CSSProperties;
10
10
  /**
11
11
  * Container/section default behavior:
12
12
  * Default height => height: EMPTY_CONTAINER_HEIGHT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experiences-core",
3
- "version": "1.14.1-dev-20240911T0616-ea0d046.0",
3
+ "version": "1.15.0-beta.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -69,11 +69,11 @@
69
69
  "vitest": "^1.0.4"
70
70
  },
71
71
  "dependencies": {
72
- "@contentful/experiences-validators": "1.14.1-dev-20240911T0616-ea0d046.0",
72
+ "@contentful/experiences-validators": "1.15.0-beta.0",
73
73
  "@contentful/rich-text-types": "^16.3.0"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "contentful": ">=10.6.0"
77
77
  },
78
- "gitHead": "72d63a0e9c95e03aeba1a743fd1e3db69df09c1b"
78
+ "gitHead": "3a0224df757bee8d6805475a78feddda56e87fdb"
79
79
  }