brep-io-kernel 1.0.95 → 1.0.96

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.
@@ -137976,7 +137976,7 @@ const BH = class BH {
137976
137976
  if (!e) throw new Error("CadEmbed.mount requires a valid host element");
137977
137977
  this._host = e, window.addEventListener("message", this._boundMessage);
137978
137978
  const t = document.createElement("iframe");
137979
- t.title = this._options.title || "BREP CAD", t.className = this._options.iframeClassName || "", t.style.width = this._options.width || "100%", t.style.height = this._options.height || "760px", t.style.border = "0", t.style.display = "block", t.style.background = String(this._options.backgroundColor || "#0b0f16"), t.style.borderRadius = "10px", t.style.overflow = "hidden", this._options.iframeStyle && typeof this._options.iframeStyle == "object" && Object.assign(t.style, this._options.iframeStyle);
137979
+ t.title = this._options.title || "BREP CAD", t.className = this._options.iframeClassName || "", t.style.width = "100%", t.style.height = "100%", t.style.border = "0", t.style.display = "block", t.style.background = String(this._options.backgroundColor || "#0b0f16"), t.style.borderRadius = "10px", t.style.overflow = "hidden", this._options.iframeStyle && typeof this._options.iframeStyle == "object" && Object.assign(t.style, this._options.iframeStyle);
137980
137980
  const n = this._options.iframeAttributes && typeof this._options.iframeAttributes == "object" ? this._options.iframeAttributes : null;
137981
137981
  if (n)
137982
137982
  for (const [o, s] of Object.entries(n))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brep-io-kernel",
3
- "version": "1.0.95",
3
+ "version": "1.0.96",
4
4
  "scripts": {
5
5
  "dev": "pnpm prepareFonts && pnpm generateLicenses && pnpm build:kernel && vite --host 0.0.0.0",
6
6
  "build": "pnpm prepareFonts && pnpm generateLicenses && pnpm build:kernel && vite build",
@@ -151,8 +151,8 @@ export class CadEmbed {
151
151
  const iframe = document.createElement("iframe");
152
152
  iframe.title = this._options.title || "BREP CAD";
153
153
  iframe.className = this._options.iframeClassName || "";
154
- iframe.style.width = this._options.width || "100%";
155
- iframe.style.height = this._options.height || "760px";
154
+ iframe.style.width = "100%";
155
+ iframe.style.height = "100%";
156
156
  iframe.style.border = "0";
157
157
  iframe.style.display = "block";
158
158
  iframe.style.background = String(this._options.backgroundColor || "#0b0f16");