@btfash/react-native-reanimated-dnd 1.1.0
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/LICENSE +21 -0
- package/README.md +1238 -0
- package/documentation/web-docs/README.md +41 -0
- package/example-app/.expo/README.md +8 -0
- package/example-app/README.md +515 -0
- package/lib/components/Draggable.d.ts +5 -0
- package/lib/components/Draggable.js +1 -0
- package/lib/components/Droppable.d.ts +3 -0
- package/lib/components/Droppable.js +1 -0
- package/lib/components/Sortable.d.ts +3 -0
- package/lib/components/Sortable.js +1 -0
- package/lib/components/SortableItem.d.ts +6 -0
- package/lib/components/SortableItem.js +1 -0
- package/lib/components/sortableUtils.d.ts +33 -0
- package/lib/components/sortableUtils.js +1 -0
- package/lib/context/DropContext.d.ts +3 -0
- package/lib/context/DropContext.js +1 -0
- package/lib/hooks/index.d.ts +6 -0
- package/lib/hooks/index.js +1 -0
- package/lib/hooks/useDraggable.d.ts +2 -0
- package/lib/hooks/useDraggable.js +1 -0
- package/lib/hooks/useDroppable.d.ts +2 -0
- package/lib/hooks/useDroppable.js +1 -0
- package/lib/hooks/useHorizontalSortable.d.ts +2 -0
- package/lib/hooks/useHorizontalSortable.js +1 -0
- package/lib/hooks/useHorizontalSortableList.d.ts +4 -0
- package/lib/hooks/useHorizontalSortableList.js +1 -0
- package/lib/hooks/useSortable.d.ts +50 -0
- package/lib/hooks/useSortable.js +1 -0
- package/lib/hooks/useSortableList.d.ts +27 -0
- package/lib/hooks/useSortableList.js +1 -0
- package/lib/index.d.ts +13 -0
- package/lib/index.js +1 -0
- package/lib/types/context.d.ts +67 -0
- package/lib/types/context.js +1 -0
- package/lib/types/draggable.d.ts +54 -0
- package/lib/types/draggable.js +1 -0
- package/lib/types/droppable.d.ts +26 -0
- package/lib/types/droppable.js +1 -0
- package/lib/types/index.d.ts +4 -0
- package/lib/types/index.js +1 -0
- package/lib/types/sortable.d.ts +233 -0
- package/lib/types/sortable.js +1 -0
- package/package.json +66 -0
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@btfash/react-native-reanimated-dnd",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "A powerful drag-and-drop library for React Native using Reanimated 3",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./lib/index.d.ts",
|
|
12
|
+
"import": "./lib/index.js",
|
|
13
|
+
"default": "./lib/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsc && npm run minify",
|
|
19
|
+
"build:safe": "tsc",
|
|
20
|
+
"build:clean": "rm -rf lib && npm run build",
|
|
21
|
+
"build:clean:safe": "rm -rf lib && npm run build:safe",
|
|
22
|
+
"minify": "node scripts/build.js",
|
|
23
|
+
"type-check": "tsc --noEmit",
|
|
24
|
+
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,yml,yaml}\" --ignore-path .prettierignore",
|
|
25
|
+
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,md,yml,yaml}\" --ignore-path .prettierignore",
|
|
26
|
+
"prepare": "npm run build"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"react-native",
|
|
30
|
+
"drag-and-drop",
|
|
31
|
+
"reanimated",
|
|
32
|
+
"sortable",
|
|
33
|
+
"dnd",
|
|
34
|
+
"gesture-handler"
|
|
35
|
+
],
|
|
36
|
+
"author": "Vishesh Raheja <github.com/entropyconquers>",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/entropyconquers/react-native-reanimated-dnd.git"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://react-native-reanimated-dnd.netlify.app/",
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"react": ">=16.8.0",
|
|
45
|
+
"react-native": ">=0.60.0",
|
|
46
|
+
"react-native-gesture-handler": ">=2.0.0",
|
|
47
|
+
"react-native-reanimated": ">=3.0.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/node": "^20.0.0",
|
|
51
|
+
"@types/react": "~19.1.10",
|
|
52
|
+
"prettier": "^3.5.3",
|
|
53
|
+
"react": "19.1.0",
|
|
54
|
+
"react-native": "0.81.5",
|
|
55
|
+
"react-native-gesture-handler": "~2.28.0",
|
|
56
|
+
"react-native-reanimated": "~4.1.1",
|
|
57
|
+
"terser": "^5.36.0",
|
|
58
|
+
"typescript": "^5.0.0"
|
|
59
|
+
},
|
|
60
|
+
"files": [
|
|
61
|
+
"lib/**/*.js",
|
|
62
|
+
"lib/**/*.d.ts",
|
|
63
|
+
"README.md",
|
|
64
|
+
"LICENSE"
|
|
65
|
+
]
|
|
66
|
+
}
|