@likec4/diagram 1.42.0 → 1.42.1
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/bundle/index.js +1170 -1038
- package/dist/LikeC4Diagram.d.ts +1 -1
- package/dist/LikeC4Diagram.js +38 -12
- package/dist/LikeC4Diagram.props.d.ts +0 -10
- package/dist/components/Logo.js +42 -0
- package/dist/components/RootContainer.js +10 -7
- package/dist/context/RootContainerContext.d.ts +11 -0
- package/dist/context/RootContainerContext.js +14 -1
- package/dist/hooks/useReducedGraphics.d.ts +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/likec4diagram/DiagramXYFlow.js +2 -4
- package/dist/likec4diagram/state/DiagramActorProvider.js +3 -4
- package/dist/navigationpanel/NavigationPanelControls.js +2 -2
- package/dist/navigationpanel/NavigationPanelDropdown.js +30 -6
- package/dist/navigationpanel/controls/BurgerButton.js +46 -8
- package/dist/navigationpanel/styles.css.js +1 -1
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.35.0_react@19.1.1/node_modules/@tabler/icons-react/dist/esm/icons/IconDirectionSignFilled.js +14 -0
- package/dist/styles.css2.js +1 -1
- package/package.json +7 -7
- package/panda.buildinfo.json +9 -5
- package/styles-min.css +1 -1
- package/styles.css +1 -1
- package/dist/context/ControlsCustomLayout.d.ts +0 -12
- package/dist/context/ControlsCustomLayout.js +0 -8
- package/dist/context/ReduceGraphics.d.ts +0 -12
- package/dist/context/ReduceGraphics.js +0 -26
- package/dist/node_modules/.pnpm/@tabler_icons-react@3.35.0_react@19.1.1/node_modules/@tabler/icons-react/dist/esm/icons/IconMenu2.js +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/diagram",
|
|
3
|
-
"version": "1.42.
|
|
3
|
+
"version": "1.42.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bugs": "https://github.com/likec4/likec4/issues",
|
|
6
6
|
"homepage": "https://likec4.dev",
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"@nanostores/react": "1.0.0",
|
|
71
71
|
"@react-hookz/web": "^25.1.1",
|
|
72
72
|
"@xstate/react": "^5.0.5",
|
|
73
|
-
"@xyflow/react": "12.8.
|
|
74
|
-
"@xyflow/system": "0.0.
|
|
73
|
+
"@xyflow/react": "12.8.6",
|
|
74
|
+
"@xyflow/system": "0.0.70",
|
|
75
75
|
"bezier-js": "^6.1.4",
|
|
76
76
|
"d3-shape": "^3.2.0",
|
|
77
77
|
"fast-equals": "^5.2.2",
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
"remeda": "^2.31.1",
|
|
84
84
|
"type-fest": "^4.41.0",
|
|
85
85
|
"xstate": "^5.20.2",
|
|
86
|
-
"@likec4/
|
|
87
|
-
"@likec4/
|
|
86
|
+
"@likec4/core": "1.42.1",
|
|
87
|
+
"@likec4/styles": "1.42.1"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"@pandacss/dev": "^1.4.1",
|
|
@@ -124,8 +124,8 @@
|
|
|
124
124
|
"vitest": "3.2.4",
|
|
125
125
|
"wireit": "0.14.12",
|
|
126
126
|
"zx": "8.8.4",
|
|
127
|
-
"@likec4/
|
|
128
|
-
"@likec4/
|
|
127
|
+
"@likec4/devops": "1.42.0",
|
|
128
|
+
"@likec4/tsconfig": "1.42.1"
|
|
129
129
|
},
|
|
130
130
|
"scripts": {
|
|
131
131
|
"typecheck": "tsc --build --verbose",
|
package/panda.buildinfo.json
CHANGED
|
@@ -116,11 +116,11 @@
|
|
|
116
116
|
"maxWidth]___[value:200px",
|
|
117
117
|
"display]___[value:none",
|
|
118
118
|
"display]___[value:block]___[cond:@/md",
|
|
119
|
-
"gap]___[value:
|
|
119
|
+
"gap]___[value:1",
|
|
120
120
|
"flexShrink]___[value:1",
|
|
121
121
|
"flexGrow]___[value:1",
|
|
122
122
|
"overflow]___[value:hidden",
|
|
123
|
-
"gap]___[value:
|
|
123
|
+
"gap]___[value:0.5",
|
|
124
124
|
"flexGrow]___[value:0",
|
|
125
125
|
"display]___[value:none]___[cond:_empty",
|
|
126
126
|
"layerStyle]___[value:likec4.dropdown",
|
|
@@ -168,9 +168,10 @@
|
|
|
168
168
|
"color]___[value:mantine.colors.gray[5]",
|
|
169
169
|
"color]___[value:mantine.colors.dark[3]]___[cond:_dark",
|
|
170
170
|
"color]___[value:mantine.colors.text/90",
|
|
171
|
-
"color]___[value:mantine
|
|
171
|
+
"color]___[value:[var(--mantine-color-bright)]]___[cond:_hover",
|
|
172
172
|
"truncate]___[value:true",
|
|
173
173
|
"color]___[value:mantine.colors.dimmed",
|
|
174
|
+
"color]___[value:mantine.colors.text]___[cond:_hover",
|
|
174
175
|
"backgroundColor]___[value:[rgb(34 34 34 / var(--_opacity, 95%))]",
|
|
175
176
|
"backgroundColor]___[value:[rgb(250 250 250 / var(--_opacity, 95%))]]___[cond:_light",
|
|
176
177
|
"backdropFilter]___[value:auto",
|
|
@@ -253,7 +254,6 @@
|
|
|
253
254
|
"display]___[value:none]___[cond:_reduceGraphicsOnPan<___>_before",
|
|
254
255
|
"cursor]___[value:pointer]___[cond::where(.react-flow__node.selectable:not(.dragging)) &",
|
|
255
256
|
"alignItems]___[value:flex-end",
|
|
256
|
-
"gap]___[value:1",
|
|
257
257
|
"justifyItems]___[value:stretch",
|
|
258
258
|
"bottom]___[value:0",
|
|
259
259
|
"padding]___[value:1",
|
|
@@ -270,7 +270,6 @@
|
|
|
270
270
|
"fontSize]___[value:lg",
|
|
271
271
|
"borderRadius]___[value:[4px]",
|
|
272
272
|
"paddingInline]___[value:1.5",
|
|
273
|
-
"gap]___[value:0.5",
|
|
274
273
|
"alignItems]___[value:baseline",
|
|
275
274
|
"flexWrap]___[value:wrap",
|
|
276
275
|
"translate]___[value:auto",
|
|
@@ -312,6 +311,10 @@
|
|
|
312
311
|
"color]___[value:var(--likec4-palette-hiContrast)]___[cond:_light",
|
|
313
312
|
"color]___[value:var(--likec4-palette-loContrast)]___[cond:_dark",
|
|
314
313
|
"whiteSpaceCollapse]___[value:preserve-breaks",
|
|
314
|
+
"padding]___[value:0.5",
|
|
315
|
+
"width]___[value:[20px]",
|
|
316
|
+
"width]___[value:[64px]]___[cond:@/md",
|
|
317
|
+
"display]___[value:none]___[cond:@/md",
|
|
315
318
|
"color]___[value:likec4.panel.action-icon.text",
|
|
316
319
|
"color]___[value:likec4.panel.action-icon.text.hover]___[cond:_hover",
|
|
317
320
|
"backgroundColor]___[value:likec4.panel.action-icon.bg",
|
|
@@ -322,6 +325,7 @@
|
|
|
322
325
|
"boxShadow]___[value:xl",
|
|
323
326
|
"display]___[value:flex]___[cond:@/xs",
|
|
324
327
|
"paddingBlock]___[value:1",
|
|
328
|
+
"gap]___[value:[1px]",
|
|
325
329
|
"marginTop]___[value:1",
|
|
326
330
|
"fontSize]___[value:xs",
|
|
327
331
|
"marginBottom]___[value:xxs",
|