@tldraw/tldraw 5.5.0-next.130e77150557 → 5.5.0-next.14c42da77533

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
- "5.5.0-next.130e77150557",
22
+ "5.5.0-next.14c42da77533",
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
- "5.5.0-next.130e77150557",
5
+ "5.5.0-next.14c42da77533",
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": "5.5.0-next.130e77150557",
4
+ "version": "5.5.0-next.14c42da77533",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -53,7 +53,7 @@
53
53
  "src"
54
54
  ],
55
55
  "dependencies": {
56
- "tldraw": "5.5.0-next.130e77150557"
56
+ "tldraw": "5.5.0-next.14c42da77533"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "react": "^18.2.0 || ^19.2.1",
package/tldraw.css CHANGED
@@ -654,7 +654,15 @@ input,
654
654
  overflow: hidden;
655
655
  }
656
656
 
657
- .tl-text-input::selection {
657
+ /**
658
+ * Only when there's actually a highlight to style. ProseMirror hides the native selection whenever
659
+ * it holds a NodeSelection — triple-clicking a list's bullet selects the whole list, for one — by
660
+ * zeroing the ::selection background and nothing else. Painting the selected-contrast color with
661
+ * no highlight behind it leaves the text invisible against the shape, and `inherit` can't undo it:
662
+ * highlight pseudo-elements inherit from the ancestor's ::selection, so it just picks the same
663
+ * color back up.
664
+ */
665
+ .tl-text-input:not(:has(.ProseMirror-hideselection))::selection {
658
666
  background: var(--tl-color-selected);
659
667
  color: var(--tl-color-selected-contrast);
660
668
  text-shadow: none;
@@ -3513,6 +3521,14 @@ tldraw? probably.
3513
3521
  border-bottom: 1px solid var(--tl-color-divider);
3514
3522
  }
3515
3523
 
3524
+ .tlui-shortcuts-dialog__disabled-notice {
3525
+ flex: 0 0 auto;
3526
+ padding: var(--tl-space-3) var(--tl-space-4);
3527
+ border-bottom: 1px solid var(--tl-color-divider);
3528
+ background-color: var(--tl-color-muted-2);
3529
+ color: var(--tl-color-text-1);
3530
+ }
3531
+
3516
3532
  .tlui-shortcuts-dialog__body {
3517
3533
  position: relative;
3518
3534
  columns: 3;