@contentful/experiences-components-react 3.2.1-dev-20250819T1408-2dcca7e.0 → 3.3.0-dev-20250820T1056-fd92026.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 +2 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1679,10 +1679,6 @@ const isLink = (maybeLink) => {
|
|
|
1679
1679
|
const link = maybeLink;
|
|
1680
1680
|
return Boolean(link.sys?.id) && link.sys?.type === 'Link' && Boolean(link.sys?.linkType);
|
|
1681
1681
|
};
|
|
1682
|
-
|
|
1683
|
-
/**
|
|
1684
|
-
* This module encapsulates format of the path to a deep reference.
|
|
1685
|
-
*/
|
|
1686
1682
|
const parseDataSourcePathIntoFieldset = (path) => {
|
|
1687
1683
|
const parsedPath = parseDeepPath(path);
|
|
1688
1684
|
if (null === parsedPath) {
|
|
@@ -2142,12 +2138,12 @@ const stopEventPropagation = (event) => {
|
|
|
2142
2138
|
|
|
2143
2139
|
/* eslint-disable */
|
|
2144
2140
|
const ContentfulContainer = (props) => {
|
|
2145
|
-
const { className, editorMode, children, cfHyperlink } = props;
|
|
2141
|
+
const { className, editorMode, children, cfHyperlink, ...otherProps } = props;
|
|
2146
2142
|
if (cfHyperlink) {
|
|
2147
2143
|
return React.createElement(ContentfulContainerAsHyperlink, { ...props }, children);
|
|
2148
2144
|
}
|
|
2149
2145
|
if (!editorMode) {
|
|
2150
|
-
return (React.createElement(Flex, { "data-test-id": "contentful-container", className: combineClasses(className, 'contentful-container') }, children));
|
|
2146
|
+
return (React.createElement(Flex, { "data-test-id": "contentful-container", ...extractRenderProps(otherProps), className: combineClasses(className, 'contentful-container') }, children));
|
|
2151
2147
|
}
|
|
2152
2148
|
// Extract properties that are only available in editor mode
|
|
2153
2149
|
const { node } = props;
|