Michael Aaron Murphy
463e07ec4b
feat(widget): re-export text_editor from iced
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
b7cb1b31ff
feat(widget): re-export canvas widget from iced
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
7a6421a3e2
feat(flex-row): add justify_content method
2024-05-30 13:57:47 +02:00
Michael Aaron Murphy
752662eedf
chore: ignore doc tests for widget module
2024-05-21 04:36:32 +02:00
Michael Aaron Murphy
f4936344f0
chore(doc): add documentation for a handful of widgets
2024-05-20 20:01:47 +02:00
Michael Aaron Murphy
0d4c3db162
chore(doc): inline re-exported API docs
2024-05-20 17:19:42 +02:00
Michael Aaron Murphy
9ffb87d21f
feat(context_menu): add a context menu widget as menu tree alternative to the popover widget
2024-04-22 17:25:05 +02:00
Ashley Wulber
d625291266
feat: dnd for segmented buttons and nav
2024-04-09 21:21:38 +02:00
Michael Aaron Murphy
d68488de47
feat(widget): add calendar widget
2024-03-15 13:40:31 +01:00
Michael Murphy
2d41a9e65d
refactor(widget): rename cosmic_container to layer_container
2024-03-12 16:19:35 +01:00
Jeremy Soller
16aaf10b56
Add support for themed application dialog
2024-02-27 09:38:33 -07:00
Michael Aaron Murphy
ff9438c5ba
refactor!(widget): rename view_switcher to tab_bar to match Figma docs
2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
bfc84c4759
refactor!(widget): rename segmented_selection to segmented_control to match Figma docs
2024-02-26 19:17:49 +01:00
Michael Aaron Murphy
bd353c6b54
improv(widget): share object-select svg handle between widgets using it
2024-02-26 19:17:49 +01:00
Ashley Wulber
f4ad098647
wip: update to use latest iced
2024-02-06 11:28:27 -05:00
Michael Aaron Murphy
b09b3db81a
chore(widget): remove redundant search widget
...
The `text_input` widget's search variant replaced this.
2024-01-23 22:08:05 +01:00
Michael Aaron Murphy
507c4c97bb
chore(widget): remove cosmic-settings navigation widgets
2024-01-23 22:08:05 +01:00
Jeremy Soller
bad4400779
Add menu code, adapted from iced_aw
2023-11-16 08:06:07 -07:00
Michael Aaron Murphy
ca7c17ce21
feat(widget): add dropdown widget as pick_list replacement
...
The Dropdown widget is based on the PickList widget from iced.
2023-10-24 19:45:21 +02:00
Michael Aaron Murphy
3127de3296
feat(widget): add ContextDrawer widget
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
8c86dae449
feat(rectangle_tracker): functions for widget and subscription
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
2c680c8ae0
chore(color_picker): specify imports
2023-10-12 16:37:38 +02:00
Michael Aaron Murphy
e1d1b0bad5
feat(widget): initial implementation of Grid widget
2023-10-02 17:32:39 +02:00
Ashley Wulber
70077ca985
feat: color picker
2023-10-02 10:24:43 -04:00
Michael Aaron Murphy
9ceda6d704
feat(widget): add navigation with page_list_item and sub_page_header
2023-09-19 17:22:20 +02:00
Michael Aaron Murphy
1e3c44865a
feat(widget): import more widgets from iced
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
9eb55ce893
feat(widget): add tooltip module
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
87e7567b7b
feat(widget): add divider::vertical variants
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
6e1f00295b
feat(widget): add divider::horizontal::default() variant
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
03a5c929fd
refactor(widget): create alias for Row type
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
524f3abb05
refactor(widget): create alias for Column type
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
4e4eeaac12
feat!(widget): rewrite button & icon widget APIs
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
26777464c5
feat(widget): add functions for columns and rows
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
e9035a9582
chore(widget): add more iced widget re-exports
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
6383ecc0cb
chore(widget): text_input does not need to be wayland-only
2023-09-14 01:38:56 +02:00
Michael Aaron Murphy
c45556d8e3
feat(widget): add typography functions to text module
2023-09-14 01:38:56 +02:00
Ashley Wulber
984d545546
fix: remove conflicting iced text_input from reexports
2023-08-29 14:59:37 -04:00
Michael Aaron Murphy
2e3d9af720
chore(widget): re-export missing iced widgets
2023-08-28 18:11:19 +02:00
Ashley Wulber
db8e791b87
Text input ( #143 )
...
* update: iced 0.10.0
* wip: text input
* wip: text inputs with icons and buttons
* wip: improve text input
* refactor: text input styling
* chore: add scale factor
* chore(text_input): add winit example and do some cleanup
2023-08-23 10:59:26 -04:00
Ashley Wulber
ab88a5b59f
feat: animated image widget
2023-07-26 18:11:19 -04:00
Ashley Wulber
f17d52f37f
card widget
2023-07-20 11:11:50 -04:00
Michael Aaron Murphy
e3f30a1b5c
feat(widget): add FlexRow widget
2023-06-24 12:30:52 +02:00
Ian Douglas Scott
98ec1bbd48
Add a Popover widget, that shows a widget in an overlay ( #100 )
...
This serves a similar purpose to `GtkPopover`. It takes two widgets, one
to show normally and one to show in an overlay.
This should basically work, though more options could be added here.
2023-05-11 13:29:05 -07:00
Ashley Wulber
becdbb6eb3
wip: use CosmicContainer
2023-02-28 12:26:38 -07:00
Michael Aaron Murphy
a1b3d6ec38
feat(widget): add COSMIC search widget
2023-01-30 21:57:24 +01:00
Michael Aaron Murphy
9a095e4d94
feat(divider): add functions for divider style variants of a Rule
2023-01-30 21:57:24 +01:00
Michael Aaron Murphy
b3a3c9c29a
feat(widget): add text function with Cow<str> input
2023-01-30 21:57:24 +01:00
Michael Aaron Murphy
b3d550cc5e
feat!(segmented-button): improved interfaces and documentation
...
BREAKING CHANGE: Various type and function names have changed to reflect
themselves better in documentation. Code has been reorganized into
separate modules with a better placement in libcosmic. Most of the
functions, types, and modules now have documentation and examples.
These changes no longer require the `Model` type to define the
data/component type that it stores. The component functionality is now
optional, and it's also possible to associate many components to an item
with one component per type. This has had a side effect of simplifying a
lot of the type signatures in the implementation.
Before, to insert an item into the model, you had to define a
`SegmentedItem` and a `Component` on insert, and get back an ID for that
item. Which makes it difficult to define an item that contains only an
icon or has no components. And requires an extra insert function to
activate the item on insert.
Now, there is a flexible builder-style API for configuring
newly-inserted items in the model. So the complexity for inserting and
retrieving values from the model has decreased significantly
2023-01-19 19:58:31 +01:00
Eduardo Flores
abf8fc96c2
feat(widget): add warning widget
2023-01-17 16:49:52 +01:00
Michael Aaron Murphy
352bf8e401
improv: use current design for nav bar toggle button
2023-01-10 20:49:49 +01:00