Commit graph

5764 commits

Author SHA1 Message Date
Héctor
fd1cfc05ea
Merge pull request #2811 from iced-rs/palette-tweaks
Tweak `Palette` Generation
2025-02-23 07:10:39 +01:00
Andrew Baldwin
7916a9c227 Nit fixes. 2025-02-21 20:39:59 -08:00
Andrew Baldwin
9cba92f57f Add is_focused function that produces an Operation to get the focused state of a focusable by ID.
Add `is_focused` function that produces a `Task` to get the focused state of a `text_input` by ID.
2025-02-21 18:56:41 -08:00
Héctor Ramón Jiménez
873311558f
Darken background of Dark theme 2025-02-22 02:29:57 +01:00
Héctor Ramón Jiménez
a216a0a04e
Improve readable fallback strategy in palette 2025-02-22 02:20:24 +01:00
Héctor Ramón Jiménez
9b79aa567a
Recreate todos snapshot test 2025-02-22 01:03:04 +01:00
Héctor Ramón Jiménez
412dfe0e60
Tweak colors of Light and Dark themes 2025-02-22 00:58:06 +01:00
Héctor Ramón Jiménez
954f49d4d7
Add weakest and strongest to Background palette
... and tweak background shade generation logic.
2025-02-22 00:34:55 +01:00
Héctor
f1ed99cb47
Merge pull request #2809 from iced-rs/rust-2024
Update to Rust 2024
2025-02-21 19:21:10 +01:00
Héctor Ramón Jiménez
800a73ddd7
Use new async || closure syntax 🎉 2025-02-21 02:01:42 +01:00
Héctor Ramón Jiménez
0f9934b1a7
Leverage new AsyncFn traits in stream module 2025-02-21 01:48:09 +01:00
Héctor Ramón Jiménez
c12beecd38
Remove unnecessary Future imports 2025-02-21 01:41:56 +01:00
Héctor Ramón Jiménez
33a39bc83a
Bump MSRV to 1.85 2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
7ca4e7c5ba
Simplify imports of clock example 2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
91af1c5ed6
Update all examples to Rust 2024 2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
9ceb467e6e
Run cargo fmt 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
28caeccf22
Fix new clippy lints 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
67e489e382
Update to Rust 2024 and fix compiler errors 2025-02-21 01:37:13 +01:00
Héctor Ramón Jiménez
81ca3d2a22
Fix broken links in Pop::delay documentation 2025-02-20 04:03:14 +01:00
Héctor Ramón Jiménez
ffc412d6b7
Implement delay for pop widget 🎉 2025-02-19 07:23:50 +01:00
Héctor Ramón Jiménez
42f6018487
Remove lifetime bound for Text in markdown::paragraph 2025-02-19 07:03:08 +01:00
Héctor Ramón Jiménez
51e44e036a
Add bounds argument to Component::operate 2025-02-18 04:50:08 +01:00
Héctor Ramón Jiménez
e594346544
Fix markdown compilation when highlighter feature is disabled 2025-02-18 04:42:14 +01:00
Héctor
d7563ee94a
Merge pull request #2780 from l4l/forked-wasmtimer
Use working wasmtimer for time::every
2025-02-16 22:40:57 +01:00
Héctor
d6848977bc
Merge pull request #2797 from AMS21/fix_2794
Fix system informations `cpu_brand` always being empty
2025-02-15 14:15:43 +01:00
Héctor Ramón Jiménez
8694eeb5c5
Use SI metrics for memory in system_information example 2025-02-15 14:06:10 +01:00
Héctor Ramón Jiménez
edb5a66c53
Update sysinfo to 0.33 2025-02-15 14:00:36 +01:00
Héctor Ramón Jiménez
7c54bdef10
Fix physical_bounds shadowing in wgpu render 2025-02-14 23:14:13 +01:00
Héctor Ramón Jiménez
7526d73ad3
Fix Component not diffing when its state is recreated 2025-02-14 19:53:11 +01:00
Héctor Ramón Jiménez
ba996f4b01
Fix outdated id mention in Subscription docs 2025-02-14 19:52:17 +01:00
Héctor Ramón Jiménez
cc8b326dfc
Fix priority of redraw requests in winit shell 2025-02-14 19:34:11 +01:00
Héctor
a2b36e6551
Merge pull request #2806 from rhysd/cache-preedit-spans
Fix updating spans cache for pre-edit content in window manager
2025-02-14 13:22:25 +01:00
rhysd
3fcc173c8e Fix updating spans cache for pre-edit content in window manager 2025-02-14 19:13:55 +09:00
Héctor
f889008e21
Merge pull request #2793 from rhysd/issue-2792
Fix the initial candidate window position
2025-02-13 05:19:32 +01:00
rhysd
89a4dc2ac2 Clear pre-edit window state when pre-edit content is None 2025-02-13 13:10:07 +09:00
Héctor Ramón Jiménez
88ffba4a3a
Simplify preedit overlay creation 2025-02-13 01:50:27 +01:00
Héctor Ramón Jiménez
f625297475
Fix request_input_method call in text_input 2025-02-12 23:17:48 +01:00
Héctor Ramón Jiménez
7979125ed7
Simplify InputMethod API with only two states
Co-authored-by: rhysd <lin90162@yahoo.co.jp>
Co-authored-by: KENZ <KENZ.gelsoft@gmail.com>
2025-02-12 08:46:35 +01:00
Héctor Ramón Jiménez
97f1db3783
Fix unneeded re-shaping during layout on text_input edit 2025-02-12 08:43:14 +01:00
Héctor
7c1123d6c9
Merge pull request #2790 from rhysd/adjust-preedit-size
Set correct text size for preedit window
2025-02-12 07:36:48 +01:00
Héctor Ramón Jiménez
7199ed0d07
Use default size for empty pre-edits 2025-02-12 07:26:26 +01:00
Héctor
89a412695a
Merge pull request #2805 from iced-rs/feature/sipper-support
`sipper` support and some QoL
2025-02-12 01:51:20 +01:00
Héctor Ramón Jiménez
e78c757cad
Use short version notation for sipper 2025-02-11 23:18:16 +01:00
Héctor Ramón Jiménez
bf205a88b6
Make row module public 2025-02-11 22:59:28 +01:00
Héctor
718d36972d
Merge pull request #2798 from kenz-gelsoft/fix_input_method_scrolling_offset
Fix the preedit text placement on scrolled content
2025-02-11 21:02:34 +01:00
Héctor
c98f60a42d
Merge pull request #2804 from edwloef/unfocus_operation
add unfocus operation
2025-02-11 20:57:04 +01:00
Héctor
d91e426dab
Add missing dot in unfocus operation docs 2025-02-11 20:48:00 +01:00
Héctor Ramón Jiménez
6f48671042
Fix broken link in Function documentation 2025-02-11 20:28:19 +01:00
Héctor Ramón Jiménez
7d99e4d07e
Use Function trait in Element::map example 2025-02-11 20:25:48 +01:00
edwloef
b80c23fd94
add unfocus operation 2025-02-11 15:47:08 +01:00