@tldraw/commenting 5.5.0 → 5.6.0-canary.5bfc37740468
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 +1 -6
- package/dist-cjs/index.js +1 -1
- package/dist-esm/index.mjs +1 -1
- package/package.json +15 -19
- package/src/ui/comments.css +1 -2
package/commenting.css
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/* THIS CSS FILE IS GENERATED! DO NOT EDIT. OR EDIT. I'M A COMMENT NOT A COP */
|
|
2
|
-
/* This file is created by the copy-css-files.mjs script in packages/commenting. */
|
|
3
|
-
/* It combines the commenting package's ui and canvas stylesheets. */
|
|
4
|
-
|
|
5
1
|
/* avatar — a person's image, or a single-initial coloured circle. Shared by the mention picker and,
|
|
6
2
|
via @tldraw/commenting, the comment UI. */
|
|
7
3
|
.tlui-cmt-avatar {
|
|
@@ -250,8 +246,7 @@
|
|
|
250
246
|
text-decoration: underline;
|
|
251
247
|
}
|
|
252
248
|
|
|
253
|
-
/* Avatar and mention styles live in @tldraw/mentions
|
|
254
|
-
commenting.css by copy-css-files.mjs. */
|
|
249
|
+
/* Avatar and mention styles live in @tldraw/mentions and are imported by commenting.css. */
|
|
255
250
|
|
|
256
251
|
/* composer — an avatar beside a rounded-rect field holding the rich-text input and the send button.
|
|
257
252
|
Formatting is applied via markdown and keyboard shortcuts (no toolbar). The avatar aligns to the
|
package/dist-cjs/index.js
CHANGED
|
@@ -144,7 +144,7 @@ var import_state = require("./canvas/state");
|
|
|
144
144
|
var import_thread_state = require("./canvas/thread-state");
|
|
145
145
|
(0, import_utils.registerTldrawLibraryVersion)(
|
|
146
146
|
"@tldraw/commenting",
|
|
147
|
-
"5.
|
|
147
|
+
"5.6.0-canary.5bfc37740468",
|
|
148
148
|
"cjs"
|
|
149
149
|
);
|
|
150
150
|
//# sourceMappingURL=index.js.map
|
package/dist-esm/index.mjs
CHANGED
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.
|
|
4
|
+
"version": "5.6.0-canary.5bfc37740468",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -31,22 +31,8 @@
|
|
|
31
31
|
"dist-cjs",
|
|
32
32
|
"src"
|
|
33
33
|
],
|
|
34
|
-
"scripts": {
|
|
35
|
-
"test-ci": "yarn run -T vitest run --passWithNoTests",
|
|
36
|
-
"test": "yarn run -T vitest --passWithNoTests",
|
|
37
|
-
"test-coverage": "yarn run -T vitest run --coverage --passWithNoTests",
|
|
38
|
-
"predev": "node ./scripts/copy-css-files.mjs",
|
|
39
|
-
"dev": "chokidar '../mentions/mentions.css' 'src/ui/comments.css' 'src/canvas/canvas.css' -c 'node ./scripts/copy-css-files.mjs'",
|
|
40
|
-
"prebuild": "node ./scripts/copy-css-files.mjs",
|
|
41
|
-
"build": "yarn run -T tsx ../../internal/scripts/build-package.ts",
|
|
42
|
-
"build-api": "yarn run -T tsx ../../internal/scripts/build-api.ts",
|
|
43
|
-
"prepack": "yarn run -T tsx ../../internal/scripts/prepack.ts",
|
|
44
|
-
"postpack": "../../internal/scripts/postpack.sh",
|
|
45
|
-
"pack-tarball": "yarn pack",
|
|
46
|
-
"lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
|
|
47
|
-
},
|
|
48
34
|
"devDependencies": {
|
|
49
|
-
"@tldraw/driver": "5.
|
|
35
|
+
"@tldraw/driver": "5.6.0-canary.5bfc37740468",
|
|
50
36
|
"@types/react": "^19.2.7",
|
|
51
37
|
"@types/react-dom": "^19.2.3",
|
|
52
38
|
"react": "^19.2.1",
|
|
@@ -64,9 +50,9 @@
|
|
|
64
50
|
"@tiptap/core": "^3.12.1",
|
|
65
51
|
"@tiptap/pm": "^3.12.1",
|
|
66
52
|
"@tiptap/react": "^3.12.1",
|
|
67
|
-
"@tldraw/mentions": "5.
|
|
68
|
-
"@tldraw/utils": "5.
|
|
69
|
-
"tldraw": "5.
|
|
53
|
+
"@tldraw/mentions": "5.6.0-canary.5bfc37740468",
|
|
54
|
+
"@tldraw/utils": "5.6.0-canary.5bfc37740468",
|
|
55
|
+
"tldraw": "5.6.0-canary.5bfc37740468"
|
|
70
56
|
},
|
|
71
57
|
"module": "dist-esm/index.mjs",
|
|
72
58
|
"source": "src/index.ts",
|
|
@@ -76,5 +62,15 @@
|
|
|
76
62
|
"require": "./dist-cjs/index.js"
|
|
77
63
|
},
|
|
78
64
|
"./commenting.css": "./commenting.css"
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"test-ci": "pnpm exec vitest run --passWithNoTests",
|
|
68
|
+
"test": "pnpm exec vitest --passWithNoTests",
|
|
69
|
+
"test-coverage": "pnpm exec vitest run --coverage --passWithNoTests",
|
|
70
|
+
"build": "pnpm exec tsx ../../internal/scripts/build-package.ts",
|
|
71
|
+
"build-api": "pnpm exec tsx ../../internal/scripts/build-api.ts",
|
|
72
|
+
"pack-tarball": "pnpm pack",
|
|
73
|
+
"lint": "pnpm exec tsx ../../internal/scripts/lint.ts",
|
|
74
|
+
"build-types": "tsc --build"
|
|
79
75
|
}
|
|
80
76
|
}
|
package/src/ui/comments.css
CHANGED
|
@@ -136,8 +136,7 @@
|
|
|
136
136
|
text-decoration: underline;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
/* Avatar and mention styles live in @tldraw/mentions
|
|
140
|
-
commenting.css by copy-css-files.mjs. */
|
|
139
|
+
/* Avatar and mention styles live in @tldraw/mentions and are imported by commenting.css. */
|
|
141
140
|
|
|
142
141
|
/* composer — an avatar beside a rounded-rect field holding the rich-text input and the send button.
|
|
143
142
|
Formatting is applied via markdown and keyboard shortcuts (no toolbar). The avatar aligns to the
|