@embedreach/components 0.3.5 → 0.3.7
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/chunks/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/chunks/index.js
CHANGED
|
@@ -117898,7 +117898,7 @@ const ViewAutomationContent = ({ ...props2 }) => {
|
|
|
117898
117898
|
const [searchParams] = useSearchParams();
|
|
117899
117899
|
const effectiveAutomationId = props2.automationId || params?.automationId || searchParams.get("automationId") || "";
|
|
117900
117900
|
const shouldShowBackButton = searchParams.get("showBackButton") === "true" || props2.showBackButton;
|
|
117901
|
-
return /* @__PURE__ */ jsx(ViewAutomationProvider, { automationId: effectiveAutomationId, children: /* @__PURE__ */ jsx("div", { className: "bg-background h-full", children: /* @__PURE__ */ jsx(ViewAutomationMain, { ...props2, showBackButton: shouldShowBackButton }) }) });
|
|
117901
|
+
return /* @__PURE__ */ jsx(ViewAutomationProvider, { automationId: effectiveAutomationId, children: /* @__PURE__ */ jsx("div", { className: "bg-background h-full min-h-[750px]", children: /* @__PURE__ */ jsx(ViewAutomationMain, { ...props2, showBackButton: shouldShowBackButton }) }) });
|
|
117902
117902
|
};
|
|
117903
117903
|
const ViewAutomation = ({ inRouter = false, ...props2 }) => inRouter ? /* @__PURE__ */ jsx(ViewAutomationContent, { ...props2 }) : /* @__PURE__ */ jsx(MemoryRouter, { children: /* @__PURE__ */ jsx(ViewAutomationContent, { ...props2 }) });
|
|
117904
117904
|
Object.values(
|