@puckeditor/plugin-ai 0.1.0-canary.0a948748 → 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
@@ -1,3 +1,68 @@
1
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/Chat/styles.module.css/#css-module-data */
2
+ ._Chat_1mv7h_1 {
3
+ background: white;
4
+ height: 100%;
5
+ display: flex;
6
+ flex-direction: column;
7
+ }
8
+ ._Chat-header_1mv7h_8 {
9
+ display: block;
10
+ padding: 8px 16px;
11
+ font-weight: 600;
12
+ border-bottom: 1px solid var(--puck-color-grey-09);
13
+ }
14
+ @media (min-width: 638px) {
15
+ ._Chat-header_1mv7h_8 {
16
+ display: block;
17
+ padding: 16px;
18
+ }
19
+ }
20
+ ._Chat-placeholder_1mv7h_22 {
21
+ align-items: center;
22
+ color: var(--puck-color-grey-06);
23
+ display: none;
24
+ justify-content: center;
25
+ flex-direction: column;
26
+ height: 100%;
27
+ text-align: center;
28
+ padding: 32px;
29
+ gap: 8px;
30
+ }
31
+ @media (min-width: 638px) {
32
+ ._Chat-placeholder_1mv7h_22 {
33
+ display: flex;
34
+ }
35
+ }
36
+ ._Chat-actions_1mv7h_40 {
37
+ display: flex;
38
+ gap: 8px;
39
+ justify-content: center;
40
+ flex-wrap: wrap;
41
+ margin-top: 4px;
42
+ }
43
+ ._Chat-action_1mv7h_40,
44
+ ._Chat-actionOutlined_1mv7h_49 {
45
+ border: 1px solid var(--puck-color-azure-04);
46
+ border-radius: 16px;
47
+ padding: 4px 12px;
48
+ font-size: 12px;
49
+ cursor: pointer;
50
+ }
51
+ ._Chat-action_1mv7h_40 {
52
+ background: var(--puck-color-azure-04);
53
+ color: white;
54
+ }
55
+ ._Chat-action_1mv7h_40:hover {
56
+ opacity: 0.8;
57
+ }
58
+ ._Chat-actionOutlined_1mv7h_49 {
59
+ background: transparent;
60
+ color: var(--puck-color-azure-04);
61
+ }
62
+ ._Chat-actionOutlined_1mv7h_49:hover {
63
+ background: var(--puck-color-azure-11);
64
+ }
65
+
1
66
  /* ../platform-client/styles/color.css */
2
67
  :root {
3
68
  --puck-color-rose-01: #4a001c;
@@ -380,59 +445,6 @@ p {
380
445
  padding: 0px !important;
381
446
  }
382
447
 
383
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Avatar/Avatar.module.css/#css-module-data */
384
- ._Avatar_meij0_1 {
385
- align-items: center;
386
- border-radius: 4px;
387
- display: flex;
388
- gap: 16px;
389
- height: 100%;
390
- padding: 8px 12px;
391
- text-decoration: none;
392
- }
393
- a._Avatar_meij0_1:hover {
394
- background-color: var(--puck-color-azure-11);
395
- }
396
- a._Avatar--onLightGrey_meij0_15:hover {
397
- background-color: var(--puck-color-azure-10);
398
- }
399
- ._Avatar--flush_meij0_19 {
400
- gap: 8px;
401
- padding: 0;
402
- }
403
- ._Avatar-image_meij0_24 {
404
- align-items: center;
405
- border-radius: 100%;
406
- background-color: var(--puck-color-grey-10);
407
- border: 1px solid var(--puck-color-grey-10);
408
- color: var(--puck-color-grey-06);
409
- display: flex;
410
- justify-content: center;
411
- font-size: var(--puck-font-size-xxs);
412
- overflow: hidden;
413
- }
414
- ._Avatar-image_meij0_24 img {
415
- width: 100%;
416
- height: 100%;
417
- }
418
- ._Avatar-name_meij0_41 {
419
- color: black;
420
- font-weight: 600;
421
- }
422
- a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
423
- color: var(--puck-color-azure-04);
424
- }
425
- ._Avatar--smallText_meij0_50 ._Avatar-name_meij0_41 {
426
- font-size: var(--puck-font-size-xxs);
427
- }
428
- ._Avatar--inline_meij0_54 {
429
- align-self: baseline;
430
- display: inline-flex;
431
- }
432
- ._Avatar--muted_meij0_59 ._Avatar-name_meij0_41 {
433
- color: var(--puck-color-grey-06);
434
- }
435
-
436
448
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Card/Card.module.css/#css-module-data */
437
449
  ._Card_jzb6b_1 {
438
450
  background-color: white;
@@ -472,100 +484,6 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
472
484
  color: var(--puck-color-azure-04);
473
485
  }
474
486
 
