Commit graph

205 commits

Author SHA1 Message Date
Maccesch
c8236dfc37 ported use_web_lock and use_window_size examples 2024-10-10 03:00:46 +02:00
Maccesch
0d0d4616f9 chore: clippy 2024-10-09 23:11:51 +02:00
Maccesch
e35a09148f made use_drop_zone usable again 2024-10-09 21:35:25 +02:00
Maccesch
39f3be4015 finished porting use_active_element 2024-10-09 21:15:17 +02:00
Maccesch
0bdc8e16c9 fixed use_color_mode example 2024-10-09 14:15:30 +02:00
Niklas
3f81160091 Fix import issues with leptos version 0.7.0-gamma2 2024-10-08 07:33:12 +02:00
Maccesch
49f89bcb36 ported use_textarea_autosize 2024-09-15 22:30:38 +02:00
Maccesch
406b7b2e16 Merge branch 'main' into leptos-0.7
# Conflicts:
#	CHANGELOG.md
#	Cargo.toml
#	src/use_user_media.rs
#	src/use_websocket.rs
2024-09-15 20:53:59 +02:00
Maccesch
10b1a8a0e8 added use_textarea_autosize 2024-09-15 20:41:51 +02:00
Maccesch
cd88876389 element maybe signal refactoring 2024-09-11 18:19:01 +01:00
Maccesch
96c907aaaa Merge branch 'main' into leptos-0.7
# Conflicts:
#	CHANGELOG.md
#	Cargo.toml
2024-09-02 23:40:32 +01:00
Maccesch
1a189cf7a4 fixed use_color_mode with cookie enabled.
fixes #170
2024-09-02 18:21:21 +01:00
Maccesch
d63f4f4b99 Merge branch 'main' into leptos-0.7
# Conflicts:
#	.idea/leptos-use.iml
#	src/sync_signal.rs
#	template/examples/{{ function_name }}/Cargo.ffizer.hbs.toml
2024-09-02 13:23:50 +01:00
Maccesch
db95c7ab30 all example dependencies updated to leptos 0.7beta 2024-09-02 13:21:56 +01:00
Maccesch
c60d32bf5a added use_web_lock 2024-09-01 20:26:47 +01:00
Maccesch
60e1f140cb added use_window_size
closes #163
2024-08-31 16:09:11 +01:00
Maccesch
9df6281ff7 fixed merge artifacts 2024-08-25 01:40:55 +01:00
Maccesch
c9377fe1f9 added use_toggle 2024-08-24 23:22:37 +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
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