AFFiNE/packages/frontend/core/package.json
CatsJuice 11b453f4d8
feat(mobile): swipe to open menu for explorer (#8953)
close AF-1803

- bump theme
- extract `SwipeHelper` and add `speed`, `direction` detection support
- new mobile `SwipeMenu` component
- integrate `SwipeMenu` to open a menu in Explorer
- New `Haptics` module for mobile, implemented in `ios` and `mobile`(`navigator.vibrate()`)

![CleanShot 2024-11-28 at 12.25.14.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/cba36660-f38a-473b-b85c-33540a406835.gif)
2024-12-02 03:27:01 +00:00

95 lines
2.8 KiB
JSON

{
"name": "@affine/core",
"type": "module",
"private": true,
"version": "0.18.0",
"exports": {
"./*": "./src/*",
"./bootstrap": "./src/bootstrap/index.ts"
},
"dependencies": {
"@affine/component": "workspace:*",
"@affine/debug": "workspace:*",
"@affine/electron-api": "workspace:*",
"@affine/env": "workspace:*",
"@affine/graphql": "workspace:*",
"@affine/i18n": "workspace:*",
"@affine/templates": "workspace:*",
"@affine/track": "workspace:*",
"@blocksuite/affine": "0.18.1",
"@blocksuite/icons": "2.1.72",
"@capacitor/app": "^6.0.1",
"@capacitor/browser": "^6.0.3",
"@dnd-kit/core": "^6.1.0",
"@dnd-kit/modifiers": "^8.0.0",
"@dnd-kit/sortable": "^9.0.0",
"@dotlottie/player-component": "^2.7.12",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.4",
"@floating-ui/dom": "^1.6.5",
"@juggle/resize-observer": "^3.4.0",
"@marsidev/react-turnstile": "^1.0.0",
"@preact/signals-core": "^1.8.0",
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-toolbar": "^1.0.4",
"@sentry/react": "^8.0.0",
"@toeverything/pdf-viewer": "^0.1.1",
"@toeverything/theme": "^1.0.21",
"@vanilla-extract/dynamic": "^2.1.0",
"animejs": "^3.2.2",
"bytes": "^3.1.2",
"clsx": "^2.1.0",
"cmdk": "^1.0.0",
"core-js": "^3.36.1",
"dayjs": "^1.11.10",
"file-type": "^19.1.0",
"filesize": "^10.1.6",
"foxact": "^0.2.33",
"fuse.js": "^7.0.0",
"graphemer": "^1.4.0",
"graphql": "^16.8.1",
"history": "^5.3.0",
"idb": "^8.0.0",
"idb-keyval": "^6.2.1",
"image-blob-reduce": "^4.1.0",
"is-svg": "^5.0.0",
"jotai": "^2.8.0",
"jotai-scope": "^0.7.0",
"lib0": "^0.2.95",
"lit": "^3.1.3",
"lodash-es": "^4.17.21",
"lottie-react": "^2.4.0",
"nanoid": "^5.0.7",
"next-themes": "^0.4.0",
"query-string": "^9.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-error-boundary": "^4.0.13",
"react-router-dom": "^6.22.3",
"react-transition-state": "^2.1.1",
"react-virtuoso": "^4.7.8",
"rxjs": "^7.8.1",
"ses": "^1.4.1",
"socket.io-client": "^4.7.5",
"swr": "2.2.5",
"tinykeys": "patch:tinykeys@npm%3A2.1.0#~/.yarn/patches/tinykeys-npm-2.1.0-819feeaed0.patch",
"y-protocols": "^1.0.6",
"yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch",
"zod": "^3.22.4"
},
"devDependencies": {
"@testing-library/react": "^16.0.0",
"@types/animejs": "^3.1.12",
"@types/bytes": "^3.1.4",
"@types/image-blob-reduce": "^4.1.4",
"@types/lodash-es": "^4.17.12",
"@vanilla-extract/css": "^1.14.2",
"fake-indexeddb": "^6.0.0",
"lodash-es": "^4.17.21",
"vitest": "2.1.6"
}
}