From 63577703fe59f03e98a039fec8be56c2fc32826b Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 12 Jul 2026 22:15:12 -0500 Subject: refactor(gallery): extract meters R01, R07-R09, R13, R17 into GW builders The VU ballistics chase stays page-side and drives mcVu.set(t); the R17 trace animation is widget-owned so it moves into the builder with its reduced-motion gate. The R17 face gradient keeps instance-local defs because its stops read screen-family vars from the widget subtree; probe-fams selectors follow the retired rcrt ids to the card handle. --- tests/gallery-probes/probe-fams.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/gallery-probes/probe-fams.mjs b/tests/gallery-probes/probe-fams.mjs index 63f9dc3..35671db 100644 --- a/tests/gallery-probes/probe-fams.mjs +++ b/tests/gallery-probes/probe-fams.mjs @@ -48,8 +48,8 @@ const barFill = await evl(`(()=>{const b=document.querySelectorAll('#card-R19 sv ok('R19 dynamic fills use vars', barFill.startsWith('var(--scr-'), barFill); // R17: face gradient stop resolves to amber face after chip -await evl(`document.querySelector('#rcrt').closest('.card').querySelector('.fc[title="amber"]').click()`); -const face = await evl(`getComputedStyle(document.querySelector('#rcrtFace stop')).stopColor`); +await evl(`document.querySelector('#card-R17 .fc[title="amber"]').click()`); +const face = await evl(`getComputedStyle(document.querySelector('#card-R17 svg radialGradient stop')).stopColor`); ok('R17 amber chip retints face', face === 'rgb(216, 203, 166)', face); ok('no exceptions after chip clicks', events.filter(e => e.method === 'Runtime.exceptionThrown').length === 0); -- cgit v1.2.3