@likec4/diagram 1.2.0 → 1.2.2

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,8 +1,8 @@
1
- import { XYBackground } from './xyflow/XYFlowBackground';
2
- import { XYFlowEdge, XYFlowNode } from './xyflow/types';
3
- import { SetRequired, Simplify } from 'type-fest';
4
- import { MouseEvent as ReactMouseEvent } from 'react';
5
1
  import { BorderStyle, DiagramEdge, DiagramNode, DiagramView, ElementShape, Fqn, NonEmptyArray, ThemeColor, ViewID } from '@likec4/core';
2
+ import { MouseEvent as ReactMouseEvent } from 'react';
3
+ import { SetRequired, Simplify } from 'type-fest';
4
+ import { XYFlowEdge, XYFlowNode } from './xyflow/types';
5
+ import { XYBackground } from './xyflow/XYFlowBackground';
6
6
 
7
7
  export type DiagramNodeWithNavigate = Simplify<SetRequired<DiagramNode, 'navigateTo'>>;
8
8
  export type OnNavigateTo = {
@@ -1,4 +1,4 @@
1
- import { DependencyList, EffectCallback } from 'react';
2
1
  import { DependenciesComparator, EffectHook } from '@react-hookz/web';
2
+ import { DependencyList, EffectCallback } from 'react';
3
3
 
4
4
  export declare function useUpdateEffect<Callback extends EffectCallback = EffectCallback, Deps extends DependencyList = DependencyList>(callback: Callback, deps: Deps, equalityFn?: DependenciesComparator<Deps>, effectHook?: EffectHook<Callback, Deps>): void;
@@ -1,3 +1,3 @@
1
1
  import { SVGProps } from 'react';
2
2
 
3
- export declare const ClipboardCopy: import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export declare const ClipboardCopy: import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,3 @@
1
1
  import { SVGProps } from 'react';
2
2
 
3
- export declare const Link: import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export declare const Link: import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
@@ -1,3 +1,3 @@
1
1
  import { SVGProps } from 'react';
2
2
 
3
- export declare const ZoomIn: import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export declare const ZoomIn: import('react').ForwardRefExoticComponent<Omit<SVGProps<SVGSVGElement>, "ref"> & import('react').RefAttributes<SVGSVGElement>>;