@contentful/experiences-components-react 3.2.1-dev-20250818T1739-df3d95e.0 → 3.2.1-dev-20250820T1011-7f01669.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
@@ -570,7 +570,6 @@ const CONTENTFUL_COMPONENTS = {
570
570
  name: 'Carousel',
571
571
  },
572
572
  };
573
- const DEFAULT_IMAGE_WIDTH = '500px';
574
573
  var PostMessageMethods;
575
574
  (function (PostMessageMethods) {
576
575
  PostMessageMethods["REQUEST_ENTITIES"] = "REQUEST_ENTITIES";
@@ -779,9 +778,9 @@ const optionalBuiltInStyles = {
779
778
  type: 'Object',
780
779
  group: 'style',
781
780
  defaultValue: {
782
- width: DEFAULT_IMAGE_WIDTH,
781
+ width: '100%',
783
782
  height: '100%',
784
- targetSize: DEFAULT_IMAGE_WIDTH,
783
+ targetSize: 'unset',
785
784
  },
786
785
  },
787
786
  cfBackgroundColor: {
@@ -2143,12 +2142,12 @@ const stopEventPropagation = (event) => {
2143
2142
 
2144
2143
  /* eslint-disable */
2145
2144
  const ContentfulContainer = (props) => {
2146
- const { className, editorMode, children, cfHyperlink } = props;
2145
+ const { className, editorMode, children, cfHyperlink, ...otherProps } = props;
2147
2146
  if (cfHyperlink) {
2148
2147
  return React.createElement(ContentfulContainerAsHyperlink, { ...props }, children);
2149
2148
  }
2150
2149
  if (!editorMode) {
2151
- return (React.createElement(Flex, { "data-test-id": "contentful-container", className: combineClasses(className, 'contentful-container') }, children));
2150
+ return (React.createElement(Flex, { "data-test-id": "contentful-container", ...extractRenderProps(otherProps), className: combineClasses(className, 'contentful-container') }, children));
2152
2151
  }
2153
2152
  // Extract properties that are only available in editor mode
2154
2153
  const { node } = props;