@fluxo-dev/shell-workflow 26.2.4 → 26.2.6

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/index.esm.css CHANGED
@@ -662,7 +662,7 @@ svg.react-flow__connectionline {
662
662
  .react-flow__edge.selected .react-flow__edge-path {
663
663
  stroke-width: 2.5px;
664
664
  stroke: #2563eb;
665
- filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.4));
665
+ filter: drop-shadow(0 0 5px rgba(37, 99, 235, 0.45));
666
666
  }
667
667
 
668
668
  /* Hide attribution if proOptions doesn't work */
@@ -674,26 +674,40 @@ svg.react-flow__connectionline {
674
674
  .react-flow__connection-path {
675
675
  transition: stroke-width 0.2s ease;
676
676
  stroke: #2563eb;
677
- stroke-width: 2px;
677
+ stroke-width: 2.5px;
678
+ stroke-dasharray: 6 4;
679
+ }
680
+
681
+ /* Smooth edge animations */
682
+ .react-flow__edge-path {
683
+ transition: stroke 0.2s ease, stroke-width 0.2s ease, filter 0.2s ease;
678
684
  }
679
685
 
680
- /* Handle hover effects with smooth animation */
686
+ .react-flow__edge:hover .react-flow__edge-path {
687
+ stroke-width: 3px;
688
+ filter: drop-shadow(0 0 3px rgba(0,0,0,0.18));
689
+ }
690
+
691
+ /* Handle hover effects */
681
692
  .react-flow__handle {
682
- transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
693
+ transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
683
694
  }
684
695
 
685
696
  .react-flow__handle:hover {
686
- transform: scale(1.3);
687
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
697
+ transform: scale(1.4);
698
+ box-shadow: 0 0 0 3px rgba(59,130,246,0.20), 0 4px 12px rgba(0,0,0,0.18) !important;
688
699
  }
689
700
 
690
701
  .react-flow__handle-connecting {
691
702
  background: #2563eb !important;
692
- transform: scale(1.2);
703
+ transform: scale(1.4) !important;
704
+ box-shadow: 0 0 0 4px rgba(37,99,235,0.25) !important;
693
705
  }
694
706
 
695
707
  .react-flow__handle-valid {
696
708
  background: #10b981 !important;
709
+ box-shadow: 0 0 0 4px rgba(16,185,129,0.25) !important;
710
+ transform: scale(1.4) !important;
697
711
  }
698
712
 
699
713
  /* Clean minimap style */
@@ -707,15 +721,6 @@ svg.react-flow__connectionline {
707
721
  filter: brightness(1.02);
708
722
  }
709
723
 
710
- /* Smooth edge animations */
711
- .react-flow__edge-path {
712
- transition: all 0.2s ease;
713
- }
714
-
715
- .react-flow__edge:hover .react-flow__edge-path {
716
- stroke-width: 2.5px;
717
- }
718
-
719
724
  /* Controls styling */
720
725
  .react-flow__controls {
721
726
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
@@ -730,6 +735,69 @@ svg.react-flow__connectionline {
730
735
  transform: scale(1.05);
731
736
  }
732
737
 
738
+ /* ── Debug Mode Animations ──────────────────────────────────────────────── */
739
+
740
+ @keyframes spin {
741
+ from { transform: rotate(0deg); }
742
+ to { transform: rotate(360deg); }
743
+ }
744
+
745
+ /* RUNNING — gradient border che scorre */
746
+ @keyframes debug-gradient-slide {
747
+ 0% { background-position: 0% 50%, 0 0; }
748
+ 100% { background-position: 300% 50%, 0 0; }
749
+ }
750
+
751
+ @keyframes debug-pulse-glow {
752
+ 0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0), 0 1px 4px rgba(0,0,0,0.08); }
753
+ 50% { box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), 0 0 18px 4px rgba(59, 130, 246, 0.18); }
754
+ }
755
+
756
+ .debug-node-running {
757
+ border: 2px solid transparent !important;
758
+ border-left: 2px solid transparent !important;
759
+ background:
760
+ linear-gradient(white, white) padding-box,
761
+ linear-gradient(90deg, #3b82f6, #60a5fa, #93c5fd, #60a5fa, #3b82f6) border-box !important;
762
+ background-size: 300% 100%, 300% 100% !important;
763
+ animation:
764
+ debug-gradient-slide 1.2s linear infinite,
765
+ debug-pulse-glow 1.5s ease-in-out infinite;
766
+ }
767
+
768
+ /* SUCCESS — bordo verde con flash di ingresso */
769
+ @keyframes debug-success-enter {
770
+ 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6), 0 1px 4px rgba(0,0,0,0.08); }
771
+ 40% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1), 0 0 16px 4px rgba(16, 185, 129, 0.3); }
772
+ 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 2px 8px rgba(16, 185, 129, 0.15); }
773
+ }
774
+
775
+ .debug-node-success {
776
+ border: 2px solid #10b981 !important;
777
+ border-left: 3px solid #10b981 !important;
778
+ background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
779
+ box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2), 0 2px 8px rgba(16, 185, 129, 0.12) !important;
780
+ animation: debug-success-enter 0.6s ease-out forwards;
781
+ }
782
+
783
+ /* ERROR — bordo rosso con shake di ingresso */
784
+ @keyframes debug-error-shake {
785
+ 0% { transform: translateX(0); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
786
+ 15% { transform: translateX(-4px); }
787
+ 30% { transform: translateX(4px); box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.1); }
788
+ 45% { transform: translateX(-3px); }
789
+ 60% { transform: translateX(3px); }
790
+ 75% { transform: translateX(-1px); }
791
+ 100% { transform: translateX(0); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0), 0 2px 8px rgba(239, 68, 68, 0.15); }
792
+ }
793
+
794
+ .debug-node-error {
795
+ border: 2px solid #ef4444 !important;
796
+ border-left: 3px solid #ef4444 !important;
797
+ background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%) !important;
798
+ box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.2), 0 2px 8px rgba(239, 68, 68, 0.12) !important;
799
+ animation: debug-error-shake 0.5s ease-out forwards;
800
+ }
733
801
 
734
802
  /* Evidenziazione SEMPLICE per i riferimenti step output */
735
803