@canvas-components/print-design-plugin 0.1.7 → 0.1.9
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/README.md +51 -5
- package/dist/index.cjs +1144 -131
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1145 -132
- package/dist/list-table-print.cjs +1687 -302
- package/dist/list-table-print.css +505 -6
- package/dist/list-table-print.d.cts +2 -2
- package/dist/list-table-print.d.ts +2 -2
- package/dist/list-table-print.js +1690 -305
- package/dist/{model-BwhSanYM.d.cts → model-DIvOoRX8.d.cts} +47 -1
- package/dist/{model-BwhSanYM.d.ts → model-DIvOoRX8.d.ts} +47 -1
- package/dist/native.cjs +1144 -131
- package/dist/native.d.cts +2 -2
- package/dist/native.d.ts +2 -2
- package/dist/native.js +1145 -132
- package/dist/react.cjs +4408 -354
- package/dist/react.css +505 -6
- package/dist/react.d.cts +176 -3
- package/dist/react.d.ts +176 -3
- package/dist/react.js +4411 -359
- package/package.json +11 -10
package/dist/react.css
CHANGED
|
@@ -310,9 +310,12 @@
|
|
|
310
310
|
}
|
|
311
311
|
.cc-print-design-column-toolbar {
|
|
312
312
|
display: grid;
|
|
313
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
313
314
|
gap: 6px;
|
|
315
|
+
margin-top: 8px;
|
|
314
316
|
}
|
|
315
|
-
.cc-print-design-column-toolbar >
|
|
317
|
+
.cc-print-design-column-toolbar > * {
|
|
318
|
+
min-width: 0;
|
|
316
319
|
width: 100%;
|
|
317
320
|
}
|
|
318
321
|
.cc-print-design-data-merge,
|
|
@@ -485,11 +488,6 @@
|
|
|
485
488
|
height: 32px;
|
|
486
489
|
padding: 0;
|
|
487
490
|
}
|
|
488
|
-
.cc-print-design-border-side-controls .canvas-react-button[aria-pressed=true] {
|
|
489
|
-
color: var(--pd-primary, #2563eb);
|
|
490
|
-
border-color: var(--pd-primary, #2563eb);
|
|
491
|
-
background: var(--pd-selected);
|
|
492
|
-
}
|
|
493
491
|
.cc-print-design-border-side-top {
|
|
494
492
|
grid-area: 1 / 2;
|
|
495
493
|
}
|
|
@@ -720,3 +718,504 @@
|
|
|
720
718
|
.cc-print-design-task-dependency-row > * {
|
|
721
719
|
min-width: 0;
|
|
722
720
|
}
|
|
721
|
+
|
|
722
|
+
/* src/ai-chat/style.css */
|
|
723
|
+
.cc-print-design-ai-panel {
|
|
724
|
+
display: flex;
|
|
725
|
+
flex-direction: column;
|
|
726
|
+
width: 100%;
|
|
727
|
+
height: 100%;
|
|
728
|
+
min-width: 0;
|
|
729
|
+
min-height: 0;
|
|
730
|
+
background: var(--pd-surface, #fff);
|
|
731
|
+
color: var(--pd-text, #263244);
|
|
732
|
+
border-left: 1px solid var(--pd-border, #e4e8ef);
|
|
733
|
+
}
|
|
734
|
+
.cc-print-design-ai-header {
|
|
735
|
+
display: flex;
|
|
736
|
+
align-items: center;
|
|
737
|
+
justify-content: space-between;
|
|
738
|
+
box-sizing: border-box;
|
|
739
|
+
height: var(--pd-panel-header-height, 36px);
|
|
740
|
+
flex: 0 0 var(--pd-panel-header-height, 36px);
|
|
741
|
+
padding: 0 12px;
|
|
742
|
+
border-bottom: 1px solid var(--pd-border, #e4e8ef);
|
|
743
|
+
}
|
|
744
|
+
.cc-print-design-ai-header > div {
|
|
745
|
+
display: flex;
|
|
746
|
+
align-items: center;
|
|
747
|
+
gap: 8px;
|
|
748
|
+
}
|
|
749
|
+
.cc-print-design-ai-panel button {
|
|
750
|
+
cursor: pointer;
|
|
751
|
+
font: inherit;
|
|
752
|
+
}
|
|
753
|
+
.cc-print-design-ai-header button,
|
|
754
|
+
.cc-print-design-ai-composer-more {
|
|
755
|
+
border: 0;
|
|
756
|
+
background: transparent;
|
|
757
|
+
color: inherit;
|
|
758
|
+
}
|
|
759
|
+
.cc-print-design-ai-messages {
|
|
760
|
+
flex: 1;
|
|
761
|
+
min-height: 0;
|
|
762
|
+
overflow: auto;
|
|
763
|
+
overscroll-behavior: contain;
|
|
764
|
+
}
|
|
765
|
+
.cc-print-design-ai-message {
|
|
766
|
+
box-sizing: border-box;
|
|
767
|
+
display: flex;
|
|
768
|
+
flex-direction: column;
|
|
769
|
+
align-items: flex-start;
|
|
770
|
+
padding: 9px 12px;
|
|
771
|
+
}
|
|
772
|
+
.cc-print-design-ai-message-user {
|
|
773
|
+
align-items: flex-end;
|
|
774
|
+
}
|
|
775
|
+
.cc-print-design-ai-message > span {
|
|
776
|
+
display: block;
|
|
777
|
+
max-width: 85%;
|
|
778
|
+
margin-bottom: 4px;
|
|
779
|
+
color: var(--pd-muted, #8993a2);
|
|
780
|
+
font-size: 11px;
|
|
781
|
+
overflow: hidden;
|
|
782
|
+
text-overflow: ellipsis;
|
|
783
|
+
white-space: nowrap;
|
|
784
|
+
}
|
|
785
|
+
.cc-print-design-ai-message p {
|
|
786
|
+
margin: 0;
|
|
787
|
+
max-width: min(85%, 680px);
|
|
788
|
+
padding: 10px;
|
|
789
|
+
border-radius: 10px;
|
|
790
|
+
background: var(--pd-hover, #f5f7fa);
|
|
791
|
+
white-space: pre-wrap;
|
|
792
|
+
overflow-wrap: anywhere;
|
|
793
|
+
line-height: 1.5;
|
|
794
|
+
}
|
|
795
|
+
.cc-print-design-ai-message-user p {
|
|
796
|
+
background: var(--pd-selected, #edf4ff);
|
|
797
|
+
}
|
|
798
|
+
.cc-print-design-ai-artifact {
|
|
799
|
+
display: flex;
|
|
800
|
+
flex-direction: column;
|
|
801
|
+
gap: 3px;
|
|
802
|
+
max-width: min(85%, 680px);
|
|
803
|
+
margin-top: 7px;
|
|
804
|
+
padding: 10px 12px;
|
|
805
|
+
border: 1px solid var(--pd-border, #e4e8ef);
|
|
806
|
+
border-radius: 10px;
|
|
807
|
+
color: inherit;
|
|
808
|
+
text-decoration: none;
|
|
809
|
+
background: var(--pd-hover, #f5f7fa);
|
|
810
|
+
cursor: pointer;
|
|
811
|
+
text-align: left;
|
|
812
|
+
font: inherit;
|
|
813
|
+
}
|
|
814
|
+
.cc-print-design-ai-artifact:hover {
|
|
815
|
+
border-color: #5b8def;
|
|
816
|
+
}
|
|
817
|
+
.cc-print-design-ai-artifact small {
|
|
818
|
+
color: var(--pd-muted, #64748b);
|
|
819
|
+
line-height: 1.4;
|
|
820
|
+
}
|
|
821
|
+
.cc-print-design-ai-artifact span:last-child {
|
|
822
|
+
color: #2563eb;
|
|
823
|
+
}
|
|
824
|
+
.cc-print-design-ai-reasoning {
|
|
825
|
+
box-sizing: border-box;
|
|
826
|
+
width: min(85%, 680px);
|
|
827
|
+
max-width: 100%;
|
|
828
|
+
margin-bottom: 6px;
|
|
829
|
+
border: 1px solid var(--pd-border, #e4e8ef);
|
|
830
|
+
border-radius: 8px;
|
|
831
|
+
background: var(--pd-hover, #f5f7fa);
|
|
832
|
+
}
|
|
833
|
+
.cc-print-design-ai-reasoning-trigger {
|
|
834
|
+
display: flex;
|
|
835
|
+
align-items: center;
|
|
836
|
+
gap: 6px;
|
|
837
|
+
width: 100%;
|
|
838
|
+
padding: 7px 10px;
|
|
839
|
+
border: 0;
|
|
840
|
+
background: transparent;
|
|
841
|
+
color: var(--pd-muted, #8993a2);
|
|
842
|
+
text-align: left;
|
|
843
|
+
cursor: pointer;
|
|
844
|
+
}
|
|
845
|
+
.cc-print-design-ai-reasoning-trigger > svg {
|
|
846
|
+
flex: 0 0 auto;
|
|
847
|
+
transition: transform 180ms ease;
|
|
848
|
+
}
|
|
849
|
+
.cc-print-design-ai-reasoning-trigger[aria-expanded=true] > svg {
|
|
850
|
+
transform: rotate(90deg);
|
|
851
|
+
}
|
|
852
|
+
.cc-print-design-ai-reasoning-trigger:focus-visible {
|
|
853
|
+
outline: 2px solid var(--pd-primary, #1677ff);
|
|
854
|
+
outline-offset: -2px;
|
|
855
|
+
}
|
|
856
|
+
.cc-print-design-ai-reasoning-content {
|
|
857
|
+
max-height: 180px;
|
|
858
|
+
overflow: auto;
|
|
859
|
+
padding: 0 10px 10px;
|
|
860
|
+
font-size: 12px;
|
|
861
|
+
line-height: 1.5;
|
|
862
|
+
white-space: pre-wrap;
|
|
863
|
+
overflow-wrap: anywhere;
|
|
864
|
+
}
|
|
865
|
+
@media (prefers-reduced-motion: reduce) {
|
|
866
|
+
.cc-print-design-ai-reasoning-trigger > svg {
|
|
867
|
+
transition: none;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
.cc-print-design-ai-message-thinking .cc-print-design-ai-thinking-indicator {
|
|
871
|
+
display: inline-flex;
|
|
872
|
+
align-items: center;
|
|
873
|
+
gap: 8px;
|
|
874
|
+
color: var(--pd-muted, #8993a2);
|
|
875
|
+
}
|
|
876
|
+
.cc-print-design-ai-thinking-dots {
|
|
877
|
+
display: inline-flex;
|
|
878
|
+
align-items: center;
|
|
879
|
+
gap: 3px;
|
|
880
|
+
}
|
|
881
|
+
.cc-print-design-ai-thinking-dots i {
|
|
882
|
+
width: 5px;
|
|
883
|
+
height: 5px;
|
|
884
|
+
border-radius: 50%;
|
|
885
|
+
background: currentColor;
|
|
886
|
+
animation: cc-print-design-ai-thinking 1s ease-in-out infinite;
|
|
887
|
+
}
|
|
888
|
+
.cc-print-design-ai-thinking-dots i:nth-child(2) {
|
|
889
|
+
animation-delay: 0.16s;
|
|
890
|
+
}
|
|
891
|
+
.cc-print-design-ai-thinking-dots i:nth-child(3) {
|
|
892
|
+
animation-delay: 0.32s;
|
|
893
|
+
}
|
|
894
|
+
.cc-print-design-ai-message-thinking.is-paused .cc-print-design-ai-thinking-dots i {
|
|
895
|
+
animation-play-state: paused;
|
|
896
|
+
}
|
|
897
|
+
@keyframes cc-print-design-ai-thinking {
|
|
898
|
+
0%, 60%, 100% {
|
|
899
|
+
opacity: 0.35;
|
|
900
|
+
transform: translateY(0);
|
|
901
|
+
}
|
|
902
|
+
30% {
|
|
903
|
+
opacity: 1;
|
|
904
|
+
transform: translateY(-3px);
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
@media (prefers-reduced-motion: reduce) {
|
|
908
|
+
.cc-print-design-ai-thinking-dots i {
|
|
909
|
+
animation: none;
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
.cc-print-design-ai-settings {
|
|
913
|
+
display: grid;
|
|
914
|
+
gap: 8px;
|
|
915
|
+
padding: 12px;
|
|
916
|
+
border-top: 1px solid var(--pd-border, #e4e8ef);
|
|
917
|
+
max-height: 48%;
|
|
918
|
+
overflow: auto;
|
|
919
|
+
}
|
|
920
|
+
.cc-print-design-ai-settings label {
|
|
921
|
+
display: grid;
|
|
922
|
+
gap: 4px;
|
|
923
|
+
}
|
|
924
|
+
.cc-print-design-ai-composer textarea {
|
|
925
|
+
box-sizing: border-box;
|
|
926
|
+
width: 100%;
|
|
927
|
+
padding: 8px;
|
|
928
|
+
border: 1px solid var(--pd-border, #e4e8ef);
|
|
929
|
+
border-radius: 6px;
|
|
930
|
+
background: var(--pd-surface, #fff);
|
|
931
|
+
color: inherit;
|
|
932
|
+
font: inherit;
|
|
933
|
+
}
|
|
934
|
+
.cc-print-design-ai-settings-actions {
|
|
935
|
+
display: flex;
|
|
936
|
+
justify-content: flex-end;
|
|
937
|
+
gap: 8px;
|
|
938
|
+
}
|
|
939
|
+
.cc-print-design-ai-key-row {
|
|
940
|
+
display: flex;
|
|
941
|
+
align-items: end;
|
|
942
|
+
gap: 8px;
|
|
943
|
+
}
|
|
944
|
+
.cc-print-design-ai-key-row label {
|
|
945
|
+
flex: 1;
|
|
946
|
+
min-width: 0;
|
|
947
|
+
}
|
|
948
|
+
.cc-print-design-ai-key-row button {
|
|
949
|
+
flex: 0 0 auto;
|
|
950
|
+
white-space: nowrap;
|
|
951
|
+
}
|
|
952
|
+
.cc-print-design-ai-width-fields {
|
|
953
|
+
display: grid;
|
|
954
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
955
|
+
gap: 6px;
|
|
956
|
+
}
|
|
957
|
+
.cc-print-design-ai-profile-picker {
|
|
958
|
+
display: flex;
|
|
959
|
+
align-items: end;
|
|
960
|
+
gap: 8px;
|
|
961
|
+
}
|
|
962
|
+
.cc-print-design-ai-profile-picker label {
|
|
963
|
+
flex: 1;
|
|
964
|
+
min-width: 0;
|
|
965
|
+
}
|
|
966
|
+
.cc-print-design-ai-profile-picker button {
|
|
967
|
+
height: 34px;
|
|
968
|
+
}
|
|
969
|
+
.cc-print-design-ai-dialog-layout {
|
|
970
|
+
display: flex;
|
|
971
|
+
height: 100%;
|
|
972
|
+
min-height: 0;
|
|
973
|
+
}
|
|
974
|
+
.cc-print-design-ai-dialog-nav {
|
|
975
|
+
display: flex;
|
|
976
|
+
width: 150px;
|
|
977
|
+
flex: 0 0 150px;
|
|
978
|
+
flex-direction: column;
|
|
979
|
+
gap: 4px;
|
|
980
|
+
padding: 14px 8px;
|
|
981
|
+
border-right: 1px solid var(--pd-border, #e4e8ef);
|
|
982
|
+
background: var(--pd-hover, #f5f7fa);
|
|
983
|
+
}
|
|
984
|
+
.cc-print-design-ai-dialog-nav button {
|
|
985
|
+
padding: 10px 12px;
|
|
986
|
+
border: 0;
|
|
987
|
+
border-radius: 6px;
|
|
988
|
+
background: transparent;
|
|
989
|
+
text-align: left;
|
|
990
|
+
cursor: pointer;
|
|
991
|
+
}
|
|
992
|
+
.cc-print-design-ai-dialog-nav button[aria-current=page] {
|
|
993
|
+
background: var(--pd-selected, #edf4ff);
|
|
994
|
+
color: var(--pd-primary, #1677ff);
|
|
995
|
+
}
|
|
996
|
+
.cc-print-design-ai-dialog-content {
|
|
997
|
+
flex: 1;
|
|
998
|
+
min-width: 0;
|
|
999
|
+
min-height: 0;
|
|
1000
|
+
overflow: auto;
|
|
1001
|
+
}
|
|
1002
|
+
.cc-print-design-ai-dialog .cc-print-design-ai-settings {
|
|
1003
|
+
max-height: none;
|
|
1004
|
+
border-top: 0;
|
|
1005
|
+
}
|
|
1006
|
+
.cc-print-design-ai-history {
|
|
1007
|
+
min-height: 140px;
|
|
1008
|
+
max-height: none;
|
|
1009
|
+
overflow: auto;
|
|
1010
|
+
padding: 8px 0;
|
|
1011
|
+
}
|
|
1012
|
+
.cc-print-design-ai-history > p {
|
|
1013
|
+
color: var(--pd-muted, #8993a2);
|
|
1014
|
+
text-align: center;
|
|
1015
|
+
}
|
|
1016
|
+
.cc-print-design-ai-history-item {
|
|
1017
|
+
display: flex;
|
|
1018
|
+
align-items: center;
|
|
1019
|
+
gap: 8px;
|
|
1020
|
+
border-bottom: 1px solid var(--pd-border, #e4e8ef);
|
|
1021
|
+
}
|
|
1022
|
+
.cc-print-design-ai-history-item > button:first-child {
|
|
1023
|
+
display: flex;
|
|
1024
|
+
flex: 1;
|
|
1025
|
+
min-width: 0;
|
|
1026
|
+
flex-direction: column;
|
|
1027
|
+
align-items: flex-start;
|
|
1028
|
+
gap: 4px;
|
|
1029
|
+
padding: 9px 10px;
|
|
1030
|
+
border: 0;
|
|
1031
|
+
background: transparent;
|
|
1032
|
+
text-align: left;
|
|
1033
|
+
cursor: pointer;
|
|
1034
|
+
}
|
|
1035
|
+
.cc-print-design-ai-history-item > button:first-child.active {
|
|
1036
|
+
color: var(--pd-primary, #1677ff);
|
|
1037
|
+
}
|
|
1038
|
+
.cc-print-design-ai-history-item span {
|
|
1039
|
+
overflow: hidden;
|
|
1040
|
+
max-width: 100%;
|
|
1041
|
+
text-overflow: ellipsis;
|
|
1042
|
+
white-space: nowrap;
|
|
1043
|
+
}
|
|
1044
|
+
.cc-print-design-ai-history-item small {
|
|
1045
|
+
color: var(--pd-muted, #8993a2);
|
|
1046
|
+
}
|
|
1047
|
+
.cc-print-design-ai-history-delete {
|
|
1048
|
+
border: 0;
|
|
1049
|
+
background: transparent;
|
|
1050
|
+
color: var(--pd-danger, #dc2626);
|
|
1051
|
+
cursor: pointer;
|
|
1052
|
+
}
|
|
1053
|
+
.cc-print-design-ai-composer {
|
|
1054
|
+
padding: 10px;
|
|
1055
|
+
border-top: 1px solid var(--pd-border, #e4e8ef);
|
|
1056
|
+
}
|
|
1057
|
+
.cc-print-design-ai-attachments,
|
|
1058
|
+
.cc-print-design-ai-message-attachments {
|
|
1059
|
+
display: flex;
|
|
1060
|
+
flex-wrap: wrap;
|
|
1061
|
+
gap: 6px;
|
|
1062
|
+
min-width: 0;
|
|
1063
|
+
}
|
|
1064
|
+
.cc-print-design-ai-attachments {
|
|
1065
|
+
max-height: 116px;
|
|
1066
|
+
margin-bottom: 8px;
|
|
1067
|
+
overflow: auto;
|
|
1068
|
+
}
|
|
1069
|
+
.cc-print-design-ai-attachment {
|
|
1070
|
+
display: flex;
|
|
1071
|
+
align-items: center;
|
|
1072
|
+
gap: 5px;
|
|
1073
|
+
max-width: 100%;
|
|
1074
|
+
padding: 4px 6px;
|
|
1075
|
+
border: 1px solid var(--pd-border, #e4e8ef);
|
|
1076
|
+
border-radius: 6px;
|
|
1077
|
+
font-size: 11px;
|
|
1078
|
+
}
|
|
1079
|
+
.cc-print-design-ai-attachment .cc-print-design-ai-image-trigger img {
|
|
1080
|
+
width: 28px;
|
|
1081
|
+
height: 28px;
|
|
1082
|
+
object-fit: cover;
|
|
1083
|
+
}
|
|
1084
|
+
.cc-print-design-ai-panel .cc-print-design-ai-image-trigger {
|
|
1085
|
+
display: block;
|
|
1086
|
+
padding: 0;
|
|
1087
|
+
border: 0;
|
|
1088
|
+
border-radius: 5px;
|
|
1089
|
+
background: transparent;
|
|
1090
|
+
cursor: zoom-in;
|
|
1091
|
+
}
|
|
1092
|
+
.cc-print-design-ai-image-trigger:focus-visible {
|
|
1093
|
+
outline: 2px solid var(--pd-primary, #1677ff);
|
|
1094
|
+
outline-offset: 2px;
|
|
1095
|
+
}
|
|
1096
|
+
.cc-print-design-ai-attachment > span:nth-last-child(2) {
|
|
1097
|
+
overflow: hidden;
|
|
1098
|
+
max-width: 145px;
|
|
1099
|
+
text-overflow: ellipsis;
|
|
1100
|
+
white-space: nowrap;
|
|
1101
|
+
}
|
|
1102
|
+
.cc-print-design-ai-attachment > button {
|
|
1103
|
+
border: 0;
|
|
1104
|
+
background: transparent;
|
|
1105
|
+
cursor: pointer;
|
|
1106
|
+
}
|
|
1107
|
+
.cc-print-design-ai-message-attachments {
|
|
1108
|
+
margin-top: 7px;
|
|
1109
|
+
}
|
|
1110
|
+
.cc-print-design-ai-message-user .cc-print-design-ai-message-attachments {
|
|
1111
|
+
align-self: flex-end;
|
|
1112
|
+
justify-content: flex-end;
|
|
1113
|
+
max-width: min(85%, 680px);
|
|
1114
|
+
margin-left: auto;
|
|
1115
|
+
}
|
|
1116
|
+
.cc-print-design-ai-message-attachments figure {
|
|
1117
|
+
display: flex;
|
|
1118
|
+
flex-direction: column;
|
|
1119
|
+
align-items: flex-end;
|
|
1120
|
+
max-width: 100%;
|
|
1121
|
+
margin: 0;
|
|
1122
|
+
}
|
|
1123
|
+
.cc-print-design-ai-message-attachments .cc-print-design-ai-image-trigger {
|
|
1124
|
+
max-width: min(100%, 240px);
|
|
1125
|
+
}
|
|
1126
|
+
.cc-print-design-ai-message-attachments img {
|
|
1127
|
+
display: block;
|
|
1128
|
+
max-width: min(100%, 240px);
|
|
1129
|
+
max-height: 180px;
|
|
1130
|
+
border-radius: 5px;
|
|
1131
|
+
object-fit: contain;
|
|
1132
|
+
}
|
|
1133
|
+
.cc-print-design-ai-message-attachments figcaption,
|
|
1134
|
+
.cc-print-design-ai-message-attachments > span {
|
|
1135
|
+
overflow: hidden;
|
|
1136
|
+
max-width: 100%;
|
|
1137
|
+
color: var(--pd-muted, #8993a2);
|
|
1138
|
+
font-size: 11px;
|
|
1139
|
+
text-overflow: ellipsis;
|
|
1140
|
+
text-align: right;
|
|
1141
|
+
white-space: nowrap;
|
|
1142
|
+
}
|
|
1143
|
+
.cc-print-design-ai-composer-attach {
|
|
1144
|
+
display: grid;
|
|
1145
|
+
flex: 0 0 30px;
|
|
1146
|
+
width: 30px;
|
|
1147
|
+
height: 30px;
|
|
1148
|
+
place-items: center;
|
|
1149
|
+
border: 0;
|
|
1150
|
+
border-radius: 5px;
|
|
1151
|
+
background: transparent;
|
|
1152
|
+
color: inherit;
|
|
1153
|
+
cursor: pointer;
|
|
1154
|
+
}
|
|
1155
|
+
.cc-print-design-ai-composer-attach:hover {
|
|
1156
|
+
background: var(--pd-hover, #f5f7fa);
|
|
1157
|
+
}
|
|
1158
|
+
.cc-print-design-ai-selection {
|
|
1159
|
+
min-width: 0;
|
|
1160
|
+
margin-bottom: 8px;
|
|
1161
|
+
color: var(--pd-muted, #8993a2);
|
|
1162
|
+
font-size: 11px;
|
|
1163
|
+
}
|
|
1164
|
+
.cc-print-design-ai-selection-items {
|
|
1165
|
+
display: flex;
|
|
1166
|
+
flex-wrap: wrap;
|
|
1167
|
+
gap: 5px;
|
|
1168
|
+
max-height: 80px;
|
|
1169
|
+
margin-top: 5px;
|
|
1170
|
+
overflow: auto;
|
|
1171
|
+
}
|
|
1172
|
+
.cc-print-design-ai-selection-item {
|
|
1173
|
+
max-width: 100%;
|
|
1174
|
+
}
|
|
1175
|
+
.cc-print-design-ai-selection-item strong,
|
|
1176
|
+
.cc-print-design-ai-selection-item small {
|
|
1177
|
+
overflow: hidden;
|
|
1178
|
+
text-overflow: ellipsis;
|
|
1179
|
+
white-space: nowrap;
|
|
1180
|
+
}
|
|
1181
|
+
.cc-print-design-ai-selection-item strong {
|
|
1182
|
+
flex: 0 0 auto;
|
|
1183
|
+
max-width: 115px;
|
|
1184
|
+
}
|
|
1185
|
+
.cc-print-design-ai-selection-item small {
|
|
1186
|
+
flex: 1 1 auto;
|
|
1187
|
+
min-width: 0;
|
|
1188
|
+
color: var(--pd-muted, #8993a2);
|
|
1189
|
+
}
|
|
1190
|
+
.cc-print-design-ai-composer textarea {
|
|
1191
|
+
resize: vertical;
|
|
1192
|
+
min-height: 70px;
|
|
1193
|
+
}
|
|
1194
|
+
.cc-print-design-ai-composer-tools {
|
|
1195
|
+
display: flex;
|
|
1196
|
+
align-items: center;
|
|
1197
|
+
gap: 8px;
|
|
1198
|
+
margin-top: 6px;
|
|
1199
|
+
}
|
|
1200
|
+
.cc-print-design-ai-composer-options {
|
|
1201
|
+
display: flex;
|
|
1202
|
+
flex: 1 1 auto;
|
|
1203
|
+
align-items: center;
|
|
1204
|
+
gap: 8px;
|
|
1205
|
+
min-width: 0;
|
|
1206
|
+
}
|
|
1207
|
+
.cc-print-design-ai-composer-options .canvas-react-select-wrap:first-child {
|
|
1208
|
+
flex: 1 1 auto;
|
|
1209
|
+
min-width: 0;
|
|
1210
|
+
}
|
|
1211
|
+
.cc-print-design-ai-composer-options .canvas-react-select-wrap:last-child {
|
|
1212
|
+
flex: 0 0 94px;
|
|
1213
|
+
min-width: 0;
|
|
1214
|
+
}
|
|
1215
|
+
.cc-print-design-ai-composer-actions {
|
|
1216
|
+
display: flex;
|
|
1217
|
+
flex: 0 0 auto;
|
|
1218
|
+
align-items: center;
|
|
1219
|
+
gap: 4px;
|
|
1220
|
+
margin-left: auto;
|
|
1221
|
+
}
|