sysml-diagram 0.34.0 → 0.34.1
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/out/main.js +9 -5
- package/out/main.js.map +2 -2
- package/package.json +1 -1
- package/resources/sysml.dimension-table.json +1 -1
package/out/main.js
CHANGED
|
@@ -167140,7 +167140,8 @@ var SysmlDiagramModelProvider = class _SysmlDiagramModelProvider {
|
|
|
167140
167140
|
type: typeText(member),
|
|
167141
167141
|
direction: directionOf(member),
|
|
167142
167142
|
conjugated: isConjugated(member) || void 0,
|
|
167143
|
-
|
|
167143
|
+
// REQ-194/REQ-408 - see the port rule above: only a written `ref` dashes.
|
|
167144
|
+
ref: effectiveCompositionOf(member).declaredComposition === "reference" || void 0,
|
|
167144
167145
|
isDef: false,
|
|
167145
167146
|
pin: true,
|
|
167146
167147
|
// issue #108 — a nested pin is contained by its parameter's glyph.
|
|
@@ -173586,7 +173587,7 @@ ${node.id}`;
|
|
|
173586
173587
|
direction ??= inheritedDirection;
|
|
173587
173588
|
const ownComposition = effectiveCompositionOf(portNode);
|
|
173588
173589
|
const inheritedComposition = inheritedPortUsages.map((owner) => effectiveCompositionOf(owner).declaredComposition).find((trait) => trait !== void 0);
|
|
173589
|
-
const reference = ownComposition.
|
|
173590
|
+
const reference = ownComposition.declaredComposition ? ownComposition.declaredComposition === "reference" : inheritedComposition === "reference";
|
|
173590
173591
|
const hasDirectTyping = portNode.typing !== void 0;
|
|
173591
173592
|
const effectiveConjugated = hasDirectTyping ? isConjugated(portNode) : inheritedTyping ? isConjugated(inheritedTyping.owner) : false;
|
|
173592
173593
|
if (!direction) {
|
|
@@ -205816,9 +205817,12 @@ body {
|
|
|
205816
205817
|
.dnode-type { fill: var(--cyan); }
|
|
205817
205818
|
.dnode-detail { fill: var(--fg-2); font-family: var(--font-mono); font-size: 9px; }
|
|
205818
205819
|
.dnode-kind { fill: var(--fg-3); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; }
|
|
205820
|
+
/* REQ-194 - a port outline is a boundary marker, not a frame. It carries the
|
|
205821
|
+
* same weight as the compartment rule .dcompartment-rule, so a row of ports
|
|
205822
|
+
* reads as part of the card it sits on. */
|
|
205819
205823
|
.dnode-port {
|
|
205820
205824
|
--element-outline: var(--element-port-outline); --element-fill: var(--element-port-fill);
|
|
205821
|
-
fill: var(--element-fill); stroke: var(--element-outline); stroke-width:
|
|
205825
|
+
fill: var(--element-fill); stroke: var(--element-outline); stroke-width: 0.65;
|
|
205822
205826
|
}
|
|
205823
205827
|
.dnode-shape {
|
|
205824
205828
|
--element-outline: var(--element-default-outline); --element-fill: var(--element-default-fill);
|
|
@@ -205885,7 +205889,7 @@ body {
|
|
|
205885
205889
|
/* REQ-376 \u2014 an action pin takes the OUTLINE and explicit fill of the action it sits
|
|
205886
205890
|
* on rather than the flow colour (user direction 2026-08-09). Its rounded corners and its
|
|
205887
205891
|
* direction arrow come from the shared port path in nodes.tsx. */
|
|
205888
|
-
.dnode-port.pin { fill: var(--element-fill); stroke: var(--element-outline); stroke-width:
|
|
205892
|
+
.dnode-port.pin { fill: var(--element-fill); stroke: var(--element-outline); stroke-width: 0.65; }
|
|
205889
205893
|
/* REQ-192 - explicit connection ends are outline-coloured endpoint dots, not
|
|
205890
205894
|
* action-pin boxes. The dot itself is the persistent snap affordance. */
|
|
205891
205895
|
.dconnection-end-dot { fill: var(--element-outline); stroke: var(--element-outline); stroke-width: 1.2; }
|
|
@@ -210807,7 +210811,7 @@ async function runExport(command) {
|
|
|
210807
210811
|
}
|
|
210808
210812
|
|
|
210809
210813
|
// src/main.ts
|
|
210810
|
-
var VERSION2 = true ? "0.34.
|
|
210814
|
+
var VERSION2 = true ? "0.34.1" : "dev";
|
|
210811
210815
|
function display(file) {
|
|
210812
210816
|
const rel2 = path9.relative(process.cwd(), file);
|
|
210813
210817
|
return rel2 && !rel2.startsWith("..") ? rel2.split(path9.sep).join("/") : file;
|