@validation-os/dashboard 0.16.2 → 0.16.3
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 +63 -9
- package/dist/index.js +188 -18
- package/dist/index.js.map +1 -1
- package/dist/styles.css +65 -4
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -3375,11 +3375,12 @@ button.vos-verdict-title {
|
|
|
3375
3375
|
.vos-stage-grid-stagename { font-size: 15px !important; }
|
|
3376
3376
|
.vos-stage-grid-stagegloss { font-size: 11px !important; line-height: 1.4 !important; }
|
|
3377
3377
|
.vos-stage-grid-corner { font-weight: 600; }
|
|
3378
|
+
/* Heat scale = Risk intensity (red = high risk) */
|
|
3378
3379
|
.vos-heat-0 { background: var(--vos-surface); opacity: 0.45; color: var(--vos-muted); border-style: dashed; }
|
|
3379
|
-
.vos-heat-1 { background: color-mix(in srgb, var(--vos-
|
|
3380
|
-
.vos-heat-2 { background: color-mix(in srgb, var(--vos-
|
|
3381
|
-
.vos-heat-3 { background: color-mix(in srgb, var(--vos-
|
|
3382
|
-
.vos-heat-4 { background: color-mix(in srgb, var(--vos-
|
|
3380
|
+
.vos-heat-1 { background: color-mix(in srgb, var(--vos-crit) 16%, var(--vos-surface)); }
|
|
3381
|
+
.vos-heat-2 { background: color-mix(in srgb, var(--vos-crit) 30%, var(--vos-surface)); }
|
|
3382
|
+
.vos-heat-3 { background: color-mix(in srgb, var(--vos-crit) 44%, var(--vos-surface)); }
|
|
3383
|
+
.vos-heat-4 { background: color-mix(in srgb, var(--vos-crit) 58%, var(--vos-surface)); }
|
|
3383
3384
|
|
|
3384
3385
|
/* Glossary popover: parent cards no longer clip overflow, so the absolute
|
|
3385
3386
|
* popover can show. High z-index in case it overlaps other stacked cards. */
|
|
@@ -3388,6 +3389,66 @@ button.vos-verdict-title {
|
|
|
3388
3389
|
/* Topbar: hide the backend + agent indicators (clean header) */
|
|
3389
3390
|
.vos-backend, .vos-hint:has(.vos-live-dot) { display: none !important; }
|
|
3390
3391
|
|
|
3392
|
+
/* ── DEV-5890: Question Type filter tabs + heat legend ─────────────────── */
|
|
3393
|
+
.vos-qt-filter-bar {
|
|
3394
|
+
display: flex;
|
|
3395
|
+
gap: 4px;
|
|
3396
|
+
padding: 8px 12px;
|
|
3397
|
+
border-bottom: 1px solid var(--vos-border);
|
|
3398
|
+
flex-wrap: wrap;
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3401
|
+
.vos-qt-tab {
|
|
3402
|
+
font-size: 10px;
|
|
3403
|
+
font-weight: 500;
|
|
3404
|
+
padding: 3px 10px;
|
|
3405
|
+
border: 1px solid var(--vos-border);
|
|
3406
|
+
border-radius: 12px;
|
|
3407
|
+
background: transparent;
|
|
3408
|
+
color: var(--vos-muted);
|
|
3409
|
+
cursor: pointer;
|
|
3410
|
+
transition: all 0.15s ease-out;
|
|
3411
|
+
}
|
|
3412
|
+
|
|
3413
|
+
.vos-qt-tab:hover {
|
|
3414
|
+
border-color: var(--vos-border-strong);
|
|
3415
|
+
color: var(--vos-text);
|
|
3416
|
+
}
|
|
3417
|
+
|
|
3418
|
+
.vos-qt-tab-active {
|
|
3419
|
+
background: var(--vos-accent);
|
|
3420
|
+
border-color: var(--vos-accent);
|
|
3421
|
+
color: #fff;
|
|
3422
|
+
}
|
|
3423
|
+
|
|
3424
|
+
.vos-heat-legend {
|
|
3425
|
+
display: flex;
|
|
3426
|
+
align-items: center;
|
|
3427
|
+
gap: 4px;
|
|
3428
|
+
padding: 6px 12px;
|
|
3429
|
+
font-size: 9px;
|
|
3430
|
+
color: var(--vos-muted);
|
|
3431
|
+
}
|
|
3432
|
+
|
|
3433
|
+
.vos-heat-legend-label {
|
|
3434
|
+
margin-right: 4px;
|
|
3435
|
+
font-weight: 600;
|
|
3436
|
+
}
|
|
3437
|
+
|
|
3438
|
+
.vos-heat-swatch {
|
|
3439
|
+
display: inline-block;
|
|
3440
|
+
width: 14px;
|
|
3441
|
+
height: 10px;
|
|
3442
|
+
border-radius: 2px;
|
|
3443
|
+
border: 1px solid var(--vos-border);
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
.vos-heat-swatch.vos-heat-0 { background: var(--vos-surface-2); }
|
|
3447
|
+
.vos-heat-swatch.vos-heat-1 { background: rgba(214, 69, 80, 0.15); }
|
|
3448
|
+
.vos-heat-swatch.vos-heat-2 { background: rgba(214, 69, 80, 0.35); }
|
|
3449
|
+
.vos-heat-swatch.vos-heat-3 { background: rgba(214, 69, 80, 0.6); }
|
|
3450
|
+
.vos-heat-swatch.vos-heat-4 { background: rgba(214, 69, 80, 0.85); }
|
|
3451
|
+
|
|
3391
3452
|
/* ── DEV-5890: Question Type + stage threshold tags ────────────────────── */
|
|
3392
3453
|
.vos-pipe-tag {
|
|
3393
3454
|
font-size: 9px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@validation-os/dashboard",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
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.16.
|
|
25
|
+
"@validation-os/core": "0.16.3"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=18",
|