-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb4917d
commit 3012bd0
Showing
29 changed files
with
834 additions
and
66 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [0.3.0](https://github.com/marc2332/freya/compare/freya-common-v0.2.1...freya-common-v0.3.0) - 2024-10-24 | ||
|
||
### Added | ||
|
||
- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) | ||
- Optional uncontrolled accessibility IDs ([#867](https://github.com/marc2332/freya/pull/867)) | ||
- Incremental Accessibility Tree ([#853](https://github.com/marc2332/freya/pull/853)) | ||
- `PluginHandle` ([#793](https://github.com/marc2332/freya/pull/793)) | ||
- `winit` v0.30.0 + `glutin-winit` v0.5.0 + `accesskit` v0.14.0 + `accesskit_winit` v0.20.0 ([#598](https://github.com/marc2332/freya/pull/598)) | ||
- Queued focus ([#650](https://github.com/marc2332/freya/pull/650)) | ||
- Revamp internal text selection ([#647](https://github.com/marc2332/freya/pull/647)) | ||
- `WithWindow` event ([#626](https://github.com/marc2332/freya/pull/626)) | ||
- Close app with `use_platform` ([#613](https://github.com/marc2332/freya/pull/613)) | ||
- Add window drag area ([#597](https://github.com/marc2332/freya/pull/597)) | ||
|
||
### Fixed | ||
|
||
- Skip updated but also removed accessibility nodes ([#964](https://github.com/marc2332/freya/pull/964)) | ||
|
||
### Other | ||
|
||
- Resolve conflicts | ||
- Simplify the `VirtualDOM` polling ([#729](https://github.com/marc2332/freya/pull/729)) | ||
- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) | ||
- release-plz.toml | ||
- Only release crates under /crates | ||
- Rust 1.78 ([#600](https://github.com/marc2332/freya/pull/600)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
[package] | ||
name = "freya-common" | ||
description = "Internal common utilities for Freya." | ||
version = "0.2.1" | ||
edition = "2021" | ||
license = "MIT" | ||
authors = ["Marc Espín <[email protected]>"] | ||
readme = "../../readme.md" | ||
homepage = "https://freyaui.dev/" | ||
repository = "https://github.com/marc2332/freya" | ||
keywords = ["gui", "ui", "desktop", "skia", "dioxus"] | ||
categories = ["gui", "asynchronous"] | ||
|
||
[package.metadata.docs.rs] | ||
features = ["freya-engine/mocked-engine"] | ||
|
||
[features] | ||
skia-engine = ["freya-engine/skia-engine"] | ||
|
||
[dependencies] | ||
torin = { workspace = true } | ||
|
||
dioxus-core = { workspace = true } | ||
|
||
accesskit = { workspace = true } | ||
winit = { workspace = true } | ||
freya-engine = { workspace = true } | ||
freya-native-core = { workspace = true } | ||
rustc-hash= { workspace = true } | ||
|
||
itertools = "0.13.0" | ||
uuid = { workspace = true } | ||
|
||
|
||
[dev-dependencies] | ||
dioxus = { workspace = true } | ||
freya = { path = "../freya" } | ||
freya-testing = { path = "../testing" } | ||
tokio = { workspace = true } | ||
[package] | ||
name = "freya-common" | ||
description = "Internal common utilities for Freya." | ||
version = "0.3.0" | ||
edition = "2021" | ||
license = "MIT" | ||
authors = ["Marc Espín <[email protected]>"] | ||
readme = "../../readme.md" | ||
homepage = "https://freyaui.dev/" | ||
repository = "https://github.com/marc2332/freya" | ||
keywords = ["gui", "ui", "desktop", "skia", "dioxus"] | ||
categories = ["gui", "asynchronous"] | ||
|
||
[package.metadata.docs.rs] | ||
features = ["freya-engine/mocked-engine"] | ||
|
||
[features] | ||
skia-engine = ["freya-engine/skia-engine"] | ||
|
||
[dependencies] | ||
torin = { workspace = true } | ||
|
||
dioxus-core = { workspace = true } | ||
|
||
accesskit = { workspace = true } | ||
winit = { workspace = true } | ||
freya-engine = { workspace = true } | ||
freya-native-core = { workspace = true } | ||
rustc-hash= { workspace = true } | ||
|
||
itertools = "0.13.0" | ||
uuid = { workspace = true } | ||
|
||
|
||
[dev-dependencies] | ||
dioxus = { workspace = true } | ||
freya = { path = "../freya" } | ||
freya-testing = { path = "../testing" } | ||
tokio = { workspace = true } |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [0.3.0](https://github.com/marc2332/freya/compare/freya-components-v0.2.1...freya-components-v0.3.0) - 2024-10-24 | ||
|
||
### Added | ||
|
||
- `on_deps_change` method for animations ([#977](https://github.com/marc2332/freya/pull/977)) | ||
- `text_height` attribute to control the height behavior of text ([#976](https://github.com/marc2332/freya/pull/976)) | ||
- Horizontal scroll for `Input` ([#949](https://github.com/marc2332/freya/pull/949)) | ||
- Button variants ([#952](https://github.com/marc2332/freya/pull/952)) | ||
- add attributes for most AccessKit properties ([#882](https://github.com/marc2332/freya/pull/882)) | ||
- Add x and y getters for the scroll controller | ||
- multiple borders ([#889](https://github.com/marc2332/freya/pull/889)) | ||
- Keyboard navigation for `Checkbox` ([#926](https://github.com/marc2332/freya/pull/926)) | ||
- Unified colors theming ([#914](https://github.com/marc2332/freya/pull/914)) | ||
- Ajust the custom layers of some built-in-components ([#928](https://github.com/marc2332/freya/pull/928)) | ||
- Move sliders with keyboard ([#917](https://github.com/marc2332/freya/pull/917)) | ||
- Vertical `direction` for `Slider` ([#910](https://github.com/marc2332/freya/pull/910)) | ||
- `import_image` ([#899](https://github.com/marc2332/freya/pull/899)) | ||
- `TooltipContainer` ([#900](https://github.com/marc2332/freya/pull/900)) | ||
- Small improvements in `SnackBar` | ||
- Only focus focusable nodes ([#884](https://github.com/marc2332/freya/pull/884)) | ||
- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) | ||
- Focus-based keyboard events ([#877](https://github.com/marc2332/freya/pull/877)) | ||
- Optional `onclick` event handle for `Tab` | ||
- `invert_scroll_wheel` for `ScrollView` and `VirtualScrollView` | ||
- Rename a11y attributes ([#869](https://github.com/marc2332/freya/pull/869)) | ||
- Optionally hide original drag zone children while dragging ([#871](https://github.com/marc2332/freya/pull/871)) | ||
- Rename `mouseover` to `mousemove` ([#865](https://github.com/marc2332/freya/pull/865)) | ||
- Ergonomic improvements in ScrollView ([#858](https://github.com/marc2332/freya/pull/858)) | ||
- Testing events utils ([#864](https://github.com/marc2332/freya/pull/864)) | ||
- Improved nodes events states ([#859](https://github.com/marc2332/freya/pull/859)) | ||
- Refreshed theme colors ([#856](https://github.com/marc2332/freya/pull/856)) | ||
- Nicer Switch ([#848](https://github.com/marc2332/freya/pull/848)) | ||
- Optional size for import_svg | ||
- Support extra routes in `ActivableRoute` | ||
- website example ([#839](https://github.com/marc2332/freya/pull/839)) | ||
- `spacing` attribute ([#834](https://github.com/marc2332/freya/pull/834)) | ||
- `PluginHandle` ([#793](https://github.com/marc2332/freya/pull/793)) | ||
- Dropdown layout improvements and new width theme option | ||
- Support percentage of auto in layout ([#784](https://github.com/marc2332/freya/pull/784)) | ||
- `import_svg` macro ([#790](https://github.com/marc2332/freya/pull/790)) | ||
- Scroll controller ([#772](https://github.com/marc2332/freya/pull/772)) | ||
- Move `shadow` of `Input` to `InputTheme` ([#781](https://github.com/marc2332/freya/pull/781)) | ||
- Panic when an attribute has a wrongly-formatted value, but only in debug builds to easily spot bugs ([#759](https://github.com/marc2332/freya/pull/759)) | ||
- Change the wheels scroll based on the direction ([#751](https://github.com/marc2332/freya/pull/751)) | ||
- `BottomTab` component ([#747](https://github.com/marc2332/freya/pull/747)) | ||
- Animated router transitions ([#745](https://github.com/marc2332/freya/pull/745)) | ||
- Improve layout of `Button` component | ||
- Render one more item in VirtualScrollView for smooth scrolling ([#723](https://github.com/marc2332/freya/pull/723)) | ||
- Use System fonts ([#661](https://github.com/marc2332/freya/pull/661)) | ||
- Signal-based reactivity for `use_canvas` ([#693](https://github.com/marc2332/freya/pull/693)) | ||
- Expose scale factor ([#607](https://github.com/marc2332/freya/pull/607)) | ||
- Tree builder utilities for components ([#681](https://github.com/marc2332/freya/pull/681)) | ||
- Tab and Tabsbar components ([#673](https://github.com/marc2332/freya/pull/673)) | ||
- Support nested routes in `ActivableRoute` ([#675](https://github.com/marc2332/freya/pull/675)) | ||
- Add backward compatibility for onclick event handler in Button | ||
- `onpress` event for `Button` ([#601](https://github.com/marc2332/freya/pull/601)) | ||
- `use_preferred_theme` ([#631](https://github.com/marc2332/freya/pull/631)) | ||
- Text dragging with shift and cursor ([#642](https://github.com/marc2332/freya/pull/642)) | ||
- Improved special text editing support ([#622](https://github.com/marc2332/freya/pull/622)) | ||
- `WithWindow` event ([#626](https://github.com/marc2332/freya/pull/626)) | ||
- `placeholder` for Input ([#616](https://github.com/marc2332/freya/pull/616)) | ||
- Animated `VirtualScrollView` ([#604](https://github.com/marc2332/freya/pull/604)) | ||
- Add window drag area ([#597](https://github.com/marc2332/freya/pull/597)) | ||
- Close popup with esc key ([#594](https://github.com/marc2332/freya/pull/594)) | ||
|
||
### Fixed | ||
|
||
- Round ScrollView size ([#972](https://github.com/marc2332/freya/pull/972)) | ||
- Update checkbox tests | ||
- Use the real text height for layout ([#932](https://github.com/marc2332/freya/pull/932)) | ||
- Clamp progress bar progress ([#927](https://github.com/marc2332/freya/pull/927)) | ||
- Various fixes when editing utf16-encoded text ([#901](https://github.com/marc2332/freya/pull/901)) | ||
- Use collateral event to check if event is allowed ([#890](https://github.com/marc2332/freya/pull/890)) | ||
- Proper support for keyboard navigation for Radio ([#880](https://github.com/marc2332/freya/pull/880)) | ||
- Small devtool fixes | ||
- Better input click handling | ||
- Force the dropdown items vertically ([#827](https://github.com/marc2332/freya/pull/827)) | ||
- Consider corner radius for events and overflow clipping ([#768](https://github.com/marc2332/freya/pull/768)) | ||
- *(deps)* update all non-major dependencies ([#578](https://github.com/marc2332/freya/pull/578)) | ||
- Small fixes for Tabs | ||
- Proper accessibility reactivity ([#648](https://github.com/marc2332/freya/pull/648)) | ||
- `WindowDragArea` component hanging on non-left click. ([#625](https://github.com/marc2332/freya/pull/625)) | ||
|
||
### Other | ||
|
||
- Replace dioxus-sdk with dioxus-clipboard ([#973](https://github.com/marc2332/freya/pull/973)) | ||
- Add missing 0.2 docs ([#916](https://github.com/marc2332/freya/pull/916)) | ||
- Clean up readme `Tile` | ||
- Remove unnecessary border wrappers of Radio and Checkbox ([#955](https://github.com/marc2332/freya/pull/955)) | ||
- Fix dropdown test | ||
- Fix snackbar tests | ||
- Clean up log | ||
- Fix drag and drop tests | ||
- Update drag_drop.rs example | ||
- Fix cargo clippy | ||
- Add opengl_rtt example. ([#813](https://github.com/marc2332/freya/pull/813)) | ||
- Increase Sidebar width | ||
- Clean up Tabs components | ||
- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) | ||
- Run clippy in tests and examples | ||
- release-plz.toml | ||
- Only release crates under /crates | ||
- Rust 1.78 ([#600](https://github.com/marc2332/freya/pull/600)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "freya-components" | ||
description = "Components library desgined for Freya." | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
edition = "2021" | ||
license = "MIT" | ||
authors = ["Marc Espín <[email protected]>"] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [0.3.0](https://github.com/marc2332/freya/compare/freya-core-v0.2.1...freya-core-v0.3.0) - 2024-10-24 | ||
|
||
### Added | ||
|
||
- Allow passing state context in freya-testing ([#981](https://github.com/marc2332/freya/pull/981)) | ||
- `text_height` attribute to control the height behavior of text ([#976](https://github.com/marc2332/freya/pull/976)) | ||
- Parent children based accessibility relations ([#958](https://github.com/marc2332/freya/pull/958)) | ||
- add attributes for most AccessKit properties ([#882](https://github.com/marc2332/freya/pull/882)) | ||
- multiple borders ([#889](https://github.com/marc2332/freya/pull/889)) | ||
- per-side border widths ([#836](https://github.com/marc2332/freya/pull/836)) | ||
- Deterministic order of rendering ([#923](https://github.com/marc2332/freya/pull/923)) | ||
- `TooltipContainer` ([#900](https://github.com/marc2332/freya/pull/900)) | ||
- Rename `pointerover` event to `pointermove` ([#897](https://github.com/marc2332/freya/pull/897)) | ||
- Only focus focusable nodes ([#884](https://github.com/marc2332/freya/pull/884)) | ||
- `a11y_auto_focus` ([#878](https://github.com/marc2332/freya/pull/878)) | ||
- Focus-based keyboard events ([#877](https://github.com/marc2332/freya/pull/877)) | ||
- Rename a11y attributes ([#869](https://github.com/marc2332/freya/pull/869)) | ||
- Optional uncontrolled accessibility IDs ([#867](https://github.com/marc2332/freya/pull/867)) | ||
- Rename `mouseover` to `mousemove` ([#865](https://github.com/marc2332/freya/pull/865)) | ||
- infer accesskit properties from node state ([#855](https://github.com/marc2332/freya/pull/855)) | ||
- Testing events utils ([#864](https://github.com/marc2332/freya/pull/864)) | ||
- Improved nodes events states ([#859](https://github.com/marc2332/freya/pull/859)) | ||
- Incremental Accessibility Tree ([#853](https://github.com/marc2332/freya/pull/853)) | ||
- `spacing` attribute ([#834](https://github.com/marc2332/freya/pull/834)) | ||
- `PluginHandle` ([#793](https://github.com/marc2332/freya/pull/793)) | ||
- Ignore unnecessary dioxus vdom mutations ([#821](https://github.com/marc2332/freya/pull/821)) | ||
- Avoid copying images when rendering ([#808](https://github.com/marc2332/freya/pull/808)) | ||
- Add missing gradient functions ([#776](https://github.com/marc2332/freya/pull/776)) | ||
- Support `space-between`/`space-around`/`space-evenly` alignments ([#758](https://github.com/marc2332/freya/pull/758)) | ||
- Use System fonts ([#661](https://github.com/marc2332/freya/pull/661)) | ||
- `highlight_mode` attribute ([#704](https://github.com/marc2332/freya/pull/704)) | ||
- Built-in vertical alignment for text ([#701](https://github.com/marc2332/freya/pull/701)) | ||
- Expose scale factor ([#607](https://github.com/marc2332/freya/pull/607)) | ||
- Reactive scale factor ([#606](https://github.com/marc2332/freya/pull/606)) | ||
- `winit` v0.30.0 + `glutin-winit` v0.5.0 + `accesskit` v0.14.0 + `accesskit_winit` v0.20.0 ([#598](https://github.com/marc2332/freya/pull/598)) | ||
- Revamp internal text selection ([#647](https://github.com/marc2332/freya/pull/647)) | ||
- Reactive Window data ([#637](https://github.com/marc2332/freya/pull/637)) | ||
- Reactive Platform data ([#635](https://github.com/marc2332/freya/pull/635)) | ||
- `use_preferred_theme` ([#631](https://github.com/marc2332/freya/pull/631)) | ||
|
||
### Fixed | ||
|
||
- Traverse layout-mutated children with no drawing area in compositor ([#971](https://github.com/marc2332/freya/pull/971)) | ||
- Skip updated but also removed accessibility nodes ([#964](https://github.com/marc2332/freya/pull/964)) | ||
- Use text_overflow value for paragraph's ellipsis | ||
- Update the incremental removal of accessible nodes ([#942](https://github.com/marc2332/freya/pull/942)) | ||
- Check the default text align for expanded texts | ||
- Use the real text height for layout ([#932](https://github.com/marc2332/freya/pull/932)) | ||
- Layout references not triggering ([#934](https://github.com/marc2332/freya/pull/934)) | ||
- Filter enter events properly, regression of [#895](https://github.com/marc2332/freya/pull/895) ([#896](https://github.com/marc2332/freya/pull/896)) | ||
- Use collateral event to check if event is allowed ([#890](https://github.com/marc2332/freya/pull/890)) | ||
- Proper incremental redraws for elements with outer or center borders ([#879](https://github.com/marc2332/freya/pull/879)) | ||
- Proper full render when selecting nodes in devtools | ||
- Do a fullrerender when a devtools node is selected | ||
- Show missing attributes in devtools ([#801](https://github.com/marc2332/freya/pull/801)) | ||
- Prevent opacity from clipping the node bounds ([#764](https://github.com/marc2332/freya/pull/764)) | ||
- Consider corner radius for events and overflow clipping ([#768](https://github.com/marc2332/freya/pull/768)) | ||
- Fix `unfocus` of accesibility nodes ([#755](https://github.com/marc2332/freya/pull/755)) | ||
- Skip DOM Nodes loaded in the same mutations run ([#744](https://github.com/marc2332/freya/pull/744)) | ||
- Invalidate layout of modified text nodes | ||
- *(deps)* update all non-major dependencies ([#578](https://github.com/marc2332/freya/pull/578)) | ||
- Proper accessibility reactivity ([#648](https://github.com/marc2332/freya/pull/648)) | ||
- Fix performance dropping rapidly after selecting a text for some time ([#624](https://github.com/marc2332/freya/pull/624)) | ||
- Out of sync element ids on events ([#609](https://github.com/marc2332/freya/pull/609)) | ||
|
||
### Other | ||
|
||
- Split core render functions ([#937](https://github.com/marc2332/freya/pull/937)) | ||
- Don't expand the label/paragraph width when using text aligns | ||
- Be more generous for rotated dirty areas | ||
- Accessibility logs | ||
- Add opengl_rtt example. ([#813](https://github.com/marc2332/freya/pull/813)) | ||
- *(deps)* update all non-major dependencies ([#749](https://github.com/marc2332/freya/pull/749)) | ||
- Revert part of [#731](https://github.com/marc2332/freya/pull/731) | ||
- Rethink mutations writer ([#731](https://github.com/marc2332/freya/pull/731)) | ||
- Reorganize `freya-renderer` ([#715](https://github.com/marc2332/freya/pull/715)) | ||
- Rename node states to follow an unified naming ([#713](https://github.com/marc2332/freya/pull/713)) | ||
- Move rendering to `freya-core` ([#712](https://github.com/marc2332/freya/pull/712)) | ||
- `rustfmt.toml` ([#689](https://github.com/marc2332/freya/pull/689)) | ||
- Run clippy in tests and examples | ||
- process all queued keyboard events at once ([#629](https://github.com/marc2332/freya/pull/629)) | ||
- release-plz.toml | ||
- Only release crates under /crates |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "freya-core" | ||
description = "Internal core funcionatilies for Freya." | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
edition = "2021" | ||
license = "MIT" | ||
authors = ["Marc Espín <[email protected]>"] | ||
|
Oops, something went wrong.