From 2859353e138ce7a10ce883d06433f5d9eeb19165 Mon Sep 17 00:00:00 2001 From: swankjesse Date: Wed, 2 Oct 2024 22:00:39 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20site=20from=20=20@=20372600f32?= =?UTF-8?q?96c7f4d044a1e97f4c612c2e12a6c83=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../-android-ui-dispatcher/dispatch.html | 2 +- .../-android-ui-dispatcher/index.html | 2 +- .../append-property-change.html | 4 +- .../-guest-protocol-adapter/index.html | 6 +- .../-property-change/-companion/index.html | 6 +- .../-property-change/-companion/invoke.html | 4 +- .../-property-change/index.html | 23 +++++- .../-property-change/property-tag.html | 76 +++++++++++++++++++ .../{tag.html => widget-tag.html} | 10 +-- .../-treehouse-layout/index.html | 40 +++++----- .../-view-group-children.html | 8 +- .../-view-group-children/index.html | 16 ++-- .../app.cash.redwood.widget/index.html | 6 +- latest/docs/scripts/pages.json | 2 +- 14 files changed, 152 insertions(+), 53 deletions(-) create mode 100644 latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/property-tag.html rename latest/docs/redwood-protocol/app.cash.redwood.protocol/-property-change/{tag.html => widget-tag.html} (90%) 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

- +
- +
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