Commit graph

  • 07f592b222 fixed use_intl_number_format fraction digits option Maccesch 2024-01-21 18:32:12 +00:00
  • 73cad742f1 Added use-cookie TODO docs Rakshith Ravi 2024-01-21 17:33:53 +05:30
  • 3a75c73767 added is_dark_preferred to ssr example Maccesch 2024-01-16 11:33:17 +00:00
  • 1e9e03feb8 fixed use_geolocation SSR fixes #66 Maccesch 2024-01-16 11:24:52 +00:00
  • 93b827dfc3 added use_local_storage to ssr example Maccesch 2024-01-16 10:36:28 +00:00
  • 37f4a928c9 Fixed compile errors Maccesch 2024-01-16 10:24:49 +00:00
  • 752cf1f832 Throttled or debounced callbacks (in watch_* or *_fn) no longer are called after the containing scope was cleaned up. Maccesch 2024-01-10 23:50:52 +00:00
  • 84396b7675 implemented various conversions for Element(s)MaybeSignal Maccesch 2024-01-10 23:37:32 +00:00
  • ffff14ea9c added use_mouse_in_element Maccesch 2024-01-03 22:52:59 +00:00
  • 34c913caae added ssr to use_element_bounding Maccesch 2024-01-03 21:11:28 +00:00
  • d9ff05afea chore: rustfmt Maccesch 2024-01-03 20:58:03 +00:00
  • 00af363f35 Merge remote-tracking branch 'origin/main' Maccesch 2024-01-03 20:52:59 +00:00
  • de39dc1154 implemented use_element_bounding Maccesch 2024-01-03 20:51:33 +00:00
  • ee6c48f431
    Merge pull request #61 from mondeja/feat-60 Marc-Stefan Cassola 2024-01-02 21:49:09 +00:00
  • c2a48631aa Add use_device_pixel_ratio Álvaro Mondéjar Rubio 2024-01-01 19:29:03 +01:00
  • 9529733d64 started use_element_bounding Maccesch 2023-12-13 14:58:07 +00:00
  • 461935ca6b added bin codec Maccesch 2023-12-12 14:53:49 +00:00
  • ae08e6b519 post merge fixes Maccesch 2023-12-11 22:12:21 +00:00
  • 52a72a7f87 Merge branch 'main' into use_webtransport Maccesch 2023-12-11 22:10:36 +00:00
  • bc87a3015d small docs improvement for use_color_mode Maccesch 2023-12-11 19:13:16 +00:00
  • cf86471219 small docs improvement for use_color_mode Maccesch 2023-12-09 15:20:18 +00:00
  • 72b6f31378 added ssr docs to use_web_notification Maccesch 2023-12-06 00:39:53 +00:00
  • 67a2bee7c3 release 0.9.0 v0.9.0 Maccesch 2023-12-06 00:23:58 +00:00
  • 5f5779ed10 use_web_notification is now SSR-safe. Maccesch 2023-12-06 00:10:33 +00:00
  • a3dc18064f udpated changelog Maccesch 2023-12-05 23:35:07 +00:00
  • 68116b8791 fixes #57 (use_idle) Maccesch 2023-12-05 23:32:51 +00:00
  • bb5054d403 made display media api closer to solidjs-use and rest of library Maccesch 2023-12-05 23:12:31 +00:00
  • b8567a5f96
    Merge pull request #56 from seanaye/seanaye/use_display_media Marc-Stefan Cassola 2023-12-04 19:40:22 +00:00
  • 50c3e14f77 update example Sean Aye 2023-11-30 08:01:08 -05:00
  • 6c5d9e6f57 update doc comment Sean Aye 2023-11-29 18:55:22 -05:00
  • ba6082a32f implement changes Sean Aye 2023-11-29 18:52:39 -05:00
  • c1abc97c19
    Merge pull request #55 from lpotthast/remove-logging Marc-Stefan Cassola 2023-11-27 17:08:28 +00:00
  • f34e62fb6b fix the example via template Sean Aye 2023-11-24 15:23:30 -05:00
  • cd0be5ac62 add use_display_media Sean Aye 2023-11-24 15:06:35 -05:00
  • 1d50df3ede Remove logging of WS url Lukas Potthast 2023-11-24 17:41:25 +01:00
  • ded2663564 updated changelog Maccesch 2023-11-15 23:59:17 +00:00
  • b7a3ac554b debounced on_scroll_end in use_scroll now uses try_get_untracked in case the context has been destroyed before it is called. Maccesch 2023-11-15 23:57:17 +00:00
  • 2d65c60bf1 removed double call of infinite scroll callback Maccesch 2023-11-15 23:45:51 +00:00
  • 09182c5ee9 removed warnings because of get/get_untracked Maccesch 2023-11-15 23:23:06 +00:00
  • 4a4feefbfc removed warnings because of get/get_untracked Maccesch 2023-11-15 23:19:11 +00:00
  • 28ab799156 removed warnings and fixed examples Maccesch 2023-11-13 00:20:58 +00:00
  • 8827eefa58 Merge branch 'feral-dot-io/main' Maccesch 2023-11-12 23:07:45 +00:00
  • 796ea23ddf restored use_storage demo feral-dot-io/main Maccesch 2023-11-12 23:07:10 +00:00
  • 8199d19e92 brought back use_storage in book Maccesch 2023-11-12 23:02:36 +00:00
  • b26459986e brought back use_storage Maccesch 2023-11-12 22:50:59 +00:00
  • 205df15467
    Merge pull request #47 from feral-dot-io/fix-bash Marc-Stefan Cassola 2023-11-12 22:39:16 +00:00
  • e8c6540369 Remove @ prefix on mdbook storage reference Joshua McQuistan 2023-11-11 13:16:20 +00:00
  • 9306e0299c Remove storage flag from mdbook Joshua McQuistan 2023-11-11 13:15:34 +00:00
  • 99803a9bcb Organise storage docs for mdbook Joshua McQuistan 2023-11-11 13:15:13 +00:00
  • cf33e317a6 Rename use_storage.rs to align with mdbook reference Joshua McQuistan 2023-11-11 12:56:32 +00:00
  • 3867a4bd1d Problem: mdbook use_service_worker script is not portable Joshua McQuistan 2023-11-11 12:41:04 +00:00
  • 94841e4bb5 Document fields on UseStorageOptions Joshua McQuistan 2023-11-11 11:05:29 +00:00
  • 93556a3f8f Fix clippy lint. Remove needless borrow Joshua McQuistan 2023-11-11 10:56:46 +00:00
  • 2976d4c033 Fix clippy lints Joshua McQuistan 2023-11-11 10:51:23 +00:00
  • 5b056e8d19 Problem: CI references storage feature. Replace with serde,prost Joshua McQuistan 2023-11-11 10:43:32 +00:00
  • 776479cafe
    Merge branch 'main' into main feral-dot-io 2023-11-11 10:34:32 +00:00
  • 1a9c98c36e
    Merge pull request #44 from feral-dot-io/resize Marc-Stefan Cassola 2023-11-10 21:00:47 +00:00
  • 1d08beaa3e Problem: clippy says Default impl can be derived Joshua McQuistan 2023-11-10 18:13:56 +00:00
  • f918da9688 Revert remove use of --cfg=web_sys_unstable_apis for templates Joshua McQuistan 2023-11-10 17:14:14 +00:00
  • 9c3970a950 Fixed SSR of use_timestamp, use_raf_fn and use_idle v0.8.2 Maccesch 2023-11-09 23:26:47 +00:00
  • e242834b66 Specify minimum wasm-bindgen version Joshua McQuistan 2023-11-08 11:38:07 +00:00
  • 40b369d36a Remove use of --cfg=web_sys_unstable_apis Joshua McQuistan 2023-11-07 10:13:55 +00:00
  • a65e4ddaa1 Problem: mdbook refers to use_storage from older API Joshua McQuistan 2023-11-04 16:33:43 +00:00
  • 808e97c072 Add JSON versioning docs + examples Joshua McQuistan 2023-11-04 15:44:09 +00:00
  • 7c3ebf09f4 Add overview of codec versioning Joshua McQuistan 2023-11-04 15:43:36 +00:00
  • 9a9f1ba7d9 Problem: use_storage's default_value with a signal might suggest changing the signal also changes the value used on an unset storage value. Rename to initial value and document this behaviour Joshua McQuistan 2023-11-04 13:50:41 +00:00
  • af653595a5 Problem: use_storage examples have unused imports Joshua McQuistan 2023-11-04 13:36:01 +00:00
  • 16ad1417cf Add link to open new window for use_storage example Joshua McQuistan 2023-11-04 13:33:02 +00:00
  • 389b6e6811 Directly use and return read / write signal given by default_value Joshua McQuistan 2023-11-04 13:30:36 +00:00
  • a28bbb33e4 Update docs/book for use_storage Joshua McQuistan 2023-10-29 12:34:11 +00:00
  • 6e423753b8 Problem: UseColorModeOptions::storage_enabled references storage flag / feature which no longer exists Joshua McQuistan 2023-10-29 15:58:41 +00:00
  • daab6f944c Remove notice to enable feature storage on use_color_mode Joshua McQuistan 2023-10-29 15:47:52 +00:00
  • 208451f0c2 Update docs to specify that values are synced across multiple use_storage calls on the same page and other tabs / windows Joshua McQuistan 2023-10-29 15:44:20 +00:00
  • f899f560e5
    Merge branch 'Synphonyte:main' into main feral-dot-io 2023-10-29 12:27:50 +00:00
  • 8168d301e0 Update prost Joshua McQuistan 2023-10-29 12:23:33 +00:00
  • 1a27eb0034 Problem: docs test broken with missing codec constructors Joshua McQuistan 2023-10-29 12:20:23 +00:00
  • f3ea5dcd74 Fix use_storage for SSR Joshua McQuistan 2023-10-29 12:18:45 +00:00
  • d267408116 Add codec setter to UseStorageOptions Joshua McQuistan 2023-10-29 11:58:14 +00:00
  • 64c6f63d68 Fix dead doc ref Joshua McQuistan 2023-10-29 11:57:02 +00:00
  • 6af4cc0693 Switch to relying on a codec's default instead of constructors on UseStorageOptions Joshua McQuistan 2023-10-29 11:49:03 +00:00
  • 4110a763c9 Document use_storage with examples Joshua McQuistan 2023-10-29 11:41:59 +00:00
  • 40fdb5f6b5 Add use_storage debounce / throttle on write Joshua McQuistan 2023-10-29 09:45:43 +00:00
  • 7084b91c0a made ElementMaybeSignal's from string conversion SSR safe. v0.8.1 Maccesch 2023-10-28 16:18:29 -05:00
  • 50952581de Clean up of UseStorageOptions default Joshua McQuistan 2023-10-28 12:28:26 +01:00
  • c24f0a5d45 Separate StringCodec to separate file Joshua McQuistan 2023-10-28 12:19:33 +01:00
  • c62adedcf2 Update use_storage example for new API Joshua McQuistan 2023-10-28 12:16:05 +01:00
  • 3ecaade851 Schedule internal use_storage events to notify same page of changes Joshua McQuistan 2023-10-28 12:13:55 +01:00
  • f23d8ad31c Problem: use_color_mode doesn't work with new use_storage API. Use StringCodec Joshua McQuistan 2023-10-27 20:46:53 +01:00
  • 1371b81b67 Problem: use_storage value setter differs from existing API too much. Use WriteSignal + separate deleter fn Joshua McQuistan 2023-10-27 19:51:02 +01:00
  • d56c5cf514 Problem: use_storage defaults to StringCodec. Allow turbo fish usage and rely on Default Joshua McQuistan 2023-10-27 16:08:51 +01:00
  • bbebd8a67f use_storage SSR should return signal with defaults Joshua McQuistan 2023-10-27 14:50:29 +01:00
  • 861633dd1e Gate prost and serde dependencies behind features Joshua McQuistan 2023-10-27 14:32:03 +01:00
  • 7b5456a461 Remove storage feature Joshua McQuistan 2023-10-27 14:27:53 +01:00
  • 7bfd069047 Expose generalised use of use_storage_with_options Joshua McQuistan 2023-10-27 14:15:40 +01:00
  • fdb9f672d1 Apply use_signal default value via an optional signal Joshua McQuistan 2023-10-27 13:57:36 +01:00
  • f3c87a1c50 Move use_storage.rs under storage/ Joshua McQuistan 2023-10-27 12:41:42 +01:00
  • bdeadba508 Delete existing storage/ in favour of use_storage.rs Joshua McQuistan 2023-10-27 12:39:58 +01:00
  • 4538097ab1 Problem: use_color_mode relies on specifying backing via StorageType. Expose use_storage_with_options and use StorageType Joshua McQuistan 2023-10-27 12:37:41 +01:00
  • 0fb4f7e6a1 Problem: only local storage is available. Provide session and generic web_sys::Storage fns Joshua McQuistan 2023-10-27 11:56:47 +01:00
  • c6d9ea28e5 Add codec (String, prost, and serde) to use_storage Joshua McQuistan 2023-10-27 10:05:02 +01:00