@lace-cloud/canvas 0.37.0 → 0.38.0
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 +11 -7
- package/dist/{App-IFIOMNV7.css → App-ZKO6I5AO.css} +1 -1
- package/dist/{Banner-4TSIKYLF.css → Banner-V657C2TO.css} +2 -2
- package/dist/CardDecoration-VECUWURJ.css +57 -0
- package/dist/{Drawer-34ZYTEWE.css → Drawer-R4IFVVJE.css} +1 -1
- package/dist/{GroupNode-2IGAUA6V.css → GroupNode-ZTT7ELHC.css} +16 -0
- package/dist/{ModuleNode-3GTXKKVQ.css → ModuleNode-6Q4ZBNGG.css} +16 -0
- package/dist/PaperGrid-NNLCTIEC.css +9 -0
- package/dist/{UpdateButton-VSIHLAZC.css → UpdateButton-JJ4WELPG.css} +6 -0
- package/dist/{chunk-45ZS7XCZ.mjs → chunk-GLQVTWB4.mjs} +799 -3538
- package/dist/chunk-GLQVTWB4.mjs.map +1 -0
- package/dist/engine/index.cjs +814 -3563
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +4 -4
- package/dist/engine/index.d.ts +4 -4
- package/dist/engine/index.mjs +1 -13
- package/dist/index.cjs +1786 -4507
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +26 -45
- package/dist/index.d.ts +26 -45
- package/dist/index.mjs +631 -605
- package/dist/index.mjs.map +1 -1
- package/dist/{panels-shared-3HUQC7TC.css → panels-shared-Y4ULZZLB.css} +4 -4
- package/dist/{registry-4-XX1MRe.d.mts → registry-BYGzxLKn.d.mts} +417 -555
- package/dist/{registry-4-XX1MRe.d.ts → registry-BYGzxLKn.d.ts} +417 -555
- package/package.json +5 -5
- package/dist/BadgeRow-KVODWDQK.css +0 -23
- package/dist/PaperGrid-JG4GBRDP.css +0 -19
- package/dist/chunk-45ZS7XCZ.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lace-cloud/canvas",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"lace": {
|
|
5
5
|
"owner": "authoring"
|
|
6
6
|
},
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"react": "^18.3.1",
|
|
27
27
|
"react-dom": "^18.3.1",
|
|
28
28
|
"zod": "^4.1.11",
|
|
29
|
-
"@lace-cloud/proto": "0.
|
|
30
|
-
"@lace-cloud/ui": "0.
|
|
29
|
+
"@lace-cloud/proto": "0.38.0",
|
|
30
|
+
"@lace-cloud/ui": "0.38.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@size-limit/file": "12.1.0",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"typescript": "^6.0.2",
|
|
40
40
|
"vitest": "^4.1.0",
|
|
41
41
|
"@lace-cloud/api-types": "0.0.0",
|
|
42
|
-
"@lace-cloud/
|
|
43
|
-
"@lace-cloud/
|
|
42
|
+
"@lace-cloud/cast-ban-scanner": "0.0.0",
|
|
43
|
+
"@lace-cloud/import-graph": "0.0.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"registry": "https://registry.npmjs.org",
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/* A card's badge row (BadgeRow.tsx), standing on the card's top edge. A row
|
|
2
|
-
* wider than its card cuts its last chip's text with an ellipsis; each chip
|
|
3
|
-
* names its badge in full as its tooltip. */
|
|
4
|
-
.lace-badge-row {
|
|
5
|
-
position: absolute;
|
|
6
|
-
bottom: calc(100% + var(--lace-space-1));
|
|
7
|
-
left: 0;
|
|
8
|
-
display: flex;
|
|
9
|
-
gap: var(--lace-space-1);
|
|
10
|
-
max-width: 100%;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.lace-badge-row__chip {
|
|
15
|
-
flex: 0 1 auto;
|
|
16
|
-
min-width: 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.lace-badge-row__text {
|
|
20
|
-
min-width: 0;
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
text-overflow: ellipsis;
|
|
23
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/* The canvas's paper (PaperGrid.tsx): a layer filling the flow pane behind
|
|
2
|
-
* the graph, painted by the tokens' `.lace-paper-layers` recipe at the shell
|
|
3
|
-
* paper's pitch and threads, and still while the graph moves over it. */
|
|
4
|
-
.lace-canvas-paper {
|
|
5
|
-
position: absolute;
|
|
6
|
-
inset: 0;
|
|
7
|
-
z-index: -1;
|
|
8
|
-
pointer-events: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/* On a screen with two or more device pixels to the CSS pixel, its threads
|
|
12
|
-
* are drawn one device pixel thick, half the shell's, so the paper stays
|
|
13
|
-
* under the graph drawn on it. A 1x screen has no line finer than 1px, so
|
|
14
|
-
* there the threads keep the shell's width. */
|
|
15
|
-
@media (min-resolution: 2dppx) {
|
|
16
|
-
.lace-canvas-paper {
|
|
17
|
-
--lace-paper-thread-width: 0.5px;
|
|
18
|
-
}
|
|
19
|
-
}
|