@onekeyfe/react-native-native-list 6.7.0-3 → 6.7.0-31

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 (212) hide show
  1. package/README.md +4 -0
  2. package/android/src/main/java/com/onekey/nativelist/HybridNativeList.kt +14 -1
  3. package/android/src/main/java/com/onekey/nativelist/NativeListAccessoryStack.kt +250 -9
  4. package/android/src/main/java/com/onekey/nativelist/NativeListActivityDetailsView.kt +35 -7
  5. package/android/src/main/java/com/onekey/nativelist/NativeListActivityRenderer.kt +25 -3
  6. package/android/src/main/java/com/onekey/nativelist/NativeListAdapter.kt +17 -1
  7. package/android/src/main/java/com/onekey/nativelist/NativeListButtonGroupRenderer.kt +102 -0
  8. package/android/src/main/java/com/onekey/nativelist/NativeListContainerSlotAdapter.kt +12 -0
  9. package/android/src/main/java/com/onekey/nativelist/NativeListDataRowRenderer.kt +102 -7
  10. package/android/src/main/java/com/onekey/nativelist/NativeListGeneratedIcons.kt +47 -0
  11. package/android/src/main/java/com/onekey/nativelist/NativeListIdentityRenderer.kt +225 -11
  12. package/android/src/main/java/com/onekey/nativelist/NativeListLeadingVisual.kt +152 -33
  13. package/android/src/main/java/com/onekey/nativelist/NativeListMarketRenderer.kt +92 -28
  14. package/android/src/main/java/com/onekey/nativelist/NativeListMediaPreviewSlot.kt +66 -31
  15. package/android/src/main/java/com/onekey/nativelist/NativeListMediaTileRenderer.kt +1 -1
  16. package/android/src/main/java/com/onekey/nativelist/NativeListMessageRenderer.kt +25 -0
  17. package/android/src/main/java/com/onekey/nativelist/NativeListModels.kt +149 -3
  18. package/android/src/main/java/com/onekey/nativelist/NativeListPrimitives.kt +120 -287
  19. package/android/src/main/java/com/onekey/nativelist/NativeListRendererRegistry.kt +2 -0
  20. package/android/src/main/java/com/onekey/nativelist/NativeListRendererRowView.kt +7 -0
  21. package/android/src/main/java/com/onekey/nativelist/NativeListResolvedText.kt +3 -2
  22. package/android/src/main/java/com/onekey/nativelist/NativeListSectionHeaderRenderer.kt +69 -0
  23. package/android/src/main/java/com/onekey/nativelist/NativeListTextView.kt +55 -1
  24. package/android/src/main/java/com/onekey/nativelist/NativeListView.kt +1953 -117
  25. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListActivityHostClipPolicyTest.kt +35 -0
  26. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListIdentityTrailingAxisTest.kt +36 -0
  27. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListLeadingSlotFrameTest.kt +68 -0
  28. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListLeadingVisualClipPolicyTest.kt +44 -0
  29. package/android/src/test/java/com/margelo/nitro/nativelist/NativeListPressPolicyTest.kt +10 -0
  30. package/docs/ROW_TEMPLATES.md +70 -11
  31. package/docs/SPEC.md +1170 -13
  32. package/docs/STYLE_SPEC.md +11 -0
  33. package/ios/HybridNativeList.swift +21 -2
  34. package/ios/NativeListAccessoryStack.swift +237 -51
  35. package/ios/NativeListActivityDetailsView.swift +30 -11
  36. package/ios/NativeListActivityRenderer.swift +8 -2
  37. package/ios/NativeListButtonGroupRenderer.swift +89 -0
  38. package/ios/NativeListDataRowRenderer.swift +167 -30
  39. package/ios/NativeListDesignAssets.swift +13 -75
  40. package/ios/NativeListGeneratedIcons.swift +55 -0
  41. package/ios/NativeListIconBinding.swift +171 -0
  42. package/ios/NativeListIdentityRenderer.swift +256 -39
  43. package/ios/NativeListLeadingVisual.swift +127 -28
  44. package/ios/NativeListMarketRenderer.swift +120 -31
  45. package/ios/NativeListMediaPreviewSlot.swift +122 -61
  46. package/ios/NativeListMediaTileRenderer.swift +7 -3
  47. package/ios/NativeListMessageRenderer.swift +34 -1
  48. package/ios/NativeListMetricCardRenderer.swift +4 -2
  49. package/ios/NativeListModels.swift +42 -2
  50. package/ios/NativeListRendererRegistry.swift +1 -0
  51. package/ios/NativeListResolvedText.swift +2 -1
  52. package/ios/NativeListRowHost.swift +14 -0
  53. package/ios/NativeListSectionHeaderRenderer.swift +100 -4
  54. package/ios/RNCNativeListView.swift +1052 -58
  55. package/ios/tests/NativeListAccessoryStackTests.swift +101 -0
  56. package/ios/tests/NativeListAccountSelectorLayoutTests.swift +96 -0
  57. package/ios/tests/NativeListActivityPresentationTests.swift +153 -0
  58. package/ios/tests/NativeListIdentityTitleIconLayoutTests.swift +81 -0
  59. package/ios/tests/NativeListLeadingVisualPairBackdropTests.swift +50 -0
  60. package/ios/tests/NativeListLifecycleTests.swift +2798 -3
  61. package/ios/tests/NativeListMarketMetricsTests.swift +117 -0
  62. package/ios/tests/NativeListMediaVisibilityTests.swift +26 -1
  63. package/ios/tests/NativeListSharedIconTests.swift +236 -0
  64. package/lib/module/NativeList.js +221 -36
  65. package/lib/module/NativeList.web.js +167 -46
  66. package/lib/module/index.js +1 -1
  67. package/lib/module/models.js +3 -0
  68. package/lib/module/selection.js +1 -1
  69. package/lib/module/validation.js +1246 -48
  70. package/lib/module/web/NativeListGeneratedIcons.js +31 -0
  71. package/lib/module/web/NativeListWebEngine.js +513 -274
  72. package/lib/module/web/templates/ActivityRowRenderer.js +120 -87
  73. package/lib/module/web/templates/ButtonGroupRowRenderer.js +47 -0
  74. package/lib/module/web/templates/DataRowRenderer.js +40 -5
  75. package/lib/module/web/templates/IdentityRowRenderer.js +158 -6
  76. package/lib/module/web/templates/MarketTableRowRenderer.js +37 -19
  77. package/lib/module/web/templates/MediaTileRowRenderer.js +4 -14
  78. package/lib/module/web/templates/MessageRowRenderer.js +18 -2
  79. package/lib/module/web/templates/RowContainerStyle.js +1 -0
  80. package/lib/module/web/templates/RowRendererRegistry.js +3 -0
  81. package/lib/module/web/templates/SectionHeaderRowRenderer.js +36 -2
  82. package/lib/nitrogen/generated/android/c++/JHybridNativeListSpec.cpp +26 -0
  83. package/lib/nitrogen/generated/android/c++/JHybridNativeListSpec.hpp +4 -0
  84. package/lib/nitrogen/generated/android/c++/views/JHybridNativeListStateUpdater.cpp +10 -0
  85. package/lib/nitrogen/generated/android/kotlin/com/margelo/nitro/nativelist/HybridNativeListSpec.kt +20 -0
  86. package/lib/nitrogen/generated/ios/c++/HybridNativeListSpecSwift.hpp +14 -0
  87. package/lib/nitrogen/generated/ios/c++/views/HybridNativeListComponent.mm +12 -0
  88. package/lib/nitrogen/generated/ios/swift/HybridNativeListSpec.swift +2 -0
  89. package/lib/nitrogen/generated/ios/swift/HybridNativeListSpec_cxx.swift +43 -0
  90. package/lib/nitrogen/generated/shared/c++/HybridNativeListSpec.cpp +4 -0
  91. package/lib/nitrogen/generated/shared/c++/HybridNativeListSpec.hpp +4 -0
  92. package/lib/nitrogen/generated/shared/c++/views/HybridNativeListComponent.cpp +4 -0
  93. package/lib/nitrogen/generated/shared/c++/views/HybridNativeListComponent.hpp +6 -0
  94. package/lib/nitrogen/generated/shared/json/NativeListConfig.json +2 -0
  95. package/lib/typescript/src/NativeList.d.ts +3 -3
  96. package/lib/typescript/src/NativeList.nitro.d.ts +2 -0
  97. package/lib/typescript/src/NativeList.types.d.ts +20 -2
  98. package/lib/typescript/src/index.d.ts +2 -2
  99. package/lib/typescript/src/models.d.ts +126 -17
  100. package/lib/typescript/src/validation.d.ts +20 -0
  101. package/lib/typescript/src/web/NativeListGeneratedIcons.d.ts +2 -0
  102. package/lib/typescript/src/web/NativeListWebEngine.d.ts +32 -1
  103. package/lib/typescript/src/web/templates/ButtonGroupRowRenderer.d.ts +14 -0
  104. package/lib/typescript/src/web/templates/IdentityRowRenderer.d.ts +1 -1
  105. package/lib/typescript/src/web/templates/MessageRowRenderer.d.ts +9 -3
  106. package/nitrogen/generated/android/c++/JHybridNativeListSpec.cpp +26 -0
  107. package/nitrogen/generated/android/c++/JHybridNativeListSpec.hpp +4 -0
  108. package/nitrogen/generated/android/c++/views/JHybridNativeListStateUpdater.cpp +10 -0
  109. package/nitrogen/generated/android/kotlin/com/margelo/nitro/nativelist/HybridNativeListSpec.kt +20 -0
  110. package/nitrogen/generated/ios/c++/HybridNativeListSpecSwift.hpp +14 -0
  111. package/nitrogen/generated/ios/c++/views/HybridNativeListComponent.mm +12 -0
  112. package/nitrogen/generated/ios/swift/HybridNativeListSpec.swift +2 -0
  113. package/nitrogen/generated/ios/swift/HybridNativeListSpec_cxx.swift +43 -0
  114. package/nitrogen/generated/shared/c++/HybridNativeListSpec.cpp +4 -0
  115. package/nitrogen/generated/shared/c++/HybridNativeListSpec.hpp +4 -0
  116. package/nitrogen/generated/shared/c++/views/HybridNativeListComponent.cpp +4 -0
  117. package/nitrogen/generated/shared/c++/views/HybridNativeListComponent.hpp +6 -0
  118. package/nitrogen/generated/shared/json/NativeListConfig.json +2 -0
  119. package/package.json +16 -10
  120. package/react-native-native-list.podspec +2 -6
  121. package/scripts/generate-icons.mjs +150 -0
  122. package/scripts/generate-icons.test.mjs +288 -0
  123. package/scripts/native-list-icons.json +260 -0
  124. package/src/NativeList.nitro.ts +2 -0
  125. package/src/NativeList.tsx +416 -89
  126. package/src/NativeList.types.ts +24 -2
  127. package/src/NativeList.web.tsx +295 -89
  128. package/src/index.ts +2 -0
  129. package/src/models.ts +263 -144
  130. package/src/selection.ts +1 -0
  131. package/src/validation.ts +3013 -152
  132. package/src/web/NativeListGeneratedIcons.ts +28 -0
  133. package/src/web/NativeListWebEngine.ts +816 -343
  134. package/src/web/templates/ActivityRowRenderer.ts +178 -141
  135. package/src/web/templates/ButtonGroupRowRenderer.ts +58 -0
  136. package/src/web/templates/DataRowRenderer.ts +93 -20
  137. package/src/web/templates/IdentityRowRenderer.ts +231 -6
  138. package/src/web/templates/MarketTableRowRenderer.ts +56 -33
  139. package/src/web/templates/MediaTileRowRenderer.ts +4 -17
  140. package/src/web/templates/MessageRowRenderer.ts +23 -7
  141. package/src/web/templates/RowContainerStyle.ts +2 -0
  142. package/src/web/templates/RowRendererRegistry.ts +11 -1
  143. package/src/web/templates/SectionHeaderRowRenderer.ts +47 -4
  144. package/ios/Resources/NativeListIcons.xcassets/Contents.json +0 -1
  145. package/ios/Resources/NativeListIcons.xcassets/onekey_arrow_bottom.imageset/Contents.json +0 -1
  146. package/ios/Resources/NativeListIcons.xcassets/onekey_arrow_bottom.imageset/icon.svg +0 -1
  147. package/ios/Resources/NativeListIcons.xcassets/onekey_arrow_top.imageset/Contents.json +0 -1
  148. package/ios/Resources/NativeListIcons.xcassets/onekey_arrow_top.imageset/icon.svg +0 -1
  149. package/ios/Resources/NativeListIcons.xcassets/onekey_badge_verified_solid.imageset/Contents.json +0 -1
  150. package/ios/Resources/NativeListIcons.xcassets/onekey_badge_verified_solid.imageset/icon.svg +0 -1
  151. package/ios/Resources/NativeListIcons.xcassets/onekey_chart_trending_up.imageset/Contents.json +0 -1
  152. package/ios/Resources/NativeListIcons.xcassets/onekey_chart_trending_up.imageset/icon.svg +0 -1
  153. package/ios/Resources/NativeListIcons.xcassets/onekey_checkbox_checked.imageset/Contents.json +0 -1
  154. package/ios/Resources/NativeListIcons.xcassets/onekey_checkbox_checked.imageset/icon.svg +0 -1
  155. package/ios/Resources/NativeListIcons.xcassets/onekey_checkbox_indeterminate.imageset/Contents.json +0 -1
  156. package/ios/Resources/NativeListIcons.xcassets/onekey_checkbox_indeterminate.imageset/icon.svg +0 -1
  157. package/ios/Resources/NativeListIcons.xcassets/onekey_chevron_bottom.imageset/Contents.json +0 -1
  158. package/ios/Resources/NativeListIcons.xcassets/onekey_chevron_bottom.imageset/icon.svg +0 -1
  159. package/ios/Resources/NativeListIcons.xcassets/onekey_chevron_grabber_ver.imageset/Contents.json +0 -1
  160. package/ios/Resources/NativeListIcons.xcassets/onekey_chevron_grabber_ver.imageset/icon.svg +0 -1
  161. package/ios/Resources/NativeListIcons.xcassets/onekey_chevron_right_small.imageset/Contents.json +0 -1
  162. package/ios/Resources/NativeListIcons.xcassets/onekey_chevron_right_small.imageset/icon.svg +0 -1
  163. package/ios/Resources/NativeListIcons.xcassets/onekey_chevron_top.imageset/Contents.json +0 -1
  164. package/ios/Resources/NativeListIcons.xcassets/onekey_chevron_top.imageset/icon.svg +0 -1
  165. package/ios/Resources/NativeListIcons.xcassets/onekey_dot_hor.imageset/Contents.json +0 -1
  166. package/ios/Resources/NativeListIcons.xcassets/onekey_dot_hor.imageset/icon.svg +0 -1
  167. package/ios/Resources/NativeListIcons.xcassets/onekey_drag.imageset/Contents.json +0 -1
  168. package/ios/Resources/NativeListIcons.xcassets/onekey_drag.imageset/icon.svg +0 -1
  169. package/ios/Resources/NativeListIcons.xcassets/onekey_error_solid.imageset/Contents.json +0 -1
  170. package/ios/Resources/NativeListIcons.xcassets/onekey_error_solid.imageset/icon.svg +0 -1
  171. package/ios/Resources/NativeListIcons.xcassets/onekey_image_square_waves.imageset/Contents.json +0 -1
  172. package/ios/Resources/NativeListIcons.xcassets/onekey_image_square_waves.imageset/icon.svg +0 -1
  173. package/ios/Resources/NativeListIcons.xcassets/onekey_info_circle.imageset/Contents.json +0 -1
  174. package/ios/Resources/NativeListIcons.xcassets/onekey_info_circle.imageset/icon.svg +0 -1
  175. package/ios/Resources/NativeListIcons.xcassets/onekey_minus_circle.imageset/Contents.json +0 -1
  176. package/ios/Resources/NativeListIcons.xcassets/onekey_minus_circle.imageset/icon.svg +0 -1
  177. package/ios/Resources/NativeListIcons.xcassets/onekey_minus_circle_solid.imageset/Contents.json +0 -1
  178. package/ios/Resources/NativeListIcons.xcassets/onekey_minus_circle_solid.imageset/icon.svg +0 -1
  179. package/ios/Resources/NativeListIcons.xcassets/onekey_pencil.imageset/Contents.json +0 -1
  180. package/ios/Resources/NativeListIcons.xcassets/onekey_pencil.imageset/icon.svg +0 -1
  181. package/ios/Resources/NativeListIcons.xcassets/onekey_plus_circle.imageset/Contents.json +0 -1
  182. package/ios/Resources/NativeListIcons.xcassets/onekey_plus_circle.imageset/icon.svg +0 -1
  183. package/ios/Resources/NativeListIcons.xcassets/onekey_plus_small.imageset/Contents.json +0 -1
  184. package/ios/Resources/NativeListIcons.xcassets/onekey_plus_small.imageset/icon.svg +0 -1
  185. package/ios/Resources/NativeListIcons.xcassets/onekey_questionmark_solid.imageset/Contents.json +0 -1
  186. package/ios/Resources/NativeListIcons.xcassets/onekey_questionmark_solid.imageset/icon.svg +0 -1
  187. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_account_error_custom.imageset/Contents.json +0 -15
  188. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_account_error_custom.imageset/icon.svg +0 -14
  189. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_all_networks_solid.imageset/Contents.json +0 -15
  190. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_all_networks_solid.imageset/icon.svg +0 -12
  191. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_apple_brand.imageset/Contents.json +0 -15
  192. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_apple_brand.imageset/icon.svg +0 -6
  193. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_bot_illus.imageset/Contents.json +0 -15
  194. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_bot_illus.imageset/icon.svg +0 -15
  195. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_crossed_small_solid.imageset/Contents.json +0 -15
  196. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_crossed_small_solid.imageset/icon.svg +0 -3
  197. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_globus_outline.imageset/Contents.json +0 -15
  198. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_globus_outline.imageset/icon.svg +0 -7
  199. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_google_illus.imageset/Contents.json +0 -15
  200. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_google_illus.imageset/icon.svg +0 -18
  201. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_lock_solid.imageset/Contents.json +0 -15
  202. package/ios/Resources/NativeListIcons.xcassets/onekey_selector_lock_solid.imageset/icon.svg +0 -7
  203. package/ios/Resources/NativeListIcons.xcassets/onekey_shield_exclamation.imageset/Contents.json +0 -1
  204. package/ios/Resources/NativeListIcons.xcassets/onekey_shield_exclamation.imageset/icon.svg +0 -1
  205. package/ios/Resources/NativeListIcons.xcassets/onekey_speaker_promote.imageset/Contents.json +0 -1
  206. package/ios/Resources/NativeListIcons.xcassets/onekey_speaker_promote.imageset/icon.svg +0 -1
  207. package/ios/Resources/NativeListIcons.xcassets/onekey_star.imageset/Contents.json +0 -1
  208. package/ios/Resources/NativeListIcons.xcassets/onekey_star.imageset/icon.svg +0 -1
  209. package/ios/Resources/NativeListIcons.xcassets/onekey_star_solid.imageset/Contents.json +0 -1
  210. package/ios/Resources/NativeListIcons.xcassets/onekey_star_solid.imageset/icon.svg +0 -1
  211. package/ios/Resources/NativeListIcons.xcassets/onekey_swap_hor.imageset/Contents.json +0 -1
  212. package/ios/Resources/NativeListIcons.xcassets/onekey_swap_hor.imageset/icon.svg +0 -1
