Commit Graph
95 Commits
Author SHA1 Message Date
Evan Almloff a09548d80e Remove implicit optional dependency features (#2512)
* remove implicit optional dependency features

* switch to new features in desktop, router and signals crates
2024-06-18 18:39:15 -05:00
Evan Almloff 0127501dbf Improve inline docs (#2460)
Improve inline docs

* improve incorrect event handler return error message

* Improve event handler docs

* document the eval functions

* document spawn and common spawn errors

* fix event handler docs

* add notes about how you use attributes and elements in rsx

* add doc aliases for attributes and events we rename

* add some more aliases for common search terms

* don't doc ignore any public examples in core

* don't ignore public doc examples in ssr

* don't ignore examples in the dioxus package readme

* add a warning when you launch without a renderer enabled

* fix some outdated element docs

* add a bunch of examples to resource

* add notes about desktop events

* add more docs for use_resource

* add on_unimplemented hint to Dependency

* fix some unresolved links

* add examples to each of the router traits

* add not implemented errors for router traits

* add an example to the routable trait

* expand rsx macro docs

* improve memo docs

* update the dioxus readme

* mention dioxus crate features in the docs

* fix a bunch of doc tests

* fix html doc tests

* fix router doc tests

* fix dioxus signals doc tests

* fix dioxus ssr doc tests

* fix use_future example in the hooks cheat sheet

* add a javascript alias for eval

* fix hook explanation values

* remove unused embed-doc-image dependency
2024-06-06 18:15:17 -07:00
Evan Almloff b3cd4fac10 set up example scaping for docs.rs (#2450) 2024-05-28 13:05:55 -07:00
Evan Almloff 4d25e3f6a2 fix hydration for non-bubbling events (#2234) 2024-04-04 11:46:22 -07:00
David McNeil d16ac4e736 Bump rfd to version 0.14 fixing 2149 (#2161) 2024-03-29 18:05:14 -07:00
Evan Almloff a789d6a64e make eval copy 2024-02-02 14:47:59 -06:00
Jonathan Kelley 6ed3aafb2f Get cargo check --all working 2024-01-18 19:27:55 -08:00
Evan Almloff cfebb6c900 remove async-channel now that context and eval is global 2024-01-15 11:46:00 -06:00
Evan Almloff b6ea395338 enable serde dependency in the html crate even if eval is disabled 2024-01-11 15:40:44 -06:00
Jonathan Kelley 5ccbeeab46 Merge branch 'master' into add-file-data-drag-event 2024-01-08 13:34:24 -08:00
Evan Almloff 56798b3d1c Merge branch 'master' into add-file-data-drag-event 2024-01-08 14:16:09 -06:00
Evan Almloff b180b501f7 Merge branch 'master' into fullstack-binary-size-compile-times 2024-01-08 13:18:05 -06:00
Jonathan Kelley 44c9697021 Fix merge conflicts 2024-01-08 10:26:33 -08:00
Jonathan Kelley 7f6e2dd64b Merge branch 'master' into get-parsed-values-for-form-values 2024-01-08 09:57:03 -08:00
Evan Almloff e5df83ceec Merge branch 'master' into pr/atty303/1349 2024-01-06 08:52:37 -06:00
Evan Almloff dccfba12d8 Merge branch 'master' into events-2 2024-01-04 19:02:00 -06:00
Jonathan Kelley 73637987f3 Merge pull request #1719 from willcrichton/dev
Add custom asset handler to desktop config
2024-01-04 09:56:12 -08:00
Evan Almloff afb258b658 Fix elements and attributes mapping for dx translate 2024-01-03 15:18:27 -06:00
Evan Almloff 23090cb56b optimize fullstack compile times 2023-11-21 14:46:47 -06:00
Bunny Bites 13a82a3705 remove serde and serde_json from serialize dependency. 2023-11-11 21:55:08 +05:30
Bunny Bites 48295b021c remove optional config of serde_json 2023-11-11 21:27:44 +05:30
Evan Almloff 5fdff4b7ed bump wry to 0.34 2023-10-31 13:49:29 -05:00
Evan Almloff 7033276c34 Merge branch 'master' into pr/atty303/1349 2023-09-20 16:19:23 -05:00
Evan Almloff 847801908f Merge branch 'master' into add-file-data-drag-event 2023-09-17 18:56:59 -05:00
Evan Almloff c10700c962 add touch data to touch events 2023-09-12 17:28:55 -05:00
Evan Almloff dee92b83be remove the serde feature flag from enumset 2023-09-01 15:06:30 -05:00
Evan Almloff 93cbfd0dbc derive more traits for serialized types 2023-08-28 12:35:43 -05:00
Evan Almloff b54f7dd5d2 fix no default features on the web renderer 2023-08-25 21:28:44 -05:00
Evan Almloff 299b123446 trait based event system 2023-08-25 17:02:48 -05:00
Evan Simkowitz af9875f9b1 revert change to cargo 2023-08-23 14:10:18 -04:00
Evan Simkowitz cc3f60dd2f Adding PointInteraction trait, etc. 2023-08-22 23:29:24 -04:00
Bruce Mitchener d8704a0447 deps: Update keyboard-types to 0.7. (#1378) 2023-08-21 09:28:32 -05:00
Koji AGAWA d573f5dfd5 feat: props spread 2023-08-13 16:45:17 +09:00
Jonathan Kelley 39e89c1fac Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Evan Almloff 45d386810b create features for large web-sys events/types 2023-07-28 15:38:07 -07:00
Miles MurgawandEvan Almloff 6210c6fefe Convert use_eval to use send/recv system (#1080)
* progress: reworked

don't run this, it'll kill your web browser

* feat: use_eval but with comms

* revision: async recv & recv_sync

* revision: use_eval

* revision: standard eval interface

* revision: use serde_json::Value instead of JsValue

* revision: docs

* revision: error message

* create: desktop eval (wip)

* fix: desktop eval

* revision: wrap use_eval in Rc<RefCell<_>>

* fix: fmt, clippy

* fix: desktop tests

* revision: change to channel system

- fixes clippy errors
- fixes playwright tests

* fix: tests

* fix: eval example

* fix: fmt

* fix: tests, desktop stuff

* fix: tests

* feat: drop handler

* fix: tests

* fix: rustfmt

* revision: web promise/callback system

* fix: recv error

* revision: IntoFuture, functionation

* fix: ci

* revision: playwright web

* remove: unescessary code

* remove dioxus-html from public examples

* prototype-patch

* fix web eval

* fix: rustfmt

* fix: CI

* make use_eval more efficient

* implement eval for liveview as well

* fix playwright tests

* fix clippy

* more clippy fixes

* fix clippy

* fix stack overflow

* fix desktop mock

* fix clippy

---------

Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-07-21 17:36:25 -05:00
Jonathan Kelley f0289068a2 Merge pull request #1219 from Demonthos/improve-build-times
Halve Build Times
2023-07-20 10:50:15 -07:00
Andrea Frigido dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
Evan Almloff 3d8d8a1b6f half-build-times 2023-07-19 10:19:23 -07:00
Evan Almloff 26f6561de5 fix html cargo.toml 2023-07-11 17:55:55 -05:00
Evan Almloff 7577019946 Merge branch 'master' into add-file-data-drag-event 2023-07-11 17:53:09 -05:00
Marc Espín 32d4472bfd fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -05:00
Jonathan Kelley e77a14dbf7 Remove RFD from input crate 2023-06-30 13:59:59 -07:00
Evan Almloff 5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
Evan Almloff ada246c12e add file property to drag data 2023-04-27 10:21:05 -05:00
Evan Almloff e1f02f8135 Merge branch 'upstream' into query-system 2023-04-26 18:00:39 -05:00
Evan Almloff 9fa912bb59 create native file engine bindings for TUI/Blitz 2023-04-20 10:12:11 -05:00
Evan Almloff 920fcf728c create onmounted event 2023-03-19 16:34:57 -05:00
Jonathan Kelley 018a6e7578 bump dioxus, html, and hot-reload 2023-02-22 13:06:33 -08:00
Jonathan Kelley ab0023129d bump rsx 2023-02-22 12:22:45 -08:00