@contentful/experiences-sdk-react 3.8.0-dev-20250926T1559-e1ab24d.0 → 3.8.0-prerelease-20250926T1312-a8b5fb7.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.
Files changed (29) hide show
  1. package/dist/blocks/preview/CompositionBlock.js +36 -39
  2. package/dist/blocks/preview/CompositionBlock.js.map +1 -1
  3. package/dist/blocks/preview/PreviewDeliveryRoot.js +1 -18
  4. package/dist/blocks/preview/PreviewDeliveryRoot.js.map +1 -1
  5. package/dist/core/preview/assemblyUtils.js +38 -74
  6. package/dist/core/preview/assemblyUtils.js.map +1 -1
  7. package/dist/core/styles/createStylesheetsForBuiltInStyles.js +1 -1
  8. package/dist/core/styles/createStylesheetsForBuiltInStyles.js.map +1 -1
  9. package/dist/index.d.ts +1 -1
  10. package/dist/sdkVersion.js +1 -1
  11. package/dist/sdkVersion.js.map +1 -1
  12. package/dist/src/blocks/preview/CompositionBlock.d.ts +3 -3
  13. package/dist/src/blocks/preview/PreviewDeliveryRoot.d.ts +1 -1
  14. package/dist/src/core/preview/assemblyUtils.d.ts +8 -17
  15. package/dist/src/core/styles/createStylesheetsForBuiltInStyles.d.ts +1 -1
  16. package/dist/src/sdkVersion.d.ts +1 -1
  17. package/dist/src/utils/parseComponentProps.d.ts +3 -9
  18. package/dist/src/utils/prebindingUtils.d.ts +3 -6
  19. package/dist/test/__fixtures__/assembly.d.ts +2 -5
  20. package/dist/utils/parseComponentProps.js +2 -2
  21. package/dist/utils/parseComponentProps.js.map +1 -1
  22. package/dist/utils/prebindingUtils.js +11 -25
  23. package/dist/utils/prebindingUtils.js.map +1 -1
  24. package/package.json +6 -6
  25. package/dist/core/preview/PrebindingManager.js +0 -249
  26. package/dist/core/preview/PrebindingManager.js.map +0 -1
  27. package/dist/src/core/preview/PrebindingManager.d.ts +0 -152
  28. package/dist/src/core/preview/PrebindingManager.test.d.ts +0 -1
  29. package/dist/src/core/preview/__fixtures__.d.ts +0 -517
