likec4 1.1.0 → 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "likec4",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "license": "MIT",
5
5
  "homepage": "https://likec4.dev",
6
6
  "author": "Denis Davydkov <denis@davydkov.com>",
@@ -97,32 +97,30 @@
97
97
  },
98
98
  "devDependencies": {
99
99
  "@fontsource/ibm-plex-sans": "^5.0.19",
100
- "@likec4/core": "1.1.0",
101
- "@likec4/diagram": "1.1.0",
102
- "@likec4/diagrams": "1.1.0",
103
- "@likec4/generators": "1.1.0",
104
- "@likec4/language-server": "1.1.0",
105
- "@likec4/layouts": "1.1.0",
106
- "@mantine/core": "^7.9.2",
107
- "@mantine/hooks": "^7.9.2",
100
+ "@likec4/core": "1.2.0",
101
+ "@likec4/diagram": "1.2.0",
102
+ "@likec4/diagrams": "1.2.0",
103
+ "@likec4/generators": "1.2.0",
104
+ "@likec4/language-server": "1.2.0",
105
+ "@likec4/layouts": "1.2.0",
106
+ "@mantine/core": "^7.10.1",
107
+ "@mantine/hooks": "^7.10.1",
108
+ "@mantine/vanilla-extract": "^7.10.1",
108
109
  "@nanostores/react": "^0.7.2",
109
- "@radix-ui/react-icons": "^1.3.0",
110
- "@radix-ui/themes": "^2.0.3",
111
110
  "@react-hookz/web": "^24.0.4",
112
- "@tabler/icons": "^2.47.0",
113
- "@tabler/icons-react": "^2.47.0",
111
+ "@tabler/icons-react": "^3.0.0",
114
112
  "@tanstack/react-router": "^1.31.19",
115
113
  "@tanstack/router-vite-plugin": "^1.31.18",
116
114
  "@types/mermaid": "^9.2.0",
117
- "@types/node": "^20.12.7",
115
+ "@types/node": "^20.13.0",
118
116
  "@types/prop-types": "^15.7.11",
119
- "@types/react": "18.2.0",
120
- "@types/react-dom": "18.2.4",
117
+ "@types/react": "18.3.3",
118
+ "@types/react-dom": "18.3.0",
121
119
  "@types/string-hash": "^1",
122
120
  "@types/yargs": "^17.0.32",
123
- "@vanilla-extract/css": "^1.15.1",
124
- "@vanilla-extract/dynamic": "^2.1.0",
125
- "@vanilla-extract/vite-plugin": "^4.0.9",
121
+ "@vanilla-extract/css": "^1.15.2",
122
+ "@vanilla-extract/dynamic": "^2.1.1",
123
+ "@vanilla-extract/vite-plugin": "^4.0.10",
126
124
  "ci-info": "^3.9.0",
127
125
  "classnames": "^2.3.2",
128
126
  "clsx": "^2.1.1",
@@ -136,16 +134,15 @@
136
134
  "html-to-image": "^1.11.11",
137
135
  "json5": "^2.2.3",
138
136
  "mkdirp": "^3.0.1",
139
- "p-limit": "^4.0.0",
137
+ "p-limit": "^5.0.0",
140
138
  "picocolors": "^1.0.0",
141
139
  "pkg-up": "^5.0.0",
142
140
  "postcss": "^8.4.38",
143
141
  "postcss-preset-mantine": "^1.15.0",
144
- "pretty-ms": "^8.0.0",
142
+ "pretty-ms": "^9.0.0",
145
143
  "prop-types": "^15.8.1",
146
- "react": "^18.2.0",
147
- "react-accessible-treeview": "^2.9.0",
148
- "react-dom": "^18.2.0",
144
+ "react": "^18.3.1",
145
+ "react-dom": "^18.3.1",
149
146
  "react-error-boundary": "^4.0.13",
150
147
  "react-resizable-panels": "^2.0.19",
151
148
  "react-shadow": "^20.4.0",
@@ -162,5 +159,5 @@
162
159
  "vitest": "~1.5.2",
163
160
  "yargs": "^17.7.2"
164
161
  },
165
- "packageManager": "yarn@4.2.2"
162
+ "packageManager": "yarn@4.3.0"
166
163
  }
@@ -1,10 +1,8 @@
1
- /// <reference types="react" />
2
1
  import '@mantine/core/styles.css';
3
- import '@xyflow/react/dist/style.css';
4
2
  import type { DiagramView, LikeC4ViewBaseProps } from './types';
5
3
  export type LikeC4BrowserProps<ViewId extends string> = Omit<LikeC4ViewBaseProps<ViewId>, 'viewId' | 'interactive'> & {
6
4
  view: DiagramView<ViewId>;
7
5
  onNavigateTo: (to: ViewId) => void;
8
6
  onClose: () => void;
9
7
  };
10
- export declare function LikeC4Browser<ViewId extends string>({ colorScheme, view, injectFontCss, onNavigateTo, onClose, overlay, background, ...props }: LikeC4BrowserProps<ViewId>): JSX.Element;
8
+ export declare function LikeC4Browser<ViewId extends string>({ colorScheme, view, injectFontCss, onNavigateTo, onClose, overlay, background, ...props }: LikeC4BrowserProps<ViewId>): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,7 @@
1
- /// <reference types="react" />
2
1
  import '@mantine/core/styles.css';
3
- import '@xyflow/react/dist/style.css';
4
2
  import type { DiagramView, LikeC4ViewBaseProps } from './types';
5
3
  export type LikeC4ViewElementProps<ViewId extends string> = Omit<LikeC4ViewBaseProps<ViewId>, 'viewId' | 'interactive' | 'overlay'> & {
6
4
  view: DiagramView<ViewId>;
7
5
  onNavigateTo?: ((to: ViewId) => void) | undefined;
8
6
  };
9
- export declare function LikeC4ViewElement<ViewId extends string>({ onNavigateTo, view, injectFontCss, colorScheme, background, ...props }: LikeC4ViewElementProps<ViewId>): JSX.Element;
7
+ export declare function LikeC4ViewElement<ViewId extends string>({ onNavigateTo, view, injectFontCss, colorScheme, background, ...props }: LikeC4ViewElementProps<ViewId>): import("react/jsx-runtime").JSX.Element;
@@ -4,5 +4,5 @@ type ShadowRootProps = HTMLAttributes<HTMLDivElement> & {
4
4
  injectFontCss?: boolean | undefined;
5
5
  colorScheme?: 'light' | 'dark' | undefined;
6
6
  };
7
- export declare function ShadowRoot({ children, rootClassName, colorScheme, injectFontCss, ...props }: ShadowRootProps): JSX.Element;
7
+ export declare function ShadowRoot({ children, rootClassName, colorScheme, injectFontCss, ...props }: ShadowRootProps): import("react/jsx-runtime").JSX.Element;
8
8
  export {};