@tldraw/tldraw 5.2.0-next.a6104dd18d03 → 5.2.0-next.b0c9cf86de67
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 +6 -0
- package/dist-cjs/index.js +1 -1
- package/dist-esm/index.mjs +1 -1
- package/package.json +2 -2
- package/tldraw.css +11 -9
package/README.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
This package is kept around for legacy purposes. It just tracks the normal `tldraw` package. Please install that one instead.
|
|
4
4
|
|
|
5
|
+
## Documentation
|
|
6
|
+
|
|
7
|
+
Documentation for the most recent release can be found on [tldraw.dev/docs](https://tldraw.dev/docs), including [reference docs](https://tldraw.dev/reference/editor/Editor). Our release notes can be found [here](https://tldraw.dev/releases).
|
|
8
|
+
|
|
9
|
+
For more agent-friendly docs, see our [LLMs.txt](https://tldraw.dev/llms.txt).
|
|
10
|
+
|
|
5
11
|
## License
|
|
6
12
|
|
|
7
13
|
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).
|
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-next.
|
|
22
|
+
"5.2.0-next.b0c9cf86de67",
|
|
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-next.
|
|
4
|
+
"version": "5.2.0-next.b0c9cf86de67",
|
|
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-next.
|
|
50
|
+
"tldraw": "5.2.0-next.b0c9cf86de67"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"react": "^18.2.0 || ^19.2.1",
|
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,
|
|
@@ -1575,9 +1575,8 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
1575
1575
|
* (which creates its own stacking context at z-index 300), so their
|
|
1576
1576
|
* z-indices are relative to the layout, not the container.
|
|
1577
1577
|
*
|
|
1578
|
-
* cursor
|
|
1579
|
-
*
|
|
1580
|
-
* to that context.
|
|
1578
|
+
* cursor is rendered inside canvas-in-front (stacking context at
|
|
1579
|
+
* z-index 250), so their z-indices are relative to that context.
|
|
1581
1580
|
*/
|
|
1582
1581
|
--tl-layer-above: 1;
|
|
1583
1582
|
--tl-layer-focused-input: 10;
|
|
@@ -1587,7 +1586,6 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
1587
1586
|
--tl-layer-toasts: 650;
|
|
1588
1587
|
--tl-layer-cursor: 700;
|
|
1589
1588
|
--tl-layer-header-footer: 999;
|
|
1590
|
-
--tl-layer-following-indicator: 1000;
|
|
1591
1589
|
}
|
|
1592
1590
|
|
|
1593
1591
|
/* Button */
|
|
@@ -1993,6 +1991,11 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
1993
1991
|
height: 15px;
|
|
1994
1992
|
}
|
|
1995
1993
|
|
|
1994
|
+
.tlui-icon__tiny {
|
|
1995
|
+
width: 12px;
|
|
1996
|
+
height: 12px;
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1996
1999
|
/* --------------------- Slider --------------------- */
|
|
1997
2000
|
|
|
1998
2001
|
.tlui-slider__container {
|
|
@@ -2606,7 +2609,7 @@ it from receiving any pointer events or affecting the cursor. */
|
|
|
2606
2609
|
left: 8px;
|
|
2607
2610
|
}
|
|
2608
2611
|
|
|
2609
|
-
/*
|
|
2612
|
+
/*
|
|
2610
2613
|
* focusing skip-to-main-content hide top ui buttons to make sure we avoid
|
|
2611
2614
|
* z-index clashes on hover (see issue #8328)
|
|
2612
2615
|
*/
|
|
@@ -3744,7 +3747,6 @@ tldraw? probably.
|
|
|
3744
3747
|
inset: 0px;
|
|
3745
3748
|
border-width: 2px;
|
|
3746
3749
|
border-style: solid;
|
|
3747
|
-
z-index: var(--tl-layer-following-indicator);
|
|
3748
3750
|
pointer-events: none;
|
|
3749
3751
|
}
|
|
3750
3752
|
|