@tldraw/editor 5.7.0-canary.25339b7b3076 → 5.7.0-canary.2a7906c01b4d

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.
@@ -8793,6 +8793,9 @@ export declare interface TLEventMap {
8793
8793
  name: string;
8794
8794
  pageId: TLPageId;
8795
8795
  }];
8796
+ 'confirm-open-link': [{
8797
+ url: string;
8798
+ }];
8796
8799
  change: [HistoryEntry<TLRecord>];
8797
8800
  update: [];
8798
8801
  crash: [{
package/dist-cjs/index.js CHANGED
@@ -398,7 +398,7 @@ var import_uniq = require("./lib/utils/uniq");
398
398
  var import_defaultThemes2 = require("./lib/editor/managers/ThemeManager/defaultThemes");
399
399
  (0, import_utils.registerTldrawLibraryVersion)(
400
400
  "@tldraw/editor",
401
- "5.7.0-canary.25339b7b3076",
401
+ "5.7.0-canary.2a7906c01b4d",
402
402
  "cjs"
403
403
  );
404
404
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/lib/editor/types/emit-types.ts"],
4
- "sourcesContent": ["import { HistoryEntry } from '@tldraw/store'\nimport { BoxModel, TLPageId, TLRecord, TLShapeId } from '@tldraw/tlschema'\nimport { TLEventInfo } from './event-types'\n\n/** @public */\nexport interface TLEventMap {\n\t// Lifecycle / Internal\n\tmount: []\n\tunmount: []\n\t'max-shapes': [{ name: string; pageId: TLPageId; count: number }]\n\tchange: [HistoryEntry<TLRecord>]\n\tupdate: []\n\tcrash: [{ error: unknown }]\n\t'stop-camera-animation': []\n\t'stop-following': []\n\t'before-event': [TLEventInfo]\n\tevent: [TLEventInfo]\n\ttick: [number]\n\tframe: [number]\n\tresize: [BoxModel]\n\t'select-all-text': [{ shapeId: TLShapeId }]\n\t'place-caret': [{ shapeId: TLShapeId; point: { x: number; y: number } }]\n\t'created-shapes': [TLRecord[]]\n\t'edited-shapes': [TLRecord[]]\n\t'deleted-shapes': [TLShapeId[]]\n\tedit: []\n\tdispose: []\n}\n\n/** @public */\nexport type TLEventMapHandler<T extends keyof TLEventMap> = (...args: TLEventMap[T]) => void\n"],
4
+ "sourcesContent": ["import { HistoryEntry } from '@tldraw/store'\nimport { BoxModel, TLPageId, TLRecord, TLShapeId } from '@tldraw/tlschema'\nimport { TLEventInfo } from './event-types'\n\n/** @public */\nexport interface TLEventMap {\n\t// Lifecycle / Internal\n\tmount: []\n\tunmount: []\n\t'max-shapes': [{ name: string; pageId: TLPageId; count: number }]\n\t'confirm-open-link': [{ url: string }]\n\tchange: [HistoryEntry<TLRecord>]\n\tupdate: []\n\tcrash: [{ error: unknown }]\n\t'stop-camera-animation': []\n\t'stop-following': []\n\t'before-event': [TLEventInfo]\n\tevent: [TLEventInfo]\n\ttick: [number]\n\tframe: [number]\n\tresize: [BoxModel]\n\t'select-all-text': [{ shapeId: TLShapeId }]\n\t'place-caret': [{ shapeId: TLShapeId; point: { x: number; y: number } }]\n\t'created-shapes': [TLRecord[]]\n\t'edited-shapes': [TLRecord[]]\n\t'deleted-shapes': [TLShapeId[]]\n\tedit: []\n\tdispose: []\n}\n\n/** @public */\nexport type TLEventMapHandler<T extends keyof TLEventMap> = (...args: TLEventMap[T]) => void\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -22,10 +22,10 @@ __export(version_exports, {
22
22
  version: () => version
23
23
  });
24
24
  module.exports = __toCommonJS(version_exports);
25
- const version = "5.7.0-canary.25339b7b3076";
25
+ const version = "5.7.0-canary.2a7906c01b4d";
26
26
  const publishDates = {
27
27
  major: "2026-05-06T16:28:18.473Z",
28
- minor: "2026-11-19T12:50:52.565Z",
29
- patch: "2026-11-19T12:50:52.565Z"
28
+ minor: "2026-11-19T16:08:05.114Z",
29
+ patch: "2026-11-19T16:08:05.114Z"
30
30
  };
31
31
  //# sourceMappingURL=version.js.map
@@ -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.7.0-canary.25339b7b3076'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-11-19T12:50:52.565Z',\n\tpatch: '2026-11-19T12:50:52.565Z',\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.7.0-canary.2a7906c01b4d'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-11-19T16:08:05.114Z',\n\tpatch: '2026-11-19T16:08:05.114Z',\n}\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,UAAU;AAChB,MAAM,eAAe;AAAA,EAC3B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACR;",
6
6
  "names": []
