@clyrex-digital/clyrex-controls-dev 0.8.1-dev.20260808091030 → 0.8.1-dev.20260810072737

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.
@@ -50,7 +50,8 @@ import { jsx as jsx2 } from "react/jsx-runtime";
50
50
  var IframeClient = ({
51
51
  src,
52
52
  width,
53
- height
53
+ height,
54
+ allowFullScreen
54
55
  }) => {
55
56
  const iframeRef = useRef(null);
56
57
  const [iframeHeight, setIframeHeight] = useState("100%");
@@ -92,7 +93,11 @@ var IframeClient = ({
92
93
  src,
93
94
  className: "w-full h-full border-none",
94
95
  scrolling: "no",
95
- style: { width: width || "100%", height: height || iframeHeight },
96
+ style: {
97
+ width: width != null ? `${width}px` : "100%",
98
+ height: height != null ? `${height}px` : iframeHeight
99
+ },
100
+ allowFullScreen,
96
101
  onLoad: handleIframeLoad
97
102
  }
98
103
  ) }) });
@@ -52,7 +52,8 @@ import { jsx as jsx2 } from "react/jsx-runtime";
52
52
  var IframeClient = ({
53
53
  src,
54
54
  width,
55
- height
55
+ height,
56
+ allowFullScreen
56
57
  }) => {
57
58
  const iframeRef = useRef(null);
58
59
  const [iframeHeight, setIframeHeight] = useState("100%");
@@ -94,7 +95,11 @@ var IframeClient = ({
94
95
  src,
95
96
  className: "w-full h-full border-none",
96
97
  scrolling: "no",
97
- style: { width: width || "100%", height: height || iframeHeight },
98
+ style: {
99
+ width: width != null ? `${width}px` : "100%",
100
+ height: height != null ? `${height}px` : iframeHeight
101
+ },
102
+ allowFullScreen,
98
103
  onLoad: handleIframeLoad
99
104
  }
100
105
  ) }) });