@likec4/diagram 1.33.0 → 1.34.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.
- package/README.md +25 -0
- package/bundle/{chunk-DyFK-AJ5.js → chunk-Dd7et66b.js} +58 -40
- package/bundle/custom.js +2 -2
- package/bundle/index.js +157 -160
- package/dist/LikeC4Diagram.props.d.ts +1 -1
- package/dist/StaticLikeC4Diagram.d.ts +1 -1
- package/dist/bundle/LikeC4View.d.ts +1 -1
- package/dist/bundle/LikeC4View.props.d.ts +1 -1
- package/dist/bundle/ReactLikeC4.d.ts +1 -1
- package/dist/overlays/relationships-browser/custom/nodeTypes.d.ts +1 -1
- package/dist/styles-min.css +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css2.js +1 -1
- package/package.json +12 -12
- package/panda.buildinfo.json +821 -821
- package/src/LikeC4Diagram.props.ts +1 -1
- package/src/StaticLikeC4Diagram.tsx +1 -1
- package/src/bundle/LikeC4View.props.ts +1 -1
- package/src/bundle/LikeC4View.tsx +1 -1
- package/src/bundle/ReactLikeC4.tsx +1 -1
|
@@ -4,7 +4,7 @@ import { MouseEvent as ReactMouseEvent, ReactNode } from 'react';
|
|
|
4
4
|
import { SetRequired } from 'type-fest';
|
|
5
5
|
import { ControlsCustomLayout } from './context/ControlsCustomLayout';
|
|
6
6
|
import { CustomNodes } from './custom/customNodes';
|
|
7
|
-
import type * as aux from '@likec4/core/types/
|
|
7
|
+
import type * as aux from '@likec4/core/types/_aux';
|
|
8
8
|
export type { CustomNodes, WhereOperator };
|
|
9
9
|
export type DiagramNodeWithNavigate<A extends Any> = SetRequired<DiagramNode<A>, 'navigateTo'>;
|
|
10
10
|
type ElementIconRendererProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { LikeC4DiagramProperties } from './LikeC4Diagram.props';
|
|
2
|
-
import type * as aux from '@likec4/core/types/
|
|
2
|
+
import type * as aux from '@likec4/core/types/_aux';
|
|
3
3
|
export type StaticLikeC4DiagramProps<A extends aux.Any> = Pick<LikeC4DiagramProperties<A>, 'view' | 'className' | 'fitView' | 'fitViewPadding' | 'background' | 'enableElementDetails' | 'enableRelationshipDetails' | 'enableRelationshipBrowser' | 'enableElementTags' | 'reduceGraphics' | 'initialWidth' | 'initialHeight' | 'renderIcon' | 'renderNodes' | 'where'>;
|
|
4
4
|
export declare function StaticLikeC4Diagram<A extends aux.Any = aux.UnknownLayouted>({ view, fitView, fitViewPadding, enableRelationshipDetails, enableRelationshipBrowser, background, ...rest }: StaticLikeC4DiagramProps<A>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { LikeC4ViewProps } from './LikeC4View.props';
|
|
2
|
-
import type * as aux from '@likec4/core/types/
|
|
2
|
+
import type * as aux from '@likec4/core/types/_aux';
|
|
3
3
|
export declare function LikeC4View<A extends aux.Any = aux.UnknownLayouted>({ viewId, ...props }: LikeC4ViewProps<A>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { WhereOperator } from '@likec4/core/types';
|
|
2
2
|
import { CSSProperties } from 'react';
|
|
3
3
|
import { CustomNodes, ElementIconRenderer, OverrideReactFlowProps, PaddingWithUnit } from '../LikeC4Diagram.props';
|
|
4
|
-
import type * as aux from '@likec4/core/types/
|
|
4
|
+
import type * as aux from '@likec4/core/types/_aux';
|
|
5
5
|
export interface LikeC4ViewProps<A extends aux.Any> {
|
|
6
6
|
/**
|
|
7
7
|
* View to display.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { LikeC4DiagramProps } from '../LikeC4Diagram';
|
|
3
|
-
import type * as aux from '@likec4/core/types/
|
|
3
|
+
import type * as aux from '@likec4/core/types/_aux';
|
|
4
4
|
export type ReactLikeC4Props<A extends aux.Any> = Omit<LikeC4DiagramProps<A>, 'view'> & {
|
|
5
5
|
viewId: aux.ViewId<A>;
|
|
6
6
|
/**
|
|
@@ -3,7 +3,7 @@ import { RelationshipsBrowserTypes } from '../_types';
|
|
|
3
3
|
import { MemoExoticComponent } from 'react';
|
|
4
4
|
import { Dimmed } from '../../../base/types.Base';
|
|
5
5
|
import { ElementStyle, Color, Any, ViewId, Fqn, RichTextOrEmpty, IconUrl } from '@likec4/core';
|
|
6
|
-
import { Tags } from '@likec4/core/types/
|
|
6
|
+
import { Tags } from '@likec4/core/types/_aux';
|
|
7
7
|
export declare const ElementNode: MemoExoticComponent<(props: NodeProps<{
|
|
8
8
|
hovered?: boolean;
|
|
9
9
|
dimmed?: Dimmed;
|