475
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Footer/styles.module.css/#css-module-data */
476
- ._Footer_eew04_1 {
477
- background-color: var(--puck-color-grey-11);
478
- border-top: 1px solid var(--puck-color-grey-09);
479
- color: var(--puck-color-grey-01);
480
- }
481
- ._Footer--dark_eew04_7 {
482
- background-color: var(--puck-color-grey-02);
483
- border-top: 1px solid var(--puck-color-grey-03);
484
- color: var(--puck-color-grey-10);
485
- }
486
- ._Footer-inner_eew04_13 {
487
- font-size: var(--puck-font-size-xxs);
488
- margin-left: auto;
489
- margin-right: auto;
490
- max-width: 1440px;
491
- padding: 32px 24px;
492
- }
493
- ._Footer-brand_eew04_21 {
494
- display: flex;
495
- flex-direction: column;
496
- }
497
- ._Footer-main_eew04_26 {
498
- display: flex;
499
- flex-direction: column;
500
- gap: 16px;
501
- margin-bottom: 64px;
502
- }
503
- @media (min-width: 768px) {
504
- ._Footer-main_eew04_26 {
505
- gap: 128px;
506
- flex-direction: row;
507
- margin-bottom: 16px;
508
- }
509
- }
510
- ._Footer-logo_eew04_41 {
511
- flex-grow: 1;
512
- margin-bottom: 16px;
513
- }
514
- ._Footer-copyright_eew04_46 {
515
- color: var(--puck-color-grey-05);
516
- }
517
- ._Footer--dark_eew04_7 ._Footer-copyright_eew04_46 {
518
- color: var(--puck-color-grey-08);
519
- }
520
- ._Footer-sections_eew04_54 {
521
- display: flex;
522
- gap: 32px;
523
- flex-grow: 1;
524
- flex-direction: column;
525
- }
526
- @media (min-width: 768px) {
527
- ._Footer-sections_eew04_54 {
528
- gap: 16px;
529
- flex-direction: row;
530
- }
531
- }
532
- ._Footer-section_eew04_54 {
533
- flex-grow: 1;
534
- }
535
- ._Footer-sectionHeader_eew04_72 {
536
- margin-bottom: 8px;
537
- font-weight: 600;
538
- }
539
- ._Footer-icon_eew04_77 {
540
- color: var(--puck-color-grey-05);
541
- width: 16px;
542
- }
543
- ._Footer--dark_eew04_7 ._Footer-icon_eew04_77 {
544
- color: var(--puck-color-grey-08);
545
- }
546
- ._Footer-link_eew04_86 {
547
- align-items: center;
548
- display: flex;
549
- gap: 8px;
550
- padding-top: 4px;
551
- padding-bottom: 4px;
552
- }
553
- ._Footer--dark_eew04_7 ._Footer-link_eew04_86 {
554
- color: var(--puck-color-grey-08);
555
- }
556
- ._Footer-link_eew04_86:hover {
557
- color: var(--puck-color-azure-04);
558
- }
559
- ._Footer--dark_eew04_7 ._Footer-link_eew04_86:hover {
560
- color: var(--puck-color-azure-08);
561
- }
562
- ._Footer-link_eew04_86:hover ._Footer-icon_eew04_77 {
563
- color: var(--puck-color-azure-05);
564
- }
565
- ._Footer--dark_eew04_7 ._Footer-link_eew04_86:hover ._Footer-icon_eew04_77 {
566
- color: var(--puck-color-azure-09);
567
- }
568
-
569
487
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/IconButton/IconButton.module.css/#css-module-data */
570
488
  ._IconButton_thegm_1 {
571
489
  align-items: center;
@@ -674,127 +592,6 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
674
592
  flex-grow: 1;
675
593
  }
676
594
 
