From fd755e818aae64c76bb3d6897a9ea6cbee763f92 Mon Sep 17 00:00:00 2001 From: Clauderic Demers Date: Mon, 3 Jun 2024 11:12:28 -0400 Subject: [PATCH] Clean up --- .github/label.yml | 30 ------------------ .github/workflows/chromatic.yml | 2 +- .github/workflows/size.yml | 18 ----------- apps/{docs => storybook}/.eslintrc.js | 0 .../.storybook/assets/apple-touch-icon.png | Bin .../.storybook/assets/dnd-kit-banner.svg | 0 .../.storybook/assets/favicon-16x16.png | Bin .../.storybook/assets/favicon-32x32.png | Bin .../.storybook/assets/favicon.ico | Bin apps/{docs => storybook}/.storybook/main.ts | 0 .../.storybook/manager-head.html | 0 .../{docs => storybook}/.storybook/manager.ts | 0 .../.storybook/preview-head.html | 0 .../.storybook/preview.tsx | 0 apps/{docs => storybook}/.storybook/theme.ts | 0 apps/{docs => storybook}/package.json | 2 +- .../stories/assets/draggableIcon.svg | 0 .../stories/assets/droppableIcon.svg | 0 .../components/Button/Button.module.css | 0 .../stories/components/Button/Button.ts | 0 .../stories/components/Button/index.ts | 0 .../components/Dropzone/Dropzone.module.css | 0 .../stories/components/Dropzone/Dropzone.ts | 0 .../stories/components/Dropzone/index.ts | 0 .../stories/components/Item/Item.css | 0 .../stories/components/Item/Item.ts | 0 .../stories/components/Item/index.ts | 0 .../components/docs/Code/Code.module.css | 0 .../stories/components/docs/Code/Code.tsx | 0 .../CodeHighlighter.module.css | 0 .../CodeHighlighter/CodeHighlighter.tsx | 0 .../Code/components/CodeHighlighter/copy.svg | 0 .../Code/components/CodeHighlighter/index.ts | 0 .../components/docs/Code/components/index.ts | 0 .../stories/components/docs/Code/index.ts | 0 .../components/docs/Info/Info.module.css | 0 .../stories/components/docs/Info/Info.tsx | 0 .../stories/components/docs/Info/index.ts | 0 .../docs/Preview/Preview.module.css | 0 .../components/docs/Preview/Preview.tsx | 0 .../stories/components/docs/Preview/index.ts | 0 .../stories/components/docs/index.ts | 0 .../stories/components/index.ts | 0 .../DragHandles/DragHandles.stories.tsx | 0 .../DragHandles/docs/DragHandles.mdx | 0 .../react/Draggable/Draggable.stories.tsx | 0 .../react/Draggable/DraggableExample.tsx | 0 .../Draggable/Modifiers/Modifiers.stories.tsx | 0 .../Draggable/Modifiers/docs/ModifierDocs.mdx | 0 .../Draggable/Modifiers/styles.module.css | 0 .../Draggable/Sensors/Sensors.stories.tsx | 0 .../Draggable/Sensors/docs/SensorDocs.mdx | 0 .../react/Draggable/docs/DraggableDocs.mdx | 0 .../Draggable/docs/examples/Draggable.jsx | 0 .../docs/examples/MultipleDraggable.jsx | 0 .../Draggable/docs/examples/QuickStart.jsx | 0 .../react/Droppable/Droppable.stories.tsx | 0 .../react/Droppable/DroppableExample.tsx | 0 .../MultipleDroppable.stories.tsx | 0 .../react/Droppable/docs/DroppableDocs.mdx | 0 .../Droppable/docs/examples/Draggable.jsx | 0 .../Droppable/docs/examples/Droppable.jsx | 0 .../docs/examples/MultipleDroppable.jsx | 0 .../Droppable/docs/examples/QuickStart.jsx | 0 .../stories/react/Resizeable/Resizeable.css | 0 .../stories/react/Resizeable/Resizeable.tsx | 0 .../stories/react/Resizeable/index.ts | 0 .../react/Sortable/Grid/Grid.stories.tsx | 0 .../Horizontal/Horizontal.stories.tsx | 0 .../MultipleLists/MultipleLists.stories.tsx | 0 .../Sortable/MultipleLists/MultipleLists.tsx | 0 .../MultipleLists/docs/MultipleLists.mdx | 0 .../MultipleLists/docs/examples/Column.jsx | 0 .../MultipleLists/docs/examples/Item.jsx | 0 .../docs/examples/QuickStart.jsx | 0 .../react/Sortable/Sortable.stories.tsx | 0 .../react/Sortable/SortableExample.tsx | 0 .../stories/react/Sortable/Tree/types.ts | 0 .../stories/react/Sortable/Tree/utilities.ts | 0 .../Sortable/Vertical/Vertical.stories.tsx | 0 .../ReactTinyVirtualListExample.tsx | 0 .../Virtualized/ReactVirtualExample.tsx | 0 .../Virtualized/ReactWindowExample.tsx | 0 .../Virtualized/Virtualized.stories.tsx | 0 .../react/Sortable/docs/SortableDocs.mdx | 0 .../Sortable/docs/assets/useSortable.png | Bin .../Sortable/docs/examples/QuickStart.jsx | 0 .../react/components/Actions/Action.tsx | 0 .../components/Actions/Actions.module.css | 0 .../react/components/Actions/Actions.tsx | 0 .../react/components/Actions/Remove.tsx | 0 .../stories/react/components/Actions/index.ts | 0 .../react/components/Button/Button.tsx | 0 .../stories/react/components/Button/index.ts | 0 .../components/Container/Container.module.css | 0 .../react/components/Container/Container.tsx | 0 .../react/components/Container/index.ts | 0 .../react/components/Dropzone/Dropzone.tsx | 0 .../react/components/Dropzone/index.ts | 0 .../react/components/Handle/Handle.tsx | 0 .../stories/react/components/Handle/index.ts | 0 .../stories/react/components/Item/Item.tsx | 0 .../stories/react/components/Item/index.ts | 0 .../stories/react/components/index.ts | 0 .../stories/react/icons/DraggableIcon.tsx | 0 .../stories/react/icons/index.ts | 0 .../stories/utilities/classnames.ts | 0 .../stories/utilities/cloneDeep.ts | 0 .../stories/utilities/createRange.ts | 0 .../stories/utilities/index.ts | 0 .../vanilla/Droppable/Droppable.stories.tsx | 0 .../Droppable/VanillaDroppableExample.ts | 0 .../stories/vanilla/utilities.ts | 0 apps/{docs => storybook}/tsconfig.json | 0 packages/abstract/package.json | 2 +- .../abstract/src/core/collision/notifier.ts | 15 +++------ packages/collision/package.json | 2 +- packages/dom/package.json | 2 +- packages/dom/src/core/index.ts | 2 +- .../dom/src/core/plugins/feedback/index.ts | 1 - packages/dom/src/core/plugins/index.ts | 2 +- packages/eslint-config/package.json | 2 +- packages/geometry/package.json | 2 +- packages/helpers/package.json | 2 +- packages/react/package.json | 2 +- packages/state/package.json | 2 +- 126 files changed, 17 insertions(+), 71 deletions(-) delete mode 100644 .github/label.yml delete mode 100644 .github/workflows/size.yml rename apps/{docs => storybook}/.eslintrc.js (100%) rename apps/{docs => storybook}/.storybook/assets/apple-touch-icon.png (100%) rename apps/{docs => storybook}/.storybook/assets/dnd-kit-banner.svg (100%) rename apps/{docs => storybook}/.storybook/assets/favicon-16x16.png (100%) rename apps/{docs => storybook}/.storybook/assets/favicon-32x32.png (100%) rename apps/{docs => storybook}/.storybook/assets/favicon.ico (100%) rename apps/{docs => storybook}/.storybook/main.ts (100%) rename apps/{docs => storybook}/.storybook/manager-head.html (100%) rename apps/{docs => storybook}/.storybook/manager.ts (100%) rename apps/{docs => storybook}/.storybook/preview-head.html (100%) rename apps/{docs => storybook}/.storybook/preview.tsx (100%) rename apps/{docs => storybook}/.storybook/theme.ts (100%) rename apps/{docs => storybook}/package.json (96%) rename apps/{docs => storybook}/stories/assets/draggableIcon.svg (100%) rename apps/{docs => storybook}/stories/assets/droppableIcon.svg (100%) rename apps/{docs => storybook}/stories/components/Button/Button.module.css (100%) rename apps/{docs => storybook}/stories/components/Button/Button.ts (100%) rename apps/{docs => storybook}/stories/components/Button/index.ts (100%) rename apps/{docs => storybook}/stories/components/Dropzone/Dropzone.module.css (100%) rename apps/{docs => storybook}/stories/components/Dropzone/Dropzone.ts (100%) rename apps/{docs => storybook}/stories/components/Dropzone/index.ts (100%) rename apps/{docs => storybook}/stories/components/Item/Item.css (100%) rename apps/{docs => storybook}/stories/components/Item/Item.ts (100%) rename apps/{docs => storybook}/stories/components/Item/index.ts (100%) rename apps/{docs => storybook}/stories/components/docs/Code/Code.module.css (100%) rename apps/{docs => storybook}/stories/components/docs/Code/Code.tsx (100%) rename apps/{docs => storybook}/stories/components/docs/Code/components/CodeHighlighter/CodeHighlighter.module.css (100%) rename apps/{docs => storybook}/stories/components/docs/Code/components/CodeHighlighter/CodeHighlighter.tsx (100%) rename apps/{docs => storybook}/stories/components/docs/Code/components/CodeHighlighter/copy.svg (100%) rename apps/{docs => storybook}/stories/components/docs/Code/components/CodeHighlighter/index.ts (100%) rename apps/{docs => storybook}/stories/components/docs/Code/components/index.ts (100%) rename apps/{docs => storybook}/stories/components/docs/Code/index.ts (100%) rename apps/{docs => storybook}/stories/components/docs/Info/Info.module.css (100%) rename apps/{docs => storybook}/stories/components/docs/Info/Info.tsx (100%) rename apps/{docs => storybook}/stories/components/docs/Info/index.ts (100%) rename apps/{docs => storybook}/stories/components/docs/Preview/Preview.module.css (100%) rename apps/{docs => storybook}/stories/components/docs/Preview/Preview.tsx (100%) rename apps/{docs => storybook}/stories/components/docs/Preview/index.ts (100%) rename apps/{docs => storybook}/stories/components/docs/index.ts (100%) rename apps/{docs => storybook}/stories/components/index.ts (100%) rename apps/{docs => storybook}/stories/react/Draggable/DragHandles/DragHandles.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Draggable/DragHandles/docs/DragHandles.mdx (100%) rename apps/{docs => storybook}/stories/react/Draggable/Draggable.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Draggable/DraggableExample.tsx (100%) rename apps/{docs => storybook}/stories/react/Draggable/Modifiers/Modifiers.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Draggable/Modifiers/docs/ModifierDocs.mdx (100%) rename apps/{docs => storybook}/stories/react/Draggable/Modifiers/styles.module.css (100%) rename apps/{docs => storybook}/stories/react/Draggable/Sensors/Sensors.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Draggable/Sensors/docs/SensorDocs.mdx (100%) rename apps/{docs => storybook}/stories/react/Draggable/docs/DraggableDocs.mdx (100%) rename apps/{docs => storybook}/stories/react/Draggable/docs/examples/Draggable.jsx (100%) rename apps/{docs => storybook}/stories/react/Draggable/docs/examples/MultipleDraggable.jsx (100%) rename apps/{docs => storybook}/stories/react/Draggable/docs/examples/QuickStart.jsx (100%) rename apps/{docs => storybook}/stories/react/Droppable/Droppable.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Droppable/DroppableExample.tsx (100%) rename apps/{docs => storybook}/stories/react/Droppable/MultipleDroppable/MultipleDroppable.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Droppable/docs/DroppableDocs.mdx (100%) rename apps/{docs => storybook}/stories/react/Droppable/docs/examples/Draggable.jsx (100%) rename apps/{docs => storybook}/stories/react/Droppable/docs/examples/Droppable.jsx (100%) rename apps/{docs => storybook}/stories/react/Droppable/docs/examples/MultipleDroppable.jsx (100%) rename apps/{docs => storybook}/stories/react/Droppable/docs/examples/QuickStart.jsx (100%) rename apps/{docs => storybook}/stories/react/Resizeable/Resizeable.css (100%) rename apps/{docs => storybook}/stories/react/Resizeable/Resizeable.tsx (100%) rename apps/{docs => storybook}/stories/react/Resizeable/index.ts (100%) rename apps/{docs => storybook}/stories/react/Sortable/Grid/Grid.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/Horizontal/Horizontal.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/MultipleLists/MultipleLists.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/MultipleLists/MultipleLists.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/MultipleLists/docs/MultipleLists.mdx (100%) rename apps/{docs => storybook}/stories/react/Sortable/MultipleLists/docs/examples/Column.jsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/MultipleLists/docs/examples/Item.jsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/MultipleLists/docs/examples/QuickStart.jsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/Sortable.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/SortableExample.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/Tree/types.ts (100%) rename apps/{docs => storybook}/stories/react/Sortable/Tree/utilities.ts (100%) rename apps/{docs => storybook}/stories/react/Sortable/Vertical/Vertical.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/Virtualized/ReactTinyVirtualListExample.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/Virtualized/ReactVirtualExample.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/Virtualized/ReactWindowExample.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/Virtualized/Virtualized.stories.tsx (100%) rename apps/{docs => storybook}/stories/react/Sortable/docs/SortableDocs.mdx (100%) rename apps/{docs => storybook}/stories/react/Sortable/docs/assets/useSortable.png (100%) rename apps/{docs => storybook}/stories/react/Sortable/docs/examples/QuickStart.jsx (100%) rename apps/{docs => storybook}/stories/react/components/Actions/Action.tsx (100%) rename apps/{docs => storybook}/stories/react/components/Actions/Actions.module.css (100%) rename apps/{docs => storybook}/stories/react/components/Actions/Actions.tsx (100%) rename apps/{docs => storybook}/stories/react/components/Actions/Remove.tsx (100%) rename apps/{docs => storybook}/stories/react/components/Actions/index.ts (100%) rename apps/{docs => storybook}/stories/react/components/Button/Button.tsx (100%) rename apps/{docs => storybook}/stories/react/components/Button/index.ts (100%) rename apps/{docs => storybook}/stories/react/components/Container/Container.module.css (100%) rename apps/{docs => storybook}/stories/react/components/Container/Container.tsx (100%) rename apps/{docs => storybook}/stories/react/components/Container/index.ts (100%) rename apps/{docs => storybook}/stories/react/components/Dropzone/Dropzone.tsx (100%) rename apps/{docs => storybook}/stories/react/components/Dropzone/index.ts (100%) rename apps/{docs => storybook}/stories/react/components/Handle/Handle.tsx (100%) rename apps/{docs => storybook}/stories/react/components/Handle/index.ts (100%) rename apps/{docs => storybook}/stories/react/components/Item/Item.tsx (100%) rename apps/{docs => storybook}/stories/react/components/Item/index.ts (100%) rename apps/{docs => storybook}/stories/react/components/index.ts (100%) rename apps/{docs => storybook}/stories/react/icons/DraggableIcon.tsx (100%) rename apps/{docs => storybook}/stories/react/icons/index.ts (100%) rename apps/{docs => storybook}/stories/utilities/classnames.ts (100%) rename apps/{docs => storybook}/stories/utilities/cloneDeep.ts (100%) rename apps/{docs => storybook}/stories/utilities/createRange.ts (100%) rename apps/{docs => storybook}/stories/utilities/index.ts (100%) rename apps/{docs => storybook}/stories/vanilla/Droppable/Droppable.stories.tsx (100%) rename apps/{docs => storybook}/stories/vanilla/Droppable/VanillaDroppableExample.ts (100%) rename apps/{docs => storybook}/stories/vanilla/utilities.ts (100%) rename apps/{docs => storybook}/tsconfig.json (100%) diff --git a/.github/label.yml b/.github/label.yml deleted file mode 100644 index f02255b5..00000000 --- a/.github/label.yml +++ /dev/null @@ -1,30 +0,0 @@ -playground: - - playground/* - - playground/**/* - -accessibility: - - packages/accessibility/* - - packages/accessibility/**/* - -core: - - packages/core/* - - packages/core/**/* - -sortable: - - packages/sortable/* - - packages/sortable/**/* - -modifiers: - - packages/modifiers/* - - packages/modifiers/**/* - -utilities: - - packages/utilities/* - - packages/utilities/**/* - -cypress: - - cypress/* - - cypress/**/* - -repo: - - ./* diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 73f89de4..c173041c 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -14,4 +14,4 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} projectToken: ${{ secrets.CHROMATIC_TOKEN }} buildScriptName: 'build' - workingDir: 'apps/docs' + workingDir: 'apps/storybook' diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml deleted file mode 100644 index 03232dad..00000000 --- a/.github/workflows/size.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Compressed Size - -on: - push: - branches-ignore: - - 'master' - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 1 - - uses: preactjs/compressed-size-action@v2 - with: - repo-token: '${{ secrets.GITHUB_TOKEN }}' diff --git a/apps/docs/.eslintrc.js b/apps/storybook/.eslintrc.js similarity index 100% rename from apps/docs/.eslintrc.js rename to apps/storybook/.eslintrc.js diff --git a/apps/docs/.storybook/assets/apple-touch-icon.png b/apps/storybook/.storybook/assets/apple-touch-icon.png similarity index 100% rename from apps/docs/.storybook/assets/apple-touch-icon.png rename to apps/storybook/.storybook/assets/apple-touch-icon.png diff --git a/apps/docs/.storybook/assets/dnd-kit-banner.svg b/apps/storybook/.storybook/assets/dnd-kit-banner.svg similarity index 100% rename from apps/docs/.storybook/assets/dnd-kit-banner.svg rename to apps/storybook/.storybook/assets/dnd-kit-banner.svg diff --git a/apps/docs/.storybook/assets/favicon-16x16.png b/apps/storybook/.storybook/assets/favicon-16x16.png similarity index 100% rename from apps/docs/.storybook/assets/favicon-16x16.png rename to apps/storybook/.storybook/assets/favicon-16x16.png diff --git a/apps/docs/.storybook/assets/favicon-32x32.png b/apps/storybook/.storybook/assets/favicon-32x32.png similarity index 100% rename from apps/docs/.storybook/assets/favicon-32x32.png rename to apps/storybook/.storybook/assets/favicon-32x32.png diff --git a/apps/docs/.storybook/assets/favicon.ico b/apps/storybook/.storybook/assets/favicon.ico similarity index 100% rename from apps/docs/.storybook/assets/favicon.ico rename to apps/storybook/.storybook/assets/favicon.ico diff --git a/apps/docs/.storybook/main.ts b/apps/storybook/.storybook/main.ts similarity index 100% rename from apps/docs/.storybook/main.ts rename to apps/storybook/.storybook/main.ts diff --git a/apps/docs/.storybook/manager-head.html b/apps/storybook/.storybook/manager-head.html similarity index 100% rename from apps/docs/.storybook/manager-head.html rename to apps/storybook/.storybook/manager-head.html diff --git a/apps/docs/.storybook/manager.ts b/apps/storybook/.storybook/manager.ts similarity index 100% rename from apps/docs/.storybook/manager.ts rename to apps/storybook/.storybook/manager.ts diff --git a/apps/docs/.storybook/preview-head.html b/apps/storybook/.storybook/preview-head.html similarity index 100% rename from apps/docs/.storybook/preview-head.html rename to apps/storybook/.storybook/preview-head.html diff --git a/apps/docs/.storybook/preview.tsx b/apps/storybook/.storybook/preview.tsx similarity index 100% rename from apps/docs/.storybook/preview.tsx rename to apps/storybook/.storybook/preview.tsx diff --git a/apps/docs/.storybook/theme.ts b/apps/storybook/.storybook/theme.ts similarity index 100% rename from apps/docs/.storybook/theme.ts rename to apps/storybook/.storybook/theme.ts diff --git a/apps/docs/package.json b/apps/storybook/package.json similarity index 96% rename from apps/docs/package.json rename to apps/storybook/package.json index 801b58f8..1120d455 100644 --- a/apps/docs/package.json +++ b/apps/storybook/package.json @@ -5,7 +5,7 @@ "private": true, "scripts": { "dev": "storybook dev -p 6006", - "build": "storybook build --docs", + "build": "storybook build", "preview-storybook": "serve storybook-static", "clean": "rm -rf .turbo && rm -rf node_modules", "lint": "eslint ./stories/*.stories.tsx --max-warnings 0" diff --git a/apps/docs/stories/assets/draggableIcon.svg b/apps/storybook/stories/assets/draggableIcon.svg similarity index 100% rename from apps/docs/stories/assets/draggableIcon.svg rename to apps/storybook/stories/assets/draggableIcon.svg diff --git a/apps/docs/stories/assets/droppableIcon.svg b/apps/storybook/stories/assets/droppableIcon.svg similarity index 100% rename from apps/docs/stories/assets/droppableIcon.svg rename to apps/storybook/stories/assets/droppableIcon.svg diff --git a/apps/docs/stories/components/Button/Button.module.css b/apps/storybook/stories/components/Button/Button.module.css similarity index 100% rename from apps/docs/stories/components/Button/Button.module.css rename to apps/storybook/stories/components/Button/Button.module.css diff --git a/apps/docs/stories/components/Button/Button.ts b/apps/storybook/stories/components/Button/Button.ts similarity index 100% rename from apps/docs/stories/components/Button/Button.ts rename to apps/storybook/stories/components/Button/Button.ts diff --git a/apps/docs/stories/components/Button/index.ts b/apps/storybook/stories/components/Button/index.ts similarity index 100% rename from apps/docs/stories/components/Button/index.ts rename to apps/storybook/stories/components/Button/index.ts diff --git a/apps/docs/stories/components/Dropzone/Dropzone.module.css b/apps/storybook/stories/components/Dropzone/Dropzone.module.css similarity index 100% rename from apps/docs/stories/components/Dropzone/Dropzone.module.css rename to apps/storybook/stories/components/Dropzone/Dropzone.module.css diff --git a/apps/docs/stories/components/Dropzone/Dropzone.ts b/apps/storybook/stories/components/Dropzone/Dropzone.ts similarity index 100% rename from apps/docs/stories/components/Dropzone/Dropzone.ts rename to apps/storybook/stories/components/Dropzone/Dropzone.ts diff --git a/apps/docs/stories/components/Dropzone/index.ts b/apps/storybook/stories/components/Dropzone/index.ts similarity index 100% rename from apps/docs/stories/components/Dropzone/index.ts rename to apps/storybook/stories/components/Dropzone/index.ts diff --git a/apps/docs/stories/components/Item/Item.css b/apps/storybook/stories/components/Item/Item.css similarity index 100% rename from apps/docs/stories/components/Item/Item.css rename to apps/storybook/stories/components/Item/Item.css diff --git a/apps/docs/stories/components/Item/Item.ts b/apps/storybook/stories/components/Item/Item.ts similarity index 100% rename from apps/docs/stories/components/Item/Item.ts rename to apps/storybook/stories/components/Item/Item.ts diff --git a/apps/docs/stories/components/Item/index.ts b/apps/storybook/stories/components/Item/index.ts similarity index 100% rename from apps/docs/stories/components/Item/index.ts rename to apps/storybook/stories/components/Item/index.ts diff --git a/apps/docs/stories/components/docs/Code/Code.module.css b/apps/storybook/stories/components/docs/Code/Code.module.css similarity index 100% rename from apps/docs/stories/components/docs/Code/Code.module.css rename to apps/storybook/stories/components/docs/Code/Code.module.css diff --git a/apps/docs/stories/components/docs/Code/Code.tsx b/apps/storybook/stories/components/docs/Code/Code.tsx similarity index 100% rename from apps/docs/stories/components/docs/Code/Code.tsx rename to apps/storybook/stories/components/docs/Code/Code.tsx diff --git a/apps/docs/stories/components/docs/Code/components/CodeHighlighter/CodeHighlighter.module.css b/apps/storybook/stories/components/docs/Code/components/CodeHighlighter/CodeHighlighter.module.css similarity index 100% rename from apps/docs/stories/components/docs/Code/components/CodeHighlighter/CodeHighlighter.module.css rename to apps/storybook/stories/components/docs/Code/components/CodeHighlighter/CodeHighlighter.module.css diff --git a/apps/docs/stories/components/docs/Code/components/CodeHighlighter/CodeHighlighter.tsx b/apps/storybook/stories/components/docs/Code/components/CodeHighlighter/CodeHighlighter.tsx similarity index 100% rename from apps/docs/stories/components/docs/Code/components/CodeHighlighter/CodeHighlighter.tsx rename to apps/storybook/stories/components/docs/Code/components/CodeHighlighter/CodeHighlighter.tsx diff --git a/apps/docs/stories/components/docs/Code/components/CodeHighlighter/copy.svg b/apps/storybook/stories/components/docs/Code/components/CodeHighlighter/copy.svg similarity index 100% rename from apps/docs/stories/components/docs/Code/components/CodeHighlighter/copy.svg rename to apps/storybook/stories/components/docs/Code/components/CodeHighlighter/copy.svg diff --git a/apps/docs/stories/components/docs/Code/components/CodeHighlighter/index.ts b/apps/storybook/stories/components/docs/Code/components/CodeHighlighter/index.ts similarity index 100% rename from apps/docs/stories/components/docs/Code/components/CodeHighlighter/index.ts rename to apps/storybook/stories/components/docs/Code/components/CodeHighlighter/index.ts diff --git a/apps/docs/stories/components/docs/Code/components/index.ts b/apps/storybook/stories/components/docs/Code/components/index.ts similarity index 100% rename from apps/docs/stories/components/docs/Code/components/index.ts rename to apps/storybook/stories/components/docs/Code/components/index.ts diff --git a/apps/docs/stories/components/docs/Code/index.ts b/apps/storybook/stories/components/docs/Code/index.ts similarity index 100% rename from apps/docs/stories/components/docs/Code/index.ts rename to apps/storybook/stories/components/docs/Code/index.ts diff --git a/apps/docs/stories/components/docs/Info/Info.module.css b/apps/storybook/stories/components/docs/Info/Info.module.css similarity index 100% rename from apps/docs/stories/components/docs/Info/Info.module.css rename to apps/storybook/stories/components/docs/Info/Info.module.css diff --git a/apps/docs/stories/components/docs/Info/Info.tsx b/apps/storybook/stories/components/docs/Info/Info.tsx similarity index 100% rename from apps/docs/stories/components/docs/Info/Info.tsx rename to apps/storybook/stories/components/docs/Info/Info.tsx diff --git a/apps/docs/stories/components/docs/Info/index.ts b/apps/storybook/stories/components/docs/Info/index.ts similarity index 100% rename from apps/docs/stories/components/docs/Info/index.ts rename to apps/storybook/stories/components/docs/Info/index.ts diff --git a/apps/docs/stories/components/docs/Preview/Preview.module.css b/apps/storybook/stories/components/docs/Preview/Preview.module.css similarity index 100% rename from apps/docs/stories/components/docs/Preview/Preview.module.css rename to apps/storybook/stories/components/docs/Preview/Preview.module.css diff --git a/apps/docs/stories/components/docs/Preview/Preview.tsx b/apps/storybook/stories/components/docs/Preview/Preview.tsx similarity index 100% rename from apps/docs/stories/components/docs/Preview/Preview.tsx rename to apps/storybook/stories/components/docs/Preview/Preview.tsx diff --git a/apps/docs/stories/components/docs/Preview/index.ts b/apps/storybook/stories/components/docs/Preview/index.ts similarity index 100% rename from apps/docs/stories/components/docs/Preview/index.ts rename to apps/storybook/stories/components/docs/Preview/index.ts diff --git a/apps/docs/stories/components/docs/index.ts b/apps/storybook/stories/components/docs/index.ts similarity index 100% rename from apps/docs/stories/components/docs/index.ts rename to apps/storybook/stories/components/docs/index.ts diff --git a/apps/docs/stories/components/index.ts b/apps/storybook/stories/components/index.ts similarity index 100% rename from apps/docs/stories/components/index.ts rename to apps/storybook/stories/components/index.ts diff --git a/apps/docs/stories/react/Draggable/DragHandles/DragHandles.stories.tsx b/apps/storybook/stories/react/Draggable/DragHandles/DragHandles.stories.tsx similarity index 100% rename from apps/docs/stories/react/Draggable/DragHandles/DragHandles.stories.tsx rename to apps/storybook/stories/react/Draggable/DragHandles/DragHandles.stories.tsx diff --git a/apps/docs/stories/react/Draggable/DragHandles/docs/DragHandles.mdx b/apps/storybook/stories/react/Draggable/DragHandles/docs/DragHandles.mdx similarity index 100% rename from apps/docs/stories/react/Draggable/DragHandles/docs/DragHandles.mdx rename to apps/storybook/stories/react/Draggable/DragHandles/docs/DragHandles.mdx diff --git a/apps/docs/stories/react/Draggable/Draggable.stories.tsx b/apps/storybook/stories/react/Draggable/Draggable.stories.tsx similarity index 100% rename from apps/docs/stories/react/Draggable/Draggable.stories.tsx rename to apps/storybook/stories/react/Draggable/Draggable.stories.tsx diff --git a/apps/docs/stories/react/Draggable/DraggableExample.tsx b/apps/storybook/stories/react/Draggable/DraggableExample.tsx similarity index 100% rename from apps/docs/stories/react/Draggable/DraggableExample.tsx rename to apps/storybook/stories/react/Draggable/DraggableExample.tsx diff --git a/apps/docs/stories/react/Draggable/Modifiers/Modifiers.stories.tsx b/apps/storybook/stories/react/Draggable/Modifiers/Modifiers.stories.tsx similarity index 100% rename from apps/docs/stories/react/Draggable/Modifiers/Modifiers.stories.tsx rename to apps/storybook/stories/react/Draggable/Modifiers/Modifiers.stories.tsx diff --git a/apps/docs/stories/react/Draggable/Modifiers/docs/ModifierDocs.mdx b/apps/storybook/stories/react/Draggable/Modifiers/docs/ModifierDocs.mdx similarity index 100% rename from apps/docs/stories/react/Draggable/Modifiers/docs/ModifierDocs.mdx rename to apps/storybook/stories/react/Draggable/Modifiers/docs/ModifierDocs.mdx diff --git a/apps/docs/stories/react/Draggable/Modifiers/styles.module.css b/apps/storybook/stories/react/Draggable/Modifiers/styles.module.css similarity index 100% rename from apps/docs/stories/react/Draggable/Modifiers/styles.module.css rename to apps/storybook/stories/react/Draggable/Modifiers/styles.module.css diff --git a/apps/docs/stories/react/Draggable/Sensors/Sensors.stories.tsx b/apps/storybook/stories/react/Draggable/Sensors/Sensors.stories.tsx similarity index 100% rename from apps/docs/stories/react/Draggable/Sensors/Sensors.stories.tsx rename to apps/storybook/stories/react/Draggable/Sensors/Sensors.stories.tsx diff --git a/apps/docs/stories/react/Draggable/Sensors/docs/SensorDocs.mdx b/apps/storybook/stories/react/Draggable/Sensors/docs/SensorDocs.mdx similarity index 100% rename from apps/docs/stories/react/Draggable/Sensors/docs/SensorDocs.mdx rename to apps/storybook/stories/react/Draggable/Sensors/docs/SensorDocs.mdx diff --git a/apps/docs/stories/react/Draggable/docs/DraggableDocs.mdx b/apps/storybook/stories/react/Draggable/docs/DraggableDocs.mdx similarity index 100% rename from apps/docs/stories/react/Draggable/docs/DraggableDocs.mdx rename to apps/storybook/stories/react/Draggable/docs/DraggableDocs.mdx diff --git a/apps/docs/stories/react/Draggable/docs/examples/Draggable.jsx b/apps/storybook/stories/react/Draggable/docs/examples/Draggable.jsx similarity index 100% rename from apps/docs/stories/react/Draggable/docs/examples/Draggable.jsx rename to apps/storybook/stories/react/Draggable/docs/examples/Draggable.jsx diff --git a/apps/docs/stories/react/Draggable/docs/examples/MultipleDraggable.jsx b/apps/storybook/stories/react/Draggable/docs/examples/MultipleDraggable.jsx similarity index 100% rename from apps/docs/stories/react/Draggable/docs/examples/MultipleDraggable.jsx rename to apps/storybook/stories/react/Draggable/docs/examples/MultipleDraggable.jsx diff --git a/apps/docs/stories/react/Draggable/docs/examples/QuickStart.jsx b/apps/storybook/stories/react/Draggable/docs/examples/QuickStart.jsx similarity index 100% rename from apps/docs/stories/react/Draggable/docs/examples/QuickStart.jsx rename to apps/storybook/stories/react/Draggable/docs/examples/QuickStart.jsx diff --git a/apps/docs/stories/react/Droppable/Droppable.stories.tsx b/apps/storybook/stories/react/Droppable/Droppable.stories.tsx similarity index 100% rename from apps/docs/stories/react/Droppable/Droppable.stories.tsx rename to apps/storybook/stories/react/Droppable/Droppable.stories.tsx diff --git a/apps/docs/stories/react/Droppable/DroppableExample.tsx b/apps/storybook/stories/react/Droppable/DroppableExample.tsx similarity index 100% rename from apps/docs/stories/react/Droppable/DroppableExample.tsx rename to apps/storybook/stories/react/Droppable/DroppableExample.tsx diff --git a/apps/docs/stories/react/Droppable/MultipleDroppable/MultipleDroppable.stories.tsx b/apps/storybook/stories/react/Droppable/MultipleDroppable/MultipleDroppable.stories.tsx similarity index 100% rename from apps/docs/stories/react/Droppable/MultipleDroppable/MultipleDroppable.stories.tsx rename to apps/storybook/stories/react/Droppable/MultipleDroppable/MultipleDroppable.stories.tsx diff --git a/apps/docs/stories/react/Droppable/docs/DroppableDocs.mdx b/apps/storybook/stories/react/Droppable/docs/DroppableDocs.mdx similarity index 100% rename from apps/docs/stories/react/Droppable/docs/DroppableDocs.mdx rename to apps/storybook/stories/react/Droppable/docs/DroppableDocs.mdx diff --git a/apps/docs/stories/react/Droppable/docs/examples/Draggable.jsx b/apps/storybook/stories/react/Droppable/docs/examples/Draggable.jsx similarity index 100% rename from apps/docs/stories/react/Droppable/docs/examples/Draggable.jsx rename to apps/storybook/stories/react/Droppable/docs/examples/Draggable.jsx diff --git a/apps/docs/stories/react/Droppable/docs/examples/Droppable.jsx b/apps/storybook/stories/react/Droppable/docs/examples/Droppable.jsx similarity index 100% rename from apps/docs/stories/react/Droppable/docs/examples/Droppable.jsx rename to apps/storybook/stories/react/Droppable/docs/examples/Droppable.jsx diff --git a/apps/docs/stories/react/Droppable/docs/examples/MultipleDroppable.jsx b/apps/storybook/stories/react/Droppable/docs/examples/MultipleDroppable.jsx similarity index 100% rename from apps/docs/stories/react/Droppable/docs/examples/MultipleDroppable.jsx rename to apps/storybook/stories/react/Droppable/docs/examples/MultipleDroppable.jsx diff --git a/apps/docs/stories/react/Droppable/docs/examples/QuickStart.jsx b/apps/storybook/stories/react/Droppable/docs/examples/QuickStart.jsx similarity index 100% rename from apps/docs/stories/react/Droppable/docs/examples/QuickStart.jsx rename to apps/storybook/stories/react/Droppable/docs/examples/QuickStart.jsx diff --git a/apps/docs/stories/react/Resizeable/Resizeable.css b/apps/storybook/stories/react/Resizeable/Resizeable.css similarity index 100% rename from apps/docs/stories/react/Resizeable/Resizeable.css rename to apps/storybook/stories/react/Resizeable/Resizeable.css diff --git a/apps/docs/stories/react/Resizeable/Resizeable.tsx b/apps/storybook/stories/react/Resizeable/Resizeable.tsx similarity index 100% rename from apps/docs/stories/react/Resizeable/Resizeable.tsx rename to apps/storybook/stories/react/Resizeable/Resizeable.tsx diff --git a/apps/docs/stories/react/Resizeable/index.ts b/apps/storybook/stories/react/Resizeable/index.ts similarity index 100% rename from apps/docs/stories/react/Resizeable/index.ts rename to apps/storybook/stories/react/Resizeable/index.ts diff --git a/apps/docs/stories/react/Sortable/Grid/Grid.stories.tsx b/apps/storybook/stories/react/Sortable/Grid/Grid.stories.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/Grid/Grid.stories.tsx rename to apps/storybook/stories/react/Sortable/Grid/Grid.stories.tsx diff --git a/apps/docs/stories/react/Sortable/Horizontal/Horizontal.stories.tsx b/apps/storybook/stories/react/Sortable/Horizontal/Horizontal.stories.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/Horizontal/Horizontal.stories.tsx rename to apps/storybook/stories/react/Sortable/Horizontal/Horizontal.stories.tsx diff --git a/apps/docs/stories/react/Sortable/MultipleLists/MultipleLists.stories.tsx b/apps/storybook/stories/react/Sortable/MultipleLists/MultipleLists.stories.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/MultipleLists/MultipleLists.stories.tsx rename to apps/storybook/stories/react/Sortable/MultipleLists/MultipleLists.stories.tsx diff --git a/apps/docs/stories/react/Sortable/MultipleLists/MultipleLists.tsx b/apps/storybook/stories/react/Sortable/MultipleLists/MultipleLists.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/MultipleLists/MultipleLists.tsx rename to apps/storybook/stories/react/Sortable/MultipleLists/MultipleLists.tsx diff --git a/apps/docs/stories/react/Sortable/MultipleLists/docs/MultipleLists.mdx b/apps/storybook/stories/react/Sortable/MultipleLists/docs/MultipleLists.mdx similarity index 100% rename from apps/docs/stories/react/Sortable/MultipleLists/docs/MultipleLists.mdx rename to apps/storybook/stories/react/Sortable/MultipleLists/docs/MultipleLists.mdx diff --git a/apps/docs/stories/react/Sortable/MultipleLists/docs/examples/Column.jsx b/apps/storybook/stories/react/Sortable/MultipleLists/docs/examples/Column.jsx similarity index 100% rename from apps/docs/stories/react/Sortable/MultipleLists/docs/examples/Column.jsx rename to apps/storybook/stories/react/Sortable/MultipleLists/docs/examples/Column.jsx diff --git a/apps/docs/stories/react/Sortable/MultipleLists/docs/examples/Item.jsx b/apps/storybook/stories/react/Sortable/MultipleLists/docs/examples/Item.jsx similarity index 100% rename from apps/docs/stories/react/Sortable/MultipleLists/docs/examples/Item.jsx rename to apps/storybook/stories/react/Sortable/MultipleLists/docs/examples/Item.jsx diff --git a/apps/docs/stories/react/Sortable/MultipleLists/docs/examples/QuickStart.jsx b/apps/storybook/stories/react/Sortable/MultipleLists/docs/examples/QuickStart.jsx similarity index 100% rename from apps/docs/stories/react/Sortable/MultipleLists/docs/examples/QuickStart.jsx rename to apps/storybook/stories/react/Sortable/MultipleLists/docs/examples/QuickStart.jsx diff --git a/apps/docs/stories/react/Sortable/Sortable.stories.tsx b/apps/storybook/stories/react/Sortable/Sortable.stories.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/Sortable.stories.tsx rename to apps/storybook/stories/react/Sortable/Sortable.stories.tsx diff --git a/apps/docs/stories/react/Sortable/SortableExample.tsx b/apps/storybook/stories/react/Sortable/SortableExample.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/SortableExample.tsx rename to apps/storybook/stories/react/Sortable/SortableExample.tsx diff --git a/apps/docs/stories/react/Sortable/Tree/types.ts b/apps/storybook/stories/react/Sortable/Tree/types.ts similarity index 100% rename from apps/docs/stories/react/Sortable/Tree/types.ts rename to apps/storybook/stories/react/Sortable/Tree/types.ts diff --git a/apps/docs/stories/react/Sortable/Tree/utilities.ts b/apps/storybook/stories/react/Sortable/Tree/utilities.ts similarity index 100% rename from apps/docs/stories/react/Sortable/Tree/utilities.ts rename to apps/storybook/stories/react/Sortable/Tree/utilities.ts diff --git a/apps/docs/stories/react/Sortable/Vertical/Vertical.stories.tsx b/apps/storybook/stories/react/Sortable/Vertical/Vertical.stories.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/Vertical/Vertical.stories.tsx rename to apps/storybook/stories/react/Sortable/Vertical/Vertical.stories.tsx diff --git a/apps/docs/stories/react/Sortable/Virtualized/ReactTinyVirtualListExample.tsx b/apps/storybook/stories/react/Sortable/Virtualized/ReactTinyVirtualListExample.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/Virtualized/ReactTinyVirtualListExample.tsx rename to apps/storybook/stories/react/Sortable/Virtualized/ReactTinyVirtualListExample.tsx diff --git a/apps/docs/stories/react/Sortable/Virtualized/ReactVirtualExample.tsx b/apps/storybook/stories/react/Sortable/Virtualized/ReactVirtualExample.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/Virtualized/ReactVirtualExample.tsx rename to apps/storybook/stories/react/Sortable/Virtualized/ReactVirtualExample.tsx diff --git a/apps/docs/stories/react/Sortable/Virtualized/ReactWindowExample.tsx b/apps/storybook/stories/react/Sortable/Virtualized/ReactWindowExample.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/Virtualized/ReactWindowExample.tsx rename to apps/storybook/stories/react/Sortable/Virtualized/ReactWindowExample.tsx diff --git a/apps/docs/stories/react/Sortable/Virtualized/Virtualized.stories.tsx b/apps/storybook/stories/react/Sortable/Virtualized/Virtualized.stories.tsx similarity index 100% rename from apps/docs/stories/react/Sortable/Virtualized/Virtualized.stories.tsx rename to apps/storybook/stories/react/Sortable/Virtualized/Virtualized.stories.tsx diff --git a/apps/docs/stories/react/Sortable/docs/SortableDocs.mdx b/apps/storybook/stories/react/Sortable/docs/SortableDocs.mdx similarity index 100% rename from apps/docs/stories/react/Sortable/docs/SortableDocs.mdx rename to apps/storybook/stories/react/Sortable/docs/SortableDocs.mdx diff --git a/apps/docs/stories/react/Sortable/docs/assets/useSortable.png b/apps/storybook/stories/react/Sortable/docs/assets/useSortable.png similarity index 100% rename from apps/docs/stories/react/Sortable/docs/assets/useSortable.png rename to apps/storybook/stories/react/Sortable/docs/assets/useSortable.png diff --git a/apps/docs/stories/react/Sortable/docs/examples/QuickStart.jsx b/apps/storybook/stories/react/Sortable/docs/examples/QuickStart.jsx similarity index 100% rename from apps/docs/stories/react/Sortable/docs/examples/QuickStart.jsx rename to apps/storybook/stories/react/Sortable/docs/examples/QuickStart.jsx diff --git a/apps/docs/stories/react/components/Actions/Action.tsx b/apps/storybook/stories/react/components/Actions/Action.tsx similarity index 100% rename from apps/docs/stories/react/components/Actions/Action.tsx rename to apps/storybook/stories/react/components/Actions/Action.tsx diff --git a/apps/docs/stories/react/components/Actions/Actions.module.css b/apps/storybook/stories/react/components/Actions/Actions.module.css similarity index 100% rename from apps/docs/stories/react/components/Actions/Actions.module.css rename to apps/storybook/stories/react/components/Actions/Actions.module.css diff --git a/apps/docs/stories/react/components/Actions/Actions.tsx b/apps/storybook/stories/react/components/Actions/Actions.tsx similarity index 100% rename from apps/docs/stories/react/components/Actions/Actions.tsx rename to apps/storybook/stories/react/components/Actions/Actions.tsx diff --git a/apps/docs/stories/react/components/Actions/Remove.tsx b/apps/storybook/stories/react/components/Actions/Remove.tsx similarity index 100% rename from apps/docs/stories/react/components/Actions/Remove.tsx rename to apps/storybook/stories/react/components/Actions/Remove.tsx diff --git a/apps/docs/stories/react/components/Actions/index.ts b/apps/storybook/stories/react/components/Actions/index.ts similarity index 100% rename from apps/docs/stories/react/components/Actions/index.ts rename to apps/storybook/stories/react/components/Actions/index.ts diff --git a/apps/docs/stories/react/components/Button/Button.tsx b/apps/storybook/stories/react/components/Button/Button.tsx similarity index 100% rename from apps/docs/stories/react/components/Button/Button.tsx rename to apps/storybook/stories/react/components/Button/Button.tsx diff --git a/apps/docs/stories/react/components/Button/index.ts b/apps/storybook/stories/react/components/Button/index.ts similarity index 100% rename from apps/docs/stories/react/components/Button/index.ts rename to apps/storybook/stories/react/components/Button/index.ts diff --git a/apps/docs/stories/react/components/Container/Container.module.css b/apps/storybook/stories/react/components/Container/Container.module.css similarity index 100% rename from apps/docs/stories/react/components/Container/Container.module.css rename to apps/storybook/stories/react/components/Container/Container.module.css diff --git a/apps/docs/stories/react/components/Container/Container.tsx b/apps/storybook/stories/react/components/Container/Container.tsx similarity index 100% rename from apps/docs/stories/react/components/Container/Container.tsx rename to apps/storybook/stories/react/components/Container/Container.tsx diff --git a/apps/docs/stories/react/components/Container/index.ts b/apps/storybook/stories/react/components/Container/index.ts similarity index 100% rename from apps/docs/stories/react/components/Container/index.ts rename to apps/storybook/stories/react/components/Container/index.ts diff --git a/apps/docs/stories/react/components/Dropzone/Dropzone.tsx b/apps/storybook/stories/react/components/Dropzone/Dropzone.tsx similarity index 100% rename from apps/docs/stories/react/components/Dropzone/Dropzone.tsx rename to apps/storybook/stories/react/components/Dropzone/Dropzone.tsx diff --git a/apps/docs/stories/react/components/Dropzone/index.ts b/apps/storybook/stories/react/components/Dropzone/index.ts similarity index 100% rename from apps/docs/stories/react/components/Dropzone/index.ts rename to apps/storybook/stories/react/components/Dropzone/index.ts diff --git a/apps/docs/stories/react/components/Handle/Handle.tsx b/apps/storybook/stories/react/components/Handle/Handle.tsx similarity index 100% rename from apps/docs/stories/react/components/Handle/Handle.tsx rename to apps/storybook/stories/react/components/Handle/Handle.tsx diff --git a/apps/docs/stories/react/components/Handle/index.ts b/apps/storybook/stories/react/components/Handle/index.ts similarity index 100% rename from apps/docs/stories/react/components/Handle/index.ts rename to apps/storybook/stories/react/components/Handle/index.ts diff --git a/apps/docs/stories/react/components/Item/Item.tsx b/apps/storybook/stories/react/components/Item/Item.tsx similarity index 100% rename from apps/docs/stories/react/components/Item/Item.tsx rename to apps/storybook/stories/react/components/Item/Item.tsx diff --git a/apps/docs/stories/react/components/Item/index.ts b/apps/storybook/stories/react/components/Item/index.ts similarity index 100% rename from apps/docs/stories/react/components/Item/index.ts rename to apps/storybook/stories/react/components/Item/index.ts diff --git a/apps/docs/stories/react/components/index.ts b/apps/storybook/stories/react/components/index.ts similarity index 100% rename from apps/docs/stories/react/components/index.ts rename to apps/storybook/stories/react/components/index.ts diff --git a/apps/docs/stories/react/icons/DraggableIcon.tsx b/apps/storybook/stories/react/icons/DraggableIcon.tsx similarity index 100% rename from apps/docs/stories/react/icons/DraggableIcon.tsx rename to apps/storybook/stories/react/icons/DraggableIcon.tsx diff --git a/apps/docs/stories/react/icons/index.ts b/apps/storybook/stories/react/icons/index.ts similarity index 100% rename from apps/docs/stories/react/icons/index.ts rename to apps/storybook/stories/react/icons/index.ts diff --git a/apps/docs/stories/utilities/classnames.ts b/apps/storybook/stories/utilities/classnames.ts similarity index 100% rename from apps/docs/stories/utilities/classnames.ts rename to apps/storybook/stories/utilities/classnames.ts diff --git a/apps/docs/stories/utilities/cloneDeep.ts b/apps/storybook/stories/utilities/cloneDeep.ts similarity index 100% rename from apps/docs/stories/utilities/cloneDeep.ts rename to apps/storybook/stories/utilities/cloneDeep.ts diff --git a/apps/docs/stories/utilities/createRange.ts b/apps/storybook/stories/utilities/createRange.ts similarity index 100% rename from apps/docs/stories/utilities/createRange.ts rename to apps/storybook/stories/utilities/createRange.ts diff --git a/apps/docs/stories/utilities/index.ts b/apps/storybook/stories/utilities/index.ts similarity index 100% rename from apps/docs/stories/utilities/index.ts rename to apps/storybook/stories/utilities/index.ts diff --git a/apps/docs/stories/vanilla/Droppable/Droppable.stories.tsx b/apps/storybook/stories/vanilla/Droppable/Droppable.stories.tsx similarity index 100% rename from apps/docs/stories/vanilla/Droppable/Droppable.stories.tsx rename to apps/storybook/stories/vanilla/Droppable/Droppable.stories.tsx diff --git a/apps/docs/stories/vanilla/Droppable/VanillaDroppableExample.ts b/apps/storybook/stories/vanilla/Droppable/VanillaDroppableExample.ts similarity index 100% rename from apps/docs/stories/vanilla/Droppable/VanillaDroppableExample.ts rename to apps/storybook/stories/vanilla/Droppable/VanillaDroppableExample.ts diff --git a/apps/docs/stories/vanilla/utilities.ts b/apps/storybook/stories/vanilla/utilities.ts similarity index 100% rename from apps/docs/stories/vanilla/utilities.ts rename to apps/storybook/stories/vanilla/utilities.ts diff --git a/apps/docs/tsconfig.json b/apps/storybook/tsconfig.json similarity index 100% rename from apps/docs/tsconfig.json rename to apps/storybook/tsconfig.json diff --git a/packages/abstract/package.json b/packages/abstract/package.json index 7646994f..5417029a 100644 --- a/packages/abstract/package.json +++ b/packages/abstract/package.json @@ -1,6 +1,6 @@ { "name": "@dnd-kit/abstract", - "version": "0.0.0", + "version": "0.0.1", "type": "module", "main": "./index.cjs", "module": "./index.js", diff --git a/packages/abstract/src/core/collision/notifier.ts b/packages/abstract/src/core/collision/notifier.ts index e3b52f88..e41479c6 100644 --- a/packages/abstract/src/core/collision/notifier.ts +++ b/packages/abstract/src/core/collision/notifier.ts @@ -2,6 +2,7 @@ import {effect, untracked} from '@dnd-kit/state'; import {DragDropManager} from '../manager/index.js'; import {CorePlugin} from '../plugins/index.js'; +import {defaultPreventable} from '../manager/events.js'; export class CollisionNotifier extends CorePlugin { constructor(manager: DragDropManager) { @@ -15,19 +16,13 @@ export class CollisionNotifier extends CorePlugin { return; } - let defaultPrevented = false; - - monitor.dispatch('collision', { + const event = defaultPreventable({ collisions, - get defaultPrevented() { - return defaultPrevented; - }, - preventDefault() { - defaultPrevented = true; - }, }); - if (defaultPrevented) { + monitor.dispatch('collision', event); + + if (event.defaultPrevented) { return; } diff --git a/packages/collision/package.json b/packages/collision/package.json index 97d638a4..2bbed315 100644 --- a/packages/collision/package.json +++ b/packages/collision/package.json @@ -1,7 +1,7 @@ { "name": "@dnd-kit/collision", "type": "module", - "version": "0.0.0", + "version": "0.0.1", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/dom/package.json b/packages/dom/package.json index 74e32f2e..12e24e60 100644 --- a/packages/dom/package.json +++ b/packages/dom/package.json @@ -1,6 +1,6 @@ { "name": "@dnd-kit/dom", - "version": "0.0.0", + "version": "0.0.1", "type": "module", "main": "./index.cjs", "module": "./index.js", diff --git a/packages/dom/src/core/index.ts b/packages/dom/src/core/index.ts index 7616d942..4f03d3a2 100644 --- a/packages/dom/src/core/index.ts +++ b/packages/dom/src/core/index.ts @@ -14,7 +14,7 @@ export type {Sensors} from './sensors/index.js'; export { Accessibility, AutoScroller, - DraggableFeedback, + Feedback, Scroller, ScrollListener, } from './plugins/index.js'; diff --git a/packages/dom/src/core/plugins/feedback/index.ts b/packages/dom/src/core/plugins/feedback/index.ts index 4e453f41..80cda8d5 100644 --- a/packages/dom/src/core/plugins/feedback/index.ts +++ b/packages/dom/src/core/plugins/feedback/index.ts @@ -1,3 +1,2 @@ -export {DraggableFeedback} from './DraggableFeedback.js'; export {Feedback} from './Feedback.js'; export type {Transition} from './types.js'; diff --git a/packages/dom/src/core/plugins/index.ts b/packages/dom/src/core/plugins/index.ts index d17213ff..186ce5cf 100644 --- a/packages/dom/src/core/plugins/index.ts +++ b/packages/dom/src/core/plugins/index.ts @@ -2,7 +2,7 @@ export {Accessibility} from './accessibility/index.js'; export {Cursor} from './cursor/index.js'; -export {DraggableFeedback, Feedback} from './feedback/index.js'; +export {Feedback} from './feedback/index.js'; export type {Transition} from './feedback/types.js'; export {AutoScroller, Scroller, ScrollListener} from './scrolling/index.js'; diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index c9ea13a7..cbe3cb10 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@dnd-kit/eslint-config", - "version": "0.0.0", + "version": "0.0.1", "private": true, "files": [ "vanilla.js", diff --git a/packages/geometry/package.json b/packages/geometry/package.json index 535da2b7..4af19ba4 100644 --- a/packages/geometry/package.json +++ b/packages/geometry/package.json @@ -1,6 +1,6 @@ { "name": "@dnd-kit/geometry", - "version": "0.0.0", + "version": "0.0.1", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", diff --git a/packages/helpers/package.json b/packages/helpers/package.json index 22df60fe..40cb28a7 100644 --- a/packages/helpers/package.json +++ b/packages/helpers/package.json @@ -1,7 +1,7 @@ { "name": "@dnd-kit/helpers", "type": "module", - "version": "0.0.0", + "version": "0.0.1", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/react/package.json b/packages/react/package.json index 14ab6a44..e62e70d3 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@dnd-kit/react", - "version": "0.0.0", + "version": "0.0.1", "main": "./index.cjs", "module": "./index.js", "type": "module", diff --git a/packages/state/package.json b/packages/state/package.json index 14de3162..8dad3647 100644 --- a/packages/state/package.json +++ b/packages/state/package.json @@ -1,6 +1,6 @@ { "name": "@dnd-kit/state", - "version": "0.0.0", + "version": "0.0.1", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts",