@contentful/experiences-visual-editor-react 1.31.2-dev-20250220T0912-4b32230.0 → 1.32.0-dev-20250220T1313-3bb6ccb.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
@@ -59657,7 +59657,9 @@ const useComponentProps = ({ node, areEntitiesFetched, resolveDesignValue, rende
59657
59657
  };
59658
59658
  const customComponentProps = {
59659
59659
  ...sharedProps,
59660
- isInExpEditorMode: true,
59660
+ // Allows custom components to render differently in the editor. This needs to be activated
59661
+ // through options as the component has to be aware of this prop to not cause any React warnings.
59662
+ ...(options?.enableCustomEditorView ? { isInExpEditorMode: true } : {}),
59661
59663
  ...sanitizeNodeProps(props),
59662
59664
  };
59663
59665
  const structuralOrPatternComponentProps = {