@miadi/stateloom-canvas 0.1.5 → 0.1.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/dist/styles.css CHANGED
@@ -625,3 +625,620 @@
625
625
  stroke-dasharray: 1 3;
626
626
  pointer-events: none;
627
627
  }
628
+
629
+ /* ─── The stage (Spec 83) ─────────────────────────────────────────────────── */
630
+ /* The stage's layer sits beside the canvas, not inside its pane, so the
631
+ variables it reads are declared again here with the same defaults. A host
632
+ that re-themed the board re-themes these by declaring them on an ancestor. */
633
+
634
+ .slc-stage,
635
+ .slc-stage-caption,
636
+ .slc-stage-card {
637
+ --slc-accent: #3b82f6;
638
+ --slc-accent-fill: #1e3a5f;
639
+ --slc-accent-ink: #93c5fd;
640
+ --slc-danger: #ef4444;
641
+ --slc-label: #e2e8f0;
642
+ --slc-muted: #94a3b8;
643
+ --slc-faint: #64748b;
644
+ --slc-panel-bg: rgb(17 24 39 / 0.94);
645
+ --slc-panel-border: #374151;
646
+ --slc-panel-hover: #1f2937;
647
+ --slc-stage-scrim: rgb(2 6 23 / 0.62);
648
+ --slc-stage-light: #fbbf24;
649
+ --slc-mark-open: #f59e0b;
650
+ --slc-mark-answered: #3b82f6;
651
+ --slc-mark-question: #a78bfa;
652
+ --slc-mark-resolved: #64748b;
653
+ font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
654
+ }
655
+
656
+ .slc-stage {
657
+ position: absolute;
658
+ inset: 0;
659
+ pointer-events: none;
660
+ overflow: hidden;
661
+ z-index: 5;
662
+ }
663
+
664
+ .slc-stage-svg {
665
+ position: absolute;
666
+ inset: 0;
667
+ width: 100%;
668
+ height: 100%;
669
+ }
670
+
671
+ .slc-stage-scrim { fill: var(--slc-stage-scrim); }
672
+
673
+ .slc-stage-ring {
674
+ fill: none;
675
+ stroke: var(--slc-stage-light);
676
+ stroke-width: 2.5;
677
+ filter: drop-shadow(0 0 6px var(--slc-stage-light));
678
+ }
679
+
680
+ .slc-stage-region {
681
+ fill: rgb(251 191 36 / 0.08);
682
+ stroke: var(--slc-stage-light);
683
+ stroke-width: 2;
684
+ stroke-dasharray: 8 5;
685
+ }
686
+
687
+ .slc-stage-mark-ring {
688
+ fill: none;
689
+ stroke: var(--slc-mark-open);
690
+ stroke-width: 2;
691
+ }
692
+
693
+ .slc-stage-mark-area {
694
+ fill: rgb(245 158 11 / 0.08);
695
+ stroke: var(--slc-mark-open);
696
+ stroke-width: 1.5;
697
+ stroke-dasharray: 5 4;
698
+ }
699
+
700
+ .slc-stage-drag {
701
+ fill: rgb(245 158 11 / 0.12);
702
+ stroke: var(--slc-mark-open);
703
+ stroke-width: 1.5;
704
+ stroke-dasharray: 5 4;
705
+ }
706
+
707
+ .slc-stage-catch {
708
+ position: absolute;
709
+ inset: 0;
710
+ pointer-events: auto;
711
+ cursor: crosshair;
712
+ touch-action: none;
713
+ background: rgb(245 158 11 / 0.03);
714
+ box-shadow: inset 0 0 0 2px rgb(245 158 11 / 0.45);
715
+ }
716
+
717
+ /* Pins: numbered, coloured by who the mark waits on. */
718
+ .slc-stage-pin {
719
+ position: absolute;
720
+ transform: translate(-40%, -60%);
721
+ pointer-events: auto;
722
+ min-width: 22px;
723
+ height: 22px;
724
+ padding: 0 6px;
725
+ border-radius: 11px 11px 11px 3px;
726
+ border: 1.5px solid rgb(255 255 255 / 0.85);
727
+ background: var(--slc-mark-open);
728
+ color: #111827;
729
+ font: 700 11px/19px ui-sans-serif, system-ui, sans-serif;
730
+ text-align: center;
731
+ cursor: pointer;
732
+ box-shadow: 0 2px 6px rgb(0 0 0 / 0.45);
733
+ }
734
+
735
+ .slc-stage-pin--answered { background: var(--slc-mark-answered); color: white; }
736
+ .slc-stage-pin--question { background: var(--slc-mark-question); color: #111827; }
737
+ .slc-stage-pin--resolved { background: var(--slc-mark-resolved); color: white; opacity: 0.8; }
738
+ .slc-stage-pin--open { background: var(--slc-mark-open); }
739
+ .slc-stage-pin--selected { outline: 3px solid var(--slc-label); outline-offset: 1px; z-index: 2; }
740
+
741
+ .slc-stage-pin--inline {
742
+ position: static;
743
+ transform: none;
744
+ display: inline-block;
745
+ flex: none;
746
+ box-shadow: none;
747
+ }
748
+
749
+ .slc-stage-pin-count {
750
+ position: absolute;
751
+ right: -7px;
752
+ top: -7px;
753
+ min-width: 14px;
754
+ height: 14px;
755
+ border-radius: 7px;
756
+ background: #111827;
757
+ color: var(--slc-label);
758
+ font-size: 9px;
759
+ line-height: 14px;
760
+ }
761
+
762
+ @media (pointer: coarse) {
763
+ .slc-stage-pin { min-width: 30px; height: 30px; line-height: 27px; font-size: 13px; border-radius: 15px 15px 15px 4px; }
764
+ }
765
+
766
+ /* The caption: the words of the step on stage. */
767
+ .slc-stage-caption {
768
+ position: absolute;
769
+ left: 50%;
770
+ bottom: 12px;
771
+ transform: translateX(-50%);
772
+ width: min(38rem, calc(100% - 1rem));
773
+ max-height: 45%;
774
+ display: flex;
775
+ flex-direction: column;
776
+ gap: 6px;
777
+ padding: 10px 12px 8px;
778
+ border-radius: 12px;
779
+ border: 1px solid var(--slc-panel-border);
780
+ background: var(--slc-panel-bg);
781
+ color: var(--slc-label);
782
+ box-shadow: 0 12px 32px rgb(0 0 0 / 0.5);
783
+ backdrop-filter: blur(6px);
784
+ z-index: 30;
785
+ pointer-events: auto;
786
+ }
787
+
788
+ .slc-stage-caption-head {
789
+ display: flex;
790
+ align-items: center;
791
+ gap: 8px;
792
+ min-width: 0;
793
+ font-size: 11px;
794
+ color: var(--slc-muted);
795
+ }
796
+
797
+ .slc-stage-caption-origin {
798
+ flex: none;
799
+ padding: 1px 7px;
800
+ border-radius: 999px;
801
+ background: var(--slc-accent-fill);
802
+ color: var(--slc-accent-ink);
803
+ font-weight: 600;
804
+ }
805
+
806
+ .slc-stage-caption-title {
807
+ min-width: 0;
808
+ flex: 1;
809
+ overflow: hidden;
810
+ text-overflow: ellipsis;
811
+ white-space: nowrap;
812
+ color: var(--slc-label);
813
+ font-weight: 600;
814
+ }
815
+
816
+ .slc-stage-caption-count { flex: none; font-variant-numeric: tabular-nums; }
817
+
818
+ .slc-stage-caption-speaking {
819
+ flex: none;
820
+ width: 8px;
821
+ height: 8px;
822
+ border-radius: 50%;
823
+ background: var(--slc-stage-light);
824
+ animation: slc-stage-pulse 1s ease-in-out infinite;
825
+ }
826
+
827
+ @keyframes slc-stage-pulse {
828
+ 0%, 100% { opacity: 0.35; transform: scale(0.8); }
829
+ 50% { opacity: 1; transform: scale(1.15); }
830
+ }
831
+
832
+ .slc-stage-caption-say {
833
+ margin: 0;
834
+ overflow-y: auto;
835
+ font-size: 15px;
836
+ line-height: 1.45;
837
+ white-space: pre-wrap;
838
+ }
839
+
840
+ .slc-stage-dots { display: flex; flex-wrap: wrap; gap: 5px; }
841
+
842
+ .slc-stage-dot {
843
+ width: 9px;
844
+ height: 9px;
845
+ padding: 0;
846
+ border-radius: 50%;
847
+ border: 1px solid var(--slc-faint);
848
+ background: transparent;
849
+ cursor: pointer;
850
+ }
851
+
852
+ .slc-stage-dot--seen { background: var(--slc-faint); }
853
+ .slc-stage-dot--current { background: var(--slc-stage-light); border-color: var(--slc-stage-light); }
854
+
855
+ .slc-stage-caption-controls,
856
+ .slc-stage-card-row {
857
+ display: flex;
858
+ align-items: center;
859
+ gap: 6px;
860
+ }
861
+
862
+ .slc-stage-spacer { flex: 1; }
863
+
864
+ .slc-stage-btn {
865
+ min-height: 30px;
866
+ min-width: 30px;
867
+ padding: 0 9px;
868
+ border-radius: 7px;
869
+ border: 1px solid var(--slc-panel-border);
870
+ background: transparent;
871
+ color: var(--slc-label);
872
+ font-size: 13px;
873
+ cursor: pointer;
874
+ display: inline-flex;
875
+ align-items: center;
876
+ justify-content: center;
877
+ gap: 6px;
878
+ }
879
+
880
+ /* Drawn icons (icons.tsx) take the button's colour and never shrink in a tight row. */
881
+ .slc-icon { display: block; flex: none; }
882
+
883
+ .slc-stage-btn:hover:not(:disabled) { background: var(--slc-panel-hover); }
884
+ .slc-stage-btn:disabled { opacity: 0.35; cursor: default; }
885
+ .slc-stage-btn--main { background: var(--slc-accent); border-color: var(--slc-accent); color: white; }
886
+ .slc-stage-btn--main:hover:not(:disabled) { background: var(--slc-accent); filter: brightness(1.1); }
887
+ .slc-stage-btn--quiet { border-color: transparent; color: var(--slc-muted); }
888
+ .slc-stage-btn--on { color: var(--slc-stage-light); border-color: var(--slc-stage-light); }
889
+ .slc-stage-btn--live { background: var(--slc-danger); border-color: var(--slc-danger); color: white; animation: slc-stage-pulse 1.2s ease-in-out infinite; }
890
+ .slc-stage-btn--danger { color: var(--slc-danger); border-color: transparent; }
891
+ .slc-stage-btn--answer { border-color: var(--slc-mark-open); color: var(--slc-mark-open); }
892
+
893
+ @media (pointer: coarse) {
894
+ .slc-stage-btn { min-height: 40px; min-width: 40px; font-size: 15px; }
895
+ }
896
+
897
+ /* Cards: the composer, a thread, the list of marks. */
898
+ .slc-stage-card {
899
+ display: flex;
900
+ flex-direction: column;
901
+ gap: 7px;
902
+ width: min(22rem, calc(100vw - 1rem));
903
+ max-height: min(70vh, 34rem);
904
+ overflow-y: auto;
905
+ padding: 10px;
906
+ border-radius: 12px;
907
+ border: 1px solid var(--slc-panel-border);
908
+ background: var(--slc-panel-bg);
909
+ color: var(--slc-label);
910
+ font-size: 13px;
911
+ box-shadow: 0 12px 32px rgb(0 0 0 / 0.55);
912
+ backdrop-filter: blur(6px);
913
+ pointer-events: auto;
914
+ }
915
+
916
+ .slc-stage-card-label { color: var(--slc-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
917
+ .slc-stage-card-anchor { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
918
+ .slc-stage-card-error { color: var(--slc-danger); font-size: 12px; }
919
+
920
+ .slc-stage-chip {
921
+ padding: 1px 7px;
922
+ border-radius: 999px;
923
+ border: 1px solid var(--slc-mark-open);
924
+ color: var(--slc-mark-open);
925
+ font: 11px ui-monospace, SFMono-Regular, Menlo, monospace;
926
+ }
927
+
928
+ .slc-stage-chip--quiet { border-color: var(--slc-panel-border); color: var(--slc-muted); font-family: inherit; }
929
+
930
+ .slc-stage-input {
931
+ border-radius: 7px;
932
+ border: 1px solid var(--slc-panel-border);
933
+ background: rgb(3 7 18 / 0.7);
934
+ color: var(--slc-label);
935
+ padding: 6px 8px;
936
+ font: inherit;
937
+ /* 16px on a phone, or iOS zooms the page when the field takes focus. */
938
+ font-size: max(13px, min(16px, 1rem));
939
+ }
940
+
941
+ .slc-stage-textarea { resize: vertical; min-height: 4.5em; }
942
+ .slc-stage-select { padding: 4px 6px; }
943
+ .slc-stage-grow { flex: 1; min-width: 0; }
944
+
945
+ .slc-stage-thread-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
946
+
947
+ .slc-stage-said {
948
+ display: flex;
949
+ flex-direction: column;
950
+ gap: 2px;
951
+ padding: 6px 8px;
952
+ border-radius: 8px;
953
+ background: rgb(255 255 255 / 0.04);
954
+ border-left: 3px solid var(--slc-mark-open);
955
+ }
956
+
957
+ .slc-stage-said--agent { border-left-color: var(--slc-mark-question); background: rgb(167 139 250 / 0.07); }
958
+ .slc-stage-said-who { font-size: 11px; color: var(--slc-muted); font-weight: 600; }
959
+ .slc-stage-said-text { white-space: pre-wrap; line-height: 1.4; }
960
+
961
+ .slc-stage-panel-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
962
+
963
+ .slc-stage-panel-item {
964
+ display: flex;
965
+ align-items: flex-start;
966
+ gap: 8px;
967
+ width: 100%;
968
+ padding: 6px;
969
+ border: 0;
970
+ border-radius: 8px;
971
+ background: transparent;
972
+ color: inherit;
973
+ text-align: left;
974
+ cursor: pointer;
975
+ }
976
+
977
+ .slc-stage-panel-item:hover,
978
+ .slc-stage-panel-item--selected { background: var(--slc-panel-hover); }
979
+ .slc-stage-panel-text { display: flex; flex-direction: column; min-width: 0; }
980
+ .slc-stage-panel-said { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
981
+ .slc-stage-panel-meta { font-size: 11px; color: var(--slc-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
982
+ .slc-stage-empty { color: var(--slc-muted); font-size: 12px; line-height: 1.4; }
983
+
984
+ /* Two choices side by side: which marks the list shows. */
985
+ .slc-stage-segment {
986
+ display: inline-flex;
987
+ padding: 2px;
988
+ border-radius: 8px;
989
+ border: 1px solid var(--slc-panel-border);
990
+ }
991
+ .slc-stage-segment-btn {
992
+ min-height: 24px;
993
+ padding: 0 8px;
994
+ border: 0;
995
+ border-radius: 6px;
996
+ background: transparent;
997
+ color: var(--slc-muted);
998
+ font-size: 12px;
999
+ white-space: nowrap;
1000
+ cursor: pointer;
1001
+ }
1002
+ .slc-stage-segment-btn--on { background: var(--slc-panel-hover); color: var(--slc-label); }
1003
+ @media (pointer: coarse) {
1004
+ .slc-stage-segment-btn { min-height: 34px; padding: 0 12px; font-size: 14px; }
1005
+ }
1006
+
1007
+ /* ─── Talking with a companion (Spec 84) ──────────────────────────────────── */
1008
+
1009
+ .slc-talk {
1010
+ --slc-accent: #3b82f6;
1011
+ --slc-accent-fill: #1e3a5f;
1012
+ --slc-accent-ink: #93c5fd;
1013
+ --slc-danger: #ef4444;
1014
+ --slc-label: #e2e8f0;
1015
+ --slc-muted: #94a3b8;
1016
+ --slc-faint: #64748b;
1017
+ --slc-panel-bg: rgb(17 24 39 / 0.96);
1018
+ --slc-panel-border: #374151;
1019
+ --slc-panel-hover: #1f2937;
1020
+ --slc-stage-light: #fbbf24;
1021
+ --slc-mark-open: #f59e0b;
1022
+ --slc-mark-question: #a78bfa;
1023
+ --slc-talk-live: #ef4444;
1024
+ font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
1025
+ pointer-events: auto;
1026
+ }
1027
+
1028
+ .slc-talk-fab {
1029
+ position: relative;
1030
+ width: 52px;
1031
+ height: 52px;
1032
+ border-radius: 50%;
1033
+ border: 1px solid var(--slc-panel-border);
1034
+ background: var(--slc-panel-bg);
1035
+ color: var(--slc-label);
1036
+ font-size: 22px;
1037
+ cursor: pointer;
1038
+ box-shadow: 0 8px 24px rgb(0 0 0 / 0.5);
1039
+ display: flex;
1040
+ align-items: center;
1041
+ justify-content: center;
1042
+ }
1043
+
1044
+ .slc-talk-fab--live {
1045
+ background: var(--slc-talk-live);
1046
+ border-color: var(--slc-talk-live);
1047
+ animation: slc-talk-ring 1.4s ease-in-out infinite;
1048
+ }
1049
+
1050
+ .slc-talk-fab--speaking { border-color: var(--slc-stage-light); box-shadow: 0 0 0 3px rgb(251 191 36 / 0.25); }
1051
+
1052
+ .slc-talk-fab-clock { font: 700 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: white; }
1053
+
1054
+ .slc-talk-fab-badge {
1055
+ position: absolute;
1056
+ top: -4px;
1057
+ right: -4px;
1058
+ min-width: 20px;
1059
+ height: 20px;
1060
+ padding: 0 5px;
1061
+ border-radius: 10px;
1062
+ background: var(--slc-mark-question);
1063
+ color: #111827;
1064
+ font: 700 11px/20px ui-sans-serif, system-ui, sans-serif;
1065
+ }
1066
+
1067
+ .slc-talk-panel {
1068
+ display: flex;
1069
+ flex-direction: column;
1070
+ gap: 8px;
1071
+ width: min(23rem, calc(100vw - 1rem));
1072
+ max-height: min(78vh, 40rem);
1073
+ padding: 10px;
1074
+ border-radius: 14px;
1075
+ border: 1px solid var(--slc-panel-border);
1076
+ background: var(--slc-panel-bg);
1077
+ color: var(--slc-label);
1078
+ font-size: 13px;
1079
+ box-shadow: 0 16px 40px rgb(0 0 0 / 0.55);
1080
+ backdrop-filter: blur(8px);
1081
+ }
1082
+
1083
+ .slc-talk-head { display: flex; align-items: center; gap: 8px; }
1084
+ .slc-talk-title { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
1085
+
1086
+ .slc-talk-presence {
1087
+ width: 9px;
1088
+ height: 9px;
1089
+ border-radius: 50%;
1090
+ background: #22c55e;
1091
+ box-shadow: 0 0 8px #22c55e;
1092
+ }
1093
+
1094
+ .slc-talk-presence--away { background: var(--slc-faint); box-shadow: none; }
1095
+
1096
+ .slc-talk-episode { width: 100%; }
1097
+ .slc-talk-meta { color: var(--slc-muted); font-size: 12px; line-height: 1.4; }
1098
+ .slc-talk-meta--away { color: var(--slc-mark-open); }
1099
+ .slc-talk-meta--error { color: var(--slc-danger); }
1100
+
1101
+ .slc-talk-notice {
1102
+ padding: 6px 8px;
1103
+ border-radius: 8px;
1104
+ background: rgb(167 139 250 / 0.12);
1105
+ color: var(--slc-label);
1106
+ font-size: 12px;
1107
+ }
1108
+
1109
+ .slc-talk-record {
1110
+ display: flex;
1111
+ align-items: center;
1112
+ justify-content: center;
1113
+ gap: 10px;
1114
+ min-height: 46px;
1115
+ border-radius: 12px;
1116
+ border: 0;
1117
+ background: var(--slc-accent);
1118
+ color: white;
1119
+ font: 700 15px ui-sans-serif, system-ui, sans-serif;
1120
+ cursor: pointer;
1121
+ }
1122
+
1123
+ .slc-talk-record:disabled { opacity: 0.45; cursor: default; }
1124
+ /* The button stays where the finger is while it records: only a ring breathes around it. */
1125
+ .slc-talk-record--live { background: var(--slc-talk-live); animation: slc-talk-ring 1.4s ease-in-out infinite; }
1126
+
1127
+ @keyframes slc-talk-ring {
1128
+ 0%, 100% { box-shadow: 0 0 0 0 rgb(239 68 68 / 0.55); }
1129
+ 50% { box-shadow: 0 0 0 6px rgb(239 68 68 / 0); }
1130
+ }
1131
+ .slc-talk-record--retry { background: var(--slc-mark-open); color: #111827; }
1132
+ .slc-talk-clock { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; }
1133
+
1134
+ .slc-talk-toggle { display: flex; align-items: center; gap: 6px; color: var(--slc-muted); font-size: 12px; }
1135
+
1136
+ .slc-talk-thread {
1137
+ list-style: none;
1138
+ margin: 0;
1139
+ padding: 0;
1140
+ display: flex;
1141
+ flex-direction: column;
1142
+ gap: 6px;
1143
+ overflow-y: auto;
1144
+ min-height: 0;
1145
+ }
1146
+
1147
+ .slc-talk-entry {
1148
+ display: flex;
1149
+ flex-direction: column;
1150
+ gap: 3px;
1151
+ padding: 7px 9px;
1152
+ border-radius: 10px;
1153
+ background: rgb(255 255 255 / 0.04);
1154
+ border-left: 3px solid var(--slc-mark-open);
1155
+ }
1156
+
1157
+ .slc-talk-entry--reply { border-left-color: var(--slc-mark-question); background: rgb(167 139 250 / 0.07); }
1158
+ .slc-talk-entry--new { box-shadow: inset 0 0 0 1px var(--slc-mark-question); }
1159
+
1160
+ .slc-talk-who { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--slc-muted); }
1161
+ .slc-talk-who strong { color: var(--slc-label); font-size: 12px; }
1162
+ .slc-talk-canvas { font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--slc-accent-ink); }
1163
+ .slc-talk-text { white-space: pre-wrap; line-height: 1.42; overflow-wrap: anywhere; }
1164
+ .slc-talk-play { min-height: 26px; min-width: 30px; padding: 0 8px; gap: 5px; font-size: 12px; margin-left: auto; }
1165
+ .slc-talk-play--on { color: var(--slc-stage-light); border-color: var(--slc-stage-light); }
1166
+ .slc-talk-new {
1167
+ padding: 0 5px;
1168
+ border-radius: 6px;
1169
+ background: var(--slc-mark-question);
1170
+ color: #111827;
1171
+ font-size: 10px;
1172
+ font-weight: 700;
1173
+ line-height: 15px;
1174
+ }
1175
+ .slc-talk-thumbs { display: inline-flex; gap: 2px; }
1176
+
1177
+ .slc-talk-thumb {
1178
+ display: inline-flex;
1179
+ align-items: center;
1180
+ justify-content: center;
1181
+ min-width: 26px;
1182
+ min-height: 26px;
1183
+ border: 0;
1184
+ border-radius: 6px;
1185
+ background: transparent;
1186
+ color: var(--slc-faint);
1187
+ cursor: pointer;
1188
+ }
1189
+
1190
+ .slc-talk-thumb:hover { color: var(--slc-label); }
1191
+ .slc-talk-thumb--on { color: var(--slc-mark-question); }
1192
+
1193
+ /* A reply that walks the diagram: its steps, each a row that starts the walk there. */
1194
+ .slc-talk-steps {
1195
+ list-style: none;
1196
+ margin: 2px 0 0;
1197
+ padding: 0;
1198
+ display: flex;
1199
+ flex-direction: column;
1200
+ gap: 2px;
1201
+ }
1202
+
1203
+ .slc-talk-step {
1204
+ display: flex;
1205
+ gap: 8px;
1206
+ width: 100%;
1207
+ padding: 5px 6px;
1208
+ border: 0;
1209
+ border-radius: 8px;
1210
+ background: transparent;
1211
+ color: var(--slc-label);
1212
+ font: inherit;
1213
+ text-align: left;
1214
+ cursor: pointer;
1215
+ }
1216
+
1217
+ .slc-talk-step:hover:not(:disabled) { background: rgb(255 255 255 / 0.05); }
1218
+ .slc-talk-step:disabled { cursor: default; }
1219
+ .slc-talk-step--here { background: rgb(251 191 36 / 0.1); box-shadow: inset 2px 0 0 var(--slc-stage-light); }
1220
+
1221
+ .slc-talk-step-n {
1222
+ flex: none;
1223
+ width: 18px;
1224
+ height: 18px;
1225
+ margin-top: 1px;
1226
+ border-radius: 50%;
1227
+ border: 1px solid var(--slc-panel-border);
1228
+ color: var(--slc-muted);
1229
+ font: 600 10px/16px ui-sans-serif, system-ui, sans-serif;
1230
+ text-align: center;
1231
+ }
1232
+
1233
+ .slc-talk-step--here .slc-talk-step-n { border-color: var(--slc-stage-light); background: var(--slc-stage-light); color: #111827; }
1234
+
1235
+ .slc-talk-step-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
1236
+ .slc-talk-step-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-size: 12px; }
1237
+ .slc-talk-step-where { font: 10.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--slc-accent-ink); overflow-wrap: anywhere; }
1238
+ .slc-talk-step-say { line-height: 1.4; overflow-wrap: anywhere; }
1239
+
1240
+ @media (pointer: coarse) {
1241
+ .slc-talk-play { min-height: 34px; min-width: 40px; }
1242
+ .slc-talk-thumb { min-width: 36px; min-height: 36px; }
1243
+ .slc-talk-step { padding: 8px 6px; }
1244
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miadi/stateloom-canvas",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "The reusable SMDF design surface: a pannable, zoomable, drillable React SVG canvas with routed edges, settled labels and a navigation HUD",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,7 +43,7 @@
43
43
  "node": ">=20"
44
44
  },
45
45
  "dependencies": {
46
- "@miadi/stateloom-protocol": "^0.1.9"
46
+ "@miadi/stateloom-protocol": "^0.1.15"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react": "^19"