@likec4/diagram 1.0.0 → 1.0.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/dist/style.css +1 -4
- package/package.json +12 -10
- package/src/xyflow/edges/edges.css.ts +4 -4
package/dist/style.css
CHANGED
|
@@ -756,7 +756,7 @@ svg.react-flow__connectionline {
|
|
|
756
756
|
}
|
|
757
757
|
[data-mantine-color-scheme="dark"] .bexn7q0 {
|
|
758
758
|
--xy-edge-label-color: var(--likec4-relation-labelColor);
|
|
759
|
-
--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-relation-labelBg), transparent
|
|
759
|
+
--xy-edge-label-background-color: color-mix(in srgb, var(--likec4-relation-labelBg), transparent 55%);
|
|
760
760
|
}
|
|
761
761
|
.bexn7q0[data-edge-hovered='true'] {
|
|
762
762
|
--xy-edge-stroke: color-mix(in srgb, var(--likec4-relation-lineColor), white 30%);
|
|
@@ -805,9 +805,6 @@ svg.react-flow__connectionline {
|
|
|
805
805
|
transform: var(--bexn7q6);
|
|
806
806
|
will-change: transform;
|
|
807
807
|
}
|
|
808
|
-
[data-mantine-color-scheme="dark"] .bexn7q7 {
|
|
809
|
-
mix-blend-mode: luminosity;
|
|
810
|
-
}
|
|
811
808
|
.bexn7q7[data-edge-hovered="true"] {
|
|
812
809
|
transition: all 140ms ease-out;
|
|
813
810
|
transform: var(--bexn7q6) scale(1.1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/diagram",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bugs": "https://github.com/likec4/likec4/issues",
|
|
6
6
|
"homepage": "https://likec4.dev",
|
|
@@ -40,19 +40,17 @@
|
|
|
40
40
|
"./style.css": "./dist/style.css"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"packageManager": "yarn@4.
|
|
43
|
+
"packageManager": "yarn@4.2.2",
|
|
44
44
|
"scripts": {
|
|
45
45
|
"typecheck": "tsc",
|
|
46
46
|
"prepack": "vite build --mode production",
|
|
47
47
|
"build:turbo": "run -T turbo build --filter='diagram'",
|
|
48
48
|
"build": "vite build --mode development && tsc -b",
|
|
49
49
|
"lint": "run -T eslint src/ --fix",
|
|
50
|
-
"clean": "run -T rimraf -v dist/* .tsbuildinfo"
|
|
50
|
+
"clean": "run -T rimraf -v -g 'dist/*' .tsbuildinfo"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@likec4/core": "1.0.
|
|
54
|
-
"@mantine/core": "^7.9.0",
|
|
55
|
-
"@mantine/hooks": "^7.9.0",
|
|
53
|
+
"@likec4/core": "1.0.1",
|
|
56
54
|
"@react-hookz/web": "^24.0.4",
|
|
57
55
|
"esm-env": "^1.0.0",
|
|
58
56
|
"fast-equals": "^5.0.1",
|
|
@@ -61,15 +59,19 @@
|
|
|
61
59
|
"zustand": "^4.5.2"
|
|
62
60
|
},
|
|
63
61
|
"peerDependencies": {
|
|
64
|
-
"
|
|
65
|
-
"
|
|
62
|
+
"@mantine/core": "^7.9.0",
|
|
63
|
+
"@mantine/hooks": "^7.9.0",
|
|
64
|
+
"react": "^18.3.1",
|
|
65
|
+
"react-dom": "^18.3.1"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@lume/kiwi": "^0.4.3",
|
|
69
|
+
"@mantine/core": "^7.9.0",
|
|
70
|
+
"@mantine/hooks": "^7.9.0",
|
|
69
71
|
"@mantine/vanilla-extract": "^7.9.0",
|
|
70
72
|
"@total-typescript/ts-reset": "^0.5.1",
|
|
71
|
-
"@types/react": "
|
|
72
|
-
"@types/react-dom": "
|
|
73
|
+
"@types/react": "18.2.0",
|
|
74
|
+
"@types/react-dom": "18.2.4",
|
|
73
75
|
"@vanilla-extract/css": "^1.15.1",
|
|
74
76
|
"@vanilla-extract/dynamic": "^2.1.0",
|
|
75
77
|
"@vanilla-extract/esbuild-plugin": "^2.3.5",
|
|
@@ -15,7 +15,7 @@ export const container = style({
|
|
|
15
15
|
[mantine.darkSelector]: {
|
|
16
16
|
vars: {
|
|
17
17
|
[xyvars.edge.labelColor]: vars.relation.labelColor,
|
|
18
|
-
[xyvars.edge.labelBgColor]: `color-mix(in srgb, ${vars.relation.labelBgColor}, transparent
|
|
18
|
+
[xyvars.edge.labelBgColor]: `color-mix(in srgb, ${vars.relation.labelBgColor}, transparent 55%)`
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
// [mantine.lightSelector]: {
|
|
@@ -105,9 +105,9 @@ export const edgeLabel = style({
|
|
|
105
105
|
[varLabelY]: '50%'
|
|
106
106
|
},
|
|
107
107
|
selectors: {
|
|
108
|
-
[mantine.darkSelector]: {
|
|
109
|
-
|
|
110
|
-
},
|
|
108
|
+
// [mantine.darkSelector]: {
|
|
109
|
+
// mixBlendMode: 'luminosity'
|
|
110
|
+
// },
|
|
111
111
|
'&[data-edge-hovered="true"]': {
|
|
112
112
|
transition: 'all 140ms ease-out',
|
|
113
113
|
transform: `${varTranslate} scale(1.1)`
|