@puckeditor/plugin-ai 0.1.0-canary.dfd624ec → 0.1.0-canary.e666268d
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 +120 -247
- package/dist/index.d.mts +27 -107
- package/dist/index.d.ts +27 -107
- package/dist/index.js +511 -679
- package/dist/index.mjs +499 -667
- 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--
|
|
418
|
-
font-size: var(--puck-font-size-xxs);
|
|
419
|
-
}
|
|
420
|
-
._Heading--xxs_qkzg9_43 {
|
|
409
|
+
._Heading--xxs_1czuc_45 {
|
|
421
410
|
font-size: var(--puck-font-size-xxs);
|
|
422
411
|
}
|
|
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_1uz1e_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_1uz1e_8 {
|
|
654
612
|
align-items: center;
|
|
655
613
|
display: flex;
|
|
656
614
|
gap: 16px;
|
|
@@ -658,78 +616,44 @@ 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_1uz1e_18 {
|
|
664
621
|
display: flex;
|
|
665
622
|
gap: 32px;
|
|
666
623
|
}
|
|
667
|
-
._Page-
|
|
624
|
+
._Page-crumb_1uz1e_18 {
|
|
668
625
|
color: var(--puck-color-grey-05);
|
|
669
626
|
position: relative;
|
|
670
|
-
white-space: nowrap;
|
|
671
627
|
}
|
|
672
|
-
._Page-
|
|
628
|
+
._Page-crumbLink_1uz1e_28 {
|
|
673
629
|
color: var(--puck-color-grey-05);
|
|
674
630
|
text-decoration: none;
|
|
675
631
|
}
|
|
676
|
-
._Page-
|
|
632
|
+
._Page-crumbLink_1uz1e_28:hover {
|
|
677
633
|
color: var(--puck-color-azure-04);
|
|
678
634
|
}
|
|
679
|
-
._Page-
|
|
635
|
+
._Page-crumb_1uz1e_18:last-of-type {
|
|
680
636
|
color: var(--puck-color-grey-01);
|
|
681
637
|
font-weight: 600;
|
|
682
638
|
}
|
|
683
|
-
._Page-
|
|
639
|
+
._Page-crumb_1uz1e_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_1uz1e_18:first-of-type::before {
|
|
691
647
|
display: none;
|
|
692
648
|
}
|
|
693
|
-
._Page-
|
|
649
|
+
._Page-crumb_1uz1e_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_1uz1e_60 {
|
|
699
655
|
margin-left: auto;
|
|
700
656
|
}
|
|
701
|
-
._Page-footer_1ajs1_66 {
|
|
702
|
-
border-top: 1px solid var(--puck-color-grey-10);
|
|
703
|
-
padding: 16px 24px;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Pagination/Pagination.module.css/#css-module-data */
|
|
707
|
-
._Pagination_1okv2_1 {
|
|
708
|
-
align-items: baseline;
|
|
709
|
-
display: flex;
|
|
710
|
-
gap: 4px;
|
|
711
|
-
}
|
|
712
|
-
._PaginationButton_1okv2_8 {
|
|
713
|
-
align-items: center;
|
|
714
|
-
border-radius: 4px;
|
|
715
|
-
color: var(--puck-color-grey-05);
|
|
716
|
-
display: flex;
|
|
717
|
-
justify-content: center;
|
|
718
|
-
text-decoration: none;
|
|
719
|
-
min-width: 40px;
|
|
720
|
-
height: 40px;
|
|
721
|
-
}
|
|
722
|
-
._PaginationButton--isActive_1okv2_20 {
|
|
723
|
-
background-color: var(--puck-color-azure-11);
|
|
724
|
-
color: var(--puck-color-azure-04);
|
|
725
|
-
}
|
|
726
|
-
._PaginationButton_1okv2_8:hover {
|
|
727
|
-
background-color: var(--puck-color-azure-11);
|
|
728
|
-
color: var(--puck-color-azure-04);
|
|
729
|
-
}
|
|
730
|
-
._Pagination-ellipsis_1okv2_30 {
|
|
731
|
-
color: var(--puck-color-grey-05);
|
|
732
|
-
}
|
|
733
657
|
|
|
734
658
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
|
|
735
659
|
._Section-inner_1uwo0_1 {
|
|
@@ -813,26 +737,23 @@ p {
|
|
|
813
737
|
}
|
|
814
738
|
|
|
815
739
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
|
|
816
|
-
.
|
|
740
|
+
._Table_1t44j_1 {
|
|
817
741
|
color: black;
|
|
818
742
|
display: flex;
|
|
819
743
|
flex-direction: column;
|
|
820
744
|
flex-grow: 1;
|
|
821
|
-
overflow-y: auto;
|
|
822
745
|
}
|
|
823
|
-
._Table-
|
|
746
|
+
._Table-filters_1t44j_8 {
|
|
824
747
|
margin: 16px;
|
|
825
748
|
}
|
|
826
|
-
._Table-
|
|
749
|
+
._Table-inner_1t44j_12 {
|
|
827
750
|
text-align: left;
|
|
828
751
|
}
|
|
829
|
-
._Table-
|
|
830
|
-
color: var(--puck-color-grey-02);
|
|
831
|
-
font-size: var(--puck-font-size-xxs);
|
|
752
|
+
._Table-table_1t44j_16 {
|
|
832
753
|
position: relative;
|
|
833
754
|
width: 100%;
|
|
834
755
|
}
|
|
835
|
-
.
|
|
756
|
+
._Table_1t44j_1 thead {
|
|
836
757
|
background: white;
|
|
837
758
|
font-size: var(--puck-font-size-xxs);
|
|
838
759
|
position: sticky;
|
|
@@ -840,61 +761,55 @@ p {
|
|
|
840
761
|
white-space: nowrap;
|
|
841
762
|
z-index: 1;
|
|
842
763
|
}
|
|
843
|
-
.
|
|
764
|
+
._Table_1t44j_1 thead::after {
|
|
844
765
|
content: "";
|
|
845
766
|
position: absolute;
|
|
846
767
|
height: 1px;
|
|
847
768
|
width: 100%;
|
|
848
|
-
background-color: var(--puck-color-grey-
|
|
849
|
-
}
|
|
850
|
-
._Table--hideHeader_1bbu5_41 thead {
|
|
851
|
-
display: none;
|
|
769
|
+
background-color: var(--puck-color-grey-09);
|
|
852
770
|
}
|
|
853
|
-
.
|
|
771
|
+
._Table_1t44j_1 tbody tr {
|
|
854
772
|
z-index: 0;
|
|
855
773
|
}
|
|
856
|
-
.
|
|
857
|
-
background:
|
|
858
|
-
font-weight:
|
|
774
|
+
._Table_1t44j_1 th {
|
|
775
|
+
background: white;
|
|
776
|
+
font-weight: 600;
|
|
859
777
|
padding-left: 24px;
|
|
860
778
|
padding-right: 24px;
|
|
861
|
-
padding-bottom:
|
|
862
|
-
padding-top:
|
|
779
|
+
padding-bottom: 20px;
|
|
780
|
+
padding-top: 20px;
|
|
863
781
|
}
|
|
864
782
|
@media (--standard-viewport) {
|
|
865
|
-
.
|
|
783
|
+
._Table_1t44j_1 th {
|
|
866
784
|
padding-left: 32px;
|
|
867
785
|
padding-right: 32px;
|
|
868
786
|
}
|
|
869
787
|
}
|
|
870
|
-
.
|
|
788
|
+
._Table_1t44j_1 td {
|
|
871
789
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
|
872
790
|
padding-left: 24px;
|
|
873
791
|
padding-right: 24px;
|
|
874
|
-
padding-bottom:
|
|
875
|
-
padding-top:
|
|
792
|
+
padding-bottom: 20px;
|
|
793
|
+
padding-top: 20px;
|
|
876
794
|
white-space: nowrap;
|
|
877
795
|
}
|
|
878
|
-
.
|
|
879
|
-
color: var(--puck-color-grey-05);
|
|
880
|
-
}
|
|
881
|
-
._Table_1bbu5_1 tbody tr:last-of-type td {
|
|
796
|
+
._Table_1t44j_1 tbody tr:last-of-type td {
|
|
882
797
|
border-bottom: none;
|
|
883
798
|
}
|
|
884
799
|
@media (--standard-viewport) {
|
|
885
|
-
.
|
|
800
|
+
._Table_1t44j_1 td {
|
|
886
801
|
padding-left: 32px;
|
|
887
802
|
padding-right: 32px;
|
|
888
803
|
}
|
|
889
804
|
}
|
|
890
|
-
._Table-
|
|
805
|
+
._Table-footer_1t44j_78 {
|
|
891
806
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
892
807
|
}
|
|
893
|
-
._Table--
|
|
808
|
+
._Table--clickableRows_1t44j_82 tbody tr:hover {
|
|
894
809
|
background: var(--puck-color-azure-12);
|
|
895
810
|
cursor: pointer;
|
|
896
811
|
}
|
|
897
|
-
._Table-
|
|
812
|
+
._Table-placeholder_1t44j_87 {
|
|
898
813
|
align-items: center;
|
|
899
814
|
color: var(--puck-color-grey-06);
|
|
900
815
|
justify-content: center;
|
|
@@ -904,12 +819,6 @@ p {
|
|
|
904
819
|
width: 100%;
|
|
905
820
|
height: 100%;
|
|
906
821
|
}
|
|
907
|
-
._Table-loader_1bbu5_109 {
|
|
908
|
-
padding: 16px 24px;
|
|
909
|
-
}
|
|
910
|
-
._TableRow--highlightRow_1bbu5_113 {
|
|
911
|
-
background-color: var(--puck-color-grey-12);
|
|
912
|
-
}
|
|
913
822
|
|
|
914
823
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
|
|
915
824
|
._VerticalSpace_1tjaw_1 {
|
|
@@ -943,43 +852,8 @@ p {
|
|
|
943
852
|
padding-top: 128px;
|
|
944
853
|
}
|
|
945
854
|
|
|
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
855
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/ChatBody/styles.module.css/#css-module-data */
|
|
982
|
-
.
|
|
856
|
+
._Chat_14j71_1 {
|
|
983
857
|
--fade-size: 32px;
|
|
984
858
|
--chat-background-color: white;
|
|
985
859
|
display: flex;
|
|
@@ -989,46 +863,46 @@ p {
|
|
|
989
863
|
overflow: hidden;
|
|
990
864
|
}
|
|
991
865
|
@media (min-width: 638px) {
|
|
992
|
-
.
|
|
866
|
+
._Chat_14j71_1 {
|
|
993
867
|
max-height: none;
|
|
994
868
|
}
|
|
995
869
|
}
|
|
996
|
-
._Chat-
|
|
870
|
+
._Chat-inner_14j71_17 {
|
|
997
871
|
background-color: var(--chat-background-color);
|
|
998
872
|
display: flex;
|
|
999
873
|
flex-direction: column;
|
|
1000
874
|
max-height: 100%;
|
|
1001
875
|
position: relative;
|
|
1002
876
|
}
|
|
1003
|
-
._Chat--
|
|
877
|
+
._Chat--hasMessages_14j71_25 ._Chat-inner_14j71_17 {
|
|
1004
878
|
padding-top: 0;
|
|
1005
879
|
}
|
|
1006
|
-
.
|
|
880
|
+
._Chat_14j71_1:not(._Chat--hasChildren_14j71_29) ._Chat-inner_14j71_17 {
|
|
1007
881
|
height: 100%;
|
|
1008
882
|
padding-top: 0;
|
|
1009
883
|
}
|
|
1010
|
-
._Chat--
|
|
884
|
+
._Chat--hasMessages_14j71_25 ._Chat-messages_14j71_34 {
|
|
1011
885
|
display: flex;
|
|
1012
886
|
flex-direction: column-reverse;
|
|
1013
887
|
padding: 16px;
|
|
1014
888
|
overflow: auto;
|
|
1015
889
|
}
|
|
1016
|
-
._Chat-
|
|
890
|
+
._Chat-form_14j71_41 {
|
|
1017
891
|
background-color: white;
|
|
1018
892
|
padding: 16px;
|
|
1019
893
|
}
|
|
1020
|
-
._Chat--
|
|
894
|
+
._Chat--hideInput_14j71_46 ._Chat-form_14j71_41 {
|
|
1021
895
|
display: none;
|
|
1022
896
|
}
|
|
1023
|
-
._Chat--
|
|
897
|
+
._Chat--hasMessages_14j71_25 ._Chat-form_14j71_41 {
|
|
1024
898
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
1025
899
|
}
|
|
1026
900
|
@media (min-width: 638px) {
|
|
1027
|
-
._Chat-
|
|
901
|
+
._Chat-form_14j71_41 {
|
|
1028
902
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
1029
903
|
}
|
|
1030
904
|
}
|
|
1031
|
-
._Chat-
|
|
905
|
+
._Chat-formHelper_14j71_60 {
|
|
1032
906
|
align-items: center;
|
|
1033
907
|
display: flex;
|
|
1034
908
|
color: var(--puck-color-grey-04);
|
|
@@ -1037,11 +911,11 @@ p {
|
|
|
1037
911
|
gap: 8px;
|
|
1038
912
|
padding-bottom: 12px;
|
|
1039
913
|
}
|
|
1040
|
-
._Chat--
|
|
914
|
+
._Chat--hasMessages_14j71_25 ._Chat-formHelper_14j71_60 {
|
|
1041
915
|
opacity: 0;
|
|
1042
916
|
transition: opacity 250ms ease-in;
|
|
1043
917
|
}
|
|
1044
|
-
._Chat-
|
|
918
|
+
._Chat-examplePrompts_14j71_75 {
|
|
1045
919
|
align-items: center;
|
|
1046
920
|
display: flex;
|
|
1047
921
|
flex-wrap: nowrap;
|
|
@@ -1050,7 +924,7 @@ p {
|
|
|
1050
924
|
width: 100%;
|
|
1051
925
|
overflow-x: auto;
|
|
1052
926
|
}
|
|
1053
|
-
._Chat-
|
|
927
|
+
._Chat-examplePrompt_14j71_75 {
|
|
1054
928
|
align-items: center;
|
|
1055
929
|
background: white;
|
|
1056
930
|
border: 1px solid var(--puck-color-grey-09);
|
|
@@ -1061,34 +935,33 @@ p {
|
|
|
1061
935
|
padding: 6px 12px;
|
|
1062
936
|
text-wrap: nowrap;
|
|
1063
937
|
}
|
|
1064
|
-
._Chat-
|
|
938
|
+
._Chat-examplePrompt_14j71_75:hover {
|
|
1065
939
|
background: var(--puck-color-azure-11);
|
|
1066
940
|
border-color: var(--puck-color-azure-08);
|
|
1067
941
|
color: var(--puck-color-azure-04);
|
|
1068
942
|
}
|
|
1069
|
-
._Chat-
|
|
943
|
+
._Chat-examplePromptArrow_14j71_103 {
|
|
1070
944
|
margin-left: auto;
|
|
1071
945
|
}
|
|
1072
|
-
._Chat-
|
|
946
|
+
._Chat-default_14j71_107 {
|
|
1073
947
|
overflow-y: auto;
|
|
1074
948
|
flex-grow: 1;
|
|
1075
949
|
}
|
|
1076
|
-
._Chat--
|
|
950
|
+
._Chat--hasMessages_14j71_25 ._Chat-default_14j71_107 {
|
|
1077
951
|
opacity: 0;
|
|
1078
952
|
padding: 0;
|
|
1079
953
|
pointer-events: none;
|
|
1080
954
|
transition: opacity 250ms ease-in;
|
|
1081
955
|
}
|
|
1082
|
-
._Chat--
|
|
956
|
+
._Chat--hasMessages_14j71_25 {
|
|
1083
957
|
background-color: white;
|
|
1084
958
|
transition: background-color 250ms ease-in;
|
|
1085
959
|
}
|
|
1086
|
-
.
|
|
960
|
+
._ChatMessage_14j71_124 {
|
|
1087
961
|
font-size: var(--puck-font-size-xs);
|
|
1088
962
|
line-height: var(--line-height-s);
|
|
1089
|
-
overflow-wrap: break-word;
|
|
1090
963
|
}
|
|
1091
|
-
._ChatMessage--
|
|
964
|
+
._ChatMessage--userRole_14j71_129 ._ChatMessage-text_14j71_129 {
|
|
1092
965
|
background: var(--puck-color-azure-10);
|
|
1093
966
|
border-radius: 16px;
|
|
1094
967
|
color: var(--puck-color-grey-03);
|
|
@@ -1097,64 +970,64 @@ p {
|
|
|
1097
970
|
margin-top: 8px;
|
|
1098
971
|
padding: 12px 16px;
|
|
1099
972
|
}
|
|
1100
|
-
.
|
|
1101
|
-
.
|
|
973
|
+
._ChatMessage_14j71_124 ul,
|
|
974
|
+
._ChatMessage_14j71_124 ol {
|
|
1102
975
|
list-style: decimal;
|
|
1103
976
|
margin: 0;
|
|
1104
977
|
margin-bottom: 12px;
|
|
1105
978
|
margin-top: 12px;
|
|
1106
979
|
padding-left: 32px;
|
|
1107
980
|
}
|
|
1108
|
-
.
|
|
981
|
+
._ChatMessage_14j71_124 li {
|
|
1109
982
|
margin-bottom: 8px;
|
|
1110
983
|
margin-top: 8px;
|
|
1111
984
|
padding-left: 8px;
|
|
1112
985
|
}
|
|
1113
|
-
.
|
|
1114
|
-
.
|
|
1115
|
-
.
|
|
1116
|
-
.
|
|
1117
|
-
.
|
|
1118
|
-
.
|
|
986
|
+
._ChatMessage_14j71_124 h1,
|
|
987
|
+
._ChatMessage_14j71_124 h2,
|
|
988
|
+
._ChatMessage_14j71_124 h3,
|
|
989
|
+
._ChatMessage_14j71_124 h4,
|
|
990
|
+
._ChatMessage_14j71_124 h5,
|
|
991
|
+
._ChatMessage_14j71_124 h6 {
|
|
1119
992
|
font-weight: 600;
|
|
1120
993
|
}
|
|
1121
|
-
.
|
|
994
|
+
._ChatMessage_14j71_124 h1 {
|
|
1122
995
|
font-size: var(--puck-font-l);
|
|
1123
996
|
}
|
|
1124
|
-
.
|
|
997
|
+
._ChatMessage_14j71_124 h2 {
|
|
1125
998
|
font-size: var(--puck-font-m);
|
|
1126
999
|
}
|
|
1127
|
-
.
|
|
1000
|
+
._ChatMessage_14j71_124 h3 {
|
|
1128
1001
|
font-size: var(--puck-font-m);
|
|
1129
1002
|
}
|
|
1130
|
-
.
|
|
1003
|
+
._ChatMessage_14j71_124 h4 {
|
|
1131
1004
|
font-size: var(--puck-font-s);
|
|
1132
1005
|
}
|
|
1133
|
-
.
|
|
1006
|
+
._ChatMessage_14j71_124 h5 {
|
|
1134
1007
|
font-size: var(--puck-font-xs);
|
|
1135
1008
|
}
|
|
1136
|
-
.
|
|
1009
|
+
._ChatMessage_14j71_124 h6 {
|
|
1137
1010
|
font-size: var(--puck-font-xm);
|
|
1138
1011
|
}
|
|
1139
|
-
.
|
|
1012
|
+
._ChatMessage_14j71_124 p {
|
|
1140
1013
|
margin-bottom: 8px;
|
|
1141
1014
|
margin-top: 8px;
|
|
1142
1015
|
}
|
|
1143
|
-
.
|
|
1016
|
+
._ChatMessage_14j71_124 a {
|
|
1144
1017
|
color: var(--puck-color-azure-04);
|
|
1145
1018
|
font-weight: 600;
|
|
1146
1019
|
text-decoration: none;
|
|
1147
1020
|
}
|
|
1148
|
-
.
|
|
1021
|
+
._ChatMessage_14j71_124 a:hover {
|
|
1149
1022
|
color: var(--puck-color-azure-05);
|
|
1150
1023
|
}
|
|
1151
|
-
.
|
|
1024
|
+
._ChatMessage_14j71_124 hr {
|
|
1152
1025
|
border-top: none;
|
|
1153
1026
|
border-bottom-color: var(--puck-color-grey-09);
|
|
1154
1027
|
margin-bottom: 16px;
|
|
1155
1028
|
margin-top: 16px;
|
|
1156
1029
|
}
|
|
1157
|
-
.
|
|
1030
|
+
._ChatMessage_14j71_124 blockquote {
|
|
1158
1031
|
margin-bottom: 8px;
|
|
1159
1032
|
margin-top: 8px;
|
|
1160
1033
|
margin-left: 0;
|
|
@@ -1163,7 +1036,7 @@ p {
|
|
|
1163
1036
|
padding-bottom: 2px;
|
|
1164
1037
|
padding-top: 2px;
|
|
1165
1038
|
}
|
|
1166
|
-
._ChatMessage-
|
|
1039
|
+
._ChatMessage-data_14j71_219 {
|
|
1167
1040
|
background: var(--puck-color-grey-12);
|
|
1168
1041
|
border: 1px solid var(--puck-color-grey-08);
|
|
1169
1042
|
border-radius: 16px;
|
|
@@ -1173,19 +1046,19 @@ p {
|
|
|
1173
1046
|
margin-top: 12px;
|
|
1174
1047
|
padding: 12px 16px;
|
|
1175
1048
|
}
|
|
1176
|
-
._ChatMessage-
|
|
1049
|
+
._ChatMessage-dataInner_14j71_230 {
|
|
1177
1050
|
align-items: center;
|
|
1178
1051
|
display: flex;
|
|
1179
1052
|
gap: 8px;
|
|
1180
1053
|
}
|
|
1181
|
-
._ChatMessage-
|
|
1054
|
+
._ChatMessage-dataIcon_14j71_236 {
|
|
1182
1055
|
display: flex;
|
|
1183
1056
|
}
|
|
1184
|
-
._Chat-
|
|
1057
|
+
._Chat-loader_14j71_240 {
|
|
1185
1058
|
padding: 16px;
|
|
1186
1059
|
padding-top: 0;
|
|
1187
1060
|
}
|
|
1188
|
-
._Chat-
|
|
1061
|
+
._Chat-error_14j71_245 {
|
|
1189
1062
|
align-items: center;
|
|
1190
1063
|
display: flex;
|
|
1191
1064
|
gap: 8px;
|
|
@@ -1193,10 +1066,10 @@ p {
|
|
|
1193
1066
|
margin: 16px;
|
|
1194
1067
|
margin-top: 0;
|
|
1195
1068
|
}
|
|
1196
|
-
._Chat-
|
|
1069
|
+
._Chat-errorLabel_14j71_254 {
|
|
1197
1070
|
color: var(--puck-color-red-04);
|
|
1198
1071
|
}
|
|
1199
|
-
._Chat-
|
|
1072
|
+
._Chat-errorAction_14j71_258 {
|
|
1200
1073
|
margin-left: auto;
|
|
1201
1074
|
}
|
|
1202
1075
|
|