@tldraw/editor 3.14.0-canary.e2a8e4a03aff → 3.14.0-canary.e34e46232a4e

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 = "3.14.0-canary.e2a8e4a03aff";
1
+ const version = "3.14.0-canary.e34e46232a4e";
2
2
  const publishDates = {
3
3
  major: "2024-09-13T14:36:29.063Z",
4
- minor: "2025-06-24T14:05:35.474Z",
5
- patch: "2025-06-24T14:05:35.474Z"
4
+ minor: "2025-06-23T15:21:19.738Z",
5
+ patch: "2025-06-23T15:21:19.738Z"
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 = '3.14.0-canary.e2a8e4a03aff'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-06-24T14:05:35.474Z',\n\tpatch: '2025-06-24T14:05:35.474Z',\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 = '3.14.0-canary.e34e46232a4e'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-06-23T15:21:19.738Z',\n\tpatch: '2025-06-23T15:21:19.738Z',\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": "A tiny little drawing app (editor).",
4
- "version": "3.14.0-canary.e2a8e4a03aff",
4
+ "version": "3.14.0-canary.e34e46232a4e",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -48,12 +48,12 @@
48
48
  "@tiptap/core": "^2.9.1",
49
49
  "@tiptap/pm": "^2.9.1",
50
50
  "@tiptap/react": "^2.9.1",
51
- "@tldraw/state": "3.14.0-canary.e2a8e4a03aff",
52
- "@tldraw/state-react": "3.14.0-canary.e2a8e4a03aff",
53
- "@tldraw/store": "3.14.0-canary.e2a8e4a03aff",
54
- "@tldraw/tlschema": "3.14.0-canary.e2a8e4a03aff",
55
- "@tldraw/utils": "3.14.0-canary.e2a8e4a03aff",
56
- "@tldraw/validate": "3.14.0-canary.e2a8e4a03aff",
51
+ "@tldraw/state": "3.14.0-canary.e34e46232a4e",
52
+ "@tldraw/state-react": "3.14.0-canary.e34e46232a4e",
53
+ "@tldraw/store": "3.14.0-canary.e34e46232a4e",
54
+ "@tldraw/tlschema": "3.14.0-canary.e34e46232a4e",
55
+ "@tldraw/utils": "3.14.0-canary.e34e46232a4e",
56
+ "@tldraw/validate": "3.14.0-canary.e34e46232a4e",
57
57
  "@types/core-js": "^2.5.8",
58
58
  "@use-gesture/react": "^10.3.1",
59
59
  "classnames": "^2.5.1",
@@ -7937,8 +7937,6 @@ export class Editor extends EventEmitter<TLEventMap> {
7937
7937
  }
7938
7938
  })
7939
7939
 
7940
- this.emit('created-shapes', shapeRecordsToCreate)
7941
- this.emit('edit')
7942
7940
  this.store.put(shapeRecordsToCreate)
7943
7941
  })
7944
7942
 
@@ -8333,8 +8331,6 @@ export class Editor extends EventEmitter<TLEventMap> {
8333
8331
  updates.push(updated)
8334
8332
  }
8335
8333
 
8336
- this.emit('edited-shapes', updates)
8337
- this.emit('edit')
8338
8334
  this.store.put(updates)
8339
8335
  })
8340
8336
  }
@@ -8384,8 +8380,6 @@ export class Editor extends EventEmitter<TLEventMap> {
8384
8380
  })
8385
8381
  }
8386
8382
 
8387
- this.emit('deleted-shapes', [...allShapeIdsToDelete])
8388
- this.emit('edit')
8389
8383
  return this.run(() => this.store.remove([...allShapeIdsToDelete]))
8390
8384
  }
8391
8385
 
@@ -18,10 +18,6 @@ export interface TLEventMap {
18
18
  frame: [number]
19
19
  'select-all-text': [{ shapeId: TLShapeId }]
20
20
  'place-caret': [{ shapeId: TLShapeId; point: { x: number; y: number } }]
21
- 'created-shapes': [TLRecord[]]
22
- 'edited-shapes': [TLRecord[]]
23
- 'deleted-shapes': [TLShapeId[]]
24
- edit: []
25
21
  }
26
22
 
27
23
  /** @public */
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 = '3.14.0-canary.e2a8e4a03aff'
4
+ export const version = '3.14.0-canary.e34e46232a4e'
5
5
  export const publishDates = {
6
6
  major: '2024-09-13T14:36:29.063Z',
7
- minor: '2025-06-24T14:05:35.474Z',
8
- patch: '2025-06-24T14:05:35.474Z',
7
+ minor: '2025-06-23T15:21:19.738Z',
8
+ patch: '2025-06-23T15:21:19.738Z',
9
9
  }