Evan Almloff
3865f44081
make desktop compile
2024-01-05 14:39:45 -06:00
Evan Almloff
dccfba12d8
Merge branch 'master' into events-2
2024-01-04 19:02:00 -06:00
Evan Almloff
3ad16ddd37
rip out more lifetimes
2024-01-04 18:33:01 -06:00
Jonathan Kelley
799be5e4e3
Merge branch 'master' into jk/global-window-fun
2024-01-04 10:22:10 -08:00
Jonathan Kelley
73637987f3
Merge pull request #1719 from willcrichton/dev
...
Add custom asset handler to desktop config
2024-01-04 09:56:12 -08:00
Evan Almloff
682beeccfd
fallback to global attributes when mapping rsx rosetta html attribute names
2024-01-03 15:45:19 -06:00
Evan Almloff
bc557906fe
fix formatting
2024-01-03 15:18:37 -06:00
Evan Almloff
afb258b658
Fix elements and attributes mapping for dx translate
2024-01-03 15:18:27 -06:00
ealmloff
937be8b752
fix the on double click event and depreciate ondblclick ( #1743 )
2024-01-03 14:02:08 -06:00
Alex Parrill
6b7545f60a
Add loading attribute to img element ( #1699 )
...
Useful for lazy loading: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading
2023-12-07 16:13:50 -06:00
Jonathan Kelley
ecb1b61b65
Merge pull request #1664 from ealmloff/fix-svg-hot-reload
...
Fix hot reloading svg elements
2023-12-06 21:34:05 -08:00
Evan Almloff
141554a786
remove logging
2023-11-26 09:23:27 -06:00
Evan Almloff
1c0b33cef4
fix hot reloading svg elements
2023-11-26 09:21:27 -06:00
tigerros
d9220d4e42
Add it ( #1660 )
2023-11-23 16:44:39 -06:00
Evan Almloff
23090cb56b
optimize fullstack compile times
2023-11-21 14:46:47 -06:00
ealmloff
20bbf95979
document parsed_values and FormValue
2023-11-14 10:45:53 -06:00
Bunny Bites
a74e6d82c7
rename parse_json to parsed_values
2023-11-12 13:09:51 +05:30
Bunny Bites
13a82a3705
remove serde and serde_json from serialize dependency.
2023-11-11 21:55:08 +05:30
Bunny Bites
48295b021c
remove optional config of serde_json
2023-11-11 21:27:44 +05:30
Bunny Bites
8183935f66
remove unwanted cloning while passing reference.
2023-11-11 09:36:26 +05:30
Bunny Bites
c6b39c05b7
1. remove value_types from FormData.
...
2. modify type of values to accept dynamic type.
2023-11-10 11:44:19 +05:30
Bunny Bites
9f0e000295
provide proper error message
2023-11-09 11:09:07 +05:30
Bunny Bites
2cbbdc23c6
add impl fn for FormData to get input types
2023-11-09 11:04:47 +05:30
Bunny Bites
1a9d1eda19
optimize hashmap insertion
2023-11-09 00:41:50 +05:30
Bunny Bites
f1533781a4
add fn to convert hashmap to json
2023-11-09 00:38:22 +05:30
Bunny Bites
d54ec57192
1. migrated code to form.rs
...
2. made get_parsed_values as private fn.
3. handled multi-valued data while parsing
2023-11-05 08:16:09 +05:30
Evan Almloff
5fdff4b7ed
bump wry to 0.34
2023-10-31 13:49:29 -05:00
Evan Almloff
77d53df532
Merge branch 'master' into pr/atty303/1349
2023-10-31 13:39:20 -05:00
ealmloff
5bb06b9719
Merge branch 'master' into events-2
2023-10-30 15:37:29 -05:00
Jonathan Kelley
dd4547d753
Feat: add global context functions
...
Add functions like window() and router() to
allow dynamically grabbing global contexts
without have to use the hook variants.
Deprecates the existing hook variants to
discourage folks from adding more noise
to their codebases.
2023-10-23 16:26:10 -04:00
Evan Almloff
3bf6d2d7cf
add must use to several hooks
2023-10-14 12:08:54 -05:00
Oak
f3a749538b
feat: initial_checked attribute for inputs ( #1540 )
...
Mapped to defaultChecked property of HTMLInputElement.
2023-10-12 08:12:09 -05:00
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
ealmloff
072ca3529b
Merge branch 'DioxusLabs:master' into events-2
2023-10-02 19:48:52 -05:00
Oak
5bcb772511
feat: initial_selected attribute for options ( #1508 )
2023-10-02 14:08:09 -05:00
Evan Almloff
ee25c03e74
fix some clippy lints
2023-09-27 10:13:45 -05:00
Evan Almloff
b60671e0fe
fix non extending attributes
2023-09-27 10:02:49 -05:00
Evan Almloff
7033276c34
Merge branch 'master' into pr/atty303/1349
2023-09-20 16:19:23 -05:00
Evan Almloff
fc8c25280a
allow many attributes to be attached to one element
2023-09-20 16:02:04 -05:00
Evan Almloff
dc446b5e5b
fix extending an element
2023-09-19 16:38:27 -05:00
Evan Almloff
219c068283
Merge branch 'master' into events-2
2023-09-17 20:01:21 -05:00
Evan Almloff
847801908f
Merge branch 'master' into add-file-data-drag-event
2023-09-17 18:56:59 -05:00
marc2332
7f8c963cd9
fix: Update doc links from v3 to v4
2023-09-16 19:03:27 +02:00
Evan Almloff
27f4b3f345
add touches_changed and target_touches
2023-09-12 17:45:07 -05:00
Evan Almloff
c10700c962
add touch data to touch events
2023-09-12 17:28:55 -05:00
Evan Almloff
b47064165e
Merge branch 'events-2' of https://github.com/Demonthos/dioxus into events-2
2023-09-12 10:01:55 -05:00
Evan Almloff
a9bb04722f
split the point interaction trait into smaller traits for touch compatibility
2023-09-12 10:01:53 -05:00
ealmloff
f449823d10
Merge branch 'master' into events-2
2023-09-12 09:33:54 -05:00
Evan Almloff
c55c17cb81
switch to tracing for logging
2023-09-06 17:47:33 -05:00
Evan Almloff
d06e64e5ad
fix dioxus-tui events
2023-09-06 12:51:02 -05:00
Valentin Golev
e8ea228759
add initial_value to textarea ( #1434 )
2023-09-06 12:49:29 -05:00
Evan Almloff
0ab7a02777
fix clippy
2023-09-05 21:30:20 -05:00
Evan Almloff
bd38cddc9f
fix dioxus core event tests
2023-09-04 19:17:43 -05:00
Evan Almloff
df222c121a
port examples to new events
2023-09-01 15:38:55 -05:00
Evan Almloff
dee92b83be
remove the serde feature flag from enumset
2023-09-01 15:06:30 -05:00
Evan Almloff
364654e1fd
fix clippy with events
2023-08-31 16:43:24 -05:00
Evan Almloff
bf90b7584e
add some inline hints
2023-08-31 16:42:33 -05:00
Evan Almloff
3c01593703
document HtmlEventConverter
2023-08-31 16:38:14 -05:00
Evan Almloff
097eb2099c
add extension to downcast web events
2023-08-28 17:16:56 -05:00
Evan Almloff
8ba1c05a93
fix desktop events
2023-08-28 16:37:19 -05:00
Evan Almloff
bd387d601c
fix formatting
2023-08-28 15:49:46 -05:00
Evan Almloff
93cbfd0dbc
derive more traits for serialized types
2023-08-28 12:35:43 -05:00
Evan Almloff
f7dff22552
expose all serialized events as public
2023-08-28 11:49:16 -05:00
Evan Almloff
b4ebf34595
forward data PointInteraction data in the PointerData debug and partial implementation
2023-08-28 11:39:55 -05:00
Evan Almloff
b54f7dd5d2
fix no default features on the web renderer
2023-08-25 21:28:44 -05:00
Evan Almloff
ca1a502714
use an event converter for bundle splitting
2023-08-25 21:03:03 -05:00
Evan Almloff
299b123446
trait based event system
2023-08-25 17:02:48 -05:00
Evan Simkowitz
bad30786e2
address comments
2023-08-23 22:09:39 -04:00
Evan Simkowitz
56095116e2
Fix tests
2023-08-23 17:58:43 -04:00
Evan Simkowitz
af9875f9b1
revert change to cargo
2023-08-23 14:10:18 -04:00
Evan Simkowitz
e0f42f8173
Fix rink
2023-08-23 13:31:42 -04:00
Evan Simkowitz
0e5600f2f4
add impl for pointer
2023-08-23 12:47:37 -04:00
Evan Simkowitz
cc3f60dd2f
Adding PointInteraction trait, etc.
2023-08-22 23:29:24 -04:00
Bruce Mitchener
d8704a0447
deps: Update keyboard-types to 0.7. ( #1378 )
2023-08-21 09:28:32 -05:00
wooden-worm
f652474a6e
FileEngine: expose native file types on different platforms ( #1258 )
...
* Get native file
* Correct visibility
2023-08-17 08:03:56 -05:00
Koji AGAWA
d573f5dfd5
feat: props spread
2023-08-13 16:45:17 +09:00
Evan Almloff
24c626b306
fix clippy
2023-08-08 13:43:57 -07:00
Brian Donovan
e98e773186
doc: fix typo ( #1287 )
2023-08-03 16:32:14 -05:00
Christian Albrecht
c9790860a5
fixed "http_equiv" in meta to generate "http-equiv" instead of "http_equiv" ( #1277 )
2023-08-02 11:25:41 -05:00
Jonathan Kelley
39e89c1fac
Bump crate versions, fix any publish errors
2023-07-31 18:49:54 -07:00
Evan Almloff
45d386810b
create features for large web-sys events/types
2023-07-28 15:38:07 -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
Jonathan Kelley
f0289068a2
Merge pull request #1219 from Demonthos/improve-build-times
...
Halve Build Times
2023-07-20 10:50:15 -07:00
Andrea Frigido
dccad58f1d
Update license field following SPDX 2.1 license expression standard
2023-07-20 18:00:07 +01:00
ealmloff
8a3d1e47b3
Merge branch 'master' into add-file-data-drag-event
2023-07-19 18:12:57 -07:00
Evan Almloff
3d8d8a1b6f
half-build-times
2023-07-19 10:19:23 -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
Evan Almloff
7453486448
fix formatting
2023-07-17 15:12:57 -07:00
Evan Almloff
26f6561de5
fix html cargo.toml
2023-07-11 17:55:55 -05:00
Evan Almloff
7577019946
Merge branch 'master' into add-file-data-drag-event
2023-07-11 17:53:09 -05:00
Kaid
e39d8708fa
Changed directory
to webkitdirectory
in bool_attrs
definitions.
2023-07-10 17:19:11 +08:00
Marc Espín
32d4472bfd
fix: Remove duplicated doc links and improved some descriptions ( #1167 )
2023-07-08 11:04:27 -05:00
Jonathan Kelley
e77a14dbf7
Remove RFD from input crate
2023-06-30 13:59:59 -07:00
Jon Kelley
abccc7463f
Merge pull request #1010 from Demonthos/fix-onload-event
...
Fix the onload event
2023-06-30 12:14:35 -07:00
Evan Almloff
5f873511c5
use workspace dependancies
2023-06-19 14:29:11 -05:00
ealmloff
cf9ed74303
Merge branch 'master' into fix-onload-event
2023-06-19 08:16:40 -05: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
Miles Murgaw
d09c92beda
Add initial_value attribute & fix static special attribute handling ( #1063 )
...
* feat & fix: initial_value attribute, special attribute handling
* revision: rename js file
* fix: rustfmt
* fix: clippy
* fix: desktop not finding common.js
* fix: desktop failing to render
Missed a single ``this.SetAttributeInner`` as it was now ``setAttributeInner``
Javascript didn't even throw any errors about this smh
* revision: no need for match statement
2023-06-04 11:29:34 -05:00