Evan Almloff
6ccbe662d2
Merge https://github.com/DioxusLabs/dioxus into tui_focus
2022-05-12 20:34:21 -05:00
Reinis Mazeiks
45980f9a1e
Update examples to avoid deprecated API
2022-05-12 15:00:43 +03:00
Reinis Mazeiks
aaf9d4665f
Update interpreter and example
2022-05-12 14:36:52 +03:00
Reinis Mazeiks
1bb8b04d87
Update examples to avoid deprecated fields
2022-05-12 11:03:51 +03:00
Reinis Mazeiks
d7e4fcda80
Implement idiomatic accessors for WheelData
2022-05-12 10:55:04 +03: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
YuKun Liu
3f4897cd1c
example: update example
2022-05-12 08:41:30 +08:00
YuKun Liu
31a2ded2b9
example: add window_zoom
example
2022-05-12 00:05:59 +08:00
YuKun Liu
77c22161b9
example: add window_zoom
example
2022-05-12 00:03:42 +08: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
5bddafb943
Update tui_keys example and web_sys to use new accessor methods
2022-05-07 18:28:15 +03:00
Reinis Mazeiks
81d3c990bf
Simplify mouse button tracking
...
delete the shitcodes
2022-05-07 16:11:48 +03:00
Reinis Mazeiks
285a6d080b
Add coordinates to tui_hover example
2022-05-07 15:32:19 +03:00
Reinis Mazeiks
6b2753bd4f
Update example
2022-05-07 10:12:08 +03:00
Reinis Mazeiks
3c447d7266
Documentation and examples
...
Also derive useful traits
2022-05-07 00:49:47 +03:00
Reinis Mazeiks
0dbd3e370e
Rusty MouseData API
2022-05-06 23:54:07 +03:00
Evan Almloff
39a65f86b1
Merge remote-tracking branch 'upstream/master' into pr/Demonthos/390
2022-05-05 12:34:18 -05:00
Reinis Mazeiks
152bad6433
rustfmt
2022-05-04 20:15:55 +03:00
Reinis Mazeiks
b5f5c6ebc1
Add example showcasing 3 different coordinate systems
2022-05-04 16:43:11 +03:00
Evan Almloff
592f6ca225
change button example to showcase tabindex
2022-05-03 17:50:04 -05:00
Evan Almloff
23376fef8e
move focus into event system
2022-05-03 16:44:53 -05:00
Evan Almloff
35ee243d0d
intigrate focus system with tui
2022-05-03 11:02:35 -05:00
Jonathan Kelley
07529e491c
fix: subscription should apply internally to hook
2022-04-24 20:51:52 -04:00
Jonathan Kelley
70a6f95c8c
fix: allow fermi atomref to be cloned
2022-04-24 20:47:22 -04:00
Jonathan Kelley
f67b71c5a5
feat: custom element example
2022-04-24 19:44:20 -04:00
Evan Almloff
9d9aa33e25
add builder pattern and update examples
2022-04-21 06:29:22 -05:00
Evan Almloff
931aceca43
remove stress test
2022-04-20 21:50:49 -05:00
Evan Almloff
c8919ad77b
add benchmark
2022-04-20 21:44:37 -05:00
Jonathan Kelley
29bda8aa48
docs: use tailwindv3 in examples
2022-04-16 16:59:41 -04:00
Jonathan Kelley
049976d23a
feat: allow customizing the index and head
2022-04-16 16:53:47 -04:00
Jon Kelley
56ea9e42fa
Merge pull request #318 from overlisted/eval-stuff
...
Eval stuff
2022-04-04 13:01:35 -04:00
Joshua Kifer
213f54c4d8
Convert all logs to trace
2022-03-27 09:23:44 -06:00
Jonathan Kelley
d50e86492e
fix: instantly resolving futures should not use popping
2022-03-24 11:15:07 -04:00
Ilya Maximov
ee22881e08
Merge branch 'master' into eval-stuff
2022-03-21 22:00:17 +01:00
Ilya Maximov
f4b58c9bb6
add the example to the list
2022-03-21 21:57:51 +01:00
Jon Kelley
4edaeb0aae
Merge pull request #324 from overlisted/inlineprops-generics
...
`#[inline_props]` generics
2022-03-20 20:28:06 -04:00
Jon Kelley
41b7de365e
Merge pull request #320 from naturalethic/form-input-event-radio-value
...
Capture correct radio button value in a form input event
2022-03-20 20:10:52 -04:00
Jon Kelley
d3ac3db296
Merge pull request #315 from Synphonyte/master
...
Option<...> props are optional by default.
2022-03-20 19:59:35 -04:00
Ilya Maximov
a762c25b7e
docs: typo in readme
2022-03-20 21:04:48 +01:00
Ilya Maximov
ff459f7297
docs: an example for inlineprops
2022-03-20 20:59:50 +01:00
Joshua Kifer
ae2e8a8038
Add some radio buttons to the form example
2022-03-19 17:05:48 -06:00
Ilya Maximov
5e475fadd9
add a desktop eval example
2022-03-19 03:11:30 +01:00
Maccesch
a2825fb13c
updated examples with the new optional props
2022-03-16 06:36:39 +00:00
Jonathan Kelley
2d2de36eed
fix: filtering for buttons
2022-03-13 18:53:20 -04:00
Jonathan Kelley
841ad91fe1
fix: dblclick instead of doubleclick
2022-03-11 10:49:38 -05:00
Jonathan Kelley
ff81f1c819
feat: update release posts
2022-03-09 18:11:40 -05:00
Jonathan Kelley
50d509688d
feat: update examples for tui
2022-03-09 13:36:30 -05:00
Jonathan Kelley
3acd643afb
docs: more docs and an errorhandling example
2022-03-08 14:15:18 -05:00
Jonathan Kelley
0f87ebb277
docs: even more docs
2022-03-06 20:37:57 -05:00
Jonathan Kelley
a4ab2d9de0
feat: enable addassign for usestate
2022-03-05 17:07:34 -05:00
Jonathan Kelley
e4fac574ed
docs: fix readme and links
2022-03-05 16:57:09 -05:00
Jonathan Kelley
977ae1d44e
docs: update readme with new usestate
2022-03-05 16:50:16 -05:00
Jonathan Kelley
fb1a848124
fix: format examples
2022-03-05 16:10:17 -05:00
Jonathan Kelley
398ebcf283
examples: update to new usestate
2022-03-05 15:59:35 -05:00
Jonathan Kelley
35b22923b2
fix: some examples
2022-03-05 15:25:09 -05:00
Jonathan Kelley
ea7dfd8be4
examples: make crm use router
2022-03-05 14:36:25 -05:00
Jonathan Kelley
bec2f4129b
Merge pull request #203 from DioxusLabs/jk/local-router
...
Feat: abstract the router on a per-platform basis and add docs
2022-03-05 14:16:18 -05:00
Jonathan Kelley
f47d2900fb
feat: add a redirect
2022-03-05 14:06:54 -05:00
Jonathan Kelley
6c3f5195f4
feat: re-unify set_state
2022-03-04 14:29:45 -05:00
Jonathan Kelley
c19995fed9
fix: debug multistage edits in desktop
2022-03-04 13:17:01 -05:00
Jonathan Kelley
c7627f0b93
fix: tests pass
2022-03-04 13:16:37 -05:00
Jonathan Kelley
901bd5b0cd
examples: clippy
2022-02-28 02:38:17 -05:00
Jonathan Kelley
f69430a308
Merge branch 'master' into jk/all-the-css
2022-02-26 18:17:56 -05:00
Jonathan Kelley
2b17717323
Merge branch 'master' into jk/coroutine-coroutineoverhaul
2022-02-26 17:32:11 -05:00
Jonathan Kelley
8d56552908
fix: focusout issue on todomvc
2022-02-23 18:17:28 -05:00
Jonathan Kelley
07bea88fcc
fix: login example
2022-02-23 08:44:16 -05:00
Jonathan Kelley
6b17522507
feat: textarea example
2022-02-22 21:36:59 -05:00
Jonathan Kelley
9211e1fc78
feat: use future fully figured out
2022-02-21 15:39:47 -05:00
Jonathan Kelley
28716248c5
fix: ping window after virtualdom is ready
2022-02-19 17:34:44 -05:00
Jonathan Kelley
d461ffc011
feat: integrate fermi
2022-02-17 10:38:51 -05:00
Jonathan Kelley
b57987cfb1
chore: clean up example a bit
2022-02-16 14:17:47 -05:00
Jonathan Kelley
4d965c8571
feat: simplify login example
2022-02-16 14:16:03 -05:00
Jonathan Kelley
babe862739
fix: login example to use proper methods
2022-02-16 14:11:31 -05:00
Jonathan Kelley
c6bdb5db76
fix: login form
2022-02-16 14:08:57 -05:00
Jonathan Kelley
4fd4fa0b09
Merge pull request #94 from JtotheThree/master
...
Login Form Example
2022-02-16 14:02:47 -05:00
Jonathan Kelley
9f60dfa8b0
feat: add all the css
2022-02-11 15:50:07 -05:00
mrxiaozhuox
8801e4be00
feat: change example
2022-02-11 11:29:00 +08:00
mrxiaozhuox
04d3098c9b
feat: add more window api
example
2022-02-11 11:21:25 +08:00
mrxiaozhuox
69abb89823
feat: commit code
2022-02-11 10:57:53 +08:00
mrxiaozhuox
da0f596cde
feat: commit code
2022-02-11 10:36:29 +08:00
mrxiaozhuox
557201816b
fix: borderless example
2022-02-11 09:51:12 +08:00
mrxiaozhuox
62f8e71f7f
fix: borderless example
2022-02-11 09:05:32 +08:00
Jonathan Kelley
a939df677a
example: use onsubmit to showcase entry
2022-02-04 21:02:53 -05:00
Jonathan Kelley
169f1dac11
Merge branch 'master' into jk/form-ma
2022-02-04 18:10:26 -05:00
Jonathan Kelley
6f10af0cc5
Merge pull request #200 from DioxusLabs/jk/no-more-buildrs
...
fix: remove code generation entirely
2022-02-04 15:07:13 -05:00
Jonathan Kelley
b4391a3eaa
fix: tweak the js bindings while we're at it
2022-02-04 02:44:27 -05:00
Jonathan Kelley
d758dc6065
feat: form works in web
2022-02-04 02:13:35 -05:00
Jonathan Kelley
89cfda4bf9
fix: add attributions
2022-02-03 13:21:20 -05:00
Jonathan Kelley
a9ac0568e2
fix: allow prevent_default on svg
2022-02-03 13:19:41 -05:00
Jonathan Kelley
7c06b3a9a2
Merge branch 'master' into jk/form-ma
2022-02-01 15:24:19 -05:00
Jonathan Kelley
0c0f638c47
Merge pull request #180 from mrxiaozhuox/borderless-frame
...
Add support for desktop context, borderless frames, minimize, maximize, and other window-related goodies through the imperative `use_window` hook.
2022-01-31 19:53:27 -05:00
mrxiaozhuox
bead035969
feat: export use_window
2022-02-01 08:43:54 +08:00
Jonathan Kelley
6905bf98d7
chore: clean up examples and fix link opening code
2022-01-31 19:40:48 -05:00
mrxiaozhuox
f1fe8f1d2a
fix: change hooks name
2022-02-01 08:39:31 +08:00
mrxiaozhuox
366cf75887
feat: add use_desktop_context
hook
2022-01-31 19:39:44 +08:00
mrxiaozhuox
e4eb982a36
fix: format code
2022-01-31 10:11:58 +08:00
mrxiaozhuox
a0ffe66a37
feat: add borderless
example
2022-01-31 09:47:09 +08:00
mrxiaozhuox
169028705d
feat: add DesktopContext
2022-01-31 00:33:14 +08:00
Jonathan Kelley
6e4ed9e351
examples: fixup asset example
2022-01-27 16:37:09 -05:00
Jonathan Kelley
430cde7068
feat: default asset server
2022-01-27 16:36:17 -05:00
Jonathan Kelley
a8952a9ee8
fix: exampels
2022-01-25 21:41:40 -05:00
Jonathan Kelley
5c4bd0881b
Merge branch 'master' into jk/update-hooks
2022-01-25 16:19:12 -05:00
Jonathan Kelley
1d964c54e5
chore: fix cargo fmt
2022-01-24 19:54:27 -05:00
Jonathan Kelley
26ada2c7c1
chore: make clippy happier
2022-01-24 19:52:12 -05:00
Jonathan Kelley
f66d17ca84
wip: pass form data between web and desktop
2022-01-22 14:53:59 -05:00
Jonathan Kelley
95e93ed0bc
feat: remove dioxus id on non-event elements
2022-01-21 15:06:57 -05:00
Jonathan Kelley
8c7473d194
Merge pull request #138 from mrxiaozhuox/master
...
fix: `dog-app` breed change
2022-01-19 08:19:11 -05:00
YuKun Liu
16d2074fcf
fix: dog-app
breed change
2022-01-19 20:14:41 +08:00
Jonathan Kelley
887f69d5b4
Merge pull request #133 from mrxiaozhuox/master
...
The desktop app will default open link in browser
2022-01-18 23:09:40 -05:00
YuKun Liu
f006f50317
feat: move rpc
to handler
2022-01-18 14:52:14 +08:00
Jonathan Kelley
8d3ac3ff14
Merge pull request #107 from autarch/autarch/half-assed-router
...
A partial implementation of the router and associated bits
2022-01-18 00:01:34 -05:00
YuKun Liu
9e04ce5342
feat: open_browser
bool attribute
2022-01-18 09:32:27 +08:00
YuKun Liu
5233ee97d9
fix: format code
2022-01-18 09:20:36 +08:00
YuKun Liu
a0f60152bc
feat: link open in browser
2022-01-18 09:19:12 +08:00
Jonathan Kelley
58839f47ba
update: modify usestate to be borrowed
2022-01-16 15:56:48 -05:00
Jonathan Kelley
47bc4e4a44
feat: add "optional" flag for props
2022-01-16 15:27:41 -05:00
Dave Rolsky
e06eac1ce5
More WIP router implementation
2022-01-13 12:26:49 -06:00
yuniruyuni
388acf3277
docs: allow build core_reference/children example
...
It needs lifetime parameters.
2022-01-12 03:12:10 +09: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
9ae981a1af
wip: drag and drop support
2022-01-10 12:57:39 -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
c8535fb184
fix: example bugged out
2022-01-10 03:05:49 -05:00
Jonathan Kelley
d2372717bd
feat: flatten props attrs
2022-01-10 02:57:03 -05:00
YuKun Liu
8f4aa84f1a
feat: bool attr white list
2022-01-09 02:02:23 +08:00
Jonathan Kelley
3d90a2616d
feat: add disabled example
2022-01-08 02:10:47 -05:00
Jonathan Kelley
43a368c8bd
chore: remove unused import in example
2022-01-07 22:13:05 -05:00
JtotheThree
e69fbb4baa
login_form example
2022-01-07 20:20:52 -06:00
Jonathan Kelley
cd5242bfc4
example: remove unncessary cfg
2022-01-07 12:14:38 -05:00
Jonathan Kelley
1c691e899c
tweak: example
2022-01-07 11:53:19 -05:00
Jonathan Kelley
c439b0ac7e
fix: component pass thru events
2022-01-07 11:51:25 -05:00
Jonathan Kelley
b49928a4ac
fix: formatting
2022-01-07 11:27:58 -05:00
YuKun Liu
347a11c8c4
fix: format example code
2022-01-08 00:16:28 +08:00
YuKun Liu
0742deed82
fix: calculator display
2022-01-07 22:17:19 +08:00
YuKun Liu
11172db7f6
fix: calculator example
2022-01-07 07:45:21 +08:00
YuKun Liu
db5b1e1916
fix: calculator example
2022-01-07 07:36:22 +08:00
YuKun Liu
859be4a2f6
fix: calculator example
2022-01-07 02:08:14 +08:00
Jonathan Kelley
4aadec1e30
fix: ci and bug in setter
2022-01-05 22:15:19 -05:00
Jonathan Kelley
ddccc51daf
fix: windows ci
2022-01-05 17:48:11 -05:00
Jonathan Kelley
bd341f5571
fix: tests
2022-01-05 17:30:12 -05:00
Jonathan Kelley
427b126bc1
feat: add prevent default attribute and upgrade router
2022-01-05 16:34:24 -05:00
Jonathan Kelley
b96491fe16
wip: bump mobile
2022-01-03 14:04:31 -05:00
Jonathan Kelley
3de776c42a
docs: fix the reference code
2022-01-03 13:26:15 -05:00
Jonathan Kelley
06276edd0d
feat: eanble bubbling
2022-01-03 02:11:26 -05:00
Jonathan Kelley
a95dead76d
formatting: run cargo fmt
2022-01-03 01:20:05 -05:00
Jonathan Kelley
5da0a0c97e
docs: rename dog app example
2022-01-03 01:16:15 -05:00
Jonathan Kelley
75fa7b4aa6
fix: make tests pass
2022-01-03 01:12:39 -05:00
Jonathan Kelley
15b72cd7eb
examples: clean up suspense example
2022-01-03 00:46:06 -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