summaryrefslogtreecommitdiffstats
path: root/web (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez2021-09-207-58/+62
|
* Introduce and use `CrossAlign` enum for `Column` and `Row`Libravatar Héctor Ramón Jiménez2021-09-202-4/+14
|
* Add Align::Fill variantLibravatar Cory Forsstrom2021-09-201-0/+1
|
* Revert system menus supportLibravatar Héctor Ramón Jiménez2021-09-151-2/+2
| | | | | | The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out! I have kept some of the changes in #945, like the new `keyboard::Modifiers` powered by `bitflags`.
* Write missing docs and `Debug` implementations for `web`Libravatar Héctor Ramón Jiménez2021-09-133-2/+22
|
* Hide implementation details of `Command` in `iced_futures`Libravatar Héctor Ramón Jiménez2021-09-021-40/+25
|
* Remove unnecessary `mut self` in `Command::map`Libravatar Héctor Ramón Jiménez2021-09-021-1/+1
|
* Make `Command` implementations platform-specificLibravatar Héctor Ramón Jiménez2021-09-024-40/+125
| | | | | | | | | This allows us to introduce a platform-specific `Action` to both `iced_native` and `iced_web` and remove the `Clipboard` from `Application::update` to maintain purity. Additionally, this should let us implement further actions to let users query and modify the shell environment (e.g. window, clipboard, and more!)
* Merge pull request #788 from Liamolucko/web-in-memory-imageLibravatar Héctor Ramón2021-09-012-5/+21
|\ | | | | feat(web): Support in-memory image data
| * Use data urls instead of blob URLsLibravatar Liam Murphy2021-04-102-18/+7
| | | | | | | | I didn't do this originally because I was half doing it in the first place to mess with Blob URLs, and it feels kinda wrong to be encoding it as base64 when that option is available. But not having memory leaks is more important.
| * fix: Don't rely on image handle not being droppedLibravatar Liam Murphy2021-03-211-36/+21
| | | | | | | | It now causes a memory leak, though. :/
| * Add `Blob` to web-sys featuresLibravatar Liam Murphy2021-03-211-0/+1
| | | | | | | | rust-analyzer lied to me
| * feat(web): Support in-memory image dataLibravatar Liam Murphy2021-03-212-0/+41
| | | | | | | | | | | | I had to create two methods which basically do the same thing, `from_memory` and `from_slice`, but `from_memory` takes ownership of the bytes to be compatible with `iced_native`. Also, `Data` is incompatible, because if I stored the bytes in `Data` and created a new object URL every render, it would have caused a memory leak because bumpalo doesn't call destructors and there'd be no way to call URL.revokeObjectUrl on it. It's also more efficient this way.
* | Merge pull request #517 from Kaiden42/embeddedLibravatar Héctor Ramón2021-08-121-0/+165
|\ \ | | | | | | iced_web: Add an option to select the element
| * | Format codeLibravatar Kaiden422020-09-091-2/+2
| | |
| * | Add trait for embedded web applicationsLibravatar Kaiden422020-09-091-0/+165
| | |
* | | Merge pull request #776 from AldoMX/masterLibravatar Héctor Ramón2021-07-221-0/+5
|\ \ \ | | | | | | | | Added `select_all` method to `TextInput`.
| * | | Add empty `select_all` implementation for `TextInput` in `iced_web`Libravatar Héctor Ramón Jiménez2021-07-221-0/+5
| | |/ | |/|
* | | Move `menu` module from `iced_native` to `iced_core`Libravatar Héctor Ramón Jiménez2021-07-121-2/+2
| | |
* | | docs: update all 0.2 github links to 0.3Libravatar Yusuf Bera Ertan2021-06-141-1/+1
| | |
* | | Update disabled example of `Button` in docsLibravatar Héctor Ramón2021-06-101-8/+14
| | |
* | | Fix failing doctestsLibravatar Jonas Matser2021-06-101-1/+7
| | |
* | | Adds doc comment for disabled buttonLibravatar Jonas Matser2021-06-101-0/+11
| | | | | | | | | | | | Makes disabled button behavior consistent in web
* | | Fix formatLibravatar Kaiden422021-06-031-20/+23
| | |
* | | Add `Toggler` widget to `iced_web`Libravatar Kaiden422021-06-033-0/+215
| | |
* | | Replace ignored doc-tests with additional documentation for `Padding`Libravatar Héctor Ramón2021-06-016-30/+0
| | |
* | | Fix unused variable warning in `iced_web::text_input`Libravatar Héctor Ramón2021-06-011-1/+1
| | |
* | | Add support for asymmetrical paddingLibravatar Ben LeFevre2021-06-018-85/+92
| | |
* | | Bump versions :tada:Libravatar Héctor Ramón Jiménez2021-03-312-5/+5
|/ /
* | Implement stub `Clipboard` in `iced_web`Libravatar Héctor Ramón Jiménez2021-03-112-2/+32
| | | | | | | | | | We need to figure out browser permissions and use of unstable `web-sys` APIs
* | Allow dead code explicitly in `iced_web`Libravatar Héctor Ramón Jiménez2021-02-166-0/+8
| |
* | Bump versions :tada:Libravatar Héctor Ramón Jiménez2020-11-262-5/+5
| |
* | Update example links to point to `0.2` branchLibravatar Héctor Ramón Jiménez2020-11-261-1/+1
| |
* | Update `README`s of subcratesLibravatar Héctor Ramón Jiménez2020-11-261-2/+0
| |
* | Update graphs in crate docsLibravatar Héctor Ramón Jiménez2020-11-261-2/+0
| |
* | Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-2619-286/+12
| | | | | | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* | Fix broken links in API documentationLibravatar Héctor Ramón Jiménez2020-11-261-2/+0
|/
* Use `String::from_str_in` in `iced_web`Libravatar Héctor Ramón Jiménez2020-07-016-40/+67
|
* Update `dodrio` dependency in `iced_web`Libravatar Héctor Ramón Jiménez2020-07-012-13/+10
|
* Merge pull request #292 from TomPridham/feature/accessibility-webLibravatar Héctor Ramón2020-07-013-10/+79
|\ | | | | add some accessibility features to web widgets
| * Fix empty `id` and `name` attributes in `iced_web`Libravatar Héctor Ramón Jiménez2020-07-012-23/+37
| |
| * add some accessibility features to web widgetsLibravatar Tom Pridham2020-04-213-6/+61
| |
* | Update `Slider` docs in `iced_web`Libravatar Héctor Ramón Jiménez2020-06-131-1/+2
| |
* | Make `Slider` value generic in `iced_web`Libravatar Héctor Ramón Jiménez2020-06-132-21/+41
| |
* | Add `step` member to slider widgetsLibravatar Sebastian Zivota2020-06-111-2/+14
| | | | | | | | | | | | Both the native and the web slider now have a member `step` to control the least possible change of the slider's value. It defaults to 1.0 for all sliders and can be adjusted with the step method.
* | Rename `MouseCursor` to `mouse::Interaction`Libravatar Héctor Ramón Jiménez2020-04-301-1/+1
| |
* | Remove inconsistent `input` module in `iced_native`Libravatar Héctor Ramón Jiménez2020-04-301-2/+2
| |
* | Move `MouseCursor` to `iced_core`Libravatar Héctor Ramón Jiménez2020-04-291-1/+1
| |
* | Expose `Rectangle` in `iced_web`Libravatar Héctor Ramón Jiménez2020-04-281-1/+1
|/
* Bump versions :tada:Libravatar Héctor Ramón Jiménez2020-04-151-1/+1
|