@hpcc-js/graph 3.1.0 → 3.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hpcc-js/graph",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "hpcc-js - Viz Graph",
5
5
  "type": "module",
6
6
  "exports": {
@@ -37,8 +37,8 @@
37
37
  "dependencies": {
38
38
  "@hpcc-js/api": "^3.2.0",
39
39
  "@hpcc-js/common": "^3.2.0",
40
- "@hpcc-js/html": "^3.1.0",
41
- "@hpcc-js/react": "^3.1.0",
40
+ "@hpcc-js/html": "^3.1.1",
41
+ "@hpcc-js/react": "^3.1.1",
42
42
  "@hpcc-js/util": "^3.2.0"
43
43
  },
44
44
  "devDependencies": {
@@ -52,13 +52,7 @@
52
52
  "d3-sankey": "^0",
53
53
  "d3-shape": "^1",
54
54
  "d3-tile": "^1",
55
- "d3-transition": "^1",
56
- "react": "18.3.1",
57
- "react-dom": "18.3.1"
58
- },
59
- "peerDependencies": {
60
- "react": "^17.0.0 || ^18.0.0",
61
- "react-dom": "^17.0.0 || ^18.0.0"
55
+ "d3-transition": "^1"
62
56
  },
63
57
  "repository": {
64
58
  "type": "git",
@@ -71,5 +65,5 @@
71
65
  "url": "https://github.com/hpcc-systems/Visualization/issues"
72
66
  },
73
67
  "homepage": "https://github.com/hpcc-systems/Visualization",
74
- "gitHead": "658c50fd965a7744ba8db675ba6878607c44d5e2"
68
+ "gitHead": "b4f63e027feea45ebdfc578ef9c85d107bd97322"
75
69
  }
@@ -1,3 +1,3 @@
1
1
  export const PKG_NAME = "@hpcc-js/graph";
2
- export const PKG_VERSION = "3.1.0";
3
- export const BUILD_VERSION = "3.2.0";
2
+ export const PKG_VERSION = "3.1.1";
3
+ export const BUILD_VERSION = "3.2.1";
@@ -1,5 +1,4 @@
1
- import React from "react";
2
- import { Subgraph, SubgraphProps, Vertex, VertexProps, Edge, EdgeProps } from "@hpcc-js/react";
1
+ import { React, Subgraph, SubgraphProps, Vertex, VertexProps, Edge, EdgeProps } from "@hpcc-js/react";
3
2
  import { GraphReactT } from "./graphReactT.ts";
4
3
  import { GraphDataProps, HierarchyBase } from "./graphT.ts";
5
4
 
@@ -1,5 +1,4 @@
1
- import React from "react";
2
- import { SubgraphProps, VertexProps, EdgeProps, render } from "@hpcc-js/react";
1
+ import { render, React, SubgraphProps, VertexProps, EdgeProps } from "@hpcc-js/react";
3
2
  import { GraphT, RendererT } from "./graphT.ts";
4
3
 
5
4
  function adapter<T>(reactRenderer: React.FunctionComponent<T>): RendererT<T> {
@@ -1,5 +1,4 @@
1
- import React from "react";
2
- import { Text } from "@hpcc-js/react";
1
+ import { React, Text } from "@hpcc-js/react";
3
2
  import { SubgraphBaseProps } from "./layouts/placeholders.ts";
4
3
 
5
4
  export interface BasicSubgraphProps extends SubgraphBaseProps {
@@ -1,5 +1,4 @@
1
- import React from "react";
2
- import { Text } from "@hpcc-js/react";
1
+ import { React, Text } from "@hpcc-js/react";
3
2
  import { VertexBaseProps } from "./layouts/placeholders.ts";
4
3
 
5
4
  export interface BasicVertexProps extends VertexBaseProps {
@@ -1,3 +1,3 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/graph";
2
- export declare const PKG_VERSION = "3.1.0";
3
- export declare const BUILD_VERSION = "3.2.0";
2
+ export declare const PKG_VERSION = "3.1.1";
3
+ export declare const BUILD_VERSION = "3.2.1";
@@ -1,5 +1,4 @@
1
- import React from "react";
2
- import { SubgraphProps, VertexProps, EdgeProps } from "@hpcc-js/react";
1
+ import { React, SubgraphProps, VertexProps, EdgeProps } from "@hpcc-js/react";
3
2
  import { GraphReactT } from "./graphReactT.ts";
4
3
  import { GraphDataProps, HierarchyBase } from "./graphT.ts";
5
4
  export type ISubgraph = SubgraphProps;
@@ -1,5 +1,4 @@
1
- import React from "react";
2
- import { SubgraphProps, VertexProps, EdgeProps } from "@hpcc-js/react";
1
+ import { React, SubgraphProps, VertexProps, EdgeProps } from "@hpcc-js/react";
3
2
  import { GraphT } from "./graphT.ts";
4
3
  export declare class GraphReactT<SG extends SubgraphProps, V extends VertexProps, E extends EdgeProps<V>> extends GraphT<SG, V, E> {
5
4
  constructor(subgraphRenderer: React.FunctionComponent<SG>, vertexRenderer: React.FunctionComponent<V>, edgeRenderer: React.FunctionComponent<E>);
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { React } from "@hpcc-js/react";
2
2
  import { SubgraphBaseProps } from "./layouts/placeholders.ts";
3
3
  export interface BasicSubgraphProps extends SubgraphBaseProps {
4
4
  label?: string;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import { React } from "@hpcc-js/react";
2
2
  import { VertexBaseProps } from "./layouts/placeholders.ts";
3
3
  export interface BasicVertexProps extends VertexBaseProps {
4
4
  textFill?: string;