likec4 1.20.3 → 1.21.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/README.md +3 -3
- package/__app__/src/chunks/{-index-overview-TebwYeV7.js → -index-overview-Csw3b-Fk.js} +4 -4
- package/__app__/src/chunks/{likec4-D8rQPdul.js → likec4-fsbHEjF3.js} +479 -478
- package/__app__/src/chunks/{main-DSlxn73B.js → main-DbAbBULM.js} +5105 -5106
- package/__app__/src/chunks/{mantine-D3AsIG-5.js → mantine-BdYO4lQg.js} +3837 -3743
- package/__app__/src/chunks/{tanstack-router-BE0xJAYp.js → tanstack-router-H-3IPlI6.js} +1 -1
- package/__app__/src/main.js +1 -1
- package/__app__/src/style.css +1 -1
- package/__app__/webcomponent/webcomponent.js +888 -799
- package/dist/cli/index.cjs +36 -36
- package/dist/cli/index.mjs +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +90 -27
- package/dist/index.d.mts +90 -27
- package/dist/index.d.ts +90 -27
- package/dist/index.mjs +1 -1
- package/dist/model/index.cjs +1 -1
- package/dist/model/index.d.cts +2 -2
- package/dist/model/index.d.mts +2 -2
- package/dist/model/index.d.ts +2 -2
- package/dist/model/index.mjs +1 -1
- package/dist/shared/likec4.BH2DNgw1.mjs +1855 -0
- package/dist/shared/likec4.DIyCHEbR.cjs +1855 -0
- package/package.json +19 -19
- package/react/index.js +553 -469
- package/react/style.css +1 -1
- package/dist/shared/likec4.32ndthTo.cjs +0 -1855
- package/dist/shared/likec4.BgEQuI_b.mjs +0 -1855
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ npm install --global likec4
|
|
|
48
48
|
|
|
49
49
|
# Then, you can call `likec4` directly:
|
|
50
50
|
likec4 [command]
|
|
51
|
-
```
|
|
51
|
+
```
|
|
52
52
|
|
|
53
53
|
## Usage
|
|
54
54
|
|
|
@@ -87,7 +87,7 @@ Build a single HTML with diagrams, ready to be embedded into your website:
|
|
|
87
87
|
likec4 build -o ./dist
|
|
88
88
|
```
|
|
89
89
|
|
|
90
|
-
Example [https://template.likec4.dev](https://template.likec4.dev/view/
|
|
90
|
+
Example [https://template.likec4.dev](https://template.likec4.dev/view/index/)
|
|
91
91
|
|
|
92
92
|
When you deploy the website, you can use the "Share" button to get links.
|
|
93
93
|
|
|
@@ -170,7 +170,7 @@ Recursively searches and parses source files from the wokrkspace directory:
|
|
|
170
170
|
import { LikeC4 } from 'likec4'
|
|
171
171
|
|
|
172
172
|
const likec4 = await LikeC4.fromWorkspace('path to workspace', opts)
|
|
173
|
-
```
|
|
173
|
+
```
|
|
174
174
|
|
|
175
175
|
### From source
|
|
176
176
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as t, jsxs as u, Fragment as z } from "react/jsx-runtime";
|
|
2
2
|
import { useOverviewGraph as L } from "virtual:likec4/overview-graph";
|
|
3
3
|
import { nonexhaustive as R } from "@likec4/core";
|
|
4
|
-
import { u as V } from "./tanstack-router-
|
|
5
|
-
import { B as G, H as v, P as g, u as $, a as K, i as U, b as A, c as X } from "./likec4-
|
|
4
|
+
import { u as V } from "./tanstack-router-H-3IPlI6.js";
|
|
5
|
+
import { B as G, H as v, P as g, u as $, a as K, i as U, b as A, c as X } from "./likec4-fsbHEjF3.js";
|
|
6
6
|
import { memo as k, useRef as Y, useMemo as B } from "react";
|
|
7
|
-
import { c as b, I as q, n as S, u as j, i as J } from "./main-
|
|
8
|
-
import { P as O, c as I, G as C, T as F, a as y, C as Q, b as W, d as ee, I as te, B as P, u as se } from "./mantine-
|
|
7
|
+
import { c as b, I as q, n as S, u as j, i as J } from "./main-DbAbBULM.js";
|
|
8
|
+
import { P as O, c as I, G as C, T as F, a as y, C as Q, b as W, d as ee, I as te, B as P, u as se } from "./mantine-BdYO4lQg.js";
|
|
9
9
|
import { usePreviewUrl as ae } from "virtual:likec4/previews";
|
|
10
10
|
/**
|
|
11
11
|
* @license @tabler/icons-react v3.29.0 - MIT
|