package/docs/SPEC.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # NativeList contract
2
2
 
3
+ ## Shared image SVG integration — Implemented
4
+
5
+ Static icons use the image package's named resources and SVG implementation:
6
+ the main registry, Activity's ten private glyphs, Market stars/recognized badge,
7
+ Media fallback and Android checkbox. The closed per-platform coverage, including
8
+ the main-line asset-list additions, is recorded under Built-in icon metadata
9
+ generation; unknown-name text fallbacks remain. The NativeList-only legacy name
10
+ `BadgeVerifiedSolid` resolves to canonical `BadgeRecognizedSolid`. Circle and
11
+ dynamic charts/spinners/dotted decoration remain local primitives.
12
+
13
+ Each iOS glyph slot owns a request owner and revision, including overlays and
14
+ UIButton states. Final graphical identity (name, raster geometry/scale and render
15
+ strategy) controls requests. A private synchronous bind transaction preserves
16
+ both an identical pending request and a ready raster across reset/rebind calls;
17
+ changed or empty identities cancel and clear. Only the current attached revision
18
+ may apply a completion. Detach, reuse and raster geometry changes invalidate
19
+ ownership. UIKit template tint changes reuse the immutable mask. UIButton states
20
+ share one decode, retaining template/original and disabled tint/alpha/action
21
+ behavior. Name validity and descriptor geometry control visibility, layout and
22
+ touch bounds; image availability does not control them.
23
+ Detached binds and auto-height measurement use only known intrinsic metadata;
24
+ they MUST NOT submit named requests or read/decode SVG resources. Initial attach
25
+ starts loading without changing the measured glyph or button dimensions.
26
+
27
+ iOS original brand/opacity modes and the size overload's always-template behavior
28
+ remain. Android named glyphs preserve their source aspect ratio, fit both source
29
+ dimensions within the view and optional glyph-size limit, and center the result
30
+ on both axes. This includes the non-square 16 × 20 Apple artwork; it MUST NOT
31
+ extend beyond the view. Checkboxes retain their 16 dp glyph plus 2 dp border
32
+ offset in selector geometry, otherwise 80 percent centered geometry. Shared images are immutable; no cross-view mutable
33
+ Drawable bounds or pixel changes are allowed. Named work uses image's existing
34
+ two-worker and bounded cache service. Web consumers use its pure DOM external-icon
35
+ helper while keeping inherited color, action labels, anchors and exact sizes.
36
+
37
+ Acceptance must cover actual slots, first bind and repeated row reuse, unknown
38
+ and empty inputs, detach/reattach, resize/tint changes, both UIButton states,
39
+ checkboxes, Apple, original brands, legacy badge, and Web/desktop menus. All
40
+ static path readers must be removed from migrated routes; procedural drawings
41
+ and unrelated URI image loading retain their existing ownership.
42
+
43
+ `NativeListRiskAccessoryTest` checks fractional and integral glyph bounds,
44
+ portrait/landscape sources, rectangular slots and both glyph-size scaling modes.
45
+ Its raw-SVG alpha comparison uses integral destination edges to isolate color
46
+ semantics from fractional bitmap interpolation.
47
+
3
48
  This is the entry point for the package's behavioral contract. The linked
4
49
  documents are part of this spec; implementation status is separate from target
5
50
  architecture and runtime evidence.
@@ -26,6 +71,371 @@ prevention; there is no automatic fitting or shrinking pass.
26
71
 
27
72
  ## Public API and defaults
28
73
 
