@contentful/experiences-visual-editor-react 3.7.0-dev-20250917T1357-4fbbff5.0 → 3.7.0-dev-20250917T1515-4c340b9.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 +3 -1
- package/dist/index.js.map +1 -1
- package/dist/renderApp.js +3 -1
- package/dist/renderApp.js.map +1 -1
- package/package.json +4 -4
package/dist/renderApp.js
CHANGED
|
@@ -50479,7 +50479,9 @@ const checkIsNodeVisible = (node, resolveDesignValue) => {
|
|
|
50479
50479
|
return node.children.some((childNode) => checkIsNodeVisible(childNode, resolveDesignValue));
|
|
50480
50480
|
}
|
|
50481
50481
|
// Check if the current node is visible (`cfVisibility` is enforced on all nodes)
|
|
50482
|
-
|
|
50482
|
+
// Check explicitly for false, as `undefined` is treated as `true`. It could become undefined when the breakpoint IDs changed.
|
|
50483
|
+
return (resolveDesignValue(node.data.props['cfVisibility'].valuesByBreakpoint) !==
|
|
50484
|
+
false);
|
|
50483
50485
|
};
|
|
50484
50486
|
|
|
50485
50487
|
const useComponentProps = ({ node, entityStore, areEntitiesFetched, resolveDesignValue, definition, options, }) => {
|