@onekeyfe/react-native-native-list 6.7.0-2 → 6.7.0-21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/android/src/main/java/com/onekey/nativelist/HybridNativeList.kt +14 -1
  2. package/android/src/main/java/com/onekey/nativelist/NativeListAccessoryStack.kt +245 -9
  3. package/android/src/main/java/com/onekey/nativelist/NativeListActivityDetailsView.kt +35 -7
  4. package/android/src/main/java/com/onekey/nativelist/NativeListActivityRenderer.kt +25 -3
  5. package/android/src/main/java/com/onekey/nativelist/NativeListAdapter.kt +17 -1
  6. package/android/src/main/java/com/onekey/nativelist/NativeListButtonGroupRenderer.kt +102 -0
  7. package/android/src/main/java/com/onekey/nativelist/NativeListContainerSlotAdapter.kt +12 -0
  8. package/android/src/main/java/com/onekey/nativelist/NativeListDataRowRenderer.kt +102 -7
  9. package/android/src/main/java/com/onekey/nativelist/NativeListIdentityRenderer.kt +225 -11
  10. package/android/src/main/java/com/onekey/nativelist/NativeListLeadingVisual.kt +147 -33
  11. package/android/src/main/java/com/onekey/nativelist/NativeListMarketRenderer.kt +92 -28
  12. package/android/src/main/java/com/onekey/nativelist/NativeListMessageRenderer.kt +25 -0
  13. package/android/src/main/java/com/onekey/nativelist/NativeListModels.kt +149 -3
  14. package/android/src/main/java/com/onekey/nativelist/NativeListPrimitives.kt +51 -0
  15. package/android/src/main/java/com/onekey/nativelist/NativeListRendererRegistry.kt +2 -0
  16. package/android/src/main/java/com/onekey/nativelist/NativeListRendererRowView.kt +2 -0
  17. package/android/src/main/java/com/onekey/nativelist/NativeListResolvedText.kt +3 -2
  18. package/android/src/main/java/com/onekey/nativelist/NativeListSectionHeaderRenderer.kt +69 -0
  19. package/android/src/main/java/com/onekey/nativelist/NativeListTextView.kt +55 -1
  20. package/android/src/main/java/com/onekey/nativelist/NativeListView.kt +1953 -117
  21. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListActivityHostClipPolicyTest.kt +35 -0
  22. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListIdentityTrailingAxisTest.kt +36 -0
  23. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListLeadingSlotFrameTest.kt +68 -0
  24. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListLeadingVisualClipPolicyTest.kt +44 -0
  25. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListPressPolicyTest.kt +10 -0
  26. package/docs/ROW_TEMPLATES.md +70 -11
  27. package/docs/SPEC.md +1235 -20
  28. package/docs/STYLE_SPEC.md +6 -0
  29. package/ios/HybridNativeList.swift +21 -2
  30. package/ios/NativeListAccessoryStack.swift +235 -39
  31. package/ios/NativeListActivityDetailsView.swift +30 -11
  32. package/ios/NativeListActivityRenderer.swift +8 -2
  33. package/ios/NativeListButtonGroupRenderer.swift +89 -0
  34. package/ios/NativeListDataRowRenderer.swift +155 -27
  35. package/ios/NativeListDesignAssets.swift +9 -0
  36. package/ios/NativeListIdentityRenderer.swift +239 -31
  37. package/ios/NativeListLeadingVisual.swift +119 -22
  38. package/ios/NativeListMarketRenderer.swift +113 -18
  39. package/ios/NativeListMessageRenderer.swift +34 -1
  40. package/ios/NativeListModels.swift +42 -2
  41. package/ios/NativeListRendererRegistry.swift +1 -0
  42. package/ios/NativeListResolvedText.swift +2 -1
  43. package/ios/NativeListRowHost.swift +14 -0
  44. package/ios/NativeListSectionHeaderRenderer.swift +88 -0
  45. package/ios/RNCNativeListView.swift +1052 -58
  46. package/ios/Resources/NativeListIcons.xcassets/onekey_crypto_coin_outline.imageset/Contents.json +15 -0
  47. package/ios/Resources/NativeListIcons.xcassets/onekey_crypto_coin_outline.imageset/icon.svg +4 -0
  48. package/ios/Resources/NativeListIcons.xcassets/onekey_document2.imageset/Contents.json +1 -0
  49. package/ios/Resources/NativeListIcons.xcassets/onekey_document2.imageset/icon.svg +1 -0
  50. package/ios/Resources/NativeListIcons.xcassets/onekey_dot_ver_solid.imageset/Contents.json +1 -0
  51. package/ios/Resources/NativeListIcons.xcassets/onekey_dot_ver_solid.imageset/icon.svg +1 -0
  52. package/ios/Resources/NativeListIcons.xcassets/onekey_gas_solid.imageset/Contents.json +15 -0
  53. package/ios/Resources/NativeListIcons.xcassets/onekey_gas_solid.imageset/icon.svg +3 -0
  54. package/ios/Resources/NativeListIcons.xcassets/onekey_plus_large.imageset/Contents.json +1 -0
  55. package/ios/Resources/NativeListIcons.xcassets/onekey_plus_large.imageset/icon.svg +1 -0
  56. package/ios/Resources/NativeListIcons.xcassets/onekey_refresh_ccw_outline.imageset/Contents.json +15 -0
  57. package/ios/Resources/NativeListIcons.xcassets/onekey_refresh_ccw_outline.imageset/icon.svg +3 -0
  58. package/ios/Resources/NativeListIcons.xcassets/onekey_ticket.imageset/Contents.json +1 -0
  59. package/ios/Resources/NativeListIcons.xcassets/onekey_ticket.imageset/icon.svg +1 -0
  60. package/ios/Resources/NativeListIcons.xcassets/onekey_wallet.imageset/Contents.json +1 -0
  61. package/ios/Resources/NativeListIcons.xcassets/onekey_wallet.imageset/icon.svg +1 -0
  62. package/ios/tests/NativeListAccessoryStackTests.swift +89 -0
  63. package/ios/tests/NativeListActivityPresentationTests.swift +153 -0
  64. package/ios/tests/NativeListIdentityTitleIconLayoutTests.swift +81 -0
  65. package/ios/tests/NativeListLeadingVisualPairBackdropTests.swift +50 -0
  66. package/ios/tests/NativeListLifecycleTests.swift +2789 -3
  67. package/ios/tests/NativeListMarketMetricsTests.swift +117 -0
  68. package/lib/module/NativeList.js +223 -36
  69. package/lib/module/NativeList.web.js +260 -33
  70. package/lib/module/index.js +1 -1
  71. package/lib/module/models.js +3 -0
  72. package/lib/module/selection.js +1 -1
  73. package/lib/module/validation.js +1386 -81
  74. package/lib/module/web/NativeListWebEngine.js +914 -80
  75. package/lib/module/web/templates/ActivityRowRenderer.js +487 -7
  76. package/lib/module/web/templates/ButtonGroupRowRenderer.js +47 -0
  77. package/lib/module/web/templates/DataRowRenderer.js +40 -5
  78. package/lib/module/web/templates/IdentityRowRenderer.js +145 -5
  79. package/lib/module/web/templates/MarketRowRenderer.js +8 -3
  80. package/lib/module/web/templates/MarketTableRowRenderer.js +577 -0
  81. package/lib/module/web/templates/MediaTileRowRenderer.js +260 -5
  82. package/lib/module/web/templates/MessageRowRenderer.js +18 -2
  83. package/lib/module/web/templates/RowContainerStyle.js +1 -0
  84. package/lib/module/web/templates/RowRendererRegistry.js +8 -3
  85. package/lib/module/web/templates/SectionHeaderRowRenderer.js +70 -3
  86. package/lib/nitrogen/generated/android/c++/JHybridNativeListSpec.cpp +26 -0
  87. package/lib/nitrogen/generated/android/c++/JHybridNativeListSpec.hpp +4 -0
  88. package/lib/nitrogen/generated/android/c++/views/JHybridNativeListStateUpdater.cpp +10 -0
  89. package/lib/nitrogen/generated/android/kotlin/com/margelo/nitro/nativelist/HybridNativeListSpec.kt +20 -0
  90. package/lib/nitrogen/generated/ios/c++/HybridNativeListSpecSwift.hpp +14 -0
  91. package/lib/nitrogen/generated/ios/c++/views/HybridNativeListComponent.mm +12 -0
  92. package/lib/nitrogen/generated/ios/swift/HybridNativeListSpec.swift +2 -0
  93. package/lib/nitrogen/generated/ios/swift/HybridNativeListSpec_cxx.swift +43 -0
  94. package/lib/nitrogen/generated/shared/c++/HybridNativeListSpec.cpp +4 -0
  95. package/lib/nitrogen/generated/shared/c++/HybridNativeListSpec.hpp +4 -0
  96. package/lib/nitrogen/generated/shared/c++/views/HybridNativeListComponent.cpp +4 -0
  97. package/lib/nitrogen/generated/shared/c++/views/HybridNativeListComponent.hpp +6 -0
  98. package/lib/nitrogen/generated/shared/json/NativeListConfig.json +2 -0
  99. package/lib/typescript/src/NativeList.d.ts +3 -3
  100. package/lib/typescript/src/NativeList.nitro.d.ts +2 -0
  101. package/lib/typescript/src/NativeList.types.d.ts +29 -1
  102. package/lib/typescript/src/NativeList.web.d.ts +2 -2
  103. package/lib/typescript/src/index.d.ts +2 -2
  104. package/lib/typescript/src/models.d.ts +196 -17
  105. package/lib/typescript/src/validation.d.ts +20 -0
  106. package/lib/typescript/src/web/NativeListWebEngine.d.ts +58 -1
  107. package/lib/typescript/src/web/templates/ActivityRowRenderer.d.ts +3 -3
  108. package/lib/typescript/src/web/templates/ButtonGroupRowRenderer.d.ts +14 -0
  109. package/lib/typescript/src/web/templates/IdentityRowRenderer.d.ts +1 -1
  110. package/lib/typescript/src/web/templates/MarketTableRowRenderer.d.ts +17 -0
  111. package/lib/typescript/src/web/templates/MediaTileRowRenderer.d.ts +3 -3
  112. package/lib/typescript/src/web/templates/MessageRowRenderer.d.ts +10 -4
  113. package/lib/typescript/src/web/templates/RowRendererRegistry.d.ts +3 -1
  114. package/nitrogen/generated/android/c++/JHybridNativeListSpec.cpp +26 -0
  115. package/nitrogen/generated/android/c++/JHybridNativeListSpec.hpp +4 -0
  116. package/nitrogen/generated/android/c++/views/JHybridNativeListStateUpdater.cpp +10 -0
  117. package/nitrogen/generated/android/kotlin/com/margelo/nitro/nativelist/HybridNativeListSpec.kt +20 -0
  118. package/nitrogen/generated/ios/c++/HybridNativeListSpecSwift.hpp +14 -0
  119. package/nitrogen/generated/ios/c++/views/HybridNativeListComponent.mm +12 -0
  120. package/nitrogen/generated/ios/swift/HybridNativeListSpec.swift +2 -0
  121. package/nitrogen/generated/ios/swift/HybridNativeListSpec_cxx.swift +43 -0
  122. package/nitrogen/generated/shared/c++/HybridNativeListSpec.cpp +4 -0
  123. package/nitrogen/generated/shared/c++/HybridNativeListSpec.hpp +4 -0
  124. package/nitrogen/generated/shared/c++/views/HybridNativeListComponent.cpp +4 -0
  125. package/nitrogen/generated/shared/c++/views/HybridNativeListComponent.hpp +6 -0
  126. package/nitrogen/generated/shared/json/NativeListConfig.json +2 -0
  127. package/package.json +3 -3
  128. package/react-native-native-list.podspec +1 -0
  129. package/src/NativeList.nitro.ts +2 -0
  130. package/src/NativeList.tsx +418 -89
  131. package/src/NativeList.types.ts +34 -1
  132. package/src/NativeList.web.tsx +417 -66
  133. package/src/index.ts +2 -0
  134. package/src/models.ts +355 -143
  135. package/src/selection.ts +1 -0
  136. package/src/validation.ts +3315 -166
  137. package/src/web/NativeListWebEngine.ts +1473 -113
  138. package/src/web/templates/ActivityRowRenderer.ts +732 -8
  139. package/src/web/templates/ButtonGroupRowRenderer.ts +58 -0
  140. package/src/web/templates/DataRowRenderer.ts +93 -20
  141. package/src/web/templates/IdentityRowRenderer.ts +217 -6
  142. package/src/web/templates/MarketRowRenderer.ts +19 -3
  143. package/src/web/templates/MarketTableRowRenderer.ts +755 -0
  144. package/src/web/templates/MediaTileRowRenderer.ts +313 -5
  145. package/src/web/templates/MessageRowRenderer.ts +23 -7
  146. package/src/web/templates/RowContainerStyle.ts +2 -0
  147. package/src/web/templates/RowRendererRegistry.ts +21 -6
  148. package/src/web/templates/SectionHeaderRowRenderer.ts +89 -5
package/docs/SPEC.md CHANGED
@@ -7,7 +7,7 @@ architecture and runtime evidence.
7
7
  ## Purpose and non-goals
8
8
 
9
9
  NativeList renders bounded data with fixed row templates on iOS, Android and
10
- Web. Data rows do not render arbitrary React children. Native-only named container slots
10
+ Web. Data rows do not render arbitrary React children. Named container slots
11
11
  may render React chrome outside the data-row stream. Integrators own overflow
12
12
  prevention; there is no automatic fitting or shrinking pass.
