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
Maccesch
97c678c4a1
fixed examples
2024-08-24 12:38:11 +01:00
Maccesch
2d3f513216
implemented different types support for sending and receiving using use_websocket
2024-08-23 19:59:59 +01:00
Maccesch
eb73bff3cd
merged changes from Baptiste
...
Closes #156
2024-08-22 17:47:06 +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
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
26a2dc0e4b
added support for Sec-CH-Prefers-Color-Scheme header.
...
Fixes #101
Relates to #121
2024-08-13 16:19:19 +01:00
Maccesch
d4330c9fb1
use_local now uses LanguageIdentifier and proper matching.
...
Also removed a bunch of deprecated warnings.
Closes #144
2024-08-13 13:45:36 +01:00
Maccesch
1c9bbb6b08
clipboard is no longer behind unstable flags
2024-08-13 02:17:50 +01:00
Hector Candelaria
18021ad942
Merge branch 'main' into use_web_notification
2024-08-01 00:31:08 -04:00
Hector Candelaria
0b6903fccc
Feat: Add renotify
field to UseWebNotificationOptions
and ShowOptions
...
Uncommented the existing `renotify` code.
2024-07-31 21:47:38 -04:00
Maccesch
709757996e
locale now does matching against supported
2024-07-29 01:06:00 +01:00
Maccesch
7aa580ace4
added use_locale
2024-07-28 20:34:38 +01:00
Maccesch
49bb88768c
added use_locales
2024-07-28 20:02:12 +01:00
Maccesch
904582f33d
Merge branch 'main' into leptos-0.7
...
# Conflicts:
# examples/use_broadcast_channel/src/main.rs
# src/storage/use_storage.rs
2024-07-27 22:22:06 +01:00
Maccesch
0103524d27
Release 0.11.0
2024-07-27 19:13:54 +01:00
Maccesch
b28f1b3e11
fixed examples
2024-07-27 18:35:19 +01:00
Maccesch
17cfb8a23b
clarified read option docs for use_clipboard.
...
Closes #119
2024-07-26 10:56:39 +01:00
Maccesch
ec6027c59e
Merge branch 'main' into leptos-0.7
...
# Conflicts:
# CHANGELOG.md
# Cargo.toml
# src/is_err.rs
# src/is_none.rs
# src/is_ok.rs
# src/is_some.rs
# src/storage/use_local_storage.rs
# src/storage/use_session_storage.rs
# src/storage/use_storage.rs
# src/use_broadcast_channel.rs
# src/use_cookie.rs
# src/use_device_pixel_ratio.rs
# src/use_event_source.rs
# src/use_to_string.rs
# src/use_websocket.rs
# src/utils/codecs/string/from_to_string.rs
# src/utils/codecs/string/json.rs
# src/utils/codecs/string/prost.rs
2024-07-22 23:12:46 +01:00
Hector Candelaria
bb017746b9
Feat: Add getUserMedia API implementation
...
Introduced `use_user_media` function and structure to create a reactive
streaming interface for media input devices.
2024-07-13 16:28:27 -04:00
Maccesch
e4ad9f11af
codecs extracted into crate codee
2024-07-08 17:10:29 +01:00
Maccesch
4d42f7234a
use_websocket now uses codecs
2024-07-01 02:29:27 +01:00
Maccesch
1771d3ac07
added delay_during_hydration option to UseStorageOptions.
...
Fixes #108
2024-06-05 11:21:25 +02:00
Maccesch
04942f432b
work to port to leptos 0.7
2024-05-07 13:24:14 +01:00
Maccesch
5f3f60ca6b
work to port to leptos 0.7
2024-05-07 12:41:44 +01:00
Maccesch
98dbdf8f86
added cookie support to use_color_mode
2024-04-10 22:51:01 +01:00
Maccesch
f3fbf1bc28
added sync_signal
2024-04-10 00:21:08 +01:00
Stephen Brian King
705fbf97ac
add a second counter to use_cookie example
2024-03-23 00:48:28 -06:00
Maccesch
6bd92ca05a
cleanup
2024-03-05 20:59:31 +00:00
Maccesch
e9da41b6be
added use_event_source
...
closes #85
2024-03-05 17:28:01 +00:00
Maccesch
f136be643c
added use_not, use_and, use_or
...
closes #84
2024-02-23 02:24:27 +00:00
Maccesch
27f516898c
added use_clipboard, use_permission, use_timeout_fn
...
closes #72
2024-02-09 03:18:53 +00:00
Maccesch
6c14a8e6be
release 0.10.0
2024-01-31 19:55:30 +00:00
Marc-Stefan Cassola
7c4d23a359
Merge pull request #74 from mondeja/use_device_orientation
...
Add `use_device_orientation`
2024-01-31 19:20:39 +00:00
Maccesch
ee62623950
finished use_cookie
2024-01-31 16:54:25 +00:00
Maccesch
e5383c6c1e
fixed use_storage example
2024-01-30 11:58:50 +00:00
Álvaro Mondéjar Rubio
e84cbe5e84
Add use_device_orientation
2024-01-30 10:21:54 +01:00
Maccesch
a677eaf877
disabled webtransport for now
2024-01-30 00:02:14 +00:00
Maccesch
7fe153e525
added use_broadcast_channel
2024-01-29 21:29:39 +00:00
Maccesch
07f0a13c9d
Merge branch 'main' into use_webtransport
...
# Conflicts:
# .idea/leptos-use.iml
# CHANGELOG.md
# Cargo.toml
2024-01-29 19:18:27 +00:00
Maccesch
e5e6eae9d1
started use_broadcast_channel
2024-01-29 19:15:18 +00:00
Maccesch
42e95e7df5
updated examples to leptos 0.6
2024-01-29 18:04:38 +00:00
Maccesch
c9c269b66f
updated examples to leptos 0.6.0-beta
2024-01-23 17:07:14 +00:00
Maccesch
91071cf119
fixed use_cookie example
2024-01-23 16:05:07 +00:00
Marc-Stefan Cassola
5c0503d022
Merge pull request #69 from rakshith-ravi/feature/use-cookie
...
Added use-cookie
2024-01-23 15:18:25 +00:00
Rakshith Ravi
7bd54edb2d
Fixed dependency issue
...
Added documentation
2024-01-22 07:54:47 +05:30
Maccesch
58395be22b
some more ElementMaybeSignal conversions and some minor code improvements
2024-01-21 18:33:54 +00:00
Maccesch
3a75c73767
added is_dark_preferred to ssr example
2024-01-16 11:33:17 +00:00
Maccesch
93b827dfc3
added use_local_storage to ssr example
2024-01-16 10:36:28 +00:00