@growthub/cli 0.9.6 → 0.9.8

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.
@@ -500,7 +500,7 @@ code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0
500
500
  }
501
501
  .workspace-table-row {
502
502
  display: grid;
503
- grid-template-columns: minmax(160px, 1.4fr) repeat(3, minmax(110px, 0.8fr));
503
+ grid-template-columns: minmax(170px, 1.2fr) minmax(100px, 0.7fr) minmax(92px, 0.6fr) minmax(96px, 0.55fr) minmax(260px, 1.35fr);
504
504
  align-items: center;
505
505
  min-height: 34px;
506
506
  border-bottom: 1px solid #f0f0f0;
@@ -529,6 +529,55 @@ code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0
529
529
  background: transparent;
530
530
  font-size: 11px;
531
531
  }
532
+ .workspace-dashboard-title,
533
+ .workspace-dashboard-actions {
534
+ display: flex;
535
+ align-items: center;
536
+ gap: 6px;
537
+ }
538
+ .workspace-dashboard-title button {
539
+ min-width: 0;
540
+ border: 0;
541
+ background: transparent;
542
+ color: #333;
543
+ cursor: pointer;
544
+ font: inherit;
545
+ overflow: hidden;
546
+ padding: 0;
547
+ text-align: left;
548
+ text-overflow: ellipsis;
549
+ white-space: nowrap;
550
+ }
551
+ .workspace-dashboard-title button.active {
552
+ font-weight: 700;
553
+ }
554
+ .workspace-dashboard-title input,
555
+ .workspace-table-row select {
556
+ width: 100%;
557
+ min-width: 0;
558
+ border: 1px solid #dedede;
559
+ border-radius: 6px;
560
+ background: #fff;
561
+ color: #333;
562
+ font: inherit;
563
+ padding: 5px 7px;
564
+ }
565
+ .workspace-dashboard-actions {
566
+ flex-wrap: wrap;
567
+ }
568
+ .workspace-dashboard-actions button {
569
+ border: 1px solid #e1e1e1;
570
+ border-radius: 6px;
571
+ background: #fafafa;
572
+ color: #444;
573
+ cursor: pointer;
574
+ font-size: 11px;
575
+ line-height: 1;
576
+ padding: 6px 8px;
577
+ }
578
+ .workspace-dashboard-actions button:hover {
579
+ background: #f0f0f0;
580
+ }
532
581
  .workspace-tabs {
533
582
  display: flex;
534
583
  align-items: center;
@@ -537,6 +586,9 @@ code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0
537
586
  padding: 8px;
538
587
  }
539
588
  .workspace-tabs button {
589
+ display: inline-flex;
590
+ align-items: center;
591
+ gap: 7px;
540
592
  border-color: transparent;
541
593
  background: transparent;
542
594
  }
@@ -544,6 +596,23 @@ code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0
544
596
  background: #f3f3f3;
545
597
  color: #222;
546
598
  }
599
+ .workspace-tab-delete {
600
+ display: inline-flex;
601
+ align-items: center;
602
+ justify-content: center;
603
+ width: 16px;
604
+ height: 16px;
605
+ border-radius: 999px;
606
+ color: #8a8a8a;
607
+ font-size: 11px;
608
+ line-height: 1;
609
+ }
610
+ .workspace-tab-delete:hover,
611
+ .workspace-tab-delete:focus {
612
+ background: #e2e2e2;
613
+ color: #333;
614
+ outline: none;
615
+ }
547
616
  .workspace-toolbar-actions select,
548
617
  .workspace-widget-settings select {
549
618
  min-height: 32px;
@@ -931,3 +1000,194 @@ code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0
931
1000
  grid-column: 1 / -1;
932
1001
  }
933
1002
  }
