@likec4/diagram 1.29.0 → 1.30.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/bundle/index.js +29 -28
- package/dist/_virtual/index.js +1 -1
- package/dist/components/SearchControl.css.js +8 -2
- package/dist/node_modules/.pnpm/{react@19.0.0 → react@19.1.0}/node_modules/react/cjs/react.production.js +14 -6
- package/dist/styles.css.js +1 -1
- package/package.json +12 -12
- package/src/components/SearchControl.css.ts +7 -1
- package/src/context/IconRenderer.tsx +3 -1
- /package/dist/node_modules/.pnpm/{react@19.0.0 → react@19.1.0}/node_modules/react/index.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@likec4/diagram",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.30.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"bugs": "https://github.com/likec4/likec4/issues",
|
|
6
6
|
"homepage": "https://likec4.dev",
|
|
@@ -54,38 +54,38 @@
|
|
|
54
54
|
"clsx": "^2.1.1",
|
|
55
55
|
"d3-shape": "^3.2.0",
|
|
56
56
|
"fast-equals": "^5.2.2",
|
|
57
|
-
"motion": "^12.7.
|
|
57
|
+
"motion": "^12.7.4",
|
|
58
58
|
"nanostores": "1.0.1",
|
|
59
59
|
"react-error-boundary": "^5.0.0",
|
|
60
60
|
"react-shadow": "^20.6.0",
|
|
61
61
|
"remeda": "^2.21.2",
|
|
62
62
|
"type-fest": "^4.39.1",
|
|
63
63
|
"xstate": "^5.19.2",
|
|
64
|
-
"@likec4/core": "1.
|
|
65
|
-
"@likec4/styles": "1.
|
|
64
|
+
"@likec4/core": "1.30.0",
|
|
65
|
+
"@likec4/styles": "1.30.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": "^18.x || ^19.x",
|
|
69
69
|
"react-dom": "^18.x || ^19.x"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@pandacss/dev": "^0.53.
|
|
72
|
+
"@pandacss/dev": "^0.53.4",
|
|
73
73
|
"@statelyai/inspect": "^0.4.0",
|
|
74
74
|
"@types/bezier-js": "^4.1.3",
|
|
75
75
|
"@types/d3-shape": "^3.1.7",
|
|
76
|
-
"@types/react": "^19.
|
|
77
|
-
"@types/react-dom": "^19.
|
|
76
|
+
"@types/react": "^19.1.1",
|
|
77
|
+
"@types/react-dom": "^19.1.2",
|
|
78
78
|
"@types/node": "^20.17.30",
|
|
79
|
-
"@vitejs/plugin-react": "^4.
|
|
79
|
+
"@vitejs/plugin-react": "^4.4.0",
|
|
80
80
|
"postcss": "^8.5.3",
|
|
81
|
-
"react": "^19.
|
|
82
|
-
"react-dom": "^19.
|
|
81
|
+
"react": "^19.1.0",
|
|
82
|
+
"react-dom": "^19.1.0",
|
|
83
83
|
"typescript": "^5.8.3",
|
|
84
|
-
"vite": "^6.
|
|
84
|
+
"vite": "^6.3.1",
|
|
85
85
|
"vite-plugin-dts": "^4.5.3",
|
|
86
86
|
"vitest": "^3.1.1",
|
|
87
87
|
"wireit": "^0.14.12",
|
|
88
|
-
"@likec4/tsconfig": "1.
|
|
88
|
+
"@likec4/tsconfig": "1.30.0"
|
|
89
89
|
},
|
|
90
90
|
"scripts": {
|
|
91
91
|
"generate": "panda codegen",
|
|
@@ -41,9 +41,15 @@ export const root = css({
|
|
|
41
41
|
export const placeholder = css({
|
|
42
42
|
fontSize: 'sm', // mantine.fontSizes.sm,
|
|
43
43
|
fontWeight: 500,
|
|
44
|
-
paddingRight: '
|
|
44
|
+
paddingRight: '10px',
|
|
45
45
|
color: 'mantine.colors.placeholder',
|
|
46
46
|
flex: '1',
|
|
47
|
+
sm: {
|
|
48
|
+
paddingRight: '30px',
|
|
49
|
+
},
|
|
50
|
+
md: {
|
|
51
|
+
paddingRight: '50px',
|
|
52
|
+
},
|
|
47
53
|
})
|
|
48
54
|
|
|
49
55
|
export const shortcut = css({
|
|
@@ -53,7 +53,9 @@ export function IconRenderer({
|
|
|
53
53
|
return null
|
|
54
54
|
}
|
|
55
55
|
let icon: ReactNode
|
|
56
|
-
if (
|
|
56
|
+
if (
|
|
57
|
+
element.icon.startsWith('http://') || element.icon.startsWith('https://')
|
|
58
|
+
) {
|
|
57
59
|
icon = <img src={element.icon} alt={element.title} />
|
|
58
60
|
} else if (RenderIcon) {
|
|
59
61
|
icon = <RenderIcon node={element} />
|
|
File without changes
|