fix: update reactive views for new requirements

This commit is contained in:
Greg Johnston 2024-07-31 08:52:26 -04:00
parent a2d3d9431c
commit c88409a333
5 changed files with 15 additions and 0 deletions

View file

@ -458,6 +458,7 @@ mod stable {
where
$sig<C, S>: Get<Value = C>,
S: Send + Sync + 'static,
S: Storage<C> + Storage<Option<C>>,
C: IntoClass<R> + Send + Sync + Clone + 'static,
C::State: 'static,
R: DomRenderer,
@ -510,6 +511,7 @@ mod stable {
where
$sig<bool, S>: Get<Value = bool>,
S: Send + 'static,
S: Storage<bool>,
R: DomRenderer,
{
type AsyncOutput = Self;
@ -684,6 +686,7 @@ mod stable {
use crate::{html::class::IntoClass, renderer::DomRenderer};
use reactive_graph::{
computed::{ArcMemo, Memo},
owner::Storage,
signal::{ArcReadSignal, ArcRwSignal, ReadSignal, RwSignal},
traits::Get,
wrappers::read::{ArcSignal, MaybeSignal, Signal},

View file

@ -85,6 +85,7 @@ mod stable {
use reactive_graph::{
computed::{ArcMemo, Memo},
effect::RenderEffect,
owner::Storage,
signal::{ArcReadSignal, ArcRwSignal, ReadSignal, RwSignal},
traits::Get,
wrappers::read::{ArcSignal, MaybeSignal, Signal},
@ -151,6 +152,7 @@ mod stable {
where
$sig<V, S>: Get<Value = V>,
S: Send + Sync + 'static,
S: Storage<V>,
V: InnerHtmlValue<R> + Send + Sync + Clone + 'static,
V::State: 'static,
R: DomRenderer,

View file

@ -496,6 +496,7 @@ mod stable {
};
use reactive_graph::{
computed::{ArcMemo, Memo},
owner::Storage,
signal::{ArcReadSignal, ArcRwSignal, ReadSignal, RwSignal},
traits::Get,
wrappers::read::{ArcSignal, MaybeSignal, Signal},
@ -678,6 +679,7 @@ mod stable {
where
$sig<V, S>: Get<Value = V>,
S: Send + Sync + 'static,
S: Storage<V> + Storage<Option<V>>,
V: Render<R> + Send + Sync + Clone + 'static,
V::State: 'static,
@ -703,6 +705,7 @@ mod stable {
where
$sig<V, S>: Get<Value = V>,
S: Send + Sync + 'static,
S: Storage<V> + Storage<Option<V>>,
V: RenderHtml<R> + Clone + Send + Sync + 'static,
V::State: 'static,
R: Renderer + 'static,
@ -724,6 +727,7 @@ mod stable {
where
$sig<V, S>: Get<Value = V>,
S: Send + Sync + 'static,
S: Storage<V> + Storage<Option<V>>,
V: RenderHtml<R> + Clone + Send + Sync + 'static,
V::State: 'static,
@ -789,6 +793,7 @@ mod stable {
impl<V, R, S> AttributeValue<R> for $sig<V, S>
where
$sig<V, S>: Get<Value = V>,
S: Storage<V> + Storage<Option<V>>,
S: Send + Sync + 'static,
V: AttributeValue<R> + Send + Sync + Clone + 'static,
V::State: 'static,

View file

@ -92,6 +92,7 @@ mod stable {
use reactive_graph::{
computed::{ArcMemo, Memo},
effect::RenderEffect,
owner::Storage,
signal::{ArcReadSignal, ArcRwSignal, ReadSignal, RwSignal},
traits::Get,
wrappers::read::{ArcSignal, MaybeSignal, Signal},
@ -147,6 +148,7 @@ mod stable {
where
$sig<V, S>: Get<Value = V>,
S: Send + Sync + 'static,
S: Storage<V> + Storage<Option<V>>,
V: IntoProperty<R> + Send + Sync + Clone + 'static,
V::State: 'static,
R: DomRenderer,

View file

@ -308,6 +308,7 @@ mod stable {
impl<C, R, S> IntoStyle<R> for $sig<C, S>
where
$sig<C, S>: Get<Value = C>,
S: Storage<C> + Storage<Option<C>>,
S: Send + Sync + 'static,
C: IntoStyle<R> + Send + Sync + Clone + 'static,
C::State: 'static,
@ -357,6 +358,7 @@ mod stable {
where
$sig<S, St>: Get<Value = S>,
St: Send + Sync + 'static,
St: Storage<S> + Storage<Option<S>>,
S: Into<Cow<'static, str>> + Send + Sync + Clone + 'static,
R: DomRenderer,
{
@ -415,6 +417,7 @@ mod stable {
use crate::{html::style::IntoStyle, renderer::DomRenderer};
use reactive_graph::{
computed::{ArcMemo, Memo},
owner::Storage,
signal::{ArcReadSignal, ArcRwSignal, ReadSignal, RwSignal},
traits::Get,
wrappers::read::{ArcSignal, MaybeSignal, Signal},