├── .github ├── FUNDING.yml ├── assets │ ├── DraggableStackExample.gif │ ├── demo.gif │ ├── logo.png │ └── logo2.png └── workflows │ ├── main.yaml │ └── pages.yaml ├── .gitignore ├── .npmrc ├── .release-it.json ├── LICENSE.md ├── README.md ├── babel.config.cjs ├── docs ├── .gitignore ├── .prettierrc ├── README.md ├── astro.config.mjs ├── package.json ├── pnpm-lock.yaml ├── public │ └── favicon.svg ├── src │ ├── components │ │ ├── Link.tsx │ │ ├── Logo.tsx │ │ ├── Search.tsx │ │ ├── icon │ │ │ ├── CloseIcon.tsx │ │ │ ├── DarkIcon.tsx │ │ │ ├── GitHubIcon.tsx │ │ │ ├── LightIcon.tsx │ │ │ ├── MenuIcon.tsx │ │ │ ├── SearchIcon.tsx │ │ │ ├── SystemIcon.tsx │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── layout │ │ │ ├── Article.tsx │ │ │ ├── Header.tsx │ │ │ ├── MobileNavigation.tsx │ │ │ ├── Navigation.tsx │ │ │ └── index.ts │ │ └── markdown │ │ │ ├── CodeBlock.astro │ │ │ ├── Properties.astro │ │ │ ├── Property.astro │ │ │ ├── components │ │ │ ├── ClipboardIcon.tsx │ │ │ └── CopyButton.tsx │ │ │ └── index.ts │ ├── config │ │ ├── env.ts │ │ └── navigation.ts │ ├── content │ │ ├── config.ts │ │ └── docs │ │ │ ├── components │ │ │ ├── Draggable.mdx │ │ │ ├── DraggableGrid.mdx │ │ │ ├── DraggableStack.mdx │ │ │ └── Droppable.mdx │ │ │ ├── guides │ │ │ ├── data.mdx │ │ │ ├── install.mdx │ │ │ ├── introduction.mdx │ │ │ └── quickstart.mdx │ │ │ ├── hooks │ │ │ ├── useActiveDragReaction.mdx │ │ │ ├── useActiveDropReaction.mdx │ │ │ ├── useDraggable.mdx │ │ │ ├── useDraggableActiveId.mdx │ │ │ └── useDroppable.mdx │ │ │ ├── providers │ │ │ └── DndProvider.mdx │ │ │ └── utils │ │ │ ├── useEvent.mdx │ │ │ ├── useLatestValue.mdx │ │ │ └── useNodeRef.mdx │ ├── env.d.ts │ ├── hooks │ │ ├── index.ts │ │ ├── useDidMount.ts │ │ ├── useIsScrolled.ts │ │ └── useNavigationStore.ts │ ├── layouts │ │ └── main.astro │ ├── pages │ │ ├── [...slug].astro │ │ └── index.astro │ ├── styles │ │ ├── base.css │ │ ├── main.css │ │ └── reset.css │ └── utils │ │ ├── classNames.ts │ │ ├── index.ts │ │ └── string.ts ├── tailwind.config.mjs └── tsconfig.json ├── eslint.config.js ├── example └── src │ ├── App.tsx │ └── pages │ ├── DraggableBasicExample.tsx │ ├── DraggableGridExample.tsx │ └── DraggableStackExample.tsx ├── jest.config.cjs ├── package.json ├── pnpm-lock.yaml ├── prettier.config.js ├── src ├── DndContext.ts ├── DndProvider.tsx ├── components │ ├── Draggable.tsx │ ├── Droppable.tsx │ └── index.ts ├── features │ ├── index.ts │ └── sort │ │ ├── components │ │ ├── DraggableGrid.tsx │ │ ├── DraggableStack.tsx │ │ └── index.ts │ │ ├── hooks │ │ ├── index.ts │ │ ├── useDraggableGrid.ts │ │ ├── useDraggableSort.ts │ │ └── useDraggableStack.ts │ │ └── index.ts ├── hooks │ ├── index.ts │ ├── useActiveDragReaction.ts │ ├── useActiveDropReaction.ts │ ├── useChildrenIds.ts │ ├── useDraggable.ts │ ├── useDraggableActiveId.ts │ ├── useDraggableStyle.tsx │ ├── useDroppable.ts │ ├── useDroppableStyle.tsx │ ├── useEvent.ts │ ├── useLatestSharedValue.ts │ ├── useLatestValue.ts │ ├── useNodeRef.ts │ ├── useSharedPoint.ts │ └── useSharedValuePair.ts ├── index.ts ├── types │ ├── common.ts │ ├── index.ts │ └── reanimated.ts └── utils │ ├── array.ts │ ├── assert.ts │ ├── collision.ts │ ├── geometry.ts │ ├── index.ts │ ├── random.ts │ └── reanimated.ts ├── test ├── DndProvider.spec.tsx └── setup.ts ├── tsconfig.build.json └── tsconfig.json /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/assets/DraggableStackExample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/.github/assets/DraggableStackExample.gif -------------------------------------------------------------------------------- /.github/assets/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/.github/assets/demo.gif -------------------------------------------------------------------------------- /.github/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/.github/assets/logo.png -------------------------------------------------------------------------------- /.github/assets/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/.github/assets/logo2.png -------------------------------------------------------------------------------- /.github/workflows/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/.github/workflows/main.yaml -------------------------------------------------------------------------------- /.github/workflows/pages.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/.github/workflows/pages.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | node-linker=hoisted 2 | -------------------------------------------------------------------------------- /.release-it.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/.release-it.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/babel.config.cjs -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/.gitignore -------------------------------------------------------------------------------- /docs/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/.prettierrc -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/astro.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/astro.config.mjs -------------------------------------------------------------------------------- /docs/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/package.json -------------------------------------------------------------------------------- /docs/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/pnpm-lock.yaml -------------------------------------------------------------------------------- /docs/public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/public/favicon.svg -------------------------------------------------------------------------------- /docs/src/components/Link.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/Link.tsx -------------------------------------------------------------------------------- /docs/src/components/Logo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/Logo.tsx -------------------------------------------------------------------------------- /docs/src/components/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/Search.tsx -------------------------------------------------------------------------------- /docs/src/components/icon/CloseIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/icon/CloseIcon.tsx -------------------------------------------------------------------------------- /docs/src/components/icon/DarkIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/icon/DarkIcon.tsx -------------------------------------------------------------------------------- /docs/src/components/icon/GitHubIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/icon/GitHubIcon.tsx -------------------------------------------------------------------------------- /docs/src/components/icon/LightIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/icon/LightIcon.tsx -------------------------------------------------------------------------------- /docs/src/components/icon/MenuIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/icon/MenuIcon.tsx -------------------------------------------------------------------------------- /docs/src/components/icon/SearchIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/icon/SearchIcon.tsx -------------------------------------------------------------------------------- /docs/src/components/icon/SystemIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/icon/SystemIcon.tsx -------------------------------------------------------------------------------- /docs/src/components/icon/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/icon/index.ts -------------------------------------------------------------------------------- /docs/src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/index.ts -------------------------------------------------------------------------------- /docs/src/components/layout/Article.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/layout/Article.tsx -------------------------------------------------------------------------------- /docs/src/components/layout/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/layout/Header.tsx -------------------------------------------------------------------------------- /docs/src/components/layout/MobileNavigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/layout/MobileNavigation.tsx -------------------------------------------------------------------------------- /docs/src/components/layout/Navigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/layout/Navigation.tsx -------------------------------------------------------------------------------- /docs/src/components/layout/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/layout/index.ts -------------------------------------------------------------------------------- /docs/src/components/markdown/CodeBlock.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/markdown/CodeBlock.astro -------------------------------------------------------------------------------- /docs/src/components/markdown/Properties.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/markdown/Properties.astro -------------------------------------------------------------------------------- /docs/src/components/markdown/Property.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/markdown/Property.astro -------------------------------------------------------------------------------- /docs/src/components/markdown/components/ClipboardIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/markdown/components/ClipboardIcon.tsx -------------------------------------------------------------------------------- /docs/src/components/markdown/components/CopyButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/markdown/components/CopyButton.tsx -------------------------------------------------------------------------------- /docs/src/components/markdown/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/components/markdown/index.ts -------------------------------------------------------------------------------- /docs/src/config/env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/config/env.ts -------------------------------------------------------------------------------- /docs/src/config/navigation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/config/navigation.ts -------------------------------------------------------------------------------- /docs/src/content/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/config.ts -------------------------------------------------------------------------------- /docs/src/content/docs/components/Draggable.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/components/Draggable.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/components/DraggableGrid.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/components/DraggableGrid.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/components/DraggableStack.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/components/DraggableStack.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/components/Droppable.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/components/Droppable.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/guides/data.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/guides/data.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/guides/install.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/guides/install.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/guides/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/guides/introduction.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/guides/quickstart.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/guides/quickstart.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/hooks/useActiveDragReaction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/hooks/useActiveDragReaction.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/hooks/useActiveDropReaction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/hooks/useActiveDropReaction.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/hooks/useDraggable.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/hooks/useDraggable.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/hooks/useDraggableActiveId.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/hooks/useDraggableActiveId.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/hooks/useDroppable.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/hooks/useDroppable.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/providers/DndProvider.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/providers/DndProvider.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/utils/useEvent.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/utils/useEvent.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/utils/useLatestValue.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/utils/useLatestValue.mdx -------------------------------------------------------------------------------- /docs/src/content/docs/utils/useNodeRef.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/content/docs/utils/useNodeRef.mdx -------------------------------------------------------------------------------- /docs/src/env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/env.d.ts -------------------------------------------------------------------------------- /docs/src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/hooks/index.ts -------------------------------------------------------------------------------- /docs/src/hooks/useDidMount.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/hooks/useDidMount.ts -------------------------------------------------------------------------------- /docs/src/hooks/useIsScrolled.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/hooks/useIsScrolled.ts -------------------------------------------------------------------------------- /docs/src/hooks/useNavigationStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/hooks/useNavigationStore.ts -------------------------------------------------------------------------------- /docs/src/layouts/main.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/layouts/main.astro -------------------------------------------------------------------------------- /docs/src/pages/[...slug].astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/pages/[...slug].astro -------------------------------------------------------------------------------- /docs/src/pages/index.astro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/pages/index.astro -------------------------------------------------------------------------------- /docs/src/styles/base.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/styles/base.css -------------------------------------------------------------------------------- /docs/src/styles/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/styles/main.css -------------------------------------------------------------------------------- /docs/src/styles/reset.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/styles/reset.css -------------------------------------------------------------------------------- /docs/src/utils/classNames.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/utils/classNames.ts -------------------------------------------------------------------------------- /docs/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/utils/index.ts -------------------------------------------------------------------------------- /docs/src/utils/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/src/utils/string.ts -------------------------------------------------------------------------------- /docs/tailwind.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/tailwind.config.mjs -------------------------------------------------------------------------------- /docs/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/docs/tsconfig.json -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/eslint.config.js -------------------------------------------------------------------------------- /example/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/example/src/App.tsx -------------------------------------------------------------------------------- /example/src/pages/DraggableBasicExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/example/src/pages/DraggableBasicExample.tsx -------------------------------------------------------------------------------- /example/src/pages/DraggableGridExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/example/src/pages/DraggableGridExample.tsx -------------------------------------------------------------------------------- /example/src/pages/DraggableStackExample.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/example/src/pages/DraggableStackExample.tsx -------------------------------------------------------------------------------- /jest.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/jest.config.cjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/prettier.config.js -------------------------------------------------------------------------------- /src/DndContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/DndContext.ts -------------------------------------------------------------------------------- /src/DndProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/DndProvider.tsx -------------------------------------------------------------------------------- /src/components/Draggable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/components/Draggable.tsx -------------------------------------------------------------------------------- /src/components/Droppable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/components/Droppable.tsx -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/components/index.ts -------------------------------------------------------------------------------- /src/features/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./sort"; 2 | -------------------------------------------------------------------------------- /src/features/sort/components/DraggableGrid.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/features/sort/components/DraggableGrid.tsx -------------------------------------------------------------------------------- /src/features/sort/components/DraggableStack.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/features/sort/components/DraggableStack.tsx -------------------------------------------------------------------------------- /src/features/sort/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/features/sort/components/index.ts -------------------------------------------------------------------------------- /src/features/sort/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/features/sort/hooks/index.ts -------------------------------------------------------------------------------- /src/features/sort/hooks/useDraggableGrid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/features/sort/hooks/useDraggableGrid.ts -------------------------------------------------------------------------------- /src/features/sort/hooks/useDraggableSort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/features/sort/hooks/useDraggableSort.ts -------------------------------------------------------------------------------- /src/features/sort/hooks/useDraggableStack.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/features/sort/hooks/useDraggableStack.ts -------------------------------------------------------------------------------- /src/features/sort/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/features/sort/index.ts -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/index.ts -------------------------------------------------------------------------------- /src/hooks/useActiveDragReaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useActiveDragReaction.ts -------------------------------------------------------------------------------- /src/hooks/useActiveDropReaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useActiveDropReaction.ts -------------------------------------------------------------------------------- /src/hooks/useChildrenIds.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useChildrenIds.ts -------------------------------------------------------------------------------- /src/hooks/useDraggable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useDraggable.ts -------------------------------------------------------------------------------- /src/hooks/useDraggableActiveId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useDraggableActiveId.ts -------------------------------------------------------------------------------- /src/hooks/useDraggableStyle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useDraggableStyle.tsx -------------------------------------------------------------------------------- /src/hooks/useDroppable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useDroppable.ts -------------------------------------------------------------------------------- /src/hooks/useDroppableStyle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useDroppableStyle.tsx -------------------------------------------------------------------------------- /src/hooks/useEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useEvent.ts -------------------------------------------------------------------------------- /src/hooks/useLatestSharedValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useLatestSharedValue.ts -------------------------------------------------------------------------------- /src/hooks/useLatestValue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useLatestValue.ts -------------------------------------------------------------------------------- /src/hooks/useNodeRef.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useNodeRef.ts -------------------------------------------------------------------------------- /src/hooks/useSharedPoint.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useSharedPoint.ts -------------------------------------------------------------------------------- /src/hooks/useSharedValuePair.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/hooks/useSharedValuePair.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types/common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/types/common.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/types/reanimated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/types/reanimated.ts -------------------------------------------------------------------------------- /src/utils/array.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/utils/array.ts -------------------------------------------------------------------------------- /src/utils/assert.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/utils/assert.ts -------------------------------------------------------------------------------- /src/utils/collision.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/utils/collision.ts -------------------------------------------------------------------------------- /src/utils/geometry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/utils/geometry.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/random.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/utils/random.ts -------------------------------------------------------------------------------- /src/utils/reanimated.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/src/utils/reanimated.ts -------------------------------------------------------------------------------- /test/DndProvider.spec.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/test/DndProvider.spec.tsx -------------------------------------------------------------------------------- /test/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/test/setup.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mgcrea/react-native-dnd/HEAD/tsconfig.json --------------------------------------------------------------------------------