Skip to content

1.9.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 16:44
· 28 commits to master since this release
73eeac4

Fixed

  • A keyboard or TV remote focus on MSSettingsNavRow, and on a tappable MSSettingsRow, now draws a ring, so a remote user can see which settings row is focused; a host colours it through the new MagicStarterNavigationTheme.settingsRowFocusClassName. Neither recipe had a focus: class, so a focused row looked exactly like the others; a host app's Apple TV QA walk could not find focus anywhere in Settings. The default is focus:ring-2 focus:ring-inset in primary-500 (primary-400 dark): inset because MSSettingsSection clips its rows, which would cut an outside ring at the card edges, and an inset ring also takes no wind_kit focus lift. It is a theme field rather than a recipe constant because a host whose focus colour is not its primary (one that keeps the gold for selection, as a switch's on state) has no other way to restyle a starter row. A row without onTap gets no focus classes, because a focus: class alone makes a WDiv a focus stop. lib/src/configuration/magic_starter_theme.dart, lib/src/magic_starter_manager.dart, lib/src/ui/components/settings_nav_row/settings_nav_row.dart, lib/src/ui/components/settings_nav_row/settings_nav_row.recipe.dart, lib/src/ui/components/settings_row/settings_row.dart, test/ui/components/settings_nav_row/settings_nav_row_test.dart, test/ui/components/settings_row/settings_row_test.dart, test/configuration/magic_starter_theme_test.dart, doc/basics/components.md, doc/basics/views-and-layouts.md (#313)