@contentful/experiences-core 1.37.3-dev-20250519T0822-4378dab.0 → 1.37.3-dev-20250523T0645-49fc5b0.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
@@ -295,7 +295,7 @@ interface Experience<T extends EntityStore = EntityStore> {
295
295
  hyperlinkPattern?: string;
296
296
  entityStore?: T;
297
297
  }
298
- type ResolveDesignValueType = (valuesByBreakpoint: ValuesByBreakpoint | undefined, variableName: string) => PrimitiveValue;
298
+ type ResolveDesignValueType = (valuesByBreakpoint: ValuesByBreakpoint | undefined, propertyName?: string) => PrimitiveValue;
299
299
  type ManagementEntity = (Entry | Asset) & {
300
300
  sys: {
301
301
  version: number;
@@ -8,6 +8,6 @@ declare const mediaQueryMatcher: (breakpoints: Breakpoint[]) => [{
8
8
  declare const getActiveBreakpointIndex: (breakpoints: Breakpoint[], mediaQueryMatches: Record<string, boolean>, fallbackBreakpointIndex: number) => number;
9
9
  declare const getFallbackBreakpointIndex: (breakpoints: Breakpoint[]) => number;
10
10
  declare const isValidBreakpointValue: (value: PrimitiveValue) => value is Exclude<PrimitiveValue, undefined>;
11
- declare const getValueForBreakpoint: (valuesByBreakpoint: ValuesByBreakpoint | undefined, breakpoints: Breakpoint[], activeBreakpointIndex: number, fallbackBreakpointIndex: number, variableName: string, resolveDesignTokens?: boolean) => string | number | boolean | Record<any, any> | undefined;
11
+ declare const getValueForBreakpoint: (valuesByBreakpoint: ValuesByBreakpoint | undefined, breakpoints: Breakpoint[], activeBreakpointIndex: number, fallbackBreakpointIndex: number, propertyName?: string, resolveDesignTokens?: boolean) => string | number | boolean | Record<any, any> | undefined;
12
12
 
13
13
  export { MEDIA_QUERY_REGEXP, getActiveBreakpointIndex, getFallbackBreakpointIndex, getValueForBreakpoint, isValidBreakpointValue, mediaQueryMatcher };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/experiences-core",
3
- "version": "1.37.3-dev-20250519T0822-4378dab.0",
3
+ "version": "1.37.3-dev-20250523T0645-49fc5b0.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -70,11 +70,11 @@
70
70
  "vitest": "^2.1.1"
71
71
  },
72
72
  "dependencies": {
73
- "@contentful/experiences-validators": "1.37.3-dev-20250519T0822-4378dab.0",
73
+ "@contentful/experiences-validators": "1.37.3-dev-20250523T0645-49fc5b0.0",
74
74
  "@contentful/rich-text-types": "^17.0.0"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "contentful": ">=10.6.0"
78
78
  },
79
- "gitHead": "2b4d372f8a89f706c5247575cf2f08923769fd9a"
79
+ "gitHead": "9d3f29301e10b4acb1b6bb1b5a2c2eb32fc150db"
80
80
  }