diff --git a/latest/docs/redwood-compose/app.cash.redwood.compose/-android-ui-dispatcher/dispatch.html b/latest/docs/redwood-compose/app.cash.redwood.compose/-android-ui-dispatcher/dispatch.html index 944272a760..22b20d0c02 100644 --- a/latest/docs/redwood-compose/app.cash.redwood.compose/-android-ui-dispatcher/dispatch.html +++ b/latest/docs/redwood-compose/app.cash.redwood.compose/-android-ui-dispatcher/dispatch.html @@ -65,7 +65,7 @@

dispatch

-
open override fun dispatch(context: CoroutineContext, block: Runnable)
+
open override fun dispatch(context: CoroutineContext, block: Runnable)
diff --git a/latest/docs/redwood-protocol-guest/app.cash.redwood.protocol.guest/-guest-protocol-adapter/append-property-change.html b/latest/docs/redwood-protocol-guest/app.cash.redwood.protocol.guest/-guest-protocol-adapter/append-property-change.html index 5bd105b1ec..0c1c2e421e 100644 --- a/latest/docs/redwood-protocol-guest/app.cash.redwood.protocol.guest/-guest-protocol-adapter/append-property-change.html +++ b/latest/docs/redwood-protocol-guest/app.cash.redwood.protocol.guest/-guest-protocol-adapter/append-property-change.html @@ -58,12 +58,12 @@
-
+

appendPropertyChange

-
abstract fun <T> appendPropertyChange(id: Id, tag: PropertyTag, serializer: KSerializer<T>, value: T)
abstract fun appendPropertyChange(id: Id, tag: PropertyTag, value: Boolean)


abstract fun appendPropertyChange(id: Id, tag: PropertyTag, value: UInt)

There's a bug in kotlinx.serialization where decodeFromDynamic() is broken for UInt values larger than MAX_INT. For example, 4294967295 is incorrectly encoded as -1. We work around that here by special casing that type.

https://github.com/Kotlin/kotlinx.serialization/issues/2713

+
abstract fun <T> appendPropertyChange(id: Id, widgetTag: WidgetTag, propertyTag: PropertyTag, serializer: KSerializer<T>, value: T)
abstract fun appendPropertyChange(id: Id, widgetTag: WidgetTag, propertyTag: PropertyTag, value: Boolean)


abstract fun appendPropertyChange(id: Id, widgetTag: WidgetTag, propertyTag: PropertyTag, value: UInt)

There's a bug in kotlinx.serialization where decodeFromDynamic() is broken for UInt values larger than MAX_INT. For example, 4294967295 is incorrectly encoded as -1. We work around that here by special casing that type.

https://github.com/Kotlin/kotlinx.serialization/issues/2713

- +
appendPropertyChange
- +
Link copied to clipboard
-
abstract fun appendPropertyChange(id: Id, tag: PropertyTag, value: Boolean)
abstract fun <T> appendPropertyChange(id: Id, tag: PropertyTag, serializer: KSerializer<T>, value: T)

abstract fun appendPropertyChange(id: Id, tag: PropertyTag, value: UInt)

There's a bug in kotlinx.serialization where decodeFromDynamic() is broken for UInt values larger than MAX_INT. For example, 4294967295 is incorrectly encoded as -1. We work around that here by special casing that type.

+
abstract fun appendPropertyChange(id: Id, widgetTag: WidgetTag, propertyTag: PropertyTag, value: Boolean)
abstract fun <T> appendPropertyChange(id: Id, widgetTag: WidgetTag, propertyTag: PropertyTag, serializer: KSerializer<T>, value: T)

abstract fun appendPropertyChange(id: Id, widgetTag: WidgetTag, propertyTag: PropertyTag, value: UInt)

There's a bug in kotlinx.serialization where decodeFromDynamic() is broken for UInt values larger than MAX_INT. For example, 4294967295 is incorrectly encoded as -1. We work around that here by special casing that type.

diff --git a/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/-companion/index.html b/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/-companion/index.html index d75dbfd70d..52d7f82754 100644 --- a/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/-companion/index.html +++ b/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/-companion/index.html @@ -69,17 +69,17 @@

Companion

Functions

-
+
- +
Link copied to clipboard
-
operator fun invoke(id: Id, tag: PropertyTag, value: JsonElement = JsonNull): PropertyChange
+
operator fun invoke(id: Id, widgetTag: WidgetTag, propertyTag: PropertyTag, value: JsonElement = JsonNull): PropertyChange
diff --git a/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/-companion/invoke.html b/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/-companion/invoke.html index 4d8745cd7c..55c1a94ab9 100644 --- a/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/-companion/invoke.html +++ b/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/-companion/invoke.html @@ -58,12 +58,12 @@
-
+

invoke

-
operator fun invoke(id: Id, tag: PropertyTag, value: JsonElement = JsonNull): PropertyChange
+
operator fun invoke(id: Id, widgetTag: WidgetTag, propertyTag: PropertyTag, value: JsonElement = JsonNull): PropertyChange
- +
- - + +
Link copied to clipboard
-

Identifies which property changed on the widget with id.

+

Identifies which property changed on the widget.

@@ -133,6 +133,21 @@

Properties

+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Identifies the widget on which the property changed.

+
+
+
+
diff --git a/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/property-tag.html b/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/property-tag.html new file mode 100644 index 0000000000..e6975d13b8 --- /dev/null +++ b/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/property-tag.html @@ -0,0 +1,76 @@ + + + + + propertyTag + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ +
+

propertyTag

+
+

Identifies which property changed on the widget.

+
+ +
+
+
+ + + diff --git a/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/tag.html b/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/widget-tag.html similarity index 90% rename from latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/tag.html rename to latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/widget-tag.html index 88aa1c05d0..9e8e7f7d99 100644 --- a/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/tag.html +++ b/latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/widget-tag.html @@ -2,7 +2,7 @@ - tag + widgetTag