@puckeditor/plugin-ai 0.1.0-canary.2fcf4271 → 0.1.0-canary.3249f088
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 +116 -202
- package/dist/index.d.mts +27 -107
- package/dist/index.d.ts +27 -107
- package/dist/index.js +487 -634
- package/dist/index.mjs +482 -629
- package/package.json +5 -4
package/dist/index.css
CHANGED
|
@@ -234,7 +234,7 @@ p {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Modal/Modal.module.css/#css-module-data */
|
|
237
|
-
._Modal-
|
|
237
|
+
._Modal-background_874yi_1 {
|
|
238
238
|
align-items: center;
|
|
239
239
|
display: flex;
|
|
240
240
|
justify-content: center;
|
|
@@ -248,26 +248,24 @@ p {
|
|
|
248
248
|
opacity: 0;
|
|
249
249
|
pointer-events: none;
|
|
250
250
|
}
|
|
251
|
-
._Modal--
|
|
251
|
+
._Modal--visible_874yi_16 ._Modal-background_874yi_1 {
|
|
252
252
|
opacity: 1;
|
|
253
253
|
transition: opacity ease 100ms;
|
|
254
254
|
pointer-events: auto;
|
|
255
255
|
}
|
|
256
|
-
._Modal-
|
|
256
|
+
._Modal-modal_874yi_22 {
|
|
257
257
|
background: white;
|
|
258
|
-
border-radius:
|
|
258
|
+
border-radius: 8px;
|
|
259
259
|
display: block;
|
|
260
|
-
|
|
261
|
-
margin-inline: 24px;
|
|
262
|
-
overflow: auto;
|
|
260
|
+
overflow: hidden;
|
|
263
261
|
}
|
|
264
262
|
|
|
265
263
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Button/Button.module.css/#css-module-data */
|
|
266
|
-
.
|
|
264
|
+
._Button_w2ngt_1 {
|
|
267
265
|
appearance: none;
|
|
268
266
|
background: none;
|
|
269
267
|
border: 1px solid transparent;
|
|
270
|
-
border-radius:
|
|
268
|
+
border-radius: 4px;
|
|
271
269
|
color: var(--puck-color-white);
|
|
272
270
|
display: inline-flex;
|
|
273
271
|
align-items: center;
|
|
@@ -285,80 +283,69 @@ p {
|
|
|
285
283
|
white-space: nowrap;
|
|
286
284
|
margin: 0;
|
|
287
285
|
}
|
|
288
|
-
.
|
|
289
|
-
.
|
|
286
|
+
._Button_w2ngt_1:hover,
|
|
287
|
+
._Button_w2ngt_1:active {
|
|
290
288
|
transition: none;
|
|
291
289
|
}
|
|
292
|
-
._Button--
|
|
290
|
+
._Button--medium_w2ngt_29 {
|
|
293
291
|
min-height: 34px;
|
|
294
292
|
padding-bottom: 7px;
|
|
295
293
|
padding-left: 19px;
|
|
296
294
|
padding-right: 19px;
|
|
297
295
|
padding-top: 7px;
|
|
298
296
|
}
|
|
299
|
-
._Button--
|
|
297
|
+
._Button--large_w2ngt_37 {
|
|
300
298
|
padding-bottom: 11px;
|
|
301
299
|
padding-left: 19px;
|
|
302
300
|
padding-right: 19px;
|
|
303
301
|
padding-top: 11px;
|
|
304
302
|
}
|
|
305
|
-
._Button-
|
|
303
|
+
._Button-icon_w2ngt_44 {
|
|
306
304
|
margin-top: 2px;
|
|
307
305
|
}
|
|
308
|
-
._Button--
|
|
306
|
+
._Button--primary_w2ngt_48 {
|
|
309
307
|
background: var(--puck-color-azure-04);
|
|
310
308
|
}
|
|
311
|
-
.
|
|
309
|
+
._Button_w2ngt_1:focus-visible {
|
|
312
310
|
outline: 2px solid var(--puck-color-azure-05);
|
|
313
311
|
outline-offset: 2px;
|
|
314
312
|
}
|
|
315
313
|
@media (hover: hover) and (pointer: fine) {
|
|
316
|
-
._Button--
|
|
314
|
+
._Button--primary_w2ngt_48:hover {
|
|
317
315
|
background-color: var(--puck-color-azure-03);
|
|
318
316
|
}
|
|
319
317
|
}
|
|
320
|
-
._Button--
|
|
318
|
+
._Button--primary_w2ngt_48:active {
|
|
321
319
|
background-color: var(--puck-color-azure-02);
|
|
322
320
|
}
|
|
323
|
-
._Button--
|
|
321
|
+
._Button--secondary_w2ngt_67 {
|
|
324
322
|
border: 1px solid currentColor;
|
|
325
323
|
color: currentColor;
|
|
326
324
|
}
|
|
327
325
|
@media (hover: hover) and (pointer: fine) {
|
|
328
|
-
._Button--
|
|
326
|
+
._Button--secondary_w2ngt_67:hover {
|
|
329
327
|
background-color: var(--puck-color-azure-12);
|
|
330
328
|
color: var(--puck-color-black);
|
|
331
329
|
}
|
|
332
330
|
}
|
|
333
|
-
._Button--
|
|
331
|
+
._Button--secondary_w2ngt_67:active {
|
|
334
332
|
background-color: var(--puck-color-azure-11);
|
|
335
333
|
color: var(--puck-color-black);
|
|
336
334
|
}
|
|
337
|
-
._Button--
|
|
338
|
-
background: var(--puck-color-red-04);
|
|
339
|
-
}
|
|
340
|
-
@media (hover: hover) and (pointer: fine) {
|
|
341
|
-
._Button--danger_1wyvm_84:hover {
|
|
342
|
-
background-color: var(--puck-color-red-03);
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
._Button--danger_1wyvm_84:active {
|
|
346
|
-
background-color: var(--puck-color-red-02);
|
|
347
|
-
}
|
|
348
|
-
._Button--flush_1wyvm_98 {
|
|
335
|
+
._Button--flush_w2ngt_84 {
|
|
349
336
|
border-radius: 0;
|
|
350
337
|
}
|
|
351
|
-
._Button--
|
|
352
|
-
._Button--
|
|
338
|
+
._Button--disabled_w2ngt_88,
|
|
339
|
+
._Button--disabled_w2ngt_88:hover {
|
|
353
340
|
background-color: var(--puck-color-grey-09);
|
|
354
341
|
color: var(--puck-color-grey-03);
|
|
355
342
|
cursor: not-allowed;
|
|
356
343
|
}
|
|
357
|
-
._Button--
|
|
344
|
+
._Button--fullWidth_w2ngt_95 {
|
|
358
345
|
justify-content: center;
|
|
359
346
|
width: 100%;
|
|
360
347
|
}
|
|
361
|
-
._Button-
|
|
348
|
+
._Button-spinner_w2ngt_100 {
|
|
362
349
|
padding-left: 8px;
|
|
363
350
|
}
|
|
364
351
|
|
|
@@ -385,72 +372,43 @@ p {
|
|
|
385
372
|
}
|
|
386
373
|
|
|
387
374
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Heading/Heading.module.css/#css-module-data */
|
|
388
|
-
.
|
|
375
|
+
._Heading_1czuc_1 {
|
|
389
376
|
display: block;
|
|
390
377
|
font-weight: 700;
|
|
391
378
|
margin: 0;
|
|
392
379
|
}
|
|
393
|
-
.
|
|
380
|
+
._Heading_1czuc_1 b {
|
|
394
381
|
font-weight: 700;
|
|
395
382
|
}
|
|
396
|
-
._Heading--
|
|
383
|
+
._Heading--xxxxl_1czuc_11 {
|
|
384
|
+
font-size: var(--puck-font-size-xxxxl);
|
|
385
|
+
letter-spacing: 0.08ch;
|
|
386
|
+
font-weight: 800;
|
|
387
|
+
}
|
|
388
|
+
._Heading--xxxl_1czuc_17 {
|
|
397
389
|
font-size: var(--puck-font-size-xxxl);
|
|
398
390
|
}
|
|
399
|
-
._Heading--
|
|
391
|
+
._Heading--xxl_1czuc_21 {
|
|
400
392
|
font-size: var(--puck-font-size-xxl);
|
|
401
393
|
}
|
|
402
|
-
._Heading--
|
|
394
|
+
._Heading--xl_1czuc_25 {
|
|
403
395
|
font-size: var(--puck-font-size-xl);
|
|
404
396
|
}
|
|
405
|
-
._Heading--
|
|
397
|
+
._Heading--l_1czuc_29 {
|
|
406
398
|
font-size: var(--puck-font-size-l);
|
|
407
399
|
}
|
|
408
|
-
._Heading--
|
|
400
|
+
._Heading--m_1czuc_33 {
|
|
409
401
|
font-size: var(--puck-font-size-m);
|
|
410
402
|
}
|
|
411
|
-
._Heading--
|
|
403
|
+
._Heading--s_1czuc_37 {
|
|
412
404
|
font-size: var(--puck-font-size-s);
|
|
413
405
|
}
|
|
414
|
-
._Heading--
|
|
406
|
+
._Heading--xs_1czuc_41 {
|
|
415
407
|
font-size: var(--puck-font-size-xs);
|
|
416
408
|
}
|
|
417
|
-
._Heading--
|
|
409
|
+
._Heading--xxs_1czuc_45 {
|
|
418
410
|
font-size: var(--puck-font-size-xxs);
|
|
419
411
|
}
|
|
420
|
-
._Heading--xxs_qkzg9_43 {
|
|
421
|
-
font-size: var(--puck-font-size-xxs);
|
|
422
|
-
}
|
|
423
|
-
@media (min-width: 768px) {
|
|
424
|
-
._Heading--xxxxl_qkzg9_11 {
|
|
425
|
-
font-size: var(--puck-font-size-xxxxl);
|
|
426
|
-
letter-spacing: 0.08ch;
|
|
427
|
-
font-weight: 800;
|
|
428
|
-
}
|
|
429
|
-
._Heading--xxxl_qkzg9_15 {
|
|
430
|
-
font-size: var(--puck-font-size-xxxl);
|
|
431
|
-
}
|
|
432
|
-
._Heading--xxl_qkzg9_19 {
|
|
433
|
-
font-size: var(--puck-font-size-xxl);
|
|
434
|
-
}
|
|
435
|
-
._Heading--xl_qkzg9_23 {
|
|
436
|
-
font-size: var(--puck-font-size-xl);
|
|
437
|
-
}
|
|
438
|
-
._Heading--l_qkzg9_27 {
|
|
439
|
-
font-size: var(--puck-font-size-l);
|
|
440
|
-
}
|
|
441
|
-
._Heading--m_qkzg9_31 {
|
|
442
|
-
font-size: var(--puck-font-size-m);
|
|
443
|
-
}
|
|
444
|
-
._Heading--s_qkzg9_35 {
|
|
445
|
-
font-size: var(--puck-font-size-s);
|
|
446
|
-
}
|
|
447
|
-
._Heading--xs_qkzg9_39 {
|
|
448
|
-
font-size: var(--puck-font-size-xs);
|
|
449
|
-
}
|
|
450
|
-
._Heading--xxs_qkzg9_43 {
|
|
451
|
-
font-size: var(--puck-font-size-xxs);
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
412
|
|
|
455
413
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Align/Align.module.css/#css-module-data */
|
|
456
414
|
._Align_oewlu_1 {
|
|
@@ -644,13 +602,13 @@ p {
|
|
|
644
602
|
}
|
|
645
603
|
|
|
646
604
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Page/Page.module.css/#css-module-data */
|
|
647
|
-
.
|
|
605
|
+
._Page_1pzwy_1 {
|
|
648
606
|
display: flex;
|
|
649
607
|
flex-direction: column;
|
|
650
608
|
height: 100%;
|
|
651
609
|
overflow: hidden;
|
|
652
610
|
}
|
|
653
|
-
._Page-
|
|
611
|
+
._Page-masthead_1pzwy_8 {
|
|
654
612
|
align-items: center;
|
|
655
613
|
display: flex;
|
|
656
614
|
gap: 16px;
|
|
@@ -658,47 +616,45 @@ p {
|
|
|
658
616
|
box-sizing: border-box;
|
|
659
617
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
|
660
618
|
min-height: 64px;
|
|
661
|
-
overflow-x: auto;
|
|
662
619
|
}
|
|
663
|
-
._Page-
|
|
620
|
+
._Page-crumbs_1pzwy_18 {
|
|
664
621
|
display: flex;
|
|
665
622
|
gap: 32px;
|
|
666
623
|
}
|
|
667
|
-
._Page-
|
|
624
|
+
._Page-crumb_1pzwy_18 {
|
|
668
625
|
color: var(--puck-color-grey-05);
|
|
669
626
|
position: relative;
|
|
670
|
-
white-space: nowrap;
|
|
671
627
|
}
|
|
672
|
-
._Page-
|
|
628
|
+
._Page-crumbLink_1pzwy_28 {
|
|
673
629
|
color: var(--puck-color-grey-05);
|
|
674
630
|
text-decoration: none;
|
|
675
631
|
}
|
|
676
|
-
._Page-
|
|
632
|
+
._Page-crumbLink_1pzwy_28:hover {
|
|
677
633
|
color: var(--puck-color-azure-04);
|
|
678
634
|
}
|
|
679
|
-
._Page-
|
|
635
|
+
._Page-crumb_1pzwy_18:last-of-type {
|
|
680
636
|
color: var(--puck-color-grey-01);
|
|
681
637
|
font-weight: 600;
|
|
682
638
|
}
|
|
683
|
-
._Page-
|
|
639
|
+
._Page-crumb_1pzwy_18::before {
|
|
684
640
|
position: absolute;
|
|
685
641
|
content: "/";
|
|
686
642
|
left: -19px;
|
|
687
643
|
color: var(--puck-color-grey-09);
|
|
688
644
|
font-weight: 400;
|
|
689
645
|
}
|
|
690
|
-
._Page-
|
|
646
|
+
._Page-crumb_1pzwy_18:first-of-type::before {
|
|
691
647
|
display: none;
|
|
692
648
|
}
|
|
693
|
-
._Page-
|
|
649
|
+
._Page-crumb_1pzwy_18 {
|
|
694
650
|
color: var(--puck-color-grey-05);
|
|
695
651
|
position: relative;
|
|
696
652
|
text-decoration: none;
|
|
697
653
|
}
|
|
698
|
-
._Page-
|
|
654
|
+
._Page-actions_1pzwy_60 {
|
|
699
655
|
margin-left: auto;
|
|
700
656
|
}
|
|
701
|
-
._Page-
|
|
657
|
+
._Page-footer_1pzwy_64 {
|
|
702
658
|
border-top: 1px solid var(--puck-color-grey-10);
|
|
703
659
|
padding: 16px 24px;
|
|
704
660
|
}
|
|
@@ -813,26 +769,26 @@ p {
|
|
|
813
769
|
}
|
|
814
770
|
|
|
815
771
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
|
|
816
|
-
.
|
|
772
|
+
._Table_1w0os_1 {
|
|
817
773
|
color: black;
|
|
818
774
|
display: flex;
|
|
819
775
|
flex-direction: column;
|
|
820
776
|
flex-grow: 1;
|
|
821
777
|
overflow-y: auto;
|
|
822
778
|
}
|
|
823
|
-
._Table-
|
|
779
|
+
._Table-filters_1w0os_9 {
|
|
824
780
|
margin: 16px;
|
|
825
781
|
}
|
|
826
|
-
._Table-
|
|
782
|
+
._Table-inner_1w0os_13 {
|
|
827
783
|
text-align: left;
|
|
828
784
|
}
|
|
829
|
-
._Table-
|
|
785
|
+
._Table-table_1w0os_17 {
|
|
830
786
|
color: var(--puck-color-grey-02);
|
|
831
787
|
font-size: var(--puck-font-size-xxs);
|
|
832
788
|
position: relative;
|
|
833
789
|
width: 100%;
|
|
834
790
|
}
|
|
835
|
-
.
|
|
791
|
+
._Table_1w0os_1 thead {
|
|
836
792
|
background: white;
|
|
837
793
|
font-size: var(--puck-font-size-xxs);
|
|
838
794
|
position: sticky;
|
|
@@ -840,20 +796,17 @@ p {
|
|
|
840
796
|
white-space: nowrap;
|
|
841
797
|
z-index: 1;
|
|
842
798
|
}
|
|
843
|
-
.
|
|
799
|
+
._Table_1w0os_1 thead::after {
|
|
844
800
|
content: "";
|
|
845
801
|
position: absolute;
|
|
846
802
|
height: 1px;
|
|
847
803
|
width: 100%;
|
|
848
804
|
background-color: var(--puck-color-grey-10);
|
|
849
805
|
}
|
|
850
|
-
.
|
|
851
|
-
display: none;
|
|
852
|
-
}
|
|
853
|
-
._Table_1bbu5_1 tbody tr {
|
|
806
|
+
._Table_1w0os_1 tbody tr {
|
|
854
807
|
z-index: 0;
|
|
855
808
|
}
|
|
856
|
-
.
|
|
809
|
+
._Table_1w0os_1 th {
|
|
857
810
|
background: var(--puck-color-grey-12);
|
|
858
811
|
font-weight: 400;
|
|
859
812
|
padding-left: 24px;
|
|
@@ -862,12 +815,12 @@ p {
|
|
|
862
815
|
padding-top: 12px;
|
|
863
816
|
}
|
|
864
817
|
@media (--standard-viewport) {
|
|
865
|
-
.
|
|
818
|
+
._Table_1w0os_1 th {
|
|
866
819
|
padding-left: 32px;
|
|
867
820
|
padding-right: 32px;
|
|
868
821
|
}
|
|
869
822
|
}
|
|
870
|
-
.
|
|
823
|
+
._Table_1w0os_1 td {
|
|
871
824
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
|
872
825
|
padding-left: 24px;
|
|
873
826
|
padding-right: 24px;
|
|
@@ -875,26 +828,26 @@ p {
|
|
|
875
828
|
padding-top: 16px;
|
|
876
829
|
white-space: nowrap;
|
|
877
830
|
}
|
|
878
|
-
.
|
|
831
|
+
._Table_1w0os_1 td:not(:first-of-type) {
|
|
879
832
|
color: var(--puck-color-grey-05);
|
|
880
833
|
}
|
|
881
|
-
.
|
|
834
|
+
._Table_1w0os_1 tbody tr:last-of-type td {
|
|
882
835
|
border-bottom: none;
|
|
883
836
|
}
|
|
884
837
|
@media (--standard-viewport) {
|
|
885
|
-
.
|
|
838
|
+
._Table_1w0os_1 td {
|
|
886
839
|
padding-left: 32px;
|
|
887
840
|
padding-right: 32px;
|
|
888
841
|
}
|
|
889
842
|
}
|
|
890
|
-
._Table-
|
|
843
|
+
._Table-footer_1w0os_85 {
|
|
891
844
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
892
845
|
}
|
|
893
|
-
._Table--
|
|
846
|
+
._Table--clickableRows_1w0os_89 tbody tr:hover {
|
|
894
847
|
background: var(--puck-color-azure-12);
|
|
895
848
|
cursor: pointer;
|
|
896
849
|
}
|
|
897
|
-
._Table-
|
|
850
|
+
._Table-placeholder_1w0os_94 {
|
|
898
851
|
align-items: center;
|
|
899
852
|
color: var(--puck-color-grey-06);
|
|
900
853
|
justify-content: center;
|
|
@@ -904,12 +857,9 @@ p {
|
|
|
904
857
|
width: 100%;
|
|
905
858
|
height: 100%;
|
|
906
859
|
}
|
|
907
|
-
._Table-
|
|
860
|
+
._Table-loader_1w0os_105 {
|
|
908
861
|
padding: 16px 24px;
|
|
909
862
|
}
|
|
910
|
-
._TableRow--highlightRow_1bbu5_113 {
|
|
911
|
-
background-color: var(--puck-color-grey-12);
|
|
912
|
-
}
|
|
913
863
|
|
|
914
864
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
|
|
915
865
|
._VerticalSpace_1tjaw_1 {
|
|
@@ -943,43 +893,8 @@ p {
|
|
|
943
893
|
padding-top: 128px;
|
|
944
894
|
}
|
|
945
895
|
|
|
946
|
-
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Viewport/styles.module.css/#css-module-data */
|
|
947
|
-
._Viewport_1vvhm_3 {
|
|
948
|
-
}
|
|
949
|
-
._Viewport--standard_1vvhm_6,
|
|
950
|
-
._Viewport--inline_1vvhm_7._Viewport--standard_1vvhm_6 {
|
|
951
|
-
display: none;
|
|
952
|
-
}
|
|
953
|
-
._Viewport--narrow_1vvhm_11 {
|
|
954
|
-
display: block;
|
|
955
|
-
}
|
|
956
|
-
._Viewport--inline_1vvhm_7._Viewport--narrow_1vvhm_11 {
|
|
957
|
-
display: inline;
|
|
958
|
-
}
|
|
959
|
-
._Viewport--flex_1vvhm_19._Viewport--narrow_1vvhm_11 {
|
|
960
|
-
display: flex;
|
|
961
|
-
}
|
|
962
|
-
@media (min-width: 768px) {
|
|
963
|
-
._Viewport--narrow_1vvhm_11,
|
|
964
|
-
._Viewport--inline_1vvhm_7._Viewport--narrow_1vvhm_11,
|
|
965
|
-
._Viewport--flex_1vvhm_19._Viewport--narrow_1vvhm_11 {
|
|
966
|
-
display: none;
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
@media (min-width: 768px) {
|
|
970
|
-
._Viewport--standard_1vvhm_6 {
|
|
971
|
-
display: block;
|
|
972
|
-
}
|
|
973
|
-
._Viewport--inline_1vvhm_7._Viewport--standard_1vvhm_6 {
|
|
974
|
-
display: inline;
|
|
975
|
-
}
|
|
976
|
-
._Viewport--flex_1vvhm_19._Viewport--standard_1vvhm_6 {
|
|
977
|
-
display: flex;
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
|
|
981
896
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/ChatBody/styles.module.css/#css-module-data */
|
|
982
|
-
.
|
|
897
|
+
._Chat_14j71_1 {
|
|
983
898
|
--fade-size: 32px;
|
|
984
899
|
--chat-background-color: white;
|
|
985
900
|
display: flex;
|
|
@@ -989,46 +904,46 @@ p {
|
|
|
989
904
|
overflow: hidden;
|
|
990
905
|
}
|
|
991
906
|
@media (min-width: 638px) {
|
|
992
|
-
.
|
|
907
|
+
._Chat_14j71_1 {
|
|
993
908
|
max-height: none;
|
|
994
909
|
}
|
|
995
910
|
}
|
|
996
|
-
._Chat-
|
|
911
|
+
._Chat-inner_14j71_17 {
|
|
997
912
|
background-color: var(--chat-background-color);
|
|
998
913
|
display: flex;
|
|
999
914
|
flex-direction: column;
|
|
1000
915
|
max-height: 100%;
|
|
1001
916
|
position: relative;
|
|
1002
917
|
}
|
|
1003
|
-
._Chat--
|
|
918
|
+
._Chat--hasMessages_14j71_25 ._Chat-inner_14j71_17 {
|
|
1004
919
|
padding-top: 0;
|
|
1005
920
|
}
|
|
1006
|
-
.
|
|
921
|
+
._Chat_14j71_1:not(._Chat--hasChildren_14j71_29) ._Chat-inner_14j71_17 {
|
|
1007
922
|
height: 100%;
|
|
1008
923
|
padding-top: 0;
|
|
1009
924
|
}
|
|
1010
|
-
._Chat--
|
|
925
|
+
._Chat--hasMessages_14j71_25 ._Chat-messages_14j71_34 {
|
|
1011
926
|
display: flex;
|
|
1012
927
|
flex-direction: column-reverse;
|
|
1013
928
|
padding: 16px;
|
|
1014
929
|
overflow: auto;
|
|
1015
930
|
}
|
|
1016
|
-
._Chat-
|
|
931
|
+
._Chat-form_14j71_41 {
|
|
1017
932
|
background-color: white;
|
|
1018
933
|
padding: 16px;
|
|
1019
934
|
}
|
|
1020
|
-
._Chat--
|
|
935
|
+
._Chat--hideInput_14j71_46 ._Chat-form_14j71_41 {
|
|
1021
936
|
display: none;
|
|
1022
937
|
}
|
|
1023
|
-
._Chat--
|
|
938
|
+
._Chat--hasMessages_14j71_25 ._Chat-form_14j71_41 {
|
|
1024
939
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
1025
940
|
}
|
|
1026
941
|
@media (min-width: 638px) {
|
|
1027
|
-
._Chat-
|
|
942
|
+
._Chat-form_14j71_41 {
|
|
1028
943
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
1029
944
|
}
|
|
1030
945
|
}
|
|
1031
|
-
._Chat-
|
|
946
|
+
._Chat-formHelper_14j71_60 {
|
|
1032
947
|
align-items: center;
|
|
1033
948
|
display: flex;
|
|
1034
949
|
color: var(--puck-color-grey-04);
|
|
@@ -1037,11 +952,11 @@ p {
|
|
|
1037
952
|
gap: 8px;
|
|
1038
953
|
padding-bottom: 12px;
|
|
1039
954
|
}
|
|
1040
|
-
._Chat--
|
|
955
|
+
._Chat--hasMessages_14j71_25 ._Chat-formHelper_14j71_60 {
|
|
1041
956
|
opacity: 0;
|
|
1042
957
|
transition: opacity 250ms ease-in;
|
|
1043
958
|
}
|
|
1044
|
-
._Chat-
|
|
959
|
+
._Chat-examplePrompts_14j71_75 {
|
|
1045
960
|
align-items: center;
|
|
1046
961
|
display: flex;
|
|
1047
962
|
flex-wrap: nowrap;
|
|
@@ -1050,7 +965,7 @@ p {
|
|
|
1050
965
|
width: 100%;
|
|
1051
966
|
overflow-x: auto;
|
|
1052
967
|
}
|
|
1053
|
-
._Chat-
|
|
968
|
+
._Chat-examplePrompt_14j71_75 {
|
|
1054
969
|
align-items: center;
|
|
1055
970
|
background: white;
|
|
1056
971
|
border: 1px solid var(--puck-color-grey-09);
|
|
@@ -1061,34 +976,33 @@ p {
|
|
|
1061
976
|
padding: 6px 12px;
|
|
1062
977
|
text-wrap: nowrap;
|
|
1063
978
|
}
|
|
1064
|
-
._Chat-
|
|
979
|
+
._Chat-examplePrompt_14j71_75:hover {
|
|
1065
980
|
background: var(--puck-color-azure-11);
|
|
1066
981
|
border-color: var(--puck-color-azure-08);
|
|
1067
982
|
color: var(--puck-color-azure-04);
|
|
1068
983
|
}
|
|
1069
|
-
._Chat-
|
|
984
|
+
._Chat-examplePromptArrow_14j71_103 {
|
|
1070
985
|
margin-left: auto;
|
|
1071
986
|
}
|
|
1072
|
-
._Chat-
|
|
987
|
+
._Chat-default_14j71_107 {
|
|
1073
988
|
overflow-y: auto;
|
|
1074
989
|
flex-grow: 1;
|
|
1075
990
|
}
|
|
1076
|
-
._Chat--
|
|
991
|
+
._Chat--hasMessages_14j71_25 ._Chat-default_14j71_107 {
|
|
1077
992
|
opacity: 0;
|
|
1078
993
|
padding: 0;
|
|
1079
994
|
pointer-events: none;
|
|
1080
995
|
transition: opacity 250ms ease-in;
|
|
1081
996
|
}
|
|
1082
|
-
._Chat--
|
|
997
|
+
._Chat--hasMessages_14j71_25 {
|
|
1083
998
|
background-color: white;
|
|
1084
999
|
transition: background-color 250ms ease-in;
|
|
1085
1000
|
}
|
|
1086
|
-
.
|
|
1001
|
+
._ChatMessage_14j71_124 {
|
|
1087
1002
|
font-size: var(--puck-font-size-xs);
|
|
1088
1003
|
line-height: var(--line-height-s);
|
|
1089
|
-
overflow-wrap: break-word;
|
|
1090
1004
|
}
|
|
1091
|
-
._ChatMessage--
|
|
1005
|
+
._ChatMessage--userRole_14j71_129 ._ChatMessage-text_14j71_129 {
|
|
1092
1006
|
background: var(--puck-color-azure-10);
|
|
1093
1007
|
border-radius: 16px;
|
|
1094
1008
|
color: var(--puck-color-grey-03);
|
|
@@ -1097,64 +1011,64 @@ p {
|
|
|
1097
1011
|
margin-top: 8px;
|
|
1098
1012
|
padding: 12px 16px;
|
|
1099
1013
|
}
|
|
1100
|
-
.
|
|
1101
|
-
.
|
|
1014
|
+
._ChatMessage_14j71_124 ul,
|
|
1015
|
+
._ChatMessage_14j71_124 ol {
|
|
1102
1016
|
list-style: decimal;
|
|
1103
1017
|
margin: 0;
|
|
1104
1018
|
margin-bottom: 12px;
|
|
1105
1019
|
margin-top: 12px;
|
|
1106
1020
|
padding-left: 32px;
|
|
1107
1021
|
}
|
|
1108
|
-
.
|
|
1022
|
+
._ChatMessage_14j71_124 li {
|
|
1109
1023
|
margin-bottom: 8px;
|
|
1110
1024
|
margin-top: 8px;
|
|
1111
1025
|
padding-left: 8px;
|
|
1112
1026
|
}
|
|
1113
|
-
.
|
|
1114
|
-
.
|
|
1115
|
-
.
|
|
1116
|
-
.
|
|
1117
|
-
.
|
|
1118
|
-
.
|
|
1027
|
+
._ChatMessage_14j71_124 h1,
|
|
1028
|
+
._ChatMessage_14j71_124 h2,
|
|
1029
|
+
._ChatMessage_14j71_124 h3,
|
|
1030
|
+
._ChatMessage_14j71_124 h4,
|
|
1031
|
+
._ChatMessage_14j71_124 h5,
|
|
1032
|
+
._ChatMessage_14j71_124 h6 {
|
|
1119
1033
|
font-weight: 600;
|
|
1120
1034
|
}
|
|
1121
|
-
.
|
|
1035
|
+
._ChatMessage_14j71_124 h1 {
|
|
1122
1036
|
font-size: var(--puck-font-l);
|
|
1123
1037
|
}
|
|
1124
|
-
.
|
|
1038
|
+
._ChatMessage_14j71_124 h2 {
|
|
1125
1039
|
font-size: var(--puck-font-m);
|
|
1126
1040
|
}
|
|
1127
|
-
.
|
|
1041
|
+
._ChatMessage_14j71_124 h3 {
|
|
1128
1042
|
font-size: var(--puck-font-m);
|
|
1129
1043
|
}
|
|
1130
|
-
.
|
|
1044
|
+
._ChatMessage_14j71_124 h4 {
|
|
1131
1045
|
font-size: var(--puck-font-s);
|
|
1132
1046
|
}
|
|
1133
|
-
.
|
|
1047
|
+
._ChatMessage_14j71_124 h5 {
|
|
1134
1048
|
font-size: var(--puck-font-xs);
|
|
1135
1049
|
}
|
|
1136
|
-
.
|
|
1050
|
+
._ChatMessage_14j71_124 h6 {
|
|
1137
1051
|
font-size: var(--puck-font-xm);
|
|
1138
1052
|
}
|
|
1139
|
-
.
|
|
1053
|
+
._ChatMessage_14j71_124 p {
|
|
1140
1054
|
margin-bottom: 8px;
|
|
1141
1055
|
margin-top: 8px;
|
|
1142
1056
|
}
|
|
1143
|
-
.
|
|
1057
|
+
._ChatMessage_14j71_124 a {
|
|
1144
1058
|
color: var(--puck-color-azure-04);
|
|
1145
1059
|
font-weight: 600;
|
|
1146
1060
|
text-decoration: none;
|
|
1147
1061
|
}
|
|
1148
|
-
.
|
|
1062
|
+
._ChatMessage_14j71_124 a:hover {
|
|
1149
1063
|
color: var(--puck-color-azure-05);
|
|
1150
1064
|
}
|
|
1151
|
-
.
|
|
1065
|
+
._ChatMessage_14j71_124 hr {
|
|
1152
1066
|
border-top: none;
|
|
1153
1067
|
border-bottom-color: var(--puck-color-grey-09);
|
|
1154
1068
|
margin-bottom: 16px;
|
|
1155
1069
|
margin-top: 16px;
|
|
1156
1070
|
}
|
|
1157
|
-
.
|
|
1071
|
+
._ChatMessage_14j71_124 blockquote {
|
|
1158
1072
|
margin-bottom: 8px;
|
|
1159
1073
|
margin-top: 8px;
|
|
1160
1074
|
margin-left: 0;
|
|
@@ -1163,7 +1077,7 @@ p {
|
|
|
1163
1077
|
padding-bottom: 2px;
|
|
1164
1078
|
padding-top: 2px;
|
|
1165
1079
|
}
|
|
1166
|
-
._ChatMessage-
|
|
1080
|
+
._ChatMessage-data_14j71_219 {
|
|
1167
1081
|
background: var(--puck-color-grey-12);
|
|
1168
1082
|
border: 1px solid var(--puck-color-grey-08);
|
|
1169
1083
|
border-radius: 16px;
|
|
@@ -1173,19 +1087,19 @@ p {
|
|
|
1173
1087
|
margin-top: 12px;
|
|
1174
1088
|
padding: 12px 16px;
|
|
1175
1089
|
}
|
|
1176
|
-
._ChatMessage-
|
|
1090
|
+
._ChatMessage-dataInner_14j71_230 {
|
|
1177
1091
|
align-items: center;
|
|
1178
1092
|
display: flex;
|
|
1179
1093
|
gap: 8px;
|
|
1180
1094
|
}
|
|
1181
|
-
._ChatMessage-
|
|
1095
|
+
._ChatMessage-dataIcon_14j71_236 {
|
|
1182
1096
|
display: flex;
|
|
1183
1097
|
}
|
|
1184
|
-
._Chat-
|
|
1098
|
+
._Chat-loader_14j71_240 {
|
|
1185
1099
|
padding: 16px;
|
|
1186
1100
|
padding-top: 0;
|
|
1187
1101
|
}
|
|
1188
|
-
._Chat-
|
|
1102
|
+
._Chat-error_14j71_245 {
|
|
1189
1103
|
align-items: center;
|
|
1190
1104
|
display: flex;
|
|
1191
1105
|
gap: 8px;
|
|
@@ -1193,10 +1107,10 @@ p {
|
|
|
1193
1107
|
margin: 16px;
|
|
1194
1108
|
margin-top: 0;
|
|
1195
1109
|
}
|
|
1196
|
-
._Chat-
|
|
1110
|
+
._Chat-errorLabel_14j71_254 {
|
|
1197
1111
|
color: var(--puck-color-red-04);
|
|
1198
1112
|
}
|
|
1199
|
-
._Chat-
|
|
1113
|
+
._Chat-errorAction_14j71_258 {
|
|
1200
1114
|
margin-left: auto;
|
|
1201
1115
|
}
|
|
1202
1116
|
|