@onekeyfe/react-native-native-list 6.7.0-alpha.327 → 6.7.0-alpha.336

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 (33) hide show
  1. package/docs/SPEC.md +390 -9
  2. package/lib/module/NativeList.js +2 -0
  3. package/lib/module/NativeList.web.js +140 -29
  4. package/lib/module/validation.js +143 -34
  5. package/lib/module/web/NativeListWebEngine.js +356 -62
  6. package/lib/module/web/templates/ActivityRowRenderer.js +484 -5
  7. package/lib/module/web/templates/MarketRowRenderer.js +8 -3
  8. package/lib/module/web/templates/MarketTableRowRenderer.js +577 -0
  9. package/lib/module/web/templates/MediaTileRowRenderer.js +260 -5
  10. package/lib/module/web/templates/RowRendererRegistry.js +5 -3
  11. package/lib/module/web/templates/SectionHeaderRowRenderer.js +34 -1
  12. package/lib/typescript/src/NativeList.types.d.ts +11 -1
  13. package/lib/typescript/src/NativeList.web.d.ts +2 -2
  14. package/lib/typescript/src/models.d.ts +71 -1
  15. package/lib/typescript/src/web/NativeListWebEngine.d.ts +26 -1
  16. package/lib/typescript/src/web/templates/ActivityRowRenderer.d.ts +3 -3
  17. package/lib/typescript/src/web/templates/MarketTableRowRenderer.d.ts +17 -0
  18. package/lib/typescript/src/web/templates/MediaTileRowRenderer.d.ts +3 -3
  19. package/lib/typescript/src/web/templates/MessageRowRenderer.d.ts +1 -1
  20. package/lib/typescript/src/web/templates/RowRendererRegistry.d.ts +3 -1
  21. package/package.json +3 -3
  22. package/src/NativeList.tsx +2 -0
  23. package/src/NativeList.types.ts +12 -1
  24. package/src/NativeList.web.tsx +191 -38
  25. package/src/models.ts +93 -0
  26. package/src/validation.ts +348 -58
  27. package/src/web/NativeListWebEngine.ts +603 -95
  28. package/src/web/templates/ActivityRowRenderer.ts +723 -7
  29. package/src/web/templates/MarketRowRenderer.ts +19 -3
  30. package/src/web/templates/MarketTableRowRenderer.ts +755 -0
  31. package/src/web/templates/MediaTileRowRenderer.ts +313 -5
  32. package/src/web/templates/RowRendererRegistry.ts +10 -5
  33. package/src/web/templates/SectionHeaderRowRenderer.ts +42 -1
package/docs/SPEC.md CHANGED
@@ -7,7 +7,7 @@ architecture and runtime evidence.
7
7
  ## Purpose and non-goals
8
8
 
9
9
  NativeList renders bounded data with fixed row templates on iOS, Android and
10
- Web. Data rows do not render arbitrary React children. Native-only named container slots
10
+ Web. Data rows do not render arbitrary React children. Named container slots
11
11
  may render React chrome outside the data-row stream. Integrators own overflow
12
12
  prevention; there is no automatic fitting or shrinking pass.
13
13
 
@@ -119,8 +119,9 @@ and does not create a separate accessibility target. Clearing the field, full
119
119
  rebind, recycling and disposal stop and hide the indicator; detached native views do
120
120
  not keep a visible animation. The History template's minimum content height
121
121
  increases from 16 to 20 points while loading. Explicit caller row/container
122
- heights still take precedence and must fit their padding. Web does not render
123
- this new native-only indicator; its existing section presentation is unchanged.
122
+ heights still take precedence and must fit their padding. Web History also
123
+ consumes titleLoading, using its existing section-slot geometry and the Web
124
+ History presentation described below.
124
125
 
125
126
  Acceptance requires loading → idle → loading reuse, title color updates and
126
127
  detachment on each native platform. A title's localized confirming text remains
