@puckeditor/plugin-ai 0.1.0-canary.4eacddeb → 0.1.0-canary.50878e4a

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