Release v0.2 of Freya 🦀
Go check the blog post!
What's Changed
- feat: Sidebar example by @marc2332 in #237
- feat: Material Design example by @marc2332 in #275
- feat: Set cursor to default on unmount in
CursorArea
by @marc2332 in #294 - feat: Tic Tac Toe example by @marc2332 in #295
- feat: Torin benchmarks by @marc2332 in #277
- feat: Clean and refactor some internals by @marc2332 in #296
- fix: Manually request redraw after resize on macOS by @kobutri in #301
- fix: Filter invalid children in
DioxusDOMAdapter::children_of
by @marc2332 in #303 - feat: Cache nodes validations by @marc2332 in #305
- feat: Make the viewports inheritance a bit faster by @marc2332 in #307
- docs: Arch Linux setup instructions by @piny4man in #308
- fix: Use main branch as base for ci benchmarks by @marc2332 in #311
- feat: Use FxHashSet for dirty nodes in Torin by @marc2332 in #310
- feat: New torin benchmark for invalidations in the middle of the tree by @marc2332 in #315
- fix: Properly pass children ids in torin benchmarks by @marc2332 in #316
- fix(docs): Update Torin's link in differences with Dioxus by @tigerros in #309
- feat: Pass the initial value of use_animation in a callback by @marc2332 in #312
- feat: ProgressBar component by @marc2332 in #300
- feat: General cleanup of freya's components by @marc2332 in #313
- feat: Skia-safe v0.66.3 by @marc2332 in #319
- feat: Improved measuring of cached layout by @marc2332 in #314
- feat: Avoid extra animations overhead by @marc2332 in #321
- chore: Disable web dioxus features by @marc2332 in #323
- feat: Password mode for
Input
component by @OlshaMB in #325 - Configure Renovate by @renovate in #334
- chore(deps): update actions/checkout action to v4 by @renovate in #336
- fix(deps): update dependency @astrojs/react to v3 by @renovate in #340
- fix(deps): update dependency astro to v3 by @renovate in #342
- fix(deps): update dependency @astrojs/deno to v5 by @renovate in #339
- fix(deps): update dependency @fontsource/inter to v5 by @renovate in #341
- fix(deps): update rust crate open to v5 by @renovate in #343
- feat: Add support to customize text color inside progress bar component by @marc2332 in #338
- feat: min_width + min_height and max_width + max_height window modifiers by @marc2332 in #331
- feat: Add hover and active effects for the scrollbar thumbs by @marc2332 in #333
- feat: Table component by @marc2332 in #298
- feat: New torin benchmark by @marc2332 in #318
- feat: Event Loop ticker for components by @marc2332 in #345
- fix(deps): update all non-major dependencies by @renovate in #335
- fix: Update cursor position after updating text by @katyo in #349
- feat: Enhanced layout alignments by @marc2332 in #330
- feat:
set_cursor
shortcut by @marc2332 in #359 - chore: Rename 'align' attribute to 'text_align' by @marc2332 in #332
- fix: mouseenter wasn't being emitted when mouseover was emitted at the same time by @marc2332 in #360
- feat: Improve and optimize elements clipping by @marc2332 in #353
- fix: Proper event loop ticker for testing runner by @marc2332 in #364
- feat: Improve
Input
component by @marc2332 in #354 - feat: New
fill
mode for width and height by @marc2332 in #362 - feat: Devtools fixes and improvements by @marc2332 in #366
- feat: Hyper minor rendering optimization by @marc2332 in #368
- feat: Show the Hand cursor when hovering the
Button
,Slider
andSwitch
components by @marc2332 in #373 - chore: Organize torin tests by @marc2332 in #369
- feat:
Table
enhancements by @marc2332 in #365 - chore: Merge
layout
crate intocore
crate by @marc2332 in #375 - feat: Support Window icons by @marc2332 in #374
- feat: Absolute positioning by @marc2332 in #370
- fix: Slow down
Slider
wheel scroll by @marc2332 in #378 - feat:
ExternalLink
andTooltip
enhancements by @marc2332 in #377 - chore(deps): update actions/checkout action to v4 by @renovate in #379
- feat: Improve design and UX of
Accordion
by @marc2332 in #382 - feat:
Body
component by @marc2332 in #385 - feat: Reorder events based on their priority by @marc2332 in #380
- feat: Improve design and UX of
Dropdown
by @marc2332 in #381 - chore: Add missing doc comments in
Table
component by @marc2332 in #386 - feat: Skip viewports of paragraph text spans by @marc2332 in #391
- fix: Fix Tic Tac Toe example by @marc2332 in #405
- chore(deps): update actions/checkout action to v4 by @renovate in #401
- feat: Window builder hook by @marc2332 in #396
- feat: Add a Demo for Torin by @marc2332 in #400
- feat: Skip text spans when traversing the DOM by @marc2332 in #403
- feat: Support floats for colors alpha by @marc2332 in #398
- Fix wording in book by @tigerros in #406
- Fix window icons which don't have a 32 bit depth by @tigerros in #410
- book: Add always up-to-date component reference by @tigerros in #413
- book: Add imports to hot reload chapter by @tigerros in #415
- chore(deps): bump vite from 4.4.11 to 4.5.1 in /website by @dependabot in #419
- fix(deps): update dependency astro to v4 by @renovate in #417
- feat: Opacity attribute by @marc2332 in #397
- Mention the fact that the book uses some APIs from the git version by @tigerros in #408
- feat: Plugins system by @marc2332 in #395
- feat: Dioxus 0.4.3 by @marc2332 in #420
- feat: Performance Overlay Plugin by @marc2332 in #394
- book: Fix mistake in theming chapter by @tigerros in #426
- feat: Versioned docs by @marc2332 in #429
- feat: Per-component themes by @tigerros in #425
- Fix error in password example by @tigerros in #432
- Fix typo in
rect
prop by @tigerros in #433 - Versioned docs: better warnings + fix some typos by @tigerros in #431
- feat: Installer example with cargo-packager by @marc2332 in #390
- fix: Touch start and end events were not triggering pointer events by @marc2332 in #430
- feat: New viewport size unit by @marc2332 in #421
- Add example and doc tests to workflow by @tigerros in #434
- Create publishing chapter by @tigerros in #407
- Fix English in the main crate docs by @tigerros in #435
- bench: Update torin benchmarks by @marc2332 in #441
- Improve
OrderDirection
docs by @tigerros in #444 - chore: Clean up
freya-testing
by @marc2332 in #445 - chore:
ScrollBar
offset props must be component props not part of a theme by @marc2332 in #442 - feat: Turn
TextEvent
from an enum into flags by @marc2332 in #443 - perf: Slightly faster layout measurement in torin by @marc2332 in #439
- fix: Abandon context if not current when closing the app by @marc2332 in #355
- Fix a couple Clippy warnings by @tigerros in #448
- docs: Book enhancements and FAQ by @marc2332 in #449
- chore: Clean up internal code by @marc2332 in #455
- feat: Text Editor improvements by @marc2332 in #453
- fix: Prevent cursor to jump to the next line when there are no more lines, in
TextEditor
by @marc2332 in #460 - fix(deps): update dependency react-icons to v5 by @renovate in #462
- feat: Slider improvements by @marc2332 in #456
- Remove required trailing comma in
theme_with
macro by @tigerros in #466 - docs: Improve docs and fix errors in doctests by @tigerros in #452
- feat: Improved focus integration by @marc2332 in #436
- chore: Update winit and accesskit by @marc2332 in #458
- chore: Remove unnecessary mask flags on some node states by @marc2332 in #481
- chore: Move Accessibility node state by @marc2332 in #475
- chore: Simplify accessibility integration by @marc2332 in #484
- feat: Partial IME Support by @marc2332 in #459
- feat: Support individual vertical gaps but shared horizontal gaps by @marc2332 in #476
- Remove outdated info from theming docs by @tigerros in #467
- chore(deps): update codecov/codecov-action action to v4 by @renovate in #488
- feat: Dioxus 0.5 support by @marc2332 in #346
- feat: Proper event bubbling by @marc2332 in #268
- feat: Memoized Focused Node by @marc2332 in #470
- feat: Clipboard integration in
use_editable
by @marc2332 in #388 - feat: Reduce deps by @marc2332 in #483
- fix: Incorrect behavior of use_animation_transition by @marc2332 in #496
- fix: Emit
mouseleave
when cursor leaves the window by @marc2332 in #497 - feat: Prevent unrequested redraw by @marc2332 in #498
- fix: Properly emit keyboard events by @marc2332 in #499
- chore: Simplify freya-renderer crate by @marc2332 in #492
- chore: Fix link of freya_elements docs in nightly docs by @marc2332 in #495
- feat: Derive Copy for freya-hooks by @marc2332 in #500
- feat: Undo & redo integration for
use_editable
by @marc2332 in #472 - feat:
Input
improvements by @marc2332 in #480 - feat: Improved node reference listener by @marc2332 in #487
- feat: Simplify text measuring and rendering by @marc2332 in #486
- feat: Support reading platform information in
use_platform
by @marc2332 in #392 - feat:
VirtualScrollView
simplification by @marc2332 in #478 - feat:
static_bytes_to_data
by @marc2332 in #505 - feat: Revamp of
use_animation
by @marc2332 in #503 - feat: Skia-safe v0.70 by @marc2332 in #418
- feat: Reduce size of Torin Nodes by @marc2332 in #502
- feat: Mutable FontCollection on use_canvas by @marc2332 in #515
- fix: Order colateral events by their layer by @marc2332 in #509
- feat: Bump Dioxus and clean up dependencies by @marc2332 in #514
- refactor: Simplify events naming internally by @marc2332 in #511
- feat: Testing improvements by @marc2332 in #512
- feat: Add
Link
component back by @tigerros in #411 - feat:
Sidebar
component by @tigerros in #513 - chore: Fix spelling mistakes by @shuai132 in #528
- feat:
Popup
component by @marc2332 in #372 - feat:
SnackBar
component by @marc2332 in #508 - feat: Support querying nodes by a matching text in
freya-testing
by @marc2332 in #524 - feat:
content
attribute by @marc2332 in #518 - feat: Torin benchmarks improvements by @marc2332 in #522
- feat:
Menu
component by @marc2332 in #517 - feat: Faster measurement when using alignments by @marc2332 in #521
- feat: Add
Radio
andTile
components by @marc2332 in #525 - feat: Cache
SkParagraph
between frames by @marc2332 in #532 - feat: Improved
Loader
component and newreverse
andauto_start
modifiers foruse_animation
by @marc2332 in #529 - feat:
Checkbox
component by @marc2332 in #531 - fix: Fix nested inner sized alignments by @marc2332 in #538
- feat: Bump Dioxus and fork native-core and native-core-macro by @marc2332 in #535
- feat: Simplify and adapt
native core
by @marc2332 in #537 - fix: Use fixed or available size for text measuring by @marc2332 in #539
- feat: Cache SkParagraphs layout for text labels as long these don't change by @marc2332 in #540
- Revert "feat: Cache SkParagraphs layout for text labels as long these don't change" by @marc2332 in #545
- dix: Docs typos by @marc2332 in #548
- feat: Incremental viewport creation by @marc2332 in #542
- feat: Incremental layer ordering by @marc2332 in #546
- feat: Custom default fonts by @marc2332 in #547
- feat: Skia-safe v0.72 by @marc2332 in #549
- feat: Simplified
use_animation
by @marc2332 in #551 - fix: Remove unnecessary node id assert in layout state by @marc2332 in #543
- feat: File drop support by @marc2332 in #530
- feat:
onrightclick
,onmiddleclick
andonglobalpointerup
events by @marc2332 in #526 - feat: Stop/reverse/restart on animation finish by @marc2332 in #553
- fix: Attribute name parsing by @marc2332 in #555
- fix: Measure layout from text-owned elements by @marc2332 in #556
- feat: Optional
VirtualScrollView
caching by @marc2332 in #557 - fix: Skip placeholder elements in layers by @marc2332 in #558
- fix: Horizontal scrolling with keyboard by @marc2332 in #561
- fix: Remove paragraph elements by @marc2332 in #562
- chore: Merge dom and core crates by @marc2332 in #563
- fix: Proper state equality checks by @marc2332 in #564
- feat: Allow overriding the scrollbar theme from ScrollView by @marc2332 in #565
- fix: Adjust root offsets for incremental measurements by @marc2332 in #567
- fix: Bring back node id layout check by @marc2332 in #568
- feat: Performance improvements by @marc2332 in #569
- chore: Bump dx by @marc2332 in #544
- feat: Add
use_asset_cacher
by @marc2332 in #533 - feat:
use_form
hook by @marc2332 in #479 - chore: Rename native-core crates by @marc2332 in #571
- chore(deps): update peaceiris/actions-mdbook action to v2 by @renovate in #574
- fix(deps): update all non-major dependencies by @renovate in #350
- Improve component docs by @tigerros in #573
- chore(deps): update all non-major dependencies by @renovate in #576
- chore: Clean up docs and imports by @marc2332 in #577
- Support-Hex-colors by @Taym95 in #579
- fix: Mark text as changed on text cut by @marc2332 in #580
- chore: Relax
TextEditor
bounds by @marc2332 in #583 - feat: Version counter for changes in EditorHistory by @marc2332 in #585
- feat: Controlled keyboard navigation by @marc2332 in #587
- feat: Ignore invalid nodes by @marc2332 in #589
- feat: Make
use_node_signal
return aReadOnlySignal
by @marc2332 in #591 - feat: Website enhancements by @marc2332 in #376
- feat: Revamped book by @marc2332 in #570
- chore: Bump crates by @marc2332 in #493
New Contributors
- @kobutri made their first contribution in #301
- @piny4man made their first contribution in #308
- @tigerros made their first contribution in #309
- @OlshaMB made their first contribution in #325
- @renovate made their first contribution in #334
- @katyo made their first contribution in #349
- @shuai132 made their first contribution in #528
- @Taym95 made their first contribution in #579
Full Changelog: 0.1.8...0.2.0