Commit graph

151 commits

Author SHA1 Message Date
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
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
16a65b100d fixed the codecs chapter in the book to refer to crate codee 2024-08-13 18:32:50 +01:00
Maccesch
1945e94da1 release 0.11.1 2024-07-28 20:46:28 +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
4ec66ecbc8 added function header and made use_cookie use it 2024-07-28 17:41:16 +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
Álvaro Mondéjar Rubio
e21ed8ec31 Make rustdocs links work with the book 2024-07-27 18:10:38 +02: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
af2fcb188c Fix: correct button misalignment
Replaced the CSS selector `~` with `+` to ensure proper spacing between adjacent buttons. This adjustment targets only the immediate sibling buttons.
2024-07-18 00:04:57 -04: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
9c035d50d8 added docs and changelog 2024-07-08 17:16:54 +01: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
a8de6a96dd refactored codecs and implemented msgpack and bincode as binary codecs. prost is now a binary codec as well and base64 is available as an adapter. 2024-06-07 02:19:07 +02:00
Maccesch
62754e0d1d ssr + wasm compile warning 2024-05-10 14:15:59 -05: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
Maccesch
fdb0ac856b release 2024-03-05 20:45:33 +00:00
Maccesch
e9da41b6be added use_event_source
closes #85
2024-03-05 17:28:01 +00:00
Maccesch
cf9358cf7e made it even more abundantly clear how to enable SSR 2024-03-03 10:38:17 +00:00
Luper Rouch
9a46f9dca9 Add ssr feature note to the book
I wasn't aware of Leptos' SSR build process, and enabled the
`leptos-use` feature globally. Because of this I ended up with the
server version of the functions in the client, which obviously did not
work.
2024-02-23 10:25:49 +01:00
Maccesch
f136be643c added use_not, use_and, use_or
closes #84
2024-02-23 02:24:27 +00:00
Álvaro Mondéjar Rubio
fd8a284a77 Fix .demo-source docs links 2024-02-11 02:05:51 +01:00
Maccesch
af44289ae3 updated readme 2024-02-09 04:20:17 +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
Álvaro Mondéjar Rubio
e84cbe5e84 Add use_device_orientation 2024-01-30 10:21:54 +01: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
Rakshith Ravi
7bd54edb2d Fixed dependency issue
Added documentation
2024-01-22 07:54:47 +05:30
Maccesch
84396b7675 implemented various conversions for Element(s)MaybeSignal
closes #48
2024-01-10 23:37:32 +00:00
Maccesch
ffff14ea9c added use_mouse_in_element 2024-01-03 22:52:59 +00:00
Maccesch
00af363f35 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	CHANGELOG.md
2024-01-03 20:52:59 +00:00
Álvaro Mondéjar Rubio
c2a48631aa Add use_device_pixel_ratio 2024-01-01 19:29:03 +01:00
Maccesch
9529733d64 started use_element_bounding 2023-12-13 14:58:07 +00:00
Maccesch
52a72a7f87 Merge branch 'main' into use_webtransport
# Conflicts:
#	.cargo/config.toml
#	.idea/leptos-use.iml
#	Cargo.toml
#	src/lib.rs
2023-12-11 22:10:36 +00:00
Maccesch
67a2bee7c3 release 0.9.0 2023-12-06 00:23:58 +00:00
Sean Aye
f34e62fb6b fix the example via template 2023-11-24 15:23:30 -05:00
Sean Aye
cd0be5ac62 add use_display_media 2023-11-24 15:06:35 -05:00
Maccesch
8199d19e92 brought back use_storage in book 2023-11-12 23:03:06 +00:00
Joshua McQuistan
e8c6540369 Remove @ prefix on mdbook storage reference 2023-11-11 13:16:20 +00:00
Joshua McQuistan
9306e0299c Remove storage flag from mdbook 2023-11-11 13:15:34 +00:00
Joshua McQuistan
a65e4ddaa1 Problem: mdbook refers to use_storage from older API 2023-11-04 16:33:43 +00:00
Joshua McQuistan
a28bbb33e4 Update docs/book for use_storage 2023-11-04 11:01:52 +00:00