Amr Bashir
9f7a0a9f63
chore: tauri-mobile
-> cargo-mobile2
( #1518 )
2023-10-04 08:22:22 -05:00
Evan Almloff
9be7773ba7
add to tailwind example
2023-09-19 09:50:30 -05:00
Evan Almloff
c0f345e775
add if statements to test and rsx usage example
2023-09-19 09:48:56 -05:00
Evan Almloff
219c068283
Merge branch 'master' into events-2
2023-09-17 20:01:21 -05:00
Leonard
c866ae602b
Add system for creating component attributes + new #[component]
attribute ( #1448 )
...
* Add `#[component]` attribute + system for creating component attributes + other stuff
* Delete inlineprops.rs
* Update inline_props.rs
* Cargo fmt
* Fix clippy warnings and paths in props/mods.rs
* Include where clause in `#[inline_props]` output
* Allow Clippy type complexity in `LinkProps`
* Allow the type complexity lint for the entire link.rs file
* Remove snake_case -> PascalCase converter, but rather enforce PascalCase
Also:
- Put the second function inside the main one instead of besides it.
- Simplify
* Simplify type check lints so they don't return false positives
They will not always work, but they won't return any false positives, like for aliases. This is likely going to be replaced by a more polished Clippy-backed linting system.
* Fix #583
* Cargo fmt
* Add docs for `deserialize()` and remove useless comment
* Add `#[component]` to prelude
* Merge branch 'master' of https://github.com/tigerros/dioxus
* #[inline_props] is no more. Except in the docs folder, but that's going to be removed
* Remove docs folder
* Remove docs from workspace
* Resolve `DeserializerOutput` conversation
2023-09-15 09:13:36 -05:00
ealmloff
ea69811e70
Merge branch 'master' into bump-wry
2023-09-14 12:55:54 -05:00
Evan Almloff
b1b2537949
Merge branch 'master' into events-2
2023-09-04 07:44:59 -05:00
Marc Espín
95887e836c
fix: Add the --locked param to every cli installation command ( #1427 )
2023-09-04 07:28:38 -05:00
Evan Almloff
885580f3af
update to wry 0.31.0
2023-09-02 18:24:42 -05:00
Evan Almloff
baf36ab9ec
Merge branch 'master' into events-2
2023-09-02 18:14:36 -05:00
Stygmates
1b977fdce9
Add query segment example and documentation ( #1417 )
...
* fix a few new clippy lints
* Add query segment example
* Add trait documentation
* Change core package to root package
The core package contains the virtual dom implementation ([here](https://github.com/DioxusLabs/dioxus/tree/master/packages/core )). Root package might be a more clear way to refer to the main directory
---------
Co-authored-by: Evan Almloff <evanalmloff@gmail.com>
2023-09-02 10:24:30 -05:00
Evan Almloff
df222c121a
port examples to new events
2023-09-01 15:38:55 -05:00
Jani Mustonen
31f8bab20d
Add ScopeId::ROOT ( #1398 )
...
* add ScopeId::ROOT
* replace ScopeId(0) with ScopeId::ROOT
---------
Co-authored-by: Jani Mustonen <jani.mustonen@taitounited.fi>
2023-08-25 08:31:23 -05:00
Steven Pecht
bdfb3b6285
Update tailwind examples to work with multi-page apps ( #1339 )
...
* Update tailwind example to work with multi-page apps
Use the absolute path to `tailwind.css` so the example works with multi-page apps. Without this change, the style disappears on page reload.
* Update tailwind Dioxus.toml to use absolute path for tailwind.css
2023-08-12 08:34:42 -05:00
Jonathan Kelley
c95f70f55a
Merge pull request #1300 from Demonthos/signals
...
Complete Signals implementation
2023-08-11 13:05:04 -07:00
Evan Almloff
f7017fac2e
Fix the login form example
2023-08-08 15:45:09 -07:00
Evan Almloff
14c852010b
restore clock example
2023-08-08 13:31:38 -07:00
Evan Almloff
190c65b15d
fix memo and add tests
2023-08-07 14:31:03 -07:00
Evan Almloff
49001c59d3
add logging to clock example
2023-08-04 17:29:44 -07:00
Evan Almloff
b3fbbba711
fix signals in futures
2023-08-04 17:25:40 -07:00
Evan Almloff
a6f611eccf
fix subscriptions in events
2023-08-04 17:23:57 -07:00
Evan Almloff
cb4c46154d
fix scope context
2023-08-04 14:12:59 -07:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors
2023-07-31 18:49:54 -07:00
Evan Almloff
3eab363e51
Add authors to all crates
2023-07-31 17:30:18 -07:00
ealmloff
cfd62e274e
Make deprecated use router ( #1260 )
...
* make router props expansion better
* fix router data fields
* make a deprecated use_router hook
2023-07-27 10:32:23 -07:00
Jonathan Kelley
30f8218251
Add simpler router
2023-07-26 19:19:51 -07:00
Evan Almloff
e7a9161066
fix link component
2023-07-26 10:18:39 -07:00
Evan Almloff
5f0dd3af3e
it almost lives?
2023-07-25 18:14:48 -07:00
ealmloff
d637ef187c
fix all broken examples ( #1248 )
2023-07-25 14:30:08 -05:00
Evan Almloff
61dc549ba1
Make new enum router less breaking
2023-07-24 11:57:56 -07:00
Miles Murgaw
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
cd30b42e2d
Merge branch 'master' into jk/remove-dioxus-bin
2023-07-18 18:31:48 -07:00
Jonathan Kelley
41c4b57984
Merge pull request #1074 from kaid/directory-selection-dialog
...
Add directory support for file input.
2023-07-18 18:23:23 -07:00
Jonathan Kelley
a6002a6c42
Merge pull request #1197 from DioxusLabs/jk/simple-suspense
...
Rip out async components in favor of a simpler suspense
2023-07-18 18:10:11 -07:00
Evan Almloff
61e9fd9973
use :.. instead of :...
2023-07-18 16:34:27 -07:00
Evan Almloff
4c3fb1a33f
Merge branch 'master' into router-typesafe
2023-07-17 15:12:25 -07:00
Jonathan Kelley
e751f63030
Dont use suspense in dog app, remove from use_future
2023-07-14 17:17:08 -07:00
Jonathan Kelley
4ab554dfe4
Merge branch 'master' into jk/simple-suspense
2023-07-14 17:13:55 -07:00
Jonathan Kelley
d583e1c750
Fix clippy
2023-07-14 16:34:49 -07:00
Jonathan Kelley
cbd88bbcc3
Rip out async components
2023-07-14 16:15:20 -07:00
Jonathan Kelley
af49cb4ec6
Merge branch 'master' into master
2023-07-14 15:36:28 -07:00
Jonathan Kelley
78d383bf1f
Merge pull request #1128 from marc2332/feat/improved-docs
...
feat(docs): Improved shared state, use_effect and use_memo docs
2023-07-14 15:20:40 -07:00
Jonathan Kelley
df23c3c651
Update more docs
2023-07-14 13:58:49 -07:00
Jonathan Kelley
16763c065b
Rename dioxus to dx in examples and fullstack
2023-07-14 13:53:06 -07:00
ealmloff
cda9aad106
Merge branch 'master' into router-typesafe
2023-07-14 14:36:09 -06:00
Jonathan Kelley
2d8841cf70
Add lazy contexts to signals
2023-07-14 12:52:49 -07:00
marc2332
c07006e9a2
:bowtie:
2023-07-13 22:43:46 +02:00
marc2332
39bce476ae
tweaks
2023-07-13 19:06:43 +02:00
Kaid
e39d8708fa
Changed directory
to webkitdirectory
in bool_attrs
definitions.
2023-07-10 17:19:11 +08:00
Evan Almloff
05fb8c1e91
Merge branch 'master' into router-typesafe
2023-07-07 18:31:48 -07:00
Jonathan Kelley
d56fabfe9a
Merge branch 'master' into feat/window_close_behaviour
2023-07-06 10:50:27 -07:00
Jonathan Kelley
10a3b228f6
Add some logging and debug
2023-07-05 15:19:26 -07:00
Jonathan Kelley
ea3b199eb2
Android build working too
2023-07-05 14:35:08 -07:00
Jonathan Kelley
5506c568c0
move to newer wry
2023-07-05 13:44:24 -07:00
Jonathan Kelley
2ce8ded74d
FIx desktop for android
2023-07-05 12:49:41 -07:00
Jonathan Kelley
4343abf76d
Add better instructions
2023-07-05 12:20:00 -07:00
Jonathan Kelley
2ad85c9b28
Add a custom index.html for the viewport stuff
2023-07-05 12:06:24 -07:00
Jonathan Kelley
1a5936afda
Add iOS example to mainline!
2023-07-05 11:31:09 -07:00
Benedikt Terhechte
44025db5b0
add to example
2023-07-04 14:48:05 +02:00
marc2332
fb2669c3be
improved shared state example
2023-07-02 22:41:00 +02:00
Jonathan Kelley
6512c153dd
Fix merge errors
2023-06-30 12:48:25 -07:00
Jon Kelley
a0b89de4ca
Merge pull request #1057 from ndarilek/master
...
Add richer API for describing global shortcut accelerators.
2023-06-30 12:27:00 -07:00
Nolan Darilek
c84e028bd6
Add richer API for describing global shortcut accelerators.
2023-06-30 08:10:48 -05:00
Sean L
2b47602c27
Update README.md
...
Fixed incorrect tailwind url
2023-06-30 13:31:59 +02:00
marc2332
a3978d60a8
update
2023-06-28 00:17:36 +02:00
marc2332
8a2f9f3fcb
feat(docs): Improved shared state, use_effect and use_memo docs
2023-06-28 00:15:00 +02:00
DianQK
535435a4cf
Fix the issue of duplicate unique ID for atoms using newtype
.
...
The MergeFunctionsPass in LLVM merges identical functions (https://rust.godbolt.org/z/3nnr9nMne ), resulting in the same function addresses.
2023-06-21 21:50:10 +08: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
Evan Almloff
a9307e57e6
fix CI
2023-06-02 12:33:47 -05:00
Evan Almloff
07446386e6
fix external router examples
2023-06-01 14:10:33 -05:00
Evan Almloff
92755a381d
Merge branch 'upstream' into router-typesafe
2023-05-31 17:16:27 -05:00
Jon Kelley
7e96475951
Merge pull request #895 from Demonthos/inline-custom-elements
...
Allow raw elements if they include a dash
2023-05-29 15:05:19 +02:00
Evan Almloff
b91fb39142
Merge branch 'upstream' into router-typesafe
2023-05-23 11:24:31 -05:00
Jon Kelley
c86aaa6819
Merge pull request #912 from Demonthos/full-tailwind-css-example
...
Create complete tailwind example project with steps to setup tailwind
2023-05-18 13:17:56 +02:00
Jon Kelley
379ea09b12
Merge pull request #894 from Demonthos/query-system
...
Create onmounted Event
2023-05-18 13:17:15 +02:00
Evan Almloff
19436e210f
Merge branch 'upstream' into query-system
2023-05-05 11:09:25 -05:00
Icekey
f01db7461f
Merge branch 'DioxusLabs:master' into select_example
2023-04-27 21:07:29 +02:00
Evan Almloff
e1f02f8135
Merge branch 'upstream' into query-system
2023-04-26 18:00:39 -05:00
Jonathan Kelley
22cfff647c
Merge branch 'master' into implement-file-engine
2023-04-26 15:32:34 -07:00
Evan Almloff
2f8d6fb49f
fix clippy
2023-04-25 15:07:22 -05:00
Evan Almloff
c1e2592299
implement file events on desktop
2023-04-25 09:26:56 -05:00
Evan Almloff
e487cddd1e
Merge branch 'upstream' into implement-file-engine
2023-04-25 08:16:18 -05:00
Evan Almloff
b0a1f4773e
create file upload example
2023-04-25 08:16:11 -05:00
ealmloff
4b5bea171a
Merge branch 'master' into full-tailwind-css-example
2023-04-24 17:15:05 -05:00
Jon Kelley
6ea61d4c52
Merge pull request #975 from Demonthos/fix-generic-component-example
...
Fix clippy in the generic component example
2023-04-24 13:53:41 -07:00
Antonio Curavalea
459d8d69a7
examples: add PWA w/ Dioxus CLI template ( #977 )
...
* examples: add PWA w/ Dioxus CLI template
* ci: properly set workspace and dependencies
2023-04-23 18:26:23 -05:00
Evan Almloff
425d8c64dd
use the generic parameter in the generic component example
2023-04-23 11:54:40 -05:00
bluekey
ca0e1fb9ab
added select element example
2023-04-23 17:15:06 +02:00
Icekey
b4af761038
fix rng in svg dice example ( #970 )
...
fixed the rng range so that a 6 can be rolled
2023-04-22 11:09:41 -05:00
Evan Almloff
223c7efce2
Merge branch 'upstream' into query-system
2023-04-18 10:33:40 -05:00
Marc Espín
c113d96bbe
fix: Update logos and custom assets example ( #960 )
...
* fix: Update logo and custom assets example
* update old logos
2023-04-15 08:02:04 -05:00
Adrian Wannenmacher
90c7e22f8b
actually make clippy happy
2023-04-12 20:19:01 +02:00
Adrian Wannenmacher
231e32d76e
merge upstream changes
2023-04-11 19:21:48 +02:00
Jonathan Kelley
9571adea30
add counter example
2023-04-09 13:42:40 -07:00
Evan Almloff
2ca5ff96df
Merge branch 'upstream' into query-system
2023-04-04 17:36:27 -05:00
Ivan Tham
3aa7349db7
Add more features to todomvc ( #928 )
...
- toggle-all button
- double click modify todo item
- filter state show mouse pointer
- individual todo item remove button
- correct active item count
2023-04-02 20:03:33 -05:00
Evan Almloff
0029fed24a
create complete tailwind example project with steps to setup tailwind
2023-03-26 11:29:56 -05:00
Evan Almloff
c4027c2618
fix clippy
2023-03-26 07:23:32 -05:00
Evan Almloff
a551c0fcb8
add examples for onmounted
2023-03-24 11:32:42 -05:00