@streamoid/catalogix-chat 0.2.19 → 0.2.20

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.ts CHANGED
@@ -75,7 +75,7 @@ declare const catalogixManifest: readonly [{
75
75
  readonly overflow: "auto";
76
76
  readonly marginTop: "8px";
77
77
  readonly paddingBottom: "16px";
78
- readonly height: "600px";
78
+ readonly maxHeight: "600px";
79
79
  readonly position: "relative";
80
80
  readonly width: "100%";
81
81
  };
package/dist/index.js CHANGED
@@ -3285,13 +3285,16 @@ function SubmittedSummary({
3285
3285
  submittedValues
3286
3286
  }) {
3287
3287
  const cancelled = !!submittedValues?.cancelled;
3288
- return /* @__PURE__ */ jsxs11(Card, { className: "p-4", children: [
3289
- /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2 mb-2", children: [
3290
- cancelled ? /* @__PURE__ */ jsx22(X2, { className: "h-4 w-4 text-muted-foreground" }) : /* @__PURE__ */ jsx22(Check3, { className: "h-4 w-4 text-green-600" }),
3291
- /* @__PURE__ */ jsx22("span", { className: "font-medium text-sm", children: cancelled ? "Feed correction cancelled" : "Feed corrections validated" })
3292
- ] }),
3293
- !cancelled && !!submittedValues?.transformedUrl && /* @__PURE__ */ jsx22("p", { className: "text-xs text-muted-foreground", children: "Validation passed. Proceeding with upload." })
3294
- ] });
3288
+ return /* @__PURE__ */ jsx22("div", { className: "max-w-[50%] py-2 animate-in fade-in duration-300", children: /* @__PURE__ */ jsxs11("div", { className: cn(
3289
+ "rounded-md border p-2.5 flex items-start gap-2",
3290
+ cancelled ? "bg-muted/20 border-border" : "bg-emerald-50/50 border-emerald-200 dark:bg-muted/20 dark:border-border"
3291
+ ), children: [
3292
+ /* @__PURE__ */ jsx22("div", { className: cn("mt-px", cancelled ? "text-muted-foreground" : "text-emerald-500"), children: cancelled ? /* @__PURE__ */ jsx22(X2, { className: "w-4 h-4" }) : /* @__PURE__ */ jsx22(Check3, { className: "w-4 h-4" }) }),
3293
+ /* @__PURE__ */ jsxs11("div", { className: "flex-1 min-w-0", children: [
3294
+ /* @__PURE__ */ jsx22("p", { className: "text-xs font-medium leading-tight", children: cancelled ? "Feed correction cancelled" : "Submitted \u2014 Feed Corrections" }),
3295
+ !cancelled && !!submittedValues?.transformedUrl && /* @__PURE__ */ jsx22("p", { className: "mt-1 text-[11px] leading-snug text-muted-foreground", children: "Validation passed. Proceeding with upload." })
3296
+ ] })
3297
+ ] }) });
3295
3298
  }
3296
3299
  function EditFeed({
3297
3300
  criticalIssues: initialCriticalIssues,
@@ -3455,7 +3458,7 @@ function EditFeed({
3455
3458
  marketplaceOv,
3456
3459
  onSubmit
3457
3460
  ]);
3458
- return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col gap-3 h-full", children: [
3461
+ return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col gap-3", children: [
3459
3462
  /* @__PURE__ */ jsx22("div", { className: "flex items-center justify-between px-1", children: /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2", children: [
3460
3463
  /* @__PURE__ */ jsx22(AlertTriangle2, { className: "h-4 w-4 text-destructive" }),
3461
3464
  /* @__PURE__ */ jsx22("span", { className: "font-medium text-sm", children: "Feed Validation Issues" }),
@@ -3478,7 +3481,7 @@ function EditFeed({
3478
3481
  /* @__PURE__ */ jsx22(AlertTriangle2, { className: "h-3 w-3 shrink-0" }),
3479
3482
  errorMsg
3480
3483
  ] }),
3481
- /* @__PURE__ */ jsx22("div", { className: "flex-1 overflow-auto border rounded-md", children: /* @__PURE__ */ jsxs11(Table, { children: [
3484
+ /* @__PURE__ */ jsx22("div", { className: "overflow-auto border rounded-md max-h-[400px]", children: /* @__PURE__ */ jsxs11(Table, { children: [
3482
3485
  /* @__PURE__ */ jsx22(TableHeader, { className: "sticky top-0 bg-muted/80 backdrop-blur-sm z-10", children: /* @__PURE__ */ jsxs11(TableRow, { children: [
3483
3486
  /* @__PURE__ */ jsx22(TableHead, { className: "w-8 text-center", children: "#" }),
3484
3487
  columns.map((col) => /* @__PURE__ */ jsx22(TableHead, { children: col }, col))
@@ -4817,7 +4820,7 @@ var catalogixManifest = [
4817
4820
  overflow: "auto",
4818
4821
  marginTop: "8px",
4819
4822
  paddingBottom: "16px",
4820
- height: "600px",
4823
+ maxHeight: "600px",
4821
4824
  position: "relative",
4822
4825
  width: "100%"
4823
4826
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamoid/catalogix-chat",
3
- "version": "0.2.19",
3
+ "version": "0.2.20",
4
4
  "description": "Catalogix chat components for the Streamoid chat host — store creation, product selection, automations",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",