@validation-os/dashboard 0.8.0 → 0.10.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/index.d.ts +193 -11
- package/dist/index.js +1156 -572
- package/dist/index.js.map +1 -1
- package/dist/styles.css +255 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -2482,3 +2482,258 @@ textarea.vos-input {
|
|
|
2482
2482
|
.vos-jny-cold .vos-jny-card-eyebrow {
|
|
2483
2483
|
color: var(--vos-accent-text);
|
|
2484
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
|
+
}
|
|
2605
|
+
|
|
2606
|
+
/* ── Lens × Stage heatmap surface (docs/stage-policy.md) ─────────────────── */
|
|
2607
|
+
.vos-stage-grid-host {
|
|
2608
|
+
display: flex;
|
|
2609
|
+
flex-direction: column;
|
|
2610
|
+
gap: 16px;
|
|
2611
|
+
}
|
|
2612
|
+
.vos-stage-grid-total {
|
|
2613
|
+
align-self: center;
|
|
2614
|
+
}
|
|
2615
|
+
.vos-stage-grid-card {
|
|
2616
|
+
padding: 16px 18px;
|
|
2617
|
+
}
|
|
2618
|
+
.vos-stage-grid-scroll {
|
|
2619
|
+
overflow-x: auto;
|
|
2620
|
+
}
|
|
2621
|
+
.vos-stage-grid {
|
|
2622
|
+
width: 100%;
|
|
2623
|
+
border-collapse: separate;
|
|
2624
|
+
border-spacing: 0;
|
|
2625
|
+
font-size: 13px;
|
|
2626
|
+
}
|
|
2627
|
+
.vos-stage-grid th,
|
|
2628
|
+
.vos-stage-grid td {
|
|
2629
|
+
border-bottom: 1px solid var(--vos-border);
|
|
2630
|
+
border-right: 1px solid var(--vos-border);
|
|
2631
|
+
padding: 0;
|
|
2632
|
+
vertical-align: middle;
|
|
2633
|
+
}
|
|
2634
|
+
.vos-stage-grid th:last-child,
|
|
2635
|
+
.vos-stage-grid td:last-child {
|
|
2636
|
+
border-right: none;
|
|
2637
|
+
}
|
|
2638
|
+
.vos-stage-grid-corner {
|
|
2639
|
+
text-align: left;
|
|
2640
|
+
font-size: 11px;
|
|
2641
|
+
letter-spacing: 0.06em;
|
|
2642
|
+
text-transform: uppercase;
|
|
2643
|
+
color: var(--vos-muted);
|
|
2644
|
+
padding: 10px 12px;
|
|
2645
|
+
position: sticky;
|
|
2646
|
+
left: 0;
|
|
2647
|
+
background: var(--vos-surface);
|
|
2648
|
+
z-index: 1;
|
|
2649
|
+
}
|
|
2650
|
+
.vos-stage-grid-col {
|
|
2651
|
+
text-align: center;
|
|
2652
|
+
padding: 10px 12px;
|
|
2653
|
+
min-width: 120px;
|
|
2654
|
+
vertical-align: bottom;
|
|
2655
|
+
}
|
|
2656
|
+
.vos-stage-grid-stagename {
|
|
2657
|
+
display: block;
|
|
2658
|
+
font-size: 13px;
|
|
2659
|
+
font-weight: 600;
|
|
2660
|
+
color: var(--vos-text);
|
|
2661
|
+
}
|
|
2662
|
+
.vos-stage-grid-stagegloss {
|
|
2663
|
+
display: block;
|
|
2664
|
+
font-size: 11px;
|
|
2665
|
+
color: var(--vos-muted);
|
|
2666
|
+
margin-top: 2px;
|
|
2667
|
+
line-height: 1.3;
|
|
2668
|
+
}
|
|
2669
|
+
.vos-stage-grid-rowhead {
|
|
2670
|
+
text-align: left;
|
|
2671
|
+
font-size: 13px;
|
|
2672
|
+
font-weight: 600;
|
|
2673
|
+
color: var(--vos-text);
|
|
2674
|
+
padding: 10px 12px;
|
|
2675
|
+
position: sticky;
|
|
2676
|
+
left: 0;
|
|
2677
|
+
background: var(--vos-surface);
|
|
2678
|
+
z-index: 1;
|
|
2679
|
+
}
|
|
2680
|
+
.vos-stage-grid-cell {
|
|
2681
|
+
text-align: center;
|
|
2682
|
+
background: var(--vos-surface);
|
|
2683
|
+
/* The heatmap fill — opacity set per-cell via --vos-cell-alpha. */
|
|
2684
|
+
background: color-mix(
|
|
2685
|
+
in srgb,
|
|
2686
|
+
var(--vos-accent) calc(var(--vos-cell-alpha, 0) * 100%),
|
|
2687
|
+
var(--vos-surface)
|
|
2688
|
+
);
|
|
2689
|
+
}
|
|
2690
|
+
.vos-stage-grid-cell-empty {
|
|
2691
|
+
background: var(--vos-surface-2);
|
|
2692
|
+
}
|
|
2693
|
+
.vos-stage-grid-btn {
|
|
2694
|
+
width: 100%;
|
|
2695
|
+
height: 100%;
|
|
2696
|
+
min-height: 56px;
|
|
2697
|
+
background: transparent;
|
|
2698
|
+
border: none;
|
|
2699
|
+
padding: 10px 12px;
|
|
2700
|
+
cursor: pointer;
|
|
2701
|
+
font: inherit;
|
|
2702
|
+
color: var(--vos-text);
|
|
2703
|
+
border-radius: 0;
|
|
2704
|
+
}
|
|
2705
|
+
.vos-stage-grid-btn:hover {
|
|
2706
|
+
background: color-mix(in srgb, var(--vos-accent) 14%, transparent);
|
|
2707
|
+
}
|
|
2708
|
+
.vos-stage-grid-btn:focus-visible {
|
|
2709
|
+
outline: 2px solid var(--vos-accent);
|
|
2710
|
+
outline-offset: -2px;
|
|
2711
|
+
}
|
|
2712
|
+
.vos-stage-grid-count {
|
|
2713
|
+
font-size: 18px;
|
|
2714
|
+
font-weight: 600;
|
|
2715
|
+
font-variant-numeric: tabular-nums;
|
|
2716
|
+
}
|
|
2717
|
+
.vos-stage-grid-cell-empty .vos-stage-grid-count {
|
|
2718
|
+
color: var(--vos-faint);
|
|
2719
|
+
font-weight: 400;
|
|
2720
|
+
}
|
|
2721
|
+
.vos-stage-grid-foot {
|
|
2722
|
+
margin: 12px 2px 0;
|
|
2723
|
+
font-size: 12px;
|
|
2724
|
+
line-height: 1.5;
|
|
2725
|
+
color: var(--vos-muted);
|
|
2726
|
+
max-width: 80ch;
|
|
2727
|
+
}
|
|
2728
|
+
.vos-stage-grid-drawer-body {
|
|
2729
|
+
padding: 0 16px 16px;
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
/* Cold-start card for the grid (no beliefs yet). */
|
|
2733
|
+
.vos-cold-stage-grid {
|
|
2734
|
+
display: flex;
|
|
2735
|
+
flex-direction: column;
|
|
2736
|
+
align-items: flex-start;
|
|
2737
|
+
gap: 10px;
|
|
2738
|
+
padding: 20px 22px;
|
|
2739
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@validation-os/dashboard",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.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.
|
|
25
|
+
"@validation-os/core": "0.10.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=18",
|