74
+ ### Media failure placeholder — Implemented
75
+
76
+ Native media-tile failures use the current theme's `disabledText` color for the
77
+ existing local `ImageSquareWavesOutline` icon, including explicit `imageState:
78
+ 'error'` and exhausted media probes. A theme rebind updates that tint. Image
79
+ content and SVG decoding remain owned by OneKeyImage; no per-cell WebView or
80
+ fallback network source is added.
81
+ Full-wallet dark/light placeholder acceptance remains a runtime check; source
82
+ completion does not establish that visual result.
83
+
84
+ ### Recipient identity and inline warning rows
85
+
86
+ Status: implemented in local source for the Select Address and Swap selectors;
87
+ native device and broader Web runtime verification remain pending. These fields travel in snapshot/patch JSON
88
+ and do not change the Nitro ABI.
89
+
90
+ An `identity` row may opt into `subtitleLines: 0`, meaning the complete subtitle
91
+ wraps at its measured text-column width without a line cap. Existing omitted,
92
+ one-line and two-line behavior stays unchanged. An identity row with
93
+ `contentHeight: 'auto'` measures its actual title, subtitle, leading visual,
94
+ badges and trailing accessories and grows to fit; this is opt-in and does not
95
+ alter selector or wallet-sidebar presets. An explicit `style.container.height`
96
+ or `row.height` still wins over content measurement, in that order. Content
97
+ height changes with row width, text, style or configured font and may not retain
98
+ a stale prior width's measurement. The existing 4096 UTF-16-code-unit bound per
99
+ text field still applies; zero is not an unlimited data-size allowance.
100
+
101
+ On Web, opt-in auto-height identity rows without an explicit height use the
102
+ intrinsic body height in CSS layout pixels, before ancestor transforms. A hidden
103
+ body with zero layout height supplies no rendered measurement; zero MUST NOT
104
+ replace a valid layout height. Rebinding between automatic and explicit height
105
+ restores the corresponding body sizing. Multiline subtitles, including
106
+ `subtitleLines: 0`, break unspaced words within the text-column width; single-line
107
+ behavior remains unchanged.
108
+
109
+ Auto-height recipient rows are production-consumer verified with isolated wallet
110
+ fixtures, including modal scaling, width changes and row reuse. This scoped
111
+ acceptance does not establish Electron or browser-extension runtime acceptance.
112
+
113
+ An `identity` row may set `longPressActionKey` to a nonempty action key. A valid
114
+ touch long press on an enabled row emits one `onRowAction` with its current row key,
115
+ action key, `row` anchor source and window press point. An accessibility long-click
116
+ without a physical touch retains the row anchor without a press point. It suppresses the
117
+ ordinary press for that gesture. Motion cancellation, row rebind/recycle,
118
+ disabled state and disposal cancel pending recognition. Trailing accessory
119
+ actions remain independent. Omission preserves existing tap behavior.
120
+
121
+ ### Native Swap token menu backport
122
+
123
+ Status: implemented in local native source, unreleased. Native build and runtime
124
+ acceptance are separate checks. Web and Desktop layout and actions stay unchanged;
125
+ their generated icon artwork is covered in the following section.
126
+
127
+ iOS and Android render `DotVerSolid` with the app's existing 24-unit solid icon
128
+ geometry. On Android, exactly two identity trailing accessories consisting of
129
+ `valuePair` followed by an `icon` named `DotVerSolid` with `actionKey: 'menu'`
130
+ lay out horizontally, matching iOS. Other icon names or action keys retain the
131
+ existing axis rules. This backport does not change row padding, accessory spacing,
132
+ button dimensions, actions, disabled state, or the public snapshot contract.
133
+
134
+ `NativeListAccessoryStackTests` checks the iOS image lookup and bound button image.
135
+ `NativeListRiskAccessoryTest` checks Android's actual icon drawing and the target
136
+ horizontal pair, including vertical controls on rebind.
137
+
138
+ ### Built-in icon metadata generation
139
+
140
+ The closed `scripts/native-list-icons.json` manifest retains platform coverage,
141
+ canonical App source paths and iOS rendering strategy. `Circle` is a local
142
+ primitive. The NativeList-only legacy `BadgeVerifiedSolid` name maps to
143
+ `solid/badge-recognized.svg` / canonical `BadgeRecognizedSolid`, preserving its
144
+ thumbs-up artwork without adding a general alias.
145
+
146
+ `scripts/generate-icons.mjs --app-root <app-root>` matches each source uniquely
147
+ against image's generated catalog, validates source digests and manifest
148
+ metadata, then emits exactly three small Swift/Kotlin/Web name/geometry tables.
149
+ It writes no SVG, path data or xcassets; image owns the single resource pipeline.
150
+ All validation precedes writes. `--check` is read-only and detects missing or
151
+ ambiguous sources, invalid metadata and stale output. Stable sorting emits no
152
+ machine paths or timestamps. Frozen tests compare exact registry key sets;
153
+ this does not prove that every application-computed name is registered.
154
+
155
+ The closed manifest contains 43 names with iOS 42, Android 41 and Web 25
156
+ registry entries (including DotVerSolid). Document2Outline, WalletOutline and
157
+ PlusLargeOutline are registered on all three platforms; TicketOutline also
158
+ retains Web and adds native coverage. These main-line names use image-owned
159
+ canonical SVGs, not duplicate NativeList paths or asset catalogs.
160
+ Existing Activity ten-name and Market/Media private call sites resolve canonical
161
+ names through the same DOM helper; their previous coverage does not expand.
162
+ Image preserves raw path order, fill rules, fixed colors, opacity and viewBoxes.
163
+ NativeList retains its layout, button bounds, actions and snapshot interfaces.
164
+
165
+ Focused SDK fixture acceptance covers native attached lifecycle/rebinding,
166
+ legacy iOS asset comparisons, shared alpha semantics and real Web/Electron
167
+ source/lib consumers. This is not full App, balance, transaction or signed
168
+ release acceptance.
169
+
170
+ Identity trailing accessories stack vertically, except for the pairs every
171
+ platform lays out side by side: `value` + `checkbox`, `valuePair` + `menu`,
172
+ `valuePair` + an `icon` named `DotVerSolid` whose `actionKey` is `menu`,
173
+ `valuePair` + `chevron`, a `RefreshCcwOutline` icon without an action key +
174
+ `chevron`, and `PencilOutline` + `DragOutline` icons. iOS decides this in
175
+ `configureTrailingStack`; Android in `nativeListIdentityTrailingIsHorizontal`
176
+ (JVM test `NativeListIdentityTrailingAxisTest`). The `valuePair` + menu-icon
177
+ pair is the Swap token selector's balance column and row menu; stacking it
178
+ clipped both inside the fixed 60dp row on Android.
179
+
180
+
181
+ A `message` row may opt into `bodyLines: 0`; its complete body wraps within its
182
+ existing text area and determines natural height unless an explicit row or
183
+ container height overrides it. Existing omitted and one-to-three-line behavior
184
+ stays unchanged. `style.body.lines`, when supplied, retains its existing
185
+ one-to-three-line precedence. `presentation: 'inlineWarning'` changes only the
186
+ message container border: requested `style.container.borderWidth` and
187
+ `borderColor` draw top and bottom edges at full row width, with no side edges or
188
+ corner radius. Omitted border width draws no border; omitted presentation keeps
189
+ the existing all-edge container style. The caller supplies warning text, icon,
190
+ font, padding, colors and list-width layout; the SDK does not infer risk status.
191
+ All optional fields must clear on rebind/recycle and patch replacement. The
192
+ existing 4096-code-unit body limit applies.
193
+
194
+ An image-backed `LeadingVisual` may set `fallbackTextColor` to a hex
195
+ `#RRGGBB` or `#RRGGBBAA` color. It colors only the visible initials/fallback
196
+ text, including a failed image's fallback state; omission retains the existing
197
+ platform default. It does not alter the visual background, bitmap, icon, or
198
+ overlay colors. Validation rejects malformed colors. Rebind and recycle must
199
+ clear the previous text color so dark/light theme updates cannot leak between
200
+ rows. Consumers own the semantic theme choice (for example inverse text over
201
+ inverse background).
202
+
203
+ iOS measures opt-in identity and unlimited message content before collection
204
+ placement. Android binds text with unlimited native lines and allows its row
205
+ view to measure that content. Web uses wrapping DOM text and measured row
206
+ height. All platforms retain existing explicit-height precedence and existing
207
+ default rows. Focused source tests must cover validation, patching, old-to-new
208
+ reuse, action isolation and height changing with width/text; real iOS, Android
209
+ and Web acceptance must cover narrow addresses, dynamic type/fonts, long press
210
+ versus tap, keyboard interaction, and the horizontal warning border. Source or
211
+ build success alone is not runtime evidence.
212
+
213
+ ### DeFi position row controls
214
+
215
+ Status: implemented in local source, unreleased. Focused validation and Web
216
+ DOM tests pass; native source compilation passes, while target-app compilation
217
+ and device acceptance remain separate gates.
218
+ `buttonGroup` is a vertical data row with `RowBase` identity and a nonempty
219
+ `buttons` array. Each button has a unique nonempty `key`, localized nonempty
220
+ `label`, nonempty `actionKey`, and optional `disabled`, `loading`, `testID` and
221
+ `accessibilityLabel`. It renders the existing DeFi medium block info-outline
222
+ controls: equal-width buttons, 10-point gap, 12-point vertical padding and
223
+ 12-point radius. Every declared action remains visible; the renderer must not
224
+ truncate the array. Loading retains the button's width, disables that button,
225
+ and displays an activity indicator. A disabled row disables every button.
226
+ Activation emits one existing row action with the button's `actionKey` and
227
+ its own source/slot, without activating the row. A full rebind or recycle
228
+ removes prior buttons, loading indicators, labels, test IDs and handlers.
229
+ The SDK does not infer which DeFi actions are allowed or perform transactions.
230
+
231
+ `sectionHeader` may include `leadingBadge` (the existing badge shape),
232
+ with an optional `NativeListTheme.successBackground` used only for its
233
+ `success` tone. Omitting that theme color keeps the old badge default.
234
+ `style.valuePlacement: 'afterTitle'`, and
235
+ `style.titleDecoration: 'none' | 'dashed'`. Missing fields retain the current
236
+ heading layout and decoration. `valueHelp` and a `valuePair` trailing
237
+ accessory's `primaryHelp` share
238
+ `{ actionKey, presentation: 'tooltip' | 'popover', underline?: 'dashed' }`.
239
+ Presentation and underline are independent: the former selects trigger
240
+ semantics, the latter only draws a dashed underline. `tooltip` on Web opens on
241
+ mouse/pen entry and eligible focus, closes on departure/blur, and mouse/pen
242
+ press closes it until departure; touch toggles. It has no native touch target
243
+ or event. `popover` on all platforms toggles only on click/press and does not
244
+ open from hover. These help targets do not activate their row. Presentation
245
+ change, departure, scroll, rebind, replacement by another anchor and disposal
246
+ invalidate the old anchor.
247
+ On Web, the value-pair primary help target is keyboard focusable; focus opens
248
+ tooltip help and Enter/Space activates popover help without pressing the row.
249
+ The consuming app owns Tooltip/Popover content. Missing help fields keep
250
+ the original noninteractive text. All additions use snapshot JSON and do not
251
+ change the Nitro ABI.
252
+
253
+ `valuePair.primaryFontWeight?: 'medium'` applies only to the primary text
254
+ line. The secondary line keeps its existing regular weight. Omitting the field
255
+ preserves each platform's existing value-pair typography; full rebind and
256
+ recycle remove any previous primary-only override. The field travels in the
257
+ existing snapshot JSON and does not change the Nitro ABI.
258
+
259
+ Validation rejects empty or duplicate button keys, empty labels/action keys,
260
+ invalid booleans and help descriptors, and unknown style fields. The list's
261
+ existing row, text and snapshot bounds apply; no
262
+ silent action truncation is permitted. Conformance includes Web DOM events,
263
+ iOS/Android renderer bind/reuse, TypeScript validation, native builds, and
264
+ later real UI checks for help anchors, loading, disabled actions and geometry.
265
+
266
+ ### Segmented value-pair accessory
267
+
268
+ Status: implemented in local source, unreleased. Focused validation and Web DOM
269
+ tests pass; production iOS target compilation passes. Native instrumentation,
270
+ full App builds and device acceptance remain separate gates. A `valuePair`
271
+ trailing accessory retains its required `primary` and `secondary` fallback
272
+ strings. It may also supply optional readonly `primaryTextSegments` and
273
+ `secondaryTextSegments` arrays of existing `ValueTextSegment` objects. Missing
274
+ or empty arrays display the corresponding fallback; nonempty arrays display
275
+ their text runs. Callers provide matching fallback text, but validation does
276
+ not enforce that match.
277
+
278
+ Each array has at most 64 segments, each with string `text` of at most 4096
279
+ characters and optional `style: 'subscript'`. Total text per array is at most
280
+ 4096 characters. Full snapshots and explicit patch replacements reject null,
281
+ malformed arrays, unknown segment keys and other styles. An omitted patch field
282
+ leaves the existing accessory unchanged; replacement without segments clears
283
+ old runs. Subscript retains the existing 60-percent smaller-font convention
284
+ after semantic text styling. Both lines retain their default size, tone, line
285
+ height, right alignment and accessibility text. These fields add no action or
286
+ hit target and travel in existing snapshot JSON without a Nitro ABI change.
287
+
288
+ ### Identity title image
289
+
290
+ Status: implemented in local source, unreleased. Type checks, JS/Web tests,
291
+ Web runtime checks, package build, iOS XCTest-target compilation, Android
292
+ production/instrumentation-test compilation and JVM tests pass. Focused iOS
293
+ Simulator XCTest and Android emulator instrumentation verify image lifecycle,
294
+ null removal and wallet-sidebar layout. Complete wallet App acceptance remains
295
+ pending.
296
+ An `identity` row may supply `titleImage: { image, accessibilityLabel?,
297
+ hoverActionKey? }`. `image` uses the existing `ImageSource` contract and must
298
+ declare equal finite width and height within 1...40 logical units. The image
299
+ is circular, follows the title and any title icons with a 4-point gap, and
300
+ precedes title suffixes and inline badges. It reserves its declared square
301
+ while loading or after failure, so neither state moves the text. Existing
302
+ rows without this field keep their current layout. The image does not change
303
+ row identity or infer a stock, issuer, or other product meaning.
304
+
305
+ iOS and Android use the existing OneKeyImage-backed slot, request options and
306
+ retry limits. Slots belong to the mounted row renderer; OneKeyImage owns image
307
+ caches. Text-only rebinds retain an unchanged row/source request. Source or row
308
+ changes, removal, recycling and disposal cancel prior work and prevent stale
309
+ completion from painting the next binding. Failure leaves the reserved square
310
+ empty; the SDK adds no title-image fallback request or separate cache.
311
+
312
+ On Web, optional `hoverActionKey` uses the title icon's existing help semantics
313
+ and `leadingAction` anchor source: mouse/pen entry opens an anchored help event,
314
+ departure invalidates it, mouse/pen press closes it until departure, and touch
315
+ press toggles it. Pressing this help target does not activate the row. Without
316
+ help, the image participates in the ordinary row press. It adds no tab stop.
317
+ Native renderers ignore this Web-only help field and preserve ordinary row
318
+ presses. The consumer owns the tooltip text and presentation. Omitted
319
+ `accessibilityLabel` makes the image decorative; a supplied label describes it.
320
+
321
+ Android wallet-sidebar rows with a title image reserve image width and pack the
322
+ wallet name with the image as one centered group. Long names ellipsize within
323
+ the remaining space; removing the image restores the full-width centered name.
324
+
325
+ Full snapshots without `titleImage` remove the image and old help anchor.
326
+ Explicit patch replacement updates the descriptor; an omitted patch field
327
+ leaves it unchanged. Null patches and empty image URIs remove the image. Development guards
328
+ reject malformed descriptors and invalid display geometry; production sanitizes
329
+ optional decoration as described in the validation contract. A production patch
330
+ that supplies a malformed title-image replacement explicitly clears the old
331
+ image and help target instead of retaining stale decoration. The field travels in existing JSON and does not change the Nitro ABI;
332
+ consumers must use a native SDK that implements the field before enabling it.
333
+
334
+ Acceptance covers protocol validation, image/source replacement and removal,
335
+ text-only request retention, Web help-action isolation and anchor cleanup,
336
+ native bind/recycle geometry, and native compilation. Device and complete App
337
+ acceptance must be reported separately from source and DOM tests.
338
+
339
+ ### Identity row risk-management controls
340
+
341
+ Status: implemented in source for local consumers, unreleased. Focused validation,
342
+ Web DOM tests, native builds and device acceptance are tracked separately below.
343
+ The optional `identity.titleIcon` is a static, non-actionable icon after the
344
+ title: a 20-point glyph with a 4-point gap, optional tint and accessibility
345
+ label. "After the title" means directly after the title text: the title row
346
+ packs at its start on every platform (Android `PackedTitleLineLayout`, Web flex
347
+ `0 1 auto`, iOS a slack-absorbing filler at the end of the title row), so the
348
+ glyph and any badge follow the text and never drift toward the trailing column
349
+ (OK-66041). The glyph is vertically centered on the title line; on Web the
350
+ `title` text style (including its line clamp) applies to the title text span,
351
+ never to the flex row that carries the glyph (OK-66402). Its optional Web-only `hoverActionKey` emits an anchored help action
352
+ from the icon alone on mouse/pen hover or touch press; the consumer owns the
353
+ tooltip. Mouse/pen press closes the anchor until pointer leave. Touch press
354
+ toggles the icon anchor. The icon adds no tab stop or separate click action;
355
+ row activation remains unchanged. Departure, scroll, full rebind and destroy
356
+ invalidate the anchor. Omission removes the icon in a full snapshot; omission
357
+ in a patch leaves the existing value unchanged. An explicit replacement icon
358
+ without `hoverActionKey` clears the old hover action. Removing the icon
359
+ requires a full snapshot.
360
+
361
+ On Web, `identity.secondaryTitleIcon` accepts the same descriptor and appears
362
+ after `titleIcon`. Both icons retain independent hover/touch anchors at their
363
+ own glyph rectangles; entering the other invalidates the previous anchor.
364
+ Native renderers ignore this optional Web-only field. Full rebinding to one
365
+ or no icons clears the removed glyph and anchor; explicit icon replacement
366
+ without `hoverActionKey` clears that icon's old hover action. Neither icon
367
+ creates a tab stop or separate click action.
368
+ On Web, clicking either help icon (including its SVG) does not activate the row;
369
+ clicking elsewhere on the row keeps the normal row action.
370
+
371
+ `identity.style.leadingContentMaxWidthRatio`, when given,
372
+ must be finite and within `(0, 1]`; it caps the combined leading visual, gap
373
+ and title content relative to the row's available inner width. Omission keeps
374
+ the existing unrestricted layout. Long titles truncate inside the cap, and
375
+ unused width remains available to trailing controls. The ratio is layout-only,
376
+ never a reuse identity or row-height input.
377
+
378
+ `trailing` accepts an optional `button` accessory with required nonempty
379
+ `label` and `actionKey`, optional `disabled`, `testID`,
380
+ `accessibilityLabel`, and optional hex colors `textColor`,
381
+ `backgroundColor`, `pressedBackgroundColor`, `hoverBackgroundColor`, and
382
+ `focusRingColor`. This single variant has the existing small secondary button
383
+ geometry: medium 14/20 text, 10-point horizontal and 4-point vertical
384
+ padding, a one-point transparent border and a pill radius. Omitted colors use
385
+ the theme's corresponding text and strong-background colors. The button does
386
+ not carry arbitrary React content, a size or variant parameter, or loading
387
+ state. Row or accessory disabled state prevents its action and dims the control
388
+ to 0.4 opacity.
389
+
390
+ Activation emits one existing row-action event with the current row key,
391
+ `trailingAccessory` source and zero-based descriptor slot, without also activating the row.
392
+ The host's existing binding epoch guards recycled controls. Full rebinding
393
+ clears omitted title icons and old button text, visual states, test IDs,
394
+ accessibility values and callbacks, including button-to-icon-to-absent reuse.
395
+ Patches replace fields they explicitly change and leave omitted fields intact.
396
+ iOS and Android use native controls; Web uses a semantic `button` with native
397
+ keyboard activation and disabled semantics. The new fields travel inside the
398
+ existing snapshot JSON and do not alter the Nitro bridge ABI. Consumers own
399
+ localized labels, state updates and any tooltip outside the data row.
400
+
401
+ Acceptance requires snapshot and patch validation, Web action/isolation and
402
+ reuse checks, native renderer tests on production classes, native builds and
403
+ device checks for title placement, cap/truncation, colors, press and recycle.
404
+ No source-only check counts as native runtime evidence.
405
+
406
+ `theme.rowHoverBackground` is an optional Web-only hex color for an enabled
407
+ row's hover background. Omission keeps the existing pressed-background hover
408
+ color. Pressed/active rows continue to use `rowPressedBackground`; native
409
+ renderers ignore the new field. The existing `loadingStrategy: 'skeleton'`
410
+ on a Web leading image displays an animated skeleton while loading, then
411
+ clears it on success, failure, rebind or recycle; other strategies keep their
412
+ existing appearance.
413
+
414
+ Identity leading visuals consume the existing `borderColor` as a one-point/dp
415
+ solid bitmap border when supplied without `borderStyle: 'dashed'`; omission or
416
+ a dashed style clears the solid border on every bind.
417
+ The image is inset by that border width. An overlay may optionally set
418
+ `fontWeight` to one of the existing text weight names
419
+ (`regular | medium | semibold | bold`). This changes only overlay text;
420
+ omission retains the current platform default. Setting and clearing the field
421
+ must survive patching and recycled-view rebinding on all three platforms.
422
+ The existing `leading.fallbackIcon` may optionally set a positive `size` for
423
+ its glyph and a hex `backgroundColor` for the visual's no-image and image-load-
424
+ failure states. A successfully loaded bitmap continues to use
425
+ `leading.backgroundColor`. Omitted fallback fields preserve current rendering.
426
+ Image success, failure and full rebinding must restore the matching background
427
+ and glyph size without carrying values from the previous visual.
428
+ An image overlay may optionally declare `fallbackIcon` with a required glyph
429
+ name and optional tint. It shows only after that overlay image fails, while
430
+ loading retains the overlay's empty background and success shows the bitmap.
431
+ The existing icon accessory accepts only one optional `buttonStyle` value,
432
+ `tertiary`, for the source icon button's 38-point press frame, 24-point glyph,
433
+ six-point padding, one-point border, seven-point visual overhang and pressed
434
+ background. Omission preserves every existing icon accessory layout and action.
435
+ The non-action `RefreshCcwOutline` accessory keeps the source's 16-point glyph
436
+ and frame, with no independent press target. Rebinding it to an actionable
437
+ icon restores the existing icon size and event behavior.
438
+
29
439
  ### iOS 26 fixed top scroll-edge overlay