13
13
 
@@ -26,6 +26,305 @@ prevention; there is no automatic fitting or shrinking pass.
26
26
 
27
27
  ## Public API and defaults
28
28
 
29
+ ### Recipient identity and inline warning rows
30
+
31
+ Status: implemented in local source for the Select Address and Swap selectors;
32
+ native device and Web runtime verification remain pending. These fields travel in snapshot/patch JSON
33
+ and do not change the Nitro ABI.
34
+
35
+ An `identity` row may opt into `subtitleLines: 0`, meaning the complete subtitle
36
+ wraps at its measured text-column width without a line cap. Existing omitted,
37
+ one-line and two-line behavior stays unchanged. An identity row with
38
+ `contentHeight: 'auto'` measures its actual title, subtitle, leading visual,
39
+ badges and trailing accessories and grows to fit; this is opt-in and does not
40
+ alter selector or wallet-sidebar presets. An explicit `style.container.height`
41
+ or `row.height` still wins over content measurement, in that order. Content
42
+ height changes with row width, text, style or configured font and may not retain
43
+ a stale prior width's measurement. The existing 4096 UTF-16-code-unit bound per
44
+ text field still applies; zero is not an unlimited data-size allowance.
45
+
46
+ An `identity` row may set `longPressActionKey` to a nonempty action key. A valid
47
+ touch long press on an enabled row emits one `onRowAction` with its current row key,
48
+ action key, `row` anchor source and window press point. An accessibility long-click
49
+ without a physical touch retains the row anchor without a press point. It suppresses the
50
+ ordinary press for that gesture. Motion cancellation, row rebind/recycle,
51
+ disabled state and disposal cancel pending recognition. Trailing accessory
52
+ actions remain independent. Omission preserves existing tap behavior.
53
+
54
+ Identity trailing accessories stack vertically, except for the pairs every
55
+ platform lays out side by side: `value` + `checkbox`, `valuePair` + `menu`,
56
+ `valuePair` + an `icon` named `DotVerSolid` whose `actionKey` is `menu`,
57
+ `valuePair` + `chevron`, a `RefreshCcwOutline` icon without an action key +
58
+ `chevron`, and `PencilOutline` + `DragOutline` icons. iOS decides this in
59
+ `configureTrailingStack`; Android in `nativeListIdentityTrailingIsHorizontal`
60
+ (JVM test `NativeListIdentityTrailingAxisTest`). The `valuePair` + menu-icon
61
+ pair is the Swap token selector's balance column and row menu; stacking it
62
+ clipped both inside the fixed 60dp row on Android.
63
+
64
+ Icon names are a closed set drawn from the app's 24-unit Icon sources on every
65
+ platform (`iconPaths` on Android, `NativeListIcons.xcassets` on iOS,
66
+ `selectorIcons` on Web); an unmapped name renders an empty slot rather than a
67
+ placeholder. The set includes every name the app's NativeList builders pass,
68
+ including `DotVerSolid`, `Document2Outline`, `WalletOutline`, `PlusLargeOutline`
69
+ and `TicketOutline` (added 2026-10-30 after the OK-66072 audit found them missing
70
+ on native).
71
+
72
+ A `message` row may opt into `bodyLines: 0`; its complete body wraps within its
73
+ existing text area and determines natural height unless an explicit row or
74
+ container height overrides it. Existing omitted and one-to-three-line behavior
75
+ stays unchanged. `style.body.lines`, when supplied, retains its existing
76
+ one-to-three-line precedence. `presentation: 'inlineWarning'` changes only the
77
+ message container border: requested `style.container.borderWidth` and
78
+ `borderColor` draw top and bottom edges at full row width, with no side edges or
79
+ corner radius. Omitted border width draws no border; omitted presentation keeps
80
+ the existing all-edge container style. The caller supplies warning text, icon,
81
+ font, padding, colors and list-width layout; the SDK does not infer risk status.
82
+ All optional fields must clear on rebind/recycle and patch replacement. The
83
+ existing 4096-code-unit body limit applies.
84
+
85
+ An image-backed `LeadingVisual` may set `fallbackTextColor` to a hex
86
+ `#RRGGBB` or `#RRGGBBAA` color. It colors only the visible initials/fallback
87
+ text, including a failed image's fallback state; omission retains the existing
88
+ platform default. It does not alter the visual background, bitmap, icon, or
89
+ overlay colors. Validation rejects malformed colors. Rebind and recycle must
90
+ clear the previous text color so dark/light theme updates cannot leak between
91
+ rows. Consumers own the semantic theme choice (for example inverse text over
92
+ inverse background).
93
+
94
+ iOS measures opt-in identity and unlimited message content before collection
95
+ placement. Android binds text with unlimited native lines and allows its row
96
+ view to measure that content. Web uses wrapping DOM text and measured row
97
+ height. All platforms retain existing explicit-height precedence and existing
98
+ default rows. Focused source tests must cover validation, patching, old-to-new
99
+ reuse, action isolation and height changing with width/text; real iOS, Android
100
+ and Web acceptance must cover narrow addresses, dynamic type/fonts, long press
101
+ versus tap, keyboard interaction, and the horizontal warning border. Source or
102
+ build success alone is not runtime evidence.
103
+
104
+ ### DeFi position row controls
105
+
106
+ Status: implemented in local source, unreleased. Focused validation and Web
107
+ DOM tests pass; native source compilation passes, while target-app compilation
108
+ and device acceptance remain separate gates.
109
+ `buttonGroup` is a vertical data row with `RowBase` identity and a nonempty
110
+ `buttons` array. Each button has a unique nonempty `key`, localized nonempty
111
+ `label`, nonempty `actionKey`, and optional `disabled`, `loading`, `testID` and
112
+ `accessibilityLabel`. It renders the existing DeFi medium block info-outline
113
+ controls: equal-width buttons, 10-point gap, 12-point vertical padding and
114
+ 12-point radius. Every declared action remains visible; the renderer must not
115
+ truncate the array. Loading retains the button's width, disables that button,
116
+ and displays an activity indicator. A disabled row disables every button.
117
+ Activation emits one existing row action with the button's `actionKey` and
118
+ its own source/slot, without activating the row. A full rebind or recycle
119
+ removes prior buttons, loading indicators, labels, test IDs and handlers.
120
+ The SDK does not infer which DeFi actions are allowed or perform transactions.
121
+
122
+ `sectionHeader` may include `leadingBadge` (the existing badge shape),
123
+ with an optional `NativeListTheme.successBackground` used only for its
124
+ `success` tone. Omitting that theme color keeps the old badge default.
125
+ `style.valuePlacement: 'afterTitle'`, and
126
+ `style.titleDecoration: 'none' | 'dashed'`. Missing fields retain the current
127
+ heading layout and decoration. `valueHelp` and a `valuePair` trailing
128
+ accessory's `primaryHelp` share
129
+ `{ actionKey, presentation: 'tooltip' | 'popover', underline?: 'dashed' }`.
130
+ Presentation and underline are independent: the former selects trigger
131
+ semantics, the latter only draws a dashed underline. `tooltip` on Web opens on
132
+ mouse/pen entry and eligible focus, closes on departure/blur, and mouse/pen
133
+ press closes it until departure; touch toggles. It has no native touch target
134
+ or event. `popover` on all platforms toggles only on click/press and does not
135
+ open from hover. These help targets do not activate their row. Presentation
136
+ change, departure, scroll, rebind, replacement by another anchor and disposal
137
+ invalidate the old anchor.
138
+ On Web, the value-pair primary help target is keyboard focusable; focus opens
139
+ tooltip help and Enter/Space activates popover help without pressing the row.
140
+ The consuming app owns Tooltip/Popover content. Missing help fields keep
141
+ the original noninteractive text. All additions use snapshot JSON and do not
142
+ change the Nitro ABI.
143
+
144
+ `valuePair.primaryFontWeight?: 'medium'` applies only to the primary text
145
+ line. The secondary line keeps its existing regular weight. Omitting the field
146
+ preserves each platform's existing value-pair typography; full rebind and
147
+ recycle remove any previous primary-only override. The field travels in the
148
+ existing snapshot JSON and does not change the Nitro ABI.
149
+
150
+ Validation rejects empty or duplicate button keys, empty labels/action keys,
151
+ invalid booleans and help descriptors, and unknown style fields. The list's
152
+ existing row, text and snapshot bounds apply; no
153
+ silent action truncation is permitted. Conformance includes Web DOM events,
154
+ iOS/Android renderer bind/reuse, TypeScript validation, native builds, and
155
+ later real UI checks for help anchors, loading, disabled actions and geometry.
156
+
157
+ ### Segmented value-pair accessory
158
+
159
+ Status: implemented in local source, unreleased. Focused validation and Web DOM
160
+ tests pass; production iOS target compilation passes. Native instrumentation,
161
+ full App builds and device acceptance remain separate gates. A `valuePair`
162
+ trailing accessory retains its required `primary` and `secondary` fallback
163
+ strings. It may also supply optional readonly `primaryTextSegments` and
164
+ `secondaryTextSegments` arrays of existing `ValueTextSegment` objects. Missing
165
+ or empty arrays display the corresponding fallback; nonempty arrays display
166
+ their text runs. Callers provide matching fallback text, but validation does
167
+ not enforce that match.
168
+
169
+ Each array has at most 64 segments, each with string `text` of at most 4096
170
+ characters and optional `style: 'subscript'`. Total text per array is at most
171
+ 4096 characters. Full snapshots and explicit patch replacements reject null,
172
+ malformed arrays, unknown segment keys and other styles. An omitted patch field
173
+ leaves the existing accessory unchanged; replacement without segments clears
174
+ old runs. Subscript retains the existing 60-percent smaller-font convention
175
+ after semantic text styling. Both lines retain their default size, tone, line
176
+ height, right alignment and accessibility text. These fields add no action or
177
+ hit target and travel in existing snapshot JSON without a Nitro ABI change.
178
+
179
+ ### Identity title image
180
+
181
+ Status: implemented in local source, unreleased. Type checks, JS/Web tests,
182
+ Web runtime checks, package build, iOS XCTest-target compilation, Android
183
+ production/instrumentation-test compilation and JVM tests pass. Focused iOS
184
+ Simulator XCTest and Android emulator instrumentation verify image lifecycle,
185
+ null removal and wallet-sidebar layout. Complete wallet App acceptance remains
186
+ pending.
187
+ An `identity` row may supply `titleImage: { image, accessibilityLabel?,
188
+ hoverActionKey? }`. `image` uses the existing `ImageSource` contract and must
189
+ declare equal finite width and height within 1...40 logical units. The image
190
+ is circular, follows the title and any title icons with a 4-point gap, and
191
+ precedes title suffixes and inline badges. It reserves its declared square
192
+ while loading or after failure, so neither state moves the text. Existing
193
+ rows without this field keep their current layout. The image does not change
194
+ row identity or infer a stock, issuer, or other product meaning.
195
+
196
+ iOS and Android use the existing OneKeyImage-backed slot, request options and
197
+ retry limits. Slots belong to the mounted row renderer; OneKeyImage owns image
198
+ caches. Text-only rebinds retain an unchanged row/source request. Source or row
199
+ changes, removal, recycling and disposal cancel prior work and prevent stale
200
+ completion from painting the next binding. Failure leaves the reserved square
201
+ empty; the SDK adds no title-image fallback request or separate cache.
202
+
203
+ On Web, optional `hoverActionKey` uses the title icon's existing help semantics
204
+ and `leadingAction` anchor source: mouse/pen entry opens an anchored help event,
205
+ departure invalidates it, mouse/pen press closes it until departure, and touch
206
+ press toggles it. Pressing this help target does not activate the row. Without
207
+ help, the image participates in the ordinary row press. It adds no tab stop.
208
+ Native renderers ignore this Web-only help field and preserve ordinary row
209
+ presses. The consumer owns the tooltip text and presentation. Omitted
210
+ `accessibilityLabel` makes the image decorative; a supplied label describes it.
211
+
212
+ Android wallet-sidebar rows with a title image reserve image width and pack the
213
+ wallet name with the image as one centered group. Long names ellipsize within
214
+ the remaining space; removing the image restores the full-width centered name.
215
+
216
+ Full snapshots without `titleImage` remove the image and old help anchor.
217
+ Explicit patch replacement updates the descriptor; an omitted patch field
218
+ leaves it unchanged. Null patches and empty image URIs remove the image. Development guards
219
+ reject malformed descriptors and invalid display geometry; production sanitizes
220
+ optional decoration as described in the validation contract. A production patch
221
+ that supplies a malformed title-image replacement explicitly clears the old
222
+ image and help target instead of retaining stale decoration. The field travels in existing JSON and does not change the Nitro ABI;
223
+ consumers must use a native SDK that implements the field before enabling it.
224
+
225
+ Acceptance covers protocol validation, image/source replacement and removal,
226
+ text-only request retention, Web help-action isolation and anchor cleanup,
227
+ native bind/recycle geometry, and native compilation. Device and complete App
228
+ acceptance must be reported separately from source and DOM tests.
229
+
230
+ ### Identity row risk-management controls
231
+
232
+ Status: implemented in source for local consumers, unreleased. Focused validation,
233
+ Web DOM tests, native builds and device acceptance are tracked separately below.
234
+ The optional `identity.titleIcon` is a static, non-actionable icon after the
235
+ title: a 20-point glyph with a 4-point gap, optional tint and accessibility
236
+ label. "After the title" means directly after the title text: the title row
237
+ packs at its start on every platform (Android `PackedTitleLineLayout`, Web flex
238
+ `0 1 auto`, iOS a slack-absorbing filler at the end of the title row), so the
239
+ glyph and any badge follow the text and never drift toward the trailing column
240
+ (OK-66041). Its optional Web-only `hoverActionKey` emits an anchored help action
241
+ from the icon alone on mouse/pen hover or touch press; the consumer owns the
242
+ tooltip. Mouse/pen press closes the anchor until pointer leave. Touch press
243
+ toggles the icon anchor. The icon adds no tab stop or separate click action;
244
+ row activation remains unchanged. Departure, scroll, full rebind and destroy
245
+ invalidate the anchor. Omission removes the icon in a full snapshot; omission
246
+ in a patch leaves the existing value unchanged. An explicit replacement icon
247
+ without `hoverActionKey` clears the old hover action. Removing the icon
248
+ requires a full snapshot.
249
+
250
+ On Web, `identity.secondaryTitleIcon` accepts the same descriptor and appears
251
+ after `titleIcon`. Both icons retain independent hover/touch anchors at their
252
+ own glyph rectangles; entering the other invalidates the previous anchor.
253
+ Native renderers ignore this optional Web-only field. Full rebinding to one
254
+ or no icons clears the removed glyph and anchor; explicit icon replacement
255
+ without `hoverActionKey` clears that icon's old hover action. Neither icon
256
+ creates a tab stop or separate click action.
257
+ On Web, clicking either help icon (including its SVG) does not activate the row;
258
+ clicking elsewhere on the row keeps the normal row action.
259
+
260
+ `identity.style.leadingContentMaxWidthRatio`, when given,
261
+ must be finite and within `(0, 1]`; it caps the combined leading visual, gap
262
+ and title content relative to the row's available inner width. Omission keeps
263
+ the existing unrestricted layout. Long titles truncate inside the cap, and
264
+ unused width remains available to trailing controls. The ratio is layout-only,
265
+ never a reuse identity or row-height input.
266
+
267
+ `trailing` accepts an optional `button` accessory with required nonempty
268
+ `label` and `actionKey`, optional `disabled`, `testID`,
269
+ `accessibilityLabel`, and optional hex colors `textColor`,
270
+ `backgroundColor`, `pressedBackgroundColor`, `hoverBackgroundColor`, and
271
+ `focusRingColor`. This single variant has the existing small secondary button
272
+ geometry: medium 14/20 text, 10-point horizontal and 4-point vertical
273
+ padding, a one-point transparent border and a pill radius. Omitted colors use
274
+ the theme's corresponding text and strong-background colors. The button does
275
+ not carry arbitrary React content, a size or variant parameter, or loading
276
+ state. Row or accessory disabled state prevents its action and dims the control
277
+ to 0.4 opacity.
278
+
279
+ Activation emits one existing row-action event with the current row key,
280
+ `trailingAccessory` source and zero-based descriptor slot, without also activating the row.
281
+ The host's existing binding epoch guards recycled controls. Full rebinding
282
+ clears omitted title icons and old button text, visual states, test IDs,
283
+ accessibility values and callbacks, including button-to-icon-to-absent reuse.
284
+ Patches replace fields they explicitly change and leave omitted fields intact.
285
+ iOS and Android use native controls; Web uses a semantic `button` with native
286
+ keyboard activation and disabled semantics. The new fields travel inside the
287
+ existing snapshot JSON and do not alter the Nitro bridge ABI. Consumers own
288
+ localized labels, state updates and any tooltip outside the data row.
289
+
290
+ Acceptance requires snapshot and patch validation, Web action/isolation and
291
+ reuse checks, native renderer tests on production classes, native builds and
292
+ device checks for title placement, cap/truncation, colors, press and recycle.
293
+ No source-only check counts as native runtime evidence.
294
+
295
+ `theme.rowHoverBackground` is an optional Web-only hex color for an enabled
296
+ row's hover background. Omission keeps the existing pressed-background hover
297
+ color. Pressed/active rows continue to use `rowPressedBackground`; native
298
+ renderers ignore the new field. The existing `loadingStrategy: 'skeleton'`
299
+ on a Web leading image displays an animated skeleton while loading, then
300
+ clears it on success, failure, rebind or recycle; other strategies keep their
301
+ existing appearance.
302
+
303
+ Identity leading visuals consume the existing `borderColor` as a one-point/dp
304
+ solid bitmap border when supplied without `borderStyle: 'dashed'`; omission or
305
+ a dashed style clears the solid border on every bind.
306
+ The image is inset by that border width. An overlay may optionally set
307
+ `fontWeight` to one of the existing text weight names
308
+ (`regular | medium | semibold | bold`). This changes only overlay text;
309
+ omission retains the current platform default. Setting and clearing the field
310
+ must survive patching and recycled-view rebinding on all three platforms.
311
+ The existing `leading.fallbackIcon` may optionally set a positive `size` for
312
+ its glyph and a hex `backgroundColor` for the visual's no-image and image-load-
313
+ failure states. A successfully loaded bitmap continues to use
314
+ `leading.backgroundColor`. Omitted fallback fields preserve current rendering.
315
+ Image success, failure and full rebinding must restore the matching background
316
+ and glyph size without carrying values from the previous visual.
317
+ An image overlay may optionally declare `fallbackIcon` with a required glyph
318
+ name and optional tint. It shows only after that overlay image fails, while
319
+ loading retains the overlay's empty background and success shows the bitmap.
320
+ The existing icon accessory accepts only one optional `buttonStyle` value,
321
+ `tertiary`, for the source icon button's 38-point press frame, 24-point glyph,
322
+ six-point padding, one-point border, seven-point visual overhang and pressed
323
+ background. Omission preserves every existing icon accessory layout and action.
324
+ The non-action `RefreshCcwOutline` accessory keeps the source's 16-point glyph
325
+ and frame, with no independent press target. Rebinding it to an actionable
326
+ icon restores the existing icon size and event behavior.
327
+
29
328
  ### iOS 26 fixed top scroll-edge overlay