@@ -558,8 +559,8 @@ is an opt-in native-only preview descriptor: `{ source: ImageSource, probeOrder:
558
559
  ('image' | 'video')[] }`. The order contains one or two distinct candidates.
559
560
  The caller supplies the order; the renderer never guesses asset semantics.
560
561
  When provided, media takes precedence over `image`, unless `imageState` is
561
- explicitly empty/error. Web keeps its existing `image` behavior; native callers
562
- that also target Web must supply that existing image independently.
562
+ explicitly empty/error. Web gallery media probing follows the separate Web migration contract below;
563
+ legacy Web image-only tiles retain their existing behavior.
563
564
 
564
565
  Image uses the shared OneKeyImage lifecycle. Video uses a paused, muted AVPlayer
565
566
  on iOS and Media3 ExoPlayer on Android, preserving the native Video source
@@ -619,8 +620,8 @@ leaked audio/player resources. Static API checks do not prove these cases.
619
620
  `listHeader`, `listEmpty` and `listFooter` accept React nodes on iOS and Android
620
621
  vertical lists only. They are optional and default to absent. They are common
621
622
  container capabilities, not row templates, and MUST NOT be used for per-item
622
- rendering. Horizontal orientation with any supplied slot is rejected. Web ignores
623
- these new native-only props; existing Web lists and callers retain their behavior.
623
+ rendering. Horizontal orientation with any supplied slot is rejected. Web container slots follow the separate Web parent-scrolling contract below;
624
+ the native placement and lifecycle described in this section remain unchanged.
624
625
 
625
626
  The order is header, data rows (or empty slot when there are no data rows), footer.
626
627
  On iOS, after the laid-out vertical content shrinks, an offset beyond the new
@@ -735,8 +736,8 @@ visible title/description/status lines, the description measured at the identity
735
736
  column's actual width (stacked or table, including the fee column), fee height and the
736
737
  footer-action button height. Android sizes the row to its content. The existing height override contract still applies. RTL follows
737
738
  semantic leading/trailing anchors. Clearing rich fields returns to the legacy
738
- renderer, and removing amount lines recycles their visual slots. Web rendering
739
- remains unchanged; rich fields are native-only until a separate Web migration.
739
+ renderer, and removing amount lines recycles their visual slots. Web rich presentation follows the separate Web migration contract below;
740
+ legacy Activity rows without rich fields retain their existing behavior.
740
741
 
741
742
  Acceptance: 1/2/6/32 lines, changed keys/order, paired icons and network overlays,
