@validation-os/dashboard 0.7.1 → 0.9.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.
package/dist/styles.css CHANGED
@@ -412,6 +412,21 @@
412
412
  font-size: 12.5px;
413
413
  }
414
414
 
415
+ /* A ready-to-copy command block (Connect Claude Code, OPS-1349). */
416
+ .vos-code {
417
+ font-family: var(--vos-mono);
418
+ font-size: 12.5px;
419
+ line-height: 1.6;
420
+ background: var(--vos-surface-2);
421
+ border: 1px solid var(--vos-border);
422
+ border-radius: var(--vos-radius);
423
+ padding: 12px 14px;
424
+ margin: 16px 0;
425
+ white-space: pre-wrap;
426
+ word-break: break-all;
427
+ overflow-x: auto;
428
+ }
429
+
415
430
  /* ── card + table ──────────────────────────────────────────────────────── */
416
431
  .vos-card {
417
432
  background: var(--vos-surface);
@@ -925,6 +940,11 @@ textarea.vos-input {
925
940
  flex-direction: column;
926
941
  gap: 14px;
927
942
  }
943
+ .vos-field-error {
944
+ margin: 5px 0 0;
945
+ font-size: 12px;
946
+ color: var(--vos-crit);
947
+ }
928
948
  .vos-sectitle {
929
949
  font-size: 11px;
930
950
  text-transform: uppercase;
@@ -1019,6 +1039,24 @@ textarea.vos-input {
1019
1039
  font-size: 13px;
1020
1040
  color: var(--vos-text);
1021
1041
  }
1042
+ .vos-detail-links {
1043
+ display: inline-flex;
1044
+ flex-wrap: wrap;
1045
+ }
1046
+ .vos-inline-link {
1047
+ border: none;
1048
+ background: none;
1049
+ padding: 0;
1050
+ margin: 0;
1051
+ font: inherit;
1052
+ font-size: inherit;
1053
+ color: var(--vos-accent-text);
1054
+ text-decoration: underline;
1055
+ cursor: pointer;
1056
+ }
1057
+ .vos-inline-link:hover {
1058
+ opacity: 0.8;
1059
+ }
1022
1060
 
1023
1061
  /* ── portfolio pipeline (OPS-1300) ─────────────────────────────────────── */
1024
1062
 
@@ -1598,6 +1636,14 @@ textarea.vos-input {
1598
1636
  color: var(--vos-text);
1599
1637
  margin: 4px 0 0;
1600
1638
  }
1639
+ .vos-record-editor {
1640
+ border: 1px solid var(--vos-border);
1641
+ border-radius: var(--vos-radius);
1642
+ padding: 16px;
1643
+ }
1644
+ .vos-record-editor .vos-drawer-footer {
1645
+ margin: 14px -16px -16px;
1646
+ }
1601
1647
  .vos-panels {
1602
1648
  display: grid;
1603
1649
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
@@ -2275,6 +2321,77 @@ textarea.vos-input {
2275
2321
  color: var(--vos-text);
2276
2322
  }
2277
2323
 
2324
+ /* ── Cycles: the loop, round by round (OPS-1347) ─────────────────────────── */
2325
+ .vos-cyc-list {
2326
+ display: flex;
2327
+ gap: 10px;
2328
+ overflow-x: auto;
2329
+ list-style: none;
2330
+ margin: 0;
2331
+ padding: 2px 0 6px;
2332
+ }
2333
+ .vos-cyc-card {
2334
+ flex: 0 0 168px;
2335
+ border: 1px solid var(--vos-border);
2336
+ border-radius: var(--vos-radius);
2337
+ padding: 10px 12px;
2338
+ display: flex;
2339
+ flex-direction: column;
2340
+ gap: 6px;
2341
+ background: var(--vos-surface-2);
2342
+ }
2343
+ .vos-cyc-head {
2344
+ display: flex;
2345
+ align-items: baseline;
2346
+ justify-content: space-between;
2347
+ gap: 6px;
2348
+ }
2349
+ .vos-cyc-num {
2350
+ font-size: 10.5px;
2351
+ font-weight: 700;
2352
+ text-transform: uppercase;
2353
+ letter-spacing: 0.04em;
2354
+ color: var(--vos-faint);
2355
+ }
2356
+ .vos-cyc-date {
2357
+ font-size: 11px;
2358
+ color: var(--vos-muted);
2359
+ font-variant-numeric: tabular-nums;
2360
+ }
2361
+ .vos-cyc-title {
2362
+ font-size: 12.5px;
2363
+ color: var(--vos-text);
2364
+ overflow: hidden;
2365
+ text-overflow: ellipsis;
2366
+ display: -webkit-box;
2367
+ -webkit-line-clamp: 2;
2368
+ -webkit-box-orient: vertical;
2369
+ }
2370
+ .vos-cyc-dots {
2371
+ display: flex;
2372
+ gap: 4px;
2373
+ flex-wrap: wrap;
2374
+ }
2375
+ .vos-cyc-foot {
2376
+ display: flex;
2377
+ align-items: center;
2378
+ justify-content: space-between;
2379
+ gap: 6px;
2380
+ margin-top: auto;
2381
+ }
2382
+ .vos-cyc-push {
2383
+ display: flex;
2384
+ align-items: center;
2385
+ gap: 5px;
2386
+ font-family: var(--vos-mono);
2387
+ font-size: 11px;
2388
+ font-weight: 700;
2389
+ }
2390
+ .vos-cyc-track {
2391
+ flex: 0 0 34px;
2392
+ height: 7px;
2393
+ }
2394
+
2278
2395
  /* ── Cross-surface cold start (OPS-1331) ────────────────────────────────── */
2279
2396
  /* The shared first-run onboarding line — one tone across the two top-level
2280
2397
  * surfaces (next + pipeline). Neutral text on a faint accent wash, so it
@@ -2365,3 +2482,123 @@ textarea.vos-input {
2365
2482
  .vos-jny-cold .vos-jny-card-eyebrow {
2366
2483
  color: var(--vos-accent-text);
2367
2484
  }
2485
+
2486
+ /* ── Evidence remodel (OPS-1305): body Markdown, per-belief verdicts, chips ── */
2487
+
2488
+ /* Markdown prose (a reading's quote / an experiment's narrative). */
2489
+ .vos-md {
2490
+ font-size: 14px;
2491
+ line-height: 1.55;
2492
+ color: var(--vos-text);
2493
+ }
2494
+ .vos-md > :first-child {
2495
+ margin-top: 0;
2496
+ }
2497
+ .vos-md > :last-child {
2498
+ margin-bottom: 0;
2499
+ }
2500
+ .vos-md p {
2501
+ margin: 0 0 8px;
2502
+ }
2503
+ .vos-md h3,
2504
+ .vos-md h4,
2505
+ .vos-md h5,
2506
+ .vos-md h6 {
2507
+ margin: 12px 0 6px;
2508
+ line-height: 1.3;
2509
+ }
2510
+ .vos-md a {
2511
+ color: var(--vos-accent-text);
2512
+ text-decoration: underline;
2513
+ }
2514
+ .vos-md code.vos-md-code {
2515
+ font-family: var(--vos-mono);
2516
+ font-size: 0.9em;
2517
+ background: var(--vos-surface-2);
2518
+ border-radius: 4px;
2519
+ padding: 1px 4px;
2520
+ }
2521
+ .vos-md pre.vos-md-pre {
2522
+ font-family: var(--vos-mono);
2523
+ font-size: 0.9em;
2524
+ background: var(--vos-surface-2);
2525
+ border-radius: var(--vos-radius);
2526
+ padding: 10px 12px;
2527
+ overflow-x: auto;
2528
+ margin: 0 0 8px;
2529
+ }
2530
+ .vos-md pre.vos-md-pre code {
2531
+ background: none;
2532
+ padding: 0;
2533
+ }
2534
+ .vos-md blockquote.vos-md-quote {
2535
+ margin: 0 0 8px;
2536
+ padding-left: 12px;
2537
+ border-left: 3px solid var(--vos-border-strong);
2538
+ color: var(--vos-muted);
2539
+ }
2540
+ .vos-md ul.vos-md-ul,
2541
+ .vos-md ol.vos-md-ol {
2542
+ margin: 0 0 8px;
2543
+ padding-left: 20px;
2544
+ }
2545
+ .vos-md li {
2546
+ margin: 2px 0;
2547
+ }
2548
+
2549
+ /* Per-belief verdict list on a reading (modelled on the bar-line list). */
2550
+ .vos-verdicts {
2551
+ list-style: none;
2552
+ margin: 0;
2553
+ padding: 0;
2554
+ display: flex;
2555
+ flex-direction: column;
2556
+ gap: 8px;
2557
+ }
2558
+ .vos-verdict {
2559
+ border: 1px solid var(--vos-border);
2560
+ border-radius: var(--vos-radius);
2561
+ padding: 8px 10px;
2562
+ background: var(--vos-surface);
2563
+ }
2564
+ .vos-verdict-head {
2565
+ display: flex;
2566
+ align-items: center;
2567
+ justify-content: space-between;
2568
+ gap: 8px;
2569
+ }
2570
+ .vos-verdict-title {
2571
+ font-weight: 600;
2572
+ }
2573
+ .vos-verdict-meta {
2574
+ display: flex;
2575
+ align-items: center;
2576
+ flex-wrap: wrap;
2577
+ gap: 6px;
2578
+ margin-top: 4px;
2579
+ }
2580
+ .vos-verdict-strength {
2581
+ font-family: var(--vos-mono);
2582
+ font-size: 12px;
2583
+ color: var(--vos-muted);
2584
+ }
2585
+ .vos-verdict-why {
2586
+ margin: 6px 0 0;
2587
+ font-size: 13px;
2588
+ color: var(--vos-muted);
2589
+ }
2590
+
2591
+ /* Belief chips under a reading's title in the register table. */
2592
+ .vos-ttl-wrap {
2593
+ display: flex;
2594
+ flex-direction: column;
2595
+ gap: 3px;
2596
+ }
2597
+ .vos-reading-chips {
2598
+ display: flex;
2599
+ flex-wrap: wrap;
2600
+ gap: 4px;
2601
+ }
2602
+ .vos-reading-chips .vos-chip {
2603
+ font-size: 11px;
2604
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@validation-os/dashboard",
3
- "version": "0.7.1",
3
+ "version": "0.9.0",
4
4
  "description": "React dashboard components + hooks for validation-os, consuming the DataProvider seam.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -22,7 +22,7 @@
22
22
  "access": "public"
23
23
  },
24
24
  "dependencies": {
25
- "@validation-os/core": "0.7.1"
25
+ "@validation-os/core": "0.9.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=18",