@contentful/experiences-angular 0.5.0 → 0.6.1

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.
Files changed (44) hide show
  1. package/CHANGELOG.md +152 -0
  2. package/README.md +8 -12
  3. package/dist/client-experience-renderer.component.d.ts +1 -8
  4. package/dist/client-experience-renderer.component.d.ts.map +1 -1
  5. package/dist/client-experience-renderer.component.js +4 -37
  6. package/dist/client-experience-renderer.component.js.map +1 -1
  7. package/dist/component-error.component.d.ts +1 -1
  8. package/dist/component-error.component.d.ts.map +1 -1
  9. package/dist/context.d.ts +1 -1
  10. package/dist/context.js +2 -2
  11. package/dist/experience-defaults.d.ts +1 -7
  12. package/dist/experience-defaults.d.ts.map +1 -1
  13. package/dist/experience-defaults.js +1 -12
  14. package/dist/experience-defaults.js.map +1 -1
  15. package/dist/experience-scope.d.ts.map +1 -1
  16. package/dist/experience-scope.js +2 -3
  17. package/dist/experience-scope.js.map +1 -1
  18. package/dist/index.d.ts +4 -6
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +3 -4
  21. package/dist/index.js.map +1 -1
  22. package/dist/inject-design-values.d.ts +1 -1
  23. package/dist/inject-design-values.js +1 -1
  24. package/dist/inject-experience-plan.d.ts.map +1 -1
  25. package/dist/inject-experience-plan.js +4 -5
  26. package/dist/inject-experience-plan.js.map +1 -1
  27. package/dist/missing-component.component.d.ts +1 -1
  28. package/dist/missing-component.component.d.ts.map +1 -1
  29. package/dist/node-render-engine.d.ts +2 -2
  30. package/dist/node-render-engine.d.ts.map +1 -1
  31. package/dist/node-render-engine.js +9 -19
  32. package/dist/node-render-engine.js.map +1 -1
  33. package/dist/node-scopes.d.ts +1 -1
  34. package/dist/node-scopes.js +1 -1
  35. package/dist/server-experience-renderer.component.d.ts +1 -12
  36. package/dist/server-experience-renderer.component.d.ts.map +1 -1
  37. package/dist/server-experience-renderer.component.js +3 -34
  38. package/dist/server-experience-renderer.component.js.map +1 -1
  39. package/dist/types.d.ts +2 -2
  40. package/package.json +5 -5
  41. package/dist/inject-active-viewport.d.ts +0 -32
  42. package/dist/inject-active-viewport.d.ts.map +0 -1
  43. package/dist/inject-active-viewport.js +0 -78
  44. package/dist/inject-active-viewport.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,155 @@
