@onekeyfe/react-native-native-list 3.0.179-alpha.302 → 3.0.179-alpha.303

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 (113) hide show
  1. package/README.md +3 -32
  2. package/android/build.gradle +1 -0
  3. package/android/src/main/java/com/onekey/nativelist/HybridNativeList.kt +3 -22
  4. package/android/src/main/java/com/onekey/nativelist/NativeListAccessoryStack.kt +8 -8
  5. package/android/src/main/java/com/onekey/nativelist/NativeListActionRenderer.kt +5 -5
  6. package/android/src/main/java/com/onekey/nativelist/NativeListActivityDetailsView.kt +4 -4
  7. package/android/src/main/java/com/onekey/nativelist/NativeListActivityRenderer.kt +6 -6
  8. package/android/src/main/java/com/onekey/nativelist/NativeListAdapter.kt +1 -6
  9. package/android/src/main/java/com/onekey/nativelist/NativeListDataRowRenderer.kt +11 -11
  10. package/android/src/main/java/com/onekey/nativelist/NativeListIdentityRenderer.kt +20 -20
  11. package/android/src/main/java/com/onekey/nativelist/NativeListLeadingVisual.kt +4 -5
  12. package/android/src/main/java/com/onekey/nativelist/NativeListMarketRenderer.kt +7 -7
  13. package/android/src/main/java/com/onekey/nativelist/NativeListMediaTileRenderer.kt +5 -5
  14. package/android/src/main/java/com/onekey/nativelist/NativeListMessageRenderer.kt +7 -8
  15. package/android/src/main/java/com/onekey/nativelist/NativeListMetricCardRenderer.kt +14 -14
  16. package/android/src/main/java/com/onekey/nativelist/NativeListPrimitives.kt +15 -28
  17. package/android/src/main/java/com/onekey/nativelist/NativeListRailRenderer.kt +4 -4
  18. package/android/src/main/java/com/onekey/nativelist/NativeListRendererRegistry.kt +3 -3
  19. package/android/src/main/java/com/onekey/nativelist/NativeListRendererRowView.kt +2 -3
  20. package/android/src/main/java/com/onekey/nativelist/NativeListResolvedText.kt +4 -5
  21. package/android/src/main/java/com/onekey/nativelist/NativeListRowHost.kt +1 -1
  22. package/android/src/main/java/com/onekey/nativelist/NativeListSectionHeaderRenderer.kt +20 -20
  23. package/android/src/main/java/com/onekey/nativelist/NativeListSystemRenderer.kt +3 -3
  24. package/android/src/main/java/com/onekey/nativelist/NativeListView.kt +18 -104
  25. package/android/src/main/java/com/onekey/nativelist/NativeListWalletGroupRenderer.kt +5 -6
  26. package/common/fonts/Roobert-Bold.ttf +0 -0
  27. package/common/fonts/Roobert-Medium.ttf +0 -0
  28. package/common/fonts/Roobert-Regular.ttf +0 -0
  29. package/common/fonts/Roobert-SemiBold.ttf +0 -0
  30. package/docs/SPEC.md +19 -69
  31. package/docs/STYLE_SPEC.md +2 -12
  32. package/ios/HybridNativeList.swift +21 -15
  33. package/ios/NativeListAccessoryStack.swift +10 -14
  34. package/ios/NativeListActionRenderer.swift +4 -7
  35. package/ios/NativeListActivityDetailsView.swift +24 -63
  36. package/ios/NativeListActivityRenderer.swift +10 -19
  37. package/ios/NativeListDataRowRenderer.swift +19 -23
  38. package/ios/NativeListDesignAssets.swift +34 -43
  39. package/ios/NativeListIdentityRenderer.swift +19 -23
  40. package/ios/NativeListLeadingVisual.swift +4 -9
  41. package/ios/NativeListMarketRenderer.swift +11 -19
  42. package/ios/NativeListMediaTileRenderer.swift +7 -11
  43. package/ios/NativeListMessageRenderer.swift +10 -20
  44. package/ios/NativeListMetricCardRenderer.swift +12 -16
  45. package/ios/NativeListRailRenderer.swift +7 -9
  46. package/ios/NativeListRendererCell.swift +4 -6
  47. package/ios/NativeListRendererRegistry.swift +3 -8
  48. package/ios/NativeListResolvedText.swift +3 -3
  49. package/ios/NativeListRowHost.swift +2 -7
  50. package/ios/NativeListSectionHeaderRenderer.swift +19 -22
  51. package/ios/NativeListSystemRenderer.swift +16 -18
  52. package/ios/NativeListTextStyles.swift +12 -18
  53. package/ios/NativeListWalletGroupRenderer.swift +4 -6
  54. package/ios/RNCNativeListView.swift +92 -38
  55. package/ios/tests/NativeListActivityPresentationTests.swift +3 -5
  56. package/ios/tests/NativeListLifecycleTests.swift +2 -77
  57. package/lib/module/NativeList.js +24 -8
  58. package/lib/module/NativeList.web.js +3 -8
  59. package/lib/module/index.js +0 -1
  60. package/lib/module/web/NativeListWebEngine.js +24 -48
  61. package/lib/module/web/templates/ActionRowRenderer.js +1 -2
  62. package/lib/module/web/templates/IdentityRowRenderer.js +3 -4
  63. package/lib/module/web/templates/MarketRowRenderer.js +1 -2
  64. package/lib/module/web/templates/RowText.js +3 -13
  65. package/lib/module/web/templates/SectionHeaderRowRenderer.js +2 -3
  66. package/lib/nitrogen/generated/android/c++/JHybridNativeListSpec.cpp +18 -9
  67. package/lib/nitrogen/generated/android/c++/JHybridNativeListSpec.hpp +4 -2
  68. package/lib/nitrogen/generated/android/c++/views/JHybridNativeListStateUpdater.cpp +10 -5
  69. package/lib/nitrogen/generated/android/kotlin/com/margelo/nitro/nativelist/HybridNativeListSpec.kt +8 -2
  70. package/lib/nitrogen/generated/ios/c++/HybridNativeListSpecSwift.hpp +12 -7
  71. package/lib/nitrogen/generated/ios/c++/views/HybridNativeListComponent.mm +12 -6
  72. package/lib/nitrogen/generated/ios/swift/HybridNativeListSpec.swift +2 -1
  73. package/lib/nitrogen/generated/ios/swift/HybridNativeListSpec_cxx.swift +17 -6
  74. package/lib/nitrogen/generated/shared/c++/HybridNativeListSpec.cpp +4 -2
  75. package/lib/nitrogen/generated/shared/c++/HybridNativeListSpec.hpp +4 -2
  76. package/lib/nitrogen/generated/shared/c++/views/HybridNativeListComponent.cpp +4 -2
  77. package/lib/nitrogen/generated/shared/c++/views/HybridNativeListComponent.hpp +6 -3
  78. package/lib/nitrogen/generated/shared/json/NativeListConfig.json +2 -1
  79. package/lib/typescript/src/NativeList.nitro.d.ts +2 -1
  80. package/lib/typescript/src/NativeList.types.d.ts +4 -0
  81. package/lib/typescript/src/index.d.ts +0 -2
  82. package/lib/typescript/src/web/NativeListWebEngine.d.ts +1 -4
  83. package/lib/typescript/src/web/templates/RowText.d.ts +0 -1
  84. package/nitrogen/generated/android/c++/JHybridNativeListSpec.cpp +18 -9
  85. package/nitrogen/generated/android/c++/JHybridNativeListSpec.hpp +4 -2
  86. package/nitrogen/generated/android/c++/views/JHybridNativeListStateUpdater.cpp +10 -5
  87. package/nitrogen/generated/android/kotlin/com/margelo/nitro/nativelist/HybridNativeListSpec.kt +8 -2
  88. package/nitrogen/generated/ios/c++/HybridNativeListSpecSwift.hpp +12 -7
  89. package/nitrogen/generated/ios/c++/views/HybridNativeListComponent.mm +12 -6
  90. package/nitrogen/generated/ios/swift/HybridNativeListSpec.swift +2 -1
  91. package/nitrogen/generated/ios/swift/HybridNativeListSpec_cxx.swift +17 -6
  92. package/nitrogen/generated/shared/c++/HybridNativeListSpec.cpp +4 -2
  93. package/nitrogen/generated/shared/c++/HybridNativeListSpec.hpp +4 -2
  94. package/nitrogen/generated/shared/c++/views/HybridNativeListComponent.cpp +4 -2
  95. package/nitrogen/generated/shared/c++/views/HybridNativeListComponent.hpp +6 -3
  96. package/nitrogen/generated/shared/json/NativeListConfig.json +2 -1
  97. package/package.json +5 -4
  98. package/react-native-native-list.podspec +1 -0
  99. package/src/NativeList.nitro.ts +2 -1
  100. package/src/NativeList.tsx +25 -4
  101. package/src/NativeList.types.ts +4 -0
  102. package/src/NativeList.web.tsx +3 -10
  103. package/src/index.ts +0 -3
  104. package/src/web/NativeListWebEngine.ts +24 -53
  105. package/src/web/templates/ActionRowRenderer.ts +1 -2
  106. package/src/web/templates/IdentityRowRenderer.ts +3 -4
  107. package/src/web/templates/MarketRowRenderer.ts +2 -4
  108. package/src/web/templates/RowText.ts +3 -15
  109. package/src/web/templates/SectionHeaderRowRenderer.ts +3 -6
  110. package/LICENSE +0 -36
  111. package/lib/module/fonts.js +0 -44
  112. package/lib/typescript/src/fonts.d.ts +0 -10
  113. package/src/fonts.ts +0 -64
