@tldraw/tldraw 5.6.0 → 5.6.2
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 +1 -1
- package/dist-esm/index.mjs +1 -1
- package/package.json +2 -2
- package/tldraw.css +19 -2
package/dist-cjs/index.js
CHANGED
package/dist-esm/index.mjs
CHANGED
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.6.
|
|
4
|
+
"version": "5.6.2",
|
|
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.6.
|
|
42
|
+
"tldraw": "5.6.2"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "^18.2.0 || ^19.2.1",
|
package/tldraw.css
CHANGED
|
@@ -3454,6 +3454,16 @@ tldraw? probably.
|
|
|
3454
3454
|
padding: 0px var(--tl-space-4);
|
|
3455
3455
|
}
|
|
3456
3456
|
|
|
3457
|
+
/* Confirm Open Link Dialog */
|
|
3458
|
+
|
|
3459
|
+
.tlui-confirm-open-link-dialog__url {
|
|
3460
|
+
margin-top: var(--tl-space-4);
|
|
3461
|
+
padding: var(--tl-space-3) var(--tl-space-4);
|
|
3462
|
+
border-radius: var(--tl-radius-2);
|
|
3463
|
+
background-color: var(--tl-color-muted-2);
|
|
3464
|
+
font-family: var(--tl-font-mono);
|
|
3465
|
+
}
|
|
3466
|
+
|
|
3457
3467
|
/* Embed Dialog */
|
|
3458
3468
|
|
|
3459
3469
|
.tlui-embed__spacer {
|
|
@@ -3886,12 +3896,19 @@ tldraw? probably.
|
|
|
3886
3896
|
}
|
|
3887
3897
|
|
|
3888
3898
|
.tlui-rich-text__toolbar-link-input {
|
|
3889
|
-
margin
|
|
3899
|
+
/* Padding rather than margin, so the invalid outline runs to the toolbar's left edge. */
|
|
3900
|
+
padding-left: 12px;
|
|
3890
3901
|
/*
|
|
3891
3902
|
* Nice touch tweak: keep the link editor toolbar the same as the default toolbar.
|
|
3892
3903
|
* This is so the toolbar size stays stable going in and out of the link editor.
|
|
3893
3904
|
*/
|
|
3894
|
-
width:
|
|
3905
|
+
width: 160px;
|
|
3906
|
+
}
|
|
3907
|
+
|
|
3908
|
+
.tlui-rich-text__toolbar-link-input--invalid {
|
|
3909
|
+
/* An inset shadow rather than a border, so the input doesn't change size. */
|
|
3910
|
+
box-shadow: inset 0 0 0 1px var(--tl-color-danger);
|
|
3911
|
+
border-radius: var(--tl-radius-3) var(--tl-radius-2) var(--tl-radius-2) var(--tl-radius-3);
|
|
3895
3912
|
}
|
|
3896
3913
|
|
|
3897
3914
|
.tlui-media__toolbar-alt-text-input {
|