@tldraw/tldraw 5.7.0-next.60f5dc13db82 → 5.7.0-next.627bf14f59a4

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.7.0-next.60f5dc13db82",
22
+ "5.7.0-next.627bf14f59a4",
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.7.0-next.60f5dc13db82",
5
+ "5.7.0-next.627bf14f59a4",
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.7.0-next.60f5dc13db82",
4
+ "version": "5.7.0-next.627bf14f59a4",
5
5
  "author": {
6
6
  "name": "tldraw Inc.",
7
7
  "email": "hello@tldraw.com"
@@ -39,7 +39,7 @@
39
39
  "src"
40
40
  ],
41
41
  "dependencies": {
42
- "tldraw": "5.7.0-next.60f5dc13db82"
42
+ "tldraw": "5.7.0-next.627bf14f59a4"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": "^18.2.0 || ^19.2.1",
package/tldraw.css CHANGED
@@ -3886,12 +3886,19 @@ tldraw? probably.
3886
3886
  }
3887
3887
 
3888
3888
  .tlui-rich-text__toolbar-link-input {
3889
- margin-left: 12px;
3889
+ /* Padding rather than margin, so the invalid outline runs to the toolbar's left edge. */
3890
+ padding-left: 12px;
3890
3891
  /*
3891
3892
  * Nice touch tweak: keep the link editor toolbar the same as the default toolbar.
3892
3893
  * This is so the toolbar size stays stable going in and out of the link editor.
3893
3894
  */
3894
- width: 148px;
3895
+ width: 160px;
3896
+ }
3897
+
3898
+ .tlui-rich-text__toolbar-link-input--invalid {
3899
+ /* An inset shadow rather than a border, so the input doesn't change size. */
3900
+ box-shadow: inset 0 0 0 1px var(--tl-color-danger);
3901
+ border-radius: var(--tl-radius-3) var(--tl-radius-2) var(--tl-radius-2) var(--tl-radius-3);
3895
3902
  }
3896
3903
 
3897
3904
  .tlui-media__toolbar-alt-text-input {