30
440
 
31
441
  Standalone `NativeList` accepts optional
@@ -76,6 +486,33 @@ migration itself does not change any other protocol field.
76
486
 
77
487
  ## Lifecycle and concurrency
78
488
 
489
+ ### Updates before native host binding
490
+
491
+ Status: implemented in local source, unreleased. The delayed-host regression fails
492
+ on the previous wrapper and passes with this change; 438 package JS/Web tests and
493
+ the package type check pass. This local JavaScript revision is verified with real
494
+ iOS Fabric/UICollectionView rendering on an iPad simulator: delayed-ref,
495
+ parent-layout-before-ref without an artificial delay, and host-ready control
496
+ scenarios all retain the three complete rows after a later single-row update.
497
+ The actual Home list also recovered all six rows after the task-specific Metro
498
+ reload. Earlier natural re-entry evidence included development Metro bundle
499
+ re-requests, so it does not establish a menu-only trigger or a Sui-specific natural
500
+ reproduction. Android device acceptance remains unverified.
501
+
502
+ Valid snapshots and row patches accepted before the native host is available MUST
503
+ retain the latest owned logical state. When that host binds, its rows MUST reflect
504
+ all accepted updates that are eligible for presentation, including updates to rows
505
+ that do not change again afterward. Later single-row updates MUST NOT leave other
506
+ rows at their initial placeholders. Existing disclosure measurement gates and
507
+ snapshot replacement semantics still apply. Once the host is ready, ordinary row
508
+ patches MUST remain incremental rather than requiring a complete snapshot for each
509
+ patch. This contract does not add a public prop, method, or Nitro ABI field.
510
+
511
+ Conformance covers multiple pre-bind patch batches, newer complete prop and
512
+ imperative snapshots, rejected updates, equivalent prop clones after slot layout,
513
+ selection state, repeated callbacks, distinct replacement hosts, and incremental
514
+ single-row updates after binding.
515
+
79
516
  Full binding must work without a preceding recycle callback, including
80
517
  style set/change/clear and content A → B. A binding epoch invalidates stale
81
518
  image callbacks and action anchors. Recycling/disposal releases pending work
@@ -85,6 +522,46 @@ image that already loaded. Common container styling clears what it wrote on the
85
522
  next bind, including properties it set on template children. UI mutation remains on the platform
86
523
  UI thread; [DESIGN.md](DESIGN.md) describes update and event ownership.
87
524
 
525
+ ### Android vertical-drag React touch cancellation
526
+
527
+ Status: implemented; four real Android MotionEvent/JSTouchDispatcher regressions
528
+ passed on a dedicated API 34 emulator on 2026-10-30. The focused regression is
529
+ in `native-tests/android/NativeListTouchDeliveryTest.kt`; build and run
530
+ instructions are in that directory's README. Physical-device press/scroll
531
+ acceptance remains separate.
532
+
533
+ This behavior applies to every vertical NativeList, including standalone lists
534
+ outside a CollapsiblePager and touches beginning on React container slots.
535
+ On the UI thread, movement exceeding Android touch slop with vertical
536
+ displacement at least equal to horizontal displacement confirms a vertical
537
+ drag. An initially horizontal movement may become vertical while the list still
538
+ receives the stream; once vertical, ownership stays vertical until release or
539
+ cancellation. Horizontal lists retain their existing touch behavior.
540
+
541
+ The list notifies its React root of native gesture ownership once per confirmed
542
+ drag, cancelling the active React touch before finger-up. Later MOVE events MUST
543
+ NOT repeat that notification. The listener does not consume the stream: native
544
+ RecyclerView scrolling continues. A stationary tap or movement below touch slop
545
+ MUST retain ordinary React touch-end delivery without native-gesture start/end
546
+ notifications. The existing `keyboardDismissMode: 'on-drag'` behavior shares the
547
+ confirmed-drag boundary.
548
+
549
+ ACTION_UP and ACTION_CANCEL finish a started native gesture exactly once and
550
+ release the parent's interception restriction, even after RecyclerView has
551
+ intercepted its child and stops invoking the item-touch interception listener.
552
+ They clear vertical ownership; the next ACTION_DOWN resets direction and
553
+ gesture tracking. Android's touch-target removal cancellation must finish the
554
+ old stream before a retained list is reattached or its slots are reused, so the
555
+ next tap is not suppressed by the previous drag. Disposal releases the listener
556
+ through the existing detached-resource cleanup. This change adds no prop or
557
+ callback and changes neither iOS nor Web touch handling.
558
+
559
+ Conformance uses real MotionEvent dispatch through NativeListView/RecyclerView
560
+ and React Native's JSTouchDispatcher: vertical drag produces one touch-cancel
561
+ and one native end, a tap produces touch-end, and cancellation/removal followed
562
+ by reuse leaves the next tap functional. This proves native touch delivery, not
563
+ execution of a JavaScript press handler or physical-device gesture feel.
564
+
88
565
  ### Android reorder cancellation
89
566
 
90
567
  Status: implemented; three real Android View/callback regressions verified on
@@ -182,6 +659,136 @@ All twelve templates have their own renderer family: Message, Rail, MediaTile,
182
659
  Action, System, Activity, DataRow, MetricCard, Market, Identity, SectionHeader and
183
660
  WalletGroup. Same-key family changes must replace the incompatible host. OneKeyImage owns image caches; NativeList owns row/slot binding identity.
184
661
 
