@tldraw/tldraw 4.3.0-canary.bf87ebaf143a → 4.3.0-canary.c08047039e53
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/README.md +1 -1
- package/dist-cjs/index.js +1 -1
- package/dist-esm/index.mjs +1 -1
- package/package.json +8 -7
- package/tldraw.css +33 -31
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This package is kept around for legacy purposes. It just tracks the normal `tldr
|
|
|
6
6
|
|
|
7
7
|
This project is part of the tldraw SDK. It is provided under the [tldraw SDK license](https://github.com/tldraw/tldraw/blob/main/LICENSE.md).
|
|
8
8
|
|
|
9
|
-
You can use the tldraw SDK in commercial or non-commercial projects so long as you preserve the "Made with tldraw" watermark on the canvas. To remove the watermark, you can purchase a [business license](https://tldraw.dev
|
|
9
|
+
You can use the tldraw SDK in commercial or non-commercial projects so long as you preserve the "Made with tldraw" watermark on the canvas. To remove the watermark, you can purchase a [business license](https://tldraw.dev/pricing). Visit [tldraw.dev](https://tldraw.dev) to learn more.
|
|
10
10
|
|
|
11
11
|
## Trademarks
|
|
12
12
|
|
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
|
-
"4.3.0-canary.
|
|
22
|
+
"4.3.0-canary.c08047039e53",
|
|
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": "4.3.0-canary.
|
|
4
|
+
"version": "4.3.0-canary.c08047039e53",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -48,18 +48,19 @@
|
|
|
48
48
|
"src"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"tldraw": "4.3.0-canary.
|
|
51
|
+
"tldraw": "4.3.0-canary.c08047039e53"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"react": "^18.2.0 || ^19.
|
|
55
|
-
"react-dom": "^18.2.0 || ^19.
|
|
54
|
+
"react": "^18.2.0 || ^19.2.1",
|
|
55
|
+
"react-dom": "^18.2.0 || ^19.2.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@types/react": "^
|
|
58
|
+
"@types/react": "^19.2.7",
|
|
59
|
+
"@types/react-dom": "^19.2.3",
|
|
59
60
|
"chokidar-cli": "^3.0.0",
|
|
60
61
|
"lazyrepo": "0.0.0-alpha.27",
|
|
61
|
-
"react": "^
|
|
62
|
-
"react-dom": "^
|
|
62
|
+
"react": "^19.2.1",
|
|
63
|
+
"react-dom": "^19.2.1"
|
|
63
64
|
},
|
|
64
65
|
"module": "dist-esm/index.mjs",
|
|
65
66
|
"source": "src/index.ts",
|
package/tldraw.css
CHANGED
|
@@ -712,7 +712,7 @@ input,
|
|
|
712
712
|
resize: none;
|
|
713
713
|
border: none;
|
|
714
714
|
user-select: none;
|
|
715
|
-
contain: style paint;
|
|
715
|
+
contain: layout style paint;
|
|
716
716
|
/* N.B. This property, while discouraged ("intended for Document Type Definition (DTD) designers") is necessary for ensuring correct mixed RTL/LTR behavior when exporting SVGs. */
|
|
717
717
|
unicode-bidi: plaintext;
|
|
718
718
|
-webkit-user-select: none;
|
|
@@ -1144,14 +1144,12 @@ input,
|
|
|
1144
1144
|
fill: none;
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
}
|
|
1147
|
+
.tl-container[data-coarse='true'] .tl-handle__bg:active {
|
|
1148
|
+
fill: var(--tl-color-selection-fill);
|
|
1149
|
+
}
|
|
1151
1150
|
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
}
|
|
1151
|
+
.tl-container[data-coarse='true'] .tl-handle__create {
|
|
1152
|
+
opacity: 1;
|
|
1155
1153
|
}
|
|
1156
1154
|
|
|
1157
1155
|
.tl-rotate-corner:not(:hover),
|
|
@@ -2414,25 +2412,31 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
2414
2412
|
|
|
2415
2413
|
/* Submenu triggers */
|
|
2416
2414
|
|
|
2417
|
-
.tlui-menu__submenu__trigger
|
|
2418
|
-
|
|
2419
|
-
|
|
2415
|
+
.tlui-menu__submenu__trigger {
|
|
2416
|
+
--gradient-angle: 90deg;
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2419
|
+
.tlui-menu__submenu__trigger[data-direction='left'] {
|
|
2420
|
+
--gradient-angle: 270deg;
|
|
2420
2421
|
}
|
|
2421
2422
|
|
|
2422
|
-
.tlui-menu__submenu__trigger[data-
|
|
2423
|
+
.tlui-menu__submenu__trigger[data-state='open']::after {
|
|
2423
2424
|
opacity: 1;
|
|
2424
|
-
background: linear-gradient(
|
|
2425
|
+
background: linear-gradient(
|
|
2426
|
+
var(--gradient-angle),
|
|
2427
|
+
rgba(144, 144, 144, 0) 0%,
|
|
2428
|
+
var(--tl-color-muted-2) 100%
|
|
2429
|
+
);
|
|
2425
2430
|
}
|
|
2426
2431
|
|
|
2427
2432
|
@media (hover: hover) {
|
|
2428
|
-
.tlui-menu__submenu__trigger[data-state='open']
|
|
2433
|
+
.tlui-menu__submenu__trigger:is(:hover, [data-state='open'])::after {
|
|
2429
2434
|
opacity: 1;
|
|
2430
|
-
background: linear-gradient(
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
background: linear-gradient(270deg, rgba(144, 144, 144, 0) 0%, var(--tl-color-muted-2) 100%);
|
|
2435
|
+
background: linear-gradient(
|
|
2436
|
+
var(--gradient-angle),
|
|
2437
|
+
rgba(144, 144, 144, 0) 0%,
|
|
2438
|
+
var(--tl-color-muted-2) 100%
|
|
2439
|
+
);
|
|
2436
2440
|
}
|
|
2437
2441
|
}
|
|
2438
2442
|
|
|
@@ -2711,10 +2715,8 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
2711
2715
|
}
|
|
2712
2716
|
}
|
|
2713
2717
|
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
opacity: 1;
|
|
2717
|
-
}
|
|
2718
|
+
.tl-container[data-coarse='true'] .tlui-page_menu__item__submenu > .tlui-button {
|
|
2719
|
+
opacity: 1;
|
|
2718
2720
|
}
|
|
2719
2721
|
|
|
2720
2722
|
.tlui-button__icon {
|
|
@@ -2753,16 +2755,15 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
2753
2755
|
|
|
2754
2756
|
.tlui-offline-indicator {
|
|
2755
2757
|
display: flex;
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
padding: 0px var(--tl-space-5);
|
|
2762
|
-
height: 42px;
|
|
2758
|
+
color: var(--tl-color-background);
|
|
2759
|
+
background-color: var(--tl-color-text);
|
|
2760
|
+
border: none;
|
|
2761
|
+
width: 32px;
|
|
2762
|
+
height: 32px;
|
|
2763
2763
|
align-items: center;
|
|
2764
2764
|
justify-content: center;
|
|
2765
2765
|
border-radius: 99px;
|
|
2766
|
+
cursor: default;
|
|
2766
2767
|
opacity: 0;
|
|
2767
2768
|
animation: tl-fade-in;
|
|
2768
2769
|
animation-duration: 0.12s;
|
|
@@ -3080,6 +3081,7 @@ tldraw? probably.
|
|
|
3080
3081
|
position: relative;
|
|
3081
3082
|
background: var(--tl-color-panel);
|
|
3082
3083
|
box-shadow: var(--tl-shadow-2);
|
|
3084
|
+
contain: layout style paint;
|
|
3083
3085
|
}
|
|
3084
3086
|
|
|
3085
3087
|
.tlui-main-toolbar--horizontal .tlui-main-toolbar__mobile-style-panel {
|