@tangle-network/charts 0.21.3 → 0.21.4

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.
@@ -185,7 +185,9 @@
185
185
  .fw-root .fw-view-agents .fw-label { padding-left: 16px; gap: 12px; border-right: 0; }
186
186
  .fw-root .fw-view-agents .fw-names { flex-direction: column; align-items: flex-start; gap: 0; }
187
187
  .fw-root .fw-view-agents .fw-span-name { font-weight: 600; line-height: 18px; }
188
- .fw-root .fw-view-agents .fw-subtitle { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fw-muted); font-size: 12px; line-height: 16px; }
188
+ .fw-root .fw-view-agents .fw-subtitle { display: flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0; color: var(--fw-muted); font-size: 12px; line-height: 16px; }
189
+ .fw-root .fw-view-agents .fw-subtitle-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
190
+ .fw-root .fw-view-agents .fw-detail-icon { flex: none; width: 16px; height: 16px; align-items: center; justify-content: center; overflow: hidden; }
189
191
  .fw-root .fw-view-agents .fw-detail { font-size: 12px; line-height: 16px; }
190
192
  .fw-root .fw-agent-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--line, var(--fw-muted)); }
191
193
 
@@ -3394,41 +3394,40 @@ const FlowRow = memo(function FlowRow(props) {
3394
3394
  /* @__PURE__ */ jsxs("span", {
3395
3395
  className: "fw-names",
3396
3396
  title: `${row.name}${span.detail ? ` · ${span.detail}` : ""} · ${KIND_LABEL[span.kind]}${running ? " · running" : ""}${row.ok ? "" : " · failed"}`,
3397
- children: [
3398
- /* @__PURE__ */ jsxs("span", {
3399
- className: `fw-span-name${isAgent || row.hasChildren ? " fw-strong" : ""}`,
3400
- children: [
3401
- fillByAgent && isAgent && span.outcome ? /* @__PURE__ */ jsx("span", {
3402
- className: "fw-agent-dot",
3403
- "data-tone": "0",
3404
- "data-outcome": span.outcome.tone,
3405
- title: span.outcome.label,
3406
- "aria-hidden": true
3407
- }) : agentView && !step && /* @__PURE__ */ jsx("span", {
3408
- className: "fw-agent-dot",
3409
- "aria-hidden": true
3410
- }),
3411
- running && /* @__PURE__ */ jsx("span", {
3412
- className: "fw-spinner",
3413
- role: "status",
3414
- "aria-label": "running"
3415
- }),
3416
- /* @__PURE__ */ jsx("span", {
3417
- className: "fw-name-text",
3418
- children: row.name
3419
- })
3420
- ]
3421
- }),
3422
- agentView && /* @__PURE__ */ jsx("span", {
3423
- className: "fw-subtitle",
3424
- children: span.detail && span.detail !== props.sharedDetail ? `${span.detail} · ${agentSummary(row)}` : agentSummary(row)
3425
- }),
3426
- agentView && renderIcon && /* @__PURE__ */ jsx("span", {
3397
+ children: [/* @__PURE__ */ jsxs("span", {
3398
+ className: `fw-span-name${isAgent || row.hasChildren ? " fw-strong" : ""}`,
3399
+ children: [
3400
+ fillByAgent && isAgent && span.outcome ? /* @__PURE__ */ jsx("span", {
3401
+ className: "fw-agent-dot",
3402
+ "data-tone": "0",
3403
+ "data-outcome": span.outcome.tone,
3404
+ title: span.outcome.label,
3405
+ "aria-hidden": true
3406
+ }) : agentView && !step && /* @__PURE__ */ jsx("span", {
3407
+ className: "fw-agent-dot",
3408
+ "aria-hidden": true
3409
+ }),
3410
+ running && /* @__PURE__ */ jsx("span", {
3411
+ className: "fw-spinner",
3412
+ role: "status",
3413
+ "aria-label": "running"
3414
+ }),
3415
+ /* @__PURE__ */ jsx("span", {
3416
+ className: "fw-name-text",
3417
+ children: row.name
3418
+ })
3419
+ ]
3420
+ }), agentView && /* @__PURE__ */ jsxs("span", {
3421
+ className: "fw-subtitle",
3422
+ children: [renderIcon && /* @__PURE__ */ jsx("span", {
3427
3423
  className: "fw-detail-icon",
3428
3424
  "aria-hidden": true,
3429
3425
  children: renderIcon(span)
3430
- })
3431
- ]
3426
+ }), /* @__PURE__ */ jsx("span", {
3427
+ className: "fw-subtitle-text",
3428
+ children: span.detail && span.detail !== props.sharedDetail ? `${span.detail} · ${agentSummary(row)}` : agentSummary(row)
3429
+ })]
3430
+ })]
3432
3431
  }),
3433
3432
  folded && /* @__PURE__ */ jsxs("span", {
3434
3433
  className: "fw-count",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/charts",
3
- "version": "0.21.3",
3
+ "version": "0.21.4",
4
4
  "description": "Static SVG and HTML figures for benchmarks and operational timing. Draws from producer data and refuses what it cannot draw honestly.",
5
5
  "type": "module",
6
6
  "license": "MIT",