1003
+
1004
+ .template-gallery {
1005
+ position: fixed;
1006
+ inset: 0;
1007
+ z-index: 60;
1008
+ display: flex;
1009
+ align-items: stretch;
1010
+ justify-content: center;
1011
+ }
1012
+ .template-gallery-backdrop {
1013
+ position: absolute;
1014
+ inset: 0;
1015
+ background: rgba(15, 15, 15, 0.42);
1016
+ }
1017
+ .template-gallery-panel {
1018
+ position: relative;
1019
+ margin: 32px auto;
1020
+ width: min(1080px, calc(100vw - 32px));
1021
+ max-height: calc(100vh - 64px);
1022
+ overflow: auto;
1023
+ background: #ffffff;
1024
+ border: 1px solid #e3e3e3;
1025
+ border-radius: 12px;
1026
+ box-shadow: 0 20px 60px rgba(15, 15, 15, 0.18);
1027
+ padding: 18px 18px 14px;
1028
+ }
1029
+ .template-gallery-header {
1030
+ display: flex;
1031
+ align-items: center;
1032
+ justify-content: space-between;
1033
+ gap: 16px;
1034
+ margin-bottom: 14px;
1035
+ }
1036
+ .template-gallery-header p {
1037
+ margin: 0 0 2px;
1038
+ color: #888;
1039
+ font-size: 11px;
1040
+ text-transform: uppercase;
1041
+ }
1042
+ .template-gallery-header h2 {
1043
+ margin: 0;
1044
+ font-size: 16px;
1045
+ line-height: 1.2;
1046
+ }
1047
+ .template-gallery-header button {
1048
+ min-height: 30px;
1049
+ min-width: 30px;
1050
+ border: 1px solid #dedede;
1051
+ border-radius: 6px;
1052
+ background: #ffffff;
1053
+ color: #4f4f4f;
1054
+ font: inherit;
1055
+ cursor: pointer;
1056
+ }
1057
+ .template-gallery-grid {
1058
+ display: grid;
1059
+ grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
1060
+ gap: 14px;
1061
+ }
1062
+ .template-card {
1063
+ display: flex;
1064
+ flex-direction: column;
1065
+ gap: 8px;
1066
+ border: 1px solid #e7e7e7;
1067
+ border-radius: 10px;
1068
+ background: #fcfcfc;
1069
+ padding: 12px;
1070
+ }
1071
+ .template-card.previewing {
1072
+ border-color: #9aa9ff;
1073
+ box-shadow: 0 0 0 2px rgba(154, 169, 255, 0.18);
1074
+ }
1075
+ .template-card-header {
1076
+ display: flex;
1077
+ align-items: center;
1078
+ justify-content: space-between;
1079
+ gap: 8px;
1080
+ }
1081
+ .template-card-header strong {
1082
+ font-size: 13px;
1083
+ }
1084
+ .template-card-category {
1085
+ font-size: 10px;
1086
+ text-transform: uppercase;
1087
+ letter-spacing: 0.04em;
1088
+ color: #5f5f5f;
1089
+ background: #efefef;
1090
+ border-radius: 999px;
1091
+ padding: 2px 8px;
1092
+ }
1093
+ .template-card-description {
1094
+ margin: 0;
1095
+ color: #555;
1096
+ font-size: 12px;
1097
+ line-height: 1.4;
1098
+ }
1099
+ .template-card-preview {
1100
+ border: 1px solid #ececec;
1101
+ border-radius: 8px;
1102
+ background: #ffffff;
1103
+ padding: 6px;
1104
+ }
1105
+ .template-mini-grid {
1106
+ position: relative;
1107
+ display: grid;
1108
+ grid-template-columns: repeat(var(--template-mini-columns, 12), 1fr);
1109
+ grid-template-rows: repeat(var(--template-mini-rows, 16), 6px);
1110
+ gap: 2px;
1111
+ background:
1112
+ repeating-linear-gradient(0deg, #f4f4f4 0 1px, transparent 1px 6px),
1113
+ repeating-linear-gradient(90deg, #f4f4f4 0 1px, transparent 1px 100%);
1114
+ border-radius: 4px;
1115
+ min-height: 96px;
1116
+ }
1117
+ .template-mini-widget {
1118
+ display: block;
1119
+ border-radius: 3px;
1120
+ border: 1px solid rgba(15, 15, 15, 0.06);
1121
+ }
1122
+ .template-mini-widget.kind-chart { background: #dbeafe; }
1123
+ .template-mini-widget.kind-view { background: #fef3c7; }
1124
+ .template-mini-widget.kind-iframe { background: #ede9fe; }
1125
+ .template-mini-widget.kind-rich-text { background: #dcfce7; }
1126
+ .template-card-meta {
1127
+ display: flex;
1128
+ flex-wrap: wrap;
1129
+ gap: 6px;
1130
+ color: #666;
1131
+ font-size: 11px;
1132
+ }
1133
+ .template-card-tags {
1134
+ display: flex;
1135
+ flex-wrap: wrap;
1136
+ gap: 4px;
1137
+ }
1138
+ .template-card-tags span {
1139
+ font-size: 10px;
1140
+ color: #4f4f4f;
1141
+ background: #f3f3f3;
1142
+ border-radius: 4px;
1143
+ padding: 2px 6px;
1144
+ }
1145
+ .template-card-actions {
1146
+ display: grid;
1147
+ grid-template-columns: repeat(3, minmax(0, 1fr));
1148
+ gap: 6px;
1149
+ margin-top: 4px;
1150
+ }
1151
+ .template-card-actions button {
1152
+ min-height: 30px;
1153
+ border: 1px solid #dedede;
1154
+ border-radius: 6px;
1155
+ background: #ffffff;
1156
+ color: #2f2f2f;
1157
+ font: inherit;
1158
+ font-size: 12px;
1159
+ cursor: pointer;
1160
+ padding: 0 8px;
1161
+ }
1162
+ .template-card-actions button:hover {
1163
+ background: #f7f7f7;
1164
+ }
1165
+ .template-gallery-footer {
1166
+ display: flex;
1167
+ flex-direction: column;
1168
+ gap: 2px;
1169
+ margin-top: 14px;
1170
+ padding: 10px 12px;
1171
+ border: 1px dashed #d8d8d8;
1172
+ border-radius: 8px;
1173
+ background: #fafafa;
1174
+ color: #444;
1175
+ font-size: 12px;
1176
+ }
1177
+ .template-gallery-footer strong {
1178
+ font-size: 13px;
1179
+ }
1180
+
1181
+ @media (max-width: 720px) {
1182
+ .template-gallery-panel {
1183
+ margin: 16px;
1184
+ width: calc(100vw - 32px);
1185
+ padding: 14px;
1186
+ }
1187
+ .template-gallery-grid {
1188
+ grid-template-columns: 1fr;
1189
+ }
1190
+ .template-card-actions {
1191
+ grid-template-columns: 1fr;
1192
+ }
1193
+ }