Feat v0.6.12 css isolation (#47)
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m44s
CI/CD / test-sqlite (push) Successful in 2m47s
CI/CD / build-and-deploy (push) Successful in 1m46s

Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #47.
This commit is contained in:
2026-04-01 11:58:39 +00:00
committed by xcaliber
parent 786bc92768
commit 221ae94f4f
33 changed files with 1385 additions and 1074 deletions

View File

@@ -1,38 +1,38 @@
/* ICD Test Runner — Surface Styles */
#extension-mount {
.ext-icd-test-runner-root {
font-family: var(--font, 'DM Sans', sans-serif);
}
#extension-mount h1 {
.ext-icd-test-runner-root h1 {
font-family: var(--font, 'DM Sans', sans-serif);
letter-spacing: -0.3px;
}
#extension-mount table {
.ext-icd-test-runner-root table {
font-variant-numeric: tabular-nums;
}
#extension-mount table td,
#extension-mount table th {
.ext-icd-test-runner-root table td,
.ext-icd-test-runner-root table th {
border-color: var(--border);
}
#extension-mount table tbody tr:last-child {
.ext-icd-test-runner-root table tbody tr:last-child {
border-bottom: none;
}
#extension-mount table tbody tr:hover {
.ext-icd-test-runner-root table tbody tr:hover {
background: var(--bg-hover) !important;
}
/* Buttons — uses kernel sw-btn system, minor overrides for weight */
#extension-mount .sw-btn {
.ext-icd-test-runner-root .sw-btn {
font-weight: 600;
}
/* Status dot animation for running state */
@keyframes pulse-dot {
@keyframes ext-icd-test-runner-pulse-dot {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}

View File

@@ -24,6 +24,7 @@
var mount = document.getElementById('extension-mount');
if (!mount) return;
mount.classList.add('ext-icd-test-runner-root');
// ─── Boot Preact SDK (v0.37.14) ───────────────────────────
// Extension surfaces don't load Preact vendors or the SDK.

View File

@@ -337,7 +337,7 @@
await T.test('sdk', 'pipe-render', 'Render filter modifies DOM', async function () {
sw.pipe.render(1, function (ctx) {
if (ctx.element.dataset.sdkRenderTest) {
ctx.element.classList.add('sdk-render-modified');
ctx.element.classList.add('ext-icd-test-runner-sdk-render-modified');
}
return ctx;
}, { source: '_test-render-dom' });
@@ -348,7 +348,7 @@
element: el, message: null,
channel: { id: 'fake', type: 'direct' }
});
T.assert(el.classList.contains('sdk-render-modified'), 'element should have class');
T.assert(el.classList.contains('ext-icd-test-runner-sdk-render-modified'), 'element should have class');
});
await T.test('sdk', 'pipe-render', 'Priority ordering in render chain', async function () {