@formicoidea/labre-framework-wardley 0.42.0 → 0.43.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.
Files changed (2) hide show
  1. package/dist/roles.js +15 -6
  2. package/package.json +2 -2
package/dist/roles.js CHANGED
@@ -148,12 +148,21 @@ const DEFS = [
148
148
  verbFallback: 'needs',
149
149
  gestureHintKey: 'com.labre.wardley.role.dependency.gesture',
150
150
  gestureHintFallback: 'Drag from the component that has the need to what it needs.',
151
- // The house primary, on THIS chip and no other (same recette). The value
152
- // chain is what a Wardley map is read along, and the PO asked for the
153
- // relation that carries it to be unmistakable — a decision about one
154
- // relation, so it is declared on that relation rather than on the
155
- // mechanism, and every other framework's reveal keeps the colour it had.
156
- chipColor: '#2563eb',
151
+ // No `chipColor`. This role used to declare one (PR #203), so that the
152
+ // relation carrying the value chain would be unmistakable — and the
153
+ // result, on one map, was two chips in two different blues: this one in
154
+ // the colour it asked for, `wardley:change-arrow` in the mechanism's
155
+ // default. Neither had been compared against the other, because the pin
156
+ // that watched this field only ever looked at Wardley.
157
+ //
158
+ // The chip is chrome — the tool talking about the drawing, not part of
159
+ // it — so it follows the theme's accent token like every other
160
+ // affordance, and both relations of a map now wear the same blue
161
+ // (`EDGE_DIRECTION_COLOR`, `gfx/connector`). `chipColor` stays on the
162
+ // role contract as the extension point it was meant to be: a framework
163
+ // MAY claim its own, and the cross-framework guard in
164
+ // `affine/all/src/__tests__/direction-chip-accent.unit.spec.ts` is what
165
+ // keeps a second accent from creeping back in unnoticed.
157
166
  },
158
167
  },
159
168
  // The map itself: the axes frame the other roles are positioned against.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formicoidea/labre-framework-wardley",
3
3
  "description": "Labre wardley framework for @formicoidea/labre-core.",
4
- "version": "0.42.0",
4
+ "version": "0.43.1",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "author": "lajola",
@@ -31,7 +31,7 @@
31
31
  "dist"
32
32
  ],
33
33
  "dependencies": {
34
- "@formicoidea/labre-core": "0.42.0",
34
+ "@formicoidea/labre-core": "0.43.1",
35
35
  "lit": "^3.2.0"
36
36
  }
37
37
  }