@teambit/graph 1.0.1002 → 1.0.1004

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.
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { Section } from '@teambit/component';
2
3
  import { ChangeType } from '@teambit/component.ui.component-compare.models.component-compare-change-type';
3
4
  import type { TabItem } from '@teambit/component.ui.component-compare.models.component-compare-props';
@@ -12,7 +13,7 @@ export declare class GraphCompareSection implements Section, TabItem {
12
13
  };
13
14
  route: {
14
15
  path: string;
15
- element: import("react/jsx-runtime").JSX.Element;
16
+ element: React.JSX.Element;
16
17
  };
17
18
  order: number;
18
19
  changeType: ChangeType;
@@ -1 +1,2 @@
1
- export declare const Logo: () => import("react/jsx-runtime").JSX.Element;
1
+ import React from 'react';
2
+ export declare const Logo: () => React.JSX.Element;
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_graph@1.0.1002/dist/graph.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_graph@1.0.1002/dist/graph.docs.md';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_graph@1.0.1004/dist/graph.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.component_graph@1.0.1004/dist/graph.docs.md';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
@@ -1,7 +1,8 @@
1
+ import React from 'react';
1
2
  import type { CardProps } from '@teambit/base-ui.surfaces.card';
2
3
  import type { NodeModel } from '../query/node-model';
3
4
  export interface IComponentNode extends CardProps {
4
5
  node: NodeModel;
5
6
  type: string;
6
7
  }
7
- export declare function ComponentNode({ node, type, ...rest }: IComponentNode): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ComponentNode({ node, type, ...rest }: IComponentNode): React.JSX.Element;
@@ -1 +1,2 @@
1
- export declare function DependenciesCompare(): import("react/jsx-runtime").JSX.Element;
1
+ import React from 'react';
2
+ export declare function DependenciesCompare(): React.JSX.Element;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import type { CompareNodeModel } from './compare-node-model';
2
3
  export type DependencyCompareNodeProps = {
3
4
  node: CompareNodeModel;
4
5
  type?: string;
5
6
  };
6
- export declare function DependencyCompareNode(props: DependencyCompareNodeProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function DependencyCompareNode(props: DependencyCompareNodeProps): React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { ReactFlowInstance, ReactFlowProps } from 'reactflow';
2
3
  import type { ComponentID } from '@teambit/component';
3
4
  import type { ComponentWidgetSlot } from '../../graph.ui.runtime';
@@ -10,4 +11,4 @@ export type DependenciesGraphProps = {
10
11
  onLoad?: (instance: ReactFlowInstance) => void;
11
12
  loadingGraphMetadata?: boolean;
12
13
  } & Omit<ReactFlowProps, 'elements'>;
13
- export declare function DependenciesGraph({ graph, rootNode, componentWidgets, className, onLoad, children, loadingGraphMetadata, ...rest }: DependenciesGraphProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function DependenciesGraph({ graph, rootNode, componentWidgets, className, onLoad, children, loadingGraphMetadata, ...rest }: DependenciesGraphProps): React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import type { CardProps } from '@teambit/base-ui.surfaces.card';
2
3
  type GraphFiltersType = {
3
4
  isFiltered: boolean;
@@ -5,5 +6,5 @@ type GraphFiltersType = {
5
6
  onChangeFilter: (isFiltered: boolean) => void;
6
7
  disable?: boolean;
7
8
  } & CardProps;
8
- export declare function GraphFilters({ onChangeFilter, isFiltered, disable, ...rest }: GraphFiltersType): import("react/jsx-runtime").JSX.Element;
9
+ export declare function GraphFilters({ onChangeFilter, isFiltered, disable, ...rest }: GraphFiltersType): React.JSX.Element;
9
10
  export {};
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import type { ComponentWidgetSlot } from '../../graph.ui.runtime';
2
3
  type GraphPageProps = {
3
4
  componentWidgets: ComponentWidgetSlot;
4
5
  };
5
- export declare function GraphPage({ componentWidgets }: GraphPageProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function GraphPage({ componentWidgets }: GraphPageProps): React.JSX.Element;
6
7
  export {};
@@ -1,11 +1,12 @@
1
1
  import type { Section } from '@teambit/component';
2
+ import React from 'react';
2
3
  import type { ComponentWidgetSlot } from '../graph.ui.runtime';
3
4
  export declare class GraphSection implements Section {
4
5
  private componentWidgetSlot;
5
6
  constructor(componentWidgetSlot: ComponentWidgetSlot);
6
7
  route: {
7
8
  path: string;
8
- element: import("react/jsx-runtime").JSX.Element;
9
+ element: React.JSX.Element;
9
10
  };
10
11
  navigationLink: {
11
12
  href: string;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/graph",
3
- "version": "1.0.1002",
3
+ "version": "1.0.1004",
4
4
  "homepage": "https://bit.cloud/teambit/component/graph",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "graph",
9
- "version": "1.0.1002"
9
+ "version": "1.0.1004"
10
10
  },
11
11
  "dependencies": {
12
12
  "graphlib": "2.1.8",
@@ -14,8 +14,8 @@
14
14
  "graphql-tag": "2.12.1",
15
15
  "classnames": "^2.5.1",
16
16
  "reactflow": "^11.11.3",
17
- "@dagrejs/dagre": "^1.1.2",
18
17
  "semver": "7.7.1",
18
+ "@dagrejs/dagre": "^1.1.2",
19
19
  "@teambit/component-id": "1.2.4",
20
20
  "@teambit/graph.cleargraph": "0.0.11",
21
21
  "@teambit/harmony": "0.4.7",
@@ -28,22 +28,22 @@
28
28
  "@teambit/component.ui.deprecation-icon": "0.0.509",
29
29
  "@teambit/design.ui.styles.ellipsis": "0.0.357",
30
30
  "@teambit/envs.ui.env-icon": "0.0.508",
31
+ "@teambit/component.ui.component-compare.context": "0.0.125",
32
+ "@teambit/design.ui.round-loader": "0.0.355",
33
+ "@teambit/component.ui.component-compare.status-resolver": "0.0.12",
31
34
  "@teambit/evangelist.input.checkbox.label": "1.1.0",
32
35
  "@teambit/design.skeletons.base-skeleton": "0.0.2",
33
36
  "@teambit/design.ui.pages.not-found": "0.0.371",
34
37
  "@teambit/design.ui.pages.server-error": "0.0.368",
35
- "@teambit/component.ui.component-compare.context": "0.0.125",
36
- "@teambit/design.ui.round-loader": "0.0.355",
37
- "@teambit/component.ui.component-compare.status-resolver": "0.0.12",
38
38
  "@teambit/ui-foundation.ui.react-router.use-query": "0.0.505",
39
- "@teambit/legacy.dependency-graph": "0.0.122",
40
- "@teambit/component": "1.0.1002",
41
- "@teambit/cli": "0.0.1329",
42
- "@teambit/scope.remotes": "0.0.119",
43
- "@teambit/graphql": "1.0.1002",
44
- "@teambit/logger": "0.0.1422",
45
- "@teambit/component-compare": "1.0.1002",
46
- "@teambit/ui": "1.0.1002"
39
+ "@teambit/legacy.dependency-graph": "0.0.124",
40
+ "@teambit/component": "1.0.1004",
41
+ "@teambit/cli": "0.0.1331",
42
+ "@teambit/scope.remotes": "0.0.121",
43
+ "@teambit/graphql": "1.0.1004",
44
+ "@teambit/logger": "0.0.1424",
45
+ "@teambit/component-compare": "1.0.1004",
46
+ "@teambit/ui": "1.0.1004"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/graphlib": "2.1.7",