Commit graph

576 commits

Author SHA1 Message Date
Joshua McQuistan
7b5456a461 Remove storage feature 2023-10-27 14:27:53 +01:00
Joshua McQuistan
7bfd069047 Expose generalised use of use_storage_with_options 2023-10-27 14:15:40 +01:00
Joshua McQuistan
fdb9f672d1 Apply use_signal default value via an optional signal 2023-10-27 13:57:36 +01:00
Joshua McQuistan
f3c87a1c50 Move use_storage.rs under storage/ 2023-10-27 12:41:42 +01:00
Joshua McQuistan
bdeadba508 Delete existing storage/ in favour of use_storage.rs 2023-10-27 12:39:58 +01:00
Joshua McQuistan
4538097ab1 Problem: use_color_mode relies on specifying backing via StorageType. Expose use_storage_with_options and use StorageType 2023-10-27 12:37:41 +01:00
Joshua McQuistan
0fb4f7e6a1 Problem: only local storage is available. Provide session and generic web_sys::Storage fns 2023-10-27 11:56:47 +01:00
Joshua McQuistan
c6d9ea28e5 Add codec (String, prost, and serde) to use_storage 2023-10-27 10:05:02 +01:00
Joshua McQuistan
0f6b4aadc6 Add prototype use_storage option to listen to changes 2023-10-26 12:01:04 +01:00
Joshua McQuistan
2f3c72f2bb Prototype use_storage replacement that uses TryFrom<String> 2023-10-26 11:46:47 +01:00
Joshua McQuistan
fcda13de8d Add thiserror dependency 2023-10-26 11:44:59 +01:00
Maccesch
8c2beb814d release 0.8.0 2023-10-24 00:52:06 -05:00
Maccesch
c547720184 Merge branch 'lpotthast-main'
# Conflicts:
#	CHANGELOG.md
#	Cargo.toml
#	docs/book/src/SUMMARY.md
2023-10-24 00:41:32 -05:00
Maccesch
65f8b89d10 made use_service_worker more in line with the other functions 2023-10-24 00:39:21 -05:00
Maccesch
96cc7f7399 made use_service_worker more in line with the other functions 2023-10-24 00:36:32 -05:00
Maccesch
cd67ca5542 added use_web_notification 2023-10-23 23:49:11 -05:00
Maccesch
b8421f2186 added use_infinite_scroll 2023-10-23 20:15:05 -05:00
Maccesch
f3af2ad9ea fixed some SSR issues with not using use_window() in some functions 2023-10-21 15:21:11 -05:00
Maccesch
dd2e88f8dd cosmetic fix for book function page with examples 2023-10-05 12:30:51 +02:00
Lukas Potthast
2b405b3504 Reformat lib.rs 2023-10-04 18:09:21 +02:00
Lukas Potthast
be05687ad2 Remove expect's; Rephrase comments 2023-10-04 17:55:57 +02:00
Lukas Potthast
e038f9664a WIP: Add use_service_worker 2023-10-04 17:35:52 +02:00
Maccesch
97d250cfd5 updated function count 2023-10-02 21:06:51 +01:00
Maccesch
50345a2bef added use_sorted 2023-10-02 21:05:20 +01:00
Maccesch
550a8004d8 fixed book demos build 2023-09-30 18:45:36 +01:00
Maccesch
0e45b9a9c6 Merge branch 'main' into use_webtransport 2023-09-30 18:31:54 +01:00
Maccesch
c45c31fa9a release 0.7 2023-09-30 18:24:06 +01:00
Maccesch
7e988c42ea added websocket docs for use in context 2023-09-28 10:58:59 +01:00
Maccesch
5eaa63f422 fixed websocket docs 2023-09-28 01:41:39 +01:00
Maccesch
eff44f42e0 websocket uses &str in send instead of String 2023-09-28 00:37:14 +01:00
Maccesch
19da9bf784 fixed breakpoints' current() method 2023-09-27 17:01:05 +01:00
Maccesch
6995c684f8 updated to leptos 0.5.0-rc3 2023-09-27 17:00:41 +01:00
Maccesch
80f8ad2a50 Merge branch 'main' into use_webtransport
# Conflicts:
#	.idea/leptos-use.iml
#	src/lib.rs
2023-09-18 01:02:27 +01:00
Maccesch
d79b594391 basic test for server opened bidir streams 2023-09-18 01:01:36 +01:00
Maccesch
53acf514c2 updated to leptos version 0.5.0-rc2 2023-09-17 15:51:37 +01:00
Maccesch
65a3e30727 added use_timestamp and use_idle 2023-09-17 15:45:33 +01:00
Maccesch
8ff9fcf1b2 added use_timestamp and use_idle 2023-09-17 15:44:55 +01:00
Maccesch
cbb23c6c4d added relative urls to use_websocket 2023-09-16 15:15:24 +01:00
Maccesch
66cdfab719 added relative urls to use_websocket 2023-09-16 02:51:08 +01:00
Maccesch
b146bb864e started webtransport test server 2023-09-15 02:40:49 +01:00
Maccesch
7cabae75b6 added incoming stream handlers 2023-09-14 15:24:54 +01:00
Maccesch
901bfca95a Merge branch 'main' into use_webtransport
# Conflicts:
#	CHANGELOG.md
#	Cargo.toml
2023-09-14 13:49:37 +01:00
Maccesch
e5dc5a0233 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/use_active_element.rs
#	src/use_mouse.rs
#	src/use_scroll.rs
#	src/use_window_scroll.rs
2023-09-13 19:40:41 +01:00
Maccesch
dfa30e4aef all functions are callable on the server
Fixes #31 and #24
2023-09-13 19:39:56 +01:00
Marc-Stefan Cassola
7f0ddc830f
Merge pull request #30 from lpotthast/main 2023-09-13 14:35:19 +01:00
Lukas Potthast
6c26f73bfb Replace all occurrences of AddEventListenerOptions with UseEventListenerOptions 2023-09-13 15:19:07 +02:00
Maccesch
0aff004250 added use_window and use_document 2023-09-13 01:32:07 +01:00
Maccesch
7f5ee51e49 added use_window and use_document 2023-09-13 00:17:16 +01:00
Maccesch
022c770287 added geolocation 2023-09-12 23:53:43 +01:00
Maccesch
d28beb1b5e fixed example 2023-09-12 15:29:09 +01:00