@tangle-network/charts 2.0.5 → 2.0.6

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.
@@ -375,11 +375,11 @@
375
375
  .fw-root .fw-key > summary { display: none; }
376
376
  .fw-root .fw-key > summary svg { width: 12px; height: 12px; margin-left: 6px; }
377
377
  .fw-root .fw-key[open] > summary svg { transform: rotate(90deg); }
378
- .fw-root .fw-row-state { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; }
378
+ .fw-root .fw-row-state { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
379
379
  .fw-root .fw-error-rug { position: relative; height: 10px; margin-left: var(--fw-label-col); overflow: hidden; }
380
380
  .fw-root .fw-error-tick { position: absolute; width: 2px; height: 8px; background: var(--fw-failed); left: calc(var(--fw-pad) + (var(--s) - var(--fw-v0)) * var(--fw-k) * 1px); }
381
381
  .fw-root .fw-error-tick[data-unlocated] { left: auto; right: calc(var(--error-index) * 3px); }
382
- .fw-root .fw-quiet { display: inline-flex; align-items: center; gap: 4px; color: var(--fw-amber); font-size: 12px; font-weight: 500; white-space: nowrap; }
382
+ .fw-root .fw-quiet { display: inline-flex; align-items: center; gap: 4px; color: var(--fw-amber); font-size: 13px; font-weight: 500; white-space: nowrap; }
383
383
  .fw-root .fw-quiet::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
384
384
  .fw-root [data-activity="quiet"] :is(.fw-agent-dot[data-outcome="live"], .fw-spinner) { display: none; }
385
385
  .fw-root [data-activity="quiet"] :is(.fw-agent-dot, .fw-spinner) { animation: none !important; }
@@ -388,7 +388,7 @@
388
388
  .fw-root .fw-card-error { margin-top: 8px; color: var(--fw-failed); font-size: 13px; line-height: 18px; }
389
389
  .fw-root .fw-card .fw-agent-dot:not([data-outcome]) { background: transparent; box-shadow: inset 0 0 0 1.5px var(--fw-muted); }
390
390
  @container flow-waterfall (max-width: 599px) {
391
- .fw-root > * { --fw-label-col: 0px; --fw-bar-shift: 8px; --fw-bar-h: 8px; --fw-row-h: 44px; }
391
+ .fw-root > * { --fw-label-col: 0px; --fw-bar-shift: 18px; --fw-bar-h: 8px; --fw-row-h: 52px; }
392
392
  .fw-root .fw-summary > div:nth-child(-n+2) { flex: 1 0 auto; display: flex; align-items: baseline; gap: 8px; padding: 6px 8px; }
393
393
  .fw-root .fw-summary > div:nth-child(-n+2) .fw-value { margin: 0; font-size: 20px; line-height: 28px; }
394
394
  .fw-root .fw-summary::after { content: ""; flex-basis: 100%; }
@@ -410,13 +410,13 @@
410
410
  .fw-root .fw-tick:is(:nth-child(2), :nth-child(3)) { transform: translate(-50%, -50%); }
411
411
  .fw-root .fw-tick:nth-child(4) { transform: translate(calc(-100% - 4px), -50%); }
412
412
  .fw-root .fw-row { transform: none; top: var(--row-y); contain: style; }
413
- .fw-root .fw-label { position: absolute; z-index: 3; height: 20px; top: 0; left: 0; right: 0; padding: 0 calc(var(--fw-end-w, 0px) + 8px) 0 calc(8px + var(--depth) * 12px); border: 0; gap: 4px; background: transparent; pointer-events: none; }
413
+ .fw-root .fw-label { position: absolute; z-index: 3; height: 20px; top: 0; left: 0; right: 0; padding: 0 8px 0 calc(8px + var(--depth) * 12px); border: 0; gap: 4px; background: transparent; pointer-events: none; }
414
+ .fw-root .fw-row :is(.fw-row-state, .fw-quiet) { position: absolute; top: 20px; left: calc(28px + var(--depth) * 12px); height: 18px; }
414
415
  .fw-root .fw-view-agents .fw-names { flex-direction: row; font-size: 14px; line-height: 20px; }
415
416
  .fw-root .fw-view-agents :is(.fw-subtitle, .fw-seg-label) { display: none; }
416
417
  .fw-root .fw-view-agents .fw-label { padding-left: calc(8px + var(--depth) * 12px); }
417
418
  .fw-root .fw-lane { grid-column: 2; }
418
- .fw-root .fw-end { top: 0; height: 20px; left: auto; right: 4px; }
419
- .fw-root .fw-duration { font-size: 12px; }
419
+ .fw-root .fw-end { top: 20px; height: 18px; left: auto; right: 4px; }
420
420
  .fw-root .fw-time { display: block; grid-column: 2; position: absolute; top: -12px; left: var(--fw-progress); transform: translateX(calc(-1 * var(--fw-progress))); width: max-content; max-width: 100%; background: var(--fw-surface); }
421
421
  .fw-root .fw-playback { position: relative; padding: 12px 8px 8px; }
422
422
  .fw-root .fw-overview { margin-top: 12px; grid-template-columns: 0 minmax(0, 1fr); column-gap: 0; }
@@ -8040,7 +8040,7 @@ function linksFor(rows, byId, view) {
8040
8040
  function FlowBody(props) {
8041
8041
  const { rows, view, maxHeight, collapsed, searching, slowestId, activeId, selectedId, clockMs, window: win, trackPx, showCursor, zoomed } = props;
8042
8042
  const [narrow, setNarrow] = useState(false);
8043
- const rowHeight = narrow ? 44 : ROW_HEIGHT[view];
8043
+ const rowHeight = narrow ? 52 : ROW_HEIGHT[view];
8044
8044
  const scroller = useRef(null);
8045
8045
  const surface = useRef(null);
8046
8046
  useEffect(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/charts",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
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",