@contentful/experiences-sdk-react 1.0.7 → 1.0.8-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/index.js CHANGED
@@ -9,7 +9,7 @@ import * as Components from '@contentful/experiences-components-react';
9
9
  import { ContentfulContainer, Columns, SingleColumn } from '@contentful/experiences-components-react';
10
10
  import styleInject from 'style-inject';
11
11
 
12
- const SDK_VERSION = '1.0.7-beta.0';
12
+ const SDK_VERSION = '1.0.7';
13
13
 
14
14
  var util;
15
15
  (function (util) {
@@ -4765,6 +4765,11 @@ const CompositionBlock = ({ node: rawNode, locale, entityStore, hyperlinkPattern
4765
4765
  acc[variableName] = entityStore.unboundValues[uuid]?.value;
4766
4766
  break;
4767
4767
  }
4768
+ case 'ComponentValue':
4769
+ // We're rendering a pattern entry. Content cannot be set for ComponentValue type properties
4770
+ // directly in the pattern so we can safely use the default value
4771
+ acc[variableName] = variableDefinition.defaultValue;
4772
+ break;
4768
4773
  }
4769
4774
  return acc;
4770
4775
  }, propMap);