likec4 1.30.0 → 1.32.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 +2 -1
- package/__app__/react/likec4.tsx +2 -2
- package/__app__/src/const.js +2 -1
- package/__app__/src/main.js +8131 -7197
- package/__app__/src/style.css +1 -1
- package/dist/cli/index.mjs +733 -721
- package/dist/index.d.mts +6 -5
- package/dist/index.mjs +2 -2
- package/dist/model/index.d.mts +7 -5
- package/dist/model/index.mjs +2 -2
- package/dist/shared/{likec4.tyGQtUCS.d.mts → likec4.8nZi1RFs.d.mts} +107 -63
- package/dist/shared/likec4.BdLFzcl1.mjs +239 -0
- package/dist/shared/likec4.CouFKCvO.mjs +2380 -0
- package/dist/vite-plugin/index.d.mts +2 -1
- package/dist/vite-plugin/index.mjs +2 -2
- package/package.json +44 -43
- package/react/index.d.mts +581 -851
- package/react/index.mjs +110 -96
- package/vite-plugin-modules.d.ts +47 -34
- package/dist/shared/likec4.bAyyEO3Z.mjs +0 -227
- package/dist/shared/likec4.wnruN9MH.mjs +0 -2469
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ likec4 export png -o ./assets
|
|
|
113
113
|
This command starts the local web server and uses Playwright to take screenshots.\
|
|
114
114
|
If you plan to use it on CI, refer to [Playwright documentation](https://playwright.dev/docs/ci) for details.
|
|
115
115
|
|
|
116
|
-
### Export to Mermaid, Dot, D2
|
|
116
|
+
### Export to Mermaid, Dot, D2, PlantUml
|
|
117
117
|
|
|
118
118
|
Export to various formats via codegen:
|
|
119
119
|
|
|
@@ -122,6 +122,7 @@ likec4 codegen mmd
|
|
|
122
122
|
likec4 codegen mermaid
|
|
123
123
|
likec4 codegen dot
|
|
124
124
|
likec4 codegen d2
|
|
125
|
+
likec4 codegen plantuml
|
|
125
126
|
```
|
|
126
127
|
|
|
127
128
|
[📖 Read documentation](https://likec4.dev/tooling/cli/) for other CLI usage
|
package/__app__/react/likec4.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ViewId } from '
|
|
1
|
+
import type { ViewId } from 'likec4/model'
|
|
2
2
|
import { $likec4data, $likec4model } from 'likec4:single-project'
|
|
3
3
|
|
|
4
|
-
export const
|
|
4
|
+
export const likec4model = $likec4model.get()
|
|
5
5
|
|
|
6
6
|
export {
|
|
7
7
|
IconRenderer as RenderIcon,
|
package/__app__/src/const.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const ComponentName = {
|
|
2
2
|
View: WEBCOMPONENT_PREFIX + '-view',
|
|
3
|
-
Browser: WEBCOMPONENT_PREFIX + '-browser'
|
|
3
|
+
Browser: WEBCOMPONENT_PREFIX + '-browser',
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
let BASE = import.meta.env.BASE_URL
|
|
@@ -17,3 +17,4 @@ export const withOverviewGraph = __USE_OVERVIEW_GRAPH__ === true
|
|
|
17
17
|
export const isDevelopment = import.meta.env.DEV
|
|
18
18
|
|
|
19
19
|
export const krokiD2SvgUrl = import.meta.env.VITE_KROKI_D2_SVG_URL || 'https://kroki.io/d2/svg'
|
|
20
|
+
export const krokiPumlSvgUrl = import.meta.env.VITE_KROKI_D2_SVG_URL || 'https://kroki.io/plantuml/svg'
|