@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/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: `
|
|
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
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
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,
|