@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/CHANGELOG.md +7 -0
- package/dist/directives.cjs +7 -5
- package/dist/directives.cjs.map +1 -1
- package/dist/directives.js +7 -5
- package/dist/directives.js.map +1 -1
- package/dist/index.cjs +7 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +7 -5
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +7 -5
- package/dist/react.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1039,13 +1039,15 @@ function ApplyDirectiveButton({
|
|
|
1039
1039
|
return /* @__PURE__ */ jsxs2(
|
|
1040
1040
|
"span",
|
|
1041
1041
|
{
|
|
1042
|
-
className: `
|
|
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
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
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,
|