677
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Layout/Layout.module.css/#css-module-data */
678
- ._Layout_hy65k_1 {
679
- --header-height: 76px;
680
- --nav-width: 256px;
681
- display: grid;
682
- background-color: white;
683
- grid-template-areas: "switcher bar" "nav page";
684
- grid-template-columns: var(--nav-width) auto;
685
- grid-template-rows: var(--header-height) auto;
686
- height: 100vh;
687
- }
688
- ._Layout-switcher_hy65k_12 {
689
- border-right: 1px solid var(--puck-color-grey-09);
690
- border-bottom: 1px solid var(--puck-color-grey-09);
691
- grid-area: switcher;
692
- }
693
- ._Layout-bar_hy65k_18 {
694
- align-items: center;
695
- border-bottom: 1px solid var(--puck-color-grey-09);
696
- grid-area: bar;
697
- display: flex;
698
- }
699
- ._Layout-nav_hy65k_25 {
700
- border-right: 1px solid var(--puck-color-grey-09);
701
- grid-area: nav;
702
- }
703
- ._Layout-page_hy65k_30 {
704
- grid-area: page;
705
- }
706
-
707
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Nav/Nav.module.css/#css-module-data */
708
- ._Nav-list_b6txo_1 {
709
- list-style: none;
710
- margin: 0;
711
- padding: 0;
712
- }
713
- ._NavSection_b6txo_7 {
714
- padding: 16px;
715
- }
716
- ._NavSection_b6txo_7:first-of-type {
717
- padding-top: 32px;
718
- }
719
- ._Nav--slim_b6txo_15 ._NavSection_b6txo_7 {
720
- padding-left: 0;
721
- padding-right: 0;
722
- }
723
- ._Nav--slim_b6txo_15 ._NavSection_b6txo_7 + ._NavSection_b6txo_7 {
724
- border-top: 1px solid var(--puck-color-grey-09);
725
- }
726
- ._NavSection-list_b6txo_24 {
727
- display: flex;
728
- flex-direction: column;
729
- list-style: none;
730
- margin: 0;
731
- padding: 0;
732
- }
733
- ._Nav--slim_b6txo_15 ._NavSection-list_b6txo_24 {
734
- gap: 16px;
735
- }
736
- ._NavSection-title_b6txo_36 {
737
- font-weight: 700;
738
- margin-bottom: 8px;
739
- padding-left: 8px;
740
- padding-right: 8px;
741
- }
742
- ._Nav--slim_b6txo_15 ._NavSection-title_b6txo_36 {
743
- opacity: 0;
744
- }
745
- ._NavItem-link_b6txo_47 {
746
- align-items: center;
747
- color: var(--puck-color-grey-03);
748
- display: flex;
749
- gap: 8px;
750
- text-decoration: none;
751
- cursor: pointer;
752
- border-radius: 4px;
753
- padding: 8px 4px;
754
- }
755
- ._Nav--slim_b6txo_15 ._NavItem-link_b6txo_47 {
756
- border-left: 4px solid transparent;
757
- border-right: 4px solid transparent;
758
- border-radius: 0;
759
- flex-direction: column;
760
- font-size: var(--puck-font-size-xxxs);
761
- }
762
- ._NavItem-linkIcon_b6txo_67 {
763
- height: 24px;
764
- width: 24px;
765
- }
766
- ._NavItem--active_b6txo_72 > ._NavItem-link_b6txo_47 {
767
- background-color: var(--puck-color-azure-10);
768
- color: var(--puck-color-azure-04);
769
- font-weight: 600;
770
- }
771
- ._Nav--slim_b6txo_15 ._NavItem--active_b6txo_72 > ._NavItem-link_b6txo_47 {
772
- background-color: transparent;
773
- border-right-color: var(--puck-color-azure-04);
774
- border-top-right-radius: 0;
775
- border-bottom-right-radius: 0;
776
- font-weight: 600;
777
- }
778
- ._NavItem_b6txo_47:not(._NavItem--active_b6txo_72) > ._NavItem-link_b6txo_47:hover {
779
- background-color: var(--puck-color-azure-11);
780
- color: var(--puck-color-azure-04);
781
- }
782
- ._NavItem-list_b6txo_91 {
783
- border-left: 1px solid var(--puck-color-grey-09);
784
- display: flex;
785
- flex-direction: column;
786
- list-style: none;
787
- margin-top: 8px;
788
- margin-left: 4px;
789
- padding: 0;
790
- padding-left: 8px;
791
- }
792
- ._Nav--slim_b6txo_15 ._NavItem-list_b6txo_91 {
793
- border-left: 0;
794
- padding-left: 0;
795
- margin-left: 0;
796
- }
797
-
798
595
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Link/Link.module.css/#css-module-data */
799
596
  ._Link_1j70m_1 {
800
597
  color: var(--puck-color-azure-04);
@@ -858,68 +655,22 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
858
655
  margin-left: auto;
859
656
  }
860
657
 