@@ -1,517 +0,0 @@
1
- export declare const l1: {
2
- id: string;
3
- nodeId: string;
4
- parameterId: string;
5
- prebindingDefinitions: {
6
- id: string;
7
- parameterDefinitions: Record<string, {
8
- contentTypes: string[];
9
- passToNodes: {
10
- prebindingId: string;
11
- parameterId: string;
12
- nodeId: string;
13
- }[];
14
- defaultSource?: {
15
- type: "Entry";
16
- contentTypeId: string;
17
- link: {
18
- sys: {
19
- type: "Link";
20
- id: string;
21
- linkType: "Entry";
22
- };
23
- };
24
- } | undefined;
25
- }>;
26
- variableMappings?: Record<string, {
27
- type: "ContentTypeMapping";
28
- parameterId: string;
29
- pathsByContentType: Record<string, {
30
- path: string;
31
- }>;
32
- }> | undefined;
33
- allowedVariableOverrides?: string[] | undefined;
34
- }[];
35
- contentTypes: string[];
36
- defaultSource: {
37
- type: "Entry";
38
- contentTypeId: string;
39
- link: {
40
- sys: {
41
- type: "Link";
42
- id: string;
43
- linkType: "Entry";
44
- };
45
- };
46
- } | undefined;
47
- };
48
- export declare const l2: {
49
- id: string;
50
- nodeId: string;
51
- parameterId: string;
52
- prebindingDefinitions: {
53
- id: string;
54
- parameterDefinitions: Record<string, {
55
- contentTypes: string[];
56
- passToNodes: {
57
- prebindingId: string;
58
- parameterId: string;
59
- nodeId: string;
60
- }[];
61
- defaultSource?: {
62
- type: "Entry";
63
- contentTypeId: string;
64
- link: {
65
- sys: {
66
- type: "Link";
67
- id: string;
68
- linkType: "Entry";
69
- };
70
- };
71
- } | undefined;
72
- }>;
73
- variableMappings?: Record<string, {
74
- type: "ContentTypeMapping";
75
- parameterId: string;
76
- pathsByContentType: Record<string, {
77
- path: string;
78
- }>;
79
- }> | undefined;
80
- allowedVariableOverrides?: string[] | undefined;
81
- }[];
82
- contentTypes: string[];
83
- defaultSource: {
84
- type: "Entry";
85
- contentTypeId: string;
86
- link: {
87
- sys: {
88
- type: "Link";
89
- id: string;
90
- linkType: "Entry";
91
- };
92
- };
93
- } | undefined;
94
- };
95
- export declare const l2_l1_1: {
96
- id: string;
97
- nodeId: string;
98
- parameterId: string;
99
- prebindingDefinitions: {
100
- id: string;
101
- parameterDefinitions: Record<string, {
102
- contentTypes: string[];
103
- passToNodes: {
104
- prebindingId: string;
105
- parameterId: string;
106
- nodeId: string;
107
- }[];
108
- defaultSource?: {
109
- type: "Entry";
110
- contentTypeId: string;
111
- link: {
112
- sys: {
113
- type: "Link";
114
- id: string;
115
- linkType: "Entry";
116
- };
117
- };
118
- } | undefined;
119
- }>;
120
- variableMappings?: Record<string, {
121
- type: "ContentTypeMapping";
122
- parameterId: string;
123
- pathsByContentType: Record<string, {
124
- path: string;
125
- }>;
126
- }> | undefined;
127
- allowedVariableOverrides?: string[] | undefined;
128
- }[];
129
- contentTypes: string[];
130
- defaultSource: {
131
- type: "Entry";
132
- contentTypeId: string;
133
- link: {
134
- sys: {
135
- type: "Link";
136
- id: string;
137
- linkType: "Entry";
138
- };
139
- };
140
- } | undefined;
141
- };
142
- export declare const l2_l1_2: {
143
- id: string;
144
- nodeId: string;
145
- parameterId: string;
146
- prebindingDefinitions: {
147
- id: string;
148
- parameterDefinitions: Record<string, {
149
- contentTypes: string[];
150
- passToNodes: {
151
- prebindingId: string;
152
- parameterId: string;
153
- nodeId: string;
154
- }[];
155
- defaultSource?: {
156
- type: "Entry";
157
- contentTypeId: string;
158
- link: {
159
- sys: {
160
- type: "Link";
161
- id: string;
162
- linkType: "Entry";
163
- };
164
- };
165
- } | undefined;
166
- }>;
167
- variableMappings?: Record<string, {
168
- type: "ContentTypeMapping";
169
- parameterId: string;
170
- pathsByContentType: Record<string, {
171
- path: string;
172
- }>;
173
- }> | undefined;
174
- allowedVariableOverrides?: string[] | undefined;
175
- }[];
176
- contentTypes: string[];
177
- defaultSource: {
178
- type: "Entry";
179
- contentTypeId: string;
180
- link: {
181
- sys: {
182
- type: "Link";
183
- id: string;
184
- linkType: "Entry";
185
- };
186
- };
187
- } | undefined;
188
- };
189
- export declare const l3: {
190
- id: string;
191
- nodeId: string;
192
- parameterId: string;
193
- prebindingDefinitions: {
194
- id: string;
195
- parameterDefinitions: Record<string, {
196
- contentTypes: string[];
197
- passToNodes: {
198
- prebindingId: string;
199
- parameterId: string;
200
- nodeId: string;
201
- }[];
202
- defaultSource?: {
203
- type: "Entry";
204
- contentTypeId: string;
205
- link: {
206
- sys: {
207
- type: "Link";
208
- id: string;
209
- linkType: "Entry";
210
- };
211
- };
212
- } | undefined;
213
- }>;
214
- variableMappings?: Record<string, {
215
- type: "ContentTypeMapping";
216
- parameterId: string;
217
- pathsByContentType: Record<string, {
218
- path: string;
219
- }>;
220
- }> | undefined;
221
- allowedVariableOverrides?: string[] | undefined;
222
- }[];
223
- contentTypes: string[];
224
- defaultSource: {
225
- type: "Entry";
226
- contentTypeId: string;
227
- link: {
228
- sys: {
229
- type: "Link";
230
- id: string;
231
- linkType: "Entry";
232
- };
233
- };
234
- } | undefined;
235
- };
236
- export declare const l3_l2_1: {
237
- id: string;
238
- nodeId: string;
239
- parameterId: string;
240
- prebindingDefinitions: {
241
- id: string;
242
- parameterDefinitions: Record<string, {
243
- contentTypes: string[];
244
- passToNodes: {
245
- prebindingId: string;
246
- parameterId: string;
247
- nodeId: string;
248
- }[];
249
- defaultSource?: {
250
- type: "Entry";
251
- contentTypeId: string;
252
- link: {
253
- sys: {
254
- type: "Link";
255
- id: string;
256
- linkType: "Entry";
257
- };
258
- };
259
- } | undefined;
260
- }>;
261
- variableMappings?: Record<string, {
262
- type: "ContentTypeMapping";
263
- parameterId: string;
264
- pathsByContentType: Record<string, {
265
- path: string;
266
- }>;
267
- }> | undefined;
268
- allowedVariableOverrides?: string[] | undefined;
269
- }[];
270
- contentTypes: string[];
271
- defaultSource: {
272
- type: "Entry";
273
- contentTypeId: string;
274
- link: {
275
- sys: {
276
- type: "Link";
277
- id: string;
278
- linkType: "Entry";
279
- };
280
- };
281
- } | undefined;
282
- };
283
- export declare const l3_l2_2: {
284
- id: string;
285
- nodeId: string;
286
- parameterId: string;
287
- prebindingDefinitions: {
288
- id: string;
289
- parameterDefinitions: Record<string, {
290
- contentTypes: string[];
291
- passToNodes: {
292
- prebindingId: string;
293
- parameterId: string;
294
- nodeId: string;
295
- }[];
296
- defaultSource?: {
297
- type: "Entry";
298
- contentTypeId: string;
299
- link: {
300
- sys: {
301
- type: "Link";
302
- id: string;
303
- linkType: "Entry";
304
- };
305
- };
306
- } | undefined;
307
- }>;
308
- variableMappings?: Record<string, {
309
- type: "ContentTypeMapping";
310
- parameterId: string;
311
- pathsByContentType: Record<string, {
312
- path: string;
313
- }>;
314
- }> | undefined;
315
- allowedVariableOverrides?: string[] | undefined;
316
- }[];
317
- contentTypes: string[];
318
- defaultSource: {
319
- type: "Entry";
320
- contentTypeId: string;
321
- link: {
322
- sys: {
323
- type: "Link";
324
- id: string;
325
- linkType: "Entry";
326
- };
327
- };
328
- } | undefined;
329
- };
330
- export declare const l3_l2_l1_1: {
331
- id: string;
332
- nodeId: string;
333
- parameterId: string;
334
- prebindingDefinitions: {
335
- id: string;
336
- parameterDefinitions: Record<string, {
337
- contentTypes: string[];
338
- passToNodes: {
339
- prebindingId: string;
340
- parameterId: string;
341
- nodeId: string;
342
- }[];
343
- defaultSource?: {
344
- type: "Entry";
345
- contentTypeId: string;
346
- link: {
347
- sys: {
348
- type: "Link";
349
- id: string;
350
- linkType: "Entry";
351
- };
352
- };
353
- } | undefined;
354
- }>;
355
- variableMappings?: Record<string, {
356
- type: "ContentTypeMapping";
357
- parameterId: string;
358
- pathsByContentType: Record<string, {
359
- path: string;
360
- }>;
361
- }> | undefined;
362
- allowedVariableOverrides?: string[] | undefined;
363
- }[];
364
- contentTypes: string[];
365
- defaultSource: {
366
- type: "Entry";
367
- contentTypeId: string;
368
- link: {
369
- sys: {
370
- type: "Link";
371
- id: string;
372
- linkType: "Entry";
373
- };
374
- };
375
- } | undefined;
376
- };
377
- export declare const l3_l2_l1_2: {
378
- id: string;
379
- nodeId: string;
380
- parameterId: string;
381
- prebindingDefinitions: {
382
- id: string;
383
- parameterDefinitions: Record<string, {
384
- contentTypes: string[];
385
- passToNodes: {
386
- prebindingId: string;
387
- parameterId: string;
388
- nodeId: string;
389
- }[];
390
- defaultSource?: {
391
- type: "Entry";
392
- contentTypeId: string;
393
- link: {
394
- sys: {
395
- type: "Link";
396
- id: string;
397
- linkType: "Entry";
398
- };
399
- };
400
- } | undefined;
401
- }>;
402
- variableMappings?: Record<string, {
403
- type: "ContentTypeMapping";
404
- parameterId: string;
405
- pathsByContentType: Record<string, {
406
- path: string;
407
- }>;
408
- }> | undefined;
409
- allowedVariableOverrides?: string[] | undefined;
410
- }[];
411
- contentTypes: string[];
412
- defaultSource: {
413
- type: "Entry";
414
- contentTypeId: string;
415
- link: {
416
- sys: {
417
- type: "Link";
418
- id: string;
419
- linkType: "Entry";
420
- };
421
- };
422
- } | undefined;
423
- };
424
- export declare const l3_l2_l1_3: {
425
- id: string;
426
- nodeId: string;
427
- parameterId: string;
428
- prebindingDefinitions: {
429
- id: string;
430
- parameterDefinitions: Record<string, {
431
- contentTypes: string[];
432
- passToNodes: {
433
- prebindingId: string;
434
- parameterId: string;
435
- nodeId: string;
436
- }[];
437
- defaultSource?: {
438
- type: "Entry";
439
- contentTypeId: string;
440
- link: {
441
- sys: {
442
- type: "Link";
443
- id: string;
444
- linkType: "Entry";
445
- };
446
- };
447
- } | undefined;
448
- }>;
449
- variableMappings?: Record<string, {
450
- type: "ContentTypeMapping";
451
- parameterId: string;
452
- pathsByContentType: Record<string, {
453
- path: string;
454
- }>;
455
- }> | undefined;
456
- allowedVariableOverrides?: string[] | undefined;
457
- }[];
458
- contentTypes: string[];
459
- defaultSource: {
460
- type: "Entry";
461
- contentTypeId: string;
462
- link: {
463
- sys: {
464
- type: "Link";
465
- id: string;
466
- linkType: "Entry";
467
- };
468
- };
469
- } | undefined;
470
- };
471
- export declare const l3_l2_l1_4: {
472
- id: string;
473
- nodeId: string;
474
- parameterId: string;
475
- prebindingDefinitions: {
476
- id: string;
477
- parameterDefinitions: Record<string, {
478
- contentTypes: string[];
479
- passToNodes: {
480
- prebindingId: string;
481
- parameterId: string;
482
- nodeId: string;
483
- }[];
484
- defaultSource?: {
485
- type: "Entry";
486
- contentTypeId: string;
487
- link: {
488
- sys: {
489
- type: "Link";
490
- id: string;
491
- linkType: "Entry";
492
- };
493
- };
494
- } | undefined;
495
- }>;
496
- variableMappings?: Record<string, {
497
- type: "ContentTypeMapping";
498
- parameterId: string;
499
- pathsByContentType: Record<string, {
500
- path: string;
501
- }>;
502
- }> | undefined;
503
- allowedVariableOverrides?: string[] | undefined;
504
- }[];
505
- contentTypes: string[];
506
- defaultSource: {
507
- type: "Entry";
508
- contentTypeId: string;
509
- link: {
510
- sys: {
511
- type: "Link";
512
- id: string;
513
- linkType: "Entry";
514
- };
515
- };
516
- } | undefined;
517
- };