@validation-os/dashboard 0.15.0 → 0.15.1
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.js +1234 -1096
- package/dist/index.js.map +1 -1
- package/dist/styles.css +28 -0
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -3049,3 +3049,31 @@ button.vos-verdict-title {
|
|
|
3049
3049
|
/* Unstarted bars section */
|
|
3050
3050
|
.vos-unstarted { border-style: dashed; }
|
|
3051
3051
|
.vos-unstarted-bar { padding: 8px; margin-bottom: 4px; background: var(--vos-surface-2); border-radius: 6px; border: 1px dashed var(--vos-border); }
|
|
3052
|
+
|
|
3053
|
+
/* ── DEV-5879 fixes: donut gauge, experiment rows, collapsible readings ── */
|
|
3054
|
+
|
|
3055
|
+
/* Confidence donut gauge (SVG ring) */
|
|
3056
|
+
.vos-donut { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
|
|
3057
|
+
.vos-donut-num { position: absolute; font-weight: 700; color: var(--vos-text); }
|
|
3058
|
+
|
|
3059
|
+
/* Experiment list — bigger rows with donut gauge */
|
|
3060
|
+
.vos-exp-list { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
|
|
3061
|
+
.vos-exp-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--vos-surface-2); border: 1px solid var(--vos-border); border-radius: 10px; cursor: pointer; text-align: left; width: 100%; color: var(--vos-text); font: inherit; transition: border-color 0.15s; }
|
|
3062
|
+
.vos-exp-row:hover { border-color: var(--vos-accent); }
|
|
3063
|
+
.vos-exp-row-body { flex: 1; min-width: 0; }
|
|
3064
|
+
.vos-exp-row-title { font-size: 14px; font-weight: 500; color: var(--vos-text); margin-bottom: 4px; }
|
|
3065
|
+
.vos-exp-row-meta { font-size: 11px; color: var(--vos-muted); }
|
|
3066
|
+
|
|
3067
|
+
/* Collapsible reading card (progressive disclosure) */
|
|
3068
|
+
.vos-reading-collapse { border: 1px solid var(--vos-border); border-radius: 8px; margin-bottom: 8px; background: var(--vos-surface-2); overflow: hidden; }
|
|
3069
|
+
.vos-reading-collapse > summary { display: flex; gap: 12px; align-items: baseline; padding: 12px 14px; cursor: pointer; list-style: none; user-select: none; }
|
|
3070
|
+
.vos-reading-collapse > summary::-webkit-details-marker { display: none; }
|
|
3071
|
+
.vos-reading-collapse > summary::before { content: "▸"; color: var(--vos-muted); font-size: 10px; transition: transform 0.15s; }
|
|
3072
|
+
.vos-reading-collapse[open] > summary::before { transform: rotate(90deg); }
|
|
3073
|
+
.vos-reading-collapse > summary:hover { background: var(--vos-surface); }
|
|
3074
|
+
.vos-reading-card-summary { display: flex; gap: 12px; align-items: baseline; width: 100%; }
|
|
3075
|
+
.vos-reading-beliefs-count { font-size: 10px; color: var(--vos-muted); margin-left: auto; }
|
|
3076
|
+
.vos-reading-card-body { padding: 0 14px 12px; }
|
|
3077
|
+
|
|
3078
|
+
/* Evidence composition — fix the value display (signed contributions) */
|
|
3079
|
+
.vos-comp-val { width: 70px; }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@validation-os/dashboard",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
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.15.
|
|
25
|
+
"@validation-os/core": "0.15.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=18",
|