861
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/PuckHeader/PuckHeader.module.css/#css-module-data */
862
- ._PuckHeader_19h0f_1 {
863
- align-items: center;
864
- background-color: var(--puck-color-grey-12);
865
- border-bottom: 1px solid var(--puck-color-grey-09);
866
- display: grid;
867
- box-sizing: border-box;
868
- grid-area: header;
869
- grid-template-columns: min-content auto 256px;
870
- height: var(--header-height);
871
- width: 100%;
872
- }
873
- ._PuckHeader-left_19h0f_16 {
874
- align-items: center;
875
- display: flex;
876
- padding-left: 16px;
877
- }
878
- ._PuckHeader-center_19h0f_22 {
879
- padding-left: 16px;
880
- padding-right: 16px;
881
- }
882
- ._PuckHeader-right_19h0f_27 {
883
- display: flex;
884
- justify-content: flex-end;
885
- gap: 8px;
886
- padding-right: 16px;
887
- }
888
- ._PuckHeader-pageInput_19h0f_34 {
889
- align-items: center;
890
- background-color: var(--puck-color-grey-10);
891
- border: none;
892
- border-radius: 4px;
893
- box-sizing: border-box;
894
- color: var(--puck-color-grey-04);
895
- display: flex;
896
- font-weight: 600;
897
- width: 100%;
898
- }
899
- ._PuckHeader-pageInput_19h0f_34:focus-within {
900
- outline: 2px solid var(--puck-color-azure-05);
901
- }
902
- ._PuckHeader-pageInputActions_19h0f_50 {
903
- display: flex;
904
- gap: 8px;
905
- padding-right: 12px;
658
+ /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
659
+ ._Section-inner_1uwo0_1 {
660
+ margin-left: auto;
661
+ margin-right: auto;
662
+ max-width: 1280px;
663
+ padding: 16px;
906
664
  }
907
- ._PuckHeader-input_19h0f_56 {
908
- background-color: transparent;
909
- border: none;
910
- color: var(--puck-color-grey-04);
911
- font-weight: 600;
912
- padding: 12px 16px;
913
- width: 100%;
665
+ ._Section--flush_1uwo0_8 ._Section-inner_1uwo0_1 {
666
+ padding-bottom: 0;
667
+ padding-top: 0;
914
668
  }
915
- ._PuckHeader-input_19h0f_56:focus {
916
- outline: none;
669
+ ._Section_1uwo0_1 + ._Section_1uwo0_1 {
670
+ border-top: 1px solid var(--puck-color-grey-09);
917
671
  }
918
- ._PuckHeader-historyActions_19h0f_69 {
919
- display: flex;
920
- border-right: 1px solid var(--puck-color-grey-09);
921
- padding-right: 12px;
922
- margin-right: 4px;
672
+ ._Section--full_1uwo0_17 ._Section-inner_1uwo0_1 {
673
+ max-width: unset;
923
674
  }
924
675
 
925
676
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Tag/Tag.module.css/#css-module-data */
@@ -985,230 +736,6 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
985
736
  }
986
737
  }
987
738
 
988
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/AppSwitchers/AppSwitchers.module.css/#css-module-data */
989
- ._AppSwitchers_b7m1z_1 {
990
- align-items: center;
991
- display: flex;
992
- gap: 8px;
993
- padding: 12px 16px;
994
- }
995
- ._AppSwitchers-divider_b7m1z_8 {
996
- color: var(--puck-color-grey-10);
997
- font-size: var(--puck-font-size-l);
998
- }
999
-
1000
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Switcher/Switcher.module.css/#css-module-data */
1001
- ._Switcher_134wo_1 {
1002
- --switcher-width: 32px;
1003
- align-items: center;
1004
- display: flex;
1005
- position: relative;
1006
- }
1007
- ._Switcher-link_134wo_8 {
1008
- align-items: center;
1009
- border-radius: 4px;
1010
- display: flex;
1011
- gap: 16px;
1012
- height: 100%;
1013
- padding: 8px 12px;
1014
- text-decoration: none;
1015
- }
1016
- ._Switcher-switcher_134wo_18 {
1017
- align-items: center;
1018
- background-color: transparent;
1019
- border: none;
1020
- border-radius: 4px;
1021
- color: var(--puck-color-grey-08);
1022
- padding: 8px;
1023
- display: flex;
1024
- width: var(--switcher-width);
1025
- }
1026
- ._Switcher--hasHref_134wo_29 ._Switcher-switcher_134wo_18:hover {
1027
- background-color: var(--puck-color-azure-11);
1028
- color: var(--puck-color-azure-04);
1029
- cursor: pointer;
1030
- }
1031
- ._Switcher-logoInner_134wo_35 {
1032
- border-radius: 100%;
1033
- background-color: var(--puck-color-grey-09);
1034
- height: 24px;
1035
- width: 24px;
1036
- }
1037
- ._Switcher-label_134wo_42 {
1038
- color: black;
1039
- font-weight: 600;
1040
- }
1041
- ._Switcher-link_134wo_8:hover {
1042
- background-color: var(--puck-color-azure-11);
1043
- }
1044
- ._Switcher-link_134wo_8:hover ._Switcher-label_134wo_42 {
1045
- color: var(--puck-color-azure-04);
1046
- }
1047
- ._Switcher--slim_134wo_55 ._Switcher-label_134wo_42 {
1048
- display: none;
1049
- }
1050
- ._Switcher--slim_134wo_55 ._Switcher-logo_134wo_35 {
1051
- transform: translateX(-6px);
1052
- transition: transform 250ms ease-in;
1053
- }
1054
- ._Switcher-menu_134wo_64 {
1055
- background: white;
1056
- border: 1px solid var(--puck-color-grey-09);
1057
- border-radius: 4px;
1058
- display: none;
1059
- position: absolute;
1060
- top: 100%;
1061
- left: calc(100% - var(--switcher-width));
1062
- z-index: 1;
1063
- }
1064
- ._Switcher--menuVisible_134wo_75 ._Switcher-menu_134wo_64 {
1065
- display: block;
1066
- }
1067
- ._Switcher-menuList_134wo_79 {
1068
- list-style: none;
1069
- margin: 0;
1070
- padding: 8px;
1071
- }
1072
- ._Switcher-menuItemAction_134wo_85 {
1073
- background-color: transparent;
1074
- border: none;
1075
- color: black;
1076
- display: block;
1077
- font-size: var(--puck-font-size-xs);
1078
- font-weight: 500;
1079
- padding: 12px 16px;
1080
- text-align: left;
1081
- text-decoration: none;
1082
- }
1083
- ._Switcher-menuItemAction_134wo_85:hover {
1084
- background-color: var(--puck-color-azure-11);
1085
- }
1086
-
1087
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/PuckLayout/PuckLayout.module.css/#css-module-data */
1088
- ._PuckLayout_1yvk1_1 {
1089
- display: flex;
1090
- flex-direction: column;
1091
- width: 100vw;
1092
- height: 100vh;
1093
- }
1094
- ._PuckLayout-layout_1yvk1_8 {
1095
- display: grid;
1096
- grid-template-columns: 68px 256px auto 256px;
1097
- flex-grow: 1;
1098
- min-height: 0;
1099
- }
1100
- ._PuckLayout-loader_1yvk1_15 {
1101
- align-items: center;
1102
- border: 1px solid var(--puck-color-grey-09);
1103
- display: flex;
1104
- justify-content: center;
1105
- background-color: white;
1106
- height: 100%;
1107
- }
1108
- ._PuckLayout-sideHeader_1yvk1_24 {
1109
- align-items: center;
1110
- display: flex;
1111
- border-bottom: 1px solid var(--puck-color-grey-09);
1112
- border-right: 1px solid var(--puck-color-grey-09);
1113
- padding-left: 16px;
1114
- }
1115
- ._PuckLayout-switcher_1yvk1_32 {
1116
- border-bottom: 1px solid var(--puck-color-grey-09);
1117
- border-right: 1px solid var(--puck-color-grey-09);
1118
- }
1119
- ._PuckLayout-nav_1yvk1_37 {
1120
- border-right: 1px solid var(--puck-color-grey-09);
1121
- background-color: var(--puck-color-grey-12);
1122
- }
1123
- ._PuckLayout-versionLoader_1yvk1_42 {
1124
- align-items: center;
1125
- display: flex;
1126
- justify-content: center;
1127
- }
1128
- ._PuckLayout-versionList_1yvk1_48 {
1129
- list-style: none;
1130
- display: flex;
1131
- flex-direction: column;
1132
- gap: 16px;
1133
- margin: 0;
1134
- padding: 16px;
1135
- }
1136
- ._PuckLayout-version_1yvk1_42 {
1137
- background-color: white;
1138
- padding: 8px 12px;
1139
- border: 1px solid var(--puck-color-grey-10);
1140
- border-radius: 4px;
1141
- }
1142
- ._PuckLayout-versionBody_1yvk1_64 {
1143
- display: flex;
1144
- padding-bottom: 4px;
1145
- margin-bottom: 8px;
1146
- border-bottom: 1px solid var(--puck-color-grey-10);
1147
- }
1148
- ._PuckLayout-versionDetails_1yvk1_71 {
1149
- display: flex;
1150
- }
1151
- ._PuckLayout-version_1yvk1_42:hover {
1152
- background-color: var(--puck-color-azure-11);
1153
- border-color: var(--puck-color-azure-04);
1154
- cursor: pointer;
1155
- }
1156
- ._PuckLayout-versionInner_1yvk1_81 {
1157
- color: unset;
1158
- text-decoration: none;
1159
- }
1160
- ._PuckLayout-versionVersion_1yvk1_86 {
1161
- font-weight: 600;
1162
- }
1163
- ._PuckLayout-versionStatus_1yvk1_90 {
1164
- margin-left: auto;
1165
- text-transform: uppercase;
1166
- font-weight: 600;
1167
- font-size: var(--puck-font-size-xxs);
1168
- border-radius: 4px;
1169
- border: 1px solid var(--puck-color-grey-01);
1170
- padding: 4px 8px;
1171
- }
1172
- ._PuckLayout-versionDetails_1yvk1_71 {
1173
- width: 100%;
1174
- }
1175
- ._PuckLayout-versionAuthor_1yvk1_104 {
1176
- flex-grow: 1;
1177
- }
1178
- ._PuckLayout-versionAuthorName_1yvk1_108 {
1179
- font-size: var(--puck-font-size-xxs);
1180
- }
1181
- ._PuckLayout-versionDate_1yvk1_112 {
1182
- font-size: var(--puck-font-size-xxs);
1183
- margin-left: auto;
1184
- }
1185
- ._PuckLayout-fields_1yvk1_117 {
1186
- border-left: 1px solid var(--puck-color-grey-09);
1187
- }
1188
- ._PuckLayout-sidebar_1yvk1_121 {
1189
- background-color: var(--puck-color-grey-12);
1190
- border-right: 1px solid var(--puck-color-grey-09);
1191
- overflow: auto;
1192
- }
1193
-
1194
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
1195
- ._Section-inner_1uwo0_1 {
1196
- margin-left: auto;
1197
- margin-right: auto;
1198
- max-width: 1280px;
1199
- padding: 16px;
1200
- }
1201
- ._Section--flush_1uwo0_8 ._Section-inner_1uwo0_1 {
1202
- padding-bottom: 0;
1203
- padding-top: 0;
1204
- }
1205
- ._Section_1uwo0_1 + ._Section_1uwo0_1 {
1206
- border-top: 1px solid var(--puck-color-grey-09);
1207
- }
1208
- ._Section--full_1uwo0_17 ._Section-inner_1uwo0_1 {
1209
- max-width: unset;
1210
- }
1211
-
1212
739
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
1213
740
  ._Table_1t44j_1 {
1214
741
  color: black;
@@ -1293,38 +820,6 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
1293
820
  height: 100%;
1294
821
  }
1295
822
 
1296
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Tabs/Tabs.module.css/#css-module-data */
1297
- ._Tabs_1d592_1 {
1298
- display: flex;
1299
- margin: 0;
1300
- padding: 0;
1301
- list-style: none;
1302
- }
1303
- ._TabItem_1d592_8 {
1304
- display: flex;
1305
- }
1306
- ._TabItem-link_1d592_12 {
1307
- align-items: center;
1308
- border-bottom: 3px solid transparent;
1309
- border-top: 3px solid transparent;
1310
- color: black;
1311
- display: flex;
1312
- gap: 4px;
1313
- text-decoration: none;
1314
- padding: 16px;
1315
- }
1316
- ._TabItem-icon_1d592_23 {
1317
- align-items: center;
1318
- color: var(--puck-color-grey-05);
1319
- display: flex;
1320
- }
1321
- ._TabItem--isActive_1d592_29 ._TabItem-link_1d592_12 {
1322
- border-bottom-color: var(--puck-color-azure-04);
1323
- }
1324
- ._TabItem-link_1d592_12:hover {
1325
- background-color: var(--puck-color-azure-10);
1326
- }
1327
-
1328
823
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
1329
824
  ._VerticalSpace_1tjaw_1 {
1330
825
  padding-top: 16px;
@@ -1357,73 +852,8 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
1357
852
  padding-top: 128px;
1358
853
  }
1359
854
 
1360
- /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/Chat/styles.module.css/#css-module-data */
1361
- ._Chat_1p4ln_1 {
1362
- background: white;
1363
- height: 100%;
1364
- display: flex;
1365
- flex-direction: column;
1366
- }
1367
- ._Chat-header_1p4ln_8 {
1368
- display: block;
1369
- padding: 8px 16px;
1370
- font-weight: 600;
1371
- border-bottom: 1px solid var(--puck-color-grey-09);
1372
- }
1373
- @media (min-width: 638px) {
1374
- ._Chat-header_1p4ln_8 {
1375
- display: block;
1376
- padding: 16px;
1377
- }
1378
- }
1379
- ._Chat-placeholder_1p4ln_22 {
1380
- align-items: center;
1381
- color: var(--puck-color-grey-06);
1382
- display: none;
1383
- justify-content: center;
1384
- flex-direction: column;
1385
- height: 100%;
1386
- text-align: center;
1387
- padding: 32px;
1388
- gap: 8px;
1389
- }
1390
- @media (min-width: 638px) {
1391
- ._Chat-placeholder_1p4ln_22 {
1392
- display: flex;
1393
- }
1394
- }
1395
- ._Chat-actions_1p4ln_40 {
1396
- display: flex;
1397
- gap: 8px;
1398
- justify-content: center;
1399
- flex-wrap: wrap;
1400
- margin-top: 4px;
1401
- }
1402
- ._Chat-action_1p4ln_40,
1403
- ._Chat-actionOutlined_1p4ln_49 {
1404
- border-radius: 16px;
1405
- padding: 4px 12px;
1406
- font-size: 12px;
1407
- cursor: pointer;
1408
- }
1409
- ._Chat-action_1p4ln_40 {
1410
- background: var(--puck-color-azure-04);
1411
- color: white;
1412
- }
1413
- ._Chat-action_1p4ln_40:hover {
1414
- opacity: 0.8;
1415
- }
1416
- ._Chat-actionOutlined_1p4ln_49 {
1417
- background: transparent;
1418
- border: 1px solid var(--puck-color-azure-04);
1419
- color: var(--puck-color-azure-04);
1420
- }
1421
- ._Chat-actionOutlined_1p4ln_49:hover {
1422
- background: var(--puck-color-azure-11);
1423
- }
1424
-
1425
855
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/ChatBody/styles.module.css/#css-module-data */
1426
- ._Chat_dx6l4_1 {
856
+ ._Chat_14j71_1 {
1427
857
  --fade-size: 32px;
1428
858
  --chat-background-color: white;
1429
859
  display: flex;
@@ -1433,46 +863,46 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
1433
863
  overflow: hidden;
1434
864
  }
1435
865
  @media (min-width: 638px) {
1436
- ._Chat_dx6l4_1 {
866
+ ._Chat_14j71_1 {
1437
867
  max-height: none;
1438
868
  }
1439
869
  }
1440
- ._Chat-inner_dx6l4_17 {
870
+ ._Chat-inner_14j71_17 {
1441
871
  background-color: var(--chat-background-color);
1442
872
  display: flex;
1443
873
  flex-direction: column;
1444
874
  max-height: 100%;
1445
875
  position: relative;
1446
876
  }
1447
- ._Chat--hasMessages_dx6l4_25 ._Chat-inner_dx6l4_17 {
877
+ ._Chat--hasMessages_14j71_25 ._Chat-inner_14j71_17 {
1448
878
  padding-top: 0;
1449
879
  }
1450
- ._Chat_dx6l4_1:not(._Chat--hasChildren_dx6l4_29) ._Chat-inner_dx6l4_17 {
880
+ ._Chat_14j71_1:not(._Chat--hasChildren_14j71_29) ._Chat-inner_14j71_17 {
1451
881
  height: 100%;
1452
882
  padding-top: 0;
1453
883
  }
1454
- ._Chat--hasMessages_dx6l4_25 ._Chat-messages_dx6l4_34 {
884
+ ._Chat--hasMessages_14j71_25 ._Chat-messages_14j71_34 {
1455
885
  display: flex;
1456
886
  flex-direction: column-reverse;
1457
887
  padding: 16px;
1458
888
  overflow: auto;
1459
889
  }
1460
- ._Chat-form_dx6l4_41 {
890
+ ._Chat-form_14j71_41 {
1461
891
  background-color: white;
1462
892
  padding: 16px;
1463
893
  }
1464
- ._Chat--hideInput_dx6l4_46 ._Chat-form_dx6l4_41 {
894
+ ._Chat--hideInput_14j71_46 ._Chat-form_14j71_41 {
1465
895
  display: none;
1466
896
  }
1467
- ._Chat--hasMessages_dx6l4_25 ._Chat-form_dx6l4_41 {
897
+ ._Chat--hasMessages_14j71_25 ._Chat-form_14j71_41 {
1468
898
  border-top: 1px solid var(--puck-color-grey-09);
1469
899
  }
1470
900
  @media (min-width: 638px) {
1471
- ._Chat-form_dx6l4_41 {
901
+ ._Chat-form_14j71_41 {
1472
902
  border-top: 1px solid var(--puck-color-grey-09);
1473
903
  }
1474
904
  }
1475
- ._Chat-formHelper_dx6l4_60 {
905
+ ._Chat-formHelper_14j71_60 {
1476
906
  align-items: center;
1477
907
  display: flex;
1478
908
  color: var(--puck-color-grey-04);
@@ -1481,11 +911,11 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
1481
911
  gap: 8px;
1482
912
  padding-bottom: 12px;
1483
913
  }
1484
- ._Chat--hasMessages_dx6l4_25 ._Chat-formHelper_dx6l4_60 {
914
+ ._Chat--hasMessages_14j71_25 ._Chat-formHelper_14j71_60 {
1485
915
  opacity: 0;
1486
916
  transition: opacity 250ms ease-in;
1487
917
  }
1488
- ._Chat-examplePrompts_dx6l4_75 {
918
+ ._Chat-examplePrompts_14j71_75 {
1489
919
  align-items: center;
1490
920
  display: flex;
1491
921
  flex-wrap: nowrap;
@@ -1494,7 +924,7 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
1494
924
  width: 100%;
1495
925
  overflow-x: auto;
1496
926
  }
1497
- ._Chat-examplePrompt_dx6l4_75 {
927
+ ._Chat-examplePrompt_14j71_75 {
1498
928
  align-items: center;
1499
929
  background: white;
1500
930
  border: 1px solid var(--puck-color-grey-09);
@@ -1505,33 +935,33 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
1505
935
  padding: 6px 12px;
1506
936
  text-wrap: nowrap;
1507
937
  }
1508
- ._Chat-examplePrompt_dx6l4_75:hover {
938
+ ._Chat-examplePrompt_14j71_75:hover {
1509
939
  background: var(--puck-color-azure-11);
1510
940
  border-color: var(--puck-color-azure-08);
1511
941
  color: var(--puck-color-azure-04);
1512
942
  }
1513
- ._Chat-examplePromptArrow_dx6l4_103 {
943
+ ._Chat-examplePromptArrow_14j71_103 {
1514
944
  margin-left: auto;
1515
945
  }
1516
- ._Chat-default_dx6l4_107 {
946
+ ._Chat-default_14j71_107 {
1517
947
  overflow-y: auto;
1518
948
  flex-grow: 1;
1519
949
  }
1520
- ._Chat--hasMessages_dx6l4_25 ._Chat-default_dx6l4_107 {
950
+ ._Chat--hasMessages_14j71_25 ._Chat-default_14j71_107 {
1521
951
  opacity: 0;
1522
952
  padding: 0;
1523
953
  pointer-events: none;
1524
954
  transition: opacity 250ms ease-in;
1525
955
  }
1526
- ._Chat--hasMessages_dx6l4_25 {
956
+ ._Chat--hasMessages_14j71_25 {
1527
957
  background-color: white;
1528
958
  transition: background-color 250ms ease-in;
1529
959
  }
1530
- ._ChatMessage_dx6l4_124 {
960
+ ._ChatMessage_14j71_124 {
1531
961
  font-size: var(--puck-font-size-xs);
1532
962
  line-height: var(--line-height-s);
1533
963
  }
1534
- ._ChatMessage--userRole_dx6l4_129 ._ChatMessage-text_dx6l4_129 {
964
+ ._ChatMessage--userRole_14j71_129 ._ChatMessage-text_14j71_129 {
1535
965
  background: var(--puck-color-azure-10);
1536
966
  border-radius: 16px;
1537
967
  color: var(--puck-color-grey-03);
@@ -1540,64 +970,64 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
1540
970
  margin-top: 8px;
1541
971
  padding: 12px 16px;
1542
972
  }
1543
- ._ChatMessage_dx6l4_124 ul,
1544
- ._ChatMessage_dx6l4_124 ol {
973
+ ._ChatMessage_14j71_124 ul,
974
+ ._ChatMessage_14j71_124 ol {
1545
975
  list-style: decimal;
1546
976
  margin: 0;
1547
977
  margin-bottom: 12px;
1548
978
  margin-top: 12px;
1549
979
  padding-left: 32px;
1550
980
  }
1551
- ._ChatMessage_dx6l4_124 li {
981
+ ._ChatMessage_14j71_124 li {
1552
982
  margin-bottom: 8px;
1553
983
  margin-top: 8px;
1554
984
  padding-left: 8px;
1555
985
  }
1556
- ._ChatMessage_dx6l4_124 h1,
1557
- ._ChatMessage_dx6l4_124 h2,
1558
- ._ChatMessage_dx6l4_124 h3,
1559
- ._ChatMessage_dx6l4_124 h4,
1560
- ._ChatMessage_dx6l4_124 h5,
1561
- ._ChatMessage_dx6l4_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 {
1562
992
  font-weight: 600;
1563
993
  }
1564
- ._ChatMessage_dx6l4_124 h1 {
994
+ ._ChatMessage_14j71_124 h1 {
1565
995
  font-size: var(--puck-font-l);
1566
996
  }
1567
- ._ChatMessage_dx6l4_124 h2 {
997
+ ._ChatMessage_14j71_124 h2 {
1568
998
  font-size: var(--puck-font-m);
1569
999
  }
1570
- ._ChatMessage_dx6l4_124 h3 {
1000
+ ._ChatMessage_14j71_124 h3 {
1571
1001
  font-size: var(--puck-font-m);
1572
1002
  }
1573
- ._ChatMessage_dx6l4_124 h4 {
1003
+ ._ChatMessage_14j71_124 h4 {
1574
1004
  font-size: var(--puck-font-s);
1575
1005
  }
1576
- ._ChatMessage_dx6l4_124 h5 {
1006
+ ._ChatMessage_14j71_124 h5 {
1577
1007
  font-size: var(--puck-font-xs);
1578
1008
  }
1579
- ._ChatMessage_dx6l4_124 h6 {
1009
+ ._ChatMessage_14j71_124 h6 {
1580
1010
  font-size: var(--puck-font-xm);
1581
1011
  }
1582
- ._ChatMessage_dx6l4_124 p {
1012
+ ._ChatMessage_14j71_124 p {
1583
1013
  margin-bottom: 8px;
1584
1014
  margin-top: 8px;
1585
1015
  }
1586
- ._ChatMessage_dx6l4_124 a {
1016
+ ._ChatMessage_14j71_124 a {
1587
1017
  color: var(--puck-color-azure-04);
1588
1018
  font-weight: 600;
1589
1019
  text-decoration: none;
1590
1020
  }
1591
- ._ChatMessage_dx6l4_124 a:hover {
1021
+ ._ChatMessage_14j71_124 a:hover {
1592
1022
  color: var(--puck-color-azure-05);
1593
1023
  }
1594
- ._ChatMessage_dx6l4_124 hr {
1024
+ ._ChatMessage_14j71_124 hr {
1595
1025
  border-top: none;
1596
1026
  border-bottom-color: var(--puck-color-grey-09);
1597
1027
  margin-bottom: 16px;
1598
1028
  margin-top: 16px;
1599
1029
  }
1600
- ._ChatMessage_dx6l4_124 blockquote {
1030
+ ._ChatMessage_14j71_124 blockquote {
1601
1031
  margin-bottom: 8px;
1602
1032
  margin-top: 8px;
1603
1033
  margin-left: 0;
@@ -1606,7 +1036,7 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
1606
1036
  padding-bottom: 2px;
1607
1037
  padding-top: 2px;
1608
1038
  }
1609
- ._ChatMessage-data_dx6l4_219 {
1039
+ ._ChatMessage-data_14j71_219 {
1610
1040
  background: var(--puck-color-grey-12);
1611
1041
  border: 1px solid var(--puck-color-grey-08);
1612
1042
  border-radius: 16px;
@@ -1616,18 +1046,32 @@ a._Avatar_meij0_1:hover ._Avatar-name_meij0_41 {
1616
1046
  margin-top: 12px;
1617
1047
  padding: 12px 16px;
1618
1048
  }
1619
- ._ChatMessage-dataInner_dx6l4_230 {
1049
+ ._ChatMessage-dataInner_14j71_230 {
1620
1050
  align-items: center;
1621
1051
  display: flex;
1622
1052
  gap: 8px;
1623
1053
  }
1624
- ._ChatMessage-dataIcon_dx6l4_236 {
1054
+ ._ChatMessage-dataIcon_14j71_236 {
1625
1055
  display: flex;
1626
1056
  }
1627
- ._Chat-loader_dx6l4_240 {
1057
+ ._Chat-loader_14j71_240 {
1628
1058
  padding: 16px;
1629
1059
  padding-top: 0;
1630
1060
  }
1061
+ ._Chat-error_14j71_245 {
1062
+ align-items: center;
1063
+ display: flex;
1064
+ gap: 8px;
1065
+ font-size: var(--puck-font-size-xxs);
1066
+ margin: 16px;
1067
+ margin-top: 0;
1068
+ }
1069
+ ._Chat-errorLabel_14j71_254 {
1070
+ color: var(--puck-color-red-04);
1071
+ }
1072
+ ._Chat-errorAction_14j71_258 {
1073
+ margin-left: auto;
1074
+ }
1631
1075
 
1632
1076
  /* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/PromptForm/styles.module.css/#css-module-data */
1633
1077
  ._PromptForm_136g1_1 {