Commit graph

678 commits

Author SHA1 Message Date
Jonathan Kelley
5bf6c96f9f feat: setup a typescript build 2022-01-12 07:34:37 -05:00
Jonathan Kelley
ca0dd4aa71
Merge pull request #95 from DioxusLabs/jk/filedragindrop
File Drag and Drop support
2022-01-10 23:19:36 -05:00
Jonathan Kelley
0369fe72fb
Merge pull request #111 from DioxusLabs/jk/props-attrs
Flatten optional prop attributes
2022-01-10 17:11:08 -05:00
Jonathan Kelley
6bc45b1c50 fix: clippy 2022-01-10 13:00:23 -05:00
Jonathan Kelley
bad36162af fix: wry pathing 2022-01-10 12:57:43 -05:00
Jonathan Kelley
9ae981a1af wip: drag and drop support 2022-01-10 12:57:39 -05:00
Jonathan Kelley
20a29409b2
Merge pull request #113 from DioxusLabs/jk/desktop-cursor-jump
fix: cursor jumping in desktop inputs
2022-01-10 12:20:13 -05:00
Sven Assmann
007d06d602 feat(events:focus): add missing onfocusin event 2022-01-10 18:08:29 +01:00
Jonathan Kelley
eb138848ec feat: also hide placeholder node 2022-01-10 12:06:55 -05:00
Jonathan Kelley
be614e6535 fix: cursor jumping and use set instead of lsit 2022-01-10 12:04:54 -05:00
Sven Assmann
9849f68f25 feat(example:todomvc): add editing support
- implement "onfocusout" handler
- set autofocus
- handle enter, escape and tab on a todo item
- make the `<pre>` element between todo list items of margin 0 to be unnoticable
2022-01-10 14:46:23 +01:00
Jonathan Kelley
d2372717bd feat: flatten props attrs 2022-01-10 02:57:03 -05:00
Jonathan Kelley
255f58af63 fix: ssr respects bool attrs 2022-01-10 01:32:32 -05:00
Jonathan Kelley
f4132d1874
Merge pull request #108 from DioxusLabs/jk/fstring-component-fields
Fix: string formatting detection in component fields
2022-01-10 01:20:58 -05:00
Jonathan Kelley
90abd9c9a0 fix: detection of f-string formatting in components 2022-01-10 01:20:03 -05:00
Jonathan Kelley
29bf424b09
Merge pull request #101 from alexkirsz/ci
CI: Enable clippy
2022-01-08 20:28:10 -05:00
YuKun Liu
92561612c7 fix: format code 2022-01-09 02:25:11 +08:00
YuKun Liu
8f4aa84f1a feat: bool attr white list 2022-01-09 02:02:23 +08:00
Alexandre Kirszenberg
b6903bf558 Enable clippy 2022-01-08 16:35:26 +01:00
Jonathan Kelley
b804c691d5 Release dioxus-hooks v0.1.6, dioxus-mobile v0.0.3, dioxus-router v0.1.0, dioxus-ssr v0.1.2, dioxus-web v0.0.4, dioxus v0.1.7 2022-01-08 02:30:37 -05:00
Jonathan Kelley
cd0dcacaf2 Release dioxus-desktop v0.1.5 2022-01-08 02:30:03 -05:00
Jonathan Kelley
a36dab7f45 Release dioxus-html v0.1.4, dioxus-desktop v0.1.5, dioxus-hooks v0.1.6, dioxus-mobile v0.0.3, dioxus-router v0.1.0, dioxus-ssr v0.1.2, dioxus-web v0.0.4, dioxus v0.1.7 2022-01-08 02:28:25 -05:00
Jonathan Kelley
16d73b240f Release dioxus-core v0.1.7 2022-01-08 02:27:48 -05:00
Jonathan Kelley
db0a5bd6ec Release dioxus-core-macro v0.1.6 2022-01-08 02:26:29 -05:00
Jonathan Kelley
40d1f85d0c Release dioxus-core v0.1.7, dioxus-core-macro v0.1.6, dioxus-html v0.1.4, dioxus-desktop v0.1.5, dioxus-hooks v0.1.6, dioxus-mobile v0.0.3, dioxus-router v0.1.0, dioxus-ssr v0.1.2, dioxus-web v0.0.4, dioxus v0.1.7 2022-01-08 02:25:03 -05:00
Jonathan Kelley
21232285d9 fix: add exclusion list 2022-01-08 02:14:05 -05:00
Jonathan Kelley
8d685f40b7 feat: handle bool attrs properly 2022-01-08 02:09:02 -05:00
Jonathan Kelley
9dff700c22 feat: enable prevent_default everywhere 2022-01-07 21:56:12 -05:00
Jonathan Kelley
d11f322f55 docs: add title to doc comment 2022-01-07 12:12:33 -05:00
Jonathan Kelley
be9f1a52ad docs: better document the EventHandler type 2022-01-07 12:12:13 -05:00
Jonathan Kelley
c439b0ac7e fix: component pass thru events 2022-01-07 11:51:25 -05:00
Jonathan Kelley
211d44d363
Merge pull request #84 from DioxusLabs/jk/windows-lag
fix: windows and gtk startup lag
2022-01-07 10:52:28 -05:00
Jonathan Kelley
cdc2d8ec6d
Merge pull request #80 from DioxusLabs/jk/router2dotoh
feat: allow use_ref to be cloned into async and add support for for_async
2022-01-07 02:23:19 -05:00
Jonathan Kelley
175a6a199c wip: clear warnigns 2022-01-07 02:07:10 -05:00
Jonathan Kelley
fd911584dc wip: remove lag by forcing update 2022-01-07 02:05:14 -05:00
Jonathan Kelley
34b0cb500b
Merge pull request #79 from DioxusLabs/jk/better_rehydration
Feat: Improve rehydration by using the VDom directly.
2022-01-07 01:02:14 -05:00
Jonathan Kelley
59f8b49fb6 Merge branch 'master' into jk/router2dotoh 2022-01-07 01:01:26 -05:00
Jonathan Kelley
a890f397c4 feat: allow use_ref to be cloned into callbacks 2022-01-07 00:56:43 -05:00
Jonathan Kelley
c9aaa96432
Merge pull request #78 from higumachan/patch-1
Fix typo in document
2022-01-07 00:49:25 -05:00
Jonathan Kelley
c6e917c4a0 tweak: add palceholder as comment content 2022-01-07 00:37:28 -05:00
Jonathan Kelley
b3a774b284 tweak: always add spacing comments between textnodes 2022-01-07 00:37:04 -05:00
Jonathan Kelley
dbb6e9b4fe fix: lastnodewastext in ssr 2022-01-07 00:36:13 -05:00
Jonathan Kelley
bbb6ee10de feat: make hydration more robust 2022-01-07 00:33:09 -05:00
Yuta Hinokuma
a17827ffaa
fix typo in document 2022-01-07 13:36:50 +09:00
Dave Rolsky
51c177be9e Fix typo "misisng" that occurred in several error messages 2022-01-06 16:18:10 -06:00
Dave Rolsky
706b0e21a5 Fix reference to "html!" macro in "rsx!" macro docs 2022-01-06 10:44:05 -06:00
Jonathan Kelley
4aadec1e30 fix: ci and bug in setter 2022-01-05 22:15:19 -05:00
Jonathan Kelley
bd341f5571 fix: tests 2022-01-05 17:30:12 -05:00
Jonathan Kelley
e2a6454527 chore: switch to log tracing 2022-01-05 16:36:42 -05:00
Jonathan Kelley
427b126bc1 feat: add prevent default attribute and upgrade router 2022-01-05 16:34:24 -05:00
Jonathan Kelley
cb2782b4bb wip: memoize dom in the prescence of identical components 2022-01-05 00:27:22 -05:00
Jonathan Kelley
7cf15ee4e8 publish: include desktop fixes 2022-01-03 21:36:43 -05:00
Jonathan Kelley
be2d6876ab Merge branch 'master' into jk/windows-desktop 2022-01-03 20:00:23 -05:00
Jonathan Kelley
ada24e7c4e wip: try to fix pathing 2022-01-03 19:59:13 -05:00
Jonathan Kelley
4ea5c990d7 publish: new versions of everything 2022-01-03 19:44:04 -05:00
Jonathan Kelley
4f92ba4160 wip: bump all versions 2022-01-03 19:32:27 -05:00
Jonathan Kelley
2481cd05c2 fix: attempt to fix ice 2022-01-03 17:20:22 -05:00
Jonathan Kelley
b3b4c580df wip: bump versions 2022-01-03 14:07:22 -05:00
Jonathan Kelley
b96491fe16 wip: bump mobile 2022-01-03 14:04:31 -05:00
Jonathan Kelley
54103da019 publish: bump desktop version 2022-01-03 14:03:17 -05:00
Jonathan Kelley
95f01aee44 publish: mobile 2022-01-03 13:40:01 -05:00
Jonathan Kelley
99d6409f7a publish: bump mobile 2022-01-03 13:38:56 -05:00
Jonathan Kelley
3de776c42a docs: fix the reference code 2022-01-03 13:26:15 -05:00
Jonathan Kelley
a2317bf5b0 publish: ssr 2022-01-03 02:23:26 -05:00
Jonathan Kelley
df168d02a2 publish: fix hooks docs 2022-01-03 02:21:56 -05:00
Jonathan Kelley
eab8422e4f publish: bump version 2022-01-03 02:21:05 -05:00
Jonathan Kelley
c606f92fa8 publish: hooks 2022-01-03 02:20:32 -05:00
Jonathan Kelley
d78815103d wip: remove hooks warnigns 2022-01-03 02:20:11 -05:00
Jonathan Kelley
c1f8424693 publish: desktop 2022-01-03 02:18:11 -05:00
Jonathan Kelley
be6fac9f3d publish: desktop 2022-01-03 02:16:31 -05:00
Jonathan Kelley
7abb3cc79c publish: dioxus web 2022-01-03 02:15:39 -05:00
Jonathan Kelley
c0cd50b1d3 publish: dioxus web 2022-01-03 02:15:34 -05:00
Jonathan Kelley
f9b9bb9c0c publish: update core, core-macro, and html 2022-01-03 02:13:14 -05:00
Jonathan Kelley
06276edd0d feat: eanble bubbling 2022-01-03 02:11:26 -05:00
Jonathan Kelley
d84fc05386 feat: plug in bubbling 2022-01-03 02:06:42 -05:00
Jonathan Kelley
a95dead76d formatting: run cargo fmt 2022-01-03 01:20:05 -05:00
Jonathan Kelley
75fa7b4aa6 fix: make tests pass 2022-01-03 01:12:39 -05:00
Jonathan Kelley
420a30e5d4 feat: overhaul examples and clean things up 2022-01-03 00:42:17 -05:00
Jonathan Kelley
cafb7df736 docs: remove all usages of static closure syntax and update readme 2022-01-02 18:35:38 -05:00
Jonathan Kelley
d1560450ba wip: remove runner on hook and then update docs 2022-01-02 02:15:04 -05:00
Jonathan Kelley
4c85bcfdc8 awesome: arbitrary expressions excepted without braces 2021-12-30 03:14:47 -05:00
Jonathan Kelley
14961023f9 wip: polish some more things 2021-12-29 21:28:28 -05:00
Jonathan Kelley
2d58d380be publish: get web ready gto publish 2021-12-29 13:37:25 -05:00
Jonathan Kelley
639f9f5322 publish: bump macro crate 2021-12-29 13:31:52 -05:00
Jonathan Kelley
42c6d1772b publish: fix documentation page 2021-12-29 13:30:48 -05:00
Jonathan Kelley
18f1fa4637 publish: bump html crate 2021-12-29 13:30:07 -05:00
Jonathan Kelley
ddfa2bac3f publish: bump core version 2021-12-29 13:28:53 -05:00
Jonathan Kelley
8f9a3281e7 wip: add more svg elements 2021-12-29 11:17:39 -05:00
Jonathan Kelley
ad4a0eb319 wip: add more svg elements, update readme 2021-12-29 00:56:53 -05:00
Jonathan Kelley
944b3a8bc5 wip: clean up examples and demo list 2021-12-29 00:10:36 -05:00
Jonathan Kelley
3dc0e59876 fix: readme and examples syntax 2021-12-28 23:48:25 -05:00
Jonathan Kelley
a4f280d163 feat: more API updates 2021-12-28 23:20:01 -05:00
Jonathan Kelley
b3ac2ee3f7 wip: upgrade hooks 2021-12-27 15:03:43 -05:00
Jonathan Kelley
c0e0196a67 docs: update the docs 2021-12-26 14:22:40 -05:00
Jonathan Kelley
c7d001cbb4 wip: rip out unsafe task engine 2021-12-26 14:22:30 -05:00
Jonathan Kelley
cda759c659 examples: upgrade to new version of dioxus core.
also add the inline_props macro
2021-12-25 17:18:05 -05:00
Jonathan Kelley
21e00c114e chore: continue to consolidate 2021-12-21 01:11:27 -05:00
Jonathan Kelley
fa106be1f5 wip: clean it up a bit 2021-12-21 00:58:14 -05:00
Jonathan Kelley
b997b8ebbb feat: enable children properly 2021-12-21 00:46:10 -05:00
Jonathan Kelley
78d9056e35 feat: it works with a new bump each time!! 2021-12-20 23:31:33 -05:00
Jonathan Kelley
e2e4d431e1 wip: adjust memoization 2021-12-20 22:33:13 -05:00
Jonathan Kelley
934de21dd6 wip: miri stress tets 2021-12-18 23:03:59 -05:00
Jonathan Kelley
1c516aba6a chore: adjust semantics of placeholders and fragments 2021-12-18 15:49:30 -05:00
Jonathan Kelley
2c3a046426 wip: prepare to change our fragment pattern. Add some more docs 2021-12-18 15:17:32 -05:00
Jonathan Kelley
2b928372fb Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.1 2021-12-15 16:07:09 -05:00
Jonathan Kelley
0d480a4c43 Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 2021-12-15 16:06:15 -05:00
Jonathan Kelley
868f6739d2 fix: keyword length 2021-12-15 16:06:13 -05:00
Jonathan Kelley
b32665d721 Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 2021-12-15 16:05:20 -05:00
Jonathan Kelley
a33f7701fc fix: tags 2021-12-15 16:05:18 -05:00
Jonathan Kelley
3a706ac416 Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 2021-12-15 16:04:30 -05:00
Jonathan Kelley
e4c06ce8e8 docs: update cargo tomls 2021-12-15 16:04:27 -05:00
Jonathan Kelley
270dfc9590 Release dioxus-core v0.1.3, dioxus-core-macro v0.1.2, dioxus-html v0.1.0, dioxus-desktop v0.0.0, dioxus-hooks v0.1.3, dioxus-liveview v0.1.0, dioxus-mobile v0.0.0, dioxus-router v0.1.0, dioxus-ssr v0.1.0, dioxus-web v0.0.0, dioxus v0.1.0 2021-12-15 15:59:11 -05:00
Jonathan Kelley
58106a5529 fix: router version 2021-12-15 15:59:02 -05:00
Jonathan Kelley
0846d93d41 wip: bump versions 2021-12-15 15:58:20 -05:00
Jonathan Kelley
4de16c4779 docs: update local examples and docs to support new syntaxes 2021-12-15 15:56:53 -05:00
Jonathan Kelley
e495b09bf1 docs: fix table 2021-12-14 23:01:40 -05:00
Jonathan Kelley
3ddf395772 wip: docs 2021-12-14 22:59:34 -05:00
Jonathan Kelley
ded9696930 wip: fix ssr 2021-12-14 22:48:20 -05:00
Jonathan Kelley
2fd56e7619 wip: remove portals completely 2021-12-14 21:46:19 -05:00
Jonathan Kelley
8daf7a6ed8 wip: go back to noisy lifetime solution 2021-12-14 02:27:59 -05:00
Jonathan Kelley
0545d27182 wip: make warnings go away 2021-12-13 00:16:05 -05:00
Jonathan Kelley
597a0456f5 wip: update hooks 2021-12-13 00:14:47 -05:00
Jonathan Kelley
96b3d56e09 feat: move back to combined cx/props 2021-12-13 00:06:17 -05:00
Jonathan Kelley
e6c6bbdc1e polish: clean up the core crate 2021-12-12 19:47:13 -05:00
Jonathan Kelley
1e4a599d14 wip: rename fc to component 2021-12-09 21:19:31 -05:00
Jonathan Kelley
8814977eee wip: docs 2021-11-30 22:48:05 -05:00
Jonathan Kelley
52c7154897 fix: really big bug around hooks 2021-11-29 11:10:40 -05:00
Jonathan Kelley
36d89beb34 wip: rename 2021-11-28 16:25:42 -05:00
Jonathan Kelley
93d4b8ca7c wip: some docs and suspense 2021-11-23 15:53:57 -05:00
Jonathan Kelley
bab21a0aa1 wip: updates to router 2021-11-22 15:22:42 -05:00
Jonathan Kelley
a5f05d73ac wip: docs and router 2021-11-19 00:49:04 -05:00
Jonathan Kelley
8bf57dc21d chore: polish 2021-11-16 13:09:41 -05:00
Jonathan Kelley
25a8411485 wip: better desktop support 2021-11-16 01:25:38 -05:00
Jonathan Kelley
19df1bda10 feat: bubbling 2021-11-15 09:49:01 -05:00
Jonathan Kelley
9bd56ee499 wip: update readme 2021-11-12 16:06:33 -05:00
Jonathan Kelley
55e6dd9701 feat: wire tasks up 2021-11-12 01:36:33 -05:00
Jonathan Kelley
9d8c5ca5ab feat: it properly bubbles 2021-11-11 23:55:57 -05:00
Jonathan Kelley
11757ddf61 feat: fake bubbling 2021-11-11 22:18:16 -05:00
Jonathan Kelley
f2234068ba feat: events bubble now 2021-11-11 22:07:38 -05:00
Jonathan Kelley
b6262edd53 wip: bubbling reserves nodes 2021-11-11 21:50:08 -05:00
Jonathan Kelley
a21020ea57 wip: bubbling in progress 2021-11-11 21:34:20 -05:00
Jonathan Kelley
8acdd2ea83 feat: it compiles once more 2021-11-11 16:36:51 -05:00
Jonathan Kelley
74c6211408 feat: should be functional across the boar 2021-11-11 12:06:15 -05:00
Jonathan Kelley
c10c1f418b feat: wire up linked nodes 2021-11-11 11:49:07 -05:00
Jonathan Kelley
fd93ee89c1 feat: upgrade syntax 2021-11-10 17:09:52 -05:00
Jonathan Kelley
574d7fdb9e wip: remove scopechildren in favor of elements directly 2021-11-09 14:36:26 -05:00
Jonathan Kelley
b9fc5fc251 wip: move hooklist into scope 2021-11-09 12:18:45 -05:00
Jonathan Kelley
d2f0547692 wip: move testdom methods into virtualdom 2021-11-09 12:10:11 -05:00
Jonathan Kelley
f2e343c154 chore: cleanup src 2021-11-09 02:16:25 -05:00
Jonathan Kelley
77686ba329 fix: it compiles again 2021-11-09 02:11:44 -05:00