@personaliai/react-widget 0.1.0 → 0.1.1

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.cjs CHANGED
@@ -97373,7 +97373,7 @@ Message: ${offlineMessage}`,
97373
97373
  }
97374
97374
  };
97375
97375
  if (loading) {
97376
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex h-screen items-center justify-center bg-transparent", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(LoaderCircle, { className: "size-6 animate-spin text-neutral-400" }) });
97376
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex h-full items-center justify-center bg-transparent", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(LoaderCircle, { className: "size-6 animate-spin text-neutral-400" }) });
97377
97377
  }
97378
97378
  const mdComponents = {
97379
97379
  p: ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { className: "mb-1 last:mb-0", children }),
@@ -97389,7 +97389,7 @@ Message: ${offlineMessage}`,
97389
97389
  }
97390
97390
  };
97391
97391
  const colorSchemeCss = buildColorSchemeCss(colorScheme, "#chatty-root");
97392
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { ref: rootRef, id: "chatty-root", className: `w-full h-screen flex flex-col overflow-hidden text-neutral-900 dark:text-neutral-100 font-sans style-${widgetStyle} ${isFullscreen ? "" : "rounded-2xl"}`, style: { backgroundColor: primaryColor, touchAction: "manipulation", ...primaryColorCssVars(primaryColor) }, children: [
97392
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { ref: rootRef, id: "chatty-root", className: `w-full h-full flex flex-col overflow-hidden text-neutral-900 dark:text-neutral-100 font-sans style-${widgetStyle} ${isFullscreen ? "" : "rounded-2xl"}`, style: { backgroundColor: primaryColor, touchAction: "manipulation", ...primaryColorCssVars(primaryColor) }, children: [
97393
97393
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("style", { dangerouslySetInnerHTML: { __html: `
97394
97394
  html, body {
97395
97395
  touch-action: manipulation;