@tldraw/tldraw 5.5.2 → 5.6.0-canary.0091c91994d6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -1
- package/dist-esm/index.mjs +1 -1
- package/package.json +12 -18
- package/tldraw.css +2 -5
package/dist-cjs/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var import_tldraw = require("tldraw");
|
|
|
19
19
|
__reExport(index_exports, require("tldraw"), module.exports);
|
|
20
20
|
(0, import_tldraw.registerTldrawLibraryVersion)(
|
|
21
21
|
"@tldraw/tldraw",
|
|
22
|
-
"5.
|
|
22
|
+
"5.6.0-canary.0091c91994d6",
|
|
23
23
|
"cjs"
|
|
24
24
|
);
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
package/dist-esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tldraw/tldraw",
|
|
3
3
|
"description": "A tiny little drawing editor.",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.6.0-canary.0091c91994d6",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -32,20 +32,6 @@
|
|
|
32
32
|
"infinite"
|
|
33
33
|
],
|
|
34
34
|
"main": "dist-cjs/index.js",
|
|
35
|
-
"scripts": {
|
|
36
|
-
"test-ci": "yarn run -T vitest run --passWithNoTests",
|
|
37
|
-
"test": "yarn run -T vitest --passWithNoTests",
|
|
38
|
-
"test-coverage": "yarn run -T vitest run --coverage --passWithNoTests",
|
|
39
|
-
"predev": "node ./scripts/copy-css-files.mjs",
|
|
40
|
-
"dev": "chokidar '../tldraw/tldraw.css' -c 'node ./scripts/copy-css-files.mjs'",
|
|
41
|
-
"prebuild": "node ./scripts/copy-css-files.mjs",
|
|
42
|
-
"build": "yarn run -T tsx ../../internal/scripts/build-package.ts",
|
|
43
|
-
"build-api": "yarn run -T tsx ../../internal/scripts/build-api.ts",
|
|
44
|
-
"prepack": "yarn run -T tsx ../../internal/scripts/prepack.ts",
|
|
45
|
-
"postpack": "../../internal/scripts/postpack.sh",
|
|
46
|
-
"pack-tarball": "yarn pack",
|
|
47
|
-
"lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
|
|
48
|
-
},
|
|
49
35
|
"files": [
|
|
50
36
|
"tldraw.css",
|
|
51
37
|
"dist-esm",
|
|
@@ -53,7 +39,7 @@
|
|
|
53
39
|
"src"
|
|
54
40
|
],
|
|
55
41
|
"dependencies": {
|
|
56
|
-
"tldraw": "5.
|
|
42
|
+
"tldraw": "5.6.0-canary.0091c91994d6"
|
|
57
43
|
},
|
|
58
44
|
"peerDependencies": {
|
|
59
45
|
"react": "^18.2.0 || ^19.2.1",
|
|
@@ -62,8 +48,6 @@
|
|
|
62
48
|
"devDependencies": {
|
|
63
49
|
"@types/react": "^19.2.7",
|
|
64
50
|
"@types/react-dom": "^19.2.3",
|
|
65
|
-
"chokidar-cli": "^3.0.0",
|
|
66
|
-
"lazyrepo": "0.0.0-alpha.27",
|
|
67
51
|
"react": "^19.2.1",
|
|
68
52
|
"react-dom": "^19.2.1"
|
|
69
53
|
},
|
|
@@ -78,5 +62,15 @@
|
|
|
78
62
|
"require": "./dist-cjs/index.js"
|
|
79
63
|
},
|
|
80
64
|
"./tldraw.css": "./tldraw.css"
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"test-ci": "pnpm exec vitest run --passWithNoTests",
|
|
68
|
+
"test": "pnpm exec vitest --passWithNoTests",
|
|
69
|
+
"test-coverage": "pnpm exec vitest run --coverage --passWithNoTests",
|
|
70
|
+
"build": "pnpm exec tsx ../../internal/scripts/build-package.ts",
|
|
71
|
+
"build-api": "pnpm exec tsx ../../internal/scripts/build-api.ts",
|
|
72
|
+
"pack-tarball": "pnpm pack",
|
|
73
|
+
"lint": "pnpm exec tsx ../../internal/scripts/lint.ts",
|
|
74
|
+
"build-types": "tsc --build"
|
|
81
75
|
}
|
|
82
76
|
}
|
package/tldraw.css
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/* THIS CSS FILE IS GENERATED! DO NOT EDIT. OR EDIT. I'M A COMMENT NOT A COP */
|
|
2
|
-
/* This file is created by the copy-css-files.mjs script in packages/namespaced-tldraw. */
|
|
3
|
-
/* It combines @tldraw/editor's editor.css and tldraw's ui.css */
|
|
4
|
-
|
|
5
1
|
/* @tldraw/editor */
|
|
6
2
|
|
|
7
3
|
.tl-container {
|
|
@@ -86,7 +82,7 @@
|
|
|
86
82
|
/* Hotspot sits between the white outline tip and the black tip: on either tip alone, hit-testing feels offset from one direction (#10855) */
|
|
87
83
|
--tl-cursor-default:
|
|
88
84
|
url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path d='m12 24.4219v-16.015l11.591 11.619h-6.781l-.411.124z' fill='white'/><path d='m21.0845 25.0962-3.605 1.535-4.682-11.089 3.686-1.553z' fill='white'/><path d='m19.751 24.4155-1.844.774-3.1-7.374 1.841-.775z' fill='black'/><path d='m13 10.814v11.188l2.969-2.866.428-.139h4.768z' fill='black'/></g></svg>")
|
|
89
|
-
12
|
|
85
|
+
12 9,
|
|
90
86
|
default;
|
|
91
87
|
--tl-cursor-pointer:
|
|
92
88
|
url("data:image/svg+xml,<svg height='32' width='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' style='color: black;'><defs><filter id='shadow' y='-40%' x='-40%' width='180px' height='180%' color-interpolation-filters='sRGB'><feDropShadow dx='1' dy='1' stdDeviation='1.2' flood-opacity='.5'/></filter></defs><g fill='none' transform='rotate(0 16 16)' filter='url(%23shadow)'><path d='m13.3315 21.3799c-.284-.359-.629-1.093-1.243-1.984-.348-.504-1.211-1.453-1.468-1.935-.223-.426-.199-.617-.146-.97.094-.628.738-1.117 1.425-1.051.519.049.959.392 1.355.716.239.195.533.574.71.788.163.196.203.277.377.509.23.307.302.459.214.121-.071-.496-.187-1.343-.355-2.092-.128-.568-.159-.657-.281-1.093-.129-.464-.195-.789-.316-1.281-.084-.348-.235-1.059-.276-1.459-.057-.547-.087-1.439.264-1.849.275-.321.906-.418 1.297-.22.512.259.803 1.003.936 1.3.239.534.387 1.151.516 1.961.164 1.031.466 2.462.476 2.763.024-.369-.068-1.146-.004-1.5.058-.321.328-.694.666-.795.286-.085.621-.116.916-.055.313.064.643.288.766.499.362.624.369 1.899.384 1.831.086-.376.071-1.229.284-1.584.14-.234.497-.445.687-.479.294-.052.655-.068.964-.008.249.049.586.345.677.487.218.344.342 1.317.379 1.658.015.141.074-.392.293-.736.406-.639 1.843-.763 1.898.639.025.654.02.624.02 1.064 0 .517-.012.828-.04 1.202-.031.4-.117 1.304-.242 1.742-.086.301-.371.978-.652 1.384 0 0-1.074 1.25-1.191 1.813-.118.562-.079.566-.102.965-.023.398.121.922.121.922s-.802.104-1.234.035c-.391-.063-.875-.841-1-1.079-.172-.328-.539-.265-.682-.023-.225.383-.709 1.07-1.051 1.113-.668.084-2.054.031-3.139.02 0 0 .185-1.011-.227-1.358-.305-.259-.83-.784-1.144-1.06z' fill='white'/><g stroke='black' stroke-linecap='round' stroke-width='.75'><path d='m13.3315 21.3799c-.284-.359-.629-1.093-1.243-1.984-.348-.504-1.211-1.453-1.468-1.935-.223-.426-.199-.617-.146-.97.094-.628.738-1.117 1.425-1.051.519.049.959.392 1.355.716.239.195.533.574.71.788.163.196.203.277.377.509.23.307.302.459.214.121-.071-.496-.187-1.343-.355-2.092-.128-.568-.159-.657-.281-1.093-.129-.464-.195-.789-.316-1.281-.084-.348-.235-1.059-.276-1.459-.057-.547-.087-1.439.264-1.849.275-.321.906-.418 1.297-.22.512.259.803 1.003.936 1.3.239.534.387 1.151.516 1.961.164 1.031.466 2.462.476 2.763.024-.369-.068-1.146-.004-1.5.058-.321.328-.694.666-.795.286-.085.621-.116.916-.055.313.064.643.288.766.499.362.624.369 1.899.384 1.831.086-.376.071-1.229.284-1.584.14-.234.497-.445.687-.479.294-.052.655-.068.964-.008.249.049.586.345.677.487.218.344.342 1.317.379 1.658.015.141.074-.392.293-.736.406-.639 1.843-.763 1.898.639.025.654.02.624.02 1.064 0 .517-.012.828-.04 1.202-.031.4-.117 1.304-.242 1.742-.086.301-.371.978-.652 1.384 0 0-1.074 1.25-1.191 1.813-.118.562-.079.566-.102.965-.023.398.121.922.121.922s-.802.104-1.234.035c-.391-.063-.875-.841-1-1.079-.172-.328-.539-.265-.682-.023-.225.383-.709 1.07-1.051 1.113-.668.084-2.054.031-3.139.02 0 0 .185-1.011-.227-1.358-.305-.259-.83-.784-1.144-1.06z' stroke-linejoin='round'/><path d='m21.5664 21.7344v-3.459'/><path d='m19.5508 21.7461-.016-3.473'/><path d='m17.5547 18.3047.021 3.426'/></g></g></svg>")
|
|
@@ -3974,3 +3970,4 @@ tldraw? probably.
|
|
|
3974
3970
|
}
|
|
3975
3971
|
}
|
|
3976
3972
|
|
|
3973
|
+
|