feat(remix): add toggle group#75
Merged
Merged
Conversation
…oup-v1 # Conflicts: # docs/components/toggle_group.mdx # packages/remix/lib/src/components/toggle_group/fortal_toggle_group_styles.dart # packages/remix/lib/src/components/toggle_group/toggle_group.dart # packages/remix/lib/src/components/toggle_group/toggle_group_style.dart # packages/remix/lib/src/components/toggle_group/toggle_group_widget.dart # packages/remix/test/components/toggle_group/toggle_group_style_test.dart # packages/remix/test/components/toggle_group/toggle_group_widget_test.dart # packages/remix/test/helpers/test_methods.dart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RemixToggleGroup<T>component backed byNakedToggleGroup<T>Why
Remix had standalone toggles but no single-select segmented-control component. Toggle Group provides one Tab stop, focus-only arrow navigation, explicit Space/Enter activation, orientation-aware movement, Home/End, disabled-item skipping, optional looping, and RTL-aware horizontal navigation.
Dependency note
The publishable dependency remains
naked_ui: ^1.0.0-beta.3. A temporary dependency override tracksnaked_uimain atd414875, where the roving-focus Toggle Group was merged in naked_ui PR #68. The override can return to a hosted version after the next naked_ui release.Verification
fvm dart run melos run ci --no-selectgit diff --check origin/main...HEAD