@compose-market/theme 0.0.98 → 0.1.0

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.
@@ -596,11 +596,535 @@ export const workflowStyles = /* css */ `
596
596
  }
597
597
 
598
598
  @media (min-width: 640px) {
599
- .cm-workflow-card__agent-preview-model {
599
+ .cm-workflow-card__agent-preview-model {
600
+ font-size: 12px;
601
+ }
602
+ }
603
+
604
+ /* Plan review shell */
605
+ .cm-plan-review {
606
+ display: flex;
607
+ flex-direction: column;
608
+ gap: 10px;
609
+ border: 1px solid hsl(var(--accent) / 0.34);
610
+ border-radius: 8px;
611
+ background: hsl(var(--card) / 0.96);
612
+ padding: 12px;
613
+ box-shadow: inset 0 0 0 1px hsl(var(--primary) / 0.05);
614
+ }
615
+
616
+ .cm-plan-review[data-state="approved"],
617
+ .cm-plan-review[data-state="completed"] {
618
+ border-color: hsl(var(--cm-tone-green, 142 76% 55%) / 0.42);
619
+ }
620
+
621
+ .cm-plan-review[data-state="rejected"],
622
+ .cm-plan-review[data-state="failed"] {
623
+ border-color: hsl(0 84% 62% / 0.44);
624
+ }
625
+
626
+ .cm-plan-review[data-state="changes_requested"] {
627
+ border-color: hsl(38 92% 55% / 0.5);
628
+ }
629
+
630
+ .cm-plan-review__header {
631
+ display: flex;
632
+ align-items: flex-start;
633
+ justify-content: space-between;
634
+ gap: 12px;
635
+ }
636
+
637
+ .cm-plan-review__copy {
638
+ min-width: 0;
639
+ flex: 1;
640
+ }
641
+
642
+ .cm-plan-review__title-row {
643
+ display: flex;
644
+ align-items: center;
645
+ gap: 8px;
646
+ min-width: 0;
647
+ }
648
+
649
+ .cm-plan-review__title {
650
+ margin: 0;
651
+ color: hsl(var(--foreground));
652
+ font-size: 13px;
653
+ font-weight: 650;
654
+ line-height: 1.25;
655
+ }
656
+
657
+ .cm-plan-review__state {
658
+ border: 1px solid hsl(var(--accent) / 0.3);
659
+ border-radius: 4px;
660
+ padding: 2px 6px;
661
+ color: hsl(var(--accent));
662
+ background: hsl(var(--accent) / 0.08);
663
+ font-family: var(--font-mono, monospace);
664
+ font-size: 10px;
665
+ line-height: 1.2;
666
+ text-transform: uppercase;
667
+ }
668
+
669
+ .cm-plan-review__subtitle {
670
+ margin-top: 4px;
671
+ color: hsl(var(--muted-foreground));
672
+ font-size: 11px;
673
+ line-height: 1.35;
674
+ }
675
+
676
+ .cm-plan-review__metadata {
677
+ display: flex;
678
+ flex-wrap: wrap;
679
+ justify-content: flex-end;
680
+ gap: 6px;
681
+ color: hsl(var(--muted-foreground));
682
+ font-family: var(--font-mono, monospace);
683
+ font-size: 10px;
684
+ }
685
+
686
+ .cm-plan-review__body {
687
+ min-width: 0;
688
+ border-top: 1px solid hsl(var(--sidebar-border));
689
+ padding-top: 10px;
690
+ }
691
+
692
+ .cm-plan-review__actions {
693
+ display: flex;
694
+ flex-wrap: wrap;
695
+ gap: 8px;
696
+ justify-content: flex-end;
697
+ border-top: 1px solid hsl(var(--sidebar-border));
698
+ padding-top: 10px;
699
+ }
700
+
701
+ @media (min-width: 640px) {
702
+ .cm-plan-review {
703
+ padding: 14px;
704
+ }
705
+
706
+ .cm-plan-review__title {
707
+ font-size: 14px;
708
+ }
709
+
710
+ .cm-plan-review__subtitle {
600
711
  font-size: 12px;
601
712
  }
602
713
  }
603
714
 
715
+ /* Stream pocket */
716
+ .cm-stream-pocket {
717
+ display: flex;
718
+ flex-direction: column;
719
+ gap: 10px;
720
+ border: 1px solid hsl(var(--sidebar-border));
721
+ border-radius: 8px;
722
+ background: hsl(var(--card) / 0.92);
723
+ padding: 10px;
724
+ }
725
+
726
+ .cm-stream-pocket__header {
727
+ display: flex;
728
+ align-items: flex-start;
729
+ justify-content: space-between;
730
+ gap: 12px;
731
+ }
732
+
733
+ .cm-stream-pocket__copy {
734
+ min-width: 0;
735
+ flex: 1;
736
+ }
737
+
738
+ .cm-stream-pocket__title {
739
+ margin: 0;
740
+ color: hsl(var(--foreground));
741
+ font-size: 12px;
742
+ font-weight: 650;
743
+ line-height: 1.25;
744
+ }
745
+
746
+ .cm-stream-pocket__summary {
747
+ margin-top: 3px;
748
+ color: hsl(var(--muted-foreground));
749
+ font-size: 11px;
750
+ line-height: 1.35;
751
+ }
752
+
753
+ .cm-stream-pocket__metadata {
754
+ display: flex;
755
+ flex-wrap: wrap;
756
+ justify-content: flex-end;
757
+ gap: 6px;
758
+ color: hsl(var(--muted-foreground));
759
+ font-family: var(--font-mono, monospace);
760
+ font-size: 10px;
761
+ }
762
+
763
+ .cm-stream-pocket__body {
764
+ display: flex;
765
+ flex-direction: column;
766
+ gap: 6px;
767
+ }
768
+
769
+ .cm-stream-node {
770
+ border: 1px solid hsl(var(--sidebar-border));
771
+ border-radius: 6px;
772
+ background: hsl(var(--background) / 0.42);
773
+ overflow: hidden;
774
+ }
775
+
776
+ .cm-stream-node__summary-row {
777
+ display: flex;
778
+ align-items: center;
779
+ gap: 7px;
780
+ min-height: 28px;
781
+ padding: 6px 8px;
782
+ cursor: pointer;
783
+ list-style: none;
784
+ }
785
+
786
+ .cm-stream-node__summary-row::-webkit-details-marker {
787
+ display: none;
788
+ }
789
+
790
+ .cm-stream-node__marker {
791
+ width: 7px;
792
+ height: 7px;
793
+ border-radius: 999px;
794
+ background: hsl(var(--accent));
795
+ opacity: 0.72;
796
+ flex-shrink: 0;
797
+ }
798
+
799
+ .cm-stream-node[data-status="failed"] .cm-stream-node__marker {
800
+ background: hsl(0 84% 62%);
801
+ }
802
+
803
+ .cm-stream-node[data-status="completed"] .cm-stream-node__marker {
804
+ background: hsl(var(--cm-tone-green, 142 76% 55%));
805
+ }
806
+
807
+ .cm-stream-node[data-kind="warning"] .cm-stream-node__marker,
808
+ .cm-stream-node[data-kind="debug"][data-status="info"] .cm-stream-node__marker {
809
+ background: hsl(38 92% 55%);
810
+ }
811
+
812
+ .cm-stream-node[data-kind="error"] .cm-stream-node__marker {
813
+ background: hsl(0 84% 62%);
814
+ }
815
+
816
+ .cm-stream-node[data-kind="catalog"] .cm-stream-node__marker {
817
+ background: hsl(190 88% 55%);
818
+ }
819
+
820
+ .cm-stream-node[data-kind="receipt"],
821
+ .cm-stream-node[data-kind="payment"] {
822
+ border-color: hsl(var(--cm-tone-green, 142 76% 55%) / 0.28);
823
+ }
824
+
825
+ .cm-stream-node[data-kind="receipt"] .cm-stream-node__marker,
826
+ .cm-stream-node[data-kind="payment"] .cm-stream-node__marker {
827
+ background: hsl(var(--cm-tone-green, 142 76% 55%));
828
+ }
829
+
830
+ .cm-stream-node__title {
831
+ min-width: 0;
832
+ flex: 1;
833
+ overflow: hidden;
834
+ text-overflow: ellipsis;
835
+ white-space: nowrap;
836
+ color: hsl(var(--foreground));
837
+ font-size: 11px;
838
+ font-weight: 600;
839
+ }
840
+
841
+ .cm-stream-node__kind,
842
+ .cm-stream-node__status {
843
+ border: 1px solid hsl(var(--sidebar-border));
844
+ border-radius: 4px;
845
+ padding: 1px 5px;
846
+ color: hsl(var(--muted-foreground));
847
+ font-family: var(--font-mono, monospace);
848
+ font-size: 9px;
849
+ line-height: 1.4;
850
+ text-transform: uppercase;
851
+ }
852
+
853
+ .cm-stream-node__content {
854
+ display: flex;
855
+ flex-direction: column;
856
+ gap: 6px;
857
+ border-top: 1px solid hsl(var(--sidebar-border));
858
+ padding: 7px 8px 8px;
859
+ }
860
+
861
+ .cm-stream-node__summary {
862
+ white-space: pre-wrap;
863
+ color: hsl(var(--muted-foreground));
864
+ font-size: 11px;
865
+ line-height: 1.4;
866
+ }
867
+
868
+ .cm-stream-node__metadata {
869
+ display: flex;
870
+ flex-wrap: wrap;
871
+ gap: 6px;
872
+ color: hsl(var(--muted-foreground));
873
+ font-family: var(--font-mono, monospace);
874
+ font-size: 10px;
875
+ }
876
+
877
+ .cm-stream-node__children {
878
+ display: flex;
879
+ flex-direction: column;
880
+ gap: 6px;
881
+ padding-left: 10px;
882
+ border-left: 1px solid hsl(var(--sidebar-border));
883
+ }
884
+
885
+ .cm-stream-artifact {
886
+ display: flex;
887
+ flex-direction: column;
888
+ gap: 5px;
889
+ border: 1px solid hsl(var(--accent) / 0.22);
890
+ border-radius: 6px;
891
+ background: hsl(var(--accent) / 0.05);
892
+ padding: 7px 8px;
893
+ }
894
+
895
+ .cm-stream-artifact__row {
896
+ display: flex;
897
+ flex-wrap: wrap;
898
+ gap: 6px;
899
+ color: hsl(var(--muted-foreground));
900
+ font-family: var(--font-mono, monospace);
901
+ font-size: 10px;
902
+ }
903
+
904
+ .cm-stream-artifact__kind {
905
+ color: hsl(var(--accent));
906
+ text-transform: uppercase;
907
+ }
908
+
909
+ .cm-stream-artifact__link {
910
+ color: hsl(var(--accent));
911
+ font-size: 11px;
912
+ text-decoration: none;
913
+ }
914
+
915
+ .cm-stream-artifact__link:hover {
916
+ text-decoration: underline;
917
+ }
918
+
919
+ .cm-stream-source {
920
+ display: flex;
921
+ flex-direction: column;
922
+ gap: 4px;
923
+ border: 1px solid hsl(190 88% 55% / 0.22);
924
+ border-radius: 6px;
925
+ background: hsl(190 88% 55% / 0.06);
926
+ padding: 7px 8px;
927
+ color: inherit;
928
+ text-decoration: none;
929
+ }
930
+
931
+ .cm-stream-source:hover {
932
+ border-color: hsl(190 88% 55% / 0.42);
933
+ }
934
+
935
+ .cm-stream-source__title-row {
936
+ display: flex;
937
+ align-items: center;
938
+ gap: 6px;
939
+ min-width: 0;
940
+ }
941
+
942
+ .cm-stream-source__marker {
943
+ flex-shrink: 0;
944
+ color: hsl(190 88% 65%);
945
+ font-family: var(--font-mono, monospace);
946
+ font-size: 10px;
947
+ }
948
+
949
+ .cm-stream-source__title {
950
+ min-width: 0;
951
+ overflow: hidden;
952
+ text-overflow: ellipsis;
953
+ white-space: nowrap;
954
+ color: hsl(var(--foreground));
955
+ font-size: 11px;
956
+ font-weight: 650;
957
+ }
958
+
959
+ .cm-stream-source__snippet {
960
+ color: hsl(var(--muted-foreground));
961
+ font-size: 11px;
962
+ line-height: 1.4;
963
+ }
964
+
965
+ .cm-stream-source__metadata {
966
+ display: flex;
967
+ flex-wrap: wrap;
968
+ gap: 6px;
969
+ color: hsl(var(--muted-foreground));
970
+ font-family: var(--font-mono, monospace);
971
+ font-size: 10px;
972
+ }
973
+
974
+ .cm-stream-notice {
975
+ border: 1px solid hsl(var(--accent) / 0.24);
976
+ border-radius: 6px;
977
+ background: hsl(var(--accent) / 0.06);
978
+ padding: 7px 8px;
979
+ }
980
+
981
+ .cm-stream-notice[data-tone="warning"] {
982
+ border-color: hsl(38 92% 55% / 0.34);
983
+ background: hsl(38 92% 55% / 0.08);
984
+ }
985
+
986
+ .cm-stream-notice[data-tone="error"] {
987
+ border-color: hsl(0 84% 62% / 0.34);
988
+ background: hsl(0 84% 62% / 0.08);
989
+ }
990
+
991
+ .cm-stream-notice__header {
992
+ display: flex;
993
+ align-items: center;
994
+ justify-content: space-between;
995
+ gap: 8px;
996
+ }
997
+
998
+ .cm-stream-notice__title {
999
+ color: hsl(var(--foreground));
1000
+ font-size: 11px;
1001
+ font-weight: 650;
1002
+ }
1003
+
1004
+ .cm-stream-notice__metadata {
1005
+ color: hsl(var(--muted-foreground));
1006
+ font-family: var(--font-mono, monospace);
1007
+ font-size: 10px;
1008
+ }
1009
+
1010
+ .cm-stream-notice__body {
1011
+ margin-top: 4px;
1012
+ color: hsl(var(--muted-foreground));
1013
+ font-size: 11px;
1014
+ line-height: 1.4;
1015
+ }
1016
+
1017
+ .cm-stream-receipt,
1018
+ .cm-stream-session {
1019
+ border: 1px solid hsl(var(--cm-tone-green, 142 76% 55%) / 0.24);
1020
+ border-radius: 6px;
1021
+ background: hsl(var(--cm-tone-green, 142 76% 55%) / 0.06);
1022
+ padding: 7px 8px;
1023
+ }
1024
+
1025
+ .cm-stream-receipt__grid,
1026
+ .cm-stream-session__body {
1027
+ display: grid;
1028
+ grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
1029
+ gap: 6px;
1030
+ color: hsl(var(--muted-foreground));
1031
+ font-family: var(--font-mono, monospace);
1032
+ font-size: 10px;
1033
+ }
1034
+
1035
+ .cm-stream-receipt__grid span,
1036
+ .cm-stream-session__body span {
1037
+ min-width: 0;
1038
+ overflow: hidden;
1039
+ text-overflow: ellipsis;
1040
+ white-space: nowrap;
1041
+ }
1042
+
1043
+ .cm-stream-receipt__grid b,
1044
+ .cm-stream-session__body b {
1045
+ display: block;
1046
+ margin-bottom: 2px;
1047
+ color: hsl(var(--foreground));
1048
+ font-family: inherit;
1049
+ font-weight: 650;
1050
+ }
1051
+
1052
+ .cm-stream-receipt__body {
1053
+ margin-top: 6px;
1054
+ }
1055
+
1056
+ .cm-stream-session__header {
1057
+ display: flex;
1058
+ align-items: center;
1059
+ justify-content: space-between;
1060
+ gap: 8px;
1061
+ margin-bottom: 6px;
1062
+ }
1063
+
1064
+ .cm-stream-session__title {
1065
+ color: hsl(var(--foreground));
1066
+ font-size: 11px;
1067
+ font-weight: 650;
1068
+ }
1069
+
1070
+ .cm-stream-session__status {
1071
+ border: 1px solid hsl(var(--cm-tone-green, 142 76% 55%) / 0.28);
1072
+ border-radius: 4px;
1073
+ padding: 1px 5px;
1074
+ color: hsl(var(--cm-tone-green, 142 76% 65%));
1075
+ font-family: var(--font-mono, monospace);
1076
+ font-size: 9px;
1077
+ text-transform: uppercase;
1078
+ }
1079
+
1080
+ .cm-stream-transcript {
1081
+ display: flex;
1082
+ align-items: baseline;
1083
+ gap: 8px;
1084
+ border-left: 2px solid hsl(var(--accent) / 0.38);
1085
+ padding: 4px 0 4px 8px;
1086
+ }
1087
+
1088
+ .cm-stream-transcript__time {
1089
+ flex-shrink: 0;
1090
+ color: hsl(var(--muted-foreground));
1091
+ font-family: var(--font-mono, monospace);
1092
+ font-size: 10px;
1093
+ }
1094
+
1095
+ .cm-stream-transcript__text {
1096
+ min-width: 0;
1097
+ color: hsl(var(--foreground));
1098
+ font-size: 11px;
1099
+ line-height: 1.4;
1100
+ }
1101
+
1102
+ .cm-stream-media {
1103
+ width: 100%;
1104
+ max-width: 100%;
1105
+ border-radius: 6px;
1106
+ border: 1px solid hsl(var(--sidebar-border));
1107
+ background: hsl(var(--background) / 0.5);
1108
+ }
1109
+
1110
+ .cm-stream-media--image {
1111
+ display: block;
1112
+ max-height: 360px;
1113
+ object-fit: contain;
1114
+ }
1115
+
1116
+ .cm-stream-media--partial {
1117
+ filter: blur(6px) saturate(0.82);
1118
+ }
1119
+
1120
+ .cm-stream-media--audio {
1121
+ min-height: 36px;
1122
+ }
1123
+
1124
+ .cm-stream-media--video {
1125
+ max-height: 360px;
1126
+ }
1127
+
604
1128
  /* Skeleton */
605
1129
  .cm-workflow-card-skeleton {
606
1130
  border: 1px solid hsl(var(--accent) / 0.3);
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../src/workflows/styles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsoCvC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compose-market/theme",
3
- "version": "0.0.98",
3
+ "version": "0.1.0",
4
4
  "description": "Official design tokens and theme system for Compose.Market",
5
5
  "keywords": [
6
6
  "design-tokens",
@@ -156,7 +156,7 @@
156
156
  },
157
157
  "devDependencies": {
158
158
  "@types/node": "^25.9.1",
159
- "@types/react": "^19.2.16",
159
+ "@types/react": "^19.2.17",
160
160
  "@types/react-dom": "^19.2.3",
161
161
  "react": "^19.2.7",
162
162
  "react-dom": "^19.2.7",
@@ -171,4 +171,4 @@
171
171
  "access": "public"
172
172
  },
173
173
  "module": "./dist/index.js"
174
- }
174
+ }