Commit graph

509 commits

Author SHA1 Message Date
Michael Aaron Murphy
ed59fe8fb3
fix: conditional features and tests 2025-03-10 15:19:50 -04:00
Michael Aaron Murphy
adb08f9daf
refactor!: improve surface action handling and adjust libcosmic API 2025-03-10 15:19:49 -04:00
Ashley Wulber
2c10e4362a
cleanup 2025-03-10 15:19:48 -04:00
Ashley Wulber
cbb070b80c
update iced 2025-03-10 15:19:47 -04:00
Ashley Wulber
cb11a0f872
fix(dropdown): overlay should show unless a popup is configured 2025-03-10 15:19:45 -04:00
Ashley Wulber
b53f6566bc
refactor: add support for tooltip delays 2025-03-10 15:19:44 -04:00
Ashley Wulber
e9e01af77d
cargo fmt 2025-03-10 15:19:42 -04:00
Ashley Wulber
76930d8624
clippy 2025-03-10 15:19:41 -04:00
Ashley Wulber
0ce914b57a
fix(tooltip): mouse interaction 2025-03-10 15:19:40 -04:00
Ashley Wulber
66322b1e90
refactor: popup for tooltip
this conflicts with autopopup switching. Either I need to drop autopopup switching, disable tooltips if autopopup switching is enabled, or I need to change how autohopopup switching is implemented to use dbus or wayland protocols instead of simulating a click.
2025-03-10 15:19:37 -04:00
Ashley Wulber
6f643d1d3a
refactor: better tooltips and helper methods for managing subsurfaces/popups 2025-03-10 15:19:36 -04:00
Ashley Wulber
2b232065ff
refactor(text_input): make on_input optional
this prevents a redraw of every surface in an application whenever the input changes.
2025-03-10 15:19:32 -04:00
Ashley Wulber
354b4866ec
fix: explicit lifetimes for view closures 2025-03-10 15:19:31 -04:00
Ashley Wulber
ffa67981a8
fix: button styling 2025-03-10 15:19:28 -04:00
Ashley Wulber
dc10c77b41
refactor: menu bar buttons 2025-03-10 15:19:27 -04:00
Ashley Wulber
56bbc3f289
refactor: SurfaceMessage 2025-03-10 15:19:26 -04:00
Ashley Wulber
c6ca33457f
refactor: use RcWrapper 2025-03-10 15:19:26 -04:00
Ashley Wulber
5a5670eda5
refactor: remove menu tree changes 2025-03-10 15:19:23 -04:00
Ashley Wulber
93e3d4fd42
wip: menus 2025-03-10 15:18:32 -04:00
Ashley Wulber
bd36d6bb8c
wip: tooltips 2025-03-10 15:14:48 -04:00
ellieplayswow
a234a45ea6
fix(segmented_button): ignore button release / finger lifted events when dragged out of target 2025-03-10 16:21:34 +01:00
Ashley Wulber
508753ae69 feat: high contrast theme updates 2025-03-10 16:10:32 +01:00
Michael Aaron Murphy
7d84d21129 improv: switch to Open Sans and Noto Sans Mono, with tweaked text styles 2025-02-18 23:57:58 +01:00
Tony4dev
0b7e23444a
feat(segmented_button): add len method 2025-02-13 16:22:42 +01:00
ellieplayswow
900fc34444
feat(icon): add rotation property 2025-01-20 11:08:36 +01:00
Tony4dev
def11c6c96
improv(calendar): make visible public 2025-01-19 15:37:07 +01:00
Eduardo Flores
00a4042c40
chore(calendar): add derive attributes 2025-01-19 12:58:57 +01:00
Michael Aaron Murphy
1914006cdd
fix(text_input): compiler errors after Cow change 2025-01-16 06:38:08 +01:00
Tony4dev
8211fb68bd
improv!(calendar): do not select date when navigating prev/next months 2025-01-16 06:30:21 +01:00
Soso
90c5c84cce
improv(text_input): use Cow<str> for label, helper, and error text 2025-01-16 06:29:03 +01:00
Ian Douglas Scott
af9e353f50 dnd_source: Add suppport for surface offset
The `drag_icon` callback is passed the offset of the cursor within the
widget at the start of the drag, and can return an offset the drag
surface should be placed relative to the cursor.
2025-01-13 10:44:33 -07:00
Jason Rodney Hansen
aaa2ba3ad4 Fix entering text with compose key
Previously entering text in text inputs with the compose key would insert one
or more NUL bytes before the inserted character.
2025-01-05 17:51:44 -07:00
Jason Hansen
51ede4bce6
fix(segmented_button): close context menu when clicked outside 2025-01-01 00:37:04 +01:00
Vukašin Vojinović
58fc034459 fix(dropdown): styling 2024-12-25 04:42:24 +01:00
Vukašin Vojinović
2d06ec4226 fix(style): use radius_s for nav bar toggle 2024-12-25 04:42:24 +01:00
Ian Douglas Scott
75a11b3c84 Don't require 'static child in dnd_destination_for_data
Matches `dnd_destination`.
2024-12-20 08:30:18 -07:00
Michael Aaron Murphy
5422ab3130
feat(list_column): configurable list item and divider padding 2024-12-10 16:35:57 +01:00
Ashley Wulber
ff0ba4860c fix: autosize layout limits 2024-12-03 16:59:04 -05:00
Tony4dev
d536341234
fix(segmented_button): model index out of bounds when setting position 2024-12-03 05:14:33 +01:00
Ashley Wulber
931165050d
chore: update iced 2024-12-03 05:13:27 +01:00
Vukašin Vojinović
de0c1921f7 fix(list_column): match padding/spacing to designs 2024-12-02 17:43:19 +01:00
Vukašin Vojinović
a6c08d68f9 fix(toggler): remove extra padding 2024-12-02 17:43:19 +01:00
Vukašin Vojinović
8e823f622f fix(header_bar): match spacing to designs 2024-11-26 16:29:53 +01:00
Ashley Wulber
a9c7c3cdbf
fix(iced): a11y tree focus 2024-11-25 06:52:32 +01:00
Michael Aaron Murphy
9a8a56952d
feat(dropdown): optional icons for dropdowns 2024-11-25 06:51:16 +01:00
Michael Aaron Murphy
52ab37c1eb
feat(icon): add draw method for renderer 2024-11-25 06:50:59 +01:00
Jeremy Soller
0ef3cced6a
fix(text): make title 1 text use light weight 2024-11-22 12:48:06 -07:00
Adam Cosner
a64529af17 Changed cosmic::command module to cosmic::task and changed cosmic::Task to reexport cosmic::app::Task instead of iced::Task 2024-11-21 10:45:21 -05:00
Bryan Hyland
b14fde9033 feat!(spin_button): refactor and support vertical widget variant 2024-11-20 05:03:29 +01:00
Ashley Wulber
bc89a8aede fix: don't apply drawer position as overlay translation 2024-11-20 05:02:59 +01:00