Hector Candelaria
4ff32e7dce
Docs: Correct default value for silent
field
...
- Updated comments to reflect that the default value for `silent` is
`null`, not `false`.
2024-08-21 21:54:03 -04:00
Hector Candelaria
9cb0e386aa
Feat: Add vibrate
field to use_web_notification
...
- Implemented `vibrate` option in `UseWebNotificationOptions` and
`ShowOptions` structures allowing specifying vibration patterns for
notifications.
2024-08-21 21:54:03 -04:00
Marc-Stefan Cassola
480b1fa4ee
Merge pull request #88 from luckynumberke7in/main
...
Add methods to UseDocument
2024-08-21 22:03:11 +01:00
Ke7in
44cab1027d
fix cargo fmt issues
...
Forgot to set up "cargo fmt" on save --new system.
2024-08-21 16:41:04 -04:00
Ke7in
09b08f64f5
Update "hidden" in use_document
...
Changed to hide elements by default on server.
2024-08-20 21:40:23 -04:00
Marc-Stefan Cassola
9874f80c84
Merge pull request #153 from hcandelaria/use_prefers_reduced_motion
...
Feat: Add prefers-reduced-motion API implementation
2024-08-19 11:35:11 +01:00
Hector Candelaria
9f8adfc1f1
Chore: Apply cargo fmt
to ensure code formatting compliance
...
Reformatted the code to pass `cargo fmt --check`
2024-08-18 18:57:04 -04:00
Hector Candelaria
0021e4aed5
Docs: Add BooleanDisplay
import to demo
...
Included the `BooleanDisplay` import in the demo.
2024-08-18 18:43:35 -04:00
Hector Candelaria
f5a37f6c7f
Docs: Update See also references in media query functions
...
- Added `use_prefers_reduced_motion` in the documentation for
`use_media_query`, `use_preferred_contrast`, and `use_preferred_dark`
functions to include links to related functions.
2024-08-18 17:19:50 -04: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
8324c70742
release 0.12.0
2024-08-14 03:43:00 +01:00
Marc-Stefan Cassola
30e6c9351b
Merge pull request #146 from carloskiki/mouse-coord-type
...
Rework of `UseMouseCoordType`
2024-08-14 03:31:46 +01:00
Marc-Stefan Cassola
ee7934fd7d
Merge branch 'main' into mouse-coord-type
2024-08-14 03:26:14 +01:00
Charles Edward Gagnon
f245bf07d0
fix some clippy lints
2024-08-13 22:11:43 -04:00
Maccesch
d2e968249b
updated changelog
2024-08-13 18:36:18 +01:00
Maccesch
16a65b100d
fixed the codecs chapter in the book to refer to crate codee
2024-08-13 18:32:50 +01: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
b1367a9f0b
chore: clippy
2024-08-13 13:56:13 +01:00
Marc-Stefan Cassola
2a1f532b0b
Merge branch 'main' into mouse-coord-type
2024-08-13 13:50:16 +01:00
Maccesch
61c112c140
typo
2024-08-13 13:47:07 +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
Maccesch
294cbaf222
updated to latest version of web_sys
2024-08-13 02:10:35 +01:00
Marc-Stefan Cassola
5d1d8ad28f
Merge pull request #147 from Baptistemontan/fix_non_exhaustive
...
fixed an error for a match on a non exhaustive enum
2024-08-13 01:55:48 +01:00
Baptiste
6d0e946b5a
fixed a error for a match on a non exhaustive enum
2024-08-13 02:40:46 +02:00
Charles Edward Gagnon
72cc82713d
remove useless code churn
...
remove useless type
2024-08-12 20:39:46 -04:00
Charles Edward Gagnon
5d6d55dd89
update changelog
2024-08-12 20:35:51 -04:00
Charles Edward Gagnon
cb889066ce
fix build issues
2024-08-12 20:34:11 -04:00
Charles Edward Gagnon
31f019a944
make it take Some again
2024-08-12 20:27:04 -04:00
Charles Edward Gagnon
0b7e8af995
chore: fmt;
2024-08-12 20:01:53 -04:00
Charles Edward Gagnon
fe7d51c70f
fix building issues
2024-08-12 20:01:08 -04:00
Charles Edward Gagnon
e795c1f8f3
make UseMouseEventExtractor
not return an option
...
This makes it so that `Movement` always returns (0., 0.)
2024-08-12 19:55:33 -04:00
Maccesch
cef0e68121
added assign_ltr and assign_rtl to sync_signal
2024-08-12 12:25:07 +01:00
Maccesch
d32d725731
updated changelog
2024-08-01 16:16:26 +01:00
Marc-Stefan Cassola
8d8169861c
Merge pull request #142 from hcandelaria/use_web_notification
...
Feat: Enhance `UseWebNotificationOptions` and `ShowOptions` with additional fields
2024-08-01 16:08:38 +01:00
Hector Candelaria
2a8a2b81e4
Doc: fixed typo
2024-08-01 01:15:37 -04:00
Hector Candelaria
18021ad942
Merge branch 'main' into use_web_notification
2024-08-01 00:31:08 -04:00
Hector Candelaria
f37f28cfff
Feat: Add image
field to UseWebNotificationOptions
and ShowOptions
...
Added the `image` field to the `UseWebNotificationOptions` and `ShowOptions` structures.
This field allows specifying an image URL to be displayed in the notification.
2024-07-31 23:11:33 -04:00
Hector Candelaria
88af0e735d
Feat: Add silent
field to UseWebNotificationOptions
and ShowOptions
...
Introduced the `silent` field to the `UseWebNotificationOptions` and `ShowOptions` structures,
allowing notifications to be displayed in silent.
2024-07-31 22:18:58 -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
da56771900
fixed use_timeout_fn to be SSR safe
2024-07-31 01:15:20 +01:00
Maccesch
f0d60e5d49
release 0.11.2
2024-07-30 12:49:24 +01:00
Maccesch
5b8cfd4449
fixed tests
2024-07-29 01:09:24 +01:00
Maccesch
709757996e
locale now does matching against supported
2024-07-29 01:06:00 +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
c64fb046f8
updated readme build batch
2024-07-27 19:45:42 +01:00
Maccesch
c674b45635
fixed tests
2024-07-27 19:25:31 +01:00