Commit graph

9 commits

Author SHA1 Message Date
Richard R
432ace778c refactor(ui): improve segmented control accessibility and update danger color tokens
Update SegmentedControl to support full keyboard navigation and focus management,
enhancing accessibility. Replace string indicator in Select with icon, and update
button danger variant to use new --danger-strong variable for hover states. Add
danger-strong token to Tailwind config and globals. Refine dropzone disabled
behavior, adjust focus ring for better contrast, and apply minor UI consistency
tweaks across components.
2026-06-01 15:20:28 -06:00
Richard R
35dc5ae053 chore(ui): remove unused export of segmented control classes from select component
Eliminate unnecessary export statements for segmentedButtonClass and
segmentedGroupClass in the select component to streamline the module's
public API and reduce potential confusion.
2026-06-01 14:21:01 -06:00
Richard R
4086f80066 refactor(ui): consolidate button, menu, popover, and range primitives for unified usage
Remove legacy UI harness and dev/demo files. Replace scattered button, menu, popover, and range input utilities with shared, composable primitives: Button, ButtonLink, ButtonAnchor, MenuActionItem, MenuItemsSurface, PopoverSurface, PopoverTrigger, and RangeInput. Update all usages across app, admin, player, and document components to use these new primitives, eliminating duplicated class logic and improving consistency. Remove obsolete utility files and class exports. This change streamlines UI code, centralizes styling, and reduces maintenance overhead.
2026-06-01 13:40:47 -06:00
Richard R
5d0d3d313d feat(ui): introduce shared Listbox components for unified select and dropdown styling
Replace direct usage of Headless UI Listbox primitives with new SharedListboxButton,
SharedListboxOption, and SharedListboxOptions components across AudiobookExportModal,
FinderToolbar, VoicesControlBase, and select UI. Refactor related imports and classNames
to centralize dropdown styling and logic. Simplify UserMenu button markup for improved
consistency.

This change consolidates dropdown/select UI patterns, reduces duplication, and
improves maintainability by providing a single source of truth for Listbox styling
and behavior.
2026-06-01 12:31:00 -06:00
Richard R
4f1d8feda5 Refactor UI components to use consistent button and icon styles across the application 2026-06-01 11:33:25 -06:00
Richard R
9b424f0c9f Remove legacy UI shim imports 2026-06-01 05:42:52 -06:00
Richard R
9038562971 Converge sidebar and reader controls 2026-06-01 05:08:06 -06:00
Richard R
5eef2eac37 phase 10: add ui system harness 2026-06-01 04:33:53 -06:00
Richard R
c56c3fa902 phase 5: split ui primitives into modules 2026-05-31 22:02:28 -06:00