likec4 1.7.4 → 1.8.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.
@@ -1,4 +1,4 @@
1
- type NonEmptyArray<T> = [T, ...T[]] | [...T[], T];
1
+ type NonEmptyArray<T> = [T, ...T[]];
2
2
  type EqualOperator<V> = {
3
3
  eq: V;
4
4
  neq?: never;
package/react/types.d.ts CHANGED
@@ -48,5 +48,32 @@ export type LikeC4ViewBaseProps<ViewId extends string, Tag extends string, Kind
48
48
  * @default true
49
49
  */
50
50
  injectFontCss?: boolean | undefined;
51
+ /**
52
+ * Display hovercards with element links
53
+ * @default true
54
+ */
55
+ showElementLinks?: boolean | undefined;
56
+ /**
57
+ * Display panel with diagram title / description
58
+ * @default false
59
+ */
60
+ showDiagramTitle?: boolean | undefined;
61
+ /**
62
+ * Show back/forward navigation buttons
63
+ * @default false
64
+ */
65
+ showNavigationButtons?: undefined | boolean;
66
+ /**
67
+ * Display notations of the view
68
+ * @default false
69
+ */
70
+ showNotations?: boolean | undefined;
71
+ /**
72
+ * If double click on a node should enable focus mode, i.e. highlight incoming/outgoing edges
73
+ * Conflicts with `interactive`
74
+ *
75
+ * @default false
76
+ */
77
+ enableFocusMode?: boolean | undefined;
51
78
  where?: WhereOperator<Tag, Kind> | undefined;
52
79
  };