likec4 1.0.2 → 1.1.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.
@@ -3,15 +3,16 @@ import { useState } from 'react'
3
3
  import { createPortal } from 'react-dom'
4
4
  import { isLikeC4ViewId, type LikeC4ViewId, LikeC4Views } from 'virtual:likec4/views'
5
5
 
6
- type LikeC4ViewProps = LikeC4ViewBaseProps<LikeC4ViewId>
7
-
8
6
  export { isLikeC4ViewId }
9
7
 
8
+ export type LikeC4ViewProps = LikeC4ViewBaseProps<LikeC4ViewId>
9
+
10
10
  export function LikeC4View({
11
11
  viewId,
12
12
  interactive = true,
13
13
  colorScheme,
14
14
  injectFontCss = true,
15
+ overlay,
15
16
  ...props
16
17
  }: LikeC4ViewProps) {
17
18
  const view = LikeC4Views[viewId]
@@ -42,7 +43,9 @@ export function LikeC4View({
42
43
  view={browserView}
43
44
  injectFontCss={false}
44
45
  colorScheme={colorScheme}
46
+ overlay={overlay}
45
47
  onNavigateTo={onNavigateTo}
48
+ background="dots"
46
49
  onClose={() => onNavigateTo(null)}
47
50
  />,
48
51
  document.body,