1
+ ## 0.6.1 (2026-10-08)
2
+
3
+ ### 🚀 Features
4
+
5
+ - add fetchDestinationSitemap for paginated route listing [AIS-569] ([#218](https://github.com/contentful/experiences/pull/218))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated live-preview to 0.6.1
10
+ - Updated client to 0.9.1
11
+
12
+ ## 0.6.0 (2026-10-08)
13
+
14
+ ### 🚀 Features
15
+
16
+ - ⚠️ remove sdk viewport surface [SPA-5275] ([#220](https://github.com/contentful/experiences/pull/220))
17
+
18
+ ### ⚠️ Breaking Changes
19
+
20
+ - remove sdk viewport surface [SPA-5275] ([#220](https://github.com/contentful/experiences/pull/220))
21
+ The SDK no longer exposes viewport definitions, viewport-aware design-value resolution, or active-viewport hooks. Use CSS media queries or application-owned matchMedia integration for responsive behavior. Delivered design property values are now flat and require no migration."
22
+ M AGENTS.md
23
+ M ARCHITECTURE.md
24
+ M CONTRIBUTING.md
25
+ M README.md
26
+ M catalog-info.yaml
27
+ M examples/angular/README.md
28
+ M examples/angular/src/app/components/heading.component.ts
29
+ D examples/angular/src/app/lib/detect-viewport.ts
30
+ M examples/angular/src/app/lib/experience-config.ts
31
+ M examples/angular/src/app/lib/experience-route-data.ts
32
+ M examples/angular/src/app/pages/experience-page.component.ts
33
+ M examples/angular/src/server.ts
34
+ M examples/nextjs/README.md
35
+ M examples/nextjs/app/[slug]/page.tsx
36
+ M examples/nextjs/components/Heading.tsx
37
+ M examples/nextjs/components/LivePreviewExperience.tsx
38
+ M examples/nextjs/components/Section.tsx
39
+ D examples/nextjs/lib/detect-viewport.ts
40
+ M examples/nextjs/lib/experience-config.tsx
41
+ M examples/scripts/bootstrap-example.ts
42
+ M examples/scripts/fixture/experience.ts
43
+ M examples/scripts/fixture/types.ts
44
+ M examples/sveltekit/README.md
45
+ M examples/sveltekit/src/lib/components/Heading.svelte
46
+ D examples/sveltekit/src/lib/detect-viewport.ts
47
+ M examples/sveltekit/src/lib/experience-config.ts
48
+ M examples/sveltekit/src/routes/[slug]/+page.server.ts
49
+ M examples/sveltekit/src/routes/[slug]/+page.svelte
50
+ M examples/sveltekit/vite.config.ts
51
+ M package-lock.json
52
+ M packages/adapter-angular/README.md
53
+ M packages/adapter-angular/src/client-experience-renderer.component.ts
54
+ M packages/adapter-angular/src/context.ts
55
+ M packages/adapter-angular/src/debug-experience.test.ts
56
+ M packages/adapter-angular/src/debug-panel-coverage.ssr.test.ts
57
+ M packages/adapter-angular/src/debug-panel-coverage.test.ts
58
+ M packages/adapter-angular/src/dom-parity.test.ts
59
+ M packages/adapter-angular/src/experience-defaults.ts
60
+ M packages/adapter-angular/src/experience-scope.ts
61
+ M packages/adapter-angular/src/index.ts
62
+ D packages/adapter-angular/src/inject-active-viewport.ts
63
+ M packages/adapter-angular/src/inject-design-values.ts
64
+ M packages/adapter-angular/src/inject-experience-plan.ts
65
+ M packages/adapter-angular/src/live-preview-experience.ssr.test.ts
66
+ M packages/adapter-angular/src/live-preview-experience.test.ts
67
+ M packages/adapter-angular/src/node-render-engine.test.ts
68
+ M packages/adapter-angular/src/node-render-engine.ts
69
+ M packages/adapter-angular/src/node-scopes.ts
70
+ M packages/adapter-angular/src/nodes-renderer.ssr.test.ts
71
+ M packages/adapter-angular/src/server-experience-renderer.component.ts
72
+ M packages/adapter-angular/src/server-renderer.test.ts
73
+ M packages/adapter-angular/src/test-fixtures/render-harness.ts
74
+ M packages/adapter-angular/src/types.ts
75
+ M packages/adapter-react/README.md
76
+ M packages/adapter-react/src/client-renderer.tsx
77
+ M packages/adapter-react/src/context.tsx
78
+ M packages/adapter-react/src/debug-experience.test.tsx
79
+ M packages/adapter-react/src/debug-experience.tsx
80
+ M packages/adapter-react/src/debug-panel-coverage.test.tsx
81
+ M packages/adapter-react/src/index.ts
82
+ M packages/adapter-react/src/nodes-renderer.ssr.test.tsx
83
+ M packages/adapter-react/src/nodes-renderer.test.tsx
84
+ M packages/adapter-react/src/nodes-renderer.tsx
85
+ M packages/adapter-react/src/server-renderer.test.tsx
86
+ M packages/adapter-react/src/server-renderer.tsx
87
+ M packages/adapter-react/src/types.ts
88
+ D packages/adapter-react/src/use-active-viewport.ts
89
+ M packages/adapter-react/src/use-design-values.tsx
90
+ M packages/adapter-react/src/use-experience-plan.test.tsx
91
+ M packages/adapter-react/src/use-experience-plan.ts
92
+ M packages/adapter-react/src/use-live-preview-experience.test.tsx
93
+ M packages/adapter-react/src/use-live-preview.test.tsx
94
+ M packages/adapter-svelte/README.md
95
+ M packages/adapter-svelte/src/ClientExperienceRenderer.svelte
96
+ M packages/adapter-svelte/src/DebugExperience.svelte
97
+ M packages/adapter-svelte/src/DebugExperience.test.ts
98
+ M packages/adapter-svelte/src/NodeRenderer.svelte
99
+ M packages/adapter-svelte/src/NodeRenderer.test.ts
100
+ M packages/adapter-svelte/src/NodesRenderer.svelte
101
+ M packages/adapter-svelte/src/ServerExperienceRenderer.svelte
102
+ M packages/adapter-svelte/src/component-props.ts
103
+ M packages/adapter-svelte/src/context.ts
104
+ M packages/adapter-svelte/src/debug-panel-coverage.ssr.test.ts
105
+ M packages/adapter-svelte/src/debug-panel-coverage.test.ts
106
+ M packages/adapter-svelte/src/get-design-values.ts
107
+ M packages/adapter-svelte/src/index.ts
108
+ M packages/adapter-svelte/src/nodes-renderer.ssr.test.ts
109
+ M packages/adapter-svelte/src/server-renderer.test.ts
110
+ M packages/adapter-svelte/src/types.ts
111
+ D packages/adapter-svelte/src/use-active-viewport.svelte.ts
112
+ M packages/adapter-svelte/src/use-experience-plan.test.ts
113
+ M packages/adapter-svelte/src/use-live-preview-experience.test.ts
114
+ M packages/adapter-svelte/src/use-live-preview.test.ts
115
+ M packages/client/src/contentful-experiences.test.ts
116
+ M packages/client/src/contentful-experiences.ts
117
+ M packages/client/src/fetch-experience.test.ts
118
+ M packages/client/src/fetch-experience.ts
119
+ M packages/core/README.md
120
+ A packages/core/src/design-properties.test.ts
121
+ A packages/core/src/design-properties.ts
122
+ M packages/core/src/index.ts
123
+ M packages/core/src/resolve-experience.test.ts
124
+ M packages/core/src/resolve-experience.ts
125
+ M packages/core/src/types.ts
126
+ D packages/core/src/viewport.test.ts
127
+ D packages/core/src/viewport.ts
128
+ M packages/design/README.md
129
+ M packages/design/package.json
130
+ M packages/design/src/index.ts
131
+ D packages/design/src/media-query-matchers.ts
132
+ D packages/design/src/select-resolved-design.ts
133
+ D packages/design/src/viewport.test.ts
134
+ D packages/design/src/viewport.ts
135
+ M packages/live-preview/README.md
136
+ M packages/live-preview/src/experience-payload.ts
137
+ M packages/live-preview/src/fetch-preview-session.test.ts
138
+ M packages/live-preview/src/fetch-preview-session.ts
139
+ M packages/live-preview/src/live-preview-client.test.ts
140
+ M packages/node/README.md
141
+ M packages/node/src/contentful-experiences.test.ts
142
+ M packages/node/src/contentful-experiences.ts
143
+ M packages/web/README.md
144
+ M packages/web/src/contentful-experiences.test.ts
145
+
146
+ ### 🧱 Updated Dependencies
147
+
148
+ - Updated live-preview to 0.6.0
149
+ - Updated client to 0.9.0
150
+ - Updated design to 0.12.0
151
+ - Updated core to 0.12.0
152
+
1
153
  ## 0.5.0 (2026-10-06)
2
154
 
3
155
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -136,13 +136,12 @@ connection fails. The last valid `data` remains available.
136
136
  Every renderer is standalone; add it to your own component's `imports`.
137
137
 
138
138
  ```ts
139
- ServerExperienceRenderer; // <cf-server-experience> SSR-safe; active viewport seeded from initialViewportId
140
- ClientExperienceRenderer; // <cf-experience> Subscribes to window.matchMedia
139
+ ServerExperienceRenderer; // <cf-server-experience> SSR-safe renderer
140
+ ClientExperienceRenderer; // <cf-experience> Client renderer
141
141
  MissingComponent; // <cf-missing-component> Default fallback for unregistered component types
142
142
  NodesRenderer; // *cfNodes Renders a slot's raw nodes (see Slot children)
143
143
  NodeRenderer; // *cfNode Renders one node; NodesRenderer loops over it
144
144
  DebugExperience; // <cf-debug-experience> Auto-mounted by the renderers when debug is set
145
- injectActiveViewport; // Signal-backed viewport index; you'll rarely need it directly
146
145
  injectLivePreviewExperience; // Signal-backed raw Experience payload
147
146
  injectExperiencePlan; // Signal-backed PortableRenderPlan
148
147
  ```
@@ -158,13 +157,13 @@ All four are `inject()`-based: call them from a field initializer or a construct
158
157
  ```ts
159
158
  injectDesignValues<T>(); // Signal of the resolved design record that auto-fills inputs
160
159
  toCss(design, options?); // Turns a design record into a plain style object for [ngStyle]
161
- injectExperience(); // Signal<RenderContext>: debug, metadata, viewports, activeViewport
160
+ injectExperience(); // Signal<RenderContext>: debug, metadata
162
161
  injectContentfulComponent(); // Signal of the raw payload for the enclosing node (or undefined)
163
162
  injectContentfulExperienceTemplate(); // Same, for an enclosing coded Experience Template node
164
163
  type ToCssOptions;
165
164
  ```
166
165
 
167
- Resolved design values (viewport-cascaded + token-resolved server-side) are **auto-filled onto your component's inputs** by key, alongside content. Declaring an `@Input()` per design key you style with is the one recommended path — and in Angular it is also what makes the key arrive, since binding an undeclared input is an error. `injectDesignValues()` returns the same record as a `Signal`, as an escape hatch and as the way to read keys your component didn't declare, which are **dropped** rather than passed (see [Parity table](#parity-table)). Reach for it only for a nested child that isn't itself a registered component, or for design needed outside the render path (an effect, an imperative measurement) — see [Styling components](../../README.md#styling-components). Token resolution is configured with `resolveToken` on your `Config` (`type ResolveToken`).
166
+ Resolved design values are **auto-filled onto your component's inputs** by key, alongside content. Declaring an `@Input()` per design key you style with is the one recommended path — and in Angular it is also what makes the key arrive, since binding an undeclared input is an error. `injectDesignValues()` returns the same record as a `Signal`, as an escape hatch and as the way to read keys your component didn't declare, which are **dropped** rather than passed (see [Parity table](#parity-table)). Reach for it only for a nested child that isn't itself a registered component, or for design needed outside the render path (an effect, an imperative measurement) — see [Styling components](../../README.md#styling-components). Token resolution is configured with `resolveToken` on your `Config` (`type ResolveToken`).
168
167
 
169
168
  ### Re-exported types and utilities
170
169
 
@@ -177,8 +176,7 @@ type RenderContext, RenderUnknown, ResolveToken, SlotNodes,
177
176
  type ExperiencePayload, ExperienceNode, ComponentNode, ExperienceTemplateNode,
178
177
  type ComponentRef, ExperienceTemplateRef, ExperienceSys,
179
178
  type PortableRenderPlan, PortableRenderNode, PortableRegistration,
180
- type DesignPropValue, ManualDesignValue, DesignToken, ValuesByViewport,
181
- type ViewportDef, ExperienceContext, ResolveContext,
179
+ type DesignPropValue, ManualDesignValue, DesignToken, ExperienceContext, ResolveContext,
182
180
  type ResolverConfig, ResolveExperienceOptions
183
181
 
184
182
  // From live preview and the Angular adapter
@@ -187,8 +185,7 @@ type InjectLivePreviewExperienceOptions, InjectLivePreviewExperienceResult,
187
185
  type ExperiencePlanResolveOptions, InjectExperiencePlanOptions,
188
186
  type InjectExperiencePlanResult
189
187
 
190
- // From design (if you want to do your own viewport-aware resolution)
191
- getValueForViewport, getViewportIndex, resolveDesignProperties, toCssMediaQuery,
188
+ // From design
192
189
  isCssProperty, toCssKey, CSS_PROPERTIES
193
190
 
194
191
  // From client
@@ -337,7 +334,7 @@ The same nodes are also on the payload at `injectContentfulComponent()().slots`
337
334
 
338
335
  ## Parity table
339
336
 
340
- Everything below is a deliberate divergence from React and Svelte, forced by an Angular primitive. Semantics — merge precedence, the viewport cascade, degradation behaviour, context walk-up — are identical across all three adapters and covered by the same ported test suite.
337
+ Everything below is a deliberate divergence from React and Svelte, forced by an Angular primitive. Semantics — merge precedence, degradation behaviour, and context walk-up — are identical across all three adapters and covered by the same ported test suite.
341
338
 
342
339
  | Concern | React | Svelte | Angular | Why |
343
340
  | ------------------------------------------------ | -------------------------------------------------------------------------------------------- | ------------------------------------------------------------ | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
@@ -350,7 +347,6 @@ Everything below is a deliberate divergence from React and Svelte, forced by an
350
347
  | Reading dropped keys | n/a | n/a | `injectDesignValues()` | The full resolved design record is always available regardless of declared inputs. |
351
348
  | Component inputs | props | `$props()` | `@Input()` setter → `signal` | Signal `input()` is AOT-only; a JIT consumer reports zero declared inputs, which would break `reflectComponentType` filtering. |
352
349
  | Input naming | any | any | setter takes the payload key; the readable signal needs a distinct name | A class cannot declare a field and an accessor under one name, and under `useDefineForClassFields: false` the field initializer would assign straight through the setter. |
353
- | `injectActiveViewport` args | values | values | **getters** (`() => viewports`) | An injection context runs before inputs are bound. Every `Signal` is already a getter, so passing one works unchanged. |
354
350
  | Missing-component warning | effect | effect | `ngOnInit` | So the diagnostic also fires during server rendering. |
355
351
  | Prop-shape types | inferred | separate `*.ts` per component | not needed | Angular components are `.ts`, so `tsc --noEmit` already resolves them. |
356
352
  | Style helper output | `CSSProperties` | plain record | plain record for `[ngStyle]` | Scalar-only, same as Svelte. |
@@ -359,7 +355,7 @@ Everything below is a deliberate divergence from React and Svelte, forced by an
359
355
 
360
356
  **Not** a divergence: the DOM around slot children. React renders them through a fragment, Svelte through no element, and Angular through structural directives — no adapter element in any of the three. Dispatch deliberately does not use components, because an Angular component always has a host element and no configuration removes it; `display: contents` would hide such a wrapper from layout but not from `> .card`, `:nth-child(n)`, or the sibling combinators.
361
357
 
362
- For the full getting-started walkthrough, the merge-precedence rules, viewport handling, and design rationale, see the [root README](../../README.md) and [`AGENTS.md`](../../AGENTS.md).
358
+ For the full getting-started walkthrough, merge-precedence rules, and design rationale, see the [root README](../../README.md) and [`AGENTS.md`](../../AGENTS.md).
363
359
 
364
360
  ---
365
361
 
@@ -7,18 +7,12 @@ export declare class ClientExperienceRendererComponent {
7
7
  private readonly debugValue;
8
8
  protected readonly resolvedDebug: import("@angular/core").Signal<boolean>;
9
9
  private readonly configValue;
10
- private readonly initialViewportIdValue;
11
10
  private readonly metadataValue;
12
11
  private readonly renderUnknownValue;
13
12
  private readonly renderErrorValue;
14
13
  /** A resolved render plan, or `null` while one is still being fetched. */
15
14
  set experience(value: PortableRenderPlan | null | undefined);
16
15
  set config(value: Config);
17
- /**
18
- * Viewport to render for until `matchMedia` takes over after the first render.
19
- * Set it to whatever the server rendered with so hydration does not flicker.
20
- */
21
- set initialViewportId(value: string | undefined);
22
16
  /** Shallow-merges over the plan's `metadata`. Only needed to override it. */
23
17
  set metadata(value: Record<string, unknown> | undefined);
24
18
  /**
@@ -30,13 +24,12 @@ export declare class ClientExperienceRendererComponent {
30
24
  set renderUnknown(value: Type<unknown> | undefined);
31
25
  /** Replaces the default error box rendered when a registered component throws. */
32
26
  set renderError(value: Type<unknown> | undefined);
33
- private readonly tracker;
34
27
  private readonly renderContext;
35
28
  private readonly scope;
36
29
  /** Resolve-time + render-time diagnostics, merged for `<cf-debug-experience>`. */
37
30
  protected readonly errors: import("@angular/core").Signal<Error[]>;
38
31
  constructor();
39
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ClientExperienceRendererComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<ClientExperienceRendererComponent, "cf-experience", never, { "experience": { "alias": "experience"; "required": true; }; "config": { "alias": "config"; "required": true; }; "initialViewportId": { "alias": "initialViewportId"; "required": false; }; "metadata": { "alias": "metadata"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "renderUnknown": { "alias": "renderUnknown"; "required": false; }; "renderError": { "alias": "renderError"; "required": false; }; }, {}, never, never, true, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<ClientExperienceRendererComponent, "cf-experience", never, { "experience": { "alias": "experience"; "required": true; }; "config": { "alias": "config"; "required": true; }; "metadata": { "alias": "metadata"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "renderUnknown": { "alias": "renderUnknown"; "required": false; }; "renderError": { "alias": "renderError"; "required": false; }; }, {}, never, never, true, never>;
41
34
  }
42
35
  //# sourceMappingURL=client-experience-renderer.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client-experience-renderer.component.d.ts","s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;IAClF,IAAa,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,SAAS,EAExD;IAED,OAAO,CAAC,QAAQ,CAAC,aAAa,CAW3B;IAEH,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA2B;IAEjD,kFAAkF;IAClF,SAAS,CAAC,QAAQ,CAAC,MAAM,0CAGtB;;yCA/DQ,iCAAiC;2CAAjC,iCAAiC;CAuE7C"}
@@ -1,21 +1,14 @@
1
1
  /*
2
2
  * Browser entry point. Port of adapter-svelte/src/ClientExperienceRenderer.svelte.
3
3
  *
4
- * Identical to `<cf-server-experience>` except that the active viewport tracks
5
- * `window.matchMedia` instead of being fixed at render time, so design values
6
- * re-cascade as the window resizes.
7
- *
8
- * Simpler than the Svelte original: Svelte mutates a `$state` object in place
9
- * because its contexts are snapshots, so the mirror and the `$effect` that keeps
10
- * it in sync are load-bearing there. Angular signals have no such constraint —
11
- * one `computed` is the whole thing.
4
+ * Browser entry point. Design values are resolved before this renderer receives
5
+ * the plan, so it has no browser-only design-property work.
12
6
  */
13
7
  import { ChangeDetectionStrategy, Component, Input, computed, inject, signal, } from '@angular/core';
14
8
  import { ComponentErrorComponent } from './component-error.component.js';
15
9
  import { DebugExperienceComponent } from './debug-experience.component.js';
16
- import { DEFAULT_CONTEXT, EMPTY_CONFIG, FALLBACK_VIEWPORT } from './experience-defaults.js';
10
+ import { DEFAULT_CONTEXT, EMPTY_CONFIG } from './experience-defaults.js';
17
11
  import { ExperienceScope } from './experience-scope.js';
18
- import { injectActiveViewport } from './inject-active-viewport.js';
19
12
  import { MissingComponentComponent } from './missing-component.component.js';
20
13
  import { NodesRendererDirective } from './node-renderer.directive.js';
21
14
  import * as i0 from "@angular/core";
@@ -27,13 +20,6 @@ export class ClientExperienceRendererComponent {
27
20
  set config(value) {
28
21
  this.configValue.set(value);
29
22
  }
30
- /**
31
- * Viewport to render for until `matchMedia` takes over after the first render.
32
- * Set it to whatever the server rendered with so hydration does not flicker.
33
- */
34
- set initialViewportId(value) {
35
- this.initialViewportIdValue.set(value);
36
- }
37
23
  /** Shallow-merges over the plan's `metadata`. Only needed to override it. */
38
24
  set metadata(value) {
39
25
  this.metadataValue.set(value);
@@ -59,24 +45,11 @@ export class ClientExperienceRendererComponent {
59
45
  this.debugValue = signal(undefined, ...(ngDevMode ? [{ debugName: "debugValue" }] : []));
60
46
  this.resolvedDebug = computed(() => this.debugValue() ?? this.experienceValue()?.debug ?? false, ...(ngDevMode ? [{ debugName: "resolvedDebug" }] : []));
61
47
  this.configValue = signal(null, ...(ngDevMode ? [{ debugName: "configValue" }] : []));
62
- this.initialViewportIdValue = signal(undefined, ...(ngDevMode ? [{ debugName: "initialViewportIdValue" }] : []));
63
48
  this.metadataValue = signal(undefined, ...(ngDevMode ? [{ debugName: "metadataValue" }] : []));
64
49
  this.renderUnknownValue = signal(MissingComponentComponent, ...(ngDevMode ? [{ debugName: "renderUnknownValue" }] : []));
65
50
  this.renderErrorValue = signal(ComponentErrorComponent, ...(ngDevMode ? [{ debugName: "renderErrorValue" }] : []));
66
- // Getters, not values: this runs during construction, before Angular has bound
67
- // a single input. See injectActiveViewport's docblock.
68
- this.tracker = injectActiveViewport(() => this.experienceValue()?.viewports ?? [],
69
- // Seed from the plan so first paint matches the server renderer.
70
- () => {
71
- const explicit = this.initialViewportIdValue();
72
- if (explicit !== undefined)
73
- return explicit;
74
- const experience = this.experienceValue();
75
- return experience?.viewports[experience.fallbackViewportIndex]?.id;
76
- });
77
51
  this.renderContext = computed(() => {
78
52
  const experience = this.experienceValue();
79
- const activeViewportIndex = this.tracker.activeViewportIndex();
80
53
  return {
81
54
  ...DEFAULT_CONTEXT,
82
55
  debug: this.resolvedDebug(),
@@ -85,10 +58,6 @@ export class ClientExperienceRendererComponent {
85
58
  ...(experience?.metadata ?? {}),
86
59
  ...(this.metadataValue() ?? {}),
87
60
  },
88
- viewports: experience?.viewports ?? [],
89
- activeViewport: experience?.viewports[activeViewportIndex] ?? FALLBACK_VIEWPORT,
90
- activeViewportIndex,
91
- fallbackViewportIndex: experience?.fallbackViewportIndex ?? 0,
92
61
  };
93
62
  }, ...(ngDevMode ? [{ debugName: "renderContext" }] : []));
94
63
  this.scope = inject(ExperienceScope);
@@ -103,7 +72,7 @@ export class ClientExperienceRendererComponent {
103
72
  this.scope.connectRenderError(() => this.renderErrorValue());
104
73
  }
105
74
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.28", ngImport: i0, type: ClientExperienceRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
106
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.28", type: ClientExperienceRendererComponent, isStandalone: true, selector: "cf-experience", inputs: { experience: "experience", config: "config", initialViewportId: "initialViewportId", metadata: "metadata", debug: "debug", renderUnknown: "renderUnknown", renderError: "renderError" }, providers: [ExperienceScope], ngImport: i0, template: `
75
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.28", type: ClientExperienceRendererComponent, isStandalone: true, selector: "cf-experience", inputs: { experience: "experience", config: "config", metadata: "metadata", debug: "debug", renderUnknown: "renderUnknown", renderError: "renderError" }, providers: [ExperienceScope], ngImport: i0, template: `
107
76
  @if (experienceValue(); as experience) {
108
77
  <ng-container *cfNodes="experience.nodes"></ng-container>
109
78
  @if (resolvedDebug()) {
@@ -141,8 +110,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.28", ngImpo
141
110
  }], config: [{
142
111
  type: Input,
143
112
  args: [{ required: true }]
144
- }], initialViewportId: [{
145
- type: Input
146
113
  }], metadata: [{
147
114
  type: Input
148
115
  }], debug: [{
@@ -1 +1 @@
1
- {"version":3,"file":"client-experience-renderer.component.js","sourceRoot":"","sources":["../src/client-experience-renderer.component.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,K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,iCAAiC,8PAlBjC,CAAC,eAAe,CAAC,0BASlB;;;;;;;GAOT,4DAjBS,wBAAwB,iHAAE,sBAAsB;;4FAmB/C,iCAAiC;kBArB7C,SAAS;mBAAC;oBACT,QAAQ,EAAE,eAAe;oBACzB,OAAO,EAAE,CAAC,wBAAwB,EAAE,sBAAsB,CAAC;oBAC3D,SAAS,EAAE,CAAC,eAAe,CAAC;oBAC5B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,6EAA6E;oBAC7E,wEAAwE;oBACxE,0EAA0E;oBAC1E,iEAAiE;oBACjE,EAAE;oBACF,0EAA0E;oBAC1E,wDAAwD;oBACxD,QAAQ,EAAE;;;;;;;GAOT;iBACF;;sBAeE,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAIxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAQxB,KAAK;;sBAKL,KAAK;;sBAQL,KAAK;;sBAKL,KAAK;;sBAKL,KAAK"}
1
+ {"version":3,"file":"client-experience-renderer.component.js","sourceRoot":"","sources":["../src/client-experience-renderer.component.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,KAAK,EAEL,QAAQ,EACR,MAAM,EACN,MAAM,GACP,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;;AAwBtE,MAAM,OAAO,iCAAiC;IAY5C,0EAA0E;IAC1E,IAA+B,UAAU,CAAC,KA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BAAwB,EAAE,sBAAsB,CAAC;oBAC3D,SAAS,EAAE,CAAC,eAAe,CAAC;oBAC5B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,6EAA6E;oBAC7E,wEAAwE;oBACxE,0EAA0E;oBAC1E,iEAAiE;oBACjE,EAAE;oBACF,0EAA0E;oBAC1E,wDAAwD;oBACxD,QAAQ,EAAE;;;;;;;GAOT;iBACF;;sBAcE,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAIxB,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;;sBAKxB,KAAK;;sBAQL,KAAK;;sBAKL,KAAK;;sBAKL,KAAK"}
@@ -6,7 +6,7 @@ export declare class ComponentErrorComponent {
6
6
  set componentId(value: string);
7
7
  set nodeId(value: string | undefined);
8
8
  set message(value: string | undefined);
9
- protected readonly experience: import("@angular/core").Signal<import("@contentful/experiences-sdk-core").RenderContext>;
9
+ protected readonly experience: import("@angular/core").Signal<import("@contentful/experiences-sdk-core").ExperienceContext>;
10
10
  protected readonly details: import("@angular/core").Signal<string>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<ComponentErrorComponent, never>;
12
12
  static ɵcmp: i0.ɵɵComponentDeclaration<ComponentErrorComponent, "cf-component-error", never, { "componentId": { "alias": "componentId"; "required": true; }; "nodeId": { "alias": "nodeId"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, true, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"component-error.component.d.ts","sourceRoot":"","sources":["../src/component-error.component.ts"],"names":[],"mappings":";AAeA,qBAmBa,uBAAuB;IAClC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,iDAAc;IACjD,SAAS,CAAC,QAAQ,CAAC,WAAW,6DAAyC;IACvE,SAAS,CAAC,QAAQ,CAAC,YAAY,6DAAyC;IAExE,IAA+B,WAAW,CAAC,KAAK,EAAE,MAAM,EAEvD;IAED,IAAa,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAE5C;IAED,IAAa,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAE7C;IAED,SAAS,CAAC,QAAQ,CAAC,UAAU,2FAAsB;IAEnD,SAAS,CAAC,QAAQ,CAAC,OAAO,yCAUxB;yCA7BS,uBAAuB;2CAAvB,uBAAuB;CA8BnC"}
1
+ {"version":3,"file":"component-error.component.d.ts","sourceRoot":"","sources":["../src/component-error.component.ts"],"names":[],"mappings":";AAeA,qBAmBa,uBAAuB;IAClC,SAAS,CAAC,QAAQ,CAAC,gBAAgB,iDAAc;IACjD,SAAS,CAAC,QAAQ,CAAC,WAAW,6DAAyC;IACvE,SAAS,CAAC,QAAQ,CAAC,YAAY,6DAAyC;IAExE,IAA+B,WAAW,CAAC,KAAK,EAAE,MAAM,EAEvD;IAED,IAAa,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAE5C;IAED,IAAa,OAAO,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAE7C;IAED,SAAS,CAAC,QAAQ,CAAC,UAAU,+FAAsB;IAEnD,SAAS,CAAC,QAAQ,CAAC,OAAO,yCAUxB;yCA7BS,uBAAuB;2CAAvB,uBAAuB;CA8BnC"}
package/dist/context.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { type Signal } from '@angular/core';
2
2
  import type { ContentfulComponent, ContentfulExperienceTemplate, RenderContext } from './types.js';
3
3
  /**
4
- * Render-time experience context: viewports, active viewport, metadata, debug.
4
+ * Render-time experience context: metadata and debug.
5
5
  * Throws outside a renderer subtree — reading experience context where there is
6
6
  * no experience is a programming error, not a state to branch on.
7
7
  */
package/dist/context.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * context or the underlying payload injects it here.
6
6
  *
7
7
  * Reactivity: every accessor returns a `Signal`, so reads from a template or a
8
- * `computed()` stay live across viewport changes. Call the signal at the point
8
+ * `computed()` stay live across plan changes. Call the signal at the point
9
9
  * of use — capturing `injectExperience()()` once loses reactivity, the same rule
10
10
  * as any other signal read.
11
11
  *
@@ -22,7 +22,7 @@ import { ComponentScope, ExperienceTemplateScope } from './node-scopes.js';
22
22
  const EMPTY_COMPONENT = signal(undefined).asReadonly();
23
23
  const EMPTY_EXPERIENCE_TEMPLATE = signal(undefined).asReadonly();
24
24
  /**
25
- * Render-time experience context: viewports, active viewport, metadata, debug.
25
+ * Render-time experience context: metadata and debug.
26
26
  * Throws outside a renderer subtree — reading experience context where there is
27
27
  * no experience is a programming error, not a state to branch on.
28
28
  */
@@ -1,12 +1,6 @@
1
- import type { ExperienceContext, ViewportDef } from '@contentful/experiences-sdk-core';
1
+ import type { ExperienceContext } from '@contentful/experiences-sdk-core';
2
2
  import type { Config } from './types.js';
3
3
  export declare const DEFAULT_CONTEXT: ExperienceContext;
4
- /**
5
- * Stands in when there is no experience to read viewports from, so descendants
6
- * always see a viewport rather than having to branch on `undefined`. `query: '*'`
7
- * matches everything, mirroring what real single-viewport payloads ship today.
8
- */
9
- export declare const FALLBACK_VIEWPORT: ViewportDef;
10
4
  /**
11
5
  * Read only in the window between a renderer's construction and Angular binding
12
6
  * its `config` input — the scope stores a getter, and nothing below the renderer
@@ -1 +1 @@
1
- {"version":3,"file":"experience-defaults.d.ts","sourceRoot":"","sources":["../src/experience-defaults.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEvF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC,eAAO,MAAM,eAAe,EAAE,iBAAiE,CAAC;AAEhG;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,WAK/B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,MAA2B,CAAC"}
1
+ {"version":3,"file":"experience-defaults.d.ts","sourceRoot":"","sources":["../src/experience-defaults.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC,eAAO,MAAM,eAAe,EAAE,iBAAkD,CAAC;AAEjF;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,MAA2B,CAAC"}
@@ -6,18 +6,7 @@
6
6
  * Not exported from the package: they are the shape of "no experience yet", not
7
7
  * something a customer should build on.
8
8
  */
9
- export const DEFAULT_CONTEXT = { debug: false, metadata: {}, viewports: [] };
10
- /**
11
- * Stands in when there is no experience to read viewports from, so descendants
12
- * always see a viewport rather than having to branch on `undefined`. `query: '*'`
13
- * matches everything, mirroring what real single-viewport payloads ship today.
14
- */
15
- export const FALLBACK_VIEWPORT = {
16
- id: '_',
17
- query: '*',
18
- displayName: 'Default',
19
- previewSize: '100%',
20
- };
9
+ export const DEFAULT_CONTEXT = { debug: false, metadata: {} };
21
10
  /**
22
11
  * Read only in the window between a renderer's construction and Angular binding
23
12
  * its `config` input — the scope stores a getter, and nothing below the renderer
@@ -1 +1 @@
1
- {"version":3,"file":"experience-defaults.js","sourceRoot":"","sources":["../src/experience-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,MAAM,CAAC,MAAM,eAAe,GAAsB,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;AAEhG;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAgB;IAC5C,EAAE,EAAE,GAAG;IACP,KAAK,EAAE,GAAG;IACV,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,MAAM;CACpB,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,YAAY,GAAW,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC"}
1
+ {"version":3,"file":"experience-defaults.js","sourceRoot":"","sources":["../src/experience-defaults.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,MAAM,CAAC,MAAM,eAAe,GAAsB,EAA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AAG,IAAI;IAInD,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;yCA3EzB,eAAe;6CAAf,eAAe;CA8E3B"}
@@ -6,9 +6,8 @@
6
6
  * everything below them in the element-injector tree can reach the render
7
7
  * context, the registry, and the unknown-component renderer.
8
8
  *
9
- * Why three independent sources rather than one object: connecting them
10
- * separately keeps a viewport change (which only touches `experience`) from
11
- * invalidating readers of `config` or `renderUnknown`.
9
+ * Why independent sources rather than one object: connecting them separately
10
+ * keeps each reader focused on the state it needs.
12
11
  *
13
12
  * Why getters rather than snapshots: a static `providers` array cannot see
14
13
  * instance inputs, and reading an input during construction is too early. A
@@ -1 +1 @@
1
- {"version":3,"file":"experience-scope.js","sourceRoot":"","sources":["../src/experience-scope.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,EAAE,UAAU,EAA0B,QAAQ,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;AAKrF,MAAM,OAAO,eAAe;IAD5B;QAEmB,qBAAgB,GAAG,MAAM,CAA+B,IAAI,4DAAC,CAAC;QAC9D,iBAAY,GAAG,MAAM,CAAwB,IAAI,wDAAC,CAAC;QACnD,wBAAmB,GAAG,MAAM,CAA+B,IAAI,+DAAC,CAAC;QACjE,sBAAiB,GAAG,MAAM,CAA+B,IAAI,6DAAC,CAAC;QAChF;;;;;;;;;WASG;QACc,sBAAiB,GAAG,MAAM,CAAU,EAAE,6DAAC,CAAC;QAEhD,eAAU,GAA0B,QAAQ,CAAC,GAAG,EAAE;YACzD,MAAM,IAAI,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACrC,IAAI,CAAC,IAAI,EAAE,CAAC;gBACV,MAAM,IAAI,KAAK,CACb,4FAA4F,CAC7F,CAAC;YACJ,CAAC;YACD,OAAO,IAAI,EAAE,CAAC;QAChB,CAAC,sDAAC,CAAC;QAEM,WAAM,GAAmB,QAAQ,CAAC,GAAG,EAAE;YAC9C,MAAM,IAAI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
  export { NodesRendererDirective as NodesRenderer } from './node-renderer.directive.js';
14
14
  export { NodeRendererDirective } from './node-renderer.directive.js';
15
15
  export { NodeRendererDirective as NodeRenderer } from './node-renderer.directive.js';
16
- export { injectActiveViewport } from './inject-active-viewport.js';
17
- export type { InjectActiveViewportResult } from './inject-active-viewport.js';
18
16
  export { injectLivePreviewExperience } from './inject-live-preview-experience.js';
19
17
  export type { InjectLivePreviewExperienceOptions, InjectLivePreviewExperienceResult, } from './inject-live-preview-experience.js';
20
18
  export { injectLivePreview } from './inject-live-preview.js';
@@ -33,8 +31,8 @@ export { resolveExperience } from '@contentful/experiences-sdk-core';
33
31
  export type { ResolverConfig, ResolveExperienceOptions } from '@contentful/experiences-sdk-core';
34
32
  export { DEFAULT_PAGE_PROPERTIES, EventBuilder } from '@contentful/experiences-client';
35
33
  export type { ClickBuilderArgs, EventBuilderConfig, FlagViewBuilderArgs, HoverBuilderArgs, IdentifyBuilderArgs, InteractionBuilderArgsBase, PageViewBuilderArgs, TrackBuilderArgs, UniversalEventBuilderArgs, ViewBuilderArgs, } from '@contentful/experiences-client';
36
- export type { ComponentNode, ComponentRef, DesignPropValue, DesignToken, ExperienceContext, ExperienceNode, ExperiencePayload, ExperienceSourceMap, ExperienceSys, ExperienceTemplateNode, ExperienceTemplateRef, ManualDesignValue, PortableRegistration, PortableRenderNode, PortableRenderPlan, ResolveContext, ValuesByViewport, ViewportDef, } from '@contentful/experiences-sdk-core';
37
- export { CSS_PROPERTIES, getValueForViewport, getViewportIndex, isCssProperty, resolveDesignProperties, toCssKey, toCssMediaQuery, } from '@contentful/experiences-design';
38
- export { ANONYMOUS_ID_COOKIE, ContentfulViewDelivery, ContentfulViewDeliveryClient, DELIVERY_HOST, ExperienceFetchError, NotFoundError, PREVIEW_HOST, createClient, fetchExperience, readSourceMap, toExperiencePayload, toExperiencePayloadFromDestination, } from '@contentful/experiences-client';
39
- export type { ByDestinationNodeIdExperienceOptions, ByDestinationPathExperienceOptions, ByIdExperienceOptions, ClientOptions, CreateClientOptions, DestinationRedirectResult, ExperienceOptions, ExperienceResponse, ResolveOptions, } from '@contentful/experiences-client';
34
+ export type { ComponentNode, ComponentRef, DesignPropValue, DesignToken, ExperienceContext, ExperienceNode, ExperiencePayload, ExperienceSourceMap, ExperienceSys, ExperienceTemplateNode, ExperienceTemplateRef, ManualDesignValue, PortableRegistration, PortableRenderNode, PortableRenderPlan, ResolveContext, } from '@contentful/experiences-sdk-core';
35
+ export { CSS_PROPERTIES, isCssProperty, toCssKey } from '@contentful/experiences-design';
36
+ export { ANONYMOUS_ID_COOKIE, ContentfulViewDelivery, ContentfulViewDeliveryClient, DELIVERY_HOST, ExperienceFetchError, NotFoundError, PREVIEW_HOST, createClient, fetchExperience, fetchDestinationSitemap, readSourceMap, toExperiencePayload, toExperiencePayloadFromDestination, } from '@contentful/experiences-client';
37
+ export type { ByDestinationNodeIdExperienceOptions, ByDestinationPathExperienceOptions, ByIdExperienceOptions, ClientOptions, CreateClientOptions, DestinationRedirectResult, DestinationSitemapResult, ExperienceOptions, ExperienceResponse, FetchDestinationSitemapOptions, FetchDestinationSitemapPaginationOptions, ResolveOptions, SitemapPathItem, } from '@contentful/experiences-client';
40
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,iCAAiC,IAAI,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1H,OAAO,EAAE,iCAAiC,IAAI,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AACpH,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,iCAAiC,IAAI,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1H,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EA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 @@
2
2
  * Public API surface for `@contentful/experiences-angular`.
3
3
  *
4
4
  * Customers add ONLY this package to their app's dependencies. Everything
5
- * needed to render an Experience — types, the resolver, viewport utilities,
5
+ * needed to render an Experience — types, the resolver, design utilities,
6
6
  * the renderer components, the authoring helpers — is re-exported from here.
7
7
  * The internal `@contentful/experiences-sdk-core` and
8
8
  * `@contentful/experiences-design` packages are workspace-only implementation
@@ -40,7 +40,6 @@ export { NodesRendererDirective } from './node-renderer.directive.js';
40
40
  export { NodesRendererDirective as NodesRenderer } from './node-renderer.directive.js';
41
41
  export { NodeRendererDirective } from './node-renderer.directive.js';
42
42
  export { NodeRendererDirective as NodeRenderer } from './node-renderer.directive.js';
43
- export { injectActiveViewport } from './inject-active-viewport.js';
44
43
  export { injectLivePreviewExperience } from './inject-live-preview-experience.js';
45
44
  export { injectLivePreview } from './inject-live-preview.js';
46
45
  export { injectExperiencePlan } from './inject-experience-plan.js';
@@ -56,7 +55,7 @@ export { resolveExperience } from '@contentful/experiences-sdk-core';
56
55
  // ─── Event builder (re-exported from client) ──────────────────────────────
57
56
  export { DEFAULT_PAGE_PROPERTIES, EventBuilder } from '@contentful/experiences-client';
58
57
  // ─── Design utilities (re-exported from design) ───────────────────────────
59
- export { CSS_PROPERTIES, getValueForViewport, getViewportIndex, isCssProperty, resolveDesignProperties, toCssKey, toCssMediaQuery, } from '@contentful/experiences-design';
58
+ export { CSS_PROPERTIES, isCssProperty, toCssKey } from '@contentful/experiences-design';
60
59
  // ─── Delivery client + fetchExperience ────────────────────────────────────
61
- export { ANONYMOUS_ID_COOKIE, ContentfulViewDelivery, ContentfulViewDeliveryClient, DELIVERY_HOST, ExperienceFetchError, NotFoundError, PREVIEW_HOST, createClient, fetchExperience, readSourceMap, toExperiencePayload, toExperiencePayloadFromDestination, } from '@contentful/experiences-client';
60
+ export { ANONYMOUS_ID_COOKIE, ContentfulViewDelivery, ContentfulViewDeliveryClient, DELIVERY_HOST, ExperienceFetchError, NotFoundError, PREVIEW_HOST, createClient, fetchExperience, fetchDestinationSitemap, readSourceMap, toExperiencePayload, toExperiencePayloadFromDestination, } from '@contentful/experiences-client';
62
61
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,8EAA8E;AAC9E,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,iCAAiC,IAAI,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1H,OAAO,EAAE,iCAAiC,IAAI,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AACpH,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,iCAAiC,IAAI,wBAAwB,EAAE,MAAM,2CAA2C,CAAC;AAC1H,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,yBAAyB,IAAI,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,uBAAuB,IAAI,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAC3F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAAE,wBAAwB,IAAI,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAE9F,yEAAyE;AACzE,gFAAgF;AAChF,gFAAgF;AAChF,iEAAiE;AACjE,EAAE;AACF,8EAA8E;AAC9E,iFAAiF;AACjF,gEAAgE;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,EAAE,sBAAsB,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACvF,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,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