feat(controls): render the action and toggle buttons with UiButton

The Authoring panel's and shot list's buttons, the CCTV panel's buttons and
Street Level's nearest button are the kit's UiButton, keeping their classes:
danger buttons take the alert tone and primary ones the primary variant. The
CCTV on/off, coverage, auto-hop, projection and adjust toggles, which showed
their state only by colour, now carry aria-pressed too.
This commit is contained in:
Sameh Khamis committed 2026-11-01 08:39:49 -08:00
1 parent cd231faae9
commit fc53682129
6 files changed
+46 -30

No files matched your search

+6
View File
@@ -8,6 +8,12 @@
the bottom tab bar. The rail is the first view built with Vue and Pinia,
which now ship with the app; see docs/VUE-MIGRATION.md (samehkhamis).
- The Authoring, shot list and CCTV buttons and Street Level's nearest button
are the kit's `UiButton` (danger buttons in the `alert` tone, primary ones the `primary`
variant), keeping their classes; the CCTV on/off, coverage, auto-hop,
projection and adjust toggles now say their state with `aria-pressed`
(samehkhamis).
- The Data, Authoring, Weather, Recent Imagery, Context, CCTV, Street Level
and Radio panels are one component, `UiPanel` (`src/ui/kit/`), with the
same markup plus the kit's `ui-panel` classes, their titles translated by