Commit graph

1133 commits

Author SHA1 Message Date
Jon Kelley
d9e14db434
Merge pull request #417 from Demonthos/master
handle backtab for tui
2022-06-13 11:13:00 -04:00
Yin Jifeng
3cbf8ed6fa fix: remove task id from scope when success 2022-06-13 18:43:36 +08:00
Yin Jifeng
814235f145 docs: update func names 2022-06-13 18:43:36 +08:00
Yin Jifeng
7576426c93 core: cleanup tasks polling fn 2022-06-13 18:43:36 +08:00
Yin Jifeng
c97f051bbd fermi: set atom value even it doesn't exist 2022-06-13 18:32:03 +08:00
Jon Kelley
e97072f387
Merge pull request #438 from Demonthos/stretch2_relative_layout
Use Taffy instead of stretch2 for tui and native core
2022-06-11 10:45:01 -04:00
Jon Kelley
03973f692e
Merge pull request #385 from MuhannadAlrusayni/master
feat: Support generic components in `rsx!()` macro
2022-06-11 10:32:31 -04:00
Evan Almloff
29b3503da8 fmt 2022-06-10 17:49:04 -05:00
Evan Almloff
69ecc9caaf update tui tests 2022-06-10 17:47:43 -05:00
Demonthos
c1112cfd3a
Merge branch 'master' into stretch2_relative_layout 2022-06-10 17:41:51 -05:00
Evan Almloff
44686e217f remove empty match 2022-06-10 17:33:19 -05:00
Evan Almloff
dcfe60c164 use taffy instead of stretch2 2022-06-10 17:23:30 -05:00
Jon Kelley
ea4eb218ab
Merge pull request #422 from rMazeiks/fix-web-missing-event-types
Fix web missing event types
2022-06-10 11:44:38 -04:00
Jon Kelley
8349e252b6
Merge pull request #434 from CGQAQ/patch-1
fix(desktop): makes release build working
2022-06-10 11:43:57 -04:00
Jon Kelley
0dbdaf1973
Merge pull request #436 from Demonthos/fix_remove_style
remove style attributes correctly for the js interpreter
2022-06-10 11:43:01 -04:00
CGQAQ
030f6d58fb conditional devtools 2022-06-10 06:04:54 +08:00
Evan Almloff
38de26d0e4 remove attributes correctly 2022-06-09 10:31:11 -05:00
Jason
09b1d379d7
fix(desktop): makes release build working 2022-06-09 16:55:53 +08:00
Muhannad Alrusayni
dded91a589 doc: put docs in once place instead of two 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
252f9343b8 fix: Support Div () as component
previously I from some reason I thought this not allowed syntax. Some test
failed because of my misunderstood, so now I fix this :D
2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
03a14f4a86 fix: element start with lowercase letter again :D 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
062f986841 refactor: Remove unused types from scope 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
37f7fe2ac6 fix: Element must be of lowercase letters only 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
690efade88 fix: Support Input::<..> style to for generic components
before that, we accepted this style `Input<..>` but to be consistent
with Rust syntax this is dropped now.

> For reference, the two ways of specifying explicit type parameters in
> Rust are:
> // for functions
> let _ = foo::<MyType>();
>
> // for structs
> let _ = Foo::<MyType> { ... };
>
> by @jkelleyrtp
2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
5b079075d7 refactor: clean up commented code. 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
0b5b7f09db feat: Support generic component with inline_props with some limitation 2022-06-04 13:40:50 +03:00
Muhannad Alrusayni
a55b56b403 feat: Support generic components in rsx!() macro 2022-06-04 13:40:50 +03:00
王一旋
2433b9d305 docs: examples of mistakes
docs: add hard_diff example missing parameter
2022-06-02 10:29:41 +08:00
Demonthos
6ab79a11c0
Merge branch 'DioxusLabs:master' into master 2022-05-27 18:24:47 -05:00
Jon Kelley
fe1279a1c5
Merge pull request #415 from mrxiaozhuox/patch-2 2022-05-24 12:40:55 +03:00
Reinis Mazeiks
f792ed7a17 Update virtual_event_from_websys_event based on make_synthetic_event in the desktop crate 2022-05-23 10:12:12 +03:00
Reinis Mazeiks
60e74b2ec0 Add missing event types to web (copied from desktop)
Related: #416
2022-05-23 10:12:11 +03:00
Evan Almloff
43d750c329 fix clippy 2022-05-22 21:21:28 -05:00
Evan Almloff
db1866090a fix broken doc links 2022-05-22 20:44:32 -05:00
Evan Almloff
d6eaf8778f handle backtab 2022-05-21 18:08:52 -05:00
YuKun Liu
8346525db5
Update README.md 2022-05-21 23:33:17 +08:00
YuKun Liu
b964f7c802
Update README.md 2022-05-21 10:11:07 +08:00
duanzhou
328bab0f5b Fix: enable dioxus-core serialize feature in dioxuse-web 2022-05-18 00:30:36 +08:00
Jon Kelley
0ac5e76d98
Merge pull request #398 from rMazeiks/rusty-mousedata
Idea: Better, more Rusty, MouseData
2022-05-11 23:18:39 -04:00
Reinis Mazeiks
765baf6e48 Rename module input to avoid naming conflict with element of the same name
Not sure if this was supposed to be allowed, but it was causing https://github.com/rust-lang/rust/issues/96934
2022-05-11 13:47:58 +03:00
Reinis Mazeiks
90cb221b82 Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-mousedata 2022-05-11 13:45:34 +03:00
YuKun Liu
77a92a1cf6 feat: use_window add print & devtool 2022-05-11 14:56:37 +08:00
YuKun Liu
4f55fcb84a feat: use_window add set_zoom_level 2022-05-11 14:49:46 +08:00
YuKun Liu
8aadeff9d2 fix: add eval script failed log 2022-05-11 14:29:31 +08:00
YuKun Liu
b7e9dca87c fix: add eval script failed log 2022-05-11 14:09:31 +08:00
Evan Almloff
a5b9200e47 calculate absolute position 2022-05-10 18:13:05 -05:00
Rowin Hernández
95573d1f54
Update useref.rs defualt -> default 2022-05-09 18:48:50 +01:00
Reinis Mazeiks
5bddafb943 Update tui_keys example and web_sys to use new accessor methods 2022-05-07 18:28:15 +03:00
Reinis Mazeiks
b7447503ea Merge branch 'master' of https://github.com/DioxusLabs/dioxus into rusty-mousedata
 Conflicts:
	packages/tui/src/hooks.rs
2022-05-07 17:56:03 +03:00
Jon Kelley
dab24e9ad9
Merge pull request #402 from Demonthos/tui_preformance
Tui performance improvements
2022-05-07 10:32:09 -04:00