30
329
 
31
330
  Standalone `NativeList` accepts optional
@@ -76,6 +375,33 @@ migration itself does not change any other protocol field.
76
375
 
77
376
  ## Lifecycle and concurrency
78
377
 
378
+ ### Updates before native host binding
379
+
380
+ Status: implemented in local source, unreleased. The delayed-host regression fails
381
+ on the previous wrapper and passes with this change; 438 package JS/Web tests and
382
+ the package type check pass. This local JavaScript revision is verified with real
383
+ iOS Fabric/UICollectionView rendering on an iPad simulator: delayed-ref,
384
+ parent-layout-before-ref without an artificial delay, and host-ready control
385
+ scenarios all retain the three complete rows after a later single-row update.
386
+ The actual Home list also recovered all six rows after the task-specific Metro
387
+ reload. Earlier natural re-entry evidence included development Metro bundle
388
+ re-requests, so it does not establish a menu-only trigger or a Sui-specific natural
389
+ reproduction. Android device acceptance remains unverified.
390
+
391
+ Valid snapshots and row patches accepted before the native host is available MUST
392
+ retain the latest owned logical state. When that host binds, its rows MUST reflect
393
+ all accepted updates that are eligible for presentation, including updates to rows
394
+ that do not change again afterward. Later single-row updates MUST NOT leave other
395
+ rows at their initial placeholders. Existing disclosure measurement gates and
396
+ snapshot replacement semantics still apply. Once the host is ready, ordinary row
397
+ patches MUST remain incremental rather than requiring a complete snapshot for each
398
+ patch. This contract does not add a public prop, method, or Nitro ABI field.
399
+
400
+ Conformance covers multiple pre-bind patch batches, newer complete prop and
401
+ imperative snapshots, rejected updates, equivalent prop clones after slot layout,
402
+ selection state, repeated callbacks, distinct replacement hosts, and incremental
403
+ single-row updates after binding.
404
+
79
405
  Full binding must work without a preceding recycle callback, including
80
406
  style set/change/clear and content A → B. A binding epoch invalidates stale
81
407
  image callbacks and action anchors. Recycling/disposal releases pending work
@@ -85,6 +411,46 @@ image that already loaded. Common container styling clears what it wrote on the
85
411
  next bind, including properties it set on template children. UI mutation remains on the platform
86
412
  UI thread; [DESIGN.md](DESIGN.md) describes update and event ownership.
87
413
 
414
+ ### Android vertical-drag React touch cancellation
415
+
416
+ Status: implemented; four real Android MotionEvent/JSTouchDispatcher regressions
417
+ passed on a dedicated API 34 emulator on 2026-10-30. The focused regression is
418
+ in `native-tests/android/NativeListTouchDeliveryTest.kt`; build and run
419
+ instructions are in that directory's README. Physical-device press/scroll
420
+ acceptance remains separate.
421
+
422
+ This behavior applies to every vertical NativeList, including standalone lists
423
+ outside a CollapsiblePager and touches beginning on React container slots.
424
+ On the UI thread, movement exceeding Android touch slop with vertical
425
+ displacement at least equal to horizontal displacement confirms a vertical
426
+ drag. An initially horizontal movement may become vertical while the list still
427
+ receives the stream; once vertical, ownership stays vertical until release or
428
+ cancellation. Horizontal lists retain their existing touch behavior.
429
+
430
+ The list notifies its React root of native gesture ownership once per confirmed
431
+ drag, cancelling the active React touch before finger-up. Later MOVE events MUST
432
+ NOT repeat that notification. The listener does not consume the stream: native
433
+ RecyclerView scrolling continues. A stationary tap or movement below touch slop
434
+ MUST retain ordinary React touch-end delivery without native-gesture start/end
435
+ notifications. The existing `keyboardDismissMode: 'on-drag'` behavior shares the
436
+ confirmed-drag boundary.
437
+
438
+ ACTION_UP and ACTION_CANCEL finish a started native gesture exactly once and
439
+ release the parent's interception restriction, even after RecyclerView has
440
+ intercepted its child and stops invoking the item-touch interception listener.
441
+ They clear vertical ownership; the next ACTION_DOWN resets direction and
442
+ gesture tracking. Android's touch-target removal cancellation must finish the
443
+ old stream before a retained list is reattached or its slots are reused, so the
444
+ next tap is not suppressed by the previous drag. Disposal releases the listener
445
+ through the existing detached-resource cleanup. This change adds no prop or
446
+ callback and changes neither iOS nor Web touch handling.
447
+
448
+ Conformance uses real MotionEvent dispatch through NativeListView/RecyclerView
449
+ and React Native's JSTouchDispatcher: vertical drag produces one touch-cancel
450
+ and one native end, a tap produces touch-end, and cancellation/removal followed
451
+ by reuse leaves the next tap functional. This proves native touch delivery, not
452
+ execution of a JavaScript press handler or physical-device gesture feel.
453
+
88
454
  ### Android reorder cancellation
89
455
 
90
456
  Status: implemented; three real Android View/callback regressions verified on
@@ -119,8 +485,9 @@ and does not create a separate accessibility target. Clearing the field, full
119
485
  rebind, recycling and disposal stop and hide the indicator; detached native views do
120
486
  not keep a visible animation. The History template's minimum content height
121
487
  increases from 16 to 20 points while loading. Explicit caller row/container
122
- heights still take precedence and must fit their padding. Web does not render
123
- this new native-only indicator; its existing section presentation is unchanged.
488
+ heights still take precedence and must fit their padding. Web History also
489
+ consumes titleLoading, using its existing section-slot geometry and the Web
490
+ History presentation described below.
124
491
 
125
492
  Acceptance requires loading → idle → loading reuse, title color updates and
126
493
  detachment on each native platform. A title's localized confirming text remains
@@ -181,6 +548,126 @@ All twelve templates have their own renderer family: Message, Rail, MediaTile,
181
548
  Action, System, Activity, DataRow, MetricCard, Market, Identity, SectionHeader and
182
549
  WalletGroup. Same-key family changes must replace the incompatible host. OneKeyImage owns image caches; NativeList owns row/slot binding identity.
183
550
 
