@industry-theme/repository-composition-panels 0.2.45 → 0.2.46

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.
@@ -1,4 +1,4 @@
1
- import type { ExtendedCanvas } from '@principal-ai/principal-view-core/browser';
1
+ import type { ExtendedCanvas } from '@principal-ai/principal-view-core';
2
2
  import type { PackageLayer } from '../../types/composition';
3
3
  export interface DependencyCanvasOptions {
4
4
  /** Include devDependencies in the graph */
@@ -1 +1 @@
1
- {"version":3,"file":"dependencyToCanvas.d.ts","sourceRoot":"","sources":["../../../src/panels/dependency-graph/dependencyToCanvas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,2CAA2C,CAAC;AAC7F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,WAAW,uBAAuB;IACtC,2CAA2C;IAC3C,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,4CAA4C;IAC5C,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0BAA0B;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,YAAY,EAAE,EACxB,OAAO,GAAE,uBAA4B,GACpC,cAAc,CAsHhB"}
1
+ {"version":3,"file":"dependencyToCanvas.d.ts","sourceRoot":"","sources":["../../../src/panels/dependency-graph/dependencyToCanvas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAe,MAAM,mCAAmC,CAAC;AACrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,WAAW,uBAAuB;IACtC,2CAA2C;IAC3C,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,4CAA4C;IAC5C,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,yBAAyB;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0BAA0B;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,YAAY,EAAE,EACxB,OAAO,GAAE,uBAA4B,GACpC,cAAc,CAsHhB"}
@@ -1,4 +1,4 @@
1
- import type { ExtendedCanvas } from '@principal-ai/principal-view-core/browser';
1
+ import type { ExtendedCanvas } from '@principal-ai/principal-view-core';
2
2
  export interface ForceLayoutOptions {
3
3
  /** Strength of repulsion between nodes (-300 default, more negative = more spread) */
4
4
  chargeStrength?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"forceLayout.d.ts","sourceRoot":"","sources":["../../../src/panels/dependency-graph/forceLayout.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2CAA2C,CAAC;AAahF,MAAM,WAAW,kBAAkB;IACjC,sFAAsF;IACtF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mEAAmE;IACnE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,cAAc,EACtB,OAAO,GAAE,kBAAuB,GAC/B,cAAc,CA+FhB;AAED,MAAM,WAAW,qBAAqB;IACpC,gFAAgF;IAChF,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACtC,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sCAAsC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wBAAwB;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wBAAwB;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,cAAc,EACtB,OAAO,GAAE,qBAA0B,GAClC,cAAc,CA8HhB"}
1
+ {"version":3,"file":"forceLayout.d.ts","sourceRoot":"","sources":["../../../src/panels/dependency-graph/forceLayout.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAaxE,MAAM,WAAW,kBAAkB;IACjC,sFAAsF;IACtF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mEAAmE;IACnE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,cAAc,EACtB,OAAO,GAAE,kBAAuB,GAC/B,cAAc,CA+FhB;AAED,MAAM,WAAW,qBAAqB;IACpC,gFAAgF;IAChF,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACtC,uCAAuC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sCAAsC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wBAAwB;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,wBAAwB;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,MAAM,EAAE,cAAc,EACtB,OAAO,GAAE,qBAA0B,GAClC,cAAc,CA8HhB"}
@@ -23,7 +23,7 @@
23
23
  --xy-attribution-background-color-default: rgba(255, 255, 255, 0.5);
24
24
 
25
25
  --xy-minimap-background-color-default: #fff;
26
- --xy-minimap-mask-background-color-default: rgba(240, 240, 240, 0.6);
26
+ --xy-minimap-mask-background-color-default: rgb(240, 240, 240, 0.6);
27
27
  --xy-minimap-mask-stroke-color-default: transparent;
28
28
  --xy-minimap-mask-stroke-width-default: 1;
29
29
  --xy-minimap-node-background-color-default: #e2e2e2;
@@ -71,7 +71,7 @@
71
71
  --xy-attribution-background-color-default: rgba(150, 150, 150, 0.25);
72
72
 
73
73
  --xy-minimap-background-color-default: #141414;
74
- --xy-minimap-mask-background-color-default: rgba(60, 60, 60, 0.6);
74
+ --xy-minimap-mask-background-color-default: rgb(60, 60, 60, 0.6);
75
75
  --xy-minimap-mask-stroke-color-default: transparent;
76
76
  --xy-minimap-mask-stroke-width-default: 1;
77
77
  --xy-minimap-node-background-color-default: #2b2b2b;
@@ -106,7 +106,7 @@
106
106
  --xy-edge-label-color-default: #f8f8f8;
107
107
  }
108
108
  .react-flow__background {
109
- background-color: var(--xy-background-color-props, var(--xy-background-color, var(--xy-background-color-default)));
109
+ background-color: var(--xy-background-color, var(--xy-background-color-props, var(--xy-background-color-default)));
110
110
  pointer-events: none;
111
111
  z-index: -1;
112
112
  }
@@ -120,15 +120,15 @@
120
120
  .react-flow__pane {
121
121
  z-index: 1;
122
122
  }
123
- .react-flow__pane.draggable {
124
- cursor: grab;
125
- }
126
- .react-flow__pane.dragging {
127
- cursor: grabbing;
128
- }
129
123
  .react-flow__pane.selection {
130
124
  cursor: pointer;
131
125
  }
126
+ .react-flow__pane.draggable {
127
+ cursor: grab;
128
+ }
129
+ .react-flow__pane.draggable.dragging {
130
+ cursor: grabbing;
131
+ }
132
132
  .react-flow__viewport {
133
133
  transform-origin: 0 0;
134
134
  z-index: 2;
@@ -154,10 +154,10 @@
154
154
  stroke-width: var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));
155
155
  fill: none;
156
156
  }
157
- .react-flow .react-flow__edges {
157
+ .react-flow__edges {
158
158
  position: absolute;
159
159
  }
160
- .react-flow .react-flow__edges svg {
160
+ .react-flow__edges svg {
161
161
  overflow: visible;
162
162
  position: absolute;
163
163
  pointer-events: none;
@@ -198,13 +198,6 @@
198
198
  -moz-user-select: none;
199
199
  user-select: none;
200
200
  }
201
- /* Arrowhead marker styles - use CSS custom properties as default */
202
- .react-flow__arrowhead polyline {
203
- stroke: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
204
- }
205
- .react-flow__arrowhead polyline.arrowclosed {
206
- fill: var(--xy-edge-stroke, var(--xy-edge-stroke-default));
207
- }
208
201
  .react-flow__connection {
209
202
  pointer-events: none;
210
203
  }
@@ -294,9 +287,6 @@ svg.react-flow__connectionline {
294
287
  cursor: move;
295
288
  pointer-events: all;
296
289
  }
297
- .react-flow__pane.selection .react-flow__panel {
298
- pointer-events: none;
299
- }
300
290
  .react-flow__panel {
301
291
  position: absolute;
302
292
  z-index: 5;
@@ -308,20 +298,16 @@ svg.react-flow__connectionline {
308
298
  .react-flow__panel.bottom {
309
299
  bottom: 0;
310
300
  }
311
- .react-flow__panel.top.center, .react-flow__panel.bottom.center {
312
- left: 50%;
313
- transform: translateX(-15px) translateX(-50%);
314
- }
315
301
  .react-flow__panel.left {
316
302
  left: 0;
317
303
  }
318
304
  .react-flow__panel.right {
319
305
  right: 0;
320
306
  }
321
- .react-flow__panel.left.center, .react-flow__panel.right.center {
322
- top: 50%;
323
- transform: translateY(-15px) translateY(-50%);
324
- }
307
+ .react-flow__panel.center {
308
+ left: 50%;
309
+ transform: translateX(-50%);
310
+ }
325
311
  .react-flow__attribution {
326
312
  font-size: 10px;
327
313
  background: var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));
@@ -523,17 +509,6 @@ svg.react-flow__connectionline {
523
509
  .react-flow__controls-button:last-child {
524
510
  border-bottom: none;
525
511
  }
526
- .react-flow__controls.horizontal .react-flow__controls-button {
527
- border-bottom: none;
528
- border-right: 1px solid
529
- var(
530
- --xy-controls-button-border-color-props,
531
- var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default))
532
- );
533
- }
534
- .react-flow__controls.horizontal .react-flow__controls-button:last-child {
535
- border-right: none;
536
- }
537
512
  .react-flow__resize-control {
538
513
  position: absolute;
539
514
  }
@@ -555,12 +530,12 @@ svg.react-flow__connectionline {
555
530
  }
556
531
  /* handle styles */
557
532
  .react-flow__resize-control.handle {
558
- width: 5px;
559
- height: 5px;
533
+ width: 4px;
534
+ height: 4px;
560
535
  border: 1px solid #fff;
561
536
  border-radius: 1px;
562
537
  background-color: var(--xy-resize-background-color, var(--xy-resize-background-color-default));
563
- translate: -50% -50%;
538
+ transform: translate(-50%, -50%);
564
539
  }
565
540
  .react-flow__resize-control.handle.left {
566
541
  left: 0;