@ship-it-ui/graph-editor 0.0.8 → 0.0.10

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/index.d.cts CHANGED
@@ -3,7 +3,6 @@ import { HTMLAttributes, ReactNode, RefObject } from 'react';
3
3
  import { Node, Edge, NodeProps } from '@xyflow/react';
4
4
  export { Edge as FlowEdge, Node as FlowNode } from '@xyflow/react';
5
5
  import { EntityType } from '@ship-it-ui/shipit';
6
- import * as react_jsx_runtime from 'react/jsx-runtime';
7
6
  import { ThemeTokenPalette } from '@ship-it-ui/graph-tokens';
8
7
 
9
8
  /**
@@ -205,7 +204,7 @@ interface DefaultNodeData {
205
204
  state?: 'default' | 'hover' | 'selected' | 'path' | 'dim';
206
205
  [key: string]: unknown;
207
206
  }
208
- declare function DefaultNode(props: NodeProps): react_jsx_runtime.JSX.Element;
207
+ declare function DefaultNode(props: NodeProps): react.JSX.Element;
209
208
 
210
209
  interface UseGraphEditorThemeReturn {
211
210
  /** Current resolved palette. Stable until the next `data-theme` flip. */
package/dist/index.d.ts CHANGED
@@ -3,7 +3,6 @@ import { HTMLAttributes, ReactNode, RefObject } from 'react';
3
3
  import { Node, Edge, NodeProps } from '@xyflow/react';
4
4
  export { Edge as FlowEdge, Node as FlowNode } from '@xyflow/react';
5
5
  import { EntityType } from '@ship-it-ui/shipit';
6
- import * as react_jsx_runtime from 'react/jsx-runtime';
7
6
  import { ThemeTokenPalette } from '@ship-it-ui/graph-tokens';
8
7
 
9
8
  /**
@@ -205,7 +204,7 @@ interface DefaultNodeData {
205
204
  state?: 'default' | 'hover' | 'selected' | 'path' | 'dim';
206
205
  [key: string]: unknown;
207
206
  }
208
- declare function DefaultNode(props: NodeProps): react_jsx_runtime.JSX.Element;
207
+ declare function DefaultNode(props: NodeProps): react.JSX.Element;
209
208
 
210
209
  interface UseGraphEditorThemeReturn {
211
210
  /** Current resolved palette. Stable until the next `data-theme` flip. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ship-it-ui/graph-editor",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "description": "Graph-editing canvas for the Ship-It design system. React Flow under the hood; same `elements[]` shape as `@ship-it-ui/cytoscape` so consumers can swap viewer ↔ editor without reshaping data.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://ship-it-ops.github.io/ship-it-design/",
@@ -50,30 +50,30 @@
50
50
  "peerDependencies": {
51
51
  "react": "^19.0.0",
52
52
  "react-dom": "^19.0.0",
53
- "@ship-it-ui/icons": "0.0.11",
54
- "@ship-it-ui/shipit": "0.0.14",
55
- "@ship-it-ui/ui": "0.0.13"
53
+ "@ship-it-ui/icons": "0.0.12",
54
+ "@ship-it-ui/shipit": "0.0.16",
55
+ "@ship-it-ui/ui": "0.0.15"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@testing-library/jest-dom": "^6.6.3",
59
59
  "@testing-library/react": "^16.0.1",
60
- "@types/react": "^19.2.0",
60
+ "@types/react": "^19.2.16",
61
61
  "@types/react-dom": "^19.2.0",
62
62
  "axe-core": "^4.10.2",
63
63
  "esbuild-plugin-preserve-directives": "^0.0.11",
64
64
  "jsdom": "^29.1.1",
65
- "react": "^19.2.0",
66
- "react-dom": "^19.2.0",
65
+ "react": "^19.2.7",
66
+ "react-dom": "^19.2.7",
67
67
  "tsup": "^8.3.0",
68
68
  "typescript": "^5.6.3",
69
69
  "vitest": "^2.1.3",
70
70
  "vitest-axe": "^0.1.0",
71
71
  "@ship-it-ui/eslint-config": "0.0.1",
72
- "@ship-it-ui/icons": "0.0.11",
72
+ "@ship-it-ui/icons": "0.0.12",
73
+ "@ship-it-ui/shipit": "0.0.16",
73
74
  "@ship-it-ui/tokens": "0.0.7",
74
- "@ship-it-ui/shipit": "0.0.14",
75
75
  "@ship-it-ui/tsconfig": "0.0.1",
76
- "@ship-it-ui/ui": "0.0.13"
76
+ "@ship-it-ui/ui": "0.0.15"
77
77
  },
78
78
  "scripts": {
79
79
  "build": "tsup",