662
+ Keys are opaque strings and MUST contain at least one non-whitespace character.
663
+ Leading and trailing whitespace is valid and MUST be preserved in snapshots,
664
+ patches, selection and emitted events on
665
+ iOS, Android and Web. The SDK MUST NOT trim or otherwise normalize keys;
666
+ `token` and `token ` identify different rows. Duplicate checks use the exact
667
+ string. This rule applies to all key fields validated by the shared protocol;
668
+ section index titles retain their separate development-only
669
+ no-surrounding-whitespace assertion.
670
+ The 256-code-unit key limit is a development assertion, not a production limit.
671
+
672
+ Each iOS and Android host retains an index from accepted logical row keys to
673
+ row positions. An accepted complete snapshot reuses that index only when its
674
+ generation and ordered `(key, type)` sequence match the prior accepted
675
+ snapshot; otherwise it replaces the index. Reorder commits rebuild it and
676
+ disposal clears it. Patch batches reuse the index and never include retiring
677
+ presentation rows in it. Native hosts validate each received canonical batch before changing config or
678
+ presentation; invalid native batches leave both unchanged. The shared production
679
+ JS boundary first isolates rejected row/group units, so a native batch contains
680
+ only accepted canonical updates. iOS updates only changed accepted entries in its
681
+ presentation lookup after a valid patch, preserving any retiring rows.
682
+
683
+ ### Validation environments and rejected input
684
+
685
+ Status: implemented in source; acceptance and remaining runtime gaps are recorded below.
686
+
687
+ Development runs strict contract assertions after shared null/empty-image
688
+ normalization. Production sanitizes optional decorations without rejecting
689
+ valid business content: invalid colors/styles are omitted, invalid images use
690
+ existing placeholders, and positive title-image dimensions are clamped to a
691
+ square of 1...40 logical units. Image headers are string dictionaries, never
692
+ interpreted as geometry. Unsafe object graphs are rejected before normalization.
693
+
694
+ Shared image URI validation accepts the entire `onekey-avatar:` scheme,
695
+ case-insensitively, in snapshots and row patches on iOS, Android and Web. It does
696
+ not restrict the host, version, path, query string or fragment, and preserves the
697
+ URI without decoding. Existing image URI schemes retain their acceptance rules.
698
+ Unsupported image URIs fail development assertions and are sanitized out in
699
+ production. This is validation acceptance only; avatar decoding and loading
700
+ remain owned by the platform image loader or Web avatar worker.
701
+
702
+ Common mobile image URI schemes are accepted case-insensitively in snapshots
703
+ and row patches: `http:`, `https:`, `file:`, `content:`, `android.resource:`,
704
+ `asset:`, `res:`, `ph:`, `assets-library:` and image `data:` URIs. Relative paths
705
+ and bare resource names remain accepted. In particular, production MUST NOT
706
+ strip bundled Android Release resource URIs such as
707
+ `android.resource://<package>/drawable/<name>`. This only permits the URI through
708
+ shared validation; resource lookup, permissions and decoding remain the
709
+ platform loader's responsibility. No new loader is registered by this policy.
710
+ Android Release App rendering acceptance remains pending.
711
+
712
+ A complete snapshot remains atomic after decoration sanitization: invalid
713
+ schema, duplicate/missing identities, required business fields or wallet-group
714
+ parent/children relationships reject the snapshot. No row is silently removed.
715
+ Production normalizes contiguous group positions and filters selection to
716
+ selectable keys, respecting none/single modes.
717
+
718
+ Patches use omitted/undefined fields as no-ops. Null explicitly removes an
719
+ optional field on JS, Web, iOS and Android; required fields cannot be cleared.
720
+ Empty optional images and empty top-level segment arrays normalize to null in
721
+ patches and absence in snapshots. Empty images remove their outer titleImage
722
+ or media wrapper. This protocol requires native binaries with null-removal
723
+ support; callers must not enable it against older native SDK implementations.
724
+
725
+ Market price remains required and nonblank. Updating nonempty priceSegments
726
+ requires a price in the same canonical patch; callers own matching formatted
727
+ text (the validator does not reconstruct subscript prices). Updating price
728
+ without segments clears an existing overlay. For identity/market subtitles,
729
+ updating one representation clears the old other representation unless both
730
+ are supplied; clearing segments alone retains the base text. Activity has no
731
+ subtitle pair. Market quote changes with an existing/new webTable must include
732
+ matching table data or explicitly remove webTable.
733
+
734
+ Development rejects invalid patch batches atomically. Production isolates
735
+ failures to each target key and its coupled groupId: all updates to a key are
736
+ merged in order before validation, and a failure rejects that unit while other
737
+ valid units commit. Financial-value and interactive accessories with missing
738
+ required data fail their row; malformed purely decorative accessories are
739
+ removed. Diagnostics contain locations, never row values or image URLs.
740
+
741
+ All targets share the canonical accepted patches. The accepted JS rows and
742
+ serialized native changes derive from the same result. Native owned snapshots
743
+ and accepted Web engine snapshots validate only changed rows during patches;
744
+ unchanged rows are not rescanned. Direct helpers receiving an unowned baseline
745
+ validate that baseline once before incremental merging. Native owned snapshots
746
+ are immutable and indexed by key. Initial invalid snapshots render empty;
747
+ rejected later snapshots retain the last accepted snapshot. Rejected patch
748
+ units retain their previous complete rows. Direct validators still throw on
749
+ unrecoverable input. Image loading failures remain the loader's responsibility.
750
+
751
+ `planNativeListPatches(previous, next)` is an explicit, pure public helper for
752
+ callers that own two valid, immutable snapshots. It returns a readonly empty
753
+ batch for equal snapshots, value-only `identity` or `dataRow` row patches when
754
+ only eligible values change, and `undefined` when the caller must deliver a
755
+ complete snapshot. It never dispatches, accepts or validates an update, and
756
+ does not deep-copy, freeze or cache caller input. Returned patches may refer
757
+ to `next`'s immutable values; the caller retains baseline and commit ownership.
758
+ The component does not automatically invoke this planner for prop snapshots. Any
759
+ change outside `rows`, including generation, selection, layout, list style, empty state or
760
+ footer, requires a complete snapshot. Row keys, order and types must match.
761
+ `identity` may patch `subtitle`, `subtitleSegments` and `trailing`; `dataRow`
762
+ may patch non-asset columns and `trailing` while preserving the first asset
763
+ column. Changes to other row fields or to the presence of optional patch
764
+ fields require a complete snapshot. Comparison is by JSON value, ignores
765
+ object property order and properties whose value is `undefined`, and keeps
766
+ array order significant.
767
+
768
+ Rejection emits a diagnostic without including row keys, text or image URLs.
769
+ Explicit calls to the exported validation functions still throw on rejected
770
+ input, so development tooling can inspect the full contract failure. Rejection
771
+ does not imply that the requested update succeeded. No row identity is trimmed,
772
+ truncated or regenerated, and no row is silently dropped from a snapshot.
773
+
774
+ Acceptance for this revision: 429 JS/Web tests pass, including native React
775
+ wrapper containment, canonical null/undefined semantics, price/segment pairing,
776
+ production row/group isolation and unchanged-row access checks. Package type
777
+ checks, lint (zero errors; existing warnings) and test-integrity checks pass.
778
+ iOS production/XCTest targets and Android production/instrumentation targets
779
+ compile; 29 Android JVM tests pass. Four focused iOS 26.5 XCTest cases verify
780
+ title-icon packing, title-image reuse and null removal. Android 15/API 35
781
+ instrumentation verifies wallet-sidebar image bounds, long-title ellipsis,
782
+ and full-width title restoration after removal. Shared JS/Web regressions also
783
+ verify that malformed production title-image replacements clear the previous
784
+ image and help anchor. Full App acceptance remains pending.
785
+
786
+ Wallet groups use the actual embedded parent/children model, not memberKeys
787
+ references. groupId/groupPosition remain snapshot-owned fields; production
788
+ patch failures also reject other patched rows in the same existing groupId.
789
+ Unknown extension fields (including unsupported sparkline/changeHighlight
790
+ models) are ignored in production rather than introducing a new renderer API.
791
+
185
792
  ## Platform contract
186
793
 
187
794
  All platforms expose the same bounded style properties and public semantics.
@@ -190,6 +797,36 @@ Existing geometry/typography differences are recorded in
190
797
  them. iOS uses UICollectionView, Android RecyclerView, and Web a windowed DOM
191
798
  engine. See [DESIGN.md](DESIGN.md) for their current ownership boundaries.
192
799
 
800
+ ### iOS account-selector trailing width (OK-65638)
801
+
802
+ Status: implemented. Manual consuming-app verification on an iOS Simulator
803
+ reported normal balance rendering after a local native rebuild. Automated
804
+ XCTest execution and broader device acceptance are tracked separately.
805
+
806
+ For an `identity` row with `presentation: 'accountSelector'`, an empty trailing
807
+ collection or a spinner-only accessory MUST leave the remaining horizontal
808
+ space available to the title and subtitle column. A short title MUST NOT cause
809
+ the balance subtitle to collapse while unused row width remains. The existing
810
+ gap before the trailing column and the shortened address's compression priority
811
+ remain unchanged; content may still truncate when the row is actually too narrow.
812
+ Visible controls keep their intrinsic width without introducing required-width
813
+ conflicts. Rebinding between empty, spinner and single-icon states MUST release
814
+ the previous row's width constraint.
815
+
816
+ `NativeListAccountSelectorLayoutTests` covers balance/address geometry and
817
+ control widths on production UIKit cells, including rebinds. Android and Web
818
+ keep their existing layout and public interfaces.
819
+
820
+ ### Android section-index attachment
821
+
822
+ When `sectionIndex.centeredInWindow` is enabled, the Android index rail moves
823
+ between the list container and the window host as list visibility and attachment
824
+ change. Before adding that same rail to its new parent, the previous parent MUST
825
+ finish any pending view transition for it. Hiding the list returns the rail to
826
+ the list container; detaching still uses the existing posted return so that a
827
+ window traversal is not interrupted. Re-showing or reattaching MUST retain one
828
+ rail instance with one current parent.
829
+
193
830
  ### Font resource ownership and runtime configuration
194
831
 
195
832
  Status: implemented; JavaScript regression tests, Android compilation/JVM tests
@@ -235,16 +872,121 @@ not establish visual acceptance. Acceptance includes two independent runtimes,
235
872
  two list instances, changed/reset mappings, invalid configuration without partial
236
873
  state, all templates and container text, and retained selection/scroll behavior.
237
874
 
