@validation-os/dashboard 0.9.0 → 0.11.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 +148 -8
- package/dist/index.js +443 -94
- package/dist/index.js.map +1 -1
- package/dist/styles.css +135 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -2602,3 +2602,138 @@ textarea.vos-input {
|
|
|
2602
2602
|
.vos-reading-chips .vos-chip {
|
|
2603
2603
|
font-size: 11px;
|
|
2604
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.11.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.11.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=18",
|