pxengine 0.1.84 → 0.1.85

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.d.cts CHANGED
@@ -3205,6 +3205,12 @@ interface ResearchReportJobCardProps {
3205
3205
  onComplete?: (output: ResearchReportJobOutput) => void;
3206
3206
  /** Callback when job fails */
3207
3207
  onFailed?: (error: string) => void;
3208
+ /**
3209
+ * Compact mode - only shows title and action buttons.
3210
+ * The embedded iframe preview is hidden; use Preview button to view full report.
3211
+ * @default false
3212
+ */
3213
+ compact?: boolean;
3208
3214
  }
3209
3215
  interface ResearchReportJobOutput {
3210
3216
  title: string;
package/dist/index.d.ts CHANGED
@@ -3205,6 +3205,12 @@ interface ResearchReportJobCardProps {
3205
3205
  onComplete?: (output: ResearchReportJobOutput) => void;
3206
3206
  /** Callback when job fails */
3207
3207
  onFailed?: (error: string) => void;
3208
+ /**
3209
+ * Compact mode - only shows title and action buttons.
3210
+ * The embedded iframe preview is hidden; use Preview button to view full report.
3211
+ * @default false
3212
+ */
3213
+ compact?: boolean;
3208
3214
  }
3209
3215
  interface ResearchReportJobOutput {
3210
3216
  title: string;
package/dist/index.mjs CHANGED
@@ -39029,7 +39029,7 @@ var PresentationJobCard = ({
39029
39029
  const hasHtml = Boolean(formats.html_url);
39030
39030
  return /* @__PURE__ */ jsxs108(Fragment5, { children: [
39031
39031
  /* @__PURE__ */ jsx147("div", { className: cn("w-full", className), children: /* @__PURE__ */ jsxs108("div", { className: "bg-zinc-900 border border-zinc-800 rounded-2xl overflow-hidden", children: [
39032
- /* @__PURE__ */ jsx147("div", { className: "h-[3px] bg-gradient-to-r from-indigo-600 via-violet-500 to-purple-600" }),
39032
+ /* @__PURE__ */ jsx147("div", { className: "h-[3px]", style: { background: "linear-gradient(90deg, #8B7D5E, #C0AE82, #DCC99B)" } }),
39033
39033
  /* @__PURE__ */ jsxs108("div", { className: "p-5", children: [
39034
39034
  /* @__PURE__ */ jsxs108("div", { className: "flex items-start gap-3", children: [
39035
39035
  /* @__PURE__ */ jsx147("div", { className: "w-10 h-10 rounded-xl bg-indigo-500/10 border border-indigo-500/20 flex items-center justify-center flex-shrink-0 text-indigo-400", children: /* @__PURE__ */ jsx147(SlidesIcon, {}) }),
@@ -39258,7 +39258,8 @@ var ResearchReportJobCard = ({
39258
39258
  authToken,
39259
39259
  className,
39260
39260
  onComplete,
39261
- onFailed
39261
+ onFailed,
39262
+ compact = false
39262
39263
  }) => {
39263
39264
  const [status, setStatus] = useState11(initialStatus);
39264
39265
  const [title, setTitle] = useState11(initialTitle);
@@ -39433,7 +39434,7 @@ var ResearchReportJobCard = ({
39433
39434
  {
39434
39435
  className: "h-[3px]",
39435
39436
  style: {
39436
- background: `linear-gradient(90deg, ${primaryColor}, ${theme?.secondary || "#a78bfa"}, ${theme?.accent || "#c4b5fd"})`
39437
+ background: "linear-gradient(90deg, #8B7D5E, #C0AE82, #DCC99B)"
39437
39438
  }
39438
39439
  }
39439
39440
  ),
@@ -39493,7 +39494,7 @@ var ResearchReportJobCard = ({
39493
39494
  )
39494
39495
  ] })
39495
39496
  ] }),
39496
- hasHTML && /* @__PURE__ */ jsx148("div", { className: "mt-4", children: /* @__PURE__ */ jsxs109(
39497
+ hasHTML && !compact && /* @__PURE__ */ jsx148("div", { className: "mt-4", children: /* @__PURE__ */ jsxs109(
39497
39498
  "div",
39498
39499
  {
39499
39500
  ref: previewRef,
@@ -39526,7 +39527,7 @@ var ResearchReportJobCard = ({
39526
39527
  ]
39527
39528
  }
39528
39529
  ) }),
39529
- !hasHTML && summary && /* @__PURE__ */ jsx148("div", { className: "mt-4 pt-4 border-t border-zinc-800/60", children: /* @__PURE__ */ jsx148("p", { className: "text-sm text-zinc-400 leading-relaxed line-clamp-3", children: summary }) })
39530
+ !hasHTML && !compact && summary && /* @__PURE__ */ jsx148("div", { className: "mt-4 pt-4 border-t border-zinc-800/60", children: /* @__PURE__ */ jsx148("p", { className: "text-sm text-zinc-400 leading-relaxed line-clamp-3", children: summary }) })
39530
39531
  ] })
39531
39532
  ] }) }),
39532
39533
  showPreview && hasHTML && /* @__PURE__ */ jsx148(