Commit graph

73 commits

Author SHA1 Message Date
Nick Senger
8fe851057d fix: lazy widgets overlay is_over 2023-02-10 21:16:44 -08:00
Héctor Ramón Jiménez
a50cc32d09
Fix layout translation in overlay::Group
This bug produced improper positioning of overlays of elements inside a
`Scrollable`.
2023-01-30 05:11:59 +01:00
Héctor Ramón Jiménez
a3bfa0724c
Fix widget-driven animations for Component 2023-01-30 03:41:03 +01:00
Héctor Ramón Jiménez
9fe46de13f
Bump versions 🎉 2023-01-14 01:10:28 +01:00
Nick Senger
58bcc4404e feat: provide &Dependency to Lazy widget View 2023-01-11 11:37:56 -08:00
Nick Senger
2e3a69be31 fix: Lazy widget 2023-01-10 21:35:42 -08:00
Cory Forsstrom
c885f56748
Fix shadowed variable
Layout passed into the overlay was accidentally shadowed by the
content's layout. So instead of offsetting by the proper layout, the
content layout was used instead.
2023-01-05 08:57:38 -08:00
Héctor Ramón Jiménez
cec28e2ef5
Prefix _ instead of allow(unused) in Component trait 2023-01-02 19:32:47 +01:00
Nick Senger
8d5fba8a1f Add operate method to Component trait 2022-12-30 13:11:09 -08:00
Héctor Ramón Jiménez
5f2ec138d7
Implement Widget::operate for Responsive 2022-12-22 14:32:25 +01:00
Héctor Ramón Jiménez
0e9c1ab192
Add Renderer argument to operate 2022-12-22 14:29:24 +01:00
Héctor Ramón Jiménez
4c61f12768
Bump versions 🎉 2022-12-07 04:44:20 +01:00
tarkah
f1ada7a803 Allow &mut self in overlay 2022-11-29 12:17:29 -08:00
Cory Forsstrom
c4bca3f2af Add text input operations 2022-11-11 08:43:36 -08:00
Héctor Ramón Jiménez
b0e8bafb6c
Bump versions 🎉 2022-11-10 01:20:11 +01:00
Héctor Ramón Jiménez
1cdc1fcd06
Rename iced_lazy::Cached to Lazy 🎉 2022-11-03 02:46:31 +01:00
Héctor Ramón Jiménez
54f9ab7d5f
Implement Widget::operate for lazy::Cached 2022-11-03 02:30:41 +01:00
Héctor Ramón Jiménez
b5d33b0370
Diff children only when hash differs in lazy::Cached 2022-11-03 02:28:54 +01:00
Nick Senger
459d32b984
lint 2022-11-03 02:23:19 +01:00
Nick Senger
7138141811
feat: implement Cached widget 2022-11-03 02:23:19 +01:00
Héctor Ramón Jiménez
3e82ab069e
Fix latest clippy lints 2022-09-23 17:51:42 +02:00
tarkah
a4d5b82768 Impl operate for Component widget 2022-08-07 14:46:28 -07:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API 2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
2f76a10a1d
Fix further clippy lints
... and explicitly annotate crates as well.
2022-07-09 18:03:59 +02:00
Héctor Ramón Jiménez
fa55dff61d
Merge branch 'master' into theming 2022-07-08 19:31:45 +02:00
Héctor Ramón Jiménez
e6e3eff876
Bump versions 🎉 2022-07-01 04:03:24 +02:00
Héctor Ramón Jiménez
9330a83775
Fix Widget::tag implementation of pure::Canvas
Using `P::State` can cause a panic if the `Canvas` has `()` as
`P::State` and replaces a stateless widget in a future `view` call.
2022-07-01 03:37:28 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Nick Senger
ea389ac34c
remove rebuild of component overlay from on_event 2022-05-13 12:38:16 -07:00
Héctor Ramón Jiménez
4c98de0a53
Revert "fix: prevent building overlay with stale layout"
This reverts commit 3be8f6e989.
2022-05-13 18:45:03 +02:00
Nick Senger
3be8f6e989
fix: prevent building overlay with stale layout 2022-05-10 17:23:30 -07:00
Héctor Ramón Jiménez
d23026d2dd
Bump versions 🎉 2022-05-02 22:07:53 +02:00
Héctor Ramón Jiménez
84c28a73e2
Indicate feature-flagged modules in documentation 2022-05-02 21:01:25 +02:00
Héctor Ramón Jiménez
6fe6daa64f
Add html_logo_url to iced_core and iced_lazy 2022-05-02 20:33:10 +02:00
Nick Senger
7b539479cf
fix: panic when using pure component in pure responsive 2022-04-25 16:40:34 -07:00
Héctor Ramón
a33e320521
Merge pull request #1308 from nicksenger/fix/pure-component-overlay
fix: tree node passed in `component::OverlayInstance::on_event`
2022-04-19 19:55:00 +07:00
Nick Senger
0e78929603
fix: tree node passed in component::OverlayInstance::on_event 2022-04-18 10:45:23 -07:00
Nick Senger
2858c8aa68
fix: diffing issue with pure stateless components 2022-04-18 09:02:40 -07:00
Nick Senger
572dcaff81
fix: diff widget tree after local event processing in Component 2022-04-17 11:53:59 -07:00
Nick Senger
d23ed0c4e8
fix: overlay 2022-04-06 17:25:57 -07:00
Nick Senger
e4178c8e4f
fix: nested components 2022-04-06 13:16:23 -07:00
Héctor Ramón Jiménez
d7100fd259
Export widget modules in iced_pure
... and fix collisions with the new `helpers`
2022-03-16 17:37:19 +07:00
Héctor Ramón Jiménez
9f27969d14
Fix incorrect layout in Widget::overlay for pure::Responsive 2022-03-14 17:44:25 +07:00
Héctor Ramón Jiménez
b50e208f31
Implement pure::Responsive in iced_lazy 2022-03-07 18:04:13 +07:00
Héctor Ramón Jiménez
9fd66c820d
Introduce rebuild_element helper in lazy::pure::Component 2022-03-07 16:39:04 +07:00
Héctor Ramón Jiménez
fa3bd4280e
Initialize lazy::pure::Component view properly
... during `children` and `diff` in the `Widget` implementation
2022-03-07 16:35:17 +07:00
Héctor Ramón Jiménez
c35496d80f
Merge branch 'master' into virtual-widgets 2022-03-07 15:29:43 +07:00
Héctor Ramón Jiménez
1313c94e3b
Remove hash_layout method from Widget trait 2022-02-23 21:31:54 +07:00
Nick Senger
a12a92c266
fix: overlay layout for Responsive 2022-02-22 23:38:32 +07:00