@tldraw/tldraw 5.3.0-internal.d205573d66cb → 5.3.0-next.299378752aaf
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 +0 -15
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.3.0-
|
|
22
|
+
"5.3.0-next.299378752aaf",
|
|
23
23
|
"cjs"
|
|
24
24
|
);
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
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.3.0-
|
|
4
|
+
"version": "5.3.0-next.299378752aaf",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"src"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"tldraw": "5.3.0-
|
|
50
|
+
"tldraw": "5.3.0-next.299378752aaf"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": "^18.2.0 || ^19.2.1",
|
package/tldraw.css
CHANGED
|
@@ -789,16 +789,6 @@ input,
|
|
|
789
789
|
.tl-rich-text h6 {
|
|
790
790
|
margin-top: 5px;
|
|
791
791
|
margin-bottom: 10px;
|
|
792
|
-
/**
|
|
793
|
-
* Headings render at a larger font-size than the body text (via the browser's
|
|
794
|
-
* default h1–h6 sizing), so they can't inherit the container's resolved
|
|
795
|
-
* whole-pixel line-height — that value is derived from the base font size and
|
|
796
|
-
* would cram the taller lines together. Instead, scale line-height with each
|
|
797
|
-
* heading's own font-size using tldraw's unitless line-height multiplier, which
|
|
798
|
-
* the rich-text render/measure paths expose here. The 1.35 fallback mirrors the
|
|
799
|
-
* default theme line-height (see defaultThemes.ts).
|
|
800
|
-
*/
|
|
801
|
-
line-height: var(--tl-rich-text-heading-line-height, 1.35);
|
|
802
792
|
}
|
|
803
793
|
|
|
804
794
|
.tl-rich-text a {
|
|
@@ -3187,7 +3177,6 @@ tldraw? probably.
|
|
|
3187
3177
|
.tlui-toast__main {
|
|
3188
3178
|
flex-grow: 2;
|
|
3189
3179
|
max-width: 280px;
|
|
3190
|
-
min-width: 0;
|
|
3191
3180
|
}
|
|
3192
3181
|
|
|
3193
3182
|
.tlui-toast__content {
|
|
@@ -3196,7 +3185,6 @@ tldraw? probably.
|
|
|
3196
3185
|
line-height: 1.4;
|
|
3197
3186
|
flex-direction: column;
|
|
3198
3187
|
gap: var(--tl-space-3);
|
|
3199
|
-
min-width: 0;
|
|
3200
3188
|
}
|
|
3201
3189
|
|
|
3202
3190
|
.tlui-toast__main[data-actions='true'] .tlui-toast__content {
|
|
@@ -3208,7 +3196,6 @@ tldraw? probably.
|
|
|
3208
3196
|
color: var(--tl-color-text-1);
|
|
3209
3197
|
/* this makes the default toast look better */
|
|
3210
3198
|
line-height: 16px;
|
|
3211
|
-
overflow-wrap: anywhere;
|
|
3212
3199
|
}
|
|
3213
3200
|
|
|
3214
3201
|
.tlui-toast__description {
|
|
@@ -3216,7 +3203,6 @@ tldraw? probably.
|
|
|
3216
3203
|
padding: var(--tl-space-3);
|
|
3217
3204
|
margin: 0px;
|
|
3218
3205
|
padding: 0px;
|
|
3219
|
-
overflow-wrap: anywhere;
|
|
3220
3206
|
}
|
|
3221
3207
|
|
|
3222
3208
|
.tlui-toast__icon + .tlui-toast__main > .tlui-toast__actions {
|
|
@@ -3343,7 +3329,6 @@ tldraw? probably.
|
|
|
3343
3329
|
color: var(--tl-color-text-1);
|
|
3344
3330
|
user-select: all;
|
|
3345
3331
|
-webkit-user-select: text;
|
|
3346
|
-
overflow-wrap: anywhere;
|
|
3347
3332
|
}
|
|
3348
3333
|
.tlui-dialog__body a {
|
|
3349
3334
|
color: var(--tl-color-selected);
|