@agentiffai/design 1.3.11 → 1.3.13

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.
@@ -2241,6 +2241,24 @@ function ItemWithLogs({
2241
2241
  isExpanded && /* @__PURE__ */ jsxRuntime.jsx(ItemDisclosurePanel, { children: run.customContent ? (
2242
2242
  // Render custom content directly
2243
2243
  /* @__PURE__ */ jsxRuntime.jsx("div", { style: { padding: "16px" }, children: run.customContent })
2244
+ ) : run.logsLoading ? (
2245
+ // Show loading spinner while logs are being fetched
2246
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", justifyContent: "center", padding: "16px" }, children: [
2247
+ /* @__PURE__ */ jsxRuntime.jsx(
2248
+ "div",
2249
+ {
2250
+ style: {
2251
+ width: "24px",
2252
+ height: "24px",
2253
+ border: `2px solid ${tokens.colors.border.default}`,
2254
+ borderTopColor: tokens.colors.primary,
2255
+ borderRadius: "50%",
2256
+ animation: "spin 1s linear infinite"
2257
+ }
2258
+ }
2259
+ ),
2260
+ /* @__PURE__ */ jsxRuntime.jsx("style", { children: `@keyframes spin { to { transform: rotate(360deg); } }` })
2261
+ ] })
2244
2262
  ) : run.logs && run.logs.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(DarkNotificationCard, { sections: logSections }) : /* @__PURE__ */ jsxRuntime.jsx("div", { style: { color: tokens.colors.text.tertiary, fontSize: "13px", padding: "8px" }, children: "No action logs available" }) })
2245
2263
  ] });
2246
2264
  }