@contentful/experiences-visual-editor-react 1.31.1-dev-20250219T1258-06c6e3b.0 → 1.31.1-dev-20250219T1303-e8b5a85.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/renderApp.js CHANGED
@@ -43636,8 +43636,33 @@ const ComponentVariableSchema$1 = z.object({
43636
43636
  });
43637
43637
  const ComponentVariablesSchema$1 = z.record(z.string().regex(/^[a-zA-Z0-9-_]{1,54}$/), // Here the key is <variableName>_<nanoidId> so we need to allow for a longer length
43638
43638
  ComponentVariableSchema$1);
43639
+ const THUMBNAIL_IDS$1 = [
43640
+ 'columns',
43641
+ 'columnsPlusRight',
43642
+ 'imagesSquare',
43643
+ 'subtitles',
43644
+ 'rowsPlusBottom',
43645
+ 'userRectangle',
43646
+ 'textbox',
43647
+ 'monitorPlay',
43648
+ 'article',
43649
+ 'table',
43650
+ 'star',
43651
+ 'heartStraight',
43652
+ 'frameCorners',
43653
+ 'rows',
43654
+ 'dotsThreeOutline',
43655
+ 'listDashes',
43656
+ 'checkerBoard',
43657
+ 'gridFour',
43658
+ 'slideshow',
43659
+ 'diamondsFour',
43660
+ 'cards',
43661
+ 'textColumns',
43662
+ ];
43639
43663
  const ComponentSettingsSchema$1 = z.object({
43640
43664
  variableDefinitions: ComponentVariablesSchema$1,
43665
+ thumbnailId: z.enum(THUMBNAIL_IDS$1).optional(),
43641
43666
  variableMappings: VariableMappingsSchema$1.optional(),
43642
43667
  patternPropertyDefinitions: PatternPropertyDefinitionsSchema$1.optional(),
43643
43668
  });
@@ -58336,8 +58361,33 @@ const ComponentVariableSchema = z.object({
58336
58361
  });
58337
58362
  const ComponentVariablesSchema = z.record(z.string().regex(/^[a-zA-Z0-9-_]{1,54}$/), // Here the key is <variableName>_<nanoidId> so we need to allow for a longer length
58338
58363
  ComponentVariableSchema);
58364
+ const THUMBNAIL_IDS = [
58365
+ 'columns',
58366
+ 'columnsPlusRight',
58367
+ 'imagesSquare',
58368
+ 'subtitles',
58369
+ 'rowsPlusBottom',
58370
+ 'userRectangle',
58371
+ 'textbox',
58372
+ 'monitorPlay',
58373
+ 'article',
58374
+ 'table',
58375
+ 'star',
58376
+ 'heartStraight',
58377
+ 'frameCorners',
58378
+ 'rows',
58379
+ 'dotsThreeOutline',
58380
+ 'listDashes',
58381
+ 'checkerBoard',
58382
+ 'gridFour',
58383
+ 'slideshow',
58384
+ 'diamondsFour',
58385
+ 'cards',
58386
+ 'textColumns',
58387
+ ];
58339
58388
  const ComponentSettingsSchema = z.object({
58340
58389
  variableDefinitions: ComponentVariablesSchema,
58390
+ thumbnailId: z.enum(THUMBNAIL_IDS).optional(),
58341
58391
  variableMappings: VariableMappingsSchema.optional(),
58342
58392
  patternPropertyDefinitions: PatternPropertyDefinitionsSchema.optional(),
58343
58393
  });