@ai-matrx/content-ir-react 0.15.0 → 0.15.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/react.cjs CHANGED
@@ -420,13 +420,15 @@ function ApplyDirectiveButton({
420
420
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
421
421
  "span",
422
422
  {
423
- className: `inline-flex min-w-0 flex-wrap items-center gap-1 text-xs ${bad ? "text-destructive" : "text-primary"}`,
423
+ className: `flex min-w-0 flex-wrap items-center gap-x-2 gap-y-0.5 text-xs ${bad ? "text-destructive" : "text-primary"}`,
424
424
  "data-apply-state": "applied",
425
425
  children: [
426
- bad ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AlertIcon, { className: "h-3.5 w-3.5 shrink-0" }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CheckCircleIcon, { className: "h-3.5 w-3.5 shrink-0" }),
427
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { children: [
428
- state.message ?? `Applied ${state.applied}`,
429
- bad && !state.message ? ` \xB7 ${state.failed} failed` : ""
426
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { className: "inline-flex min-w-0 items-start gap-1", children: [
427
+ bad ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(AlertIcon, { className: "mt-px h-3.5 w-3.5 shrink-0" }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(CheckCircleIcon, { className: "mt-px h-3.5 w-3.5 shrink-0" }),
428
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { className: "min-w-0", children: [
429
+ state.message ?? `Applied ${state.applied}`,
430
+ bad && !state.message ? ` \xB7 ${state.failed} failed` : ""
431
+ ] })
430
432
  ] }),
431
433
  records.map((record) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "inline-flex min-w-0 items-center", children: host.renderRecord?.({
432
434
  ...record,