@cloud-ru/ft-storybook-deps-graph-addon 2.0.4 → 2.0.5-preview-ae96ee4.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.
@@ -10,6 +10,6 @@ export declare class ErrorBoundary extends Component<Props, State> {
10
10
  state: State;
11
11
  static getDerivedStateFromError(): State;
12
12
  componentDidCatch(error: unknown): void;
13
- render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | null | undefined;
13
+ render(): string | number | boolean | import("react").JSX.Element | Iterable<ReactNode> | null | undefined;
14
14
  }
15
15
  export {};
@@ -1 +1 @@
1
- export declare function NotFound(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function NotFound(): import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare function Panel(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function Panel(): import("react").JSX.Element;
@@ -10,6 +10,6 @@ export declare class ErrorBoundary extends Component<Props, State> {
10
10
  state: State;
11
11
  static getDerivedStateFromError(): State;
12
12
  componentDidCatch(error: unknown): void;
13
- render(): string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | null | undefined;
13
+ render(): string | number | boolean | import("react").JSX.Element | Iterable<ReactNode> | null | undefined;
14
14
  }
15
15
  export {};
@@ -1 +1 @@
1
- export declare function NotFound(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function NotFound(): import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare function Panel(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function Panel(): import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-ru/ft-storybook-deps-graph-addon",
3
- "version": "2.0.4",
3
+ "version": "2.0.5-preview-ae96ee4.0",
4
4
  "author": "Yakov Nikiforov",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,21 +13,23 @@
13
13
  "dependencies"
14
14
  ],
15
15
  "dependencies": {
16
- "@storybook/components": "8.3.6",
17
- "@storybook/manager-api": "8.3.6",
18
- "cytoscape": "3.30.3",
19
- "cytoscape-dagre": "2.5.0"
16
+ "@storybook/components": "^8.6.14",
17
+ "@storybook/manager-api": "^8.6.14",
18
+ "@storybook/theming": "^8.6.14",
19
+ "cytoscape": "^3.34.0",
20
+ "cytoscape-dagre": "^2.5.0"
20
21
  },
21
22
  "peerDependencies": {
22
23
  "react": "^17.0.2 || ^18.0.0",
23
24
  "react-dom": "^17.0.2 || ^18.0.0"
24
25
  },
25
26
  "devDependencies": {
26
- "@types/cytoscape": "3.21.8",
27
- "@types/cytoscape-dagre": "2.3.3",
28
- "@types/react": "18.2.45",
27
+ "@types/cytoscape-dagre": "^2.3.4",
28
+ "@types/react": "^18.2.45",
29
29
  "react": "18.2.0",
30
- "react-dom": "18.2.0"
30
+ "react-dom": "18.2.0",
31
+ "ts-node": "^10.9.2",
32
+ "typescript": "^5.9.3"
31
33
  },
32
34
  "license": "Apache-2.0",
33
35
  "types": "./dist/esm/index.d.ts",
@@ -47,5 +49,5 @@
47
49
  "scripts": {
48
50
  "compile": "ts-node scripts/custom-copy.ts"
49
51
  },
50
- "gitHead": "c6ffb1be7bf0d055467e34bdd569cdfec42b0770"
52
+ "gitHead": "92e2cc89f8a0158a6c4e663330a7370bc1c856e5"
51
53
  }
@@ -30,7 +30,7 @@ export function Graph({ storyName, elements }: GraphProps): ReactElement {
30
30
 
31
31
  const themeColors = color[base] || color.light;
32
32
 
33
- const cytoscapeStylesheet: Array<cytoscape.Stylesheet> = [
33
+ const cytoscapeStylesheet: Cytoscape.StylesheetJson = [
34
34
  {
35
35
  selector: 'node',
36
36
  style: {