551
+ Keys are opaque strings and MUST contain at least one non-whitespace character.
552
+ Leading and trailing whitespace is valid and MUST be preserved in snapshots,
553
+ patches, selection and emitted events on
554
+ iOS, Android and Web. The SDK MUST NOT trim or otherwise normalize keys;
555
+ `token` and `token ` identify different rows. Duplicate checks use the exact
556
+ string. This rule applies to all key fields validated by the shared protocol;
557
+ section index titles retain their separate development-only
558
+ no-surrounding-whitespace assertion.
559
+ The 256-code-unit key limit is a development assertion, not a production limit.
560
+
561
+ Each iOS and Android host retains an index from accepted logical row keys to
562
+ row positions. An accepted complete snapshot reuses that index only when its
563
+ generation and ordered `(key, type)` sequence match the prior accepted
564
+ snapshot; otherwise it replaces the index. Reorder commits rebuild it and
565
+ disposal clears it. Patch batches reuse the index and never include retiring
566
+ presentation rows in it. Native hosts validate each received canonical batch before changing config or
567
+ presentation; invalid native batches leave both unchanged. The shared production
568
+ JS boundary first isolates rejected row/group units, so a native batch contains
569
+ only accepted canonical updates. iOS updates only changed accepted entries in its
570
+ presentation lookup after a valid patch, preserving any retiring rows.
571
+
572
+ ### Validation environments and rejected input
573
+
574
+ Status: implemented in source; acceptance and remaining runtime gaps are recorded below.
575
+
576
+ Development runs strict contract assertions after shared null/empty-image
577
+ normalization. Production sanitizes optional decorations without rejecting
578
+ valid business content: invalid colors/styles are omitted, invalid images use
579
+ existing placeholders, and positive title-image dimensions are clamped to a
580
+ square of 1...40 logical units. Image headers are string dictionaries, never
581
+ interpreted as geometry. Unsafe object graphs are rejected before normalization.
582
+
583
+ Shared image URI validation accepts the entire `onekey-avatar:` scheme,
584
+ case-insensitively, in snapshots and row patches on iOS, Android and Web. It does
585
+ not restrict the host, version, path, query string or fragment, and preserves the
586
+ URI without decoding. Existing image URI schemes retain their acceptance rules.
587
+ Unsupported image URIs fail development assertions and are sanitized out in
588
+ production. This is validation acceptance only; avatar decoding and loading
589
+ remain owned by the platform image loader or Web avatar worker.
590
+
591
+ A complete snapshot remains atomic after decoration sanitization: invalid
592
+ schema, duplicate/missing identities, required business fields or wallet-group
593
+ parent/children relationships reject the snapshot. No row is silently removed.
594
+ Production normalizes contiguous group positions and filters selection to
595
+ selectable keys, respecting none/single modes.
596
+
597
+ Patches use omitted/undefined fields as no-ops. Null explicitly removes an
598
+ optional field on JS, Web, iOS and Android; required fields cannot be cleared.
599
+ Empty optional images and empty top-level segment arrays normalize to null in
600
+ patches and absence in snapshots. Empty images remove their outer titleImage
601
+ or media wrapper. This protocol requires native binaries with null-removal
602
+ support; callers must not enable it against older native SDK implementations.
603
+
604
+ Market price remains required and nonblank. Updating nonempty priceSegments
605
+ requires a price in the same canonical patch; callers own matching formatted
606
+ text (the validator does not reconstruct subscript prices). Updating price
607
+ without segments clears an existing overlay. For identity/market subtitles,
608
+ updating one representation clears the old other representation unless both
609
+ are supplied; clearing segments alone retains the base text. Activity has no
610
+ subtitle pair. Market quote changes with an existing/new webTable must include
611
+ matching table data or explicitly remove webTable.
612
+
613
+ Development rejects invalid patch batches atomically. Production isolates
614
+ failures to each target key and its coupled groupId: all updates to a key are
615
+ merged in order before validation, and a failure rejects that unit while other
616
+ valid units commit. Financial-value and interactive accessories with missing
617
+ required data fail their row; malformed purely decorative accessories are
618
+ removed. Diagnostics contain locations, never row values or image URLs.
619
+
620
+ All targets share the canonical accepted patches. The accepted JS rows and
621
+ serialized native changes derive from the same result. Native owned snapshots
622
+ and accepted Web engine snapshots validate only changed rows during patches;
623
+ unchanged rows are not rescanned. Direct helpers receiving an unowned baseline
624
+ validate that baseline once before incremental merging. Native owned snapshots
625
+ are immutable and indexed by key. Initial invalid snapshots render empty;
626
+ rejected later snapshots retain the last accepted snapshot. Rejected patch
627
+ units retain their previous complete rows. Direct validators still throw on
628
+ unrecoverable input. Image loading failures remain the loader's responsibility.
629
+
630
+ `planNativeListPatches(previous, next)` is an explicit, pure public helper for
631
+ callers that own two valid, immutable snapshots. It returns a readonly empty
632
+ batch for equal snapshots, value-only `identity` or `dataRow` row patches when
633
+ only eligible values change, and `undefined` when the caller must deliver a
634
+ complete snapshot. It never dispatches, accepts or validates an update, and
635
+ does not deep-copy, freeze or cache caller input. Returned patches may refer
636
+ to `next`'s immutable values; the caller retains baseline and commit ownership.
637
+ The component does not automatically invoke this planner for prop snapshots. Any
638
+ change outside `rows`, including generation, selection, layout, list style, empty state or
639
+ footer, requires a complete snapshot. Row keys, order and types must match.
640
+ `identity` may patch `subtitle`, `subtitleSegments` and `trailing`; `dataRow`
641
+ may patch non-asset columns and `trailing` while preserving the first asset
642
+ column. Changes to other row fields or to the presence of optional patch
643
+ fields require a complete snapshot. Comparison is by JSON value, ignores
644
+ object property order and properties whose value is `undefined`, and keeps
645
+ array order significant.
646
+
647
+ Rejection emits a diagnostic without including row keys, text or image URLs.
648
+ Explicit calls to the exported validation functions still throw on rejected
649
+ input, so development tooling can inspect the full contract failure. Rejection
650
+ does not imply that the requested update succeeded. No row identity is trimmed,
651
+ truncated or regenerated, and no row is silently dropped from a snapshot.
652
+
653
+ Acceptance for this revision: 429 JS/Web tests pass, including native React
654
+ wrapper containment, canonical null/undefined semantics, price/segment pairing,
655
+ production row/group isolation and unchanged-row access checks. Package type
656
+ checks, lint (zero errors; existing warnings) and test-integrity checks pass.
657
+ iOS production/XCTest targets and Android production/instrumentation targets
658
+ compile; 29 Android JVM tests pass. Four focused iOS 26.5 XCTest cases verify
659
+ title-icon packing, title-image reuse and null removal. Android 15/API 35
660
+ instrumentation verifies wallet-sidebar image bounds, long-title ellipsis,
661
+ and full-width title restoration after removal. Shared JS/Web regressions also
662
+ verify that malformed production title-image replacements clear the previous
663
+ image and help anchor. Full App acceptance remains pending.
664
+
665
+ Wallet groups use the actual embedded parent/children model, not memberKeys
666
+ references. groupId/groupPosition remain snapshot-owned fields; production
667
+ patch failures also reject other patched rows in the same existing groupId.
668
+ Unknown extension fields (including unsupported sparkline/changeHighlight
669
+ models) are ignored in production rather than introducing a new renderer API.
670
+
184
671
  ## Platform contract
185
672
 
186
673
  All platforms expose the same bounded style properties and public semantics.
@@ -189,6 +676,16 @@ Existing geometry/typography differences are recorded in
189
676
  them. iOS uses UICollectionView, Android RecyclerView, and Web a windowed DOM
190
677
  engine. See [DESIGN.md](DESIGN.md) for their current ownership boundaries.
191
678
 
679
+ ### Android section-index attachment
680
+
681
+ When `sectionIndex.centeredInWindow` is enabled, the Android index rail moves
682
+ between the list container and the window host as list visibility and attachment
683
+ change. Before adding that same rail to its new parent, the previous parent MUST
684
+ finish any pending view transition for it. Hiding the list returns the rail to
685
+ the list container; detaching still uses the existing posted return so that a
686
+ window traversal is not interrupted. Re-showing or reattaching MUST retain one
687
+ rail instance with one current parent.
688
+
192
689
  ### Font resource ownership and runtime configuration
193
690
 
194
691
  Status: implemented; JavaScript regression tests, Android compilation/JVM tests
@@ -234,16 +731,114 @@ not establish visual acceptance. Acceptance includes two independent runtimes,
234
731
  two list instances, changed/reset mappings, invalid configuration without partial
235
732
  state, all templates and container text, and retained selection/scroll behavior.
236
733
 
