diff --git a/docs/4-implementation/web-ui/shape.md b/docs/4-implementation/web-ui/shape.md index fae54b26f..9e764c59a 100644 --- a/docs/4-implementation/web-ui/shape.md +++ b/docs/4-implementation/web-ui/shape.md @@ -19,7 +19,7 @@ from `@hive/shared` (was `hive-fr0nt`); the dashboard ships `colors.css` + `theme.css` + `common.css` + `dashboard.css`; `common.css` inlines `@hive/shared`'s - `base.css` + `terminal.css` + `tabs.css` + + `base.css` + `terminal.css` + `pill.css` via esbuild's `@import` resolution. Terminal rows come from `@hive/shared`'s Preact `Row`, `linkify` and `markdown` modules (see "Shared terminal pane" below). diff --git a/frontend/packages/dashboard/src/common.css b/frontend/packages/dashboard/src/common.css index 071999b70..1957064d0 100644 --- a/frontend/packages/dashboard/src/common.css +++ b/frontend/packages/dashboard/src/common.css @@ -3,7 +3,6 @@ @import "@hive/shared/base.css"; @import "@hive/shared/button.css"; @import "@hive/shared/terminal.css"; -@import "@hive/shared/tabs.css"; /* Shared pill/chip/badge shape (the "extract pill component" issue, resolved as shared CSS rather than a JS component) — see pill.css itself for the classnames it covers. */ diff --git a/frontend/packages/dashboard/src/dashboard.css b/frontend/packages/dashboard/src/dashboard.css index 229f642e0..36c79d5e3 100644 --- a/frontend/packages/dashboard/src/dashboard.css +++ b/frontend/packages/dashboard/src/dashboard.css @@ -2,9 +2,6 @@ it defines the CSS custom properties, typography, and shared component rules that this file depends on. */ -/* SYST3M panel rules (rebuild queue / kept state) - live in system-sections.css. */ -@import "./system-sections.css"; @import "@hive/shared/jobq-rollup.css"; @import "@hive/shared/jobq-graph.css"; @import "@hive/shared/user-menu.css"; diff --git a/frontend/packages/dashboard/src/system-sections.css b/frontend/packages/dashboard/src/system-sections.css deleted file mode 100644 index 8437b6b6e..000000000 --- a/frontend/packages/dashboard/src/system-sections.css +++ /dev/null @@ -1,33 +0,0 @@ -/* ─── SYST3M/BU1LDS section panels — used by the dashboard ─── - Rebuild queue and kept-state panels. - Imported by dashboard.css. */ - -/* ─── rebuild queue panel ──────────────────────────────────────────────── */ -.rebuild-queue { - list-style: none; - padding: 0; - margin: 0; - display: grid; - gap: 0.2em; -} -.rebuild-queue-entry { - padding: 0.3em 0.6em; - border: 1px solid var(--border); - background: color-mix(in srgb, var(--bg-elev) 60%, transparent); - font-size: 0.9em; - display: flex; - flex-wrap: wrap; - align-items: baseline; - gap: 0.4em; -} -.rqe-kind { - color: var(--cyan); -} -.rqe-agent { - color: var(--amber); - font-weight: bold; -} - -/* Remove the now-dead `.rqe-step` rule (the `step` sub-step label was - retired from the wire in `feat(job_queue): retire the now-off-wire step - sub-step label` — the rule has had no JS referents since then). */ diff --git a/frontend/packages/shared/package.json b/frontend/packages/shared/package.json index 5f15047bf..2156b803e 100644 --- a/frontend/packages/shared/package.json +++ b/frontend/packages/shared/package.json @@ -16,8 +16,6 @@ "./term-row.js": "./src/terminal/Row.tsx", "./term-linkify.js": "./src/terminal/linkify.tsx", "./term-markdown.js": "./src/terminal/markdown.ts", - "./tabs.js": "./src/tabs/tabs.js", - "./tabs.css": "./src/tabs/tabs.css", "./colors.css": "./src/colors.css", "./theme.css": "./src/theme.css", "./base.css": "./src/base.css", @@ -33,7 +31,6 @@ "./shadow-css.js": "./src/shadow-css.js", "./hive-menu.js": "./src/hive-menu/hive-menu.js", "./hive-warn.js": "./src/hive-warn/hive-warn.js", - "./side-panel.js": "./src/side-panel/hive-side-panel.js", "./jobq-graph.js": "./src/jobq-graph/JobqGraph.tsx", "./jobq-graph.css": "./src/jobq-graph/jobq-graph.css", "./jobq-rollup.js": "./src/jobq-rollup/JobqRollup.tsx", diff --git a/frontend/packages/shared/src/side-panel/hive-side-panel.css b/frontend/packages/shared/src/side-panel/hive-side-panel.css deleted file mode 100644 index 22bd93161..000000000 --- a/frontend/packages/shared/src/side-panel/hive-side-panel.css +++ /dev/null @@ -1,122 +0,0 @@ -/* hive-side-panel.css — scoped stylesheet for the generic - shadow-DOM custom element (hive-side-panel.js). Loaded as raw text at - build time (esbuild's `text` loader) and appended as a