@multiplatform.one/node-graph 7.65.2 → 7.67.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplatform.one/node-graph",
3
- "version": "7.65.2",
3
+ "version": "7.67.0",
4
4
  "description": "Node graph editor — React Flow on web, Tamagui knob-aware nodes, an Expo DOM host on native",
5
5
  "keywords": [
6
6
  "multiplatform",
@@ -80,17 +80,17 @@
80
80
  },
81
81
  "dependencies": {
82
82
  "@dagrejs/dagre": "^3.1.1",
83
- "@multiplatform.one/forms": "^7.65.2",
84
- "@multiplatform.one/platform": "^7.65.2",
85
- "@multiplatform.one/theme": "^7.65.2",
83
+ "@multiplatform.one/forms": "^7.67.0",
84
+ "@multiplatform.one/platform": "^7.67.0",
85
+ "@multiplatform.one/theme": "^7.67.0",
86
86
  "@tamagui/web": "2.7.6",
87
87
  "@xyflow/react": "^12.12.0",
88
88
  "@xyflow/system": "0.0.83",
89
89
  "tamagui": "2.7.6"
90
90
  },
91
91
  "devDependencies": {
92
- "@multiplatform.one/config": "7.65.2",
93
- "@multiplatform.one/test-utils": "7.65.2",
92
+ "@multiplatform.one/config": "7.67.0",
93
+ "@multiplatform.one/test-utils": "7.67.0",
94
94
  "@tamagui/build": "2.7.6",
95
95
  "@testing-library/react": "^16.3.3",
96
96
  "@types/react-dom": "^19.2.3",
@@ -103,7 +103,7 @@
103
103
  "vitest": "^4.1.5"
104
104
  },
105
105
  "peerDependencies": {
106
- "@multiplatform.one/components": "^7.65.2",
106
+ "@multiplatform.one/components": "^7.67.0",
107
107
  "expo": ">=55",
108
108
  "expo-haptics": "*",
109
109
  "react": "^19.1.0",
@@ -342,11 +342,15 @@ describe("size-formula shadow bridge", () => {
342
342
  const resolved = resolveFor({}, scheme);
343
343
  const vars = graphVarValues(resolved, fixtureTheme);
344
344
  const surface = resolved.knobProps.elevatedSurface;
345
+ const css = (value: unknown) => {
346
+ const raw = String(value);
347
+ return raw.startsWith("$") ? fixtureTheme.css(raw.slice(1)) : raw;
348
+ };
345
349
  expect(vars["--xy-controls-button-background-color"]).toMatchObject({
346
- color: fixtureTheme.css(String(surface.backgroundColor).slice(1)),
350
+ color: css(surface.backgroundColor),
347
351
  });
348
352
  expect(vars["--xy-controls-button-border-color"]).toMatchObject({
349
- color: fixtureTheme.css(String(surface.borderColor).slice(1)),
353
+ color: css(surface.borderColor),
350
354
  });
351
355
  }
352
356
  const dark = graphVarValues(resolveFor({}, "dark"), fixtureTheme);