Skip to content
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

Open
wants to merge 211 commits into
base: master
Choose a base branch
from
Open

[Release] 0.1.0 #82

wants to merge 211 commits into from

Conversation

Sanlorng
Copy link
Collaborator

@Sanlorng Sanlorng commented Nov 15, 2024

Tasks

  • Fix merge conflicts
  • Fix color usage
  • Slider Refactor

Changelog

Build

  1. More kotlin target support (WASM, JS, iOS), thanks @terrakok ! (Added WASM, JS and iOS support #74 )

Breakinng Change

  1. typo fixed: rename training to trailing ([fluent] [Break Change] rename training to trailing. #62 )
  2. Rename AcrylicContainer to MaterialContainer

Design System

  1. Fluent Design System Elevation support ([fluent] Elevation support #64 )
  2. Material Layer support (Sync master target #77 )
  3. Shell System Color support. ([fluent] feat: Implement system colors #81 )
  4. Update Color System values ([Color] Update Color System & Add Design Guide/ Color #84 )

New Components

  1. FluentTheme.shapes and FluentTheme.cornerRadius ([fluent] Add Geometry to FluentTheme #56 )
  2. Expander, ExpanderItem, ExpanderItemSeparator and CardExpanderItem ([fluent] Add Expander and ExpanderItem. #58 )
  3. PillButton and LiteFilter ([fluent] Add PillButton and LiteFilter. #59 )
  4. SegmentedControl ([fluent] Add SegmentedControl and SegmentedButton. #60 )
  5. AutoSuggestionBox ([fluent] Update TextField API. #61 )
  6. TabRow and TabViewItem ([fluent] Add TabView. #66 )
  7. BreadcrumBar, CommandBar, CommandBarFlyout, TopNav and NavigationView (Components Based on OverflowRow #72 )
  8. MenuBar and OverflowMenuBar ([fluent] feat: Implement MenuBar component #100 )
  9. InfoBar and Badge ([fluent] feat: Add InfoBar and Badge component #97 )
  10. SelectorBar ([fluent] Add SelectorBar component #99 )
  11. TooltipBox ([fluent] Add TooltipBox and FlyoutAnchorScope #90 )
  12. GridViewItem, FlipView and PipsPager. ([fluent] feat: Implement GridViewItem ,FlipView and PipsPager component #98 )
  13. FontIconPrimitives ([fluent] refactor: Migrate to new FontIcon #86 )

Refactor

  1. Slider ([fluent] Refactor Slider component #83 , Seperate slider to Slider and BasicSlider #101 )

Bug fixes

  1. [fluent] Fixed Dialog can't gain focus. #70
  2. Add context menu key modifiers mapping for macOS. #91

Gallery

  1. Support Windows mica effects and navigate back.([gallery] UI Improve. #57 )
  2. Add missing components page. ([gallery] Add missing component pages. #92 , [Color] Update Color System & Add Design Guide/ Color #84 )

Sanlorng and others added 30 commits May 31, 2024 11:59
[fluent] [Break Change] rename `training` to `trailing`.
[fluent] Add `Geometry` to FluentTheme
[fluent] Update `Acrylic` default style.
[fluent] Add `Expander` and `ExpanderItem`.
[fluent] Add `PillButton` and `LiteFilter`.
[fluent] Add `SegmentedControl` and `SegmentedButton`.
Sanlorng and others added 20 commits December 29, 2024 22:59
This commit introduces the `MenuBar` component, a horizontal menu bar typically used at the top of a window or application to provide access to various commands and options.

It supports `MenuBarItem`s that can open `MenuFlyout`s. Also adds `OverflowMenuBar` component that will automatically handle overflow items by moving them to a separate popup.

The `MenuBar` and `OverflowMenuBar` manage their menu items and popups state, and provides default color schemes for menu items.
[fluent] feat: Implement MenuBar component
This commit reduces the default mouse padding in `TooltipBox` from 24dp to 16dp.
[fluent] feat: Add InfoBar and Badge component
[fluent] Add `SelectorBar` component
[Color] Update Color System & Add Design Guide/ Color
…nents

# Conflicts:
#	fluent/src/commonMain/kotlin/com/konyaco/fluent/component/NavigationView.kt
#	fluent/src/commonMain/kotlin/com/konyaco/fluent/component/SideNav.kt
#	fluent/src/commonMain/kotlin/com/konyaco/fluent/component/TopNav.kt
#	gallery/src/commonMain/kotlin/com/konyaco/fluent/gallery/component/CopyButton.kt
[fluent] Add `TooltipBox` and `FlyoutAnchorScope`
…imitives

# Conflicts:
#	fluent/src/commonMain/kotlin/com/konyaco/fluent/component/NavigationView.kt
#	fluent/src/commonMain/kotlin/com/konyaco/fluent/component/SideNav.kt
#	fluent/src/commonMain/kotlin/com/konyaco/fluent/component/TopNav.kt
#	gallery/src/commonMain/kotlin/com/konyaco/fluent/gallery/component/CopyButton.kt
[fluent] Fix: Use primitive FontIcon in MenuBar

This commit updates the `OverflowMenuBar` to use the primitive `FontIcon` instead
``````
 of a vector icon, specifically for the overflow indicator. This change improves consistency in the usage of `FontIcon` across components.
```
This commit refactors the `TopNav` component to improve its layout and behavior.

The layout of the `TopNav` component is improved by modifying the position of MenuFlyout, move it into the Box.

The behavior is improved by adding `flyoutAnchor` to the `HorizontalIndicatorContentLayout`.
# Conflicts:
#	build-plugin/src/main/java/com/konyaco/fluent/plugin/build/BuildExtension.kt
#	fluent/src/androidMain/kotlin/com/konyaco/fluent/component/CalendarView.android.kt
#	fluent/src/commonMain/kotlin/com/konyaco/fluent/component/CalendarView.kt
#	fluent/src/commonMain/kotlin/com/konyaco/fluent/component/MenuFlyout.kt
#	fluent/src/jsMain/kotlin/com/konyaco/fluent/component/CalendarView.js.kt
#	fluent/src/wasmJsMain/kotlin/com/konyaco/fluent/component/CalendarView.wasmJs.kt
#	gallery/src/commonMain/kotlin/com/konyaco/fluent/gallery/App.kt
#	gallery/src/commonMain/kotlin/com/konyaco/fluent/gallery/screen/settings/SettingsScreen.kt
#	gallery/src/desktopMain/kotlin/com/konyaco/fluent/gallery/Main.kt
#	gallery/src/iosMain/kotlin/main.kt
#	gradle/libs.versions.toml
This commit removes several platform-specific files that were either unused or contained redundant code.

The following files have been removed:

-   `CalendarView.ios.kt`
-   `DefaultFontFamily.ios.kt`
-   `DefaultFontFamily.js.kt`
-   `DefaultFontFamily.wasmJs.kt`
-   `Dialog.ios.kt`
-   `Dialog.js.kt`
-   `Dialog.wasmJs.kt`
-   `FontIcon.ios.kt`
-   `FontIcon.js.kt`
-   `FontIcon.wasmJs.kt`
-   `PlatformCompositionLocalProvider.ios.kt`
-   `PlatformCompositionLocalProvider.js.kt`
-   `PlatformCompositionLocalProvider.wasmJs.kt`
-   `PlatformScrollBar.ios.kt`
-   `PlatformScrollBar.js.kt`
-   `PlatformScrollBar.wasmJs.kt`
-   `Popup.ios.kt`
-   `Popup.js.kt`
-   `Popup.wasmJs.kt`

These files were not contributing to the core functionality of the application and their removal simplifies the project structure.
This commit updates the README.md file to mark the Menu Bar component as implemented (simple version).
This commit refactors the `CopyButton` component and adds an `InfoBar` sample to the `ColorScreen`.

-   **CopyButton:**
    -   Wrapped the `TooltipBox` and `Button` with `Box` to improve layout.
-   **ColorScreen:**
    - Replaced custom `critical` alert layout with `InfoBar` in system colors samples.
@Sanlorng Sanlorng marked this pull request as ready for review February 7, 2025 10:25
Konyaco and others added 9 commits February 8, 2025 21:36
[fluent] feat: Implement GridViewItem ,FlipView and PipsPager component
[fluent] refactor: Migrate to new `FontIcon`
This commit refactors the page buttons within the `FlipView` and `PipsPager` components for improved consistency and maintainability.

The key changes include:

-   Replace custom glyphs and vector icons with `FontIconSolid8` component for the caret buttons.
-   Remove unnecessary parameters like `glyph` and `vector` from the `PageButton` composable.
-   Simplify the `PageButton` logic by using `FontIconPrimitive`.
-   Use consistent styles for page button icons across `FlipView` and `PipsPager`.
This commit adds content to the header item in the `SideNav` component. Specifically, it adds the text "Click to search" to the header item.
Seperate slider to `Slider` and `BasicSlider`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants