@tldraw/collaboration 5.5.0-next.f9308d324e1c → 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/collaboration.css +2 -38
- package/dist-cjs/index.js +1 -1
- package/dist-esm/index.mjs +1 -1
- package/package.json +13 -17
package/collaboration.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/collaboration. */
|
|
3
|
-
/* It combines the stylesheets of the collaboration umbrella's sub-packages. */
|
|
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
|
|
@@ -497,35 +492,6 @@
|
|
|
497
492
|
user-select: none;
|
|
498
493
|
}
|
|
499
494
|
|
|
500
|
-
/* thread */
|
|
501
|
-
.tlui-cmt-thread {
|
|
502
|
-
display: flex;
|
|
503
|
-
flex-direction: column;
|
|
504
|
-
width: 300px;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
.tlui-cmt-thread__head {
|
|
508
|
-
display: flex;
|
|
509
|
-
align-items: center;
|
|
510
|
-
gap: 8px;
|
|
511
|
-
font-size: 12px;
|
|
512
|
-
font-weight: 600;
|
|
513
|
-
color: var(--tl-color-text-3);
|
|
514
|
-
text-transform: uppercase;
|
|
515
|
-
letter-spacing: 0.04em;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
.tlui-cmt-badge {
|
|
519
|
-
font-size: 10px;
|
|
520
|
-
font-weight: 600;
|
|
521
|
-
text-transform: none;
|
|
522
|
-
letter-spacing: 0;
|
|
523
|
-
color: #fff;
|
|
524
|
-
background: var(--tl-color-muted-1);
|
|
525
|
-
padding: 1px 6px;
|
|
526
|
-
border-radius: 999px;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
495
|
/* reactions */
|
|
530
496
|
.tlui-cmt-reactions {
|
|
531
497
|
display: flex;
|
|
@@ -762,9 +728,6 @@ button.tlui-cmt-reaction--active:hover {
|
|
|
762
728
|
.tlui-button.tlui-cmt-thread__action:hover {
|
|
763
729
|
color: var(--tl-color-text-1);
|
|
764
730
|
}
|
|
765
|
-
.tlui-button.tlui-cmt-thread__action--danger:hover {
|
|
766
|
-
color: var(--tl-color-danger);
|
|
767
|
-
}
|
|
768
731
|
.tlui-cmt-thread__resolved {
|
|
769
732
|
margin: 4px 12px;
|
|
770
733
|
padding: 6px 10px;
|
|
@@ -1638,3 +1601,4 @@ button.tlui-cmt-reaction--active:hover {
|
|
|
1638
1601
|
overflow: hidden;
|
|
1639
1602
|
}
|
|
1640
1603
|
|
|
1604
|
+
|
package/dist-cjs/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var import_utils = require("@tldraw/utils");
|
|
|
19
19
|
__reExport(index_exports, require("@tldraw/commenting"), module.exports);
|
|
20
20
|
(0, import_utils.registerTldrawLibraryVersion)(
|
|
21
21
|
"@tldraw/collaboration",
|
|
22
|
-
"5.
|
|
22
|
+
"5.6.0-canary.5bfc37740468",
|
|
23
23
|
"cjs"
|
|
24
24
|
);
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
package/dist-esm/index.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { registerTldrawLibraryVersion } from "@tldraw/utils";
|
|
|
2
2
|
export * from "@tldraw/commenting";
|
|
3
3
|
registerTldrawLibraryVersion(
|
|
4
4
|
"@tldraw/collaboration",
|
|
5
|
-
"5.
|
|
5
|
+
"5.6.0-canary.5bfc37740468",
|
|
6
6
|
"esm"
|
|
7
7
|
);
|
|
8
8
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tldraw/collaboration",
|
|
3
3
|
"description": "tldraw collaboration umbrella package.",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.6.0-canary.5bfc37740468",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "tldraw Inc.",
|
|
7
7
|
"email": "hello@tldraw.com"
|
|
@@ -30,20 +30,6 @@
|
|
|
30
30
|
"dist-cjs",
|
|
31
31
|
"src"
|
|
32
32
|
],
|
|
33
|
-
"scripts": {
|
|
34
|
-
"test-ci": "yarn run -T vitest run --passWithNoTests",
|
|
35
|
-
"test": "yarn run -T vitest --passWithNoTests",
|
|
36
|
-
"test-coverage": "yarn run -T vitest run --coverage --passWithNoTests",
|
|
37
|
-
"predev": "node ./scripts/copy-css-files.mjs",
|
|
38
|
-
"dev": "chokidar '../commenting/src/**/*.css' -c 'node ./scripts/copy-css-files.mjs'",
|
|
39
|
-
"prebuild": "node ./scripts/copy-css-files.mjs",
|
|
40
|
-
"build": "yarn run -T tsx ../../internal/scripts/build-package.ts",
|
|
41
|
-
"build-api": "yarn run -T tsx ../../internal/scripts/build-api.ts",
|
|
42
|
-
"prepack": "yarn run -T tsx ../../internal/scripts/prepack.ts",
|
|
43
|
-
"postpack": "../../internal/scripts/postpack.sh",
|
|
44
|
-
"pack-tarball": "yarn pack",
|
|
45
|
-
"lint": "yarn run -T tsx ../../internal/scripts/lint.ts"
|
|
46
|
-
},
|
|
47
33
|
"devDependencies": {
|
|
48
34
|
"@types/react": "^19.2.7",
|
|
49
35
|
"@types/react-dom": "^19.2.3",
|
|
@@ -58,8 +44,8 @@
|
|
|
58
44
|
"node": ">=22.12.0"
|
|
59
45
|
},
|
|
60
46
|
"dependencies": {
|
|
61
|
-
"@tldraw/commenting": "5.
|
|
62
|
-
"@tldraw/utils": "5.
|
|
47
|
+
"@tldraw/commenting": "5.6.0-canary.5bfc37740468",
|
|
48
|
+
"@tldraw/utils": "5.6.0-canary.5bfc37740468"
|
|
63
49
|
},
|
|
64
50
|
"module": "dist-esm/index.mjs",
|
|
65
51
|
"source": "src/index.ts",
|
|
@@ -69,5 +55,15 @@
|
|
|
69
55
|
"require": "./dist-cjs/index.js"
|
|
70
56
|
},
|
|
71
57
|
"./collaboration.css": "./collaboration.css"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"test-ci": "pnpm exec vitest run --passWithNoTests",
|
|
61
|
+
"test": "pnpm exec vitest --passWithNoTests",
|
|
62
|
+
"test-coverage": "pnpm exec vitest run --coverage --passWithNoTests",
|
|
63
|
+
"build": "pnpm exec tsx ../../internal/scripts/build-package.ts",
|
|
64
|
+
"build-api": "pnpm exec tsx ../../internal/scripts/build-api.ts",
|
|
65
|
+
"pack-tarball": "pnpm pack",
|
|
66
|
+
"lint": "pnpm exec tsx ../../internal/scripts/lint.ts",
|
|
67
|
+
"build-types": "tsc --build"
|
|
72
68
|
}
|
|
73
69
|
}
|