mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
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:
1 parent
cd231faae9
commit
fc53682129
6 files changed
+46
-30
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user