Commit graph

228 commits

Author SHA1 Message Date
Jonathan Kelley
94b17cc8ca
Fix non tokio builds for desktop 2024-01-18 04:07:28 -08:00
Evan Almloff
9a38331826 restore liveview renderer 2024-01-15 11:28:27 -06:00
Jonathan Kelley
2ae3241cc0
Merge branch 'master' into jk/breaking-merged 2024-01-11 16:04:36 -08:00
Evan Almloff
56798b3d1c Merge branch 'master' into add-file-data-drag-event 2024-01-08 14:16:09 -06:00
Jonathan Kelley
7f6e2dd64b
Merge branch 'master' into get-parsed-values-for-form-values 2024-01-08 09:57:03 -08:00
Evan Almloff
f4af297777 merge upstream 2024-01-06 16:14:22 -06:00
Evan Almloff
21b71e992f implement editwriter for the binary edit channel 2024-01-05 13:53:12 -06:00
Pascal
5bd0abcfdd
fix typo which resolves #1789 (#1790) 2024-01-05 08:46:41 -06:00
Evan Almloff
bb8341241d bump sledgehammer 2024-01-04 19:57:02 -06:00
Evan Almloff
ca83d6bc82 use the stable version of sledgehammer 2024-01-04 17:41:41 -06:00
Jonathan Kelley
1a8bf13ff5
Merge branch 'master' into resilient-hydration 2024-01-04 10:28:41 -08:00
Evan Almloff
e2646e655e fix hydration after suspense 2023-12-27 10:17:18 -06:00
Evan Almloff
2d7d721fd6 make hydration more resilient using ids to hydrate 2023-12-19 16:02:07 -06:00
Bunny Bites
67670875bb fix parsing issue for desktop platform 2023-11-14 01:13:47 +05:30
Bunny Bites
2b459e6fc1 1. optimize import.
2. modify post event serialization.
2023-11-10 23:32:41 +05:30
Evan Almloff
3bb6042e42 fix web renderer imports 2023-10-25 10:22:05 -05:00
Evan Almloff
dc306a51ba fix desktop inner html 2023-10-24 13:17:34 -05:00
Evan Almloff
9de56c00f3 fix multiple types of desktop/liveview listeners in the same app 2023-10-24 13:09:10 -05:00
Evan Almloff
9abc390d04 bench 2023-10-20 13:21:27 -05:00
Evan Almloff
33f0f0c172 fix clippy 2023-10-20 09:38:10 -05:00
Evan Almloff
1d664c616e restore desktop/liveview minification 2023-10-20 09:18:16 -05:00
Evan Almloff
378cbfabd9 fix desktop mounted event 2023-10-20 08:45:04 -05:00
Evan Almloff
c9612a085e fix liveview mounted event 2023-10-19 16:40:08 -05:00
Evan Almloff
1a4741ce04 fix liveview events 2023-10-12 10:21:29 -05:00
Oak
f3a749538b
feat: initial_checked attribute for inputs (#1540)
Mapped to defaultChecked property of HTMLInputElement.
2023-10-12 08:12:09 -05:00
Leonard
2d1234c3d1
Include README and Dioxus logo in package docs (#1536)
* Include README in docs.rs and add Dioxus logo

* Update README.md
2023-10-10 10:52:48 -05:00
Evan Almloff
f20b740abe switch liveview to sledgehammer 2023-10-09 14:28:12 -05:00
Oak
5bcb772511
feat: initial_selected attribute for options (#1508) 2023-10-02 14:08:09 -05:00
Evan Almloff
847801908f Merge branch 'master' into add-file-data-drag-event 2023-09-17 18:56:59 -05:00
Jonathan Kelley
73169e377e
Merge pull request #1322 from ealmloff/fix-text-node-target-events
Fix events with a text node target
2023-09-16 11:57:33 -07:00
Jonathan Kelley
de649a46d6
Merge pull request #1315 from ealmloff/handle-select-elements
Handle oninput for select elements
2023-09-16 11:56:18 -07:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4 2023-09-16 19:03:27 +02:00
Evan Almloff
d1603238c4 Fix events with a text node target 2023-08-08 09:49:04 -07:00
Evan Almloff
c32d6dc8cb Handle oninput for select elements 2023-08-07 17:19:16 -07:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors 2023-07-31 18:49:54 -07:00
Jonathan Kelley
f80c3c9ffb
Bump core and interpreter 2023-07-31 18:02:23 -07:00
Evan Almloff
09f1899539 Merge branch 'master' into optimize-remove_attribute 2023-07-20 10:56:38 -07:00
Evan Almloff
28ae065218 optimize the remove_attribute function 2023-07-20 10:53:24 -07:00
ealmloff
8a3d1e47b3
Merge branch 'master' into add-file-data-drag-event 2023-07-19 18:12:57 -07:00
Evan Almloff
1f19ac9334 bump sledgehammer bindgen 2023-07-19 13:45:47 -07:00
Evan Almloff
8d38b6c11b fix interpreter js 2023-07-11 18:03:13 -05:00
Evan Almloff
7577019946 Merge branch 'master' into add-file-data-drag-event 2023-07-11 17:53:09 -05:00
Kaid
e39d8708fa Changed directory to webkitdirectory in bool_attrs definitions. 2023-07-10 17:19:11 +08:00
Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -05:00
Jon Kelley
abccc7463f
Merge pull request #1010 from Demonthos/fix-onload-event
Fix the onload event
2023-06-30 12:14:35 -07:00
Jon Kelley
4145e50bbf
Merge pull request #1104 from Demonthos/fix-booleans-with-boolean-attributes
Fix boolean attributes with raw boolean values
2023-06-30 12:11:22 -07:00
Jon Kelley
dfa4d8d989
Merge pull request #1105 from Demonthos/workspace-dependancies
Workspace Dependancies
2023-06-27 10:17:12 -07:00
Jonathan Kelley
d93d11262d bump interpreter version 2023-06-20 11:57:24 -04:00
Evan Almloff
5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
Evan Almloff
4f672ff4bb fix boolean attributes with raw boolean values 2023-06-19 10:19:35 -05:00
ealmloff
cf9ed74303
Merge branch 'master' into fix-onload-event 2023-06-19 08:16:40 -05:00
Kaid
277436f673 Changed underlying directory attribute to webkitdirectory, fixed attribute parsing to properly toggle it. 2023-06-06 08:06:27 +08:00
Kaid
37a8fb5391 Add directory support for file input. 2023-06-05 16:47:04 +08:00
Miles Murgaw
510c242883
fix: move bool_attrs to common.js (#1072) 2023-06-04 14:15:46 -05:00
Miles Murgaw
d09c92beda
Add initial_value attribute & fix static special attribute handling (#1063)
* feat & fix: initial_value attribute, special attribute handling

* revision: rename js file

* fix: rustfmt

* fix: clippy

* fix: desktop not finding common.js

* fix: desktop failing to render

Missed a single ``this.SetAttributeInner`` as it was now ``setAttributeInner``
Javascript didn't even throw any errors about this smh

* revision: no need for match statement
2023-06-04 11:29:34 -05:00
Jonathan Kelley
563a2b0953 Bump interpreter 2023-06-01 22:39:43 +02:00
Evan Almloff
553205dc74 Merge branch 'master' into fix-links-liveview 2023-05-24 07:38:04 -05:00
Evan Almloff
77275d40c1 Merge branch 'master' into fix-links-liveview 2023-05-24 07:36:16 -05:00
Evan Almloff
043aae1689 fix the onload event 2023-05-08 17:49:28 -05:00
Evan Almloff
19436e210f Merge branch 'upstream' into query-system 2023-05-05 11:09:25 -05:00
ealmloff
4d90bdee47
Remove console.log 2023-04-29 20:42:47 -05:00
Evan Almloff
f044bb2128 fix onclick event 2023-04-27 15:19:10 -05:00
Attilio
c645e1c6aa
Allow multiple prevent default for Web, Desktop and LiveView (#987)
* Allow multiple prevent default in dioxus_web

* Use SplitWhitespace for prevent default requests

* Add multiple prevent default option to liveview and desktop

* Update docs about prevent_default attribute

* cargo clippy

* update prevent default guide example

---------

Co-authored-by: Evan Almloff <ealmlof1@stumail.jccc.edu>
2023-04-27 11:26:04 -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
7e292cc2fa Merge branch 'upstream' into fix-links-liveview 2023-04-26 17:56:13 -05:00
Jonathan Kelley
22cfff647c Merge branch 'master' into implement-file-engine 2023-04-26 15:32:34 -07:00
Evan Almloff
9cfb655478 implement the file engine for liveview 2023-04-25 14:26:12 -05:00
Evan Almloff
6d3d927d5c Merge branch 'fix-select-form-events' into implement-file-engine 2023-04-25 13:18:25 -05:00
Evan Almloff
28ef3f8968 fix liveview links 2023-04-23 12:07:38 -05:00
Evan Almloff
5a08da5ec7 fix selected and checked with boolean attributes 2023-04-23 11:48:53 -05:00
Evan Almloff
d7eae79509 prevent default file input behavior on desktop 2023-04-20 10:10:52 -05:00
Evan Almloff
223c7efce2 Merge branch 'upstream' into query-system 2023-04-18 10:33:40 -05:00
Evan Almloff
1200457880 bump sledgehammer version 2023-04-17 07:18:26 -05:00
Evan Almloff
ea5a6775a2 bump sledgehammer-bindgen version 2023-04-14 14:58:48 -05:00
Evan Almloff
f1f7517b88 Fix form events with select multiple 2023-04-06 11:11:08 -05:00
Evan Almloff
fa9f0d0f6c Generalize Query system for use in use_eval and node querys 2023-03-23 15:19:00 -05:00
Evan Almloff
7636c046fa implement on mounted for desktop 2023-03-20 16:10:34 -05:00
Evan Almloff
cb5cb56ad3 implement onmounted for the web renderer 2023-03-19 18:28:34 -05:00
Evan Almloff
7253eabe0a fix anchor link for block-level elements 2023-03-06 20:49:23 -06:00
Evan Almloff
a51f67c2ec add version to docs links in readmes 2023-02-18 18:38:30 -06:00
Jon Kelley
4f0f2484fd
Merge pull request #774 from Demonthos/update-doc-links
Update guide doc links
2023-02-17 11:53:15 -08:00
Jonathan Kelley
f420c6f333 bump web and interpreter 2023-02-16 13:42:49 -08:00
Evan Almloff
6bea6f6385 fix text dynamic node not assigning id 2023-02-09 09:14:07 -06:00
Evan Almloff
c881f9bf82 fix removing attributes in web bindings 2023-02-05 19:48:49 -06:00
Evan Almloff
51ca23b3f7 fix drag serialization on desktop 2023-01-25 20:44:42 -06:00
Evan Almloff
3f3db39c28 update doc links 2023-01-15 15:18:12 -06:00
Evan Almloff
c5bb4275e6 fix boolean attributes with the web renderer 2023-01-13 08:48:59 -06:00
Evan Almloff
52d5c8d4e7 update READMEs and tags for the 0.3 release 2023-01-10 10:16:11 -06:00
Evan Almloff
d2b5af6615 remove logs from interpreter 2023-01-09 12:04:38 -06:00
Jonathan Kelley
7f01f61138 feat: publish 0.3 versions of many crates 2023-01-04 14:31:07 -05:00
Evan Almloff
ea43b864db remove attributes with the None value 2023-01-03 08:51:48 -06:00
Jonathan Kelley
4fdbce9a70 chore: clean up readmes 2022-12-29 16:17:03 -05:00
Jonathan Kelley
58b0519c2f feat: get interpreter working on desktop 2022-12-19 15:02:36 -08:00
Jonathan Kelley
50faa7dd08 feat: add proper event type 2022-12-19 14:14:01 -08:00
Evan Almloff
f84166fb11 allow configering the root name in the desktop renderer 2022-12-18 22:28:40 -06:00
Jon Kelley
5ac9b595ea
Revert "fix: liveview interpreter using new templates" 2022-12-16 14:20:05 -08:00
Jonathan Kelley
7790d2c065 chore: simplify liveview abstraction 2022-12-15 18:46:59 -08:00
Jonathan Kelley
06e8e096bb feat: more fixes to liveview 2022-12-15 14:25:23 -08:00
Jonathan Kelley
e256fe1079 wip: add html event type 2022-12-14 19:07:33 -08:00