@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.
@@ -1,8 +1,8 @@
1
- const version = "5.2.0-next.a6104dd18d03";
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-11T16:27:00.231Z",
5
- patch: "2026-06-11T16:27:00.231Z"
4
+ minor: "2026-06-12T08:51:03.446Z",
5
+ patch: "2026-06-12T08:51:03.446Z"
6
6
  };
7
7
  export {
8
8
  publishDates,
@@ -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.a6104dd18d03'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-06-11T16:27:00.231Z',\n\tpatch: '2026-06-11T16:27:00.231Z',\n}\n"],
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.a6104dd18d03",
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.a6104dd18d03",
53
- "@tldraw/state-react": "5.2.0-next.a6104dd18d03",
54
- "@tldraw/store": "5.2.0-next.a6104dd18d03",
55
- "@tldraw/tlschema": "5.2.0-next.a6104dd18d03",
56
- "@tldraw/utils": "5.2.0-next.a6104dd18d03",
57
- "@tldraw/validate": "5.2.0-next.a6104dd18d03",
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",
@@ -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({ speed: slideSpeed, direction: slideDirection })
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.a6104dd18d03'
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-11T16:27:00.231Z',
8
- patch: '2026-06-11T16:27:00.231Z',
7
+ minor: '2026-06-12T08:51:03.446Z',
8
+ patch: '2026-06-12T08:51:03.446Z',
9
9
  }