@@ -52,10 +52,12 @@ namespace margelo::nitro::nativelist {
52
52
  // Properties
53
53
  std::string getSnapshotJson() override;
54
54
  void setSnapshotJson(const std::string& snapshotJson) override;
55
- std::string getFontFamiliesJson() override;
56
- void setFontFamiliesJson(const std::string& fontFamiliesJson) override;
57
55
  std::string getContainerSlotHeightsJson() override;
58
56
  void setContainerSlotHeightsJson(const std::string& containerSlotHeightsJson) override;
57
+ bool getTopScrollEdgeHard() override;
58
+ void setTopScrollEdgeHard(bool topScrollEdgeHard) override;
59
+ double getTopOverlayHeight() override;
60
+ void setTopOverlayHeight(double topOverlayHeight) override;
59
61
  std::string getScrollPositionThresholdsJson() override;
60
62
  void setScrollPositionThresholdsJson(const std::string& scrollPositionThresholdsJson) override;
61
63
  std::optional<std::function<void(bool /* isBeyondThreshold */)>> getOnScrollPositionThresholdChange() override;
@@ -58,16 +58,21 @@ void JHybridNativeListStateUpdater::updateViewProps(jni::alias_ref<jni::JClass>
58
58
  : !newProps->snapshotJson.hasSameValue(oldProps->snapshotJson)) {
59
59
  hybridView->setSnapshotJson(newProps->snapshotJson.get());
60
60
  }
61
- if (oldProps == nullptr
62
- ? newProps->fontFamiliesJson.isProvided()
63
- : !newProps->fontFamiliesJson.hasSameValue(oldProps->fontFamiliesJson)) {
64
- hybridView->setFontFamiliesJson(newProps->fontFamiliesJson.get());
65
- }
66
61
  if (oldProps == nullptr
67
62
  ? newProps->containerSlotHeightsJson.isProvided()
68
63
  : !newProps->containerSlotHeightsJson.hasSameValue(oldProps->containerSlotHeightsJson)) {
69
64
  hybridView->setContainerSlotHeightsJson(newProps->containerSlotHeightsJson.get());
70
65
  }
66
+ if (oldProps == nullptr
67
+ ? newProps->topScrollEdgeHard.isProvided()
68
+ : !newProps->topScrollEdgeHard.hasSameValue(oldProps->topScrollEdgeHard)) {
69
+ hybridView->setTopScrollEdgeHard(newProps->topScrollEdgeHard.get());
70
+ }
71
+ if (oldProps == nullptr
72
+ ? newProps->topOverlayHeight.isProvided()
73
+ : !newProps->topOverlayHeight.hasSameValue(oldProps->topOverlayHeight)) {
74
+ hybridView->setTopOverlayHeight(newProps->topOverlayHeight.get());
75
+ }
71
76
  if (oldProps == nullptr
72
77
  ? newProps->scrollPositionThresholdsJson.isProvided()
73
78
  : !newProps->scrollPositionThresholdsJson.hasSameValue(oldProps->scrollPositionThresholdsJson)) {
@@ -37,13 +37,19 @@ abstract class HybridNativeListSpec: HybridView() {
37
37
  @get:Keep
38
38
  @set:DoNotStrip
39
39
  @set:Keep
40
- abstract var fontFamiliesJson: String
40
+ abstract var containerSlotHeightsJson: String
41
41
 
42
42
  @get:DoNotStrip
43
43
  @get:Keep
44
44
  @set:DoNotStrip
45
45
  @set:Keep
46
- abstract var containerSlotHeightsJson: String
46
+ abstract var topScrollEdgeHard: Boolean
47
+
48
+ @get:DoNotStrip
49
+ @get:Keep
50
+ @set:DoNotStrip
51
+ @set:Keep
52
+ abstract var topOverlayHeight: Double
47
53
 
48
54
  @get:DoNotStrip
49
55
  @get:Keep
@@ -79,13 +79,6 @@ namespace margelo::nitro::nativelist {
79
79
  inline void setSnapshotJson(const std::string& snapshotJson) noexcept override {
80
80
  _swiftPart.setSnapshotJson(snapshotJson);
81
81
  }
82
- inline std::string getFontFamiliesJson() noexcept override {
83
- auto __result = _swiftPart.getFontFamiliesJson();
84
- return __result;
85
- }
86
- inline void setFontFamiliesJson(const std::string& fontFamiliesJson) noexcept override {
87
- _swiftPart.setFontFamiliesJson(fontFamiliesJson);
88
- }
89
82
  inline std::string getContainerSlotHeightsJson() noexcept override {
90
83
  auto __result = _swiftPart.getContainerSlotHeightsJson();
91
84
  return __result;
@@ -93,6 +86,18 @@ namespace margelo::nitro::nativelist {
93
86
  inline void setContainerSlotHeightsJson(const std::string& containerSlotHeightsJson) noexcept override {
94
87
  _swiftPart.setContainerSlotHeightsJson(containerSlotHeightsJson);
95
88
  }
89
+ inline bool getTopScrollEdgeHard() noexcept override {
90
+ return _swiftPart.getTopScrollEdgeHard();
91
+ }
92
+ inline void setTopScrollEdgeHard(bool topScrollEdgeHard) noexcept override {
93
+ _swiftPart.setTopScrollEdgeHard(std::forward<decltype(topScrollEdgeHard)>(topScrollEdgeHard));
94
+ }
95
+ inline double getTopOverlayHeight() noexcept override {
96
+ return _swiftPart.getTopOverlayHeight();
97
+ }
98
+ inline void setTopOverlayHeight(double topOverlayHeight) noexcept override {
99
+ _swiftPart.setTopOverlayHeight(std::forward<decltype(topOverlayHeight)>(topOverlayHeight));
100
+ }
96
101
  inline std::string getScrollPositionThresholdsJson() noexcept override {
97
102
  auto __result = _swiftPart.getScrollPositionThresholdsJson();
98
103
  return __result;
@@ -118,18 +118,24 @@ using namespace margelo::nitro::nativelist::views;
118
118
  : !newViewProps.snapshotJson.hasSameValue(oldViewProps->snapshotJson)) {
119
119
  swiftPart.setSnapshotJson(newViewProps.snapshotJson.get());
120
120
  }
121
- // fontFamiliesJson: string
122
- if (oldViewProps == nullptr
123
- ? newViewProps.fontFamiliesJson.isProvided()
124
- : !newViewProps.fontFamiliesJson.hasSameValue(oldViewProps->fontFamiliesJson)) {
125
- swiftPart.setFontFamiliesJson(newViewProps.fontFamiliesJson.get());
126
- }
127
121
  // containerSlotHeightsJson: string
128
122
  if (oldViewProps == nullptr
129
123
  ? newViewProps.containerSlotHeightsJson.isProvided()
130
124
  : !newViewProps.containerSlotHeightsJson.hasSameValue(oldViewProps->containerSlotHeightsJson)) {
131
125
  swiftPart.setContainerSlotHeightsJson(newViewProps.containerSlotHeightsJson.get());
132
126
  }
127
+ // topScrollEdgeHard: boolean
128
+ if (oldViewProps == nullptr
129
+ ? newViewProps.topScrollEdgeHard.isProvided()
130
+ : !newViewProps.topScrollEdgeHard.hasSameValue(oldViewProps->topScrollEdgeHard)) {
131
+ swiftPart.setTopScrollEdgeHard(newViewProps.topScrollEdgeHard.get());
132
+ }
133
+ // topOverlayHeight: number
134
+ if (oldViewProps == nullptr
135
+ ? newViewProps.topOverlayHeight.isProvided()
136
+ : !newViewProps.topOverlayHeight.hasSameValue(oldViewProps->topOverlayHeight)) {
137
+ swiftPart.setTopOverlayHeight(newViewProps.topOverlayHeight.get());
138
+ }
133
139
  // scrollPositionThresholdsJson: string
134
140
  if (oldViewProps == nullptr
135
141
  ? newViewProps.scrollPositionThresholdsJson.isProvided()
@@ -11,8 +11,9 @@ import NitroModules
11
11
  public protocol HybridNativeListSpec_protocol: HybridObject, HybridView {
12
12
  // Properties
13
13
  var snapshotJson: String { get set }
14
- var fontFamiliesJson: String { get set }
15
14
  var containerSlotHeightsJson: String { get set }
15
+ var topScrollEdgeHard: Bool { get set }
16
+ var topOverlayHeight: Double { get set }
16
17
  var scrollPositionThresholdsJson: String { get set }
17
18
  var onScrollPositionThresholdChange: ((_ isBeyondThreshold: Bool) -> Void)? { get set }
18
19
  var keyboardDismissMode: NativeListKeyboardDismissMode { get set }
@@ -132,25 +132,36 @@ open class HybridNativeListSpec_cxx {
132
132
  }
133
133
  }
134
134
 
135
- public final var fontFamiliesJson: std.string {
135
+ public final var containerSlotHeightsJson: std.string {
136
136
  @inline(__always)
137
137
  get {
138
- return std.string(self.__implementation.fontFamiliesJson)
138
+ return std.string(self.__implementation.containerSlotHeightsJson)
139
139
  }
140
140
  @inline(__always)
141
141
  set {
142
- self.__implementation.fontFamiliesJson = String(newValue)
142
+ self.__implementation.containerSlotHeightsJson = String(newValue)
143
143
  }
144
144
  }
145
145
 
146
- public final var containerSlotHeightsJson: std.string {
146
+ public final var topScrollEdgeHard: Bool {
147
147
  @inline(__always)
148
148
  get {
149
- return std.string(self.__implementation.containerSlotHeightsJson)
149
+ return self.__implementation.topScrollEdgeHard
150
150
  }
151
151
  @inline(__always)
152
152
  set {
153
- self.__implementation.containerSlotHeightsJson = String(newValue)
153
+ self.__implementation.topScrollEdgeHard = newValue
154
+ }
155
+ }
156
+
157
+ public final var topOverlayHeight: Double {
158
+ @inline(__always)
159
+ get {
160
+ return self.__implementation.topOverlayHeight
161
+ }
162
+ @inline(__always)
163
+ set {
164
+ self.__implementation.topOverlayHeight = newValue
154
165
  }
155
166
  }
156
167
 
@@ -16,10 +16,12 @@ namespace margelo::nitro::nativelist {
16
16
  registerHybrids(this, [](Prototype& prototype) {
17
17
  prototype.registerHybridGetter("snapshotJson", &HybridNativeListSpec::getSnapshotJson);
18
18
  prototype.registerHybridSetter("snapshotJson", &HybridNativeListSpec::setSnapshotJson);
19
- prototype.registerHybridGetter("fontFamiliesJson", &HybridNativeListSpec::getFontFamiliesJson);
20
- prototype.registerHybridSetter("fontFamiliesJson", &HybridNativeListSpec::setFontFamiliesJson);
21
19
  prototype.registerHybridGetter("containerSlotHeightsJson", &HybridNativeListSpec::getContainerSlotHeightsJson);
22
20
  prototype.registerHybridSetter("containerSlotHeightsJson", &HybridNativeListSpec::setContainerSlotHeightsJson);
21
+ prototype.registerHybridGetter("topScrollEdgeHard", &HybridNativeListSpec::getTopScrollEdgeHard);
22
+ prototype.registerHybridSetter("topScrollEdgeHard", &HybridNativeListSpec::setTopScrollEdgeHard);
23
+ prototype.registerHybridGetter("topOverlayHeight", &HybridNativeListSpec::getTopOverlayHeight);
24
+ prototype.registerHybridSetter("topOverlayHeight", &HybridNativeListSpec::setTopOverlayHeight);
23
25
  prototype.registerHybridGetter("scrollPositionThresholdsJson", &HybridNativeListSpec::getScrollPositionThresholdsJson);
24
26
  prototype.registerHybridSetter("scrollPositionThresholdsJson", &HybridNativeListSpec::setScrollPositionThresholdsJson);
25
27
  prototype.registerHybridGetter("onScrollPositionThresholdChange", &HybridNativeListSpec::getOnScrollPositionThresholdChange);
@@ -56,10 +56,12 @@ namespace margelo::nitro::nativelist {
56
56
  // Properties
57
57
  virtual std::string getSnapshotJson() = 0;
58
58
  virtual void setSnapshotJson(const std::string& snapshotJson) = 0;
59
- virtual std::string getFontFamiliesJson() = 0;
60
- virtual void setFontFamiliesJson(const std::string& fontFamiliesJson) = 0;
61
59
  virtual std::string getContainerSlotHeightsJson() = 0;
62
60
  virtual void setContainerSlotHeightsJson(const std::string& containerSlotHeightsJson) = 0;
61
+ virtual bool getTopScrollEdgeHard() = 0;
62
+ virtual void setTopScrollEdgeHard(bool topScrollEdgeHard) = 0;
63
+ virtual double getTopOverlayHeight() = 0;
64
+ virtual void setTopOverlayHeight(double topOverlayHeight) = 0;
63
65
  virtual std::string getScrollPositionThresholdsJson() = 0;
64
66
  virtual void setScrollPositionThresholdsJson(const std::string& scrollPositionThresholdsJson) = 0;
65
67
  virtual std::optional<std::function<void(bool /* isBeyondThreshold */)>> getOnScrollPositionThresholdChange() = 0;
@@ -21,8 +21,9 @@ namespace margelo::nitro::nativelist::views {
21
21
  const react::RawProps& rawProps):
22
22
  react::ViewProps(context, sourceProps, rawProps, filterObjectKeys),
23
23
  snapshotJson(nitro::ReactProp<std::string>::fromRawValue("NativeList", "snapshotJson", rawProps, sourceProps.snapshotJson)),
24
- fontFamiliesJson(nitro::ReactProp<std::string>::fromRawValue("NativeList", "fontFamiliesJson", rawProps, sourceProps.fontFamiliesJson)),
25
24
  containerSlotHeightsJson(nitro::ReactProp<std::string>::fromRawValue("NativeList", "containerSlotHeightsJson", rawProps, sourceProps.containerSlotHeightsJson)),
25
+ topScrollEdgeHard(nitro::ReactProp<bool>::fromRawValue("NativeList", "topScrollEdgeHard", rawProps, sourceProps.topScrollEdgeHard)),
26
+ topOverlayHeight(nitro::ReactProp<double>::fromRawValue("NativeList", "topOverlayHeight", rawProps, sourceProps.topOverlayHeight)),
26
27
  scrollPositionThresholdsJson(nitro::ReactProp<std::string>::fromRawValue("NativeList", "scrollPositionThresholdsJson", rawProps, sourceProps.scrollPositionThresholdsJson)),
27
28
  onScrollPositionThresholdChange(nitro::ReactProp<std::optional<std::function<void(bool /* isBeyondThreshold */)>>>::fromRawValue("NativeList", "onScrollPositionThresholdChange", rawProps, sourceProps.onScrollPositionThresholdChange)),
28
29
  keyboardDismissMode(nitro::ReactProp<NativeListKeyboardDismissMode>::fromRawValue("NativeList", "keyboardDismissMode", rawProps, sourceProps.keyboardDismissMode)),
@@ -38,8 +39,9 @@ namespace margelo::nitro::nativelist::views {
38
39
  bool HybridNativeListProps::filterObjectKeys(const std::string& propName) {
39
40
  switch (hashString(propName)) {
40
41
  case hashString("snapshotJson"): return true;
41
- case hashString("fontFamiliesJson"): return true;
42
42
  case hashString("containerSlotHeightsJson"): return true;
43
+ case hashString("topScrollEdgeHard"): return true;
44
+ case hashString("topOverlayHeight"): return true;
43
45
  case hashString("scrollPositionThresholdsJson"): return true;
44
46
  case hashString("onScrollPositionThresholdChange"): return true;
45
47
  case hashString("keyboardDismissMode"): return true;
@@ -46,8 +46,9 @@ namespace margelo::nitro::nativelist::views {
46
46
 
47
47
  public:
48
48
  nitro::ReactProp<std::string> snapshotJson;
49
- nitro::ReactProp<std::string> fontFamiliesJson;
50
49
  nitro::ReactProp<std::string> containerSlotHeightsJson;
50
+ nitro::ReactProp<bool> topScrollEdgeHard;
51
+ nitro::ReactProp<double> topOverlayHeight;
51
52
  nitro::ReactProp<std::string> scrollPositionThresholdsJson;
52
53
  nitro::ReactProp<std::optional<std::function<void(bool /* isBeyondThreshold */)>>> onScrollPositionThresholdChange;
53
54
  nitro::ReactProp<NativeListKeyboardDismissMode> keyboardDismissMode;
@@ -63,8 +64,9 @@ namespace margelo::nitro::nativelist::views {
63
64
  [[nodiscard]]
64
65
  bool hasSameProps(const HybridNativeListProps& other) const noexcept {
65
66
  return snapshotJson.hasSameValue(other.snapshotJson) &&
66
- fontFamiliesJson.hasSameValue(other.fontFamiliesJson) &&
67
67
  containerSlotHeightsJson.hasSameValue(other.containerSlotHeightsJson) &&
68
+ topScrollEdgeHard.hasSameValue(other.topScrollEdgeHard) &&
69
+ topOverlayHeight.hasSameValue(other.topOverlayHeight) &&
68
70
  scrollPositionThresholdsJson.hasSameValue(other.scrollPositionThresholdsJson) &&
69
71
  onScrollPositionThresholdChange.hasSameValue(other.onScrollPositionThresholdChange) &&
70
72
  keyboardDismissMode.hasSameValue(other.keyboardDismissMode) &&
@@ -81,8 +83,9 @@ namespace margelo::nitro::nativelist::views {
81
83
  [[nodiscard]]
82
84
  bool hasAnyProvidedProps() const noexcept {
83
85
  return snapshotJson.isProvided() ||
84
- fontFamiliesJson.isProvided() ||
85
86
  containerSlotHeightsJson.isProvided() ||
87
+ topScrollEdgeHard.isProvided() ||
88
+ topOverlayHeight.isProvided() ||
86
89
  scrollPositionThresholdsJson.isProvided() ||
87
90
  onScrollPositionThresholdChange.isProvided() ||
88
91
  keyboardDismissMode.isProvided() ||
@@ -5,8 +5,9 @@
5
5
  "directEventTypes": {},
6
6
  "validAttributes": {
7
7
  "snapshotJson": true,
8
- "fontFamiliesJson": true,
9
8
  "containerSlotHeightsJson": true,
9
+ "topScrollEdgeHard": true,
10
+ "topOverlayHeight": true,
10
11
  "scrollPositionThresholdsJson": true,
11
12
  "onScrollPositionThresholdChange": true,
12
13
  "keyboardDismissMode": true,
@@ -6,8 +6,9 @@ import type { HybridView, HybridViewMethods, HybridViewProps } from 'react-nativ
6
6
  */
7
7
  export interface NativeListNativeProps extends HybridViewProps {
8
8
  snapshotJson: string;
9
- fontFamiliesJson: string;
10
9
  containerSlotHeightsJson: string;
10
+ topScrollEdgeHard: boolean;
11
+ topOverlayHeight: number;
11
12
  scrollPositionThresholdsJson: string;
12
13
  onScrollPositionThresholdChange?: (isBeyondThreshold: boolean) => void;
13
14
  keyboardDismissMode: NativeListKeyboardDismissMode;
@@ -79,6 +79,10 @@ export type NativeListProps = Omit<ViewProps, 'children'> & Readonly<{
79
79
  listHeader?: ReactNode;
80
80
  listFooter?: ReactNode;
81
81
  listEmpty?: ReactNode;
82
+ /** Fixed overlay above scrolling rows on iOS 26 and newer. */
83
+ topOverlay?: ReactNode;
84
+ /** Enables UIKit's hard top scroll-edge effect on iOS 26 and newer. */
85
+ topScrollEdgeEffect?: 'hard';
82
86
  /** Web only. Defaults to true and is ignored by the native host. */
83
87
  webVirtualizationEnabled?: boolean;
84
88
  /** Web only. Hosts the section index inside this container. */
@@ -4,6 +4,4 @@ export type * from './models';
4
4
  export { applyRowPatches, serializePatches, serializeSnapshot, validatePatches, validateSnapshot, } from './validation';
5
5
  export { checkboxStateForKeys, checkboxStateForSection, isSelectableRow, reduceSelection, selectionStateFromSnapshot, } from './selection';
6
6
  export type { SelectionAction, SelectionResult, SelectionState, } from './selection';
7
- export { configureNativeListFonts } from './fonts';
8
- export type { NativeListFontFamilies } from './fonts';
9
7
  //# sourceMappingURL=index.d.ts.map
@@ -144,10 +144,7 @@ export declare class NativeListWebEngine {
144
144
  private measuredRendererHeights;
145
145
  private notifyScrollCommandAccepted;
146
146
  private readonly handlePagerScrollCommandCancel;
147
- constructor(host: HTMLElement, snapshot: NativeListSnapshot, callbacks: NativeListWebCallbacks, virtualizationEnabled?: boolean, sectionIndexContainer?: HTMLElement | null, fontFamiliesJson?: string);
148
- private fontFamiliesJson;
149
- private applyFontFamilies;
150
- setFontFamiliesJson(json: string): void;
147
+ constructor(host: HTMLElement, snapshot: NativeListSnapshot, callbacks: NativeListWebCallbacks, virtualizationEnabled?: boolean, sectionIndexContainer?: HTMLElement | null);
151
148
  updateCallbacks(callbacks: NativeListWebCallbacks): void;
152
149
  setVirtualizationEnabled(enabled: boolean): void;
153
150
  applySnapshot(snapshot: NativeListSnapshot): void;
@@ -6,5 +6,4 @@ export declare function applyValueSegments(element: HTMLElement, segments: reado
6
6
  export declare function applyTextLayout(element: HTMLElement, style: NativeListTextStyle, defaultLines?: number): void;
7
7
  export declare function applyTextStyleToSlot(element: HTMLElement, style: NativeListTextStyle, defaultLines?: number): void;
8
8
  export declare function fontWeight(value: NativeListTextStyle['fontWeight'] | undefined, fallback: number): number;
9
- export declare function applyTextWeight(element: HTMLElement, weight: string | number): void;
10
9
  //# sourceMappingURL=RowText.d.ts.map
@@ -66,15 +66,6 @@ namespace margelo::nitro::nativelist {
66
66
  static const auto method = _javaPart->javaClassStatic()->getMethod<void(jni::alias_ref<jni::JString> /* snapshotJson */)>("setSnapshotJson");
67
67
  method(_javaPart, jni::make_jstring(snapshotJson));
68
68
  }
69
- std::string JHybridNativeListSpec::getFontFamiliesJson() {
70
- static const auto method = _javaPart->javaClassStatic()->getMethod<jni::local_ref<jni::JString>()>("getFontFamiliesJson");
71
- auto __result = method(_javaPart);
72
- return __result->toStdString();
73
- }
74
- void JHybridNativeListSpec::setFontFamiliesJson(const std::string& fontFamiliesJson) {
75
- static const auto method = _javaPart->javaClassStatic()->getMethod<void(jni::alias_ref<jni::JString> /* fontFamiliesJson */)>("setFontFamiliesJson");
76
- method(_javaPart, jni::make_jstring(fontFamiliesJson));
77
- }
78
69
  std::string JHybridNativeListSpec::getContainerSlotHeightsJson() {
79
70
  static const auto method = _javaPart->javaClassStatic()->getMethod<jni::local_ref<jni::JString>()>("getContainerSlotHeightsJson");
80
71
  auto __result = method(_javaPart);
@@ -84,6 +75,24 @@ namespace margelo::nitro::nativelist {
84
75
  static const auto method = _javaPart->javaClassStatic()->getMethod<void(jni::alias_ref<jni::JString> /* containerSlotHeightsJson */)>("setContainerSlotHeightsJson");
85
76
  method(_javaPart, jni::make_jstring(containerSlotHeightsJson));
86
77
  }
78
+ bool JHybridNativeListSpec::getTopScrollEdgeHard() {
79
+ static const auto method = _javaPart->javaClassStatic()->getMethod<jboolean()>("getTopScrollEdgeHard");
80
+ auto __result = method(_javaPart);
81
+ return static_cast<bool>(__result);
82
+ }
83
+ void JHybridNativeListSpec::setTopScrollEdgeHard(bool topScrollEdgeHard) {
84
+ static const auto method = _javaPart->javaClassStatic()->getMethod<void(jboolean /* topScrollEdgeHard */)>("setTopScrollEdgeHard");
85
+ method(_javaPart, topScrollEdgeHard);
86
+ }
87
+ double JHybridNativeListSpec::getTopOverlayHeight() {
88
+ static const auto method = _javaPart->javaClassStatic()->getMethod<double()>("getTopOverlayHeight");
89
+ auto __result = method(_javaPart);
90
+ return __result;
91
+ }
92
+ void JHybridNativeListSpec::setTopOverlayHeight(double topOverlayHeight) {
93
+ static const auto method = _javaPart->javaClassStatic()->getMethod<void(double /* topOverlayHeight */)>("setTopOverlayHeight");
94
+ method(_javaPart, topOverlayHeight);
95
+ }
87
96
  std::string JHybridNativeListSpec::getScrollPositionThresholdsJson() {
88
97
  static const auto method = _javaPart->javaClassStatic()->getMethod<jni::local_ref<jni::JString>()>("getScrollPositionThresholdsJson");
89
98
  auto __result = method(_javaPart);
@@ -52,10 +52,12 @@ namespace margelo::nitro::nativelist {
52
52
  // Properties
53
53
  std::string getSnapshotJson() override;
54
54
  void setSnapshotJson(const std::string& snapshotJson) override;
55
- std::string getFontFamiliesJson() override;
56
- void setFontFamiliesJson(const std::string& fontFamiliesJson) override;
57
55
  std::string getContainerSlotHeightsJson() override;
58
56
  void setContainerSlotHeightsJson(const std::string& containerSlotHeightsJson) override;
57
+ bool getTopScrollEdgeHard() override;
58
+ void setTopScrollEdgeHard(bool topScrollEdgeHard) override;
59
+ double getTopOverlayHeight() override;
60
+ void setTopOverlayHeight(double topOverlayHeight) override;
59
61
  std::string getScrollPositionThresholdsJson() override;
60
62
  void setScrollPositionThresholdsJson(const std::string& scrollPositionThresholdsJson) override;
61
63
  std::optional<std::function<void(bool /* isBeyondThreshold */)>> getOnScrollPositionThresholdChange() override;
@@ -58,16 +58,21 @@ void JHybridNativeListStateUpdater::updateViewProps(jni::alias_ref<jni::JClass>
58
58
  : !newProps->snapshotJson.hasSameValue(oldProps->snapshotJson)) {
59
59
  hybridView->setSnapshotJson(newProps->snapshotJson.get());
60
60
  }
61
- if (oldProps == nullptr
62
- ? newProps->fontFamiliesJson.isProvided()
63
- : !newProps->fontFamiliesJson.hasSameValue(oldProps->fontFamiliesJson)) {
64
- hybridView->setFontFamiliesJson(newProps->fontFamiliesJson.get());
65
- }
66
61
  if (oldProps == nullptr
67
62
  ? newProps->containerSlotHeightsJson.isProvided()
68
63
  : !newProps->containerSlotHeightsJson.hasSameValue(oldProps->containerSlotHeightsJson)) {
69
64
  hybridView->setContainerSlotHeightsJson(newProps->containerSlotHeightsJson.get());
70
65
  }
66
+ if (oldProps == nullptr
67
+ ? newProps->topScrollEdgeHard.isProvided()
68
+ : !newProps->topScrollEdgeHard.hasSameValue(oldProps->topScrollEdgeHard)) {
69
+ hybridView->setTopScrollEdgeHard(newProps->topScrollEdgeHard.get());
70
+ }
71
+ if (oldProps == nullptr
72
+ ? newProps->topOverlayHeight.isProvided()
73
+ : !newProps->topOverlayHeight.hasSameValue(oldProps->topOverlayHeight)) {
74
+ hybridView->setTopOverlayHeight(newProps->topOverlayHeight.get());
75
+ }
71
76
  if (oldProps == nullptr
72
77
  ? newProps->scrollPositionThresholdsJson.isProvided()
73
78
  : !newProps->scrollPositionThresholdsJson.hasSameValue(oldProps->scrollPositionThresholdsJson)) {
@@ -37,13 +37,19 @@ abstract class HybridNativeListSpec: HybridView() {
37
37
  @get:Keep
38
38
  @set:DoNotStrip
39
39
  @set:Keep
40
- abstract var fontFamiliesJson: String
40
+ abstract var containerSlotHeightsJson: String
41
41
 
42
42
  @get:DoNotStrip
43
43
  @get:Keep
44
44
  @set:DoNotStrip
45
45
  @set:Keep
46
- abstract var containerSlotHeightsJson: String
46
+ abstract var topScrollEdgeHard: Boolean
47
+
48
+ @get:DoNotStrip
49
+ @get:Keep
50
+ @set:DoNotStrip
51
+ @set:Keep
52
+ abstract var topOverlayHeight: Double
47
53
 
48
54
  @get:DoNotStrip
49
55
  @get:Keep
@@ -79,13 +79,6 @@ namespace margelo::nitro::nativelist {
79
79
  inline void setSnapshotJson(const std::string& snapshotJson) noexcept override {
80
80
  _swiftPart.setSnapshotJson(snapshotJson);
81
81
  }
82
- inline std::string getFontFamiliesJson() noexcept override {
83
- auto __result = _swiftPart.getFontFamiliesJson();
84
- return __result;
85
- }
86
- inline void setFontFamiliesJson(const std::string& fontFamiliesJson) noexcept override {
87
- _swiftPart.setFontFamiliesJson(fontFamiliesJson);
88
- }
89
82
  inline std::string getContainerSlotHeightsJson() noexcept override {
90
83
  auto __result = _swiftPart.getContainerSlotHeightsJson();
91
84
  return __result;
@@ -93,6 +86,18 @@ namespace margelo::nitro::nativelist {
93
86
  inline void setContainerSlotHeightsJson(const std::string& containerSlotHeightsJson) noexcept override {
94
87
  _swiftPart.setContainerSlotHeightsJson(containerSlotHeightsJson);
95
88
  }
89
+ inline bool getTopScrollEdgeHard() noexcept override {
90
+ return _swiftPart.getTopScrollEdgeHard();
91
+ }
92
+ inline void setTopScrollEdgeHard(bool topScrollEdgeHard) noexcept override {
93
+ _swiftPart.setTopScrollEdgeHard(std::forward<decltype(topScrollEdgeHard)>(topScrollEdgeHard));
94
+ }
95
+ inline double getTopOverlayHeight() noexcept override {
96
+ return _swiftPart.getTopOverlayHeight();
97
+ }
98
+ inline void setTopOverlayHeight(double topOverlayHeight) noexcept override {
99
+ _swiftPart.setTopOverlayHeight(std::forward<decltype(topOverlayHeight)>(topOverlayHeight));
100
+ }
96
101
  inline std::string getScrollPositionThresholdsJson() noexcept override {
97
102
  auto __result = _swiftPart.getScrollPositionThresholdsJson();
98
103
  return __result;
@@ -118,18 +118,24 @@ using namespace margelo::nitro::nativelist::views;
118
118
  : !newViewProps.snapshotJson.hasSameValue(oldViewProps->snapshotJson)) {
119
119
  swiftPart.setSnapshotJson(newViewProps.snapshotJson.get());
120
120
  }
121
- // fontFamiliesJson: string
122
- if (oldViewProps == nullptr
123
- ? newViewProps.fontFamiliesJson.isProvided()
124
- : !newViewProps.fontFamiliesJson.hasSameValue(oldViewProps->fontFamiliesJson)) {
125
- swiftPart.setFontFamiliesJson(newViewProps.fontFamiliesJson.get());
126
- }
127
121
  // containerSlotHeightsJson: string
128
122
  if (oldViewProps == nullptr
129
123
  ? newViewProps.containerSlotHeightsJson.isProvided()
130
124
  : !newViewProps.containerSlotHeightsJson.hasSameValue(oldViewProps->containerSlotHeightsJson)) {
131
125
  swiftPart.setContainerSlotHeightsJson(newViewProps.containerSlotHeightsJson.get());
132
126
  }
127
+ // topScrollEdgeHard: boolean
128
+ if (oldViewProps == nullptr
129
+ ? newViewProps.topScrollEdgeHard.isProvided()
130
+ : !newViewProps.topScrollEdgeHard.hasSameValue(oldViewProps->topScrollEdgeHard)) {
131
+ swiftPart.setTopScrollEdgeHard(newViewProps.topScrollEdgeHard.get());
132
+ }
133
+ // topOverlayHeight: number
134
+ if (oldViewProps == nullptr
135
+ ? newViewProps.topOverlayHeight.isProvided()
136
+ : !newViewProps.topOverlayHeight.hasSameValue(oldViewProps->topOverlayHeight)) {
137
+ swiftPart.setTopOverlayHeight(newViewProps.topOverlayHeight.get());
138
+ }
133
139
  // scrollPositionThresholdsJson: string
134
140
  if (oldViewProps == nullptr
135
141
  ? newViewProps.scrollPositionThresholdsJson.isProvided()
@@ -11,8 +11,9 @@ import NitroModules
11
11
  public protocol HybridNativeListSpec_protocol: HybridObject, HybridView {
12
12
  // Properties
13
13
  var snapshotJson: String { get set }
14
- var fontFamiliesJson: String { get set }
15
14
  var containerSlotHeightsJson: String { get set }
15
+ var topScrollEdgeHard: Bool { get set }
16
+ var topOverlayHeight: Double { get set }
16
17
  var scrollPositionThresholdsJson: String { get set }
17
18
  var onScrollPositionThresholdChange: ((_ isBeyondThreshold: Bool) -> Void)? { get set }
18
19
  var keyboardDismissMode: NativeListKeyboardDismissMode { get set }
@@ -132,25 +132,36 @@ open class HybridNativeListSpec_cxx {
132
132
  }
133
133
  }
134
134
 
135
- public final var fontFamiliesJson: std.string {
135
+ public final var containerSlotHeightsJson: std.string {
136
136
  @inline(__always)
137
137
  get {
138
- return std.string(self.__implementation.fontFamiliesJson)
138
+ return std.string(self.__implementation.containerSlotHeightsJson)
139
139
  }
140
140
  @inline(__always)
141
141
  set {
142
- self.__implementation.fontFamiliesJson = String(newValue)
142
+ self.__implementation.containerSlotHeightsJson = String(newValue)
143
143
  }
144
144
  }
145
145
 
146
- public final var containerSlotHeightsJson: std.string {
146
+ public final var topScrollEdgeHard: Bool {
147
147
  @inline(__always)
148
148
  get {
149
- return std.string(self.__implementation.containerSlotHeightsJson)
149
+ return self.__implementation.topScrollEdgeHard
150
150
  }
151
151
  @inline(__always)
152
152
  set {
153
- self.__implementation.containerSlotHeightsJson = String(newValue)
153
+ self.__implementation.topScrollEdgeHard = newValue
154
+ }
155
+ }
156
+
157
+ public final var topOverlayHeight: Double {
158
+ @inline(__always)
159
+ get {
160
+ return self.__implementation.topOverlayHeight
161
+ }
162
+ @inline(__always)
163
+ set {
164
+ self.__implementation.topOverlayHeight = newValue
154
165
  }
155
166
  }
156
167
 
@@ -16,10 +16,12 @@ namespace margelo::nitro::nativelist {
16
16
  registerHybrids(this, [](Prototype& prototype) {
17
17
  prototype.registerHybridGetter("snapshotJson", &HybridNativeListSpec::getSnapshotJson);
18
18
  prototype.registerHybridSetter("snapshotJson", &HybridNativeListSpec::setSnapshotJson);
19
- prototype.registerHybridGetter("fontFamiliesJson", &HybridNativeListSpec::getFontFamiliesJson);
20
- prototype.registerHybridSetter("fontFamiliesJson", &HybridNativeListSpec::setFontFamiliesJson);
21
19
  prototype.registerHybridGetter("containerSlotHeightsJson", &HybridNativeListSpec::getContainerSlotHeightsJson);
22
20
  prototype.registerHybridSetter("containerSlotHeightsJson", &HybridNativeListSpec::setContainerSlotHeightsJson);
21
+ prototype.registerHybridGetter("topScrollEdgeHard", &HybridNativeListSpec::getTopScrollEdgeHard);
22
+ prototype.registerHybridSetter("topScrollEdgeHard", &HybridNativeListSpec::setTopScrollEdgeHard);
23
+ prototype.registerHybridGetter("topOverlayHeight", &HybridNativeListSpec::getTopOverlayHeight);
24
+ prototype.registerHybridSetter("topOverlayHeight", &HybridNativeListSpec::setTopOverlayHeight);
23
25
  prototype.registerHybridGetter("scrollPositionThresholdsJson", &HybridNativeListSpec::getScrollPositionThresholdsJson);
24
26
  prototype.registerHybridSetter("scrollPositionThresholdsJson", &HybridNativeListSpec::setScrollPositionThresholdsJson);
25
27
  prototype.registerHybridGetter("onScrollPositionThresholdChange", &HybridNativeListSpec::getOnScrollPositionThresholdChange);
@@ -56,10 +56,12 @@ namespace margelo::nitro::nativelist {
56
56
  // Properties
57
57
  virtual std::string getSnapshotJson() = 0;
58
58
  virtual void setSnapshotJson(const std::string& snapshotJson) = 0;
59
- virtual std::string getFontFamiliesJson() = 0;
60
- virtual void setFontFamiliesJson(const std::string& fontFamiliesJson) = 0;
61
59
  virtual std::string getContainerSlotHeightsJson() = 0;
62
60
  virtual void setContainerSlotHeightsJson(const std::string& containerSlotHeightsJson) = 0;
61
+ virtual bool getTopScrollEdgeHard() = 0;
62
+ virtual void setTopScrollEdgeHard(bool topScrollEdgeHard) = 0;
63
+ virtual double getTopOverlayHeight() = 0;
64
+ virtual void setTopOverlayHeight(double topOverlayHeight) = 0;
63
65
  virtual std::string getScrollPositionThresholdsJson() = 0;
64
66
  virtual void setScrollPositionThresholdsJson(const std::string& scrollPositionThresholdsJson) = 0;
65
67
  virtual std::optional<std::function<void(bool /* isBeyondThreshold */)>> getOnScrollPositionThresholdChange() = 0;
@@ -21,8 +21,9 @@ namespace margelo::nitro::nativelist::views {
21
21
  const react::RawProps& rawProps):
22
22
  react::ViewProps(context, sourceProps, rawProps, filterObjectKeys),
23
23
  snapshotJson(nitro::ReactProp<std::string>::fromRawValue("NativeList", "snapshotJson", rawProps, sourceProps.snapshotJson)),
24
- fontFamiliesJson(nitro::ReactProp<std::string>::fromRawValue("NativeList", "fontFamiliesJson", rawProps, sourceProps.fontFamiliesJson)),
25
24
  containerSlotHeightsJson(nitro::ReactProp<std::string>::fromRawValue("NativeList", "containerSlotHeightsJson", rawProps, sourceProps.containerSlotHeightsJson)),
25
+ topScrollEdgeHard(nitro::ReactProp<bool>::fromRawValue("NativeList", "topScrollEdgeHard", rawProps, sourceProps.topScrollEdgeHard)),
26
+ topOverlayHeight(nitro::ReactProp<double>::fromRawValue("NativeList", "topOverlayHeight", rawProps, sourceProps.topOverlayHeight)),
26
27
  scrollPositionThresholdsJson(nitro::ReactProp<std::string>::fromRawValue("NativeList", "scrollPositionThresholdsJson", rawProps, sourceProps.scrollPositionThresholdsJson)),
27
28
  onScrollPositionThresholdChange(nitro::ReactProp<std::optional<std::function<void(bool /* isBeyondThreshold */)>>>::fromRawValue("NativeList", "onScrollPositionThresholdChange", rawProps, sourceProps.onScrollPositionThresholdChange)),
28
29
  keyboardDismissMode(nitro::ReactProp<NativeListKeyboardDismissMode>::fromRawValue("NativeList", "keyboardDismissMode", rawProps, sourceProps.keyboardDismissMode)),
@@ -38,8 +39,9 @@ namespace margelo::nitro::nativelist::views {
38
39
  bool HybridNativeListProps::filterObjectKeys(const std::string& propName) {
39
40
  switch (hashString(propName)) {
40
41
  case hashString("snapshotJson"): return true;
41
- case hashString("fontFamiliesJson"): return true;
42
42
  case hashString("containerSlotHeightsJson"): return true;
43
+ case hashString("topScrollEdgeHard"): return true;
44
+ case hashString("topOverlayHeight"): return true;
43
45
  case hashString("scrollPositionThresholdsJson"): return true;
44
46
  case hashString("onScrollPositionThresholdChange"): return true;
45
47
  case hashString("keyboardDismissMode"): return true;