@tldraw/commenting 5.7.0-canary.da9f47120e79 → 5.7.0-canary.e74c3c2bc23a
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/commenting.css +3 -0
- package/dist-cjs/index.js +1 -1
- package/dist-esm/index.mjs +1 -1
- package/package.json +5 -5
- package/src/canvas/canvas.css +3 -0
package/commenting.css
CHANGED
|
@@ -1527,6 +1527,9 @@ button.tlui-cmt-reaction--active:hover {
|
|
|
1527
1527
|
/* The base expanded rule re-pads the right edge for the squarer composer's geometry; here the
|
|
1528
1528
|
12px is already symmetric. */
|
|
1529
1529
|
padding-right: 12px;
|
|
1530
|
+
/* Collapsed, the 26px wrap is centred in the 36px input, 5px below its top. Expanded, the wrap
|
|
1531
|
+
starts the first flex line, so without the extra 5px the text jumps up as it starts to wrap. */
|
|
1532
|
+
padding-top: 9.5px;
|
|
1530
1533
|
}
|
|
1531
1534
|
.tlui-cmt-canvas-composer .tlui-cmt-input__placeholder {
|
|
1532
1535
|
left: 12px;
|
package/dist-cjs/index.js
CHANGED
|
@@ -145,7 +145,7 @@ var import_state = require("./canvas/state");
|
|
|
145
145
|
var import_thread_state = require("./canvas/thread-state");
|
|
146
146
|
(0, import_utils.registerTldrawLibraryVersion)(
|
|
147
147
|
"@tldraw/commenting",
|
|
148
|
-
"5.7.0-canary.
|
|
148
|
+
"5.7.0-canary.e74c3c2bc23a",
|
|
149
149
|
"cjs"
|
|
150
150
|
);
|
|
151
151
|
//# sourceMappingURL=index.js.map
|
package/dist-esm/index.mjs
CHANGED
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
import { anchorPagePoint, focusThread, shapeAnchorAt } from "./canvas/thread-state.mjs";
|
|
109
109
|
registerTldrawLibraryVersion(
|
|
110
110
|
"@tldraw/commenting",
|
|
111
|
-
"5.7.0-canary.
|
|
111
|
+
"5.7.0-canary.e74c3c2bc23a",
|
|
112
112
|
"esm"
|
|
113
113
|
);
|
|
114
114
|
export {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tldraw/commenting",
|
|
3
3
|
"description": "tldraw commenting UI components.",
|
|
4
|
-
"version": "5.7.0-canary.
|
|
4
|
+
"version": "5.7.0-canary.e74c3c2bc23a",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"src"
|
|
33
33
|
],
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@tldraw/driver": "5.7.0-canary.
|
|
35
|
+
"@tldraw/driver": "5.7.0-canary.e74c3c2bc23a",
|
|
36
36
|
"@types/react": "^19.2.7",
|
|
37
37
|
"@types/react-dom": "^19.2.3",
|
|
38
38
|
"react": "^19.2.1",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"@tiptap/core": "^3.12.1",
|
|
51
51
|
"@tiptap/pm": "^3.12.1",
|
|
52
52
|
"@tiptap/react": "^3.12.1",
|
|
53
|
-
"@tldraw/mentions": "5.7.0-canary.
|
|
54
|
-
"@tldraw/utils": "5.7.0-canary.
|
|
55
|
-
"tldraw": "5.7.0-canary.
|
|
53
|
+
"@tldraw/mentions": "5.7.0-canary.e74c3c2bc23a",
|
|
54
|
+
"@tldraw/utils": "5.7.0-canary.e74c3c2bc23a",
|
|
55
|
+
"tldraw": "5.7.0-canary.e74c3c2bc23a"
|
|
56
56
|
},
|
|
57
57
|
"module": "dist-esm/index.mjs",
|
|
58
58
|
"source": "src/index.ts",
|
package/src/canvas/canvas.css
CHANGED
|
@@ -482,6 +482,9 @@
|
|
|
482
482
|
/* The base expanded rule re-pads the right edge for the squarer composer's geometry; here the
|
|
483
483
|
12px is already symmetric. */
|
|
484
484
|
padding-right: 12px;
|
|
485
|
+
/* Collapsed, the 26px wrap is centred in the 36px input, 5px below its top. Expanded, the wrap
|
|
486
|
+
starts the first flex line, so without the extra 5px the text jumps up as it starts to wrap. */
|
|
487
|
+
padding-top: 9.5px;
|
|
485
488
|
}
|
|
486
489
|
.tlui-cmt-canvas-composer .tlui-cmt-input__placeholder {
|
|
487
490
|
left: 12px;
|