875
+ ### Web row and trailing button cursor
876
+
877
+ Pressable rows and trailing buttons keep the default cursor on Web and signal
878
+ interactivity through their hover background, like the host app's rows and
879
+ buttons. Reorderable rows keep their grab cursor. Icon buttons, checkboxes and
880
+ action buttons keep the pointer because some of them have no hover background.
881
+
882
+ ### Trailing text accessory hit area (OK-65494)
883
+
884
+ Status: implemented on iOS and Android. iOS XCTest
885
+ (`NativeListAccessoryStackTests`) checks the control state and hit test, Android
886
+ a JVM policy test (`NativeListPressPolicyTest`); iOS Simulator acceptance on the
887
+ app's network selector is recorded in the changelog entry (2026-10-26). Android
888
+ device acceptance pending.
889
+
890
+ A trailing text accessory (`value`, `valuePair`, `progress`, and a `radio` or
891
+ `switch` without an action key) is display only. It MUST NOT own touches: a tap
892
+ on it is a row press, so the whole row, including its value column, is the hit
893
+ area on iOS, Android and Web. Only a text accessory that carries an action key
894
+ (`radio`, `switch`) handles its own tap and emits that action instead of the row
895
+ press. Icon, chevron, menu, drag and checkbox accessories keep their existing
896
+ ownership. iOS implements this by disabling user interaction on the shared
897
+ accessory button when it has no action and restoring it on reset; Android keeps
898
+ the trailing `TextView` non-clickable unless `showTrailing` binds an action
899
+ (`setOnClickListener(null)` alone leaves a view clickable). Web already renders
900
+ an action-less accessory as a `span`, so its click reaches the row.
901
+
902
+ ### Leading badge overhang (OK-65694)
903
+
904
+ Status: implemented on Android, the only platform that clipped. Android JVM
905
+ policy tests (`NativeListLeadingVisualClipPolicyTest`,
906
+ `NativeListActivityHostClipPolicyTest`); Android emulator
907
+ acceptance on the example account selector (API 36, 2026-10-27) is recorded in
908
+ the changelog entry. iOS and Web are unchanged.
909
+
910
+ A leading visual lays these badges past its own frame: a token `networkImage`
911
+ with its backdrop, a `cornerIcon`, and every `overlays` entry, whose default
912
+ `offset` of 2 already overhangs (the app's account selector hangs its
913
+ single-network badge 4 units past the 32-unit avatar). Such a badge MUST render
914
+ in full on every platform. iOS stops clipping the visual (`clipsToBounds`) once
915
+ one of those descriptors is bound, and Web keeps the visual `overflow: visible`.
916
+ Android clips a child to its own bounds whenever its parent clips children, so a
917
+ host row that keeps the default `clipChildren` cuts the overhang flat even
918
+ though the visual itself never clips. The Identity renderer therefore stops
919
+ clipping children and padding exactly when the bound leading visual reports an
920
+ overhanging badge (`requestsUnclippedHost`, decided by
921
+ `nativeListLeadingVisualOverhangsFrame`), as the Market and Message renderers
922
+ already do for their network badges; a visual without such a badge keeps the
923
+ row's default clipping.
924
+
925
+ Host clipping is per-bind state. A row view that serves several row shapes
926
+ (the Android Activity view serves the legacy row and the rich `amounts` row) is
927
+ reused across binds, so each bind MUST derive clipping from the item it binds
928
+ (`nativeListActivityHostClips`): a view that last showed an overhanging badge
929
+ clips again when it is rebound to a row without one. The rule follows the
930
+ visual, not the row shape: the rich row renders its leading visual on the
931
+ details view, so that view and every column between the visual and the host
932
+ stop clipping too, and the host derives its own clipping from the details
933
+ view's visual (`leadingOverhangs`, OK-66275). Before this rule the rich branch
934
+ forced the host's clipping back on and left the details view at Android's
935
+ defaults, so the app's history rows (which always carry `amounts`) still showed
936
+ the badge cut at the bottom-right after the legacy branch had been fixed.
937
+
938
+ The row's own shape still clips on every platform: iOS masks the cell to its
939
+ corner radius (`masksToBounds`), Web keeps the row `overflow: hidden`, and
940
+ Android keeps `clipToOutline` for a `style.container.cornerRadius` row (its
941
+ parent also clips each row to its bounds). A badge is therefore whole only while
942
+ it stays inside the row's rounded outline, which every app descriptor does: the
943
+ account badge hangs 4 units towards the row's centre and the wallet top-left
944
+ badge (`offsetY` 4) starts inside a 12-unit corner radius with the default
945
+ padding. The example `NativeListRowStylePage` row `identity-badge-rounded`
946
+ combines both badges with `container.cornerRadius` as the rendering check for
947
+ that combination.
948
+
949
+ ### Activity leading pair (OK-66071)
950
+
951
+ Status: implemented on iOS and Android; Web already drew the pair. Android JVM
952
+ geometry test (`NativeListLeadingSlotFrameTest`); Android emulator acceptance on
953
+ the example row-style page is recorded in the changelog entry.
954
+
955
+ An Activity row whose `leading` and `secondaryLeading` are both tokens with an
956
+ image (the app's swap and multi-asset history rows) draws them as a pair inside
957
+ the 40-unit visual box, as the legacy avatar and the Web renderer do: the
958
+ primary token at the top-left at 0.6 of the box (24 units), the secondary at the
959
+ same size at the bottom-right inside a 2-unit ring in the row background, above
960
+ the primary. The ring is shown only while the secondary image is displayed:
961
+ while that image loads, after a failed load and after recycling it stays hidden,
962
+ so it never covers the primary's corner with a blank disc. The token `networkImage` badge, when present, keeps its single-token
963
+ geometry at the box's bottom-right corner above the secondary; a pair shows one
964
+ badge, never one per member. A secondary token without an image leaves the
965
+ primary alone at full size, and a primary without an image lets the secondary
966
+ take its place. Before this rule Android laid the secondary over the whole box
967
+ (hiding the primary and the badge) and iOS drew it in the badge's corner slot
968
+ over the badge. The per-source geometry is one pure function on Android
969
+ (`nativeListLeadingSlotFrame`) and the same arithmetic in
970
+ `NativeListLeadingVisual.layoutSubviews` on iOS; both restore the stacking
971
+ order by role on every bind because slots are reused across roles.
972
+
973
+ The Android Activity renderer also applies the badge-overhang rule above on
974
+ both of its branches (`requestsUnclippedHost` stops the legacy content row, the
975
+ rich details view with its columns, and the row padding clipping), so the
976
+ history rows' network badges render whole instead of cut flat.
977
+
238
978
  ## Failures, fallback and limits
239
979
 
240
980
  Snapshot validation rejects malformed/duplicate-key input without partial
241
- application. Template field/array bounds and image fallback behavior are defined
981
+ application, through the contained failure behavior above. Development-only
982
+ template field/array bounds and image fallback behavior are defined
242
983
  in [ROW_TEMPLATES.md](ROW_TEMPLATES.md), [README.md](../README.md) and
243
984
  [DESIGN.md](DESIGN.md). This change adds the style surface's limits, defined in
244
985
  [STYLE_SPEC.md](STYLE_SPEC.md) §3.3/§4/§5: numeric bounds, `#RRGGBB`/`#RRGGBBAA`
245
986
  colors (including `listStyle.separator.color`), `groupCornerRadius` `0…40`, and
246
- rejection of any undeclared or unknown nested style key by `validateSnapshot`
247
- and `validatePatches`, where extra keys used to be ignored. It adds no retry
987
+ development-time rejection of undeclared or unknown nested style keys by
988
+ `validateSnapshot` and `validatePatches`. Production renderers ignore unsupported
989
+ style properties while minimum protocol guards remain active. It adds no retry
248
990
  policy or automatic layout correction.
249
991
 
250
992
  ## Performance and resources
@@ -554,6 +1296,76 @@ disposal. Unit checks prove transition semantics, not rendered behavior.
554
1296
 
555
1297
  ## Native media preview probing
556
1298
 
1299
+ ### Persistent first-frame revision — Source implemented; scoped iOS validation
1300
+
1301
+ This revision supersedes the cell-only frame retention, unbounded visible-player
1302
+ count and copy-failure retained-player behavior described in the baseline below.
1303
+ Image owns the native-only preview cache and extraction coordinator defined in
1304
+ its SPEC §6.3; NativeList retains the paused/muted player and view lifecycle.
1305
+ No public descriptor, JavaScript API or Web renderer behavior changes.
1306
+
1307
+ On reaching the video candidate, a visible slot queries permitted decoded memory
1308
+ and then disk before requesting extraction. A hit displays the still frame and
1309
+ creates no AVPlayer/ExoPlayer. Normal image candidates retain their original
1310
+ precedence and image cache; a video-cache hit MUST NOT bypass an earlier image
1311
+ candidate. Cache identity excludes row key and includes URI, canonical headers,
1312
+ bounded pixel tier, schema and capture fit. Recycle drops cell state, not the
1313
+ shared cached frame. Fit, orientation, black/transparent platform letterbox and
1314
+ row-owned tap behavior match a newly captured frame.
1315
+
1316
+ The media descriptor exposes URI, explicit headers, dimensions, fit and cache
1317
+ policy, with no cookie/session management API. Preview identity does not track
1318
+ ambient cookie sessions or automatically invalidate on cookie changes; media
1319
+ that requires that behavior is outside the supported preview-cache contract.
1320
+ Existing AVPlayer/Media3 networking and cookie handling remain unchanged. The
1321
+ cache does not promise that underlying network requests are cookie-free.
1322
+ Detaching an iOS view with no window MUST preserve its last pixel tier and captured
1323
+ still; only a real attached-window scale/layout change can invalidate that tier.
1324
+
1325
+ Slots subscribe only while visible, attached and foreground eligible. They
1326
+ cancel on invisibility, detach, background, recycle or identity/size change and
1327
+ release any owned player immediately. A same-key visible peer may take over;
1328
+ old owner, binding, candidate and player generations cannot attach a frame or
1329
+ complete a newer request. At most two flights extract concurrently, bounded by
1330
+ Image's queue and 10-second grant deadline. The existing six short copy attempts
1331
+ may run, but exhaustion now releases the player and advances/fails the candidate
1332
+ instead of retaining a paused player indefinitely. Success is emitted after a
1333
+ valid still exists, not solely when the player reports its first rendered frame.
1334
+ No failed extraction is cached. Disk-write failure still permits a successful
1335
+ still to display. A cached or newly copied still releases player and viewport
1336
+ observers, and ordinary text-only rebinding retains the current presentation.
1337
+
1338
+ The cache dimensions use actual view pixel size, capped to a 1024-pixel long edge
1339
+ and 1,048,576 pixels with source aspect ratio preserved. Empty layout defers work.
1340
+ iOS retains the CVPixelBuffer for bounded background CI conversion rather than
1341
+ building a full-resolution UIImage on the UI thread. Android performs a bounded
1342
+ TextureView copy on the UI thread and background encoding; its cached presentation
1343
+ must restore the aspect-ratio container after reuse. Source headers and URL/query
1344
+ text are not written into cache filenames, metadata or logs.
1345
+
1346
+ The production iOS video slot passed 14 simulator checks with a real H.264 MP4,
1347
+ including cold capture/player release, cross-cell/recycled memory reuse, disk
1348
+ reuse after memory clear and a layout-tier resize. Its harness substitutes only
1349
+ the unused image-candidate host; image-to-video fallback and full-app integration
1350
+ were not exercised. Android runtime and physical-device performance remain
1351
+ pending. The complete acceptance matrix adds warm cross-cell/recycled hits with
1352
+ zero new players, disk hits after memory clear and process restart, same-source
1353
+ deduplication, owner cancellation/transfer, concurrency and timeout bounds,
1354
+ clear-generation races, corrupt entry repair and all existing probing/lifecycle
1355
+ cases. Native tests and simulator evidence cannot establish device FPS or memory
1356
+ improvement; those require workload-specific measurements on target devices.
1357
+
1358
+ The final Android slot, including deferred Media3 error release, compiled in the
1359
+ consumer's normal native build and final incremental APK. Matching SDK/consumer
1360
+ source hashes and APK provenance were checked, and the App visibly started on
1361
+ the isolated emulator. This is build/startup acceptance, not Android video-frame
1362
+ or complete Home NFT route acceptance. A temporary Home probe lacked account
1363
+ context; a later diagnostic Dialog had an unexplained black capture. Neither is
1364
+ recorded as a passing NFT visual case. Further scrolling, frame-cache and
1365
+ memory/performance measurements are outside this PR's recorded acceptance scope.
1366
+
1367
+ ### Baseline before the persistent first-frame revision
1368
+
557
1369
  Status: Source implemented; native runtime acceptance pending. `mediaTile.media`
558
1370
  is an opt-in native-only preview descriptor: `{ source: ImageSource, probeOrder:
559
1371
  ('image' | 'video')[] }`. The order contains one or two distinct candidates.
@@ -617,6 +1429,49 @@ leaked audio/player resources. Static API checks do not prove these cases.
617
1429
 
618
1430
  ## Native container slots (source implementation, runtime verification pending)
619
1431
 
1432
+ ### Optional scrolling sidecar (source implemented; native runtime verification pending)
1433
+
1434
+ `listSidecar` and `sidecarLayout: { width, gap, maxContentWidth }` are an
1435
+ optional pair for a vertical linear list. Omission preserves the existing
1436
+ single-column layout. All three values are finite non-negative logical pixels;
1437
+ `width` and `maxContentWidth` must be positive and `width + gap` must be less
1438
+ than `maxContentWidth`. The list remains the sole scroll owner. At viewport
1439
+ width `V`, the content band is centered with width `min(V, maxContentWidth)`;
1440
+ the sidecar occupies the logical end `width`, separated from the logical start
1441
+ data/slot column by `gap`. In RTL the sidecar is physically left and the list
1442
+ is physically right. Header, rows, empty slot and footer use the start column. The sidecar
1443
+ starts at the content top, scrolls on the same native frame as rows, and may
1444
+ contain interactive React content. Its root is retained until Fabric unmount;
1445
+ it does not become a row, affect row keys, indices, selection or prefetch. The
1446
+ left RecyclerView/UICollectionView still lays out only viewport-near rows.
1447
+
1448
+ The scrolling extent is at least the greater of the left column including its
1449
+ footer and the sidecar's measured bottom. A taller sidecar extends the tail
1450
+ after the left footer; it must not push that footer below its normal position.
1451
+ `scrollToEnd`, refresh and structural transition offset clamping use this
1452
+ combined extent. A sidecar height or breakpoint change preserves an in-range
1453
+ offset; an out-of-range offset is clamped by the existing shrink correction.
1454
+ Rapid row transitions retain their existing one-shot id and anchor semantics.
1455
+ Native sidecar position follows the native scroll offset directly, without a
1456
+ per-frame JS bridge. A drag beginning over interactive sidecar content must
1457
+ still scroll the same list; taps retain the content's own actions.
1458
+ 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
1459
+ coordinates. On Android the narrow overlay follows the RecyclerView's measured
1460
+ logical offset; after a vertical touch slop it cancels the React press and
1461
+ forwards the original touch stream to the list's SwipeRefreshLayout. The
1462
+ Android tail spacer derives from explicit/measured row and slot extents, not
1463
+ RecyclerView's variable-height scrollbar estimate.
1464
+
1465
+ Web uses the same measured two-column geometry inside its current owned or
1466
+ explicit external scroll host, with DOM virtualization limited to the left
1467
+ rows; the sidecar is a single React slot. Callers already placing a Web sidebar
1468
+ as a sibling may omit the new pair there. Horizontal/grid configurations with
1469
+ a sidecar are rejected. Acceptance requires iOS and Android wide Home scrolling,
1470
+ right-column drag and action, short/empty assets, collapse animation while
1471
+ scrolled, refresh, resize across the breakpoint without list remount, and
1472
+ thousands of rows remaining bounded to the native recycler viewport. Source,
1473
+ type and unit checks alone do not establish device acceptance.
1474
+
620
1475
  `listHeader`, `listEmpty` and `listFooter` accept React nodes on iOS and Android
621
1476
  vertical lists only. They are optional and default to absent. They are common
622
1477
  container capabilities, not row templates, and MUST NOT be used for per-item
@@ -643,9 +1498,10 @@ width React lays it out at. Android's narrow-screen row scale and section-index
643
1498
  apply to data rows only. Slot React trees own their internal layout and
644
1499
  business actions; NativeList owns their scroll placement and lifecycle.
645
1500
 
646
- The wrapper mounts exactly three non-collapsible slot roots and reports measured
647
- heights through `containerSlotHeightsJson` in header/empty/footer order. Native
648
- validates three finite, non-negative heights. Slot updates MUST NOT alter data-row
1501
+ The wrapper mounts four non-collapsible slot roots and reports measured
1502
+ heights through `containerSlotHeightsJson` in header/empty/footer/sidecar order.
1503
+ The sidecar root has zero reserved height when absent. Native validates four
1504
+ finite, non-negative heights. Slot updates MUST NOT alter data-row
649
1505
  keys or public row indices. No per-scroll-frame JS position updates are used.
650
1506
  iOS mounts each slot root inside a list-owned host view in UICollectionView and
651
1507
  reserves native layout space. The host owns the slot's vertical position and clips to
@@ -656,6 +1512,102 @@ data adapter; adapter binding indices stay local while layout-manager positions
656
1512
  are explicitly translated. Slots span all grid columns, do not select/reorder,
657
1513
  and do not emit row actions, visible-row indices, or image-prefetch work.
658
1514
 
1515
+ ### Disclosure slots and settlement (source implemented; limited runtime verification)
1516
+
1517
+ Native callers may opt in with `snapshot.disclosure: { expanded: boolean,
1518
+ expandedTrailingInset?: number }`, `listExpandedContent`, and
1519
+ `listStructureToggle`. `expanded` is the accepted target state independent of
1520
+ row count, the expanded slot's measured height, and the one-shot structural
1521
+ transition command. `expandedTrailingInset` defaults to zero and must be a
1522
+ finite, non-negative number of logical pixels. Without `disclosure`, the
1523
+ existing four-slot and structural-transition behavior is unchanged. On Web,
1524
+ `C` and `T` occupy the existing single React footer band after the list rows,
1525
+ followed by the expanded trailing inset and the caller's footer `F`. `C` is
1526
+ mounted on first expansion and may remain mounted for that scope after collapse.
1527
+ Without an accepted `disclosure`, supplied `C` and `T` are hidden and inert.
1528
+ At the collapsed endpoint `C` has zero layout height and is hidden from pointer,
1529
+ keyboard, and accessibility interaction; `T` remains mounted and interactive
1530
+ through rapid reversals. Web does not use the native settlement callback to
1531
+ release `C`. The Web engine continues to measure that one footer band and to
1532
+ own its existing structural-tail animation and external scroll-host correction;
1533
+ its per-frame presentation need not match the native clip geometry. Desktop
1534
+ and extension retain their existing structural presentation.
1535
+
1536
+ The native slot order is 0 header, 1 empty, 2 existing footer `F`, 3 sidecar,
1537
+ 4 expanded content `C`, and 5 stable structure toggle `T`; the optional iOS
1538
+ top overlay follows at index 6. The native wrapper reports six measured slot
1539
+ heights in that order. This slot-index ABI requires the package's JavaScript
1540
+ wrapper and native binary to be integrated from the same version; the new
1541
+ native host does not reinterpret an old four-slot wrapper's index 4 as an
1542
+ overlay. The disclosure layout in the left list column is data
1543
+ rows `R`, then `C`, then `T`, then a native trailing inset `I`, then the one
1544
+ existing `F`. `F` is never duplicated as retiring presentation. `T` retains
1545
+ one React instance and a stable measured height while its text changes, and
1546
+ remains interactive during a transition so a tap can reverse it. `C` is
1547
+ measured after mounting for expansion. On collapse the caller retains that
1548
+ same React instance until the newest collapsed settlement callback, after
1549
+ which it may unmount it. Its measured root keeps its natural height; native
1550
+ clipping, not a React height animation, controls the visible portion. `I` is
1551
+ `expandedTrailingInset` at the expanded endpoint and zero at the collapsed
1552
+ endpoint. The native display-link/animator updates the visible `R` suffix,
1553
+ `C`, `T` position, `I`, `F` position, scroll offset, and sidecar-aware extent
1554
+ on one UI-thread timeline. No per-frame JavaScript command is required.
1555
+ The wrapper may mount `C` and `T` before delivering a new structural snapshot;
1556
+ the previous accepted snapshot continues to own the list during this short
1557
+ preparation. For that new command only, the wrapper waits for the current
1558
+ instances of both slot roots to report their first layout, including a genuine
1559
+ zero-height layout, then delivers the complete snapshot once. A numeric zero
1560
+ height without a layout event is not proof that a newly mounted `C` is ready.
1561
+ A newer pending id replaces an older one; no stale prepared command may be
1562
+ delivered later. Initial snapshots and same-id content updates do not wait.
1563
+ Native applies the measured slot heights and the complete pending snapshot in
1564
+ one ordered main-thread update, with heights first, regardless of which Nitro
1565
+ property setter ran first in that React commit. It must not reveal `C` or emit
1566
+ a settlement callback between those two values.
1567
+
1568
+ All retiring or newly revealed row suffix is inert and excluded from
1569
+ accessibility, selection, row actions, visible-range, and end-reached events.
1570
+ The whole `C` slot is inert and accessibility-hidden while preparing,
1571
+ animating, or settled collapsed; it becomes interactive and accessible only
1572
+ after the expanded endpoint settles. The visible part of `T` remains
1573
+ hit-testable throughout so a tap can reverse the transition. Native
1574
+ must not infer the target from product-specific row counts or toggle text.
1575
+ An initially expanded snapshot and a same-transition-id content or price
1576
+ update use `disclosure.expanded` without starting or re-acknowledging a
1577
+ structural transition. An initial collapsed snapshot may omit or mount an
1578
+ empty `C` root; later collapse keeps its mounted instance through settlement.
1579
+
1580
+ For each newly consumed `structuralTransition.id` with `disclosure`, native
1581
+ emits `onStructuralTransitionSettled` once for the latest non-superseded id
1582
+ when a listener is registered. Without a listener, native still settles the
1583
+ command and releases its pending transition state, but does not serialize or
1584
+ cross the callback boundary. Adding or replacing a listener does not replay a
1585
+ settled id; removing it stops delivery for subsequent settlements. The caller
1586
+ may keep `C` mounted after settlement; native still controls its visibility,
1587
+ interaction, and accessibility. The callback carries JSON
1588
+ `{ transitionId: string, status: 'completed' | 'interrupted',
1589
+ settledExpanded: boolean }`. `settledExpanded` describes the accepted target
1590
+ after native geometry and scroll ownership have reached that state, never a
1591
+ guess from measured `C` height. Natural animation completion, reduced motion,
1592
+ zero duration, and a new id with unchanged or empty row keys that settles
1593
+ directly report `completed`. Drag, explicit scrolling, resize, or unsupported
1594
+ geometry atomically commit the accepted target and report `interrupted` after
1595
+ temporary presentation and scroll ownership have been released. A newer id
1596
+ replaces the previous command from current presentation geometry: the older
1597
+ id must not complete late or force its former target before the newer one.
1598
+ The caller guards the callback by its latest id and current list/account/network
1599
+ owner; a matching numeric id from a prior owner must not unmount current `C`.
1600
+ An accepted row patch while a direct disclosure commit is pending MUST preserve
1601
+ that command's settlement ownership. If the patch supersedes the pending list
1602
+ submission, its committed callback settles the current non-superseded id after
1603
+ layout and any pending collapsed-toggle positioning, exactly once. It MUST NOT
1604
+ leave callers waiting for a discarded list callback.
1605
+ An already settled id
1606
+ does not re-emit on a same-id patch. Disposal drops the callback with its
1607
+ owner. An unsupported or immediately settled new id must still acknowledge
1608
+ when a listener is registered; otherwise a caller could retain `C`
1609
+ indefinitely after collapse.
1610
+
659
1611
  On Android, mounting/unmounting a slot or changing its actual rounded native
660
1612
  height MUST request one coalesced RecyclerView measurement/layout repair. The
661
1613
  repair runs after the current layout completes and only with a positive viewport
@@ -666,7 +1618,8 @@ request another repair. This leaves Fabric-owned slot content and row indices
666
1618
  unchanged; source checks alone do not establish first-layout visibility.
667
1619
 
668
1620
  Fabric mount/unmount ownership remains explicit even when RecyclerView detaches a
669
- slot holder. The native manager retains at most three roots until Fabric unmount;
1621
+ slot holder. The new native wrapper retains six scrolling roots until Fabric unmount
1622
+ (plus the independent optional fixed top overlay);
670
1623
  recycling detaches slot content without disposing its React tree. Unmount removes
671
1624
  that exact view. Native list disposal MUST NOT dispatch pending row/slot events.
672
1625
  The generated Nitro 0.37 leaf managers require deterministic child-forwarding
@@ -715,16 +1668,41 @@ applied inset and remains valid while that inset is retained across detach.
715
1668
 
716
1669
  ## Native rich activity presentation
717
1670
 
1671
+ Status: Source implemented for `ActivityRow.hideLeading`. Web DOM tests cover
1672
+ both Activity paths, Android production renderer instrumentation covers
1673
+ same-view rebinds, and the iOS NativeListModule arm64 Simulator target builds.
1674
+ iOS runtime acceptance remains pending. Optional `hideLeading: true` suppresses
1675
+ the activity row's main leading visual, its accessibility content, and the entire visual width and
1676
+ following gap. The title, description, status, amounts, fee, and footer actions
1677
+ retain their normal semantics; footer actions align with the title region rather
1678
+ than a reserved visual slot. `leading` remains required in the row model and is
1679
+ still validated. Omitted or `false` preserves the existing layout and image
1680
+ behavior. The field must be a boolean in snapshots and patches; an omitted patch
1681
+ field preserves the current value. A full snapshot or patch changing
1682
+ `hideLeading` rebinds the visual and layout in both legacy and rich Activity
1683
+ presentations, including key reuse. Hidden visuals do not start image requests;
1684
+ rebinding to `false` may load the current image. Recycling and late image
1685
+ callbacks must not restore a hidden visual or leave hidden layout/accessibility
1686
+ state on a later visible row. This contract applies on iOS, Android, and Web.
1687
+ The Android instrumentation uses icon visuals to verify layout, action alignment
1688
+ and amount preservation. Late image completion is guarded by the existing
1689
+ image-slot recycle epoch; a hide-during-image-load device case remains unverified.
1690
+
718
1691
  Status: Source implemented; native runtime acceptance pending. Optional `amounts`
719
- supersedes legacy `primaryAmount`/`secondaryAmount` only on native. It accepts at
1692
+ supersedes legacy `primaryAmount`/`secondaryAmount` in rich Activity rows. It accepts at
720
1693
  most 32 keyed lines, each with formatted text, optional leading visual, tone,
721
1694
  secondary text and subscript text segments. Segments are caller-formatted and
722
1695
  never interpreted as numbers by NativeList. Omission preserves the legacy tree.
723
1696
 
724
1697
  `presentation: stacked` places the amount lines after the identity column and
725
- right-aligns them; `table` uses equal identity/amount columns, left-aligns amount
726
- lines and adds an optional trailing fee column. Fee supports label, primary and
727
- secondary text with their own segments; `hidden` preserves its column width
1698
+ right-aligns them. In `table`, the identity column includes its leading visual
1699
+ and gap; identity, amounts and an optional fee use stable widths in the ratio
1700
+ `1:1:0.6` after inter-column gaps. Without fee, identity and amounts split the
1701
+ remaining width equally. Amount content stays start-aligned within its column;
1702
+ native fee content stays end-aligned; Web retains its existing start alignment.
1703
+ Fee text length and leading visibility cannot move the amount column. These
1704
+ native widths match the existing Web table layout. Fee supports label, primary
1705
+ and secondary text with their own segments; `hidden` preserves its column width
728
1706
  while hiding its contents. Up to four uniquely keyed title badges use declared
729
1707
  tones. `descriptionActionKey` makes only the description emit that action with
730
1708
  source `description`; footer actions retain their existing source/keys and
@@ -745,6 +1723,15 @@ baseline, matching NumberSizeableText), badge tone/clear, hidden fee, disabled
745
1723
  actions, description anchors, dark/RTL/font scaling and explicit/automatic height.
