@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/index.js CHANGED
@@ -1039,13 +1039,15 @@ function ApplyDirectiveButton({
1039
1039
  return /* @__PURE__ */ jsxs2(
1040
1040
  "span",
1041
1041
  {
1042
- className: `inline-flex min-w-0 flex-wrap items-center gap-1 text-xs ${bad ? "text-destructive" : "text-primary"}`,
1042
+ className: `flex min-w-0 flex-wrap items-center gap-x-2 gap-y-0.5 text-xs ${bad ? "text-destructive" : "text-primary"}`,
1043
1043
  "data-apply-state": "applied",
1044
1044
  children: [
1045
- 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" }),
1046
- /* @__PURE__ */ jsxs2("span", { children: [
1047
- state.message ?? `Applied ${state.applied}`,
1048
- bad && !state.message ? ` \xB7 ${state.failed} failed` : ""
1045
+ /* @__PURE__ */ jsxs2("span", { className: "inline-flex min-w-0 items-start gap-1", children: [
1046
+ 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" }),
1047
+ /* @__PURE__ */ jsxs2("span", { className: "min-w-0", children: [
1048
+ state.message ?? `Applied ${state.applied}`,
1049
+ bad && !state.message ? ` \xB7 ${state.failed} failed` : ""
1050
+ ] })
1049
1051
  ] }),
1050
1052
  records.map((record) => /* @__PURE__ */ jsx4("span", { className: "inline-flex min-w-0 items-center", children: host.renderRecord?.({
1051
1053
  ...record,