@llmnative/agentico 0.13.1 → 0.13.2

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.mjs CHANGED
@@ -1003,32 +1003,46 @@ function pt({ entry: e, part: a, questions: o }) {
1003
1003
  children: a.badge.label
1004
1004
  })] }),
1005
1005
  footer: /* @__PURE__ */ I("div", {
1006
- className: "flex flex-wrap items-center gap-2 px-3 py-2",
1007
- children: [
1008
- a.details && /* @__PURE__ */ F(t, {
1009
- icon: "eye",
1010
- label: s.cardView,
1011
- variant: "outline-secondary",
1012
- onClick: () => l(!0)
1013
- }),
1014
- (a.actions ?? []).map((t) => /* @__PURE__ */ F(m, {
1015
- ...t.icon ? { icon: t.icon } : {},
1016
- label: t.label,
1017
- variant: t.variant ?? "outline-primary",
1018
- disabled: !u,
1019
- onClick: () => o.onCardAction(e.id, a.id, t.id)
1020
- }, t.id)),
1021
- a.outcome && /* @__PURE__ */ I("span", {
1022
- className: `text-xs ${d}`,
1023
- children: [a.outcome.text, a.outcome.link && /* @__PURE__ */ I(P, { children: [" ", /* @__PURE__ */ F("a", {
1024
- className: "underline",
1025
- href: a.outcome.link.url,
1026
- target: "_blank",
1027
- rel: "noopener noreferrer",
1028
- children: a.outcome.link.label
1029
- })] })]
1030
- })
1031
- ]
1006
+ className: "space-y-1.5 px-3 py-2",
1007
+ children: [/* @__PURE__ */ I("div", {
1008
+ className: "flex items-center gap-1",
1009
+ children: [
1010
+ a.details && /* @__PURE__ */ F(t, {
1011
+ icon: "eye",
1012
+ ariaLabel: s.cardView,
1013
+ title: s.cardView,
1014
+ variant: "outline-secondary",
1015
+ onClick: () => l(!0)
1016
+ }),
1017
+ (a.actions ?? []).filter((e) => e.variant !== "primary" && e.icon).map((t) => /* @__PURE__ */ F(m, {
1018
+ icon: t.icon,
1019
+ ariaLabel: t.label,
1020
+ title: t.label,
1021
+ variant: t.variant ?? "outline-secondary",
1022
+ disabled: !u,
1023
+ onClick: () => o.onCardAction(e.id, a.id, t.id)
1024
+ }, t.id)),
1025
+ /* @__PURE__ */ F("span", {
1026
+ className: "ms-auto flex items-center gap-1",
1027
+ children: (a.actions ?? []).filter((e) => e.variant === "primary" || !e.icon).map((t) => /* @__PURE__ */ F(m, {
1028
+ ...t.icon ? { icon: t.icon } : {},
1029
+ label: t.label,
1030
+ variant: t.variant ?? "outline-primary",
1031
+ disabled: !u,
1032
+ onClick: () => o.onCardAction(e.id, a.id, t.id)
1033
+ }, t.id))
1034
+ })
1035
+ ]
1036
+ }), a.outcome && /* @__PURE__ */ I("p", {
1037
+ className: `text-xs ${d}`,
1038
+ children: [a.outcome.text, a.outcome.link && /* @__PURE__ */ I(P, { children: [" ", /* @__PURE__ */ F("a", {
1039
+ className: "underline",
1040
+ href: a.outcome.link.url,
1041
+ target: "_blank",
1042
+ rel: "noopener noreferrer",
1043
+ children: a.outcome.link.label
1044
+ })] })]
1045
+ })]
1032
1046
  }),
1033
1047
  children: [a.body ? /* @__PURE__ */ F(i, {
1034
1048
  content: a.body,