@onekeyfe/react-native-native-list 6.7.0-alpha.432 → 6.7.0-alpha.435

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.
@@ -1,6 +1,6 @@
1
1
  import type { ScrollEdgeEffect } from './ScrollEdgeEffect';
2
2
  import type { ReactNode, RefObject } from 'react';
3
- import type { View, ViewProps } from 'react-native';
3
+ import type { ViewInstance, ViewProps } from 'react-native';
4
4
  import type { ActionAnchorInvalidatedEvent, EndReachedEvent, NativeListSnapshot, ReorderEvent, RowActionEvent, RowModel, RowPatch, SelectionDeltaEvent, VisibleRangeChangedEvent } from './models';
5
5
  export type ActionAnchorState = Readonly<{
6
6
  token: string;
@@ -114,7 +114,7 @@ export type NativeListProps = Omit<ViewProps, 'children'> & Readonly<{
114
114
  /** Web only: visible sticky chrome above the parent's list viewport. */
115
115
  webStickyInset?: number;
116
116
  /** Web only. Hosts the section index inside this container. */
117
- webSectionIndexContainerRef?: RefObject<View | null>;
117
+ webSectionIndexContainerRef?: RefObject<ViewInstance | null>;
118
118
  /** Defaults to `none`. `interactive` behaves as `none` on Android. */
119
119
  keyboardDismissMode?: NativeListKeyboardDismissMode;
120
120
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-native-list",
3
- "version": "6.7.0-alpha.432",
3
+ "version": "6.7.0-alpha.435",
4
4
  "description": "Template-driven native RecyclerView and UICollectionView for React Native",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/module/index.js",
@@ -70,10 +70,10 @@
70
70
  "@eslint/compat": "^1.3.2",
71
71
  "@eslint/eslintrc": "^3.3.1",
72
72
  "@eslint/js": "^9.35.0",
73
- "@react-native/babel-preset": "0.86.2",
74
- "@react-native/eslint-config": "0.86.2",
73
+ "@react-native/babel-preset": "0.88.0",
74
+ "@react-native/eslint-config": "0.88.0",
75
75
  "@types/jest": "^29.5.14",
76
- "@types/react": "^19.2.0",
76
+ "@types/react": "^19.3.0",
77
77
  "del-cli": "^6.0.0",
78
78
  "eslint": "^9.35.0",
79
79
  "eslint-config-prettier": "^10.1.8",
@@ -82,15 +82,15 @@
82
82
  "jsdom": "26.1.0",
83
83
  "nitrogen": "0.37.0",
84
84
  "prettier": "^2.8.8",
85
- "react": "19.2.3",
86
- "react-native": "patch:react-native@npm%3A0.86.2#~/.yarn/patches/react-native-npm-0.86.2-c9d546616f.patch",
85
+ "react": "19.3.0",
86
+ "react-native": "patch:react-native@npm%3A0.88.0#~/.yarn/patches/react-native-npm-0.88.0-60c6201dd2.patch",
87
87
  "react-native-builder-bob": "^0.40.13",
88
88
  "react-native-nitro-modules": "0.37.0",
89
89
  "typescript": "^5.9.2"
90
90
  },
91
91
  "peerDependencies": {
92
- "@onekeyfe/react-native-image": "6.7.0-alpha.432",
93
- "@onekeyfe/react-native-native-logger": "6.7.0-alpha.432",
92
+ "@onekeyfe/react-native-image": "6.7.0-alpha.435",
93
+ "@onekeyfe/react-native-native-logger": "6.7.0-alpha.435",
94
94
  "react": "*",
95
95
  "react-native": "*",
96
96
  "react-native-nitro-modules": "0.37.0"
@@ -121,7 +121,7 @@
121
121
  ]
122
122
  },
123
123
  "jest": {
124
- "preset": "react-native",
124
+ "preset": "@react-native/jest-preset",
125
125
  "modulePathIgnorePatterns": [
126
126
  "<rootDir>/lib/"
127
127
  ],
@@ -1,6 +1,6 @@
1
1
  import type { ScrollEdgeEffect } from './ScrollEdgeEffect';
2
2
  import type { ReactNode, RefObject } from 'react';
3
- import type { View, ViewProps } from 'react-native';
3
+ import type { ViewInstance, ViewProps } from 'react-native';
4
4
  import type {
5
5
  ActionAnchorInvalidatedEvent,
6
6
  EndReachedEvent,
@@ -161,7 +161,7 @@ export type NativeListProps = Omit<ViewProps, 'children'> &
161
161
  /** Web only: visible sticky chrome above the parent's list viewport. */
162
162
  webStickyInset?: number;
163
163
  /** Web only. Hosts the section index inside this container. */
164
- webSectionIndexContainerRef?: RefObject<View | null>;
164
+ webSectionIndexContainerRef?: RefObject<ViewInstance | null>;
165
165
  /** Defaults to `none`. `interactive` behaves as `none` on Android. */
166
166
  keyboardDismissMode?: NativeListKeyboardDismissMode;
167
167
  /**