@rific/scroll-view 0.6.5 → 0.6.7

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.
package/dist/index.js CHANGED
@@ -938,6 +938,7 @@ var PullSearch = (0, import_react10.forwardRef)(function PullSearch2({ debounce,
938
938
  return () => clearTimeout(timeout);
939
939
  }
940
940
  onChangeText(normalizedValue);
941
+ return void 0;
941
942
  }, [debounce, onChangeText, value]);
942
943
  const animatedStyle = (0, import_react_native_reanimated9.useAnimatedStyle)(() => {
943
944
  if (barHeight === 0) return { opacity: 0 };
package/dist/index.mjs CHANGED
@@ -886,6 +886,7 @@ var PullSearch = forwardRef(function PullSearch2({ debounce, onChangeText, onHei
886
886
  return () => clearTimeout(timeout);
887
887
  }
888
888
  onChangeText(normalizedValue);
889
+ return void 0;
889
890
  }, [debounce, onChangeText, value]);
890
891
  const animatedStyle = useAnimatedStyle3(() => {
891
892
  if (barHeight === 0) return { opacity: 0 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rific/scroll-view",
3
- "version": "0.6.5",
3
+ "version": "0.6.7",
4
4
  "description": "Blur styled scroll system for React Native. Floating headers/footers, keyboard awareness, and scroll-away chrome",
5
5
  "keywords": [
6
6
  "react-native",
@@ -44,36 +44,36 @@
44
44
  "!src/__mocks__"
45
45
  ],
46
46
  "scripts": {
47
- "build": "tsup src/index.ts --format cjs,esm --dts --clean",
48
- "build:watch": "tsup src/index.ts --format cjs,esm --dts --watch",
47
+ "build": "tsup",
48
+ "build:watch": "tsup --watch",
49
49
  "fix": "eslint --fix",
50
50
  "lint": "eslint",
51
51
  "prepublishOnly": "npm run build",
52
52
  "release": "git push --follow-tags",
53
- "release:major": "npm version major && git push --follow-tags",
54
- "release:minor": "npm version minor && git push --follow-tags",
55
- "release:patch": "npm version patch && git push --follow-tags",
53
+ "release:major": "npm version major && npm run release",
54
+ "release:minor": "npm version minor && npm run release",
55
+ "release:patch": "npm version patch && npm run release",
56
56
  "test": "jest",
57
- "test:watch": "jest --watchAll",
57
+ "test:watch": "jest --watchAll --coverage=false",
58
58
  "typecheck": "tsc --noEmit",
59
- "preversion": "npm run lint && npm test && npm run build"
59
+ "verify": "npm run lint && npm test && npm run typecheck && npm run build",
60
+ "preversion": "npm run verify"
60
61
  },
62
+ "prettier": "@infinitetoken/eslint-config/prettier",
61
63
  "devDependencies": {
64
+ "@infinitetoken/eslint-config": "^0.1.8",
65
+ "@infinitetoken/jest-config": "^0.2.0",
66
+ "@infinitetoken/tsconfig": "^0.3.0",
62
67
  "@reduxjs/toolkit": "^2.12.0",
63
- "@rific/auto-paper": "^0.9.2",
68
+ "@rific/auto-paper": "^0.10.3",
64
69
  "@testing-library/dom": "^10.4.1",
65
70
  "@testing-library/react": "^16.3.2",
66
71
  "@types/jest": "^30.0.0",
67
72
  "@types/react": "^19.0.0",
68
73
  "@types/react-native": "^0.73.0",
69
- "@typescript-eslint/parser": "^8.59.3",
70
74
  "eslint": "^9.39.4",
71
- "eslint-config-prettier": "^10.1.8",
72
- "eslint-plugin-package-json": "^1.0.0",
73
- "eslint-plugin-prettier": "^5.5.5",
74
75
  "eslint-plugin-react-hooks": "^7.1.1",
75
76
  "eslint-plugin-react-native": "^5.0.0",
76
- "eslint-plugin-simple-import-sort": "^13.0.0",
77
77
  "jest": "^30.4.2",
78
78
  "jest-environment-jsdom": "^30.4.1",
79
79
  "prettier": "^3.8.3",
@@ -86,14 +86,11 @@
86
86
  "react-native-reanimated": "^4.5.1",
87
87
  "react-native-safe-area-context": "*",
88
88
  "react-native-worklets": "^0.10.3",
89
- "ts-jest": "^29.4.9",
90
- "ts-node": "^10.9.2",
91
89
  "tsup": "^8.0.0",
92
- "typescript": "^6.0.3",
93
- "typescript-eslint": "^8.59.3"
90
+ "typescript": "^6.0.3"
94
91
  },
95
92
  "peerDependencies": {
96
- "@rific/auto-paper": "^0.9.2",
93
+ "@rific/auto-paper": "^0.10.0",
97
94
  "react": ">=19.0.0",
98
95
  "react-native": ">=0.83.0",
99
96
  "react-native-gesture-handler": ">=2.0.0 <3.0.0",
@@ -77,6 +77,7 @@ export const PullSearch = forwardRef<PullSearchHandle, PullSearchProps>(function
77
77
  return () => clearTimeout(timeout)
78
78
  }
79
79
  onChangeText(normalizedValue)
80
+ return undefined
80
81
  }, [debounce, onChangeText, value])
81
82
 
82
83
  // Fade out as the bar scrolls up into the header blur region.