ebc892a1a6
This PR adds a slideshow example (similar to @TodePond's slides but more on rails) as a way to put some pressure on camera controls. Along the way, it fixes some issues I found with animations and the new camera controls. - forced changes will continue to force through animations - animations no longer set unnecessary additional listeners - animations end correctly - updating camera options does not immediately update the camera (to allow for animations, etc.) It also changes the location of the "in front of the canvas" element so that it is not hidden by the hit test blocking element. ### Change Type - [x] `sdk` — Changes the tldraw SDK - [x] `improvement` — Improving existing features
60 lines
1.4 KiB
JSON
60 lines
1.4 KiB
JSON
{
|
|
"name": "examples.tldraw.com",
|
|
"description": "A tiny little drawing app (examples).",
|
|
"version": "2.0.0-beta.2",
|
|
"private": true,
|
|
"author": {
|
|
"name": "tldraw Inc.",
|
|
"email": "hello@tldraw.com"
|
|
},
|
|
"homepage": "https://tldraw.dev",
|
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tldraw/tldraw"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/tldraw/tldraw/issues"
|
|
},
|
|
"keywords": [
|
|
"tldraw",
|
|
"drawing",
|
|
"app",
|
|
"development",
|
|
"whiteboard",
|
|
"canvas",
|
|
"infinite"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite --host",
|
|
"build": "vite build",
|
|
"lint": "yarn run -T tsx ../../scripts/lint.ts",
|
|
"e2e": "playwright test -c ./e2e/playwright.config.ts",
|
|
"e2e-ui": "playwright test --ui -c ./e2e/playwright.config.ts"
|
|
},
|
|
"dependencies": {
|
|
"@playwright/test": "^1.38.1",
|
|
"@radix-ui/react-alert-dialog": "^1.0.5",
|
|
"@tldraw/assets": "workspace:*",
|
|
"@vercel/analytics": "^1.1.1",
|
|
"classnames": "^2.3.2",
|
|
"lazyrepo": "0.0.0-alpha.27",
|
|
"lodash": "^4.17.21",
|
|
"pdf-lib": "^1.17.1",
|
|
"pdfjs-dist": "^4.0.379",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.17.0",
|
|
"tldraw": "workspace:*",
|
|
"vite": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/lodash": "^4.14.188",
|
|
"@vitejs/plugin-react-swc": "^3.6.0",
|
|
"dotenv": "^16.3.1",
|
|
"remark": "^15.0.1",
|
|
"remark-frontmatter": "^5.0.0",
|
|
"remark-html": "^16.0.1",
|
|
"vfile-matter": "^5.0.0"
|
|
}
|
|
}
|