@eventcatalog/core 2.0.8 → 2.0.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eventcatalog/core
2
2
 
3
+ ## 2.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - d4916a0: fix(core): configure width for nodes in visualiser (#560)
8
+
3
9
  ## 2.0.8
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eventcatalog/core",
3
3
  "type": "module",
4
- "version": "2.0.8",
4
+ "version": "2.0.9",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -40,7 +40,7 @@ export default function CommandNode({ data, sourcePosition, targetPosition }: an
40
40
  </span>
41
41
  )}
42
42
  </div>
43
- <div className="p-1">
43
+ <div className="p-1 min-w-60 max-w-[min-content]">
44
44
  {renderTarget && <Handle type="target" position={targetPosition} />}
45
45
  {renderSource && <Handle type="source" position={sourcePosition} />}
46
46
  <div className={classNames(mode === 'full' ? `border-b border-gray-200` : '')}>
@@ -40,7 +40,7 @@ export default function EventNode({ data, sourcePosition, targetPosition }: any)
40
40
  </span>
41
41
  )}
42
42
  </div>
43
- <div className="p-1">
43
+ <div className="p-1 min-w-60 max-w-[min-content]">
44
44
  {renderTarget && <Handle type="target" position={targetPosition} />}
45
45
  {renderSource && <Handle type="source" position={sourcePosition} />}
46
46
  <div className={classNames(mode === 'full' ? `border-b border-gray-200` : '')}>
@@ -39,7 +39,7 @@ export default function ServiceNode({ data, sourcePosition, targetPosition }: an
39
39
  </span>
40
40
  )}
41
41
  </div>
42
- <div className="p-1">
42
+ <div className="p-1 min-w-60 max-w-[min-content]">
43
43
  {showTarget && <Handle type="target" position={targetPosition} />}
44
44
  {showSource && <Handle type="source" position={sourcePosition} />}
45
45
  {/* {mode === 'full' && (