746
1724
 
747
1725
 
1726
+ Table regression acceptance additionally measures amount-column start, width and
1727
+ center across short/long/hidden fee, leading visibility, 1/2/6/32 amount lines and
1728
+ table/stacked reuse. Android DataRow primary and secondary groups honor their
1729
+ resolved text-role alignment (role style first, then column alignment), including
1730
+ start/center/end and styled/unstyled reuse. The secondary-prefix gap is present
1731
+ only when that prefix is visible; legacy linear rendering is unchanged. The UIKit
1732
+ regression explicitly forces each renderer view's direction; React Native/Fabric
1733
+ host direction propagation and real App RTL remain unverified.
1734
+
748
1735
  ### Android ancestor scroll distance
749
1736
 
750
1737
  Threshold hysteresis combines the primary RecyclerView's actual consumed scroll
@@ -922,6 +1909,51 @@ row/presentation recycling, strict validation, native dictionary safe-ignore,
922
1909
  header/body geometry, 100 quote ticks preserving nodes with zero geometry reads,
923
1910
  then a real complex Market table before expanding to all five families.
924
1911
 
1912
+ ### Native Market metric columns
1913
+
1914
+ Status: implemented in local source, unreleased; native runtime verification
1915
+ pending. A `market` row may supply two or three ordered, uniquely
1916
+ keyed text columns through `metrics`, typed as a `Pick<DataColumn, ...>` of
1917
+ the supported text fields. Each column uses
1918
+ the text subset of `DataColumn`: key, primary text and segments, optional
1919
+ secondary text and segments, weight, alignment, and primary/secondary tone.
1920
+ Icon and secondary-leading fields are rejected in development and stripped by
1921
+ the existing production decoration sanitizer.
1922
+ Keys are nonempty and callers format all text. The row keeps its required
1923
+ `price` and `change` fields as compact fallbacks. When `metrics` is present,
1924
+ iOS and Android display the existing leading action, visual, title, subtitle,
1925
+ and Market badges, then the metric columns in place of the compact price and
1926
+ change block. The metrics are authoritative for this native presentation; the
1927
+ SDK does not infer their values from the fallback fields or product data.
1928
+ The default native accessibility label includes the title and subtitle followed
1929
+ by the displayed metric text, primary then secondary, in column order. It
1930
+ updates with each quote. An explicit row accessibility label takes precedence.
1931
+ The metrics use their own text tones and alignment, with both lines aligned
1932
+ the same way; omitted alignment defaults to `end`. Existing change block
1933
+ width, height, and corner radius do not
1934
+ apply to metric columns. The title content receives a relative weight of two;
1935
+ metric columns receive their declared `weight` (1...3, default one) after the
1936
+ row's existing action, visual, padding, and gaps take their space. The SDK
1937
+ does not choose a mode from screen width. Without `metrics`, all platforms
1938
+ retain their existing compact Market presentation. Web ignores `metrics` and
1939
+ continues using `webTable` when supplied.
1940
+
1941
+ Metric values travel in the existing row snapshot JSON and do not change the
1942
+ Nitro ABI, row key, action keys, badge anchors, or scroll ownership. Full
1943
+ snapshots may add, replace, or omit `metrics`; omission restores compact mode.
1944
+ An explicit patch with a valid two- or three-column array replaces metrics,
1945
+ while an omitted patch field leaves them unchanged. A full snapshot is used
1946
+ to remove metrics from a wide row; this contract adds no null patch meaning.
1947
+ Binding and recycling clear inactive metric and compact views in both
1948
+ directions, including changes between two and three columns, so reused rows
1949
+ cannot show stale text or targets. Metric fields contain no new action target;
1950
+ Market badge, leading action, press, press-in, and long-press behavior remains
1951
+ owned by the existing Market row. Conformance requires validation and patch
1952
+ tests, native bind/reuse and action-anchor checks, then consuming App device
1953
+ checks at narrow and wide list widths. Source and unit tests alone do not
1954
+ establish native layout acceptance.
1955
+
1956
+
925
1957
 
