@puckeditor/plugin-ai 0.1.0-canary.4aba31f4 → 0.1.0-canary.4eacddeb
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 +81 -123
- package/dist/index.js +89 -110
- package/dist/index.mjs +77 -98
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -602,13 +602,13 @@ p {
|
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Page/Page.module.css/#css-module-data */
|
|
605
|
-
.
|
|
605
|
+
._Page_1uz1e_1 {
|
|
606
606
|
display: flex;
|
|
607
607
|
flex-direction: column;
|
|
608
608
|
height: 100%;
|
|
609
609
|
overflow: hidden;
|
|
610
610
|
}
|
|
611
|
-
._Page-
|
|
611
|
+
._Page-masthead_1uz1e_8 {
|
|
612
612
|
align-items: center;
|
|
613
613
|
display: flex;
|
|
614
614
|
gap: 16px;
|
|
@@ -617,75 +617,43 @@ p {
|
|
|
617
617
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
|
618
618
|
min-height: 64px;
|
|
619
619
|
}
|
|
620
|
-
._Page-
|
|
620
|
+
._Page-crumbs_1uz1e_18 {
|
|
621
621
|
display: flex;
|
|
622
622
|
gap: 32px;
|
|
623
623
|
}
|
|
624
|
-
._Page-
|
|
624
|
+
._Page-crumb_1uz1e_18 {
|
|
625
625
|
color: var(--puck-color-grey-05);
|
|
626
626
|
position: relative;
|
|
627
627
|
}
|
|
628
|
-
._Page-
|
|
628
|
+
._Page-crumbLink_1uz1e_28 {
|
|
629
629
|
color: var(--puck-color-grey-05);
|
|
630
630
|
text-decoration: none;
|
|
631
631
|
}
|
|
632
|
-
._Page-
|
|
632
|
+
._Page-crumbLink_1uz1e_28:hover {
|
|
633
633
|
color: var(--puck-color-azure-04);
|
|
634
634
|
}
|
|
635
|
-
._Page-
|
|
635
|
+
._Page-crumb_1uz1e_18:last-of-type {
|
|
636
636
|
color: var(--puck-color-grey-01);
|
|
637
637
|
font-weight: 600;
|
|
638
638
|
}
|
|
639
|
-
._Page-
|
|
639
|
+
._Page-crumb_1uz1e_18::before {
|
|
640
640
|
position: absolute;
|
|
641
641
|
content: "/";
|
|
642
642
|
left: -19px;
|
|
643
643
|
color: var(--puck-color-grey-09);
|
|
644
644
|
font-weight: 400;
|
|
645
645
|
}
|
|
646
|
-
._Page-
|
|
646
|
+
._Page-crumb_1uz1e_18:first-of-type::before {
|
|
647
647
|
display: none;
|
|
648
648
|
}
|
|
649
|
-
._Page-
|
|
649
|
+
._Page-crumb_1uz1e_18 {
|
|
650
650
|
color: var(--puck-color-grey-05);
|
|
651
651
|
position: relative;
|
|
652
652
|
text-decoration: none;
|
|
653
653
|
}
|
|
654
|
-
._Page-
|
|
654
|
+
._Page-actions_1uz1e_60 {
|
|
655
655
|
margin-left: auto;
|
|
656
656
|
}
|
|
657
|
-
._Page-footer_1pzwy_64 {
|
|
658
|
-
border-top: 1px solid var(--puck-color-grey-10);
|
|
659
|
-
padding: 16px 24px;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Pagination/Pagination.module.css/#css-module-data */
|
|
663
|
-
._Pagination_1okv2_1 {
|
|
664
|
-
align-items: baseline;
|
|
665
|
-
display: flex;
|
|
666
|
-
gap: 4px;
|
|
667
|
-
}
|
|
668
|
-
._PaginationButton_1okv2_8 {
|
|
669
|
-
align-items: center;
|
|
670
|
-
border-radius: 4px;
|
|
671
|
-
color: var(--puck-color-grey-05);
|
|
672
|
-
display: flex;
|
|
673
|
-
justify-content: center;
|
|
674
|
-
text-decoration: none;
|
|
675
|
-
min-width: 40px;
|
|
676
|
-
height: 40px;
|
|
677
|
-
}
|
|
678
|
-
._PaginationButton--isActive_1okv2_20 {
|
|
679
|
-
background-color: var(--puck-color-azure-11);
|
|
680
|
-
color: var(--puck-color-azure-04);
|
|
681
|
-
}
|
|
682
|
-
._PaginationButton_1okv2_8:hover {
|
|
683
|
-
background-color: var(--puck-color-azure-11);
|
|
684
|
-
color: var(--puck-color-azure-04);
|
|
685
|
-
}
|
|
686
|
-
._Pagination-ellipsis_1okv2_30 {
|
|
687
|
-
color: var(--puck-color-grey-05);
|
|
688
|
-
}
|
|
689
657
|
|
|
690
658
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Section/Section.module.css/#css-module-data */
|
|
691
659
|
._Section-inner_1uwo0_1 {
|
|
@@ -769,26 +737,23 @@ p {
|
|
|
769
737
|
}
|
|
770
738
|
|
|
771
739
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/Table/Table.module.css/#css-module-data */
|
|
772
|
-
.
|
|
740
|
+
._Table_1t44j_1 {
|
|
773
741
|
color: black;
|
|
774
742
|
display: flex;
|
|
775
743
|
flex-direction: column;
|
|
776
744
|
flex-grow: 1;
|
|
777
|
-
overflow-y: auto;
|
|
778
745
|
}
|
|
779
|
-
._Table-
|
|
746
|
+
._Table-filters_1t44j_8 {
|
|
780
747
|
margin: 16px;
|
|
781
748
|
}
|
|
782
|
-
._Table-
|
|
749
|
+
._Table-inner_1t44j_12 {
|
|
783
750
|
text-align: left;
|
|
784
751
|
}
|
|
785
|
-
._Table-
|
|
786
|
-
color: var(--puck-color-grey-02);
|
|
787
|
-
font-size: var(--puck-font-size-xxs);
|
|
752
|
+
._Table-table_1t44j_16 {
|
|
788
753
|
position: relative;
|
|
789
754
|
width: 100%;
|
|
790
755
|
}
|
|
791
|
-
.
|
|
756
|
+
._Table_1t44j_1 thead {
|
|
792
757
|
background: white;
|
|
793
758
|
font-size: var(--puck-font-size-xxs);
|
|
794
759
|
position: sticky;
|
|
@@ -796,58 +761,55 @@ p {
|
|
|
796
761
|
white-space: nowrap;
|
|
797
762
|
z-index: 1;
|
|
798
763
|
}
|
|
799
|
-
.
|
|
764
|
+
._Table_1t44j_1 thead::after {
|
|
800
765
|
content: "";
|
|
801
766
|
position: absolute;
|
|
802
767
|
height: 1px;
|
|
803
768
|
width: 100%;
|
|
804
|
-
background-color: var(--puck-color-grey-
|
|
769
|
+
background-color: var(--puck-color-grey-09);
|
|
805
770
|
}
|
|
806
|
-
.
|
|
771
|
+
._Table_1t44j_1 tbody tr {
|
|
807
772
|
z-index: 0;
|
|
808
773
|
}
|
|
809
|
-
.
|
|
810
|
-
background:
|
|
811
|
-
font-weight:
|
|
774
|
+
._Table_1t44j_1 th {
|
|
775
|
+
background: white;
|
|
776
|
+
font-weight: 600;
|
|
812
777
|
padding-left: 24px;
|
|
813
778
|
padding-right: 24px;
|
|
814
|
-
padding-bottom:
|
|
815
|
-
padding-top:
|
|
779
|
+
padding-bottom: 20px;
|
|
780
|
+
padding-top: 20px;
|
|
816
781
|
}
|
|
817
782
|
@media (--standard-viewport) {
|
|
818
|
-
.
|
|
783
|
+
._Table_1t44j_1 th {
|
|
819
784
|
padding-left: 32px;
|
|
820
785
|
padding-right: 32px;
|
|
821
786
|
}
|
|
822
787
|
}
|
|
823
|
-
.
|
|
788
|
+
._Table_1t44j_1 td {
|
|
824
789
|
border-bottom: 1px solid var(--puck-color-grey-10);
|
|
825
790
|
padding-left: 24px;
|
|
826
791
|
padding-right: 24px;
|
|
827
|
-
padding-bottom:
|
|
828
|
-
padding-top:
|
|
792
|
+
padding-bottom: 20px;
|
|
793
|
+
padding-top: 20px;
|
|
829
794
|
white-space: nowrap;
|
|
830
795
|
}
|
|
831
|
-
.
|
|
832
|
-
color: var(--puck-color-grey-05);
|
|
833
|
-
}
|
|
834
|
-
._Table_1w0os_1 tbody tr:last-of-type td {
|
|
796
|
+
._Table_1t44j_1 tbody tr:last-of-type td {
|
|
835
797
|
border-bottom: none;
|
|
836
798
|
}
|
|
837
799
|
@media (--standard-viewport) {
|
|
838
|
-
.
|
|
800
|
+
._Table_1t44j_1 td {
|
|
839
801
|
padding-left: 32px;
|
|
840
802
|
padding-right: 32px;
|
|
841
803
|
}
|
|
842
804
|
}
|
|
843
|
-
._Table-
|
|
805
|
+
._Table-footer_1t44j_78 {
|
|
844
806
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
845
807
|
}
|
|
846
|
-
._Table--
|
|
808
|
+
._Table--clickableRows_1t44j_82 tbody tr:hover {
|
|
847
809
|
background: var(--puck-color-azure-12);
|
|
848
810
|
cursor: pointer;
|
|
849
811
|
}
|
|
850
|
-
._Table-
|
|
812
|
+
._Table-placeholder_1t44j_87 {
|
|
851
813
|
align-items: center;
|
|
852
814
|
color: var(--puck-color-grey-06);
|
|
853
815
|
justify-content: center;
|
|
@@ -857,9 +819,6 @@ p {
|
|
|
857
819
|
width: 100%;
|
|
858
820
|
height: 100%;
|
|
859
821
|
}
|
|
860
|
-
._Table-loader_1w0os_105 {
|
|
861
|
-
padding: 16px 24px;
|
|
862
|
-
}
|
|
863
822
|
|
|
864
823
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/platform-client/components/VerticalSpace/VerticalSpace.module.css/#css-module-data */
|
|
865
824
|
._VerticalSpace_1tjaw_1 {
|
|
@@ -894,7 +853,7 @@ p {
|
|
|
894
853
|
}
|
|
895
854
|
|
|
896
855
|
/* css-module:/home/runner/work/puck-platform/puck-platform/packages/plugin-ai/src/components/ChatBody/styles.module.css/#css-module-data */
|
|
897
|
-
.
|
|
856
|
+
._Chat_14j71_1 {
|
|
898
857
|
--fade-size: 32px;
|
|
899
858
|
--chat-background-color: white;
|
|
900
859
|
display: flex;
|
|
@@ -904,46 +863,46 @@ p {
|
|
|
904
863
|
overflow: hidden;
|
|
905
864
|
}
|
|
906
865
|
@media (min-width: 638px) {
|
|
907
|
-
.
|
|
866
|
+
._Chat_14j71_1 {
|
|
908
867
|
max-height: none;
|
|
909
868
|
}
|
|
910
869
|
}
|
|
911
|
-
._Chat-
|
|
870
|
+
._Chat-inner_14j71_17 {
|
|
912
871
|
background-color: var(--chat-background-color);
|
|
913
872
|
display: flex;
|
|
914
873
|
flex-direction: column;
|
|
915
874
|
max-height: 100%;
|
|
916
875
|
position: relative;
|
|
917
876
|
}
|
|
918
|
-
._Chat--
|
|
877
|
+
._Chat--hasMessages_14j71_25 ._Chat-inner_14j71_17 {
|
|
919
878
|
padding-top: 0;
|
|
920
879
|
}
|
|
921
|
-
.
|
|
880
|
+
._Chat_14j71_1:not(._Chat--hasChildren_14j71_29) ._Chat-inner_14j71_17 {
|
|
922
881
|
height: 100%;
|
|
923
882
|
padding-top: 0;
|
|
924
883
|
}
|
|
925
|
-
._Chat--
|
|
884
|
+
._Chat--hasMessages_14j71_25 ._Chat-messages_14j71_34 {
|
|
926
885
|
display: flex;
|
|
927
886
|
flex-direction: column-reverse;
|
|
928
887
|
padding: 16px;
|
|
929
888
|
overflow: auto;
|
|
930
889
|
}
|
|
931
|
-
._Chat-
|
|
890
|
+
._Chat-form_14j71_41 {
|
|
932
891
|
background-color: white;
|
|
933
892
|
padding: 16px;
|
|
934
893
|
}
|
|
935
|
-
._Chat--
|
|
894
|
+
._Chat--hideInput_14j71_46 ._Chat-form_14j71_41 {
|
|
936
895
|
display: none;
|
|
937
896
|
}
|
|
938
|
-
._Chat--
|
|
897
|
+
._Chat--hasMessages_14j71_25 ._Chat-form_14j71_41 {
|
|
939
898
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
940
899
|
}
|
|
941
900
|
@media (min-width: 638px) {
|
|
942
|
-
._Chat-
|
|
901
|
+
._Chat-form_14j71_41 {
|
|
943
902
|
border-top: 1px solid var(--puck-color-grey-09);
|
|
944
903
|
}
|
|
945
904
|
}
|
|
946
|
-
._Chat-
|
|
905
|
+
._Chat-formHelper_14j71_60 {
|
|
947
906
|
align-items: center;
|
|
948
907
|
display: flex;
|
|
949
908
|
color: var(--puck-color-grey-04);
|
|
@@ -952,11 +911,11 @@ p {
|
|
|
952
911
|
gap: 8px;
|
|
953
912
|
padding-bottom: 12px;
|
|
954
913
|
}
|
|
955
|
-
._Chat--
|
|
914
|
+
._Chat--hasMessages_14j71_25 ._Chat-formHelper_14j71_60 {
|
|
956
915
|
opacity: 0;
|
|
957
916
|
transition: opacity 250ms ease-in;
|
|
958
917
|
}
|
|
959
|
-
._Chat-
|
|
918
|
+
._Chat-examplePrompts_14j71_75 {
|
|
960
919
|
align-items: center;
|
|
961
920
|
display: flex;
|
|
962
921
|
flex-wrap: nowrap;
|
|
@@ -965,7 +924,7 @@ p {
|
|
|
965
924
|
width: 100%;
|
|
966
925
|
overflow-x: auto;
|
|
967
926
|
}
|
|
968
|
-
._Chat-
|
|
927
|
+
._Chat-examplePrompt_14j71_75 {
|
|
969
928
|
align-items: center;
|
|
970
929
|
background: white;
|
|
971
930
|
border: 1px solid var(--puck-color-grey-09);
|
|
@@ -976,34 +935,33 @@ p {
|
|
|
976
935
|
padding: 6px 12px;
|
|
977
936
|
text-wrap: nowrap;
|
|
978
937
|
}
|
|
979
|
-
._Chat-
|
|
938
|
+
._Chat-examplePrompt_14j71_75:hover {
|
|
980
939
|
background: var(--puck-color-azure-11);
|
|
981
940
|
border-color: var(--puck-color-azure-08);
|
|
982
941
|
color: var(--puck-color-azure-04);
|
|
983
942
|
}
|
|
984
|
-
._Chat-
|
|
943
|
+
._Chat-examplePromptArrow_14j71_103 {
|
|
985
944
|
margin-left: auto;
|
|
986
945
|
}
|
|
987
|
-
._Chat-
|
|
946
|
+
._Chat-default_14j71_107 {
|
|
988
947
|
overflow-y: auto;
|
|
989
948
|
flex-grow: 1;
|
|
990
949
|
}
|
|
991
|
-
._Chat--
|
|
950
|
+
._Chat--hasMessages_14j71_25 ._Chat-default_14j71_107 {
|
|
992
951
|
opacity: 0;
|
|
993
952
|
padding: 0;
|
|
994
953
|
pointer-events: none;
|
|
995
954
|
transition: opacity 250ms ease-in;
|
|
996
955
|
}
|
|
997
|
-
._Chat--
|
|
956
|
+
._Chat--hasMessages_14j71_25 {
|
|
998
957
|
background-color: white;
|
|
999
958
|
transition: background-color 250ms ease-in;
|
|
1000
959
|
}
|
|
1001
|
-
.
|
|
960
|
+
._ChatMessage_14j71_124 {
|
|
1002
961
|
font-size: var(--puck-font-size-xs);
|
|
1003
962
|
line-height: var(--line-height-s);
|
|
1004
|
-
overflow-wrap: break-word;
|
|
1005
963
|
}
|
|
1006
|
-
._ChatMessage--
|
|
964
|
+
._ChatMessage--userRole_14j71_129 ._ChatMessage-text_14j71_129 {
|
|
1007
965
|
background: var(--puck-color-azure-10);
|
|
1008
966
|
border-radius: 16px;
|
|
1009
967
|
color: var(--puck-color-grey-03);
|
|
@@ -1012,64 +970,64 @@ p {
|
|
|
1012
970
|
margin-top: 8px;
|
|
1013
971
|
padding: 12px 16px;
|
|
1014
972
|
}
|
|
1015
|
-
.
|
|
1016
|
-
.
|
|
973
|
+
._ChatMessage_14j71_124 ul,
|
|
974
|
+
._ChatMessage_14j71_124 ol {
|
|
1017
975
|
list-style: decimal;
|
|
1018
976
|
margin: 0;
|
|
1019
977
|
margin-bottom: 12px;
|
|
1020
978
|
margin-top: 12px;
|
|
1021
979
|
padding-left: 32px;
|
|
1022
980
|
}
|
|
1023
|
-
.
|
|
981
|
+
._ChatMessage_14j71_124 li {
|
|
1024
982
|
margin-bottom: 8px;
|
|
1025
983
|
margin-top: 8px;
|
|
1026
984
|
padding-left: 8px;
|
|
1027
985
|
}
|
|
1028
|
-
.
|
|
1029
|
-
.
|
|
1030
|
-
.
|
|
1031
|
-
.
|
|
1032
|
-
.
|
|
1033
|
-
.
|
|
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 {
|
|
1034
992
|
font-weight: 600;
|
|
1035
993
|
}
|
|
1036
|
-
.
|
|
994
|
+
._ChatMessage_14j71_124 h1 {
|
|
1037
995
|
font-size: var(--puck-font-l);
|
|
1038
996
|
}
|
|
1039
|
-
.
|
|
997
|
+
._ChatMessage_14j71_124 h2 {
|
|
1040
998
|
font-size: var(--puck-font-m);
|
|
1041
999
|
}
|
|
1042
|
-
.
|
|
1000
|
+
._ChatMessage_14j71_124 h3 {
|
|
1043
1001
|
font-size: var(--puck-font-m);
|
|
1044
1002
|
}
|
|
1045
|
-
.
|
|
1003
|
+
._ChatMessage_14j71_124 h4 {
|
|
1046
1004
|
font-size: var(--puck-font-s);
|
|
1047
1005
|
}
|
|
1048
|
-
.
|
|
1006
|
+
._ChatMessage_14j71_124 h5 {
|
|
1049
1007
|
font-size: var(--puck-font-xs);
|
|
1050
1008
|
}
|
|
1051
|
-
.
|
|
1009
|
+
._ChatMessage_14j71_124 h6 {
|
|
1052
1010
|
font-size: var(--puck-font-xm);
|
|
1053
1011
|
}
|
|
1054
|
-
.
|
|
1012
|
+
._ChatMessage_14j71_124 p {
|
|
1055
1013
|
margin-bottom: 8px;
|
|
1056
1014
|
margin-top: 8px;
|
|
1057
1015
|
}
|
|
1058
|
-
.
|
|
1016
|
+
._ChatMessage_14j71_124 a {
|
|
1059
1017
|
color: var(--puck-color-azure-04);
|
|
1060
1018
|
font-weight: 600;
|
|
1061
1019
|
text-decoration: none;
|
|
1062
1020
|
}
|
|
1063
|
-
.
|
|
1021
|
+
._ChatMessage_14j71_124 a:hover {
|
|
1064
1022
|
color: var(--puck-color-azure-05);
|
|
1065
1023
|
}
|
|
1066
|
-
.
|
|
1024
|
+
._ChatMessage_14j71_124 hr {
|
|
1067
1025
|
border-top: none;
|
|
1068
1026
|
border-bottom-color: var(--puck-color-grey-09);
|
|
1069
1027
|
margin-bottom: 16px;
|
|
1070
1028
|
margin-top: 16px;
|
|
1071
1029
|
}
|
|
1072
|
-
.
|
|
1030
|
+
._ChatMessage_14j71_124 blockquote {
|
|
1073
1031
|
margin-bottom: 8px;
|
|
1074
1032
|
margin-top: 8px;
|
|
1075
1033
|
margin-left: 0;
|
|
@@ -1078,7 +1036,7 @@ p {
|
|
|
1078
1036
|
padding-bottom: 2px;
|
|
1079
1037
|
padding-top: 2px;
|
|
1080
1038
|
}
|
|
1081
|
-
._ChatMessage-
|
|
1039
|
+
._ChatMessage-data_14j71_219 {
|
|
1082
1040
|
background: var(--puck-color-grey-12);
|
|
1083
1041
|
border: 1px solid var(--puck-color-grey-08);
|
|
1084
1042
|
border-radius: 16px;
|
|
@@ -1088,19 +1046,19 @@ p {
|
|
|
1088
1046
|
margin-top: 12px;
|
|
1089
1047
|
padding: 12px 16px;
|
|
1090
1048
|
}
|
|
1091
|
-
._ChatMessage-
|
|
1049
|
+
._ChatMessage-dataInner_14j71_230 {
|
|
1092
1050
|
align-items: center;
|
|
1093
1051
|
display: flex;
|
|
1094
1052
|
gap: 8px;
|
|
1095
1053
|
}
|
|
1096
|
-
._ChatMessage-
|
|
1054
|
+
._ChatMessage-dataIcon_14j71_236 {
|
|
1097
1055
|
display: flex;
|
|
1098
1056
|
}
|
|
1099
|
-
._Chat-
|
|
1057
|
+
._Chat-loader_14j71_240 {
|
|
1100
1058
|
padding: 16px;
|
|
1101
1059
|
padding-top: 0;
|
|
1102
1060
|
}
|
|
1103
|
-
._Chat-
|
|
1061
|
+
._Chat-error_14j71_245 {
|
|
1104
1062
|
align-items: center;
|
|
1105
1063
|
display: flex;
|
|
1106
1064
|
gap: 8px;
|
|
@@ -1108,10 +1066,10 @@ p {
|
|
|
1108
1066
|
margin: 16px;
|
|
1109
1067
|
margin-top: 0;
|
|
1110
1068
|
}
|
|
1111
|
-
._Chat-
|
|
1069
|
+
._Chat-errorLabel_14j71_254 {
|
|
1112
1070
|
color: var(--puck-color-red-04);
|
|
1113
1071
|
}
|
|
1114
|
-
._Chat-
|
|
1072
|
+
._Chat-errorAction_14j71_258 {
|
|
1115
1073
|
margin-left: auto;
|
|
1116
1074
|
}
|
|
1117
1075
|
|