742
743
  small-number segments in amounts/fiat/fee (ceil(0.6 × parent font size), unchanged
@@ -821,3 +822,383 @@ The consumer Gradle project compiles the actual NativeListView and passes all
821
822
  seven Kotlin alignment tests; SwiftPM compiles the shipping helper and passes
822
823
  all seven geometry tests. These are local unit/build checks, not a new
823
824
  combined-package application or physical-device acceptance run.
825
+
826
+
827
+ ## Web parent scrolling and React container slots
828
+
829
+ Status: implemented. Focused DOM/wrapper tests and controlled consuming
830
+ Home/Market Web and Electron checks cover parent ownership, slots, host
831
+ replacement, hidden tabs, and the migrated touch/reorder interactions. These
832
+ checks do not establish native runtime or complete performance acceptance.
833
+
834
+ `webScrollHost` is Web-only: omitted preserves the existing owned viewport;
835
+ `null` defers initialization until the parent host is ready; an element opts
836
+ into that explicit parent as the sole vertical scroll owner. `webStickyInset`
837
+ is a non-negative finite CSS-pixel inset, default zero. Native ignores both.
838
+ External horizontal list orientation is rejected. The host is never inferred
839
+ from class names. Its replacement disposes the old engine and exact observers,
840
+ listeners, pending commands and anchors before the next host is attached.
841
+
842
+ On Web, listHeader/listEmpty/listFooter are React-owned siblings around the
843
+ engine-owned row host. They remain normal scrolling content, never row models;
844
+ empty replaces the body only when there are no rows. listEmpty takes precedence
845
+ over snapshot.emptyState. Grid slots span the list's complete width and reserve
846
+ their actual intrinsic height. The wrapper owns an internal scroll viewport when
847
+ slots are used without an external parent; the slot-free internal path retains
848
+ its existing structure. No ReactDOM dependency or arbitrary row children exist.
849
+
850
+ The engine reads list-local width, row-host origin, host viewport intersection,
851
+ sticky inset and complete wrapper bounds together. Row-index/key scrolling is
852
+ relative to the data body; scrollToOffset starts at the complete container,
853
+ including its header, and scrollToEnd includes the final footer. End reached
854
+ is based on visible data-row indices, before footer content, as existing lists.
855
+ Hidden/zero-sized or fully offscreen lists emit no end-reached event. Resize,
856
+ slot and ancestor layout changes remeasure origin. Increasing content before a
857
+ visible row preserves that row's screen position while the parent is scrolled.
858
+ No React state updates run on scroll frames. External refresh gestures remain
859
+ owned by the parent control; only internal mode handles its own pull gesture.
860
+
861
+ The explicit external host captures scroll events from itself and descendant
862
+ scroll containers that are ancestors of the list root. Horizontal pager movement
863
+ therefore invalidates cached viewport intersection and restores visible rows on
864
+ the next scheduled frame. Scrolls within unrelated slots or list descendants do
865
+ not invalidate this list. Destroy removes the same capture listener; no second
866
+ vertical owner or scroll-position correction is introduced.
867
+
868
+ Required acceptance: unchanged slot-free internal behavior; parent content on
869
+ both sides and sticky inset; dynamic header/footer; empty to populated; grid
870
+ last row; all imperative alignments; null/ready/replaced host; hidden/visible;
871
+ unmount cleanup, mouse/touch scroll and drag autoscroll. Type/helper results do
872
+ not establish rendered product, native or performance acceptance.
873
+
874
+
875
+ ## Web Market table presentation
876
+
877
+ Status: implemented on the 6.7.0-1 source baseline. Package unit/type/build
878
+ checks and controlled Web/shared consumer backfill checks passed; consuming
879
+ Home/Market Web and Electron checks cover the migrated presentation. No native
880
+ runtime or completed performance acceptance is claimed.
881
+
882
+ MarketRow.webTable is an optional Web-only serializable presentation. It does
883
+ not change DataRow's 2..4-column contract or add a row type/native renderer.
884
+ Native parsers retain row dictionaries/JSON and read known fields; they ignore
885
+ webTable. Mobile callers continue emitting their existing Market snapshots
886
+ without this field, preserving their serialized shape. Shared validation checks
887
+ the complete declared extension on both platforms. No arbitrary React cells,
888
+ HTML, scripts or product formatting runs inside NativeList.
889
+
890
+ The presentation declares 1..12 unique keyed columns and one matching keyed
891
+ cell per column. Width/minWidth (0..4096 CSS px), flex (0..16), semantic alignment
892
+ and leading/trailing padding (0..64) are explicit. Presentation cell kinds are
893
+ favorite, asset, text and sparkline. Favorite has its own action/accessible
894
+ label/pressed state; asset uses existing leading image primitives, title/badges
895
+ and a secondary line optionally replaced on row hover/focus; text accepts at
896
+ most eight caller-formatted primary/secondary text parts with existing small
897
+ number segments and typography; sparkline accepts at most256 finite numeric
898
+ samples, explicit size and colors. Unknown fields are rejected. Table rows use
899
+ an explicit row/container height. Text is single-line with ellipsis; no automatic
900
+ multiline geometry or business numeric interpretation exists.
901
+
902
+ The consumer derives mobile fields and table cells from the same domain row.
903
+ A quote transaction changes its formatted scalar fields and table cells together.
904
+ A legacy scalar-only price/change patch on a table row is rejected unless it
905
+ also supplies its corresponding table presentation, preventing hidden/visible
906
+ values from diverging. Stable-column/same-image patches update only changed
907
+ cells, preserving body/avatar identity and avoiding geometry reads/layout.
908
+ Changes to column structure, image/badge/action identity invalidate anchors and
909
+ use normal rebind/layout. Header and body take widths from the same consumer
910
+ column calculation; React retains sorting/header/filter portals.
911
+
912
+ The Web registry separately pools market and marketTable presentations while
913
+ both retain type:market. Row keys, revisions, anchor epochs and event dispatch
914
+ remain common. Cell actions use data-native-list-action; favorite/copy/badge
915
+ buttons do not activate the row. Recycling clears actions, title/aria, hover
916
+ and styles and disposes image leases. The SDK emits copy action data; application
917
+ copyText/logging remains consumer-owned. Sparklines use bounded numeric drawing,
918
+ not arbitrary SVG/HTML input.
919
+
920
+ Acceptance: every cell kind, dynamic formatting, hover/focus/keyboard actions,
921
+ row/presentation recycling, strict validation, native dictionary safe-ignore,
922
+ header/body geometry, 100 quote ticks preserving nodes with zero geometry reads,
923
+ then a real complex Market table before expanding to all five families.
924
+
925
+
926
+ ### Web grid fractional column geometry
927
+
928
+ Status: implemented; fractional geometry verified in focused DOM/browser and
929
+ controlled consuming NFT backfill checks.
930
+ Web grid columns divide
931
+ available CSS width without flooring each cell. With non-integral division,
932
+ all column edges and width-derived tile heights retain the fractional value;
933
+ the final column reaches the content edge without accumulating discarded
934
+ pixels. Item spacing, horizontal padding and structural full-span rows retain
935
+ their existing meanings. Native rounding is unchanged. Known app Web consumers
936
+ are the migrated NFT grid and developer gallery; external SDK consumers are not
937
+ claimed audited. Required geometry coverage: 2/3/4/6/7 columns, divisible and
938
+ fractional widths, spacing, padding, row height and structural/footer boundaries.
939
+
940
+ Table column width is the CSS base width. When flex is supplied, it grows with
941
+ `flex-basis:auto`, matching the consumer's existing fixed-base React column;
942
+ without flex, width remains fixed. Pausing a Web parent-host list retains only
943
+ its last row-host height in normal flow while releasing row DOM/avatar leases.
944
+ The wrapper preserves the engine's successfully patched snapshot for host
945
+ reconstruction; inactive patches merge into one latest snapshot, with no
946
+ retained batch queue. A rejected imperative snapshot never replaces that state.
947
+
948
+ Stock asset cells additionally declare lineGap (0...8, default4), up to three
949
+ secondaryBadges limited to the existing Market badge key/text/style subset, and up to four hoverImages
950
+ using ImageSource. Secondary badges precede the company name. Hover logos follow
951
+ the variant-count text at16 CSS px with a1px page-background ring and4px overlap,
952
+ matching the consumer's existing finite logo group. Geometry/badge/image changes
953
+ use normal rebind and release replaced image leases; price-only updates retain
954
+ these nodes. No native caller emits these Web-only fields.
955
+
956
+ Web gallery media follows the shared input precedence: media wins over image,
957
+ unless an explicit empty/error imageState suppresses media probing. An empty/error
958
+ gallery without either source retains the gallery fallback surface when
959
+ imageState explicitly selects that state.
960
+
961
+ Web gallery media preserves the consuming NFT card presentation: healthy image
962
+ and exhausted fallback surfaces have a10px radius, while a healthy video surface
963
+ has square corners. The image/video frame uses the list page background; only
964
+ the exhausted fallback surface uses the strong background. Rebinding the same
965
+ video key retains square corners, and failed-video fallback to an image restores
966
+ the image radius. This is Web renderer behavior; native media presentation and
967
+ probe-order contracts are unchanged.
968
+
969
+ Gallery pointer activation follows the actual media-card body; extra grid row
970
+ height reserved between cards does not enlarge its pointer hit area. Keyboard
971
+ row activation remains supported through the normal row keyboard handler.
972
+
973
+ When React listEmpty owns an empty list, content bottom padding follows that
974
+ empty slot instead of advancing its origin. Header/top padding retain their
975
+ positions, and populated row/footer padding semantics remain unchanged.
976
+
977
+ Text cells may declare partGap (0...8 CSS px, default2) for their caller-formatted
978
+ inline parts. Favorite cells may declare hoverActionKey; hover/focus emits this
979
+ anchored help action, while click/Enter/Space emits actionKey. No browser title
980
+ bubble is added. Pointer leave/focus departure invalidate help anchors. Existing
981
+ Market badge styles apply to table title pills and their title gap is4px.
982
+
983
+ Web table title badges accept only declared key/text/iconName/icon/colors/action/
984
+ accessibility/style fields. The unused native tone field is not accepted in this
985
+ presentation. Inline icon sources use image primitives and release on recycling.
986
+
987
+
988
+ ### Web Market watchlist actions and reorder
989
+
990
+ Only a market row with `webTable.draggable:true` and list capability
991
+ `reorderable:true` joins existing Web reorder. Other Market rows and native
992
+ reorder semantics are unchanged. `webTable.contextMenuActionKey` declares a
993
+ bounded row context-menu action; right click is prevented only for such rows,
994
+ and nested cell actions retain ownership. Context menu and Market long press
995
+ may emit `RowActionEvent.windowPoint`, finite client/window CSS pixel coordinates.
996
+ Keyboard-triggered context menus use the row anchor rectangle when pointer
997
+ coordinates are unavailable. Anchors retain binding epoch validation and are
998
+ invalidated on scroll/rebind/layout/destroy; consumers close their menu on that
999
+ invalidation. Compact Market mouse/pen long press cancels after 3px of pointer
1000
+ movement; touch follows actual touchmove as specified below. Table rows retain
1001
+ the 10px pointer threshold.
1002
+ Gallery, wallet and other row reorder eligibility stays unchanged. A gesture
1003
+ that activates row reorder cancels pending Market long press and suppresses its
1004
+ subsequent row navigation.
1005
+
1006
+ Compact Web Market network corners honor the declared ImageSource dimensions
1007
+ (default 16px), with the existing corner padding outside the image. Native image
1008
+ rendering is unchanged. Consumer Web presentation permits its original SVG image
1009
+ sources without changing default native mapper output.
1010
+
1011
+
1012
+ ### Web ordered image fallback sources
1013
+
1014
+ ImageSource.fallbackUris is an optional Web-only ordered continuation after uri.
1015
+ It retains the complete caller-provided sequence (no truncation or deduplication).
1016
+ Empty or unusable continuation entries are skipped in order until a usable URI
1017
+ is found or the complete sequence is exhausted. Exhaustion reaches the declared
1018
+ visual fallback. Skipped entries consume no retry budget; each usable URI
1019
+ uses its declared retryTimes before proceeding; Market Web callers pass the
1020
+ existing ImageV2 default of one retry per source. This array path does not change
1021
+ legacy fallbackUri switching/retry order when fallbackUris is absent. Native
1022
+ callers do not emit this field. Validation requires an array of serializable
1023
+ strings. Rebind identity includes the complete array; quote-only changes retain
1024
+ the image node, while a changed chain rebinds and cancels previous retries.
1025
+ Recycling/destroy disposes listeners, retry timers and avatar subscriptions.
1026
+ Required coverage: one/two/three+ sources, first two fail/third succeeds, terminal
1027
+ failure, empty continuation, chain replacement/cancel and legacy fallbackUri.
1028
+
1029
+ Enhanced Web History section titles retain the consumer headingXs 0.8px letter
1030
+ spacing; hover uses rowPressedBackground and pointer-active enhanced History
1031
+ uses rowSelectedBackground. Other Activity presentations are unchanged.
1032
+
1033
+ Parent-scroll compact Market rows retain the consumer's pointer states: ordinary
1034
+ token/perp cards use active opacity0.8, stock cards active selected background.
1035
+ Consumers supply the page background as hover color. New table image fallbacks
1036
+ use a28px icon in the40px image frame; compact32px frames retain24px icons.
1037
+ These styles do not change legacy internally scrolling Market rows.
1038
+
1039
+ The optional theme.imageFallbackBackground is consumed by Web only when a
1040
+ declared visual fallback is displayed; unset leaves the existing transparent
1041
+ fallback over its original frame. It never changes healthy image backgrounds,
1042
+ Stock tags or hover logo slots. Native callers do not emit it. HoverImages may
1043
+ contain explicit null entries to preserve the original16px empty round logo
1044
+ slots, including their ring/overlap/order; non-null entries remain ImageSource
1045
+ and the existing four-slot limit stays unchanged.
1046
+
1047
+ Compact Market subtitlePrefix preserves intrinsic text width with flex-shrink
1048
+ and its existing maxWidth cap; it does not grow short names to that cap.
1049
+ Its optional Web-only hoverActionKey requests anchored help only when the
1050
+ actual prefix text is truncated (scrollWidth > clientWidth + 1). The consumer
1051
+ owns the existing tooltip content/presentation. Pointer/focus departure, scroll,
1052
+ rebind and destroy invalidate its existing anchor. Text, cap or action identity
1053
+ changes use normal rebind; unchanged quote updates preserve that node/focus.
1054
+ Native callers do not emit this field and native renderers ignore it.
1055
+
1056
+
1057
+ ### Host-provided Web fonts
1058
+
1059
+ configureNativeListFonts and NativeListFontFamilies retain the source baseline
1060
+ public API and validation. In the historical controlled 3.0.177 consumer
1061
+ backfill, only Web was backported:
1062
+ empty configuration uses system families; each supplied regular/medium/semibold/
1063
+ bold name belongs to fonts already loaded by the UI host. Hosts load fonts
1064
+ before configuring the mapping; the historical consumer supplied Roobert for
1065
+ all four weights. The SDK registers no fonts. That controlled backfill retained
1066
+ the 3.0.177 native wrapper and native platform font behavior.
1067
+ Web roots, section rails, reorder previews and all finite row text presentations
1068
+ select the family matching their existing numeric weight; layout and numeric
1069
+ weights are unchanged. A live configuration change invalidates active anchors,
1070
+ cancels reorder, clears measurement caches and remeasures; the same configuration
1071
+ is a no-op. A paused/null host initializes with the latest configuration.
1072
+ The 6.7.0-1 source integration preserves its existing native font policy/API.
1073
+
1074
+ Market Web badge text uses tabular numeric glyphs, matching the consuming
1075
+ Market text style for leverage/provider labels. This rule is limited to the
1076
+ Market badge renderer class; generic Activity/time badge typography is unchanged.
1077
+
1078
+ React prop snapshots commit in the layout phase alongside React-owned slots.
1079
+ For an external host with cached viewport dimensions, recomputation calculates
1080
+ and expands the normal-flow row extent before geometry reads, avoiding an append
1081
+ plus footer-removal intermediate clamp. The calculated layout is reused when
1082
+ viewport dimensions are unchanged; changed dimensions receive a fresh layout.
1083
+ Final measured layout owns legitimate shrinking; no scroll restoration offset
1084
+ or retained minimum-height state is added. First creation without cached geometry
1085
+ and imperative snapshot acceptance retain their existing contracts.
1086
+
1087
+ Web gallery media fit consumes the existing ImageSource.contentFit values:
1088
+ cover/contain/fill map directly to CSS object-fit and center maps to none.
1089
+ When omitted, a video uses contain and an image uses cover, preserving the
1090
+ consuming Web NFT defaults. Failed-video transitions resolve the image default
1091
+ again rather than retaining video fit. Native fit/probe contracts are unchanged.
1092
+
1093
+
1094
+ ### Source integration status (2026-10-16)
1095
+
1096
+ The Web migration was integrated onto source 655789b01 (6.7.0-1), preserving
1097
+ its native font resolver, iOS 26 overlay, package metadata and native implementation.
1098
+ The PR rebases that source onto main dd0d77af3, whose independent desktop Windows
1099
+ release changes do not overlap this package. The consuming PR targets 3.0.180;
1100
+ its reproducible patch and dependency verification are separate from the
1101
+ historical 3.0.177 backfill evidence below.
1102
+ The prior 3.0.178 source integration was an intermediate validated checkpoint.
1103
+ Controlled Web/shared consumer backfill was verified against 3.0.177 while
1104
+ retaining that version's native wrapper, binary boundary and native type
1105
+ declarations. This historical backfill is separate from consumer dependency
1106
+ updates.
1107
+ Merged package tests/typecheck/build and controlled consumer backfill smoke
1108
+ passed. The final Web-focused suite passed 89 checks; broader package checks
1109
+ and consuming Web/Electron presentation checks are recorded separately. Pending
1110
+ remote-row display and the real business hook/controller navigation contract
1111
+ were verified with explicit auxiliary fixtures/stub boundaries; no real eligible
1112
+ account SendReplaceTx confirmation page, signing, or broadcast was exercised.
1113
+ The consumer backfill does not establish native runtime acceptance of this
1114
+ merged package. Final performance sampling was stopped at the user's request
1115
+ and is partial evidence, not a completed performance signoff.
1116
+
1117
+ ### Desktop/Web Market asset parity
1118
+
1119
+ The Web table asset renderer consumes the existing leading visual backgroundColor
1120
+ and borderColor descriptors without changing the schema or native primitives.
1121
+ Its token frame remains40 CSS px including an optional1px solid border; the main
1122
+ bitmap fills the content box (38px with border,40px without). Overlay visuals
1123
+ remain outside that frame and fallback surfaces retain their existing color/icon
1124
+ contract. Theme/leading changes rebind the visual and clear old border styles.
1125
+ The address-copy revealed line uses a2px text-to-action gap, while Stock hover
1126
+ logo groups retain their4px gap and overlap geometry. No other text-part gaps
1127
+ change. Regression acceptance includes Dark/Light recycled visuals, preserved
1128
+ network overlays, independent copy actions and Stock hover group spacing.
1129
+
1130
+ Gallery collection subtitles retain an 8px trailing text inset whether or not
1131
+ a network thumbnail is present. The subtitle uses border-box sizing and its row
1132
+ has no extra gap, preserving the same 8px separation with a thumbnail and the
1133
+ legacy truncation width without one. Legacy MediaTile/native rendering is
1134
+ unchanged.
1135
+
1136
+ Compact Market touch long-press cancellation follows actual `touchmove`
1137
+ events and valid touch coordinates beyond the existing 3px stationary limit.
1138
+ Pointer-only micro-movement within browser tap tolerance does not prematurely
1139
+ cancel a touch long-press. Pointer cancellation and real ancestor scrolling
1140
+ still cancel it; mouse, pen and table pointer thresholds remain unchanged.
1141
+ The passive touch listener is removed when the engine is destroyed.
1142
+
1143
+ Table secondary-line pointer hover is enabled only when the primary input
1144
+ reports `(hover: hover)`, matching the consuming Web row's hover media rule.
1145
+ Touch capability alone does not disable hover. Existing focus-within reveal
1146
+ remains available to keyboard navigation; no input-modality configuration or
1147
+ native behavior is introduced.
1148
+
1149
+ The declared table asset background remains on its outer token frame during
1150
+ source loading, matching the consumer's Token wrapper. The existing image
1151
+ placeholder/retry path and fallback span are unchanged; only the fallback span
1152
+ uses the fallback background. A solid frame border does not move external
1153
+ overlays: their primitive-generated edge positions are shifted outward by the
1154
+ 1px border once per new visual, preserving the caller's unbordered outer-anchor
1155
+ geometry. No shift is accumulated during same-visual quote patches.
1156
+
1157
+ Table secondary-line clipping uses `overflow: clip` so keyboard focus cannot
1158
+ scroll the two-line reveal viewport in addition to its existing transform.
1159
+ Focus-within and primary-hover reveal behavior remain unchanged; no scroll
1160
+ position writes or global overflow policy are introduced.
1161
+
1162
+ Web history section headers consume the existing titleLoading flag with the
1163
+ original20px spinner,8px title gap and heading casing. The declared32/52px
1164
+ section slots remain unchanged; the pending title content retains its original
1165
+ 4px intrinsic overflow. Explicit60px stacked history content fills its stated
1166
+ row height; ordinary history rows retain their existing trailing spacing.
1167
+
1168
+ Web enhanced History badges preserve the existing small Badge geometry (8px horizontal padding, 4px radius, medium text). Warning backgrounds consume the declared cautionBackground theme value with the prior fallback when absent. Native rendering is unchanged.
1169
+
1170
+
1171
+ ### Web external parent-scroll commands
1172
+
1173
+ When a caller supplies webScrollHost, scroll commands use the DOM scrollTo method from that element's document realm. React Native Web may decorate a NativeScroller node with a differently shaped React Native scrollTo method; the DOM host contract must not invoke that method with DOM options. The native/ref APIs and internally owned NativeList viewport keep their existing behavior.
1174
+
1175
+ Existing Pager command-accepted/cancel notifications use the actual external scroll owner when supplied, otherwise the internally owned viewport. A list command cancels queued Pager restoration/top work; a Pager top command cancels a pending list command and stops motion on that same owner. Listener target guards and destruction removal must match. No new public method, event name or native behavior is introduced.
1176
+
1177
+
1178
+ ### Web Pager inset notifications
1179
+
1180
+ An externally hosted list listens for the existing Pager inset notification on
1181
+ its actual scroll owner, matching the notification target and removing the same
1182
+ listener on destroy. It measures the new content origin before Pager restores
1183
+ its C+B offset; a later ResizeObserver must not add that inset a second time.
1184
+ Ordinary subsequent slot-height changes retain the existing content-anchor
1185
+ compensation. Standalone lists continue listening on their own viewport.
1186
+
1187
+ ### Web History retained visual binding
1188
+
1189
+ Implemented contract: same-source History visuals retain their image, placeholder
1190
+ and corner nodes while image styles or table/stacked presentation change. Every
1191
+ bind restores the factory geometry and applies the current image style and
1192
+ presentation, including clearing omitted radius/contentFit/shape overrides.
1193
+ Presentation wrapper changes move the existing nodes and preserve asynchronous
1194
+ loading/error visibility; they do not recreate or reload an unchanged source.
1195
+ Changing the source set retains the existing rebuild/disposal behavior.
1196
+
1197
+ ### Web slot-list scroll ownership
1198
+
1199
+ When container slots create an owned Web scroll host without `webScrollHost`,
1200
+ that actual host exposes the existing `data-collapsible-pager-scroll` marker.
1201
+ A containing Web pager therefore applies insets, collapse/top commands and route
1202
+ restoration to the owned host, with slot content as its padding target. The
1203
+ ordinary no-slot viewport and explicit external-host paths keep their existing
1204
+ ownership; no Pager dependency or new API is required.
@@ -35,6 +35,8 @@ export const NativeList = /*#__PURE__*/forwardRef(function NativeList({
35
35
  topScrollEdgeEffect,
36
36
  scrollPositionThresholds,
37
37
  webVirtualizationEnabled: _webVirtualizationEnabled,
38
+ webScrollHost: _webScrollHost,
39
+ webStickyInset: _webStickyInset,
38
40
  webSectionIndexContainerRef: _webSectionIndexContainerRef,
39
41
  keyboardDismissMode = 'none',
40
42
  keyboardShouldPersistTaps = 'never',