@dschz/solid-flow 0.3.0-next.1 → 0.3.0-next.3

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.
@@ -81,8 +81,8 @@
81
81
  }
82
82
 
83
83
 
84
- /* Graph Styles */
85
- /* src/components/graph/connection/styles.css */
84
+ /* Graph Element Styles */
85
+ /* src/components/connection/styles.css */
86
86
  .solid-flow {
87
87
  --xy-connectionline-stroke-default: #b1b1b7;
88
88
  --xy-connectionline-stroke-width-default: 1;
@@ -117,7 +117,7 @@ connectionline {
117
117
  );
118
118
  }
119
119
 
120
- /* src/components/graph/edge/styles.css */
120
+ /* src/components/edge/styles.css */
121
121
  .solid-flow {
122
122
  --xy-edge-label-background-color-default: #ffffff;
123
123
  --xy-edge-label-color-default: inherit;
@@ -225,7 +225,7 @@ connectionline {
225
225
  }
226
226
  }
227
227
 
228
- /* src/components/graph/handle/styles.css */
228
+ /* src/components/handle/styles.css */
229
229
  .solid-flow {
230
230
  --xy-handle-background-color-default: #1a192b;
231
231
  --xy-handle-border-color-default: #fff;
@@ -283,7 +283,7 @@ connectionline {
283
283
  transform: translate(-50%, 50%);
284
284
  }
285
285
 
286
- /* src/components/graph/node/styles.css */
286
+ /* src/components/node/styles.css */
287
287
  .solid-flow {
288
288
  --xy-node-color-default: inherit;
289
289
  --xy-node-border-default: 1px solid #1a192b;
@@ -367,7 +367,43 @@ connectionline {
367
367
  );
368
368
  }
369
369
 
370
- /* src/components/graph/plugins/background/styles.css */
370
+ /* src/components/selection/styles.css */
371
+ .solid-flow {
372
+ --xy-selection-background-color-default: rgba(0, 89, 220, 0.08);
373
+ --xy-selection-border-default: 1px dotted rgba(0, 89, 220, 0.8);
374
+ }
375
+
376
+ .solid-flow.dark {
377
+ --xy-selection-background-color-default: rgba(200, 200, 220, 0.08);
378
+ --xy-selection-border-default: 1px dotted rgba(200, 200, 220, 0.8);
379
+ }
380
+
381
+ .solid-flow__selection-wrapper {
382
+ position: absolute;
383
+ top: 0;
384
+ left: 0;
385
+ z-index: 2000;
386
+ pointer-events: all;
387
+ }
388
+
389
+ .solid-flow__selection {
390
+ background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
391
+ border: var(--xy-selection-border, var(--xy-selection-border-default));
392
+
393
+ position: absolute;
394
+ top: 0;
395
+ left: 0;
396
+ z-index: 6;
397
+
398
+ &:focus,
399
+ &:focus-visible {
400
+ outline: none;
401
+ }
402
+ }
403
+
404
+
405
+ /* Plugin Styles */
406
+ /* src/plugins/background/styles.css */
371
407
  .solid-flow {
372
408
  --xy-background-color-default: transparent;
373
409
  --xy-background-pattern-dots-color-default: #91919a;
@@ -418,7 +454,7 @@ connectionline {
418
454
  }
419
455
  }
420
456
 
421
- /* src/components/graph/plugins/controls/styles.css */
457
+ /* src/plugins/controls/styles.css */
422
458
  .solid-flow {
423
459
  --xy-controls-button-background-color-default: #fefefe;
424
460
  --xy-controls-button-background-color-hover-default: #f4f4f4;
@@ -507,7 +543,7 @@ connectionline {
507
543
  }
508
544
  }
509
545
 
510
- /* src/components/graph/plugins/minimap/styles.css */
546
+ /* src/plugins/minimap/styles.css */
511
547
  .solid-flow {
512
548
  --xy-minimap-background-color-default: #fff;
513
549
 
@@ -573,7 +609,7 @@ connectionline {
573
609
  );
574
610
  }
575
611
 
576
- /* src/components/graph/plugins/nodeResizer/styles.css */
612
+ /* src/plugins/nodeResizer/styles.css */
577
613
  .solid-flow {
578
614
  --xy-resize-background-color-default: #3367d9;
579
615
  }
@@ -690,40 +726,6 @@ connectionline {
690
726
  }
691
727
  }
692
728
 
693
- /* src/components/graph/selection/styles.css */
694
- .solid-flow {
695
- --xy-selection-background-color-default: rgba(0, 89, 220, 0.08);
696
- --xy-selection-border-default: 1px dotted rgba(0, 89, 220, 0.8);
697
- }
698
-
699
- .solid-flow.dark {
700
- --xy-selection-background-color-default: rgba(200, 200, 220, 0.08);
701
- --xy-selection-border-default: 1px dotted rgba(200, 200, 220, 0.8);
702
- }
703
-
704
- .solid-flow__selection-wrapper {
705
- position: absolute;
706
- top: 0;
707
- left: 0;
708
- z-index: 2000;
709
- pointer-events: all;
710
- }
711
-
712
- .solid-flow__selection {
713
- background: var(--xy-selection-background-color, var(--xy-selection-background-color-default));
714
- border: var(--xy-selection-border, var(--xy-selection-border-default));
715
-
716
- position: absolute;
717
- top: 0;
718
- left: 0;
719
- z-index: 6;
720
-
721
- &:focus,
722
- &:focus-visible {
723
- outline: none;
724
- }
725
- }
726
-
727
729
 
728
730
  /* Utility Styles */
729
731
  /* src/components/utility/styles.css */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dschz/solid-flow",
3
- "version": "0.3.0-next.1",
3
+ "version": "0.3.0-next.3",
4
4
  "description": "Solid Flow - A highly customizable Solid library for building node-based editors, workflow systems, diagrams and more.",
5
5
  "keywords": [
6
6
  "ai workflows",