@lace-cloud/canvas 0.33.0 → 0.35.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/dist/{Canvas-JRY2HAY6.css → Canvas-VQQEZSPA.css} +9 -11
- package/dist/{UpdateButton-TJKSFVBA.css → UpdateButton-VSIHLAZC.css} +1 -1
- package/dist/{chunk-45HRNFCU.mjs → chunk-O3I4KLND.mjs} +26 -3
- package/dist/chunk-O3I4KLND.mjs.map +1 -0
- package/dist/engine/index.cjs +27 -2
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +15 -3
- package/dist/engine/index.d.ts +15 -3
- package/dist/engine/index.mjs +5 -1
- package/dist/index.cjs +956 -813
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.mjs +759 -629
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-C-aNjCYV.d.mts → registry-ynSG1hCz.d.mts} +17 -11
- package/dist/{registry-C-aNjCYV.d.ts → registry-ynSG1hCz.d.ts} +17 -11
- package/package.json +4 -4
- package/dist/chunk-45HRNFCU.mjs.map +0 -1
|
@@ -14,34 +14,32 @@
|
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
/* ── Pin handles (Blender-style typed I/O) ──
|
|
17
|
-
* Colors are set per-pin via inline style (pinColor.ts maps type →
|
|
17
|
+
* Colors are set per-pin via inline style (pinColor.ts maps type → token)
|
|
18
|
+
* and drawn at full strength, so a ring shows the contrast its token states.
|
|
18
19
|
* The shared rules cover geometry and hover/connecting states. */
|
|
19
20
|
|
|
20
21
|
.lace-pin-handle {
|
|
21
22
|
border-radius: var(--lace-radius-pill);
|
|
22
|
-
|
|
23
|
-
transition:
|
|
24
|
-
opacity var(--lace-duration-fast) var(--lace-easing-standard),
|
|
25
|
-
transform var(--lace-duration-fast) var(--lace-easing-standard);
|
|
23
|
+
transition: transform var(--lace-duration-fast) var(--lace-easing-standard);
|
|
26
24
|
}
|
|
27
25
|
|
|
28
26
|
.lace-pin-handle:hover {
|
|
29
|
-
opacity: 1;
|
|
30
27
|
transform: scale(1.25);
|
|
31
28
|
}
|
|
32
29
|
|
|
33
30
|
.react-flow__handle.lace-pin-handle.connectingfrom,
|
|
34
31
|
.react-flow__handle.lace-pin-handle.connectingto {
|
|
35
|
-
opacity: 1;
|
|
36
32
|
transform: scale(1.35);
|
|
37
33
|
}
|
|
38
34
|
|
|
39
35
|
/* ── Edges ──
|
|
40
36
|
* Default edges use the brand green. Selected edges get a brighter
|
|
41
37
|
* stroke + drop-shadow so the user can see what will be deleted on
|
|
42
|
-
* keypress.
|
|
38
|
+
* keypress. The rules style the drawn path alone: the edge's transparent
|
|
39
|
+
* interaction path keeps its wide stroke, which is where a click selects
|
|
40
|
+
* the wire. */
|
|
43
41
|
|
|
44
|
-
.react-flow__edge path {
|
|
42
|
+
.react-flow__edge .react-flow__edge-path {
|
|
45
43
|
stroke: var(--lace-canvas-edge-stroke);
|
|
46
44
|
stroke-width: var(--lace-canvas-edge-stroke-width);
|
|
47
45
|
transition:
|
|
@@ -50,13 +48,13 @@
|
|
|
50
48
|
filter var(--lace-duration-fast) var(--lace-easing-standard);
|
|
51
49
|
}
|
|
52
50
|
|
|
53
|
-
.react-flow__edge.selected path {
|
|
51
|
+
.react-flow__edge.selected .react-flow__edge-path {
|
|
54
52
|
stroke: var(--lace-canvas-edge-stroke-selected);
|
|
55
53
|
stroke-width: var(--lace-canvas-edge-stroke-width-selected);
|
|
56
54
|
filter: drop-shadow(0 0 4px var(--lace-color-green-alpha-60));
|
|
57
55
|
}
|
|
58
56
|
|
|
59
|
-
.react-flow__edge:hover path {
|
|
57
|
+
.react-flow__edge:hover .react-flow__edge-path {
|
|
60
58
|
stroke: var(--lace-canvas-edge-stroke-selected);
|
|
61
59
|
stroke-width: 2px;
|
|
62
60
|
}
|
|
@@ -12232,6 +12232,9 @@ var COMMANDS = {
|
|
|
12232
12232
|
],
|
|
12233
12233
|
"short": "o"
|
|
12234
12234
|
},
|
|
12235
|
+
"source": {
|
|
12236
|
+
"type": "string"
|
|
12237
|
+
},
|
|
12235
12238
|
"sourcePath": {
|
|
12236
12239
|
"type": "string"
|
|
12237
12240
|
},
|
|
@@ -12573,7 +12576,7 @@ var registryManifestSchema = z.object({
|
|
|
12573
12576
|
readme: z.string().nullable(),
|
|
12574
12577
|
vendor: registryVendorSchema,
|
|
12575
12578
|
status: z.string(),
|
|
12576
|
-
installCount: z.number(),
|
|
12579
|
+
installCount: z.number().optional(),
|
|
12577
12580
|
publishedAt: z.string().nullable(),
|
|
12578
12581
|
publishedBy: z.string().nullable(),
|
|
12579
12582
|
createdAt: z.string(),
|
|
@@ -12757,7 +12760,7 @@ var runSchema = reads()(
|
|
|
12757
12760
|
planHumanLocation: z.string().nullable(),
|
|
12758
12761
|
applyLogLocation: z.string().nullable(),
|
|
12759
12762
|
policyResultsLocation: z.string().nullable(),
|
|
12760
|
-
|
|
12763
|
+
policyEvaluatedWithoutBlock: z.boolean().nullable(),
|
|
12761
12764
|
policyResolution: z.unknown().nullable(),
|
|
12762
12765
|
changeRequestId: z.string().nullable(),
|
|
12763
12766
|
cancelReason: z.string().nullable(),
|
|
@@ -14775,6 +14778,24 @@ function createActionRunner(ports, store, options = {}) {
|
|
|
14775
14778
|
};
|
|
14776
14779
|
}
|
|
14777
14780
|
|
|
14781
|
+
// src/generated/stack-slug.ts
|
|
14782
|
+
var STACK_SLUG_PATTERN = "^[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$";
|
|
14783
|
+
var STACK_SLUG_DESCRIPTION = "Slug must be 1-63 characters of lowercase letters, digits and hyphens, starting with a letter and not ending with a hyphen";
|
|
14784
|
+
|
|
14785
|
+
// src/core/stack-slug.ts
|
|
14786
|
+
var stackSlugRule = {
|
|
14787
|
+
pattern: new RegExp(STACK_SLUG_PATTERN),
|
|
14788
|
+
description: STACK_SLUG_DESCRIPTION
|
|
14789
|
+
};
|
|
14790
|
+
function proposeStackSlug(folder) {
|
|
14791
|
+
const slug = folder.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^[^a-z]+/, "");
|
|
14792
|
+
for (let end = slug.length; end > 0; end--) {
|
|
14793
|
+
const prefix = slug.slice(0, end);
|
|
14794
|
+
if (stackSlugRule.pattern.test(prefix)) return prefix;
|
|
14795
|
+
}
|
|
14796
|
+
return "";
|
|
14797
|
+
}
|
|
14798
|
+
|
|
14778
14799
|
// src/engine/autosave.ts
|
|
14779
14800
|
var AutosaveEndedError = class extends Error {
|
|
14780
14801
|
constructor(reason) {
|
|
@@ -14926,7 +14947,9 @@ export {
|
|
|
14926
14947
|
bridgeCaller,
|
|
14927
14948
|
openEngineCommands,
|
|
14928
14949
|
openEngineSession,
|
|
14950
|
+
stackSlugRule,
|
|
14951
|
+
proposeStackSlug,
|
|
14929
14952
|
AutosaveEndedError,
|
|
14930
14953
|
autosave
|
|
14931
14954
|
};
|
|
14932
|
-
//# sourceMappingURL=chunk-
|
|
14955
|
+
//# sourceMappingURL=chunk-O3I4KLND.mjs.map
|