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