@pipelex/mthds-ui 0.16.0 → 0.17.0

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.
@@ -2211,6 +2211,71 @@ button.stuff-viewer-local-file--button:focus-visible {
2211
2211
  padding: 8px 0;
2212
2212
  }
2213
2213
 
2214
+ /* ─── Usage (inline cost + disclosure) ──────────────────────────────────── */
2215
+
2216
+ /* Cost sits on the status line, formatted exactly like the duration beside it:
2217
+ they are two facts of the same kind about the same run. The button carries no
2218
+ chrome of its own — only the chevron marks it as expandable. */
2219
+ .detail-usage-inline {
2220
+ display: inline-flex;
2221
+ align-items: center;
2222
+ gap: 4px;
2223
+ padding: 0;
2224
+ background: none;
2225
+ border: none;
2226
+ cursor: pointer;
2227
+ font: inherit;
2228
+ color: inherit;
2229
+ }
2230
+
2231
+ .detail-usage-value {
2232
+ font-size: 11px;
2233
+ color: var(--text-dim);
2234
+ font-family: var(--font-mono);
2235
+ font-variant-numeric: tabular-nums;
2236
+ }
2237
+
2238
+ .detail-usage-inline:hover .detail-usage-value {
2239
+ color: var(--text-muted);
2240
+ }
2241
+
2242
+ /* Quieter than the number it follows: it is an affordance, not information. */
2243
+ .detail-usage-chevron {
2244
+ color: var(--text-dim);
2245
+ opacity: 0.55;
2246
+ transition:
2247
+ transform 120ms ease,
2248
+ opacity 120ms ease;
2249
+ }
2250
+
2251
+ .detail-usage-inline:hover .detail-usage-chevron {
2252
+ opacity: 0.9;
2253
+ }
2254
+
2255
+ .detail-usage-chevron--open {
2256
+ transform: rotate(180deg);
2257
+ }
2258
+
2259
+ .detail-usage-details {
2260
+ display: flex;
2261
+ flex-direction: column;
2262
+ gap: 8px;
2263
+ }
2264
+
2265
+ /* Model row: request on top, what it resolved to underneath. The secondary line
2266
+ is dimmer so the pair reads as one fact with its consequence, not two facts. */
2267
+ .detail-model-value {
2268
+ display: flex;
2269
+ flex-direction: column;
2270
+ align-items: flex-end;
2271
+ gap: 1px;
2272
+ }
2273
+
2274
+ .detail-model-resolved {
2275
+ color: var(--text-dim);
2276
+ font-size: 10px;
2277
+ }
2278
+
2214
2279
  /* ─── Graph Toolbar — floating controls over the graph background ─────── */
2215
2280
  /* Token-only styling: theme switching happens by swapping `--surface-*`, */
2216
2281
  /* `--text-*`, `--border-*`, and `--color-accent` values on the container. */