@cntrl-site/components 0.1.15 → 0.1.16

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
@@ -2074,6 +2074,8 @@ const Lightbox = ({ isOpen, onClose, content, lightboxStyles, settings, portalId
2074
2074
  setIsClosing(false);
2075
2075
  setAnimationFinished(false);
2076
2076
  setThumbnailDimensions({});
2077
+ const event = new CustomEvent("page-overlay");
2078
+ window.dispatchEvent(event);
2077
2079
  }
2078
2080
  return () => {
2079
2081
  if (animationTargetRef.current && animationEndHandlerRef.current) {
package/dist/index.mjs CHANGED
@@ -2072,6 +2072,8 @@ const Lightbox = ({ isOpen, onClose, content, lightboxStyles, settings, portalId
2072
2072
  setIsClosing(false);
2073
2073
  setAnimationFinished(false);
2074
2074
  setThumbnailDimensions({});
2075
+ const event = new CustomEvent("page-overlay");
2076
+ window.dispatchEvent(event);
2075
2077
  }
2076
2078
  return () => {
2077
2079
  if (animationTargetRef.current && animationEndHandlerRef.current) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/components",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Custom components for control editor and public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",