likec4 1.4.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.
- package/dist/__app__/react/likec4.tsx +9 -5
- package/dist/__app__/src/-view-lazy-data-WZmbIsHq.mjs +9 -0
- package/dist/__app__/src/{index-CgQjA8pD.mjs → index-ChCFoQrG.mjs} +1 -6
- package/dist/__app__/src/lib/webcomponent.mjs +5597 -5111
- package/dist/__app__/src/main.mjs +6740 -6196
- package/dist/__app__/src/style.css +1 -1
- package/dist/__app__/tsconfig.tsbuildinfo +1 -0
- package/dist/cli/index.mjs +284 -274
- package/package.json +36 -34
- package/react/LikeC4Browser.d.ts +19 -2
- package/react/LikeC4ViewElement.d.ts +21 -3
- package/react/index.mjs +3273 -2824
- package/react/styles.css.d.ts +1 -1
- package/react/styles.d.ts +1 -4
- package/react/types.d.ts +5 -0
package/react/styles.css.d.ts
CHANGED
package/react/styles.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { type MantineTheme } from '@mantine/core';
|
|
2
1
|
export declare const ShadowRootCssSelector: string;
|
|
3
2
|
export declare const useCreateStyleSheet: (injectFontCss: boolean) => () => CSSStyleSheet;
|
|
4
|
-
type ColorScheme = 'light' | 'dark';
|
|
3
|
+
export type ColorScheme = 'light' | 'dark';
|
|
5
4
|
export declare const useColorScheme: (explicit?: ColorScheme) => ColorScheme;
|
|
6
|
-
export declare const theme: MantineTheme;
|
|
7
|
-
export {};
|
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
|
*
|