734
+ ### Trailing text accessory hit area (OK-65494)
735
+
736
+ Status: implemented on iOS and Android. iOS XCTest
737
+ (`NativeListAccessoryStackTests`) checks the control state and hit test, Android
738
+ a JVM policy test (`NativeListPressPolicyTest`); iOS Simulator acceptance on the
739
+ app's network selector is recorded in the changelog entry (2026-10-26). Android
740
+ device acceptance pending.
741
+
742
+ A trailing text accessory (`value`, `valuePair`, `progress`, and a `radio` or
743
+ `switch` without an action key) is display only. It MUST NOT own touches: a tap
744
+ on it is a row press, so the whole row, including its value column, is the hit
745
+ area on iOS, Android and Web. Only a text accessory that carries an action key
746
+ (`radio`, `switch`) handles its own tap and emits that action instead of the row
747
+ press. Icon, chevron, menu, drag and checkbox accessories keep their existing
748
+ ownership. iOS implements this by disabling user interaction on the shared
749
+ accessory button when it has no action and restoring it on reset; Android keeps
750
+ the trailing `TextView` non-clickable unless `showTrailing` binds an action
751
+ (`setOnClickListener(null)` alone leaves a view clickable). Web already renders
752
+ an action-less accessory as a `span`, so its click reaches the row.
753
+
754
+ ### Leading badge overhang (OK-65694)
755
+
756
+ Status: implemented on Android, the only platform that clipped. Android JVM
757
+ policy tests (`NativeListLeadingVisualClipPolicyTest`,
758
+ `NativeListActivityHostClipPolicyTest`); Android emulator
759
+ acceptance on the example account selector (API 36, 2026-10-27) is recorded in
760
+ the changelog entry. iOS and Web are unchanged.
761
+
762
+ A leading visual lays these badges past its own frame: a token `networkImage`
763
+ with its backdrop, a `cornerIcon`, and every `overlays` entry, whose default
764
+ `offset` of 2 already overhangs (the app's account selector hangs its
765
+ single-network badge 4 units past the 32-unit avatar). Such a badge MUST render
766
+ in full on every platform. iOS stops clipping the visual (`clipsToBounds`) once
767
+ one of those descriptors is bound, and Web keeps the visual `overflow: visible`.
768
+ Android clips a child to its own bounds whenever its parent clips children, so a
769
+ host row that keeps the default `clipChildren` cuts the overhang flat even
770
+ though the visual itself never clips. The Identity renderer therefore stops
771
+ clipping children and padding exactly when the bound leading visual reports an
772
+ overhanging badge (`requestsUnclippedHost`, decided by
773
+ `nativeListLeadingVisualOverhangsFrame`), as the Market and Message renderers
774
+ already do for their network badges; a visual without such a badge keeps the
775
+ row's default clipping.
776
+
777
+ Host clipping is per-bind state. A row view that serves several row shapes
778
+ (the Android Activity view serves the legacy row and the rich `amounts` row) is
779
+ reused across binds, so each bind MUST derive clipping from the item it binds
780
+ (`nativeListActivityHostClips`): a view that last showed an overhanging badge
781
+ clips again when it is rebound to a row without one. The rule follows the
782
+ visual, not the row shape: the rich row renders its leading visual on the
783
+ details view, so that view and every column between the visual and the host
784
+ stop clipping too, and the host derives its own clipping from the details
785
+ view's visual (`leadingOverhangs`, OK-66275). Before this rule the rich branch
786
+ forced the host's clipping back on and left the details view at Android's
787
+ defaults, so the app's history rows (which always carry `amounts`) still showed
788
+ the badge cut at the bottom-right after the legacy branch had been fixed.
789
+
790
+ The row's own shape still clips on every platform: iOS masks the cell to its
791
+ corner radius (`masksToBounds`), Web keeps the row `overflow: hidden`, and
792
+ Android keeps `clipToOutline` for a `style.container.cornerRadius` row (its
793
+ parent also clips each row to its bounds). A badge is therefore whole only while
794
+ it stays inside the row's rounded outline, which every app descriptor does: the
795
+ account badge hangs 4 units towards the row's centre and the wallet top-left
796
+ badge (`offsetY` 4) starts inside a 12-unit corner radius with the default
797
+ padding. The example `NativeListRowStylePage` row `identity-badge-rounded`
798
+ combines both badges with `container.cornerRadius` as the rendering check for
799
+ that combination.
800
+
801
+ ### Activity leading pair (OK-66071)
802
+
803
+ Status: implemented on iOS and Android; Web already drew the pair. Android JVM
804
+ geometry test (`NativeListLeadingSlotFrameTest`); Android emulator acceptance on
805
+ the example row-style page is recorded in the changelog entry.
806
+
807
+ An Activity row whose `leading` and `secondaryLeading` are both tokens with an
808
+ image (the app's swap and multi-asset history rows) draws them as a pair inside
809
+ the 40-unit visual box, as the legacy avatar and the Web renderer do: the
810
+ primary token at the top-left at 0.6 of the box (24 units), the secondary at the
811
+ same size at the bottom-right inside a 2-unit ring in the row background, above
812
+ the primary. The ring is shown only while the secondary image is displayed:
813
+ while that image loads, after a failed load and after recycling it stays hidden,
814
+ so it never covers the primary's corner with a blank disc. The token `networkImage` badge, when present, keeps its single-token
815
+ geometry at the box's bottom-right corner above the secondary; a pair shows one
816
+ badge, never one per member. A secondary token without an image leaves the
817
+ primary alone at full size, and a primary without an image lets the secondary
818
+ take its place. Before this rule Android laid the secondary over the whole box
819
+ (hiding the primary and the badge) and iOS drew it in the badge's corner slot
820
+ over the badge. The per-source geometry is one pure function on Android
821
+ (`nativeListLeadingSlotFrame`) and the same arithmetic in
822
+ `NativeListLeadingVisual.layoutSubviews` on iOS; both restore the stacking
823
+ order by role on every bind because slots are reused across roles.
824
+
825
+ The Android Activity renderer also applies the badge-overhang rule above on
826
+ both of its branches (`requestsUnclippedHost` stops the legacy content row, the
827
+ rich details view with its columns, and the row padding clipping), so the
828
+ history rows' network badges render whole instead of cut flat.
829
+
237
830
  ## Failures, fallback and limits
238
831
 
239
832
  Snapshot validation rejects malformed/duplicate-key input without partial
240
- application. Template field/array bounds and image fallback behavior are defined
833
+ application, through the contained failure behavior above. Development-only
834
+ template field/array bounds and image fallback behavior are defined
241
835
  in [ROW_TEMPLATES.md](ROW_TEMPLATES.md), [README.md](../README.md) and
242
836
  [DESIGN.md](DESIGN.md). This change adds the style surface's limits, defined in
243
837
  [STYLE_SPEC.md](STYLE_SPEC.md) §3.3/§4/§5: numeric bounds, `#RRGGBB`/`#RRGGBBAA`
244
838
  colors (including `listStyle.separator.color`), `groupCornerRadius` `0…40`, and
245
- rejection of any undeclared or unknown nested style key by `validateSnapshot`
246
- and `validatePatches`, where extra keys used to be ignored. It adds no retry
839
+ development-time rejection of undeclared or unknown nested style keys by
840
+ `validateSnapshot` and `validatePatches`. Production renderers ignore unsupported
841
+ style properties while minimum protocol guards remain active. It adds no retry
247
842
  policy or automatic layout correction.
248
843
 
249
844
  ## Performance and resources
@@ -558,8 +1153,8 @@ is an opt-in native-only preview descriptor: `{ source: ImageSource, probeOrder:
558
1153
  ('image' | 'video')[] }`. The order contains one or two distinct candidates.
559
1154
  The caller supplies the order; the renderer never guesses asset semantics.
560
1155
  When provided, media takes precedence over `image`, unless `imageState` is
561
- explicitly empty/error. Web keeps its existing `image` behavior; native callers
562
- that also target Web must supply that existing image independently.
1156
+ explicitly empty/error. Web gallery media probing follows the separate Web migration contract below;
1157
+ legacy Web image-only tiles retain their existing behavior.
563
1158
 
564
1159
  Image uses the shared OneKeyImage lifecycle. Video uses a paused, muted AVPlayer
565
1160
  on iOS and Media3 ExoPlayer on Android, preserving the native Video source
@@ -616,11 +1211,54 @@ leaked audio/player resources. Static API checks do not prove these cases.
616
1211
 
617
1212
  ## Native container slots (source implementation, runtime verification pending)
618
1213
 
1214
+ ### Optional scrolling sidecar (source implemented; native runtime verification pending)
1215
+
1216
+ `listSidecar` and `sidecarLayout: { width, gap, maxContentWidth }` are an
1217
+ optional pair for a vertical linear list. Omission preserves the existing
1218
+ single-column layout. All three values are finite non-negative logical pixels;
1219
+ `width` and `maxContentWidth` must be positive and `width + gap` must be less
1220
+ than `maxContentWidth`. The list remains the sole scroll owner. At viewport
1221
+ width `V`, the content band is centered with width `min(V, maxContentWidth)`;
1222
+ the sidecar occupies the logical end `width`, separated from the logical start
1223
+ data/slot column by `gap`. In RTL the sidecar is physically left and the list
1224
+ is physically right. Header, rows, empty slot and footer use the start column. The sidecar
1225
+ starts at the content top, scrolls on the same native frame as rows, and may
1226
+ contain interactive React content. Its root is retained until Fabric unmount;
1227
+ it does not become a row, affect row keys, indices, selection or prefetch. The
1228
+ left RecyclerView/UICollectionView still lays out only viewport-near rows.
1229
+
1230
+ The scrolling extent is at least the greater of the left column including its
1231
+ footer and the sidecar's measured bottom. A taller sidecar extends the tail
1232
+ after the left footer; it must not push that footer below its normal position.
1233
+ `scrollToEnd`, refresh and structural transition offset clamping use this
1234
+ combined extent. A sidecar height or breakpoint change preserves an in-range
1235
+ offset; an out-of-range offset is clamped by the existing shrink correction.
1236
+ Rapid row transitions retain their existing one-shot id and anchor semantics.
1237
+ Native sidecar position follows the native scroll offset directly, without a
1238
+ per-frame JS bridge. A drag beginning over interactive sidecar content must
1239
+ still scroll the same list; taps retain the content's own actions.
1240
+ On iOS, React container slots are clipped below the enclosing Pager's fixed overlay and sticky region using its existing owner-scoped native viewport callback. Scrolling, rotation, owner removal, and recycling update or release those masks without JS frames. On iOS the sidecar host is a narrow UICollectionView subview in content
1241
+ coordinates. On Android the narrow overlay follows the RecyclerView's measured
1242
+ logical offset; after a vertical touch slop it cancels the React press and
1243
+ forwards the original touch stream to the list's SwipeRefreshLayout. The
1244
+ Android tail spacer derives from explicit/measured row and slot extents, not
1245
+ RecyclerView's variable-height scrollbar estimate.
1246
+
1247
+ Web uses the same measured two-column geometry inside its current owned or
1248
+ explicit external scroll host, with DOM virtualization limited to the left
1249
+ rows; the sidecar is a single React slot. Callers already placing a Web sidebar
1250
+ as a sibling may omit the new pair there. Horizontal/grid configurations with
1251
+ a sidecar are rejected. Acceptance requires iOS and Android wide Home scrolling,
1252
+ right-column drag and action, short/empty assets, collapse animation while
1253
+ scrolled, refresh, resize across the breakpoint without list remount, and
1254
+ thousands of rows remaining bounded to the native recycler viewport. Source,
1255
+ type and unit checks alone do not establish device acceptance.
1256
+
619
1257
  `listHeader`, `listEmpty` and `listFooter` accept React nodes on iOS and Android
620
1258
  vertical lists only. They are optional and default to absent. They are common
621
1259
  container capabilities, not row templates, and MUST NOT be used for per-item
622
- rendering. Horizontal orientation with any supplied slot is rejected. Web ignores
623
- these new native-only props; existing Web lists and callers retain their behavior.
1260
+ rendering. Horizontal orientation with any supplied slot is rejected. Web container slots follow the separate Web parent-scrolling contract below;
1261
+ the native placement and lifecycle described in this section remain unchanged.
624
1262
 
625
1263
  The order is header, data rows (or empty slot when there are no data rows), footer.
626
1264
  On iOS, after the laid-out vertical content shrinks, an offset beyond the new
@@ -642,9 +1280,10 @@ width React lays it out at. Android's narrow-screen row scale and section-index
642
1280
  apply to data rows only. Slot React trees own their internal layout and
643
1281
  business actions; NativeList owns their scroll placement and lifecycle.
644
1282
 
645
- The wrapper mounts exactly three non-collapsible slot roots and reports measured
646
- heights through `containerSlotHeightsJson` in header/empty/footer order. Native
647
- validates three finite, non-negative heights. Slot updates MUST NOT alter data-row
1283
+ The wrapper mounts four non-collapsible slot roots and reports measured
1284
+ heights through `containerSlotHeightsJson` in header/empty/footer/sidecar order.
1285
+ The sidecar root has zero reserved height when absent. Native validates four
1286
+ finite, non-negative heights. Slot updates MUST NOT alter data-row
648
1287
  keys or public row indices. No per-scroll-frame JS position updates are used.
649
1288
  iOS mounts each slot root inside a list-owned host view in UICollectionView and
650
1289
  reserves native layout space. The host owns the slot's vertical position and clips to
@@ -655,6 +1294,102 @@ data adapter; adapter binding indices stay local while layout-manager positions
655
1294
  are explicitly translated. Slots span all grid columns, do not select/reorder,
656
1295
  and do not emit row actions, visible-row indices, or image-prefetch work.
657
1296
 
1297
+ ### Disclosure slots and settlement (source implemented; limited runtime verification)
1298
+
1299
+ Native callers may opt in with `snapshot.disclosure: { expanded: boolean,
1300
+ expandedTrailingInset?: number }`, `listExpandedContent`, and
1301
+ `listStructureToggle`. `expanded` is the accepted target state independent of
1302
+ row count, the expanded slot's measured height, and the one-shot structural
1303
+ transition command. `expandedTrailingInset` defaults to zero and must be a
1304
+ finite, non-negative number of logical pixels. Without `disclosure`, the
1305
+ existing four-slot and structural-transition behavior is unchanged. On Web,
1306
+ `C` and `T` occupy the existing single React footer band after the list rows,
1307
+ followed by the expanded trailing inset and the caller's footer `F`. `C` is
1308
+ mounted on first expansion and may remain mounted for that scope after collapse.
1309
+ Without an accepted `disclosure`, supplied `C` and `T` are hidden and inert.
1310
+ At the collapsed endpoint `C` has zero layout height and is hidden from pointer,
1311
+ keyboard, and accessibility interaction; `T` remains mounted and interactive
1312
+ through rapid reversals. Web does not use the native settlement callback to
1313
+ release `C`. The Web engine continues to measure that one footer band and to
1314
+ own its existing structural-tail animation and external scroll-host correction;
1315
+ its per-frame presentation need not match the native clip geometry. Desktop
1316
+ and extension retain their existing structural presentation.
1317
+
1318
+ The native slot order is 0 header, 1 empty, 2 existing footer `F`, 3 sidecar,
1319
+ 4 expanded content `C`, and 5 stable structure toggle `T`; the optional iOS
1320
+ top overlay follows at index 6. The native wrapper reports six measured slot
1321
+ heights in that order. This slot-index ABI requires the package's JavaScript
1322
+ wrapper and native binary to be integrated from the same version; the new
1323
+ native host does not reinterpret an old four-slot wrapper's index 4 as an
1324
+ overlay. The disclosure layout in the left list column is data
1325
+ rows `R`, then `C`, then `T`, then a native trailing inset `I`, then the one
1326
+ existing `F`. `F` is never duplicated as retiring presentation. `T` retains
1327
+ one React instance and a stable measured height while its text changes, and
1328
+ remains interactive during a transition so a tap can reverse it. `C` is
1329
+ measured after mounting for expansion. On collapse the caller retains that
1330
+ same React instance until the newest collapsed settlement callback, after
1331
+ which it may unmount it. Its measured root keeps its natural height; native
1332
+ clipping, not a React height animation, controls the visible portion. `I` is
1333
+ `expandedTrailingInset` at the expanded endpoint and zero at the collapsed
1334
+ endpoint. The native display-link/animator updates the visible `R` suffix,
1335
+ `C`, `T` position, `I`, `F` position, scroll offset, and sidecar-aware extent
1336
+ on one UI-thread timeline. No per-frame JavaScript command is required.
1337
+ The wrapper may mount `C` and `T` before delivering a new structural snapshot;
1338
+ the previous accepted snapshot continues to own the list during this short
1339
+ preparation. For that new command only, the wrapper waits for the current
1340
+ instances of both slot roots to report their first layout, including a genuine
1341
+ zero-height layout, then delivers the complete snapshot once. A numeric zero
1342
+ height without a layout event is not proof that a newly mounted `C` is ready.
1343
+ A newer pending id replaces an older one; no stale prepared command may be
1344
+ delivered later. Initial snapshots and same-id content updates do not wait.
1345
+ Native applies the measured slot heights and the complete pending snapshot in
1346
+ one ordered main-thread update, with heights first, regardless of which Nitro
1347
+ property setter ran first in that React commit. It must not reveal `C` or emit
1348
+ a settlement callback between those two values.
1349
+
1350
+ All retiring or newly revealed row suffix is inert and excluded from
1351
+ accessibility, selection, row actions, visible-range, and end-reached events.
1352
+ The whole `C` slot is inert and accessibility-hidden while preparing,
1353
+ animating, or settled collapsed; it becomes interactive and accessible only
1354
+ after the expanded endpoint settles. The visible part of `T` remains
1355
+ hit-testable throughout so a tap can reverse the transition. Native
1356
+ must not infer the target from product-specific row counts or toggle text.
1357
+ An initially expanded snapshot and a same-transition-id content or price
1358
+ update use `disclosure.expanded` without starting or re-acknowledging a
1359
+ structural transition. An initial collapsed snapshot may omit or mount an
1360
+ empty `C` root; later collapse keeps its mounted instance through settlement.
1361
+
1362
+ For each newly consumed `structuralTransition.id` with `disclosure`, native
1363
+ emits `onStructuralTransitionSettled` once for the latest non-superseded id
1364
+ when a listener is registered. Without a listener, native still settles the
1365
+ command and releases its pending transition state, but does not serialize or
1366
+ cross the callback boundary. Adding or replacing a listener does not replay a
1367
+ settled id; removing it stops delivery for subsequent settlements. The caller
1368
+ may keep `C` mounted after settlement; native still controls its visibility,
1369
+ interaction, and accessibility. The callback carries JSON
1370
+ `{ transitionId: string, status: 'completed' | 'interrupted',
1371
+ settledExpanded: boolean }`. `settledExpanded` describes the accepted target
1372
+ after native geometry and scroll ownership have reached that state, never a
1373
+ guess from measured `C` height. Natural animation completion, reduced motion,
1374
+ zero duration, and a new id with unchanged or empty row keys that settles
1375
+ directly report `completed`. Drag, explicit scrolling, resize, or unsupported
1376
+ geometry atomically commit the accepted target and report `interrupted` after
1377
+ temporary presentation and scroll ownership have been released. A newer id
1378
+ replaces the previous command from current presentation geometry: the older
1379
+ id must not complete late or force its former target before the newer one.
1380
+ The caller guards the callback by its latest id and current list/account/network
1381
+ owner; a matching numeric id from a prior owner must not unmount current `C`.
1382
+ An accepted row patch while a direct disclosure commit is pending MUST preserve
1383
+ that command's settlement ownership. If the patch supersedes the pending list
1384
+ submission, its committed callback settles the current non-superseded id after
1385
+ layout and any pending collapsed-toggle positioning, exactly once. It MUST NOT
1386
+ leave callers waiting for a discarded list callback.
1387
+ An already settled id
1388
+ does not re-emit on a same-id patch. Disposal drops the callback with its
1389
+ owner. An unsupported or immediately settled new id must still acknowledge
1390
+ when a listener is registered; otherwise a caller could retain `C`
1391
+ indefinitely after collapse.
1392
+
658
1393
  On Android, mounting/unmounting a slot or changing its actual rounded native
659
1394
  height MUST request one coalesced RecyclerView measurement/layout repair. The
660
1395
  repair runs after the current layout completes and only with a positive viewport
@@ -665,7 +1400,8 @@ request another repair. This leaves Fabric-owned slot content and row indices
665
1400
  unchanged; source checks alone do not establish first-layout visibility.
666
1401
 
667
1402
  Fabric mount/unmount ownership remains explicit even when RecyclerView detaches a
668
- slot holder. The native manager retains at most three roots until Fabric unmount;
1403
+ slot holder. The new native wrapper retains six scrolling roots until Fabric unmount
1404
+ (plus the independent optional fixed top overlay);
669
1405
  recycling detaches slot content without disposing its React tree. Unmount removes
670
1406
  that exact view. Native list disposal MUST NOT dispatch pending row/slot events.
671
1407
  The generated Nitro 0.37 leaf managers require deterministic child-forwarding
@@ -714,16 +1450,41 @@ applied inset and remains valid while that inset is retained across detach.
714
1450
 
715
1451
  ## Native rich activity presentation
716
1452
 
1453
+ Status: Source implemented for `ActivityRow.hideLeading`. Web DOM tests cover
1454
+ both Activity paths, Android production renderer instrumentation covers
1455
+ same-view rebinds, and the iOS NativeListModule arm64 Simulator target builds.
1456
+ iOS runtime acceptance remains pending. Optional `hideLeading: true` suppresses
1457
+ the activity row's main leading visual, its accessibility content, and the entire visual width and
1458
+ following gap. The title, description, status, amounts, fee, and footer actions
1459
+ retain their normal semantics; footer actions align with the title region rather
1460
+ than a reserved visual slot. `leading` remains required in the row model and is
1461
+ still validated. Omitted or `false` preserves the existing layout and image
1462
+ behavior. The field must be a boolean in snapshots and patches; an omitted patch
1463
+ field preserves the current value. A full snapshot or patch changing
1464
+ `hideLeading` rebinds the visual and layout in both legacy and rich Activity
1465
+ presentations, including key reuse. Hidden visuals do not start image requests;
1466
+ rebinding to `false` may load the current image. Recycling and late image
1467
+ callbacks must not restore a hidden visual or leave hidden layout/accessibility
1468
+ state on a later visible row. This contract applies on iOS, Android, and Web.
1469
+ The Android instrumentation uses icon visuals to verify layout, action alignment
1470
+ and amount preservation. Late image completion is guarded by the existing
1471
+ image-slot recycle epoch; a hide-during-image-load device case remains unverified.
1472
+
717
1473
  Status: Source implemented; native runtime acceptance pending. Optional `amounts`
718
- supersedes legacy `primaryAmount`/`secondaryAmount` only on native. It accepts at
1474
+ supersedes legacy `primaryAmount`/`secondaryAmount` in rich Activity rows. It accepts at
719
1475
  most 32 keyed lines, each with formatted text, optional leading visual, tone,
720
1476
  secondary text and subscript text segments. Segments are caller-formatted and
721
1477
  never interpreted as numbers by NativeList. Omission preserves the legacy tree.
722
1478
 
723
1479
  `presentation: stacked` places the amount lines after the identity column and
724
- right-aligns them; `table` uses equal identity/amount columns, left-aligns amount
725
- lines and adds an optional trailing fee column. Fee supports label, primary and
726
- secondary text with their own segments; `hidden` preserves its column width
1480
+ right-aligns them. In `table`, the identity column includes its leading visual
1481
+ and gap; identity, amounts and an optional fee use stable widths in the ratio
1482
+ `1:1:0.6` after inter-column gaps. Without fee, identity and amounts split the
1483
+ remaining width equally. Amount content stays start-aligned within its column;
1484
+ native fee content stays end-aligned; Web retains its existing start alignment.
1485
+ Fee text length and leading visibility cannot move the amount column. These
1486
+ native widths match the existing Web table layout. Fee supports label, primary
1487
+ and secondary text with their own segments; `hidden` preserves its column width
727
1488
  while hiding its contents. Up to four uniquely keyed title badges use declared
728
1489
  tones. `descriptionActionKey` makes only the description emit that action with
729
1490
  source `description`; footer actions retain their existing source/keys and
@@ -735,8 +1496,8 @@ visible title/description/status lines, the description measured at the identity
735
1496
  column's actual width (stacked or table, including the fee column), fee height and the
736
1497
  footer-action button height. Android sizes the row to its content. The existing height override contract still applies. RTL follows
737
1498
  semantic leading/trailing anchors. Clearing rich fields returns to the legacy
738
- renderer, and removing amount lines recycles their visual slots. Web rendering
739
- remains unchanged; rich fields are native-only until a separate Web migration.
1499
+ renderer, and removing amount lines recycles their visual slots. Web rich presentation follows the separate Web migration contract below;
1500
+ legacy Activity rows without rich fields retain their existing behavior.
740
1501
 
741
1502
  Acceptance: 1/2/6/32 lines, changed keys/order, paired icons and network overlays,
742
1503
  small-number segments in amounts/fiat/fee (ceil(0.6 × parent font size), unchanged
@@ -744,6 +1505,15 @@ baseline, matching NumberSizeableText), badge tone/clear, hidden fee, disabled
744
1505
  actions, description anchors, dark/RTL/font scaling and explicit/automatic height.
745
1506
 
746
1507
 
1508
+ Table regression acceptance additionally measures amount-column start, width and
1509
+ center across short/long/hidden fee, leading visibility, 1/2/6/32 amount lines and
1510
+ table/stacked reuse. Android DataRow primary and secondary groups honor their
1511
+ resolved text-role alignment (role style first, then column alignment), including
1512
+ start/center/end and styled/unstyled reuse. The secondary-prefix gap is present
1513
+ only when that prefix is visible; legacy linear rendering is unchanged. The UIKit
1514
+ regression explicitly forces each renderer view's direction; React Native/Fabric
1515
+ host direction propagation and real App RTL remain unverified.
1516
+
747
1517
  ### Android ancestor scroll distance
748
1518
 
749
1519
  Threshold hysteresis combines the primary RecyclerView's actual consumed scroll
@@ -821,3 +1591,448 @@ The consumer Gradle project compiles the actual NativeListView and passes all
821
1591
  seven Kotlin alignment tests; SwiftPM compiles the shipping helper and passes
822
1592
  all seven geometry tests. These are local unit/build checks, not a new
823
1593
  combined-package application or physical-device acceptance run.
1594
+
1595
+
1596
+ ## Web parent scrolling and React container slots
1597
+
1598
+ Status: implemented. Focused DOM/wrapper tests and controlled consuming
1599
+ Home/Market Web and Electron checks cover parent ownership, slots, host
1600
+ replacement, hidden tabs, and the migrated touch/reorder interactions. These
1601
+ checks do not establish native runtime or complete performance acceptance.
1602
+
1603
+ `webScrollHost` is Web-only: omitted preserves the existing owned viewport;
1604
+ `null` defers initialization until the parent host is ready; an element opts
1605
+ into that explicit parent as the sole vertical scroll owner. `webStickyInset`
1606
+ is a non-negative finite CSS-pixel inset, default zero. Native ignores both.
1607
+ External horizontal list orientation is rejected. The host is never inferred
1608
+ from class names. Its replacement disposes the old engine and exact observers,
1609
+ listeners, pending commands and anchors before the next host is attached.
1610
+
1611
+ On Web, listHeader/listEmpty/listFooter are React-owned siblings around the
1612
+ engine-owned row host. They remain normal scrolling content, never row models;
1613
+ empty replaces the body only when there are no rows. listEmpty takes precedence
1614
+ over snapshot.emptyState. Grid slots span the list's complete width and reserve
1615
+ their actual intrinsic height. The wrapper owns an internal scroll viewport when
1616
+ slots are used without an external parent; the slot-free internal path retains
1617
+ its existing structure. No ReactDOM dependency or arbitrary row children exist.
1618
+
1619
+ The engine reads list-local width, row-host origin, host viewport intersection,
1620
+ sticky inset and complete wrapper bounds together. Row-index/key scrolling is
1621
+ relative to the data body; scrollToOffset starts at the complete container,
1622
+ including its header, and scrollToEnd includes the final footer. End reached
1623
+ is based on visible data-row indices, before footer content, as existing lists.
1624
+ Hidden/zero-sized or fully offscreen lists emit no end-reached event. Resize,
1625
+ slot and ancestor layout changes remeasure origin. Increasing content before a
1626
+ visible row preserves that row's screen position while the parent is scrolled.
1627
+ No React state updates run on scroll frames. External refresh gestures remain
1628
+ owned by the parent control; only internal mode handles its own pull gesture.
1629
+
1630
+ The explicit external host captures scroll events from itself and descendant
1631
+ scroll containers that are ancestors of the list root. Horizontal pager movement
1632
+ therefore invalidates cached viewport intersection and restores visible rows on
1633
+ the next scheduled frame. Scrolls within unrelated slots or list descendants do
1634
+ not invalidate this list. Destroy removes the same capture listener; no second
1635
+ vertical owner or scroll-position correction is introduced.
1636
+
1637
+ Required acceptance: unchanged slot-free internal behavior; parent content on
1638
+ both sides and sticky inset; dynamic header/footer; empty to populated; grid
1639
+ last row; all imperative alignments; null/ready/replaced host; hidden/visible;
1640
+ unmount cleanup, mouse/touch scroll and drag autoscroll. Type/helper results do
1641
+ not establish rendered product, native or performance acceptance.
1642
+
1643
+
1644
+ ## Web Market table presentation
1645
+
1646
+ Status: implemented on the 6.7.0-1 source baseline. Package unit/type/build
1647
+ checks and controlled Web/shared consumer backfill checks passed; consuming
1648
+ Home/Market Web and Electron checks cover the migrated presentation. No native
1649
+ runtime or completed performance acceptance is claimed.
1650
+
1651
+ MarketRow.webTable is an optional Web-only serializable presentation. It does
1652
+ not change DataRow's 2..4-column contract or add a row type/native renderer.
1653
+ Native parsers retain row dictionaries/JSON and read known fields; they ignore
1654
+ webTable. Mobile callers continue emitting their existing Market snapshots
1655
+ without this field, preserving their serialized shape. Shared validation checks
1656
+ the complete declared extension on both platforms. No arbitrary React cells,
1657
+ HTML, scripts or product formatting runs inside NativeList.
1658
+
1659
+ The presentation declares 1..12 unique keyed columns and one matching keyed
1660
+ cell per column. Width/minWidth (0..4096 CSS px), flex (0..16), semantic alignment
1661
+ and leading/trailing padding (0..64) are explicit. Presentation cell kinds are
1662
+ favorite, asset, text and sparkline. Favorite has its own action/accessible
1663
+ label/pressed state; asset uses existing leading image primitives, title/badges
1664
+ and a secondary line optionally replaced on row hover/focus; text accepts at
1665
+ most eight caller-formatted primary/secondary text parts with existing small
1666
+ number segments and typography; sparkline accepts at most256 finite numeric
1667
+ samples, explicit size and colors. Unknown fields are rejected. Table rows use
1668
+ an explicit row/container height. Text is single-line with ellipsis; no automatic
1669
+ multiline geometry or business numeric interpretation exists.
1670
+
1671
+ The consumer derives mobile fields and table cells from the same domain row.
1672
+ A quote transaction changes its formatted scalar fields and table cells together.
1673
+ A legacy scalar-only price/change patch on a table row is rejected unless it
1674
+ also supplies its corresponding table presentation, preventing hidden/visible
1675
+ values from diverging. Stable-column/same-image patches update only changed
1676
+ cells, preserving body/avatar identity and avoiding geometry reads/layout.
1677
+ Changes to column structure, image/badge/action identity invalidate anchors and
1678
+ use normal rebind/layout. Header and body take widths from the same consumer
1679
+ column calculation; React retains sorting/header/filter portals.
1680
+
1681
+ The Web registry separately pools market and marketTable presentations while
1682
+ both retain type:market. Row keys, revisions, anchor epochs and event dispatch
1683
+ remain common. Cell actions use data-native-list-action; favorite/copy/badge
1684
+ buttons do not activate the row. Recycling clears actions, title/aria, hover
1685
+ and styles and disposes image leases. The SDK emits copy action data; application
1686
+ copyText/logging remains consumer-owned. Sparklines use bounded numeric drawing,
1687
+ not arbitrary SVG/HTML input.
1688
+
1689
+ Acceptance: every cell kind, dynamic formatting, hover/focus/keyboard actions,
1690
+ row/presentation recycling, strict validation, native dictionary safe-ignore,
1691
+ header/body geometry, 100 quote ticks preserving nodes with zero geometry reads,
1692
+ then a real complex Market table before expanding to all five families.
1693
+
1694
+ ### Native Market metric columns
1695
+
1696
+ Status: implemented in local source, unreleased; native runtime verification
1697
+ pending. A `market` row may supply two or three ordered, uniquely
1698
+ keyed text columns through `metrics`, typed as a `Pick<DataColumn, ...>` of
1699
+ the supported text fields. Each column uses
1700
+ the text subset of `DataColumn`: key, primary text and segments, optional
1701
+ secondary text and segments, weight, alignment, and primary/secondary tone.
1702
+ Icon and secondary-leading fields are rejected in development and stripped by
1703
+ the existing production decoration sanitizer.
1704
+ Keys are nonempty and callers format all text. The row keeps its required
1705
+ `price` and `change` fields as compact fallbacks. When `metrics` is present,
1706
+ iOS and Android display the existing leading action, visual, title, subtitle,
1707
+ and Market badges, then the metric columns in place of the compact price and
1708
+ change block. The metrics are authoritative for this native presentation; the
1709
+ SDK does not infer their values from the fallback fields or product data.
1710
+ The default native accessibility label includes the title and subtitle followed
1711
+ by the displayed metric text, primary then secondary, in column order. It
1712
+ updates with each quote. An explicit row accessibility label takes precedence.
1713
+ The metrics use their own text tones and alignment, with both lines aligned
1714
+ the same way; omitted alignment defaults to `end`. Existing change block
1715
+ width, height, and corner radius do not
1716
+ apply to metric columns. The title content receives a relative weight of two;
1717
+ metric columns receive their declared `weight` (1...3, default one) after the
1718
+ row's existing action, visual, padding, and gaps take their space. The SDK
1719
+ does not choose a mode from screen width. Without `metrics`, all platforms
1720
+ retain their existing compact Market presentation. Web ignores `metrics` and
1721
+ continues using `webTable` when supplied.
1722
+
1723
+ Metric values travel in the existing row snapshot JSON and do not change the
1724
+ Nitro ABI, row key, action keys, badge anchors, or scroll ownership. Full
1725
+ snapshots may add, replace, or omit `metrics`; omission restores compact mode.
1726
+ An explicit patch with a valid two- or three-column array replaces metrics,
1727
+ while an omitted patch field leaves them unchanged. A full snapshot is used
1728
+ to remove metrics from a wide row; this contract adds no null patch meaning.
1729
+ Binding and recycling clear inactive metric and compact views in both
1730
+ directions, including changes between two and three columns, so reused rows
1731
+ cannot show stale text or targets. Metric fields contain no new action target;
1732
+ Market badge, leading action, press, press-in, and long-press behavior remains
1733
+ owned by the existing Market row. Conformance requires validation and patch
1734
+ tests, native bind/reuse and action-anchor checks, then consuming App device
1735
+ checks at narrow and wide list widths. Source and unit tests alone do not
1736
+ establish native layout acceptance.
1737
+
1738
+
1739
+
1740
+ ### Web grid fractional column geometry
1741
+
1742
+ Status: implemented; fractional geometry verified in focused DOM/browser and
1743
+ controlled consuming NFT backfill checks.
1744
+ Web grid columns divide
1745
+ available CSS width without flooring each cell. With non-integral division,
1746
+ all column edges and width-derived tile heights retain the fractional value;
1747
+ the final column reaches the content edge without accumulating discarded
1748
+ pixels. Item spacing, horizontal padding and structural full-span rows retain
1749
+ their existing meanings. Native rounding is unchanged. Known app Web consumers
1750
+ are the migrated NFT grid and developer gallery; external SDK consumers are not
1751
+ claimed audited. Required geometry coverage: 2/3/4/6/7 columns, divisible and
1752
+ fractional widths, spacing, padding, row height and structural/footer boundaries.
1753
+
1754
+ Table column width is the CSS base width. When flex is supplied, it grows with
1755
+ `flex-basis:auto`, matching the consumer's existing fixed-base React column;
1756
+ without flex, width remains fixed. Pausing a Web parent-host list retains only
1757
+ its last row-host height in normal flow while releasing row DOM/avatar leases.
1758
+ The wrapper preserves the engine's successfully patched snapshot for host
1759
+ reconstruction; inactive patches merge into one latest snapshot, with no
1760
+ retained batch queue. A rejected imperative snapshot never replaces that state.
1761
+
1762
+ Stock asset cells additionally declare lineGap (0...8, default4), up to three
1763
+ secondaryBadges limited to the existing Market badge key/text/style subset, and up to four hoverImages
1764
+ using ImageSource. Secondary badges precede the company name. Hover logos follow
1765
+ the variant-count text at16 CSS px with a1px page-background ring and4px overlap,
1766
+ matching the consumer's existing finite logo group. Geometry/badge/image changes
1767
+ use normal rebind and release replaced image leases; price-only updates retain
1768
+ these nodes. No native caller emits these Web-only fields.
1769
+
1770
+ Web gallery media follows the shared input precedence: media wins over image,
1771
+ unless an explicit empty/error imageState suppresses media probing. An empty/error
1772
+ gallery without either source retains the gallery fallback surface when
1773
+ imageState explicitly selects that state.
1774
+
1775
+ Web gallery media preserves the consuming NFT card presentation: healthy image
1776
+ and exhausted fallback surfaces have a10px radius, while a healthy video surface
1777
+ has square corners. The image/video frame uses the list page background; only
1778
+ the exhausted fallback surface uses the strong background. Rebinding the same
1779
+ video key retains square corners, and failed-video fallback to an image restores
1780
+ the image radius. This is Web renderer behavior; native media presentation and
1781
+ probe-order contracts are unchanged.
1782
+
1783
+ Gallery pointer activation follows the actual media-card body; extra grid row
1784
+ height reserved between cards does not enlarge its pointer hit area. Keyboard
1785
+ row activation remains supported through the normal row keyboard handler.
1786
+
1787
+ When React listEmpty owns an empty list, content bottom padding follows that
1788
+ empty slot instead of advancing its origin. Header/top padding retain their
1789
+ positions, and populated row/footer padding semantics remain unchanged.
1790
+
1791
+ Text cells may declare partGap (0...8 CSS px, default2) for their caller-formatted
1792
+ inline parts. Favorite cells may declare hoverActionKey; hover/focus emits this
1793
+ anchored help action, while click/Enter/Space emits actionKey. No browser title
1794
+ bubble is added. Pointer leave/focus departure invalidate help anchors. Existing
1795
+ Market badge styles apply to table title pills and their title gap is4px.
1796
+
1797
+ Web table title badges accept only declared key/text/iconName/icon/colors/action/
1798
+ accessibility/style fields. The unused native tone field is not accepted in this
1799
+ presentation. Inline icon sources use image primitives and release on recycling.
1800
+
1801
+
1802
+ ### Web Market watchlist actions and reorder
1803
+
1804
+ Only a market row with `webTable.draggable:true` and list capability
1805
+ `reorderable:true` joins existing Web reorder. Other Market rows and native
1806
+ reorder semantics are unchanged. `webTable.contextMenuActionKey` declares a
1807
+ bounded row context-menu action; right click is prevented only for such rows,
1808
+ and nested cell actions retain ownership. Context menu and Market long press
1809
+ may emit `RowActionEvent.windowPoint`, finite client/window CSS pixel coordinates.
1810
+ Keyboard-triggered context menus use the row anchor rectangle when pointer
1811
+ coordinates are unavailable. Anchors retain binding epoch validation and are
1812
+ invalidated on scroll/rebind/layout/destroy; consumers close their menu on that
1813
+ invalidation. Compact Market mouse/pen long press cancels after 3px of pointer
1814
+ movement; touch follows actual touchmove as specified below. Table rows retain
1815
+ the 10px pointer threshold.
1816
+ Gallery, wallet and other row reorder eligibility stays unchanged. A gesture
1817
+ that activates row reorder cancels pending Market long press and suppresses its
1818
+ subsequent row navigation.
1819
+
1820
+ Compact Web Market network corners honor the declared ImageSource dimensions
1821
+ (default 16px), with the existing corner padding outside the image. Native image
1822
+ rendering is unchanged. Consumer Web presentation permits its original SVG image
1823
+ sources without changing default native mapper output.
1824
+
1825
+
1826
+ ### Web ordered image fallback sources
1827
+
1828
+ ImageSource.fallbackUris is an optional Web-only ordered continuation after uri.
1829
+ It retains the complete caller-provided sequence (no truncation or deduplication).
1830
+ Empty or unusable continuation entries are skipped in order until a usable URI
1831
+ is found or the complete sequence is exhausted. Exhaustion reaches the declared
1832
+ visual fallback. Skipped entries consume no retry budget; each usable URI
1833
+ uses its declared retryTimes before proceeding; Market Web callers pass the
1834
+ existing ImageV2 default of one retry per source. This array path does not change
1835
+ legacy fallbackUri switching/retry order when fallbackUris is absent. Native
1836
+ callers do not emit this field. Validation requires an array of serializable
1837
+ strings. Rebind identity includes the complete array; quote-only changes retain
1838
+ the image node, while a changed chain rebinds and cancels previous retries.
1839
+ Recycling/destroy disposes listeners, retry timers and avatar subscriptions.
1840
+ Required coverage: one/two/three+ sources, first two fail/third succeeds, terminal
1841
+ failure, empty continuation, chain replacement/cancel and legacy fallbackUri.
1842
+
1843
+ Enhanced Web History section titles retain the consumer headingXs 0.8px letter
1844
+ spacing; hover uses rowPressedBackground and pointer-active enhanced History
1845
+ uses rowSelectedBackground. Other Activity presentations are unchanged.
1846
+
1847
+ Parent-scroll compact Market rows retain the consumer's pointer states: ordinary
1848
+ token/perp cards use active opacity0.8, stock cards active selected background.
1849
+ Consumers supply the page background as hover color. New table image fallbacks
1850
+ use a28px icon in the40px image frame; compact32px frames retain24px icons.
1851
+ These styles do not change legacy internally scrolling Market rows.
1852
+
1853
+ The optional theme.imageFallbackBackground is consumed by Web only when a
1854
+ declared visual fallback is displayed; unset leaves the existing transparent
1855
+ fallback over its original frame. It never changes healthy image backgrounds,
1856
+ Stock tags or hover logo slots. Native callers do not emit it. HoverImages may
1857
+ contain explicit null entries to preserve the original16px empty round logo
1858
+ slots, including their ring/overlap/order; non-null entries remain ImageSource
1859
+ and the existing four-slot limit stays unchanged.
1860
+
1861
+ Compact Market subtitlePrefix preserves intrinsic text width with flex-shrink
1862
+ and its existing maxWidth cap; it does not grow short names to that cap.
1863
+ Its optional Web-only hoverActionKey requests anchored help only when the
1864
+ actual prefix text is truncated (scrollWidth > clientWidth + 1). The consumer
1865
+ owns the existing tooltip content/presentation. Pointer/focus departure, scroll,
1866
+ rebind and destroy invalidate its existing anchor. Text, cap or action identity
1867
+ changes use normal rebind; unchanged quote updates preserve that node/focus.
1868
+ Native callers do not emit this field and native renderers ignore it.
1869
+
1870
+
1871
+ ### Host-provided Web fonts
1872
+
1873
+ configureNativeListFonts and NativeListFontFamilies retain the source baseline
1874
+ public API and validation. In the historical controlled 3.0.177 consumer
1875
+ backfill, only Web was backported:
1876
+ empty configuration uses system families; each supplied regular/medium/semibold/
1877
+ bold name belongs to fonts already loaded by the UI host. Hosts load fonts
1878
+ before configuring the mapping; the historical consumer supplied Roobert for
1879
+ all four weights. The SDK registers no fonts. That controlled backfill retained
1880
+ the 3.0.177 native wrapper and native platform font behavior.
1881
+ Web roots, section rails, reorder previews and all finite row text presentations
1882
+ select the family matching their existing numeric weight; layout and numeric
1883
+ weights are unchanged. A live configuration change invalidates active anchors,
1884
+ cancels reorder, clears measurement caches and remeasures; the same configuration
1885
+ is a no-op. A paused/null host initializes with the latest configuration.
1886
+ The 6.7.0-1 source integration preserves its existing native font policy/API.
1887
+
1888
+ Market Web badge text uses tabular numeric glyphs, matching the consuming
1889
+ Market text style for leverage/provider labels. This rule is limited to the
1890
+ Market badge renderer class; generic Activity/time badge typography is unchanged.
1891
+
1892
+ React prop snapshots commit in the layout phase alongside React-owned slots.
1893
+ For an external host with cached viewport dimensions, recomputation calculates
1894
+ and expands the normal-flow row extent before geometry reads, avoiding an append
1895
+ plus footer-removal intermediate clamp. The calculated layout is reused when
1896
+ viewport dimensions are unchanged; changed dimensions receive a fresh layout.
1897
+ Final measured layout owns legitimate shrinking; no scroll restoration offset
1898
+ or retained minimum-height state is added. First creation without cached geometry
1899
+ and imperative snapshot acceptance retain their existing contracts.
1900
+
1901
+ Web gallery media fit consumes the existing ImageSource.contentFit values:
1902
+ cover/contain/fill map directly to CSS object-fit and center maps to none.
1903
+ When omitted, a video uses contain and an image uses cover, preserving the
1904
+ consuming Web NFT defaults. Failed-video transitions resolve the image default
1905
+ again rather than retaining video fit. Native fit/probe contracts are unchanged.
1906
+
1907
+
1908
+ ### Source integration status (2026-10-16)
1909
+
1910
+ The Web migration was integrated onto source 655789b01 (6.7.0-1), preserving
1911
+ its native font resolver, iOS 26 overlay, package metadata and native implementation.
1912
+ The PR rebases that source onto main dd0d77af3, whose independent desktop Windows
1913
+ release changes do not overlap this package. The consuming PR targets 3.0.180;
1914
+ its reproducible patch and dependency verification are separate from the
1915
+ historical 3.0.177 backfill evidence below.
1916
+ The prior 3.0.178 source integration was an intermediate validated checkpoint.
1917
+ Controlled Web/shared consumer backfill was verified against 3.0.177 while
1918
+ retaining that version's native wrapper, binary boundary and native type
1919
+ declarations. This historical backfill is separate from consumer dependency
1920
+ updates.
1921
+ Merged package tests/typecheck/build and controlled consumer backfill smoke
1922
+ passed. The final Web-focused suite passed 89 checks; broader package checks
1923
+ and consuming Web/Electron presentation checks are recorded separately. Pending
1924
+ remote-row display and the real business hook/controller navigation contract
1925
+ were verified with explicit auxiliary fixtures/stub boundaries; no real eligible
1926
+ account SendReplaceTx confirmation page, signing, or broadcast was exercised.
1927
+ The consumer backfill does not establish native runtime acceptance of this
1928
+ merged package. Final performance sampling was stopped at the user's request
1929
+ and is partial evidence, not a completed performance signoff.
1930
+
1931
+ ### Desktop/Web Market asset parity
1932
+
1933
+ The Web table asset renderer consumes the existing leading visual backgroundColor
1934
+ and borderColor descriptors without changing the schema or native primitives.
1935
+ Its token frame remains40 CSS px including an optional1px solid border; the main
1936
+ bitmap fills the content box (38px with border,40px without). Overlay visuals
1937
+ remain outside that frame and fallback surfaces retain their existing color/icon
1938
+ contract. Theme/leading changes rebind the visual and clear old border styles.
1939
+ The address-copy revealed line uses a2px text-to-action gap, while Stock hover
1940
+ logo groups retain their4px gap and overlap geometry. No other text-part gaps
1941
+ change. Regression acceptance includes Dark/Light recycled visuals, preserved
1942
+ network overlays, independent copy actions and Stock hover group spacing.
1943
+
1944
+ Gallery collection subtitles retain an 8px trailing text inset whether or not
1945
+ a network thumbnail is present. The subtitle uses border-box sizing and its row
1946
+ has no extra gap, preserving the same 8px separation with a thumbnail and the
1947
+ legacy truncation width without one. Legacy MediaTile/native rendering is
1948
+ unchanged.
1949
+
1950
+ Compact Market touch long-press cancellation follows actual `touchmove`
1951
+ events and valid touch coordinates beyond the existing 3px stationary limit.
1952
+ Pointer-only micro-movement within browser tap tolerance does not prematurely
1953
+ cancel a touch long-press. Pointer cancellation and real ancestor scrolling
1954
+ still cancel it; mouse, pen and table pointer thresholds remain unchanged.
1955
+ The passive touch listener is removed when the engine is destroyed.
1956
+
1957
+ Table secondary-line pointer hover is enabled only when the primary input
1958
+ reports `(hover: hover)`, matching the consuming Web row's hover media rule.
1959
+ Touch capability alone does not disable hover. Existing focus-within reveal
1960
+ remains available to keyboard navigation; no input-modality configuration or
1961
+ native behavior is introduced.
1962
+
1963
+ The declared table asset background remains on its outer token frame during
1964
+ source loading, matching the consumer's Token wrapper. The existing image
1965
+ placeholder/retry path and fallback span are unchanged; only the fallback span
1966
+ uses the fallback background. A solid frame border does not move external
1967
+ overlays: their primitive-generated edge positions are shifted outward by the
1968
+ 1px border once per new visual, preserving the caller's unbordered outer-anchor
1969
+ geometry. No shift is accumulated during same-visual quote patches.
1970
+
1971
+ Table secondary-line clipping uses `overflow: clip` so keyboard focus cannot
1972
+ scroll the two-line reveal viewport in addition to its existing transform.
1973
+ Focus-within and primary-hover reveal behavior remain unchanged; no scroll
1974
+ position writes or global overflow policy are introduced.
1975
+
1976
+ Web history section headers consume the existing titleLoading flag with the
1977
+ original20px spinner,8px title gap and heading casing. The declared32/52px
1978
+ section slots remain unchanged; the pending title content retains its original
1979
+ 4px intrinsic overflow. Explicit60px stacked history content fills its stated
1980
+ row height; ordinary history rows retain their existing trailing spacing.
1981
+
1982
+ Web enhanced History badges preserve the existing small Badge geometry (8px horizontal padding, 4px radius, medium text). Warning backgrounds consume the declared cautionBackground theme value with the prior fallback when absent. Native rendering is unchanged.
1983
+
1984
+
1985
+ ### Web external parent-scroll commands
1986
+
1987
+ When a caller supplies webScrollHost, scroll commands use the DOM scrollTo method from that element's document realm. React Native Web may decorate a NativeScroller node with a differently shaped React Native scrollTo method; the DOM host contract must not invoke that method with DOM options. The native/ref APIs and internally owned NativeList viewport keep their existing behavior.
1988
+
1989
+ Existing Pager command-accepted/cancel notifications use the actual external scroll owner when supplied, otherwise the internally owned viewport. A list command cancels queued Pager restoration/top work; a Pager top command cancels a pending list command and stops motion on that same owner. Listener target guards and destruction removal must match. No new public method, event name or native behavior is introduced.
1990
+
1991
+
1992
+ ### Web Pager inset notifications
1993
+
1994
+ An externally hosted list listens for the existing Pager inset notification on
1995
+ its actual scroll owner, matching the notification target and removing the same
1996
+ listener on destroy. It measures the new content origin before Pager restores
1997
+ its C+B offset; a later ResizeObserver must not add that inset a second time.
1998
+ Ordinary subsequent slot-height changes retain the existing content-anchor
1999
+ compensation. Standalone lists continue listening on their own viewport.
2000
+
2001
+ ### Web History retained visual binding
2002
+
2003
+ Implemented contract: same-source History visuals retain their image, placeholder
2004
+ and corner nodes while image styles or table/stacked presentation change. Every
2005
+ bind restores the factory geometry and applies the current image style and
2006
+ presentation, including clearing omitted radius/contentFit/shape overrides.
2007
+ Presentation wrapper changes move the existing nodes and preserve asynchronous
2008
+ loading/error visibility; they do not recreate or reload an unchanged source.
2009
+ Changing the source set retains the existing rebuild/disposal behavior.
2010
+
2011
+ ## Opt-in structural snapshot transition (Home assets)
2012
+
2013
+ `NativeListSnapshot.structuralTransition?: { id: string; durationMs?: number; anchorKey?: string }` is an update command carried by a validated complete snapshot. It applies only after the initial mount, when `id` differs from the last consumed transition id and the row-key sequence changes while both the previous and next layouts are vertical, single-column `linear` or `table`. Grid, sectioned, and horizontal source or target layouts apply the snapshot without this animation. The default duration is 220 ms; explicit values must be finite and in the 0–2000 ms range. Reusing an id on price, balance, selection, or theme snapshots is inert. `applyPatches` never starts a structural transition. A newer id supersedes an in-flight transition from its current visual geometry; host disposal cancels it. Reduced-motion settings disable animation while preserving final rows and scroll position.
2014
+
2015
+ The host captures the first visible row whose key survives the update and keeps its viewport offset where feasible. If none survives, an off-screen `anchorKey` supplies a fallback target. The host never teleports the fallback into view before animation. A collapse that makes the prior absolute offset unreachable must ease the final clamp over the same transition instead of jumping. The React footer slot's old/new height difference is compensated inside that same transition so its button and following content remain continuous while the slot changes. The header/footer slots remain in the one list scroll owner. Web external-scroll-host mode must suppress conflicting browser scroll anchoring during the transition. A failed or unsupported animation still applies the final snapshot and anchor atomically. Row geometry, footer position, and scroll offset share one platform timeline; Pager observes native offset changes as list-owned scroll commands. iOS and Android hosts drive interpolation on the native UI thread without JavaScript bridge frames; Web uses one animation frame timeline for height and offset.
2016
+
2017
+ Native prefix-tail refinement status: Android source and its production-class native regressions are implemented. The prior iOS presentation-layer implementation exercised Home row, footer, sidecar, and scroll geometry, but manual testing found long display-link gaps. The iOS single-tree replacement below is source implemented with limited iOS simulator consuming-app verification; actual presented FPS remains unverified. Only a vertical, single-column `linear` or `table` update whose old and new keys share a nonempty unchanged ordered prefix with unchanged retained-row geometry may use this path. The accepted snapshot becomes current immediately. On iOS the one collection view presents full-natural-height row cells: expansion installs the final row snapshot once before the first animation frame, while collapse retains the old suffix only as presentation until completion. Its flow layout clips the suffix at one animated boundary and reports the animated left extent, combined with the right sidecar maximum, as the scrollable content height. A partially visible boundary cell is masked without changing its measured height. Every suffix row is inert and hidden from accessibility throughout the transition, including newly accepted expansion rows and retiring collapse rows; none dispatch actions, receive selection, or enter visible-range and end-reached events until final commit. No second row-host tree is created, and expansion completion does not reinstall the same row snapshot. If UIKit cannot safely maintain the clipped row window, the host commits the final layout atomically rather than exposing blank or interactive retired content. Android continues to use its bounded inert native presentation layer, with at most 128 row hosts covering the viewport and one viewport of overscan on either side.
2018
+
2019
+ The same native display-link/animator tick changes suffix extent, footer position, clipping, and owner offset. A footer height change during the transition remains on that clock: both native hosts may temporarily use a signed tail extent to offset the footer's new naturally measured height, while the native root keeps its normal measurement; the current extent and owner offset become the start of the remaining segment, which still ends at the original deadline. On iOS a negative extent clips only the footer's overlapped top and excludes that region from hit testing, while the visible footer button remains interactive; cancellation or completion restores the unadjusted extent and full hit region. Expansion preserves the starting offset. Collapse chooses the nearest final offset that fully exposes the collapsed footer below sticky chrome when it fits; a footer taller than the viewport starts below sticky chrome. The final scroll extent is the maximum of the left content and the right sidecar. A newer transition id starts from the current presentation extent and offset and invalidates the old completion when the retained prefix boundary is unchanged. If that boundary changes, the host commits the latest snapshot atomically instead of carrying the old spacer into a different row position. User drag, an explicit scroll command, owner change, resize, reduced motion, or disposal releases temporary presentation state without a stale completion taking scroll ownership. Price patches update the accepted snapshot and any still presented matching rows without restarting the clock. Unsupported shapes retain the existing structural behavior. This refinement introduces no public field or command.
2020
+
2021
+ Web/Desktop/extension prefix-preserving tail refinement status: source implemented; Web and Desktop consuming-app preview routes exercised with the local candidate Web overlay. Browser extension was outside that preview scope, and no FPS or paint-duration claim has been verified. The complete accepted snapshot becomes current immediately, while removed suffix rows may remain only in an inert, accessibility-hidden presentation window until the existing 220 ms transition completes. That window follows the same scroll owner and mounts only viewport-near old rows as the owner moves; each row keeps its natural height while the tail is clipped by the interpolated list extent. Inserted suffix rows use their final layout immediately and are revealed by the growing extent. The shared animation frame updates list height, React footer compensation, and programmatic scroll together. Its final scroll range uses the actual parent page extent, including a taller sidecar. For an off-screen fallback, Web uses the footer's complete visible interval where it fits, including the sticky inset, and otherwise aligns the footer start below the sticky region; the retained row is preferred only when the footer is absent. Price patches update the accepted snapshot and visible retained rows without restarting the transition. A newer structure command, unsupported shape, user scroll takeover, reduced motion, resize, or disposal releases presentation nodes and animation ownership without a stale completion writing an older offset. Other structural changes retain the existing behavior. This refinement adds no public field or native behavior; focused Web DOM tests passed, while browser extension and broader runtime performance remain unverified.
2022
+
2023
+ `DataRow.trailing?: readonly TrailingAccessory[]` reuses the existing accessory action contract, including `rowKey`, `actionKey`, disabled state, and accessibility/test labels. At most two accessories are accepted. Desktop Home can render its independent price/balance columns with `DataRow.columns` and a Swap button in `trailing`. Existing rows without `trailing` retain their current layout. On iOS, trailing controls reserve their intrinsic width and the weighted columns fill the remaining row width. Changing between linear and table layout rebinds retained cells even when their row payload is unchanged.
2024
+
2025
+ `DataColumn.textSegments` and `secondaryTextSegments` reuse `ValueTextSegment` (`text`, optional `style: 'subscript'`) for formatted prices, balances, and values in each independent table column. Plain `text` and `secondaryText` remain the spoken/fallback strings. Missing segments preserve existing rendering.
2026
+
2027
+ `DataColumn.titleIcon` and `secondaryTitleIcon` reuse `IdentityRow.titleIcon` after the primary column text. They preserve native-asset and receipt-token symbols in the desktop asset column. Web `hoverActionKey` uses the same anchored help action as Identity rows; absent icons leave the existing column layout unchanged.
2028
+
2029
+ `IdentityRow.titleSuffixes?: readonly { text: string; tone: 'secondary' | 'disabled'; maxWidth?: number }[]` supports up to three plain 12/16 labels on the title line. Each suffix truncates independently at its optional maximum width. This preserves Recent recipient EVM, network, and relative-time metadata without using background badges; rows without suffixes keep their present title layout.
2030
+
2031
+ ### Web slot-list scroll ownership
2032
+
2033
+ When container slots create an owned Web scroll host without `webScrollHost`,
2034
+ that actual host exposes the existing `data-collapsible-pager-scroll` marker.
2035
+ A containing Web pager therefore applies insets, collapse/top commands and route
2036
+ restoration to the owned host, with slot content as its padding target. The
2037
+ ordinary no-slot viewport and explicit external-host paths keep their existing
2038
+ ownership; no Pager dependency or new API is required.