Commit graph

226 commits

Author SHA1 Message Date
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
Marc Espín
c8c4e85e65
feat: Remove unused deps (#1447)
* feat: Reduce dioxus-cli deps

* remove more unused deps
2023-10-09 10:14:46 -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
Bruce Mitchener
d8704a0447
deps: Update keyboard-types to 0.7. (#1378) 2023-08-21 09:28:32 -05:00
Evan Almloff
6876d2da1c fix clippy 2023-08-15 13:22:06 -05:00
Evan Almloff
24c626b306 fix clippy 2023-08-08 13:43:57 -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
Evan Almloff
20296b5038 fix some examples that used the private API 2023-07-26 16:50:04 -07:00
Evan Almloff
2d51a1c4f2 make more of core private 2023-07-26 16:17:48 -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
Andrea Frigido
dccad58f1d Update license field following SPDX 2.1 license expression standard 2023-07-20 18:00:07 +01:00
Jonathan Kelley
f4b3be1b13
Merge pull request #940 from Demonthos/make-widgets-cross-framework 2023-07-11 20:47:01 -07:00
Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions (#1167) 2023-07-08 11:04:27 -05:00
Evan Almloff
d99a5f3338 Merge branch 'master' into make-widgets-cross-framework 2023-06-30 12:44:15 -07:00
Jon Kelley
bfd7562ddb
Merge branch 'master' into feat/native-core-optional-deps 2023-06-30 12:30:39 -07:00
Evan Almloff
5f873511c5 use workspace dependancies 2023-06-19 14:29:11 -05:00
marc2332
5ea04017e9
renamed the feature 2023-05-20 22:57:17 +02:00
marc2332
c741a32f4a
resolved conflicts 2023-05-20 22:10:54 +02:00
marc2332
02355ddd4c
feat: Move layout_attributes behind a feature in native-core 2023-05-20 22:06:35 +02:00
Nico Burns
287227bf48 Fix clippy lints 2023-05-17 13:13:57 +01:00
Nico Burns
67d99b3a16 Add support for parsing grid value of Display property 2023-05-16 20:24:44 +01:00
Nico Burns
8010d9b4e3 Fix unused import 2023-05-16 19:15:29 +01:00
Nico Burns
c1f7600085 native-core: add support for CSS Grid properties 2023-05-16 19:10:11 +01:00
Nico Burns
2b0a86701e Upgrade Taffy to v0.3.12] 2023-05-16 10:46:13 +01:00
Evan Almloff
ed4709101c fix duplicate example names 2023-05-02 09:38:58 -05:00
Evan Almloff
8669a5eb0e remove unused shipyard-heigharchy 2023-04-20 08:55:35 -05:00
Evan Almloff
5d9d9e7441 fix clippy 2023-04-17 13:44:44 -05:00
Evan Almloff
9877b0f0b1 finish shadow dom docs 2023-04-17 12:41:54 -05:00
Evan Almloff
efa7305794 Port widgets to the new system 2023-04-13 10:29:38 -05:00
Evan Almloff
4e582d0374 custom element test passing 2023-04-12 11:35:57 -05:00
Evan Almloff
43372c7609 Merge branch 'upstream' into make-widgets-cross-framework 2023-04-12 10:06:58 -05:00
Evan Almloff
788c00274e create a shadow dom when a custom element is mounted 2023-04-12 10:05:09 -05:00
Evan Almloff
4bc5d457ae create custom element test 2023-04-12 10:03:55 -05:00
Evan Almloff
d29514968f fix native core dependancies in a different direction than the pass direction 2023-04-10 11:12:54 -05:00
Evan Almloff
500a73abae allow registering custom element and fix deadlock 2023-04-08 19:01:48 -05:00
Evan Almloff
60be849ff0 handle passes entering or avoiding the shadow tree 2023-04-08 18:53:53 -05:00
Evan Almloff
32945998c3 implement removing subtrees 2023-04-07 11:23:37 -05:00
Evan Almloff
874956bc50 intial implementation of shadow trees 2023-04-07 11:11:46 -05:00
Evan Almloff
b2c87f5c47 create scafolding for the shadow dom 2023-04-06 16:59:25 -05:00
Evan Almloff
8b5f2cb02f Merge branch 'upstream' into make-widgets-cross-framework 2023-04-06 14:07:01 -05:00
Evan Almloff
a9b5c92fbb avoid duplicating dirty nodes in native core 2023-03-28 08:35:57 -05:00
Evan Almloff
e4cb8c3aa0 fix Dirty Nodes for large NodeIds 2023-03-24 13:41:00 -05:00
Evan Almloff
6bc9bc6ef9 fix nodes not being marked as dirty with multiple mutations 2023-03-24 12:57:19 -05:00
Evan Almloff
625dc662d2 make TUI widgets cross framework 2023-03-24 12:43:51 -05:00
Evan Almloff
f0bcb3c2c6 make dioxus intigration generic over custom value type 2023-03-19 07:14:35 -05:00
Evan Almloff
9a16687bdc fix custom attribute values and add example 2023-03-18 07:16:53 -05:00
Evan Almloff
a974fb3a8a fix clippy lints in native-core tests 2023-03-14 18:07:52 -05:00
Evan Almloff
8b5551e5d2 fix formatting 2023-03-14 17:26:59 -05:00
Evan Almloff
a37b29947b Remove the box::new passed into RealDom::new 2023-03-14 16:35:11 -05:00