@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.js CHANGED
@@ -380,13 +380,15 @@ function ApplyDirectiveButton({
380
380
  return /* @__PURE__ */ jsxs2(
381
381
  "span",
382
382
  {
383
- className: `inline-flex min-w-0 flex-wrap items-center gap-1 text-xs ${bad ? "text-destructive" : "text-primary"}`,
383
+ className: `flex min-w-0 flex-wrap items-center gap-x-2 gap-y-0.5 text-xs ${bad ? "text-destructive" : "text-primary"}`,
384
384
  "data-apply-state": "applied",
385
385
  children: [
386
- bad ? /* @__PURE__ */ jsx4(AlertIcon, { className: "h-3.5 w-3.5 shrink-0" }) : /* @__PURE__ */ jsx4(CheckCircleIcon, { className: "h-3.5 w-3.5 shrink-0" }),
387
- /* @__PURE__ */ jsxs2("span", { children: [
388
- state.message ?? `Applied ${state.applied}`,
389
- bad && !state.message ? ` \xB7 ${state.failed} failed` : ""
386
+ /* @__PURE__ */ jsxs2("span", { className: "inline-flex min-w-0 items-start gap-1", children: [
387
+ bad ? /* @__PURE__ */ jsx4(AlertIcon, { className: "mt-px h-3.5 w-3.5 shrink-0" }) : /* @__PURE__ */ jsx4(CheckCircleIcon, { className: "mt-px h-3.5 w-3.5 shrink-0" }),
388
+ /* @__PURE__ */ jsxs2("span", { className: "min-w-0", children: [
389
+ state.message ?? `Applied ${state.applied}`,
390
+ bad && !state.message ? ` \xB7 ${state.failed} failed` : ""
391
+ ] })
390
392
  ] }),
391
393
  records.map((record) => /* @__PURE__ */ jsx4("span", { className: "inline-flex min-w-0 items-center", children: host.renderRecord?.({
392
394
  ...record,