likec4 1.3.0 → 1.5.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.
@@ -1,4 +1,4 @@
1
- export declare const cssRoot: string;
1
+ export declare const shadowRoot: string;
2
2
  export declare const cssLikeC4View: string;
3
3
  export declare const cssInteractive: string;
4
4
  export declare const cssLikeC4Browser: string;
package/react/styles.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- import { type MantineTheme } from '@mantine/core';
1
+ export declare const ShadowRootCssSelector: string;
2
2
  export declare const useCreateStyleSheet: (injectFontCss: boolean) => () => CSSStyleSheet;
3
- type ColorScheme = 'light' | 'dark' | undefined;
4
- export declare const useColorScheme: (explicit?: ColorScheme) => "dark" | "light";
5
- export declare const theme: MantineTheme;
6
- export {};
3
+ export type ColorScheme = 'light' | 'dark';
4
+ export declare const useColorScheme: (explicit?: ColorScheme) => ColorScheme;
package/react/types.d.ts CHANGED
@@ -14,6 +14,11 @@ export type LikeC4ViewBaseProps<ViewId extends string> = Omit<HTMLAttributes<HTM
14
14
  * @default 'transparent'
15
15
  */
16
16
  background?: 'dots' | 'lines' | 'cross' | 'transparent' | 'solid' | undefined;
17
+ /**
18
+ * Background pattern for the browser view.
19
+ * @default 'dots'
20
+ */
21
+ browserBackground?: 'dots' | 'lines' | 'cross' | 'transparent' | 'solid' | undefined;
17
22
  /**
18
23
  * Click on the view opens a modal with browser.
19
24
  *
@@ -32,8 +37,4 @@ export type LikeC4ViewBaseProps<ViewId extends string> = Omit<HTMLAttributes<HTM
32
37
  * @default true
33
38
  */
34
39
  injectFontCss?: boolean | undefined;
35
- overlay?: {
36
- blur?: number | string | undefined;
37
- opacity?: number | undefined;
38
- } | undefined;
39
40
  };