aizek-chatbot 1.0.13 → 1.0.14

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/index.css CHANGED
@@ -58,7 +58,10 @@
58
58
  }
59
59
  .markdown-content {
60
60
  line-height: 1.6;
61
- margin-bottom: 6px;
61
+ word-break: break-word;
62
+ }
63
+ .markdown-content + .generative-ui-container {
64
+ margin-top: 16px;
62
65
  }
63
66
  .markdown-content p {
64
67
  margin: 0 0 12px 0;
@@ -67,101 +70,123 @@
67
70
  .markdown-content p:last-child {
68
71
  margin-bottom: 0;
69
72
  }
73
+ .markdown-content p:first-child {
74
+ margin-top: 0;
75
+ }
76
+ .markdown-content a {
77
+ color: #667eea;
78
+ text-decoration: none;
79
+ transition: all 0.15s ease;
80
+ font-weight: 500;
81
+ border-bottom: 1px solid transparent;
82
+ }
83
+ .markdown-content a:hover {
84
+ color: #764ba2;
85
+ border-bottom-color: #764ba2;
86
+ }
87
+ .markdown-content ul,
88
+ .markdown-content ol {
89
+ margin: 12px 0;
90
+ padding-left: 20px;
91
+ }
70
92
  .markdown-content ul {
71
- margin: 12px 0 16px 0;
72
- padding-left: 0;
73
93
  list-style: none;
94
+ padding-left: 0;
95
+ }
96
+ .markdown-content ol {
97
+ list-style: decimal;
74
98
  }
75
99
  .markdown-content li {
76
- margin-bottom: 12px;
100
+ margin-bottom: 8px;
77
101
  line-height: 1.6;
78
- padding: 12px 16px;
79
- border-radius: 12px;
80
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
81
102
  position: relative;
82
- transition: all 0.2s ease;
83
- overflow: hidden;
103
+ padding-left: 20px;
84
104
  }
85
- .markdown-content li:hover {
86
- transform: translateY(-1px);
87
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
105
+ .markdown-content li:last-child {
106
+ margin-bottom: 0;
88
107
  }
89
108
  .markdown-content li::before {
90
109
  content: "\2022";
91
- font-weight: bold;
92
- font-size: 18px;
93
110
  position: absolute;
94
- left: -8px;
95
- top: 12px;
96
- }
97
- .markdown-content li::after {
98
- content: "";
99
- position: absolute;
100
- top: 0;
101
111
  left: 0;
102
- width: 4px;
103
- height: 100%;
104
- border-radius: 0 2px 2px 0;
105
- transition: all 0.2s ease;
106
- }
107
- .markdown-content li:hover::after {
108
- width: 6px;
109
- }
110
- .markdown-content li strong {
111
- display: block;
112
- font-size: 15px;
113
- margin-bottom: 4px;
112
+ color: #667eea;
113
+ font-weight: bold;
114
+ font-size: 16px;
114
115
  }
115
- .markdown-content li em {
116
- display: block;
117
- font-size: 13px;
118
- opacity: 0.8;
116
+ .markdown-content li ul,
117
+ .markdown-content li ol {
119
118
  margin-top: 4px;
119
+ margin-bottom: 4px;
120
120
  }
121
- .markdown-content strong {
122
- font-weight: 600;
121
+ .markdown-content ol li {
122
+ padding-left: 0;
123
123
  }
124
- .markdown-content em {
125
- font-style: italic;
126
- opacity: 0.9;
124
+ .markdown-content ol li::before {
125
+ content: none;
127
126
  }
128
127
  .markdown-content code {
129
- background: #f1f5f9;
128
+ background: rgba(102, 126, 234, 0.1);
129
+ color: #764ba2;
130
130
  padding: 2px 6px;
131
131
  border-radius: 4px;
132
132
  font-family:
133
133
  "Monaco",
134
134
  "Menlo",
135
135
  "Ubuntu Mono",
136
+ "Courier New",
136
137
  monospace;
137
- font-size: 13px;
138
+ font-size: 0.9em;
139
+ border: 1px solid rgba(102, 126, 234, 0.2);
138
140
  }
139
141
  .markdown-content pre {
140
142
  background: #f8fafc;
141
- padding: 12px;
143
+ padding: 12px 16px;
142
144
  border-radius: 8px;
143
145
  overflow-x: auto;
144
- margin: 8px 0;
146
+ margin: 12px 0;
145
147
  border: 1px solid #e2e8f0;
148
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
146
149
  }
147
150
  .markdown-content pre code {
148
151
  background: none;
149
152
  padding: 0;
153
+ border: none;
154
+ color: #1e293b;
155
+ font-size: 12px;
156
+ line-height: 1.5;
150
157
  }
151
- .markdown-content blockquote {
152
- border-left: 3px solid #cbd5e1;
153
- padding-left: 12px;
154
- margin: 8px 0;
155
- opacity: 0.8;
158
+ .markdown-content strong,
159
+ .markdown-content b {
160
+ font-weight: 600;
161
+ color: inherit;
162
+ }
163
+ .markdown-content em,
164
+ .markdown-content i {
165
+ font-style: italic;
156
166
  }
157
167
  .markdown-content h1,
158
168
  .markdown-content h2,
159
- .markdown-content h3 {
169
+ .markdown-content h3,
170
+ .markdown-content h4,
171
+ .markdown-content h5,
172
+ .markdown-content h6 {
160
173
  margin: 16px 0 8px 0;
161
174
  font-weight: 600;
175
+ line-height: 1.4;
176
+ color: inherit;
177
+ }
178
+ .markdown-content h1:first-child,
179
+ .markdown-content h2:first-child,
180
+ .markdown-content h3:first-child,
181
+ .markdown-content h4:first-child,
182
+ .markdown-content h5:first-child,
183
+ .markdown-content h6:first-child {
184
+ margin-top: 0;
162
185
  }
163
186
  .markdown-content h1 {
164
187
  font-size: 18px;
188
+ border-bottom: 2px solid #e2e8f0;
189
+ padding-bottom: 8px;
165
190
  }
166
191
  .markdown-content h2 {
167
192
  font-size: 16px;
@@ -169,104 +194,171 @@
169
194
  .markdown-content h3 {
170
195
  font-size: 15px;
171
196
  }
197
+ .markdown-content h4,
198
+ .markdown-content h5,
199
+ .markdown-content h6 {
200
+ font-size: 14px;
201
+ }
202
+ .markdown-content blockquote {
203
+ border-left: 3px solid #667eea;
204
+ padding-left: 12px;
205
+ margin: 12px 0;
206
+ color: inherit;
207
+ opacity: 0.9;
208
+ font-style: italic;
209
+ background: rgba(102, 126, 234, 0.05);
210
+ padding: 8px 12px;
211
+ border-radius: 0 4px 4px 0;
212
+ }
213
+ .markdown-content blockquote p {
214
+ margin: 0;
215
+ }
216
+ .markdown-content hr {
217
+ border: none;
218
+ border-top: 1px solid #e2e8f0;
219
+ margin: 16px 0;
220
+ }
172
221
  .markdown-content table {
173
222
  border-collapse: collapse;
174
223
  width: 100%;
175
- margin: 8px 0;
224
+ margin: 12px 0;
225
+ font-size: 12px;
226
+ border-radius: 8px;
227
+ overflow: hidden;
228
+ border: 1px solid #e2e8f0;
176
229
  }
177
230
  .markdown-content th,
178
231
  .markdown-content td {
179
- border: 1px solid #e2e8f0;
180
- padding: 8px 12px;
232
+ padding: 10px 12px;
181
233
  text-align: left;
234
+ border-bottom: 1px solid #e2e8f0;
182
235
  }
183
236
  .markdown-content th {
184
- background: #f8fafc;
237
+ background: #f1f5f9;
185
238
  font-weight: 600;
239
+ color: #1e293b;
240
+ border-bottom: 2px solid #cbd5e1;
186
241
  }
187
- .message-bubble.user .markdown-content li {
188
- background: rgba(255, 255, 255, 0.1);
189
- border: 1px solid rgba(255, 255, 255, 0.2);
242
+ .markdown-content tr:last-child td {
243
+ border-bottom: none;
190
244
  }
191
- .message-bubble.user .markdown-content li::before {
192
- color: #ffffff;
245
+ .markdown-content tbody tr {
246
+ transition: background-color 0.15s ease;
193
247
  }
194
- .message-bubble.user .markdown-content li::after {
195
- background:
196
- linear-gradient(
197
- 135deg,
198
- #ffffff,
199
- rgba(255, 255, 255, 0.5));
248
+ .markdown-content tbody tr:hover {
249
+ background-color: rgba(102, 126, 234, 0.05);
200
250
  }
201
- .message-bubble.user .markdown-content li:hover::after {
202
- background:
203
- linear-gradient(
204
- 135deg,
205
- #ffffff,
206
- #ffffff);
251
+ .markdown-content img {
252
+ max-width: 100%;
253
+ height: auto;
254
+ border-radius: 8px;
255
+ margin: 8px 0;
256
+ }
257
+ .markdown-content input[type=checkbox] {
258
+ margin-right: 6px;
259
+ }
260
+ .message-bubble.user .markdown-content {
261
+ color: #ffffff;
207
262
  }
208
- .message-bubble.user .markdown-content li strong {
263
+ .message-bubble.user .markdown-content a {
209
264
  color: #ffffff;
265
+ border-bottom-color: rgba(255, 255, 255, 0.4);
266
+ font-weight: 600;
267
+ }
268
+ .message-bubble.user .markdown-content a:hover {
269
+ border-bottom-color: #ffffff;
210
270
  }
211
- .message-bubble.user .markdown-content strong {
271
+ .message-bubble.user .markdown-content li::before {
212
272
  color: #ffffff;
213
273
  }
214
274
  .message-bubble.user .markdown-content code {
215
275
  background: rgba(255, 255, 255, 0.2);
276
+ color: #ffffff;
277
+ border-color: rgba(255, 255, 255, 0.3);
216
278
  }
217
279
  .message-bubble.user .markdown-content pre {
218
280
  background: rgba(255, 255, 255, 0.1);
219
- border: 1px solid rgba(255, 255, 255, 0.2);
281
+ border-color: rgba(255, 255, 255, 0.2);
282
+ }
283
+ .message-bubble.user .markdown-content pre code {
284
+ color: #ffffff;
285
+ }
286
+ .message-bubble.user .markdown-content h1 {
287
+ border-bottom-color: rgba(255, 255, 255, 0.3);
220
288
  }
221
289
  .message-bubble.user .markdown-content blockquote {
222
- border-left-color: rgba(255, 255, 255, 0.5);
290
+ border-left-color: #ffffff;
291
+ background: rgba(255, 255, 255, 0.1);
292
+ color: #ffffff;
223
293
  }
224
- .message-bubble.user .markdown-content table th,
225
- .message-bubble.user .markdown-content table td {
294
+ .message-bubble.user .markdown-content hr {
295
+ border-top-color: rgba(255, 255, 255, 0.3);
296
+ }
297
+ .message-bubble.user .markdown-content table {
226
298
  border-color: rgba(255, 255, 255, 0.3);
227
299
  }
228
- .message-bubble.user .markdown-content table th {
229
- background: rgba(255, 255, 255, 0.1);
300
+ .message-bubble.user .markdown-content th,
301
+ .message-bubble.user .markdown-content td {
302
+ border-bottom-color: rgba(255, 255, 255, 0.2);
230
303
  }
231
- .message-bubble.assistant .markdown-content li {
232
- background: #ffffff;
233
- border: 1px solid #e2e8f0;
304
+ .message-bubble.user .markdown-content th {
305
+ background: rgba(255, 255, 255, 0.15);
306
+ color: #ffffff;
307
+ border-bottom-color: rgba(255, 255, 255, 0.3);
308
+ }
309
+ .message-bubble.user .markdown-content tbody tr:hover {
310
+ background-color: rgba(255, 255, 255, 0.1);
311
+ }
312
+ .message-bubble.assistant .markdown-content {
313
+ color: #334155;
314
+ }
315
+ .message-bubble.assistant .markdown-content a {
316
+ color: #667eea;
317
+ }
318
+ .message-bubble.assistant .markdown-content a:hover {
319
+ color: #764ba2;
234
320
  }
235
321
  .message-bubble.assistant .markdown-content li::before {
236
322
  color: #667eea;
237
323
  }
238
- .message-bubble.assistant .markdown-content li::after {
239
- background:
240
- linear-gradient(
241
- 135deg,
242
- #667eea,
243
- #764ba2);
324
+ .message-bubble.assistant .markdown-content code {
325
+ background: rgba(102, 126, 234, 0.1);
326
+ color: #764ba2;
327
+ border-color: rgba(102, 126, 234, 0.2);
244
328
  }
245
- .message-bubble.assistant .markdown-content li:hover::after {
246
- background:
247
- linear-gradient(
248
- 135deg,
249
- #667eea,
250
- #764ba2);
329
+ .message-bubble.assistant .markdown-content pre {
330
+ background: #ffffff;
331
+ border-color: #e2e8f0;
251
332
  }
252
- .message-bubble.assistant .markdown-content li strong {
333
+ .message-bubble.assistant .markdown-content pre code {
253
334
  color: #1e293b;
254
335
  }
255
- .message-bubble.assistant .markdown-content strong {
336
+ .message-bubble.assistant .markdown-content h1,
337
+ .message-bubble.assistant .markdown-content h2,
338
+ .message-bubble.assistant .markdown-content h3,
339
+ .message-bubble.assistant .markdown-content h4,
340
+ .message-bubble.assistant .markdown-content h5,
341
+ .message-bubble.assistant .markdown-content h6 {
256
342
  color: #1e293b;
257
343
  }
258
- .message-bubble.assistant .markdown-content li strong:first-child {
344
+ .message-bubble.assistant .markdown-content h1 {
345
+ border-bottom-color: #e2e8f0;
346
+ }
347
+ .message-bubble.assistant .markdown-content strong,
348
+ .message-bubble.assistant .markdown-content b {
349
+ color: #0f172a;
350
+ }
351
+ .message-bubble.assistant .markdown-content blockquote {
352
+ border-left-color: #667eea;
353
+ background: rgba(102, 126, 234, 0.05);
354
+ color: #334155;
355
+ }
356
+ .message-bubble.assistant .markdown-content th {
357
+ background: #f1f5f9;
259
358
  color: #1e293b;
260
- font-size: 16px;
261
- font-weight: 700;
262
- display: block;
263
- margin-bottom: 8px;
264
359
  }
265
- .message-bubble.assistant .markdown-content li strong:not(:first-child) {
266
- color: #059669;
267
- font-size: 13px;
268
- font-weight: 600;
269
- margin-right: 8px;
360
+ .message-bubble.assistant .markdown-content tbody tr:hover {
361
+ background-color: rgba(102, 126, 234, 0.05);
270
362
  }
271
363
  .input-container {
272
364
  display: flex;
@@ -366,17 +458,17 @@
366
458
  font-size: 12px;
367
459
  opacity: 0.8;
368
460
  }
369
- .button-sizes.sm {
461
+ .button-sizes.small {
370
462
  width: 50px;
371
463
  height: 50px;
372
464
  font-size: 20px;
373
465
  }
374
- .button-sizes.md {
466
+ .button-sizes.medium {
375
467
  width: 60px;
376
468
  height: 60px;
377
469
  font-size: 24px;
378
470
  }
379
- .button-sizes.lg {
471
+ .button-sizes.large {
380
472
  width: 70px;
381
473
  height: 70px;
382
474
  font-size: 28px;
@@ -1052,486 +1144,236 @@
1052
1144
  margin: 0;
1053
1145
  padding-left: 16px;
1054
1146
  }
1055
- .rui-btn {
1056
- display: inline-flex;
1057
- align-items: center;
1058
- justify-content: center;
1059
- border-radius: 12px;
1060
- font-weight: 600;
1061
- line-height: 1;
1062
- transition:
1063
- background-color 0.2s ease,
1064
- color 0.2s ease,
1065
- border-color 0.2s ease;
1066
- outline: none;
1067
- cursor: pointer;
1068
- border: 1px solid transparent;
1069
- }
1070
- .rui-btn.sm {
1071
- height: 36px;
1072
- padding: 0 12px;
1073
- font-size: 14px;
1147
+ .generative-ui-container {
1148
+ display: flex;
1149
+ flex-direction: column;
1150
+ gap: 16px;
1151
+ width: 100%;
1074
1152
  }
1075
- .rui-btn.md {
1076
- height: 40px;
1077
- padding: 0 16px;
1078
- font-size: 16px;
1153
+ .generative-ui-header {
1154
+ margin-bottom: 12px;
1079
1155
  }
1080
- .rui-btn.lg {
1081
- height: 44px;
1082
- padding: 0 20px;
1156
+ .generative-ui-title {
1083
1157
  font-size: 18px;
1158
+ font-weight: 600;
1159
+ color: #0f172a;
1160
+ margin: 0 0 8px 0;
1084
1161
  }
1085
- .rui-btn.primary {
1086
- background: #2563eb;
1087
- color: #ffffff;
1088
- border-color: transparent;
1089
- }
1090
- .rui-btn.primary:hover {
1091
- background: #1d4ed8;
1092
- }
1093
- .rui-btn.outline {
1094
- background: transparent;
1095
- color: #2563eb;
1096
- border-color: #2563eb;
1097
- }
1098
- .rui-btn.outline:hover {
1099
- border-color: #1d4ed8;
1100
- }
1101
- .rui-btn.ghost {
1102
- background: transparent;
1103
- color: #2563eb;
1104
- border-color: transparent;
1162
+ .generative-ui-description {
1163
+ font-size: 14px;
1164
+ color: #475569;
1165
+ margin: 0;
1166
+ line-height: 1.5;
1105
1167
  }
1106
- .rui-btn.ghost:hover {
1107
- background: rgba(37, 99, 235, 0.08);
1168
+ .gen-ui-text {
1169
+ font-size: 13px;
1170
+ color: #1e293b;
1171
+ line-height: 1.6;
1172
+ margin: 0;
1108
1173
  }
1109
-
1110
- /* src/styles/uiRenderer.scss */
1111
- .ui-renderer {
1174
+ .gen-ui-input-wrapper {
1112
1175
  display: flex;
1113
1176
  flex-direction: column;
1114
- gap: 16px;
1115
- width: 100%;
1177
+ gap: 8px;
1116
1178
  }
1117
- .form-component {
1179
+ .gen-ui-input-label {
1180
+ font-size: 12px;
1181
+ font-weight: 500;
1182
+ color: #334155;
1183
+ margin: 0;
1184
+ }
1185
+ .gen-ui-input,
1186
+ .gen-ui-textarea {
1118
1187
  width: 100%;
1119
- max-width: 500px;
1120
- border: 1px solid #e0e0e0;
1121
- border-radius: 12px;
1122
- padding: 24px;
1188
+ padding: 10px 12px;
1189
+ border: 1px solid #cbd5e1;
1190
+ border-radius: 8px;
1191
+ font-size: 13px;
1192
+ color: #0f172a;
1123
1193
  background-color: #ffffff;
1124
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
1125
- font-family:
1126
- -apple-system,
1127
- BlinkMacSystemFont,
1128
- "Segoe UI",
1129
- Roboto,
1130
- "Helvetica Neue",
1131
- Arial,
1132
- sans-serif;
1194
+ outline: none;
1195
+ transition: border-color 0.2s ease, box-shadow 0.2s ease;
1196
+ font-family: inherit;
1133
1197
  }
1134
- .form-title {
1135
- font-weight: 600;
1136
- font-size: 16px;
1137
- margin-bottom: 20px;
1138
- color: #1a1a1a;
1139
- margin-top: 0;
1198
+ .gen-ui-input::placeholder,
1199
+ .gen-ui-textarea::placeholder {
1200
+ color: #94a3b8;
1140
1201
  }
1141
- .form-fields {
1142
- display: flex;
1143
- flex-direction: column;
1144
- gap: 20px;
1202
+ .gen-ui-input:focus,
1203
+ .gen-ui-textarea:focus {
1204
+ border-color: #3b82f6;
1205
+ box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
1145
1206
  }
1146
- .form-field {
1207
+ .gen-ui-input:disabled,
1208
+ .gen-ui-textarea:disabled {
1209
+ background-color: #f1f5f9;
1210
+ cursor: not-allowed;
1211
+ opacity: 0.6;
1212
+ }
1213
+ .gen-ui-textarea {
1214
+ min-height: 80px;
1215
+ resize: vertical;
1216
+ }
1217
+ .gen-ui-select-wrapper {
1147
1218
  display: flex;
1148
1219
  flex-direction: column;
1149
1220
  gap: 8px;
1150
1221
  }
1151
- .form-label {
1152
- font-weight: 500;
1153
- font-size: 13px;
1154
- color: #475569;
1155
- display: flex;
1156
- align-items: center;
1157
- gap: 4px;
1158
- }
1159
- .form-label span {
1160
- color: #ef4444;
1222
+ .gen-ui-select-label {
1161
1223
  font-size: 12px;
1224
+ font-weight: 500;
1225
+ color: #334155;
1226
+ margin: 0;
1162
1227
  }
1163
- .form-input,
1164
- .form-select {
1165
- border: 1px solid #d1d5db;
1166
- border-radius: 8px;
1228
+ .gen-ui-select {
1229
+ width: 100%;
1167
1230
  padding: 10px 12px;
1231
+ border: 1px solid #cbd5e1;
1232
+ border-radius: 8px;
1168
1233
  font-size: 13px;
1169
- color: #1a1a1a;
1234
+ color: #0f172a;
1170
1235
  background-color: #ffffff;
1171
- font-family: inherit;
1172
1236
  outline: none;
1173
- transition: border-color 0.15s ease, box-shadow 0.15s ease;
1237
+ transition: border-color 0.2s ease, box-shadow 0.2s ease;
1174
1238
  cursor: pointer;
1239
+ font-family: inherit;
1175
1240
  }
1176
- .form-input:focus,
1177
- .form-select:focus {
1241
+ .gen-ui-select:focus {
1178
1242
  border-color: #3b82f6;
1179
1243
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
1180
1244
  }
1181
- .form-select {
1182
- cursor: pointer;
1245
+ .gen-ui-select:disabled {
1246
+ background-color: #f1f5f9;
1247
+ cursor: not-allowed;
1248
+ opacity: 0.6;
1183
1249
  }
1184
- .form-submit-button {
1185
- margin-top: 24px;
1250
+ .gen-ui-button {
1186
1251
  display: inline-flex;
1187
1252
  align-items: center;
1188
1253
  justify-content: center;
1254
+ padding: 10px 16px;
1189
1255
  border-radius: 8px;
1190
- padding: 12px 24px;
1191
1256
  font-size: 13px;
1192
1257
  font-weight: 500;
1193
- background-color: #3b82f6;
1194
- color: #ffffff;
1195
1258
  border: none;
1196
1259
  cursor: pointer;
1197
- transition: background-color 0.15s ease, transform 0.1s ease;
1260
+ transition: all 0.2s ease;
1198
1261
  font-family: inherit;
1199
- }
1200
- .form-submit-button:hover {
1201
- background-color: #2563eb;
1202
- }
1203
- .form-submit-button:active {
1204
- transform: scale(0.98);
1205
- }
1206
- .buttons-component {
1207
- display: flex;
1208
- gap: 12px;
1209
- flex-wrap: wrap;
1210
- }
1211
- .button-component {
1212
- border-radius: 8px;
1213
- padding: 10px 20px;
1214
- font-size: 13px;
1215
- font-weight: 500;
1216
- border: 1px solid #e0e0e0;
1217
- background-color: #ffffff;
1218
- color: #475569;
1219
- cursor: pointer;
1220
- transition: all 0.15s ease;
1221
- font-family:
1222
- -apple-system,
1223
- BlinkMacSystemFont,
1224
- "Segoe UI",
1225
- Roboto,
1226
- "Helvetica Neue",
1227
- Arial,
1228
- sans-serif;
1229
1262
  outline: none;
1230
- }
1231
- .button-component.primary {
1232
- background-color: #3b82f6;
1233
- color: #ffffff;
1234
- border-color: #3b82f6;
1235
- }
1236
- .button-component.primary:hover {
1237
- background-color: #2563eb;
1238
- border-color: #2563eb;
1239
- }
1240
- .button-component.secondary {
1241
- background-color: #f3f4f6;
1242
- color: #475569;
1243
- border-color: #d1d5db;
1244
- }
1245
- .button-component.secondary:hover {
1246
- background-color: #e5e7eb;
1247
- border-color: #9ca3af;
1248
- }
1249
- .button-component.danger {
1250
- background-color: #ef4444;
1263
+ background: #2563eb;
1251
1264
  color: #ffffff;
1252
- border-color: #ef4444;
1253
1265
  }
1254
- .button-component.danger:hover {
1255
- background-color: #dc2626;
1256
- border-color: #dc2626;
1266
+ .gen-ui-button:hover {
1267
+ background: #1d4ed8;
1257
1268
  }
1258
- .button-component:not(.primary):not(.secondary):not(.danger):hover {
1259
- background-color: #f9fafb;
1260
- border-color: #d1d5db;
1269
+ .gen-ui-button:active {
1270
+ transform: scale(0.98);
1261
1271
  }
1262
- .button-component:active {
1263
- transform: scale(0.97);
1272
+ .gen-ui-button:disabled {
1273
+ background: #cbd5e1;
1274
+ cursor: not-allowed;
1275
+ opacity: 0.6;
1264
1276
  }
1265
- .table-component {
1266
- border: 1px solid #e0e0e0;
1277
+ .gen-ui-card {
1278
+ border: 1px solid #e2e8f0;
1267
1279
  border-radius: 12px;
1268
- overflow: hidden;
1269
- font-size: 13px;
1280
+ padding: 16px;
1270
1281
  background-color: #ffffff;
1271
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
1272
- font-family:
1273
- -apple-system,
1274
- BlinkMacSystemFont,
1275
- "Segoe UI",
1276
- Roboto,
1277
- "Helvetica Neue",
1278
- Arial,
1279
- sans-serif;
1280
- }
1281
- .table-caption {
1282
- padding: 16px 20px;
1283
- font-weight: 600;
1284
- font-size: 14px;
1285
- border-bottom: 1px solid #e0e0e0;
1286
- background-color: #f8f9fa;
1287
- color: #1a1a1a;
1288
- }
1289
- .table-wrapper {
1290
- overflow-x: auto;
1291
- }
1292
- .table {
1293
- width: 100%;
1294
- border-collapse: collapse;
1295
- min-width: 100%;
1282
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
1283
+ transition: box-shadow 0.2s ease;
1296
1284
  }
1297
- .table-header {
1298
- background-color: #f8f9fa;
1285
+ .gen-ui-card:hover {
1286
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
1299
1287
  }
1300
- .table-th {
1301
- border-bottom: 2px solid #e0e0e0;
1302
- padding: 14px 20px;
1303
- text-align: left;
1288
+ .gen-ui-card-title {
1289
+ font-size: 16px;
1304
1290
  font-weight: 600;
1305
- font-size: 12px;
1306
- color: #4a5568;
1307
- text-transform: uppercase;
1308
- letter-spacing: 0.5px;
1309
- white-space: nowrap;
1310
- }
1311
- .table-tbody tr {
1312
- background-color: #ffffff;
1313
- transition: background-color 0.15s ease;
1314
- }
1315
- .table-tbody tr:nth-child(even) {
1316
- background-color: #fafbfc;
1317
- }
1318
- .table-tbody tr:hover {
1319
- background-color: #f0f4f8;
1291
+ color: #0f172a;
1292
+ margin: 0 0 8px 0;
1320
1293
  }
1321
- .table-td {
1322
- border-bottom: 1px solid #e8e8e8;
1323
- padding: 16px 20px;
1294
+ .gen-ui-card-content {
1324
1295
  font-size: 13px;
1325
- vertical-align: middle;
1326
- }
1327
- .table-td > span {
1328
- color: #a0a0a0;
1329
- font-style: italic;
1330
- }
1331
- .table-cell-image {
1332
- display: flex;
1333
- align-items: center;
1334
- }
1335
- .table-image {
1336
- width: 40px;
1337
- height: 40px;
1338
- border-radius: 8px;
1339
- object-fit: cover;
1340
- border: 1px solid #e0e0e0;
1341
- }
1342
- .table-cell-text {
1343
- color: #2d3748;
1296
+ color: #334155;
1297
+ margin: 0;
1344
1298
  line-height: 1.5;
1345
1299
  }
1346
- .table-empty {
1347
- padding: 40px;
1348
- text-align: center;
1349
- color: #9ca3af;
1350
- font-size: 13px;
1351
- }
1352
- .card-component {
1353
- border: 1px solid #e5e7eb;
1354
- border-radius: 16px;
1355
- padding: 16px;
1356
- background-color: #ffffff;
1357
- box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
1358
- overflow: hidden;
1359
- margin-bottom: 12px;
1360
- }
1361
- .card-content {
1362
- display: flex;
1363
- gap: 12px;
1364
- }
1365
- .card-image {
1366
- width: 64px;
1367
- height: 64px;
1368
- border-radius: 8px;
1369
- object-fit: cover;
1370
- flex-shrink: 0;
1371
- }
1372
- .card-info {
1373
- flex: 1;
1374
- min-width: 0;
1375
- }
1376
- .card-title {
1377
- font-weight: 600;
1378
- font-size: 14px;
1379
- margin-bottom: 8px;
1380
- overflow: hidden;
1381
- text-overflow: ellipsis;
1382
- white-space: nowrap;
1383
- }
1384
- .card-subtitle {
1385
- color: #64748b;
1386
- font-size: 12px;
1387
- margin-bottom: 4px;
1300
+ .gen-ui-list {
1301
+ list-style-type: disc;
1302
+ padding-left: 20px;
1388
1303
  margin: 0;
1389
1304
  }
1390
- .card-status {
1391
- display: flex;
1392
- gap: 8px;
1393
- font-size: 12px;
1305
+ .gen-ui-list-item {
1306
+ font-size: 13px;
1307
+ color: #1e293b;
1308
+ line-height: 1.6;
1394
1309
  margin-bottom: 4px;
1395
1310
  }
1396
- .card-status-label {
1397
- color: #64748b;
1398
- font-weight: 500;
1399
- }
1400
- .card-status-value {
1401
- color: #475569;
1402
- }
1403
- .card-fields {
1404
- display: flex;
1405
- flex-direction: column;
1406
- gap: 4px;
1311
+ .gen-ui-list-item:last-child {
1312
+ margin-bottom: 0;
1407
1313
  }
1408
- .card-field {
1409
- display: flex;
1410
- gap: 8px;
1411
- font-size: 12px;
1314
+ .gen-ui-image {
1315
+ max-width: 100%;
1316
+ height: auto;
1317
+ border-radius: 8px;
1318
+ display: block;
1412
1319
  }
1413
- .card-field-label {
1414
- color: #64748b;
1415
- font-weight: 500;
1320
+ .gen-ui-link {
1321
+ color: #2563eb;
1322
+ text-decoration: none;
1323
+ font-size: 13px;
1324
+ transition: color 0.2s ease;
1416
1325
  }
1417
- .card-field-value {
1418
- color: #475569;
1326
+ .gen-ui-link:hover {
1327
+ color: #1d4ed8;
1328
+ text-decoration: underline;
1419
1329
  }
1420
- .card-description {
1421
- color: #64748b;
1422
- font-size: 12px;
1423
- margin-top: 8px;
1424
- margin: 0;
1330
+ .gen-ui-link:visited {
1331
+ color: #2563eb;
1425
1332
  }
1426
- .card-list {
1333
+ .gen-ui-table-wrapper {
1427
1334
  width: 100%;
1428
- }
1429
- .card-list-title {
1430
- font-weight: 600;
1431
- margin-bottom: 12px;
1432
- font-size: 14px;
1433
- color: #1a1a1a;
1434
- margin-top: 0;
1435
- }
1436
- .card-list-description {
1437
- color: #64748b;
1438
- margin-bottom: 12px;
1439
- font-size: 12px;
1440
- margin-top: 0;
1441
- }
1442
- .card-grid {
1443
- display: grid;
1444
- grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
1445
- gap: 12px;
1446
- }
1447
- .card-item {
1448
- font-size: 12px;
1449
- border: 1px solid #e0e0e0;
1335
+ overflow-x: auto;
1336
+ border: 1px solid #e2e8f0;
1450
1337
  border-radius: 12px;
1451
- padding: 16px;
1452
1338
  background-color: #ffffff;
1453
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
1454
- overflow: hidden;
1455
- }
1456
- .card-item-content {
1457
- display: flex;
1458
- gap: 12px;
1339
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
1459
1340
  }
1460
- .card-item-image {
1461
- width: 64px;
1462
- height: 64px;
1463
- border-radius: 8px;
1464
- object-fit: cover;
1465
- flex-shrink: 0;
1341
+ .gen-ui-table {
1342
+ width: 100%;
1343
+ border-collapse: collapse;
1344
+ min-width: 100%;
1466
1345
  }
1467
- .card-item-info {
1468
- flex: 1;
1469
- min-width: 0;
1346
+ .gen-ui-table-header {
1347
+ background-color: #f8fafc;
1470
1348
  }
1471
- .card-item-title {
1349
+ .gen-ui-table-th {
1350
+ padding: 12px 16px;
1351
+ text-align: left;
1352
+ font-size: 12px;
1472
1353
  font-weight: 600;
1473
- font-size: 14px;
1474
- margin-bottom: 4px;
1475
- overflow: hidden;
1476
- text-overflow: ellipsis;
1354
+ color: #334155;
1355
+ border-bottom: 2px solid #e2e8f0;
1477
1356
  white-space: nowrap;
1478
- color: #1a1a1a;
1479
- margin-top: 0;
1480
1357
  }
1481
- .card-item-subtitle {
1482
- color: #64748b;
1483
- font-size: 12px;
1484
- margin: 0;
1358
+ .gen-ui-table-body tr {
1359
+ transition: background-color 0.2s ease;
1485
1360
  }
1486
- .card-item-legacy {
1487
- display: flex;
1488
- justify-content: space-between;
1489
- gap: 8px;
1490
- font-size: 12px;
1361
+ .gen-ui-table-body tr:hover {
1362
+ background-color: #f8fafc;
1491
1363
  }
1492
- .card-item-legacy-label {
1493
- color: #64748b;
1494
- margin: 0;
1364
+ .gen-ui-table-body tr:not(:last-child) {
1365
+ border-bottom: 1px solid #e2e8f0;
1495
1366
  }
1496
- .card-item-legacy-value {
1497
- font-weight: 500;
1498
- color: #1a1a1a;
1499
- margin: 0;
1500
- }
1501
- .field-image {
1502
- width: 24px;
1503
- height: 24px;
1504
- border-radius: 999px;
1505
- object-fit: cover;
1506
- }
1507
- .field-link {
1508
- text-decoration: underline;
1509
- }
1510
- .field-badge {
1511
- display: inline-block;
1512
- padding: 2px 6px;
1513
- border-radius: 999px;
1514
- font-size: 10px;
1515
- font-weight: 500;
1516
- }
1517
- .field-badge.success {
1518
- background-color: #e0fce5;
1519
- color: #1a7f36;
1520
- }
1521
- .field-badge.warning {
1522
- background-color: #fff7d6;
1523
- color: #8a6a00;
1524
- }
1525
- .field-badge.danger {
1526
- background-color: #ffe4e4;
1527
- color: #b42318;
1528
- }
1529
- .field-badge:not(.success):not(.warning):not(.danger) {
1530
- background-color: #f2f2f2;
1531
- color: #333;
1367
+ .gen-ui-table-td {
1368
+ padding: 12px 16px;
1369
+ font-size: 13px;
1370
+ color: #1e293b;
1371
+ vertical-align: middle;
1532
1372
  }
1533
- .field-list {
1534
- margin: 0;
1535
- padding-left: 16px;
1373
+ .gen-ui-form {
1374
+ display: flex;
1375
+ flex-direction: column;
1376
+ gap: 16px;
1377
+ width: 100%;
1536
1378
  }
1537
1379
  /*# sourceMappingURL=index.css.map */