926
1958
  ### Web grid fractional column geometry
927
1959
 
@@ -953,6 +1985,11 @@ matching the consumer's existing finite logo group. Geometry/badge/image changes
953
1985
  use normal rebind and release replaced image leases; price-only updates retain
954
1986
  these nodes. No native caller emits these Web-only fields.
955
1987
 
1988
+ Web gallery media follows the shared input precedence: media wins over image,
1989
+ unless an explicit empty/error imageState suppresses media probing. An empty/error
1990
+ gallery without either source retains the gallery fallback surface when
1991
+ imageState explicitly selects that state.
1992
+
956
1993
  Web gallery media preserves the consuming NFT card presentation: healthy image
957
1994
  and exhausted fallback surfaces have a10px radius, while a healthy video surface
958
1995
  has square corners. The image/video frame uses the list page background; only
@@ -1008,8 +2045,9 @@ sources without changing default native mapper output.
1008
2045
 
1009
2046
  ImageSource.fallbackUris is an optional Web-only ordered continuation after uri.
1010
2047
  It retains the complete caller-provided sequence (no truncation or deduplication).
1011
- An empty/unusable continuation terminates in the declared visual fallback, like
1012
- an empty current source in the existing Web Image.WithFallbackSources. Each URI
2048
+ Empty or unusable continuation entries are skipped in order until a usable URI
2049
+ is found or the complete sequence is exhausted. Exhaustion reaches the declared
2050
+ visual fallback. Skipped entries consume no retry budget; each usable URI
1013
2051
  uses its declared retryTimes before proceeding; Market Web callers pass the
1014
2052
  existing ImageV2 default of one retry per source. This array path does not change
1015
2053
  legacy fallbackUri switching/retry order when fallbackUris is absent. Native
@@ -1121,6 +2159,23 @@ logo groups retain their4px gap and overlap geometry. No other text-part gaps
1121
2159
  change. Regression acceptance includes Dark/Light recycled visuals, preserved
1122
2160
  network overlays, independent copy actions and Stock hover group spacing.
1123
2161
 
2162
+ For token visuals in Web/Electron Market tables, changing only `overlays` MUST
2163
+ retain the main image frame, its loaded/error visibility and pending image
2164
+ callbacks. Removed overlay images release their pending work. Changes to the
2165
+ main image descriptor or other leading-visual fields keep the existing full
2166
+ rebind behavior. This is a Web renderer lifecycle rule; it changes neither the
2167
+ snapshot schema nor the iOS/Android implementations. Acceptance covers adding,
2168
+ replacing and removing overlays before and after image load/failure, including
2169
+ consumer row-key changes, and replacing the main image source. Overlay-only
2170
+ updates MUST retain the existing circular bitmap clipping of padded square
2171
+ badges and their caller-provided geometry.
2172
+ Status: implemented on the 6.7.0-alpha.402 publication source. Package DOM
2173
+ regressions, the built-module Chromium lifecycle fixture and consuming Electron
2174
+ refresh/navigation badge rendering are verified. Consuming Electron acceptance
2175
+ also covers a manually locked refresh, user password unlock, first Market entry
2176
+ and a complete quote polling cycle. No native implementation or public API
2177
+ changes are included.
2178
+
1124
2179
  Gallery collection subtitles retain an 8px trailing text inset whether or not
1125
2180
  a network thumbnail is present. The subtitle uses border-box sizing and its row
1126
2181
  has no extra gap, preserving the same 8px separation with a thumbnail and the
@@ -1177,3 +2232,105 @@ listener on destroy. It measures the new content origin before Pager restores
1177
2232
  its C+B offset; a later ResizeObserver must not add that inset a second time.
1178
2233
  Ordinary subsequent slot-height changes retain the existing content-anchor
1179
2234
  compensation. Standalone lists continue listening on their own viewport.
2235
+
2236
+ ### Web History retained visual binding
2237
+
2238
+ Implemented contract: same-source History visuals retain their image, placeholder
2239
+ and corner nodes while image styles or table/stacked presentation change. Every
2240
+ bind restores the factory geometry and applies the current image style and
2241
+ presentation, including clearing omitted radius/contentFit/shape overrides.
2242
+ Presentation wrapper changes move the existing nodes and preserve asynchronous
2243
+ loading/error visibility; they do not recreate or reload an unchanged source.
2244
+ Changing the source set retains the existing rebuild/disposal behavior.
2245
+
2246
+ ## Opt-in structural snapshot transition (Home assets)
2247
+
2248
+ `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.
2249
+
2250
+ 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.
2251
+
2252
+ 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.
2253
+
2254
+ 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.
2255
+
2256
+ 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.
2257
+
2258
+ `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.
2259
+
2260
+ `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.
2261
+
2262
+ `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.
2263
+
2264
+ `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.
2265
+
2266
+ ### Web slot-list scroll ownership
2267
+
2268
+ When container slots create an owned Web scroll host without `webScrollHost`,
2269
+ that actual host exposes the existing `data-collapsible-pager-scroll` marker.
2270
+ A containing Web pager therefore applies insets, collapse/top commands and route
2271
+ restoration to the owned host, with slot content as its padding target. The
2272
+ ordinary no-slot viewport and explicit external-host paths keep their existing
2273
+ ownership; no Pager dependency or new API is required.
2274
+
2275
+ ### Shared icon recoloring revision — Implemented; scoped runtime acceptance
2276
+
2277
+ Android named glyph slots consume image's typed immutable shape-cache results:
2278
+ compatible fixed/single/same-alpha multiple colors update per-view tint without a
2279
+ request; new alpha or mixed-color raster requests preserve the last successful
2280
+ same-source/geometry bitmap until completion. Name/geometry changes, invalid,
2281
+ hidden/detach/recycle clear immediately and revisions reject old callbacks.
2282
+ Circle remains local; checkbox rectangles and icon coverage are unchanged.
2283
+ Android non-square named glyphs use the aspect-fit geometry defined above.
2284
+ iOS retains its existing black template/original request and synchronous retint.
2285
+ Web React and DOM use the image package's demand-loaded external per-icon symbol
2286
+ URLs, with existing coverage/aliases/action labels and CSS color inheritance.
2287
+
2288
+ ## Host-owned named resources — Implemented; SDK fixture runtime verified
2289
+
2290
+ Image provides decoding and the static Web `#onekey-icon-assets` provider boundary;
2291
+ the application owns complete named SVG resources. NativeList keeps its existing
2292
+ 43-name platform coverage and three generated metadata tables, including its
2293
+ legacy `BadgeVerifiedSolid` to canonical `BadgeRecognizedSolid` mapping. No list
2294
+ props, naming coverage or rendering strategy changes. Android non-square glyph
2295
+ geometry follows the aspect-fit contract above.
2296
+
2297
+ The SDK metadata generator validates against the shared 63-sample example/test
2298
+ catalog without an App checkout, including raw source digests and viewBox sizes.
2299
+ It emits metadata only. Production consumers must supply the complete host icon
2300
+ bundle/assets and Web provider; SDK-only fixture tests prove their closed sample
2301
+ coverage, while the App's independent generator verifies all 1,909 resources.
2302
+
2303
+ ## Public host-ref types
2304
+
2305
+ `webSectionIndexContainerRef` continues to derive its host instance from
2306
+ `React.ElementRef<typeof View>` with the existing nullable `RefObject` shape.
2307
+ The main integration preserves this existing declaration boundary without a
2308
+ private type import, extra compatibility layer or consumer declaration patch.
2309
+ Fresh normal package prepare/typecheck passed with RN 0.88/React 19.3; an isolated
2310
+ copy of the current sources passed a normal RN 0.86.2 declaration build.
2311
+ Actual View-ref positive/negative fixtures passed on both versions, with RN 0.88
2312
+ bidirectional compatibility against public `ViewInstance`. This is type-only:
2313
+ emitted JavaScript, native schemas, props and list behavior are unchanged by
2314
+ this ref declaration. Independent main-branch Web renderer changes and consumer
2315
+ runtime acceptance remain separately scoped.
2316
+
2317
+
2318
+ ## Registry consumer integration (2026-11-05)
2319
+
2320
+ Preview alpha.449 from source `76834daf9` was normally installed together with
2321
+ Pager; all 330 installed NativeList files match its verified registry tarball.
2322
+ The published runtime includes main's Web identity-row layout and iOS empty
2323
+ accessory constraint changes; the earlier types-only overlay is historical.
2324
+ New iOS source/object/built/installed binary hashes bind this Swift renderer.
2325
+ The existing App account-selector rows were opened and closed without importing
2326
+ accounts or editing the independent consumer WIP. This is row integration
2327
+ coverage; ellipsis accessory rows do not prove the empty-accessory branch.
2328
+ SDK iOS CI independently passed the empty-trailing, rebind and spinner layout
2329
+ cases. Actual Web Recipient auto-height rows and the installed public fixture's
2330
+ scale/width/long-word/same-DOM reuse checks were separately exercised. External
2331
+ notification/image/postinstall warnings and other prior limits remain recorded.
2332
+
2333
+ Internal Pod edges use unversioned CocoaPods dependencies, matching the npm
2334
+ internal `*` policy while retaining external constraints. Real specification
2335
+ readback is `>= 0`; normal SDK example and consumer Pod installs passed. This
2336
+ does not retroactively make alpha.445's invalid `*` Pod requirement usable.