@tldraw/editor 5.3.0-canary.3c03dcdf8fa0 → 5.3.0-canary.3cf7ba2fcdbb

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.3.0-canary.3c03dcdf8fa0";
1
+ const version = "5.3.0-canary.3cf7ba2fcdbb";
2
2
  const publishDates = {
3
3
  major: "2026-05-06T16:28:18.473Z",
4
- minor: "2026-07-02T14:21:11.718Z",
5
- patch: "2026-07-02T14:21:11.718Z"
4
+ minor: "2026-07-03T16:12:02.022Z",
5
+ patch: "2026-07-03T16:12:02.022Z"
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.3.0-canary.3c03dcdf8fa0'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-07-02T14:21:11.718Z',\n\tpatch: '2026-07-02T14:21:11.718Z',\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.3.0-canary.3cf7ba2fcdbb'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-07-03T16:12:02.022Z',\n\tpatch: '2026-07-03T16:12:02.022Z',\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.3.0-canary.3c03dcdf8fa0",
4
+ "version": "5.3.0-canary.3cf7ba2fcdbb",
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.3.0-canary.3c03dcdf8fa0",
53
- "@tldraw/state-react": "5.3.0-canary.3c03dcdf8fa0",
54
- "@tldraw/store": "5.3.0-canary.3c03dcdf8fa0",
55
- "@tldraw/tlschema": "5.3.0-canary.3c03dcdf8fa0",
56
- "@tldraw/utils": "5.3.0-canary.3c03dcdf8fa0",
57
- "@tldraw/validate": "5.3.0-canary.3c03dcdf8fa0",
52
+ "@tldraw/state": "5.3.0-canary.3cf7ba2fcdbb",
53
+ "@tldraw/state-react": "5.3.0-canary.3cf7ba2fcdbb",
54
+ "@tldraw/store": "5.3.0-canary.3cf7ba2fcdbb",
55
+ "@tldraw/tlschema": "5.3.0-canary.3cf7ba2fcdbb",
56
+ "@tldraw/utils": "5.3.0-canary.3cf7ba2fcdbb",
57
+ "@tldraw/validate": "5.3.0-canary.3cf7ba2fcdbb",
58
58
  "classnames": "^2.5.1",
59
59
  "eventemitter3": "^4.0.7",
60
60
  "idb": "^7.1.1",
@@ -820,6 +820,10 @@ export class Editor extends EventEmitter<TLEventMap> {
820
820
  },
821
821
  instance_page_state: {
822
822
  afterChange: (prev, next) => {
823
+ if (prev?.focusedGroupId !== next?.focusedGroupId) {
824
+ this.cancelDoubleClick()
825
+ }
826
+
823
827
  if (prev?.selectedShapeIds !== next?.selectedShapeIds) {
824
828
  // ensure that descendants and ancestors are not selected at the same time
825
829
  const filtered = next.selectedShapeIds.filter((id) => {
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.3.0-canary.3c03dcdf8fa0'
4
+ export const version = '5.3.0-canary.3cf7ba2fcdbb'
5
5
  export const publishDates = {
6
6
  major: '2026-05-06T16:28:18.473Z',
7
- minor: '2026-07-02T14:21:11.718Z',
8
- patch: '2026-07-02T14:21:11.718Z',
7
+ minor: '2026-07-03T16:12:02.022Z',
8
+ patch: '2026-07-03T16:12:02.022Z',
9
9
  }