@tldraw/tldraw 3.15.0 → 3.16.0-next.c30b1b5e551a
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 +4 -23
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
|
-
"3.
|
|
22
|
+
"3.16.0-next.c30b1b5e551a",
|
|
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": "3.
|
|
4
|
+
"version": "3.16.0-next.c30b1b5e551a",
|
|
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": "3.
|
|
50
|
+
"tldraw": "3.16.0-next.c30b1b5e551a"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": "^18.2.0 || ^19.0.0",
|
package/tldraw.css
CHANGED
|
@@ -778,8 +778,7 @@ input,
|
|
|
778
778
|
position: static;
|
|
779
779
|
}
|
|
780
780
|
|
|
781
|
-
.tl-text-wrapper[data-isediting='false'] .tl-text-input
|
|
782
|
-
.tl-arrow-label[data-isediting='false'] .tl-text-input {
|
|
781
|
+
.tl-text-wrapper[data-isediting='false'] .tl-text-input {
|
|
783
782
|
opacity: 0;
|
|
784
783
|
cursor: var(--tl-cursor-default);
|
|
785
784
|
}
|
|
@@ -1192,7 +1191,7 @@ input,
|
|
|
1192
1191
|
|
|
1193
1192
|
/* --------------------- Arrow shape -------------------- */
|
|
1194
1193
|
|
|
1195
|
-
.tl-arrow-label {
|
|
1194
|
+
.tl-shape[data-shape-type='arrow'] .tl-text-label {
|
|
1196
1195
|
position: absolute;
|
|
1197
1196
|
top: -1px;
|
|
1198
1197
|
left: -1px;
|
|
@@ -1207,33 +1206,15 @@ input,
|
|
|
1207
1206
|
text-shadow: var(--tl-text-outline);
|
|
1208
1207
|
}
|
|
1209
1208
|
|
|
1210
|
-
.tl-
|
|
1211
|
-
opacity: 0;
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
.tl-arrow-label__inner {
|
|
1209
|
+
.tl-shape[data-shape-type='arrow'] .tl-text-label__inner {
|
|
1215
1210
|
border-radius: var(--radius-1);
|
|
1216
1211
|
box-sizing: content-box;
|
|
1217
|
-
position: relative;
|
|
1218
1212
|
height: max-content;
|
|
1219
1213
|
width: max-content;
|
|
1220
|
-
pointer-events: none;
|
|
1221
|
-
display: flex;
|
|
1222
|
-
justify-content: center;
|
|
1223
|
-
align-items: center;
|
|
1224
1214
|
}
|
|
1225
1215
|
|
|
1226
|
-
.tl-arrow
|
|
1227
|
-
position: relative;
|
|
1216
|
+
.tl-shape[data-shape-type='arrow'] .tl-text {
|
|
1228
1217
|
height: max-content;
|
|
1229
|
-
padding: inherit;
|
|
1230
|
-
overflow: visible;
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
.tl-arrow-label textarea {
|
|
1234
|
-
padding: inherit;
|
|
1235
|
-
/* Don't allow textarea to be zero width */
|
|
1236
|
-
min-width: 4px;
|
|
1237
1218
|
}
|
|
1238
1219
|
|
|
1239
1220
|
.tl-arrow-hint {
|