@tldraw/tldraw 4.6.0-internal.e29318c66fb0 → 4.6.0-next.0a51207761bb

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/dist-cjs/index.js CHANGED
@@ -19,7 +19,7 @@ var import_tldraw = require("tldraw");
19
19
  __reExport(index_exports, require("tldraw"), module.exports);
20
20
  (0, import_tldraw.registerTldrawLibraryVersion)(
21
21
  "@tldraw/tldraw",
22
- "4.6.0-internal.e29318c66fb0",
22
+ "4.6.0-next.0a51207761bb",
23
23
  "cjs"
24
24
  );
25
25
  //# sourceMappingURL=index.js.map
@@ -2,7 +2,7 @@ import { registerTldrawLibraryVersion } from "tldraw";
2
2
  export * from "tldraw";
3
3
  registerTldrawLibraryVersion(
4
4
  "@tldraw/tldraw",
5
- "4.6.0-internal.e29318c66fb0",
5
+ "4.6.0-next.0a51207761bb",
6
6
  "esm"
7
7
  );
8
8
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tldraw/tldraw",
3
3
  "description": "A tiny little drawing editor.",
4
- "version": "4.6.0-internal.e29318c66fb0",
4
+ "version": "4.6.0-next.0a51207761bb",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -38,7 +38,7 @@
38
38
  "prepack": "yarn run -T tsx ../../internal/scripts/prepack.ts",
39
39
  "postpack": "../../internal/scripts/postpack.sh",
40
40
  "pack-tarball": "yarn pack",
41
- "lint": "cd ../.. && yarn run -T oxlint packages/namespaced-tldraw"
41
+ "lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
42
42
  },
43
43
  "files": [
44
44
  "tldraw.css",
@@ -47,7 +47,7 @@
47
47
  "src"
48
48
  ],
49
49
  "dependencies": {
50
- "tldraw": "4.6.0-internal.e29318c66fb0"
50
+ "tldraw": "4.6.0-next.0a51207761bb"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "react": "^18.2.0 || ^19.2.1",
package/tldraw.css CHANGED
@@ -170,7 +170,6 @@
170
170
  /* UI */
171
171
  --tl-color-low: hsl(204, 16%, 94%);
172
172
  --tl-color-low-border: hsl(204, 16%, 92%);
173
- --tl-color-culled: hsl(204, 14%, 93%);
174
173
  --tl-color-muted-none: hsl(0, 0%, 0%, 0%);
175
174
  --tl-color-muted-0: hsl(0, 0%, 0%, 2%);
176
175
  --tl-color-muted-1: hsl(0, 0%, 0%, 10%);
@@ -228,7 +227,6 @@
228
227
  /* UI */
229
228
  --tl-color-low: hsl(260, 4.5%, 10.5%);
230
229
  --tl-color-low-border: hsl(207, 10%, 10%);
231
- --tl-color-culled: hsl(210, 11%, 19%);
232
230
  --tl-color-muted-none: hsl(0, 0%, 100%, 0%);
233
231
  --tl-color-muted-0: hsl(0, 0%, 100%, 2%);
234
232
  --tl-color-muted-1: hsl(0, 0%, 100%, 10%);
@@ -629,37 +627,6 @@ input,
629
627
  overflow-wrap: break-word;
630
628
  }
631
629
 
632
- .tl-text-wrapper[data-font='draw'] {
633
- font-family: var(--tl-font-draw);
634
- }
635
-
636
- .tl-text-wrapper[data-font='sans'] {
637
- font-family: var(--tl-font-sans);
638
- }
639
-
640
- .tl-text-wrapper[data-font='serif'] {
641
- font-family: var(--tl-font-serif);
642
- }
643
-
644
- .tl-text-wrapper[data-font='mono'] {
645
- font-family: var(--tl-font-mono);
646
- }
647
-
648
- .tl-text-wrapper[data-align='start'],
649
- .tl-text-wrapper[data-align='start-legacy'] {
650
- text-align: left;
651
- }
652
-
653
- .tl-text-wrapper[data-align='middle'],
654
- .tl-text-wrapper[data-align='middle-legacy'] {
655
- text-align: center;
656
- }
657
-
658
- .tl-text-wrapper[data-align='end'],
659
- .tl-text-wrapper[data-align='end-legacy'] {
660
- text-align: right;
661
- }
662
-
663
630
  .tl-plain-text-wrapper[data-isediting='true'] .tl-text-content {
664
631
  opacity: 0;
665
632
  }
@@ -1482,6 +1449,19 @@ input,
1482
1449
  color: currentColor;
1483
1450
  }
1484
1451
 
1452
+ .tl-note__attribution {
1453
+ position: absolute;
1454
+ bottom: calc(4px * var(--note-attribution-scale, 1));
1455
+ right: calc(8px * var(--note-attribution-scale, 1));
1456
+ font-family: var(--tl-font-sans);
1457
+ pointer-events: auto;
1458
+ white-space: nowrap;
1459
+ overflow: hidden;
1460
+ text-overflow: ellipsis;
1461
+ max-width: 60%;
1462
+ z-index: 1;
1463
+ }
1464
+
1485
1465
  /* ------------------- Frame shape ------------------- */
1486
1466
 
1487
1467
  .tl-frame__body {
@@ -2841,6 +2821,14 @@ it from receiving any pointer events or affecting the cursor. */
2841
2821
  left: 8px;
2842
2822
  }
2843
2823
 
2824
+ /*
2825
+ * focusing skip-to-main-content hide top ui buttons to make sure we avoid
2826
+ * z-index clashes on hover (see issue #8328)
2827
+ */
2828
+ .tl-skip-to-main-content:focus + .tlui-layout__top .tlui-helper-buttons {
2829
+ display: none;
2830
+ }
2831
+
2844
2832
  /* ---------------- Offline indicator --------------- */
2845
2833
 
2846
2834
  .tlui-offline-indicator {