@tldraw/editor 3.7.0-canary.f9d4bdbb2f2d โ 3.7.0
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 +62 -0
- package/dist-cjs/index.js +1 -1
- 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/version.mjs +3 -3
- package/dist-esm/version.mjs.map +1 -1
- package/package.json +7 -7
- package/src/version.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,65 @@
|
|
|
1
|
+
# v3.7.0 (Tue Jan 07 2025)
|
|
2
|
+
|
|
3
|
+
### Release Notes
|
|
4
|
+
|
|
5
|
+
#### Allow expandSelectionOutlinePx to return a Box ([#5168](https://github.com/tldraw/tldraw/pull/5168))
|
|
6
|
+
|
|
7
|
+
- Support expanding the selection outline by different amounts on each side by returning a `Box` from `expandSelectionOutlinePx`.
|
|
8
|
+
|
|
9
|
+
#### Fix relative CSS import rules failing to be fetched ([#5172](https://github.com/tldraw/tldraw/pull/5172))
|
|
10
|
+
|
|
11
|
+
- Fix relative CSS import rules failing to be fetched when exporting or printing.
|
|
12
|
+
|
|
13
|
+
#### custom sync presence ([#5071](https://github.com/tldraw/tldraw/pull/5071))
|
|
14
|
+
|
|
15
|
+
- It's now possible to customise what presence data is synced between clients, or disable presence syncing entirely.
|
|
16
|
+
|
|
17
|
+
#### Don't add the baseElem to the container in textmanager ([#5127](https://github.com/tldraw/tldraw/pull/5127))
|
|
18
|
+
|
|
19
|
+
- Prevents divs created for text measurement from leaking during hot reloading.
|
|
20
|
+
|
|
21
|
+
#### Improve rerenedring of the page menu and quick actions ([#5057](https://github.com/tldraw/tldraw/pull/5057))
|
|
22
|
+
|
|
23
|
+
- Improves rendering of the pages menu and quick actions.
|
|
24
|
+
|
|
25
|
+
#### fix: Updating shape props to undefined when using editor.updateShape ([#5029](https://github.com/tldraw/tldraw/pull/5029))
|
|
26
|
+
|
|
27
|
+
- Updating shape props to undefined when using editor.updateShape
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
#### ๐ Bug Fix
|
|
32
|
+
|
|
33
|
+
- [botcom] slurp local files on sign in [#5059](https://github.com/tldraw/tldraw/pull/5059) ([@ds300](https://github.com/ds300))
|
|
34
|
+
|
|
35
|
+
#### ๐ Bug Fixes
|
|
36
|
+
|
|
37
|
+
- Fix relative CSS import rules failing to be fetched [#5172](https://github.com/tldraw/tldraw/pull/5172) ([@trygve-aaberge-adsk](https://github.com/trygve-aaberge-adsk))
|
|
38
|
+
- Don't add the baseElem to the container in textmanager [#5127](https://github.com/tldraw/tldraw/pull/5127) ([@ds300](https://github.com/ds300))
|
|
39
|
+
- fix hot reload text measurement bug [#5125](https://github.com/tldraw/tldraw/pull/5125) ([@ds300](https://github.com/ds300))
|
|
40
|
+
- fix stale closure in InnerShape [#5117](https://github.com/tldraw/tldraw/pull/5117) ([@ds300](https://github.com/ds300))
|
|
41
|
+
- fix: Updating shape props to undefined when using editor.updateShape [#5029](https://github.com/tldraw/tldraw/pull/5029) ([@kazu-2020](https://github.com/kazu-2020) [@steveruizok](https://github.com/steveruizok))
|
|
42
|
+
|
|
43
|
+
#### ๐ Product Improvements
|
|
44
|
+
|
|
45
|
+
- Improve rerenedring of the page menu and quick actions [#5057](https://github.com/tldraw/tldraw/pull/5057) ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
46
|
+
|
|
47
|
+
#### ๐ ๏ธ API Changes
|
|
48
|
+
|
|
49
|
+
- Allow expandSelectionOutlinePx to return a Box [#5168](https://github.com/tldraw/tldraw/pull/5168) ([@trygve-aaberge-adsk](https://github.com/trygve-aaberge-adsk))
|
|
50
|
+
- custom sync presence [#5071](https://github.com/tldraw/tldraw/pull/5071) ([@SomeHats](https://github.com/SomeHats))
|
|
51
|
+
|
|
52
|
+
#### Authors: 6
|
|
53
|
+
|
|
54
|
+
- alex ([@SomeHats](https://github.com/SomeHats))
|
|
55
|
+
- David Sheldrick ([@ds300](https://github.com/ds300))
|
|
56
|
+
- mimata kazutaka ([@kazu-2020](https://github.com/kazu-2020))
|
|
57
|
+
- Mitja Bezenลกek ([@MitjaBezensek](https://github.com/MitjaBezensek))
|
|
58
|
+
- Steve Ruiz ([@steveruizok](https://github.com/steveruizok))
|
|
59
|
+
- Trygve Aaberge ([@trygve-aaberge-adsk](https://github.com/trygve-aaberge-adsk))
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
1
63
|
# v3.6.0 (Wed Dec 04 2024)
|
|
2
64
|
|
|
3
65
|
### Release Notes
|
package/dist-cjs/index.js
CHANGED
package/dist-cjs/version.js
CHANGED
|
@@ -22,10 +22,10 @@ __export(version_exports, {
|
|
|
22
22
|
version: () => version
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(version_exports);
|
|
25
|
-
const version = "3.7.0
|
|
25
|
+
const version = "3.7.0";
|
|
26
26
|
const publishDates = {
|
|
27
27
|
major: "2024-09-13T14:36:29.063Z",
|
|
28
|
-
minor: "2025-01-
|
|
29
|
-
patch: "2025-01-
|
|
28
|
+
minor: "2025-01-07T15:59:09.453Z",
|
|
29
|
+
patch: "2025-01-07T15:59:09.453Z"
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=version.js.map
|
package/dist-cjs/version.js.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.7.0
|
|
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.7.0'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-01-07T15:59:09.453Z',\n\tpatch: '2025-01-07T15:59:09.453Z',\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
|
}
|
package/dist-esm/index.mjs
CHANGED
package/dist-esm/version.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const version = "3.7.0
|
|
1
|
+
const version = "3.7.0";
|
|
2
2
|
const publishDates = {
|
|
3
3
|
major: "2024-09-13T14:36:29.063Z",
|
|
4
|
-
minor: "2025-01-
|
|
5
|
-
patch: "2025-01-
|
|
4
|
+
minor: "2025-01-07T15:59:09.453Z",
|
|
5
|
+
patch: "2025-01-07T15:59:09.453Z"
|
|
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.7.0
|
|
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.7.0'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-01-07T15:59:09.453Z',\n\tpatch: '2025-01-07T15:59:09.453Z',\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.7.0
|
|
4
|
+
"version": "3.7.0",
|
|
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.7.0
|
|
49
|
-
"@tldraw/state-react": "3.7.0
|
|
50
|
-
"@tldraw/store": "3.7.0
|
|
51
|
-
"@tldraw/tlschema": "3.7.0
|
|
52
|
-
"@tldraw/utils": "3.7.0
|
|
53
|
-
"@tldraw/validate": "3.7.0
|
|
48
|
+
"@tldraw/state": "3.7.0",
|
|
49
|
+
"@tldraw/state-react": "3.7.0",
|
|
50
|
+
"@tldraw/store": "3.7.0",
|
|
51
|
+
"@tldraw/tlschema": "3.7.0",
|
|
52
|
+
"@tldraw/utils": "3.7.0",
|
|
53
|
+
"@tldraw/validate": "3.7.0",
|
|
54
54
|
"@types/core-js": "^2.5.5",
|
|
55
55
|
"@use-gesture/react": "^10.2.27",
|
|
56
56
|
"classnames": "^2.3.2",
|
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.7.0
|
|
4
|
+
export const version = '3.7.0'
|
|
5
5
|
export const publishDates = {
|
|
6
6
|
major: '2024-09-13T14:36:29.063Z',
|
|
7
|
-
minor: '2025-01-
|
|
8
|
-
patch: '2025-01-
|
|
7
|
+
minor: '2025-01-07T15:59:09.453Z',
|
|
8
|
+
patch: '2025-01-07T15:59:09.453Z',
|
|
9
9
|
}
|