Commit graph

748 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
3f67044977
Merge branch 'master' into beacon 2025-04-05 18:20:31 +02:00
Héctor Ramón Jiménez
53ce0e3a88
Fix lints for Rust 1.86 2025-04-03 16:59:55 +02:00
Héctor Ramón Jiménez
e060129951
Merge branch 'master' into beacon 2025-04-01 02:18:20 +02:00
mtkennerly
65e8fed37d
Allow custom vertical spacing for wrapped rows 2025-03-20 18:38:36 -04:00
Héctor Ramón Jiménez
363b0e903a
Fix markdown code blocks when highlighter is disabled 2025-03-18 00:04:08 +01:00
edwloef
836507eca0
request redraw on mouse area hover change 2025-03-16 17:18:59 +01:00
Héctor Ramón Jiménez
ebfcb65841
Merge branch 'master' into beacon 2025-03-11 22:25:06 +01:00
Héctor Ramón Jiménez
0e4a392731
Introduce text::Alignment with Justified support 2025-03-11 02:30:50 +01:00
Héctor Ramón Jiménez
179a34d37b
Fix horizontal text alignment 2025-03-11 00:43:51 +01:00
Héctor Ramón Jiménez
8bd5de72ea
Merge branch 'master' into beacon 2025-03-04 19:11:37 +01:00
Héctor
34314b3f57
Merge pull request #2812 from andymandias/text_input-is_focused
`operation::focusable::is_focused` & `text_input::is_focused`
2025-02-23 07:34:30 +01: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
954f49d4d7
Add weakest and strongest to Background palette
... and tweak background shade generation logic.
2025-02-22 00:34:55 +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 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
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 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 Ramón Jiménez
65bf503963
Introduce additional color styles for container 2025-02-09 05:59:32 +01:00
KENZ
02cbe3cbb5 Fix scrolling offset of preedit window 2025-02-07 23:26:34 +09:00
Cory Forsstrom
a8b1aef0a4
Request redraw in image viewer update 2025-02-06 13:35:48 -08:00
rhysd
cf851e133a Do not pass text size to Preedit::new 2025-02-06 09:57:01 +09:00
rhysd
fcdf53afde Set correct text size for text in preedit window 2025-02-06 02:01:52 +09:00
Héctor
4bbb5cbc1f
Merge pull request #2786 from iced-rs/customizable-markdown
Customizable Markdown Rendering and Image Support
2025-02-05 02:20:36 +01:00
Héctor Ramón Jiménez
ef25dfb733
Use code_size instead of spacing for code_block metrics 2025-02-05 02:01:41 +01:00
Héctor Ramón Jiménez
c7711e59ab
Add language to Item::CodeBlock in markdown 2025-02-05 01:33:16 +01:00
Héctor Ramón Jiménez
f8c71a20a9
Rename on_link_clicked to on_link_click 2025-02-04 21:22:01 +01:00
Héctor Ramón Jiménez
e8020f3eaf
Add Copy action to code blocks in markdown example 2025-02-04 20:58:06 +01:00
Héctor Ramón Jiménez
387abafa3a
Add alt and title to markdown images 2025-02-04 20:19:25 +01:00
Héctor Ramón Jiménez
a6e64eac6f
Animate image fade in in markdown example 2025-02-04 19:57:51 +01:00
Héctor Ramón Jiménez
24cf355e96
Fix documentation of markdown and rich_text 2025-02-04 19:07:24 +01:00
rhysd
eedaa376b9 Remove the placeholder text when IME is activated in text input 2025-02-05 00:53:16 +09:00
Héctor Ramón Jiménez
5655998761
Draft Viewer trait for markdown 2025-02-04 07:53:56 +01:00
Héctor Ramón Jiménez
c02ae0c4a4
Introduce view_with customizers in markdown module 2025-02-04 03:41:05 +01:00
Héctor Ramón Jiménez
afef368d8a
Take Event by reference in Widget::update 2025-02-04 01:26:59 +01:00
Héctor Ramón Jiménez
bab18858cd
Handle pre-edits and commits only if text_editor is focused 2025-02-03 18:38:20 +01:00
Héctor Ramón Jiménez
50eaef2844
Merge branch 'master' into explore-input-method2 2025-02-03 17:24:05 +01:00
Héctor Ramón Jiménez
141290c740
Fix InputMethod conflicts with multiple scrollables 2025-02-03 17:12:08 +01:00
Héctor Ramón Jiménez
e8c680ce66
Request redraws on InputMethod events 2025-02-03 16:55:10 +01:00