@tldraw/tldraw 5.2.0-canary.f0dedc79682a → 5.2.0-canary.f504e0d61cd4
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 +5 -2
- package/tldraw.css +23 -4
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.2.0-canary.
|
|
22
|
+
"5.2.0-canary.f504e0d61cd4",
|
|
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.2.0-canary.
|
|
4
|
+
"version": "5.2.0-canary.f504e0d61cd4",
|
|
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.2.0-canary.
|
|
50
|
+
"tldraw": "5.2.0-canary.f504e0d61cd4"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": "^18.2.0 || ^19.2.1",
|
|
@@ -61,6 +61,9 @@
|
|
|
61
61
|
"react": "^19.2.1",
|
|
62
62
|
"react-dom": "^19.2.1"
|
|
63
63
|
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=22.12.0"
|
|
66
|
+
},
|
|
64
67
|
"module": "dist-esm/index.mjs",
|
|
65
68
|
"source": "src/index.ts",
|
|
66
69
|
"exports": {
|
package/tldraw.css
CHANGED
|
@@ -768,17 +768,17 @@ input,
|
|
|
768
768
|
.tl-rich-text ol {
|
|
769
769
|
text-align: left;
|
|
770
770
|
margin: 0;
|
|
771
|
-
padding-left:
|
|
771
|
+
padding-left: 1.625ch;
|
|
772
772
|
/* Some resets, like Tailwind, nix the list styling. */
|
|
773
773
|
list-style: revert;
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
.tl-rich-text ol:has(> li:nth-child(10)) {
|
|
777
|
-
padding-left:
|
|
777
|
+
padding-left: 2.625ch;
|
|
778
778
|
}
|
|
779
779
|
|
|
780
780
|
.tl-rich-text ol:has(> li:nth-child(100)) {
|
|
781
|
-
padding-left:
|
|
781
|
+
padding-left: 3.625ch;
|
|
782
782
|
}
|
|
783
783
|
|
|
784
784
|
.tl-rich-text h1,
|
|
@@ -817,6 +817,7 @@ input,
|
|
|
817
817
|
.tl-theme__dark .tl-rich-text mark {
|
|
818
818
|
background-color: var(--tl-color-text-highlight);
|
|
819
819
|
color: currentColor;
|
|
820
|
+
text-shadow: none;
|
|
820
821
|
}
|
|
821
822
|
|
|
822
823
|
@supports (color: color(display-p3 1 1 1)) {
|
|
@@ -989,6 +990,15 @@ input,
|
|
|
989
990
|
color: var(--tl-color-text-1);
|
|
990
991
|
}
|
|
991
992
|
|
|
993
|
+
.tl-content-slot {
|
|
994
|
+
position: absolute;
|
|
995
|
+
inset: 0px;
|
|
996
|
+
height: 100%;
|
|
997
|
+
width: 100%;
|
|
998
|
+
pointer-events: none;
|
|
999
|
+
transform-origin: top left;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
992
1002
|
/* -------------------- Group shape ------------------ */
|
|
993
1003
|
|
|
994
1004
|
.tl-group {
|
|
@@ -3256,8 +3266,17 @@ tldraw? probably.
|
|
|
3256
3266
|
height: 100%;
|
|
3257
3267
|
z-index: var(--tl-layer-canvas-overlays);
|
|
3258
3268
|
background-color: var(--tl-color-overlay);
|
|
3259
|
-
pointer-events: all;
|
|
3260
3269
|
animation: tl-fade-in 0.12s ease-out;
|
|
3270
|
+
}
|
|
3271
|
+
|
|
3272
|
+
.tlui-dialog__positioner {
|
|
3273
|
+
position: absolute;
|
|
3274
|
+
top: 0px;
|
|
3275
|
+
left: 0px;
|
|
3276
|
+
width: 100%;
|
|
3277
|
+
height: 100%;
|
|
3278
|
+
z-index: var(--tl-layer-canvas-overlays);
|
|
3279
|
+
pointer-events: all;
|
|
3261
3280
|
display: grid;
|
|
3262
3281
|
place-items: center;
|
|
3263
3282
|
overflow-y: auto;
|