Marc-Stefan Cassola
c0ed73ded7
Merge pull request #168 from BakerNet/leptos-0.7
...
Use `version = "0.7-beta"` instead of `git`
2024-09-02 12:27:35 +01:00
BakerNet
c2413e0ed4
version instead of git
2024-09-01 11:32:47 -07:00
BakerNet
42dd4db46a
specify branch
2024-09-01 11:25:31 -07:00
Marc-Stefan Cassola
4a0491ec01
Merge pull request #167 from BakerNet/fix-diagnostics
...
Fix 0.7 compilation error
2024-09-01 12:07:59 +01:00
BakerNet
ee1d9c7a0d
fix compilation error due to partial path diagnostics
2024-08-31 23:43:46 -07:00
Marc-Stefan Cassola
041bc72254
Merge pull request #166 from Baptistemontan/fix_actix_headers
...
Fix the request context for actix web
2024-08-31 00:29:49 +01:00
Baptiste de Montangon
0bf2203b49
fix the request context for actix web
2024-08-30 22:15:38 +02:00
Marc-Stefan Cassola
69df445ef8
Merge pull request #165 from Baptistemontan/fix_imports
2024-08-28 16:43:58 +01:00
Baptiste de Montangon
7bdec25584
fixed some warnings
2024-08-28 14:24:33 +02:00
Baptiste de Montangon
e86365a3d7
more imports fixed
2024-08-28 14:16:41 +02:00
Baptiste de Montangon
b3361c58c9
fixed more imports
2024-08-28 14:15:06 +02:00
Baptiste de Montangon
c30dce5a80
fixed some imports
2024-08-28 14:08:10 +02:00
Maccesch
9df6281ff7
fixed merge artifacts
2024-08-25 01:40:55 +01:00
Maccesch
e00f461ea7
fixed websocket test and removed all warnings from tests
2024-08-24 21:53:34 +01:00
Maccesch
b6a5d36df1
Merge branch 'main' into leptos-0.7
...
# Conflicts:
# Cargo.toml
# examples/use_broadcast_channel/Cargo.toml
# examples/use_cookie/Cargo.toml
# examples/use_websocket/Cargo.toml
# src/use_websocket.rs
2024-08-24 21:44:34 +01:00
Marc-Stefan Cassola
55f5ff9557
Merge pull request #160 from BakerNet/bugfix/reconnect-after-cleanup
...
bugfix: error when cleanup happens after reconnect attempt is on timeout
2024-08-24 12:39:05 +01:00
Maccesch
97c678c4a1
fixed examples
2024-08-24 12:38:11 +01:00
Marc-Stefan Cassola
ff5f6a62a0
Merge pull request #155 from hcandelaria/use_web_notification
...
Feat: Enhance UseWebNotificationOptions and ShowOptions with additional field
2024-08-24 12:10:22 +01:00
Hector Candelaria
54a04ac382
Docs: Update vibration pattern documentation and convert helper function
...
- Updated comment for `vibrate` to describe the `Vec<u16>` format for vibration patterns.
- Modified `vibration_pattern_to_jsvalue` to accept a slice (`&[u16]`) and convert it to a `JsValue` array.
2024-08-23 23:39:42 -04:00
Hector Candelaria
81f09cb278
Merge branch 'main' into use_web_notification
2024-08-23 22:22:13 -04:00
BakerNet
856a64dd18
fix error when cleanup happens after reconnect attempt is on timeout
2024-08-23 18:02:02 -07:00
Maccesch
2d3f513216
implemented different types support for sending and receiving using use_websocket
2024-08-23 19:59:59 +01:00
Marc-Stefan Cassola
05de93482f
Merge pull request #158 from Baptistemontan/use_cookie_deadlock
...
Fixed a deadlock with `use_cookie`
2024-08-23 18:01:10 +01:00
Marc-Stefan Cassola
cc6a4ff541
Merge pull request #159 from Baptistemontan/fixed_untyped_into
...
Fixed an untyped into causing compilation error
2024-08-23 17:59:53 +01:00
Baptiste de Montangon
a90c96910f
fixed a deadlock with use_cookie
2024-08-23 11:54:10 +02:00
Hector Candelaria
5133c0308c
Doc: update vibrate
doc type to reflect new type
...
- Updated the `vibrate` type in the docs to Vec<u16>.
2024-08-23 00:01:25 -04:00
Hector Candelaria
2443c695e9
Chore: Apply cargo fmt
to ensure code formatting
...
- Reformatted the code for `watch_debounced` & `watch_throttled` to pass `cargo fmt --check`
2024-08-22 23:24:26 -04:00
Hector Candelaria
3eadd9cf1a
Feat: Update vibrate
type to Rust type
...
- Updated `vibrate` type to `Vec<u16>` to improve SSR and type safety.
- Added new helper function `vibration_patter_to_jsvalue` to convert `Vec<u16>` to `JsValue`.
2024-08-22 23:22:02 -04:00
Maccesch
3fbe9c66d2
added features for every function.
...
fixes #152
2024-08-22 23:06:55 -04:00
Baptiste de Montangon
487fdce9a9
fixed some warnings and an error with a untyped into
2024-08-22 22:49:30 +02:00
Maccesch
eb73bff3cd
merged changes from Baptiste
...
Closes #156
2024-08-22 17:47:06 +01:00
Maccesch
f44ef05466
merged main
2024-08-22 17:08:21 +01:00
Maccesch
52d3bf33f8
Merge branch 'main' into leptos-0.7
...
# Conflicts:
# Cargo.toml
# src/core/storage.rs
# src/lib.rs
# src/use_clipboard.rs
# src/use_cookie.rs
# src/use_mouse.rs
# src/use_mouse_in_element.rs
# src/use_preferred_dark.rs
# src/use_timeout_fn.rs
2024-08-22 13:45:56 +01:00
Maccesch
b07b6b7cfd
added features for every function.
...
fixes #152
2024-08-22 13:37:32 +01:00
Hector Candelaria
4ff32e7dce
Docs: Correct default value for silent
field
...
- Updated comments to reflect that the default value for `silent` is
`null`, not `false`.
2024-08-21 21:54:03 -04:00
Hector Candelaria
9cb0e386aa
Feat: Add vibrate
field to use_web_notification
...
- Implemented `vibrate` option in `UseWebNotificationOptions` and
`ShowOptions` structures allowing specifying vibration patterns for
notifications.
2024-08-21 21:54:03 -04:00
Marc-Stefan Cassola
480b1fa4ee
Merge pull request #88 from luckynumberke7in/main
...
Add methods to UseDocument
2024-08-21 22:03:11 +01:00
Ke7in
44cab1027d
fix cargo fmt issues
...
Forgot to set up "cargo fmt" on save --new system.
2024-08-21 16:41:04 -04:00
Ke7in
09b08f64f5
Update "hidden" in use_document
...
Changed to hide elements by default on server.
2024-08-20 21:40:23 -04:00
Marc-Stefan Cassola
9874f80c84
Merge pull request #153 from hcandelaria/use_prefers_reduced_motion
...
Feat: Add prefers-reduced-motion API implementation
2024-08-19 11:35:11 +01:00
Hector Candelaria
9f8adfc1f1
Chore: Apply cargo fmt
to ensure code formatting compliance
...
Reformatted the code to pass `cargo fmt --check`
2024-08-18 18:57:04 -04:00
Hector Candelaria
0021e4aed5
Docs: Add BooleanDisplay
import to demo
...
Included the `BooleanDisplay` import in the demo.
2024-08-18 18:43:35 -04:00
Hector Candelaria
f5a37f6c7f
Docs: Update See also references in media query functions
...
- Added `use_prefers_reduced_motion` in the documentation for
`use_media_query`, `use_preferred_contrast`, and `use_preferred_dark`
functions to include links to related functions.
2024-08-18 17:19:50 -04:00
Hector Candelaria
6d57bdf7f5
Feat: Add prefers-reduced-motion
API implementation
...
Implemented the `use_prefers_reduced_motion` function to create a
reactive interface for detecting the user's reduced motion preference
via the `prefers-reduced-motion` media query.
2024-08-18 17:17:06 -04:00
Maccesch
8324c70742
release 0.12.0
2024-08-14 03:43:00 +01:00
Marc-Stefan Cassola
30e6c9351b
Merge pull request #146 from carloskiki/mouse-coord-type
...
Rework of `UseMouseCoordType`
2024-08-14 03:31:46 +01:00
Marc-Stefan Cassola
ee7934fd7d
Merge branch 'main' into mouse-coord-type
2024-08-14 03:26:14 +01:00
Charles Edward Gagnon
f245bf07d0
fix some clippy lints
2024-08-13 22:11:43 -04:00
Maccesch
d2e968249b
updated changelog
2024-08-13 18:36:18 +01:00
Maccesch
16a65b100d
fixed the codecs chapter in the book to refer to crate codee
2024-08-13 18:32:50 +01:00