ov25-setup 0.1.2 → 0.1.4

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.
@@ -7,6 +7,7 @@ export interface ConfiguratorSetupProps {
7
7
  onSave?: (payload: ConfiguratorSetupPayload) => void;
8
8
  hidePreview?: boolean;
9
9
  hideSaveButton?: boolean;
10
+ className?: string;
10
11
  }
11
12
  export type { ConfiguratorSetupPayload };
12
13
  export default function ConfiguratorSetup(props: ConfiguratorSetupProps): import("react/jsx-runtime").JSX.Element;
package/dist/index.js CHANGED
@@ -24291,7 +24291,7 @@ function H2({ formState: n, currentSettings: e, setLayout: t, updateSettings: r,
24291
24291
  ] }) })
24292
24292
  ] });
24293
24293
  }
24294
- const U2 = "OV25_CONFIG", j2 = "https://configurator.ov25.ai", qu = {
24294
+ const U2 = "OV25_CONFIG", j2 = "https://app.ov25.ai/configurator-preview", qu = {
24295
24295
  desktop: { width: "100%", label: "Desktop" },
24296
24296
  mobile: { width: "375px", label: "Mobile" }
24297
24297
  };
@@ -24402,7 +24402,7 @@ function nA(n) {
24402
24402
  serializableConfig: l,
24403
24403
  getExportJson: a
24404
24404
  } = jm(e);
24405
- return /* @__PURE__ */ R("div", { className: "h-screen flex", children: [
24405
+ return /* @__PURE__ */ R("div", { className: n.className || "h-screen flex", children: [
24406
24406
  !n.hidePreview && /* @__PURE__ */ v("main", { className: "flex-1 min-h-0 p-4", children: /* @__PURE__ */ v(G2, { serializableConfig: l, previewBaseUrl: n.previewBaseUrl }) }),
24407
24407
  /* @__PURE__ */ v("aside", { className: n.hidePreview ? "w-full" : "w-[370px] shrink-0 border-l bg-background/50 px-4 pt-4 pb-4 overflow-hidden", children: /* @__PURE__ */ v(
24408
24408
  H2,