@tldraw/editor 3.10.0-canary.c661dfedf191 → 3.10.0-canary.d3390519bf28

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.10.0-canary.c661dfedf191";
1
+ const version = "3.10.0-canary.d3390519bf28";
2
2
  const publishDates = {
3
3
  major: "2024-09-13T14:36:29.063Z",
4
- minor: "2025-03-04T21:36:43.510Z",
5
- patch: "2025-03-04T21:36:43.510Z"
4
+ minor: "2025-03-06T18:47:06.534Z",
5
+ patch: "2025-03-06T18:47:06.534Z"
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.10.0-canary.c661dfedf191'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-03-04T21:36:43.510Z',\n\tpatch: '2025-03-04T21:36:43.510Z',\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.10.0-canary.d3390519bf28'\nexport const publishDates = {\n\tmajor: '2024-09-13T14:36:29.063Z',\n\tminor: '2025-03-06T18:47:06.534Z',\n\tpatch: '2025-03-06T18:47:06.534Z',\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/editor.css CHANGED
@@ -970,6 +970,10 @@ input,
970
970
  text-decoration: underline;
971
971
  }
972
972
 
973
+ .tl-rich-text[data-is-select-tool-active='false'] a {
974
+ cursor: inherit;
975
+ }
976
+
973
977
  .tl-rich-text code {
974
978
  font-family: var(--tl-font-mono);
975
979
  }
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.10.0-canary.c661dfedf191",
4
+ "version": "3.10.0-canary.d3390519bf28",
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.10.0-canary.c661dfedf191",
52
- "@tldraw/state-react": "3.10.0-canary.c661dfedf191",
53
- "@tldraw/store": "3.10.0-canary.c661dfedf191",
54
- "@tldraw/tlschema": "3.10.0-canary.c661dfedf191",
55
- "@tldraw/utils": "3.10.0-canary.c661dfedf191",
56
- "@tldraw/validate": "3.10.0-canary.c661dfedf191",
51
+ "@tldraw/state": "3.10.0-canary.d3390519bf28",
52
+ "@tldraw/state-react": "3.10.0-canary.d3390519bf28",
53
+ "@tldraw/store": "3.10.0-canary.d3390519bf28",
54
+ "@tldraw/tlschema": "3.10.0-canary.d3390519bf28",
55
+ "@tldraw/utils": "3.10.0-canary.d3390519bf28",
56
+ "@tldraw/validate": "3.10.0-canary.d3390519bf28",
57
57
  "@types/core-js": "^2.5.8",
58
58
  "@use-gesture/react": "^10.3.1",
59
59
  "classnames": "^2.5.1",
@@ -5342,7 +5342,7 @@ export class Editor extends EventEmitter<TLEventMap> {
5342
5342
 
5343
5343
  const invertedParentTransform = parentTransform.clone().invert()
5344
5344
 
5345
- const shapesToReparent = compact(ids.map((id) => this.getShape(id)))
5345
+ const shapesToReparent = compact(ids.map((id) => this.getShape(id))).sort(sortByIndex)
5346
5346
 
5347
5347
  // Ignore locked shapes so that we can reparent locked shapes, for example
5348
5348
  // when a locked shape's parent is deleted.
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.10.0-canary.c661dfedf191'
4
+ export const version = '3.10.0-canary.d3390519bf28'
5
5
  export const publishDates = {
6
6
  major: '2024-09-13T14:36:29.063Z',
7
- minor: '2025-03-04T21:36:43.510Z',
8
- patch: '2025-03-04T21:36:43.510Z',
7
+ minor: '2025-03-06T18:47:06.534Z',
8
+ patch: '2025-03-06T18:47:06.534Z',
9
9
  }