@tldraw/editor 3.9.0-canary.fd353fdbe729 → 3.9.0-canary.ffd70616b52c
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/CHANGELOG.md +20 -0
- package/README.md +1 -1
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/lib/components/default-components/DefaultErrorFallback.js +1 -1
- package/dist-cjs/lib/components/default-components/DefaultErrorFallback.js.map +2 -2
- package/dist-cjs/lib/editor/Editor.js +1 -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/components/default-components/DefaultErrorFallback.mjs +1 -1
- package/dist-esm/lib/components/default-components/DefaultErrorFallback.mjs.map +2 -2
- package/dist-esm/lib/editor/Editor.mjs +1 -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/components/default-components/DefaultErrorFallback.tsx +5 -3
- package/src/lib/editor/Editor.ts +1 -1
- package/src/version.ts +3 -3
package/dist-esm/version.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const version = "3.9.0-canary.
|
|
1
|
+
const version = "3.9.0-canary.ffd70616b52c";
|
|
2
2
|
const publishDates = {
|
|
3
3
|
major: "2024-09-13T14:36:29.063Z",
|
|
4
|
-
minor: "2025-02-
|
|
5
|
-
patch: "2025-02-
|
|
4
|
+
minor: "2025-02-27T12:06:59.578Z",
|
|
5
|
+
patch: "2025-02-27T12:06:59.578Z"
|
|
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 = '3.9.0-canary.
|
|
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.9.0-canary.ffd70616b52c'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-02-27T12:06:59.578Z',\n\tpatch: '2025-02-27T12:06:59.578Z',\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.9.0-canary.
|
|
4
|
+
"version": "3.9.0-canary.ffd70616b52c",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@tldraw/state": "3.9.0-canary.
|
|
49
|
-
"@tldraw/state-react": "3.9.0-canary.
|
|
50
|
-
"@tldraw/store": "3.9.0-canary.
|
|
51
|
-
"@tldraw/tlschema": "3.9.0-canary.
|
|
52
|
-
"@tldraw/utils": "3.9.0-canary.
|
|
53
|
-
"@tldraw/validate": "3.9.0-canary.
|
|
48
|
+
"@tldraw/state": "3.9.0-canary.ffd70616b52c",
|
|
49
|
+
"@tldraw/state-react": "3.9.0-canary.ffd70616b52c",
|
|
50
|
+
"@tldraw/store": "3.9.0-canary.ffd70616b52c",
|
|
51
|
+
"@tldraw/tlschema": "3.9.0-canary.ffd70616b52c",
|
|
52
|
+
"@tldraw/utils": "3.9.0-canary.ffd70616b52c",
|
|
53
|
+
"@tldraw/validate": "3.9.0-canary.ffd70616b52c",
|
|
54
54
|
"@types/core-js": "^2.5.8",
|
|
55
55
|
"@use-gesture/react": "^10.3.1",
|
|
56
56
|
"classnames": "^2.5.1",
|
|
@@ -170,9 +170,11 @@ My browser: ${navigator.userAgent}`
|
|
|
170
170
|
<p>
|
|
171
171
|
If you keep seeing this screen, you can create a{' '}
|
|
172
172
|
<a href={url.toString()}>GitHub issue</a> or ask for help on{' '}
|
|
173
|
-
<a href="https://discord.
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
<a href="https://discord.tldraw.com/?utm_source=sdk&utm_medium=organic&utm_campaign=error-screen">
|
|
174
|
+
Discord
|
|
175
|
+
</a>
|
|
176
|
+
. If you are still stuck, you can reset the tldraw data on your machine. This may
|
|
177
|
+
erase the project you were working on, so try to get help first.
|
|
176
178
|
</p>
|
|
177
179
|
{shouldShowError && (
|
|
178
180
|
<>
|
package/src/lib/editor/Editor.ts
CHANGED
|
@@ -4227,7 +4227,7 @@ export class Editor extends EventEmitter<TLEventMap> {
|
|
|
4227
4227
|
this._shapeGeometryCaches[context] = this.store.createComputedCache(
|
|
4228
4228
|
'bounds',
|
|
4229
4229
|
(shape) => this.getShapeUtil(shape).getGeometry(shape, opts),
|
|
4230
|
-
(a, b) => a.props === b.props
|
|
4230
|
+
{ areRecordsEqual: (a, b) => a.props === b.props }
|
|
4231
4231
|
)
|
|
4232
4232
|
}
|
|
4233
4233
|
return this._shapeGeometryCaches[context].get(
|
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.9.0-canary.
|
|
4
|
+
export const version = '3.9.0-canary.ffd70616b52c'
|
|
5
5
|
export const publishDates = {
|
|
6
6
|
major: '2024-09-13T14:36:29.063Z',
|
|
7
|
-
minor: '2025-02-
|
|
8
|
-
patch: '2025-02-
|
|
7
|
+
minor: '2025-02-27T12:06:59.578Z',
|
|
8
|
+
patch: '2025-02-27T12:06:59.578Z',
|
|
9
9
|
}
|