-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Release] 0.1.0 #82
Draft
Sanlorng
wants to merge
143
commits into
master
Choose a base branch
from
dev
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
[Release] 0.1.0 #82
Conversation
This file contains 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
Collaborator
Sanlorng
commented
Nov 15, 2024
•
edited
Loading
edited
- Fix merge conflicts
- Fix color usage
- Slider Refactor
[fluent] [Break Change] rename `training` to `trailing`.
[gallery] UI Improve.
[fluent] Add `Geometry` to FluentTheme
[fluent] `Elevation` support
[fluent] Update `Acrylic` default style.
[fluent] Add `Expander` and `ExpanderItem`.
[fluent] Add `PillButton` and `LiteFilter`.
[fluent] Add `SegmentedControl` and `SegmentedButton`.
…Nav, BreadcrumbBar, CommandBar, etc.
This commit introduces the `NavigationView` component, a navigation control that provides a hierarchical menu for navigating an application. It supports different display modes, including Top, Left, LeftCompact, and LeftCollapsed, and provides customization options for title, back button, expanded button, auto-suggest box, footer items, and content padding. The `NavigationView` manages navigation state, including expanded state and indicator offset, and provides default color schemes for navigation items. This commit also includes the implementation of navigation menu items, separators, and indicator components for visual feedback during navigation.
This commit introduces system colors for Fluent UI components. These colors are used for attention, success, caution, critical, and neutral states. The colors are generated based on the dark mode setting and provide both solid and background variants.
Components Based on OverflowRow
[fluent] feat: Implement system colors
This commit fixes the indicator offset calculation in `NavigationView`, updates the offset calculation logic to correctly handle different scenarios, ensuring the indicator is properly placed during transitions.
This commit adjusts the window insets padding applied to the `NavigationView` component in the Gallery app to ensure the correct padding is used in different navigation display modes, including the collapsed state. It removes the conditional application of window insets padding based on the navigation display mode, instead applying the padding consistently, using the `windowInsetsPadding` modifier with `windowInset` and `collapseWindowInset` for padding specific to collapsed mode. The padding applied to the content in the collapsed mode is updated to fixed padding of 48dp to the top using `PaddingValues`. This ensures the content is properly positioned and avoids overlap with system UI elements in the collapsed navigation display.
…Item This commit allows customizing the `interactionSource` for `NavigationMenuItem` in `NavigationView`. This enables developers to control the visual feedback of the menu item based on user interactions, such as hover, press, and focus. The `interactionSource` property is now available for both the `menuItem` function in `NavigationMenuScope` and the `MenuItem` composable function in `NavigationMenuItemScope`.
This commit updates the Haze dependency version to 1.0.2.
This commit fixes an issue where the `TabView` content could exceed its bounds, potentially causing layout issues. The fix involves wrapping the content with `wrapContentWidth(Alignment.Start)`, ensuring that the content is constrained within the available width and aligned to the start. This prevents overflow and maintains the intended layout.
This commit refactors the Slider component to improve its layout and interaction behavior. The layout is improved by removing unnecessary BoxWithConstraints and using layout modifiers to handle size and positioning of the rail, track, and thumb components. This makes the layout more efficient and predictable. The interaction is enhanced by immediately changing the slider value upon press, providing a more responsive user experience. Additionally, the commit simplifies the calculation of thumb offset by using Float instead of Dp, and ensures the tick marks are properly displayed within the slider's bounds.
[fluent] Refactor Slider component
Add context menu key modifiers mapping for macOS.
[gallery] chore(deps): Update Haze to 1.0.2
[fluent] Fix: Prevent TabView from exceeding its bounds
Navigation improve
This commit adds a selected color scheme for NavigationItem in NavigationView. It updates the default color schemes for NavigationItem based on the display mode and selection state, applying appropriate colors for selected and unselected items in both Top and Side navigation modes.
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.