@tldraw/editor 5.2.0-next.a6104dd18d03 → 5.2.0-next.cd4a35fc06d5
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-cjs/lib/editor/Editor.js +4 -1
- package/dist-cjs/lib/editor/Editor.js.map +2 -2
- package/dist-cjs/version.js +3 -3
- package/dist-cjs/version.js.map +1 -1
- package/dist-esm/index.mjs +1 -1
- package/dist-esm/lib/editor/Editor.mjs +4 -1
- package/dist-esm/lib/editor/Editor.mjs.map +2 -2
- package/dist-esm/version.mjs +3 -3
- package/dist-esm/version.mjs.map +1 -1
- package/package.json +7 -7
- package/src/lib/editor/Editor.ts +4 -1
- package/src/version.ts +3 -3
package/dist-esm/version.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const version = "5.2.0-next.
|
|
1
|
+
const version = "5.2.0-next.cd4a35fc06d5";
|
|
2
2
|
const publishDates = {
|
|
3
3
|
major: "2026-05-06T16:28:18.473Z",
|
|
4
|
-
minor: "2026-06-
|
|
5
|
-
patch: "2026-06-
|
|
4
|
+
minor: "2026-06-12T08:51:03.446Z",
|
|
5
|
+
patch: "2026-06-12T08:51:03.446Z"
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
8
|
publishDates,
|
package/dist-esm/version.mjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/version.ts"],
|
|
4
|
-
"sourcesContent": ["// This file is automatically generated by internal/scripts/refresh-assets.ts.\n// Do not edit manually. Or do, I'm a comment, not a cop.\n\nexport const version = '5.2.0-next.
|
|
4
|
+
"sourcesContent": ["// This file is automatically generated by internal/scripts/refresh-assets.ts.\n// Do not edit manually. Or do, I'm a comment, not a cop.\n\nexport const version = '5.2.0-next.cd4a35fc06d5'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-06-12T08:51:03.446Z',\n\tpatch: '2026-06-12T08:51:03.446Z',\n}\n"],
|
|
5
5
|
"mappings": "AAGO,MAAM,UAAU;AAChB,MAAM,eAAe;AAAA,EAC3B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACR;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tldraw/editor",
|
|
3
3
|
"description": "tldraw infinite canvas SDK (editor).",
|
|
4
|
-
"version": "5.2.0-next.
|
|
4
|
+
"version": "5.2.0-next.cd4a35fc06d5",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"@tiptap/core": "^3.12.1",
|
|
50
50
|
"@tiptap/pm": "^3.12.1",
|
|
51
51
|
"@tiptap/react": "^3.12.1",
|
|
52
|
-
"@tldraw/state": "5.2.0-next.
|
|
53
|
-
"@tldraw/state-react": "5.2.0-next.
|
|
54
|
-
"@tldraw/store": "5.2.0-next.
|
|
55
|
-
"@tldraw/tlschema": "5.2.0-next.
|
|
56
|
-
"@tldraw/utils": "5.2.0-next.
|
|
57
|
-
"@tldraw/validate": "5.2.0-next.
|
|
52
|
+
"@tldraw/state": "5.2.0-next.cd4a35fc06d5",
|
|
53
|
+
"@tldraw/state-react": "5.2.0-next.cd4a35fc06d5",
|
|
54
|
+
"@tldraw/store": "5.2.0-next.cd4a35fc06d5",
|
|
55
|
+
"@tldraw/tlschema": "5.2.0-next.cd4a35fc06d5",
|
|
56
|
+
"@tldraw/utils": "5.2.0-next.cd4a35fc06d5",
|
|
57
|
+
"@tldraw/validate": "5.2.0-next.cd4a35fc06d5",
|
|
58
58
|
"classnames": "^2.5.1",
|
|
59
59
|
"eventemitter3": "^4.0.7",
|
|
60
60
|
"idb": "^7.1.1",
|
package/src/lib/editor/Editor.ts
CHANGED
|
@@ -11341,7 +11341,10 @@ export class Editor extends EventEmitter<TLEventMap> {
|
|
|
11341
11341
|
// Don't pass right-click panning events to the state chart
|
|
11342
11342
|
// as it causes unintended shape selection on release
|
|
11343
11343
|
if (slideSpeed > 0) {
|
|
11344
|
-
this.slideCamera({
|
|
11344
|
+
this.slideCamera({
|
|
11345
|
+
speed: slideSpeed,
|
|
11346
|
+
direction: { x: slideDirection.x, y: slideDirection.y, z: 0 },
|
|
11347
|
+
})
|
|
11345
11348
|
}
|
|
11346
11349
|
this._selectedShapeIdsAtPointerDown = []
|
|
11347
11350
|
this._didCaptureSelectionAtPointerDown = false
|
package/src/version.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// This file is automatically generated by internal/scripts/refresh-assets.ts.
|
|
2
2
|
// Do not edit manually. Or do, I'm a comment, not a cop.
|
|
3
3
|
|
|
4
|
-
export const version = '5.2.0-next.
|
|
4
|
+
export const version = '5.2.0-next.cd4a35fc06d5'
|
|
5
5
|
export const publishDates = {
|
|
6
6
|
major: '2026-05-06T16:28:18.473Z',
|
|
7
|
-
minor: '2026-06-
|
|
8
|
-
patch: '2026-06-
|
|
7
|
+
minor: '2026-06-12T08:51:03.446Z',
|
|
8
|
+
patch: '2026-06-12T08:51:03.446Z',
|
|
9
9
|
}
|