@puckeditor/plugin-ai 0.1.0-canary.027b6f23 → 0.1.0-canary.0f9dfd6d

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
@@ -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-background_1bedq_1 {
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--visible_1bedq_16 ._Modal-background_1bedq_1 {
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-modal_1bedq_22 {
256
+ ._Modal-modal_874yi_22 {
257
257
  background: white;
258
- border-radius: 16px;
258
+ border-radius: 8px;
259
259
  display: block;
260
- max-height: calc(100vh - 24px);
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
- ._Button_1fon5_1 {
264
+ ._Button_w2ngt_1 {
267
265
  appearance: none;
268
266
  background: none;
269
267
  border: 1px solid transparent;
270
- border-radius: 8px;
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
- ._Button_1fon5_1:hover,
289
- ._Button_1fon5_1:active {
286
+ ._Button_w2ngt_1:hover,
287
+ ._Button_w2ngt_1:active {
290
288
  transition: none;
291
289
  }
292
- ._Button--medium_1fon5_29 {
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--large_1fon5_37 {
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-icon_1fon5_44 {
303
+ ._Button-icon_w2ngt_44 {
306
304
  margin-top: 2px;
307
305
  }
308
- ._Button--primary_1fon5_48 {
306
+ ._Button--primary_w2ngt_48 {
309
307
  background: var(--puck-color-azure-04);
310
308
  }
311
- ._Button_1fon5_1:focus-visible {
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--primary_1fon5_48:hover {
314
+ ._Button--primary_w2ngt_48:hover {
317
315
  background-color: var(--puck-color-azure-03);
318
316
  }
319
317
  }
320
- ._Button--primary_1fon5_48:active {
318
+ ._Button--primary_w2ngt_48:active {
321
319
  background-color: var(--puck-color-azure-02);
322
320
  }
323
- ._Button--secondary_1fon5_67 {
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--secondary_1fon5_67:hover {
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--secondary_1fon5_67:active {
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--danger_1fon5_84 {
338
- background: var(--puck-color-red-04);
339
- }
340
- @media (hover: hover) and (pointer: fine) {
341
- ._Button--danger_1fon5_84:hover {
342
- background-color: var(--puck-color-red-03);
343
- }
344
- }
345
- ._Button--danger_1fon5_84:active {
346
- background-color: var(--puck-color-red-02);
347
- }
348
- ._Button--flush_1fon5_98 {
335
+ ._Button--flush_w2ngt_84 {
349
336
  border-radius: 0;
350
337
  }
351
- ._Button--disabled_1fon5_102,
352
- ._Button--disabled_1fon5_102:hover {
338
+ ._Button--disabled_w2ngt_88,
339
+ ._Button--disabled_w2ngt_88:hover {
353
340
  background-color: var(--puck-color-grey-09);
354
- color: var(--puck-color-grey-05);
341
+ color: var(--puck-color-grey-03);
355
342
  cursor: not-allowed;
356
343
  }
357
- ._Button--fullWidth_1fon5_109 {
344
+ ._Button--fullWidth_w2ngt_95 {
358
345
  justify-content: center;
359
346
  width: 100%;
360
347
  }
361
- ._Button-spinner_1fon5_114 {
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
- ._Heading_qkzg9_1 {
375
+ ._Heading_1czuc_1 {
389
376
  display: block;
390
377
  font-weight: 700;
391
378
  margin: 0;
392
379
  }
393
- ._Heading_qkzg9_1 b {
380
+ ._Heading_1czuc_1 b {
394
381
  font-weight: 700;
395
382
  }
396
- ._Heading--xxxxl_qkzg9_11 {
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--xxxl_qkzg9_15 {
391
+ ._Heading--xxl_1czuc_21 {
400
392
  font-size: var(--puck-font-size-xxl);
401
393
  }
402
- ._Heading--xxl_qkzg9_19 {
394
+ ._Heading--xl_1czuc_25 {
403
395
  font-size: var(--puck-font-size-xl);
404
396
  }
405
- ._Heading--xl_qkzg9_23 {
397
+ ._Heading--l_1czuc_29 {
406
398
  font-size: var(--puck-font-size-l);
407
399
  }
408
- ._Heading--l_qkzg9_27 {
400
+ ._Heading--m_1czuc_33 {
409
401
  font-size: var(--puck-font-size-m);
410
402
  }
411
- ._Heading--m_qkzg9_31 {
403
+ ._Heading--s_1czuc_37 {
412
404
  font-size: var(--puck-font-size-s);
413
405
  }
414
- ._Heading--s_qkzg9_35 {
406
+ ._Heading--xs_1czuc_41 {
415
407
  font-size: var(--puck-font-size-xs);
416
408
  }
417
- ._Heading--xs_qkzg9_39 {
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 {
@@ -526,126 +484,6 @@ p {
526
484
  color: var(--puck-color-azure-04);
527
485
  }
528
486
 
529
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Code/Code.module.css/#css-module-data */
530
- ._Code_d4378_1 {
531
- border-radius: 8px;
532
- position: relative;
533
- overflow: hidden;
534
- border: 1px solid var(--puck-color-grey-09);
535
- }
536
- ._Code-body_d4378_8 pre {
537
- margin: 0;
538
- }
539
- ._Code-body_d4378_8 code {
540
- display: block;
541
- font-size: var(--puck-font-size-xs);
542
- padding-block: 16px;
543
- overflow-y: auto;
544
- }
545
- ._Code--light_d4378_19 {
546
- background-color: white;
547
- }
548
- ._Code-body_d4378_8 code > span {
549
- padding-left: 16px;
550
- padding-right: 64px;
551
- }
552
- @media (min-width: 768px) {
553
- ._Code-body_d4378_8 code > span {
554
- padding-right: 16px;
555
- }
556
- }
557
- ._Code-header_d4378_34 {
558
- align-items: center;
559
- background-color: #24292e;
560
- border-bottom: 1px solid var(--puck-color-grey-03);
561
- color: white;
562
- display: flex;
563
- padding-left: 12px;
564
- padding-right: 12px;
565
- overflow-y: auto;
566
- }
567
- ._Code--light_d4378_19 ._Code-header_d4378_34 {
568
- background-color: white;
569
- border-bottom-color: var(--puck-color-grey-09);
570
- color: var(--puck-color-grey-03);
571
- }
572
- ._Code-corner_d4378_51 {
573
- background-color: #24292e80;
574
- border-bottom-left-radius: 4px;
575
- color: white;
576
- display: none;
577
- position: absolute;
578
- padding: 12px 16px;
579
- pointer-events: none;
580
- right: 0;
581
- }
582
- ._Code_d4378_1:hover ._Code-corner_d4378_51 {
583
- display: flex;
584
- }
585
- ._Code--light_d4378_19 ._Code-corner_d4378_51 {
586
- background-color: #ffffff80;
587
- color: var(--puck-color-grey-03);
588
- }
589
- ._Code-actions_d4378_71 {
590
- margin-left: auto;
591
- pointer-events: auto;
592
- }
593
- ._Code--lineNumbers_d4378_76 ._Code-body_d4378_8 code {
594
- counter-reset: step;
595
- counter-increment: step 0;
596
- }
597
- ._Code--lineNumbers_d4378_76 ._Code-body_d4378_8 code .line::before {
598
- content: counter(step);
599
- counter-increment: step;
600
- width: 1rem;
601
- margin-right: 1.5rem;
602
- display: inline-block;
603
- text-align: right;
604
- color: rgba(115, 138, 148, 0.4);
605
- }
606
- ._Code-tabs_d4378_91 {
607
- display: flex;
608
- list-style: none;
609
- padding: 0;
610
- margin: 0;
611
- padding-right: 8px;
612
- }
613
- ._Tab_d4378_99 {
614
- border-block: 3px solid transparent;
615
- padding: 4px 2px;
616
- }
617
- ._Tab--isActive_d4378_104 {
618
- border-bottom-color: white;
619
- }
620
- ._Tab--light_d4378_108._Tab--isActive_d4378_104 {
621
- border-bottom-color: var(--puck-color-grey-03);
622
- }
623
- ._Tab-button_d4378_112 {
624
- background-color: transparent;
625
- border: none;
626
- border-radius: 8px;
627
- color: var(--puck-color-grey-08);
628
- font-size: var(--puck-font-size-xxs);
629
- padding: 8px;
630
- cursor: pointer;
631
- white-space: nowrap;
632
- }
633
- ._Tab--light_d4378_108 ._Tab-button_d4378_112 {
634
- color: var(--puck-color-grey-06);
635
- }
636
- ._Tab--isActive_d4378_104 ._Tab-button_d4378_112 {
637
- color: white;
638
- }
639
- ._Tab--light_d4378_108._Tab--isActive_d4378_104 ._Tab-button_d4378_112 {
640
- color: var(--puck-color-grey-01);
641
- }
642
- ._Tab-button_d4378_112:hover {
643
- background: var(--puck-color-grey-03);
644
- }
645
- ._Tab--light_d4378_108 ._Tab-button_d4378_112:hover {
646
- background: var(--puck-color-grey-11);
647
- }
648
-
649
487
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/IconButton/IconButton.module.css/#css-module-data */
650
488
  ._IconButton_thegm_1 {
651
489
  align-items: center;
@@ -764,13 +602,13 @@ p {
764
602
  }
765
603
 
766
604
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Page/Page.module.css/#css-module-data */
767
- ._Page_nkzj9_1 {
605
+ ._Page_1uz1e_1 {
768
606
  display: flex;
769
607
  flex-direction: column;
770
608
  height: 100%;
771
609
  overflow: hidden;
772
610
  }
773
- ._Page-masthead_nkzj9_8 {
611
+ ._Page-masthead_1uz1e_8 {
774
612
  align-items: center;
775
613
  display: flex;
776
614
  gap: 16px;
@@ -779,76 +617,43 @@ p {
779
617
  border-bottom: 1px solid var(--puck-color-grey-10);
780
618
  min-height: 64px;
781
619
  }
782
- ._Page-crumbs_nkzj9_18 {
620
+ ._Page-crumbs_1uz1e_18 {
783
621
  display: flex;
784
622
  gap: 32px;
785
623
  }
786
- ._Page-crumb_nkzj9_18 {
624
+ ._Page-crumb_1uz1e_18 {
787
625
  color: var(--puck-color-grey-05);
788
626
  position: relative;
789
- white-space: nowrap;
790
627
  }
791
- ._Page-crumbLink_nkzj9_29 {
628
+ ._Page-crumbLink_1uz1e_28 {
792
629
  color: var(--puck-color-grey-05);
793
630
  text-decoration: none;
794
631
  }
795
- ._Page-crumbLink_nkzj9_29:hover {
632
+ ._Page-crumbLink_1uz1e_28:hover {
796
633
  color: var(--puck-color-azure-04);
797
634
  }
798
- ._Page-crumb_nkzj9_18:last-of-type {
635
+ ._Page-crumb_1uz1e_18:last-of-type {
799
636
  color: var(--puck-color-grey-01);
800
637
  font-weight: 600;
801
638
  }
802
- ._Page-crumb_nkzj9_18::before {
639
+ ._Page-crumb_1uz1e_18::before {
803
640
  position: absolute;
804
641
  content: "/";
805
642
  left: -19px;
806
643
  color: var(--puck-color-grey-09);
807
644
  font-weight: 400;
808
645
  }
809
- ._Page-crumb_nkzj9_18:first-of-type::before {
646
+ ._Page-crumb_1uz1e_18:first-of-type::before {
810
647
  display: none;
811
648
  }
812
- ._Page-crumb_nkzj9_18 {
649
+ ._Page-crumb_1uz1e_18 {
813
650
  color: var(--puck-color-grey-05);
814
651
  position: relative;
815
652
  text-decoration: none;
816
653
  }
817
- ._Page-actions_nkzj9_61 {
654
+ ._Page-actions_1uz1e_60 {
818
655
  margin-left: auto;
819
656
  }
820
- ._Page-footer_nkzj9_65 {
821
- border-top: 1px solid var(--puck-color-grey-10);
822
- padding: 16px 24px;
823
- }
824
-
825
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Pagination/Pagination.module.css/#css-module-data */
826
- ._Pagination_1okv2_1 {
827
- align-items: baseline;
828
- display: flex;
829
- gap: 4px;
830
- }
831
- ._PaginationButton_1okv2_8 {
832
- align-items: center;
833
- border-radius: 4px;
834
- color: var(--puck-color-grey-05);
835
- display: flex;
836
- justify-content: center;
837
- text-decoration: none;
838
- min-width: 40px;
839
- height: 40px;
840
- }
841
- ._PaginationButton--isActive_1okv2_20 {
842
- background-color: var(--puck-color-azure-11);
843
- color: var(--puck-color-azure-04);
844
- }
845
- ._PaginationButton_1okv2_8:hover {
846
- background-color: var(--puck-color-azure-11);
847
- color: var(--puck-color-azure-04);
848
- }
849
- ._Pagination-ellipsis_1okv2_30 {
850
- color: var(--puck-color-grey-05);
851
- }
852
657
 
853
658
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
854
659
  ._Section-inner_1uwo0_1 {
@@ -932,26 +737,23 @@ p {
932
737
  }
933
738
 
934
739
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
935
- ._Table_o345u_1 {
740
+ ._Table_1t44j_1 {
936
741
  color: black;
937
742
  display: flex;
938
743
  flex-direction: column;
939
744
  flex-grow: 1;
940
- overflow-y: auto;
941
745
  }
942
- ._Table-filters_o345u_9 {
746
+ ._Table-filters_1t44j_8 {
943
747
  margin: 16px;
944
748
  }
945
- ._Table-inner_o345u_13 {
749
+ ._Table-inner_1t44j_12 {
946
750
  text-align: left;
947
751
  }
948
- ._Table-table_o345u_17 {
949
- color: var(--puck-color-grey-02);
950
- font-size: var(--puck-font-size-xxs);
752
+ ._Table-table_1t44j_16 {
951
753
  position: relative;
952
754
  width: 100%;
953
755
  }
954
- ._Table_o345u_1 thead {
756
+ ._Table_1t44j_1 thead {
955
757
  background: white;
956
758
  font-size: var(--puck-font-size-xxs);
957
759
  position: sticky;
@@ -959,76 +761,63 @@ p {
959
761
  white-space: nowrap;
960
762
  z-index: 1;
961
763
  }
962
- ._Table_o345u_1 thead::after {
764
+ ._Table_1t44j_1 thead::after {
963
765
  content: "";
964
766
  position: absolute;
965
767
  height: 1px;
966
768
  width: 100%;
967
- background-color: var(--puck-color-grey-10);
968
- }
969
- ._Table--hideHeader_o345u_41 thead {
970
- display: none;
769
+ background-color: var(--puck-color-grey-09);
971
770
  }
972
- ._Table_o345u_1 tbody tr {
771
+ ._Table_1t44j_1 tbody tr {
973
772
  z-index: 0;
974
773
  }
975
- ._Table_o345u_1 th {
976
- background: var(--puck-color-grey-12);
977
- font-weight: 400;
774
+ ._Table_1t44j_1 th {
775
+ background: white;
776
+ font-weight: 600;
978
777
  padding-left: 24px;
979
778
  padding-right: 24px;
980
- padding-bottom: 12px;
981
- padding-top: 12px;
779
+ padding-bottom: 20px;
780
+ padding-top: 20px;
982
781
  }
983
782
  @media (--standard-viewport) {
984
- ._Table_o345u_1 th {
783
+ ._Table_1t44j_1 th {
985
784
  padding-left: 32px;
986
785
  padding-right: 32px;
987
786
  }
988
787
  }
989
- ._Table_o345u_1 td {
788
+ ._Table_1t44j_1 td {
990
789
  border-bottom: 1px solid var(--puck-color-grey-10);
991
790
  padding-left: 24px;
992
791
  padding-right: 24px;
993
- padding-bottom: 16px;
994
- padding-top: 16px;
792
+ padding-bottom: 20px;
793
+ padding-top: 20px;
995
794
  white-space: nowrap;
996
795
  }
997
- ._Table_o345u_1 td:not(:first-of-type) {
998
- color: var(--puck-color-grey-05);
999
- }
1000
- ._Table_o345u_1 tbody tr:last-of-type td {
796
+ ._Table_1t44j_1 tbody tr:last-of-type td {
1001
797
  border-bottom: none;
1002
798
  }
1003
799
  @media (--standard-viewport) {
1004
- ._Table_o345u_1 td {
800
+ ._Table_1t44j_1 td {
1005
801
  padding-left: 32px;
1006
802
  padding-right: 32px;
1007
803
  }
1008
804
  }
1009
- ._Table-footer_o345u_89 {
805
+ ._Table-footer_1t44j_78 {
1010
806
  border-top: 1px solid var(--puck-color-grey-09);
1011
807
  }
1012
- ._Table--clickableRows_o345u_93 tbody tr:hover {
808
+ ._Table--clickableRows_1t44j_82 tbody tr:hover {
1013
809
  background: var(--puck-color-azure-12);
1014
810
  cursor: pointer;
1015
811
  }
1016
- ._Table-placeholder_o345u_98 {
812
+ ._Table-placeholder_1t44j_87 {
1017
813
  align-items: center;
1018
- color: var(--puck-color-grey-04);
814
+ color: var(--puck-color-grey-06);
1019
815
  justify-content: center;
1020
816
  display: flex;
1021
817
  gap: 8px;
1022
818
  flex-direction: column;
1023
819
  width: 100%;
1024
820
  height: 100%;
1025
- text-align: center;
1026
- }
1027
- ._Table-loader_o345u_110 {
1028
- padding: 16px 24px;
1029
- }
1030
- ._TableRow--highlightRow_o345u_114 {
1031
- background-color: var(--puck-color-grey-12);
1032
821
  }
1033
822
 
1034
823
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
@@ -1063,43 +852,8 @@ p {
1063
852
  padding-top: 128px;
1064
853
  }
1065
854
 
1066
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Viewport/styles.module.css/#css-module-data */
1067
- ._Viewport_1vvhm_3 {
1068
- }
1069
- ._Viewport--standard_1vvhm_6,
1070
- ._Viewport--inline_1vvhm_7._Viewport--standard_1vvhm_6 {
1071
- display: none;
1072
- }
1073
- ._Viewport--narrow_1vvhm_11 {
1074
- display: block;
1075
- }
1076
- ._Viewport--inline_1vvhm_7._Viewport--narrow_1vvhm_11 {
1077
- display: inline;
1078
- }
1079
- ._Viewport--flex_1vvhm_19._Viewport--narrow_1vvhm_11 {
1080
- display: flex;
1081
- }
1082
- @media (min-width: 768px) {
1083
- ._Viewport--narrow_1vvhm_11,
1084
- ._Viewport--inline_1vvhm_7._Viewport--narrow_1vvhm_11,
1085
- ._Viewport--flex_1vvhm_19._Viewport--narrow_1vvhm_11 {
1086
- display: none;
1087
- }
1088
- }
1089
- @media (min-width: 768px) {
1090
- ._Viewport--standard_1vvhm_6 {
1091
- display: block;
1092
- }
1093
- ._Viewport--inline_1vvhm_7._Viewport--standard_1vvhm_6 {
1094
- display: inline;
1095
- }
1096
- ._Viewport--flex_1vvhm_19._Viewport--standard_1vvhm_6 {
1097
- display: flex;
1098
- }
1099
- }
1100
-
1101
855
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/ChatBody/styles.module.css/#css-module-data */
1102
- ._Chat_150yz_1 {
856
+ ._Chat_14j71_1 {
1103
857
  --fade-size: 32px;
1104
858
  --chat-background-color: white;
1105
859
  display: flex;
@@ -1109,46 +863,46 @@ p {
1109
863
  overflow: hidden;
1110
864
  }
1111
865
  @media (min-width: 638px) {
1112
- ._Chat_150yz_1 {
866
+ ._Chat_14j71_1 {
1113
867
  max-height: none;
1114
868
  }
1115
869
  }
1116
- ._Chat-inner_150yz_17 {
870
+ ._Chat-inner_14j71_17 {
1117
871
  background-color: var(--chat-background-color);
1118
872
  display: flex;
1119
873
  flex-direction: column;
1120
874
  max-height: 100%;
1121
875
  position: relative;
1122
876
  }
1123
- ._Chat--hasMessages_150yz_25 ._Chat-inner_150yz_17 {
877
+ ._Chat--hasMessages_14j71_25 ._Chat-inner_14j71_17 {
1124
878
  padding-top: 0;
1125
879
  }
1126
- ._Chat_150yz_1:not(._Chat--hasChildren_150yz_29) ._Chat-inner_150yz_17 {
880
+ ._Chat_14j71_1:not(._Chat--hasChildren_14j71_29) ._Chat-inner_14j71_17 {
1127
881
  height: 100%;
1128
882
  padding-top: 0;
1129
883
  }
1130
- ._Chat--hasMessages_150yz_25 ._Chat-messages_150yz_34 {
884
+ ._Chat--hasMessages_14j71_25 ._Chat-messages_14j71_34 {
1131
885
  display: flex;
1132
886
  flex-direction: column-reverse;
1133
887
  padding: 16px;
1134
888
  overflow: auto;
1135
889
  }
1136
- ._Chat-form_150yz_41 {
890
+ ._Chat-form_14j71_41 {
1137
891
  background-color: white;
1138
892
  padding: 16px;
1139
893
  }
1140
- ._Chat--hideInput_150yz_46 ._Chat-form_150yz_41 {
894
+ ._Chat--hideInput_14j71_46 ._Chat-form_14j71_41 {
1141
895
  display: none;
1142
896
  }
1143
- ._Chat--hasMessages_150yz_25 ._Chat-form_150yz_41 {
897
+ ._Chat--hasMessages_14j71_25 ._Chat-form_14j71_41 {
1144
898
  border-top: 1px solid var(--puck-color-grey-09);
1145
899
  }
1146
900
  @media (min-width: 638px) {
1147
- ._Chat-form_150yz_41 {
901
+ ._Chat-form_14j71_41 {
1148
902
  border-top: 1px solid var(--puck-color-grey-09);
1149
903
  }
1150
904
  }
1151
- ._Chat-formHelper_150yz_60 {
905
+ ._Chat-formHelper_14j71_60 {
1152
906
  align-items: center;
1153
907
  display: flex;
1154
908
  color: var(--puck-color-grey-04);
@@ -1157,11 +911,11 @@ p {
1157
911
  gap: 8px;
1158
912
  padding-bottom: 12px;
1159
913
  }
1160
- ._Chat--hasMessages_150yz_25 ._Chat-formHelper_150yz_60 {
914
+ ._Chat--hasMessages_14j71_25 ._Chat-formHelper_14j71_60 {
1161
915
  opacity: 0;
1162
916
  transition: opacity 250ms ease-in;
1163
917
  }
1164
- ._Chat-examplePrompts_150yz_75 {
918
+ ._Chat-examplePrompts_14j71_75 {
1165
919
  align-items: center;
1166
920
  display: flex;
1167
921
  flex-wrap: nowrap;
@@ -1170,7 +924,7 @@ p {
1170
924
  width: 100%;
1171
925
  overflow-x: auto;
1172
926
  }
1173
- ._Chat-examplePrompt_150yz_75 {
927
+ ._Chat-examplePrompt_14j71_75 {
1174
928
  align-items: center;
1175
929
  background: white;
1176
930
  border: 1px solid var(--puck-color-grey-09);
@@ -1181,34 +935,33 @@ p {
1181
935
  padding: 6px 12px;
1182
936
  text-wrap: nowrap;
1183
937
  }
1184
- ._Chat-examplePrompt_150yz_75:hover {
938
+ ._Chat-examplePrompt_14j71_75:hover {
1185
939
  background: var(--puck-color-azure-11);
1186
940
  border-color: var(--puck-color-azure-08);
1187
941
  color: var(--puck-color-azure-04);
1188
942
  }
1189
- ._Chat-examplePromptArrow_150yz_103 {
943
+ ._Chat-examplePromptArrow_14j71_103 {
1190
944
  margin-left: auto;
1191
945
  }
1192
- ._Chat-default_150yz_107 {
946
+ ._Chat-default_14j71_107 {
1193
947
  overflow-y: auto;
1194
948
  flex-grow: 1;
1195
949
  }
1196
- ._Chat--hasMessages_150yz_25 ._Chat-default_150yz_107 {
950
+ ._Chat--hasMessages_14j71_25 ._Chat-default_14j71_107 {
1197
951
  opacity: 0;
1198
952
  padding: 0;
1199
953
  pointer-events: none;
1200
954
  transition: opacity 250ms ease-in;
1201
955
  }
1202
- ._Chat--hasMessages_150yz_25 {
956
+ ._Chat--hasMessages_14j71_25 {
1203
957
  background-color: white;
1204
958
  transition: background-color 250ms ease-in;
1205
959
  }
1206
- ._ChatMessage_150yz_124 {
960
+ ._ChatMessage_14j71_124 {
1207
961
  font-size: var(--puck-font-size-xs);
1208
962
  line-height: var(--line-height-s);
1209
- overflow-wrap: break-word;
1210
963
  }
1211
- ._ChatMessage--userRole_150yz_130 ._ChatMessage-text_150yz_130 {
964
+ ._ChatMessage--userRole_14j71_129 ._ChatMessage-text_14j71_129 {
1212
965
  background: var(--puck-color-azure-10);
1213
966
  border-radius: 16px;
1214
967
  color: var(--puck-color-grey-03);
@@ -1217,64 +970,64 @@ p {
1217
970
  margin-top: 8px;
1218
971
  padding: 12px 16px;
1219
972
  }
1220
- ._ChatMessage_150yz_124 ul,
1221
- ._ChatMessage_150yz_124 ol {
973
+ ._ChatMessage_14j71_124 ul,
974
+ ._ChatMessage_14j71_124 ol {
1222
975
  list-style: decimal;
1223
976
  margin: 0;
1224
977
  margin-bottom: 12px;
1225
978
  margin-top: 12px;
1226
979
  padding-left: 32px;
1227
980
  }
1228
- ._ChatMessage_150yz_124 li {
981
+ ._ChatMessage_14j71_124 li {
1229
982
  margin-bottom: 8px;
1230
983
  margin-top: 8px;
1231
984
  padding-left: 8px;
1232
985
  }
1233
- ._ChatMessage_150yz_124 h1,
1234
- ._ChatMessage_150yz_124 h2,
1235
- ._ChatMessage_150yz_124 h3,
1236
- ._ChatMessage_150yz_124 h4,
1237
- ._ChatMessage_150yz_124 h5,
1238
- ._ChatMessage_150yz_124 h6 {
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 {
1239
992
  font-weight: 600;
1240
993
  }
1241
- ._ChatMessage_150yz_124 h1 {
994
+ ._ChatMessage_14j71_124 h1 {
1242
995
  font-size: var(--puck-font-l);
1243
996
  }
1244
- ._ChatMessage_150yz_124 h2 {
997
+ ._ChatMessage_14j71_124 h2 {
1245
998
  font-size: var(--puck-font-m);
1246
999
  }
1247
- ._ChatMessage_150yz_124 h3 {
1000
+ ._ChatMessage_14j71_124 h3 {
1248
1001
  font-size: var(--puck-font-m);
1249
1002
  }
1250
- ._ChatMessage_150yz_124 h4 {
1003
+ ._ChatMessage_14j71_124 h4 {
1251
1004
  font-size: var(--puck-font-s);
1252
1005
  }
1253
- ._ChatMessage_150yz_124 h5 {
1006
+ ._ChatMessage_14j71_124 h5 {
1254
1007
  font-size: var(--puck-font-xs);
1255
1008
  }
1256
- ._ChatMessage_150yz_124 h6 {
1009
+ ._ChatMessage_14j71_124 h6 {
1257
1010
  font-size: var(--puck-font-xm);
1258
1011
  }
1259
- ._ChatMessage_150yz_124 p {
1012
+ ._ChatMessage_14j71_124 p {
1260
1013
  margin-bottom: 8px;
1261
1014
  margin-top: 8px;
1262
1015
  }
1263
- ._ChatMessage_150yz_124 a {
1016
+ ._ChatMessage_14j71_124 a {
1264
1017
  color: var(--puck-color-azure-04);
1265
1018
  font-weight: 600;
1266
1019
  text-decoration: none;
1267
1020
  }
1268
- ._ChatMessage_150yz_124 a:hover {
1021
+ ._ChatMessage_14j71_124 a:hover {
1269
1022
  color: var(--puck-color-azure-05);
1270
1023
  }
1271
- ._ChatMessage_150yz_124 hr {
1024
+ ._ChatMessage_14j71_124 hr {
1272
1025
  border-top: none;
1273
1026
  border-bottom-color: var(--puck-color-grey-09);
1274
1027
  margin-bottom: 16px;
1275
1028
  margin-top: 16px;
1276
1029
  }
1277
- ._ChatMessage_150yz_124 blockquote {
1030
+ ._ChatMessage_14j71_124 blockquote {
1278
1031
  margin-bottom: 8px;
1279
1032
  margin-top: 8px;
1280
1033
  margin-left: 0;
@@ -1283,7 +1036,7 @@ p {
1283
1036
  padding-bottom: 2px;
1284
1037
  padding-top: 2px;
1285
1038
  }
1286
- ._ChatMessage-data_150yz_220 {
1039
+ ._ChatMessage-data_14j71_219 {
1287
1040
  background: var(--puck-color-grey-12);
1288
1041
  border: 1px solid var(--puck-color-grey-08);
1289
1042
  border-radius: 16px;
@@ -1293,19 +1046,19 @@ p {
1293
1046
  margin-top: 12px;
1294
1047
  padding: 12px 16px;
1295
1048
  }
1296
- ._ChatMessage-dataInner_150yz_231 {
1049
+ ._ChatMessage-dataInner_14j71_230 {
1297
1050
  align-items: center;
1298
1051
  display: flex;
1299
1052
  gap: 8px;
1300
1053
  }
1301
- ._ChatMessage-dataIcon_150yz_237 {
1054
+ ._ChatMessage-dataIcon_14j71_236 {
1302
1055
  display: flex;
1303
1056
  }
1304
- ._Chat-loader_150yz_241 {
1057
+ ._Chat-loader_14j71_240 {
1305
1058
  padding: 16px;
1306
1059
  padding-top: 0;
1307
1060
  }
1308
- ._Chat-error_150yz_246 {
1061
+ ._Chat-error_14j71_245 {
1309
1062
  align-items: center;
1310
1063
  display: flex;
1311
1064
  gap: 8px;
@@ -1313,10 +1066,10 @@ p {
1313
1066
  margin: 16px;
1314
1067
  margin-top: 0;
1315
1068
  }
1316
- ._Chat-errorLabel_150yz_255 {
1069
+ ._Chat-errorLabel_14j71_254 {
1317
1070
  color: var(--puck-color-red-04);
1318
1071
  }
1319
- ._Chat-errorAction_150yz_259 {
1072
+ ._Chat-errorAction_14j71_258 {
1320
1073
  margin-left: auto;
1321
1074
  }
1322
1075