7
7
  }
@@ -8793,6 +8793,9 @@ export declare interface TLEventMap {
8793
8793
  name: string;
8794
8794
  pageId: TLPageId;
8795
8795
  }];
8796
+ 'confirm-open-link': [{
8797
+ url: string;
8798
+ }];
8796
8799
  change: [HistoryEntry<TLRecord>];
8797
8800
  update: [];
8798
8801
  crash: [{
@@ -319,7 +319,7 @@ import { LocalIndexedDb, Table } from "./lib/utils/sync/LocalIndexedDb.mjs";
319
319
  import { uniq } from "./lib/utils/uniq.mjs";
320
320
  registerTldrawLibraryVersion(
321
321
  "@tldraw/editor",
322
- "5.7.0-canary.25339b7b3076",
322
+ "5.7.0-canary.2a7906c01b4d",
323
323
  "esm"
324
324
  );
325
325
  import { getColorValue } from "./lib/editor/managers/ThemeManager/defaultThemes.mjs";
@@ -1,8 +1,8 @@
1
- const version = "5.7.0-canary.25339b7b3076";
1
+ const version = "5.7.0-canary.2a7906c01b4d";
2
2
  const publishDates = {
3
3
  major: "2026-05-06T16:28:18.473Z",
4
- minor: "2026-11-19T12:50:52.565Z",
5
- patch: "2026-11-19T12:50:52.565Z"
4
+ minor: "2026-11-19T16:08:05.114Z",
5
+ patch: "2026-11-19T16:08:05.114Z"
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.7.0-canary.25339b7b3076'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-11-19T12:50:52.565Z',\n\tpatch: '2026-11-19T12:50:52.565Z',\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.7.0-canary.2a7906c01b4d'\nexport const publishDates = {\n\tmajor: '2026-05-06T16:28:18.473Z',\n\tminor: '2026-11-19T16:08:05.114Z',\n\tpatch: '2026-11-19T16:08:05.114Z',\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.7.0-canary.25339b7b3076",
4
+ "version": "5.7.0-canary.2a7906c01b4d",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -43,12 +43,12 @@
43
43
  "@tiptap/core": "^3.12.1",
44
44
  "@tiptap/pm": "^3.12.1",
45
45
  "@tiptap/react": "^3.12.1",
46
- "@tldraw/state": "5.7.0-canary.25339b7b3076",
47
- "@tldraw/state-react": "5.7.0-canary.25339b7b3076",
48
- "@tldraw/store": "5.7.0-canary.25339b7b3076",
49
- "@tldraw/tlschema": "5.7.0-canary.25339b7b3076",
50
- "@tldraw/utils": "5.7.0-canary.25339b7b3076",
51
- "@tldraw/validate": "5.7.0-canary.25339b7b3076",
46
+ "@tldraw/state": "5.7.0-canary.2a7906c01b4d",
47
+ "@tldraw/state-react": "5.7.0-canary.2a7906c01b4d",
48
+ "@tldraw/store": "5.7.0-canary.2a7906c01b4d",
49
+ "@tldraw/tlschema": "5.7.0-canary.2a7906c01b4d",
50
+ "@tldraw/utils": "5.7.0-canary.2a7906c01b4d",
51
+ "@tldraw/validate": "5.7.0-canary.2a7906c01b4d",
52
52
  "classnames": "^2.5.1",
53
53
  "eventemitter3": "^4.0.7",
54
54
  "idb": "^7.1.1",
@@ -8,6 +8,7 @@ export interface TLEventMap {
8
8
  mount: []
9
9
  unmount: []
10
10
  'max-shapes': [{ name: string; pageId: TLPageId; count: number }]
11
+ 'confirm-open-link': [{ url: string }]
11
12
  change: [HistoryEntry<TLRecord>]
12
13
  update: []
13
14
  crash: [{ error: unknown }]
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.7.0-canary.25339b7b3076'
4
+ export const version = '5.7.0-canary.2a7906c01b4d'
5
5
  export const publishDates = {
6
6
  major: '2026-05-06T16:28:18.473Z',
7
- minor: '2026-11-19T12:50:52.565Z',
8
- patch: '2026-11-19T12:50:52.565Z',
7
+ minor: '2026-11-19T16:08:05.114Z',
8
+ patch: '2026-11-19T16:08:05.114Z',
9
9
  }