@puckeditor/plugin-ai 0.8.0-canary.8c80c5fd → 0.8.0-canary.8f4fb3c0

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
@@ -274,11 +274,11 @@ p {
274
274
  }
275
275
 
276
276
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/ActionModal/ActionModal.module.css/#css-module-data */
277
- ._ActionModal_r3pvy_1 {
277
+ ._ActionModal_1g44k_1 {
278
278
  display: block;
279
279
  min-width: 356px;
280
280
  }
281
- ._ActionModal-header_r3pvy_6 {
281
+ ._ActionModal-header_1g44k_6 {
282
282
  color: var(--puck-color-grey-02);
283
283
  display: flex;
284
284
  justify-content: center;
@@ -288,11 +288,14 @@ p {
288
288
  padding: 24px;
289
289
  padding-bottom: 16px;
290
290
  }
291
- ._ActionModal-body_r3pvy_17 {
291
+ ._ActionModal-body_1g44k_17 {
292
+ display: flex;
293
+ flex-direction: column;
294
+ gap: 16px;
292
295
  padding: 24px;
293
296
  padding-top: 8px;
294
297
  }
295
- ._ActionModal-footer_r3pvy_22 {
298
+ ._ActionModal-footer_1g44k_25 {
296
299
  border-top: 1px solid var(--puck-color-grey-09);
297
300
  background-color: var(--puck-color-grey-12);
298
301
  display: flex;
@@ -330,7 +333,7 @@ p {
330
333
  }
331
334
 
332
335
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
333
- ._Button_16opg_1 {
336
+ ._Button_16or4_1 {
334
337
  appearance: none;
335
338
  background: none;
336
339
  border: 1px solid transparent;
@@ -352,32 +355,36 @@ p {
352
355
  white-space: nowrap;
353
356
  margin: 0;
354
357
  }
355
- ._Button_16opg_1:hover,
356
- ._Button_16opg_1:active {
358
+ ._Button_16or4_1:hover,
359
+ ._Button_16or4_1:active {
357
360
  transition: none;
358
361
  }
359
- ._Button_16opg_1:focus-visible {
362
+ ._Button_16or4_1:focus-visible {
360
363
  outline: 2px solid var(--puck-color-azure-05);
361
364
  outline-offset: 2px;
362
365
  }
363
- ._Button--small_16opg_34 {
364
- font-size: 12px;
366
+ ._Button--tiny_16or4_34 {
367
+ font-size: var(--puck-font-size-xxxs);
365
368
  padding: 2px 8px;
366
369
  }
367
- ._Button--medium_16opg_39 {
370
+ ._Button--small_16or4_39 {
371
+ font-size: var(--puck-font-size-xxs);
372
+ padding: 4px 8px;
373
+ }
374
+ ._Button--medium_16or4_44 {
368
375
  min-height: 34px;
369
376
  padding-bottom: 7px;
370
377
  padding-left: 15px;
371
378
  padding-right: 15px;
372
379
  padding-top: 7px;
373
380
  }
374
- ._Button--large_16opg_47 {
381
+ ._Button--large_16or4_52 {
375
382
  padding-bottom: 11px;
376
383
  padding-left: 19px;
377
384
  padding-right: 19px;
378
385
  padding-top: 11px;
379
386
  }
380
- ._Button--brand_16opg_54 {
387
+ ._Button--brand_16or4_59 {
381
388
  background-image:
382
389
  linear-gradient(
383
390
  210deg,
@@ -387,53 +394,54 @@ p {
387
394
  border: none;
388
395
  }
389
396
  @media (hover: hover) and (pointer: fine) {
390
- ._Button--brand_16opg_54:hover {
397
+ ._Button--brand_16or4_59:hover {
391
398
  opacity: 0.8;
392
399
  }
393
400
  }
394
- ._Button--brand_16opg_54:active {
401
+ ._Button--brand_16or4_59:active {
395
402
  opacity: 0.8;
396
403
  }
397
- ._Button--primary_16opg_74 {
404
+ ._Button--primary_16or4_79 {
398
405
  background: var(--puck-color-azure-04);
399
406
  }
400
407
  @media (hover: hover) and (pointer: fine) {
401
- ._Button--primary_16opg_74:hover {
408
+ ._Button--primary_16or4_79:hover {
402
409
  background-color: var(--puck-color-azure-03);
403
410
  }
404
411
  }
405
- ._Button--primary_16opg_74:active {
412
+ ._Button--primary_16or4_79:active {
406
413
  background-color: var(--puck-color-azure-02);
407
414
  }
408
- ._Button--secondary_16opg_88 {
415
+ ._Button--secondary_16or4_93 {
409
416
  border: 1px solid currentColor;
410
417
  color: currentColor;
411
418
  }
412
419
  @media (hover: hover) and (pointer: fine) {
413
- ._Button--secondary_16opg_88:hover {
420
+ ._Button--secondary_16or4_93:hover {
414
421
  background-color: var(--puck-color-azure-12);
415
- color: var(--puck-color-black);
422
+ border-color: var(--puck-color-azure-12);
423
+ color: var(--puck-color-azure-04);
416
424
  }
417
425
  }
418
- ._Button--secondary_16opg_88:active {
426
+ ._Button--secondary_16or4_93:active {
419
427
  background-color: var(--puck-color-azure-11);
420
428
  color: var(--puck-color-black);
421
429
  }
422
- ._Button--danger_16opg_105 {
430
+ ._Button--danger_16or4_111 {
423
431
  background: var(--puck-color-red-04);
424
432
  }
425
433
  @media (hover: hover) and (pointer: fine) {
426
- ._Button--danger_16opg_105:hover {
434
+ ._Button--danger_16or4_111:hover {
427
435
  background-color: var(--puck-color-red-03);
428
436
  }
429
437
  }
430
- ._Button--danger_16opg_105:active {
438
+ ._Button--danger_16or4_111:active {
431
439
  background-color: var(--puck-color-red-02);
432
440
  }
433
- ._Button--flush_16opg_119 {
441
+ ._Button--flush_16or4_125 {
434
442
  border-radius: 0;
435
443
  }
436
- ._Button--ghost_16opg_123 {
444
+ ._Button--ghost_16or4_129 {
437
445
  align-items: center;
438
446
  background-color: transparent;
439
447
  border: none;
@@ -442,26 +450,26 @@ p {
442
450
  display: flex;
443
451
  }
444
452
  @media (hover: hover) and (pointer: fine) {
445
- ._Button--ghost_16opg_123:hover {
453
+ ._Button--ghost_16or4_129:hover {
446
454
  background-color: var(--puck-color-grey-11);
447
455
  color: var(--puck-color-azure-04);
448
456
  cursor: pointer;
449
457
  }
450
458
  }
451
- ._Button--disabled_16opg_140,
452
- ._Button--disabled_16opg_140:hover,
453
- ._Button--secondary_16opg_88._Button--disabled_16opg_140,
454
- ._Button--secondary_16opg_88._Button--disabled_16opg_140:hover {
459
+ ._Button--disabled_16or4_146,
460
+ ._Button--disabled_16or4_146:hover,
461
+ ._Button--secondary_16or4_93._Button--disabled_16or4_146,
462
+ ._Button--secondary_16or4_93._Button--disabled_16or4_146:hover {
455
463
  background-color: var(--puck-color-grey-12);
456
464
  border-color: var(--puck-color-grey-08);
457
465
  color: var(--puck-color-grey-07);
458
466
  cursor: not-allowed;
459
467
  }
460
- ._Button--fullWidth_16opg_150 {
468
+ ._Button--fullWidth_16or4_156 {
461
469
  justify-content: center;
462
470
  width: 100%;
463
471
  }
464
- ._Button-spinner_16opg_155 {
472
+ ._Button-spinner_16or4_161 {
465
473
  padding-left: 8px;
466
474
  }
467
475
 
@@ -1077,238 +1085,187 @@ button._Menu-item_1tu16_55:hover {
1077
1085
  }
1078
1086
 
1079
1087
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanGrid/styles.module.css/#css-module-data */
1080
- ._PlanGrid--loading_1v43l_1 {
1081
- opacity: 0;
1082
- }
1083
- ._PlanGrid-grid_1v43l_5 {
1088
+ ._PlanGrid_1ar8g_1 {
1084
1089
  color: var(--puck-color-grey-02);
1085
- display: grid;
1086
- gap: 32px;
1087
1090
  text-align: left;
1088
- padding-inline: 32px;
1089
- padding-block: 20px;
1090
- @media (min-width: 768px) {
1091
- grid-template-columns: 1fr 1fr 1fr;
1092
- margin: 8px;
1093
- }
1091
+ position: relative;
1092
+ z-index: 0;
1094
1093
  }
1095
- ._PlanGrid-enterprise_1v43l_21 {
1096
- color: var(--puck-color-grey-04);
1097
- font-size: var(--puck-font-size-xxs);
1098
- margin-left: auto;
1099
- margin-right: auto;
1100
- padding-inline: 4px;
1101
- padding-top: 20px;
1102
- text-align: center;
1094
+ ._PlanGrid-billingNote_1ar8g_8,
1095
+ ._PlanGrid-planKicker_1ar8g_9 {
1096
+ font-size: var(--puck-font-size-xxxs);
1097
+ letter-spacing: 0.12em;
1103
1098
  }
1104
- ._PlanGrid-enterprise_1v43l_21 a {
1105
- color: var(--puck-color-azure-04);
1106
- cursor: pointer;
1107
- font-weight: 500;
1099
+ ._PlanGrid-billingNote_1ar8g_8 {
1100
+ color: var(--puck-color-grey-05);
1108
1101
  }
1109
-
1110
- /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/PlanCard/styles.module.css/#css-module-data */
1111
- ._PlanCard_11294_1 {
1102
+ ._PlanGrid-tableWrapper_1ar8g_18 {
1112
1103
  border: 1px solid var(--puck-color-grey-09);
1113
1104
  border-radius: 16px;
1114
- display: flex;
1115
- gap: 8px;
1116
- flex-direction: column;
1117
- min-width: 256px;
1118
- padding: 8px;
1119
- position: relative;
1105
+ overflow-x: auto;
1120
1106
  }
1121
- ._PlanCard--enterprise_11294_12 {
1122
- flex-direction: row;
1123
- grid-column: span 3;
1107
+ ._PlanGrid-table_1ar8g_18 {
1108
+ border-collapse: separate;
1109
+ border-spacing: 0;
1110
+ max-width: 1440px;
1111
+ min-width: 880px;
1112
+ table-layout: fixed;
1113
+ width: 100%;
1124
1114
  }
1125
- ._PlanCard-title_11294_17 {
1126
- display: flex;
1127
- gap: 8px;
1128
- justify-content: space-between;
1129
- font-size: var(--puck-font-size-xs);
1130
- font-weight: 700;
1115
+ ._PlanGrid-caption_1ar8g_33 {
1116
+ clip: rect(0 0 0 0);
1117
+ clip-path: inset(50%);
1118
+ height: 1px;
1119
+ overflow: hidden;
1120
+ position: absolute;
1131
1121
  white-space: nowrap;
1122
+ width: 1px;
1132
1123
  }
1133
- ._PlanCard-header_11294_26 {
1134
- box-sizing: border-box;
1135
- display: flex;
1136
- flex-direction: column;
1137
- gap: 4px;
1138
- padding: 12px 16px;
1139
- width: 100%;
1140
- min-height: 80px;
1124
+ ._PlanGrid-featureHeader_1ar8g_43,
1125
+ ._PlanGrid-featureName_1ar8g_44,
1126
+ ._PlanGrid-planHeader_1ar8g_45,
1127
+ ._PlanGrid-featureValue_1ar8g_46 {
1128
+ border-bottom: 1px solid var(--puck-color-grey-09);
1129
+ border-right: 1px solid var(--puck-color-grey-09);
1141
1130
  }
1142
- ._PlanCard-features_11294_36 {
1143
- display: grid;
1144
- gap: 4px;
1145
- list-style: none;
1146
- margin: 0;
1131
+ ._PlanGrid-featureHeader_1ar8g_43,
1132
+ ._PlanGrid-featureName_1ar8g_44 {
1133
+ background: var(--puck-color-white);
1134
+ position: sticky;
1135
+ left: 0;
1136
+ width: 24%;
1137
+ z-index: 2;
1138
+ }
1139
+ ._PlanGrid-featureHeader_1ar8g_43 {
1140
+ font-size: var(--puck-font-size-s);
1141
+ padding: 28px 24px;
1142
+ text-align: left;
1143
+ vertical-align: top;
1144
+ }
1145
+ ._PlanGrid-planHeader_1ar8g_45 {
1146
+ background: var(--puck-color-white);
1147
+ height: 336px;
1147
1148
  padding: 0;
1149
+ text-align: left;
1150
+ vertical-align: top;
1151
+ width: 25.333%;
1148
1152
  }
1149
- ._PlanCard-feature_11294_36 {
1150
- align-items: center;
1153
+ ._PlanGrid-planHeaderInner_1ar8g_76 {
1154
+ box-sizing: border-box;
1151
1155
  display: flex;
1152
- gap: 4px;
1153
- color: var(--puck-color-grey-05);
1154
- font-size: var(--puck-font-size-xxs);
1155
- }
1156
- ._PlanCard-featureIcon_11294_52 {
1157
- align-self: flex-start;
1158
- margin-top: 5px;
1156
+ flex-direction: column;
1157
+ height: 100%;
1158
+ padding: 28px 24px 24px;
1159
1159
  }
1160
- ._PlanCard-featureTitle_11294_57 {
1161
- color: var(--puck-color-grey-04);
1162
- font-weight: 600;
1160
+ ._PlanGrid-planKicker_1ar8g_9 {
1161
+ color: var(--puck-color-azure-04);
1162
+ font-weight: 700;
1163
+ min-height: 20px;
1164
+ text-transform: uppercase;
1163
1165
  }
1164
- ._PlanCard-priceValue_11294_62 {
1165
- font-size: var(--puck-font-size-m);
1166
+ ._PlanGrid-planTitle_1ar8g_91 {
1167
+ font-size: var(--puck-font-size-l);
1168
+ line-height: 1.2;
1169
+ margin: 12px 0 0;
1166
1170
  }
1167
- ._PlanCard-priceInterval_11294_66 {
1171
+ ._PlanGrid-planDescription_1ar8g_97 {
1168
1172
  color: var(--puck-color-grey-05);
1173
+ font-size: var(--puck-font-size-xxs);
1174
+ margin: 8px 0 0;
1175
+ min-height: 44px;
1176
+ font-weight: 400;
1169
1177
  }
1170
- ._PlanCard-body_11294_70 {
1171
- background-color: var(--puck-color-grey-12);
1172
- border: 1px solid var(--puck-color-grey-11);
1173
- border-radius: 8px;
1174
- padding: 16px;
1175
- flex-grow: 1;
1178
+ ._PlanGrid-priceBlock_1ar8g_105 {
1179
+ margin-top: auto;
1180
+ padding: 20px 0 16px;
1176
1181
  }
1177
- ._PlanCard--enterprise_11294_12 ._PlanCard-body_11294_70 {
1182
+ ._PlanGrid-price_1ar8g_105 {
1183
+ align-items: baseline;
1178
1184
  display: flex;
1179
- gap: 8px;
1180
- width: 100%;
1181
- }
1182
- ._PlanCard-section_11294_84 {
1183
- padding-bottom: 16px;
1184
- min-width: 192px;
1185
- }
1186
- ._PlanCard-section_11294_84:last-of-type {
1187
- padding-bottom: 0;
1188
- }
1189
- ._PlanCard-section_11294_84 + ._PlanCard-section_11294_84 {
1190
- border-top: 1px solid var(--puck-color-grey-09);
1191
- padding-top: 16px;
1192
- }
1193
- ._PlanCard--enterprise_11294_12 {
1194
- ._PlanCard-section_11294_84 + ._PlanCard-section_11294_84 {
1195
- border-left: 1px solid var(--puck-color-grey-09);
1196
- border-top: none;
1197
- padding-left: 16px;
1198
- padding-top: 0;
1199
- }
1185
+ gap: 4px;
1186
+ white-space: nowrap;
1200
1187
  }
1201
- ._PlanCard-sectionTitle_11294_107 {
1188
+ ._PlanGrid-standardPrice_1ar8g_117 {
1189
+ color: var(--puck-color-grey-06);
1202
1190
  font-size: var(--puck-font-size-xs);
1203
1191
  font-weight: 500;
1204
- margin-bottom: 8px;
1192
+ text-decoration: line-through;
1205
1193
  }
1206
- ._PlanCard-sectionBody_11294_113 + ._PlanCard-sectionTitle_11294_107 {
1207
- border-top: 1px solid var(--puck-color-grey-09);
1208
- margin-top: 16px;
1209
- padding-top: 16px;
1194
+ ._PlanGrid-priceValue_1ar8g_124 {
1195
+ font-size: var(--puck-font-size-xl);
1196
+ font-weight: 600;
1197
+ letter-spacing: -0.02em;
1210
1198
  }
1211
- ._PlanCard-sectionBody_11294_113 {
1212
- color: var(--puck-color-grey-03);
1199
+ ._PlanGrid-priceInterval_1ar8g_130 {
1200
+ color: var(--puck-color-grey-05);
1213
1201
  font-size: var(--puck-font-size-xxs);
1214
- display: grid;
1215
- gap: 2px;
1202
+ font-weight: 400;
1216
1203
  }
1217
- ._PlanCard-usageItem_11294_126 {
1218
- display: flex;
1219
- gap: 8px;
1220
- font-size: var(--puck-font-size-xxs);
1204
+ ._PlanGrid-priceNote_1ar8g_136 {
1205
+ color: var(--puck-color-azure-04);
1206
+ font-size: var(--puck-font-size-xxxs);
1207
+ font-weight: 600;
1208
+ margin-top: 2px;
1221
1209
  }
1222
- ._PlanCard-usageLabel_11294_132 {
1223
- color: var(--puck-color-grey-04);
1224
- font-weight: 500;
1210
+ ._PlanGrid-action_1ar8g_143 {
1211
+ width: 100%;
1225
1212
  }
1226
- ._PlanCard-usageValue_11294_137 {
1227
- color: var(--puck-color-grey-05);
1228
- font-family: var(--puck-font-family-monospaced);
1229
- margin-left: auto;
1213
+ ._PlanGrid-featureName_1ar8g_44,
1214
+ ._PlanGrid-featureValue_1ar8g_46 {
1215
+ font-size: var(--puck-font-size-xxs);
1216
+ min-height: 68px;
1217
+ padding: 20px 24px;
1230
1218
  }
1231
- ._PlanCard-action_11294_143 {
1232
- align-items: flex-end;
1233
- display: flex;
1234
- justify-content: flex-end;
1235
- width: 100%;
1219
+ ._PlanGrid-featureName_1ar8g_44 {
1220
+ font-weight: 600;
1221
+ text-align: left;
1236
1222
  }
1237
- ._PlanCard-description_11294_150 {
1223
+ ._PlanGrid-featureValue_1ar8g_46 {
1224
+ background: var(--puck-color-white);
1238
1225
  color: var(--puck-color-grey-04);
1239
- margin-top: 8px;
1240
- font-size: var(--puck-font-size-xxs);
1241
1226
  }
1242
- ._PlanCard_11294_1 {
1243
- position: relative;
1244
- z-index: 0;
1227
+ ._PlanGrid-featureValue_1ar8g_46 a {
1228
+ color: var(--puck-color-azure-04);
1245
1229
  }
1246
- @property --shadow-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
1247
- ._PlanCard_11294_1::before {
1248
- content: "";
1249
- position: absolute;
1250
- inset: 0;
1251
- z-index: -1;
1252
- border-radius: inherit;
1253
- background: #fff;
1230
+ ._PlanGrid-included_1ar8g_168 {
1231
+ align-items: center;
1232
+ color: var(--puck-color-grey-03);
1233
+ display: inline-flex;
1234
+ gap: 8px;
1254
1235
  }
1255
- ._PlanCard--highlight_11294_176::after {
1256
- content: "";
1257
- position: absolute;
1258
- inset: -18px;
1259
- z-index: -2;
1260
- border: 16px solid transparent;
1261
- border-radius: 34px;
1262
- opacity: 0.6;
1263
- background:
1264
- conic-gradient(
1265
- from var(--shadow-angle),
1266
- var(--puck-color-azure-07),
1267
- transparent,
1268
- var(--puck-color-rose-06),
1269
- var(--puck-color-azure-05),
1270
- transparent,
1271
- var(--puck-color-azure-07));
1272
- background-clip: padding-box;
1273
- filter: blur(12px);
1274
- }
1275
- ._PlanCard--highlight_11294_176::after {
1276
- animation: _spin_11294_1 8s linear infinite;
1277
- }
1278
- @keyframes _spin_11294_1 {
1279
- to {
1280
- --shadow-angle: 360deg;
1281
- }
1236
+ ._PlanGrid-included_1ar8g_168 svg {
1237
+ color: var(--puck-color-azure-04);
1282
1238
  }
1283
- ._PlanCard-highlightText_11294_209 {
1284
- @supports (background-clip: text) or (-webkit-background-clip: text) {
1285
- color: transparent;
1286
- background-clip: text;
1287
- -webkit-background-clip: text;
1288
- background-image:
1289
- linear-gradient(
1290
- 210deg,
1291
- var(--puck-color-azure-01) 0%,
1292
- var(--puck-color-azure-03) 40%,
1293
- var(--puck-color-red-05) 100%);
1294
- background-size: cover;
1295
- background-position: center;
1296
- }
1239
+ ._PlanGrid-unavailable_1ar8g_179 {
1240
+ color: var(--puck-color-grey-07);
1297
1241
  }
1298
- ._PlanCard--fullWidth_11294_225 {
1299
- flex-direction: row;
1300
- grid-column: 1 / -1;
1242
+ ._PlanGrid-highlightCell_1ar8g_183 {
1243
+ background: var(--puck-color-azure-12);
1301
1244
  }
1302
- ._PlanCard--fullWidth_11294_225 ._PlanCard-header_11294_26 {
1303
- max-width: 312px;
1245
+ ._PlanGrid-planHeader_1ar8g_45._PlanGrid-highlightCell_1ar8g_183 {
1246
+ box-shadow: inset 0 3px 0 var(--puck-color-azure-04);
1304
1247
  }
1305
- ._PlanCard--fullWidth_11294_225 ._PlanCard-action_11294_143 {
1306
- max-width: 256px;
1248
+ ._PlanGrid-planHeader_1ar8g_45:last-child,
1249
+ ._PlanGrid-featureValue_1ar8g_46:last-child {
1250
+ border-right: 0;
1307
1251
  }
1308
- ._PlanCard--fullWidth_11294_225 ._PlanCard-sectionBody_11294_113 {
1309
- display: grid;
1310
- grid-template-rows: 1fr 1fr 1fr 1fr;
1311
- grid-auto-flow: column;
1252
+ ._PlanGrid-table_1ar8g_18 tbody tr:last-child ._PlanGrid-featureName_1ar8g_44,
1253
+ ._PlanGrid-table_1ar8g_18 tbody tr:last-child ._PlanGrid-featureValue_1ar8g_46 {
1254
+ border-bottom: 0;
1255
+ }
1256
+ ._PlanGrid-enterprise_1ar8g_201 {
1257
+ color: var(--puck-color-grey-04);
1258
+ font-size: var(--puck-font-size-xxs);
1259
+ margin-left: auto;
1260
+ margin-right: auto;
1261
+ padding-inline: 4px;
1262
+ padding-top: 20px;
1263
+ text-align: center;
1264
+ }
1265
+ ._PlanGrid-enterprise_1ar8g_201 a {
1266
+ color: var(--puck-color-azure-04);
1267
+ cursor: pointer;
1268
+ font-weight: 500;
1312
1269
  }
1313
1270
 
1314
1271
  /* css-module:/home/runner/work/platform/platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
@@ -1585,60 +1542,70 @@ button._Menu-item_1tu16_55:hover {
1585
1542
  }
1586
1543
 
1587
1544
  /* css-module:/home/runner/work/platform/platform/packages/plugin-ai/src/components/ChatBody/styles.module.css/#css-module-data */
1588
- ._Chat_1utn2_1 {
1545
+ ._Chat_5z5yi_1 {
1589
1546
  --fade-size: 32px;
1590
1547
  --chat-background-color: white;
1591
1548
  display: flex;
1592
1549
  flex-direction: column;
1593
1550
  height: 100%;
1594
- max-height: 55vh;
1551
+ max-height: 55dvh;
1595
1552
  overflow: hidden;
1553
+ transition: background-color 250ms ease-in, max-height 250ms ease-in;
1554
+ }
1555
+ ._Chat--hasMessages_5z5yi_17 {
1556
+ max-height: 45dvh;
1596
1557
  }
1597
1558
  @media (min-width: 638px) {
1598
- ._Chat_1utn2_1 {
1559
+ ._Chat_5z5yi_1,
1560
+ ._Chat--hasMessages_5z5yi_17 {
1599
1561
  max-height: none;
1600
1562
  }
1601
1563
  }
1602
- ._Chat-inner_1utn2_17 {
1564
+ ._Chat-inner_5z5yi_28 {
1603
1565
  background-color: var(--chat-background-color);
1604
1566
  display: flex;
1605
1567
  flex-direction: column;
1606
1568
  max-height: 100%;
1607
1569
  position: relative;
1608
1570
  }
1609
- ._Chat--hasMessages_1utn2_25 ._Chat-inner_1utn2_17 {
1571
+ ._Chat--hasMessages_5z5yi_17 ._Chat-inner_5z5yi_28 {
1610
1572
  padding-top: 0;
1611
1573
  }
1612
- ._Chat_1utn2_1:not(._Chat--hasChildren_1utn2_29) ._Chat-inner_1utn2_17 {
1574
+ ._Chat_5z5yi_1:not(._Chat--hasChildren_5z5yi_40) ._Chat-inner_5z5yi_28 {
1613
1575
  height: 100%;
1614
1576
  padding-top: 0;
1615
1577
  }
1616
- ._Chat-body_1utn2_34 {
1578
+ ._Chat-body_5z5yi_45 {
1579
+ display: none;
1617
1580
  padding: 16px;
1618
1581
  overflow: auto;
1619
1582
  }
1620
- ._Chat--hasMessages_1utn2_25 ._Chat-messages_1utn2_39 {
1583
+ ._Chat--hasMessages_5z5yi_17 ._Chat-body_5z5yi_45,
1584
+ ._Chat--isLoading_5z5yi_52 ._Chat-body_5z5yi_45 {
1585
+ display: block;
1586
+ }
1587
+ ._Chat--hasMessages_5z5yi_17 ._Chat-messages_5z5yi_56 {
1621
1588
  display: flex;
1622
1589
  flex-direction: column-reverse;
1623
1590
  gap: 16px;
1624
1591
  overflow: auto;
1625
1592
  }
1626
- ._Chat-form_1utn2_46 {
1593
+ ._Chat-form_5z5yi_63 {
1627
1594
  background-color: white;
1628
1595
  padding: 16px;
1629
1596
  }
1630
- ._Chat--hideInput_1utn2_51 ._Chat-form_1utn2_46 {
1597
+ ._Chat--hideInput_5z5yi_68 ._Chat-form_5z5yi_63 {
1631
1598
  display: none;
1632
1599
  }
1633
- ._Chat--hasMessages_1utn2_25 ._Chat-form_1utn2_46 {
1600
+ ._Chat--hasMessages_5z5yi_17 ._Chat-form_5z5yi_63 {
1634
1601
  border-top: 1px solid var(--puck-color-grey-09);
1635
1602
  }
1636
1603
  @media (min-width: 638px) {
1637
- ._Chat-form_1utn2_46 {
1604
+ ._Chat-form_5z5yi_63 {
1638
1605
  border-top: 1px solid var(--puck-color-grey-09);
1639
1606
  }
1640
1607
  }
1641
- ._Chat-formHelper_1utn2_65 {
1608
+ ._Chat-formHelper_5z5yi_82 {
1642
1609
  align-items: center;
1643
1610
  display: flex;
1644
1611
  color: var(--puck-color-grey-04);
@@ -1647,11 +1614,11 @@ button._Menu-item_1tu16_55:hover {
1647
1614
  gap: 8px;
1648
1615
  padding-bottom: 12px;
1649
1616
  }
1650
- ._Chat--hasMessages_1utn2_25 ._Chat-formHelper_1utn2_65 {
1617
+ ._Chat--hasMessages_5z5yi_17 ._Chat-formHelper_5z5yi_82 {
1651
1618
  opacity: 0;
1652
1619
  transition: opacity 250ms ease-in;
1653
1620
  }
1654
- ._Chat-examplePrompts_1utn2_80 {
1621
+ ._Chat-examplePrompts_5z5yi_97 {
1655
1622
  align-items: center;
1656
1623
  display: flex;
1657
1624
  flex-wrap: nowrap;
@@ -1660,7 +1627,7 @@ button._Menu-item_1tu16_55:hover {
1660
1627
  width: 100%;
1661
1628
  overflow-x: auto;
1662
1629
  }
1663
- ._Chat-examplePrompt_1utn2_80 {
1630
+ ._Chat-examplePrompt_5z5yi_97 {
1664
1631
  align-items: center;
1665
1632
  background: white;
1666
1633
  border: 1px solid var(--puck-color-grey-09);
@@ -1673,36 +1640,35 @@ button._Menu-item_1tu16_55:hover {
1673
1640
  padding: 6px 12px;
1674
1641
  text-wrap: nowrap;
1675
1642
  }
1676
- ._Chat-examplePrompt_1utn2_80:hover {
1643
+ ._Chat-examplePrompt_5z5yi_97:hover {
1677
1644
  background: var(--puck-color-azure-11);
1678
1645
  border-color: var(--puck-color-azure-08);
1679
1646
  color: var(--puck-color-azure-04);
1680
1647
  }
1681
- ._Chat-examplePrompt_1utn2_80:disabled,
1682
- ._Chat-examplePrompt_1utn2_80[aria-disabled=true] {
1648
+ ._Chat-examplePrompt_5z5yi_97:disabled,
1649
+ ._Chat-examplePrompt_5z5yi_97[aria-disabled=true] {
1683
1650
  cursor: not-allowed;
1684
1651
  opacity: 0.5;
1685
1652
  pointer-events: none;
1686
1653
  }
1687
- ._Chat-examplePromptArrow_1utn2_117 {
1654
+ ._Chat-examplePromptArrow_5z5yi_134 {
1688
1655
  display: flex;
1689
1656
  margin-left: auto;
1690
1657
  }
1691
- ._Chat-default_1utn2_122 {
1658
+ ._Chat-default_5z5yi_139 {
1692
1659
  overflow-y: auto;
1693
1660
  flex-grow: 1;
1694
1661
  }
1695
- ._Chat--hasMessages_1utn2_25 ._Chat-default_1utn2_122 {
1662
+ ._Chat--hasMessages_5z5yi_17 ._Chat-default_5z5yi_139 {
1696
1663
  opacity: 0;
1697
1664
  padding: 0;
1698
1665
  pointer-events: none;
1699
1666
  transition: opacity 250ms ease-in;
1700
1667
  }
1701
- ._Chat--hasMessages_1utn2_25 {
1668
+ ._Chat--hasMessages_5z5yi_17 {
1702
1669
  background-color: white;
1703
- transition: background-color 250ms ease-in;
1704
1670
  }
1705
- ._ChatMessage_1utn2_139 {
1671
+ ._ChatMessage_5z5yi_155 {
1706
1672
  display: flex;
1707
1673
  flex-direction: column;
1708
1674
  gap: 16px;
@@ -1710,7 +1676,7 @@ button._Menu-item_1tu16_55:hover {
1710
1676
  line-height: var(--line-height-s);
1711
1677
  overflow-wrap: break-word;
1712
1678
  }
1713
- ._ChatMessage--userRole_1utn2_148 ._ChatMessage-userBubble_1utn2_148 {
1679
+ ._ChatMessage--userRole_5z5yi_164 ._ChatMessage-userBubble_5z5yi_164 {
1714
1680
  background: var(--puck-color-azure-10);
1715
1681
  border-radius: 16px;
1716
1682
  color: var(--puck-color-grey-03);
@@ -1720,12 +1686,12 @@ button._Menu-item_1tu16_55:hover {
1720
1686
  margin-left: 24px;
1721
1687
  padding: 12px 16px;
1722
1688
  }
1723
- ._ChatMessage-userAttachments_1utn2_159 {
1689
+ ._ChatMessage-userAttachments_5z5yi_175 {
1724
1690
  display: flex;
1725
1691
  flex-wrap: wrap;
1726
1692
  gap: 6px;
1727
1693
  }
1728
- ._ChatMessage-thumbnail_1utn2_165 {
1694
+ ._ChatMessage-thumbnail_5z5yi_181 {
1729
1695
  align-items: center;
1730
1696
  background: var(--puck-color-grey-12);
1731
1697
  border: 1px solid var(--puck-color-grey-09);
@@ -1741,18 +1707,18 @@ button._Menu-item_1tu16_55:hover {
1741
1707
  text-decoration: none;
1742
1708
  width: 92px;
1743
1709
  }
1744
- ._ChatMessage-thumbnail_1utn2_165:hover {
1710
+ ._ChatMessage-thumbnail_5z5yi_181:hover {
1745
1711
  border-color: var(--puck-color-azure-08);
1746
1712
  color: var(--puck-color-azure-04);
1747
1713
  opacity: 0.6;
1748
1714
  }
1749
- ._ChatMessage-thumbnail_1utn2_165 img {
1715
+ ._ChatMessage-thumbnail_5z5yi_181 img {
1750
1716
  display: block;
1751
1717
  height: 100%;
1752
1718
  object-fit: cover;
1753
1719
  width: 100%;
1754
1720
  }
1755
- ._ChatMessage-thumbnailLabel_1utn2_195 {
1721
+ ._ChatMessage-thumbnailLabel_5z5yi_211 {
1756
1722
  background: var(--puck-color-grey-12);
1757
1723
  border-top: 1px solid var(--puck-color-grey-09);
1758
1724
  bottom: 0;
@@ -1771,70 +1737,70 @@ button._Menu-item_1tu16_55:hover {
1771
1737
  text-overflow: ellipsis;
1772
1738
  white-space: nowrap;
1773
1739
  }
1774
- ._ChatMessage_1utn2_139 ul,
1775
- ._ChatMessage_1utn2_139 ol {
1740
+ ._ChatMessage_5z5yi_155 ul,
1741
+ ._ChatMessage_5z5yi_155 ol {
1776
1742
  list-style: decimal;
1777
1743
  margin: 0;
1778
1744
  margin-bottom: 12px;
1779
1745
  margin-top: 12px;
1780
1746
  padding-left: 32px;
1781
1747
  }
1782
- ._ChatMessage_1utn2_139 li {
1748
+ ._ChatMessage_5z5yi_155 li {
1783
1749
  margin-bottom: 8px;
1784
1750
  margin-top: 8px;
1785
1751
  padding-left: 8px;
1786
1752
  }
1787
- ._ChatMessage_1utn2_139 h1,
1788
- ._ChatMessage_1utn2_139 h2,
1789
- ._ChatMessage_1utn2_139 h3,
1790
- ._ChatMessage_1utn2_139 h4,
1791
- ._ChatMessage_1utn2_139 h5,
1792
- ._ChatMessage_1utn2_139 h6 {
1753
+ ._ChatMessage_5z5yi_155 h1,
1754
+ ._ChatMessage_5z5yi_155 h2,
1755
+ ._ChatMessage_5z5yi_155 h3,
1756
+ ._ChatMessage_5z5yi_155 h4,
1757
+ ._ChatMessage_5z5yi_155 h5,
1758
+ ._ChatMessage_5z5yi_155 h6 {
1793
1759
  font-weight: 600;
1794
1760
  }
1795
- ._ChatMessage_1utn2_139 h1 {
1761
+ ._ChatMessage_5z5yi_155 h1 {
1796
1762
  font-size: var(--puck-font-l);
1797
1763
  }
1798
- ._ChatMessage_1utn2_139 h2 {
1764
+ ._ChatMessage_5z5yi_155 h2 {
1799
1765
  font-size: var(--puck-font-m);
1800
1766
  }
1801
- ._ChatMessage_1utn2_139 h3 {
1767
+ ._ChatMessage_5z5yi_155 h3 {
1802
1768
  font-size: var(--puck-font-m);
1803
1769
  }
1804
- ._ChatMessage_1utn2_139 h4 {
1770
+ ._ChatMessage_5z5yi_155 h4 {
1805
1771
  font-size: var(--puck-font-s);
1806
1772
  }
1807
- ._ChatMessage_1utn2_139 h5 {
1773
+ ._ChatMessage_5z5yi_155 h5 {
1808
1774
  font-size: var(--puck-font-xs);
1809
1775
  }
1810
- ._ChatMessage_1utn2_139 h6 {
1776
+ ._ChatMessage_5z5yi_155 h6 {
1811
1777
  font-size: var(--puck-font-xm);
1812
1778
  }
1813
- ._ChatMessage_1utn2_139 p {
1779
+ ._ChatMessage_5z5yi_155 p {
1814
1780
  margin-bottom: 8px;
1815
1781
  margin-top: 8px;
1816
1782
  }
1817
- ._ChatMessage-text_1utn2_268 > *:first-of-type {
1783
+ ._ChatMessage-text_5z5yi_284 > *:first-of-type {
1818
1784
  margin-top: 0px;
1819
1785
  }
1820
- ._ChatMessage-text_1utn2_268 > *:last-of-type {
1786
+ ._ChatMessage-text_5z5yi_284 > *:last-of-type {
1821
1787
  margin-bottom: 0px;
1822
1788
  }
1823
- ._ChatMessage_1utn2_139 a {
1789
+ ._ChatMessage_5z5yi_155 a {
1824
1790
  color: var(--puck-color-azure-04);
1825
1791
  font-weight: 600;
1826
1792
  text-decoration: none;
1827
1793
  }
1828
- ._ChatMessage_1utn2_139 a:hover {
1794
+ ._ChatMessage_5z5yi_155 a:hover {
1829
1795
  color: var(--puck-color-azure-05);
1830
1796
  }
1831
- ._ChatMessage_1utn2_139 hr {
1797
+ ._ChatMessage_5z5yi_155 hr {
1832
1798
  border-top: none;
1833
1799
  border-bottom-color: var(--puck-color-grey-09);
1834
1800
  margin-bottom: 16px;
1835
1801
  margin-top: 16px;
1836
1802
  }
1837
- ._ChatMessage-text_1utn2_268 blockquote {
1803
+ ._ChatMessage-text_5z5yi_284 blockquote {
1838
1804
  margin-bottom: 8px;
1839
1805
  margin-top: 8px;
1840
1806
  margin-left: 0;
@@ -1843,73 +1809,73 @@ button._Menu-item_1tu16_55:hover {
1843
1809
  padding-bottom: 2px;
1844
1810
  padding-top: 2px;
1845
1811
  }
1846
- ._ChatMessage-event_1utn2_303 {
1812
+ ._ChatMessage-event_5z5yi_319 {
1847
1813
  color: var(--puck-color-grey-05);
1848
1814
  }
1849
- ._ChatMessage-eventBody_1utn2_307 > ._ChatMessage-event_1utn2_303:first-child {
1815
+ ._ChatMessage-eventBody_5z5yi_323 > ._ChatMessage-event_5z5yi_319:first-child {
1850
1816
  padding-top: 8px;
1851
1817
  }
1852
- ._ChatMessage-eventBody_1utn2_307 > ._ChatMessage-event_1utn2_303:last-child {
1818
+ ._ChatMessage-eventBody_5z5yi_323 > ._ChatMessage-event_5z5yi_319:last-child {
1853
1819
  padding-bottom: 8px;
1854
1820
  margin-bottom: 0;
1855
1821
  }
1856
- ._ChatMessage-eventCollapse_1utn2_316 {
1822
+ ._ChatMessage-eventCollapse_5z5yi_332 {
1857
1823
  display: none;
1858
1824
  }
1859
- ._ChatMessage-event_1utn2_303[open] > ._ChatMessage-eventHeader_1utn2_320 > ._ChatMessage-eventExpand_1utn2_320 {
1825
+ ._ChatMessage-event_5z5yi_319[open] > ._ChatMessage-eventHeader_5z5yi_336 > ._ChatMessage-eventExpand_5z5yi_336 {
1860
1826
  display: none;
1861
1827
  }
1862
- ._ChatMessage-event_1utn2_303[open] > ._ChatMessage-eventHeader_1utn2_320 > ._ChatMessage-eventCollapse_1utn2_316 {
1828
+ ._ChatMessage-event_5z5yi_319[open] > ._ChatMessage-eventHeader_5z5yi_336 > ._ChatMessage-eventCollapse_5z5yi_332 {
1863
1829
  display: block;
1864
1830
  }
1865
- ._ChatMessage-eventHeader_1utn2_320 {
1831
+ ._ChatMessage-eventHeader_5z5yi_336 {
1866
1832
  align-items: center;
1867
1833
  display: flex;
1868
1834
  gap: 8px;
1869
1835
  cursor: pointer;
1870
1836
  list-style: none;
1871
1837
  }
1872
- ._ChatMessage-eventHeader_1utn2_320::-webkit-details-marker {
1838
+ ._ChatMessage-eventHeader_5z5yi_336::-webkit-details-marker {
1873
1839
  display: none;
1874
1840
  }
1875
- ._ChatMessage-eventHeader_1utn2_320:hover {
1841
+ ._ChatMessage-eventHeader_5z5yi_336:hover {
1876
1842
  color: var(--puck-color-grey-03);
1877
1843
  }
1878
- ._ChatMessage-eventIcon_1utn2_346 {
1844
+ ._ChatMessage-eventIcon_5z5yi_362 {
1879
1845
  display: flex;
1880
1846
  }
1881
- ._ChatMessage-eventLabel_1utn2_350 {
1847
+ ._ChatMessage-eventLabel_5z5yi_366 {
1882
1848
  text-overflow: ellipsis;
1883
1849
  overflow: hidden;
1884
1850
  white-space: nowrap;
1885
1851
  }
1886
- ._ChatMessage-eventBody_1utn2_307 {
1852
+ ._ChatMessage-eventBody_5z5yi_323 {
1887
1853
  border-left: 2px solid var(--puck-color-grey-09);
1888
1854
  color: var(--puck-color-grey-05);
1889
1855
  font-size: var(--puck-font-size-xxs);
1890
1856
  margin-top: 8px;
1891
1857
  padding-left: 12px;
1892
1858
  }
1893
- ._ChatMessage-attachmentImage_1utn2_364 {
1859
+ ._ChatMessage-attachmentImage_5z5yi_380 {
1894
1860
  margin-bottom: 12px;
1895
1861
  margin-top: 12px;
1896
1862
  margin-right: 24px;
1897
1863
  }
1898
- ._ChatMessage-attachmentImage_1utn2_364 a {
1864
+ ._ChatMessage-attachmentImage_5z5yi_380 a {
1899
1865
  display: inline-block;
1900
1866
  }
1901
- ._ChatMessage-attachmentImage_1utn2_364 img {
1867
+ ._ChatMessage-attachmentImage_5z5yi_380 img {
1902
1868
  border: 1px solid var(--puck-color-grey-09);
1903
1869
  border-radius: 16px;
1904
1870
  display: block;
1905
1871
  max-width: min(100%, 280px);
1906
1872
  }
1907
- ._ChatMessage-attachmentFile_1utn2_381 {
1873
+ ._ChatMessage-attachmentFile_5z5yi_397 {
1908
1874
  margin-bottom: 12px;
1909
1875
  margin-top: 12px;
1910
1876
  margin-right: 24px;
1911
1877
  }
1912
- ._ChatMessage-attachmentFile_1utn2_381 a {
1878
+ ._ChatMessage-attachmentFile_5z5yi_397 a {
1913
1879
  align-items: center;
1914
1880
  background: var(--puck-color-grey-12);
1915
1881
  border: 1px solid var(--puck-color-grey-08);
@@ -1920,11 +1886,11 @@ button._Menu-item_1tu16_55:hover {
1920
1886
  padding: 8px 12px;
1921
1887
  text-decoration: none;
1922
1888
  }
1923
- ._ChatMessage-attachmentFile_1utn2_381 a:hover {
1889
+ ._ChatMessage-attachmentFile_5z5yi_397 a:hover {
1924
1890
  border-color: var(--puck-color-azure-08);
1925
1891
  color: var(--puck-color-azure-04);
1926
1892
  }
1927
- ._Chat-loader_1utn2_404 {
1893
+ ._Chat-loader_5z5yi_420 {
1928
1894
  align-items: center;
1929
1895
  color: var(--puck-color-grey-05);
1930
1896
  display: flex;
@@ -1933,10 +1899,10 @@ button._Menu-item_1tu16_55:hover {
1933
1899
  line-height: var(--line-height-s);
1934
1900
  margin-top: 16px;
1935
1901
  }
1936
- ._Chat-loaderIcon_1utn2_414 {
1902
+ ._Chat-loaderIcon_5z5yi_430 {
1937
1903
  height: 16px;
1938
1904
  }
1939
- ._Chat-error_1utn2_418 {
1905
+ ._Chat-error_5z5yi_434 {
1940
1906
  align-items: center;
1941
1907
  display: flex;
1942
1908
  gap: 8px;
@@ -1944,13 +1910,13 @@ button._Menu-item_1tu16_55:hover {
1944
1910
  margin: 16px;
1945
1911
  margin-top: 0;
1946
1912
  }
1947
- ._Chat-errorLabel_1utn2_427 {
1913
+ ._Chat-errorLabel_5z5yi_443 {
1948
1914
  color: var(--puck-color-red-04);
1949
1915
  }
1950
- ._Chat-errorAction_1utn2_431 {
1916
+ ._Chat-errorAction_5z5yi_447 {
1951
1917
  margin-left: auto;
1952
1918
  }
1953
- ._Chat-userError_1utn2_435 {
1919
+ ._Chat-userError_5z5yi_451 {
1954
1920
  align-items: center;
1955
1921
  color: var(--puck-color-red-04);
1956
1922
  display: flex;
@@ -1959,17 +1925,17 @@ button._Menu-item_1tu16_55:hover {
1959
1925
  padding: 0 16px;
1960
1926
  padding-bottom: 8px;
1961
1927
  }
1962
- ._Chat-userErrorDismiss_1utn2_445 {
1928
+ ._Chat-userErrorDismiss_5z5yi_461 {
1963
1929
  all: unset;
1964
1930
  cursor: pointer;
1965
1931
  display: flex;
1966
1932
  flex-shrink: 0;
1967
1933
  opacity: 0.6;
1968
1934
  }
1969
- ._Chat-userErrorDismiss_1utn2_445:hover {
1935
+ ._Chat-userErrorDismiss_5z5yi_461:hover {
1970
1936
  opacity: 1;
1971
1937
  }
1972
- ._Chat-userErrorDismiss_1utn2_445:focus-visible {
1938
+ ._Chat-userErrorDismiss_5z5yi_461:focus-visible {
1973
1939
  border-radius: 4px;
1974
1940
  outline: 2px solid var(--puck-color-azure-04);
1975
1941
  opacity: 1;