@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.js CHANGED
@@ -71272,7 +71272,7 @@ Message: ${offlineMessage}`,
71272
71272
  }
71273
71273
  };
71274
71274
  if (loading) {
71275
- return /* @__PURE__ */ jsx11("div", { className: "flex h-screen items-center justify-center bg-transparent", children: /* @__PURE__ */ jsx11(LoaderCircle, { className: "size-6 animate-spin text-neutral-400" }) });
71275
+ return /* @__PURE__ */ jsx11("div", { className: "flex h-full items-center justify-center bg-transparent", children: /* @__PURE__ */ jsx11(LoaderCircle, { className: "size-6 animate-spin text-neutral-400" }) });
71276
71276
  }
71277
71277
  const mdComponents = {
71278
71278
  p: ({ children }) => /* @__PURE__ */ jsx11("p", { className: "mb-1 last:mb-0", children }),
@@ -71288,7 +71288,7 @@ Message: ${offlineMessage}`,
71288
71288
  }
71289
71289
  };
71290
71290
  const colorSchemeCss = buildColorSchemeCss(colorScheme, "#chatty-root");
71291
- return /* @__PURE__ */ jsxs5("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: [
71291
+ return /* @__PURE__ */ jsxs5("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: [
71292
71292
  /* @__PURE__ */ jsx11("style", { dangerouslySetInnerHTML: { __html: `
71293
71293
  html, body {
71294
71294
  touch-action: manipulation;